1import{_ as f,aU as g}from"./index.b39fe1b1.js";import{F as y}from"./index.42dae36b.js";import{T as v}from"./index.39bde404.js";import{e as w}from"./editorMixin.7e61341c.js";import{N as r,D as h,W as P,U as s,f as i}from"./vue.00f7c436.js";import"./sentry.09480738.js";import"./faSlidersH.ad74e57e.js";import"./faCopy.38f9d2ec.js";import"./faFloppyDisk.3e6f3d05.js";import"./isEqual.7a4a4211.js";import"./formConfig.a1ad88ef.js";import"./faCircle.bfdafcd9.js";import"./faAlignCenter.2ec5515f.js";import"./faArrowDown.54f3a258.js";import"./faArrowRight.97fd3c4b.js";const b={name:"PodTemplateEditor",components:{FormBuilder:y,TmlNewEditableImage:v},mixins:[w],data(){return{faTimes:g.faTimes}},computed:{iconSizeOptions(){var o,t;let e=[{text:"1",value:"1"},{text:"2",value:"2"}];return((t=(o=this.template.parent)==null?void 0:o.getProperty("ratio"))==null?void 0:t.value)!=="wide"&&(e=e.concat([{text:"3",value:"3"},{text:"4",value:"4"},{text:"5",value:"5"},{text:"6",value:"6"}])),e}}};function T(e,o,t,C,m,c){const d=r("tml-new-editable-image"),l=r("form-builder"),u=r("template-editor-layout");return h(),P(u,null,{advanced:s(()=>[i(l,{value:e.overlayProperties,fields:{overlayColorStart:{type:"color",showClearOption:!0},overlayColorEnd:{type:"color",showClearOption:!0},overlayDirection:e.config.overlayDirection,overlayOpacity:e.config.overlayOpacity},"pre-process-field":e.onProcessField,onSet:e.onEditOverlay},null,8,["value","fields","pre-process-field","onSet"])]),default:s(()=>{var n,a;return[i(d,{class:"mb-4",template:"product","crop-ratio":e.imageCropRatio,url:(n=e.getProperty("image"))==null?void 0:n.src,"include-alt-text-editor":"","alt-text":(a=e.getProperty("image"))==null?void 0:a.alt,onInput:e.onUpdateImageSrc,"onUpdate:altText":e.onUpdateImageAlt},null,8,["crop-ratio","url","alt-text","onInput","onUpdate:altText"]),i(l,{value:e.template.data.properties,fields:{title:"text",copy:{type:"text",label:"Text"},href:{type:"link",label:"Link",previewHost:e.linkPreviewHost,showClear:!0},buttonText:{type:"text",showClear:!0,clearIcon:m.faTimes},icon:"icon",iconSize:{type:"selector",options:c.iconSizeOptions,when:e.getProperty("icon",!1)},iconHorizontalAlign:{...e.config.horizontalAlign,when:e.getProperty("icon",!1),label:"Icon Horizontal Alignment"},iconVerticalAlign:{...e.config.verticalAlign,when:e.getProperty("icon",!1),label:"Icon Vertical Alignment"},iconColour:{type:"color",when:e.getProperty("icon",!1)},iconShadow:{...e.config.shadow,when:e.getProperty("icon",!1)}},groups:{[void 0]:["image","title","copy","href"],Button:["buttonText"],Icon:["icon","iconSize","iconColour","iconHorizontalAlign","iconVerticalAlign","iconShadow"]},"pre-process-field":e.onProcessField,onSet:o[0]||(o[0]=p=>e.setProperty(p.name,p.value))},null,8,["value","fields","pre-process-field"])]}),_:1})}const L=f(b,[["render",T]]);export{L as default}; 2//# sourceMappingURL=PodEditor.fdf98ede.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.