PageSourceSearch

https://familiesforlife.sg/assets/CardSetting.b93e2934.js

js familiesforlife.sg collected 2026-10-03 20:16:27 UTC 2,073 bytes, 1 lines download raw bytes

1import{G as l,J as e,K as a,X as o,H as t,b as s,d as u}from"./element-plus.80abf16b.js";import{c1 as d,bM as n,c2 as m,c7 as c,c8 as i,ca as p,cg as r,ce as b,cf as f,c3 as v,cI as V,bI as h}from"./commonmodules.b9c1dd40.js";import{D as _}from"./model.3746f4cb.js";import"./lodash-es.480d1bd8.js";import"./axios.1263d4b1.js";const w={class:"dialog-footer"},D=d({__name:"CardSetting",props:{domId:null,title:null,componentData:null,save:{type:Function}},setup(d,{expose:D}){const g=d,y=n(_),U=n(!1),j=l=>{U.value=null!=l?l:!U.value,U.value&&g.componentData&&(y.value={..._,...JSON.parse(g.componentData)})},I=()=>{g.save(y.value),j(!1)};return D({toggleDialog:j}),(n,_)=>{const D=l,g=e,k=a,x=o,C=t,L=s,R=u;return m(),c(R,{modelValue:U.value,"onUpdate:modelValue":_[5]||(_[5]=l=>U.value=l),title:d.title,width:"480px",class:"camps-setting-dialog","close-on-click-modal":!1},{footer:i((()=>[p("span",w,[r(L,{type:"primary",onClick:I},{default:i((()=>[b("Save")])),_:1}),r(L,{onClick:_[4]||(_[4]=l=>j())},{default:i((()=>[b("Cancel")])),_:1})])])),default:i((()=>[r(C,{"label-width":"auto"},{default:i((()=>[r(D,{label:"registerUrl"},{default:i((()=>[p("label",null,f(`Dom ID: ${d.domId}`),1)])),_:1}),r(D,{label:"style"},{default:i((()=>[r(k,{modelValue:y.value.style,"onUpdate:modelValue":_[0]||(_[0]=l=>y.value.style=l)},{default:i((()=>[(m(),v(h,null,V(["vertical","horizontal"],(l=>r(g,{label:l,key:l},{default:i((()=>[b(f(l),1)])),_:2},1032,["label"]))),64))])),_:1},8,["modelValue"])])),_:1}),r(D,{label:"showRibbon"},{default:i((()=>[r(x,{modelValue:y.value.showRibbon,"onUpdate:modelValue":_[1]||(_[1]=l=>y.value.showRibbon=l)},null,8,["modelValue"])])),_:1}),r(D,{label:"showDate"},{default:i((()=>[r(x,{modelValue:y.value.showDate,"onUpdate:modelValue":_[2]||(_[2]=l=>y.value.showDate=l)},null,8,["modelValue"])])),_:1}),r(D,{label:"showLocation"},{default:i((()=>[r(x,{modelValue:y.value.showLocation,"onUpdate:modelValue":_[3]||(_[3]=l=>y.value.showLocation=l)},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["modelValue","title"])}}});export{D as default};

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.