form-custom-test 3.0.101 → 3.0.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/designer.es.js +38 -8
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +61 -61
- package/dist/render.es.js +38 -8
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +2 -2
- package/package.json +1 -1
package/dist/render.umd.js
CHANGED
|
@@ -72,7 +72,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
72
72
|
`)){var pe=oe.offsetHeight+parseFloat(U(oe).marginTop)+parseFloat(U(oe).marginBottom);oe.nextElementSibling.offsetTop>oe.offsetTop+pe*1.5&&le.insert(`
|
|
73
73
|
`)}return le}function Oe(oe,le){var pe={},fe=oe.style||{};return fe.fontStyle&&U(oe).fontStyle==="italic"&&(pe.italic=!0),fe.fontWeight&&(U(oe).fontWeight.startsWith("bold")||parseInt(U(oe).fontWeight)>=700)&&(pe.bold=!0),Object.keys(pe).length>0&&(le=V(le,pe)),parseFloat(fe.textIndent||0)>0&&(le=new o.default().insert(" ").concat(le)),le}function Ie(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(!U(oe.parentNode).whiteSpace.startsWith("pre")){var fe=function(Ce,ke){return ke=ke.replace(/[^\u00a0]/g,""),ke.length<1&&Ce?" ":ke};pe=pe.replace(/\r\n/g," ").replace(/\n/g," "),pe=pe.replace(/\s\s+/g,fe.bind(fe,!0)),(oe.previousSibling==null&&j(oe.parentNode)||oe.previousSibling!=null&&j(oe.previousSibling))&&(pe=pe.replace(/^\s+/,fe.bind(fe,!1))),(oe.nextSibling==null&&j(oe.parentNode)||oe.nextSibling!=null&&j(oe.nextSibling))&&(pe=pe.replace(/\s+$/,fe.bind(fe,!1)))}return le.insert(pe)}p.default=H,p.matchAttributor=J,p.matchBlot=te,p.matchNewline=ve,p.matchSpacing=we,p.matchText=Ie},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=function(){function n(s,a){for(var h=0;h<a.length;h++){var f=a[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(s,f.key,f)}}return function(s,a,h){return a&&n(s.prototype,a),h&&n(s,h),s}}(),E=function n(s,a,h){s===null&&(s=Function.prototype);var f=Object.getOwnPropertyDescriptor(s,a);if(f===void 0){var C=Object.getPrototypeOf(s);return C===null?void 0:n(C,a,h)}else{if("value"in f)return f.value;var g=f.get;return g===void 0?void 0:g.call(h)}},b=_(6),d=c(b);function c(n){return n&&n.__esModule?n:{default:n}}function r(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 i=function(n){t(s,n);function s(){return r(this,s),o(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return x(s,[{key:"optimize",value:function(h){E(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 E(s.__proto__||Object.getPrototypeOf(s),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),s}(d.default);i.blotName="bold",i.tagName=["STRONG","B"],p.default=i},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0}),p.addControls=p.default=void 0;var x=function(){function I(L,T){var M=[],S=!0,N=!1,B=void 0;try{for(var P=L[Symbol.iterator](),z;!(S=(z=P.next()).done)&&(M.push(z.value),!(T&&M.length===T));S=!0);}catch($){N=!0,B=$}finally{try{!S&&P.return&&P.return()}finally{if(N)throw B}}return M}return function(L,T){if(Array.isArray(L))return L;if(Symbol.iterator in Object(L))return I(L,T);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E=function(){function I(L,T){for(var M=0;M<T.length;M++){var S=T[M];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(L,S.key,S)}}return function(L,T,M){return T&&I(L.prototype,T),M&&I(L,M),L}}(),b=_(2),d=h(b),c=_(0),r=h(c),o=_(5),t=h(o),i=_(10),n=h(i),s=_(9),a=h(s);function h(I){return I&&I.__esModule?I:{default:I}}function f(I,L,T){return L in I?Object.defineProperty(I,L,{value:T,enumerable:!0,configurable:!0,writable:!0}):I[L]=T,I}function C(I,L){if(!(I instanceof L))throw new TypeError("Cannot call a class as a function")}function g(I,L){if(!I)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L&&(typeof L=="object"||typeof L=="function")?L:I}function v(I,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof L);I.prototype=Object.create(L&&L.prototype,{constructor:{value:I,enumerable:!1,writable:!0,configurable:!0}}),L&&(Object.setPrototypeOf?Object.setPrototypeOf(I,L):I.__proto__=L)}var m=(0,n.default)("quill:toolbar"),A=function(I){v(L,I);function L(T,M){C(this,L);var S=g(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,T,M));if(Array.isArray(S.options.container)){var N=document.createElement("div");D(N,S.options.container),T.container.parentNode.insertBefore(N,T.container),S.container=N}else typeof S.options.container=="string"?S.container=document.querySelector(S.options.container):S.container=S.options.container;if(!(S.container instanceof HTMLElement)){var B;return B=m.error("Container required for toolbar",S.options),g(S,B)}return S.container.classList.add("ql-toolbar"),S.controls=[],S.handlers={},Object.keys(S.options.handlers).forEach(function(P){S.addHandler(P,S.options.handlers[P])}),[].forEach.call(S.container.querySelectorAll("button, select"),function(P){S.attach(P)}),S.quill.on(t.default.events.EDITOR_CHANGE,function(P,z){P===t.default.events.SELECTION_CHANGE&&S.update(z)}),S.quill.on(t.default.events.SCROLL_OPTIMIZE,function(){var P=S.quill.selection.getRange(),z=x(P,1),$=z[0];S.update($)}),S}return E(L,[{key:"addHandler",value:function(M,S){this.handlers[M]=S}},{key:"attach",value:function(M){var S=this,N=[].find.call(M.classList,function(P){return P.indexOf("ql-")===0});if(!!N){if(N=N.slice("ql-".length),M.tagName==="BUTTON"&&M.setAttribute("type","button"),this.handlers[N]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[N]==null){m.warn("ignoring attaching to disabled format",N,M);return}if(r.default.query(N)==null){m.warn("ignoring attaching to nonexistent format",N,M);return}}var B=M.tagName==="SELECT"?"change":"click";M.addEventListener(B,function(P){var z=void 0;if(M.tagName==="SELECT"){if(M.selectedIndex<0)return;var $=M.options[M.selectedIndex];$.hasAttribute("selected")?z=!1:z=$.value||!1}else M.classList.contains("ql-active")?z=!1:z=M.value||!M.hasAttribute("value"),P.preventDefault();S.quill.focus();var O=S.quill.selection.getRange(),H=x(O,1),V=H[0];if(S.handlers[N]!=null)S.handlers[N].call(S,z);else if(r.default.query(N).prototype instanceof r.default.Embed){if(z=prompt("Enter "+N),!z)return;S.quill.updateContents(new d.default().retain(V.index).delete(V.length).insert(f({},N,z)),t.default.sources.USER)}else S.quill.format(N,z,t.default.sources.USER);S.update(V)}),this.controls.push([N,M])}}},{key:"update",value:function(M){var S=M==null?{}:this.quill.getFormat(M);this.controls.forEach(function(N){var B=x(N,2),P=B[0],z=B[1];if(z.tagName==="SELECT"){var $=void 0;if(M==null)$=null;else if(S[P]==null)$=z.querySelector("option[selected]");else if(!Array.isArray(S[P])){var O=S[P];typeof O=="string"&&(O=O.replace(/\"/g,'\\"')),$=z.querySelector('option[value="'+O+'"]')}$==null?(z.value="",z.selectedIndex=-1):$.selected=!0}else if(M==null)z.classList.remove("ql-active");else if(z.hasAttribute("value")){var H=S[P]===z.getAttribute("value")||S[P]!=null&&S[P].toString()===z.getAttribute("value")||S[P]==null&&!z.getAttribute("value");z.classList.toggle("ql-active",H)}else z.classList.toggle("ql-active",S[P]!=null)})}}]),L}(a.default);A.DEFAULTS={};function F(I,L,T){var M=document.createElement("button");M.setAttribute("type","button"),M.classList.add("ql-"+L),T!=null&&(M.value=T),I.appendChild(M)}function D(I,L){Array.isArray(L[0])||(L=[L]),L.forEach(function(T){var M=document.createElement("span");M.classList.add("ql-formats"),T.forEach(function(S){if(typeof S=="string")F(M,S);else{var N=Object.keys(S)[0],B=S[N];Array.isArray(B)?k(M,N,B):F(M,N,B)}}),I.appendChild(M)})}function k(I,L,T){var M=document.createElement("select");M.classList.add("ql-"+L),T.forEach(function(S){var N=document.createElement("option");S!==!1?N.setAttribute("value",S):N.setAttribute("selected","selected"),M.appendChild(N)}),I.appendChild(M)}A.DEFAULTS={container:null,handlers:{clean:function(){var L=this,T=this.quill.getSelection();if(T!=null)if(T.length==0){var M=this.quill.getFormat();Object.keys(M).forEach(function(S){r.default.query(S,r.default.Scope.INLINE)!=null&&L.quill.format(S,!1)})}else this.quill.removeFormat(T,t.default.sources.USER)},direction:function(L){var T=this.quill.getFormat().align;L==="rtl"&&T==null?this.quill.format("align","right",t.default.sources.USER):!L&&T==="right"&&this.quill.format("align",!1,t.default.sources.USER),this.quill.format("direction",L,t.default.sources.USER)},indent:function(L){var T=this.quill.getSelection(),M=this.quill.getFormat(T),S=parseInt(M.indent||0);if(L==="+1"||L==="-1"){var N=L==="+1"?1:-1;M.direction==="rtl"&&(N*=-1),this.quill.format("indent",S+N,t.default.sources.USER)}},link:function(L){L===!0&&(L=prompt("Enter link URL:")),this.quill.format("link",L,t.default.sources.USER)},list:function(L){var T=this.quill.getSelection(),M=this.quill.getFormat(T);L==="check"?M.list==="checked"||M.list==="unchecked"?this.quill.format("list",!1,t.default.sources.USER):this.quill.format("list","unchecked",t.default.sources.USER):this.quill.format("list",L,t.default.sources.USER)}}},p.default=A,p.addControls=D},function(e,p){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,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=function(){function n(s,a){for(var h=0;h<a.length;h++){var f=a[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(s,f.key,f)}}return function(s,a,h){return a&&n(s.prototype,a),h&&n(s,h),s}}(),E=function n(s,a,h){s===null&&(s=Function.prototype);var f=Object.getOwnPropertyDescriptor(s,a);if(f===void 0){var C=Object.getPrototypeOf(s);return C===null?void 0:n(C,a,h)}else{if("value"in f)return f.value;var g=f.get;return g===void 0?void 0:g.call(h)}},b=_(28),d=c(b);function c(n){return n&&n.__esModule?n:{default:n}}function r(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 i=function(n){t(s,n);function s(a,h){r(this,s);var f=o(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,a));return f.label.innerHTML=h,f.container.classList.add("ql-color-picker"),[].slice.call(f.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(C){C.classList.add("ql-primary")}),f}return x(s,[{key:"buildItem",value:function(h){var f=E(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){E(s.prototype.__proto__||Object.getPrototypeOf(s.prototype),"selectItem",this).call(this,h,f);var C=this.label.querySelector(".ql-color-label"),g=h&&h.getAttribute("data-value")||"";C&&(C.tagName==="line"?C.style.stroke=g:C.style.fill=g)}}]),s}(d.default);p.default=i},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=function(){function n(s,a){for(var h=0;h<a.length;h++){var f=a[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(s,f.key,f)}}return function(s,a,h){return a&&n(s.prototype,a),h&&n(s,h),s}}(),E=function n(s,a,h){s===null&&(s=Function.prototype);var f=Object.getOwnPropertyDescriptor(s,a);if(f===void 0){var C=Object.getPrototypeOf(s);return C===null?void 0:n(C,a,h)}else{if("value"in f)return f.value;var g=f.get;return g===void 0?void 0:g.call(h)}},b=_(28),d=c(b);function c(n){return n&&n.__esModule?n:{default:n}}function r(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 i=function(n){t(s,n);function s(a,h){r(this,s);var f=o(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,a));return f.container.classList.add("ql-icon-picker"),[].forEach.call(f.container.querySelectorAll(".ql-picker-item"),function(C){C.innerHTML=h[C.getAttribute("data-value")||""]}),f.defaultItem=f.container.querySelector(".ql-selected"),f.selectItem(f.defaultItem),f}return x(s,[{key:"selectItem",value:function(h,f){E(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);p.default=i},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=function(){function d(c,r){for(var o=0;o<r.length;o++){var t=r[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(c,t.key,t)}}return function(c,r,o){return r&&d(c.prototype,r),o&&d(c,o),c}}();function E(d,c){if(!(d instanceof c))throw new TypeError("Cannot call a class as a function")}var b=function(){function d(c,r){var o=this;E(this,d),this.quill=c,this.boundsContainer=r||document.body,this.root=c.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 x(d,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(r){var o=r.left+r.width/2-this.root.offsetWidth/2,t=r.bottom+this.quill.root.scrollTop;this.root.style.left=o+"px",this.root.style.top=t+"px",this.root.classList.remove("ql-flip");var i=this.boundsContainer.getBoundingClientRect(),n=this.root.getBoundingClientRect(),s=0;if(n.right>i.right&&(s=i.right-n.right,this.root.style.left=o+s+"px"),n.left<i.left&&(s=i.left-n.left,this.root.style.left=o+s+"px"),n.bottom>i.bottom){var a=n.bottom-n.top,h=r.bottom-r.top+a;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}();p.default=b},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=function(){function k(I,L){var T=[],M=!0,S=!1,N=void 0;try{for(var B=I[Symbol.iterator](),P;!(M=(P=B.next()).done)&&(T.push(P.value),!(L&&T.length===L));M=!0);}catch(z){S=!0,N=z}finally{try{!M&&B.return&&B.return()}finally{if(S)throw N}}return T}return function(I,L){if(Array.isArray(I))return I;if(Symbol.iterator in Object(I))return k(I,L);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E=function k(I,L,T){I===null&&(I=Function.prototype);var M=Object.getOwnPropertyDescriptor(I,L);if(M===void 0){var S=Object.getPrototypeOf(I);return S===null?void 0:k(S,L,T)}else{if("value"in M)return M.value;var N=M.get;return N===void 0?void 0:N.call(T)}},b=function(){function k(I,L){for(var T=0;T<L.length;T++){var M=L[T];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(I,M.key,M)}}return function(I,L,T){return L&&k(I.prototype,L),T&&k(I,T),I}}(),d=_(3),c=C(d),r=_(8),o=C(r),t=_(43),i=C(t),n=_(27),s=C(n),a=_(15),h=_(41),f=C(h);function C(k){return k&&k.__esModule?k:{default:k}}function g(k,I){if(!(k instanceof I))throw new TypeError("Cannot call a class as a function")}function v(k,I){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I&&(typeof I=="object"||typeof I=="function")?I:k}function m(k,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof I);k.prototype=Object.create(I&&I.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),I&&(Object.setPrototypeOf?Object.setPrototypeOf(k,I):k.__proto__=I)}var A=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],F=function(k){m(I,k);function I(L,T){g(this,I),T.modules.toolbar!=null&&T.modules.toolbar.container==null&&(T.modules.toolbar.container=A);var M=v(this,(I.__proto__||Object.getPrototypeOf(I)).call(this,L,T));return M.quill.container.classList.add("ql-snow"),M}return b(I,[{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 D(this.quill,this.options.bounds),T.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(M,S){T.handlers.link.call(T,!S.format.link)})}}]),I}(i.default);F.DEFAULTS=(0,c.default)(!0,{},i.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(I){if(I){var L=this.quill.getSelection();if(L==null||L.length==0)return;var T=this.quill.getText(L);/^\S+@\S+\.\S+$/.test(T)&&T.indexOf("mailto:")!==0&&(T="mailto:"+T);var M=this.quill.theme.tooltip;M.edit("link",T)}else this.quill.format("link",!1)}}}}});var D=function(k){m(I,k);function I(L,T){g(this,I);var M=v(this,(I.__proto__||Object.getPrototypeOf(I)).call(this,L,T));return M.preview=M.root.querySelector("a.ql-preview"),M}return b(I,[{key:"listen",value:function(){var T=this;E(I.prototype.__proto__||Object.getPrototypeOf(I.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(M){T.root.classList.contains("ql-editing")?T.save():T.edit("link",T.preview.textContent),M.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(M){if(T.linkRange!=null){var S=T.linkRange;T.restoreFocus(),T.quill.formatText(S,"link",!1,o.default.sources.USER),delete T.linkRange}M.preventDefault(),T.hide()}),this.quill.on(o.default.events.SELECTION_CHANGE,function(M,S,N){if(M!=null){if(M.length===0&&N===o.default.sources.USER){var B=T.quill.scroll.descendant(s.default,M.index),P=x(B,2),z=P[0],$=P[1];if(z!=null){T.linkRange=new a.Range(M.index-$,z.length());var O=s.default.formats(z.domNode);T.preview.textContent=O,T.preview.setAttribute("href",O),T.show(),T.position(T.quill.getBounds(T.linkRange));return}}else delete T.linkRange;T.hide()}})}},{key:"show",value:function(){E(I.prototype.__proto__||Object.getPrototypeOf(I.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),I}(t.BaseTooltip);D.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(""),p.default=F},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=_(29),E=ue(x),b=_(36),d=_(38),c=_(64),r=_(65),o=ue(r),t=_(66),i=ue(t),n=_(67),s=ue(n),a=_(37),h=_(26),f=_(39),C=_(40),g=_(56),v=ue(g),m=_(68),A=ue(m),F=_(27),D=ue(F),k=_(69),I=ue(k),L=_(70),T=ue(L),M=_(71),S=ue(M),N=_(72),B=ue(N),P=_(73),z=ue(P),$=_(13),O=ue($),H=_(74),V=ue(H),U=_(75),q=ue(U),j=_(57),K=ue(j),Y=_(41),J=ue(Y),te=_(28),se=ue(te),ge=_(59),me=ue(ge),ve=_(60),we=ue(ve),Oe=_(61),Ie=ue(Oe),oe=_(108),le=ue(oe),pe=_(62),fe=ue(pe);function ue(Ce){return Ce&&Ce.__esModule?Ce:{default:Ce}}E.default.register({"attributors/attribute/direction":d.DirectionAttribute,"attributors/class/align":b.AlignClass,"attributors/class/background":a.BackgroundClass,"attributors/class/color":h.ColorClass,"attributors/class/direction":d.DirectionClass,"attributors/class/font":f.FontClass,"attributors/class/size":C.SizeClass,"attributors/style/align":b.AlignStyle,"attributors/style/background":a.BackgroundStyle,"attributors/style/color":h.ColorStyle,"attributors/style/direction":d.DirectionStyle,"attributors/style/font":f.FontStyle,"attributors/style/size":C.SizeStyle},!0),E.default.register({"formats/align":b.AlignClass,"formats/direction":d.DirectionClass,"formats/indent":c.IndentClass,"formats/background":a.BackgroundStyle,"formats/color":h.ColorStyle,"formats/font":f.FontClass,"formats/size":C.SizeClass,"formats/blockquote":o.default,"formats/code-block":O.default,"formats/header":i.default,"formats/list":s.default,"formats/bold":v.default,"formats/code":$.Code,"formats/italic":A.default,"formats/link":D.default,"formats/script":I.default,"formats/strike":T.default,"formats/underline":S.default,"formats/image":B.default,"formats/video":z.default,"formats/list/item":n.ListItem,"modules/formula":V.default,"modules/syntax":q.default,"modules/toolbar":K.default,"themes/bubble":le.default,"themes/snow":fe.default,"ui/icons":J.default,"ui/picker":se.default,"ui/icon-picker":we.default,"ui/color-picker":me.default,"ui/tooltip":Ie.default},!0),p.default=E.default},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0}),p.IndentClass=void 0;var x=function(){function s(a,h){for(var f=0;f<h.length;f++){var C=h[f];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(a,C.key,C)}}return function(a,h,f){return h&&s(a.prototype,h),f&&s(a,f),a}}(),E=function s(a,h,f){a===null&&(a=Function.prototype);var C=Object.getOwnPropertyDescriptor(a,h);if(C===void 0){var g=Object.getPrototypeOf(a);return g===null?void 0:s(g,h,f)}else{if("value"in C)return C.value;var v=C.get;return v===void 0?void 0:v.call(f)}},b=_(0),d=c(b);function c(s){return s&&s.__esModule?s:{default:s}}function r(s,a){if(!(s instanceof a))throw new TypeError("Cannot call a class as a function")}function o(s,a){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:s}function t(s,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);s.prototype=Object.create(a&&a.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(s,a):s.__proto__=a)}var i=function(s){t(a,s);function a(){return r(this,a),o(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return x(a,[{key:"add",value:function(f,C){if(C==="+1"||C==="-1"){var g=this.value(f)||0;C=C==="+1"?g+1:g-1}return C===0?(this.remove(f),!0):E(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"add",this).call(this,f,C)}},{key:"canAdd",value:function(f,C){return E(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"canAdd",this).call(this,f,C)||E(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"canAdd",this).call(this,f,parseInt(C))}},{key:"value",value:function(f){return parseInt(E(a.prototype.__proto__||Object.getPrototypeOf(a.prototype),"value",this).call(this,f))||void 0}}]),a}(d.default.Attributor.Class),n=new i("indent","ql-indent",{scope:d.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});p.IndentClass=n},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=_(4),E=b(x);function b(t){return t&&t.__esModule?t:{default:t}}function d(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function c(t,i){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:t}function r(t,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(t,i):t.__proto__=i)}var o=function(t){r(i,t);function i(){return d(this,i),c(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return i}(E.default);o.blotName="blockquote",o.tagName="blockquote",p.default=o},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=function(){function i(n,s){for(var a=0;a<s.length;a++){var h=s[a];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(n,h.key,h)}}return function(n,s,a){return s&&i(n.prototype,s),a&&i(n,a),n}}(),E=_(4),b=d(E);function d(i){return i&&i.__esModule?i:{default:i}}function c(i,n){if(!(i instanceof n))throw new TypeError("Cannot call a class as a function")}function r(i,n){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:i}function o(i,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);i.prototype=Object.create(n&&n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(i,n):i.__proto__=n)}var t=function(i){o(n,i);function n(){return c(this,n),r(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return x(n,null,[{key:"formats",value:function(a){return this.tagName.indexOf(a.tagName)+1}}]),n}(b.default);t.blotName="header",t.tagName=["H1","H2","H3","H4","H5","H6"],p.default=t},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0}),p.default=p.ListItem=void 0;var x=function(){function g(v,m){for(var A=0;A<m.length;A++){var F=m[A];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(v,F.key,F)}}return function(v,m,A){return m&&g(v.prototype,m),A&&g(v,A),v}}(),E=function g(v,m,A){v===null&&(v=Function.prototype);var F=Object.getOwnPropertyDescriptor(v,m);if(F===void 0){var D=Object.getPrototypeOf(v);return D===null?void 0:g(D,m,A)}else{if("value"in F)return F.value;var k=F.get;return k===void 0?void 0:k.call(A)}},b=_(0),d=i(b),c=_(4),r=i(c),o=_(25),t=i(o);function i(g){return g&&g.__esModule?g:{default:g}}function n(g,v,m){return v in g?Object.defineProperty(g,v,{value:m,enumerable:!0,configurable:!0,writable:!0}):g[v]=m,g}function s(g,v){if(!(g instanceof v))throw new TypeError("Cannot call a class as a function")}function a(g,v){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:g}function h(g,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);g.prototype=Object.create(v&&v.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(g,v):g.__proto__=v)}var f=function(g){h(v,g);function v(){return s(this,v),a(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return x(v,[{key:"format",value:function(A,F){A===C.blotName&&!F?this.replaceWith(d.default.create(this.statics.scope)):E(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"format",this).call(this,A,F)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():E(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(A,F){return this.parent.isolate(this.offset(this.parent),this.length()),A===this.parent.statics.blotName?(this.parent.replaceWith(A,F),this):(this.parent.unwrap(),E(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"replaceWith",this).call(this,A,F))}}],[{key:"formats",value:function(A){return A.tagName===this.tagName?void 0:E(v.__proto__||Object.getPrototypeOf(v),"formats",this).call(this,A)}}]),v}(r.default);f.blotName="list-item",f.tagName="LI";var C=function(g){h(v,g),x(v,null,[{key:"create",value:function(A){var F=A==="ordered"?"OL":"UL",D=E(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,F);return(A==="checked"||A==="unchecked")&&D.setAttribute("data-checked",A==="checked"),D}},{key:"formats",value:function(A){if(A.tagName==="OL")return"ordered";if(A.tagName==="UL")return A.hasAttribute("data-checked")?A.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function v(m){s(this,v);var A=a(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,m)),F=function(k){if(k.target.parentNode===m){var I=A.statics.formats(m),L=d.default.find(k.target);I==="checked"?L.format("list","unchecked"):I==="unchecked"&&L.format("list","checked")}};return m.addEventListener("touchstart",F),m.addEventListener("mousedown",F),A}return x(v,[{key:"format",value:function(A,F){this.children.length>0&&this.children.tail.format(A,F)}},{key:"formats",value:function(){return n({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(A,F){if(A instanceof f)E(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"insertBefore",this).call(this,A,F);else{var D=F==null?this.length():F.offset(this),k=this.split(D);k.parent.insertBefore(A,k)}}},{key:"optimize",value:function(A){E(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"optimize",this).call(this,A);var F=this.next;F!=null&&F.prev===this&&F.statics.blotName===this.statics.blotName&&F.domNode.tagName===this.domNode.tagName&&F.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(F.moveChildren(this),F.remove())}},{key:"replace",value:function(A){if(A.statics.blotName!==this.statics.blotName){var F=d.default.create(this.statics.defaultChild);A.moveChildren(F),this.appendChild(F)}E(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"replace",this).call(this,A)}}]),v}(t.default);C.blotName="list",C.scope=d.default.Scope.BLOCK_BLOT,C.tagName=["OL","UL"],C.defaultChild="list-item",C.allowedChildren=[f],p.ListItem=f,p.default=C},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=_(56),E=b(x);function b(t){return t&&t.__esModule?t:{default:t}}function d(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function c(t,i){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:t}function r(t,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(t,i):t.__proto__=i)}var o=function(t){r(i,t);function i(){return d(this,i),c(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return i}(E.default);o.blotName="italic",o.tagName=["EM","I"],p.default=o},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=function(){function n(s,a){for(var h=0;h<a.length;h++){var f=a[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(s,f.key,f)}}return function(s,a,h){return a&&n(s.prototype,a),h&&n(s,h),s}}(),E=function n(s,a,h){s===null&&(s=Function.prototype);var f=Object.getOwnPropertyDescriptor(s,a);if(f===void 0){var C=Object.getPrototypeOf(s);return C===null?void 0:n(C,a,h)}else{if("value"in f)return f.value;var g=f.get;return g===void 0?void 0:g.call(h)}},b=_(6),d=c(b);function c(n){return n&&n.__esModule?n:{default:n}}function r(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 i=function(n){t(s,n);function s(){return r(this,s),o(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments))}return x(s,null,[{key:"create",value:function(h){return h==="super"?document.createElement("sup"):h==="sub"?document.createElement("sub"):E(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);i.blotName="script",i.tagName=["SUB","SUP"],p.default=i},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=_(6),E=b(x);function b(t){return t&&t.__esModule?t:{default:t}}function d(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function c(t,i){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:t}function r(t,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(t,i):t.__proto__=i)}var o=function(t){r(i,t);function i(){return d(this,i),c(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return i}(E.default);o.blotName="strike",o.tagName="S",p.default=o},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=_(6),E=b(x);function b(t){return t&&t.__esModule?t:{default:t}}function d(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}function c(t,i){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:t}function r(t,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(t,i):t.__proto__=i)}var o=function(t){r(i,t);function i(){return d(this,i),c(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return i}(E.default);o.blotName="underline",o.tagName="U",p.default=o},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=function(){function a(h,f){for(var C=0;C<f.length;C++){var g=f[C];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,f,C){return f&&a(h.prototype,f),C&&a(h,C),h}}(),E=function a(h,f,C){h===null&&(h=Function.prototype);var g=Object.getOwnPropertyDescriptor(h,f);if(g===void 0){var v=Object.getPrototypeOf(h);return v===null?void 0:a(v,f,C)}else{if("value"in g)return g.value;var m=g.get;return m===void 0?void 0:m.call(C)}},b=_(0),d=r(b),c=_(27);function r(a){return a&&a.__esModule?a:{default:a}}function o(a,h){if(!(a instanceof h))throw new TypeError("Cannot call a class as a function")}function t(a,h){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:a}function i(a,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);a.prototype=Object.create(h&&h.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(a,h):a.__proto__=h)}var n=["alt","height","width"],s=function(a){i(h,a);function h(){return o(this,h),t(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return x(h,[{key:"format",value:function(C,g){n.indexOf(C)>-1?g?this.domNode.setAttribute(C,g):this.domNode.removeAttribute(C):E(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"format",this).call(this,C,g)}}],[{key:"create",value:function(C){var g=E(h.__proto__||Object.getPrototypeOf(h),"create",this).call(this,C);return typeof C=="string"&&g.setAttribute("src",this.sanitize(C)),g}},{key:"formats",value:function(C){return n.reduce(function(g,v){return C.hasAttribute(v)&&(g[v]=C.getAttribute(v)),g},{})}},{key:"match",value:function(C){return/\.(jpe?g|gif|png)$/.test(C)||/^data:image\/.+;base64/.test(C)}},{key:"sanitize",value:function(C){return(0,c.sanitize)(C,["http","https","data"])?C:"//:0"}},{key:"value",value:function(C){return C.getAttribute("src")}}]),h}(d.default.Embed);s.blotName="image",s.tagName="IMG",p.default=s},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0});var x=function(){function a(h,f){for(var C=0;C<f.length;C++){var g=f[C];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}return function(h,f,C){return f&&a(h.prototype,f),C&&a(h,C),h}}(),E=function a(h,f,C){h===null&&(h=Function.prototype);var g=Object.getOwnPropertyDescriptor(h,f);if(g===void 0){var v=Object.getPrototypeOf(h);return v===null?void 0:a(v,f,C)}else{if("value"in g)return g.value;var m=g.get;return m===void 0?void 0:m.call(C)}},b=_(4),d=_(27),c=r(d);function r(a){return a&&a.__esModule?a:{default:a}}function o(a,h){if(!(a instanceof h))throw new TypeError("Cannot call a class as a function")}function t(a,h){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:a}function i(a,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);a.prototype=Object.create(h&&h.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(a,h):a.__proto__=h)}var n=["height","width"],s=function(a){i(h,a);function h(){return o(this,h),t(this,(h.__proto__||Object.getPrototypeOf(h)).apply(this,arguments))}return x(h,[{key:"format",value:function(C,g){n.indexOf(C)>-1?g?this.domNode.setAttribute(C,g):this.domNode.removeAttribute(C):E(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"format",this).call(this,C,g)}}],[{key:"create",value:function(C){var g=E(h.__proto__||Object.getPrototypeOf(h),"create",this).call(this,C);return g.setAttribute("frameborder","0"),g.setAttribute("allowfullscreen",!0),g.setAttribute("src",this.sanitize(C)),g}},{key:"formats",value:function(C){return n.reduce(function(g,v){return C.hasAttribute(v)&&(g[v]=C.getAttribute(v)),g},{})}},{key:"sanitize",value:function(C){return c.default.sanitize(C)}},{key:"value",value:function(C){return C.getAttribute("src")}}]),h}(b.BlockEmbed);s.blotName="video",s.className="ql-video",s.tagName="IFRAME",p.default=s},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0}),p.default=p.FormulaBlot=void 0;var x=function(){function C(g,v){for(var m=0;m<v.length;m++){var A=v[m];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(g,A.key,A)}}return function(g,v,m){return v&&C(g.prototype,v),m&&C(g,m),g}}(),E=function C(g,v,m){g===null&&(g=Function.prototype);var A=Object.getOwnPropertyDescriptor(g,v);if(A===void 0){var F=Object.getPrototypeOf(g);return F===null?void 0:C(F,v,m)}else{if("value"in A)return A.value;var D=A.get;return D===void 0?void 0:D.call(m)}},b=_(35),d=i(b),c=_(5),r=i(c),o=_(9),t=i(o);function i(C){return C&&C.__esModule?C:{default:C}}function n(C,g){if(!(C instanceof g))throw new TypeError("Cannot call a class as a function")}function s(C,g){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:C}function a(C,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);C.prototype=Object.create(g&&g.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(C,g):C.__proto__=g)}var h=function(C){a(g,C);function g(){return n(this,g),s(this,(g.__proto__||Object.getPrototypeOf(g)).apply(this,arguments))}return x(g,null,[{key:"create",value:function(m){var A=E(g.__proto__||Object.getPrototypeOf(g),"create",this).call(this,m);return typeof m=="string"&&(window.katex.render(m,A,{throwOnError:!1,errorColor:"#f00"}),A.setAttribute("data-value",m)),A}},{key:"value",value:function(m){return m.getAttribute("data-value")}}]),g}(d.default);h.blotName="formula",h.className="ql-formula",h.tagName="SPAN";var f=function(C){a(g,C),x(g,null,[{key:"register",value:function(){r.default.register(h,!0)}}]);function g(){n(this,g);var v=s(this,(g.__proto__||Object.getPrototypeOf(g)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return v}return g}(t.default);p.FormulaBlot=h,p.default=f},function(e,p,_){Object.defineProperty(p,"__esModule",{value:!0}),p.default=p.CodeToken=p.CodeBlock=void 0;var x=function(){function m(A,F){for(var D=0;D<F.length;D++){var k=F[D];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(A,k.key,k)}}return function(A,F,D){return F&&m(A.prototype,F),D&&m(A,D),A}}(),E=function m(A,F,D){A===null&&(A=Function.prototype);var k=Object.getOwnPropertyDescriptor(A,F);if(k===void 0){var I=Object.getPrototypeOf(A);return I===null?void 0:m(I,F,D)}else{if("value"in k)return k.value;var L=k.get;return L===void 0?void 0:L.call(D)}},b=_(0),d=s(b),c=_(5),r=s(c),o=_(9),t=s(o),i=_(13),n=s(i);function s(m){return m&&m.__esModule?m:{default:m}}function a(m,A){if(!(m instanceof A))throw new TypeError("Cannot call a class as a function")}function h(m,A){if(!m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:m}function f(m,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);m.prototype=Object.create(A&&A.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(m,A):m.__proto__=A)}var C=function(m){f(A,m);function A(){return a(this,A),h(this,(A.__proto__||Object.getPrototypeOf(A)).apply(this,arguments))}return x(A,[{key:"replaceWith",value:function(D){this.domNode.textContent=this.domNode.textContent,this.attach(),E(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"replaceWith",this).call(this,D)}},{key:"highlight",value:function(D){var k=this.domNode.textContent;this.cachedText!==k&&((k.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=D(k),this.domNode.normalize(),this.attach()),this.cachedText=k)}}]),A}(n.default);C.className="ql-syntax";var g=new d.default.Attributor.Class("token","hljs",{scope:d.default.Scope.INLINE}),v=function(m){f(A,m),x(A,null,[{key:"register",value:function(){r.default.register(g,!0),r.default.register(C,!0)}}]);function A(F,D){a(this,A);var k=h(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,F,D));if(typeof k.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var I=null;return k.quill.on(r.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(I),I=setTimeout(function(){k.highlight(),I=null},k.options.interval)}),k.highlight(),k}return x(A,[{key:"highlight",value:function(){var D=this;if(!this.quill.selection.composing){this.quill.update(r.default.sources.USER);var k=this.quill.getSelection();this.quill.scroll.descendants(C).forEach(function(I){I.highlight(D.options.highlight)}),this.quill.update(r.default.sources.SILENT),k!=null&&this.quill.setSelection(k,r.default.sources.SILENT)}}}]),A}(t.default);v.DEFAULTS={highlight:function(){return window.hljs==null?null:function(m){var A=window.hljs.highlightAuto(m);return A.value}}(),interval:1e3},p.CodeBlock=C,p.CodeToken=g,p.default=v},function(e,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p){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,p,_){Object.defineProperty(p,"__esModule",{value:!0}),p.default=p.BubbleTooltip=void 0;var x=function A(F,D,k){F===null&&(F=Function.prototype);var I=Object.getOwnPropertyDescriptor(F,D);if(I===void 0){var L=Object.getPrototypeOf(F);return L===null?void 0:A(L,D,k)}else{if("value"in I)return I.value;var T=I.get;return T===void 0?void 0:T.call(k)}},E=function(){function A(F,D){for(var k=0;k<D.length;k++){var I=D[k];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(F,I.key,I)}}return function(F,D,k){return D&&A(F.prototype,D),k&&A(F,k),F}}(),b=_(3),d=a(b),c=_(8),r=a(c),o=_(43),t=a(o),i=_(15),n=_(41),s=a(n);function a(A){return A&&A.__esModule?A:{default:A}}function h(A,F){if(!(A instanceof F))throw new TypeError("Cannot call a class as a function")}function f(A,F){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F&&(typeof F=="object"||typeof F=="function")?F:A}function C(A,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof F);A.prototype=Object.create(F&&F.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),F&&(Object.setPrototypeOf?Object.setPrototypeOf(A,F):A.__proto__=F)}var g=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],v=function(A){C(F,A);function F(D,k){h(this,F),k.modules.toolbar!=null&&k.modules.toolbar.container==null&&(k.modules.toolbar.container=g);var I=f(this,(F.__proto__||Object.getPrototypeOf(F)).call(this,D,k));return I.quill.container.classList.add("ql-bubble"),I}return E(F,[{key:"extendToolbar",value:function(k){this.tooltip=new m(this.quill,this.options.bounds),this.tooltip.root.appendChild(k.container),this.buildButtons([].slice.call(k.container.querySelectorAll("button")),s.default),this.buildPickers([].slice.call(k.container.querySelectorAll("select")),s.default)}}]),F}(t.default);v.DEFAULTS=(0,d.default)(!0,{},t.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(F){F?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var m=function(A){C(F,A);function F(D,k){h(this,F);var I=f(this,(F.__proto__||Object.getPrototypeOf(F)).call(this,D,k));return I.quill.on(r.default.events.EDITOR_CHANGE,function(L,T,M,S){if(L===r.default.events.SELECTION_CHANGE)if(T!=null&&T.length>0&&S===r.default.sources.USER){I.show(),I.root.style.left="0px",I.root.style.width="",I.root.style.width=I.root.offsetWidth+"px";var N=I.quill.getLines(T.index,T.length);if(N.length===1)I.position(I.quill.getBounds(T));else{var B=N[N.length-1],P=I.quill.getIndex(B),z=Math.min(B.length()-1,T.index+T.length-P),$=I.quill.getBounds(new i.Range(P,z));I.position($)}}else document.activeElement!==I.textbox&&I.quill.hasFocus()&&I.hide()}),I}return E(F,[{key:"listen",value:function(){var k=this;x(F.prototype.__proto__||Object.getPrototypeOf(F.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){k.root.classList.remove("ql-editing")}),this.quill.on(r.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!k.root.classList.contains("ql-hidden")){var I=k.quill.getSelection();I!=null&&k.position(k.quill.getBounds(I))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(k){var I=x(F.prototype.__proto__||Object.getPrototypeOf(F.prototype),"position",this).call(this,k),L=this.root.querySelector(".ql-tooltip-arrow");if(L.style.marginLeft="",I===0)return I;L.style.marginLeft=-1*I-L.offsetWidth/2+"px"}}]),F}(o.BaseTooltip);m.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(""),p.BubbleTooltip=m,p.default=v},function(e,p,_){e.exports=_(63)}]).default})})(quill);var Quill=getDefaultExportFromCjs(quill.exports),quill_core="",quill_snow="",quill_bubble="";const defaultOptions={theme:"snow",boundary:document.body,modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{header:1},{header:2}],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:["small",!1,"large","huge"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:[]}],[{align:[]}],["clean"],["link","image","video"]]},placeholder:"Insert content here ...",readOnly:!1},_sfc_main$J={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(l,w){const e={editorOption:{},quill:null};let p="";vue.watch(()=>l.value,b=>{e.quill&&(b&&b!==p?(p=b,e.quill.pasteHTML(b)):b||e.quill.setText(""))}),vue.watch(()=>l.content,b=>{e.quill&&(b&&b!==p?(p=b,e.quill.pasteHTML(b)):b||e.quill.setText(""))}),vue.watch(()=>l.disabled,b=>{e.quill&&e.quill.enable(!b)});const _=vue.ref(null),x=(b,d)=>{for(const c in d)!b[c]||c!=="modules"?b[c]=d[c]:x(b[c],d[c]);return b},E=()=>{_.value&&(e.editorOption=x(defaultOptions,l.options),e.editorOption.readOnly=!!l.disabled,e.quill=new Quill(_.value,e.editorOption),l.value&&e.quill.pasteHTML(l.value),e.quill.on("selection-change",b=>{b?w.emit("focus",e.quill):w.emit("blur",e.quill)}),e.quill.on("text-change",()=>{l.disabled&&e.quill.enable(!1);let b=_.value.children[0].innerHTML;const d=e.quill,c=e.quill.getText();b==="<p><br></p>"&&(b=""),p=b,w.emit("update:value",p),w.emit("change",{html:b,text:c,quill:d})}),w.emit("ready",e.quill))};return vue.onBeforeUnmount(()=>{const b=_.value.previousSibling;b&&b.className.indexOf("ql-toolbar")>-1&&b.parentNode.removeChild(b)}),vue.onMounted(()=>{E()}),vue.onUnmounted(()=>{e.quill=null}),{editor:_}}},_hoisted_1$q={ref:"editor"};function _sfc_render$J(l,w,e,p,_,x){return vue.openBlock(),vue.createElementBlock("section",_hoisted_1$q,null,512)}var quillEditor=_export_sfc$1(_sfc_main$J,[["render",_sfc_render$J]]);quillEditor.install=function(l){l.component(quillEditor.name,quillEditor)};var richEditorWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$I={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$I(l,w,e,p,_,x){const E=vue.resolveComponent("quill-editor"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",null,[vue.createVNode(E,{value:_.fieldModel,"onUpdate:value":w[0]||(w[0]=d=>_.fieldModel=d),options:x.editorOption,disabled:l.getDisabled(),onBlur:x.handleRichEditorBlurEvent,onFocus:x.handleRichEditorFocusEvent,onChange:x.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$I,[["render",_sfc_render$I],["__scopeId","data-v-6f719fd1"]]),__glob_0_15=Object.freeze(Object.defineProperty({__proto__:null,default:richEditorWidget},Symbol.toStringTag,{value:"Module"}));const _sfc_main$H={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:{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(l){const w=l&&typeof l=="object"&&"isTrusted"in l;this.handleChangeEvent(w?this.fieldModel:l)}},beforeCreate(){},created(){this.initOptionItems(),this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()}};function _sfc_render$H(l,w,e,p,_,x){const E=vue.resolveComponent("el-tree-select"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":l.subFormRowIndex,"sub-form-col-index":l.subFormColIndex,"sub-form-row-id":l.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(E,{ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":w[0]||(w[0]=d=>_.fieldModel=d),class:"full-width-input",data:e.field.options.optionItems,"show-checkbox":e.field.options.showCheckbox,"node-key":"value","default-expand-all":!0,"expand-on-click-node":!1,disabled:l.getDisabled(),size:l.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":x.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||l.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":x.remoteMethod,onFocus:l.handleFocusCustomEvent,onBlur:l.handleBlurCustomEvent,onChange:x.handleTreeSelectChange,"check-strictly":e.field.options.checkStrictly||!1},null,8,["modelValue","data","show-checkbox","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$H,[["render",_sfc_render$H]]),__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$G={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$G(l,w,e,p,_,x){const E=vue.resolveComponent("el-option"),b=vue.resolveComponent("el-select"),d=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(d,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(b,{ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":w[0]||(w[0]=c=>_.fieldModel=c),class:"full-width-input",disabled:l.getDisabled(),size:l.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":x.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||l.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":x.remoteMethod,onFocus:l.handleFocusCustomEvent,onBlur:l.handleBlurCustomEvent,onChange:l.handleChangeEvent},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.field.options.optionItems,c=>(vue.openBlock(),vue.createBlock(E,{key:c.value,label:c.label,value:e.field.options.objectValue?c:c.value,disabled:c.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$G,[["render",_sfc_render$G],["__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$F={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$F(l,w,e,p,_,x){const E=vue.resolveComponent("el-slider"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(E,{ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":w[0]||(w[0]=d=>_.fieldModel=d),disabled:l.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:l.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$F,[["render",_sfc_render$F],["__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$E={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$p={key:0,class:"slot-title"};function _sfc_render$E(l,w,e,p,_,x){const E=vue.resolveComponent("static-content-wrapper");return vue.openBlock(),vue.createBlock(E,{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(l.$slots,e.field.options.name,{formModel:l.formModel},void 0,!0),e.designState?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$p,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$E,[["render",_sfc_render$E],["__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$D={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 l={};return this.field.options.fontSize&&(l.fontSize=this.field.options.fontSize),l},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 l;return this.fieldModel!=null&&this.fieldModel!==""?this.fieldModel:(l=this.field.options.textContent)!=null?l:""}},beforeCreate(){},created(){this.initFieldModel(),this.registerToRefList(),this.initEventHandler(),this.buildFieldRules(),this.handleOnCreated()},mounted(){this.handleOnMounted()},beforeUnmount(){this.unregisterFromRefList()},methods:{},watch:{"field.options.textContent":{handler(l){l!==void 0&&(this.fieldModel=l,this.designState||this.syncUpdateFormModel(l))},immediate:!0}}};function _sfc_render$D(l,w,e,p,_,x){const E=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(E,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{ref:"fieldEditor",style:vue.normalizeStyle(x.staticTextStyle)},[vue.createElementVNode("div",{style:vue.normalizeStyle(x.innerStyle)},vue.toDisplayString(_.fieldModel),5)],4)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}var staticTextWidget=_export_sfc$1(_sfc_main$D,[["render",_sfc_render$D],["__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$C={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$C(l,w,e,p,_,x){const E=vue.resolveComponent("el-switch"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(E,{ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":w[0]||(w[0]=d=>_.fieldModel=d),disabled:l.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:l.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$C,[["render",_sfc_render$C],["__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$B={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$B(l,w,e,p,_,x){const E=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(E,{type:"textarea",ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":w[0]||(w[0]=d=>_.fieldModel=d),disabled:l.getDisabled(),readonly:e.field.options.readonly,size:l.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:l.handleFocusCustomEvent,onBlur:l.handleBlurCustomEvent,onInput:l.handleInputCustomEvent,onChange:l.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$B,[["render",_sfc_render$B],["__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$A={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$A(l,w,e,p,_,x){const E=vue.resolveComponent("el-time-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""])},[vue.createVNode(E,{ref:"fieldEditor","is-range":"",modelValue:_.fieldModel,"onUpdate:modelValue":w[0]||(w[0]=d=>_.fieldModel=d),class:vue.normalizeClass([e.field.options.autoFullWidth?"full-width-input":""]),disabled:l.getDisabled(),readonly:e.field.options.readonly,size:l.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||l.i18nt("render.hint.startTimePlaceholder"),"end-placeholder":e.field.options.endPlaceholder||l.i18nt("render.hint.endTimePlaceholder"),onFocus:l.handleFocusCustomEvent,onBlur:l.handleBlurCustomEvent,onChange:l.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$A,[["render",_sfc_render$A],["__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$z={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$z(l,w,e,p,_,x){const E=vue.resolveComponent("el-time-picker"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(E,{ref:"fieldEditor",modelValue:_.fieldModel,"onUpdate:modelValue":w[0]||(w[0]=d=>_.fieldModel=d),class:vue.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),disabled:l.getDisabled(),readonly:e.field.options.readonly,size:l.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||l.i18nt("render.hint.timePlaceholder"),onFocus:l.handleFocusCustomEvent,onBlur:l.handleBlurCustomEvent,onChange:l.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$z,[["render",_sfc_render$z],["__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 l in modules$2){let w=modules$2[l].default.name;comps[w]=modules$2[l].default}var gridColItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$y={name:"GridColItem",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:$e({},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()},beforeUnmount(){var l,w;this.refList!=null&&((w=(l=this.widget)==null?void 0:l.options)==null?void 0:w.name)&&delete this.refList[this.widget.options.name]},watch:{"widget.options.span":{handler(l){this.layoutProps.span=l},immediate:!0}},methods:{setHidden(l){this.widget&&this.widget.options&&(this.widget.options.hidden=!!l,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 l=this.formConfig.layoutType;l==="H5"?this.layoutProps.span=this.widget.options.xs||12:l==="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$o={class:"blank-cell"},_hoisted_2$h={class:"invisible-content"};function _sfc_render$y(l,w,e,p,_,x){const E=vue.resolveComponent("el-col");return e.widget?vue.withDirectives((vue.openBlock(),vue.createBlock(E,vue.mergeProps({key:0,class:["grid-cell",[x.customClass]]},_.layoutProps,{style:x.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(l.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:l.disabled||e.widget.options.disabled},vue.createSlots({_:2},[vue.renderList(Object.keys(l.$slots),c=>({name:c,fn:vue.withCtx(r=>[vue.renderSlot(l.$slots,c,vue.mergeProps({ref_for:!0},r),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(l.$slots),c=>({name:c,fn:vue.withCtx(r=>[vue.renderSlot(l.$slots,c,vue.mergeProps({ref_for:!0},r),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(E,{key:1},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$o,[vue.createElementVNode("span",_hoisted_2$h,vue.toDisplayString(l.i18nt("render.hint.blankCellContent")),1)])]),_:1}))]),_:3},16,["class","style"])),[[vue.vShow,x.colVisible]]):vue.createCommentVNode("",!0)}var GridColItem=_export_sfc$1(_sfc_main$y,[["render",_sfc_render$y],["__scopeId","data-v-746165e2"]]),__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 l=this.widget.options.name;delete this.refList[l]}},callSetHidden(){this.widget&&this.widget.options&&this.widget.options.hidden===!0&&this.setHidden(!0)},setHidden(l){if(!this.widget||!this.widget.options)return;this.widget.options.hidden=l;let w=e=>{if(!e||!e.options)return;let p=e.options.name,_=this.getWidgetRef(p);l&&!!_&&!!_.clearFieldRules&&_.clearFieldRules(),!l&&!!_&&!!_.buildFieldRules&&_.buildFieldRules()};traverseFieldWidgetsOfContainer(this.widget,w)},setDisabled(l){!this.widget||!this.widget.options||(this.widget.options.disabled=l)},activeTab(l){l>=0&&l<this.widget.tabs.length&&this.widget.tabs.forEach((w,e)=>{w.options.active=e===l,e===l&&(this.activeTabName=w.options.name)})},disableTab(l){l>=0&&l<this.widget.tabs.length&&(this.widget.tabs[l].options.disabled=!0)},enableTab(l){l>=0&&l<this.widget.tabs.length&&(this.widget.tabs[l].options.disabled=!1)},hideTab(l){l>=0&&l<this.widget.tabs.length&&(this.widget.tabs[l].options.hidden=!0)},showTab(l){l>=0&&l<this.widget.tabs.length&&(this.widget.tabs[l].options.hidden=!1)},setWidgetOption(l,w){this.widget.options.hasOwnProperty(l)&&(this.widget.options[l]=w)},getSubFormRowCount(){return this.rowIdData?this.rowIdData.length:0},disableSubFormRow(l){!Array.isArray(this.rowIdData)||this.rowIdData[l]==null||!this.widget||!this.widget.widgetList||this.widget.widgetList.forEach(w=>{let e=w.options.name+"@row"+this.rowIdData[l],p=this.getWidgetRef(e);p&&p.setDisabled(!0)})},enableSubFormRow(l){!Array.isArray(this.rowIdData)||this.rowIdData[l]==null||!this.widget||!this.widget.widgetList||this.widget.widgetList.forEach(w=>{let e=w.options.name+"@row"+this.rowIdData[l],p=this.getWidgetRef(e);p&&p.setDisabled(!1)})},disableSubForm(){Array.isArray(this.rowIdData)&&this.rowIdData.length>0&&this.rowIdData.forEach((l,w)=>{this.disableSubFormRow(w)}),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((l,w)=>{this.enableSubFormRow(w)}),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 l=this.formModel[this.widget.options.name];l&&(l.splice(0,l.length),this.rowIdData.splice(0,this.rowIdData.length)),this.widget.options.showBlankRow&&this.addSubFormRow()}},getSubFormValues(l=!0){if(this.widget.type==="sub-form")return this.formModel[this.widget.options.name];this.$message.error(this.i18nt("render.hint.nonSubFormType"))},addCssClass(l){this.widget.options.customClass?this.widget.options.customClass.push(l):this.widget.options.customClass=[l]},removeCssClass(l){if(!this.widget.options.customClass)return;let w=-1;this.widget.options.customClass.map((e,p)=>{e===l&&(w=p)}),w>-1&&this.widget.options.customClass.splice(w,1)}}};const _sfc_main$x={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$x(l,w,e,p,_,x){const E=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",[l.customClass]]),ref:e.widget.id},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.cols.filter(c=>!c.options.hidden)||[],(c,r)=>(vue.openBlock(),vue.createBlock(E,{key:r,widget:c,"parent-list":e.widget.cols,"index-of-parent-list":r,"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(l.$slots),o=>({name:o,fn:vue.withCtx(t=>[vue.renderSlot(l.$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$x,[["render",_sfc_render$x]]),__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$w={name:"sub-form-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:Ft($e({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(l,w){return w.options.labelAlign||l.options.labelAlign},registerSubFormToRefList(){this.widget.type==="sub-form"&&(this.sfRefList[this.widget.options.name]=this)},initRowIdData(l){if(this.widget.type==="sub-form"){this.rowIdData.splice(0,this.rowIdData.length);let w=this.formModel[this.widget.options.name];!!w&&w.length>0&&(w.forEach(()=>{this.rowIdData.push("id"+generateId())}),l&&setTimeout(()=>{this.handleSubFormRowChange(w)},800))}},addToRowIdData(){this.rowIdData.push("id"+generateId())},insertToRowIdData(l){this.rowIdData.splice(l,0,"id"+generateId())},deleteFromRowIdData(l){this.rowIdData.splice(l,1)},getRowIdData(){return this.rowIdData},getWidgetRefOfSubForm(l,w){let e=l+"@row"+this.rowIdData[w];return this.getWidgetRef(e)},initFieldSchemaData(){if(this.widget.type!=="sub-form")return;let l=this.rowIdData.length;if(this.fieldSchemaData.splice(0,this.fieldSchemaData.length),l>0)for(let w=0;w<l;w++){let e=[];this.widget.widgetList.forEach(p=>{e.push(this.cloneFieldSchema(p))}),this.fieldSchemaData.push(e)}},addToFieldSchemaData(l){let w=[];this.widget.widgetList.forEach(e=>{w.push(this.cloneFieldSchema(e))}),l===void 0?this.fieldSchemaData.push(w):this.fieldSchemaData.splice(l,0,w)},deleteFromFieldSchemaData(l){this.fieldSchemaData.splice(l,1)},cloneFieldSchema(l){let w=deepClone(l);return w.id=l.type+generateId(),w},initEventHandler(){this.widget.type==="sub-form"&&this.on$("setFormData",l=>{this.initRowIdData(!1),this.initFieldSchemaData();let w=l[this.widget.options.name]||[];setTimeout(()=>{this.handleSubFormRowChange(w)},800)})},handleSubFormFirstRowAdd(){if(this.widget.type==="sub-form"&&!!this.widget.options.showBlankRow&&this.rowIdData.length===1){let l=this.formModel[this.widget.options.name]||[];this.handleSubFormRowAdd(l,this.rowIdData[0]),this.handleSubFormRowChange(l)}},addSubFormRow(){let l={};this.widget.widgetList.forEach(e=>{e.formItemFlag&&(l[e.options.name]=e.options.defaultValue)});let w=this.formModel[this.widget.options.name]||[];w.push(l),this.addToRowIdData(),this.addToFieldSchemaData(),this.handleSubFormRowAdd(w,this.rowIdData[w.length-1]),this.handleSubFormRowChange(w)},insertSubFormRow(l){let w={};this.widget.widgetList.forEach(p=>{p.formItemFlag&&(w[p.options.name]=p.options.defaultValue)});let e=this.formModel[this.widget.options.name]||[];e.splice(l,0,w),this.insertToRowIdData(l),this.addToFieldSchemaData(l),this.handleSubFormRowInsert(e,this.rowIdData[l]),this.handleSubFormRowChange(e)},deleteSubFormRow(l){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 w=this.formModel[this.widget.options.name]||[],e=deepClone(w[l]);w.splice(l,1),this.deleteFromRowIdData(l),this.deleteFromFieldSchemaData(l),this.handleSubFormRowDelete(w,e),this.handleSubFormRowChange(w)}).catch(()=>{})},handleSubFormRowChange(l){this.widget.options.onSubFormRowChange&&new Function("subFormData",this.widget.options.onSubFormRowChange).call(this,l)},handleSubFormRowAdd(l,w){this.widget.options.onSubFormRowAdd&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowAdd).call(this,l,w)},handleSubFormRowInsert(l,w){this.widget.options.onSubFormRowInsert&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowInsert).call(this,l,w)},handleSubFormRowDelete(l,w){this.widget.options.onSubFormRowDelete&&new Function("subFormData","deletedDataRow",this.widget.options.onSubFormRowDelete).call(this,l,w)}}},_hoisted_1$n={class:"action-header-column"},_hoisted_2$g={class:"action-label"},_hoisted_3$e={key:0,class:"custom-label"},_hoisted_4$b=["title"],_hoisted_5$9={class:"sub-form-action-column hide-label"},_hoisted_6$9={class:"action-button-column"},_hoisted_7$7={key:0,class:"row-number-span"};function _sfc_render$w(l,w,e,p,_,x){const E=vue.resolveComponent("svg-icon"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-tooltip"),c=vue.resolveComponent("el-row"),r=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(r,{widget:e.widget},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:"sub-form-container"},[vue.createVNode(c,{class:"header-row"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$n,[vue.createElementVNode("span",_hoisted_2$g,vue.toDisplayString(l.i18nt("render.hint.subFormAction")),1),vue.createVNode(b,{disabled:_.actionDisabled,round:"",type:"primary",size:"small",class:"action-button",onClick:x.addSubFormRow,title:l.i18nt("render.hint.subFormAddActionHint")},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(l.i18nt("render.hint.subFormAddAction")),1),vue.createVNode(E,{"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",[x.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$e,[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(E,{"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(E,{"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(E,{"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(E,{"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$b))],6))),128))]),_:1}),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.rowIdData,(o,t)=>(vue.openBlock(),vue.createBlock(c,{class:"sub-form-row",key:o},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_5$9,[vue.createElementVNode("div",_hoisted_6$9,[vue.createVNode(b,{disabled:_.actionDisabled,circle:"",onClick:i=>x.insertSubFormRow(t),title:l.i18nt("render.hint.insertSubFormRow")},{default:vue.withCtx(()=>[vue.createVNode(E,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"]),vue.createVNode(b,{disabled:_.actionDisabled,circle:"",onClick:i=>x.deleteSubFormRow(t),title:l.i18nt("render.hint.deleteSubFormRow")},{default:vue.withCtx(()=>[vue.createVNode(E,{"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,(i,n)=>{var s;return vue.openBlock(),vue.createElementBlock("div",{key:i.id+"tc"+o,class:"sub-form-table-column hide-label",style:vue.normalizeStyle({width:i.options.columnWidth})},[i.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(l.getComponentByContainer(_.fieldSchemaData[t][n])),{widget:_.fieldSchemaData[t][n],key:_.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=_.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(i.type+"-widget"),{field:_.fieldSchemaData[t][n],key:_.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$w,[["render",_sfc_render$w],["__scopeId","data-v-59c24e8e"]]),__glob_0_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:subFormItem},Symbol.toStringTag,{value:"Module"}));const _sfc_main$v={name:"tab-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:$e({ContainerItemWrapper},comps),props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{activeTabName:""}},computed:{visibleTabs(){return!this.widget||!this.widget.tabs?[]:this.widget.tabs.filter(l=>l&&l.options&&!l.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 l=this.widget.tabs.filter(w=>w&&w.options&&w.options.active===!0);l.length>0?this.activeTabName=l[0].options.name:this.widget.tabs[0]&&this.widget.tabs[0].options&&(this.activeTabName=this.widget.tabs[0].options.name)}}};function _sfc_render$v(l,w,e,p,_,x){const E=vue.resolveComponent("el-tab-pane"),b=vue.resolveComponent("el-tabs"),d=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(d,{widget:e.widget},{default:vue.withCtx(()=>[e.widget?vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{key:e.widget.id,class:"tab-container"},[vue.createVNode(b,{modelValue:_.activeTabName,"onUpdate:modelValue":w[0]||(w[0]=c=>_.activeTabName=c),type:e.widget&&e.widget.displayType?e.widget.displayType:"default",ref:e.widget.id,class:vue.normalizeClass([l.customClass])},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(x.visibleTabs,(c,r)=>(vue.openBlock(),vue.createBlock(E,{key:r,label:c.options.label,disabled:c.options.disabled,name:c.options.name},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(c.widgetList,(o,t)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[o.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(l.getComponentByContainer(o)),{widget:o,key:t,"parent-list":c.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(l.$slots),i=>({name:i,fn:vue.withCtx(n=>[vue.renderSlot(l.$slots,i,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":c.widgetList,"index-of-parent-list":t,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(l.$slots),i=>({name:i,fn:vue.withCtx(n=>[vue.renderSlot(l.$slots,i,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$v,[["render",_sfc_render$v]]),__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$u={name:"TableCellItem",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin],components:$e({},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$m=["colspan","rowspan"];function _sfc_render$u(l,w,e,p,_,x){return vue.openBlock(),vue.createElementBlock("td",{class:vue.normalizeClass(["table-cell",[x.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,(E,b)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[E.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(l.getComponentByContainer(E)),{widget:E,key:b,"parent-list":e.widget.widgetList,"index-of-parent-list":b,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(l.$slots),d=>({name:d,fn:vue.withCtx(c=>[vue.renderSlot(l.$slots,d,vue.mergeProps({ref_for:!0},c),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(E.type+"-widget"),{field:E,key:b,"parent-list":e.widget.widgetList,"index-of-parent-list":b,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(l.$slots),d=>({name:d,fn:vue.withCtx(c=>[vue.renderSlot(l.$slots,d,vue.mergeProps({ref_for:!0},c),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256))],14,_hoisted_1$m)}var TableCellItem=_export_sfc$1(_sfc_main$u,[["render",_sfc_render$u],["__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$t={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$t(l,w,e,p,_,x){const E=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",[l.customClass]])},[vue.createElementVNode("tbody",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.widget.rows||[],(d,c)=>(vue.openBlock(),vue.createElementBlock("tr",{key:d?d.id:c},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(d.cols,(r,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[r.merged?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(E,{widget:r,key:o,"parent-list":e.widget.cols,"row-index":c,"col-index":o,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(l.$slots),t=>({name:t,fn:vue.withCtx(i=>[vue.renderSlot(l.$slots,t,vue.mergeProps({ref_for:!0},i),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$t,[["render",_sfc_render$t],["__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(l){for(const w in modules$1){let e=modules$1[w].default.name;l.component(e,modules$1[w].default)}}},index_vue_vue_type_style_index_0_scoped_true_lang$1="";const _sfc_main$s={name:"VFormRender",componentName:"VFormRender",mixins:[emitter,i18n$1],components:$e({},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(l){!l||typeof l!="object"||this.setFormData(l)}}},created(){this.buildFormModel(this.formJsonObj?this.formJsonObj.widgetList:null),this.initFormObject()},mounted(){this.initLocale(),this.handleOnMounted()},methods:{initFormObject(l=!0){this.formId="vfRender"+generateId(),l&&this.insertCustomStyleAndScriptNode(),this.addFieldChangeEventHandler(),this.addFieldValidateEventHandler(),this.registerFormToRefList(),this.handleOnCreated()},getContainerWidgetName(l){return l.type==="grid"?"vf-grid-item":l.type+"-item"},getWidgetName(l){return l.type+"-widget"},initLocale(){let l=localStorage.getItem("v_form_locale")||"zh-CN";this.changeLanguage(l)},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(l){!!l&&l.length>0&&l.forEach(w=>{this.buildDataFromWidget(w)})},buildDataFromWidget(l){var w;if(l.category==="container")if(l.type==="grid")!!l.cols&&l.cols.length>0&&l.cols.forEach(e=>{this.buildDataFromWidget(e)});else if(l.type==="table")!!l.rows&&l.rows.length>0&&l.rows.forEach(e=>{!!e.cols&&e.cols.length>0&&e.cols.forEach(p=>{this.buildDataFromWidget(p)})});else if(l.type==="tab")!!l.tabs&&l.tabs.length>0&&l.tabs.forEach(e=>{!!e.widgetList&&e.widgetList.length>0&&e.widgetList.forEach(p=>{this.buildDataFromWidget(p)})});else if(l.type==="sub-form"){let e=l.options.name;if(this.formData.hasOwnProperty(e)){let p=this.formData[e];this.formDataModel[e]=deepClone(p)}else{let p={};l.options.showBlankRow?(l.widgetList.forEach(_=>{_.formItemFlag&&(p[_.options.name]=_.options.defaultValue)}),this.formDataModel[e]=[p]):this.formDataModel[e]=[]}}else l.type==="grid-col"||l.type==="table-cell"?!!l.widgetList&&l.widgetList.length>0&&l.widgetList.forEach(e=>{this.buildDataFromWidget(e)}):!!l.widgetList&&l.widgetList.length>0&&l.widgetList.forEach(e=>{this.buildDataFromWidget(e)});else if(l.formItemFlag)if(this.formData.hasOwnProperty(l.options.name)){let e=this.formData[l.options.name];this.formDataModel[l.options.name]=deepClone(e)}else{const e=l.type==="static-text"?(w=l.options.textContent)!=null?w:"":l.options.defaultValue;this.formDataModel[l.options.name]=e}else if(l.type==="static-text"&&l.options&&l.options.name){const e=l.options.name;this.formData.hasOwnProperty(e)?this.formDataModel[e]=deepClone(this.formData[e]):this.formDataModel[e]=l.options.textContent}},addFieldChangeEventHandler(){this.off$("fieldChange"),this.on$("fieldChange",(l,w,e,p,_)=>{this.handleFieldDataChange(l,w,e,p,_),this.$emit("formChange",l,w,e,this.formDataModel,p,_)})},addFieldValidateEventHandler(){this.off$("fieldValidation"),this.on$("fieldValidation",l=>{this.$refs.renderForm.validateField(l)})},registerFormToRefList(){this.widgetRefList.v_form_ref=this},handleFieldDataChange(l,w,e,p,_){!!this.formConfig&&!!this.formConfig.onFormDataChange&&new Function("fieldName","newValue","oldValue","formModel","subFormName","subFormRowIndex",this.formConfig.onFormDataChange).call(this,l,w,e,this.formDataModel,p,_)},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(l,w){let e=this.getWidgetRef(l);e?w&&typeof e.disableSubForm=="function"?e.disableSubForm():!w&&typeof e.enableSubForm=="function"?e.enableSubForm():typeof e.setDisabled=="function"&&e.setDisabled(w):this.findWidgetOfSubFormAndSetDisabled(l,w)},findWidgetOfSubFormAndSetDisabled(l,w){this.findWidgetNameInSubForm(l).forEach(e=>{let p=this.getWidgetRef(e);!!p&&typeof p.setDisabled=="function"&&p.setDisabled(w)})},findWidgetAndSetHidden(l,w){let e=this.getWidgetRef(l);e?e.setHidden(w):this.findWidgetOfSubFormAndSetHidden(l,w)},findWidgetOfSubFormAndSetHidden(l,w){this.findWidgetNameInSubForm(l).forEach(e=>{let p=this.getWidgetRef(e);p&&p.setHidden(w)})},findWidgetNameInSubForm(l){let w=[],e=null,p=(_,x)=>{!!_.options&&_.options.name===l&&(e=x.options.name)};if(traverseFieldWidgets(this.widgetList,p),e){let _=this.getWidgetRef(e);if(_){let x=_.getRowIdData();!!x&&x.length>0&&x.forEach(E=>{w.push(l+"@row"+E)})}}return w},changeLanguage(l){changeLocale(l)},getNativeForm(){return this.$refs.renderForm},getFormRef(){return this},getWidgetRef(l,w=!1){let e=this.widgetRefList[l];return!e&&!!w&&this.$message.error(this.i18nt("render.hint.refNotFound")+l),e},getStaticTextRef(l){if(l){const e=this.getWidgetRef(l);if(e&&e.field&&e.field.type==="static-text")return e}const w=Object.values(this.widgetRefList).filter(e=>e&&e.field&&e.field.type==="static-text");return w.length>0?w[0]:void 0},getStaticTextRefs(){return Object.values(this.widgetRefList).filter(l=>l&&l.field&&l.field.type==="static-text")},clearFormDataModel(){for(let l in this.formDataModel)delete this.formDataModel[l]},setFormJson(l){if(l)if(typeof l=="string"||l.constructor===Object){let w=null;if(typeof l=="string"?w=JSON.parse(l):w=l,!w.formConfig||!w.widgetList){this.$message.error("Invalid format of form json.");return}this.clearFormDataModel(),this.buildFormModel(w.widgetList),this.formJsonObj.formConfig=w.formConfig,this.formJsonObj.widgetList=w.widgetList,this.insertCustomStyleAndScriptNode(),this.$nextTick(()=>{this.initFormObject(!1),this.handleOnMounted()})}else this.$message.error("Set form json failed.")},getFormJson(){return deepClone(this.formJsonObj)},reloadOptionData(l){let w=[];!!l&&typeof l=="string"?w=[l]:!!l&&Array.isArray(l)&&(w=[...l]),this.broadcast("FieldWidget","reloadOptionItems",w)},getFormData(l=!0){if(!l)return this.formDataModel;let w=function(){},e=new window.Promise(function(p,_){w=function(x,E){E?_(E):p(x)}});return this.$refs.renderForm.validate(p=>{p?(this.emitFormValidateSuccess(this.formDataModel),w(this.formDataModel)):w(this.formDataModel,this.i18nt("render.hint.validationFailed"))}),e},setFormData(l){Object.keys(this.formDataModel).forEach(w=>{!!l&&l.hasOwnProperty(w)&&(this.formDataModel[w]=deepClone(l[w]))}),this.broadcast("ContainerItem","setFormData",this.formDataModel),this.broadcast("FieldWidget","setFormData",this.formDataModel)},getFieldValue(l){let w=this.getWidgetRef(l);if(!!w&&!!w.getValue)return w.getValue();if(!w){let e=[];return this.findWidgetNameInSubForm(l).forEach(p=>{let _=this.getWidgetRef(p);!!_&&!!_.getValue&&e.push(_.getValue())}),e}},setFieldValue(l,w){let e=this.getWidgetRef(l);!!e&&!!e.setValue&&e.setValue(w),e||this.findWidgetNameInSubForm(l).forEach(p=>{let _=this.getWidgetRef(p);!!_&&!!_.setValue&&_.setValue(w)})},getSubFormValues(l,w=!0){return this.subFormRefList[l].getSubFormValues(w)},disableForm(){console.log("disableForm",this.widgetRefList),Object.keys(this.widgetRefList).forEach(w=>{let e=this.getWidgetRef(w);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(w=>{let e=this.getWidgetRef(w);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 p=this.getWidgetRef(e);!!p&&!p.subFormItemFlag&&!!p.resetField&&p.resetField()}),this.$nextTick(()=>{this.clearValidate()})},clearValidate(l){this.$refs.renderForm.clearValidate(l)},validateForm(l){this.$refs.renderForm.validate(w=>{w&&!!this.formConfig&&!!this.formConfig.onFormValidateSuccess&&this.emitFormValidateSuccess(this.formDataModel),l(w)})},emitFormValidateSuccess(l){if(!(!this.formConfig||!this.formConfig.onFormValidateSuccess))try{new Function("formData",this.formConfig.onFormValidateSuccess).call(this,l)}catch(w){console.error("onFormValidateSuccess",w)}},validateFields(){},disableWidgets(l){l&&(typeof l=="string"?this.findWidgetAndSetDisabled(l,!0):Array.isArray(l)&&l.forEach(w=>{this.findWidgetAndSetDisabled(w,!0)}))},disableFields(l){this.disableWidgets(l)},enableFields(l){this.enableWidgets(l)},enableWidgets(l){l&&(typeof l=="string"?this.findWidgetAndSetDisabled(l,!1):Array.isArray(l)&&l.forEach(w=>{this.findWidgetAndSetDisabled(w,!1)}))},hideWidgets(l){l&&(typeof l=="string"?this.findWidgetAndSetHidden(l,!0):Array.isArray(l)&&l.forEach(w=>{this.findWidgetAndSetHidden(w,!0)}))},showWidgets(l){l&&(typeof l=="string"?this.findWidgetAndSetHidden(l,!1):Array.isArray(l)&&l.forEach(w=>{this.findWidgetAndSetHidden(w,!1)}))},getFieldWidgets(){return getAllFieldWidgets(this.formJsonObj.widgetList)},getContainerWidgets(){return getAllContainerWidgets(this.formJsonObj.widgetList)},addEC(l,w){this.externalComponents[l]=w},hasEC(l){return this.externalComponents.hasOwnProperty(l)},getEC(l){return this.externalComponents[l]},getGlobalDsv(){return this.globalDsv},findColByName(l,w){const e=l!=null?l:this.formJsonObj&&this.formJsonObj.widgetList;if(!e||!w)return null;for(const p of e){if(p.type==="grid"&&p.cols&&p.cols.length){const _=p.cols.find(x=>x.options&&x.options.name===w);if(_)return _}if(p.type==="grid-col"&&p.options&&p.options.name===w)return p;if(p.widgetList&&p.widgetList.length){const _=this.findColByName(p.widgetList,w);if(_)return _}if(p.cols&&p.cols.length)for(const _ of p.cols){if(_.options&&_.options.name===w)return _;if(_.widgetList&&_.widgetList.length){const x=this.findColByName(_.widgetList,w);if(x)return x}}}return null},setColHidden(l,w){const e=this.findColByName(null,l);return!e||!e.options?!1:(e.options.hidden=!!w,this.$nextTick(()=>this.$forceUpdate()),!0)}}};function _sfc_render$s(l,w,e,p,_,x){const E=vue.resolveComponent("el-form");return vue.openBlock(),vue.createBlock(E,{"label-position":x.labelPosition,size:x.size,class:vue.normalizeClass([[x.customClass],"render-form"]),"label-width":x.labelWidth,"validate-on-rule-change":!1,model:_.formDataModel,ref:"renderForm",onSubmit:w[0]||(w[0]=vue.withModifiers(()=>{},["prevent"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(x.widgetList,(b,d)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[b.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(x.getContainerWidgetName(b)),{widget:b,key:b.id,"parent-list":x.widgetList,"index-of-parent-list":d,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(l.$slots),c=>({name:c,fn:vue.withCtx(r=>[vue.renderSlot(l.$slots,c,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(x.getWidgetName(b)),{field:b,"form-model":_.formDataModel,designer:null,key:b.id,"parent-list":x.widgetList,"index-of-parent-list":d,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(l.$slots),c=>({name:c,fn:vue.withCtx(r=>[vue.renderSlot(l.$slots,c,vue.mergeProps({ref_for:!0},r),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$s,[["render",_sfc_render$s],["__scopeId","data-v-6b16d674"]]);function registerIcon(l){l.component("el-icon-edit",edit),l.component("el-icon-minus",minus),l.component("el-icon-plus",plus),l.component("el-icon-info",infoFilled),l.component("el-icon-search",search),l.component("el-icon-circle-plus-outline",circlePlus),l.component("el-icon-delete",_delete),l.component("el-icon-arrow-down",arrowDown),l.component("el-icon-arrow-up",arrowUp)}if(typeof window!="undefined"){let l=function(){var w=document.body,e=document.getElementById("__svg__icons__dom__1777270921870__");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__1777270921870__",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>',w.insertBefore(e,w.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",l):l()}var iconfont="",index="";function registerCPEditor(l,w,e,p){l.component(e,p)}function registerAPEditor(l,w,e,p){l.component(e,p)}function registerEPEditor(l,w,e,p){l.component(e,p)}function _isSlot(l){return typeof l=="function"||Object.prototype.toString.call(l)==="[object Object]"&&!vue.isVNode(l)}const createInputTextEditor=function(l,w){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(w)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[l],"onUpdate:modelValue":p=>this.optionModel[l]=p},null)]})}}},createTextareaEditor=function(l,w,e={}){return{props:{optionModel:Object},render(p){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(w)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"textarea",modelValue:this.optionModel[l],"onUpdate:modelValue":_=>this.optionModel[l]=_,rows:e.rows||4,autosize:e.autosize||!1},null)]})}}},createBooleanEditor=function(l,w){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(w)},{default:()=>[vue.createVNode(vue.resolveComponent("el-switch"),{modelValue:this.optionModel[l],"onUpdate:modelValue":p=>this.optionModel[l]=p},null)]})}}},createRadioButtonGroupEditor=function(l,w,e){return{props:{optionModel:Object},render(p){let _;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(w)},{default:()=>[vue.createVNode(vue.resolveComponent("el-radio-group"),{modelValue:this.optionModel[l],"onUpdate:modelValue":x=>this.optionModel[l]=x},_isSlot(_=e.optionItems.map(x=>vue.createVNode(vue.resolveComponent("el-radio-button"),{label:x.value},{default:()=>[x.label]})))?_:{default:()=>[_]})]})}}},createSelectEditor=function(l,w,e){return{props:{optionModel:Object},render(p){let _;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(w)},{default:()=>[vue.createVNode(vue.resolveComponent("el-select"),{modelValue:this.optionModel[l],"onUpdate:modelValue":x=>this.optionModel[l]=x},_isSlot(_=e.optionItems.map(x=>vue.createVNode(vue.resolveComponent("el-option"),{label:x.label,value:x.value},null)))?_:{default:()=>[_]})]})}}},createEventHandlerEditor=function(l,w){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[l,[...w]])}},render(e){let p;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:l,"label-width":"150px"},{default:()=>[vue.createVNode(vue.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(p=translate("designer.setting.addEventHandler"))?p:{default:()=>[p]})]})}}};var containerMixin={inject:["getFormConfig","getGlobalDsv"],computed:{formConfig(){return this.getFormConfig()}},methods:{appendTableRow(l){this.designer.appendTableRow(l)},appendTableCol(l){this.designer.appendTableCol(l)},onContainerDragAdd(l,w){const e=l.newIndex;w[e]&&this.designer.setSelected(w[e]),this.designer.emitHistoryChange()},onContainerDragUpdate(){this.designer.emitHistoryChange()},checkContainerMove(l){return this.designer.checkWidgetMove(l)},selectWidget(l){this.designer.setSelected(l)},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(l){if(this.parentList){let w=this.designer.cloneContainer(l);this.parentList.splice(this.indexOfParentList+1,0,w),this.designer.setSelected(w),this.designer.emitHistoryChange()}},removeWidget(){if(this.parentList){const l=this.designer.selectedWidgetName;let w=null;this.parentList.length===1?this.parentWidget&&(w=this.parentWidget):this.parentList.length===1+this.indexOfParentList?w=this.parentList[this.indexOfParentList-1]:w=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(w),this.designer.formWidget.deleteWidgetRef(l),this.designer.emitHistoryChange()})}},setWidgetOption(l,w){this.widget.options.hasOwnProperty(l)&&(this.widget.options[l]=w)}}},containerWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$r={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$l={key:0,class:"container-action"},_hoisted_2$f=["title"],_hoisted_3$d=["title"],_hoisted_4$a=["title"],_hoisted_5$8=["title"],_hoisted_6$8=["title"],_hoisted_7$6=["title"],_hoisted_8$5=["title"],_hoisted_9$4={key:1,class:"drag-handler"},_hoisted_10$2=["title"],_hoisted_11$1={key:0};function _sfc_render$r(l,w,e,p,_,x){const E=vue.resolveComponent("svg-icon");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["container-wrapper",[x.customClass]])},[vue.renderSlot(l.$slots,"default",{},void 0,!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$l,[vue.createElementVNode("i",{title:l.i18nt("designer.hint.selectParentWidget"),onClick:w[0]||(w[0]=vue.withModifiers(b=>l.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(E,{"icon-class":"el-back"})],8,_hoisted_2$f),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:l.i18nt("designer.hint.moveUpWidget"),onClick:w[1]||(w[1]=vue.withModifiers(b=>l.moveUpWidget(),["stop"]))},[vue.createVNode(E,{"icon-class":"el-move-up"})],8,_hoisted_3$d)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:l.i18nt("designer.hint.moveDownWidget"),onClick:w[2]||(w[2]=vue.withModifiers(b=>l.moveDownWidget(),["stop"]))},[vue.createVNode(E,{"icon-class":"el-move-down"})],8,_hoisted_4$a)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:2,title:l.i18nt("designer.hint.insertRow"),onClick:w[3]||(w[3]=vue.withModifiers(b=>l.appendTableRow(e.widget),["stop"]))},[vue.createVNode(E,{"icon-class":"el-insert-row"})],8,_hoisted_5$8)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:3,title:l.i18nt("designer.hint.insertColumn"),onClick:w[4]||(w[4]=vue.withModifiers(b=>l.appendTableCol(e.widget),["stop"]))},[vue.createVNode(E,{"icon-class":"el-insert-column"})],8,_hoisted_6$8)):vue.createCommentVNode("",!0),e.widget.type==="grid"||e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:4,title:l.i18nt("designer.hint.cloneWidget"),onClick:w[5]||(w[5]=vue.withModifiers(b=>l.cloneContainer(e.widget),["stop"]))},[vue.createVNode(E,{"icon-class":"el-clone"})],8,_hoisted_7$6)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:l.i18nt("designer.hint.remove"),onClick:w[6]||(w[6]=vue.withModifiers((...b)=>l.removeWidget&&l.removeWidget(...b),["stop"]))},[vue.createVNode(E,{"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:l.i18nt("designer.hint.dragHandler")},[vue.createVNode(E,{"icon-class":"el-drag-move"})],8,_hoisted_10$2),vue.createElementVNode("i",null,vue.toDisplayString(l.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(E,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2)}var ContainerWrapper=_export_sfc$1(_sfc_main$r,[["render",_sfc_render$r],["__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(l,w){let e=this.refList[l];return!e&&!!w&&this.$message.error(this.i18nt("render.hint.refNotFound")+l),e},registerToRefList(l){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(l&&delete this.refList[l],this.refList[this.widget.options.name]=this)}}},cardWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$q={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:Ft($e({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(l){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(l){this.widget.options.folded=!!l}}},_hoisted_1$k={class:"label"},_hoisted_2$e={class:"form-widget-list"};function _sfc_render$q(l,w,e,p,_,x){const E=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),d=vue.resolveComponent("draggable"),c=vue.resolveComponent("el-card"),r=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(r,{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(c,{key:e.widget.id,class:vue.normalizeClass(["card-container",[x.selected?"selected":"",e.widget.options.folded?"folded":"",x.customClass]]),onClick:w[2]||(w[2]=vue.withModifiers(o=>l.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:w[0]||(w[0]=(...o)=>x.toggleCard&&x.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(E)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$k,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:w[1]||(w[1]=o=>l.onContainerDragAdd(o,e.widget.widgetList)),onUpdate:l.onContainerDragUpdate,move:x.checkContainerMove}),{item:vue.withCtx(({element:o,index:t})=>[vue.createElementVNode("div",_hoisted_2$e,[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$q,[["render",_sfc_render$q],["__scopeId","data-v-2c3be1b8"]]),cardItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$p={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:Ft($e({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$j={class:"label"};function _sfc_render$p(l,w,e,p,_,x){const E=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),d=vue.resolveComponent("el-card"),c=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(c,{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":"",x.customClass]]),ref:e.widget.id,shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:w[0]||(w[0]=(...r)=>x.toggleCard&&x.toggleCard(...r)),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(E)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$j,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,(r,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[r.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(l.getComponentByContainer(r)),{widget:r,key:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(l.$slots),t=>({name:t,fn:vue.withCtx(i=>[vue.renderSlot(l.$slots,t,vue.mergeProps({ref_for:!0},i),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(r.type+"-widget"),{field:r,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(l.$slots),t=>({name:t,fn:vue.withCtx(i=>[vue.renderSlot(l.$slots,t,vue.mergeProps({ref_for:!0},i),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$p,[["render",_sfc_render$p],["__scopeId","data-v-2f0daae4"]]);const ACE_BASE_PATH="https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini",_sfc_main$o={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$o(l,w,e,p,_,x){const E=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(E,{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:x.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$o,[["render",_sfc_render$o]]),cryptoJs={exports:{}},core={exports:{}};(function(l,w){(function(e,p){l.exports=p()})(commonjsGlobal,function(){var e=e||function(p,_){var x;if(typeof window!="undefined"&&window.crypto&&(x=window.crypto),typeof self!="undefined"&&self.crypto&&(x=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(x=globalThis.crypto),!x&&typeof window!="undefined"&&window.msCrypto&&(x=window.msCrypto),!x&&typeof commonjsGlobal!="undefined"&&commonjsGlobal.crypto&&(x=commonjsGlobal.crypto),!x&&typeof commonjsRequire=="function")try{x=require("crypto")}catch{}var E=function(){if(x){if(typeof x.getRandomValues=="function")try{return x.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof x.randomBytes=="function")try{return x.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(C){var g;return f.prototype=C,g=new f,f.prototype=null,g}}(),d={},c=d.lib={},r=c.Base=function(){return{extend:function(f){var C=b(this);return f&&C.mixIn(f),(!C.hasOwnProperty("init")||this.init===C.init)&&(C.init=function(){C.$super.init.apply(this,arguments)}),C.init.prototype=C,C.$super=this,C},create:function(){var f=this.extend();return f.init.apply(f,arguments),f},init:function(){},mixIn:function(f){for(var C in f)f.hasOwnProperty(C)&&(this[C]=f[C]);f.hasOwnProperty("toString")&&(this.toString=f.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),o=c.WordArray=r.extend({init:function(f,C){f=this.words=f||[],C!=_?this.sigBytes=C:this.sigBytes=f.length*4},toString:function(f){return(f||i).stringify(this)},concat:function(f){var C=this.words,g=f.words,v=this.sigBytes,m=f.sigBytes;if(this.clamp(),v%4)for(var A=0;A<m;A++){var F=g[A>>>2]>>>24-A%4*8&255;C[v+A>>>2]|=F<<24-(v+A)%4*8}else for(var D=0;D<m;D+=4)C[v+D>>>2]=g[D>>>2];return this.sigBytes+=m,this},clamp:function(){var f=this.words,C=this.sigBytes;f[C>>>2]&=4294967295<<32-C%4*8,f.length=p.ceil(C/4)},clone:function(){var f=r.clone.call(this);return f.words=this.words.slice(0),f},random:function(f){for(var C=[],g=0;g<f;g+=4)C.push(E());return new o.init(C,f)}}),t=d.enc={},i=t.Hex={stringify:function(f){for(var C=f.words,g=f.sigBytes,v=[],m=0;m<g;m++){var A=C[m>>>2]>>>24-m%4*8&255;v.push((A>>>4).toString(16)),v.push((A&15).toString(16))}return v.join("")},parse:function(f){for(var C=f.length,g=[],v=0;v<C;v+=2)g[v>>>3]|=parseInt(f.substr(v,2),16)<<24-v%8*4;return new o.init(g,C/2)}},n=t.Latin1={stringify:function(f){for(var C=f.words,g=f.sigBytes,v=[],m=0;m<g;m++){var A=C[m>>>2]>>>24-m%4*8&255;v.push(String.fromCharCode(A))}return v.join("")},parse:function(f){for(var C=f.length,g=[],v=0;v<C;v++)g[v>>>2]|=(f.charCodeAt(v)&255)<<24-v%4*8;return new o.init(g,C)}},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)))}},a=c.BufferedBlockAlgorithm=r.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 C,g=this._data,v=g.words,m=g.sigBytes,A=this.blockSize,F=A*4,D=m/F;f?D=p.ceil(D):D=p.max((D|0)-this._minBufferSize,0);var k=D*A,I=p.min(k*4,m);if(k){for(var L=0;L<k;L+=A)this._doProcessBlock(v,L);C=v.splice(0,k),g.sigBytes-=I}return new o.init(C,I)},clone:function(){var f=r.clone.call(this);return f._data=this._data.clone(),f},_minBufferSize:0});c.Hasher=a.extend({cfg:r.extend(),init:function(f){this.cfg=this.cfg.extend(f),this.reset()},reset:function(){a.reset.call(this),this._doReset()},update:function(f){return this._append(f),this._process(),this},finalize:function(f){f&&this._append(f);var C=this._doFinalize();return C},blockSize:512/32,_createHelper:function(f){return function(C,g){return new f.init(g).finalize(C)}},_createHmacHelper:function(f){return function(C,g){return new h.HMAC.init(f,g).finalize(C)}}});var h=d.algo={};return d}(Math);return e})})(core);var x64Core={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(p){var _=e,x=_.lib,E=x.Base,b=x.WordArray,d=_.x64={};d.Word=E.extend({init:function(c,r){this.high=c,this.low=r}}),d.WordArray=E.extend({init:function(c,r){c=this.words=c||[],r!=p?this.sigBytes=r:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,r=c.length,o=[],t=0;t<r;t++){var i=c[t];o.push(i.high),o.push(i.low)}return b.create(o,this.sigBytes)},clone:function(){for(var c=E.clone.call(this),r=c.words=this.words.slice(0),o=r.length,t=0;t<o;t++)r[t]=r[t].clone();return c}})}(),e})})(x64Core);var libTypedarrays={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(){if(typeof ArrayBuffer=="function"){var p=e,_=p.lib,x=_.WordArray,E=x.init,b=x.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 c=d.byteLength,r=[],o=0;o<c;o++)r[o>>>2]|=d[o]<<24-o%4*8;E.call(this,r,c)}else E.apply(this,arguments)};b.prototype=x}}(),e.lib.WordArray})})(libTypedarrays);var encUtf16={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.lib,x=_.WordArray,E=p.enc;E.Utf16=E.Utf16BE={stringify:function(d){for(var c=d.words,r=d.sigBytes,o=[],t=0;t<r;t+=2){var i=c[t>>>2]>>>16-t%4*8&65535;o.push(String.fromCharCode(i))}return o.join("")},parse:function(d){for(var c=d.length,r=[],o=0;o<c;o++)r[o>>>1]|=d.charCodeAt(o)<<16-o%2*16;return x.create(r,c*2)}},E.Utf16LE={stringify:function(d){for(var c=d.words,r=d.sigBytes,o=[],t=0;t<r;t+=2){var i=b(c[t>>>2]>>>16-t%4*8&65535);o.push(String.fromCharCode(i))}return o.join("")},parse:function(d){for(var c=d.length,r=[],o=0;o<c;o++)r[o>>>1]|=b(d.charCodeAt(o)<<16-o%2*16);return x.create(r,c*2)}};function b(d){return d<<8&4278255360|d>>>8&16711935}}(),e.enc.Utf16})})(encUtf16);var encBase64={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.lib,x=_.WordArray,E=p.enc;E.Base64={stringify:function(d){var c=d.words,r=d.sigBytes,o=this._map;d.clamp();for(var t=[],i=0;i<r;i+=3)for(var n=c[i>>>2]>>>24-i%4*8&255,s=c[i+1>>>2]>>>24-(i+1)%4*8&255,a=c[i+2>>>2]>>>24-(i+2)%4*8&255,h=n<<16|s<<8|a,f=0;f<4&&i+f*.75<r;f++)t.push(o.charAt(h>>>6*(3-f)&63));var C=o.charAt(64);if(C)for(;t.length%4;)t.push(C);return t.join("")},parse:function(d){var c=d.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var t=0;t<r.length;t++)o[r.charCodeAt(t)]=t}var i=r.charAt(64);if(i){var n=d.indexOf(i);n!==-1&&(c=n)}return b(d,c,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function b(d,c,r){for(var o=[],t=0,i=0;i<c;i++)if(i%4){var n=r[d.charCodeAt(i-1)]<<i%4*2,s=r[d.charCodeAt(i)]>>>6-i%4*2,a=n|s;o[t>>>2]|=a<<24-t%4*8,t++}return x.create(o,t)}}(),e.enc.Base64})})(encBase64);var encBase64url={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.lib,x=_.WordArray,E=p.enc;E.Base64url={stringify:function(d,c){c===void 0&&(c=!0);var r=d.words,o=d.sigBytes,t=c?this._safe_map:this._map;d.clamp();for(var i=[],n=0;n<o;n+=3)for(var s=r[n>>>2]>>>24-n%4*8&255,a=r[n+1>>>2]>>>24-(n+1)%4*8&255,h=r[n+2>>>2]>>>24-(n+2)%4*8&255,f=s<<16|a<<8|h,C=0;C<4&&n+C*.75<o;C++)i.push(t.charAt(f>>>6*(3-C)&63));var g=t.charAt(64);if(g)for(;i.length%4;)i.push(g);return i.join("")},parse:function(d,c){c===void 0&&(c=!0);var r=d.length,o=c?this._safe_map:this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var i=0;i<o.length;i++)t[o.charCodeAt(i)]=i}var n=o.charAt(64);if(n){var s=d.indexOf(n);s!==-1&&(r=s)}return b(d,r,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function b(d,c,r){for(var o=[],t=0,i=0;i<c;i++)if(i%4){var n=r[d.charCodeAt(i-1)]<<i%4*2,s=r[d.charCodeAt(i)]>>>6-i%4*2,a=n|s;o[t>>>2]|=a<<24-t%4*8,t++}return x.create(o,t)}}(),e.enc.Base64url})})(encBase64url);var md5={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(p){var _=e,x=_.lib,E=x.WordArray,b=x.Hasher,d=_.algo,c=[];(function(){for(var s=0;s<64;s++)c[s]=p.abs(p.sin(s+1))*4294967296|0})();var r=d.MD5=b.extend({_doReset:function(){this._hash=new E.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(s,a){for(var h=0;h<16;h++){var f=a+h,C=s[f];s[f]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}var g=this._hash.words,v=s[a+0],m=s[a+1],A=s[a+2],F=s[a+3],D=s[a+4],k=s[a+5],I=s[a+6],L=s[a+7],T=s[a+8],M=s[a+9],S=s[a+10],N=s[a+11],B=s[a+12],P=s[a+13],z=s[a+14],$=s[a+15],O=g[0],H=g[1],V=g[2],U=g[3];O=o(O,H,V,U,v,7,c[0]),U=o(U,O,H,V,m,12,c[1]),V=o(V,U,O,H,A,17,c[2]),H=o(H,V,U,O,F,22,c[3]),O=o(O,H,V,U,D,7,c[4]),U=o(U,O,H,V,k,12,c[5]),V=o(V,U,O,H,I,17,c[6]),H=o(H,V,U,O,L,22,c[7]),O=o(O,H,V,U,T,7,c[8]),U=o(U,O,H,V,M,12,c[9]),V=o(V,U,O,H,S,17,c[10]),H=o(H,V,U,O,N,22,c[11]),O=o(O,H,V,U,B,7,c[12]),U=o(U,O,H,V,P,12,c[13]),V=o(V,U,O,H,z,17,c[14]),H=o(H,V,U,O,$,22,c[15]),O=t(O,H,V,U,m,5,c[16]),U=t(U,O,H,V,I,9,c[17]),V=t(V,U,O,H,N,14,c[18]),H=t(H,V,U,O,v,20,c[19]),O=t(O,H,V,U,k,5,c[20]),U=t(U,O,H,V,S,9,c[21]),V=t(V,U,O,H,$,14,c[22]),H=t(H,V,U,O,D,20,c[23]),O=t(O,H,V,U,M,5,c[24]),U=t(U,O,H,V,z,9,c[25]),V=t(V,U,O,H,F,14,c[26]),H=t(H,V,U,O,T,20,c[27]),O=t(O,H,V,U,P,5,c[28]),U=t(U,O,H,V,A,9,c[29]),V=t(V,U,O,H,L,14,c[30]),H=t(H,V,U,O,B,20,c[31]),O=i(O,H,V,U,k,4,c[32]),U=i(U,O,H,V,T,11,c[33]),V=i(V,U,O,H,N,16,c[34]),H=i(H,V,U,O,z,23,c[35]),O=i(O,H,V,U,m,4,c[36]),U=i(U,O,H,V,D,11,c[37]),V=i(V,U,O,H,L,16,c[38]),H=i(H,V,U,O,S,23,c[39]),O=i(O,H,V,U,P,4,c[40]),U=i(U,O,H,V,v,11,c[41]),V=i(V,U,O,H,F,16,c[42]),H=i(H,V,U,O,I,23,c[43]),O=i(O,H,V,U,M,4,c[44]),U=i(U,O,H,V,B,11,c[45]),V=i(V,U,O,H,$,16,c[46]),H=i(H,V,U,O,A,23,c[47]),O=n(O,H,V,U,v,6,c[48]),U=n(U,O,H,V,L,10,c[49]),V=n(V,U,O,H,z,15,c[50]),H=n(H,V,U,O,k,21,c[51]),O=n(O,H,V,U,B,6,c[52]),U=n(U,O,H,V,F,10,c[53]),V=n(V,U,O,H,S,15,c[54]),H=n(H,V,U,O,m,21,c[55]),O=n(O,H,V,U,T,6,c[56]),U=n(U,O,H,V,$,10,c[57]),V=n(V,U,O,H,I,15,c[58]),H=n(H,V,U,O,P,21,c[59]),O=n(O,H,V,U,D,6,c[60]),U=n(U,O,H,V,N,10,c[61]),V=n(V,U,O,H,A,15,c[62]),H=n(H,V,U,O,M,21,c[63]),g[0]=g[0]+O|0,g[1]=g[1]+H|0,g[2]=g[2]+V|0,g[3]=g[3]+U|0},_doFinalize:function(){var s=this._data,a=s.words,h=this._nDataBytes*8,f=s.sigBytes*8;a[f>>>5]|=128<<24-f%32;var C=p.floor(h/4294967296),g=h;a[(f+64>>>9<<4)+15]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,a[(f+64>>>9<<4)+14]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,s.sigBytes=(a.length+1)*4,this._process();for(var v=this._hash,m=v.words,A=0;A<4;A++){var F=m[A];m[A]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360}return v},clone:function(){var s=b.clone.call(this);return s._hash=this._hash.clone(),s}});function o(s,a,h,f,C,g,v){var m=s+(a&h|~a&f)+C+v;return(m<<g|m>>>32-g)+a}function t(s,a,h,f,C,g,v){var m=s+(a&f|h&~f)+C+v;return(m<<g|m>>>32-g)+a}function i(s,a,h,f,C,g,v){var m=s+(a^h^f)+C+v;return(m<<g|m>>>32-g)+a}function n(s,a,h,f,C,g,v){var m=s+(h^(a|~f))+C+v;return(m<<g|m>>>32-g)+a}_.MD5=b._createHelper(r),_.HmacMD5=b._createHmacHelper(r)}(Math),e.MD5})})(md5);var sha1={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.lib,x=_.WordArray,E=_.Hasher,b=p.algo,d=[],c=b.SHA1=E.extend({_doReset:function(){this._hash=new x.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,o){for(var t=this._hash.words,i=t[0],n=t[1],s=t[2],a=t[3],h=t[4],f=0;f<80;f++){if(f<16)d[f]=r[o+f]|0;else{var C=d[f-3]^d[f-8]^d[f-14]^d[f-16];d[f]=C<<1|C>>>31}var g=(i<<5|i>>>27)+h+d[f];f<20?g+=(n&s|~n&a)+1518500249:f<40?g+=(n^s^a)+1859775393:f<60?g+=(n&s|n&a|s&a)-1894007588:g+=(n^s^a)-899497514,h=a,a=s,s=n<<30|n>>>2,n=i,i=g}t[0]=t[0]+i|0,t[1]=t[1]+n|0,t[2]=t[2]+s|0,t[3]=t[3]+a|0,t[4]=t[4]+h|0},_doFinalize:function(){var r=this._data,o=r.words,t=this._nDataBytes*8,i=r.sigBytes*8;return o[i>>>5]|=128<<24-i%32,o[(i+64>>>9<<4)+14]=Math.floor(t/4294967296),o[(i+64>>>9<<4)+15]=t,r.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var r=E.clone.call(this);return r._hash=this._hash.clone(),r}});p.SHA1=E._createHelper(c),p.HmacSHA1=E._createHmacHelper(c)}(),e.SHA1})})(sha1);var sha256={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(p){var _=e,x=_.lib,E=x.WordArray,b=x.Hasher,d=_.algo,c=[],r=[];(function(){function i(h){for(var f=p.sqrt(h),C=2;C<=f;C++)if(!(h%C))return!1;return!0}function n(h){return(h-(h|0))*4294967296|0}for(var s=2,a=0;a<64;)i(s)&&(a<8&&(c[a]=n(p.pow(s,1/2))),r[a]=n(p.pow(s,1/3)),a++),s++})();var o=[],t=d.SHA256=b.extend({_doReset:function(){this._hash=new E.init(c.slice(0))},_doProcessBlock:function(i,n){for(var s=this._hash.words,a=s[0],h=s[1],f=s[2],C=s[3],g=s[4],v=s[5],m=s[6],A=s[7],F=0;F<64;F++){if(F<16)o[F]=i[n+F]|0;else{var D=o[F-15],k=(D<<25|D>>>7)^(D<<14|D>>>18)^D>>>3,I=o[F-2],L=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;o[F]=k+o[F-7]+L+o[F-16]}var T=g&v^~g&m,M=a&h^a&f^h&f,S=(a<<30|a>>>2)^(a<<19|a>>>13)^(a<<10|a>>>22),N=(g<<26|g>>>6)^(g<<21|g>>>11)^(g<<7|g>>>25),B=A+N+T+r[F]+o[F],P=S+M;A=m,m=v,v=g,g=C+B|0,C=f,f=h,h=a,a=B+P|0}s[0]=s[0]+a|0,s[1]=s[1]+h|0,s[2]=s[2]+f|0,s[3]=s[3]+C|0,s[4]=s[4]+g|0,s[5]=s[5]+v|0,s[6]=s[6]+m|0,s[7]=s[7]+A|0},_doFinalize:function(){var i=this._data,n=i.words,s=this._nDataBytes*8,a=i.sigBytes*8;return n[a>>>5]|=128<<24-a%32,n[(a+64>>>9<<4)+14]=p.floor(s/4294967296),n[(a+64>>>9<<4)+15]=s,i.sigBytes=n.length*4,this._process(),this._hash},clone:function(){var i=b.clone.call(this);return i._hash=this._hash.clone(),i}});_.SHA256=b._createHelper(t),_.HmacSHA256=b._createHmacHelper(t)}(Math),e.SHA256})})(sha256);var sha224={exports:{}};(function(l,w){(function(e,p,_){l.exports=p(core.exports,sha256.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.lib,x=_.WordArray,E=p.algo,b=E.SHA256,d=E.SHA224=b.extend({_doReset:function(){this._hash=new x.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=b._doFinalize.call(this);return c.sigBytes-=4,c}});p.SHA224=b._createHelper(d),p.HmacSHA224=b._createHmacHelper(d)}(),e.SHA224})})(sha224);var sha512={exports:{}};(function(l,w){(function(e,p,_){l.exports=p(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.lib,x=_.Hasher,E=p.x64,b=E.Word,d=E.WordArray,c=p.algo;function r(){return b.create.apply(b,arguments)}var o=[r(1116352408,3609767458),r(1899447441,602891725),r(3049323471,3964484399),r(3921009573,2173295548),r(961987163,4081628472),r(1508970993,3053834265),r(2453635748,2937671579),r(2870763221,3664609560),r(3624381080,2734883394),r(310598401,1164996542),r(607225278,1323610764),r(1426881987,3590304994),r(1925078388,4068182383),r(2162078206,991336113),r(2614888103,633803317),r(3248222580,3479774868),r(3835390401,2666613458),r(4022224774,944711139),r(264347078,2341262773),r(604807628,2007800933),r(770255983,1495990901),r(1249150122,1856431235),r(1555081692,3175218132),r(1996064986,2198950837),r(2554220882,3999719339),r(2821834349,766784016),r(2952996808,2566594879),r(3210313671,3203337956),r(3336571891,1034457026),r(3584528711,2466948901),r(113926993,3758326383),r(338241895,168717936),r(666307205,1188179964),r(773529912,1546045734),r(1294757372,1522805485),r(1396182291,2643833823),r(1695183700,2343527390),r(1986661051,1014477480),r(2177026350,1206759142),r(2456956037,344077627),r(2730485921,1290863460),r(2820302411,3158454273),r(3259730800,3505952657),r(3345764771,106217008),r(3516065817,3606008344),r(3600352804,1432725776),r(4094571909,1467031594),r(275423344,851169720),r(430227734,3100823752),r(506948616,1363258195),r(659060556,3750685593),r(883997877,3785050280),r(958139571,3318307427),r(1322822218,3812723403),r(1537002063,2003034995),r(1747873779,3602036899),r(1955562222,1575990012),r(2024104815,1125592928),r(2227730452,2716904306),r(2361852424,442776044),r(2428436474,593698344),r(2756734187,3733110249),r(3204031479,2999351573),r(3329325298,3815920427),r(3391569614,3928383900),r(3515267271,566280711),r(3940187606,3454069534),r(4118630271,4000239992),r(116418474,1914138554),r(174292421,2731055270),r(289380356,3203993006),r(460393269,320620315),r(685471733,587496836),r(852142971,1086792851),r(1017036298,365543100),r(1126000580,2618297676),r(1288033470,3409855158),r(1501505948,4234509866),r(1607167915,987167468),r(1816402316,1246189591)],t=[];(function(){for(var n=0;n<80;n++)t[n]=r()})();var i=c.SHA512=x.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 a=this._hash.words,h=a[0],f=a[1],C=a[2],g=a[3],v=a[4],m=a[5],A=a[6],F=a[7],D=h.high,k=h.low,I=f.high,L=f.low,T=C.high,M=C.low,S=g.high,N=g.low,B=v.high,P=v.low,z=m.high,$=m.low,O=A.high,H=A.low,V=F.high,U=F.low,q=D,j=k,K=I,Y=L,J=T,te=M,se=S,ge=N,me=B,ve=P,we=z,Oe=$,Ie=O,oe=H,le=V,pe=U,fe=0;fe<80;fe++){var ue,Ce,ke=t[fe];if(fe<16)Ce=ke.high=n[s+fe*2]|0,ue=ke.low=n[s+fe*2+1]|0;else{var Se=t[fe-15],Ze=Se.high,Ye=Se.low,Pe=(Ze>>>1|Ye<<31)^(Ze>>>8|Ye<<24)^Ze>>>7,Qt=(Ye>>>1|Ze<<31)^(Ye>>>8|Ze<<24)^(Ye>>>7|Ze<<25),He=t[fe-2],et=He.high,Vt=He.low,Dn=(et>>>19|Vt<<13)^(et<<3|Vt>>>29)^et>>>6,pn=(Vt>>>19|et<<13)^(Vt<<3|et>>>29)^(Vt>>>6|et<<26),mn=t[fe-7],In=mn.high,Nn=mn.low,Yn=t[fe-16],qi=Yn.high,Jn=Yn.low;ue=Qt+Nn,Ce=Pe+In+(ue>>>0<Qt>>>0?1:0),ue=ue+pn,Ce=Ce+Dn+(ue>>>0<pn>>>0?1:0),ue=ue+Jn,Ce=Ce+qi+(ue>>>0<Jn>>>0?1:0),ke.high=Ce,ke.low=ue}var Xn=me&we^~me&Ie,Rn=ve&Oe^~ve&oe,Gi=q&K^q&J^K&J,Ki=j&Y^j&te^Y&te,Qi=(q>>>28|j<<4)^(q<<30|j>>>2)^(q<<25|j>>>7),ei=(j>>>28|q<<4)^(j<<30|q>>>2)^(j<<25|q>>>7),ti=(me>>>14|ve<<18)^(me>>>18|ve<<14)^(me<<23|ve>>>9),Zi=(ve>>>14|me<<18)^(ve>>>18|me<<14)^(ve<<23|me>>>9),ni=o[fe],Yi=ni.high,vn=ni.low,lt=pe+Zi,Ct=le+ti+(lt>>>0<pe>>>0?1:0),lt=lt+Rn,Ct=Ct+Xn+(lt>>>0<Rn>>>0?1:0),lt=lt+vn,Ct=Ct+Yi+(lt>>>0<vn>>>0?1:0),lt=lt+ue,Ct=Ct+Ce+(lt>>>0<ue>>>0?1:0),ii=ei+Ki,Ji=Qi+Gi+(ii>>>0<ei>>>0?1:0);le=Ie,pe=oe,Ie=we,oe=Oe,we=me,Oe=ve,ve=ge+lt|0,me=se+Ct+(ve>>>0<ge>>>0?1:0)|0,se=J,ge=te,J=K,te=Y,K=q,Y=j,j=lt+ii|0,q=Ct+Ji+(j>>>0<lt>>>0?1:0)|0}k=h.low=k+j,h.high=D+q+(k>>>0<j>>>0?1:0),L=f.low=L+Y,f.high=I+K+(L>>>0<Y>>>0?1:0),M=C.low=M+te,C.high=T+J+(M>>>0<te>>>0?1:0),N=g.low=N+ge,g.high=S+se+(N>>>0<ge>>>0?1:0),P=v.low=P+ve,v.high=B+me+(P>>>0<ve>>>0?1:0),$=m.low=$+Oe,m.high=z+we+($>>>0<Oe>>>0?1:0),H=A.low=H+oe,A.high=O+Ie+(H>>>0<oe>>>0?1:0),U=F.low=U+pe,F.high=V+le+(U>>>0<pe>>>0?1:0)},_doFinalize:function(){var n=this._data,s=n.words,a=this._nDataBytes*8,h=n.sigBytes*8;s[h>>>5]|=128<<24-h%32,s[(h+128>>>10<<5)+30]=Math.floor(a/4294967296),s[(h+128>>>10<<5)+31]=a,n.sigBytes=s.length*4,this._process();var f=this._hash.toX32();return f},clone:function(){var n=x.clone.call(this);return n._hash=this._hash.clone(),n},blockSize:1024/32});p.SHA512=x._createHelper(i),p.HmacSHA512=x._createHmacHelper(i)}(),e.SHA512})})(sha512);var sha384={exports:{}};(function(l,w){(function(e,p,_){l.exports=p(core.exports,x64Core.exports,sha512.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.x64,x=_.Word,E=_.WordArray,b=p.algo,d=b.SHA512,c=b.SHA384=d.extend({_doReset:function(){this._hash=new E.init([new x.init(3418070365,3238371032),new x.init(1654270250,914150663),new x.init(2438529370,812702999),new x.init(355462360,4144912697),new x.init(1731405415,4290775857),new x.init(2394180231,1750603025),new x.init(3675008525,1694076839),new x.init(1203062813,3204075428)])},_doFinalize:function(){var r=d._doFinalize.call(this);return r.sigBytes-=16,r}});p.SHA384=d._createHelper(c),p.HmacSHA384=d._createHmacHelper(c)}(),e.SHA384})})(sha384);var sha3={exports:{}};(function(l,w){(function(e,p,_){l.exports=p(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(p){var _=e,x=_.lib,E=x.WordArray,b=x.Hasher,d=_.x64,c=d.Word,r=_.algo,o=[],t=[],i=[];(function(){for(var a=1,h=0,f=0;f<24;f++){o[a+5*h]=(f+1)*(f+2)/2%64;var C=h%5,g=(2*a+3*h)%5;a=C,h=g}for(var a=0;a<5;a++)for(var h=0;h<5;h++)t[a+5*h]=h+(2*a+3*h)%5*5;for(var v=1,m=0;m<24;m++){for(var A=0,F=0,D=0;D<7;D++){if(v&1){var k=(1<<D)-1;k<32?F^=1<<k:A^=1<<k-32}v&128?v=v<<1^113:v<<=1}i[m]=c.create(A,F)}})();var n=[];(function(){for(var a=0;a<25;a++)n[a]=c.create()})();var s=r.SHA3=b.extend({cfg:b.cfg.extend({outputLength:512}),_doReset:function(){for(var a=this._state=[],h=0;h<25;h++)a[h]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(a,h){for(var f=this._state,C=this.blockSize/2,g=0;g<C;g++){var v=a[h+2*g],m=a[h+2*g+1];v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,m=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360;var A=f[g];A.high^=m,A.low^=v}for(var F=0;F<24;F++){for(var D=0;D<5;D++){for(var k=0,I=0,L=0;L<5;L++){var A=f[D+5*L];k^=A.high,I^=A.low}var T=n[D];T.high=k,T.low=I}for(var D=0;D<5;D++)for(var M=n[(D+4)%5],S=n[(D+1)%5],N=S.high,B=S.low,k=M.high^(N<<1|B>>>31),I=M.low^(B<<1|N>>>31),L=0;L<5;L++){var A=f[D+5*L];A.high^=k,A.low^=I}for(var P=1;P<25;P++){var k,I,A=f[P],z=A.high,$=A.low,O=o[P];O<32?(k=z<<O|$>>>32-O,I=$<<O|z>>>32-O):(k=$<<O-32|z>>>64-O,I=z<<O-32|$>>>64-O);var H=n[t[P]];H.high=k,H.low=I}var V=n[0],U=f[0];V.high=U.high,V.low=U.low;for(var D=0;D<5;D++)for(var L=0;L<5;L++){var P=D+5*L,A=f[P],q=n[P],j=n[(D+1)%5+5*L],K=n[(D+2)%5+5*L];A.high=q.high^~j.high&K.high,A.low=q.low^~j.low&K.low}var A=f[0],Y=i[F];A.high^=Y.high,A.low^=Y.low}},_doFinalize:function(){var a=this._data,h=a.words;this._nDataBytes*8;var f=a.sigBytes*8,C=this.blockSize*32;h[f>>>5]|=1<<24-f%32,h[(p.ceil((f+1)/C)*C>>>5)-1]|=128,a.sigBytes=h.length*4,this._process();for(var g=this._state,v=this.cfg.outputLength/8,m=v/8,A=[],F=0;F<m;F++){var D=g[F],k=D.high,I=D.low;k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,A.push(I),A.push(k)}return new E.init(A,v)},clone:function(){for(var a=b.clone.call(this),h=a._state=this._state.slice(0),f=0;f<25;f++)h[f]=h[f].clone();return a}});_.SHA3=b._createHelper(s),_.HmacSHA3=b._createHmacHelper(s)}(Math),e.SHA3})})(sha3);var ripemd160={exports:{}};(function(l,w){(function(e,p){l.exports=p(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 p=this.getWidgetRef(e);!!p&&!p.subFormItemFlag&&!!p.resetField&&p.resetField()}),this.$nextTick(()=>{this.clearValidate()})},clearValidate(l){this.$refs.renderForm.clearValidate(l)},validateForm(l){this.$refs.renderForm.validate(w=>{w&&!!this.formConfig&&!!this.formConfig.onFormValidateSuccess&&this.emitFormValidateSuccess(this.formDataModel),l(w)})},emitFormValidateSuccess(l){if(!(!this.formConfig||!this.formConfig.onFormValidateSuccess))try{new Function("formData",this.formConfig.onFormValidateSuccess).call(this,l)}catch(w){console.error("onFormValidateSuccess",w)}},validateFields(){},disableWidgets(l){l&&(typeof l=="string"?this.findWidgetAndSetDisabled(l,!0):Array.isArray(l)&&l.forEach(w=>{this.findWidgetAndSetDisabled(w,!0)}))},disableFields(l){this.disableWidgets(l)},enableFields(l){this.enableWidgets(l)},enableWidgets(l){l&&(typeof l=="string"?this.findWidgetAndSetDisabled(l,!1):Array.isArray(l)&&l.forEach(w=>{this.findWidgetAndSetDisabled(w,!1)}))},hideWidgets(l){l&&(typeof l=="string"?this.findWidgetAndSetHidden(l,!0):Array.isArray(l)&&l.forEach(w=>{this.findWidgetAndSetHidden(w,!0)}))},showWidgets(l){l&&(typeof l=="string"?this.findWidgetAndSetHidden(l,!1):Array.isArray(l)&&l.forEach(w=>{this.findWidgetAndSetHidden(w,!1)}))},getFieldWidgets(){return getAllFieldWidgets(this.formJsonObj.widgetList)},getContainerWidgets(){return getAllContainerWidgets(this.formJsonObj.widgetList)},addEC(l,w){this.externalComponents[l]=w},hasEC(l){return this.externalComponents.hasOwnProperty(l)},getEC(l){return this.externalComponents[l]},getGlobalDsv(){return this.globalDsv},findColByName(l,w){const e=l!=null?l:this.formJsonObj&&this.formJsonObj.widgetList;if(!e||!w)return null;for(const p of e){if(p.type==="grid"&&p.cols&&p.cols.length){const _=p.cols.find(x=>x.options&&x.options.name===w);if(_)return _}if(p.type==="grid-col"&&p.options&&p.options.name===w)return p;if(p.widgetList&&p.widgetList.length){const _=this.findColByName(p.widgetList,w);if(_)return _}if(p.cols&&p.cols.length)for(const _ of p.cols){if(_.options&&_.options.name===w)return _;if(_.widgetList&&_.widgetList.length){const x=this.findColByName(_.widgetList,w);if(x)return x}}}return null},setColHidden(l,w){const e=this.findColByName(null,l);return!e||!e.options?!1:(e.options.hidden=!!w,this.$nextTick(()=>this.$forceUpdate()),!0)}}};function _sfc_render$s(l,w,e,p,_,x){const E=vue.resolveComponent("el-form");return vue.openBlock(),vue.createBlock(E,{"label-position":x.labelPosition,size:x.size,class:vue.normalizeClass([[x.customClass],"render-form"]),"label-width":x.labelWidth,"validate-on-rule-change":!1,model:_.formDataModel,ref:"renderForm",onSubmit:w[0]||(w[0]=vue.withModifiers(()=>{},["prevent"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(x.widgetList,(b,d)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[b.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(x.getContainerWidgetName(b)),{widget:b,key:b.id,"parent-list":x.widgetList,"index-of-parent-list":d,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(l.$slots),c=>({name:c,fn:vue.withCtx(r=>[vue.renderSlot(l.$slots,c,vue.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(x.getWidgetName(b)),{field:b,"form-model":_.formDataModel,designer:null,key:b.id,"parent-list":x.widgetList,"index-of-parent-list":d,"parent-widget":null},vue.createSlots({_:2},[vue.renderList(Object.keys(l.$slots),c=>({name:c,fn:vue.withCtx(r=>[vue.renderSlot(l.$slots,c,vue.mergeProps({ref_for:!0},r),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$s,[["render",_sfc_render$s],["__scopeId","data-v-6b16d674"]]);function registerIcon(l){l.component("el-icon-edit",edit),l.component("el-icon-minus",minus),l.component("el-icon-plus",plus),l.component("el-icon-info",infoFilled),l.component("el-icon-search",search),l.component("el-icon-circle-plus-outline",circlePlus),l.component("el-icon-delete",_delete),l.component("el-icon-arrow-down",arrowDown),l.component("el-icon-arrow-up",arrowUp)}if(typeof window!="undefined"){let l=function(){var w=document.body,e=document.getElementById("__svg__icons__dom__1777272744315__");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__1777272744315__",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>',w.insertBefore(e,w.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",l):l()}var iconfont="",index="";function registerCPEditor(l,w,e,p){l.component(e,p)}function registerAPEditor(l,w,e,p){l.component(e,p)}function registerEPEditor(l,w,e,p){l.component(e,p)}function _isSlot(l){return typeof l=="function"||Object.prototype.toString.call(l)==="[object Object]"&&!vue.isVNode(l)}const createInputTextEditor=function(l,w){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(w)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[l],"onUpdate:modelValue":p=>this.optionModel[l]=p},null)]})}}},createTextareaEditor=function(l,w,e={}){return{props:{optionModel:Object},render(p){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(w)},{default:()=>[vue.createVNode(vue.resolveComponent("el-input"),{type:"textarea",modelValue:this.optionModel[l],"onUpdate:modelValue":_=>this.optionModel[l]=_,rows:e.rows||4,autosize:e.autosize||!1},null)]})}}},createBooleanEditor=function(l,w){return{props:{optionModel:Object},render(e){return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(w)},{default:()=>[vue.createVNode(vue.resolveComponent("el-switch"),{modelValue:this.optionModel[l],"onUpdate:modelValue":p=>this.optionModel[l]=p},null)]})}}},createRadioButtonGroupEditor=function(l,w,e){return{props:{optionModel:Object},render(p){let _;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(w)},{default:()=>[vue.createVNode(vue.resolveComponent("el-radio-group"),{modelValue:this.optionModel[l],"onUpdate:modelValue":x=>this.optionModel[l]=x},_isSlot(_=e.optionItems.map(x=>vue.createVNode(vue.resolveComponent("el-radio-button"),{label:x.value},{default:()=>[x.label]})))?_:{default:()=>[_]})]})}}},createSelectEditor=function(l,w,e){return{props:{optionModel:Object},render(p){let _;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:translate(w)},{default:()=>[vue.createVNode(vue.resolveComponent("el-select"),{modelValue:this.optionModel[l],"onUpdate:modelValue":x=>this.optionModel[l]=x},_isSlot(_=e.optionItems.map(x=>vue.createVNode(vue.resolveComponent("el-option"),{label:x.label,value:x.value},null)))?_:{default:()=>[_]})]})}}},createEventHandlerEditor=function(l,w){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[l,[...w]])}},render(e){let p;return vue.createVNode(vue.resolveComponent("el-form-item"),{label:l,"label-width":"150px"},{default:()=>[vue.createVNode(vue.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(p=translate("designer.setting.addEventHandler"))?p:{default:()=>[p]})]})}}};var containerMixin={inject:["getFormConfig","getGlobalDsv"],computed:{formConfig(){return this.getFormConfig()}},methods:{appendTableRow(l){this.designer.appendTableRow(l)},appendTableCol(l){this.designer.appendTableCol(l)},onContainerDragAdd(l,w){const e=l.newIndex;w[e]&&this.designer.setSelected(w[e]),this.designer.emitHistoryChange()},onContainerDragUpdate(){this.designer.emitHistoryChange()},checkContainerMove(l){return this.designer.checkWidgetMove(l)},selectWidget(l){this.designer.setSelected(l)},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(l){if(this.parentList){let w=this.designer.cloneContainer(l);this.parentList.splice(this.indexOfParentList+1,0,w),this.designer.setSelected(w),this.designer.emitHistoryChange()}},removeWidget(){if(this.parentList){const l=this.designer.selectedWidgetName;let w=null;this.parentList.length===1?this.parentWidget&&(w=this.parentWidget):this.parentList.length===1+this.indexOfParentList?w=this.parentList[this.indexOfParentList-1]:w=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),this.designer.setSelected(w),this.designer.formWidget.deleteWidgetRef(l),this.designer.emitHistoryChange()})}},setWidgetOption(l,w){this.widget.options.hasOwnProperty(l)&&(this.widget.options[l]=w)}}},containerWrapper_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$r={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$l={key:0,class:"container-action"},_hoisted_2$f=["title"],_hoisted_3$d=["title"],_hoisted_4$a=["title"],_hoisted_5$8=["title"],_hoisted_6$8=["title"],_hoisted_7$6=["title"],_hoisted_8$5=["title"],_hoisted_9$4={key:1,class:"drag-handler"},_hoisted_10$2=["title"],_hoisted_11$1={key:0};function _sfc_render$r(l,w,e,p,_,x){const E=vue.resolveComponent("svg-icon");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["container-wrapper",[x.customClass]])},[vue.renderSlot(l.$slots,"default",{},void 0,!0),e.designer.selectedId===e.widget.id&&!e.widget.internal?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$l,[vue.createElementVNode("i",{title:l.i18nt("designer.hint.selectParentWidget"),onClick:w[0]||(w[0]=vue.withModifiers(b=>l.selectParentWidget(e.widget),["stop"]))},[vue.createVNode(E,{"icon-class":"el-back"})],8,_hoisted_2$f),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:0,title:l.i18nt("designer.hint.moveUpWidget"),onClick:w[1]||(w[1]=vue.withModifiers(b=>l.moveUpWidget(),["stop"]))},[vue.createVNode(E,{"icon-class":"el-move-up"})],8,_hoisted_3$d)):vue.createCommentVNode("",!0),!!e.parentList&&e.parentList.length>1?(vue.openBlock(),vue.createElementBlock("i",{key:1,title:l.i18nt("designer.hint.moveDownWidget"),onClick:w[2]||(w[2]=vue.withModifiers(b=>l.moveDownWidget(),["stop"]))},[vue.createVNode(E,{"icon-class":"el-move-down"})],8,_hoisted_4$a)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:2,title:l.i18nt("designer.hint.insertRow"),onClick:w[3]||(w[3]=vue.withModifiers(b=>l.appendTableRow(e.widget),["stop"]))},[vue.createVNode(E,{"icon-class":"el-insert-row"})],8,_hoisted_5$8)):vue.createCommentVNode("",!0),e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:3,title:l.i18nt("designer.hint.insertColumn"),onClick:w[4]||(w[4]=vue.withModifiers(b=>l.appendTableCol(e.widget),["stop"]))},[vue.createVNode(E,{"icon-class":"el-insert-column"})],8,_hoisted_6$8)):vue.createCommentVNode("",!0),e.widget.type==="grid"||e.widget.type==="table"?(vue.openBlock(),vue.createElementBlock("i",{key:4,title:l.i18nt("designer.hint.cloneWidget"),onClick:w[5]||(w[5]=vue.withModifiers(b=>l.cloneContainer(e.widget),["stop"]))},[vue.createVNode(E,{"icon-class":"el-clone"})],8,_hoisted_7$6)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{title:l.i18nt("designer.hint.remove"),onClick:w[6]||(w[6]=vue.withModifiers((...b)=>l.removeWidget&&l.removeWidget(...b),["stop"]))},[vue.createVNode(E,{"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:l.i18nt("designer.hint.dragHandler")},[vue.createVNode(E,{"icon-class":"el-drag-move"})],8,_hoisted_10$2),vue.createElementVNode("i",null,vue.toDisplayString(l.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(E,{"icon-class":"el-hide"})])):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],2)}var ContainerWrapper=_export_sfc$1(_sfc_main$r,[["render",_sfc_render$r],["__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(l,w){let e=this.refList[l];return!e&&!!w&&this.$message.error(this.i18nt("render.hint.refNotFound")+l),e},registerToRefList(l){this.refList!==null&&this.widget&&this.widget.options&&!!this.widget.options.name&&(l&&delete this.refList[l],this.refList[this.widget.options.name]=this)}}},cardWidget_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$q={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n$1,containerMixin,refMixinDesign],inject:["refList"],components:Ft($e({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(l){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(l){this.widget.options.folded=!!l}}},_hoisted_1$k={class:"label"},_hoisted_2$e={class:"form-widget-list"};function _sfc_render$q(l,w,e,p,_,x){const E=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),d=vue.resolveComponent("draggable"),c=vue.resolveComponent("el-card"),r=vue.resolveComponent("container-wrapper");return vue.openBlock(),vue.createBlock(r,{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(c,{key:e.widget.id,class:vue.normalizeClass(["card-container",[x.selected?"selected":"",e.widget.options.folded?"folded":"",x.customClass]]),onClick:w[2]||(w[2]=vue.withModifiers(o=>l.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:w[0]||(w[0]=(...o)=>x.toggleCard&&x.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(E)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$k,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:w[1]||(w[1]=o=>l.onContainerDragAdd(o,e.widget.widgetList)),onUpdate:l.onContainerDragUpdate,move:x.checkContainerMove}),{item:vue.withCtx(({element:o,index:t})=>[vue.createElementVNode("div",_hoisted_2$e,[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$q,[["render",_sfc_render$q],["__scopeId","data-v-2c3be1b8"]]),cardItem_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$p={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n$1,refMixin,containerItemMixin],components:Ft($e({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$j={class:"label"};function _sfc_render$p(l,w,e,p,_,x){const E=vue.resolveComponent("ArrowDownBold"),b=vue.resolveComponent("el-icon"),d=vue.resolveComponent("el-card"),c=vue.resolveComponent("container-item-wrapper");return vue.openBlock(),vue.createBlock(c,{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":"",x.customClass]]),ref:e.widget.id,shadow:e.widget.options.shadow},{header:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:w[0]||(w[0]=(...r)=>x.toggleCard&&x.toggleCard(...r)),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(E)]),_:1},8,["class"])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_1$j,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,(r,o)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[r.category==="container"?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(l.getComponentByContainer(r)),{widget:r,key:o,"parent-list":e.widget.widgetList,"index-of-parent-list":o,"parent-widget":e.widget},vue.createSlots({_:2},[vue.renderList(Object.keys(l.$slots),t=>({name:t,fn:vue.withCtx(i=>[vue.renderSlot(l.$slots,t,vue.mergeProps({ref_for:!0},i),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(r.type+"-widget"),{field:r,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(l.$slots),t=>({name:t,fn:vue.withCtx(i=>[vue.renderSlot(l.$slots,t,vue.mergeProps({ref_for:!0},i),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$p,[["render",_sfc_render$p],["__scopeId","data-v-2f0daae4"]]);const ACE_BASE_PATH="https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini",_sfc_main$o={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$o(l,w,e,p,_,x){const E=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(E,{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:x.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$o,[["render",_sfc_render$o]]),cryptoJs={exports:{}},core={exports:{}};(function(l,w){(function(e,p){l.exports=p()})(commonjsGlobal,function(){var e=e||function(p,_){var x;if(typeof window!="undefined"&&window.crypto&&(x=window.crypto),typeof self!="undefined"&&self.crypto&&(x=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(x=globalThis.crypto),!x&&typeof window!="undefined"&&window.msCrypto&&(x=window.msCrypto),!x&&typeof commonjsGlobal!="undefined"&&commonjsGlobal.crypto&&(x=commonjsGlobal.crypto),!x&&typeof commonjsRequire=="function")try{x=require("crypto")}catch{}var E=function(){if(x){if(typeof x.getRandomValues=="function")try{return x.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof x.randomBytes=="function")try{return x.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(C){var g;return f.prototype=C,g=new f,f.prototype=null,g}}(),d={},c=d.lib={},r=c.Base=function(){return{extend:function(f){var C=b(this);return f&&C.mixIn(f),(!C.hasOwnProperty("init")||this.init===C.init)&&(C.init=function(){C.$super.init.apply(this,arguments)}),C.init.prototype=C,C.$super=this,C},create:function(){var f=this.extend();return f.init.apply(f,arguments),f},init:function(){},mixIn:function(f){for(var C in f)f.hasOwnProperty(C)&&(this[C]=f[C]);f.hasOwnProperty("toString")&&(this.toString=f.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),o=c.WordArray=r.extend({init:function(f,C){f=this.words=f||[],C!=_?this.sigBytes=C:this.sigBytes=f.length*4},toString:function(f){return(f||i).stringify(this)},concat:function(f){var C=this.words,g=f.words,v=this.sigBytes,m=f.sigBytes;if(this.clamp(),v%4)for(var A=0;A<m;A++){var F=g[A>>>2]>>>24-A%4*8&255;C[v+A>>>2]|=F<<24-(v+A)%4*8}else for(var D=0;D<m;D+=4)C[v+D>>>2]=g[D>>>2];return this.sigBytes+=m,this},clamp:function(){var f=this.words,C=this.sigBytes;f[C>>>2]&=4294967295<<32-C%4*8,f.length=p.ceil(C/4)},clone:function(){var f=r.clone.call(this);return f.words=this.words.slice(0),f},random:function(f){for(var C=[],g=0;g<f;g+=4)C.push(E());return new o.init(C,f)}}),t=d.enc={},i=t.Hex={stringify:function(f){for(var C=f.words,g=f.sigBytes,v=[],m=0;m<g;m++){var A=C[m>>>2]>>>24-m%4*8&255;v.push((A>>>4).toString(16)),v.push((A&15).toString(16))}return v.join("")},parse:function(f){for(var C=f.length,g=[],v=0;v<C;v+=2)g[v>>>3]|=parseInt(f.substr(v,2),16)<<24-v%8*4;return new o.init(g,C/2)}},n=t.Latin1={stringify:function(f){for(var C=f.words,g=f.sigBytes,v=[],m=0;m<g;m++){var A=C[m>>>2]>>>24-m%4*8&255;v.push(String.fromCharCode(A))}return v.join("")},parse:function(f){for(var C=f.length,g=[],v=0;v<C;v++)g[v>>>2]|=(f.charCodeAt(v)&255)<<24-v%4*8;return new o.init(g,C)}},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)))}},a=c.BufferedBlockAlgorithm=r.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 C,g=this._data,v=g.words,m=g.sigBytes,A=this.blockSize,F=A*4,D=m/F;f?D=p.ceil(D):D=p.max((D|0)-this._minBufferSize,0);var k=D*A,I=p.min(k*4,m);if(k){for(var L=0;L<k;L+=A)this._doProcessBlock(v,L);C=v.splice(0,k),g.sigBytes-=I}return new o.init(C,I)},clone:function(){var f=r.clone.call(this);return f._data=this._data.clone(),f},_minBufferSize:0});c.Hasher=a.extend({cfg:r.extend(),init:function(f){this.cfg=this.cfg.extend(f),this.reset()},reset:function(){a.reset.call(this),this._doReset()},update:function(f){return this._append(f),this._process(),this},finalize:function(f){f&&this._append(f);var C=this._doFinalize();return C},blockSize:512/32,_createHelper:function(f){return function(C,g){return new f.init(g).finalize(C)}},_createHmacHelper:function(f){return function(C,g){return new h.HMAC.init(f,g).finalize(C)}}});var h=d.algo={};return d}(Math);return e})})(core);var x64Core={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(p){var _=e,x=_.lib,E=x.Base,b=x.WordArray,d=_.x64={};d.Word=E.extend({init:function(c,r){this.high=c,this.low=r}}),d.WordArray=E.extend({init:function(c,r){c=this.words=c||[],r!=p?this.sigBytes=r:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,r=c.length,o=[],t=0;t<r;t++){var i=c[t];o.push(i.high),o.push(i.low)}return b.create(o,this.sigBytes)},clone:function(){for(var c=E.clone.call(this),r=c.words=this.words.slice(0),o=r.length,t=0;t<o;t++)r[t]=r[t].clone();return c}})}(),e})})(x64Core);var libTypedarrays={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(){if(typeof ArrayBuffer=="function"){var p=e,_=p.lib,x=_.WordArray,E=x.init,b=x.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 c=d.byteLength,r=[],o=0;o<c;o++)r[o>>>2]|=d[o]<<24-o%4*8;E.call(this,r,c)}else E.apply(this,arguments)};b.prototype=x}}(),e.lib.WordArray})})(libTypedarrays);var encUtf16={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.lib,x=_.WordArray,E=p.enc;E.Utf16=E.Utf16BE={stringify:function(d){for(var c=d.words,r=d.sigBytes,o=[],t=0;t<r;t+=2){var i=c[t>>>2]>>>16-t%4*8&65535;o.push(String.fromCharCode(i))}return o.join("")},parse:function(d){for(var c=d.length,r=[],o=0;o<c;o++)r[o>>>1]|=d.charCodeAt(o)<<16-o%2*16;return x.create(r,c*2)}},E.Utf16LE={stringify:function(d){for(var c=d.words,r=d.sigBytes,o=[],t=0;t<r;t+=2){var i=b(c[t>>>2]>>>16-t%4*8&65535);o.push(String.fromCharCode(i))}return o.join("")},parse:function(d){for(var c=d.length,r=[],o=0;o<c;o++)r[o>>>1]|=b(d.charCodeAt(o)<<16-o%2*16);return x.create(r,c*2)}};function b(d){return d<<8&4278255360|d>>>8&16711935}}(),e.enc.Utf16})})(encUtf16);var encBase64={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.lib,x=_.WordArray,E=p.enc;E.Base64={stringify:function(d){var c=d.words,r=d.sigBytes,o=this._map;d.clamp();for(var t=[],i=0;i<r;i+=3)for(var n=c[i>>>2]>>>24-i%4*8&255,s=c[i+1>>>2]>>>24-(i+1)%4*8&255,a=c[i+2>>>2]>>>24-(i+2)%4*8&255,h=n<<16|s<<8|a,f=0;f<4&&i+f*.75<r;f++)t.push(o.charAt(h>>>6*(3-f)&63));var C=o.charAt(64);if(C)for(;t.length%4;)t.push(C);return t.join("")},parse:function(d){var c=d.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var t=0;t<r.length;t++)o[r.charCodeAt(t)]=t}var i=r.charAt(64);if(i){var n=d.indexOf(i);n!==-1&&(c=n)}return b(d,c,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function b(d,c,r){for(var o=[],t=0,i=0;i<c;i++)if(i%4){var n=r[d.charCodeAt(i-1)]<<i%4*2,s=r[d.charCodeAt(i)]>>>6-i%4*2,a=n|s;o[t>>>2]|=a<<24-t%4*8,t++}return x.create(o,t)}}(),e.enc.Base64})})(encBase64);var encBase64url={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.lib,x=_.WordArray,E=p.enc;E.Base64url={stringify:function(d,c){c===void 0&&(c=!0);var r=d.words,o=d.sigBytes,t=c?this._safe_map:this._map;d.clamp();for(var i=[],n=0;n<o;n+=3)for(var s=r[n>>>2]>>>24-n%4*8&255,a=r[n+1>>>2]>>>24-(n+1)%4*8&255,h=r[n+2>>>2]>>>24-(n+2)%4*8&255,f=s<<16|a<<8|h,C=0;C<4&&n+C*.75<o;C++)i.push(t.charAt(f>>>6*(3-C)&63));var g=t.charAt(64);if(g)for(;i.length%4;)i.push(g);return i.join("")},parse:function(d,c){c===void 0&&(c=!0);var r=d.length,o=c?this._safe_map:this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var i=0;i<o.length;i++)t[o.charCodeAt(i)]=i}var n=o.charAt(64);if(n){var s=d.indexOf(n);s!==-1&&(r=s)}return b(d,r,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function b(d,c,r){for(var o=[],t=0,i=0;i<c;i++)if(i%4){var n=r[d.charCodeAt(i-1)]<<i%4*2,s=r[d.charCodeAt(i)]>>>6-i%4*2,a=n|s;o[t>>>2]|=a<<24-t%4*8,t++}return x.create(o,t)}}(),e.enc.Base64url})})(encBase64url);var md5={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(p){var _=e,x=_.lib,E=x.WordArray,b=x.Hasher,d=_.algo,c=[];(function(){for(var s=0;s<64;s++)c[s]=p.abs(p.sin(s+1))*4294967296|0})();var r=d.MD5=b.extend({_doReset:function(){this._hash=new E.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(s,a){for(var h=0;h<16;h++){var f=a+h,C=s[f];s[f]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}var g=this._hash.words,v=s[a+0],m=s[a+1],A=s[a+2],F=s[a+3],D=s[a+4],k=s[a+5],I=s[a+6],L=s[a+7],T=s[a+8],M=s[a+9],S=s[a+10],N=s[a+11],B=s[a+12],P=s[a+13],z=s[a+14],$=s[a+15],O=g[0],H=g[1],V=g[2],U=g[3];O=o(O,H,V,U,v,7,c[0]),U=o(U,O,H,V,m,12,c[1]),V=o(V,U,O,H,A,17,c[2]),H=o(H,V,U,O,F,22,c[3]),O=o(O,H,V,U,D,7,c[4]),U=o(U,O,H,V,k,12,c[5]),V=o(V,U,O,H,I,17,c[6]),H=o(H,V,U,O,L,22,c[7]),O=o(O,H,V,U,T,7,c[8]),U=o(U,O,H,V,M,12,c[9]),V=o(V,U,O,H,S,17,c[10]),H=o(H,V,U,O,N,22,c[11]),O=o(O,H,V,U,B,7,c[12]),U=o(U,O,H,V,P,12,c[13]),V=o(V,U,O,H,z,17,c[14]),H=o(H,V,U,O,$,22,c[15]),O=t(O,H,V,U,m,5,c[16]),U=t(U,O,H,V,I,9,c[17]),V=t(V,U,O,H,N,14,c[18]),H=t(H,V,U,O,v,20,c[19]),O=t(O,H,V,U,k,5,c[20]),U=t(U,O,H,V,S,9,c[21]),V=t(V,U,O,H,$,14,c[22]),H=t(H,V,U,O,D,20,c[23]),O=t(O,H,V,U,M,5,c[24]),U=t(U,O,H,V,z,9,c[25]),V=t(V,U,O,H,F,14,c[26]),H=t(H,V,U,O,T,20,c[27]),O=t(O,H,V,U,P,5,c[28]),U=t(U,O,H,V,A,9,c[29]),V=t(V,U,O,H,L,14,c[30]),H=t(H,V,U,O,B,20,c[31]),O=i(O,H,V,U,k,4,c[32]),U=i(U,O,H,V,T,11,c[33]),V=i(V,U,O,H,N,16,c[34]),H=i(H,V,U,O,z,23,c[35]),O=i(O,H,V,U,m,4,c[36]),U=i(U,O,H,V,D,11,c[37]),V=i(V,U,O,H,L,16,c[38]),H=i(H,V,U,O,S,23,c[39]),O=i(O,H,V,U,P,4,c[40]),U=i(U,O,H,V,v,11,c[41]),V=i(V,U,O,H,F,16,c[42]),H=i(H,V,U,O,I,23,c[43]),O=i(O,H,V,U,M,4,c[44]),U=i(U,O,H,V,B,11,c[45]),V=i(V,U,O,H,$,16,c[46]),H=i(H,V,U,O,A,23,c[47]),O=n(O,H,V,U,v,6,c[48]),U=n(U,O,H,V,L,10,c[49]),V=n(V,U,O,H,z,15,c[50]),H=n(H,V,U,O,k,21,c[51]),O=n(O,H,V,U,B,6,c[52]),U=n(U,O,H,V,F,10,c[53]),V=n(V,U,O,H,S,15,c[54]),H=n(H,V,U,O,m,21,c[55]),O=n(O,H,V,U,T,6,c[56]),U=n(U,O,H,V,$,10,c[57]),V=n(V,U,O,H,I,15,c[58]),H=n(H,V,U,O,P,21,c[59]),O=n(O,H,V,U,D,6,c[60]),U=n(U,O,H,V,N,10,c[61]),V=n(V,U,O,H,A,15,c[62]),H=n(H,V,U,O,M,21,c[63]),g[0]=g[0]+O|0,g[1]=g[1]+H|0,g[2]=g[2]+V|0,g[3]=g[3]+U|0},_doFinalize:function(){var s=this._data,a=s.words,h=this._nDataBytes*8,f=s.sigBytes*8;a[f>>>5]|=128<<24-f%32;var C=p.floor(h/4294967296),g=h;a[(f+64>>>9<<4)+15]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,a[(f+64>>>9<<4)+14]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,s.sigBytes=(a.length+1)*4,this._process();for(var v=this._hash,m=v.words,A=0;A<4;A++){var F=m[A];m[A]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360}return v},clone:function(){var s=b.clone.call(this);return s._hash=this._hash.clone(),s}});function o(s,a,h,f,C,g,v){var m=s+(a&h|~a&f)+C+v;return(m<<g|m>>>32-g)+a}function t(s,a,h,f,C,g,v){var m=s+(a&f|h&~f)+C+v;return(m<<g|m>>>32-g)+a}function i(s,a,h,f,C,g,v){var m=s+(a^h^f)+C+v;return(m<<g|m>>>32-g)+a}function n(s,a,h,f,C,g,v){var m=s+(h^(a|~f))+C+v;return(m<<g|m>>>32-g)+a}_.MD5=b._createHelper(r),_.HmacMD5=b._createHmacHelper(r)}(Math),e.MD5})})(md5);var sha1={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.lib,x=_.WordArray,E=_.Hasher,b=p.algo,d=[],c=b.SHA1=E.extend({_doReset:function(){this._hash=new x.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(r,o){for(var t=this._hash.words,i=t[0],n=t[1],s=t[2],a=t[3],h=t[4],f=0;f<80;f++){if(f<16)d[f]=r[o+f]|0;else{var C=d[f-3]^d[f-8]^d[f-14]^d[f-16];d[f]=C<<1|C>>>31}var g=(i<<5|i>>>27)+h+d[f];f<20?g+=(n&s|~n&a)+1518500249:f<40?g+=(n^s^a)+1859775393:f<60?g+=(n&s|n&a|s&a)-1894007588:g+=(n^s^a)-899497514,h=a,a=s,s=n<<30|n>>>2,n=i,i=g}t[0]=t[0]+i|0,t[1]=t[1]+n|0,t[2]=t[2]+s|0,t[3]=t[3]+a|0,t[4]=t[4]+h|0},_doFinalize:function(){var r=this._data,o=r.words,t=this._nDataBytes*8,i=r.sigBytes*8;return o[i>>>5]|=128<<24-i%32,o[(i+64>>>9<<4)+14]=Math.floor(t/4294967296),o[(i+64>>>9<<4)+15]=t,r.sigBytes=o.length*4,this._process(),this._hash},clone:function(){var r=E.clone.call(this);return r._hash=this._hash.clone(),r}});p.SHA1=E._createHelper(c),p.HmacSHA1=E._createHmacHelper(c)}(),e.SHA1})})(sha1);var sha256={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){return function(p){var _=e,x=_.lib,E=x.WordArray,b=x.Hasher,d=_.algo,c=[],r=[];(function(){function i(h){for(var f=p.sqrt(h),C=2;C<=f;C++)if(!(h%C))return!1;return!0}function n(h){return(h-(h|0))*4294967296|0}for(var s=2,a=0;a<64;)i(s)&&(a<8&&(c[a]=n(p.pow(s,1/2))),r[a]=n(p.pow(s,1/3)),a++),s++})();var o=[],t=d.SHA256=b.extend({_doReset:function(){this._hash=new E.init(c.slice(0))},_doProcessBlock:function(i,n){for(var s=this._hash.words,a=s[0],h=s[1],f=s[2],C=s[3],g=s[4],v=s[5],m=s[6],A=s[7],F=0;F<64;F++){if(F<16)o[F]=i[n+F]|0;else{var D=o[F-15],k=(D<<25|D>>>7)^(D<<14|D>>>18)^D>>>3,I=o[F-2],L=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;o[F]=k+o[F-7]+L+o[F-16]}var T=g&v^~g&m,M=a&h^a&f^h&f,S=(a<<30|a>>>2)^(a<<19|a>>>13)^(a<<10|a>>>22),N=(g<<26|g>>>6)^(g<<21|g>>>11)^(g<<7|g>>>25),B=A+N+T+r[F]+o[F],P=S+M;A=m,m=v,v=g,g=C+B|0,C=f,f=h,h=a,a=B+P|0}s[0]=s[0]+a|0,s[1]=s[1]+h|0,s[2]=s[2]+f|0,s[3]=s[3]+C|0,s[4]=s[4]+g|0,s[5]=s[5]+v|0,s[6]=s[6]+m|0,s[7]=s[7]+A|0},_doFinalize:function(){var i=this._data,n=i.words,s=this._nDataBytes*8,a=i.sigBytes*8;return n[a>>>5]|=128<<24-a%32,n[(a+64>>>9<<4)+14]=p.floor(s/4294967296),n[(a+64>>>9<<4)+15]=s,i.sigBytes=n.length*4,this._process(),this._hash},clone:function(){var i=b.clone.call(this);return i._hash=this._hash.clone(),i}});_.SHA256=b._createHelper(t),_.HmacSHA256=b._createHmacHelper(t)}(Math),e.SHA256})})(sha256);var sha224={exports:{}};(function(l,w){(function(e,p,_){l.exports=p(core.exports,sha256.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.lib,x=_.WordArray,E=p.algo,b=E.SHA256,d=E.SHA224=b.extend({_doReset:function(){this._hash=new x.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=b._doFinalize.call(this);return c.sigBytes-=4,c}});p.SHA224=b._createHelper(d),p.HmacSHA224=b._createHmacHelper(d)}(),e.SHA224})})(sha224);var sha512={exports:{}};(function(l,w){(function(e,p,_){l.exports=p(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.lib,x=_.Hasher,E=p.x64,b=E.Word,d=E.WordArray,c=p.algo;function r(){return b.create.apply(b,arguments)}var o=[r(1116352408,3609767458),r(1899447441,602891725),r(3049323471,3964484399),r(3921009573,2173295548),r(961987163,4081628472),r(1508970993,3053834265),r(2453635748,2937671579),r(2870763221,3664609560),r(3624381080,2734883394),r(310598401,1164996542),r(607225278,1323610764),r(1426881987,3590304994),r(1925078388,4068182383),r(2162078206,991336113),r(2614888103,633803317),r(3248222580,3479774868),r(3835390401,2666613458),r(4022224774,944711139),r(264347078,2341262773),r(604807628,2007800933),r(770255983,1495990901),r(1249150122,1856431235),r(1555081692,3175218132),r(1996064986,2198950837),r(2554220882,3999719339),r(2821834349,766784016),r(2952996808,2566594879),r(3210313671,3203337956),r(3336571891,1034457026),r(3584528711,2466948901),r(113926993,3758326383),r(338241895,168717936),r(666307205,1188179964),r(773529912,1546045734),r(1294757372,1522805485),r(1396182291,2643833823),r(1695183700,2343527390),r(1986661051,1014477480),r(2177026350,1206759142),r(2456956037,344077627),r(2730485921,1290863460),r(2820302411,3158454273),r(3259730800,3505952657),r(3345764771,106217008),r(3516065817,3606008344),r(3600352804,1432725776),r(4094571909,1467031594),r(275423344,851169720),r(430227734,3100823752),r(506948616,1363258195),r(659060556,3750685593),r(883997877,3785050280),r(958139571,3318307427),r(1322822218,3812723403),r(1537002063,2003034995),r(1747873779,3602036899),r(1955562222,1575990012),r(2024104815,1125592928),r(2227730452,2716904306),r(2361852424,442776044),r(2428436474,593698344),r(2756734187,3733110249),r(3204031479,2999351573),r(3329325298,3815920427),r(3391569614,3928383900),r(3515267271,566280711),r(3940187606,3454069534),r(4118630271,4000239992),r(116418474,1914138554),r(174292421,2731055270),r(289380356,3203993006),r(460393269,320620315),r(685471733,587496836),r(852142971,1086792851),r(1017036298,365543100),r(1126000580,2618297676),r(1288033470,3409855158),r(1501505948,4234509866),r(1607167915,987167468),r(1816402316,1246189591)],t=[];(function(){for(var n=0;n<80;n++)t[n]=r()})();var i=c.SHA512=x.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 a=this._hash.words,h=a[0],f=a[1],C=a[2],g=a[3],v=a[4],m=a[5],A=a[6],F=a[7],D=h.high,k=h.low,I=f.high,L=f.low,T=C.high,M=C.low,S=g.high,N=g.low,B=v.high,P=v.low,z=m.high,$=m.low,O=A.high,H=A.low,V=F.high,U=F.low,q=D,j=k,K=I,Y=L,J=T,te=M,se=S,ge=N,me=B,ve=P,we=z,Oe=$,Ie=O,oe=H,le=V,pe=U,fe=0;fe<80;fe++){var ue,Ce,ke=t[fe];if(fe<16)Ce=ke.high=n[s+fe*2]|0,ue=ke.low=n[s+fe*2+1]|0;else{var Se=t[fe-15],Ze=Se.high,Ye=Se.low,Pe=(Ze>>>1|Ye<<31)^(Ze>>>8|Ye<<24)^Ze>>>7,Qt=(Ye>>>1|Ze<<31)^(Ye>>>8|Ze<<24)^(Ye>>>7|Ze<<25),He=t[fe-2],et=He.high,Vt=He.low,Dn=(et>>>19|Vt<<13)^(et<<3|Vt>>>29)^et>>>6,pn=(Vt>>>19|et<<13)^(Vt<<3|et>>>29)^(Vt>>>6|et<<26),mn=t[fe-7],In=mn.high,Nn=mn.low,Yn=t[fe-16],qi=Yn.high,Jn=Yn.low;ue=Qt+Nn,Ce=Pe+In+(ue>>>0<Qt>>>0?1:0),ue=ue+pn,Ce=Ce+Dn+(ue>>>0<pn>>>0?1:0),ue=ue+Jn,Ce=Ce+qi+(ue>>>0<Jn>>>0?1:0),ke.high=Ce,ke.low=ue}var Xn=me&we^~me&Ie,Rn=ve&Oe^~ve&oe,Gi=q&K^q&J^K&J,Ki=j&Y^j&te^Y&te,Qi=(q>>>28|j<<4)^(q<<30|j>>>2)^(q<<25|j>>>7),ei=(j>>>28|q<<4)^(j<<30|q>>>2)^(j<<25|q>>>7),ti=(me>>>14|ve<<18)^(me>>>18|ve<<14)^(me<<23|ve>>>9),Zi=(ve>>>14|me<<18)^(ve>>>18|me<<14)^(ve<<23|me>>>9),ni=o[fe],Yi=ni.high,vn=ni.low,lt=pe+Zi,Ct=le+ti+(lt>>>0<pe>>>0?1:0),lt=lt+Rn,Ct=Ct+Xn+(lt>>>0<Rn>>>0?1:0),lt=lt+vn,Ct=Ct+Yi+(lt>>>0<vn>>>0?1:0),lt=lt+ue,Ct=Ct+Ce+(lt>>>0<ue>>>0?1:0),ii=ei+Ki,Ji=Qi+Gi+(ii>>>0<ei>>>0?1:0);le=Ie,pe=oe,Ie=we,oe=Oe,we=me,Oe=ve,ve=ge+lt|0,me=se+Ct+(ve>>>0<ge>>>0?1:0)|0,se=J,ge=te,J=K,te=Y,K=q,Y=j,j=lt+ii|0,q=Ct+Ji+(j>>>0<lt>>>0?1:0)|0}k=h.low=k+j,h.high=D+q+(k>>>0<j>>>0?1:0),L=f.low=L+Y,f.high=I+K+(L>>>0<Y>>>0?1:0),M=C.low=M+te,C.high=T+J+(M>>>0<te>>>0?1:0),N=g.low=N+ge,g.high=S+se+(N>>>0<ge>>>0?1:0),P=v.low=P+ve,v.high=B+me+(P>>>0<ve>>>0?1:0),$=m.low=$+Oe,m.high=z+we+($>>>0<Oe>>>0?1:0),H=A.low=H+oe,A.high=O+Ie+(H>>>0<oe>>>0?1:0),U=F.low=U+pe,F.high=V+le+(U>>>0<pe>>>0?1:0)},_doFinalize:function(){var n=this._data,s=n.words,a=this._nDataBytes*8,h=n.sigBytes*8;s[h>>>5]|=128<<24-h%32,s[(h+128>>>10<<5)+30]=Math.floor(a/4294967296),s[(h+128>>>10<<5)+31]=a,n.sigBytes=s.length*4,this._process();var f=this._hash.toX32();return f},clone:function(){var n=x.clone.call(this);return n._hash=this._hash.clone(),n},blockSize:1024/32});p.SHA512=x._createHelper(i),p.HmacSHA512=x._createHmacHelper(i)}(),e.SHA512})})(sha512);var sha384={exports:{}};(function(l,w){(function(e,p,_){l.exports=p(core.exports,x64Core.exports,sha512.exports)})(commonjsGlobal,function(e){return function(){var p=e,_=p.x64,x=_.Word,E=_.WordArray,b=p.algo,d=b.SHA512,c=b.SHA384=d.extend({_doReset:function(){this._hash=new E.init([new x.init(3418070365,3238371032),new x.init(1654270250,914150663),new x.init(2438529370,812702999),new x.init(355462360,4144912697),new x.init(1731405415,4290775857),new x.init(2394180231,1750603025),new x.init(3675008525,1694076839),new x.init(1203062813,3204075428)])},_doFinalize:function(){var r=d._doFinalize.call(this);return r.sigBytes-=16,r}});p.SHA384=d._createHelper(c),p.HmacSHA384=d._createHmacHelper(c)}(),e.SHA384})})(sha384);var sha3={exports:{}};(function(l,w){(function(e,p,_){l.exports=p(core.exports,x64Core.exports)})(commonjsGlobal,function(e){return function(p){var _=e,x=_.lib,E=x.WordArray,b=x.Hasher,d=_.x64,c=d.Word,r=_.algo,o=[],t=[],i=[];(function(){for(var a=1,h=0,f=0;f<24;f++){o[a+5*h]=(f+1)*(f+2)/2%64;var C=h%5,g=(2*a+3*h)%5;a=C,h=g}for(var a=0;a<5;a++)for(var h=0;h<5;h++)t[a+5*h]=h+(2*a+3*h)%5*5;for(var v=1,m=0;m<24;m++){for(var A=0,F=0,D=0;D<7;D++){if(v&1){var k=(1<<D)-1;k<32?F^=1<<k:A^=1<<k-32}v&128?v=v<<1^113:v<<=1}i[m]=c.create(A,F)}})();var n=[];(function(){for(var a=0;a<25;a++)n[a]=c.create()})();var s=r.SHA3=b.extend({cfg:b.cfg.extend({outputLength:512}),_doReset:function(){for(var a=this._state=[],h=0;h<25;h++)a[h]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(a,h){for(var f=this._state,C=this.blockSize/2,g=0;g<C;g++){var v=a[h+2*g],m=a[h+2*g+1];v=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,m=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360;var A=f[g];A.high^=m,A.low^=v}for(var F=0;F<24;F++){for(var D=0;D<5;D++){for(var k=0,I=0,L=0;L<5;L++){var A=f[D+5*L];k^=A.high,I^=A.low}var T=n[D];T.high=k,T.low=I}for(var D=0;D<5;D++)for(var M=n[(D+4)%5],S=n[(D+1)%5],N=S.high,B=S.low,k=M.high^(N<<1|B>>>31),I=M.low^(B<<1|N>>>31),L=0;L<5;L++){var A=f[D+5*L];A.high^=k,A.low^=I}for(var P=1;P<25;P++){var k,I,A=f[P],z=A.high,$=A.low,O=o[P];O<32?(k=z<<O|$>>>32-O,I=$<<O|z>>>32-O):(k=$<<O-32|z>>>64-O,I=z<<O-32|$>>>64-O);var H=n[t[P]];H.high=k,H.low=I}var V=n[0],U=f[0];V.high=U.high,V.low=U.low;for(var D=0;D<5;D++)for(var L=0;L<5;L++){var P=D+5*L,A=f[P],q=n[P],j=n[(D+1)%5+5*L],K=n[(D+2)%5+5*L];A.high=q.high^~j.high&K.high,A.low=q.low^~j.low&K.low}var A=f[0],Y=i[F];A.high^=Y.high,A.low^=Y.low}},_doFinalize:function(){var a=this._data,h=a.words;this._nDataBytes*8;var f=a.sigBytes*8,C=this.blockSize*32;h[f>>>5]|=1<<24-f%32,h[(p.ceil((f+1)/C)*C>>>5)-1]|=128,a.sigBytes=h.length*4,this._process();for(var g=this._state,v=this.cfg.outputLength/8,m=v/8,A=[],F=0;F<m;F++){var D=g[F],k=D.high,I=D.low;k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,A.push(I),A.push(k)}return new E.init(A,v)},clone:function(){for(var a=b.clone.call(this),h=a._state=this._state.slice(0),f=0;f<25;f++)h[f]=h[f].clone();return a}});_.SHA3=b._createHelper(s),_.HmacSHA3=b._createHmacHelper(s)}(Math),e.SHA3})})(sha3);var ripemd160={exports:{}};(function(l,w){(function(e,p){l.exports=p(core.exports)})(commonjsGlobal,function(e){/** @preserve
|
|
76
76
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
77
77
|
|
|
78
78
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
@@ -1350,4 +1350,4 @@ e.setDisabled&&e.setDisabled(!1)}})},resetForm(){Object.keys(this.subFormRefList
|
|
|
1350
1350
|
animation: none;
|
|
1351
1351
|
}
|
|
1352
1352
|
}
|
|
1353
|
-
`,"autocompletion.css",!1),p.AcePopup=f,p.$singleLineEditor=h,p.getAriaId=i}),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],function(e,p,_){var x=function(){function E(b){this.editor=b,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return E.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 c=this.popup.getRow(),r=this.popup.renderer.$textLayer,o=r.element.childNodes[c-r.config.firstRow];if(o){for(var t="doc-tooltip ",i=0;i<this._lines.length;i++)t+="ace-inline-screenreader-line-".concat(i," ");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)},E.prototype.destroy=function(){this.screenReaderDiv.remove()},E.prototype.createCodeBlock=function(){var b=document.createElement("pre");b.setAttribute("id","ace-inline-screenreader");for(var d=0;d<this._lines.length;d++){var c=document.createElement("code");c.setAttribute("id","ace-inline-screenreader-line-".concat(d));var r=document.createTextNode(this._lines[d]);c.appendChild(r),b.appendChild(c)}return b},E}();p.AceInlineScreenReader=x}),ace.define("ace/autocomplete/inline",["require","exports","module","ace/snippets","ace/autocomplete/inline_screenreader"],function(e,p,_){var x=e("../snippets").snippetManager,E=e("./inline_screenreader").AceInlineScreenReader,b=function(){function d(){this.editor=null}return d.prototype.show=function(c,r,o){if(o=o||"",c&&this.editor&&this.editor!==c&&(this.hide(),this.editor=null,this.inlineScreenReader=null),!c||!r)return!1;this.inlineScreenReader||(this.inlineScreenReader=new E(c));var t=r.snippet?x.getDisplayTextForSnippet(c,r.snippet):r.value;return r.hideInlinePreview||!t||!t.startsWith(o)?!1:(this.editor=c,this.inlineScreenReader.setScreenReaderContent(t),t=t.slice(o.length),t===""?c.removeGhostText():c.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}();p.AceInline=b}),ace.define("ace/autocomplete/util",["require","exports","module"],function(e,p,_){p.parForEach=function(E,b,d){var c=0,r=E.length;r===0&&d();for(var o=0;o<r;o++)b(E[o],function(t,i){c++,c===r&&d(t,i)})};var x=/[a-zA-Z_0-9\$\-\u00A2-\u2000\u2070-\uFFFF]/;p.retrievePrecedingIdentifier=function(E,b,d){d=d||x;for(var c=[],r=b-1;r>=0&&d.test(E[r]);r--)c.push(E[r]);return c.reverse().join("")},p.retrieveFollowingIdentifier=function(E,b,d){d=d||x;for(var c=[],r=b;r<E.length&&d.test(E[r]);r++)c.push(E[r]);return c},p.getCompletionPrefix=function(E){var b=E.getCursorPosition(),d=E.session.getLine(b.row),c;return E.completers.forEach(function(r){r.identifierRegexps&&r.identifierRegexps.forEach(function(o){!c&&o&&(c=this.retrievePrecedingIdentifier(d,b.column,o))}.bind(this))}.bind(this)),c||this.retrievePrecedingIdentifier(d,b.column)},p.triggerAutocomplete=function(E,b){var b=b==null?E.session.getPrecedingCharacter():b;return E.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,p,_){var x=e("./keyboard/hash_handler").HashHandler,E=e("./autocomplete/popup").AcePopup,b=e("./autocomplete/inline").AceInline,d=e("./autocomplete/popup").getAriaId,c=e("./autocomplete/util"),r=e("./lib/lang"),o=e("./lib/dom"),t=e("./snippets").snippetManager,i=e("./config"),n=e("./lib/event"),s=e("./lib/scroll").preventParentScroll,a=function(g,v){v.completer&&v.completer.destroy()},h=function(){function g(){this.autoInsert=!1,this.autoSelect=!0,this.autoShown=!1,this.exactMatch=!1,this.inlineEnabled=!1,this.keyboardHandler=new x,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=r.delayedCall(function(){this.updateCompletions(!0)}.bind(this)),this.tooltipTimer=r.delayedCall(this.updateDocTooltip.bind(this),50),this.popupTimer=r.delayedCall(this.$updatePopupPosition.bind(this),50),this.stickySelectionTimer=r.delayedCall(function(){this.stickySelection=!0}.bind(this),this.stickySelectionDelay),this.$firstOpenTimer=r.delayedCall(function(){var v=this.completionProvider&&this.completionProvider.initialPosition;this.autoShown||this.popup&&this.popup.isOpen||!v||this.editor.completers.length===0||(this.completions=new C(g.completionsForLoading),this.openPopup(this.editor,v.prefix,!1),this.popup.renderer.setStyle("ace_loading",!0))}.bind(this),this.stickySelectionDelay)}return Object.defineProperty(g,"completionsForLoading",{get:function(){return[{caption:i.nls("autocomplete.loading","Loading..."),value:""}]},enumerable:!1,configurable:!0}),g.prototype.$init=function(){return this.popup=new E(this.parentNode||document.body||document.documentElement),this.popup.on("click",function(v){this.insertMatch(),v.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},g.prototype.$initInline=function(){if(!(!this.inlineEnabled||this.inlineRenderer))return this.inlineRenderer=new b,this.inlineRenderer},g.prototype.getPopup=function(){return this.popup||this.$init()},g.prototype.$onHidePopup=function(){this.inlineRenderer&&this.inlineRenderer.hide(),this.hideDocTooltip(),this.stickySelectionTimer.cancel(),this.popupTimer.cancel(),this.stickySelection=!1},g.prototype.$seen=function(v){!this.hasSeen.has(v)&&v&&v.completer&&v.completer.onSeen&&typeof v.completer.onSeen=="function"&&(v.completer.onSeen(this.editor,v),this.hasSeen.add(v))},g.prototype.$onPopupChange=function(v){if(this.inlineRenderer&&this.inlineEnabled){var m=v?null:this.popup.getData(this.popup.getRow());if(this.$updateGhostText(m),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)},g.prototype.$updateGhostText=function(v){var m=this.base.row,A=this.base.column,F=this.editor.getCursorPosition().column,D=this.editor.session.getLine(m).slice(A,F);this.inlineRenderer.show(this.editor,v,D)?this.$seen(v):this.inlineRenderer.hide()},g.prototype.$onPopupRender=function(){var v=this.inlineRenderer&&this.inlineEnabled;if(this.completions&&this.completions.filtered&&this.completions.filtered.length>0)for(var m=this.popup.getFirstVisibleRow();m<=this.popup.getLastVisibleRow();m++){var A=this.popup.getData(m);A&&(!v||A.hideInlinePreview)&&this.$seen(A)}},g.prototype.$onPopupShow=function(v){this.$onPopupChange(v),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},g.prototype.observeLayoutChanges=function(){if(!(this.$elements||!this.editor)){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var v=this.editor.container.parentNode,m=[];v;)m.push(v),v.addEventListener("scroll",this.onLayoutChange,{passive:!0}),v=v.parentNode;this.$elements=m}},g.prototype.unObserveLayoutChanges=function(){var v=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach(function(m){m.removeEventListener("scroll",v.onLayoutChange,{passive:!0})}),this.$elements=null},g.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},g.prototype.$updatePopupPosition=function(){var v=this.editor,m=v.renderer,A=m.layerConfig.lineHeight,F=m.$cursorLayer.getPixelPosition(this.base,!0);F.left-=this.popup.getTextLeftOffset();var D=v.container.getBoundingClientRect();F.top+=D.top-m.layerConfig.offset,F.left+=D.left-v.renderer.scrollLeft,F.left+=m.gutterWidth;var k={top:F.top,left:F.left};m.$ghostText&&m.$ghostTextWidget&&this.base.row===m.$ghostText.position.row&&(k.top+=m.$ghostTextWidget.el.offsetHeight);var I=v.container.getBoundingClientRect().bottom-A,L=I<k.top?{top:I,left:k.left}:k;this.popup.tryShow(L,A,"bottom")||this.popup.tryShow(F,A,"top")||this.popup.show(F,A)},g.prototype.openPopup=function(v,m,A){this.$firstOpenTimer.cancel(),this.popup||this.$init(),this.inlineEnabled&&!this.inlineRenderer&&this.$initInline(),this.popup.autoSelect=this.autoSelect,this.popup.setSelectOnHover(this.setSelectOnHover);var F=this.popup.getRow(),D=this.popup.data[F];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}),v.keyBinding.addKeyboardHandler(this.keyboardHandler);var k;this.stickySelection&&(k=this.popup.data.indexOf(D)),(!k||k===-1)&&(k=0),this.popup.setRow(this.autoSelect?k:-1),k===F&&D!==this.completions.filtered[k]&&this.$onPopupChange();var I=this.inlineRenderer&&this.inlineEnabled;if(k===F&&I){var L=this.popup.getData(this.popup.getRow());this.$updateGhostText(L)}A||(this.popup.setTheme(v.getTheme()),this.popup.setFontSize(v.getFontSize()),this.$updatePopupPosition(),this.tooltipNode&&this.updateDocTooltip()),this.changeTimer.cancel(),this.observeLayoutChanges()},g.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()},g.prototype.changeListener=function(v){var m=this.editor.selection.lead;(m.row!=this.base.row||m.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},g.prototype.blurListener=function(v){var m=document.activeElement,A=this.editor.textInput.getElement(),F=v.relatedTarget&&this.tooltipNode&&this.tooltipNode.contains(v.relatedTarget),D=this.popup&&this.popup.container;m!=A&&m.parentNode!=D&&!F&&m!=this.tooltipNode&&v.relatedTarget!=A&&this.detach()},g.prototype.mousedownListener=function(v){this.detach()},g.prototype.mousewheelListener=function(v){this.popup&&!this.popup.isMouseOver&&this.detach()},g.prototype.mouseOutListener=function(v){this.popup.isOpen&&this.$updatePopupPosition()},g.prototype.goTo=function(v){this.popup.goTo(v)},g.prototype.insertMatch=function(v,m){if(v||(v=this.popup.getData(this.popup.getRow())),!v)return!1;if(v.value==="")return this.detach();var A=this.completions,F=this.getCompletionProvider().insertMatch(this.editor,v,A.filterText,m);return this.completions==A&&this.detach(),F},g.prototype.showPopup=function(v,m){this.editor&&this.detach(),this.activated=!0,this.editor=v,v.completer!=this&&(v.completer&&v.completer.detach(),v.completer=this),v.on("changeSelection",this.changeListener),v.on("blur",this.blurListener),v.on("mousedown",this.mousedownListener),v.on("mousewheel",this.mousewheelListener),this.updateCompletions(!1,m)},g.prototype.getCompletionProvider=function(v){return this.completionProvider||(this.completionProvider=new f(v)),this.completionProvider},g.prototype.gatherCompletions=function(v,m){return this.getCompletionProvider().gatherCompletions(v,m)},g.prototype.updateCompletions=function(v,m){if(v&&this.base&&this.completions){var F=this.editor.getCursorPosition(),D=this.editor.session.getTextRange({start:this.base,end:F});if(D==this.completions.filterText)return;if(this.completions.setFilter(D),!this.completions.filtered.length)return this.detach();if(this.completions.filtered.length==1&&this.completions.filtered[0].value==D&&!this.completions.filtered[0].snippet)return this.detach();this.openPopup(this.editor,D,v);return}if(m&&m.matches){var F=this.editor.getSelectionRange().start;return this.base=this.editor.session.doc.createAnchor(F.row,F.column),this.base.$insertRight=!0,this.completions=new C(m.matches),this.getCompletionProvider().completions=this.completions,this.openPopup(this.editor,"",v)}var A=this.editor.getSession(),F=this.editor.getCursorPosition(),D=c.getCompletionPrefix(this.editor);this.base=A.doc.createAnchor(F.row,F.column-D.length),this.base.$insertRight=!0;var k={exactMatch:this.exactMatch,ignoreCaption:this.ignoreCaption};this.getCompletionProvider({prefix:D,pos:F}).provideCompletions(this.editor,k,function(I,L,T){var M=L.filtered,S=c.getCompletionPrefix(this.editor);if(this.$firstOpenTimer.cancel(),T){if(!M.length){var N=!this.autoShown&&this.emptyMessage;if(typeof N=="function"&&(N=this.emptyMessage(S)),N){var B=[{caption:N,value:""}];this.completions=new C(B),this.openPopup(this.editor,S,v),this.popup.renderer.setStyle("ace_loading",!1),this.popup.renderer.setStyle("ace_empty-message",!0);return}return this.detach()}if(M.length==1&&M[0].value==S&&!M[0].snippet)return this.detach();if(this.autoInsert&&!this.autoShown&&M.length==1)return this.insertMatch(M[0])}this.completions=!T&&this.showLoadingState?new C(g.completionsForLoading.concat(M),L.filterText):L,this.openPopup(this.editor,S,v),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)},g.prototype.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},g.prototype.updateDocTooltip=function(){var v=this.popup,m=this.completions&&this.completions.filtered,A=m&&(m[v.getHoveredRow()]||m[v.getRow()]),F=null;if(!A||!this.editor||!this.popup.isOpen)return this.hideDocTooltip();for(var D=this.editor.completers.length,k=0;k<D;k++){var I=this.editor.completers[k];if(I.getDocTooltip&&A.completerId===I.id){F=I.getDocTooltip(A);break}}if(!F&&typeof A!="string"&&(F=A),typeof F=="string"&&(F={docText:F}),!F||!F.docHTML&&!F.docText)return this.hideDocTooltip();this.showDocTooltip(F)},g.prototype.showDocTooltip=function(v){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 m=this.editor.renderer.theme;this.tooltipNode.className="ace_tooltip ace_doc-tooltip "+(m.isDark?"ace_dark ":"")+(m.cssClass||"");var A=this.tooltipNode;v.docHTML?A.innerHTML=v.docHTML:v.docText&&(A.textContent=v.docText),A.parentNode||this.popup.container.appendChild(this.tooltipNode);var F=this.popup,D=F.container.getBoundingClientRect(),k=400,I=300,L=F.renderer.scrollBar.width||10,T=D.left,M=window.innerWidth-D.right-L,S=F.isTopdown?D.top:window.innerHeight-L-D.bottom,N=[Math.min(M/k,1),Math.min(T/k,1),Math.min(S/I*.9)],B=Math.max.apply(Math,N),P=A.style;P.display="block",B==N[0]?(P.left=D.right+1+"px",P.right="",P.maxWidth=k*B+"px",P.top=D.top+"px",P.bottom="",P.maxHeight=Math.min(window.innerHeight-L-D.top,I)+"px"):B==N[1]?(P.right=window.innerWidth-D.left+"px",P.left="",P.maxWidth=k*B+"px",P.top=D.top+"px",P.bottom="",P.maxHeight=Math.min(window.innerHeight-L-D.top,I)+"px"):B==N[2]&&(P.left=window.innerWidth-D.left+"px",P.maxWidth=Math.min(k,window.innerWidth)+"px",F.isTopdown?(P.top=D.bottom+"px",P.left=D.left+"px",P.right="",P.bottom="",P.maxHeight=Math.min(window.innerHeight-L-D.bottom,I)+"px"):(P.top=F.container.offsetTop-A.offsetHeight+"px",P.left=D.left+"px",P.right="",P.bottom="",P.maxHeight=Math.min(F.container.offsetTop,I)+"px"))},g.prototype.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),!!this.tooltipNode){var v=this.tooltipNode;!this.editor.isFocused()&&document.activeElement==v&&this.editor.focus(),this.tooltipNode=null,v.parentNode&&v.parentNode.removeChild(v)}},g.prototype.onTooltipClick=function(v){for(var m=v.target;m&&m!=this.tooltipNode;){if(m.nodeName=="A"&&m.href){m.rel="noreferrer",m.target="_blank";break}m=m.parentNode}},g.prototype.destroy=function(){if(this.detach(),this.popup){this.popup.destroy();var v=this.popup.container;v&&v.parentNode&&v.parentNode.removeChild(v)}this.editor&&this.editor.completer==this&&(this.editor.off("destroy",a),this.editor.completer=null),this.inlineRenderer=this.popup=this.editor=null},g.for=function(v){return v.completer instanceof g||(v.completer&&(v.completer.destroy(),v.completer=null),i.get("sharedPopups")?(g.$sharedInstance||(g.$sharedInstance=new g),v.completer=g.$sharedInstance):(v.completer=new g,v.once("destroy",a))),v.completer},g}();h.prototype.commands={Up:function(g){g.completer.goTo("up")},Down:function(g){g.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(g){g.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(g){g.completer.goTo("end")},Esc:function(g){g.completer.detach()},Return:function(g){return g.completer.insertMatch()},"Shift-Return":function(g){g.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(g){var v=g.completer.insertMatch();if(!!v||!!g.tabstopManager)return v;g.completer.goTo("down")},Backspace:function(g){g.execCommand("backspace");var v=c.getCompletionPrefix(g);!v&&g.completer&&g.completer.detach()},PageUp:function(g){g.completer.popup.gotoPageUp()},PageDown:function(g){g.completer.popup.gotoPageDown()}},h.startCommand={name:"startAutocomplete",exec:function(g,v){var m=h.for(g);m.autoInsert=!1,m.autoSelect=!0,m.autoShown=!1,m.showPopup(g,v),m.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var f=function(){function g(v){this.initialPosition=v,this.active=!0}return g.prototype.insertByIndex=function(v,m,A){return!this.completions||!this.completions.filtered?!1:this.insertMatch(v,this.completions.filtered[m],A)},g.prototype.insertMatch=function(v,m,A){if(!m)return!1;if(v.startOperation({command:{name:"insertMatch"}}),m.completer&&m.completer.insertMatch)m.completer.insertMatch(v,m);else{if(!this.completions)return!1;var F=this.completions.filterText.length,D=0;if(m.range&&m.range.start.row===m.range.end.row&&(F-=this.initialPosition.prefix.length,F+=this.initialPosition.pos.column-m.range.start.column,D+=m.range.end.column-this.initialPosition.pos.column),F||D){var k;v.selection.getAllRanges?k=v.selection.getAllRanges():k=[v.getSelectionRange()];for(var I=0,L;L=k[I];I++)L.start.column-=F,L.end.column+=D,v.session.remove(L)}m.snippet?t.insertSnippet(v,m.snippet):this.$insertString(v,m),m.completer&&m.completer.onInsert&&typeof m.completer.onInsert=="function"&&m.completer.onInsert(v,m),m.command&&m.command==="startAutocomplete"&&v.execCommand(m.command)}return v.endOperation(),!0},g.prototype.$insertString=function(v,m){var A=m.value||m;v.execCommand("insertstring",A)},g.prototype.gatherCompletions=function(v,m){var A=v.getSession(),F=v.getCursorPosition(),D=c.getCompletionPrefix(v),k=[];this.completers=v.completers;var I=v.completers.length;return v.completers.forEach(function(L,T){L.getCompletions(v,A,F,D,function(M,S){L.hideInlinePreview&&(S=S.map(function(N){return Object.assign(N,{hideInlinePreview:L.hideInlinePreview})})),!M&&S&&(k=k.concat(S)),m(null,{prefix:c.getCompletionPrefix(v),matches:k,finished:--I==0})})}),!0},g.prototype.provideCompletions=function(v,m,A){var F=function(L){var T=L.prefix,M=L.matches;this.completions=new C(M),m.exactMatch&&(this.completions.exactMatch=!0),m.ignoreCaption&&(this.completions.ignoreCaption=!0),this.completions.setFilter(T),(L.finished||this.completions.filtered.length)&&A(null,this.completions,L.finished)}.bind(this),D=!0,k=null;if(this.gatherCompletions(v,function(L,T){if(!!this.active){L&&(A(L,[],!0),this.detach());var M=T.prefix;if(M.indexOf(T.prefix)===0){if(D){k=T;return}F(T)}}}.bind(this)),D=!1,k){var I=k;k=null,F(I)}},g.prototype.detach=function(){this.active=!1,this.completers&&this.completers.forEach(function(v){typeof v.cancel=="function"&&v.cancel()})},g}(),C=function(){function g(v,m){this.all=v,this.filtered=v,this.filterText=m||"",this.exactMatch=!1,this.ignoreCaption=!1}return g.prototype.setFilter=function(v){if(v.length>this.filterText&&v.lastIndexOf(this.filterText,0)===0)var m=this.filtered;else var m=this.all;this.filterText=v,m=this.filterCompletions(m,this.filterText),m=m.sort(function(F,D){return D.exactMatch-F.exactMatch||D.$score-F.$score||(F.caption||F.value).localeCompare(D.caption||D.value)});var A=null;m=m.filter(function(F){var D=F.snippet||F.caption||F.value;return D===A?!1:(A=D,!0)}),this.filtered=m},g.prototype.filterCompletions=function(v,m){var A=[],F=m.toUpperCase(),D=m.toLowerCase();e:for(var k=0,I;I=v[k];k++){if(I.skipFilter){I.$score=I.score,A.push(I);continue}var L=!this.ignoreCaption&&I.caption||I.value||I.snippet;if(!!L){var T=-1,M=0,S=0,N,B;if(this.exactMatch){if(m!==L.substr(0,m.length))continue e}else{var P=L.toLowerCase().indexOf(D);if(P>-1)S=P;else for(var z=0;z<m.length;z++){var $=L.indexOf(D[z],T+1),O=L.indexOf(F[z],T+1);if(N=$>=0&&(O<0||$<O)?$:O,N<0)continue e;B=N-T-1,B>0&&(T===-1&&(S+=10),S+=B,M|=1<<z),T=N}}I.matchMask=M,I.exactMatch=S?0:1,I.$score=(I.score||0)-S,A.push(I)}}return A},g}();p.Autocomplete=h,p.CompletionProvider=f,p.FilteredList=C}),ace.define("ace/marker_group",["require","exports","module"],function(e,p,_){var x=function(){function E(b,d){d&&(this.markerType=d.markerType),this.markers=[],this.session=b,b.addDynamicMarker(this)}return E.prototype.getMarkerAtPosition=function(b){return this.markers.find(function(d){return d.range.contains(b.row,b.column)})},E.prototype.markersComparator=function(b,d){return b.range.start.row-d.range.start.row},E.prototype.setMarkers=function(b){this.markers=b.sort(this.markersComparator).slice(0,this.MAX_MARKERS),this.session._signal("changeBackMarker")},E.prototype.update=function(b,d,c,r){if(!(!this.markers||!this.markers.length))for(var o=r.firstRow,t=r.lastRow,i,n=0,s=0,a=0;a<this.markers.length;a++){var h=this.markers[a];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 C=f.toScreenRange(c);if(C.isEmpty()){i=c.getNextFoldLine(f.end.row,i),i&&i.end.row>f.end.row&&(o=i.end.row);continue}this.markerType==="fullLine"?d.drawFullLineMarker(b,C,h.className,r):C.isMultiLine()?this.markerType==="line"?d.drawMultiLineMarker(b,C,h.className,r):d.drawTextMarker(b,C,h.className,r):d.drawSingleLineMarker(b,C,h.className+" ace_br15",r)}}}},E}();x.prototype.MAX_MARKERS=1e4,p.MarkerGroup=x}),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],function(e,p,_){function x(c,r){var o=c.getTextRange(b.fromPoints({row:0,column:0},r));return o.split(d).length-1}function E(c,r){var o=x(c,r),t=c.getValue().split(d),i=Object.create(null),n=t[o];return t.forEach(function(s,a){if(!(!s||s===n)){var h=Math.abs(o-a),f=t.length-h;i[s]?i[s]=Math.max(f,i[s]):i[s]=f}}),i}var b=e("../range").Range,d=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;p.getCompletions=function(c,r,o,t,i){var n=E(r,o),s=Object.keys(n);i(null,s.map(function(a){return{caption:a,value:a,score:n[a],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,p,_){var x=e("../snippets").snippetManager,E=e("../autocomplete").Autocomplete,b=e("../config"),d=e("../lib/lang"),c=e("../autocomplete/util"),r=e("../marker_group").MarkerGroup,o=e("../autocomplete/text_completer"),t={getCompletions:function(D,k,I,L,T){if(k.$mode.completer)return k.$mode.completer.getCompletions(D,k,I,L,T);var M=D.session.getState(I.row),S=k.$mode.getCompletions(M,k,I,L);S=S.map(function(N){return N.completerId=t.id,N}),T(null,S)},id:"keywordCompleter"},i=function(D){var k={};return D.replace(/\${(\d+)(:(.*?))?}/g,function(I,L,T,M){return k[L]=M||""}).replace(/\$(\d+?)/g,function(I,L){return k[L]})},n={getCompletions:function(D,k,I,L,T){var M=[],S=k.getTokenAt(I.row,I.column);S&&S.type.match(/(tag-name|tag-open|tag-whitespace|attribute-name|attribute-value)\.xml$/)?M.push("html-tag"):M=x.getActiveScopes(D);var N=x.snippetMap,B=[];M.forEach(function(P){for(var z=N[P]||[],$=z.length;$--;){var O=z[$],H=O.name||O.tabTrigger;!H||B.push({caption:H,snippet:O.content,meta:O.tabTrigger&&!O.name?O.tabTrigger+"\u21E5 ":"snippet",completerId:n.id})}},this),T(null,B)},getDocTooltip:function(D){D.snippet&&!D.docHTML&&(D.docHTML=["<b>",d.escapeHTML(D.caption),"</b>","<hr></hr>",d.escapeHTML(i(D.snippet))].join(""))},id:"snippetCompleter"},s=[n,o,t];p.setCompleters=function(D){s.length=0,D&&s.push.apply(s,D)},p.addCompleter=function(D){s.push(D)},p.textCompleter=o,p.keyWordCompleter=t,p.snippetCompleter=n;var a={name:"expandSnippet",exec:function(D){return x.expandWithTab(D)},bindKey:"Tab"},h=function(D,k){f(k.session.$mode)},f=function(D){typeof D=="string"&&(D=b.$modes[D]),!!D&&(x.files||(x.files={}),C(D.$id,D.snippetFileId),D.modes&&D.modes.forEach(f))},C=function(D,k){!k||!D||x.files[D]||(x.files[D]={},b.loadModule(k,function(I){!I||(x.files[D]=I,!I.snippets&&I.snippetText&&(I.snippets=x.parseSnippetFile(I.snippetText)),x.register(I.snippets||[],I.scope),I.includeScopes&&(x.snippetMap[I.scope].includeScopes=I.includeScopes,I.includeScopes.forEach(function(L){f("ace/mode/"+L)})))}))},g=function(D){var k=D.editor,I=k.completer&&k.completer.activated;if(D.command.name==="backspace")I&&!c.getCompletionPrefix(k)&&k.completer.detach();else if(D.command.name==="insertstring"&&!I){v=D;var L=D.editor.$liveAutocompletionDelay;L?m.delay(L):A(D)}},v,m=d.delayedCall(function(){A(v)},0),A=function(D){var k=D.editor,I=c.getCompletionPrefix(k),L=D.args,T=c.triggerAutocomplete(k,L);if(I&&I.length>=k.$liveAutocompletionThreshold||T){var M=E.for(k);M.autoShown=!0,M.showPopup(k)}},F=e("../editor").Editor;e("../config").defineOptions(F.prototype,"editor",{enableBasicAutocompletion:{set:function(D){D?(E.for(this),this.completers||(this.completers=Array.isArray(D)?D:s),this.commands.addCommand(E.startCommand)):this.commands.removeCommand(E.startCommand)},value:!1},enableLiveAutocompletion:{set:function(D){D?(this.completers||(this.completers=Array.isArray(D)?D:s),this.commands.on("afterExec",g)):this.commands.off("afterExec",g)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(D){D?(this.commands.addCommand(a),this.on("changeMode",h),h(null,this)):(this.commands.removeCommand(a),this.off("changeMode",h))},value:!1}}),p.MarkerGroup=r}),function(){ace.require(["ace/ext/language_tools"],function(e){l&&(l.exports=e)})}()})(extLanguage_tools);var index_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$6={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",l=>{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(l){let w=[{meta:"VForm API",caption:"getWidgetRef",value:"getWidgetRef()",score:1},{meta:"VForm API",caption:"getFormRef",value:"getFormRef()",score:1}];l.require("ace/ext/language_tools").addCompleter({getCompletions:function(p,_,x,E,b){return E.length===0?b(null,[]):b(null,w)}})},setJsonMode(){this.aceEditor.getSession().setMode("ace/mode/json")},setCssMode(){this.aceEditor.getSession().setMode("ace/mode/css")},getEditorAnnotations(){return this.aceEditor.getSession().getAnnotations()},setValue(l){this.aceEditor.getSession().setValue(l)}}},_hoisted_1$4={class:"ace-container"},_hoisted_2$3={class:"ace-editor",ref:"ace"};function _sfc_render$6(l,w,e,p,_,x){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$4,[vue.createElementVNode("div",_hoisted_2$3,null,512)])}var CodeEditor=_export_sfc$1(_sfc_main$6,[["render",_sfc_render$6],["__scopeId","data-v-335e1214"]]),subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$5={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:""}},created(){this.optionModel.columns||(this.optionModel.columns=[])},methods:{addNewColumn(){this.optionModel.columns||(this.optionModel.columns=[]);const l={prop:"field"+(this.optionModel.columns.length+1),label:"\u5217"+(this.optionModel.columns.length+1),type:"input",width:"",minWidth:"",placeholder:"",required:!1,defaultValue:""};this.optionModel.columns.push(l),this.designer.saveCurrentHistoryStep()},deleteColumn(l){this.optionModel.columns.splice(l,1),this.designer.saveCurrentHistoryStep()},handleColumnChange(){this.designer.saveCurrentHistoryStep()},handleSelectOptionsChange(l,w){try{if(w&&w.trim()){const e=JSON.parse(w);Array.isArray(e)?l.options=e:l.options=[]}else l.options=[]}catch(e){console.warn("\u9009\u9879\u6570\u636E\u683C\u5F0F\u9519\u8BEF:",e)}this.designer.saveCurrentHistoryStep()},loadDictOptionsForColumn(l){if(!l.dictCode||!l.dictCode.trim())return;const w=l.dictCode.trim();l._loadingDict=!0;try{let e=null;if(typeof window!="undefined"&&window.getDictData){const p=window.getDictData(w);if(p&&Array.isArray(p)&&p.length>0){l.options=p.map(_=>({label:_.dictLabel||_.label||_.name||_.text||"",value:_.dictValue||_.value||_.code||_.value||_.itemValue||"",disabled:_.disabled||!1})),l.optionsText=JSON.stringify(l.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),l._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.dictCache&&window.dictCache[w]){const p=window.dictCache[w];if(Array.isArray(p)&&p.length>0){l.options=p.map(_=>({label:_.dictLabel||_.label||_.name||_.text||"",value:_.dictValue||_.value||_.code||_.value||_.itemValue||"",disabled:_.disabled||!1})),l.optionsText=JSON.stringify(l.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),l._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.service){window.service.post("/unified-dict/sysItemDict/page",{current:1,size:1e4,dictType:w}).then(({data:p})=>{l._loadingDict=!1;const _=(p==null?void 0:p.records)||(p==null?void 0:p.data)||p||[];if(Array.isArray(_)&&_.length>0){const x=_.filter(E=>E.dictType===w);x.length>0?(l.options=x.map(E=>({label:E.dictLabel||E.label||E.name||E.text||"",value:E.dictValue||E.value||E.code||E.value||E.itemValue||"",disabled:E.disabled||!1})),l.optionsText=JSON.stringify(l.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 "${w}" \u7684\u6570\u636E`)}else this.$message.warning("\u5B57\u5178\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E")}).catch(p=>{l._loadingDict=!1,console.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25:",p),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{l._loadingDict=!1}},editColumnEventHandler(l,w,e){this.currentColumn=l,this.currentEventName=w,this.eventHeader=`${l.label||l.prop}.${w}(${e.join(", ")}) {`,this.columnEventHandlerCode=l[w]||"",this.showColumnEventDialog=!0},saveColumnEventHandler(){if(!(!this.currentColumn||!this.currentEventName)){if(this.$refs.columnEventEditor){const l=this.$refs.columnEventEditor.getEditorAnnotations();let w=!1;if(l&&l.length>0&&(l.forEach(e=>{e.type==="error"&&(w=!0)}),w)){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$3={class:"column-header"},_hoisted_2$2={class:"column-title"},_hoisted_3$2={class:"column-form"},_hoisted_4$1={class:"dialog-footer"};function _sfc_render$5(l,w,e,p,_,x){const E=vue.resolveComponent("el-divider"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-button"),c=vue.resolveComponent("el-input"),r=vue.resolveComponent("el-option"),o=vue.resolveComponent("el-select"),t=vue.resolveComponent("el-switch"),i=vue.resolveComponent("el-input-number"),n=vue.resolveComponent("el-alert"),s=vue.resolveComponent("code-editor"),a=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(E,{class:"custom-divider"},{default:vue.withCtx(()=>[...w[3]||(w[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$3,[vue.createElementVNode("span",_hoisted_2$2,"\u5217 "+vue.toDisplayString(f+1),1),vue.createVNode(d,{circle:"",plain:"",size:"small",type:"danger",onClick:C=>x.deleteColumn(f),icon:"el-icon-minus",class:"column-delete-button"},null,8,["onClick"])]),vue.createElementVNode("div",_hoisted_3$2,[vue.createVNode(b,{label:"\u5217\u540D"},{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:h.label,"onUpdate:modelValue":C=>h.label=C,placeholder:"\u8BF7\u8F93\u5165\u5217\u540D",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5B57\u6BB5\u540D"},{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:h.prop,"onUpdate:modelValue":C=>h.prop=C,placeholder:"\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D\uFF08\u82F1\u6587\uFF09",onInput:x.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":C=>h.type=C,placeholder:"\u8BF7\u9009\u62E9\u5217\u7C7B\u578B",onChange:x.handleColumnChange,style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(r,{label:"\u6587\u672C\u8F93\u5165",value:"input"}),vue.createVNode(r,{label:"\u6570\u5B57\u8F93\u5165",value:"number"}),vue.createVNode(r,{label:"\u65E5\u671F\u9009\u62E9",value:"date"}),vue.createVNode(r,{label:"\u6708\u4EFD\u9009\u62E9",value:"month"}),vue.createVNode(r,{label:"\u65E5\u671F\u65F6\u95F4",value:"datetime"}),vue.createVNode(r,{label:"\u4E0B\u62C9\u9009\u62E9",value:"select"}),vue.createVNode(r,{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(c,{modelValue:h.dictCode,"onUpdate:modelValue":C=>h.dictCode=C,placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178CODE\uFF0C\u5C06\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879",onBlur:C=>x.loadDictOptionsForColumn(h),clearable:""},{append:vue.withCtx(()=>[vue.createVNode(d,{onClick:C=>x.loadDictOptionsForColumn(h),loading:h._loadingDict},{default:vue.withCtx(()=>[...w[4]||(w[4]=[vue.createTextVNode("\u52A0\u8F7D",-1)])]),_:1},8,["onClick","loading"])]),_:2},1032,["modelValue","onUpdate:modelValue","onBlur"]),w[5]||(w[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(c,{modelValue:h.width,"onUpdate:modelValue":C=>h.width=C,placeholder:"\u5982\uFF1A150\uFF08\u53EF\u9009\uFF09",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u6700\u5C0F\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:h.minWidth,"onUpdate:modelValue":C=>h.minWidth=C,placeholder:"\u5982\uFF1A100\uFF08\u53EF\u9009\uFF09",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5360\u4F4D\u7B26"},{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:h.placeholder,"onUpdate:modelValue":C=>h.placeholder=C,placeholder:"\u8BF7\u8F93\u5165\u5360\u4F4D\u7B26\uFF08\u53EF\u9009\uFF09",onInput:x.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":C=>h.required=C,onChange:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),h.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:1,label:"\u9009\u9879\u6570\u636E"},{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:h.optionsText,"onUpdate:modelValue":C=>h.optionsText=C,type:"textarea",rows:3,placeholder:'\u683C\u5F0F\uFF1A[{"label":"\u9009\u98791","value":"value1"},{"label":"\u9009\u98792","value":"value2"}]',onInput:C=>x.handleSelectOptionsChange(h,C)},null,8,["modelValue","onUpdate:modelValue","onInput"]),w[6]||(w[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:2,label:"onMounted\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:C=>x.editColumnEventHandler(h,"onMounted",["col","options","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(l.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),w[7]||(w[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:3,label:"\u4F9D\u8D56\u5217\uFF08\u8054\u52A8\uFF09"},{default:vue.withCtx(()=>[vue.createVNode(o,{modelValue:h.dependOn,"onUpdate:modelValue":C=>h.dependOn=C,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:x.handleColumnChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(C,g)=>(vue.openBlock(),vue.createBlock(r,{key:g,label:C.label||C.prop,value:C.prop,disabled:C.prop===h.prop},null,8,["label","value","disabled"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),w[8]||(w[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:4,label:"\u8054\u52A8\u5904\u7406\u51FD\u6570"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:C=>x.editColumnEventHandler(h,"onDependChange",["targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(l.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),w[9]||(w[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:C=>x.editColumnEventHandler(h,"onChange",["col","value","formData","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(l.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),w[10]||(w[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:5,label:"\u884C\u6570"},{default:vue.withCtx(()=>[vue.createVNode(i,{modelValue:h.rows,"onUpdate:modelValue":C=>h.rows=C,min:1,max:10,onChange:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)):vue.createCommentVNode("",!0)])]))),128)),vue.createElementVNode("div",null,[vue.createVNode(d,{link:"",type:"primary",onClick:x.addNewColumn},{default:vue.withCtx(()=>[...w[11]||(w[11]=[vue.createTextVNode("\u6DFB\u52A0\u5217",-1)])]),_:1},8,["onClick"])])]),_:1})]),vue.createVNode(a,{modelValue:_.showColumnEventDialog,"onUpdate:modelValue":w[2]||(w[2]=h=>_.showColumnEventDialog=h),title:`\u7F16\u8F91\u4E8B\u4EF6\uFF1A${_.currentEventName}`,width:"800px","append-to-body":"","close-on-click-modal":!1},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$1,[vue.createVNode(d,{onClick:w[1]||(w[1]=h=>_.showColumnEventDialog=!1)},{default:vue.withCtx(()=>[...w[12]||(w[12]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(d,{type:"primary",onClick:x.saveColumnEventHandler},{default:vue.withCtx(()=>[...w[13]||(w[13]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(n,{type:"info",closable:!1,title:_.eventHeader,style:{"margin-bottom":"10px"}},null,8,["title"]),vue.createVNode(s,{mode:"javascript",readonly:!1,modelValue:_.columnEventHandlerCode,"onUpdate:modelValue":w[0]||(w[0]=h=>_.columnEventHandlerCode=h),ref:"columnEventEditor"},null,8,["modelValue"])]),_:1},8,["modelValue","title"])],64)}var SubTableColumnsEditor=_export_sfc$1(_sfc_main$5,[["render",_sfc_render$5],["__scopeId","data-v-514d67ae"]]);const _sfc_main$4={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:"":JSON.stringify(this.fieldModel)},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}},currentUserType(){var l;return((l=this.field.options)==null?void 0:l.type)||"username"}},methods:{hasExistingValue(){var w;const l=(w=this.fieldModel)!=null?w:this.oldFieldValue;return l!=null&&l!==""},async getCurrentUser(){const{data:l}=await service$1({method:"get",url:"unified-system/employee/loginInfo?accessType=0"});this.fieldModel=l,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(l,w){w!==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$4(l,w,e,p,_,x){const E=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(E,{modelValue:x.displayModel,"onUpdate:modelValue":w[0]||(w[0]=d=>x.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$4,[["render",_sfc_render$4]]),assetDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$3={name:"asset-dialog",props:{dialogVisible:{type:Boolean,default:!1},fieldValue:{type:Array,default:()=>[]},assetTypeValue:{type:String,default:""}},watch:{dialogVisible:{handler(l){this.visible=l,l&&this.getTableData()}},fieldValue:{handler(l){this.selectedRows=l&&Array.isArray(l)?lodash.exports.cloneDeep(l):[]},deep:!0,immediate:!0},assetTypeValue:{handler(l){l?(this.form.assetType=l,this.disabled=!0):this.disabled=!1},immediate:!0}},data(){return{tableData:[],selectedRows:[],visible:!1,pageSize:10,currentPage:1,assetTypeOptions:[],form:{assetCode:"",assetType:"",ownerUnit:""},disabled:!1}},methods:{handleClose(){this.$emit("close")},handleConfirm(){this.$emit("confirm",this.selectedRows)},getTableData(){service$1({method:"post",url:"/asset-business/overview/pageList",data:$e({size:this.pageSize,current:this.currentPage},this.form)}).then(({data:l})=>{this.tableData=l.records})},handleSizeChange(l){this.pageSize=l},handleCurrentChange(l){this.currentPage=l},handleAdd(){const l=this.$refs.tableRef.getSelectionRows(),w=[...this.selectedRows,...l].reduce((e,p)=>(e.some(_=>_.id===p.id)||e.push(p),e),[]);this.selectedRows=w},handleRemove(l){const w=this.selectedRows.findIndex(e=>e.id===l);w!==-1&&this.selectedRows.splice(w,1)},handleGetAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:l}})=>{this.assetTypeOptions=l.map(w=>({label:w.label,value:w.itemValue}))})},handleSearch(){this.currentPage=1,this.getTableData()}},created(){this.getTableData(),this.handleGetAssetTypeOptions()}},_hoisted_1$2={class:"asset-body-wrap"},_hoisted_2$1={class:"bottom-wrap"},_hoisted_3$1={class:"left-wrap"},_hoisted_4={class:"filter-wrap"},_hoisted_5={class:"right-wrap"},_hoisted_6={class:"asset-wrap"},_hoisted_7={class:"asset-item-left"},_hoisted_8={class:"asset-item-right"},_hoisted_9={class:"dialog-footer"};function _sfc_render$3(l,w,e,p,_,x){const E=vue.resolveComponent("el-input"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-col"),c=vue.resolveComponent("el-option"),r=vue.resolveComponent("el-select"),o=vue.resolveComponent("el-button"),t=vue.resolveComponent("el-row"),i=vue.resolveComponent("el-form"),n=vue.resolveComponent("el-table-column"),s=vue.resolveComponent("el-table"),a=vue.resolveComponent("el-pagination"),h=vue.resolveComponent("Close"),f=vue.resolveComponent("el-icon"),C=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(C,{modelValue:_.visible,"onUpdate:modelValue":w[4]||(w[4]=g=>_.visible=g),title:"\u8D44\u4EA7\u9009\u62E9",width:"1200px",onClose:x.handleClose,"body-class":"person-tree-dialog-body","header-class":"person-tree-dialog-header"},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_9,[vue.createVNode(o,{onClick:x.handleClose,size:"default"},{default:vue.withCtx(()=>[...w[6]||(w[6]=[vue.createTextVNode(" \u53D6\u6D88 ",-1)])]),_:1},8,["onClick"]),vue.createVNode(o,{type:"primary",onClick:x.handleConfirm,size:"default"},{default:vue.withCtx(()=>[...w[7]||(w[7]=[vue.createTextVNode(" \u786E\u5B9A ",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$2,[vue.createElementVNode("div",_hoisted_2$1,[vue.createElementVNode("div",_hoisted_3$1,[vue.createElementVNode("div",_hoisted_4,[vue.createVNode(i,{model:_.form,size:"small"},{default:vue.withCtx(()=>[vue.createVNode(t,{gutter:20},{default:vue.withCtx(()=>[vue.createVNode(d,{span:6},{default:vue.withCtx(()=>[vue.createVNode(b,{label:"\u8D44\u4EA7\u7F16\u7801/\u8D44\u4EA7\u540D\u79F0"},{default:vue.withCtx(()=>[vue.createVNode(E,{size:"small",modelValue:_.form.assetCode,"onUpdate:modelValue":w[0]||(w[0]=g=>_.form.assetCode=g)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:6},{default:vue.withCtx(()=>[vue.createVNode(b,{label:"\u8D44\u4EA7\u7C7B\u578B"},{default:vue.withCtx(()=>[vue.createVNode(r,{size:"small",disabled:_.disabled,modelValue:_.form.assetType,"onUpdate:modelValue":w[1]||(w[1]=g=>_.form.assetType=g),placeholder:"\u8BF7\u9009\u62E9\u8D44\u4EA7\u7C7B\u578B"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.assetTypeOptions,g=>(vue.openBlock(),vue.createBlock(c,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:6},{default:vue.withCtx(()=>[vue.createVNode(b,{label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"},{default:vue.withCtx(()=>[vue.createVNode(E,{size:"small",modelValue:_.form.ownerUnit,"onUpdate:modelValue":w[2]||(w[2]=g=>_.form.ownerUnit=g)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:6},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(o,{type:"primary",size:"small",onClick:x.handleSearch},{default:vue.withCtx(()=>[...w[5]||(w[5]=[vue.createTextVNode("\u641C\u7D22",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),vue.createVNode(s,{data:_.tableData,"max-height":"500px",style:{width:"100%"},"check-strictly":"","row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(n,{type:"selection",width:"55"}),vue.createVNode(n,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801"}),vue.createVNode(n,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0"}),vue.createVNode(n,{prop:"assetTypeName",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"},{default:vue.withCtx(({row:g})=>[vue.createTextVNode(vue.toDisplayString(g.originalValue|l.formatMoney),1)]),_:1}),vue.createVNode(n,{prop:"netValue",label:"\u51C0\u503C"},{default:vue.withCtx(({row:g})=>[vue.createTextVNode(vue.toDisplayString(g.netValue|l.formatMoney),1)]),_:1})]),_:1},8,["data"]),vue.createVNode(a,{onSizeChange:x.handleSizeChange,onCurrentChange:x.handleCurrentChange,"current-page":_.currentPage,layout:"total, sizes, prev, pager, next",size:"small",total:_.tableData.length},null,8,["onSizeChange","onCurrentChange","current-page","total"])]),vue.createElementVNode("div",{class:"center-wrap",onClick:w[3]||(w[3]=(...g)=>x.handleAdd&&x.handleAdd(...g))},"\u6DFB\u52A0"),vue.createElementVNode("div",_hoisted_5,[vue.createElementVNode("ul",_hoisted_6,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.selectedRows,g=>(vue.openBlock(),vue.createElementBlock("li",{class:"asset-item",key:g.id},[vue.createElementVNode("div",_hoisted_7,vue.toDisplayString(g.labelName)+"("+vue.toDisplayString(g.assetCode)+") ",1),vue.createElementVNode("div",_hoisted_8,[vue.createVNode(f,{onClick:v=>x.handleRemove(g.id)},{default:vue.withCtx(()=>[vue.createVNode(h)]),_:1},8,["onClick"])])]))),128))])])])])]),_:1},8,["modelValue","onClose"])}var AssetDialog=_export_sfc$1(_sfc_main$3,[["render",_sfc_render$3],["__scopeId","data-v-18da89e8"]]),index_vue_vue_type_style_index_0_lang$1="",index_vue_vue_type_style_index_1_scoped_true_lang="";const _sfc_main$2={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(l){this.fieldModel=l}},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:{handleRemoveTag(l,w){if(this.field.options.disabled)return;const e=Array.isArray(this.fieldModel)?this.fieldModel:[];let p;l!=null&&typeof w=="number"&&w>=0?(p=deepClone(e),p.splice(w,0,l)):p=deepClone(e),this.oldFieldValue=p,this.syncUpdateFormModel(e),this.emitFieldDataChange(e,this.oldFieldValue),this.triggerEvent("onRemoveTag",l,e,w),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},handleClick(){this.dialogVisible=!0,this.triggerEvent("onOpen")},handleConfirm(l){this.dialogVisible=!1,this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null,this.fieldModel=l,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",l),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(l,...w){var p,_;const e=(_=(p=this.field)==null?void 0:p.options)==null?void 0:_[l];if(e)try{if(l==="onConfirm"&&w.length>0){const x=w[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,x,x,x)}else if(l==="onRemoveTag"&&w.length>=2){const x=w[0],E=w[1],b=w[2];new Function("removedItem","remainingNodes","remainingValue","selectedValue","removedIndex",e).call(this,x,E,E,E,b)}else if(w.length>0){const x=w.map((b,d)=>`arg${d}`).join(", ");new Function(x,e).apply(this,w)}else new Function(e).call(this)}catch(x){console.error(`Error executing ${l} handler:`,x),console.error("Handler code:",e),console.error("Args:",w)}},handleSearch(){this.$nextTick(()=>{this.applyTreeFilter()})}}},_hoisted_1$1={class:"person-tree-widget__trigger"};function _sfc_render$2(l,w,e,p,_,x){const E=vue.resolveComponent("el-button"),b=vue.resolveComponent("asset-dialog"),d=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(d,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"person-tree-widget",style:vue.normalizeStyle(x.widgetStyle)},[vue.createElementVNode("div",_hoisted_1$1,[vue.createVNode(E,{type:"primary",disabled:e.field.options.disabled,placeholder:"\u8BF7\u9009\u62E9\u8D44\u4EA7",onClick:x.handleClick,ref:"inputTagRef"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.buttonText||"\u9009\u62E9\u8D44\u4EA7"),1)]),_:1},8,["disabled","onClick"])]),vue.createVNode(b,{"dialog-visible":_.dialogVisible,onClose:x.handleClose,onConfirm:x.handleConfirm,onCancel:x.handleCancel,fieldValue:_.fieldModel,assetTypeValue:e.field.options.assetTypeValue},null,8,["dialog-visible","onClose","onConfirm","onCancel","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$2,[["render",_sfc_render$2],["__scopeId","data-v-0ef1c39e"]]),detailDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$1={name:"detail-dialog",components:{VFormRender},props:{visible:{type:Boolean,default:!1},data:{type:Object,default:()=>({})},typeJson:{type:[String,Object],default:()=>({})}},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(l){l||this.handleClose()}},currentRowData(){return this.data&&typeof this.data=="object"?this.data:{}},renderFormJson(){return this.formJson||this.defaultFormJson}},watch:{visible:{immediate:!0,handler(l){l?this.initFormData():this.formData={}}}},methods:{resolveTypeJsonMap(){const l=this.typeJson;if(l==null||l==="")return{};if(typeof l=="string")try{return JSON.parse(l)}catch{return{}}return typeof l=="object"?l:{}},applyFormJsonToRender(l){this.formJson=l&&l.widgetList&&l.formConfig?l:lodash.exports.cloneDeep(this.defaultFormJson),this.$nextTick(()=>{const w=this.$refs.detailFormRender;w&&typeof w.setFormJson=="function"&&(w.setFormJson(lodash.exports.cloneDeep(this.formJson)),this.flushPendingColHiddenOps())})},setColHidden(l,w){const e=Array.isArray(l)?l:[l],p=this.$refs.detailFormRender;if(!p||typeof p.setColHidden!="function"){this.pendingColHiddenOps.push({names:e,hidden:w});return}e.forEach(_=>p.setColHidden(_,w))},flushPendingColHiddenOps(){if(!this.pendingColHiddenOps.length)return;const l=this.$refs.detailFormRender;!l||typeof l.setColHidden!="function"||(this.pendingColHiddenOps.forEach(({names:w,hidden:e})=>{w.forEach(p=>l.setColHidden(p,e))}),this.pendingColHiddenOps=[])},initFormData(){var p;this.showForm=!1,this.formData=lodash.exports.cloneDeep(this.currentRowData)||{};const l=this.resolveTypeJsonMap(),w=String((p=this.currentRowData.assetType)!=null?p:"0"),e=l[w]||l.default;if(!e){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/${e}`}).then(({data:_})=>{if(!(_==null?void 0:_.formJson)){this.applyFormJsonToRender(null);return}let x;try{x=typeof _.formJson=="string"?JSON.parse(_.formJson):_.formJson,this.showForm=!0}catch(E){console.error(E),x=null}this.applyFormJsonToRender(x),this.showForm=!0}).catch(_=>{console.error(_),this.applyFormJsonToRender(null)})},async handleConfirm(){const l=this.$refs.detailFormRender;if(!!l)try{const w=await l.getFormData(!0);console.log(w,"formValues"),this.$emit("confirm",w),this.dialogVisible=!1}catch(w){this.$message.error(w),console.error(w)}},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={class:"asset-body-wrap"},_hoisted_2={key:0},_hoisted_3={class:"dialog-footer"};function _sfc_render$1(l,w,e,p,_,x){const E=vue.resolveComponent("v-form-render"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(d,{modelValue:x.dialogVisible,"onUpdate:modelValue":w[0]||(w[0]=c=>x.dialogVisible=c),title:"\u5904\u7F6E\u8BE6\u60C5",width:"1200px",onClose:x.handleClose,"body-class":"person-tree-dialog-body","header-class":"person-tree-dialog-header"},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3,[vue.createVNode(b,{onClick:x.handleClose},{default:vue.withCtx(()=>[...w[1]||(w[1]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1},8,["onClick"]),vue.createVNode(b,{type:"primary",onClick:x.handleConfirm},{default:vue.withCtx(()=>[...w[2]||(w[2]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1,[_.showForm?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2,[vue.createVNode(E,{ref:"detailFormRender","form-json":x.renderFormJson,"form-data":_.formData},null,8,["form-json","form-data"])])):vue.createCommentVNode("",!0)])]),_:1},8,["modelValue","onClose"])}var DetailDialog=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1],["__scopeId","data-v-772c9f48"]]),index_vue_vue_type_style_index_0_lang="";const _sfc_main={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(l){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:{handleClick(){this.dialogVisible=!0,this.triggerEvent("onOpen")},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(l){const w=this.fieldModel.findIndex(e=>e.id===l.id);w!==-1&&(this.fieldModel[w]=$e($e({},this.fieldModel[w]),l),console.log(this.fieldModel,"this.fieldModel"))},triggerEvent(l,...w){var p,_;const e=(_=(p=this.field)==null?void 0:p.options)==null?void 0:_[l];if(e)try{if(l==="onOpen"&&w.length>0){const x=w[0];new Function("rowData",e).call(this,x)}else if(w.length>0){const x=w.map((b,d)=>`arg${d}`).join(", ");new Function(x,e).apply(this,w)}else new Function(e).call(this)}catch(x){console.error(`Error executing ${l} handler:`,x),console.error("Handler code:",e),console.error("Args:",w)}},handleRow(l){const w=this.fieldModel.findIndex(e=>e.id===l.id);w!==-1&&(this.triggerEvent("onOpen",this.fieldModel[w]),this.detailDialogVisible=!0,this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[w]))},setDetailColHidden(l,w){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(l,w)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(l){const w=this.fieldModel.findIndex(e=>e.id===this.detailDialogData.id);w!==-1&&(this.fieldModel[w]=Ft($e($e({},this.fieldModel[w]),l),{isUpdate:!0}),console.log(this.fieldModel,"this.fieldModel"))}}};function _sfc_render(l,w,e,p,_,x){const E=vue.resolveComponent("el-table-column"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-table"),c=vue.resolveComponent("detail-dialog"),r=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(r,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-table-widget",style:vue.normalizeStyle(l.widgetStyle)},[vue.createVNode(d,{data:_.fieldModel,"max-height":"500px",style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(E,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801"}),vue.createVNode(E,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0"},{default:vue.withCtx(({row:o})=>[vue.createVNode(b,{type:"text",size:"small",onClick:t=>x.handleRow(o)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(o.labelName),1)]),_:2},1032,["onClick"])]),_:1}),vue.createVNode(E,{prop:"assetTypeName",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(E,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(E,{prop:"originalValue",label:"\u539F\u503C"},{default:vue.withCtx(({row:o})=>[vue.createTextVNode(vue.toDisplayString(o.originalValue|l.formatMoney),1)]),_:1}),vue.createVNode(E,{prop:"netValue",label:"\u51C0\u503C"},{default:vue.withCtx(({row:o})=>[vue.createTextVNode(vue.toDisplayString(o.netValue|l.formatMoney),1)]),_:1}),vue.createVNode(E,{prop:"isUpdate",label:"\u662F\u5426\u5DF2\u5B8C\u6210\u586B\u5199"},{default:vue.withCtx(({row:o})=>[vue.createTextVNode(vue.toDisplayString(o.isUpdate?"\u662F":"\u5426"),1)]),_:1})]),_:1},8,["data"])],4),vue.createVNode(c,{ref:"detailDialogRef",visible:_.detailDialogVisible,typeJson:e.field.options.typeJson,data:_.detailDialogData,onClose:x.handleCloseDetailDialog,onConfirm:x.handleConfirm},null,8,["visible","typeJson","data","onClose","onConfirm"])]),_: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,[["render",_sfc_render]]);const loadExtension=function(l){l.component(CardWidget.name,CardWidget),l.component(CardItem.name,CardItem),registerCPEditor(l,"card-folded","card-folded-editor",createBooleanEditor("folded","extension.setting.cardFolded")),registerCPEditor(l,"card-showFold","card-showFold-editor",createBooleanEditor("showFold","extension.setting.cardShowFold")),registerCPEditor(l,"card-cardWidth","card-cardWidth-editor",createInputTextEditor("cardWidth","extension.setting.cardWidth")),registerCPEditor(l,"card-shadow","card-shadow-editor",createSelectEditor("shadow","extension.setting.cardShadow",{optionItems:[{label:"never",value:"never"},{label:"hover",value:"hover"},{label:"always",value:"always"}]})),l.component(AlertWidget.name,AlertWidget),registerCPEditor(l,"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"}];l.component("alert-type-editor",createSelectEditor("type","extension.setting.alertType",{optionItems:e})),registerCPEditor(l,"alert-description","alert-description-editor",createInputTextEditor("description","extension.setting.description")),registerCPEditor(l,"alert-closable","alert-closable-editor",createBooleanEditor("closable","extension.setting.closable")),registerCPEditor(l,"alert-closeText","alert-closeText-editor",createInputTextEditor("closeText","extension.setting.closeText")),registerCPEditor(l,"alert-center","alert-center-editor",createBooleanEditor("center","extension.setting.center")),registerCPEditor(l,"alert-showIcon","alert-showIcon-editor",createBooleanEditor("showIcon","extension.setting.showIcon")),registerCPEditor(l,"alert-effect","alert-effect-editor",createRadioButtonGroupEditor("effect","extension.setting.effect",{optionItems:[{label:"light",value:"light"},{label:"dark",value:"dark"}]})),registerEPEditor(l,"alert-onClose","alert-onClose-editor",createEventHandlerEditor("onClose",[])),l.component(PersonTreeWidget.name,PersonTreeWidget),registerCPEditor(l,"person-tree-buttonText","person-tree-buttonText-editor",createInputTextEditor("buttonText","extension.setting.personTreeButtonText")),registerCPEditor(l,"person-tree-dialogTitle","person-tree-dialogTitle-editor",createInputTextEditor("dialogTitle","extension.setting.personTreeDialogTitle")),registerCPEditor(l,"person-tree-treeParams","person-tree-treeParams-editor",createTextareaEditor("treeParams","extension.setting.personTreeTreeParams",{rows:4})),registerAPEditor(l,"person-tree-dialogWidth","person-tree-dialogWidth-editor",createInputTextEditor("dialogWidth","extension.setting.personTreeDialogWidth")),registerCPEditor(l,"person-tree-confirmText","person-tree-confirmText-editor",createInputTextEditor("confirmText","extension.setting.personTreeConfirmText")),registerCPEditor(l,"person-tree-cancelText","person-tree-cancelText-editor",createInputTextEditor("cancelText","extension.setting.personTreeCancelText")),registerCPEditor(l,"person-tree-hideFooter","person-tree-hideFooter-editor",createBooleanEditor("hideFooter","extension.setting.personTreeHideFooter")),registerEPEditor(l,"person-tree-onOpen","person-tree-onOpen-editor",createEventHandlerEditor("onOpen",[])),registerEPEditor(l,"person-tree-onConfirm","person-tree-onConfirm-editor",createEventHandlerEditor("onConfirm",["checkedNodes"])),registerEPEditor(l,"person-tree-onRemoveTag","person-tree-onRemoveTag-editor",createEventHandlerEditor("onRemoveTag",["removedItem","remainingNodes","removedIndex"])),registerEPEditor(l,"person-tree-onCancel","person-tree-onCancel-editor",createEventHandlerEditor("onCancel",[])),registerEPEditor(l,"person-tree-onClose","person-tree-onClose-editor",createEventHandlerEditor("onClose",[])),l.component(radioOtherItem.name,radioOtherItem),l.component(selectOtherItem.name,selectOtherItem),l.component(meetingRoomItem.name,meetingRoomItem),registerCPEditor(l,"meeting-room-remoteUrl","meeting-room-remoteUrl-editor",createInputTextEditor("remoteUrl","extension.setting.meetingRoomRemoteUrl")),registerCPEditor(l,"meeting-room-allowMultiple","meeting-room-allowMultiple-editor",createBooleanEditor("allowMultiple","extension.setting.allowMultiple")),l.component(CustomSubFormWidget.name,CustomSubFormWidget),l.component(CustomSubFormItem.name,CustomSubFormItem),l.component(CustomTableWidget.name,CustomTableWidget),l.component(CustomTableItem.name,CustomTableItem),l.component(CustomTableCellWidget.name,CustomTableCellWidget),l.component(CustomTableCellItem.name,CustomTableCellItem),l.component(SubTableWidget.name,SubTableWidget),l.component(SubTableItem.name,SubTableItem),l.component("sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(l,"sub-table-columns","sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(l,"select-tree-showCheckbox","select-tree-showCheckbox-editor",createBooleanEditor("showCheckbox","designer.setting.showCheckbox")),registerCPEditor(l,"select-tree-checkStrictly","select-tree-checkStrictly-editor",createBooleanEditor("checkStrictly","extension.setting.selectTreeCheckStrictly")),l.component(CurrentUserWidget.name,CurrentUserWidget),registerCPEditor(l,"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"}]})),l.component(AssetSelectWidget.name,AssetSelectWidget),registerCPEditor(l,"asset-select-buttonText","asset-select-buttonText-editor",createInputTextEditor("buttonText","extension.setting.assetSelectButtonText")),registerCPEditor(l,"asset-select-typeJson","asset-select-typeJson-editor",createTextareaEditor("typeJson","extension.setting.assetSelectTypeJson",{rows:4})),registerCPEditor(l,"asset-select-assetTypeValue","asset-select-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetSelectAssetTypeValue")),l.component(AssetTableWidget.name,AssetTableWidget),registerCPEditor(l,"asset-table-typeJson","asset-table-typeJson-editor",createTextareaEditor("typeJson","extension.setting.assetTableTypeJson",{rows:4})),registerEPEditor(l,"asset-table-onOpen","asset-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"]))};function getElMessage(l){var w,e,p;try{if((e=(w=l==null?void 0:l.config)==null?void 0:w.globalProperties)==null?void 0:e.$message)return l.config.globalProperties.$message;if(typeof window!="undefined"&&window.ElementPlus)return window.ElementPlus.ElMessage||((p=window.ElementPlus.default)==null?void 0:p.ElMessage)||null}catch{}return null}VFormRender.install=function(l){loadExtension(l),l.use(ContainerItems),registerIcon(l),l.component(VFormRender.name,VFormRender),l.config.globalProperties.$service=service$1,l.provide("service",service$1),l.provide("ElMessage",getElMessage(l))};const components=[VFormRender],install=l=>{loadExtension(l),l.use(ContainerItems),registerIcon(l),components.forEach(w=>{l.component(w.name,w)}),l.config.globalProperties.$service=service$1,l.provide("service",service$1),window.axios=axios,typeof window!="undefined"&&(window.service=service$1)};var installRender={install,VFormRender};return installRender});
|
|
1353
|
+
`,"autocompletion.css",!1),p.AcePopup=f,p.$singleLineEditor=h,p.getAriaId=i}),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],function(e,p,_){var x=function(){function E(b){this.editor=b,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return E.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 c=this.popup.getRow(),r=this.popup.renderer.$textLayer,o=r.element.childNodes[c-r.config.firstRow];if(o){for(var t="doc-tooltip ",i=0;i<this._lines.length;i++)t+="ace-inline-screenreader-line-".concat(i," ");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)},E.prototype.destroy=function(){this.screenReaderDiv.remove()},E.prototype.createCodeBlock=function(){var b=document.createElement("pre");b.setAttribute("id","ace-inline-screenreader");for(var d=0;d<this._lines.length;d++){var c=document.createElement("code");c.setAttribute("id","ace-inline-screenreader-line-".concat(d));var r=document.createTextNode(this._lines[d]);c.appendChild(r),b.appendChild(c)}return b},E}();p.AceInlineScreenReader=x}),ace.define("ace/autocomplete/inline",["require","exports","module","ace/snippets","ace/autocomplete/inline_screenreader"],function(e,p,_){var x=e("../snippets").snippetManager,E=e("./inline_screenreader").AceInlineScreenReader,b=function(){function d(){this.editor=null}return d.prototype.show=function(c,r,o){if(o=o||"",c&&this.editor&&this.editor!==c&&(this.hide(),this.editor=null,this.inlineScreenReader=null),!c||!r)return!1;this.inlineScreenReader||(this.inlineScreenReader=new E(c));var t=r.snippet?x.getDisplayTextForSnippet(c,r.snippet):r.value;return r.hideInlinePreview||!t||!t.startsWith(o)?!1:(this.editor=c,this.inlineScreenReader.setScreenReaderContent(t),t=t.slice(o.length),t===""?c.removeGhostText():c.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}();p.AceInline=b}),ace.define("ace/autocomplete/util",["require","exports","module"],function(e,p,_){p.parForEach=function(E,b,d){var c=0,r=E.length;r===0&&d();for(var o=0;o<r;o++)b(E[o],function(t,i){c++,c===r&&d(t,i)})};var x=/[a-zA-Z_0-9\$\-\u00A2-\u2000\u2070-\uFFFF]/;p.retrievePrecedingIdentifier=function(E,b,d){d=d||x;for(var c=[],r=b-1;r>=0&&d.test(E[r]);r--)c.push(E[r]);return c.reverse().join("")},p.retrieveFollowingIdentifier=function(E,b,d){d=d||x;for(var c=[],r=b;r<E.length&&d.test(E[r]);r++)c.push(E[r]);return c},p.getCompletionPrefix=function(E){var b=E.getCursorPosition(),d=E.session.getLine(b.row),c;return E.completers.forEach(function(r){r.identifierRegexps&&r.identifierRegexps.forEach(function(o){!c&&o&&(c=this.retrievePrecedingIdentifier(d,b.column,o))}.bind(this))}.bind(this)),c||this.retrievePrecedingIdentifier(d,b.column)},p.triggerAutocomplete=function(E,b){var b=b==null?E.session.getPrecedingCharacter():b;return E.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,p,_){var x=e("./keyboard/hash_handler").HashHandler,E=e("./autocomplete/popup").AcePopup,b=e("./autocomplete/inline").AceInline,d=e("./autocomplete/popup").getAriaId,c=e("./autocomplete/util"),r=e("./lib/lang"),o=e("./lib/dom"),t=e("./snippets").snippetManager,i=e("./config"),n=e("./lib/event"),s=e("./lib/scroll").preventParentScroll,a=function(g,v){v.completer&&v.completer.destroy()},h=function(){function g(){this.autoInsert=!1,this.autoSelect=!0,this.autoShown=!1,this.exactMatch=!1,this.inlineEnabled=!1,this.keyboardHandler=new x,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=r.delayedCall(function(){this.updateCompletions(!0)}.bind(this)),this.tooltipTimer=r.delayedCall(this.updateDocTooltip.bind(this),50),this.popupTimer=r.delayedCall(this.$updatePopupPosition.bind(this),50),this.stickySelectionTimer=r.delayedCall(function(){this.stickySelection=!0}.bind(this),this.stickySelectionDelay),this.$firstOpenTimer=r.delayedCall(function(){var v=this.completionProvider&&this.completionProvider.initialPosition;this.autoShown||this.popup&&this.popup.isOpen||!v||this.editor.completers.length===0||(this.completions=new C(g.completionsForLoading),this.openPopup(this.editor,v.prefix,!1),this.popup.renderer.setStyle("ace_loading",!0))}.bind(this),this.stickySelectionDelay)}return Object.defineProperty(g,"completionsForLoading",{get:function(){return[{caption:i.nls("autocomplete.loading","Loading..."),value:""}]},enumerable:!1,configurable:!0}),g.prototype.$init=function(){return this.popup=new E(this.parentNode||document.body||document.documentElement),this.popup.on("click",function(v){this.insertMatch(),v.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},g.prototype.$initInline=function(){if(!(!this.inlineEnabled||this.inlineRenderer))return this.inlineRenderer=new b,this.inlineRenderer},g.prototype.getPopup=function(){return this.popup||this.$init()},g.prototype.$onHidePopup=function(){this.inlineRenderer&&this.inlineRenderer.hide(),this.hideDocTooltip(),this.stickySelectionTimer.cancel(),this.popupTimer.cancel(),this.stickySelection=!1},g.prototype.$seen=function(v){!this.hasSeen.has(v)&&v&&v.completer&&v.completer.onSeen&&typeof v.completer.onSeen=="function"&&(v.completer.onSeen(this.editor,v),this.hasSeen.add(v))},g.prototype.$onPopupChange=function(v){if(this.inlineRenderer&&this.inlineEnabled){var m=v?null:this.popup.getData(this.popup.getRow());if(this.$updateGhostText(m),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)},g.prototype.$updateGhostText=function(v){var m=this.base.row,A=this.base.column,F=this.editor.getCursorPosition().column,D=this.editor.session.getLine(m).slice(A,F);this.inlineRenderer.show(this.editor,v,D)?this.$seen(v):this.inlineRenderer.hide()},g.prototype.$onPopupRender=function(){var v=this.inlineRenderer&&this.inlineEnabled;if(this.completions&&this.completions.filtered&&this.completions.filtered.length>0)for(var m=this.popup.getFirstVisibleRow();m<=this.popup.getLastVisibleRow();m++){var A=this.popup.getData(m);A&&(!v||A.hideInlinePreview)&&this.$seen(A)}},g.prototype.$onPopupShow=function(v){this.$onPopupChange(v),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},g.prototype.observeLayoutChanges=function(){if(!(this.$elements||!this.editor)){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var v=this.editor.container.parentNode,m=[];v;)m.push(v),v.addEventListener("scroll",this.onLayoutChange,{passive:!0}),v=v.parentNode;this.$elements=m}},g.prototype.unObserveLayoutChanges=function(){var v=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach(function(m){m.removeEventListener("scroll",v.onLayoutChange,{passive:!0})}),this.$elements=null},g.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},g.prototype.$updatePopupPosition=function(){var v=this.editor,m=v.renderer,A=m.layerConfig.lineHeight,F=m.$cursorLayer.getPixelPosition(this.base,!0);F.left-=this.popup.getTextLeftOffset();var D=v.container.getBoundingClientRect();F.top+=D.top-m.layerConfig.offset,F.left+=D.left-v.renderer.scrollLeft,F.left+=m.gutterWidth;var k={top:F.top,left:F.left};m.$ghostText&&m.$ghostTextWidget&&this.base.row===m.$ghostText.position.row&&(k.top+=m.$ghostTextWidget.el.offsetHeight);var I=v.container.getBoundingClientRect().bottom-A,L=I<k.top?{top:I,left:k.left}:k;this.popup.tryShow(L,A,"bottom")||this.popup.tryShow(F,A,"top")||this.popup.show(F,A)},g.prototype.openPopup=function(v,m,A){this.$firstOpenTimer.cancel(),this.popup||this.$init(),this.inlineEnabled&&!this.inlineRenderer&&this.$initInline(),this.popup.autoSelect=this.autoSelect,this.popup.setSelectOnHover(this.setSelectOnHover);var F=this.popup.getRow(),D=this.popup.data[F];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}),v.keyBinding.addKeyboardHandler(this.keyboardHandler);var k;this.stickySelection&&(k=this.popup.data.indexOf(D)),(!k||k===-1)&&(k=0),this.popup.setRow(this.autoSelect?k:-1),k===F&&D!==this.completions.filtered[k]&&this.$onPopupChange();var I=this.inlineRenderer&&this.inlineEnabled;if(k===F&&I){var L=this.popup.getData(this.popup.getRow());this.$updateGhostText(L)}A||(this.popup.setTheme(v.getTheme()),this.popup.setFontSize(v.getFontSize()),this.$updatePopupPosition(),this.tooltipNode&&this.updateDocTooltip()),this.changeTimer.cancel(),this.observeLayoutChanges()},g.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()},g.prototype.changeListener=function(v){var m=this.editor.selection.lead;(m.row!=this.base.row||m.column<this.base.column)&&this.detach(),this.activated?this.changeTimer.schedule():this.detach()},g.prototype.blurListener=function(v){var m=document.activeElement,A=this.editor.textInput.getElement(),F=v.relatedTarget&&this.tooltipNode&&this.tooltipNode.contains(v.relatedTarget),D=this.popup&&this.popup.container;m!=A&&m.parentNode!=D&&!F&&m!=this.tooltipNode&&v.relatedTarget!=A&&this.detach()},g.prototype.mousedownListener=function(v){this.detach()},g.prototype.mousewheelListener=function(v){this.popup&&!this.popup.isMouseOver&&this.detach()},g.prototype.mouseOutListener=function(v){this.popup.isOpen&&this.$updatePopupPosition()},g.prototype.goTo=function(v){this.popup.goTo(v)},g.prototype.insertMatch=function(v,m){if(v||(v=this.popup.getData(this.popup.getRow())),!v)return!1;if(v.value==="")return this.detach();var A=this.completions,F=this.getCompletionProvider().insertMatch(this.editor,v,A.filterText,m);return this.completions==A&&this.detach(),F},g.prototype.showPopup=function(v,m){this.editor&&this.detach(),this.activated=!0,this.editor=v,v.completer!=this&&(v.completer&&v.completer.detach(),v.completer=this),v.on("changeSelection",this.changeListener),v.on("blur",this.blurListener),v.on("mousedown",this.mousedownListener),v.on("mousewheel",this.mousewheelListener),this.updateCompletions(!1,m)},g.prototype.getCompletionProvider=function(v){return this.completionProvider||(this.completionProvider=new f(v)),this.completionProvider},g.prototype.gatherCompletions=function(v,m){return this.getCompletionProvider().gatherCompletions(v,m)},g.prototype.updateCompletions=function(v,m){if(v&&this.base&&this.completions){var F=this.editor.getCursorPosition(),D=this.editor.session.getTextRange({start:this.base,end:F});if(D==this.completions.filterText)return;if(this.completions.setFilter(D),!this.completions.filtered.length)return this.detach();if(this.completions.filtered.length==1&&this.completions.filtered[0].value==D&&!this.completions.filtered[0].snippet)return this.detach();this.openPopup(this.editor,D,v);return}if(m&&m.matches){var F=this.editor.getSelectionRange().start;return this.base=this.editor.session.doc.createAnchor(F.row,F.column),this.base.$insertRight=!0,this.completions=new C(m.matches),this.getCompletionProvider().completions=this.completions,this.openPopup(this.editor,"",v)}var A=this.editor.getSession(),F=this.editor.getCursorPosition(),D=c.getCompletionPrefix(this.editor);this.base=A.doc.createAnchor(F.row,F.column-D.length),this.base.$insertRight=!0;var k={exactMatch:this.exactMatch,ignoreCaption:this.ignoreCaption};this.getCompletionProvider({prefix:D,pos:F}).provideCompletions(this.editor,k,function(I,L,T){var M=L.filtered,S=c.getCompletionPrefix(this.editor);if(this.$firstOpenTimer.cancel(),T){if(!M.length){var N=!this.autoShown&&this.emptyMessage;if(typeof N=="function"&&(N=this.emptyMessage(S)),N){var B=[{caption:N,value:""}];this.completions=new C(B),this.openPopup(this.editor,S,v),this.popup.renderer.setStyle("ace_loading",!1),this.popup.renderer.setStyle("ace_empty-message",!0);return}return this.detach()}if(M.length==1&&M[0].value==S&&!M[0].snippet)return this.detach();if(this.autoInsert&&!this.autoShown&&M.length==1)return this.insertMatch(M[0])}this.completions=!T&&this.showLoadingState?new C(g.completionsForLoading.concat(M),L.filterText):L,this.openPopup(this.editor,S,v),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)},g.prototype.cancelContextMenu=function(){this.editor.$mouseHandler.cancelContextMenu()},g.prototype.updateDocTooltip=function(){var v=this.popup,m=this.completions&&this.completions.filtered,A=m&&(m[v.getHoveredRow()]||m[v.getRow()]),F=null;if(!A||!this.editor||!this.popup.isOpen)return this.hideDocTooltip();for(var D=this.editor.completers.length,k=0;k<D;k++){var I=this.editor.completers[k];if(I.getDocTooltip&&A.completerId===I.id){F=I.getDocTooltip(A);break}}if(!F&&typeof A!="string"&&(F=A),typeof F=="string"&&(F={docText:F}),!F||!F.docHTML&&!F.docText)return this.hideDocTooltip();this.showDocTooltip(F)},g.prototype.showDocTooltip=function(v){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 m=this.editor.renderer.theme;this.tooltipNode.className="ace_tooltip ace_doc-tooltip "+(m.isDark?"ace_dark ":"")+(m.cssClass||"");var A=this.tooltipNode;v.docHTML?A.innerHTML=v.docHTML:v.docText&&(A.textContent=v.docText),A.parentNode||this.popup.container.appendChild(this.tooltipNode);var F=this.popup,D=F.container.getBoundingClientRect(),k=400,I=300,L=F.renderer.scrollBar.width||10,T=D.left,M=window.innerWidth-D.right-L,S=F.isTopdown?D.top:window.innerHeight-L-D.bottom,N=[Math.min(M/k,1),Math.min(T/k,1),Math.min(S/I*.9)],B=Math.max.apply(Math,N),P=A.style;P.display="block",B==N[0]?(P.left=D.right+1+"px",P.right="",P.maxWidth=k*B+"px",P.top=D.top+"px",P.bottom="",P.maxHeight=Math.min(window.innerHeight-L-D.top,I)+"px"):B==N[1]?(P.right=window.innerWidth-D.left+"px",P.left="",P.maxWidth=k*B+"px",P.top=D.top+"px",P.bottom="",P.maxHeight=Math.min(window.innerHeight-L-D.top,I)+"px"):B==N[2]&&(P.left=window.innerWidth-D.left+"px",P.maxWidth=Math.min(k,window.innerWidth)+"px",F.isTopdown?(P.top=D.bottom+"px",P.left=D.left+"px",P.right="",P.bottom="",P.maxHeight=Math.min(window.innerHeight-L-D.bottom,I)+"px"):(P.top=F.container.offsetTop-A.offsetHeight+"px",P.left=D.left+"px",P.right="",P.bottom="",P.maxHeight=Math.min(F.container.offsetTop,I)+"px"))},g.prototype.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),!!this.tooltipNode){var v=this.tooltipNode;!this.editor.isFocused()&&document.activeElement==v&&this.editor.focus(),this.tooltipNode=null,v.parentNode&&v.parentNode.removeChild(v)}},g.prototype.onTooltipClick=function(v){for(var m=v.target;m&&m!=this.tooltipNode;){if(m.nodeName=="A"&&m.href){m.rel="noreferrer",m.target="_blank";break}m=m.parentNode}},g.prototype.destroy=function(){if(this.detach(),this.popup){this.popup.destroy();var v=this.popup.container;v&&v.parentNode&&v.parentNode.removeChild(v)}this.editor&&this.editor.completer==this&&(this.editor.off("destroy",a),this.editor.completer=null),this.inlineRenderer=this.popup=this.editor=null},g.for=function(v){return v.completer instanceof g||(v.completer&&(v.completer.destroy(),v.completer=null),i.get("sharedPopups")?(g.$sharedInstance||(g.$sharedInstance=new g),v.completer=g.$sharedInstance):(v.completer=new g,v.once("destroy",a))),v.completer},g}();h.prototype.commands={Up:function(g){g.completer.goTo("up")},Down:function(g){g.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(g){g.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(g){g.completer.goTo("end")},Esc:function(g){g.completer.detach()},Return:function(g){return g.completer.insertMatch()},"Shift-Return":function(g){g.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(g){var v=g.completer.insertMatch();if(!!v||!!g.tabstopManager)return v;g.completer.goTo("down")},Backspace:function(g){g.execCommand("backspace");var v=c.getCompletionPrefix(g);!v&&g.completer&&g.completer.detach()},PageUp:function(g){g.completer.popup.gotoPageUp()},PageDown:function(g){g.completer.popup.gotoPageDown()}},h.startCommand={name:"startAutocomplete",exec:function(g,v){var m=h.for(g);m.autoInsert=!1,m.autoSelect=!0,m.autoShown=!1,m.showPopup(g,v),m.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var f=function(){function g(v){this.initialPosition=v,this.active=!0}return g.prototype.insertByIndex=function(v,m,A){return!this.completions||!this.completions.filtered?!1:this.insertMatch(v,this.completions.filtered[m],A)},g.prototype.insertMatch=function(v,m,A){if(!m)return!1;if(v.startOperation({command:{name:"insertMatch"}}),m.completer&&m.completer.insertMatch)m.completer.insertMatch(v,m);else{if(!this.completions)return!1;var F=this.completions.filterText.length,D=0;if(m.range&&m.range.start.row===m.range.end.row&&(F-=this.initialPosition.prefix.length,F+=this.initialPosition.pos.column-m.range.start.column,D+=m.range.end.column-this.initialPosition.pos.column),F||D){var k;v.selection.getAllRanges?k=v.selection.getAllRanges():k=[v.getSelectionRange()];for(var I=0,L;L=k[I];I++)L.start.column-=F,L.end.column+=D,v.session.remove(L)}m.snippet?t.insertSnippet(v,m.snippet):this.$insertString(v,m),m.completer&&m.completer.onInsert&&typeof m.completer.onInsert=="function"&&m.completer.onInsert(v,m),m.command&&m.command==="startAutocomplete"&&v.execCommand(m.command)}return v.endOperation(),!0},g.prototype.$insertString=function(v,m){var A=m.value||m;v.execCommand("insertstring",A)},g.prototype.gatherCompletions=function(v,m){var A=v.getSession(),F=v.getCursorPosition(),D=c.getCompletionPrefix(v),k=[];this.completers=v.completers;var I=v.completers.length;return v.completers.forEach(function(L,T){L.getCompletions(v,A,F,D,function(M,S){L.hideInlinePreview&&(S=S.map(function(N){return Object.assign(N,{hideInlinePreview:L.hideInlinePreview})})),!M&&S&&(k=k.concat(S)),m(null,{prefix:c.getCompletionPrefix(v),matches:k,finished:--I==0})})}),!0},g.prototype.provideCompletions=function(v,m,A){var F=function(L){var T=L.prefix,M=L.matches;this.completions=new C(M),m.exactMatch&&(this.completions.exactMatch=!0),m.ignoreCaption&&(this.completions.ignoreCaption=!0),this.completions.setFilter(T),(L.finished||this.completions.filtered.length)&&A(null,this.completions,L.finished)}.bind(this),D=!0,k=null;if(this.gatherCompletions(v,function(L,T){if(!!this.active){L&&(A(L,[],!0),this.detach());var M=T.prefix;if(M.indexOf(T.prefix)===0){if(D){k=T;return}F(T)}}}.bind(this)),D=!1,k){var I=k;k=null,F(I)}},g.prototype.detach=function(){this.active=!1,this.completers&&this.completers.forEach(function(v){typeof v.cancel=="function"&&v.cancel()})},g}(),C=function(){function g(v,m){this.all=v,this.filtered=v,this.filterText=m||"",this.exactMatch=!1,this.ignoreCaption=!1}return g.prototype.setFilter=function(v){if(v.length>this.filterText&&v.lastIndexOf(this.filterText,0)===0)var m=this.filtered;else var m=this.all;this.filterText=v,m=this.filterCompletions(m,this.filterText),m=m.sort(function(F,D){return D.exactMatch-F.exactMatch||D.$score-F.$score||(F.caption||F.value).localeCompare(D.caption||D.value)});var A=null;m=m.filter(function(F){var D=F.snippet||F.caption||F.value;return D===A?!1:(A=D,!0)}),this.filtered=m},g.prototype.filterCompletions=function(v,m){var A=[],F=m.toUpperCase(),D=m.toLowerCase();e:for(var k=0,I;I=v[k];k++){if(I.skipFilter){I.$score=I.score,A.push(I);continue}var L=!this.ignoreCaption&&I.caption||I.value||I.snippet;if(!!L){var T=-1,M=0,S=0,N,B;if(this.exactMatch){if(m!==L.substr(0,m.length))continue e}else{var P=L.toLowerCase().indexOf(D);if(P>-1)S=P;else for(var z=0;z<m.length;z++){var $=L.indexOf(D[z],T+1),O=L.indexOf(F[z],T+1);if(N=$>=0&&(O<0||$<O)?$:O,N<0)continue e;B=N-T-1,B>0&&(T===-1&&(S+=10),S+=B,M|=1<<z),T=N}}I.matchMask=M,I.exactMatch=S?0:1,I.$score=(I.score||0)-S,A.push(I)}}return A},g}();p.Autocomplete=h,p.CompletionProvider=f,p.FilteredList=C}),ace.define("ace/marker_group",["require","exports","module"],function(e,p,_){var x=function(){function E(b,d){d&&(this.markerType=d.markerType),this.markers=[],this.session=b,b.addDynamicMarker(this)}return E.prototype.getMarkerAtPosition=function(b){return this.markers.find(function(d){return d.range.contains(b.row,b.column)})},E.prototype.markersComparator=function(b,d){return b.range.start.row-d.range.start.row},E.prototype.setMarkers=function(b){this.markers=b.sort(this.markersComparator).slice(0,this.MAX_MARKERS),this.session._signal("changeBackMarker")},E.prototype.update=function(b,d,c,r){if(!(!this.markers||!this.markers.length))for(var o=r.firstRow,t=r.lastRow,i,n=0,s=0,a=0;a<this.markers.length;a++){var h=this.markers[a];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 C=f.toScreenRange(c);if(C.isEmpty()){i=c.getNextFoldLine(f.end.row,i),i&&i.end.row>f.end.row&&(o=i.end.row);continue}this.markerType==="fullLine"?d.drawFullLineMarker(b,C,h.className,r):C.isMultiLine()?this.markerType==="line"?d.drawMultiLineMarker(b,C,h.className,r):d.drawTextMarker(b,C,h.className,r):d.drawSingleLineMarker(b,C,h.className+" ace_br15",r)}}}},E}();x.prototype.MAX_MARKERS=1e4,p.MarkerGroup=x}),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],function(e,p,_){function x(c,r){var o=c.getTextRange(b.fromPoints({row:0,column:0},r));return o.split(d).length-1}function E(c,r){var o=x(c,r),t=c.getValue().split(d),i=Object.create(null),n=t[o];return t.forEach(function(s,a){if(!(!s||s===n)){var h=Math.abs(o-a),f=t.length-h;i[s]?i[s]=Math.max(f,i[s]):i[s]=f}}),i}var b=e("../range").Range,d=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;p.getCompletions=function(c,r,o,t,i){var n=E(r,o),s=Object.keys(n);i(null,s.map(function(a){return{caption:a,value:a,score:n[a],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,p,_){var x=e("../snippets").snippetManager,E=e("../autocomplete").Autocomplete,b=e("../config"),d=e("../lib/lang"),c=e("../autocomplete/util"),r=e("../marker_group").MarkerGroup,o=e("../autocomplete/text_completer"),t={getCompletions:function(D,k,I,L,T){if(k.$mode.completer)return k.$mode.completer.getCompletions(D,k,I,L,T);var M=D.session.getState(I.row),S=k.$mode.getCompletions(M,k,I,L);S=S.map(function(N){return N.completerId=t.id,N}),T(null,S)},id:"keywordCompleter"},i=function(D){var k={};return D.replace(/\${(\d+)(:(.*?))?}/g,function(I,L,T,M){return k[L]=M||""}).replace(/\$(\d+?)/g,function(I,L){return k[L]})},n={getCompletions:function(D,k,I,L,T){var M=[],S=k.getTokenAt(I.row,I.column);S&&S.type.match(/(tag-name|tag-open|tag-whitespace|attribute-name|attribute-value)\.xml$/)?M.push("html-tag"):M=x.getActiveScopes(D);var N=x.snippetMap,B=[];M.forEach(function(P){for(var z=N[P]||[],$=z.length;$--;){var O=z[$],H=O.name||O.tabTrigger;!H||B.push({caption:H,snippet:O.content,meta:O.tabTrigger&&!O.name?O.tabTrigger+"\u21E5 ":"snippet",completerId:n.id})}},this),T(null,B)},getDocTooltip:function(D){D.snippet&&!D.docHTML&&(D.docHTML=["<b>",d.escapeHTML(D.caption),"</b>","<hr></hr>",d.escapeHTML(i(D.snippet))].join(""))},id:"snippetCompleter"},s=[n,o,t];p.setCompleters=function(D){s.length=0,D&&s.push.apply(s,D)},p.addCompleter=function(D){s.push(D)},p.textCompleter=o,p.keyWordCompleter=t,p.snippetCompleter=n;var a={name:"expandSnippet",exec:function(D){return x.expandWithTab(D)},bindKey:"Tab"},h=function(D,k){f(k.session.$mode)},f=function(D){typeof D=="string"&&(D=b.$modes[D]),!!D&&(x.files||(x.files={}),C(D.$id,D.snippetFileId),D.modes&&D.modes.forEach(f))},C=function(D,k){!k||!D||x.files[D]||(x.files[D]={},b.loadModule(k,function(I){!I||(x.files[D]=I,!I.snippets&&I.snippetText&&(I.snippets=x.parseSnippetFile(I.snippetText)),x.register(I.snippets||[],I.scope),I.includeScopes&&(x.snippetMap[I.scope].includeScopes=I.includeScopes,I.includeScopes.forEach(function(L){f("ace/mode/"+L)})))}))},g=function(D){var k=D.editor,I=k.completer&&k.completer.activated;if(D.command.name==="backspace")I&&!c.getCompletionPrefix(k)&&k.completer.detach();else if(D.command.name==="insertstring"&&!I){v=D;var L=D.editor.$liveAutocompletionDelay;L?m.delay(L):A(D)}},v,m=d.delayedCall(function(){A(v)},0),A=function(D){var k=D.editor,I=c.getCompletionPrefix(k),L=D.args,T=c.triggerAutocomplete(k,L);if(I&&I.length>=k.$liveAutocompletionThreshold||T){var M=E.for(k);M.autoShown=!0,M.showPopup(k)}},F=e("../editor").Editor;e("../config").defineOptions(F.prototype,"editor",{enableBasicAutocompletion:{set:function(D){D?(E.for(this),this.completers||(this.completers=Array.isArray(D)?D:s),this.commands.addCommand(E.startCommand)):this.commands.removeCommand(E.startCommand)},value:!1},enableLiveAutocompletion:{set:function(D){D?(this.completers||(this.completers=Array.isArray(D)?D:s),this.commands.on("afterExec",g)):this.commands.off("afterExec",g)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(D){D?(this.commands.addCommand(a),this.on("changeMode",h),h(null,this)):(this.commands.removeCommand(a),this.off("changeMode",h))},value:!1}}),p.MarkerGroup=r}),function(){ace.require(["ace/ext/language_tools"],function(e){l&&(l.exports=e)})}()})(extLanguage_tools);var index_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$6={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",l=>{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(l){let w=[{meta:"VForm API",caption:"getWidgetRef",value:"getWidgetRef()",score:1},{meta:"VForm API",caption:"getFormRef",value:"getFormRef()",score:1}];l.require("ace/ext/language_tools").addCompleter({getCompletions:function(p,_,x,E,b){return E.length===0?b(null,[]):b(null,w)}})},setJsonMode(){this.aceEditor.getSession().setMode("ace/mode/json")},setCssMode(){this.aceEditor.getSession().setMode("ace/mode/css")},getEditorAnnotations(){return this.aceEditor.getSession().getAnnotations()},setValue(l){this.aceEditor.getSession().setValue(l)}}},_hoisted_1$4={class:"ace-container"},_hoisted_2$3={class:"ace-editor",ref:"ace"};function _sfc_render$6(l,w,e,p,_,x){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$4,[vue.createElementVNode("div",_hoisted_2$3,null,512)])}var CodeEditor=_export_sfc$1(_sfc_main$6,[["render",_sfc_render$6],["__scopeId","data-v-335e1214"]]),subTableColumnsEditor_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$5={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:""}},created(){this.optionModel.columns||(this.optionModel.columns=[])},methods:{addNewColumn(){this.optionModel.columns||(this.optionModel.columns=[]);const l={prop:"field"+(this.optionModel.columns.length+1),label:"\u5217"+(this.optionModel.columns.length+1),type:"input",width:"",minWidth:"",placeholder:"",required:!1,defaultValue:""};this.optionModel.columns.push(l),this.designer.saveCurrentHistoryStep()},deleteColumn(l){this.optionModel.columns.splice(l,1),this.designer.saveCurrentHistoryStep()},handleColumnChange(){this.designer.saveCurrentHistoryStep()},handleSelectOptionsChange(l,w){try{if(w&&w.trim()){const e=JSON.parse(w);Array.isArray(e)?l.options=e:l.options=[]}else l.options=[]}catch(e){console.warn("\u9009\u9879\u6570\u636E\u683C\u5F0F\u9519\u8BEF:",e)}this.designer.saveCurrentHistoryStep()},loadDictOptionsForColumn(l){if(!l.dictCode||!l.dictCode.trim())return;const w=l.dictCode.trim();l._loadingDict=!0;try{let e=null;if(typeof window!="undefined"&&window.getDictData){const p=window.getDictData(w);if(p&&Array.isArray(p)&&p.length>0){l.options=p.map(_=>({label:_.dictLabel||_.label||_.name||_.text||"",value:_.dictValue||_.value||_.code||_.value||_.itemValue||"",disabled:_.disabled||!1})),l.optionsText=JSON.stringify(l.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),l._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.dictCache&&window.dictCache[w]){const p=window.dictCache[w];if(Array.isArray(p)&&p.length>0){l.options=p.map(_=>({label:_.dictLabel||_.label||_.name||_.text||"",value:_.dictValue||_.value||_.code||_.value||_.itemValue||"",disabled:_.disabled||!1})),l.optionsText=JSON.stringify(l.options,null,2),this.$message.success("\u4ECE\u5B57\u5178\u7F13\u5B58\u52A0\u8F7D\u9009\u9879\u6210\u529F"),l._loadingDict=!1,this.designer.saveCurrentHistoryStep();return}}if(typeof window!="undefined"&&window.service){window.service.post("/unified-dict/sysItemDict/page",{current:1,size:1e4,dictType:w}).then(({data:p})=>{l._loadingDict=!1;const _=(p==null?void 0:p.records)||(p==null?void 0:p.data)||p||[];if(Array.isArray(_)&&_.length>0){const x=_.filter(E=>E.dictType===w);x.length>0?(l.options=x.map(E=>({label:E.dictLabel||E.label||E.name||E.text||"",value:E.dictValue||E.value||E.code||E.value||E.itemValue||"",disabled:E.disabled||!1})),l.optionsText=JSON.stringify(l.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 "${w}" \u7684\u6570\u636E`)}else this.$message.warning("\u5B57\u5178\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E")}).catch(p=>{l._loadingDict=!1,console.error("\u83B7\u53D6\u5B57\u5178\u6570\u636E\u5931\u8D25:",p),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{l._loadingDict=!1}},editColumnEventHandler(l,w,e){this.currentColumn=l,this.currentEventName=w,this.eventHeader=`${l.label||l.prop}.${w}(${e.join(", ")}) {`,this.columnEventHandlerCode=l[w]||"",this.showColumnEventDialog=!0},saveColumnEventHandler(){if(!(!this.currentColumn||!this.currentEventName)){if(this.$refs.columnEventEditor){const l=this.$refs.columnEventEditor.getEditorAnnotations();let w=!1;if(l&&l.length>0&&(l.forEach(e=>{e.type==="error"&&(w=!0)}),w)){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$3={class:"column-header"},_hoisted_2$2={class:"column-title"},_hoisted_3$2={class:"column-form"},_hoisted_4$1={class:"dialog-footer"};function _sfc_render$5(l,w,e,p,_,x){const E=vue.resolveComponent("el-divider"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-button"),c=vue.resolveComponent("el-input"),r=vue.resolveComponent("el-option"),o=vue.resolveComponent("el-select"),t=vue.resolveComponent("el-switch"),i=vue.resolveComponent("el-input-number"),n=vue.resolveComponent("el-alert"),s=vue.resolveComponent("code-editor"),a=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(E,{class:"custom-divider"},{default:vue.withCtx(()=>[...w[3]||(w[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$3,[vue.createElementVNode("span",_hoisted_2$2,"\u5217 "+vue.toDisplayString(f+1),1),vue.createVNode(d,{circle:"",plain:"",size:"small",type:"danger",onClick:C=>x.deleteColumn(f),icon:"el-icon-minus",class:"column-delete-button"},null,8,["onClick"])]),vue.createElementVNode("div",_hoisted_3$2,[vue.createVNode(b,{label:"\u5217\u540D"},{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:h.label,"onUpdate:modelValue":C=>h.label=C,placeholder:"\u8BF7\u8F93\u5165\u5217\u540D",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5B57\u6BB5\u540D"},{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:h.prop,"onUpdate:modelValue":C=>h.prop=C,placeholder:"\u8BF7\u8F93\u5165\u5B57\u6BB5\u540D\uFF08\u82F1\u6587\uFF09",onInput:x.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":C=>h.type=C,placeholder:"\u8BF7\u9009\u62E9\u5217\u7C7B\u578B",onChange:x.handleColumnChange,style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(r,{label:"\u6587\u672C\u8F93\u5165",value:"input"}),vue.createVNode(r,{label:"\u6570\u5B57\u8F93\u5165",value:"number"}),vue.createVNode(r,{label:"\u65E5\u671F\u9009\u62E9",value:"date"}),vue.createVNode(r,{label:"\u6708\u4EFD\u9009\u62E9",value:"month"}),vue.createVNode(r,{label:"\u65E5\u671F\u65F6\u95F4",value:"datetime"}),vue.createVNode(r,{label:"\u4E0B\u62C9\u9009\u62E9",value:"select"}),vue.createVNode(r,{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(c,{modelValue:h.dictCode,"onUpdate:modelValue":C=>h.dictCode=C,placeholder:"\u8BF7\u8F93\u5165\u5B57\u5178CODE\uFF0C\u5C06\u4ECE\u5B57\u5178\u7F13\u5B58\u83B7\u53D6\u9009\u9879",onBlur:C=>x.loadDictOptionsForColumn(h),clearable:""},{append:vue.withCtx(()=>[vue.createVNode(d,{onClick:C=>x.loadDictOptionsForColumn(h),loading:h._loadingDict},{default:vue.withCtx(()=>[...w[4]||(w[4]=[vue.createTextVNode("\u52A0\u8F7D",-1)])]),_:1},8,["onClick","loading"])]),_:2},1032,["modelValue","onUpdate:modelValue","onBlur"]),w[5]||(w[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(c,{modelValue:h.width,"onUpdate:modelValue":C=>h.width=C,placeholder:"\u5982\uFF1A150\uFF08\u53EF\u9009\uFF09",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u6700\u5C0F\u5217\u5BBD"},{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:h.minWidth,"onUpdate:modelValue":C=>h.minWidth=C,placeholder:"\u5982\uFF1A100\uFF08\u53EF\u9009\uFF09",onInput:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onInput"])]),_:2},1024),vue.createVNode(b,{label:"\u5360\u4F4D\u7B26"},{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:h.placeholder,"onUpdate:modelValue":C=>h.placeholder=C,placeholder:"\u8BF7\u8F93\u5165\u5360\u4F4D\u7B26\uFF08\u53EF\u9009\uFF09",onInput:x.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":C=>h.required=C,onChange:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024),h.type==="select"?(vue.openBlock(),vue.createBlock(b,{key:1,label:"\u9009\u9879\u6570\u636E"},{default:vue.withCtx(()=>[vue.createVNode(c,{modelValue:h.optionsText,"onUpdate:modelValue":C=>h.optionsText=C,type:"textarea",rows:3,placeholder:'\u683C\u5F0F\uFF1A[{"label":"\u9009\u98791","value":"value1"},{"label":"\u9009\u98792","value":"value2"}]',onInput:C=>x.handleSelectOptionsChange(h,C)},null,8,["modelValue","onUpdate:modelValue","onInput"]),w[6]||(w[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:2,label:"onMounted\u4E8B\u4EF6"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:C=>x.editColumnEventHandler(h,"onMounted",["col","options","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(l.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),w[7]||(w[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:3,label:"\u4F9D\u8D56\u5217\uFF08\u8054\u52A8\uFF09"},{default:vue.withCtx(()=>[vue.createVNode(o,{modelValue:h.dependOn,"onUpdate:modelValue":C=>h.dependOn=C,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:x.handleColumnChange},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(e.optionModel.columns,(C,g)=>(vue.openBlock(),vue.createBlock(r,{key:g,label:C.label||C.prop,value:C.prop,disabled:C.prop===h.prop},null,8,["label","value","disabled"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]),w[8]||(w[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:4,label:"\u8054\u52A8\u5904\u7406\u51FD\u6570"},{default:vue.withCtx(()=>[vue.createVNode(d,{type:"info",icon:"el-icon-edit",plain:"",round:"",onClick:C=>x.editColumnEventHandler(h,"onDependChange",["targetCol","sourceCol","sourceValue","formData","currentOptions","setOptions","setValue","getValue"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(l.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),w[9]||(w[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:C=>x.editColumnEventHandler(h,"onChange",["col","value","formData","setOptions"])},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(l.i18nt("designer.setting.addEventHandler")),1)]),_:1},8,["onClick"]),w[10]||(w[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:5,label:"\u884C\u6570"},{default:vue.withCtx(()=>[vue.createVNode(i,{modelValue:h.rows,"onUpdate:modelValue":C=>h.rows=C,min:1,max:10,onChange:x.handleColumnChange},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:2},1024)):vue.createCommentVNode("",!0)])]))),128)),vue.createElementVNode("div",null,[vue.createVNode(d,{link:"",type:"primary",onClick:x.addNewColumn},{default:vue.withCtx(()=>[...w[11]||(w[11]=[vue.createTextVNode("\u6DFB\u52A0\u5217",-1)])]),_:1},8,["onClick"])])]),_:1})]),vue.createVNode(a,{modelValue:_.showColumnEventDialog,"onUpdate:modelValue":w[2]||(w[2]=h=>_.showColumnEventDialog=h),title:`\u7F16\u8F91\u4E8B\u4EF6\uFF1A${_.currentEventName}`,width:"800px","append-to-body":"","close-on-click-modal":!1},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$1,[vue.createVNode(d,{onClick:w[1]||(w[1]=h=>_.showColumnEventDialog=!1)},{default:vue.withCtx(()=>[...w[12]||(w[12]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1}),vue.createVNode(d,{type:"primary",onClick:x.saveColumnEventHandler},{default:vue.withCtx(()=>[...w[13]||(w[13]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createVNode(n,{type:"info",closable:!1,title:_.eventHeader,style:{"margin-bottom":"10px"}},null,8,["title"]),vue.createVNode(s,{mode:"javascript",readonly:!1,modelValue:_.columnEventHandlerCode,"onUpdate:modelValue":w[0]||(w[0]=h=>_.columnEventHandlerCode=h),ref:"columnEventEditor"},null,8,["modelValue"])]),_:1},8,["modelValue","title"])],64)}var SubTableColumnsEditor=_export_sfc$1(_sfc_main$5,[["render",_sfc_render$5],["__scopeId","data-v-514d67ae"]]);const _sfc_main$4={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:"":JSON.stringify(this.fieldModel)},widgetStyle(){return{width:this.field.options.columnWidth||"auto"}},currentUserType(){var l;return((l=this.field.options)==null?void 0:l.type)||"username"}},methods:{hasExistingValue(){var w;const l=(w=this.fieldModel)!=null?w:this.oldFieldValue;return l!=null&&l!==""},async getCurrentUser(){const{data:l}=await service$1({method:"get",url:"unified-system/employee/loginInfo?accessType=0"});this.fieldModel=l,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(l,w){w!==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$4(l,w,e,p,_,x){const E=vue.resolveComponent("el-input"),b=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(b,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createVNode(E,{modelValue:x.displayModel,"onUpdate:modelValue":w[0]||(w[0]=d=>x.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$4,[["render",_sfc_render$4]]),assetDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$3={name:"asset-dialog",props:{dialogVisible:{type:Boolean,default:!1},fieldValue:{type:Array,default:()=>[]},assetTypeValue:{type:String,default:""}},watch:{dialogVisible:{handler(l){this.visible=l,l&&this.getTableData()}},fieldValue:{handler(l){this.selectedRows=l&&Array.isArray(l)?lodash.exports.cloneDeep(l):[]},deep:!0,immediate:!0},assetTypeValue:{handler(l){l?(this.form.assetType=l,this.disabled=!0):this.disabled=!1},immediate:!0}},data(){return{tableData:[],selectedRows:[],visible:!1,pageSize:10,currentPage:1,assetTypeOptions:[],form:{assetCode:"",assetType:"",ownerUnit:""},disabled:!1}},methods:{handleClose(){this.$emit("close")},handleConfirm(){this.$emit("confirm",this.selectedRows)},getTableData(){service$1({method:"post",url:"/asset-business/overview/pageList",data:$e({size:this.pageSize,current:this.currentPage},this.form)}).then(({data:l})=>{this.tableData=l.records})},handleSizeChange(l){this.pageSize=l},handleCurrentChange(l){this.currentPage=l},handleAdd(){const l=this.$refs.tableRef.getSelectionRows(),w=[...this.selectedRows,...l].reduce((e,p)=>(e.some(_=>_.id===p.id)||e.push(p),e),[]);this.selectedRows=w},handleRemove(l){const w=this.selectedRows.findIndex(e=>e.id===l);w!==-1&&this.selectedRows.splice(w,1)},handleGetAssetTypeOptions(){service$1({method:"post",url:"/unified-dict/sysItemDict/page",data:{current:1,size:1e4,dictType:"asset_type"}}).then(({data:{records:l}})=>{this.assetTypeOptions=l.map(w=>({label:w.label,value:w.itemValue}))})},handleSearch(){this.currentPage=1,this.getTableData()}},created(){this.getTableData(),this.handleGetAssetTypeOptions()}},_hoisted_1$2={class:"asset-body-wrap"},_hoisted_2$1={class:"bottom-wrap"},_hoisted_3$1={class:"left-wrap"},_hoisted_4={class:"filter-wrap"},_hoisted_5={class:"right-wrap"},_hoisted_6={class:"asset-wrap"},_hoisted_7={class:"asset-item-left"},_hoisted_8={class:"asset-item-right"},_hoisted_9={class:"dialog-footer"};function _sfc_render$3(l,w,e,p,_,x){const E=vue.resolveComponent("el-input"),b=vue.resolveComponent("el-form-item"),d=vue.resolveComponent("el-col"),c=vue.resolveComponent("el-option"),r=vue.resolveComponent("el-select"),o=vue.resolveComponent("el-button"),t=vue.resolveComponent("el-row"),i=vue.resolveComponent("el-form"),n=vue.resolveComponent("el-table-column"),s=vue.resolveComponent("el-table"),a=vue.resolveComponent("el-pagination"),h=vue.resolveComponent("Close"),f=vue.resolveComponent("el-icon"),C=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(C,{modelValue:_.visible,"onUpdate:modelValue":w[4]||(w[4]=g=>_.visible=g),title:"\u8D44\u4EA7\u9009\u62E9",width:"1200px",onClose:x.handleClose,"body-class":"person-tree-dialog-body","header-class":"person-tree-dialog-header"},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_9,[vue.createVNode(o,{onClick:x.handleClose,size:"default"},{default:vue.withCtx(()=>[...w[6]||(w[6]=[vue.createTextVNode(" \u53D6\u6D88 ",-1)])]),_:1},8,["onClick"]),vue.createVNode(o,{type:"primary",onClick:x.handleConfirm,size:"default"},{default:vue.withCtx(()=>[...w[7]||(w[7]=[vue.createTextVNode(" \u786E\u5B9A ",-1)])]),_:1},8,["onClick"])])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$2,[vue.createElementVNode("div",_hoisted_2$1,[vue.createElementVNode("div",_hoisted_3$1,[vue.createElementVNode("div",_hoisted_4,[vue.createVNode(i,{model:_.form,size:"small"},{default:vue.withCtx(()=>[vue.createVNode(t,{gutter:20},{default:vue.withCtx(()=>[vue.createVNode(d,{span:6},{default:vue.withCtx(()=>[vue.createVNode(b,{label:"\u8D44\u4EA7\u7F16\u7801/\u8D44\u4EA7\u540D\u79F0"},{default:vue.withCtx(()=>[vue.createVNode(E,{size:"small",modelValue:_.form.assetCode,"onUpdate:modelValue":w[0]||(w[0]=g=>_.form.assetCode=g)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:6},{default:vue.withCtx(()=>[vue.createVNode(b,{label:"\u8D44\u4EA7\u7C7B\u578B"},{default:vue.withCtx(()=>[vue.createVNode(r,{size:"small",disabled:_.disabled,modelValue:_.form.assetType,"onUpdate:modelValue":w[1]||(w[1]=g=>_.form.assetType=g),placeholder:"\u8BF7\u9009\u62E9\u8D44\u4EA7\u7C7B\u578B"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.assetTypeOptions,g=>(vue.openBlock(),vue.createBlock(c,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["disabled","modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:6},{default:vue.withCtx(()=>[vue.createVNode(b,{label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"},{default:vue.withCtx(()=>[vue.createVNode(E,{size:"small",modelValue:_.form.ownerUnit,"onUpdate:modelValue":w[2]||(w[2]=g=>_.form.ownerUnit=g)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(d,{span:6},{default:vue.withCtx(()=>[vue.createVNode(b,null,{default:vue.withCtx(()=>[vue.createVNode(o,{type:"primary",size:"small",onClick:x.handleSearch},{default:vue.withCtx(()=>[...w[5]||(w[5]=[vue.createTextVNode("\u641C\u7D22",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),vue.createVNode(s,{data:_.tableData,"max-height":"500px",style:{width:"100%"},"check-strictly":"","row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(n,{type:"selection",width:"55"}),vue.createVNode(n,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801"}),vue.createVNode(n,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0"}),vue.createVNode(n,{prop:"assetTypeName",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"},{default:vue.withCtx(({row:g})=>[vue.createTextVNode(vue.toDisplayString(g.originalValue|l.formatMoney),1)]),_:1}),vue.createVNode(n,{prop:"netValue",label:"\u51C0\u503C"},{default:vue.withCtx(({row:g})=>[vue.createTextVNode(vue.toDisplayString(g.netValue|l.formatMoney),1)]),_:1})]),_:1},8,["data"]),vue.createVNode(a,{onSizeChange:x.handleSizeChange,onCurrentChange:x.handleCurrentChange,"current-page":_.currentPage,layout:"total, sizes, prev, pager, next",size:"small",total:_.tableData.length},null,8,["onSizeChange","onCurrentChange","current-page","total"])]),vue.createElementVNode("div",{class:"center-wrap",onClick:w[3]||(w[3]=(...g)=>x.handleAdd&&x.handleAdd(...g))},"\u6DFB\u52A0"),vue.createElementVNode("div",_hoisted_5,[vue.createElementVNode("ul",_hoisted_6,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.selectedRows,g=>(vue.openBlock(),vue.createElementBlock("li",{class:"asset-item",key:g.id},[vue.createElementVNode("div",_hoisted_7,vue.toDisplayString(g.labelName)+"("+vue.toDisplayString(g.assetCode)+") ",1),vue.createElementVNode("div",_hoisted_8,[vue.createVNode(f,{onClick:v=>x.handleRemove(g.id)},{default:vue.withCtx(()=>[vue.createVNode(h)]),_:1},8,["onClick"])])]))),128))])])])])]),_:1},8,["modelValue","onClose"])}var AssetDialog=_export_sfc$1(_sfc_main$3,[["render",_sfc_render$3],["__scopeId","data-v-18da89e8"]]),index_vue_vue_type_style_index_0_lang$1="",index_vue_vue_type_style_index_1_scoped_true_lang="";const _sfc_main$2={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(l){this.fieldModel=l}},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:{handleRemoveTag(l,w){if(this.field.options.disabled)return;const e=Array.isArray(this.fieldModel)?this.fieldModel:[];let p;l!=null&&typeof w=="number"&&w>=0?(p=deepClone(e),p.splice(w,0,l)):p=deepClone(e),this.oldFieldValue=p,this.syncUpdateFormModel(e),this.emitFieldDataChange(e,this.oldFieldValue),this.triggerEvent("onRemoveTag",l,e,w),this.$nextTick(()=>{this.dispatch("VFormRender","fieldValidation",[this.getPropName()])})},handleClick(){this.dialogVisible=!0,this.triggerEvent("onOpen")},handleConfirm(l){this.dialogVisible=!1,this.oldFieldValue=this.fieldModel?deepClone(this.fieldModel):null,this.fieldModel=l,this.syncUpdateFormModel(this.fieldModel),this.emitFieldDataChange(this.fieldModel,this.oldFieldValue),this.triggerEvent("onConfirm",l),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(l,...w){var p,_;const e=(_=(p=this.field)==null?void 0:p.options)==null?void 0:_[l];if(e)try{if(l==="onConfirm"&&w.length>0){const x=w[0];new Function("checkedNodes","selectedNodes","selectedValue",e).call(this,x,x,x)}else if(l==="onRemoveTag"&&w.length>=2){const x=w[0],E=w[1],b=w[2];new Function("removedItem","remainingNodes","remainingValue","selectedValue","removedIndex",e).call(this,x,E,E,E,b)}else if(w.length>0){const x=w.map((b,d)=>`arg${d}`).join(", ");new Function(x,e).apply(this,w)}else new Function(e).call(this)}catch(x){console.error(`Error executing ${l} handler:`,x),console.error("Handler code:",e),console.error("Args:",w)}},handleSearch(){this.$nextTick(()=>{this.applyTreeFilter()})}}},_hoisted_1$1={class:"person-tree-widget__trigger"};function _sfc_render$2(l,w,e,p,_,x){const E=vue.resolveComponent("el-button"),b=vue.resolveComponent("asset-dialog"),d=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(d,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"person-tree-widget",style:vue.normalizeStyle(x.widgetStyle)},[vue.createElementVNode("div",_hoisted_1$1,[vue.createVNode(E,{type:"primary",disabled:e.field.options.disabled,placeholder:"\u8BF7\u9009\u62E9\u8D44\u4EA7",onClick:x.handleClick,ref:"inputTagRef"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(e.field.options.buttonText||"\u9009\u62E9\u8D44\u4EA7"),1)]),_:1},8,["disabled","onClick"])]),vue.createVNode(b,{"dialog-visible":_.dialogVisible,onClose:x.handleClose,onConfirm:x.handleConfirm,onCancel:x.handleCancel,fieldValue:_.fieldModel,assetTypeValue:e.field.options.assetTypeValue},null,8,["dialog-visible","onClose","onConfirm","onCancel","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$2,[["render",_sfc_render$2],["__scopeId","data-v-0ef1c39e"]]),detailDialog_vue_vue_type_style_index_0_scoped_true_lang="";const _sfc_main$1={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(l){l||this.handleClose()}},currentRowData(){return this.data&&typeof this.data=="object"?this.data:{}},renderFormJson(){return this.formJson||this.defaultFormJson}},watch:{visible:{immediate:!0,handler(l){l?this.initFormData():this.formData={}}},disabled:{immediate:!0,handler(){this.$nextTick(()=>{this.syncFormDisabledStatus()})}}},methods:{resolveTypeJsonMap(){const l=this.typeJson;if(l==null||l==="")return{};if(typeof l=="string")try{return JSON.parse(l)}catch{return{}}return typeof l=="object"?l:{}},syncFormDisabledStatus(){const l=this.$refs.detailFormRender;!l||(this.disabled?typeof l.disableForm=="function"&&l.disableForm():typeof l.enableForm=="function"&&l.enableForm())},applyFormJsonToRender(l){this.formJson=l&&l.widgetList&&l.formConfig?l:lodash.exports.cloneDeep(this.defaultFormJson),this.$nextTick(()=>{const w=this.$refs.detailFormRender;w&&typeof w.setFormJson=="function"&&(w.setFormJson(lodash.exports.cloneDeep(this.formJson)),this.$nextTick(()=>{this.syncFormDisabledStatus(),this.flushPendingColHiddenOps()}))})},setColHidden(l,w){const e=Array.isArray(l)?l:[l],p=this.$refs.detailFormRender;if(!p||typeof p.setColHidden!="function"){this.pendingColHiddenOps.push({names:e,hidden:w});return}e.forEach(_=>p.setColHidden(_,w))},flushPendingColHiddenOps(){if(!this.pendingColHiddenOps.length)return;const l=this.$refs.detailFormRender;!l||typeof l.setColHidden!="function"||(this.pendingColHiddenOps.forEach(({names:w,hidden:e})=>{w.forEach(p=>l.setColHidden(p,e))}),this.pendingColHiddenOps=[])},initFormData(){var p;this.showForm=!1,this.formData=lodash.exports.cloneDeep(this.currentRowData)||{};const l=this.resolveTypeJsonMap(),w=String((p=this.currentRowData.assetType)!=null?p:"0"),e=l[w]||l.default;if(!e){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/${e}`}).then(({data:_})=>{if(!(_==null?void 0:_.formJson)){this.applyFormJsonToRender(null);return}let x;try{x=typeof _.formJson=="string"?JSON.parse(_.formJson):_.formJson,this.showForm=!0}catch(E){console.error(E),x=null}this.applyFormJsonToRender(x),this.showForm=!0}).catch(_=>{console.error(_),this.applyFormJsonToRender(null)})},async handleConfirm(){const l=this.$refs.detailFormRender;if(!!l)try{const w=await l.getFormData(!0);console.log(w,"formValues"),this.$emit("confirm",w),this.dialogVisible=!1}catch(w){this.$message.error(w),console.error(w)}},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={class:"asset-body-wrap"},_hoisted_2={key:0},_hoisted_3={class:"dialog-footer"};function _sfc_render$1(l,w,e,p,_,x){const E=vue.resolveComponent("v-form-render"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-dialog");return vue.openBlock(),vue.createBlock(d,{modelValue:x.dialogVisible,"onUpdate:modelValue":w[0]||(w[0]=c=>x.dialogVisible=c),title:"\u5904\u7F6E\u8BE6\u60C5",width:"1200px",onClose:x.handleClose,"body-class":"person-tree-dialog-body","header-class":"person-tree-dialog-header"},{footer:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3,[vue.createVNode(b,{onClick:x.handleClose},{default:vue.withCtx(()=>[...w[1]||(w[1]=[vue.createTextVNode("\u53D6\u6D88",-1)])]),_:1},8,["onClick"]),e.disabled?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(b,{key:0,type:"primary",onClick:x.handleConfirm},{default:vue.withCtx(()=>[...w[2]||(w[2]=[vue.createTextVNode("\u786E\u5B9A",-1)])]),_:1},8,["onClick"]))])]),default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1,[_.showForm?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2,[vue.createVNode(E,{ref:"detailFormRender","form-json":x.renderFormJson,"form-data":_.formData},null,8,["form-json","form-data"])])):vue.createCommentVNode("",!0)])]),_:1},8,["modelValue","onClose"])}var DetailDialog=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1],["__scopeId","data-v-0f9f38bd"]]),index_vue_vue_type_style_index_0_lang="";const _sfc_main={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(l){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:{handleClick(){this.dialogVisible=!0,this.triggerEvent("onOpen")},handleClose(){this.dialogVisible=!1,this.triggerEvent("onClose"),this.dispatch("VFormRender","fieldValidation",[this.getPropName()])},updateRowData(l){const w=this.fieldModel.findIndex(e=>e.id===l.id);w!==-1&&(this.fieldModel[w]=$e($e({},this.fieldModel[w]),l),console.log(this.fieldModel,"this.fieldModel"))},triggerEvent(l,...w){var p,_;const e=(_=(p=this.field)==null?void 0:p.options)==null?void 0:_[l];if(e)try{if(l==="onOpen"&&w.length>0){const x=w[0];new Function("rowData",e).call(this,x)}else if(w.length>0){const x=w.map((b,d)=>`arg${d}`).join(", ");new Function(x,e).apply(this,w)}else new Function(e).call(this)}catch(x){console.error(`Error executing ${l} handler:`,x),console.error("Handler code:",e),console.error("Args:",w)}},handleRow(l){const w=this.fieldModel.findIndex(e=>e.id===l.id);w!==-1&&(this.triggerEvent("onOpen",this.fieldModel[w]),this.detailDialogVisible=!0,this.detailDialogData=lodash.exports.cloneDeep(this.fieldModel[w]))},setDetailColHidden(l,w){this.$nextTick(()=>{const e=this.$refs.detailDialogRef;e&&typeof e.setColHidden=="function"&&e.setColHidden(l,w)})},handleCloseDetailDialog(){this.detailDialogVisible=!1,this.detailDialogData=null},handleConfirm(l){const w=this.fieldModel.findIndex(e=>e.id===this.detailDialogData.id);w!==-1&&(this.fieldModel[w]=Ft($e($e({},this.fieldModel[w]),l),{isUpdate:!0}),console.log(this.fieldModel,"this.fieldModel"))}}};function _sfc_render(l,w,e,p,_,x){const E=vue.resolveComponent("el-table-column"),b=vue.resolveComponent("el-button"),d=vue.resolveComponent("el-table"),c=vue.resolveComponent("detail-dialog"),r=vue.resolveComponent("form-item-wrapper");return vue.openBlock(),vue.createBlock(r,{designer:e.designer,field:e.field,rules:_.rules,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:vue.withCtx(()=>[vue.createElementVNode("div",{class:"asset-table-widget",style:vue.normalizeStyle(l.widgetStyle)},[vue.createVNode(d,{data:_.fieldModel,"max-height":"500px",style:{width:"100%"},"row-key":"id",ref:"tableRef"},{default:vue.withCtx(()=>[vue.createVNode(E,{prop:"assetCode",label:"\u8D44\u4EA7\u7F16\u7801"}),vue.createVNode(E,{prop:"labelName",label:"\u8D44\u4EA7\u540D\u79F0"},{default:vue.withCtx(({row:o})=>[vue.createVNode(b,{type:"text",size:"small",onClick:t=>x.handleRow(o)},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(o.labelName),1)]),_:2},1032,["onClick"])]),_:1}),vue.createVNode(E,{prop:"assetTypeName",label:"\u8D44\u4EA7\u7C7B\u578B"}),vue.createVNode(E,{prop:"assetOwnerUnit",label:"\u4EA7\u6743\u6240\u5C5E\u5355\u4F4D"}),vue.createVNode(E,{prop:"originalValue",label:"\u539F\u503C"},{default:vue.withCtx(({row:o})=>[vue.createTextVNode(vue.toDisplayString(o.originalValue|l.formatMoney),1)]),_:1}),vue.createVNode(E,{prop:"netValue",label:"\u51C0\u503C"},{default:vue.withCtx(({row:o})=>[vue.createTextVNode(vue.toDisplayString(o.netValue|l.formatMoney),1)]),_:1}),vue.createVNode(E,{prop:"isUpdate",label:"\u662F\u5426\u5DF2\u5B8C\u6210\u586B\u5199"},{default:vue.withCtx(({row:o})=>[vue.createTextVNode(vue.toDisplayString(o.isUpdate?"\u662F":"\u5426"),1)]),_:1})]),_:1},8,["data"])],4),vue.createVNode(c,{ref:"detailDialogRef",visible:_.detailDialogVisible,typeJson:e.field.options.typeJson,data:_.detailDialogData,onClose:x.handleCloseDetailDialog,onConfirm:x.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,[["render",_sfc_render]]);const loadExtension=function(l){l.component(CardWidget.name,CardWidget),l.component(CardItem.name,CardItem),registerCPEditor(l,"card-folded","card-folded-editor",createBooleanEditor("folded","extension.setting.cardFolded")),registerCPEditor(l,"card-showFold","card-showFold-editor",createBooleanEditor("showFold","extension.setting.cardShowFold")),registerCPEditor(l,"card-cardWidth","card-cardWidth-editor",createInputTextEditor("cardWidth","extension.setting.cardWidth")),registerCPEditor(l,"card-shadow","card-shadow-editor",createSelectEditor("shadow","extension.setting.cardShadow",{optionItems:[{label:"never",value:"never"},{label:"hover",value:"hover"},{label:"always",value:"always"}]})),l.component(AlertWidget.name,AlertWidget),registerCPEditor(l,"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"}];l.component("alert-type-editor",createSelectEditor("type","extension.setting.alertType",{optionItems:e})),registerCPEditor(l,"alert-description","alert-description-editor",createInputTextEditor("description","extension.setting.description")),registerCPEditor(l,"alert-closable","alert-closable-editor",createBooleanEditor("closable","extension.setting.closable")),registerCPEditor(l,"alert-closeText","alert-closeText-editor",createInputTextEditor("closeText","extension.setting.closeText")),registerCPEditor(l,"alert-center","alert-center-editor",createBooleanEditor("center","extension.setting.center")),registerCPEditor(l,"alert-showIcon","alert-showIcon-editor",createBooleanEditor("showIcon","extension.setting.showIcon")),registerCPEditor(l,"alert-effect","alert-effect-editor",createRadioButtonGroupEditor("effect","extension.setting.effect",{optionItems:[{label:"light",value:"light"},{label:"dark",value:"dark"}]})),registerEPEditor(l,"alert-onClose","alert-onClose-editor",createEventHandlerEditor("onClose",[])),l.component(PersonTreeWidget.name,PersonTreeWidget),registerCPEditor(l,"person-tree-buttonText","person-tree-buttonText-editor",createInputTextEditor("buttonText","extension.setting.personTreeButtonText")),registerCPEditor(l,"person-tree-dialogTitle","person-tree-dialogTitle-editor",createInputTextEditor("dialogTitle","extension.setting.personTreeDialogTitle")),registerCPEditor(l,"person-tree-treeParams","person-tree-treeParams-editor",createTextareaEditor("treeParams","extension.setting.personTreeTreeParams",{rows:4})),registerAPEditor(l,"person-tree-dialogWidth","person-tree-dialogWidth-editor",createInputTextEditor("dialogWidth","extension.setting.personTreeDialogWidth")),registerCPEditor(l,"person-tree-confirmText","person-tree-confirmText-editor",createInputTextEditor("confirmText","extension.setting.personTreeConfirmText")),registerCPEditor(l,"person-tree-cancelText","person-tree-cancelText-editor",createInputTextEditor("cancelText","extension.setting.personTreeCancelText")),registerCPEditor(l,"person-tree-hideFooter","person-tree-hideFooter-editor",createBooleanEditor("hideFooter","extension.setting.personTreeHideFooter")),registerEPEditor(l,"person-tree-onOpen","person-tree-onOpen-editor",createEventHandlerEditor("onOpen",[])),registerEPEditor(l,"person-tree-onConfirm","person-tree-onConfirm-editor",createEventHandlerEditor("onConfirm",["checkedNodes"])),registerEPEditor(l,"person-tree-onRemoveTag","person-tree-onRemoveTag-editor",createEventHandlerEditor("onRemoveTag",["removedItem","remainingNodes","removedIndex"])),registerEPEditor(l,"person-tree-onCancel","person-tree-onCancel-editor",createEventHandlerEditor("onCancel",[])),registerEPEditor(l,"person-tree-onClose","person-tree-onClose-editor",createEventHandlerEditor("onClose",[])),l.component(radioOtherItem.name,radioOtherItem),l.component(selectOtherItem.name,selectOtherItem),l.component(meetingRoomItem.name,meetingRoomItem),registerCPEditor(l,"meeting-room-remoteUrl","meeting-room-remoteUrl-editor",createInputTextEditor("remoteUrl","extension.setting.meetingRoomRemoteUrl")),registerCPEditor(l,"meeting-room-allowMultiple","meeting-room-allowMultiple-editor",createBooleanEditor("allowMultiple","extension.setting.allowMultiple")),l.component(CustomSubFormWidget.name,CustomSubFormWidget),l.component(CustomSubFormItem.name,CustomSubFormItem),l.component(CustomTableWidget.name,CustomTableWidget),l.component(CustomTableItem.name,CustomTableItem),l.component(CustomTableCellWidget.name,CustomTableCellWidget),l.component(CustomTableCellItem.name,CustomTableCellItem),l.component(SubTableWidget.name,SubTableWidget),l.component(SubTableItem.name,SubTableItem),l.component("sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(l,"sub-table-columns","sub-table-columns-editor",SubTableColumnsEditor),registerCPEditor(l,"select-tree-showCheckbox","select-tree-showCheckbox-editor",createBooleanEditor("showCheckbox","designer.setting.showCheckbox")),registerCPEditor(l,"select-tree-checkStrictly","select-tree-checkStrictly-editor",createBooleanEditor("checkStrictly","extension.setting.selectTreeCheckStrictly")),l.component(CurrentUserWidget.name,CurrentUserWidget),registerCPEditor(l,"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"}]})),l.component(AssetSelectWidget.name,AssetSelectWidget),registerCPEditor(l,"asset-select-buttonText","asset-select-buttonText-editor",createInputTextEditor("buttonText","extension.setting.assetSelectButtonText")),registerCPEditor(l,"asset-select-typeJson","asset-select-typeJson-editor",createTextareaEditor("typeJson","extension.setting.assetSelectTypeJson",{rows:4})),registerCPEditor(l,"asset-select-assetTypeValue","asset-select-assetTypeValue-editor",createInputTextEditor("assetTypeValue","extension.setting.assetSelectAssetTypeValue")),l.component(AssetTableWidget.name,AssetTableWidget),registerCPEditor(l,"asset-table-typeJson","asset-table-typeJson-editor",createTextareaEditor("typeJson","extension.setting.assetTableTypeJson",{rows:4})),registerEPEditor(l,"asset-table-onOpen","asset-table-onOpen-editor",createEventHandlerEditor("onOpen",["rowData"]))};function getElMessage(l){var w,e,p;try{if((e=(w=l==null?void 0:l.config)==null?void 0:w.globalProperties)==null?void 0:e.$message)return l.config.globalProperties.$message;if(typeof window!="undefined"&&window.ElementPlus)return window.ElementPlus.ElMessage||((p=window.ElementPlus.default)==null?void 0:p.ElMessage)||null}catch{}return null}VFormRender.install=function(l){loadExtension(l),l.use(ContainerItems),registerIcon(l),l.component(VFormRender.name,VFormRender),l.config.globalProperties.$service=service$1,l.provide("service",service$1),l.provide("ElMessage",getElMessage(l))};const components=[VFormRender],install=l=>{loadExtension(l),l.use(ContainerItems),registerIcon(l),components.forEach(w=>{l.component(w.name,w)}),l.config.globalProperties.$service=service$1,l.provide("service",service$1),window.axios=axios,typeof window!="undefined"&&(window.service=service$1)};var installRender={install,VFormRender};return installRender});
|