form-custom-test 3.0.229 → 3.0.231

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.
@@ -72,7 +72,7 @@ function print() { __p += __j.call(arguments, '') }
72
72
  `)){var pe=oe.offsetHeight+parseFloat(H(oe).marginTop)+parseFloat(H(oe).marginBottom);oe.nextElementSibling.offsetTop>oe.offsetTop+pe*1.5&&le.insert(`
73
73
  `)}return le}function Ve(oe,le){var pe={},fe=oe.style||{};return fe.fontStyle&&H(oe).fontStyle==="italic"&&(pe.italic=!0),fe.fontWeight&&(H(oe).fontWeight.startsWith("bold")||parseInt(H(oe).fontWeight)>=700)&&(pe.bold=!0),Object.keys(pe).length>0&&(le=P(le,pe)),parseFloat(fe.textIndent||0)>0&&(le=new s.default().insert(" ").concat(le)),le}function Fe(oe,le){var pe=oe.data;if(oe.parentNode.tagName==="O:P")return le.insert(pe.trim());if(pe.trim().length===0&&oe.parentNode.classList.contains("ql-clipboard"))return le;if(!H(oe.parentNode).whiteSpace.startsWith("pre")){var fe=function(Ce,Ee){return Ee=Ee.replace(/[^\u00a0]/g,""),Ee.length<1&&Ce?" ":Ee};pe=pe.replace(/\r\n/g," ").replace(/\n/g," "),pe=pe.replace(/\s\s+/g,fe.bind(fe,!0)),(oe.previousSibling==null&&U(oe.parentNode)||oe.previousSibling!=null&&U(oe.previousSibling))&&(pe=pe.replace(/^\s+/,fe.bind(fe,!1))),(oe.nextSibling==null&&U(oe.parentNode)||oe.nextSibling!=null&&U(oe.nextSibling))&&(pe=pe.replace(/\s+$/,fe.bind(fe,!1)))}return le.insert(pe)}f.default=$,f.matchAttributor=J,f.matchBlot=te,f.matchNewline=ve,f.matchSpacing=xe,f.matchText=Fe},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=function(){function o(a,l){for(var h=0;h<l.length;h++){var p=l[h];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(a,p.key,p)}}return function(a,l,h){return l&&o(a.prototype,l),h&&o(a,h),a}}(),A=function o(a,l,h){a===null&&(a=Function.prototype);var p=Object.getOwnPropertyDescriptor(a,l);if(p===void 0){var w=Object.getPrototypeOf(a);return w===null?void 0:o(w,l,h)}else{if("value"in p)return p.value;var v=p.get;return v===void 0?void 0:v.call(h)}},b=_(6),d=u(b);function u(o){return o&&o.__esModule?o:{default:o}}function n(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")}function s(o,a){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:o}function i(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);o.prototype=Object.create(a&&a.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(o,a):o.__proto__=a)}var r=function(o){i(a,o);function a(){return n(this,a),s(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return m(a,[{key:"optimize",value:function(h){A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"optimize",this).call(this,h),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return A(a.__proto__||Object.getPrototypeOf(a),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),a}(d.default);r.blotName="bold",r.tagName=["STRONG","B"],f.default=r},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0}),f.addControls=f.default=void 0;var m=function(){function N(k,D){var E=[],I=!0,F=!1,O=void 0;try{for(var V=k[Symbol.iterator](),W;!(I=(W=V.next()).done)&&(E.push(W.value),!(D&&E.length===D));I=!0);}catch(j){F=!0,O=j}finally{try{!I&&V.return&&V.return()}finally{if(F)throw O}}return E}return function(k,D){if(Array.isArray(k))return k;if(Symbol.iterator in Object(k))return N(k,D);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function N(k,D){for(var E=0;E<D.length;E++){var I=D[E];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(k,I.key,I)}}return function(k,D,E){return D&&N(k.prototype,D),E&&N(k,E),k}}(),b=_(2),d=h(b),u=_(0),n=h(u),s=_(5),i=h(s),r=_(10),o=h(r),a=_(9),l=h(a);function h(N){return N&&N.__esModule?N:{default:N}}function p(N,k,D){return k in N?Object.defineProperty(N,k,{value:D,enumerable:!0,configurable:!0,writable:!0}):N[k]=D,N}function w(N,k){if(!(N instanceof k))throw new TypeError("Cannot call a class as a function")}function v(N,k){if(!N)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k&&(typeof k=="object"||typeof k=="function")?k:N}function x(N,k){if(typeof k!="function"&&k!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof k);N.prototype=Object.create(k&&k.prototype,{constructor:{value:N,enumerable:!1,writable:!0,configurable:!0}}),k&&(Object.setPrototypeOf?Object.setPrototypeOf(N,k):N.__proto__=k)}var y=(0,o.default)("quill:toolbar"),M=function(N){x(k,N);function k(D,E){w(this,k);var I=v(this,(k.__proto__||Object.getPrototypeOf(k)).call(this,D,E));if(Array.isArray(I.options.container)){var F=document.createElement("div");L(F,I.options.container),D.container.parentNode.insertBefore(F,D.container),I.container=F}else typeof I.options.container=="string"?I.container=document.querySelector(I.options.container):I.container=I.options.container;if(!(I.container instanceof HTMLElement)){var O;return O=y.error("Container required for toolbar",I.options),v(I,O)}return I.container.classList.add("ql-toolbar"),I.controls=[],I.handlers={},Object.keys(I.options.handlers).forEach(function(V){I.addHandler(V,I.options.handlers[V])}),[].forEach.call(I.container.querySelectorAll("button, select"),function(V){I.attach(V)}),I.quill.on(i.default.events.EDITOR_CHANGE,function(V,W){V===i.default.events.SELECTION_CHANGE&&I.update(W)}),I.quill.on(i.default.events.SCROLL_OPTIMIZE,function(){var V=I.quill.selection.getRange(),W=m(V,1),j=W[0];I.update(j)}),I}return A(k,[{key:"addHandler",value:function(E,I){this.handlers[E]=I}},{key:"attach",value:function(E){var I=this,F=[].find.call(E.classList,function(V){return V.indexOf("ql-")===0});if(!!F){if(F=F.slice("ql-".length),E.tagName==="BUTTON"&&E.setAttribute("type","button"),this.handlers[F]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[F]==null){y.warn("ignoring attaching to disabled format",F,E);return}if(n.default.query(F)==null){y.warn("ignoring attaching to nonexistent format",F,E);return}}var O=E.tagName==="SELECT"?"change":"click";E.addEventListener(O,function(V){var W=void 0;if(E.tagName==="SELECT"){if(E.selectedIndex<0)return;var j=E.options[E.selectedIndex];j.hasAttribute("selected")?W=!1:W=j.value||!1}else E.classList.contains("ql-active")?W=!1:W=E.value||!E.hasAttribute("value"),V.preventDefault();I.quill.focus();var B=I.quill.selection.getRange(),$=m(B,1),P=$[0];if(I.handlers[F]!=null)I.handlers[F].call(I,W);else if(n.default.query(F).prototype instanceof n.default.Embed){if(W=prompt("Enter "+F),!W)return;I.quill.updateContents(new d.default().retain(P.index).delete(P.length).insert(p({},F,W)),i.default.sources.USER)}else I.quill.format(F,W,i.default.sources.USER);I.update(P)}),this.controls.push([F,E])}}},{key:"update",value:function(E){var I=E==null?{}:this.quill.getFormat(E);this.controls.forEach(function(F){var O=m(F,2),V=O[0],W=O[1];if(W.tagName==="SELECT"){var j=void 0;if(E==null)j=null;else if(I[V]==null)j=W.querySelector("option[selected]");else if(!Array.isArray(I[V])){var B=I[V];typeof B=="string"&&(B=B.replace(/\"/g,'\\"')),j=W.querySelector('option[value="'+B+'"]')}j==null?(W.value="",W.selectedIndex=-1):j.selected=!0}else if(E==null)W.classList.remove("ql-active");else if(W.hasAttribute("value")){var $=I[V]===W.getAttribute("value")||I[V]!=null&&I[V].toString()===W.getAttribute("value")||I[V]==null&&!W.getAttribute("value");W.classList.toggle("ql-active",$)}else W.classList.toggle("ql-active",I[V]!=null)})}}]),k}(l.default);M.DEFAULTS={};function T(N,k,D){var E=document.createElement("button");E.setAttribute("type","button"),E.classList.add("ql-"+k),D!=null&&(E.value=D),N.appendChild(E)}function L(N,k){Array.isArray(k[0])||(k=[k]),k.forEach(function(D){var E=document.createElement("span");E.classList.add("ql-formats"),D.forEach(function(I){if(typeof I=="string")T(E,I);else{var F=Object.keys(I)[0],O=I[F];Array.isArray(O)?S(E,F,O):T(E,F,O)}}),N.appendChild(E)})}function S(N,k,D){var E=document.createElement("select");E.classList.add("ql-"+k),D.forEach(function(I){var F=document.createElement("option");I!==!1?F.setAttribute("value",I):F.setAttribute("selected","selected"),E.appendChild(F)}),N.appendChild(E)}M.DEFAULTS={container:null,handlers:{clean:function(){var k=this,D=this.quill.getSelection();if(D!=null)if(D.length==0){var E=this.quill.getFormat();Object.keys(E).forEach(function(I){n.default.query(I,n.default.Scope.INLINE)!=null&&k.quill.format(I,!1)})}else this.quill.removeFormat(D,i.default.sources.USER)},direction:function(k){var D=this.quill.getFormat().align;k==="rtl"&&D==null?this.quill.format("align","right",i.default.sources.USER):!k&&D==="right"&&this.quill.format("align",!1,i.default.sources.USER),this.quill.format("direction",k,i.default.sources.USER)},indent:function(k){var D=this.quill.getSelection(),E=this.quill.getFormat(D),I=parseInt(E.indent||0);if(k==="+1"||k==="-1"){var F=k==="+1"?1:-1;E.direction==="rtl"&&(F*=-1),this.quill.format("indent",I+F,i.default.sources.USER)}},link:function(k){k===!0&&(k=prompt("Enter link URL:")),this.quill.format("link",k,i.default.sources.USER)},list:function(k){var D=this.quill.getSelection(),E=this.quill.getFormat(D);k==="check"?E.list==="checked"||E.list==="unchecked"?this.quill.format("list",!1,i.default.sources.USER):this.quill.format("list","unchecked",i.default.sources.USER):this.quill.format("list",k,i.default.sources.USER)}}},f.default=M,f.addControls=L},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=function(){function o(a,l){for(var h=0;h<l.length;h++){var p=l[h];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(a,p.key,p)}}return function(a,l,h){return l&&o(a.prototype,l),h&&o(a,h),a}}(),A=function o(a,l,h){a===null&&(a=Function.prototype);var p=Object.getOwnPropertyDescriptor(a,l);if(p===void 0){var w=Object.getPrototypeOf(a);return w===null?void 0:o(w,l,h)}else{if("value"in p)return p.value;var v=p.get;return v===void 0?void 0:v.call(h)}},b=_(28),d=u(b);function u(o){return o&&o.__esModule?o:{default:o}}function n(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")}function s(o,a){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:o}function i(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);o.prototype=Object.create(a&&a.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(o,a):o.__proto__=a)}var r=function(o){i(a,o);function a(l,h){n(this,a);var p=s(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,l));return p.label.innerHTML=h,p.container.classList.add("ql-color-picker"),[].slice.call(p.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(w){w.classList.add("ql-primary")}),p}return m(a,[{key:"buildItem",value:function(h){var p=A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"buildItem",this).call(this,h);return p.style.backgroundColor=h.getAttribute("value")||"",p}},{key:"selectItem",value:function(h,p){A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"selectItem",this).call(this,h,p);var w=this.label.querySelector(".ql-color-label"),v=h&&h.getAttribute("data-value")||"";w&&(w.tagName==="line"?w.style.stroke=v:w.style.fill=v)}}]),a}(d.default);f.default=r},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=function(){function o(a,l){for(var h=0;h<l.length;h++){var p=l[h];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(a,p.key,p)}}return function(a,l,h){return l&&o(a.prototype,l),h&&o(a,h),a}}(),A=function o(a,l,h){a===null&&(a=Function.prototype);var p=Object.getOwnPropertyDescriptor(a,l);if(p===void 0){var w=Object.getPrototypeOf(a);return w===null?void 0:o(w,l,h)}else{if("value"in p)return p.value;var v=p.get;return v===void 0?void 0:v.call(h)}},b=_(28),d=u(b);function u(o){return o&&o.__esModule?o:{default:o}}function n(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")}function s(o,a){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:o}function i(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);o.prototype=Object.create(a&&a.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(o,a):o.__proto__=a)}var r=function(o){i(a,o);function a(l,h){n(this,a);var p=s(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,l));return p.container.classList.add("ql-icon-picker"),[].forEach.call(p.container.querySelectorAll(".ql-picker-item"),function(w){w.innerHTML=h[w.getAttribute("data-value")||""]}),p.defaultItem=p.container.querySelector(".ql-selected"),p.selectItem(p.defaultItem),p}return m(a,[{key:"selectItem",value:function(h,p){A(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"selectItem",this).call(this,h,p),h=h||this.defaultItem,this.label.innerHTML=h.innerHTML}}]),a}(d.default);f.default=r},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=function(){function d(u,n){for(var s=0;s<n.length;s++){var i=n[s];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(u,i.key,i)}}return function(u,n,s){return n&&d(u.prototype,n),s&&d(u,s),u}}();function A(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}var b=function(){function d(u,n){var s=this;A(this,d),this.quill=u,this.boundsContainer=n||document.body,this.root=u.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){s.root.style.marginTop=-1*s.quill.root.scrollTop+"px"}),this.hide()}return m(d,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(n){var s=n.left+n.width/2-this.root.offsetWidth/2,i=n.bottom+this.quill.root.scrollTop;this.root.style.left=s+"px",this.root.style.top=i+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),o=this.root.getBoundingClientRect(),a=0;if(o.right>r.right&&(a=r.right-o.right,this.root.style.left=s+a+"px"),o.left<r.left&&(a=r.left-o.left,this.root.style.left=s+a+"px"),o.bottom>r.bottom){var l=o.bottom-o.top,h=n.bottom-n.top+l;this.root.style.top=i-h+"px",this.root.classList.add("ql-flip")}return a}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),d}();f.default=b},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=function(){function S(N,k){var D=[],E=!0,I=!1,F=void 0;try{for(var O=N[Symbol.iterator](),V;!(E=(V=O.next()).done)&&(D.push(V.value),!(k&&D.length===k));E=!0);}catch(W){I=!0,F=W}finally{try{!E&&O.return&&O.return()}finally{if(I)throw F}}return D}return function(N,k){if(Array.isArray(N))return N;if(Symbol.iterator in Object(N))return S(N,k);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function S(N,k,D){N===null&&(N=Function.prototype);var E=Object.getOwnPropertyDescriptor(N,k);if(E===void 0){var I=Object.getPrototypeOf(N);return I===null?void 0:S(I,k,D)}else{if("value"in E)return E.value;var F=E.get;return F===void 0?void 0:F.call(D)}},b=function(){function S(N,k){for(var D=0;D<k.length;D++){var E=k[D];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(N,E.key,E)}}return function(N,k,D){return k&&S(N.prototype,k),D&&S(N,D),N}}(),d=_(3),u=w(d),n=_(8),s=w(n),i=_(43),r=w(i),o=_(27),a=w(o),l=_(15),h=_(41),p=w(h);function w(S){return S&&S.__esModule?S:{default:S}}function v(S,N){if(!(S instanceof N))throw new TypeError("Cannot call a class as a function")}function x(S,N){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N&&(typeof N=="object"||typeof N=="function")?N:S}function y(S,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof N);S.prototype=Object.create(N&&N.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),N&&(Object.setPrototypeOf?Object.setPrototypeOf(S,N):S.__proto__=N)}var M=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],T=function(S){y(N,S);function N(k,D){v(this,N),D.modules.toolbar!=null&&D.modules.toolbar.container==null&&(D.modules.toolbar.container=M);var E=x(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,k,D));return E.quill.container.classList.add("ql-snow"),E}return b(N,[{key:"extendToolbar",value:function(D){D.container.classList.add("ql-snow"),this.buildButtons([].slice.call(D.container.querySelectorAll("button")),p.default),this.buildPickers([].slice.call(D.container.querySelectorAll("select")),p.default),this.tooltip=new L(this.quill,this.options.bounds),D.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(E,I){D.handlers.link.call(D,!I.format.link)})}}]),N}(r.default);T.DEFAULTS=(0,u.default)(!0,{},r.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(N){if(N){var k=this.quill.getSelection();if(k==null||k.length==0)return;var D=this.quill.getText(k);/^\S+@\S+\.\S+$/.test(D)&&D.indexOf("mailto:")!==0&&(D="mailto:"+D);var E=this.quill.theme.tooltip;E.edit("link",D)}else this.quill.format("link",!1)}}}}});var L=function(S){y(N,S);function N(k,D){v(this,N);var E=x(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,k,D));return E.preview=E.root.querySelector("a.ql-preview"),E}return b(N,[{key:"listen",value:function(){var D=this;A(N.prototype.__proto__||Object.getPrototypeOf(N.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(E){D.root.classList.contains("ql-editing")?D.save():D.edit("link",D.preview.textContent),E.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(E){if(D.linkRange!=null){var I=D.linkRange;D.restoreFocus(),D.quill.formatText(I,"link",!1,s.default.sources.USER),delete D.linkRange}E.preventDefault(),D.hide()}),this.quill.on(s.default.events.SELECTION_CHANGE,function(E,I,F){if(E!=null){if(E.length===0&&F===s.default.sources.USER){var O=D.quill.scroll.descendant(a.default,E.index),V=m(O,2),W=V[0],j=V[1];if(W!=null){D.linkRange=new l.Range(E.index-j,W.length());var B=a.default.formats(W.domNode);D.preview.textContent=B,D.preview.setAttribute("href",B),D.show(),D.position(D.quill.getBounds(D.linkRange));return}}else delete D.linkRange;D.hide()}})}},{key:"show",value:function(){A(N.prototype.__proto__||Object.getPrototypeOf(N.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),N}(i.BaseTooltip);L.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),f.default=T},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=_(29),A=ue(m),b=_(36),d=_(38),u=_(64),n=_(65),s=ue(n),i=_(66),r=ue(i),o=_(67),a=ue(o),l=_(37),h=_(26),p=_(39),w=_(40),v=_(56),x=ue(v),y=_(68),M=ue(y),T=_(27),L=ue(T),S=_(69),N=ue(S),k=_(70),D=ue(k),E=_(71),I=ue(E),F=_(72),O=ue(F),V=_(73),W=ue(V),j=_(13),B=ue(j),$=_(74),P=ue($),H=_(75),G=ue(H),U=_(57),q=ue(U),Y=_(41),J=ue(Y),te=_(28),se=ue(te),ge=_(59),me=ue(ge),ve=_(60),xe=ue(ve),Ve=_(61),Fe=ue(Ve),oe=_(108),le=ue(oe),pe=_(62),fe=ue(pe);function ue(Ce){return Ce&&Ce.__esModule?Ce:{default:Ce}}A.default.register({"attributors/attribute/direction":d.DirectionAttribute,"attributors/class/align":b.AlignClass,"attributors/class/background":l.BackgroundClass,"attributors/class/color":h.ColorClass,"attributors/class/direction":d.DirectionClass,"attributors/class/font":p.FontClass,"attributors/class/size":w.SizeClass,"attributors/style/align":b.AlignStyle,"attributors/style/background":l.BackgroundStyle,"attributors/style/color":h.ColorStyle,"attributors/style/direction":d.DirectionStyle,"attributors/style/font":p.FontStyle,"attributors/style/size":w.SizeStyle},!0),A.default.register({"formats/align":b.AlignClass,"formats/direction":d.DirectionClass,"formats/indent":u.IndentClass,"formats/background":l.BackgroundStyle,"formats/color":h.ColorStyle,"formats/font":p.FontClass,"formats/size":w.SizeClass,"formats/blockquote":s.default,"formats/code-block":B.default,"formats/header":r.default,"formats/list":a.default,"formats/bold":x.default,"formats/code":j.Code,"formats/italic":M.default,"formats/link":L.default,"formats/script":N.default,"formats/strike":D.default,"formats/underline":I.default,"formats/image":O.default,"formats/video":W.default,"formats/list/item":o.ListItem,"modules/formula":P.default,"modules/syntax":G.default,"modules/toolbar":q.default,"themes/bubble":le.default,"themes/snow":fe.default,"ui/icons":J.default,"ui/picker":se.default,"ui/icon-picker":xe.default,"ui/color-picker":me.default,"ui/tooltip":Fe.default},!0),f.default=A.default},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0}),f.IndentClass=void 0;var m=function(){function a(l,h){for(var p=0;p<h.length;p++){var w=h[p];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(l,w.key,w)}}return function(l,h,p){return h&&a(l.prototype,h),p&&a(l,p),l}}(),A=function a(l,h,p){l===null&&(l=Function.prototype);var w=Object.getOwnPropertyDescriptor(l,h);if(w===void 0){var v=Object.getPrototypeOf(l);return v===null?void 0:a(v,h,p)}else{if("value"in w)return w.value;var x=w.get;return x===void 0?void 0:x.call(p)}},b=_(0),d=u(b);function u(a){return a&&a.__esModule?a:{default:a}}function n(a,l){if(!(a instanceof l))throw new TypeError("Cannot call a class as a function")}function s(a,l){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:a}function i(a,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);a.prototype=Object.create(l&&l.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(a,l):a.__proto__=l)}var r=function(a){i(l,a);function l(){return n(this,l),s(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return m(l,[{key:"add",value:function(p,w){if(w==="+1"||w==="-1"){var v=this.value(p)||0;w=w==="+1"?v+1:v-1}return w===0?(this.remove(p),!0):A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"add",this).call(this,p,w)}},{key:"canAdd",value:function(p,w){return A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"canAdd",this).call(this,p,w)||A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"canAdd",this).call(this,p,parseInt(w))}},{key:"value",value:function(p){return parseInt(A(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"value",this).call(this,p))||void 0}}]),l}(d.default.Attributor.Class),o=new r("indent","ql-indent",{scope:d.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});f.IndentClass=o},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=_(4),A=b(m);function b(i){return i&&i.__esModule?i:{default:i}}function d(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function u(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function n(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var s=function(i){n(r,i);function r(){return d(this,r),u(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(A.default);s.blotName="blockquote",s.tagName="blockquote",f.default=s},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=function(){function r(o,a){for(var l=0;l<a.length;l++){var h=a[l];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(o,h.key,h)}}return function(o,a,l){return a&&r(o.prototype,a),l&&r(o,l),o}}(),A=_(4),b=d(A);function d(r){return r&&r.__esModule?r:{default:r}}function u(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")}function n(r,o){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o&&(typeof o=="object"||typeof o=="function")?o:r}function s(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(r,o):r.__proto__=o)}var i=function(r){s(o,r);function o(){return u(this,o),n(this,(o.__proto__||Object.getPrototypeOf(o)).apply(this,arguments))}return m(o,null,[{key:"formats",value:function(l){return this.tagName.indexOf(l.tagName)+1}}]),o}(b.default);i.blotName="header",i.tagName=["H1","H2","H3","H4","H5","H6"],f.default=i},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.ListItem=void 0;var m=function(){function v(x,y){for(var M=0;M<y.length;M++){var T=y[M];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(x,T.key,T)}}return function(x,y,M){return y&&v(x.prototype,y),M&&v(x,M),x}}(),A=function v(x,y,M){x===null&&(x=Function.prototype);var T=Object.getOwnPropertyDescriptor(x,y);if(T===void 0){var L=Object.getPrototypeOf(x);return L===null?void 0:v(L,y,M)}else{if("value"in T)return T.value;var S=T.get;return S===void 0?void 0:S.call(M)}},b=_(0),d=r(b),u=_(4),n=r(u),s=_(25),i=r(s);function r(v){return v&&v.__esModule?v:{default:v}}function o(v,x,y){return x in v?Object.defineProperty(v,x,{value:y,enumerable:!0,configurable:!0,writable:!0}):v[x]=y,v}function a(v,x){if(!(v instanceof x))throw new TypeError("Cannot call a class as a function")}function l(v,x){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:v}function h(v,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);v.prototype=Object.create(x&&x.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(v,x):v.__proto__=x)}var p=function(v){h(x,v);function x(){return a(this,x),l(this,(x.__proto__||Object.getPrototypeOf(x)).apply(this,arguments))}return m(x,[{key:"format",value:function(M,T){M===w.blotName&&!T?this.replaceWith(d.default.create(this.statics.scope)):A(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"format",this).call(this,M,T)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():A(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(M,T){return this.parent.isolate(this.offset(this.parent),this.length()),M===this.parent.statics.blotName?(this.parent.replaceWith(M,T),this):(this.parent.unwrap(),A(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"replaceWith",this).call(this,M,T))}}],[{key:"formats",value:function(M){return M.tagName===this.tagName?void 0:A(x.__proto__||Object.getPrototypeOf(x),"formats",this).call(this,M)}}]),x}(n.default);p.blotName="list-item",p.tagName="LI";var w=function(v){h(x,v),m(x,null,[{key:"create",value:function(M){var T=M==="ordered"?"OL":"UL",L=A(x.__proto__||Object.getPrototypeOf(x),"create",this).call(this,T);return(M==="checked"||M==="unchecked")&&L.setAttribute("data-checked",M==="checked"),L}},{key:"formats",value:function(M){if(M.tagName==="OL")return"ordered";if(M.tagName==="UL")return M.hasAttribute("data-checked")?M.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function x(y){a(this,x);var M=l(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,y)),T=function(S){if(S.target.parentNode===y){var N=M.statics.formats(y),k=d.default.find(S.target);N==="checked"?k.format("list","unchecked"):N==="unchecked"&&k.format("list","checked")}};return y.addEventListener("touchstart",T),y.addEventListener("mousedown",T),M}return m(x,[{key:"format",value:function(M,T){this.children.length>0&&this.children.tail.format(M,T)}},{key:"formats",value:function(){return o({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(M,T){if(M instanceof p)A(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"insertBefore",this).call(this,M,T);else{var L=T==null?this.length():T.offset(this),S=this.split(L);S.parent.insertBefore(M,S)}}},{key:"optimize",value:function(M){A(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"optimize",this).call(this,M);var T=this.next;T!=null&&T.prev===this&&T.statics.blotName===this.statics.blotName&&T.domNode.tagName===this.domNode.tagName&&T.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(T.moveChildren(this),T.remove())}},{key:"replace",value:function(M){if(M.statics.blotName!==this.statics.blotName){var T=d.default.create(this.statics.defaultChild);M.moveChildren(T),this.appendChild(T)}A(x.prototype.__proto__||Object.getPrototypeOf(x.prototype),"replace",this).call(this,M)}}]),x}(i.default);w.blotName="list",w.scope=d.default.Scope.BLOCK_BLOT,w.tagName=["OL","UL"],w.defaultChild="list-item",w.allowedChildren=[p],f.ListItem=p,f.default=w},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=_(56),A=b(m);function b(i){return i&&i.__esModule?i:{default:i}}function d(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function u(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function n(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var s=function(i){n(r,i);function r(){return d(this,r),u(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(A.default);s.blotName="italic",s.tagName=["EM","I"],f.default=s},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=function(){function o(a,l){for(var h=0;h<l.length;h++){var p=l[h];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(a,p.key,p)}}return function(a,l,h){return l&&o(a.prototype,l),h&&o(a,h),a}}(),A=function o(a,l,h){a===null&&(a=Function.prototype);var p=Object.getOwnPropertyDescriptor(a,l);if(p===void 0){var w=Object.getPrototypeOf(a);return w===null?void 0:o(w,l,h)}else{if("value"in p)return p.value;var v=p.get;return v===void 0?void 0:v.call(h)}},b=_(6),d=u(b);function u(o){return o&&o.__esModule?o:{default:o}}function n(o,a){if(!(o instanceof a))throw new TypeError("Cannot call a class as a function")}function s(o,a){if(!o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:o}function i(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);o.prototype=Object.create(a&&a.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(o,a):o.__proto__=a)}var r=function(o){i(a,o);function a(){return n(this,a),s(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return m(a,null,[{key:"create",value:function(h){return h==="super"?document.createElement("sup"):h==="sub"?document.createElement("sub"):A(a.__proto__||Object.getPrototypeOf(a),"create",this).call(this,h)}},{key:"formats",value:function(h){if(h.tagName==="SUB")return"sub";if(h.tagName==="SUP")return"super"}}]),a}(d.default);r.blotName="script",r.tagName=["SUB","SUP"],f.default=r},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=_(6),A=b(m);function b(i){return i&&i.__esModule?i:{default:i}}function d(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function u(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function n(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var s=function(i){n(r,i);function r(){return d(this,r),u(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(A.default);s.blotName="strike",s.tagName="S",f.default=s},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=_(6),A=b(m);function b(i){return i&&i.__esModule?i:{default:i}}function d(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function u(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function n(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var s=function(i){n(r,i);function r(){return d(this,r),u(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(A.default);s.blotName="underline",s.tagName="U",f.default=s},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=function(){function l(h,p){for(var w=0;w<p.length;w++){var v=p[w];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(h,v.key,v)}}return function(h,p,w){return p&&l(h.prototype,p),w&&l(h,w),h}}(),A=function l(h,p,w){h===null&&(h=Function.prototype);var v=Object.getOwnPropertyDescriptor(h,p);if(v===void 0){var x=Object.getPrototypeOf(h);return x===null?void 0:l(x,p,w)}else{if("value"in v)return v.value;var y=v.get;return y===void 0?void 0:y.call(w)}},b=_(0),d=n(b),u=_(27);function n(l){return l&&l.__esModule?l:{default:l}}function s(l,h){if(!(l instanceof h))throw new TypeError("Cannot call a class as a function")}function i(l,h){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:l}function r(l,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);l.prototype=Object.create(h&&h.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(l,h):l.__proto__=h)}var o=["alt","height","width"],a=function(l){r(h,l);function h(){return s(this,h),i(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return m(h,[{key:"format",value:function(w,v){o.indexOf(w)>-1?v?this.domNode.setAttribute(w,v):this.domNode.removeAttribute(w):A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"format",this).call(this,w,v)}}],[{key:"create",value:function(w){var v=A(h.__proto__||Object.getPrototypeOf(h),"create",this).call(this,w);return typeof w=="string"&&v.setAttribute("src",this.sanitize(w)),v}},{key:"formats",value:function(w){return o.reduce(function(v,x){return w.hasAttribute(x)&&(v[x]=w.getAttribute(x)),v},{})}},{key:"match",value:function(w){return/\.(jpe?g|gif|png)$/.test(w)||/^data:image\/.+;base64/.test(w)}},{key:"sanitize",value:function(w){return(0,u.sanitize)(w,["http","https","data"])?w:"//:0"}},{key:"value",value:function(w){return w.getAttribute("src")}}]),h}(d.default.Embed);a.blotName="image",a.tagName="IMG",f.default=a},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0});var m=function(){function l(h,p){for(var w=0;w<p.length;w++){var v=p[w];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(h,v.key,v)}}return function(h,p,w){return p&&l(h.prototype,p),w&&l(h,w),h}}(),A=function l(h,p,w){h===null&&(h=Function.prototype);var v=Object.getOwnPropertyDescriptor(h,p);if(v===void 0){var x=Object.getPrototypeOf(h);return x===null?void 0:l(x,p,w)}else{if("value"in v)return v.value;var y=v.get;return y===void 0?void 0:y.call(w)}},b=_(4),d=_(27),u=n(d);function n(l){return l&&l.__esModule?l:{default:l}}function s(l,h){if(!(l instanceof h))throw new TypeError("Cannot call a class as a function")}function i(l,h){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:l}function r(l,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);l.prototype=Object.create(h&&h.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(l,h):l.__proto__=h)}var o=["height","width"],a=function(l){r(h,l);function h(){return s(this,h),i(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return m(h,[{key:"format",value:function(w,v){o.indexOf(w)>-1?v?this.domNode.setAttribute(w,v):this.domNode.removeAttribute(w):A(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"format",this).call(this,w,v)}}],[{key:"create",value:function(w){var v=A(h.__proto__||Object.getPrototypeOf(h),"create",this).call(this,w);return v.setAttribute("frameborder","0"),v.setAttribute("allowfullscreen",!0),v.setAttribute("src",this.sanitize(w)),v}},{key:"formats",value:function(w){return o.reduce(function(v,x){return w.hasAttribute(x)&&(v[x]=w.getAttribute(x)),v},{})}},{key:"sanitize",value:function(w){return u.default.sanitize(w)}},{key:"value",value:function(w){return w.getAttribute("src")}}]),h}(b.BlockEmbed);a.blotName="video",a.className="ql-video",a.tagName="IFRAME",f.default=a},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.FormulaBlot=void 0;var m=function(){function w(v,x){for(var y=0;y<x.length;y++){var M=x[y];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(v,M.key,M)}}return function(v,x,y){return x&&w(v.prototype,x),y&&w(v,y),v}}(),A=function w(v,x,y){v===null&&(v=Function.prototype);var M=Object.getOwnPropertyDescriptor(v,x);if(M===void 0){var T=Object.getPrototypeOf(v);return T===null?void 0:w(T,x,y)}else{if("value"in M)return M.value;var L=M.get;return L===void 0?void 0:L.call(y)}},b=_(35),d=r(b),u=_(5),n=r(u),s=_(9),i=r(s);function r(w){return w&&w.__esModule?w:{default:w}}function o(w,v){if(!(w instanceof v))throw new TypeError("Cannot call a class as a function")}function a(w,v){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:w}function l(w,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);w.prototype=Object.create(v&&v.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(w,v):w.__proto__=v)}var h=function(w){l(v,w);function v(){return o(this,v),a(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return m(v,null,[{key:"create",value:function(y){var M=A(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,y);return typeof y=="string"&&(window.katex.render(y,M,{throwOnError:!1,errorColor:"#f00"}),M.setAttribute("data-value",y)),M}},{key:"value",value:function(y){return y.getAttribute("data-value")}}]),v}(d.default);h.blotName="formula",h.className="ql-formula",h.tagName="SPAN";var p=function(w){l(v,w),m(v,null,[{key:"register",value:function(){n.default.register(h,!0)}}]);function v(){o(this,v);var x=a(this,(v.__proto__||Object.getPrototypeOf(v)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return x}return v}(i.default);f.FormulaBlot=h,f.default=p},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.CodeToken=f.CodeBlock=void 0;var m=function(){function y(M,T){for(var L=0;L<T.length;L++){var S=T[L];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(M,S.key,S)}}return function(M,T,L){return T&&y(M.prototype,T),L&&y(M,L),M}}(),A=function y(M,T,L){M===null&&(M=Function.prototype);var S=Object.getOwnPropertyDescriptor(M,T);if(S===void 0){var N=Object.getPrototypeOf(M);return N===null?void 0:y(N,T,L)}else{if("value"in S)return S.value;var k=S.get;return k===void 0?void 0:k.call(L)}},b=_(0),d=a(b),u=_(5),n=a(u),s=_(9),i=a(s),r=_(13),o=a(r);function a(y){return y&&y.__esModule?y:{default:y}}function l(y,M){if(!(y instanceof M))throw new TypeError("Cannot call a class as a function")}function h(y,M){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M&&(typeof M=="object"||typeof M=="function")?M:y}function p(y,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof M);y.prototype=Object.create(M&&M.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(y,M):y.__proto__=M)}var w=function(y){p(M,y);function M(){return l(this,M),h(this,(M.__proto__||Object.getPrototypeOf(M)).apply(this,arguments))}return m(M,[{key:"replaceWith",value:function(L){this.domNode.textContent=this.domNode.textContent,this.attach(),A(M.prototype.__proto__||Object.getPrototypeOf(M.prototype),"replaceWith",this).call(this,L)}},{key:"highlight",value:function(L){var S=this.domNode.textContent;this.cachedText!==S&&((S.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=L(S),this.domNode.normalize(),this.attach()),this.cachedText=S)}}]),M}(o.default);w.className="ql-syntax";var v=new d.default.Attributor.Class("token","hljs",{scope:d.default.Scope.INLINE}),x=function(y){p(M,y),m(M,null,[{key:"register",value:function(){n.default.register(v,!0),n.default.register(w,!0)}}]);function M(T,L){l(this,M);var S=h(this,(M.__proto__||Object.getPrototypeOf(M)).call(this,T,L));if(typeof S.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var N=null;return S.quill.on(n.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(N),N=setTimeout(function(){S.highlight(),N=null},S.options.interval)}),S.highlight(),S}return m(M,[{key:"highlight",value:function(){var L=this;if(!this.quill.selection.composing){this.quill.update(n.default.sources.USER);var S=this.quill.getSelection();this.quill.scroll.descendants(w).forEach(function(N){N.highlight(L.options.highlight)}),this.quill.update(n.default.sources.SILENT),S!=null&&this.quill.setSelection(S,n.default.sources.SILENT)}}}]),M}(i.default);x.DEFAULTS={highlight:function(){return window.hljs==null?null:function(y){var M=window.hljs.highlightAuto(y);return M.value}}(),interval:1e3},f.CodeBlock=w,f.CodeToken=v,f.default=x},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,f){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,f){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,f){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,f){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,f){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,f,_){Object.defineProperty(f,"__esModule",{value:!0}),f.default=f.BubbleTooltip=void 0;var m=function M(T,L,S){T===null&&(T=Function.prototype);var N=Object.getOwnPropertyDescriptor(T,L);if(N===void 0){var k=Object.getPrototypeOf(T);return k===null?void 0:M(k,L,S)}else{if("value"in N)return N.value;var D=N.get;return D===void 0?void 0:D.call(S)}},A=function(){function M(T,L){for(var S=0;S<L.length;S++){var N=L[S];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(T,N.key,N)}}return function(T,L,S){return L&&M(T.prototype,L),S&&M(T,S),T}}(),b=_(3),d=l(b),u=_(8),n=l(u),s=_(43),i=l(s),r=_(15),o=_(41),a=l(o);function l(M){return M&&M.__esModule?M:{default:M}}function h(M,T){if(!(M instanceof T))throw new TypeError("Cannot call a class as a function")}function p(M,T){if(!M)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return T&&(typeof T=="object"||typeof T=="function")?T:M}function w(M,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof T);M.prototype=Object.create(T&&T.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(M,T):M.__proto__=T)}var v=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],x=function(M){w(T,M);function T(L,S){h(this,T),S.modules.toolbar!=null&&S.modules.toolbar.container==null&&(S.modules.toolbar.container=v);var N=p(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,L,S));return N.quill.container.classList.add("ql-bubble"),N}return A(T,[{key:"extendToolbar",value:function(S){this.tooltip=new y(this.quill,this.options.bounds),this.tooltip.root.appendChild(S.container),this.buildButtons([].slice.call(S.container.querySelectorAll("button")),a.default),this.buildPickers([].slice.call(S.container.querySelectorAll("select")),a.default)}}]),T}(i.default);x.DEFAULTS=(0,d.default)(!0,{},i.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(T){T?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var y=function(M){w(T,M);function T(L,S){h(this,T);var N=p(this,(T.__proto__||Object.getPrototypeOf(T)).call(this,L,S));return N.quill.on(n.default.events.EDITOR_CHANGE,function(k,D,E,I){if(k===n.default.events.SELECTION_CHANGE)if(D!=null&&D.length>0&&I===n.default.sources.USER){N.show(),N.root.style.left="0px",N.root.style.width="",N.root.style.width=N.root.offsetWidth+"px";var F=N.quill.getLines(D.index,D.length);if(F.length===1)N.position(N.quill.getBounds(D));else{var O=F[F.length-1],V=N.quill.getIndex(O),W=Math.min(O.length()-1,D.index+D.length-V),j=N.quill.getBounds(new r.Range(V,W));N.position(j)}}else document.activeElement!==N.textbox&&N.quill.hasFocus()&&N.hide()}),N}return A(T,[{key:"listen",value:function(){var S=this;m(T.prototype.__proto__||Object.getPrototypeOf(T.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){S.root.classList.remove("ql-editing")}),this.quill.on(n.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!S.root.classList.contains("ql-hidden")){var N=S.quill.getSelection();N!=null&&S.position(S.quill.getBounds(N))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(S){var N=m(T.prototype.__proto__||Object.getPrototypeOf(T.prototype),"position",this).call(this,S),k=this.root.querySelector(".ql-tooltip-arrow");if(k.style.marginLeft="",N===0)return N;k.style.marginLeft=-1*N-k.offsetWidth/2+"px"}}]),T}(s.BaseTooltip);y.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),f.BubbleTooltip=y,f.default=x},function(e,f,_){e.exports=_(63)}]).default})})(quill);var Quill=getDefaultExportFromCjs(quill.exports),quill_core="",quill_snow="",quill_bubble="";const defaultOptions={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert content here ...",readOnly:!1},_sfc_main$Y={name:"quill-editor",props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:()=>({})}},emits:["ready","change","input","blur","focus","update:value"],setup(t,g){const e={editorOption:{},quill:null};let f="";vue.watch(()=>t.value,b=>{e.quill&&(b&&b!==f?(f=b,e.quill.pasteHTML(b)):b||e.quill.setText(""))}),vue.watch(()=>t.content,b=>{e.quill&&(b&&b!==f?(f=b,e.quill.pasteHTML(b)):b||e.quill.setText(""))}),vue.watch(()=>t.disabled,b=>{e.quill&&e.quill.enable(!b)});const _=vue.ref(null),m=(b,d)=>{for(const u in d)!b[u]||u!=="modules"?b[u]=d[u]:m(b[u],d[u]);return b},A=()=>{_.value&&(e.editorOption=m(defaultOptions,t.options),e.editorOption.readOnly=!!t.disabled,e.quill=new Quill(_.value,e.editorOption),t.value&&e.quill.pasteHTML(t.value),e.quill.on("selection-change",b=>{b?g.emit("focus",e.quill):g.emit("blur",e.quill)}),e.quill.on("text-change",()=>{t.disabled&&e.quill.enable(!1);let b=_.value.children[0].innerHTML;const d=e.quill,u=e.quill.getText();b==="<p><br></p>"&&(b=""),f=b,g.emit("update:value",f),g.emit("change",{html:b,text:u,quill:d})}),g.emit("ready",e.quill))};return vue.onBeforeUnmount(()=>{const b=_.value.previousSibling;b&&b.className.indexOf("ql-toolbar")>-1&&b.parentNode.removeChild(b)}),vue.onMounted(()=>{A()}),vue.onUnmounted(()=>{e.quill=null}),{editor:_}}},_hoisted_1$A={ref:"editor"};function _sfc_render$Y(t,g,e,f,_,m){return vue.openBlock(),vue.createElementBlock("section",_hoisted_1$A,null,512)}var quillEditor=_export_sfc$1(_sfc_main$Y,[["render",_sfc_render$Y]]);quillEditor.install=function(t){t.component(quillEditor.name,quillEditor)};var richEditorWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$X={name:"rich-editor-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,quillEditor},data(){return{oldFieldValue:null,fieldModel:null,rules:[],customToolbar:[],valueChangedFlag:!1}},computed:{editorOption(){return{placeholder:this.field.options.placeholder,modules:{}}}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleRichEditorChangeEvent(){this.valueChangedFlag=!0,this.syncUpdateFormModel(this.fieldModel)},handleRichEditorFocusEvent(){this.oldFieldValue=deepClone(this.fieldModel)},handleRichEditorBlurEvent(){this.valueChangedFlag&&(this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.valueChangedFlag=!1)}}};function _sfc_render$X(t,g,e,f,_,m){const A=vue.resolveComponent("quill-editor"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",null,[vue.createVNode(A,{value:_.fieldModel,"onUpdate:value":g[0]||(g[0]=d=>_.fieldModel=d),options:m.editorOption,disabled:t.getDisabled(),onBlur:m.handleRichEditorBlurEvent,onFocus:m.handleRichEditorFocusEvent,onChange:m.handleRichEditorChangeEvent,style:vue.normalizeStyle(e.field.options.contentHeight?`height: ${e.field.options.contentHeight};`:"")},null,8,["value","options","disabled","onBlur","onFocus","onChange","style"])])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var richEditorWidget=_export_sfc$1(_sfc_main$X,[["render",_sfc_render$X],["__scopeId","data-v-6f719fd1"]]),__glob_0_15=Object.freeze(Object.defineProperty({__proto__:null,default:richEditorWidget},Symbol.toStringTag,{value:"Module"}));const _sfc_main$W={name:"select-tree-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[],selectList:null}},computed:{treeSelectProps(){const t=this.field.options||{};return{label:t.labelKey||"label",value:t.valueKey||"value",children:t.childrenKey||"children"}},treeNodeKey(){return this.field.options&&this.field.options.valueKey||"value"},allowDefaultFirstOption(){return!!this.field.options.filterable&&!!this.field.options.allowCreate},remoteMethod(){if(!!this.field.options.remote&&!!this.field.options.onRemoteQuery)return this.remoteQuery}},methods:{handleTreeSelectChange(t){const g=t&&typeof t=="object"&&"isTrusted"in t;this.handleChangeEvent(g?this.fieldModel:t)}},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()}};function _sfc_render$W(t,g,e,f,_,m){const A=vue.resolveComponent("el-tree-select"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":t.subFormRowIndex,"sub-form-col-index":t.subFormColIndex,"sub-form-row-id":t.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(A,{ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[0]||(g[0]=d=>_.fieldModel=d),class:"full-width-input",data:_.selectList||e.field.options.optionItems,props:m.treeSelectProps,"show-checkbox":e.field.options.showCheckbox,"node-key":m.treeNodeKey,"default-expand-all":!0,"expand-on-click-node":!1,disabled:t.getDisabled(),size:t.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":m.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":m.remoteMethod,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:m.handleTreeSelectChange,"check-strictly":e.field.options.checkStrictly||!1},null,8,["modelValue","data","props","show-checkbox","node-key","disabled","size","clearable","filterable","allow-create","default-first-option","automatic-dropdown","multiple","multiple-limit","placeholder","remote","remote-method","onFocus","onBlur","onChange","check-strictly"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var selectTreeWidget=_export_sfc$1(_sfc_main$W,[["render",_sfc_render$W]]),__glob_0_16=Object.freeze(Object.defineProperty({__proto__:null,default:selectTreeWidget},Symbol.toStringTag,{value:"Module"})),selectWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$V={name:"select-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[],selectList:null}},computed:{allowDefaultFirstOption(){return!!this.field.options.filterable&&!!this.field.options.allowCreate},remoteMethod(){if(!!this.field.options.remote&&!!this.field.options.onRemoteQuery)return this.remoteQuery}},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{getOptionItems(){return this.subFormRowId?this.refList[this.field.options.name+"@row"+this.subFormRowId].field.options.optionItems:this.field.options.optionItems?this.field.options.optionItems:[]}}};function _sfc_render$V(t,g,e,f,_,m){const A=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),d=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(d,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(b,{ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[0]||(g[0]=u=>_.fieldModel=u),class:"full-width-input",disabled:t.getDisabled(),size:t.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":m.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":m.remoteMethod,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.selectList||e.field.options.optionItems,u=>(vue.openBlock(),vue.createBlock(A,{key:u.value,label:u.label,value:e.field.options.objectValue?u:u.value,disabled:u.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","disabled","size","clearable","filterable","allow-create","default-first-option","automatic-dropdown","multiple","multiple-limit","placeholder","remote","remote-method","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var selectWidget=_export_sfc$1(_sfc_main$V,[["render",_sfc_render$V],["__scopeId","data-v-63065392"]]),__glob_0_17=Object.freeze(Object.defineProperty({__proto__:null,default:selectWidget},Symbol.toStringTag,{value:"Module"})),sliderWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$U={name:"slider-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$U(t,g,e,f,_,m){const A=vue.resolveComponent("el-slider"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(A,{ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[0]||(g[0]=d=>_.fieldModel=d),disabled:t.getDisabled(),"show-stops":e.field.options.showStops,min:e.field.options.min,max:e.field.options.max,step:e.field.options.step,range:e.field.options.range,vertical:e.field.options.vertical,onChange:t.handleChangeEvent},null,8,["modelValue","disabled","show-stops","min","max","step","range","vertical","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var sliderWidget=_export_sfc$1(_sfc_main$U,[["render",_sfc_render$U],["__scopeId","data-v-c9a31970"]]),__glob_0_18=Object.freeze(Object.defineProperty({__proto__:null,default:sliderWidget},Symbol.toStringTag,{value:"Module"})),slotWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$T={name:"slot-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{StaticContentWrapper},computed:{},beforeCreate(){},created(){this.registerToRefList(),this.initEventHandler(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}},_hoisted_1$z={key:0,class:"slot-title"};function _sfc_render$T(t,g,e,f,_,m){const A=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(A,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass([e.designState?"slot-wrapper-design":"slot-wrapper-render"])},[vue.renderSlot(t.$slots,e.field.options.name,{formModel:t.formModel},void 0,!0),e.designState?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$z,vue.toDisplayString(e.field.options.label),1)):vue.createCommentVNode("",!0)],2)]),_:3},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var slotWidget=_export_sfc$1(_sfc_main$T,[["render",_sfc_render$T],["__scopeId","data-v-95f13fca"]]),__glob_0_19=Object.freeze(Object.defineProperty({__proto__:null,default:slotWidget},Symbol.toStringTag,{value:"Module"})),staticTextWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$S={name:"static-text-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{staticTextStyle(){const t={};return this.field.options.fontSize&&(t.fontSize=this.field.options.fontSize),t},innerStyle(){return{whiteSpace:this.field.options.preWrap?"pre-wrap":"pre",textAlign:this.field.options.textAlign||"left",color:this.field.options.fontColor||void 0}},displayText(){var t;return this.fieldModel!=null&&this.fieldModel!==""?this.fieldModel:(t=this.field.options.textContent)!=null?t:""}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{},watch:{"field.options.textContent":{handler(t){t!==void 0&&(this.fieldModel=t,this.designState||this.syncUpdateFormModel(t))},immediate:!0}}};function _sfc_render$S(t,g,e,f,_,m){const A=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(A,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{ref:"fieldEditor",style:vue.normalizeStyle(m.staticTextStyle)},[vue.createElementVNode("div",{style:vue.normalizeStyle(m.innerStyle)},vue.toDisplayString(_.fieldModel),5)],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var staticTextWidget=_export_sfc$1(_sfc_main$S,[["render",_sfc_render$S],["__scopeId","data-v-760822b6"]]),__glob_0_21=Object.freeze(Object.defineProperty({__proto__:null,default:staticTextWidget},Symbol.toStringTag,{value:"Module"})),switchWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$R={name:"switch-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$R(t,g,e,f,_,m){const A=vue.resolveComponent("el-switch"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(A,{ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[0]||(g[0]=d=>_.fieldModel=d),disabled:t.getDisabled(),"active-text":e.field.options.activeText,"inactive-text":e.field.options.inactiveText,"active-color":e.field.options.activeColor,"inactive-color":e.field.options.inactiveColor,width:e.field.options.switchWidth,onChange:t.handleChangeEvent},null,8,["modelValue","disabled","active-text","inactive-text","active-color","inactive-color","width","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var switchWidget=_export_sfc$1(_sfc_main$R,[["render",_sfc_render$R],["__scopeId","data-v-2e8d2d0a"]]),__glob_0_22=Object.freeze(Object.defineProperty({__proto__:null,default:switchWidget},Symbol.toStringTag,{value:"Module"})),textareaWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$Q={name:"textarea-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$Q(t,g,e,f,_,m){const A=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(A,{type:"textarea",ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[0]||(g[0]=d=>_.fieldModel=d),disabled:t.getDisabled(),readonly:e.field.options.readonly,size:t.widgetSize,placeholder:e.field.options.placeholder,rows:e.field.options.rows,minlength:e.field.options.minLength,maxlength:e.field.options.maxLength,"show-word-limit":e.field.options.showWordLimit,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onInput:t.handleInputCustomEvent,onChange:t.handleChangeEvent},null,8,["modelValue","disabled","readonly","size","placeholder","rows","minlength","maxlength","show-word-limit","onFocus","onBlur","onInput","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var textareaWidget=_export_sfc$1(_sfc_main$Q,[["render",_sfc_render$Q],["__scopeId","data-v-687fedce"]]),__glob_0_23=Object.freeze(Object.defineProperty({__proto__:null,default:textareaWidget},Symbol.toStringTag,{value:"Module"})),timeRangeWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$P={name:"time-range-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$P(t,g,e,f,_,m){const A=vue.resolveComponent("el-time-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""])},[vue.createVNode(A,{ref:"fieldEditor","is-range":"",modelValue:_.fieldModel,"onUpdate:modelValue":g[0]||(g[0]=d=>_.fieldModel=d),class:vue.normalizeClass([e.field.options.autoFullWidth?"full-width-input":""]),disabled:t.getDisabled(),readonly:e.field.options.readonly,size:t.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":"HH:mm:ss","start-placeholder":e.field.options.startPlaceholder||t.i18nt("render.hint.startTimePlaceholder"),"end-placeholder":e.field.options.endPlaceholder||t.i18nt("render.hint.endTimePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},null,8,["modelValue","class","disabled","readonly","size","clearable","editable","format","start-placeholder","end-placeholder","onFocus","onBlur","onChange"])],2)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var timeRangeWidget=_export_sfc$1(_sfc_main$P,[["render",_sfc_render$P],["__scopeId","data-v-f78e9b46"]]),__glob_0_24=Object.freeze(Object.defineProperty({__proto__:null,default:timeRangeWidget},Symbol.toStringTag,{value:"Module"})),timeWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$O={name:"time-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$O(t,g,e,f,_,m){const A=vue.resolveComponent("el-time-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(A,{ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[0]||(g[0]=d=>_.fieldModel=d),class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),disabled:t.getDisabled(),readonly:e.field.options.readonly,size:t.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":"HH:mm:ss",placeholder:e.field.options.placeholder||t.i18nt("render.hint.timePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},null,8,["modelValue","class","disabled","readonly","size","clearable","editable","format","placeholder","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var timeWidget=_export_sfc$1(_sfc_main$O,[["render",_sfc_render$O],["__scopeId","data-v-60cd3a6a"]]),__glob_0_25=Object.freeze(Object.defineProperty({__proto__:null,default:timeWidget},Symbol.toStringTag,{value:"Module"}));let comps={};const modules$2={"./button-widget.vue":__glob_0_0$1,"./cascader-widget.vue":__glob_0_1$2,"./checkbox-widget.vue":__glob_0_2$2,"./color-widget.vue":__glob_0_3$2,"./date-range-widget.vue":__glob_0_4$2,"./date-widget.vue":__glob_0_5$2,"./divider-widget.vue":__glob_0_6$1,"./file-upload-widget.vue":__glob_0_7,"./form-item-wrapper.vue":__glob_0_8,"./html-text-widget.vue":__glob_0_9,"./input-widget.vue":__glob_0_10,"./number-widget.vue":__glob_0_11,"./picture-upload-widget.vue":__glob_0_12,"./radio-widget.vue":__glob_0_13,"./rate-widget.vue":__glob_0_14,"./rich-editor-widget.vue":__glob_0_15,"./select-tree-widget.vue":__glob_0_16,"./select-widget.vue":__glob_0_17,"./slider-widget.vue":__glob_0_18,"./slot-widget.vue":__glob_0_19,"./static-content-wrapper.vue":__glob_0_20,"./static-text-widget.vue":__glob_0_21,"./switch-widget.vue":__glob_0_22,"./textarea-widget.vue":__glob_0_23,"./time-range-widget.vue":__glob_0_24,"./time-widget.vue":__glob_0_25};for(const t in modules$2){let g=modules$2[t].default.name;comps[g]=modules$2[t].default}var gridColItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$N={name:"GridColItem",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:Ie({},comps),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,colHeight:{type:String,default:null},subFormRowIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""},subFormColIndex:{type:Number,default:-1},fieldSchemaData:{type:Array,default:void 0},subFormDisabled:{type:Boolean,default:!1}},inject:["refList","globalModel","getFormConfig","previewState"],data(){return{layoutProps:{span:this.widget&&this.widget.options?this.widget.options.span:12,md:this.widget&&this.widget.options&&this.widget.options.md||12,sm:this.widget&&this.widget.options&&this.widget.options.sm||12,xs:this.widget&&this.widget.options&&this.widget.options.xs||12,offset:this.widget&&this.widget.options&&this.widget.options.offset||0,push:this.widget&&this.widget.options&&this.widget.options.push||0,pull:this.widget&&this.widget.options&&this.widget.options.pull||0}}},computed:{formConfig(){return this.getFormConfig()},colVisible(){return!!(this.widget&&this.widget.options&&!this.widget.options.hidden)},customClass(){return!this.widget||!this.widget.options?"":this.widget.options.customClass||""},colHeightStyle(){return this.colHeight?{height:this.colHeight+"px"}:{}}},created(){this.initLayoutProps(),this.initRefList()},mounted(){var t,g;!this.designState&&((g=(t=this.widget)==null?void 0:t.options)==null?void 0:g.hidden)&&this.$nextTick(()=>this.syncColFieldValidation(!0))},beforeUnmount(){var t,g;this.refList!=null&&((g=(t=this.widget)==null?void 0:t.options)==null?void 0:g.name)&&delete this.refList[this.widget.options.name]},watch:{"widget.options.span":{handler(t){this.layoutProps.span=t},immediate:!0},"widget.options.hidden":{handler(t){this.designState||this.syncColFieldValidation(!!t)}}},methods:{syncColFieldValidation(t){if(!this.widget)return;const g=!!t;traverseFieldWidgetsOfContainer(this.widget,e=>{if(!e.formItemFlag||!e.options||!e.options.name)return;const f=this.getWidgetRef(e.options.name);!f||(g?typeof f.clearFieldRules=="function"&&f.clearFieldRules():typeof f.buildFieldRules=="function"&&f.buildFieldRules())})},setHidden(t){this.widget&&this.widget.options&&(this.widget.options.hidden=!!t,this.syncColFieldValidation(t),this.$nextTick(()=>this.$forceUpdate()))},initLayoutProps(){if(!(!this.widget||!this.widget.options))if(this.widget.options.responsive)if(this.previewState){this.layoutProps.md=void 0,this.layoutProps.sm=void 0,this.layoutProps.xs=void 0;let t=this.formConfig.layoutType;t==="H5"?this.layoutProps.span=this.widget.options.xs||12:t==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12}else this.layoutProps.span=void 0;else this.layoutProps.md=void 0,this.layoutProps.sm=void 0,this.layoutProps.xs=void 0}}},_hoisted_1$y={class:"blank-cell"},_hoisted_2$p={class:"invisible-content"};function _sfc_render$N(t,g,e,f,_,m){const A=vue.resolveComponent("el-col");return e.widget?vue.withDirectives((vue.openBlock(),vue.createBlock(A,vue.mergeProps({key:0,class:["grid-cell",[m.customClass]]},_.layoutProps,{style:m.colHeightStyle,key:e.widget.id}),{default:vue.withCtx(()=>[!!e.widget.widgetList&&e.widget.widgetList.length>0?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.widget.widgetList,(b,d)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[b.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(b)),{widget:b,key:d,"parent-list":e.widget.widgetList,"index-of-parent-list":d,"parent-widget":e.widget,"sub-form-row-index":e.subFormRowIndex,"sub-form-row-id":e.subFormRowId,"sub-form-col-index":e.subFormColIndex,"sub-form-disabled":e.subFormDisabled,disabled:t.disabled||e.widget.options.disabled},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),u=>({name:u,fn:vue.withCtx(n=>[vue.renderSlot(t.$slots,u,vue.mergeProps({ref_for:!0},n),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget","sub-form-row-index","sub-form-row-id","sub-form-col-index","sub-form-disabled","disabled"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(b.type+"-widget"),{field:e.fieldSchemaData&&e.fieldSchemaData[d]?e.fieldSchemaData[d]:b,designer:null,key:e.fieldSchemaData&&e.fieldSchemaData[d]?e.fieldSchemaData[d].id:d,"parent-list":e.widget.widgetList,"index-of-parent-list":d,"parent-widget":e.parentWidget,"sub-form-row-index":e.subFormRowIndex,"sub-form-row-id":e.subFormRowId,"sub-form-disabled":e.subFormDisabled,"sub-form-col-index":e.subFormColIndex},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),u=>({name:u,fn:vue.withCtx(n=>[vue.renderSlot(t.$slots,u,vue.mergeProps({ref_for:!0},n),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-index","sub-form-row-id","sub-form-disabled","sub-form-col-index"]))],64))),256)):(vue.openBlock(),vue.createBlock(A,{key:1},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$y,[vue.createElementVNode("span",_hoisted_2$p,vue.toDisplayString(t.i18nt("render.hint.blankCellContent")),1)])]),_:1}))]),_:3},16,["class","style"])),[[vue.vShow,m.colVisible]]):vue.createCommentVNode("",!0)}var GridColItem=_export_sfc$1(_sfc_main$N,[["render",_sfc_render$N],["__scopeId","data-v-20705201"]]),__glob_0_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:GridColItem},Symbol.toStringTag,{value:"Module"})),containerItemMixin={inject:["getFormConfig","getGlobalDsv"],computed:{customClass(){return!this.widget||!this.widget.options?"":this.widget.options.customClass||""},formModel:{cache:!1,get(){return this.globalModel.formModel}}},mounted(){this.callSetHidden()},methods:{unregisterFromRefList(){if(this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name){let t=this.widget.options.name;delete this.refList[t]}},callSetHidden(){this.widget&&this.widget.options&&this.widget.options.hidden===!0&&this.setHidden(!0)},setHidden(t){if(!this.widget||!this.widget.options)return;this.widget.options.hidden=t;let g=e=>{if(!e||!e.options)return;let f=e.options.name,_=this.getWidgetRef(f);t&&!!_&&!!_.clearFieldRules&&_.clearFieldRules(),!t&&!!_&&!!_.buildFieldRules&&_.buildFieldRules()};traverseFieldWidgetsOfContainer(this.widget,g)},setDisabled(t){!this.widget||!this.widget.options||(this.widget.options.disabled=t)},activeTab(t){t>=0&&t<this.widget.tabs.length&&this.widget.tabs.forEach((g,e)=>{g.options.active=e===t,e===t&&(this.activeTabName=g.options.name)})},disableTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.disabled=!0)},enableTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.disabled=!1)},hideTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.hidden=!0)},showTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.hidden=!1)},setWidgetOption(t,g){this.widget.options.hasOwnProperty(t)&&(this.widget.options[t]=g)},getSubFormRowCount(){return this.rowIdData?this.rowIdData.length:0},disableSubFormRow(t){!Array.isArray(this.rowIdData)||this.rowIdData[t]==null||!this.widget||!this.widget.widgetList||this.widget.widgetList.forEach(g=>{let e=g.options.name+"@row"+this.rowIdData[t],f=this.getWidgetRef(e);f&&f.setDisabled(!0)})},enableSubFormRow(t){!Array.isArray(this.rowIdData)||this.rowIdData[t]==null||!this.widget||!this.widget.widgetList||this.widget.widgetList.forEach(g=>{let e=g.options.name+"@row"+this.rowIdData[t],f=this.getWidgetRef(e);f&&f.setDisabled(!1)})},disableSubForm(){Array.isArray(this.rowIdData)&&this.rowIdData.length>0&&this.rowIdData.forEach((t,g)=>{this.disableSubFormRow(g)}),typeof this.actionDisabled!="undefined"&&(this.actionDisabled=!0),this.widget&&this.widget.options&&(this.widget.options.disabled=!0)},enableSubForm(){Array.isArray(this.rowIdData)&&this.rowIdData.length>0&&this.rowIdData.forEach((t,g)=>{this.enableSubFormRow(g)}),typeof this.actionDisabled!="undefined"&&(this.actionDisabled=!1),this.widget&&this.widget.options&&(this.widget.options.disabled=!1)},resetSubForm(){if(this.widget.type==="sub-form"){let t=this.formModel[this.widget.options.name];t&&(t.splice(0,t.length),this.rowIdData.splice(0,this.rowIdData.length)),this.widget.options.showBlankRow&&this.addSubFormRow()}},getSubFormValues(t=!0){if(this.widget.type==="sub-form")return this.formModel[this.widget.options.name];this.$message.error(this.i18nt("render.hint.nonSubFormType"))},addCssClass(t){this.widget.options.customClass?this.widget.options.customClass.push(t):this.widget.options.customClass=[t]},removeCssClass(t){if(!this.widget.options.customClass)return;let g=-1;this.widget.options.customClass.map((e,f)=>{e===t&&(g=f)}),g>-1&&this.widget.options.customClass.splice(g,1)}}};const _sfc_main$M={name:"vf-grid-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:{ContainerItemWrapper,GridColItem},props:{widget:Object,parentWidget:Object,subFormRowIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""},subFormColIndex:{type:Number,default:-1},fieldSchemaData:{type:Object,default:void 0},subFormDisabled:{type:Boolean,default:!1}},inject:["refList","sfRefList","globalModel"],created(){this.initRefList()},mounted(){},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$M(t,g,e,f,_,m){const A=vue.resolveComponent("grid-col-item"),b=vue.resolveComponent("el-row"),d=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(d,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createBlock(b,{key:e.widget.id,gutter:e.widget&&e.widget.options?e.widget.options.gutter:12,class:vue.normalizeClass(["grid-container",[t.customClass]]),ref:e.widget.id},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.cols||[],(u,n)=>(vue.openBlock(),vue.createBlock(A,{key:u.id,widget:u,"parent-list":e.widget.cols,"index-of-parent-list":n,"parent-widget":e.parentWidget||e.widget,"col-height":e.widget&&e.widget.options?e.widget.options.colHeight:null,"sub-form-row-index":e.subFormRowIndex,"sub-form-row-id":e.subFormRowId,"sub-form-col-index":e.subFormColIndex,"sub-form-disabled":e.subFormDisabled,"field-schema-data":e.fieldSchemaData},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),s=>({name:s,fn:vue.withCtx(i=>[vue.renderSlot(t.$slots,s,vue.mergeProps({ref_for:!0},i))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget","col-height","sub-form-row-index","sub-form-row-id","sub-form-col-index","sub-form-disabled","field-schema-data"]))),128))]),_:3},8,["gutter","class"])),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:3},8,["widget"])}var gridItem=_export_sfc$1(_sfc_main$M,[["render",_sfc_render$M]]),__glob_0_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:gridItem},Symbol.toStringTag,{value:"Module"})),subFormItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$L={name:"sub-form-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:st(Ie({ContainerItemWrapper},comps),{SvgIcon}),props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{rowIdData:[],fieldSchemaData:[],actionDisabled:!1}},created(){this.initRefList(),this.registerSubFormToRefList(),this.initRowIdData(!0),this.initFieldSchemaData(),this.initEventHandler()},mounted(){this.handleSubFormFirstRowAdd()},beforeUnmount(){this.unregisterFromRefList()},methods:{getLabelAlign(t,g){return g.options.labelAlign||t.options.labelAlign},registerSubFormToRefList(){this.widget.type==="sub-form"&&(this.sfRefList[this.widget.options.name]=this)},initRowIdData(t){if(this.widget.type==="sub-form"){this.rowIdData.splice(0,this.rowIdData.length);let g=this.formModel[this.widget.options.name];!!g&&g.length>0&&(g.forEach(()=>{this.rowIdData.push("id"+generateId())}),t&&setTimeout(()=>{this.handleSubFormRowChange(g)},800))}},addToRowIdData(){this.rowIdData.push("id"+generateId())},insertToRowIdData(t){this.rowIdData.splice(t,0,"id"+generateId())},deleteFromRowIdData(t){this.rowIdData.splice(t,1)},getRowIdData(){return this.rowIdData},getWidgetRefOfSubForm(t,g){let e=t+"@row"+this.rowIdData[g];return this.getWidgetRef(e)},initFieldSchemaData(){if(this.widget.type!=="sub-form")return;let t=this.rowIdData.length;if(this.fieldSchemaData.splice(0,this.fieldSchemaData.length),t>0)for(let g=0;g<t;g++){let e=[];this.widget.widgetList.forEach(f=>{e.push(this.cloneFieldSchema(f))}),this.fieldSchemaData.push(e)}},addToFieldSchemaData(t){let g=[];this.widget.widgetList.forEach(e=>{g.push(this.cloneFieldSchema(e))}),t===void 0?this.fieldSchemaData.push(g):this.fieldSchemaData.splice(t,0,g)},deleteFromFieldSchemaData(t){this.fieldSchemaData.splice(t,1)},cloneFieldSchema(t){let g=deepClone(t);return g.id=t.type+generateId(),g},initEventHandler(){this.widget.type==="sub-form"&&this.on$("setFormData",t=>{this.initRowIdData(!1),this.initFieldSchemaData();let g=t[this.widget.options.name]||[];setTimeout(()=>{this.handleSubFormRowChange(g)},800)})},handleSubFormFirstRowAdd(){if(this.widget.type==="sub-form"&&!!this.widget.options.showBlankRow&&this.rowIdData.length===1){let t=this.formModel[this.widget.options.name]||[];this.handleSubFormRowAdd(t,this.rowIdData[0]),this.handleSubFormRowChange(t)}},addSubFormRow(){let t={};this.widget.widgetList.forEach(e=>{e.formItemFlag&&(t[e.options.name]=e.options.defaultValue)});let g=this.formModel[this.widget.options.name]||[];g.push(t),this.addToRowIdData(),this.addToFieldSchemaData(),this.handleSubFormRowAdd(g,this.rowIdData[g.length-1]),this.handleSubFormRowChange(g)},insertSubFormRow(t){let g={};this.widget.widgetList.forEach(f=>{f.formItemFlag&&(g[f.options.name]=f.options.defaultValue)});let e=this.formModel[this.widget.options.name]||[];e.splice(t,0,g),this.insertToRowIdData(t),this.addToFieldSchemaData(t),this.handleSubFormRowInsert(e,this.rowIdData[t]),this.handleSubFormRowChange(e)},deleteSubFormRow(t){this.$confirm(this.i18nt("render.hint.deleteSubFormRow")+"?",this.i18nt("render.hint.prompt"),{confirmButtonText:this.i18nt("render.hint.confirm"),cancelButtonText:this.i18nt("render.hint.cancel")}).then(()=>{let g=this.formModel[this.widget.options.name]||[],e=deepClone(g[t]);g.splice(t,1),this.deleteFromRowIdData(t),this.deleteFromFieldSchemaData(t),this.handleSubFormRowDelete(g,e),this.handleSubFormRowChange(g)}).catch(()=>{})},handleSubFormRowChange(t){this.widget.options.onSubFormRowChange&&new Function("subFormData",this.widget.options.onSubFormRowChange).call(this,t)},handleSubFormRowAdd(t,g){this.widget.options.onSubFormRowAdd&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowAdd).call(this,t,g)},handleSubFormRowInsert(t,g){this.widget.options.onSubFormRowInsert&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowInsert).call(this,t,g)},handleSubFormRowDelete(t,g){this.widget.options.onSubFormRowDelete&&new Function("subFormData","deletedDataRow",this.widget.options.onSubFormRowDelete).call(this,t,g)}}},_hoisted_1$x={class:"action-header-column"},_hoisted_2$o={class:"action-label"},_hoisted_3$k={key:0,class:"custom-label"},_hoisted_4$h=["title"],_hoisted_5$d={class:"sub-form-action-column hide-label"},_hoisted_6$d={class:"action-button-column"},_hoisted_7$b={key:0,class:"row-number-span"};function _sfc_render$L(t,g,e,f,_,m){const A=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-tooltip"),u=vue.resolveComponent("el-row"),n=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(n,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:"sub-form-container"},[vue.createVNode(u,{class:"header-row"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$x,[vue.createElementVNode("span",_hoisted_2$o,vue.toDisplayString(t.i18nt("render.hint.subFormAction")),1),vue.createVNode(b,{disabled:_.actionDisabled,round:"",type:"primary",size:"small",class:"action-button",onClick:m.addSubFormRow,title:t.i18nt("render.hint.subFormAddActionHint")},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("render.hint.subFormAddAction")),1),vue.createVNode(A,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"])]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,s=>(vue.openBlock(),vue.createElementBlock("div",{key:s.id+"thc",class:vue.normalizeClass(["field-header-column",[m.getLabelAlign(e.widget,s),s.options.required?"is-required":""]]),style:vue.normalizeStyle({width:s.options.columnWidth})},[s.options.labelIconClass?(vue.openBlock(),vue.createElementBlock("span",_hoisted_3$k,[s.options.labelIconPosition==="front"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[s.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(d,{content:s.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(A,{"icon-class":s.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"]),vue.createTextVNode(vue.toDisplayString(s.options.label),1)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createVNode(A,{"icon-class":s.options.labelIconClass},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(s.options.label),1)],64))],64)):s.options.labelIconPosition==="rear"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[s.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(vue.toDisplayString(s.options.label),1),vue.createVNode(d,{content:s.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(A,{"icon-class":s.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"])],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(s.options.label),1),vue.createVNode(A,{"icon-class":s.options.labelIconClass},null,8,["icon-class"])],64))],64)):vue.createCommentVNode("",!0)])):(vue.openBlock(),vue.createElementBlock("span",{key:1,title:s.options.labelTooltip},vue.toDisplayString(s.options.label),9,_hoisted_4$h))],6))),128))]),_:1}),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.rowIdData,(s,i)=>(vue.openBlock(),vue.createBlock(u,{class:"sub-form-row",key:s},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_5$d,[vue.createElementVNode("div",_hoisted_6$d,[vue.createVNode(b,{disabled:_.actionDisabled,circle:"",onClick:r=>m.insertSubFormRow(i),title:t.i18nt("render.hint.insertSubFormRow")},{default:vue.withCtx(()=>[vue.createVNode(A,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"]),vue.createVNode(b,{disabled:_.actionDisabled,circle:"",onClick:r=>m.deleteSubFormRow(i),title:t.i18nt("render.hint.deleteSubFormRow")},{default:vue.withCtx(()=>[vue.createVNode(A,{"icon-class":"el-delete"})]),_:1},8,["disabled","onClick","title"]),e.widget.options.showRowNumber?(vue.openBlock(),vue.createElementBlock("span",_hoisted_7$b,"#"+vue.toDisplayString(i+1),1)):vue.createCommentVNode("",!0)])]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,(r,o)=>{var a;return vue.openBlock(),vue.createElementBlock("div",{key:r.id+"tc"+s,class:"sub-form-table-column hide-label",style:vue.normalizeStyle({width:r.options.columnWidth})},[r.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(_.fieldSchemaData[i][o])),{widget:_.fieldSchemaData[i][o],key:_.fieldSchemaData[i][o].id,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget,"sub-form-row-id":s,"sub-form-row-index":i,"sub-form-col-index":o,"field-schema-data":(a=_.fieldSchemaData[i][o])==null?void 0:a.widgetList},null,8,["widget","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index","field-schema-data"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(r.type+"-widget"),{field:_.fieldSchemaData[i][o],key:_.fieldSchemaData[i][o].id,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget,"sub-form-row-id":s,"sub-form-row-index":i,"sub-form-col-index":o},null,8,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index"]))],4)}),128))]),_:2},1024))),128))])),[[vue.vShow,!e.widget.options.hidden]])]),_:1},8,["widget"])}var subFormItem=_export_sfc$1(_sfc_main$L,[["render",_sfc_render$L],["__scopeId","data-v-59c24e8e"]]),__glob_0_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:subFormItem},Symbol.toStringTag,{value:"Module"}));const _sfc_main$K={name:"tab-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:Ie({ContainerItemWrapper},comps),props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{activeTabName:""}},computed:{visibleTabs(){return!this.widget||!this.widget.tabs?[]:this.widget.tabs.filter(t=>t&&t.options&&!t.options.hidden)}},created(){this.initRefList()},mounted(){this.initActiveTab()},beforeUnmount(){this.unregisterFromRefList()},methods:{initActiveTab(){if(!this.widget||this.widget.type!=="tab"||!this.widget.tabs||this.widget.tabs.length===0)return;let t=this.widget.tabs.filter(g=>g&&g.options&&g.options.active===!0);t.length>0?this.activeTabName=t[0].options.name:this.widget.tabs[0]&&this.widget.tabs[0].options&&(this.activeTabName=this.widget.tabs[0].options.name)}}};function _sfc_render$K(t,g,e,f,_,m){const A=vue.resolveComponent("el-tab-pane"),b=vue.resolveComponent("el-tabs"),d=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(d,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:"tab-container"},[vue.createVNode(b,{modelValue:_.activeTabName,"onUpdate:modelValue":g[0]||(g[0]=u=>_.activeTabName=u),type:e.widget&&e.widget.displayType?e.widget.displayType:"default",ref:e.widget.id,class:vue.normalizeClass([t.customClass])},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.visibleTabs,(u,n)=>(vue.openBlock(),vue.createBlock(A,{key:n,label:u.options.label,disabled:u.options.disabled,name:u.options.name},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(u.widgetList,(s,i)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[s.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(s)),{widget:s,key:i,"parent-list":u.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),r=>({name:r,fn:vue.withCtx(o=>[vue.renderSlot(t.$slots,r,vue.mergeProps({ref_for:!0},o))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{field:s,key:i,"parent-list":u.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),r=>({name:r,fn:vue.withCtx(o=>[vue.renderSlot(t.$slots,r,vue.mergeProps({ref_for:!0},o))])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256))]),_:2},1032,["label","disabled","name"]))),128))]),_:3},8,["modelValue","type","class"])])),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:3},8,["widget"])}var tabItem=_export_sfc$1(_sfc_main$K,[["render",_sfc_render$K]]),__glob_0_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:tabItem},Symbol.toStringTag,{value:"Module"})),tableCellItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$J={name:"TableCellItem",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:Ie({},comps),props:{widget:Object,rowIndex:Number,colIndex:Number},inject:["refList","globalModel"],computed:{customClass(){return!this.widget||!this.widget.options?"":this.widget.options.customClass||""}},created(){},methods:{}},_hoisted_1$w=["colspan","rowspan"];function _sfc_render$J(t,g,e,f,_,m){return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["table-cell",[m.customClass]]),colspan:e.widget&&e.widget.options&&e.widget.options.colspan||1,rowspan:e.widget&&e.widget.options&&e.widget.options.rowspan||1,style:vue.normalizeStyle(e.widget&&e.widget.options?{width:e.widget.options.cellWidth+" !important"||"",height:e.widget.options.cellHeight+" !important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"}:{})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,(A,b)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[A.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(A)),{widget:A,key:b,"parent-list":e.widget.widgetList,"index-of-parent-list":b,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),d=>({name:d,fn:vue.withCtx(u=>[vue.renderSlot(t.$slots,d,vue.mergeProps({ref_for:!0},u),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(A.type+"-widget"),{field:A,key:b,"parent-list":e.widget.widgetList,"index-of-parent-list":b,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),d=>({name:d,fn:vue.withCtx(u=>[vue.renderSlot(t.$slots,d,vue.mergeProps({ref_for:!0},u),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256))],14,_hoisted_1$w)}var TableCellItem=_export_sfc$1(_sfc_main$J,[["render",_sfc_render$J],["__scopeId","data-v-7d6166fa"]]),__glob_0_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:TableCellItem},Symbol.toStringTag,{value:"Module"})),tableItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$I={name:"table-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:{ContainerItemWrapper,TableCellItem},props:{widget:Object},inject:["refList","sfRefList","globalModel"],created(){this.initRefList()},mounted(){},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$I(t,g,e,f,_,m){const A=vue.resolveComponent("table-cell-item"),b=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(b,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:"table-container"},[vue.createElementVNode("table",{ref:e.widget.id,class:vue.normalizeClass(["table-layout",[t.customClass]])},[vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.rows||[],(d,u)=>(vue.openBlock(),vue.createElementBlock("tr",{key:d?d.id:u},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(d.cols,(n,s)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[n.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(A,{widget:n,key:s,"parent-list":e.widget.cols,"row-index":u,"col-index":s,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),i=>({name:i,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,i,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","row-index","col-index","parent-widget"]))],64))),256))]))),128))])],2)])),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:3},8,["widget"])}var tableItem=_export_sfc$1(_sfc_main$I,[["render",_sfc_render$I],["__scopeId","data-v-3481d843"]]),__glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:tableItem},Symbol.toStringTag,{value:"Module"}));const modules$1={"./container-item-wrapper.vue":__glob_0_0$2,"./grid-col-item.vue":__glob_0_1$1,"./grid-item.vue":__glob_0_2$1,"./sub-form-item.vue":__glob_0_3$1,"./tab-item.vue":__glob_0_4$1,"./table-cell-item.vue":__glob_0_5$1,"./table-item.vue":__glob_0_6};var ContainerItems={install(t){for(const g in modules$1){let e=modules$1[g].default.name;t.component(e,modules$1[g].default)}}},index_vue_vue_type_style_index_0_scoped_true_lang$7="";const _sfc_main$H={name:"VFormRender",componentName:"VFormRender",mixins:[emitter,i18n$1],components:Ie({},comps),props:{formJson:{type:Object,default:()=>buildDefaultFormJson()},formData:{type:Object,default:()=>({})},optionData:{type:Object,default:()=>({})},previewState:{type:Boolean,default:!1},globalDsv:{type:Object,default:()=>({})}},provide(){return{refList:this.widgetRefList,sfRefList:this.subFormRefList,getFormConfig:()=>this.formJsonObj.formConfig,getGlobalDsv:()=>this.globalDsv,globalOptionData:this.optionData,getOptionData:()=>this.optionData,globalModel:{formModel:this.formDataModel},previewState:this.previewState}},data(){return{formJsonObj:this.formJson,formDataModel:{},widgetRefList:{},subFormRefList:{},formId:null,externalComponents:{}}},computed:{formConfig(){return this.formJsonObj.formConfig},widgetList(){return this.formJsonObj.widgetList},labelPosition(){return!!this.formConfig&&!!this.formConfig.labelPosition?this.formConfig.labelPosition:"left"},labelWidth(){return!!this.formConfig&&!!this.formConfig.labelWidth?this.formConfig.labelWidth+"px":"80px"},size(){return!!this.formConfig&&!!this.formConfig.size?this.formConfig.size:"default"},customClass(){return!!this.formConfig&&!!this.formConfig.customClass?this.formConfig.customClass:""}},watch:{formData:{deep:!0,handler(t){!t||typeof t!="object"||this.setFormData(t)}}},created(){this.buildFormModel(this.formJsonObj?this.formJsonObj.widgetList:null),this.initFormObject()},mounted(){this.initLocale(),this.handleOnMounted()},methods:{initFormObject(t=!0){this.formId="vfRender"+generateId(),t&&this.insertCustomStyleAndScriptNode(),this.addFieldChangeEventHandler(),this.addFieldValidateEventHandler(),this.registerFormToRefList(),this.handleOnCreated()},getContainerWidgetName(t){return t.type==="grid"?"vf-grid-item":t.type+"-item"},getWidgetName(t){return t.type+"-widget"},initLocale(){let t=localStorage.getItem("v_form_locale")||"zh-CN";this.changeLanguage(t)},insertCustomStyleAndScriptNode(){!!this.formConfig&&!!this.formConfig.cssCode&&insertCustomCssToHead(this.formConfig.cssCode,this.previewState?"":this.formId),!!this.formConfig&&!!this.formConfig.functions&&insertGlobalFunctionsToHtml(this.formConfig.functions,this.previewState?"":this.formId)},buildFormModel(t){!!t&&t.length>0&&t.forEach(g=>{this.buildDataFromWidget(g)})},buildDataFromWidget(t){var g;if(t.category==="container")if(t.type==="grid")!!t.cols&&t.cols.length>0&&t.cols.forEach(e=>{this.buildDataFromWidget(e)});else if(t.type==="table")!!t.rows&&t.rows.length>0&&t.rows.forEach(e=>{!!e.cols&&e.cols.length>0&&e.cols.forEach(f=>{this.buildDataFromWidget(f)})});else if(t.type==="tab")!!t.tabs&&t.tabs.length>0&&t.tabs.forEach(e=>{!!e.widgetList&&e.widgetList.length>0&&e.widgetList.forEach(f=>{this.buildDataFromWidget(f)})});else if(t.type==="sub-table"&&t.formItemFlag){let e=t.options.name;this.formData.hasOwnProperty(e)?this.formDataModel[e]=deepClone(this.formData[e]):this.formDataModel[e]=deepClone(t.options.defaultValue||[])}else if(t.type==="sub-form"){let e=t.options.name;if(this.formData.hasOwnProperty(e)){let f=this.formData[e];this.formDataModel[e]=deepClone(f)}else{let f={};t.options.showBlankRow?(t.widgetList.forEach(_=>{_.formItemFlag&&(f[_.options.name]=_.options.defaultValue)}),this.formDataModel[e]=[f]):this.formDataModel[e]=[]}}else t.type==="grid-col"||t.type==="table-cell"?!!t.widgetList&&t.widgetList.length>0&&t.widgetList.forEach(e=>{this.buildDataFromWidget(e)}):!!t.widgetList&&t.widgetList.length>0&&t.widgetList.forEach(e=>{this.buildDataFromWidget(e)});else if(t.formItemFlag)if(this.formData.hasOwnProperty(t.options.name)){let e=this.formData[t.options.name];this.formDataModel[t.options.name]=deepClone(e)}else if(t.options.fetchApi){if(["select","select-tree","cascader"].includes(t.type)){let e;try{e=JSON.parse(t.options.fetchApi)}catch(_){console.error("fetchApi \u89E3\u6790\u5931\u8D25",_);return}const f=e.api.replace("${window.investPlanCode}","SJZC00120268863");service({url:f,method:e.method,params:Ie({},e.query)}).then(({data:_})=>{var d;const A=["select-tree","cascader"].includes(t.type)?_||[]:(_||[]).map(u=>({label:u.label||u.userName||u.name||u.deptName||u.projectName,value:u.valueItem||u.userId||u.deptId||u.id||u.projectCode})),b=(d=this.$refs[t.options.name])==null?void 0:d[0];b&&(b.selectList=A)}).catch(_=>{var A;console.error("\u83B7\u53D6\u9009\u9879\u5931\u8D25",_);const m=(A=this.$refs[t.options.name])==null?void 0:A[0];m&&(m.selectList=null)})}}else{const e=t.type==="static-text"?(g=t.options.textContent)!=null?g:"":t.options.defaultValue;this.formDataModel[t.options.name]=e}else if(t.type==="static-text"&&t.options&&t.options.name){const e=t.options.name;this.formData.hasOwnProperty(e)?this.formDataModel[e]=deepClone(this.formData[e]):this.formDataModel[e]=t.options.textContent}},addFieldChangeEventHandler(){this.off$("fieldChange"),this.on$("fieldChange",(t,g,e,f,_)=>{this.handleFieldDataChange(t,g,e,f,_),this.$emit("formChange",t,g,e,this.formDataModel,f,_)})},addFieldValidateEventHandler(){this.off$("fieldValidation"),this.on$("fieldValidation",t=>{this.$refs.renderForm.validateField(t)})},registerFormToRefList(){this.widgetRefList.v_form_ref=this},handleFieldDataChange(t,g,e,f,_){!!this.formConfig&&!!this.formConfig.onFormDataChange&&new Function("fieldName","newValue","oldValue","formModel","subFormName","subFormRowIndex",this.formConfig.onFormDataChange).call(this,t,g,e,this.formDataModel,f,_)},handleOnCreated(){!!this.formConfig&&!!this.formConfig.onFormCreated&&new Function(this.formConfig.onFormCreated).call(this)},handleOnMounted(){!!this.formConfig&&!!this.formConfig.onFormMounted&&new Function(this.formConfig.onFormMounted).call(this)},findWidgetAndSetDisabled(t,g){let e=this.getWidgetRef(t);e?g&&typeof e.disableSubForm=="function"?e.disableSubForm():!g&&typeof e.enableSubForm=="function"?e.enableSubForm():typeof e.setDisabled=="function"&&e.setDisabled(g):this.findWidgetOfSubFormAndSetDisabled(t,g)},findWidgetOfSubFormAndSetDisabled(t,g){this.findWidgetNameInSubForm(t).forEach(e=>{let f=this.getWidgetRef(e);!!f&&typeof f.setDisabled=="function"&&f.setDisabled(g)})},findFieldByName(t){if(!t||!this.widgetList)return null;let g=null;const e=f=>{!Array.isArray(f)||g||f.forEach(_=>{if(!(g||!_)){if(_.formItemFlag&&_.options&&_.options.name===t){g=_;return}Array.isArray(_.widgetList)&&e(_.widgetList),Array.isArray(_.cols)&&_.cols.forEach(m=>e(m&&m.widgetList)),Array.isArray(_.rows)&&_.rows.forEach(m=>Array.isArray(m&&m.cols)&&m.cols.forEach(A=>e(A&&A.widgetList))),Array.isArray(_.tabs)&&_.tabs.forEach(m=>e(m&&m.widgetList))}})};return e(this.widgetList),g},findWidgetAndSetHidden(t,g){let e=this.getWidgetRef(t);if(e){e.setHidden(g);return}const f=this.findFieldByName(t);if(f&&f.options){f.options.hidden=!!g,this.$nextTick(()=>{const _=this.getWidgetRef(t);_&&(g?typeof _.clearFieldRules=="function"&&_.clearFieldRules():typeof _.buildFieldRules=="function"&&_.buildFieldRules()),this.$forceUpdate()});return}this.findWidgetOfSubFormAndSetHidden(t,g)},setFieldRequired(t,g){const e=!!g,f=this.getWidgetRef(t);if(f&&typeof f.setRequired=="function")return f.setRequired(e),typeof f.buildFieldRules=="function"&&f.buildFieldRules(),!0;const _=this.findFieldByName(t);if(_&&_.options){_.options.required=e;const m=this.getWidgetRef(t);return m&&typeof m.buildFieldRules=="function"&&m.buildFieldRules(),!0}return!1},findWidgetOfSubFormAndSetHidden(t,g){this.findWidgetNameInSubForm(t).forEach(e=>{let f=this.getWidgetRef(e);f&&f.setHidden(g)})},findWidgetNameInSubForm(t){let g=[],e=null,f=(_,m)=>{!!_.options&&_.options.name===t&&(e=m.options.name)};if(traverseFieldWidgets(this.widgetList,f),e){let _=this.subFormRefList[e]||this.getWidgetRef(e);if(_){let m=typeof _.getRowIdData=="function"?_.getRowIdData():Array.isArray(_.rowIdData)?_.rowIdData:[];!!m&&m.length>0&&m.forEach(A=>{g.push(t+"@row"+A)})}}return g},changeLanguage(t){changeLocale(t)},getNativeForm(){return this.$refs.renderForm},getFormRef(){return this},getWidgetRef(t,g=!1){let e=this.widgetRefList[t];return!e&&!!g&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},getStaticTextRef(t){if(t){const e=this.getWidgetRef(t);if(e&&e.field&&e.field.type==="static-text")return e}const g=Object.values(this.widgetRefList).filter(e=>e&&e.field&&e.field.type==="static-text");return g.length>0?g[0]:void 0},getStaticTextRefs(){return Object.values(this.widgetRefList).filter(t=>t&&t.field&&t.field.type==="static-text")},updateFieldLabel(t,g){if(!t)return!1;const e=g==null?"":String(g),f=new Set,_=[],m=u=>{!u||!u.field||!u.field.options||f.has(u)||u.field.options.name===t&&(f.add(u),_.push(u))};if(Object.keys(this.widgetRefList).forEach(u=>{u!=="v_form_ref"&&(u===t||u.startsWith(t+"@row"))&&m(this.widgetRefList[u])}),_.length>0)return _.forEach(u=>{u.field.options.label=e}),this.$forceUpdate(),!0;const A=this.getFormJson();let b=!1;const d=u=>{!Array.isArray(u)||b||u.forEach(n=>{if(!(b||!n)){if(n.options&&n.options.name===t){n.options.label=e,b=!0;return}Array.isArray(n.widgetList)&&d(n.widgetList),Array.isArray(n.cols)&&n.cols.forEach(s=>d(s&&s.widgetList)),Array.isArray(n.rows)&&n.rows.forEach(s=>Array.isArray(s&&s.cols)&&s.cols.forEach(i=>d(i&&i.widgetList))),Array.isArray(n.tabs)&&n.tabs.forEach(s=>d(s&&s.widgetList))}})};return d(A&&A.widgetList),b?(this.setFormJson(A),!0):!1},setFieldLabel(t,g){return this.updateFieldLabel(t,g)},clearFormDataModel(){for(let t in this.formDataModel)delete this.formDataModel[t]},setFormJson(t){if(t)if(typeof t=="string"||t.constructor===Object){let g=null;if(typeof t=="string"?g=JSON.parse(t):g=t,!g.formConfig||!g.widgetList){this.$message.error("Invalid format of form json.");return}this.clearFormDataModel(),this.buildFormModel(g.widgetList),this.formJsonObj.formConfig=g.formConfig,this.formJsonObj.widgetList=g.widgetList,this.insertCustomStyleAndScriptNode(),this.$nextTick(()=>{this.initFormObject(!1),this.handleOnMounted()})}else this.$message.error("Set form json failed.")},getFormJson(){return deepClone(this.formJsonObj)},reloadOptionData(t){let g=[];!!t&&typeof t=="string"?g=[t]:!!t&&Array.isArray(t)&&(g=[...t]),this.broadcast("FieldWidget","reloadOptionItems",g)},getFormData(t=!0){if(!t)return this.formDataModel;let g=function(){},e=new window.Promise(function(f,_){g=function(m,A){A?_(A):f(m)}});return this.$refs.renderForm.validate(f=>{f?(this.emitFormValidateSuccess(this.formDataModel),g(this.formDataModel)):g(this.formDataModel,this.i18nt("render.hint.validationFailed"))}),e},setFormData(t){Object.keys(this.formDataModel).forEach(g=>{!!t&&t.hasOwnProperty(g)&&(this.formDataModel[g]=deepClone(t[g]))}),this.broadcast("ContainerItem","setFormData",this.formDataModel),this.broadcast("FieldWidget","setFormData",this.formDataModel)},getFieldValue(t){let g=this.getWidgetRef(t);if(!!g&&!!g.getValue)return g.getValue();if(!g){let e=[];return this.findWidgetNameInSubForm(t).forEach(f=>{let _=this.getWidgetRef(f);!!_&&!!_.getValue&&e.push(_.getValue())}),e}},setFieldValue(t,g){let e=this.getWidgetRef(t);!!e&&!!e.setValue&&e.setValue(g),e||this.findWidgetNameInSubForm(t).forEach(f=>{let _=this.getWidgetRef(f);!!_&&!!_.setValue&&_.setValue(g)})},getSubFormValues(t,g=!0){return this.subFormRefList[t].getSubFormValues(g)},disableForm(){console.log("disableForm",this.widgetRefList),Object.keys(this.widgetRefList).forEach(g=>{let e=this.getWidgetRef(g);if(e)if(!!e.widget&&e.widget.type==="sub-form")e.disableSubForm();else{//!!foundW.setDisabled && foundW.setDisabled(true)
74
74
  e.setDisabled&&e.setDisabled(!0)}})},enableForm(){Object.keys(this.widgetRefList).forEach(g=>{let e=this.getWidgetRef(g);if(e)if(!!e.widget&&e.widget.type==="sub-form")e.enableSubForm();else{//!!foundW.setDisabled && foundW.setDisabled(false)
75
- e.setDisabled&&e.setDisabled(!1)}})},resetForm(){Object.keys(this.subFormRefList).forEach(e=>{this.subFormRefList[e].resetSubForm&&this.subFormRefList[e].resetSubForm()}),Object.keys(this.widgetRefList).forEach(e=>{let f=this.getWidgetRef(e);!!f&&!f.subFormItemFlag&&!!f.resetField&&f.resetField()}),this.$nextTick(()=>{this.clearValidate()})},clearValidate(t){this.$refs.renderForm.clearValidate(t)},validateForm(t){this.$refs.renderForm.validate(g=>{g&&!!this.formConfig&&!!this.formConfig.onFormValidateSuccess&&this.emitFormValidateSuccess(this.formDataModel),t(g)})},emitFormValidateSuccess(t){if(!(!this.formConfig||!this.formConfig.onFormValidateSuccess))try{new Function("formData",this.formConfig.onFormValidateSuccess).call(this,t)}catch(g){console.error("onFormValidateSuccess",g)}},validateFields(){},disableWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetDisabled(t,!0):Array.isArray(t)&&t.forEach(g=>{this.findWidgetAndSetDisabled(g,!0)}))},disableFields(t){this.disableWidgets(t)},enableFields(t){this.enableWidgets(t)},enableWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetDisabled(t,!1):Array.isArray(t)&&t.forEach(g=>{this.findWidgetAndSetDisabled(g,!1)}))},hideWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetHidden(t,!0):Array.isArray(t)&&t.forEach(g=>{this.findWidgetAndSetHidden(g,!0)}))},showWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetHidden(t,!1):Array.isArray(t)&&t.forEach(g=>{this.findWidgetAndSetHidden(g,!1)}))},getFieldWidgets(){return getAllFieldWidgets(this.formJsonObj.widgetList)},getContainerWidgets(){return getAllContainerWidgets(this.formJsonObj.widgetList)},addEC(t,g){this.externalComponents[t]=g},hasEC(t){return this.externalComponents.hasOwnProperty(t)},getEC(t){return this.externalComponents[t]},getGlobalDsv(){return this.globalDsv},findColByName(t,g){const e=t!=null?t:this.formJsonObj&&this.formJsonObj.widgetList;if(!e||!g)return null;for(const f of e){if(f.type==="grid"&&f.cols&&f.cols.length){const _=f.cols.find(m=>m.options&&m.options.name===g);if(_)return _}if(f.type==="grid-col"&&f.options&&f.options.name===g)return f;if(f.widgetList&&f.widgetList.length){const _=this.findColByName(f.widgetList,g);if(_)return _}if(f.cols&&f.cols.length)for(const _ of f.cols){if(_.options&&_.options.name===g)return _;if(_.widgetList&&_.widgetList.length){const m=this.findColByName(_.widgetList,g);if(m)return m}}}return null},syncFieldRulesByCol(t,g){if(!t)return;const e=!!g;traverseFieldWidgetsOfContainer(t,f=>{if(!f.formItemFlag||!f.options||!f.options.name)return;const _=this.getWidgetRef(f.options.name);!_||(e?typeof _.clearFieldRules=="function"&&_.clearFieldRules():typeof _.buildFieldRules=="function"&&_.buildFieldRules())})},setColHidden(t,g){if(Array.isArray(t)){let f=!1;return t.forEach(_=>{this.setColHidden(_,g)&&(f=!0)}),f}const e=this.findColByName(null,t);return!e||!e.options?!1:(e.options.hidden=!!g,this.syncFieldRulesByCol(e,g),this.$nextTick(()=>this.$forceUpdate()),!0)}}};function _sfc_render$H(t,g,e,f,_,m){const A=vue.resolveComponent("el-form");return vue.openBlock(),vue.createBlock(A,{"label-position":m.labelPosition,size:m.size,class:vue.normalizeClass([[m.customClass],"render-form"]),"label-width":m.labelWidth,"validate-on-rule-change":!1,model:_.formDataModel,ref:"renderForm",onSubmit:g[0]||(g[0]=vue.withModifiers(()=>{},["prevent"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.widgetList,(b,d)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[b.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(m.getContainerWidgetName(b)),{widget:b,key:b.id,"parent-list":m.widgetList,"index-of-parent-list":d,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),u=>({name:u,fn:vue.withCtx(n=>[vue.renderSlot(t.$slots,u,vue.mergeProps({ref_for:!0},n),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(m.getWidgetName(b)),{field:b,"form-model":_.formDataModel,designer:null,key:b.id,"parent-list":m.widgetList,ref_for:!0,ref:b.id,"index-of-parent-list":d,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),u=>({name:u,fn:vue.withCtx(n=>[vue.renderSlot(t.$slots,u,vue.mergeProps({ref_for:!0},n),void 0,!0)])}))]),1032,["field","form-model","parent-list","index-of-parent-list"]))],64))),256))]),_:3},8,["label-position","size","class","label-width","model"])}var VFormRender=_export_sfc$1(_sfc_main$H,[["render",_sfc_render$H],["__scopeId","data-v-4fac61a7"]]);function registerIcon(t){t.component("el-icon-edit",edit),t.component("el-icon-minus",minus),t.component("el-icon-plus",plus),t.component("el-icon-info",infoFilled),t.component("el-icon-search",search),t.component("el-icon-circle-plus-outline",circlePlus),t.component("el-icon-delete",_delete),t.component("el-icon-arrow-down",arrowDown),t.component("el-icon-arrow-up",arrowUp)}if(typeof window!="undefined"){let t=function(){var g=document.body,e=document.getElementById("__svg__icons__dom__1783305689481__");e||(e=document.createElementNS("http://www.w3.org/2000/svg","svg"),e.style.position="absolute",e.style.width="0",e.style.height="0",e.id="__svg__icons__dom__1783305689481__",e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),e.innerHTML='<symbol class="icon" viewBox="0 0 1024 1024" id="icon-alert"><path d="M512 85.163a319.573 319.573 0 0 1 319.83 309.333l.17 10.667v174.805l58.88 134.656a53.29 53.29 0 0 1-48.853 74.71L640 789.418a128 128 0 0 1-255.787 7.509l-.213-7.637-201.6.042a53.333 53.333 0 0 1-48.939-74.581L192 580.011V405.163c0-177.28 143.019-320 320-320zm64 704.17-128 .128a64 64 0 0 0 127.701 6.144l.256-6.272zm-64-640.17c-141.653 0-256 114.09-256 256v188.16l-57.344 132.01h627.072L768 593.365V405.717l-.17-9.6A255.488 255.488 0 0 0 512 149.163zM896 352h85.333a32 32 0 0 1 4.352 63.701l-4.352.299H896a32 32 0 0 1-4.352-63.701L896 352zm-853.333 0H128a32 32 0 0 1 4.352 63.701L128 416H42.667a32 32 0 0 1-4.352-63.701l4.352-.299zm921.6-243.2a32 32 0 0 1-2.816 41.685l-3.584 3.115-85.334 64a32 32 0 0 1-41.984-48.085l3.584-3.115 85.334-64a32 32 0 0 1 44.8 6.4zm-859.734-6.4 85.334 64a32 32 0 1 1-38.4 51.2l-85.334-64a32 32 0 1 1 38.4-51.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-button"><path d="M912 176v416H732.48v-32H880V208H144v352h175.488v32H112V176z" /><path d="m436.384 788.512.544 2.688a16 16 0 0 0 27.776 5.504l44.032-54.336 56.768 97.664a16 16 0 0 0 21.792 5.856l68.672-39.392 2.368-1.664a16 16 0 0 0 3.52-20.256l-55.904-96.16 68.8-12.064a16 16 0 0 0 6.464-28.8l-256-180.64a16 16 0 0 0-25.12 14.976l36.288 306.624z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-card"><path d="M858.656 864H165.344C109.472 864 64 818.56 64 762.688V261.312C64 205.44 109.472 160 165.344 160h693.312C914.528 160 960 205.44 960 261.312v501.376C960 818.56 914.528 864 858.656 864zM165.344 224C144.736 224 128 240.736 128 261.312v501.376C128 783.264 144.736 800 165.344 800h693.312C879.264 800 896 783.264 896 762.688V261.312C896 240.736 879.264 224 858.656 224H165.344zM800 416H224c-17.664 0-32-14.336-32-32s14.336-32 32-32h576c17.696 0 32 14.336 32 32s-14.304 32-32 32zM320 736h-96c-17.664 0-32-14.304-32-32s14.336-32 32-32h96c17.664 0 32 14.304 32 32s-14.336 32-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-cascader-field"><path d="M661.377 411.07v64.595H314.175v395.654H871.32V475.665h-48.447V411.07h48.447c35.675 0 64.595 28.92 64.595 64.595v395.654c0 35.675-28.92 64.595-64.595 64.595H314.175c-35.675 0-64.6-28.92-64.6-64.595V475.665c0-35.675 28.925-64.595 64.6-64.595h347.202zm48.448-322.984c35.675 0 64.6 28.92 64.6 64.595v403.73c0 35.676-28.925 64.595-64.6 64.595H362.623v-64.594h347.202V152.68H152.68v403.73h48.447v64.595H152.68c-35.675 0-64.595-28.92-64.595-64.594V152.68c0-35.675 28.92-64.595 64.595-64.595h557.144z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-checkbox-field"><path d="M897.94 896.77c6.259-6.278 10.257-14.835 10.257-24.531V147.672c0-9.118-3.998-18.235-10.257-24.533-6.277-6.258-14.815-9.696-24.51-9.696H149.644c-9.688 0-18.236 3.437-24.503 9.696-6.268 6.297-9.687 15.414-9.687 24.533V872.24c0 9.696 3.42 18.253 9.687 24.53 6.267 6.278 14.815 10.276 24.503 10.276h723.784c9.697 0 18.234-3.998 24.511-10.276zM149.645 61.52h723.784c23.933 0 45.586 9.697 60.98 25.111 15.397 15.974 25.073 37.666 25.073 61.04v724.567c0 23.97-9.676 45.643-25.073 61.056-15.394 15.396-37.047 25.093-60.98 25.093H149.645c-23.364 0-45.017-9.697-60.972-25.093-15.396-15.414-25.082-37.087-25.082-61.056V147.672c0-23.374 9.686-45.065 25.082-61.039 15.955-15.415 37.608-25.112 60.972-25.112z" /><path d="M417.42 698.27a23.556 23.556 0 0 1-16.668-6.9L259.5 550.12c-9.173-9.15-9.173-24.095 0-33.291 9.17-9.147 24.115-9.147 33.288 0l124.583 124.607 312.895-312.917c9.194-9.172 24.14-9.172 33.288 0 9.196 9.172 9.196 24.116 0 33.29L433.992 691.37c-4.618 4.645-10.643 6.9-16.666 6.9h.093z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-color-field"><path d="M619.52 490.667h-.853l-85.334-85.334h.854z" /><path d="M619.52 507.733h-.853a17.067 17.067 0 1 1 0-34.133c9.438 0 17.476 7.646 17.476 17.067s-7.185 17.066-16.623 17.066zM534.187 422.4c-9.438 0-17.494-7.646-17.494-17.067s7.202-17.066 16.64-17.066h.854a17.067 17.067 0 1 1 0 34.133zM192 866.133a34.133 34.133 0 0 1-24.132-58.265l42.666-42.667a34.133 34.133 0 1 1 48.265 48.265l-42.667 42.666A33.963 33.963 0 0 1 192 866.133z" /><path d="m619.52 490.667-.427-.427-84.906-84.907L746.667 192H832v85.333z" /><path d="M662.187 567.467a33.997 33.997 0 0 1-24.133-10.001L467.388 386.799a34.133 34.133 0 0 1 48.281-48.282l170.667 170.667a34.133 34.133 0 0 1-24.15 58.283z" /><path d="M320 806.4h-85.333a17.067 17.067 0 0 1-17.067-17.067V704c0-4.54 1.792-8.875 5-12.066L521.695 392.84a16.52 16.52 0 0 1 3.567-2.731l209.305-210.142a17.117 17.117 0 0 1 12.1-5.018H832a17.067 17.067 0 0 1 17.067 17.067v85.333a17.067 17.067 0 0 1-4.967 12.05L631.62 502.732a17.954 17.954 0 0 1-3.618 2.782L332.066 801.434A17.135 17.135 0 0 1 320 806.4zm-68.267-34.133h61.201l294.093-294.093a16.52 16.52 0 0 1 3.567-2.73l204.34-205.16v-61.217h-61.185L546.287 417.382a17.954 17.954 0 0 1-3.618 2.782L251.733 711.066v61.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-component"><path d="M811.008 335.872c-2.048-7.168-11.264-9.216-17.408-4.096L690.176 435.2c-8.192 8.192-20.48 8.192-28.672 0L588.8 362.496c-8.192-8.192-8.192-20.48 0-28.672l104.448-104.448c5.12-5.12 3.072-14.336-4.096-17.408-17.408-4.096-35.84-7.168-54.272-7.168-108.544 0-195.584 94.208-183.296 204.8 2.048 17.408 6.144 32.768 12.288 48.128L225.28 697.344c-27.648 27.648-27.648 73.728 0 101.376 14.336 14.336 32.768 21.504 51.2 21.504s36.864-7.168 51.2-21.504l238.592-238.592c15.36 6.144 31.744 10.24 48.128 12.288 111.616 12.288 204.8-74.752 204.8-183.296 0-18.432-3.072-36.864-8.192-53.248z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-data-table"><path d="M915.692 39.385H108.308c-15.754 0-29.539 13.784-29.539 29.538v98.462c0 15.753 13.785 29.538 29.539 29.538h807.384c15.754 0 29.539-13.785 29.539-29.538V68.923c0-15.754-13.785-29.538-29.539-29.538zM285.538 275.692h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zM285.538 472.615h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 669.538h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 866.462h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538z" /></symbol><symbol class="icon" viewBox="0 0 1132 1024" id="icon-date-field"><path d="M1023.995 1023.995H107.789C48.262 1023.995 0 975.732 0 916.205V188.63C0 129.105 48.262 80.843 107.789 80.843h80.842v53.894h-80.842c-29.777 0-53.895 24.118-53.895 53.895V296.42H1077.89V188.63c0-29.776-24.117-53.894-53.894-53.894h-80.842V80.842h80.842c59.526 0 107.789 48.262 107.789 107.789v727.575c0 59.526-48.263 107.789-107.79 107.789Zm53.894-673.681H53.894v565.892c0 29.777 24.118 53.894 53.895 53.894h916.206c29.777 0 53.894-24.117 53.894-53.894V350.314ZM794.943 628.086l-3.584 5.632c-3.314 6.306-7.087 12.153-11.237 17.731L646.734 861.476H589.12l98.358-160.875c-.108 0-.216.027-.324.027-66.963 0-121.262-60.335-121.262-134.736 0-74.401 54.299-134.736 121.262-134.736 66.964 0 121.263 60.335 121.263 134.736 0 22.42-5.39 43.25-14.12 61.844l.646.35ZM687.154 485.05c-37.214 0-67.368 36.19-67.368 80.842 0 44.651 30.154 80.842 67.368 80.842 19.052 0 36.164-9.567 48.425-24.819l9.781-16.006c5.66-11.83 9.163-25.385 9.163-40.017 0-44.652-30.154-80.842-67.369-80.842Zm-310.216 21.881-80.734 72.327v-66.991l82.405-80.41h52.062v429.727h-53.733V506.93Zm512.32-291.353c-14.874 0-26.947-12.072-26.947-26.947V26.947C862.311 12.072 874.384 0 889.26 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947ZM296.42 80.842h538.944v53.894H296.42V80.842Zm-53.895 134.736c-14.875 0-26.947-12.072-26.947-26.947V26.947C215.578 12.072 227.65 0 242.525 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947Z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-date-range-field"><path d="M887.467 192.853H786.773v-73.386c0-10.24-6.826-17.067-17.066-17.067s-17.067 6.827-17.067 17.067v73.386H303.787v-73.386c0-10.24-6.827-17.067-17.067-17.067s-17.067 6.827-17.067 17.067v73.386H168.96c-46.08 0-85.333 37.547-85.333 85.334v558.08c0 46.08 37.546 85.333 85.333 85.333h718.507c46.08 0 85.333-37.547 85.333-85.333v-558.08c0-47.787-37.547-85.334-85.333-85.334zM168.96 226.987h100.693v66.56c0 10.24 6.827 17.066 17.067 17.066s17.067-6.826 17.067-17.066v-66.56h450.56v66.56c0 10.24 6.826 17.066 17.066 17.066s17.067-6.826 17.067-17.066v-66.56h98.987c27.306 0 51.2 22.186 51.2 51.2v88.746H117.76v-88.746c0-29.014 22.187-51.2 51.2-51.2zm718.507 660.48H168.96c-27.307 0-51.2-22.187-51.2-51.2v-435.2h820.907v435.2c0 27.306-22.187 51.2-51.2 51.2z" /><path d="M858.453 493.227H327.68c-10.24 0-17.067 6.826-17.067 17.066V624.64H194.56c-10.24 0-17.067 6.827-17.067 17.067v133.12c0 10.24 6.827 17.066 17.067 17.066H460.8c10.24 0 17.067-6.826 17.067-17.066V660.48h380.586c10.24 0 17.067-6.827 17.067-17.067v-133.12c0-10.24-6.827-17.066-17.067-17.066zM445.44 527.36v97.28h-98.987v-97.28h98.987zm-230.4 131.413h98.987v98.987H215.04v-98.987zm131.413 97.28v-97.28h98.987v97.28h-98.987zm133.12-228.693h97.28v98.987h-97.28V527.36zm131.414 0h98.986v98.987h-98.986V527.36zm230.4 97.28H742.4v-98.987h98.987v98.987z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-divider"><path d="M62.5 491.773h899v74.918h-899v-74.918z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-document"><path d="M979.478 706.382a44.522 44.522 0 0 1-11.843 57.967l-4.363 2.85L569.478 995.06l-5.388 4.764a84.013 84.013 0 0 1-43.943 17.808l-8.102.401c-19.056 0-37.31-6.545-52.046-18.254l-5.432-4.72L60.817 767.2a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zm0-222.609a44.522 44.522 0 0 1-11.843 57.968l-4.363 2.849-393.794 227.862-5.388 4.764a84.013 84.013 0 0 1-43.943 17.809l-8.102.4c-19.056 0-37.31-6.544-52.046-18.254l-5.432-4.719L60.817 544.59a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zM512 0c18.788 0 36.864 6.1 51.645 17.185l4.586 3.74 403.5 199.68 5.61 6.144c32.501 35.44 32.501 89.89 0 125.329l-5.61 6.144-403.5 199.59-4.541 3.785a86.239 86.239 0 0 1-43.676 16.83l-8.014.356c-18.788 0-36.864-6.1-51.645-17.186l-4.63-3.784L52.269 358.222l-5.61-6.144a92.739 92.739 0 0 1 0-125.329l5.61-6.144 403.456-199.68 4.585-3.74C473 7.702 488.136 1.87 503.986.356z" fill="#008df0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-drag"><path d="M574.958 267.016h-63.454 204.649L511.213 63.655 307.85 267.016h141.191V456.68H258.688v125.917H449.04V772.95h125.917V582.596h188.875V456.679H574.958V267.016zm-63.704 693.33 189.62-187.396H323.126l188.129 187.395zM71.292 518.891l187.395 189.62v-377.75L71.292 518.892zm692.54-188.13v377.75L952.708 518.89 763.833 330.762z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-file-upload-field"><path d="m676.48 72.96 209.92 211.2 9.6 23.04V928l-32 32H160l-32-32V96l32-32h494.08l22.4 8.96zM640 320h192L640 128v192zM192 128v768h640V384H608l-32-32V128H192zm512 320H320v64h384v-64zM320 576h384v64H320v-64zm384 128H320v64h384v-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-github"><path d="M512 0C229.284 0 .142 234.943.142 524.868c0 231.829 146.647 428.553 350.068 497.952 25.593 4.82 34.977-11.389 34.977-25.294 0-12.455-.469-45.47-.725-89.277-142.382 31.735-172.453-70.38-172.453-70.38-23.247-60.57-56.817-76.694-56.817-76.694-46.493-32.588 3.54-31.948 3.54-31.948 51.357 3.71 78.358 54.086 78.358 54.086 45.683 80.191 119.817 57.072 148.993 43.594 4.65-33.911 17.915-57.03 32.503-70.168-113.675-13.223-233.151-58.224-233.151-259.341 0-57.285 19.92-104.163 52.678-140.846-5.246-13.266-22.82-66.627 4.991-138.884 0 0 42.996-14.076 140.76 53.787 40.864-11.644 84.628-17.445 128.179-17.659 43.465.214 87.271 6.015 128.135 17.66 97.68-67.907 140.59-53.788 140.59-53.788 27.939 72.257 10.408 125.618 5.119 138.884 32.844 36.683 52.593 83.56 52.593 140.846 0 201.587-119.647 245.99-233.663 258.957 18.341 16.21 34.72 48.2 34.72 97.21 0 70.168-.639 126.728-.639 143.96 0 14.034 9.214 30.371 35.19 25.21 203.25-69.528 349.77-266.124 349.77-497.867C1023.858 234.943 794.674 0 512 0" fill="#3E75C3" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-grid"><path d="M819.354 921.6h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 819.2v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 460.8v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V102.4h-102.4v102.4zM921.754 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 921.754 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM563.354 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 563.354 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM204.954 0h-102.4A102.4 102.4 0 0 0 .154 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 204.954 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-html-text"><path d="m137.6 512 204.8-204.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L70.4 489.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4l227.2 227.2c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8L137.6 512zm464-339.2c-16-3.2-35.2 6.4-38.4 22.4L396.8 812.8c-3.2 16 6.4 35.2 22.4 38.4 16 3.2 35.2-6.4 38.4-22.4L624 211.2c6.4-16-3.2-35.2-22.4-38.4zm352 316.8L726.4 262.4c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8L886.4 512 681.6 716.8c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l227.2-227.2c6.4-6.4 9.6-16 9.6-22.4 0-9.6-3.2-16-9.6-22.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-node-tree"><path d="M332.48 500.864a25.6 25.6 0 1 0 0-51.2H192.384v-184.96a115.2 115.2 0 0 0 89.6-112.128c0-63.488-51.712-115.2-115.2-115.2s-115.2 51.712-115.2 115.2a115.2 115.2 0 0 0 89.6 112.128v696.192a25.6 25.6 0 1 0 51.2 0v-141.12c2.304.192 4.48.512 6.912.512H332.48a25.6 25.6 0 1 0 0-51.2H199.296c-3.456 0-5.504-.448-6.08-.256a29.184 29.184 0 0 1-.896-8.576V500.8h140.16zM102.784 152.64c0-35.264 28.736-64 64-64s64 28.736 64 64-28.736 64-64 64-64-28.736-64-64zm818.432 207.424h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4zm486.336 140.352h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-number-field"><path d="M960 1024H64a64 64 0 0 1-64-64V64A64 64 0 0 1 64 0h896a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64zm0-896a64 64 0 0 0-64-64H128a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128zM832 768H704a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v384a64 64 0 0 1-64 64zM512 640a64 64 0 0 1 0 128H384a64 64 0 0 1-64-64V512a64 64 0 0 1 64-64h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v192a64 64 0 0 1-64 64h-64v64h64zM192 768a64 64 0 0 1-64-64V320a64 64 0 0 1 128 0v384a64 64 0 0 1-64 64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-picture-upload-field"><path d="M896 1024H128C57.312 1024 0 966.688 0 896V128C0 57.312 57.312 0 128 0h768c70.688 0 128 57.312 128 128v768c0 70.688-57.312 128-128 128zm0-64c35.328 0 64-28.672 64-64V639.968l-192-192L494.816 721.12 730.624 960H896zM64 896c0 35.328 28.672 64 64 64h512.032L318.24 638.208 64 865.952V896zm896-768c0-35.328-28.672-64-64-64H128c-35.328 0-64 28.672-64 64v650.752L320 544l129.856 131.552L768 352l192 196.096V128zM256 384c-70.688 0-128-57.312-128-128s57.312-128 128-128 128 57.312 128 128-57.312 128-128 128zm0-192c-35.328 0-64 28.672-64 64s28.672 64 64 64 64-28.672 64-64-28.672-64-64-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-radio-field"><path d="M512 65.983C266.08 65.983 65.983 266.08 65.983 512c0 245.952 200.065 446.017 446.017 446.017S958.017 757.952 958.017 512c0-245.92-200.065-446.017-446.017-446.017zm0 828.034c-210.656 0-382.017-171.392-382.017-382.017 0-210.656 171.36-382.017 382.017-382.017 210.625 0 382.017 171.36 382.017 382.017 0 210.625-171.392 382.017-382.017 382.017zM512 352C423.776 352 352 423.776 352 512s71.774 160 160 160 160-71.774 160-160-71.776-160-160-160z" /></symbol><symbol class="icon" viewBox="0 0 1069 1024" id="icon-rate-field"><path d="m633.73 378.02 9.498 18.688 20.78 2.798 206.616 27.332a11.465 11.465 0 0 1 6.61 19.473L729.966 593.665l-14.893 14.893 3.8 20.683 37.847 204.89a11.465 11.465 0 0 1-16.481 12.296l-185.55-94.58-18.687-9.493-18.487 9.992-183.24 99.35a11.465 11.465 0 0 1-16.784-11.867l32.543-205.796 3.297-20.786-15.192-14.492-151.033-143.484a11.465 11.465 0 0 1 6.1-19.64L399 402.998l20.786-3.296 9.092-18.98 89.713-188.078a11.465 11.465 0 0 1 20.569-.263l94.568 185.635zM496.647 85.52 374.89 340.501l-279.126 44.26a34.395 34.395 0 0 0-18.303 58.908l204.873 194.663-44.169 279.115a34.395 34.395 0 0 0 50.366 35.616l248.4-134.679L788.776 946.66a34.395 34.395 0 0 0 49.437-36.894l-51.306-277.854 199.731-199.909a34.395 34.395 0 0 0-19.828-58.408l-280.118-37.032L558.33 84.713a34.395 34.395 0 0 0-61.682.802z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-redo"><path d="M412.081 346.3h443.415L640.168 133.871c-18.973-18.973-18.973-46.064 0-65.038s44.325-19.884 63.381-.83l291.385 284.591c18.973 18.973 18.973 44.159 0 63.132L703.549 700.649c-18.973 18.973-44.325 18.973-63.381-.083-18.973-18.973-18.973-43.91 0-62.883l215.328-208.534H412.081c-177.3 0-314.335 138.359-314.335 309.364v44.325c0 25.354-16.074 44.325-41.425 44.325s-41.425-18.973-41.425-44.325v-44.325c0-221.709 169.181-392.213 397.185-392.213z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-rich-editor-field"><path d="M313.36 448.094H632.63v31.927H313.36v-31.927ZM313.36 583.784h223.49v31.927H313.36v-31.927ZM313.36 719.474h127.709v31.927h-127.71v-31.927ZM889.412 554.809l-39.955-39.971-39.957-39.941c-7.358-7.358-19.285-7.358-26.642 0l-329.7 329.694a14.08 14.08 0 0 0-4.592 6.873L412.078 932.86a14.158 14.158 0 0 0 3.54 14.079l.99.763.77.982a14.174 14.174 0 0 0 14.062 3.555l121.395-36.495a14.04 14.04 0 0 0 6.938-4.677l329.639-329.63c7.35-7.343 7.35-19.284 0-26.627zM541.136 889.756l-95.198 28.622 28.623-95.235 255.02-255.02 66.6 66.599-255.045 255.034zM856.112 574.78l-46.611 46.611-66.59-66.598 46.605-46.597c3.677-3.68 9.641-3.68 13.319-.016l26.892 26.892 26.384 26.394c3.68 3.68 3.68 9.65.001 13.314z" /><path d="M671.874 224.898v-28.934c0-22.004-17.905-39.909-39.909-39.909H314.026c-22.004 0-39.909 17.905-39.909 39.91v28.933h-104.43v643.564c0 35.26 28.592 63.854 63.855 63.854h127.709v-47.89H249.506c-17.632 0-31.928-14.299-31.928-31.928v-579.71h56.54v10.976c0 22.004 17.904 39.909 39.908 39.909h317.938c22.004 0 39.91-17.905 39.91-39.91V272.79h56.538V437.45h47.89V224.898H671.875zm-47.89 50.884H322.007v-71.836h301.974v71.836z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-section"><path d="M141.074 906.496h741.852c89.581 0 134.583-44.562 134.583-132.846V250.331c0-88.283-45.002-132.845-134.583-132.845H141.074c-89.143.018-134.583 44.16-134.583 132.845V773.67c0 88.704 45.44 132.845 134.583 132.845zm1.28-68.992c-42.861 0-66.852-22.71-66.852-67.291V253.806c0-44.58 23.99-67.292 66.852-67.292h739.292c42.423 0 66.852 22.711 66.852 67.292v516.388c0 44.58-24.43 67.292-66.852 67.292z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-select-field"><path d="M374.784 649.515a32 32 0 0 1 3.072 41.685l-3.115 3.584L225.28 843.947a32 32 0 0 1-37.845 5.504l-3.968-2.56-85.334-64a32 32 0 0 1 34.432-53.76l3.968 2.56 63.147 47.36 129.835-129.622a32 32 0 0 1 45.269.043zm531.37 75.818a32 32 0 0 1 4.31 63.702l-4.31.298h-448a32 32 0 0 1-4.351-63.744l4.352-.256h448zm.513-256a32 32 0 0 1 4.352 63.702l-4.352.298h-448a32 32 0 0 1-4.352-63.701l4.352-.299h448zm-531.84-331.776a32 32 0 0 1 2.986 41.686l-3.114 3.584-149.846 149.205a32 32 0 0 1-37.888 5.419l-3.925-2.56-84.907-64a32 32 0 0 1 34.518-53.675l3.968 2.56 62.72 47.275L329.6 137.472a32 32 0 0 1 45.227.085zm531.328 75.819a32 32 0 0 1 4.309 63.701l-4.31.299H459.35a32 32 0 0 1-4.352-63.744l4.352-.256h446.806z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-select-tree-field"><path d="M374.784 649.515a32 32 0 0 1 3.072 41.685l-3.115 3.584L225.28 843.947a32 32 0 0 1-37.845 5.504l-3.968-2.56-85.334-64a32 32 0 0 1 34.432-53.76l3.968 2.56 63.147 47.36 129.835-129.622a32 32 0 0 1 45.269.043zm531.37 75.818a32 32 0 0 1 4.31 63.702l-4.31.298h-448a32 32 0 0 1-4.351-63.744l4.352-.256h448zm.513-256a32 32 0 0 1 4.352 63.702l-4.352.298h-448a32 32 0 0 1-4.352-63.701l4.352-.299h448zm-531.84-331.776a32 32 0 0 1 2.986 41.686l-3.114 3.584-149.846 149.205a32 32 0 0 1-37.888 5.419l-3.925-2.56-84.907-64a32 32 0 0 1 34.518-53.675l3.968 2.56 62.72 47.275L329.6 137.472a32 32 0 0 1 45.227.085zm531.328 75.819a32 32 0 0 1 4.309 63.701l-4.31.299H459.35a32 32 0 0 1-4.352-63.744l4.352-.256h446.806z" /><path d="M224 192a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm256-480a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0ZM192 352h256M192 672h256M224 192v160m0 160v160" stroke="currentColor" stroke-width="32" fill="none" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slider-field"><path d="M951.453 476.844H523.672a131.836 131.836 0 0 0-254.18 0H72.547v70.312h196.945a131.836 131.836 0 0 0 254.18 0h427.781z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-component"><path d="M512 102.4c-212.48 0-384 171.52-384 384s171.52 384 384 384 384-171.52 384-384-171.52-384-384-384zm25.6 716.8v-128c0-15.36-10.24-25.6-25.6-25.6s-25.6 10.24-25.6 25.6v128C322.56 806.4 192 675.84 179.2 512h128c15.36 0 25.6-10.24 25.6-25.6s-10.24-25.6-25.6-25.6h-128C192 296.96 322.56 166.4 486.4 156.16V281.6c0 15.36 10.24 25.6 25.6 25.6s25.6-10.24 25.6-25.6V156.16C701.44 168.96 832 299.52 844.8 460.8h-128c-15.36 0-25.6 10.24-25.6 25.6s10.24 25.6 25.6 25.6h128C832 675.84 701.44 806.4 537.6 819.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-field"><path d="M493.969 244.87h36.285q18.031 0 18.031 18.03v217.267q0 18.031-18.031 18.031h-36.285q-18.032 0-18.032-18.031V262.901q0-18.031 18.032-18.031ZM323.45000000000005 525.802h36.286q18.031 0 18.031 18.031v217.266q0 18.031-18.031 18.031H323.45q-18.03 0-18.03-18.03V543.832q0-18.031 18.03-18.031ZM664.2639999999999 525.802h36.286q18.03 0 18.03 18.031v217.266q0 18.031-18.03 18.031h-36.286q-18.031 0-18.031-18.03V543.832q0-18.031 18.031-18.031Z" /><path d="M827.437 122.212H196.563a74.574 74.574 0 0 0-74.35 74.351v630.874a74.574 74.574 0 0 0 74.35 74.35h630.874a74.574 74.574 0 0 0 74.35-74.35V196.563a74.574 74.574 0 0 0-74.35-74.35zm52.09 705.225a52.09 52.09 0 0 1-52.09 52.09H196.563a52.09 52.09 0 0 1-52.09-52.09V196.563a52.09 52.09 0 0 1 52.09-52.09h630.874a52.09 52.09 0 0 1 52.09 52.09z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-static-text"><path d="M213.333 160c-4.821 0-9.472.64-13.824 1.792a32 32 0 0 1-16.554-61.824C192.683 97.408 202.88 96 213.333 96h33.195a32 32 0 0 1 0 64h-33.195zm133.931-32a32 32 0 0 1 32-32h66.347a32 32 0 1 1 0 64h-66.304a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zm199.083 0a32 32 0 0 1 32-32h33.195c10.453 0 20.65 1.365 30.378 3.968a32 32 0 1 1-16.554 61.867A53.419 53.419 0 0 0 810.667 160h-33.195a32 32 0 0 1-32-32zm-606.293 32.341a32 32 0 0 1 22.613 39.168A53.461 53.461 0 0 0 160 213.333v33.195a32 32 0 0 1-64 0v-33.195c0-10.453 1.365-20.65 3.968-30.378a32 32 0 0 1 39.168-22.614zm745.685 0a32 32 0 0 1 39.168 22.614c2.56 9.728 3.968 19.925 3.968 30.378v33.195a32 32 0 0 1-64 0v-33.195c0-4.821-.64-9.472-1.792-13.824a32 32 0 0 1 22.613-39.168zM128 347.221a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zM128 546.432a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm0 199.083a32 32 0 0 1 32 32v33.152c0 10.453-1.365 20.65-3.968 30.378a32 32 0 1 1-61.867-16.554c1.195-4.352 1.835-8.96 1.835-13.824v-33.195a32 32 0 0 1 32-32zm-768 0a32 32 0 0 1 32 32v33.152c0 4.821.64 9.472 1.792 13.824a32 32 0 0 1-61.824 16.512A117.461 117.461 0 0 1 96 810.667v-33.195a32 32 0 0 1 32-32zm32.341 139.392a32 32 0 0 1 39.168-22.656 53.814 53.814 0 0 0 13.824 1.792h33.195a32 32 0 0 1 0 64h-33.195c-10.453 0-20.65-1.366-30.378-3.968a32 32 0 0 1-22.614-39.168zm703.318 0a32 32 0 0 1-22.614 39.168c-9.728 2.56-19.925 3.968-30.378 3.968h-33.195a32 32 0 0 1 0-64h33.195c4.821 0 9.472-.64 13.824-1.792a32 32 0 0 1 39.168 22.613zM347.307 896a32 32 0 0 1 32-32h66.346a32 32 0 1 1 0 64h-66.346a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zM341.333 352a32 32 0 0 0 0 64H480v266.667a32 32 0 0 0 64 0V416h138.667a32 32 0 0 0 0-64H341.333z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-sub-form"><path d="M512 106.667H112a5.333 5.333 0 0 0-5.333 5.333v800a5.333 5.333 0 0 0 5.333 5.333h800a5.333 5.333 0 0 0 5.333-5.333V112a5.333 5.333 0 0 0-5.333-5.333zm0 74.666h325.333a5.333 5.333 0 0 1 5.334 5.334v160a5.333 5.333 0 0 1-5.334 5.333H186.667a5.333 5.333 0 0 1-5.334-5.333v-160a5.333 5.333 0 0 1 5.334-5.334zM597.333 432v405.333a5.333 5.333 0 0 1-5.333 5.334H432a5.333 5.333 0 0 1-5.333-5.334V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.333 5.333zm-410.666-5.333h160A5.333 5.333 0 0 1 352 432v405.333a5.333 5.333 0 0 1-5.333 5.334h-160a5.333 5.333 0 0 1-5.334-5.334V432a5.333 5.333 0 0 1 5.334-5.333zM672 837.333V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.334 5.333v405.333a5.333 5.333 0 0 1-5.334 5.334h-160a5.333 5.333 0 0 1-5.333-5.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-switch-field"><path d="M692 792H332C182 792 62 672 62 522s120-270 270-270h360c150 0 270 120 270 270 0 147-120 270-270 270zM332 312c-117 0-210 93-210 210s93 210 210 210h360c117 0 210-93 210-210s-93-210-210-210H332z" /><path d="M191 522a150 150 0 1 0 300 0 150 150 0 1 0-300 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-tab"><path d="M908.8 1005.44H115.2A101.76 101.76 0 0 1 14.08 903.68V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z" /><path d="M977.92 299.52a32.64 32.64 0 0 1-32-32v-87.04a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32H908.8a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z" /><path d="M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z" /><path d="M699.52 299.52a32 32 0 0 1-32-32v-156.8a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-table"><path d="M925.586 0H101.369C69.885 0 42.24 28.924 42.24 62.328v902.8c0 33.403 27.645 58.872 59.129 58.872h824.217c31.484 0 56.057-25.469 56.057-58.873V62.328C981.643 28.924 957.198 0 925.586 0zM373.719 735.908V543.932h276.445v191.976zm276.445 42.235v203.494H373.719V778.143zm287.964-276.446h-244.45V298.203h244.45zm-287.964 0H373.719V298.203h276.445zm-319.96 0H85.754V298.203h244.45zm-244.45 42.235h244.45v191.976H85.754zm607.925 0h244.449v191.976h-244.45zM101.369 42.235h824.217c7.807 0 12.542 10.366 12.542 20.093v193.64H85.755V62.328c0-9.727 7.807-20.093 15.614-20.093zM85.755 964.999V778.143h244.449v203.494H101.369c-7.807 0-15.614-6.91-15.614-16.51zm839.83 16.638H693.68V778.143h244.449v186.856c0 9.727-4.607 16.638-12.542 16.638z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-text-field"><path d="M896 224H128c-35.2 0-64 28.8-64 64v448c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V288c0-35.2-28.8-64-64-64zm0 480c0 19.2-12.8 32-32 32H160c-19.2 0-32-12.8-32-32V320c0-19.2 12.8-32 32-32h704c19.2 0 32 12.8 32 32v384z" /><path d="M224 352c-19.2 0-32 12.8-32 32v256c0 16 12.8 32 32 32s32-12.8 32-32V384c0-16-12.8-32-32-32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-textarea-field"><path d="M896.4 173.1H128.9c-35.2 0-49 13.8-49 49v575.6c0 35.2 13.8 49 49 49h767.5c35.2 0 49-13.8 49-49V222.1c0-35.2-13.8-49-49-49zm0 592.6c0 16-12.8 32-32 32H160.9c-19.2 0-32-12.8-32-32V254.1c0-16 12.8-32 32-32h703.5c19.2 0 32 12.8 32 32v511.6z" /><path d="M710.2 766.7h141.5c8.1 0 14.7-6.6 14.7-14.7V610.4c0-1.3-1.6-2-2.6-1.1L709.1 764.1c-1 1-.3 2.6 1.1 2.6zm-503-172.4h-13.5c-10 0-18.2-8.2-18.2-18.2V291.8c0-10.2 8.4-18.6 18.6-18.6h12.8c10.2 0 18.6 8.4 18.6 18.6v284.3c-.1 10-8.3 18.2-18.3 18.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-field"><path d="M512 39.385A472.615 472.615 0 1 0 984.615 512 472.615 472.615 0 0 0 512 39.385zm0 866.461A393.846 393.846 0 1 1 905.846 512 393.846 393.846 0 0 1 512 905.846zm75.855-373.72A77.154 77.154 0 0 0 590.769 512a78.454 78.454 0 0 0-39.384-67.86V196.923a39.385 39.385 0 0 0-78.77 0V444.14a78.336 78.336 0 0 0 59.55 143.715l70.144 70.144a39.385 39.385 0 0 0 55.69-55.69zM512 551.385A39.385 39.385 0 1 1 551.385 512 39.385 39.385 0 0 1 512 551.385zm315.077-78.77A39.385 39.385 0 1 0 866.462 512a39.385 39.385 0 0 0-39.385-39.385zm-630.154 0A39.385 39.385 0 1 0 236.308 512a39.385 39.385 0 0 0-39.385-39.385zm509.991 234.3a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69 0zM317.007 317.006a39.385 39.385 0 1 0-55.73 0 39.385 39.385 0 0 0 55.809.04zM512 787.692a39.385 39.385 0 1 0 39.385 39.385A39.385 39.385 0 0 0 512 787.692zm-250.604-80.778a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.039zm445.518-445.518a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.04z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-range-field"><path d="M498.596 482.29H345.42v57.308h210.478V274.197h-57.301V482.29zm79.089 162.695h379.88v57.302h-379.88v-57.302zm0 128.78h379.88v57.307h-379.88v-57.307zm0 128.785h379.88v57.307h-379.88V902.55zm0 0" /><path d="M102.523 382.29a28.668 28.668 0 0 0 23.367 2.56l190.81-61.886c15.053-4.883 23.298-21.04 18.415-36.09-4.882-15.052-21.04-23.297-36.093-18.415l-123.346 40c15.994-26.117 35.17-50.538 57.37-72.745 73.768-73.767 171.847-114.388 276.169-114.388 104.32 0 202.395 40.622 276.161 114.388S899.77 407.56 899.77 511.882c0 26.428-2.616 52.45-7.71 77.78h58.303c4.465-25.499 6.709-51.47 6.709-77.78 0-60.45-11.846-119.102-35.205-174.336-22.56-53.335-54.85-101.227-95.969-142.35-41.122-41.122-89.017-73.408-142.348-95.968-55.233-23.361-113.89-35.207-174.334-35.207-60.45 0-119.107 11.846-174.337 35.208-53.335 22.56-101.23 54.846-142.35 95.969-23.98 23.98-44.933 50.278-62.727 78.6l-20.738-105.654c-3.043-15.528-18.105-25.642-33.632-22.6-15.528 3.048-25.643 18.105-22.6 33.637l36.103 183.932a28.666 28.666 0 0 0 13.588 19.178zm23.497 205.652H67.768c5.76 33.679 15.368 66.544 28.79 98.278 22.56 53.334 54.85 101.225 95.972 142.348 41.123 41.123 89.014 73.409 142.349 95.969 54.112 22.888 111.518 34.711 170.668 35.182v-57.324c-102.95-.941-199.595-41.446-272.5-114.349-55.501-55.502-92.237-124.77-107.027-200.104zm0 0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-undo"><path d="M609.206 396.656H193.504l201.87-199.152c17.787-17.787 17.787-43.185 0-60.973s-41.555-18.641-59.42-.778L62.857 402.557c-17.787 17.787-17.787 41.399 0 59.186L336.03 728.858c17.787 17.787 41.555 17.787 59.42-.078 17.787-17.787 17.787-41.166 0-58.953L193.502 474.326h415.702c166.219 0 311.155 129.712 311.155 290.029v41.555c0 23.769 15.069 41.555 38.836 41.555s38.836-17.787 38.836-41.555v-41.555c0-207.852-175.073-367.7-388.828-367.7z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-vue-sfc"><path d="M454.138 11.176 54.066 174.092c-72.088 29.49-72.088 120.523 0 150.014l400.276 162.916c36.454 14.95 78.847 14.95 115.506 0l400.071-162.814c72.191-29.593 72.089-120.83-.307-150.116L569.746 11.278a155.339 155.339 0 0 0-115.608-.205zm469.19 237.872L532.37 408.585l-7.885 2.457a55.09 55.09 0 0 1-32.562-2.457L100.35 249.048l391.265-159.23a55.09 55.09 0 0 1 40.447 0l391.162 159.23z" fill="#1890FF" /><path d="M498.681 729.911c-20.275 0-40.652-3.788-59.391-11.673L53.76 561.26C20.48 547.847 0 519.89 0 488.558c0-31.436 20.582-59.391 53.862-72.703l36.556-15.053c21.401-8.806 47.103-1.024 57.24 17.408 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.229-4.71 3.584-4.71 6.45 0 3.073 1.536 5.12 4.71 6.452l385.326 156.875c14.336 5.939 30.924 5.939 45.362 0L906.74 495.009c3.072-1.229 4.915-3.584 4.915-6.451 0-3.072-1.536-5.222-4.607-6.451l-44.851-18.227c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.329 35.84-26.214 57.24-17.407l44.851 18.431c33.177 13.517 53.76 41.267 53.76 72.703 0 31.334-20.48 59.391-53.76 72.703L558.482 718.238a161.585 161.585 0 0 1-59.801 11.673z" fill="#5DE1C8" /><path d="M498.681 966.247c-20.275 0-40.652-3.89-59.391-11.673L53.76 797.597C20.48 784.08 0 756.227 0 724.997c0-31.437 20.582-59.494 53.862-72.806l36.556-14.95c21.401-8.807 47.103-1.024 57.24 17.407 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.126-4.71 3.584-4.71 6.451 0 3.072 1.536 5.12 4.71 6.349l385.326 156.977c14.336 5.939 30.924 5.939 45.362 0L906.74 731.14c3.072-1.126 4.915-3.584 4.915-6.349 0-3.072-1.536-5.324-4.607-6.45l-44.851-18.33c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.431 35.84-26.214 57.24-17.407l44.851 18.329c33.177 13.517 53.76 41.369 53.76 72.703 0 31.436-20.48 59.494-53.76 72.805l-385.428 157.08a161.585 161.585 0 0 1-59.801 11.673z" fill="#FF7272" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-search"><path d="M863.3 641.94A416.1 416.1 0 0 0 96.7 318.06a416.1 416.1 0 0 0 766.6 323.88zM480 832a352 352 0 1 1 248.9-103.1A349.69 349.69 0 0 1 480 832z" /><path d="m950.63 841.37-96-96a32 32 0 0 0-45.25 45.25l96 96a13.25 13.25 0 1 1-18.75 18.75l-96-96a32 32 0 0 0-45.25 45.25l96 96a77.25 77.25 0 1 0 109.25-109.25z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-arrow-down"><path d="M512 714.667c-8.533 0-17.067-2.134-23.467-8.534L147.2 364.8c-12.8-12.8-12.8-32 0-44.8 12.8-12.8 32-12.8 44.8 0l320 317.867 317.867-320c12.8-12.8 32-12.8 44.8 0 12.8 12.8 12.8 32 0 44.8L533.333 704c-4.266 8.533-12.8 10.667-21.333 10.667z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-back"><path fill="currentColor" d="M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z" /><path fill="currentColor" d="m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312L237.248 512z" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-el-check"><path fill="currentColor" d="M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-clone"><path d="M774.144 839.68c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H184.32c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V380.928c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4v65.536c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08V839.68c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h458.752c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08h65.536zM380.928 118.784c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v458.752c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456H839.68c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V184.32c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H380.928zm0-65.536H839.68c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v458.752c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H380.928c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V184.32c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-delete"><path fill="currentColor" d="M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-download"><path d="M896 672c-17.067 0-32 14.933-32 32v128c0 6.4-4.267 10.667-10.667 10.667H170.667c-6.4 0-10.667-4.267-10.667-10.667V704c0-17.067-14.933-32-32-32s-32 14.933-32 32v128c0 40.533 34.133 74.667 74.667 74.667h682.666C893.867 906.667 928 872.533 928 832V704c0-17.067-14.933-32-32-32z" /><path d="M488.533 727.467c6.4 6.4 14.934 8.533 23.467 8.533s17.067-2.133 23.467-8.533L748.8 514.133c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L546.133 627.2V170.667c0-17.067-14.933-32-32-32S480 153.6 480 170.667V627.2L322.133 469.333c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8l211.2 213.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-drag-move"><path d="M909.3 506.3 781.7 405.6c-4.7-3.7-11.7-.4-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7c-2.9-3.7-8.5-3.7-11.3 0L405.6 242.3c-3.7 4.7-.4 11.7 5.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3c-3.7 2.9-3.7 8.5 0 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.7-2.9 3.7-8.5.1-11.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-form-template"><path d="M298.667 981.333A85.333 85.333 0 0 1 213.333 896V128a85.333 85.333 0 0 1 85.334-85.333h426.666A85.333 85.333 0 0 1 810.667 128v768a85.333 85.333 0 0 1-85.334 85.333zm0-832v725.334A21.333 21.333 0 0 0 320 896h384a21.333 21.333 0 0 0 21.333-21.333V149.333A21.333 21.333 0 0 0 704 128H320a21.333 21.333 0 0 0-21.333 21.333zm640 618.667V256a42.667 42.667 0 0 1 42.666-42.667A42.667 42.667 0 0 1 1024 256v512a42.667 42.667 0 0 1-42.667 42.667A42.667 42.667 0 0 1 938.667 768zM0 768V256a42.667 42.667 0 0 1 42.667-42.667A42.667 42.667 0 0 1 85.333 256v512a42.667 42.667 0 0 1-42.666 42.667A42.667 42.667 0 0 1 0 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-hide"><path d="M956.8 496c-41.6-70.4-99.2-147.2-176-204.8l105.6-105.6c12.8-12.8 12.8-32 0-44.8s-32-12.8-44.8 0L726.4 256C665.6 214.4 592 192 512 192c-214.4 0-358.4 166.4-444.8 304-6.4 9.6-6.4 22.4 0 32 41.6 70.4 102.4 147.2 176 204.8L134.4 841.6c-12.8 12.8-12.8 32 0 44.8 9.6 6.4 16 9.6 25.6 9.6s16-3.2 22.4-9.6l115.2-115.2C358.4 809.6 432 832 512 832c185.6 0 374.4-128 444.8-307.2 3.2-9.6 3.2-19.2 0-28.8zm-822.4 16C211.2 390.4 336 256 512 256c60.8 0 118.4 16 166.4 44.8l-80 80C576 361.6 544 352 512 352c-89.6 0-160 70.4-160 160 0 32 9.6 64 25.6 89.6L288 691.2C224 640 172.8 572.8 134.4 512zm473.6 0c0 54.4-41.6 96-96 96-16 0-28.8-3.2-41.6-9.6l128-128c6.4 12.8 9.6 25.6 9.6 41.6zm-192 0c0-54.4 41.6-96 96-96 16 0 28.8 3.2 41.6 9.6l-128 128c-6.4-12.8-9.6-25.6-9.6-41.6zm96 256c-60.8 0-118.4-16-166.4-44.8l80-80C448 662.4 480 672 512 672c89.6 0 160-70.4 160-160 0-32-9.6-64-25.6-89.6l89.6-89.6C803.2 384 854.4 451.2 892.8 512 825.6 659.2 665.6 768 512 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-info"><path d="M512.001 928.997c230.524 0 418.076-187.552 418.075-418.077 0-230.527-187.552-418.077-418.075-418.077S93.924 280.393 93.924 510.92c0 230.525 187.552 418.077 418.077 418.077zM512 301.88c28.86 0 52.26 23.399 52.26 52.263 0 28.858-23.399 52.257-52.26 52.257s-52.26-23.399-52.26-52.257c0-28.863 23.399-52.263 52.26-52.263zm-52.26 209.042c0-28.86 23.399-52.26 52.26-52.26s52.26 23.399 52.26 52.26v156.775c0 28.86-23.399 52.26-52.26 52.26s-52.26-23.399-52.26-52.26V510.922z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-column"><path d="M653.184 713.6c12.864-12.864 33.6-12.864 46.528 0 6.4 6.4 3.776 14.72 3.776 23.232a32.675 32.675 0 0 1-9.6 23.104L569.92 886.4c-.128.128-.32.192-.512.32-2.88 2.88-9.536 5.184-13.312 6.784-3.456 1.344-.64 1.856-4.096 2.112-.768 0-1.344.384-2.048.384-.512 0-.896-.256-1.344-.256-3.84-.192-5.76-.896-9.344-2.24-3.264-1.344-6.016-3.52-8.64-5.76-.64-.512-1.472-.768-2.048-1.344L391.232 760c-12.864-12.736-6.976-33.6 5.888-46.4 12.8-12.864 33.6-12.864 46.464 0l105.472 100.352L653.184 713.6zM384 64v576h320V64H384zM128 704v256H64V640h256v320h-62.976L256 704H128m704 0v256h-64V640h256v320h-62.976L960 704H832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-row"><path d="M310.336 653.184c12.864 12.864 12.864 33.6 0 46.528-6.4 6.4-14.72 3.776-23.168 3.776s-16.832-3.264-23.168-9.6L137.6 569.92c-.128-.128-.192-.32-.256-.512-2.88-2.816-5.248-9.536-6.848-13.312-1.344-3.392-1.856-.576-2.112-4.096 0-.768-.384-1.344-.384-2.048 0-.512.256-.896.256-1.344.192-3.84.896-5.76 2.24-9.344 1.344-3.264 3.52-6.016 5.76-8.64.512-.704.768-1.536 1.344-2.112l126.336-137.344c12.8-12.864 33.6-6.976 46.4 5.888 12.864 12.8 12.864 33.6 0 46.464L210.048 548.992l100.288 104.192zM960 384H384v320h576V384zM320 128H64V64h320v256H64v-62.976L320 256V128m0 704H64v-64h320v256H64v-62.976L320 960V832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-menu"><path d="M844.8 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zM435.2 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-down"><path d="M898.133 512c-12.8-12.8-32-12.8-44.8-2.133L544 800V149.333c0-17.066-14.933-32-32-32s-32 14.934-32 32V800L170.667 509.867c-12.8-12.8-34.134-10.667-44.8 2.133-12.8 12.8-10.667 34.133 2.133 44.8l362.667 341.333c2.133 2.134 6.4 4.267 8.533 6.4 4.267 2.134 6.4 2.134 10.667 2.134s8.533 0 10.666-2.134c4.267-2.133 6.4-4.266 8.534-6.4L891.733 556.8c17.067-12.8 19.2-32 6.4-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-up"><path d="M896 467.2 533.333 125.867c-2.133-2.134-6.4-4.267-8.533-6.4-4.267-2.134-6.4-2.134-10.667-2.134s-8.533 0-10.666 2.134c-4.267 2.133-6.4 4.266-8.534 6.4L132.267 467.2c-12.8 12.8-12.8 32-2.134 44.8 12.8 12.8 32 12.8 44.8 2.133L484.267 224v650.667c0 17.066 14.933 32 32 32s32-14.934 32-32V224l305.066 290.133c6.4 6.4 14.934 8.534 21.334 8.534 8.533 0 17.066-4.267 23.466-10.667 12.8-12.8 10.667-32-2.133-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-plus"><path d="M554.667 213.333h-85.334v256h-256v85.334h256v256h85.334v-256h256v-85.334h-256z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-set-up"><path d="M217.088 151.552c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v589.824c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h589.824c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V217.088c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H217.088zm0-65.536h589.824c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v589.824c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H217.088c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V217.088c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4zm163.84 327.68c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm98.304-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H479.232c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768zm163.84 425.984c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm-360.448-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H282.624c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-view"><path fill="currentColor" d="M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-el-zoom-in"><path fill="currentColor" d="m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z" /></symbol>',g.insertBefore(e,g.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}var iconfont="",index="";function registerCPEditor(t,g,e,f){t.component(e,f)}function registerAPEditor(t,g,e,f){t.component(e,f)}function registerEPEditor(t,g,e,f){t.component(e,f)}function _isSlot(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!vue.isVNode(t)}const createInputTextEditor=function(t,g){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(g)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[t],"onUpdate:modelValue":f=>this.optionModel[t]=f},null)]})}}},createTextareaEditor=function(t,g,e={}){return{props:{optionModel:Object},render(f){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(g)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"textarea",modelValue:this.optionModel[t],"onUpdate:modelValue":_=>this.optionModel[t]=_,rows:e.rows||4,autosize:e.autosize||!1},null)]})}}},createInputNumberEditor=function(t,g){return{props:{optionModel:Object},methods:{updateValue(e){e==null||isNaN(e)?this.optionModel[t]=null:this.optionModel[t]=Number(e)}},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(g)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input-number"),{type:"text",modelValue:this.optionModel[t],"onUpdate:modelValue":f=>this.optionModel[t]=f,onChange:this.updateValue,style:"width: 100%"},null)]})}}},createBooleanEditor=function(t,g){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(g)},{default:()=>[vue.createVNode(vue.resolveComponent("el-switch"),{modelValue:this.optionModel[t],"onUpdate:modelValue":f=>this.optionModel[t]=f},null)]})}}},createRadioButtonGroupEditor=function(t,g,e){return{props:{optionModel:Object},render(f){let _;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(g)},{default:()=>[vue.createVNode(vue.resolveComponent("el-radio-group"),{modelValue:this.optionModel[t],"onUpdate:modelValue":m=>this.optionModel[t]=m},_isSlot(_=e.optionItems.map(m=>vue.createVNode(vue.resolveComponent("el-radio-button"),{label:m.value},{default:()=>[m.label]})))?_:{default:()=>[_]})]})}}},createSelectEditor=function(t,g,e){return{props:{optionModel:Object},render(f){let _;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(g)},{default:()=>[vue.createVNode(vue.resolveComponent("el-select"),{modelValue:this.optionModel[t],"onUpdate:modelValue":m=>this.optionModel[t]=m},_isSlot(_=e.optionItems.map(m=>vue.createVNode(vue.resolveComponent("el-option"),{label:m.label,value:m.value},null)))?_:{default:()=>[_]})]})}}},createEventHandlerEditor=function(t,g){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[t,[...g]])}},render(e){let f;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:t,"label-width":"150px"},{default:()=>[vue.createVNode(vue.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(f=translate("designer.setting.addEventHandler"))?f:{default:()=>[f]})]})}}};var containerMixin={inject:["getFormConfig","getGlobalDsv"],computed:{formConfig(){return this.getFormConfig()}},methods:{appendTableRow(t){this.designer.appendTableRow(t)},appendTableCol(t){this.designer.appendTableCol(t)},onContainerDragAdd(t,g){const e=t.newIndex;g[e]&&this.designer.setSelected(g[e]),this.designer.emitHistoryChange()},onContainerDragUpdate(){this.designer.emitHistoryChange()},checkContainerMove(t){return this.designer.checkWidgetMove(t)},selectWidget(t){this.designer.setSelected(t)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},cloneContainer(t){if(this.parentList){let g=this.designer.cloneContainer(t);this.parentList.splice(this.indexOfParentList+1,0,g),this.designer.setSelected(g),this.designer.emitHistoryChange()}},removeWidget(){if(this.parentList){const t=this.designer.selectedWidgetName;let g=null;this.parentList.length===1?this.parentWidget&&(g=this.parentWidget):this.parentList.length===1+this.indexOfParentList?g=this.parentList[this.indexOfParentList-1]:g=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(g),this.designer.formWidget.deleteWidgetRef(t),this.designer.emitHistoryChange()})}},setWidgetOption(t,g){this.widget.options.hasOwnProperty(t)&&(this.widget.options[t]=g)}}},containerWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$G={name:"container-wrapper",mixins:[i18n$1,containerMixin],components:{SvgIcon},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{customClass(){return this.widget.options.customClass?this.widget.options.customClass.join(" "):""}}},_hoisted_1$v={key:0,class:"container-action"},_hoisted_2$n=["title"],_hoisted_3$j=["title"],_hoisted_4$g=["title"],_hoisted_5$c=["title"],_hoisted_6$c=["title"],_hoisted_7$a=["title"],_hoisted_8$7=["title"],_hoisted_9$6={key:1,class:"drag-handler"},_hoisted_10$4=["title"],_hoisted_11$2={key:0};function _sfc_render$G(t,g,e,f,_,m){const A=vue.resolveComponent("svg-icon");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["container-wrapper",[m.customClass]])},[vue.renderSlot(t.$slots,"default",{},void 0,!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$v,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:g[0]||(g[0]=vue.withModifiers(b=>t.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(A,{"icon-class":"el-back"})],8,_hoisted_2$n),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:t.i18nt("designer.hint.moveUpWidget"),onClick:g[1]||(g[1]=vue.withModifiers(b=>t.moveUpWidget(),["stop"]))},[vue.createVNode(A,{"icon-class":"el-move-up"})],8,_hoisted_3$j)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:t.i18nt("designer.hint.moveDownWidget"),onClick:g[2]||(g[2]=vue.withModifiers(b=>t.moveDownWidget(),["stop"]))},[vue.createVNode(A,{"icon-class":"el-move-down"})],8,_hoisted_4$g)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:2,title:t.i18nt("designer.hint.insertRow"),onClick:g[3]||(g[3]=vue.withModifiers(b=>t.appendTableRow(e.widget),["stop"]))},[vue.createVNode(A,{"icon-class":"el-insert-row"})],8,_hoisted_5$c)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:3,title:t.i18nt("designer.hint.insertColumn"),onClick:g[4]||(g[4]=vue.withModifiers(b=>t.appendTableCol(e.widget),["stop"]))},[vue.createVNode(A,{"icon-class":"el-insert-column"})],8,_hoisted_6$c)):vue.createCommentVNode("",!0),e.widget.type==="grid"||e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:4,title:t.i18nt("designer.hint.cloneWidget"),onClick:g[5]||(g[5]=vue.withModifiers(b=>t.cloneContainer(e.widget),["stop"]))},[vue.createVNode(A,{"icon-class":"el-clone"})],8,_hoisted_7$a)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:t.i18nt("designer.hint.remove"),onClick:g[6]||(g[6]=vue.withModifiers((...b)=>t.removeWidget&&t.removeWidget(...b),["stop"]))},[vue.createVNode(A,{"icon-class":"el-delete"})],8,_hoisted_8$7)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$6,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.dragHandler")},[vue.createVNode(A,{"icon-class":"el-drag-move"})],8,_hoisted_10$4),vue.createElementVNode("i",null,vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${e.widget.type}`,`extension.widgetLabel.${e.widget.type}`)),1),e.widget.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_11$2,[vue.createVNode(A,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2)}var ContainerWrapper=_export_sfc$1(_sfc_main$G,[["render",_sfc_render$G],["__scopeId","data-v-679de05a"]]),__glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:ContainerWrapper},Symbol.toStringTag,{value:"Module"})),refMixinDesign={methods:{initRefList(){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(this.refList[this.widget.options.name]=this)},getWidgetRef(t,g){let e=this.refList[t];return!e&&!!g&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},registerToRefList(t){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(t&&delete this.refList[t],this.refList[this.widget.options.name]=this)}}},cardWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$F={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:st(Ie({ContainerWrapper},comps),{ArrowDownBold:arrowDownBold}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{checkContainerMove(t){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(t){this.widget.options.folded=!!t}}},_hoisted_1$u={class:"label"},_hoisted_2$m={class:"form-widget-list"};function _sfc_render$F(t,g,e,f,_,m){const A=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),d=vue.resolveComponent("draggable"),u=vue.resolveComponent("el-card"),n=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(u,{key:e.widget.id,class:vue.normalizeClass(["card-container",[m.selected?"selected":"",e.widget.options.folded?"folded":"",m.customClass]]),onClick:g[2]||(g[2]=vue.withModifiers(s=>t.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:g[0]||(g[0]=(...s)=>m.toggleCard&&m.toggleCard(...s)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(b,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(A)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$u,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[vue.createVNode(d,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:g[1]||(g[1]=s=>t.onContainerDragAdd(s,e.widget.widgetList)),onUpdate:t.onContainerDragUpdate,move:m.checkContainerMove}),{item:vue.withCtx(({element:s,index:i})=>[vue.createElementVNode("div",_hoisted_2$m,[s.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{widget:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{field:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"])]),_:1},8,["shadow","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CardWidget=_export_sfc$1(_sfc_main$F,[["render",_sfc_render$F],["__scopeId","data-v-2c3be1b8"]]),cardItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$E={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:st(Ie({ContainerItemWrapper},comps),{ArrowDownBold:arrowDownBold}),props:{widget:Object},inject:["refList","sfRefList","globalModel"],computed:{customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},beforeUnmount(){this.unregisterFromRefList()},methods:{toggleCard(){this.widget.options.folded=!this.widget.options.folded}}},_hoisted_1$t={class:"label"};function _sfc_render$E(t,g,e,f,_,m){const A=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),d=vue.resolveComponent("el-card"),u=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(u,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createBlock(d,{key:e.widget.id,class:vue.normalizeClass(["card-container",[e.widget.options.folded?"folded":"",m.customClass]]),ref:e.widget.id,shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:g[0]||(g[0]=(...n)=>m.toggleCard&&m.toggleCard(...n)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(b,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(A)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$t,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[!!e.widget.widgetList&&e.widget.widgetList.length>0?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.widget.widgetList,(n,s)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[n.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(n)),{widget:n,key:s,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),i=>({name:i,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,i,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(n.type+"-widget"),{field:n,designer:null,key:s,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),i=>({name:i,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,i,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256)):vue.createCommentVNode("",!0)]),_:3},8,["class","shadow"])),[[vue.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}var CardItem=_export_sfc$1(_sfc_main$E,[["render",_sfc_render$E],["__scopeId","data-v-2f0daae4"]]);const ACE_BASE_PATH="https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini",_sfc_main$D={name:"alert-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{StaticContentWrapper},created(){this.registerToRefList(),this.initEventHandler()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleCloseCustomEvent(){this.field.options.onClose&&new Function(this.field.options.onClose).call(this)}}};function _sfc_render$D(t,g,e,f,_,m){const A=vue.resolveComponent("el-alert"),b=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(A,{ref:"fieldEditor",title:e.field.options.title,type:e.field.options.type,description:e.field.options.description,closable:e.field.options.closable,center:e.field.options.center,"close-text":e.field.options.closeText,"show-icon":e.field.options.showIcon,effect:e.field.options.effect,onClose:m.handleCloseCustomEvent},null,8,["title","type","description","closable","center","close-text","show-icon","effect","onClose"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AlertWidget=_export_sfc$1(_sfc_main$D,[["render",_sfc_render$D]]),cryptoJs={exports:{}},core={exports:{}};(function(t,g){(function(e,f){t.exports=f()})(commonjsGlobal,function(){var e=e||function(f,_){var m;if(typeof window!="undefined"&&window.crypto&&(m=window.crypto),typeof self!="undefined"&&self.crypto&&(m=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(m=globalThis.crypto),!m&&typeof window!="undefined"&&window.msCrypto&&(m=window.msCrypto),!m&&typeof commonjsGlobal!="undefined"&&commonjsGlobal.crypto&&(m=commonjsGlobal.crypto),!m&&typeof commonjsRequire=="function")try{m=require("crypto")}catch{}var A=function(){if(m){if(typeof m.getRandomValues=="function")try{return m.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof m.randomBytes=="function")try{return m.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},b=Object.create||function(){function p(){}return function(w){var v;return p.prototype=w,v=new p,p.prototype=null,v}}(),d={},u=d.lib={},n=u.Base=function(){return{extend:function(p){var w=b(this);return p&&w.mixIn(p),(!w.hasOwnProperty("init")||this.init===w.init)&&(w.init=function(){w.$super.init.apply(this,arguments)}),w.init.prototype=w,w.$super=this,w},create:function(){var p=this.extend();return p.init.apply(p,arguments),p},init:function(){},mixIn:function(p){for(var w in p)p.hasOwnProperty(w)&&(this[w]=p[w]);p.hasOwnProperty("toString")&&(this.toString=p.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),s=u.WordArray=n.extend({init:function(p,w){p=this.words=p||[],w!=_?this.sigBytes=w:this.sigBytes=p.length*4},toString:function(p){return(p||r).stringify(this)},concat:function(p){var w=this.words,v=p.words,x=this.sigBytes,y=p.sigBytes;if(this.clamp(),x%4)for(var M=0;M<y;M++){var T=v[M>>>2]>>>24-M%4*8&255;w[x+M>>>2]|=T<<24-(x+M)%4*8}else for(var L=0;L<y;L+=4)w[x+L>>>2]=v[L>>>2];return this.sigBytes+=y,this},clamp:function(){var p=this.words,w=this.sigBytes;p[w>>>2]&=4294967295<<32-w%4*8,p.length=f.ceil(w/4)},clone:function(){var p=n.clone.call(this);return p.words=this.words.slice(0),p},random:function(p){for(var w=[],v=0;v<p;v+=4)w.push(A());return new s.init(w,p)}}),i=d.enc={},r=i.Hex={stringify:function(p){for(var w=p.words,v=p.sigBytes,x=[],y=0;y<v;y++){var M=w[y>>>2]>>>24-y%4*8&255;x.push((M>>>4).toString(16)),x.push((M&15).toString(16))}return x.join("")},parse:function(p){for(var w=p.length,v=[],x=0;x<w;x+=2)v[x>>>3]|=parseInt(p.substr(x,2),16)<<24-x%8*4;return new s.init(v,w/2)}},o=i.Latin1={stringify:function(p){for(var w=p.words,v=p.sigBytes,x=[],y=0;y<v;y++){var M=w[y>>>2]>>>24-y%4*8&255;x.push(String.fromCharCode(M))}return x.join("")},parse:function(p){for(var w=p.length,v=[],x=0;x<w;x++)v[x>>>2]|=(p.charCodeAt(x)&255)<<24-x%4*8;return new s.init(v,w)}},a=i.Utf8={stringify:function(p){try{return decodeURIComponent(escape(o.stringify(p)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(p){return o.parse(unescape(encodeURIComponent(p)))}},l=u.BufferedBlockAlgorithm=n.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(p){typeof p=="string"&&(p=a.parse(p)),this._data.concat(p),this._nDataBytes+=p.sigBytes},_process:function(p){var w,v=this._data,x=v.words,y=v.sigBytes,M=this.blockSize,T=M*4,L=y/T;p?L=f.ceil(L):L=f.max((L|0)-this._minBufferSize,0);var S=L*M,N=f.min(S*4,y);if(S){for(var k=0;k<S;k+=M)this._doProcessBlock(x,k);w=x.splice(0,S),v.sigBytes-=N}return new s.init(w,N)},clone:function(){var p=n.clone.call(this);return p._data=this._data.clone(),p},_minBufferSize:0});u.Hasher=l.extend({cfg:n.extend(),init:function(p){this.cfg=this.cfg.extend(p),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(p){return this._append(p),this._process(),this},finalize:function(p){p&&this._append(p);var w=this._doFinalize();return w},blockSize:512/32,_createHelper:function(p){return function(w,v){return new p.init(v).finalize(w)}},_createHmacHelper:function(p){return function(w,v){return new h.HMAC.init(p,v).finalize(w)}}});var h=d.algo={};return d}(Math);return e})})(core);var x64Core={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(f){var _=e,m=_.lib,A=m.Base,b=m.WordArray,d=_.x64={};d.Word=A.extend({init:function(u,n){this.high=u,this.low=n}}),d.WordArray=A.extend({init:function(u,n){u=this.words=u||[],n!=f?this.sigBytes=n:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,n=u.length,s=[],i=0;i<n;i++){var r=u[i];s.push(r.high),s.push(r.low)}return b.create(s,this.sigBytes)},clone:function(){for(var u=A.clone.call(this),n=u.words=this.words.slice(0),s=n.length,i=0;i<s;i++)n[i]=n[i].clone();return u}})}(),e})})(x64Core);var libTypedarrays={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(){if(typeof ArrayBuffer=="function"){var f=e,_=f.lib,m=_.WordArray,A=m.init,b=m.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var u=d.byteLength,n=[],s=0;s<u;s++)n[s>>>2]|=d[s]<<24-s%4*8;A.call(this,n,u)}else A.apply(this,arguments)};b.prototype=m}}(),e.lib.WordArray})})(libTypedarrays);var encUtf16={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.lib,m=_.WordArray,A=f.enc;A.Utf16=A.Utf16BE={stringify:function(d){for(var u=d.words,n=d.sigBytes,s=[],i=0;i<n;i+=2){var r=u[i>>>2]>>>16-i%4*8&65535;s.push(String.fromCharCode(r))}return s.join("")},parse:function(d){for(var u=d.length,n=[],s=0;s<u;s++)n[s>>>1]|=d.charCodeAt(s)<<16-s%2*16;return m.create(n,u*2)}},A.Utf16LE={stringify:function(d){for(var u=d.words,n=d.sigBytes,s=[],i=0;i<n;i+=2){var r=b(u[i>>>2]>>>16-i%4*8&65535);s.push(String.fromCharCode(r))}return s.join("")},parse:function(d){for(var u=d.length,n=[],s=0;s<u;s++)n[s>>>1]|=b(d.charCodeAt(s)<<16-s%2*16);return m.create(n,u*2)}};function b(d){return d<<8&4278255360|d>>>8&16711935}}(),e.enc.Utf16})})(encUtf16);var encBase64={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.lib,m=_.WordArray,A=f.enc;A.Base64={stringify:function(d){var u=d.words,n=d.sigBytes,s=this._map;d.clamp();for(var i=[],r=0;r<n;r+=3)for(var o=u[r>>>2]>>>24-r%4*8&255,a=u[r+1>>>2]>>>24-(r+1)%4*8&255,l=u[r+2>>>2]>>>24-(r+2)%4*8&255,h=o<<16|a<<8|l,p=0;p<4&&r+p*.75<n;p++)i.push(s.charAt(h>>>6*(3-p)&63));var w=s.charAt(64);if(w)for(;i.length%4;)i.push(w);return i.join("")},parse:function(d){var u=d.length,n=this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var i=0;i<n.length;i++)s[n.charCodeAt(i)]=i}var r=n.charAt(64);if(r){var o=d.indexOf(r);o!==-1&&(u=o)}return b(d,u,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function b(d,u,n){for(var s=[],i=0,r=0;r<u;r++)if(r%4){var o=n[d.charCodeAt(r-1)]<<r%4*2,a=n[d.charCodeAt(r)]>>>6-r%4*2,l=o|a;s[i>>>2]|=l<<24-i%4*8,i++}return m.create(s,i)}}(),e.enc.Base64})})(encBase64);var encBase64url={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.lib,m=_.WordArray,A=f.enc;A.Base64url={stringify:function(d,u){u===void 0&&(u=!0);var n=d.words,s=d.sigBytes,i=u?this._safe_map:this._map;d.clamp();for(var r=[],o=0;o<s;o+=3)for(var a=n[o>>>2]>>>24-o%4*8&255,l=n[o+1>>>2]>>>24-(o+1)%4*8&255,h=n[o+2>>>2]>>>24-(o+2)%4*8&255,p=a<<16|l<<8|h,w=0;w<4&&o+w*.75<s;w++)r.push(i.charAt(p>>>6*(3-w)&63));var v=i.charAt(64);if(v)for(;r.length%4;)r.push(v);return r.join("")},parse:function(d,u){u===void 0&&(u=!0);var n=d.length,s=u?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var r=0;r<s.length;r++)i[s.charCodeAt(r)]=r}var o=s.charAt(64);if(o){var a=d.indexOf(o);a!==-1&&(n=a)}return b(d,n,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function b(d,u,n){for(var s=[],i=0,r=0;r<u;r++)if(r%4){var o=n[d.charCodeAt(r-1)]<<r%4*2,a=n[d.charCodeAt(r)]>>>6-r%4*2,l=o|a;s[i>>>2]|=l<<24-i%4*8,i++}return m.create(s,i)}}(),e.enc.Base64url})})(encBase64url);var md5={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(f){var _=e,m=_.lib,A=m.WordArray,b=m.Hasher,d=_.algo,u=[];(function(){for(var a=0;a<64;a++)u[a]=f.abs(f.sin(a+1))*4294967296|0})();var n=d.MD5=b.extend({_doReset:function(){this._hash=new A.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(a,l){for(var h=0;h<16;h++){var p=l+h,w=a[p];a[p]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var v=this._hash.words,x=a[l+0],y=a[l+1],M=a[l+2],T=a[l+3],L=a[l+4],S=a[l+5],N=a[l+6],k=a[l+7],D=a[l+8],E=a[l+9],I=a[l+10],F=a[l+11],O=a[l+12],V=a[l+13],W=a[l+14],j=a[l+15],B=v[0],$=v[1],P=v[2],H=v[3];B=s(B,$,P,H,x,7,u[0]),H=s(H,B,$,P,y,12,u[1]),P=s(P,H,B,$,M,17,u[2]),$=s($,P,H,B,T,22,u[3]),B=s(B,$,P,H,L,7,u[4]),H=s(H,B,$,P,S,12,u[5]),P=s(P,H,B,$,N,17,u[6]),$=s($,P,H,B,k,22,u[7]),B=s(B,$,P,H,D,7,u[8]),H=s(H,B,$,P,E,12,u[9]),P=s(P,H,B,$,I,17,u[10]),$=s($,P,H,B,F,22,u[11]),B=s(B,$,P,H,O,7,u[12]),H=s(H,B,$,P,V,12,u[13]),P=s(P,H,B,$,W,17,u[14]),$=s($,P,H,B,j,22,u[15]),B=i(B,$,P,H,y,5,u[16]),H=i(H,B,$,P,N,9,u[17]),P=i(P,H,B,$,F,14,u[18]),$=i($,P,H,B,x,20,u[19]),B=i(B,$,P,H,S,5,u[20]),H=i(H,B,$,P,I,9,u[21]),P=i(P,H,B,$,j,14,u[22]),$=i($,P,H,B,L,20,u[23]),B=i(B,$,P,H,E,5,u[24]),H=i(H,B,$,P,W,9,u[25]),P=i(P,H,B,$,T,14,u[26]),$=i($,P,H,B,D,20,u[27]),B=i(B,$,P,H,V,5,u[28]),H=i(H,B,$,P,M,9,u[29]),P=i(P,H,B,$,k,14,u[30]),$=i($,P,H,B,O,20,u[31]),B=r(B,$,P,H,S,4,u[32]),H=r(H,B,$,P,D,11,u[33]),P=r(P,H,B,$,F,16,u[34]),$=r($,P,H,B,W,23,u[35]),B=r(B,$,P,H,y,4,u[36]),H=r(H,B,$,P,L,11,u[37]),P=r(P,H,B,$,k,16,u[38]),$=r($,P,H,B,I,23,u[39]),B=r(B,$,P,H,V,4,u[40]),H=r(H,B,$,P,x,11,u[41]),P=r(P,H,B,$,T,16,u[42]),$=r($,P,H,B,N,23,u[43]),B=r(B,$,P,H,E,4,u[44]),H=r(H,B,$,P,O,11,u[45]),P=r(P,H,B,$,j,16,u[46]),$=r($,P,H,B,M,23,u[47]),B=o(B,$,P,H,x,6,u[48]),H=o(H,B,$,P,k,10,u[49]),P=o(P,H,B,$,W,15,u[50]),$=o($,P,H,B,S,21,u[51]),B=o(B,$,P,H,O,6,u[52]),H=o(H,B,$,P,T,10,u[53]),P=o(P,H,B,$,I,15,u[54]),$=o($,P,H,B,y,21,u[55]),B=o(B,$,P,H,D,6,u[56]),H=o(H,B,$,P,j,10,u[57]),P=o(P,H,B,$,N,15,u[58]),$=o($,P,H,B,V,21,u[59]),B=o(B,$,P,H,L,6,u[60]),H=o(H,B,$,P,F,10,u[61]),P=o(P,H,B,$,M,15,u[62]),$=o($,P,H,B,E,21,u[63]),v[0]=v[0]+B|0,v[1]=v[1]+$|0,v[2]=v[2]+P|0,v[3]=v[3]+H|0},_doFinalize:function(){var a=this._data,l=a.words,h=this._nDataBytes*8,p=a.sigBytes*8;l[p>>>5]|=128<<24-p%32;var w=f.floor(h/4294967296),v=h;l[(p+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,l[(p+64>>>9<<4)+14]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,a.sigBytes=(l.length+1)*4,this._process();for(var x=this._hash,y=x.words,M=0;M<4;M++){var T=y[M];y[M]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return x},clone:function(){var a=b.clone.call(this);return a._hash=this._hash.clone(),a}});function s(a,l,h,p,w,v,x){var y=a+(l&h|~l&p)+w+x;return(y<<v|y>>>32-v)+l}function i(a,l,h,p,w,v,x){var y=a+(l&p|h&~p)+w+x;return(y<<v|y>>>32-v)+l}function r(a,l,h,p,w,v,x){var y=a+(l^h^p)+w+x;return(y<<v|y>>>32-v)+l}function o(a,l,h,p,w,v,x){var y=a+(h^(l|~p))+w+x;return(y<<v|y>>>32-v)+l}_.MD5=b._createHelper(n),_.HmacMD5=b._createHmacHelper(n)}(Math),e.MD5})})(md5);var sha1={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.lib,m=_.WordArray,A=_.Hasher,b=f.algo,d=[],u=b.SHA1=A.extend({_doReset:function(){this._hash=new m.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(n,s){for(var i=this._hash.words,r=i[0],o=i[1],a=i[2],l=i[3],h=i[4],p=0;p<80;p++){if(p<16)d[p]=n[s+p]|0;else{var w=d[p-3]^d[p-8]^d[p-14]^d[p-16];d[p]=w<<1|w>>>31}var v=(r<<5|r>>>27)+h+d[p];p<20?v+=(o&a|~o&l)+1518500249:p<40?v+=(o^a^l)+1859775393:p<60?v+=(o&a|o&l|a&l)-1894007588:v+=(o^a^l)-899497514,h=l,l=a,a=o<<30|o>>>2,o=r,r=v}i[0]=i[0]+r|0,i[1]=i[1]+o|0,i[2]=i[2]+a|0,i[3]=i[3]+l|0,i[4]=i[4]+h|0},_doFinalize:function(){var n=this._data,s=n.words,i=this._nDataBytes*8,r=n.sigBytes*8;return s[r>>>5]|=128<<24-r%32,s[(r+64>>>9<<4)+14]=Math.floor(i/4294967296),s[(r+64>>>9<<4)+15]=i,n.sigBytes=s.length*4,this._process(),this._hash},clone:function(){var n=A.clone.call(this);return n._hash=this._hash.clone(),n}});f.SHA1=A._createHelper(u),f.HmacSHA1=A._createHmacHelper(u)}(),e.SHA1})})(sha1);var sha256={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(f){var _=e,m=_.lib,A=m.WordArray,b=m.Hasher,d=_.algo,u=[],n=[];(function(){function r(h){for(var p=f.sqrt(h),w=2;w<=p;w++)if(!(h%w))return!1;return!0}function o(h){return(h-(h|0))*4294967296|0}for(var a=2,l=0;l<64;)r(a)&&(l<8&&(u[l]=o(f.pow(a,1/2))),n[l]=o(f.pow(a,1/3)),l++),a++})();var s=[],i=d.SHA256=b.extend({_doReset:function(){this._hash=new A.init(u.slice(0))},_doProcessBlock:function(r,o){for(var a=this._hash.words,l=a[0],h=a[1],p=a[2],w=a[3],v=a[4],x=a[5],y=a[6],M=a[7],T=0;T<64;T++){if(T<16)s[T]=r[o+T]|0;else{var L=s[T-15],S=(L<<25|L>>>7)^(L<<14|L>>>18)^L>>>3,N=s[T-2],k=(N<<15|N>>>17)^(N<<13|N>>>19)^N>>>10;s[T]=S+s[T-7]+k+s[T-16]}var D=v&x^~v&y,E=l&h^l&p^h&p,I=(l<<30|l>>>2)^(l<<19|l>>>13)^(l<<10|l>>>22),F=(v<<26|v>>>6)^(v<<21|v>>>11)^(v<<7|v>>>25),O=M+F+D+n[T]+s[T],V=I+E;M=y,y=x,x=v,v=w+O|0,w=p,p=h,h=l,l=O+V|0}a[0]=a[0]+l|0,a[1]=a[1]+h|0,a[2]=a[2]+p|0,a[3]=a[3]+w|0,a[4]=a[4]+v|0,a[5]=a[5]+x|0,a[6]=a[6]+y|0,a[7]=a[7]+M|0},_doFinalize:function(){var r=this._data,o=r.words,a=this._nDataBytes*8,l=r.sigBytes*8;return o[l>>>5]|=128<<24-l%32,o[(l+64>>>9<<4)+14]=f.floor(a/4294967296),o[(l+64>>>9<<4)+15]=a,r.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var r=b.clone.call(this);return r._hash=this._hash.clone(),r}});_.SHA256=b._createHelper(i),_.HmacSHA256=b._createHmacHelper(i)}(Math),e.SHA256})})(sha256);var sha224={exports:{}};(function(t,g){(function(e,f,_){t.exports=f(core.exports,sha256.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.lib,m=_.WordArray,A=f.algo,b=A.SHA256,d=A.SHA224=b.extend({_doReset:function(){this._hash=new m.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=b._doFinalize.call(this);return u.sigBytes-=4,u}});f.SHA224=b._createHelper(d),f.HmacSHA224=b._createHmacHelper(d)}(),e.SHA224})})(sha224);var sha512={exports:{}};(function(t,g){(function(e,f,_){t.exports=f(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.lib,m=_.Hasher,A=f.x64,b=A.Word,d=A.WordArray,u=f.algo;function n(){return b.create.apply(b,arguments)}var s=[n(1116352408,3609767458),n(1899447441,602891725),n(3049323471,3964484399),n(3921009573,2173295548),n(961987163,4081628472),n(1508970993,3053834265),n(2453635748,2937671579),n(2870763221,3664609560),n(3624381080,2734883394),n(310598401,1164996542),n(607225278,1323610764),n(1426881987,3590304994),n(1925078388,4068182383),n(2162078206,991336113),n(2614888103,633803317),n(3248222580,3479774868),n(3835390401,2666613458),n(4022224774,944711139),n(264347078,2341262773),n(604807628,2007800933),n(770255983,1495990901),n(1249150122,1856431235),n(1555081692,3175218132),n(1996064986,2198950837),n(2554220882,3999719339),n(2821834349,766784016),n(2952996808,2566594879),n(3210313671,3203337956),n(3336571891,1034457026),n(3584528711,2466948901),n(113926993,3758326383),n(338241895,168717936),n(666307205,1188179964),n(773529912,1546045734),n(1294757372,1522805485),n(1396182291,2643833823),n(1695183700,2343527390),n(1986661051,1014477480),n(2177026350,1206759142),n(2456956037,344077627),n(2730485921,1290863460),n(2820302411,3158454273),n(3259730800,3505952657),n(3345764771,106217008),n(3516065817,3606008344),n(3600352804,1432725776),n(4094571909,1467031594),n(275423344,851169720),n(430227734,3100823752),n(506948616,1363258195),n(659060556,3750685593),n(883997877,3785050280),n(958139571,3318307427),n(1322822218,3812723403),n(1537002063,2003034995),n(1747873779,3602036899),n(1955562222,1575990012),n(2024104815,1125592928),n(2227730452,2716904306),n(2361852424,442776044),n(2428436474,593698344),n(2756734187,3733110249),n(3204031479,2999351573),n(3329325298,3815920427),n(3391569614,3928383900),n(3515267271,566280711),n(3940187606,3454069534),n(4118630271,4000239992),n(116418474,1914138554),n(174292421,2731055270),n(289380356,3203993006),n(460393269,320620315),n(685471733,587496836),n(852142971,1086792851),n(1017036298,365543100),n(1126000580,2618297676),n(1288033470,3409855158),n(1501505948,4234509866),n(1607167915,987167468),n(1816402316,1246189591)],i=[];(function(){for(var o=0;o<80;o++)i[o]=n()})();var r=u.SHA512=m.extend({_doReset:function(){this._hash=new d.init([new b.init(1779033703,4089235720),new b.init(3144134277,2227873595),new b.init(1013904242,4271175723),new b.init(2773480762,1595750129),new b.init(1359893119,2917565137),new b.init(2600822924,725511199),new b.init(528734635,4215389547),new b.init(1541459225,327033209)])},_doProcessBlock:function(o,a){for(var l=this._hash.words,h=l[0],p=l[1],w=l[2],v=l[3],x=l[4],y=l[5],M=l[6],T=l[7],L=h.high,S=h.low,N=p.high,k=p.low,D=w.high,E=w.low,I=v.high,F=v.low,O=x.high,V=x.low,W=y.high,j=y.low,B=M.high,$=M.low,P=T.high,H=T.low,G=L,U=S,q=N,Y=k,J=D,te=E,se=I,ge=F,me=O,ve=V,xe=W,Ve=j,Fe=B,oe=$,le=P,pe=H,fe=0;fe<80;fe++){var ue,Ce,Ee=i[fe];if(fe<16)Ce=Ee.high=o[a+fe*2]|0,ue=Ee.low=o[a+fe*2+1]|0;else{var Se=i[fe-15],Ke=Se.high,Ye=Se.low,Pe=(Ke>>>1|Ye<<31)^(Ke>>>8|Ye<<24)^Ke>>>7,Zt=(Ye>>>1|Ke<<31)^(Ye>>>8|Ke<<24)^(Ye>>>7|Ke<<25),$e=i[fe-2],et=$e.high,Pt=$e.low,Ti=(et>>>19|Pt<<13)^(et<<3|Pt>>>29)^et>>>6,gi=(Pt>>>19|et<<13)^(Pt<<3|et>>>29)^(Pt>>>6|et<<26),pi=i[fe-7],Li=pi.high,Ni=pi.low,Ki=i[fe-16],Qn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=T.low=H+pe,T.high=P+le+(H>>>0<pe>>>0?1:0)},_doFinalize:function(){var o=this._data,a=o.words,l=this._nDataBytes*8,h=o.sigBytes*8;a[h>>>5]|=128<<24-h%32,a[(h+128>>>10<<5)+30]=Math.floor(l/4294967296),a[(h+128>>>10<<5)+31]=l,o.sigBytes=a.length*4,this._process();var p=this._hash.toX32();return p},clone:function(){var o=m.clone.call(this);return o._hash=this._hash.clone(),o},blockSize:1024/32});f.SHA512=m._createHelper(r),f.HmacSHA512=m._createHmacHelper(r)}(),e.SHA512})})(sha512);var sha384={exports:{}};(function(t,g){(function(e,f,_){t.exports=f(core.exports,x64Core.exports,sha512.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.x64,m=_.Word,A=_.WordArray,b=f.algo,d=b.SHA512,u=b.SHA384=d.extend({_doReset:function(){this._hash=new A.init([new m.init(3418070365,3238371032),new m.init(1654270250,914150663),new m.init(2438529370,812702999),new m.init(355462360,4144912697),new m.init(1731405415,4290775857),new m.init(2394180231,1750603025),new m.init(3675008525,1694076839),new m.init(1203062813,3204075428)])},_doFinalize:function(){var n=d._doFinalize.call(this);return n.sigBytes-=16,n}});f.SHA384=d._createHelper(u),f.HmacSHA384=d._createHmacHelper(u)}(),e.SHA384})})(sha384);var sha3={exports:{}};(function(t,g){(function(e,f,_){t.exports=f(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(f){var _=e,m=_.lib,A=m.WordArray,b=m.Hasher,d=_.x64,u=d.Word,n=_.algo,s=[],i=[],r=[];(function(){for(var l=1,h=0,p=0;p<24;p++){s[l+5*h]=(p+1)*(p+2)/2%64;var w=h%5,v=(2*l+3*h)%5;l=w,h=v}for(var l=0;l<5;l++)for(var h=0;h<5;h++)i[l+5*h]=h+(2*l+3*h)%5*5;for(var x=1,y=0;y<24;y++){for(var M=0,T=0,L=0;L<7;L++){if(x&1){var S=(1<<L)-1;S<32?T^=1<<S:M^=1<<S-32}x&128?x=x<<1^113:x<<=1}r[y]=u.create(M,T)}})();var o=[];(function(){for(var l=0;l<25;l++)o[l]=u.create()})();var a=n.SHA3=b.extend({cfg:b.cfg.extend({outputLength:512}),_doReset:function(){for(var l=this._state=[],h=0;h<25;h++)l[h]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(l,h){for(var p=this._state,w=this.blockSize/2,v=0;v<w;v++){var x=l[h+2*v],y=l[h+2*v+1];x=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,y=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360;var M=p[v];M.high^=y,M.low^=x}for(var T=0;T<24;T++){for(var L=0;L<5;L++){for(var S=0,N=0,k=0;k<5;k++){var M=p[L+5*k];S^=M.high,N^=M.low}var D=o[L];D.high=S,D.low=N}for(var L=0;L<5;L++)for(var E=o[(L+4)%5],I=o[(L+1)%5],F=I.high,O=I.low,S=E.high^(F<<1|O>>>31),N=E.low^(O<<1|F>>>31),k=0;k<5;k++){var M=p[L+5*k];M.high^=S,M.low^=N}for(var V=1;V<25;V++){var S,N,M=p[V],W=M.high,j=M.low,B=s[V];B<32?(S=W<<B|j>>>32-B,N=j<<B|W>>>32-B):(S=j<<B-32|W>>>64-B,N=W<<B-32|j>>>64-B);var $=o[i[V]];$.high=S,$.low=N}var P=o[0],H=p[0];P.high=H.high,P.low=H.low;for(var L=0;L<5;L++)for(var k=0;k<5;k++){var V=L+5*k,M=p[V],G=o[V],U=o[(L+1)%5+5*k],q=o[(L+2)%5+5*k];M.high=G.high^~U.high&q.high,M.low=G.low^~U.low&q.low}var M=p[0],Y=r[T];M.high^=Y.high,M.low^=Y.low}},_doFinalize:function(){var l=this._data,h=l.words;this._nDataBytes*8;var p=l.sigBytes*8,w=this.blockSize*32;h[p>>>5]|=1<<24-p%32,h[(f.ceil((p+1)/w)*w>>>5)-1]|=128,l.sigBytes=h.length*4,this._process();for(var v=this._state,x=this.cfg.outputLength/8,y=x/8,M=[],T=0;T<y;T++){var L=v[T],S=L.high,N=L.low;S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,M.push(N),M.push(S)}return new A.init(M,x)},clone:function(){for(var l=b.clone.call(this),h=l._state=this._state.slice(0),p=0;p<25;p++)h[p]=h[p].clone();return l}});_.SHA3=b._createHelper(a),_.HmacSHA3=b._createHmacHelper(a)}(Math),e.SHA3})})(sha3);var ripemd160={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){/** @preserve
75
+ e.setDisabled&&e.setDisabled(!1)}})},resetForm(){Object.keys(this.subFormRefList).forEach(e=>{this.subFormRefList[e].resetSubForm&&this.subFormRefList[e].resetSubForm()}),Object.keys(this.widgetRefList).forEach(e=>{let f=this.getWidgetRef(e);!!f&&!f.subFormItemFlag&&!!f.resetField&&f.resetField()}),this.$nextTick(()=>{this.clearValidate()})},clearValidate(t){this.$refs.renderForm.clearValidate(t)},validateForm(t){this.$refs.renderForm.validate(g=>{g&&!!this.formConfig&&!!this.formConfig.onFormValidateSuccess&&this.emitFormValidateSuccess(this.formDataModel),t(g)})},emitFormValidateSuccess(t){if(!(!this.formConfig||!this.formConfig.onFormValidateSuccess))try{new Function("formData",this.formConfig.onFormValidateSuccess).call(this,t)}catch(g){console.error("onFormValidateSuccess",g)}},validateFields(){},disableWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetDisabled(t,!0):Array.isArray(t)&&t.forEach(g=>{this.findWidgetAndSetDisabled(g,!0)}))},disableFields(t){this.disableWidgets(t)},enableFields(t){this.enableWidgets(t)},enableWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetDisabled(t,!1):Array.isArray(t)&&t.forEach(g=>{this.findWidgetAndSetDisabled(g,!1)}))},hideWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetHidden(t,!0):Array.isArray(t)&&t.forEach(g=>{this.findWidgetAndSetHidden(g,!0)}))},showWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetHidden(t,!1):Array.isArray(t)&&t.forEach(g=>{this.findWidgetAndSetHidden(g,!1)}))},getFieldWidgets(){return getAllFieldWidgets(this.formJsonObj.widgetList)},getContainerWidgets(){return getAllContainerWidgets(this.formJsonObj.widgetList)},addEC(t,g){this.externalComponents[t]=g},hasEC(t){return this.externalComponents.hasOwnProperty(t)},getEC(t){return this.externalComponents[t]},getGlobalDsv(){return this.globalDsv},findColByName(t,g){const e=t!=null?t:this.formJsonObj&&this.formJsonObj.widgetList;if(!e||!g)return null;for(const f of e){if(f.type==="grid"&&f.cols&&f.cols.length){const _=f.cols.find(m=>m.options&&m.options.name===g);if(_)return _}if(f.type==="grid-col"&&f.options&&f.options.name===g)return f;if(f.widgetList&&f.widgetList.length){const _=this.findColByName(f.widgetList,g);if(_)return _}if(f.cols&&f.cols.length)for(const _ of f.cols){if(_.options&&_.options.name===g)return _;if(_.widgetList&&_.widgetList.length){const m=this.findColByName(_.widgetList,g);if(m)return m}}}return null},syncFieldRulesByCol(t,g){if(!t)return;const e=!!g;traverseFieldWidgetsOfContainer(t,f=>{if(!f.formItemFlag||!f.options||!f.options.name)return;const _=this.getWidgetRef(f.options.name);!_||(e?typeof _.clearFieldRules=="function"&&_.clearFieldRules():typeof _.buildFieldRules=="function"&&_.buildFieldRules())})},setColHidden(t,g){if(Array.isArray(t)){let f=!1;return t.forEach(_=>{this.setColHidden(_,g)&&(f=!0)}),f}const e=this.findColByName(null,t);return!e||!e.options?!1:(e.options.hidden=!!g,this.syncFieldRulesByCol(e,g),this.$nextTick(()=>this.$forceUpdate()),!0)}}};function _sfc_render$H(t,g,e,f,_,m){const A=vue.resolveComponent("el-form");return vue.openBlock(),vue.createBlock(A,{"label-position":m.labelPosition,size:m.size,class:vue.normalizeClass([[m.customClass],"render-form"]),"label-width":m.labelWidth,"validate-on-rule-change":!1,model:_.formDataModel,ref:"renderForm",onSubmit:g[0]||(g[0]=vue.withModifiers(()=>{},["prevent"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.widgetList,(b,d)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[b.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(m.getContainerWidgetName(b)),{widget:b,key:b.id,"parent-list":m.widgetList,"index-of-parent-list":d,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),u=>({name:u,fn:vue.withCtx(n=>[vue.renderSlot(t.$slots,u,vue.mergeProps({ref_for:!0},n),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(m.getWidgetName(b)),{field:b,"form-model":_.formDataModel,designer:null,key:b.id,"parent-list":m.widgetList,ref_for:!0,ref:b.id,"index-of-parent-list":d,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),u=>({name:u,fn:vue.withCtx(n=>[vue.renderSlot(t.$slots,u,vue.mergeProps({ref_for:!0},n),void 0,!0)])}))]),1032,["field","form-model","parent-list","index-of-parent-list"]))],64))),256))]),_:3},8,["label-position","size","class","label-width","model"])}var VFormRender=_export_sfc$1(_sfc_main$H,[["render",_sfc_render$H],["__scopeId","data-v-4fac61a7"]]);function registerIcon(t){t.component("el-icon-edit",edit),t.component("el-icon-minus",minus),t.component("el-icon-plus",plus),t.component("el-icon-info",infoFilled),t.component("el-icon-search",search),t.component("el-icon-circle-plus-outline",circlePlus),t.component("el-icon-delete",_delete),t.component("el-icon-arrow-down",arrowDown),t.component("el-icon-arrow-up",arrowUp)}if(typeof window!="undefined"){let t=function(){var g=document.body,e=document.getElementById("__svg__icons__dom__1783473647711__");e||(e=document.createElementNS("http://www.w3.org/2000/svg","svg"),e.style.position="absolute",e.style.width="0",e.style.height="0",e.id="__svg__icons__dom__1783473647711__",e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),e.innerHTML='<symbol class="icon" viewBox="0 0 1024 1024" id="icon-alert"><path d="M512 85.163a319.573 319.573 0 0 1 319.83 309.333l.17 10.667v174.805l58.88 134.656a53.29 53.29 0 0 1-48.853 74.71L640 789.418a128 128 0 0 1-255.787 7.509l-.213-7.637-201.6.042a53.333 53.333 0 0 1-48.939-74.581L192 580.011V405.163c0-177.28 143.019-320 320-320zm64 704.17-128 .128a64 64 0 0 0 127.701 6.144l.256-6.272zm-64-640.17c-141.653 0-256 114.09-256 256v188.16l-57.344 132.01h627.072L768 593.365V405.717l-.17-9.6A255.488 255.488 0 0 0 512 149.163zM896 352h85.333a32 32 0 0 1 4.352 63.701l-4.352.299H896a32 32 0 0 1-4.352-63.701L896 352zm-853.333 0H128a32 32 0 0 1 4.352 63.701L128 416H42.667a32 32 0 0 1-4.352-63.701l4.352-.299zm921.6-243.2a32 32 0 0 1-2.816 41.685l-3.584 3.115-85.334 64a32 32 0 0 1-41.984-48.085l3.584-3.115 85.334-64a32 32 0 0 1 44.8 6.4zm-859.734-6.4 85.334 64a32 32 0 1 1-38.4 51.2l-85.334-64a32 32 0 1 1 38.4-51.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-button"><path d="M912 176v416H732.48v-32H880V208H144v352h175.488v32H112V176z" /><path d="m436.384 788.512.544 2.688a16 16 0 0 0 27.776 5.504l44.032-54.336 56.768 97.664a16 16 0 0 0 21.792 5.856l68.672-39.392 2.368-1.664a16 16 0 0 0 3.52-20.256l-55.904-96.16 68.8-12.064a16 16 0 0 0 6.464-28.8l-256-180.64a16 16 0 0 0-25.12 14.976l36.288 306.624z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-card"><path d="M858.656 864H165.344C109.472 864 64 818.56 64 762.688V261.312C64 205.44 109.472 160 165.344 160h693.312C914.528 160 960 205.44 960 261.312v501.376C960 818.56 914.528 864 858.656 864zM165.344 224C144.736 224 128 240.736 128 261.312v501.376C128 783.264 144.736 800 165.344 800h693.312C879.264 800 896 783.264 896 762.688V261.312C896 240.736 879.264 224 858.656 224H165.344zM800 416H224c-17.664 0-32-14.336-32-32s14.336-32 32-32h576c17.696 0 32 14.336 32 32s-14.304 32-32 32zM320 736h-96c-17.664 0-32-14.304-32-32s14.336-32 32-32h96c17.664 0 32 14.304 32 32s-14.336 32-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-cascader-field"><path d="M661.377 411.07v64.595H314.175v395.654H871.32V475.665h-48.447V411.07h48.447c35.675 0 64.595 28.92 64.595 64.595v395.654c0 35.675-28.92 64.595-64.595 64.595H314.175c-35.675 0-64.6-28.92-64.6-64.595V475.665c0-35.675 28.925-64.595 64.6-64.595h347.202zm48.448-322.984c35.675 0 64.6 28.92 64.6 64.595v403.73c0 35.676-28.925 64.595-64.6 64.595H362.623v-64.594h347.202V152.68H152.68v403.73h48.447v64.595H152.68c-35.675 0-64.595-28.92-64.595-64.594V152.68c0-35.675 28.92-64.595 64.595-64.595h557.144z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-checkbox-field"><path d="M897.94 896.77c6.259-6.278 10.257-14.835 10.257-24.531V147.672c0-9.118-3.998-18.235-10.257-24.533-6.277-6.258-14.815-9.696-24.51-9.696H149.644c-9.688 0-18.236 3.437-24.503 9.696-6.268 6.297-9.687 15.414-9.687 24.533V872.24c0 9.696 3.42 18.253 9.687 24.53 6.267 6.278 14.815 10.276 24.503 10.276h723.784c9.697 0 18.234-3.998 24.511-10.276zM149.645 61.52h723.784c23.933 0 45.586 9.697 60.98 25.111 15.397 15.974 25.073 37.666 25.073 61.04v724.567c0 23.97-9.676 45.643-25.073 61.056-15.394 15.396-37.047 25.093-60.98 25.093H149.645c-23.364 0-45.017-9.697-60.972-25.093-15.396-15.414-25.082-37.087-25.082-61.056V147.672c0-23.374 9.686-45.065 25.082-61.039 15.955-15.415 37.608-25.112 60.972-25.112z" /><path d="M417.42 698.27a23.556 23.556 0 0 1-16.668-6.9L259.5 550.12c-9.173-9.15-9.173-24.095 0-33.291 9.17-9.147 24.115-9.147 33.288 0l124.583 124.607 312.895-312.917c9.194-9.172 24.14-9.172 33.288 0 9.196 9.172 9.196 24.116 0 33.29L433.992 691.37c-4.618 4.645-10.643 6.9-16.666 6.9h.093z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-color-field"><path d="M619.52 490.667h-.853l-85.334-85.334h.854z" /><path d="M619.52 507.733h-.853a17.067 17.067 0 1 1 0-34.133c9.438 0 17.476 7.646 17.476 17.067s-7.185 17.066-16.623 17.066zM534.187 422.4c-9.438 0-17.494-7.646-17.494-17.067s7.202-17.066 16.64-17.066h.854a17.067 17.067 0 1 1 0 34.133zM192 866.133a34.133 34.133 0 0 1-24.132-58.265l42.666-42.667a34.133 34.133 0 1 1 48.265 48.265l-42.667 42.666A33.963 33.963 0 0 1 192 866.133z" /><path d="m619.52 490.667-.427-.427-84.906-84.907L746.667 192H832v85.333z" /><path d="M662.187 567.467a33.997 33.997 0 0 1-24.133-10.001L467.388 386.799a34.133 34.133 0 0 1 48.281-48.282l170.667 170.667a34.133 34.133 0 0 1-24.15 58.283z" /><path d="M320 806.4h-85.333a17.067 17.067 0 0 1-17.067-17.067V704c0-4.54 1.792-8.875 5-12.066L521.695 392.84a16.52 16.52 0 0 1 3.567-2.731l209.305-210.142a17.117 17.117 0 0 1 12.1-5.018H832a17.067 17.067 0 0 1 17.067 17.067v85.333a17.067 17.067 0 0 1-4.967 12.05L631.62 502.732a17.954 17.954 0 0 1-3.618 2.782L332.066 801.434A17.135 17.135 0 0 1 320 806.4zm-68.267-34.133h61.201l294.093-294.093a16.52 16.52 0 0 1 3.567-2.73l204.34-205.16v-61.217h-61.185L546.287 417.382a17.954 17.954 0 0 1-3.618 2.782L251.733 711.066v61.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-component"><path d="M811.008 335.872c-2.048-7.168-11.264-9.216-17.408-4.096L690.176 435.2c-8.192 8.192-20.48 8.192-28.672 0L588.8 362.496c-8.192-8.192-8.192-20.48 0-28.672l104.448-104.448c5.12-5.12 3.072-14.336-4.096-17.408-17.408-4.096-35.84-7.168-54.272-7.168-108.544 0-195.584 94.208-183.296 204.8 2.048 17.408 6.144 32.768 12.288 48.128L225.28 697.344c-27.648 27.648-27.648 73.728 0 101.376 14.336 14.336 32.768 21.504 51.2 21.504s36.864-7.168 51.2-21.504l238.592-238.592c15.36 6.144 31.744 10.24 48.128 12.288 111.616 12.288 204.8-74.752 204.8-183.296 0-18.432-3.072-36.864-8.192-53.248z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-data-table"><path d="M915.692 39.385H108.308c-15.754 0-29.539 13.784-29.539 29.538v98.462c0 15.753 13.785 29.538 29.539 29.538h807.384c15.754 0 29.539-13.785 29.539-29.538V68.923c0-15.754-13.785-29.538-29.539-29.538zM285.538 275.692h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V305.23c0-15.754-13.785-29.539-29.539-29.539zM285.538 472.615h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 669.538h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zm315.077 0h-177.23c-15.754 0-29.539 13.785-29.539 29.539v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538v-59.077c0-15.754-13.785-29.539-29.539-29.539zM285.538 866.462h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538zm315.077 0h-177.23c-15.754 0-29.539 13.784-29.539 29.538v59.077c0 15.754 13.785 29.538 29.539 29.538h177.23c15.754 0 29.539-13.784 29.539-29.538V896c0-15.754-13.785-29.538-29.539-29.538z" /></symbol><symbol class="icon" viewBox="0 0 1132 1024" id="icon-date-field"><path d="M1023.995 1023.995H107.789C48.262 1023.995 0 975.732 0 916.205V188.63C0 129.105 48.262 80.843 107.789 80.843h80.842v53.894h-80.842c-29.777 0-53.895 24.118-53.895 53.895V296.42H1077.89V188.63c0-29.776-24.117-53.894-53.894-53.894h-80.842V80.842h80.842c59.526 0 107.789 48.262 107.789 107.789v727.575c0 59.526-48.263 107.789-107.79 107.789Zm53.894-673.681H53.894v565.892c0 29.777 24.118 53.894 53.895 53.894h916.206c29.777 0 53.894-24.117 53.894-53.894V350.314ZM794.943 628.086l-3.584 5.632c-3.314 6.306-7.087 12.153-11.237 17.731L646.734 861.476H589.12l98.358-160.875c-.108 0-.216.027-.324.027-66.963 0-121.262-60.335-121.262-134.736 0-74.401 54.299-134.736 121.262-134.736 66.964 0 121.263 60.335 121.263 134.736 0 22.42-5.39 43.25-14.12 61.844l.646.35ZM687.154 485.05c-37.214 0-67.368 36.19-67.368 80.842 0 44.651 30.154 80.842 67.368 80.842 19.052 0 36.164-9.567 48.425-24.819l9.781-16.006c5.66-11.83 9.163-25.385 9.163-40.017 0-44.652-30.154-80.842-67.369-80.842Zm-310.216 21.881-80.734 72.327v-66.991l82.405-80.41h52.062v429.727h-53.733V506.93Zm512.32-291.353c-14.874 0-26.947-12.072-26.947-26.947V26.947C862.311 12.072 874.384 0 889.26 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947ZM296.42 80.842h538.944v53.894H296.42V80.842Zm-53.895 134.736c-14.875 0-26.947-12.072-26.947-26.947V26.947C215.578 12.072 227.65 0 242.525 0s26.947 12.072 26.947 26.947v161.684c0 14.875-12.072 26.947-26.947 26.947Z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-date-range-field"><path d="M887.467 192.853H786.773v-73.386c0-10.24-6.826-17.067-17.066-17.067s-17.067 6.827-17.067 17.067v73.386H303.787v-73.386c0-10.24-6.827-17.067-17.067-17.067s-17.067 6.827-17.067 17.067v73.386H168.96c-46.08 0-85.333 37.547-85.333 85.334v558.08c0 46.08 37.546 85.333 85.333 85.333h718.507c46.08 0 85.333-37.547 85.333-85.333v-558.08c0-47.787-37.547-85.334-85.333-85.334zM168.96 226.987h100.693v66.56c0 10.24 6.827 17.066 17.067 17.066s17.067-6.826 17.067-17.066v-66.56h450.56v66.56c0 10.24 6.826 17.066 17.066 17.066s17.067-6.826 17.067-17.066v-66.56h98.987c27.306 0 51.2 22.186 51.2 51.2v88.746H117.76v-88.746c0-29.014 22.187-51.2 51.2-51.2zm718.507 660.48H168.96c-27.307 0-51.2-22.187-51.2-51.2v-435.2h820.907v435.2c0 27.306-22.187 51.2-51.2 51.2z" /><path d="M858.453 493.227H327.68c-10.24 0-17.067 6.826-17.067 17.066V624.64H194.56c-10.24 0-17.067 6.827-17.067 17.067v133.12c0 10.24 6.827 17.066 17.067 17.066H460.8c10.24 0 17.067-6.826 17.067-17.066V660.48h380.586c10.24 0 17.067-6.827 17.067-17.067v-133.12c0-10.24-6.827-17.066-17.067-17.066zM445.44 527.36v97.28h-98.987v-97.28h98.987zm-230.4 131.413h98.987v98.987H215.04v-98.987zm131.413 97.28v-97.28h98.987v97.28h-98.987zm133.12-228.693h97.28v98.987h-97.28V527.36zm131.414 0h98.986v98.987h-98.986V527.36zm230.4 97.28H742.4v-98.987h98.987v98.987z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-divider"><path d="M62.5 491.773h899v74.918h-899v-74.918z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-document"><path d="M979.478 706.382a44.522 44.522 0 0 1-11.843 57.967l-4.363 2.85L569.478 995.06l-5.388 4.764a84.013 84.013 0 0 1-43.943 17.808l-8.102.401c-19.056 0-37.31-6.545-52.046-18.254l-5.432-4.72L60.817 767.2a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zm0-222.609a44.522 44.522 0 0 1-11.843 57.968l-4.363 2.849-393.794 227.862-5.388 4.764a84.013 84.013 0 0 1-43.943 17.809l-8.102.4c-19.056 0-37.31-6.544-52.046-18.254l-5.432-4.719L60.817 544.59a44.522 44.522 0 0 1-18.61-56.187l2.36-4.63a44.522 44.522 0 0 1 60.816-16.25l405.326 234.54 1.336 1.514 1.335-1.514 405.282-234.54a44.522 44.522 0 0 1 60.86 16.25zM512 0c18.788 0 36.864 6.1 51.645 17.185l4.586 3.74 403.5 199.68 5.61 6.144c32.501 35.44 32.501 89.89 0 125.329l-5.61 6.144-403.5 199.59-4.541 3.785a86.239 86.239 0 0 1-43.676 16.83l-8.014.356c-18.788 0-36.864-6.1-51.645-17.186l-4.63-3.784L52.269 358.222l-5.61-6.144a92.739 92.739 0 0 1 0-125.329l5.61-6.144 403.456-199.68 4.585-3.74C473 7.702 488.136 1.87 503.986.356z" fill="#008df0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-drag"><path d="M574.958 267.016h-63.454 204.649L511.213 63.655 307.85 267.016h141.191V456.68H258.688v125.917H449.04V772.95h125.917V582.596h188.875V456.679H574.958V267.016zm-63.704 693.33 189.62-187.396H323.126l188.129 187.395zM71.292 518.891l187.395 189.62v-377.75L71.292 518.892zm692.54-188.13v377.75L952.708 518.89 763.833 330.762z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-file-upload-field"><path d="m676.48 72.96 209.92 211.2 9.6 23.04V928l-32 32H160l-32-32V96l32-32h494.08l22.4 8.96zM640 320h192L640 128v192zM192 128v768h640V384H608l-32-32V128H192zm512 320H320v64h384v-64zM320 576h384v64H320v-64zm384 128H320v64h384v-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-github"><path d="M512 0C229.284 0 .142 234.943.142 524.868c0 231.829 146.647 428.553 350.068 497.952 25.593 4.82 34.977-11.389 34.977-25.294 0-12.455-.469-45.47-.725-89.277-142.382 31.735-172.453-70.38-172.453-70.38-23.247-60.57-56.817-76.694-56.817-76.694-46.493-32.588 3.54-31.948 3.54-31.948 51.357 3.71 78.358 54.086 78.358 54.086 45.683 80.191 119.817 57.072 148.993 43.594 4.65-33.911 17.915-57.03 32.503-70.168-113.675-13.223-233.151-58.224-233.151-259.341 0-57.285 19.92-104.163 52.678-140.846-5.246-13.266-22.82-66.627 4.991-138.884 0 0 42.996-14.076 140.76 53.787 40.864-11.644 84.628-17.445 128.179-17.659 43.465.214 87.271 6.015 128.135 17.66 97.68-67.907 140.59-53.788 140.59-53.788 27.939 72.257 10.408 125.618 5.119 138.884 32.844 36.683 52.593 83.56 52.593 140.846 0 201.587-119.647 245.99-233.663 258.957 18.341 16.21 34.72 48.2 34.72 97.21 0 70.168-.639 126.728-.639 143.96 0 14.034 9.214 30.371 35.19 25.21 203.25-69.528 349.77-266.124 349.77-497.867C1023.858 234.943 794.674 0 512 0" fill="#3E75C3" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-grid"><path d="M819.354 921.6h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V819.2h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 819.2v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V819.2a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm-460.8 204.8h102.4V460.8h-102.4v102.4zm102.4-204.8h-102.4A102.4 102.4 0 0 0 .154 460.8v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V460.8a102.4 102.4 0 0 0-102.4-102.4zm614.4-153.6h102.4V102.4h-102.4v102.4zM921.754 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 921.754 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM563.354 0h-102.4a102.4 102.4 0 0 0-102.4 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 563.354 0zm-460.8 204.8h102.4V102.4h-102.4v102.4zM204.954 0h-102.4A102.4 102.4 0 0 0 .154 102.4v102.4a102.4 102.4 0 0 0 102.4 102.4h102.4a102.4 102.4 0 0 0 102.4-102.4V102.4A102.4 102.4 0 0 0 204.954 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-html-text"><path d="m137.6 512 204.8-204.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L70.4 489.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4l227.2 227.2c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8L137.6 512zm464-339.2c-16-3.2-35.2 6.4-38.4 22.4L396.8 812.8c-3.2 16 6.4 35.2 22.4 38.4 16 3.2 35.2-6.4 38.4-22.4L624 211.2c6.4-16-3.2-35.2-22.4-38.4zm352 316.8L726.4 262.4c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8L886.4 512 681.6 716.8c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l227.2-227.2c6.4-6.4 9.6-16 9.6-22.4 0-9.6-3.2-16-9.6-22.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-node-tree"><path d="M332.48 500.864a25.6 25.6 0 1 0 0-51.2H192.384v-184.96a115.2 115.2 0 0 0 89.6-112.128c0-63.488-51.712-115.2-115.2-115.2s-115.2 51.712-115.2 115.2a115.2 115.2 0 0 0 89.6 112.128v696.192a25.6 25.6 0 1 0 51.2 0v-141.12c2.304.192 4.48.512 6.912.512H332.48a25.6 25.6 0 1 0 0-51.2H199.296c-3.456 0-5.504-.448-6.08-.256a29.184 29.184 0 0 1-.896-8.576V500.8h140.16zM102.784 152.64c0-35.264 28.736-64 64-64s64 28.736 64 64-28.736 64-64 64-64-28.736-64-64zm818.432 207.424h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4zm486.336 140.352h-486.4c-28.224 0-51.2 22.976-51.2 51.2v128c0 28.224 22.976 51.2 51.2 51.2h486.4c28.224 0 51.2-22.976 51.2-51.2v-128c0-28.224-22.976-51.2-51.2-51.2zm-486.336 179.2v-128h486.4v128h-486.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-number-field"><path d="M960 1024H64a64 64 0 0 1-64-64V64A64 64 0 0 1 64 0h896a64 64 0 0 1 64 64v896a64 64 0 0 1-64 64zm0-896a64 64 0 0 0-64-64H128a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128zM832 768H704a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v384a64 64 0 0 1-64 64zM512 640a64 64 0 0 1 0 128H384a64 64 0 0 1-64-64V512a64 64 0 0 1 64-64h64v-64h-64a64 64 0 0 1 0-128h128a64 64 0 0 1 64 64v192a64 64 0 0 1-64 64h-64v64h64zM192 768a64 64 0 0 1-64-64V320a64 64 0 0 1 128 0v384a64 64 0 0 1-64 64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-picture-upload-field"><path d="M896 1024H128C57.312 1024 0 966.688 0 896V128C0 57.312 57.312 0 128 0h768c70.688 0 128 57.312 128 128v768c0 70.688-57.312 128-128 128zm0-64c35.328 0 64-28.672 64-64V639.968l-192-192L494.816 721.12 730.624 960H896zM64 896c0 35.328 28.672 64 64 64h512.032L318.24 638.208 64 865.952V896zm896-768c0-35.328-28.672-64-64-64H128c-35.328 0-64 28.672-64 64v650.752L320 544l129.856 131.552L768 352l192 196.096V128zM256 384c-70.688 0-128-57.312-128-128s57.312-128 128-128 128 57.312 128 128-57.312 128-128 128zm0-192c-35.328 0-64 28.672-64 64s28.672 64 64 64 64-28.672 64-64-28.672-64-64-64z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-radio-field"><path d="M512 65.983C266.08 65.983 65.983 266.08 65.983 512c0 245.952 200.065 446.017 446.017 446.017S958.017 757.952 958.017 512c0-245.92-200.065-446.017-446.017-446.017zm0 828.034c-210.656 0-382.017-171.392-382.017-382.017 0-210.656 171.36-382.017 382.017-382.017 210.625 0 382.017 171.36 382.017 382.017 0 210.625-171.392 382.017-382.017 382.017zM512 352C423.776 352 352 423.776 352 512s71.774 160 160 160 160-71.774 160-160-71.776-160-160-160z" /></symbol><symbol class="icon" viewBox="0 0 1069 1024" id="icon-rate-field"><path d="m633.73 378.02 9.498 18.688 20.78 2.798 206.616 27.332a11.465 11.465 0 0 1 6.61 19.473L729.966 593.665l-14.893 14.893 3.8 20.683 37.847 204.89a11.465 11.465 0 0 1-16.481 12.296l-185.55-94.58-18.687-9.493-18.487 9.992-183.24 99.35a11.465 11.465 0 0 1-16.784-11.867l32.543-205.796 3.297-20.786-15.192-14.492-151.033-143.484a11.465 11.465 0 0 1 6.1-19.64L399 402.998l20.786-3.296 9.092-18.98 89.713-188.078a11.465 11.465 0 0 1 20.569-.263l94.568 185.635zM496.647 85.52 374.89 340.501l-279.126 44.26a34.395 34.395 0 0 0-18.303 58.908l204.873 194.663-44.169 279.115a34.395 34.395 0 0 0 50.366 35.616l248.4-134.679L788.776 946.66a34.395 34.395 0 0 0 49.437-36.894l-51.306-277.854 199.731-199.909a34.395 34.395 0 0 0-19.828-58.408l-280.118-37.032L558.33 84.713a34.395 34.395 0 0 0-61.682.802z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-redo"><path d="M412.081 346.3h443.415L640.168 133.871c-18.973-18.973-18.973-46.064 0-65.038s44.325-19.884 63.381-.83l291.385 284.591c18.973 18.973 18.973 44.159 0 63.132L703.549 700.649c-18.973 18.973-44.325 18.973-63.381-.083-18.973-18.973-18.973-43.91 0-62.883l215.328-208.534H412.081c-177.3 0-314.335 138.359-314.335 309.364v44.325c0 25.354-16.074 44.325-41.425 44.325s-41.425-18.973-41.425-44.325v-44.325c0-221.709 169.181-392.213 397.185-392.213z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-rich-editor-field"><path d="M313.36 448.094H632.63v31.927H313.36v-31.927ZM313.36 583.784h223.49v31.927H313.36v-31.927ZM313.36 719.474h127.709v31.927h-127.71v-31.927ZM889.412 554.809l-39.955-39.971-39.957-39.941c-7.358-7.358-19.285-7.358-26.642 0l-329.7 329.694a14.08 14.08 0 0 0-4.592 6.873L412.078 932.86a14.158 14.158 0 0 0 3.54 14.079l.99.763.77.982a14.174 14.174 0 0 0 14.062 3.555l121.395-36.495a14.04 14.04 0 0 0 6.938-4.677l329.639-329.63c7.35-7.343 7.35-19.284 0-26.627zM541.136 889.756l-95.198 28.622 28.623-95.235 255.02-255.02 66.6 66.599-255.045 255.034zM856.112 574.78l-46.611 46.611-66.59-66.598 46.605-46.597c3.677-3.68 9.641-3.68 13.319-.016l26.892 26.892 26.384 26.394c3.68 3.68 3.68 9.65.001 13.314z" /><path d="M671.874 224.898v-28.934c0-22.004-17.905-39.909-39.909-39.909H314.026c-22.004 0-39.909 17.905-39.909 39.91v28.933h-104.43v643.564c0 35.26 28.592 63.854 63.855 63.854h127.709v-47.89H249.506c-17.632 0-31.928-14.299-31.928-31.928v-579.71h56.54v10.976c0 22.004 17.904 39.909 39.908 39.909h317.938c22.004 0 39.91-17.905 39.91-39.91V272.79h56.538V437.45h47.89V224.898H671.875zm-47.89 50.884H322.007v-71.836h301.974v71.836z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-section"><path d="M141.074 906.496h741.852c89.581 0 134.583-44.562 134.583-132.846V250.331c0-88.283-45.002-132.845-134.583-132.845H141.074c-89.143.018-134.583 44.16-134.583 132.845V773.67c0 88.704 45.44 132.845 134.583 132.845zm1.28-68.992c-42.861 0-66.852-22.71-66.852-67.291V253.806c0-44.58 23.99-67.292 66.852-67.292h739.292c42.423 0 66.852 22.711 66.852 67.292v516.388c0 44.58-24.43 67.292-66.852 67.292z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-select-field"><path d="M374.784 649.515a32 32 0 0 1 3.072 41.685l-3.115 3.584L225.28 843.947a32 32 0 0 1-37.845 5.504l-3.968-2.56-85.334-64a32 32 0 0 1 34.432-53.76l3.968 2.56 63.147 47.36 129.835-129.622a32 32 0 0 1 45.269.043zm531.37 75.818a32 32 0 0 1 4.31 63.702l-4.31.298h-448a32 32 0 0 1-4.351-63.744l4.352-.256h448zm.513-256a32 32 0 0 1 4.352 63.702l-4.352.298h-448a32 32 0 0 1-4.352-63.701l4.352-.299h448zm-531.84-331.776a32 32 0 0 1 2.986 41.686l-3.114 3.584-149.846 149.205a32 32 0 0 1-37.888 5.419l-3.925-2.56-84.907-64a32 32 0 0 1 34.518-53.675l3.968 2.56 62.72 47.275L329.6 137.472a32 32 0 0 1 45.227.085zm531.328 75.819a32 32 0 0 1 4.309 63.701l-4.31.299H459.35a32 32 0 0 1-4.352-63.744l4.352-.256h446.806z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-select-tree-field"><path d="M374.784 649.515a32 32 0 0 1 3.072 41.685l-3.115 3.584L225.28 843.947a32 32 0 0 1-37.845 5.504l-3.968-2.56-85.334-64a32 32 0 0 1 34.432-53.76l3.968 2.56 63.147 47.36 129.835-129.622a32 32 0 0 1 45.269.043zm531.37 75.818a32 32 0 0 1 4.31 63.702l-4.31.298h-448a32 32 0 0 1-4.351-63.744l4.352-.256h448zm.513-256a32 32 0 0 1 4.352 63.702l-4.352.298h-448a32 32 0 0 1-4.352-63.701l4.352-.299h448zm-531.84-331.776a32 32 0 0 1 2.986 41.686l-3.114 3.584-149.846 149.205a32 32 0 0 1-37.888 5.419l-3.925-2.56-84.907-64a32 32 0 0 1 34.518-53.675l3.968 2.56 62.72 47.275L329.6 137.472a32 32 0 0 1 45.227.085zm531.328 75.819a32 32 0 0 1 4.309 63.701l-4.31.299H459.35a32 32 0 0 1-4.352-63.744l4.352-.256h446.806z" /><path d="M224 192a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm256-480a32 32 0 1 0-64 0 32 32 0 1 0 64 0Zm0 320a32 32 0 1 0-64 0 32 32 0 1 0 64 0ZM192 352h256M192 672h256M224 192v160m0 160v160" stroke="currentColor" stroke-width="32" fill="none" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slider-field"><path d="M951.453 476.844H523.672a131.836 131.836 0 0 0-254.18 0H72.547v70.312h196.945a131.836 131.836 0 0 0 254.18 0h427.781z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-component"><path d="M512 102.4c-212.48 0-384 171.52-384 384s171.52 384 384 384 384-171.52 384-384-171.52-384-384-384zm25.6 716.8v-128c0-15.36-10.24-25.6-25.6-25.6s-25.6 10.24-25.6 25.6v128C322.56 806.4 192 675.84 179.2 512h128c15.36 0 25.6-10.24 25.6-25.6s-10.24-25.6-25.6-25.6h-128C192 296.96 322.56 166.4 486.4 156.16V281.6c0 15.36 10.24 25.6 25.6 25.6s25.6-10.24 25.6-25.6V156.16C701.44 168.96 832 299.52 844.8 460.8h-128c-15.36 0-25.6 10.24-25.6 25.6s10.24 25.6 25.6 25.6h128C832 675.84 701.44 806.4 537.6 819.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-slot-field"><path d="M493.969 244.87h36.285q18.031 0 18.031 18.03v217.267q0 18.031-18.031 18.031h-36.285q-18.032 0-18.032-18.031V262.901q0-18.031 18.032-18.031ZM323.45000000000005 525.802h36.286q18.031 0 18.031 18.031v217.266q0 18.031-18.031 18.031H323.45q-18.03 0-18.03-18.03V543.832q0-18.031 18.03-18.031ZM664.2639999999999 525.802h36.286q18.03 0 18.03 18.031v217.266q0 18.031-18.03 18.031h-36.286q-18.031 0-18.031-18.03V543.832q0-18.031 18.031-18.031Z" /><path d="M827.437 122.212H196.563a74.574 74.574 0 0 0-74.35 74.351v630.874a74.574 74.574 0 0 0 74.35 74.35h630.874a74.574 74.574 0 0 0 74.35-74.35V196.563a74.574 74.574 0 0 0-74.35-74.35zm52.09 705.225a52.09 52.09 0 0 1-52.09 52.09H196.563a52.09 52.09 0 0 1-52.09-52.09V196.563a52.09 52.09 0 0 1 52.09-52.09h630.874a52.09 52.09 0 0 1 52.09 52.09z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-static-text"><path d="M213.333 160c-4.821 0-9.472.64-13.824 1.792a32 32 0 0 1-16.554-61.824C192.683 97.408 202.88 96 213.333 96h33.195a32 32 0 0 1 0 64h-33.195zm133.931-32a32 32 0 0 1 32-32h66.347a32 32 0 1 1 0 64h-66.304a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zm199.083 0a32 32 0 0 1 32-32h33.195c10.453 0 20.65 1.365 30.378 3.968a32 32 0 1 1-16.554 61.867A53.419 53.419 0 0 0 810.667 160h-33.195a32 32 0 0 1-32-32zm-606.293 32.341a32 32 0 0 1 22.613 39.168A53.461 53.461 0 0 0 160 213.333v33.195a32 32 0 0 1-64 0v-33.195c0-10.453 1.365-20.65 3.968-30.378a32 32 0 0 1 39.168-22.614zm745.685 0a32 32 0 0 1 39.168 22.614c2.56 9.728 3.968 19.925 3.968 30.378v33.195a32 32 0 0 1-64 0v-33.195c0-4.821-.64-9.472-1.792-13.824a32 32 0 0 1 22.613-39.168zM128 347.221a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.39a32 32 0 1 1-64 0v-66.304a32 32 0 0 1 32-32zM128 546.432a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm768 0a32 32 0 0 1 32 32v66.347a32 32 0 0 1-64 0v-66.347a32 32 0 0 1 32-32zm0 199.083a32 32 0 0 1 32 32v33.152c0 10.453-1.365 20.65-3.968 30.378a32 32 0 1 1-61.867-16.554c1.195-4.352 1.835-8.96 1.835-13.824v-33.195a32 32 0 0 1 32-32zm-768 0a32 32 0 0 1 32 32v33.152c0 4.821.64 9.472 1.792 13.824a32 32 0 0 1-61.824 16.512A117.461 117.461 0 0 1 96 810.667v-33.195a32 32 0 0 1 32-32zm32.341 139.392a32 32 0 0 1 39.168-22.656 53.814 53.814 0 0 0 13.824 1.792h33.195a32 32 0 0 1 0 64h-33.195c-10.453 0-20.65-1.366-30.378-3.968a32 32 0 0 1-22.614-39.168zm703.318 0a32 32 0 0 1-22.614 39.168c-9.728 2.56-19.925 3.968-30.378 3.968h-33.195a32 32 0 0 1 0-64h33.195c4.821 0 9.472-.64 13.824-1.792a32 32 0 0 1 39.168 22.613zM347.307 896a32 32 0 0 1 32-32h66.346a32 32 0 1 1 0 64h-66.346a32 32 0 0 1-32-32zm199.125 0a32 32 0 0 1 32-32h66.347a32 32 0 0 1 0 64h-66.347a32 32 0 0 1-32-32zM341.333 352a32 32 0 0 0 0 64H480v266.667a32 32 0 0 0 64 0V416h138.667a32 32 0 0 0 0-64H341.333z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-sub-form"><path d="M512 106.667H112a5.333 5.333 0 0 0-5.333 5.333v800a5.333 5.333 0 0 0 5.333 5.333h800a5.333 5.333 0 0 0 5.333-5.333V112a5.333 5.333 0 0 0-5.333-5.333zm0 74.666h325.333a5.333 5.333 0 0 1 5.334 5.334v160a5.333 5.333 0 0 1-5.334 5.333H186.667a5.333 5.333 0 0 1-5.334-5.333v-160a5.333 5.333 0 0 1 5.334-5.334zM597.333 432v405.333a5.333 5.333 0 0 1-5.333 5.334H432a5.333 5.333 0 0 1-5.333-5.334V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.333 5.333zm-410.666-5.333h160A5.333 5.333 0 0 1 352 432v405.333a5.333 5.333 0 0 1-5.333 5.334h-160a5.333 5.333 0 0 1-5.334-5.334V432a5.333 5.333 0 0 1 5.334-5.333zM672 837.333V432a5.333 5.333 0 0 1 5.333-5.333h160a5.333 5.333 0 0 1 5.334 5.333v405.333a5.333 5.333 0 0 1-5.334 5.334h-160a5.333 5.333 0 0 1-5.333-5.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-switch-field"><path d="M692 792H332C182 792 62 672 62 522s120-270 270-270h360c150 0 270 120 270 270 0 147-120 270-270 270zM332 312c-117 0-210 93-210 210s93 210 210 210h360c117 0 210-93 210-210s-93-210-210-210H332z" /><path d="M191 522a150 150 0 1 0 300 0 150 150 0 1 0-300 0z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-tab"><path d="M908.8 1005.44H115.2A101.76 101.76 0 0 1 14.08 903.68V110.72A101.76 101.76 0 0 1 115.2 8.96h296.96a32.64 32.64 0 0 1 32 32V262.4a32 32 0 0 1-32 32 32 32 0 0 1-32-32v-192H115.2a37.76 37.76 0 0 0-37.12 37.76v795.52a37.76 37.76 0 0 0 37.12 37.76h793.6a37.76 37.76 0 0 0 37.12-37.76V267.52a32 32 0 0 1 32-32 32 32 0 0 1 32 32v636.16a101.76 101.76 0 0 1-101.12 101.76z" /><path d="M977.92 299.52a32.64 32.64 0 0 1-32-32v-87.04a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32H908.8a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z" /><path d="M977.92 299.52H64a32 32 0 0 1-32-32 32 32 0 0 1 32-32h913.92a32 32 0 0 1 32 32 32 32 0 0 1-32 32z" /><path d="M699.52 299.52a32 32 0 0 1-32-32v-156.8a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-table"><path d="M925.586 0H101.369C69.885 0 42.24 28.924 42.24 62.328v902.8c0 33.403 27.645 58.872 59.129 58.872h824.217c31.484 0 56.057-25.469 56.057-58.873V62.328C981.643 28.924 957.198 0 925.586 0zM373.719 735.908V543.932h276.445v191.976zm276.445 42.235v203.494H373.719V778.143zm287.964-276.446h-244.45V298.203h244.45zm-287.964 0H373.719V298.203h276.445zm-319.96 0H85.754V298.203h244.45zm-244.45 42.235h244.45v191.976H85.754zm607.925 0h244.449v191.976h-244.45zM101.369 42.235h824.217c7.807 0 12.542 10.366 12.542 20.093v193.64H85.755V62.328c0-9.727 7.807-20.093 15.614-20.093zM85.755 964.999V778.143h244.449v203.494H101.369c-7.807 0-15.614-6.91-15.614-16.51zm839.83 16.638H693.68V778.143h244.449v186.856c0 9.727-4.607 16.638-12.542 16.638z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-text-field"><path d="M896 224H128c-35.2 0-64 28.8-64 64v448c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V288c0-35.2-28.8-64-64-64zm0 480c0 19.2-12.8 32-32 32H160c-19.2 0-32-12.8-32-32V320c0-19.2 12.8-32 32-32h704c19.2 0 32 12.8 32 32v384z" /><path d="M224 352c-19.2 0-32 12.8-32 32v256c0 16 12.8 32 32 32s32-12.8 32-32V384c0-16-12.8-32-32-32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-textarea-field"><path d="M896.4 173.1H128.9c-35.2 0-49 13.8-49 49v575.6c0 35.2 13.8 49 49 49h767.5c35.2 0 49-13.8 49-49V222.1c0-35.2-13.8-49-49-49zm0 592.6c0 16-12.8 32-32 32H160.9c-19.2 0-32-12.8-32-32V254.1c0-16 12.8-32 32-32h703.5c19.2 0 32 12.8 32 32v511.6z" /><path d="M710.2 766.7h141.5c8.1 0 14.7-6.6 14.7-14.7V610.4c0-1.3-1.6-2-2.6-1.1L709.1 764.1c-1 1-.3 2.6 1.1 2.6zm-503-172.4h-13.5c-10 0-18.2-8.2-18.2-18.2V291.8c0-10.2 8.4-18.6 18.6-18.6h12.8c10.2 0 18.6 8.4 18.6 18.6v284.3c-.1 10-8.3 18.2-18.3 18.2z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-field"><path d="M512 39.385A472.615 472.615 0 1 0 984.615 512 472.615 472.615 0 0 0 512 39.385zm0 866.461A393.846 393.846 0 1 1 905.846 512 393.846 393.846 0 0 1 512 905.846zm75.855-373.72A77.154 77.154 0 0 0 590.769 512a78.454 78.454 0 0 0-39.384-67.86V196.923a39.385 39.385 0 0 0-78.77 0V444.14a78.336 78.336 0 0 0 59.55 143.715l70.144 70.144a39.385 39.385 0 0 0 55.69-55.69zM512 551.385A39.385 39.385 0 1 1 551.385 512 39.385 39.385 0 0 1 512 551.385zm315.077-78.77A39.385 39.385 0 1 0 866.462 512a39.385 39.385 0 0 0-39.385-39.385zm-630.154 0A39.385 39.385 0 1 0 236.308 512a39.385 39.385 0 0 0-39.385-39.385zm509.991 234.3a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69 0zM317.007 317.006a39.385 39.385 0 1 0-55.73 0 39.385 39.385 0 0 0 55.809.04zM512 787.692a39.385 39.385 0 1 0 39.385 39.385A39.385 39.385 0 0 0 512 787.692zm-250.604-80.778a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.039zm445.518-445.518a39.385 39.385 0 1 0 55.69 0 39.385 39.385 0 0 0-55.69-.04z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-time-range-field"><path d="M498.596 482.29H345.42v57.308h210.478V274.197h-57.301V482.29zm79.089 162.695h379.88v57.302h-379.88v-57.302zm0 128.78h379.88v57.307h-379.88v-57.307zm0 128.785h379.88v57.307h-379.88V902.55zm0 0" /><path d="M102.523 382.29a28.668 28.668 0 0 0 23.367 2.56l190.81-61.886c15.053-4.883 23.298-21.04 18.415-36.09-4.882-15.052-21.04-23.297-36.093-18.415l-123.346 40c15.994-26.117 35.17-50.538 57.37-72.745 73.768-73.767 171.847-114.388 276.169-114.388 104.32 0 202.395 40.622 276.161 114.388S899.77 407.56 899.77 511.882c0 26.428-2.616 52.45-7.71 77.78h58.303c4.465-25.499 6.709-51.47 6.709-77.78 0-60.45-11.846-119.102-35.205-174.336-22.56-53.335-54.85-101.227-95.969-142.35-41.122-41.122-89.017-73.408-142.348-95.968-55.233-23.361-113.89-35.207-174.334-35.207-60.45 0-119.107 11.846-174.337 35.208-53.335 22.56-101.23 54.846-142.35 95.969-23.98 23.98-44.933 50.278-62.727 78.6l-20.738-105.654c-3.043-15.528-18.105-25.642-33.632-22.6-15.528 3.048-25.643 18.105-22.6 33.637l36.103 183.932a28.666 28.666 0 0 0 13.588 19.178zm23.497 205.652H67.768c5.76 33.679 15.368 66.544 28.79 98.278 22.56 53.334 54.85 101.225 95.972 142.348 41.123 41.123 89.014 73.409 142.349 95.969 54.112 22.888 111.518 34.711 170.668 35.182v-57.324c-102.95-.941-199.595-41.446-272.5-114.349-55.501-55.502-92.237-124.77-107.027-200.104zm0 0" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-undo"><path d="M609.206 396.656H193.504l201.87-199.152c17.787-17.787 17.787-43.185 0-60.973s-41.555-18.641-59.42-.778L62.857 402.557c-17.787 17.787-17.787 41.399 0 59.186L336.03 728.858c17.787 17.787 41.555 17.787 59.42-.078 17.787-17.787 17.787-41.166 0-58.953L193.502 474.326h415.702c166.219 0 311.155 129.712 311.155 290.029v41.555c0 23.769 15.069 41.555 38.836 41.555s38.836-17.787 38.836-41.555v-41.555c0-207.852-175.073-367.7-388.828-367.7z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-vue-sfc"><path d="M454.138 11.176 54.066 174.092c-72.088 29.49-72.088 120.523 0 150.014l400.276 162.916c36.454 14.95 78.847 14.95 115.506 0l400.071-162.814c72.191-29.593 72.089-120.83-.307-150.116L569.746 11.278a155.339 155.339 0 0 0-115.608-.205zm469.19 237.872L532.37 408.585l-7.885 2.457a55.09 55.09 0 0 1-32.562-2.457L100.35 249.048l391.265-159.23a55.09 55.09 0 0 1 40.447 0l391.162 159.23z" fill="#1890FF" /><path d="M498.681 729.911c-20.275 0-40.652-3.788-59.391-11.673L53.76 561.26C20.48 547.847 0 519.89 0 488.558c0-31.436 20.582-59.391 53.862-72.703l36.556-15.053c21.401-8.806 47.103-1.024 57.24 17.408 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.229-4.71 3.584-4.71 6.45 0 3.073 1.536 5.12 4.71 6.452l385.326 156.875c14.336 5.939 30.924 5.939 45.362 0L906.74 495.009c3.072-1.229 4.915-3.584 4.915-6.451 0-3.072-1.536-5.222-4.607-6.451l-44.851-18.227c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.329 35.84-26.214 57.24-17.407l44.851 18.431c33.177 13.517 53.76 41.267 53.76 72.703 0 31.334-20.48 59.391-53.76 72.703L558.482 718.238a161.585 161.585 0 0 1-59.801 11.673z" fill="#5DE1C8" /><path d="M498.681 966.247c-20.275 0-40.652-3.89-59.391-11.673L53.76 797.597C20.48 784.08 0 756.227 0 724.997c0-31.437 20.582-59.494 53.862-72.806l36.556-14.95c21.401-8.807 47.103-1.024 57.24 17.407 10.24 18.227 1.025 40.14-20.479 48.947l-36.454 14.95c-3.072 1.126-4.71 3.584-4.71 6.451 0 3.072 1.536 5.12 4.71 6.349l385.326 156.977c14.336 5.939 30.924 5.939 45.362 0L906.74 731.14c3.072-1.126 4.915-3.584 4.915-6.349 0-3.072-1.536-5.324-4.607-6.45l-44.851-18.33c-21.401-8.806-30.412-30.72-20.377-48.947 10.342-18.431 35.84-26.214 57.24-17.407l44.851 18.329c33.177 13.517 53.76 41.369 53.76 72.703 0 31.436-20.48 59.494-53.76 72.805l-385.428 157.08a161.585 161.585 0 0 1-59.801 11.673z" fill="#FF7272" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-custom-search"><path d="M863.3 641.94A416.1 416.1 0 0 0 96.7 318.06a416.1 416.1 0 0 0 766.6 323.88zM480 832a352 352 0 1 1 248.9-103.1A349.69 349.69 0 0 1 480 832z" /><path d="m950.63 841.37-96-96a32 32 0 0 0-45.25 45.25l96 96a13.25 13.25 0 1 1-18.75 18.75l-96-96a32 32 0 0 0-45.25 45.25l96 96a77.25 77.25 0 1 0 109.25-109.25z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-arrow-down"><path d="M512 714.667c-8.533 0-17.067-2.134-23.467-8.534L147.2 364.8c-12.8-12.8-12.8-32 0-44.8 12.8-12.8 32-12.8 44.8 0l320 317.867 317.867-320c12.8-12.8 32-12.8 44.8 0 12.8 12.8 12.8 32 0 44.8L533.333 704c-4.266 8.533-12.8 10.667-21.333 10.667z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-back"><path fill="currentColor" d="M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64z" /><path fill="currentColor" d="m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312L237.248 512z" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-el-check"><path fill="currentColor" d="M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-clone"><path d="M774.144 839.68c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H184.32c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V380.928c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4v65.536c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08V839.68c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h458.752c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08h65.536zM380.928 118.784c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v458.752c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456H839.68c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V184.32c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H380.928zm0-65.536H839.68c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v458.752c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H380.928c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V184.32c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-delete"><path fill="currentColor" d="M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-download"><path d="M896 672c-17.067 0-32 14.933-32 32v128c0 6.4-4.267 10.667-10.667 10.667H170.667c-6.4 0-10.667-4.267-10.667-10.667V704c0-17.067-14.933-32-32-32s-32 14.933-32 32v128c0 40.533 34.133 74.667 74.667 74.667h682.666C893.867 906.667 928 872.533 928 832V704c0-17.067-14.933-32-32-32z" /><path d="M488.533 727.467c6.4 6.4 14.934 8.533 23.467 8.533s17.067-2.133 23.467-8.533L748.8 514.133c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L546.133 627.2V170.667c0-17.067-14.933-32-32-32S480 153.6 480 170.667V627.2L322.133 469.333c-12.8-12.8-32-12.8-44.8 0-12.8 12.8-12.8 32 0 44.8l211.2 213.334z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-drag-move"><path d="M909.3 506.3 781.7 405.6c-4.7-3.7-11.7-.4-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7c-2.9-3.7-8.5-3.7-11.3 0L405.6 242.3c-3.7 4.7-.4 11.7 5.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3c-3.7 2.9-3.7 8.5 0 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8c3.7-2.9 3.7-8.5.1-11.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-form-template"><path d="M298.667 981.333A85.333 85.333 0 0 1 213.333 896V128a85.333 85.333 0 0 1 85.334-85.333h426.666A85.333 85.333 0 0 1 810.667 128v768a85.333 85.333 0 0 1-85.334 85.333zm0-832v725.334A21.333 21.333 0 0 0 320 896h384a21.333 21.333 0 0 0 21.333-21.333V149.333A21.333 21.333 0 0 0 704 128H320a21.333 21.333 0 0 0-21.333 21.333zm640 618.667V256a42.667 42.667 0 0 1 42.666-42.667A42.667 42.667 0 0 1 1024 256v512a42.667 42.667 0 0 1-42.667 42.667A42.667 42.667 0 0 1 938.667 768zM0 768V256a42.667 42.667 0 0 1 42.667-42.667A42.667 42.667 0 0 1 85.333 256v512a42.667 42.667 0 0 1-42.666 42.667A42.667 42.667 0 0 1 0 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-hide"><path d="M956.8 496c-41.6-70.4-99.2-147.2-176-204.8l105.6-105.6c12.8-12.8 12.8-32 0-44.8s-32-12.8-44.8 0L726.4 256C665.6 214.4 592 192 512 192c-214.4 0-358.4 166.4-444.8 304-6.4 9.6-6.4 22.4 0 32 41.6 70.4 102.4 147.2 176 204.8L134.4 841.6c-12.8 12.8-12.8 32 0 44.8 9.6 6.4 16 9.6 25.6 9.6s16-3.2 22.4-9.6l115.2-115.2C358.4 809.6 432 832 512 832c185.6 0 374.4-128 444.8-307.2 3.2-9.6 3.2-19.2 0-28.8zm-822.4 16C211.2 390.4 336 256 512 256c60.8 0 118.4 16 166.4 44.8l-80 80C576 361.6 544 352 512 352c-89.6 0-160 70.4-160 160 0 32 9.6 64 25.6 89.6L288 691.2C224 640 172.8 572.8 134.4 512zm473.6 0c0 54.4-41.6 96-96 96-16 0-28.8-3.2-41.6-9.6l128-128c6.4 12.8 9.6 25.6 9.6 41.6zm-192 0c0-54.4 41.6-96 96-96 16 0 28.8 3.2 41.6 9.6l-128 128c-6.4-12.8-9.6-25.6-9.6-41.6zm96 256c-60.8 0-118.4-16-166.4-44.8l80-80C448 662.4 480 672 512 672c89.6 0 160-70.4 160-160 0-32-9.6-64-25.6-89.6l89.6-89.6C803.2 384 854.4 451.2 892.8 512 825.6 659.2 665.6 768 512 768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-info"><path d="M512.001 928.997c230.524 0 418.076-187.552 418.075-418.077 0-230.527-187.552-418.077-418.075-418.077S93.924 280.393 93.924 510.92c0 230.525 187.552 418.077 418.077 418.077zM512 301.88c28.86 0 52.26 23.399 52.26 52.263 0 28.858-23.399 52.257-52.26 52.257s-52.26-23.399-52.26-52.257c0-28.863 23.399-52.263 52.26-52.263zm-52.26 209.042c0-28.86 23.399-52.26 52.26-52.26s52.26 23.399 52.26 52.26v156.775c0 28.86-23.399 52.26-52.26 52.26s-52.26-23.399-52.26-52.26V510.922z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-column"><path d="M653.184 713.6c12.864-12.864 33.6-12.864 46.528 0 6.4 6.4 3.776 14.72 3.776 23.232a32.675 32.675 0 0 1-9.6 23.104L569.92 886.4c-.128.128-.32.192-.512.32-2.88 2.88-9.536 5.184-13.312 6.784-3.456 1.344-.64 1.856-4.096 2.112-.768 0-1.344.384-2.048.384-.512 0-.896-.256-1.344-.256-3.84-.192-5.76-.896-9.344-2.24-3.264-1.344-6.016-3.52-8.64-5.76-.64-.512-1.472-.768-2.048-1.344L391.232 760c-12.864-12.736-6.976-33.6 5.888-46.4 12.8-12.864 33.6-12.864 46.464 0l105.472 100.352L653.184 713.6zM384 64v576h320V64H384zM128 704v256H64V640h256v320h-62.976L256 704H128m704 0v256h-64V640h256v320h-62.976L960 704H832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-insert-row"><path d="M310.336 653.184c12.864 12.864 12.864 33.6 0 46.528-6.4 6.4-14.72 3.776-23.168 3.776s-16.832-3.264-23.168-9.6L137.6 569.92c-.128-.128-.192-.32-.256-.512-2.88-2.816-5.248-9.536-6.848-13.312-1.344-3.392-1.856-.576-2.112-4.096 0-.768-.384-1.344-.384-2.048 0-.512.256-.896.256-1.344.192-3.84.896-5.76 2.24-9.344 1.344-3.264 3.52-6.016 5.76-8.64.512-.704.768-1.536 1.344-2.112l126.336-137.344c12.8-12.864 33.6-6.976 46.4 5.888 12.864 12.8 12.864 33.6 0 46.464L210.048 548.992l100.288 104.192zM960 384H384v320h576V384zM320 128H64V64h320v256H64v-62.976L320 256V128m0 704H64v-64h320v256H64v-62.976L320 960V832" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-menu"><path d="M844.8 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c0 19.2-19.2 38.4-38.4 38.4zM435.2 883.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4zm0-403.2h-256c-19.2 0-38.4-19.2-38.4-38.4v-256c0-19.2 19.2-38.4 38.4-38.4h256c19.2 0 38.4 19.2 38.4 38.4v256c6.4 19.2-12.8 38.4-38.4 38.4z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-down"><path d="M898.133 512c-12.8-12.8-32-12.8-44.8-2.133L544 800V149.333c0-17.066-14.933-32-32-32s-32 14.934-32 32V800L170.667 509.867c-12.8-12.8-34.134-10.667-44.8 2.133-12.8 12.8-10.667 34.133 2.133 44.8l362.667 341.333c2.133 2.134 6.4 4.267 8.533 6.4 4.267 2.134 6.4 2.134 10.667 2.134s8.533 0 10.666-2.134c4.267-2.133 6.4-4.266 8.534-6.4L891.733 556.8c17.067-12.8 19.2-32 6.4-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-move-up"><path d="M896 467.2 533.333 125.867c-2.133-2.134-6.4-4.267-8.533-6.4-4.267-2.134-6.4-2.134-10.667-2.134s-8.533 0-10.666 2.134c-4.267 2.133-6.4 4.266-8.534 6.4L132.267 467.2c-12.8 12.8-12.8 32-2.134 44.8 12.8 12.8 32 12.8 44.8 2.133L484.267 224v650.667c0 17.066 14.933 32 32 32s32-14.934 32-32V224l305.066 290.133c6.4 6.4 14.934 8.534 21.334 8.534 8.533 0 17.066-4.267 23.466-10.667 12.8-12.8 10.667-32-2.133-44.8z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-plus"><path d="M554.667 213.333h-85.334v256h-256v85.334h256v256h85.334v-256h256v-85.334h-256z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-set-up"><path d="M217.088 151.552c-18.432.683-33.792 7.168-46.08 19.456s-18.773 27.648-19.456 46.08v589.824c.683 18.432 7.168 33.792 19.456 46.08s27.648 18.773 46.08 19.456h589.824c18.432-.683 33.792-7.168 46.08-19.456s18.773-27.648 19.456-46.08V217.088c-.683-18.432-7.168-33.792-19.456-46.08s-27.648-18.773-46.08-19.456H217.088zm0-65.536h589.824c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672v589.824c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4H217.088c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672V217.088c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4zm163.84 327.68c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm98.304-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H479.232c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768zm163.84 425.984c18.432-.683 33.792-7.168 46.08-19.456s18.432-27.648 18.432-46.08-6.144-33.792-18.432-46.08-27.648-18.432-46.08-18.432-33.792 6.144-46.08 18.432-18.432 27.648-18.432 46.08 6.144 33.792 18.432 46.08 27.648 18.773 46.08 19.456zm0 65.536c-36.864-.683-67.755-13.483-92.672-38.4s-37.717-55.808-38.4-92.672c.683-36.864 13.483-67.755 38.4-92.672s55.808-37.717 92.672-38.4c36.864.683 67.755 13.483 92.672 38.4s37.717 55.808 38.4 92.672c-.683 36.864-13.483 67.755-38.4 92.672s-55.808 37.717-92.672 38.4zm-360.448-163.84h262.144c21.845 0 32.768 10.923 32.768 32.768s-10.923 32.768-32.768 32.768H282.624c-21.845 0-32.768-10.923-32.768-32.768s10.923-32.768 32.768-32.768z" /></symbol><symbol class="icon" viewBox="0 0 1024 1024" id="icon-el-view"><path fill="currentColor" d="M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z" /></symbol><symbol viewBox="0 0 1024 1024" id="icon-el-zoom-in"><path fill="currentColor" d="m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z" /></symbol>',g.insertBefore(e,g.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}var iconfont="",index="";function registerCPEditor(t,g,e,f){t.component(e,f)}function registerAPEditor(t,g,e,f){t.component(e,f)}function registerEPEditor(t,g,e,f){t.component(e,f)}function _isSlot(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!vue.isVNode(t)}const createInputTextEditor=function(t,g){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(g)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[t],"onUpdate:modelValue":f=>this.optionModel[t]=f},null)]})}}},createTextareaEditor=function(t,g,e={}){return{props:{optionModel:Object},render(f){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(g)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"textarea",modelValue:this.optionModel[t],"onUpdate:modelValue":_=>this.optionModel[t]=_,rows:e.rows||4,autosize:e.autosize||!1},null)]})}}},createInputNumberEditor=function(t,g){return{props:{optionModel:Object},methods:{updateValue(e){e==null||isNaN(e)?this.optionModel[t]=null:this.optionModel[t]=Number(e)}},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(g)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input-number"),{type:"text",modelValue:this.optionModel[t],"onUpdate:modelValue":f=>this.optionModel[t]=f,onChange:this.updateValue,style:"width: 100%"},null)]})}}},createBooleanEditor=function(t,g){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(g)},{default:()=>[vue.createVNode(vue.resolveComponent("el-switch"),{modelValue:this.optionModel[t],"onUpdate:modelValue":f=>this.optionModel[t]=f},null)]})}}},createRadioButtonGroupEditor=function(t,g,e){return{props:{optionModel:Object},render(f){let _;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(g)},{default:()=>[vue.createVNode(vue.resolveComponent("el-radio-group"),{modelValue:this.optionModel[t],"onUpdate:modelValue":m=>this.optionModel[t]=m},_isSlot(_=e.optionItems.map(m=>vue.createVNode(vue.resolveComponent("el-radio-button"),{label:m.value},{default:()=>[m.label]})))?_:{default:()=>[_]})]})}}},createSelectEditor=function(t,g,e){return{props:{optionModel:Object},render(f){let _;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(g)},{default:()=>[vue.createVNode(vue.resolveComponent("el-select"),{modelValue:this.optionModel[t],"onUpdate:modelValue":m=>this.optionModel[t]=m},_isSlot(_=e.optionItems.map(m=>vue.createVNode(vue.resolveComponent("el-option"),{label:m.label,value:m.value},null)))?_:{default:()=>[_]})]})}}},createEventHandlerEditor=function(t,g){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[t,[...g]])}},render(e){let f;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:t,"label-width":"150px"},{default:()=>[vue.createVNode(vue.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(f=translate("designer.setting.addEventHandler"))?f:{default:()=>[f]})]})}}};var containerMixin={inject:["getFormConfig","getGlobalDsv"],computed:{formConfig(){return this.getFormConfig()}},methods:{appendTableRow(t){this.designer.appendTableRow(t)},appendTableCol(t){this.designer.appendTableCol(t)},onContainerDragAdd(t,g){const e=t.newIndex;g[e]&&this.designer.setSelected(g[e]),this.designer.emitHistoryChange()},onContainerDragUpdate(){this.designer.emitHistoryChange()},checkContainerMove(t){return this.designer.checkWidgetMove(t)},selectWidget(t){this.designer.setSelected(t)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList),this.designer.emitHistoryChange()},cloneContainer(t){if(this.parentList){let g=this.designer.cloneContainer(t);this.parentList.splice(this.indexOfParentList+1,0,g),this.designer.setSelected(g),this.designer.emitHistoryChange()}},removeWidget(){if(this.parentList){const t=this.designer.selectedWidgetName;let g=null;this.parentList.length===1?this.parentWidget&&(g=this.parentWidget):this.parentList.length===1+this.indexOfParentList?g=this.parentList[this.indexOfParentList-1]:g=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(g),this.designer.formWidget.deleteWidgetRef(t),this.designer.emitHistoryChange()})}},setWidgetOption(t,g){this.widget.options.hasOwnProperty(t)&&(this.widget.options[t]=g)}}},containerWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$G={name:"container-wrapper",mixins:[i18n$1,containerMixin],components:{SvgIcon},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{customClass(){return this.widget.options.customClass?this.widget.options.customClass.join(" "):""}}},_hoisted_1$v={key:0,class:"container-action"},_hoisted_2$n=["title"],_hoisted_3$j=["title"],_hoisted_4$g=["title"],_hoisted_5$c=["title"],_hoisted_6$c=["title"],_hoisted_7$a=["title"],_hoisted_8$7=["title"],_hoisted_9$6={key:1,class:"drag-handler"},_hoisted_10$4=["title"],_hoisted_11$2={key:0};function _sfc_render$G(t,g,e,f,_,m){const A=vue.resolveComponent("svg-icon");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["container-wrapper",[m.customClass]])},[vue.renderSlot(t.$slots,"default",{},void 0,!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$v,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:g[0]||(g[0]=vue.withModifiers(b=>t.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(A,{"icon-class":"el-back"})],8,_hoisted_2$n),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:t.i18nt("designer.hint.moveUpWidget"),onClick:g[1]||(g[1]=vue.withModifiers(b=>t.moveUpWidget(),["stop"]))},[vue.createVNode(A,{"icon-class":"el-move-up"})],8,_hoisted_3$j)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:t.i18nt("designer.hint.moveDownWidget"),onClick:g[2]||(g[2]=vue.withModifiers(b=>t.moveDownWidget(),["stop"]))},[vue.createVNode(A,{"icon-class":"el-move-down"})],8,_hoisted_4$g)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:2,title:t.i18nt("designer.hint.insertRow"),onClick:g[3]||(g[3]=vue.withModifiers(b=>t.appendTableRow(e.widget),["stop"]))},[vue.createVNode(A,{"icon-class":"el-insert-row"})],8,_hoisted_5$c)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:3,title:t.i18nt("designer.hint.insertColumn"),onClick:g[4]||(g[4]=vue.withModifiers(b=>t.appendTableCol(e.widget),["stop"]))},[vue.createVNode(A,{"icon-class":"el-insert-column"})],8,_hoisted_6$c)):vue.createCommentVNode("",!0),e.widget.type==="grid"||e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:4,title:t.i18nt("designer.hint.cloneWidget"),onClick:g[5]||(g[5]=vue.withModifiers(b=>t.cloneContainer(e.widget),["stop"]))},[vue.createVNode(A,{"icon-class":"el-clone"})],8,_hoisted_7$a)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:t.i18nt("designer.hint.remove"),onClick:g[6]||(g[6]=vue.withModifiers((...b)=>t.removeWidget&&t.removeWidget(...b),["stop"]))},[vue.createVNode(A,{"icon-class":"el-delete"})],8,_hoisted_8$7)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$6,[vue.createElementVNode("i",{title:t.i18nt("designer.hint.dragHandler")},[vue.createVNode(A,{"icon-class":"el-drag-move"})],8,_hoisted_10$4),vue.createElementVNode("i",null,vue.toDisplayString(t.i18n2t(`designer.widgetLabel.${e.widget.type}`,`extension.widgetLabel.${e.widget.type}`)),1),e.widget.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_11$2,[vue.createVNode(A,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2)}var ContainerWrapper=_export_sfc$1(_sfc_main$G,[["render",_sfc_render$G],["__scopeId","data-v-679de05a"]]),__glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:ContainerWrapper},Symbol.toStringTag,{value:"Module"})),refMixinDesign={methods:{initRefList(){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(this.refList[this.widget.options.name]=this)},getWidgetRef(t,g){let e=this.refList[t];return!e&&!!g&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},registerToRefList(t){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(t&&delete this.refList[t],this.refList[this.widget.options.name]=this)}}},cardWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$F={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:st(Ie({ContainerWrapper},comps),{ArrowDownBold:arrowDownBold}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{checkContainerMove(t){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(t){this.widget.options.folded=!!t}}},_hoisted_1$u={class:"label"},_hoisted_2$m={class:"form-widget-list"};function _sfc_render$F(t,g,e,f,_,m){const A=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),d=vue.resolveComponent("draggable"),u=vue.resolveComponent("el-card"),n=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(u,{key:e.widget.id,class:vue.normalizeClass(["card-container",[m.selected?"selected":"",e.widget.options.folded?"folded":"",m.customClass]]),onClick:g[2]||(g[2]=vue.withModifiers(s=>t.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:g[0]||(g[0]=(...s)=>m.toggleCard&&m.toggleCard(...s)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(b,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(A)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$u,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[vue.createVNode(d,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:g[1]||(g[1]=s=>t.onContainerDragAdd(s,e.widget.widgetList)),onUpdate:t.onContainerDragUpdate,move:m.checkContainerMove}),{item:vue.withCtx(({element:s,index:i})=>[vue.createElementVNode("div",_hoisted_2$m,[s.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{widget:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(s.type+"-widget"),{field:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"])]),_:1},8,["shadow","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CardWidget=_export_sfc$1(_sfc_main$F,[["render",_sfc_render$F],["__scopeId","data-v-2c3be1b8"]]),cardItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$E={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:st(Ie({ContainerItemWrapper},comps),{ArrowDownBold:arrowDownBold}),props:{widget:Object},inject:["refList","sfRefList","globalModel"],computed:{customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},beforeUnmount(){this.unregisterFromRefList()},methods:{toggleCard(){this.widget.options.folded=!this.widget.options.folded}}},_hoisted_1$t={class:"label"};function _sfc_render$E(t,g,e,f,_,m){const A=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),d=vue.resolveComponent("el-card"),u=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(u,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createBlock(d,{key:e.widget.id,class:vue.normalizeClass(["card-container",[e.widget.options.folded?"folded":"",m.customClass]]),ref:e.widget.id,shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:g[0]||(g[0]=(...n)=>m.toggleCard&&m.toggleCard(...n)),class:"clear-fix"},[e.widget.options.showFold?(vue.openBlock(),vue.createBlock(b,{key:0,class:vue.normalizeClass([e.widget.options.folded&&"rotated-icon","mr-6px","font-10px"])},{default:vue.withCtx(()=>[vue.createVNode(A)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$t,vue.toDisplayString(e.widget.options.label),1)])]),default:vue.withCtx(()=>[!!e.widget.widgetList&&e.widget.widgetList.length>0?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.widget.widgetList,(n,s)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[n.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.getComponentByContainer(n)),{widget:n,key:s,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),i=>({name:i,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,i,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(n.type+"-widget"),{field:n,designer:null,key:s,"parent-list":e.widget.widgetList,"index-of-parent-list":s,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(t.$slots),i=>({name:i,fn:vue.withCtx(r=>[vue.renderSlot(t.$slots,i,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256)):vue.createCommentVNode("",!0)]),_:3},8,["class","shadow"])),[[vue.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}var CardItem=_export_sfc$1(_sfc_main$E,[["render",_sfc_render$E],["__scopeId","data-v-2f0daae4"]]);const ACE_BASE_PATH="https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini",_sfc_main$D={name:"alert-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{StaticContentWrapper},created(){this.registerToRefList(),this.initEventHandler()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleCloseCustomEvent(){this.field.options.onClose&&new Function(this.field.options.onClose).call(this)}}};function _sfc_render$D(t,g,e,f,_,m){const A=vue.resolveComponent("el-alert"),b=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(A,{ref:"fieldEditor",title:e.field.options.title,type:e.field.options.type,description:e.field.options.description,closable:e.field.options.closable,center:e.field.options.center,"close-text":e.field.options.closeText,"show-icon":e.field.options.showIcon,effect:e.field.options.effect,onClose:m.handleCloseCustomEvent},null,8,["title","type","description","closable","center","close-text","show-icon","effect","onClose"])]),_:1},8,["designer","field","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AlertWidget=_export_sfc$1(_sfc_main$D,[["render",_sfc_render$D]]),cryptoJs={exports:{}},core={exports:{}};(function(t,g){(function(e,f){t.exports=f()})(commonjsGlobal,function(){var e=e||function(f,_){var m;if(typeof window!="undefined"&&window.crypto&&(m=window.crypto),typeof self!="undefined"&&self.crypto&&(m=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(m=globalThis.crypto),!m&&typeof window!="undefined"&&window.msCrypto&&(m=window.msCrypto),!m&&typeof commonjsGlobal!="undefined"&&commonjsGlobal.crypto&&(m=commonjsGlobal.crypto),!m&&typeof commonjsRequire=="function")try{m=require("crypto")}catch{}var A=function(){if(m){if(typeof m.getRandomValues=="function")try{return m.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof m.randomBytes=="function")try{return m.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},b=Object.create||function(){function p(){}return function(w){var v;return p.prototype=w,v=new p,p.prototype=null,v}}(),d={},u=d.lib={},n=u.Base=function(){return{extend:function(p){var w=b(this);return p&&w.mixIn(p),(!w.hasOwnProperty("init")||this.init===w.init)&&(w.init=function(){w.$super.init.apply(this,arguments)}),w.init.prototype=w,w.$super=this,w},create:function(){var p=this.extend();return p.init.apply(p,arguments),p},init:function(){},mixIn:function(p){for(var w in p)p.hasOwnProperty(w)&&(this[w]=p[w]);p.hasOwnProperty("toString")&&(this.toString=p.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),s=u.WordArray=n.extend({init:function(p,w){p=this.words=p||[],w!=_?this.sigBytes=w:this.sigBytes=p.length*4},toString:function(p){return(p||r).stringify(this)},concat:function(p){var w=this.words,v=p.words,x=this.sigBytes,y=p.sigBytes;if(this.clamp(),x%4)for(var M=0;M<y;M++){var T=v[M>>>2]>>>24-M%4*8&255;w[x+M>>>2]|=T<<24-(x+M)%4*8}else for(var L=0;L<y;L+=4)w[x+L>>>2]=v[L>>>2];return this.sigBytes+=y,this},clamp:function(){var p=this.words,w=this.sigBytes;p[w>>>2]&=4294967295<<32-w%4*8,p.length=f.ceil(w/4)},clone:function(){var p=n.clone.call(this);return p.words=this.words.slice(0),p},random:function(p){for(var w=[],v=0;v<p;v+=4)w.push(A());return new s.init(w,p)}}),i=d.enc={},r=i.Hex={stringify:function(p){for(var w=p.words,v=p.sigBytes,x=[],y=0;y<v;y++){var M=w[y>>>2]>>>24-y%4*8&255;x.push((M>>>4).toString(16)),x.push((M&15).toString(16))}return x.join("")},parse:function(p){for(var w=p.length,v=[],x=0;x<w;x+=2)v[x>>>3]|=parseInt(p.substr(x,2),16)<<24-x%8*4;return new s.init(v,w/2)}},o=i.Latin1={stringify:function(p){for(var w=p.words,v=p.sigBytes,x=[],y=0;y<v;y++){var M=w[y>>>2]>>>24-y%4*8&255;x.push(String.fromCharCode(M))}return x.join("")},parse:function(p){for(var w=p.length,v=[],x=0;x<w;x++)v[x>>>2]|=(p.charCodeAt(x)&255)<<24-x%4*8;return new s.init(v,w)}},a=i.Utf8={stringify:function(p){try{return decodeURIComponent(escape(o.stringify(p)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(p){return o.parse(unescape(encodeURIComponent(p)))}},l=u.BufferedBlockAlgorithm=n.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(p){typeof p=="string"&&(p=a.parse(p)),this._data.concat(p),this._nDataBytes+=p.sigBytes},_process:function(p){var w,v=this._data,x=v.words,y=v.sigBytes,M=this.blockSize,T=M*4,L=y/T;p?L=f.ceil(L):L=f.max((L|0)-this._minBufferSize,0);var S=L*M,N=f.min(S*4,y);if(S){for(var k=0;k<S;k+=M)this._doProcessBlock(x,k);w=x.splice(0,S),v.sigBytes-=N}return new s.init(w,N)},clone:function(){var p=n.clone.call(this);return p._data=this._data.clone(),p},_minBufferSize:0});u.Hasher=l.extend({cfg:n.extend(),init:function(p){this.cfg=this.cfg.extend(p),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(p){return this._append(p),this._process(),this},finalize:function(p){p&&this._append(p);var w=this._doFinalize();return w},blockSize:512/32,_createHelper:function(p){return function(w,v){return new p.init(v).finalize(w)}},_createHmacHelper:function(p){return function(w,v){return new h.HMAC.init(p,v).finalize(w)}}});var h=d.algo={};return d}(Math);return e})})(core);var x64Core={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(f){var _=e,m=_.lib,A=m.Base,b=m.WordArray,d=_.x64={};d.Word=A.extend({init:function(u,n){this.high=u,this.low=n}}),d.WordArray=A.extend({init:function(u,n){u=this.words=u||[],n!=f?this.sigBytes=n:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,n=u.length,s=[],i=0;i<n;i++){var r=u[i];s.push(r.high),s.push(r.low)}return b.create(s,this.sigBytes)},clone:function(){for(var u=A.clone.call(this),n=u.words=this.words.slice(0),s=n.length,i=0;i<s;i++)n[i]=n[i].clone();return u}})}(),e})})(x64Core);var libTypedarrays={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(){if(typeof ArrayBuffer=="function"){var f=e,_=f.lib,m=_.WordArray,A=m.init,b=m.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var u=d.byteLength,n=[],s=0;s<u;s++)n[s>>>2]|=d[s]<<24-s%4*8;A.call(this,n,u)}else A.apply(this,arguments)};b.prototype=m}}(),e.lib.WordArray})})(libTypedarrays);var encUtf16={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.lib,m=_.WordArray,A=f.enc;A.Utf16=A.Utf16BE={stringify:function(d){for(var u=d.words,n=d.sigBytes,s=[],i=0;i<n;i+=2){var r=u[i>>>2]>>>16-i%4*8&65535;s.push(String.fromCharCode(r))}return s.join("")},parse:function(d){for(var u=d.length,n=[],s=0;s<u;s++)n[s>>>1]|=d.charCodeAt(s)<<16-s%2*16;return m.create(n,u*2)}},A.Utf16LE={stringify:function(d){for(var u=d.words,n=d.sigBytes,s=[],i=0;i<n;i+=2){var r=b(u[i>>>2]>>>16-i%4*8&65535);s.push(String.fromCharCode(r))}return s.join("")},parse:function(d){for(var u=d.length,n=[],s=0;s<u;s++)n[s>>>1]|=b(d.charCodeAt(s)<<16-s%2*16);return m.create(n,u*2)}};function b(d){return d<<8&4278255360|d>>>8&16711935}}(),e.enc.Utf16})})(encUtf16);var encBase64={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.lib,m=_.WordArray,A=f.enc;A.Base64={stringify:function(d){var u=d.words,n=d.sigBytes,s=this._map;d.clamp();for(var i=[],r=0;r<n;r+=3)for(var o=u[r>>>2]>>>24-r%4*8&255,a=u[r+1>>>2]>>>24-(r+1)%4*8&255,l=u[r+2>>>2]>>>24-(r+2)%4*8&255,h=o<<16|a<<8|l,p=0;p<4&&r+p*.75<n;p++)i.push(s.charAt(h>>>6*(3-p)&63));var w=s.charAt(64);if(w)for(;i.length%4;)i.push(w);return i.join("")},parse:function(d){var u=d.length,n=this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var i=0;i<n.length;i++)s[n.charCodeAt(i)]=i}var r=n.charAt(64);if(r){var o=d.indexOf(r);o!==-1&&(u=o)}return b(d,u,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function b(d,u,n){for(var s=[],i=0,r=0;r<u;r++)if(r%4){var o=n[d.charCodeAt(r-1)]<<r%4*2,a=n[d.charCodeAt(r)]>>>6-r%4*2,l=o|a;s[i>>>2]|=l<<24-i%4*8,i++}return m.create(s,i)}}(),e.enc.Base64})})(encBase64);var encBase64url={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.lib,m=_.WordArray,A=f.enc;A.Base64url={stringify:function(d,u){u===void 0&&(u=!0);var n=d.words,s=d.sigBytes,i=u?this._safe_map:this._map;d.clamp();for(var r=[],o=0;o<s;o+=3)for(var a=n[o>>>2]>>>24-o%4*8&255,l=n[o+1>>>2]>>>24-(o+1)%4*8&255,h=n[o+2>>>2]>>>24-(o+2)%4*8&255,p=a<<16|l<<8|h,w=0;w<4&&o+w*.75<s;w++)r.push(i.charAt(p>>>6*(3-w)&63));var v=i.charAt(64);if(v)for(;r.length%4;)r.push(v);return r.join("")},parse:function(d,u){u===void 0&&(u=!0);var n=d.length,s=u?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var r=0;r<s.length;r++)i[s.charCodeAt(r)]=r}var o=s.charAt(64);if(o){var a=d.indexOf(o);a!==-1&&(n=a)}return b(d,n,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function b(d,u,n){for(var s=[],i=0,r=0;r<u;r++)if(r%4){var o=n[d.charCodeAt(r-1)]<<r%4*2,a=n[d.charCodeAt(r)]>>>6-r%4*2,l=o|a;s[i>>>2]|=l<<24-i%4*8,i++}return m.create(s,i)}}(),e.enc.Base64url})})(encBase64url);var md5={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(f){var _=e,m=_.lib,A=m.WordArray,b=m.Hasher,d=_.algo,u=[];(function(){for(var a=0;a<64;a++)u[a]=f.abs(f.sin(a+1))*4294967296|0})();var n=d.MD5=b.extend({_doReset:function(){this._hash=new A.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(a,l){for(var h=0;h<16;h++){var p=l+h,w=a[p];a[p]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var v=this._hash.words,x=a[l+0],y=a[l+1],M=a[l+2],T=a[l+3],L=a[l+4],S=a[l+5],N=a[l+6],k=a[l+7],D=a[l+8],E=a[l+9],I=a[l+10],F=a[l+11],O=a[l+12],V=a[l+13],W=a[l+14],j=a[l+15],B=v[0],$=v[1],P=v[2],H=v[3];B=s(B,$,P,H,x,7,u[0]),H=s(H,B,$,P,y,12,u[1]),P=s(P,H,B,$,M,17,u[2]),$=s($,P,H,B,T,22,u[3]),B=s(B,$,P,H,L,7,u[4]),H=s(H,B,$,P,S,12,u[5]),P=s(P,H,B,$,N,17,u[6]),$=s($,P,H,B,k,22,u[7]),B=s(B,$,P,H,D,7,u[8]),H=s(H,B,$,P,E,12,u[9]),P=s(P,H,B,$,I,17,u[10]),$=s($,P,H,B,F,22,u[11]),B=s(B,$,P,H,O,7,u[12]),H=s(H,B,$,P,V,12,u[13]),P=s(P,H,B,$,W,17,u[14]),$=s($,P,H,B,j,22,u[15]),B=i(B,$,P,H,y,5,u[16]),H=i(H,B,$,P,N,9,u[17]),P=i(P,H,B,$,F,14,u[18]),$=i($,P,H,B,x,20,u[19]),B=i(B,$,P,H,S,5,u[20]),H=i(H,B,$,P,I,9,u[21]),P=i(P,H,B,$,j,14,u[22]),$=i($,P,H,B,L,20,u[23]),B=i(B,$,P,H,E,5,u[24]),H=i(H,B,$,P,W,9,u[25]),P=i(P,H,B,$,T,14,u[26]),$=i($,P,H,B,D,20,u[27]),B=i(B,$,P,H,V,5,u[28]),H=i(H,B,$,P,M,9,u[29]),P=i(P,H,B,$,k,14,u[30]),$=i($,P,H,B,O,20,u[31]),B=r(B,$,P,H,S,4,u[32]),H=r(H,B,$,P,D,11,u[33]),P=r(P,H,B,$,F,16,u[34]),$=r($,P,H,B,W,23,u[35]),B=r(B,$,P,H,y,4,u[36]),H=r(H,B,$,P,L,11,u[37]),P=r(P,H,B,$,k,16,u[38]),$=r($,P,H,B,I,23,u[39]),B=r(B,$,P,H,V,4,u[40]),H=r(H,B,$,P,x,11,u[41]),P=r(P,H,B,$,T,16,u[42]),$=r($,P,H,B,N,23,u[43]),B=r(B,$,P,H,E,4,u[44]),H=r(H,B,$,P,O,11,u[45]),P=r(P,H,B,$,j,16,u[46]),$=r($,P,H,B,M,23,u[47]),B=o(B,$,P,H,x,6,u[48]),H=o(H,B,$,P,k,10,u[49]),P=o(P,H,B,$,W,15,u[50]),$=o($,P,H,B,S,21,u[51]),B=o(B,$,P,H,O,6,u[52]),H=o(H,B,$,P,T,10,u[53]),P=o(P,H,B,$,I,15,u[54]),$=o($,P,H,B,y,21,u[55]),B=o(B,$,P,H,D,6,u[56]),H=o(H,B,$,P,j,10,u[57]),P=o(P,H,B,$,N,15,u[58]),$=o($,P,H,B,V,21,u[59]),B=o(B,$,P,H,L,6,u[60]),H=o(H,B,$,P,F,10,u[61]),P=o(P,H,B,$,M,15,u[62]),$=o($,P,H,B,E,21,u[63]),v[0]=v[0]+B|0,v[1]=v[1]+$|0,v[2]=v[2]+P|0,v[3]=v[3]+H|0},_doFinalize:function(){var a=this._data,l=a.words,h=this._nDataBytes*8,p=a.sigBytes*8;l[p>>>5]|=128<<24-p%32;var w=f.floor(h/4294967296),v=h;l[(p+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,l[(p+64>>>9<<4)+14]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,a.sigBytes=(l.length+1)*4,this._process();for(var x=this._hash,y=x.words,M=0;M<4;M++){var T=y[M];y[M]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return x},clone:function(){var a=b.clone.call(this);return a._hash=this._hash.clone(),a}});function s(a,l,h,p,w,v,x){var y=a+(l&h|~l&p)+w+x;return(y<<v|y>>>32-v)+l}function i(a,l,h,p,w,v,x){var y=a+(l&p|h&~p)+w+x;return(y<<v|y>>>32-v)+l}function r(a,l,h,p,w,v,x){var y=a+(l^h^p)+w+x;return(y<<v|y>>>32-v)+l}function o(a,l,h,p,w,v,x){var y=a+(h^(l|~p))+w+x;return(y<<v|y>>>32-v)+l}_.MD5=b._createHelper(n),_.HmacMD5=b._createHmacHelper(n)}(Math),e.MD5})})(md5);var sha1={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.lib,m=_.WordArray,A=_.Hasher,b=f.algo,d=[],u=b.SHA1=A.extend({_doReset:function(){this._hash=new m.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(n,s){for(var i=this._hash.words,r=i[0],o=i[1],a=i[2],l=i[3],h=i[4],p=0;p<80;p++){if(p<16)d[p]=n[s+p]|0;else{var w=d[p-3]^d[p-8]^d[p-14]^d[p-16];d[p]=w<<1|w>>>31}var v=(r<<5|r>>>27)+h+d[p];p<20?v+=(o&a|~o&l)+1518500249:p<40?v+=(o^a^l)+1859775393:p<60?v+=(o&a|o&l|a&l)-1894007588:v+=(o^a^l)-899497514,h=l,l=a,a=o<<30|o>>>2,o=r,r=v}i[0]=i[0]+r|0,i[1]=i[1]+o|0,i[2]=i[2]+a|0,i[3]=i[3]+l|0,i[4]=i[4]+h|0},_doFinalize:function(){var n=this._data,s=n.words,i=this._nDataBytes*8,r=n.sigBytes*8;return s[r>>>5]|=128<<24-r%32,s[(r+64>>>9<<4)+14]=Math.floor(i/4294967296),s[(r+64>>>9<<4)+15]=i,n.sigBytes=s.length*4,this._process(),this._hash},clone:function(){var n=A.clone.call(this);return n._hash=this._hash.clone(),n}});f.SHA1=A._createHelper(u),f.HmacSHA1=A._createHmacHelper(u)}(),e.SHA1})})(sha1);var sha256={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){return function(f){var _=e,m=_.lib,A=m.WordArray,b=m.Hasher,d=_.algo,u=[],n=[];(function(){function r(h){for(var p=f.sqrt(h),w=2;w<=p;w++)if(!(h%w))return!1;return!0}function o(h){return(h-(h|0))*4294967296|0}for(var a=2,l=0;l<64;)r(a)&&(l<8&&(u[l]=o(f.pow(a,1/2))),n[l]=o(f.pow(a,1/3)),l++),a++})();var s=[],i=d.SHA256=b.extend({_doReset:function(){this._hash=new A.init(u.slice(0))},_doProcessBlock:function(r,o){for(var a=this._hash.words,l=a[0],h=a[1],p=a[2],w=a[3],v=a[4],x=a[5],y=a[6],M=a[7],T=0;T<64;T++){if(T<16)s[T]=r[o+T]|0;else{var L=s[T-15],S=(L<<25|L>>>7)^(L<<14|L>>>18)^L>>>3,N=s[T-2],k=(N<<15|N>>>17)^(N<<13|N>>>19)^N>>>10;s[T]=S+s[T-7]+k+s[T-16]}var D=v&x^~v&y,E=l&h^l&p^h&p,I=(l<<30|l>>>2)^(l<<19|l>>>13)^(l<<10|l>>>22),F=(v<<26|v>>>6)^(v<<21|v>>>11)^(v<<7|v>>>25),O=M+F+D+n[T]+s[T],V=I+E;M=y,y=x,x=v,v=w+O|0,w=p,p=h,h=l,l=O+V|0}a[0]=a[0]+l|0,a[1]=a[1]+h|0,a[2]=a[2]+p|0,a[3]=a[3]+w|0,a[4]=a[4]+v|0,a[5]=a[5]+x|0,a[6]=a[6]+y|0,a[7]=a[7]+M|0},_doFinalize:function(){var r=this._data,o=r.words,a=this._nDataBytes*8,l=r.sigBytes*8;return o[l>>>5]|=128<<24-l%32,o[(l+64>>>9<<4)+14]=f.floor(a/4294967296),o[(l+64>>>9<<4)+15]=a,r.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var r=b.clone.call(this);return r._hash=this._hash.clone(),r}});_.SHA256=b._createHelper(i),_.HmacSHA256=b._createHmacHelper(i)}(Math),e.SHA256})})(sha256);var sha224={exports:{}};(function(t,g){(function(e,f,_){t.exports=f(core.exports,sha256.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.lib,m=_.WordArray,A=f.algo,b=A.SHA256,d=A.SHA224=b.extend({_doReset:function(){this._hash=new m.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=b._doFinalize.call(this);return u.sigBytes-=4,u}});f.SHA224=b._createHelper(d),f.HmacSHA224=b._createHmacHelper(d)}(),e.SHA224})})(sha224);var sha512={exports:{}};(function(t,g){(function(e,f,_){t.exports=f(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.lib,m=_.Hasher,A=f.x64,b=A.Word,d=A.WordArray,u=f.algo;function n(){return b.create.apply(b,arguments)}var s=[n(1116352408,3609767458),n(1899447441,602891725),n(3049323471,3964484399),n(3921009573,2173295548),n(961987163,4081628472),n(1508970993,3053834265),n(2453635748,2937671579),n(2870763221,3664609560),n(3624381080,2734883394),n(310598401,1164996542),n(607225278,1323610764),n(1426881987,3590304994),n(1925078388,4068182383),n(2162078206,991336113),n(2614888103,633803317),n(3248222580,3479774868),n(3835390401,2666613458),n(4022224774,944711139),n(264347078,2341262773),n(604807628,2007800933),n(770255983,1495990901),n(1249150122,1856431235),n(1555081692,3175218132),n(1996064986,2198950837),n(2554220882,3999719339),n(2821834349,766784016),n(2952996808,2566594879),n(3210313671,3203337956),n(3336571891,1034457026),n(3584528711,2466948901),n(113926993,3758326383),n(338241895,168717936),n(666307205,1188179964),n(773529912,1546045734),n(1294757372,1522805485),n(1396182291,2643833823),n(1695183700,2343527390),n(1986661051,1014477480),n(2177026350,1206759142),n(2456956037,344077627),n(2730485921,1290863460),n(2820302411,3158454273),n(3259730800,3505952657),n(3345764771,106217008),n(3516065817,3606008344),n(3600352804,1432725776),n(4094571909,1467031594),n(275423344,851169720),n(430227734,3100823752),n(506948616,1363258195),n(659060556,3750685593),n(883997877,3785050280),n(958139571,3318307427),n(1322822218,3812723403),n(1537002063,2003034995),n(1747873779,3602036899),n(1955562222,1575990012),n(2024104815,1125592928),n(2227730452,2716904306),n(2361852424,442776044),n(2428436474,593698344),n(2756734187,3733110249),n(3204031479,2999351573),n(3329325298,3815920427),n(3391569614,3928383900),n(3515267271,566280711),n(3940187606,3454069534),n(4118630271,4000239992),n(116418474,1914138554),n(174292421,2731055270),n(289380356,3203993006),n(460393269,320620315),n(685471733,587496836),n(852142971,1086792851),n(1017036298,365543100),n(1126000580,2618297676),n(1288033470,3409855158),n(1501505948,4234509866),n(1607167915,987167468),n(1816402316,1246189591)],i=[];(function(){for(var o=0;o<80;o++)i[o]=n()})();var r=u.SHA512=m.extend({_doReset:function(){this._hash=new d.init([new b.init(1779033703,4089235720),new b.init(3144134277,2227873595),new b.init(1013904242,4271175723),new b.init(2773480762,1595750129),new b.init(1359893119,2917565137),new b.init(2600822924,725511199),new b.init(528734635,4215389547),new b.init(1541459225,327033209)])},_doProcessBlock:function(o,a){for(var l=this._hash.words,h=l[0],p=l[1],w=l[2],v=l[3],x=l[4],y=l[5],M=l[6],T=l[7],L=h.high,S=h.low,N=p.high,k=p.low,D=w.high,E=w.low,I=v.high,F=v.low,O=x.high,V=x.low,W=y.high,j=y.low,B=M.high,$=M.low,P=T.high,H=T.low,G=L,U=S,q=N,Y=k,J=D,te=E,se=I,ge=F,me=O,ve=V,xe=W,Ve=j,Fe=B,oe=$,le=P,pe=H,fe=0;fe<80;fe++){var ue,Ce,Ee=i[fe];if(fe<16)Ce=Ee.high=o[a+fe*2]|0,ue=Ee.low=o[a+fe*2+1]|0;else{var Se=i[fe-15],Ke=Se.high,Ye=Se.low,Pe=(Ke>>>1|Ye<<31)^(Ke>>>8|Ye<<24)^Ke>>>7,Zt=(Ye>>>1|Ke<<31)^(Ye>>>8|Ke<<24)^(Ye>>>7|Ke<<25),$e=i[fe-2],et=$e.high,Pt=$e.low,Ti=(et>>>19|Pt<<13)^(et<<3|Pt>>>29)^et>>>6,gi=(P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:0),j=y.low=j+Ve,y.high=W+xe+(j>>>0<Ve>>>0?1:0),$=M.low=$+oe,M.high=B+Fe+($>>>0<oe>>>0?1:0),H=T.low=H+pe,T.high=P+le+(H>>>0<pe>>>0?1:0)},_doFinalize:function(){var o=this._data,a=o.words,l=this._nDataBytes*8,h=o.sigBytes*8;a[h>>>5]|=128<<24-h%32,a[(h+128>>>10<<5)+30]=Math.floor(l/4294967296),a[(h+128>>>10<<5)+31]=l,o.sigBytes=a.length*4,this._process();var p=this._hash.toX32();return p},clone:function(){var o=m.clone.call(this);return o._hash=this._hash.clone(),o},blockSize:1024/32});f.SHA512=m._createHelper(r),f.HmacSHA512=m._createHmacHelper(r)}(),e.SHA512})})(sha512);var sha384={exports:{}};(function(t,g){(function(e,f,_){t.exports=f(core.exports,x64Core.exports,sha512.exports)})(commonjsGlobal,function(e){return function(){var f=e,_=f.x64,m=_.Word,A=_.WordArray,b=f.algo,d=b.SHA512,u=b.SHA384=d.extend({_doReset:function(){this._hash=new A.init([new m.init(3418070365,3238371032),new m.init(1654270250,914150663),new m.init(2438529370,812702999),new m.init(355462360,4144912697),new m.init(1731405415,4290775857),new m.init(2394180231,1750603025),new m.init(3675008525,1694076839),new m.init(1203062813,3204075428)])},_doFinalize:function(){var n=d._doFinalize.call(this);return n.sigBytes-=16,n}});f.SHA384=d._createHelper(u),f.HmacSHA384=d._createHmacHelper(u)}(),e.SHA384})})(sha384);var sha3={exports:{}};(function(t,g){(function(e,f,_){t.exports=f(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(f){var _=e,m=_.lib,A=m.WordArray,b=m.Hasher,d=_.x64,u=d.Word,n=_.algo,s=[],i=[],r=[];(function(){for(var l=1,h=0,p=0;p<24;p++){s[l+5*h]=(p+1)*(p+2)/2%64;var w=h%5,v=(2*l+3*h)%5;l=w,h=v}for(var l=0;l<5;l++)for(var h=0;h<5;h++)i[l+5*h]=h+(2*l+3*h)%5*5;for(var x=1,y=0;y<24;y++){for(var M=0,T=0,L=0;L<7;L++){if(x&1){var S=(1<<L)-1;S<32?T^=1<<S:M^=1<<S-32}x&128?x=x<<1^113:x<<=1}r[y]=u.create(M,T)}})();var o=[];(function(){for(var l=0;l<25;l++)o[l]=u.create()})();var a=n.SHA3=b.extend({cfg:b.cfg.extend({outputLength:512}),_doReset:function(){for(var l=this._state=[],h=0;h<25;h++)l[h]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(l,h){for(var p=this._state,w=this.blockSize/2,v=0;v<w;v++){var x=l[h+2*v],y=l[h+2*v+1];x=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,y=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360;var M=p[v];M.high^=y,M.low^=x}for(var T=0;T<24;T++){for(var L=0;L<5;L++){for(var S=0,N=0,k=0;k<5;k++){var M=p[L+5*k];S^=M.high,N^=M.low}var D=o[L];D.high=S,D.low=N}for(var L=0;L<5;L++)for(var E=o[(L+4)%5],I=o[(L+1)%5],F=I.high,O=I.low,S=E.high^(F<<1|O>>>31),N=E.low^(O<<1|F>>>31),k=0;k<5;k++){var M=p[L+5*k];M.high^=S,M.low^=N}for(var V=1;V<25;V++){var S,N,M=p[V],W=M.high,j=M.low,B=s[V];B<32?(S=W<<B|j>>>32-B,N=j<<B|W>>>32-B):(S=j<<B-32|W>>>64-B,N=W<<B-32|j>>>64-B);var $=o[i[V]];$.high=S,$.low=N}var P=o[0],H=p[0];P.high=H.high,P.low=H.low;for(var L=0;L<5;L++)for(var k=0;k<5;k++){var V=L+5*k,M=p[V],G=o[V],U=o[(L+1)%5+5*k],q=o[(L+2)%5+5*k];M.high=G.high^~U.high&q.high,M.low=G.low^~U.low&q.low}var M=p[0],Y=r[T];M.high^=Y.high,M.low^=Y.low}},_doFinalize:function(){var l=this._data,h=l.words;this._nDataBytes*8;var p=l.sigBytes*8,w=this.blockSize*32;h[p>>>5]|=1<<24-p%32,h[(f.ceil((p+1)/w)*w>>>5)-1]|=128,l.sigBytes=h.length*4,this._process();for(var v=this._state,x=this.cfg.outputLength/8,y=x/8,M=[],T=0;T<y;T++){var L=v[T],S=L.high,N=L.low;S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,N=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360,M.push(N),M.push(S)}return new A.init(M,x)},clone:function(){for(var l=b.clone.call(this),h=l._state=this._state.slice(0),p=0;p<25;p++)h[p]=h[p].clone();return l}});_.SHA3=b._createHelper(a),_.HmacSHA3=b._createHmacHelper(a)}(Math),e.SHA3})})(sha3);var ripemd160={exports:{}};(function(t,g){(function(e,f){t.exports=f(core.exports)})(commonjsGlobal,function(e){/** @preserve
76
76
  (c) 2012 by Cédric Mesnil. All rights reserved.
77
77
 
78
78
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -1350,4 +1350,4 @@ e.setDisabled&&e.setDisabled(!1)}})},resetForm(){Object.keys(this.subFormRefList
1350
1350
  animation: none;
1351
1351
  }
1352
1352
  }
1353
- `,"autocompletion.css",!1),f.AcePopup=p,f.$singleLineEditor=h,f.getAriaId=r}),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],function(e,f,_){var m=function(){function A(b){this.editor=b,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return A.prototype.setScreenReaderContent=function(b){for(!this.popup&&this.editor.completer&&this.editor.completer.popup&&(this.popup=this.editor.completer.popup,this.popup.renderer.on("afterRender",function(){var u=this.popup.getRow(),n=this.popup.renderer.$textLayer,s=n.element.childNodes[u-n.config.firstRow];if(s){for(var i="doc-tooltip ",r=0;r<this._lines.length;r++)i+="ace-inline-screenreader-line-".concat(r," ");s.setAttribute("aria-describedby",i)}}.bind(this)));this.screenReaderDiv.firstChild;)this.screenReaderDiv.removeChild(this.screenReaderDiv.firstChild);this._lines=b.split(/\r\n|\r|\n/);var d=this.createCodeBlock();this.screenReaderDiv.appendChild(d)},A.prototype.destroy=function(){this.screenReaderDiv.remove()},A.prototype.createCodeBlock=function(){var b=document.createElement("pre");b.setAttribute("id","ace-inline-screenreader");for(var d=0;d<this._lines.length;d++){var u=document.createElement("code");u.setAttribute("id","ace-inline-screenreader-line-".concat(d));var n=document.createTextNode(this._lines[d]);u.appendChild(n),b.appendChild(u)}return b},A}();f.AceInlineScreenReader=m}),ace.define("ace/autocomplete/inline",["require","exports","module","ace/snippets","ace/autocomplete/inline_screenreader"],function(e,f,_){var m=e("../snippets").snippetManager,A=e("./inline_screenreader").AceInlineScreenReader,b=function(){function d(){this.editor=null}return d.prototype.show=function(u,n,s){if(s=s||"",u&&this.editor&&this.editor!==u&&(this.hide(),this.editor=null,this.inlineScreenReader=null),!u||!n)return!1;this.inlineScreenReader||(this.inlineScreenReader=new A(u));var i=n.snippet?m.getDisplayTextForSnippet(u,n.snippet):n.value;return n.hideInlinePreview||!i||!i.startsWith(s)?!1:(this.editor=u,this.inlineScreenReader.setScreenReaderContent(i),i=i.slice(s.length),i===""?u.removeGhostText():u.setGhostText(i),!0)},d.prototype.isOpen=function(){return this.editor?!!this.editor.renderer.$ghostText:!1},d.prototype.hide=function(){return this.editor?(this.editor.removeGhostText(),!0):!1},d.prototype.destroy=function(){this.hide(),this.editor=null,this.inlineScreenReader&&(this.inlineScreenReader.destroy(),this.inlineScreenReader=null)},d}();f.AceInline=b}),ace.define("ace/autocomplete/util",["require","exports","module"],function(e,f,_){f.parForEach=function(A,b,d){var u=0,n=A.length;n===0&&d();for(var s=0;s<n;s++)b(A[s],function(i,r){u++,u===n&&d(i,r)})};var m=/[a-zA-Z_0-9\$\-\u00A2-\u2000\u2070-\uFFFF]/;f.retrievePrecedingIdentifier=function(A,b,d){d=d||m;for(var u=[],n=b-1;n>=0&&d.test(A[n]);n--)u.push(A[n]);return u.reverse().join("")},f.retrieveFollowingIdentifier=function(A,b,d){d=d||m;for(var u=[],n=b;n<A.length&&d.test(A[n]);n++)u.push(A[n]);return u},f.getCompletionPrefix=function(A){var b=A.getCursorPosition(),d=A.session.getLine(b.row),u;return A.completers.forEach(function(n){n.identifierRegexps&&n.identifierRegexps.forEach(function(s){!u&&s&&(u=this.retrievePrecedingIdentifier(d,b.column,s))}.bind(this))}.bind(this)),u||this.retrievePrecedingIdentifier(d,b.column)},f.triggerAutocomplete=function(A,b){var b=b==null?A.session.getPrecedingCharacter():b;return A.completers.some(function(d){if(d.triggerCharacters&&Array.isArray(d.triggerCharacters))return d.triggerCharacters.includes(b)})}}),ace.define("ace/autocomplete",["require","exports","module","ace/keyboard/hash_handler","ace/autocomplete/popup","ace/autocomplete/inline","ace/autocomplete/popup","ace/autocomplete/util","ace/lib/lang","ace/lib/dom","ace/snippets","ace/config","ace/lib/event","ace/lib/scroll"],function(e,f,_){var m=e("./keyboard/hash_handler").HashHandler,A=e("./autocomplete/popup").AcePopup,b=e("./autocomplete/inline").AceInline,d=e("./autocomplete/popup").getAriaId,u=e("./autocomplete/util"),n=e("./lib/lang"),s=e("./lib/dom"),i=e("./snippets").snippetManager,r=e("./config"),o=e("./lib/event"),a=e("./lib/scroll").preventParentScroll,l=function(v,x){x.completer&&x.completer.destroy()},h=function(){function v(){this.autoInsert=!1,this.autoSelect=!0,this.autoShown=!1,this.exactMatch=!1,this.inlineEnabled=!1,this.keyboardHandler=new m,this.keyboardHandler.bindKeys(this.commands),this.parentNode=null,this.setSelectOnHover=!1,this.hasSeen=new Set,this.showLoadingState=!1,this.stickySelectionDelay=500,this.blurListener=this.blurListener.bind(this),this.changeListener=this.changeListener.bind(this),this.mousedownListener=this.mousedownListener.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this),this.onLayoutChange=this.onLayoutChange.bind(this),this.changeTimer=n.delayedCall(function(){this.updateCompletions(!0)}.bind(this)),this.tooltipTimer=n.delayedCall(this.updateDocTooltip.bind(this),50),this.popupTimer=n.delayedCall(this.$updatePopupPosition.bind(this),50),this.stickySelectionTimer=n.delayedCall(function(){this.stickySelection=!0}.bind(this),this.stickySelectionDelay),this.$firstOpenTimer=n.delayedCall(function(){var x=this.completionProvider&&this.completionProvider.initialPosition;this.autoShown||this.popup&&this.popup.isOpen||!x||this.editor.completers.length===0||(this.completions=new w(v.completionsForLoading),this.openPopup(this.editor,x.prefix,!1),this.popup.renderer.setStyle("ace_loading",!0))}.bind(this),this.stickySelectionDelay)}return Object.defineProperty(v,"completionsForLoading",{get:function(){return[{caption:r.nls("autocomplete.loading","Loading..."),value:""}]},enumerable:!1,configurable:!0}),v.prototype.$init=function(){return this.popup=new A(this.parentNode||document.body||document.documentElement),this.popup.on("click",function(x){this.insertMatch(),x.stop()}.bind(this)),this.popup.focus=this.editor.focus.bind(this.editor),this.popup.on("show",this.$onPopupShow.bind(this)),this.popup.on("hide",this.$onHidePopup.bind(this)),this.popup.on("select",this.$onPopupChange.bind(this)),o.addListener(this.popup.container,"mouseout",this.mouseOutListener.bind(this)),this.popup.on("changeHoverMarker",this.tooltipTimer.bind(null,null)),this.popup.renderer.on("afterRender",this.$onPopupRender.bind(this)),this.popup},v.prototype.$initInline=function(){if(!(!this.inlineEnabled||this.inlineRenderer))return this.inlineRenderer=new b,this.inlineRenderer},v.prototype.getPopup=function(){return this.popup||this.$init()},v.prototype.$onHidePopup=function(){this.inlineRenderer&&this.inlineRenderer.hide(),this.hideDocTooltip(),this.stickySelectionTimer.cancel(),this.popupTimer.cancel(),this.stickySelection=!1},v.prototype.$seen=function(x){!this.hasSeen.has(x)&&x&&x.completer&&x.completer.onSeen&&typeof x.completer.onSeen=="function"&&(x.completer.onSeen(this.editor,x),this.hasSeen.add(x))},v.prototype.$onPopupChange=function(x){if(this.inlineRenderer&&this.inlineEnabled){var y=x?null:this.popup.getData(this.popup.getRow());if(this.$updateGhostText(y),this.popup.isMouseOver&&this.setSelectOnHover){this.tooltipTimer.call(null,null);return}this.popupTimer.schedule(),this.tooltipTimer.schedule()}else this.popupTimer.call(null,null),this.tooltipTimer.call(null,null)},v.prototype.$updateGhostText=function(x){var y=this.base.row,M=this.base.column,T=this.editor.getCursorPosition().column,L=this.editor.session.getLine(y).slice(M,T);this.inlineRenderer.show(this.editor,x,L)?this.$seen(x):this.inlineRenderer.hide()},v.prototype.$onPopupRender=function(){var x=this.inlineRenderer&&this.inlineEnabled;if(this.completions&&this.completions.filtered&&this.completions.filtered.length>0)for(var y=this.popup.getFirstVisibleRow();y<=this.popup.getLastVisibleRow();y++){var M=this.popup.getData(y);M&&(!x||M.hideInlinePreview)&&this.$seen(M)}},v.prototype.$onPopupShow=function(x){this.$onPopupChange(x),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},v.prototype.observeLayoutChanges=function(){if(!(this.$elements||!this.editor)){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var x=this.editor.container.parentNode,y=[];x;)y.push(x),x.addEventListener("scroll",this.onLayoutChange,{passive:!0}),x=x.parentNode;this.$elements=y}},v.prototype.unObserveLayoutChanges=function(){var x=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach(function(y){y.removeEventListener("scroll",x.onLayoutChange,{passive:!0})}),this.$elements=null},v.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},v.prototype.$updatePopupPosition=function(){var x=this.editor,y=x.renderer,M=y.layerConfig.lineHeight,T=y.$cursorLayer.getPixelPosition(this.base,!0);T.left-=this.popup.getTextLeftOffset();var L=x.container.getBoundingClientRect();T.top+=L.top-y.layerConfig.offset,T.left+=L.left-x.renderer.scrollLeft,T.left+=y.gutterWidth;var S={top:T.top,left:T.left};y.$ghostText&&y.$ghostTextWidget&&this.base.row===y.$ghostText.position.row&&(S.top+=y.$ghostTextWidget.el.offsetHeight);var N=x.container.getBoundingClientRect().bottom-M,k=N<S.top?{top:N,left:S.left}:S;this.popup.tryShow(k,M,"bottom")||this.popup.tryShow(T,M,"top")||this.popup.show(T,M)},v.prototype.openPopup=function(x,y,M){this.$firstOpenTimer.cancel(),this.popup||this.$init(),this.inlineEnabled&&!this.inlineRenderer&&this.$initInline(),this.popup.autoSelect=this.autoSelect,this.popup.setSelectOnHover(this.setSelectOnHover);var T=this.popup.getRow(),L=this.popup.data[T];this.popup.setData(this.completions.filtered,this.completions.filterText),this.editor.textInput.setAriaOptions&&this.editor.textInput.setAriaOptions({activeDescendant:d(this.popup.getRow()),inline:this.inlineEnabled}),x.keyBinding.addKeyboardHandler(this.keyboardHandler);var S;this.stickySelection&&(S=this.popup.data.indexOf(L)),(!S||S===-1)&&(S=0),this.popup.setRow(this.autoSelect?S:-1),S===T&&L!==this.completions.filtered[S]&&this.$onPopupChange();var N=this.inlineRenderer&&this.inlineEnabled;if(S===T&&N){var k=this.popup.getData(this.popup.getRow());this.$updateGhostText(k)}M||(this.popup.setTheme(x.getTheme()),this.popup.setFontSize(x.getFontSize()),this.$updatePopupPosition(),this.tooltipNode&&this.updateDocTooltip()),this.changeTimer.cancel(),this.observeLayoutChanges()},v.prototype.detach=function(){this.editor&&(this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.off("changeSelection",this.changeListener),this.editor.off("blur",this.blurListener),this.editor.off("mousedown",this.mousedownListener),this.editor.off("mousewheel",this.mousewheelListener)),this.$firstOpenTimer.cancel(),this.changeTimer.cancel(),this.hideDocTooltip(),this.completionProvider&&this.completionProvider.detach(),this.popup&&this.popup.isOpen&&this.popup.hide(),this.popup&&this.popup.renderer&&this.popup.renderer.off("afterRender",this.$onPopupRender),this.base&&this.base.detach(),this.activated=!1,this.completionProvider=this.completions=this.base=null,this.unObserveLayoutChanges()},v.prototype.changeListener=function(x){var y=this.editor.selection.lead;(y.row!=this.base.row||y.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},v.prototype.blurListener=function(x){var y=document.activeElement,M=this.editor.textInput.getElement(),T=x.relatedTarget&&this.tooltipNode&&this.tooltipNode.contains(x.relatedTarget),L=this.popup&&this.popup.container;y!=M&&y.parentNode!=L&&!T&&y!=this.tooltipNode&&x.relatedTarget!=M&&this.detach()},v.prototype.mousedownListener=function(x){this.detach()},v.prototype.mousewheelListener=function(x){this.popup&&!this.popup.isMouseOver&&this.detach()},v.prototype.mouseOutListener=function(x){this.popup.isOpen&&this.$updatePopupPosition()},v.prototype.goTo=function(x){this.popup.goTo(x)},v.prototype.insertMatch=function(x,y){if(x||(x=this.popup.getData(this.popup.getRow())),!x)return!1;if(x.value==="")return this.detach();var M=this.completions,T=this.getCompletionProvider().insertMatch(this.editor,x,M.filterText,y);return this.completions==M&&this.detach(),T},v.prototype.showPopup=function(x,y){this.editor&&this.detach(),this.activated=!0,this.editor=x,x.completer!=this&&(x.completer&&x.completer.detach(),x.completer=this),x.on("changeSelection",this.changeListener),x.on("blur",this.blurListener),x.on("mousedown",this.mousedownListener),x.on("mousewheel",this.mousewheelListener),this.updateCompletions(!1,y)},v.prototype.getCompletionProvider=function(x){return this.completionProvider||(this.completionProvider=new p(x)),this.completionProvider},v.prototype.gatherCompletions=function(x,y){return this.getCompletionProvider().gatherCompletions(x,y)},v.prototype.updateCompletions=function(x,y){if(x&&this.base&&this.completions){var T=this.editor.getCursorPosition(),L=this.editor.session.getTextRange({start:this.base,end:T});if(L==this.completions.filterText)return;if(this.completions.setFilter(L),!this.completions.filtered.length)return this.detach();if(this.completions.filtered.length==1&&this.completions.filtered[0].value==L&&!this.completions.filtered[0].snippet)return this.detach();this.openPopup(this.editor,L,x);return}if(y&&y.matches){var T=this.editor.getSelectionRange().start;return this.base=this.editor.session.doc.createAnchor(T.row,T.column),this.base.$insertRight=!0,this.completions=new w(y.matches),this.getCompletionProvider().completions=this.completions,this.openPopup(this.editor,"",x)}var M=this.editor.getSession(),T=this.editor.getCursorPosition(),L=u.getCompletionPrefix(this.editor);this.base=M.doc.createAnchor(T.row,T.column-L.length),this.base.$insertRight=!0;var S={exactMatch:this.exactMatch,ignoreCaption:this.ignoreCaption};this.getCompletionProvider({prefix:L,pos:T}).provideCompletions(this.editor,S,function(N,k,D){var E=k.filtered,I=u.getCompletionPrefix(this.editor);if(this.$firstOpenTimer.cancel(),D){if(!E.length){var F=!this.autoShown&&this.emptyMessage;if(typeof F=="function"&&(F=this.emptyMessage(I)),F){var O=[{caption:F,value:""}];this.completions=new w(O),this.openPopup(this.editor,I,x),this.popup.renderer.setStyle("ace_loading",!1),this.popup.renderer.setStyle("ace_empty-message",!0);return}return this.detach()}if(E.length==1&&E[0].value==I&&!E[0].snippet)return this.detach();if(this.autoInsert&&!this.autoShown&&E.length==1)return this.insertMatch(E[0])}this.completions=!D&&this.showLoadingState?new w(v.completionsForLoading.concat(E),k.filterText):k,this.openPopup(this.editor,I,x),this.popup.renderer.setStyle("ace_empty-message",!1),this.popup.renderer.setStyle("ace_loading",!D)}.bind(this)),this.showLoadingState&&!this.autoShown&&(!this.popup||!this.popup.isOpen)&&this.$firstOpenTimer.delay(this.stickySelectionDelay/2)},v.prototype.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},v.prototype.updateDocTooltip=function(){var x=this.popup,y=this.completions&&this.completions.filtered,M=y&&(y[x.getHoveredRow()]||y[x.getRow()]),T=null;if(!M||!this.editor||!this.popup.isOpen)return this.hideDocTooltip();for(var L=this.editor.completers.length,S=0;S<L;S++){var N=this.editor.completers[S];if(N.getDocTooltip&&M.completerId===N.id){T=N.getDocTooltip(M);break}}if(!T&&typeof M!="string"&&(T=M),typeof T=="string"&&(T={docText:T}),!T||!T.docHTML&&!T.docText)return this.hideDocTooltip();this.showDocTooltip(T)},v.prototype.showDocTooltip=function(x){this.tooltipNode||(this.tooltipNode=s.createElement("div"),this.tooltipNode.style.margin="0",this.tooltipNode.style.pointerEvents="auto",this.tooltipNode.style.overscrollBehavior="contain",this.tooltipNode.tabIndex=-1,this.tooltipNode.onblur=this.blurListener.bind(this),this.tooltipNode.onclick=this.onTooltipClick.bind(this),this.tooltipNode.id="doc-tooltip",this.tooltipNode.setAttribute("role","tooltip"),this.tooltipNode.addEventListener("wheel",a));var y=this.editor.renderer.theme;this.tooltipNode.className="ace_tooltip ace_doc-tooltip "+(y.isDark?"ace_dark ":"")+(y.cssClass||"");var M=this.tooltipNode;x.docHTML?M.innerHTML=x.docHTML:x.docText&&(M.textContent=x.docText),M.parentNode||this.popup.container.appendChild(this.tooltipNode);var T=this.popup,L=T.container.getBoundingClientRect(),S=400,N=300,k=T.renderer.scrollBar.width||10,D=L.left,E=window.innerWidth-L.right-k,I=T.isTopdown?L.top:window.innerHeight-k-L.bottom,F=[Math.min(E/S,1),Math.min(D/S,1),Math.min(I/N*.9)],O=Math.max.apply(Math,F),V=M.style;V.display="block",O==F[0]?(V.left=L.right+1+"px",V.right="",V.maxWidth=S*O+"px",V.top=L.top+"px",V.bottom="",V.maxHeight=Math.min(window.innerHeight-k-L.top,N)+"px"):O==F[1]?(V.right=window.innerWidth-L.left+"px",V.left="",V.maxWidth=S*O+"px",V.top=L.top+"px",V.bottom="",V.maxHeight=Math.min(window.innerHeight-k-L.top,N)+"px"):O==F[2]&&(V.left=window.innerWidth-L.left+"px",V.maxWidth=Math.min(S,window.innerWidth)+"px",T.isTopdown?(V.top=L.bottom+"px",V.left=L.left+"px",V.right="",V.bottom="",V.maxHeight=Math.min(window.innerHeight-k-L.bottom,N)+"px"):(V.top=T.container.offsetTop-M.offsetHeight+"px",V.left=L.left+"px",V.right="",V.bottom="",V.maxHeight=Math.min(T.container.offsetTop,N)+"px"))},v.prototype.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),!!this.tooltipNode){var x=this.tooltipNode;!this.editor.isFocused()&&document.activeElement==x&&this.editor.focus(),this.tooltipNode=null,x.parentNode&&x.parentNode.removeChild(x)}},v.prototype.onTooltipClick=function(x){for(var y=x.target;y&&y!=this.tooltipNode;){if(y.nodeName=="A"&&y.href){y.rel="noreferrer",y.target="_blank";break}y=y.parentNode}},v.prototype.destroy=function(){if(this.detach(),this.popup){this.popup.destroy();var x=this.popup.container;x&&x.parentNode&&x.parentNode.removeChild(x)}this.editor&&this.editor.completer==this&&(this.editor.off("destroy",l),this.editor.completer=null),this.inlineRenderer=this.popup=this.editor=null},v.for=function(x){return x.completer instanceof v||(x.completer&&(x.completer.destroy(),x.completer=null),r.get("sharedPopups")?(v.$sharedInstance||(v.$sharedInstance=new v),x.completer=v.$sharedInstance):(x.completer=new v,x.once("destroy",l))),x.completer},v}();h.prototype.commands={Up:function(v){v.completer.goTo("up")},Down:function(v){v.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(v){v.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(v){v.completer.goTo("end")},Esc:function(v){v.completer.detach()},Return:function(v){return v.completer.insertMatch()},"Shift-Return":function(v){v.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(v){var x=v.completer.insertMatch();if(!!x||!!v.tabstopManager)return x;v.completer.goTo("down")},Backspace:function(v){v.execCommand("backspace");var x=u.getCompletionPrefix(v);!x&&v.completer&&v.completer.detach()},PageUp:function(v){v.completer.popup.gotoPageUp()},PageDown:function(v){v.completer.popup.gotoPageDown()}},h.startCommand={name:"startAutocomplete",exec:function(v,x){var y=h.for(v);y.autoInsert=!1,y.autoSelect=!0,y.autoShown=!1,y.showPopup(v,x),y.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var p=function(){function v(x){this.initialPosition=x,this.active=!0}return v.prototype.insertByIndex=function(x,y,M){return!this.completions||!this.completions.filtered?!1:this.insertMatch(x,this.completions.filtered[y],M)},v.prototype.insertMatch=function(x,y,M){if(!y)return!1;if(x.startOperation({command:{name:"insertMatch"}}),y.completer&&y.completer.insertMatch)y.completer.insertMatch(x,y);else{if(!this.completions)return!1;var T=this.completions.filterText.length,L=0;if(y.range&&y.range.start.row===y.range.end.row&&(T-=this.initialPosition.prefix.length,T+=this.initialPosition.pos.column-y.range.start.column,L+=y.range.end.column-this.initialPosition.pos.column),T||L){var S;x.selection.getAllRanges?S=x.selection.getAllRanges():S=[x.getSelectionRange()];for(var N=0,k;k=S[N];N++)k.start.column-=T,k.end.column+=L,x.session.remove(k)}y.snippet?i.insertSnippet(x,y.snippet):this.$insertString(x,y),y.completer&&y.completer.onInsert&&typeof y.completer.onInsert=="function"&&y.completer.onInsert(x,y),y.command&&y.command==="startAutocomplete"&&x.execCommand(y.command)}return x.endOperation(),!0},v.prototype.$insertString=function(x,y){var M=y.value||y;x.execCommand("insertstring",M)},v.prototype.gatherCompletions=function(x,y){var M=x.getSession(),T=x.getCursorPosition(),L=u.getCompletionPrefix(x),S=[];this.completers=x.completers;var N=x.completers.length;return x.completers.forEach(function(k,D){k.getCompletions(x,M,T,L,function(E,I){k.hideInlinePreview&&(I=I.map(function(F){return Object.assign(F,{hideInlinePreview:k.hideInlinePreview})})),!E&&I&&(S=S.concat(I)),y(null,{prefix:u.getCompletionPrefix(x),matches:S,finished:--N==0})})}),!0},v.prototype.provideCompletions=function(x,y,M){var T=function(k){var D=k.prefix,E=k.matches;this.completions=new w(E),y.exactMatch&&(this.completions.exactMatch=!0),y.ignoreCaption&&(this.completions.ignoreCaption=!0),this.completions.setFilter(D),(k.finished||this.completions.filtered.length)&&M(null,this.completions,k.finished)}.bind(this),L=!0,S=null;if(this.gatherCompletions(x,function(k,D){if(!!this.active){k&&(M(k,[],!0),this.detach());var E=D.prefix;if(E.indexOf(D.prefix)===0){if(L){S=D;return}T(D)}}}.bind(this)),L=!1,S){var N=S;S=null,T(N)}},v.prototype.detach=function(){this.active=!1,this.completers&&this.completers.forEach(function(x){typeof x.cancel=="function"&&x.cancel()})},v}(),w=function(){function v(x,y){this.all=x,this.filtered=x,this.filterText=y||"",this.exactMatch=!1,this.ignoreCaption=!1}return v.prototype.setFilter=function(x){if(x.length>this.filterText&&x.lastIndexOf(this.filterText,0)===0)var y=this.filtered;else var y=this.all;this.filterText=x,y=this.filterCompletions(y,this.filterText),y=y.sort(function(T,L){return L.exactMatch-T.exactMatch||L.$score-T.$score||(T.caption||T.value).localeCompare(L.caption||L.value)});var M=null;y=y.filter(function(T){var L=T.snippet||T.caption||T.value;return L===M?!1:(M=L,!0)}),this.filtered=y},v.prototype.filterCompletions=function(x,y){var M=[],T=y.toUpperCase(),L=y.toLowerCase();e:for(var S=0,N;N=x[S];S++){if(N.skipFilter){N.$score=N.score,M.push(N);continue}var k=!this.ignoreCaption&&N.caption||N.value||N.snippet;if(!!k){var D=-1,E=0,I=0,F,O;if(this.exactMatch){if(y!==k.substr(0,y.length))continue e}else{var V=k.toLowerCase().indexOf(L);if(V>-1)I=V;else for(var W=0;W<y.length;W++){var j=k.indexOf(L[W],D+1),B=k.indexOf(T[W],D+1);if(F=j>=0&&(B<0||j<B)?j:B,F<0)continue e;O=F-D-1,O>0&&(D===-1&&(I+=10),I+=O,E|=1<<W),D=F}}N.matchMask=E,N.exactMatch=I?0:1,N.$score=(N.score||0)-I,M.push(N)}}return M},v}();f.Autocomplete=h,f.CompletionProvider=p,f.FilteredList=w}),ace.define("ace/marker_group",["require","exports","module"],function(e,f,_){var m=function(){function A(b,d){d&&(this.markerType=d.markerType),this.markers=[],this.session=b,b.addDynamicMarker(this)}return A.prototype.getMarkerAtPosition=function(b){return this.markers.find(function(d){return d.range.contains(b.row,b.column)})},A.prototype.markersComparator=function(b,d){return b.range.start.row-d.range.start.row},A.prototype.setMarkers=function(b){this.markers=b.sort(this.markersComparator).slice(0,this.MAX_MARKERS),this.session._signal("changeBackMarker")},A.prototype.update=function(b,d,u,n){if(!(!this.markers||!this.markers.length))for(var s=n.firstRow,i=n.lastRow,r,o=0,a=0,l=0;l<this.markers.length;l++){var h=this.markers[l];if(!(h.range.end.row<s)&&!(h.range.start.row>i)&&(h.range.start.row===a?o++:(a=h.range.start.row,o=0),!(o>200))){var p=h.range.clipRows(s,i);if(!(p.start.row===p.end.row&&p.start.column===p.end.column)){var w=p.toScreenRange(u);if(w.isEmpty()){r=u.getNextFoldLine(p.end.row,r),r&&r.end.row>p.end.row&&(s=r.end.row);continue}this.markerType==="fullLine"?d.drawFullLineMarker(b,w,h.className,n):w.isMultiLine()?this.markerType==="line"?d.drawMultiLineMarker(b,w,h.className,n):d.drawTextMarker(b,w,h.className,n):d.drawSingleLineMarker(b,w,h.className+" ace_br15",n)}}}},A}();m.prototype.MAX_MARKERS=1e4,f.MarkerGroup=m}),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],function(e,f,_){function m(u,n){var s=u.getTextRange(b.fromPoints({row:0,column:0},n));return s.split(d).length-1}function A(u,n){var s=m(u,n),i=u.getValue().split(d),r=Object.create(null),o=i[s];return i.forEach(function(a,l){if(!(!a||a===o)){var h=Math.abs(s-l),p=i.length-h;r[a]?r[a]=Math.max(p,r[a]):r[a]=p}}),r}var b=e("../range").Range,d=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;f.getCompletions=function(u,n,s,i,r){var o=A(n,s),a=Object.keys(o);r(null,a.map(function(l){return{caption:l,value:l,score:o[l],meta:"local"}}))}}),ace.define("ace/ext/language_tools",["require","exports","module","ace/snippets","ace/autocomplete","ace/config","ace/lib/lang","ace/autocomplete/util","ace/marker_group","ace/autocomplete/text_completer","ace/editor","ace/config"],function(e,f,_){var m=e("../snippets").snippetManager,A=e("../autocomplete").Autocomplete,b=e("../config"),d=e("../lib/lang"),u=e("../autocomplete/util"),n=e("../marker_group").MarkerGroup,s=e("../autocomplete/text_completer"),i={getCompletions:function(L,S,N,k,D){if(S.$mode.completer)return S.$mode.completer.getCompletions(L,S,N,k,D);var E=L.session.getState(N.row),I=S.$mode.getCompletions(E,S,N,k);I=I.map(function(F){return F.completerId=i.id,F}),D(null,I)},id:"keywordCompleter"},r=function(L){var S={};return L.replace(/\${(\d+)(:(.*?))?}/g,function(N,k,D,E){return S[k]=E||""}).replace(/\$(\d+?)/g,function(N,k){return S[k]})},o={getCompletions:function(L,S,N,k,D){var E=[],I=S.getTokenAt(N.row,N.column);I&&I.type.match(/(tag-name|tag-open|tag-whitespace|attribute-name|attribute-value)\.xml$/)?E.push("html-tag"):E=m.getActiveScopes(L);var F=m.snippetMap,O=[];E.forEach(function(V){for(var W=F[V]||[],j=W.length;j--;){var B=W[j],$=B.name||B.tabTrigger;!$||O.push({caption:$,snippet:B.content,meta:B.tabTrigger&&!B.name?B.tabTrigger+"\u21E5 ":"snippet",completerId:o.id})}},this),D(null,O)},getDocTooltip:function(L){L.snippet&&!L.docHTML&&(L.docHTML=["<b>",d.escapeHTML(L.caption),"</b>","<hr></hr>",d.escapeHTML(r(L.snippet))].join(""))},id:"snippetCompleter"},a=[o,s,i];f.setCompleters=function(L){a.length=0,L&&a.push.apply(a,L)},f.addCompleter=function(L){a.push(L)},f.textCompleter=s,f.keyWordCompleter=i,f.snippetCompleter=o;var l={name:"expandSnippet",exec:function(L){return m.expandWithTab(L)},bindKey:"Tab"},h=function(L,S){p(S.session.$mode)},p=function(L){typeof L=="string"&&(L=b.$modes[L]),!!L&&(m.files||(m.files={}),w(L.$id,L.snippetFileId),L.modes&&L.modes.forEach(p))},w=function(L,S){!S||!L||m.files[L]||(m.files[L]={},b.loadModule(S,function(N){!N||(m.files[L]=N,!N.snippets&&N.snippetText&&(N.snippets=m.parseSnippetFile(N.snippetText)),m.register(N.snippets||[],N.scope),N.includeScopes&&(m.snippetMap[N.scope].includeScopes=N.includeScopes,N.includeScopes.forEach(function(k){p("ace/mode/"+k)})))}))},v=function(L){var S=L.editor,N=S.completer&&S.completer.activated;if(L.command.name==="backspace")N&&!u.getCompletionPrefix(S)&&S.completer.detach();else if(L.command.name==="insertstring"&&!N){x=L;var k=L.editor.$liveAutocompletionDelay;k?y.delay(k):M(L)}},x,y=d.delayedCall(function(){M(x)},0),M=function(L){var S=L.editor,N=u.getCompletionPrefix(S),k=L.args,D=u.triggerAutocomplete(S,k);if(N&&N.length>=S.$liveAutocompletionThreshold||D){var E=A.for(S);E.autoShown=!0,E.showPopup(S)}},T=e("../editor").Editor;e("../config").defineOptions(T.prototype,"editor",{enableBasicAutocompletion:{set:function(L){L?(A.for(this),this.completers||(this.completers=Array.isArray(L)?L:a),this.commands.addCommand(A.startCommand)):this.commands.removeCommand(A.startCommand)},value:!1},enableLiveAutocompletion:{set:function(L){L?(this.completers||(this.completers=Array.isArray(L)?L:a),this.commands.on("afterExec",v)):this.commands.off("afterExec",v)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(L){L?(this.commands.addCommand(l),this.on("changeMode",h),h(null,this)):(this.commands.removeCommand(l),this.off("changeMode",h))},value:!1}}),f.MarkerGroup=n}),function(){ace.require(["ace/ext/language_tools"],function(e){t&&(t.exports=e)})}()})(extLanguage_tools);var index_vue_vue_type_style_index_0_scoped_true_lang$6="";const _sfc_main$l={name:"CodeEditor",props:{modelValue:{type:String},readonly:{type:Boolean,default:!1},mode:{type:String,default:"javascript"},userWorker:{type:Boolean,default:!0}},emits:["update:modelValue"],mounted(){ace$1.config.set("basePath",ACE_BASE_PATH),this.addAutoCompletion(ace$1),this.aceEditor=ace$1.edit(this.$refs.ace,{maxLines:20,minLines:5,fontSize:12,theme:this.themePath,mode:this.modePath,tabSize:2,readOnly:this.readonly,highlightActiveLine:!0,value:this.codeValue}),this.aceEditor.setOptions({enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0}),this.mode==="json"?this.setJsonMode():this.mode==="css"&&this.setCssMode(),this.userWorker||this.aceEditor.getSession().setUseWorker(!1),this.aceEditor.getSession().on("change",t=>{this.$emit("update:modelValue",this.aceEditor.getValue())})},data(){return{aceEditor:null,themePath:"ace/theme/sqlserver",modePath:"ace/mode/javascript",codeValue:this.modelValue}},watch:{},methods:{addAutoCompletion(t){let g=[{meta:"VForm API",caption:"getWidgetRef",value:"getWidgetRef()",score:1},{meta:"VForm API",caption:"getFormRef",value:"getFormRef()",score:1}];t.require("ace/ext/language_tools").addCompleter({getCompletions:function(f,_,m,A,b){return A.length===0?b(null,[]):b(null,g)}})},setJsonMode(){this.aceEditor.getSession().setMode("ace/mode/json")},setCssMode(){this.aceEditor.getSession().setMode("ace/mode/css")},getEditorAnnotations(){return this.aceEditor.getSession().getAnnotations()},setValue(t){this.aceEditor.getSession().setValue(t)}}},_hoisted_1$e={class:"ace-container"},_hoisted_2$b={class:"ace-editor",ref:"ace"};function _sfc_render$l(t,g,e,f,_,m){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$e,[vue.createElementVNode("div",_hoisted_2$b,null,512)])}var CodeEditor=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$l],["__scopeId","data-v-335e1214"]]),subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$k={name:"sub-table-columns-editor",mixins:[i18n$1],components:{CodeEditor},props:{designer:Object,selectedWidget:Object,optionModel:Object},data(){return{showColumnEventDialog:!1,currentEventName:"",currentColumn:null,columnEventHandlerCode:"",eventHeader:"",fieldValidators:[{value:"number",label:this.i18nt("designer.hint.numberValidator")},{value:"letter",label:this.i18nt("designer.hint.letterValidator")},{value:"letterAndNumber",label:this.i18nt("designer.hint.letterAndNumberValidator")},{value:"mobilePhone",label:this.i18nt("designer.hint.mobilePhoneValidator")},{value:"email",label:this.i18nt("designer.hint.emailValidator")},{value:"url",label:this.i18nt("designer.hint.urlValidator")},{value:"noChinese",label:this.i18nt("designer.hint.noChineseValidator")},{value:"chinese",label:this.i18nt("designer.hint.chineseValidator")},{value:"maxLen12Decimals6",label:this.i18nt("designer.hint.maxLen12Decimals6Validator")},{value:"isPositiveIntegerLength",label:this.i18nt("designer.hint.isPositiveIntegerLengthValidator")},{value:"isPositiveIntegerZero",label:this.i18nt("designer.hint.isPositiveIntegerZeroValidator")},{value:"maxLen10Decimals2",label:this.i18nt("designer.hint.maxLen10Decimals2Validator")},{value:"maxLen12Decimals2",label:this.i18nt("designer.hint.maxLen12Decimals2Validator")},{value:"latitude",label:this.i18nt("designer.hint.latitude")},{value:"longitude",label:this.i18nt("designer.hint.longitude")},{value:"sixFigures",label:this.i18nt("designer.hint.sixFigures")},{value:"percentage",label:this.i18nt("designer.hint.percentage")}]}},created(){this.optionModel.columns||(this.optionModel.columns=[])},methods:{isTextColumn(t){return!t.type||t.type==="input"||t.type==="textarea"},handleMaxLengthInput(t,g){!g||isNaN(g)?(t.maxLength=null,t.showWordLimit=!1):t.maxLength=Number(g)},addNewColumn(){this.optionModel.columns||(this.optionModel.columns=[]);const t={prop:"field"+(this.optionModel.columns.length+1),label:"\u5217"+(this.optionModel.columns.length+1),type:"input",width:"",minWidth:"",placeholder:"",maxLength:null,showWordLimit:!1,required:!1,validation:"",validationHint:"",defaultValue:""};this.optionModel.columns.push(t),this.designer.saveCurrentHistoryStep()},deleteColumn(t){this.optionModel.columns.splice(t,1),this.designer.saveCurrentHistoryStep()},handleColumnChange(){this.designer.saveCurrentHistoryStep()},handleValidationChange(t){t.validation||(t.validationHint=""),this.handleColumnChange()},handleSelectOptionsChange(t,g){try{if(g&&g.trim()){const e=JSON.parse(g);Array.isArray(e)?t.options=e:t.options=[]}else t.options=[]}catch(e){console.warn("\u9009\u9879\u6570\u636E\u683C\u5F0F\u9519\u8BEF:",e)}this.designer.saveCurrentHistoryStep()},loadDictOptionsForColumn(t){if(!t.dictCode||!t.dictCode.trim())return;const g=t.dictCode.trim();t._loadingDict=!0;try{let e=null;if(typeof window!="undefined"&&window.getDictData){const f=window.getDictData(g);if(f&&Array.isArray(f)&&f.length>0){t.options=f.map(_=>({label:_.dictLabel||_.label||_.name||_.text||"",value:_.dictValue||_.value||_.code||_.value||_.itemValue||"",disabled:_.disabled||!1})),t.optionsText=JSON.stringify(t.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),t._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.dictCache&&window.dictCache[g]){const f=window.dictCache[g];if(Array.isArray(f)&&f.length>0){t.options=f.map(_=>({label:_.dictLabel||_.label||_.name||_.text||"",value:_.dictValue||_.value||_.code||_.value||_.itemValue||"",disabled:_.disabled||!1})),t.optionsText=JSON.stringify(t.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),t._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.service){window.service.post("/unified-dict/sysItemDict/page",{current:1,size:1e4,dictType:g}).then(({data:f})=>{t._loadingDict=!1;const _=(f==null?void 0:f.records)||(f==null?void 0:f.data)||f||[];if(Array.isArray(_)&&_.length>0){const m=_.filter(A=>A.dictType===g);m.length>0?(t.options=m.map(A=>({label:A.dictLabel||A.label||A.name||A.text||"",value:A.dictValue||A.value||A.code||A.value||A.itemValue||"",disabled:A.disabled||!1})),t.optionsText=JSON.stringify(t.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u52A0\u8F7D\u9009\u9879\u6210\u529F"),this.designer.saveCurrentHistoryStep()):this.$message.warning(`\u672A\u627E\u5230\u5B57\u5178\u7C7B\u578B\u4E3A "${g}" \u7684\u6570\u636E`)}else this.$message.warning("\u5B57\u5178\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E")}).catch(f=>{t._loadingDict=!1,console.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25:",f),this.$message.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u5B57\u5178CODE\u662F\u5426\u6B63\u786E")});return}this.$message.warning("\u672A\u627E\u5230\u5B57\u5178\u7F13\u5B58\uFF0C\u8BF7\u786E\u4FDD\u5B57\u5178CODE\u6B63\u786E\u6216\u5B57\u5178\u5DF2\u52A0\u8F7D")}catch(e){console.error("\u52A0\u8F7D\u5B57\u5178\u6570\u636E\u5931\u8D25:",e),this.$message.error("\u52A0\u8F7D\u5B57\u5178\u6570\u636E\u5931\u8D25: "+e.message)}finally{t._loadingDict=!1}},editColumnEventHandler(t,g,e){this.currentColumn=t,this.currentEventName=g,this.eventHeader=`${t.label||t.prop}.${g}(${e.join(", ")}) {`,this.columnEventHandlerCode=t[g]||"",this.showColumnEventDialog=!0},saveColumnEventHandler(){if(!(!this.currentColumn||!this.currentEventName)){if(this.$refs.columnEventEditor){const t=this.$refs.columnEventEditor.getEditorAnnotations();let g=!1;if(t&&t.length>0&&(t.forEach(e=>{e.type==="error"&&(g=!0)}),g)){this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));return}}this.currentColumn[this.currentEventName]=this.columnEventHandlerCode,this.designer.saveCurrentHistoryStep(),this.showColumnEventDialog=!1,this.$message.success("\u4E8B\u4EF6\u4FDD\u5B58\u6210\u529F")}}}},_hoisted_1$d={class:"column-header"},_hoisted_2$a={class:"column-title"},_hoisted_3$8={class:"column-form"},_hoisted_4$7={class:"dialog-footer"};function _sfc_render$k(t,g,e,f,_,m){const A=vue.resolveComponent("el-divider"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-button"),u=vue.resolveComponent("el-input"),n=vue.resolveComponent("el-option"),s=vue.resolveComponent("el-select"),i=vue.resolveComponent("el-switch"),r=vue.resolveComponent("el-input-number"),o=vue.resolveComponent("el-alert"),a=vue.resolveComponent("code-editor"),l=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",null,[vue.createVNode(b,{"label-width":"0"},{default:vue.withCtx(()=>[vue.createVNode(A,{class:"custom-divider"},{default:vue.withCtx(()=>[...g[3]||(g[3]=[vue.createTextVNode("\u8868\u683C\u5217\u914D\u7F6E",-1)])]),_:1})]),_:1}),vue.createVNode(b,{"label-width":"0"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(h,p)=>(vue.openBlock(),vue.createElementBlock("div",{key:p,class:"column-item"},[vue.createElementVNode("div",_hoisted_1$d,[vue.createElementVNode("span",_hoisted_2$a,"\u5217 "+vue.toDisplayString(p+1),1),vue.createVNode(d,{circle:"",plain:"",size:"small",type:"danger",onClick:w=>m.deleteColumn(p),icon:"el-icon-minus",class:"column-delete-button"},null,8,["onClick"])]),vue.createElementVNode("div",_hoisted_3$8,[vue.createVNode(b,{label:"\u5217\u540D"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.label,"onUpdate:modelValue":w=>h.label=w,placeholder:"\u8BF7\u8F93\u5165\u5217\u540D",onInput:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5B57\u6BB5\u540D"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.prop,"onUpdate:modelValue":w=>h.prop=w,placeholder:"\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D\uFF08\u82F1\u6587\uFF09",onInput:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5217\u7C7B\u578B"},{default:vue.withCtx(()=>[vue.createVNode(s,{modelValue:h.type,"onUpdate:modelValue":w=>h.type=w,placeholder:"\u8BF7\u9009\u62E9\u5217\u7C7B\u578B",onChange:m.handleColumnChange,style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(n,{label:"\u6587\u672C\u8F93\u5165",value:"input"}),vue.createVNode(n,{label:"\u6570\u5B57\u8F93\u5165",value:"number"}),vue.createVNode(n,{label:"\u65E5\u671F\u9009\u62E9",value:"date"}),vue.createVNode(n,{label:"\u6708\u4EFD\u9009\u62E9",value:"month"}),vue.createVNode(n,{label:"\u65E5\u671F\u65F6\u95F4",value:"datetime"}),vue.createVNode(n,{label:"\u4E0B\u62C9\u9009\u62E9",value:"select"}),vue.createVNode(n,{label:"\u591A\u884C\u6587\u672C",value:"textarea"})]),_:1},8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),h.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:0,label:"\u5B57\u5178CODE"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.dictCode,"onUpdate:modelValue":w=>h.dictCode=w,placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178CODE\uFF0C\u5C06\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879",onBlur:w=>m.loadDictOptionsForColumn(h),clearable:""},{append:vue.withCtx(()=>[vue.createVNode(d,{onClick:w=>m.loadDictOptionsForColumn(h),loading:h._loadingDict},{default:vue.withCtx(()=>[...g[4]||(g[4]=[vue.createTextVNode("\u52A0\u8F7D",-1)])]),_:1},8,["onClick","loading"])]),_:2},1032,["modelValue","onUpdate:modelValue","onBlur"]),g[5]||(g[5]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},' \u586B\u5199\u5B57\u5178CODE\u540E\uFF0C\u70B9\u51FB"\u52A0\u8F7D"\u6309\u94AE\u6216\u5931\u7126\u65F6\u81EA\u52A8\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879\u6570\u636E ',-1))]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(b,{label:"\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.width,"onUpdate:modelValue":w=>h.width=w,placeholder:"\u5982\uFF1A150\uFF08\u53EF\u9009\uFF09",onInput:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u6700\u5C0F\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.minWidth,"onUpdate:modelValue":w=>h.minWidth=w,placeholder:"\u5982\uFF1A100\uFF08\u53EF\u9009\uFF09",onInput:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5360\u4F4D\u7B26"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.placeholder,"onUpdate:modelValue":w=>h.placeholder=w,placeholder:"\u8BF7\u8F93\u5165\u5360\u4F4D\u7B26\uFF08\u53EF\u9009\uFF09",onInput:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),m.isTextColumn(h)?(vue.openBlock(),vue.createBlock(b,{key:1,label:t.i18nt("designer.setting.maxLength")},{default:vue.withCtx(()=>[vue.createVNode(u,{type:"number",class:"hide-spin-button",min:"1","model-value":h.maxLength,placeholder:"\u4E0D\u9650",onInput:w=>m.handleMaxLengthInput(h,w),onChange:m.handleColumnChange},null,8,["model-value","onInput","onChange"])]),_:2},1032,["label"])):vue.createCommentVNode("",!0),m.isTextColumn(h)&&h.maxLength?(vue.openBlock(),vue.createBlock(b,{key:2,label:t.i18nt("designer.setting.showWordLimit")},{default:vue.withCtx(()=>[vue.createVNode(i,{modelValue:h.showWordLimit,"onUpdate:modelValue":w=>h.showWordLimit=w,onChange:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1032,["label"])):vue.createCommentVNode("",!0),vue.createVNode(b,{label:"\u662F\u5426\u5FC5\u586B"},{default:vue.withCtx(()=>[vue.createVNode(i,{modelValue:h.required,"onUpdate:modelValue":w=>h.required=w,onChange:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),vue.createVNode(b,{label:"\u6821\u9A8C\u89C4\u5219"},{default:vue.withCtx(()=>[vue.createVNode(s,{modelValue:h.validation,"onUpdate:modelValue":w=>h.validation=w,placeholder:"\u8BF7\u9009\u62E9\u6821\u9A8C\u89C4\u5219",filterable:"",clearable:"",style:{width:"100%"},onChange:w=>m.handleValidationChange(h)},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.fieldValidators,(w,v)=>(vue.openBlock(),vue.createBlock(n,{key:v,label:w.label,value:w.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),h.validation?(vue.openBlock(),vue.createBlock(b,{key:3,label:"\u6821\u9A8C\u5931\u8D25\u63D0\u793A"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.validationHint,"onUpdate:modelValue":w=>h.validationHint=w,placeholder:"\u53EF\u9009\uFF0C\u4E0D\u586B\u5219\u4F7F\u7528\u9ED8\u8BA4\u63D0\u793A",onInput:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024)):vue.createCommentVNode("",!0),h.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:4,label:"\u9009\u9879\u6570\u636E"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.optionsText,"onUpdate:modelValue":w=>h.optionsText=w,type:"textarea",rows:3,placeholder:'\u683C\u5F0F\uFF1A[{"label":"\u9009\u98791","value":"value1"},{"label":"\u9009\u98792","value":"value2"}]',onInput:w=>m.handleSelectOptionsChange(h,w)},null,8,["modelValue","onUpdate:modelValue","onInput"]),g[6]||(g[6]=vue.createElementVNode("div",{class:"hint-text"},"\u8BF7\u8F93\u5165 JSON \u683C\u5F0F\u7684\u9009\u9879\u6570\u7EC4",-1))]),_:2},1024)):vue.createCommentVNode("",!0),h.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:5,label:"onMounted\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>m.editColumnEventHandler(h,"onMounted",["col","options","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),g[7]||(g[7]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},[vue.createTextVNode(" \u4E0B\u62C9\u9879\u6302\u8F7D\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1Acol\uFF08\u5217\u914D\u7F6E\u5BF9\u8C61\uFF09\u3001options\uFF08\u9009\u9879\u6570\u7EC4\uFF09\u3001setOptions\uFF08\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5\uFF09 "),vue.createElementVNode("br"),vue.createTextVNode("\u793A\u4F8B\uFF1AsetOptions([{label: '\u9009\u98791', value: '1'}, {label: '\u9009\u98792', value: '2'}]) ")],-1))]),_:2},1024)):vue.createCommentVNode("",!0),h.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:6,label:"\u4F9D\u8D56\u5217\uFF08\u8054\u52A8\uFF09"},{default:vue.withCtx(()=>[vue.createVNode(s,{modelValue:h.dependOn,"onUpdate:modelValue":w=>h.dependOn=w,placeholder:"\u9009\u62E9\u4F9D\u8D56\u7684\u5217\uFF08\u5F53\u4F9D\u8D56\u5217\u53D8\u5316\u65F6\uFF0C\u6B64\u5217\u7684\u4E0B\u62C9\u9009\u9879\u4F1A\u66F4\u65B0\uFF09",clearable:"",filterable:"",style:{width:"100%"},onChange:m.handleColumnChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(w,v)=>(vue.openBlock(),vue.createBlock(n,{key:v,label:w.label||w.prop,value:w.prop,disabled:w.prop===h.prop},null,8,["label","value","disabled"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),g[8]||(g[8]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}}," \u9009\u62E9\u4F9D\u8D56\u7684\u5217\uFF0C\u5F53\u4F9D\u8D56\u5217\u7684\u503C\u53D8\u5316\u65F6\uFF0C\u4F1A\u89E6\u53D1\u6B64\u5217\u7684\u8054\u52A8\u4E8B\u4EF6\u66F4\u65B0\u4E0B\u62C9\u9009\u9879 ",-1))]),_:2},1024)):vue.createCommentVNode("",!0),h.type==="select"&&h.dependOn?(vue.openBlock(),vue.createBlock(b,{key:7,label:"\u8054\u52A8\u5904\u7406\u51FD\u6570"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>m.editColumnEventHandler(h,"onDependChange",["targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),g[9]||(g[9]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},[vue.createTextVNode(" \u5F53\u4F9D\u8D56\u5217\u7684\u503C\u53D8\u5316\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1A "),vue.createElementVNode("br"),vue.createTextVNode("- targetCol\uFF1A\u5F53\u524D\u5217\u914D\u7F6E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- sourceCol\uFF1A\u4F9D\u8D56\u7684\u5217\u914D\u7F6E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- sourceValue\uFF1A\u4F9D\u8D56\u5217\u7684\u503C "),vue.createElementVNode("br"),vue.createTextVNode("- formData\uFF1A\u5F53\u524D\u8868\u5355\u6570\u636E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- currentOptions\uFF1A\u5F53\u524D\u9009\u9879\u6570\u7EC4 "),vue.createElementVNode("br"),vue.createTextVNode("- setOptions\uFF1A\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5 (newOptions, index) "),vue.createElementVNode("br"),vue.createTextVNode("- setValue\uFF1A\u8BBE\u7F6E\u76EE\u6807\u5217\u7684\u503C (value) "),vue.createElementVNode("br"),vue.createTextVNode("- getValue\uFF1A\u83B7\u53D6\u76EE\u6807\u5217\u7684\u5F53\u524D\u503C () "),vue.createElementVNode("br"),vue.createTextVNode("\u793A\u4F8B\uFF1A\u6839\u636E sourceValue \u52A8\u6001\u8BBE\u7F6E\u9009\u9879\u548C\u503C\uFF08\u53EA\u5F71\u54CD\u5F53\u524D\u7F16\u8F91\u884C\uFF09 "),vue.createElementVNode("br"),vue.createTextVNode("if (sourceValue === '1') { "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setOptions([{label: '\u9009\u9879A', value: 'a'}, {label: '\u9009\u9879B', value: 'b'}]); "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setValue('a'); // \u81EA\u52A8\u9009\u62E9\u7B2C\u4E00\u4E2A\u9009\u9879 "),vue.createElementVNode("br"),vue.createTextVNode("} else { "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setOptions([{label: '\u9009\u9879C', value: 'c'}, {label: '\u9009\u9879D', value: 'd'}]); "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setValue('c'); // \u81EA\u52A8\u9009\u62E9\u7B2C\u4E00\u4E2A\u9009\u9879 "),vue.createElementVNode("br"),vue.createTextVNode("} "),vue.createElementVNode("br"),vue.createElementVNode("strong",null,"\u6CE8\u610F\uFF1A"),vue.createTextVNode("setOptions \u53EA\u4F1A\u66F4\u65B0\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8FD9\u4E00\u884C\u7684\u4E0B\u62C9\u9009\u9879\uFF0C\u4E0D\u4F1A\u5F71\u54CD\u5176\u4ED6\u884C\u3002 "),vue.createElementVNode("br"),vue.createTextVNode("setValue \u53EF\u4EE5\u8BBE\u7F6E\u76EE\u6807\u5217\u7684\u503C\uFF0C\u5E38\u7528\u4E8E\u81EA\u52A8\u9009\u62E9\u9ED8\u8BA4\u9009\u9879\u3002 ")],-1))]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(b,{label:"onChange\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>m.editColumnEventHandler(h,"onChange",["col","value","formData","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),g[10]||(g[10]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}}," \u5F53\u524D\u5217\u7684\u503C\u53D8\u5316\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1Acol\uFF08\u5217\u914D\u7F6E\u5BF9\u8C61\uFF09\u3001value\uFF08\u5F53\u524D\u503C\uFF09\u3001formData\uFF08\u8868\u5355\u6570\u636E\uFF09\u3001setOptions\uFF08\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5\uFF0C\u4EC5select\u7C7B\u578B\u53EF\u7528\uFF09 ",-1))]),_:2},1024),h.type==="textarea"?(vue.openBlock(),vue.createBlock(b,{key:8,label:"\u884C\u6570"},{default:vue.withCtx(()=>[vue.createVNode(r,{modelValue:h.rows,"onUpdate:modelValue":w=>h.rows=w,min:1,max:10,onChange:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)):vue.createCommentVNode("",!0)])]))),128)),vue.createElementVNode("div",null,[vue.createVNode(d,{link:"",type:"primary",onClick:m.addNewColumn},{default:vue.withCtx(()=>[...g[11]||(g[11]=[vue.createTextVNode("\u6DFB\u52A0\u5217",-1)])]),_:1},8,["onClick"])])]),_:1})]),vue.createVNode(l,{modelValue:_.showColumnEventDialog,"onUpdate:modelValue":g[2]||(g[2]=h=>_.showColumnEventDialog=h),title:`\u7F16\u8F91\u4E8B\u4EF6\uFF1A${_.currentEventName}`,width:"1000px","append-to-body":"","close-on-click-modal":!1},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$7,[vue.createVNode(d,{onClick:g[1]||(g[1]=h=>_.showColumnEventDialog=!1)},{default:vue.withCtx(()=>[...g[12]||(g[12]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(d,{type:"primary",onClick:m.saveColumnEventHandler},{default:vue.withCtx(()=>[...g[13]||(g[13]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(o,{type:"info",closable:!1,title:_.eventHeader,style:{"margin-bottom":"10px"}},null,8,["title"]),vue.createVNode(a,{mode:"javascript",readonly:!1,modelValue:_.columnEventHandlerCode,"onUpdate:modelValue":g[0]||(g[0]=h=>_.columnEventHandlerCode=h),ref:"columnEventEditor"},null,8,["modelValue"])]),_:1},8,["modelValue","title"])],64)}var SubTableColumnsEditor=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$k],["__scopeId","data-v-2401420e"]]);const _sfc_main$j={name:"current-user-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[],rawUserData:null}},computed:{displayModel(){var t,g,e,f,_,m,A,b,d;return this.isStringValueType?(t=this.fieldModel)!=null?t:"":this.currentUserType==="username"?(_=(f=(g=this.fieldModel)==null?void 0:g.username)!=null?f:(e=this.fieldModel)==null?void 0:e.userName)!=null?_:"":this.currentUserType==="deptName"?(A=(m=this.fieldModel)==null?void 0:m.deptName)!=null?A:"":this.currentUserType==="companyName"?(d=(b=this.fieldModel)==null?void 0:b.companyName)!=null?d:"":this.fieldModel?JSON.stringify(this.fieldModel):""},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}},currentUserType(){var t;return((t=this.field.options)==null?void 0:t.type)||"username"},isStringValueType(){var t;return((t=this.field.options)==null?void 0:t.valueType)==="string"}},methods:{extractStringValue(t){var g,e,f,_;return t==null?"":typeof t=="string"?t:this.currentUserType==="username"?(e=(g=t.username)!=null?g:t.userName)!=null?e:"":this.currentUserType==="deptName"?(f=t.deptName)!=null?f:"":this.currentUserType==="companyName"&&(_=t.companyName)!=null?_:""},normalizeFieldValue(t){return this.isStringValueType?this.extractStringValue(t):t},applyFieldValue(t,g=!0){var f;const e=(f=this.oldFieldValue)!=null?f:this.fieldModel;this.fieldModel=this.normalizeFieldValue(t),this.syncUpdateFormModel(this.fieldModel),g&&this.emitFieldDataChange(this.fieldModel,e)},hasExistingValue(){var g;const t=(g=this.fieldModel)!=null?g:this.oldFieldValue;return t==null?!1:this.isStringValueType?t!=="":typeof t=="object"?Object.keys(t).length>0:t!==""},async getCurrentUser(){const{data:t}=await service$1({method:"get",url:"unified-system/employee/loginInfo?accessType=0"});this.rawUserData=t,this.applyFieldValue(t)},refreshFieldValueFromOptions(){var g;const t=(g=this.rawUserData)!=null?g:this.fieldModel;if(t==null){this.designState||this.getCurrentUser();return}if(this.isStringValueType&&typeof t=="object"){this.applyFieldValue(t);return}if(!this.isStringValueType&&typeof t=="string"){this.getCurrentUser();return}this.applyFieldValue(t)}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},"field.options.type"(){this.refreshFieldValueFromOptions()},"field.options.valueType"(){this.refreshFieldValueFromOptions()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated(),this.fieldModel&&typeof this.fieldModel=="object"&&(this.rawUserData=this.fieldModel)},mounted(){if(this.hasExistingValue()){this.isStringValueType&&typeof this.fieldModel=="object"&&this.applyFieldValue(this.fieldModel,!1);return}this.getCurrentUser()}};function _sfc_render$j(t,g,e,f,_,m){const A=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(A,{modelValue:m.displayModel,"onUpdate:modelValue":g[0]||(g[0]=d=>m.displayModel=d),disabled:!0},null,8,["modelValue"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CurrentUserWidget=_export_sfc$1(_sfc_main$j,[["render",_sfc_render$j]]),assetDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$i={name:"asset-dialog",props:{dialogVisible:{type:Boolean,default:!1},fieldValue:{type:Array,default:()=>[]},assetTypeValue:{type:String,default:""},limit:{type:Number,default:0}},watch:{dialogVisible:{handler(t){this.visible=t,t&&(this.getTableData(),this.selectedRows=this.fieldValue&&Array.isArray(this.fieldValue)?lodash.exports.cloneDeep(this.fieldValue):[])}},assetTypeValue:{handler(t){this.disabled=!!t,t?this.form.assetType=t:this.form.assetType="all"},immediate:!0}},computed:{filterList(){const t=this.searchValue.toLocaleLowerCase();return this.selectedRows.filter(g=>g.labelName.toLocaleLowerCase().includes(t)||g.assetCode.toLocaleLowerCase().includes(t))}},data(){return{tableData:[],selectedRows:[],visible:!1,pageSize:10,currentPage:1,assetTypeOptions:[],form:{assetCode:"",assetType:"all",assetOwnerUnit:"",labelName:""},disabled:!1,total:0,searchValue:"",_prevTableSelectionIds:[],_handlingSelectionChange:!1}},methods:{formatAmount,handleClose(){this.form={assetCode:"",assetType:this.assetTypeValue||"all",assetOwnerUnit:"",labelName:""},this.searchValue="",this.$emit("close")},handleConfirm(){this.form={assetCode:"",assetType:"all",assetOwnerUnit:"",labelName:""},this.$emit("confirm",this.selectedRows)},handleSelectionChange(t){if(this._handlingSelectionChange)return;const g=this.$refs.tableRef,e=Array.isArray(t)?t:[],f=e.map(_=>_.assetId);if(this.limit>0&&f.length>this.limit){const m=(Array.isArray(this._prevTableSelectionIds)?this._prevTableSelectionIds:[]).slice(0,this.limit);g&&typeof g.clearSelection=="function"&&typeof g.toggleRowSelection=="function"&&(this._handlingSelectionChange=!0,g.clearSelection(),e.forEach(A=>{m.includes(A.assetId)&&g.toggleRowSelection(A,!0)}),this._handlingSelectionChange=!1),this._prevTableSelectionIds=m;return}this._prevTableSelectionIds=f},getTableData(){service$1({method:"post",url:"/asset-business/overview/pageList",data:st(Ie({size:this.pageSize,current:this.currentPage,reqType:"disposal"},this.form),{assetType:this.form.assetType==="all"?"":this.form.assetType,systemStatusList:["2"]})}).then(({data:t})=>{const{records:g,total:e,current:f}=t;this.tableData=g.map(_=>{const d=_,{id:m}=d,A=ja(d,["id"]);return st(Ie({},A),{assetId:m})}),this.total=e,this.currentPage=f})},handleSizeChange(t){this.pageSize=t,this.getTableData()},handleCurrentChange(t){this.currentPage=t,this.getTableData()},handleAdd(){const t=this.$refs.tableRef,g=t&&typeof t.getSelectionRows=="function"?t.getSelectionRows():[];if(!g||g.length===0){this.$message.error("\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u8D44\u4EA7");return}const e=[...this.selectedRows,...g].reduce((f,_)=>(f.some(m=>m.assetId===_.assetId)||f.push(_),f),[]);if(this.limit&&e.length>this.limit){this.$message.error(`\u6700\u591A\u9009\u62E9 ${this.limit} \u4E2A\u8D44\u4EA7`);return}this.selectedRows=e},handleRemove(t){const g=this.selectedRows.findIndex(e=>e.assetId===t);g!==-1&&this.selectedRows.splice(g,1)},handleGetAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:t}})=>{this.assetTypeOptions=t.map(g=>({label:g.label,value:g.itemValue})),this.assetTypeOptions.unshift({label:"\u5168\u90E8",value:"all"})})},handleSearch(){this.currentPage=1,this.getTableData()}},created(){this.getTableData(),this.handleGetAssetTypeOptions()}},_hoisted_1$c={class:"asset-body-wrap"},_hoisted_2$9={class:"bottom-wrap"},_hoisted_3$7={class:"left-wrap"},_hoisted_4$6={class:"filter-wrap"},_hoisted_5$4={class:"right-wrap"},_hoisted_6$4={class:"asset-wrap-title"},_hoisted_7$4={class:"asset-wrap"},_hoisted_8$2={class:"asset-item-left"},_hoisted_9$2={class:"asset-item-right"},_hoisted_10$1={class:"dialog-footer"};function _sfc_render$i(t,g,e,f,_,m){const A=vue.resolveComponent("el-input"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-col"),u=vue.resolveComponent("el-option"),n=vue.resolveComponent("el-select"),s=vue.resolveComponent("el-button"),i=vue.resolveComponent("el-row"),r=vue.resolveComponent("el-form"),o=vue.resolveComponent("el-table-column"),a=vue.resolveComponent("el-table"),l=vue.resolveComponent("el-pagination"),h=vue.resolveComponent("DArrowRight"),p=vue.resolveComponent("el-icon"),w=vue.resolveComponent("Search"),v=vue.resolveComponent("Close"),x=vue.resolveComponent("el-scrollbar"),y=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(y,{modelValue:_.visible,"onUpdate:modelValue":g[6]||(g[6]=M=>_.visible=M),title:"\u8D44\u4EA7\u9009\u62E9",width:"1418px",onClose:m.handleClose,"body-class":"asset-list-dialog-body","close-on-click-modal":!1,draggable:"","header-class":"asset-list-dialog-header"},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_10$1,[vue.createVNode(s,{onClick:m.handleClose,size:"default"},{default:vue.withCtx(()=>[...g[12]||(g[12]=[vue.createTextVNode(" \u53D6\u6D88 ",-1)])]),_:1},8,["onClick"]),vue.createVNode(s,{type:"primary",onClick:m.handleConfirm,size:"default"},{default:vue.withCtx(()=>[...g[13]||(g[13]=[vue.createTextVNode(" \u786E\u5B9A ",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$c,[vue.createElementVNode("div",_hoisted_2$9,[vue.createElementVNode("div",_hoisted_3$7,[vue.createElementVNode("div",_hoisted_4$6,[vue.createVNode(r,{model:_.form,ref:"formRef"},{default:vue.withCtx(()=>[vue.createVNode(i,{gutter:12},{default:vue.withCtx(()=>[vue.createVNode(d,{span:5},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(A,{maxlength:"50",modelValue:_.form.assetCode,"onUpdate:modelValue":g[0]||(g[0]=M=>_.form.assetCode=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...g[7]||(g[7]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u7F16\u7801\uFF1A",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:6},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(A,{maxlength:"50",modelValue:_.form.labelName,"onUpdate:modelValue":g[1]||(g[1]=M=>_.form.labelName=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...g[8]||(g[8]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u540D\u79F0\uFF1A",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:5},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(n,{disabled:_.disabled,modelValue:_.form.assetType,"onUpdate:modelValue":g[2]||(g[2]=M=>_.form.assetType=M),placeholder:"\u8BF7\u9009\u62E9",clearable:""},{prefix:vue.withCtx(()=>[...g[9]||(g[9]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u7C7B\u578B\uFF1A",-1)])]),default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.assetTypeOptions,M=>(vue.openBlock(),vue.createBlock(u,{key:M.value,label:M.label,value:M.value},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:6},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(A,{maxlength:"50",modelValue:_.form.assetOwnerUnit,"onUpdate:modelValue":g[3]||(g[3]=M=>_.form.assetOwnerUnit=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...g[10]||(g[10]=[vue.createElementVNode("span",null,"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D\uFF1A",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:2},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(s,{type:"primary",onClick:m.handleSearch},{default:vue.withCtx(()=>[...g[11]||(g[11]=[vue.createTextVNode("\u641C\u7D22",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),vue.createVNode(a,{data:_.tableData,height:"500px",style:{width:"100%"},"check-strictly":"","row-key":"assetId",ref:"tableRef","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:""},{default:vue.withCtx(()=>[vue.createVNode(o,{type:"selection",width:"55"}),vue.createVNode(o,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801",width:"200"}),vue.createVNode(o,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0"}),vue.createVNode(o,{prop:"assetTypeName","header-align":"center",align:"center",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(o,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(o,{prop:"originalValue",label:"\u539F\u503C(\u4E07\u5143)",width:"120"},{default:vue.withCtx(({row:M})=>[vue.createTextVNode(vue.toDisplayString(M.originalValue),1)]),_:1}),vue.createVNode(o,{prop:"netValue",label:"\u51C0\u503C(\u4E07\u5143)",width:"120"},{default:vue.withCtx(({row:M})=>[vue.createTextVNode(vue.toDisplayString(M.netValue),1)]),_:1})]),_:1},8,["data"]),vue.createVNode(l,{onSizeChange:m.handleSizeChange,onCurrentChange:m.handleCurrentChange,"current-page":_.currentPage,layout:"total, sizes, prev, pager, next",size:"small",total:_.total},null,8,["onSizeChange","onCurrentChange","current-page","total"])]),vue.createElementVNode("div",{class:"center-wrap",onClick:g[4]||(g[4]=(...M)=>m.handleAdd&&m.handleAdd(...M))},[vue.createVNode(p,null,{default:vue.withCtx(()=>[vue.createVNode(h)]),_:1})]),vue.createElementVNode("div",_hoisted_5$4,[vue.createElementVNode("div",_hoisted_6$4,[vue.createVNode(A,{modelValue:_.searchValue,"onUpdate:modelValue":g[5]||(g[5]=M=>_.searchValue=M),placeholder:"\u8BF7\u8F93\u5165\u8D44\u4EA7\u540D\u79F0\u6216\u8D44\u4EA7\u7F16\u7801\u641C\u7D22",clearable:""},{prefix:vue.withCtx(()=>[vue.createVNode(p,null,{default:vue.withCtx(()=>[vue.createVNode(w)]),_:1})]),_:1},8,["modelValue"])]),vue.createVNode(x,{class:"asset-wrap-scroll"},{default:vue.withCtx(()=>[vue.createElementVNode("ul",_hoisted_7$4,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.filterList,M=>(vue.openBlock(),vue.createElementBlock("li",{class:"asset-item",key:M.assetId},[vue.createElementVNode("div",_hoisted_8$2,[vue.createElementVNode("div",null,vue.toDisplayString(M.labelName),1),vue.createElementVNode("div",null,vue.toDisplayString(M.assetCode),1)]),vue.createElementVNode("div",_hoisted_9$2,[vue.createVNode(p,{onClick:T=>m.handleRemove(M.assetId)},{default:vue.withCtx(()=>[vue.createVNode(v)]),_:1},8,["onClick"])])]))),128))])]),_:1})])])])]),_:1},8,["modelValue","onClose"])}var AssetDialog=_export_sfc$1(_sfc_main$i,[["render",_sfc_render$i],["__scopeId","data-v-5cca3952"]]),index_vue_vue_type_style_index_0_lang$2="";const _sfc_main$h={name:"asset-select-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,AssetDialog},data(){return{dialogVisible:!1,fieldModel:null,oldFieldValue:null,rules:[],tableData:[]}},computed:{displayModel:{get(){return this.fieldModel!=null?this.fieldModel:[]},set(t){this.fieldModel=t}},widgetStyle(){return{width:"100%"}}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{updateFieldLabel(t,g){var d;if(!t)return!1;const e=g==null?"":String(g),f=this.getWidgetRef(t,!1);if((d=f==null?void 0:f.field)==null?void 0:d.options){f.field.options.label=e;const u=this.getFormRef();return u&&typeof u.$forceUpdate=="function"&&u.$forceUpdate(),!0}const _=this.getFormRef();if(!_||typeof _.getFormJson!="function"||typeof _.setFormJson!="function")return!1;const m=_.getFormJson();let A=!1;const b=u=>{!Array.isArray(u)||u.forEach(n=>{var s;if(!A){if(((s=n==null?void 0:n.options)==null?void 0:s.name)===t){n.options.label=e,A=!0;return}Array.isArray(n==null?void 0:n.widgetList)&&b(n.widgetList),Array.isArray(n==null?void 0:n.cols)&&n.cols.forEach(i=>b(i==null?void 0:i.widgetList)),Array.isArray(n==null?void 0:n.rows)&&n.rows.forEach(i=>Array.isArray(i==null?void 0:i.cols)&&i.cols.forEach(r=>b(r==null?void 0:r.widgetList))),Array.isArray(n==null?void 0:n.tabs)&&n.tabs.forEach(i=>b(i==null?void 0:i.widgetList))}})};return b(m==null?void 0:m.widgetList),A?(_.setFormJson(m),!0):!1},handleClick(){this.dialogVisible=!0},handleConfirm(t){this.dialogVisible=!1,this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null,this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",t),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},handleCancel(){this.triggerEvent("onCancel"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(t,...g){var f,_;const e=(_=(f=this.field)==null?void 0:f.options)==null?void 0:_[t];if(e)try{if(t==="onConfirm"&&g.length>0){const m=g[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,m,m,m)}else if(t==="onRemoveTag"&&g.length>=2){const m=g[0],A=g[1],b=g[2];new Function("removedItem","remainingNodes","remainingValue","selectedValue","removedIndex",e).call(this,m,A,A,A,b)}else if(g.length>0){const m=g.map((b,d)=>`arg${d}`).join(", ");new Function(m,e).apply(this,g)}else new Function(e).call(this)}catch(m){console.error(`Error executing ${t} handler:`,m),console.error("Handler code:",e),console.error("Args:",g)}},handleSearch(){this.$nextTick(()=>{this.applyTreeFilter()})}}},_hoisted_1$b={class:"asset-select-widget__trigger"};function _sfc_render$h(t,g,e,f,_,m){const A=vue.resolveComponent("el-button"),b=vue.resolveComponent("asset-dialog"),d=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(d,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-select-widget",style:vue.normalizeStyle(m.widgetStyle)},[vue.createElementVNode("div",_hoisted_1$b,[vue.createVNode(A,{type:"primary",class:"asset-select-widget__button",plain:"",disabled:e.field.options.disabled,placeholder:"\u8BF7\u9009\u62E9\u8D44\u4EA7",onClick:m.handleClick,ref:"inputTagRef"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.buttonText||"\u9009\u62E9\u8D44\u4EA7"),1)]),_:1},8,["disabled","onClick"])]),vue.createVNode(b,{"dialog-visible":_.dialogVisible,onClose:m.handleClose,onConfirm:m.handleConfirm,onCancel:m.handleCancel,limit:e.field.options.assetLimit,fieldValue:_.fieldModel,assetTypeValue:e.field.options.assetTypeValue},null,8,["dialog-visible","onClose","onConfirm","onCancel","limit","fieldValue","assetTypeValue"])],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AssetSelectWidget=_export_sfc$1(_sfc_main$h,[["render",_sfc_render$h]]),documentDialog_vue_vue_type_style_index_0_scoped_true_lang="",documentDialog_vue_vue_type_style_index_1_lang="";const DEFAULT_FORM_JSON$1={widgetList:[],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}},_sfc_main$g={name:"document-dialog",components:{VFormRender},props:{dialogVisible:{type:Boolean,default:!1},fieldValue:{type:Array,default:()=>[]},documentTypeValue:{type:String,default:""},documentListUrl:{type:String,default:"unified-system/workflow/businessFlow/page"},limit:{type:Number,default:0}},data(){return{tableData:[],selectedRows:[],checkedIds:[],visible:!1,pageSize:10,currentPage:1,form:{title:""},total:0,activeDocumentId:null,activeDocument:null,formJson:null,formData:{},showForm:!1,detailLoading:!1,formJsonCache:{},_handlingCheckedChange:!1}},computed:{renderFormJson(){return this.formJson||DEFAULT_FORM_JSON$1}},watch:{dialogVisible:{handler(t){this.visible=t,t&&(this.getTableData(),this.selectedRows=this.fieldValue&&Array.isArray(this.fieldValue)?lodash.exports.cloneDeep(this.fieldValue):[],this.selectedRows.length>0?this.handleSelectActive(this.selectedRows[0]):this.resetDetail())}}},methods:{resetDetail(){this.activeDocumentId=null,this.activeDocument=null,this.formJson=null,this.formData={},this.showForm=!1,this.detailLoading=!1},syncCheckedIds(){this.checkedIds=this.tableData.filter(t=>this.selectedRows.some(g=>g.id===t.id)).map(t=>t.id)},handleClose(){this.form={title:""},this.checkedIds=[],this.resetDetail(),this.$emit("close")},handleConfirm(){if(!this.selectedRows.length){this.$message.error("\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u6761\u6536\u6587");return}this.form={title:""},console.log(this.selectedRows,"this.selectedRows"),this.$emit("confirm",lodash.exports.cloneDeep(this.selectedRows))},handleCheckedChange(t){if(this._handlingCheckedChange)return;const e=this.tableData.map(_=>_.id).filter(_=>!t.includes(_)),f=this.selectedRows.filter(_=>!e.includes(_.id));if(t.forEach(_=>{if(!f.some(m=>m.id===_)){const m=this.tableData.find(A=>A.id===_);m&&f.push(m)}}),this.limit>0&&f.length>this.limit){this.$message.error(`\u6700\u591A\u9009\u62E9 ${this.limit} \u6761\u6536\u6587`),this._handlingCheckedChange=!0,this.syncCheckedIds(),this._handlingCheckedChange=!1;return}this.selectedRows=f},getTableData(){service$1({method:"post",url:this.documentListUrl,data:{size:this.pageSize,current:this.currentPage,title:this.form.title,createdByCompanyId:sessionStorage.getItem("companyId"),dataJson:{form_titleName:this.form.title},subCategoryCode:"1009",status:-1}}).then(({data:t})=>{const{hits:g=[],totalHits:e=0}=t||{};this.tableData=g,this.total=e,this.syncCheckedIds()}).catch(t=>{console.error(t),this.tableData=[],this.total=0,this.checkedIds=[]})},handleSizeChange(t){this.pageSize=t,this.currentPage=1,this.getTableData()},handleCurrentChange(t){this.currentPage=t,this.getTableData()},handleSelectActive(t){console.log(t,"item"),!!t&&(this.activeDocumentId=t.id,this.activeDocument=t,this.loadDocumentDetail(t))},resolveDocumentFormData(t){if(!t||typeof t!="object")return{};let g=lodash.exports.cloneDeep(t);const{dataJson:e}=t;if(e!=null&&e!==""){let f=e;if(typeof f=="string")try{f=JSON.parse(f)}catch{f=null}f&&typeof f=="object"&&(g=Ie(Ie({},g),f))}return g},getFormConfigCode(t){return(t==null?void 0:t.formCode)||(t==null?void 0:t.subCategoryCode)||this.documentTypeValue},buildReadonlyFormJson(t){const g=lodash.exports.cloneDeep(t);return(g==null?void 0:g.widgetList)&&traverseFieldWidgets(g.widgetList,e=>{(e==null?void 0:e.options)&&(e.options.disabled=!0,e.options.readonly=!0)}),g},applyFormToRender(t,g){const e=this.buildReadonlyFormJson(t);this.formJson=e,this.showForm=!0,this.$nextTick(()=>{const f=this.$refs.detailFormRender;!f||typeof f.setFormJson!="function"||(f.setFormJson(lodash.exports.cloneDeep(e)),this.$nextTick(()=>{typeof f.setFormData=="function"&&f.setFormData(lodash.exports.cloneDeep(g)),this.syncFormDisabledStatus()}))})},syncFormDisabledStatus(){const t=()=>{const g=this.$refs.detailFormRender;g&&typeof g.disableForm=="function"&&g.disableForm()};this.$nextTick(t),[300,800,1500].forEach(g=>setTimeout(t,g))},async loadDocumentDetail(t){const g=this.getFormConfigCode(t);if(this.formData=this.resolveDocumentFormData(t),!g){this.showForm=!1,this.formJson=null;return}this.detailLoading=!0,this.showForm=!1;try{let e=this.formJsonCache[g];if(!e){const{data:f}=await service$1({method:"get",url:`/workflow-engine/businessFlowConfig/detailByCode/${t.subCategoryCode}`});(f==null?void 0:f.formJson)&&(e=typeof f.formJson=="string"?JSON.parse(f.formJson):f.formJson,this.formJsonCache[g]=e)}(e==null?void 0:e.widgetList)&&(e==null?void 0:e.formConfig)?this.applyFormToRender(e,this.formData):(this.formJson=null,this.showForm=!1)}catch(e){console.error(e),this.formJson=null,this.showForm=!1}finally{this.detailLoading=!1}},getDocumentTitle(t){return(t==null?void 0:t.form_titleName)||(t==null?void 0:t.title)||(t==null?void 0:t.documentTitle)||"-"},handleSearch(){this.currentPage=1,this.getTableData()}}},_hoisted_1$a={class:"document-body-wrap"},_hoisted_2$8={class:"bottom-wrap"},_hoisted_3$6={class:"left-wrap"},_hoisted_4$5={class:"filter-wrap"},_hoisted_5$3=["onClick"],_hoisted_6$3={key:0,class:"document-list-empty"},_hoisted_7$3={class:"right-wrap"},_hoisted_8$1={class:"detail-panel"},_hoisted_9$1={key:0,class:"detail-loading"},_hoisted_10={key:1,class:"detail-empty"},_hoisted_11={key:2,class:"detail-form detail-form--readonly"},_hoisted_12={key:3,class:"detail-empty"},_hoisted_13={class:"dialog-footer"};function _sfc_render$g(t,g,e,f,_,m){const A=vue.resolveComponent("el-input"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-form"),u=vue.resolveComponent("el-checkbox"),n=vue.resolveComponent("el-checkbox-group"),s=vue.resolveComponent("el-scrollbar"),i=vue.resolveComponent("el-pagination"),r=vue.resolveComponent("Loading"),o=vue.resolveComponent("el-icon"),a=vue.resolveComponent("v-form-render"),l=vue.resolveComponent("el-button"),h=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(h,{modelValue:_.visible,"onUpdate:modelValue":g[3]||(g[3]=p=>_.visible=p),title:"\u6536\u6587\u9009\u62E9",width:"1418px",onClose:m.handleClose,"body-class":"document-list-dialog-body","close-on-click-modal":!1,draggable:"","header-class":"document-list-dialog-header"},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_13,[vue.createVNode(l,{onClick:m.handleClose,size:"default"},{default:vue.withCtx(()=>[...g[7]||(g[7]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1},8,["onClick"]),vue.createVNode(l,{type:"primary",onClick:m.handleConfirm,size:"default"},{default:vue.withCtx(()=>[...g[8]||(g[8]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$a,[vue.createElementVNode("div",_hoisted_2$8,[vue.createElementVNode("div",_hoisted_3$6,[vue.createElementVNode("div",_hoisted_4$5,[vue.createVNode(d,{model:_.form,ref:"formRef",onSubmit:vue.withModifiers(m.handleSearch,["prevent"])},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(A,{maxlength:"50",modelValue:_.form.title,"onUpdate:modelValue":g[0]||(g[0]=p=>_.form.title=p),placeholder:"\u8BF7\u8F93\u5165\u6536\u6587\u6807\u9898",clearable:"",onKeyup:vue.withKeys(m.handleSearch,["enter"])},{prefix:vue.withCtx(()=>[...g[4]||(g[4]=[vue.createElementVNode("span",null,"\u6536\u6587\u6807\u9898\uFF1A",-1)])]),_:1},8,["modelValue","onKeyup"])]),_:1})]),_:1},8,["model","onSubmit"])]),vue.createVNode(s,{class:"document-list-scroll"},{default:vue.withCtx(()=>[vue.createVNode(n,{modelValue:_.checkedIds,"onUpdate:modelValue":g[2]||(g[2]=p=>_.checkedIds=p),class:"document-checkbox-group",onChange:m.handleCheckedChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.tableData,p=>(vue.openBlock(),vue.createElementBlock("div",{key:p.id,class:vue.normalizeClass(["document-checkbox-item",{active:_.activeDocumentId===p.id}])},[vue.createVNode(u,{label:p.id},{default:vue.withCtx(()=>[vue.createElementVNode("span",{class:"document-checkbox-item__title",onMousedown:g[1]||(g[1]=vue.withModifiers(()=>{},["stop","prevent"])),onClick:vue.withModifiers(w=>m.handleSelectActive(p),["stop","prevent"])},vue.toDisplayString(m.getDocumentTitle(p)),41,_hoisted_5$3)]),_:2},1032,["label"])],2))),128)),_.tableData.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$3,"\u6682\u65E0\u6536\u6587\u6570\u636E")):vue.createCommentVNode("",!0)]),_:1},8,["modelValue","onChange"])]),_:1}),vue.createVNode(i,{onSizeChange:m.handleSizeChange,onCurrentChange:m.handleCurrentChange,"current-page":_.currentPage,"page-size":_.pageSize,layout:"total, prev, pager, next",size:"small",total:_.total},null,8,["onSizeChange","onCurrentChange","current-page","page-size","total"])]),vue.createElementVNode("div",_hoisted_7$3,[vue.createElementVNode("div",_hoisted_8$1,[g[6]||(g[6]=vue.createElementVNode("div",{class:"detail-panel__title"},"\u6536\u6587\u8BE6\u60C5",-1)),vue.createVNode(s,{class:"detail-panel__scroll"},{default:vue.withCtx(()=>[_.detailLoading?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$1,[vue.createVNode(o,{class:"is-loading"},{default:vue.withCtx(()=>[vue.createVNode(r)]),_:1}),g[5]||(g[5]=vue.createElementVNode("span",null,"\u52A0\u8F7D\u4E2D...",-1))])):_.activeDocument?_.showForm?(vue.openBlock(),vue.createElementBlock("div",_hoisted_11,[vue.createVNode(a,{ref:"detailFormRender","form-json":m.renderFormJson,"form-data":_.formData,"preview-state":!0},null,8,["form-json","form-data"])])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_12,"\u672A\u627E\u5230\u8868\u5355\u914D\u7F6E")):(vue.openBlock(),vue.createElementBlock("div",_hoisted_10,"\u8BF7\u9009\u62E9\u6536\u6587\u67E5\u770B\u8BE6\u60C5"))]),_:1})])])])])]),_:1},8,["modelValue","onClose"])}var DocumentDialog=_export_sfc$1(_sfc_main$g,[["render",_sfc_render$g],["__scopeId","data-v-24bd79d8"]]),documentDetailDialog_vue_vue_type_style_index_0_scoped_true_lang="",documentDetailDialog_vue_vue_type_style_index_1_lang="";const DEFAULT_FORM_JSON={widgetList:[],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}},_sfc_main$f={name:"document-detail-dialog",components:{VFormRender},props:{dialogVisible:{type:Boolean,default:!1},document:{type:Object,default:null},documentTypeValue:{type:String,default:""}},data(){return{visible:!1,formJson:null,formData:{},showForm:!1,detailLoading:!1,formJsonCache:{}}},computed:{renderFormJson(){return this.formJson||DEFAULT_FORM_JSON}},watch:{dialogVisible:{handler(t){this.visible=t,t&&this.document?this.loadDocumentDetail(this.document):t||this.resetDetail()}}},methods:{resetDetail(){this.formJson=null,this.formData={},this.showForm=!1,this.detailLoading=!1},handleClose(){this.resetDetail(),this.$emit("close")},resolveDocumentFormData(t){if(!t||typeof t!="object")return{};let g=lodash.exports.cloneDeep(t);const{dataJson:e}=t;if(e!=null&&e!==""){let f=e;if(typeof f=="string")try{f=JSON.parse(f)}catch{f=null}f&&typeof f=="object"&&(g=Ie(Ie({},g),f))}return g},getFormConfigCode(t){return(t==null?void 0:t.subCategoryCode)||(t==null?void 0:t.formCode)||this.documentTypeValue},buildReadonlyFormJson(t){const g=lodash.exports.cloneDeep(t);return(g==null?void 0:g.widgetList)&&traverseFieldWidgets(g.widgetList,e=>{(e==null?void 0:e.options)&&(e.options.disabled=!0,e.options.readonly=!0)}),g},applyFormToRender(t,g){const e=this.buildReadonlyFormJson(t);this.formJson=e,this.showForm=!0,this.$nextTick(()=>{const f=this.$refs.detailFormRender;!f||typeof f.setFormJson!="function"||(f.setFormJson(lodash.exports.cloneDeep(e)),this.$nextTick(()=>{typeof f.setFormData=="function"&&f.setFormData(lodash.exports.cloneDeep(g)),this.syncFormDisabledStatus()}))})},syncFormDisabledStatus(){const t=()=>{const g=this.$refs.detailFormRender;g&&typeof g.disableForm=="function"&&g.disableForm()};this.$nextTick(t),[300,800,1500].forEach(g=>setTimeout(t,g))},async loadDocumentDetail(t){const g=this.getFormConfigCode(t);if(this.formData=this.resolveDocumentFormData(t),!g){this.showForm=!1,this.formJson=null;return}this.detailLoading=!0,this.showForm=!1;try{let e=this.formJsonCache[g];if(!e){const{data:f}=await service$1({method:"get",url:`/workflow-engine/businessFlowConfig/detailByCode/${g}`});(f==null?void 0:f.formJson)&&(e=typeof f.formJson=="string"?JSON.parse(f.formJson):f.formJson,this.formJsonCache[g]=e)}(e==null?void 0:e.widgetList)&&(e==null?void 0:e.formConfig)?this.applyFormToRender(e,this.formData):(this.formJson=null,this.showForm=!1)}catch(e){console.error(e),this.formJson=null,this.showForm=!1}finally{this.detailLoading=!1}}}},_hoisted_1$9={key:0,class:"detail-loading"},_hoisted_2$7={key:1,class:"detail-form detail-form--readonly"},_hoisted_3$5={key:2,class:"detail-empty"},_hoisted_4$4={class:"dialog-footer"};function _sfc_render$f(t,g,e,f,_,m){const A=vue.resolveComponent("Loading"),b=vue.resolveComponent("el-icon"),d=vue.resolveComponent("v-form-render"),u=vue.resolveComponent("el-scrollbar"),n=vue.resolveComponent("el-button"),s=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(s,{modelValue:_.visible,"onUpdate:modelValue":g[0]||(g[0]=i=>_.visible=i),title:"\u6536\u6587\u8BE6\u60C5",width:"900px",onClose:m.handleClose,"close-on-click-modal":!1,"append-to-body":"",draggable:"","body-class":"document-detail-dialog-body"},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$4,[vue.createVNode(n,{onClick:m.handleClose,size:"default"},{default:vue.withCtx(()=>[...g[2]||(g[2]=[vue.createTextVNode("\u5173\u95ED",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(u,{class:"detail-panel__scroll"},{default:vue.withCtx(()=>[_.detailLoading?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$9,[vue.createVNode(b,{class:"is-loading"},{default:vue.withCtx(()=>[vue.createVNode(A)]),_:1}),g[1]||(g[1]=vue.createElementVNode("span",null,"\u52A0\u8F7D\u4E2D...",-1))])):_.showForm?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$7,[vue.createVNode(d,{ref:"detailFormRender","form-json":m.renderFormJson,"form-data":_.formData,"preview-state":!0},null,8,["form-json","form-data"])])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$5,"\u672A\u627E\u5230\u8868\u5355\u914D\u7F6E"))]),_:1})]),_:1},8,["modelValue","onClose"])}var DocumentDetailDialog=_export_sfc$1(_sfc_main$f,[["render",_sfc_render$f],["__scopeId","data-v-ddc7afce"]]),index_vue_vue_type_style_index_0_lang$1="";const _sfc_main$e={name:"document-select-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DocumentDialog,DocumentDetailDialog},data(){return{dialogVisible:!1,detailDialogVisible:!1,currentDetailDocument:null,fieldModel:null,oldFieldValue:null,rules:[]}},computed:{isDisabled(){var t,g;return!!((g=(t=this.field)==null?void 0:t.options)==null?void 0:g.disabled)},selectedList(){return Array.isArray(this.fieldModel)?this.fieldModel:this.fieldModel?[this.fieldModel]:[]},widgetStyle(){return{width:"100%"}}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{getDocumentKey(t){var g,e;return(e=(g=t==null?void 0:t.id)!=null?g:t==null?void 0:t.documentId)!=null?e:t==null?void 0:t.form_titleName},getDocumentTitle(t){return(t==null?void 0:t.form_titleName)||(t==null?void 0:t.title)||(t==null?void 0:t.documentTitle)||"-"},handleClick(){this.dialogVisible=!0},handleViewDetail(t){this.currentDetailDocument=t,this.detailDialogVisible=!0},handleDetailClose(){this.detailDialogVisible=!1,this.currentDetailDocument=null},handleConfirm(t){this.dialogVisible=!1,this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null,this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",t),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},handleCancel(){this.triggerEvent("onCancel"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(t,...g){var f,_;const e=(_=(f=this.field)==null?void 0:f.options)==null?void 0:_[t];if(e)try{if(t==="onConfirm"&&g.length>0){const m=g[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,m,m,m)}else if(g.length>0){const m=g.map((b,d)=>`arg${d}`).join(", ");new Function(m,e).apply(this,g)}else new Function(e).call(this)}catch(m){console.error(`Error executing ${t} handler:`,m)}}}},_hoisted_1$8={key:0,class:"document-selected-empty"},_hoisted_2$6={key:1,class:"document-select-widget__trigger"},_hoisted_3$4={key:2,class:"document-selected-list"},_hoisted_4$3=["onClick"];function _sfc_render$e(t,g,e,f,_,m){const A=vue.resolveComponent("el-button"),b=vue.resolveComponent("document-dialog"),d=vue.resolveComponent("document-detail-dialog"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"document-select-widget",style:vue.normalizeStyle(m.widgetStyle)},[m.isDisabled?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[m.selectedList.length?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$8,"\u6682\u65E0\u5173\u8054\u516C\u6587"))],64)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$6,[vue.createVNode(A,{type:"primary",class:"document-select-widget__button",plain:"",placeholder:"\u8BF7\u9009\u62E9\u5173\u8054\u6536\u6587",onClick:m.handleClick,ref:"inputTagRef"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.buttonText||"\u9009\u62E9\u6587\u6863"),1)]),_:1},8,["onClick"])])),m.selectedList.length?(vue.openBlock(),vue.createElementBlock("ul",_hoisted_3$4,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.selectedList,n=>(vue.openBlock(),vue.createElementBlock("li",{key:m.getDocumentKey(n),class:"document-selected-item",onClick:s=>m.handleViewDetail(n)},vue.toDisplayString(m.getDocumentTitle(n)),9,_hoisted_4$3))),128))])):vue.createCommentVNode("",!0),vue.createVNode(b,{"dialog-visible":_.dialogVisible,onClose:m.handleClose,onConfirm:m.handleConfirm,onCancel:m.handleCancel,limit:e.field.options.documentLimit,"field-value":_.fieldModel,"document-type-value":e.field.options.documentTypeValue,"document-list-url":e.field.options.documentListUrl},null,8,["dialog-visible","onClose","onConfirm","onCancel","limit","field-value","document-type-value","document-list-url"]),vue.createVNode(d,{"dialog-visible":_.detailDialogVisible,document:_.currentDetailDocument,"document-type-value":e.field.options.documentTypeValue,onClose:m.handleDetailClose},null,8,["dialog-visible","document","document-type-value","onClose"])],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var DocumentSelectWidget=_export_sfc$1(_sfc_main$e,[["render",_sfc_render$e]]);const DEFAULT_DICT_API="/unified-dict/sysItemDict/page",DEFAULT_DICT_PARAMS={current:1,size:1e4};function normalizeDictRecords(t){return Array.isArray(t)?t.reduce((g,e)=>{var _,m,A,b,d;const f=e.dictType;return f&&(g[f]||(g[f]=[]),g[f].push(Ie({label:(m=(_=e.label)!=null?_:e.dictLabel)!=null?m:"",value:(d=(b=(A=e.itemValue)!=null?A:e.dictValue)!=null?b:e.value)!=null?d:""},e))),g},{}):{}}class DictManager{constructor(){this.dictCache={},this.loading=!1,this._loaded=!1,this._listeners=[],this._fetchPromise=null}onLoaded(g){return typeof g!="function"?()=>{}:this._loaded?(g(this.dictCache),()=>{}):(this._listeners.push(g),()=>{this._listeners=this._listeners.filter(e=>e!==g)})}_notifyLoaded(){this._loaded=!0,this._listeners.forEach(g=>{try{g(this.dictCache)}catch(e){console.error("[dictManager] onLoaded callback error:",e)}})}fetchFromApi(g,e={}){const{url:f=DEFAULT_DICT_API,params:_=DEFAULT_DICT_PARAMS,force:m=!1,customFetch:A}=e;if(this._fetchPromise&&!m)return this._fetchPromise;if(this._loaded&&Object.keys(this.dictCache).length>0&&!m)return Promise.resolve(this.dictCache);this.loading=!0;const b=typeof A=="function"?Promise.resolve().then(()=>A()).then(d=>d&&!Array.isArray(d)&&typeof d=="object"?d:normalizeDictRecords(Array.isArray(d)?d:[])):g.post(f,_).then(d=>{var n,s,i,r;const u=(r=(i=(s=(n=d==null?void 0:d.data)==null?void 0:n.records)!=null?s:d==null?void 0:d.records)!=null?i:d==null?void 0:d.data)!=null?r:[];return normalizeDictRecords(Array.isArray(u)?u:[])});return this._fetchPromise=b.then(d=>(this.init(d||{}),this._notifyLoaded(),d)).catch(d=>(console.warn("[form-custom-test] \u5B57\u5178\u6570\u636E\u52A0\u8F7D\u5931\u8D25:",d),{})).finally(()=>{this.loading=!1}),this._fetchPromise}init(g){this.dictCache=g||{},typeof window!="undefined"&&(window.dictCache=this.dictCache,window.getDictData=e=>this.getDictData(e))}getDictData(g){return g?this.dictCache[g]||[]:[]}getDictLabel(g,e,f="label",_="value"){const A=this.getDictData(g).find(b=>String(b[_])===String(e));return A?A[f]:e}getDictValue(g,e,f="dictLabel",_="dictValue"){const A=this.getDictData(g).find(b=>b[f]===e);return A?A[_]:null}getDictOptions(g,e={}){const{labelField:f="dictLabel",valueField:_="dictValue",disabledField:m="disabled"}=e,A=this.getDictData(g);return this.mapToOptionItems(A,{labelField:f,valueField:_,disabledField:m})}mapToOptionItems(g,e={}){const{labelField:f="dictLabel",valueField:_="dictValue",disabledField:m="disabled"}=e;return Array.isArray(g)?g.map(A=>({label:A[f]||A.label||A.name||A.text||"",value:A[_]||A.value||A.code||A.itemValue||"",disabled:A[m]||!1})):[]}toOptionItems(g){return this.mapToOptionItems(this.getDictData(g))}getDictTypeOptions(){return Object.keys(this.dictCache||{}).map(g=>({label:g,value:g}))}clear(){this.dictCache={},this._loaded=!1,this._fetchPromise=null,typeof window!="undefined"&&(window.dictCache={})}updateDict(g,e){g&&Array.isArray(e)&&(this.dictCache[g]=e,typeof window!="undefined"&&(window.dictCache[g]=e))}}const dictManager=new DictManager;var index_vue_vue_type_style_index_0_scoped_true_lang$5="";const _sfc_main$d={name:"dict-select-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[]}},computed:{allowDefaultFirstOption(){return!!this.field.options.filterable&&!!this.field.options.allowCreate}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},"field.options.dictCode":{immediate:!0,handler(t,g){this.loadDictOptions(),g!==void 0&&t!==g&&this.clearSelectedOptions()}},"field.options.type"(t){this.normalizeFieldModel(t)}},created(){Array.isArray(this.field.options.optionItems)||(this.field.options.optionItems=[]),this.initFieldModel(),this.normalizeFieldModel(this.field.options.type),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted(),this._offDictLoaded=dictManager.onLoaded(()=>{this.loadDictOptions()})},beforeUnmount(){this._offDictLoaded&&this._offDictLoaded(),this.unregisterFromRefList()},methods:{initOptionItems(t){if(this.designState)return;const g=this.getOptionData();if(g&&Object.prototype.hasOwnProperty.call(g,this.field.options.name)){t?this.reloadOptions(g[this.field.options.name]):this.loadOptions(g[this.field.options.name]);return}this.loadDictOptions()},loadDictOptions(){const t=this.field.options.dictCode;this.field.options.optionItems=t?dictManager.toOptionItems(t):[]},clearSelectedOptions(){const t=this.field.options.type;t==="checkbox"||t==="select"&&this.field.options.multiple?this.fieldModel=[]:this.fieldModel="",this.syncUpdateFormModel(this.fieldModel)},getOptionItems(){var t,g,e;if(this.subFormRowId){const f=this.field.options.name+"@row"+this.subFormRowId;return((e=(g=(t=this.refList[f])==null?void 0:t.field)==null?void 0:g.options)==null?void 0:e.optionItems)||[]}return this.field.options.optionItems||[]},normalizeFieldModel(t){t==="checkbox"||t==="select"&&this.field.options.multiple?this.fieldModel==null?(this.fieldModel=[],this.syncUpdateFormModel([])):Array.isArray(this.fieldModel)||(this.fieldModel=this.fieldModel===""?[]:[this.fieldModel],this.syncUpdateFormModel(this.fieldModel)):Array.isArray(this.fieldModel)&&(this.fieldModel=this.fieldModel.length>0?this.fieldModel[0]:"",this.syncUpdateFormModel(this.fieldModel))}}},_hoisted_1$7={class:"dict-select-widget"};function _sfc_render$d(t,g,e,f,_,m){const A=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),d=vue.resolveComponent("el-radio-button"),u=vue.resolveComponent("el-radio"),n=vue.resolveComponent("el-radio-group"),s=vue.resolveComponent("el-checkbox-button"),i=vue.resolveComponent("el-checkbox"),r=vue.resolveComponent("el-checkbox-group"),o=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(o,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$7,[e.field.options.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:0,ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[0]||(g[0]=a=>_.fieldModel=a),class:"full-width-input",disabled:t.getDisabled(),size:t.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":m.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.field.options.optionItems||[],a=>(vue.openBlock(),vue.createBlock(A,{key:a.value,label:a.label,value:a.value,disabled:a.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","disabled","size","clearable","filterable","allow-create","default-first-option","automatic-dropdown","multiple","multiple-limit","placeholder","onFocus","onBlur","onChange"])):e.field.options.type==="radio"?(vue.openBlock(),vue.createBlock(n,{key:1,ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[1]||(g[1]=a=>_.fieldModel=a),class:vue.normalizeClass({"radio-group-block":e.field.options.displayStyle==="block"}),disabled:t.getDisabled(),size:t.widgetSize,onChange:t.handleChangeEvent},{default:vue.withCtx(()=>[e.field.options.buttonStyle?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.field.options.optionItems||[],(a,l)=>(vue.openBlock(),vue.createBlock(d,{key:l,label:a.value,disabled:t.getDisabled()||a.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.label),1)]),_:2},1032,["label","disabled","border","style"]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(e.field.options.optionItems||[],(a,l)=>(vue.openBlock(),vue.createBlock(u,{key:l,label:a.value,disabled:t.getDisabled()||a.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.label),1)]),_:2},1032,["label","disabled","border","style"]))),128))]),_:1},8,["modelValue","class","disabled","size","onChange"])):e.field.options.type==="checkbox"?(vue.openBlock(),vue.createBlock(r,{key:2,ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[2]||(g[2]=a=>_.fieldModel=a),disabled:t.getDisabled(),size:t.widgetSize,onChange:t.handleChangeEvent},{default:vue.withCtx(()=>[e.field.options.buttonStyle?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.field.options.optionItems||[],(a,l)=>(vue.openBlock(),vue.createBlock(s,{key:l,label:a.value,disabled:t.getDisabled()||a.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.label),1)]),_:2},1032,["label","disabled","border","style"]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(e.field.options.optionItems||[],(a,l)=>(vue.openBlock(),vue.createBlock(i,{key:l,label:a.value,disabled:t.getDisabled()||a.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.label),1)]),_:2},1032,["label","disabled","border","style"]))),128))]),_:1},8,["modelValue","disabled","size","onChange"])):vue.createCommentVNode("",!0)])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var DictSelectWidget=_export_sfc$1(_sfc_main$d,[["render",_sfc_render$d],["__scopeId","data-v-6f18008b"]]),dictSelectDictCodeEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$c={name:"dict-select-dictCode-editor",mixins:[i18n$1],props:{designer:Object,selectedWidget:Object,optionModel:Object},data(){return{dictTypeOptions:[]}},computed:{optionCount(){return this.optionModel.dictCode?dictManager.toOptionItems(this.optionModel.dictCode).length:0}},created(){this.refreshDictTypeOptions(),this.syncOptionItemsFromDict()},mounted(){this.$nextTick(()=>this.refreshDictTypeOptions()),this._offDictLoaded=dictManager.onLoaded(()=>{this.refreshDictTypeOptions(),this.syncOptionItemsFromDict()})},beforeUnmount(){this._offDictLoaded&&this._offDictLoaded()},methods:{refreshDictTypeOptions(){this.dictTypeOptions=dictManager.getDictTypeOptions()},handleDictCodeChange(){this.refreshDictTypeOptions(),this.syncOptionItemsFromDict()},handleVisibleChange(t){t&&this.refreshDictTypeOptions()},syncOptionItemsFromDict(){const t=this.optionModel.dictCode;this.optionModel.optionItems=t?dictManager.toOptionItems(t):[]}}},_hoisted_1$6={class:"dict-code-hint"},_hoisted_2$5={key:0};function _sfc_render$c(t,g,e,f,_,m){const A=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),d=vue.resolveComponent("el-form-item");return vue.openBlock(),vue.createBlock(d,{label:t.i18nt("extension.setting.dictSelectDictCode")},{default:vue.withCtx(()=>[vue.createVNode(b,{modelValue:e.optionModel.dictCode,"onUpdate:modelValue":g[0]||(g[0]=u=>e.optionModel.dictCode=u),filterable:"",clearable:"",placeholder:t.i18nt("extension.setting.dictSelectDictCodePlaceholder"),style:{width:"100%"},onChange:m.handleDictCodeChange,onVisibleChange:m.handleVisibleChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.dictTypeOptions,u=>(vue.openBlock(),vue.createBlock(A,{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder","onChange","onVisibleChange"]),vue.createElementVNode("div",_hoisted_1$6,[vue.createTextVNode(vue.toDisplayString(t.i18nt("extension.setting.dictSelectDictCodeHint"))+" ",1),m.optionCount>0?(vue.openBlock(),vue.createElementBlock("span",_hoisted_2$5,"\uFF08"+vue.toDisplayString(m.optionCount)+" "+vue.toDisplayString(t.i18nt("extension.setting.dictSelectOptionCount"))+"\uFF09",1)):vue.createCommentVNode("",!0)])]),_:1},8,["label"])}var DictSelectDictCodeEditor=_export_sfc$1(_sfc_main$c,[["render",_sfc_render$c],["__scopeId","data-v-2dfeafae"]]),detailDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$b={name:"detail-dialog",components:{VFormRender},props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})},typeJson:{type:[String,Object],default:()=>({})},disabled:{type:Boolean,default:!1}},data(){return{formData:{},formJson:null,defaultFormJson:{widgetList:[],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}},showForm:!1,pendingColHiddenOps:[]}},computed:{dialogVisible:{get(){return this.visible},set(t){t||this.handleClose()}},currentRowData(){return this.data&&typeof this.data=="object"?this.data:{}},renderFormJson(){return this.formJson||this.defaultFormJson}},watch:{visible:{immediate:!0,handler(t){t?this.initFormData():this.formData={}}},disabled:{immediate:!0,handler(){this.$nextTick(()=>{this.syncFormDisabledStatus()})}}},methods:{resolveTypeJsonMap(){const t=this.typeJson;if(t==null||t==="")return{};if(typeof t=="string")try{return JSON.parse(t)}catch{return{}}return typeof t=="object"?t:{}},syncFormDisabledStatus(){const t=this.$refs.detailFormRender;!t||this.disabled&&typeof t.disableForm=="function"&&t.disableForm()},applyFormJsonToRender(t){this.formJson=t&&t.widgetList&&t.formConfig?t:lodash.exports.cloneDeep(this.defaultFormJson),this.showForm=!0,this.$nextTick(()=>{const g=this.$refs.detailFormRender;g&&typeof g.setFormJson=="function"&&(g.setFormJson(lodash.exports.cloneDeep(this.formJson)),this.$nextTick(()=>{this.applyFormDataToRender(),this.flushPendingColHiddenOps(),this.syncFormDisabledStatus()}))})},applyFormDataToRender(){const t=this.$refs.detailFormRender;t&&typeof t.setFormData=="function"&&this.formData&&t.setFormData(lodash.exports.cloneDeep(this.formData))},setColHidden(t,g){const e=Array.isArray(t)?t:[t];this.pendingColHiddenOps.push({names:e,hidden:g})},flushPendingColHiddenOps(){if(!this.pendingColHiddenOps.length)return;const t=this.$refs.detailFormRender;!t||typeof t.setColHidden!="function"||(this.pendingColHiddenOps.forEach(({names:g,hidden:e})=>{g.forEach(f=>t.setColHidden(f,e))}),this.pendingColHiddenOps=[])},initFormData(){this.showForm=!1,this.formData=lodash.exports.cloneDeep(this.currentRowData)||{};const t=this.typeJson;if(!t){this.$message.error("\u672A\u627E\u5230\u8D44\u4EA7\u7C7B\u578B\u5BF9\u5E94\u7684\u8868\u5355\u914D\u7F6E"),this.dialogVisible=!1;return}service$1({method:"get",url:`/workflow-engine/businessFlowConfig/detailByCode/${t}`}).then(({data:g})=>{if(!(g==null?void 0:g.formJson)){this.applyFormJsonToRender(null);return}let e;try{e=typeof g.formJson=="string"?JSON.parse(g.formJson):g.formJson}catch(f){console.error(f),e=null}this.applyFormJsonToRender(e),setTimeout(()=>{const f=this.$refs.detailFormRender;!f||f.setFormData(Ie({},this.formData))},800)}).catch(g=>{console.error(g),this.applyFormJsonToRender(null)})},async handleConfirm(){const t=this.$refs.detailFormRender;if(!!t)try{const g=await t.getFormData(!0);console.log(g,"formValues"),this.$emit("confirm",g),this.dialogVisible=!1}catch(g){this.$message.error(g),console.error(g)}},handleClose(){this.formData={},this.pendingColHiddenOps=[],this.formJson={widgetList:[],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}},this.$emit("close")}}},_hoisted_1$5={class:"asset-body-wrap"},_hoisted_2$4={key:0},_hoisted_3$3={class:"dialog-footer"};function _sfc_render$b(t,g,e,f,_,m){const A=vue.resolveComponent("v-form-render"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(d,{modelValue:m.dialogVisible,"onUpdate:modelValue":g[0]||(g[0]=u=>m.dialogVisible=u),title:"\u67E5\u770B\u8BE6\u60C5",width:"1200px",onClose:m.handleClose,"close-on-click-modal":!1,"append-to-body":"",draggable:""},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$3,[vue.createVNode(b,{onClick:m.handleClose},{default:vue.withCtx(()=>[...g[1]||(g[1]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1},8,["onClick"]),e.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(b,{key:0,type:"primary",onClick:m.handleConfirm},{default:vue.withCtx(()=>[...g[2]||(g[2]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"]))])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$5,[_.showForm?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$4,[vue.createVNode(A,{ref:"detailFormRender","form-json":m.renderFormJson,"form-data":_.formData},null,8,["form-json","form-data"])])):vue.createCommentVNode("",!0)])]),_:1},8,["modelValue","onClose"])}var DetailDialog=_export_sfc$1(_sfc_main$b,[["render",_sfc_render$b],["__scopeId","data-v-1129cf50"]]),index_vue_vue_type_style_index_0_lang="";const _sfc_main$a={name:"asset-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DetailDialog},data(){return{fieldModel:null,oldFieldValue:null,rules:[],detailDialogVisible:!1,detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{formatAmount,handleShowIsUpdate(){return!(this.field.options.disabled||!this.field.options.clickRow)},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(t){const g=this.fieldModel.findIndex(e=>e.assetId===t.assetId);g!==-1&&(this.fieldModel[g]=Ie(Ie({},this.fieldModel[g]),t))},triggerEvent(t,...g){var f,_;const e=(_=(f=this.field)==null?void 0:f.options)==null?void 0:_[t];if(e)try{if(t==="onOpen"&&g.length>0){const m=g[0];new Function("rowData",e).call(this,m)}else if(t==="onChange"){const m=g[0],A=g[1];if(this.subFormItemFlag){const b=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,m,A,b,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,m,A)}else if(g.length>0){const m=g.map((b,d)=>`arg${d}`).join(", ");new Function(m,e).apply(this,g)}else new Function(e).call(this)}catch(m){console.error(`Error executing ${t} handler:`,m),console.error("Handler code:",e),console.error("Args:",g)}},handleRow(t){const g=this.fieldModel.findIndex(e=>e.assetId===t.assetId);g!==-1&&(this.triggerEvent("onOpen",this.fieldModel[g]),this.detailDialogVisible=!0,this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[g]))},setDetailColHidden(t,g){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,g)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(t){const g=this.fieldModel.findIndex(f=>f.assetId===this.detailDialogData.assetId);if(g===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[g]=st(Ie(Ie({},this.fieldModel[g]),t),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$4={key:1};function _sfc_render$a(t,g,e,f,_,m){const A=vue.resolveComponent("el-table-column"),b=vue.resolveComponent("el-text"),d=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),n=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(d,{data:_.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"",style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(A,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801"}),vue.createVNode(A,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0",align:"left"},{default:vue.withCtx(({row:s})=>[e.field.options.clickRow?(vue.openBlock(),vue.createBlock(b,{key:0,class:"click-text",type:"primary",onClick:i=>m.handleRow(s)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.labelName),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$4,vue.toDisplayString(s.labelName),1))]),_:1}),vue.createVNode(A,{prop:"assetTypeName",align:"center",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(A,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(A,{prop:"originalValue",label:"\u539F\u503C(\u4E07\u5143)"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.originalValue),1)]),_:1}),vue.createVNode(A,{prop:"netValue",label:"\u51C0\u503C(\u4E07\u5143)"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.netValue),1)]),_:1}),m.handleShowIsUpdate()?(vue.openBlock(),vue.createBlock(A,{key:0,prop:"isUpdate",align:"center","header-align":"center",label:"\u662F\u5426\u5DF2\u5B8C\u6210\u586B\u5199"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.isUpdate?"\u662F":"\u5426"),1)]),_:1})):vue.createCommentVNode("",!0)]),_:1},8,["data"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:_.detailDialogVisible,typeJson:e.field.options.typeJson,data:_.detailDialogData,onClose:m.handleCloseDetailDialog,onConfirm:m.handleConfirm,disabled:e.field.options.disabled},null,8,["visible","typeJson","data","onClose","onConfirm","disabled"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AssetTableWidget=_export_sfc$1(_sfc_main$a,[["render",_sfc_render$a]]),index_vue_vue_type_style_index_0_scoped_true_lang$4="";const _sfc_main$9={name:"resolution-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:[],oldFieldValue:null,rules:[],detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{tableRowClassName({row:t}){return t.fileName?"":"no-attachment-row"},getFileIcon(t){const g=t==null?void 0:t.substring((t==null?void 0:t.lastIndexOf("."))+1).toLowerCase();return g?new URL({"../../assets/image/fileType/7z.png":__glob_6_0,"../../assets/image/fileType/bmp.png":__glob_6_1,"../../assets/image/fileType/default.png":__glob_6_2,"../../assets/image/fileType/doc.png":__glob_6_3,"../../assets/image/fileType/docx.png":__glob_6_4,"../../assets/image/fileType/dot.png":__glob_6_5,"../../assets/image/fileType/et.png":__glob_6_6,"../../assets/image/fileType/ett.png":__glob_6_7,"../../assets/image/fileType/jpeg.png":__glob_6_8,"../../assets/image/fileType/jpg.png":__glob_6_9,"../../assets/image/fileType/mp3.png":__glob_6_10,"../../assets/image/fileType/mp4.png":__glob_6_11,"../../assets/image/fileType/ofd.png":__glob_6_12,"../../assets/image/fileType/pdf.png":__glob_6_13,"../../assets/image/fileType/png.png":__glob_6_14,"../../assets/image/fileType/ppt.png":__glob_6_15,"../../assets/image/fileType/pptx.png":__glob_6_16,"../../assets/image/fileType/rar.png":__glob_6_17,"../../assets/image/fileType/tar.png":__glob_6_18,"../../assets/image/fileType/txt.png":__glob_6_19,"../../assets/image/fileType/wav.png":__glob_6_20,"../../assets/image/fileType/wps.png":__glob_6_21,"../../assets/image/fileType/wpt.png":__glob_6_22,"../../assets/image/fileType/xls.png":__glob_6_23,"../../assets/image/fileType/xlsx.png":__glob_6_24,"../../assets/image/fileType/xlt.png":__glob_6_25,"../../assets/image/fileType/zip.png":__glob_6_26}[`../../assets/image/fileType/${g}.png`],self.location):__glob_6_2},isZip(t){const g=t==null?void 0:t.substring((t==null?void 0:t.lastIndexOf("."))+1).toLowerCase();return g==="zip"||g==="rar"||g==="7z"||g==="tar"},async handlePreview(t){console.log(t,"file");try{const{response:g,fileId:e}=t;if(g){const{data:f}=g;if(!f.fileId)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:_}=await service({method:"get",url:"unified-file/sys-file/kkfile-url",params:{fileId:f.fileId}});window.open(_)}else{if(!e)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:f}=await service({method:"get",url:"unified-file/sys-file/kkfile-url",params:{fileId:e}});window.open(f)}}catch(g){console.error(g)}},async handleDownload(t){const{response:g,fileId:e,fileName:f,name:_}=t;if(g){const{data:m}=g;if(!m.fileId)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:A}=await service({method:"post",url:"unified-file/sys-file/download",params:{fileId:m.fileId},responseType:"blob"});downloadMethod(A,m.fileName)}else{if(!e)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:m}=await service({method:"post",url:"unified-file/sys-file/download",params:{fileId:e},responseType:"blob"});downloadMethod(m,_||f)}},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(t,...g){var f,_;const e=(_=(f=this.field)==null?void 0:f.options)==null?void 0:_[t];if(e)try{if(t==="onOpen"&&g.length>0){const m=g[0];new Function("rowData",e).call(this,m)}else if(t==="onChange"){const m=g[0],A=g[1];if(this.subFormItemFlag){const b=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,m,A,b,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,m,A)}else if(g.length>0){const m=g.map((b,d)=>`arg${d}`).join(", ");new Function(m,e).apply(this,g)}else new Function(e).call(this)}catch(m){console.error(`Error executing ${t} handler:`,m),console.error("Handler code:",e),console.error("Args:",g)}},setDetailColHidden(t,g){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,g)})}}},_hoisted_1$3={key:0,class:"upload-file-list"},_hoisted_2$3={class:"left-wrap"},_hoisted_3$2=["src"],_hoisted_4$2=["title"],_hoisted_5$2={class:"right-wrap"},_hoisted_6$2=["onClick"],_hoisted_7$2=["onClick"];function _sfc_render$9(t,g,e,f,_,m){const A=vue.resolveComponent("el-table-column"),b=vue.resolveComponent("el-table"),d=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(d,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"resolution-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(b,{data:_.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",style:{width:"100%"},"row-key":"id",ref:"tableRef","row-class-name":m.tableRowClassName},{default:vue.withCtx(()=>[vue.createVNode(A,{prop:"companyName",label:"\u516C\u53F8\u540D\u79F0",width:"240"}),vue.createVNode(A,{prop:"label2",label:"\u9644\u4EF6",align:"left"},{default:vue.withCtx(({row:u})=>[u.fileName?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$3,[vue.createElementVNode("div",_hoisted_2$3,[vue.createElementVNode("img",{src:m.getFileIcon(u.fileName),alt:"",style:{width:"18px",height:"18px","margin-right":"8px"}},null,8,_hoisted_3$2),vue.createElementVNode("div",{class:"upload-file-name",title:u.fileName},vue.toDisplayString(u.fileName),9,_hoisted_4$2)]),vue.createElementVNode("div",_hoisted_5$2,[m.isZip(u.fileName)?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",{key:0,onClick:vue.withModifiers(n=>m.handlePreview(u),["stop"]),class:"pr-8px color-primary cursor-pointer file-action-right"}," \u9884\u89C8 ",8,_hoisted_6$2)),vue.createElementVNode("div",{onClick:vue.withModifiers(n=>m.handleDownload(u),["stop"]),class:"pr-8px color-primary cursor-pointer file-action-right"}," \u4E0B\u8F7D ",8,_hoisted_7$2)])])):vue.createCommentVNode("",!0)]),_:1})]),_:1},8,["data","row-class-name"])],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var ResolutionTableWidget=_export_sfc$1(_sfc_main$9,[["render",_sfc_render$9],["__scopeId","data-v-68fa0297"]]),index_vue_vue_type_style_index_0_scoped_true_lang$3="";const _sfc_main$8={name:"fixed-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DetailDialog},data(){return{fieldModel:[],oldFieldValue:null,rules:[],detailDialogVisible:!1,detailDialogData:null,dictOptions:[]}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted(),this.getDictItem("project_stage")},beforeUnmount(){this.unregisterFromRefList()},methods:{objectSpanMethod({row:t,column:g,rowIndex:e,columnIndex:f}){if(["enterpriseName","enterpriseProjectCount","enterpriseTotalPlannedInvestment"].includes(g.property)){const m=this.getSameCompanyRows(e);if(m.length>1)return e===m[0]?{rowspan:m.length,colspan:1}:{rowspan:0,colspan:0}}return{rowspan:1,colspan:1}},getlabel(t){return(dictManager==null?void 0:dictManager.getDictLabel("project_stage",t.projectStage))||"-"},getDictItem(t){if(!t)return"-";service({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:t}}).then(({data:{records:g}})=>{const e=g.map(f=>({label:f.label,value:f.itemValue}));this.dictOptions=[...this.dictOptions,...e]})},getSameCompanyRows(t){const g=this.fieldModel[t].enterpriseName,e=[t];for(let f=t-1;f>=0&&this.fieldModel[f].enterpriseName===g;f--)e.unshift(f);for(let f=t+1;f<this.fieldModel.length&&this.fieldModel[f].enterpriseName===g;f++)e.push(f);return e},formatAmount,handleShowIsUpdate(){return!(this.field.options.disabled||!this.field.options.clickRow)},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(t){const g=this.fieldModel.findIndex(e=>e.id===t.id);g!==-1&&(this.fieldModel[g]=Ie(Ie({},this.fieldModel[g]),t),this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[g]))},triggerEvent(t,...g){var f,_;const e=(_=(f=this.field)==null?void 0:f.options)==null?void 0:_[t];if(e)try{if(t==="onOpen"&&g.length>0){const m=g[0];new Function("rowData",e).call(this,m)}else if(t==="onChange"){const m=g[0],A=g[1];if(this.subFormItemFlag){const b=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,m,A,b,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,m,A)}else if(g.length>0){const m=g.map((b,d)=>`arg${d}`).join(", ");new Function(m,e).apply(this,g)}else new Function(e).call(this)}catch(m){console.error(`Error executing ${t} handler:`,m),console.error("Handler code:",e),console.error("Args:",g)}},handleRow(t){const g=this.fieldModel.findIndex(e=>e.id===t.id);g!==-1&&(this.triggerEvent("onOpen",this.fieldModel[g]),this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[g]),setTimeout(()=>{this.detailDialogVisible=!0},800))},setDetailColHidden(t,g){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,g)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(t){const g=this.fieldModel.findIndex(f=>f.id===this.detailDialogData.id);if(g===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[g]=st(Ie(Ie({},this.fieldModel[g]),t),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$2={key:1},_hoisted_2$2={class:"funds"},_hoisted_3$1={class:"funds-source"},_hoisted_4$1={class:"funds"},_hoisted_5$1={class:"funds-source"},_hoisted_6$1={class:"funds"},_hoisted_7$1={class:"funds-source"};function _sfc_render$8(t,g,e,f,_,m){const A=vue.resolveComponent("el-table-column"),b=vue.resolveComponent("el-text"),d=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),n=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"fixed-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(d,{data:_.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"","span-method":m.objectSpanMethod,style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(A,{prop:"enterpriseName",label:"\u516C\u53F8\u540D\u79F0",width:"150"}),vue.createVNode(A,{prop:"enterpriseProjectCount",label:"\u6570\u91CF",align:"left",width:"60"}),vue.createVNode(A,{prop:"projectName",align:"center",label:"\u9879\u76EE\u540D\u79F0",width:"200"},{default:vue.withCtx(({row:s})=>{var i,r;return[((r=(i=e.field)==null?void 0:i.options)==null?void 0:r.clickRow)?(vue.openBlock(),vue.createBlock(b,{key:0,class:"click-text",type:"primary",onClick:o=>m.handleRow(s)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.projectName),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$2,vue.toDisplayString(s.projectName),1))]}),_:1}),vue.createVNode(A,{prop:"projectStage",label:"\u9879\u76EE\u9636\u6BB5",width:"90"},{default:vue.withCtx(({row:s})=>{var i;return[vue.createTextVNode(vue.toDisplayString(((i=_.dictOptions.find(r=>r.value===s.projectStage))==null?void 0:i.label)||"-"),1)]}),_:1}),vue.createVNode(A,{prop:"totalPlannedInvestment",label:"\u9879\u76EE\u603B\u6295\u8D44(\u4E07\u5143)",width:"100"}),vue.createVNode(A,{prop:"completedInvestment",label:"\u5DF2\u5B8C\u6210\u6295\u8D44(\u4E07\u5143)",width:"100"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.completedInvestment||0),1)]),_:1}),vue.createVNode(A,{prop:"currentYearPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u989D(\u4E07\u5143)",width:"111"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.currentYearPlannedInvestment||0),1)]),_:1}),vue.createVNode(A,{prop:"enterpriseTotalPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u603B\u989D(\u4E07\u5143)",width:"130"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.enterpriseTotalPlannedInvestment||0),1)]),_:1}),vue.createVNode(A,{prop:"label9",label:"\u8D44\u91D1\u6765\u6E90",width:"320"},{default:vue.withCtx(({row:s})=>[vue.createElementVNode("div",_hoisted_2$2,[vue.createElementVNode("div",_hoisted_3$1,"\u81EA\u6709\u8D44\u4EA7(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.ownFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.ownFundsPercent?s.ownFundsPercent+"%":"-"),1)]),vue.createElementVNode("div",_hoisted_4$1,[vue.createElementVNode("div",_hoisted_5$1,"\u94F6\u884C\u8D37\u6B3E(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.loanFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.loanFundsPercent?s.loanFundsPercent+"%":"-"),1)]),vue.createElementVNode("div",_hoisted_6$1,[vue.createElementVNode("div",_hoisted_7$1,"\u5176\u4ED6\u8D44\u91D1(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.otherFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.otherFundsPercent?s.otherFundsPercent+"%":"-"),1)])]),_:1}),vue.createVNode(A,{prop:"remark",label:"\u5907\u6CE8",width:"330"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.remark||"-"),1)]),_:1})]),_:1},8,["data","span-method"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:_.detailDialogVisible,typeJson:e.field.options.typeJson,data:_.detailDialogData,onClose:m.handleCloseDetailDialog,onConfirm:m.handleConfirm,disabled:e.field.options.disabled},null,8,["visible","typeJson","data","onClose","onConfirm","disabled"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var FixedTableWidget=_export_sfc$1(_sfc_main$8,[["render",_sfc_render$8],["__scopeId","data-v-2cde45ac"]]),index_vue_vue_type_style_index_0_scoped_true_lang$2="";const _sfc_main$7={name:"equity-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DetailDialog},data(){return{fieldModel:[],oldFieldValue:null,rules:[],detailDialogVisible:!1,detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{objectSpanMethod({row:t,column:g,rowIndex:e,columnIndex:f}){if(["enterpriseName","enterpriseProjectCount","enterpriseTotalPlannedInvestment"].includes(g.property)){const m=this.getSameCompanyRows(e);if(m.length>1)return e===m[0]?{rowspan:m.length,colspan:1}:{rowspan:0,colspan:0}}return{rowspan:1,colspan:1}},getSameCompanyRows(t){const g=this.fieldModel[t].enterpriseName,e=[t];for(let f=t-1;f>=0&&this.fieldModel[f].enterpriseName===g;f--)e.unshift(f);for(let f=t+1;f<this.fieldModel.length&&this.fieldModel[f].enterpriseName===g;f++)e.push(f);return e},formatAmount,handleShowIsUpdate(){return!(this.field.options.disabled||!this.field.options.clickRow)},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(t){const g=this.fieldModel.findIndex(e=>e.id===t.id);g!==-1&&(this.fieldModel[g]=Ie(Ie({},this.fieldModel[g]),t),this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[g]))},triggerEvent(t,...g){var f,_;const e=(_=(f=this.field)==null?void 0:f.options)==null?void 0:_[t];if(e)try{if(t==="onOpen"&&g.length>0){const m=g[0];new Function("rowData",e).call(this,m)}else if(t==="onChange"){const m=g[0],A=g[1];if(this.subFormItemFlag){const b=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,m,A,b,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,m,A)}else if(g.length>0){const m=g.map((b,d)=>`arg${d}`).join(", ");new Function(m,e).apply(this,g)}else new Function(e).call(this)}catch(m){console.error(`Error executing ${t} handler:`,m),console.error("Handler code:",e),console.error("Args:",g)}},handleRow(t){const g=this.fieldModel.findIndex(e=>e.id===t.id);g!==-1&&(this.triggerEvent("onOpen",this.fieldModel[g]),this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[g]),setTimeout(()=>{this.detailDialogVisible=!0},800))},setDetailColHidden(t,g){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,g)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(t){const g=this.fieldModel.findIndex(f=>f.id===this.detailDialogData.id);if(g===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[g]=st(Ie(Ie({},this.fieldModel[g]),t),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$1={key:1},_hoisted_2$1={class:"funds"},_hoisted_3={class:"funds-source"},_hoisted_4={class:"funds"},_hoisted_5={class:"funds-source"},_hoisted_6={class:"funds"},_hoisted_7={class:"funds-source"},_hoisted_8={class:"funds"},_hoisted_9={class:"funds-source"};function _sfc_render$7(t,g,e,f,_,m){const A=vue.resolveComponent("el-table-column"),b=vue.resolveComponent("el-text"),d=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),n=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"equity-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(d,{data:_.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"","span-method":m.objectSpanMethod,style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(A,{prop:"enterpriseName",label:"\u516C\u53F8\u540D\u79F0",width:"150"}),vue.createVNode(A,{prop:"enterpriseProjectCount",label:"\u6570\u91CF",align:"left",width:"60"}),vue.createVNode(A,{prop:"projectName",align:"center",label:"\u9879\u76EE\u540D\u79F0",width:"200"},{default:vue.withCtx(({row:s})=>{var i,r;return[((r=(i=e.field)==null?void 0:i.options)==null?void 0:r.clickRow)&&s.projectName?(vue.openBlock(),vue.createBlock(b,{key:0,class:"click-text",type:"primary",onClick:o=>m.handleRow(s)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.projectName||"-"),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$1,vue.toDisplayString(s.projectName||"-"),1))]}),_:1}),vue.createVNode(A,{prop:"registeredCapital",label:"\u6CE8\u518C\u8D44\u672C(\u4E07\u5143)",width:"90"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.registeredCapital||0),1)]),_:1}),vue.createVNode(A,{prop:"subscribedCapital",label:"\u8BA4\u7F34\u51FA\u8D44(\u4E07\u5143)",width:"100"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.subscribedCapital||0),1)]),_:1}),vue.createVNode(A,{prop:"completedInvestment",label:"\u5DF2\u5B8C\u6210\u6295\u8D44(\u4E07\u5143)",width:"100"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.completedInvestment||0),1)]),_:1}),vue.createVNode(A,{prop:"currentYearPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u989D(\u4E07\u5143)",width:"111"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.currentYearPlannedInvestment||0),1)]),_:1}),vue.createVNode(A,{prop:"enterpriseTotalPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u603B\u989D(\u4E07\u5143)",width:"130"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.enterpriseTotalPlannedInvestment||0),1)]),_:1}),vue.createVNode(A,{prop:"label9",label:"\u8D44\u91D1\u6765\u6E90",width:"360"},{default:vue.withCtx(({row:s})=>[vue.createElementVNode("div",_hoisted_2$1,[vue.createElementVNode("div",_hoisted_3,"\u81EA\u6709\u8D44\u4EA7(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.ownFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.ownFundsPercent?s.ownFundsPercent+"%":"-"),1)]),vue.createElementVNode("div",_hoisted_4,[vue.createElementVNode("div",_hoisted_5,"\u94F6\u884C\u8D37\u6B3E(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.loanFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.loanFundsPercent?s.loanFundsPercent+"%":"-"),1)]),vue.createElementVNode("div",_hoisted_6,[vue.createElementVNode("div",_hoisted_7,"\u5176\u4ED6\u8D44\u91D1(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.otherFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.otherFundsPercent?s.otherFundsPercent+"%":"-"),1)]),vue.createElementVNode("div",_hoisted_8,[vue.createElementVNode("div",_hoisted_9," \u5173\u8054\u4F01\u4E1A\u501F\u6B3E\u8D44\u91D1(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.relatedPartyBorrowing||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.relatedPartyBorrowingPercent?s.relatedPartyBorrowingPercent+"%":"-"),1)])]),_:1}),vue.createVNode(A,{prop:"remark",label:"\u5907\u6CE8",width:"330"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.remark||"-"),1)]),_:1})]),_:1},8,["data","span-method"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:_.detailDialogVisible,typeJson:e.field.options.typeJson,data:_.detailDialogData,onClose:m.handleCloseDetailDialog,onConfirm:m.handleConfirm,disabled:e.field.options.disabled},null,8,["visible","typeJson","data","onClose","onConfirm","disabled"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var EquityTableSchema=_export_sfc$1(_sfc_main$7,[["render",_sfc_render$7],["__scopeId","data-v-3486e3fe"]]);const AssetTypeEnum={"0":"equity","1":"house","2":"land","3":"equipment","4":"vehicle","5":"intangible","6":"other_fixed","7":"electronic","8":"office_furniture"};var equity="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikdyb3VwIDI0NyI+CjxwYXRoIGlkPSJFbGxpcHNlIDUiIGQ9Ik0xMyA5QzEzIDEwLjE4NjcgMTIuNjQ4MSAxMS4zNDY3IDExLjk4ODggMTIuMzMzNEMxMS4zMjk1IDEzLjMyMDEgMTAuMzkyNSAxNC4wODkyIDkuMjk2MSAxNC41NDMzQzguMTk5NzQgMTQuOTk3NCA2Ljk5MzM0IDE1LjExNjIgNS44Mjk0NiAxNC44ODQ3QzQuNjY1NTcgMTQuNjUzMiAzLjU5NjQ3IDE0LjA4MTggMi43NTczNiAxMy4yNDI2QzEuOTE4MjQgMTIuNDAzNSAxLjM0NjggMTEuMzM0NCAxLjExNTI5IDEwLjE3MDVDMC44ODM3NzcgOS4wMDY2NiAxLjAwMjYgNy44MDAyNiAxLjQ1NjcyIDYuNzAzOUMxLjkxMDg1IDUuNjA3NTQgMi42Nzk4OCA0LjY3MDQ3IDMuNjY2NTggNC4wMTExOEM0LjY1MzI3IDMuMzUxODkgNS44MTMzMSAzIDcgM1Y5SDEzWiIgZmlsbD0iIzRFNTk2OSIvPgo8cGF0aCBpZD0iRWxsaXBzZSA2IiBvcGFjaXR5PSIwLjciIGQ9Ik0xNSA3LjVDMTUgNi42NDY0MSAxNC44MzE5IDUuODAxMTcgMTQuNTA1MiA1LjAxMjU2QzE0LjE3ODYgNC4yMjM5NCAxMy42OTk4IDMuNTA3MzkgMTMuMDk2MiAyLjkwMzgxQzEyLjQ5MjYgMi4zMDAyMyAxMS43NzYxIDEuODIxNDQgMTAuOTg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uZCIvPgo8cGF0aCBpZD0iVmVjdG9yIDUiIGQ9Ik00LjUgNkw1LjUgNC41IiBzdHJva2U9IiMzMTgyQ0UiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBpZD0iVmVjdG9yIDciIGQ9Ik00LjUgMTBMNS41IDguNSIgc3Ryb2tlPSIjMzE4MkNFIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=",index_vue_vue_type_style_index_0_scoped_true_lang$1="";const assetTypeImageMap={equity,"equity-active":equityActive,house,"house-active":houseActive,land,"land-active":landActive,equipment,"equipment-active":equipmentActive,vehicle,"vehicle-active":vehicleActive,intangible,"intangible-active":intangibleActive,other_fixed:otherFixed,"other_fixed-active":otherFixedActive,electronic,"electronic-active":electronicActive,office_furniture:officeFurniture,"office_furniture-active":officeFurnitureActive},_sfc_main$6={name:"asset-type-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,rules:[],selectedValue:null,assetTypeOptions:[]}},computed:{},watch:{"field.options.assetTypeValue":{handler(t){this.fieldModel=t,this.syncUpdateFormModel(t)},immediate:!0}},methods:{getAssetTypeImage(t,g){const e=AssetTypeEnum[t];if(!e)return"";const f=g==="selected"?`${e}-active`:`${e}`;return assetTypeImageMap[f]||""},getAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:t}})=>{this.assetTypeOptions=t.map(g=>({label:g.label,value:g.itemValue})),console.log("assetTypeOptions",this.assetTypeOptions)})}},mounted(){this.getAssetTypeOptions()},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()}},_hoisted_1=["src"],_hoisted_2={class:"item-label"};function _sfc_render$6(t,g,e,f,_,m){const A=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(A,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-type-widget",style:vue.normalizeStyle(t.widgetStyle)},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.assetTypeOptions,b=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["asset-type-item",{selected:_.fieldModel===b.value}]),key:b.value},[b.value!=="all"?(vue.openBlock(),vue.createElementBlock("img",{key:0,src:m.getAssetTypeImage(b.value,_.fieldModel===b.value?"selected":"normal"),alt:"",class:""},null,8,_hoisted_1)):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_2,vue.toDisplayString(b.label),1)],2))),128))],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AssetTypeWidget=_export_sfc$1(_sfc_main$6,[["render",_sfc_render$6],["__scopeId","data-v-7351af35"]]);const _sfc_main$5={name:"current-user-second-company-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[]}},computed:{displayModel(){var t,g;return(g=(t=this.fieldModel)==null?void 0:t.companyName)!=null?g:""},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}}},methods:{hasExistingValue(){var g;const t=(g=this.fieldModel)!=null?g:this.oldFieldValue;return t==null||t===""?!1:typeof t=="object"?!!(t.companyName||t.id||t.companyId):!0},tryLoadCurrentUserSecondCompany(){console.log(this.designState,this.hasExistingValue(),"222222222"),!(this.designState||this.hasExistingValue())&&this.getCurrentUserSecondCompany()},async getCurrentUserSecondCompany(){if(this.hasExistingValue())return;const{data:t}=await service$1({method:"get",url:"unified-system/sysCompany/targetCompany",params:{id:sessionStorage.getItem("companyId")}});this.hasExistingValue()||(this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue))}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){console.log(this.designState,this.modelValue,this.hasExistingValue(),"333333333"),this.$nextTick(()=>{this.tryLoadCurrentUserSecondCompany()})}};function _sfc_render$5(t,g,e,f,_,m){const A=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(A,{modelValue:m.displayModel,"onUpdate:modelValue":g[0]||(g[0]=d=>m.displayModel=d),disabled:!0},null,8,["modelValue"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CurrentUserSecondCompanyWidget=_export_sfc$1(_sfc_main$5,[["render",_sfc_render$5]]);const _sfc_main$4={name:"custom-input-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,SvgIcon},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{inputType(){return this.field.options.type==="number"?"text":this.field.options.type}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.hasExistingValue()||this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{hasExistingValue(){var g;const t=(g=this.fieldModel)!=null?g:this.oldFieldValue;return t!=null&&t!==""}}};function _sfc_render$4(t,g,e,f,_,m){const A=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(d,{ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[0]||(g[0]=n=>_.fieldModel=n),disabled:t.getDisabled(),readonly:e.field.options.readonly,size:t.widgetSize,class:"hide-spin-button",type:m.inputType,"show-password":e.field.options.showPassword,placeholder:e.field.options.placeholder,clearable:e.field.options.clearable,minlength:e.field.options.minLength,maxlength:e.field.options.maxLength,"show-word-limit":e.field.options.showWordLimit,"prefix-icon":e.field.options.prefixIcon,"suffix-icon":e.field.options.suffixIcon,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onInput:t.handleInputCustomEvent,onChange:t.handleChangeEvent},vue.createSlots({_:2},[e.field.options.appendButton?{name:"append",fn:vue.withCtx(()=>[vue.createVNode(b,{disabled:t.getDisabled()||e.field.options.appendButtonDisabled,onClick:t.emitAppendButtonClick},{default:vue.withCtx(()=>[vue.createVNode(A,{"icon-class":e.field.options.buttonIcon},null,8,["icon-class"])]),_:1},8,["disabled","onClick"])]),key:"0"}:void 0]),1032,["modelValue","disabled","readonly","size","type","show-password","placeholder","clearable","minlength","maxlength","show-word-limit","prefix-icon","suffix-icon","onFocus","onBlur","onInput","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CustomInputWidget=_export_sfc$1(_sfc_main$4,[["render",_sfc_render$4]]),index_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$3={name:"date-time-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()}};function _sfc_render$3(t,g,e,f,_,m){const A=vue.resolveComponent("el-date-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(A,{ref:"fieldEditor",type:"datetime",modelValue:_.fieldModel,"onUpdate:modelValue":g[0]||(g[0]=d=>_.fieldModel=d),class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),readonly:e.field.options.readonly,disabled:t.getDisabled(),size:t.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":e.field.options.valueFormat,placeholder:e.field.options.placeholder||t.i18nt("render.hint.datePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},null,8,["modelValue","class","readonly","disabled","size","clearable","editable","format","value-format","placeholder","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var DateTimeWidget=_export_sfc$1(_sfc_main$3,[["render",_sfc_render$3],["__scopeId","data-v-6cf3db2e"]]);const _sfc_main$2={name:"date-time-format-editor",mixins:[i18n$1],props:{designer:Object,selectedWidget:Object,optionModel:Object}};function _sfc_render$2(t,g,e,f,_,m){const A=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),d=vue.resolveComponent("el-form-item");return vue.openBlock(),vue.createBlock(d,{label:t.i18nt("designer.setting.format")},{default:vue.withCtx(()=>[vue.createVNode(b,{modelValue:e.optionModel.format,"onUpdate:modelValue":g[0]||(g[0]=u=>e.optionModel.format=u),filterable:"","allow-create":""},{default:vue.withCtx(()=>[vue.createVNode(A,{label:"YYYY-MM-DD HH:mm:ss",value:"YYYY-MM-DD HH:mm:ss"}),vue.createVNode(A,{label:"YYYY-MM-DD HH:mm",value:"YYYY-MM-DD HH:mm"}),vue.createVNode(A,{label:"YYYY/MM/DD HH:mm:ss",value:"YYYY/MM/DD HH:mm:ss"}),vue.createVNode(A,{label:"YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss",value:"YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss"})]),_:1},8,["modelValue"])]),_:1},8,["label"])}var DateTimeFormatEditor=_export_sfc$1(_sfc_main$2,[["render",_sfc_render$2]]);const _sfc_main$1={name:"date-time-valueFormat-editor",mixins:[i18n$1],props:{designer:Object,selectedWidget:Object,optionModel:Object}};function _sfc_render$1(t,g,e,f,_,m){const A=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),d=vue.resolveComponent("el-form-item");return vue.openBlock(),vue.createBlock(d,{label:t.i18nt("designer.setting.valueFormat")},{default:vue.withCtx(()=>[vue.createVNode(b,{modelValue:e.optionModel.valueFormat,"onUpdate:modelValue":g[0]||(g[0]=u=>e.optionModel.valueFormat=u),filterable:"","allow-create":""},{default:vue.withCtx(()=>[vue.createVNode(A,{label:"YYYY-MM-DD HH:mm:ss",value:"YYYY-MM-DD HH:mm:ss"}),vue.createVNode(A,{label:"YYYY-MM-DD HH:mm",value:"YYYY-MM-DD HH:mm"}),vue.createVNode(A,{label:"YYYY/MM/DD HH:mm:ss",value:"YYYY/MM/DD HH:mm:ss"}),vue.createVNode(A,{label:"YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss",value:"YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss"})]),_:1},8,["modelValue"])]),_:1},8,["label"])}var DateTimeValueFormatEditor=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1]]),propertyMixin={methods:{hasConfig(t){return!this.designer||!this.designer.selectedWidget?!1:this.designer.hasConfig(this.selectedWidget,t)},emitDefaultValueChange(){if(this.designer&&this.designer.formWidget){let t=this.designer.formWidget.getWidgetRef(this.designer.selectedWidget.options.name);!!t&&!!t.refreshDefaultValue&&t.refreshDefaultValue()}},inputNumberHandler(t){t=t.replace(/[^0-9]/gi,"")},onRemoteChange(t){t&&(this.optionModel.filterable=!0,this.optionModel.allowCreate=!1)},onMultipleSelected(t){t?this.optionModel.defaultValue=[]:!!this.optionModel.defaultValue&&this.optionModel.defaultValue.length>0?this.optionModel.defaultValue=this.optionModel.defaultValue[0]:this.optionModel.defaultValue=""}}};const _sfc_main={name:"date-time-defaultValue-editor",mixins:[i18n$1,propertyMixin],props:{designer:Object,selectedWidget:Object,optionModel:Object}};function _sfc_render(t,g,e,f,_,m){const A=vue.resolveComponent("el-date-picker"),b=vue.resolveComponent("el-form-item");return vue.openBlock(),vue.createBlock(b,{label:t.i18nt("designer.setting.defaultValue")},{default:vue.withCtx(()=>[vue.createVNode(A,{type:"datetime",modelValue:e.optionModel.defaultValue,"onUpdate:modelValue":g[0]||(g[0]=d=>e.optionModel.defaultValue=d),onChange:t.emitDefaultValueChange,format:e.optionModel.format,"value-format":e.optionModel.valueFormat,style:{width:"100%"}},null,8,["modelValue","onChange","format","value-format"])]),_:1},8,["label"])}var DateTimeDefaultValueEditor=_export_sfc$1(_sfc_main,[["render",_sfc_render]]);const loadExtension=function(t){t.component(CardWidget.name,CardWidget),t.component(CardItem.name,CardItem),registerCPEditor(t,"card-folded","card-folded-editor",createBooleanEditor("folded","extension.setting.cardFolded")),registerCPEditor(t,"card-showFold","card-showFold-editor",createBooleanEditor("showFold","extension.setting.cardShowFold")),registerCPEditor(t,"card-cardWidth","card-cardWidth-editor",createInputTextEditor("cardWidth","extension.setting.cardWidth")),registerCPEditor(t,"card-shadow","card-shadow-editor",createSelectEditor("shadow","extension.setting.cardShadow",{optionItems:[{label:"never",value:"never"},{label:"hover",value:"hover"},{label:"always",value:"always"}]})),registerCPEditor(t,"mainTip","mainTip-editor",createInputTextEditor("mainTip","designer.setting.mainTip")),registerCPEditor(t,"subTip","subTip-editor",createInputTextEditor("subTip","designer.setting.subTip")),t.component(AlertWidget.name,AlertWidget),registerCPEditor(t,"alert-title","alert-title-editor",createInputTextEditor("title","extension.setting.alertTitle"));let e=[{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"info",value:"info"},{label:"error",value:"error"}];t.component("alert-type-editor",createSelectEditor("type","extension.setting.alertType",{optionItems:e})),registerCPEditor(t,"alert-description","alert-description-editor",createInputTextEditor("description","extension.setting.description")),registerCPEditor(t,"alert-closable","alert-closable-editor",createBooleanEditor("closable","extension.setting.closable")),registerCPEditor(t,"alert-closeText","alert-closeText-editor",createInputTextEditor("closeText","extension.setting.closeText")),registerCPEditor(t,"alert-center","alert-center-editor",createBooleanEditor("center","extension.setting.center")),registerCPEditor(t,"alert-showIcon","alert-showIcon-editor",createBooleanEditor("showIcon","extension.setting.showIcon")),registerCPEditor(t,"alert-effect","alert-effect-editor",createRadioButtonGroupEditor("effect","extension.setting.effect",{optionItems:[{label:"light",value:"light"},{label:"dark",value:"dark"}]})),registerEPEditor(t,"alert-onClose","alert-onClose-editor",createEventHandlerEditor("onClose",[])),t.component(PersonTreeWidget.name,PersonTreeWidget),registerCPEditor(t,"person-tree-buttonText","person-tree-buttonText-editor",createInputTextEditor("buttonText","extension.setting.personTreeButtonText")),registerCPEditor(t,"person-tree-dialogTitle","person-tree-dialogTitle-editor",createInputTextEditor("dialogTitle","extension.setting.personTreeDialogTitle")),registerCPEditor(t,"person-tree-treeParams","person-tree-treeParams-editor",createTextareaEditor("treeParams","extension.setting.personTreeTreeParams",{rows:4})),registerAPEditor(t,"person-tree-dialogWidth","person-tree-dialogWidth-editor",createInputTextEditor("dialogWidth","extension.setting.personTreeDialogWidth")),registerCPEditor(t,"person-tree-confirmText","person-tree-confirmText-editor",createInputTextEditor("confirmText","extension.setting.personTreeConfirmText")),registerCPEditor(t,"person-tree-cancelText","person-tree-cancelText-editor",createInputTextEditor("cancelText","extension.setting.personTreeCancelText")),registerCPEditor(t,"person-tree-hideFooter","person-tree-hideFooter-editor",createBooleanEditor("hideFooter","extension.setting.personTreeHideFooter")),registerEPEditor(t,"person-tree-onOpen","person-tree-onOpen-editor",createEventHandlerEditor("onOpen",[])),registerEPEditor(t,"person-tree-onConfirm","person-tree-onConfirm-editor",createEventHandlerEditor("onConfirm",["checkedNodes"])),registerEPEditor(t,"person-tree-onRemoveTag","person-tree-onRemoveTag-editor",createEventHandlerEditor("onRemoveTag",["removedItem","remainingNodes","removedIndex"])),registerEPEditor(t,"person-tree-onCancel","person-tree-onCancel-editor",createEventHandlerEditor("onCancel",[])),registerEPEditor(t,"person-tree-onClose","person-tree-onClose-editor",createEventHandlerEditor("onClose",[])),t.component(radioOtherItem.name,radioOtherItem),t.component(selectOtherItem.name,selectOtherItem),t.component(meetingRoomItem.name,meetingRoomItem),registerCPEditor(t,"meeting-room-remoteUrl","meeting-room-remoteUrl-editor",createInputTextEditor("remoteUrl","extension.setting.meetingRoomRemoteUrl")),registerCPEditor(t,"meeting-room-allowMultiple","meeting-room-allowMultiple-editor",createBooleanEditor("allowMultiple","extension.setting.allowMultiple")),t.component(CustomSubFormWidget.name,CustomSubFormWidget),t.component(CustomSubFormItem.name,CustomSubFormItem),t.component(CustomTableWidget.name,CustomTableWidget),t.component(CustomTableItem.name,CustomTableItem),t.component(CustomTableCellWidget.name,CustomTableCellWidget),t.component(CustomTableCellItem.name,CustomTableCellItem),t.component(SubTableWidget.name,SubTableWidget),t.component(SubTableItem.name,SubTableItem),registerCPEditor(t,"sub-table-showIndex","sub-table-showIndex-editor",createBooleanEditor("showIndex","extension.setting.subTableShowIndex")),t.component("sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(t,"sub-table-columns","sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(t,"select-tree-showCheckbox","select-tree-showCheckbox-editor",createBooleanEditor("showCheckbox","designer.setting.showCheckbox")),registerCPEditor(t,"select-tree-checkStrictly","select-tree-checkStrictly-editor",createBooleanEditor("checkStrictly","extension.setting.selectTreeCheckStrictly")),t.component(CurrentUserWidget.name,CurrentUserWidget),registerCPEditor(t,"current-user-type","current-user-type-editor",createSelectEditor("type","extension.setting.currentUserType",{optionItems:[{label:"\u7528\u6237\u540D",value:"username"},{label:"\u90E8\u95E8\u540D\u79F0",value:"deptName"},{label:"\u516C\u53F8\u540D\u79F0",value:"companyName"}]})),registerCPEditor(t,"current-user-valueType","current-user-valueType-editor",createSelectEditor("valueType","extension.setting.currentUserValueType",{optionItems:[{label:"\u5B57\u7B26\u4E32",value:"string"},{label:"\u5BF9\u8C61",value:"object"}]})),t.component(CurrentUserSecondCompanyWidget.name,CurrentUserSecondCompanyWidget),t.component(AssetSelectWidget.name,AssetSelectWidget),registerCPEditor(t,"asset-select-buttonText","asset-select-buttonText-editor",createInputTextEditor("buttonText","extension.setting.assetSelectButtonText")),registerCPEditor(t,"asset-select-typeJson","asset-select-typeJson-editor",createTextareaEditor("typeJson","extension.setting.assetSelectTypeJson",{rows:4})),registerCPEditor(t,"asset-select-assetTypeValue","asset-select-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetSelectAssetTypeValue")),registerCPEditor(t,"asset-select-assetLimit","asset-select-assetLimit-editor",createInputNumberEditor("assetLimit","extension.setting.assetSelectAssetLimit")),t.component(DocumentSelectWidget.name,DocumentSelectWidget),registerCPEditor(t,"document-select-buttonText","document-select-buttonText-editor",createInputTextEditor("buttonText","extension.setting.documentSelectButtonText")),registerCPEditor(t,"document-select-documentTypeValue","document-select-documentTypeValue-editor",createInputTextEditor("documentTypeValue","extension.setting.documentSelectDocumentTypeValue")),registerCPEditor(t,"document-select-documentLimit","document-select-documentLimit-editor",createInputNumberEditor("documentLimit","extension.setting.documentSelectDocumentLimit")),registerCPEditor(t,"document-select-documentListUrl","document-select-documentListUrl-editor",createInputTextEditor("documentListUrl","extension.setting.documentSelectDocumentListUrl")),registerEPEditor(t,"document-select-onConfirm","document-select-onConfirm-editor",createEventHandlerEditor("onConfirm",["checkedNodes"])),registerEPEditor(t,"document-select-onCancel","document-select-onCancel-editor",createEventHandlerEditor("onCancel",[])),registerEPEditor(t,"document-select-onClose","document-select-onClose-editor",createEventHandlerEditor("onClose",[])),t.component(DictSelectWidget.name,DictSelectWidget),registerCPEditor(t,"dict-select-dictCode","dict-select-dictCode-editor",DictSelectDictCodeEditor),registerCPEditor(t,"dict-select-type","dict-select-type-editor",createSelectEditor("type","extension.setting.dictSelectType",{optionItems:[{label:"\u4E0B\u62C9\u6846",value:"select"},{label:"\u5355\u9009\u6846",value:"radio"},{label:"\u590D\u9009\u6846",value:"checkbox"}]})),t.component(AssetTableWidget.name,AssetTableWidget),registerCPEditor(t,"asset-table-typeJson","asset-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.assetTableTypeJson")),registerCPEditor(t,"asset-table-clickRow","asset-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.assetTableClickRow")),registerEPEditor(t,"asset-table-onOpen","asset-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),t.component(FixedTableWidget.name,FixedTableWidget),registerCPEditor(t,"fixed-table-typeJson","fixed-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.fixedTableTypeJson")),registerCPEditor(t,"fixed-table-clickRow","fixed-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.fixedTableClickRow")),registerEPEditor(t,"fixed-table-onOpen","fixed-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),t.component(EquityTableSchema.name,EquityTableSchema),registerCPEditor(t,"equity-table-typeJson","equity-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.equityTableTypeJson")),registerCPEditor(t,"equity-table-clickRow","equity-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.equityTableClickRow")),registerEPEditor(t,"equity-table-onOpen","equity-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),t.component(ResolutionTableWidget.name,ResolutionTableWidget),t.component(AssetTypeWidget.name,AssetTypeWidget),registerCPEditor(t,"asset-type-assetTypeValue","asset-type-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetTypeAssetTypeValue")),t.component(CustomInputWidget.name,CustomInputWidget),t.component(DateTimeWidget.name,DateTimeWidget),t.component("date-time-format-editor",DateTimeFormatEditor),t.component("date-time-valueFormat-editor",DateTimeValueFormatEditor),t.component("date-time-defaultValue-editor",DateTimeDefaultValueEditor)};function getElMessage(t){var g,e,f;try{if((e=(g=t==null?void 0:t.config)==null?void 0:g.globalProperties)==null?void 0:e.$message)return t.config.globalProperties.$message;if(typeof window!="undefined"&&window.ElementPlus)return window.ElementPlus.ElMessage||((f=window.ElementPlus.default)==null?void 0:f.ElMessage)||null}catch{}return null}VFormRender.install=function(t,g={}){loadExtension(t),t.use(ContainerItems),registerIcon(t),t.component(VFormRender.name,VFormRender),t.config.globalProperties.$service=service$1,t.provide("service",service$1),t.provide("ElMessage",getElMessage(t))};const components=[VFormRender],install=(t,g={})=>{loadExtension(t),t.use(ContainerItems),registerIcon(t),components.forEach(e=>{t.component(e.name,e)}),t.config.globalProperties.$service=service$1,t.provide("service",service$1),window.axios=axios,typeof window!="undefined"&&(window.service=service$1)};var installRender={install,VFormRender,dictManager};return installRender});
1353
+ `,"autocompletion.css",!1),f.AcePopup=p,f.$singleLineEditor=h,f.getAriaId=r}),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],function(e,f,_){var m=function(){function A(b){this.editor=b,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return A.prototype.setScreenReaderContent=function(b){for(!this.popup&&this.editor.completer&&this.editor.completer.popup&&(this.popup=this.editor.completer.popup,this.popup.renderer.on("afterRender",function(){var u=this.popup.getRow(),n=this.popup.renderer.$textLayer,s=n.element.childNodes[u-n.config.firstRow];if(s){for(var i="doc-tooltip ",r=0;r<this._lines.length;r++)i+="ace-inline-screenreader-line-".concat(r," ");s.setAttribute("aria-describedby",i)}}.bind(this)));this.screenReaderDiv.firstChild;)this.screenReaderDiv.removeChild(this.screenReaderDiv.firstChild);this._lines=b.split(/\r\n|\r|\n/);var d=this.createCodeBlock();this.screenReaderDiv.appendChild(d)},A.prototype.destroy=function(){this.screenReaderDiv.remove()},A.prototype.createCodeBlock=function(){var b=document.createElement("pre");b.setAttribute("id","ace-inline-screenreader");for(var d=0;d<this._lines.length;d++){var u=document.createElement("code");u.setAttribute("id","ace-inline-screenreader-line-".concat(d));var n=document.createTextNode(this._lines[d]);u.appendChild(n),b.appendChild(u)}return b},A}();f.AceInlineScreenReader=m}),ace.define("ace/autocomplete/inline",["require","exports","module","ace/snippets","ace/autocomplete/inline_screenreader"],function(e,f,_){var m=e("../snippets").snippetManager,A=e("./inline_screenreader").AceInlineScreenReader,b=function(){function d(){this.editor=null}return d.prototype.show=function(u,n,s){if(s=s||"",u&&this.editor&&this.editor!==u&&(this.hide(),this.editor=null,this.inlineScreenReader=null),!u||!n)return!1;this.inlineScreenReader||(this.inlineScreenReader=new A(u));var i=n.snippet?m.getDisplayTextForSnippet(u,n.snippet):n.value;return n.hideInlinePreview||!i||!i.startsWith(s)?!1:(this.editor=u,this.inlineScreenReader.setScreenReaderContent(i),i=i.slice(s.length),i===""?u.removeGhostText():u.setGhostText(i),!0)},d.prototype.isOpen=function(){return this.editor?!!this.editor.renderer.$ghostText:!1},d.prototype.hide=function(){return this.editor?(this.editor.removeGhostText(),!0):!1},d.prototype.destroy=function(){this.hide(),this.editor=null,this.inlineScreenReader&&(this.inlineScreenReader.destroy(),this.inlineScreenReader=null)},d}();f.AceInline=b}),ace.define("ace/autocomplete/util",["require","exports","module"],function(e,f,_){f.parForEach=function(A,b,d){var u=0,n=A.length;n===0&&d();for(var s=0;s<n;s++)b(A[s],function(i,r){u++,u===n&&d(i,r)})};var m=/[a-zA-Z_0-9\$\-\u00A2-\u2000\u2070-\uFFFF]/;f.retrievePrecedingIdentifier=function(A,b,d){d=d||m;for(var u=[],n=b-1;n>=0&&d.test(A[n]);n--)u.push(A[n]);return u.reverse().join("")},f.retrieveFollowingIdentifier=function(A,b,d){d=d||m;for(var u=[],n=b;n<A.length&&d.test(A[n]);n++)u.push(A[n]);return u},f.getCompletionPrefix=function(A){var b=A.getCursorPosition(),d=A.session.getLine(b.row),u;return A.completers.forEach(function(n){n.identifierRegexps&&n.identifierRegexps.forEach(function(s){!u&&s&&(u=this.retrievePrecedingIdentifier(d,b.column,s))}.bind(this))}.bind(this)),u||this.retrievePrecedingIdentifier(d,b.column)},f.triggerAutocomplete=function(A,b){var b=b==null?A.session.getPrecedingCharacter():b;return A.completers.some(function(d){if(d.triggerCharacters&&Array.isArray(d.triggerCharacters))return d.triggerCharacters.includes(b)})}}),ace.define("ace/autocomplete",["require","exports","module","ace/keyboard/hash_handler","ace/autocomplete/popup","ace/autocomplete/inline","ace/autocomplete/popup","ace/autocomplete/util","ace/lib/lang","ace/lib/dom","ace/snippets","ace/config","ace/lib/event","ace/lib/scroll"],function(e,f,_){var m=e("./keyboard/hash_handler").HashHandler,A=e("./autocomplete/popup").AcePopup,b=e("./autocomplete/inline").AceInline,d=e("./autocomplete/popup").getAriaId,u=e("./autocomplete/util"),n=e("./lib/lang"),s=e("./lib/dom"),i=e("./snippets").snippetManager,r=e("./config"),o=e("./lib/event"),a=e("./lib/scroll").preventParentScroll,l=function(v,x){x.completer&&x.completer.destroy()},h=function(){function v(){this.autoInsert=!1,this.autoSelect=!0,this.autoShown=!1,this.exactMatch=!1,this.inlineEnabled=!1,this.keyboardHandler=new m,this.keyboardHandler.bindKeys(this.commands),this.parentNode=null,this.setSelectOnHover=!1,this.hasSeen=new Set,this.showLoadingState=!1,this.stickySelectionDelay=500,this.blurListener=this.blurListener.bind(this),this.changeListener=this.changeListener.bind(this),this.mousedownListener=this.mousedownListener.bind(this),this.mousewheelListener=this.mousewheelListener.bind(this),this.onLayoutChange=this.onLayoutChange.bind(this),this.changeTimer=n.delayedCall(function(){this.updateCompletions(!0)}.bind(this)),this.tooltipTimer=n.delayedCall(this.updateDocTooltip.bind(this),50),this.popupTimer=n.delayedCall(this.$updatePopupPosition.bind(this),50),this.stickySelectionTimer=n.delayedCall(function(){this.stickySelection=!0}.bind(this),this.stickySelectionDelay),this.$firstOpenTimer=n.delayedCall(function(){var x=this.completionProvider&&this.completionProvider.initialPosition;this.autoShown||this.popup&&this.popup.isOpen||!x||this.editor.completers.length===0||(this.completions=new w(v.completionsForLoading),this.openPopup(this.editor,x.prefix,!1),this.popup.renderer.setStyle("ace_loading",!0))}.bind(this),this.stickySelectionDelay)}return Object.defineProperty(v,"completionsForLoading",{get:function(){return[{caption:r.nls("autocomplete.loading","Loading..."),value:""}]},enumerable:!1,configurable:!0}),v.prototype.$init=function(){return this.popup=new A(this.parentNode||document.body||document.documentElement),this.popup.on("click",function(x){this.insertMatch(),x.stop()}.bind(this)),this.popup.focus=this.editor.focus.bind(this.editor),this.popup.on("show",this.$onPopupShow.bind(this)),this.popup.on("hide",this.$onHidePopup.bind(this)),this.popup.on("select",this.$onPopupChange.bind(this)),o.addListener(this.popup.container,"mouseout",this.mouseOutListener.bind(this)),this.popup.on("changeHoverMarker",this.tooltipTimer.bind(null,null)),this.popup.renderer.on("afterRender",this.$onPopupRender.bind(this)),this.popup},v.prototype.$initInline=function(){if(!(!this.inlineEnabled||this.inlineRenderer))return this.inlineRenderer=new b,this.inlineRenderer},v.prototype.getPopup=function(){return this.popup||this.$init()},v.prototype.$onHidePopup=function(){this.inlineRenderer&&this.inlineRenderer.hide(),this.hideDocTooltip(),this.stickySelectionTimer.cancel(),this.popupTimer.cancel(),this.stickySelection=!1},v.prototype.$seen=function(x){!this.hasSeen.has(x)&&x&&x.completer&&x.completer.onSeen&&typeof x.completer.onSeen=="function"&&(x.completer.onSeen(this.editor,x),this.hasSeen.add(x))},v.prototype.$onPopupChange=function(x){if(this.inlineRenderer&&this.inlineEnabled){var y=x?null:this.popup.getData(this.popup.getRow());if(this.$updateGhostText(y),this.popup.isMouseOver&&this.setSelectOnHover){this.tooltipTimer.call(null,null);return}this.popupTimer.schedule(),this.tooltipTimer.schedule()}else this.popupTimer.call(null,null),this.tooltipTimer.call(null,null)},v.prototype.$updateGhostText=function(x){var y=this.base.row,M=this.base.column,T=this.editor.getCursorPosition().column,L=this.editor.session.getLine(y).slice(M,T);this.inlineRenderer.show(this.editor,x,L)?this.$seen(x):this.inlineRenderer.hide()},v.prototype.$onPopupRender=function(){var x=this.inlineRenderer&&this.inlineEnabled;if(this.completions&&this.completions.filtered&&this.completions.filtered.length>0)for(var y=this.popup.getFirstVisibleRow();y<=this.popup.getLastVisibleRow();y++){var M=this.popup.getData(y);M&&(!x||M.hideInlinePreview)&&this.$seen(M)}},v.prototype.$onPopupShow=function(x){this.$onPopupChange(x),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},v.prototype.observeLayoutChanges=function(){if(!(this.$elements||!this.editor)){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var x=this.editor.container.parentNode,y=[];x;)y.push(x),x.addEventListener("scroll",this.onLayoutChange,{passive:!0}),x=x.parentNode;this.$elements=y}},v.prototype.unObserveLayoutChanges=function(){var x=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach(function(y){y.removeEventListener("scroll",x.onLayoutChange,{passive:!0})}),this.$elements=null},v.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},v.prototype.$updatePopupPosition=function(){var x=this.editor,y=x.renderer,M=y.layerConfig.lineHeight,T=y.$cursorLayer.getPixelPosition(this.base,!0);T.left-=this.popup.getTextLeftOffset();var L=x.container.getBoundingClientRect();T.top+=L.top-y.layerConfig.offset,T.left+=L.left-x.renderer.scrollLeft,T.left+=y.gutterWidth;var S={top:T.top,left:T.left};y.$ghostText&&y.$ghostTextWidget&&this.base.row===y.$ghostText.position.row&&(S.top+=y.$ghostTextWidget.el.offsetHeight);var N=x.container.getBoundingClientRect().bottom-M,k=N<S.top?{top:N,left:S.left}:S;this.popup.tryShow(k,M,"bottom")||this.popup.tryShow(T,M,"top")||this.popup.show(T,M)},v.prototype.openPopup=function(x,y,M){this.$firstOpenTimer.cancel(),this.popup||this.$init(),this.inlineEnabled&&!this.inlineRenderer&&this.$initInline(),this.popup.autoSelect=this.autoSelect,this.popup.setSelectOnHover(this.setSelectOnHover);var T=this.popup.getRow(),L=this.popup.data[T];this.popup.setData(this.completions.filtered,this.completions.filterText),this.editor.textInput.setAriaOptions&&this.editor.textInput.setAriaOptions({activeDescendant:d(this.popup.getRow()),inline:this.inlineEnabled}),x.keyBinding.addKeyboardHandler(this.keyboardHandler);var S;this.stickySelection&&(S=this.popup.data.indexOf(L)),(!S||S===-1)&&(S=0),this.popup.setRow(this.autoSelect?S:-1),S===T&&L!==this.completions.filtered[S]&&this.$onPopupChange();var N=this.inlineRenderer&&this.inlineEnabled;if(S===T&&N){var k=this.popup.getData(this.popup.getRow());this.$updateGhostText(k)}M||(this.popup.setTheme(x.getTheme()),this.popup.setFontSize(x.getFontSize()),this.$updatePopupPosition(),this.tooltipNode&&this.updateDocTooltip()),this.changeTimer.cancel(),this.observeLayoutChanges()},v.prototype.detach=function(){this.editor&&(this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.off("changeSelection",this.changeListener),this.editor.off("blur",this.blurListener),this.editor.off("mousedown",this.mousedownListener),this.editor.off("mousewheel",this.mousewheelListener)),this.$firstOpenTimer.cancel(),this.changeTimer.cancel(),this.hideDocTooltip(),this.completionProvider&&this.completionProvider.detach(),this.popup&&this.popup.isOpen&&this.popup.hide(),this.popup&&this.popup.renderer&&this.popup.renderer.off("afterRender",this.$onPopupRender),this.base&&this.base.detach(),this.activated=!1,this.completionProvider=this.completions=this.base=null,this.unObserveLayoutChanges()},v.prototype.changeListener=function(x){var y=this.editor.selection.lead;(y.row!=this.base.row||y.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},v.prototype.blurListener=function(x){var y=document.activeElement,M=this.editor.textInput.getElement(),T=x.relatedTarget&&this.tooltipNode&&this.tooltipNode.contains(x.relatedTarget),L=this.popup&&this.popup.container;y!=M&&y.parentNode!=L&&!T&&y!=this.tooltipNode&&x.relatedTarget!=M&&this.detach()},v.prototype.mousedownListener=function(x){this.detach()},v.prototype.mousewheelListener=function(x){this.popup&&!this.popup.isMouseOver&&this.detach()},v.prototype.mouseOutListener=function(x){this.popup.isOpen&&this.$updatePopupPosition()},v.prototype.goTo=function(x){this.popup.goTo(x)},v.prototype.insertMatch=function(x,y){if(x||(x=this.popup.getData(this.popup.getRow())),!x)return!1;if(x.value==="")return this.detach();var M=this.completions,T=this.getCompletionProvider().insertMatch(this.editor,x,M.filterText,y);return this.completions==M&&this.detach(),T},v.prototype.showPopup=function(x,y){this.editor&&this.detach(),this.activated=!0,this.editor=x,x.completer!=this&&(x.completer&&x.completer.detach(),x.completer=this),x.on("changeSelection",this.changeListener),x.on("blur",this.blurListener),x.on("mousedown",this.mousedownListener),x.on("mousewheel",this.mousewheelListener),this.updateCompletions(!1,y)},v.prototype.getCompletionProvider=function(x){return this.completionProvider||(this.completionProvider=new p(x)),this.completionProvider},v.prototype.gatherCompletions=function(x,y){return this.getCompletionProvider().gatherCompletions(x,y)},v.prototype.updateCompletions=function(x,y){if(x&&this.base&&this.completions){var T=this.editor.getCursorPosition(),L=this.editor.session.getTextRange({start:this.base,end:T});if(L==this.completions.filterText)return;if(this.completions.setFilter(L),!this.completions.filtered.length)return this.detach();if(this.completions.filtered.length==1&&this.completions.filtered[0].value==L&&!this.completions.filtered[0].snippet)return this.detach();this.openPopup(this.editor,L,x);return}if(y&&y.matches){var T=this.editor.getSelectionRange().start;return this.base=this.editor.session.doc.createAnchor(T.row,T.column),this.base.$insertRight=!0,this.completions=new w(y.matches),this.getCompletionProvider().completions=this.completions,this.openPopup(this.editor,"",x)}var M=this.editor.getSession(),T=this.editor.getCursorPosition(),L=u.getCompletionPrefix(this.editor);this.base=M.doc.createAnchor(T.row,T.column-L.length),this.base.$insertRight=!0;var S={exactMatch:this.exactMatch,ignoreCaption:this.ignoreCaption};this.getCompletionProvider({prefix:L,pos:T}).provideCompletions(this.editor,S,function(N,k,D){var E=k.filtered,I=u.getCompletionPrefix(this.editor);if(this.$firstOpenTimer.cancel(),D){if(!E.length){var F=!this.autoShown&&this.emptyMessage;if(typeof F=="function"&&(F=this.emptyMessage(I)),F){var O=[{caption:F,value:""}];this.completions=new w(O),this.openPopup(this.editor,I,x),this.popup.renderer.setStyle("ace_loading",!1),this.popup.renderer.setStyle("ace_empty-message",!0);return}return this.detach()}if(E.length==1&&E[0].value==I&&!E[0].snippet)return this.detach();if(this.autoInsert&&!this.autoShown&&E.length==1)return this.insertMatch(E[0])}this.completions=!D&&this.showLoadingState?new w(v.completionsForLoading.concat(E),k.filterText):k,this.openPopup(this.editor,I,x),this.popup.renderer.setStyle("ace_empty-message",!1),this.popup.renderer.setStyle("ace_loading",!D)}.bind(this)),this.showLoadingState&&!this.autoShown&&(!this.popup||!this.popup.isOpen)&&this.$firstOpenTimer.delay(this.stickySelectionDelay/2)},v.prototype.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},v.prototype.updateDocTooltip=function(){var x=this.popup,y=this.completions&&this.completions.filtered,M=y&&(y[x.getHoveredRow()]||y[x.getRow()]),T=null;if(!M||!this.editor||!this.popup.isOpen)return this.hideDocTooltip();for(var L=this.editor.completers.length,S=0;S<L;S++){var N=this.editor.completers[S];if(N.getDocTooltip&&M.completerId===N.id){T=N.getDocTooltip(M);break}}if(!T&&typeof M!="string"&&(T=M),typeof T=="string"&&(T={docText:T}),!T||!T.docHTML&&!T.docText)return this.hideDocTooltip();this.showDocTooltip(T)},v.prototype.showDocTooltip=function(x){this.tooltipNode||(this.tooltipNode=s.createElement("div"),this.tooltipNode.style.margin="0",this.tooltipNode.style.pointerEvents="auto",this.tooltipNode.style.overscrollBehavior="contain",this.tooltipNode.tabIndex=-1,this.tooltipNode.onblur=this.blurListener.bind(this),this.tooltipNode.onclick=this.onTooltipClick.bind(this),this.tooltipNode.id="doc-tooltip",this.tooltipNode.setAttribute("role","tooltip"),this.tooltipNode.addEventListener("wheel",a));var y=this.editor.renderer.theme;this.tooltipNode.className="ace_tooltip ace_doc-tooltip "+(y.isDark?"ace_dark ":"")+(y.cssClass||"");var M=this.tooltipNode;x.docHTML?M.innerHTML=x.docHTML:x.docText&&(M.textContent=x.docText),M.parentNode||this.popup.container.appendChild(this.tooltipNode);var T=this.popup,L=T.container.getBoundingClientRect(),S=400,N=300,k=T.renderer.scrollBar.width||10,D=L.left,E=window.innerWidth-L.right-k,I=T.isTopdown?L.top:window.innerHeight-k-L.bottom,F=[Math.min(E/S,1),Math.min(D/S,1),Math.min(I/N*.9)],O=Math.max.apply(Math,F),V=M.style;V.display="block",O==F[0]?(V.left=L.right+1+"px",V.right="",V.maxWidth=S*O+"px",V.top=L.top+"px",V.bottom="",V.maxHeight=Math.min(window.innerHeight-k-L.top,N)+"px"):O==F[1]?(V.right=window.innerWidth-L.left+"px",V.left="",V.maxWidth=S*O+"px",V.top=L.top+"px",V.bottom="",V.maxHeight=Math.min(window.innerHeight-k-L.top,N)+"px"):O==F[2]&&(V.left=window.innerWidth-L.left+"px",V.maxWidth=Math.min(S,window.innerWidth)+"px",T.isTopdown?(V.top=L.bottom+"px",V.left=L.left+"px",V.right="",V.bottom="",V.maxHeight=Math.min(window.innerHeight-k-L.bottom,N)+"px"):(V.top=T.container.offsetTop-M.offsetHeight+"px",V.left=L.left+"px",V.right="",V.bottom="",V.maxHeight=Math.min(T.container.offsetTop,N)+"px"))},v.prototype.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),!!this.tooltipNode){var x=this.tooltipNode;!this.editor.isFocused()&&document.activeElement==x&&this.editor.focus(),this.tooltipNode=null,x.parentNode&&x.parentNode.removeChild(x)}},v.prototype.onTooltipClick=function(x){for(var y=x.target;y&&y!=this.tooltipNode;){if(y.nodeName=="A"&&y.href){y.rel="noreferrer",y.target="_blank";break}y=y.parentNode}},v.prototype.destroy=function(){if(this.detach(),this.popup){this.popup.destroy();var x=this.popup.container;x&&x.parentNode&&x.parentNode.removeChild(x)}this.editor&&this.editor.completer==this&&(this.editor.off("destroy",l),this.editor.completer=null),this.inlineRenderer=this.popup=this.editor=null},v.for=function(x){return x.completer instanceof v||(x.completer&&(x.completer.destroy(),x.completer=null),r.get("sharedPopups")?(v.$sharedInstance||(v.$sharedInstance=new v),x.completer=v.$sharedInstance):(x.completer=new v,x.once("destroy",l))),x.completer},v}();h.prototype.commands={Up:function(v){v.completer.goTo("up")},Down:function(v){v.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(v){v.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(v){v.completer.goTo("end")},Esc:function(v){v.completer.detach()},Return:function(v){return v.completer.insertMatch()},"Shift-Return":function(v){v.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(v){var x=v.completer.insertMatch();if(!!x||!!v.tabstopManager)return x;v.completer.goTo("down")},Backspace:function(v){v.execCommand("backspace");var x=u.getCompletionPrefix(v);!x&&v.completer&&v.completer.detach()},PageUp:function(v){v.completer.popup.gotoPageUp()},PageDown:function(v){v.completer.popup.gotoPageDown()}},h.startCommand={name:"startAutocomplete",exec:function(v,x){var y=h.for(v);y.autoInsert=!1,y.autoSelect=!0,y.autoShown=!1,y.showPopup(v,x),y.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var p=function(){function v(x){this.initialPosition=x,this.active=!0}return v.prototype.insertByIndex=function(x,y,M){return!this.completions||!this.completions.filtered?!1:this.insertMatch(x,this.completions.filtered[y],M)},v.prototype.insertMatch=function(x,y,M){if(!y)return!1;if(x.startOperation({command:{name:"insertMatch"}}),y.completer&&y.completer.insertMatch)y.completer.insertMatch(x,y);else{if(!this.completions)return!1;var T=this.completions.filterText.length,L=0;if(y.range&&y.range.start.row===y.range.end.row&&(T-=this.initialPosition.prefix.length,T+=this.initialPosition.pos.column-y.range.start.column,L+=y.range.end.column-this.initialPosition.pos.column),T||L){var S;x.selection.getAllRanges?S=x.selection.getAllRanges():S=[x.getSelectionRange()];for(var N=0,k;k=S[N];N++)k.start.column-=T,k.end.column+=L,x.session.remove(k)}y.snippet?i.insertSnippet(x,y.snippet):this.$insertString(x,y),y.completer&&y.completer.onInsert&&typeof y.completer.onInsert=="function"&&y.completer.onInsert(x,y),y.command&&y.command==="startAutocomplete"&&x.execCommand(y.command)}return x.endOperation(),!0},v.prototype.$insertString=function(x,y){var M=y.value||y;x.execCommand("insertstring",M)},v.prototype.gatherCompletions=function(x,y){var M=x.getSession(),T=x.getCursorPosition(),L=u.getCompletionPrefix(x),S=[];this.completers=x.completers;var N=x.completers.length;return x.completers.forEach(function(k,D){k.getCompletions(x,M,T,L,function(E,I){k.hideInlinePreview&&(I=I.map(function(F){return Object.assign(F,{hideInlinePreview:k.hideInlinePreview})})),!E&&I&&(S=S.concat(I)),y(null,{prefix:u.getCompletionPrefix(x),matches:S,finished:--N==0})})}),!0},v.prototype.provideCompletions=function(x,y,M){var T=function(k){var D=k.prefix,E=k.matches;this.completions=new w(E),y.exactMatch&&(this.completions.exactMatch=!0),y.ignoreCaption&&(this.completions.ignoreCaption=!0),this.completions.setFilter(D),(k.finished||this.completions.filtered.length)&&M(null,this.completions,k.finished)}.bind(this),L=!0,S=null;if(this.gatherCompletions(x,function(k,D){if(!!this.active){k&&(M(k,[],!0),this.detach());var E=D.prefix;if(E.indexOf(D.prefix)===0){if(L){S=D;return}T(D)}}}.bind(this)),L=!1,S){var N=S;S=null,T(N)}},v.prototype.detach=function(){this.active=!1,this.completers&&this.completers.forEach(function(x){typeof x.cancel=="function"&&x.cancel()})},v}(),w=function(){function v(x,y){this.all=x,this.filtered=x,this.filterText=y||"",this.exactMatch=!1,this.ignoreCaption=!1}return v.prototype.setFilter=function(x){if(x.length>this.filterText&&x.lastIndexOf(this.filterText,0)===0)var y=this.filtered;else var y=this.all;this.filterText=x,y=this.filterCompletions(y,this.filterText),y=y.sort(function(T,L){return L.exactMatch-T.exactMatch||L.$score-T.$score||(T.caption||T.value).localeCompare(L.caption||L.value)});var M=null;y=y.filter(function(T){var L=T.snippet||T.caption||T.value;return L===M?!1:(M=L,!0)}),this.filtered=y},v.prototype.filterCompletions=function(x,y){var M=[],T=y.toUpperCase(),L=y.toLowerCase();e:for(var S=0,N;N=x[S];S++){if(N.skipFilter){N.$score=N.score,M.push(N);continue}var k=!this.ignoreCaption&&N.caption||N.value||N.snippet;if(!!k){var D=-1,E=0,I=0,F,O;if(this.exactMatch){if(y!==k.substr(0,y.length))continue e}else{var V=k.toLowerCase().indexOf(L);if(V>-1)I=V;else for(var W=0;W<y.length;W++){var j=k.indexOf(L[W],D+1),B=k.indexOf(T[W],D+1);if(F=j>=0&&(B<0||j<B)?j:B,F<0)continue e;O=F-D-1,O>0&&(D===-1&&(I+=10),I+=O,E|=1<<W),D=F}}N.matchMask=E,N.exactMatch=I?0:1,N.$score=(N.score||0)-I,M.push(N)}}return M},v}();f.Autocomplete=h,f.CompletionProvider=p,f.FilteredList=w}),ace.define("ace/marker_group",["require","exports","module"],function(e,f,_){var m=function(){function A(b,d){d&&(this.markerType=d.markerType),this.markers=[],this.session=b,b.addDynamicMarker(this)}return A.prototype.getMarkerAtPosition=function(b){return this.markers.find(function(d){return d.range.contains(b.row,b.column)})},A.prototype.markersComparator=function(b,d){return b.range.start.row-d.range.start.row},A.prototype.setMarkers=function(b){this.markers=b.sort(this.markersComparator).slice(0,this.MAX_MARKERS),this.session._signal("changeBackMarker")},A.prototype.update=function(b,d,u,n){if(!(!this.markers||!this.markers.length))for(var s=n.firstRow,i=n.lastRow,r,o=0,a=0,l=0;l<this.markers.length;l++){var h=this.markers[l];if(!(h.range.end.row<s)&&!(h.range.start.row>i)&&(h.range.start.row===a?o++:(a=h.range.start.row,o=0),!(o>200))){var p=h.range.clipRows(s,i);if(!(p.start.row===p.end.row&&p.start.column===p.end.column)){var w=p.toScreenRange(u);if(w.isEmpty()){r=u.getNextFoldLine(p.end.row,r),r&&r.end.row>p.end.row&&(s=r.end.row);continue}this.markerType==="fullLine"?d.drawFullLineMarker(b,w,h.className,n):w.isMultiLine()?this.markerType==="line"?d.drawMultiLineMarker(b,w,h.className,n):d.drawTextMarker(b,w,h.className,n):d.drawSingleLineMarker(b,w,h.className+" ace_br15",n)}}}},A}();m.prototype.MAX_MARKERS=1e4,f.MarkerGroup=m}),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],function(e,f,_){function m(u,n){var s=u.getTextRange(b.fromPoints({row:0,column:0},n));return s.split(d).length-1}function A(u,n){var s=m(u,n),i=u.getValue().split(d),r=Object.create(null),o=i[s];return i.forEach(function(a,l){if(!(!a||a===o)){var h=Math.abs(s-l),p=i.length-h;r[a]?r[a]=Math.max(p,r[a]):r[a]=p}}),r}var b=e("../range").Range,d=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;f.getCompletions=function(u,n,s,i,r){var o=A(n,s),a=Object.keys(o);r(null,a.map(function(l){return{caption:l,value:l,score:o[l],meta:"local"}}))}}),ace.define("ace/ext/language_tools",["require","exports","module","ace/snippets","ace/autocomplete","ace/config","ace/lib/lang","ace/autocomplete/util","ace/marker_group","ace/autocomplete/text_completer","ace/editor","ace/config"],function(e,f,_){var m=e("../snippets").snippetManager,A=e("../autocomplete").Autocomplete,b=e("../config"),d=e("../lib/lang"),u=e("../autocomplete/util"),n=e("../marker_group").MarkerGroup,s=e("../autocomplete/text_completer"),i={getCompletions:function(L,S,N,k,D){if(S.$mode.completer)return S.$mode.completer.getCompletions(L,S,N,k,D);var E=L.session.getState(N.row),I=S.$mode.getCompletions(E,S,N,k);I=I.map(function(F){return F.completerId=i.id,F}),D(null,I)},id:"keywordCompleter"},r=function(L){var S={};return L.replace(/\${(\d+)(:(.*?))?}/g,function(N,k,D,E){return S[k]=E||""}).replace(/\$(\d+?)/g,function(N,k){return S[k]})},o={getCompletions:function(L,S,N,k,D){var E=[],I=S.getTokenAt(N.row,N.column);I&&I.type.match(/(tag-name|tag-open|tag-whitespace|attribute-name|attribute-value)\.xml$/)?E.push("html-tag"):E=m.getActiveScopes(L);var F=m.snippetMap,O=[];E.forEach(function(V){for(var W=F[V]||[],j=W.length;j--;){var B=W[j],$=B.name||B.tabTrigger;!$||O.push({caption:$,snippet:B.content,meta:B.tabTrigger&&!B.name?B.tabTrigger+"\u21E5 ":"snippet",completerId:o.id})}},this),D(null,O)},getDocTooltip:function(L){L.snippet&&!L.docHTML&&(L.docHTML=["<b>",d.escapeHTML(L.caption),"</b>","<hr></hr>",d.escapeHTML(r(L.snippet))].join(""))},id:"snippetCompleter"},a=[o,s,i];f.setCompleters=function(L){a.length=0,L&&a.push.apply(a,L)},f.addCompleter=function(L){a.push(L)},f.textCompleter=s,f.keyWordCompleter=i,f.snippetCompleter=o;var l={name:"expandSnippet",exec:function(L){return m.expandWithTab(L)},bindKey:"Tab"},h=function(L,S){p(S.session.$mode)},p=function(L){typeof L=="string"&&(L=b.$modes[L]),!!L&&(m.files||(m.files={}),w(L.$id,L.snippetFileId),L.modes&&L.modes.forEach(p))},w=function(L,S){!S||!L||m.files[L]||(m.files[L]={},b.loadModule(S,function(N){!N||(m.files[L]=N,!N.snippets&&N.snippetText&&(N.snippets=m.parseSnippetFile(N.snippetText)),m.register(N.snippets||[],N.scope),N.includeScopes&&(m.snippetMap[N.scope].includeScopes=N.includeScopes,N.includeScopes.forEach(function(k){p("ace/mode/"+k)})))}))},v=function(L){var S=L.editor,N=S.completer&&S.completer.activated;if(L.command.name==="backspace")N&&!u.getCompletionPrefix(S)&&S.completer.detach();else if(L.command.name==="insertstring"&&!N){x=L;var k=L.editor.$liveAutocompletionDelay;k?y.delay(k):M(L)}},x,y=d.delayedCall(function(){M(x)},0),M=function(L){var S=L.editor,N=u.getCompletionPrefix(S),k=L.args,D=u.triggerAutocomplete(S,k);if(N&&N.length>=S.$liveAutocompletionThreshold||D){var E=A.for(S);E.autoShown=!0,E.showPopup(S)}},T=e("../editor").Editor;e("../config").defineOptions(T.prototype,"editor",{enableBasicAutocompletion:{set:function(L){L?(A.for(this),this.completers||(this.completers=Array.isArray(L)?L:a),this.commands.addCommand(A.startCommand)):this.commands.removeCommand(A.startCommand)},value:!1},enableLiveAutocompletion:{set:function(L){L?(this.completers||(this.completers=Array.isArray(L)?L:a),this.commands.on("afterExec",v)):this.commands.off("afterExec",v)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(L){L?(this.commands.addCommand(l),this.on("changeMode",h),h(null,this)):(this.commands.removeCommand(l),this.off("changeMode",h))},value:!1}}),f.MarkerGroup=n}),function(){ace.require(["ace/ext/language_tools"],function(e){t&&(t.exports=e)})}()})(extLanguage_tools);var index_vue_vue_type_style_index_0_scoped_true_lang$6="";const _sfc_main$l={name:"CodeEditor",props:{modelValue:{type:String},readonly:{type:Boolean,default:!1},mode:{type:String,default:"javascript"},userWorker:{type:Boolean,default:!0}},emits:["update:modelValue"],mounted(){ace$1.config.set("basePath",ACE_BASE_PATH),this.addAutoCompletion(ace$1),this.aceEditor=ace$1.edit(this.$refs.ace,{maxLines:20,minLines:5,fontSize:12,theme:this.themePath,mode:this.modePath,tabSize:2,readOnly:this.readonly,highlightActiveLine:!0,value:this.codeValue}),this.aceEditor.setOptions({enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0}),this.mode==="json"?this.setJsonMode():this.mode==="css"&&this.setCssMode(),this.userWorker||this.aceEditor.getSession().setUseWorker(!1),this.aceEditor.getSession().on("change",t=>{this.$emit("update:modelValue",this.aceEditor.getValue())})},data(){return{aceEditor:null,themePath:"ace/theme/sqlserver",modePath:"ace/mode/javascript",codeValue:this.modelValue}},watch:{},methods:{addAutoCompletion(t){let g=[{meta:"VForm API",caption:"getWidgetRef",value:"getWidgetRef()",score:1},{meta:"VForm API",caption:"getFormRef",value:"getFormRef()",score:1}];t.require("ace/ext/language_tools").addCompleter({getCompletions:function(f,_,m,A,b){return A.length===0?b(null,[]):b(null,g)}})},setJsonMode(){this.aceEditor.getSession().setMode("ace/mode/json")},setCssMode(){this.aceEditor.getSession().setMode("ace/mode/css")},getEditorAnnotations(){return this.aceEditor.getSession().getAnnotations()},setValue(t){this.aceEditor.getSession().setValue(t)}}},_hoisted_1$e={class:"ace-container"},_hoisted_2$b={class:"ace-editor",ref:"ace"};function _sfc_render$l(t,g,e,f,_,m){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$e,[vue.createElementVNode("div",_hoisted_2$b,null,512)])}var CodeEditor=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$l],["__scopeId","data-v-335e1214"]]),subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$k={name:"sub-table-columns-editor",mixins:[i18n$1],components:{CodeEditor},props:{designer:Object,selectedWidget:Object,optionModel:Object},data(){return{showColumnEventDialog:!1,currentEventName:"",currentColumn:null,columnEventHandlerCode:"",eventHeader:"",fieldValidators:[{value:"number",label:this.i18nt("designer.hint.numberValidator")},{value:"letter",label:this.i18nt("designer.hint.letterValidator")},{value:"letterAndNumber",label:this.i18nt("designer.hint.letterAndNumberValidator")},{value:"mobilePhone",label:this.i18nt("designer.hint.mobilePhoneValidator")},{value:"email",label:this.i18nt("designer.hint.emailValidator")},{value:"url",label:this.i18nt("designer.hint.urlValidator")},{value:"noChinese",label:this.i18nt("designer.hint.noChineseValidator")},{value:"chinese",label:this.i18nt("designer.hint.chineseValidator")},{value:"maxLen12Decimals6",label:this.i18nt("designer.hint.maxLen12Decimals6Validator")},{value:"isPositiveIntegerLength",label:this.i18nt("designer.hint.isPositiveIntegerLengthValidator")},{value:"isPositiveIntegerZero",label:this.i18nt("designer.hint.isPositiveIntegerZeroValidator")},{value:"maxLen10Decimals2",label:this.i18nt("designer.hint.maxLen10Decimals2Validator")},{value:"maxLen12Decimals2",label:this.i18nt("designer.hint.maxLen12Decimals2Validator")},{value:"latitude",label:this.i18nt("designer.hint.latitude")},{value:"longitude",label:this.i18nt("designer.hint.longitude")},{value:"sixFigures",label:this.i18nt("designer.hint.sixFigures")},{value:"percentage",label:this.i18nt("designer.hint.percentage")}]}},created(){this.optionModel.columns||(this.optionModel.columns=[])},methods:{isTextColumn(t){return!t.type||t.type==="input"||t.type==="textarea"},handleMaxLengthInput(t,g){!g||isNaN(g)?(t.maxLength=null,t.showWordLimit=!1):t.maxLength=Number(g)},addNewColumn(){this.optionModel.columns||(this.optionModel.columns=[]);const t={prop:"field"+(this.optionModel.columns.length+1),label:"\u5217"+(this.optionModel.columns.length+1),type:"input",width:"",minWidth:"",placeholder:"",maxLength:null,showWordLimit:!1,required:!1,validation:"",validationHint:"",defaultValue:""};this.optionModel.columns.push(t),this.designer.saveCurrentHistoryStep()},deleteColumn(t){this.optionModel.columns.splice(t,1),this.designer.saveCurrentHistoryStep()},handleColumnChange(){this.designer.saveCurrentHistoryStep()},handleValidationChange(t){t.validation||(t.validationHint=""),this.handleColumnChange()},handleSelectOptionsChange(t,g){try{if(g&&g.trim()){const e=JSON.parse(g);Array.isArray(e)?t.options=e:t.options=[]}else t.options=[]}catch(e){console.warn("\u9009\u9879\u6570\u636E\u683C\u5F0F\u9519\u8BEF:",e)}this.designer.saveCurrentHistoryStep()},loadDictOptionsForColumn(t){if(!t.dictCode||!t.dictCode.trim())return;const g=t.dictCode.trim();t._loadingDict=!0;try{let e=null;if(typeof window!="undefined"&&window.getDictData){const f=window.getDictData(g);if(f&&Array.isArray(f)&&f.length>0){t.options=f.map(_=>({label:_.dictLabel||_.label||_.name||_.text||"",value:_.dictValue||_.value||_.code||_.value||_.itemValue||"",disabled:_.disabled||!1})),t.optionsText=JSON.stringify(t.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),t._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.dictCache&&window.dictCache[g]){const f=window.dictCache[g];if(Array.isArray(f)&&f.length>0){t.options=f.map(_=>({label:_.dictLabel||_.label||_.name||_.text||"",value:_.dictValue||_.value||_.code||_.value||_.itemValue||"",disabled:_.disabled||!1})),t.optionsText=JSON.stringify(t.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),t._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.service){window.service.post("/unified-dict/sysItemDict/page",{current:1,size:1e4,dictType:g}).then(({data:f})=>{t._loadingDict=!1;const _=(f==null?void 0:f.records)||(f==null?void 0:f.data)||f||[];if(Array.isArray(_)&&_.length>0){const m=_.filter(A=>A.dictType===g);m.length>0?(t.options=m.map(A=>({label:A.dictLabel||A.label||A.name||A.text||"",value:A.dictValue||A.value||A.code||A.value||A.itemValue||"",disabled:A.disabled||!1})),t.optionsText=JSON.stringify(t.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u52A0\u8F7D\u9009\u9879\u6210\u529F"),this.designer.saveCurrentHistoryStep()):this.$message.warning(`\u672A\u627E\u5230\u5B57\u5178\u7C7B\u578B\u4E3A "${g}" \u7684\u6570\u636E`)}else this.$message.warning("\u5B57\u5178\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E")}).catch(f=>{t._loadingDict=!1,console.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25:",f),this.$message.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u5B57\u5178CODE\u662F\u5426\u6B63\u786E")});return}this.$message.warning("\u672A\u627E\u5230\u5B57\u5178\u7F13\u5B58\uFF0C\u8BF7\u786E\u4FDD\u5B57\u5178CODE\u6B63\u786E\u6216\u5B57\u5178\u5DF2\u52A0\u8F7D")}catch(e){console.error("\u52A0\u8F7D\u5B57\u5178\u6570\u636E\u5931\u8D25:",e),this.$message.error("\u52A0\u8F7D\u5B57\u5178\u6570\u636E\u5931\u8D25: "+e.message)}finally{t._loadingDict=!1}},editColumnEventHandler(t,g,e){this.currentColumn=t,this.currentEventName=g,this.eventHeader=`${t.label||t.prop}.${g}(${e.join(", ")}) {`,this.columnEventHandlerCode=t[g]||"",this.showColumnEventDialog=!0},saveColumnEventHandler(){if(!(!this.currentColumn||!this.currentEventName)){if(this.$refs.columnEventEditor){const t=this.$refs.columnEventEditor.getEditorAnnotations();let g=!1;if(t&&t.length>0&&(t.forEach(e=>{e.type==="error"&&(g=!0)}),g)){this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));return}}this.currentColumn[this.currentEventName]=this.columnEventHandlerCode,this.designer.saveCurrentHistoryStep(),this.showColumnEventDialog=!1,this.$message.success("\u4E8B\u4EF6\u4FDD\u5B58\u6210\u529F")}}}},_hoisted_1$d={class:"column-header"},_hoisted_2$a={class:"column-title"},_hoisted_3$8={class:"column-form"},_hoisted_4$7={class:"dialog-footer"};function _sfc_render$k(t,g,e,f,_,m){const A=vue.resolveComponent("el-divider"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-button"),u=vue.resolveComponent("el-input"),n=vue.resolveComponent("el-option"),s=vue.resolveComponent("el-select"),i=vue.resolveComponent("el-switch"),r=vue.resolveComponent("el-input-number"),o=vue.resolveComponent("el-alert"),a=vue.resolveComponent("code-editor"),l=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",null,[vue.createVNode(b,{"label-width":"0"},{default:vue.withCtx(()=>[vue.createVNode(A,{class:"custom-divider"},{default:vue.withCtx(()=>[...g[3]||(g[3]=[vue.createTextVNode("\u8868\u683C\u5217\u914D\u7F6E",-1)])]),_:1})]),_:1}),vue.createVNode(b,{"label-width":"0"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(h,p)=>(vue.openBlock(),vue.createElementBlock("div",{key:p,class:"column-item"},[vue.createElementVNode("div",_hoisted_1$d,[vue.createElementVNode("span",_hoisted_2$a,"\u5217 "+vue.toDisplayString(p+1),1),vue.createVNode(d,{circle:"",plain:"",size:"small",type:"danger",onClick:w=>m.deleteColumn(p),icon:"el-icon-minus",class:"column-delete-button"},null,8,["onClick"])]),vue.createElementVNode("div",_hoisted_3$8,[vue.createVNode(b,{label:"\u5217\u540D"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.label,"onUpdate:modelValue":w=>h.label=w,placeholder:"\u8BF7\u8F93\u5165\u5217\u540D",onInput:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5B57\u6BB5\u540D"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.prop,"onUpdate:modelValue":w=>h.prop=w,placeholder:"\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D\uFF08\u82F1\u6587\uFF09",onInput:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5217\u7C7B\u578B"},{default:vue.withCtx(()=>[vue.createVNode(s,{modelValue:h.type,"onUpdate:modelValue":w=>h.type=w,placeholder:"\u8BF7\u9009\u62E9\u5217\u7C7B\u578B",onChange:m.handleColumnChange,style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(n,{label:"\u6587\u672C\u8F93\u5165",value:"input"}),vue.createVNode(n,{label:"\u6570\u5B57\u8F93\u5165",value:"number"}),vue.createVNode(n,{label:"\u65E5\u671F\u9009\u62E9",value:"date"}),vue.createVNode(n,{label:"\u6708\u4EFD\u9009\u62E9",value:"month"}),vue.createVNode(n,{label:"\u65E5\u671F\u65F6\u95F4",value:"datetime"}),vue.createVNode(n,{label:"\u4E0B\u62C9\u9009\u62E9",value:"select"}),vue.createVNode(n,{label:"\u591A\u884C\u6587\u672C",value:"textarea"})]),_:1},8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),h.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:0,label:"\u5B57\u5178CODE"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.dictCode,"onUpdate:modelValue":w=>h.dictCode=w,placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178CODE\uFF0C\u5C06\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879",onBlur:w=>m.loadDictOptionsForColumn(h),clearable:""},{append:vue.withCtx(()=>[vue.createVNode(d,{onClick:w=>m.loadDictOptionsForColumn(h),loading:h._loadingDict},{default:vue.withCtx(()=>[...g[4]||(g[4]=[vue.createTextVNode("\u52A0\u8F7D",-1)])]),_:1},8,["onClick","loading"])]),_:2},1032,["modelValue","onUpdate:modelValue","onBlur"]),g[5]||(g[5]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},' \u586B\u5199\u5B57\u5178CODE\u540E\uFF0C\u70B9\u51FB"\u52A0\u8F7D"\u6309\u94AE\u6216\u5931\u7126\u65F6\u81EA\u52A8\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879\u6570\u636E ',-1))]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(b,{label:"\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.width,"onUpdate:modelValue":w=>h.width=w,placeholder:"\u5982\uFF1A150\uFF08\u53EF\u9009\uFF09",onInput:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u6700\u5C0F\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.minWidth,"onUpdate:modelValue":w=>h.minWidth=w,placeholder:"\u5982\uFF1A100\uFF08\u53EF\u9009\uFF09",onInput:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5360\u4F4D\u7B26"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.placeholder,"onUpdate:modelValue":w=>h.placeholder=w,placeholder:"\u8BF7\u8F93\u5165\u5360\u4F4D\u7B26\uFF08\u53EF\u9009\uFF09",onInput:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),m.isTextColumn(h)?(vue.openBlock(),vue.createBlock(b,{key:1,label:t.i18nt("designer.setting.maxLength")},{default:vue.withCtx(()=>[vue.createVNode(u,{type:"number",class:"hide-spin-button",min:"1","model-value":h.maxLength,placeholder:"\u4E0D\u9650",onInput:w=>m.handleMaxLengthInput(h,w),onChange:m.handleColumnChange},null,8,["model-value","onInput","onChange"])]),_:2},1032,["label"])):vue.createCommentVNode("",!0),m.isTextColumn(h)&&h.maxLength?(vue.openBlock(),vue.createBlock(b,{key:2,label:t.i18nt("designer.setting.showWordLimit")},{default:vue.withCtx(()=>[vue.createVNode(i,{modelValue:h.showWordLimit,"onUpdate:modelValue":w=>h.showWordLimit=w,onChange:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1032,["label"])):vue.createCommentVNode("",!0),vue.createVNode(b,{label:"\u662F\u5426\u5FC5\u586B"},{default:vue.withCtx(()=>[vue.createVNode(i,{modelValue:h.required,"onUpdate:modelValue":w=>h.required=w,onChange:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),vue.createVNode(b,{label:"\u6821\u9A8C\u89C4\u5219"},{default:vue.withCtx(()=>[vue.createVNode(s,{modelValue:h.validation,"onUpdate:modelValue":w=>h.validation=w,placeholder:"\u8BF7\u9009\u62E9\u6821\u9A8C\u89C4\u5219",filterable:"",clearable:"",style:{width:"100%"},onChange:w=>m.handleValidationChange(h)},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.fieldValidators,(w,v)=>(vue.openBlock(),vue.createBlock(n,{key:v,label:w.label,value:w.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),h.validation?(vue.openBlock(),vue.createBlock(b,{key:3,label:"\u6821\u9A8C\u5931\u8D25\u63D0\u793A"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.validationHint,"onUpdate:modelValue":w=>h.validationHint=w,placeholder:"\u53EF\u9009\uFF0C\u4E0D\u586B\u5219\u4F7F\u7528\u9ED8\u8BA4\u63D0\u793A",onInput:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024)):vue.createCommentVNode("",!0),h.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:4,label:"\u9009\u9879\u6570\u636E"},{default:vue.withCtx(()=>[vue.createVNode(u,{modelValue:h.optionsText,"onUpdate:modelValue":w=>h.optionsText=w,type:"textarea",rows:3,placeholder:'\u683C\u5F0F\uFF1A[{"label":"\u9009\u98791","value":"value1"},{"label":"\u9009\u98792","value":"value2"}]',onInput:w=>m.handleSelectOptionsChange(h,w)},null,8,["modelValue","onUpdate:modelValue","onInput"]),g[6]||(g[6]=vue.createElementVNode("div",{class:"hint-text"},"\u8BF7\u8F93\u5165 JSON \u683C\u5F0F\u7684\u9009\u9879\u6570\u7EC4",-1))]),_:2},1024)):vue.createCommentVNode("",!0),h.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:5,label:"onMounted\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>m.editColumnEventHandler(h,"onMounted",["col","options","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),g[7]||(g[7]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},[vue.createTextVNode(" \u4E0B\u62C9\u9879\u6302\u8F7D\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1Acol\uFF08\u5217\u914D\u7F6E\u5BF9\u8C61\uFF09\u3001options\uFF08\u9009\u9879\u6570\u7EC4\uFF09\u3001setOptions\uFF08\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5\uFF09 "),vue.createElementVNode("br"),vue.createTextVNode("\u793A\u4F8B\uFF1AsetOptions([{label: '\u9009\u98791', value: '1'}, {label: '\u9009\u98792', value: '2'}]) ")],-1))]),_:2},1024)):vue.createCommentVNode("",!0),h.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:6,label:"\u4F9D\u8D56\u5217\uFF08\u8054\u52A8\uFF09"},{default:vue.withCtx(()=>[vue.createVNode(s,{modelValue:h.dependOn,"onUpdate:modelValue":w=>h.dependOn=w,placeholder:"\u9009\u62E9\u4F9D\u8D56\u7684\u5217\uFF08\u5F53\u4F9D\u8D56\u5217\u53D8\u5316\u65F6\uFF0C\u6B64\u5217\u7684\u4E0B\u62C9\u9009\u9879\u4F1A\u66F4\u65B0\uFF09",clearable:"",filterable:"",style:{width:"100%"},onChange:m.handleColumnChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(w,v)=>(vue.openBlock(),vue.createBlock(n,{key:v,label:w.label||w.prop,value:w.prop,disabled:w.prop===h.prop},null,8,["label","value","disabled"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),g[8]||(g[8]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}}," \u9009\u62E9\u4F9D\u8D56\u7684\u5217\uFF0C\u5F53\u4F9D\u8D56\u5217\u7684\u503C\u53D8\u5316\u65F6\uFF0C\u4F1A\u89E6\u53D1\u6B64\u5217\u7684\u8054\u52A8\u4E8B\u4EF6\u66F4\u65B0\u4E0B\u62C9\u9009\u9879 ",-1))]),_:2},1024)):vue.createCommentVNode("",!0),h.type==="select"&&h.dependOn?(vue.openBlock(),vue.createBlock(b,{key:7,label:"\u8054\u52A8\u5904\u7406\u51FD\u6570"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>m.editColumnEventHandler(h,"onDependChange",["targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),g[9]||(g[9]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},[vue.createTextVNode(" \u5F53\u4F9D\u8D56\u5217\u7684\u503C\u53D8\u5316\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1A "),vue.createElementVNode("br"),vue.createTextVNode("- targetCol\uFF1A\u5F53\u524D\u5217\u914D\u7F6E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- sourceCol\uFF1A\u4F9D\u8D56\u7684\u5217\u914D\u7F6E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- sourceValue\uFF1A\u4F9D\u8D56\u5217\u7684\u503C "),vue.createElementVNode("br"),vue.createTextVNode("- formData\uFF1A\u5F53\u524D\u8868\u5355\u6570\u636E\u5BF9\u8C61 "),vue.createElementVNode("br"),vue.createTextVNode("- currentOptions\uFF1A\u5F53\u524D\u9009\u9879\u6570\u7EC4 "),vue.createElementVNode("br"),vue.createTextVNode("- setOptions\uFF1A\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5 (newOptions, index) "),vue.createElementVNode("br"),vue.createTextVNode("- setValue\uFF1A\u8BBE\u7F6E\u76EE\u6807\u5217\u7684\u503C (value) "),vue.createElementVNode("br"),vue.createTextVNode("- getValue\uFF1A\u83B7\u53D6\u76EE\u6807\u5217\u7684\u5F53\u524D\u503C () "),vue.createElementVNode("br"),vue.createTextVNode("\u793A\u4F8B\uFF1A\u6839\u636E sourceValue \u52A8\u6001\u8BBE\u7F6E\u9009\u9879\u548C\u503C\uFF08\u53EA\u5F71\u54CD\u5F53\u524D\u7F16\u8F91\u884C\uFF09 "),vue.createElementVNode("br"),vue.createTextVNode("if (sourceValue === '1') { "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setOptions([{label: '\u9009\u9879A', value: 'a'}, {label: '\u9009\u9879B', value: 'b'}]); "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setValue('a'); // \u81EA\u52A8\u9009\u62E9\u7B2C\u4E00\u4E2A\u9009\u9879 "),vue.createElementVNode("br"),vue.createTextVNode("} else { "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setOptions([{label: '\u9009\u9879C', value: 'c'}, {label: '\u9009\u9879D', value: 'd'}]); "),vue.createElementVNode("br"),vue.createTextVNode("\xA0\xA0setValue('c'); // \u81EA\u52A8\u9009\u62E9\u7B2C\u4E00\u4E2A\u9009\u9879 "),vue.createElementVNode("br"),vue.createTextVNode("} "),vue.createElementVNode("br"),vue.createElementVNode("strong",null,"\u6CE8\u610F\uFF1A"),vue.createTextVNode("setOptions \u53EA\u4F1A\u66F4\u65B0\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8FD9\u4E00\u884C\u7684\u4E0B\u62C9\u9009\u9879\uFF0C\u4E0D\u4F1A\u5F71\u54CD\u5176\u4ED6\u884C\u3002 "),vue.createElementVNode("br"),vue.createTextVNode("setValue \u53EF\u4EE5\u8BBE\u7F6E\u76EE\u6807\u5217\u7684\u503C\uFF0C\u5E38\u7528\u4E8E\u81EA\u52A8\u9009\u62E9\u9ED8\u8BA4\u9009\u9879\u3002 ")],-1))]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(b,{label:"onChange\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>m.editColumnEventHandler(h,"onChange",["col","value","formData","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(t.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),g[10]||(g[10]=vue.createElementVNode("div",{class:"hint-text",style:{"font-size":"12px",color:"#909399","margin-top":"4px"}}," \u5F53\u524D\u5217\u7684\u503C\u53D8\u5316\u65F6\u89E6\u53D1\uFF0C\u53C2\u6570\uFF1Acol\uFF08\u5217\u914D\u7F6E\u5BF9\u8C61\uFF09\u3001value\uFF08\u5F53\u524D\u503C\uFF09\u3001formData\uFF08\u8868\u5355\u6570\u636E\uFF09\u3001setOptions\uFF08\u8BBE\u7F6E\u9009\u9879\u7684\u65B9\u6CD5\uFF0C\u4EC5select\u7C7B\u578B\u53EF\u7528\uFF09 ",-1))]),_:2},1024),h.type==="textarea"?(vue.openBlock(),vue.createBlock(b,{key:8,label:"\u884C\u6570"},{default:vue.withCtx(()=>[vue.createVNode(r,{modelValue:h.rows,"onUpdate:modelValue":w=>h.rows=w,min:1,max:10,onChange:m.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)):vue.createCommentVNode("",!0)])]))),128)),vue.createElementVNode("div",null,[vue.createVNode(d,{link:"",type:"primary",onClick:m.addNewColumn},{default:vue.withCtx(()=>[...g[11]||(g[11]=[vue.createTextVNode("\u6DFB\u52A0\u5217",-1)])]),_:1},8,["onClick"])])]),_:1})]),vue.createVNode(l,{modelValue:_.showColumnEventDialog,"onUpdate:modelValue":g[2]||(g[2]=h=>_.showColumnEventDialog=h),title:`\u7F16\u8F91\u4E8B\u4EF6\uFF1A${_.currentEventName}`,width:"1000px","append-to-body":"","close-on-click-modal":!1},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$7,[vue.createVNode(d,{onClick:g[1]||(g[1]=h=>_.showColumnEventDialog=!1)},{default:vue.withCtx(()=>[...g[12]||(g[12]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(d,{type:"primary",onClick:m.saveColumnEventHandler},{default:vue.withCtx(()=>[...g[13]||(g[13]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(o,{type:"info",closable:!1,title:_.eventHeader,style:{"margin-bottom":"10px"}},null,8,["title"]),vue.createVNode(a,{mode:"javascript",readonly:!1,modelValue:_.columnEventHandlerCode,"onUpdate:modelValue":g[0]||(g[0]=h=>_.columnEventHandlerCode=h),ref:"columnEventEditor"},null,8,["modelValue"])]),_:1},8,["modelValue","title"])],64)}var SubTableColumnsEditor=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$k],["__scopeId","data-v-2401420e"]]);const _sfc_main$j={name:"current-user-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[],rawUserData:null}},computed:{displayModel(){var t,g,e,f,_,m,A,b,d;return this.isStringValueType?(t=this.fieldModel)!=null?t:"":this.currentUserType==="username"?(_=(f=(g=this.fieldModel)==null?void 0:g.username)!=null?f:(e=this.fieldModel)==null?void 0:e.userName)!=null?_:"":this.currentUserType==="deptName"?(A=(m=this.fieldModel)==null?void 0:m.deptName)!=null?A:"":this.currentUserType==="companyName"?(d=(b=this.fieldModel)==null?void 0:b.companyName)!=null?d:"":this.fieldModel?JSON.stringify(this.fieldModel):""},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}},currentUserType(){var t;return((t=this.field.options)==null?void 0:t.type)||"username"},isStringValueType(){var t;return((t=this.field.options)==null?void 0:t.valueType)==="string"}},methods:{extractStringValue(t){var g,e,f,_;return t==null?"":typeof t=="string"?t:this.currentUserType==="username"?(e=(g=t.username)!=null?g:t.userName)!=null?e:"":this.currentUserType==="deptName"?(f=t.deptName)!=null?f:"":this.currentUserType==="companyName"&&(_=t.companyName)!=null?_:""},normalizeFieldValue(t){return this.isStringValueType?this.extractStringValue(t):t},applyFieldValue(t,g=!0){var f;const e=(f=this.oldFieldValue)!=null?f:this.fieldModel;this.fieldModel=this.normalizeFieldValue(t),this.syncUpdateFormModel(this.fieldModel),g&&this.emitFieldDataChange(this.fieldModel,e)},hasExistingValue(){var g;const t=(g=this.fieldModel)!=null?g:this.oldFieldValue;return t==null?!1:this.isStringValueType?t!=="":typeof t=="object"?Object.keys(t).length>0:t!==""},async getCurrentUser(){const{data:t}=await service$1({method:"get",url:"unified-system/employee/loginInfo?accessType=0"});this.rawUserData=t,this.applyFieldValue(t)},refreshFieldValueFromOptions(){var g;const t=(g=this.rawUserData)!=null?g:this.fieldModel;if(t==null){this.designState||this.getCurrentUser();return}if(this.isStringValueType&&typeof t=="object"){this.applyFieldValue(t);return}if(!this.isStringValueType&&typeof t=="string"){this.getCurrentUser();return}this.applyFieldValue(t)}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},"field.options.type"(){this.refreshFieldValueFromOptions()},"field.options.valueType"(){this.refreshFieldValueFromOptions()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated(),this.fieldModel&&typeof this.fieldModel=="object"&&(this.rawUserData=this.fieldModel)},mounted(){if(this.hasExistingValue()){this.isStringValueType&&typeof this.fieldModel=="object"&&this.applyFieldValue(this.fieldModel,!1);return}this.getCurrentUser()}};function _sfc_render$j(t,g,e,f,_,m){const A=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(A,{modelValue:m.displayModel,"onUpdate:modelValue":g[0]||(g[0]=d=>m.displayModel=d),disabled:!0},null,8,["modelValue"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CurrentUserWidget=_export_sfc$1(_sfc_main$j,[["render",_sfc_render$j]]),assetDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$i={name:"asset-dialog",props:{dialogVisible:{type:Boolean,default:!1},fieldValue:{type:Array,default:()=>[]},assetTypeValue:{type:String,default:""},limit:{type:Number,default:0}},watch:{dialogVisible:{handler(t){this.visible=t,t&&(this.getTableData(),this.selectedRows=this.fieldValue&&Array.isArray(this.fieldValue)?lodash.exports.cloneDeep(this.fieldValue):[])}},assetTypeValue:{handler(t){this.disabled=!!t,t?this.form.assetType=t:this.form.assetType="all"},immediate:!0}},computed:{filterList(){const t=this.searchValue.toLocaleLowerCase();return this.selectedRows.filter(g=>g.labelName.toLocaleLowerCase().includes(t)||g.assetCode.toLocaleLowerCase().includes(t))}},data(){return{tableData:[],selectedRows:[],visible:!1,pageSize:10,currentPage:1,assetTypeOptions:[],form:{assetCode:"",assetType:"all",assetOwnerUnit:"",labelName:""},disabled:!1,total:0,searchValue:"",_prevTableSelectionIds:[],_handlingSelectionChange:!1}},methods:{formatAmount,handleClose(){this.form={assetCode:"",assetType:this.assetTypeValue||"all",assetOwnerUnit:"",labelName:""},this.searchValue="",this.$emit("close")},handleConfirm(){this.form={assetCode:"",assetType:"all",assetOwnerUnit:"",labelName:""},this.$emit("confirm",this.selectedRows)},handleSelectionChange(t){if(this._handlingSelectionChange)return;const g=this.$refs.tableRef,e=Array.isArray(t)?t:[],f=e.map(_=>_.assetId);if(this.limit>0&&f.length>this.limit){const m=(Array.isArray(this._prevTableSelectionIds)?this._prevTableSelectionIds:[]).slice(0,this.limit);g&&typeof g.clearSelection=="function"&&typeof g.toggleRowSelection=="function"&&(this._handlingSelectionChange=!0,g.clearSelection(),e.forEach(A=>{m.includes(A.assetId)&&g.toggleRowSelection(A,!0)}),this._handlingSelectionChange=!1),this._prevTableSelectionIds=m;return}this._prevTableSelectionIds=f},getTableData(){service$1({method:"post",url:"/asset-business/overview/pageList",data:st(Ie({size:this.pageSize,current:this.currentPage,reqType:"disposal"},this.form),{assetType:this.form.assetType==="all"?"":this.form.assetType,systemStatusList:["2"]})}).then(({data:t})=>{const{records:g,total:e,current:f}=t;this.tableData=g.map(_=>{const d=_,{id:m}=d,A=ja(d,["id"]);return st(Ie({},A),{assetId:m})}),this.total=e,this.currentPage=f})},handleSizeChange(t){this.pageSize=t,this.getTableData()},handleCurrentChange(t){this.currentPage=t,this.getTableData()},handleAdd(){const t=this.$refs.tableRef,g=t&&typeof t.getSelectionRows=="function"?t.getSelectionRows():[];if(!g||g.length===0){this.$message.error("\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u8D44\u4EA7");return}const e=[...this.selectedRows,...g].reduce((f,_)=>(f.some(m=>m.assetId===_.assetId)||f.push(_),f),[]);if(this.limit&&e.length>this.limit){this.$message.error(`\u6700\u591A\u9009\u62E9 ${this.limit} \u4E2A\u8D44\u4EA7`);return}this.selectedRows=e},handleRemove(t){const g=this.selectedRows.findIndex(e=>e.assetId===t);g!==-1&&this.selectedRows.splice(g,1)},handleGetAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:t}})=>{this.assetTypeOptions=t.map(g=>({label:g.label,value:g.itemValue})),this.assetTypeOptions.unshift({label:"\u5168\u90E8",value:"all"})})},handleSearch(){this.currentPage=1,this.getTableData()}},created(){this.getTableData(),this.handleGetAssetTypeOptions()}},_hoisted_1$c={class:"asset-body-wrap"},_hoisted_2$9={class:"bottom-wrap"},_hoisted_3$7={class:"left-wrap"},_hoisted_4$6={class:"filter-wrap"},_hoisted_5$4={class:"right-wrap"},_hoisted_6$4={class:"asset-wrap-title"},_hoisted_7$4={class:"asset-wrap"},_hoisted_8$2={class:"asset-item-left"},_hoisted_9$2={class:"asset-item-right"},_hoisted_10$1={class:"dialog-footer"};function _sfc_render$i(t,g,e,f,_,m){const A=vue.resolveComponent("el-input"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-col"),u=vue.resolveComponent("el-option"),n=vue.resolveComponent("el-select"),s=vue.resolveComponent("el-button"),i=vue.resolveComponent("el-row"),r=vue.resolveComponent("el-form"),o=vue.resolveComponent("el-table-column"),a=vue.resolveComponent("el-table"),l=vue.resolveComponent("el-pagination"),h=vue.resolveComponent("DArrowRight"),p=vue.resolveComponent("el-icon"),w=vue.resolveComponent("Search"),v=vue.resolveComponent("Close"),x=vue.resolveComponent("el-scrollbar"),y=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(y,{modelValue:_.visible,"onUpdate:modelValue":g[6]||(g[6]=M=>_.visible=M),title:"\u8D44\u4EA7\u9009\u62E9",width:"1418px",onClose:m.handleClose,"body-class":"asset-list-dialog-body","close-on-click-modal":!1,draggable:"","header-class":"asset-list-dialog-header"},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_10$1,[vue.createVNode(s,{onClick:m.handleClose,size:"default"},{default:vue.withCtx(()=>[...g[12]||(g[12]=[vue.createTextVNode(" \u53D6\u6D88 ",-1)])]),_:1},8,["onClick"]),vue.createVNode(s,{type:"primary",onClick:m.handleConfirm,size:"default"},{default:vue.withCtx(()=>[...g[13]||(g[13]=[vue.createTextVNode(" \u786E\u5B9A ",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$c,[vue.createElementVNode("div",_hoisted_2$9,[vue.createElementVNode("div",_hoisted_3$7,[vue.createElementVNode("div",_hoisted_4$6,[vue.createVNode(r,{model:_.form,ref:"formRef"},{default:vue.withCtx(()=>[vue.createVNode(i,{gutter:12},{default:vue.withCtx(()=>[vue.createVNode(d,{span:5},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(A,{maxlength:"50",modelValue:_.form.assetCode,"onUpdate:modelValue":g[0]||(g[0]=M=>_.form.assetCode=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...g[7]||(g[7]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u7F16\u7801\uFF1A",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:6},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(A,{maxlength:"50",modelValue:_.form.labelName,"onUpdate:modelValue":g[1]||(g[1]=M=>_.form.labelName=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...g[8]||(g[8]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u540D\u79F0\uFF1A",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:5},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(n,{disabled:_.disabled,modelValue:_.form.assetType,"onUpdate:modelValue":g[2]||(g[2]=M=>_.form.assetType=M),placeholder:"\u8BF7\u9009\u62E9",clearable:""},{prefix:vue.withCtx(()=>[...g[9]||(g[9]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u7C7B\u578B\uFF1A",-1)])]),default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.assetTypeOptions,M=>(vue.openBlock(),vue.createBlock(u,{key:M.value,label:M.label,value:M.value},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:6},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(A,{maxlength:"50",modelValue:_.form.assetOwnerUnit,"onUpdate:modelValue":g[3]||(g[3]=M=>_.form.assetOwnerUnit=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...g[10]||(g[10]=[vue.createElementVNode("span",null,"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D\uFF1A",-1)])]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:2},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(s,{type:"primary",onClick:m.handleSearch},{default:vue.withCtx(()=>[...g[11]||(g[11]=[vue.createTextVNode("\u641C\u7D22",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),vue.createVNode(a,{data:_.tableData,height:"500px",style:{width:"100%"},"check-strictly":"","row-key":"assetId",ref:"tableRef","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:""},{default:vue.withCtx(()=>[vue.createVNode(o,{type:"selection",width:"55"}),vue.createVNode(o,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801",width:"200"}),vue.createVNode(o,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0"}),vue.createVNode(o,{prop:"assetTypeName","header-align":"center",align:"center",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(o,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(o,{prop:"originalValue",label:"\u539F\u503C(\u4E07\u5143)",width:"120"},{default:vue.withCtx(({row:M})=>[vue.createTextVNode(vue.toDisplayString(M.originalValue),1)]),_:1}),vue.createVNode(o,{prop:"netValue",label:"\u51C0\u503C(\u4E07\u5143)",width:"120"},{default:vue.withCtx(({row:M})=>[vue.createTextVNode(vue.toDisplayString(M.netValue),1)]),_:1})]),_:1},8,["data"]),vue.createVNode(l,{onSizeChange:m.handleSizeChange,onCurrentChange:m.handleCurrentChange,"current-page":_.currentPage,layout:"total, sizes, prev, pager, next",size:"small",total:_.total},null,8,["onSizeChange","onCurrentChange","current-page","total"])]),vue.createElementVNode("div",{class:"center-wrap",onClick:g[4]||(g[4]=(...M)=>m.handleAdd&&m.handleAdd(...M))},[vue.createVNode(p,null,{default:vue.withCtx(()=>[vue.createVNode(h)]),_:1})]),vue.createElementVNode("div",_hoisted_5$4,[vue.createElementVNode("div",_hoisted_6$4,[vue.createVNode(A,{modelValue:_.searchValue,"onUpdate:modelValue":g[5]||(g[5]=M=>_.searchValue=M),placeholder:"\u8BF7\u8F93\u5165\u8D44\u4EA7\u540D\u79F0\u6216\u8D44\u4EA7\u7F16\u7801\u641C\u7D22",clearable:""},{prefix:vue.withCtx(()=>[vue.createVNode(p,null,{default:vue.withCtx(()=>[vue.createVNode(w)]),_:1})]),_:1},8,["modelValue"])]),vue.createVNode(x,{class:"asset-wrap-scroll"},{default:vue.withCtx(()=>[vue.createElementVNode("ul",_hoisted_7$4,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.filterList,M=>(vue.openBlock(),vue.createElementBlock("li",{class:"asset-item",key:M.assetId},[vue.createElementVNode("div",_hoisted_8$2,[vue.createElementVNode("div",null,vue.toDisplayString(M.labelName),1),vue.createElementVNode("div",null,vue.toDisplayString(M.assetCode),1)]),vue.createElementVNode("div",_hoisted_9$2,[vue.createVNode(p,{onClick:T=>m.handleRemove(M.assetId)},{default:vue.withCtx(()=>[vue.createVNode(v)]),_:1},8,["onClick"])])]))),128))])]),_:1})])])])]),_:1},8,["modelValue","onClose"])}var AssetDialog=_export_sfc$1(_sfc_main$i,[["render",_sfc_render$i],["__scopeId","data-v-5cca3952"]]),index_vue_vue_type_style_index_0_lang$2="";const _sfc_main$h={name:"asset-select-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,AssetDialog},data(){return{dialogVisible:!1,fieldModel:null,oldFieldValue:null,rules:[],tableData:[]}},computed:{displayModel:{get(){return this.fieldModel!=null?this.fieldModel:[]},set(t){this.fieldModel=t}},widgetStyle(){return{width:"100%"}}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{updateFieldLabel(t,g){var d;if(!t)return!1;const e=g==null?"":String(g),f=this.getWidgetRef(t,!1);if((d=f==null?void 0:f.field)==null?void 0:d.options){f.field.options.label=e;const u=this.getFormRef();return u&&typeof u.$forceUpdate=="function"&&u.$forceUpdate(),!0}const _=this.getFormRef();if(!_||typeof _.getFormJson!="function"||typeof _.setFormJson!="function")return!1;const m=_.getFormJson();let A=!1;const b=u=>{!Array.isArray(u)||u.forEach(n=>{var s;if(!A){if(((s=n==null?void 0:n.options)==null?void 0:s.name)===t){n.options.label=e,A=!0;return}Array.isArray(n==null?void 0:n.widgetList)&&b(n.widgetList),Array.isArray(n==null?void 0:n.cols)&&n.cols.forEach(i=>b(i==null?void 0:i.widgetList)),Array.isArray(n==null?void 0:n.rows)&&n.rows.forEach(i=>Array.isArray(i==null?void 0:i.cols)&&i.cols.forEach(r=>b(r==null?void 0:r.widgetList))),Array.isArray(n==null?void 0:n.tabs)&&n.tabs.forEach(i=>b(i==null?void 0:i.widgetList))}})};return b(m==null?void 0:m.widgetList),A?(_.setFormJson(m),!0):!1},handleClick(){this.dialogVisible=!0},handleConfirm(t){this.dialogVisible=!1,this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null,this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",t),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},handleCancel(){this.triggerEvent("onCancel"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(t,...g){var f,_;const e=(_=(f=this.field)==null?void 0:f.options)==null?void 0:_[t];if(e)try{if(t==="onConfirm"&&g.length>0){const m=g[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,m,m,m)}else if(t==="onRemoveTag"&&g.length>=2){const m=g[0],A=g[1],b=g[2];new Function("removedItem","remainingNodes","remainingValue","selectedValue","removedIndex",e).call(this,m,A,A,A,b)}else if(g.length>0){const m=g.map((b,d)=>`arg${d}`).join(", ");new Function(m,e).apply(this,g)}else new Function(e).call(this)}catch(m){console.error(`Error executing ${t} handler:`,m),console.error("Handler code:",e),console.error("Args:",g)}},handleSearch(){this.$nextTick(()=>{this.applyTreeFilter()})}}},_hoisted_1$b={class:"asset-select-widget__trigger"};function _sfc_render$h(t,g,e,f,_,m){const A=vue.resolveComponent("el-button"),b=vue.resolveComponent("asset-dialog"),d=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(d,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-select-widget",style:vue.normalizeStyle(m.widgetStyle)},[vue.createElementVNode("div",_hoisted_1$b,[vue.createVNode(A,{type:"primary",class:"asset-select-widget__button",plain:"",disabled:e.field.options.disabled,placeholder:"\u8BF7\u9009\u62E9\u8D44\u4EA7",onClick:m.handleClick,ref:"inputTagRef"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.buttonText||"\u9009\u62E9\u8D44\u4EA7"),1)]),_:1},8,["disabled","onClick"])]),vue.createVNode(b,{"dialog-visible":_.dialogVisible,onClose:m.handleClose,onConfirm:m.handleConfirm,onCancel:m.handleCancel,limit:e.field.options.assetLimit,fieldValue:_.fieldModel,assetTypeValue:e.field.options.assetTypeValue},null,8,["dialog-visible","onClose","onConfirm","onCancel","limit","fieldValue","assetTypeValue"])],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AssetSelectWidget=_export_sfc$1(_sfc_main$h,[["render",_sfc_render$h]]),documentDialog_vue_vue_type_style_index_0_scoped_true_lang="",documentDialog_vue_vue_type_style_index_1_lang="";const DEFAULT_FORM_JSON$1={widgetList:[],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}},_sfc_main$g={name:"document-dialog",components:{VFormRender},props:{dialogVisible:{type:Boolean,default:!1},fieldValue:{type:Array,default:()=>[]},documentTypeValue:{type:String,default:""},documentListUrl:{type:String,default:"unified-system/workflow/businessFlow/page"},limit:{type:Number,default:0}},data(){return{tableData:[],selectedRows:[],checkedIds:[],visible:!1,pageSize:10,currentPage:1,form:{title:""},total:0,activeDocumentId:null,activeDocument:null,formJson:null,formData:{},showForm:!1,detailLoading:!1,formJsonCache:{},_handlingCheckedChange:!1}},computed:{renderFormJson(){return this.formJson||DEFAULT_FORM_JSON$1}},watch:{dialogVisible:{handler(t){this.visible=t,t&&(this.getTableData(),this.selectedRows=this.fieldValue&&Array.isArray(this.fieldValue)?lodash.exports.cloneDeep(this.fieldValue):[],this.selectedRows.length>0?this.handleSelectActive(this.selectedRows[0]):this.resetDetail())}}},methods:{resetDetail(){this.activeDocumentId=null,this.activeDocument=null,this.formJson=null,this.formData={},this.showForm=!1,this.detailLoading=!1},syncCheckedIds(){this.checkedIds=this.tableData.filter(t=>this.selectedRows.some(g=>g.id===t.id)).map(t=>t.id)},handleClose(){this.form={title:""},this.checkedIds=[],this.resetDetail(),this.$emit("close")},handleConfirm(){if(!this.selectedRows.length){this.$message.error("\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u6761\u6536\u6587");return}this.form={title:""},console.log(this.selectedRows,"this.selectedRows"),this.$emit("confirm",lodash.exports.cloneDeep(this.selectedRows))},handleCheckedChange(t){if(this._handlingCheckedChange)return;const e=this.tableData.map(_=>_.id).filter(_=>!t.includes(_)),f=this.selectedRows.filter(_=>!e.includes(_.id));if(t.forEach(_=>{if(!f.some(m=>m.id===_)){const m=this.tableData.find(A=>A.id===_);m&&f.push(m)}}),this.limit>0&&f.length>this.limit){this.$message.error(`\u6700\u591A\u9009\u62E9 ${this.limit} \u6761\u6536\u6587`),this._handlingCheckedChange=!0,this.syncCheckedIds(),this._handlingCheckedChange=!1;return}this.selectedRows=f},getTableData(){service$1({method:"post",url:this.documentListUrl,data:{size:this.pageSize,current:this.currentPage,title:this.form.title,createdByCompanyId:sessionStorage.getItem("companyId"),dataJson:{form_titleName:this.form.title},subCategoryCode:"1009",status:-1}}).then(({data:t})=>{const{hits:g=[],totalHits:e=0}=t||{};this.tableData=g,this.total=e,this.syncCheckedIds()}).catch(t=>{console.error(t),this.tableData=[],this.total=0,this.checkedIds=[]})},handleSizeChange(t){this.pageSize=t,this.currentPage=1,this.getTableData()},handleCurrentChange(t){this.currentPage=t,this.getTableData()},handleSelectActive(t){console.log(t,"item"),!!t&&(this.activeDocumentId=t.id,this.activeDocument=t,this.loadDocumentDetail(t))},resolveDocumentFormData(t){if(!t||typeof t!="object")return{};let g=lodash.exports.cloneDeep(t);const{dataJson:e}=t;if(e!=null&&e!==""){let f=e;if(typeof f=="string")try{f=JSON.parse(f)}catch{f=null}f&&typeof f=="object"&&(g=Ie(Ie({},g),f))}return g},getFormConfigCode(t){return(t==null?void 0:t.formCode)||(t==null?void 0:t.subCategoryCode)||this.documentTypeValue},buildReadonlyFormJson(t){const g=lodash.exports.cloneDeep(t);return(g==null?void 0:g.widgetList)&&traverseFieldWidgets(g.widgetList,e=>{(e==null?void 0:e.options)&&(e.options.disabled=!0,e.options.readonly=!0)}),g},applyFormToRender(t,g){const e=this.buildReadonlyFormJson(t);this.formJson=e,this.showForm=!0,this.$nextTick(()=>{const f=this.$refs.detailFormRender;!f||typeof f.setFormJson!="function"||(f.setFormJson(lodash.exports.cloneDeep(e)),this.$nextTick(()=>{typeof f.setFormData=="function"&&f.setFormData(lodash.exports.cloneDeep(g)),this.syncFormDisabledStatus()}))})},syncFormDisabledStatus(){const t=()=>{const g=this.$refs.detailFormRender;g&&typeof g.disableForm=="function"&&g.disableForm()};this.$nextTick(t),[300,800,1500].forEach(g=>setTimeout(t,g))},async loadDocumentDetail(t){const g=this.getFormConfigCode(t);if(this.formData=this.resolveDocumentFormData(t),!g){this.showForm=!1,this.formJson=null;return}this.detailLoading=!0,this.showForm=!1;try{let e=this.formJsonCache[g];if(!e){const{data:f}=await service$1({method:"get",url:`/workflow-engine/businessFlowConfig/detailByCode/${t.subCategoryCode}`});(f==null?void 0:f.formJson)&&(e=typeof f.formJson=="string"?JSON.parse(f.formJson):f.formJson,this.formJsonCache[g]=e)}(e==null?void 0:e.widgetList)&&(e==null?void 0:e.formConfig)?this.applyFormToRender(e,this.formData):(this.formJson=null,this.showForm=!1)}catch(e){console.error(e),this.formJson=null,this.showForm=!1}finally{this.detailLoading=!1}},getDocumentTitle(t){return(t==null?void 0:t.form_titleName)||(t==null?void 0:t.title)||(t==null?void 0:t.documentTitle)||"-"},handleSearch(){this.currentPage=1,this.getTableData()}}},_hoisted_1$a={class:"document-body-wrap"},_hoisted_2$8={class:"bottom-wrap"},_hoisted_3$6={class:"left-wrap"},_hoisted_4$5={class:"filter-wrap"},_hoisted_5$3=["onClick"],_hoisted_6$3={key:0,class:"document-list-empty"},_hoisted_7$3={class:"right-wrap"},_hoisted_8$1={class:"detail-panel"},_hoisted_9$1={key:0,class:"detail-loading"},_hoisted_10={key:1,class:"detail-empty"},_hoisted_11={key:2,class:"detail-form detail-form--readonly"},_hoisted_12={key:3,class:"detail-empty"},_hoisted_13={class:"dialog-footer"};function _sfc_render$g(t,g,e,f,_,m){const A=vue.resolveComponent("el-input"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-form"),u=vue.resolveComponent("el-checkbox"),n=vue.resolveComponent("el-checkbox-group"),s=vue.resolveComponent("el-scrollbar"),i=vue.resolveComponent("el-pagination"),r=vue.resolveComponent("Loading"),o=vue.resolveComponent("el-icon"),a=vue.resolveComponent("v-form-render"),l=vue.resolveComponent("el-button"),h=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(h,{modelValue:_.visible,"onUpdate:modelValue":g[3]||(g[3]=p=>_.visible=p),title:"\u6536\u6587\u9009\u62E9",width:"1418px",onClose:m.handleClose,"body-class":"document-list-dialog-body","close-on-click-modal":!1,draggable:"","header-class":"document-list-dialog-header"},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_13,[vue.createVNode(l,{onClick:m.handleClose,size:"default"},{default:vue.withCtx(()=>[...g[7]||(g[7]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1},8,["onClick"]),vue.createVNode(l,{type:"primary",onClick:m.handleConfirm,size:"default"},{default:vue.withCtx(()=>[...g[8]||(g[8]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$a,[vue.createElementVNode("div",_hoisted_2$8,[vue.createElementVNode("div",_hoisted_3$6,[vue.createElementVNode("div",_hoisted_4$5,[vue.createVNode(d,{model:_.form,ref:"formRef",onSubmit:vue.withModifiers(m.handleSearch,["prevent"])},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(A,{maxlength:"50",modelValue:_.form.title,"onUpdate:modelValue":g[0]||(g[0]=p=>_.form.title=p),placeholder:"\u8BF7\u8F93\u5165\u6536\u6587\u6807\u9898",clearable:"",onKeyup:vue.withKeys(m.handleSearch,["enter"])},{prefix:vue.withCtx(()=>[...g[4]||(g[4]=[vue.createElementVNode("span",null,"\u6536\u6587\u6807\u9898\uFF1A",-1)])]),_:1},8,["modelValue","onKeyup"])]),_:1})]),_:1},8,["model","onSubmit"])]),vue.createVNode(s,{class:"document-list-scroll"},{default:vue.withCtx(()=>[vue.createVNode(n,{modelValue:_.checkedIds,"onUpdate:modelValue":g[2]||(g[2]=p=>_.checkedIds=p),class:"document-checkbox-group",onChange:m.handleCheckedChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.tableData,p=>(vue.openBlock(),vue.createElementBlock("div",{key:p.id,class:vue.normalizeClass(["document-checkbox-item",{active:_.activeDocumentId===p.id}])},[vue.createVNode(u,{label:p.id},{default:vue.withCtx(()=>[vue.createElementVNode("span",{class:"document-checkbox-item__title",onMousedown:g[1]||(g[1]=vue.withModifiers(()=>{},["stop","prevent"])),onClick:vue.withModifiers(w=>m.handleSelectActive(p),["stop","prevent"])},vue.toDisplayString(m.getDocumentTitle(p)),41,_hoisted_5$3)]),_:2},1032,["label"])],2))),128)),_.tableData.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$3,"\u6682\u65E0\u6536\u6587\u6570\u636E")):vue.createCommentVNode("",!0)]),_:1},8,["modelValue","onChange"])]),_:1}),vue.createVNode(i,{onSizeChange:m.handleSizeChange,onCurrentChange:m.handleCurrentChange,"current-page":_.currentPage,"page-size":_.pageSize,layout:"total, prev, pager, next",size:"small",total:_.total},null,8,["onSizeChange","onCurrentChange","current-page","page-size","total"])]),vue.createElementVNode("div",_hoisted_7$3,[vue.createElementVNode("div",_hoisted_8$1,[g[6]||(g[6]=vue.createElementVNode("div",{class:"detail-panel__title"},"\u6536\u6587\u8BE6\u60C5",-1)),vue.createVNode(s,{class:"detail-panel__scroll"},{default:vue.withCtx(()=>[_.detailLoading?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$1,[vue.createVNode(o,{class:"is-loading"},{default:vue.withCtx(()=>[vue.createVNode(r)]),_:1}),g[5]||(g[5]=vue.createElementVNode("span",null,"\u52A0\u8F7D\u4E2D...",-1))])):_.activeDocument?_.showForm?(vue.openBlock(),vue.createElementBlock("div",_hoisted_11,[vue.createVNode(a,{ref:"detailFormRender","form-json":m.renderFormJson,"form-data":_.formData,"preview-state":!0},null,8,["form-json","form-data"])])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_12,"\u672A\u627E\u5230\u8868\u5355\u914D\u7F6E")):(vue.openBlock(),vue.createElementBlock("div",_hoisted_10,"\u8BF7\u9009\u62E9\u6536\u6587\u67E5\u770B\u8BE6\u60C5"))]),_:1})])])])])]),_:1},8,["modelValue","onClose"])}var DocumentDialog=_export_sfc$1(_sfc_main$g,[["render",_sfc_render$g],["__scopeId","data-v-2cd11beb"]]),documentDetailDialog_vue_vue_type_style_index_0_scoped_true_lang="",documentDetailDialog_vue_vue_type_style_index_1_lang="";const DEFAULT_FORM_JSON={widgetList:[],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}},_sfc_main$f={name:"document-detail-dialog",components:{VFormRender},props:{dialogVisible:{type:Boolean,default:!1},document:{type:Object,default:null},documentTypeValue:{type:String,default:""}},data(){return{visible:!1,formJson:null,formData:{},showForm:!1,detailLoading:!1,formJsonCache:{}}},computed:{renderFormJson(){return this.formJson||DEFAULT_FORM_JSON}},watch:{dialogVisible:{handler(t){this.visible=t,t&&this.document?this.loadDocumentDetail(this.document):t||this.resetDetail()}}},methods:{resetDetail(){this.formJson=null,this.formData={},this.showForm=!1,this.detailLoading=!1},handleClose(){this.resetDetail(),this.$emit("close")},resolveDocumentFormData(t){if(!t||typeof t!="object")return{};let g=lodash.exports.cloneDeep(t);const{dataJson:e}=t;if(e!=null&&e!==""){let f=e;if(typeof f=="string")try{f=JSON.parse(f)}catch{f=null}f&&typeof f=="object"&&(g=Ie(Ie({},g),f))}return g},getFormConfigCode(t){return(t==null?void 0:t.subCategoryCode)||(t==null?void 0:t.formCode)||this.documentTypeValue},buildReadonlyFormJson(t){const g=lodash.exports.cloneDeep(t);return(g==null?void 0:g.widgetList)&&traverseFieldWidgets(g.widgetList,e=>{(e==null?void 0:e.options)&&(e.options.disabled=!0,e.options.readonly=!0)}),g},applyFormToRender(t,g){const e=this.buildReadonlyFormJson(t);this.formJson=e,this.showForm=!0,this.$nextTick(()=>{const f=this.$refs.detailFormRender;!f||typeof f.setFormJson!="function"||(f.setFormJson(lodash.exports.cloneDeep(e)),this.$nextTick(()=>{typeof f.setFormData=="function"&&f.setFormData(lodash.exports.cloneDeep(g)),this.syncFormDisabledStatus()}))})},syncFormDisabledStatus(){const t=()=>{const g=this.$refs.detailFormRender;g&&typeof g.disableForm=="function"&&g.disableForm()};this.$nextTick(t),[300,800,1500].forEach(g=>setTimeout(t,g))},async loadDocumentDetail(t){const g=this.getFormConfigCode(t);if(this.formData=this.resolveDocumentFormData(t),!g){this.showForm=!1,this.formJson=null;return}this.detailLoading=!0,this.showForm=!1;try{let e=this.formJsonCache[g];if(!e){const{data:f}=await service$1({method:"get",url:`/workflow-engine/businessFlowConfig/detailByCode/${g}`});(f==null?void 0:f.formJson)&&(e=typeof f.formJson=="string"?JSON.parse(f.formJson):f.formJson,this.formJsonCache[g]=e)}(e==null?void 0:e.widgetList)&&(e==null?void 0:e.formConfig)?this.applyFormToRender(e,this.formData):(this.formJson=null,this.showForm=!1)}catch(e){console.error(e),this.formJson=null,this.showForm=!1}finally{this.detailLoading=!1}}}},_hoisted_1$9={key:0,class:"detail-loading"},_hoisted_2$7={key:1,class:"detail-form detail-form--readonly"},_hoisted_3$5={key:2,class:"detail-empty"},_hoisted_4$4={class:"dialog-footer"};function _sfc_render$f(t,g,e,f,_,m){const A=vue.resolveComponent("Loading"),b=vue.resolveComponent("el-icon"),d=vue.resolveComponent("v-form-render"),u=vue.resolveComponent("el-scrollbar"),n=vue.resolveComponent("el-button"),s=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(s,{modelValue:_.visible,"onUpdate:modelValue":g[0]||(g[0]=i=>_.visible=i),title:"\u6536\u6587\u8BE6\u60C5",width:"900px",onClose:m.handleClose,"close-on-click-modal":!1,"append-to-body":"",draggable:"","body-class":"document-detail-dialog-body"},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$4,[vue.createVNode(n,{onClick:m.handleClose,size:"default"},{default:vue.withCtx(()=>[...g[2]||(g[2]=[vue.createTextVNode("\u5173\u95ED",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(u,{class:"detail-panel__scroll"},{default:vue.withCtx(()=>[_.detailLoading?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$9,[vue.createVNode(b,{class:"is-loading"},{default:vue.withCtx(()=>[vue.createVNode(A)]),_:1}),g[1]||(g[1]=vue.createElementVNode("span",null,"\u52A0\u8F7D\u4E2D...",-1))])):_.showForm?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$7,[vue.createVNode(d,{ref:"detailFormRender","form-json":m.renderFormJson,"form-data":_.formData,"preview-state":!0},null,8,["form-json","form-data"])])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$5,"\u672A\u627E\u5230\u8868\u5355\u914D\u7F6E"))]),_:1})]),_:1},8,["modelValue","onClose"])}var DocumentDetailDialog=_export_sfc$1(_sfc_main$f,[["render",_sfc_render$f],["__scopeId","data-v-3064d402"]]),index_vue_vue_type_style_index_0_lang$1="";const _sfc_main$e={name:"document-select-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DocumentDialog,DocumentDetailDialog},data(){return{dialogVisible:!1,detailDialogVisible:!1,currentDetailDocument:null,fieldModel:null,oldFieldValue:null,rules:[]}},computed:{isDisabled(){var t,g;return!!((g=(t=this.field)==null?void 0:t.options)==null?void 0:g.disabled)},selectedList(){return Array.isArray(this.fieldModel)?this.fieldModel:this.fieldModel?[this.fieldModel]:[]},widgetStyle(){return{width:"100%"}}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{getDocumentKey(t){var g,e;return(e=(g=t==null?void 0:t.id)!=null?g:t==null?void 0:t.documentId)!=null?e:t==null?void 0:t.form_titleName},getDocumentTitle(t){return(t==null?void 0:t.form_titleName)||(t==null?void 0:t.title)||(t==null?void 0:t.documentTitle)||"-"},handleClick(){this.dialogVisible=!0},handleViewDetail(t){this.currentDetailDocument=t,this.detailDialogVisible=!0},handleDetailClose(){this.detailDialogVisible=!1,this.currentDetailDocument=null},handleConfirm(t){this.dialogVisible=!1,this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null,this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",t),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},handleCancel(){this.triggerEvent("onCancel"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(t,...g){var f,_;const e=(_=(f=this.field)==null?void 0:f.options)==null?void 0:_[t];if(e)try{if(t==="onConfirm"&&g.length>0){const m=g[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,m,m,m)}else if(g.length>0){const m=g.map((b,d)=>`arg${d}`).join(", ");new Function(m,e).apply(this,g)}else new Function(e).call(this)}catch(m){console.error(`Error executing ${t} handler:`,m)}}}},_hoisted_1$8={key:0,class:"document-selected-empty"},_hoisted_2$6={key:1,class:"document-select-widget__trigger"},_hoisted_3$4={key:2,class:"document-selected-list"},_hoisted_4$3=["onClick"];function _sfc_render$e(t,g,e,f,_,m){const A=vue.resolveComponent("el-button"),b=vue.resolveComponent("document-dialog"),d=vue.resolveComponent("document-detail-dialog"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"document-select-widget",style:vue.normalizeStyle(m.widgetStyle)},[m.isDisabled?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[m.selectedList.length?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$8,"\u6682\u65E0\u5173\u8054\u516C\u6587"))],64)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$6,[vue.createVNode(A,{type:"primary",class:"document-select-widget__button",plain:"",placeholder:"\u8BF7\u9009\u62E9\u5173\u8054\u6536\u6587",onClick:m.handleClick,ref:"inputTagRef"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.buttonText||"\u9009\u62E9\u6587\u6863"),1)]),_:1},8,["onClick"])])),m.selectedList.length?(vue.openBlock(),vue.createElementBlock("ul",_hoisted_3$4,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.selectedList,n=>(vue.openBlock(),vue.createElementBlock("li",{key:m.getDocumentKey(n),class:"document-selected-item",onClick:s=>m.handleViewDetail(n)},vue.toDisplayString(m.getDocumentTitle(n)),9,_hoisted_4$3))),128))])):vue.createCommentVNode("",!0),vue.createVNode(b,{"dialog-visible":_.dialogVisible,onClose:m.handleClose,onConfirm:m.handleConfirm,onCancel:m.handleCancel,limit:e.field.options.documentLimit,"field-value":_.fieldModel,"document-type-value":e.field.options.documentTypeValue,"document-list-url":e.field.options.documentListUrl},null,8,["dialog-visible","onClose","onConfirm","onCancel","limit","field-value","document-type-value","document-list-url"]),vue.createVNode(d,{"dialog-visible":_.detailDialogVisible,document:_.currentDetailDocument,"document-type-value":e.field.options.documentTypeValue,onClose:m.handleDetailClose},null,8,["dialog-visible","document","document-type-value","onClose"])],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var DocumentSelectWidget=_export_sfc$1(_sfc_main$e,[["render",_sfc_render$e]]);const DEFAULT_DICT_API="/unified-dict/sysItemDict/page",DEFAULT_DICT_PARAMS={current:1,size:1e4};function normalizeDictRecords(t){return Array.isArray(t)?t.reduce((g,e)=>{var _,m,A,b,d;const f=e.dictType;return f&&(g[f]||(g[f]=[]),g[f].push(Ie({label:(m=(_=e.label)!=null?_:e.dictLabel)!=null?m:"",value:(d=(b=(A=e.itemValue)!=null?A:e.dictValue)!=null?b:e.value)!=null?d:""},e))),g},{}):{}}class DictManager{constructor(){this.dictCache={},this.loading=!1,this._loaded=!1,this._listeners=[],this._fetchPromise=null}onLoaded(g){return typeof g!="function"?()=>{}:this._loaded?(g(this.dictCache),()=>{}):(this._listeners.push(g),()=>{this._listeners=this._listeners.filter(e=>e!==g)})}_notifyLoaded(){this._loaded=!0,this._listeners.forEach(g=>{try{g(this.dictCache)}catch(e){console.error("[dictManager] onLoaded callback error:",e)}})}fetchFromApi(g,e={}){const{url:f=DEFAULT_DICT_API,params:_=DEFAULT_DICT_PARAMS,force:m=!1,customFetch:A}=e;if(this._fetchPromise&&!m)return this._fetchPromise;if(this._loaded&&Object.keys(this.dictCache).length>0&&!m)return Promise.resolve(this.dictCache);this.loading=!0;const b=typeof A=="function"?Promise.resolve().then(()=>A()).then(d=>d&&!Array.isArray(d)&&typeof d=="object"?d:normalizeDictRecords(Array.isArray(d)?d:[])):g.post(f,_).then(d=>{var n,s,i,r;const u=(r=(i=(s=(n=d==null?void 0:d.data)==null?void 0:n.records)!=null?s:d==null?void 0:d.records)!=null?i:d==null?void 0:d.data)!=null?r:[];return normalizeDictRecords(Array.isArray(u)?u:[])});return this._fetchPromise=b.then(d=>(this.init(d||{}),this._notifyLoaded(),d)).catch(d=>(console.warn("[form-custom-test] \u5B57\u5178\u6570\u636E\u52A0\u8F7D\u5931\u8D25:",d),{})).finally(()=>{this.loading=!1}),this._fetchPromise}init(g){this.dictCache=g||{},typeof window!="undefined"&&(window.dictCache=this.dictCache,window.getDictData=e=>this.getDictData(e))}getDictData(g){return g?this.dictCache[g]||[]:[]}getDictLabel(g,e,f="label",_="value"){const A=this.getDictData(g).find(b=>String(b[_])===String(e));return A?A[f]:e}getDictValue(g,e,f="dictLabel",_="dictValue"){const A=this.getDictData(g).find(b=>b[f]===e);return A?A[_]:null}getDictOptions(g,e={}){const{labelField:f="dictLabel",valueField:_="dictValue",disabledField:m="disabled"}=e,A=this.getDictData(g);return this.mapToOptionItems(A,{labelField:f,valueField:_,disabledField:m})}mapToOptionItems(g,e={}){const{labelField:f="dictLabel",valueField:_="dictValue",disabledField:m="disabled"}=e;return Array.isArray(g)?g.map(A=>({label:A[f]||A.label||A.name||A.text||"",value:A[_]||A.value||A.code||A.itemValue||"",disabled:A[m]||!1})):[]}toOptionItems(g){return this.mapToOptionItems(this.getDictData(g))}getDictTypeOptions(){return Object.keys(this.dictCache||{}).map(g=>({label:g,value:g}))}clear(){this.dictCache={},this._loaded=!1,this._fetchPromise=null,typeof window!="undefined"&&(window.dictCache={})}updateDict(g,e){g&&Array.isArray(e)&&(this.dictCache[g]=e,typeof window!="undefined"&&(window.dictCache[g]=e))}}const dictManager=new DictManager;var index_vue_vue_type_style_index_0_scoped_true_lang$5="";const _sfc_main$d={name:"dict-select-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[]}},computed:{allowDefaultFirstOption(){return!!this.field.options.filterable&&!!this.field.options.allowCreate}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},"field.options.dictCode":{immediate:!0,handler(t,g){this.loadDictOptions(),g!==void 0&&t!==g&&this.clearSelectedOptions()}},"field.options.type"(t){this.normalizeFieldModel(t)}},created(){Array.isArray(this.field.options.optionItems)||(this.field.options.optionItems=[]),this.initFieldModel(),this.normalizeFieldModel(this.field.options.type),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted(),this._offDictLoaded=dictManager.onLoaded(()=>{this.loadDictOptions()})},beforeUnmount(){this._offDictLoaded&&this._offDictLoaded(),this.unregisterFromRefList()},methods:{initOptionItems(t){if(this.designState)return;const g=this.getOptionData();if(g&&Object.prototype.hasOwnProperty.call(g,this.field.options.name)){t?this.reloadOptions(g[this.field.options.name]):this.loadOptions(g[this.field.options.name]);return}this.loadDictOptions()},loadDictOptions(){const t=this.field.options.dictCode;this.field.options.optionItems=t?dictManager.toOptionItems(t):[]},clearSelectedOptions(){const t=this.field.options.type;t==="checkbox"||t==="select"&&this.field.options.multiple?this.fieldModel=[]:this.fieldModel="",this.syncUpdateFormModel(this.fieldModel)},getOptionItems(){var t,g,e;if(this.subFormRowId){const f=this.field.options.name+"@row"+this.subFormRowId;return((e=(g=(t=this.refList[f])==null?void 0:t.field)==null?void 0:g.options)==null?void 0:e.optionItems)||[]}return this.field.options.optionItems||[]},normalizeFieldModel(t){t==="checkbox"||t==="select"&&this.field.options.multiple?this.fieldModel==null?(this.fieldModel=[],this.syncUpdateFormModel([])):Array.isArray(this.fieldModel)||(this.fieldModel=this.fieldModel===""?[]:[this.fieldModel],this.syncUpdateFormModel(this.fieldModel)):Array.isArray(this.fieldModel)&&(this.fieldModel=this.fieldModel.length>0?this.fieldModel[0]:"",this.syncUpdateFormModel(this.fieldModel))}}},_hoisted_1$7={class:"dict-select-widget"};function _sfc_render$d(t,g,e,f,_,m){const A=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),d=vue.resolveComponent("el-radio-button"),u=vue.resolveComponent("el-radio"),n=vue.resolveComponent("el-radio-group"),s=vue.resolveComponent("el-checkbox-button"),i=vue.resolveComponent("el-checkbox"),r=vue.resolveComponent("el-checkbox-group"),o=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(o,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$7,[e.field.options.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:0,ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[0]||(g[0]=a=>_.fieldModel=a),class:"full-width-input",disabled:t.getDisabled(),size:t.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":m.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.field.options.optionItems||[],a=>(vue.openBlock(),vue.createBlock(A,{key:a.value,label:a.label,value:a.value,disabled:a.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","disabled","size","clearable","filterable","allow-create","default-first-option","automatic-dropdown","multiple","multiple-limit","placeholder","onFocus","onBlur","onChange"])):e.field.options.type==="radio"?(vue.openBlock(),vue.createBlock(n,{key:1,ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[1]||(g[1]=a=>_.fieldModel=a),class:vue.normalizeClass({"radio-group-block":e.field.options.displayStyle==="block"}),disabled:t.getDisabled(),size:t.widgetSize,onChange:t.handleChangeEvent},{default:vue.withCtx(()=>[e.field.options.buttonStyle?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.field.options.optionItems||[],(a,l)=>(vue.openBlock(),vue.createBlock(d,{key:l,label:a.value,disabled:t.getDisabled()||a.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.label),1)]),_:2},1032,["label","disabled","border","style"]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(e.field.options.optionItems||[],(a,l)=>(vue.openBlock(),vue.createBlock(u,{key:l,label:a.value,disabled:t.getDisabled()||a.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.label),1)]),_:2},1032,["label","disabled","border","style"]))),128))]),_:1},8,["modelValue","class","disabled","size","onChange"])):e.field.options.type==="checkbox"?(vue.openBlock(),vue.createBlock(r,{key:2,ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[2]||(g[2]=a=>_.fieldModel=a),disabled:t.getDisabled(),size:t.widgetSize,onChange:t.handleChangeEvent},{default:vue.withCtx(()=>[e.field.options.buttonStyle?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.field.options.optionItems||[],(a,l)=>(vue.openBlock(),vue.createBlock(s,{key:l,label:a.value,disabled:t.getDisabled()||a.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.label),1)]),_:2},1032,["label","disabled","border","style"]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(e.field.options.optionItems||[],(a,l)=>(vue.openBlock(),vue.createBlock(i,{key:l,label:a.value,disabled:t.getDisabled()||a.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.label),1)]),_:2},1032,["label","disabled","border","style"]))),128))]),_:1},8,["modelValue","disabled","size","onChange"])):vue.createCommentVNode("",!0)])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var DictSelectWidget=_export_sfc$1(_sfc_main$d,[["render",_sfc_render$d],["__scopeId","data-v-6f18008b"]]),dictSelectDictCodeEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$c={name:"dict-select-dictCode-editor",mixins:[i18n$1],props:{designer:Object,selectedWidget:Object,optionModel:Object},data(){return{dictTypeOptions:[]}},computed:{optionCount(){return this.optionModel.dictCode?dictManager.toOptionItems(this.optionModel.dictCode).length:0}},created(){this.refreshDictTypeOptions(),this.syncOptionItemsFromDict()},mounted(){this.$nextTick(()=>this.refreshDictTypeOptions()),this._offDictLoaded=dictManager.onLoaded(()=>{this.refreshDictTypeOptions(),this.syncOptionItemsFromDict()})},beforeUnmount(){this._offDictLoaded&&this._offDictLoaded()},methods:{refreshDictTypeOptions(){this.dictTypeOptions=dictManager.getDictTypeOptions()},handleDictCodeChange(){this.refreshDictTypeOptions(),this.syncOptionItemsFromDict()},handleVisibleChange(t){t&&this.refreshDictTypeOptions()},syncOptionItemsFromDict(){const t=this.optionModel.dictCode;this.optionModel.optionItems=t?dictManager.toOptionItems(t):[]}}},_hoisted_1$6={class:"dict-code-hint"},_hoisted_2$5={key:0};function _sfc_render$c(t,g,e,f,_,m){const A=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),d=vue.resolveComponent("el-form-item");return vue.openBlock(),vue.createBlock(d,{label:t.i18nt("extension.setting.dictSelectDictCode")},{default:vue.withCtx(()=>[vue.createVNode(b,{modelValue:e.optionModel.dictCode,"onUpdate:modelValue":g[0]||(g[0]=u=>e.optionModel.dictCode=u),filterable:"",clearable:"",placeholder:t.i18nt("extension.setting.dictSelectDictCodePlaceholder"),style:{width:"100%"},onChange:m.handleDictCodeChange,onVisibleChange:m.handleVisibleChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.dictTypeOptions,u=>(vue.openBlock(),vue.createBlock(A,{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder","onChange","onVisibleChange"]),vue.createElementVNode("div",_hoisted_1$6,[vue.createTextVNode(vue.toDisplayString(t.i18nt("extension.setting.dictSelectDictCodeHint"))+" ",1),m.optionCount>0?(vue.openBlock(),vue.createElementBlock("span",_hoisted_2$5,"\uFF08"+vue.toDisplayString(m.optionCount)+" "+vue.toDisplayString(t.i18nt("extension.setting.dictSelectOptionCount"))+"\uFF09",1)):vue.createCommentVNode("",!0)])]),_:1},8,["label"])}var DictSelectDictCodeEditor=_export_sfc$1(_sfc_main$c,[["render",_sfc_render$c],["__scopeId","data-v-2dfeafae"]]),detailDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$b={name:"detail-dialog",components:{VFormRender},props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})},typeJson:{type:[String,Object],default:()=>({})},disabled:{type:Boolean,default:!1}},data(){return{formData:{},formJson:null,defaultFormJson:{widgetList:[],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}},showForm:!1,pendingColHiddenOps:[]}},computed:{dialogVisible:{get(){return this.visible},set(t){t||this.handleClose()}},currentRowData(){return this.data&&typeof this.data=="object"?this.data:{}},renderFormJson(){return this.formJson||this.defaultFormJson}},watch:{visible:{immediate:!0,handler(t){t?this.initFormData():this.formData={}}},disabled:{immediate:!0,handler(){this.$nextTick(()=>{this.syncFormDisabledStatus()})}}},methods:{resolveTypeJsonMap(){const t=this.typeJson;if(t==null||t==="")return{};if(typeof t=="string")try{return JSON.parse(t)}catch{return{}}return typeof t=="object"?t:{}},syncFormDisabledStatus(){const t=this.$refs.detailFormRender;!t||this.disabled&&typeof t.disableForm=="function"&&t.disableForm()},applyFormJsonToRender(t){this.formJson=t&&t.widgetList&&t.formConfig?t:lodash.exports.cloneDeep(this.defaultFormJson),this.showForm=!0,this.$nextTick(()=>{const g=this.$refs.detailFormRender;g&&typeof g.setFormJson=="function"&&(g.setFormJson(lodash.exports.cloneDeep(this.formJson)),this.$nextTick(()=>{this.applyFormDataToRender(),this.flushPendingColHiddenOps(),this.syncFormDisabledStatus()}))})},applyFormDataToRender(){const t=this.$refs.detailFormRender;t&&typeof t.setFormData=="function"&&this.formData&&t.setFormData(lodash.exports.cloneDeep(this.formData))},setColHidden(t,g){const e=Array.isArray(t)?t:[t];this.pendingColHiddenOps.push({names:e,hidden:g})},flushPendingColHiddenOps(){if(!this.pendingColHiddenOps.length)return;const t=this.$refs.detailFormRender;!t||typeof t.setColHidden!="function"||(this.pendingColHiddenOps.forEach(({names:g,hidden:e})=>{g.forEach(f=>t.setColHidden(f,e))}),this.pendingColHiddenOps=[])},initFormData(){this.showForm=!1,this.formData=lodash.exports.cloneDeep(this.currentRowData)||{};const t=this.typeJson;if(!t){this.$message.error("\u672A\u627E\u5230\u8D44\u4EA7\u7C7B\u578B\u5BF9\u5E94\u7684\u8868\u5355\u914D\u7F6E"),this.dialogVisible=!1;return}service$1({method:"get",url:`/workflow-engine/businessFlowConfig/detailByCode/${t}`}).then(({data:g})=>{if(!(g==null?void 0:g.formJson)){this.applyFormJsonToRender(null);return}let e;try{e=typeof g.formJson=="string"?JSON.parse(g.formJson):g.formJson}catch(f){console.error(f),e=null}this.applyFormJsonToRender(e),setTimeout(()=>{const f=this.$refs.detailFormRender;!f||f.setFormData(Ie({},this.formData))},800)}).catch(g=>{console.error(g),this.applyFormJsonToRender(null)})},async handleConfirm(){const t=this.$refs.detailFormRender;if(!!t)try{const g=await t.getFormData(!0);console.log(g,"formValues"),this.$emit("confirm",g),this.dialogVisible=!1}catch(g){this.$message.error(g),console.error(g)}},handleClose(){this.formData={},this.pendingColHiddenOps=[],this.formJson={widgetList:[],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:80,labelPosition:"left",size:"",labelAlign:"label-left-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:"",onFormValidateSuccess:""}},this.$emit("close")}}},_hoisted_1$5={class:"asset-body-wrap"},_hoisted_2$4={key:0},_hoisted_3$3={class:"dialog-footer"};function _sfc_render$b(t,g,e,f,_,m){const A=vue.resolveComponent("v-form-render"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(d,{modelValue:m.dialogVisible,"onUpdate:modelValue":g[0]||(g[0]=u=>m.dialogVisible=u),title:"\u67E5\u770B\u8BE6\u60C5",width:"1200px",onClose:m.handleClose,"close-on-click-modal":!1,"append-to-body":"",draggable:""},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$3,[vue.createVNode(b,{onClick:m.handleClose},{default:vue.withCtx(()=>[...g[1]||(g[1]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1},8,["onClick"]),e.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(b,{key:0,type:"primary",onClick:m.handleConfirm},{default:vue.withCtx(()=>[...g[2]||(g[2]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"]))])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$5,[_.showForm?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$4,[vue.createVNode(A,{ref:"detailFormRender","form-json":m.renderFormJson,"form-data":_.formData},null,8,["form-json","form-data"])])):vue.createCommentVNode("",!0)])]),_:1},8,["modelValue","onClose"])}var DetailDialog=_export_sfc$1(_sfc_main$b,[["render",_sfc_render$b],["__scopeId","data-v-1129cf50"]]),index_vue_vue_type_style_index_0_lang="";const _sfc_main$a={name:"asset-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DetailDialog},data(){return{fieldModel:null,oldFieldValue:null,rules:[],detailDialogVisible:!1,detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{formatAmount,handleShowIsUpdate(){return!(this.field.options.disabled||!this.field.options.clickRow)},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(t){const g=this.fieldModel.findIndex(e=>e.assetId===t.assetId);g!==-1&&(this.fieldModel[g]=Ie(Ie({},this.fieldModel[g]),t))},triggerEvent(t,...g){var f,_;const e=(_=(f=this.field)==null?void 0:f.options)==null?void 0:_[t];if(e)try{if(t==="onOpen"&&g.length>0){const m=g[0];new Function("rowData",e).call(this,m)}else if(t==="onChange"){const m=g[0],A=g[1];if(this.subFormItemFlag){const b=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,m,A,b,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,m,A)}else if(g.length>0){const m=g.map((b,d)=>`arg${d}`).join(", ");new Function(m,e).apply(this,g)}else new Function(e).call(this)}catch(m){console.error(`Error executing ${t} handler:`,m),console.error("Handler code:",e),console.error("Args:",g)}},handleRow(t){const g=this.fieldModel.findIndex(e=>e.assetId===t.assetId);g!==-1&&(this.triggerEvent("onOpen",this.fieldModel[g]),this.detailDialogVisible=!0,this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[g]))},setDetailColHidden(t,g){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,g)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(t){const g=this.fieldModel.findIndex(f=>f.assetId===this.detailDialogData.assetId);if(g===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[g]=st(Ie(Ie({},this.fieldModel[g]),t),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$4={key:1};function _sfc_render$a(t,g,e,f,_,m){const A=vue.resolveComponent("el-table-column"),b=vue.resolveComponent("el-text"),d=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),n=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(d,{data:_.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"",style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(A,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801"}),vue.createVNode(A,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0",align:"left"},{default:vue.withCtx(({row:s})=>[e.field.options.clickRow?(vue.openBlock(),vue.createBlock(b,{key:0,class:"click-text",type:"primary",onClick:i=>m.handleRow(s)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.labelName),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$4,vue.toDisplayString(s.labelName),1))]),_:1}),vue.createVNode(A,{prop:"assetTypeName",align:"center",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(A,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(A,{prop:"originalValue",label:"\u539F\u503C(\u4E07\u5143)"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.originalValue),1)]),_:1}),vue.createVNode(A,{prop:"netValue",label:"\u51C0\u503C(\u4E07\u5143)"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.netValue),1)]),_:1}),m.handleShowIsUpdate()?(vue.openBlock(),vue.createBlock(A,{key:0,prop:"isUpdate",align:"center","header-align":"center",label:"\u662F\u5426\u5DF2\u5B8C\u6210\u586B\u5199"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.isUpdate?"\u662F":"\u5426"),1)]),_:1})):vue.createCommentVNode("",!0)]),_:1},8,["data"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:_.detailDialogVisible,typeJson:e.field.options.typeJson,data:_.detailDialogData,onClose:m.handleCloseDetailDialog,onConfirm:m.handleConfirm,disabled:e.field.options.disabled},null,8,["visible","typeJson","data","onClose","onConfirm","disabled"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AssetTableWidget=_export_sfc$1(_sfc_main$a,[["render",_sfc_render$a]]),index_vue_vue_type_style_index_0_scoped_true_lang$4="";const _sfc_main$9={name:"resolution-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:[],oldFieldValue:null,rules:[],detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{tableRowClassName({row:t}){return t.fileName?"":"no-attachment-row"},getFileIcon(t){const g=t==null?void 0:t.substring((t==null?void 0:t.lastIndexOf("."))+1).toLowerCase();return g?new URL({"../../assets/image/fileType/7z.png":__glob_6_0,"../../assets/image/fileType/bmp.png":__glob_6_1,"../../assets/image/fileType/default.png":__glob_6_2,"../../assets/image/fileType/doc.png":__glob_6_3,"../../assets/image/fileType/docx.png":__glob_6_4,"../../assets/image/fileType/dot.png":__glob_6_5,"../../assets/image/fileType/et.png":__glob_6_6,"../../assets/image/fileType/ett.png":__glob_6_7,"../../assets/image/fileType/jpeg.png":__glob_6_8,"../../assets/image/fileType/jpg.png":__glob_6_9,"../../assets/image/fileType/mp3.png":__glob_6_10,"../../assets/image/fileType/mp4.png":__glob_6_11,"../../assets/image/fileType/ofd.png":__glob_6_12,"../../assets/image/fileType/pdf.png":__glob_6_13,"../../assets/image/fileType/png.png":__glob_6_14,"../../assets/image/fileType/ppt.png":__glob_6_15,"../../assets/image/fileType/pptx.png":__glob_6_16,"../../assets/image/fileType/rar.png":__glob_6_17,"../../assets/image/fileType/tar.png":__glob_6_18,"../../assets/image/fileType/txt.png":__glob_6_19,"../../assets/image/fileType/wav.png":__glob_6_20,"../../assets/image/fileType/wps.png":__glob_6_21,"../../assets/image/fileType/wpt.png":__glob_6_22,"../../assets/image/fileType/xls.png":__glob_6_23,"../../assets/image/fileType/xlsx.png":__glob_6_24,"../../assets/image/fileType/xlt.png":__glob_6_25,"../../assets/image/fileType/zip.png":__glob_6_26}[`../../assets/image/fileType/${g}.png`],self.location):__glob_6_2},isZip(t){const g=t==null?void 0:t.substring((t==null?void 0:t.lastIndexOf("."))+1).toLowerCase();return g==="zip"||g==="rar"||g==="7z"||g==="tar"},async handlePreview(t){console.log(t,"file");try{const{response:g,fileId:e}=t;if(g){const{data:f}=g;if(!f.fileId)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:_}=await service({method:"get",url:"unified-file/sys-file/kkfile-url",params:{fileId:f.fileId}});window.open(_)}else{if(!e)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:f}=await service({method:"get",url:"unified-file/sys-file/kkfile-url",params:{fileId:e}});window.open(f)}}catch(g){console.error(g)}},async handleDownload(t){const{response:g,fileId:e,fileName:f,name:_}=t;if(g){const{data:m}=g;if(!m.fileId)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:A}=await service({method:"post",url:"unified-file/sys-file/download",params:{fileId:m.fileId},responseType:"blob"});downloadMethod(A,m.fileName)}else{if(!e)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:m}=await service({method:"post",url:"unified-file/sys-file/download",params:{fileId:e},responseType:"blob"});downloadMethod(m,_||f)}},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(t,...g){var f,_;const e=(_=(f=this.field)==null?void 0:f.options)==null?void 0:_[t];if(e)try{if(t==="onOpen"&&g.length>0){const m=g[0];new Function("rowData",e).call(this,m)}else if(t==="onChange"){const m=g[0],A=g[1];if(this.subFormItemFlag){const b=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,m,A,b,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,m,A)}else if(g.length>0){const m=g.map((b,d)=>`arg${d}`).join(", ");new Function(m,e).apply(this,g)}else new Function(e).call(this)}catch(m){console.error(`Error executing ${t} handler:`,m),console.error("Handler code:",e),console.error("Args:",g)}},setDetailColHidden(t,g){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,g)})}}},_hoisted_1$3={key:0,class:"upload-file-list"},_hoisted_2$3={class:"left-wrap"},_hoisted_3$2=["src"],_hoisted_4$2=["title"],_hoisted_5$2={class:"right-wrap"},_hoisted_6$2=["onClick"],_hoisted_7$2=["onClick"];function _sfc_render$9(t,g,e,f,_,m){const A=vue.resolveComponent("el-table-column"),b=vue.resolveComponent("el-table"),d=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(d,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"resolution-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(b,{data:_.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",style:{width:"100%"},"row-key":"id",ref:"tableRef","row-class-name":m.tableRowClassName},{default:vue.withCtx(()=>[vue.createVNode(A,{prop:"companyName",label:"\u516C\u53F8\u540D\u79F0",width:"240"}),vue.createVNode(A,{prop:"label2",label:"\u9644\u4EF6",align:"left"},{default:vue.withCtx(({row:u})=>[u.fileName?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$3,[vue.createElementVNode("div",_hoisted_2$3,[vue.createElementVNode("img",{src:m.getFileIcon(u.fileName),alt:"",style:{width:"18px",height:"18px","margin-right":"8px"}},null,8,_hoisted_3$2),vue.createElementVNode("div",{class:"upload-file-name",title:u.fileName},vue.toDisplayString(u.fileName),9,_hoisted_4$2)]),vue.createElementVNode("div",_hoisted_5$2,[m.isZip(u.fileName)?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",{key:0,onClick:vue.withModifiers(n=>m.handlePreview(u),["stop"]),class:"pr-8px color-primary cursor-pointer file-action-right"}," \u9884\u89C8 ",8,_hoisted_6$2)),vue.createElementVNode("div",{onClick:vue.withModifiers(n=>m.handleDownload(u),["stop"]),class:"pr-8px color-primary cursor-pointer file-action-right"}," \u4E0B\u8F7D ",8,_hoisted_7$2)])])):vue.createCommentVNode("",!0)]),_:1})]),_:1},8,["data","row-class-name"])],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var ResolutionTableWidget=_export_sfc$1(_sfc_main$9,[["render",_sfc_render$9],["__scopeId","data-v-68fa0297"]]),index_vue_vue_type_style_index_0_scoped_true_lang$3="";const _sfc_main$8={name:"fixed-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DetailDialog},data(){return{fieldModel:[],oldFieldValue:null,rules:[],detailDialogVisible:!1,detailDialogData:null,dictOptions:[]}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted(),this.getDictItem("project_stage")},beforeUnmount(){this.unregisterFromRefList()},methods:{objectSpanMethod({row:t,column:g,rowIndex:e,columnIndex:f}){if(["enterpriseName","enterpriseProjectCount","enterpriseTotalPlannedInvestment"].includes(g.property)){const m=this.getSameCompanyRows(e);if(m.length>1)return e===m[0]?{rowspan:m.length,colspan:1}:{rowspan:0,colspan:0}}return{rowspan:1,colspan:1}},getlabel(t){return(dictManager==null?void 0:dictManager.getDictLabel("project_stage",t.projectStage))||"-"},getDictItem(t){if(!t)return"-";service({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:t}}).then(({data:{records:g}})=>{const e=g.map(f=>({label:f.label,value:f.itemValue}));this.dictOptions=[...this.dictOptions,...e]})},getSameCompanyRows(t){const g=this.fieldModel[t].enterpriseName,e=[t];for(let f=t-1;f>=0&&this.fieldModel[f].enterpriseName===g;f--)e.unshift(f);for(let f=t+1;f<this.fieldModel.length&&this.fieldModel[f].enterpriseName===g;f++)e.push(f);return e},formatAmount,handleShowIsUpdate(){return!(this.field.options.disabled||!this.field.options.clickRow)},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(t){const g=this.fieldModel.findIndex(e=>e.id===t.id);g!==-1&&(this.fieldModel[g]=Ie(Ie({},this.fieldModel[g]),t),this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[g]))},triggerEvent(t,...g){var f,_;const e=(_=(f=this.field)==null?void 0:f.options)==null?void 0:_[t];if(e)try{if(t==="onOpen"&&g.length>0){const m=g[0];new Function("rowData",e).call(this,m)}else if(t==="onChange"){const m=g[0],A=g[1];if(this.subFormItemFlag){const b=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,m,A,b,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,m,A)}else if(g.length>0){const m=g.map((b,d)=>`arg${d}`).join(", ");new Function(m,e).apply(this,g)}else new Function(e).call(this)}catch(m){console.error(`Error executing ${t} handler:`,m),console.error("Handler code:",e),console.error("Args:",g)}},handleRow(t){const g=this.fieldModel.findIndex(e=>e.id===t.id);g!==-1&&(this.triggerEvent("onOpen",this.fieldModel[g]),this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[g]),setTimeout(()=>{this.detailDialogVisible=!0},800))},setDetailColHidden(t,g){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,g)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(t){const g=this.fieldModel.findIndex(f=>f.id===this.detailDialogData.id);if(g===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[g]=st(Ie(Ie({},this.fieldModel[g]),t),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$2={key:1},_hoisted_2$2={class:"funds"},_hoisted_3$1={class:"funds-source"},_hoisted_4$1={class:"funds"},_hoisted_5$1={class:"funds-source"},_hoisted_6$1={class:"funds"},_hoisted_7$1={class:"funds-source"};function _sfc_render$8(t,g,e,f,_,m){const A=vue.resolveComponent("el-table-column"),b=vue.resolveComponent("el-text"),d=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),n=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"fixed-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(d,{data:_.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"","span-method":m.objectSpanMethod,style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(A,{prop:"enterpriseName",label:"\u516C\u53F8\u540D\u79F0",width:"150"}),vue.createVNode(A,{prop:"enterpriseProjectCount",label:"\u6570\u91CF",align:"left",width:"60"}),vue.createVNode(A,{prop:"projectName",align:"center",label:"\u9879\u76EE\u540D\u79F0",width:"200"},{default:vue.withCtx(({row:s})=>{var i,r;return[((r=(i=e.field)==null?void 0:i.options)==null?void 0:r.clickRow)?(vue.openBlock(),vue.createBlock(b,{key:0,class:"click-text",type:"primary",onClick:o=>m.handleRow(s)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.projectName),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$2,vue.toDisplayString(s.projectName),1))]}),_:1}),vue.createVNode(A,{prop:"projectStage",label:"\u9879\u76EE\u9636\u6BB5",width:"90"},{default:vue.withCtx(({row:s})=>{var i;return[vue.createTextVNode(vue.toDisplayString(((i=_.dictOptions.find(r=>r.value===s.projectStage))==null?void 0:i.label)||"-"),1)]}),_:1}),vue.createVNode(A,{prop:"totalPlannedInvestment",label:"\u9879\u76EE\u603B\u6295\u8D44(\u4E07\u5143)",width:"100"}),vue.createVNode(A,{prop:"completedInvestment",label:"\u5DF2\u5B8C\u6210\u6295\u8D44(\u4E07\u5143)",width:"100"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.completedInvestment||0),1)]),_:1}),vue.createVNode(A,{prop:"currentYearPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u989D(\u4E07\u5143)",width:"111"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.currentYearPlannedInvestment||0),1)]),_:1}),vue.createVNode(A,{prop:"enterpriseTotalPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u603B\u989D(\u4E07\u5143)",width:"130"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.enterpriseTotalPlannedInvestment||0),1)]),_:1}),vue.createVNode(A,{prop:"label9",label:"\u8D44\u91D1\u6765\u6E90",width:"320"},{default:vue.withCtx(({row:s})=>[vue.createElementVNode("div",_hoisted_2$2,[vue.createElementVNode("div",_hoisted_3$1,"\u81EA\u6709\u8D44\u4EA7(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.ownFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.ownFundsPercent?s.ownFundsPercent+"%":"-"),1)]),vue.createElementVNode("div",_hoisted_4$1,[vue.createElementVNode("div",_hoisted_5$1,"\u94F6\u884C\u8D37\u6B3E(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.loanFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.loanFundsPercent?s.loanFundsPercent+"%":"-"),1)]),vue.createElementVNode("div",_hoisted_6$1,[vue.createElementVNode("div",_hoisted_7$1,"\u5176\u4ED6\u8D44\u91D1(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.otherFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.otherFundsPercent?s.otherFundsPercent+"%":"-"),1)])]),_:1}),vue.createVNode(A,{prop:"remark",label:"\u5907\u6CE8",width:"330"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.remark||"-"),1)]),_:1})]),_:1},8,["data","span-method"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:_.detailDialogVisible,typeJson:e.field.options.typeJson,data:_.detailDialogData,onClose:m.handleCloseDetailDialog,onConfirm:m.handleConfirm,disabled:e.field.options.disabled},null,8,["visible","typeJson","data","onClose","onConfirm","disabled"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var FixedTableWidget=_export_sfc$1(_sfc_main$8,[["render",_sfc_render$8],["__scopeId","data-v-2cde45ac"]]),index_vue_vue_type_style_index_0_scoped_true_lang$2="";const _sfc_main$7={name:"equity-table-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,DetailDialog},data(){return{fieldModel:[],oldFieldValue:null,rules:[],detailDialogVisible:!1,detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(t){this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},deep:!0}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{objectSpanMethod({row:t,column:g,rowIndex:e,columnIndex:f}){if(["enterpriseName","enterpriseProjectCount","enterpriseTotalPlannedInvestment"].includes(g.property)){const m=this.getSameCompanyRows(e);if(m.length>1)return e===m[0]?{rowspan:m.length,colspan:1}:{rowspan:0,colspan:0}}return{rowspan:1,colspan:1}},getSameCompanyRows(t){const g=this.fieldModel[t].enterpriseName,e=[t];for(let f=t-1;f>=0&&this.fieldModel[f].enterpriseName===g;f--)e.unshift(f);for(let f=t+1;f<this.fieldModel.length&&this.fieldModel[f].enterpriseName===g;f++)e.push(f);return e},formatAmount,handleShowIsUpdate(){return!(this.field.options.disabled||!this.field.options.clickRow)},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(t){const g=this.fieldModel.findIndex(e=>e.id===t.id);g!==-1&&(this.fieldModel[g]=Ie(Ie({},this.fieldModel[g]),t),this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[g]))},triggerEvent(t,...g){var f,_;const e=(_=(f=this.field)==null?void 0:f.options)==null?void 0:_[t];if(e)try{if(t==="onOpen"&&g.length>0){const m=g[0];new Function("rowData",e).call(this,m)}else if(t==="onChange"){const m=g[0],A=g[1];if(this.subFormItemFlag){const b=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,m,A,b,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,m,A)}else if(g.length>0){const m=g.map((b,d)=>`arg${d}`).join(", ");new Function(m,e).apply(this,g)}else new Function(e).call(this)}catch(m){console.error(`Error executing ${t} handler:`,m),console.error("Handler code:",e),console.error("Args:",g)}},handleRow(t){const g=this.fieldModel.findIndex(e=>e.id===t.id);g!==-1&&(this.triggerEvent("onOpen",this.fieldModel[g]),this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[g]),setTimeout(()=>{this.detailDialogVisible=!0},800))},setDetailColHidden(t,g){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(t,g)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(t){const g=this.fieldModel.findIndex(f=>f.id===this.detailDialogData.id);if(g===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[g]=st(Ie(Ie({},this.fieldModel[g]),t),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$1={key:1},_hoisted_2$1={class:"funds"},_hoisted_3={class:"funds-source"},_hoisted_4={class:"funds"},_hoisted_5={class:"funds-source"},_hoisted_6={class:"funds"},_hoisted_7={class:"funds-source"},_hoisted_8={class:"funds"},_hoisted_9={class:"funds-source"};function _sfc_render$7(t,g,e,f,_,m){const A=vue.resolveComponent("el-table-column"),b=vue.resolveComponent("el-text"),d=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),n=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(n,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"equity-table-widget",style:vue.normalizeStyle(t.widgetStyle)},[vue.createVNode(d,{data:_.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"","span-method":m.objectSpanMethod,style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(A,{prop:"enterpriseName",label:"\u516C\u53F8\u540D\u79F0",width:"150"}),vue.createVNode(A,{prop:"enterpriseProjectCount",label:"\u6570\u91CF",align:"left",width:"60"}),vue.createVNode(A,{prop:"projectName",align:"center",label:"\u9879\u76EE\u540D\u79F0",width:"200"},{default:vue.withCtx(({row:s})=>{var i,r;return[((r=(i=e.field)==null?void 0:i.options)==null?void 0:r.clickRow)&&s.projectName?(vue.openBlock(),vue.createBlock(b,{key:0,class:"click-text",type:"primary",onClick:o=>m.handleRow(s)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.projectName||"-"),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$1,vue.toDisplayString(s.projectName||"-"),1))]}),_:1}),vue.createVNode(A,{prop:"registeredCapital",label:"\u6CE8\u518C\u8D44\u672C(\u4E07\u5143)",width:"90"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.registeredCapital||0),1)]),_:1}),vue.createVNode(A,{prop:"subscribedCapital",label:"\u8BA4\u7F34\u51FA\u8D44(\u4E07\u5143)",width:"100"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.subscribedCapital||0),1)]),_:1}),vue.createVNode(A,{prop:"completedInvestment",label:"\u5DF2\u5B8C\u6210\u6295\u8D44(\u4E07\u5143)",width:"100"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.completedInvestment||0),1)]),_:1}),vue.createVNode(A,{prop:"currentYearPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u989D(\u4E07\u5143)",width:"111"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.currentYearPlannedInvestment||0),1)]),_:1}),vue.createVNode(A,{prop:"enterpriseTotalPlannedInvestment",label:"\u672C\u5E74\u8BA1\u5212\u6295\u8D44\u603B\u989D(\u4E07\u5143)",width:"130"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.enterpriseTotalPlannedInvestment||0),1)]),_:1}),vue.createVNode(A,{prop:"label9",label:"\u8D44\u91D1\u6765\u6E90",width:"360"},{default:vue.withCtx(({row:s})=>[vue.createElementVNode("div",_hoisted_2$1,[vue.createElementVNode("div",_hoisted_3,"\u81EA\u6709\u8D44\u4EA7(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.ownFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.ownFundsPercent?s.ownFundsPercent+"%":"-"),1)]),vue.createElementVNode("div",_hoisted_4,[vue.createElementVNode("div",_hoisted_5,"\u94F6\u884C\u8D37\u6B3E(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.loanFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.loanFundsPercent?s.loanFundsPercent+"%":"-"),1)]),vue.createElementVNode("div",_hoisted_6,[vue.createElementVNode("div",_hoisted_7,"\u5176\u4ED6\u8D44\u91D1(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.otherFunds||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.otherFundsPercent?s.otherFundsPercent+"%":"-"),1)]),vue.createElementVNode("div",_hoisted_8,[vue.createElementVNode("div",_hoisted_9," \u5173\u8054\u4F01\u4E1A\u501F\u6B3E\u8D44\u91D1(\u4E07\u5143)\uFF1A"+vue.toDisplayString(s.relatedPartyBorrowing||0),1),vue.createElementVNode("div",null,"\u8D44\u91D1\u5360\u6BD4\uFF1A"+vue.toDisplayString(s.relatedPartyBorrowingPercent?s.relatedPartyBorrowingPercent+"%":"-"),1)])]),_:1}),vue.createVNode(A,{prop:"remark",label:"\u5907\u6CE8",width:"330"},{default:vue.withCtx(({row:s})=>[vue.createTextVNode(vue.toDisplayString(s.remark||"-"),1)]),_:1})]),_:1},8,["data","span-method"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:_.detailDialogVisible,typeJson:e.field.options.typeJson,data:_.detailDialogData,onClose:m.handleCloseDetailDialog,onConfirm:m.handleConfirm,disabled:e.field.options.disabled},null,8,["visible","typeJson","data","onClose","onConfirm","disabled"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var EquityTableSchema=_export_sfc$1(_sfc_main$7,[["render",_sfc_render$7],["__scopeId","data-v-3486e3fe"]]);const AssetTypeEnum={"0":"equity","1":"house","2":"land","3":"equipment","4":"vehicle","5":"intangible","6":"other_fixed","7":"electronic","8":"office_furniture"};var equity="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9Ikdyb3VwIDI0NyI+CjxwYXRoIGlkPSJFbGxpcHNlIDUiIGQ9Ik0xMyA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ityActive,house,"house-active":houseActive,land,"land-active":landActive,equipment,"equipment-active":equipmentActive,vehicle,"vehicle-active":vehicleActive,intangible,"intangible-active":intangibleActive,other_fixed:otherFixed,"other_fixed-active":otherFixedActive,electronic,"electronic-active":electronicActive,office_furniture:officeFurniture,"office_furniture-active":officeFurnitureActive},_sfc_main$6={name:"asset-type-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,rules:[],selectedValue:null,assetTypeOptions:[]}},computed:{},watch:{"field.options.assetTypeValue":{handler(t){this.fieldModel=t,this.syncUpdateFormModel(t)},immediate:!0}},methods:{getAssetTypeImage(t,g){const e=AssetTypeEnum[t];if(!e)return"";const f=g==="selected"?`${e}-active`:`${e}`;return assetTypeImageMap[f]||""},getAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:t}})=>{this.assetTypeOptions=t.map(g=>({label:g.label,value:g.itemValue})),console.log("assetTypeOptions",this.assetTypeOptions)})}},mounted(){this.getAssetTypeOptions()},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()}},_hoisted_1=["src"],_hoisted_2={class:"item-label"};function _sfc_render$6(t,g,e,f,_,m){const A=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(A,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-type-widget",style:vue.normalizeStyle(t.widgetStyle)},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.assetTypeOptions,b=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["asset-type-item",{selected:_.fieldModel===b.value}]),key:b.value},[b.value!=="all"?(vue.openBlock(),vue.createElementBlock("img",{key:0,src:m.getAssetTypeImage(b.value,_.fieldModel===b.value?"selected":"normal"),alt:"",class:""},null,8,_hoisted_1)):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_2,vue.toDisplayString(b.label),1)],2))),128))],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var AssetTypeWidget=_export_sfc$1(_sfc_main$6,[["render",_sfc_render$6],["__scopeId","data-v-7351af35"]]);const _sfc_main$5={name:"current-user-second-company-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:{type:Object,default:()=>({})},parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{fieldModel:null,oldFieldValue:null,rules:[]}},computed:{displayModel(){var t,g;return(g=(t=this.fieldModel)==null?void 0:t.companyName)!=null?g:""},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}}},methods:{hasExistingValue(){var g;const t=(g=this.fieldModel)!=null?g:this.oldFieldValue;return t==null||t===""?!1:typeof t=="object"?!!(t.companyName||t.id||t.companyId):!0},tryLoadCurrentUserSecondCompany(){console.log(this.designState,this.hasExistingValue(),"222222222"),!(this.designState||this.hasExistingValue())&&this.getCurrentUserSecondCompany()},async getCurrentUserSecondCompany(){if(this.hasExistingValue())return;const{data:t}=await service$1({method:"get",url:"unified-system/sysCompany/targetCompany",params:{id:sessionStorage.getItem("companyId")}});this.hasExistingValue()||(this.fieldModel=t,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue))}},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){console.log(this.designState,this.modelValue,this.hasExistingValue(),"333333333"),this.$nextTick(()=>{this.tryLoadCurrentUserSecondCompany()})}};function _sfc_render$5(t,g,e,f,_,m){const A=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(A,{modelValue:m.displayModel,"onUpdate:modelValue":g[0]||(g[0]=d=>m.displayModel=d),disabled:!0},null,8,["modelValue"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CurrentUserSecondCompanyWidget=_export_sfc$1(_sfc_main$5,[["render",_sfc_render$5]]);const _sfc_main$4={name:"custom-input-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper,SvgIcon},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},computed:{inputType(){return this.field.options.type==="number"?"text":this.field.options.type}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.hasExistingValue()||this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{hasExistingValue(){var g;const t=(g=this.fieldModel)!=null?g:this.oldFieldValue;return t!=null&&t!==""}}};function _sfc_render$4(t,g,e,f,_,m){const A=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(d,{ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":g[0]||(g[0]=n=>_.fieldModel=n),disabled:t.getDisabled(),readonly:e.field.options.readonly,size:t.widgetSize,class:"hide-spin-button",type:m.inputType,"show-password":e.field.options.showPassword,placeholder:e.field.options.placeholder,clearable:e.field.options.clearable,minlength:e.field.options.minLength,maxlength:e.field.options.maxLength,"show-word-limit":e.field.options.showWordLimit,"prefix-icon":e.field.options.prefixIcon,"suffix-icon":e.field.options.suffixIcon,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onInput:t.handleInputCustomEvent,onChange:t.handleChangeEvent},vue.createSlots({_:2},[e.field.options.appendButton?{name:"append",fn:vue.withCtx(()=>[vue.createVNode(b,{disabled:t.getDisabled()||e.field.options.appendButtonDisabled,onClick:t.emitAppendButtonClick},{default:vue.withCtx(()=>[vue.createVNode(A,{"icon-class":e.field.options.buttonIcon},null,8,["icon-class"])]),_:1},8,["disabled","onClick"])]),key:"0"}:void 0]),1032,["modelValue","disabled","readonly","size","type","show-password","placeholder","clearable","minlength","maxlength","show-word-limit","prefix-icon","suffix-icon","onFocus","onBlur","onInput","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var CustomInputWidget=_export_sfc$1(_sfc_main$4,[["render",_sfc_render$4]]),index_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$3={name:"date-time-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n$1],props:{field:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,designState:{type:Boolean,default:!1},subFormRowIndex:{type:Number,default:-1},subFormColIndex:{type:Number,default:-1},subFormRowId:{type:String,default:""}},components:{FormItemWrapper},data(){return{oldFieldValue:null,fieldModel:null,rules:[]}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()}};function _sfc_render$3(t,g,e,f,_,m){const A=vue.resolveComponent("el-date-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(A,{ref:"fieldEditor",type:"datetime",modelValue:_.fieldModel,"onUpdate:modelValue":g[0]||(g[0]=d=>_.fieldModel=d),class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),readonly:e.field.options.readonly,disabled:t.getDisabled(),size:t.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":e.field.options.valueFormat,placeholder:e.field.options.placeholder||t.i18nt("render.hint.datePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},null,8,["modelValue","class","readonly","disabled","size","clearable","editable","format","value-format","placeholder","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var DateTimeWidget=_export_sfc$1(_sfc_main$3,[["render",_sfc_render$3],["__scopeId","data-v-6cf3db2e"]]);const _sfc_main$2={name:"date-time-format-editor",mixins:[i18n$1],props:{designer:Object,selectedWidget:Object,optionModel:Object}};function _sfc_render$2(t,g,e,f,_,m){const A=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),d=vue.resolveComponent("el-form-item");return vue.openBlock(),vue.createBlock(d,{label:t.i18nt("designer.setting.format")},{default:vue.withCtx(()=>[vue.createVNode(b,{modelValue:e.optionModel.format,"onUpdate:modelValue":g[0]||(g[0]=u=>e.optionModel.format=u),filterable:"","allow-create":""},{default:vue.withCtx(()=>[vue.createVNode(A,{label:"YYYY-MM-DD HH:mm:ss",value:"YYYY-MM-DD HH:mm:ss"}),vue.createVNode(A,{label:"YYYY-MM-DD HH:mm",value:"YYYY-MM-DD HH:mm"}),vue.createVNode(A,{label:"YYYY/MM/DD HH:mm:ss",value:"YYYY/MM/DD HH:mm:ss"}),vue.createVNode(A,{label:"YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss",value:"YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss"})]),_:1},8,["modelValue"])]),_:1},8,["label"])}var DateTimeFormatEditor=_export_sfc$1(_sfc_main$2,[["render",_sfc_render$2]]);const _sfc_main$1={name:"date-time-valueFormat-editor",mixins:[i18n$1],props:{designer:Object,selectedWidget:Object,optionModel:Object}};function _sfc_render$1(t,g,e,f,_,m){const A=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),d=vue.resolveComponent("el-form-item");return vue.openBlock(),vue.createBlock(d,{label:t.i18nt("designer.setting.valueFormat")},{default:vue.withCtx(()=>[vue.createVNode(b,{modelValue:e.optionModel.valueFormat,"onUpdate:modelValue":g[0]||(g[0]=u=>e.optionModel.valueFormat=u),filterable:"","allow-create":""},{default:vue.withCtx(()=>[vue.createVNode(A,{label:"YYYY-MM-DD HH:mm:ss",value:"YYYY-MM-DD HH:mm:ss"}),vue.createVNode(A,{label:"YYYY-MM-DD HH:mm",value:"YYYY-MM-DD HH:mm"}),vue.createVNode(A,{label:"YYYY/MM/DD HH:mm:ss",value:"YYYY/MM/DD HH:mm:ss"}),vue.createVNode(A,{label:"YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss",value:"YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss"})]),_:1},8,["modelValue"])]),_:1},8,["label"])}var DateTimeValueFormatEditor=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1]]),propertyMixin={methods:{hasConfig(t){return!this.designer||!this.designer.selectedWidget?!1:this.designer.hasConfig(this.selectedWidget,t)},emitDefaultValueChange(){if(this.designer&&this.designer.formWidget){let t=this.designer.formWidget.getWidgetRef(this.designer.selectedWidget.options.name);!!t&&!!t.refreshDefaultValue&&t.refreshDefaultValue()}},inputNumberHandler(t){t=t.replace(/[^0-9]/gi,"")},onRemoteChange(t){t&&(this.optionModel.filterable=!0,this.optionModel.allowCreate=!1)},onMultipleSelected(t){t?this.optionModel.defaultValue=[]:!!this.optionModel.defaultValue&&this.optionModel.defaultValue.length>0?this.optionModel.defaultValue=this.optionModel.defaultValue[0]:this.optionModel.defaultValue=""}}};const _sfc_main={name:"date-time-defaultValue-editor",mixins:[i18n$1,propertyMixin],props:{designer:Object,selectedWidget:Object,optionModel:Object}};function _sfc_render(t,g,e,f,_,m){const A=vue.resolveComponent("el-date-picker"),b=vue.resolveComponent("el-form-item");return vue.openBlock(),vue.createBlock(b,{label:t.i18nt("designer.setting.defaultValue")},{default:vue.withCtx(()=>[vue.createVNode(A,{type:"datetime",modelValue:e.optionModel.defaultValue,"onUpdate:modelValue":g[0]||(g[0]=d=>e.optionModel.defaultValue=d),onChange:t.emitDefaultValueChange,format:e.optionModel.format,"value-format":e.optionModel.valueFormat,style:{width:"100%"}},null,8,["modelValue","onChange","format","value-format"])]),_:1},8,["label"])}var DateTimeDefaultValueEditor=_export_sfc$1(_sfc_main,[["render",_sfc_render]]);const loadExtension=function(t){t.component(CardWidget.name,CardWidget),t.component(CardItem.name,CardItem),registerCPEditor(t,"card-folded","card-folded-editor",createBooleanEditor("folded","extension.setting.cardFolded")),registerCPEditor(t,"card-showFold","card-showFold-editor",createBooleanEditor("showFold","extension.setting.cardShowFold")),registerCPEditor(t,"card-cardWidth","card-cardWidth-editor",createInputTextEditor("cardWidth","extension.setting.cardWidth")),registerCPEditor(t,"card-shadow","card-shadow-editor",createSelectEditor("shadow","extension.setting.cardShadow",{optionItems:[{label:"never",value:"never"},{label:"hover",value:"hover"},{label:"always",value:"always"}]})),registerCPEditor(t,"mainTip","mainTip-editor",createInputTextEditor("mainTip","designer.setting.mainTip")),registerCPEditor(t,"subTip","subTip-editor",createInputTextEditor("subTip","designer.setting.subTip")),t.component(AlertWidget.name,AlertWidget),registerCPEditor(t,"alert-title","alert-title-editor",createInputTextEditor("title","extension.setting.alertTitle"));let e=[{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"info",value:"info"},{label:"error",value:"error"}];t.component("alert-type-editor",createSelectEditor("type","extension.setting.alertType",{optionItems:e})),registerCPEditor(t,"alert-description","alert-description-editor",createInputTextEditor("description","extension.setting.description")),registerCPEditor(t,"alert-closable","alert-closable-editor",createBooleanEditor("closable","extension.setting.closable")),registerCPEditor(t,"alert-closeText","alert-closeText-editor",createInputTextEditor("closeText","extension.setting.closeText")),registerCPEditor(t,"alert-center","alert-center-editor",createBooleanEditor("center","extension.setting.center")),registerCPEditor(t,"alert-showIcon","alert-showIcon-editor",createBooleanEditor("showIcon","extension.setting.showIcon")),registerCPEditor(t,"alert-effect","alert-effect-editor",createRadioButtonGroupEditor("effect","extension.setting.effect",{optionItems:[{label:"light",value:"light"},{label:"dark",value:"dark"}]})),registerEPEditor(t,"alert-onClose","alert-onClose-editor",createEventHandlerEditor("onClose",[])),t.component(PersonTreeWidget.name,PersonTreeWidget),registerCPEditor(t,"person-tree-buttonText","person-tree-buttonText-editor",createInputTextEditor("buttonText","extension.setting.personTreeButtonText")),registerCPEditor(t,"person-tree-dialogTitle","person-tree-dialogTitle-editor",createInputTextEditor("dialogTitle","extension.setting.personTreeDialogTitle")),registerCPEditor(t,"person-tree-treeParams","person-tree-treeParams-editor",createTextareaEditor("treeParams","extension.setting.personTreeTreeParams",{rows:4})),registerAPEditor(t,"person-tree-dialogWidth","person-tree-dialogWidth-editor",createInputTextEditor("dialogWidth","extension.setting.personTreeDialogWidth")),registerCPEditor(t,"person-tree-confirmText","person-tree-confirmText-editor",createInputTextEditor("confirmText","extension.setting.personTreeConfirmText")),registerCPEditor(t,"person-tree-cancelText","person-tree-cancelText-editor",createInputTextEditor("cancelText","extension.setting.personTreeCancelText")),registerCPEditor(t,"person-tree-hideFooter","person-tree-hideFooter-editor",createBooleanEditor("hideFooter","extension.setting.personTreeHideFooter")),registerEPEditor(t,"person-tree-onOpen","person-tree-onOpen-editor",createEventHandlerEditor("onOpen",[])),registerEPEditor(t,"person-tree-onConfirm","person-tree-onConfirm-editor",createEventHandlerEditor("onConfirm",["checkedNodes"])),registerEPEditor(t,"person-tree-onRemoveTag","person-tree-onRemoveTag-editor",createEventHandlerEditor("onRemoveTag",["removedItem","remainingNodes","removedIndex"])),registerEPEditor(t,"person-tree-onCancel","person-tree-onCancel-editor",createEventHandlerEditor("onCancel",[])),registerEPEditor(t,"person-tree-onClose","person-tree-onClose-editor",createEventHandlerEditor("onClose",[])),t.component(radioOtherItem.name,radioOtherItem),t.component(selectOtherItem.name,selectOtherItem),t.component(meetingRoomItem.name,meetingRoomItem),registerCPEditor(t,"meeting-room-remoteUrl","meeting-room-remoteUrl-editor",createInputTextEditor("remoteUrl","extension.setting.meetingRoomRemoteUrl")),registerCPEditor(t,"meeting-room-allowMultiple","meeting-room-allowMultiple-editor",createBooleanEditor("allowMultiple","extension.setting.allowMultiple")),t.component(CustomSubFormWidget.name,CustomSubFormWidget),t.component(CustomSubFormItem.name,CustomSubFormItem),t.component(CustomTableWidget.name,CustomTableWidget),t.component(CustomTableItem.name,CustomTableItem),t.component(CustomTableCellWidget.name,CustomTableCellWidget),t.component(CustomTableCellItem.name,CustomTableCellItem),t.component(SubTableWidget.name,SubTableWidget),t.component(SubTableItem.name,SubTableItem),registerCPEditor(t,"sub-table-showIndex","sub-table-showIndex-editor",createBooleanEditor("showIndex","extension.setting.subTableShowIndex")),t.component("sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(t,"sub-table-columns","sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(t,"select-tree-showCheckbox","select-tree-showCheckbox-editor",createBooleanEditor("showCheckbox","designer.setting.showCheckbox")),registerCPEditor(t,"select-tree-checkStrictly","select-tree-checkStrictly-editor",createBooleanEditor("checkStrictly","extension.setting.selectTreeCheckStrictly")),t.component(CurrentUserWidget.name,CurrentUserWidget),registerCPEditor(t,"current-user-type","current-user-type-editor",createSelectEditor("type","extension.setting.currentUserType",{optionItems:[{label:"\u7528\u6237\u540D",value:"username"},{label:"\u90E8\u95E8\u540D\u79F0",value:"deptName"},{label:"\u516C\u53F8\u540D\u79F0",value:"companyName"}]})),registerCPEditor(t,"current-user-valueType","current-user-valueType-editor",createSelectEditor("valueType","extension.setting.currentUserValueType",{optionItems:[{label:"\u5B57\u7B26\u4E32",value:"string"},{label:"\u5BF9\u8C61",value:"object"}]})),t.component(CurrentUserSecondCompanyWidget.name,CurrentUserSecondCompanyWidget),t.component(AssetSelectWidget.name,AssetSelectWidget),registerCPEditor(t,"asset-select-buttonText","asset-select-buttonText-editor",createInputTextEditor("buttonText","extension.setting.assetSelectButtonText")),registerCPEditor(t,"asset-select-typeJson","asset-select-typeJson-editor",createTextareaEditor("typeJson","extension.setting.assetSelectTypeJson",{rows:4})),registerCPEditor(t,"asset-select-assetTypeValue","asset-select-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetSelectAssetTypeValue")),registerCPEditor(t,"asset-select-assetLimit","asset-select-assetLimit-editor",createInputNumberEditor("assetLimit","extension.setting.assetSelectAssetLimit")),t.component(DocumentSelectWidget.name,DocumentSelectWidget),registerCPEditor(t,"document-select-buttonText","document-select-buttonText-editor",createInputTextEditor("buttonText","extension.setting.documentSelectButtonText")),registerCPEditor(t,"document-select-documentTypeValue","document-select-documentTypeValue-editor",createInputTextEditor("documentTypeValue","extension.setting.documentSelectDocumentTypeValue")),registerCPEditor(t,"document-select-documentLimit","document-select-documentLimit-editor",createInputNumberEditor("documentLimit","extension.setting.documentSelectDocumentLimit")),registerCPEditor(t,"document-select-documentListUrl","document-select-documentListUrl-editor",createInputTextEditor("documentListUrl","extension.setting.documentSelectDocumentListUrl")),registerEPEditor(t,"document-select-onConfirm","document-select-onConfirm-editor",createEventHandlerEditor("onConfirm",["checkedNodes"])),registerEPEditor(t,"document-select-onCancel","document-select-onCancel-editor",createEventHandlerEditor("onCancel",[])),registerEPEditor(t,"document-select-onClose","document-select-onClose-editor",createEventHandlerEditor("onClose",[])),t.component(DictSelectWidget.name,DictSelectWidget),registerCPEditor(t,"dict-select-dictCode","dict-select-dictCode-editor",DictSelectDictCodeEditor),registerCPEditor(t,"dict-select-type","dict-select-type-editor",createSelectEditor("type","extension.setting.dictSelectType",{optionItems:[{label:"\u4E0B\u62C9\u6846",value:"select"},{label:"\u5355\u9009\u6846",value:"radio"},{label:"\u590D\u9009\u6846",value:"checkbox"}]})),t.component(AssetTableWidget.name,AssetTableWidget),registerCPEditor(t,"asset-table-typeJson","asset-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.assetTableTypeJson")),registerCPEditor(t,"asset-table-clickRow","asset-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.assetTableClickRow")),registerEPEditor(t,"asset-table-onOpen","asset-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),t.component(FixedTableWidget.name,FixedTableWidget),registerCPEditor(t,"fixed-table-typeJson","fixed-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.fixedTableTypeJson")),registerCPEditor(t,"fixed-table-clickRow","fixed-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.fixedTableClickRow")),registerEPEditor(t,"fixed-table-onOpen","fixed-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),t.component(EquityTableSchema.name,EquityTableSchema),registerCPEditor(t,"equity-table-typeJson","equity-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.equityTableTypeJson")),registerCPEditor(t,"equity-table-clickRow","equity-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.equityTableClickRow")),registerEPEditor(t,"equity-table-onOpen","equity-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),t.component(ResolutionTableWidget.name,ResolutionTableWidget),t.component(AssetTypeWidget.name,AssetTypeWidget),registerCPEditor(t,"asset-type-assetTypeValue","asset-type-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetTypeAssetTypeValue")),t.component(CustomInputWidget.name,CustomInputWidget),t.component(DateTimeWidget.name,DateTimeWidget),t.component("date-time-format-editor",DateTimeFormatEditor),t.component("date-time-valueFormat-editor",DateTimeValueFormatEditor),t.component("date-time-defaultValue-editor",DateTimeDefaultValueEditor)};function getElMessage(t){var g,e,f;try{if((e=(g=t==null?void 0:t.config)==null?void 0:g.globalProperties)==null?void 0:e.$message)return t.config.globalProperties.$message;if(typeof window!="undefined"&&window.ElementPlus)return window.ElementPlus.ElMessage||((f=window.ElementPlus.default)==null?void 0:f.ElMessage)||null}catch{}return null}VFormRender.install=function(t,g={}){loadExtension(t),t.use(ContainerItems),registerIcon(t),t.component(VFormRender.name,VFormRender),t.config.globalProperties.$service=service$1,t.provide("service",service$1),t.provide("ElMessage",getElMessage(t))};const components=[VFormRender],install=(t,g={})=>{loadExtension(t),t.use(ContainerItems),registerIcon(t),components.forEach(e=>{t.component(e.name,e)}),t.config.globalProperties.$service=service$1,t.provide("service",service$1),window.axios=axios,typeof window!="undefined"&&(window.service=service$1)};var installRender={install,VFormRender,dictManager};return installRender});