hldesigner 0.0.140 → 0.0.141
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{affix-widget-e9f4ff92.js → affix-widget-c0777ea0.js} +2 -2
- package/{alert-widget-f8492541.js → alert-widget-1415cd1e.js} +2 -2
- package/{auto-complete-widget-a0b415cf.js → auto-complete-widget-7d4db43a.js} +1 -1
- package/{avatar-widget-74be258b.js → avatar-widget-bcc3f4d5.js} +2 -2
- package/{backtop-widget-929ee9da.js → backtop-widget-a884fa53.js} +2 -2
- package/{badge-widget-f50f4050.js → badge-widget-dcd66eee.js} +2 -2
- package/{button-widget-5bfdf6f0.js → button-widget-b5fcd821.js} +2 -2
- package/{card-widget-3dbbe25c.js → card-widget-9693623e.js} +1 -1
- package/{configItem-19135463.js → configItem-49c17de8.js} +17 -17
- package/{cont-cell-widget-36e95947.js → cont-cell-widget-921029d4.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-8f80a9ab.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-535a226e.js} +1 -1
- package/{cont-widget-d6937503.js → cont-widget-cba5e898.js} +1 -1
- package/{default-slot-widget-4313bee1.js → default-slot-widget-72b6c85b.js} +2 -2
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d044b7b5.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d5d2bf13.js} +1 -1
- package/{descriptions-widget-a956acce.js → descriptions-widget-7d94d1f0.js} +1 -1
- package/designer.es.js +16 -16
- package/designer.style.css +1 -1
- package/designer.umd.js +1 -1
- package/{dialog-widget-9cc2e435.js → dialog-widget-179c5d85.js} +2 -2
- package/{divider-widget-c9f020f4.js → divider-widget-18bff6ed.js} +2 -2
- package/{drag-wrapper-dcfb2b05.js → drag-wrapper-b3d2e19c.js} +1 -1
- package/{drawer-widget-1411c746.js → drawer-widget-04226855.js} +2 -2
- package/{dropdown-widget-3afb9a01.js → dropdown-widget-e8414b0c.js} +1 -1
- package/{empty-widget-b0561328.js → empty-widget-ce397da2.js} +2 -2
- package/{feedback-widget-b3b7a152.js → feedback-widget-e8594a9a.js} +2 -2
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-0279221b.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-38d22796.js} +1 -1
- package/{file-upload-widget-91226370.js → file-upload-widget-185ac701.js} +1 -1
- package/{form-widget-2b6b1df1.js → form-widget-fd1a0eea.js} +1 -1
- package/{grid-col-widget-4c2b63ae.js → grid-col-widget-ec0de902.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-1910398b.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-46b2f307.js} +1 -1
- package/{grid-widget-62a6b660.js → grid-widget-5a9035fb.js} +1 -1
- package/{index-2edf2e79.js → index-1cbb32c9.js} +1 -1
- package/{index-1607f749.js → index-2015cdc8.js} +6 -6
- package/{index-9741d171.js → index-2fb87f1a.js} +3 -3
- package/{index-c84c0cb2.js → index-658f5e0c.js} +18 -18
- package/{index-3e51d8e3.js → index-742982e5.js} +18 -18
- package/{index-2ee58a8f.js → index-b9cb6d93.js} +16 -16
- package/{index-f04f299e.js → index-ea8cdd56.js} +1 -1
- package/{input-widget-9d1f6020.js → input-widget-71db8cc4.js} +1 -1
- package/{install-designer-aa026b32.js → install-designer-3b62fccb.js} +12 -12
- package/{link-widget-110d5e19.js → link-widget-aeb22e28.js} +2 -2
- package/{ltable-col-widget-ae1dc811.js → ltable-col-widget-41ef06e5.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-84dd9037.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-89f88e3b.js} +1 -1
- package/{ltable-widget-5f1c760b.js → ltable-widget-c9c7b137.js} +1 -1
- package/{multirow-widget-011cdfbf.js → multirow-widget-5a4b82af.js} +1 -1
- package/package.json +1 -1
- package/{progress-widget-124785f6.js → progress-widget-7b19631d.js} +1 -1
- package/{range-widget-4f193377.js → range-widget-72f68db5.js} +1 -1
- package/{reg-editor.vue_vue_type_script_setup_true_lang-76a91eb8.js → reg-editor.vue_vue_type_script_setup_true_lang-45d98d20.js} +1 -1
- package/{result-widget-d2757f64.js → result-widget-5cafce31.js} +1 -1
- package/{tab-pane-widget-a1afe582.js → tab-pane-widget-06a7009b.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-9fd91ccc.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-62571c7c.js} +1 -1
- package/{table-col-widget-bdd697a6.js → table-col-widget-3ebbf095.js} +2 -2
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5c9ac743.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4bf6c104.js} +1 -1
- package/{table-widget-76d6a54a.js → table-widget-8857ba46.js} +2 -2
- package/{tabs-widget-1965abaf.js → tabs-widget-634df297.js} +1 -1
- package/{tag-widget-02fd305d.js → tag-widget-a1482129.js} +2 -2
- package/{target-datasource-6b8f0618.js → target-datasource-546a3312.js} +18 -18
- package/{target-link-d5ead8dd.js → target-link-5c8967ac.js} +18 -18
- package/{target-saveForm-1983d67d.js → target-saveForm-6213d505.js} +18 -18
- package/{text-widget-b6abb538.js → text-widget-78adacb4.js} +2 -2
- package/{tmpl-widget-e4b998b0.js → tmpl-widget-1ecb22ef.js} +1 -1
- package/{verifycode-widget-480504a1.js → verifycode-widget-3e378dae.js} +56 -52
- package/{wrapper-widget-12384540.js → wrapper-widget-d1b95f93.js} +1 -1
package/designer.umd.js
CHANGED
|
@@ -2587,7 +2587,7 @@ Make sure your charset is UTF-8`);t=(t>>>8&255)*192+(t&255),n.put(t,13)}};var $Y
|
|
|
2587
2587
|
The chosen QR Code version cannot contain this amount of data.
|
|
2588
2588
|
Minimum version required to store current data is: `+a+`.
|
|
2589
2589
|
`);const r=uHe(e,t,o),c=gM.getSymbolSize(e),s=new nHe(c);return lHe(s,e),gHe(s),cHe(s,e),Mz(s,t,0),e>=7&&IHe(s,e),CHe(s,r),isNaN(i)&&(i=bz.getBestMask(s,Mz.bind(null,s,t))),bz.applyMask(i,s),Mz(s,t,i),{modules:s,version:e,errorCorrectionLevel:t,maskPattern:i,segments:o}}PK.create=function(e,t){if(typeof e>"u"||e==="")throw new Error("No input text");let i=yz.M,o,a;return typeof t<"u"&&(i=yz.from(t.errorCorrectionLevel,yz.M),o=cM.from(t.version),a=bz.from(t.maskPattern),t.toSJISFunc&&gM.setToSJISFunction(t.toSJISFunc)),hHe(e,o,i,a)};var Ij={},Sz={};(function(n){function e(t){if(typeof t=="number"&&(t=t.toString()),typeof t!="string")throw new Error("Color should be defined as hex string");let i=t.slice().replace("#","").split("");if(i.length<3||i.length===5||i.length>8)throw new Error("Invalid hex color: "+t);(i.length===3||i.length===4)&&(i=Array.prototype.concat.apply([],i.map(function(a){return[a,a]}))),i.length===6&&i.push("F","F");const o=parseInt(i.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+i.slice(0,6).join("")}}n.getOptions=function(i){i||(i={}),i.color||(i.color={});const o=typeof i.margin>"u"||i.margin===null||i.margin<0?4:i.margin,a=i.width&&i.width>=21?i.width:void 0,r=i.scale||4;return{width:a,scale:a?4:r,margin:o,color:{dark:e(i.color.dark||"#000000ff"),light:e(i.color.light||"#ffffffff")},type:i.type,rendererOpts:i.rendererOpts||{}}},n.getScale=function(i,o){return o.width&&o.width>=i+o.margin*2?o.width/(i+o.margin*2):o.scale},n.getImageWidth=function(i,o){const a=n.getScale(i,o);return Math.floor((i+o.margin*2)*a)},n.qrToImageData=function(i,o,a){const r=o.modules.size,c=o.modules.data,s=n.getScale(r,a),l=Math.floor((r+a.margin*2)*s),g=a.margin*s,I=[a.color.light,a.color.dark];for(let C=0;C<l;C++)for(let u=0;u<l;u++){let A=(C*l+u)*4,p=a.color.light;if(C>=g&&u>=g&&C<l-g&&u<l-g){const d=Math.floor((C-g)/s),f=Math.floor((u-g)/s);p=I[c[d*r+f]?1:0]}i[A++]=p.r,i[A++]=p.g,i[A++]=p.b,i[A]=p.a}}})(Sz),function(n){const e=Sz;function t(o,a,r){o.clearRect(0,0,a.width,a.height),a.style||(a.style={}),a.height=r,a.width=r,a.style.height=r+"px",a.style.width=r+"px"}function i(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}n.render=function(a,r,c){let s=c,l=r;typeof s>"u"&&(!r||!r.getContext)&&(s=r,r=void 0),r||(l=i()),s=e.getOptions(s);const g=e.getImageWidth(a.modules.size,s),I=l.getContext("2d"),C=I.createImageData(g,g);return e.qrToImageData(C.data,a,s),t(I,l,g),I.putImageData(C,0,0),l},n.renderToDataURL=function(a,r,c){let s=c;typeof s>"u"&&(!r||!r.getContext)&&(s=r,r=void 0),s||(s={});const l=n.render(a,r,s),g=s.type||"image/png",I=s.rendererOpts||{};return l.toDataURL(g,I.quality)}}(Ij);var Cj={};const AHe=Sz;function uj(n,e){const t=n.a/255,i=e+'="'+n.hex+'"';return t<1?i+" "+e+'-opacity="'+t.toFixed(2).slice(1)+'"':i}function xz(n,e,t){let i=n+e;return typeof t<"u"&&(i+=" "+t),i}function pHe(n,e,t){let i="",o=0,a=!1,r=0;for(let c=0;c<n.length;c++){const s=Math.floor(c%e),l=Math.floor(c/e);!s&&!a&&(a=!0),n[c]?(r++,c>0&&s>0&&n[c-1]||(i+=a?xz("M",s+t,.5+l+t):xz("m",o,0),o=0,a=!1),s+1<e&&n[c+1]||(i+=xz("h",r),r=0)):o++}return i}Cj.render=function(e,t,i){const o=AHe.getOptions(t),a=e.modules.size,r=e.modules.data,c=a+o.margin*2,s=o.color.light.a?"<path "+uj(o.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",l="<path "+uj(o.color.dark,"stroke")+' d="'+pHe(r,a,o.margin)+'"/>',g='viewBox="0 0 '+c+" "+c+'"',C='<svg xmlns="http://www.w3.org/2000/svg" '+(o.width?'width="'+o.width+'" height="'+o.width+'" ':"")+g+' shape-rendering="crispEdges">'+s+l+`</svg>
|
|
2590
|
-
`;return typeof i=="function"&&i(null,C),C};const fHe=TYe,Zz=PK,dj=Ij,wHe=Cj;function Gz(n,e,t,i,o){const a=[].slice.call(arguments,1),r=a.length,c=typeof a[r-1]=="function";if(!c&&!fHe())throw new Error("Callback required as last argument");if(c){if(r<2)throw new Error("Too few arguments provided");r===2?(o=t,t=e,e=i=void 0):r===3&&(e.getContext&&typeof o>"u"?(o=i,i=void 0):(o=i,i=t,t=e,e=void 0))}else{if(r<1)throw new Error("Too few arguments provided");return r===1?(t=e,e=i=void 0):r===2&&!e.getContext&&(i=t,t=e,e=void 0),new Promise(function(s,l){try{const g=Zz.create(t,i);s(n(g,e,i))}catch(g){l(g)}})}try{const s=Zz.create(t,i);o(null,n(s,e,i))}catch(s){o(s)}}Zz.create,Gz.bind(null,dj.render);var mHe=Gz.bind(null,dj.renderToDataURL);Gz.bind(null,function(n,e,t){return wHe.render(n,t)});const yHe=n=>mHe(n),bHe=["src"],NHe=h.defineComponent({componentName:cn.FieldWidget}),vHe=h.defineComponent({...NHe,__name:"qrcode-widget",props:{...$n},setup(n,{expose:e}){const t=n,{exposed:i,extendAttrs:o,fieldObj:a}=zn(t),r=h.ref(""),c=()=>{var s;yHe((s=o.value)==null?void 0:s.content).then(l=>{r.value=l}).catch(l=>{Promise.resolve().then(()=>t6).then(g=>{r.value=g.default})})};return h.watch(()=>o.value,s=>{c()},{immediate:!0}),e({...i}),(s,l)=>(h.openBlock(),h.createBlock(Ei,h.mergeProps(s.$props,{"prop-options":{fieldObj:h.unref(a)}}),{default:h.withCtx(()=>{var g,I,C;return[h.createElementVNode("img",{ref:"fieldEditor",class:h.normalizeClass(h.unref(mC)((g=h.unref(o))==null?void 0:g.customClass)),src:r.value,style:h.normalizeStyle({width:(I=h.unref(o))==null?void 0:I.ctrlWidth,height:(C=h.unref(o))==null?void 0:C.ctrlHeight})},null,14,bHe)]}),_:1},16,["prop-options"]))}}),MHe=Object.freeze(Object.defineProperty({__proto__:null,default:vHe},Symbol.toStringTag,{value:"Module"})),SHe=h.defineComponent({componentName:cn.FieldWidget}),xHe=h.defineComponent({...SHe,__name:"radio-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,rules:r,attrs:c,extendAttrs:s,events:l,optionItems:g,exposed:I,getCheckedOptionItems:C,getCheckedOptionLabels:u,getCheckedOptionValues:A,getCheckedOptionText:p,fieldObj:d}=zn(t),f=h.computed(()=>c.value.border),w=h.computed(()=>c.value.disabled),y=h.computed(()=>c.value.buttonStyle),m=h.computed(()=>s.value.displayStyle);return e({...I,getCheckedItems:C,getCheckedLabels:u,getCheckedValues:A,getCheckedText:p}),(b,N)=>{const S=h.resolveComponent("el-radio-group");return h.openBlock(),h.createBlock(ao,h.mergeProps(b.$props,{propOptions:{fieldObj:h.unref(d),rules:h.unref(r)}}),{default:h.withCtx(({data:M})=>[(h.openBlock(),h.createBlock(S,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(a),"onUpdate:modelValue":N[0]||(N[0]=x=>h.isRef(a)?a.value=x:null),key:h.unref(o),class:M.injectClass,style:{...M.injectStyle,display:h.unref(m)}},h.unref(c),h.toHandlers(h.unref(l)),{size:M.size}),{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(h.unref(g),(x,v)=>{var Z,G,z;return h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(y)?"el-radio-button":"el-radio"),{key:v,value:x==null?void 0:x[(Z=h.unref(s))==null?void 0:Z.valueKey],disabled:h.unref(w)||((G=h.unref(xt)(x))==null?void 0:G.disabled),size:M.size,border:h.unref(f)||((z=h.unref(xt)(x))==null?void 0:z.border),style:h.normalizeStyle({display:h.unref(m)===h.unref(Eg).inline?"":h.unref(m)})},{default:h.withCtx(()=>{var W;return[h.createTextVNode(h.toDisplayString(x==null?void 0:x[(W=h.unref(s))==null?void 0:W.labelKey]),1)]}),_:2},1032,["value","disabled","size","border","style"])}),128))]),_:2},1040,["modelValue","class","style","size"]))]),_:1},16,["propOptions"])}}}),ZHe=Object.freeze(Object.defineProperty({__proto__:null,default:xHe},Symbol.toStringTag,{value:"Module"})),GHe={class:"inputer"},OHe={key:0,class:"split"},zHe={class:"inputer"},WHe={key:1,class:"unit"},THe=h.defineComponent({componentName:cn.FieldWidget}),VHe=h.defineComponent({...THe,__name:"range-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,slots:a,attrs:r,exposed:c,fieldObj:s}=zn(t);return e({...c}),(l,g)=>(h.openBlock(),h.createBlock(ao,h.mergeProps(l.$props,{"prop-options":{fieldObj:h.unref(s)}}),{default:h.withCtx(({data:I})=>{var C,u,A,p;return[(h.openBlock(),h.createElementBlock("div",{class:"input-with-unit",ref_key:"fieldEditor",ref:i,key:h.unref(o)},[h.createElementVNode("div",GHe,[h.createVNode($i,h.mergeProps(l.$props,{widget:h.unref(xa)(h.unref(a),"left"),"drag-class":"dragSize3"}),null,16,["widget"])]),(C=h.unref(r))!=null&&C.splitText?(h.openBlock(),h.createElementBlock("span",OHe,h.toDisplayString((u=h.unref(r))==null?void 0:u.splitText),1)):h.createCommentVNode("",!0),h.createElementVNode("div",zHe,[h.createVNode($i,h.mergeProps(l.$props,{widget:h.unref(xa)(h.unref(a),"right"),"drag-class":"dragSize3"}),null,16,["widget"])]),(A=h.unref(r))!=null&&A.unitText?(h.openBlock(),h.createElementBlock("span",WHe,h.toDisplayString((p=h.unref(r))==null?void 0:p.unitText),1)):h.createCommentVNode("",!0)]))]}),_:1},16,["prop-options"]))}}),pzt="",fzt="",BHe=Object.freeze(Object.defineProperty({__proto__:null,default:Ni(VHe,[["__scopeId","data-v-7725dda9"]])},Symbol.toStringTag,{value:"Module"})),DHe=h.defineComponent({componentName:cn.FieldWidget}),kHe=h.defineComponent({...DHe,__name:"rate-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldModel:o,rules:a,fieldKey:r,attrs:c,events:s,exposed:l,fieldObj:g}=zn(t);return e({...l}),(I,C)=>{const u=h.resolveComponent("el-rate");return h.openBlock(),h.createBlock(ao,h.mergeProps(I.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(a)}}),{default:h.withCtx(({data:A})=>[(h.openBlock(),h.createBlock(u,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(o),"onUpdate:modelValue":C[0]||(C[0]=p=>h.isRef(o)?o.value=p:null),key:h.unref(r)},h.unref(c),h.toHandlers(h.unref(s)),{size:A.size,class:A.injectClass,style:A.injectStyle}),null,16,["modelValue","size","class","style"]))]),_:1},16,["propOptions"])}}}),RHe=Object.freeze(Object.defineProperty({__proto__:null,default:kHe},Symbol.toStringTag,{value:"Module"})),XHe=h.defineComponent({componentName:cn.FieldWidget}),YHe=h.defineComponent({...XHe,__name:"result-widget",props:{...$n},setup(n,{expose:e}){const t=n,{exposed:i,fieldEditor:o,fieldKey:a,slots:r,attrs:c,events:s,fieldObj:l}=zn(t),g=h.computed(()=>{const I=Ca(r.value,t.designState);return I.map(C=>(C.slotName==="subTitle"&&(C.slotName="sub-title"),C)),I});return e({...i}),(I,C)=>{const u=h.resolveComponent("el-result");return h.openBlock(),h.createBlock(Ei,h.mergeProps(I.$props,{"prop-options":{fieldObj:h.unref(l)}}),{default:h.withCtx(({data:A})=>[(h.openBlock(),h.createBlock(u,h.mergeProps({ref_key:"fieldEditor",ref:o,key:h.unref(a)},h.unref(c),h.toHandlers(h.unref(s)),{class:A.injectClass,style:A.injectStyle}),h.createSlots({_:2},[h.renderList(h.unref(g),p=>({name:p.slotName,fn:h.withCtx(()=>[p!=null&&p.default?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(p==null?void 0:p.default),{key:0})):h.createCommentVNode("",!0),h.createVNode($i,h.mergeProps(I.$props,{widget:p,"drag-class":"dragSize1","drag-tip":h.unref(U).i18nt("designer.hint.draggableArea1")}),null,16,["widget","drag-tip"])])}))]),1040,["class","style"]))]),_:1},16,["prop-options"])}}}),HHe=Object.freeze(Object.defineProperty({__proto__:null,default:YHe},Symbol.toStringTag,{value:"Module"})),EHe=h.defineComponent({componentName:cn.FieldWidget}),FHe=h.defineComponent({...EHe,__name:"rich-editor-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,rules:r,events:c,getFieldOptions:s,exposed:l,fieldObj:g}=zn(t),I=h.computed(()=>s("contentHeight")),C=h.shallowRef(),u=()=>{Promise.resolve().then(()=>Rdt).then(d=>{const{quillEditor:f}=d.default;C.value=f})},A=yn(sn(c.value),{change:d=>{var w,y;const f=d==null?void 0:d.html;(y=(w=c==null?void 0:c.value)==null?void 0:w.change)==null||y.call(w,f)}}),p=h.computed(()=>({disabled:s("disabled"),placeholder:s("placeholder")}));return h.onMounted(()=>{u()}),e({...l}),(d,f)=>(h.openBlock(),h.createBlock(ao,h.mergeProps(d.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(r)}}),{default:h.withCtx(({data:w})=>[h.createElementVNode("div",{class:h.normalizeClass(["full-height",w.injectClass]),style:h.normalizeStyle(w.injectStyle)},[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(C)),h.mergeProps({ref_key:"fieldEditor",ref:i,value:h.unref(a),"onUpdate:value":f[0]||(f[0]=y=>h.isRef(a)?a.value=y:null)},h.toHandlers(h.unref(A)),{key:h.unref(o),options:h.unref(p),style:h.unref(I)?`height: ${h.unref(I)}`:""}),null,16,["value","options","style"]))],6)]),_:1},16,["propOptions"]))}}),mzt="",JHe=Object.freeze(Object.defineProperty({__proto__:null,default:FHe},Symbol.toStringTag,{value:"Module"})),LHe={key:0},KHe=h.defineComponent({componentName:cn.FieldWidget}),jHe=h.defineComponent({...KHe,__name:"router-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,exposed:a,getFieldOptions:r,fieldObj:c}=zn(t);return e({...a}),(s,l)=>{const g=h.resolveComponent("router-view");return h.openBlock(),h.createBlock(Ei,h.mergeProps(s.$props,{"prop-options":{fieldObj:h.unref(c)}}),{default:h.withCtx(()=>[(h.openBlock(),h.createBlock(g,{ref_key:"fieldEditor",ref:i,key:h.unref(o),name:h.unref(r)("label")},{default:h.withCtx(()=>[s.designState?(h.openBlock(),h.createElementBlock("div",LHe,h.toDisplayString(h.unref(r)("label")),1)):h.createCommentVNode("",!0)]),_:1},8,["name"]))]),_:1},16,["prop-options"])}}}),_He=Object.freeze(Object.defineProperty({__proto__:null,default:jHe},Symbol.toStringTag,{value:"Module"})),UHe={key:0,class:"el-select-dropdown__item"},QHe=h.defineComponent({componentName:cn.FieldWidget}),PHe=h.defineComponent({...QHe,__name:"select-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,objFieldModel:r,rules:c,attrs:s,extendAttrs:l,events:g,slots:I,exposed:C,fieldObj:u,getFieldOptions:A,getWidgetOption:p,getCheckedOptionItems:d,setOptionItems:f,watchOption:w}=zn(t),y=h.ref(),m=h.ref(),b=h.ref(!1),N=re=>{var ue,Q;return(ue=l.value)!=null&&ue.allItemAsValue?re:re==null?void 0:re[(Q=l.value)==null?void 0:Q.valueKey]},S=h.computed({get:()=>or(a.value,!1),set:re=>{a.value=re}}),M=h.computed({get:()=>r.value==null?[]:or(H(r.value),!0),set:re=>{a.value=H(re)}}),x=h.ref(!1);let v=h.shallowRef(),Z=h.shallowRef();h.watch(I,re=>{var ue,Q;v.value=(ue=xa(re,"optionDefault"))==null?void 0:ue.default,Z.value=(Q=xa(re,"prefix"))==null?void 0:Q.default},{immediate:!0});var G=p("filterMethod");const z=(re,ue)=>{var ee;if(G){var Q=(ee=m.value)==null?void 0:ee.filter(ie=>{var pe,Ne;var Ie=zA(G,{keyword:re,option:{...ie,label:ie==null?void 0:ie[(pe=l.value)==null?void 0:pe.labelKey],value:ie==null?void 0:ie[(Ne=l.value)==null?void 0:Ne.valueKey]}});return Ie});ue&&ue(Q)}};G&&Object.assign(s.value,{filterMethod:re=>{T(re,z)}});var W=p("remoteMethod");const T=(re,ue)=>{ue&&(b.value=!0,re?(x.value=!0,ue(re,Q=>{y.value=Q,x.value=!1})):y.value=m.value)};W&&Object.assign(s.value,{remoteMethod:re=>{T(re,W)}});const V=()=>{var ue;var re=A("valueKey");return re?(ue=m==null?void 0:m.value)==null?void 0:ue.map(Q=>Q==null?void 0:Q[re]):[]};var k=()=>{if(!a.value)return!1;if(!Array.isArray(a.value))return!0;var re=V();return!(re!=null&&re.some(ue=>{var Q;return((Q=a.value)==null?void 0:Q.indexOf(ue))===-1}))};const D=h.ref(k()),R=re=>{re?a.value=V():a.value=[]},E=h.ref(),X=()=>{var ue;((ue=s==null?void 0:s.value)==null?void 0:ue.multiple)?M.value!=null&&(E.value=M.value):S.value!=null&&(E.value=[S.value])},Y=()=>{var re;(re=l.value)!=null&&re.allItemAsValue&&le(E.value)},H=re=>{var me,Se;const ue=or(re,!0),Q=(me=s==null?void 0:s.value)==null?void 0:me.multiple;if(!Q||!((Se=l==null?void 0:l.value)!=null&&Se.selectOnlyOneGroup)||(ue==null?void 0:ue.length)<=0)return E.value=ue,or(ue,Q);for(var ee="",ie=[],Ie=xt(or(y.value,!0)),pe=ue.length-1;pe>=0;pe--){const fe=ue[pe];var Ne=Ie==null?void 0:Ie.some(ve=>fe===(ve==null?void 0:ve.value));Ne&&ie.push(fe);var de=Ie==null?void 0:Ie.find(ve=>{var $;return($=xt(or(ve==null?void 0:ve.children,!0)))==null?void 0:$.some(P=>fe===(P==null?void 0:P.value))});(de&&(de==null?void 0:de.value)===ee||!ee)&&(ie.push(fe),ee||(ee=de==null?void 0:de.value))}return E.value=ie,ie},J=re=>H(re),K=re=>{var ue;if(a.value!==void 0)return(ue=s.value)!=null&&ue.remote?E.value:d(re,m.value)},_=re=>{var Q,ee;var ue=(Q=K(re))==null?void 0:Q.map(ie=>{var Ie;return ie==null?void 0:ie[(Ie=l.value)==null?void 0:Ie.labelKey]});return or(ue,(ee=s.value)==null?void 0:ee.multiple)},se=re=>{var Q,ee;var ue=(Q=K(re))==null?void 0:Q.map(ie=>{var Ie;return ie==null?void 0:ie[(Ie=l.value)==null?void 0:Ie.valueKey]});return or(ue,(ee=s.value)==null?void 0:ee.multiple)},oe=re=>{var Q;var ue=_(re);return(Q=or(ue,!0))==null?void 0:Q.join(",")},le=re=>{m.value=re,y.value=re,f(re)};return h.onMounted(()=>{X(),Y(),w(!0,$e.optionItems,void 0,re=>{le(re)})}),e({...C,handleBeforeChange:J,loadOptionItems:le,getCheckedItems:K,getCheckedLabels:_,getCheckedValues:se,getCheckedText:oe}),(re,ue)=>{const Q=h.resolveComponent("el-checkbox"),ee=h.resolveComponent("el-option"),ie=h.resolveComponent("el-option-group"),Ie=h.resolveComponent("el-select");return h.openBlock(),h.createBlock(ao,h.mergeProps(re.$props,{propOptions:{fieldObj:h.unref(u),rules:h.unref(c)}}),{default:h.withCtx(({data:pe})=>{var Ne;return[(Ne=h.unref(s))!=null&&Ne.multiple?(h.openBlock(),h.createBlock(Ie,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(M),"onUpdate:modelValue":ue[1]||(ue[1]=de=>h.isRef(M)?M.value=de:null),key:`${h.unref(o)}_multiple`},h.unref(s),h.toHandlers(h.unref(g)),{"value-key":h.unref(l).valueKey,loading:x.value,size:pe.size,class:pe.injectClass,style:pe.injectStyle,placeholder:h.unref(s).placeholder||h.unref(U).i18nt("render.hint.selectPlaceholder")}),{default:h.withCtx(()=>{var de,me,Se;return[h.unref(s).multiple&&!h.unref(l).selectOnlyOneGroup?(h.openBlock(),h.createElementBlock("li",UHe,[h.createVNode(Q,{modelValue:D.value,"onUpdate:modelValue":ue[0]||(ue[0]=fe=>D.value=fe),indeterminate:((de=h.unref(a))==null?void 0:de.length)<(((me=y.value)==null?void 0:me.length)||0)&&((Se=h.unref(a))==null?void 0:Se.length)!==0,onChange:R},{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(h.unref(U).i18nt("designer.hint.checkAll")),1)]),_:1},8,["modelValue","indeterminate"])])):h.createCommentVNode("",!0),(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(y.value,(fe,ve)=>{var $,P;return h.openBlock(),h.createElementBlock(h.Fragment,{key:fe.value},[(($=fe==null?void 0:fe.children)==null?void 0:$.length)>0?(h.openBlock(),h.createElementBlock(h.Fragment,{key:0},[(P=h.unref(l))!=null&&P.showGroup?(h.openBlock(),h.createBlock(ie,{label:fe[h.unref(l).labelKey],key:ve},{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(fe.children,(te,Ce)=>(h.openBlock(),h.createBlock(ee,{value:N(te),label:te[h.unref(l).labelKey],key:Ce},{default:h.withCtx(()=>[h.unref(v)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(v)),h.mergeProps({key:0},{item:te},{key:te[h.unref(l).valueKey]}),null,16)):h.createCommentVNode("",!0)]),_:2},1032,["value","label"]))),128))]),_:2},1032,["label"])):(h.openBlock(!0),h.createElementBlock(h.Fragment,{key:1},h.renderList(fe.children,(te,Ce)=>(h.openBlock(),h.createBlock(ee,{value:N(te),label:te[h.unref(l).labelKey],key:Ce},{default:h.withCtx(()=>[h.unref(v)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(v)),h.mergeProps({key:0},{item:te},{key:te[h.unref(l).valueKey]}),null,16)):h.createCommentVNode("",!0)]),_:2},1032,["value","label"]))),128))],64)):(h.openBlock(),h.createBlock(ee,{value:N(fe),label:fe[h.unref(l).labelKey],key:ve},{default:h.withCtx(()=>[h.unref(v)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(v)),h.mergeProps({key:0},{item:fe},{key:fe[h.unref(l).valueKey]}),null,16)):h.createCommentVNode("",!0)]),_:2},1032,["value","label"]))],64)}),128))]}),prefix:h.withCtx(()=>[h.unref(Z)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(Z)),{key:0})):h.createCommentVNode("",!0)]),_:2},1040,["modelValue","value-key","loading","size","class","style","placeholder"])):(h.openBlock(),h.createBlock(Ie,h.mergeProps({modelValue:h.unref(S),"onUpdate:modelValue":ue[2]||(ue[2]=de=>h.isRef(S)?S.value=de:null),ref_key:"fieldEditor",ref:i,key:`${h.unref(o)}_single`},h.toHandlers(h.unref(g)),h.unref(s),{"value-key":h.unref(l).valueKey,loading:x.value,size:pe.size,class:pe.injectClass,style:pe.injectStyle,placeholder:h.unref(s).placeholder||h.unref(U).i18nt("render.hint.selectPlaceholder")}),{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(y.value,(de,me)=>{var Se,fe;return h.openBlock(),h.createElementBlock(h.Fragment,{key:de.value},[((Se=de==null?void 0:de.children)==null?void 0:Se.length)>0?(h.openBlock(),h.createElementBlock(h.Fragment,{key:0},[(fe=h.unref(l))!=null&&fe.showGroup?(h.openBlock(),h.createBlock(ie,{label:de[h.unref(l).labelKey],key:me},{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(de.children,(ve,$)=>(h.openBlock(),h.createBlock(ee,{value:N(ve),label:ve[h.unref(l).labelKey],key:$},{default:h.withCtx(()=>[h.unref(v)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(v)),h.mergeProps({key:0},{item:ve},{key:ve[h.unref(l).valueKey]}),null,16)):h.createCommentVNode("",!0)]),_:2},1032,["value","label"]))),128))]),_:2},1032,["label"])):(h.openBlock(!0),h.createElementBlock(h.Fragment,{key:1},h.renderList(de.children,(ve,$)=>(h.openBlock(),h.createBlock(ee,{value:N(ve),label:ve[h.unref(l).labelKey],key:$},{default:h.withCtx(()=>[h.unref(v)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(v)),h.mergeProps({key:0},{item:ve},{key:ve[h.unref(l).valueKey]}),null,16)):h.createCommentVNode("",!0)]),_:2},1032,["value","label"]))),128))],64)):(h.openBlock(),h.createBlock(ee,{value:N(de),label:de[h.unref(l).labelKey],key:me},{default:h.withCtx(()=>[h.unref(v)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(v)),h.mergeProps({key:0},{item:de},{key:de[h.unref(l).valueKey]}),null,16)):h.createCommentVNode("",!0)]),_:2},1032,["value","label"]))],64)}),128))]),prefix:h.withCtx(()=>[h.unref(Z)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(Z)),{key:0})):h.createCommentVNode("",!0)]),_:2},1040,["modelValue","value-key","loading","size","class","style","placeholder"]))]}),_:1},16,["propOptions"])}}}),qHe=Object.freeze(Object.defineProperty({__proto__:null,default:PHe},Symbol.toStringTag,{value:"Module"})),$He=h.defineComponent({componentName:cn.FieldWidget}),eEe=h.defineComponent({...$He,__name:"slider-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldModel:o,fieldKey:a,rules:r,attrs:c,events:s,exposed:l,fieldObj:g}=zn(t),I=h.computed({get:()=>or(o.value,c.value.range),set:C=>{o.value=or(C,c.value.range)}});return e({...l}),(C,u)=>{const A=h.resolveComponent("el-slider");return h.openBlock(),h.createBlock(ao,h.mergeProps(C.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(r)}}),{default:h.withCtx(({data:p})=>[(h.openBlock(),h.createBlock(A,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(I),"onUpdate:modelValue":u[0]||(u[0]=d=>h.isRef(I)?I.value=d:null),key:h.unref(a)},h.unref(c),h.toHandlers(h.unref(s)),{size:p.size,class:p.injectClass,style:p.injectStyle}),null,16,["modelValue","size","class","style"])),h.createTextVNode(" "+h.toDisplayString(h.unref(o)),1)]),_:1},16,["propOptions"])}}}),tEe=Object.freeze(Object.defineProperty({__proto__:null,default:eEe},Symbol.toStringTag,{value:"Module"})),nEe=h.defineComponent({componentName:cn.FieldWidget}),iEe=h.defineComponent({...nEe,__name:"static-text-widget",props:{...$n},setup(n,{expose:e}){const t=n,{exposed:i,fieldEditor:o,attrs:a,extendAttrs:r,fieldObj:c}=zn(t);return e({...i}),(s,l)=>(h.openBlock(),h.createBlock(Ei,h.mergeProps(s.$props,{"prop-options":{fieldObj:h.unref(c)}}),{default:h.withCtx(()=>{var g;return[h.createVNode(sp,{ref_key:"fieldEditor",ref:o,"component-name":"div",allProps:{customClass:h.unref(mC)((g=h.unref(r))==null?void 0:g.customClass),content:h.unref(a).content||h.unref(r).content},tohtml:!1},null,8,["allProps"])]}),_:1},16,["prop-options"]))}}),rEe=Object.freeze(Object.defineProperty({__proto__:null,default:iEe},Symbol.toStringTag,{value:"Module"})),oEe=["innerHTML"],aEe=["innerHTML"],sEe=h.defineComponent({componentName:cn.FieldWidget}),lEe=h.defineComponent({...sEe,__name:"steps-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,events:a,attrs:r,optionItems:c,activeOptionItemIndex:s,exposed:l,fieldObj:g}=zn(t),I=h.computed(()=>C.value||s.value),C=h.ref();return e({...l,setValue:p=>{C.value=p},getValue:()=>I.value}),(p,d)=>{const f=h.resolveComponent("el-step"),w=h.resolveComponent("el-steps");return h.openBlock(),h.createBlock(Ei,h.mergeProps(p.$props,{"prop-options":{fieldObj:h.unref(g)}}),{default:h.withCtx(({data:y})=>[(h.openBlock(),h.createBlock(w,h.mergeProps({ref_key:"fieldEditor",ref:i,key:h.unref(o)},h.unref(r),h.toHandlers(h.unref(a)),{active:h.unref(I),class:y.injectClass,style:y.injectStyle}),{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(h.unref(c),(m,b)=>{var N;return h.openBlock(),h.createBlock(f,h.mergeProps(m,{key:b}),h.createSlots({title:h.withCtx(()=>[h.createElementVNode("span",{innerHTML:m==null?void 0:m.label},null,8,oEe)]),description:h.withCtx(()=>{var S;return[h.createElementVNode("span",{innerHTML:(S=h.unref(xt)(m))==null?void 0:S.description},null,8,aEe)]}),_:2},[(N=h.unref(xt)(m))!=null&&N.icon?{name:"icon",fn:h.withCtx(()=>[h.createVNode(bn,{name:h.unref(xt)(m).icon},null,8,["name"])]),key:"0"}:void 0]),1040)}),128))]),_:2},1040,["active","class","style"]))]),_:1},16,["prop-options"])}}}),gEe=Object.freeze(Object.defineProperty({__proto__:null,default:lEe},Symbol.toStringTag,{value:"Module"})),cEe=h.defineComponent({componentName:cn.FieldWidget}),IEe=h.defineComponent({...cEe,__name:"switch-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,rules:r,attrs:c,events:s,exposed:l,fieldObj:g}=zn(t);return e({...l}),(I,C)=>{const u=h.resolveComponent("el-switch");return h.openBlock(),h.createBlock(ao,h.mergeProps(I.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(r)}}),{default:h.withCtx(({data:A})=>[(h.openBlock(),h.createBlock(u,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(a),"onUpdate:modelValue":C[0]||(C[0]=p=>h.isRef(a)?a.value=p:null),key:h.unref(o)},h.unref(c),h.toHandlers(h.unref(s)),{size:A.size,class:A.injectClass,style:A.injectStyle}),null,16,["modelValue","size","class","style"]))]),_:1},16,["propOptions"])}}}),CEe=Object.freeze(Object.defineProperty({__proto__:null,default:IEe},Symbol.toStringTag,{value:"Module"})),Oz=h.defineComponent({__name:"table-col-widget",props:{options:null,designState:{type:Boolean},designer:null,propResultOpt:null},setup(n){var c;const e=n,{attrs:t,extendAttrs:i,slots:o}=Js({options:e.options},e.propResultOpt,{s_slots:!0,s_extendAttr:!0,s_attr:!0,fn_attr:s=>!["children"].includes(s)}),{newSlot:a}=pv(),r=Md({instance:(c=e.propResultOpt)==null?void 0:c.instance});return(s,l)=>{const g=h.resolveComponent("el-table-column");return h.openBlock(),h.createBlock(g,h.normalizeProps(h.guardReactiveProps(h.unref(t))),{header:h.withCtx(I=>{var C,u;return[(C=h.unref(xa)(h.unref(o),"header"))!=null&&C.default?(h.openBlock(),h.createBlock(h.resolveDynamicComponent((u=h.unref(xa)(h.unref(o),"header"))==null?void 0:u.default),{key:0,scope:I,ctx:h.unref(r)},null,8,["scope","ctx"])):h.createCommentVNode("",!0)]}),default:h.withCtx(I=>{var C,u,A,p,d,f,w,y,m,b,N,S,M,x;return[(((u=(C=n.options)==null?void 0:C.children)==null?void 0:u.length)||0)>0?(h.openBlock(!0),h.createElementBlock(h.Fragment,{key:0},h.renderList((A=n.options)==null?void 0:A.children,(v,Z)=>(h.openBlock(),h.createBlock(Oz,{designState:n.designState,designer:n.designer,key:v.uuid,options:v},null,8,["designState","designer","options"]))),128)):h.createCommentVNode("",!0),(p=h.unref(i))!=null&&p.slotable&&(n.designState&&((f=(d=e.options)==null?void 0:d.default)!=null&&f.widgetList)||!n.designState||((m=(y=(w=e.options)==null?void 0:w.default)==null?void 0:y.widgetList)==null?void 0:m.length)>0)?(h.openBlock(),h.createElementBlock(h.Fragment,{key:1},[n.designState?(h.openBlock(),h.createBlock($i,{key:0,designState:n.designState,designer:n.designer,widget:h.unref(xt)((b=e.options)==null?void 0:b.default),dragTip:h.unref(U).i18nt("designer.hint.draggableArea1"),"row-scope":I},null,8,["designState","designer","widget","dragTip","row-scope"])):(h.openBlock(),h.createBlock($i,{designState:n.designState,designer:n.designer,key:h.unref(Xr)()+(I==null?void 0:I.$index),widget:h.unref(xt)((S=h.unref(a)([(N=e.options)==null?void 0:N.default],I,(I==null?void 0:I.$index)<0?"header":I==null?void 0:I.$index))==null?void 0:S.widget[0]),"row-scope":I},null,8,["designState","designer","widget","row-scope"]))],64)):h.createCommentVNode("",!0),(M=h.unref(xa)(h.unref(o),"default"))!=null&&M.default?(h.openBlock(),h.createBlock(h.resolveDynamicComponent((x=h.unref(xa)(h.unref(o),"default"))==null?void 0:x.default),{key:2,scope:I,ctx:h.unref(r)},null,8,["scope","ctx"])):h.createCommentVNode("",!0)]}),_:1},16)}}}),uEe=Object.freeze(Object.defineProperty({__proto__:null,default:Oz},Symbol.toStringTag,{value:"Module"})),dEe={key:1},hEe=h.defineComponent({componentName:cn.FieldWidget}),AEe=h.defineComponent({...hEe,__name:"table-widget",props:{...$n},setup(n,{expose:e}){var k;const t=n,{fieldName:i,exposed:o,fieldEditor:a,fieldKey:r,attrs:c,extendAttrs:s,events:l,optionItems:g,watchOption:I,fieldObj:C,propResultOpt:u,getFieldOptions:A}=zn({...t,exposedWholeInstance:!0}),{toModel:p}=jO({...t,fieldName:i.value}),d=h.ref(1),f=h.ref((k=s.value)==null?void 0:k.pageSize),w=h.ref(10),y=D=>{f.value=D},m=D=>{d.value=D},b=h.ref(!1),N=h.ref(),S=h.computed(()=>{var R;if(t.designState)return[{}];if((R=s.value)!=null&&R.allowPage){var D=iY(N.value,d.value,f.value);return w.value=D==null?void 0:D.totalItems,D==null?void 0:D.data}else return N.value}),M=()=>{d.value=1,w.value=0,N.value=[]},x=(D=!1)=>new Promise((R,E)=>{const X=Y=>{N.value=Y,b.value=!1,R(Y)};I(D,$e.data,()=>{M(),b.value=!0},Y=>{var H,J;(H=s.value)!=null&&H.beforeTableRender?(J=s.value)==null||J.beforeTableRender(Y,K=>{X(K)}):X(Y)})}),v=D=>{eo(D)&&(D=sr(D)),N.value=or(D,!0)},Z=()=>N.value,G=h.reactive({}),z=i.value;Pg.globalProvide({globalFormName:z,globalDataModel:G});const W=U.i18nt("designer.hint.noData"),T=()=>{var R;var D={};return(R=Object.keys(o==null?void 0:o.allRefList))==null||R.forEach(E=>{var H,J,K;var X=(K=(J=(H=o==null?void 0:o.allRefList[E])==null?void 0:H.exposed)==null?void 0:J.getField)==null?void 0:K.call(J);if(X){const _=RC(E);if(!(_!=null&&_.groupName)||(_==null?void 0:_.groupName)==="header")return;var Y=D[_==null?void 0:_.groupName];Y||(Y=[]),Y.push(X),D[_==null?void 0:_.groupName]=Y}}),Ai(D).map(E=>p(G,D[E]))},V=D=>{var R;!D||D.length<=0||(R=Object.keys(o==null?void 0:o.allRefList))==null||R.forEach(E=>{var K,_,se,oe,le,re,ue;var X=(se=(_=(K=o==null?void 0:o.allRefList[E])==null?void 0:K.exposed)==null?void 0:_.getField)==null?void 0:se.call(_);if(!X)return;const Y=RC(E);if(!(Y!=null&&Y.groupName))return;var H=D==null?void 0:D[parseInt(Y==null?void 0:Y.groupName)];const J=(oe=X==null?void 0:X._source)==null?void 0:oe.name;(H==null?void 0:H[J])!=null&&((ue=(re=(le=o==null?void 0:o.allRefList[E])==null?void 0:le.exposed)==null?void 0:re.setValue)==null||ue.call(re,H==null?void 0:H[J]))})};return h.onMounted(()=>{t.designState||x(!0)}),e({...o,setValue:v,getValue:Z,refresh:x,getTableData:T,setTableData:V,currentPage:()=>d.value,pageSize:()=>f.value}),(D,R)=>{const E=h.resolveComponent("el-empty"),X=h.resolveComponent("el-table"),Y=h.resolveComponent("el-pagination"),H=h.resolveDirective("loading");return h.openBlock(),h.createBlock(Ei,h.mergeProps(D.$props,{"prop-options":{fieldObj:h.unref(C)}}),{default:h.withCtx(({data:J})=>{var K,_,se,oe,le,re,ue,Q,ee,ie,Ie,pe;return[!h.unref(g)||((K=h.unref(g))==null?void 0:K.length)<=0||((_=h.unref(g))==null?void 0:_[0])==null?(h.openBlock(),h.createBlock(E,{key:0,description:h.unref(U).i18nt("designer.hint.tableSetting")},null,8,["description"])):h.withDirectives((h.openBlock(),h.createElementBlock("div",dEe,[(h.openBlock(),h.createBlock(X,h.mergeProps({ref_key:"fieldEditor",ref:a},h.unref(c),h.toHandlers(h.unref(l)),{key:h.unref(r),"empty-text":((se=h.unref(c))==null?void 0:se.emptyText)||h.unref(W),size:J.size,defaultSort:h.unref(Eo)((oe=h.unref(c))==null?void 0:oe.defaultSort)?(le=h.unref(c))==null?void 0:le.defaultSort:void 0,treeProps:h.unref(Eo)((re=h.unref(c))==null?void 0:re.treeProps)?(ue=h.unref(c))==null?void 0:ue.treeProps:void 0,class:J.injectClass,style:J.injectStyle,data:h.unref(S)}),{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(h.unref(A)("optionItems"),(Ne,de)=>(h.openBlock(),h.createBlock(Oz,{key:Ne.uuid,options:Ne,designer:D.designer,propResultOpt:h.unref(u),designState:D.designState},null,8,["options","designer","propResultOpt","designState"]))),128))]),_:2},1040,["empty-text","size","defaultSort","treeProps","class","style","data"])),(Q=h.unref(s))!=null&&Q.allowPage?(h.openBlock(),h.createBlock(Y,{key:0,"current-page":d.value,"onUpdate:current-page":R[0]||(R[0]=Ne=>d.value=Ne),"page-size":f.value,"onUpdate:page-size":R[1]||(R[1]=Ne=>f.value=Ne),"page-sizes":(ee=h.unref(s))==null?void 0:ee.pageSizes,hideOnSinglePage:(ie=h.unref(s))==null?void 0:ie.hideOnSinglePage,layout:(pe=(Ie=h.unref(s))==null?void 0:Ie.layout)==null?void 0:pe.join(","),total:w.value,onSizeChange:y,onCurrentChange:m},null,8,["current-page","page-size","page-sizes","hideOnSinglePage","layout","total"])):h.createCommentVNode("",!0)])),[[H,!D.designState&&b.value]])]}),_:1},16,["prop-options"])}}}),pEe=Object.freeze(Object.defineProperty({__proto__:null,default:AEe},Symbol.toStringTag,{value:"Module"})),fEe=h.defineComponent({componentName:cn.FieldWidget}),wEe=h.defineComponent({...fEe,__name:"tag-widget",props:{...$n},setup(n,{expose:e}){const t=n,{exposed:i,fieldObj:o}=zn(t);return e({...i}),(a,r)=>(h.openBlock(),h.createBlock(ng,h.mergeProps(a.$props,{propOptions:{elementName:"el-tag",fieldObj:h.unref(o)}}),null,16,["propOptions"]))}}),mEe=Object.freeze(Object.defineProperty({__proto__:null,default:wEe},Symbol.toStringTag,{value:"Module"})),yEe=h.defineComponent({componentName:cn.FieldWidget}),bEe=h.defineComponent({...yEe,__name:"text-widget",props:{...$n},setup(n,{expose:e}){const t=n,{exposed:i,fieldObj:o}=zn(t);return e({...i}),(a,r)=>(h.openBlock(),h.createBlock(ng,h.mergeProps(a.$props,{propOptions:{elementName:"el-text",fieldObj:h.unref(o)}}),null,16,["propOptions"]))}}),NEe=Object.freeze(Object.defineProperty({__proto__:null,default:bEe},Symbol.toStringTag,{value:"Module"})),vEe=h.defineComponent({componentName:cn.FieldWidget}),MEe=h.defineComponent({...vEe,__name:"textarea-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,rules:r,attrs:c,events:s,exposed:l,fieldObj:g}=zn(t);return e({...l}),(I,C)=>{const u=h.resolveComponent("el-input");return h.openBlock(),h.createBlock(ao,h.mergeProps(I.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(r)}}),{default:h.withCtx(({data:A})=>[(h.openBlock(),h.createBlock(u,h.mergeProps({type:"textarea",ref_key:"fieldEditor",ref:i,modelValue:h.unref(a),"onUpdate:modelValue":C[0]||(C[0]=p=>h.isRef(a)?a.value=p:null),key:h.unref(o)},h.unref(c),h.toHandlers(h.unref(s)),{class:A.injectClass,style:A.injectStyle}),null,16,["modelValue","class","style"]))]),_:1},16,["propOptions"])}}}),SEe=Object.freeze(Object.defineProperty({__proto__:null,default:MEe},Symbol.toStringTag,{value:"Module"})),xEe=h.defineComponent({componentName:cn.FieldWidget}),ZEe=h.defineComponent({...xEe,__name:"time-picker-range-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldModel:i,fieldEditor:o,fieldKey:a,rules:r,events:c,attrs:s,exposed:l,fieldObj:g,watchKeyValue:I,refreshKey:C}=zn(t),u=I("defaultValue",p=>{var d;return(d=Hf(xt(p)))==null?void 0:d.map(f=>_g(f))},()=>{C()}),A=h.computed({get:()=>{var d;if(eo(i.value)){var p=sr(i.value);Xl(p)&&(i.value=(d=Hf(xt(p)))==null?void 0:d.map(f=>_g(f)))}return i.value},set:p=>{var d;i.value=(d=Hf(xt(p)))==null?void 0:d.map(f=>_g(f))}});return e({...l}),(p,d)=>{const f=h.resolveComponent("el-time-picker");return h.openBlock(),h.createBlock(ao,h.mergeProps(p.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(r)}}),{default:h.withCtx(({data:w})=>[(h.openBlock(),h.createBlock(f,h.mergeProps({ref_key:"fieldEditor",ref:o,modelValue:h.unref(A),"onUpdate:modelValue":d[0]||(d[0]=y=>h.isRef(A)?A.value=y:null),key:h.unref(a)},h.unref(s),h.toHandlers(h.unref(c)),{size:w.size,class:w.injectClass,style:w.injectStyle,"default-value":h.unref(u),"start-placeholder":h.unref(s).startPlaceholder||h.unref(U).i18nt("render.hint.startTimePlaceholder"),"end-placeholder":h.unref(s).endPlaceholder||h.unref(U).i18nt("render.hint.endTimePlaceholder")}),null,16,["modelValue","size","class","style","default-value","start-placeholder","end-placeholder"]))]),_:1},16,["propOptions"])}}}),GEe=Object.freeze(Object.defineProperty({__proto__:null,default:ZEe},Symbol.toStringTag,{value:"Module"})),OEe=h.defineComponent({componentName:cn.FieldWidget}),zEe=h.defineComponent({...OEe,__name:"time-picker-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,refreshKey:o,fieldKey:a,fieldModel:r,rules:c,attrs:s,events:l,exposed:g,fieldObj:I,watchKeyValue:C}=zn(t),u=C("defaultValue",A=>YA(xt(A)),()=>{o()});return e({...g}),(A,p)=>{const d=h.resolveComponent("el-time-picker");return h.openBlock(),h.createBlock(ao,h.mergeProps(A.$props,{propOptions:{fieldObj:h.unref(I),rules:h.unref(c)}}),{default:h.withCtx(({data:f})=>[(h.openBlock(),h.createBlock(d,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(r),"onUpdate:modelValue":p[0]||(p[0]=w=>h.isRef(r)?r.value=w:null),key:h.unref(a)},h.unref(s),h.toHandlers(h.unref(l)),{size:f.size,class:f.injectClass,style:f.injectStyle,"default-value":h.unref(u),placeholder:h.unref(s).placeholder||h.unref(U).i18nt("render.hint.timePlaceholder")}),null,16,["modelValue","size","class","style","default-value","placeholder"]))]),_:1},16,["propOptions"])}}}),WEe=Object.freeze(Object.defineProperty({__proto__:null,default:zEe},Symbol.toStringTag,{value:"Module"})),TEe=h.defineComponent({componentName:cn.FieldWidget}),VEe=h.defineComponent({...TEe,__name:"time-select-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,rules:r,attrs:c,events:s,exposed:l,fieldObj:g}=zn(t);return e({...l}),(I,C)=>{const u=h.resolveComponent("el-time-select");return h.openBlock(),h.createBlock(ao,h.mergeProps(I.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(r)}}),{default:h.withCtx(({data:A})=>[(h.openBlock(),h.createBlock(u,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(a),"onUpdate:modelValue":C[0]||(C[0]=p=>h.isRef(a)?a.value=p:null),key:h.unref(o)},h.unref(c),h.toHandlers(h.unref(s)),{size:A.size,class:A.injectClass,style:A.injectStyle,placeholder:h.unref(c).placeholder||h.unref(U).i18nt("render.hint.timePlaceholder")}),null,16,["modelValue","size","class","style","placeholder"]))]),_:1},16,["propOptions"])}}}),BEe=Object.freeze(Object.defineProperty({__proto__:null,default:VEe},Symbol.toStringTag,{value:"Module"})),DEe=["element-loading-text"],kEe=h.defineComponent({__name:"tmpl-widget",props:{...To},setup(n,{expose:e}){const t=n,{slots:i,exposed:o,attrs:a,events:r,fieldObj:c,fieldName:s,watchOption:l}=zn(t),g=h.computed(()=>LO(i.value)),{getSlotFromData:I,emit$:C,rowsData:u,getValue:A,setValue:p}=jO({...t,fieldName:s.value}),d=m=>p(or(sr(m),!0),b=>y(b)),f=h.ref(!1),w=(m=!1)=>{l(m,$e.data,()=>{f.value=!0},b=>{var N,S;d(b),setTimeout(()=>{f.value=!1},1e3),(S=(N=r.value)==null?void 0:N.completed)==null||S.call(N,b)})},y=m=>{var N;const b=(N=a==null?void 0:a.value)!=null&&N.alwaysShow?[{}]:null;return I(i.value,m||b)};return h.onMounted(()=>{w(!0)}),e({...o,refresh:w,emit$:C,setValue:d,getValue:A}),(m,b)=>{const N=h.resolveDirective("loading");return h.openBlock(),h.createBlock(Ei,h.mergeProps(m.$props,{"prop-options":{fieldObj:h.unref(c)},"show-wrapper-component":!0}),{default:h.withCtx(()=>{var S;return[m.designState?(h.openBlock(),h.createBlock($i,h.mergeProps({key:0},m.$props,{widget:h.unref(xa)(h.unref(g),"row"),dragClass:"dragSize"}),null,16,["widget"])):(h.openBlock(),h.createElementBlock(h.Fragment,{key:1},[h.unref(u)&&((S=h.unref(u))==null?void 0:S.length)>0?h.withDirectives((h.openBlock(),h.createElementBlock("div",{key:0,"element-loading-text":h.unref(a).loadingText},[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(h.unref(u),(M,x)=>(h.openBlock(),h.createBlock($i,h.mergeProps({key:M.key},m.$props,{widget:M.widget[0],componentName:"div","row-scope":{row:M.data,$index:x},componentClass:"flex full-width"}),null,16,["widget","row-scope"]))),128))],8,DEe)),[[N,h.unref(a).showLoading&&f.value]]):(h.openBlock(),h.createElementBlock(h.Fragment,{key:1},[h.createTextVNode(h.toDisplayString(h.unref(a).noData||h.unref(U).i18nt("designer.hint.noData")),1)],64))],64))]}),_:1},16,["prop-options"])}}}),yzt="",REe=Object.freeze(Object.defineProperty({__proto__:null,default:Ni(kEe,[["__scopeId","data-v-03255958"]])},Symbol.toStringTag,{value:"Module"})),XEe=h.defineComponent({componentName:cn.FieldWidget}),YEe=h.defineComponent({...XEe,__name:"tree-select-widget",props:{...$n},setup(n,{expose:e}){var T;const t=n,{objFieldModel:i,fieldEditor:o,fieldKey:a,fieldModel:r,attrs:c,extendAttrs:s,events:l,exposed:g,activeOptionItem:I,optionItems:C,activeOptionItems:u,fieldObj:A,getCheckedOptionItems:p,getCheckedOptionLabels:d,getCheckedOptionValues:f,getCheckedOptionText:w,getWidgetOption:y,filterOptionItems:m}=zn(t),b=h.computed(()=>{var k,D,R,E,X;let V={};return Yl(V,$e.label,(k=s.value)==null?void 0:k.labelProp,!0),Yl(V,$e.children,(D=s.value)==null?void 0:D.childrenProp,!0),Yl(V,$e.disabled,(R=s.value)==null?void 0:R.disabledProp,!0),Yl(V,$e.isLeaf,(E=s.value)==null?void 0:E.isLeafProp,!0),Yl(V,$e.class,(X=s.value)==null?void 0:X.classProp,!0),V}),N=(T=c==null?void 0:c.value)==null?void 0:T.nodeKey,S=h.computed(()=>{var V;return(V=u==null?void 0:u.value)==null?void 0:V.map(k=>String(k==null?void 0:k[N]))}),M=h.computed(()=>{var V;return(V=I==null?void 0:I.value)==null?void 0:V[N]}),x=h.computed(()=>{var V;return(V=m(k=>!!(k!=null&&k.isopen)))==null?void 0:V.map(k=>k==null?void 0:k[N])}),v=h.computed({get:()=>or(r.value,!1),set:V=>{r.value=V}}),Z=h.computed({get:()=>or(i.value,!0),set:V=>{r.value=V}}),G=h.computed(()=>y("optionDefault")),z=h.computed(()=>y("empty")),W=h.computed(()=>y("prefix"));return e({...g,getCheckedItems:p,getCheckedLabels:d,getCheckedValues:f,getCheckedText:w}),(V,k)=>{const D=h.resolveComponent("el-tree-select");return h.openBlock(),h.createBlock(ao,h.mergeProps(V.$props,{"prop-options":{fieldObj:h.unref(A)}}),{default:h.withCtx(({data:R})=>{var E;return[(E=h.unref(c))!=null&&E.multiple?(h.openBlock(),h.createBlock(D,h.mergeProps({ref_key:"fieldEditor",ref:o,modelValue:h.unref(Z),"onUpdate:modelValue":k[1]||(k[1]=X=>h.isRef(Z)?Z.value=X:null),key:h.unref(a)},h.unref(c),h.toHandlers(h.unref(l)),{class:R.injectClass,style:R.injectStyle,data:h.unref(C),props:h.unref(b),size:R.size,defaultCheckedKeys:h.unref(S),defaultExpandedKeys:h.unref(x),currentNodeKey:h.unref(M)}),h.createSlots({default:h.withCtx(({node:X,data:Y})=>[h.unref(G)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(G)),{key:0,item:{node:X,data:Y}},null,8,["item"])):h.createCommentVNode("",!0)]),prefix:h.withCtx(()=>[h.unref(W)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(W)),{key:0})):h.createCommentVNode("",!0)]),_:2},[h.unref(z)?{name:"empty",fn:h.withCtx(()=>[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(z))))]),key:"0"}:void 0]),1040,["modelValue","class","style","data","props","size","defaultCheckedKeys","defaultExpandedKeys","currentNodeKey"])):(h.openBlock(),h.createBlock(D,h.mergeProps({ref_key:"fieldEditor",ref:o,modelValue:h.unref(v),"onUpdate:modelValue":k[0]||(k[0]=X=>h.isRef(v)?v.value=X:null),key:h.unref(a)},h.unref(c),h.toHandlers(h.unref(l)),{class:R.injectClass,style:R.injectStyle,data:h.unref(C),props:h.unref(b),size:R.size,defaultCheckedKeys:h.unref(S),defaultExpandedKeys:h.unref(x),currentNodeKey:h.unref(M)}),h.createSlots({default:h.withCtx(({node:X,data:Y})=>[h.unref(G)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(G)),{key:0,item:{node:X,data:Y}},null,8,["item"])):h.createCommentVNode("",!0)]),prefix:h.withCtx(()=>[h.unref(W)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(W)),{key:0})):h.createCommentVNode("",!0)]),_:2},[h.unref(z)?{name:"empty",fn:h.withCtx(()=>[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(z))))]),key:"0"}:void 0]),1040,["modelValue","class","style","data","props","size","defaultCheckedKeys","defaultExpandedKeys","currentNodeKey"]))]}),_:1},16,["prop-options"])}}}),HEe=Object.freeze(Object.defineProperty({__proto__:null,default:YEe},Symbol.toStringTag,{value:"Module"})),EEe=h.defineComponent({componentName:cn.FieldWidget}),FEe=h.defineComponent({...EEe,__name:"tree-widget",props:{...$n},setup(n,{expose:e}){var S;const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,attrs:r,extendAttrs:c,events:s,activeOptionItem:l,optionItems:g,fieldObj:I,getWidgetOption:C,filterOptionItems:u,exposed:A,activeOptionItems:p}=zn(t),d=h.computed(()=>{var x,v,Z,G,z;let M={};return Yl(M,$e.label,(x=c.value)==null?void 0:x.labelProp,!0),Yl(M,$e.children,(v=c.value)==null?void 0:v.childrenProp,!0),Yl(M,$e.disabled,(Z=c.value)==null?void 0:Z.disabledProp,!0),Yl(M,$e.isLeaf,(G=c.value)==null?void 0:G.isLeafProp,!0),Yl(M,$e.class,(z=c.value)==null?void 0:z.classProp,!0),M}),f=(S=r==null?void 0:r.value)==null?void 0:S.nodeKey,w=h.computed(()=>{var M;return(M=p==null?void 0:p.value)==null?void 0:M.map(x=>String(x==null?void 0:x[f]))}),y=h.computed(()=>{var M;return(M=l==null?void 0:l.value)==null?void 0:M[f]}),m=h.computed(()=>{var M;return(M=u(x=>!!(x!=null&&x.isopen)))==null?void 0:M.map(x=>x==null?void 0:x[f])}),b=h.computed(()=>C("optionDefault")),N=h.computed(()=>C("empty"));return e({...A}),(M,x)=>{const v=h.resolveComponent("el-tree");return h.openBlock(),h.createBlock(Ei,h.mergeProps(M.$props,{"prop-optiions":{fieldObj:h.unref(I)}}),{default:h.withCtx(({data:Z})=>[(h.openBlock(),h.createBlock(v,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(a),"onUpdate:modelValue":x[0]||(x[0]=G=>h.isRef(a)?a.value=G:null),key:h.unref(o)},h.unref(r),h.toHandlers(h.unref(s)),{class:Z.injectClass,style:Z.injectStyle,data:h.unref(g),props:h.unref(d),size:Z.size,defaultCheckedKeys:h.unref(w),defaultExpandedKeys:h.unref(m),currentNodeKey:h.unref(y)}),h.createSlots({_:2},[h.unref(N)?{name:"empty",fn:h.withCtx(()=>[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(N))))]),key:"0"}:void 0,h.unref(b)?{name:"default",fn:h.withCtx(({node:G,data:z})=>[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(b)),{item:{node:G,data:z}},null,8,["item"]))]),key:"1"}:void 0]),1040,["modelValue","class","style","data","props","size","defaultCheckedKeys","defaultExpandedKeys","currentNodeKey"]))]),_:1},16,["prop-optiions"])}}}),JEe=Object.freeze(Object.defineProperty({__proto__:null,default:FEe},Symbol.toStringTag,{value:"Module"})),LEe={class:"s-canvas"},KEe=["width","height"],jEe=h.defineComponent({__name:"_index",props:{identifyCode:{type:String,default:"1234"},fontSizeMin:{type:Number,default:25},fontSizeMax:{type:Number,default:35},backgroundColorMin:{type:Number,default:255},backgroundColorMax:{type:Number,default:255},colorMin:{type:Number,default:0},colorMax:{type:Number,default:160},lineColorMin:{type:Number,default:40},lineColorMax:{type:Number,default:180},dotColorMin:{type:Number,default:0},dotColorMax:{type:Number,default:255},contentWidth:{type:Number,default:112},contentHeight:{type:Number,default:40}},setup(n){const e=n,t=(s,l)=>Math.floor(Math.random()*(l-s)+s),i=(s,l)=>{let g=t(s,l),I=t(s,l),C=t(s,l);return"rgb("+g+","+I+","+C+")"},o=s=>{for(let l=0;l<5;l++)s.strokeStyle=i(e.lineColorMin,e.lineColorMax),s.beginPath(),s.moveTo(t(0,e.contentWidth),t(0,e.contentHeight)),s.lineTo(t(0,e.contentWidth),t(0,e.contentHeight)),s.stroke()},a=(s,l,g)=>{s.fillStyle=i(e.colorMin,e.colorMax),s.font=t(e.fontSizeMin,e.fontSizeMax)+"px SimHei";let I=(g+1)*(e.contentWidth/(e.identifyCode.length+1)),C=t(e.fontSizeMax,e.contentHeight-5);var u=t(-45,45);s.translate(I,C),s.rotate(u*Math.PI/180),s.fillText(l,0,0),s.rotate(-u*Math.PI/180),s.translate(-I,-C)},r=s=>{for(let l=0;l<80;l++)s.fillStyle=i(0,255),s.beginPath(),s.arc(t(0,e.contentWidth),t(0,e.contentHeight),1,0,2*Math.PI),s.fill()},c=()=>{let s=document.getElementById("s-canvas"),l=s==null?void 0:s.getContext("2d");l.textBaseline="bottom",l.fillStyle=i(e.backgroundColorMin,e.backgroundColorMax),l.fillRect(0,0,e.contentWidth,e.contentHeight);for(let g=0;g<e.identifyCode.length;g++)a(l,e.identifyCode[g],g);o(l),r(l)};return h.onMounted(()=>{c()}),h.watch(()=>e.identifyCode,()=>{c()}),(s,l)=>(h.openBlock(),h.createElementBlock("div",LEe,[h.createElementVNode("canvas",{id:"s-canvas",width:e.contentWidth,height:e.contentHeight},null,8,KEe)]))}}),Nzt="",_Ee=Ni(jEe,[["__scopeId","data-v-176289d1"]]),UEe=(n,e)=>(e=e+1,Math.floor(Math.random()*(e-n)+n)),QEe=h.defineComponent({componentName:cn.FieldWidget}),PEe=h.defineComponent({...QEe,__name:"verifycode-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,exposed:o,extendAttrs:a,attrs:r,fieldObj:c}=zn(t);let s=h.ref(""),l=h.computed(()=>{var p;return(p=a.value)==null?void 0:p.content}),g=h.computed(()=>{var p;return(p=a.value)==null?void 0:p.identifyCodeLen});const I=(p,d)=>{for(let f=0;f<d;f++)s.value+=p[UEe(0,p.length)]},C=()=>{s.value="",I(l.value,g.value)},u=()=>s.value,A=p=>{s.value=p};return h.watch(()=>r.value,p=>{h.nextTick(()=>{C()})},{immediate:!0}),e({...o,refresh:C,getValue:u,setValue:A}),(p,d)=>(h.openBlock(),h.createBlock(Ei,h.mergeProps(p.$props,{"prop-options":{fieldObj:h.unref(c)}}),{default:h.withCtx(()=>{var f;return[h.createVNode(_Ee,h.mergeProps({ref_key:"fieldEditor",ref:i},h.unref(r),{"identify-code":h.unref(s),class:h.unref(mC)((f=h.unref(a))==null?void 0:f.customClass)}),null,16,["identify-code","class"])]}),_:1},16,["prop-options"]))}}),qEe=Object.freeze(Object.defineProperty({__proto__:null,default:PEe},Symbol.toStringTag,{value:"Module"})),$Ee=n=>n?n.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}):"";var Lw={},eFe={get exports(){return Lw},set exports(n){Lw=n}},Kw={},jw={},tFe={get exports(){return jw},set exports(n){jw=n}},zz={},Wz={},hj;function Tz(){if(hj)return Wz;hj=1;function n(i){this.__parent=i,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}n.prototype.clone_empty=function(){var i=new n(this.__parent);return i.set_indent(this.__indent_count,this.__alignment_count),i},n.prototype.item=function(i){return i<0?this.__items[this.__items.length+i]:this.__items[i]},n.prototype.has_match=function(i){for(var o=this.__items.length-1;o>=0;o--)if(this.__items[o].match(i))return!0;return!1},n.prototype.set_indent=function(i,o){this.is_empty()&&(this.__indent_count=i||0,this.__alignment_count=o||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},n.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},n.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},n.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var i=this.__parent.current_line;return i.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),i.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),i.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,i.__items[0]===" "&&(i.__items.splice(0,1),i.__character_count-=1),!0}return!1},n.prototype.is_empty=function(){return this.__items.length===0},n.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},n.prototype.push=function(i){this.__items.push(i);var o=i.lastIndexOf(`
|
|
2590
|
+
`;return typeof i=="function"&&i(null,C),C};const fHe=TYe,Zz=PK,dj=Ij,wHe=Cj;function Gz(n,e,t,i,o){const a=[].slice.call(arguments,1),r=a.length,c=typeof a[r-1]=="function";if(!c&&!fHe())throw new Error("Callback required as last argument");if(c){if(r<2)throw new Error("Too few arguments provided");r===2?(o=t,t=e,e=i=void 0):r===3&&(e.getContext&&typeof o>"u"?(o=i,i=void 0):(o=i,i=t,t=e,e=void 0))}else{if(r<1)throw new Error("Too few arguments provided");return r===1?(t=e,e=i=void 0):r===2&&!e.getContext&&(i=t,t=e,e=void 0),new Promise(function(s,l){try{const g=Zz.create(t,i);s(n(g,e,i))}catch(g){l(g)}})}try{const s=Zz.create(t,i);o(null,n(s,e,i))}catch(s){o(s)}}Zz.create,Gz.bind(null,dj.render);var mHe=Gz.bind(null,dj.renderToDataURL);Gz.bind(null,function(n,e,t){return wHe.render(n,t)});const yHe=n=>mHe(n),bHe=["src"],NHe=h.defineComponent({componentName:cn.FieldWidget}),vHe=h.defineComponent({...NHe,__name:"qrcode-widget",props:{...$n},setup(n,{expose:e}){const t=n,{exposed:i,extendAttrs:o,fieldObj:a}=zn(t),r=h.ref(""),c=()=>{var s;yHe((s=o.value)==null?void 0:s.content).then(l=>{r.value=l}).catch(l=>{Promise.resolve().then(()=>t6).then(g=>{r.value=g.default})})};return h.watch(()=>o.value,s=>{c()},{immediate:!0}),e({...i}),(s,l)=>(h.openBlock(),h.createBlock(Ei,h.mergeProps(s.$props,{"prop-options":{fieldObj:h.unref(a)}}),{default:h.withCtx(()=>{var g,I,C;return[h.createElementVNode("img",{ref:"fieldEditor",class:h.normalizeClass(h.unref(mC)((g=h.unref(o))==null?void 0:g.customClass)),src:r.value,style:h.normalizeStyle({width:(I=h.unref(o))==null?void 0:I.ctrlWidth,height:(C=h.unref(o))==null?void 0:C.ctrlHeight})},null,14,bHe)]}),_:1},16,["prop-options"]))}}),MHe=Object.freeze(Object.defineProperty({__proto__:null,default:vHe},Symbol.toStringTag,{value:"Module"})),SHe=h.defineComponent({componentName:cn.FieldWidget}),xHe=h.defineComponent({...SHe,__name:"radio-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,rules:r,attrs:c,extendAttrs:s,events:l,optionItems:g,exposed:I,getCheckedOptionItems:C,getCheckedOptionLabels:u,getCheckedOptionValues:A,getCheckedOptionText:p,fieldObj:d}=zn(t),f=h.computed(()=>c.value.border),w=h.computed(()=>c.value.disabled),y=h.computed(()=>c.value.buttonStyle),m=h.computed(()=>s.value.displayStyle);return e({...I,getCheckedItems:C,getCheckedLabels:u,getCheckedValues:A,getCheckedText:p}),(b,N)=>{const S=h.resolveComponent("el-radio-group");return h.openBlock(),h.createBlock(ao,h.mergeProps(b.$props,{propOptions:{fieldObj:h.unref(d),rules:h.unref(r)}}),{default:h.withCtx(({data:M})=>[(h.openBlock(),h.createBlock(S,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(a),"onUpdate:modelValue":N[0]||(N[0]=x=>h.isRef(a)?a.value=x:null),key:h.unref(o),class:M.injectClass,style:{...M.injectStyle,display:h.unref(m)}},h.unref(c),h.toHandlers(h.unref(l)),{size:M.size}),{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(h.unref(g),(x,v)=>{var Z,G,z;return h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(y)?"el-radio-button":"el-radio"),{key:v,value:x==null?void 0:x[(Z=h.unref(s))==null?void 0:Z.valueKey],disabled:h.unref(w)||((G=h.unref(xt)(x))==null?void 0:G.disabled),size:M.size,border:h.unref(f)||((z=h.unref(xt)(x))==null?void 0:z.border),style:h.normalizeStyle({display:h.unref(m)===h.unref(Eg).inline?"":h.unref(m)})},{default:h.withCtx(()=>{var W;return[h.createTextVNode(h.toDisplayString(x==null?void 0:x[(W=h.unref(s))==null?void 0:W.labelKey]),1)]}),_:2},1032,["value","disabled","size","border","style"])}),128))]),_:2},1040,["modelValue","class","style","size"]))]),_:1},16,["propOptions"])}}}),ZHe=Object.freeze(Object.defineProperty({__proto__:null,default:xHe},Symbol.toStringTag,{value:"Module"})),GHe={class:"inputer"},OHe={key:0,class:"split"},zHe={class:"inputer"},WHe={key:1,class:"unit"},THe=h.defineComponent({componentName:cn.FieldWidget}),VHe=h.defineComponent({...THe,__name:"range-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,slots:a,attrs:r,exposed:c,fieldObj:s}=zn(t);return e({...c}),(l,g)=>(h.openBlock(),h.createBlock(ao,h.mergeProps(l.$props,{"prop-options":{fieldObj:h.unref(s)}}),{default:h.withCtx(({data:I})=>{var C,u,A,p;return[(h.openBlock(),h.createElementBlock("div",{class:"input-with-unit",ref_key:"fieldEditor",ref:i,key:h.unref(o)},[h.createElementVNode("div",GHe,[h.createVNode($i,h.mergeProps(l.$props,{widget:h.unref(xa)(h.unref(a),"left"),"drag-class":"dragSize3"}),null,16,["widget"])]),(C=h.unref(r))!=null&&C.splitText?(h.openBlock(),h.createElementBlock("span",OHe,h.toDisplayString((u=h.unref(r))==null?void 0:u.splitText),1)):h.createCommentVNode("",!0),h.createElementVNode("div",zHe,[h.createVNode($i,h.mergeProps(l.$props,{widget:h.unref(xa)(h.unref(a),"right"),"drag-class":"dragSize3"}),null,16,["widget"])]),(A=h.unref(r))!=null&&A.unitText?(h.openBlock(),h.createElementBlock("span",WHe,h.toDisplayString((p=h.unref(r))==null?void 0:p.unitText),1)):h.createCommentVNode("",!0)]))]}),_:1},16,["prop-options"]))}}),pzt="",fzt="",BHe=Object.freeze(Object.defineProperty({__proto__:null,default:Ni(VHe,[["__scopeId","data-v-7725dda9"]])},Symbol.toStringTag,{value:"Module"})),DHe=h.defineComponent({componentName:cn.FieldWidget}),kHe=h.defineComponent({...DHe,__name:"rate-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldModel:o,rules:a,fieldKey:r,attrs:c,events:s,exposed:l,fieldObj:g}=zn(t);return e({...l}),(I,C)=>{const u=h.resolveComponent("el-rate");return h.openBlock(),h.createBlock(ao,h.mergeProps(I.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(a)}}),{default:h.withCtx(({data:A})=>[(h.openBlock(),h.createBlock(u,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(o),"onUpdate:modelValue":C[0]||(C[0]=p=>h.isRef(o)?o.value=p:null),key:h.unref(r)},h.unref(c),h.toHandlers(h.unref(s)),{size:A.size,class:A.injectClass,style:A.injectStyle}),null,16,["modelValue","size","class","style"]))]),_:1},16,["propOptions"])}}}),RHe=Object.freeze(Object.defineProperty({__proto__:null,default:kHe},Symbol.toStringTag,{value:"Module"})),XHe=h.defineComponent({componentName:cn.FieldWidget}),YHe=h.defineComponent({...XHe,__name:"result-widget",props:{...$n},setup(n,{expose:e}){const t=n,{exposed:i,fieldEditor:o,fieldKey:a,slots:r,attrs:c,events:s,fieldObj:l}=zn(t),g=h.computed(()=>{const I=Ca(r.value,t.designState);return I.map(C=>(C.slotName==="subTitle"&&(C.slotName="sub-title"),C)),I});return e({...i}),(I,C)=>{const u=h.resolveComponent("el-result");return h.openBlock(),h.createBlock(Ei,h.mergeProps(I.$props,{"prop-options":{fieldObj:h.unref(l)}}),{default:h.withCtx(({data:A})=>[(h.openBlock(),h.createBlock(u,h.mergeProps({ref_key:"fieldEditor",ref:o,key:h.unref(a)},h.unref(c),h.toHandlers(h.unref(s)),{class:A.injectClass,style:A.injectStyle}),h.createSlots({_:2},[h.renderList(h.unref(g),p=>({name:p.slotName,fn:h.withCtx(()=>[p!=null&&p.default?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(p==null?void 0:p.default),{key:0})):h.createCommentVNode("",!0),h.createVNode($i,h.mergeProps(I.$props,{widget:p,"drag-class":"dragSize1","drag-tip":h.unref(U).i18nt("designer.hint.draggableArea1")}),null,16,["widget","drag-tip"])])}))]),1040,["class","style"]))]),_:1},16,["prop-options"])}}}),HHe=Object.freeze(Object.defineProperty({__proto__:null,default:YHe},Symbol.toStringTag,{value:"Module"})),EHe=h.defineComponent({componentName:cn.FieldWidget}),FHe=h.defineComponent({...EHe,__name:"rich-editor-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,rules:r,events:c,getFieldOptions:s,exposed:l,fieldObj:g}=zn(t),I=h.computed(()=>s("contentHeight")),C=h.shallowRef(),u=()=>{Promise.resolve().then(()=>Rdt).then(d=>{const{quillEditor:f}=d.default;C.value=f})},A=yn(sn(c.value),{change:d=>{var w,y;const f=d==null?void 0:d.html;(y=(w=c==null?void 0:c.value)==null?void 0:w.change)==null||y.call(w,f)}}),p=h.computed(()=>({disabled:s("disabled"),placeholder:s("placeholder")}));return h.onMounted(()=>{u()}),e({...l}),(d,f)=>(h.openBlock(),h.createBlock(ao,h.mergeProps(d.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(r)}}),{default:h.withCtx(({data:w})=>[h.createElementVNode("div",{class:h.normalizeClass(["full-height",w.injectClass]),style:h.normalizeStyle(w.injectStyle)},[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(C)),h.mergeProps({ref_key:"fieldEditor",ref:i,value:h.unref(a),"onUpdate:value":f[0]||(f[0]=y=>h.isRef(a)?a.value=y:null)},h.toHandlers(h.unref(A)),{key:h.unref(o),options:h.unref(p),style:h.unref(I)?`height: ${h.unref(I)}`:""}),null,16,["value","options","style"]))],6)]),_:1},16,["propOptions"]))}}),mzt="",JHe=Object.freeze(Object.defineProperty({__proto__:null,default:FHe},Symbol.toStringTag,{value:"Module"})),LHe={key:0},KHe=h.defineComponent({componentName:cn.FieldWidget}),jHe=h.defineComponent({...KHe,__name:"router-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,exposed:a,getFieldOptions:r,fieldObj:c}=zn(t);return e({...a}),(s,l)=>{const g=h.resolveComponent("router-view");return h.openBlock(),h.createBlock(Ei,h.mergeProps(s.$props,{"prop-options":{fieldObj:h.unref(c)}}),{default:h.withCtx(()=>[(h.openBlock(),h.createBlock(g,{ref_key:"fieldEditor",ref:i,key:h.unref(o),name:h.unref(r)("label")},{default:h.withCtx(()=>[s.designState?(h.openBlock(),h.createElementBlock("div",LHe,h.toDisplayString(h.unref(r)("label")),1)):h.createCommentVNode("",!0)]),_:1},8,["name"]))]),_:1},16,["prop-options"])}}}),_He=Object.freeze(Object.defineProperty({__proto__:null,default:jHe},Symbol.toStringTag,{value:"Module"})),UHe={key:0,class:"el-select-dropdown__item"},QHe=h.defineComponent({componentName:cn.FieldWidget}),PHe=h.defineComponent({...QHe,__name:"select-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,objFieldModel:r,rules:c,attrs:s,extendAttrs:l,events:g,slots:I,exposed:C,fieldObj:u,getFieldOptions:A,getWidgetOption:p,getCheckedOptionItems:d,setOptionItems:f,watchOption:w}=zn(t),y=h.ref(),m=h.ref(),b=h.ref(!1),N=re=>{var ue,Q;return(ue=l.value)!=null&&ue.allItemAsValue?re:re==null?void 0:re[(Q=l.value)==null?void 0:Q.valueKey]},S=h.computed({get:()=>or(a.value,!1),set:re=>{a.value=re}}),M=h.computed({get:()=>r.value==null?[]:or(H(r.value),!0),set:re=>{a.value=H(re)}}),x=h.ref(!1);let v=h.shallowRef(),Z=h.shallowRef();h.watch(I,re=>{var ue,Q;v.value=(ue=xa(re,"optionDefault"))==null?void 0:ue.default,Z.value=(Q=xa(re,"prefix"))==null?void 0:Q.default},{immediate:!0});var G=p("filterMethod");const z=(re,ue)=>{var ee;if(G){var Q=(ee=m.value)==null?void 0:ee.filter(ie=>{var pe,Ne;var Ie=zA(G,{keyword:re,option:{...ie,label:ie==null?void 0:ie[(pe=l.value)==null?void 0:pe.labelKey],value:ie==null?void 0:ie[(Ne=l.value)==null?void 0:Ne.valueKey]}});return Ie});ue&&ue(Q)}};G&&Object.assign(s.value,{filterMethod:re=>{T(re,z)}});var W=p("remoteMethod");const T=(re,ue)=>{ue&&(b.value=!0,re?(x.value=!0,ue(re,Q=>{y.value=Q,x.value=!1})):y.value=m.value)};W&&Object.assign(s.value,{remoteMethod:re=>{T(re,W)}});const V=()=>{var ue;var re=A("valueKey");return re?(ue=m==null?void 0:m.value)==null?void 0:ue.map(Q=>Q==null?void 0:Q[re]):[]};var k=()=>{if(!a.value)return!1;if(!Array.isArray(a.value))return!0;var re=V();return!(re!=null&&re.some(ue=>{var Q;return((Q=a.value)==null?void 0:Q.indexOf(ue))===-1}))};const D=h.ref(k()),R=re=>{re?a.value=V():a.value=[]},E=h.ref(),X=()=>{var ue;((ue=s==null?void 0:s.value)==null?void 0:ue.multiple)?M.value!=null&&(E.value=M.value):S.value!=null&&(E.value=[S.value])},Y=()=>{var re;(re=l.value)!=null&&re.allItemAsValue&&le(E.value)},H=re=>{var me,Se;const ue=or(re,!0),Q=(me=s==null?void 0:s.value)==null?void 0:me.multiple;if(!Q||!((Se=l==null?void 0:l.value)!=null&&Se.selectOnlyOneGroup)||(ue==null?void 0:ue.length)<=0)return E.value=ue,or(ue,Q);for(var ee="",ie=[],Ie=xt(or(y.value,!0)),pe=ue.length-1;pe>=0;pe--){const fe=ue[pe];var Ne=Ie==null?void 0:Ie.some(ve=>fe===(ve==null?void 0:ve.value));Ne&&ie.push(fe);var de=Ie==null?void 0:Ie.find(ve=>{var $;return($=xt(or(ve==null?void 0:ve.children,!0)))==null?void 0:$.some(P=>fe===(P==null?void 0:P.value))});(de&&(de==null?void 0:de.value)===ee||!ee)&&(ie.push(fe),ee||(ee=de==null?void 0:de.value))}return E.value=ie,ie},J=re=>H(re),K=re=>{var ue;if(a.value!==void 0)return(ue=s.value)!=null&&ue.remote?E.value:d(re,m.value)},_=re=>{var Q,ee;var ue=(Q=K(re))==null?void 0:Q.map(ie=>{var Ie;return ie==null?void 0:ie[(Ie=l.value)==null?void 0:Ie.labelKey]});return or(ue,(ee=s.value)==null?void 0:ee.multiple)},se=re=>{var Q,ee;var ue=(Q=K(re))==null?void 0:Q.map(ie=>{var Ie;return ie==null?void 0:ie[(Ie=l.value)==null?void 0:Ie.valueKey]});return or(ue,(ee=s.value)==null?void 0:ee.multiple)},oe=re=>{var Q;var ue=_(re);return(Q=or(ue,!0))==null?void 0:Q.join(",")},le=re=>{m.value=re,y.value=re,f(re)};return h.onMounted(()=>{X(),Y(),w(!0,$e.optionItems,void 0,re=>{le(re)})}),e({...C,handleBeforeChange:J,loadOptionItems:le,getCheckedItems:K,getCheckedLabels:_,getCheckedValues:se,getCheckedText:oe}),(re,ue)=>{const Q=h.resolveComponent("el-checkbox"),ee=h.resolveComponent("el-option"),ie=h.resolveComponent("el-option-group"),Ie=h.resolveComponent("el-select");return h.openBlock(),h.createBlock(ao,h.mergeProps(re.$props,{propOptions:{fieldObj:h.unref(u),rules:h.unref(c)}}),{default:h.withCtx(({data:pe})=>{var Ne;return[(Ne=h.unref(s))!=null&&Ne.multiple?(h.openBlock(),h.createBlock(Ie,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(M),"onUpdate:modelValue":ue[1]||(ue[1]=de=>h.isRef(M)?M.value=de:null),key:`${h.unref(o)}_multiple`},h.unref(s),h.toHandlers(h.unref(g)),{"value-key":h.unref(l).valueKey,loading:x.value,size:pe.size,class:pe.injectClass,style:pe.injectStyle,placeholder:h.unref(s).placeholder||h.unref(U).i18nt("render.hint.selectPlaceholder")}),{default:h.withCtx(()=>{var de,me,Se;return[h.unref(s).multiple&&!h.unref(l).selectOnlyOneGroup?(h.openBlock(),h.createElementBlock("li",UHe,[h.createVNode(Q,{modelValue:D.value,"onUpdate:modelValue":ue[0]||(ue[0]=fe=>D.value=fe),indeterminate:((de=h.unref(a))==null?void 0:de.length)<(((me=y.value)==null?void 0:me.length)||0)&&((Se=h.unref(a))==null?void 0:Se.length)!==0,onChange:R},{default:h.withCtx(()=>[h.createTextVNode(h.toDisplayString(h.unref(U).i18nt("designer.hint.checkAll")),1)]),_:1},8,["modelValue","indeterminate"])])):h.createCommentVNode("",!0),(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(y.value,(fe,ve)=>{var $,P;return h.openBlock(),h.createElementBlock(h.Fragment,{key:fe.value},[(($=fe==null?void 0:fe.children)==null?void 0:$.length)>0?(h.openBlock(),h.createElementBlock(h.Fragment,{key:0},[(P=h.unref(l))!=null&&P.showGroup?(h.openBlock(),h.createBlock(ie,{label:fe[h.unref(l).labelKey],key:ve},{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(fe.children,(te,Ce)=>(h.openBlock(),h.createBlock(ee,{value:N(te),label:te[h.unref(l).labelKey],key:Ce},{default:h.withCtx(()=>[h.unref(v)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(v)),h.mergeProps({key:0},{item:te},{key:te[h.unref(l).valueKey]}),null,16)):h.createCommentVNode("",!0)]),_:2},1032,["value","label"]))),128))]),_:2},1032,["label"])):(h.openBlock(!0),h.createElementBlock(h.Fragment,{key:1},h.renderList(fe.children,(te,Ce)=>(h.openBlock(),h.createBlock(ee,{value:N(te),label:te[h.unref(l).labelKey],key:Ce},{default:h.withCtx(()=>[h.unref(v)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(v)),h.mergeProps({key:0},{item:te},{key:te[h.unref(l).valueKey]}),null,16)):h.createCommentVNode("",!0)]),_:2},1032,["value","label"]))),128))],64)):(h.openBlock(),h.createBlock(ee,{value:N(fe),label:fe[h.unref(l).labelKey],key:ve},{default:h.withCtx(()=>[h.unref(v)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(v)),h.mergeProps({key:0},{item:fe},{key:fe[h.unref(l).valueKey]}),null,16)):h.createCommentVNode("",!0)]),_:2},1032,["value","label"]))],64)}),128))]}),prefix:h.withCtx(()=>[h.unref(Z)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(Z)),{key:0})):h.createCommentVNode("",!0)]),_:2},1040,["modelValue","value-key","loading","size","class","style","placeholder"])):(h.openBlock(),h.createBlock(Ie,h.mergeProps({modelValue:h.unref(S),"onUpdate:modelValue":ue[2]||(ue[2]=de=>h.isRef(S)?S.value=de:null),ref_key:"fieldEditor",ref:i,key:`${h.unref(o)}_single`},h.toHandlers(h.unref(g)),h.unref(s),{"value-key":h.unref(l).valueKey,loading:x.value,size:pe.size,class:pe.injectClass,style:pe.injectStyle,placeholder:h.unref(s).placeholder||h.unref(U).i18nt("render.hint.selectPlaceholder")}),{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(y.value,(de,me)=>{var Se,fe;return h.openBlock(),h.createElementBlock(h.Fragment,{key:de.value},[((Se=de==null?void 0:de.children)==null?void 0:Se.length)>0?(h.openBlock(),h.createElementBlock(h.Fragment,{key:0},[(fe=h.unref(l))!=null&&fe.showGroup?(h.openBlock(),h.createBlock(ie,{label:de[h.unref(l).labelKey],key:me},{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(de.children,(ve,$)=>(h.openBlock(),h.createBlock(ee,{value:N(ve),label:ve[h.unref(l).labelKey],key:$},{default:h.withCtx(()=>[h.unref(v)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(v)),h.mergeProps({key:0},{item:ve},{key:ve[h.unref(l).valueKey]}),null,16)):h.createCommentVNode("",!0)]),_:2},1032,["value","label"]))),128))]),_:2},1032,["label"])):(h.openBlock(!0),h.createElementBlock(h.Fragment,{key:1},h.renderList(de.children,(ve,$)=>(h.openBlock(),h.createBlock(ee,{value:N(ve),label:ve[h.unref(l).labelKey],key:$},{default:h.withCtx(()=>[h.unref(v)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(v)),h.mergeProps({key:0},{item:ve},{key:ve[h.unref(l).valueKey]}),null,16)):h.createCommentVNode("",!0)]),_:2},1032,["value","label"]))),128))],64)):(h.openBlock(),h.createBlock(ee,{value:N(de),label:de[h.unref(l).labelKey],key:me},{default:h.withCtx(()=>[h.unref(v)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(v)),h.mergeProps({key:0},{item:de},{key:de[h.unref(l).valueKey]}),null,16)):h.createCommentVNode("",!0)]),_:2},1032,["value","label"]))],64)}),128))]),prefix:h.withCtx(()=>[h.unref(Z)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(Z)),{key:0})):h.createCommentVNode("",!0)]),_:2},1040,["modelValue","value-key","loading","size","class","style","placeholder"]))]}),_:1},16,["propOptions"])}}}),qHe=Object.freeze(Object.defineProperty({__proto__:null,default:PHe},Symbol.toStringTag,{value:"Module"})),$He=h.defineComponent({componentName:cn.FieldWidget}),eEe=h.defineComponent({...$He,__name:"slider-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldModel:o,fieldKey:a,rules:r,attrs:c,events:s,exposed:l,fieldObj:g}=zn(t),I=h.computed({get:()=>or(o.value,c.value.range),set:C=>{o.value=or(C,c.value.range)}});return e({...l}),(C,u)=>{const A=h.resolveComponent("el-slider");return h.openBlock(),h.createBlock(ao,h.mergeProps(C.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(r)}}),{default:h.withCtx(({data:p})=>[(h.openBlock(),h.createBlock(A,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(I),"onUpdate:modelValue":u[0]||(u[0]=d=>h.isRef(I)?I.value=d:null),key:h.unref(a)},h.unref(c),h.toHandlers(h.unref(s)),{size:p.size,class:p.injectClass,style:p.injectStyle}),null,16,["modelValue","size","class","style"])),h.createTextVNode(" "+h.toDisplayString(h.unref(o)),1)]),_:1},16,["propOptions"])}}}),tEe=Object.freeze(Object.defineProperty({__proto__:null,default:eEe},Symbol.toStringTag,{value:"Module"})),nEe=h.defineComponent({componentName:cn.FieldWidget}),iEe=h.defineComponent({...nEe,__name:"static-text-widget",props:{...$n},setup(n,{expose:e}){const t=n,{exposed:i,fieldEditor:o,attrs:a,extendAttrs:r,fieldObj:c}=zn(t);return e({...i}),(s,l)=>(h.openBlock(),h.createBlock(Ei,h.mergeProps(s.$props,{"prop-options":{fieldObj:h.unref(c)}}),{default:h.withCtx(()=>{var g;return[h.createVNode(sp,{ref_key:"fieldEditor",ref:o,"component-name":"div",allProps:{customClass:h.unref(mC)((g=h.unref(r))==null?void 0:g.customClass),content:h.unref(a).content||h.unref(r).content},tohtml:!1},null,8,["allProps"])]}),_:1},16,["prop-options"]))}}),rEe=Object.freeze(Object.defineProperty({__proto__:null,default:iEe},Symbol.toStringTag,{value:"Module"})),oEe=["innerHTML"],aEe=["innerHTML"],sEe=h.defineComponent({componentName:cn.FieldWidget}),lEe=h.defineComponent({...sEe,__name:"steps-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,events:a,attrs:r,optionItems:c,activeOptionItemIndex:s,exposed:l,fieldObj:g}=zn(t),I=h.computed(()=>C.value||s.value),C=h.ref();return e({...l,setValue:p=>{C.value=p},getValue:()=>I.value}),(p,d)=>{const f=h.resolveComponent("el-step"),w=h.resolveComponent("el-steps");return h.openBlock(),h.createBlock(Ei,h.mergeProps(p.$props,{"prop-options":{fieldObj:h.unref(g)}}),{default:h.withCtx(({data:y})=>[(h.openBlock(),h.createBlock(w,h.mergeProps({ref_key:"fieldEditor",ref:i,key:h.unref(o)},h.unref(r),h.toHandlers(h.unref(a)),{active:h.unref(I),class:y.injectClass,style:y.injectStyle}),{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(h.unref(c),(m,b)=>{var N;return h.openBlock(),h.createBlock(f,h.mergeProps(m,{key:b}),h.createSlots({title:h.withCtx(()=>[h.createElementVNode("span",{innerHTML:m==null?void 0:m.label},null,8,oEe)]),description:h.withCtx(()=>{var S;return[h.createElementVNode("span",{innerHTML:(S=h.unref(xt)(m))==null?void 0:S.description},null,8,aEe)]}),_:2},[(N=h.unref(xt)(m))!=null&&N.icon?{name:"icon",fn:h.withCtx(()=>[h.createVNode(bn,{name:h.unref(xt)(m).icon},null,8,["name"])]),key:"0"}:void 0]),1040)}),128))]),_:2},1040,["active","class","style"]))]),_:1},16,["prop-options"])}}}),gEe=Object.freeze(Object.defineProperty({__proto__:null,default:lEe},Symbol.toStringTag,{value:"Module"})),cEe=h.defineComponent({componentName:cn.FieldWidget}),IEe=h.defineComponent({...cEe,__name:"switch-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,rules:r,attrs:c,events:s,exposed:l,fieldObj:g}=zn(t);return e({...l}),(I,C)=>{const u=h.resolveComponent("el-switch");return h.openBlock(),h.createBlock(ao,h.mergeProps(I.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(r)}}),{default:h.withCtx(({data:A})=>[(h.openBlock(),h.createBlock(u,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(a),"onUpdate:modelValue":C[0]||(C[0]=p=>h.isRef(a)?a.value=p:null),key:h.unref(o)},h.unref(c),h.toHandlers(h.unref(s)),{size:A.size,class:A.injectClass,style:A.injectStyle}),null,16,["modelValue","size","class","style"]))]),_:1},16,["propOptions"])}}}),CEe=Object.freeze(Object.defineProperty({__proto__:null,default:IEe},Symbol.toStringTag,{value:"Module"})),Oz=h.defineComponent({__name:"table-col-widget",props:{options:null,designState:{type:Boolean},designer:null,propResultOpt:null},setup(n){var c;const e=n,{attrs:t,extendAttrs:i,slots:o}=Js({options:e.options},e.propResultOpt,{s_slots:!0,s_extendAttr:!0,s_attr:!0,fn_attr:s=>!["children"].includes(s)}),{newSlot:a}=pv(),r=Md({instance:(c=e.propResultOpt)==null?void 0:c.instance});return(s,l)=>{const g=h.resolveComponent("el-table-column");return h.openBlock(),h.createBlock(g,h.normalizeProps(h.guardReactiveProps(h.unref(t))),{header:h.withCtx(I=>{var C,u;return[(C=h.unref(xa)(h.unref(o),"header"))!=null&&C.default?(h.openBlock(),h.createBlock(h.resolveDynamicComponent((u=h.unref(xa)(h.unref(o),"header"))==null?void 0:u.default),{key:0,scope:I,ctx:h.unref(r)},null,8,["scope","ctx"])):h.createCommentVNode("",!0)]}),default:h.withCtx(I=>{var C,u,A,p,d,f,w,y,m,b,N,S,M,x;return[(((u=(C=n.options)==null?void 0:C.children)==null?void 0:u.length)||0)>0?(h.openBlock(!0),h.createElementBlock(h.Fragment,{key:0},h.renderList((A=n.options)==null?void 0:A.children,(v,Z)=>(h.openBlock(),h.createBlock(Oz,{designState:n.designState,designer:n.designer,key:v.uuid,options:v},null,8,["designState","designer","options"]))),128)):h.createCommentVNode("",!0),(p=h.unref(i))!=null&&p.slotable&&(n.designState&&((f=(d=e.options)==null?void 0:d.default)!=null&&f.widgetList)||!n.designState||((m=(y=(w=e.options)==null?void 0:w.default)==null?void 0:y.widgetList)==null?void 0:m.length)>0)?(h.openBlock(),h.createElementBlock(h.Fragment,{key:1},[n.designState?(h.openBlock(),h.createBlock($i,{key:0,designState:n.designState,designer:n.designer,widget:h.unref(xt)((b=e.options)==null?void 0:b.default),dragTip:h.unref(U).i18nt("designer.hint.draggableArea1"),"row-scope":I},null,8,["designState","designer","widget","dragTip","row-scope"])):(h.openBlock(),h.createBlock($i,{designState:n.designState,designer:n.designer,key:h.unref(Xr)()+(I==null?void 0:I.$index),widget:h.unref(xt)((S=h.unref(a)([(N=e.options)==null?void 0:N.default],I,(I==null?void 0:I.$index)<0?"header":I==null?void 0:I.$index))==null?void 0:S.widget[0]),"row-scope":I},null,8,["designState","designer","widget","row-scope"]))],64)):h.createCommentVNode("",!0),(M=h.unref(xa)(h.unref(o),"default"))!=null&&M.default?(h.openBlock(),h.createBlock(h.resolveDynamicComponent((x=h.unref(xa)(h.unref(o),"default"))==null?void 0:x.default),{key:2,scope:I,ctx:h.unref(r)},null,8,["scope","ctx"])):h.createCommentVNode("",!0)]}),_:1},16)}}}),uEe=Object.freeze(Object.defineProperty({__proto__:null,default:Oz},Symbol.toStringTag,{value:"Module"})),dEe={key:1},hEe=h.defineComponent({componentName:cn.FieldWidget}),AEe=h.defineComponent({...hEe,__name:"table-widget",props:{...$n},setup(n,{expose:e}){var k;const t=n,{fieldName:i,exposed:o,fieldEditor:a,fieldKey:r,attrs:c,extendAttrs:s,events:l,optionItems:g,watchOption:I,fieldObj:C,propResultOpt:u,getFieldOptions:A}=zn({...t,exposedWholeInstance:!0}),{toModel:p}=jO({...t,fieldName:i.value}),d=h.ref(1),f=h.ref((k=s.value)==null?void 0:k.pageSize),w=h.ref(10),y=D=>{f.value=D},m=D=>{d.value=D},b=h.ref(!1),N=h.ref(),S=h.computed(()=>{var R;if(t.designState)return[{}];if((R=s.value)!=null&&R.allowPage){var D=iY(N.value,d.value,f.value);return w.value=D==null?void 0:D.totalItems,D==null?void 0:D.data}else return N.value}),M=()=>{d.value=1,w.value=0,N.value=[]},x=(D=!1)=>new Promise((R,E)=>{const X=Y=>{N.value=Y,b.value=!1,R(Y)};I(D,$e.data,()=>{M(),b.value=!0},Y=>{var H,J;(H=s.value)!=null&&H.beforeTableRender?(J=s.value)==null||J.beforeTableRender(Y,K=>{X(K)}):X(Y)})}),v=D=>{eo(D)&&(D=sr(D)),N.value=or(D,!0)},Z=()=>N.value,G=h.reactive({}),z=i.value;Pg.globalProvide({globalFormName:z,globalDataModel:G});const W=U.i18nt("designer.hint.noData"),T=()=>{var R;var D={};return(R=Object.keys(o==null?void 0:o.allRefList))==null||R.forEach(E=>{var H,J,K;var X=(K=(J=(H=o==null?void 0:o.allRefList[E])==null?void 0:H.exposed)==null?void 0:J.getField)==null?void 0:K.call(J);if(X){const _=RC(E);if(!(_!=null&&_.groupName)||(_==null?void 0:_.groupName)==="header")return;var Y=D[_==null?void 0:_.groupName];Y||(Y=[]),Y.push(X),D[_==null?void 0:_.groupName]=Y}}),Ai(D).map(E=>p(G,D[E]))},V=D=>{var R;!D||D.length<=0||(R=Object.keys(o==null?void 0:o.allRefList))==null||R.forEach(E=>{var K,_,se,oe,le,re,ue;var X=(se=(_=(K=o==null?void 0:o.allRefList[E])==null?void 0:K.exposed)==null?void 0:_.getField)==null?void 0:se.call(_);if(!X)return;const Y=RC(E);if(!(Y!=null&&Y.groupName))return;var H=D==null?void 0:D[parseInt(Y==null?void 0:Y.groupName)];const J=(oe=X==null?void 0:X._source)==null?void 0:oe.name;(H==null?void 0:H[J])!=null&&((ue=(re=(le=o==null?void 0:o.allRefList[E])==null?void 0:le.exposed)==null?void 0:re.setValue)==null||ue.call(re,H==null?void 0:H[J]))})};return h.onMounted(()=>{t.designState||x(!0)}),e({...o,setValue:v,getValue:Z,refresh:x,getTableData:T,setTableData:V,currentPage:()=>d.value,pageSize:()=>f.value}),(D,R)=>{const E=h.resolveComponent("el-empty"),X=h.resolveComponent("el-table"),Y=h.resolveComponent("el-pagination"),H=h.resolveDirective("loading");return h.openBlock(),h.createBlock(Ei,h.mergeProps(D.$props,{"prop-options":{fieldObj:h.unref(C)}}),{default:h.withCtx(({data:J})=>{var K,_,se,oe,le,re,ue,Q,ee,ie,Ie,pe;return[!h.unref(g)||((K=h.unref(g))==null?void 0:K.length)<=0||((_=h.unref(g))==null?void 0:_[0])==null?(h.openBlock(),h.createBlock(E,{key:0,description:h.unref(U).i18nt("designer.hint.tableSetting")},null,8,["description"])):h.withDirectives((h.openBlock(),h.createElementBlock("div",dEe,[(h.openBlock(),h.createBlock(X,h.mergeProps({ref_key:"fieldEditor",ref:a},h.unref(c),h.toHandlers(h.unref(l)),{key:h.unref(r),"empty-text":((se=h.unref(c))==null?void 0:se.emptyText)||h.unref(W),size:J.size,defaultSort:h.unref(Eo)((oe=h.unref(c))==null?void 0:oe.defaultSort)?(le=h.unref(c))==null?void 0:le.defaultSort:void 0,treeProps:h.unref(Eo)((re=h.unref(c))==null?void 0:re.treeProps)?(ue=h.unref(c))==null?void 0:ue.treeProps:void 0,class:J.injectClass,style:J.injectStyle,data:h.unref(S)}),{default:h.withCtx(()=>[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(h.unref(A)("optionItems"),(Ne,de)=>(h.openBlock(),h.createBlock(Oz,{key:Ne.uuid,options:Ne,designer:D.designer,propResultOpt:h.unref(u),designState:D.designState},null,8,["options","designer","propResultOpt","designState"]))),128))]),_:2},1040,["empty-text","size","defaultSort","treeProps","class","style","data"])),(Q=h.unref(s))!=null&&Q.allowPage?(h.openBlock(),h.createBlock(Y,{key:0,"current-page":d.value,"onUpdate:current-page":R[0]||(R[0]=Ne=>d.value=Ne),"page-size":f.value,"onUpdate:page-size":R[1]||(R[1]=Ne=>f.value=Ne),"page-sizes":(ee=h.unref(s))==null?void 0:ee.pageSizes,hideOnSinglePage:(ie=h.unref(s))==null?void 0:ie.hideOnSinglePage,layout:(pe=(Ie=h.unref(s))==null?void 0:Ie.layout)==null?void 0:pe.join(","),total:w.value,onSizeChange:y,onCurrentChange:m},null,8,["current-page","page-size","page-sizes","hideOnSinglePage","layout","total"])):h.createCommentVNode("",!0)])),[[H,!D.designState&&b.value]])]}),_:1},16,["prop-options"])}}}),pEe=Object.freeze(Object.defineProperty({__proto__:null,default:AEe},Symbol.toStringTag,{value:"Module"})),fEe=h.defineComponent({componentName:cn.FieldWidget}),wEe=h.defineComponent({...fEe,__name:"tag-widget",props:{...$n},setup(n,{expose:e}){const t=n,{exposed:i,fieldObj:o}=zn(t);return e({...i}),(a,r)=>(h.openBlock(),h.createBlock(ng,h.mergeProps(a.$props,{propOptions:{elementName:"el-tag",fieldObj:h.unref(o)}}),null,16,["propOptions"]))}}),mEe=Object.freeze(Object.defineProperty({__proto__:null,default:wEe},Symbol.toStringTag,{value:"Module"})),yEe=h.defineComponent({componentName:cn.FieldWidget}),bEe=h.defineComponent({...yEe,__name:"text-widget",props:{...$n},setup(n,{expose:e}){const t=n,{exposed:i,fieldObj:o}=zn(t);return e({...i}),(a,r)=>(h.openBlock(),h.createBlock(ng,h.mergeProps(a.$props,{propOptions:{elementName:"el-text",fieldObj:h.unref(o)}}),null,16,["propOptions"]))}}),NEe=Object.freeze(Object.defineProperty({__proto__:null,default:bEe},Symbol.toStringTag,{value:"Module"})),vEe=h.defineComponent({componentName:cn.FieldWidget}),MEe=h.defineComponent({...vEe,__name:"textarea-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,rules:r,attrs:c,events:s,exposed:l,fieldObj:g}=zn(t);return e({...l}),(I,C)=>{const u=h.resolveComponent("el-input");return h.openBlock(),h.createBlock(ao,h.mergeProps(I.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(r)}}),{default:h.withCtx(({data:A})=>[(h.openBlock(),h.createBlock(u,h.mergeProps({type:"textarea",ref_key:"fieldEditor",ref:i,modelValue:h.unref(a),"onUpdate:modelValue":C[0]||(C[0]=p=>h.isRef(a)?a.value=p:null),key:h.unref(o)},h.unref(c),h.toHandlers(h.unref(s)),{class:A.injectClass,style:A.injectStyle}),null,16,["modelValue","class","style"]))]),_:1},16,["propOptions"])}}}),SEe=Object.freeze(Object.defineProperty({__proto__:null,default:MEe},Symbol.toStringTag,{value:"Module"})),xEe=h.defineComponent({componentName:cn.FieldWidget}),ZEe=h.defineComponent({...xEe,__name:"time-picker-range-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldModel:i,fieldEditor:o,fieldKey:a,rules:r,events:c,attrs:s,exposed:l,fieldObj:g,watchKeyValue:I,refreshKey:C}=zn(t),u=I("defaultValue",p=>{var d;return(d=Hf(xt(p)))==null?void 0:d.map(f=>_g(f))},()=>{C()}),A=h.computed({get:()=>{var d;if(eo(i.value)){var p=sr(i.value);Xl(p)&&(i.value=(d=Hf(xt(p)))==null?void 0:d.map(f=>_g(f)))}return i.value},set:p=>{var d;i.value=(d=Hf(xt(p)))==null?void 0:d.map(f=>_g(f))}});return e({...l}),(p,d)=>{const f=h.resolveComponent("el-time-picker");return h.openBlock(),h.createBlock(ao,h.mergeProps(p.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(r)}}),{default:h.withCtx(({data:w})=>[(h.openBlock(),h.createBlock(f,h.mergeProps({ref_key:"fieldEditor",ref:o,modelValue:h.unref(A),"onUpdate:modelValue":d[0]||(d[0]=y=>h.isRef(A)?A.value=y:null),key:h.unref(a)},h.unref(s),h.toHandlers(h.unref(c)),{size:w.size,class:w.injectClass,style:w.injectStyle,"default-value":h.unref(u),"start-placeholder":h.unref(s).startPlaceholder||h.unref(U).i18nt("render.hint.startTimePlaceholder"),"end-placeholder":h.unref(s).endPlaceholder||h.unref(U).i18nt("render.hint.endTimePlaceholder")}),null,16,["modelValue","size","class","style","default-value","start-placeholder","end-placeholder"]))]),_:1},16,["propOptions"])}}}),GEe=Object.freeze(Object.defineProperty({__proto__:null,default:ZEe},Symbol.toStringTag,{value:"Module"})),OEe=h.defineComponent({componentName:cn.FieldWidget}),zEe=h.defineComponent({...OEe,__name:"time-picker-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,refreshKey:o,fieldKey:a,fieldModel:r,rules:c,attrs:s,events:l,exposed:g,fieldObj:I,watchKeyValue:C}=zn(t),u=C("defaultValue",A=>YA(xt(A)),()=>{o()});return e({...g}),(A,p)=>{const d=h.resolveComponent("el-time-picker");return h.openBlock(),h.createBlock(ao,h.mergeProps(A.$props,{propOptions:{fieldObj:h.unref(I),rules:h.unref(c)}}),{default:h.withCtx(({data:f})=>[(h.openBlock(),h.createBlock(d,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(r),"onUpdate:modelValue":p[0]||(p[0]=w=>h.isRef(r)?r.value=w:null),key:h.unref(a)},h.unref(s),h.toHandlers(h.unref(l)),{size:f.size,class:f.injectClass,style:f.injectStyle,"default-value":h.unref(u),placeholder:h.unref(s).placeholder||h.unref(U).i18nt("render.hint.timePlaceholder")}),null,16,["modelValue","size","class","style","default-value","placeholder"]))]),_:1},16,["propOptions"])}}}),WEe=Object.freeze(Object.defineProperty({__proto__:null,default:zEe},Symbol.toStringTag,{value:"Module"})),TEe=h.defineComponent({componentName:cn.FieldWidget}),VEe=h.defineComponent({...TEe,__name:"time-select-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,rules:r,attrs:c,events:s,exposed:l,fieldObj:g}=zn(t);return e({...l}),(I,C)=>{const u=h.resolveComponent("el-time-select");return h.openBlock(),h.createBlock(ao,h.mergeProps(I.$props,{propOptions:{fieldObj:h.unref(g),rules:h.unref(r)}}),{default:h.withCtx(({data:A})=>[(h.openBlock(),h.createBlock(u,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(a),"onUpdate:modelValue":C[0]||(C[0]=p=>h.isRef(a)?a.value=p:null),key:h.unref(o)},h.unref(c),h.toHandlers(h.unref(s)),{size:A.size,class:A.injectClass,style:A.injectStyle,placeholder:h.unref(c).placeholder||h.unref(U).i18nt("render.hint.timePlaceholder")}),null,16,["modelValue","size","class","style","placeholder"]))]),_:1},16,["propOptions"])}}}),BEe=Object.freeze(Object.defineProperty({__proto__:null,default:VEe},Symbol.toStringTag,{value:"Module"})),DEe=["element-loading-text"],kEe=h.defineComponent({__name:"tmpl-widget",props:{...To},setup(n,{expose:e}){const t=n,{slots:i,exposed:o,attrs:a,events:r,fieldObj:c,fieldName:s,watchOption:l}=zn(t),g=h.computed(()=>LO(i.value)),{getSlotFromData:I,emit$:C,rowsData:u,getValue:A,setValue:p}=jO({...t,fieldName:s.value}),d=m=>p(or(sr(m),!0),b=>y(b)),f=h.ref(!1),w=(m=!1)=>{l(m,$e.data,()=>{f.value=!0},b=>{var N,S;d(b),setTimeout(()=>{f.value=!1},1e3),(S=(N=r.value)==null?void 0:N.completed)==null||S.call(N,b)})},y=m=>{var N;const b=(N=a==null?void 0:a.value)!=null&&N.alwaysShow?[{}]:null;return I(i.value,m||b)};return h.onMounted(()=>{w(!0)}),e({...o,refresh:w,emit$:C,setValue:d,getValue:A}),(m,b)=>{const N=h.resolveDirective("loading");return h.openBlock(),h.createBlock(Ei,h.mergeProps(m.$props,{"prop-options":{fieldObj:h.unref(c)},"show-wrapper-component":!0}),{default:h.withCtx(()=>{var S;return[m.designState?(h.openBlock(),h.createBlock($i,h.mergeProps({key:0},m.$props,{widget:h.unref(xa)(h.unref(g),"row"),dragClass:"dragSize"}),null,16,["widget"])):(h.openBlock(),h.createElementBlock(h.Fragment,{key:1},[h.unref(u)&&((S=h.unref(u))==null?void 0:S.length)>0?h.withDirectives((h.openBlock(),h.createElementBlock("div",{key:0,"element-loading-text":h.unref(a).loadingText},[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(h.unref(u),(M,x)=>(h.openBlock(),h.createBlock($i,h.mergeProps({key:M.key},m.$props,{widget:M.widget[0],componentName:"div","row-scope":{row:M.data,$index:x},componentClass:"flex full-width"}),null,16,["widget","row-scope"]))),128))],8,DEe)),[[N,h.unref(a).showLoading&&f.value]]):(h.openBlock(),h.createElementBlock(h.Fragment,{key:1},[h.createTextVNode(h.toDisplayString(h.unref(a).noData||h.unref(U).i18nt("designer.hint.noData")),1)],64))],64))]}),_:1},16,["prop-options"])}}}),yzt="",REe=Object.freeze(Object.defineProperty({__proto__:null,default:Ni(kEe,[["__scopeId","data-v-03255958"]])},Symbol.toStringTag,{value:"Module"})),XEe=h.defineComponent({componentName:cn.FieldWidget}),YEe=h.defineComponent({...XEe,__name:"tree-select-widget",props:{...$n},setup(n,{expose:e}){var T;const t=n,{objFieldModel:i,fieldEditor:o,fieldKey:a,fieldModel:r,attrs:c,extendAttrs:s,events:l,exposed:g,activeOptionItem:I,optionItems:C,activeOptionItems:u,fieldObj:A,getCheckedOptionItems:p,getCheckedOptionLabels:d,getCheckedOptionValues:f,getCheckedOptionText:w,getWidgetOption:y,filterOptionItems:m}=zn(t),b=h.computed(()=>{var k,D,R,E,X;let V={};return Yl(V,$e.label,(k=s.value)==null?void 0:k.labelProp,!0),Yl(V,$e.children,(D=s.value)==null?void 0:D.childrenProp,!0),Yl(V,$e.disabled,(R=s.value)==null?void 0:R.disabledProp,!0),Yl(V,$e.isLeaf,(E=s.value)==null?void 0:E.isLeafProp,!0),Yl(V,$e.class,(X=s.value)==null?void 0:X.classProp,!0),V}),N=(T=c==null?void 0:c.value)==null?void 0:T.nodeKey,S=h.computed(()=>{var V;return(V=u==null?void 0:u.value)==null?void 0:V.map(k=>String(k==null?void 0:k[N]))}),M=h.computed(()=>{var V;return(V=I==null?void 0:I.value)==null?void 0:V[N]}),x=h.computed(()=>{var V;return(V=m(k=>!!(k!=null&&k.isopen)))==null?void 0:V.map(k=>k==null?void 0:k[N])}),v=h.computed({get:()=>or(r.value,!1),set:V=>{r.value=V}}),Z=h.computed({get:()=>or(i.value,!0),set:V=>{r.value=V}}),G=h.computed(()=>y("optionDefault")),z=h.computed(()=>y("empty")),W=h.computed(()=>y("prefix"));return e({...g,getCheckedItems:p,getCheckedLabels:d,getCheckedValues:f,getCheckedText:w}),(V,k)=>{const D=h.resolveComponent("el-tree-select");return h.openBlock(),h.createBlock(ao,h.mergeProps(V.$props,{"prop-options":{fieldObj:h.unref(A)}}),{default:h.withCtx(({data:R})=>{var E;return[(E=h.unref(c))!=null&&E.multiple?(h.openBlock(),h.createBlock(D,h.mergeProps({ref_key:"fieldEditor",ref:o,modelValue:h.unref(Z),"onUpdate:modelValue":k[1]||(k[1]=X=>h.isRef(Z)?Z.value=X:null),key:h.unref(a)},h.unref(c),h.toHandlers(h.unref(l)),{class:R.injectClass,style:R.injectStyle,data:h.unref(C),props:h.unref(b),size:R.size,defaultCheckedKeys:h.unref(S),defaultExpandedKeys:h.unref(x),currentNodeKey:h.unref(M)}),h.createSlots({default:h.withCtx(({node:X,data:Y})=>[h.unref(G)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(G)),{key:0,item:{node:X,data:Y}},null,8,["item"])):h.createCommentVNode("",!0)]),prefix:h.withCtx(()=>[h.unref(W)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(W)),{key:0})):h.createCommentVNode("",!0)]),_:2},[h.unref(z)?{name:"empty",fn:h.withCtx(()=>[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(z))))]),key:"0"}:void 0]),1040,["modelValue","class","style","data","props","size","defaultCheckedKeys","defaultExpandedKeys","currentNodeKey"])):(h.openBlock(),h.createBlock(D,h.mergeProps({ref_key:"fieldEditor",ref:o,modelValue:h.unref(v),"onUpdate:modelValue":k[0]||(k[0]=X=>h.isRef(v)?v.value=X:null),key:h.unref(a)},h.unref(c),h.toHandlers(h.unref(l)),{class:R.injectClass,style:R.injectStyle,data:h.unref(C),props:h.unref(b),size:R.size,defaultCheckedKeys:h.unref(S),defaultExpandedKeys:h.unref(x),currentNodeKey:h.unref(M)}),h.createSlots({default:h.withCtx(({node:X,data:Y})=>[h.unref(G)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(G)),{key:0,item:{node:X,data:Y}},null,8,["item"])):h.createCommentVNode("",!0)]),prefix:h.withCtx(()=>[h.unref(W)?(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(W)),{key:0})):h.createCommentVNode("",!0)]),_:2},[h.unref(z)?{name:"empty",fn:h.withCtx(()=>[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(z))))]),key:"0"}:void 0]),1040,["modelValue","class","style","data","props","size","defaultCheckedKeys","defaultExpandedKeys","currentNodeKey"]))]}),_:1},16,["prop-options"])}}}),HEe=Object.freeze(Object.defineProperty({__proto__:null,default:YEe},Symbol.toStringTag,{value:"Module"})),EEe=h.defineComponent({componentName:cn.FieldWidget}),FEe=h.defineComponent({...EEe,__name:"tree-widget",props:{...$n},setup(n,{expose:e}){var S;const t=n,{fieldEditor:i,fieldKey:o,fieldModel:a,attrs:r,extendAttrs:c,events:s,activeOptionItem:l,optionItems:g,fieldObj:I,getWidgetOption:C,filterOptionItems:u,exposed:A,activeOptionItems:p}=zn(t),d=h.computed(()=>{var x,v,Z,G,z;let M={};return Yl(M,$e.label,(x=c.value)==null?void 0:x.labelProp,!0),Yl(M,$e.children,(v=c.value)==null?void 0:v.childrenProp,!0),Yl(M,$e.disabled,(Z=c.value)==null?void 0:Z.disabledProp,!0),Yl(M,$e.isLeaf,(G=c.value)==null?void 0:G.isLeafProp,!0),Yl(M,$e.class,(z=c.value)==null?void 0:z.classProp,!0),M}),f=(S=r==null?void 0:r.value)==null?void 0:S.nodeKey,w=h.computed(()=>{var M;return(M=p==null?void 0:p.value)==null?void 0:M.map(x=>String(x==null?void 0:x[f]))}),y=h.computed(()=>{var M;return(M=l==null?void 0:l.value)==null?void 0:M[f]}),m=h.computed(()=>{var M;return(M=u(x=>!!(x!=null&&x.isopen)))==null?void 0:M.map(x=>x==null?void 0:x[f])}),b=h.computed(()=>C("optionDefault")),N=h.computed(()=>C("empty"));return e({...A}),(M,x)=>{const v=h.resolveComponent("el-tree");return h.openBlock(),h.createBlock(Ei,h.mergeProps(M.$props,{"prop-optiions":{fieldObj:h.unref(I)}}),{default:h.withCtx(({data:Z})=>[(h.openBlock(),h.createBlock(v,h.mergeProps({ref_key:"fieldEditor",ref:i,modelValue:h.unref(a),"onUpdate:modelValue":x[0]||(x[0]=G=>h.isRef(a)?a.value=G:null),key:h.unref(o)},h.unref(r),h.toHandlers(h.unref(s)),{class:Z.injectClass,style:Z.injectStyle,data:h.unref(g),props:h.unref(d),size:Z.size,defaultCheckedKeys:h.unref(w),defaultExpandedKeys:h.unref(m),currentNodeKey:h.unref(y)}),h.createSlots({_:2},[h.unref(N)?{name:"empty",fn:h.withCtx(()=>[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(N))))]),key:"0"}:void 0,h.unref(b)?{name:"default",fn:h.withCtx(({node:G,data:z})=>[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(h.unref(b)),{item:{node:G,data:z}},null,8,["item"]))]),key:"1"}:void 0]),1040,["modelValue","class","style","data","props","size","defaultCheckedKeys","defaultExpandedKeys","currentNodeKey"]))]),_:1},16,["prop-optiions"])}}}),JEe=Object.freeze(Object.defineProperty({__proto__:null,default:FEe},Symbol.toStringTag,{value:"Module"})),LEe={class:"s-canvas"},KEe=["width","height"],jEe=h.defineComponent({__name:"_index",props:{identifyCode:{type:String,default:"1234"},fontSizeMin:{type:Number,default:25},fontSizeMax:{type:Number,default:35},backgroundColorMin:{type:Number,default:255},backgroundColorMax:{type:Number,default:255},colorMin:{type:Number,default:0},colorMax:{type:Number,default:160},lineColorMin:{type:Number,default:40},lineColorMax:{type:Number,default:180},dotColorMin:{type:Number,default:0},dotColorMax:{type:Number,default:255},contentWidth:{type:Number,default:112},contentHeight:{type:Number,default:40}},setup(n){const e=n,t=h.ref(),i=(l,g)=>Math.floor(Math.random()*(g-l)+l),o=(l,g)=>{let I=i(l,g),C=i(l,g),u=i(l,g);return"rgb("+I+","+C+","+u+")"},a=l=>{for(let g=0;g<5;g++)l.strokeStyle=o(e.lineColorMin,e.lineColorMax),l.beginPath(),l.moveTo(i(0,e.contentWidth),i(0,e.contentHeight)),l.lineTo(i(0,e.contentWidth),i(0,e.contentHeight)),l.stroke()},r=(l,g,I)=>{l.fillStyle=o(e.colorMin,e.colorMax),l.font=i(e.fontSizeMin,e.fontSizeMax)+"px SimHei";let C=(I+1)*(e.contentWidth/(e.identifyCode.length+1)),u=i(e.fontSizeMax,e.contentHeight-5);var A=i(-45,45);l.translate(C,u),l.rotate(A*Math.PI/180),l.fillText(g,0,0),l.rotate(-A*Math.PI/180),l.translate(-C,-u)},c=l=>{for(let g=0;g<80;g++)l.fillStyle=o(0,255),l.beginPath(),l.arc(i(0,e.contentWidth),i(0,e.contentHeight),1,0,2*Math.PI),l.fill()},s=()=>{let l=t.value,g=l==null?void 0:l.getContext("2d");g.textBaseline="bottom",g.fillStyle=o(e.backgroundColorMin,e.backgroundColorMax),g.fillRect(0,0,e.contentWidth,e.contentHeight);for(let I=0;I<e.identifyCode.length;I++)r(g,e.identifyCode[I],I);a(g),c(g)};return h.onMounted(()=>{s()}),h.watch(()=>e.identifyCode,l=>{l&&s()}),(l,g)=>(h.openBlock(),h.createElementBlock("div",LEe,[h.createElementVNode("canvas",{ref_key:"canavsRef",ref:t,width:e.contentWidth,height:e.contentHeight},null,8,KEe)]))}}),Nzt="",_Ee=Ni(jEe,[["__scopeId","data-v-10737829"]]),UEe=(n,e)=>(e=e+1,Math.floor(Math.random()*(e-n)+n)),QEe=h.defineComponent({componentName:cn.FieldWidget}),PEe=h.defineComponent({...QEe,__name:"verifycode-widget",props:{...$n},setup(n,{expose:e}){const t=n,{fieldEditor:i,exposed:o,extendAttrs:a,attrs:r,fieldObj:c}=zn(t);let s=h.ref(""),l=h.computed(()=>{var p;return(p=a.value)==null?void 0:p.content}),g=h.computed(()=>{var p;return(p=a.value)==null?void 0:p.identifyCodeLen});const I=(p,d)=>{for(let f=0;f<d;f++)s.value+=p[UEe(0,p.length)]},C=()=>{s.value="",I(l.value,g.value)},u=()=>s.value,A=p=>{s.value=p};return h.watch(()=>r.value,p=>{h.nextTick(()=>{C()})}),h.onMounted(()=>{C()}),e({...o,refresh:C,getValue:u,setValue:A}),(p,d)=>(h.openBlock(),h.createBlock(Ei,h.mergeProps(p.$props,{"prop-options":{fieldObj:h.unref(c)}}),{default:h.withCtx(()=>{var f;return[h.createVNode(_Ee,h.mergeProps({ref_key:"fieldEditor",ref:i},h.unref(r),{"identify-code":h.unref(s),class:h.unref(mC)((f=h.unref(a))==null?void 0:f.customClass),onClick:C}),null,16,["identify-code","class"])]}),_:1},16,["prop-options"]))}}),qEe=Object.freeze(Object.defineProperty({__proto__:null,default:PEe},Symbol.toStringTag,{value:"Module"})),$Ee=n=>n?n.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}):"";var Lw={},eFe={get exports(){return Lw},set exports(n){Lw=n}},Kw={},jw={},tFe={get exports(){return jw},set exports(n){jw=n}},zz={},Wz={},hj;function Tz(){if(hj)return Wz;hj=1;function n(i){this.__parent=i,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}n.prototype.clone_empty=function(){var i=new n(this.__parent);return i.set_indent(this.__indent_count,this.__alignment_count),i},n.prototype.item=function(i){return i<0?this.__items[this.__items.length+i]:this.__items[i]},n.prototype.has_match=function(i){for(var o=this.__items.length-1;o>=0;o--)if(this.__items[o].match(i))return!0;return!1},n.prototype.set_indent=function(i,o){this.is_empty()&&(this.__indent_count=i||0,this.__alignment_count=o||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},n.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},n.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},n.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var i=this.__parent.current_line;return i.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),i.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),i.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,i.__items[0]===" "&&(i.__items.splice(0,1),i.__character_count-=1),!0}return!1},n.prototype.is_empty=function(){return this.__items.length===0},n.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},n.prototype.push=function(i){this.__items.push(i);var o=i.lastIndexOf(`
|
|
2591
2591
|
`);o!==-1?this.__character_count=i.length-o:this.__character_count+=i.length},n.prototype.pop=function(){var i=null;return this.is_empty()||(i=this.__items.pop(),this.__character_count-=i.length),i},n.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},n.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},n.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},n.prototype.toString=function(){var i="";return this.is_empty()?this.__parent.indent_empty_lines&&(i=this.__parent.get_indent_string(this.__indent_count)):(i=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),i+=this.__items.join("")),i};function e(i,o){this.__cache=[""],this.__indent_size=i.indent_size,this.__indent_string=i.indent_char,i.indent_with_tabs||(this.__indent_string=new Array(i.indent_size+1).join(i.indent_char)),o=o||"",i.indent_level>0&&(o=new Array(i.indent_level+1).join(this.__indent_string)),this.__base_string=o,this.__base_string_length=o.length}e.prototype.get_indent_size=function(i,o){var a=this.__base_string_length;return o=o||0,i<0&&(a=0),a+=i*this.__indent_size,a+=o,a},e.prototype.get_indent_string=function(i,o){var a=this.__base_string;return o=o||0,i<0&&(i=0,a=""),o+=i*this.__indent_size,this.__ensure_cache(o),a+=this.__cache[o],a},e.prototype.__ensure_cache=function(i){for(;i>=this.__cache.length;)this.__add_column()},e.prototype.__add_column=function(){var i=this.__cache.length,o=0,a="";this.__indent_size&&i>=this.__indent_size&&(o=Math.floor(i/this.__indent_size),i-=o*this.__indent_size,a=new Array(o+1).join(this.__indent_string)),i&&(a+=new Array(i+1).join(" ")),this.__cache.push(a)};function t(i,o){this.__indent_cache=new e(i,o),this.raw=!1,this._end_with_newline=i.end_with_newline,this.indent_size=i.indent_size,this.wrap_line_length=i.wrap_line_length,this.indent_empty_lines=i.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new n(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return t.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},t.prototype.get_line_number=function(){return this.__lines.length},t.prototype.get_indent_string=function(i,o){return this.__indent_cache.get_indent_string(i,o)},t.prototype.get_indent_size=function(i,o){return this.__indent_cache.get_indent_size(i,o)},t.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},t.prototype.add_new_line=function(i){return this.is_empty()||!i&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},t.prototype.get_code=function(i){this.trim(!0);var o=this.current_line.pop();o&&(o[o.length-1]===`
|
|
2592
2592
|
`&&(o=o.replace(/\n+$/g,"")),this.current_line.push(o)),this._end_with_newline&&this.__add_outputline();var a=this.__lines.join(`
|
|
2593
2593
|
`);return i!==`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, openBlock as p, createBlock as t, mergeProps as i } from "vue";
|
|
2
|
-
import { _ as m } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-
|
|
2
|
+
import { _ as m } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-38d22796.js";
|
|
3
3
|
import { I as e } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-b3d2e19c.js";
|
|
5
5
|
import "./baseImp-b5857827.js";
|
|
6
6
|
import "./enum-type-b832ec8a.js";
|
|
7
7
|
import "./enum-type-f5b76bdf.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as l, createBlock as c, mergeProps as f, unref as t } from "vue";
|
|
2
2
|
import { I as _ } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as u } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as u } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d5d2bf13.js";
|
|
4
4
|
import { w as g } from "./expression-8b88cd21.js";
|
|
5
5
|
import { c as v } from "./share-field-ec11e3b0.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -21,7 +21,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
21
21
|
import "./fieldobj-26f8789d.js";
|
|
22
22
|
import "./slot-55c73c2d.js";
|
|
23
23
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-c29a2dd2.js";
|
|
24
|
-
import "./drag-wrapper-
|
|
24
|
+
import "./drag-wrapper-b3d2e19c.js";
|
|
25
25
|
import "./source-map-b04aec4a.js";
|
|
26
26
|
import "./esprima-e8d15055.js";
|
|
27
27
|
import "./emitter-10592b70.js";
|
|
@@ -16,7 +16,7 @@ function K() {
|
|
|
16
16
|
let e = /* @__PURE__ */ new Map();
|
|
17
17
|
const l = (a) => {
|
|
18
18
|
var n = h.getWidgetName(a), p = null;
|
|
19
|
-
return n && (h.isContainer(a) ? p = A(() => j(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-
|
|
19
|
+
return n && (h.isContainer(a) ? p = A(() => j(/* @__PURE__ */ Object.assign({ "./container-widget/cont-cell-widget.vue": () => import("./cont-cell-widget-921029d4.js").then((i) => i._), "./container-widget/cont-widget.vue": () => import("./cont-widget-cba5e898.js").then((i) => i._), "./container-widget/form-widget.vue": () => import("./form-widget-fd1a0eea.js").then((i) => i._), "./container-widget/grid-col-widget.vue": () => import("./grid-col-widget-ec0de902.js").then((i) => i._), "./container-widget/grid-widget.vue": () => import("./grid-widget-5a9035fb.js").then((i) => i._), "./container-widget/ltable-col-widget.vue": () => import("./ltable-col-widget-41ef06e5.js").then((i) => i._), "./container-widget/ltable-widget.vue": () => import("./ltable-widget-c9c7b137.js").then((i) => i._), "./container-widget/tab-pane-widget.vue": () => import("./tab-pane-widget-06a7009b.js").then((i) => i._), "./container-widget/tabs-widget.vue": () => import("./tabs-widget-634df297.js").then((i) => i._), "./container-widget/wrapper-widget.vue": () => import("./wrapper-widget-d1b95f93.js").then((i) => i._) }), `./container-widget/${n}.vue`)) : p = A(() => j(/* @__PURE__ */ Object.assign({ "./field-widget/affix-widget.vue": () => import("./affix-widget-c0777ea0.js"), "./field-widget/alert-widget.vue": () => import("./alert-widget-1415cd1e.js"), "./field-widget/anchor-link-widget.vue": () => import("./anchor-link-widget-919ac0ee.js"), "./field-widget/anchor-widget.vue": () => import("./anchor-widget-cfb56783.js"), "./field-widget/auto-complete-widget.vue": () => import("./auto-complete-widget-7d4db43a.js"), "./field-widget/avatar-widget.vue": () => import("./avatar-widget-bcc3f4d5.js"), "./field-widget/backtop-widget.vue": () => import("./backtop-widget-a884fa53.js"), "./field-widget/badge-widget.vue": () => import("./badge-widget-dcd66eee.js"), "./field-widget/barcode-widget.vue": () => import("./barcode-widget-1e3d9b65.js"), "./field-widget/breadcrumb-widget.vue": () => import("./breadcrumb-widget-1081ab6a.js"), "./field-widget/button-widget.vue": () => import("./button-widget-b5fcd821.js"), "./field-widget/cache-widget.vue": () => import("./cache-widget-dd3e3d3f.js"), "./field-widget/card-widget.vue": () => import("./card-widget-9693623e.js"), "./field-widget/carousel-widget.vue": () => import("./carousel-widget-d139cc2c.js"), "./field-widget/cascader-widget.vue": () => import("./cascader-widget-183c6fc9.js"), "./field-widget/chart-widget.vue": () => import("./chart-widget-778c4cb2.js"), "./field-widget/checkbox-widget.vue": () => import("./checkbox-widget-1a5821a0.js"), "./field-widget/collapse-widget.vue": () => import("./collapse-widget-b66ec539.js"), "./field-widget/color-picker-widget.vue": () => import("./color-picker-widget-cc95d8b2.js"), "./field-widget/content-wrapper.vue": () => import("./content-wrapper-fba9f902.js"), "./field-widget/date-picker-range-widget.vue": () => import("./date-picker-range-widget-fa283fb3.js"), "./field-widget/date-picker-widget.vue": () => import("./date-picker-widget-27455499.js"), "./field-widget/default-slot-widget.vue": () => import("./default-slot-widget-72b6c85b.js"), "./field-widget/descriptions-widget.vue": () => import("./descriptions-widget-7d94d1f0.js"), "./field-widget/dialog-widget.vue": () => import("./dialog-widget-179c5d85.js"), "./field-widget/divider-widget.vue": () => import("./divider-widget-18bff6ed.js"), "./field-widget/drawer-widget.vue": () => import("./drawer-widget-04226855.js"), "./field-widget/dropdown-widget.vue": () => import("./dropdown-widget-e8414b0c.js"), "./field-widget/empty-widget.vue": () => import("./empty-widget-ce397da2.js"), "./field-widget/feedback-widget.vue": () => import("./feedback-widget-e8594a9a.js"), "./field-widget/file-upload-widget.vue": () => import("./file-upload-widget-185ac701.js"), "./field-widget/form-item-wrapper.vue": () => import("./form-item-wrapper-a20bfca7.js"), "./field-widget/html-text-widget.vue": () => import("./html-text-widget-9cc2ede7.js"), "./field-widget/icon-widget.vue": () => import("./icon-widget-00f5bbb3.js"), "./field-widget/iframe-widget.vue": () => import("./iframe-widget-c7b2d6c4.js"), "./field-widget/image-widget.vue": () => import("./image-widget-5ba7d98d.js"), "./field-widget/input-number-widget.vue": () => import("./input-number-widget-b1350662.js"), "./field-widget/input-widget.vue": () => import("./input-widget-71db8cc4.js"), "./field-widget/label-wrapper.vue": () => import("./label-wrapper-70df4533.js"), "./field-widget/link-widget.vue": () => import("./link-widget-aeb22e28.js"), "./field-widget/menu-widget.vue": () => import("./menu-widget-36617350.js"), "./field-widget/model-widget.vue": () => import("./model-widget-31324395.js"), "./field-widget/multirow-widget.vue": () => import("./multirow-widget-5a4b82af.js"), "./field-widget/pagination-widget.vue": () => import("./pagination-widget-ee76b0dd.js"), "./field-widget/picture-upload-widget.vue": () => import("./picture-upload-widget-097158a7.js"), "./field-widget/progress-widget.vue": () => import("./progress-widget-7b19631d.js"), "./field-widget/qrcode-widget.vue": () => import("./qrcode-widget-7489dab7.js"), "./field-widget/radio-widget.vue": () => import("./radio-widget-25c8a8b6.js"), "./field-widget/range-widget.vue": () => import("./range-widget-72f68db5.js"), "./field-widget/rate-widget.vue": () => import("./rate-widget-0074e53c.js"), "./field-widget/result-widget.vue": () => import("./result-widget-5cafce31.js"), "./field-widget/rich-editor-widget.vue": () => import("./rich-editor-widget-3b61516b.js"), "./field-widget/router-widget.vue": () => import("./router-widget-18fc1f39.js"), "./field-widget/select-widget.vue": () => import("./select-widget-acab3a8f.js"), "./field-widget/slider-widget.vue": () => import("./slider-widget-5f92a171.js"), "./field-widget/static-text-widget.vue": () => import("./static-text-widget-37289d89.js"), "./field-widget/steps-widget.vue": () => import("./steps-widget-338c221b.js"), "./field-widget/subMenu-widget.vue": () => import("./subMenu-widget-9476918c.js"), "./field-widget/switch-widget.vue": () => import("./switch-widget-e4a43519.js"), "./field-widget/table-col-widget.vue": () => import("./table-col-widget-3ebbf095.js"), "./field-widget/table-widget.vue": () => import("./table-widget-8857ba46.js"), "./field-widget/tag-widget.vue": () => import("./tag-widget-a1482129.js"), "./field-widget/text-widget.vue": () => import("./text-widget-78adacb4.js"), "./field-widget/textarea-widget.vue": () => import("./textarea-widget-61f204b4.js"), "./field-widget/time-picker-range-widget.vue": () => import("./time-picker-range-widget-e54bec8f.js"), "./field-widget/time-picker-widget.vue": () => import("./time-picker-widget-752752c8.js"), "./field-widget/time-select-widget.vue": () => import("./time-select-widget-fdb3a8d5.js"), "./field-widget/tmpl-widget.vue": () => import("./tmpl-widget-1ecb22ef.js"), "./field-widget/tree-select-widget.vue": () => import("./tree-select-widget-1e823992.js"), "./field-widget/tree-widget.vue": () => import("./tree-widget-b63a726e.js"), "./field-widget/verifycode-widget.vue": () => import("./verifycode-widget-3e378dae.js"), "./field-widget/vertical-progress-widget.vue": () => import("./vertical-progress-widget-fa6b14ff.js") }), `./field-widget/${n}.vue`))), p;
|
|
20
20
|
};
|
|
21
21
|
return { components: (a) => {
|
|
22
22
|
var n = h.getWidgetName(a);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as p, createBlock as t, mergeProps as m } from "vue";
|
|
2
|
-
import { _ as i } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-
|
|
2
|
+
import { _ as i } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-38d22796.js";
|
|
3
3
|
import { I as e } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-b3d2e19c.js";
|
|
5
5
|
import "./baseImp-b5857827.js";
|
|
6
6
|
import "./enum-type-b832ec8a.js";
|
|
7
7
|
import "./enum-type-f5b76bdf.js";
|
|
@@ -6,7 +6,7 @@ import { c as P } from "./share-field-ec11e3b0.js";
|
|
|
6
6
|
import { w as I } from "./expression-8b88cd21.js";
|
|
7
7
|
import { b as K } from "./baseImp-b5857827.js";
|
|
8
8
|
import { g as q } from "./slot-55c73c2d.js";
|
|
9
|
-
import { D as G } from "./drag-wrapper-
|
|
9
|
+
import { D as G } from "./drag-wrapper-b3d2e19c.js";
|
|
10
10
|
import "./widget-base-4c2d6265.js";
|
|
11
11
|
import "./index-3b597f56.js";
|
|
12
12
|
import "./uuid-009aae31.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createBlock as n, mergeProps as a, unref as c } from "vue";
|
|
2
2
|
import { I as f } from "./field-base-5547436d.js";
|
|
3
|
-
import { _ as l } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-
|
|
3
|
+
import { _ as l } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-d5d2bf13.js";
|
|
4
4
|
import { w as d } from "./expression-8b88cd21.js";
|
|
5
5
|
import { c as _ } from "./share-field-ec11e3b0.js";
|
|
6
6
|
import "./widget-base-4c2d6265.js";
|
|
@@ -21,7 +21,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
|
|
|
21
21
|
import "./fieldobj-26f8789d.js";
|
|
22
22
|
import "./slot-55c73c2d.js";
|
|
23
23
|
import "./content-wrapper.vue_vue_type_script_setup_true_lang-c29a2dd2.js";
|
|
24
|
-
import "./drag-wrapper-
|
|
24
|
+
import "./drag-wrapper-b3d2e19c.js";
|
|
25
25
|
import "./source-map-b04aec4a.js";
|
|
26
26
|
import "./esprima-e8d15055.js";
|
|
27
27
|
import "./emitter-10592b70.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-
|
|
1
|
+
import { _ as o } from "./feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-38d22796.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "./widget-base-4c2d6265.js";
|
|
4
|
-
import "./drag-wrapper-
|
|
4
|
+
import "./drag-wrapper-b3d2e19c.js";
|
|
5
5
|
import "./baseImp-b5857827.js";
|
|
6
6
|
import "./enum-type-b832ec8a.js";
|
|
7
7
|
import "./enum-type-f5b76bdf.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as O, ref as F, inject as I, openBlock as a, createBlock as n, mergeProps as p, unref as r, withCtx as C, createElementBlock as i, Fragment as m, renderList as V, resolveDynamicComponent as u, createCommentVNode as g, createVNode as f, isRef as P, toHandlers as R, createSlots as E, createTextVNode as H, toDisplayString as K } from "vue";
|
|
2
2
|
import { I as M } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as o } from "./drag-wrapper-
|
|
3
|
+
import { D as o } from "./drag-wrapper-b3d2e19c.js";
|
|
4
4
|
import { _ as T } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1f903af2.js";
|
|
5
5
|
import { d as U, w as q } from "./expression-8b88cd21.js";
|
|
6
6
|
import { c as A } from "./share-field-ec11e3b0.js";
|
|
@@ -6,7 +6,7 @@ import { u as fe } from "./share-file-a07016cc.js";
|
|
|
6
6
|
import { f as b, w as ve } from "./expression-8b88cd21.js";
|
|
7
7
|
import we from "./form-item-wrapper-a20bfca7.js";
|
|
8
8
|
import { g as Ce } from "./slot-55c73c2d.js";
|
|
9
|
-
import { D as be } from "./drag-wrapper-
|
|
9
|
+
import { D as be } from "./drag-wrapper-b3d2e19c.js";
|
|
10
10
|
import { UploadFilled as De, Plus as $e, Document as Te, Download as te, CircleCheck as le, Close as oe } from "./index-ddd23411.js";
|
|
11
11
|
import { w as ae } from "./enum-type-f5b76bdf.js";
|
|
12
12
|
import { _ as xe } from "./_plugin-vue_export-helper-dad06003.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as oe, reactive as z, onMounted as ce, nextTick as Ne, defineComponent as fe, resolveComponent as Oe, resolveDirective as xe, openBlock as ne, createBlock as ae, mergeProps as K, unref as v, withCtx as ie, withDirectives as Ee, toHandlers as Re, createVNode as Se } from "vue";
|
|
2
2
|
import { I as ye } from "./widget-base-4c2d6265.js";
|
|
3
|
-
import { D as ke } from "./drag-wrapper-
|
|
3
|
+
import { D as ke } from "./drag-wrapper-b3d2e19c.js";
|
|
4
4
|
import { _ as Ae } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1f903af2.js";
|
|
5
5
|
import { w as U, b as le, e as k, f as L, g as Me } from "./expression-8b88cd21.js";
|
|
6
6
|
import { u as Pe } from "./icon-6342f929.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
1
|
+
import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-46b2f307.js";
|
|
2
2
|
const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null,
|
|
4
4
|
default: e
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as m, computed as l, reactive as w, openBlock as y, createBlock as C, mergeProps as c, unref as t, withCtx as O, createVNode as W } from "vue";
|
|
2
2
|
import { w as k } from "./expression-8b88cd21.js";
|
|
3
3
|
import { I as x } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { D as A } from "./drag-wrapper-
|
|
4
|
+
import { D as A } from "./drag-wrapper-b3d2e19c.js";
|
|
5
5
|
import { _ as b } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1f903af2.js";
|
|
6
6
|
import { c as j } from "./share-field-ec11e3b0.js";
|
|
7
7
|
import { c as H } from "./slot-55c73c2d.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as t, createBlock as s, mergeProps as f, unref as o, withCtx as u, createElementBlock as w, Fragment as h, renderList as b } from "vue";
|
|
2
2
|
import { w as k, e as y } from "./expression-8b88cd21.js";
|
|
3
3
|
import { I as C } from "./widget-base-4c2d6265.js";
|
|
4
|
-
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-
|
|
4
|
+
import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-46b2f307.js";
|
|
5
5
|
import { _ as S } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-1f903af2.js";
|
|
6
6
|
import { c as j } from "./share-field-ec11e3b0.js";
|
|
7
7
|
import { c as P } from "./slot-55c73c2d.js";
|
|
@@ -40,7 +40,7 @@ const $ = { class: "flexJustify" }, ne = /* @__PURE__ */ A({
|
|
|
40
40
|
case r.formula:
|
|
41
41
|
return l(() => import("./index-cf34606a.js"));
|
|
42
42
|
case r.targetEvent:
|
|
43
|
-
return l(() => import("./index-
|
|
43
|
+
return l(() => import("./index-2fb87f1a.js"));
|
|
44
44
|
case r.schema:
|
|
45
45
|
return l(() => import("./index-25b3dc9f.js"));
|
|
46
46
|
case r.relateWithWidget:
|
|
@@ -5,7 +5,7 @@ import { defineAsyncComponent as J, shallowRef as ye, defineComponent as Ht, com
|
|
|
5
5
|
import { u as za } from "./emitter-10592b70.js";
|
|
6
6
|
import { d as Gt, e as F, T as U, j as Oe, o as Se, m as Et, B as Ze, i as At, n as It, v as et } from "./enum-type-b832ec8a.js";
|
|
7
7
|
import { h as Ua, f as Wa, S as xt, j as Ka, k as Ba, m as Ct, a as Pt, u as qa } from "./index-3b597f56.js";
|
|
8
|
-
import { _ as Qa } from "./drag-wrapper-
|
|
8
|
+
import { _ as Qa } from "./drag-wrapper-b3d2e19c.js";
|
|
9
9
|
import { P as e, p as i, i as r, a as c } from "./property-base-9b77b978.js";
|
|
10
10
|
import { aj as t, ak as ze, al as Xa, am as Ya, an as $a, ao as tt, ap as at, aq as Ja, ar as Rt, as as k, at as Za, au as nt, e as en, av as tn, aw as an, ax as we, a9 as de, ay as Ce, az as nn, aA as Ot, aB as ln, aC as on, aD as d, d as s, aE as sn, aF as St, aG as rn, aH as Ue, aI as it, aJ as _t, aK as pn, aL as dn, aM as mn, aN as cn, g as Nt, aO as un, aP as wn, aQ as vn, N as Lt, aR as bn, aS as yn, aT as fn, aU as hn, aV as gn, aW as Mt, aX as Tn, aY as Fn, ai as En, aZ as In, a_ as xn, a$ as Cn, b0 as Pn, S as T, b1 as Rn, I as lt, b2 as On, b3 as Sn, b4 as _n, k as Pe, b5 as Nn, b6 as Ln, O as Re, b7 as Mn, b8 as Dn, b9 as jn, ba as kn, bb as Vn, s as me, bc as Hn, bd as ot, be as Gn, bf as An, bg as zn, bh as Un, bi as Wn, bj as Kn, bk as Bn, P as W, ah as qn, a8 as Dt, bl as Qn, M as Xn, v as Yn, a6 as $n, w as jt, R as st, af as Jn, ag as Zn, C as ei, L as ti, j as ai, i as ni, F as ii, G as li, bm as _e } from "./enum-type-f5b76bdf.js";
|
|
11
11
|
import { e as l, b as We, p as ve, i as oi, a as si, w as ri } from "./expression-8b88cd21.js";
|
|
@@ -14,7 +14,7 @@ import { a as S, g as kt } from "./optionItem-6a935391.js";
|
|
|
14
14
|
import { A as u, p as Vt, P as ae, B as di, e as mi, h as ci } from "./baseImp-b5857827.js";
|
|
15
15
|
import { g as ui } from "./icon-6342f929.js";
|
|
16
16
|
import { e as wi } from "./index-57792223.js";
|
|
17
|
-
import { u as vi } from "./install-designer-
|
|
17
|
+
import { u as vi } from "./install-designer-3b62fccb.js";
|
|
18
18
|
function bi() {
|
|
19
19
|
let w = /* @__PURE__ */ new Map();
|
|
20
20
|
const m = (y) => J(() => Qa(/* @__PURE__ */ Object.assign({ "../common-editor.vue": () => import("./common-editor-fa521ced.js"), "../css-editor.vue": () => import("./css-editor-30e20e0f.js"), "../customClass-editor.vue": () => import("./customClass-editor-1c7fd33d.js"), "../field-editor.vue": () => import("./field-editor-dfb0e5f9.js"), "../image-editor.vue": () => import("./image-editor-820d8bbe.js"), "../name-editor.vue": () => import("./name-editor-d6b8867b.js"), "../size-editor.vue": () => import("./size-editor-d11337b4.js"), "../value-editor.vue": () => import("./value-editor-1a704941.js") }), `../${y}.vue`));
|
|
@@ -3340,7 +3340,7 @@ const hi = { key: 0 }, gi = Ht({ componentName: ri.SettingPanel }), Ti = /* @__P
|
|
|
3340
3340
|
const p = new c();
|
|
3341
3341
|
return p.optionModel = K.value, p.pageConfig = E.value, p.selectedWidget = v.value, x(D.value, K.value, E.value, p);
|
|
3342
3342
|
}), j = ye(), H = () => {
|
|
3343
|
-
j.value || (j.value = J(() => import("./configItem-
|
|
3343
|
+
j.value || (j.value = J(() => import("./configItem-49c17de8.js")));
|
|
3344
3344
|
}, G = $(_e.formSetting), Q = (p) => {
|
|
3345
3345
|
var I;
|
|
3346
3346
|
let P = !1;
|
|
@@ -3368,7 +3368,7 @@ const hi = { key: 0 }, gi = Ht({ componentName: ri.SettingPanel }), Ti = /* @__P
|
|
|
3368
3368
|
y(We.popOverHandler, (p) => {
|
|
3369
3369
|
var _;
|
|
3370
3370
|
var P = (_ = p == null ? void 0 : p.attrs) == null ? void 0 : _.visible;
|
|
3371
|
-
!ie.value && P ? ie.value = J(() => import("./index-
|
|
3371
|
+
!ie.value && P ? ie.value = J(() => import("./index-658f5e0c.js")) : ie.value = null;
|
|
3372
3372
|
var I = { ...p == null ? void 0 : p.attrs };
|
|
3373
3373
|
I = fe(I), P && (A = "popOver", L = {
|
|
3374
3374
|
attrs: I,
|
|
@@ -3381,7 +3381,7 @@ const hi = { key: 0 }, gi = Ht({ componentName: ri.SettingPanel }), Ti = /* @__P
|
|
|
3381
3381
|
y(We.drawerHandler, (p) => {
|
|
3382
3382
|
var X;
|
|
3383
3383
|
var P = (X = p == null ? void 0 : p.attrs) == null ? void 0 : X.visible;
|
|
3384
|
-
if (!le.value && P ? le.value = J(() => import("./index-
|
|
3384
|
+
if (!le.value && P ? le.value = J(() => import("./index-742982e5.js")) : le.value = null, P) {
|
|
3385
3385
|
var I = document.querySelector(".right-panel"), _ = At(I) ? "" : getComputedStyle(I).width, V = { ...p == null ? void 0 : p.attrs, position: { right: _ } };
|
|
3386
3386
|
V = fe(V), A = "drawer", L = {
|
|
3387
3387
|
attrs: V,
|
|
@@ -3395,7 +3395,7 @@ const hi = { key: 0 }, gi = Ht({ componentName: ri.SettingPanel }), Ti = /* @__P
|
|
|
3395
3395
|
y(We.editHandler, (p) => {
|
|
3396
3396
|
var V;
|
|
3397
3397
|
var P = (V = p == null ? void 0 : p.attrs) == null ? void 0 : V.visible;
|
|
3398
|
-
if (!oe.value && P ? oe.value = J(() => import("./index-
|
|
3398
|
+
if (!oe.value && P ? oe.value = J(() => import("./index-1cbb32c9.js")) : oe.value = null, P) {
|
|
3399
3399
|
var I = { ...p.attrs, width: "80%" };
|
|
3400
3400
|
I = fe(I);
|
|
3401
3401
|
var _ = Oe(p.events);
|
|
@@ -98,7 +98,7 @@ const me = { class: "varTitle" }, ve = { class: "varCell cellRow" }, he = { clas
|
|
|
98
98
|
const i = (f = (n = Y()) == null ? void 0 : n[0]) == null ? void 0 : f.children;
|
|
99
99
|
switch (e) {
|
|
100
100
|
case o.actionURL: {
|
|
101
|
-
c.value = { attrs: t || {} }, g.value = C(() => import("./target-link-
|
|
101
|
+
c.value = { attrs: t || {} }, g.value = C(() => import("./target-link-5c8967ac.js"));
|
|
102
102
|
break;
|
|
103
103
|
}
|
|
104
104
|
case o.actionOpenDialog:
|
|
@@ -113,7 +113,7 @@ const me = { class: "varTitle" }, ve = { class: "varCell cellRow" }, he = { clas
|
|
|
113
113
|
}
|
|
114
114
|
case o.actionSendSchema: {
|
|
115
115
|
const a = D();
|
|
116
|
-
c.value = { attrs: t || {}, widgetList: (u = v.otherConfig) == null ? void 0 : u.widgetList, sourceList: a == null ? void 0 : a.filter((y) => y.protocal === z.REMOTE) }, g.value = C(() => import("./target-datasource-
|
|
116
|
+
c.value = { attrs: t || {}, widgetList: (u = v.otherConfig) == null ? void 0 : u.widgetList, sourceList: a == null ? void 0 : a.filter((y) => y.protocal === z.REMOTE) }, g.value = C(() => import("./target-datasource-546a3312.js"));
|
|
117
117
|
break;
|
|
118
118
|
}
|
|
119
119
|
case o.actionCode: {
|
|
@@ -122,7 +122,7 @@ const me = { class: "varTitle" }, ve = { class: "varCell cellRow" }, he = { clas
|
|
|
122
122
|
}
|
|
123
123
|
case o.actionSaveFormData: {
|
|
124
124
|
const a = D();
|
|
125
|
-
c.value = { attrs: t || {}, widgetList: i, fieldWidgetList: (m = v.otherConfig) == null ? void 0 : m.widgetList, sourceList: a == null ? void 0 : a.filter((y) => y.protocal === z.REMOTE) }, g.value = C(() => import("./target-saveForm-
|
|
125
|
+
c.value = { attrs: t || {}, widgetList: i, fieldWidgetList: (m = v.otherConfig) == null ? void 0 : m.widgetList, sourceList: a == null ? void 0 : a.filter((y) => y.protocal === z.REMOTE) }, g.value = C(() => import("./target-saveForm-6213d505.js"));
|
|
126
126
|
break;
|
|
127
127
|
}
|
|
128
128
|
}
|