PageSourceSearch

https://familiesforlife.sg/assets/CrmDateTimeFieldSetting.32aa57b2.js

js familiesforlife.sg collected 2026-10-03 20:17:15 UTC 2,109 bytes, 1 lines download raw bytes

1import{G as a,P as e,Q as l,r as o,H as t,b as s,d}from"./element-plus.80abf16b.js";import{c1 as u,bM as m,c2 as n,c7 as i,c8 as c,ca as p,cg as r,ce as v,cf as f,c3 as b,cI as N,bI as _,ep as D,eq as y}from"./commonmodules.b9c1dd40.js";import{_ as g,s as V}from"./index.d3bd9396.js";import"./lodash-es.480d1bd8.js";import"./axios.1263d4b1.js";import"./vue-router.5e13d197.js";const j=a=>(D("data-v-931b89f0"),a=a(),y(),a),I=j((()=>p("label",null,"Field Name:",-1))),x=j((()=>p("label",null,"Display Name:",-1))),C={class:"dialog-footer"};var h=g(u({__name:"CrmDateTimeFieldSetting",props:{domId:null,title:null,componentData:null,save:{type:Function}},setup(u,{expose:D}){const y=u,g=m([]);(async()=>{g.value=await V.dispatch("getFieldList",{format:0,fieldList:["CrmDateTime"]})})();const j=m({displayName:"",fieldName:""});y.componentData&&(j.value=JSON.parse(null==y?void 0:y.componentData));const h=m(!1),k=()=>{h.value=!h.value,h.value&&(null==y?void 0:y.componentData)&&(j.value=JSON.parse(y.componentData))},F=()=>{y.save(j.value),k()};return D({toggleDialog:k}),(m,D)=>{const y=a,V=e,S=l,w=o,U=t,J=s,L=d;return n(),i(L,{modelValue:h.value,"onUpdate:modelValue":D[2]||(D[2]=a=>h.value=a),title:u.title,width:"480px","close-on-click-modal":!1},{footer:c((()=>[p("span",C,[r(J,{type:"primary",onClick:F},{default:c((()=>[v("Save")])),_:1}),r(J,{onClick:k},{default:c((()=>[v("Cancel")])),_:1})])])),default:c((()=>[r(U,{"label-width":"auto"},{default:c((()=>[r(y,null,{default:c((()=>[p("label",null,f(`Dom ID: ${u.domId}`),1)])),_:1}),r(y,null,{default:c((()=>[I,r(S,{modelValue:j.value.fieldName,"onUpdate:modelValue":D[0]||(D[0]=a=>j.value.fieldName=a)},{default:c((()=>[(n(!0),b(_,null,N(g.value,(a=>(n(),i(V,{key:a.logicalName,label:a.displayName,value:a.logicalName},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),r(y,null,{default:c((()=>[x,r(w,{modelValue:j.value.displayName,"onUpdate:modelValue":D[1]||(D[1]=a=>j.value.displayName=a)},null,8,["modelValue"])])),_:1})])),_:1})])),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-931b89f0"]]);export{h 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.