form-custom-test 3.0.168 → 3.0.169

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 Be(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 o.default().insert(" ").concat(le)),le}function Ne(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,Se){return Se=Se.replace(/[^\u00a0]/g,""),Se.length<1&&Ce?" ":Se};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)}g.default=$,g.matchAttributor=J,g.matchBlot=te,g.matchNewline=ve,g.matchSpacing=xe,g.matchText=Ne},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=function(){function n(s,l){for(var h=0;h<l.length;h++){var f=l[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(s,f.key,f)}}return function(s,l,h){return l&&n(s.prototype,l),h&&n(s,h),s}}(),_=function n(s,l,h){s===null&&(s=Function.prototype);var f=Object.getOwnPropertyDescriptor(s,l);if(f===void 0){var w=Object.getPrototypeOf(s);return w===null?void 0:n(w,l,h)}else{if("value"in f)return f.value;var p=f.get;return p===void 0?void 0:p.call(h)}},b=A(6),d=u(b);function u(n){return n&&n.__esModule?n:{default:n}}function i(n,s){if(!(n instanceof s))throw new TypeError("Cannot call a class as a function")}function o(n,s){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:n}function t(n,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);n.prototype=Object.create(s&&s.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(n,s):n.__proto__=s)}var r=function(n){t(s,n);function s(){return i(this,s),o(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return C(s,[{key:"optimize",value:function(h){_(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"optimize",this).call(this,h),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return _(s.__proto__||Object.getPrototypeOf(s),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),s}(d.default);r.blotName="bold",r.tagName=["STRONG","B"],g.default=r},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0}),g.addControls=g.default=void 0;var C=function(){function N(k,T){var E=[],I=!0,F=!1,O=void 0;try{for(var z=k[Symbol.iterator](),W;!(I=(W=z.next()).done)&&(E.push(W.value),!(T&&E.length===T));I=!0);}catch(j){F=!0,O=j}finally{try{!I&&z.return&&z.return()}finally{if(F)throw O}}return E}return function(k,T){if(Array.isArray(k))return k;if(Symbol.iterator in Object(k))return N(k,T);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_=function(){function N(k,T){for(var E=0;E<T.length;E++){var I=T[E];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(k,I.key,I)}}return function(k,T,E){return T&&N(k.prototype,T),E&&N(k,E),k}}(),b=A(2),d=h(b),u=A(0),i=h(u),o=A(5),t=h(o),r=A(10),n=h(r),s=A(9),l=h(s);function h(N){return N&&N.__esModule?N:{default:N}}function f(N,k,T){return k in N?Object.defineProperty(N,k,{value:T,enumerable:!0,configurable:!0,writable:!0}):N[k]=T,N}function w(N,k){if(!(N instanceof k))throw new TypeError("Cannot call a class as a function")}function p(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 y(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 v=(0,n.default)("quill:toolbar"),M=function(N){y(k,N);function k(T,E){w(this,k);var I=p(this,(k.__proto__||Object.getPrototypeOf(k)).call(this,T,E));if(Array.isArray(I.options.container)){var F=document.createElement("div");L(F,I.options.container),T.container.parentNode.insertBefore(F,T.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=v.error("Container required for toolbar",I.options),p(I,O)}return I.container.classList.add("ql-toolbar"),I.controls=[],I.handlers={},Object.keys(I.options.handlers).forEach(function(z){I.addHandler(z,I.options.handlers[z])}),[].forEach.call(I.container.querySelectorAll("button, select"),function(z){I.attach(z)}),I.quill.on(t.default.events.EDITOR_CHANGE,function(z,W){z===t.default.events.SELECTION_CHANGE&&I.update(W)}),I.quill.on(t.default.events.SCROLL_OPTIMIZE,function(){var z=I.quill.selection.getRange(),W=C(z,1),j=W[0];I.update(j)}),I}return _(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(z){return z.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){v.warn("ignoring attaching to disabled format",F,E);return}if(i.default.query(F)==null){v.warn("ignoring attaching to nonexistent format",F,E);return}}var O=E.tagName==="SELECT"?"change":"click";E.addEventListener(O,function(z){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"),z.preventDefault();I.quill.focus();var B=I.quill.selection.getRange(),$=C(B,1),P=$[0];if(I.handlers[F]!=null)I.handlers[F].call(I,W);else if(i.default.query(F).prototype instanceof i.default.Embed){if(W=prompt("Enter "+F),!W)return;I.quill.updateContents(new d.default().retain(P.index).delete(P.length).insert(f({},F,W)),t.default.sources.USER)}else I.quill.format(F,W,t.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=C(F,2),z=O[0],W=O[1];if(W.tagName==="SELECT"){var j=void 0;if(E==null)j=null;else if(I[z]==null)j=W.querySelector("option[selected]");else if(!Array.isArray(I[z])){var B=I[z];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[z]===W.getAttribute("value")||I[z]!=null&&I[z].toString()===W.getAttribute("value")||I[z]==null&&!W.getAttribute("value");W.classList.toggle("ql-active",$)}else W.classList.toggle("ql-active",I[z]!=null)})}}]),k}(l.default);M.DEFAULTS={};function D(N,k,T){var E=document.createElement("button");E.setAttribute("type","button"),E.classList.add("ql-"+k),T!=null&&(E.value=T),N.appendChild(E)}function L(N,k){Array.isArray(k[0])||(k=[k]),k.forEach(function(T){var E=document.createElement("span");E.classList.add("ql-formats"),T.forEach(function(I){if(typeof I=="string")D(E,I);else{var F=Object.keys(I)[0],O=I[F];Array.isArray(O)?S(E,F,O):D(E,F,O)}}),N.appendChild(E)})}function S(N,k,T){var E=document.createElement("select");E.classList.add("ql-"+k),T.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,T=this.quill.getSelection();if(T!=null)if(T.length==0){var E=this.quill.getFormat();Object.keys(E).forEach(function(I){i.default.query(I,i.default.Scope.INLINE)!=null&&k.quill.format(I,!1)})}else this.quill.removeFormat(T,t.default.sources.USER)},direction:function(k){var T=this.quill.getFormat().align;k==="rtl"&&T==null?this.quill.format("align","right",t.default.sources.USER):!k&&T==="right"&&this.quill.format("align",!1,t.default.sources.USER),this.quill.format("direction",k,t.default.sources.USER)},indent:function(k){var T=this.quill.getSelection(),E=this.quill.getFormat(T),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,t.default.sources.USER)}},link:function(k){k===!0&&(k=prompt("Enter link URL:")),this.quill.format("link",k,t.default.sources.USER)},list:function(k){var T=this.quill.getSelection(),E=this.quill.getFormat(T);k==="check"?E.list==="checked"||E.list==="unchecked"?this.quill.format("list",!1,t.default.sources.USER):this.quill.format("list","unchecked",t.default.sources.USER):this.quill.format("list",k,t.default.sources.USER)}}},g.default=M,g.addControls=L},function(e,g){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,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=function(){function n(s,l){for(var h=0;h<l.length;h++){var f=l[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(s,f.key,f)}}return function(s,l,h){return l&&n(s.prototype,l),h&&n(s,h),s}}(),_=function n(s,l,h){s===null&&(s=Function.prototype);var f=Object.getOwnPropertyDescriptor(s,l);if(f===void 0){var w=Object.getPrototypeOf(s);return w===null?void 0:n(w,l,h)}else{if("value"in f)return f.value;var p=f.get;return p===void 0?void 0:p.call(h)}},b=A(28),d=u(b);function u(n){return n&&n.__esModule?n:{default:n}}function i(n,s){if(!(n instanceof s))throw new TypeError("Cannot call a class as a function")}function o(n,s){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:n}function t(n,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);n.prototype=Object.create(s&&s.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(n,s):n.__proto__=s)}var r=function(n){t(s,n);function s(l,h){i(this,s);var f=o(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,l));return f.label.innerHTML=h,f.container.classList.add("ql-color-picker"),[].slice.call(f.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(w){w.classList.add("ql-primary")}),f}return C(s,[{key:"buildItem",value:function(h){var f=_(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"buildItem",this).call(this,h);return f.style.backgroundColor=h.getAttribute("value")||"",f}},{key:"selectItem",value:function(h,f){_(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"selectItem",this).call(this,h,f);var w=this.label.querySelector(".ql-color-label"),p=h&&h.getAttribute("data-value")||"";w&&(w.tagName==="line"?w.style.stroke=p:w.style.fill=p)}}]),s}(d.default);g.default=r},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=function(){function n(s,l){for(var h=0;h<l.length;h++){var f=l[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(s,f.key,f)}}return function(s,l,h){return l&&n(s.prototype,l),h&&n(s,h),s}}(),_=function n(s,l,h){s===null&&(s=Function.prototype);var f=Object.getOwnPropertyDescriptor(s,l);if(f===void 0){var w=Object.getPrototypeOf(s);return w===null?void 0:n(w,l,h)}else{if("value"in f)return f.value;var p=f.get;return p===void 0?void 0:p.call(h)}},b=A(28),d=u(b);function u(n){return n&&n.__esModule?n:{default:n}}function i(n,s){if(!(n instanceof s))throw new TypeError("Cannot call a class as a function")}function o(n,s){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:n}function t(n,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);n.prototype=Object.create(s&&s.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(n,s):n.__proto__=s)}var r=function(n){t(s,n);function s(l,h){i(this,s);var f=o(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,l));return f.container.classList.add("ql-icon-picker"),[].forEach.call(f.container.querySelectorAll(".ql-picker-item"),function(w){w.innerHTML=h[w.getAttribute("data-value")||""]}),f.defaultItem=f.container.querySelector(".ql-selected"),f.selectItem(f.defaultItem),f}return C(s,[{key:"selectItem",value:function(h,f){_(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"selectItem",this).call(this,h,f),h=h||this.defaultItem,this.label.innerHTML=h.innerHTML}}]),s}(d.default);g.default=r},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=function(){function d(u,i){for(var o=0;o<i.length;o++){var t=i[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(u,t.key,t)}}return function(u,i,o){return i&&d(u.prototype,i),o&&d(u,o),u}}();function _(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}var b=function(){function d(u,i){var o=this;_(this,d),this.quill=u,this.boundsContainer=i||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(){o.root.style.marginTop=-1*o.quill.root.scrollTop+"px"}),this.hide()}return C(d,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(i){var o=i.left+i.width/2-this.root.offsetWidth/2,t=i.bottom+this.quill.root.scrollTop;this.root.style.left=o+"px",this.root.style.top=t+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),n=this.root.getBoundingClientRect(),s=0;if(n.right>r.right&&(s=r.right-n.right,this.root.style.left=o+s+"px"),n.left<r.left&&(s=r.left-n.left,this.root.style.left=o+s+"px"),n.bottom>r.bottom){var l=n.bottom-n.top,h=i.bottom-i.top+l;this.root.style.top=t-h+"px",this.root.classList.add("ql-flip")}return s}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),d}();g.default=b},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=function(){function S(N,k){var T=[],E=!0,I=!1,F=void 0;try{for(var O=N[Symbol.iterator](),z;!(E=(z=O.next()).done)&&(T.push(z.value),!(k&&T.length===k));E=!0);}catch(W){I=!0,F=W}finally{try{!E&&O.return&&O.return()}finally{if(I)throw F}}return T}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")}}(),_=function S(N,k,T){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,T)}else{if("value"in E)return E.value;var F=E.get;return F===void 0?void 0:F.call(T)}},b=function(){function S(N,k){for(var T=0;T<k.length;T++){var E=k[T];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(N,E.key,E)}}return function(N,k,T){return k&&S(N.prototype,k),T&&S(N,T),N}}(),d=A(3),u=w(d),i=A(8),o=w(i),t=A(43),r=w(t),n=A(27),s=w(n),l=A(15),h=A(41),f=w(h);function w(S){return S&&S.__esModule?S:{default:S}}function p(S,N){if(!(S instanceof N))throw new TypeError("Cannot call a class as a function")}function y(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 v(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"]],D=function(S){v(N,S);function N(k,T){p(this,N),T.modules.toolbar!=null&&T.modules.toolbar.container==null&&(T.modules.toolbar.container=M);var E=y(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,k,T));return E.quill.container.classList.add("ql-snow"),E}return b(N,[{key:"extendToolbar",value:function(T){T.container.classList.add("ql-snow"),this.buildButtons([].slice.call(T.container.querySelectorAll("button")),f.default),this.buildPickers([].slice.call(T.container.querySelectorAll("select")),f.default),this.tooltip=new L(this.quill,this.options.bounds),T.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(E,I){T.handlers.link.call(T,!I.format.link)})}}]),N}(r.default);D.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 T=this.quill.getText(k);/^\S+@\S+\.\S+$/.test(T)&&T.indexOf("mailto:")!==0&&(T="mailto:"+T);var E=this.quill.theme.tooltip;E.edit("link",T)}else this.quill.format("link",!1)}}}}});var L=function(S){v(N,S);function N(k,T){p(this,N);var E=y(this,(N.__proto__||Object.getPrototypeOf(N)).call(this,k,T));return E.preview=E.root.querySelector("a.ql-preview"),E}return b(N,[{key:"listen",value:function(){var T=this;_(N.prototype.__proto__||Object.getPrototypeOf(N.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(E){T.root.classList.contains("ql-editing")?T.save():T.edit("link",T.preview.textContent),E.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(E){if(T.linkRange!=null){var I=T.linkRange;T.restoreFocus(),T.quill.formatText(I,"link",!1,o.default.sources.USER),delete T.linkRange}E.preventDefault(),T.hide()}),this.quill.on(o.default.events.SELECTION_CHANGE,function(E,I,F){if(E!=null){if(E.length===0&&F===o.default.sources.USER){var O=T.quill.scroll.descendant(s.default,E.index),z=C(O,2),W=z[0],j=z[1];if(W!=null){T.linkRange=new l.Range(E.index-j,W.length());var B=s.default.formats(W.domNode);T.preview.textContent=B,T.preview.setAttribute("href",B),T.show(),T.position(T.quill.getBounds(T.linkRange));return}}else delete T.linkRange;T.hide()}})}},{key:"show",value:function(){_(N.prototype.__proto__||Object.getPrototypeOf(N.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),N}(t.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(""),g.default=D},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=A(29),_=ue(C),b=A(36),d=A(38),u=A(64),i=A(65),o=ue(i),t=A(66),r=ue(t),n=A(67),s=ue(n),l=A(37),h=A(26),f=A(39),w=A(40),p=A(56),y=ue(p),v=A(68),M=ue(v),D=A(27),L=ue(D),S=A(69),N=ue(S),k=A(70),T=ue(k),E=A(71),I=ue(E),F=A(72),O=ue(F),z=A(73),W=ue(z),j=A(13),B=ue(j),$=A(74),P=ue($),H=A(75),G=ue(H),U=A(57),q=ue(U),Y=A(41),J=ue(Y),te=A(28),se=ue(te),ge=A(59),me=ue(ge),ve=A(60),xe=ue(ve),Be=A(61),Ne=ue(Be),oe=A(108),le=ue(oe),pe=A(62),fe=ue(pe);function ue(Ce){return Ce&&Ce.__esModule?Ce:{default:Ce}}_.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":f.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":f.FontStyle,"attributors/style/size":w.SizeStyle},!0),_.default.register({"formats/align":b.AlignClass,"formats/direction":d.DirectionClass,"formats/indent":u.IndentClass,"formats/background":l.BackgroundStyle,"formats/color":h.ColorStyle,"formats/font":f.FontClass,"formats/size":w.SizeClass,"formats/blockquote":o.default,"formats/code-block":B.default,"formats/header":r.default,"formats/list":s.default,"formats/bold":y.default,"formats/code":j.Code,"formats/italic":M.default,"formats/link":L.default,"formats/script":N.default,"formats/strike":T.default,"formats/underline":I.default,"formats/image":O.default,"formats/video":W.default,"formats/list/item":n.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":Ne.default},!0),g.default=_.default},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0}),g.IndentClass=void 0;var C=function(){function s(l,h){for(var f=0;f<h.length;f++){var w=h[f];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(l,w.key,w)}}return function(l,h,f){return h&&s(l.prototype,h),f&&s(l,f),l}}(),_=function s(l,h,f){l===null&&(l=Function.prototype);var w=Object.getOwnPropertyDescriptor(l,h);if(w===void 0){var p=Object.getPrototypeOf(l);return p===null?void 0:s(p,h,f)}else{if("value"in w)return w.value;var y=w.get;return y===void 0?void 0:y.call(f)}},b=A(0),d=u(b);function u(s){return s&&s.__esModule?s:{default:s}}function i(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function o(s,l){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:s}function t(s,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);s.prototype=Object.create(l&&l.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(s,l):s.__proto__=l)}var r=function(s){t(l,s);function l(){return i(this,l),o(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return C(l,[{key:"add",value:function(f,w){if(w==="+1"||w==="-1"){var p=this.value(f)||0;w=w==="+1"?p+1:p-1}return w===0?(this.remove(f),!0):_(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"add",this).call(this,f,w)}},{key:"canAdd",value:function(f,w){return _(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"canAdd",this).call(this,f,w)||_(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"canAdd",this).call(this,f,parseInt(w))}},{key:"value",value:function(f){return parseInt(_(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"value",this).call(this,f))||void 0}}]),l}(d.default.Attributor.Class),n=new r("indent","ql-indent",{scope:d.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});g.IndentClass=n},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=A(4),_=b(C);function b(t){return t&&t.__esModule?t:{default:t}}function d(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function u(t,r){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:t}function i(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r)}var o=function(t){i(r,t);function r(){return d(this,r),u(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(_.default);o.blotName="blockquote",o.tagName="blockquote",g.default=o},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=function(){function r(n,s){for(var l=0;l<s.length;l++){var h=s[l];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(n,h.key,h)}}return function(n,s,l){return s&&r(n.prototype,s),l&&r(n,l),n}}(),_=A(4),b=d(_);function d(r){return r&&r.__esModule?r:{default:r}}function u(r,n){if(!(r instanceof n))throw new TypeError("Cannot call a class as a function")}function i(r,n){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:r}function o(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(r,n):r.__proto__=n)}var t=function(r){o(n,r);function n(){return u(this,n),i(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return C(n,null,[{key:"formats",value:function(l){return this.tagName.indexOf(l.tagName)+1}}]),n}(b.default);t.blotName="header",t.tagName=["H1","H2","H3","H4","H5","H6"],g.default=t},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0}),g.default=g.ListItem=void 0;var C=function(){function p(y,v){for(var M=0;M<v.length;M++){var D=v[M];D.enumerable=D.enumerable||!1,D.configurable=!0,"value"in D&&(D.writable=!0),Object.defineProperty(y,D.key,D)}}return function(y,v,M){return v&&p(y.prototype,v),M&&p(y,M),y}}(),_=function p(y,v,M){y===null&&(y=Function.prototype);var D=Object.getOwnPropertyDescriptor(y,v);if(D===void 0){var L=Object.getPrototypeOf(y);return L===null?void 0:p(L,v,M)}else{if("value"in D)return D.value;var S=D.get;return S===void 0?void 0:S.call(M)}},b=A(0),d=r(b),u=A(4),i=r(u),o=A(25),t=r(o);function r(p){return p&&p.__esModule?p:{default:p}}function n(p,y,v){return y in p?Object.defineProperty(p,y,{value:v,enumerable:!0,configurable:!0,writable:!0}):p[y]=v,p}function s(p,y){if(!(p instanceof y))throw new TypeError("Cannot call a class as a function")}function l(p,y){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:p}function h(p,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);p.prototype=Object.create(y&&y.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(p,y):p.__proto__=y)}var f=function(p){h(y,p);function y(){return s(this,y),l(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}return C(y,[{key:"format",value:function(M,D){M===w.blotName&&!D?this.replaceWith(d.default.create(this.statics.scope)):_(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"format",this).call(this,M,D)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():_(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(M,D){return this.parent.isolate(this.offset(this.parent),this.length()),M===this.parent.statics.blotName?(this.parent.replaceWith(M,D),this):(this.parent.unwrap(),_(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"replaceWith",this).call(this,M,D))}}],[{key:"formats",value:function(M){return M.tagName===this.tagName?void 0:_(y.__proto__||Object.getPrototypeOf(y),"formats",this).call(this,M)}}]),y}(i.default);f.blotName="list-item",f.tagName="LI";var w=function(p){h(y,p),C(y,null,[{key:"create",value:function(M){var D=M==="ordered"?"OL":"UL",L=_(y.__proto__||Object.getPrototypeOf(y),"create",this).call(this,D);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 y(v){s(this,y);var M=l(this,(y.__proto__||Object.getPrototypeOf(y)).call(this,v)),D=function(S){if(S.target.parentNode===v){var N=M.statics.formats(v),k=d.default.find(S.target);N==="checked"?k.format("list","unchecked"):N==="unchecked"&&k.format("list","checked")}};return v.addEventListener("touchstart",D),v.addEventListener("mousedown",D),M}return C(y,[{key:"format",value:function(M,D){this.children.length>0&&this.children.tail.format(M,D)}},{key:"formats",value:function(){return n({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(M,D){if(M instanceof f)_(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"insertBefore",this).call(this,M,D);else{var L=D==null?this.length():D.offset(this),S=this.split(L);S.parent.insertBefore(M,S)}}},{key:"optimize",value:function(M){_(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"optimize",this).call(this,M);var D=this.next;D!=null&&D.prev===this&&D.statics.blotName===this.statics.blotName&&D.domNode.tagName===this.domNode.tagName&&D.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(D.moveChildren(this),D.remove())}},{key:"replace",value:function(M){if(M.statics.blotName!==this.statics.blotName){var D=d.default.create(this.statics.defaultChild);M.moveChildren(D),this.appendChild(D)}_(y.prototype.__proto__||Object.getPrototypeOf(y.prototype),"replace",this).call(this,M)}}]),y}(t.default);w.blotName="list",w.scope=d.default.Scope.BLOCK_BLOT,w.tagName=["OL","UL"],w.defaultChild="list-item",w.allowedChildren=[f],g.ListItem=f,g.default=w},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=A(56),_=b(C);function b(t){return t&&t.__esModule?t:{default:t}}function d(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function u(t,r){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:t}function i(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r)}var o=function(t){i(r,t);function r(){return d(this,r),u(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(_.default);o.blotName="italic",o.tagName=["EM","I"],g.default=o},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=function(){function n(s,l){for(var h=0;h<l.length;h++){var f=l[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(s,f.key,f)}}return function(s,l,h){return l&&n(s.prototype,l),h&&n(s,h),s}}(),_=function n(s,l,h){s===null&&(s=Function.prototype);var f=Object.getOwnPropertyDescriptor(s,l);if(f===void 0){var w=Object.getPrototypeOf(s);return w===null?void 0:n(w,l,h)}else{if("value"in f)return f.value;var p=f.get;return p===void 0?void 0:p.call(h)}},b=A(6),d=u(b);function u(n){return n&&n.__esModule?n:{default:n}}function i(n,s){if(!(n instanceof s))throw new TypeError("Cannot call a class as a function")}function o(n,s){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:n}function t(n,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);n.prototype=Object.create(s&&s.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(n,s):n.__proto__=s)}var r=function(n){t(s,n);function s(){return i(this,s),o(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return C(s,null,[{key:"create",value:function(h){return h==="super"?document.createElement("sup"):h==="sub"?document.createElement("sub"):_(s.__proto__||Object.getPrototypeOf(s),"create",this).call(this,h)}},{key:"formats",value:function(h){if(h.tagName==="SUB")return"sub";if(h.tagName==="SUP")return"super"}}]),s}(d.default);r.blotName="script",r.tagName=["SUB","SUP"],g.default=r},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=A(6),_=b(C);function b(t){return t&&t.__esModule?t:{default:t}}function d(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function u(t,r){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:t}function i(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r)}var o=function(t){i(r,t);function r(){return d(this,r),u(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(_.default);o.blotName="strike",o.tagName="S",g.default=o},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=A(6),_=b(C);function b(t){return t&&t.__esModule?t:{default:t}}function d(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function u(t,r){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:t}function i(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r)}var o=function(t){i(r,t);function r(){return d(this,r),u(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(_.default);o.blotName="underline",o.tagName="U",g.default=o},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=function(){function l(h,f){for(var w=0;w<f.length;w++){var p=f[w];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(h,p.key,p)}}return function(h,f,w){return f&&l(h.prototype,f),w&&l(h,w),h}}(),_=function l(h,f,w){h===null&&(h=Function.prototype);var p=Object.getOwnPropertyDescriptor(h,f);if(p===void 0){var y=Object.getPrototypeOf(h);return y===null?void 0:l(y,f,w)}else{if("value"in p)return p.value;var v=p.get;return v===void 0?void 0:v.call(w)}},b=A(0),d=i(b),u=A(27);function i(l){return l&&l.__esModule?l:{default:l}}function o(l,h){if(!(l instanceof h))throw new TypeError("Cannot call a class as a function")}function t(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 n=["alt","height","width"],s=function(l){r(h,l);function h(){return o(this,h),t(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return C(h,[{key:"format",value:function(w,p){n.indexOf(w)>-1?p?this.domNode.setAttribute(w,p):this.domNode.removeAttribute(w):_(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"format",this).call(this,w,p)}}],[{key:"create",value:function(w){var p=_(h.__proto__||Object.getPrototypeOf(h),"create",this).call(this,w);return typeof w=="string"&&p.setAttribute("src",this.sanitize(w)),p}},{key:"formats",value:function(w){return n.reduce(function(p,y){return w.hasAttribute(y)&&(p[y]=w.getAttribute(y)),p},{})}},{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);s.blotName="image",s.tagName="IMG",g.default=s},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0});var C=function(){function l(h,f){for(var w=0;w<f.length;w++){var p=f[w];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(h,p.key,p)}}return function(h,f,w){return f&&l(h.prototype,f),w&&l(h,w),h}}(),_=function l(h,f,w){h===null&&(h=Function.prototype);var p=Object.getOwnPropertyDescriptor(h,f);if(p===void 0){var y=Object.getPrototypeOf(h);return y===null?void 0:l(y,f,w)}else{if("value"in p)return p.value;var v=p.get;return v===void 0?void 0:v.call(w)}},b=A(4),d=A(27),u=i(d);function i(l){return l&&l.__esModule?l:{default:l}}function o(l,h){if(!(l instanceof h))throw new TypeError("Cannot call a class as a function")}function t(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 n=["height","width"],s=function(l){r(h,l);function h(){return o(this,h),t(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return C(h,[{key:"format",value:function(w,p){n.indexOf(w)>-1?p?this.domNode.setAttribute(w,p):this.domNode.removeAttribute(w):_(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"format",this).call(this,w,p)}}],[{key:"create",value:function(w){var p=_(h.__proto__||Object.getPrototypeOf(h),"create",this).call(this,w);return p.setAttribute("frameborder","0"),p.setAttribute("allowfullscreen",!0),p.setAttribute("src",this.sanitize(w)),p}},{key:"formats",value:function(w){return n.reduce(function(p,y){return w.hasAttribute(y)&&(p[y]=w.getAttribute(y)),p},{})}},{key:"sanitize",value:function(w){return u.default.sanitize(w)}},{key:"value",value:function(w){return w.getAttribute("src")}}]),h}(b.BlockEmbed);s.blotName="video",s.className="ql-video",s.tagName="IFRAME",g.default=s},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0}),g.default=g.FormulaBlot=void 0;var C=function(){function w(p,y){for(var v=0;v<y.length;v++){var M=y[v];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(p,M.key,M)}}return function(p,y,v){return y&&w(p.prototype,y),v&&w(p,v),p}}(),_=function w(p,y,v){p===null&&(p=Function.prototype);var M=Object.getOwnPropertyDescriptor(p,y);if(M===void 0){var D=Object.getPrototypeOf(p);return D===null?void 0:w(D,y,v)}else{if("value"in M)return M.value;var L=M.get;return L===void 0?void 0:L.call(v)}},b=A(35),d=r(b),u=A(5),i=r(u),o=A(9),t=r(o);function r(w){return w&&w.__esModule?w:{default:w}}function n(w,p){if(!(w instanceof p))throw new TypeError("Cannot call a class as a function")}function s(w,p){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:w}function l(w,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);w.prototype=Object.create(p&&p.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(w,p):w.__proto__=p)}var h=function(w){l(p,w);function p(){return n(this,p),s(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return C(p,null,[{key:"create",value:function(v){var M=_(p.__proto__||Object.getPrototypeOf(p),"create",this).call(this,v);return typeof v=="string"&&(window.katex.render(v,M,{throwOnError:!1,errorColor:"#f00"}),M.setAttribute("data-value",v)),M}},{key:"value",value:function(v){return v.getAttribute("data-value")}}]),p}(d.default);h.blotName="formula",h.className="ql-formula",h.tagName="SPAN";var f=function(w){l(p,w),C(p,null,[{key:"register",value:function(){i.default.register(h,!0)}}]);function p(){n(this,p);var y=s(this,(p.__proto__||Object.getPrototypeOf(p)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return y}return p}(t.default);g.FormulaBlot=h,g.default=f},function(e,g,A){Object.defineProperty(g,"__esModule",{value:!0}),g.default=g.CodeToken=g.CodeBlock=void 0;var C=function(){function v(M,D){for(var L=0;L<D.length;L++){var S=D[L];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(M,S.key,S)}}return function(M,D,L){return D&&v(M.prototype,D),L&&v(M,L),M}}(),_=function v(M,D,L){M===null&&(M=Function.prototype);var S=Object.getOwnPropertyDescriptor(M,D);if(S===void 0){var N=Object.getPrototypeOf(M);return N===null?void 0:v(N,D,L)}else{if("value"in S)return S.value;var k=S.get;return k===void 0?void 0:k.call(L)}},b=A(0),d=s(b),u=A(5),i=s(u),o=A(9),t=s(o),r=A(13),n=s(r);function s(v){return v&&v.__esModule?v:{default:v}}function l(v,M){if(!(v instanceof M))throw new TypeError("Cannot call a class as a function")}function h(v,M){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M&&(typeof M=="object"||typeof M=="function")?M:v}function f(v,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof M);v.prototype=Object.create(M&&M.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(v,M):v.__proto__=M)}var w=function(v){f(M,v);function M(){return l(this,M),h(this,(M.__proto__||Object.getPrototypeOf(M)).apply(this,arguments))}return C(M,[{key:"replaceWith",value:function(L){this.domNode.textContent=this.domNode.textContent,this.attach(),_(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}(n.default);w.className="ql-syntax";var p=new d.default.Attributor.Class("token","hljs",{scope:d.default.Scope.INLINE}),y=function(v){f(M,v),C(M,null,[{key:"register",value:function(){i.default.register(p,!0),i.default.register(w,!0)}}]);function M(D,L){l(this,M);var S=h(this,(M.__proto__||Object.getPrototypeOf(M)).call(this,D,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(i.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(N),N=setTimeout(function(){S.highlight(),N=null},S.options.interval)}),S.highlight(),S}return C(M,[{key:"highlight",value:function(){var L=this;if(!this.quill.selection.composing){this.quill.update(i.default.sources.USER);var S=this.quill.getSelection();this.quill.scroll.descendants(w).forEach(function(N){N.highlight(L.options.highlight)}),this.quill.update(i.default.sources.SILENT),S!=null&&this.quill.setSelection(S,i.default.sources.SILENT)}}}]),M}(t.default);y.DEFAULTS={highlight:function(){return window.hljs==null?null:function(v){var M=window.hljs.highlightAuto(v);return M.value}}(),interval:1e3},g.CodeBlock=w,g.CodeToken=p,g.default=y},function(e,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g){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,g,A){Object.defineProperty(g,"__esModule",{value:!0}),g.default=g.BubbleTooltip=void 0;var C=function M(D,L,S){D===null&&(D=Function.prototype);var N=Object.getOwnPropertyDescriptor(D,L);if(N===void 0){var k=Object.getPrototypeOf(D);return k===null?void 0:M(k,L,S)}else{if("value"in N)return N.value;var T=N.get;return T===void 0?void 0:T.call(S)}},_=function(){function M(D,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(D,N.key,N)}}return function(D,L,S){return L&&M(D.prototype,L),S&&M(D,S),D}}(),b=A(3),d=l(b),u=A(8),i=l(u),o=A(43),t=l(o),r=A(15),n=A(41),s=l(n);function l(M){return M&&M.__esModule?M:{default:M}}function h(M,D){if(!(M instanceof D))throw new TypeError("Cannot call a class as a function")}function f(M,D){if(!M)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:M}function w(M,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);M.prototype=Object.create(D&&D.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(M,D):M.__proto__=D)}var p=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],y=function(M){w(D,M);function D(L,S){h(this,D),S.modules.toolbar!=null&&S.modules.toolbar.container==null&&(S.modules.toolbar.container=p);var N=f(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,L,S));return N.quill.container.classList.add("ql-bubble"),N}return _(D,[{key:"extendToolbar",value:function(S){this.tooltip=new v(this.quill,this.options.bounds),this.tooltip.root.appendChild(S.container),this.buildButtons([].slice.call(S.container.querySelectorAll("button")),s.default),this.buildPickers([].slice.call(S.container.querySelectorAll("select")),s.default)}}]),D}(t.default);y.DEFAULTS=(0,d.default)(!0,{},t.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(D){D?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var v=function(M){w(D,M);function D(L,S){h(this,D);var N=f(this,(D.__proto__||Object.getPrototypeOf(D)).call(this,L,S));return N.quill.on(i.default.events.EDITOR_CHANGE,function(k,T,E,I){if(k===i.default.events.SELECTION_CHANGE)if(T!=null&&T.length>0&&I===i.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(T.index,T.length);if(F.length===1)N.position(N.quill.getBounds(T));else{var O=F[F.length-1],z=N.quill.getIndex(O),W=Math.min(O.length()-1,T.index+T.length-z),j=N.quill.getBounds(new r.Range(z,W));N.position(j)}}else document.activeElement!==N.textbox&&N.quill.hasFocus()&&N.hide()}),N}return _(D,[{key:"listen",value:function(){var S=this;C(D.prototype.__proto__||Object.getPrototypeOf(D.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){S.root.classList.remove("ql-editing")}),this.quill.on(i.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=C(D.prototype.__proto__||Object.getPrototypeOf(D.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"}}]),D}(o.BaseTooltip);v.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(""),g.BubbleTooltip=v,g.default=y},function(e,g,A){e.exports=A(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$N={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(a,m){const e={editorOption:{},quill:null};let g="";vue.watch(()=>a.value,b=>{e.quill&&(b&&b!==g?(g=b,e.quill.pasteHTML(b)):b||e.quill.setText(""))}),vue.watch(()=>a.content,b=>{e.quill&&(b&&b!==g?(g=b,e.quill.pasteHTML(b)):b||e.quill.setText(""))}),vue.watch(()=>a.disabled,b=>{e.quill&&e.quill.enable(!b)});const A=vue.ref(null),C=(b,d)=>{for(const u in d)!b[u]||u!=="modules"?b[u]=d[u]:C(b[u],d[u]);return b},_=()=>{A.value&&(e.editorOption=C(defaultOptions,a.options),e.editorOption.readOnly=!!a.disabled,e.quill=new Quill(A.value,e.editorOption),a.value&&e.quill.pasteHTML(a.value),e.quill.on("selection-change",b=>{b?m.emit("focus",e.quill):m.emit("blur",e.quill)}),e.quill.on("text-change",()=>{a.disabled&&e.quill.enable(!1);let b=A.value.children[0].innerHTML;const d=e.quill,u=e.quill.getText();b==="<p><br></p>"&&(b=""),g=b,m.emit("update:value",g),m.emit("change",{html:b,text:u,quill:d})}),m.emit("ready",e.quill))};return vue.onBeforeUnmount(()=>{const b=A.value.previousSibling;b&&b.className.indexOf("ql-toolbar")>-1&&b.parentNode.removeChild(b)}),vue.onMounted(()=>{_()}),vue.onUnmounted(()=>{e.quill=null}),{editor:A}}},_hoisted_1$t={ref:"editor"};function _sfc_render$N(a,m,e,g,A,C){return vue.openBlock(),vue.createElementBlock("section",_hoisted_1$t,null,512)}var quillEditor=_export_sfc$1(_sfc_main$N,[["render",_sfc_render$N]]);quillEditor.install=function(a){a.component(quillEditor.name,quillEditor)};var richEditorWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$M={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$M(a,m,e,g,A,C){const _=vue.resolveComponent("quill-editor"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:A.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(_,{value:A.fieldModel,"onUpdate:value":m[0]||(m[0]=d=>A.fieldModel=d),options:C.editorOption,disabled:a.getDisabled(),onBlur:C.handleRichEditorBlurEvent,onFocus:C.handleRichEditorFocusEvent,onChange:C.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$M,[["render",_sfc_render$M],["__scopeId","data-v-6f719fd1"]]),__glob_0_15=Object.freeze(Object.defineProperty({__proto__:null,default:richEditorWidget},Symbol.toStringTag,{value:"Module"}));const _sfc_main$L={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:[]}},computed:{treeSelectProps(){const a=this.field.options||{};return{label:a.labelKey||"label",value:a.valueKey||"value",children:a.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(a){const m=a&&typeof a=="object"&&"isTrusted"in a;this.handleChangeEvent(m?this.fieldModel:a)}},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()}};function _sfc_render$L(a,m,e,g,A,C){const _=vue.resolveComponent("el-tree-select"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:A.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":a.subFormRowIndex,"sub-form-col-index":a.subFormColIndex,"sub-form-row-id":a.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(_,{ref:"fieldEditor",modelValue:A.fieldModel,"onUpdate:modelValue":m[0]||(m[0]=d=>A.fieldModel=d),class:"full-width-input",data:e.field.options.optionItems,props:C.treeSelectProps,"show-checkbox":e.field.options.showCheckbox,"node-key":C.treeNodeKey,"default-expand-all":!0,"expand-on-click-node":!1,disabled:a.getDisabled(),size:a.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":C.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||a.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":C.remoteMethod,onFocus:a.handleFocusCustomEvent,onBlur:a.handleBlurCustomEvent,onChange:C.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$L,[["render",_sfc_render$L]]),__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$K={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:[]}},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$K(a,m,e,g,A,C){const _=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:A.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:A.fieldModel,"onUpdate:modelValue":m[0]||(m[0]=u=>A.fieldModel=u),class:"full-width-input",disabled:a.getDisabled(),size:a.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":C.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||a.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":C.remoteMethod,onFocus:a.handleFocusCustomEvent,onBlur:a.handleBlurCustomEvent,onChange:a.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.field.options.optionItems,u=>(vue.openBlock(),vue.createBlock(_,{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$K,[["render",_sfc_render$K],["__scopeId","data-v-3d1ff454"]]),__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$J={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$J(a,m,e,g,A,C){const _=vue.resolveComponent("el-slider"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:A.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(_,{ref:"fieldEditor",modelValue:A.fieldModel,"onUpdate:modelValue":m[0]||(m[0]=d=>A.fieldModel=d),disabled:a.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:a.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$J,[["render",_sfc_render$J],["__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$I={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$s={key:0,class:"slot-title"};function _sfc_render$I(a,m,e,g,A,C){const _=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(_,{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(a.$slots,e.field.options.name,{formModel:a.formModel},void 0,!0),e.designState?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$s,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$I,[["render",_sfc_render$I],["__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$H={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 a={};return this.field.options.fontSize&&(a.fontSize=this.field.options.fontSize),a},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 a;return this.fieldModel!=null&&this.fieldModel!==""?this.fieldModel:(a=this.field.options.textContent)!=null?a:""}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{},watch:{"field.options.textContent":{handler(a){a!==void 0&&(this.fieldModel=a,this.designState||this.syncUpdateFormModel(a))},immediate:!0}}};function _sfc_render$H(a,m,e,g,A,C){const _=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(_,{designer:e.designer,field:e.field,rules:A.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(C.staticTextStyle)},[vue.createElementVNode("div",{style:vue.normalizeStyle(C.innerStyle)},vue.toDisplayString(A.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$H,[["render",_sfc_render$H],["__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$G={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$G(a,m,e,g,A,C){const _=vue.resolveComponent("el-switch"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:A.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(_,{ref:"fieldEditor",modelValue:A.fieldModel,"onUpdate:modelValue":m[0]||(m[0]=d=>A.fieldModel=d),disabled:a.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:a.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$G,[["render",_sfc_render$G],["__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$F={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$F(a,m,e,g,A,C){const _=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:A.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(_,{type:"textarea",ref:"fieldEditor",modelValue:A.fieldModel,"onUpdate:modelValue":m[0]||(m[0]=d=>A.fieldModel=d),disabled:a.getDisabled(),readonly:e.field.options.readonly,size:a.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:a.handleFocusCustomEvent,onBlur:a.handleBlurCustomEvent,onInput:a.handleInputCustomEvent,onChange:a.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$F,[["render",_sfc_render$F],["__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$E={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$E(a,m,e,g,A,C){const _=vue.resolveComponent("el-time-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:A.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(_,{ref:"fieldEditor","is-range":"",modelValue:A.fieldModel,"onUpdate:modelValue":m[0]||(m[0]=d=>A.fieldModel=d),class:vue.normalizeClass([e.field.options.autoFullWidth?"full-width-input":""]),disabled:a.getDisabled(),readonly:e.field.options.readonly,size:a.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||a.i18nt("render.hint.startTimePlaceholder"),"end-placeholder":e.field.options.endPlaceholder||a.i18nt("render.hint.endTimePlaceholder"),onFocus:a.handleFocusCustomEvent,onBlur:a.handleBlurCustomEvent,onChange:a.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$E,[["render",_sfc_render$E],["__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$D={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$D(a,m,e,g,A,C){const _=vue.resolveComponent("el-time-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:A.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(_,{ref:"fieldEditor",modelValue:A.fieldModel,"onUpdate:modelValue":m[0]||(m[0]=d=>A.fieldModel=d),class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),disabled:a.getDisabled(),readonly:e.field.options.readonly,size:a.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||a.i18nt("render.hint.timePlaceholder"),onFocus:a.handleFocusCustomEvent,onBlur:a.handleBlurCustomEvent,onChange:a.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$D,[["render",_sfc_render$D],["__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 a in modules$2){let m=modules$2[a].default.name;comps[m]=modules$2[a].default}var gridColItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$C={name:"GridColItem",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:ze({},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 a,m;!this.designState&&((m=(a=this.widget)==null?void 0:a.options)==null?void 0:m.hidden)&&this.$nextTick(()=>this.syncColFieldValidation(!0))},beforeUnmount(){var a,m;this.refList!=null&&((m=(a=this.widget)==null?void 0:a.options)==null?void 0:m.name)&&delete this.refList[this.widget.options.name]},watch:{"widget.options.span":{handler(a){this.layoutProps.span=a},immediate:!0},"widget.options.hidden":{handler(a){this.designState||this.syncColFieldValidation(!!a)}}},methods:{syncColFieldValidation(a){if(!this.widget)return;const m=!!a;traverseFieldWidgetsOfContainer(this.widget,e=>{if(!e.formItemFlag||!e.options||!e.options.name)return;const g=this.getWidgetRef(e.options.name);!g||(m?typeof g.clearFieldRules=="function"&&g.clearFieldRules():typeof g.buildFieldRules=="function"&&g.buildFieldRules())})},setHidden(a){this.widget&&this.widget.options&&(this.widget.options.hidden=!!a,this.syncColFieldValidation(a),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 a=this.formConfig.layoutType;a==="H5"?this.layoutProps.span=this.widget.options.xs||12:a==="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$r={class:"blank-cell"},_hoisted_2$j={class:"invisible-content"};function _sfc_render$C(a,m,e,g,A,C){const _=vue.resolveComponent("el-col");return e.widget?vue.withDirectives((vue.openBlock(),vue.createBlock(_,vue.mergeProps({key:0,class:["grid-cell",[C.customClass]]},A.layoutProps,{style:C.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(a.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:a.disabled||e.widget.options.disabled},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),u=>({name:u,fn:vue.withCtx(i=>[vue.renderSlot(a.$slots,u,vue.mergeProps({ref_for:!0},i),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(a.$slots),u=>({name:u,fn:vue.withCtx(i=>[vue.renderSlot(a.$slots,u,vue.mergeProps({ref_for:!0},i),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(_,{key:1},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$r,[vue.createElementVNode("span",_hoisted_2$j,vue.toDisplayString(a.i18nt("render.hint.blankCellContent")),1)])]),_:1}))]),_:3},16,["class","style"])),[[vue.vShow,C.colVisible]]):vue.createCommentVNode("",!0)}var GridColItem=_export_sfc$1(_sfc_main$C,[["render",_sfc_render$C],["__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 a=this.widget.options.name;delete this.refList[a]}},callSetHidden(){this.widget&&this.widget.options&&this.widget.options.hidden===!0&&this.setHidden(!0)},setHidden(a){if(!this.widget||!this.widget.options)return;this.widget.options.hidden=a;let m=e=>{if(!e||!e.options)return;let g=e.options.name,A=this.getWidgetRef(g);a&&!!A&&!!A.clearFieldRules&&A.clearFieldRules(),!a&&!!A&&!!A.buildFieldRules&&A.buildFieldRules()};traverseFieldWidgetsOfContainer(this.widget,m)},setDisabled(a){!this.widget||!this.widget.options||(this.widget.options.disabled=a)},activeTab(a){a>=0&&a<this.widget.tabs.length&&this.widget.tabs.forEach((m,e)=>{m.options.active=e===a,e===a&&(this.activeTabName=m.options.name)})},disableTab(a){a>=0&&a<this.widget.tabs.length&&(this.widget.tabs[a].options.disabled=!0)},enableTab(a){a>=0&&a<this.widget.tabs.length&&(this.widget.tabs[a].options.disabled=!1)},hideTab(a){a>=0&&a<this.widget.tabs.length&&(this.widget.tabs[a].options.hidden=!0)},showTab(a){a>=0&&a<this.widget.tabs.length&&(this.widget.tabs[a].options.hidden=!1)},setWidgetOption(a,m){this.widget.options.hasOwnProperty(a)&&(this.widget.options[a]=m)},getSubFormRowCount(){return this.rowIdData?this.rowIdData.length:0},disableSubFormRow(a){!Array.isArray(this.rowIdData)||this.rowIdData[a]==null||!this.widget||!this.widget.widgetList||this.widget.widgetList.forEach(m=>{let e=m.options.name+"@row"+this.rowIdData[a],g=this.getWidgetRef(e);g&&g.setDisabled(!0)})},enableSubFormRow(a){!Array.isArray(this.rowIdData)||this.rowIdData[a]==null||!this.widget||!this.widget.widgetList||this.widget.widgetList.forEach(m=>{let e=m.options.name+"@row"+this.rowIdData[a],g=this.getWidgetRef(e);g&&g.setDisabled(!1)})},disableSubForm(){Array.isArray(this.rowIdData)&&this.rowIdData.length>0&&this.rowIdData.forEach((a,m)=>{this.disableSubFormRow(m)}),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((a,m)=>{this.enableSubFormRow(m)}),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 a=this.formModel[this.widget.options.name];a&&(a.splice(0,a.length),this.rowIdData.splice(0,this.rowIdData.length)),this.widget.options.showBlankRow&&this.addSubFormRow()}},getSubFormValues(a=!0){if(this.widget.type==="sub-form")return this.formModel[this.widget.options.name];this.$message.error(this.i18nt("render.hint.nonSubFormType"))},addCssClass(a){this.widget.options.customClass?this.widget.options.customClass.push(a):this.widget.options.customClass=[a]},removeCssClass(a){if(!this.widget.options.customClass)return;let m=-1;this.widget.options.customClass.map((e,g)=>{e===a&&(m=g)}),m>-1&&this.widget.options.customClass.splice(m,1)}}};const _sfc_main$B={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$B(a,m,e,g,A,C){const _=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",[a.customClass]]),ref:e.widget.id},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.cols||[],(u,i)=>(vue.openBlock(),vue.createBlock(_,{key:u.id,widget:u,"parent-list":e.widget.cols,"index-of-parent-list":i,"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(a.$slots),o=>({name:o,fn:vue.withCtx(t=>[vue.renderSlot(a.$slots,o,vue.mergeProps({ref_for:!0},t))])}))]),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$B,[["render",_sfc_render$B]]),__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$A={name:"sub-form-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:ht(ze({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(a,m){return m.options.labelAlign||a.options.labelAlign},registerSubFormToRefList(){this.widget.type==="sub-form"&&(this.sfRefList[this.widget.options.name]=this)},initRowIdData(a){if(this.widget.type==="sub-form"){this.rowIdData.splice(0,this.rowIdData.length);let m=this.formModel[this.widget.options.name];!!m&&m.length>0&&(m.forEach(()=>{this.rowIdData.push("id"+generateId())}),a&&setTimeout(()=>{this.handleSubFormRowChange(m)},800))}},addToRowIdData(){this.rowIdData.push("id"+generateId())},insertToRowIdData(a){this.rowIdData.splice(a,0,"id"+generateId())},deleteFromRowIdData(a){this.rowIdData.splice(a,1)},getRowIdData(){return this.rowIdData},getWidgetRefOfSubForm(a,m){let e=a+"@row"+this.rowIdData[m];return this.getWidgetRef(e)},initFieldSchemaData(){if(this.widget.type!=="sub-form")return;let a=this.rowIdData.length;if(this.fieldSchemaData.splice(0,this.fieldSchemaData.length),a>0)for(let m=0;m<a;m++){let e=[];this.widget.widgetList.forEach(g=>{e.push(this.cloneFieldSchema(g))}),this.fieldSchemaData.push(e)}},addToFieldSchemaData(a){let m=[];this.widget.widgetList.forEach(e=>{m.push(this.cloneFieldSchema(e))}),a===void 0?this.fieldSchemaData.push(m):this.fieldSchemaData.splice(a,0,m)},deleteFromFieldSchemaData(a){this.fieldSchemaData.splice(a,1)},cloneFieldSchema(a){let m=deepClone(a);return m.id=a.type+generateId(),m},initEventHandler(){this.widget.type==="sub-form"&&this.on$("setFormData",a=>{this.initRowIdData(!1),this.initFieldSchemaData();let m=a[this.widget.options.name]||[];setTimeout(()=>{this.handleSubFormRowChange(m)},800)})},handleSubFormFirstRowAdd(){if(this.widget.type==="sub-form"&&!!this.widget.options.showBlankRow&&this.rowIdData.length===1){let a=this.formModel[this.widget.options.name]||[];this.handleSubFormRowAdd(a,this.rowIdData[0]),this.handleSubFormRowChange(a)}},addSubFormRow(){let a={};this.widget.widgetList.forEach(e=>{e.formItemFlag&&(a[e.options.name]=e.options.defaultValue)});let m=this.formModel[this.widget.options.name]||[];m.push(a),this.addToRowIdData(),this.addToFieldSchemaData(),this.handleSubFormRowAdd(m,this.rowIdData[m.length-1]),this.handleSubFormRowChange(m)},insertSubFormRow(a){let m={};this.widget.widgetList.forEach(g=>{g.formItemFlag&&(m[g.options.name]=g.options.defaultValue)});let e=this.formModel[this.widget.options.name]||[];e.splice(a,0,m),this.insertToRowIdData(a),this.addToFieldSchemaData(a),this.handleSubFormRowInsert(e,this.rowIdData[a]),this.handleSubFormRowChange(e)},deleteSubFormRow(a){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 m=this.formModel[this.widget.options.name]||[],e=deepClone(m[a]);m.splice(a,1),this.deleteFromRowIdData(a),this.deleteFromFieldSchemaData(a),this.handleSubFormRowDelete(m,e),this.handleSubFormRowChange(m)}).catch(()=>{})},handleSubFormRowChange(a){this.widget.options.onSubFormRowChange&&new Function("subFormData",this.widget.options.onSubFormRowChange).call(this,a)},handleSubFormRowAdd(a,m){this.widget.options.onSubFormRowAdd&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowAdd).call(this,a,m)},handleSubFormRowInsert(a,m){this.widget.options.onSubFormRowInsert&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowInsert).call(this,a,m)},handleSubFormRowDelete(a,m){this.widget.options.onSubFormRowDelete&&new Function("subFormData","deletedDataRow",this.widget.options.onSubFormRowDelete).call(this,a,m)}}},_hoisted_1$q={class:"action-header-column"},_hoisted_2$i={class:"action-label"},_hoisted_3$f={key:0,class:"custom-label"},_hoisted_4$c=["title"],_hoisted_5$a={class:"sub-form-action-column hide-label"},_hoisted_6$a={class:"action-button-column"},_hoisted_7$7={key:0,class:"row-number-span"};function _sfc_render$A(a,m,e,g,A,C){const _=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-tooltip"),u=vue.resolveComponent("el-row"),i=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(i,{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$q,[vue.createElementVNode("span",_hoisted_2$i,vue.toDisplayString(a.i18nt("render.hint.subFormAction")),1),vue.createVNode(b,{disabled:A.actionDisabled,round:"",type:"primary",size:"small",class:"action-button",onClick:C.addSubFormRow,title:a.i18nt("render.hint.subFormAddActionHint")},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("render.hint.subFormAddAction")),1),vue.createVNode(_,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"])]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,o=>(vue.openBlock(),vue.createElementBlock("div",{key:o.id+"thc",class:vue.normalizeClass(["field-header-column",[C.getLabelAlign(e.widget,o),o.options.required?"is-required":""]]),style:vue.normalizeStyle({width:o.options.columnWidth})},[o.options.labelIconClass?(vue.openBlock(),vue.createElementBlock("span",_hoisted_3$f,[o.options.labelIconPosition==="front"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[o.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(d,{content:o.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":o.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"]),vue.createTextVNode(vue.toDisplayString(o.options.label),1)],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createVNode(_,{"icon-class":o.options.labelIconClass},null,8,["icon-class"]),vue.createTextVNode(vue.toDisplayString(o.options.label),1)],64))],64)):o.options.labelIconPosition==="rear"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[o.options.labelTooltip?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(vue.toDisplayString(o.options.label),1),vue.createVNode(d,{content:o.options.labelTooltip,effect:"light"},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":o.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"])],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(o.options.label),1),vue.createVNode(_,{"icon-class":o.options.labelIconClass},null,8,["icon-class"])],64))],64)):vue.createCommentVNode("",!0)])):(vue.openBlock(),vue.createElementBlock("span",{key:1,title:o.options.labelTooltip},vue.toDisplayString(o.options.label),9,_hoisted_4$c))],6))),128))]),_:1}),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(A.rowIdData,(o,t)=>(vue.openBlock(),vue.createBlock(u,{class:"sub-form-row",key:o},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_5$a,[vue.createElementVNode("div",_hoisted_6$a,[vue.createVNode(b,{disabled:A.actionDisabled,circle:"",onClick:r=>C.insertSubFormRow(t),title:a.i18nt("render.hint.insertSubFormRow")},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"]),vue.createVNode(b,{disabled:A.actionDisabled,circle:"",onClick:r=>C.deleteSubFormRow(t),title:a.i18nt("render.hint.deleteSubFormRow")},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":"el-delete"})]),_:1},8,["disabled","onClick","title"]),e.widget.options.showRowNumber?(vue.openBlock(),vue.createElementBlock("span",_hoisted_7$7,"#"+vue.toDisplayString(t+1),1)):vue.createCommentVNode("",!0)])]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,(r,n)=>{var s;return vue.openBlock(),vue.createElementBlock("div",{key:r.id+"tc"+o,class:"sub-form-table-column hide-label",style:vue.normalizeStyle({width:r.options.columnWidth})},[r.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(a.getComponentByContainer(A.fieldSchemaData[t][n])),{widget:A.fieldSchemaData[t][n],key:A.fieldSchemaData[t][n].id,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget,"sub-form-row-id":o,"sub-form-row-index":t,"sub-form-col-index":n,"field-schema-data":(s=A.fieldSchemaData[t][n])==null?void 0:s.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:A.fieldSchemaData[t][n],key:A.fieldSchemaData[t][n].id,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget,"sub-form-row-id":o,"sub-form-row-index":t,"sub-form-col-index":n},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$A,[["render",_sfc_render$A],["__scopeId","data-v-59c24e8e"]]),__glob_0_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:subFormItem},Symbol.toStringTag,{value:"Module"}));const _sfc_main$z={name:"tab-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:ze({ContainerItemWrapper},comps),props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{activeTabName:""}},computed:{visibleTabs(){return!this.widget||!this.widget.tabs?[]:this.widget.tabs.filter(a=>a&&a.options&&!a.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 a=this.widget.tabs.filter(m=>m&&m.options&&m.options.active===!0);a.length>0?this.activeTabName=a[0].options.name:this.widget.tabs[0]&&this.widget.tabs[0].options&&(this.activeTabName=this.widget.tabs[0].options.name)}}};function _sfc_render$z(a,m,e,g,A,C){const _=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:A.activeTabName,"onUpdate:modelValue":m[0]||(m[0]=u=>A.activeTabName=u),type:e.widget&&e.widget.displayType?e.widget.displayType:"default",ref:e.widget.id,class:vue.normalizeClass([a.customClass])},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(C.visibleTabs,(u,i)=>(vue.openBlock(),vue.createBlock(_,{key:i,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,(o,t)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(a.getComponentByContainer(o)),{widget:o,key:t,"parent-list":u.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),r=>({name:r,fn:vue.withCtx(n=>[vue.renderSlot(a.$slots,r,vue.mergeProps({ref_for:!0},n))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{field:o,key:t,"parent-list":u.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),r=>({name:r,fn:vue.withCtx(n=>[vue.renderSlot(a.$slots,r,vue.mergeProps({ref_for:!0},n))])}))]),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$z,[["render",_sfc_render$z]]),__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$y={name:"TableCellItem",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:ze({},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$p=["colspan","rowspan"];function _sfc_render$y(a,m,e,g,A,C){return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["table-cell",[C.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,(_,b)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[_.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(a.getComponentByContainer(_)),{widget:_,key:b,"parent-list":e.widget.widgetList,"index-of-parent-list":b,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),d=>({name:d,fn:vue.withCtx(u=>[vue.renderSlot(a.$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(_.type+"-widget"),{field:_,key:b,"parent-list":e.widget.widgetList,"index-of-parent-list":b,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),d=>({name:d,fn:vue.withCtx(u=>[vue.renderSlot(a.$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$p)}var TableCellItem=_export_sfc$1(_sfc_main$y,[["render",_sfc_render$y],["__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$x={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$x(a,m,e,g,A,C){const _=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",[a.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,(i,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(_,{widget:i,key:o,"parent-list":e.widget.cols,"row-index":u,"col-index":o,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),t=>({name:t,fn:vue.withCtx(r=>[vue.renderSlot(a.$slots,t,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$x,[["render",_sfc_render$x],["__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(a){for(const m in modules$1){let e=modules$1[m].default.name;a.component(e,modules$1[m].default)}}},index_vue_vue_type_style_index_0_scoped_true_lang$3="";const _sfc_main$w={name:"VFormRender",componentName:"VFormRender",mixins:[emitter,i18n$1],components:ze({},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(a){!a||typeof a!="object"||this.setFormData(a)}}},created(){this.buildFormModel(this.formJsonObj?this.formJsonObj.widgetList:null),this.initFormObject()},mounted(){this.initLocale(),this.handleOnMounted()},methods:{initFormObject(a=!0){this.formId="vfRender"+generateId(),a&&this.insertCustomStyleAndScriptNode(),this.addFieldChangeEventHandler(),this.addFieldValidateEventHandler(),this.registerFormToRefList(),this.handleOnCreated()},getContainerWidgetName(a){return a.type==="grid"?"vf-grid-item":a.type+"-item"},getWidgetName(a){return a.type+"-widget"},initLocale(){let a=localStorage.getItem("v_form_locale")||"zh-CN";this.changeLanguage(a)},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(a){!!a&&a.length>0&&a.forEach(m=>{this.buildDataFromWidget(m)})},buildDataFromWidget(a){var m;if(a.category==="container")if(a.type==="grid")!!a.cols&&a.cols.length>0&&a.cols.forEach(e=>{this.buildDataFromWidget(e)});else if(a.type==="table")!!a.rows&&a.rows.length>0&&a.rows.forEach(e=>{!!e.cols&&e.cols.length>0&&e.cols.forEach(g=>{this.buildDataFromWidget(g)})});else if(a.type==="tab")!!a.tabs&&a.tabs.length>0&&a.tabs.forEach(e=>{!!e.widgetList&&e.widgetList.length>0&&e.widgetList.forEach(g=>{this.buildDataFromWidget(g)})});else if(a.type==="sub-form"){let e=a.options.name;if(this.formData.hasOwnProperty(e)){let g=this.formData[e];this.formDataModel[e]=deepClone(g)}else{let g={};a.options.showBlankRow?(a.widgetList.forEach(A=>{A.formItemFlag&&(g[A.options.name]=A.options.defaultValue)}),this.formDataModel[e]=[g]):this.formDataModel[e]=[]}}else a.type==="grid-col"||a.type==="table-cell"?!!a.widgetList&&a.widgetList.length>0&&a.widgetList.forEach(e=>{this.buildDataFromWidget(e)}):!!a.widgetList&&a.widgetList.length>0&&a.widgetList.forEach(e=>{this.buildDataFromWidget(e)});else if(a.formItemFlag)if(this.formData.hasOwnProperty(a.options.name)){let e=this.formData[a.options.name];this.formDataModel[a.options.name]=deepClone(e)}else{const e=a.type==="static-text"?(m=a.options.textContent)!=null?m:"":a.options.defaultValue;this.formDataModel[a.options.name]=e}else if(a.type==="static-text"&&a.options&&a.options.name){const e=a.options.name;this.formData.hasOwnProperty(e)?this.formDataModel[e]=deepClone(this.formData[e]):this.formDataModel[e]=a.options.textContent}},addFieldChangeEventHandler(){this.off$("fieldChange"),this.on$("fieldChange",(a,m,e,g,A)=>{this.handleFieldDataChange(a,m,e,g,A),this.$emit("formChange",a,m,e,this.formDataModel,g,A)})},addFieldValidateEventHandler(){this.off$("fieldValidation"),this.on$("fieldValidation",a=>{this.$refs.renderForm.validateField(a)})},registerFormToRefList(){this.widgetRefList.v_form_ref=this},handleFieldDataChange(a,m,e,g,A){!!this.formConfig&&!!this.formConfig.onFormDataChange&&new Function("fieldName","newValue","oldValue","formModel","subFormName","subFormRowIndex",this.formConfig.onFormDataChange).call(this,a,m,e,this.formDataModel,g,A)},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(a,m){let e=this.getWidgetRef(a);e?m&&typeof e.disableSubForm=="function"?e.disableSubForm():!m&&typeof e.enableSubForm=="function"?e.enableSubForm():typeof e.setDisabled=="function"&&e.setDisabled(m):this.findWidgetOfSubFormAndSetDisabled(a,m)},findWidgetOfSubFormAndSetDisabled(a,m){this.findWidgetNameInSubForm(a).forEach(e=>{let g=this.getWidgetRef(e);!!g&&typeof g.setDisabled=="function"&&g.setDisabled(m)})},findFieldByName(a){if(!a||!this.widgetList)return null;let m=null;const e=g=>{!Array.isArray(g)||m||g.forEach(A=>{if(!(m||!A)){if(A.formItemFlag&&A.options&&A.options.name===a){m=A;return}Array.isArray(A.widgetList)&&e(A.widgetList),Array.isArray(A.cols)&&A.cols.forEach(C=>e(C&&C.widgetList)),Array.isArray(A.rows)&&A.rows.forEach(C=>Array.isArray(C&&C.cols)&&C.cols.forEach(_=>e(_&&_.widgetList))),Array.isArray(A.tabs)&&A.tabs.forEach(C=>e(C&&C.widgetList))}})};return e(this.widgetList),m},findWidgetAndSetHidden(a,m){let e=this.getWidgetRef(a);if(e){e.setHidden(m);return}const g=this.findFieldByName(a);if(g&&g.options){g.options.hidden=!!m,this.$nextTick(()=>{const A=this.getWidgetRef(a);A&&(m?typeof A.clearFieldRules=="function"&&A.clearFieldRules():typeof A.buildFieldRules=="function"&&A.buildFieldRules()),this.$forceUpdate()});return}this.findWidgetOfSubFormAndSetHidden(a,m)},setFieldRequired(a,m){const e=!!m,g=this.getWidgetRef(a);if(g&&typeof g.setRequired=="function")return g.setRequired(e),typeof g.buildFieldRules=="function"&&g.buildFieldRules(),!0;const A=this.findFieldByName(a);if(A&&A.options){A.options.required=e;const C=this.getWidgetRef(a);return C&&typeof C.buildFieldRules=="function"&&C.buildFieldRules(),!0}return!1},findWidgetOfSubFormAndSetHidden(a,m){this.findWidgetNameInSubForm(a).forEach(e=>{let g=this.getWidgetRef(e);g&&g.setHidden(m)})},findWidgetNameInSubForm(a){let m=[],e=null,g=(A,C)=>{!!A.options&&A.options.name===a&&(e=C.options.name)};if(traverseFieldWidgets(this.widgetList,g),e){let A=this.subFormRefList[e]||this.getWidgetRef(e);if(A){let C=typeof A.getRowIdData=="function"?A.getRowIdData():Array.isArray(A.rowIdData)?A.rowIdData:[];!!C&&C.length>0&&C.forEach(_=>{m.push(a+"@row"+_)})}}return m},changeLanguage(a){changeLocale(a)},getNativeForm(){return this.$refs.renderForm},getFormRef(){return this},getWidgetRef(a,m=!1){let e=this.widgetRefList[a];return!e&&!!m&&this.$message.error(this.i18nt("render.hint.refNotFound")+a),e},getStaticTextRef(a){if(a){const e=this.getWidgetRef(a);if(e&&e.field&&e.field.type==="static-text")return e}const m=Object.values(this.widgetRefList).filter(e=>e&&e.field&&e.field.type==="static-text");return m.length>0?m[0]:void 0},getStaticTextRefs(){return Object.values(this.widgetRefList).filter(a=>a&&a.field&&a.field.type==="static-text")},updateFieldLabel(a,m){if(!a)return!1;const e=m==null?"":String(m),g=new Set,A=[],C=u=>{!u||!u.field||!u.field.options||g.has(u)||u.field.options.name===a&&(g.add(u),A.push(u))};if(Object.keys(this.widgetRefList).forEach(u=>{u!=="v_form_ref"&&(u===a||u.startsWith(a+"@row"))&&C(this.widgetRefList[u])}),A.length>0)return A.forEach(u=>{u.field.options.label=e}),this.$forceUpdate(),!0;const _=this.getFormJson();let b=!1;const d=u=>{!Array.isArray(u)||b||u.forEach(i=>{if(!(b||!i)){if(i.options&&i.options.name===a){i.options.label=e,b=!0;return}Array.isArray(i.widgetList)&&d(i.widgetList),Array.isArray(i.cols)&&i.cols.forEach(o=>d(o&&o.widgetList)),Array.isArray(i.rows)&&i.rows.forEach(o=>Array.isArray(o&&o.cols)&&o.cols.forEach(t=>d(t&&t.widgetList))),Array.isArray(i.tabs)&&i.tabs.forEach(o=>d(o&&o.widgetList))}})};return d(_&&_.widgetList),b?(this.setFormJson(_),!0):!1},setFieldLabel(a,m){return this.updateFieldLabel(a,m)},clearFormDataModel(){for(let a in this.formDataModel)delete this.formDataModel[a]},setFormJson(a){if(a)if(typeof a=="string"||a.constructor===Object){let m=null;if(typeof a=="string"?m=JSON.parse(a):m=a,!m.formConfig||!m.widgetList){this.$message.error("Invalid format of form json.");return}this.clearFormDataModel(),this.buildFormModel(m.widgetList),this.formJsonObj.formConfig=m.formConfig,this.formJsonObj.widgetList=m.widgetList,this.insertCustomStyleAndScriptNode(),this.$nextTick(()=>{this.initFormObject(!1),this.handleOnMounted()})}else this.$message.error("Set form json failed.")},getFormJson(){return deepClone(this.formJsonObj)},reloadOptionData(a){let m=[];!!a&&typeof a=="string"?m=[a]:!!a&&Array.isArray(a)&&(m=[...a]),this.broadcast("FieldWidget","reloadOptionItems",m)},getFormData(a=!0){if(!a)return this.formDataModel;let m=function(){},e=new window.Promise(function(g,A){m=function(C,_){_?A(_):g(C)}});return this.$refs.renderForm.validate(g=>{g?(this.emitFormValidateSuccess(this.formDataModel),m(this.formDataModel)):m(this.formDataModel,this.i18nt("render.hint.validationFailed"))}),e},setFormData(a){Object.keys(this.formDataModel).forEach(m=>{!!a&&a.hasOwnProperty(m)&&(this.formDataModel[m]=deepClone(a[m]))}),this.broadcast("ContainerItem","setFormData",this.formDataModel),this.broadcast("FieldWidget","setFormData",this.formDataModel)},getFieldValue(a){let m=this.getWidgetRef(a);if(!!m&&!!m.getValue)return m.getValue();if(!m){let e=[];return this.findWidgetNameInSubForm(a).forEach(g=>{let A=this.getWidgetRef(g);!!A&&!!A.getValue&&e.push(A.getValue())}),e}},setFieldValue(a,m){let e=this.getWidgetRef(a);!!e&&!!e.setValue&&e.setValue(m),e||this.findWidgetNameInSubForm(a).forEach(g=>{let A=this.getWidgetRef(g);!!A&&!!A.setValue&&A.setValue(m)})},getSubFormValues(a,m=!0){return this.subFormRefList[a].getSubFormValues(m)},disableForm(){console.log("disableForm",this.widgetRefList),Object.keys(this.widgetRefList).forEach(m=>{let e=this.getWidgetRef(m);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(m=>{let e=this.getWidgetRef(m);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 g=this.getWidgetRef(e);!!g&&!g.subFormItemFlag&&!!g.resetField&&g.resetField()}),this.$nextTick(()=>{this.clearValidate()})},clearValidate(a){this.$refs.renderForm.clearValidate(a)},validateForm(a){this.$refs.renderForm.validate(m=>{m&&!!this.formConfig&&!!this.formConfig.onFormValidateSuccess&&this.emitFormValidateSuccess(this.formDataModel),a(m)})},emitFormValidateSuccess(a){if(!(!this.formConfig||!this.formConfig.onFormValidateSuccess))try{new Function("formData",this.formConfig.onFormValidateSuccess).call(this,a)}catch(m){console.error("onFormValidateSuccess",m)}},validateFields(){},disableWidgets(a){a&&(typeof a=="string"?this.findWidgetAndSetDisabled(a,!0):Array.isArray(a)&&a.forEach(m=>{this.findWidgetAndSetDisabled(m,!0)}))},disableFields(a){this.disableWidgets(a)},enableFields(a){this.enableWidgets(a)},enableWidgets(a){a&&(typeof a=="string"?this.findWidgetAndSetDisabled(a,!1):Array.isArray(a)&&a.forEach(m=>{this.findWidgetAndSetDisabled(m,!1)}))},hideWidgets(a){a&&(typeof a=="string"?this.findWidgetAndSetHidden(a,!0):Array.isArray(a)&&a.forEach(m=>{this.findWidgetAndSetHidden(m,!0)}))},showWidgets(a){a&&(typeof a=="string"?this.findWidgetAndSetHidden(a,!1):Array.isArray(a)&&a.forEach(m=>{this.findWidgetAndSetHidden(m,!1)}))},getFieldWidgets(){return getAllFieldWidgets(this.formJsonObj.widgetList)},getContainerWidgets(){return getAllContainerWidgets(this.formJsonObj.widgetList)},addEC(a,m){this.externalComponents[a]=m},hasEC(a){return this.externalComponents.hasOwnProperty(a)},getEC(a){return this.externalComponents[a]},getGlobalDsv(){return this.globalDsv},findColByName(a,m){const e=a!=null?a:this.formJsonObj&&this.formJsonObj.widgetList;if(!e||!m)return null;for(const g of e){if(g.type==="grid"&&g.cols&&g.cols.length){const A=g.cols.find(C=>C.options&&C.options.name===m);if(A)return A}if(g.type==="grid-col"&&g.options&&g.options.name===m)return g;if(g.widgetList&&g.widgetList.length){const A=this.findColByName(g.widgetList,m);if(A)return A}if(g.cols&&g.cols.length)for(const A of g.cols){if(A.options&&A.options.name===m)return A;if(A.widgetList&&A.widgetList.length){const C=this.findColByName(A.widgetList,m);if(C)return C}}}return null},syncFieldRulesByCol(a,m){if(!a)return;const e=!!m;traverseFieldWidgetsOfContainer(a,g=>{if(!g.formItemFlag||!g.options||!g.options.name)return;const A=this.getWidgetRef(g.options.name);!A||(e?typeof A.clearFieldRules=="function"&&A.clearFieldRules():typeof A.buildFieldRules=="function"&&A.buildFieldRules())})},setColHidden(a,m){if(Array.isArray(a)){let g=!1;return a.forEach(A=>{this.setColHidden(A,m)&&(g=!0)}),g}const e=this.findColByName(null,a);return!e||!e.options?!1:(e.options.hidden=!!m,this.syncFieldRulesByCol(e,m),this.$nextTick(()=>this.$forceUpdate()),!0)}}};function _sfc_render$w(a,m,e,g,A,C){const _=vue.resolveComponent("el-form");return vue.openBlock(),vue.createBlock(_,{"label-position":C.labelPosition,size:C.size,class:vue.normalizeClass([[C.customClass],"render-form"]),"label-width":C.labelWidth,"validate-on-rule-change":!1,model:A.formDataModel,ref:"renderForm",onSubmit:m[0]||(m[0]=vue.withModifiers(()=>{},["prevent"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(C.widgetList,(b,d)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[b.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(C.getContainerWidgetName(b)),{widget:b,key:b.id,"parent-list":C.widgetList,"index-of-parent-list":d,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),u=>({name:u,fn:vue.withCtx(i=>[vue.renderSlot(a.$slots,u,vue.mergeProps({ref_for:!0},i),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(C.getWidgetName(b)),{field:b,"form-model":A.formDataModel,designer:null,key:b.id,"parent-list":C.widgetList,"index-of-parent-list":d,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),u=>({name:u,fn:vue.withCtx(i=>[vue.renderSlot(a.$slots,u,vue.mergeProps({ref_for:!0},i),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$w,[["render",_sfc_render$w],["__scopeId","data-v-3d429201"]]);function registerIcon(a){a.component("el-icon-edit",edit),a.component("el-icon-minus",minus),a.component("el-icon-plus",plus),a.component("el-icon-info",infoFilled),a.component("el-icon-search",search),a.component("el-icon-circle-plus-outline",circlePlus),a.component("el-icon-delete",_delete),a.component("el-icon-arrow-down",arrowDown),a.component("el-icon-arrow-up",arrowUp)}if(typeof window!="undefined"){let a=function(){var m=document.body,e=document.getElementById("__svg__icons__dom__1779789161110__");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__1779789161110__",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>',m.insertBefore(e,m.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",a):a()}var iconfont="",index="";function registerCPEditor(a,m,e,g){a.component(e,g)}function registerAPEditor(a,m,e,g){a.component(e,g)}function registerEPEditor(a,m,e,g){a.component(e,g)}function _isSlot(a){return typeof a=="function"||Object.prototype.toString.call(a)==="[object Object]"&&!vue.isVNode(a)}const createInputTextEditor=function(a,m){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(m)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[a],"onUpdate:modelValue":g=>this.optionModel[a]=g},null)]})}}},createTextareaEditor=function(a,m,e={}){return{props:{optionModel:Object},render(g){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(m)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"textarea",modelValue:this.optionModel[a],"onUpdate:modelValue":A=>this.optionModel[a]=A,rows:e.rows||4,autosize:e.autosize||!1},null)]})}}},createInputNumberEditor=function(a,m){return{props:{optionModel:Object},methods:{updateValue(e){e==null||isNaN(e)?this.optionModel[a]=null:this.optionModel[a]=Number(e)}},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(m)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input-number"),{type:"text",modelValue:this.optionModel[a],"onUpdate:modelValue":g=>this.optionModel[a]=g,onChange:this.updateValue,style:"width: 100%"},null)]})}}},createBooleanEditor=function(a,m){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(m)},{default:()=>[vue.createVNode(vue.resolveComponent("el-switch"),{modelValue:this.optionModel[a],"onUpdate:modelValue":g=>this.optionModel[a]=g},null)]})}}},createRadioButtonGroupEditor=function(a,m,e){return{props:{optionModel:Object},render(g){let A;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(m)},{default:()=>[vue.createVNode(vue.resolveComponent("el-radio-group"),{modelValue:this.optionModel[a],"onUpdate:modelValue":C=>this.optionModel[a]=C},_isSlot(A=e.optionItems.map(C=>vue.createVNode(vue.resolveComponent("el-radio-button"),{label:C.value},{default:()=>[C.label]})))?A:{default:()=>[A]})]})}}},createSelectEditor=function(a,m,e){return{props:{optionModel:Object},render(g){let A;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(m)},{default:()=>[vue.createVNode(vue.resolveComponent("el-select"),{modelValue:this.optionModel[a],"onUpdate:modelValue":C=>this.optionModel[a]=C},_isSlot(A=e.optionItems.map(C=>vue.createVNode(vue.resolveComponent("el-option"),{label:C.label,value:C.value},null)))?A:{default:()=>[A]})]})}}},createEventHandlerEditor=function(a,m){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[a,[...m]])}},render(e){let g;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:a,"label-width":"150px"},{default:()=>[vue.createVNode(vue.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(g=translate("designer.setting.addEventHandler"))?g:{default:()=>[g]})]})}}};var containerMixin={inject:["getFormConfig","getGlobalDsv"],computed:{formConfig(){return this.getFormConfig()}},methods:{appendTableRow(a){this.designer.appendTableRow(a)},appendTableCol(a){this.designer.appendTableCol(a)},onContainerDragAdd(a,m){const e=a.newIndex;m[e]&&this.designer.setSelected(m[e]),this.designer.emitHistoryChange()},onContainerDragUpdate(){this.designer.emitHistoryChange()},checkContainerMove(a){return this.designer.checkWidgetMove(a)},selectWidget(a){this.designer.setSelected(a)},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(a){if(this.parentList){let m=this.designer.cloneContainer(a);this.parentList.splice(this.indexOfParentList+1,0,m),this.designer.setSelected(m),this.designer.emitHistoryChange()}},removeWidget(){if(this.parentList){const a=this.designer.selectedWidgetName;let m=null;this.parentList.length===1?this.parentWidget&&(m=this.parentWidget):this.parentList.length===1+this.indexOfParentList?m=this.parentList[this.indexOfParentList-1]:m=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(m),this.designer.formWidget.deleteWidgetRef(a),this.designer.emitHistoryChange()})}},setWidgetOption(a,m){this.widget.options.hasOwnProperty(a)&&(this.widget.options[a]=m)}}},containerWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$v={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$o={key:0,class:"container-action"},_hoisted_2$h=["title"],_hoisted_3$e=["title"],_hoisted_4$b=["title"],_hoisted_5$9=["title"],_hoisted_6$9=["title"],_hoisted_7$6=["title"],_hoisted_8$5=["title"],_hoisted_9$4={key:1,class:"drag-handler"},_hoisted_10$3=["title"],_hoisted_11$1={key:0};function _sfc_render$v(a,m,e,g,A,C){const _=vue.resolveComponent("svg-icon");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["container-wrapper",[C.customClass]])},[vue.renderSlot(a.$slots,"default",{},void 0,!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$o,[vue.createElementVNode("i",{title:a.i18nt("designer.hint.selectParentWidget"),onClick:m[0]||(m[0]=vue.withModifiers(b=>a.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(_,{"icon-class":"el-back"})],8,_hoisted_2$h),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:a.i18nt("designer.hint.moveUpWidget"),onClick:m[1]||(m[1]=vue.withModifiers(b=>a.moveUpWidget(),["stop"]))},[vue.createVNode(_,{"icon-class":"el-move-up"})],8,_hoisted_3$e)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:a.i18nt("designer.hint.moveDownWidget"),onClick:m[2]||(m[2]=vue.withModifiers(b=>a.moveDownWidget(),["stop"]))},[vue.createVNode(_,{"icon-class":"el-move-down"})],8,_hoisted_4$b)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:2,title:a.i18nt("designer.hint.insertRow"),onClick:m[3]||(m[3]=vue.withModifiers(b=>a.appendTableRow(e.widget),["stop"]))},[vue.createVNode(_,{"icon-class":"el-insert-row"})],8,_hoisted_5$9)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:3,title:a.i18nt("designer.hint.insertColumn"),onClick:m[4]||(m[4]=vue.withModifiers(b=>a.appendTableCol(e.widget),["stop"]))},[vue.createVNode(_,{"icon-class":"el-insert-column"})],8,_hoisted_6$9)):vue.createCommentVNode("",!0),e.widget.type==="grid"||e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:4,title:a.i18nt("designer.hint.cloneWidget"),onClick:m[5]||(m[5]=vue.withModifiers(b=>a.cloneContainer(e.widget),["stop"]))},[vue.createVNode(_,{"icon-class":"el-clone"})],8,_hoisted_7$6)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:a.i18nt("designer.hint.remove"),onClick:m[6]||(m[6]=vue.withModifiers((...b)=>a.removeWidget&&a.removeWidget(...b),["stop"]))},[vue.createVNode(_,{"icon-class":"el-delete"})],8,_hoisted_8$5)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$4,[vue.createElementVNode("i",{title:a.i18nt("designer.hint.dragHandler")},[vue.createVNode(_,{"icon-class":"el-drag-move"})],8,_hoisted_10$3),vue.createElementVNode("i",null,vue.toDisplayString(a.i18n2t(`designer.widgetLabel.${e.widget.type}`,`extension.widgetLabel.${e.widget.type}`)),1),e.widget.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_11$1,[vue.createVNode(_,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2)}var ContainerWrapper=_export_sfc$1(_sfc_main$v,[["render",_sfc_render$v],["__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(a,m){let e=this.refList[a];return!e&&!!m&&this.$message.error(this.i18nt("render.hint.refNotFound")+a),e},registerToRefList(a){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(a&&delete this.refList[a],this.refList[this.widget.options.name]=this)}}},cardWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$u={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:ht(ze({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(a){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(a){this.widget.options.folded=!!a}}},_hoisted_1$n={class:"label"},_hoisted_2$g={class:"form-widget-list"};function _sfc_render$u(a,m,e,g,A,C){const _=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),d=vue.resolveComponent("draggable"),u=vue.resolveComponent("el-card"),i=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(i,{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",[C.selected?"selected":"",e.widget.options.folded?"folded":"",C.customClass]]),onClick:m[2]||(m[2]=vue.withModifiers(o=>a.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:m[0]||(m[0]=(...o)=>C.toggleCard&&C.toggleCard(...o)),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(_)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$n,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:m[1]||(m[1]=o=>a.onContainerDragAdd(o,e.widget.widgetList)),onUpdate:a.onContainerDragUpdate,move:C.checkContainerMove}),{item:vue.withCtx(({element:o,index:t})=>[vue.createElementVNode("div",_hoisted_2$g,[o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{widget:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{field:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"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$u,[["render",_sfc_render$u],["__scopeId","data-v-2c3be1b8"]]),cardItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$t={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:ht(ze({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$m={class:"label"};function _sfc_render$t(a,m,e,g,A,C){const _=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":"",C.customClass]]),ref:e.widget.id,shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:m[0]||(m[0]=(...i)=>C.toggleCard&&C.toggleCard(...i)),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(_)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$m,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,(i,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(a.getComponentByContainer(i)),{widget:i,key:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),t=>({name:t,fn:vue.withCtx(r=>[vue.renderSlot(a.$slots,t,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(i.type+"-widget"),{field:i,designer:null,key:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),t=>({name:t,fn:vue.withCtx(r=>[vue.renderSlot(a.$slots,t,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$t,[["render",_sfc_render$t],["__scopeId","data-v-2f0daae4"]]);const ACE_BASE_PATH="https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini",_sfc_main$s={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$s(a,m,e,g,A,C){const _=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(_,{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:C.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$s,[["render",_sfc_render$s]]),cryptoJs={exports:{}},core={exports:{}};(function(a,m){(function(e,g){a.exports=g()})(commonjsGlobal,function(){var e=e||function(g,A){var C;if(typeof window!="undefined"&&window.crypto&&(C=window.crypto),typeof self!="undefined"&&self.crypto&&(C=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(C=globalThis.crypto),!C&&typeof window!="undefined"&&window.msCrypto&&(C=window.msCrypto),!C&&typeof commonjsGlobal!="undefined"&&commonjsGlobal.crypto&&(C=commonjsGlobal.crypto),!C&&typeof commonjsRequire=="function")try{C=require("crypto")}catch{}var _=function(){if(C){if(typeof C.getRandomValues=="function")try{return C.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof C.randomBytes=="function")try{return C.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},b=Object.create||function(){function f(){}return function(w){var p;return f.prototype=w,p=new f,f.prototype=null,p}}(),d={},u=d.lib={},i=u.Base=function(){return{extend:function(f){var w=b(this);return f&&w.mixIn(f),(!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 f=this.extend();return f.init.apply(f,arguments),f},init:function(){},mixIn:function(f){for(var w in f)f.hasOwnProperty(w)&&(this[w]=f[w]);f.hasOwnProperty("toString")&&(this.toString=f.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),o=u.WordArray=i.extend({init:function(f,w){f=this.words=f||[],w!=A?this.sigBytes=w:this.sigBytes=f.length*4},toString:function(f){return(f||r).stringify(this)},concat:function(f){var w=this.words,p=f.words,y=this.sigBytes,v=f.sigBytes;if(this.clamp(),y%4)for(var M=0;M<v;M++){var D=p[M>>>2]>>>24-M%4*8&255;w[y+M>>>2]|=D<<24-(y+M)%4*8}else for(var L=0;L<v;L+=4)w[y+L>>>2]=p[L>>>2];return this.sigBytes+=v,this},clamp:function(){var f=this.words,w=this.sigBytes;f[w>>>2]&=4294967295<<32-w%4*8,f.length=g.ceil(w/4)},clone:function(){var f=i.clone.call(this);return f.words=this.words.slice(0),f},random:function(f){for(var w=[],p=0;p<f;p+=4)w.push(_());return new o.init(w,f)}}),t=d.enc={},r=t.Hex={stringify:function(f){for(var w=f.words,p=f.sigBytes,y=[],v=0;v<p;v++){var M=w[v>>>2]>>>24-v%4*8&255;y.push((M>>>4).toString(16)),y.push((M&15).toString(16))}return y.join("")},parse:function(f){for(var w=f.length,p=[],y=0;y<w;y+=2)p[y>>>3]|=parseInt(f.substr(y,2),16)<<24-y%8*4;return new o.init(p,w/2)}},n=t.Latin1={stringify:function(f){for(var w=f.words,p=f.sigBytes,y=[],v=0;v<p;v++){var M=w[v>>>2]>>>24-v%4*8&255;y.push(String.fromCharCode(M))}return y.join("")},parse:function(f){for(var w=f.length,p=[],y=0;y<w;y++)p[y>>>2]|=(f.charCodeAt(y)&255)<<24-y%4*8;return new o.init(p,w)}},s=t.Utf8={stringify:function(f){try{return decodeURIComponent(escape(n.stringify(f)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(f){return n.parse(unescape(encodeURIComponent(f)))}},l=u.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(f){typeof f=="string"&&(f=s.parse(f)),this._data.concat(f),this._nDataBytes+=f.sigBytes},_process:function(f){var w,p=this._data,y=p.words,v=p.sigBytes,M=this.blockSize,D=M*4,L=v/D;f?L=g.ceil(L):L=g.max((L|0)-this._minBufferSize,0);var S=L*M,N=g.min(S*4,v);if(S){for(var k=0;k<S;k+=M)this._doProcessBlock(y,k);w=y.splice(0,S),p.sigBytes-=N}return new o.init(w,N)},clone:function(){var f=i.clone.call(this);return f._data=this._data.clone(),f},_minBufferSize:0});u.Hasher=l.extend({cfg:i.extend(),init:function(f){this.cfg=this.cfg.extend(f),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(f){return this._append(f),this._process(),this},finalize:function(f){f&&this._append(f);var w=this._doFinalize();return w},blockSize:512/32,_createHelper:function(f){return function(w,p){return new f.init(p).finalize(w)}},_createHmacHelper:function(f){return function(w,p){return new h.HMAC.init(f,p).finalize(w)}}});var h=d.algo={};return d}(Math);return e})})(core);var x64Core={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(g){var A=e,C=A.lib,_=C.Base,b=C.WordArray,d=A.x64={};d.Word=_.extend({init:function(u,i){this.high=u,this.low=i}}),d.WordArray=_.extend({init:function(u,i){u=this.words=u||[],i!=g?this.sigBytes=i:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,i=u.length,o=[],t=0;t<i;t++){var r=u[t];o.push(r.high),o.push(r.low)}return b.create(o,this.sigBytes)},clone:function(){for(var u=_.clone.call(this),i=u.words=this.words.slice(0),o=i.length,t=0;t<o;t++)i[t]=i[t].clone();return u}})}(),e})})(x64Core);var libTypedarrays={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){if(typeof ArrayBuffer=="function"){var g=e,A=g.lib,C=A.WordArray,_=C.init,b=C.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,i=[],o=0;o<u;o++)i[o>>>2]|=d[o]<<24-o%4*8;_.call(this,i,u)}else _.apply(this,arguments)};b.prototype=C}}(),e.lib.WordArray})})(libTypedarrays);var encUtf16={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.WordArray,_=g.enc;_.Utf16=_.Utf16BE={stringify:function(d){for(var u=d.words,i=d.sigBytes,o=[],t=0;t<i;t+=2){var r=u[t>>>2]>>>16-t%4*8&65535;o.push(String.fromCharCode(r))}return o.join("")},parse:function(d){for(var u=d.length,i=[],o=0;o<u;o++)i[o>>>1]|=d.charCodeAt(o)<<16-o%2*16;return C.create(i,u*2)}},_.Utf16LE={stringify:function(d){for(var u=d.words,i=d.sigBytes,o=[],t=0;t<i;t+=2){var r=b(u[t>>>2]>>>16-t%4*8&65535);o.push(String.fromCharCode(r))}return o.join("")},parse:function(d){for(var u=d.length,i=[],o=0;o<u;o++)i[o>>>1]|=b(d.charCodeAt(o)<<16-o%2*16);return C.create(i,u*2)}};function b(d){return d<<8&4278255360|d>>>8&16711935}}(),e.enc.Utf16})})(encUtf16);var encBase64={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.WordArray,_=g.enc;_.Base64={stringify:function(d){var u=d.words,i=d.sigBytes,o=this._map;d.clamp();for(var t=[],r=0;r<i;r+=3)for(var n=u[r>>>2]>>>24-r%4*8&255,s=u[r+1>>>2]>>>24-(r+1)%4*8&255,l=u[r+2>>>2]>>>24-(r+2)%4*8&255,h=n<<16|s<<8|l,f=0;f<4&&r+f*.75<i;f++)t.push(o.charAt(h>>>6*(3-f)&63));var w=o.charAt(64);if(w)for(;t.length%4;)t.push(w);return t.join("")},parse:function(d){var u=d.length,i=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var t=0;t<i.length;t++)o[i.charCodeAt(t)]=t}var r=i.charAt(64);if(r){var n=d.indexOf(r);n!==-1&&(u=n)}return b(d,u,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function b(d,u,i){for(var o=[],t=0,r=0;r<u;r++)if(r%4){var n=i[d.charCodeAt(r-1)]<<r%4*2,s=i[d.charCodeAt(r)]>>>6-r%4*2,l=n|s;o[t>>>2]|=l<<24-t%4*8,t++}return C.create(o,t)}}(),e.enc.Base64})})(encBase64);var encBase64url={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.WordArray,_=g.enc;_.Base64url={stringify:function(d,u){u===void 0&&(u=!0);var i=d.words,o=d.sigBytes,t=u?this._safe_map:this._map;d.clamp();for(var r=[],n=0;n<o;n+=3)for(var s=i[n>>>2]>>>24-n%4*8&255,l=i[n+1>>>2]>>>24-(n+1)%4*8&255,h=i[n+2>>>2]>>>24-(n+2)%4*8&255,f=s<<16|l<<8|h,w=0;w<4&&n+w*.75<o;w++)r.push(t.charAt(f>>>6*(3-w)&63));var p=t.charAt(64);if(p)for(;r.length%4;)r.push(p);return r.join("")},parse:function(d,u){u===void 0&&(u=!0);var i=d.length,o=u?this._safe_map:this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var r=0;r<o.length;r++)t[o.charCodeAt(r)]=r}var n=o.charAt(64);if(n){var s=d.indexOf(n);s!==-1&&(i=s)}return b(d,i,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function b(d,u,i){for(var o=[],t=0,r=0;r<u;r++)if(r%4){var n=i[d.charCodeAt(r-1)]<<r%4*2,s=i[d.charCodeAt(r)]>>>6-r%4*2,l=n|s;o[t>>>2]|=l<<24-t%4*8,t++}return C.create(o,t)}}(),e.enc.Base64url})})(encBase64url);var md5={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(g){var A=e,C=A.lib,_=C.WordArray,b=C.Hasher,d=A.algo,u=[];(function(){for(var s=0;s<64;s++)u[s]=g.abs(g.sin(s+1))*4294967296|0})();var i=d.MD5=b.extend({_doReset:function(){this._hash=new _.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(s,l){for(var h=0;h<16;h++){var f=l+h,w=s[f];s[f]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var p=this._hash.words,y=s[l+0],v=s[l+1],M=s[l+2],D=s[l+3],L=s[l+4],S=s[l+5],N=s[l+6],k=s[l+7],T=s[l+8],E=s[l+9],I=s[l+10],F=s[l+11],O=s[l+12],z=s[l+13],W=s[l+14],j=s[l+15],B=p[0],$=p[1],P=p[2],H=p[3];B=o(B,$,P,H,y,7,u[0]),H=o(H,B,$,P,v,12,u[1]),P=o(P,H,B,$,M,17,u[2]),$=o($,P,H,B,D,22,u[3]),B=o(B,$,P,H,L,7,u[4]),H=o(H,B,$,P,S,12,u[5]),P=o(P,H,B,$,N,17,u[6]),$=o($,P,H,B,k,22,u[7]),B=o(B,$,P,H,T,7,u[8]),H=o(H,B,$,P,E,12,u[9]),P=o(P,H,B,$,I,17,u[10]),$=o($,P,H,B,F,22,u[11]),B=o(B,$,P,H,O,7,u[12]),H=o(H,B,$,P,z,12,u[13]),P=o(P,H,B,$,W,17,u[14]),$=o($,P,H,B,j,22,u[15]),B=t(B,$,P,H,v,5,u[16]),H=t(H,B,$,P,N,9,u[17]),P=t(P,H,B,$,F,14,u[18]),$=t($,P,H,B,y,20,u[19]),B=t(B,$,P,H,S,5,u[20]),H=t(H,B,$,P,I,9,u[21]),P=t(P,H,B,$,j,14,u[22]),$=t($,P,H,B,L,20,u[23]),B=t(B,$,P,H,E,5,u[24]),H=t(H,B,$,P,W,9,u[25]),P=t(P,H,B,$,D,14,u[26]),$=t($,P,H,B,T,20,u[27]),B=t(B,$,P,H,z,5,u[28]),H=t(H,B,$,P,M,9,u[29]),P=t(P,H,B,$,k,14,u[30]),$=t($,P,H,B,O,20,u[31]),B=r(B,$,P,H,S,4,u[32]),H=r(H,B,$,P,T,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,v,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,z,4,u[40]),H=r(H,B,$,P,y,11,u[41]),P=r(P,H,B,$,D,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=n(B,$,P,H,y,6,u[48]),H=n(H,B,$,P,k,10,u[49]),P=n(P,H,B,$,W,15,u[50]),$=n($,P,H,B,S,21,u[51]),B=n(B,$,P,H,O,6,u[52]),H=n(H,B,$,P,D,10,u[53]),P=n(P,H,B,$,I,15,u[54]),$=n($,P,H,B,v,21,u[55]),B=n(B,$,P,H,T,6,u[56]),H=n(H,B,$,P,j,10,u[57]),P=n(P,H,B,$,N,15,u[58]),$=n($,P,H,B,z,21,u[59]),B=n(B,$,P,H,L,6,u[60]),H=n(H,B,$,P,F,10,u[61]),P=n(P,H,B,$,M,15,u[62]),$=n($,P,H,B,E,21,u[63]),p[0]=p[0]+B|0,p[1]=p[1]+$|0,p[2]=p[2]+P|0,p[3]=p[3]+H|0},_doFinalize:function(){var s=this._data,l=s.words,h=this._nDataBytes*8,f=s.sigBytes*8;l[f>>>5]|=128<<24-f%32;var w=g.floor(h/4294967296),p=h;l[(f+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,l[(f+64>>>9<<4)+14]=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,s.sigBytes=(l.length+1)*4,this._process();for(var y=this._hash,v=y.words,M=0;M<4;M++){var D=v[M];v[M]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return y},clone:function(){var s=b.clone.call(this);return s._hash=this._hash.clone(),s}});function o(s,l,h,f,w,p,y){var v=s+(l&h|~l&f)+w+y;return(v<<p|v>>>32-p)+l}function t(s,l,h,f,w,p,y){var v=s+(l&f|h&~f)+w+y;return(v<<p|v>>>32-p)+l}function r(s,l,h,f,w,p,y){var v=s+(l^h^f)+w+y;return(v<<p|v>>>32-p)+l}function n(s,l,h,f,w,p,y){var v=s+(h^(l|~f))+w+y;return(v<<p|v>>>32-p)+l}A.MD5=b._createHelper(i),A.HmacMD5=b._createHmacHelper(i)}(Math),e.MD5})})(md5);var sha1={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.WordArray,_=A.Hasher,b=g.algo,d=[],u=b.SHA1=_.extend({_doReset:function(){this._hash=new C.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(i,o){for(var t=this._hash.words,r=t[0],n=t[1],s=t[2],l=t[3],h=t[4],f=0;f<80;f++){if(f<16)d[f]=i[o+f]|0;else{var w=d[f-3]^d[f-8]^d[f-14]^d[f-16];d[f]=w<<1|w>>>31}var p=(r<<5|r>>>27)+h+d[f];f<20?p+=(n&s|~n&l)+1518500249:f<40?p+=(n^s^l)+1859775393:f<60?p+=(n&s|n&l|s&l)-1894007588:p+=(n^s^l)-899497514,h=l,l=s,s=n<<30|n>>>2,n=r,r=p}t[0]=t[0]+r|0,t[1]=t[1]+n|0,t[2]=t[2]+s|0,t[3]=t[3]+l|0,t[4]=t[4]+h|0},_doFinalize:function(){var i=this._data,o=i.words,t=this._nDataBytes*8,r=i.sigBytes*8;return o[r>>>5]|=128<<24-r%32,o[(r+64>>>9<<4)+14]=Math.floor(t/4294967296),o[(r+64>>>9<<4)+15]=t,i.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var i=_.clone.call(this);return i._hash=this._hash.clone(),i}});g.SHA1=_._createHelper(u),g.HmacSHA1=_._createHmacHelper(u)}(),e.SHA1})})(sha1);var sha256={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(g){var A=e,C=A.lib,_=C.WordArray,b=C.Hasher,d=A.algo,u=[],i=[];(function(){function r(h){for(var f=g.sqrt(h),w=2;w<=f;w++)if(!(h%w))return!1;return!0}function n(h){return(h-(h|0))*4294967296|0}for(var s=2,l=0;l<64;)r(s)&&(l<8&&(u[l]=n(g.pow(s,1/2))),i[l]=n(g.pow(s,1/3)),l++),s++})();var o=[],t=d.SHA256=b.extend({_doReset:function(){this._hash=new _.init(u.slice(0))},_doProcessBlock:function(r,n){for(var s=this._hash.words,l=s[0],h=s[1],f=s[2],w=s[3],p=s[4],y=s[5],v=s[6],M=s[7],D=0;D<64;D++){if(D<16)o[D]=r[n+D]|0;else{var L=o[D-15],S=(L<<25|L>>>7)^(L<<14|L>>>18)^L>>>3,N=o[D-2],k=(N<<15|N>>>17)^(N<<13|N>>>19)^N>>>10;o[D]=S+o[D-7]+k+o[D-16]}var T=p&y^~p&v,E=l&h^l&f^h&f,I=(l<<30|l>>>2)^(l<<19|l>>>13)^(l<<10|l>>>22),F=(p<<26|p>>>6)^(p<<21|p>>>11)^(p<<7|p>>>25),O=M+F+T+i[D]+o[D],z=I+E;M=v,v=y,y=p,p=w+O|0,w=f,f=h,h=l,l=O+z|0}s[0]=s[0]+l|0,s[1]=s[1]+h|0,s[2]=s[2]+f|0,s[3]=s[3]+w|0,s[4]=s[4]+p|0,s[5]=s[5]+y|0,s[6]=s[6]+v|0,s[7]=s[7]+M|0},_doFinalize:function(){var r=this._data,n=r.words,s=this._nDataBytes*8,l=r.sigBytes*8;return n[l>>>5]|=128<<24-l%32,n[(l+64>>>9<<4)+14]=g.floor(s/4294967296),n[(l+64>>>9<<4)+15]=s,r.sigBytes=n.length*4,this._process(),this._hash},clone:function(){var r=b.clone.call(this);return r._hash=this._hash.clone(),r}});A.SHA256=b._createHelper(t),A.HmacSHA256=b._createHmacHelper(t)}(Math),e.SHA256})})(sha256);var sha224={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,sha256.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.WordArray,_=g.algo,b=_.SHA256,d=_.SHA224=b.extend({_doReset:function(){this._hash=new C.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=b._doFinalize.call(this);return u.sigBytes-=4,u}});g.SHA224=b._createHelper(d),g.HmacSHA224=b._createHmacHelper(d)}(),e.SHA224})})(sha224);var sha512={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.Hasher,_=g.x64,b=_.Word,d=_.WordArray,u=g.algo;function i(){return b.create.apply(b,arguments)}var o=[i(1116352408,3609767458),i(1899447441,602891725),i(3049323471,3964484399),i(3921009573,2173295548),i(961987163,4081628472),i(1508970993,3053834265),i(2453635748,2937671579),i(2870763221,3664609560),i(3624381080,2734883394),i(310598401,1164996542),i(607225278,1323610764),i(1426881987,3590304994),i(1925078388,4068182383),i(2162078206,991336113),i(2614888103,633803317),i(3248222580,3479774868),i(3835390401,2666613458),i(4022224774,944711139),i(264347078,2341262773),i(604807628,2007800933),i(770255983,1495990901),i(1249150122,1856431235),i(1555081692,3175218132),i(1996064986,2198950837),i(2554220882,3999719339),i(2821834349,766784016),i(2952996808,2566594879),i(3210313671,3203337956),i(3336571891,1034457026),i(3584528711,2466948901),i(113926993,3758326383),i(338241895,168717936),i(666307205,1188179964),i(773529912,1546045734),i(1294757372,1522805485),i(1396182291,2643833823),i(1695183700,2343527390),i(1986661051,1014477480),i(2177026350,1206759142),i(2456956037,344077627),i(2730485921,1290863460),i(2820302411,3158454273),i(3259730800,3505952657),i(3345764771,106217008),i(3516065817,3606008344),i(3600352804,1432725776),i(4094571909,1467031594),i(275423344,851169720),i(430227734,3100823752),i(506948616,1363258195),i(659060556,3750685593),i(883997877,3785050280),i(958139571,3318307427),i(1322822218,3812723403),i(1537002063,2003034995),i(1747873779,3602036899),i(1955562222,1575990012),i(2024104815,1125592928),i(2227730452,2716904306),i(2361852424,442776044),i(2428436474,593698344),i(2756734187,3733110249),i(3204031479,2999351573),i(3329325298,3815920427),i(3391569614,3928383900),i(3515267271,566280711),i(3940187606,3454069534),i(4118630271,4000239992),i(116418474,1914138554),i(174292421,2731055270),i(289380356,3203993006),i(460393269,320620315),i(685471733,587496836),i(852142971,1086792851),i(1017036298,365543100),i(1126000580,2618297676),i(1288033470,3409855158),i(1501505948,4234509866),i(1607167915,987167468),i(1816402316,1246189591)],t=[];(function(){for(var n=0;n<80;n++)t[n]=i()})();var r=u.SHA512=C.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(n,s){for(var l=this._hash.words,h=l[0],f=l[1],w=l[2],p=l[3],y=l[4],v=l[5],M=l[6],D=l[7],L=h.high,S=h.low,N=f.high,k=f.low,T=w.high,E=w.low,I=p.high,F=p.low,O=y.high,z=y.low,W=v.high,j=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ue>>>0?1:0),nn=Xi+Zn,Xn=Kn+qn+(nn>>>0<Xi>>>0?1:0);le=Ne,pe=oe,Ne=xe,oe=Be,xe=me,Be=ve,ve=ge+lt|0,me=se+At+(ve>>>0<ge>>>0?1:0)|0,se=J,ge=te,J=q,te=Y,q=G,Y=U,U=lt+nn|0,G=At+Xn+(U>>>0<lt>>>0?1:0)|0}S=h.low=S+U,h.high=L+G+(S>>>0<U>>>0?1:0),k=f.low=k+Y,f.high=N+q+(k>>>0<Y>>>0?1:0),E=w.low=E+te,w.high=T+J+(E>>>0<te>>>0?1:0),F=p.low=F+ge,p.high=I+se+(F>>>0<ge>>>0?1:0),z=y.low=z+ve,y.high=O+me+(z>>>0<ve>>>0?1:0),j=v.low=j+Be,v.high=W+xe+(j>>>0<Be>>>0?1:0),$=M.low=$+oe,M.high=B+Ne+($>>>0<oe>>>0?1:0),H=D.low=H+pe,D.high=P+le+(H>>>0<pe>>>0?1:0)},_doFinalize:function(){var n=this._data,s=n.words,l=this._nDataBytes*8,h=n.sigBytes*8;s[h>>>5]|=128<<24-h%32,s[(h+128>>>10<<5)+30]=Math.floor(l/4294967296),s[(h+128>>>10<<5)+31]=l,n.sigBytes=s.length*4,this._process();var f=this._hash.toX32();return f},clone:function(){var n=C.clone.call(this);return n._hash=this._hash.clone(),n},blockSize:1024/32});g.SHA512=C._createHelper(r),g.HmacSHA512=C._createHmacHelper(r)}(),e.SHA512})})(sha512);var sha384={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,x64Core.exports,sha512.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.x64,C=A.Word,_=A.WordArray,b=g.algo,d=b.SHA512,u=b.SHA384=d.extend({_doReset:function(){this._hash=new _.init([new C.init(3418070365,3238371032),new C.init(1654270250,914150663),new C.init(2438529370,812702999),new C.init(355462360,4144912697),new C.init(1731405415,4290775857),new C.init(2394180231,1750603025),new C.init(3675008525,1694076839),new C.init(1203062813,3204075428)])},_doFinalize:function(){var i=d._doFinalize.call(this);return i.sigBytes-=16,i}});g.SHA384=d._createHelper(u),g.HmacSHA384=d._createHmacHelper(u)}(),e.SHA384})})(sha384);var sha3={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(g){var A=e,C=A.lib,_=C.WordArray,b=C.Hasher,d=A.x64,u=d.Word,i=A.algo,o=[],t=[],r=[];(function(){for(var l=1,h=0,f=0;f<24;f++){o[l+5*h]=(f+1)*(f+2)/2%64;var w=h%5,p=(2*l+3*h)%5;l=w,h=p}for(var l=0;l<5;l++)for(var h=0;h<5;h++)t[l+5*h]=h+(2*l+3*h)%5*5;for(var y=1,v=0;v<24;v++){for(var M=0,D=0,L=0;L<7;L++){if(y&1){var S=(1<<L)-1;S<32?D^=1<<S:M^=1<<S-32}y&128?y=y<<1^113:y<<=1}r[v]=u.create(M,D)}})();var n=[];(function(){for(var l=0;l<25;l++)n[l]=u.create()})();var s=i.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 f=this._state,w=this.blockSize/2,p=0;p<w;p++){var y=l[h+2*p],v=l[h+2*p+1];y=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360;var M=f[p];M.high^=v,M.low^=y}for(var D=0;D<24;D++){for(var L=0;L<5;L++){for(var S=0,N=0,k=0;k<5;k++){var M=f[L+5*k];S^=M.high,N^=M.low}var T=n[L];T.high=S,T.low=N}for(var L=0;L<5;L++)for(var E=n[(L+4)%5],I=n[(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=f[L+5*k];M.high^=S,M.low^=N}for(var z=1;z<25;z++){var S,N,M=f[z],W=M.high,j=M.low,B=o[z];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 $=n[t[z]];$.high=S,$.low=N}var P=n[0],H=f[0];P.high=H.high,P.low=H.low;for(var L=0;L<5;L++)for(var k=0;k<5;k++){var z=L+5*k,M=f[z],G=n[z],U=n[(L+1)%5+5*k],q=n[(L+2)%5+5*k];M.high=G.high^~U.high&q.high,M.low=G.low^~U.low&q.low}var M=f[0],Y=r[D];M.high^=Y.high,M.low^=Y.low}},_doFinalize:function(){var l=this._data,h=l.words;this._nDataBytes*8;var f=l.sigBytes*8,w=this.blockSize*32;h[f>>>5]|=1<<24-f%32,h[(g.ceil((f+1)/w)*w>>>5)-1]|=128,l.sigBytes=h.length*4,this._process();for(var p=this._state,y=this.cfg.outputLength/8,v=y/8,M=[],D=0;D<v;D++){var L=p[D],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 _.init(M,y)},clone:function(){for(var l=b.clone.call(this),h=l._state=this._state.slice(0),f=0;f<25;f++)h[f]=h[f].clone();return l}});A.SHA3=b._createHelper(s),A.HmacSHA3=b._createHmacHelper(s)}(Math),e.SHA3})})(sha3);var ripemd160={exports:{}};(function(a,m){(function(e,g){a.exports=g(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 g=this.getWidgetRef(e);!!g&&!g.subFormItemFlag&&!!g.resetField&&g.resetField()}),this.$nextTick(()=>{this.clearValidate()})},clearValidate(a){this.$refs.renderForm.clearValidate(a)},validateForm(a){this.$refs.renderForm.validate(m=>{m&&!!this.formConfig&&!!this.formConfig.onFormValidateSuccess&&this.emitFormValidateSuccess(this.formDataModel),a(m)})},emitFormValidateSuccess(a){if(!(!this.formConfig||!this.formConfig.onFormValidateSuccess))try{new Function("formData",this.formConfig.onFormValidateSuccess).call(this,a)}catch(m){console.error("onFormValidateSuccess",m)}},validateFields(){},disableWidgets(a){a&&(typeof a=="string"?this.findWidgetAndSetDisabled(a,!0):Array.isArray(a)&&a.forEach(m=>{this.findWidgetAndSetDisabled(m,!0)}))},disableFields(a){this.disableWidgets(a)},enableFields(a){this.enableWidgets(a)},enableWidgets(a){a&&(typeof a=="string"?this.findWidgetAndSetDisabled(a,!1):Array.isArray(a)&&a.forEach(m=>{this.findWidgetAndSetDisabled(m,!1)}))},hideWidgets(a){a&&(typeof a=="string"?this.findWidgetAndSetHidden(a,!0):Array.isArray(a)&&a.forEach(m=>{this.findWidgetAndSetHidden(m,!0)}))},showWidgets(a){a&&(typeof a=="string"?this.findWidgetAndSetHidden(a,!1):Array.isArray(a)&&a.forEach(m=>{this.findWidgetAndSetHidden(m,!1)}))},getFieldWidgets(){return getAllFieldWidgets(this.formJsonObj.widgetList)},getContainerWidgets(){return getAllContainerWidgets(this.formJsonObj.widgetList)},addEC(a,m){this.externalComponents[a]=m},hasEC(a){return this.externalComponents.hasOwnProperty(a)},getEC(a){return this.externalComponents[a]},getGlobalDsv(){return this.globalDsv},findColByName(a,m){const e=a!=null?a:this.formJsonObj&&this.formJsonObj.widgetList;if(!e||!m)return null;for(const g of e){if(g.type==="grid"&&g.cols&&g.cols.length){const A=g.cols.find(C=>C.options&&C.options.name===m);if(A)return A}if(g.type==="grid-col"&&g.options&&g.options.name===m)return g;if(g.widgetList&&g.widgetList.length){const A=this.findColByName(g.widgetList,m);if(A)return A}if(g.cols&&g.cols.length)for(const A of g.cols){if(A.options&&A.options.name===m)return A;if(A.widgetList&&A.widgetList.length){const C=this.findColByName(A.widgetList,m);if(C)return C}}}return null},syncFieldRulesByCol(a,m){if(!a)return;const e=!!m;traverseFieldWidgetsOfContainer(a,g=>{if(!g.formItemFlag||!g.options||!g.options.name)return;const A=this.getWidgetRef(g.options.name);!A||(e?typeof A.clearFieldRules=="function"&&A.clearFieldRules():typeof A.buildFieldRules=="function"&&A.buildFieldRules())})},setColHidden(a,m){if(Array.isArray(a)){let g=!1;return a.forEach(A=>{this.setColHidden(A,m)&&(g=!0)}),g}const e=this.findColByName(null,a);return!e||!e.options?!1:(e.options.hidden=!!m,this.syncFieldRulesByCol(e,m),this.$nextTick(()=>this.$forceUpdate()),!0)}}};function _sfc_render$w(a,m,e,g,A,C){const _=vue.resolveComponent("el-form");return vue.openBlock(),vue.createBlock(_,{"label-position":C.labelPosition,size:C.size,class:vue.normalizeClass([[C.customClass],"render-form"]),"label-width":C.labelWidth,"validate-on-rule-change":!1,model:A.formDataModel,ref:"renderForm",onSubmit:m[0]||(m[0]=vue.withModifiers(()=>{},["prevent"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(C.widgetList,(b,d)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[b.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(C.getContainerWidgetName(b)),{widget:b,key:b.id,"parent-list":C.widgetList,"index-of-parent-list":d,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),u=>({name:u,fn:vue.withCtx(i=>[vue.renderSlot(a.$slots,u,vue.mergeProps({ref_for:!0},i),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(C.getWidgetName(b)),{field:b,"form-model":A.formDataModel,designer:null,key:b.id,"parent-list":C.widgetList,"index-of-parent-list":d,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),u=>({name:u,fn:vue.withCtx(i=>[vue.renderSlot(a.$slots,u,vue.mergeProps({ref_for:!0},i),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$w,[["render",_sfc_render$w],["__scopeId","data-v-3d429201"]]);function registerIcon(a){a.component("el-icon-edit",edit),a.component("el-icon-minus",minus),a.component("el-icon-plus",plus),a.component("el-icon-info",infoFilled),a.component("el-icon-search",search),a.component("el-icon-circle-plus-outline",circlePlus),a.component("el-icon-delete",_delete),a.component("el-icon-arrow-down",arrowDown),a.component("el-icon-arrow-up",arrowUp)}if(typeof window!="undefined"){let a=function(){var m=document.body,e=document.getElementById("__svg__icons__dom__1779789551186__");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__1779789551186__",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>',m.insertBefore(e,m.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",a):a()}var iconfont="",index="";function registerCPEditor(a,m,e,g){a.component(e,g)}function registerAPEditor(a,m,e,g){a.component(e,g)}function registerEPEditor(a,m,e,g){a.component(e,g)}function _isSlot(a){return typeof a=="function"||Object.prototype.toString.call(a)==="[object Object]"&&!vue.isVNode(a)}const createInputTextEditor=function(a,m){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(m)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[a],"onUpdate:modelValue":g=>this.optionModel[a]=g},null)]})}}},createTextareaEditor=function(a,m,e={}){return{props:{optionModel:Object},render(g){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(m)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"textarea",modelValue:this.optionModel[a],"onUpdate:modelValue":A=>this.optionModel[a]=A,rows:e.rows||4,autosize:e.autosize||!1},null)]})}}},createInputNumberEditor=function(a,m){return{props:{optionModel:Object},methods:{updateValue(e){e==null||isNaN(e)?this.optionModel[a]=null:this.optionModel[a]=Number(e)}},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(m)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input-number"),{type:"text",modelValue:this.optionModel[a],"onUpdate:modelValue":g=>this.optionModel[a]=g,onChange:this.updateValue,style:"width: 100%"},null)]})}}},createBooleanEditor=function(a,m){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(m)},{default:()=>[vue.createVNode(vue.resolveComponent("el-switch"),{modelValue:this.optionModel[a],"onUpdate:modelValue":g=>this.optionModel[a]=g},null)]})}}},createRadioButtonGroupEditor=function(a,m,e){return{props:{optionModel:Object},render(g){let A;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(m)},{default:()=>[vue.createVNode(vue.resolveComponent("el-radio-group"),{modelValue:this.optionModel[a],"onUpdate:modelValue":C=>this.optionModel[a]=C},_isSlot(A=e.optionItems.map(C=>vue.createVNode(vue.resolveComponent("el-radio-button"),{label:C.value},{default:()=>[C.label]})))?A:{default:()=>[A]})]})}}},createSelectEditor=function(a,m,e){return{props:{optionModel:Object},render(g){let A;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(m)},{default:()=>[vue.createVNode(vue.resolveComponent("el-select"),{modelValue:this.optionModel[a],"onUpdate:modelValue":C=>this.optionModel[a]=C},_isSlot(A=e.optionItems.map(C=>vue.createVNode(vue.resolveComponent("el-option"),{label:C.label,value:C.value},null)))?A:{default:()=>[A]})]})}}},createEventHandlerEditor=function(a,m){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[a,[...m]])}},render(e){let g;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:a,"label-width":"150px"},{default:()=>[vue.createVNode(vue.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(g=translate("designer.setting.addEventHandler"))?g:{default:()=>[g]})]})}}};var containerMixin={inject:["getFormConfig","getGlobalDsv"],computed:{formConfig(){return this.getFormConfig()}},methods:{appendTableRow(a){this.designer.appendTableRow(a)},appendTableCol(a){this.designer.appendTableCol(a)},onContainerDragAdd(a,m){const e=a.newIndex;m[e]&&this.designer.setSelected(m[e]),this.designer.emitHistoryChange()},onContainerDragUpdate(){this.designer.emitHistoryChange()},checkContainerMove(a){return this.designer.checkWidgetMove(a)},selectWidget(a){this.designer.setSelected(a)},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(a){if(this.parentList){let m=this.designer.cloneContainer(a);this.parentList.splice(this.indexOfParentList+1,0,m),this.designer.setSelected(m),this.designer.emitHistoryChange()}},removeWidget(){if(this.parentList){const a=this.designer.selectedWidgetName;let m=null;this.parentList.length===1?this.parentWidget&&(m=this.parentWidget):this.parentList.length===1+this.indexOfParentList?m=this.parentList[this.indexOfParentList-1]:m=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(m),this.designer.formWidget.deleteWidgetRef(a),this.designer.emitHistoryChange()})}},setWidgetOption(a,m){this.widget.options.hasOwnProperty(a)&&(this.widget.options[a]=m)}}},containerWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$v={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$o={key:0,class:"container-action"},_hoisted_2$h=["title"],_hoisted_3$e=["title"],_hoisted_4$b=["title"],_hoisted_5$9=["title"],_hoisted_6$9=["title"],_hoisted_7$6=["title"],_hoisted_8$5=["title"],_hoisted_9$4={key:1,class:"drag-handler"},_hoisted_10$3=["title"],_hoisted_11$1={key:0};function _sfc_render$v(a,m,e,g,A,C){const _=vue.resolveComponent("svg-icon");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["container-wrapper",[C.customClass]])},[vue.renderSlot(a.$slots,"default",{},void 0,!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$o,[vue.createElementVNode("i",{title:a.i18nt("designer.hint.selectParentWidget"),onClick:m[0]||(m[0]=vue.withModifiers(b=>a.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(_,{"icon-class":"el-back"})],8,_hoisted_2$h),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:a.i18nt("designer.hint.moveUpWidget"),onClick:m[1]||(m[1]=vue.withModifiers(b=>a.moveUpWidget(),["stop"]))},[vue.createVNode(_,{"icon-class":"el-move-up"})],8,_hoisted_3$e)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:a.i18nt("designer.hint.moveDownWidget"),onClick:m[2]||(m[2]=vue.withModifiers(b=>a.moveDownWidget(),["stop"]))},[vue.createVNode(_,{"icon-class":"el-move-down"})],8,_hoisted_4$b)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:2,title:a.i18nt("designer.hint.insertRow"),onClick:m[3]||(m[3]=vue.withModifiers(b=>a.appendTableRow(e.widget),["stop"]))},[vue.createVNode(_,{"icon-class":"el-insert-row"})],8,_hoisted_5$9)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:3,title:a.i18nt("designer.hint.insertColumn"),onClick:m[4]||(m[4]=vue.withModifiers(b=>a.appendTableCol(e.widget),["stop"]))},[vue.createVNode(_,{"icon-class":"el-insert-column"})],8,_hoisted_6$9)):vue.createCommentVNode("",!0),e.widget.type==="grid"||e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:4,title:a.i18nt("designer.hint.cloneWidget"),onClick:m[5]||(m[5]=vue.withModifiers(b=>a.cloneContainer(e.widget),["stop"]))},[vue.createVNode(_,{"icon-class":"el-clone"})],8,_hoisted_7$6)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:a.i18nt("designer.hint.remove"),onClick:m[6]||(m[6]=vue.withModifiers((...b)=>a.removeWidget&&a.removeWidget(...b),["stop"]))},[vue.createVNode(_,{"icon-class":"el-delete"})],8,_hoisted_8$5)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$4,[vue.createElementVNode("i",{title:a.i18nt("designer.hint.dragHandler")},[vue.createVNode(_,{"icon-class":"el-drag-move"})],8,_hoisted_10$3),vue.createElementVNode("i",null,vue.toDisplayString(a.i18n2t(`designer.widgetLabel.${e.widget.type}`,`extension.widgetLabel.${e.widget.type}`)),1),e.widget.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_11$1,[vue.createVNode(_,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2)}var ContainerWrapper=_export_sfc$1(_sfc_main$v,[["render",_sfc_render$v],["__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(a,m){let e=this.refList[a];return!e&&!!m&&this.$message.error(this.i18nt("render.hint.refNotFound")+a),e},registerToRefList(a){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(a&&delete this.refList[a],this.refList[this.widget.options.name]=this)}}},cardWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$u={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:ht(ze({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(a){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(a){this.widget.options.folded=!!a}}},_hoisted_1$n={class:"label"},_hoisted_2$g={class:"form-widget-list"};function _sfc_render$u(a,m,e,g,A,C){const _=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),d=vue.resolveComponent("draggable"),u=vue.resolveComponent("el-card"),i=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(i,{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",[C.selected?"selected":"",e.widget.options.folded?"folded":"",C.customClass]]),onClick:m[2]||(m[2]=vue.withModifiers(o=>a.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:m[0]||(m[0]=(...o)=>C.toggleCard&&C.toggleCard(...o)),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(_)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$n,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:m[1]||(m[1]=o=>a.onContainerDragAdd(o,e.widget.widgetList)),onUpdate:a.onContainerDragUpdate,move:C.checkContainerMove}),{item:vue.withCtx(({element:o,index:t})=>[vue.createElementVNode("div",_hoisted_2$g,[o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{widget:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{field:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"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$u,[["render",_sfc_render$u],["__scopeId","data-v-2c3be1b8"]]),cardItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$t={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:ht(ze({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$m={class:"label"};function _sfc_render$t(a,m,e,g,A,C){const _=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":"",C.customClass]]),ref:e.widget.id,shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:m[0]||(m[0]=(...i)=>C.toggleCard&&C.toggleCard(...i)),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(_)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$m,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,(i,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(a.getComponentByContainer(i)),{widget:i,key:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),t=>({name:t,fn:vue.withCtx(r=>[vue.renderSlot(a.$slots,t,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(i.type+"-widget"),{field:i,designer:null,key:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(a.$slots),t=>({name:t,fn:vue.withCtx(r=>[vue.renderSlot(a.$slots,t,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$t,[["render",_sfc_render$t],["__scopeId","data-v-2f0daae4"]]);const ACE_BASE_PATH="https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini",_sfc_main$s={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$s(a,m,e,g,A,C){const _=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(_,{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:C.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$s,[["render",_sfc_render$s]]),cryptoJs={exports:{}},core={exports:{}};(function(a,m){(function(e,g){a.exports=g()})(commonjsGlobal,function(){var e=e||function(g,A){var C;if(typeof window!="undefined"&&window.crypto&&(C=window.crypto),typeof self!="undefined"&&self.crypto&&(C=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(C=globalThis.crypto),!C&&typeof window!="undefined"&&window.msCrypto&&(C=window.msCrypto),!C&&typeof commonjsGlobal!="undefined"&&commonjsGlobal.crypto&&(C=commonjsGlobal.crypto),!C&&typeof commonjsRequire=="function")try{C=require("crypto")}catch{}var _=function(){if(C){if(typeof C.getRandomValues=="function")try{return C.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof C.randomBytes=="function")try{return C.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},b=Object.create||function(){function f(){}return function(w){var p;return f.prototype=w,p=new f,f.prototype=null,p}}(),d={},u=d.lib={},i=u.Base=function(){return{extend:function(f){var w=b(this);return f&&w.mixIn(f),(!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 f=this.extend();return f.init.apply(f,arguments),f},init:function(){},mixIn:function(f){for(var w in f)f.hasOwnProperty(w)&&(this[w]=f[w]);f.hasOwnProperty("toString")&&(this.toString=f.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),o=u.WordArray=i.extend({init:function(f,w){f=this.words=f||[],w!=A?this.sigBytes=w:this.sigBytes=f.length*4},toString:function(f){return(f||r).stringify(this)},concat:function(f){var w=this.words,p=f.words,y=this.sigBytes,v=f.sigBytes;if(this.clamp(),y%4)for(var M=0;M<v;M++){var D=p[M>>>2]>>>24-M%4*8&255;w[y+M>>>2]|=D<<24-(y+M)%4*8}else for(var L=0;L<v;L+=4)w[y+L>>>2]=p[L>>>2];return this.sigBytes+=v,this},clamp:function(){var f=this.words,w=this.sigBytes;f[w>>>2]&=4294967295<<32-w%4*8,f.length=g.ceil(w/4)},clone:function(){var f=i.clone.call(this);return f.words=this.words.slice(0),f},random:function(f){for(var w=[],p=0;p<f;p+=4)w.push(_());return new o.init(w,f)}}),t=d.enc={},r=t.Hex={stringify:function(f){for(var w=f.words,p=f.sigBytes,y=[],v=0;v<p;v++){var M=w[v>>>2]>>>24-v%4*8&255;y.push((M>>>4).toString(16)),y.push((M&15).toString(16))}return y.join("")},parse:function(f){for(var w=f.length,p=[],y=0;y<w;y+=2)p[y>>>3]|=parseInt(f.substr(y,2),16)<<24-y%8*4;return new o.init(p,w/2)}},n=t.Latin1={stringify:function(f){for(var w=f.words,p=f.sigBytes,y=[],v=0;v<p;v++){var M=w[v>>>2]>>>24-v%4*8&255;y.push(String.fromCharCode(M))}return y.join("")},parse:function(f){for(var w=f.length,p=[],y=0;y<w;y++)p[y>>>2]|=(f.charCodeAt(y)&255)<<24-y%4*8;return new o.init(p,w)}},s=t.Utf8={stringify:function(f){try{return decodeURIComponent(escape(n.stringify(f)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(f){return n.parse(unescape(encodeURIComponent(f)))}},l=u.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(f){typeof f=="string"&&(f=s.parse(f)),this._data.concat(f),this._nDataBytes+=f.sigBytes},_process:function(f){var w,p=this._data,y=p.words,v=p.sigBytes,M=this.blockSize,D=M*4,L=v/D;f?L=g.ceil(L):L=g.max((L|0)-this._minBufferSize,0);var S=L*M,N=g.min(S*4,v);if(S){for(var k=0;k<S;k+=M)this._doProcessBlock(y,k);w=y.splice(0,S),p.sigBytes-=N}return new o.init(w,N)},clone:function(){var f=i.clone.call(this);return f._data=this._data.clone(),f},_minBufferSize:0});u.Hasher=l.extend({cfg:i.extend(),init:function(f){this.cfg=this.cfg.extend(f),this.reset()},reset:function(){l.reset.call(this),this._doReset()},update:function(f){return this._append(f),this._process(),this},finalize:function(f){f&&this._append(f);var w=this._doFinalize();return w},blockSize:512/32,_createHelper:function(f){return function(w,p){return new f.init(p).finalize(w)}},_createHmacHelper:function(f){return function(w,p){return new h.HMAC.init(f,p).finalize(w)}}});var h=d.algo={};return d}(Math);return e})})(core);var x64Core={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(g){var A=e,C=A.lib,_=C.Base,b=C.WordArray,d=A.x64={};d.Word=_.extend({init:function(u,i){this.high=u,this.low=i}}),d.WordArray=_.extend({init:function(u,i){u=this.words=u||[],i!=g?this.sigBytes=i:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,i=u.length,o=[],t=0;t<i;t++){var r=u[t];o.push(r.high),o.push(r.low)}return b.create(o,this.sigBytes)},clone:function(){for(var u=_.clone.call(this),i=u.words=this.words.slice(0),o=i.length,t=0;t<o;t++)i[t]=i[t].clone();return u}})}(),e})})(x64Core);var libTypedarrays={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){if(typeof ArrayBuffer=="function"){var g=e,A=g.lib,C=A.WordArray,_=C.init,b=C.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,i=[],o=0;o<u;o++)i[o>>>2]|=d[o]<<24-o%4*8;_.call(this,i,u)}else _.apply(this,arguments)};b.prototype=C}}(),e.lib.WordArray})})(libTypedarrays);var encUtf16={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.WordArray,_=g.enc;_.Utf16=_.Utf16BE={stringify:function(d){for(var u=d.words,i=d.sigBytes,o=[],t=0;t<i;t+=2){var r=u[t>>>2]>>>16-t%4*8&65535;o.push(String.fromCharCode(r))}return o.join("")},parse:function(d){for(var u=d.length,i=[],o=0;o<u;o++)i[o>>>1]|=d.charCodeAt(o)<<16-o%2*16;return C.create(i,u*2)}},_.Utf16LE={stringify:function(d){for(var u=d.words,i=d.sigBytes,o=[],t=0;t<i;t+=2){var r=b(u[t>>>2]>>>16-t%4*8&65535);o.push(String.fromCharCode(r))}return o.join("")},parse:function(d){for(var u=d.length,i=[],o=0;o<u;o++)i[o>>>1]|=b(d.charCodeAt(o)<<16-o%2*16);return C.create(i,u*2)}};function b(d){return d<<8&4278255360|d>>>8&16711935}}(),e.enc.Utf16})})(encUtf16);var encBase64={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.WordArray,_=g.enc;_.Base64={stringify:function(d){var u=d.words,i=d.sigBytes,o=this._map;d.clamp();for(var t=[],r=0;r<i;r+=3)for(var n=u[r>>>2]>>>24-r%4*8&255,s=u[r+1>>>2]>>>24-(r+1)%4*8&255,l=u[r+2>>>2]>>>24-(r+2)%4*8&255,h=n<<16|s<<8|l,f=0;f<4&&r+f*.75<i;f++)t.push(o.charAt(h>>>6*(3-f)&63));var w=o.charAt(64);if(w)for(;t.length%4;)t.push(w);return t.join("")},parse:function(d){var u=d.length,i=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var t=0;t<i.length;t++)o[i.charCodeAt(t)]=t}var r=i.charAt(64);if(r){var n=d.indexOf(r);n!==-1&&(u=n)}return b(d,u,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function b(d,u,i){for(var o=[],t=0,r=0;r<u;r++)if(r%4){var n=i[d.charCodeAt(r-1)]<<r%4*2,s=i[d.charCodeAt(r)]>>>6-r%4*2,l=n|s;o[t>>>2]|=l<<24-t%4*8,t++}return C.create(o,t)}}(),e.enc.Base64})})(encBase64);var encBase64url={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.WordArray,_=g.enc;_.Base64url={stringify:function(d,u){u===void 0&&(u=!0);var i=d.words,o=d.sigBytes,t=u?this._safe_map:this._map;d.clamp();for(var r=[],n=0;n<o;n+=3)for(var s=i[n>>>2]>>>24-n%4*8&255,l=i[n+1>>>2]>>>24-(n+1)%4*8&255,h=i[n+2>>>2]>>>24-(n+2)%4*8&255,f=s<<16|l<<8|h,w=0;w<4&&n+w*.75<o;w++)r.push(t.charAt(f>>>6*(3-w)&63));var p=t.charAt(64);if(p)for(;r.length%4;)r.push(p);return r.join("")},parse:function(d,u){u===void 0&&(u=!0);var i=d.length,o=u?this._safe_map:this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var r=0;r<o.length;r++)t[o.charCodeAt(r)]=r}var n=o.charAt(64);if(n){var s=d.indexOf(n);s!==-1&&(i=s)}return b(d,i,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function b(d,u,i){for(var o=[],t=0,r=0;r<u;r++)if(r%4){var n=i[d.charCodeAt(r-1)]<<r%4*2,s=i[d.charCodeAt(r)]>>>6-r%4*2,l=n|s;o[t>>>2]|=l<<24-t%4*8,t++}return C.create(o,t)}}(),e.enc.Base64url})})(encBase64url);var md5={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(g){var A=e,C=A.lib,_=C.WordArray,b=C.Hasher,d=A.algo,u=[];(function(){for(var s=0;s<64;s++)u[s]=g.abs(g.sin(s+1))*4294967296|0})();var i=d.MD5=b.extend({_doReset:function(){this._hash=new _.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(s,l){for(var h=0;h<16;h++){var f=l+h,w=s[f];s[f]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}var p=this._hash.words,y=s[l+0],v=s[l+1],M=s[l+2],D=s[l+3],L=s[l+4],S=s[l+5],N=s[l+6],k=s[l+7],T=s[l+8],E=s[l+9],I=s[l+10],F=s[l+11],O=s[l+12],z=s[l+13],W=s[l+14],j=s[l+15],B=p[0],$=p[1],P=p[2],H=p[3];B=o(B,$,P,H,y,7,u[0]),H=o(H,B,$,P,v,12,u[1]),P=o(P,H,B,$,M,17,u[2]),$=o($,P,H,B,D,22,u[3]),B=o(B,$,P,H,L,7,u[4]),H=o(H,B,$,P,S,12,u[5]),P=o(P,H,B,$,N,17,u[6]),$=o($,P,H,B,k,22,u[7]),B=o(B,$,P,H,T,7,u[8]),H=o(H,B,$,P,E,12,u[9]),P=o(P,H,B,$,I,17,u[10]),$=o($,P,H,B,F,22,u[11]),B=o(B,$,P,H,O,7,u[12]),H=o(H,B,$,P,z,12,u[13]),P=o(P,H,B,$,W,17,u[14]),$=o($,P,H,B,j,22,u[15]),B=t(B,$,P,H,v,5,u[16]),H=t(H,B,$,P,N,9,u[17]),P=t(P,H,B,$,F,14,u[18]),$=t($,P,H,B,y,20,u[19]),B=t(B,$,P,H,S,5,u[20]),H=t(H,B,$,P,I,9,u[21]),P=t(P,H,B,$,j,14,u[22]),$=t($,P,H,B,L,20,u[23]),B=t(B,$,P,H,E,5,u[24]),H=t(H,B,$,P,W,9,u[25]),P=t(P,H,B,$,D,14,u[26]),$=t($,P,H,B,T,20,u[27]),B=t(B,$,P,H,z,5,u[28]),H=t(H,B,$,P,M,9,u[29]),P=t(P,H,B,$,k,14,u[30]),$=t($,P,H,B,O,20,u[31]),B=r(B,$,P,H,S,4,u[32]),H=r(H,B,$,P,T,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,v,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,z,4,u[40]),H=r(H,B,$,P,y,11,u[41]),P=r(P,H,B,$,D,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=n(B,$,P,H,y,6,u[48]),H=n(H,B,$,P,k,10,u[49]),P=n(P,H,B,$,W,15,u[50]),$=n($,P,H,B,S,21,u[51]),B=n(B,$,P,H,O,6,u[52]),H=n(H,B,$,P,D,10,u[53]),P=n(P,H,B,$,I,15,u[54]),$=n($,P,H,B,v,21,u[55]),B=n(B,$,P,H,T,6,u[56]),H=n(H,B,$,P,j,10,u[57]),P=n(P,H,B,$,N,15,u[58]),$=n($,P,H,B,z,21,u[59]),B=n(B,$,P,H,L,6,u[60]),H=n(H,B,$,P,F,10,u[61]),P=n(P,H,B,$,M,15,u[62]),$=n($,P,H,B,E,21,u[63]),p[0]=p[0]+B|0,p[1]=p[1]+$|0,p[2]=p[2]+P|0,p[3]=p[3]+H|0},_doFinalize:function(){var s=this._data,l=s.words,h=this._nDataBytes*8,f=s.sigBytes*8;l[f>>>5]|=128<<24-f%32;var w=g.floor(h/4294967296),p=h;l[(f+64>>>9<<4)+15]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,l[(f+64>>>9<<4)+14]=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,s.sigBytes=(l.length+1)*4,this._process();for(var y=this._hash,v=y.words,M=0;M<4;M++){var D=v[M];v[M]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return y},clone:function(){var s=b.clone.call(this);return s._hash=this._hash.clone(),s}});function o(s,l,h,f,w,p,y){var v=s+(l&h|~l&f)+w+y;return(v<<p|v>>>32-p)+l}function t(s,l,h,f,w,p,y){var v=s+(l&f|h&~f)+w+y;return(v<<p|v>>>32-p)+l}function r(s,l,h,f,w,p,y){var v=s+(l^h^f)+w+y;return(v<<p|v>>>32-p)+l}function n(s,l,h,f,w,p,y){var v=s+(h^(l|~f))+w+y;return(v<<p|v>>>32-p)+l}A.MD5=b._createHelper(i),A.HmacMD5=b._createHmacHelper(i)}(Math),e.MD5})})(md5);var sha1={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.WordArray,_=A.Hasher,b=g.algo,d=[],u=b.SHA1=_.extend({_doReset:function(){this._hash=new C.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(i,o){for(var t=this._hash.words,r=t[0],n=t[1],s=t[2],l=t[3],h=t[4],f=0;f<80;f++){if(f<16)d[f]=i[o+f]|0;else{var w=d[f-3]^d[f-8]^d[f-14]^d[f-16];d[f]=w<<1|w>>>31}var p=(r<<5|r>>>27)+h+d[f];f<20?p+=(n&s|~n&l)+1518500249:f<40?p+=(n^s^l)+1859775393:f<60?p+=(n&s|n&l|s&l)-1894007588:p+=(n^s^l)-899497514,h=l,l=s,s=n<<30|n>>>2,n=r,r=p}t[0]=t[0]+r|0,t[1]=t[1]+n|0,t[2]=t[2]+s|0,t[3]=t[3]+l|0,t[4]=t[4]+h|0},_doFinalize:function(){var i=this._data,o=i.words,t=this._nDataBytes*8,r=i.sigBytes*8;return o[r>>>5]|=128<<24-r%32,o[(r+64>>>9<<4)+14]=Math.floor(t/4294967296),o[(r+64>>>9<<4)+15]=t,i.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var i=_.clone.call(this);return i._hash=this._hash.clone(),i}});g.SHA1=_._createHelper(u),g.HmacSHA1=_._createHmacHelper(u)}(),e.SHA1})})(sha1);var sha256={exports:{}};(function(a,m){(function(e,g){a.exports=g(core.exports)})(commonjsGlobal,function(e){return function(g){var A=e,C=A.lib,_=C.WordArray,b=C.Hasher,d=A.algo,u=[],i=[];(function(){function r(h){for(var f=g.sqrt(h),w=2;w<=f;w++)if(!(h%w))return!1;return!0}function n(h){return(h-(h|0))*4294967296|0}for(var s=2,l=0;l<64;)r(s)&&(l<8&&(u[l]=n(g.pow(s,1/2))),i[l]=n(g.pow(s,1/3)),l++),s++})();var o=[],t=d.SHA256=b.extend({_doReset:function(){this._hash=new _.init(u.slice(0))},_doProcessBlock:function(r,n){for(var s=this._hash.words,l=s[0],h=s[1],f=s[2],w=s[3],p=s[4],y=s[5],v=s[6],M=s[7],D=0;D<64;D++){if(D<16)o[D]=r[n+D]|0;else{var L=o[D-15],S=(L<<25|L>>>7)^(L<<14|L>>>18)^L>>>3,N=o[D-2],k=(N<<15|N>>>17)^(N<<13|N>>>19)^N>>>10;o[D]=S+o[D-7]+k+o[D-16]}var T=p&y^~p&v,E=l&h^l&f^h&f,I=(l<<30|l>>>2)^(l<<19|l>>>13)^(l<<10|l>>>22),F=(p<<26|p>>>6)^(p<<21|p>>>11)^(p<<7|p>>>25),O=M+F+T+i[D]+o[D],z=I+E;M=v,v=y,y=p,p=w+O|0,w=f,f=h,h=l,l=O+z|0}s[0]=s[0]+l|0,s[1]=s[1]+h|0,s[2]=s[2]+f|0,s[3]=s[3]+w|0,s[4]=s[4]+p|0,s[5]=s[5]+y|0,s[6]=s[6]+v|0,s[7]=s[7]+M|0},_doFinalize:function(){var r=this._data,n=r.words,s=this._nDataBytes*8,l=r.sigBytes*8;return n[l>>>5]|=128<<24-l%32,n[(l+64>>>9<<4)+14]=g.floor(s/4294967296),n[(l+64>>>9<<4)+15]=s,r.sigBytes=n.length*4,this._process(),this._hash},clone:function(){var r=b.clone.call(this);return r._hash=this._hash.clone(),r}});A.SHA256=b._createHelper(t),A.HmacSHA256=b._createHmacHelper(t)}(Math),e.SHA256})})(sha256);var sha224={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,sha256.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.WordArray,_=g.algo,b=_.SHA256,d=_.SHA224=b.extend({_doReset:function(){this._hash=new C.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=b._doFinalize.call(this);return u.sigBytes-=4,u}});g.SHA224=b._createHelper(d),g.HmacSHA224=b._createHmacHelper(d)}(),e.SHA224})})(sha224);var sha512={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.Hasher,_=g.x64,b=_.Word,d=_.WordArray,u=g.algo;function i(){return b.create.apply(b,arguments)}var o=[i(1116352408,3609767458),i(1899447441,602891725),i(3049323471,3964484399),i(3921009573,2173295548),i(961987163,4081628472),i(1508970993,3053834265),i(2453635748,2937671579),i(2870763221,3664609560),i(3624381080,2734883394),i(310598401,1164996542),i(607225278,1323610764),i(1426881987,3590304994),i(1925078388,4068182383),i(2162078206,991336113),i(2614888103,633803317),i(3248222580,3479774868),i(3835390401,2666613458),i(4022224774,944711139),i(264347078,2341262773),i(604807628,2007800933),i(770255983,1495990901),i(1249150122,1856431235),i(1555081692,3175218132),i(1996064986,2198950837),i(2554220882,3999719339),i(2821834349,766784016),i(2952996808,2566594879),i(3210313671,3203337956),i(3336571891,1034457026),i(3584528711,2466948901),i(113926993,3758326383),i(338241895,168717936),i(666307205,1188179964),i(773529912,1546045734),i(1294757372,1522805485),i(1396182291,2643833823),i(1695183700,2343527390),i(1986661051,1014477480),i(2177026350,1206759142),i(2456956037,344077627),i(2730485921,1290863460),i(2820302411,3158454273),i(3259730800,3505952657),i(3345764771,106217008),i(3516065817,3606008344),i(3600352804,1432725776),i(4094571909,1467031594),i(275423344,851169720),i(430227734,3100823752),i(506948616,1363258195),i(659060556,3750685593),i(883997877,3785050280),i(958139571,3318307427),i(1322822218,3812723403),i(1537002063,2003034995),i(1747873779,3602036899),i(1955562222,1575990012),i(2024104815,1125592928),i(2227730452,2716904306),i(2361852424,442776044),i(2428436474,593698344),i(2756734187,3733110249),i(3204031479,2999351573),i(3329325298,3815920427),i(3391569614,3928383900),i(3515267271,566280711),i(3940187606,3454069534),i(4118630271,4000239992),i(116418474,1914138554),i(174292421,2731055270),i(289380356,3203993006),i(460393269,320620315),i(685471733,587496836),i(852142971,1086792851),i(1017036298,365543100),i(1126000580,2618297676),i(1288033470,3409855158),i(1501505948,4234509866),i(1607167915,987167468),i(1816402316,1246189591)],t=[];(function(){for(var n=0;n<80;n++)t[n]=i()})();var r=u.SHA512=C.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(n,s){for(var l=this._hash.words,h=l[0],f=l[1],w=l[2],p=l[3],y=l[4],v=l[5],M=l[6],D=l[7],L=h.high,S=h.low,N=f.high,k=f.low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(lt>>>0<mi>>>0?1:0),lt=lt+ue,At=At+Ce+(lt>>>0<ue>>>0?1:0),nn=Xi+Zn,Xn=Kn+qn+(nn>>>0<Xi>>>0?1:0);le=Ne,pe=oe,Ne=xe,oe=Be,xe=me,Be=ve,ve=ge+lt|0,me=se+At+(ve>>>0<ge>>>0?1:0)|0,se=J,ge=te,J=q,te=Y,q=G,Y=U,U=lt+nn|0,G=At+Xn+(U>>>0<lt>>>0?1:0)|0}S=h.low=S+U,h.high=L+G+(S>>>0<U>>>0?1:0),k=f.low=k+Y,f.high=N+q+(k>>>0<Y>>>0?1:0),E=w.low=E+te,w.high=T+J+(E>>>0<te>>>0?1:0),F=p.low=F+ge,p.high=I+se+(F>>>0<ge>>>0?1:0),z=y.low=z+ve,y.high=O+me+(z>>>0<ve>>>0?1:0),j=v.low=j+Be,v.high=W+xe+(j>>>0<Be>>>0?1:0),$=M.low=$+oe,M.high=B+Ne+($>>>0<oe>>>0?1:0),H=D.low=H+pe,D.high=P+le+(H>>>0<pe>>>0?1:0)},_doFinalize:function(){var n=this._data,s=n.words,l=this._nDataBytes*8,h=n.sigBytes*8;s[h>>>5]|=128<<24-h%32,s[(h+128>>>10<<5)+30]=Math.floor(l/4294967296),s[(h+128>>>10<<5)+31]=l,n.sigBytes=s.length*4,this._process();var f=this._hash.toX32();return f},clone:function(){var n=C.clone.call(this);return n._hash=this._hash.clone(),n},blockSize:1024/32});g.SHA512=C._createHelper(r),g.HmacSHA512=C._createHmacHelper(r)}(),e.SHA512})})(sha512);var sha384={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,x64Core.exports,sha512.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.x64,C=A.Word,_=A.WordArray,b=g.algo,d=b.SHA512,u=b.SHA384=d.extend({_doReset:function(){this._hash=new _.init([new C.init(3418070365,3238371032),new C.init(1654270250,914150663),new C.init(2438529370,812702999),new C.init(355462360,4144912697),new C.init(1731405415,4290775857),new C.init(2394180231,1750603025),new C.init(3675008525,1694076839),new C.init(1203062813,3204075428)])},_doFinalize:function(){var i=d._doFinalize.call(this);return i.sigBytes-=16,i}});g.SHA384=d._createHelper(u),g.HmacSHA384=d._createHmacHelper(u)}(),e.SHA384})})(sha384);var sha3={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(g){var A=e,C=A.lib,_=C.WordArray,b=C.Hasher,d=A.x64,u=d.Word,i=A.algo,o=[],t=[],r=[];(function(){for(var l=1,h=0,f=0;f<24;f++){o[l+5*h]=(f+1)*(f+2)/2%64;var w=h%5,p=(2*l+3*h)%5;l=w,h=p}for(var l=0;l<5;l++)for(var h=0;h<5;h++)t[l+5*h]=h+(2*l+3*h)%5*5;for(var y=1,v=0;v<24;v++){for(var M=0,D=0,L=0;L<7;L++){if(y&1){var S=(1<<L)-1;S<32?D^=1<<S:M^=1<<S-32}y&128?y=y<<1^113:y<<=1}r[v]=u.create(M,D)}})();var n=[];(function(){for(var l=0;l<25;l++)n[l]=u.create()})();var s=i.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 f=this._state,w=this.blockSize/2,p=0;p<w;p++){var y=l[h+2*p],v=l[h+2*p+1];y=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360;var M=f[p];M.high^=v,M.low^=y}for(var D=0;D<24;D++){for(var L=0;L<5;L++){for(var S=0,N=0,k=0;k<5;k++){var M=f[L+5*k];S^=M.high,N^=M.low}var T=n[L];T.high=S,T.low=N}for(var L=0;L<5;L++)for(var E=n[(L+4)%5],I=n[(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=f[L+5*k];M.high^=S,M.low^=N}for(var z=1;z<25;z++){var S,N,M=f[z],W=M.high,j=M.low,B=o[z];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 $=n[t[z]];$.high=S,$.low=N}var P=n[0],H=f[0];P.high=H.high,P.low=H.low;for(var L=0;L<5;L++)for(var k=0;k<5;k++){var z=L+5*k,M=f[z],G=n[z],U=n[(L+1)%5+5*k],q=n[(L+2)%5+5*k];M.high=G.high^~U.high&q.high,M.low=G.low^~U.low&q.low}var M=f[0],Y=r[D];M.high^=Y.high,M.low^=Y.low}},_doFinalize:function(){var l=this._data,h=l.words;this._nDataBytes*8;var f=l.sigBytes*8,w=this.blockSize*32;h[f>>>5]|=1<<24-f%32,h[(g.ceil((f+1)/w)*w>>>5)-1]|=128,l.sigBytes=h.length*4,this._process();for(var p=this._state,y=this.cfg.outputLength/8,v=y/8,M=[],D=0;D<v;D++){var L=p[D],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 _.init(M,y)},clone:function(){for(var l=b.clone.call(this),h=l._state=this._state.slice(0),f=0;f<25;f++)h[f]=h[f].clone();return l}});A.SHA3=b._createHelper(s),A.HmacSHA3=b._createHmacHelper(s)}(Math),e.SHA3})})(sha3);var ripemd160={exports:{}};(function(a,m){(function(e,g){a.exports=g(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:
@@ -85,7 +85,7 @@ e.setDisabled&&e.setDisabled(!1)}})},resetForm(){Object.keys(this.subFormRefList
85
85
  * Counter block mode compatible with Dr Brian Gladman fileenc.c
86
86
  * derived from CryptoJS.mode.CTR
87
87
  * Jan Hruby jhruby.web@gmail.com
88
- */return e.mode.CTRGladman=function(){var g=e.lib.BlockCipherMode.extend();function A(b){if((b>>24&255)==255){var d=b>>16&255,u=b>>8&255,i=b&255;d===255?(d=0,u===255?(u=0,i===255?i=0:++i):++u):++d,b=0,b+=d<<16,b+=u<<8,b+=i}else b+=1<<24;return b}function C(b){return(b[0]=A(b[0]))===0&&(b[1]=A(b[1])),b}var _=g.Encryptor=g.extend({processBlock:function(b,d){var u=this._cipher,i=u.blockSize,o=this._iv,t=this._counter;o&&(t=this._counter=o.slice(0),this._iv=void 0),C(t);var r=t.slice(0);u.encryptBlock(r,0);for(var n=0;n<i;n++)b[d+n]^=r[n]}});return g.Decryptor=_,g}(),e.mode.CTRGladman})})(modeCtrGladman);var modeOfb={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.mode.OFB=function(){var g=e.lib.BlockCipherMode.extend(),A=g.Encryptor=g.extend({processBlock:function(C,_){var b=this._cipher,d=b.blockSize,u=this._iv,i=this._keystream;u&&(i=this._keystream=u.slice(0),this._iv=void 0),b.encryptBlock(i,0);for(var o=0;o<d;o++)C[_+o]^=i[o]}});return g.Decryptor=A,g}(),e.mode.OFB})})(modeOfb);var modeEcb={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.mode.ECB=function(){var g=e.lib.BlockCipherMode.extend();return g.Encryptor=g.extend({processBlock:function(A,C){this._cipher.encryptBlock(A,C)}}),g.Decryptor=g.extend({processBlock:function(A,C){this._cipher.decryptBlock(A,C)}}),g}(),e.mode.ECB})})(modeEcb);var padAnsix923={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.AnsiX923={pad:function(g,A){var C=g.sigBytes,_=A*4,b=_-C%_,d=C+b-1;g.clamp(),g.words[d>>>2]|=b<<24-d%4*8,g.sigBytes+=b},unpad:function(g){var A=g.words[g.sigBytes-1>>>2]&255;g.sigBytes-=A}},e.pad.Ansix923})})(padAnsix923);var padIso10126={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.Iso10126={pad:function(g,A){var C=A*4,_=C-g.sigBytes%C;g.concat(e.lib.WordArray.random(_-1)).concat(e.lib.WordArray.create([_<<24],1))},unpad:function(g){var A=g.words[g.sigBytes-1>>>2]&255;g.sigBytes-=A}},e.pad.Iso10126})})(padIso10126);var padIso97971={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.Iso97971={pad:function(g,A){g.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(g,A)},unpad:function(g){e.pad.ZeroPadding.unpad(g),g.sigBytes--}},e.pad.Iso97971})})(padIso97971);var padZeropadding={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.ZeroPadding={pad:function(g,A){var C=A*4;g.clamp(),g.sigBytes+=C-(g.sigBytes%C||C)},unpad:function(g){for(var A=g.words,C=g.sigBytes-1,C=g.sigBytes-1;C>=0;C--)if(A[C>>>2]>>>24-C%4*8&255){g.sigBytes=C+1;break}}},e.pad.ZeroPadding})})(padZeropadding);var padNopadding={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding})})(padNopadding);var formatHex={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(g){var A=e,C=A.lib,_=C.CipherParams,b=A.enc,d=b.Hex,u=A.format;u.Hex={stringify:function(i){return i.ciphertext.toString(d)},parse:function(i){var o=d.parse(i);return _.create({ciphertext:o})}}}(),e.format.Hex})})(formatHex);var aes={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.BlockCipher,_=g.algo,b=[],d=[],u=[],i=[],o=[],t=[],r=[],n=[],s=[],l=[];(function(){for(var w=[],p=0;p<256;p++)p<128?w[p]=p<<1:w[p]=p<<1^283;for(var y=0,v=0,p=0;p<256;p++){var M=v^v<<1^v<<2^v<<3^v<<4;M=M>>>8^M&255^99,b[y]=M,d[M]=y;var D=w[y],L=w[D],S=w[L],N=w[M]*257^M*16843008;u[y]=N<<24|N>>>8,i[y]=N<<16|N>>>16,o[y]=N<<8|N>>>24,t[y]=N;var N=S*16843009^L*65537^D*257^y*16843008;r[M]=N<<24|N>>>8,n[M]=N<<16|N>>>16,s[M]=N<<8|N>>>24,l[M]=N,y?(y=D^w[w[w[S^D]]],v^=w[w[v]]):y=v=1}})();var h=[0,1,2,4,8,16,32,64,128,27,54],f=_.AES=C.extend({_doReset:function(){var w;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var p=this._keyPriorReset=this._key,y=p.words,v=p.sigBytes/4,M=this._nRounds=v+6,D=(M+1)*4,L=this._keySchedule=[],S=0;S<D;S++)S<v?L[S]=y[S]:(w=L[S-1],S%v?v>6&&S%v==4&&(w=b[w>>>24]<<24|b[w>>>16&255]<<16|b[w>>>8&255]<<8|b[w&255]):(w=w<<8|w>>>24,w=b[w>>>24]<<24|b[w>>>16&255]<<16|b[w>>>8&255]<<8|b[w&255],w^=h[S/v|0]<<24),L[S]=L[S-v]^w);for(var N=this._invKeySchedule=[],k=0;k<D;k++){var S=D-k;if(k%4)var w=L[S];else var w=L[S-4];k<4||S<=4?N[k]=w:N[k]=r[b[w>>>24]]^n[b[w>>>16&255]]^s[b[w>>>8&255]]^l[b[w&255]]}}},encryptBlock:function(w,p){this._doCryptBlock(w,p,this._keySchedule,u,i,o,t,b)},decryptBlock:function(w,p){var y=w[p+1];w[p+1]=w[p+3],w[p+3]=y,this._doCryptBlock(w,p,this._invKeySchedule,r,n,s,l,d);var y=w[p+1];w[p+1]=w[p+3],w[p+3]=y},_doCryptBlock:function(w,p,y,v,M,D,L,S){for(var N=this._nRounds,k=w[p]^y[0],T=w[p+1]^y[1],E=w[p+2]^y[2],I=w[p+3]^y[3],F=4,O=1;O<N;O++){var z=v[k>>>24]^M[T>>>16&255]^D[E>>>8&255]^L[I&255]^y[F++],W=v[T>>>24]^M[E>>>16&255]^D[I>>>8&255]^L[k&255]^y[F++],j=v[E>>>24]^M[I>>>16&255]^D[k>>>8&255]^L[T&255]^y[F++],B=v[I>>>24]^M[k>>>16&255]^D[T>>>8&255]^L[E&255]^y[F++];k=z,T=W,E=j,I=B}var z=(S[k>>>24]<<24|S[T>>>16&255]<<16|S[E>>>8&255]<<8|S[I&255])^y[F++],W=(S[T>>>24]<<24|S[E>>>16&255]<<16|S[I>>>8&255]<<8|S[k&255])^y[F++],j=(S[E>>>24]<<24|S[I>>>16&255]<<16|S[k>>>8&255]<<8|S[T&255])^y[F++],B=(S[I>>>24]<<24|S[k>>>16&255]<<16|S[T>>>8&255]<<8|S[E&255])^y[F++];w[p]=z,w[p+1]=W,w[p+2]=j,w[p+3]=B},keySize:256/32});g.AES=C._createHelper(f)}(),e.AES})})(aes);var tripledes={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.WordArray,_=A.BlockCipher,b=g.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],i=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],o=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],t=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],r=b.DES=_.extend({_doReset:function(){for(var h=this._key,f=h.words,w=[],p=0;p<56;p++){var y=d[p]-1;w[p]=f[y>>>5]>>>31-y%32&1}for(var v=this._subKeys=[],M=0;M<16;M++){for(var D=v[M]=[],L=i[M],p=0;p<24;p++)D[p/6|0]|=w[(u[p]-1+L)%28]<<31-p%6,D[4+(p/6|0)]|=w[28+(u[p+24]-1+L)%28]<<31-p%6;D[0]=D[0]<<1|D[0]>>>31;for(var p=1;p<7;p++)D[p]=D[p]>>>(p-1)*4+3;D[7]=D[7]<<5|D[7]>>>27}for(var S=this._invSubKeys=[],p=0;p<16;p++)S[p]=v[15-p]},encryptBlock:function(h,f){this._doCryptBlock(h,f,this._subKeys)},decryptBlock:function(h,f){this._doCryptBlock(h,f,this._invSubKeys)},_doCryptBlock:function(h,f,w){this._lBlock=h[f],this._rBlock=h[f+1],n.call(this,4,252645135),n.call(this,16,65535),s.call(this,2,858993459),s.call(this,8,16711935),n.call(this,1,1431655765);for(var p=0;p<16;p++){for(var y=w[p],v=this._lBlock,M=this._rBlock,D=0,L=0;L<8;L++)D|=o[L][((M^y[L])&t[L])>>>0];this._lBlock=M,this._rBlock=v^D}var S=this._lBlock;this._lBlock=this._rBlock,this._rBlock=S,n.call(this,1,1431655765),s.call(this,8,16711935),s.call(this,2,858993459),n.call(this,16,65535),n.call(this,4,252645135),h[f]=this._lBlock,h[f+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function n(h,f){var w=(this._lBlock>>>h^this._rBlock)&f;this._rBlock^=w,this._lBlock^=w<<h}function s(h,f){var w=(this._rBlock>>>h^this._lBlock)&f;this._lBlock^=w,this._rBlock^=w<<h}g.DES=_._createHelper(r);var l=b.TripleDES=_.extend({_doReset:function(){var h=this._key,f=h.words;if(f.length!==2&&f.length!==4&&f.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var w=f.slice(0,2),p=f.length<4?f.slice(0,2):f.slice(2,4),y=f.length<6?f.slice(0,2):f.slice(4,6);this._des1=r.createEncryptor(C.create(w)),this._des2=r.createEncryptor(C.create(p)),this._des3=r.createEncryptor(C.create(y))},encryptBlock:function(h,f){this._des1.encryptBlock(h,f),this._des2.decryptBlock(h,f),this._des3.encryptBlock(h,f)},decryptBlock:function(h,f){this._des3.decryptBlock(h,f),this._des2.encryptBlock(h,f),this._des1.decryptBlock(h,f)},keySize:192/32,ivSize:64/32,blockSize:64/32});g.TripleDES=_._createHelper(l)}(),e.TripleDES})})(tripledes);var rc4={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.StreamCipher,_=g.algo,b=_.RC4=C.extend({_doReset:function(){for(var i=this._key,o=i.words,t=i.sigBytes,r=this._S=[],n=0;n<256;n++)r[n]=n;for(var n=0,s=0;n<256;n++){var l=n%t,h=o[l>>>2]>>>24-l%4*8&255;s=(s+r[n]+h)%256;var f=r[n];r[n]=r[s],r[s]=f}this._i=this._j=0},_doProcessBlock:function(i,o){i[o]^=d.call(this)},keySize:256/32,ivSize:0});function d(){for(var i=this._S,o=this._i,t=this._j,r=0,n=0;n<4;n++){o=(o+1)%256,t=(t+i[o])%256;var s=i[o];i[o]=i[t],i[t]=s,r|=i[(i[o]+i[t])%256]<<24-n*8}return this._i=o,this._j=t,r}g.RC4=C._createHelper(b);var u=_.RC4Drop=b.extend({cfg:b.cfg.extend({drop:192}),_doReset:function(){b._doReset.call(this);for(var i=this.cfg.drop;i>0;i--)d.call(this)}});g.RC4Drop=C._createHelper(u)}(),e.RC4})})(rc4);var rabbit={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.StreamCipher,_=g.algo,b=[],d=[],u=[],i=_.Rabbit=C.extend({_doReset:function(){for(var t=this._key.words,r=this.cfg.iv,n=0;n<4;n++)t[n]=(t[n]<<8|t[n]>>>24)&16711935|(t[n]<<24|t[n]>>>8)&4278255360;var s=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],l=this._C=[t[2]<<16|t[2]>>>16,t[0]&4294901760|t[1]&65535,t[3]<<16|t[3]>>>16,t[1]&4294901760|t[2]&65535,t[0]<<16|t[0]>>>16,t[2]&4294901760|t[3]&65535,t[1]<<16|t[1]>>>16,t[3]&4294901760|t[0]&65535];this._b=0;for(var n=0;n<4;n++)o.call(this);for(var n=0;n<8;n++)l[n]^=s[n+4&7];if(r){var h=r.words,f=h[0],w=h[1],p=(f<<8|f>>>24)&16711935|(f<<24|f>>>8)&4278255360,y=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,v=p>>>16|y&4294901760,M=y<<16|p&65535;l[0]^=p,l[1]^=v,l[2]^=y,l[3]^=M,l[4]^=p,l[5]^=v,l[6]^=y,l[7]^=M;for(var n=0;n<4;n++)o.call(this)}},_doProcessBlock:function(t,r){var n=this._X;o.call(this),b[0]=n[0]^n[5]>>>16^n[3]<<16,b[1]=n[2]^n[7]>>>16^n[5]<<16,b[2]=n[4]^n[1]>>>16^n[7]<<16,b[3]=n[6]^n[3]>>>16^n[1]<<16;for(var s=0;s<4;s++)b[s]=(b[s]<<8|b[s]>>>24)&16711935|(b[s]<<24|b[s]>>>8)&4278255360,t[r+s]^=b[s]},blockSize:128/32,ivSize:64/32});function o(){for(var t=this._X,r=this._C,n=0;n<8;n++)d[n]=r[n];r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<d[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<d[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<d[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<d[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<d[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<d[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<d[6]>>>0?1:0)|0,this._b=r[7]>>>0<d[7]>>>0?1:0;for(var n=0;n<8;n++){var s=t[n]+r[n],l=s&65535,h=s>>>16,f=((l*l>>>17)+l*h>>>15)+h*h,w=((s&4294901760)*s|0)+((s&65535)*s|0);u[n]=f^w}t[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,t[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,t[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,t[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,t[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,t[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,t[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,t[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}g.Rabbit=C._createHelper(i)}(),e.Rabbit})})(rabbit);var rabbitLegacy={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.StreamCipher,_=g.algo,b=[],d=[],u=[],i=_.RabbitLegacy=C.extend({_doReset:function(){var t=this._key.words,r=this.cfg.iv,n=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],s=this._C=[t[2]<<16|t[2]>>>16,t[0]&4294901760|t[1]&65535,t[3]<<16|t[3]>>>16,t[1]&4294901760|t[2]&65535,t[0]<<16|t[0]>>>16,t[2]&4294901760|t[3]&65535,t[1]<<16|t[1]>>>16,t[3]&4294901760|t[0]&65535];this._b=0;for(var l=0;l<4;l++)o.call(this);for(var l=0;l<8;l++)s[l]^=n[l+4&7];if(r){var h=r.words,f=h[0],w=h[1],p=(f<<8|f>>>24)&16711935|(f<<24|f>>>8)&4278255360,y=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,v=p>>>16|y&4294901760,M=y<<16|p&65535;s[0]^=p,s[1]^=v,s[2]^=y,s[3]^=M,s[4]^=p,s[5]^=v,s[6]^=y,s[7]^=M;for(var l=0;l<4;l++)o.call(this)}},_doProcessBlock:function(t,r){var n=this._X;o.call(this),b[0]=n[0]^n[5]>>>16^n[3]<<16,b[1]=n[2]^n[7]>>>16^n[5]<<16,b[2]=n[4]^n[1]>>>16^n[7]<<16,b[3]=n[6]^n[3]>>>16^n[1]<<16;for(var s=0;s<4;s++)b[s]=(b[s]<<8|b[s]>>>24)&16711935|(b[s]<<24|b[s]>>>8)&4278255360,t[r+s]^=b[s]},blockSize:128/32,ivSize:64/32});function o(){for(var t=this._X,r=this._C,n=0;n<8;n++)d[n]=r[n];r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<d[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<d[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<d[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<d[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<d[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<d[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<d[6]>>>0?1:0)|0,this._b=r[7]>>>0<d[7]>>>0?1:0;for(var n=0;n<8;n++){var s=t[n]+r[n],l=s&65535,h=s>>>16,f=((l*l>>>17)+l*h>>>15)+h*h,w=((s&4294901760)*s|0)+((s&65535)*s|0);u[n]=f^w}t[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,t[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,t[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,t[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,t[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,t[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,t[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,t[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}g.RabbitLegacy=C._createHelper(i)}(),e.RabbitLegacy})})(rabbitLegacy);var blowfish={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.BlockCipher,_=g.algo;const b=16,d=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],u=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var i={pbox:[],sbox:[]};function o(l,h){let f=h>>24&255,w=h>>16&255,p=h>>8&255,y=h&255,v=l.sbox[0][f]+l.sbox[1][w];return v=v^l.sbox[2][p],v=v+l.sbox[3][y],v}function t(l,h,f){let w=h,p=f,y;for(let v=0;v<b;++v)w=w^l.pbox[v],p=o(l,w)^p,y=w,w=p,p=y;return y=w,w=p,p=y,p=p^l.pbox[b],w=w^l.pbox[b+1],{left:w,right:p}}function r(l,h,f){let w=h,p=f,y;for(let v=b+1;v>1;--v)w=w^l.pbox[v],p=o(l,w)^p,y=w,w=p,p=y;return y=w,w=p,p=y,p=p^l.pbox[1],w=w^l.pbox[0],{left:w,right:p}}function n(l,h,f){for(let M=0;M<4;M++){l.sbox[M]=[];for(let D=0;D<256;D++)l.sbox[M][D]=u[M][D]}let w=0;for(let M=0;M<b+2;M++)l.pbox[M]=d[M]^h[w],w++,w>=f&&(w=0);let p=0,y=0,v=0;for(let M=0;M<b+2;M+=2)v=t(l,p,y),p=v.left,y=v.right,l.pbox[M]=p,l.pbox[M+1]=y;for(let M=0;M<4;M++)for(let D=0;D<256;D+=2)v=t(l,p,y),p=v.left,y=v.right,l.sbox[M][D]=p,l.sbox[M][D+1]=y;return!0}var s=_.Blowfish=C.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var l=this._keyPriorReset=this._key,h=l.words,f=l.sigBytes/4;n(i,h,f)}},encryptBlock:function(l,h){var f=t(i,l[h],l[h+1]);l[h]=f.left,l[h+1]=f.right},decryptBlock:function(l,h){var f=r(i,l[h],l[h+1]);l[h]=f.left,l[h+1]=f.right},blockSize:64/32,keySize:128/32,ivSize:64/32});g.Blowfish=C._createHelper(s)}(),e.Blowfish})})(blowfish),function(a,m){(function(e,g,A){a.exports=g(core.exports,x64Core.exports,libTypedarrays.exports,encUtf16.exports,encBase64.exports,encBase64url.exports,md5.exports,sha1.exports,sha256.exports,sha224.exports,sha512.exports,sha384.exports,sha3.exports,ripemd160.exports,hmac.exports,pbkdf2.exports,evpkdf.exports,cipherCore.exports,modeCfb.exports,modeCtr.exports,modeCtrGladman.exports,modeOfb.exports,modeEcb.exports,padAnsix923.exports,padIso10126.exports,padIso97971.exports,padZeropadding.exports,padNopadding.exports,formatHex.exports,aes.exports,tripledes.exports,rc4.exports,rabbit.exports,rabbitLegacy.exports,blowfish.exports)})(commonjsGlobal,function(e){return e})}(cryptoJs),useCookies();const getToken=()=>sessionStorage.getItem("Authorization");useCookies();const service$1=axios.create({baseURL:"/api",timeout:5e4,headers:{"Content-Type":"application/json;charset=utf-8"}});service$1.interceptors.request.use(a=>{a.headers.Client="web";const m=getToken(),e=sessionStorage.getItem("companyId"),g=sessionStorage.getItem("postId");return m&&(a.headers.Authorization=getToken()),e&&(a.headers.Company=e),g&&(a.headers.Post=g),a},a=>Promise.reject(a)),service$1.interceptors.response.use(a=>{const{responseType:m}=a.config;if(m==="blob")return a;const{code:e,data:g,msg:A,message:C}=a.data;return e&&e!==200?(elementPlus.ElMessage({message:A||C||"\u7CFB\u7EDF\u51FA\u9519",type:"error",showClose:!0}),Promise.reject(A||C||"\u7CFB\u7EDF\u51FA\u9519")):g&&g.code&&g.code!==200?(elementPlus.ElMessage({message:A||g.msg||g.message||"\u7CFB\u7EDF\u51FA\u9519",type:"error",showClose:!0}),Promise.reject(g.msg||C)):a.data},a=>{if(console.log(a,"error"),a.response){const{message:m,status:e,data:g}=a.response;if(e===401&&(document.querySelector(".login-expired-notice")||elementPlus.ElMessage({message:"\u60A8\u7684\u4EE4\u724C\u65E0\u6548\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55",type:"error",showClose:!0})),e===401){document.querySelector(".login-expired-notice")||elementPlus.ElMessage({message:"\u60A8\u7684\u767B\u5F55\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55",type:"error",showClose:!0});return}elementPlus.ElMessage({message:(g==null?void 0:g.msg)||(g==null?void 0:g.message)||m||a.message||"\u7CFB\u7EDF\u51FA\u9519",type:"error",showClose:!0})}return Promise.reject(a.msg||a.message||a||"\u7CFB\u7EDF\u51FA\u9519")});var companyIcon="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NC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gICAgPC9nPg0KICAgICAgICA8L2c+DQogICAgPC9nPg0KPC9zdmc+",personTree="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiIHZpZXdCb3g9IjAgMCA2IDYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+DQogICAgPHRpdGxlPue8lue7hCA35aSH5Lu9IDg8L3RpdGxlPg0KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIGlkPSLpgInmi6nkurrlkZgt6Leo5Y2V5L2NLeWkmumAiSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTc3MCwgLTQxMCkiIGZpbGw9IiNFNUU2RUEiPg0KICAgICAgICAgICAgPGcgaWQ9Iue8lue7hC035aSH5Lu9LTgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDc3MCwgNDEwKSI+DQogICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iNiI+PC9yZWN0Pg0KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaLlpIfku70tMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMywgNS41KSByb3RhdGUoLTkwKSB0cmFuc2xhdGUoLTMsIC01LjUpIiB4PSIyLjUiIHk9IjIuNSIgd2lkdGg9IjEiIGhlaWdodD0iNiI+PC9yZWN0Pg0KICAgICAgICAgICAgPC9nPg0KICAgICAgICA8L2c+DQogICAgPC9nPg0KPC9zdmc+",personIcon="data:image/svg+xml;base64,P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BMMTUuNTY4NDgwOCwyMS4xOTkxMjk5IEMxNS41OTA2Mzc5LDIxLjE0NDQ0NDMgMTUuNTk0NjY2NCwyMS4wODQxMDE1IDE1LjU4MDAwOTMsMjEuMDI2OTczMSBMMTQuODE3OTI1LDE4LjA2Mjg5MjYgQzE0Ljc4NjU5NjUsMTcuOTQxMTM1NyAxNC42NzY3OTY2LDE3Ljg1NTk3ODcgMTQuNTUxMDU0LDE3Ljg1NTk3ODciIGlkPSJGaWxsLTE1IiBmaWxsPSIjQTNBREMzIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=",personTreeItem_vue_vue_type_style_index_0_lang="",personTreeItem_vue_vue_type_style_index_1_scoped_true_lang="";const _sfc_main$r={name:"person-tree-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{dialogVisible:!1,fieldModel:null,oldFieldValue:null,rules:[],treeData:[],defaultProps:{children:"children",label:"name"},checkedNodes:[],treeRef:null,defaultExpandedKeys:[],currentNodeKey:null,search:""}},computed:{displayModel:{get(){return this.fieldModel!=null?this.fieldModel:[]},set(a){this.fieldModel=a}},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(),this.getTreeData()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleRemoveTag(a,m){if(this.field.options.disabled)return;const e=Array.isArray(this.fieldModel)?this.fieldModel:[];let g;a!=null&&typeof m=="number"&&m>=0?(g=deepClone(e),g.splice(m,0,a)):g=deepClone(e),this.oldFieldValue=g,this.syncUpdateFormModel(e),this.emitFieldDataChange(e,this.oldFieldValue),this.triggerEvent("onRemoveTag",a,e,m),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},getTreeData(){const a=this.field.options.treeParams?JSON.parse(this.field.options.treeParams):{};if(a.isNeedDeptId){const m=localStorage.getItem("userInfo")||"";a.deptIds=m?[JSON.parse(m).deptId]:[]}service$1({method:"post",url:"/unified-system/sysCompany/fullTree",data:ze({companyId:sessionStorage.getItem("companyId")},a)}).then(({data:m})=>{this.treeData=e(m);function e(g){var A;for(const C of g)C.nodeKey=C.joinUserId||C.id,C.children&&((A=C.children)==null?void 0:A.length)&&e(C.children);return g}this.$nextTick(()=>{this.applyTreeFilter()})})},filterNode(a,m){if(a==null||String(a).trim()==="")return!0;const e=String(a).trim().toLowerCase(),g=(m.name||"").toLowerCase();return(m.postName||"").toLowerCase(),g.includes(e)},applyTreeFilter(){this.$refs.treeRef&&typeof this.$refs.treeRef.filter=="function"&&this.$refs.treeRef.filter(this.search)},renderContent(a,{node:m,data:e}){return a("div",{class:"custom-tree-node"},[m.level===1&&a("img",{src:companyIcon,alt:""}),m.level===2&&a("img",{src:deptIcon,alt:""}),m.level===3&&a("img",{src:personTree,alt:""}),m.level===3&&a("div",{class:"avatar mr-6px",style:{backgroundImage:`url(${e.avatarUrl||personIcon})`}}),[a("div",{class:m.level===1?"text-#1D2129":"text-#4E5969 ",style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,width:"80%"}},e.postName?`${m.label}\uFF08${e.postName}\uFF09`:m.label),m.level===3&&!this.field.options.multiple&&a("div",{class:`personRadio-checked-icon ${(e==null?void 0:e.nodeKey)===this.currentNodeKey?"personRadio-checked":""}`})]])},handleClick(){this.getTreeData(),this.dialogVisible=!0,this.triggerEvent("onOpen"),this.$nextTick(()=>{this.field.options.multiple?this.fieldModel&&this.fieldModel.length>0?(this.$refs.treeRef.setCheckedKeys(this.fieldModel.map(a=>a.nodeKey)),this.defaultExpandedKeys=this.fieldModel.map(a=>a.nodeKey)):(this.$refs.treeRef.setCheckedKeys([]),this.defaultExpandedKeys=[]):(this.currentNodeKey=this.fieldModel&&this.fieldModel[0]?this.fieldModel[0].nodeKey:null,this.defaultExpandedKeys=this.currentNodeKey?[this.currentNodeKey]:[]),this.applyTreeFilter()})},handleNodeClick(a,m){this.field.options.multiple||(this.currentNodeKey=a.nodeKey)},handleCheck(){},handleConfirm(){var m;this.dialogVisible=!1,this.$nextTick(()=>{this.$refs.inputTagRef.blur()}),this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null;let a=[];if(this.field.options.multiple)a=(((m=this.$refs.treeRef)==null?void 0:m.getCheckedNodes())||[]).filter(e=>e.joinUserId).map(e=>({postName:e.postName,joinUserId:e.joinUserId,name:e.name,id:e.id,nodeKey:e.nodeKey,avatar:e.avatarUrl}));else{const e=this.currentNodeKey;if(e&&this.$refs.treeRef){const g=this.$refs.treeRef.getNode(e),A=g==null?void 0:g.data;(A==null?void 0:A.joinUserId)&&(a=[{joinUserId:A.joinUserId,name:A.name,id:A.id,nodeKey:A.nodeKey,avatar:A.avatarUrl,postName:A.postName}])}}this.fieldModel=a,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",a),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},handleCancel(){this.dialogVisible=!1,this.triggerEvent("onCancel"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()]),this.$nextTick(()=>{this.$refs.inputTagRef.blur()})},handleClose(){this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(a,...m){var g,A;const e=(A=(g=this.field)==null?void 0:g.options)==null?void 0:A[a];if(e)try{if(a==="onConfirm"&&m.length>0){const C=m[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,C,C,C)}else if(a==="onRemoveTag"&&m.length>=2){const C=m[0],_=m[1],b=m[2];new Function("removedItem","remainingNodes","remainingValue","selectedValue","removedIndex",e).call(this,C,_,_,_,b)}else if(m.length>0){const C=m.map((b,d)=>`arg${d}`).join(", ");new Function(C,e).apply(this,m)}else new Function(e).call(this)}catch(C){console.error(`Error executing ${a} handler:`,C),console.error("Handler code:",e),console.error("Args:",m)}},handleSearch(){this.$nextTick(()=>{this.applyTreeFilter()})}}},_hoisted_1$l={class:"person-tree-widget__trigger"},_hoisted_2$f={class:"flex items-center"},_hoisted_3$d={class:"dialog-footer"};function _sfc_render$r(a,m,e,g,A,C){const _=vue.resolveComponent("el-input-tag"),b=vue.resolveComponent("el-input"),d=vue.resolveComponent("el-tree"),u=vue.resolveComponent("el-scrollbar"),i=vue.resolveComponent("el-button"),o=vue.resolveComponent("el-dialog"),t=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(t,{designer:e.designer,field:e.field,rules:A.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:"person-tree-widget",style:vue.normalizeStyle(C.widgetStyle)},[vue.createElementVNode("div",_hoisted_1$l,[vue.createVNode(_,{modelValue:C.displayModel,"onUpdate:modelValue":m[0]||(m[0]=r=>C.displayModel=r),"tag-type":"success","tag-effect":"light",disabled:e.field.options.disabled,placeholder:"\u8BF7\u9009\u62E9\u4EBA\u5458",onClick:C.handleClick,ref:"inputTagRef",onRemoveTag:C.handleRemoveTag},{tag:vue.withCtx(({value:r})=>[vue.createElementVNode("div",_hoisted_2$f,[vue.createElementVNode("span",null,vue.toDisplayString(r.name),1)])]),_:1},8,["modelValue","disabled","onClick","onRemoveTag"])]),vue.createVNode(o,{modelValue:A.dialogVisible,"onUpdate:modelValue":m[2]||(m[2]=r=>A.dialogVisible=r),title:e.field.options.dialogTitle||"\u4EBA\u5458\u6811",width:"480px",onClose:C.handleClose,"body-class":"person-tree-dialog-body","header-class":"person-tree-dialog-header"},vue.createSlots({default:vue.withCtx(()=>[vue.createVNode(b,{modelValue:A.search,"onUpdate:modelValue":m[1]||(m[1]=r=>A.search=r),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u8FDB\u884C\u641C\u7D22",onInput:C.handleSearch,class:"pr-24px mb-30px"},null,8,["modelValue","onInput"]),vue.createVNode(u,{height:"514px",class:"pr-24px"},{default:vue.withCtx(()=>[vue.createVNode(d,{data:A.treeData,"show-checkbox":e.field.options.multiple,props:A.defaultProps,"render-content":C.renderContent,"node-key":"nodeKey",ref:"treeRef","default-expanded-keys":A.defaultExpandedKeys,"filter-node-method":C.filterNode,"highlight-current":!e.field.options.multiple,"current-node-key":A.currentNodeKey,onNodeClick:C.handleNodeClick,onCheck:C.handleCheck},null,8,["data","show-checkbox","props","render-content","default-expanded-keys","filter-node-method","highlight-current","current-node-key","onNodeClick","onCheck"])]),_:1})]),_:2},[e.field.options.hideFooter?void 0:{name:"footer",fn:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$d,[vue.createVNode(i,{onClick:C.handleCancel,size:"default"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.cancelText||"\u53D6\u6D88"),1)]),_:1},8,["onClick"]),vue.createVNode(i,{type:"primary",onClick:C.handleConfirm,size:"default"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.confirmText||"\u786E\u5B9A"),1)]),_:1},8,["onClick"])])]),key:"0"}]),1032,["modelValue","title","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 PersonTreeWidget=_export_sfc$1(_sfc_main$r,[["render",_sfc_render$r],["__scopeId","data-v-2f0d2d47"]]);const _sfc_main$q={name:"radio-other-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{fieldModel:null,oldFieldValue:null,rules:[],inputValue:"",radioValue:null}},computed:{widgetSize(){return this.field.options.size||"default"},options(){return[...this.field.options.optionItems||[],{value:"_RADIO_OTHER_",label:"\u5176\u4ED6"}]}},watch:{fieldModel:{handler(a){if(typeof a=="string"&&a.includes("_RADIO_OTHER_")){const[m,e]=a.split("&");this.radioValue=m||"_RADIO_OTHER_",this.inputValue=e}else this.radioValue=a,this.inputValue=""}},immediate:!0},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleChangeEvent(a){this.oldFieldValue=this.fieldModel,this.radioValue=a,this.inputValue="",a==="_RADIO_OTHER_"?(this.fieldModel=a,this.inputValue?this.syncUpdateFormModel(`${a}&${this.inputValue}`):this.syncUpdateFormModel(a)):(this.otherValue="",this.fieldModel=a,this.syncUpdateFormModel(a)),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleOtherValueChange(){if(this.radioValue==="_RADIO_OTHER_"){const a=this.inputValue?`${this.radioValue}&${this.inputValue}`:this.radioValue;this.oldFieldValue=this.fieldModel,this.syncUpdateFormModel(a),this.emitFieldDataChange(a,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])}}}};function _sfc_render$q(a,m,e,g,A,C){const _=vue.resolveComponent("el-radio"),b=vue.resolveComponent("el-radio-group"),d=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:A.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,{modelValue:A.radioValue,"onUpdate:modelValue":m[0]||(m[0]=i=>A.radioValue=i),class:vue.normalizeClass({"radio-group-block":e.field.options.displayStyle==="block"}),disabled:e.field.options.disabled,size:C.widgetSize,onChange:C.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(C.options,(i,o)=>(vue.openBlock(),vue.createBlock(_,{key:o,label:i.value,disabled:i.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createElementVNode("span",null,vue.toDisplayString(i.label),1)]),_:2},1032,["label","disabled","border","style"]))),128))]),_:1},8,["modelValue","class","disabled","size","onChange"]),A.radioValue==="_RADIO_OTHER_"?(vue.openBlock(),vue.createBlock(d,{key:0,modelValue:A.inputValue,"onUpdate:modelValue":m[1]||(m[1]=i=>A.inputValue=i),disabled:e.field.options.disabled,onInput:m[2]||(m[2]=i=>C.handleOtherValueChange()),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue","disabled"])):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 radioOtherItem=_export_sfc$1(_sfc_main$q,[["render",_sfc_render$q]]);const _sfc_main$p={name:"select-other-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,otherValue:"",rules:[]}},computed:{widgetSize(){return this.field.options.size||"default"},allowDefaultFirstOption(){return!!this.field.options.filterable&&!!this.field.options.allowCreate},optionItems(){return[...this.field.options.optionItems||[],{value:"_SELECT_OTHER_",label:"\u5176\u4ED6"}]},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:{handleChangeEvent(a){this.oldFieldValue=this.fieldModel,a==="_SELECT_OTHER_"?(this.fieldModel=a,this.otherValue?this.syncUpdateFormModel(`${a}${this.otherValue}`):this.syncUpdateFormModel(a)):(this.otherValue="",this.fieldModel=a,this.syncUpdateFormModel(a)),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleOtherValueChange(){if(this.fieldModel==="_SELECT_OTHER_"){const a=this.otherValue?`${this.fieldModel}${this.otherValue}`:this.fieldModel;this.oldFieldValue=this.fieldModel,this.syncUpdateFormModel(a),this.emitFieldDataChange(a,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])}}}};function _sfc_render$p(a,m,e,g,A,C){const _=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),d=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:A.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:A.fieldModel,"onUpdate:modelValue":m[0]||(m[0]=i=>A.fieldModel=i),class:"full-width-input",disabled:e.field.options.disabled,size:C.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":C.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||a.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":C.remoteMethod,onFocus:a.handleFocusCustomEvent,onBlur:a.handleBlurCustomEvent,onChange:C.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(C.optionItems,i=>(vue.openBlock(),vue.createBlock(_,{key:i.value,label:i.label,value:i.value,disabled:i.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"]),A.fieldModel==="_SELECT_OTHER_"?(vue.openBlock(),vue.createBlock(d,{key:0,modelValue:A.otherValue,"onUpdate:modelValue":m[1]||(m[1]=i=>A.otherValue=i),placeholder:"\u8BF7\u8F93\u5165\u5176\u4ED6\u9009\u9879",onChange:C.handleOtherValueChange,class:"mt-10px"},null,8,["modelValue","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 selectOtherItem=_export_sfc$1(_sfc_main$p,[["render",_sfc_render$p]]),meetingRoomItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$o={name:"meeting-room-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,Loading:loading},data(){return{oldFieldValue:null,fieldModel:null,rules:[],popoverWidth:0,roomList:[],loading:!1,popoverVisible:!1}},computed:{widgetSize(){return this.field.options.size||"default"},roomValue(){if(this.field.options.allowMultiple)return!this.fieldModel||!Array.isArray(this.fieldModel)||this.fieldModel.length===0?"":this.roomList.filter(m=>this.fieldModel.some(e=>String(e)===String(m.id))).map(m=>m.roomName).join("\u3001");{const a=this.roomList.find(m=>String(m.id)===String(this.fieldModel));return a?a.roomName:""}}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted(),this.$nextTick(()=>{this.updatePopoverWidth()})},beforeUnmount(){this.unregisterFromRefList()},methods:{handleSelect(a){return this.field.options.allowMultiple?this.fieldModel&&Array.isArray(this.fieldModel)&&this.fieldModel.length?this.fieldModel.some(m=>String(m)===String(a.id)):!1:String(this.fieldModel)===String(a.id)},handleChangeEvent(a){this.oldFieldValue=this.fieldModel,this.fieldModel=a,this.syncUpdateFormModel(a),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updatePopoverWidth(){this.$refs.inputRef&&this.$refs.inputRef.$el&&(this.popoverWidth=this.$refs.inputRef.$el.offsetWidth||0)},handlePopoverShow(){this.field.options.remoteUrl&&this.fetchRoomList()},fetchRoomList(){!this.field.options.remoteUrl||(this.loading=!0,this.roomList=[],service$1.get(this.field.options.remoteUrl).then(a=>{let m=a;a&&a.data&&(m=a.data),Array.isArray(m)?this.roomList=m:m&&Array.isArray(m.data)?this.roomList=m.data:m&&Array.isArray(m.list)?this.roomList=m.list:this.roomList=[]}).catch(a=>{console.error("\u83B7\u53D6\u4F1A\u8BAE\u5BA4\u5217\u8868\u5931\u8D25:",a),this.roomList=[]}).finally(()=>{this.loading=!1}))},handleSelectRoom({id:a}){if(this.oldFieldValue=this.fieldModel,this.field.options.allowMultiple){this.fieldModel||(this.fieldModel=[]);const m=String(a),e=this.fieldModel.findIndex(g=>String(g)===m);e!==-1?this.fieldModel.splice(e,1):this.fieldModel.push(a)}else this.fieldModel=a,this.popoverVisible=!1;this.syncUpdateFormModel(this.fieldModel),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])}}},_hoisted_1$k={key:0,class:"empty-wrap"},_hoisted_2$e={key:1,class:"room-wrap"},_hoisted_3$c=["onClick"],_hoisted_4$a={class:"select-icon"},_hoisted_5$8={class:"room-item-name"},_hoisted_6$8={key:0,class:"room-item-capacity"},_hoisted_7$5={key:1,class:"room-item-equipment"};function _sfc_render$o(a,m,e,g,A,C){const _=vue.resolveComponent("el-input"),b=vue.resolveComponent("el-empty"),d=vue.resolveComponent("Select"),u=vue.resolveComponent("el-icon"),i=vue.resolveComponent("el-popover"),o=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(o,{designer:e.designer,field:e.field,rules:A.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(i,{visible:A.popoverVisible,"onUpdate:visible":m[1]||(m[1]=t=>A.popoverVisible=t),trigger:"click",placement:"top-start",width:A.popoverWidth,onShow:C.handlePopoverShow},{reference:vue.withCtx(()=>[vue.createVNode(_,{modelValue:C.roomValue,"onUpdate:modelValue":m[0]||(m[0]=t=>C.roomValue=t),class:"full-width-input",disabled:e.field.options.disabled,size:C.widgetSize,ref:"inputRef",readonly:"",placeholder:e.field.options.placeholder||"\u8BF7\u9009\u62E9\u4F1A\u8BAE\u5BA4"},null,8,["modelValue","disabled","size","placeholder"])]),default:vue.withCtx(()=>[vue.createElementVNode("div",null,[A.roomList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$k,[vue.createVNode(b,{description:"\u6682\u65E0\u6570\u636E"})])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$e,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(A.roomList,t=>{var r;return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["room-item",{selected:e.field.options.allowMultiple?(r=A.fieldModel)==null?void 0:r.includes(t.id):A.fieldModel===t.id}]),key:t.id||t.value,onClick:n=>C.handleSelectRoom(t)},[vue.withDirectives(vue.createElementVNode("div",_hoisted_4$a,[vue.createVNode(u,null,{default:vue.withCtx(()=>[vue.createVNode(d)]),_:1})],512),[[vue.vShow,C.handleSelect(t)]]),vue.createElementVNode("div",_hoisted_5$8,[vue.createElementVNode("span",null,vue.toDisplayString(t.roomName),1)]),t.capacity?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$8,[vue.createElementVNode("span",null,"\u5BB9\u91CF\uFF1A"+vue.toDisplayString(t.capacity),1)])):vue.createCommentVNode("",!0),t.equipment?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$5,[vue.createElementVNode("span",null,"\u8BBE\u5907\uFF1A"+vue.toDisplayString(t.equipment),1)])):vue.createCommentVNode("",!0)],10,_hoisted_3$c)}),128))]))])]),_:1},8,["visible","width","onShow"])]),_: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 meetingRoomItem=_export_sfc$1(_sfc_main$o,[["render",_sfc_render$o],["__scopeId","data-v-344c32a1"]]),gridColWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$n={name:"GridColWidget",componentName:"GridColWidget",mixins:[i18n$1,refMixinDesign],inject:["refList"],components:ht(ze({},comps),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,colHeight:{type:String,default:null},fieldSchemaData:{type:Array,default:void 0}},data(){return{layoutProps:{span:this.widget.options.span||12,offset:this.widget.options.offset||0,push:this.widget.options.push||0,pull:this.widget.options.pull||0}}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},colHeightStyle(){return this.colHeight?{height:this.colHeight+"px"}:{}}},watch:{"widget.options.name":{handler(a,m){this.registerToRefList(m)}},"designer.formConfig.layoutType":{handler(a){this.widget.options.responsive?a==="H5"?this.layoutProps.span=this.widget.options.xs||12:a==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12:this.layoutProps.span=this.widget.options.span||12}},"widget.options.responsive":{handler(a){let m=this.designer.formConfig.layoutType;a?m==="H5"?this.layoutProps.span=this.widget.options.xs||12:m==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12:this.layoutProps.span=this.widget.options.span||12}},"widget.options.span":{handler(a){this.layoutProps.span=a}},"widget.options.md":{handler(a){this.layoutProps.span=a}},"widget.options.sm":{handler(a){this.layoutProps.span=a}},"widget.options.xs":{handler(a){this.layoutProps.span=a}},"widget.options.offset":{handler(a){this.layoutProps.offset=a}},"widget.options.push":{handler(a){this.layoutProps.push=a}},"widget.options.pull":{handler(a){this.layoutProps.pull=a}}},created(){this.initRefList(),this.initLayoutProps()},beforeUnmount(){var a,m;this.refList!=null&&((m=(a=this.widget)==null?void 0:a.options)==null?void 0:m.name)&&delete this.refList[this.widget.options.name]},methods:{setHidden(a){this.widget.options.hidden=!!a,this.$nextTick(()=>this.$forceUpdate())},initLayoutProps(){if(this.widget.options.responsive){let a=this.designer.formConfig.layoutType;a==="H5"?this.layoutProps.span=this.widget.options.xs||12:a==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12}else this.layoutProps.span=this.widget.options.span},onGridDragEnd(a,m){},onGridDragAdd(a,m){const e=a.newIndex;m[e]&&this.designer.setSelected(m[e]),this.designer.emitHistoryChange()},onGridDragUpdate(){this.designer.emitHistoryChange()},selectWidget(a){console.log("id: "+a.id),this.designer.setSelected(a)},checkContainerMove(a){return this.designer.checkWidgetMove(a)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList)},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList)},cloneGridCol(a){this.designer.cloneGridCol(a,this.parentWidget)},removeWidget(){if(this.parentList){let a=null;this.parentList.length===1?this.parentWidget&&(a=this.parentWidget):this.parentList.length===1+this.indexOfParentList?a=this.parentList[this.indexOfParentList-1]:a=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(a),this.designer.emitHistoryChange()})}}}},_hoisted_1$j={class:"form-widget-list"},_hoisted_2$d={key:0,class:"grid-col-action"},_hoisted_3$b=["title"],_hoisted_4$9=["title"],_hoisted_5$7=["title"],_hoisted_6$7=["title"],_hoisted_7$4=["title"],_hoisted_8$4={key:1,class:"grid-col-handler"},_hoisted_9$3={key:0,class:"col-hidden-tag"};function _sfc_render$n(a,m,e,g,A,C){const _=vue.resolveComponent("draggable"),b=vue.resolveComponent("svg-icon"),d=vue.resolveComponent("el-col");return e.widget.type==="grid-col"&&(!e.widget.options.hidden||e.designer)?(vue.openBlock(),vue.createBlock(d,vue.mergeProps({key:0,class:"grid-cell"},A.layoutProps,{class:[C.selected?"selected":"",C.customClass],style:C.colHeightStyle,key:e.widget.id,onClick:m[7]||(m[7]=vue.withModifiers(u=>C.selectWidget(e.widget),["stop"]))}),{default:vue.withCtx(()=>[vue.createVNode(_,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:m[0]||(m[0]=u=>C.onGridDragEnd(u,e.widget.widgetList)),onAdd:m[1]||(m[1]=u=>C.onGridDragAdd(u,e.widget.widgetList)),onUpdate:C.onGridDragUpdate,move:C.checkContainerMove}),{item:vue.withCtx(({element:u,index:i})=>[vue.createElementVNode("div",_hoisted_1$j,[u.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(u.type+"-widget"),{widget:u,designer:e.designer,key:u.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"field-schema-data":e.fieldSchemaData&&e.fieldSchemaData[i]?e.fieldSchemaData[i]:void 0},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget","field-schema-data"])):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(e.fieldSchemaData)+" ",1),(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(u.type+"-widget"),{field:e.fieldSchemaData&&e.fieldSchemaData[i]?e.fieldSchemaData[i]:u,designer:e.designer,key:e.fieldSchemaData&&e.fieldSchemaData[i]?e.fieldSchemaData[i].id:u.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"]))],64))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="grid-col"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$d,[vue.createElementVNode("i",{title:a.i18nt("designer.hint.selectParentWidget"),onClick:m[2]||(m[2]=vue.withModifiers(u=>C.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(b,{"icon-class":"el-back"})],8,_hoisted_3$b),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:a.i18nt("designer.hint.moveUpWidget"),onClick:m[3]||(m[3]=vue.withModifiers(u=>C.moveUpWidget(),["stop"]))},[vue.createVNode(b,{"icon-class":"el-move-up"})],8,_hoisted_4$9)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:a.i18nt("designer.hint.moveDownWidget"),onClick:m[4]||(m[4]=vue.withModifiers(u=>C.moveDownWidget(),["stop"]))},[vue.createVNode(b,{"icon-class":"el-move-down"})],8,_hoisted_5$7)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:a.i18nt("designer.hint.cloneWidget"),onClick:m[5]||(m[5]=vue.withModifiers(u=>C.cloneGridCol(e.widget),["stop"]))},[vue.createVNode(b,{"icon-class":"el-clone"})],8,_hoisted_6$7),vue.createElementVNode("i",{title:a.i18nt("designer.hint.remove"),onClick:m[6]||(m[6]=vue.withModifiers((...u)=>C.removeWidget&&C.removeWidget(...u),["stop"]))},[vue.createVNode(b,{"icon-class":"el-delete"})],8,_hoisted_7$4)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="grid-col"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$4,[vue.createElementVNode("i",null,vue.toDisplayString(a.i18nt("designer.widgetLabel."+e.widget.type)),1),e.widget.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_9$3,[vue.createVNode(b,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)]),_:1},16,["class","style"])):vue.createCommentVNode("",!0)}var GridColWidget=_export_sfc$1(_sfc_main$n,[["render",_sfc_render$n],["__scopeId","data-v-cb053c20"]]),__glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:GridColWidget},Symbol.toStringTag,{value:"Module"})),gridWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$m={name:"grid-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,GridColWidget},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||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{}};function _sfc_render$m(a,m,e,g,A,C){const _=vue.resolveComponent("grid-col-widget"),b=vue.resolveComponent("el-row"),d=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(d,{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(b,{key:e.widget.id,gutter:e.widget.options.gutter,class:vue.normalizeClass(["grid-container",[C.selected?"selected":"",C.customClass]]),onClick:m[0]||(m[0]=vue.withModifiers(u=>a.selectWidget(e.widget),["stop"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.cols,(u,i)=>(vue.openBlock(),vue.createBlock(_,{key:u.id,widget:u,designer:e.designer,"parent-list":e.widget.cols,"index-of-parent-list":i,"parent-widget":e.widget,"col-height":e.widget.options.colHeight},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget","col-height"]))),128))]),_:1},8,["gutter","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var gridWidget=_export_sfc$1(_sfc_main$m,[["render",_sfc_render$m],["__scopeId","data-v-2b4f7bb7"]]),__glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:gridWidget},Symbol.toStringTag,{value:"Module"})),tabWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$l={name:"tab-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:ze({ContainerWrapper},comps),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{activeTab:"tab1"}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{onTabClick(a){let m=a.paneName;this.widget.tabs.forEach(e=>{e.options.active=e.options.name===m})}}},_hoisted_1$i={class:"form-widget-list"};function _sfc_render$l(a,m,e,g,A,C){const _=vue.resolveComponent("draggable"),b=vue.resolveComponent("el-tab-pane"),d=vue.resolveComponent("el-tabs"),u=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(u,{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.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["tab-container",{selected:C.selected}]),onClick:m[2]||(m[2]=vue.withModifiers(i=>a.selectWidget(e.widget),["stop"]))},[vue.createVNode(d,{type:e.widget.displayType,modelValue:A.activeTab,"onUpdate:modelValue":m[1]||(m[1]=i=>A.activeTab=i),onTabClick:C.onTabClick},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.tabs,(i,o)=>(vue.openBlock(),vue.createBlock(b,{key:o,label:i.options.label,name:i.options.name,onClick:m[0]||(m[0]=vue.withModifiers(t=>a.selectWidget(e.widget),["stop"]))},{default:vue.withCtx(()=>[vue.createVNode(_,vue.mergeProps({list:i.widgetList,"item-key":"id"},{ref_for:!0},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:t=>a.onContainerDragAdd(t,i.widgetList),onUpdate:a.onContainerDragUpdate,move:a.checkContainerMove}),{item:vue.withCtx(({element:t,index:r})=>[vue.createElementVNode("div",_hoisted_1$i,[t.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.type+"-widget"),{widget:t,designer:e.designer,key:t.id,"parent-list":i.widgetList,"index-of-parent-list":r,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.type+"-widget"),{field:t,designer:e.designer,key:t.id,"parent-list":i.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:2},1040,["list","onAdd","onUpdate","move"])]),_:2},1032,["label","name"]))),128))]),_:1},8,["type","modelValue","onTabClick"])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var tabWidget=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$l],["__scopeId","data-v-2c29f864"]]),__glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:tabWidget},Symbol.toStringTag,{value:"Module"})),tableCellWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$k={name:"TableCellWidget",componentName:"TableCellWidget",mixins:[i18n$1,refMixinDesign],inject:["refList"],components:ht(ze({},comps),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,rowIndex:Number,colIndex:Number,rowLength:Number,colLength:Number,colArray:Array,rowArray:Array,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},mergeLeftColDisabled(){return this.colIndex<=0||this.colArray[this.colIndex-1].options.rowspan!==this.widget.options.rowspan},mergeRightColDisabled(){let a=this.colIndex+this.widget.options.colspan;return this.colIndex>=this.colLength-1||a>this.colLength-1||this.colArray[a].options.rowspan!==this.widget.options.rowspan},mergeWholeRowDisabled(){return this.colLength<=1||this.colLength===this.widget.options.colspan},mergeAboveRowDisabled(){return this.rowIndex<=0||this.rowArray[this.rowIndex-1].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeBelowRowDisabled(){let a=this.rowIndex+this.widget.options.rowspan;return this.rowIndex>=this.rowLength-1||a>this.rowLength-1||this.rowArray[a].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeWholeColDisabled(){return this.rowLength<=1||this.rowLength===this.widget.options.rowspan},undoMergeColDisabled(){return this.widget.merged||this.widget.options.colspan<=1},undoMergeRowDisabled(){return this.widget.merged||this.widget.options.rowspan<=1},deleteWholeColDisabled(){return this.colLength===1||this.widget.options.colspan===this.colLength},deleteWholeRowDisabled(){return this.rowLength===1||this.widget.options.rowspan===this.rowLength}},watch:{},created(){this.initRefList()},methods:{selectWidget(a){this.designer.setSelected(a)},checkContainerMove(a){return this.designer.checkWidgetMove(a)},onTableDragEnd(a,m){},onTableDragAdd(a,m){const e=a.newIndex;m[e]&&this.designer.setSelected(m[e]),this.designer.emitHistoryChange()},onTableDragUpdate(){this.designer.emitHistoryChange()},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},handleTableCellCommand(a){a==="insertLeftCol"?this.insertLeftCol():a==="insertRightCol"?this.insertRightCol():a==="insertAboveRow"?this.insertAboveRow():a==="insertBelowRow"?this.insertBelowRow():a==="mergeLeftCol"?this.mergeLeftCol():a==="mergeRightCol"?this.mergeRightCol():a==="mergeWholeCol"?this.mergeWholeCol():a==="mergeAboveRow"?this.mergeAboveRow():a==="mergeBelowRow"?this.mergeBelowRow():a==="mergeWholeRow"?this.mergeWholeRow():a==="undoMergeCol"?this.undoMergeCol():a==="undoMergeRow"?this.undoMergeRow():a==="deleteWholeCol"?this.deleteWholeCol():a==="deleteWholeRow"&&this.deleteWholeRow()},insertLeftCol(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!0)},insertRightCol(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!1)},insertAboveRow(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!0)},insertBelowRow(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!1)},mergeLeftCol(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeRightCol(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeRow(){this.designer.mergeTableWholeRow(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},mergeAboveRow(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeBelowRow(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeCol(){this.designer.mergeTableWholeCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},undoMergeCol(){this.designer.undoMergeTableCol(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},undoMergeRow(){this.designer.undoMergeTableRow(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},deleteWholeCol(){this.designer.deleteTableWholeCol(this.rowArray,this.colIndex)},deleteWholeRow(){this.designer.deleteTableWholeRow(this.rowArray,this.rowIndex)}}},_hoisted_1$h=["colspan","rowspan"],_hoisted_2$c={class:"form-widget-list"},_hoisted_3$a={key:0,class:"table-cell-action"},_hoisted_4$8=["title"],_hoisted_5$6=["title"],_hoisted_6$6={key:1,class:"table-cell-handler"};function _sfc_render$k(a,m,e,g,A,C){const _=vue.resolveComponent("draggable"),b=vue.resolveComponent("svg-icon"),d=vue.resolveComponent("el-dropdown-item"),u=vue.resolveComponent("el-dropdown-menu"),i=vue.resolveComponent("el-dropdown");return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["table-cell",[C.selected?"selected":"",C.customClass]]),style:vue.normalizeStyle({width:e.widget.options.cellWidth+"!important"||"",height:e.widget.options.cellHeight+"!important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"}),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,onClick:m[3]||(m[3]=vue.withModifiers(o=>C.selectWidget(e.widget),["stop"]))},[vue.createVNode(_,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:m[0]||(m[0]=o=>C.onTableDragEnd(o,e.widget.widgetList)),onAdd:m[1]||(m[1]=o=>C.onTableDragAdd(o,e.widget.widgetList)),onUpdate:C.onTableDragUpdate,move:C.checkContainerMove}),{item:vue.withCtx(({element:o,index:t})=>[vue.createElementVNode("div",_hoisted_2$c,[o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{widget:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{field:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$a,[vue.createElementVNode("i",{title:a.i18nt("designer.hint.selectParentWidget"),onClick:m[2]||(m[2]=vue.withModifiers(o=>C.selectParentWidget(),["stop"]))},[vue.createVNode(b,{"icon-class":"el-back"})],8,_hoisted_4$8),vue.createVNode(i,{trigger:"click",onCommand:C.handleTableCellCommand,size:"small"},{dropdown:vue.withCtx(()=>[vue.createVNode(u,null,{default:vue.withCtx(()=>[vue.createVNode(d,{command:"insertLeftCol"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.insertColumnToLeft")),1)]),_:1}),vue.createVNode(d,{command:"insertRightCol"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.insertColumnToRight")),1)]),_:1}),vue.createVNode(d,{command:"insertAboveRow"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.insertRowAbove")),1)]),_:1}),vue.createVNode(d,{command:"insertBelowRow"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.insertRowBelow")),1)]),_:1}),vue.createVNode(d,{command:"mergeLeftCol",disabled:C.mergeLeftColDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.mergeLeftColumn")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"mergeRightCol",disabled:C.mergeRightColDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.mergeRightColumn")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"mergeWholeRow",disabled:C.mergeWholeRowDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.mergeEntireRow")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"mergeAboveRow",disabled:C.mergeAboveRowDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.mergeRowAbove")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"mergeBelowRow",disabled:C.mergeBelowRowDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.mergeRowBelow")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"mergeWholeCol",disabled:C.mergeWholeColDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.mergeEntireColumn")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"undoMergeRow",disabled:C.undoMergeRowDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.undoMergeRow")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"undoMergeCol",disabled:C.undoMergeColDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.undoMergeCol")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"deleteWholeCol",disabled:C.deleteWholeColDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.deleteEntireCol")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"deleteWholeRow",disabled:C.deleteWholeRowDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.deleteEntireRow")),1)]),_:1},8,["disabled"])]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("i",{title:a.i18nt("designer.hint.cellSetting")},[vue.createVNode(b,{"icon-class":"el-menu"})],8,_hoisted_5$6)]),_:1},8,["onCommand"])])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$6,[vue.createElementVNode("i",null,vue.toDisplayString(a.i18nt("designer.widgetLabel."+e.widget.type)),1)])):vue.createCommentVNode("",!0)],14,_hoisted_1$h)}var TableCellWidget=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$k],["__scopeId","data-v-2dc3e6c7"]]),__glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:TableCellWidget},Symbol.toStringTag,{value:"Module"})),tableWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$j={name:"table-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,TableCellWidget},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||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{}},_hoisted_1$g={class:"table-layout"};function _sfc_render$j(a,m,e,g,A,C){const _=vue.resolveComponent("table-cell-widget"),b=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(b,{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.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["table-container",[C.selected?"selected":"",C.customClass]]),onClick:m[0]||(m[0]=vue.withModifiers(d=>a.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("table",_hoisted_1$g,[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.id},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(d.cols,(i,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(_,{widget:i,designer:e.designer,key:i.id,"parent-list":e.widget.cols,"row-index":u,"row-length":e.widget.rows.length,"col-index":o,"col-length":d.cols.length,"col-array":d.cols,"row-array":e.widget.rows,"parent-widget":e.widget},null,8,["widget","designer","parent-list","row-index","row-length","col-index","col-length","col-array","row-array","parent-widget"]))],64))),256))]))),128))])])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var tableWidget=_export_sfc$1(_sfc_main$j,[["render",_sfc_render$j],["__scopeId","data-v-2fde56df"]]),__glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:tableWidget},Symbol.toStringTag,{value:"Module"}));const modules={"./container-wrapper.vue":__glob_0_0,"./grid-col-widget.vue":__glob_0_1,"./grid-widget.vue":__glob_0_2,"./tab-widget.vue":__glob_0_3,"./table-cell-widget.vue":__glob_0_4,"./table-widget.vue":__glob_0_5};var ContainerComponents={install(a){for(const m in modules){let e=modules[m].default.name;a.component(e,modules[m].default)}}},customSubFormWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$i={name:"custom-sub-form-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:ht(ze(ze({ContainerWrapper},comps),ContainerComponents),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{previewRows:[],actionDisabled:!1}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{checkContainerMove(a){return this.designer.checkWidgetMove(a)},addSubFormRow(){if(!this.widget.widgetList||this.widget.widgetList.length===0){this.$message.warning("\u8BF7\u5148\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D");return}this.previewRows.push(this.previewRows.length)},deletePreviewRow(a){this.previewRows.splice(a,1)}}},_hoisted_1$f={class:"sub-form-header"},_hoisted_2$b={class:"sub-form-label"},_hoisted_3$9={class:"group-header"},_hoisted_4$7={class:"group-title"},_hoisted_5$5={key:0,class:"row-number-span"},_hoisted_6$5={key:1,class:"row-number-span"},_hoisted_7$3={class:"group-actions"},_hoisted_8$3={class:"group-content"},_hoisted_9$2={class:"form-widget-list"},_hoisted_10$2={key:0,class:"empty-hint"};function _sfc_render$i(a,m,e,g,A,C){const _=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("draggable"),u=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(u,{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.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-sub-form-container",[C.selected?"selected":"",C.customClass]]),onClick:m[1]||(m[1]=vue.withModifiers(i=>a.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("div",_hoisted_1$f,[vue.createElementVNode("span",_hoisted_2$b,vue.toDisplayString(e.widget.options.label||"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"),1)]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(A.previewRows,(i,o)=>(vue.openBlock(),vue.createElementBlock("div",{class:"preview-group-row",key:"preview-"+o},[vue.createElementVNode("div",_hoisted_3$9,[vue.createElementVNode("div",_hoisted_4$7,[e.widget.options.showRowNumber?(vue.openBlock(),vue.createElementBlock("span",_hoisted_5$5,vue.toDisplayString(e.widget.options.label)+" "+vue.toDisplayString(o+1)+" \u7EC4",1)):(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$5,"\u8868\u5355\u7EC4"))]),vue.createElementVNode("div",_hoisted_7$3,[vue.createVNode(b,{size:"small",type:"danger",onClick:t=>C.deletePreviewRow(o),title:"\u5220\u9664\u7EC4"},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":"el-delete"}),m[2]||(m[2]=vue.createTextVNode(" \u5220\u9664 ",-1))]),_:1},8,["onClick"])])]),vue.createElementVNode("div",_hoisted_8$3,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,(t,r)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.type+"-widget"),{key:t.id+"preview"+o+"-"+r,field:t,designer:e.designer,"parent-list":e.widget.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))),128))])]))),128)),vue.createElementVNode("div",{class:vue.normalizeClass(["drag-area",{"has-widgets":e.widget.widgetList&&e.widget.widgetList.length>0}])},[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:m[0]||(m[0]=i=>a.onContainerDragAdd(i,e.widget.widgetList)),onUpdate:a.onContainerDragUpdate,move:C.checkContainerMove}),{item:vue.withCtx(({element:i,index:o})=>[vue.createElementVNode("div",_hoisted_9$2,[i.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(i.type+"-widget"),{widget:i,designer:e.designer,key:i.id,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(i.type+"-widget"),{field:i,designer:e.designer,key:i.id,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$2," \u62D6\u62FD\u4EFB\u610F\u7EC4\u4EF6\u5230\u6B64\u5904 ")):vue.createCommentVNode("",!0)],2)],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CustomSubFormWidget=_export_sfc$1(_sfc_main$i,[["render",_sfc_render$i],["__scopeId","data-v-787fff1a"]]),customSubFormItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$h={name:"custom-sub-form-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:ht(ze({ContainerItemWrapper},comps),{SvgIcon}),props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{rowIdData:[],fieldSchemaData:[],actionDisabled:!1}},computed:{customClass(){return!this.widget||!this.widget.options?"":this.widget.options.customClass||""},formModel:{cache:!1,get(){return this.globalModel.formModel}}},created(){this.initRefList(),this.registerSubFormToRefList(),this.initRowIdData(!0),this.$nextTick(()=>{this.rowIdData.length>0&&this.fieldSchemaData.length===0&&this.initFieldSchemaData()}),this.initEventHandler()},mounted(){this.rowIdData.length>0&&this.fieldSchemaData.length===0&&this.widget&&this.widget.widgetList&&this.widget.widgetList.length>0&&this.initFieldSchemaData(),this.handleSubFormFirstRowAdd()},watch:{"widget.widgetList":{handler(a,m){this.rowIdData.length>0&&this.fieldSchemaData.length===0&&a&&a.length>0&&this.initFieldSchemaData()},deep:!0,immediate:!1}},beforeUnmount(){this.unregisterFromRefList()},methods:{getComponentName(a){return a?a.type?a.category==="container"?a.type==="grid"?"vf-grid-item":a.type+"-item":a.type+"-widget":(console.error("getComponentName: subWidget.type is undefined",a),null):(console.error("getComponentName: subWidget is undefined"),null)},registerSubFormToRefList(){this.widget&&this.widget.type==="custom-sub-form"&&(this.sfRefList[this.widget.options.name]=this)},initRowIdData(a){if(!this.widget||this.widget.type!=="custom-sub-form")return;this.rowIdData.splice(0,this.rowIdData.length);let m=this.formModel[this.widget.options.name];!!m&&m.length>0?(m.forEach(()=>{this.rowIdData.push("id"+generateId())}),a&&setTimeout(()=>{this.handleSubFormRowChange(m)},800)):!!this.widget.options.showBlankRow&&this.widget.widgetList&&this.widget.widgetList.length>0&&this.addSubFormRow()},addToRowIdData(){this.rowIdData.push("id"+generateId())},insertToRowIdData(a){this.rowIdData.splice(a,0,"id"+generateId())},deleteFromRowIdData(a){this.rowIdData.splice(a,1)},getRowIdData(){return this.rowIdData},disableSubFormRow(a){!this.widget.widgetList||!this.rowIdData[a]||this.widget.widgetList.forEach(m=>{const e=m.options.name+"@row"+this.rowIdData[a],g=this.getWidgetRef(e);g&&typeof g.setDisabled=="function"&&g.setDisabled(!0)})},enableSubFormRow(a){!this.widget.widgetList||!this.rowIdData[a]||this.widget.widgetList.forEach(m=>{const e=m.options.name+"@row"+this.rowIdData[a],g=this.getWidgetRef(e);g&&typeof g.setDisabled=="function"&&g.setDisabled(!1)})},disableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((a,m)=>{this.disableSubFormRow(m)}),this.actionDisabled=!0,this.widget&&this.widget.options&&(this.widget.options.disabled=!0)},enableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((a,m)=>{this.enableSubFormRow(m)}),this.actionDisabled=!1,this.widget&&this.widget.options&&(this.widget.options.disabled=!1)},initFieldSchemaData(){if(!this.widget||this.widget.type!=="custom-sub-form")return;let a=this.rowIdData.length;if(this.fieldSchemaData.splice(0,this.fieldSchemaData.length),a>0&&this.widget.widgetList&&this.widget.widgetList.length>0)for(let m=0;m<a;m++){let e=[];this.widget.widgetList.forEach(g=>{e.push(this.cloneFieldSchema(g))}),this.fieldSchemaData.push(e)}},addToFieldSchemaData(a){if(!this.widget.widgetList||this.widget.widgetList.length===0)return;let m=[];this.widget.widgetList.forEach(e=>{m.push(this.cloneFieldSchema(e))}),a===void 0?(console.log(m,"fieldSchemas"),this.fieldSchemaData.push(m)):this.fieldSchemaData.splice(a,0,m)},deleteFromFieldSchemaData(a){this.fieldSchemaData.splice(a,1)},cloneFieldSchema(a){let m=deepClone(a);return m.id=a.type+generateId(),m},initEventHandler(){!this.widget||this.widget.type!=="custom-sub-form"||this.on$("setFormData",a=>{this.initRowIdData(!1),this.initFieldSchemaData();let m=a[this.widget.options.name]||[];setTimeout(()=>{this.handleSubFormRowChange(m)},800)})},handleSubFormFirstRowAdd(){if(!(!this.widget||this.widget.type!=="custom-sub-form")&&(this.rowIdData.length>0&&this.fieldSchemaData.length===0&&this.initFieldSchemaData(),!!this.widget.options.showBlankRow&&this.rowIdData.length===1)){let a=this.formModel[this.widget.options.name]||[];this.handleSubFormRowAdd(a,this.rowIdData[0]),this.handleSubFormRowChange(a)}},collectAllFields(a,m){!a||!Array.isArray(a)||a.forEach(e=>{e.formItemFlag&&e.options&&e.options.name&&(m[e.options.name]=e.options.defaultValue!==void 0?e.options.defaultValue:""),e.type==="grid"&&e.cols?e.cols.forEach(g=>{g.widgetList&&this.collectAllFields(g.widgetList,m)}):e.type==="table"&&e.rows?e.rows.forEach(g=>{g.cols&&g.cols.forEach(A=>{A.widgetList&&this.collectAllFields(A.widgetList,m)})}):e.type==="tab"&&e.tabs?e.tabs.forEach(g=>{g.widgetList&&this.collectAllFields(g.widgetList,m)}):(e.type==="grid-col"||e.type==="table-cell")&&e.widgetList?this.collectAllFields(e.widgetList,m):e.category==="container"&&e.widgetList&&this.collectAllFields(e.widgetList,m)})},addSubFormRow(){if(!this.widget.widgetList||this.widget.widgetList.length===0){this.$message.warning("\u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D");return}let a={};this.collectAllFields(this.widget.widgetList,a),this.formModel[this.widget.options.name]||(this.formModel[this.widget.options.name]=[]);let m=deepClone(this.formModel[this.widget.options.name]);console.log(a,"newSubFormDataRow"),m.push(a),this.addToRowIdData(),this.addToFieldSchemaData(),this.handleSubFormRowAdd(m,this.rowIdData[m.length-1]),this.handleSubFormRowChange(m)},insertSubFormRow(a){let m={};this.collectAllFields(this.widget.widgetList,m),this.formModel[this.widget.options.name]||(this.formModel[this.widget.options.name]=[]);let e=this.formModel[this.widget.options.name];e.splice(a,0,m),this.insertToRowIdData(a),this.addToFieldSchemaData(a),this.handleSubFormRowInsert(e,this.rowIdData[a]),this.handleSubFormRowChange(e)},deleteSubFormRow(a){this.$confirm("\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{if(!this.formModel[this.widget.options.name])return;let m=this.formModel[this.widget.options.name],e=deepClone(m[a]);m.splice(a,1),this.deleteFromRowIdData(a),this.deleteFromFieldSchemaData(a),this.handleSubFormRowDelete(m,e),this.handleSubFormRowChange(m)}).catch(()=>{})},handleSubFormRowChange(a){if(this.widget.options.onSubFormRowChange)try{new Function("subFormData",this.widget.options.onSubFormRowChange).call(this,a)}catch(m){console.error("\u6267\u884C\u5B50\u8868\u5355\u884C\u53D8\u5316\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",m)}},handleSubFormRowAdd(a,m){if(this.widget.options.onSubFormRowAdd)try{new Function("subFormData","newRowId",this.widget.options.onSubFormRowAdd).call(this,a,m)}catch(e){console.error("\u6267\u884C\u5B50\u8868\u5355\u6DFB\u52A0\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",e)}},handleSubFormRowInsert(a,m){if(this.widget.options.onSubFormRowInsert)try{new Function("subFormData","newRowId",this.widget.options.onSubFormRowInsert).call(this,a,m)}catch(e){console.error("\u6267\u884C\u5B50\u8868\u5355\u63D2\u5165\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",e)}},handleSubFormRowDelete(a,m){if(this.widget.options.onSubFormRowDelete)try{new Function("subFormData","deletedDataRow",this.widget.options.onSubFormRowDelete).call(this,a,m)}catch(e){console.error("\u6267\u884C\u5B50\u8868\u5355\u5220\u9664\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",e)}},getFieldSchemaDataForContainer(a,m,e){const g=this.fieldSchemaData[m]&&this.fieldSchemaData[m][e];if(!!g&&g.widgetList&&Array.isArray(g.widgetList))return ht(ze({},g.widgetList),{disabled:this.widget.options.disabled})}}},_hoisted_1$e={class:"sub-form-header"},_hoisted_2$a={class:"sub-form-label"},_hoisted_3$8={class:"group-header"},_hoisted_4$6={class:"group-title"},_hoisted_5$4={key:0,class:"row-number-span"},_hoisted_6$4={key:1,class:"row-number-span"},_hoisted_7$2={class:"group-actions"},_hoisted_8$2={class:"group-content"},_hoisted_9$1={key:1,class:"field-loading",style:{color:"#909399","font-size":"12px",padding:"8px"}},_hoisted_10$1={key:1,class:"empty-hint"},_hoisted_11={key:0},_hoisted_12={key:1},_hoisted_13={key:0,class:"empty-hint"},_hoisted_14={key:1,class:"empty-hint"};function _sfc_render$h(a,m,e,g,A,C){const _=vue.resolveComponent("el-button"),b=vue.resolveComponent("svg-icon"),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:vue.normalizeClass(["custom-sub-form-container",C.customClass])},[vue.createElementVNode("div",_hoisted_1$e,[vue.createElementVNode("span",_hoisted_2$a,vue.toDisplayString(e.widget.options.label||"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"),1)]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(A.rowIdData,(u,i)=>(vue.openBlock(),vue.createElementBlock("div",{class:"form-group-row",key:u},[vue.createElementVNode("div",_hoisted_3$8,[vue.createElementVNode("div",_hoisted_4$6,[e.widget.options.showRowNumber?(vue.openBlock(),vue.createElementBlock("span",_hoisted_5$4,vue.toDisplayString(e.widget.options.label||"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355")+" "+vue.toDisplayString(i+1),1)):(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$4,"\u8868\u5355\u7EC4"))]),vue.createElementVNode("div",_hoisted_7$2,[i>0&&!e.widget.options.disabled?(vue.openBlock(),vue.createBlock(_,{key:0,size:"small",type:"danger",plain:"",onClick:o=>C.deleteSubFormRow(i),title:"\u5220\u9664\u7EC4"},{default:vue.withCtx(()=>[...m[0]||(m[0]=[vue.createTextVNode(" \u5220\u9664 ",-1)])]),_:1},8,["onClick"])):vue.createCommentVNode("",!0)])]),vue.createElementVNode("div",_hoisted_8$2,[e.widget&&e.widget.widgetList&&e.widget.widgetList.length>0?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.widget.widgetList,(o,t)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:o?o.id+"gc"+u+"-"+t:"gc"+u+"-"+t},[o&&o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(C.getComponentName(o)),{key:0,widget:o,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget,"sub-form-row-index":i,"sub-form-row-id":u,"sub-form-col-index":t,subFormDisabled:e.widget.options.disabled,"field-schema-data":C.getFieldSchemaDataForContainer(o,i,t)},null,8,["widget","parent-list","index-of-parent-list","parent-widget","sub-form-row-index","sub-form-row-id","sub-form-col-index","subFormDisabled","field-schema-data"])):o?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[A.fieldSchemaData&&A.fieldSchemaData[i]&&A.fieldSchemaData[i][t]?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(C.getComponentName(o)),{key:0,field:A.fieldSchemaData[i][t],"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget,"sub-form-row-id":u,"sub-form-row-index":i,"sub-form-col-index":t,"sub-form-disabled":e.widget.options.disabled},null,8,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index","sub-form-disabled"])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$1," \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))],64)):vue.createCommentVNode("",!0)],64))),128)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$1,[e.widget?!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_12," \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")):vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_11,"\u7EC4\u4EF6\u672A\u521D\u59CB\u5316"))]))])]))),128)),!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_13," \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")):A.rowIdData.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_14,' \u70B9\u51FB"\u6DFB\u52A0"\u6309\u94AE\u6DFB\u52A0\u6570\u636E\u884C ')):vue.createCommentVNode("",!0),e.widget.options.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(_,{key:2,disabled:A.actionDisabled,type:"primary",plain:"",class:"action-button",onClick:C.addSubFormRow},{default:vue.withCtx(()=>[vue.createVNode(b,{"icon-class":"el-plus"}),m[1]||(m[1]=vue.createTextVNode(" \u6DFB\u52A0 ",-1))]),_:1},8,["disabled","onClick"]))],2)),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:1},8,["widget"])}var CustomSubFormItem=_export_sfc$1(_sfc_main$h,[["render",_sfc_render$h],["__scopeId","data-v-6bd07e4e"]]),customTableCellWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$g={name:"custom-table-cell-widget",componentName:"CustomTableCellWidget",mixins:[i18n$1,refMixinDesign],inject:["refList"],components:ht(ze(ze({},comps),ContainerComponents),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,rowIndex:Number,colIndex:Number,rowLength:Number,colLength:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{selectWidget(a){this.designer.setSelected(a)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},checkContainerMove(a){return this.designer.checkWidgetMove(a)},onTableDragAdd(a,m){const e=a.newIndex;m[e]&&this.designer.setSelected(m[e]),this.designer.emitHistoryChange()},onTableDragUpdate(){this.designer.emitHistoryChange()},handleTableCellCommand(a){a==="insertLeftCol"?this.insertLeftCol():a==="insertRightCol"?this.insertRightCol():a==="insertAboveRow"?this.insertAboveRow():a==="insertBelowRow"?this.insertBelowRow():a==="deleteCol"?this.deleteWholeCol():a==="deleteRow"&&this.deleteWholeRow()},insertLeftCol(){this.insertTableCol(!0)},insertRightCol(){this.insertTableCol(!1)},insertAboveRow(){this.insertTableRow(!0)},insertBelowRow(){this.insertTableRow(!1)},insertTableCol(a){let m=a?this.colIndex:this.colIndex+1;if(!a){let e=m;for(;e<this.colLength;){if(this.parentWidget.rows[this.rowIndex]&&this.parentWidget.rows[this.rowIndex].cols[e]&&!this.parentWidget.rows[this.rowIndex].cols[e].merged){m=e;break}e++}e>=this.colLength&&(m=this.colLength)}this.parentWidget.rows.forEach(e=>{let g=deepClone(this.designer.getContainerByType("custom-table-cell"));g.id="custom-table-cell-"+generateId(),g.options.name=g.id,g.merged=!1,g.options.colspan=1,g.options.rowspan=1,g.widgetList.length=0,e.cols.splice(m,0,g)}),this.designer.emitHistoryChange()},insertTableRow(a){let m=a?this.rowIndex:this.rowIndex+1;if(!a){let g=m;for(;g<this.rowLength;){if(this.parentWidget.rows[g]&&this.parentWidget.rows[g].cols[this.colIndex]&&!this.parentWidget.rows[g].cols[this.colIndex].merged){m=g;break}g++}g>=this.rowLength&&(m=this.rowLength)}let e=deepClone(this.parentWidget.rows[this.rowIndex]);e.id="custom-table-row-"+generateId(),e.merged=!1,e.cols.forEach(g=>{g.id="custom-table-cell-"+generateId(),g.options.name=g.id,g.merged=!1,g.options.colspan=1,g.options.rowspan=1,g.widgetList.length=0}),this.parentWidget.rows.splice(m,0,e),this.designer.emitHistoryChange()},deleteWholeCol(){if(this.colLength===1){this.$message.warning("\u81F3\u5C11\u4FDD\u7559\u4E00\u5217");return}this.parentWidget.rows.forEach(a=>{a.cols.splice(this.colIndex,1)}),this.designer.emitHistoryChange()},deleteWholeRow(){if(this.rowLength===1){this.$message.warning("\u81F3\u5C11\u4FDD\u7559\u4E00\u884C");return}this.parentWidget.rows.splice(this.rowIndex,1),this.designer.emitHistoryChange()}}},_hoisted_1$d=["colspan","rowspan"],_hoisted_2$9={class:"form-widget-list"},_hoisted_3$7={key:0,class:"custom-table-cell-action"},_hoisted_4$5={title:"\u5355\u5143\u683C\u8BBE\u7F6E"},_hoisted_5$3={key:1,class:"custom-table-cell-handler"},_hoisted_6$3={key:2,class:"empty-hint"};function _sfc_render$g(a,m,e,g,A,C){const _=vue.resolveComponent("draggable"),b=vue.resolveComponent("svg-icon"),d=vue.resolveComponent("el-dropdown-item"),u=vue.resolveComponent("el-dropdown-menu"),i=vue.resolveComponent("el-dropdown");return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["custom-table-cell",[C.selected?"selected":"",C.customClass]]),style:vue.normalizeStyle({width:e.widget.options.cellWidth+"!important"||"",height:e.widget.options.cellHeight+"!important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"}),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,onClick:m[2]||(m[2]=vue.withModifiers(o=>C.selectWidget(e.widget),["stop"]))},[vue.createVNode(_,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:m[0]||(m[0]=o=>C.onTableDragAdd(o,e.widget.widgetList)),onUpdate:C.onTableDragUpdate,move:C.checkContainerMove}),{item:vue.withCtx(({element:o,index:t})=>[vue.createElementVNode("div",_hoisted_2$9,[o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{widget:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{field:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="custom-table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$7,[vue.createElementVNode("i",{title:"\u9009\u62E9\u7236\u7EC4\u4EF6",onClick:m[1]||(m[1]=vue.withModifiers(o=>C.selectParentWidget(),["stop"]))},[vue.createVNode(b,{"icon-class":"el-back"})]),vue.createVNode(i,{trigger:"click",onCommand:C.handleTableCellCommand,size:"small"},{dropdown:vue.withCtx(()=>[vue.createVNode(u,null,{default:vue.withCtx(()=>[vue.createVNode(d,{command:"insertLeftCol"},{default:vue.withCtx(()=>[...m[3]||(m[3]=[vue.createTextVNode("\u5DE6\u4FA7\u63D2\u5165\u5217",-1)])]),_:1}),vue.createVNode(d,{command:"insertRightCol"},{default:vue.withCtx(()=>[...m[4]||(m[4]=[vue.createTextVNode("\u53F3\u4FA7\u63D2\u5165\u5217",-1)])]),_:1}),vue.createVNode(d,{command:"insertAboveRow"},{default:vue.withCtx(()=>[...m[5]||(m[5]=[vue.createTextVNode("\u4E0A\u65B9\u63D2\u5165\u884C",-1)])]),_:1}),vue.createVNode(d,{command:"insertBelowRow"},{default:vue.withCtx(()=>[...m[6]||(m[6]=[vue.createTextVNode("\u4E0B\u65B9\u63D2\u5165\u884C",-1)])]),_:1}),vue.createVNode(d,{command:"deleteCol",divided:""},{default:vue.withCtx(()=>[...m[7]||(m[7]=[vue.createTextVNode("\u5220\u9664\u6574\u5217",-1)])]),_:1}),vue.createVNode(d,{command:"deleteRow"},{default:vue.withCtx(()=>[...m[8]||(m[8]=[vue.createTextVNode("\u5220\u9664\u6574\u884C",-1)])]),_:1})]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("i",_hoisted_4$5,[vue.createVNode(b,{"icon-class":"el-menu"})])]),_:1},8,["onCommand"])])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="custom-table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$3,[...m[9]||(m[9]=[vue.createElementVNode("i",null,"\u5355\u5143\u683C",-1)])])):vue.createCommentVNode("",!0),!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$3," \u62D6\u62FD\u7EC4\u4EF6\u5230\u6B64\u5904 ")):vue.createCommentVNode("",!0)],14,_hoisted_1$d)}var CustomTableCellWidget=_export_sfc$1(_sfc_main$g,[["render",_sfc_render$g],["__scopeId","data-v-6e28297c"]]),customTableWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$f={name:"custom-table-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,CustomTableCellWidget},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(),this.initDefaultTable()},methods:{initDefaultTable(){if(!this.widget.rows||this.widget.rows.length===0){let a={id:"custom-table-row-"+generateId(),merged:!1,cols:[]},m=deepClone(this.designer.getContainerByType("custom-table-cell"));m&&(m.id="custom-table-cell-"+generateId(),m.options.name=m.id,m.merged=!1,m.options.colspan=1,m.options.rowspan=1,m.widgetList.length=0,a.cols.push(m),this.widget.rows.push(a))}}}},_hoisted_1$c={class:"custom-table-layout"};function _sfc_render$f(a,m,e,g,A,C){const _=vue.resolveComponent("custom-table-cell-widget"),b=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(b,{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.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-table-container",[C.selected?"selected":"",C.customClass]]),onClick:m[0]||(m[0]=vue.withModifiers(d=>a.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("table",_hoisted_1$c,[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.id},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(d.cols,(i,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(_,{widget:i,designer:e.designer,key:i.id,"parent-list":e.widget.rows,"row-index":u,"row-length":e.widget.rows.length,"col-index":o,"col-length":d.cols.length,"parent-widget":e.widget},null,8,["widget","designer","parent-list","row-index","row-length","col-index","col-length","parent-widget"]))],64))),256))]))),128))])])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CustomTableWidget=_export_sfc$1(_sfc_main$f,[["render",_sfc_render$f],["__scopeId","data-v-5281c94a"]]),customTableCellItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$e={name:"custom-table-cell-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:ze({},comps),props:{widget:Object,rowIndex:Number,colIndex:Number},inject:["refList","globalModel"],computed:{customClass(){return this.widget.options.customClass||""}}},_hoisted_1$b=["colspan","rowspan"];function _sfc_render$e(a,m,e,g,A,C){return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["custom-table-cell",C.customClass]),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,style:vue.normalizeStyle({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,(_,b)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:_.id},[_.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(a.getComponentByContainer(_)),{widget:_,key:b,"parent-list":e.widget.widgetList,"index-of-parent-list":b,"parent-widget":e.widget},null,8,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(_.type+"-widget"),{field:_,designer:null,key:b,"parent-list":e.widget.widgetList,"index-of-parent-list":b,"parent-widget":e.widget},null,8,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),128))],14,_hoisted_1$b)}var CustomTableCellItem=_export_sfc$1(_sfc_main$e,[["render",_sfc_render$e],["__scopeId","data-v-188e7bf2"]]),customTableItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$d={name:"custom-table-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:{ContainerItemWrapper,CustomTableCellItem,SvgIcon},props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{rowIdData:[]}},computed:{customClass(){return this.widget.options.customClass||""},formModel:{cache:!1,get(){return this.globalModel.formModel}}},created(){this.initRefList(),this.initRowIdData(),this.initEventHandler()},beforeUnmount(){this.unregisterFromRefList()},methods:{initRowIdData(){!this.widget.rows||this.widget.rows.length===0||(this.rowIdData.splice(0,this.rowIdData.length),this.widget.rows.forEach(()=>{this.rowIdData.push("id"+generateId())}))},addToRowIdData(a){a===void 0?this.rowIdData.push("id"+generateId()):this.rowIdData.splice(a,0,"id"+generateId())},deleteFromRowIdData(a){this.rowIdData.splice(a,1)},cloneCellWithFields(a,m){const e=deepClone(a);return e.id="custom-table-cell-"+generateId(),e.options.name=e.id,e.widgetList&&e.widgetList.length>0&&(e.widgetList=e.widgetList.map(g=>{const A=deepClone(g);if(A.id=g.type+"-"+generateId(),A.options&&A.options.name){const C=A.options.name.split("@")[0];A.options.name=C+"@row"+m}return A})),e},addTableRow(){if(!this.widget.rows||this.widget.rows.length===0)return;this.addToRowIdData();const a=this.rowIdData[this.rowIdData.length-1],m=this.widget.rows[0],e={id:"custom-table-row-"+generateId(),merged:!1,cols:m.cols.map(g=>this.cloneCellWithFields(g,a))};this.widget.rows.push(e),this.initRowFormData(e,this.widget.rows.length-1),this.handleTableRowAdd(this.widget.rows,a),this.handleTableRowChange(this.widget.rows)},insertTableRow(a){if(!this.widget.rows||this.widget.rows.length===0)return;this.addToRowIdData(a);const m=this.rowIdData[a],e=this.widget.rows[0],g={id:"custom-table-row-"+generateId(),merged:!1,cols:e.cols.map(A=>this.cloneCellWithFields(A,m))};this.widget.rows.splice(a,0,g),this.initRowFormData(g,a),this.handleTableRowInsert(this.widget.rows,m),this.handleTableRowChange(this.widget.rows)},deleteTableRow(a){if(!this.widget.rows||a<0||a>=this.widget.rows.length)return;const m=deepClone(this.widget.rows[a]);this.widget.rows.splice(a,1),this.deleteFromRowIdData(a),this.handleTableRowDelete(this.widget.rows,m),this.handleTableRowChange(this.widget.rows)},initRowFormData(a,m){!a||!a.cols||a.cols.forEach(e=>{e.widgetList&&e.widgetList.length>0&&e.widgetList.forEach(g=>{if(g.formItemFlag&&g.options&&g.options.name){const A=g.options.name;this.formModel[A]===void 0&&(this.formModel[A]=g.options.defaultValue!==void 0?g.options.defaultValue:null)}})})},initEventHandler(){this.on$("setFormData",a=>{this.initRowIdData(),setTimeout(()=>{this.handleTableRowChange(this.widget.rows)},800)})},handleTableRowChange(a){if(this.widget.options.onTableRowChange)try{new Function("tableRows",this.widget.options.onTableRowChange).call(this,a)}catch(m){console.error("Error executing onTableRowChange handler:",m)}},handleTableRowAdd(a,m){if(this.widget.options.onTableRowAdd)try{new Function("tableRows","newRowId",this.widget.options.onTableRowAdd).call(this,a,m)}catch(e){console.error("Error executing onTableRowAdd handler:",e)}},handleTableRowInsert(a,m){if(this.widget.options.onTableRowInsert)try{new Function("tableRows","newRowId",this.widget.options.onTableRowInsert).call(this,a,m)}catch(e){console.error("Error executing onTableRowInsert handler:",e)}},handleTableRowDelete(a,m){if(this.widget.options.onTableRowDelete)try{new Function("tableRows","deletedRow",this.widget.options.onTableRowDelete).call(this,a,m)}catch(e){console.error("Error executing onTableRowDelete handler:",e)}}}},_hoisted_1$a={key:0,class:"table-actions"},_hoisted_2$8={class:"custom-table-layout"},_hoisted_3$6={key:0,class:"row-actions-cell"};function _sfc_render$d(a,m,e,g,A,C){const _=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("custom-table-cell-item"),u=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(u,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-table-container",C.customClass])},[e.widget.rows&&e.widget.rows.length>0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$a,[vue.createVNode(b,{type:"primary",size:"small",onClick:C.addTableRow,title:"\u6DFB\u52A0\u884C"},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":"el-plus"}),m[0]||(m[0]=vue.createTextVNode(" \u6DFB\u52A0\u884C ",-1))]),_:1},8,["onClick"])])):vue.createCommentVNode("",!0),vue.createElementVNode("table",_hoisted_2$8,[vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.rows,(i,o)=>(vue.openBlock(),vue.createElementBlock("tr",{key:A.rowIdData[o]||i.id},[e.widget.rows.length>0?(vue.openBlock(),vue.createElementBlock("td",_hoisted_3$6,[vue.createVNode(b,{type:"primary",size:"small",circle:"",onClick:t=>C.insertTableRow(o),title:"\u5728\u6B64\u884C\u524D\u63D2\u5165"},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":"el-plus"})]),_:1},8,["onClick"]),vue.createVNode(b,{type:"danger",size:"small",circle:"",onClick:t=>C.deleteTableRow(o),title:"\u5220\u9664\u6B64\u884C"},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":"el-delete"})]),_:1},8,["onClick"])])):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(i.cols,(t,r)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[t.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(d,{widget:t,key:t.id+"@row"+(A.rowIdData[o]||""),"parent-list":e.widget.rows,"row-index":o,"col-index":r,"parent-widget":e.widget},null,8,["widget","parent-list","row-index","col-index","parent-widget"]))],64))),256))]))),128))])])],2)),[[vue.vShow,!e.widget.options.hidden]])]),_:1},8,["widget"])}var CustomTableItem=_export_sfc$1(_sfc_main$d,[["render",_sfc_render$d],["__scopeId","data-v-1aff2bd9"]]),subTableWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$c={name:"sub-table-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,SvgIcon},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{previewData:[],actionDisabled:!1}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},tableMaxHeight(){var m,e;const a=(e=(m=this.widget)==null?void 0:m.options)==null?void 0:e.maxHeight;return a!=null&&a!==""?a:void 0}},created(){this.initRefList(),this.initPreviewData()},watch:{"widget.options.columns":{handler(){this.initPreviewData()},deep:!0},"widget.options.defaultValue":{handler(){this.initPreviewData()},deep:!0}},methods:{initPreviewData(){if(this.widget.options.defaultValue&&Array.isArray(this.widget.options.defaultValue)&&this.widget.options.defaultValue.length>0)this.previewData=JSON.parse(JSON.stringify(this.widget.options.defaultValue));else if(this.widget.options.columns&&this.widget.options.columns.length>0){const a={};this.widget.options.columns.forEach(m=>{a[m.prop]="\u793A\u4F8B\u6570\u636E"}),this.previewData=[a]}else this.previewData=[]},addPreviewRow(){if(!this.widget.options.columns||this.widget.options.columns.length===0){this.$message.warning("\u8BF7\u5148\u914D\u7F6E\u8868\u683C\u5217");return}const a={};this.widget.options.columns.forEach(m=>{a[m.prop]=""}),this.previewData.push(a)},editPreviewRow(a){this.$message.info("\u8BBE\u8BA1\u5668\u4E2D\u4E0D\u652F\u6301\u7F16\u8F91\uFF0C\u8BF7\u5728\u8FD0\u884C\u671F\u4F7F\u7528")},deletePreviewRow(a){this.previewData.splice(a,1)}}},_hoisted_1$9={class:"sub-table-header"},_hoisted_2$7={class:"sub-table-label"},_hoisted_3$5={class:"table-preview"},_hoisted_4$4={class:"preview-cell"},_hoisted_5$2={class:"empty-hint"},_hoisted_6$2={key:0},_hoisted_7$1={key:1},_hoisted_8$1={key:0,class:"config-hint"};function _sfc_render$c(a,m,e,g,A,C){const _=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-table-column"),u=vue.resolveComponent("el-table"),i=vue.resolveComponent("el-alert"),o=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(o,{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.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["sub-table-container",[C.selected?"selected":"",C.customClass]]),onClick:m[0]||(m[0]=vue.withModifiers(t=>a.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("div",_hoisted_1$9,[vue.createElementVNode("span",_hoisted_2$7,vue.toDisplayString(e.widget.options.label||"\u5B50\u8868\u683C"),1),vue.createVNode(b,{disabled:A.actionDisabled,round:"",type:"primary",size:"small",class:"action-button",onClick:vue.withModifiers(C.addPreviewRow,["stop"])},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":"el-plus"}),m[1]||(m[1]=vue.createTextVNode(" \u6DFB\u52A0\u884C ",-1))]),_:1},8,["disabled","onClick"])]),vue.createElementVNode("div",_hoisted_3$5,[vue.createVNode(u,{data:A.previewData,border:e.widget.options.border,stripe:e.widget.options.stripe,size:e.widget.options.size,"max-height":C.tableMaxHeight,style:{width:"100%"}},{empty:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_5$2,[e.widget.options.columns&&e.widget.options.columns.length>0?(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$2,' \u6682\u65E0\u6570\u636E\uFF0C\u70B9\u51FB"\u6DFB\u52A0\u884C"\u6309\u94AE\u6DFB\u52A0\u6570\u636E ')):(vue.openBlock(),vue.createElementBlock("span",_hoisted_7$1," \u8BF7\u5728\u53F3\u4FA7\u5C5E\u6027\u9762\u677F\u4E2D\u914D\u7F6E\u8868\u683C\u5217 "))])]),default:vue.withCtx(()=>[e.widget.options.showIndex?(vue.openBlock(),vue.createBlock(d,{key:0,type:"index",label:"\u5E8F\u53F7",width:"60",align:"center"})):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.options.columns,(t,r)=>(vue.openBlock(),vue.createBlock(d,{key:r,prop:t.prop,label:t.label,width:t.width,"min-width":t.minWidth,align:"center"},{default:vue.withCtx(({row:n})=>[vue.createElementVNode("span",_hoisted_4$4,vue.toDisplayString(n[t.prop]||"-"),1)]),_:2},1032,["prop","label","width","min-width"]))),128)),e.widget.options.showOperation?(vue.openBlock(),vue.createBlock(d,{key:1,label:"\u64CD\u4F5C",width:e.widget.options.operationColumnWidth,align:"center",fixed:"right"},{default:vue.withCtx(({$index:t})=>[vue.createVNode(b,{size:"small",type:"primary",link:"",onClick:vue.withModifiers(r=>C.editPreviewRow(t),["stop"])},{default:vue.withCtx(()=>[...m[2]||(m[2]=[vue.createTextVNode(" \u7F16\u8F91 ",-1)])]),_:1},8,["onClick"]),vue.createVNode(b,{size:"small",type:"danger",link:"",onClick:vue.withModifiers(r=>C.deletePreviewRow(t),["stop"])},{default:vue.withCtx(()=>[...m[3]||(m[3]=[vue.createTextVNode(" \u5220\u9664 ",-1)])]),_:1},8,["onClick"])]),_:1},8,["width"])):vue.createCommentVNode("",!0)]),_:1},8,["data","border","stripe","size","max-height"])]),!e.widget.options.columns||e.widget.options.columns.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$1,[vue.createVNode(i,{title:"\u63D0\u793A",type:"info",closable:!1,"show-icon":""},{default:vue.withCtx(()=>[...m[4]||(m[4]=[vue.createElementVNode("div",null,"\u8BF7\u5728\u53F3\u4FA7\u5C5E\u6027\u9762\u677F\u4E2D\u914D\u7F6E\u8868\u683C\u5217\uFF0C\u5305\u62EC\uFF1A\u5217\u540D\u3001\u5B57\u6BB5\u540D\u3001\u5217\u5BBD\u7B49",-1)])]),_:1})])):vue.createCommentVNode("",!0)],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var SubTableWidget=_export_sfc$1(_sfc_main$c,[["render",_sfc_render$c],["__scopeId","data-v-1fb729c8"]]),subTableItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$b={name:"sub-table-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:{ContainerItemWrapper,SvgIcon},props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{tableData:[],dialogVisible:!1,dialogTitle:"\u65B0\u589E",dialogFormData:{},dialogFormRules:{},editingIndex:-1,syncFromFormModel:!1}},computed:{formModel(){var a,m;return((m=(a=this.globalModel)==null?void 0:a.formModel)==null?void 0:m[this.widget.options.name])||[]},customClass(){return this.widget.options.customClass||""},labelClass(){return{"sub-table-label-text":!0,"label-left-align":this.widget.options.labelAlign==="left","label-center-align":this.widget.options.labelAlign==="center","label-right-align":this.widget.options.labelAlign==="right"}},tableMaxHeight(){var m,e;const a=(e=(m=this.widget)==null?void 0:m.options)==null?void 0:e.maxHeight;return a!=null&&a!==""?a:void 0}},watch:{formModel:{handler(a){this.syncFromFormModel=!0,a&&Array.isArray(a)?this.tableData=deepClone(a):a||(this.tableData=[]),this.$nextTick(()=>{this.syncFromFormModel=!1})},immediate:!0,deep:!0},tableData:{handler(a){this.syncFromFormModel||this.formModel!==a&&this.updateFormModel(a)},deep:!0}},created(){this.initRefList(),this.initTableData()},mounted(){this.initTableData()},beforeUnmount(){this.unregisterFromRefList()},methods:{updateFormModel(a){this.globalModel&&this.globalModel.formModel&&(this.globalModel.formModel[this.widget.options.name]=deepClone(a),this.dispatch("FieldWidget","field-value-changed",[this.widget.options.name,deepClone(a),this.formModel]))},initTableData(){this.fieldModel&&Array.isArray(this.fieldModel)?this.tableData=deepClone(this.fieldModel):this.widget.options.defaultValue&&Array.isArray(this.widget.options.defaultValue)?(this.tableData=deepClone(this.widget.options.defaultValue),this.updateFormModel(this.tableData)):(this.tableData=[],this.updateFormModel([]))},handleAddRow(){this.editingIndex=-1,this.dialogTitle="\u65B0\u589E",this.initDialogFormData(),this.dialogVisible=!0},handleEditRow(a,m){this.editingIndex=a,this.dialogTitle="\u7F16\u8F91",this.dialogFormData=deepClone(m),this.dialogFormData._columnOptions||(this.dialogFormData._columnOptions={}),this.dialogVisible=!0,this.$nextTick(()=>{this.widget.options.columns&&this.widget.options.columns.forEach(e=>{if(e.dependOn&&this.dialogFormData[e.dependOn]&&!(this.dialogFormData._columnOptions&&this.dialogFormData._columnOptions[e.prop]&&Array.isArray(this.dialogFormData._columnOptions[e.prop])&&this.dialogFormData._columnOptions[e.prop].length>0)){const A=this.widget.options.columns.find(C=>C.prop===e.dependOn);A&&this.handleColumnLinkage(e,A,this.dialogFormData[e.dependOn])}})})},handleDeleteRow(a){this.$confirm("\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E00\u884C\u5417\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{if(this.tableData.splice(a,1),this.updateFormModel(this.tableData),this.$message.success("\u5220\u9664\u6210\u529F"),this.widget.options.onRowDelete)try{new Function("rowIndex","rowData",this.widget.options.onRowDelete)(a,this.tableData[a])}catch(m){console.error("\u6267\u884C\u5220\u9664\u884C\u4E8B\u4EF6\u5931\u8D25:",m)}}).catch(()=>{})},initDialogFormData(){const a={};a._columnOptions={},this.widget.options.columns&&this.widget.options.columns.length>0&&this.widget.options.columns.forEach(m=>{a[m.prop]=m.defaultValue!==void 0?m.defaultValue:""}),this.dialogFormData=a,this.initDialogFormRules()},initDialogFormRules(){const a={};this.widget.options.columns&&this.widget.options.columns.length>0&&this.widget.options.columns.forEach(m=>{if(!m.prop)return;const e=[];m.required&&e.push({required:!0,message:m.requiredHint||`\u8BF7\u8F93\u5165${m.label}`,trigger:"blur"}),m.validation&&(FormValidators[m.validation]?e.push({validator:FormValidators[m.validation],trigger:["blur","change"],label:m.label,errorMsg:m.validationHint}):e.push({validator:FormValidators.regExp,trigger:["blur","change"],regExp:m.validation,label:m.label,errorMsg:m.validationHint})),e.length>0&&(a[m.prop]=e)}),this.dialogFormRules=a},getColumnOptions(a){if(this.dialogVisible&&this.dialogFormData._columnOptions){const m=this.dialogFormData._columnOptions[a.prop];if(m&&Array.isArray(m)&&m.length>0)return m}if(a.options&&Array.isArray(a.options)&&a.options.length>0)return a.options;if(a.dictCode&&a.dictCode.trim()){const m=a.dictCode.trim();let e=[];if(typeof window!="undefined"&&window.getDictData?e=window.getDictData(m)||[]:typeof window!="undefined"&&window.dictCache&&window.dictCache[m]&&(e=window.dictCache[m]||[]),e&&Array.isArray(e)&&e.length>0){const g=e.map(A=>({label:A.dictLabel||A.label||A.name||A.text||"",value:A.dictValue||A.value||A.code||"",disabled:A.disabled||!1}));return a.options=g,g}}return[]},handleDialogConfirm(){this.$refs.dialogFormRef.validate(a=>{if(a){const m=deepClone(this.dialogFormData);if(m._columnOptions,this.editingIndex===-1){if(this.tableData.push(m),this.$message.success("\u6DFB\u52A0\u6210\u529F"),this.widget.options.onRowAdd)try{new Function("rowData",this.widget.options.onRowAdd)(deepClone(m))}catch(e){console.error("\u6267\u884C\u6DFB\u52A0\u884C\u4E8B\u4EF6\u5931\u8D25:",e)}}else if(this.tableData[this.editingIndex]=m,this.$message.success("\u4FDD\u5B58\u6210\u529F"),this.widget.options.onRowEdit)try{new Function("rowIndex","rowData",this.widget.options.onRowEdit)(this.editingIndex,deepClone(m))}catch(e){console.error("\u6267\u884C\u7F16\u8F91\u884C\u4E8B\u4EF6\u5931\u8D25:",e)}this.updateFormModel(this.tableData),this.dialogVisible=!1}else this.$message.warning("\u8BF7\u586B\u5199\u5B8C\u6574\u4FE1\u606F")})},handleDialogClose(){var a;(a=this.$refs.dialogFormRef)==null||a.resetFields(),this.dialogFormData={},this.editingIndex=-1,this.dialogFormData._columnOptions&&(this.dialogFormData._columnOptions={})},getValue(){return this.tableData},setValue(a){Array.isArray(a)&&(this.tableData=deepClone(a),this.updateFormModel(this.tableData))},getTableValue(a,m,e){if(m.type==="select"){let g=[];if(a._columnOptions&&a._columnOptions[m.prop]&&Array.isArray(a._columnOptions[m.prop])?g=a._columnOptions[m.prop]:g=this.getColumnOptions(m),g&&g.length>0){const A=g.find(C=>C.value===a[m.prop]);return A?A.label:a[m.prop]}return a[m.prop]}return a[m.prop]},handleInputChange(a){if(!a||!this.widget.options.columns)return;const m=this.dialogFormData[a.prop];if(this.widget.options.columns.forEach(e=>{e.dependOn===a.prop&&e.type==="select"&&this.handleColumnLinkage(e,a,m)}),a.onChange&&a.onChange.trim())try{const e=g=>{Array.isArray(g)&&(a.options=g,a.optionsText!==void 0&&(a.optionsText=JSON.stringify(g,null,2)))};new Function("col","value","formData","setOptions",a.onChange)(a,m,this.dialogFormData,e)}catch(e){console.error(`\u6267\u884C\u5217 "${a.label||a.prop}" \u7684 onChange \u4E8B\u4EF6\u5931\u8D25:`,e)}},handleColumnLinkage(a,m,e){if(!(!a||!m||a.type!=="select")&&a.onDependChange&&a.onDependChange.trim())try{const g=this.dialogFormData[a.prop],A=(d,u=0)=>{Array.isArray(d)&&(this.dialogVisible?(this.dialogFormData._columnOptions||(this.dialogFormData._columnOptions={}),this.dialogFormData._columnOptions[a.prop]=[...d]):(a.options=d,a.optionsText!==void 0&&(a.optionsText=JSON.stringify(d,null,2))))},C=d=>{this.dialogVisible&&this.dialogFormData&&(this.dialogFormData[a.prop]=d)},_=()=>this.dialogFormData[a.prop],b=this.getColumnOptions(a);new Function("targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue",a.onDependChange)(a,m,e,this.dialogFormData,b,A,C,_)}catch(g){console.error(`\u6267\u884C\u5217 "${a.label||a.prop}" \u7684\u8054\u52A8\u4E8B\u4EF6\u5931\u8D25:`,g)}},handleSelectMounted(a,m){a&&m&&m.onMounted&&m.onMounted.trim()&&this.$nextTick(()=>{try{let e=this.getColumnOptions(m);const g=A=>{Array.isArray(A)&&(m.options=A,m.optionsText!==void 0&&(m.optionsText=JSON.stringify(A,null,2)))};new Function("col","options","setOptions",m.onMounted)(m,e,g)}catch(e){console.error(`\u6267\u884C\u5217 "${m.label||m.prop}" \u7684 onMounted \u4E8B\u4EF6\u5931\u8D25:`,e)}})}}},_hoisted_1$8={key:0,class:"sub-table-label"},_hoisted_2$6={key:0,class:"required-mark"},_hoisted_3$4={class:"table-toolbar"},_hoisted_4$3={class:"dialog-footer"};function _sfc_render$b(a,m,e,g,A,C){const _=vue.resolveComponent("el-button"),b=vue.resolveComponent("el-table-column"),d=vue.resolveComponent("el-table"),u=vue.resolveComponent("el-input"),i=vue.resolveComponent("el-input-number"),o=vue.resolveComponent("el-date-picker"),t=vue.resolveComponent("el-option"),r=vue.resolveComponent("el-select"),n=vue.resolveComponent("el-textarea"),s=vue.resolveComponent("el-form-item"),l=vue.resolveComponent("el-form"),h=vue.resolveComponent("el-dialog"),f=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(f,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["sub-table-container",C.customClass])},[e.widget.options.label?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$8,[vue.createElementVNode("span",{class:vue.normalizeClass(C.labelClass)},vue.toDisplayString(e.widget.options.label),3),e.widget.options.required?(vue.openBlock(),vue.createElementBlock("span",_hoisted_2$6,"*")):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_3$4,[e.widget.options.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(_,{key:0,type:"primary",size:"small",disabled:e.widget.options.disabled,onClick:C.handleAddRow,icon:"el-icon-plus"},{default:vue.withCtx(()=>[...m[2]||(m[2]=[vue.createTextVNode(" \u65B0\u589E ",-1)])]),_:1},8,["disabled","onClick"]))]),vue.createVNode(d,{data:A.tableData,border:e.widget.options.border,stripe:e.widget.options.stripe,size:e.widget.options.size,"max-height":C.tableMaxHeight,style:{width:"100%"},disabled:e.widget.options.disabled},{empty:vue.withCtx(()=>[...m[5]||(m[5]=[vue.createElementVNode("div",{class:"empty-hint"},[vue.createElementVNode("span",null,"\u6682\u65E0\u6570\u636E")],-1)])]),default:vue.withCtx(()=>[e.widget.options.showIndex?(vue.openBlock(),vue.createBlock(b,{key:0,type:"index",label:"\u5E8F\u53F7",width:"60",align:"center"})):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.options.columns,(w,p)=>(vue.openBlock(),vue.createBlock(b,{key:p,prop:w.prop,label:w.label,width:w.width,"min-width":w.minWidth,align:"left","show-overflow-tooltip":""},{default:vue.withCtx(({row:y,$index:v})=>[vue.createTextVNode(vue.toDisplayString(C.getTableValue(y,w,v)),1)]),_:2},1032,["prop","label","width","min-width"]))),128)),e.widget.options.showOperation&&!e.widget.options.disabled?(vue.openBlock(),vue.createBlock(b,{key:1,label:"\u64CD\u4F5C",width:e.widget.options.operationColumnWidth,align:"center",fixed:"right"},{default:vue.withCtx(({row:w,$index:p})=>[vue.createVNode(_,{size:"small",type:"primary",link:"",disabled:e.widget.options.disabled,onClick:y=>C.handleEditRow(p,w)},{default:vue.withCtx(()=>[...m[3]||(m[3]=[vue.createTextVNode(" \u7F16\u8F91 ",-1)])]),_:1},8,["disabled","onClick"]),vue.createVNode(_,{size:"small",type:"danger",link:"",disabled:e.widget.options.disabled,onClick:y=>C.handleDeleteRow(p)},{default:vue.withCtx(()=>[...m[4]||(m[4]=[vue.createTextVNode(" \u5220\u9664 ",-1)])]),_:1},8,["disabled","onClick"])]),_:1},8,["width"])):vue.createCommentVNode("",!0)]),_:1},8,["data","border","stripe","size","max-height","disabled"]),vue.createVNode(h,{modelValue:A.dialogVisible,"onUpdate:modelValue":m[1]||(m[1]=w=>A.dialogVisible=w),title:A.dialogTitle,width:"800px","close-on-click-modal":!1,onClose:C.handleDialogClose},{footer:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_4$3,[vue.createVNode(_,{size:"default",onClick:m[0]||(m[0]=w=>A.dialogVisible=!1)},{default:vue.withCtx(()=>[...m[6]||(m[6]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(_,{size:"default",type:"primary",onClick:C.handleDialogConfirm},{default:vue.withCtx(()=>[...m[7]||(m[7]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(l,{ref:"dialogFormRef",model:A.dialogFormData,rules:A.dialogFormRules,"label-width":"100px"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.options.columns,(w,p)=>(vue.openBlock(),vue.createBlock(s,{key:p,label:w.label,prop:w.prop,required:w.required},{default:vue.withCtx(()=>[!w.type||w.type==="input"?(vue.openBlock(),vue.createBlock(u,{key:0,modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,placeholder:w.placeholder||`\u8BF7\u8F93\u5165${w.label}`,disabled:e.widget.options.disabled,onChange:y=>C.handleInputChange(w)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):w.type==="number"?(vue.openBlock(),vue.createBlock(i,{key:1,modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,placeholder:w.placeholder||`\u8BF7\u8F93\u5165${w.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},onChange:y=>C.handleInputChange(w)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):w.type==="date"?(vue.openBlock(),vue.createBlock(o,{key:2,modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,type:"date",placeholder:w.placeholder||`\u8BF7\u9009\u62E9${w.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},"value-format":"YYYY-MM-DD",onChange:y=>C.handleInputChange(w)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):w.type==="datetime"?(vue.openBlock(),vue.createBlock(o,{key:3,modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,type:"datetime",placeholder:w.placeholder||`\u8BF7\u9009\u62E9${w.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},"value-format":"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled"])):w.type==="month"?(vue.openBlock(),vue.createBlock(o,{key:4,modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,type:"month",placeholder:w.placeholder||`\u8BF7\u9009\u62E9${w.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},"value-format":"YYYY-MM",onChange:y=>C.handleInputChange(w)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):w.type==="select"?(vue.openBlock(),vue.createBlock(r,{modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,placeholder:w.placeholder||`\u8BF7\u9009\u62E9${w.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},ref_for:!0,ref:y=>C.handleSelectMounted(y,w),onChange:y=>C.handleInputChange(w),key:`select-${w.prop}-${A.dialogFormData._columnOptions?Object.keys(A.dialogFormData._columnOptions).length:0}`},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(C.getColumnOptions(w),(y,v)=>(vue.openBlock(),vue.createBlock(t,{key:`${w.prop}-${v}-${y.value}`,label:y.label,value:y.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):w.type==="textarea"?(vue.openBlock(),vue.createBlock(n,{key:6,modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,placeholder:w.placeholder||`\u8BF7\u8F93\u5165${w.label}`,disabled:e.widget.options.disabled,rows:w.rows||3,onChange:y=>C.handleInputChange(w)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","rows","onChange"])):vue.createCommentVNode("",!0)]),_:2},1032,["label","prop","required"]))),128))]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title","onClose"])],2)),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:1},8,["widget"])}var SubTableItem=_export_sfc$1(_sfc_main$b,[["render",_sfc_render$b],["__scopeId","data-v-26df506f"]]),ace$2={exports:{}};(function(a,m){(function(){var e="ace",g=function(){return this}();!g&&typeof window!="undefined"&&(g=window);var A=function(i,o,t){if(typeof i!="string"){A.original?A.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(t=o),A.modules[i]||(A.payloads[i]=t,A.modules[i]=null)};A.modules={},A.payloads={};var C=function(i,o,t){if(typeof o=="string"){var r=d(i,o);if(r!=null)return t&&t(),r}else if(Object.prototype.toString.call(o)==="[object Array]"){for(var n=[],s=0,l=o.length;s<l;++s){var h=d(i,o[s]);if(h==null&&_.original)return;n.push(h)}return t&&t.apply(null,n)||!0}},_=function(i,o){var t=C("",i,o);return t==null&&_.original?_.original.apply(this,arguments):t},b=function(i,o){if(o.indexOf("!")!==-1){var t=o.split("!");return b(i,t[0])+"!"+b(i,t[1])}if(o.charAt(0)=="."){var r=i.split("/").slice(0,-1).join("/");for(o=r+"/"+o;o.indexOf(".")!==-1&&n!=o;){var n=o;o=o.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return o},d=function(i,o){o=b(i,o);var t=A.modules[o];if(!t){if(t=A.payloads[o],typeof t=="function"){var r={},n={id:o,uri:"",exports:r,packaged:!0},s=function(h,f){return C(o,h,f)},l=t(s,r,n);r=l||n.exports,A.modules[o]=r,delete A.payloads[o]}t=A.modules[o]=r||t}return t};function u(i){var o=g;i&&(g[i]||(g[i]={}),o=g[i]),(!o.define||!o.define.packaged)&&(A.original=o.define,o.define=A,o.define.packaged=!0),(!o.require||!o.require.packaged)&&(_.original=o.require,o.require=_,o.require.packaged=!0)}u(e)})(),ace.define("ace/lib/es6-shim",["require","exports","module"],function(e,g,A){function C(_,b,d){Object.defineProperty(_,b,{value:d,enumerable:!1,writable:!0,configurable:!0})}String.prototype.startsWith||C(String.prototype,"startsWith",function(_,b){return b=b||0,this.lastIndexOf(_,b)===b}),String.prototype.endsWith||C(String.prototype,"endsWith",function(_,b){var d=this;(b===void 0||b>d.length)&&(b=d.length),b-=_.length;var u=d.indexOf(_,b);return u!==-1&&u===b}),String.prototype.repeat||C(String.prototype,"repeat",function(_){for(var b="",d=this;_>0;)_&1&&(b+=d),(_>>=1)&&(d+=d);return b}),String.prototype.includes||C(String.prototype,"includes",function(_,b){return this.indexOf(_,b)!=-1}),Object.assign||(Object.assign=function(_){if(_==null)throw new TypeError("Cannot convert undefined or null to object");for(var b=Object(_),d=1;d<arguments.length;d++){var u=arguments[d];u!=null&&Object.keys(u).forEach(function(i){b[i]=u[i]})}return b}),Object.values||(Object.values=function(_){return Object.keys(_).map(function(b){return _[b]})}),Array.prototype.find||C(Array.prototype,"find",function(_){for(var b=this.length,d=arguments[1],u=0;u<b;u++){var i=this[u];if(_.call(d,i,u,this))return i}}),Array.prototype.findIndex||C(Array.prototype,"findIndex",function(_){for(var b=this.length,d=arguments[1],u=0;u<b;u++){var i=this[u];if(_.call(d,i,u,this))return u}}),Array.prototype.includes||C(Array.prototype,"includes",function(_,b){return this.indexOf(_,b)!=-1}),Array.prototype.fill||C(Array.prototype,"fill",function(_){for(var b=this,d=b.length>>>0,u=arguments[1],i=u>>0,o=i<0?Math.max(d+i,0):Math.min(i,d),t=arguments[2],r=t===void 0?d:t>>0,n=r<0?Math.max(d+r,0):Math.min(r,d);o<n;)b[o]=_,o++;return b}),Array.of||C(Array,"of",function(){return Array.prototype.slice.call(arguments)})}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/es6-shim"],function(e,g,A){e("./es6-shim")}),ace.define("ace/lib/deep_copy",["require","exports","module"],function(e,g,A){g.deepCopy=function C(_){if(typeof _!="object"||!_)return _;var b;if(Array.isArray(_)){b=[];for(var d=0;d<_.length;d++)b[d]=C(_[d]);return b}if(Object.prototype.toString.call(_)!=="[object Object]")return _;b={};for(var d in _)b[d]=C(_[d]);return b}}),ace.define("ace/lib/lang",["require","exports","module","ace/lib/deep_copy"],function(e,g,A){g.last=function(b){return b[b.length-1]},g.stringReverse=function(b){return b.split("").reverse().join("")},g.stringRepeat=function(b,d){for(var u="";d>0;)d&1&&(u+=b),(d>>=1)&&(b+=b);return u};var C=/^\s\s*/,_=/\s\s*$/;g.stringTrimLeft=function(b){return b.replace(C,"")},g.stringTrimRight=function(b){return b.replace(_,"")},g.copyObject=function(b){var d={};for(var u in b)d[u]=b[u];return d},g.copyArray=function(b){for(var d=[],u=0,i=b.length;u<i;u++)b[u]&&typeof b[u]=="object"?d[u]=this.copyObject(b[u]):d[u]=b[u];return d},g.deepCopy=e("./deep_copy").deepCopy,g.arrayToMap=function(b){for(var d={},u=0;u<b.length;u++)d[b[u]]=1;return d},g.createMap=function(b){var d=Object.create(null);for(var u in b)d[u]=b[u];return d},g.arrayRemove=function(b,d){for(var u=0;u<=b.length;u++)d===b[u]&&b.splice(u,1)},g.escapeRegExp=function(b){return b.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},g.escapeHTML=function(b){return(""+b).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},g.getMatchOffsets=function(b,d){var u=[];return b.replace(d,function(i){u.push({offset:arguments[arguments.length-2],length:i.length})}),u},g.deferredCall=function(b){var d=null,u=function(){d=null,b()},i=function(o){return i.cancel(),d=setTimeout(u,o||0),i};return i.schedule=i,i.call=function(){return this.cancel(),b(),i},i.cancel=function(){return clearTimeout(d),d=null,i},i.isPending=function(){return d},i},g.delayedCall=function(b,d){var u=null,i=function(){u=null,b()},o=function(t){u==null&&(u=setTimeout(i,t||d))};return o.delay=function(t){u&&clearTimeout(u),u=setTimeout(i,t||d)},o.schedule=o,o.call=function(){this.cancel(),b()},o.cancel=function(){u&&clearTimeout(u),u=null},o.isPending=function(){return u},o},g.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch{return!1}return!0},g.skipEmptyMatch=function(b,d,u){return u&&b.codePointAt(d)>65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(e,g,A){g.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},g.getOS=function(){return g.isMac?g.OS.MAC:g.isLinux?g.OS.LINUX:g.OS.WINDOWS};var C=typeof navigator=="object"?navigator:{},_=(/mac|win|linux/i.exec(C.platform)||["other"])[0].toLowerCase(),b=C.userAgent||"",d=C.appName||"";g.isWin=_=="win",g.isMac=_=="mac",g.isLinux=_=="linux",g.isIE=d=="Microsoft Internet Explorer"||d.indexOf("MSAppHost")>=0?parseFloat((b.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((b.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),g.isOldIE=g.isIE&&g.isIE<9,g.isGecko=g.isMozilla=b.match(/ Gecko\/\d+/),g.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",g.isWebKit=parseFloat(b.split("WebKit/")[1])||void 0,g.isChrome=parseFloat(b.split(" Chrome/")[1])||void 0,g.isSafari=parseFloat(b.split(" Safari/")[1])&&!g.isChrome||void 0,g.isEdge=parseFloat(b.split(" Edge/")[1])||void 0,g.isAIR=b.indexOf("AdobeAIR")>=0,g.isAndroid=b.indexOf("Android")>=0,g.isChromeOS=b.indexOf(" CrOS ")>=0,g.isIOS=/iPad|iPhone|iPod/.test(b)&&!window.MSStream,g.isIOS&&(g.isMac=!0),g.isMobile=g.isIOS||g.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(e,g,A){var C=e("./useragent"),_="http://www.w3.org/1999/xhtml";g.buildDom=function t(r,n,s){if(typeof r=="string"&&r){var l=document.createTextNode(r);return n&&n.appendChild(l),l}if(!Array.isArray(r))return r&&r.appendChild&&n&&n.appendChild(r),r;if(typeof r[0]!="string"||!r[0]){for(var h=[],f=0;f<r.length;f++){var w=t(r[f],n,s);w&&h.push(w)}return h}var p=document.createElement(r[0]),y=r[1],v=1;y&&typeof y=="object"&&!Array.isArray(y)&&(v=2);for(var f=v;f<r.length;f++)t(r[f],p,s);return v==2&&Object.keys(y).forEach(function(M){var D=y[M];M==="class"?p.className=Array.isArray(D)?D.join(" "):D:typeof D=="function"||M=="value"||M[0]=="$"?p[M]=D:M==="ref"?s&&(s[D]=p):M==="style"?typeof D=="string"&&(p.style.cssText=D):D!=null&&p.setAttribute(M,D)}),n&&n.appendChild(p),p},g.getDocumentHead=function(t){return t||(t=document),t.head||t.getElementsByTagName("head")[0]||t.documentElement},g.createElement=function(t,r){return document.createElementNS?document.createElementNS(r||_,t):document.createElement(t)},g.removeChildren=function(t){t.innerHTML=""},g.createTextNode=function(t,r){var n=r?r.ownerDocument:document;return n.createTextNode(t)},g.createFragment=function(t){var r=t?t.ownerDocument:document;return r.createDocumentFragment()},g.hasCssClass=function(t,r){var n=(t.className+"").split(/\s+/g);return n.indexOf(r)!==-1},g.addCssClass=function(t,r){g.hasCssClass(t,r)||(t.className+=" "+r)},g.removeCssClass=function(t,r){for(var n=t.className.split(/\s+/g);;){var s=n.indexOf(r);if(s==-1)break;n.splice(s,1)}t.className=n.join(" ")},g.toggleCssClass=function(t,r){for(var n=t.className.split(/\s+/g),s=!0;;){var l=n.indexOf(r);if(l==-1)break;s=!1,n.splice(l,1)}return s&&n.push(r),t.className=n.join(" "),s},g.setCssClass=function(t,r,n){n?g.addCssClass(t,r):g.removeCssClass(t,r)},g.hasCssString=function(t,r){var n=0,s;if(r=r||document,s=r.querySelectorAll("style")){for(;n<s.length;)if(s[n++].id===t)return!0}},g.removeElementById=function(t,r){r=r||document,r.getElementById(t)&&r.getElementById(t).remove()};var b,d=[];g.useStrictCSP=function(t){b=t,t==!1?u():d||(d=[])};function u(){var t=d;d=null,t&&t.forEach(function(r){i(r[0],r[1])})}function i(t,r,n){if(typeof document!="undefined"){if(d){if(n)u();else if(n===!1)return d.push([t,r])}if(!b){var s=n;!n||!n.getRootNode?s=document:(s=n.getRootNode(),(!s||s==n)&&(s=document));var l=s.ownerDocument||s;if(r&&g.hasCssString(r,s))return null;r&&(t+=`
88
+ */return e.mode.CTRGladman=function(){var g=e.lib.BlockCipherMode.extend();function A(b){if((b>>24&255)==255){var d=b>>16&255,u=b>>8&255,i=b&255;d===255?(d=0,u===255?(u=0,i===255?i=0:++i):++u):++d,b=0,b+=d<<16,b+=u<<8,b+=i}else b+=1<<24;return b}function C(b){return(b[0]=A(b[0]))===0&&(b[1]=A(b[1])),b}var _=g.Encryptor=g.extend({processBlock:function(b,d){var u=this._cipher,i=u.blockSize,o=this._iv,t=this._counter;o&&(t=this._counter=o.slice(0),this._iv=void 0),C(t);var r=t.slice(0);u.encryptBlock(r,0);for(var n=0;n<i;n++)b[d+n]^=r[n]}});return g.Decryptor=_,g}(),e.mode.CTRGladman})})(modeCtrGladman);var modeOfb={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.mode.OFB=function(){var g=e.lib.BlockCipherMode.extend(),A=g.Encryptor=g.extend({processBlock:function(C,_){var b=this._cipher,d=b.blockSize,u=this._iv,i=this._keystream;u&&(i=this._keystream=u.slice(0),this._iv=void 0),b.encryptBlock(i,0);for(var o=0;o<d;o++)C[_+o]^=i[o]}});return g.Decryptor=A,g}(),e.mode.OFB})})(modeOfb);var modeEcb={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.mode.ECB=function(){var g=e.lib.BlockCipherMode.extend();return g.Encryptor=g.extend({processBlock:function(A,C){this._cipher.encryptBlock(A,C)}}),g.Decryptor=g.extend({processBlock:function(A,C){this._cipher.decryptBlock(A,C)}}),g}(),e.mode.ECB})})(modeEcb);var padAnsix923={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.AnsiX923={pad:function(g,A){var C=g.sigBytes,_=A*4,b=_-C%_,d=C+b-1;g.clamp(),g.words[d>>>2]|=b<<24-d%4*8,g.sigBytes+=b},unpad:function(g){var A=g.words[g.sigBytes-1>>>2]&255;g.sigBytes-=A}},e.pad.Ansix923})})(padAnsix923);var padIso10126={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.Iso10126={pad:function(g,A){var C=A*4,_=C-g.sigBytes%C;g.concat(e.lib.WordArray.random(_-1)).concat(e.lib.WordArray.create([_<<24],1))},unpad:function(g){var A=g.words[g.sigBytes-1>>>2]&255;g.sigBytes-=A}},e.pad.Iso10126})})(padIso10126);var padIso97971={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.Iso97971={pad:function(g,A){g.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(g,A)},unpad:function(g){e.pad.ZeroPadding.unpad(g),g.sigBytes--}},e.pad.Iso97971})})(padIso97971);var padZeropadding={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.ZeroPadding={pad:function(g,A){var C=A*4;g.clamp(),g.sigBytes+=C-(g.sigBytes%C||C)},unpad:function(g){for(var A=g.words,C=g.sigBytes-1,C=g.sigBytes-1;C>=0;C--)if(A[C>>>2]>>>24-C%4*8&255){g.sigBytes=C+1;break}}},e.pad.ZeroPadding})})(padZeropadding);var padNopadding={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding})})(padNopadding);var formatHex={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(g){var A=e,C=A.lib,_=C.CipherParams,b=A.enc,d=b.Hex,u=A.format;u.Hex={stringify:function(i){return i.ciphertext.toString(d)},parse:function(i){var o=d.parse(i);return _.create({ciphertext:o})}}}(),e.format.Hex})})(formatHex);var aes={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.BlockCipher,_=g.algo,b=[],d=[],u=[],i=[],o=[],t=[],r=[],n=[],s=[],l=[];(function(){for(var w=[],p=0;p<256;p++)p<128?w[p]=p<<1:w[p]=p<<1^283;for(var y=0,v=0,p=0;p<256;p++){var M=v^v<<1^v<<2^v<<3^v<<4;M=M>>>8^M&255^99,b[y]=M,d[M]=y;var D=w[y],L=w[D],S=w[L],N=w[M]*257^M*16843008;u[y]=N<<24|N>>>8,i[y]=N<<16|N>>>16,o[y]=N<<8|N>>>24,t[y]=N;var N=S*16843009^L*65537^D*257^y*16843008;r[M]=N<<24|N>>>8,n[M]=N<<16|N>>>16,s[M]=N<<8|N>>>24,l[M]=N,y?(y=D^w[w[w[S^D]]],v^=w[w[v]]):y=v=1}})();var h=[0,1,2,4,8,16,32,64,128,27,54],f=_.AES=C.extend({_doReset:function(){var w;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var p=this._keyPriorReset=this._key,y=p.words,v=p.sigBytes/4,M=this._nRounds=v+6,D=(M+1)*4,L=this._keySchedule=[],S=0;S<D;S++)S<v?L[S]=y[S]:(w=L[S-1],S%v?v>6&&S%v==4&&(w=b[w>>>24]<<24|b[w>>>16&255]<<16|b[w>>>8&255]<<8|b[w&255]):(w=w<<8|w>>>24,w=b[w>>>24]<<24|b[w>>>16&255]<<16|b[w>>>8&255]<<8|b[w&255],w^=h[S/v|0]<<24),L[S]=L[S-v]^w);for(var N=this._invKeySchedule=[],k=0;k<D;k++){var S=D-k;if(k%4)var w=L[S];else var w=L[S-4];k<4||S<=4?N[k]=w:N[k]=r[b[w>>>24]]^n[b[w>>>16&255]]^s[b[w>>>8&255]]^l[b[w&255]]}}},encryptBlock:function(w,p){this._doCryptBlock(w,p,this._keySchedule,u,i,o,t,b)},decryptBlock:function(w,p){var y=w[p+1];w[p+1]=w[p+3],w[p+3]=y,this._doCryptBlock(w,p,this._invKeySchedule,r,n,s,l,d);var y=w[p+1];w[p+1]=w[p+3],w[p+3]=y},_doCryptBlock:function(w,p,y,v,M,D,L,S){for(var N=this._nRounds,k=w[p]^y[0],T=w[p+1]^y[1],E=w[p+2]^y[2],I=w[p+3]^y[3],F=4,O=1;O<N;O++){var z=v[k>>>24]^M[T>>>16&255]^D[E>>>8&255]^L[I&255]^y[F++],W=v[T>>>24]^M[E>>>16&255]^D[I>>>8&255]^L[k&255]^y[F++],j=v[E>>>24]^M[I>>>16&255]^D[k>>>8&255]^L[T&255]^y[F++],B=v[I>>>24]^M[k>>>16&255]^D[T>>>8&255]^L[E&255]^y[F++];k=z,T=W,E=j,I=B}var z=(S[k>>>24]<<24|S[T>>>16&255]<<16|S[E>>>8&255]<<8|S[I&255])^y[F++],W=(S[T>>>24]<<24|S[E>>>16&255]<<16|S[I>>>8&255]<<8|S[k&255])^y[F++],j=(S[E>>>24]<<24|S[I>>>16&255]<<16|S[k>>>8&255]<<8|S[T&255])^y[F++],B=(S[I>>>24]<<24|S[k>>>16&255]<<16|S[T>>>8&255]<<8|S[E&255])^y[F++];w[p]=z,w[p+1]=W,w[p+2]=j,w[p+3]=B},keySize:256/32});g.AES=C._createHelper(f)}(),e.AES})})(aes);var tripledes={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.WordArray,_=A.BlockCipher,b=g.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],i=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],o=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],t=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],r=b.DES=_.extend({_doReset:function(){for(var h=this._key,f=h.words,w=[],p=0;p<56;p++){var y=d[p]-1;w[p]=f[y>>>5]>>>31-y%32&1}for(var v=this._subKeys=[],M=0;M<16;M++){for(var D=v[M]=[],L=i[M],p=0;p<24;p++)D[p/6|0]|=w[(u[p]-1+L)%28]<<31-p%6,D[4+(p/6|0)]|=w[28+(u[p+24]-1+L)%28]<<31-p%6;D[0]=D[0]<<1|D[0]>>>31;for(var p=1;p<7;p++)D[p]=D[p]>>>(p-1)*4+3;D[7]=D[7]<<5|D[7]>>>27}for(var S=this._invSubKeys=[],p=0;p<16;p++)S[p]=v[15-p]},encryptBlock:function(h,f){this._doCryptBlock(h,f,this._subKeys)},decryptBlock:function(h,f){this._doCryptBlock(h,f,this._invSubKeys)},_doCryptBlock:function(h,f,w){this._lBlock=h[f],this._rBlock=h[f+1],n.call(this,4,252645135),n.call(this,16,65535),s.call(this,2,858993459),s.call(this,8,16711935),n.call(this,1,1431655765);for(var p=0;p<16;p++){for(var y=w[p],v=this._lBlock,M=this._rBlock,D=0,L=0;L<8;L++)D|=o[L][((M^y[L])&t[L])>>>0];this._lBlock=M,this._rBlock=v^D}var S=this._lBlock;this._lBlock=this._rBlock,this._rBlock=S,n.call(this,1,1431655765),s.call(this,8,16711935),s.call(this,2,858993459),n.call(this,16,65535),n.call(this,4,252645135),h[f]=this._lBlock,h[f+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function n(h,f){var w=(this._lBlock>>>h^this._rBlock)&f;this._rBlock^=w,this._lBlock^=w<<h}function s(h,f){var w=(this._rBlock>>>h^this._lBlock)&f;this._lBlock^=w,this._rBlock^=w<<h}g.DES=_._createHelper(r);var l=b.TripleDES=_.extend({_doReset:function(){var h=this._key,f=h.words;if(f.length!==2&&f.length!==4&&f.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var w=f.slice(0,2),p=f.length<4?f.slice(0,2):f.slice(2,4),y=f.length<6?f.slice(0,2):f.slice(4,6);this._des1=r.createEncryptor(C.create(w)),this._des2=r.createEncryptor(C.create(p)),this._des3=r.createEncryptor(C.create(y))},encryptBlock:function(h,f){this._des1.encryptBlock(h,f),this._des2.decryptBlock(h,f),this._des3.encryptBlock(h,f)},decryptBlock:function(h,f){this._des3.decryptBlock(h,f),this._des2.encryptBlock(h,f),this._des1.decryptBlock(h,f)},keySize:192/32,ivSize:64/32,blockSize:64/32});g.TripleDES=_._createHelper(l)}(),e.TripleDES})})(tripledes);var rc4={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.StreamCipher,_=g.algo,b=_.RC4=C.extend({_doReset:function(){for(var i=this._key,o=i.words,t=i.sigBytes,r=this._S=[],n=0;n<256;n++)r[n]=n;for(var n=0,s=0;n<256;n++){var l=n%t,h=o[l>>>2]>>>24-l%4*8&255;s=(s+r[n]+h)%256;var f=r[n];r[n]=r[s],r[s]=f}this._i=this._j=0},_doProcessBlock:function(i,o){i[o]^=d.call(this)},keySize:256/32,ivSize:0});function d(){for(var i=this._S,o=this._i,t=this._j,r=0,n=0;n<4;n++){o=(o+1)%256,t=(t+i[o])%256;var s=i[o];i[o]=i[t],i[t]=s,r|=i[(i[o]+i[t])%256]<<24-n*8}return this._i=o,this._j=t,r}g.RC4=C._createHelper(b);var u=_.RC4Drop=b.extend({cfg:b.cfg.extend({drop:192}),_doReset:function(){b._doReset.call(this);for(var i=this.cfg.drop;i>0;i--)d.call(this)}});g.RC4Drop=C._createHelper(u)}(),e.RC4})})(rc4);var rabbit={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.StreamCipher,_=g.algo,b=[],d=[],u=[],i=_.Rabbit=C.extend({_doReset:function(){for(var t=this._key.words,r=this.cfg.iv,n=0;n<4;n++)t[n]=(t[n]<<8|t[n]>>>24)&16711935|(t[n]<<24|t[n]>>>8)&4278255360;var s=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],l=this._C=[t[2]<<16|t[2]>>>16,t[0]&4294901760|t[1]&65535,t[3]<<16|t[3]>>>16,t[1]&4294901760|t[2]&65535,t[0]<<16|t[0]>>>16,t[2]&4294901760|t[3]&65535,t[1]<<16|t[1]>>>16,t[3]&4294901760|t[0]&65535];this._b=0;for(var n=0;n<4;n++)o.call(this);for(var n=0;n<8;n++)l[n]^=s[n+4&7];if(r){var h=r.words,f=h[0],w=h[1],p=(f<<8|f>>>24)&16711935|(f<<24|f>>>8)&4278255360,y=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,v=p>>>16|y&4294901760,M=y<<16|p&65535;l[0]^=p,l[1]^=v,l[2]^=y,l[3]^=M,l[4]^=p,l[5]^=v,l[6]^=y,l[7]^=M;for(var n=0;n<4;n++)o.call(this)}},_doProcessBlock:function(t,r){var n=this._X;o.call(this),b[0]=n[0]^n[5]>>>16^n[3]<<16,b[1]=n[2]^n[7]>>>16^n[5]<<16,b[2]=n[4]^n[1]>>>16^n[7]<<16,b[3]=n[6]^n[3]>>>16^n[1]<<16;for(var s=0;s<4;s++)b[s]=(b[s]<<8|b[s]>>>24)&16711935|(b[s]<<24|b[s]>>>8)&4278255360,t[r+s]^=b[s]},blockSize:128/32,ivSize:64/32});function o(){for(var t=this._X,r=this._C,n=0;n<8;n++)d[n]=r[n];r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<d[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<d[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<d[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<d[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<d[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<d[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<d[6]>>>0?1:0)|0,this._b=r[7]>>>0<d[7]>>>0?1:0;for(var n=0;n<8;n++){var s=t[n]+r[n],l=s&65535,h=s>>>16,f=((l*l>>>17)+l*h>>>15)+h*h,w=((s&4294901760)*s|0)+((s&65535)*s|0);u[n]=f^w}t[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,t[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,t[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,t[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,t[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,t[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,t[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,t[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}g.Rabbit=C._createHelper(i)}(),e.Rabbit})})(rabbit);var rabbitLegacy={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.StreamCipher,_=g.algo,b=[],d=[],u=[],i=_.RabbitLegacy=C.extend({_doReset:function(){var t=this._key.words,r=this.cfg.iv,n=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],s=this._C=[t[2]<<16|t[2]>>>16,t[0]&4294901760|t[1]&65535,t[3]<<16|t[3]>>>16,t[1]&4294901760|t[2]&65535,t[0]<<16|t[0]>>>16,t[2]&4294901760|t[3]&65535,t[1]<<16|t[1]>>>16,t[3]&4294901760|t[0]&65535];this._b=0;for(var l=0;l<4;l++)o.call(this);for(var l=0;l<8;l++)s[l]^=n[l+4&7];if(r){var h=r.words,f=h[0],w=h[1],p=(f<<8|f>>>24)&16711935|(f<<24|f>>>8)&4278255360,y=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,v=p>>>16|y&4294901760,M=y<<16|p&65535;s[0]^=p,s[1]^=v,s[2]^=y,s[3]^=M,s[4]^=p,s[5]^=v,s[6]^=y,s[7]^=M;for(var l=0;l<4;l++)o.call(this)}},_doProcessBlock:function(t,r){var n=this._X;o.call(this),b[0]=n[0]^n[5]>>>16^n[3]<<16,b[1]=n[2]^n[7]>>>16^n[5]<<16,b[2]=n[4]^n[1]>>>16^n[7]<<16,b[3]=n[6]^n[3]>>>16^n[1]<<16;for(var s=0;s<4;s++)b[s]=(b[s]<<8|b[s]>>>24)&16711935|(b[s]<<24|b[s]>>>8)&4278255360,t[r+s]^=b[s]},blockSize:128/32,ivSize:64/32});function o(){for(var t=this._X,r=this._C,n=0;n<8;n++)d[n]=r[n];r[0]=r[0]+1295307597+this._b|0,r[1]=r[1]+3545052371+(r[0]>>>0<d[0]>>>0?1:0)|0,r[2]=r[2]+886263092+(r[1]>>>0<d[1]>>>0?1:0)|0,r[3]=r[3]+1295307597+(r[2]>>>0<d[2]>>>0?1:0)|0,r[4]=r[4]+3545052371+(r[3]>>>0<d[3]>>>0?1:0)|0,r[5]=r[5]+886263092+(r[4]>>>0<d[4]>>>0?1:0)|0,r[6]=r[6]+1295307597+(r[5]>>>0<d[5]>>>0?1:0)|0,r[7]=r[7]+3545052371+(r[6]>>>0<d[6]>>>0?1:0)|0,this._b=r[7]>>>0<d[7]>>>0?1:0;for(var n=0;n<8;n++){var s=t[n]+r[n],l=s&65535,h=s>>>16,f=((l*l>>>17)+l*h>>>15)+h*h,w=((s&4294901760)*s|0)+((s&65535)*s|0);u[n]=f^w}t[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,t[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,t[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,t[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,t[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,t[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,t[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,t[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}g.RabbitLegacy=C._createHelper(i)}(),e.RabbitLegacy})})(rabbitLegacy);var blowfish={exports:{}};(function(a,m){(function(e,g,A){a.exports=g(core.exports,encBase64.exports,md5.exports,evpkdf.exports,cipherCore.exports)})(commonjsGlobal,function(e){return function(){var g=e,A=g.lib,C=A.BlockCipher,_=g.algo;const b=16,d=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],u=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var i={pbox:[],sbox:[]};function o(l,h){let f=h>>24&255,w=h>>16&255,p=h>>8&255,y=h&255,v=l.sbox[0][f]+l.sbox[1][w];return v=v^l.sbox[2][p],v=v+l.sbox[3][y],v}function t(l,h,f){let w=h,p=f,y;for(let v=0;v<b;++v)w=w^l.pbox[v],p=o(l,w)^p,y=w,w=p,p=y;return y=w,w=p,p=y,p=p^l.pbox[b],w=w^l.pbox[b+1],{left:w,right:p}}function r(l,h,f){let w=h,p=f,y;for(let v=b+1;v>1;--v)w=w^l.pbox[v],p=o(l,w)^p,y=w,w=p,p=y;return y=w,w=p,p=y,p=p^l.pbox[1],w=w^l.pbox[0],{left:w,right:p}}function n(l,h,f){for(let M=0;M<4;M++){l.sbox[M]=[];for(let D=0;D<256;D++)l.sbox[M][D]=u[M][D]}let w=0;for(let M=0;M<b+2;M++)l.pbox[M]=d[M]^h[w],w++,w>=f&&(w=0);let p=0,y=0,v=0;for(let M=0;M<b+2;M+=2)v=t(l,p,y),p=v.left,y=v.right,l.pbox[M]=p,l.pbox[M+1]=y;for(let M=0;M<4;M++)for(let D=0;D<256;D+=2)v=t(l,p,y),p=v.left,y=v.right,l.sbox[M][D]=p,l.sbox[M][D+1]=y;return!0}var s=_.Blowfish=C.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var l=this._keyPriorReset=this._key,h=l.words,f=l.sigBytes/4;n(i,h,f)}},encryptBlock:function(l,h){var f=t(i,l[h],l[h+1]);l[h]=f.left,l[h+1]=f.right},decryptBlock:function(l,h){var f=r(i,l[h],l[h+1]);l[h]=f.left,l[h+1]=f.right},blockSize:64/32,keySize:128/32,ivSize:64/32});g.Blowfish=C._createHelper(s)}(),e.Blowfish})})(blowfish),function(a,m){(function(e,g,A){a.exports=g(core.exports,x64Core.exports,libTypedarrays.exports,encUtf16.exports,encBase64.exports,encBase64url.exports,md5.exports,sha1.exports,sha256.exports,sha224.exports,sha512.exports,sha384.exports,sha3.exports,ripemd160.exports,hmac.exports,pbkdf2.exports,evpkdf.exports,cipherCore.exports,modeCfb.exports,modeCtr.exports,modeCtrGladman.exports,modeOfb.exports,modeEcb.exports,padAnsix923.exports,padIso10126.exports,padIso97971.exports,padZeropadding.exports,padNopadding.exports,formatHex.exports,aes.exports,tripledes.exports,rc4.exports,rabbit.exports,rabbitLegacy.exports,blowfish.exports)})(commonjsGlobal,function(e){return e})}(cryptoJs),useCookies();const getToken=()=>sessionStorage.getItem("Authorization");useCookies();const service$1=axios.create({baseURL:"/api",timeout:5e4,headers:{"Content-Type":"application/json;charset=utf-8"}});service$1.interceptors.request.use(a=>{a.headers.Client="web";const m=getToken(),e=sessionStorage.getItem("companyId"),g=sessionStorage.getItem("postId");return m&&(a.headers.Authorization=getToken()),e&&(a.headers.Company=e),g&&(a.headers.Post=g),a},a=>Promise.reject(a)),service$1.interceptors.response.use(a=>{const{responseType:m}=a.config;if(m==="blob")return a;const{code:e,data:g,msg:A,message:C}=a.data;return e&&e!==200?(elementPlus.ElMessage({message:A||C||"\u7CFB\u7EDF\u51FA\u9519",type:"error",showClose:!0}),Promise.reject(A||C||"\u7CFB\u7EDF\u51FA\u9519")):g&&g.code&&g.code!==200?(elementPlus.ElMessage({message:A||g.msg||g.message||"\u7CFB\u7EDF\u51FA\u9519",type:"error",showClose:!0}),Promise.reject(g.msg||C)):a.data},a=>{if(console.log(a,"error"),a.response){const{message:m,status:e,data:g}=a.response;if(e===401&&(document.querySelector(".login-expired-notice")||elementPlus.ElMessage({message:"\u60A8\u7684\u4EE4\u724C\u65E0\u6548\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55",type:"error",showClose:!0})),e===401){document.querySelector(".login-expired-notice")||elementPlus.ElMessage({message:"\u60A8\u7684\u767B\u5F55\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55",type:"error",showClose:!0});return}elementPlus.ElMessage({message:(g==null?void 0:g.msg)||(g==null?void 0:g.message)||m||a.message||"\u7CFB\u7EDF\u51FA\u9519",type:"error",showClose:!0})}return Promise.reject(a.msg||a.message||a||"\u7CFB\u7EDF\u51FA\u9519")});var companyIcon="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDE2IDE2IiB2ZXJzaW9uPSIxLjEi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QxMDE1IDE1LjU4MDAwOTMsMjEuMDI2OTczMSBMMTQuODE3OTI1LDE4LjA2Mjg5MjYgQzE0Ljc4NjU5NjUsMTcuOTQxMTM1NyAxNC42NzY3OTY2LDE3Ljg1NTk3ODcgMTQuNTUxMDU0LDE3Ljg1NTk3ODciIGlkPSJGaWxsLTE1IiBmaWxsPSIjQTNBREMzIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=",personTreeItem_vue_vue_type_style_index_0_lang="",personTreeItem_vue_vue_type_style_index_1_scoped_true_lang="";const _sfc_main$r={name:"person-tree-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{dialogVisible:!1,fieldModel:null,oldFieldValue:null,rules:[],treeData:[],defaultProps:{children:"children",label:"name"},checkedNodes:[],treeRef:null,defaultExpandedKeys:[],currentNodeKey:null,search:""}},computed:{displayModel:{get(){return this.fieldModel!=null?this.fieldModel:[]},set(a){this.fieldModel=a}},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(),this.getTreeData()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleRemoveTag(a,m){if(this.field.options.disabled)return;const e=Array.isArray(this.fieldModel)?this.fieldModel:[];let g;a!=null&&typeof m=="number"&&m>=0?(g=deepClone(e),g.splice(m,0,a)):g=deepClone(e),this.oldFieldValue=g,this.syncUpdateFormModel(e),this.emitFieldDataChange(e,this.oldFieldValue),this.triggerEvent("onRemoveTag",a,e,m),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},getTreeData(){const a=this.field.options.treeParams?JSON.parse(this.field.options.treeParams):{};if(a.isNeedDeptId){const m=localStorage.getItem("userInfo")||"";a.deptIds=m?[JSON.parse(m).deptId]:[]}service$1({method:"post",url:"/unified-system/sysCompany/fullTree",data:ze({companyId:sessionStorage.getItem("companyId")},a)}).then(({data:m})=>{this.treeData=e(m);function e(g){var A;for(const C of g)C.nodeKey=C.joinUserId||C.id,C.children&&((A=C.children)==null?void 0:A.length)&&e(C.children);return g}this.$nextTick(()=>{this.applyTreeFilter()})})},filterNode(a,m){if(a==null||String(a).trim()==="")return!0;const e=String(a).trim().toLowerCase(),g=(m.name||"").toLowerCase();return(m.postName||"").toLowerCase(),g.includes(e)},applyTreeFilter(){this.$refs.treeRef&&typeof this.$refs.treeRef.filter=="function"&&this.$refs.treeRef.filter(this.search)},renderContent(a,{node:m,data:e}){return a("div",{class:"custom-tree-node"},[m.level===1&&a("img",{src:companyIcon,alt:""}),m.level===2&&a("img",{src:deptIcon,alt:""}),m.level===3&&a("img",{src:personTree,alt:""}),m.level===3&&a("div",{class:"avatar mr-6px",style:{backgroundImage:`url(${e.avatarUrl||personIcon})`}}),[a("div",{class:m.level===1?"text-#1D2129":"text-#4E5969 ",style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0,width:"80%"}},e.postName?`${m.label}\uFF08${e.postName}\uFF09`:m.label),m.level===3&&!this.field.options.multiple&&a("div",{class:`personRadio-checked-icon ${(e==null?void 0:e.nodeKey)===this.currentNodeKey?"personRadio-checked":""}`})]])},handleClick(){this.getTreeData(),this.dialogVisible=!0,this.triggerEvent("onOpen"),this.$nextTick(()=>{this.field.options.multiple?this.fieldModel&&this.fieldModel.length>0?(this.$refs.treeRef.setCheckedKeys(this.fieldModel.map(a=>a.nodeKey)),this.defaultExpandedKeys=this.fieldModel.map(a=>a.nodeKey)):(this.$refs.treeRef.setCheckedKeys([]),this.defaultExpandedKeys=[]):(this.currentNodeKey=this.fieldModel&&this.fieldModel[0]?this.fieldModel[0].nodeKey:null,this.defaultExpandedKeys=this.currentNodeKey?[this.currentNodeKey]:[]),this.applyTreeFilter()})},handleNodeClick(a,m){this.field.options.multiple||(this.currentNodeKey=a.nodeKey)},handleCheck(){},handleConfirm(){var m;this.dialogVisible=!1,this.$nextTick(()=>{this.$refs.inputTagRef.blur()}),this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null;let a=[];if(this.field.options.multiple)a=(((m=this.$refs.treeRef)==null?void 0:m.getCheckedNodes())||[]).filter(e=>e.joinUserId).map(e=>({postName:e.postName,joinUserId:e.joinUserId,name:e.name,id:e.id,nodeKey:e.nodeKey,avatar:e.avatarUrl}));else{const e=this.currentNodeKey;if(e&&this.$refs.treeRef){const g=this.$refs.treeRef.getNode(e),A=g==null?void 0:g.data;(A==null?void 0:A.joinUserId)&&(a=[{joinUserId:A.joinUserId,name:A.name,id:A.id,nodeKey:A.nodeKey,avatar:A.avatarUrl,postName:A.postName}])}}this.fieldModel=a,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",a),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},handleCancel(){this.dialogVisible=!1,this.triggerEvent("onCancel"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()]),this.$nextTick(()=>{this.$refs.inputTagRef.blur()})},handleClose(){this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(a,...m){var g,A;const e=(A=(g=this.field)==null?void 0:g.options)==null?void 0:A[a];if(e)try{if(a==="onConfirm"&&m.length>0){const C=m[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,C,C,C)}else if(a==="onRemoveTag"&&m.length>=2){const C=m[0],_=m[1],b=m[2];new Function("removedItem","remainingNodes","remainingValue","selectedValue","removedIndex",e).call(this,C,_,_,_,b)}else if(m.length>0){const C=m.map((b,d)=>`arg${d}`).join(", ");new Function(C,e).apply(this,m)}else new Function(e).call(this)}catch(C){console.error(`Error executing ${a} handler:`,C),console.error("Handler code:",e),console.error("Args:",m)}},handleSearch(){this.$nextTick(()=>{this.applyTreeFilter()})}}},_hoisted_1$l={class:"person-tree-widget__trigger"},_hoisted_2$f={class:"flex items-center"},_hoisted_3$d={class:"dialog-footer"};function _sfc_render$r(a,m,e,g,A,C){const _=vue.resolveComponent("el-input-tag"),b=vue.resolveComponent("el-input"),d=vue.resolveComponent("el-tree"),u=vue.resolveComponent("el-scrollbar"),i=vue.resolveComponent("el-button"),o=vue.resolveComponent("el-dialog"),t=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(t,{designer:e.designer,field:e.field,rules:A.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:"person-tree-widget",style:vue.normalizeStyle(C.widgetStyle)},[vue.createElementVNode("div",_hoisted_1$l,[vue.createVNode(_,{modelValue:C.displayModel,"onUpdate:modelValue":m[0]||(m[0]=r=>C.displayModel=r),"tag-type":"success","tag-effect":"light",disabled:e.field.options.disabled,placeholder:"\u8BF7\u9009\u62E9\u4EBA\u5458",onClick:C.handleClick,ref:"inputTagRef",onRemoveTag:C.handleRemoveTag},{tag:vue.withCtx(({value:r})=>[vue.createElementVNode("div",_hoisted_2$f,[vue.createElementVNode("span",null,vue.toDisplayString(r.name),1)])]),_:1},8,["modelValue","disabled","onClick","onRemoveTag"])]),vue.createVNode(o,{modelValue:A.dialogVisible,"onUpdate:modelValue":m[2]||(m[2]=r=>A.dialogVisible=r),title:e.field.options.dialogTitle||"\u4EBA\u5458\u6811",width:"480px",onClose:C.handleClose,"body-class":"person-tree-dialog-body","header-class":"person-tree-dialog-header"},vue.createSlots({default:vue.withCtx(()=>[vue.createVNode(b,{modelValue:A.search,"onUpdate:modelValue":m[1]||(m[1]=r=>A.search=r),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u8FDB\u884C\u641C\u7D22",onInput:C.handleSearch,class:"pr-24px mb-30px"},null,8,["modelValue","onInput"]),vue.createVNode(u,{height:"514px",class:"pr-24px"},{default:vue.withCtx(()=>[vue.createVNode(d,{data:A.treeData,"show-checkbox":e.field.options.multiple,props:A.defaultProps,"render-content":C.renderContent,"node-key":"nodeKey",ref:"treeRef","default-expanded-keys":A.defaultExpandedKeys,"filter-node-method":C.filterNode,"highlight-current":!e.field.options.multiple,"current-node-key":A.currentNodeKey,onNodeClick:C.handleNodeClick,onCheck:C.handleCheck},null,8,["data","show-checkbox","props","render-content","default-expanded-keys","filter-node-method","highlight-current","current-node-key","onNodeClick","onCheck"])]),_:1})]),_:2},[e.field.options.hideFooter?void 0:{name:"footer",fn:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$d,[vue.createVNode(i,{onClick:C.handleCancel,size:"default"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.cancelText||"\u53D6\u6D88"),1)]),_:1},8,["onClick"]),vue.createVNode(i,{type:"primary",onClick:C.handleConfirm,size:"default"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.confirmText||"\u786E\u5B9A"),1)]),_:1},8,["onClick"])])]),key:"0"}]),1032,["modelValue","title","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 PersonTreeWidget=_export_sfc$1(_sfc_main$r,[["render",_sfc_render$r],["__scopeId","data-v-2f0d2d47"]]);const _sfc_main$q={name:"radio-other-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{fieldModel:null,oldFieldValue:null,rules:[],inputValue:"",radioValue:null}},computed:{widgetSize(){return this.field.options.size||"default"},options(){return[...this.field.options.optionItems||[],{value:"_RADIO_OTHER_",label:"\u5176\u4ED6"}]}},watch:{fieldModel:{handler(a){if(typeof a=="string"&&a.includes("_RADIO_OTHER_")){const[m,e]=a.split("&");this.radioValue=m||"_RADIO_OTHER_",this.inputValue=e}else this.radioValue=a,this.inputValue=""}},immediate:!0},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{handleChangeEvent(a){this.oldFieldValue=this.fieldModel,this.radioValue=a,this.inputValue="",a==="_RADIO_OTHER_"?(this.fieldModel=a,this.inputValue?this.syncUpdateFormModel(`${a}&${this.inputValue}`):this.syncUpdateFormModel(a)):(this.otherValue="",this.fieldModel=a,this.syncUpdateFormModel(a)),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleOtherValueChange(){if(this.radioValue==="_RADIO_OTHER_"){const a=this.inputValue?`${this.radioValue}&${this.inputValue}`:this.radioValue;this.oldFieldValue=this.fieldModel,this.syncUpdateFormModel(a),this.emitFieldDataChange(a,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])}}}};function _sfc_render$q(a,m,e,g,A,C){const _=vue.resolveComponent("el-radio"),b=vue.resolveComponent("el-radio-group"),d=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:A.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,{modelValue:A.radioValue,"onUpdate:modelValue":m[0]||(m[0]=i=>A.radioValue=i),class:vue.normalizeClass({"radio-group-block":e.field.options.displayStyle==="block"}),disabled:e.field.options.disabled,size:C.widgetSize,onChange:C.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(C.options,(i,o)=>(vue.openBlock(),vue.createBlock(_,{key:o,label:i.value,disabled:i.disabled,border:e.field.options.border,style:vue.normalizeStyle({display:e.field.options.displayStyle})},{default:vue.withCtx(()=>[vue.createElementVNode("span",null,vue.toDisplayString(i.label),1)]),_:2},1032,["label","disabled","border","style"]))),128))]),_:1},8,["modelValue","class","disabled","size","onChange"]),A.radioValue==="_RADIO_OTHER_"?(vue.openBlock(),vue.createBlock(d,{key:0,modelValue:A.inputValue,"onUpdate:modelValue":m[1]||(m[1]=i=>A.inputValue=i),disabled:e.field.options.disabled,onInput:m[2]||(m[2]=i=>C.handleOtherValueChange()),placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue","disabled"])):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 radioOtherItem=_export_sfc$1(_sfc_main$q,[["render",_sfc_render$q]]);const _sfc_main$p={name:"select-other-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,otherValue:"",rules:[]}},computed:{widgetSize(){return this.field.options.size||"default"},allowDefaultFirstOption(){return!!this.field.options.filterable&&!!this.field.options.allowCreate},optionItems(){return[...this.field.options.optionItems||[],{value:"_SELECT_OTHER_",label:"\u5176\u4ED6"}]},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:{handleChangeEvent(a){this.oldFieldValue=this.fieldModel,a==="_SELECT_OTHER_"?(this.fieldModel=a,this.otherValue?this.syncUpdateFormModel(`${a}${this.otherValue}`):this.syncUpdateFormModel(a)):(this.otherValue="",this.fieldModel=a,this.syncUpdateFormModel(a)),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},handleOtherValueChange(){if(this.fieldModel==="_SELECT_OTHER_"){const a=this.otherValue?`${this.fieldModel}${this.otherValue}`:this.fieldModel;this.oldFieldValue=this.fieldModel,this.syncUpdateFormModel(a),this.emitFieldDataChange(a,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])}}}};function _sfc_render$p(a,m,e,g,A,C){const _=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),d=vue.resolveComponent("el-input"),u=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(u,{designer:e.designer,field:e.field,rules:A.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:A.fieldModel,"onUpdate:modelValue":m[0]||(m[0]=i=>A.fieldModel=i),class:"full-width-input",disabled:e.field.options.disabled,size:C.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":C.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||a.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":C.remoteMethod,onFocus:a.handleFocusCustomEvent,onBlur:a.handleBlurCustomEvent,onChange:C.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(C.optionItems,i=>(vue.openBlock(),vue.createBlock(_,{key:i.value,label:i.label,value:i.value,disabled:i.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"]),A.fieldModel==="_SELECT_OTHER_"?(vue.openBlock(),vue.createBlock(d,{key:0,modelValue:A.otherValue,"onUpdate:modelValue":m[1]||(m[1]=i=>A.otherValue=i),placeholder:"\u8BF7\u8F93\u5165\u5176\u4ED6\u9009\u9879",onChange:C.handleOtherValueChange,class:"mt-10px"},null,8,["modelValue","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 selectOtherItem=_export_sfc$1(_sfc_main$p,[["render",_sfc_render$p]]),meetingRoomItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$o={name:"meeting-room-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,Loading:loading},data(){return{oldFieldValue:null,fieldModel:null,rules:[],popoverWidth:0,roomList:[],loading:!1,popoverVisible:!1}},computed:{widgetSize(){return this.field.options.size||"default"},roomValue(){if(this.field.options.allowMultiple)return!this.fieldModel||!Array.isArray(this.fieldModel)||this.fieldModel.length===0?"":this.roomList.filter(m=>this.fieldModel.some(e=>String(e)===String(m.id))).map(m=>m.roomName).join("\u3001");{const a=this.roomList.find(m=>String(m.id)===String(this.fieldModel));return a?a.roomName:""}}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted(),this.$nextTick(()=>{this.updatePopoverWidth()})},beforeUnmount(){this.unregisterFromRefList()},methods:{handleSelect(a){return this.field.options.allowMultiple?this.fieldModel&&Array.isArray(this.fieldModel)&&this.fieldModel.length?this.fieldModel.some(m=>String(m)===String(a.id)):!1:String(this.fieldModel)===String(a.id)},handleChangeEvent(a){this.oldFieldValue=this.fieldModel,this.fieldModel=a,this.syncUpdateFormModel(a),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updatePopoverWidth(){this.$refs.inputRef&&this.$refs.inputRef.$el&&(this.popoverWidth=this.$refs.inputRef.$el.offsetWidth||0)},handlePopoverShow(){this.field.options.remoteUrl&&this.fetchRoomList()},fetchRoomList(){!this.field.options.remoteUrl||(this.loading=!0,this.roomList=[],service$1.get(this.field.options.remoteUrl).then(a=>{let m=a;a&&a.data&&(m=a.data),Array.isArray(m)?this.roomList=m:m&&Array.isArray(m.data)?this.roomList=m.data:m&&Array.isArray(m.list)?this.roomList=m.list:this.roomList=[]}).catch(a=>{console.error("\u83B7\u53D6\u4F1A\u8BAE\u5BA4\u5217\u8868\u5931\u8D25:",a),this.roomList=[]}).finally(()=>{this.loading=!1}))},handleSelectRoom({id:a}){if(this.oldFieldValue=this.fieldModel,this.field.options.allowMultiple){this.fieldModel||(this.fieldModel=[]);const m=String(a),e=this.fieldModel.findIndex(g=>String(g)===m);e!==-1?this.fieldModel.splice(e,1):this.fieldModel.push(a)}else this.fieldModel=a,this.popoverVisible=!1;this.syncUpdateFormModel(this.fieldModel),this.$emit("change",this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])}}},_hoisted_1$k={key:0,class:"empty-wrap"},_hoisted_2$e={key:1,class:"room-wrap"},_hoisted_3$c=["onClick"],_hoisted_4$a={class:"select-icon"},_hoisted_5$8={class:"room-item-name"},_hoisted_6$8={key:0,class:"room-item-capacity"},_hoisted_7$5={key:1,class:"room-item-equipment"};function _sfc_render$o(a,m,e,g,A,C){const _=vue.resolveComponent("el-input"),b=vue.resolveComponent("el-empty"),d=vue.resolveComponent("Select"),u=vue.resolveComponent("el-icon"),i=vue.resolveComponent("el-popover"),o=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(o,{designer:e.designer,field:e.field,rules:A.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(i,{visible:A.popoverVisible,"onUpdate:visible":m[1]||(m[1]=t=>A.popoverVisible=t),trigger:"click",placement:"top-start",width:A.popoverWidth,onShow:C.handlePopoverShow},{reference:vue.withCtx(()=>[vue.createVNode(_,{modelValue:C.roomValue,"onUpdate:modelValue":m[0]||(m[0]=t=>C.roomValue=t),class:"full-width-input",disabled:e.field.options.disabled,size:C.widgetSize,ref:"inputRef",readonly:"",placeholder:e.field.options.placeholder||"\u8BF7\u9009\u62E9\u4F1A\u8BAE\u5BA4"},null,8,["modelValue","disabled","size","placeholder"])]),default:vue.withCtx(()=>[vue.createElementVNode("div",null,[A.roomList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$k,[vue.createVNode(b,{description:"\u6682\u65E0\u6570\u636E"})])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$e,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(A.roomList,t=>{var r;return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["room-item",{selected:e.field.options.allowMultiple?(r=A.fieldModel)==null?void 0:r.includes(t.id):A.fieldModel===t.id}]),key:t.id||t.value,onClick:n=>C.handleSelectRoom(t)},[vue.withDirectives(vue.createElementVNode("div",_hoisted_4$a,[vue.createVNode(u,null,{default:vue.withCtx(()=>[vue.createVNode(d)]),_:1})],512),[[vue.vShow,C.handleSelect(t)]]),vue.createElementVNode("div",_hoisted_5$8,[vue.createElementVNode("span",null,vue.toDisplayString(t.roomName),1)]),t.capacity?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$8,[vue.createElementVNode("span",null,"\u5BB9\u91CF\uFF1A"+vue.toDisplayString(t.capacity),1)])):vue.createCommentVNode("",!0),t.equipment?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$5,[vue.createElementVNode("span",null,"\u8BBE\u5907\uFF1A"+vue.toDisplayString(t.equipment),1)])):vue.createCommentVNode("",!0)],10,_hoisted_3$c)}),128))]))])]),_:1},8,["visible","width","onShow"])]),_: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 meetingRoomItem=_export_sfc$1(_sfc_main$o,[["render",_sfc_render$o],["__scopeId","data-v-344c32a1"]]),gridColWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$n={name:"GridColWidget",componentName:"GridColWidget",mixins:[i18n$1,refMixinDesign],inject:["refList"],components:ht(ze({},comps),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,colHeight:{type:String,default:null},fieldSchemaData:{type:Array,default:void 0}},data(){return{layoutProps:{span:this.widget.options.span||12,offset:this.widget.options.offset||0,push:this.widget.options.push||0,pull:this.widget.options.pull||0}}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},colHeightStyle(){return this.colHeight?{height:this.colHeight+"px"}:{}}},watch:{"widget.options.name":{handler(a,m){this.registerToRefList(m)}},"designer.formConfig.layoutType":{handler(a){this.widget.options.responsive?a==="H5"?this.layoutProps.span=this.widget.options.xs||12:a==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12:this.layoutProps.span=this.widget.options.span||12}},"widget.options.responsive":{handler(a){let m=this.designer.formConfig.layoutType;a?m==="H5"?this.layoutProps.span=this.widget.options.xs||12:m==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12:this.layoutProps.span=this.widget.options.span||12}},"widget.options.span":{handler(a){this.layoutProps.span=a}},"widget.options.md":{handler(a){this.layoutProps.span=a}},"widget.options.sm":{handler(a){this.layoutProps.span=a}},"widget.options.xs":{handler(a){this.layoutProps.span=a}},"widget.options.offset":{handler(a){this.layoutProps.offset=a}},"widget.options.push":{handler(a){this.layoutProps.push=a}},"widget.options.pull":{handler(a){this.layoutProps.pull=a}}},created(){this.initRefList(),this.initLayoutProps()},beforeUnmount(){var a,m;this.refList!=null&&((m=(a=this.widget)==null?void 0:a.options)==null?void 0:m.name)&&delete this.refList[this.widget.options.name]},methods:{setHidden(a){this.widget.options.hidden=!!a,this.$nextTick(()=>this.$forceUpdate())},initLayoutProps(){if(this.widget.options.responsive){let a=this.designer.formConfig.layoutType;a==="H5"?this.layoutProps.span=this.widget.options.xs||12:a==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12}else this.layoutProps.span=this.widget.options.span},onGridDragEnd(a,m){},onGridDragAdd(a,m){const e=a.newIndex;m[e]&&this.designer.setSelected(m[e]),this.designer.emitHistoryChange()},onGridDragUpdate(){this.designer.emitHistoryChange()},selectWidget(a){console.log("id: "+a.id),this.designer.setSelected(a)},checkContainerMove(a){return this.designer.checkWidgetMove(a)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList)},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList)},cloneGridCol(a){this.designer.cloneGridCol(a,this.parentWidget)},removeWidget(){if(this.parentList){let a=null;this.parentList.length===1?this.parentWidget&&(a=this.parentWidget):this.parentList.length===1+this.indexOfParentList?a=this.parentList[this.indexOfParentList-1]:a=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(a),this.designer.emitHistoryChange()})}}}},_hoisted_1$j={class:"form-widget-list"},_hoisted_2$d={key:0,class:"grid-col-action"},_hoisted_3$b=["title"],_hoisted_4$9=["title"],_hoisted_5$7=["title"],_hoisted_6$7=["title"],_hoisted_7$4=["title"],_hoisted_8$4={key:1,class:"grid-col-handler"},_hoisted_9$3={key:0,class:"col-hidden-tag"};function _sfc_render$n(a,m,e,g,A,C){const _=vue.resolveComponent("draggable"),b=vue.resolveComponent("svg-icon"),d=vue.resolveComponent("el-col");return e.widget.type==="grid-col"&&(!e.widget.options.hidden||e.designer)?(vue.openBlock(),vue.createBlock(d,vue.mergeProps({key:0,class:"grid-cell"},A.layoutProps,{class:[C.selected?"selected":"",C.customClass],style:C.colHeightStyle,key:e.widget.id,onClick:m[7]||(m[7]=vue.withModifiers(u=>C.selectWidget(e.widget),["stop"]))}),{default:vue.withCtx(()=>[vue.createVNode(_,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:m[0]||(m[0]=u=>C.onGridDragEnd(u,e.widget.widgetList)),onAdd:m[1]||(m[1]=u=>C.onGridDragAdd(u,e.widget.widgetList)),onUpdate:C.onGridDragUpdate,move:C.checkContainerMove}),{item:vue.withCtx(({element:u,index:i})=>[vue.createElementVNode("div",_hoisted_1$j,[u.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(u.type+"-widget"),{widget:u,designer:e.designer,key:u.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"field-schema-data":e.fieldSchemaData&&e.fieldSchemaData[i]?e.fieldSchemaData[i]:void 0},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget","field-schema-data"])):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(e.fieldSchemaData)+" ",1),(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(u.type+"-widget"),{field:e.fieldSchemaData&&e.fieldSchemaData[i]?e.fieldSchemaData[i]:u,designer:e.designer,key:e.fieldSchemaData&&e.fieldSchemaData[i]?e.fieldSchemaData[i].id:u.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"]))],64))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="grid-col"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$d,[vue.createElementVNode("i",{title:a.i18nt("designer.hint.selectParentWidget"),onClick:m[2]||(m[2]=vue.withModifiers(u=>C.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(b,{"icon-class":"el-back"})],8,_hoisted_3$b),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:a.i18nt("designer.hint.moveUpWidget"),onClick:m[3]||(m[3]=vue.withModifiers(u=>C.moveUpWidget(),["stop"]))},[vue.createVNode(b,{"icon-class":"el-move-up"})],8,_hoisted_4$9)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:a.i18nt("designer.hint.moveDownWidget"),onClick:m[4]||(m[4]=vue.withModifiers(u=>C.moveDownWidget(),["stop"]))},[vue.createVNode(b,{"icon-class":"el-move-down"})],8,_hoisted_5$7)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:a.i18nt("designer.hint.cloneWidget"),onClick:m[5]||(m[5]=vue.withModifiers(u=>C.cloneGridCol(e.widget),["stop"]))},[vue.createVNode(b,{"icon-class":"el-clone"})],8,_hoisted_6$7),vue.createElementVNode("i",{title:a.i18nt("designer.hint.remove"),onClick:m[6]||(m[6]=vue.withModifiers((...u)=>C.removeWidget&&C.removeWidget(...u),["stop"]))},[vue.createVNode(b,{"icon-class":"el-delete"})],8,_hoisted_7$4)])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="grid-col"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$4,[vue.createElementVNode("i",null,vue.toDisplayString(a.i18nt("designer.widgetLabel."+e.widget.type)),1),e.widget.options.hidden===!0?(vue.openBlock(),vue.createElementBlock("i",_hoisted_9$3,[vue.createVNode(b,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)]),_:1},16,["class","style"])):vue.createCommentVNode("",!0)}var GridColWidget=_export_sfc$1(_sfc_main$n,[["render",_sfc_render$n],["__scopeId","data-v-cb053c20"]]),__glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:GridColWidget},Symbol.toStringTag,{value:"Module"})),gridWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$m={name:"grid-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,GridColWidget},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||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{}};function _sfc_render$m(a,m,e,g,A,C){const _=vue.resolveComponent("grid-col-widget"),b=vue.resolveComponent("el-row"),d=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(d,{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(b,{key:e.widget.id,gutter:e.widget.options.gutter,class:vue.normalizeClass(["grid-container",[C.selected?"selected":"",C.customClass]]),onClick:m[0]||(m[0]=vue.withModifiers(u=>a.selectWidget(e.widget),["stop"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.cols,(u,i)=>(vue.openBlock(),vue.createBlock(_,{key:u.id,widget:u,designer:e.designer,"parent-list":e.widget.cols,"index-of-parent-list":i,"parent-widget":e.widget,"col-height":e.widget.options.colHeight},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget","col-height"]))),128))]),_:1},8,["gutter","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var gridWidget=_export_sfc$1(_sfc_main$m,[["render",_sfc_render$m],["__scopeId","data-v-2b4f7bb7"]]),__glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:gridWidget},Symbol.toStringTag,{value:"Module"})),tabWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$l={name:"tab-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:ze({ContainerWrapper},comps),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{activeTab:"tab1"}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{onTabClick(a){let m=a.paneName;this.widget.tabs.forEach(e=>{e.options.active=e.options.name===m})}}},_hoisted_1$i={class:"form-widget-list"};function _sfc_render$l(a,m,e,g,A,C){const _=vue.resolveComponent("draggable"),b=vue.resolveComponent("el-tab-pane"),d=vue.resolveComponent("el-tabs"),u=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(u,{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.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["tab-container",{selected:C.selected}]),onClick:m[2]||(m[2]=vue.withModifiers(i=>a.selectWidget(e.widget),["stop"]))},[vue.createVNode(d,{type:e.widget.displayType,modelValue:A.activeTab,"onUpdate:modelValue":m[1]||(m[1]=i=>A.activeTab=i),onTabClick:C.onTabClick},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.tabs,(i,o)=>(vue.openBlock(),vue.createBlock(b,{key:o,label:i.options.label,name:i.options.name,onClick:m[0]||(m[0]=vue.withModifiers(t=>a.selectWidget(e.widget),["stop"]))},{default:vue.withCtx(()=>[vue.createVNode(_,vue.mergeProps({list:i.widgetList,"item-key":"id"},{ref_for:!0},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:t=>a.onContainerDragAdd(t,i.widgetList),onUpdate:a.onContainerDragUpdate,move:a.checkContainerMove}),{item:vue.withCtx(({element:t,index:r})=>[vue.createElementVNode("div",_hoisted_1$i,[t.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.type+"-widget"),{widget:t,designer:e.designer,key:t.id,"parent-list":i.widgetList,"index-of-parent-list":r,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.type+"-widget"),{field:t,designer:e.designer,key:t.id,"parent-list":i.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:2},1040,["list","onAdd","onUpdate","move"])]),_:2},1032,["label","name"]))),128))]),_:1},8,["type","modelValue","onTabClick"])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var tabWidget=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$l],["__scopeId","data-v-2c29f864"]]),__glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:tabWidget},Symbol.toStringTag,{value:"Module"})),tableCellWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$k={name:"TableCellWidget",componentName:"TableCellWidget",mixins:[i18n$1,refMixinDesign],inject:["refList"],components:ht(ze({},comps),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,rowIndex:Number,colIndex:Number,rowLength:Number,colLength:Number,colArray:Array,rowArray:Array,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},mergeLeftColDisabled(){return this.colIndex<=0||this.colArray[this.colIndex-1].options.rowspan!==this.widget.options.rowspan},mergeRightColDisabled(){let a=this.colIndex+this.widget.options.colspan;return this.colIndex>=this.colLength-1||a>this.colLength-1||this.colArray[a].options.rowspan!==this.widget.options.rowspan},mergeWholeRowDisabled(){return this.colLength<=1||this.colLength===this.widget.options.colspan},mergeAboveRowDisabled(){return this.rowIndex<=0||this.rowArray[this.rowIndex-1].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeBelowRowDisabled(){let a=this.rowIndex+this.widget.options.rowspan;return this.rowIndex>=this.rowLength-1||a>this.rowLength-1||this.rowArray[a].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeWholeColDisabled(){return this.rowLength<=1||this.rowLength===this.widget.options.rowspan},undoMergeColDisabled(){return this.widget.merged||this.widget.options.colspan<=1},undoMergeRowDisabled(){return this.widget.merged||this.widget.options.rowspan<=1},deleteWholeColDisabled(){return this.colLength===1||this.widget.options.colspan===this.colLength},deleteWholeRowDisabled(){return this.rowLength===1||this.widget.options.rowspan===this.rowLength}},watch:{},created(){this.initRefList()},methods:{selectWidget(a){this.designer.setSelected(a)},checkContainerMove(a){return this.designer.checkWidgetMove(a)},onTableDragEnd(a,m){},onTableDragAdd(a,m){const e=a.newIndex;m[e]&&this.designer.setSelected(m[e]),this.designer.emitHistoryChange()},onTableDragUpdate(){this.designer.emitHistoryChange()},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},handleTableCellCommand(a){a==="insertLeftCol"?this.insertLeftCol():a==="insertRightCol"?this.insertRightCol():a==="insertAboveRow"?this.insertAboveRow():a==="insertBelowRow"?this.insertBelowRow():a==="mergeLeftCol"?this.mergeLeftCol():a==="mergeRightCol"?this.mergeRightCol():a==="mergeWholeCol"?this.mergeWholeCol():a==="mergeAboveRow"?this.mergeAboveRow():a==="mergeBelowRow"?this.mergeBelowRow():a==="mergeWholeRow"?this.mergeWholeRow():a==="undoMergeCol"?this.undoMergeCol():a==="undoMergeRow"?this.undoMergeRow():a==="deleteWholeCol"?this.deleteWholeCol():a==="deleteWholeRow"&&this.deleteWholeRow()},insertLeftCol(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!0)},insertRightCol(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!1)},insertAboveRow(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!0)},insertBelowRow(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!1)},mergeLeftCol(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeRightCol(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeRow(){this.designer.mergeTableWholeRow(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},mergeAboveRow(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeBelowRow(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeCol(){this.designer.mergeTableWholeCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},undoMergeCol(){this.designer.undoMergeTableCol(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},undoMergeRow(){this.designer.undoMergeTableRow(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},deleteWholeCol(){this.designer.deleteTableWholeCol(this.rowArray,this.colIndex)},deleteWholeRow(){this.designer.deleteTableWholeRow(this.rowArray,this.rowIndex)}}},_hoisted_1$h=["colspan","rowspan"],_hoisted_2$c={class:"form-widget-list"},_hoisted_3$a={key:0,class:"table-cell-action"},_hoisted_4$8=["title"],_hoisted_5$6=["title"],_hoisted_6$6={key:1,class:"table-cell-handler"};function _sfc_render$k(a,m,e,g,A,C){const _=vue.resolveComponent("draggable"),b=vue.resolveComponent("svg-icon"),d=vue.resolveComponent("el-dropdown-item"),u=vue.resolveComponent("el-dropdown-menu"),i=vue.resolveComponent("el-dropdown");return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["table-cell",[C.selected?"selected":"",C.customClass]]),style:vue.normalizeStyle({width:e.widget.options.cellWidth+"!important"||"",height:e.widget.options.cellHeight+"!important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"}),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,onClick:m[3]||(m[3]=vue.withModifiers(o=>C.selectWidget(e.widget),["stop"]))},[vue.createVNode(_,vue.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:m[0]||(m[0]=o=>C.onTableDragEnd(o,e.widget.widgetList)),onAdd:m[1]||(m[1]=o=>C.onTableDragAdd(o,e.widget.widgetList)),onUpdate:C.onTableDragUpdate,move:C.checkContainerMove}),{item:vue.withCtx(({element:o,index:t})=>[vue.createElementVNode("div",_hoisted_2$c,[o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{widget:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{field:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$a,[vue.createElementVNode("i",{title:a.i18nt("designer.hint.selectParentWidget"),onClick:m[2]||(m[2]=vue.withModifiers(o=>C.selectParentWidget(),["stop"]))},[vue.createVNode(b,{"icon-class":"el-back"})],8,_hoisted_4$8),vue.createVNode(i,{trigger:"click",onCommand:C.handleTableCellCommand,size:"small"},{dropdown:vue.withCtx(()=>[vue.createVNode(u,null,{default:vue.withCtx(()=>[vue.createVNode(d,{command:"insertLeftCol"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.insertColumnToLeft")),1)]),_:1}),vue.createVNode(d,{command:"insertRightCol"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.insertColumnToRight")),1)]),_:1}),vue.createVNode(d,{command:"insertAboveRow"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.insertRowAbove")),1)]),_:1}),vue.createVNode(d,{command:"insertBelowRow"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.insertRowBelow")),1)]),_:1}),vue.createVNode(d,{command:"mergeLeftCol",disabled:C.mergeLeftColDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.mergeLeftColumn")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"mergeRightCol",disabled:C.mergeRightColDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.mergeRightColumn")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"mergeWholeRow",disabled:C.mergeWholeRowDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.mergeEntireRow")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"mergeAboveRow",disabled:C.mergeAboveRowDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.mergeRowAbove")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"mergeBelowRow",disabled:C.mergeBelowRowDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.mergeRowBelow")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"mergeWholeCol",disabled:C.mergeWholeColDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.mergeEntireColumn")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"undoMergeRow",disabled:C.undoMergeRowDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.undoMergeRow")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"undoMergeCol",disabled:C.undoMergeColDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.undoMergeCol")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"deleteWholeCol",disabled:C.deleteWholeColDisabled,divided:""},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.deleteEntireCol")),1)]),_:1},8,["disabled"]),vue.createVNode(d,{command:"deleteWholeRow",disabled:C.deleteWholeRowDisabled},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.deleteEntireRow")),1)]),_:1},8,["disabled"])]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("i",{title:a.i18nt("designer.hint.cellSetting")},[vue.createVNode(b,{"icon-class":"el-menu"})],8,_hoisted_5$6)]),_:1},8,["onCommand"])])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$6,[vue.createElementVNode("i",null,vue.toDisplayString(a.i18nt("designer.widgetLabel."+e.widget.type)),1)])):vue.createCommentVNode("",!0)],14,_hoisted_1$h)}var TableCellWidget=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$k],["__scopeId","data-v-2dc3e6c7"]]),__glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:TableCellWidget},Symbol.toStringTag,{value:"Module"})),tableWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$j={name:"table-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,TableCellWidget},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||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{}},_hoisted_1$g={class:"table-layout"};function _sfc_render$j(a,m,e,g,A,C){const _=vue.resolveComponent("table-cell-widget"),b=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(b,{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.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["table-container",[C.selected?"selected":"",C.customClass]]),onClick:m[0]||(m[0]=vue.withModifiers(d=>a.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("table",_hoisted_1$g,[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.id},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(d.cols,(i,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(_,{widget:i,designer:e.designer,key:i.id,"parent-list":e.widget.cols,"row-index":u,"row-length":e.widget.rows.length,"col-index":o,"col-length":d.cols.length,"col-array":d.cols,"row-array":e.widget.rows,"parent-widget":e.widget},null,8,["widget","designer","parent-list","row-index","row-length","col-index","col-length","col-array","row-array","parent-widget"]))],64))),256))]))),128))])])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var tableWidget=_export_sfc$1(_sfc_main$j,[["render",_sfc_render$j],["__scopeId","data-v-2fde56df"]]),__glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:tableWidget},Symbol.toStringTag,{value:"Module"}));const modules={"./container-wrapper.vue":__glob_0_0,"./grid-col-widget.vue":__glob_0_1,"./grid-widget.vue":__glob_0_2,"./tab-widget.vue":__glob_0_3,"./table-cell-widget.vue":__glob_0_4,"./table-widget.vue":__glob_0_5};var ContainerComponents={install(a){for(const m in modules){let e=modules[m].default.name;a.component(e,modules[m].default)}}},customSubFormWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$i={name:"custom-sub-form-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:ht(ze(ze({ContainerWrapper},comps),ContainerComponents),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{previewRows:[],actionDisabled:!1}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{checkContainerMove(a){return this.designer.checkWidgetMove(a)},addSubFormRow(){if(!this.widget.widgetList||this.widget.widgetList.length===0){this.$message.warning("\u8BF7\u5148\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D");return}this.previewRows.push(this.previewRows.length)},deletePreviewRow(a){this.previewRows.splice(a,1)}}},_hoisted_1$f={class:"sub-form-header"},_hoisted_2$b={class:"sub-form-label"},_hoisted_3$9={class:"group-header"},_hoisted_4$7={class:"group-title"},_hoisted_5$5={key:0,class:"row-number-span"},_hoisted_6$5={key:1,class:"row-number-span"},_hoisted_7$3={class:"group-actions"},_hoisted_8$3={class:"group-content"},_hoisted_9$2={class:"form-widget-list"},_hoisted_10$2={key:0,class:"empty-hint"};function _sfc_render$i(a,m,e,g,A,C){const _=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("draggable"),u=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(u,{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.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-sub-form-container",[C.selected?"selected":"",C.customClass]]),onClick:m[1]||(m[1]=vue.withModifiers(i=>a.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("div",_hoisted_1$f,[vue.createElementVNode("span",_hoisted_2$b,vue.toDisplayString(e.widget.options.label||"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"),1)]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(A.previewRows,(i,o)=>(vue.openBlock(),vue.createElementBlock("div",{class:"preview-group-row",key:"preview-"+o},[vue.createElementVNode("div",_hoisted_3$9,[vue.createElementVNode("div",_hoisted_4$7,[e.widget.options.showRowNumber?(vue.openBlock(),vue.createElementBlock("span",_hoisted_5$5,vue.toDisplayString(e.widget.options.label)+" "+vue.toDisplayString(o+1)+" \u7EC4",1)):(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$5,"\u8868\u5355\u7EC4"))]),vue.createElementVNode("div",_hoisted_7$3,[vue.createVNode(b,{size:"small",type:"danger",onClick:t=>C.deletePreviewRow(o),title:"\u5220\u9664\u7EC4"},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":"el-delete"}),m[2]||(m[2]=vue.createTextVNode(" \u5220\u9664 ",-1))]),_:1},8,["onClick"])])]),vue.createElementVNode("div",_hoisted_8$3,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.widgetList,(t,r)=>(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(t.type+"-widget"),{key:t.id+"preview"+o+"-"+r,field:t,designer:e.designer,"parent-list":e.widget.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))),128))])]))),128)),vue.createElementVNode("div",{class:vue.normalizeClass(["drag-area",{"has-widgets":e.widget.widgetList&&e.widget.widgetList.length>0}])},[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:m[0]||(m[0]=i=>a.onContainerDragAdd(i,e.widget.widgetList)),onUpdate:a.onContainerDragUpdate,move:C.checkContainerMove}),{item:vue.withCtx(({element:i,index:o})=>[vue.createElementVNode("div",_hoisted_9$2,[i.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(i.type+"-widget"),{widget:i,designer:e.designer,key:i.id,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(i.type+"-widget"),{field:i,designer:e.designer,key:i.id,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$2," \u62D6\u62FD\u4EFB\u610F\u7EC4\u4EF6\u5230\u6B64\u5904 ")):vue.createCommentVNode("",!0)],2)],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CustomSubFormWidget=_export_sfc$1(_sfc_main$i,[["render",_sfc_render$i],["__scopeId","data-v-787fff1a"]]),customSubFormItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$h={name:"custom-sub-form-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:ht(ze({ContainerItemWrapper},comps),{SvgIcon}),props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{rowIdData:[],fieldSchemaData:[],actionDisabled:!1}},computed:{customClass(){return!this.widget||!this.widget.options?"":this.widget.options.customClass||""},formModel:{cache:!1,get(){return this.globalModel.formModel}}},created(){this.initRefList(),this.registerSubFormToRefList(),this.initRowIdData(!0),this.$nextTick(()=>{this.rowIdData.length>0&&this.fieldSchemaData.length===0&&this.initFieldSchemaData()}),this.initEventHandler()},mounted(){this.rowIdData.length>0&&this.fieldSchemaData.length===0&&this.widget&&this.widget.widgetList&&this.widget.widgetList.length>0&&this.initFieldSchemaData(),this.handleSubFormFirstRowAdd()},watch:{"widget.widgetList":{handler(a,m){this.rowIdData.length>0&&this.fieldSchemaData.length===0&&a&&a.length>0&&this.initFieldSchemaData()},deep:!0,immediate:!1}},beforeUnmount(){this.unregisterFromRefList()},methods:{getComponentName(a){return a?a.type?a.category==="container"?a.type==="grid"?"vf-grid-item":a.type+"-item":a.type+"-widget":(console.error("getComponentName: subWidget.type is undefined",a),null):(console.error("getComponentName: subWidget is undefined"),null)},registerSubFormToRefList(){this.widget&&this.widget.type==="custom-sub-form"&&(this.sfRefList[this.widget.options.name]=this)},initRowIdData(a){if(!this.widget||this.widget.type!=="custom-sub-form")return;this.rowIdData.splice(0,this.rowIdData.length);let m=this.formModel[this.widget.options.name];!!m&&m.length>0?(m.forEach(()=>{this.rowIdData.push("id"+generateId())}),a&&setTimeout(()=>{this.handleSubFormRowChange(m)},800)):!!this.widget.options.showBlankRow&&this.widget.widgetList&&this.widget.widgetList.length>0&&this.addSubFormRow()},addToRowIdData(){this.rowIdData.push("id"+generateId())},insertToRowIdData(a){this.rowIdData.splice(a,0,"id"+generateId())},deleteFromRowIdData(a){this.rowIdData.splice(a,1)},getRowIdData(){return this.rowIdData},disableSubFormRow(a){!this.widget.widgetList||!this.rowIdData[a]||this.widget.widgetList.forEach(m=>{const e=m.options.name+"@row"+this.rowIdData[a],g=this.getWidgetRef(e);g&&typeof g.setDisabled=="function"&&g.setDisabled(!0)})},enableSubFormRow(a){!this.widget.widgetList||!this.rowIdData[a]||this.widget.widgetList.forEach(m=>{const e=m.options.name+"@row"+this.rowIdData[a],g=this.getWidgetRef(e);g&&typeof g.setDisabled=="function"&&g.setDisabled(!1)})},disableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((a,m)=>{this.disableSubFormRow(m)}),this.actionDisabled=!0,this.widget&&this.widget.options&&(this.widget.options.disabled=!0)},enableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((a,m)=>{this.enableSubFormRow(m)}),this.actionDisabled=!1,this.widget&&this.widget.options&&(this.widget.options.disabled=!1)},initFieldSchemaData(){if(!this.widget||this.widget.type!=="custom-sub-form")return;let a=this.rowIdData.length;if(this.fieldSchemaData.splice(0,this.fieldSchemaData.length),a>0&&this.widget.widgetList&&this.widget.widgetList.length>0)for(let m=0;m<a;m++){let e=[];this.widget.widgetList.forEach(g=>{e.push(this.cloneFieldSchema(g))}),this.fieldSchemaData.push(e)}},addToFieldSchemaData(a){if(!this.widget.widgetList||this.widget.widgetList.length===0)return;let m=[];this.widget.widgetList.forEach(e=>{m.push(this.cloneFieldSchema(e))}),a===void 0?(console.log(m,"fieldSchemas"),this.fieldSchemaData.push(m)):this.fieldSchemaData.splice(a,0,m)},deleteFromFieldSchemaData(a){this.fieldSchemaData.splice(a,1)},cloneFieldSchema(a){let m=deepClone(a);return m.id=a.type+generateId(),m},initEventHandler(){!this.widget||this.widget.type!=="custom-sub-form"||this.on$("setFormData",a=>{this.initRowIdData(!1),this.initFieldSchemaData();let m=a[this.widget.options.name]||[];setTimeout(()=>{this.handleSubFormRowChange(m)},800)})},handleSubFormFirstRowAdd(){if(!(!this.widget||this.widget.type!=="custom-sub-form")&&(this.rowIdData.length>0&&this.fieldSchemaData.length===0&&this.initFieldSchemaData(),!!this.widget.options.showBlankRow&&this.rowIdData.length===1)){let a=this.formModel[this.widget.options.name]||[];this.handleSubFormRowAdd(a,this.rowIdData[0]),this.handleSubFormRowChange(a)}},collectAllFields(a,m){!a||!Array.isArray(a)||a.forEach(e=>{e.formItemFlag&&e.options&&e.options.name&&(m[e.options.name]=e.options.defaultValue!==void 0?e.options.defaultValue:""),e.type==="grid"&&e.cols?e.cols.forEach(g=>{g.widgetList&&this.collectAllFields(g.widgetList,m)}):e.type==="table"&&e.rows?e.rows.forEach(g=>{g.cols&&g.cols.forEach(A=>{A.widgetList&&this.collectAllFields(A.widgetList,m)})}):e.type==="tab"&&e.tabs?e.tabs.forEach(g=>{g.widgetList&&this.collectAllFields(g.widgetList,m)}):(e.type==="grid-col"||e.type==="table-cell")&&e.widgetList?this.collectAllFields(e.widgetList,m):e.category==="container"&&e.widgetList&&this.collectAllFields(e.widgetList,m)})},addSubFormRow(){if(!this.widget.widgetList||this.widget.widgetList.length===0){this.$message.warning("\u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D");return}let a={};this.collectAllFields(this.widget.widgetList,a),this.formModel[this.widget.options.name]||(this.formModel[this.widget.options.name]=[]);let m=deepClone(this.formModel[this.widget.options.name]);console.log(a,"newSubFormDataRow"),m.push(a),this.addToRowIdData(),this.addToFieldSchemaData(),this.handleSubFormRowAdd(m,this.rowIdData[m.length-1]),this.handleSubFormRowChange(m)},insertSubFormRow(a){let m={};this.collectAllFields(this.widget.widgetList,m),this.formModel[this.widget.options.name]||(this.formModel[this.widget.options.name]=[]);let e=this.formModel[this.widget.options.name];e.splice(a,0,m),this.insertToRowIdData(a),this.addToFieldSchemaData(a),this.handleSubFormRowInsert(e,this.rowIdData[a]),this.handleSubFormRowChange(e)},deleteSubFormRow(a){this.$confirm("\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{if(!this.formModel[this.widget.options.name])return;let m=this.formModel[this.widget.options.name],e=deepClone(m[a]);m.splice(a,1),this.deleteFromRowIdData(a),this.deleteFromFieldSchemaData(a),this.handleSubFormRowDelete(m,e),this.handleSubFormRowChange(m)}).catch(()=>{})},handleSubFormRowChange(a){if(this.widget.options.onSubFormRowChange)try{new Function("subFormData",this.widget.options.onSubFormRowChange).call(this,a)}catch(m){console.error("\u6267\u884C\u5B50\u8868\u5355\u884C\u53D8\u5316\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",m)}},handleSubFormRowAdd(a,m){if(this.widget.options.onSubFormRowAdd)try{new Function("subFormData","newRowId",this.widget.options.onSubFormRowAdd).call(this,a,m)}catch(e){console.error("\u6267\u884C\u5B50\u8868\u5355\u6DFB\u52A0\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",e)}},handleSubFormRowInsert(a,m){if(this.widget.options.onSubFormRowInsert)try{new Function("subFormData","newRowId",this.widget.options.onSubFormRowInsert).call(this,a,m)}catch(e){console.error("\u6267\u884C\u5B50\u8868\u5355\u63D2\u5165\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",e)}},handleSubFormRowDelete(a,m){if(this.widget.options.onSubFormRowDelete)try{new Function("subFormData","deletedDataRow",this.widget.options.onSubFormRowDelete).call(this,a,m)}catch(e){console.error("\u6267\u884C\u5B50\u8868\u5355\u5220\u9664\u884C\u4E8B\u4EF6\u5904\u7406\u51FD\u6570\u51FA\u9519:",e)}},getFieldSchemaDataForContainer(a,m,e){const g=this.fieldSchemaData[m]&&this.fieldSchemaData[m][e];if(!!g&&g.widgetList&&Array.isArray(g.widgetList))return ht(ze({},g.widgetList),{disabled:this.widget.options.disabled})}}},_hoisted_1$e={class:"sub-form-header"},_hoisted_2$a={class:"sub-form-label"},_hoisted_3$8={class:"group-header"},_hoisted_4$6={class:"group-title"},_hoisted_5$4={key:0,class:"row-number-span"},_hoisted_6$4={key:1,class:"row-number-span"},_hoisted_7$2={class:"group-actions"},_hoisted_8$2={class:"group-content"},_hoisted_9$1={key:1,class:"field-loading",style:{color:"#909399","font-size":"12px",padding:"8px"}},_hoisted_10$1={key:1,class:"empty-hint"},_hoisted_11={key:0},_hoisted_12={key:1},_hoisted_13={key:0,class:"empty-hint"},_hoisted_14={key:1,class:"empty-hint"};function _sfc_render$h(a,m,e,g,A,C){const _=vue.resolveComponent("el-button"),b=vue.resolveComponent("svg-icon"),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:vue.normalizeClass(["custom-sub-form-container",C.customClass])},[vue.createElementVNode("div",_hoisted_1$e,[vue.createElementVNode("span",_hoisted_2$a,vue.toDisplayString(e.widget.options.label||"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"),1)]),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(A.rowIdData,(u,i)=>(vue.openBlock(),vue.createElementBlock("div",{class:"form-group-row",key:u},[vue.createElementVNode("div",_hoisted_3$8,[vue.createElementVNode("div",_hoisted_4$6,[e.widget.options.showRowNumber?(vue.openBlock(),vue.createElementBlock("span",_hoisted_5$4,vue.toDisplayString(e.widget.options.label||"\u81EA\u5B9A\u4E49\u5B50\u8868\u5355")+" "+vue.toDisplayString(i+1),1)):(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$4,"\u8868\u5355\u7EC4"))]),vue.createElementVNode("div",_hoisted_7$2,[i>0&&!e.widget.options.disabled?(vue.openBlock(),vue.createBlock(_,{key:0,size:"small",type:"danger",plain:"",onClick:o=>C.deleteSubFormRow(i),title:"\u5220\u9664\u7EC4"},{default:vue.withCtx(()=>[...m[0]||(m[0]=[vue.createTextVNode(" \u5220\u9664 ",-1)])]),_:1},8,["onClick"])):vue.createCommentVNode("",!0)])]),vue.createElementVNode("div",_hoisted_8$2,[e.widget&&e.widget.widgetList&&e.widget.widgetList.length>0?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(e.widget.widgetList,(o,t)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:o?o.id+"gc"+u+"-"+t:"gc"+u+"-"+t},[o&&o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(C.getComponentName(o)),{key:0,widget:o,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget,"sub-form-row-index":i,"sub-form-row-id":u,"sub-form-col-index":t,subFormDisabled:e.widget.options.disabled,"field-schema-data":C.getFieldSchemaDataForContainer(o,i,t)},null,8,["widget","parent-list","index-of-parent-list","parent-widget","sub-form-row-index","sub-form-row-id","sub-form-col-index","subFormDisabled","field-schema-data"])):o?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[A.fieldSchemaData&&A.fieldSchemaData[i]&&A.fieldSchemaData[i][t]?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(C.getComponentName(o)),{key:0,field:A.fieldSchemaData[i][t],"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget,"sub-form-row-id":u,"sub-form-row-index":i,"sub-form-col-index":t,"sub-form-disabled":e.widget.options.disabled},null,8,["field","parent-list","index-of-parent-list","parent-widget","sub-form-row-id","sub-form-row-index","sub-form-col-index","sub-form-disabled"])):(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$1," \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))],64)):vue.createCommentVNode("",!0)],64))),128)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$1,[e.widget?!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_12," \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")):vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_11,"\u7EC4\u4EF6\u672A\u521D\u59CB\u5316"))]))])]))),128)),!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_13," \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")):A.rowIdData.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_14,' \u70B9\u51FB"\u6DFB\u52A0"\u6309\u94AE\u6DFB\u52A0\u6570\u636E\u884C ')):vue.createCommentVNode("",!0),e.widget.options.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(_,{key:2,disabled:A.actionDisabled,type:"primary",plain:"",class:"action-button",onClick:C.addSubFormRow},{default:vue.withCtx(()=>[vue.createVNode(b,{"icon-class":"el-plus"}),m[1]||(m[1]=vue.createTextVNode(" \u6DFB\u52A0 ",-1))]),_:1},8,["disabled","onClick"]))],2)),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:1},8,["widget"])}var CustomSubFormItem=_export_sfc$1(_sfc_main$h,[["render",_sfc_render$h],["__scopeId","data-v-6bd07e4e"]]),customTableCellWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$g={name:"custom-table-cell-widget",componentName:"CustomTableCellWidget",mixins:[i18n$1,refMixinDesign],inject:["refList"],components:ht(ze(ze({},comps),ContainerComponents),{SvgIcon}),props:{widget:Object,parentWidget:Object,parentList:Array,rowIndex:Number,colIndex:Number,rowLength:Number,colLength:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{selectWidget(a){this.designer.setSelected(a)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},checkContainerMove(a){return this.designer.checkWidgetMove(a)},onTableDragAdd(a,m){const e=a.newIndex;m[e]&&this.designer.setSelected(m[e]),this.designer.emitHistoryChange()},onTableDragUpdate(){this.designer.emitHistoryChange()},handleTableCellCommand(a){a==="insertLeftCol"?this.insertLeftCol():a==="insertRightCol"?this.insertRightCol():a==="insertAboveRow"?this.insertAboveRow():a==="insertBelowRow"?this.insertBelowRow():a==="deleteCol"?this.deleteWholeCol():a==="deleteRow"&&this.deleteWholeRow()},insertLeftCol(){this.insertTableCol(!0)},insertRightCol(){this.insertTableCol(!1)},insertAboveRow(){this.insertTableRow(!0)},insertBelowRow(){this.insertTableRow(!1)},insertTableCol(a){let m=a?this.colIndex:this.colIndex+1;if(!a){let e=m;for(;e<this.colLength;){if(this.parentWidget.rows[this.rowIndex]&&this.parentWidget.rows[this.rowIndex].cols[e]&&!this.parentWidget.rows[this.rowIndex].cols[e].merged){m=e;break}e++}e>=this.colLength&&(m=this.colLength)}this.parentWidget.rows.forEach(e=>{let g=deepClone(this.designer.getContainerByType("custom-table-cell"));g.id="custom-table-cell-"+generateId(),g.options.name=g.id,g.merged=!1,g.options.colspan=1,g.options.rowspan=1,g.widgetList.length=0,e.cols.splice(m,0,g)}),this.designer.emitHistoryChange()},insertTableRow(a){let m=a?this.rowIndex:this.rowIndex+1;if(!a){let g=m;for(;g<this.rowLength;){if(this.parentWidget.rows[g]&&this.parentWidget.rows[g].cols[this.colIndex]&&!this.parentWidget.rows[g].cols[this.colIndex].merged){m=g;break}g++}g>=this.rowLength&&(m=this.rowLength)}let e=deepClone(this.parentWidget.rows[this.rowIndex]);e.id="custom-table-row-"+generateId(),e.merged=!1,e.cols.forEach(g=>{g.id="custom-table-cell-"+generateId(),g.options.name=g.id,g.merged=!1,g.options.colspan=1,g.options.rowspan=1,g.widgetList.length=0}),this.parentWidget.rows.splice(m,0,e),this.designer.emitHistoryChange()},deleteWholeCol(){if(this.colLength===1){this.$message.warning("\u81F3\u5C11\u4FDD\u7559\u4E00\u5217");return}this.parentWidget.rows.forEach(a=>{a.cols.splice(this.colIndex,1)}),this.designer.emitHistoryChange()},deleteWholeRow(){if(this.rowLength===1){this.$message.warning("\u81F3\u5C11\u4FDD\u7559\u4E00\u884C");return}this.parentWidget.rows.splice(this.rowIndex,1),this.designer.emitHistoryChange()}}},_hoisted_1$d=["colspan","rowspan"],_hoisted_2$9={class:"form-widget-list"},_hoisted_3$7={key:0,class:"custom-table-cell-action"},_hoisted_4$5={title:"\u5355\u5143\u683C\u8BBE\u7F6E"},_hoisted_5$3={key:1,class:"custom-table-cell-handler"},_hoisted_6$3={key:2,class:"empty-hint"};function _sfc_render$g(a,m,e,g,A,C){const _=vue.resolveComponent("draggable"),b=vue.resolveComponent("svg-icon"),d=vue.resolveComponent("el-dropdown-item"),u=vue.resolveComponent("el-dropdown-menu"),i=vue.resolveComponent("el-dropdown");return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["custom-table-cell",[C.selected?"selected":"",C.customClass]]),style:vue.normalizeStyle({width:e.widget.options.cellWidth+"!important"||"",height:e.widget.options.cellHeight+"!important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"}),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,onClick:m[2]||(m[2]=vue.withModifiers(o=>C.selectWidget(e.widget),["stop"]))},[vue.createVNode(_,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:m[0]||(m[0]=o=>C.onTableDragAdd(o,e.widget.widgetList)),onUpdate:C.onTableDragUpdate,move:C.checkContainerMove}),{item:vue.withCtx(({element:o,index:t})=>[vue.createElementVNode("div",_hoisted_2$9,[o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{widget:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(o.type+"-widget"),{field:o,designer:e.designer,key:o.id,"parent-list":e.widget.widgetList,"index-of-parent-list":t,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="custom-table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$7,[vue.createElementVNode("i",{title:"\u9009\u62E9\u7236\u7EC4\u4EF6",onClick:m[1]||(m[1]=vue.withModifiers(o=>C.selectParentWidget(),["stop"]))},[vue.createVNode(b,{"icon-class":"el-back"})]),vue.createVNode(i,{trigger:"click",onCommand:C.handleTableCellCommand,size:"small"},{dropdown:vue.withCtx(()=>[vue.createVNode(u,null,{default:vue.withCtx(()=>[vue.createVNode(d,{command:"insertLeftCol"},{default:vue.withCtx(()=>[...m[3]||(m[3]=[vue.createTextVNode("\u5DE6\u4FA7\u63D2\u5165\u5217",-1)])]),_:1}),vue.createVNode(d,{command:"insertRightCol"},{default:vue.withCtx(()=>[...m[4]||(m[4]=[vue.createTextVNode("\u53F3\u4FA7\u63D2\u5165\u5217",-1)])]),_:1}),vue.createVNode(d,{command:"insertAboveRow"},{default:vue.withCtx(()=>[...m[5]||(m[5]=[vue.createTextVNode("\u4E0A\u65B9\u63D2\u5165\u884C",-1)])]),_:1}),vue.createVNode(d,{command:"insertBelowRow"},{default:vue.withCtx(()=>[...m[6]||(m[6]=[vue.createTextVNode("\u4E0B\u65B9\u63D2\u5165\u884C",-1)])]),_:1}),vue.createVNode(d,{command:"deleteCol",divided:""},{default:vue.withCtx(()=>[...m[7]||(m[7]=[vue.createTextVNode("\u5220\u9664\u6574\u5217",-1)])]),_:1}),vue.createVNode(d,{command:"deleteRow"},{default:vue.withCtx(()=>[...m[8]||(m[8]=[vue.createTextVNode("\u5220\u9664\u6574\u884C",-1)])]),_:1})]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("i",_hoisted_4$5,[vue.createVNode(b,{"icon-class":"el-menu"})])]),_:1},8,["onCommand"])])):vue.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="custom-table-cell"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$3,[...m[9]||(m[9]=[vue.createElementVNode("i",null,"\u5355\u5143\u683C",-1)])])):vue.createCommentVNode("",!0),!e.widget.widgetList||e.widget.widgetList.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$3," \u62D6\u62FD\u7EC4\u4EF6\u5230\u6B64\u5904 ")):vue.createCommentVNode("",!0)],14,_hoisted_1$d)}var CustomTableCellWidget=_export_sfc$1(_sfc_main$g,[["render",_sfc_render$g],["__scopeId","data-v-6e28297c"]]),customTableWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$f={name:"custom-table-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,CustomTableCellWidget},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(),this.initDefaultTable()},methods:{initDefaultTable(){if(!this.widget.rows||this.widget.rows.length===0){let a={id:"custom-table-row-"+generateId(),merged:!1,cols:[]},m=deepClone(this.designer.getContainerByType("custom-table-cell"));m&&(m.id="custom-table-cell-"+generateId(),m.options.name=m.id,m.merged=!1,m.options.colspan=1,m.options.rowspan=1,m.widgetList.length=0,a.cols.push(m),this.widget.rows.push(a))}}}},_hoisted_1$c={class:"custom-table-layout"};function _sfc_render$f(a,m,e,g,A,C){const _=vue.resolveComponent("custom-table-cell-widget"),b=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(b,{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.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-table-container",[C.selected?"selected":"",C.customClass]]),onClick:m[0]||(m[0]=vue.withModifiers(d=>a.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("table",_hoisted_1$c,[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.id},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(d.cols,(i,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[i.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(_,{widget:i,designer:e.designer,key:i.id,"parent-list":e.widget.rows,"row-index":u,"row-length":e.widget.rows.length,"col-index":o,"col-length":d.cols.length,"parent-widget":e.widget},null,8,["widget","designer","parent-list","row-index","row-length","col-index","col-length","parent-widget"]))],64))),256))]))),128))])])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var CustomTableWidget=_export_sfc$1(_sfc_main$f,[["render",_sfc_render$f],["__scopeId","data-v-5281c94a"]]),customTableCellItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$e={name:"custom-table-cell-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:ze({},comps),props:{widget:Object,rowIndex:Number,colIndex:Number},inject:["refList","globalModel"],computed:{customClass(){return this.widget.options.customClass||""}}},_hoisted_1$b=["colspan","rowspan"];function _sfc_render$e(a,m,e,g,A,C){return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["custom-table-cell",C.customClass]),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,style:vue.normalizeStyle({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,(_,b)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:_.id},[_.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(a.getComponentByContainer(_)),{widget:_,key:b,"parent-list":e.widget.widgetList,"index-of-parent-list":b,"parent-widget":e.widget},null,8,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(_.type+"-widget"),{field:_,designer:null,key:b,"parent-list":e.widget.widgetList,"index-of-parent-list":b,"parent-widget":e.widget},null,8,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),128))],14,_hoisted_1$b)}var CustomTableCellItem=_export_sfc$1(_sfc_main$e,[["render",_sfc_render$e],["__scopeId","data-v-188e7bf2"]]),customTableItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$d={name:"custom-table-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:{ContainerItemWrapper,CustomTableCellItem,SvgIcon},props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{rowIdData:[]}},computed:{customClass(){return this.widget.options.customClass||""},formModel:{cache:!1,get(){return this.globalModel.formModel}}},created(){this.initRefList(),this.initRowIdData(),this.initEventHandler()},beforeUnmount(){this.unregisterFromRefList()},methods:{initRowIdData(){!this.widget.rows||this.widget.rows.length===0||(this.rowIdData.splice(0,this.rowIdData.length),this.widget.rows.forEach(()=>{this.rowIdData.push("id"+generateId())}))},addToRowIdData(a){a===void 0?this.rowIdData.push("id"+generateId()):this.rowIdData.splice(a,0,"id"+generateId())},deleteFromRowIdData(a){this.rowIdData.splice(a,1)},cloneCellWithFields(a,m){const e=deepClone(a);return e.id="custom-table-cell-"+generateId(),e.options.name=e.id,e.widgetList&&e.widgetList.length>0&&(e.widgetList=e.widgetList.map(g=>{const A=deepClone(g);if(A.id=g.type+"-"+generateId(),A.options&&A.options.name){const C=A.options.name.split("@")[0];A.options.name=C+"@row"+m}return A})),e},addTableRow(){if(!this.widget.rows||this.widget.rows.length===0)return;this.addToRowIdData();const a=this.rowIdData[this.rowIdData.length-1],m=this.widget.rows[0],e={id:"custom-table-row-"+generateId(),merged:!1,cols:m.cols.map(g=>this.cloneCellWithFields(g,a))};this.widget.rows.push(e),this.initRowFormData(e,this.widget.rows.length-1),this.handleTableRowAdd(this.widget.rows,a),this.handleTableRowChange(this.widget.rows)},insertTableRow(a){if(!this.widget.rows||this.widget.rows.length===0)return;this.addToRowIdData(a);const m=this.rowIdData[a],e=this.widget.rows[0],g={id:"custom-table-row-"+generateId(),merged:!1,cols:e.cols.map(A=>this.cloneCellWithFields(A,m))};this.widget.rows.splice(a,0,g),this.initRowFormData(g,a),this.handleTableRowInsert(this.widget.rows,m),this.handleTableRowChange(this.widget.rows)},deleteTableRow(a){if(!this.widget.rows||a<0||a>=this.widget.rows.length)return;const m=deepClone(this.widget.rows[a]);this.widget.rows.splice(a,1),this.deleteFromRowIdData(a),this.handleTableRowDelete(this.widget.rows,m),this.handleTableRowChange(this.widget.rows)},initRowFormData(a,m){!a||!a.cols||a.cols.forEach(e=>{e.widgetList&&e.widgetList.length>0&&e.widgetList.forEach(g=>{if(g.formItemFlag&&g.options&&g.options.name){const A=g.options.name;this.formModel[A]===void 0&&(this.formModel[A]=g.options.defaultValue!==void 0?g.options.defaultValue:null)}})})},initEventHandler(){this.on$("setFormData",a=>{this.initRowIdData(),setTimeout(()=>{this.handleTableRowChange(this.widget.rows)},800)})},handleTableRowChange(a){if(this.widget.options.onTableRowChange)try{new Function("tableRows",this.widget.options.onTableRowChange).call(this,a)}catch(m){console.error("Error executing onTableRowChange handler:",m)}},handleTableRowAdd(a,m){if(this.widget.options.onTableRowAdd)try{new Function("tableRows","newRowId",this.widget.options.onTableRowAdd).call(this,a,m)}catch(e){console.error("Error executing onTableRowAdd handler:",e)}},handleTableRowInsert(a,m){if(this.widget.options.onTableRowInsert)try{new Function("tableRows","newRowId",this.widget.options.onTableRowInsert).call(this,a,m)}catch(e){console.error("Error executing onTableRowInsert handler:",e)}},handleTableRowDelete(a,m){if(this.widget.options.onTableRowDelete)try{new Function("tableRows","deletedRow",this.widget.options.onTableRowDelete).call(this,a,m)}catch(e){console.error("Error executing onTableRowDelete handler:",e)}}}},_hoisted_1$a={key:0,class:"table-actions"},_hoisted_2$8={class:"custom-table-layout"},_hoisted_3$6={key:0,class:"row-actions-cell"};function _sfc_render$d(a,m,e,g,A,C){const _=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("custom-table-cell-item"),u=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(u,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["custom-table-container",C.customClass])},[e.widget.rows&&e.widget.rows.length>0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$a,[vue.createVNode(b,{type:"primary",size:"small",onClick:C.addTableRow,title:"\u6DFB\u52A0\u884C"},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":"el-plus"}),m[0]||(m[0]=vue.createTextVNode(" \u6DFB\u52A0\u884C ",-1))]),_:1},8,["onClick"])])):vue.createCommentVNode("",!0),vue.createElementVNode("table",_hoisted_2$8,[vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.rows,(i,o)=>(vue.openBlock(),vue.createElementBlock("tr",{key:A.rowIdData[o]||i.id},[e.widget.rows.length>0?(vue.openBlock(),vue.createElementBlock("td",_hoisted_3$6,[vue.createVNode(b,{type:"primary",size:"small",circle:"",onClick:t=>C.insertTableRow(o),title:"\u5728\u6B64\u884C\u524D\u63D2\u5165"},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":"el-plus"})]),_:1},8,["onClick"]),vue.createVNode(b,{type:"danger",size:"small",circle:"",onClick:t=>C.deleteTableRow(o),title:"\u5220\u9664\u6B64\u884C"},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":"el-delete"})]),_:1},8,["onClick"])])):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(i.cols,(t,r)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[t.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(d,{widget:t,key:t.id+"@row"+(A.rowIdData[o]||""),"parent-list":e.widget.rows,"row-index":o,"col-index":r,"parent-widget":e.widget},null,8,["widget","parent-list","row-index","col-index","parent-widget"]))],64))),256))]))),128))])])],2)),[[vue.vShow,!e.widget.options.hidden]])]),_:1},8,["widget"])}var CustomTableItem=_export_sfc$1(_sfc_main$d,[["render",_sfc_render$d],["__scopeId","data-v-1aff2bd9"]]),subTableWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$c={name:"sub-table-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,SvgIcon},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{previewData:[],actionDisabled:!1}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},tableMaxHeight(){var m,e;const a=(e=(m=this.widget)==null?void 0:m.options)==null?void 0:e.maxHeight;return a!=null&&a!==""?a:void 0}},created(){this.initRefList(),this.initPreviewData()},watch:{"widget.options.columns":{handler(){this.initPreviewData()},deep:!0},"widget.options.defaultValue":{handler(){this.initPreviewData()},deep:!0}},methods:{initPreviewData(){if(this.widget.options.defaultValue&&Array.isArray(this.widget.options.defaultValue)&&this.widget.options.defaultValue.length>0)this.previewData=JSON.parse(JSON.stringify(this.widget.options.defaultValue));else if(this.widget.options.columns&&this.widget.options.columns.length>0){const a={};this.widget.options.columns.forEach(m=>{a[m.prop]="\u793A\u4F8B\u6570\u636E"}),this.previewData=[a]}else this.previewData=[]},addPreviewRow(){if(!this.widget.options.columns||this.widget.options.columns.length===0){this.$message.warning("\u8BF7\u5148\u914D\u7F6E\u8868\u683C\u5217");return}const a={};this.widget.options.columns.forEach(m=>{a[m.prop]=""}),this.previewData.push(a)},editPreviewRow(a){this.$message.info("\u8BBE\u8BA1\u5668\u4E2D\u4E0D\u652F\u6301\u7F16\u8F91\uFF0C\u8BF7\u5728\u8FD0\u884C\u671F\u4F7F\u7528")},deletePreviewRow(a){this.previewData.splice(a,1)}}},_hoisted_1$9={class:"sub-table-header"},_hoisted_2$7={class:"sub-table-label"},_hoisted_3$5={class:"table-preview"},_hoisted_4$4={class:"preview-cell"},_hoisted_5$2={class:"empty-hint"},_hoisted_6$2={key:0},_hoisted_7$1={key:1},_hoisted_8$1={key:0,class:"config-hint"};function _sfc_render$c(a,m,e,g,A,C){const _=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-table-column"),u=vue.resolveComponent("el-table"),i=vue.resolveComponent("el-alert"),o=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(o,{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.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["sub-table-container",[C.selected?"selected":"",C.customClass]]),onClick:m[0]||(m[0]=vue.withModifiers(t=>a.selectWidget(e.widget),["stop"]))},[vue.createElementVNode("div",_hoisted_1$9,[vue.createElementVNode("span",_hoisted_2$7,vue.toDisplayString(e.widget.options.label||"\u5B50\u8868\u683C"),1),vue.createVNode(b,{disabled:A.actionDisabled,round:"",type:"primary",size:"small",class:"action-button",onClick:vue.withModifiers(C.addPreviewRow,["stop"])},{default:vue.withCtx(()=>[vue.createVNode(_,{"icon-class":"el-plus"}),m[1]||(m[1]=vue.createTextVNode(" \u6DFB\u52A0\u884C ",-1))]),_:1},8,["disabled","onClick"])]),vue.createElementVNode("div",_hoisted_3$5,[vue.createVNode(u,{data:A.previewData,border:e.widget.options.border,stripe:e.widget.options.stripe,size:e.widget.options.size,"max-height":C.tableMaxHeight,style:{width:"100%"}},{empty:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_5$2,[e.widget.options.columns&&e.widget.options.columns.length>0?(vue.openBlock(),vue.createElementBlock("span",_hoisted_6$2,' \u6682\u65E0\u6570\u636E\uFF0C\u70B9\u51FB"\u6DFB\u52A0\u884C"\u6309\u94AE\u6DFB\u52A0\u6570\u636E ')):(vue.openBlock(),vue.createElementBlock("span",_hoisted_7$1," \u8BF7\u5728\u53F3\u4FA7\u5C5E\u6027\u9762\u677F\u4E2D\u914D\u7F6E\u8868\u683C\u5217 "))])]),default:vue.withCtx(()=>[e.widget.options.showIndex?(vue.openBlock(),vue.createBlock(d,{key:0,type:"index",label:"\u5E8F\u53F7",width:"60",align:"center"})):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.options.columns,(t,r)=>(vue.openBlock(),vue.createBlock(d,{key:r,prop:t.prop,label:t.label,width:t.width,"min-width":t.minWidth,align:"center"},{default:vue.withCtx(({row:n})=>[vue.createElementVNode("span",_hoisted_4$4,vue.toDisplayString(n[t.prop]||"-"),1)]),_:2},1032,["prop","label","width","min-width"]))),128)),e.widget.options.showOperation?(vue.openBlock(),vue.createBlock(d,{key:1,label:"\u64CD\u4F5C",width:e.widget.options.operationColumnWidth,align:"center",fixed:"right"},{default:vue.withCtx(({$index:t})=>[vue.createVNode(b,{size:"small",type:"primary",link:"",onClick:vue.withModifiers(r=>C.editPreviewRow(t),["stop"])},{default:vue.withCtx(()=>[...m[2]||(m[2]=[vue.createTextVNode(" \u7F16\u8F91 ",-1)])]),_:1},8,["onClick"]),vue.createVNode(b,{size:"small",type:"danger",link:"",onClick:vue.withModifiers(r=>C.deletePreviewRow(t),["stop"])},{default:vue.withCtx(()=>[...m[3]||(m[3]=[vue.createTextVNode(" \u5220\u9664 ",-1)])]),_:1},8,["onClick"])]),_:1},8,["width"])):vue.createCommentVNode("",!0)]),_:1},8,["data","border","stripe","size","max-height"])]),!e.widget.options.columns||e.widget.options.columns.length===0?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$1,[vue.createVNode(i,{title:"\u63D0\u793A",type:"info",closable:!1,"show-icon":""},{default:vue.withCtx(()=>[...m[4]||(m[4]=[vue.createElementVNode("div",null,"\u8BF7\u5728\u53F3\u4FA7\u5C5E\u6027\u9762\u677F\u4E2D\u914D\u7F6E\u8868\u683C\u5217\uFF0C\u5305\u62EC\uFF1A\u5217\u540D\u3001\u5B57\u6BB5\u540D\u3001\u5217\u5BBD\u7B49",-1)])]),_:1})])):vue.createCommentVNode("",!0)],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}var SubTableWidget=_export_sfc$1(_sfc_main$c,[["render",_sfc_render$c],["__scopeId","data-v-1fb729c8"]]),subTableItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$b={name:"sub-table-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:{ContainerItemWrapper,SvgIcon},props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{tableData:[],dialogVisible:!1,dialogTitle:"\u65B0\u589E",dialogFormData:{},dialogFormRules:{},editingIndex:-1,syncFromFormModel:!1}},computed:{formModel(){var a,m;return((m=(a=this.globalModel)==null?void 0:a.formModel)==null?void 0:m[this.widget.options.name])||[]},customClass(){return this.widget.options.customClass||""},labelClass(){return{"sub-table-label-text":!0,"label-left-align":this.widget.options.labelAlign==="left","label-center-align":this.widget.options.labelAlign==="center","label-right-align":this.widget.options.labelAlign==="right"}},tableMaxHeight(){var m,e;const a=(e=(m=this.widget)==null?void 0:m.options)==null?void 0:e.maxHeight;return a!=null&&a!==""?a:void 0}},watch:{formModel:{handler(a){this.syncFromFormModel=!0,a&&Array.isArray(a)?this.tableData=deepClone(a):a||(this.tableData=[]),this.$nextTick(()=>{this.syncFromFormModel=!1})},immediate:!0,deep:!0},tableData:{handler(a){this.syncFromFormModel||this.formModel!==a&&this.updateFormModel(a)},deep:!0}},created(){this.initRefList(),this.initTableData()},mounted(){this.initTableData()},beforeUnmount(){this.unregisterFromRefList()},methods:{updateFormModel(a){this.globalModel&&this.globalModel.formModel&&(this.globalModel.formModel[this.widget.options.name]=deepClone(a),this.dispatch("FieldWidget","field-value-changed",[this.widget.options.name,deepClone(a),this.formModel]))},initTableData(){this.fieldModel&&Array.isArray(this.fieldModel)?this.tableData=deepClone(this.fieldModel):this.widget.options.defaultValue&&Array.isArray(this.widget.options.defaultValue)?(this.tableData=deepClone(this.widget.options.defaultValue),this.updateFormModel(this.tableData)):(this.tableData=[],this.updateFormModel([]))},handleAddRow(){this.editingIndex=-1,this.dialogTitle="\u65B0\u589E",this.initDialogFormData(),this.dialogVisible=!0},handleEditRow(a,m){this.editingIndex=a,this.dialogTitle="\u7F16\u8F91",this.dialogFormData=deepClone(m),this.dialogFormData._columnOptions||(this.dialogFormData._columnOptions={}),this.dialogVisible=!0,this.$nextTick(()=>{this.widget.options.columns&&this.widget.options.columns.forEach(e=>{if(e.dependOn&&this.dialogFormData[e.dependOn]&&!(this.dialogFormData._columnOptions&&this.dialogFormData._columnOptions[e.prop]&&Array.isArray(this.dialogFormData._columnOptions[e.prop])&&this.dialogFormData._columnOptions[e.prop].length>0)){const A=this.widget.options.columns.find(C=>C.prop===e.dependOn);A&&this.handleColumnLinkage(e,A,this.dialogFormData[e.dependOn])}})})},handleDeleteRow(a){this.$confirm("\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E00\u884C\u5417\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{if(this.tableData.splice(a,1),this.updateFormModel(this.tableData),this.$message.success("\u5220\u9664\u6210\u529F"),this.widget.options.onRowDelete)try{new Function("rowIndex","rowData",this.widget.options.onRowDelete)(a,this.tableData[a])}catch(m){console.error("\u6267\u884C\u5220\u9664\u884C\u4E8B\u4EF6\u5931\u8D25:",m)}}).catch(()=>{})},initDialogFormData(){const a={};a._columnOptions={},this.widget.options.columns&&this.widget.options.columns.length>0&&this.widget.options.columns.forEach(m=>{a[m.prop]=m.defaultValue!==void 0?m.defaultValue:""}),this.dialogFormData=a,this.initDialogFormRules()},initDialogFormRules(){const a={};this.widget.options.columns&&this.widget.options.columns.length>0&&this.widget.options.columns.forEach(m=>{if(!m.prop)return;const e=[];m.required&&e.push({required:!0,message:m.requiredHint||`\u8BF7\u8F93\u5165${m.label}`,trigger:"blur"}),m.validation&&(FormValidators[m.validation]?e.push({validator:FormValidators[m.validation],trigger:["blur","change"],label:m.label,errorMsg:m.validationHint}):e.push({validator:FormValidators.regExp,trigger:["blur","change"],regExp:m.validation,label:m.label,errorMsg:m.validationHint})),e.length>0&&(a[m.prop]=e)}),this.dialogFormRules=a},getColumnOptions(a){if(this.dialogVisible&&this.dialogFormData._columnOptions){const m=this.dialogFormData._columnOptions[a.prop];if(m&&Array.isArray(m)&&m.length>0)return m}if(a.options&&Array.isArray(a.options)&&a.options.length>0)return a.options;if(a.dictCode&&a.dictCode.trim()){const m=a.dictCode.trim();let e=[];if(typeof window!="undefined"&&window.getDictData?e=window.getDictData(m)||[]:typeof window!="undefined"&&window.dictCache&&window.dictCache[m]&&(e=window.dictCache[m]||[]),e&&Array.isArray(e)&&e.length>0){const g=e.map(A=>({label:A.dictLabel||A.label||A.name||A.text||"",value:A.dictValue||A.value||A.code||"",disabled:A.disabled||!1}));return a.options=g,g}}return[]},handleDialogConfirm(){this.$refs.dialogFormRef.validate(a=>{if(a){const m=deepClone(this.dialogFormData);if(m._columnOptions,this.editingIndex===-1){if(this.tableData.push(m),this.$message.success("\u6DFB\u52A0\u6210\u529F"),this.widget.options.onRowAdd)try{new Function("rowData",this.widget.options.onRowAdd)(deepClone(m))}catch(e){console.error("\u6267\u884C\u6DFB\u52A0\u884C\u4E8B\u4EF6\u5931\u8D25:",e)}}else if(this.tableData[this.editingIndex]=m,this.$message.success("\u4FDD\u5B58\u6210\u529F"),this.widget.options.onRowEdit)try{new Function("rowIndex","rowData",this.widget.options.onRowEdit)(this.editingIndex,deepClone(m))}catch(e){console.error("\u6267\u884C\u7F16\u8F91\u884C\u4E8B\u4EF6\u5931\u8D25:",e)}this.updateFormModel(this.tableData),this.dialogVisible=!1}else this.$message.warning("\u8BF7\u586B\u5199\u5B8C\u6574\u4FE1\u606F")})},handleDialogClose(){var a;(a=this.$refs.dialogFormRef)==null||a.resetFields(),this.dialogFormData={},this.editingIndex=-1,this.dialogFormData._columnOptions&&(this.dialogFormData._columnOptions={})},getValue(){return this.tableData},setValue(a){Array.isArray(a)&&(this.tableData=deepClone(a),this.updateFormModel(this.tableData))},getTableValue(a,m,e){if(m.type==="select"){let g=[];if(a._columnOptions&&a._columnOptions[m.prop]&&Array.isArray(a._columnOptions[m.prop])?g=a._columnOptions[m.prop]:g=this.getColumnOptions(m),g&&g.length>0){const A=g.find(C=>C.value===a[m.prop]);return A?A.label:a[m.prop]}return a[m.prop]}return a[m.prop]},handleInputChange(a){if(!a||!this.widget.options.columns)return;const m=this.dialogFormData[a.prop];if(this.widget.options.columns.forEach(e=>{e.dependOn===a.prop&&e.type==="select"&&this.handleColumnLinkage(e,a,m)}),a.onChange&&a.onChange.trim())try{const e=g=>{Array.isArray(g)&&(a.options=g,a.optionsText!==void 0&&(a.optionsText=JSON.stringify(g,null,2)))};new Function("col","value","formData","setOptions",a.onChange)(a,m,this.dialogFormData,e)}catch(e){console.error(`\u6267\u884C\u5217 "${a.label||a.prop}" \u7684 onChange \u4E8B\u4EF6\u5931\u8D25:`,e)}},handleColumnLinkage(a,m,e){if(!(!a||!m||a.type!=="select")&&a.onDependChange&&a.onDependChange.trim())try{const g=this.dialogFormData[a.prop],A=(d,u=0)=>{Array.isArray(d)&&(this.dialogVisible?(this.dialogFormData._columnOptions||(this.dialogFormData._columnOptions={}),this.dialogFormData._columnOptions[a.prop]=[...d]):(a.options=d,a.optionsText!==void 0&&(a.optionsText=JSON.stringify(d,null,2))))},C=d=>{this.dialogVisible&&this.dialogFormData&&(this.dialogFormData[a.prop]=d)},_=()=>this.dialogFormData[a.prop],b=this.getColumnOptions(a);new Function("targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue",a.onDependChange)(a,m,e,this.dialogFormData,b,A,C,_)}catch(g){console.error(`\u6267\u884C\u5217 "${a.label||a.prop}" \u7684\u8054\u52A8\u4E8B\u4EF6\u5931\u8D25:`,g)}},handleSelectMounted(a,m){a&&m&&m.onMounted&&m.onMounted.trim()&&this.$nextTick(()=>{try{let e=this.getColumnOptions(m);const g=A=>{Array.isArray(A)&&(m.options=A,m.optionsText!==void 0&&(m.optionsText=JSON.stringify(A,null,2)))};new Function("col","options","setOptions",m.onMounted)(m,e,g)}catch(e){console.error(`\u6267\u884C\u5217 "${m.label||m.prop}" \u7684 onMounted \u4E8B\u4EF6\u5931\u8D25:`,e)}})}}},_hoisted_1$8={key:0,class:"sub-table-label"},_hoisted_2$6={key:0,class:"required-mark"},_hoisted_3$4={class:"table-toolbar"},_hoisted_4$3={class:"dialog-footer"};function _sfc_render$b(a,m,e,g,A,C){const _=vue.resolveComponent("el-button"),b=vue.resolveComponent("el-table-column"),d=vue.resolveComponent("el-table"),u=vue.resolveComponent("el-input"),i=vue.resolveComponent("el-input-number"),o=vue.resolveComponent("el-date-picker"),t=vue.resolveComponent("el-option"),r=vue.resolveComponent("el-select"),n=vue.resolveComponent("el-textarea"),s=vue.resolveComponent("el-form-item"),l=vue.resolveComponent("el-form"),h=vue.resolveComponent("el-dialog"),f=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(f,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:vue.normalizeClass(["sub-table-container",C.customClass])},[e.widget.options.label?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$8,[vue.createElementVNode("span",{class:vue.normalizeClass(C.labelClass)},vue.toDisplayString(e.widget.options.label),3),e.widget.options.required?(vue.openBlock(),vue.createElementBlock("span",_hoisted_2$6,"*")):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_3$4,[e.widget.options.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(_,{key:0,type:"primary",size:"small",disabled:e.widget.options.disabled,onClick:C.handleAddRow,icon:"el-icon-plus"},{default:vue.withCtx(()=>[...m[2]||(m[2]=[vue.createTextVNode(" \u65B0\u589E ",-1)])]),_:1},8,["disabled","onClick"]))]),vue.createVNode(d,{data:A.tableData,border:e.widget.options.border,stripe:e.widget.options.stripe,size:e.widget.options.size,"max-height":C.tableMaxHeight,style:{width:"100%"},disabled:e.widget.options.disabled},{empty:vue.withCtx(()=>[...m[5]||(m[5]=[vue.createElementVNode("div",{class:"empty-hint"},[vue.createElementVNode("span",null,"\u6682\u65E0\u6570\u636E")],-1)])]),default:vue.withCtx(()=>[e.widget.options.showIndex?(vue.openBlock(),vue.createBlock(b,{key:0,type:"index",label:"\u5E8F\u53F7",width:"60",align:"center"})):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.options.columns,(w,p)=>(vue.openBlock(),vue.createBlock(b,{key:p,prop:w.prop,label:w.label,width:w.width,"min-width":w.minWidth,align:"left","show-overflow-tooltip":""},{default:vue.withCtx(({row:y,$index:v})=>[vue.createTextVNode(vue.toDisplayString(C.getTableValue(y,w,v)),1)]),_:2},1032,["prop","label","width","min-width"]))),128)),e.widget.options.showOperation&&!e.widget.options.disabled?(vue.openBlock(),vue.createBlock(b,{key:1,label:"\u64CD\u4F5C",width:e.widget.options.operationColumnWidth,align:"center",fixed:"right"},{default:vue.withCtx(({row:w,$index:p})=>[vue.createVNode(_,{size:"small",type:"primary",link:"",disabled:e.widget.options.disabled,onClick:y=>C.handleEditRow(p,w)},{default:vue.withCtx(()=>[...m[3]||(m[3]=[vue.createTextVNode(" \u7F16\u8F91 ",-1)])]),_:1},8,["disabled","onClick"]),vue.createVNode(_,{size:"small",type:"danger",link:"",disabled:e.widget.options.disabled,onClick:y=>C.handleDeleteRow(p)},{default:vue.withCtx(()=>[...m[4]||(m[4]=[vue.createTextVNode(" \u5220\u9664 ",-1)])]),_:1},8,["disabled","onClick"])]),_:1},8,["width"])):vue.createCommentVNode("",!0)]),_:1},8,["data","border","stripe","size","max-height","disabled"]),vue.createVNode(h,{modelValue:A.dialogVisible,"onUpdate:modelValue":m[1]||(m[1]=w=>A.dialogVisible=w),title:A.dialogTitle,width:"800px","close-on-click-modal":!1,onClose:C.handleDialogClose},{footer:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_4$3,[vue.createVNode(_,{size:"default",onClick:m[0]||(m[0]=w=>A.dialogVisible=!1)},{default:vue.withCtx(()=>[...m[6]||(m[6]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(_,{size:"default",type:"primary",onClick:C.handleDialogConfirm},{default:vue.withCtx(()=>[...m[7]||(m[7]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(l,{ref:"dialogFormRef",model:A.dialogFormData,rules:A.dialogFormRules,"label-width":"auto"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.options.columns,(w,p)=>(vue.openBlock(),vue.createBlock(s,{key:p,label:w.label,prop:w.prop,required:w.required},{default:vue.withCtx(()=>[!w.type||w.type==="input"?(vue.openBlock(),vue.createBlock(u,{key:0,modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,placeholder:w.placeholder||`\u8BF7\u8F93\u5165${w.label}`,disabled:e.widget.options.disabled,onChange:y=>C.handleInputChange(w)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):w.type==="number"?(vue.openBlock(),vue.createBlock(i,{key:1,modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,placeholder:w.placeholder||`\u8BF7\u8F93\u5165${w.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},onChange:y=>C.handleInputChange(w)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):w.type==="date"?(vue.openBlock(),vue.createBlock(o,{key:2,modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,type:"date",placeholder:w.placeholder||`\u8BF7\u9009\u62E9${w.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},"value-format":"YYYY-MM-DD",onChange:y=>C.handleInputChange(w)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):w.type==="datetime"?(vue.openBlock(),vue.createBlock(o,{key:3,modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,type:"datetime",placeholder:w.placeholder||`\u8BF7\u9009\u62E9${w.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},"value-format":"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled"])):w.type==="month"?(vue.openBlock(),vue.createBlock(o,{key:4,modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,type:"month",placeholder:w.placeholder||`\u8BF7\u9009\u62E9${w.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},"value-format":"YYYY-MM",onChange:y=>C.handleInputChange(w)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):w.type==="select"?(vue.openBlock(),vue.createBlock(r,{modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,placeholder:w.placeholder||`\u8BF7\u9009\u62E9${w.label}`,disabled:e.widget.options.disabled,style:{width:"100%"},ref_for:!0,ref:y=>C.handleSelectMounted(y,w),onChange:y=>C.handleInputChange(w),key:`select-${w.prop}-${A.dialogFormData._columnOptions?Object.keys(A.dialogFormData._columnOptions).length:0}`},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(C.getColumnOptions(w),(y,v)=>(vue.openBlock(),vue.createBlock(t,{key:`${w.prop}-${v}-${y.value}`,label:y.label,value:y.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","placeholder","disabled","onChange"])):w.type==="textarea"?(vue.openBlock(),vue.createBlock(n,{key:6,modelValue:A.dialogFormData[w.prop],"onUpdate:modelValue":y=>A.dialogFormData[w.prop]=y,placeholder:w.placeholder||`\u8BF7\u8F93\u5165${w.label}`,disabled:e.widget.options.disabled,rows:w.rows||3,onChange:y=>C.handleInputChange(w)},null,8,["modelValue","onUpdate:modelValue","placeholder","disabled","rows","onChange"])):vue.createCommentVNode("",!0)]),_:2},1032,["label","prop","required"]))),128))]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title","onClose"])],2)),[[vue.vShow,e.widget&&e.widget.options&&!e.widget.options.hidden]]):vue.createCommentVNode("",!0)]),_:1},8,["widget"])}var SubTableItem=_export_sfc$1(_sfc_main$b,[["render",_sfc_render$b],["__scopeId","data-v-63004f99"]]),ace$2={exports:{}};(function(a,m){(function(){var e="ace",g=function(){return this}();!g&&typeof window!="undefined"&&(g=window);var A=function(i,o,t){if(typeof i!="string"){A.original?A.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(t=o),A.modules[i]||(A.payloads[i]=t,A.modules[i]=null)};A.modules={},A.payloads={};var C=function(i,o,t){if(typeof o=="string"){var r=d(i,o);if(r!=null)return t&&t(),r}else if(Object.prototype.toString.call(o)==="[object Array]"){for(var n=[],s=0,l=o.length;s<l;++s){var h=d(i,o[s]);if(h==null&&_.original)return;n.push(h)}return t&&t.apply(null,n)||!0}},_=function(i,o){var t=C("",i,o);return t==null&&_.original?_.original.apply(this,arguments):t},b=function(i,o){if(o.indexOf("!")!==-1){var t=o.split("!");return b(i,t[0])+"!"+b(i,t[1])}if(o.charAt(0)=="."){var r=i.split("/").slice(0,-1).join("/");for(o=r+"/"+o;o.indexOf(".")!==-1&&n!=o;){var n=o;o=o.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return o},d=function(i,o){o=b(i,o);var t=A.modules[o];if(!t){if(t=A.payloads[o],typeof t=="function"){var r={},n={id:o,uri:"",exports:r,packaged:!0},s=function(h,f){return C(o,h,f)},l=t(s,r,n);r=l||n.exports,A.modules[o]=r,delete A.payloads[o]}t=A.modules[o]=r||t}return t};function u(i){var o=g;i&&(g[i]||(g[i]={}),o=g[i]),(!o.define||!o.define.packaged)&&(A.original=o.define,o.define=A,o.define.packaged=!0),(!o.require||!o.require.packaged)&&(_.original=o.require,o.require=_,o.require.packaged=!0)}u(e)})(),ace.define("ace/lib/es6-shim",["require","exports","module"],function(e,g,A){function C(_,b,d){Object.defineProperty(_,b,{value:d,enumerable:!1,writable:!0,configurable:!0})}String.prototype.startsWith||C(String.prototype,"startsWith",function(_,b){return b=b||0,this.lastIndexOf(_,b)===b}),String.prototype.endsWith||C(String.prototype,"endsWith",function(_,b){var d=this;(b===void 0||b>d.length)&&(b=d.length),b-=_.length;var u=d.indexOf(_,b);return u!==-1&&u===b}),String.prototype.repeat||C(String.prototype,"repeat",function(_){for(var b="",d=this;_>0;)_&1&&(b+=d),(_>>=1)&&(d+=d);return b}),String.prototype.includes||C(String.prototype,"includes",function(_,b){return this.indexOf(_,b)!=-1}),Object.assign||(Object.assign=function(_){if(_==null)throw new TypeError("Cannot convert undefined or null to object");for(var b=Object(_),d=1;d<arguments.length;d++){var u=arguments[d];u!=null&&Object.keys(u).forEach(function(i){b[i]=u[i]})}return b}),Object.values||(Object.values=function(_){return Object.keys(_).map(function(b){return _[b]})}),Array.prototype.find||C(Array.prototype,"find",function(_){for(var b=this.length,d=arguments[1],u=0;u<b;u++){var i=this[u];if(_.call(d,i,u,this))return i}}),Array.prototype.findIndex||C(Array.prototype,"findIndex",function(_){for(var b=this.length,d=arguments[1],u=0;u<b;u++){var i=this[u];if(_.call(d,i,u,this))return u}}),Array.prototype.includes||C(Array.prototype,"includes",function(_,b){return this.indexOf(_,b)!=-1}),Array.prototype.fill||C(Array.prototype,"fill",function(_){for(var b=this,d=b.length>>>0,u=arguments[1],i=u>>0,o=i<0?Math.max(d+i,0):Math.min(i,d),t=arguments[2],r=t===void 0?d:t>>0,n=r<0?Math.max(d+r,0):Math.min(r,d);o<n;)b[o]=_,o++;return b}),Array.of||C(Array,"of",function(){return Array.prototype.slice.call(arguments)})}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/es6-shim"],function(e,g,A){e("./es6-shim")}),ace.define("ace/lib/deep_copy",["require","exports","module"],function(e,g,A){g.deepCopy=function C(_){if(typeof _!="object"||!_)return _;var b;if(Array.isArray(_)){b=[];for(var d=0;d<_.length;d++)b[d]=C(_[d]);return b}if(Object.prototype.toString.call(_)!=="[object Object]")return _;b={};for(var d in _)b[d]=C(_[d]);return b}}),ace.define("ace/lib/lang",["require","exports","module","ace/lib/deep_copy"],function(e,g,A){g.last=function(b){return b[b.length-1]},g.stringReverse=function(b){return b.split("").reverse().join("")},g.stringRepeat=function(b,d){for(var u="";d>0;)d&1&&(u+=b),(d>>=1)&&(b+=b);return u};var C=/^\s\s*/,_=/\s\s*$/;g.stringTrimLeft=function(b){return b.replace(C,"")},g.stringTrimRight=function(b){return b.replace(_,"")},g.copyObject=function(b){var d={};for(var u in b)d[u]=b[u];return d},g.copyArray=function(b){for(var d=[],u=0,i=b.length;u<i;u++)b[u]&&typeof b[u]=="object"?d[u]=this.copyObject(b[u]):d[u]=b[u];return d},g.deepCopy=e("./deep_copy").deepCopy,g.arrayToMap=function(b){for(var d={},u=0;u<b.length;u++)d[b[u]]=1;return d},g.createMap=function(b){var d=Object.create(null);for(var u in b)d[u]=b[u];return d},g.arrayRemove=function(b,d){for(var u=0;u<=b.length;u++)d===b[u]&&b.splice(u,1)},g.escapeRegExp=function(b){return b.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},g.escapeHTML=function(b){return(""+b).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},g.getMatchOffsets=function(b,d){var u=[];return b.replace(d,function(i){u.push({offset:arguments[arguments.length-2],length:i.length})}),u},g.deferredCall=function(b){var d=null,u=function(){d=null,b()},i=function(o){return i.cancel(),d=setTimeout(u,o||0),i};return i.schedule=i,i.call=function(){return this.cancel(),b(),i},i.cancel=function(){return clearTimeout(d),d=null,i},i.isPending=function(){return d},i},g.delayedCall=function(b,d){var u=null,i=function(){u=null,b()},o=function(t){u==null&&(u=setTimeout(i,t||d))};return o.delay=function(t){u&&clearTimeout(u),u=setTimeout(i,t||d)},o.schedule=o,o.call=function(){this.cancel(),b()},o.cancel=function(){u&&clearTimeout(u),u=null},o.isPending=function(){return u},o},g.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch{return!1}return!0},g.skipEmptyMatch=function(b,d,u){return u&&b.codePointAt(d)>65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(e,g,A){g.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},g.getOS=function(){return g.isMac?g.OS.MAC:g.isLinux?g.OS.LINUX:g.OS.WINDOWS};var C=typeof navigator=="object"?navigator:{},_=(/mac|win|linux/i.exec(C.platform)||["other"])[0].toLowerCase(),b=C.userAgent||"",d=C.appName||"";g.isWin=_=="win",g.isMac=_=="mac",g.isLinux=_=="linux",g.isIE=d=="Microsoft Internet Explorer"||d.indexOf("MSAppHost")>=0?parseFloat((b.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((b.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),g.isOldIE=g.isIE&&g.isIE<9,g.isGecko=g.isMozilla=b.match(/ Gecko\/\d+/),g.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",g.isWebKit=parseFloat(b.split("WebKit/")[1])||void 0,g.isChrome=parseFloat(b.split(" Chrome/")[1])||void 0,g.isSafari=parseFloat(b.split(" Safari/")[1])&&!g.isChrome||void 0,g.isEdge=parseFloat(b.split(" Edge/")[1])||void 0,g.isAIR=b.indexOf("AdobeAIR")>=0,g.isAndroid=b.indexOf("Android")>=0,g.isChromeOS=b.indexOf(" CrOS ")>=0,g.isIOS=/iPad|iPhone|iPod/.test(b)&&!window.MSStream,g.isIOS&&(g.isMac=!0),g.isMobile=g.isIOS||g.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(e,g,A){var C=e("./useragent"),_="http://www.w3.org/1999/xhtml";g.buildDom=function t(r,n,s){if(typeof r=="string"&&r){var l=document.createTextNode(r);return n&&n.appendChild(l),l}if(!Array.isArray(r))return r&&r.appendChild&&n&&n.appendChild(r),r;if(typeof r[0]!="string"||!r[0]){for(var h=[],f=0;f<r.length;f++){var w=t(r[f],n,s);w&&h.push(w)}return h}var p=document.createElement(r[0]),y=r[1],v=1;y&&typeof y=="object"&&!Array.isArray(y)&&(v=2);for(var f=v;f<r.length;f++)t(r[f],p,s);return v==2&&Object.keys(y).forEach(function(M){var D=y[M];M==="class"?p.className=Array.isArray(D)?D.join(" "):D:typeof D=="function"||M=="value"||M[0]=="$"?p[M]=D:M==="ref"?s&&(s[D]=p):M==="style"?typeof D=="string"&&(p.style.cssText=D):D!=null&&p.setAttribute(M,D)}),n&&n.appendChild(p),p},g.getDocumentHead=function(t){return t||(t=document),t.head||t.getElementsByTagName("head")[0]||t.documentElement},g.createElement=function(t,r){return document.createElementNS?document.createElementNS(r||_,t):document.createElement(t)},g.removeChildren=function(t){t.innerHTML=""},g.createTextNode=function(t,r){var n=r?r.ownerDocument:document;return n.createTextNode(t)},g.createFragment=function(t){var r=t?t.ownerDocument:document;return r.createDocumentFragment()},g.hasCssClass=function(t,r){var n=(t.className+"").split(/\s+/g);return n.indexOf(r)!==-1},g.addCssClass=function(t,r){g.hasCssClass(t,r)||(t.className+=" "+r)},g.removeCssClass=function(t,r){for(var n=t.className.split(/\s+/g);;){var s=n.indexOf(r);if(s==-1)break;n.splice(s,1)}t.className=n.join(" ")},g.toggleCssClass=function(t,r){for(var n=t.className.split(/\s+/g),s=!0;;){var l=n.indexOf(r);if(l==-1)break;s=!1,n.splice(l,1)}return s&&n.push(r),t.className=n.join(" "),s},g.setCssClass=function(t,r,n){n?g.addCssClass(t,r):g.removeCssClass(t,r)},g.hasCssString=function(t,r){var n=0,s;if(r=r||document,s=r.querySelectorAll("style")){for(;n<s.length;)if(s[n++].id===t)return!0}},g.removeElementById=function(t,r){r=r||document,r.getElementById(t)&&r.getElementById(t).remove()};var b,d=[];g.useStrictCSP=function(t){b=t,t==!1?u():d||(d=[])};function u(){var t=d;d=null,t&&t.forEach(function(r){i(r[0],r[1])})}function i(t,r,n){if(typeof document!="undefined"){if(d){if(n)u();else if(n===!1)return d.push([t,r])}if(!b){var s=n;!n||!n.getRootNode?s=document:(s=n.getRootNode(),(!s||s==n)&&(s=document));var l=s.ownerDocument||s;if(r&&g.hasCssString(r,s))return null;r&&(t+=`
89
89
  /*# sourceURL=ace/css/`+r+" */");var h=g.createElement("style");h.appendChild(l.createTextNode(t)),r&&(h.id=r),s==l&&(s=g.getDocumentHead(l)),s.insertBefore(h,s.firstChild)}}}if(g.importCssString=i,g.importCssStylsheet=function(t,r){g.buildDom(["link",{rel:"stylesheet",href:t}],g.getDocumentHead(r))},g.$fixPositionBug=function(t){var r=t.getBoundingClientRect();if(t.style.left){var n=parseFloat(t.style.left),s=+r.left;Math.abs(n-s)>1&&(t.style.left=2*n-s+"px")}if(t.style.right){var n=parseFloat(t.style.right),s=window.innerWidth-r.right;Math.abs(n-s)>1&&(t.style.right=2*n-s+"px")}if(t.style.top){var n=parseFloat(t.style.top),s=+r.top;Math.abs(n-s)>1&&(t.style.top=2*n-s+"px")}if(t.style.bottom){var n=parseFloat(t.style.bottom),s=window.innerHeight-r.bottom;Math.abs(n-s)>1&&(t.style.bottom=2*n-s+"px")}},g.scrollbarWidth=function(t){var r=g.createElement("ace_inner");r.style.width="100%",r.style.minWidth="0px",r.style.height="200px",r.style.display="block";var n=g.createElement("ace_outer"),s=n.style;s.position="absolute",s.left="-10000px",s.overflow="hidden",s.width="200px",s.minWidth="0px",s.height="150px",s.display="block",n.appendChild(r);var l=t&&t.documentElement||document&&document.documentElement;if(!l)return 0;l.appendChild(n);var h=r.offsetWidth;s.overflow="scroll";var f=r.offsetWidth;return h===f&&(f=n.clientWidth),l.removeChild(n),h-f},g.computedStyle=function(t,r){return window.getComputedStyle(t,"")||{}},g.setStyle=function(t,r,n){t[r]!==n&&(t[r]=n)},g.HAS_CSS_ANIMATION=!1,g.HAS_CSS_TRANSFORMS=!1,g.HI_DPI=C.isWin?typeof window!="undefined"&&window.devicePixelRatio>=1.5:!0,C.isChromeOS&&(g.HI_DPI=!1),typeof document!="undefined"){var o=document.createElement("div");g.HI_DPI&&o.style.transform!==void 0&&(g.HAS_CSS_TRANSFORMS=!0),!C.isEdge&&typeof o.style.animationName!="undefined"&&(g.HAS_CSS_ANIMATION=!0),o=null}g.HAS_CSS_TRANSFORMS?g.translate=function(t,r,n){t.style.transform="translate("+Math.round(r)+"px, "+Math.round(n)+"px)"}:g.translate=function(t,r,n){t.style.top=Math.round(n)+"px",t.style.left=Math.round(r)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(e,g,A){/*
90
90
  * based on code from:
91
91
  *
@@ -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),g.AcePopup=f,g.$singleLineEditor=h,g.getAriaId=r}),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],function(e,g,A){var C=function(){function _(b){this.editor=b,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return _.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(),i=this.popup.renderer.$textLayer,o=i.element.childNodes[u-i.config.firstRow];if(o){for(var t="doc-tooltip ",r=0;r<this._lines.length;r++)t+="ace-inline-screenreader-line-".concat(r," ");o.setAttribute("aria-describedby",t)}}.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)},_.prototype.destroy=function(){this.screenReaderDiv.remove()},_.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 i=document.createTextNode(this._lines[d]);u.appendChild(i),b.appendChild(u)}return b},_}();g.AceInlineScreenReader=C}),ace.define("ace/autocomplete/inline",["require","exports","module","ace/snippets","ace/autocomplete/inline_screenreader"],function(e,g,A){var C=e("../snippets").snippetManager,_=e("./inline_screenreader").AceInlineScreenReader,b=function(){function d(){this.editor=null}return d.prototype.show=function(u,i,o){if(o=o||"",u&&this.editor&&this.editor!==u&&(this.hide(),this.editor=null,this.inlineScreenReader=null),!u||!i)return!1;this.inlineScreenReader||(this.inlineScreenReader=new _(u));var t=i.snippet?C.getDisplayTextForSnippet(u,i.snippet):i.value;return i.hideInlinePreview||!t||!t.startsWith(o)?!1:(this.editor=u,this.inlineScreenReader.setScreenReaderContent(t),t=t.slice(o.length),t===""?u.removeGhostText():u.setGhostText(t),!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}();g.AceInline=b}),ace.define("ace/autocomplete/util",["require","exports","module"],function(e,g,A){g.parForEach=function(_,b,d){var u=0,i=_.length;i===0&&d();for(var o=0;o<i;o++)b(_[o],function(t,r){u++,u===i&&d(t,r)})};var C=/[a-zA-Z_0-9\$\-\u00A2-\u2000\u2070-\uFFFF]/;g.retrievePrecedingIdentifier=function(_,b,d){d=d||C;for(var u=[],i=b-1;i>=0&&d.test(_[i]);i--)u.push(_[i]);return u.reverse().join("")},g.retrieveFollowingIdentifier=function(_,b,d){d=d||C;for(var u=[],i=b;i<_.length&&d.test(_[i]);i++)u.push(_[i]);return u},g.getCompletionPrefix=function(_){var b=_.getCursorPosition(),d=_.session.getLine(b.row),u;return _.completers.forEach(function(i){i.identifierRegexps&&i.identifierRegexps.forEach(function(o){!u&&o&&(u=this.retrievePrecedingIdentifier(d,b.column,o))}.bind(this))}.bind(this)),u||this.retrievePrecedingIdentifier(d,b.column)},g.triggerAutocomplete=function(_,b){var b=b==null?_.session.getPrecedingCharacter():b;return _.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,g,A){var C=e("./keyboard/hash_handler").HashHandler,_=e("./autocomplete/popup").AcePopup,b=e("./autocomplete/inline").AceInline,d=e("./autocomplete/popup").getAriaId,u=e("./autocomplete/util"),i=e("./lib/lang"),o=e("./lib/dom"),t=e("./snippets").snippetManager,r=e("./config"),n=e("./lib/event"),s=e("./lib/scroll").preventParentScroll,l=function(p,y){y.completer&&y.completer.destroy()},h=function(){function p(){this.autoInsert=!1,this.autoSelect=!0,this.autoShown=!1,this.exactMatch=!1,this.inlineEnabled=!1,this.keyboardHandler=new C,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=i.delayedCall(function(){this.updateCompletions(!0)}.bind(this)),this.tooltipTimer=i.delayedCall(this.updateDocTooltip.bind(this),50),this.popupTimer=i.delayedCall(this.$updatePopupPosition.bind(this),50),this.stickySelectionTimer=i.delayedCall(function(){this.stickySelection=!0}.bind(this),this.stickySelectionDelay),this.$firstOpenTimer=i.delayedCall(function(){var y=this.completionProvider&&this.completionProvider.initialPosition;this.autoShown||this.popup&&this.popup.isOpen||!y||this.editor.completers.length===0||(this.completions=new w(p.completionsForLoading),this.openPopup(this.editor,y.prefix,!1),this.popup.renderer.setStyle("ace_loading",!0))}.bind(this),this.stickySelectionDelay)}return Object.defineProperty(p,"completionsForLoading",{get:function(){return[{caption:r.nls("autocomplete.loading","Loading..."),value:""}]},enumerable:!1,configurable:!0}),p.prototype.$init=function(){return this.popup=new _(this.parentNode||document.body||document.documentElement),this.popup.on("click",function(y){this.insertMatch(),y.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)),n.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},p.prototype.$initInline=function(){if(!(!this.inlineEnabled||this.inlineRenderer))return this.inlineRenderer=new b,this.inlineRenderer},p.prototype.getPopup=function(){return this.popup||this.$init()},p.prototype.$onHidePopup=function(){this.inlineRenderer&&this.inlineRenderer.hide(),this.hideDocTooltip(),this.stickySelectionTimer.cancel(),this.popupTimer.cancel(),this.stickySelection=!1},p.prototype.$seen=function(y){!this.hasSeen.has(y)&&y&&y.completer&&y.completer.onSeen&&typeof y.completer.onSeen=="function"&&(y.completer.onSeen(this.editor,y),this.hasSeen.add(y))},p.prototype.$onPopupChange=function(y){if(this.inlineRenderer&&this.inlineEnabled){var v=y?null:this.popup.getData(this.popup.getRow());if(this.$updateGhostText(v),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)},p.prototype.$updateGhostText=function(y){var v=this.base.row,M=this.base.column,D=this.editor.getCursorPosition().column,L=this.editor.session.getLine(v).slice(M,D);this.inlineRenderer.show(this.editor,y,L)?this.$seen(y):this.inlineRenderer.hide()},p.prototype.$onPopupRender=function(){var y=this.inlineRenderer&&this.inlineEnabled;if(this.completions&&this.completions.filtered&&this.completions.filtered.length>0)for(var v=this.popup.getFirstVisibleRow();v<=this.popup.getLastVisibleRow();v++){var M=this.popup.getData(v);M&&(!y||M.hideInlinePreview)&&this.$seen(M)}},p.prototype.$onPopupShow=function(y){this.$onPopupChange(y),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},p.prototype.observeLayoutChanges=function(){if(!(this.$elements||!this.editor)){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var y=this.editor.container.parentNode,v=[];y;)v.push(y),y.addEventListener("scroll",this.onLayoutChange,{passive:!0}),y=y.parentNode;this.$elements=v}},p.prototype.unObserveLayoutChanges=function(){var y=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach(function(v){v.removeEventListener("scroll",y.onLayoutChange,{passive:!0})}),this.$elements=null},p.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},p.prototype.$updatePopupPosition=function(){var y=this.editor,v=y.renderer,M=v.layerConfig.lineHeight,D=v.$cursorLayer.getPixelPosition(this.base,!0);D.left-=this.popup.getTextLeftOffset();var L=y.container.getBoundingClientRect();D.top+=L.top-v.layerConfig.offset,D.left+=L.left-y.renderer.scrollLeft,D.left+=v.gutterWidth;var S={top:D.top,left:D.left};v.$ghostText&&v.$ghostTextWidget&&this.base.row===v.$ghostText.position.row&&(S.top+=v.$ghostTextWidget.el.offsetHeight);var N=y.container.getBoundingClientRect().bottom-M,k=N<S.top?{top:N,left:S.left}:S;this.popup.tryShow(k,M,"bottom")||this.popup.tryShow(D,M,"top")||this.popup.show(D,M)},p.prototype.openPopup=function(y,v,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 D=this.popup.getRow(),L=this.popup.data[D];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}),y.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===D&&L!==this.completions.filtered[S]&&this.$onPopupChange();var N=this.inlineRenderer&&this.inlineEnabled;if(S===D&&N){var k=this.popup.getData(this.popup.getRow());this.$updateGhostText(k)}M||(this.popup.setTheme(y.getTheme()),this.popup.setFontSize(y.getFontSize()),this.$updatePopupPosition(),this.tooltipNode&&this.updateDocTooltip()),this.changeTimer.cancel(),this.observeLayoutChanges()},p.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()},p.prototype.changeListener=function(y){var v=this.editor.selection.lead;(v.row!=this.base.row||v.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},p.prototype.blurListener=function(y){var v=document.activeElement,M=this.editor.textInput.getElement(),D=y.relatedTarget&&this.tooltipNode&&this.tooltipNode.contains(y.relatedTarget),L=this.popup&&this.popup.container;v!=M&&v.parentNode!=L&&!D&&v!=this.tooltipNode&&y.relatedTarget!=M&&this.detach()},p.prototype.mousedownListener=function(y){this.detach()},p.prototype.mousewheelListener=function(y){this.popup&&!this.popup.isMouseOver&&this.detach()},p.prototype.mouseOutListener=function(y){this.popup.isOpen&&this.$updatePopupPosition()},p.prototype.goTo=function(y){this.popup.goTo(y)},p.prototype.insertMatch=function(y,v){if(y||(y=this.popup.getData(this.popup.getRow())),!y)return!1;if(y.value==="")return this.detach();var M=this.completions,D=this.getCompletionProvider().insertMatch(this.editor,y,M.filterText,v);return this.completions==M&&this.detach(),D},p.prototype.showPopup=function(y,v){this.editor&&this.detach(),this.activated=!0,this.editor=y,y.completer!=this&&(y.completer&&y.completer.detach(),y.completer=this),y.on("changeSelection",this.changeListener),y.on("blur",this.blurListener),y.on("mousedown",this.mousedownListener),y.on("mousewheel",this.mousewheelListener),this.updateCompletions(!1,v)},p.prototype.getCompletionProvider=function(y){return this.completionProvider||(this.completionProvider=new f(y)),this.completionProvider},p.prototype.gatherCompletions=function(y,v){return this.getCompletionProvider().gatherCompletions(y,v)},p.prototype.updateCompletions=function(y,v){if(y&&this.base&&this.completions){var D=this.editor.getCursorPosition(),L=this.editor.session.getTextRange({start:this.base,end:D});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,y);return}if(v&&v.matches){var D=this.editor.getSelectionRange().start;return this.base=this.editor.session.doc.createAnchor(D.row,D.column),this.base.$insertRight=!0,this.completions=new w(v.matches),this.getCompletionProvider().completions=this.completions,this.openPopup(this.editor,"",y)}var M=this.editor.getSession(),D=this.editor.getCursorPosition(),L=u.getCompletionPrefix(this.editor);this.base=M.doc.createAnchor(D.row,D.column-L.length),this.base.$insertRight=!0;var S={exactMatch:this.exactMatch,ignoreCaption:this.ignoreCaption};this.getCompletionProvider({prefix:L,pos:D}).provideCompletions(this.editor,S,function(N,k,T){var E=k.filtered,I=u.getCompletionPrefix(this.editor);if(this.$firstOpenTimer.cancel(),T){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,y),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=!T&&this.showLoadingState?new w(p.completionsForLoading.concat(E),k.filterText):k,this.openPopup(this.editor,I,y),this.popup.renderer.setStyle("ace_empty-message",!1),this.popup.renderer.setStyle("ace_loading",!T)}.bind(this)),this.showLoadingState&&!this.autoShown&&(!this.popup||!this.popup.isOpen)&&this.$firstOpenTimer.delay(this.stickySelectionDelay/2)},p.prototype.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},p.prototype.updateDocTooltip=function(){var y=this.popup,v=this.completions&&this.completions.filtered,M=v&&(v[y.getHoveredRow()]||v[y.getRow()]),D=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){D=N.getDocTooltip(M);break}}if(!D&&typeof M!="string"&&(D=M),typeof D=="string"&&(D={docText:D}),!D||!D.docHTML&&!D.docText)return this.hideDocTooltip();this.showDocTooltip(D)},p.prototype.showDocTooltip=function(y){this.tooltipNode||(this.tooltipNode=o.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",s));var v=this.editor.renderer.theme;this.tooltipNode.className="ace_tooltip ace_doc-tooltip "+(v.isDark?"ace_dark ":"")+(v.cssClass||"");var M=this.tooltipNode;y.docHTML?M.innerHTML=y.docHTML:y.docText&&(M.textContent=y.docText),M.parentNode||this.popup.container.appendChild(this.tooltipNode);var D=this.popup,L=D.container.getBoundingClientRect(),S=400,N=300,k=D.renderer.scrollBar.width||10,T=L.left,E=window.innerWidth-L.right-k,I=D.isTopdown?L.top:window.innerHeight-k-L.bottom,F=[Math.min(E/S,1),Math.min(T/S,1),Math.min(I/N*.9)],O=Math.max.apply(Math,F),z=M.style;z.display="block",O==F[0]?(z.left=L.right+1+"px",z.right="",z.maxWidth=S*O+"px",z.top=L.top+"px",z.bottom="",z.maxHeight=Math.min(window.innerHeight-k-L.top,N)+"px"):O==F[1]?(z.right=window.innerWidth-L.left+"px",z.left="",z.maxWidth=S*O+"px",z.top=L.top+"px",z.bottom="",z.maxHeight=Math.min(window.innerHeight-k-L.top,N)+"px"):O==F[2]&&(z.left=window.innerWidth-L.left+"px",z.maxWidth=Math.min(S,window.innerWidth)+"px",D.isTopdown?(z.top=L.bottom+"px",z.left=L.left+"px",z.right="",z.bottom="",z.maxHeight=Math.min(window.innerHeight-k-L.bottom,N)+"px"):(z.top=D.container.offsetTop-M.offsetHeight+"px",z.left=L.left+"px",z.right="",z.bottom="",z.maxHeight=Math.min(D.container.offsetTop,N)+"px"))},p.prototype.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),!!this.tooltipNode){var y=this.tooltipNode;!this.editor.isFocused()&&document.activeElement==y&&this.editor.focus(),this.tooltipNode=null,y.parentNode&&y.parentNode.removeChild(y)}},p.prototype.onTooltipClick=function(y){for(var v=y.target;v&&v!=this.tooltipNode;){if(v.nodeName=="A"&&v.href){v.rel="noreferrer",v.target="_blank";break}v=v.parentNode}},p.prototype.destroy=function(){if(this.detach(),this.popup){this.popup.destroy();var y=this.popup.container;y&&y.parentNode&&y.parentNode.removeChild(y)}this.editor&&this.editor.completer==this&&(this.editor.off("destroy",l),this.editor.completer=null),this.inlineRenderer=this.popup=this.editor=null},p.for=function(y){return y.completer instanceof p||(y.completer&&(y.completer.destroy(),y.completer=null),r.get("sharedPopups")?(p.$sharedInstance||(p.$sharedInstance=new p),y.completer=p.$sharedInstance):(y.completer=new p,y.once("destroy",l))),y.completer},p}();h.prototype.commands={Up:function(p){p.completer.goTo("up")},Down:function(p){p.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(p){p.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(p){p.completer.goTo("end")},Esc:function(p){p.completer.detach()},Return:function(p){return p.completer.insertMatch()},"Shift-Return":function(p){p.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(p){var y=p.completer.insertMatch();if(!!y||!!p.tabstopManager)return y;p.completer.goTo("down")},Backspace:function(p){p.execCommand("backspace");var y=u.getCompletionPrefix(p);!y&&p.completer&&p.completer.detach()},PageUp:function(p){p.completer.popup.gotoPageUp()},PageDown:function(p){p.completer.popup.gotoPageDown()}},h.startCommand={name:"startAutocomplete",exec:function(p,y){var v=h.for(p);v.autoInsert=!1,v.autoSelect=!0,v.autoShown=!1,v.showPopup(p,y),v.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var f=function(){function p(y){this.initialPosition=y,this.active=!0}return p.prototype.insertByIndex=function(y,v,M){return!this.completions||!this.completions.filtered?!1:this.insertMatch(y,this.completions.filtered[v],M)},p.prototype.insertMatch=function(y,v,M){if(!v)return!1;if(y.startOperation({command:{name:"insertMatch"}}),v.completer&&v.completer.insertMatch)v.completer.insertMatch(y,v);else{if(!this.completions)return!1;var D=this.completions.filterText.length,L=0;if(v.range&&v.range.start.row===v.range.end.row&&(D-=this.initialPosition.prefix.length,D+=this.initialPosition.pos.column-v.range.start.column,L+=v.range.end.column-this.initialPosition.pos.column),D||L){var S;y.selection.getAllRanges?S=y.selection.getAllRanges():S=[y.getSelectionRange()];for(var N=0,k;k=S[N];N++)k.start.column-=D,k.end.column+=L,y.session.remove(k)}v.snippet?t.insertSnippet(y,v.snippet):this.$insertString(y,v),v.completer&&v.completer.onInsert&&typeof v.completer.onInsert=="function"&&v.completer.onInsert(y,v),v.command&&v.command==="startAutocomplete"&&y.execCommand(v.command)}return y.endOperation(),!0},p.prototype.$insertString=function(y,v){var M=v.value||v;y.execCommand("insertstring",M)},p.prototype.gatherCompletions=function(y,v){var M=y.getSession(),D=y.getCursorPosition(),L=u.getCompletionPrefix(y),S=[];this.completers=y.completers;var N=y.completers.length;return y.completers.forEach(function(k,T){k.getCompletions(y,M,D,L,function(E,I){k.hideInlinePreview&&(I=I.map(function(F){return Object.assign(F,{hideInlinePreview:k.hideInlinePreview})})),!E&&I&&(S=S.concat(I)),v(null,{prefix:u.getCompletionPrefix(y),matches:S,finished:--N==0})})}),!0},p.prototype.provideCompletions=function(y,v,M){var D=function(k){var T=k.prefix,E=k.matches;this.completions=new w(E),v.exactMatch&&(this.completions.exactMatch=!0),v.ignoreCaption&&(this.completions.ignoreCaption=!0),this.completions.setFilter(T),(k.finished||this.completions.filtered.length)&&M(null,this.completions,k.finished)}.bind(this),L=!0,S=null;if(this.gatherCompletions(y,function(k,T){if(!!this.active){k&&(M(k,[],!0),this.detach());var E=T.prefix;if(E.indexOf(T.prefix)===0){if(L){S=T;return}D(T)}}}.bind(this)),L=!1,S){var N=S;S=null,D(N)}},p.prototype.detach=function(){this.active=!1,this.completers&&this.completers.forEach(function(y){typeof y.cancel=="function"&&y.cancel()})},p}(),w=function(){function p(y,v){this.all=y,this.filtered=y,this.filterText=v||"",this.exactMatch=!1,this.ignoreCaption=!1}return p.prototype.setFilter=function(y){if(y.length>this.filterText&&y.lastIndexOf(this.filterText,0)===0)var v=this.filtered;else var v=this.all;this.filterText=y,v=this.filterCompletions(v,this.filterText),v=v.sort(function(D,L){return L.exactMatch-D.exactMatch||L.$score-D.$score||(D.caption||D.value).localeCompare(L.caption||L.value)});var M=null;v=v.filter(function(D){var L=D.snippet||D.caption||D.value;return L===M?!1:(M=L,!0)}),this.filtered=v},p.prototype.filterCompletions=function(y,v){var M=[],D=v.toUpperCase(),L=v.toLowerCase();e:for(var S=0,N;N=y[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 T=-1,E=0,I=0,F,O;if(this.exactMatch){if(v!==k.substr(0,v.length))continue e}else{var z=k.toLowerCase().indexOf(L);if(z>-1)I=z;else for(var W=0;W<v.length;W++){var j=k.indexOf(L[W],T+1),B=k.indexOf(D[W],T+1);if(F=j>=0&&(B<0||j<B)?j:B,F<0)continue e;O=F-T-1,O>0&&(T===-1&&(I+=10),I+=O,E|=1<<W),T=F}}N.matchMask=E,N.exactMatch=I?0:1,N.$score=(N.score||0)-I,M.push(N)}}return M},p}();g.Autocomplete=h,g.CompletionProvider=f,g.FilteredList=w}),ace.define("ace/marker_group",["require","exports","module"],function(e,g,A){var C=function(){function _(b,d){d&&(this.markerType=d.markerType),this.markers=[],this.session=b,b.addDynamicMarker(this)}return _.prototype.getMarkerAtPosition=function(b){return this.markers.find(function(d){return d.range.contains(b.row,b.column)})},_.prototype.markersComparator=function(b,d){return b.range.start.row-d.range.start.row},_.prototype.setMarkers=function(b){this.markers=b.sort(this.markersComparator).slice(0,this.MAX_MARKERS),this.session._signal("changeBackMarker")},_.prototype.update=function(b,d,u,i){if(!(!this.markers||!this.markers.length))for(var o=i.firstRow,t=i.lastRow,r,n=0,s=0,l=0;l<this.markers.length;l++){var h=this.markers[l];if(!(h.range.end.row<o)&&!(h.range.start.row>t)&&(h.range.start.row===s?n++:(s=h.range.start.row,n=0),!(n>200))){var f=h.range.clipRows(o,t);if(!(f.start.row===f.end.row&&f.start.column===f.end.column)){var w=f.toScreenRange(u);if(w.isEmpty()){r=u.getNextFoldLine(f.end.row,r),r&&r.end.row>f.end.row&&(o=r.end.row);continue}this.markerType==="fullLine"?d.drawFullLineMarker(b,w,h.className,i):w.isMultiLine()?this.markerType==="line"?d.drawMultiLineMarker(b,w,h.className,i):d.drawTextMarker(b,w,h.className,i):d.drawSingleLineMarker(b,w,h.className+" ace_br15",i)}}}},_}();C.prototype.MAX_MARKERS=1e4,g.MarkerGroup=C}),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],function(e,g,A){function C(u,i){var o=u.getTextRange(b.fromPoints({row:0,column:0},i));return o.split(d).length-1}function _(u,i){var o=C(u,i),t=u.getValue().split(d),r=Object.create(null),n=t[o];return t.forEach(function(s,l){if(!(!s||s===n)){var h=Math.abs(o-l),f=t.length-h;r[s]?r[s]=Math.max(f,r[s]):r[s]=f}}),r}var b=e("../range").Range,d=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;g.getCompletions=function(u,i,o,t,r){var n=_(i,o),s=Object.keys(n);r(null,s.map(function(l){return{caption:l,value:l,score:n[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,g,A){var C=e("../snippets").snippetManager,_=e("../autocomplete").Autocomplete,b=e("../config"),d=e("../lib/lang"),u=e("../autocomplete/util"),i=e("../marker_group").MarkerGroup,o=e("../autocomplete/text_completer"),t={getCompletions:function(L,S,N,k,T){if(S.$mode.completer)return S.$mode.completer.getCompletions(L,S,N,k,T);var E=L.session.getState(N.row),I=S.$mode.getCompletions(E,S,N,k);I=I.map(function(F){return F.completerId=t.id,F}),T(null,I)},id:"keywordCompleter"},r=function(L){var S={};return L.replace(/\${(\d+)(:(.*?))?}/g,function(N,k,T,E){return S[k]=E||""}).replace(/\$(\d+?)/g,function(N,k){return S[k]})},n={getCompletions:function(L,S,N,k,T){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=C.getActiveScopes(L);var F=C.snippetMap,O=[];E.forEach(function(z){for(var W=F[z]||[],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:n.id})}},this),T(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"},s=[n,o,t];g.setCompleters=function(L){s.length=0,L&&s.push.apply(s,L)},g.addCompleter=function(L){s.push(L)},g.textCompleter=o,g.keyWordCompleter=t,g.snippetCompleter=n;var l={name:"expandSnippet",exec:function(L){return C.expandWithTab(L)},bindKey:"Tab"},h=function(L,S){f(S.session.$mode)},f=function(L){typeof L=="string"&&(L=b.$modes[L]),!!L&&(C.files||(C.files={}),w(L.$id,L.snippetFileId),L.modes&&L.modes.forEach(f))},w=function(L,S){!S||!L||C.files[L]||(C.files[L]={},b.loadModule(S,function(N){!N||(C.files[L]=N,!N.snippets&&N.snippetText&&(N.snippets=C.parseSnippetFile(N.snippetText)),C.register(N.snippets||[],N.scope),N.includeScopes&&(C.snippetMap[N.scope].includeScopes=N.includeScopes,N.includeScopes.forEach(function(k){f("ace/mode/"+k)})))}))},p=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){y=L;var k=L.editor.$liveAutocompletionDelay;k?v.delay(k):M(L)}},y,v=d.delayedCall(function(){M(y)},0),M=function(L){var S=L.editor,N=u.getCompletionPrefix(S),k=L.args,T=u.triggerAutocomplete(S,k);if(N&&N.length>=S.$liveAutocompletionThreshold||T){var E=_.for(S);E.autoShown=!0,E.showPopup(S)}},D=e("../editor").Editor;e("../config").defineOptions(D.prototype,"editor",{enableBasicAutocompletion:{set:function(L){L?(_.for(this),this.completers||(this.completers=Array.isArray(L)?L:s),this.commands.addCommand(_.startCommand)):this.commands.removeCommand(_.startCommand)},value:!1},enableLiveAutocompletion:{set:function(L){L?(this.completers||(this.completers=Array.isArray(L)?L:s),this.commands.on("afterExec",p)):this.commands.off("afterExec",p)},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}}),g.MarkerGroup=i}),function(){ace.require(["ace/ext/language_tools"],function(e){a&&(a.exports=e)})}()})(extLanguage_tools);var index_vue_vue_type_style_index_0_scoped_true_lang$2="";const _sfc_main$a={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",a=>{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(a){let m=[{meta:"VForm API",caption:"getWidgetRef",value:"getWidgetRef()",score:1},{meta:"VForm API",caption:"getFormRef",value:"getFormRef()",score:1}];a.require("ace/ext/language_tools").addCompleter({getCompletions:function(g,A,C,_,b){return _.length===0?b(null,[]):b(null,m)}})},setJsonMode(){this.aceEditor.getSession().setMode("ace/mode/json")},setCssMode(){this.aceEditor.getSession().setMode("ace/mode/css")},getEditorAnnotations(){return this.aceEditor.getSession().getAnnotations()},setValue(a){this.aceEditor.getSession().setValue(a)}}},_hoisted_1$7={class:"ace-container"},_hoisted_2$5={class:"ace-editor",ref:"ace"};function _sfc_render$a(a,m,e,g,A,C){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$7,[vue.createElementVNode("div",_hoisted_2$5,null,512)])}var CodeEditor=_export_sfc$1(_sfc_main$a,[["render",_sfc_render$a],["__scopeId","data-v-335e1214"]]),subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$9={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:{addNewColumn(){this.optionModel.columns||(this.optionModel.columns=[]);const a={prop:"field"+(this.optionModel.columns.length+1),label:"\u5217"+(this.optionModel.columns.length+1),type:"input",width:"",minWidth:"",placeholder:"",required:!1,validation:"",validationHint:"",defaultValue:""};this.optionModel.columns.push(a),this.designer.saveCurrentHistoryStep()},deleteColumn(a){this.optionModel.columns.splice(a,1),this.designer.saveCurrentHistoryStep()},handleColumnChange(){this.designer.saveCurrentHistoryStep()},handleValidationChange(a){a.validation||(a.validationHint=""),this.handleColumnChange()},handleSelectOptionsChange(a,m){try{if(m&&m.trim()){const e=JSON.parse(m);Array.isArray(e)?a.options=e:a.options=[]}else a.options=[]}catch(e){console.warn("\u9009\u9879\u6570\u636E\u683C\u5F0F\u9519\u8BEF:",e)}this.designer.saveCurrentHistoryStep()},loadDictOptionsForColumn(a){if(!a.dictCode||!a.dictCode.trim())return;const m=a.dictCode.trim();a._loadingDict=!0;try{let e=null;if(typeof window!="undefined"&&window.getDictData){const g=window.getDictData(m);if(g&&Array.isArray(g)&&g.length>0){a.options=g.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})),a.optionsText=JSON.stringify(a.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),a._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.dictCache&&window.dictCache[m]){const g=window.dictCache[m];if(Array.isArray(g)&&g.length>0){a.options=g.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})),a.optionsText=JSON.stringify(a.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),a._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.service){window.service.post("/unified-dict/sysItemDict/page",{current:1,size:1e4,dictType:m}).then(({data:g})=>{a._loadingDict=!1;const A=(g==null?void 0:g.records)||(g==null?void 0:g.data)||g||[];if(Array.isArray(A)&&A.length>0){const C=A.filter(_=>_.dictType===m);C.length>0?(a.options=C.map(_=>({label:_.dictLabel||_.label||_.name||_.text||"",value:_.dictValue||_.value||_.code||_.value||_.itemValue||"",disabled:_.disabled||!1})),a.optionsText=JSON.stringify(a.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 "${m}" \u7684\u6570\u636E`)}else this.$message.warning("\u5B57\u5178\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E")}).catch(g=>{a._loadingDict=!1,console.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25:",g),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{a._loadingDict=!1}},editColumnEventHandler(a,m,e){this.currentColumn=a,this.currentEventName=m,this.eventHeader=`${a.label||a.prop}.${m}(${e.join(", ")}) {`,this.columnEventHandlerCode=a[m]||"",this.showColumnEventDialog=!0},saveColumnEventHandler(){if(!(!this.currentColumn||!this.currentEventName)){if(this.$refs.columnEventEditor){const a=this.$refs.columnEventEditor.getEditorAnnotations();let m=!1;if(a&&a.length>0&&(a.forEach(e=>{e.type==="error"&&(m=!0)}),m)){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$6={class:"column-header"},_hoisted_2$4={class:"column-title"},_hoisted_3$3={class:"column-form"},_hoisted_4$2={class:"dialog-footer"};function _sfc_render$9(a,m,e,g,A,C){const _=vue.resolveComponent("el-divider"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-button"),u=vue.resolveComponent("el-input"),i=vue.resolveComponent("el-option"),o=vue.resolveComponent("el-select"),t=vue.resolveComponent("el-switch"),r=vue.resolveComponent("el-input-number"),n=vue.resolveComponent("el-alert"),s=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(_,{class:"custom-divider"},{default:vue.withCtx(()=>[...m[3]||(m[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,f)=>(vue.openBlock(),vue.createElementBlock("div",{key:f,class:"column-item"},[vue.createElementVNode("div",_hoisted_1$6,[vue.createElementVNode("span",_hoisted_2$4,"\u5217 "+vue.toDisplayString(f+1),1),vue.createVNode(d,{circle:"",plain:"",size:"small",type:"danger",onClick:w=>C.deleteColumn(f),icon:"el-icon-minus",class:"column-delete-button"},null,8,["onClick"])]),vue.createElementVNode("div",_hoisted_3$3,[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:C.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:C.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5217\u7C7B\u578B"},{default:vue.withCtx(()=>[vue.createVNode(o,{modelValue:h.type,"onUpdate:modelValue":w=>h.type=w,placeholder:"\u8BF7\u9009\u62E9\u5217\u7C7B\u578B",onChange:C.handleColumnChange,style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(i,{label:"\u6587\u672C\u8F93\u5165",value:"input"}),vue.createVNode(i,{label:"\u6570\u5B57\u8F93\u5165",value:"number"}),vue.createVNode(i,{label:"\u65E5\u671F\u9009\u62E9",value:"date"}),vue.createVNode(i,{label:"\u6708\u4EFD\u9009\u62E9",value:"month"}),vue.createVNode(i,{label:"\u65E5\u671F\u65F6\u95F4",value:"datetime"}),vue.createVNode(i,{label:"\u4E0B\u62C9\u9009\u62E9",value:"select"}),vue.createVNode(i,{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=>C.loadDictOptionsForColumn(h),clearable:""},{append:vue.withCtx(()=>[vue.createVNode(d,{onClick:w=>C.loadDictOptionsForColumn(h),loading:h._loadingDict},{default:vue.withCtx(()=>[...m[4]||(m[4]=[vue.createTextVNode("\u52A0\u8F7D",-1)])]),_:1},8,["onClick","loading"])]),_:2},1032,["modelValue","onUpdate:modelValue","onBlur"]),m[5]||(m[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:C.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:C.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:C.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u662F\u5426\u5FC5\u586B"},{default:vue.withCtx(()=>[vue.createVNode(t,{modelValue:h.required,"onUpdate:modelValue":w=>h.required=w,onChange:C.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),vue.createVNode(b,{label:"\u6821\u9A8C\u89C4\u5219"},{default:vue.withCtx(()=>[vue.createVNode(o,{modelValue:h.validation,"onUpdate:modelValue":w=>h.validation=w,placeholder:"\u8BF7\u9009\u62E9\u6821\u9A8C\u89C4\u5219",filterable:"",clearable:"",style:{width:"100%"},onChange:w=>C.handleValidationChange(h)},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(A.fieldValidators,(w,p)=>(vue.openBlock(),vue.createBlock(i,{key:p,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:1,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:C.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024)):vue.createCommentVNode("",!0),h.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:2,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=>C.handleSelectOptionsChange(h,w)},null,8,["modelValue","onUpdate:modelValue","onInput"]),m[6]||(m[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:3,label:"onMounted\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>C.editColumnEventHandler(h,"onMounted",["col","options","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),m[7]||(m[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:4,label:"\u4F9D\u8D56\u5217\uFF08\u8054\u52A8\uFF09"},{default:vue.withCtx(()=>[vue.createVNode(o,{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:C.handleColumnChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(w,p)=>(vue.openBlock(),vue.createBlock(i,{key:p,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"]),m[8]||(m[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:5,label:"\u8054\u52A8\u5904\u7406\u51FD\u6570"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>C.editColumnEventHandler(h,"onDependChange",["targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),m[9]||(m[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=>C.editColumnEventHandler(h,"onChange",["col","value","formData","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),m[10]||(m[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:6,label:"\u884C\u6570"},{default:vue.withCtx(()=>[vue.createVNode(r,{modelValue:h.rows,"onUpdate:modelValue":w=>h.rows=w,min:1,max:10,onChange:C.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)):vue.createCommentVNode("",!0)])]))),128)),vue.createElementVNode("div",null,[vue.createVNode(d,{link:"",type:"primary",onClick:C.addNewColumn},{default:vue.withCtx(()=>[...m[11]||(m[11]=[vue.createTextVNode("\u6DFB\u52A0\u5217",-1)])]),_:1},8,["onClick"])])]),_:1})]),vue.createVNode(l,{modelValue:A.showColumnEventDialog,"onUpdate:modelValue":m[2]||(m[2]=h=>A.showColumnEventDialog=h),title:`\u7F16\u8F91\u4E8B\u4EF6\uFF1A${A.currentEventName}`,width:"1000px","append-to-body":"","close-on-click-modal":!1},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$2,[vue.createVNode(d,{onClick:m[1]||(m[1]=h=>A.showColumnEventDialog=!1)},{default:vue.withCtx(()=>[...m[12]||(m[12]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(d,{type:"primary",onClick:C.saveColumnEventHandler},{default:vue.withCtx(()=>[...m[13]||(m[13]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(n,{type:"info",closable:!1,title:A.eventHeader,style:{"margin-bottom":"10px"}},null,8,["title"]),vue.createVNode(s,{mode:"javascript",readonly:!1,modelValue:A.columnEventHandlerCode,"onUpdate:modelValue":m[0]||(m[0]=h=>A.columnEventHandlerCode=h),ref:"columnEventEditor"},null,8,["modelValue"])]),_:1},8,["modelValue","title"])],64)}var SubTableColumnsEditor=_export_sfc$1(_sfc_main$9,[["render",_sfc_render$9],["__scopeId","data-v-2d1b4989"]]);const _sfc_main$8={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:[]}},computed:{displayModel(){return this.currentUserType==="username"?this.fieldModel?this.fieldModel.username:"":this.currentUserType==="deptName"?this.fieldModel?this.fieldModel.deptName:"":this.currentUserType==="companyName"?this.fieldModel?this.fieldModel.companyName:"":JSON.stringify(this.fieldModel)},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}},currentUserType(){var a;return((a=this.field.options)==null?void 0:a.type)||"username"}},methods:{hasExistingValue(){var m;const a=(m=this.fieldModel)!=null?m:this.oldFieldValue;return a!=null&&a!==""},async getCurrentUser(){const{data:a}=await service$1({method:"get",url:"unified-system/employee/loginInfo?accessType=0"});this.fieldModel=a,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()},"field.options.type":{handler(a,m){m!==void 0&&this.getCurrentUser()},immediate:!1}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.hasExistingValue()||this.getCurrentUser()}};function _sfc_render$8(a,m,e,g,A,C){const _=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:A.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(_,{modelValue:C.displayModel,"onUpdate:modelValue":m[0]||(m[0]=d=>C.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$8,[["render",_sfc_render$8]]),assetDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$7={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(a){this.visible=a,a&&(this.getTableData(),this.selectedRows=this.fieldValue&&Array.isArray(this.fieldValue)?lodash.exports.cloneDeep(this.fieldValue):[])}},assetTypeValue:{handler(a){this.disabled=!!a,a?this.form.assetType=a:this.form.assetType="all"},immediate:!0}},computed:{filterList(){const a=this.searchValue.toLocaleLowerCase();return this.selectedRows.filter(m=>m.labelName.toLocaleLowerCase().includes(a)||m.assetCode.toLocaleLowerCase().includes(a))}},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(a){if(this._handlingSelectionChange)return;const m=this.$refs.tableRef,e=Array.isArray(a)?a:[],g=e.map(A=>A.assetId);if(this.limit>0&&g.length>this.limit){const C=(Array.isArray(this._prevTableSelectionIds)?this._prevTableSelectionIds:[]).slice(0,this.limit);m&&typeof m.clearSelection=="function"&&typeof m.toggleRowSelection=="function"&&(this._handlingSelectionChange=!0,m.clearSelection(),e.forEach(_=>{C.includes(_.assetId)&&m.toggleRowSelection(_,!0)}),this._handlingSelectionChange=!1),this._prevTableSelectionIds=C;return}this._prevTableSelectionIds=g},getTableData(){service$1({method:"post",url:"/asset-business/overview/pageList",data:ht(ze({size:this.pageSize,current:this.currentPage,reqType:"disposal"},this.form),{assetType:this.form.assetType==="all"?"":this.form.assetType,systemStatusList:["2"]})}).then(({data:a})=>{const{records:m,total:e,current:g}=a;this.tableData=m.map(A=>{const d=A,{id:C}=d,_=ja(d,["id"]);return ht(ze({},_),{assetId:C})}),this.total=e,this.currentPage=g})},handleSizeChange(a){this.pageSize=a,this.getTableData()},handleCurrentChange(a){this.currentPage=a,this.getTableData()},handleAdd(){const a=this.$refs.tableRef,m=a&&typeof a.getSelectionRows=="function"?a.getSelectionRows():[];if(!m||m.length===0){this.$message.error("\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u8D44\u4EA7");return}const e=[...this.selectedRows,...m].reduce((g,A)=>(g.some(C=>C.assetId===A.assetId)||g.push(A),g),[]);if(this.limit&&e.length>this.limit){this.$message.error(`\u6700\u591A\u9009\u62E9 ${this.limit} \u4E2A\u8D44\u4EA7`);return}this.selectedRows=e},handleRemove(a){const m=this.selectedRows.findIndex(e=>e.assetId===a);m!==-1&&this.selectedRows.splice(m,1)},handleGetAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:a}})=>{this.assetTypeOptions=a.map(m=>({label:m.label,value:m.itemValue})),this.assetTypeOptions.unshift({label:"\u5168\u90E8",value:"all"})})},handleSearch(){this.currentPage=1,this.getTableData()}},created(){this.getTableData(),this.handleGetAssetTypeOptions()}},_hoisted_1$5={class:"asset-body-wrap"},_hoisted_2$3={class:"bottom-wrap"},_hoisted_3$2={class:"left-wrap"},_hoisted_4$1={class:"filter-wrap"},_hoisted_5$1={class:"right-wrap"},_hoisted_6$1={class:"asset-wrap-title"},_hoisted_7={class:"asset-wrap"},_hoisted_8={class:"asset-item-left"},_hoisted_9={class:"asset-item-right"},_hoisted_10={class:"dialog-footer"};function _sfc_render$7(a,m,e,g,A,C){const _=vue.resolveComponent("el-input"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-col"),u=vue.resolveComponent("el-option"),i=vue.resolveComponent("el-select"),o=vue.resolveComponent("el-button"),t=vue.resolveComponent("el-row"),r=vue.resolveComponent("el-form"),n=vue.resolveComponent("el-table-column"),s=vue.resolveComponent("el-table"),l=vue.resolveComponent("el-pagination"),h=vue.resolveComponent("DArrowRight"),f=vue.resolveComponent("el-icon"),w=vue.resolveComponent("Search"),p=vue.resolveComponent("Close"),y=vue.resolveComponent("el-scrollbar"),v=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(v,{modelValue:A.visible,"onUpdate:modelValue":m[6]||(m[6]=M=>A.visible=M),title:"\u8D44\u4EA7\u9009\u62E9",width:"1418px",onClose:C.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,[vue.createVNode(o,{onClick:C.handleClose,size:"default"},{default:vue.withCtx(()=>[...m[12]||(m[12]=[vue.createTextVNode(" \u53D6\u6D88 ",-1)])]),_:1},8,["onClick"]),vue.createVNode(o,{type:"primary",onClick:C.handleConfirm,size:"default"},{default:vue.withCtx(()=>[...m[13]||(m[13]=[vue.createTextVNode(" \u786E\u5B9A ",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$5,[vue.createElementVNode("div",_hoisted_2$3,[vue.createElementVNode("div",_hoisted_3$2,[vue.createElementVNode("div",_hoisted_4$1,[vue.createVNode(r,{model:A.form,ref:"formRef"},{default:vue.withCtx(()=>[vue.createVNode(t,{gutter:12},{default:vue.withCtx(()=>[vue.createVNode(d,{span:5},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(_,{maxlength:"50",modelValue:A.form.assetCode,"onUpdate:modelValue":m[0]||(m[0]=M=>A.form.assetCode=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...m[7]||(m[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(_,{maxlength:"50",modelValue:A.form.labelName,"onUpdate:modelValue":m[1]||(m[1]=M=>A.form.labelName=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...m[8]||(m[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(i,{disabled:A.disabled,modelValue:A.form.assetType,"onUpdate:modelValue":m[2]||(m[2]=M=>A.form.assetType=M),placeholder:"\u8BF7\u9009\u62E9",clearable:""},{prefix:vue.withCtx(()=>[...m[9]||(m[9]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u7C7B\u578B\uFF1A",-1)])]),default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(A.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(_,{maxlength:"50",modelValue:A.form.assetOwnerUnit,"onUpdate:modelValue":m[3]||(m[3]=M=>A.form.assetOwnerUnit=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...m[10]||(m[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(o,{type:"primary",onClick:C.handleSearch},{default:vue.withCtx(()=>[...m[11]||(m[11]=[vue.createTextVNode("\u641C\u7D22",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),vue.createVNode(s,{data:A.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(n,{type:"selection",width:"55"}),vue.createVNode(n,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801",width:"200"}),vue.createVNode(n,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0"}),vue.createVNode(n,{prop:"assetTypeName","header-align":"center",align:"center",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(n,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(n,{prop:"originalValue",label:"\u539F\u503C(\u4E07\u5143)",width:"120"},{default:vue.withCtx(({row:M})=>[vue.createTextVNode(vue.toDisplayString(M.originalValue),1)]),_:1}),vue.createVNode(n,{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:C.handleSizeChange,onCurrentChange:C.handleCurrentChange,"current-page":A.currentPage,layout:"total, sizes, prev, pager, next",size:"small",total:A.total},null,8,["onSizeChange","onCurrentChange","current-page","total"])]),vue.createElementVNode("div",{class:"center-wrap",onClick:m[4]||(m[4]=(...M)=>C.handleAdd&&C.handleAdd(...M))},[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(h)]),_:1})]),vue.createElementVNode("div",_hoisted_5$1,[vue.createElementVNode("div",_hoisted_6$1,[vue.createVNode(_,{modelValue:A.searchValue,"onUpdate:modelValue":m[5]||(m[5]=M=>A.searchValue=M),placeholder:"\u8BF7\u8F93\u5165\u8D44\u4EA7\u540D\u79F0\u6216\u8D44\u4EA7\u7F16\u7801\u641C\u7D22",clearable:""},{prefix:vue.withCtx(()=>[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(w)]),_:1})]),_:1},8,["modelValue"])]),vue.createVNode(y,{class:"asset-wrap-scroll"},{default:vue.withCtx(()=>[vue.createElementVNode("ul",_hoisted_7,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(C.filterList,M=>(vue.openBlock(),vue.createElementBlock("li",{class:"asset-item",key:M.assetId},[vue.createElementVNode("div",_hoisted_8,[vue.createElementVNode("div",null,vue.toDisplayString(M.labelName),1),vue.createElementVNode("div",null,vue.toDisplayString(M.assetCode),1)]),vue.createElementVNode("div",_hoisted_9,[vue.createVNode(f,{onClick:D=>C.handleRemove(M.assetId)},{default:vue.withCtx(()=>[vue.createVNode(p)]),_:1},8,["onClick"])])]))),128))])]),_:1})])])])]),_:1},8,["modelValue","onClose"])}var AssetDialog=_export_sfc$1(_sfc_main$7,[["render",_sfc_render$7],["__scopeId","data-v-5cca3952"]]),index_vue_vue_type_style_index_0_lang$1="";const _sfc_main$6={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(a){this.fieldModel=a}},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(a,m){var d;if(!a)return!1;const e=m==null?"":String(m),g=this.getWidgetRef(a,!1);if((d=g==null?void 0:g.field)==null?void 0:d.options){g.field.options.label=e;const u=this.getFormRef();return u&&typeof u.$forceUpdate=="function"&&u.$forceUpdate(),!0}const A=this.getFormRef();if(!A||typeof A.getFormJson!="function"||typeof A.setFormJson!="function")return!1;const C=A.getFormJson();let _=!1;const b=u=>{!Array.isArray(u)||u.forEach(i=>{var o;if(!_){if(((o=i==null?void 0:i.options)==null?void 0:o.name)===a){i.options.label=e,_=!0;return}Array.isArray(i==null?void 0:i.widgetList)&&b(i.widgetList),Array.isArray(i==null?void 0:i.cols)&&i.cols.forEach(t=>b(t==null?void 0:t.widgetList)),Array.isArray(i==null?void 0:i.rows)&&i.rows.forEach(t=>Array.isArray(t==null?void 0:t.cols)&&t.cols.forEach(r=>b(r==null?void 0:r.widgetList))),Array.isArray(i==null?void 0:i.tabs)&&i.tabs.forEach(t=>b(t==null?void 0:t.widgetList))}})};return b(C==null?void 0:C.widgetList),_?(A.setFormJson(C),!0):!1},handleClick(){this.dialogVisible=!0},handleConfirm(a){this.dialogVisible=!1,this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null,this.fieldModel=a,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",a),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(a,...m){var g,A;const e=(A=(g=this.field)==null?void 0:g.options)==null?void 0:A[a];if(e)try{if(a==="onConfirm"&&m.length>0){const C=m[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,C,C,C)}else if(a==="onRemoveTag"&&m.length>=2){const C=m[0],_=m[1],b=m[2];new Function("removedItem","remainingNodes","remainingValue","selectedValue","removedIndex",e).call(this,C,_,_,_,b)}else if(m.length>0){const C=m.map((b,d)=>`arg${d}`).join(", ");new Function(C,e).apply(this,m)}else new Function(e).call(this)}catch(C){console.error(`Error executing ${a} handler:`,C),console.error("Handler code:",e),console.error("Args:",m)}},handleSearch(){this.$nextTick(()=>{this.applyTreeFilter()})}}},_hoisted_1$4={class:"asset-select-widget__trigger"};function _sfc_render$6(a,m,e,g,A,C){const _=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:A.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(C.widgetStyle)},[vue.createElementVNode("div",_hoisted_1$4,[vue.createVNode(_,{type:"primary",class:"asset-select-widget__button",plain:"",disabled:e.field.options.disabled,placeholder:"\u8BF7\u9009\u62E9\u8D44\u4EA7",onClick:C.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":A.dialogVisible,onClose:C.handleClose,onConfirm:C.handleConfirm,onCancel:C.handleCancel,limit:e.field.options.assetLimit,fieldValue:A.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$6,[["render",_sfc_render$6]]),detailDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$5={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(a){a||this.handleClose()}},currentRowData(){return this.data&&typeof this.data=="object"?this.data:{}},renderFormJson(){return this.formJson||this.defaultFormJson}},watch:{visible:{immediate:!0,handler(a){a?this.initFormData():this.formData={}}},disabled:{immediate:!0,handler(){this.$nextTick(()=>{this.syncFormDisabledStatus()})}}},methods:{resolveTypeJsonMap(){const a=this.typeJson;if(a==null||a==="")return{};if(typeof a=="string")try{return JSON.parse(a)}catch{return{}}return typeof a=="object"?a:{}},syncFormDisabledStatus(){const a=this.$refs.detailFormRender;!a||this.disabled&&typeof a.disableForm=="function"&&a.disableForm()},applyFormJsonToRender(a){this.formJson=a&&a.widgetList&&a.formConfig?a:lodash.exports.cloneDeep(this.defaultFormJson),this.$nextTick(()=>{const m=this.$refs.detailFormRender;m&&typeof m.setFormJson=="function"&&(m.setFormJson(lodash.exports.cloneDeep(this.formJson)),this.$nextTick(()=>{this.flushPendingColHiddenOps(),this.syncFormDisabledStatus()}))})},setColHidden(a,m){const e=Array.isArray(a)?a:[a];this.pendingColHiddenOps.push({names:e,hidden:m})},flushPendingColHiddenOps(){if(!this.pendingColHiddenOps.length)return;const a=this.$refs.detailFormRender;!a||typeof a.setColHidden!="function"||(this.pendingColHiddenOps.forEach(({names:m,hidden:e})=>{m.forEach(g=>a.setColHidden(g,e))}),this.pendingColHiddenOps=[])},initFormData(){this.showForm=!1,this.formData=lodash.exports.cloneDeep(this.currentRowData)||{};const a=this.typeJson;if(!a){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/${a}`}).then(({data:m})=>{if(!(m==null?void 0:m.formJson)){this.applyFormJsonToRender(null);return}let e;try{e=typeof m.formJson=="string"?JSON.parse(m.formJson):m.formJson,this.showForm=!0}catch(g){console.error(g),e=null}this.applyFormJsonToRender(e),this.showForm=!0}).catch(m=>{console.error(m),this.applyFormJsonToRender(null)})},async handleConfirm(){const a=this.$refs.detailFormRender;if(!!a)try{const m=await a.getFormData(!0);console.log(m,"formValues"),this.$emit("confirm",m),this.dialogVisible=!1}catch(m){this.$message.error(m),console.error(m)}},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$3={class:"asset-body-wrap"},_hoisted_2$2={key:0},_hoisted_3$1={class:"dialog-footer"};function _sfc_render$5(a,m,e,g,A,C){const _=vue.resolveComponent("v-form-render"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(d,{modelValue:C.dialogVisible,"onUpdate:modelValue":m[0]||(m[0]=u=>C.dialogVisible=u),title:"\u5904\u7F6E\u8BE6\u60C5",width:"1200px",onClose:C.handleClose,"close-on-click-modal":!1,draggable:""},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$1,[vue.createVNode(b,{onClick:C.handleClose},{default:vue.withCtx(()=>[...m[1]||(m[1]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1},8,["onClick"]),e.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(b,{key:0,type:"primary",onClick:C.handleConfirm},{default:vue.withCtx(()=>[...m[2]||(m[2]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"]))])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$3,[A.showForm?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$2,[vue.createVNode(_,{ref:"detailFormRender","form-json":C.renderFormJson,"form-data":A.formData},null,8,["form-json","form-data"])])):vue.createCommentVNode("",!0)])]),_:1},8,["modelValue","onClose"])}var DetailDialog=_export_sfc$1(_sfc_main$5,[["render",_sfc_render$5],["__scopeId","data-v-3a7f7afa"]]),index_vue_vue_type_style_index_0_lang="";const _sfc_main$4={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(a){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(a){const m=this.fieldModel.findIndex(e=>e.assetId===a.assetId);m!==-1&&(this.fieldModel[m]=ze(ze({},this.fieldModel[m]),a))},triggerEvent(a,...m){var g,A;const e=(A=(g=this.field)==null?void 0:g.options)==null?void 0:A[a];if(e)try{if(a==="onOpen"&&m.length>0){const C=m[0];new Function("rowData",e).call(this,C)}else if(a==="onChange"){const C=m[0],_=m[1];if(this.subFormItemFlag){const b=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,C,_,b,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,C,_)}else if(m.length>0){const C=m.map((b,d)=>`arg${d}`).join(", ");new Function(C,e).apply(this,m)}else new Function(e).call(this)}catch(C){console.error(`Error executing ${a} handler:`,C),console.error("Handler code:",e),console.error("Args:",m)}},handleRow(a){const m=this.fieldModel.findIndex(e=>e.assetId===a.assetId);m!==-1&&(this.triggerEvent("onOpen",this.fieldModel[m]),this.detailDialogVisible=!0,this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[m]))},setDetailColHidden(a,m){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(a,m)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(a){const m=this.fieldModel.findIndex(g=>g.assetId===this.detailDialogData.assetId);if(m===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[m]=ht(ze(ze({},this.fieldModel[m]),a),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$2={key:1};function _sfc_render$4(a,m,e,g,A,C){const _=vue.resolveComponent("el-table-column"),b=vue.resolveComponent("el-text"),d=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),i=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(i,{designer:e.designer,field:e.field,rules:A.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(a.widgetStyle)},[vue.createVNode(d,{data:A.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(_,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801"}),vue.createVNode(_,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0",align:"left"},{default:vue.withCtx(({row:o})=>[e.field.options.clickRow?(vue.openBlock(),vue.createBlock(b,{key:0,class:"click-text",type:"primary",onClick:t=>C.handleRow(o)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(o.labelName),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$2,vue.toDisplayString(o.labelName),1))]),_:1}),vue.createVNode(_,{prop:"assetTypeName",align:"center",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(_,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(_,{prop:"originalValue",label:"\u539F\u503C(\u4E07\u5143)"},{default:vue.withCtx(({row:o})=>[vue.createTextVNode(vue.toDisplayString(o.originalValue),1)]),_:1}),vue.createVNode(_,{prop:"netValue",label:"\u51C0\u503C(\u4E07\u5143)"},{default:vue.withCtx(({row:o})=>[vue.createTextVNode(vue.toDisplayString(o.netValue),1)]),_:1}),C.handleShowIsUpdate()?(vue.openBlock(),vue.createBlock(_,{key:0,prop:"isUpdate",align:"center","header-align":"center",label:"\u662F\u5426\u5DF2\u5B8C\u6210\u586B\u5199"},{default:vue.withCtx(({row:o})=>[vue.createTextVNode(vue.toDisplayString(o.isUpdate?"\u662F":"\u5426"),1)]),_:1})):vue.createCommentVNode("",!0)]),_:1},8,["data"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:A.detailDialogVisible,typeJson:e.field.options.typeJson,data:A.detailDialogData,onClose:C.handleCloseDetailDialog,onConfirm:C.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$4,[["render",_sfc_render$4]]),index_vue_vue_type_style_index_0_scoped_true_lang$1="";const _sfc_main$3={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:null,oldFieldValue:null,rules:[],detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(a){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:a}){var m;return!a.label2||((m=a.label2)==null?void 0:m.length)===0?"no-attachment-row":""},getFileIcon(a){const m=a==null?void 0:a.substring((a==null?void 0:a.lastIndexOf("."))+1).toLowerCase();return m?new URL({"../../assets/image/fileType/7z.png":__glob_5_0,"../../assets/image/fileType/bmp.png":__glob_5_1,"../../assets/image/fileType/default.png":__glob_5_2,"../../assets/image/fileType/doc.png":__glob_5_3,"../../assets/image/fileType/docx.png":__glob_5_4,"../../assets/image/fileType/dot.png":__glob_5_5,"../../assets/image/fileType/et.png":__glob_5_6,"../../assets/image/fileType/ett.png":__glob_5_7,"../../assets/image/fileType/jpeg.png":__glob_5_8,"../../assets/image/fileType/jpg.png":__glob_5_9,"../../assets/image/fileType/mp3.png":__glob_5_10,"../../assets/image/fileType/mp4.png":__glob_5_11,"../../assets/image/fileType/ofd.png":__glob_5_12,"../../assets/image/fileType/pdf.png":__glob_5_13,"../../assets/image/fileType/png.png":__glob_5_14,"../../assets/image/fileType/ppt.png":__glob_5_15,"../../assets/image/fileType/pptx.png":__glob_5_16,"../../assets/image/fileType/rar.png":__glob_5_17,"../../assets/image/fileType/tar.png":__glob_5_18,"../../assets/image/fileType/txt.png":__glob_5_19,"../../assets/image/fileType/wav.png":__glob_5_20,"../../assets/image/fileType/wps.png":__glob_5_21,"../../assets/image/fileType/wpt.png":__glob_5_22,"../../assets/image/fileType/xls.png":__glob_5_23,"../../assets/image/fileType/xlsx.png":__glob_5_24,"../../assets/image/fileType/xlt.png":__glob_5_25,"../../assets/image/fileType/zip.png":__glob_5_26}[`../../assets/image/fileType/${m}.png`],self.location):defaultIcon},isZip(a){const m=a.substring(a.lastIndexOf(".")+1).toLowerCase();return m==="zip"||m==="rar"||m==="7z"||m==="tar"},async handlePreview(a){console.log(a,"file");try{const{response:m,fileId:e}=a;if(m){const{data:g}=m;if(!g.fileId)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:A}=await service({method:"get",url:"unified-file/sys-file/kkfile-url",params:{fileId:g.fileId}});window.open(A)}else{if(!e)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:g}=await service({method:"get",url:"unified-file/sys-file/kkfile-url",params:{fileId:e}});window.open(g)}}catch(m){console.error(m)}},async handleDownload(a){const{response:m,fileId:e,fileName:g,name:A}=a;if(m){const{data:C}=m;if(!C.fileId)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:_}=await service({method:"post",url:"unified-file/sys-file/download",params:{fileId:C.fileId},responseType:"blob"});downloadMethod(_,C.fileName)}else{if(!e)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:C}=await service({method:"post",url:"unified-file/sys-file/download",params:{fileId:e},responseType:"blob"});downloadMethod(C,A||g)}},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(a,...m){var g,A;const e=(A=(g=this.field)==null?void 0:g.options)==null?void 0:A[a];if(e)try{if(a==="onOpen"&&m.length>0){const C=m[0];new Function("rowData",e).call(this,C)}else if(a==="onChange"){const C=m[0],_=m[1];if(this.subFormItemFlag){const b=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,C,_,b,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,C,_)}else if(m.length>0){const C=m.map((b,d)=>`arg${d}`).join(", ");new Function(C,e).apply(this,m)}else new Function(e).call(this)}catch(C){console.error(`Error executing ${a} handler:`,C),console.error("Handler code:",e),console.error("Args:",m)}},setDetailColHidden(a,m){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(a,m)})}}},_hoisted_1$1={class:"left-wrap"},_hoisted_2$1=["src"],_hoisted_3=["title"],_hoisted_4={class:"right-wrap"},_hoisted_5=["onClick"],_hoisted_6=["onClick"];function _sfc_render$3(a,m,e,g,A,C){const _=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:A.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(a.widgetStyle)},[vue.createVNode(b,{data:A.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"",style:{width:"100%"},"row-key":"id",ref:"tableRef","row-class-name":C.tableRowClassName},{default:vue.withCtx(()=>[vue.createVNode(_,{prop:"label1",label:"\u516C\u53F8\u540D\u79F0"}),vue.createVNode(_,{prop:"label2",label:"\u9644\u4EF6",align:"left"},{default:vue.withCtx(({row:u})=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(u.label2,(i,o)=>(vue.openBlock(),vue.createElementBlock("div",{class:"upload-file-list",key:o},[vue.createElementVNode("div",_hoisted_1$1,[vue.createElementVNode("img",{src:C.getFileIcon(u.name||u.fileName),alt:"",style:{width:"18px",height:"18px","margin-right":"8px"}},null,8,_hoisted_2$1),vue.createElementVNode("div",{class:"upload-file-name",title:i.name||i.fileName},vue.toDisplayString(i.name||i.fileName),9,_hoisted_3)]),vue.createElementVNode("div",_hoisted_4,[C.isZip(i.fileName)?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",{key:0,onClick:vue.withModifiers(t=>C.handlePreview(i),["stop"]),class:"pr-8px color-primary cursor-pointer file-action-right"}," \u9884\u89C8 ",8,_hoisted_5)),vue.createElementVNode("div",{onClick:vue.withModifiers(t=>C.handleDownload(i),["stop"]),class:"pr-8px color-primary cursor-pointer file-action-right"}," \u4E0B\u8F7D ",8,_hoisted_6)])]))),128))]),_: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$3,[["render",_sfc_render$3],["__scopeId","data-v-e14e59bc"]]);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+CjxwYXRoIGlkPSJFbGxpcHNlIDUiIGQ9Ik0xMyA5QzEzIDEwLjE4NjcgMTIuNjQ4MSAxMS4zNDY3IDExLjk4ODggMTIuMzMzNEMxMS4zMjk1IDEzLjMyMDEgMTAuMzkyNSAxNC4wODkyIDkuMjk2MSAxNC41NDMzQzguMTk5NzQgMTQuOTk3NCA2Ljk5MzM0IDE1LjExNjIgNS44Mjk0NiAxNC44ODQ3QzQuNjY1NTcgMTQuNjUzMiAzLjU5NjQ3IDE0LjA4MTggMi43NTczNiAxMy4yNDI2QzEuOTE4MjQgMTIuNDAzNSAxLjM0NjggMTEuMzM0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SIyIiByeD0iMC41IiBmaWxsPSJ3aGl0ZSIvPgo8cmVjdCBpZD0iUmVjdGFuZ2xlIDExNyIgeD0iMi41IiB5PSI2IiB3aWR0aD0iNCIgaGVpZ2h0PSIxIiBmaWxsPSIjMzE4MkNFIi8+CjxyZWN0IGlkPSJSZWN0YW5nbGUgMTE4IiB4PSIyLjUiIHk9IjEwIiB3aWR0aD0iNCIgaGVpZ2h0PSIxIiBmaWxsPSIjMzE4MkNFIi8+CjxwYXRoIGlkPSJWZWN0b3IgNCIgZD0iTTIuNSA2TDQuNSAzIiBzdHJva2U9IiMzMTgyQ0UiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBpZD0iVmVjdG9yIDYiIGQ9Ik0yLjUgMTBMNCA4IiBzdHJva2U9IiMzMTgyQ0UiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBpZD0iVmVjdG9yIDUiIGQ9Ik00LjUgNkw1LjUgNC41IiBzdHJva2U9IiMzMTgyQ0UiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8cGF0aCBpZD0iVmVjdG9yIDciIGQ9Ik00LjUgMTBMNS41IDguNSIgc3Ryb2tlPSIjMzE4MkNFIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=",index_vue_vue_type_style_index_0_scoped_true_lang="";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$2={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(a){this.fieldModel=a,this.syncUpdateFormModel(a)},immediate:!0}},methods:{getAssetTypeImage(a,m){const e=AssetTypeEnum[a];if(!e)return"";const g=m==="selected"?`${e}-active`:`${e}`;return assetTypeImageMap[g]||""},getAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:a}})=>{this.assetTypeOptions=a.map(m=>({label:m.label,value:m.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$2(a,m,e,g,A,C){const _=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(_,{designer:e.designer,field:e.field,rules:A.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(a.widgetStyle)},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(A.assetTypeOptions,b=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["asset-type-item",{selected:A.fieldModel===b.value}]),key:b.value},[b.value!=="all"?(vue.openBlock(),vue.createElementBlock("img",{key:0,src:C.getAssetTypeImage(b.value,A.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$2,[["render",_sfc_render$2],["__scopeId","data-v-7351af35"]]);const _sfc_main$1={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 a,m;return(m=(a=this.fieldModel)==null?void 0:a.companyName)!=null?m:""},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}}},methods:{hasExistingValue(){var m;const a=(m=this.fieldModel)!=null?m:this.oldFieldValue;return a==null||a===""?!1:typeof a=="object"?!!(a.companyName||a.id||a.companyId):!0},tryLoadCurrentUserSecondCompany(){console.log(this.designState,this.hasExistingValue(),"222222222"),!(this.designState||this.hasExistingValue())&&this.getCurrentUserSecondCompany()},async getCurrentUserSecondCompany(){if(this.hasExistingValue())return;const{data:a}=await service$1({method:"get",url:"unified-system/sysCompany/targetCompany",params:{id:sessionStorage.getItem("companyId")}});this.hasExistingValue()||(this.fieldModel=a,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$1(a,m,e,g,A,C){const _=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:A.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(_,{modelValue:C.displayModel,"onUpdate:modelValue":m[0]||(m[0]=d=>C.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$1,[["render",_sfc_render$1]]);const _sfc_main={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 m;const a=(m=this.fieldModel)!=null?m:this.oldFieldValue;return a!=null&&a!==""}}};function _sfc_render(a,m,e,g,A,C){const _=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:A.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:A.fieldModel,"onUpdate:modelValue":m[0]||(m[0]=i=>A.fieldModel=i),disabled:a.getDisabled(),readonly:e.field.options.readonly,size:a.widgetSize,class:"hide-spin-button",type:C.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:a.handleFocusCustomEvent,onBlur:a.handleBlurCustomEvent,onInput:a.handleInputCustomEvent,onChange:a.handleChangeEvent},vue.createSlots({_:2},[e.field.options.appendButton?{name:"append",fn:vue.withCtx(()=>[vue.createVNode(b,{disabled:a.getDisabled()||e.field.options.appendButtonDisabled,onClick:a.emitAppendButtonClick},{default:vue.withCtx(()=>[vue.createVNode(_,{"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,[["render",_sfc_render]]);const loadExtension=function(a){a.component(CardWidget.name,CardWidget),a.component(CardItem.name,CardItem),registerCPEditor(a,"card-folded","card-folded-editor",createBooleanEditor("folded","extension.setting.cardFolded")),registerCPEditor(a,"card-showFold","card-showFold-editor",createBooleanEditor("showFold","extension.setting.cardShowFold")),registerCPEditor(a,"card-cardWidth","card-cardWidth-editor",createInputTextEditor("cardWidth","extension.setting.cardWidth")),registerCPEditor(a,"card-shadow","card-shadow-editor",createSelectEditor("shadow","extension.setting.cardShadow",{optionItems:[{label:"never",value:"never"},{label:"hover",value:"hover"},{label:"always",value:"always"}]})),registerCPEditor(a,"mainTip","mainTip-editor",createInputTextEditor("mainTip","designer.setting.mainTip")),registerCPEditor(a,"subTip","subTip-editor",createInputTextEditor("subTip","designer.setting.subTip")),a.component(AlertWidget.name,AlertWidget),registerCPEditor(a,"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"}];a.component("alert-type-editor",createSelectEditor("type","extension.setting.alertType",{optionItems:e})),registerCPEditor(a,"alert-description","alert-description-editor",createInputTextEditor("description","extension.setting.description")),registerCPEditor(a,"alert-closable","alert-closable-editor",createBooleanEditor("closable","extension.setting.closable")),registerCPEditor(a,"alert-closeText","alert-closeText-editor",createInputTextEditor("closeText","extension.setting.closeText")),registerCPEditor(a,"alert-center","alert-center-editor",createBooleanEditor("center","extension.setting.center")),registerCPEditor(a,"alert-showIcon","alert-showIcon-editor",createBooleanEditor("showIcon","extension.setting.showIcon")),registerCPEditor(a,"alert-effect","alert-effect-editor",createRadioButtonGroupEditor("effect","extension.setting.effect",{optionItems:[{label:"light",value:"light"},{label:"dark",value:"dark"}]})),registerEPEditor(a,"alert-onClose","alert-onClose-editor",createEventHandlerEditor("onClose",[])),a.component(PersonTreeWidget.name,PersonTreeWidget),registerCPEditor(a,"person-tree-buttonText","person-tree-buttonText-editor",createInputTextEditor("buttonText","extension.setting.personTreeButtonText")),registerCPEditor(a,"person-tree-dialogTitle","person-tree-dialogTitle-editor",createInputTextEditor("dialogTitle","extension.setting.personTreeDialogTitle")),registerCPEditor(a,"person-tree-treeParams","person-tree-treeParams-editor",createTextareaEditor("treeParams","extension.setting.personTreeTreeParams",{rows:4})),registerAPEditor(a,"person-tree-dialogWidth","person-tree-dialogWidth-editor",createInputTextEditor("dialogWidth","extension.setting.personTreeDialogWidth")),registerCPEditor(a,"person-tree-confirmText","person-tree-confirmText-editor",createInputTextEditor("confirmText","extension.setting.personTreeConfirmText")),registerCPEditor(a,"person-tree-cancelText","person-tree-cancelText-editor",createInputTextEditor("cancelText","extension.setting.personTreeCancelText")),registerCPEditor(a,"person-tree-hideFooter","person-tree-hideFooter-editor",createBooleanEditor("hideFooter","extension.setting.personTreeHideFooter")),registerEPEditor(a,"person-tree-onOpen","person-tree-onOpen-editor",createEventHandlerEditor("onOpen",[])),registerEPEditor(a,"person-tree-onConfirm","person-tree-onConfirm-editor",createEventHandlerEditor("onConfirm",["checkedNodes"])),registerEPEditor(a,"person-tree-onRemoveTag","person-tree-onRemoveTag-editor",createEventHandlerEditor("onRemoveTag",["removedItem","remainingNodes","removedIndex"])),registerEPEditor(a,"person-tree-onCancel","person-tree-onCancel-editor",createEventHandlerEditor("onCancel",[])),registerEPEditor(a,"person-tree-onClose","person-tree-onClose-editor",createEventHandlerEditor("onClose",[])),a.component(radioOtherItem.name,radioOtherItem),a.component(selectOtherItem.name,selectOtherItem),a.component(meetingRoomItem.name,meetingRoomItem),registerCPEditor(a,"meeting-room-remoteUrl","meeting-room-remoteUrl-editor",createInputTextEditor("remoteUrl","extension.setting.meetingRoomRemoteUrl")),registerCPEditor(a,"meeting-room-allowMultiple","meeting-room-allowMultiple-editor",createBooleanEditor("allowMultiple","extension.setting.allowMultiple")),a.component(CustomSubFormWidget.name,CustomSubFormWidget),a.component(CustomSubFormItem.name,CustomSubFormItem),a.component(CustomTableWidget.name,CustomTableWidget),a.component(CustomTableItem.name,CustomTableItem),a.component(CustomTableCellWidget.name,CustomTableCellWidget),a.component(CustomTableCellItem.name,CustomTableCellItem),a.component(SubTableWidget.name,SubTableWidget),a.component(SubTableItem.name,SubTableItem),a.component("sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(a,"sub-table-columns","sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(a,"select-tree-showCheckbox","select-tree-showCheckbox-editor",createBooleanEditor("showCheckbox","designer.setting.showCheckbox")),registerCPEditor(a,"select-tree-checkStrictly","select-tree-checkStrictly-editor",createBooleanEditor("checkStrictly","extension.setting.selectTreeCheckStrictly")),a.component(CurrentUserWidget.name,CurrentUserWidget),registerCPEditor(a,"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"}]})),a.component(CurrentUserSecondCompanyWidget.name,CurrentUserSecondCompanyWidget),a.component(AssetSelectWidget.name,AssetSelectWidget),registerCPEditor(a,"asset-select-buttonText","asset-select-buttonText-editor",createInputTextEditor("buttonText","extension.setting.assetSelectButtonText")),registerCPEditor(a,"asset-select-typeJson","asset-select-typeJson-editor",createTextareaEditor("typeJson","extension.setting.assetSelectTypeJson",{rows:4})),registerCPEditor(a,"asset-select-assetTypeValue","asset-select-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetSelectAssetTypeValue")),registerCPEditor(a,"asset-select-assetLimit","asset-select-assetLimit-editor",createInputNumberEditor("assetLimit","extension.setting.assetSelectAssetLimit")),a.component(AssetTableWidget.name,AssetTableWidget),registerCPEditor(a,"asset-table-typeJson","asset-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.assetTableTypeJson")),registerCPEditor(a,"asset-table-clickRow","asset-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.assetTableClickRow")),registerEPEditor(a,"asset-table-onOpen","asset-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),a.component(ResolutionTableWidget.name,ResolutionTableWidget),a.component(AssetTypeWidget.name,AssetTypeWidget),registerCPEditor(a,"asset-type-assetTypeValue","asset-type-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetTypeAssetTypeValue")),a.component(CustomInputWidget.name,CustomInputWidget)};function getElMessage(a){var m,e,g;try{if((e=(m=a==null?void 0:a.config)==null?void 0:m.globalProperties)==null?void 0:e.$message)return a.config.globalProperties.$message;if(typeof window!="undefined"&&window.ElementPlus)return window.ElementPlus.ElMessage||((g=window.ElementPlus.default)==null?void 0:g.ElMessage)||null}catch{}return null}VFormRender.install=function(a){loadExtension(a),a.use(ContainerItems),registerIcon(a),a.component(VFormRender.name,VFormRender),a.config.globalProperties.$service=service$1,a.provide("service",service$1),a.provide("ElMessage",getElMessage(a))};const components=[VFormRender],install=a=>{loadExtension(a),a.use(ContainerItems),registerIcon(a),components.forEach(m=>{a.component(m.name,m)}),a.config.globalProperties.$service=service$1,a.provide("service",service$1),window.axios=axios,typeof window!="undefined"&&(window.service=service$1)};var installRender={install,VFormRender};return installRender});
1353
+ `,"autocompletion.css",!1),g.AcePopup=f,g.$singleLineEditor=h,g.getAriaId=r}),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],function(e,g,A){var C=function(){function _(b){this.editor=b,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return _.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(),i=this.popup.renderer.$textLayer,o=i.element.childNodes[u-i.config.firstRow];if(o){for(var t="doc-tooltip ",r=0;r<this._lines.length;r++)t+="ace-inline-screenreader-line-".concat(r," ");o.setAttribute("aria-describedby",t)}}.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)},_.prototype.destroy=function(){this.screenReaderDiv.remove()},_.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 i=document.createTextNode(this._lines[d]);u.appendChild(i),b.appendChild(u)}return b},_}();g.AceInlineScreenReader=C}),ace.define("ace/autocomplete/inline",["require","exports","module","ace/snippets","ace/autocomplete/inline_screenreader"],function(e,g,A){var C=e("../snippets").snippetManager,_=e("./inline_screenreader").AceInlineScreenReader,b=function(){function d(){this.editor=null}return d.prototype.show=function(u,i,o){if(o=o||"",u&&this.editor&&this.editor!==u&&(this.hide(),this.editor=null,this.inlineScreenReader=null),!u||!i)return!1;this.inlineScreenReader||(this.inlineScreenReader=new _(u));var t=i.snippet?C.getDisplayTextForSnippet(u,i.snippet):i.value;return i.hideInlinePreview||!t||!t.startsWith(o)?!1:(this.editor=u,this.inlineScreenReader.setScreenReaderContent(t),t=t.slice(o.length),t===""?u.removeGhostText():u.setGhostText(t),!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}();g.AceInline=b}),ace.define("ace/autocomplete/util",["require","exports","module"],function(e,g,A){g.parForEach=function(_,b,d){var u=0,i=_.length;i===0&&d();for(var o=0;o<i;o++)b(_[o],function(t,r){u++,u===i&&d(t,r)})};var C=/[a-zA-Z_0-9\$\-\u00A2-\u2000\u2070-\uFFFF]/;g.retrievePrecedingIdentifier=function(_,b,d){d=d||C;for(var u=[],i=b-1;i>=0&&d.test(_[i]);i--)u.push(_[i]);return u.reverse().join("")},g.retrieveFollowingIdentifier=function(_,b,d){d=d||C;for(var u=[],i=b;i<_.length&&d.test(_[i]);i++)u.push(_[i]);return u},g.getCompletionPrefix=function(_){var b=_.getCursorPosition(),d=_.session.getLine(b.row),u;return _.completers.forEach(function(i){i.identifierRegexps&&i.identifierRegexps.forEach(function(o){!u&&o&&(u=this.retrievePrecedingIdentifier(d,b.column,o))}.bind(this))}.bind(this)),u||this.retrievePrecedingIdentifier(d,b.column)},g.triggerAutocomplete=function(_,b){var b=b==null?_.session.getPrecedingCharacter():b;return _.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,g,A){var C=e("./keyboard/hash_handler").HashHandler,_=e("./autocomplete/popup").AcePopup,b=e("./autocomplete/inline").AceInline,d=e("./autocomplete/popup").getAriaId,u=e("./autocomplete/util"),i=e("./lib/lang"),o=e("./lib/dom"),t=e("./snippets").snippetManager,r=e("./config"),n=e("./lib/event"),s=e("./lib/scroll").preventParentScroll,l=function(p,y){y.completer&&y.completer.destroy()},h=function(){function p(){this.autoInsert=!1,this.autoSelect=!0,this.autoShown=!1,this.exactMatch=!1,this.inlineEnabled=!1,this.keyboardHandler=new C,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=i.delayedCall(function(){this.updateCompletions(!0)}.bind(this)),this.tooltipTimer=i.delayedCall(this.updateDocTooltip.bind(this),50),this.popupTimer=i.delayedCall(this.$updatePopupPosition.bind(this),50),this.stickySelectionTimer=i.delayedCall(function(){this.stickySelection=!0}.bind(this),this.stickySelectionDelay),this.$firstOpenTimer=i.delayedCall(function(){var y=this.completionProvider&&this.completionProvider.initialPosition;this.autoShown||this.popup&&this.popup.isOpen||!y||this.editor.completers.length===0||(this.completions=new w(p.completionsForLoading),this.openPopup(this.editor,y.prefix,!1),this.popup.renderer.setStyle("ace_loading",!0))}.bind(this),this.stickySelectionDelay)}return Object.defineProperty(p,"completionsForLoading",{get:function(){return[{caption:r.nls("autocomplete.loading","Loading..."),value:""}]},enumerable:!1,configurable:!0}),p.prototype.$init=function(){return this.popup=new _(this.parentNode||document.body||document.documentElement),this.popup.on("click",function(y){this.insertMatch(),y.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)),n.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},p.prototype.$initInline=function(){if(!(!this.inlineEnabled||this.inlineRenderer))return this.inlineRenderer=new b,this.inlineRenderer},p.prototype.getPopup=function(){return this.popup||this.$init()},p.prototype.$onHidePopup=function(){this.inlineRenderer&&this.inlineRenderer.hide(),this.hideDocTooltip(),this.stickySelectionTimer.cancel(),this.popupTimer.cancel(),this.stickySelection=!1},p.prototype.$seen=function(y){!this.hasSeen.has(y)&&y&&y.completer&&y.completer.onSeen&&typeof y.completer.onSeen=="function"&&(y.completer.onSeen(this.editor,y),this.hasSeen.add(y))},p.prototype.$onPopupChange=function(y){if(this.inlineRenderer&&this.inlineEnabled){var v=y?null:this.popup.getData(this.popup.getRow());if(this.$updateGhostText(v),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)},p.prototype.$updateGhostText=function(y){var v=this.base.row,M=this.base.column,D=this.editor.getCursorPosition().column,L=this.editor.session.getLine(v).slice(M,D);this.inlineRenderer.show(this.editor,y,L)?this.$seen(y):this.inlineRenderer.hide()},p.prototype.$onPopupRender=function(){var y=this.inlineRenderer&&this.inlineEnabled;if(this.completions&&this.completions.filtered&&this.completions.filtered.length>0)for(var v=this.popup.getFirstVisibleRow();v<=this.popup.getLastVisibleRow();v++){var M=this.popup.getData(v);M&&(!y||M.hideInlinePreview)&&this.$seen(M)}},p.prototype.$onPopupShow=function(y){this.$onPopupChange(y),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},p.prototype.observeLayoutChanges=function(){if(!(this.$elements||!this.editor)){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var y=this.editor.container.parentNode,v=[];y;)v.push(y),y.addEventListener("scroll",this.onLayoutChange,{passive:!0}),y=y.parentNode;this.$elements=v}},p.prototype.unObserveLayoutChanges=function(){var y=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach(function(v){v.removeEventListener("scroll",y.onLayoutChange,{passive:!0})}),this.$elements=null},p.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},p.prototype.$updatePopupPosition=function(){var y=this.editor,v=y.renderer,M=v.layerConfig.lineHeight,D=v.$cursorLayer.getPixelPosition(this.base,!0);D.left-=this.popup.getTextLeftOffset();var L=y.container.getBoundingClientRect();D.top+=L.top-v.layerConfig.offset,D.left+=L.left-y.renderer.scrollLeft,D.left+=v.gutterWidth;var S={top:D.top,left:D.left};v.$ghostText&&v.$ghostTextWidget&&this.base.row===v.$ghostText.position.row&&(S.top+=v.$ghostTextWidget.el.offsetHeight);var N=y.container.getBoundingClientRect().bottom-M,k=N<S.top?{top:N,left:S.left}:S;this.popup.tryShow(k,M,"bottom")||this.popup.tryShow(D,M,"top")||this.popup.show(D,M)},p.prototype.openPopup=function(y,v,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 D=this.popup.getRow(),L=this.popup.data[D];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}),y.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===D&&L!==this.completions.filtered[S]&&this.$onPopupChange();var N=this.inlineRenderer&&this.inlineEnabled;if(S===D&&N){var k=this.popup.getData(this.popup.getRow());this.$updateGhostText(k)}M||(this.popup.setTheme(y.getTheme()),this.popup.setFontSize(y.getFontSize()),this.$updatePopupPosition(),this.tooltipNode&&this.updateDocTooltip()),this.changeTimer.cancel(),this.observeLayoutChanges()},p.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()},p.prototype.changeListener=function(y){var v=this.editor.selection.lead;(v.row!=this.base.row||v.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},p.prototype.blurListener=function(y){var v=document.activeElement,M=this.editor.textInput.getElement(),D=y.relatedTarget&&this.tooltipNode&&this.tooltipNode.contains(y.relatedTarget),L=this.popup&&this.popup.container;v!=M&&v.parentNode!=L&&!D&&v!=this.tooltipNode&&y.relatedTarget!=M&&this.detach()},p.prototype.mousedownListener=function(y){this.detach()},p.prototype.mousewheelListener=function(y){this.popup&&!this.popup.isMouseOver&&this.detach()},p.prototype.mouseOutListener=function(y){this.popup.isOpen&&this.$updatePopupPosition()},p.prototype.goTo=function(y){this.popup.goTo(y)},p.prototype.insertMatch=function(y,v){if(y||(y=this.popup.getData(this.popup.getRow())),!y)return!1;if(y.value==="")return this.detach();var M=this.completions,D=this.getCompletionProvider().insertMatch(this.editor,y,M.filterText,v);return this.completions==M&&this.detach(),D},p.prototype.showPopup=function(y,v){this.editor&&this.detach(),this.activated=!0,this.editor=y,y.completer!=this&&(y.completer&&y.completer.detach(),y.completer=this),y.on("changeSelection",this.changeListener),y.on("blur",this.blurListener),y.on("mousedown",this.mousedownListener),y.on("mousewheel",this.mousewheelListener),this.updateCompletions(!1,v)},p.prototype.getCompletionProvider=function(y){return this.completionProvider||(this.completionProvider=new f(y)),this.completionProvider},p.prototype.gatherCompletions=function(y,v){return this.getCompletionProvider().gatherCompletions(y,v)},p.prototype.updateCompletions=function(y,v){if(y&&this.base&&this.completions){var D=this.editor.getCursorPosition(),L=this.editor.session.getTextRange({start:this.base,end:D});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,y);return}if(v&&v.matches){var D=this.editor.getSelectionRange().start;return this.base=this.editor.session.doc.createAnchor(D.row,D.column),this.base.$insertRight=!0,this.completions=new w(v.matches),this.getCompletionProvider().completions=this.completions,this.openPopup(this.editor,"",y)}var M=this.editor.getSession(),D=this.editor.getCursorPosition(),L=u.getCompletionPrefix(this.editor);this.base=M.doc.createAnchor(D.row,D.column-L.length),this.base.$insertRight=!0;var S={exactMatch:this.exactMatch,ignoreCaption:this.ignoreCaption};this.getCompletionProvider({prefix:L,pos:D}).provideCompletions(this.editor,S,function(N,k,T){var E=k.filtered,I=u.getCompletionPrefix(this.editor);if(this.$firstOpenTimer.cancel(),T){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,y),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=!T&&this.showLoadingState?new w(p.completionsForLoading.concat(E),k.filterText):k,this.openPopup(this.editor,I,y),this.popup.renderer.setStyle("ace_empty-message",!1),this.popup.renderer.setStyle("ace_loading",!T)}.bind(this)),this.showLoadingState&&!this.autoShown&&(!this.popup||!this.popup.isOpen)&&this.$firstOpenTimer.delay(this.stickySelectionDelay/2)},p.prototype.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},p.prototype.updateDocTooltip=function(){var y=this.popup,v=this.completions&&this.completions.filtered,M=v&&(v[y.getHoveredRow()]||v[y.getRow()]),D=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){D=N.getDocTooltip(M);break}}if(!D&&typeof M!="string"&&(D=M),typeof D=="string"&&(D={docText:D}),!D||!D.docHTML&&!D.docText)return this.hideDocTooltip();this.showDocTooltip(D)},p.prototype.showDocTooltip=function(y){this.tooltipNode||(this.tooltipNode=o.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",s));var v=this.editor.renderer.theme;this.tooltipNode.className="ace_tooltip ace_doc-tooltip "+(v.isDark?"ace_dark ":"")+(v.cssClass||"");var M=this.tooltipNode;y.docHTML?M.innerHTML=y.docHTML:y.docText&&(M.textContent=y.docText),M.parentNode||this.popup.container.appendChild(this.tooltipNode);var D=this.popup,L=D.container.getBoundingClientRect(),S=400,N=300,k=D.renderer.scrollBar.width||10,T=L.left,E=window.innerWidth-L.right-k,I=D.isTopdown?L.top:window.innerHeight-k-L.bottom,F=[Math.min(E/S,1),Math.min(T/S,1),Math.min(I/N*.9)],O=Math.max.apply(Math,F),z=M.style;z.display="block",O==F[0]?(z.left=L.right+1+"px",z.right="",z.maxWidth=S*O+"px",z.top=L.top+"px",z.bottom="",z.maxHeight=Math.min(window.innerHeight-k-L.top,N)+"px"):O==F[1]?(z.right=window.innerWidth-L.left+"px",z.left="",z.maxWidth=S*O+"px",z.top=L.top+"px",z.bottom="",z.maxHeight=Math.min(window.innerHeight-k-L.top,N)+"px"):O==F[2]&&(z.left=window.innerWidth-L.left+"px",z.maxWidth=Math.min(S,window.innerWidth)+"px",D.isTopdown?(z.top=L.bottom+"px",z.left=L.left+"px",z.right="",z.bottom="",z.maxHeight=Math.min(window.innerHeight-k-L.bottom,N)+"px"):(z.top=D.container.offsetTop-M.offsetHeight+"px",z.left=L.left+"px",z.right="",z.bottom="",z.maxHeight=Math.min(D.container.offsetTop,N)+"px"))},p.prototype.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),!!this.tooltipNode){var y=this.tooltipNode;!this.editor.isFocused()&&document.activeElement==y&&this.editor.focus(),this.tooltipNode=null,y.parentNode&&y.parentNode.removeChild(y)}},p.prototype.onTooltipClick=function(y){for(var v=y.target;v&&v!=this.tooltipNode;){if(v.nodeName=="A"&&v.href){v.rel="noreferrer",v.target="_blank";break}v=v.parentNode}},p.prototype.destroy=function(){if(this.detach(),this.popup){this.popup.destroy();var y=this.popup.container;y&&y.parentNode&&y.parentNode.removeChild(y)}this.editor&&this.editor.completer==this&&(this.editor.off("destroy",l),this.editor.completer=null),this.inlineRenderer=this.popup=this.editor=null},p.for=function(y){return y.completer instanceof p||(y.completer&&(y.completer.destroy(),y.completer=null),r.get("sharedPopups")?(p.$sharedInstance||(p.$sharedInstance=new p),y.completer=p.$sharedInstance):(y.completer=new p,y.once("destroy",l))),y.completer},p}();h.prototype.commands={Up:function(p){p.completer.goTo("up")},Down:function(p){p.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(p){p.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(p){p.completer.goTo("end")},Esc:function(p){p.completer.detach()},Return:function(p){return p.completer.insertMatch()},"Shift-Return":function(p){p.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(p){var y=p.completer.insertMatch();if(!!y||!!p.tabstopManager)return y;p.completer.goTo("down")},Backspace:function(p){p.execCommand("backspace");var y=u.getCompletionPrefix(p);!y&&p.completer&&p.completer.detach()},PageUp:function(p){p.completer.popup.gotoPageUp()},PageDown:function(p){p.completer.popup.gotoPageDown()}},h.startCommand={name:"startAutocomplete",exec:function(p,y){var v=h.for(p);v.autoInsert=!1,v.autoSelect=!0,v.autoShown=!1,v.showPopup(p,y),v.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var f=function(){function p(y){this.initialPosition=y,this.active=!0}return p.prototype.insertByIndex=function(y,v,M){return!this.completions||!this.completions.filtered?!1:this.insertMatch(y,this.completions.filtered[v],M)},p.prototype.insertMatch=function(y,v,M){if(!v)return!1;if(y.startOperation({command:{name:"insertMatch"}}),v.completer&&v.completer.insertMatch)v.completer.insertMatch(y,v);else{if(!this.completions)return!1;var D=this.completions.filterText.length,L=0;if(v.range&&v.range.start.row===v.range.end.row&&(D-=this.initialPosition.prefix.length,D+=this.initialPosition.pos.column-v.range.start.column,L+=v.range.end.column-this.initialPosition.pos.column),D||L){var S;y.selection.getAllRanges?S=y.selection.getAllRanges():S=[y.getSelectionRange()];for(var N=0,k;k=S[N];N++)k.start.column-=D,k.end.column+=L,y.session.remove(k)}v.snippet?t.insertSnippet(y,v.snippet):this.$insertString(y,v),v.completer&&v.completer.onInsert&&typeof v.completer.onInsert=="function"&&v.completer.onInsert(y,v),v.command&&v.command==="startAutocomplete"&&y.execCommand(v.command)}return y.endOperation(),!0},p.prototype.$insertString=function(y,v){var M=v.value||v;y.execCommand("insertstring",M)},p.prototype.gatherCompletions=function(y,v){var M=y.getSession(),D=y.getCursorPosition(),L=u.getCompletionPrefix(y),S=[];this.completers=y.completers;var N=y.completers.length;return y.completers.forEach(function(k,T){k.getCompletions(y,M,D,L,function(E,I){k.hideInlinePreview&&(I=I.map(function(F){return Object.assign(F,{hideInlinePreview:k.hideInlinePreview})})),!E&&I&&(S=S.concat(I)),v(null,{prefix:u.getCompletionPrefix(y),matches:S,finished:--N==0})})}),!0},p.prototype.provideCompletions=function(y,v,M){var D=function(k){var T=k.prefix,E=k.matches;this.completions=new w(E),v.exactMatch&&(this.completions.exactMatch=!0),v.ignoreCaption&&(this.completions.ignoreCaption=!0),this.completions.setFilter(T),(k.finished||this.completions.filtered.length)&&M(null,this.completions,k.finished)}.bind(this),L=!0,S=null;if(this.gatherCompletions(y,function(k,T){if(!!this.active){k&&(M(k,[],!0),this.detach());var E=T.prefix;if(E.indexOf(T.prefix)===0){if(L){S=T;return}D(T)}}}.bind(this)),L=!1,S){var N=S;S=null,D(N)}},p.prototype.detach=function(){this.active=!1,this.completers&&this.completers.forEach(function(y){typeof y.cancel=="function"&&y.cancel()})},p}(),w=function(){function p(y,v){this.all=y,this.filtered=y,this.filterText=v||"",this.exactMatch=!1,this.ignoreCaption=!1}return p.prototype.setFilter=function(y){if(y.length>this.filterText&&y.lastIndexOf(this.filterText,0)===0)var v=this.filtered;else var v=this.all;this.filterText=y,v=this.filterCompletions(v,this.filterText),v=v.sort(function(D,L){return L.exactMatch-D.exactMatch||L.$score-D.$score||(D.caption||D.value).localeCompare(L.caption||L.value)});var M=null;v=v.filter(function(D){var L=D.snippet||D.caption||D.value;return L===M?!1:(M=L,!0)}),this.filtered=v},p.prototype.filterCompletions=function(y,v){var M=[],D=v.toUpperCase(),L=v.toLowerCase();e:for(var S=0,N;N=y[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 T=-1,E=0,I=0,F,O;if(this.exactMatch){if(v!==k.substr(0,v.length))continue e}else{var z=k.toLowerCase().indexOf(L);if(z>-1)I=z;else for(var W=0;W<v.length;W++){var j=k.indexOf(L[W],T+1),B=k.indexOf(D[W],T+1);if(F=j>=0&&(B<0||j<B)?j:B,F<0)continue e;O=F-T-1,O>0&&(T===-1&&(I+=10),I+=O,E|=1<<W),T=F}}N.matchMask=E,N.exactMatch=I?0:1,N.$score=(N.score||0)-I,M.push(N)}}return M},p}();g.Autocomplete=h,g.CompletionProvider=f,g.FilteredList=w}),ace.define("ace/marker_group",["require","exports","module"],function(e,g,A){var C=function(){function _(b,d){d&&(this.markerType=d.markerType),this.markers=[],this.session=b,b.addDynamicMarker(this)}return _.prototype.getMarkerAtPosition=function(b){return this.markers.find(function(d){return d.range.contains(b.row,b.column)})},_.prototype.markersComparator=function(b,d){return b.range.start.row-d.range.start.row},_.prototype.setMarkers=function(b){this.markers=b.sort(this.markersComparator).slice(0,this.MAX_MARKERS),this.session._signal("changeBackMarker")},_.prototype.update=function(b,d,u,i){if(!(!this.markers||!this.markers.length))for(var o=i.firstRow,t=i.lastRow,r,n=0,s=0,l=0;l<this.markers.length;l++){var h=this.markers[l];if(!(h.range.end.row<o)&&!(h.range.start.row>t)&&(h.range.start.row===s?n++:(s=h.range.start.row,n=0),!(n>200))){var f=h.range.clipRows(o,t);if(!(f.start.row===f.end.row&&f.start.column===f.end.column)){var w=f.toScreenRange(u);if(w.isEmpty()){r=u.getNextFoldLine(f.end.row,r),r&&r.end.row>f.end.row&&(o=r.end.row);continue}this.markerType==="fullLine"?d.drawFullLineMarker(b,w,h.className,i):w.isMultiLine()?this.markerType==="line"?d.drawMultiLineMarker(b,w,h.className,i):d.drawTextMarker(b,w,h.className,i):d.drawSingleLineMarker(b,w,h.className+" ace_br15",i)}}}},_}();C.prototype.MAX_MARKERS=1e4,g.MarkerGroup=C}),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],function(e,g,A){function C(u,i){var o=u.getTextRange(b.fromPoints({row:0,column:0},i));return o.split(d).length-1}function _(u,i){var o=C(u,i),t=u.getValue().split(d),r=Object.create(null),n=t[o];return t.forEach(function(s,l){if(!(!s||s===n)){var h=Math.abs(o-l),f=t.length-h;r[s]?r[s]=Math.max(f,r[s]):r[s]=f}}),r}var b=e("../range").Range,d=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;g.getCompletions=function(u,i,o,t,r){var n=_(i,o),s=Object.keys(n);r(null,s.map(function(l){return{caption:l,value:l,score:n[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,g,A){var C=e("../snippets").snippetManager,_=e("../autocomplete").Autocomplete,b=e("../config"),d=e("../lib/lang"),u=e("../autocomplete/util"),i=e("../marker_group").MarkerGroup,o=e("../autocomplete/text_completer"),t={getCompletions:function(L,S,N,k,T){if(S.$mode.completer)return S.$mode.completer.getCompletions(L,S,N,k,T);var E=L.session.getState(N.row),I=S.$mode.getCompletions(E,S,N,k);I=I.map(function(F){return F.completerId=t.id,F}),T(null,I)},id:"keywordCompleter"},r=function(L){var S={};return L.replace(/\${(\d+)(:(.*?))?}/g,function(N,k,T,E){return S[k]=E||""}).replace(/\$(\d+?)/g,function(N,k){return S[k]})},n={getCompletions:function(L,S,N,k,T){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=C.getActiveScopes(L);var F=C.snippetMap,O=[];E.forEach(function(z){for(var W=F[z]||[],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:n.id})}},this),T(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"},s=[n,o,t];g.setCompleters=function(L){s.length=0,L&&s.push.apply(s,L)},g.addCompleter=function(L){s.push(L)},g.textCompleter=o,g.keyWordCompleter=t,g.snippetCompleter=n;var l={name:"expandSnippet",exec:function(L){return C.expandWithTab(L)},bindKey:"Tab"},h=function(L,S){f(S.session.$mode)},f=function(L){typeof L=="string"&&(L=b.$modes[L]),!!L&&(C.files||(C.files={}),w(L.$id,L.snippetFileId),L.modes&&L.modes.forEach(f))},w=function(L,S){!S||!L||C.files[L]||(C.files[L]={},b.loadModule(S,function(N){!N||(C.files[L]=N,!N.snippets&&N.snippetText&&(N.snippets=C.parseSnippetFile(N.snippetText)),C.register(N.snippets||[],N.scope),N.includeScopes&&(C.snippetMap[N.scope].includeScopes=N.includeScopes,N.includeScopes.forEach(function(k){f("ace/mode/"+k)})))}))},p=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){y=L;var k=L.editor.$liveAutocompletionDelay;k?v.delay(k):M(L)}},y,v=d.delayedCall(function(){M(y)},0),M=function(L){var S=L.editor,N=u.getCompletionPrefix(S),k=L.args,T=u.triggerAutocomplete(S,k);if(N&&N.length>=S.$liveAutocompletionThreshold||T){var E=_.for(S);E.autoShown=!0,E.showPopup(S)}},D=e("../editor").Editor;e("../config").defineOptions(D.prototype,"editor",{enableBasicAutocompletion:{set:function(L){L?(_.for(this),this.completers||(this.completers=Array.isArray(L)?L:s),this.commands.addCommand(_.startCommand)):this.commands.removeCommand(_.startCommand)},value:!1},enableLiveAutocompletion:{set:function(L){L?(this.completers||(this.completers=Array.isArray(L)?L:s),this.commands.on("afterExec",p)):this.commands.off("afterExec",p)},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}}),g.MarkerGroup=i}),function(){ace.require(["ace/ext/language_tools"],function(e){a&&(a.exports=e)})}()})(extLanguage_tools);var index_vue_vue_type_style_index_0_scoped_true_lang$2="";const _sfc_main$a={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",a=>{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(a){let m=[{meta:"VForm API",caption:"getWidgetRef",value:"getWidgetRef()",score:1},{meta:"VForm API",caption:"getFormRef",value:"getFormRef()",score:1}];a.require("ace/ext/language_tools").addCompleter({getCompletions:function(g,A,C,_,b){return _.length===0?b(null,[]):b(null,m)}})},setJsonMode(){this.aceEditor.getSession().setMode("ace/mode/json")},setCssMode(){this.aceEditor.getSession().setMode("ace/mode/css")},getEditorAnnotations(){return this.aceEditor.getSession().getAnnotations()},setValue(a){this.aceEditor.getSession().setValue(a)}}},_hoisted_1$7={class:"ace-container"},_hoisted_2$5={class:"ace-editor",ref:"ace"};function _sfc_render$a(a,m,e,g,A,C){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$7,[vue.createElementVNode("div",_hoisted_2$5,null,512)])}var CodeEditor=_export_sfc$1(_sfc_main$a,[["render",_sfc_render$a],["__scopeId","data-v-335e1214"]]),subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$9={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:{addNewColumn(){this.optionModel.columns||(this.optionModel.columns=[]);const a={prop:"field"+(this.optionModel.columns.length+1),label:"\u5217"+(this.optionModel.columns.length+1),type:"input",width:"",minWidth:"",placeholder:"",required:!1,validation:"",validationHint:"",defaultValue:""};this.optionModel.columns.push(a),this.designer.saveCurrentHistoryStep()},deleteColumn(a){this.optionModel.columns.splice(a,1),this.designer.saveCurrentHistoryStep()},handleColumnChange(){this.designer.saveCurrentHistoryStep()},handleValidationChange(a){a.validation||(a.validationHint=""),this.handleColumnChange()},handleSelectOptionsChange(a,m){try{if(m&&m.trim()){const e=JSON.parse(m);Array.isArray(e)?a.options=e:a.options=[]}else a.options=[]}catch(e){console.warn("\u9009\u9879\u6570\u636E\u683C\u5F0F\u9519\u8BEF:",e)}this.designer.saveCurrentHistoryStep()},loadDictOptionsForColumn(a){if(!a.dictCode||!a.dictCode.trim())return;const m=a.dictCode.trim();a._loadingDict=!0;try{let e=null;if(typeof window!="undefined"&&window.getDictData){const g=window.getDictData(m);if(g&&Array.isArray(g)&&g.length>0){a.options=g.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})),a.optionsText=JSON.stringify(a.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),a._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.dictCache&&window.dictCache[m]){const g=window.dictCache[m];if(Array.isArray(g)&&g.length>0){a.options=g.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})),a.optionsText=JSON.stringify(a.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),a._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.service){window.service.post("/unified-dict/sysItemDict/page",{current:1,size:1e4,dictType:m}).then(({data:g})=>{a._loadingDict=!1;const A=(g==null?void 0:g.records)||(g==null?void 0:g.data)||g||[];if(Array.isArray(A)&&A.length>0){const C=A.filter(_=>_.dictType===m);C.length>0?(a.options=C.map(_=>({label:_.dictLabel||_.label||_.name||_.text||"",value:_.dictValue||_.value||_.code||_.value||_.itemValue||"",disabled:_.disabled||!1})),a.optionsText=JSON.stringify(a.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 "${m}" \u7684\u6570\u636E`)}else this.$message.warning("\u5B57\u5178\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E")}).catch(g=>{a._loadingDict=!1,console.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25:",g),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{a._loadingDict=!1}},editColumnEventHandler(a,m,e){this.currentColumn=a,this.currentEventName=m,this.eventHeader=`${a.label||a.prop}.${m}(${e.join(", ")}) {`,this.columnEventHandlerCode=a[m]||"",this.showColumnEventDialog=!0},saveColumnEventHandler(){if(!(!this.currentColumn||!this.currentEventName)){if(this.$refs.columnEventEditor){const a=this.$refs.columnEventEditor.getEditorAnnotations();let m=!1;if(a&&a.length>0&&(a.forEach(e=>{e.type==="error"&&(m=!0)}),m)){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$6={class:"column-header"},_hoisted_2$4={class:"column-title"},_hoisted_3$3={class:"column-form"},_hoisted_4$2={class:"dialog-footer"};function _sfc_render$9(a,m,e,g,A,C){const _=vue.resolveComponent("el-divider"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-button"),u=vue.resolveComponent("el-input"),i=vue.resolveComponent("el-option"),o=vue.resolveComponent("el-select"),t=vue.resolveComponent("el-switch"),r=vue.resolveComponent("el-input-number"),n=vue.resolveComponent("el-alert"),s=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(_,{class:"custom-divider"},{default:vue.withCtx(()=>[...m[3]||(m[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,f)=>(vue.openBlock(),vue.createElementBlock("div",{key:f,class:"column-item"},[vue.createElementVNode("div",_hoisted_1$6,[vue.createElementVNode("span",_hoisted_2$4,"\u5217 "+vue.toDisplayString(f+1),1),vue.createVNode(d,{circle:"",plain:"",size:"small",type:"danger",onClick:w=>C.deleteColumn(f),icon:"el-icon-minus",class:"column-delete-button"},null,8,["onClick"])]),vue.createElementVNode("div",_hoisted_3$3,[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:C.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:C.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5217\u7C7B\u578B"},{default:vue.withCtx(()=>[vue.createVNode(o,{modelValue:h.type,"onUpdate:modelValue":w=>h.type=w,placeholder:"\u8BF7\u9009\u62E9\u5217\u7C7B\u578B",onChange:C.handleColumnChange,style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(i,{label:"\u6587\u672C\u8F93\u5165",value:"input"}),vue.createVNode(i,{label:"\u6570\u5B57\u8F93\u5165",value:"number"}),vue.createVNode(i,{label:"\u65E5\u671F\u9009\u62E9",value:"date"}),vue.createVNode(i,{label:"\u6708\u4EFD\u9009\u62E9",value:"month"}),vue.createVNode(i,{label:"\u65E5\u671F\u65F6\u95F4",value:"datetime"}),vue.createVNode(i,{label:"\u4E0B\u62C9\u9009\u62E9",value:"select"}),vue.createVNode(i,{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=>C.loadDictOptionsForColumn(h),clearable:""},{append:vue.withCtx(()=>[vue.createVNode(d,{onClick:w=>C.loadDictOptionsForColumn(h),loading:h._loadingDict},{default:vue.withCtx(()=>[...m[4]||(m[4]=[vue.createTextVNode("\u52A0\u8F7D",-1)])]),_:1},8,["onClick","loading"])]),_:2},1032,["modelValue","onUpdate:modelValue","onBlur"]),m[5]||(m[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:C.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:C.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:C.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u662F\u5426\u5FC5\u586B"},{default:vue.withCtx(()=>[vue.createVNode(t,{modelValue:h.required,"onUpdate:modelValue":w=>h.required=w,onChange:C.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),vue.createVNode(b,{label:"\u6821\u9A8C\u89C4\u5219"},{default:vue.withCtx(()=>[vue.createVNode(o,{modelValue:h.validation,"onUpdate:modelValue":w=>h.validation=w,placeholder:"\u8BF7\u9009\u62E9\u6821\u9A8C\u89C4\u5219",filterable:"",clearable:"",style:{width:"100%"},onChange:w=>C.handleValidationChange(h)},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(A.fieldValidators,(w,p)=>(vue.openBlock(),vue.createBlock(i,{key:p,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:1,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:C.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024)):vue.createCommentVNode("",!0),h.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:2,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=>C.handleSelectOptionsChange(h,w)},null,8,["modelValue","onUpdate:modelValue","onInput"]),m[6]||(m[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:3,label:"onMounted\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>C.editColumnEventHandler(h,"onMounted",["col","options","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),m[7]||(m[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:4,label:"\u4F9D\u8D56\u5217\uFF08\u8054\u52A8\uFF09"},{default:vue.withCtx(()=>[vue.createVNode(o,{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:C.handleColumnChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(w,p)=>(vue.openBlock(),vue.createBlock(i,{key:p,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"]),m[8]||(m[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:5,label:"\u8054\u52A8\u5904\u7406\u51FD\u6570"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:w=>C.editColumnEventHandler(h,"onDependChange",["targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),m[9]||(m[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=>C.editColumnEventHandler(h,"onChange",["col","value","formData","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(a.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),m[10]||(m[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:6,label:"\u884C\u6570"},{default:vue.withCtx(()=>[vue.createVNode(r,{modelValue:h.rows,"onUpdate:modelValue":w=>h.rows=w,min:1,max:10,onChange:C.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)):vue.createCommentVNode("",!0)])]))),128)),vue.createElementVNode("div",null,[vue.createVNode(d,{link:"",type:"primary",onClick:C.addNewColumn},{default:vue.withCtx(()=>[...m[11]||(m[11]=[vue.createTextVNode("\u6DFB\u52A0\u5217",-1)])]),_:1},8,["onClick"])])]),_:1})]),vue.createVNode(l,{modelValue:A.showColumnEventDialog,"onUpdate:modelValue":m[2]||(m[2]=h=>A.showColumnEventDialog=h),title:`\u7F16\u8F91\u4E8B\u4EF6\uFF1A${A.currentEventName}`,width:"1000px","append-to-body":"","close-on-click-modal":!1},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$2,[vue.createVNode(d,{onClick:m[1]||(m[1]=h=>A.showColumnEventDialog=!1)},{default:vue.withCtx(()=>[...m[12]||(m[12]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(d,{type:"primary",onClick:C.saveColumnEventHandler},{default:vue.withCtx(()=>[...m[13]||(m[13]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(n,{type:"info",closable:!1,title:A.eventHeader,style:{"margin-bottom":"10px"}},null,8,["title"]),vue.createVNode(s,{mode:"javascript",readonly:!1,modelValue:A.columnEventHandlerCode,"onUpdate:modelValue":m[0]||(m[0]=h=>A.columnEventHandlerCode=h),ref:"columnEventEditor"},null,8,["modelValue"])]),_:1},8,["modelValue","title"])],64)}var SubTableColumnsEditor=_export_sfc$1(_sfc_main$9,[["render",_sfc_render$9],["__scopeId","data-v-2d1b4989"]]);const _sfc_main$8={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:[]}},computed:{displayModel(){return this.currentUserType==="username"?this.fieldModel?this.fieldModel.username:"":this.currentUserType==="deptName"?this.fieldModel?this.fieldModel.deptName:"":this.currentUserType==="companyName"?this.fieldModel?this.fieldModel.companyName:"":JSON.stringify(this.fieldModel)},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}},currentUserType(){var a;return((a=this.field.options)==null?void 0:a.type)||"username"}},methods:{hasExistingValue(){var m;const a=(m=this.fieldModel)!=null?m:this.oldFieldValue;return a!=null&&a!==""},async getCurrentUser(){const{data:a}=await service$1({method:"get",url:"unified-system/employee/loginInfo?accessType=0"});this.fieldModel=a,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()},"field.options.type":{handler(a,m){m!==void 0&&this.getCurrentUser()},immediate:!1}},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.hasExistingValue()||this.getCurrentUser()}};function _sfc_render$8(a,m,e,g,A,C){const _=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:A.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(_,{modelValue:C.displayModel,"onUpdate:modelValue":m[0]||(m[0]=d=>C.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$8,[["render",_sfc_render$8]]),assetDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$7={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(a){this.visible=a,a&&(this.getTableData(),this.selectedRows=this.fieldValue&&Array.isArray(this.fieldValue)?lodash.exports.cloneDeep(this.fieldValue):[])}},assetTypeValue:{handler(a){this.disabled=!!a,a?this.form.assetType=a:this.form.assetType="all"},immediate:!0}},computed:{filterList(){const a=this.searchValue.toLocaleLowerCase();return this.selectedRows.filter(m=>m.labelName.toLocaleLowerCase().includes(a)||m.assetCode.toLocaleLowerCase().includes(a))}},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(a){if(this._handlingSelectionChange)return;const m=this.$refs.tableRef,e=Array.isArray(a)?a:[],g=e.map(A=>A.assetId);if(this.limit>0&&g.length>this.limit){const C=(Array.isArray(this._prevTableSelectionIds)?this._prevTableSelectionIds:[]).slice(0,this.limit);m&&typeof m.clearSelection=="function"&&typeof m.toggleRowSelection=="function"&&(this._handlingSelectionChange=!0,m.clearSelection(),e.forEach(_=>{C.includes(_.assetId)&&m.toggleRowSelection(_,!0)}),this._handlingSelectionChange=!1),this._prevTableSelectionIds=C;return}this._prevTableSelectionIds=g},getTableData(){service$1({method:"post",url:"/asset-business/overview/pageList",data:ht(ze({size:this.pageSize,current:this.currentPage,reqType:"disposal"},this.form),{assetType:this.form.assetType==="all"?"":this.form.assetType,systemStatusList:["2"]})}).then(({data:a})=>{const{records:m,total:e,current:g}=a;this.tableData=m.map(A=>{const d=A,{id:C}=d,_=ja(d,["id"]);return ht(ze({},_),{assetId:C})}),this.total=e,this.currentPage=g})},handleSizeChange(a){this.pageSize=a,this.getTableData()},handleCurrentChange(a){this.currentPage=a,this.getTableData()},handleAdd(){const a=this.$refs.tableRef,m=a&&typeof a.getSelectionRows=="function"?a.getSelectionRows():[];if(!m||m.length===0){this.$message.error("\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u8D44\u4EA7");return}const e=[...this.selectedRows,...m].reduce((g,A)=>(g.some(C=>C.assetId===A.assetId)||g.push(A),g),[]);if(this.limit&&e.length>this.limit){this.$message.error(`\u6700\u591A\u9009\u62E9 ${this.limit} \u4E2A\u8D44\u4EA7`);return}this.selectedRows=e},handleRemove(a){const m=this.selectedRows.findIndex(e=>e.assetId===a);m!==-1&&this.selectedRows.splice(m,1)},handleGetAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:a}})=>{this.assetTypeOptions=a.map(m=>({label:m.label,value:m.itemValue})),this.assetTypeOptions.unshift({label:"\u5168\u90E8",value:"all"})})},handleSearch(){this.currentPage=1,this.getTableData()}},created(){this.getTableData(),this.handleGetAssetTypeOptions()}},_hoisted_1$5={class:"asset-body-wrap"},_hoisted_2$3={class:"bottom-wrap"},_hoisted_3$2={class:"left-wrap"},_hoisted_4$1={class:"filter-wrap"},_hoisted_5$1={class:"right-wrap"},_hoisted_6$1={class:"asset-wrap-title"},_hoisted_7={class:"asset-wrap"},_hoisted_8={class:"asset-item-left"},_hoisted_9={class:"asset-item-right"},_hoisted_10={class:"dialog-footer"};function _sfc_render$7(a,m,e,g,A,C){const _=vue.resolveComponent("el-input"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-col"),u=vue.resolveComponent("el-option"),i=vue.resolveComponent("el-select"),o=vue.resolveComponent("el-button"),t=vue.resolveComponent("el-row"),r=vue.resolveComponent("el-form"),n=vue.resolveComponent("el-table-column"),s=vue.resolveComponent("el-table"),l=vue.resolveComponent("el-pagination"),h=vue.resolveComponent("DArrowRight"),f=vue.resolveComponent("el-icon"),w=vue.resolveComponent("Search"),p=vue.resolveComponent("Close"),y=vue.resolveComponent("el-scrollbar"),v=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(v,{modelValue:A.visible,"onUpdate:modelValue":m[6]||(m[6]=M=>A.visible=M),title:"\u8D44\u4EA7\u9009\u62E9",width:"1418px",onClose:C.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,[vue.createVNode(o,{onClick:C.handleClose,size:"default"},{default:vue.withCtx(()=>[...m[12]||(m[12]=[vue.createTextVNode(" \u53D6\u6D88 ",-1)])]),_:1},8,["onClick"]),vue.createVNode(o,{type:"primary",onClick:C.handleConfirm,size:"default"},{default:vue.withCtx(()=>[...m[13]||(m[13]=[vue.createTextVNode(" \u786E\u5B9A ",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$5,[vue.createElementVNode("div",_hoisted_2$3,[vue.createElementVNode("div",_hoisted_3$2,[vue.createElementVNode("div",_hoisted_4$1,[vue.createVNode(r,{model:A.form,ref:"formRef"},{default:vue.withCtx(()=>[vue.createVNode(t,{gutter:12},{default:vue.withCtx(()=>[vue.createVNode(d,{span:5},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(_,{maxlength:"50",modelValue:A.form.assetCode,"onUpdate:modelValue":m[0]||(m[0]=M=>A.form.assetCode=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...m[7]||(m[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(_,{maxlength:"50",modelValue:A.form.labelName,"onUpdate:modelValue":m[1]||(m[1]=M=>A.form.labelName=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...m[8]||(m[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(i,{disabled:A.disabled,modelValue:A.form.assetType,"onUpdate:modelValue":m[2]||(m[2]=M=>A.form.assetType=M),placeholder:"\u8BF7\u9009\u62E9",clearable:""},{prefix:vue.withCtx(()=>[...m[9]||(m[9]=[vue.createElementVNode("span",null,"\u8D44\u4EA7\u7C7B\u578B\uFF1A",-1)])]),default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(A.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(_,{maxlength:"50",modelValue:A.form.assetOwnerUnit,"onUpdate:modelValue":m[3]||(m[3]=M=>A.form.assetOwnerUnit=M),placeholder:"\u8BF7\u8F93\u5165",clearable:""},{prefix:vue.withCtx(()=>[...m[10]||(m[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(o,{type:"primary",onClick:C.handleSearch},{default:vue.withCtx(()=>[...m[11]||(m[11]=[vue.createTextVNode("\u641C\u7D22",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),vue.createVNode(s,{data:A.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(n,{type:"selection",width:"55"}),vue.createVNode(n,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801",width:"200"}),vue.createVNode(n,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0"}),vue.createVNode(n,{prop:"assetTypeName","header-align":"center",align:"center",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(n,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(n,{prop:"originalValue",label:"\u539F\u503C(\u4E07\u5143)",width:"120"},{default:vue.withCtx(({row:M})=>[vue.createTextVNode(vue.toDisplayString(M.originalValue),1)]),_:1}),vue.createVNode(n,{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:C.handleSizeChange,onCurrentChange:C.handleCurrentChange,"current-page":A.currentPage,layout:"total, sizes, prev, pager, next",size:"small",total:A.total},null,8,["onSizeChange","onCurrentChange","current-page","total"])]),vue.createElementVNode("div",{class:"center-wrap",onClick:m[4]||(m[4]=(...M)=>C.handleAdd&&C.handleAdd(...M))},[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(h)]),_:1})]),vue.createElementVNode("div",_hoisted_5$1,[vue.createElementVNode("div",_hoisted_6$1,[vue.createVNode(_,{modelValue:A.searchValue,"onUpdate:modelValue":m[5]||(m[5]=M=>A.searchValue=M),placeholder:"\u8BF7\u8F93\u5165\u8D44\u4EA7\u540D\u79F0\u6216\u8D44\u4EA7\u7F16\u7801\u641C\u7D22",clearable:""},{prefix:vue.withCtx(()=>[vue.createVNode(f,null,{default:vue.withCtx(()=>[vue.createVNode(w)]),_:1})]),_:1},8,["modelValue"])]),vue.createVNode(y,{class:"asset-wrap-scroll"},{default:vue.withCtx(()=>[vue.createElementVNode("ul",_hoisted_7,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(C.filterList,M=>(vue.openBlock(),vue.createElementBlock("li",{class:"asset-item",key:M.assetId},[vue.createElementVNode("div",_hoisted_8,[vue.createElementVNode("div",null,vue.toDisplayString(M.labelName),1),vue.createElementVNode("div",null,vue.toDisplayString(M.assetCode),1)]),vue.createElementVNode("div",_hoisted_9,[vue.createVNode(f,{onClick:D=>C.handleRemove(M.assetId)},{default:vue.withCtx(()=>[vue.createVNode(p)]),_:1},8,["onClick"])])]))),128))])]),_:1})])])])]),_:1},8,["modelValue","onClose"])}var AssetDialog=_export_sfc$1(_sfc_main$7,[["render",_sfc_render$7],["__scopeId","data-v-5cca3952"]]),index_vue_vue_type_style_index_0_lang$1="";const _sfc_main$6={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(a){this.fieldModel=a}},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(a,m){var d;if(!a)return!1;const e=m==null?"":String(m),g=this.getWidgetRef(a,!1);if((d=g==null?void 0:g.field)==null?void 0:d.options){g.field.options.label=e;const u=this.getFormRef();return u&&typeof u.$forceUpdate=="function"&&u.$forceUpdate(),!0}const A=this.getFormRef();if(!A||typeof A.getFormJson!="function"||typeof A.setFormJson!="function")return!1;const C=A.getFormJson();let _=!1;const b=u=>{!Array.isArray(u)||u.forEach(i=>{var o;if(!_){if(((o=i==null?void 0:i.options)==null?void 0:o.name)===a){i.options.label=e,_=!0;return}Array.isArray(i==null?void 0:i.widgetList)&&b(i.widgetList),Array.isArray(i==null?void 0:i.cols)&&i.cols.forEach(t=>b(t==null?void 0:t.widgetList)),Array.isArray(i==null?void 0:i.rows)&&i.rows.forEach(t=>Array.isArray(t==null?void 0:t.cols)&&t.cols.forEach(r=>b(r==null?void 0:r.widgetList))),Array.isArray(i==null?void 0:i.tabs)&&i.tabs.forEach(t=>b(t==null?void 0:t.widgetList))}})};return b(C==null?void 0:C.widgetList),_?(A.setFormJson(C),!0):!1},handleClick(){this.dialogVisible=!0},handleConfirm(a){this.dialogVisible=!1,this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null,this.fieldModel=a,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",a),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(a,...m){var g,A;const e=(A=(g=this.field)==null?void 0:g.options)==null?void 0:A[a];if(e)try{if(a==="onConfirm"&&m.length>0){const C=m[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,C,C,C)}else if(a==="onRemoveTag"&&m.length>=2){const C=m[0],_=m[1],b=m[2];new Function("removedItem","remainingNodes","remainingValue","selectedValue","removedIndex",e).call(this,C,_,_,_,b)}else if(m.length>0){const C=m.map((b,d)=>`arg${d}`).join(", ");new Function(C,e).apply(this,m)}else new Function(e).call(this)}catch(C){console.error(`Error executing ${a} handler:`,C),console.error("Handler code:",e),console.error("Args:",m)}},handleSearch(){this.$nextTick(()=>{this.applyTreeFilter()})}}},_hoisted_1$4={class:"asset-select-widget__trigger"};function _sfc_render$6(a,m,e,g,A,C){const _=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:A.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(C.widgetStyle)},[vue.createElementVNode("div",_hoisted_1$4,[vue.createVNode(_,{type:"primary",class:"asset-select-widget__button",plain:"",disabled:e.field.options.disabled,placeholder:"\u8BF7\u9009\u62E9\u8D44\u4EA7",onClick:C.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":A.dialogVisible,onClose:C.handleClose,onConfirm:C.handleConfirm,onCancel:C.handleCancel,limit:e.field.options.assetLimit,fieldValue:A.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$6,[["render",_sfc_render$6]]),detailDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$5={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(a){a||this.handleClose()}},currentRowData(){return this.data&&typeof this.data=="object"?this.data:{}},renderFormJson(){return this.formJson||this.defaultFormJson}},watch:{visible:{immediate:!0,handler(a){a?this.initFormData():this.formData={}}},disabled:{immediate:!0,handler(){this.$nextTick(()=>{this.syncFormDisabledStatus()})}}},methods:{resolveTypeJsonMap(){const a=this.typeJson;if(a==null||a==="")return{};if(typeof a=="string")try{return JSON.parse(a)}catch{return{}}return typeof a=="object"?a:{}},syncFormDisabledStatus(){const a=this.$refs.detailFormRender;!a||this.disabled&&typeof a.disableForm=="function"&&a.disableForm()},applyFormJsonToRender(a){this.formJson=a&&a.widgetList&&a.formConfig?a:lodash.exports.cloneDeep(this.defaultFormJson),this.$nextTick(()=>{const m=this.$refs.detailFormRender;m&&typeof m.setFormJson=="function"&&(m.setFormJson(lodash.exports.cloneDeep(this.formJson)),this.$nextTick(()=>{this.flushPendingColHiddenOps(),this.syncFormDisabledStatus()}))})},setColHidden(a,m){const e=Array.isArray(a)?a:[a];this.pendingColHiddenOps.push({names:e,hidden:m})},flushPendingColHiddenOps(){if(!this.pendingColHiddenOps.length)return;const a=this.$refs.detailFormRender;!a||typeof a.setColHidden!="function"||(this.pendingColHiddenOps.forEach(({names:m,hidden:e})=>{m.forEach(g=>a.setColHidden(g,e))}),this.pendingColHiddenOps=[])},initFormData(){this.showForm=!1,this.formData=lodash.exports.cloneDeep(this.currentRowData)||{};const a=this.typeJson;if(!a){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/${a}`}).then(({data:m})=>{if(!(m==null?void 0:m.formJson)){this.applyFormJsonToRender(null);return}let e;try{e=typeof m.formJson=="string"?JSON.parse(m.formJson):m.formJson,this.showForm=!0}catch(g){console.error(g),e=null}this.applyFormJsonToRender(e),this.showForm=!0}).catch(m=>{console.error(m),this.applyFormJsonToRender(null)})},async handleConfirm(){const a=this.$refs.detailFormRender;if(!!a)try{const m=await a.getFormData(!0);console.log(m,"formValues"),this.$emit("confirm",m),this.dialogVisible=!1}catch(m){this.$message.error(m),console.error(m)}},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$3={class:"asset-body-wrap"},_hoisted_2$2={key:0},_hoisted_3$1={class:"dialog-footer"};function _sfc_render$5(a,m,e,g,A,C){const _=vue.resolveComponent("v-form-render"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(d,{modelValue:C.dialogVisible,"onUpdate:modelValue":m[0]||(m[0]=u=>C.dialogVisible=u),title:"\u5904\u7F6E\u8BE6\u60C5",width:"1200px",onClose:C.handleClose,"close-on-click-modal":!1,draggable:""},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$1,[vue.createVNode(b,{onClick:C.handleClose},{default:vue.withCtx(()=>[...m[1]||(m[1]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1},8,["onClick"]),e.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(b,{key:0,type:"primary",onClick:C.handleConfirm},{default:vue.withCtx(()=>[...m[2]||(m[2]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"]))])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$3,[A.showForm?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$2,[vue.createVNode(_,{ref:"detailFormRender","form-json":C.renderFormJson,"form-data":A.formData},null,8,["form-json","form-data"])])):vue.createCommentVNode("",!0)])]),_:1},8,["modelValue","onClose"])}var DetailDialog=_export_sfc$1(_sfc_main$5,[["render",_sfc_render$5],["__scopeId","data-v-3a7f7afa"]]),index_vue_vue_type_style_index_0_lang="";const _sfc_main$4={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(a){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(a){const m=this.fieldModel.findIndex(e=>e.assetId===a.assetId);m!==-1&&(this.fieldModel[m]=ze(ze({},this.fieldModel[m]),a))},triggerEvent(a,...m){var g,A;const e=(A=(g=this.field)==null?void 0:g.options)==null?void 0:A[a];if(e)try{if(a==="onOpen"&&m.length>0){const C=m[0];new Function("rowData",e).call(this,C)}else if(a==="onChange"){const C=m[0],_=m[1];if(this.subFormItemFlag){const b=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,C,_,b,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,C,_)}else if(m.length>0){const C=m.map((b,d)=>`arg${d}`).join(", ");new Function(C,e).apply(this,m)}else new Function(e).call(this)}catch(C){console.error(`Error executing ${a} handler:`,C),console.error("Handler code:",e),console.error("Args:",m)}},handleRow(a){const m=this.fieldModel.findIndex(e=>e.assetId===a.assetId);m!==-1&&(this.triggerEvent("onOpen",this.fieldModel[m]),this.detailDialogVisible=!0,this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[m]))},setDetailColHidden(a,m){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(a,m)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(a){const m=this.fieldModel.findIndex(g=>g.assetId===this.detailDialogData.assetId);if(m===-1)return;const e=lodash.exports.cloneDeep(this.fieldModel);this.fieldModel[m]=ht(ze(ze({},this.fieldModel[m]),a),{isUpdate:!0}),this.triggerEvent("onChange",this.fieldModel,e)}}},_hoisted_1$2={key:1};function _sfc_render$4(a,m,e,g,A,C){const _=vue.resolveComponent("el-table-column"),b=vue.resolveComponent("el-text"),d=vue.resolveComponent("el-table"),u=vue.resolveComponent("detail-dialog"),i=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(i,{designer:e.designer,field:e.field,rules:A.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(a.widgetStyle)},[vue.createVNode(d,{data:A.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(_,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801"}),vue.createVNode(_,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0",align:"left"},{default:vue.withCtx(({row:o})=>[e.field.options.clickRow?(vue.openBlock(),vue.createBlock(b,{key:0,class:"click-text",type:"primary",onClick:t=>C.handleRow(o)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(o.labelName),1)]),_:2},1032,["onClick"])):(vue.openBlock(),vue.createElementBlock("span",_hoisted_1$2,vue.toDisplayString(o.labelName),1))]),_:1}),vue.createVNode(_,{prop:"assetTypeName",align:"center",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(_,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(_,{prop:"originalValue",label:"\u539F\u503C(\u4E07\u5143)"},{default:vue.withCtx(({row:o})=>[vue.createTextVNode(vue.toDisplayString(o.originalValue),1)]),_:1}),vue.createVNode(_,{prop:"netValue",label:"\u51C0\u503C(\u4E07\u5143)"},{default:vue.withCtx(({row:o})=>[vue.createTextVNode(vue.toDisplayString(o.netValue),1)]),_:1}),C.handleShowIsUpdate()?(vue.openBlock(),vue.createBlock(_,{key:0,prop:"isUpdate",align:"center","header-align":"center",label:"\u662F\u5426\u5DF2\u5B8C\u6210\u586B\u5199"},{default:vue.withCtx(({row:o})=>[vue.createTextVNode(vue.toDisplayString(o.isUpdate?"\u662F":"\u5426"),1)]),_:1})):vue.createCommentVNode("",!0)]),_:1},8,["data"])],4),vue.createVNode(u,{ref:"detailDialogRef",visible:A.detailDialogVisible,typeJson:e.field.options.typeJson,data:A.detailDialogData,onClose:C.handleCloseDetailDialog,onConfirm:C.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$4,[["render",_sfc_render$4]]),index_vue_vue_type_style_index_0_scoped_true_lang$1="";const _sfc_main$3={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:[{label1:"\u516C\u53F81",label2:[{fileName:"1111.png"},{fileName:"1111.png"}]},{label1:"\u516C\u53F81",label2:[{fileName:"1111.png"}]},{label1:"\u516C\u53F81",label2:[{fileName:"1111.png"}]},{label1:"\u516C\u53F82",label2:[]}],oldFieldValue:null,rules:[],detailDialogData:null}},computed:{},watch:{"field.options.required"(){this.buildFieldRules()},"field.options.validation"(){this.buildFieldRules()},"field.options.onValidate"(){this.buildFieldRules()},fieldModel:{handler(a){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:a}){var m;return!a.label2||((m=a.label2)==null?void 0:m.length)===0?"no-attachment-row":""},getFileIcon(a){const m=a==null?void 0:a.substring((a==null?void 0:a.lastIndexOf("."))+1).toLowerCase();return m?new URL({"../../assets/image/fileType/7z.png":__glob_5_0,"../../assets/image/fileType/bmp.png":__glob_5_1,"../../assets/image/fileType/default.png":__glob_5_2,"../../assets/image/fileType/doc.png":__glob_5_3,"../../assets/image/fileType/docx.png":__glob_5_4,"../../assets/image/fileType/dot.png":__glob_5_5,"../../assets/image/fileType/et.png":__glob_5_6,"../../assets/image/fileType/ett.png":__glob_5_7,"../../assets/image/fileType/jpeg.png":__glob_5_8,"../../assets/image/fileType/jpg.png":__glob_5_9,"../../assets/image/fileType/mp3.png":__glob_5_10,"../../assets/image/fileType/mp4.png":__glob_5_11,"../../assets/image/fileType/ofd.png":__glob_5_12,"../../assets/image/fileType/pdf.png":__glob_5_13,"../../assets/image/fileType/png.png":__glob_5_14,"../../assets/image/fileType/ppt.png":__glob_5_15,"../../assets/image/fileType/pptx.png":__glob_5_16,"../../assets/image/fileType/rar.png":__glob_5_17,"../../assets/image/fileType/tar.png":__glob_5_18,"../../assets/image/fileType/txt.png":__glob_5_19,"../../assets/image/fileType/wav.png":__glob_5_20,"../../assets/image/fileType/wps.png":__glob_5_21,"../../assets/image/fileType/wpt.png":__glob_5_22,"../../assets/image/fileType/xls.png":__glob_5_23,"../../assets/image/fileType/xlsx.png":__glob_5_24,"../../assets/image/fileType/xlt.png":__glob_5_25,"../../assets/image/fileType/zip.png":__glob_5_26}[`../../assets/image/fileType/${m}.png`],self.location):defaultIcon},isZip(a){const m=a.substring(a.lastIndexOf(".")+1).toLowerCase();return m==="zip"||m==="rar"||m==="7z"||m==="tar"},async handlePreview(a){console.log(a,"file");try{const{response:m,fileId:e}=a;if(m){const{data:g}=m;if(!g.fileId)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:A}=await service({method:"get",url:"unified-file/sys-file/kkfile-url",params:{fileId:g.fileId}});window.open(A)}else{if(!e)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:g}=await service({method:"get",url:"unified-file/sys-file/kkfile-url",params:{fileId:e}});window.open(g)}}catch(m){console.error(m)}},async handleDownload(a){const{response:m,fileId:e,fileName:g,name:A}=a;if(m){const{data:C}=m;if(!C.fileId)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:_}=await service({method:"post",url:"unified-file/sys-file/download",params:{fileId:C.fileId},responseType:"blob"});downloadMethod(_,C.fileName)}else{if(!e)throw new Error("\u6587\u4EF6ID\u4E0D\u80FD\u4E3A\u7A7A");const{data:C}=await service({method:"post",url:"unified-file/sys-file/download",params:{fileId:e},responseType:"blob"});downloadMethod(C,A||g)}},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},triggerEvent(a,...m){var g,A;const e=(A=(g=this.field)==null?void 0:g.options)==null?void 0:A[a];if(e)try{if(a==="onOpen"&&m.length>0){const C=m[0];new Function("rowData",e).call(this,C)}else if(a==="onChange"){const C=m[0],_=m[1];if(this.subFormItemFlag){const b=this.formModel[this.subFormName]||[];new Function("value","oldValue","subFormData","rowId","sfrIdx",e).call(this,C,_,b,this.subFormRowId,this.subFormRowIndex)}else new Function("value","oldValue",e).call(this,C,_)}else if(m.length>0){const C=m.map((b,d)=>`arg${d}`).join(", ");new Function(C,e).apply(this,m)}else new Function(e).call(this)}catch(C){console.error(`Error executing ${a} handler:`,C),console.error("Handler code:",e),console.error("Args:",m)}},setDetailColHidden(a,m){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(a,m)})}}},_hoisted_1$1={class:"left-wrap"},_hoisted_2$1=["src"],_hoisted_3=["title"],_hoisted_4={class:"right-wrap"},_hoisted_5=["onClick"],_hoisted_6=["onClick"];function _sfc_render$3(a,m,e,g,A,C){const _=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:A.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(a.widgetStyle)},[vue.createVNode(b,{data:A.fieldModel,"max-height":"500px","header-row-class-name":"headerRowClassName","header-cell-class-name":"headerCellClassName",stripe:"",style:{width:"100%"},"row-key":"id",ref:"tableRef","row-class-name":C.tableRowClassName},{default:vue.withCtx(()=>[vue.createVNode(_,{prop:"label1",label:"\u516C\u53F8\u540D\u79F0"}),vue.createVNode(_,{prop:"label2",label:"\u9644\u4EF6",align:"left"},{default:vue.withCtx(({row:u})=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(u.label2,(i,o)=>(vue.openBlock(),vue.createElementBlock("div",{class:"upload-file-list",key:o},[vue.createElementVNode("div",_hoisted_1$1,[vue.createElementVNode("img",{src:C.getFileIcon(u.name||u.fileName),alt:"",style:{width:"18px",height:"18px","margin-right":"8px"}},null,8,_hoisted_2$1),vue.createElementVNode("div",{class:"upload-file-name",title:i.name||i.fileName},vue.toDisplayString(i.name||i.fileName),9,_hoisted_3)]),vue.createElementVNode("div",_hoisted_4,[C.isZip(i.fileName)?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",{key:0,onClick:vue.withModifiers(t=>C.handlePreview(i),["stop"]),class:"pr-8px color-primary cursor-pointer file-action-right"}," \u9884\u89C8 ",8,_hoisted_5)),vue.createElementVNode("div",{onClick:vue.withModifiers(t=>C.handleDownload(i),["stop"]),class:"pr-8px color-primary cursor-pointer file-action-right"}," \u4E0B\u8F7D ",8,_hoisted_6)])]))),128))]),_: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$3,[["render",_sfc_render$3],["__scopeId","data-v-7a37c536"]]);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,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM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iBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=",index_vue_vue_type_style_index_0_scoped_true_lang="";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$2={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(a){this.fieldModel=a,this.syncUpdateFormModel(a)},immediate:!0}},methods:{getAssetTypeImage(a,m){const e=AssetTypeEnum[a];if(!e)return"";const g=m==="selected"?`${e}-active`:`${e}`;return assetTypeImageMap[g]||""},getAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:a}})=>{this.assetTypeOptions=a.map(m=>({label:m.label,value:m.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$2(a,m,e,g,A,C){const _=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(_,{designer:e.designer,field:e.field,rules:A.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(a.widgetStyle)},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(A.assetTypeOptions,b=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["asset-type-item",{selected:A.fieldModel===b.value}]),key:b.value},[b.value!=="all"?(vue.openBlock(),vue.createElementBlock("img",{key:0,src:C.getAssetTypeImage(b.value,A.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$2,[["render",_sfc_render$2],["__scopeId","data-v-7351af35"]]);const _sfc_main$1={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 a,m;return(m=(a=this.fieldModel)==null?void 0:a.companyName)!=null?m:""},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}}},methods:{hasExistingValue(){var m;const a=(m=this.fieldModel)!=null?m:this.oldFieldValue;return a==null||a===""?!1:typeof a=="object"?!!(a.companyName||a.id||a.companyId):!0},tryLoadCurrentUserSecondCompany(){console.log(this.designState,this.hasExistingValue(),"222222222"),!(this.designState||this.hasExistingValue())&&this.getCurrentUserSecondCompany()},async getCurrentUserSecondCompany(){if(this.hasExistingValue())return;const{data:a}=await service$1({method:"get",url:"unified-system/sysCompany/targetCompany",params:{id:sessionStorage.getItem("companyId")}});this.hasExistingValue()||(this.fieldModel=a,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$1(a,m,e,g,A,C){const _=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:A.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(_,{modelValue:C.displayModel,"onUpdate:modelValue":m[0]||(m[0]=d=>C.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$1,[["render",_sfc_render$1]]);const _sfc_main={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 m;const a=(m=this.fieldModel)!=null?m:this.oldFieldValue;return a!=null&&a!==""}}};function _sfc_render(a,m,e,g,A,C){const _=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:A.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:A.fieldModel,"onUpdate:modelValue":m[0]||(m[0]=i=>A.fieldModel=i),disabled:a.getDisabled(),readonly:e.field.options.readonly,size:a.widgetSize,class:"hide-spin-button",type:C.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:a.handleFocusCustomEvent,onBlur:a.handleBlurCustomEvent,onInput:a.handleInputCustomEvent,onChange:a.handleChangeEvent},vue.createSlots({_:2},[e.field.options.appendButton?{name:"append",fn:vue.withCtx(()=>[vue.createVNode(b,{disabled:a.getDisabled()||e.field.options.appendButtonDisabled,onClick:a.emitAppendButtonClick},{default:vue.withCtx(()=>[vue.createVNode(_,{"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,[["render",_sfc_render]]);const loadExtension=function(a){a.component(CardWidget.name,CardWidget),a.component(CardItem.name,CardItem),registerCPEditor(a,"card-folded","card-folded-editor",createBooleanEditor("folded","extension.setting.cardFolded")),registerCPEditor(a,"card-showFold","card-showFold-editor",createBooleanEditor("showFold","extension.setting.cardShowFold")),registerCPEditor(a,"card-cardWidth","card-cardWidth-editor",createInputTextEditor("cardWidth","extension.setting.cardWidth")),registerCPEditor(a,"card-shadow","card-shadow-editor",createSelectEditor("shadow","extension.setting.cardShadow",{optionItems:[{label:"never",value:"never"},{label:"hover",value:"hover"},{label:"always",value:"always"}]})),registerCPEditor(a,"mainTip","mainTip-editor",createInputTextEditor("mainTip","designer.setting.mainTip")),registerCPEditor(a,"subTip","subTip-editor",createInputTextEditor("subTip","designer.setting.subTip")),a.component(AlertWidget.name,AlertWidget),registerCPEditor(a,"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"}];a.component("alert-type-editor",createSelectEditor("type","extension.setting.alertType",{optionItems:e})),registerCPEditor(a,"alert-description","alert-description-editor",createInputTextEditor("description","extension.setting.description")),registerCPEditor(a,"alert-closable","alert-closable-editor",createBooleanEditor("closable","extension.setting.closable")),registerCPEditor(a,"alert-closeText","alert-closeText-editor",createInputTextEditor("closeText","extension.setting.closeText")),registerCPEditor(a,"alert-center","alert-center-editor",createBooleanEditor("center","extension.setting.center")),registerCPEditor(a,"alert-showIcon","alert-showIcon-editor",createBooleanEditor("showIcon","extension.setting.showIcon")),registerCPEditor(a,"alert-effect","alert-effect-editor",createRadioButtonGroupEditor("effect","extension.setting.effect",{optionItems:[{label:"light",value:"light"},{label:"dark",value:"dark"}]})),registerEPEditor(a,"alert-onClose","alert-onClose-editor",createEventHandlerEditor("onClose",[])),a.component(PersonTreeWidget.name,PersonTreeWidget),registerCPEditor(a,"person-tree-buttonText","person-tree-buttonText-editor",createInputTextEditor("buttonText","extension.setting.personTreeButtonText")),registerCPEditor(a,"person-tree-dialogTitle","person-tree-dialogTitle-editor",createInputTextEditor("dialogTitle","extension.setting.personTreeDialogTitle")),registerCPEditor(a,"person-tree-treeParams","person-tree-treeParams-editor",createTextareaEditor("treeParams","extension.setting.personTreeTreeParams",{rows:4})),registerAPEditor(a,"person-tree-dialogWidth","person-tree-dialogWidth-editor",createInputTextEditor("dialogWidth","extension.setting.personTreeDialogWidth")),registerCPEditor(a,"person-tree-confirmText","person-tree-confirmText-editor",createInputTextEditor("confirmText","extension.setting.personTreeConfirmText")),registerCPEditor(a,"person-tree-cancelText","person-tree-cancelText-editor",createInputTextEditor("cancelText","extension.setting.personTreeCancelText")),registerCPEditor(a,"person-tree-hideFooter","person-tree-hideFooter-editor",createBooleanEditor("hideFooter","extension.setting.personTreeHideFooter")),registerEPEditor(a,"person-tree-onOpen","person-tree-onOpen-editor",createEventHandlerEditor("onOpen",[])),registerEPEditor(a,"person-tree-onConfirm","person-tree-onConfirm-editor",createEventHandlerEditor("onConfirm",["checkedNodes"])),registerEPEditor(a,"person-tree-onRemoveTag","person-tree-onRemoveTag-editor",createEventHandlerEditor("onRemoveTag",["removedItem","remainingNodes","removedIndex"])),registerEPEditor(a,"person-tree-onCancel","person-tree-onCancel-editor",createEventHandlerEditor("onCancel",[])),registerEPEditor(a,"person-tree-onClose","person-tree-onClose-editor",createEventHandlerEditor("onClose",[])),a.component(radioOtherItem.name,radioOtherItem),a.component(selectOtherItem.name,selectOtherItem),a.component(meetingRoomItem.name,meetingRoomItem),registerCPEditor(a,"meeting-room-remoteUrl","meeting-room-remoteUrl-editor",createInputTextEditor("remoteUrl","extension.setting.meetingRoomRemoteUrl")),registerCPEditor(a,"meeting-room-allowMultiple","meeting-room-allowMultiple-editor",createBooleanEditor("allowMultiple","extension.setting.allowMultiple")),a.component(CustomSubFormWidget.name,CustomSubFormWidget),a.component(CustomSubFormItem.name,CustomSubFormItem),a.component(CustomTableWidget.name,CustomTableWidget),a.component(CustomTableItem.name,CustomTableItem),a.component(CustomTableCellWidget.name,CustomTableCellWidget),a.component(CustomTableCellItem.name,CustomTableCellItem),a.component(SubTableWidget.name,SubTableWidget),a.component(SubTableItem.name,SubTableItem),a.component("sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(a,"sub-table-columns","sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(a,"select-tree-showCheckbox","select-tree-showCheckbox-editor",createBooleanEditor("showCheckbox","designer.setting.showCheckbox")),registerCPEditor(a,"select-tree-checkStrictly","select-tree-checkStrictly-editor",createBooleanEditor("checkStrictly","extension.setting.selectTreeCheckStrictly")),a.component(CurrentUserWidget.name,CurrentUserWidget),registerCPEditor(a,"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"}]})),a.component(CurrentUserSecondCompanyWidget.name,CurrentUserSecondCompanyWidget),a.component(AssetSelectWidget.name,AssetSelectWidget),registerCPEditor(a,"asset-select-buttonText","asset-select-buttonText-editor",createInputTextEditor("buttonText","extension.setting.assetSelectButtonText")),registerCPEditor(a,"asset-select-typeJson","asset-select-typeJson-editor",createTextareaEditor("typeJson","extension.setting.assetSelectTypeJson",{rows:4})),registerCPEditor(a,"asset-select-assetTypeValue","asset-select-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetSelectAssetTypeValue")),registerCPEditor(a,"asset-select-assetLimit","asset-select-assetLimit-editor",createInputNumberEditor("assetLimit","extension.setting.assetSelectAssetLimit")),a.component(AssetTableWidget.name,AssetTableWidget),registerCPEditor(a,"asset-table-typeJson","asset-table-typeJson-editor",createInputTextEditor("typeJson","extension.setting.assetTableTypeJson")),registerCPEditor(a,"asset-table-clickRow","asset-table-clickRow-editor",createBooleanEditor("clickRow","extension.setting.assetTableClickRow")),registerEPEditor(a,"asset-table-onOpen","asset-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"])),a.component(ResolutionTableWidget.name,ResolutionTableWidget),a.component(AssetTypeWidget.name,AssetTypeWidget),registerCPEditor(a,"asset-type-assetTypeValue","asset-type-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetTypeAssetTypeValue")),a.component(CustomInputWidget.name,CustomInputWidget)};function getElMessage(a){var m,e,g;try{if((e=(m=a==null?void 0:a.config)==null?void 0:m.globalProperties)==null?void 0:e.$message)return a.config.globalProperties.$message;if(typeof window!="undefined"&&window.ElementPlus)return window.ElementPlus.ElMessage||((g=window.ElementPlus.default)==null?void 0:g.ElMessage)||null}catch{}return null}VFormRender.install=function(a){loadExtension(a),a.use(ContainerItems),registerIcon(a),a.component(VFormRender.name,VFormRender),a.config.globalProperties.$service=service$1,a.provide("service",service$1),a.provide("ElMessage",getElMessage(a))};const components=[VFormRender],install=a=>{loadExtension(a),a.use(ContainerItems),registerIcon(a),components.forEach(m=>{a.component(m.name,m)}),a.config.globalProperties.$service=service$1,a.provide("service",service$1),window.axios=axios,typeof window!="undefined"&&(window.service=service$1)};var installRender={install,VFormRender};return installRender});