ef-design 1.0.14 → 1.0.16
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/design.css +1 -1
- package/dist/design.es.js +48 -38
- package/dist/design.umd.js +4 -4
- package/package.json +1 -1
package/dist/design.umd.js
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
`),Z}function se(J,Z){if(V(J)&&J.nextElementSibling!=null&&!j(Z,`
|
|
35
35
|
|
|
36
36
|
`)){var ne=J.offsetHeight+parseFloat(P(J).marginTop)+parseFloat(P(J).marginBottom);J.nextElementSibling.offsetTop>J.offsetTop+ne*1.5&&Z.insert(`
|
|
37
|
-
`)}return Z}function me(J,Z){var ne={},re=J.style||{};return re.fontStyle&&P(J).fontStyle==="italic"&&(ne.italic=!0),re.fontWeight&&(P(J).fontWeight.startsWith("bold")||parseInt(P(J).fontWeight)>=700)&&(ne.bold=!0),Object.keys(ne).length>0&&(Z=D(Z,ne)),parseFloat(re.textIndent||0)>0&&(Z=new s.default().insert(" ").concat(Z)),Z}function be(J,Z){var ne=J.data;if(J.parentNode.tagName==="O:P")return Z.insert(ne.trim());if(ne.trim().length===0&&J.parentNode.classList.contains("ql-clipboard"))return Z;if(!P(J.parentNode).whiteSpace.startsWith("pre")){var re=function(fe,he){return he=he.replace(/[^\u00a0]/g,""),he.length<1&&fe?" ":he};ne=ne.replace(/\r\n/g," ").replace(/\n/g," "),ne=ne.replace(/\s\s+/g,re.bind(re,!0)),(J.previousSibling==null&&V(J.parentNode)||J.previousSibling!=null&&V(J.previousSibling))&&(ne=ne.replace(/^\s+/,re.bind(re,!1))),(J.nextSibling==null&&V(J.parentNode)||J.nextSibling!=null&&V(J.nextSibling))&&(ne=ne.replace(/\s+$/,re.bind(re,!1)))}return Z.insert(ne)}h.default=B,h.matchAttributor=z,h.matchBlot=U,h.matchNewline=oe,h.matchSpacing=se,h.matchText=be}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function l(d,p){for(var v=0;v<p.length;v++){var b=p[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}return function(d,p,v){return p&&l(d.prototype,p),v&&l(d,v),d}})(),a=function l(d,p,v){d===null&&(d=Function.prototype);var b=Object.getOwnPropertyDescriptor(d,p);if(b===void 0){var w=Object.getPrototypeOf(d);return w===null?void 0:l(w,p,v)}else{if("value"in b)return b.value;var y=b.get;return y===void 0?void 0:y.call(v)}},f=g(6),n=c(f);function c(l){return l&&l.__esModule?l:{default:l}}function o(l,d){if(!(l instanceof d))throw new TypeError("Cannot call a class as a function")}function s(l,d){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:l}function i(l,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);l.prototype=Object.create(d&&d.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(l,d):l.__proto__=d)}var r=(function(l){i(d,l);function d(){return o(this,d),s(this,(d.__proto__||Object.getPrototypeOf(d)).apply(this,arguments))}return m(d,[{key:"optimize",value:function(v){a(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"optimize",this).call(this,v),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return a(d.__proto__||Object.getPrototypeOf(d),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),d})(n.default);r.blotName="bold",r.tagName=["STRONG","B"],h.default=r}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0}),h.addControls=h.default=void 0;var m=(function(){function A(M,E){var C=[],x=!0,L=!1,q=void 0;try{for(var I=M[Symbol.iterator](),F;!(x=(F=I.next()).done)&&(C.push(F.value),!(E&&C.length===E));x=!0);}catch(R){L=!0,q=R}finally{try{!x&&I.return&&I.return()}finally{if(L)throw q}}return C}return function(M,E){if(Array.isArray(M))return M;if(Symbol.iterator in Object(M))return A(M,E);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),a=(function(){function A(M,E){for(var C=0;C<E.length;C++){var x=E[C];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(M,x.key,x)}}return function(M,E,C){return E&&A(M.prototype,E),C&&A(M,C),M}})(),f=g(2),n=v(f),c=g(0),o=v(c),s=g(5),i=v(s),r=g(10),l=v(r),d=g(9),p=v(d);function v(A){return A&&A.__esModule?A:{default:A}}function b(A,M,E){return M in A?Object.defineProperty(A,M,{value:E,enumerable:!0,configurable:!0,writable:!0}):A[M]=E,A}function w(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function")}function y(A,M){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M&&(typeof M=="object"||typeof M=="function")?M:A}function _(A,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof M);A.prototype=Object.create(M&&M.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(A,M):A.__proto__=M)}var $=(0,l.default)("quill:toolbar"),S=(function(A){_(M,A);function M(E,C){w(this,M);var x=y(this,(M.__proto__||Object.getPrototypeOf(M)).call(this,E,C));if(Array.isArray(x.options.container)){var L=document.createElement("div");k(L,x.options.container),E.container.parentNode.insertBefore(L,E.container),x.container=L}else typeof x.options.container=="string"?x.container=document.querySelector(x.options.container):x.container=x.options.container;if(!(x.container instanceof HTMLElement)){var q;return q=$.error("Container required for toolbar",x.options),y(x,q)}return x.container.classList.add("ql-toolbar"),x.controls=[],x.handlers={},Object.keys(x.options.handlers).forEach(function(I){x.addHandler(I,x.options.handlers[I])}),[].forEach.call(x.container.querySelectorAll("button, select"),function(I){x.attach(I)}),x.quill.on(i.default.events.EDITOR_CHANGE,function(I,F){I===i.default.events.SELECTION_CHANGE&&x.update(F)}),x.quill.on(i.default.events.SCROLL_OPTIMIZE,function(){var I=x.quill.selection.getRange(),F=m(I,1),R=F[0];x.update(R)}),x}return a(M,[{key:"addHandler",value:function(C,x){this.handlers[C]=x}},{key:"attach",value:function(C){var x=this,L=[].find.call(C.classList,function(I){return I.indexOf("ql-")===0});if(L){if(L=L.slice(3),C.tagName==="BUTTON"&&C.setAttribute("type","button"),this.handlers[L]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[L]==null){$.warn("ignoring attaching to disabled format",L,C);return}if(o.default.query(L)==null){$.warn("ignoring attaching to nonexistent format",L,C);return}}var q=C.tagName==="SELECT"?"change":"click";C.addEventListener(q,function(I){var F=void 0;if(C.tagName==="SELECT"){if(C.selectedIndex<0)return;var R=C.options[C.selectedIndex];R.hasAttribute("selected")?F=!1:F=R.value||!1}else C.classList.contains("ql-active")?F=!1:F=C.value||!C.hasAttribute("value"),I.preventDefault();x.quill.focus();var N=x.quill.selection.getRange(),B=m(N,1),D=B[0];if(x.handlers[L]!=null)x.handlers[L].call(x,F);else if(o.default.query(L).prototype instanceof o.default.Embed){if(F=prompt("Enter "+L),!F)return;x.quill.updateContents(new n.default().retain(D.index).delete(D.length).insert(b({},L,F)),i.default.sources.USER)}else x.quill.format(L,F,i.default.sources.USER);x.update(D)}),this.controls.push([L,C])}}},{key:"update",value:function(C){var x=C==null?{}:this.quill.getFormat(C);this.controls.forEach(function(L){var q=m(L,2),I=q[0],F=q[1];if(F.tagName==="SELECT"){var R=void 0;if(C==null)R=null;else if(x[I]==null)R=F.querySelector("option[selected]");else if(!Array.isArray(x[I])){var N=x[I];typeof N=="string"&&(N=N.replace(/\"/g,'\\"')),R=F.querySelector('option[value="'+N+'"]')}R==null?(F.value="",F.selectedIndex=-1):R.selected=!0}else if(C==null)F.classList.remove("ql-active");else if(F.hasAttribute("value")){var B=x[I]===F.getAttribute("value")||x[I]!=null&&x[I].toString()===F.getAttribute("value")||x[I]==null&&!F.getAttribute("value");F.classList.toggle("ql-active",B)}else F.classList.toggle("ql-active",x[I]!=null)})}}]),M})(p.default);S.DEFAULTS={};function O(A,M,E){var C=document.createElement("button");C.setAttribute("type","button"),C.classList.add("ql-"+M),E!=null&&(C.value=E),A.appendChild(C)}function k(A,M){Array.isArray(M[0])||(M=[M]),M.forEach(function(E){var C=document.createElement("span");C.classList.add("ql-formats"),E.forEach(function(x){if(typeof x=="string")O(C,x);else{var L=Object.keys(x)[0],q=x[L];Array.isArray(q)?T(C,L,q):O(C,L,q)}}),A.appendChild(C)})}function T(A,M,E){var C=document.createElement("select");C.classList.add("ql-"+M),E.forEach(function(x){var L=document.createElement("option");x!==!1?L.setAttribute("value",x):L.setAttribute("selected","selected"),C.appendChild(L)}),A.appendChild(C)}S.DEFAULTS={container:null,handlers:{clean:function(){var M=this,E=this.quill.getSelection();if(E!=null)if(E.length==0){var C=this.quill.getFormat();Object.keys(C).forEach(function(x){o.default.query(x,o.default.Scope.INLINE)!=null&&M.quill.format(x,!1)})}else this.quill.removeFormat(E,i.default.sources.USER)},direction:function(M){var E=this.quill.getFormat().align;M==="rtl"&&E==null?this.quill.format("align","right",i.default.sources.USER):!M&&E==="right"&&this.quill.format("align",!1,i.default.sources.USER),this.quill.format("direction",M,i.default.sources.USER)},indent:function(M){var E=this.quill.getSelection(),C=this.quill.getFormat(E),x=parseInt(C.indent||0);if(M==="+1"||M==="-1"){var L=M==="+1"?1:-1;C.direction==="rtl"&&(L*=-1),this.quill.format("indent",x+L,i.default.sources.USER)}},link:function(M){M===!0&&(M=prompt("Enter link URL:")),this.quill.format("link",M,i.default.sources.USER)},list:function(M){var E=this.quill.getSelection(),C=this.quill.getFormat(E);M==="check"?C.list==="checked"||C.list==="unchecked"?this.quill.format("list",!1,i.default.sources.USER):this.quill.format("list","unchecked",i.default.sources.USER):this.quill.format("list",M,i.default.sources.USER)}}},h.default=S,h.addControls=k}),(function(e,h){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,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function l(d,p){for(var v=0;v<p.length;v++){var b=p[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}return function(d,p,v){return p&&l(d.prototype,p),v&&l(d,v),d}})(),a=function l(d,p,v){d===null&&(d=Function.prototype);var b=Object.getOwnPropertyDescriptor(d,p);if(b===void 0){var w=Object.getPrototypeOf(d);return w===null?void 0:l(w,p,v)}else{if("value"in b)return b.value;var y=b.get;return y===void 0?void 0:y.call(v)}},f=g(28),n=c(f);function c(l){return l&&l.__esModule?l:{default:l}}function o(l,d){if(!(l instanceof d))throw new TypeError("Cannot call a class as a function")}function s(l,d){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:l}function i(l,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);l.prototype=Object.create(d&&d.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(l,d):l.__proto__=d)}var r=(function(l){i(d,l);function d(p,v){o(this,d);var b=s(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p));return b.label.innerHTML=v,b.container.classList.add("ql-color-picker"),[].slice.call(b.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(w){w.classList.add("ql-primary")}),b}return m(d,[{key:"buildItem",value:function(v){var b=a(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"buildItem",this).call(this,v);return b.style.backgroundColor=v.getAttribute("value")||"",b}},{key:"selectItem",value:function(v,b){a(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"selectItem",this).call(this,v,b);var w=this.label.querySelector(".ql-color-label"),y=v&&v.getAttribute("data-value")||"";w&&(w.tagName==="line"?w.style.stroke=y:w.style.fill=y)}}]),d})(n.default);h.default=r}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function l(d,p){for(var v=0;v<p.length;v++){var b=p[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}return function(d,p,v){return p&&l(d.prototype,p),v&&l(d,v),d}})(),a=function l(d,p,v){d===null&&(d=Function.prototype);var b=Object.getOwnPropertyDescriptor(d,p);if(b===void 0){var w=Object.getPrototypeOf(d);return w===null?void 0:l(w,p,v)}else{if("value"in b)return b.value;var y=b.get;return y===void 0?void 0:y.call(v)}},f=g(28),n=c(f);function c(l){return l&&l.__esModule?l:{default:l}}function o(l,d){if(!(l instanceof d))throw new TypeError("Cannot call a class as a function")}function s(l,d){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:l}function i(l,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);l.prototype=Object.create(d&&d.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(l,d):l.__proto__=d)}var r=(function(l){i(d,l);function d(p,v){o(this,d);var b=s(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p));return b.container.classList.add("ql-icon-picker"),[].forEach.call(b.container.querySelectorAll(".ql-picker-item"),function(w){w.innerHTML=v[w.getAttribute("data-value")||""]}),b.defaultItem=b.container.querySelector(".ql-selected"),b.selectItem(b.defaultItem),b}return m(d,[{key:"selectItem",value:function(v,b){a(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"selectItem",this).call(this,v,b),v=v||this.defaultItem,this.label.innerHTML=v.innerHTML}}]),d})(n.default);h.default=r}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function n(c,o){for(var s=0;s<o.length;s++){var i=o[s];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(c,i.key,i)}}return function(c,o,s){return o&&n(c.prototype,o),s&&n(c,s),c}})();function a(n,c){if(!(n instanceof c))throw new TypeError("Cannot call a class as a function")}var f=(function(){function n(c,o){var s=this;a(this,n),this.quill=c,this.boundsContainer=o||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(){s.root.style.marginTop=-1*s.quill.root.scrollTop+"px"}),this.hide()}return m(n,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(o){var s=o.left+o.width/2-this.root.offsetWidth/2,i=o.bottom+this.quill.root.scrollTop;this.root.style.left=s+"px",this.root.style.top=i+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),l=this.root.getBoundingClientRect(),d=0;if(l.right>r.right&&(d=r.right-l.right,this.root.style.left=s+d+"px"),l.left<r.left&&(d=r.left-l.left,this.root.style.left=s+d+"px"),l.bottom>r.bottom){var p=l.bottom-l.top,v=o.bottom-o.top+p;this.root.style.top=i-v+"px",this.root.classList.add("ql-flip")}return d}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),n})();h.default=f}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function T(A,M){var E=[],C=!0,x=!1,L=void 0;try{for(var q=A[Symbol.iterator](),I;!(C=(I=q.next()).done)&&(E.push(I.value),!(M&&E.length===M));C=!0);}catch(F){x=!0,L=F}finally{try{!C&&q.return&&q.return()}finally{if(x)throw L}}return E}return function(A,M){if(Array.isArray(A))return A;if(Symbol.iterator in Object(A))return T(A,M);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),a=function T(A,M,E){A===null&&(A=Function.prototype);var C=Object.getOwnPropertyDescriptor(A,M);if(C===void 0){var x=Object.getPrototypeOf(A);return x===null?void 0:T(x,M,E)}else{if("value"in C)return C.value;var L=C.get;return L===void 0?void 0:L.call(E)}},f=(function(){function T(A,M){for(var E=0;E<M.length;E++){var C=M[E];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(A,C.key,C)}}return function(A,M,E){return M&&T(A.prototype,M),E&&T(A,E),A}})(),n=g(3),c=w(n),o=g(8),s=w(o),i=g(43),r=w(i),l=g(27),d=w(l),p=g(15),v=g(41),b=w(v);function w(T){return T&&T.__esModule?T:{default:T}}function y(T,A){if(!(T instanceof A))throw new TypeError("Cannot call a class as a function")}function _(T,A){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:T}function $(T,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);T.prototype=Object.create(A&&A.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(T,A):T.__proto__=A)}var S=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],O=(function(T){$(A,T);function A(M,E){y(this,A),E.modules.toolbar!=null&&E.modules.toolbar.container==null&&(E.modules.toolbar.container=S);var C=_(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,M,E));return C.quill.container.classList.add("ql-snow"),C}return f(A,[{key:"extendToolbar",value:function(E){E.container.classList.add("ql-snow"),this.buildButtons([].slice.call(E.container.querySelectorAll("button")),b.default),this.buildPickers([].slice.call(E.container.querySelectorAll("select")),b.default),this.tooltip=new k(this.quill,this.options.bounds),E.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(C,x){E.handlers.link.call(E,!x.format.link)})}}]),A})(r.default);O.DEFAULTS=(0,c.default)(!0,{},r.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(A){if(A){var M=this.quill.getSelection();if(M==null||M.length==0)return;var E=this.quill.getText(M);/^\S+@\S+\.\S+$/.test(E)&&E.indexOf("mailto:")!==0&&(E="mailto:"+E);var C=this.quill.theme.tooltip;C.edit("link",E)}else this.quill.format("link",!1)}}}}});var k=(function(T){$(A,T);function A(M,E){y(this,A);var C=_(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,M,E));return C.preview=C.root.querySelector("a.ql-preview"),C}return f(A,[{key:"listen",value:function(){var E=this;a(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(C){E.root.classList.contains("ql-editing")?E.save():E.edit("link",E.preview.textContent),C.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(C){if(E.linkRange!=null){var x=E.linkRange;E.restoreFocus(),E.quill.formatText(x,"link",!1,s.default.sources.USER),delete E.linkRange}C.preventDefault(),E.hide()}),this.quill.on(s.default.events.SELECTION_CHANGE,function(C,x,L){if(C!=null){if(C.length===0&&L===s.default.sources.USER){var q=E.quill.scroll.descendant(d.default,C.index),I=m(q,2),F=I[0],R=I[1];if(F!=null){E.linkRange=new p.Range(C.index-R,F.length());var N=d.default.formats(F.domNode);E.preview.textContent=N,E.preview.setAttribute("href",N),E.show(),E.position(E.quill.getBounds(E.linkRange));return}}else delete E.linkRange;E.hide()}})}},{key:"show",value:function(){a(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),A})(i.BaseTooltip);k.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(""),h.default=O}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=g(29),a=Q(m),f=g(36),n=g(38),c=g(64),o=g(65),s=Q(o),i=g(66),r=Q(i),l=g(67),d=Q(l),p=g(37),v=g(26),b=g(39),w=g(40),y=g(56),_=Q(y),$=g(68),S=Q($),O=g(27),k=Q(O),T=g(69),A=Q(T),M=g(70),E=Q(M),C=g(71),x=Q(C),L=g(72),q=Q(L),I=g(73),F=Q(I),R=g(13),N=Q(R),B=g(74),D=Q(B),P=g(75),j=Q(P),V=g(57),W=Q(V),H=g(41),z=Q(H),U=g(28),X=Q(U),te=g(59),ie=Q(te),oe=g(60),se=Q(oe),me=g(61),be=Q(me),J=g(108),Z=Q(J),ne=g(62),re=Q(ne);function Q(fe){return fe&&fe.__esModule?fe:{default:fe}}a.default.register({"attributors/attribute/direction":n.DirectionAttribute,"attributors/class/align":f.AlignClass,"attributors/class/background":p.BackgroundClass,"attributors/class/color":v.ColorClass,"attributors/class/direction":n.DirectionClass,"attributors/class/font":b.FontClass,"attributors/class/size":w.SizeClass,"attributors/style/align":f.AlignStyle,"attributors/style/background":p.BackgroundStyle,"attributors/style/color":v.ColorStyle,"attributors/style/direction":n.DirectionStyle,"attributors/style/font":b.FontStyle,"attributors/style/size":w.SizeStyle},!0),a.default.register({"formats/align":f.AlignClass,"formats/direction":n.DirectionClass,"formats/indent":c.IndentClass,"formats/background":p.BackgroundStyle,"formats/color":v.ColorStyle,"formats/font":b.FontClass,"formats/size":w.SizeClass,"formats/blockquote":s.default,"formats/code-block":N.default,"formats/header":r.default,"formats/list":d.default,"formats/bold":_.default,"formats/code":R.Code,"formats/italic":S.default,"formats/link":k.default,"formats/script":A.default,"formats/strike":E.default,"formats/underline":x.default,"formats/image":q.default,"formats/video":F.default,"formats/list/item":l.ListItem,"modules/formula":D.default,"modules/syntax":j.default,"modules/toolbar":W.default,"themes/bubble":Z.default,"themes/snow":re.default,"ui/icons":z.default,"ui/picker":X.default,"ui/icon-picker":se.default,"ui/color-picker":ie.default,"ui/tooltip":be.default},!0),h.default=a.default}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0}),h.IndentClass=void 0;var m=(function(){function d(p,v){for(var b=0;b<v.length;b++){var w=v[b];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,b){return v&&d(p.prototype,v),b&&d(p,b),p}})(),a=function d(p,v,b){p===null&&(p=Function.prototype);var w=Object.getOwnPropertyDescriptor(p,v);if(w===void 0){var y=Object.getPrototypeOf(p);return y===null?void 0:d(y,v,b)}else{if("value"in w)return w.value;var _=w.get;return _===void 0?void 0:_.call(b)}},f=g(0),n=c(f);function c(d){return d&&d.__esModule?d:{default:d}}function o(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class as a function")}function s(d,p){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:d}function i(d,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);d.prototype=Object.create(p&&p.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(d,p):d.__proto__=p)}var r=(function(d){i(p,d);function p(){return o(this,p),s(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return m(p,[{key:"add",value:function(b,w){if(w==="+1"||w==="-1"){var y=this.value(b)||0;w=w==="+1"?y+1:y-1}return w===0?(this.remove(b),!0):a(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"add",this).call(this,b,w)}},{key:"canAdd",value:function(b,w){return a(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"canAdd",this).call(this,b,w)||a(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"canAdd",this).call(this,b,parseInt(w))}},{key:"value",value:function(b){return parseInt(a(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"value",this).call(this,b))||void 0}}]),p})(n.default.Attributor.Class),l=new r("indent","ql-indent",{scope:n.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});h.IndentClass=l}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=g(4),a=f(m);function f(i){return i&&i.__esModule?i:{default:i}}function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function c(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function o(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var s=(function(i){o(r,i);function r(){return n(this,r),c(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r})(a.default);s.blotName="blockquote",s.tagName="blockquote",h.default=s}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function r(l,d){for(var p=0;p<d.length;p++){var v=d[p];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(l,v.key,v)}}return function(l,d,p){return d&&r(l.prototype,d),p&&r(l,p),l}})(),a=g(4),f=n(a);function n(r){return r&&r.__esModule?r:{default:r}}function c(r,l){if(!(r instanceof l))throw new TypeError("Cannot call a class as a function")}function o(r,l){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:r}function s(r,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);r.prototype=Object.create(l&&l.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(r,l):r.__proto__=l)}var i=(function(r){s(l,r);function l(){return c(this,l),o(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return m(l,null,[{key:"formats",value:function(p){return this.tagName.indexOf(p.tagName)+1}}]),l})(f.default);i.blotName="header",i.tagName=["H1","H2","H3","H4","H5","H6"],h.default=i}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0}),h.default=h.ListItem=void 0;var m=(function(){function y(_,$){for(var S=0;S<$.length;S++){var O=$[S];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(_,O.key,O)}}return function(_,$,S){return $&&y(_.prototype,$),S&&y(_,S),_}})(),a=function y(_,$,S){_===null&&(_=Function.prototype);var O=Object.getOwnPropertyDescriptor(_,$);if(O===void 0){var k=Object.getPrototypeOf(_);return k===null?void 0:y(k,$,S)}else{if("value"in O)return O.value;var T=O.get;return T===void 0?void 0:T.call(S)}},f=g(0),n=r(f),c=g(4),o=r(c),s=g(25),i=r(s);function r(y){return y&&y.__esModule?y:{default:y}}function l(y,_,$){return _ in y?Object.defineProperty(y,_,{value:$,enumerable:!0,configurable:!0,writable:!0}):y[_]=$,y}function d(y,_){if(!(y instanceof _))throw new TypeError("Cannot call a class as a function")}function p(y,_){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:y}function v(y,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);y.prototype=Object.create(_&&_.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(y,_):y.__proto__=_)}var b=(function(y){v(_,y);function _(){return d(this,_),p(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return m(_,[{key:"format",value:function(S,O){S===w.blotName&&!O?this.replaceWith(n.default.create(this.statics.scope)):a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"format",this).call(this,S,O)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(S,O){return this.parent.isolate(this.offset(this.parent),this.length()),S===this.parent.statics.blotName?(this.parent.replaceWith(S,O),this):(this.parent.unwrap(),a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"replaceWith",this).call(this,S,O))}}],[{key:"formats",value:function(S){return S.tagName===this.tagName?void 0:a(_.__proto__||Object.getPrototypeOf(_),"formats",this).call(this,S)}}]),_})(o.default);b.blotName="list-item",b.tagName="LI";var w=(function(y){v(_,y),m(_,null,[{key:"create",value:function(S){var O=S==="ordered"?"OL":"UL",k=a(_.__proto__||Object.getPrototypeOf(_),"create",this).call(this,O);return(S==="checked"||S==="unchecked")&&k.setAttribute("data-checked",S==="checked"),k}},{key:"formats",value:function(S){if(S.tagName==="OL")return"ordered";if(S.tagName==="UL")return S.hasAttribute("data-checked")?S.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function _($){d(this,_);var S=p(this,(_.__proto__||Object.getPrototypeOf(_)).call(this,$)),O=function(T){if(T.target.parentNode===$){var A=S.statics.formats($),M=n.default.find(T.target);A==="checked"?M.format("list","unchecked"):A==="unchecked"&&M.format("list","checked")}};return $.addEventListener("touchstart",O),$.addEventListener("mousedown",O),S}return m(_,[{key:"format",value:function(S,O){this.children.length>0&&this.children.tail.format(S,O)}},{key:"formats",value:function(){return l({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(S,O){if(S instanceof b)a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"insertBefore",this).call(this,S,O);else{var k=O==null?this.length():O.offset(this),T=this.split(k);T.parent.insertBefore(S,T)}}},{key:"optimize",value:function(S){a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"optimize",this).call(this,S);var O=this.next;O!=null&&O.prev===this&&O.statics.blotName===this.statics.blotName&&O.domNode.tagName===this.domNode.tagName&&O.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(O.moveChildren(this),O.remove())}},{key:"replace",value:function(S){if(S.statics.blotName!==this.statics.blotName){var O=n.default.create(this.statics.defaultChild);S.moveChildren(O),this.appendChild(O)}a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"replace",this).call(this,S)}}]),_})(i.default);w.blotName="list",w.scope=n.default.Scope.BLOCK_BLOT,w.tagName=["OL","UL"],w.defaultChild="list-item",w.allowedChildren=[b],h.ListItem=b,h.default=w}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=g(56),a=f(m);function f(i){return i&&i.__esModule?i:{default:i}}function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function c(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function o(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var s=(function(i){o(r,i);function r(){return n(this,r),c(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r})(a.default);s.blotName="italic",s.tagName=["EM","I"],h.default=s}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function l(d,p){for(var v=0;v<p.length;v++){var b=p[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}return function(d,p,v){return p&&l(d.prototype,p),v&&l(d,v),d}})(),a=function l(d,p,v){d===null&&(d=Function.prototype);var b=Object.getOwnPropertyDescriptor(d,p);if(b===void 0){var w=Object.getPrototypeOf(d);return w===null?void 0:l(w,p,v)}else{if("value"in b)return b.value;var y=b.get;return y===void 0?void 0:y.call(v)}},f=g(6),n=c(f);function c(l){return l&&l.__esModule?l:{default:l}}function o(l,d){if(!(l instanceof d))throw new TypeError("Cannot call a class as a function")}function s(l,d){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:l}function i(l,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);l.prototype=Object.create(d&&d.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(l,d):l.__proto__=d)}var r=(function(l){i(d,l);function d(){return o(this,d),s(this,(d.__proto__||Object.getPrototypeOf(d)).apply(this,arguments))}return m(d,null,[{key:"create",value:function(v){return v==="super"?document.createElement("sup"):v==="sub"?document.createElement("sub"):a(d.__proto__||Object.getPrototypeOf(d),"create",this).call(this,v)}},{key:"formats",value:function(v){if(v.tagName==="SUB")return"sub";if(v.tagName==="SUP")return"super"}}]),d})(n.default);r.blotName="script",r.tagName=["SUB","SUP"],h.default=r}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=g(6),a=f(m);function f(i){return i&&i.__esModule?i:{default:i}}function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function c(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function o(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var s=(function(i){o(r,i);function r(){return n(this,r),c(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r})(a.default);s.blotName="strike",s.tagName="S",h.default=s}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=g(6),a=f(m);function f(i){return i&&i.__esModule?i:{default:i}}function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function c(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function o(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var s=(function(i){o(r,i);function r(){return n(this,r),c(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r})(a.default);s.blotName="underline",s.tagName="U",h.default=s}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function p(v,b){for(var w=0;w<b.length;w++){var y=b[w];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(v,y.key,y)}}return function(v,b,w){return b&&p(v.prototype,b),w&&p(v,w),v}})(),a=function p(v,b,w){v===null&&(v=Function.prototype);var y=Object.getOwnPropertyDescriptor(v,b);if(y===void 0){var _=Object.getPrototypeOf(v);return _===null?void 0:p(_,b,w)}else{if("value"in y)return y.value;var $=y.get;return $===void 0?void 0:$.call(w)}},f=g(0),n=o(f),c=g(27);function o(p){return p&&p.__esModule?p:{default:p}}function s(p,v){if(!(p instanceof v))throw new TypeError("Cannot call a class as a function")}function i(p,v){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:p}function r(p,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);p.prototype=Object.create(v&&v.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(p,v):p.__proto__=v)}var l=["alt","height","width"],d=(function(p){r(v,p);function v(){return s(this,v),i(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return m(v,[{key:"format",value:function(w,y){l.indexOf(w)>-1?y?this.domNode.setAttribute(w,y):this.domNode.removeAttribute(w):a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"format",this).call(this,w,y)}}],[{key:"create",value:function(w){var y=a(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,w);return typeof w=="string"&&y.setAttribute("src",this.sanitize(w)),y}},{key:"formats",value:function(w){return l.reduce(function(y,_){return w.hasAttribute(_)&&(y[_]=w.getAttribute(_)),y},{})}},{key:"match",value:function(w){return/\.(jpe?g|gif|png)$/.test(w)||/^data:image\/.+;base64/.test(w)}},{key:"sanitize",value:function(w){return(0,c.sanitize)(w,["http","https","data"])?w:"//:0"}},{key:"value",value:function(w){return w.getAttribute("src")}}]),v})(n.default.Embed);d.blotName="image",d.tagName="IMG",h.default=d}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function p(v,b){for(var w=0;w<b.length;w++){var y=b[w];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(v,y.key,y)}}return function(v,b,w){return b&&p(v.prototype,b),w&&p(v,w),v}})(),a=function p(v,b,w){v===null&&(v=Function.prototype);var y=Object.getOwnPropertyDescriptor(v,b);if(y===void 0){var _=Object.getPrototypeOf(v);return _===null?void 0:p(_,b,w)}else{if("value"in y)return y.value;var $=y.get;return $===void 0?void 0:$.call(w)}},f=g(4),n=g(27),c=o(n);function o(p){return p&&p.__esModule?p:{default:p}}function s(p,v){if(!(p instanceof v))throw new TypeError("Cannot call a class as a function")}function i(p,v){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:p}function r(p,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);p.prototype=Object.create(v&&v.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(p,v):p.__proto__=v)}var l=["height","width"],d=(function(p){r(v,p);function v(){return s(this,v),i(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return m(v,[{key:"format",value:function(w,y){l.indexOf(w)>-1?y?this.domNode.setAttribute(w,y):this.domNode.removeAttribute(w):a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"format",this).call(this,w,y)}}],[{key:"create",value:function(w){var y=a(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,w);return y.setAttribute("frameborder","0"),y.setAttribute("allowfullscreen",!0),y.setAttribute("src",this.sanitize(w)),y}},{key:"formats",value:function(w){return l.reduce(function(y,_){return w.hasAttribute(_)&&(y[_]=w.getAttribute(_)),y},{})}},{key:"sanitize",value:function(w){return c.default.sanitize(w)}},{key:"value",value:function(w){return w.getAttribute("src")}}]),v})(f.BlockEmbed);d.blotName="video",d.className="ql-video",d.tagName="IFRAME",h.default=d}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0}),h.default=h.FormulaBlot=void 0;var m=(function(){function w(y,_){for(var $=0;$<_.length;$++){var S=_[$];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}return function(y,_,$){return _&&w(y.prototype,_),$&&w(y,$),y}})(),a=function w(y,_,$){y===null&&(y=Function.prototype);var S=Object.getOwnPropertyDescriptor(y,_);if(S===void 0){var O=Object.getPrototypeOf(y);return O===null?void 0:w(O,_,$)}else{if("value"in S)return S.value;var k=S.get;return k===void 0?void 0:k.call($)}},f=g(35),n=r(f),c=g(5),o=r(c),s=g(9),i=r(s);function r(w){return w&&w.__esModule?w:{default:w}}function l(w,y){if(!(w instanceof y))throw new TypeError("Cannot call a class as a function")}function d(w,y){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:w}function p(w,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);w.prototype=Object.create(y&&y.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(w,y):w.__proto__=y)}var v=(function(w){p(y,w);function y(){return l(this,y),d(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}return m(y,null,[{key:"create",value:function($){var S=a(y.__proto__||Object.getPrototypeOf(y),"create",this).call(this,$);return typeof $=="string"&&(window.katex.render($,S,{throwOnError:!1,errorColor:"#f00"}),S.setAttribute("data-value",$)),S}},{key:"value",value:function($){return $.getAttribute("data-value")}}]),y})(n.default);v.blotName="formula",v.className="ql-formula",v.tagName="SPAN";var b=(function(w){p(y,w),m(y,null,[{key:"register",value:function(){o.default.register(v,!0)}}]);function y(){l(this,y);var _=d(this,(y.__proto__||Object.getPrototypeOf(y)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return _}return y})(i.default);h.FormulaBlot=v,h.default=b}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0}),h.default=h.CodeToken=h.CodeBlock=void 0;var m=(function(){function $(S,O){for(var k=0;k<O.length;k++){var T=O[k];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(S,T.key,T)}}return function(S,O,k){return O&&$(S.prototype,O),k&&$(S,k),S}})(),a=function $(S,O,k){S===null&&(S=Function.prototype);var T=Object.getOwnPropertyDescriptor(S,O);if(T===void 0){var A=Object.getPrototypeOf(S);return A===null?void 0:$(A,O,k)}else{if("value"in T)return T.value;var M=T.get;return M===void 0?void 0:M.call(k)}},f=g(0),n=d(f),c=g(5),o=d(c),s=g(9),i=d(s),r=g(13),l=d(r);function d($){return $&&$.__esModule?$:{default:$}}function p($,S){if(!($ instanceof S))throw new TypeError("Cannot call a class as a function")}function v($,S){if(!$)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:$}function b($,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);$.prototype=Object.create(S&&S.prototype,{constructor:{value:$,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf($,S):$.__proto__=S)}var w=(function($){b(S,$);function S(){return p(this,S),v(this,(S.__proto__||Object.getPrototypeOf(S)).apply(this,arguments))}return m(S,[{key:"replaceWith",value:function(k){this.domNode.textContent=this.domNode.textContent,this.attach(),a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"replaceWith",this).call(this,k)}},{key:"highlight",value:function(k){var T=this.domNode.textContent;this.cachedText!==T&&((T.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=k(T),this.domNode.normalize(),this.attach()),this.cachedText=T)}}]),S})(l.default);w.className="ql-syntax";var y=new n.default.Attributor.Class("token","hljs",{scope:n.default.Scope.INLINE}),_=(function($){b(S,$),m(S,null,[{key:"register",value:function(){o.default.register(y,!0),o.default.register(w,!0)}}]);function S(O,k){p(this,S);var T=v(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,O,k));if(typeof T.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var A=null;return T.quill.on(o.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(A),A=setTimeout(function(){T.highlight(),A=null},T.options.interval)}),T.highlight(),T}return m(S,[{key:"highlight",value:function(){var k=this;if(!this.quill.selection.composing){this.quill.update(o.default.sources.USER);var T=this.quill.getSelection();this.quill.scroll.descendants(w).forEach(function(A){A.highlight(k.options.highlight)}),this.quill.update(o.default.sources.SILENT),T!=null&&this.quill.setSelection(T,o.default.sources.SILENT)}}}]),S})(i.default);_.DEFAULTS={highlight:(function(){return window.hljs==null?null:function($){var S=window.hljs.highlightAuto($);return S.value}})(),interval:1e3},h.CodeBlock=w,h.CodeToken=y,h.default=_}),(function(e,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h,g){Object.defineProperty(h,"__esModule",{value:!0}),h.default=h.BubbleTooltip=void 0;var m=function S(O,k,T){O===null&&(O=Function.prototype);var A=Object.getOwnPropertyDescriptor(O,k);if(A===void 0){var M=Object.getPrototypeOf(O);return M===null?void 0:S(M,k,T)}else{if("value"in A)return A.value;var E=A.get;return E===void 0?void 0:E.call(T)}},a=(function(){function S(O,k){for(var T=0;T<k.length;T++){var A=k[T];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(O,A.key,A)}}return function(O,k,T){return k&&S(O.prototype,k),T&&S(O,T),O}})(),f=g(3),n=p(f),c=g(8),o=p(c),s=g(43),i=p(s),r=g(15),l=g(41),d=p(l);function p(S){return S&&S.__esModule?S:{default:S}}function v(S,O){if(!(S instanceof O))throw new TypeError("Cannot call a class as a function")}function b(S,O){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:S}function w(S,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);S.prototype=Object.create(O&&O.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(S,O):S.__proto__=O)}var y=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],_=(function(S){w(O,S);function O(k,T){v(this,O),T.modules.toolbar!=null&&T.modules.toolbar.container==null&&(T.modules.toolbar.container=y);var A=b(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,k,T));return A.quill.container.classList.add("ql-bubble"),A}return a(O,[{key:"extendToolbar",value:function(T){this.tooltip=new $(this.quill,this.options.bounds),this.tooltip.root.appendChild(T.container),this.buildButtons([].slice.call(T.container.querySelectorAll("button")),d.default),this.buildPickers([].slice.call(T.container.querySelectorAll("select")),d.default)}}]),O})(i.default);_.DEFAULTS=(0,n.default)(!0,{},i.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(O){O?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var $=(function(S){w(O,S);function O(k,T){v(this,O);var A=b(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,k,T));return A.quill.on(o.default.events.EDITOR_CHANGE,function(M,E,C,x){if(M===o.default.events.SELECTION_CHANGE)if(E!=null&&E.length>0&&x===o.default.sources.USER){A.show(),A.root.style.left="0px",A.root.style.width="",A.root.style.width=A.root.offsetWidth+"px";var L=A.quill.getLines(E.index,E.length);if(L.length===1)A.position(A.quill.getBounds(E));else{var q=L[L.length-1],I=A.quill.getIndex(q),F=Math.min(q.length()-1,E.index+E.length-I),R=A.quill.getBounds(new r.Range(I,F));A.position(R)}}else document.activeElement!==A.textbox&&A.quill.hasFocus()&&A.hide()}),A}return a(O,[{key:"listen",value:function(){var T=this;m(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){T.root.classList.remove("ql-editing")}),this.quill.on(o.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!T.root.classList.contains("ql-hidden")){var A=T.quill.getSelection();A!=null&&T.position(T.quill.getBounds(A))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(T){var A=m(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"position",this).call(this,T),M=this.root.querySelector(".ql-tooltip-arrow");if(M.style.marginLeft="",A===0)return A;M.style.marginLeft=-1*A-M.offsetWidth/2+"px"}}]),O})(s.BaseTooltip);$.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(""),h.BubbleTooltip=$,h.default=_}),(function(e,h,g){e.exports=g(63)})]).default})})(quill);const Quill=getDefaultExportFromCjs(quill.exports),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$2T={name:"quill-editor",props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:()=>({})}},emits:["ready","change","input","blur","focus","update:value"],setup(t,u){const e={editorOption:{},quill:null};let h="";require$$0.watch(()=>t.value,f=>{e.quill&&(f&&f!==h?(h=f,e.quill.pasteHTML(f)):f||e.quill.setText(""))}),require$$0.watch(()=>t.content,f=>{e.quill&&(f&&f!==h?(h=f,e.quill.pasteHTML(f)):f||e.quill.setText(""))}),require$$0.watch(()=>t.disabled,f=>{e.quill&&e.quill.enable(!f)});const g=require$$0.ref(null),m=(f,n)=>{for(const c in n)!f[c]||c!=="modules"?f[c]=n[c]:m(f[c],n[c]);return f},a=()=>{g.value&&(e.editorOption=m(defaultOptions,t.options),e.editorOption.readOnly=!!t.disabled,e.quill=new Quill(g.value,e.editorOption),t.value&&e.quill.pasteHTML(t.value),e.quill.on("selection-change",f=>{f?u.emit("focus",e.quill):u.emit("blur",e.quill)}),e.quill.on("text-change",()=>{t.disabled&&e.quill.enable(!1);let f=g.value.children[0].innerHTML;const n=e.quill,c=e.quill.getText();f==="<p><br></p>"&&(f=""),h=f,u.emit("update:value",h),u.emit("change",{html:f,text:c,quill:n})}),u.emit("ready",e.quill))};return require$$0.onBeforeUnmount(()=>{const f=g.value.previousSibling;f&&f.nodeType===1&&f.className.indexOf("ql-toolbar")>-1&&f.parentNode.removeChild(f)}),require$$0.onMounted(()=>{a()}),require$$0.onUnmounted(()=>{e.quill=null}),{editor:g}}},_hoisted_1$w={ref:"editor"};function _sfc_render$2T(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("section",_hoisted_1$w,null,512)}const quillEditor=_export_sfc$1(_sfc_main$2T,[["render",_sfc_render$2T]]);quillEditor.install=function(t){t.component(quillEditor.name,quillEditor)};const _sfc_main$2S={name:"rich-editor-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$2S(t,u,e,h,g,m){const a=require$$0.resolveComponent("quill-editor"),f=require$$0.resolveComponent("form-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.createElementVNode("div",null,[require$$0.createVNode(a,{value:g.fieldModel,"onUpdate:value":u[0]||(u[0]=n=>g.fieldModel=n),options:m.editorOption,disabled:e.field.options.disabled,onBlur:m.handleRichEditorBlurEvent,onFocus:m.handleRichEditorFocusEvent,onChange:m.handleRichEditorChangeEvent,style:require$$0.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"])}const richEditorWidget=_export_sfc$1(_sfc_main$2S,[["render",_sfc_render$2S],["__scopeId","data-v-2414734d"]]),__vite_glob_0_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:richEditorWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2R={name:"select-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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:{}};function _sfc_render$2R(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-option"),f=require$$0.resolveComponent("el-select"),n=require$$0.resolveComponent("form-item-wrapper"),c=require$$0.resolveDirective("left-label");return require$$0.openBlock(),require$$0.createBlock(n,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.withDirectives((require$$0.openBlock(),require$$0.createBlock(f,{ref:"fieldEditor",modelValue:g.fieldModel,"onUpdate:modelValue":u[0]||(u[0]=o=>g.fieldModel=o),class:"full-width-input",disabled:e.field.options.disabled,size:t.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":m.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":m.remoteMethod,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.field.options.optionItems,o=>(require$$0.openBlock(),require$$0.createBlock(a,{key:o.value,label:o.label,value:o.value,disabled:o.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"])),[[c,e.field.options.label]])]),_: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"])}const selectWidget=_export_sfc$1(_sfc_main$2R,[["render",_sfc_render$2R],["__scopeId","data-v-413a250a"]]),__vite_glob_0_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:selectWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2Q={name:"slider-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$2Q(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-slider"),f=require$$0.resolveComponent("form-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.createVNode(a,{ref:"fieldEditor",modelValue:g.fieldModel,"onUpdate:modelValue":u[0]||(u[0]=n=>g.fieldModel=n),disabled:e.field.options.disabled,"show-stops":e.field.options.showStops,min:e.field.options.min,max:e.field.options.max,step:e.field.options.step,range:e.field.options.range,vertical:e.field.options.vertical,onChange:t.handleChangeEvent},null,8,["modelValue","disabled","show-stops","min","max","step","range","vertical","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}const sliderWidget=_export_sfc$1(_sfc_main$2Q,[["render",_sfc_render$2Q],["__scopeId","data-v-6382c367"]]),__vite_glob_0_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:sliderWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2P={name:"slot-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$v={key:0,class:"slot-title"};function _sfc_render$2P(t,u,e,h,g,m){const a=require$$0.resolveComponent("static-content-wrapper");return require$$0.openBlock(),require$$0.createBlock(a,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",{class:require$$0.normalizeClass([e.designState?"slot-wrapper-design":"slot-wrapper-render"])},[require$$0.renderSlot(t.$slots,e.field.options.name,{formModel:t.formModel},void 0,!0),e.designState?(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_1$v,require$$0.toDisplayString(e.field.options.label),1)):require$$0.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"])}const slotWidget=_export_sfc$1(_sfc_main$2P,[["render",_sfc_render$2P],["__scopeId","data-v-71927942"]]),__vite_glob_0_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:slotWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2O={name:"static-text-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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:{}};function _sfc_render$2O(t,u,e,h,g,m){const a=require$$0.resolveComponent("static-content-wrapper");return require$$0.openBlock(),require$$0.createBlock(a,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",{ref:"fieldEditor",style:require$$0.normalizeStyle(e.field.options.fontSize?`font-size: ${e.field.options.fontSize};`:"")},[require$$0.createElementVNode("pre",{style:require$$0.normalizeStyle({"white-space":e.field.options.preWrap?"pre-wrap":"pre","text-align":e.field.options.textAlign?e.field.options.textAlign:"left"})},require$$0.toDisplayString(e.field.options.textContent),5)],4)]),_: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"])}const staticTextWidget=_export_sfc$1(_sfc_main$2O,[["render",_sfc_render$2O],["__scopeId","data-v-5baa72ad"]]),__vite_glob_0_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:staticTextWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2N={name:"switch-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$2N(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-switch"),f=require$$0.resolveComponent("form-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.createVNode(a,{ref:"fieldEditor",modelValue:g.fieldModel,"onUpdate:modelValue":u[0]||(u[0]=n=>g.fieldModel=n),disabled:e.field.options.disabled,"active-text":e.field.options.activeText,"inactive-text":e.field.options.inactiveText,"active-color":e.field.options.activeColor,"inactive-color":e.field.options.inactiveColor,width:e.field.options.switchWidth,onChange:t.handleChangeEvent},null,8,["modelValue","disabled","active-text","inactive-text","active-color","inactive-color","width","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}const switchWidget=_export_sfc$1(_sfc_main$2N,[["render",_sfc_render$2N],["__scopeId","data-v-27d8d788"]]),__vite_glob_0_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:switchWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2M={name:"textarea-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$2M(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-input"),f=require$$0.resolveComponent("form-item-wrapper"),n=require$$0.resolveDirective("left-label");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.withDirectives(require$$0.createVNode(a,{type:"textarea",ref:"fieldEditor",modelValue:g.fieldModel,"onUpdate:modelValue":u[0]||(u[0]=c=>g.fieldModel=c),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.widgetSize,placeholder:e.field.options.placeholder,rows:e.field.options.rows,minlength:e.field.options.minLength,maxlength:e.field.options.maxLength,"show-word-limit":e.field.options.showWordLimit,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onInput:t.handleInputCustomEvent,onChange:t.handleChangeEvent},null,8,["modelValue","disabled","readonly","size","placeholder","rows","minlength","maxlength","show-word-limit","onFocus","onBlur","onInput","onChange"]),[[n,e.field.options.label]])]),_: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"])}const textareaWidget=_export_sfc$1(_sfc_main$2M,[["render",_sfc_render$2M],["__scopeId","data-v-fdaad65c"]]),__vite_glob_0_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:textareaWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2L={name:"time-range-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$2L(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-time-picker"),f=require$$0.resolveComponent("form-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.createElementVNode("div",{class:require$$0.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""])},[require$$0.createVNode(a,{ref:"fieldEditor","is-range":"",modelValue:g.fieldModel,"onUpdate:modelValue":u[0]||(u[0]=n=>g.fieldModel=n),class:require$$0.normalizeClass([e.field.options.autoFullWidth?"full-width-input":""]),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":"HH:mm:ss","start-placeholder":e.field.options.startPlaceholder||t.i18nt("render.hint.startTimePlaceholder"),"end-placeholder":e.field.options.endPlaceholder||t.i18nt("render.hint.endTimePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},null,8,["modelValue","class","disabled","readonly","size","clearable","editable","format","start-placeholder","end-placeholder","onFocus","onBlur","onChange"])],2)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}const timeRangeWidget=_export_sfc$1(_sfc_main$2L,[["render",_sfc_render$2L],["__scopeId","data-v-d174bb87"]]),__vite_glob_0_23$1=Object.freeze(Object.defineProperty({__proto__:null,default:timeRangeWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2K={name:"time-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$2K(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-time-picker"),f=require$$0.resolveComponent("form-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.createVNode(a,{ref:"fieldEditor",modelValue:g.fieldModel,"onUpdate:modelValue":u[0]||(u[0]=n=>g.fieldModel=n),class:require$$0.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":"HH:mm:ss",placeholder:e.field.options.placeholder||t.i18nt("render.hint.timePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},null,8,["modelValue","class","disabled","readonly","size","clearable","editable","format","placeholder","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}const timeWidget=_export_sfc$1(_sfc_main$2K,[["render",_sfc_render$2K],["__scopeId","data-v-b7a74f8b"]]),__vite_glob_0_24$1=Object.freeze(Object.defineProperty({__proto__:null,default:timeWidget},Symbol.toStringTag,{value:"Module"}));let comps$1={};const modules$3=Object.assign({"./button-widget.vue":__vite_glob_0_0$2,"./cascader-widget.vue":__vite_glob_0_1$3,"./checkbox-widget.vue":__vite_glob_0_2$3,"./color-widget.vue":__vite_glob_0_3$3,"./date-range-widget.vue":__vite_glob_0_4$3,"./date-widget.vue":__vite_glob_0_5$3,"./divider-widget.vue":__vite_glob_0_6$2,"./file-upload-widget.vue":__vite_glob_0_7$1,"./form-item-wrapper.vue":__vite_glob_0_8$1,"./html-text-widget.vue":__vite_glob_0_9$1,"./input-widget.vue":__vite_glob_0_10$1,"./number-widget.vue":__vite_glob_0_11$1,"./picture-upload-widget.vue":__vite_glob_0_12$1,"./radio-widget.vue":__vite_glob_0_13$1,"./rate-widget.vue":__vite_glob_0_14$1,"./rich-editor-widget.vue":__vite_glob_0_15$1,"./select-widget.vue":__vite_glob_0_16$1,"./slider-widget.vue":__vite_glob_0_17$1,"./slot-widget.vue":__vite_glob_0_18$1,"./static-content-wrapper.vue":__vite_glob_0_19$1,"./static-text-widget.vue":__vite_glob_0_20$1,"./switch-widget.vue":__vite_glob_0_21$1,"./textarea-widget.vue":__vite_glob_0_22$1,"./time-range-widget.vue":__vite_glob_0_23$1,"./time-widget.vue":__vite_glob_0_24$1});for(const t in modules$3){let u=modules$3[t].default.name;comps$1[u]=modules$3[t].default}const refMixinDesign={methods:{initRefList(){this.refList!==null&&this.widget.options.name&&(this.refList[this.widget.options.name]=this)},getWidgetRef(t,u){let e=this.refList[t];return!e&&u&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},registerToRefList(t){this.refList!==null&&this.widget.options.name&&(t&&delete this.refList[t],this.refList[this.widget.options.name]=this)}}},_sfc_main$2J={name:"GridColWidget",componentName:"GridColWidget",mixins:[i18n,refMixinDesign],inject:["refList"],components:{...comps$1,SvgIcon},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,colHeight:{type:String,default:null}},data(){return{layoutProps:{span:this.widget.options.span||12,offset:this.widget.options.offset||0,push:this.widget.options.push||0,pull:this.widget.options.pull||0}}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},colHeightStyle(){return this.colHeight?{height:this.colHeight+"px"}:{}}},watch:{"designer.formConfig.layoutType":{handler(t){this.widget.options.responsive?t==="H5"?this.layoutProps.span=this.widget.options.xs||12:t==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12:this.layoutProps.span=this.widget.options.span||12}},"widget.options.responsive":{handler(t){let u=this.designer.formConfig.layoutType;t?u==="H5"?this.layoutProps.span=this.widget.options.xs||12:u==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12:this.layoutProps.span=this.widget.options.span||12}},"widget.options.span":{handler(t){this.layoutProps.span=t}},"widget.options.md":{handler(t){this.layoutProps.span=t}},"widget.options.sm":{handler(t){this.layoutProps.span=t}},"widget.options.xs":{handler(t){this.layoutProps.span=t}},"widget.options.offset":{handler(t){this.layoutProps.offset=t}},"widget.options.push":{handler(t){this.layoutProps.push=t}},"widget.options.pull":{handler(t){this.layoutProps.pull=t}}},created(){this.initRefList(),this.initLayoutProps()},methods:{beforeHandleCommond(t,u){return{width:t,widget:u}},cloneGridColWithWidth(t){let u=JSON.parse(JSON.stringify(t.widget));u.options.span=t.width,this.designer.cloneGridColNew(u,this.parentWidget,this.indexOfParentList+1)},initLayoutProps(){if(this.widget.options.responsive){let t=this.designer.formConfig.layoutType;t==="H5"?this.layoutProps.span=this.widget.options.xs||12:t==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12}else this.layoutProps.span=this.widget.options.span},onGridDragEnd(t,u){console.log("end",t,u)},onGridDragAdd(t,u){const e=t.newIndex;u[e]&&(console.log("add",u[e]),u[e].options.hidden=!1,this.designer.setSelected(u[e])),this.designer.emitHistoryChange()},onGridDragUpdate(){this.designer.emitHistoryChange()},selectWidget(t){this.designer.setSelected(t)},checkContainerMove(t){return this.designer.checkWidgetMove(t)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList)},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList)},cloneGridCol(t){this.designer.cloneGridCol(t,this.parentWidget)},changeHidden(t){t.options.hidden=!0,this.designer.emitHistoryChange()},removeWidget(){if(this.parentList){let t=null;this.parentList.length===1?this.parentWidget&&(t=this.parentWidget):this.parentList.length===1+this.indexOfParentList?t=this.parentList[this.indexOfParentList-1]:t=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),t>=0&&this.designer.setSelected(t),this.designer.emitHistoryChange()})}}}},_hoisted_1$u={key:0,class:"form-widget-list"},_hoisted_2$k={key:0,class:"grid-col-action"},_hoisted_3$g=["title"],_hoisted_4$9=["title"],_hoisted_5$7=["title"],_hoisted_6$6=["title"],_hoisted_7$4={key:1,class:"grid-col-handler"};function _sfc_render$2J(t,u,e,h,g,m){const a=require$$0.resolveComponent("draggable"),f=require$$0.resolveComponent("svg-icon"),n=require$$0.resolveComponent("el-dropdown-item"),c=require$$0.resolveComponent("el-dropdown-menu"),o=require$$0.resolveComponent("el-dropdown"),s=require$$0.resolveComponent("el-col");return e.widget.type==="grid-col"?(require$$0.openBlock(),require$$0.createBlock(s,require$$0.mergeProps({key:0,class:"grid-cell",style:{"{border":"5px solid red"}},g.layoutProps,{class:[m.selected?"selected":"",m.customClass],style:m.colHeightStyle,key:e.widget.id,onClick:u[6]||(u[6]=require$$0.withModifiers(i=>m.selectWidget(e.widget),["stop"]))}),{default:require$$0.withCtx(()=>[require$$0.createVNode(a,require$$0.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:u[0]||(u[0]=i=>m.onGridDragEnd(i,e.widget.widgetList)),onAdd:u[1]||(u[1]=i=>m.onGridDragAdd(i,e.widget.widgetList)),onUpdate:m.onGridDragUpdate,move:m.checkContainerMove}),{item:require$$0.withCtx(({element:i,index:r})=>[i?.options?.hidden?require$$0.createCommentVNode("",!0):(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_1$u,[i.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(i.type+"-widget"),{widget:i,designer:e.designer,key:i.id,"parent-list":e.widget.widgetList,"index-of-parent-list":r,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(i.type+"-widget"),{field:i,designer:e.designer,key:i.id,"parent-list":e.widget.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))]))]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="grid-col"?(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_2$k,[require$$0.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:u[2]||(u[2]=require$$0.withModifiers(i=>m.selectParentWidget(e.widget),["stop"]))},[require$$0.createVNode(f,{"icon-class":"el-back"})],8,_hoisted_3$g),e.parentList&&e.parentList.length>1?(require$$0.openBlock(),require$$0.createElementBlock("i",{key:0,title:t.i18nt("designer.hint.moveUpWidget"),onClick:u[3]||(u[3]=require$$0.withModifiers(i=>m.moveUpWidget(),["stop"]))}," 左移 ",8,_hoisted_4$9)):require$$0.createCommentVNode("",!0),e.parentList&&e.parentList.length>1?(require$$0.openBlock(),require$$0.createElementBlock("i",{key:1,title:t.i18nt("designer.hint.moveDownWidget"),onClick:u[4]||(u[4]=require$$0.withModifiers(i=>m.moveDownWidget(),["stop"]))}," 右移 ",8,_hoisted_5$7)):require$$0.createCommentVNode("",!0),require$$0.createVNode(o,{placement:"right-start",trigger:"click",onCommand:m.cloneGridColWithWidth},{dropdown:require$$0.withCtx(()=>[require$$0.createVNode(c,{slot:"dropdown"},{default:require$$0.withCtx(()=>[require$$0.createVNode(n,{command:m.beforeHandleCommond(3,e.widget)},{default:require$$0.withCtx(()=>[...u[7]||(u[7]=[require$$0.createTextVNode(" 1列 ",-1)])]),_:1},8,["command"]),require$$0.createVNode(n,{command:m.beforeHandleCommond(6,e.widget)},{default:require$$0.withCtx(()=>[...u[8]||(u[8]=[require$$0.createTextVNode(" 2列 ",-1)])]),_:1},8,["command"]),require$$0.createVNode(n,{command:m.beforeHandleCommond(9,e.widget)},{default:require$$0.withCtx(()=>[...u[9]||(u[9]=[require$$0.createTextVNode(" 3列 ",-1)])]),_:1},8,["command"]),require$$0.createVNode(n,{command:m.beforeHandleCommond(12,e.widget)},{default:require$$0.withCtx(()=>[...u[10]||(u[10]=[require$$0.createTextVNode(" 4列 ",-1)])]),_:1},8,["command"]),require$$0.createVNode(n,{command:m.beforeHandleCommond(24,e.widget)},{default:require$$0.withCtx(()=>[...u[11]||(u[11]=[require$$0.createTextVNode(" 8列 ",-1)])]),_:1},8,["command"]),require$$0.createVNode(n,{command:m.beforeHandleCommond(8,e.widget)},{default:require$$0.withCtx(()=>[...u[12]||(u[12]=[require$$0.createTextVNode(" 1/3 ",-1)])]),_:1},8,["command"]),require$$0.createVNode(n,{command:m.beforeHandleCommond(16,e.widget)},{default:require$$0.withCtx(()=>[...u[13]||(u[13]=[require$$0.createTextVNode(" 2/3 ",-1)])]),_:1},8,["command"])]),_:1})]),default:require$$0.withCtx(()=>[u[14]||(u[14]=require$$0.createElementVNode("i",{style:{padding:"5px 5px 0 0"}},"添加",-1))]),_:1},8,["onCommand"]),require$$0.withDirectives(require$$0.createElementVNode("i",{title:t.i18nt("designer.hint.remove"),onClick:u[5]||(u[5]=require$$0.withModifiers(i=>m.changeHidden(e.widget),["stop"]))},[require$$0.createVNode(f,{"icon-class":"el-delete"})],8,_hoisted_6$6),[[require$$0.vShow,!e.widget.widgetList[0]?.options?.required]])])):require$$0.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="grid-col"?(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_7$4,[require$$0.createElementVNode("i",null,require$$0.toDisplayString(t.i18nt("designer.widgetLabel."+e.widget.type)),1)])):require$$0.createCommentVNode("",!0)]),_:1},16,["class","style"])):require$$0.createCommentVNode("",!0)}const GridColWidget=_export_sfc$1(_sfc_main$2J,[["render",_sfc_render$2J],["__scopeId","data-v-9c8f66b9"]]),__vite_glob_0_1$2=Object.freeze(Object.defineProperty({__proto__:null,default:GridColWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2I={name:"grid-widget",componentName:"ContainerWidget",mixins:[i18n,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,GridColWidget},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{}};function _sfc_render$2I(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-input"),f=require$$0.resolveComponent("el-option"),n=require$$0.resolveComponent("el-select"),c=require$$0.resolveComponent("el-row"),o=require$$0.resolveComponent("grid-col-widget"),s=require$$0.resolveComponent("container-wrapper");return require$$0.openBlock(),require$$0.createBlock(s,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:require$$0.withCtx(()=>[require$$0.createVNode(c,null,{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{modelValue:e.widget.options.label,"onUpdate:modelValue":u[0]||(u[0]=i=>e.widget.options.label=i),placeholder:"选项组名称",style:{width:"200px"}},null,8,["modelValue"]),require$$0.createVNode(n,{modelValue:e.widget.options.hidden,"onUpdate:modelValue":u[1]||(u[1]=i=>e.widget.options.hidden=i),style:{width:"110px"}},{default:require$$0.withCtx(()=>[require$$0.createVNode(f,{label:"默认展开",value:!1}),require$$0.createVNode(f,{label:"默认收起",value:!0})]),_:1},8,["modelValue"])]),_:1}),(require$$0.openBlock(),require$$0.createBlock(c,{key:e.widget.id,gutter:e.widget.options.gutter,class:require$$0.normalizeClass(["grid-container",[m.selected?"selected":"",m.customClass]]),onClick:u[2]||(u[2]=require$$0.withModifiers(i=>t.selectWidget(e.widget),["stop"]))},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.cols,(i,r)=>require$$0.withDirectives((require$$0.openBlock(),require$$0.createBlock(o,{key:i.id,widget:i,designer:e.designer,"parent-list":e.widget.cols,"index-of-parent-list":r,"parent-widget":e.widget,"col-height":e.widget.options.colHeight},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget","col-height"])),[[require$$0.vShow,!i.options?.hidden]])),128))]),_:1},8,["gutter","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}const gridWidget=_export_sfc$1(_sfc_main$2I,[["render",_sfc_render$2I],["__scopeId","data-v-7c7ef7c3"]]),__vite_glob_0_2$2=Object.freeze(Object.defineProperty({__proto__:null,default:gridWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2H={name:"tab-widget",componentName:"ContainerWidget",mixins:[i18n,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,...comps$1},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{activeTab:"tab1"}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{onTabClick(t){let u=t.paneName;this.widget.tabs.forEach(e=>{e.options.active=e.options.name===u})}}},_hoisted_1$t={class:"form-widget-list"};function _sfc_render$2H(t,u,e,h,g,m){const a=require$$0.resolveComponent("draggable"),f=require$$0.resolveComponent("el-tab-pane"),n=require$$0.resolveComponent("el-tabs"),c=require$$0.resolveComponent("container-wrapper");return require$$0.openBlock(),require$$0.createBlock(c,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:require$$0.withCtx(()=>[(require$$0.openBlock(),require$$0.createElementBlock("div",{key:e.widget.id,class:require$$0.normalizeClass(["tab-container",{selected:m.selected}]),onClick:u[2]||(u[2]=require$$0.withModifiers(o=>t.selectWidget(e.widget),["stop"]))},[require$$0.createVNode(n,{type:e.widget.displayType,modelValue:g.activeTab,"onUpdate:modelValue":u[1]||(u[1]=o=>g.activeTab=o),onTabClick:m.onTabClick},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.tabs,(o,s)=>(require$$0.openBlock(),require$$0.createBlock(f,{key:s,label:o.options.label,name:o.options.name,onClick:u[0]||(u[0]=require$$0.withModifiers(i=>t.selectWidget(e.widget),["stop"]))},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,require$$0.mergeProps({list:o.widgetList,"item-key":"id"},{ref_for:!0},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:i=>t.onContainerDragAdd(i,o.widgetList),onUpdate:t.onContainerDragUpdate,move:t.checkContainerMove}),{item:require$$0.withCtx(({element:i,index:r})=>[require$$0.createElementVNode("div",_hoisted_1$t,[i.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(i.type+"-widget"),{widget:i,designer:e.designer,key:i.id,"parent-list":o.widgetList,"index-of-parent-list":r,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(i.type+"-widget"),{field:i,designer:e.designer,key:i.id,"parent-list":o.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:2},1040,["list","onAdd","onUpdate","move"])]),_:2},1032,["label","name"]))),128))]),_:1},8,["type","modelValue","onTabClick"])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}const tabWidget=_export_sfc$1(_sfc_main$2H,[["render",_sfc_render$2H],["__scopeId","data-v-958e5ded"]]),__vite_glob_0_3$2=Object.freeze(Object.defineProperty({__proto__:null,default:tabWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2G={name:"TableCellWidget",componentName:"TableCellWidget",mixins:[i18n,refMixinDesign],inject:["refList"],components:{...comps$1,SvgIcon},props:{widget:Object,parentWidget:Object,parentList:Array,rowIndex:Number,colIndex:Number,rowLength:Number,colLength:Number,colArray:Array,rowArray:Array,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},mergeLeftColDisabled(){return this.colIndex<=0||this.colArray[this.colIndex-1].options.rowspan!==this.widget.options.rowspan},mergeRightColDisabled(){let t=this.colIndex+this.widget.options.colspan;return this.colIndex>=this.colLength-1||t>this.colLength-1||this.colArray[t].options.rowspan!==this.widget.options.rowspan},mergeWholeRowDisabled(){return this.colLength<=1||this.colLength===this.widget.options.colspan},mergeAboveRowDisabled(){return this.rowIndex<=0||this.rowArray[this.rowIndex-1].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeBelowRowDisabled(){let t=this.rowIndex+this.widget.options.rowspan;return this.rowIndex>=this.rowLength-1||t>this.rowLength-1||this.rowArray[t].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeWholeColDisabled(){return this.rowLength<=1||this.rowLength===this.widget.options.rowspan},undoMergeColDisabled(){return this.widget.merged||this.widget.options.colspan<=1},undoMergeRowDisabled(){return this.widget.merged||this.widget.options.rowspan<=1},deleteWholeColDisabled(){return this.colLength===1||this.widget.options.colspan===this.colLength},deleteWholeRowDisabled(){return this.rowLength===1||this.widget.options.rowspan===this.rowLength}},watch:{},created(){this.initRefList()},methods:{selectWidget(t){this.designer.setSelected(t)},checkContainerMove(t){return this.designer.checkWidgetMove(t)},onTableDragEnd(t,u){},onTableDragAdd(t,u){const e=t.newIndex;u[e]&&this.designer.setSelected(u[e]),this.designer.emitHistoryChange()},onTableDragUpdate(){this.designer.emitHistoryChange()},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},handleTableCellCommand(t){t==="insertLeftCol"?this.insertLeftCol():t==="insertRightCol"?this.insertRightCol():t==="insertAboveRow"?this.insertAboveRow():t==="insertBelowRow"?this.insertBelowRow():t==="mergeLeftCol"?this.mergeLeftCol():t==="mergeRightCol"?this.mergeRightCol():t==="mergeWholeCol"?this.mergeWholeCol():t==="mergeAboveRow"?this.mergeAboveRow():t==="mergeBelowRow"?this.mergeBelowRow():t==="mergeWholeRow"?this.mergeWholeRow():t==="undoMergeCol"?this.undoMergeCol():t==="undoMergeRow"?this.undoMergeRow():t==="deleteWholeCol"?this.deleteWholeCol():t==="deleteWholeRow"&&this.deleteWholeRow()},insertLeftCol(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!0)},insertRightCol(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!1)},insertAboveRow(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!0)},insertBelowRow(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!1)},mergeLeftCol(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeRightCol(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeRow(){this.designer.mergeTableWholeRow(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},mergeAboveRow(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeBelowRow(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeCol(){this.designer.mergeTableWholeCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},undoMergeCol(){this.designer.undoMergeTableCol(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},undoMergeRow(){this.designer.undoMergeTableRow(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},deleteWholeCol(){this.designer.deleteTableWholeCol(this.rowArray,this.colIndex)},deleteWholeRow(){this.designer.deleteTableWholeRow(this.rowArray,this.rowIndex)}}},_hoisted_1$s=["colspan","rowspan"],_hoisted_2$j={class:"form-widget-list"},_hoisted_3$f={key:0,class:"table-cell-action"},_hoisted_4$8=["title"],_hoisted_5$6=["title"],_hoisted_6$5={key:1,class:"table-cell-handler"};function _sfc_render$2G(t,u,e,h,g,m){const a=require$$0.resolveComponent("draggable"),f=require$$0.resolveComponent("svg-icon"),n=require$$0.resolveComponent("el-dropdown-item"),c=require$$0.resolveComponent("el-dropdown-menu"),o=require$$0.resolveComponent("el-dropdown");return require$$0.openBlock(),require$$0.createElementBlock("td",{class:require$$0.normalizeClass(["table-cell",[m.selected?"selected":"",m.customClass]]),style:require$$0.normalizeStyle({width:e.widget.options.cellWidth+"!important"||"",height:e.widget.options.cellHeight+"!important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"}),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,onClick:u[3]||(u[3]=require$$0.withModifiers(s=>m.selectWidget(e.widget),["stop"]))},[require$$0.createVNode(a,require$$0.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:u[0]||(u[0]=s=>m.onTableDragEnd(s,e.widget.widgetList)),onAdd:u[1]||(u[1]=s=>m.onTableDragAdd(s,e.widget.widgetList)),onUpdate:m.onTableDragUpdate,move:m.checkContainerMove}),{item:require$$0.withCtx(({element:s,index:i})=>[require$$0.createElementVNode("div",_hoisted_2$j,[s.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(s.type+"-widget"),{widget:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(s.type+"-widget"),{field:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="table-cell"?(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_3$f,[require$$0.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:u[2]||(u[2]=require$$0.withModifiers(s=>m.selectParentWidget(),["stop"]))},[require$$0.createVNode(f,{"icon-class":"el-back"})],8,_hoisted_4$8),require$$0.createVNode(o,{trigger:"click",onCommand:m.handleTableCellCommand,size:"small"},{dropdown:require$$0.withCtx(()=>[require$$0.createVNode(c,null,{default:require$$0.withCtx(()=>[require$$0.createVNode(n,{command:"insertLeftCol"},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.insertColumnToLeft")),1)]),_:1}),require$$0.createVNode(n,{command:"insertRightCol"},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.insertColumnToRight")),1)]),_:1}),require$$0.createVNode(n,{command:"insertAboveRow"},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.insertRowAbove")),1)]),_:1}),require$$0.createVNode(n,{command:"insertBelowRow"},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.insertRowBelow")),1)]),_:1}),require$$0.createVNode(n,{command:"mergeLeftCol",disabled:m.mergeLeftColDisabled,divided:""},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.mergeLeftColumn")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"mergeRightCol",disabled:m.mergeRightColDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.mergeRightColumn")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"mergeWholeRow",disabled:m.mergeWholeRowDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.mergeEntireRow")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"mergeAboveRow",disabled:m.mergeAboveRowDisabled,divided:""},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.mergeRowAbove")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"mergeBelowRow",disabled:m.mergeBelowRowDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.mergeRowBelow")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"mergeWholeCol",disabled:m.mergeWholeColDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.mergeEntireColumn")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"undoMergeRow",disabled:m.undoMergeRowDisabled,divided:""},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.undoMergeRow")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"undoMergeCol",disabled:m.undoMergeColDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.undoMergeCol")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"deleteWholeCol",disabled:m.deleteWholeColDisabled,divided:""},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.deleteEntireCol")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"deleteWholeRow",disabled:m.deleteWholeRowDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.deleteEntireRow")),1)]),_:1},8,["disabled"])]),_:1})]),default:require$$0.withCtx(()=>[require$$0.createElementVNode("i",{title:t.i18nt("designer.hint.cellSetting")},[require$$0.createVNode(f,{"icon-class":"el-menu"})],8,_hoisted_5$6)]),_:1},8,["onCommand"])])):require$$0.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="table-cell"?(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_6$5,[require$$0.createElementVNode("i",null,require$$0.toDisplayString(t.i18nt("designer.widgetLabel."+e.widget.type)),1)])):require$$0.createCommentVNode("",!0)],14,_hoisted_1$s)}const TableCellWidget=_export_sfc$1(_sfc_main$2G,[["render",_sfc_render$2G],["__scopeId","data-v-c3d80632"]]),__vite_glob_0_4$2=Object.freeze(Object.defineProperty({__proto__:null,default:TableCellWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2F={name:"table-widget",componentName:"ContainerWidget",mixins:[i18n,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,TableCellWidget},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{}},_hoisted_1$r={class:"table-layout"};function _sfc_render$2F(t,u,e,h,g,m){const a=require$$0.resolveComponent("table-cell-widget"),f=require$$0.resolveComponent("container-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:require$$0.withCtx(()=>[(require$$0.openBlock(),require$$0.createElementBlock("div",{key:e.widget.id,class:require$$0.normalizeClass(["table-container",[m.selected?"selected":"",m.customClass]]),onClick:u[0]||(u[0]=require$$0.withModifiers(n=>t.selectWidget(e.widget),["stop"]))},[require$$0.createElementVNode("table",_hoisted_1$r,[require$$0.createElementVNode("tbody",null,[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.rows,(n,c)=>(require$$0.openBlock(),require$$0.createElementBlock("tr",{key:n.id},[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(n.cols,(o,s)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[o.merged?require$$0.createCommentVNode("",!0):(require$$0.openBlock(),require$$0.createBlock(a,{widget:o,designer:e.designer,key:o.id,"parent-list":e.widget.cols,"row-index":c,"row-length":e.widget.rows.length,"col-index":s,"col-length":n.cols.length,"col-array":n.cols,"row-array":e.widget.rows,"parent-widget":e.widget},null,8,["widget","designer","parent-list","row-index","row-length","col-index","col-length","col-array","row-array","parent-widget"]))],64))),256))]))),128))])])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}const tableWidget=_export_sfc$1(_sfc_main$2F,[["render",_sfc_render$2F],["__scopeId","data-v-da84bfd2"]]),__vite_glob_0_5$2=Object.freeze(Object.defineProperty({__proto__:null,default:tableWidget},Symbol.toStringTag,{value:"Module"})),modules$2=Object.assign({"./container-wrapper.vue":__vite_glob_0_0$3,"./grid-col-widget.vue":__vite_glob_0_1$2,"./grid-widget.vue":__vite_glob_0_2$2,"./tab-widget.vue":__vite_glob_0_3$2,"./table-cell-widget.vue":__vite_glob_0_4$2,"./table-widget.vue":__vite_glob_0_5$2}),ContainerWidgets={install(t){for(const u in modules$2){let e=modules$2[u].default.name;t.component(e,modules$2[u].default)}}},_sfc_main$2E={name:"VFormWidget",componentName:"VFormWidget",mixins:[i18n],components:{...comps$1},props:{designer:Object,formConfig:Object,optionData:{type:Object,default:()=>({})},globalDsv:{type:Object,default:()=>({})}},provide(){return{refList:this.widgetRefList,getFormConfig:()=>this.formConfig,getGlobalDsv:()=>this.globalDsv,globalOptionData:this.optionData,getOptionData:()=>this.optionData,globalModel:{formModel:this.formModel}}},inject:["getDesignerConfig","getSelectedList"],data(){return{formModel:{},widgetRefList:{}}},computed:{labelPosition(){return this.designer.formConfig&&this.designer.formConfig.labelPosition?this.designer.formConfig.labelPosition:"left"},size(){return this.designer.formConfig&&this.designer.formConfig.size?this.designer.formConfig.size:"default"},customClass(){return this.designer.formConfig.customClass||""},layoutType(){return this.designer.getLayoutType()}},watch:{"designer.widgetList":{deep:!0,handler(t){this.getSelectedList(this.designer.widgetList)}},"designer.formConfig":{deep:!0,handler(t){}}},created(){this.designer.initDesigner(!!this.getDesignerConfig().resetFormJson),this.designer.loadPresetCssCode(this.getDesignerConfig().presetCssCode)},mounted(){this.disableFirefoxDefaultDrop(),this.designer.registerFormWidget(this)},methods:{getWidgetName(t){return t.type+"-widget"},disableFirefoxDefaultDrop(){navigator.userAgent.toLowerCase().indexOf("firefox")!==-1&&(document.body.ondrop=function(u){u.stopPropagation(),u.preventDefault()})},onDragEnd(t){},onDragAdd(t){const u=t.newIndex;this.designer.widgetList[u]&&this.designer.setSelected(this.designer.widgetList[u]),this.designer.emitHistoryChange()},onDragUpdate(){this.designer.emitHistoryChange()},checkMove(t){return this.designer.checkWidgetMove(t)},getFormData(){return this.formModel},getWidgetRef(t,u=!1){let e=this.widgetRefList[t];return!e&&u&&this.$message.error(this.i18nt("designer.hint.refNotFound")+t),e},getSelectedWidgetRef(){let t=this.designer.selectedWidgetName;return this.getWidgetRef(t)},clearWidgetRefList(){Object.keys(this.widgetRefList).forEach(t=>{delete this.widgetRefList[t]})},deleteWidgetRef(t){delete this.widgetRefList[t]}}},_hoisted_1$q={class:"form-widget-container"},_hoisted_2$i={key:0,class:"no-widget-hint"},_hoisted_3$e={class:"form-widget-list"},_hoisted_4$7={class:"transition-group-el"};function _sfc_render$2E(t,u,e,h,g,m){const a=require$$0.resolveComponent("draggable"),f=require$$0.resolveComponent("el-form");return require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_1$q,[require$$0.createVNode(f,{class:require$$0.normalizeClass(["full-height-width widget-form",[m.customClass,m.layoutType+"-layout"]]),"label-position":m.labelPosition,size:m.size,"validate-on-rule-change":!1},{default:require$$0.withCtx(()=>[e.designer.widgetList.length===0?(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_2$i,require$$0.toDisplayString(t.i18nt("designer.noWidgetHint")),1)):require$$0.createCommentVNode("",!0),require$$0.createElementVNode("div",_hoisted_3$e,[require$$0.createVNode(a,require$$0.mergeProps({list:e.designer.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:300},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:m.onDragEnd,onAdd:m.onDragAdd,onUpdate:m.onDragUpdate,move:m.checkMove}),{item:require$$0.withCtx(({element:n,index:c})=>[require$$0.createElementVNode("div",_hoisted_4$7,[n.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getWidgetName(n)),{widget:n,designer:e.designer,key:n.id,"parent-list":e.designer.widgetList,"index-of-parent-list":c,"parent-widget":null},null,8,["widget","designer","parent-list","index-of-parent-list"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getWidgetName(n)),{field:n,designer:e.designer,key:n.id,"parent-list":e.designer.widgetList,"index-of-parent-list":c,"parent-widget":null,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list"]))])]),_:1},16,["list","onEnd","onAdd","onUpdate","move"])])]),_:1},8,["label-position","class","size"])])}const VFormWidget=_export_sfc$1(_sfc_main$2E,[["render",_sfc_render$2E],["__scopeId","data-v-7343a345"]]);var ace$2={exports:{}};(function(t,u){(function(){var e="ace",h=(function(){return this})();!h&&typeof window<"u"&&(h=window);var g=function(o,s,i){if(typeof o!="string"){g.original?g.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(i=s),g.modules[o]||(g.payloads[o]=i,g.modules[o]=null)};g.modules={},g.payloads={};var m=function(o,s,i){if(typeof s=="string"){var r=n(o,s);if(r!=null)return i&&i(),r}else if(Object.prototype.toString.call(s)==="[object Array]"){for(var l=[],d=0,p=s.length;d<p;++d){var v=n(o,s[d]);if(v==null&&a.original)return;l.push(v)}return i&&i.apply(null,l)||!0}},a=function(o,s){var i=m("",o,s);return i==null&&a.original?a.original.apply(this,arguments):i},f=function(o,s){if(s.indexOf("!")!==-1){var i=s.split("!");return f(o,i[0])+"!"+f(o,i[1])}if(s.charAt(0)=="."){var r=o.split("/").slice(0,-1).join("/");for(s=r+"/"+s;s.indexOf(".")!==-1&&l!=s;){var l=s;s=s.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return s},n=function(o,s){s=f(o,s);var i=g.modules[s];if(!i){if(i=g.payloads[s],typeof i=="function"){var r={},l={id:s,uri:"",exports:r,packaged:!0},d=function(v,b){return m(s,v,b)},p=i(d,r,l);r=p||l.exports,g.modules[s]=r,delete g.payloads[s]}i=g.modules[s]=r||i}return i};function c(o){var s=h;h[o]||(h[o]={}),s=h[o],(!s.define||!s.define.packaged)&&(g.original=s.define,s.define=g,s.define.packaged=!0),(!s.require||!s.require.packaged)&&(a.original=s.require,s.require=a,s.require.packaged=!0)}c(e)})(),ace.define("ace/lib/es6-shim",["require","exports","module"],function(e,h,g){function m(a,f,n){Object.defineProperty(a,f,{value:n,enumerable:!1,writable:!0,configurable:!0})}String.prototype.startsWith||m(String.prototype,"startsWith",function(a,f){return f=f||0,this.lastIndexOf(a,f)===f}),String.prototype.endsWith||m(String.prototype,"endsWith",function(a,f){var n=this;(f===void 0||f>n.length)&&(f=n.length),f-=a.length;var c=n.indexOf(a,f);return c!==-1&&c===f}),String.prototype.repeat||m(String.prototype,"repeat",function(a){for(var f="",n=this;a>0;)a&1&&(f+=n),(a>>=1)&&(n+=n);return f}),String.prototype.includes||m(String.prototype,"includes",function(a,f){return this.indexOf(a,f)!=-1}),Object.assign||(Object.assign=function(a){if(a==null)throw new TypeError("Cannot convert undefined or null to object");for(var f=Object(a),n=1;n<arguments.length;n++){var c=arguments[n];c!=null&&Object.keys(c).forEach(function(o){f[o]=c[o]})}return f}),Object.values||(Object.values=function(a){return Object.keys(a).map(function(f){return a[f]})}),Array.prototype.find||m(Array.prototype,"find",function(a){for(var f=this.length,n=arguments[1],c=0;c<f;c++){var o=this[c];if(a.call(n,o,c,this))return o}}),Array.prototype.findIndex||m(Array.prototype,"findIndex",function(a){for(var f=this.length,n=arguments[1],c=0;c<f;c++){var o=this[c];if(a.call(n,o,c,this))return c}}),Array.prototype.includes||m(Array.prototype,"includes",function(a,f){return this.indexOf(a,f)!=-1}),Array.prototype.fill||m(Array.prototype,"fill",function(a){for(var f=this,n=f.length>>>0,c=arguments[1],o=c>>0,s=o<0?Math.max(n+o,0):Math.min(o,n),i=arguments[2],r=i===void 0?n:i>>0,l=r<0?Math.max(n+r,0):Math.min(r,n);s<l;)f[s]=a,s++;return f}),Array.of||m(Array,"of",function(){return Array.prototype.slice.call(arguments)})}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/es6-shim"],function(e,h,g){e("./es6-shim")}),ace.define("ace/lib/deep_copy",["require","exports","module"],function(e,h,g){h.deepCopy=function m(a){if(typeof a!="object"||!a)return a;var f;if(Array.isArray(a)){f=[];for(var n=0;n<a.length;n++)f[n]=m(a[n]);return f}if(Object.prototype.toString.call(a)!=="[object Object]")return a;f={};for(var n in a)f[n]=m(a[n]);return f}}),ace.define("ace/lib/lang",["require","exports","module","ace/lib/deep_copy"],function(e,h,g){h.last=function(f){return f[f.length-1]},h.stringReverse=function(f){return f.split("").reverse().join("")},h.stringRepeat=function(f,n){for(var c="";n>0;)n&1&&(c+=f),(n>>=1)&&(f+=f);return c};var m=/^\s\s*/,a=/\s\s*$/;h.stringTrimLeft=function(f){return f.replace(m,"")},h.stringTrimRight=function(f){return f.replace(a,"")},h.copyObject=function(f){var n={};for(var c in f)n[c]=f[c];return n},h.copyArray=function(f){for(var n=[],c=0,o=f.length;c<o;c++)f[c]&&typeof f[c]=="object"?n[c]=this.copyObject(f[c]):n[c]=f[c];return n},h.deepCopy=e("./deep_copy").deepCopy,h.arrayToMap=function(f){for(var n={},c=0;c<f.length;c++)n[f[c]]=1;return n},h.createMap=function(f){var n=Object.create(null);for(var c in f)n[c]=f[c];return n},h.arrayRemove=function(f,n){for(var c=0;c<=f.length;c++)n===f[c]&&f.splice(c,1)},h.escapeRegExp=function(f){return f.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},h.escapeHTML=function(f){return(""+f).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},h.getMatchOffsets=function(f,n){var c=[];return f.replace(n,function(o){c.push({offset:arguments[arguments.length-2],length:o.length})}),c},h.deferredCall=function(f){var n=null,c=function(){n=null,f()},o=function(s){return o.cancel(),n=setTimeout(c,s||0),o};return o.schedule=o,o.call=function(){return this.cancel(),f(),o},o.cancel=function(){return clearTimeout(n),n=null,o},o.isPending=function(){return n},o},h.delayedCall=function(f,n){var c=null,o=function(){c=null,f()},s=function(i){c==null&&(c=setTimeout(o,i||n))};return s.delay=function(i){c&&clearTimeout(c),c=setTimeout(o,i||n)},s.schedule=s,s.call=function(){this.cancel(),f()},s.cancel=function(){c&&clearTimeout(c),c=null},s.isPending=function(){return c},s},h.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch{return!1}return!0},h.skipEmptyMatch=function(f,n,c){return c&&f.codePointAt(n)>65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(e,h,g){h.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},h.getOS=function(){return h.isMac?h.OS.MAC:h.isLinux?h.OS.LINUX:h.OS.WINDOWS};var m=typeof navigator=="object"?navigator:{},a=(/mac|win|linux/i.exec(m.platform)||["other"])[0].toLowerCase(),f=m.userAgent||"",n=m.appName||"";h.isWin=a=="win",h.isMac=a=="mac",h.isLinux=a=="linux",h.isIE=n=="Microsoft Internet Explorer"||n.indexOf("MSAppHost")>=0?parseFloat((f.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((f.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),h.isOldIE=h.isIE&&h.isIE<9,h.isGecko=h.isMozilla=f.match(/ Gecko\/\d+/),h.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",h.isWebKit=parseFloat(f.split("WebKit/")[1])||void 0,h.isChrome=parseFloat(f.split(" Chrome/")[1])||void 0,h.isSafari=parseFloat(f.split(" Safari/")[1])&&!h.isChrome||void 0,h.isEdge=parseFloat(f.split(" Edge/")[1])||void 0,h.isAIR=f.indexOf("AdobeAIR")>=0,h.isAndroid=f.indexOf("Android")>=0,h.isChromeOS=f.indexOf(" CrOS ")>=0,h.isIOS=/iPad|iPhone|iPod/.test(f)&&!window.MSStream,h.isIOS&&(h.isMac=!0),h.isMobile=h.isIOS||h.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(e,h,g){var m=e("./useragent"),a="http://www.w3.org/1999/xhtml";h.buildDom=function i(r,l,d){if(typeof r=="string"&&r){var p=document.createTextNode(r);return l&&l.appendChild(p),p}if(!Array.isArray(r))return r&&r.appendChild&&l&&l.appendChild(r),r;if(typeof r[0]!="string"||!r[0]){for(var v=[],b=0;b<r.length;b++){var w=i(r[b],l,d);w&&v.push(w)}return v}var y=document.createElement(r[0]),_=r[1],$=1;_&&typeof _=="object"&&!Array.isArray(_)&&($=2);for(var b=$;b<r.length;b++)i(r[b],y,d);return $==2&&Object.keys(_).forEach(function(S){var O=_[S];S==="class"?y.className=Array.isArray(O)?O.join(" "):O:typeof O=="function"||S=="value"||S[0]=="$"?y[S]=O:S==="ref"?d&&(d[O]=y):S==="style"?typeof O=="string"&&(y.style.cssText=O):O!=null&&y.setAttribute(S,O)}),l&&l.appendChild(y),y},h.getDocumentHead=function(i){return i||(i=document),i.head||i.getElementsByTagName("head")[0]||i.documentElement},h.createElement=function(i,r){return document.createElementNS?document.createElementNS(r||a,i):document.createElement(i)},h.removeChildren=function(i){i.innerHTML=""},h.createTextNode=function(i,r){var l=r?r.ownerDocument:document;return l.createTextNode(i)},h.createFragment=function(i){var r=i?i.ownerDocument:document;return r.createDocumentFragment()},h.hasCssClass=function(i,r){var l=(i.className+"").split(/\s+/g);return l.indexOf(r)!==-1},h.addCssClass=function(i,r){h.hasCssClass(i,r)||(i.className+=" "+r)},h.removeCssClass=function(i,r){for(var l=i.className.split(/\s+/g);;){var d=l.indexOf(r);if(d==-1)break;l.splice(d,1)}i.className=l.join(" ")},h.toggleCssClass=function(i,r){for(var l=i.className.split(/\s+/g),d=!0;;){var p=l.indexOf(r);if(p==-1)break;d=!1,l.splice(p,1)}return d&&l.push(r),i.className=l.join(" "),d},h.setCssClass=function(i,r,l){l?h.addCssClass(i,r):h.removeCssClass(i,r)},h.hasCssString=function(i,r){var l=0,d;if(r=r||document,d=r.querySelectorAll("style")){for(;l<d.length;)if(d[l++].id===i)return!0}},h.removeElementById=function(i,r){r=r||document,r.getElementById(i)&&r.getElementById(i).remove()};var f,n=[];h.useStrictCSP=function(i){f=i,i==!1?c():n||(n=[])};function c(){var i=n;n=null,i&&i.forEach(function(r){o(r[0],r[1])})}function o(i,r,l){if(!(typeof document>"u")){if(n){if(l)c();else if(l===!1)return n.push([i,r])}if(!f){var d=l;!l||!l.getRootNode?d=document:(d=l.getRootNode(),(!d||d==l)&&(d=document));var p=d.ownerDocument||d;if(r&&h.hasCssString(r,d))return null;r&&(i+=`
|
|
37
|
+
`)}return Z}function me(J,Z){var ne={},re=J.style||{};return re.fontStyle&&P(J).fontStyle==="italic"&&(ne.italic=!0),re.fontWeight&&(P(J).fontWeight.startsWith("bold")||parseInt(P(J).fontWeight)>=700)&&(ne.bold=!0),Object.keys(ne).length>0&&(Z=D(Z,ne)),parseFloat(re.textIndent||0)>0&&(Z=new s.default().insert(" ").concat(Z)),Z}function be(J,Z){var ne=J.data;if(J.parentNode.tagName==="O:P")return Z.insert(ne.trim());if(ne.trim().length===0&&J.parentNode.classList.contains("ql-clipboard"))return Z;if(!P(J.parentNode).whiteSpace.startsWith("pre")){var re=function(fe,he){return he=he.replace(/[^\u00a0]/g,""),he.length<1&&fe?" ":he};ne=ne.replace(/\r\n/g," ").replace(/\n/g," "),ne=ne.replace(/\s\s+/g,re.bind(re,!0)),(J.previousSibling==null&&V(J.parentNode)||J.previousSibling!=null&&V(J.previousSibling))&&(ne=ne.replace(/^\s+/,re.bind(re,!1))),(J.nextSibling==null&&V(J.parentNode)||J.nextSibling!=null&&V(J.nextSibling))&&(ne=ne.replace(/\s+$/,re.bind(re,!1)))}return Z.insert(ne)}h.default=B,h.matchAttributor=z,h.matchBlot=U,h.matchNewline=oe,h.matchSpacing=se,h.matchText=be}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function l(d,p){for(var v=0;v<p.length;v++){var b=p[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}return function(d,p,v){return p&&l(d.prototype,p),v&&l(d,v),d}})(),a=function l(d,p,v){d===null&&(d=Function.prototype);var b=Object.getOwnPropertyDescriptor(d,p);if(b===void 0){var w=Object.getPrototypeOf(d);return w===null?void 0:l(w,p,v)}else{if("value"in b)return b.value;var y=b.get;return y===void 0?void 0:y.call(v)}},f=g(6),n=c(f);function c(l){return l&&l.__esModule?l:{default:l}}function o(l,d){if(!(l instanceof d))throw new TypeError("Cannot call a class as a function")}function s(l,d){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:l}function i(l,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);l.prototype=Object.create(d&&d.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(l,d):l.__proto__=d)}var r=(function(l){i(d,l);function d(){return o(this,d),s(this,(d.__proto__||Object.getPrototypeOf(d)).apply(this,arguments))}return m(d,[{key:"optimize",value:function(v){a(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"optimize",this).call(this,v),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return a(d.__proto__||Object.getPrototypeOf(d),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),d})(n.default);r.blotName="bold",r.tagName=["STRONG","B"],h.default=r}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0}),h.addControls=h.default=void 0;var m=(function(){function A(M,E){var C=[],x=!0,L=!1,q=void 0;try{for(var I=M[Symbol.iterator](),F;!(x=(F=I.next()).done)&&(C.push(F.value),!(E&&C.length===E));x=!0);}catch(R){L=!0,q=R}finally{try{!x&&I.return&&I.return()}finally{if(L)throw q}}return C}return function(M,E){if(Array.isArray(M))return M;if(Symbol.iterator in Object(M))return A(M,E);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),a=(function(){function A(M,E){for(var C=0;C<E.length;C++){var x=E[C];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(M,x.key,x)}}return function(M,E,C){return E&&A(M.prototype,E),C&&A(M,C),M}})(),f=g(2),n=v(f),c=g(0),o=v(c),s=g(5),i=v(s),r=g(10),l=v(r),d=g(9),p=v(d);function v(A){return A&&A.__esModule?A:{default:A}}function b(A,M,E){return M in A?Object.defineProperty(A,M,{value:E,enumerable:!0,configurable:!0,writable:!0}):A[M]=E,A}function w(A,M){if(!(A instanceof M))throw new TypeError("Cannot call a class as a function")}function y(A,M){if(!A)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M&&(typeof M=="object"||typeof M=="function")?M:A}function _(A,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof M);A.prototype=Object.create(M&&M.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(A,M):A.__proto__=M)}var $=(0,l.default)("quill:toolbar"),S=(function(A){_(M,A);function M(E,C){w(this,M);var x=y(this,(M.__proto__||Object.getPrototypeOf(M)).call(this,E,C));if(Array.isArray(x.options.container)){var L=document.createElement("div");k(L,x.options.container),E.container.parentNode.insertBefore(L,E.container),x.container=L}else typeof x.options.container=="string"?x.container=document.querySelector(x.options.container):x.container=x.options.container;if(!(x.container instanceof HTMLElement)){var q;return q=$.error("Container required for toolbar",x.options),y(x,q)}return x.container.classList.add("ql-toolbar"),x.controls=[],x.handlers={},Object.keys(x.options.handlers).forEach(function(I){x.addHandler(I,x.options.handlers[I])}),[].forEach.call(x.container.querySelectorAll("button, select"),function(I){x.attach(I)}),x.quill.on(i.default.events.EDITOR_CHANGE,function(I,F){I===i.default.events.SELECTION_CHANGE&&x.update(F)}),x.quill.on(i.default.events.SCROLL_OPTIMIZE,function(){var I=x.quill.selection.getRange(),F=m(I,1),R=F[0];x.update(R)}),x}return a(M,[{key:"addHandler",value:function(C,x){this.handlers[C]=x}},{key:"attach",value:function(C){var x=this,L=[].find.call(C.classList,function(I){return I.indexOf("ql-")===0});if(L){if(L=L.slice(3),C.tagName==="BUTTON"&&C.setAttribute("type","button"),this.handlers[L]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[L]==null){$.warn("ignoring attaching to disabled format",L,C);return}if(o.default.query(L)==null){$.warn("ignoring attaching to nonexistent format",L,C);return}}var q=C.tagName==="SELECT"?"change":"click";C.addEventListener(q,function(I){var F=void 0;if(C.tagName==="SELECT"){if(C.selectedIndex<0)return;var R=C.options[C.selectedIndex];R.hasAttribute("selected")?F=!1:F=R.value||!1}else C.classList.contains("ql-active")?F=!1:F=C.value||!C.hasAttribute("value"),I.preventDefault();x.quill.focus();var N=x.quill.selection.getRange(),B=m(N,1),D=B[0];if(x.handlers[L]!=null)x.handlers[L].call(x,F);else if(o.default.query(L).prototype instanceof o.default.Embed){if(F=prompt("Enter "+L),!F)return;x.quill.updateContents(new n.default().retain(D.index).delete(D.length).insert(b({},L,F)),i.default.sources.USER)}else x.quill.format(L,F,i.default.sources.USER);x.update(D)}),this.controls.push([L,C])}}},{key:"update",value:function(C){var x=C==null?{}:this.quill.getFormat(C);this.controls.forEach(function(L){var q=m(L,2),I=q[0],F=q[1];if(F.tagName==="SELECT"){var R=void 0;if(C==null)R=null;else if(x[I]==null)R=F.querySelector("option[selected]");else if(!Array.isArray(x[I])){var N=x[I];typeof N=="string"&&(N=N.replace(/\"/g,'\\"')),R=F.querySelector('option[value="'+N+'"]')}R==null?(F.value="",F.selectedIndex=-1):R.selected=!0}else if(C==null)F.classList.remove("ql-active");else if(F.hasAttribute("value")){var B=x[I]===F.getAttribute("value")||x[I]!=null&&x[I].toString()===F.getAttribute("value")||x[I]==null&&!F.getAttribute("value");F.classList.toggle("ql-active",B)}else F.classList.toggle("ql-active",x[I]!=null)})}}]),M})(p.default);S.DEFAULTS={};function O(A,M,E){var C=document.createElement("button");C.setAttribute("type","button"),C.classList.add("ql-"+M),E!=null&&(C.value=E),A.appendChild(C)}function k(A,M){Array.isArray(M[0])||(M=[M]),M.forEach(function(E){var C=document.createElement("span");C.classList.add("ql-formats"),E.forEach(function(x){if(typeof x=="string")O(C,x);else{var L=Object.keys(x)[0],q=x[L];Array.isArray(q)?T(C,L,q):O(C,L,q)}}),A.appendChild(C)})}function T(A,M,E){var C=document.createElement("select");C.classList.add("ql-"+M),E.forEach(function(x){var L=document.createElement("option");x!==!1?L.setAttribute("value",x):L.setAttribute("selected","selected"),C.appendChild(L)}),A.appendChild(C)}S.DEFAULTS={container:null,handlers:{clean:function(){var M=this,E=this.quill.getSelection();if(E!=null)if(E.length==0){var C=this.quill.getFormat();Object.keys(C).forEach(function(x){o.default.query(x,o.default.Scope.INLINE)!=null&&M.quill.format(x,!1)})}else this.quill.removeFormat(E,i.default.sources.USER)},direction:function(M){var E=this.quill.getFormat().align;M==="rtl"&&E==null?this.quill.format("align","right",i.default.sources.USER):!M&&E==="right"&&this.quill.format("align",!1,i.default.sources.USER),this.quill.format("direction",M,i.default.sources.USER)},indent:function(M){var E=this.quill.getSelection(),C=this.quill.getFormat(E),x=parseInt(C.indent||0);if(M==="+1"||M==="-1"){var L=M==="+1"?1:-1;C.direction==="rtl"&&(L*=-1),this.quill.format("indent",x+L,i.default.sources.USER)}},link:function(M){M===!0&&(M=prompt("Enter link URL:")),this.quill.format("link",M,i.default.sources.USER)},list:function(M){var E=this.quill.getSelection(),C=this.quill.getFormat(E);M==="check"?C.list==="checked"||C.list==="unchecked"?this.quill.format("list",!1,i.default.sources.USER):this.quill.format("list","unchecked",i.default.sources.USER):this.quill.format("list",M,i.default.sources.USER)}}},h.default=S,h.addControls=k}),(function(e,h){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,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function l(d,p){for(var v=0;v<p.length;v++){var b=p[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}return function(d,p,v){return p&&l(d.prototype,p),v&&l(d,v),d}})(),a=function l(d,p,v){d===null&&(d=Function.prototype);var b=Object.getOwnPropertyDescriptor(d,p);if(b===void 0){var w=Object.getPrototypeOf(d);return w===null?void 0:l(w,p,v)}else{if("value"in b)return b.value;var y=b.get;return y===void 0?void 0:y.call(v)}},f=g(28),n=c(f);function c(l){return l&&l.__esModule?l:{default:l}}function o(l,d){if(!(l instanceof d))throw new TypeError("Cannot call a class as a function")}function s(l,d){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:l}function i(l,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);l.prototype=Object.create(d&&d.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(l,d):l.__proto__=d)}var r=(function(l){i(d,l);function d(p,v){o(this,d);var b=s(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p));return b.label.innerHTML=v,b.container.classList.add("ql-color-picker"),[].slice.call(b.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(w){w.classList.add("ql-primary")}),b}return m(d,[{key:"buildItem",value:function(v){var b=a(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"buildItem",this).call(this,v);return b.style.backgroundColor=v.getAttribute("value")||"",b}},{key:"selectItem",value:function(v,b){a(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"selectItem",this).call(this,v,b);var w=this.label.querySelector(".ql-color-label"),y=v&&v.getAttribute("data-value")||"";w&&(w.tagName==="line"?w.style.stroke=y:w.style.fill=y)}}]),d})(n.default);h.default=r}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function l(d,p){for(var v=0;v<p.length;v++){var b=p[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}return function(d,p,v){return p&&l(d.prototype,p),v&&l(d,v),d}})(),a=function l(d,p,v){d===null&&(d=Function.prototype);var b=Object.getOwnPropertyDescriptor(d,p);if(b===void 0){var w=Object.getPrototypeOf(d);return w===null?void 0:l(w,p,v)}else{if("value"in b)return b.value;var y=b.get;return y===void 0?void 0:y.call(v)}},f=g(28),n=c(f);function c(l){return l&&l.__esModule?l:{default:l}}function o(l,d){if(!(l instanceof d))throw new TypeError("Cannot call a class as a function")}function s(l,d){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:l}function i(l,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);l.prototype=Object.create(d&&d.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(l,d):l.__proto__=d)}var r=(function(l){i(d,l);function d(p,v){o(this,d);var b=s(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p));return b.container.classList.add("ql-icon-picker"),[].forEach.call(b.container.querySelectorAll(".ql-picker-item"),function(w){w.innerHTML=v[w.getAttribute("data-value")||""]}),b.defaultItem=b.container.querySelector(".ql-selected"),b.selectItem(b.defaultItem),b}return m(d,[{key:"selectItem",value:function(v,b){a(d.prototype.__proto__||Object.getPrototypeOf(d.prototype),"selectItem",this).call(this,v,b),v=v||this.defaultItem,this.label.innerHTML=v.innerHTML}}]),d})(n.default);h.default=r}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function n(c,o){for(var s=0;s<o.length;s++){var i=o[s];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(c,i.key,i)}}return function(c,o,s){return o&&n(c.prototype,o),s&&n(c,s),c}})();function a(n,c){if(!(n instanceof c))throw new TypeError("Cannot call a class as a function")}var f=(function(){function n(c,o){var s=this;a(this,n),this.quill=c,this.boundsContainer=o||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(){s.root.style.marginTop=-1*s.quill.root.scrollTop+"px"}),this.hide()}return m(n,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(o){var s=o.left+o.width/2-this.root.offsetWidth/2,i=o.bottom+this.quill.root.scrollTop;this.root.style.left=s+"px",this.root.style.top=i+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),l=this.root.getBoundingClientRect(),d=0;if(l.right>r.right&&(d=r.right-l.right,this.root.style.left=s+d+"px"),l.left<r.left&&(d=r.left-l.left,this.root.style.left=s+d+"px"),l.bottom>r.bottom){var p=l.bottom-l.top,v=o.bottom-o.top+p;this.root.style.top=i-v+"px",this.root.classList.add("ql-flip")}return d}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),n})();h.default=f}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function T(A,M){var E=[],C=!0,x=!1,L=void 0;try{for(var q=A[Symbol.iterator](),I;!(C=(I=q.next()).done)&&(E.push(I.value),!(M&&E.length===M));C=!0);}catch(F){x=!0,L=F}finally{try{!C&&q.return&&q.return()}finally{if(x)throw L}}return E}return function(A,M){if(Array.isArray(A))return A;if(Symbol.iterator in Object(A))return T(A,M);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),a=function T(A,M,E){A===null&&(A=Function.prototype);var C=Object.getOwnPropertyDescriptor(A,M);if(C===void 0){var x=Object.getPrototypeOf(A);return x===null?void 0:T(x,M,E)}else{if("value"in C)return C.value;var L=C.get;return L===void 0?void 0:L.call(E)}},f=(function(){function T(A,M){for(var E=0;E<M.length;E++){var C=M[E];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(A,C.key,C)}}return function(A,M,E){return M&&T(A.prototype,M),E&&T(A,E),A}})(),n=g(3),c=w(n),o=g(8),s=w(o),i=g(43),r=w(i),l=g(27),d=w(l),p=g(15),v=g(41),b=w(v);function w(T){return T&&T.__esModule?T:{default:T}}function y(T,A){if(!(T instanceof A))throw new TypeError("Cannot call a class as a function")}function _(T,A){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:T}function $(T,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);T.prototype=Object.create(A&&A.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(T,A):T.__proto__=A)}var S=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],O=(function(T){$(A,T);function A(M,E){y(this,A),E.modules.toolbar!=null&&E.modules.toolbar.container==null&&(E.modules.toolbar.container=S);var C=_(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,M,E));return C.quill.container.classList.add("ql-snow"),C}return f(A,[{key:"extendToolbar",value:function(E){E.container.classList.add("ql-snow"),this.buildButtons([].slice.call(E.container.querySelectorAll("button")),b.default),this.buildPickers([].slice.call(E.container.querySelectorAll("select")),b.default),this.tooltip=new k(this.quill,this.options.bounds),E.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(C,x){E.handlers.link.call(E,!x.format.link)})}}]),A})(r.default);O.DEFAULTS=(0,c.default)(!0,{},r.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(A){if(A){var M=this.quill.getSelection();if(M==null||M.length==0)return;var E=this.quill.getText(M);/^\S+@\S+\.\S+$/.test(E)&&E.indexOf("mailto:")!==0&&(E="mailto:"+E);var C=this.quill.theme.tooltip;C.edit("link",E)}else this.quill.format("link",!1)}}}}});var k=(function(T){$(A,T);function A(M,E){y(this,A);var C=_(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,M,E));return C.preview=C.root.querySelector("a.ql-preview"),C}return f(A,[{key:"listen",value:function(){var E=this;a(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(C){E.root.classList.contains("ql-editing")?E.save():E.edit("link",E.preview.textContent),C.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(C){if(E.linkRange!=null){var x=E.linkRange;E.restoreFocus(),E.quill.formatText(x,"link",!1,s.default.sources.USER),delete E.linkRange}C.preventDefault(),E.hide()}),this.quill.on(s.default.events.SELECTION_CHANGE,function(C,x,L){if(C!=null){if(C.length===0&&L===s.default.sources.USER){var q=E.quill.scroll.descendant(d.default,C.index),I=m(q,2),F=I[0],R=I[1];if(F!=null){E.linkRange=new p.Range(C.index-R,F.length());var N=d.default.formats(F.domNode);E.preview.textContent=N,E.preview.setAttribute("href",N),E.show(),E.position(E.quill.getBounds(E.linkRange));return}}else delete E.linkRange;E.hide()}})}},{key:"show",value:function(){a(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),A})(i.BaseTooltip);k.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(""),h.default=O}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=g(29),a=Q(m),f=g(36),n=g(38),c=g(64),o=g(65),s=Q(o),i=g(66),r=Q(i),l=g(67),d=Q(l),p=g(37),v=g(26),b=g(39),w=g(40),y=g(56),_=Q(y),$=g(68),S=Q($),O=g(27),k=Q(O),T=g(69),A=Q(T),M=g(70),E=Q(M),C=g(71),x=Q(C),L=g(72),q=Q(L),I=g(73),F=Q(I),R=g(13),N=Q(R),B=g(74),D=Q(B),P=g(75),j=Q(P),V=g(57),W=Q(V),H=g(41),z=Q(H),U=g(28),X=Q(U),te=g(59),ie=Q(te),oe=g(60),se=Q(oe),me=g(61),be=Q(me),J=g(108),Z=Q(J),ne=g(62),re=Q(ne);function Q(fe){return fe&&fe.__esModule?fe:{default:fe}}a.default.register({"attributors/attribute/direction":n.DirectionAttribute,"attributors/class/align":f.AlignClass,"attributors/class/background":p.BackgroundClass,"attributors/class/color":v.ColorClass,"attributors/class/direction":n.DirectionClass,"attributors/class/font":b.FontClass,"attributors/class/size":w.SizeClass,"attributors/style/align":f.AlignStyle,"attributors/style/background":p.BackgroundStyle,"attributors/style/color":v.ColorStyle,"attributors/style/direction":n.DirectionStyle,"attributors/style/font":b.FontStyle,"attributors/style/size":w.SizeStyle},!0),a.default.register({"formats/align":f.AlignClass,"formats/direction":n.DirectionClass,"formats/indent":c.IndentClass,"formats/background":p.BackgroundStyle,"formats/color":v.ColorStyle,"formats/font":b.FontClass,"formats/size":w.SizeClass,"formats/blockquote":s.default,"formats/code-block":N.default,"formats/header":r.default,"formats/list":d.default,"formats/bold":_.default,"formats/code":R.Code,"formats/italic":S.default,"formats/link":k.default,"formats/script":A.default,"formats/strike":E.default,"formats/underline":x.default,"formats/image":q.default,"formats/video":F.default,"formats/list/item":l.ListItem,"modules/formula":D.default,"modules/syntax":j.default,"modules/toolbar":W.default,"themes/bubble":Z.default,"themes/snow":re.default,"ui/icons":z.default,"ui/picker":X.default,"ui/icon-picker":se.default,"ui/color-picker":ie.default,"ui/tooltip":be.default},!0),h.default=a.default}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0}),h.IndentClass=void 0;var m=(function(){function d(p,v){for(var b=0;b<v.length;b++){var w=v[b];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(p,w.key,w)}}return function(p,v,b){return v&&d(p.prototype,v),b&&d(p,b),p}})(),a=function d(p,v,b){p===null&&(p=Function.prototype);var w=Object.getOwnPropertyDescriptor(p,v);if(w===void 0){var y=Object.getPrototypeOf(p);return y===null?void 0:d(y,v,b)}else{if("value"in w)return w.value;var _=w.get;return _===void 0?void 0:_.call(b)}},f=g(0),n=c(f);function c(d){return d&&d.__esModule?d:{default:d}}function o(d,p){if(!(d instanceof p))throw new TypeError("Cannot call a class as a function")}function s(d,p){if(!d)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return p&&(typeof p=="object"||typeof p=="function")?p:d}function i(d,p){if(typeof p!="function"&&p!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof p);d.prototype=Object.create(p&&p.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}),p&&(Object.setPrototypeOf?Object.setPrototypeOf(d,p):d.__proto__=p)}var r=(function(d){i(p,d);function p(){return o(this,p),s(this,(p.__proto__||Object.getPrototypeOf(p)).apply(this,arguments))}return m(p,[{key:"add",value:function(b,w){if(w==="+1"||w==="-1"){var y=this.value(b)||0;w=w==="+1"?y+1:y-1}return w===0?(this.remove(b),!0):a(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"add",this).call(this,b,w)}},{key:"canAdd",value:function(b,w){return a(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"canAdd",this).call(this,b,w)||a(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"canAdd",this).call(this,b,parseInt(w))}},{key:"value",value:function(b){return parseInt(a(p.prototype.__proto__||Object.getPrototypeOf(p.prototype),"value",this).call(this,b))||void 0}}]),p})(n.default.Attributor.Class),l=new r("indent","ql-indent",{scope:n.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});h.IndentClass=l}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=g(4),a=f(m);function f(i){return i&&i.__esModule?i:{default:i}}function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function c(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function o(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var s=(function(i){o(r,i);function r(){return n(this,r),c(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r})(a.default);s.blotName="blockquote",s.tagName="blockquote",h.default=s}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function r(l,d){for(var p=0;p<d.length;p++){var v=d[p];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(l,v.key,v)}}return function(l,d,p){return d&&r(l.prototype,d),p&&r(l,p),l}})(),a=g(4),f=n(a);function n(r){return r&&r.__esModule?r:{default:r}}function c(r,l){if(!(r instanceof l))throw new TypeError("Cannot call a class as a function")}function o(r,l){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l&&(typeof l=="object"||typeof l=="function")?l:r}function s(r,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);r.prototype=Object.create(l&&l.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(r,l):r.__proto__=l)}var i=(function(r){s(l,r);function l(){return c(this,l),o(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return m(l,null,[{key:"formats",value:function(p){return this.tagName.indexOf(p.tagName)+1}}]),l})(f.default);i.blotName="header",i.tagName=["H1","H2","H3","H4","H5","H6"],h.default=i}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0}),h.default=h.ListItem=void 0;var m=(function(){function y(_,$){for(var S=0;S<$.length;S++){var O=$[S];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(_,O.key,O)}}return function(_,$,S){return $&&y(_.prototype,$),S&&y(_,S),_}})(),a=function y(_,$,S){_===null&&(_=Function.prototype);var O=Object.getOwnPropertyDescriptor(_,$);if(O===void 0){var k=Object.getPrototypeOf(_);return k===null?void 0:y(k,$,S)}else{if("value"in O)return O.value;var T=O.get;return T===void 0?void 0:T.call(S)}},f=g(0),n=r(f),c=g(4),o=r(c),s=g(25),i=r(s);function r(y){return y&&y.__esModule?y:{default:y}}function l(y,_,$){return _ in y?Object.defineProperty(y,_,{value:$,enumerable:!0,configurable:!0,writable:!0}):y[_]=$,y}function d(y,_){if(!(y instanceof _))throw new TypeError("Cannot call a class as a function")}function p(y,_){if(!y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _&&(typeof _=="object"||typeof _=="function")?_:y}function v(y,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);y.prototype=Object.create(_&&_.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(y,_):y.__proto__=_)}var b=(function(y){v(_,y);function _(){return d(this,_),p(this,(_.__proto__||Object.getPrototypeOf(_)).apply(this,arguments))}return m(_,[{key:"format",value:function(S,O){S===w.blotName&&!O?this.replaceWith(n.default.create(this.statics.scope)):a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"format",this).call(this,S,O)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(S,O){return this.parent.isolate(this.offset(this.parent),this.length()),S===this.parent.statics.blotName?(this.parent.replaceWith(S,O),this):(this.parent.unwrap(),a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"replaceWith",this).call(this,S,O))}}],[{key:"formats",value:function(S){return S.tagName===this.tagName?void 0:a(_.__proto__||Object.getPrototypeOf(_),"formats",this).call(this,S)}}]),_})(o.default);b.blotName="list-item",b.tagName="LI";var w=(function(y){v(_,y),m(_,null,[{key:"create",value:function(S){var O=S==="ordered"?"OL":"UL",k=a(_.__proto__||Object.getPrototypeOf(_),"create",this).call(this,O);return(S==="checked"||S==="unchecked")&&k.setAttribute("data-checked",S==="checked"),k}},{key:"formats",value:function(S){if(S.tagName==="OL")return"ordered";if(S.tagName==="UL")return S.hasAttribute("data-checked")?S.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function _($){d(this,_);var S=p(this,(_.__proto__||Object.getPrototypeOf(_)).call(this,$)),O=function(T){if(T.target.parentNode===$){var A=S.statics.formats($),M=n.default.find(T.target);A==="checked"?M.format("list","unchecked"):A==="unchecked"&&M.format("list","checked")}};return $.addEventListener("touchstart",O),$.addEventListener("mousedown",O),S}return m(_,[{key:"format",value:function(S,O){this.children.length>0&&this.children.tail.format(S,O)}},{key:"formats",value:function(){return l({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(S,O){if(S instanceof b)a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"insertBefore",this).call(this,S,O);else{var k=O==null?this.length():O.offset(this),T=this.split(k);T.parent.insertBefore(S,T)}}},{key:"optimize",value:function(S){a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"optimize",this).call(this,S);var O=this.next;O!=null&&O.prev===this&&O.statics.blotName===this.statics.blotName&&O.domNode.tagName===this.domNode.tagName&&O.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(O.moveChildren(this),O.remove())}},{key:"replace",value:function(S){if(S.statics.blotName!==this.statics.blotName){var O=n.default.create(this.statics.defaultChild);S.moveChildren(O),this.appendChild(O)}a(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"replace",this).call(this,S)}}]),_})(i.default);w.blotName="list",w.scope=n.default.Scope.BLOCK_BLOT,w.tagName=["OL","UL"],w.defaultChild="list-item",w.allowedChildren=[b],h.ListItem=b,h.default=w}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=g(56),a=f(m);function f(i){return i&&i.__esModule?i:{default:i}}function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function c(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function o(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var s=(function(i){o(r,i);function r(){return n(this,r),c(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r})(a.default);s.blotName="italic",s.tagName=["EM","I"],h.default=s}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function l(d,p){for(var v=0;v<p.length;v++){var b=p[v];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}return function(d,p,v){return p&&l(d.prototype,p),v&&l(d,v),d}})(),a=function l(d,p,v){d===null&&(d=Function.prototype);var b=Object.getOwnPropertyDescriptor(d,p);if(b===void 0){var w=Object.getPrototypeOf(d);return w===null?void 0:l(w,p,v)}else{if("value"in b)return b.value;var y=b.get;return y===void 0?void 0:y.call(v)}},f=g(6),n=c(f);function c(l){return l&&l.__esModule?l:{default:l}}function o(l,d){if(!(l instanceof d))throw new TypeError("Cannot call a class as a function")}function s(l,d){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:l}function i(l,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);l.prototype=Object.create(d&&d.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(l,d):l.__proto__=d)}var r=(function(l){i(d,l);function d(){return o(this,d),s(this,(d.__proto__||Object.getPrototypeOf(d)).apply(this,arguments))}return m(d,null,[{key:"create",value:function(v){return v==="super"?document.createElement("sup"):v==="sub"?document.createElement("sub"):a(d.__proto__||Object.getPrototypeOf(d),"create",this).call(this,v)}},{key:"formats",value:function(v){if(v.tagName==="SUB")return"sub";if(v.tagName==="SUP")return"super"}}]),d})(n.default);r.blotName="script",r.tagName=["SUB","SUP"],h.default=r}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=g(6),a=f(m);function f(i){return i&&i.__esModule?i:{default:i}}function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function c(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function o(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var s=(function(i){o(r,i);function r(){return n(this,r),c(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r})(a.default);s.blotName="strike",s.tagName="S",h.default=s}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=g(6),a=f(m);function f(i){return i&&i.__esModule?i:{default:i}}function n(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}function c(i,r){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:i}function o(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(i,r):i.__proto__=r)}var s=(function(i){o(r,i);function r(){return n(this,r),c(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r})(a.default);s.blotName="underline",s.tagName="U",h.default=s}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function p(v,b){for(var w=0;w<b.length;w++){var y=b[w];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(v,y.key,y)}}return function(v,b,w){return b&&p(v.prototype,b),w&&p(v,w),v}})(),a=function p(v,b,w){v===null&&(v=Function.prototype);var y=Object.getOwnPropertyDescriptor(v,b);if(y===void 0){var _=Object.getPrototypeOf(v);return _===null?void 0:p(_,b,w)}else{if("value"in y)return y.value;var $=y.get;return $===void 0?void 0:$.call(w)}},f=g(0),n=o(f),c=g(27);function o(p){return p&&p.__esModule?p:{default:p}}function s(p,v){if(!(p instanceof v))throw new TypeError("Cannot call a class as a function")}function i(p,v){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:p}function r(p,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);p.prototype=Object.create(v&&v.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(p,v):p.__proto__=v)}var l=["alt","height","width"],d=(function(p){r(v,p);function v(){return s(this,v),i(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return m(v,[{key:"format",value:function(w,y){l.indexOf(w)>-1?y?this.domNode.setAttribute(w,y):this.domNode.removeAttribute(w):a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"format",this).call(this,w,y)}}],[{key:"create",value:function(w){var y=a(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,w);return typeof w=="string"&&y.setAttribute("src",this.sanitize(w)),y}},{key:"formats",value:function(w){return l.reduce(function(y,_){return w.hasAttribute(_)&&(y[_]=w.getAttribute(_)),y},{})}},{key:"match",value:function(w){return/\.(jpe?g|gif|png)$/.test(w)||/^data:image\/.+;base64/.test(w)}},{key:"sanitize",value:function(w){return(0,c.sanitize)(w,["http","https","data"])?w:"//:0"}},{key:"value",value:function(w){return w.getAttribute("src")}}]),v})(n.default.Embed);d.blotName="image",d.tagName="IMG",h.default=d}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0});var m=(function(){function p(v,b){for(var w=0;w<b.length;w++){var y=b[w];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(v,y.key,y)}}return function(v,b,w){return b&&p(v.prototype,b),w&&p(v,w),v}})(),a=function p(v,b,w){v===null&&(v=Function.prototype);var y=Object.getOwnPropertyDescriptor(v,b);if(y===void 0){var _=Object.getPrototypeOf(v);return _===null?void 0:p(_,b,w)}else{if("value"in y)return y.value;var $=y.get;return $===void 0?void 0:$.call(w)}},f=g(4),n=g(27),c=o(n);function o(p){return p&&p.__esModule?p:{default:p}}function s(p,v){if(!(p instanceof v))throw new TypeError("Cannot call a class as a function")}function i(p,v){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v&&(typeof v=="object"||typeof v=="function")?v:p}function r(p,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof v);p.prototype=Object.create(v&&v.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),v&&(Object.setPrototypeOf?Object.setPrototypeOf(p,v):p.__proto__=v)}var l=["height","width"],d=(function(p){r(v,p);function v(){return s(this,v),i(this,(v.__proto__||Object.getPrototypeOf(v)).apply(this,arguments))}return m(v,[{key:"format",value:function(w,y){l.indexOf(w)>-1?y?this.domNode.setAttribute(w,y):this.domNode.removeAttribute(w):a(v.prototype.__proto__||Object.getPrototypeOf(v.prototype),"format",this).call(this,w,y)}}],[{key:"create",value:function(w){var y=a(v.__proto__||Object.getPrototypeOf(v),"create",this).call(this,w);return y.setAttribute("frameborder","0"),y.setAttribute("allowfullscreen",!0),y.setAttribute("src",this.sanitize(w)),y}},{key:"formats",value:function(w){return l.reduce(function(y,_){return w.hasAttribute(_)&&(y[_]=w.getAttribute(_)),y},{})}},{key:"sanitize",value:function(w){return c.default.sanitize(w)}},{key:"value",value:function(w){return w.getAttribute("src")}}]),v})(f.BlockEmbed);d.blotName="video",d.className="ql-video",d.tagName="IFRAME",h.default=d}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0}),h.default=h.FormulaBlot=void 0;var m=(function(){function w(y,_){for(var $=0;$<_.length;$++){var S=_[$];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}return function(y,_,$){return _&&w(y.prototype,_),$&&w(y,$),y}})(),a=function w(y,_,$){y===null&&(y=Function.prototype);var S=Object.getOwnPropertyDescriptor(y,_);if(S===void 0){var O=Object.getPrototypeOf(y);return O===null?void 0:w(O,_,$)}else{if("value"in S)return S.value;var k=S.get;return k===void 0?void 0:k.call($)}},f=g(35),n=r(f),c=g(5),o=r(c),s=g(9),i=r(s);function r(w){return w&&w.__esModule?w:{default:w}}function l(w,y){if(!(w instanceof y))throw new TypeError("Cannot call a class as a function")}function d(w,y){if(!w)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y&&(typeof y=="object"||typeof y=="function")?y:w}function p(w,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof y);w.prototype=Object.create(y&&y.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}}),y&&(Object.setPrototypeOf?Object.setPrototypeOf(w,y):w.__proto__=y)}var v=(function(w){p(y,w);function y(){return l(this,y),d(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments))}return m(y,null,[{key:"create",value:function($){var S=a(y.__proto__||Object.getPrototypeOf(y),"create",this).call(this,$);return typeof $=="string"&&(window.katex.render($,S,{throwOnError:!1,errorColor:"#f00"}),S.setAttribute("data-value",$)),S}},{key:"value",value:function($){return $.getAttribute("data-value")}}]),y})(n.default);v.blotName="formula",v.className="ql-formula",v.tagName="SPAN";var b=(function(w){p(y,w),m(y,null,[{key:"register",value:function(){o.default.register(v,!0)}}]);function y(){l(this,y);var _=d(this,(y.__proto__||Object.getPrototypeOf(y)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return _}return y})(i.default);h.FormulaBlot=v,h.default=b}),(function(e,h,g){Object.defineProperty(h,"__esModule",{value:!0}),h.default=h.CodeToken=h.CodeBlock=void 0;var m=(function(){function $(S,O){for(var k=0;k<O.length;k++){var T=O[k];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(S,T.key,T)}}return function(S,O,k){return O&&$(S.prototype,O),k&&$(S,k),S}})(),a=function $(S,O,k){S===null&&(S=Function.prototype);var T=Object.getOwnPropertyDescriptor(S,O);if(T===void 0){var A=Object.getPrototypeOf(S);return A===null?void 0:$(A,O,k)}else{if("value"in T)return T.value;var M=T.get;return M===void 0?void 0:M.call(k)}},f=g(0),n=d(f),c=g(5),o=d(c),s=g(9),i=d(s),r=g(13),l=d(r);function d($){return $&&$.__esModule?$:{default:$}}function p($,S){if(!($ instanceof S))throw new TypeError("Cannot call a class as a function")}function v($,S){if(!$)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&(typeof S=="object"||typeof S=="function")?S:$}function b($,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof S);$.prototype=Object.create(S&&S.prototype,{constructor:{value:$,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf($,S):$.__proto__=S)}var w=(function($){b(S,$);function S(){return p(this,S),v(this,(S.__proto__||Object.getPrototypeOf(S)).apply(this,arguments))}return m(S,[{key:"replaceWith",value:function(k){this.domNode.textContent=this.domNode.textContent,this.attach(),a(S.prototype.__proto__||Object.getPrototypeOf(S.prototype),"replaceWith",this).call(this,k)}},{key:"highlight",value:function(k){var T=this.domNode.textContent;this.cachedText!==T&&((T.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=k(T),this.domNode.normalize(),this.attach()),this.cachedText=T)}}]),S})(l.default);w.className="ql-syntax";var y=new n.default.Attributor.Class("token","hljs",{scope:n.default.Scope.INLINE}),_=(function($){b(S,$),m(S,null,[{key:"register",value:function(){o.default.register(y,!0),o.default.register(w,!0)}}]);function S(O,k){p(this,S);var T=v(this,(S.__proto__||Object.getPrototypeOf(S)).call(this,O,k));if(typeof T.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var A=null;return T.quill.on(o.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(A),A=setTimeout(function(){T.highlight(),A=null},T.options.interval)}),T.highlight(),T}return m(S,[{key:"highlight",value:function(){var k=this;if(!this.quill.selection.composing){this.quill.update(o.default.sources.USER);var T=this.quill.getSelection();this.quill.scroll.descendants(w).forEach(function(A){A.highlight(k.options.highlight)}),this.quill.update(o.default.sources.SILENT),T!=null&&this.quill.setSelection(T,o.default.sources.SILENT)}}}]),S})(i.default);_.DEFAULTS={highlight:(function(){return window.hljs==null?null:function($){var S=window.hljs.highlightAuto($);return S.value}})(),interval:1e3},h.CodeBlock=w,h.CodeToken=y,h.default=_}),(function(e,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h){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,h,g){Object.defineProperty(h,"__esModule",{value:!0}),h.default=h.BubbleTooltip=void 0;var m=function S(O,k,T){O===null&&(O=Function.prototype);var A=Object.getOwnPropertyDescriptor(O,k);if(A===void 0){var M=Object.getPrototypeOf(O);return M===null?void 0:S(M,k,T)}else{if("value"in A)return A.value;var E=A.get;return E===void 0?void 0:E.call(T)}},a=(function(){function S(O,k){for(var T=0;T<k.length;T++){var A=k[T];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(O,A.key,A)}}return function(O,k,T){return k&&S(O.prototype,k),T&&S(O,T),O}})(),f=g(3),n=p(f),c=g(8),o=p(c),s=g(43),i=p(s),r=g(15),l=g(41),d=p(l);function p(S){return S&&S.__esModule?S:{default:S}}function v(S,O){if(!(S instanceof O))throw new TypeError("Cannot call a class as a function")}function b(S,O){if(!S)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:S}function w(S,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);S.prototype=Object.create(O&&O.prototype,{constructor:{value:S,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(S,O):S.__proto__=O)}var y=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],_=(function(S){w(O,S);function O(k,T){v(this,O),T.modules.toolbar!=null&&T.modules.toolbar.container==null&&(T.modules.toolbar.container=y);var A=b(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,k,T));return A.quill.container.classList.add("ql-bubble"),A}return a(O,[{key:"extendToolbar",value:function(T){this.tooltip=new $(this.quill,this.options.bounds),this.tooltip.root.appendChild(T.container),this.buildButtons([].slice.call(T.container.querySelectorAll("button")),d.default),this.buildPickers([].slice.call(T.container.querySelectorAll("select")),d.default)}}]),O})(i.default);_.DEFAULTS=(0,n.default)(!0,{},i.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(O){O?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var $=(function(S){w(O,S);function O(k,T){v(this,O);var A=b(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,k,T));return A.quill.on(o.default.events.EDITOR_CHANGE,function(M,E,C,x){if(M===o.default.events.SELECTION_CHANGE)if(E!=null&&E.length>0&&x===o.default.sources.USER){A.show(),A.root.style.left="0px",A.root.style.width="",A.root.style.width=A.root.offsetWidth+"px";var L=A.quill.getLines(E.index,E.length);if(L.length===1)A.position(A.quill.getBounds(E));else{var q=L[L.length-1],I=A.quill.getIndex(q),F=Math.min(q.length()-1,E.index+E.length-I),R=A.quill.getBounds(new r.Range(I,F));A.position(R)}}else document.activeElement!==A.textbox&&A.quill.hasFocus()&&A.hide()}),A}return a(O,[{key:"listen",value:function(){var T=this;m(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){T.root.classList.remove("ql-editing")}),this.quill.on(o.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!T.root.classList.contains("ql-hidden")){var A=T.quill.getSelection();A!=null&&T.position(T.quill.getBounds(A))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(T){var A=m(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"position",this).call(this,T),M=this.root.querySelector(".ql-tooltip-arrow");if(M.style.marginLeft="",A===0)return A;M.style.marginLeft=-1*A-M.offsetWidth/2+"px"}}]),O})(s.BaseTooltip);$.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(""),h.BubbleTooltip=$,h.default=_}),(function(e,h,g){e.exports=g(63)})]).default})})(quill);const Quill=getDefaultExportFromCjs(quill.exports),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$2T={name:"quill-editor",props:{content:String,value:String,disabled:{type:Boolean,default:!1},options:{type:Object,required:!1,default:()=>({})}},emits:["ready","change","input","blur","focus","update:value"],setup(t,u){const e={editorOption:{},quill:null};let h="";require$$0.watch(()=>t.value,f=>{e.quill&&(f&&f!==h?(h=f,e.quill.pasteHTML(f)):f||e.quill.setText(""))}),require$$0.watch(()=>t.content,f=>{e.quill&&(f&&f!==h?(h=f,e.quill.pasteHTML(f)):f||e.quill.setText(""))}),require$$0.watch(()=>t.disabled,f=>{e.quill&&e.quill.enable(!f)});const g=require$$0.ref(null),m=(f,n)=>{for(const c in n)!f[c]||c!=="modules"?f[c]=n[c]:m(f[c],n[c]);return f},a=()=>{g.value&&(e.editorOption=m(defaultOptions,t.options),e.editorOption.readOnly=!!t.disabled,e.quill=new Quill(g.value,e.editorOption),t.value&&e.quill.pasteHTML(t.value),e.quill.on("selection-change",f=>{f?u.emit("focus",e.quill):u.emit("blur",e.quill)}),e.quill.on("text-change",()=>{t.disabled&&e.quill.enable(!1);let f=g.value.children[0].innerHTML;const n=e.quill,c=e.quill.getText();f==="<p><br></p>"&&(f=""),h=f,u.emit("update:value",h),u.emit("change",{html:f,text:c,quill:n})}),u.emit("ready",e.quill))};return require$$0.onBeforeUnmount(()=>{const f=g.value.previousSibling;f&&f.nodeType===1&&f.className.indexOf("ql-toolbar")>-1&&f.parentNode.removeChild(f)}),require$$0.onMounted(()=>{a()}),require$$0.onUnmounted(()=>{e.quill=null}),{editor:g}}},_hoisted_1$w={ref:"editor"};function _sfc_render$2T(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("section",_hoisted_1$w,null,512)}const quillEditor=_export_sfc$1(_sfc_main$2T,[["render",_sfc_render$2T]]);quillEditor.install=function(t){t.component(quillEditor.name,quillEditor)};const _sfc_main$2S={name:"rich-editor-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$2S(t,u,e,h,g,m){const a=require$$0.resolveComponent("quill-editor"),f=require$$0.resolveComponent("form-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.createElementVNode("div",null,[require$$0.createVNode(a,{value:g.fieldModel,"onUpdate:value":u[0]||(u[0]=n=>g.fieldModel=n),options:m.editorOption,disabled:e.field.options.disabled,onBlur:m.handleRichEditorBlurEvent,onFocus:m.handleRichEditorFocusEvent,onChange:m.handleRichEditorChangeEvent,style:require$$0.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"])}const richEditorWidget=_export_sfc$1(_sfc_main$2S,[["render",_sfc_render$2S],["__scopeId","data-v-2414734d"]]),__vite_glob_0_15$1=Object.freeze(Object.defineProperty({__proto__:null,default:richEditorWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2R={name:"select-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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:{}};function _sfc_render$2R(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-option"),f=require$$0.resolveComponent("el-select"),n=require$$0.resolveComponent("form-item-wrapper"),c=require$$0.resolveDirective("left-label");return require$$0.openBlock(),require$$0.createBlock(n,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.withDirectives((require$$0.openBlock(),require$$0.createBlock(f,{ref:"fieldEditor",modelValue:g.fieldModel,"onUpdate:modelValue":u[0]||(u[0]=o=>g.fieldModel=o),class:"full-width-input",disabled:e.field.options.disabled,size:t.widgetSize,clearable:e.field.options.clearable,filterable:e.field.options.filterable,"allow-create":e.field.options.allowCreate,"default-first-option":m.allowDefaultFirstOption,"automatic-dropdown":e.field.options.automaticDropdown,multiple:e.field.options.multiple,"multiple-limit":e.field.options.multipleLimit,placeholder:e.field.options.placeholder||t.i18nt("render.hint.selectPlaceholder"),remote:e.field.options.remote,"remote-method":m.remoteMethod,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.field.options.optionItems,o=>(require$$0.openBlock(),require$$0.createBlock(a,{key:o.value,label:o.label,value:o.value,disabled:o.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"])),[[c,e.field.options.label]])]),_: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"])}const selectWidget=_export_sfc$1(_sfc_main$2R,[["render",_sfc_render$2R],["__scopeId","data-v-413a250a"]]),__vite_glob_0_16$1=Object.freeze(Object.defineProperty({__proto__:null,default:selectWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2Q={name:"slider-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$2Q(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-slider"),f=require$$0.resolveComponent("form-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.createVNode(a,{ref:"fieldEditor",modelValue:g.fieldModel,"onUpdate:modelValue":u[0]||(u[0]=n=>g.fieldModel=n),disabled:e.field.options.disabled,"show-stops":e.field.options.showStops,min:e.field.options.min,max:e.field.options.max,step:e.field.options.step,range:e.field.options.range,vertical:e.field.options.vertical,onChange:t.handleChangeEvent},null,8,["modelValue","disabled","show-stops","min","max","step","range","vertical","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}const sliderWidget=_export_sfc$1(_sfc_main$2Q,[["render",_sfc_render$2Q],["__scopeId","data-v-6382c367"]]),__vite_glob_0_17$1=Object.freeze(Object.defineProperty({__proto__:null,default:sliderWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2P={name:"slot-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$v={key:0,class:"slot-title"};function _sfc_render$2P(t,u,e,h,g,m){const a=require$$0.resolveComponent("static-content-wrapper");return require$$0.openBlock(),require$$0.createBlock(a,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",{class:require$$0.normalizeClass([e.designState?"slot-wrapper-design":"slot-wrapper-render"])},[require$$0.renderSlot(t.$slots,e.field.options.name,{formModel:t.formModel},void 0,!0),e.designState?(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_1$v,require$$0.toDisplayString(e.field.options.label),1)):require$$0.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"])}const slotWidget=_export_sfc$1(_sfc_main$2P,[["render",_sfc_render$2P],["__scopeId","data-v-71927942"]]),__vite_glob_0_18$1=Object.freeze(Object.defineProperty({__proto__:null,default:slotWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2O={name:"static-text-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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:{}};function _sfc_render$2O(t,u,e,h,g,m){const a=require$$0.resolveComponent("static-content-wrapper");return require$$0.openBlock(),require$$0.createBlock(a,{designer:e.designer,field:e.field,"design-state":e.designState,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList,"sub-form-row-index":e.subFormRowIndex,"sub-form-col-index":e.subFormColIndex,"sub-form-row-id":e.subFormRowId},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",{ref:"fieldEditor",style:require$$0.normalizeStyle(e.field.options.fontSize?`font-size: ${e.field.options.fontSize};`:"")},[require$$0.createElementVNode("pre",{style:require$$0.normalizeStyle({"white-space":e.field.options.preWrap?"pre-wrap":"pre","text-align":e.field.options.textAlign?e.field.options.textAlign:"left"})},require$$0.toDisplayString(e.field.options.textContent),5)],4)]),_: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"])}const staticTextWidget=_export_sfc$1(_sfc_main$2O,[["render",_sfc_render$2O],["__scopeId","data-v-5baa72ad"]]),__vite_glob_0_20$1=Object.freeze(Object.defineProperty({__proto__:null,default:staticTextWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2N={name:"switch-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$2N(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-switch"),f=require$$0.resolveComponent("form-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.createVNode(a,{ref:"fieldEditor",modelValue:g.fieldModel,"onUpdate:modelValue":u[0]||(u[0]=n=>g.fieldModel=n),disabled:e.field.options.disabled,"active-text":e.field.options.activeText,"inactive-text":e.field.options.inactiveText,"active-color":e.field.options.activeColor,"inactive-color":e.field.options.inactiveColor,width:e.field.options.switchWidth,onChange:t.handleChangeEvent},null,8,["modelValue","disabled","active-text","inactive-text","active-color","inactive-color","width","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}const switchWidget=_export_sfc$1(_sfc_main$2N,[["render",_sfc_render$2N],["__scopeId","data-v-27d8d788"]]),__vite_glob_0_21$1=Object.freeze(Object.defineProperty({__proto__:null,default:switchWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2M={name:"textarea-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$2M(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-input"),f=require$$0.resolveComponent("form-item-wrapper"),n=require$$0.resolveDirective("left-label");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.withDirectives(require$$0.createVNode(a,{type:"textarea",ref:"fieldEditor",modelValue:g.fieldModel,"onUpdate:modelValue":u[0]||(u[0]=c=>g.fieldModel=c),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.widgetSize,placeholder:e.field.options.placeholder,rows:e.field.options.rows,minlength:e.field.options.minLength,maxlength:e.field.options.maxLength,"show-word-limit":e.field.options.showWordLimit,onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onInput:t.handleInputCustomEvent,onChange:t.handleChangeEvent},null,8,["modelValue","disabled","readonly","size","placeholder","rows","minlength","maxlength","show-word-limit","onFocus","onBlur","onInput","onChange"]),[[n,e.field.options.label]])]),_: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"])}const textareaWidget=_export_sfc$1(_sfc_main$2M,[["render",_sfc_render$2M],["__scopeId","data-v-fdaad65c"]]),__vite_glob_0_22$1=Object.freeze(Object.defineProperty({__proto__:null,default:textareaWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2L={name:"time-range-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$2L(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-time-picker"),f=require$$0.resolveComponent("form-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.createElementVNode("div",{class:require$$0.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""])},[require$$0.createVNode(a,{ref:"fieldEditor","is-range":"",modelValue:g.fieldModel,"onUpdate:modelValue":u[0]||(u[0]=n=>g.fieldModel=n),class:require$$0.normalizeClass([e.field.options.autoFullWidth?"full-width-input":""]),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":"HH:mm:ss","start-placeholder":e.field.options.startPlaceholder||t.i18nt("render.hint.startTimePlaceholder"),"end-placeholder":e.field.options.endPlaceholder||t.i18nt("render.hint.endTimePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},null,8,["modelValue","class","disabled","readonly","size","clearable","editable","format","start-placeholder","end-placeholder","onFocus","onBlur","onChange"])],2)]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}const timeRangeWidget=_export_sfc$1(_sfc_main$2L,[["render",_sfc_render$2L],["__scopeId","data-v-d174bb87"]]),__vite_glob_0_23$1=Object.freeze(Object.defineProperty({__proto__:null,default:timeRangeWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2K={name:"time-widget",componentName:"FieldWidget",mixins:[emitter,fieldMixin,i18n],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$2K(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-time-picker"),f=require$$0.resolveComponent("form-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,field:e.field,rules:g.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:require$$0.withCtx(()=>[require$$0.createVNode(a,{ref:"fieldEditor",modelValue:g.fieldModel,"onUpdate:modelValue":u[0]||(u[0]=n=>g.fieldModel=n),class:require$$0.normalizeClass([e.field.options.autoFullWidth?"auto-full-width":""]),disabled:e.field.options.disabled,readonly:e.field.options.readonly,size:t.widgetSize,clearable:e.field.options.clearable,editable:e.field.options.editable,format:e.field.options.format,"value-format":"HH:mm:ss",placeholder:e.field.options.placeholder||t.i18nt("render.hint.timePlaceholder"),onFocus:t.handleFocusCustomEvent,onBlur:t.handleBlurCustomEvent,onChange:t.handleChangeEvent},null,8,["modelValue","class","disabled","readonly","size","clearable","editable","format","placeholder","onFocus","onBlur","onChange"])]),_:1},8,["designer","field","rules","design-state","parent-widget","parent-list","index-of-parent-list","sub-form-row-index","sub-form-col-index","sub-form-row-id"])}const timeWidget=_export_sfc$1(_sfc_main$2K,[["render",_sfc_render$2K],["__scopeId","data-v-b7a74f8b"]]),__vite_glob_0_24$1=Object.freeze(Object.defineProperty({__proto__:null,default:timeWidget},Symbol.toStringTag,{value:"Module"}));let comps$1={};const modules$3=Object.assign({"./button-widget.vue":__vite_glob_0_0$2,"./cascader-widget.vue":__vite_glob_0_1$3,"./checkbox-widget.vue":__vite_glob_0_2$3,"./color-widget.vue":__vite_glob_0_3$3,"./date-range-widget.vue":__vite_glob_0_4$3,"./date-widget.vue":__vite_glob_0_5$3,"./divider-widget.vue":__vite_glob_0_6$2,"./file-upload-widget.vue":__vite_glob_0_7$1,"./form-item-wrapper.vue":__vite_glob_0_8$1,"./html-text-widget.vue":__vite_glob_0_9$1,"./input-widget.vue":__vite_glob_0_10$1,"./number-widget.vue":__vite_glob_0_11$1,"./picture-upload-widget.vue":__vite_glob_0_12$1,"./radio-widget.vue":__vite_glob_0_13$1,"./rate-widget.vue":__vite_glob_0_14$1,"./rich-editor-widget.vue":__vite_glob_0_15$1,"./select-widget.vue":__vite_glob_0_16$1,"./slider-widget.vue":__vite_glob_0_17$1,"./slot-widget.vue":__vite_glob_0_18$1,"./static-content-wrapper.vue":__vite_glob_0_19$1,"./static-text-widget.vue":__vite_glob_0_20$1,"./switch-widget.vue":__vite_glob_0_21$1,"./textarea-widget.vue":__vite_glob_0_22$1,"./time-range-widget.vue":__vite_glob_0_23$1,"./time-widget.vue":__vite_glob_0_24$1});for(const t in modules$3){let u=modules$3[t].default.name;comps$1[u]=modules$3[t].default}const refMixinDesign={methods:{initRefList(){this.refList!==null&&this.widget.options.name&&(this.refList[this.widget.options.name]=this)},getWidgetRef(t,u){let e=this.refList[t];return!e&&u&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},registerToRefList(t){this.refList!==null&&this.widget.options.name&&(t&&delete this.refList[t],this.refList[this.widget.options.name]=this)}}},_sfc_main$2J={name:"GridColWidget",componentName:"GridColWidget",mixins:[i18n,refMixinDesign],inject:["refList"],components:{...comps$1,SvgIcon},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object,colHeight:{type:String,default:null}},data(){return{layoutProps:{span:this.widget.options.span||12,offset:this.widget.options.offset||0,push:this.widget.options.push||0,pull:this.widget.options.pull||0}}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},colHeightStyle(){return this.colHeight?{height:this.colHeight+"px"}:{}}},watch:{"designer.formConfig.layoutType":{handler(t){this.widget.options.responsive?t==="H5"?this.layoutProps.span=this.widget.options.xs||12:t==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12:this.layoutProps.span=this.widget.options.span||12}},"widget.options.responsive":{handler(t){let u=this.designer.formConfig.layoutType;t?u==="H5"?this.layoutProps.span=this.widget.options.xs||12:u==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12:this.layoutProps.span=this.widget.options.span||12}},"widget.options.span":{handler(t){this.layoutProps.span=t}},"widget.options.md":{handler(t){this.layoutProps.span=t}},"widget.options.sm":{handler(t){this.layoutProps.span=t}},"widget.options.xs":{handler(t){this.layoutProps.span=t}},"widget.options.offset":{handler(t){this.layoutProps.offset=t}},"widget.options.push":{handler(t){this.layoutProps.push=t}},"widget.options.pull":{handler(t){this.layoutProps.pull=t}}},created(){this.initRefList(),this.initLayoutProps()},methods:{beforeHandleCommond(t,u){return{width:t,widget:u}},cloneGridColWithWidth(t){let u=JSON.parse(JSON.stringify(t.widget));u.options.span=t.width,this.designer.cloneGridColNew(u,this.parentWidget,this.indexOfParentList+1)},initLayoutProps(){if(this.widget.options.responsive){let t=this.designer.formConfig.layoutType;t==="H5"?this.layoutProps.span=this.widget.options.xs||12:t==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12}else this.layoutProps.span=this.widget.options.span},onGridDragEnd(t,u){},onGridDragAdd(t,u){const e=t.newIndex;u[e]&&(u[e].options.hidden=!1,this.designer.setSelected(u[e])),this.designer.emitHistoryChange()},onGridDragUpdate(){this.designer.emitHistoryChange()},selectWidget(t){this.designer.setSelected(t)},checkContainerMove(t){return this.designer.checkWidgetMove(t)},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},moveUpWidget(){this.designer.moveUpWidget(this.parentList,this.indexOfParentList)},moveDownWidget(){this.designer.moveDownWidget(this.parentList,this.indexOfParentList)},cloneGridCol(t){this.designer.cloneGridCol(t,this.parentWidget)},changeHidden(t){t.options.hidden=!0,this.designer.emitHistoryChange()},removeWidget(){if(this.parentList){let t=null;this.parentList.length===1?this.parentWidget&&(t=this.parentWidget):this.parentList.length===1+this.indexOfParentList?t=this.parentList[this.indexOfParentList-1]:t=this.parentList[this.indexOfParentList+1],this.$nextTick(()=>{this.parentList.splice(this.indexOfParentList,1),t>=0&&this.designer.setSelected(t),this.designer.emitHistoryChange()})}}}},_hoisted_1$u={key:0,class:"form-widget-list"},_hoisted_2$k={key:0,class:"grid-col-action"},_hoisted_3$g=["title"],_hoisted_4$9=["title"],_hoisted_5$7=["title"],_hoisted_6$6=["title"],_hoisted_7$4={key:1,class:"grid-col-handler"};function _sfc_render$2J(t,u,e,h,g,m){const a=require$$0.resolveComponent("draggable"),f=require$$0.resolveComponent("svg-icon"),n=require$$0.resolveComponent("el-dropdown-item"),c=require$$0.resolveComponent("el-dropdown-menu"),o=require$$0.resolveComponent("el-dropdown"),s=require$$0.resolveComponent("el-col");return e.widget.type==="grid-col"?(require$$0.openBlock(),require$$0.createBlock(s,require$$0.mergeProps({key:0,class:"grid-cell",style:{"{border":"5px solid red"}},g.layoutProps,{class:[m.selected?"selected":"",m.customClass],style:m.colHeightStyle,key:e.widget.id,onClick:u[6]||(u[6]=require$$0.withModifiers(i=>m.selectWidget(e.widget),["stop"]))}),{default:require$$0.withCtx(()=>[require$$0.createVNode(a,require$$0.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:u[0]||(u[0]=i=>m.onGridDragEnd(i,e.widget.widgetList)),onAdd:u[1]||(u[1]=i=>m.onGridDragAdd(i,e.widget.widgetList)),onUpdate:m.onGridDragUpdate,move:m.checkContainerMove}),{item:require$$0.withCtx(({element:i,index:r})=>[i?.options?.hidden?require$$0.createCommentVNode("",!0):(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_1$u,[i.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(i.type+"-widget"),{widget:i,designer:e.designer,key:i.id,"parent-list":e.widget.widgetList,"index-of-parent-list":r,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(i.type+"-widget"),{field:i,designer:e.designer,key:i.id,"parent-list":e.widget.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))]))]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="grid-col"?(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_2$k,[require$$0.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:u[2]||(u[2]=require$$0.withModifiers(i=>m.selectParentWidget(e.widget),["stop"]))},[require$$0.createVNode(f,{"icon-class":"el-back"})],8,_hoisted_3$g),e.parentList&&e.parentList.length>1?(require$$0.openBlock(),require$$0.createElementBlock("i",{key:0,title:t.i18nt("designer.hint.moveUpWidget"),onClick:u[3]||(u[3]=require$$0.withModifiers(i=>m.moveUpWidget(),["stop"]))}," 左移 ",8,_hoisted_4$9)):require$$0.createCommentVNode("",!0),e.parentList&&e.parentList.length>1?(require$$0.openBlock(),require$$0.createElementBlock("i",{key:1,title:t.i18nt("designer.hint.moveDownWidget"),onClick:u[4]||(u[4]=require$$0.withModifiers(i=>m.moveDownWidget(),["stop"]))}," 右移 ",8,_hoisted_5$7)):require$$0.createCommentVNode("",!0),require$$0.createVNode(o,{placement:"right-start",trigger:"click",onCommand:m.cloneGridColWithWidth},{dropdown:require$$0.withCtx(()=>[require$$0.createVNode(c,{slot:"dropdown"},{default:require$$0.withCtx(()=>[require$$0.createVNode(n,{command:m.beforeHandleCommond(4,e.widget)},{default:require$$0.withCtx(()=>[...u[7]||(u[7]=[require$$0.createTextVNode(" 1列 ",-1)])]),_:1},8,["command"]),require$$0.createVNode(n,{command:m.beforeHandleCommond(8,e.widget)},{default:require$$0.withCtx(()=>[...u[8]||(u[8]=[require$$0.createTextVNode(" 2列 ",-1)])]),_:1},8,["command"]),require$$0.createVNode(n,{command:m.beforeHandleCommond(12,e.widget)},{default:require$$0.withCtx(()=>[...u[9]||(u[9]=[require$$0.createTextVNode(" 3列 ",-1)])]),_:1},8,["command"]),require$$0.createVNode(n,{command:m.beforeHandleCommond(16,e.widget)},{default:require$$0.withCtx(()=>[...u[10]||(u[10]=[require$$0.createTextVNode(" 4列 ",-1)])]),_:1},8,["command"]),require$$0.createVNode(n,{command:m.beforeHandleCommond(24,e.widget)},{default:require$$0.withCtx(()=>[...u[11]||(u[11]=[require$$0.createTextVNode(" 6列 ",-1)])]),_:1},8,["command"]),require$$0.createVNode(n,{command:m.beforeHandleCommond(8,e.widget)},{default:require$$0.withCtx(()=>[...u[12]||(u[12]=[require$$0.createTextVNode(" 1/3 ",-1)])]),_:1},8,["command"]),require$$0.createVNode(n,{command:m.beforeHandleCommond(16,e.widget)},{default:require$$0.withCtx(()=>[...u[13]||(u[13]=[require$$0.createTextVNode(" 2/3 ",-1)])]),_:1},8,["command"])]),_:1})]),default:require$$0.withCtx(()=>[u[14]||(u[14]=require$$0.createElementVNode("i",{style:{padding:"5px 5px 0 0"}},"添加",-1))]),_:1},8,["onCommand"]),require$$0.withDirectives(require$$0.createElementVNode("i",{title:t.i18nt("designer.hint.remove"),onClick:u[5]||(u[5]=require$$0.withModifiers(i=>m.changeHidden(e.widget),["stop"]))},[require$$0.createVNode(f,{"icon-class":"el-delete"})],8,_hoisted_6$6),[[require$$0.vShow,!e.widget.widgetList[0]?.options?.required]])])):require$$0.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="grid-col"?(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_7$4,[require$$0.createElementVNode("i",null,require$$0.toDisplayString(t.i18nt("designer.widgetLabel."+e.widget.type)),1)])):require$$0.createCommentVNode("",!0)]),_:1},16,["class","style"])):require$$0.createCommentVNode("",!0)}const GridColWidget=_export_sfc$1(_sfc_main$2J,[["render",_sfc_render$2J],["__scopeId","data-v-0d15e2cb"]]),__vite_glob_0_1$2=Object.freeze(Object.defineProperty({__proto__:null,default:GridColWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2I={name:"grid-widget",componentName:"ContainerWidget",mixins:[i18n,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,GridColWidget},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{}};function _sfc_render$2I(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-input"),f=require$$0.resolveComponent("el-option"),n=require$$0.resolveComponent("el-select"),c=require$$0.resolveComponent("el-row"),o=require$$0.resolveComponent("grid-col-widget"),s=require$$0.resolveComponent("container-wrapper");return require$$0.openBlock(),require$$0.createBlock(s,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:require$$0.withCtx(()=>[require$$0.createVNode(c,null,{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{modelValue:e.widget.options.label,"onUpdate:modelValue":u[0]||(u[0]=i=>e.widget.options.label=i),placeholder:"选项组名称",style:{width:"200px"}},null,8,["modelValue"]),require$$0.createVNode(n,{modelValue:e.widget.options.hidden,"onUpdate:modelValue":u[1]||(u[1]=i=>e.widget.options.hidden=i),style:{width:"110px"}},{default:require$$0.withCtx(()=>[require$$0.createVNode(f,{label:"默认展开",value:!1}),require$$0.createVNode(f,{label:"默认收起",value:!0})]),_:1},8,["modelValue"])]),_:1}),(require$$0.openBlock(),require$$0.createBlock(c,{key:e.widget.id,gutter:e.widget.options.gutter,class:require$$0.normalizeClass(["grid-container",[m.selected?"selected":"",m.customClass]]),onClick:u[2]||(u[2]=require$$0.withModifiers(i=>t.selectWidget(e.widget),["stop"]))},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.cols,(i,r)=>require$$0.withDirectives((require$$0.openBlock(),require$$0.createBlock(o,{key:i.id,widget:i,designer:e.designer,"parent-list":e.widget.cols,"index-of-parent-list":r,"parent-widget":e.widget,"col-height":e.widget.options.colHeight},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget","col-height"])),[[require$$0.vShow,!i.options?.hidden]])),128))]),_:1},8,["gutter","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}const gridWidget=_export_sfc$1(_sfc_main$2I,[["render",_sfc_render$2I],["__scopeId","data-v-7c7ef7c3"]]),__vite_glob_0_2$2=Object.freeze(Object.defineProperty({__proto__:null,default:gridWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2H={name:"tab-widget",componentName:"ContainerWidget",mixins:[i18n,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,...comps$1},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},data(){return{activeTab:"tab1"}},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{onTabClick(t){let u=t.paneName;this.widget.tabs.forEach(e=>{e.options.active=e.options.name===u})}}},_hoisted_1$t={class:"form-widget-list"};function _sfc_render$2H(t,u,e,h,g,m){const a=require$$0.resolveComponent("draggable"),f=require$$0.resolveComponent("el-tab-pane"),n=require$$0.resolveComponent("el-tabs"),c=require$$0.resolveComponent("container-wrapper");return require$$0.openBlock(),require$$0.createBlock(c,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:require$$0.withCtx(()=>[(require$$0.openBlock(),require$$0.createElementBlock("div",{key:e.widget.id,class:require$$0.normalizeClass(["tab-container",{selected:m.selected}]),onClick:u[2]||(u[2]=require$$0.withModifiers(o=>t.selectWidget(e.widget),["stop"]))},[require$$0.createVNode(n,{type:e.widget.displayType,modelValue:g.activeTab,"onUpdate:modelValue":u[1]||(u[1]=o=>g.activeTab=o),onTabClick:m.onTabClick},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.tabs,(o,s)=>(require$$0.openBlock(),require$$0.createBlock(f,{key:s,label:o.options.label,name:o.options.name,onClick:u[0]||(u[0]=require$$0.withModifiers(i=>t.selectWidget(e.widget),["stop"]))},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,require$$0.mergeProps({list:o.widgetList,"item-key":"id"},{ref_for:!0},{group:"dragGroup",ghostClass:"ghost",animation:200},{handle:".drag-handler",tag:"transition-group","component-data":{name:"fade"},onAdd:i=>t.onContainerDragAdd(i,o.widgetList),onUpdate:t.onContainerDragUpdate,move:t.checkContainerMove}),{item:require$$0.withCtx(({element:i,index:r})=>[require$$0.createElementVNode("div",_hoisted_1$t,[i.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(i.type+"-widget"),{widget:i,designer:e.designer,key:i.id,"parent-list":o.widgetList,"index-of-parent-list":r,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(i.type+"-widget"),{field:i,designer:e.designer,key:i.id,"parent-list":o.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:2},1040,["list","onAdd","onUpdate","move"])]),_:2},1032,["label","name"]))),128))]),_:1},8,["type","modelValue","onTabClick"])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}const tabWidget=_export_sfc$1(_sfc_main$2H,[["render",_sfc_render$2H],["__scopeId","data-v-958e5ded"]]),__vite_glob_0_3$2=Object.freeze(Object.defineProperty({__proto__:null,default:tabWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2G={name:"TableCellWidget",componentName:"TableCellWidget",mixins:[i18n,refMixinDesign],inject:["refList"],components:{...comps$1,SvgIcon},props:{widget:Object,parentWidget:Object,parentList:Array,rowIndex:Number,colIndex:Number,rowLength:Number,colLength:Number,colArray:Array,rowArray:Array,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""},mergeLeftColDisabled(){return this.colIndex<=0||this.colArray[this.colIndex-1].options.rowspan!==this.widget.options.rowspan},mergeRightColDisabled(){let t=this.colIndex+this.widget.options.colspan;return this.colIndex>=this.colLength-1||t>this.colLength-1||this.colArray[t].options.rowspan!==this.widget.options.rowspan},mergeWholeRowDisabled(){return this.colLength<=1||this.colLength===this.widget.options.colspan},mergeAboveRowDisabled(){return this.rowIndex<=0||this.rowArray[this.rowIndex-1].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeBelowRowDisabled(){let t=this.rowIndex+this.widget.options.rowspan;return this.rowIndex>=this.rowLength-1||t>this.rowLength-1||this.rowArray[t].cols[this.colIndex].options.colspan!==this.widget.options.colspan},mergeWholeColDisabled(){return this.rowLength<=1||this.rowLength===this.widget.options.rowspan},undoMergeColDisabled(){return this.widget.merged||this.widget.options.colspan<=1},undoMergeRowDisabled(){return this.widget.merged||this.widget.options.rowspan<=1},deleteWholeColDisabled(){return this.colLength===1||this.widget.options.colspan===this.colLength},deleteWholeRowDisabled(){return this.rowLength===1||this.widget.options.rowspan===this.rowLength}},watch:{},created(){this.initRefList()},methods:{selectWidget(t){this.designer.setSelected(t)},checkContainerMove(t){return this.designer.checkWidgetMove(t)},onTableDragEnd(t,u){},onTableDragAdd(t,u){const e=t.newIndex;u[e]&&this.designer.setSelected(u[e]),this.designer.emitHistoryChange()},onTableDragUpdate(){this.designer.emitHistoryChange()},selectParentWidget(){this.parentWidget?this.designer.setSelected(this.parentWidget):this.designer.clearSelected()},handleTableCellCommand(t){t==="insertLeftCol"?this.insertLeftCol():t==="insertRightCol"?this.insertRightCol():t==="insertAboveRow"?this.insertAboveRow():t==="insertBelowRow"?this.insertBelowRow():t==="mergeLeftCol"?this.mergeLeftCol():t==="mergeRightCol"?this.mergeRightCol():t==="mergeWholeCol"?this.mergeWholeCol():t==="mergeAboveRow"?this.mergeAboveRow():t==="mergeBelowRow"?this.mergeBelowRow():t==="mergeWholeRow"?this.mergeWholeRow():t==="undoMergeCol"?this.undoMergeCol():t==="undoMergeRow"?this.undoMergeRow():t==="deleteWholeCol"?this.deleteWholeCol():t==="deleteWholeRow"&&this.deleteWholeRow()},insertLeftCol(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!0)},insertRightCol(){this.designer.insertTableCol(this.parentWidget,this.colIndex,this.rowIndex,!1)},insertAboveRow(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!0)},insertBelowRow(){this.designer.insertTableRow(this.parentWidget,this.rowIndex,this.rowIndex,this.colIndex,!1)},mergeLeftCol(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeRightCol(){this.designer.mergeTableCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeRow(){this.designer.mergeTableWholeRow(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},mergeAboveRow(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!0,this.widget)},mergeBelowRow(){this.designer.mergeTableRow(this.rowArray,this.rowIndex,this.colIndex,!1,this.widget)},mergeWholeCol(){this.designer.mergeTableWholeCol(this.rowArray,this.colArray,this.rowIndex,this.colIndex)},undoMergeCol(){this.designer.undoMergeTableCol(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},undoMergeRow(){this.designer.undoMergeTableRow(this.rowArray,this.rowIndex,this.colIndex,this.widget.options.colspan,this.widget.options.rowspan)},deleteWholeCol(){this.designer.deleteTableWholeCol(this.rowArray,this.colIndex)},deleteWholeRow(){this.designer.deleteTableWholeRow(this.rowArray,this.rowIndex)}}},_hoisted_1$s=["colspan","rowspan"],_hoisted_2$j={class:"form-widget-list"},_hoisted_3$f={key:0,class:"table-cell-action"},_hoisted_4$8=["title"],_hoisted_5$6=["title"],_hoisted_6$5={key:1,class:"table-cell-handler"};function _sfc_render$2G(t,u,e,h,g,m){const a=require$$0.resolveComponent("draggable"),f=require$$0.resolveComponent("svg-icon"),n=require$$0.resolveComponent("el-dropdown-item"),c=require$$0.resolveComponent("el-dropdown-menu"),o=require$$0.resolveComponent("el-dropdown");return require$$0.openBlock(),require$$0.createElementBlock("td",{class:require$$0.normalizeClass(["table-cell",[m.selected?"selected":"",m.customClass]]),style:require$$0.normalizeStyle({width:e.widget.options.cellWidth+"!important"||"",height:e.widget.options.cellHeight+"!important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"}),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,onClick:u[3]||(u[3]=require$$0.withModifiers(s=>m.selectWidget(e.widget),["stop"]))},[require$$0.createVNode(a,require$$0.mergeProps({list:e.widget.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:200},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:u[0]||(u[0]=s=>m.onTableDragEnd(s,e.widget.widgetList)),onAdd:u[1]||(u[1]=s=>m.onTableDragAdd(s,e.widget.widgetList)),onUpdate:m.onTableDragUpdate,move:m.checkContainerMove}),{item:require$$0.withCtx(({element:s,index:i})=>[require$$0.createElementVNode("div",_hoisted_2$j,[s.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(s.type+"-widget"),{widget:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(s.type+"-widget"),{field:s,designer:e.designer,key:s.id,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"]),e.designer.selectedId===e.widget.id&&e.widget.type==="table-cell"?(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_3$f,[require$$0.createElementVNode("i",{title:t.i18nt("designer.hint.selectParentWidget"),onClick:u[2]||(u[2]=require$$0.withModifiers(s=>m.selectParentWidget(),["stop"]))},[require$$0.createVNode(f,{"icon-class":"el-back"})],8,_hoisted_4$8),require$$0.createVNode(o,{trigger:"click",onCommand:m.handleTableCellCommand,size:"small"},{dropdown:require$$0.withCtx(()=>[require$$0.createVNode(c,null,{default:require$$0.withCtx(()=>[require$$0.createVNode(n,{command:"insertLeftCol"},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.insertColumnToLeft")),1)]),_:1}),require$$0.createVNode(n,{command:"insertRightCol"},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.insertColumnToRight")),1)]),_:1}),require$$0.createVNode(n,{command:"insertAboveRow"},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.insertRowAbove")),1)]),_:1}),require$$0.createVNode(n,{command:"insertBelowRow"},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.insertRowBelow")),1)]),_:1}),require$$0.createVNode(n,{command:"mergeLeftCol",disabled:m.mergeLeftColDisabled,divided:""},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.mergeLeftColumn")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"mergeRightCol",disabled:m.mergeRightColDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.mergeRightColumn")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"mergeWholeRow",disabled:m.mergeWholeRowDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.mergeEntireRow")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"mergeAboveRow",disabled:m.mergeAboveRowDisabled,divided:""},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.mergeRowAbove")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"mergeBelowRow",disabled:m.mergeBelowRowDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.mergeRowBelow")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"mergeWholeCol",disabled:m.mergeWholeColDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.mergeEntireColumn")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"undoMergeRow",disabled:m.undoMergeRowDisabled,divided:""},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.undoMergeRow")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"undoMergeCol",disabled:m.undoMergeColDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.undoMergeCol")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"deleteWholeCol",disabled:m.deleteWholeColDisabled,divided:""},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.deleteEntireCol")),1)]),_:1},8,["disabled"]),require$$0.createVNode(n,{command:"deleteWholeRow",disabled:m.deleteWholeRowDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.setting.deleteEntireRow")),1)]),_:1},8,["disabled"])]),_:1})]),default:require$$0.withCtx(()=>[require$$0.createElementVNode("i",{title:t.i18nt("designer.hint.cellSetting")},[require$$0.createVNode(f,{"icon-class":"el-menu"})],8,_hoisted_5$6)]),_:1},8,["onCommand"])])):require$$0.createCommentVNode("",!0),e.designer.selectedId===e.widget.id&&e.widget.type==="table-cell"?(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_6$5,[require$$0.createElementVNode("i",null,require$$0.toDisplayString(t.i18nt("designer.widgetLabel."+e.widget.type)),1)])):require$$0.createCommentVNode("",!0)],14,_hoisted_1$s)}const TableCellWidget=_export_sfc$1(_sfc_main$2G,[["render",_sfc_render$2G],["__scopeId","data-v-c3d80632"]]),__vite_glob_0_4$2=Object.freeze(Object.defineProperty({__proto__:null,default:TableCellWidget},Symbol.toStringTag,{value:"Module"})),_sfc_main$2F={name:"table-widget",componentName:"ContainerWidget",mixins:[i18n,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,TableCellWidget},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},watch:{},created(){this.initRefList()},mounted(){},methods:{}},_hoisted_1$r={class:"table-layout"};function _sfc_render$2F(t,u,e,h,g,m){const a=require$$0.resolveComponent("table-cell-widget"),f=require$$0.resolveComponent("container-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:require$$0.withCtx(()=>[(require$$0.openBlock(),require$$0.createElementBlock("div",{key:e.widget.id,class:require$$0.normalizeClass(["table-container",[m.selected?"selected":"",m.customClass]]),onClick:u[0]||(u[0]=require$$0.withModifiers(n=>t.selectWidget(e.widget),["stop"]))},[require$$0.createElementVNode("table",_hoisted_1$r,[require$$0.createElementVNode("tbody",null,[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.rows,(n,c)=>(require$$0.openBlock(),require$$0.createElementBlock("tr",{key:n.id},[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(n.cols,(o,s)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[o.merged?require$$0.createCommentVNode("",!0):(require$$0.openBlock(),require$$0.createBlock(a,{widget:o,designer:e.designer,key:o.id,"parent-list":e.widget.cols,"row-index":c,"row-length":e.widget.rows.length,"col-index":s,"col-length":n.cols.length,"col-array":n.cols,"row-array":e.widget.rows,"parent-widget":e.widget},null,8,["widget","designer","parent-list","row-index","row-length","col-index","col-length","col-array","row-array","parent-widget"]))],64))),256))]))),128))])])],2))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}const tableWidget=_export_sfc$1(_sfc_main$2F,[["render",_sfc_render$2F],["__scopeId","data-v-da84bfd2"]]),__vite_glob_0_5$2=Object.freeze(Object.defineProperty({__proto__:null,default:tableWidget},Symbol.toStringTag,{value:"Module"})),modules$2=Object.assign({"./container-wrapper.vue":__vite_glob_0_0$3,"./grid-col-widget.vue":__vite_glob_0_1$2,"./grid-widget.vue":__vite_glob_0_2$2,"./tab-widget.vue":__vite_glob_0_3$2,"./table-cell-widget.vue":__vite_glob_0_4$2,"./table-widget.vue":__vite_glob_0_5$2}),ContainerWidgets={install(t){for(const u in modules$2){let e=modules$2[u].default.name;t.component(e,modules$2[u].default)}}},_sfc_main$2E={name:"VFormWidget",componentName:"VFormWidget",mixins:[i18n],components:{...comps$1},props:{designer:Object,formConfig:Object,optionData:{type:Object,default:()=>({})},globalDsv:{type:Object,default:()=>({})}},provide(){return{refList:this.widgetRefList,getFormConfig:()=>this.formConfig,getGlobalDsv:()=>this.globalDsv,globalOptionData:this.optionData,getOptionData:()=>this.optionData,globalModel:{formModel:this.formModel}}},inject:["getDesignerConfig","getSelectedList"],data(){return{formModel:{},widgetRefList:{}}},computed:{labelPosition(){return this.designer.formConfig&&this.designer.formConfig.labelPosition?this.designer.formConfig.labelPosition:"left"},size(){return this.designer.formConfig&&this.designer.formConfig.size?this.designer.formConfig.size:"default"},customClass(){return this.designer.formConfig.customClass||""},layoutType(){return this.designer.getLayoutType()}},watch:{"designer.widgetList":{deep:!0,handler(t){this.getSelectedList(this.designer.widgetList)}},"designer.formConfig":{deep:!0,handler(t){}}},created(){this.designer.initDesigner(!!this.getDesignerConfig().resetFormJson),this.designer.loadPresetCssCode(this.getDesignerConfig().presetCssCode)},mounted(){this.disableFirefoxDefaultDrop(),this.designer.registerFormWidget(this)},methods:{getWidgetName(t){return t.type+"-widget"},disableFirefoxDefaultDrop(){navigator.userAgent.toLowerCase().indexOf("firefox")!==-1&&(document.body.ondrop=function(u){u.stopPropagation(),u.preventDefault()})},onDragEnd(t){},onDragAdd(t){const u=t.newIndex;this.designer.widgetList[u]&&this.designer.setSelected(this.designer.widgetList[u]),this.designer.emitHistoryChange()},onDragUpdate(){this.designer.emitHistoryChange()},checkMove(t){return this.designer.checkWidgetMove(t)},getFormData(){return this.formModel},getWidgetRef(t,u=!1){let e=this.widgetRefList[t];return!e&&u&&this.$message.error(this.i18nt("designer.hint.refNotFound")+t),e},getSelectedWidgetRef(){let t=this.designer.selectedWidgetName;return this.getWidgetRef(t)},clearWidgetRefList(){Object.keys(this.widgetRefList).forEach(t=>{delete this.widgetRefList[t]})},deleteWidgetRef(t){delete this.widgetRefList[t]}}},_hoisted_1$q={class:"form-widget-container"},_hoisted_2$i={key:0,class:"no-widget-hint"},_hoisted_3$e={class:"form-widget-list"},_hoisted_4$7={class:"transition-group-el"};function _sfc_render$2E(t,u,e,h,g,m){const a=require$$0.resolveComponent("draggable"),f=require$$0.resolveComponent("el-form");return require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_1$q,[require$$0.createVNode(f,{class:require$$0.normalizeClass(["full-height-width widget-form",[m.customClass,m.layoutType+"-layout"]]),"label-position":m.labelPosition,size:m.size,"validate-on-rule-change":!1},{default:require$$0.withCtx(()=>[e.designer.widgetList.length===0?(require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_2$i,require$$0.toDisplayString(t.i18nt("designer.noWidgetHint")),1)):require$$0.createCommentVNode("",!0),require$$0.createElementVNode("div",_hoisted_3$e,[require$$0.createVNode(a,require$$0.mergeProps({list:e.designer.widgetList,"item-key":"id"},{group:"dragGroup",ghostClass:"ghost",animation:300},{tag:"transition-group","component-data":{name:"fade"},handle:".drag-handler",onEnd:m.onDragEnd,onAdd:m.onDragAdd,onUpdate:m.onDragUpdate,move:m.checkMove}),{item:require$$0.withCtx(({element:n,index:c})=>[require$$0.createElementVNode("div",_hoisted_4$7,[n.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getWidgetName(n)),{widget:n,designer:e.designer,key:n.id,"parent-list":e.designer.widgetList,"index-of-parent-list":c,"parent-widget":null},null,8,["widget","designer","parent-list","index-of-parent-list"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getWidgetName(n)),{field:n,designer:e.designer,key:n.id,"parent-list":e.designer.widgetList,"index-of-parent-list":c,"parent-widget":null,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list"]))])]),_:1},16,["list","onEnd","onAdd","onUpdate","move"])])]),_:1},8,["label-position","class","size"])])}const VFormWidget=_export_sfc$1(_sfc_main$2E,[["render",_sfc_render$2E],["__scopeId","data-v-7343a345"]]);var ace$2={exports:{}};(function(t,u){(function(){var e="ace",h=(function(){return this})();!h&&typeof window<"u"&&(h=window);var g=function(o,s,i){if(typeof o!="string"){g.original?g.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(i=s),g.modules[o]||(g.payloads[o]=i,g.modules[o]=null)};g.modules={},g.payloads={};var m=function(o,s,i){if(typeof s=="string"){var r=n(o,s);if(r!=null)return i&&i(),r}else if(Object.prototype.toString.call(s)==="[object Array]"){for(var l=[],d=0,p=s.length;d<p;++d){var v=n(o,s[d]);if(v==null&&a.original)return;l.push(v)}return i&&i.apply(null,l)||!0}},a=function(o,s){var i=m("",o,s);return i==null&&a.original?a.original.apply(this,arguments):i},f=function(o,s){if(s.indexOf("!")!==-1){var i=s.split("!");return f(o,i[0])+"!"+f(o,i[1])}if(s.charAt(0)=="."){var r=o.split("/").slice(0,-1).join("/");for(s=r+"/"+s;s.indexOf(".")!==-1&&l!=s;){var l=s;s=s.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return s},n=function(o,s){s=f(o,s);var i=g.modules[s];if(!i){if(i=g.payloads[s],typeof i=="function"){var r={},l={id:s,uri:"",exports:r,packaged:!0},d=function(v,b){return m(s,v,b)},p=i(d,r,l);r=p||l.exports,g.modules[s]=r,delete g.payloads[s]}i=g.modules[s]=r||i}return i};function c(o){var s=h;h[o]||(h[o]={}),s=h[o],(!s.define||!s.define.packaged)&&(g.original=s.define,s.define=g,s.define.packaged=!0),(!s.require||!s.require.packaged)&&(a.original=s.require,s.require=a,s.require.packaged=!0)}c(e)})(),ace.define("ace/lib/es6-shim",["require","exports","module"],function(e,h,g){function m(a,f,n){Object.defineProperty(a,f,{value:n,enumerable:!1,writable:!0,configurable:!0})}String.prototype.startsWith||m(String.prototype,"startsWith",function(a,f){return f=f||0,this.lastIndexOf(a,f)===f}),String.prototype.endsWith||m(String.prototype,"endsWith",function(a,f){var n=this;(f===void 0||f>n.length)&&(f=n.length),f-=a.length;var c=n.indexOf(a,f);return c!==-1&&c===f}),String.prototype.repeat||m(String.prototype,"repeat",function(a){for(var f="",n=this;a>0;)a&1&&(f+=n),(a>>=1)&&(n+=n);return f}),String.prototype.includes||m(String.prototype,"includes",function(a,f){return this.indexOf(a,f)!=-1}),Object.assign||(Object.assign=function(a){if(a==null)throw new TypeError("Cannot convert undefined or null to object");for(var f=Object(a),n=1;n<arguments.length;n++){var c=arguments[n];c!=null&&Object.keys(c).forEach(function(o){f[o]=c[o]})}return f}),Object.values||(Object.values=function(a){return Object.keys(a).map(function(f){return a[f]})}),Array.prototype.find||m(Array.prototype,"find",function(a){for(var f=this.length,n=arguments[1],c=0;c<f;c++){var o=this[c];if(a.call(n,o,c,this))return o}}),Array.prototype.findIndex||m(Array.prototype,"findIndex",function(a){for(var f=this.length,n=arguments[1],c=0;c<f;c++){var o=this[c];if(a.call(n,o,c,this))return c}}),Array.prototype.includes||m(Array.prototype,"includes",function(a,f){return this.indexOf(a,f)!=-1}),Array.prototype.fill||m(Array.prototype,"fill",function(a){for(var f=this,n=f.length>>>0,c=arguments[1],o=c>>0,s=o<0?Math.max(n+o,0):Math.min(o,n),i=arguments[2],r=i===void 0?n:i>>0,l=r<0?Math.max(n+r,0):Math.min(r,n);s<l;)f[s]=a,s++;return f}),Array.of||m(Array,"of",function(){return Array.prototype.slice.call(arguments)})}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/es6-shim"],function(e,h,g){e("./es6-shim")}),ace.define("ace/lib/deep_copy",["require","exports","module"],function(e,h,g){h.deepCopy=function m(a){if(typeof a!="object"||!a)return a;var f;if(Array.isArray(a)){f=[];for(var n=0;n<a.length;n++)f[n]=m(a[n]);return f}if(Object.prototype.toString.call(a)!=="[object Object]")return a;f={};for(var n in a)f[n]=m(a[n]);return f}}),ace.define("ace/lib/lang",["require","exports","module","ace/lib/deep_copy"],function(e,h,g){h.last=function(f){return f[f.length-1]},h.stringReverse=function(f){return f.split("").reverse().join("")},h.stringRepeat=function(f,n){for(var c="";n>0;)n&1&&(c+=f),(n>>=1)&&(f+=f);return c};var m=/^\s\s*/,a=/\s\s*$/;h.stringTrimLeft=function(f){return f.replace(m,"")},h.stringTrimRight=function(f){return f.replace(a,"")},h.copyObject=function(f){var n={};for(var c in f)n[c]=f[c];return n},h.copyArray=function(f){for(var n=[],c=0,o=f.length;c<o;c++)f[c]&&typeof f[c]=="object"?n[c]=this.copyObject(f[c]):n[c]=f[c];return n},h.deepCopy=e("./deep_copy").deepCopy,h.arrayToMap=function(f){for(var n={},c=0;c<f.length;c++)n[f[c]]=1;return n},h.createMap=function(f){var n=Object.create(null);for(var c in f)n[c]=f[c];return n},h.arrayRemove=function(f,n){for(var c=0;c<=f.length;c++)n===f[c]&&f.splice(c,1)},h.escapeRegExp=function(f){return f.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},h.escapeHTML=function(f){return(""+f).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},h.getMatchOffsets=function(f,n){var c=[];return f.replace(n,function(o){c.push({offset:arguments[arguments.length-2],length:o.length})}),c},h.deferredCall=function(f){var n=null,c=function(){n=null,f()},o=function(s){return o.cancel(),n=setTimeout(c,s||0),o};return o.schedule=o,o.call=function(){return this.cancel(),f(),o},o.cancel=function(){return clearTimeout(n),n=null,o},o.isPending=function(){return n},o},h.delayedCall=function(f,n){var c=null,o=function(){c=null,f()},s=function(i){c==null&&(c=setTimeout(o,i||n))};return s.delay=function(i){c&&clearTimeout(c),c=setTimeout(o,i||n)},s.schedule=s,s.call=function(){this.cancel(),f()},s.cancel=function(){c&&clearTimeout(c),c=null},s.isPending=function(){return c},s},h.supportsLookbehind=function(){try{new RegExp("(?<=.)")}catch{return!1}return!0},h.skipEmptyMatch=function(f,n,c){return c&&f.codePointAt(n)>65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(e,h,g){h.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},h.getOS=function(){return h.isMac?h.OS.MAC:h.isLinux?h.OS.LINUX:h.OS.WINDOWS};var m=typeof navigator=="object"?navigator:{},a=(/mac|win|linux/i.exec(m.platform)||["other"])[0].toLowerCase(),f=m.userAgent||"",n=m.appName||"";h.isWin=a=="win",h.isMac=a=="mac",h.isLinux=a=="linux",h.isIE=n=="Microsoft Internet Explorer"||n.indexOf("MSAppHost")>=0?parseFloat((f.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((f.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),h.isOldIE=h.isIE&&h.isIE<9,h.isGecko=h.isMozilla=f.match(/ Gecko\/\d+/),h.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",h.isWebKit=parseFloat(f.split("WebKit/")[1])||void 0,h.isChrome=parseFloat(f.split(" Chrome/")[1])||void 0,h.isSafari=parseFloat(f.split(" Safari/")[1])&&!h.isChrome||void 0,h.isEdge=parseFloat(f.split(" Edge/")[1])||void 0,h.isAIR=f.indexOf("AdobeAIR")>=0,h.isAndroid=f.indexOf("Android")>=0,h.isChromeOS=f.indexOf(" CrOS ")>=0,h.isIOS=/iPad|iPhone|iPod/.test(f)&&!window.MSStream,h.isIOS&&(h.isMac=!0),h.isMobile=h.isIOS||h.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(e,h,g){var m=e("./useragent"),a="http://www.w3.org/1999/xhtml";h.buildDom=function i(r,l,d){if(typeof r=="string"&&r){var p=document.createTextNode(r);return l&&l.appendChild(p),p}if(!Array.isArray(r))return r&&r.appendChild&&l&&l.appendChild(r),r;if(typeof r[0]!="string"||!r[0]){for(var v=[],b=0;b<r.length;b++){var w=i(r[b],l,d);w&&v.push(w)}return v}var y=document.createElement(r[0]),_=r[1],$=1;_&&typeof _=="object"&&!Array.isArray(_)&&($=2);for(var b=$;b<r.length;b++)i(r[b],y,d);return $==2&&Object.keys(_).forEach(function(S){var O=_[S];S==="class"?y.className=Array.isArray(O)?O.join(" "):O:typeof O=="function"||S=="value"||S[0]=="$"?y[S]=O:S==="ref"?d&&(d[O]=y):S==="style"?typeof O=="string"&&(y.style.cssText=O):O!=null&&y.setAttribute(S,O)}),l&&l.appendChild(y),y},h.getDocumentHead=function(i){return i||(i=document),i.head||i.getElementsByTagName("head")[0]||i.documentElement},h.createElement=function(i,r){return document.createElementNS?document.createElementNS(r||a,i):document.createElement(i)},h.removeChildren=function(i){i.innerHTML=""},h.createTextNode=function(i,r){var l=r?r.ownerDocument:document;return l.createTextNode(i)},h.createFragment=function(i){var r=i?i.ownerDocument:document;return r.createDocumentFragment()},h.hasCssClass=function(i,r){var l=(i.className+"").split(/\s+/g);return l.indexOf(r)!==-1},h.addCssClass=function(i,r){h.hasCssClass(i,r)||(i.className+=" "+r)},h.removeCssClass=function(i,r){for(var l=i.className.split(/\s+/g);;){var d=l.indexOf(r);if(d==-1)break;l.splice(d,1)}i.className=l.join(" ")},h.toggleCssClass=function(i,r){for(var l=i.className.split(/\s+/g),d=!0;;){var p=l.indexOf(r);if(p==-1)break;d=!1,l.splice(p,1)}return d&&l.push(r),i.className=l.join(" "),d},h.setCssClass=function(i,r,l){l?h.addCssClass(i,r):h.removeCssClass(i,r)},h.hasCssString=function(i,r){var l=0,d;if(r=r||document,d=r.querySelectorAll("style")){for(;l<d.length;)if(d[l++].id===i)return!0}},h.removeElementById=function(i,r){r=r||document,r.getElementById(i)&&r.getElementById(i).remove()};var f,n=[];h.useStrictCSP=function(i){f=i,i==!1?c():n||(n=[])};function c(){var i=n;n=null,i&&i.forEach(function(r){o(r[0],r[1])})}function o(i,r,l){if(!(typeof document>"u")){if(n){if(l)c();else if(l===!1)return n.push([i,r])}if(!f){var d=l;!l||!l.getRootNode?d=document:(d=l.getRootNode(),(!d||d==l)&&(d=document));var p=d.ownerDocument||d;if(r&&h.hasCssString(r,d))return null;r&&(i+=`
|
|
38
38
|
/*# sourceURL=ace/css/`+r+" */");var v=h.createElement("style");v.appendChild(p.createTextNode(i)),r&&(v.id=r),d==p&&(d=h.getDocumentHead(p)),d.insertBefore(v,d.firstChild)}}}if(h.importCssString=o,h.importCssStylsheet=function(i,r){h.buildDom(["link",{rel:"stylesheet",href:i}],h.getDocumentHead(r))},h.$fixPositionBug=function(i){var r=i.getBoundingClientRect();if(i.style.left){var l=parseFloat(i.style.left),d=+r.left;Math.abs(l-d)>1&&(i.style.left=2*l-d+"px")}if(i.style.right){var l=parseFloat(i.style.right),d=window.innerWidth-r.right;Math.abs(l-d)>1&&(i.style.right=2*l-d+"px")}if(i.style.top){var l=parseFloat(i.style.top),d=+r.top;Math.abs(l-d)>1&&(i.style.top=2*l-d+"px")}if(i.style.bottom){var l=parseFloat(i.style.bottom),d=window.innerHeight-r.bottom;Math.abs(l-d)>1&&(i.style.bottom=2*l-d+"px")}},h.scrollbarWidth=function(i){var r=h.createElement("ace_inner");r.style.width="100%",r.style.minWidth="0px",r.style.height="200px",r.style.display="block";var l=h.createElement("ace_outer"),d=l.style;d.position="absolute",d.left="-10000px",d.overflow="hidden",d.width="200px",d.minWidth="0px",d.height="150px",d.display="block",l.appendChild(r);var p=i&&i.documentElement||document&&document.documentElement;if(!p)return 0;p.appendChild(l);var v=r.offsetWidth;d.overflow="scroll";var b=r.offsetWidth;return v===b&&(b=l.clientWidth),p.removeChild(l),v-b},h.computedStyle=function(i,r){return window.getComputedStyle(i,"")||{}},h.setStyle=function(i,r,l){i[r]!==l&&(i[r]=l)},h.HAS_CSS_ANIMATION=!1,h.HAS_CSS_TRANSFORMS=!1,h.HI_DPI=m.isWin?typeof window<"u"&&window.devicePixelRatio>=1.5:!0,m.isChromeOS&&(h.HI_DPI=!1),typeof document<"u"){var s=document.createElement("div");h.HI_DPI&&s.style.transform!==void 0&&(h.HAS_CSS_TRANSFORMS=!0),!m.isEdge&&typeof s.style.animationName<"u"&&(h.HAS_CSS_ANIMATION=!0),s=null}h.HAS_CSS_TRANSFORMS?h.translate=function(i,r,l){i.style.transform="translate("+Math.round(r)+"px, "+Math.round(l)+"px)"}:h.translate=function(i,r,l){i.style.top=Math.round(l)+"px",i.style.left=Math.round(r)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(e,h,g){var m=e("./dom");h.get=function(a,f){var n=new XMLHttpRequest;n.open("GET",a,!0),n.onreadystatechange=function(){n.readyState===4&&f(n.responseText)},n.send(null)},h.loadScript=function(a,f){var n=m.getDocumentHead(),c=document.createElement("script");c.src=a,n.appendChild(c),c.onload=c.onreadystatechange=function(o,s){(s||!c.readyState||c.readyState=="loaded"||c.readyState=="complete")&&(c=c.onload=c.onreadystatechange=null,s||f())}},h.qualifyURL=function(a){var f=document.createElement("a");return f.href=a,f.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(e,h,g){h.inherits=function(m,a){m.super_=a,m.prototype=Object.create(a.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}})},h.mixin=function(m,a){for(var f in a)m[f]=a[f];return m},h.implement=function(m,a){h.mixin(m,a)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(e,h,g){var m={},a=function(){this.propagationStopped=!0},f=function(){this.defaultPrevented=!0};m._emit=m._dispatchEvent=function(n,c){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var o=this._eventRegistry[n]||[],s=this._defaultHandlers[n];if(!(!o.length&&!s)){(typeof c!="object"||!c)&&(c={}),c.type||(c.type=n),c.stopPropagation||(c.stopPropagation=a),c.preventDefault||(c.preventDefault=f),o=o.slice();for(var i=0;i<o.length&&(o[i](c,this),!c.propagationStopped);i++);if(s&&!c.defaultPrevented)return s(c,this)}},m._signal=function(n,c){var o=(this._eventRegistry||{})[n];if(o){o=o.slice();for(var s=0;s<o.length;s++)o[s](c,this)}},m.once=function(n,c){var o=this;if(this.on(n,function s(){o.off(n,s),c.apply(null,arguments)}),!c)return new Promise(function(s){c=s})},m.setDefaultHandler=function(n,c){var o=this._defaultHandlers;if(o||(o=this._defaultHandlers={_disabled_:{}}),o[n]){var s=o[n],i=o._disabled_[n];i||(o._disabled_[n]=i=[]),i.push(s);var r=i.indexOf(c);r!=-1&&i.splice(r,1)}o[n]=c},m.removeDefaultHandler=function(n,c){var o=this._defaultHandlers;if(o){var s=o._disabled_[n];if(o[n]==c)s&&this.setDefaultHandler(n,s.pop());else if(s){var i=s.indexOf(c);i!=-1&&s.splice(i,1)}}},m.on=m.addEventListener=function(n,c,o){this._eventRegistry=this._eventRegistry||{};var s=this._eventRegistry[n];return s||(s=this._eventRegistry[n]=[]),s.indexOf(c)==-1&&s[o?"unshift":"push"](c),c},m.off=m.removeListener=m.removeEventListener=function(n,c){this._eventRegistry=this._eventRegistry||{};var o=this._eventRegistry[n];if(o){var s=o.indexOf(c);s!==-1&&o.splice(s,1)}},m.removeAllListeners=function(n){n||(this._eventRegistry=this._defaultHandlers=void 0),this._eventRegistry&&(this._eventRegistry[n]=void 0),this._defaultHandlers&&(this._defaultHandlers[n]=void 0)},h.EventEmitter=m}),ace.define("ace/lib/report_error",["require","exports","module"],function(e,h,g){h.reportError=function(a,f){var n=new Error(a);n.data=f,typeof console=="object"&&console.error&&console.error(n),setTimeout(function(){throw n})}}),ace.define("ace/lib/default_english_messages",["require","exports","module"],function(e,h,g){var m={"autocomplete.popup.aria-roledescription":"Autocomplete suggestions","autocomplete.popup.aria-label":"Autocomplete suggestions","autocomplete.popup.item.aria-roledescription":"item","autocomplete.loading":"Loading...","editor.scroller.aria-roledescription":"editor","editor.scroller.aria-label":"Editor content, press Enter to start editing, press Escape to exit","editor.gutter.aria-roledescription":"editor gutter","editor.gutter.aria-label":"Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit","error-marker.good-state":"Looks good!","prompt.recently-used":"Recently used","prompt.other-commands":"Other commands","prompt.no-matching-commands":"No matching commands","search-box.find.placeholder":"Search for","search-box.find-all.text":"All","search-box.replace.placeholder":"Replace with","search-box.replace-next.text":"Replace","search-box.replace-all.text":"All","search-box.toggle-replace.title":"Toggle Replace mode","search-box.toggle-regexp.title":"RegExp Search","search-box.toggle-case.title":"CaseSensitive Search","search-box.toggle-whole-word.title":"Whole Word Search","search-box.toggle-in-selection.title":"Search In Selection","search-box.search-counter":"$0 of $1","text-input.aria-roledescription":"editor","text-input.aria-label":"Cursor at row $0","gutter.code-folding.range.aria-label":"Toggle code folding, rows $0 through $1","gutter.code-folding.closed.aria-label":"Toggle code folding, rows $0 through $1","gutter.code-folding.open.aria-label":"Toggle code folding, row $0","gutter.code-folding.closed.title":"Unfold code","gutter.code-folding.open.title":"Fold code","gutter.annotation.aria-label.error":"Error, read annotations row $0","gutter.annotation.aria-label.warning":"Warning, read annotations row $0","gutter.annotation.aria-label.info":"Info, read annotations row $0","inline-fold.closed.title":"Unfold code","gutter-tooltip.aria-label.error.singular":"error","gutter-tooltip.aria-label.error.plural":"errors","gutter-tooltip.aria-label.warning.singular":"warning","gutter-tooltip.aria-label.warning.plural":"warnings","gutter-tooltip.aria-label.info.singular":"information message","gutter-tooltip.aria-label.info.plural":"information messages","gutter.annotation.aria-label.security":"Security finding, read annotations row $0","gutter.annotation.aria-label.hint":"Suggestion, read annotations row $0","gutter-tooltip.aria-label.security.singular":"security finding","gutter-tooltip.aria-label.security.plural":"security findings","gutter-tooltip.aria-label.hint.singular":"suggestion","gutter-tooltip.aria-label.hint.plural":"suggestions","editor.tooltip.disable-editing":"Editing is disabled"};h.defaultEnglishMessages=m}),ace.define("ace/lib/app_config",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/lib/report_error","ace/lib/default_english_messages"],function(e,h,g){"no use strict";var m=e("./oop"),a=e("./event_emitter").EventEmitter,f=e("./report_error").reportError,n=e("./default_english_messages").defaultEnglishMessages,c={setOptions:function(l){Object.keys(l).forEach(function(d){this.setOption(d,l[d])},this)},getOptions:function(l){var d={};if(l)Array.isArray(l)||(l=Object.keys(l));else{var p=this.$options;l=Object.keys(p).filter(function(v){return!p[v].hidden})}return l.forEach(function(v){d[v]=this.getOption(v)},this),d},setOption:function(l,d){if(this["$"+l]!==d){var p=this.$options[l];if(!p)return o('misspelled option "'+l+'"');if(p.forwardTo)return this[p.forwardTo]&&this[p.forwardTo].setOption(l,d);p.handlesSet||(this["$"+l]=d),p&&p.set&&p.set.call(this,d)}},getOption:function(l){var d=this.$options[l];return d?d.forwardTo?this[d.forwardTo]&&this[d.forwardTo].getOption(l):d&&d.get?d.get.call(this):this["$"+l]:o('misspelled option "'+l+'"')}};function o(l){typeof console<"u"&&console.warn&&console.warn.apply(console,arguments)}var s,i,r=(function(){function l(){this.$defaultOptions={},s=n,i="dollarSigns"}return l.prototype.defineOptions=function(d,p,v){return d.$options||(this.$defaultOptions[p]=d.$options={}),Object.keys(v).forEach(function(b){var w=v[b];typeof w=="string"&&(w={forwardTo:w}),w.name||(w.name=b),d.$options[w.name]=w,"initialValue"in w&&(d["$"+w.name]=w.initialValue)}),m.implement(d,c),this},l.prototype.resetOptions=function(d){Object.keys(d.$options).forEach(function(p){var v=d.$options[p];"value"in v&&d.setOption(p,v.value)})},l.prototype.setDefaultValue=function(d,p,v){if(!d){for(d in this.$defaultOptions)if(this.$defaultOptions[d][p])break;if(!this.$defaultOptions[d][p])return!1}var b=this.$defaultOptions[d]||(this.$defaultOptions[d]={});b[p]&&(b.forwardTo?this.setDefaultValue(b.forwardTo,p,v):b[p].value=v)},l.prototype.setDefaultValues=function(d,p){Object.keys(p).forEach(function(v){this.setDefaultValue(d,v,p[v])},this)},l.prototype.setMessages=function(d,p){s=d,p&&p.placeholders&&(i=p.placeholders)},l.prototype.nls=function(d,p,v){s[d]||(o("No message found for the key '"+d+"' in messages with id "+s.$id+", trying to find a translation for the default string '"+p+"'."),s[p]||o("No message found for the default string '"+p+"' in the provided messages. Falling back to the default English message."));var b=s[d]||s[p]||p;return v&&(i==="dollarSigns"&&(b=b.replace(/\$(\$|[\d]+)/g,function(w,y){return y=="$"?"$":v[y]})),i==="curlyBrackets"&&(b=b.replace(/\{([^\}]+)\}/g,function(w,y){return v[y]}))),b},l})();r.prototype.warn=o,r.prototype.reportError=f,m.implement(r.prototype,a),h.AppConfig=r}),ace.define("ace/theme/textmate-css",["require","exports","module"],function(e,h,g){g.exports=`.ace-tm .ace_gutter {
|
|
39
39
|
background: #f0f0f0;
|
|
40
40
|
color: #333;
|
|
@@ -1303,7 +1303,7 @@
|
|
|
1303
1303
|
} else {
|
|
1304
1304
|
callback(); //pass
|
|
1305
1305
|
}
|
|
1306
|
-
*/`),this.showWidgetEventDialogFlag=!0},saveEventHandler(){const t=this.$refs.ecEditor.getEditorAnnotations();let u=!1;if(t&&t.length>0&&(t.forEach(e=>{e.type==="error"&&(u=!0)}),u)){this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));return}this.selectedWidget.options[this.curEventName]=this.eventHandlerCode,this.showWidgetEventDialogFlag=!1}}},_hoisted_1$g={key:0,class:""},_hoisted_2$e={class:"dialog-footer"};function _sfc_render$n(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-collapse-item"),f=require$$0.resolveComponent("el-collapse"),n=require$$0.resolveComponent("el-form"),c=require$$0.resolveComponent("el-scrollbar"),o=require$$0.resolveComponent("el-tab-pane"),s=require$$0.resolveComponent("form-setting"),i=require$$0.resolveComponent("el-tabs"),r=require$$0.resolveComponent("el-alert"),l=require$$0.resolveComponent("code-editor"),d=require$$0.resolveComponent("el-button"),p=require$$0.resolveComponent("el-dialog"),v=require$$0.resolveComponent("el-container"),b=require$$0.resolveDirective("drag");return require$$0.openBlock(),require$$0.createBlock(v,{class:"panel-container"},{default:require$$0.withCtx(()=>[require$$0.createVNode(i,{modelValue:g.activeTab,"onUpdate:modelValue":u[4]||(u[4]=w=>g.activeTab=w),style:{height:"100%",width:"100%",overflow:"hidden"}},{default:require$$0.withCtx(()=>[require$$0.createVNode(o,{label:t.i18nt("designer.hint.widgetSetting"),name:"1"},{default:require$$0.withCtx(()=>[require$$0.createVNode(c,{class:"setting-scrollbar",style:require$$0.normalizeStyle({height:g.scrollerHeight})},{default:require$$0.withCtx(()=>[e.designer.selectedWidget&&!e.designer.selectedWidget.category?(require$$0.openBlock(),require$$0.createBlock(n,{key:0,model:m.optionModel,size:"small","label-position":"left","label-width":"120px",class:"setting-form",onSubmit:u[1]||(u[1]=require$$0.withModifiers(()=>{},["prevent"]))},{default:require$$0.withCtx(()=>[require$$0.createVNode(f,{modelValue:g.widgetActiveCollapseNames,"onUpdate:modelValue":u[0]||(u[0]=w=>g.widgetActiveCollapseNames=w),class:"setting-collapse"},{default:require$$0.withCtx(()=>[m.showCollapse(g.commonProps)?(require$$0.openBlock(),require$$0.createBlock(a,{key:0,name:"1",title:t.i18nt("designer.setting.commonSetting")},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.commonProps,(w,y)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[m.hasPropEditor(y,w)?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getPropEditor(y,w)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":m.optionModel},null,8,["designer","selected-widget","option-model"])):require$$0.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):require$$0.createCommentVNode("",!0),m.showCollapse(g.advProps)?(require$$0.openBlock(),require$$0.createBlock(a,{key:1,name:"2",title:t.i18nt("designer.setting.advancedSetting")},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.advProps,(w,y)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[m.hasPropEditor(y,w)?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getPropEditor(y,w)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":m.optionModel},null,8,["designer","selected-widget","option-model"])):require$$0.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):require$$0.createCommentVNode("",!0),m.showEventCollapse()&&m.showCollapse(g.eventProps)?(require$$0.openBlock(),require$$0.createBlock(a,{key:2,name:"3",title:t.i18nt("designer.setting.eventSetting")},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.eventProps,(w,y)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[m.hasPropEditor(y,w)?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getPropEditor(y,w)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":m.optionModel},null,8,["designer","selected-widget","option-model"])):require$$0.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):require$$0.createCommentVNode("",!0)]),_:1},8,["modelValue"])]),_:1},8,["model"])):require$$0.createCommentVNode("",!0),e.designer.selectedWidget&&e.designer.selectedWidget.category?(require$$0.openBlock(),require$$0.createBlock(n,{key:1,model:m.optionModel,size:"small","label-position":"left","label-width":"120px",class:"setting-form",onSubmit:u[3]||(u[3]=require$$0.withModifiers(()=>{},["prevent"]))},{default:require$$0.withCtx(()=>[require$$0.createVNode(f,{modelValue:g.widgetActiveCollapseNames,"onUpdate:modelValue":u[2]||(u[2]=w=>g.widgetActiveCollapseNames=w),class:"setting-collapse"},{default:require$$0.withCtx(()=>[m.showCollapse(g.commonProps)?(require$$0.openBlock(),require$$0.createBlock(a,{key:0,name:"1",title:t.i18nt("designer.setting.commonSetting")},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.commonProps,(w,y)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[m.hasPropEditor(y,w)?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getPropEditor(y,w)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":m.optionModel},null,8,["designer","selected-widget","option-model"])):require$$0.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):require$$0.createCommentVNode("",!0),m.showCollapse(g.advProps)?(require$$0.openBlock(),require$$0.createBlock(a,{key:1,name:"2",title:t.i18nt("designer.setting.advancedSetting")},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.advProps,(w,y)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[m.hasPropEditor(y,w)?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getPropEditor(y,w)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":m.optionModel},null,8,["designer","selected-widget","option-model"])):require$$0.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):require$$0.createCommentVNode("",!0),m.showEventCollapse()&&m.showCollapse(g.eventProps)?(require$$0.openBlock(),require$$0.createBlock(a,{key:2,name:"3",title:t.i18nt("designer.setting.eventSetting")},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.eventProps,(w,y)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[m.hasPropEditor(y,w)?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getPropEditor(y,w)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":m.optionModel},null,8,["designer","selected-widget","option-model"])):require$$0.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):require$$0.createCommentVNode("",!0)]),_:1},8,["modelValue"])]),_:1},8,["model"])):require$$0.createCommentVNode("",!0)]),_:1},8,["style"])]),_:1},8,["label"]),e.designer?(require$$0.openBlock(),require$$0.createBlock(o,{key:0,label:t.i18nt("designer.hint.formSetting"),name:"2"},{default:require$$0.withCtx(()=>[require$$0.createVNode(c,{class:"setting-scrollbar",style:require$$0.normalizeStyle({height:g.scrollerHeight})},{default:require$$0.withCtx(()=>[require$$0.createVNode(s,{designer:e.designer,"form-config":e.formConfig},null,8,["designer","form-config"])]),_:1},8,["style"])]),_:1},8,["label"])):require$$0.createCommentVNode("",!0)]),_:1},8,["modelValue"]),g.showWidgetEventDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_1$g,[require$$0.createVNode(p,{title:t.i18nt("designer.setting.editWidgetEventHandler"),modelValue:g.showWidgetEventDialogFlag,"onUpdate:modelValue":u[7]||(u[7]=w=>g.showWidgetEventDialogFlag=w),"show-close":!0,class:"drag-dialog small-padding-dialog","append-to-body":"","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_2$e,[require$$0.createVNode(d,{onClick:u[6]||(u[6]=w=>g.showWidgetEventDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.cancel")),1)]),_:1}),require$$0.createVNode(d,{type:"primary",onClick:m.saveEventHandler},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.confirm")),1)]),_:1},8,["onClick"])])]),default:require$$0.withCtx(()=>[require$$0.createVNode(r,{type:"info",closable:!1,title:g.eventHeader},null,8,["title"]),require$$0.createVNode(l,{mode:"javascript",readonly:!1,modelValue:g.eventHandlerCode,"onUpdate:modelValue":u[5]||(u[5]=w=>g.eventHandlerCode=w),ref:"ecEditor"},null,8,["modelValue"]),require$$0.createVNode(r,{type:"info",closable:!1,title:"}"})]),_:1},8,["title","modelValue"])])),[[b,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0)]),_:1})}const SettingPanel=_export_sfc$1(_sfc_main$n,[["render",_sfc_render$n],["__scopeId","data-v-01a85591"]]),_sfc_main$m={name:"container-item-wrapper",props:{widget:Object},computed:{customClass(){return this.widget.options.customClass?this.widget.options.customClass.join(" "):""}}};function _sfc_render$m(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("div",{class:require$$0.normalizeClass(["container-wrapper",[m.customClass]])},[require$$0.renderSlot(t.$slots,"default")],2)}const ContainerItemWrapper=_export_sfc$1(_sfc_main$m,[["render",_sfc_render$m]]),__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:ContainerItemWrapper},Symbol.toStringTag,{value:"Module"})),refMixin={methods:{initRefList(){this.refList!==null&&this.widget.options.name&&(this.refList[this.widget.options.name]=this)},getWidgetRef(t,u){let e=this.refList[t];return!e&&u&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},getFormRef(){return this.refList.v_form_ref},getComponentByContainer(t){return t.type==="grid"?"vf-grid-item":t.type+"-item"}}},_sfc_main$l={name:"GridColItem",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin],components:{...comps$1},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,colHeight:{type:String,default:null}},inject:["refList","globalModel","getFormConfig","previewState"],data(){return{layoutProps:{span:this.widget.options.span,md:this.widget.options.md||12,sm:this.widget.options.sm||12,xs:this.widget.options.xs||12,offset:this.widget.options.offset||0,push:this.widget.options.push||0,pull:this.widget.options.pull||0}}},computed:{formConfig(){return this.getFormConfig()},customClass(){return this.widget.options.customClass||""},colHeightStyle(){return this.colHeight?{height:this.colHeight+"px"}:{}}},created(){this.initLayoutProps(),this.initRefList()},methods:{initLayoutProps(){if(this.widget.options.responsive)if(this.previewState){this.layoutProps.md=void 0,this.layoutProps.sm=void 0,this.layoutProps.xs=void 0;let t=this.formConfig.layoutType;t==="H5"?this.layoutProps.span=this.widget.options.xs||12:t==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12}else this.layoutProps.span=void 0;else this.layoutProps.md=void 0,this.layoutProps.sm=void 0,this.layoutProps.xs=void 0}}},_hoisted_1$f={class:"blank-cell"},_hoisted_2$d={class:"invisible-content"};function _sfc_render$l(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-col");return require$$0.withDirectives((require$$0.openBlock(),require$$0.createBlock(a,require$$0.mergeProps({class:["grid-cell",[m.customClass]]},g.layoutProps,{style:m.colHeightStyle,key:e.widget.id}),{default:require$$0.withCtx(()=>[e.widget.widgetList&&e.widget.widgetList.length>0?(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,{key:0},require$$0.renderList(e.widget.widgetList,(f,n)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[f.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(t.getComponentByContainer(f)),{widget:f,key:n,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),c=>({name:c,fn:require$$0.withCtx(o=>[require$$0.renderSlot(t.$slots,c,require$$0.mergeProps({ref_for:!0},o),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(f.type+"-widget"),{field:f,designer:null,key:n,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),c=>({name:c,fn:require$$0.withCtx(o=>[require$$0.renderSlot(t.$slots,c,require$$0.mergeProps({ref_for:!0},o),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256)):(require$$0.openBlock(),require$$0.createBlock(a,{key:1},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_1$f,[require$$0.createElementVNode("span",_hoisted_2$d,require$$0.toDisplayString(t.i18nt("render.hint.blankCellContent")),1)])]),_:1}))]),_:3},16,["class","style"])),[[require$$0.vShow,!e.widget.options.hidden]])}const GridColItem=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$l],["__scopeId","data-v-24fe6568"]]),__vite_glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:GridColItem},Symbol.toStringTag,{value:"Module"})),containerItemMixin={inject:["getFormConfig","getGlobalDsv"],computed:{customClass(){return this.widget.options.customClass||""},formModel:{cache:!1,get(){return this.globalModel.formModel}}},mounted(){this.callSetHidden()},methods:{unregisterFromRefList(){if(this.refList!==null&&this.widget.options.name){let t=this.widget.options.name;delete this.refList[t]}},callSetHidden(){this.widget.options.hidden===!0&&this.setHidden(!0)},setHidden(t){this.widget.options.hidden=t;let u=e=>{let h=e.options.name,g=this.getWidgetRef(h);t&&g&&g.clearFieldRules&&g.clearFieldRules(),!t&&g&&g.buildFieldRules&&g.buildFieldRules()};traverseFieldWidgetsOfContainer(this.widget,u)},activeTab(t){t>=0&&t<this.widget.tabs.length&&this.widget.tabs.forEach((u,e)=>{u.options.active=e===t,e===t&&(this.activeTabName=u.options.name)})},disableTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.disabled=!0)},enableTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.disabled=!1)},hideTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.hidden=!0)},showTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.hidden=!1)},setWidgetOption(t,u){this.widget.options.hasOwnProperty(t)&&(this.widget.options[t]=u)},getSubFormRowCount(){return this.rowIdData?this.rowIdData.length:0},disableSubFormRow(t){this.widget.widgetList.forEach(u=>{let e=u.options.name+"@row"+this.rowIdData[t],h=this.getWidgetRef(e);h&&h.setDisabled(!0)})},enableSubFormRow(t){this.widget.widgetList.forEach(u=>{let e=u.options.name+"@row"+this.rowIdData[t],h=this.getWidgetRef(e);h&&h.setDisabled(!1)})},disableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((t,u)=>{this.disableSubFormRow(u)}),this.actionDisabled=!0},enableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((t,u)=>{this.enableSubFormRow(u)}),this.actionDisabled=!1},resetSubForm(){if(this.widget.type==="sub-form"){let t=this.formModel[this.widget.options.name];t&&(t.splice(0,t.length),this.rowIdData.splice(0,this.rowIdData.length)),this.widget.options.showBlankRow&&this.addSubFormRow()}},getSubFormValues(t=!0){if(this.widget.type==="sub-form")return this.formModel[this.widget.options.name];this.$message.error(this.i18nt("render.hint.nonSubFormType"))},addCssClass(t){this.widget.options.customClass?this.widget.options.customClass.push(t):this.widget.options.customClass=[t]},removeCssClass(t){if(!this.widget.options.customClass)return;let u=-1;this.widget.options.customClass.map((e,h)=>{e===t&&(u=h)}),u>-1&&this.widget.options.customClass.splice(u,1)}}},_sfc_main$k={name:"vf-grid-item",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin,containerItemMixin],components:{ContainerItemWrapper,GridColItem},props:{widget:Object},inject:["refList","sfRefList","globalModel"],created(){this.initRefList()},mounted(){},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$k(t,u,e,h,g,m){const a=require$$0.resolveComponent("grid-col-item"),f=require$$0.resolveComponent("el-row"),n=require$$0.resolveComponent("container-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(n,{widget:e.widget},{default:require$$0.withCtx(()=>[require$$0.withDirectives((require$$0.openBlock(),require$$0.createBlock(f,{key:e.widget.id,gutter:e.widget.options.gutter,class:require$$0.normalizeClass(["grid-container",[t.customClass]]),ref:e.widget.id},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.cols,(c,o)=>(require$$0.openBlock(),require$$0.createBlock(a,{key:o,widget:c,"parent-list":e.widget.cols,"index-of-parent-list":o,"parent-widget":e.widget,"col-height":e.widget.options.colHeight},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),s=>({name:s,fn:require$$0.withCtx(i=>[require$$0.renderSlot(t.$slots,s,require$$0.mergeProps({ref_for:!0},i))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget","col-height"]))),128))]),_:3},8,["gutter","class"])),[[require$$0.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}const gridItem=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$k]]),__vite_glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:gridItem},Symbol.toStringTag,{value:"Module"})),_sfc_main$j={name:"sub-form-item",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin,containerItemMixin],components:{ContainerItemWrapper,...comps$1,SvgIcon},props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{rowIdData:[],fieldSchemaData:[],actionDisabled:!1}},created(){this.initRefList(),this.registerSubFormToRefList(),this.initRowIdData(!0),this.initFieldSchemaData(),this.initEventHandler()},mounted(){this.handleSubFormFirstRowAdd()},beforeUnmount(){this.unregisterFromRefList()},methods:{getLabelAlign(t,u){return u.options.labelAlign||t.options.labelAlign},registerSubFormToRefList(){this.widget.type==="sub-form"&&(this.sfRefList[this.widget.options.name]=this)},initRowIdData(t){if(this.widget.type==="sub-form"){this.rowIdData.splice(0,this.rowIdData.length);let u=this.formModel[this.widget.options.name];u&&u.length>0&&(u.forEach(()=>{this.rowIdData.push("id"+generateId())}),t&&setTimeout(()=>{this.handleSubFormRowChange(u)},800))}},addToRowIdData(){this.rowIdData.push("id"+generateId())},insertToRowIdData(t){this.rowIdData.splice(t,0,"id"+generateId())},deleteFromRowIdData(t){this.rowIdData.splice(t,1)},getRowIdData(){return this.rowIdData},getWidgetRefOfSubForm(t,u){let e=t+"@row"+this.rowIdData[u];return this.getWidgetRef(e)},initFieldSchemaData(){if(this.widget.type!=="sub-form")return;let t=this.rowIdData.length;if(this.fieldSchemaData.splice(0,this.fieldSchemaData.length),t>0)for(let u=0;u<t;u++){let e=[];this.widget.widgetList.forEach(h=>{e.push(this.cloneFieldSchema(h))}),this.fieldSchemaData.push(e)}},addToFieldSchemaData(t){let u=[];this.widget.widgetList.forEach(e=>{u.push(this.cloneFieldSchema(e))}),t===void 0?this.fieldSchemaData.push(u):this.fieldSchemaData.splice(t,0,u)},deleteFromFieldSchemaData(t){this.fieldSchemaData.splice(t,1)},cloneFieldSchema(t){let u=deepClone(t);return u.id=t.type+generateId(),u},initEventHandler(){this.widget.type==="sub-form"&&this.on$("setFormData",t=>{this.initRowIdData(!1),this.initFieldSchemaData();let u=t[this.widget.options.name]||[];setTimeout(()=>{this.handleSubFormRowChange(u)},800)})},handleSubFormFirstRowAdd(){if(this.widget.type==="sub-form"&&this.widget.options.showBlankRow&&this.rowIdData.length===1){let t=this.formModel[this.widget.options.name]||[];this.handleSubFormRowAdd(t,this.rowIdData[0]),this.handleSubFormRowChange(t)}},addSubFormRow(){let t={};this.widget.widgetList.forEach(e=>{e.formItemFlag&&(t[e.options.name]=e.options.defaultValue)});let u=this.formModel[this.widget.options.name]||[];u.push(t),this.addToRowIdData(),this.addToFieldSchemaData(),this.handleSubFormRowAdd(u,this.rowIdData[u.length-1]),this.handleSubFormRowChange(u)},insertSubFormRow(t){let u={};this.widget.widgetList.forEach(h=>{h.formItemFlag&&(u[h.options.name]=h.options.defaultValue)});let e=this.formModel[this.widget.options.name]||[];e.splice(t,0,u),this.insertToRowIdData(t),this.addToFieldSchemaData(t),this.handleSubFormRowInsert(e,this.rowIdData[t]),this.handleSubFormRowChange(e)},deleteSubFormRow(t){this.$confirm(this.i18nt("render.hint.deleteSubFormRow")+"?",this.i18nt("render.hint.prompt"),{confirmButtonText:this.i18nt("render.hint.confirm"),cancelButtonText:this.i18nt("render.hint.cancel")}).then(()=>{let u=this.formModel[this.widget.options.name]||[],e=deepClone(u[t]);u.splice(t,1),this.deleteFromRowIdData(t),this.deleteFromFieldSchemaData(t),this.handleSubFormRowDelete(u,e),this.handleSubFormRowChange(u)}).catch(()=>{})},handleSubFormRowChange(t){this.widget.options.onSubFormRowChange&&new Function("subFormData",this.widget.options.onSubFormRowChange).call(this,t)},handleSubFormRowAdd(t,u){this.widget.options.onSubFormRowAdd&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowAdd).call(this,t,u)},handleSubFormRowInsert(t,u){this.widget.options.onSubFormRowInsert&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowInsert).call(this,t,u)},handleSubFormRowDelete(t,u){this.widget.options.onSubFormRowDelete&&new Function("subFormData","deletedDataRow",this.widget.options.onSubFormRowDelete).call(this,t,u)}}},_hoisted_1$e={class:"action-header-column"},_hoisted_2$c={class:"action-label"},_hoisted_3$b={key:0,class:"custom-label"},_hoisted_4$4=["title"],_hoisted_5$3={class:"sub-form-action-column hide-label"},_hoisted_6$2={class:"action-button-column"},_hoisted_7$2={key:0,class:"row-number-span"};function _sfc_render$j(t,u,e,h,g,m){const a=require$$0.resolveComponent("svg-icon"),f=require$$0.resolveComponent("el-button"),n=require$$0.resolveComponent("el-tooltip"),c=require$$0.resolveComponent("el-row"),o=require$$0.resolveComponent("container-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(o,{widget:e.widget},{default:require$$0.withCtx(()=>[require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",{key:e.widget.id,class:"sub-form-container"},[require$$0.createVNode(c,{class:"header-row"},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_1$e,[require$$0.createElementVNode("span",_hoisted_2$c,require$$0.toDisplayString(t.i18nt("render.hint.subFormAction")),1),require$$0.createVNode(f,{disabled:g.actionDisabled,round:"",type:"primary",size:"small",class:"action-button",onClick:m.addSubFormRow,title:t.i18nt("render.hint.subFormAddActionHint")},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("render.hint.subFormAddAction")),1),require$$0.createVNode(a,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"])]),(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.widgetList,s=>(require$$0.openBlock(),require$$0.createElementBlock("div",{key:s.id+"thc",class:require$$0.normalizeClass(["field-header-column",[m.getLabelAlign(e.widget,s),s.options.required?"is-required":""]]),style:require$$0.normalizeStyle({width:s.options.columnWidth})},[s.options.labelIconClass?(require$$0.openBlock(),require$$0.createElementBlock("span",_hoisted_3$b,[s.options.labelIconPosition==="front"?(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,{key:0},[s.options.labelTooltip?(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,{key:0},[require$$0.createVNode(n,{content:s.options.labelTooltip,effect:"light"},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":s.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"]),require$$0.createTextVNode(require$$0.toDisplayString(s.options.label),1)],64)):(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,{key:1},[require$$0.createVNode(a,{"icon-class":s.options.labelIconClass},null,8,["icon-class"]),require$$0.createTextVNode(require$$0.toDisplayString(s.options.label),1)],64))],64)):s.options.labelIconPosition==="rear"?(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,{key:1},[s.options.labelTooltip?(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,{key:0},[require$$0.createTextVNode(require$$0.toDisplayString(s.options.label),1),require$$0.createVNode(n,{content:s.options.labelTooltip,effect:"light"},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":s.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"])],64)):(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,{key:1},[require$$0.createTextVNode(require$$0.toDisplayString(s.options.label),1),require$$0.createVNode(a,{"icon-class":s.options.labelIconClass},null,8,["icon-class"])],64))],64)):require$$0.createCommentVNode("",!0)])):(require$$0.openBlock(),require$$0.createElementBlock("span",{key:1,title:s.options.labelTooltip},require$$0.toDisplayString(s.options.label),9,_hoisted_4$4))],6))),128))]),_:1}),(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.rowIdData,(s,i)=>(require$$0.openBlock(),require$$0.createBlock(c,{class:"sub-form-row",key:s},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_5$3,[require$$0.createElementVNode("div",_hoisted_6$2,[require$$0.createVNode(f,{disabled:g.actionDisabled,circle:"",onClick:r=>m.insertSubFormRow(i),title:t.i18nt("render.hint.insertSubFormRow")},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"]),require$$0.createVNode(f,{disabled:g.actionDisabled,circle:"",onClick:r=>m.deleteSubFormRow(i),title:t.i18nt("render.hint.deleteSubFormRow")},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"el-delete"})]),_:1},8,["disabled","onClick","title"]),e.widget.options.showRowNumber?(require$$0.openBlock(),require$$0.createElementBlock("span",_hoisted_7$2,"#"+require$$0.toDisplayString(i+1),1)):require$$0.createCommentVNode("",!0)])]),(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.widgetList,(r,l)=>(require$$0.openBlock(),require$$0.createElementBlock("div",{key:r.id+"tc"+s,class:"sub-form-table-column hide-label",style:require$$0.normalizeStyle({width:r.options.columnWidth})},[(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(r.type+"-widget"),{field:g.fieldSchemaData[i][l],key:g.fieldSchemaData[i][l].id,"parent-list":e.widget.widgetList,"index-of-parent-list":l,"parent-widget":e.widget,"sub-form-row-id":s,"sub-form-row-index":i,"sub-form-col-index":l},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))])),[[require$$0.vShow,!e.widget.options.hidden]])]),_:1},8,["widget"])}const subFormItem=_export_sfc$1(_sfc_main$j,[["render",_sfc_render$j],["__scopeId","data-v-22c878a6"]]),__vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:subFormItem},Symbol.toStringTag,{value:"Module"})),_sfc_main$i={name:"tab-item",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin,containerItemMixin],components:{ContainerItemWrapper,...comps$1},props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{activeTabName:""}},computed:{visibleTabs(){return this.widget.tabs.filter(t=>!t.options.hidden)}},created(){this.initRefList()},mounted(){this.initActiveTab()},beforeUnmount(){this.unregisterFromRefList()},methods:{initActiveTab(){if(this.widget.type==="tab"&&this.widget.tabs.length>0){let t=this.widget.tabs.filter(u=>u.options.active===!0);t.length>0?this.activeTabName=t[0].options.name:this.activeTabName=this.widget.tabs[0].options.name}}}};function _sfc_render$i(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-tab-pane"),f=require$$0.resolveComponent("el-tabs"),n=require$$0.resolveComponent("container-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(n,{widget:e.widget},{default:require$$0.withCtx(()=>[require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",{key:e.widget.id,class:"tab-container"},[require$$0.createVNode(f,{modelValue:g.activeTabName,"onUpdate:modelValue":u[0]||(u[0]=c=>g.activeTabName=c),type:e.widget.displayType,ref:e.widget.id,class:require$$0.normalizeClass([t.customClass])},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(m.visibleTabs,(c,o)=>(require$$0.openBlock(),require$$0.createBlock(a,{key:o,label:c.options.label,disabled:c.options.disabled,name:c.options.name},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(c.widgetList,(s,i)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[s.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(t.getComponentByContainer(s)),{widget:s,key:i,"parent-list":c.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),r=>({name:r,fn:require$$0.withCtx(l=>[require$$0.renderSlot(t.$slots,r,require$$0.mergeProps({ref_for:!0},l))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(s.type+"-widget"),{field:s,key:i,"parent-list":c.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),r=>({name:r,fn:require$$0.withCtx(l=>[require$$0.renderSlot(t.$slots,r,require$$0.mergeProps({ref_for:!0},l))])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256))]),_:2},1032,["label","disabled","name"]))),128))]),_:3},8,["modelValue","type","class"])])),[[require$$0.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}const tabItem=_export_sfc$1(_sfc_main$i,[["render",_sfc_render$i]]),__vite_glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:tabItem},Symbol.toStringTag,{value:"Module"})),_sfc_main$h={name:"TableCellItem",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin],components:{...comps$1},props:{widget:Object,rowIndex:Number,colIndex:Number},inject:["refList","globalModel"],computed:{customClass(){return this.widget.options.customClass||""}},created(){},methods:{}},_hoisted_1$d=["colspan","rowspan"];function _sfc_render$h(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("td",{class:require$$0.normalizeClass(["table-cell",[m.customClass]]),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,style:require$$0.normalizeStyle({width:e.widget.options.cellWidth+" !important"||"",height:e.widget.options.cellHeight+" !important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"})},[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.widgetList,(a,f)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[a.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(t.getComponentByContainer(a)),{widget:a,key:f,"parent-list":e.widget.widgetList,"index-of-parent-list":f,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),n=>({name:n,fn:require$$0.withCtx(c=>[require$$0.renderSlot(t.$slots,n,require$$0.mergeProps({ref_for:!0},c),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(a.type+"-widget"),{field:a,key:f,"parent-list":e.widget.widgetList,"index-of-parent-list":f,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),n=>({name:n,fn:require$$0.withCtx(c=>[require$$0.renderSlot(t.$slots,n,require$$0.mergeProps({ref_for:!0},c),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256))],14,_hoisted_1$d)}const TableCellItem=_export_sfc$1(_sfc_main$h,[["render",_sfc_render$h],["__scopeId","data-v-280e6423"]]),__vite_glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:TableCellItem},Symbol.toStringTag,{value:"Module"})),_sfc_main$g={name:"table-item",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin,containerItemMixin],components:{ContainerItemWrapper,TableCellItem},props:{widget:Object},inject:["refList","sfRefList","globalModel"],created(){this.initRefList()},mounted(){},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$g(t,u,e,h,g,m){const a=require$$0.resolveComponent("table-cell-item"),f=require$$0.resolveComponent("container-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{widget:e.widget},{default:require$$0.withCtx(()=>[require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",{key:e.widget.id,class:"table-container"},[require$$0.createElementVNode("table",{ref:e.widget.id,class:require$$0.normalizeClass(["table-layout",[t.customClass]])},[require$$0.createElementVNode("tbody",null,[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.rows,(n,c)=>(require$$0.openBlock(),require$$0.createElementBlock("tr",{key:n.id},[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(n.cols,(o,s)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[o.merged?require$$0.createCommentVNode("",!0):(require$$0.openBlock(),require$$0.createBlock(a,{widget:o,key:s,"parent-list":e.widget.cols,"row-index":c,"col-index":s,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),i=>({name:i,fn:require$$0.withCtx(r=>[require$$0.renderSlot(t.$slots,i,require$$0.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","row-index","col-index","parent-widget"]))],64))),256))]))),128))])],2)])),[[require$$0.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}const tableItem=_export_sfc$1(_sfc_main$g,[["render",_sfc_render$g],["__scopeId","data-v-e23c0a0a"]]),__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:tableItem},Symbol.toStringTag,{value:"Module"})),modules=Object.assign({"./container-item-wrapper.vue":__vite_glob_0_0,"./grid-col-item.vue":__vite_glob_0_1,"./grid-item.vue":__vite_glob_0_2,"./sub-form-item.vue":__vite_glob_0_3,"./tab-item.vue":__vite_glob_0_4,"./table-cell-item.vue":__vite_glob_0_5,"./table-item.vue":__vite_glob_0_6}),ContainerItems={install(t){for(const u in modules){let e=modules[u].default.name;t.component(e,modules[u].default)}}},_sfc_main$f={name:"FormRender",componentName:"FormRender",mixins:[emitter,i18n],components:{...comps$1},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:{},created(){this.buildFormModel(this.formJsonObj?this.formJsonObj.widgetList:null),this.initFormObject()},mounted(){this.initLocale(),this.handleOnMounted()},methods:{initFormObject(t=!0){this.formId="vfRender"+generateId(),t&&this.insertCustomStyleAndScriptNode(),this.addFieldChangeEventHandler(),this.addFieldValidateEventHandler(),this.registerFormToRefList(),this.handleOnCreated()},getContainerWidgetName(t){return t.type==="grid"?"vf-grid-item":t.type+"-item"},getWidgetName(t){return t.type+"-widget"},initLocale(){let t=localStorage.getItem("v_form_locale")||"zh-CN";this.changeLanguage(t)},insertCustomStyleAndScriptNode(){this.formConfig&&this.formConfig.cssCode&&insertCustomCssToHead(this.formConfig.cssCode,this.previewState?"":this.formId),this.formConfig&&this.formConfig.functions&&insertGlobalFunctionsToHtml(this.formConfig.functions,this.previewState?"":this.formId)},buildFormModel(t){t&&t.length>0&&t.forEach(u=>{this.buildDataFromWidget(u)})},buildDataFromWidget(t){if(t.category==="container")if(t.type==="grid")t.cols&&t.cols.length>0&&t.cols.forEach(u=>{this.buildDataFromWidget(u)});else if(t.type==="table")t.rows&&t.rows.length>0&&t.rows.forEach(u=>{u.cols&&u.cols.length>0&&u.cols.forEach(e=>{this.buildDataFromWidget(e)})});else if(t.type==="tab")t.tabs&&t.tabs.length>0&&t.tabs.forEach(u=>{u.widgetList&&u.widgetList.length>0&&u.widgetList.forEach(e=>{this.buildDataFromWidget(e)})});else if(t.type==="sub-form"){let u=t.options.name;if(this.formData.hasOwnProperty(u)){let e=this.formData[u];this.formDataModel[u]=deepClone(e)}else{let e={};t.options.showBlankRow?(t.widgetList.forEach(h=>{h.formItemFlag&&(e[h.options.name]=h.options.defaultValue)}),this.formDataModel[u]=[e]):this.formDataModel[u]=[]}}else t.type==="grid-col"||t.type==="table-cell"?t.widgetList&&t.widgetList.length>0&&t.widgetList.forEach(u=>{this.buildDataFromWidget(u)}):t.widgetList&&t.widgetList.length>0&&t.widgetList.forEach(u=>{this.buildDataFromWidget(u)});else if(t.formItemFlag)if(!this.formData.hasOwnProperty(t.options.name))this.formDataModel[t.options.name]=t.options.defaultValue;else{let u=this.formData[t.options.name];this.formDataModel[t.options.name]=deepClone(u)}},addFieldChangeEventHandler(){this.off$("fieldChange"),this.on$("fieldChange",(t,u,e,h,g)=>{this.handleFieldDataChange(t,u,e,h,g),this.$emit("formChange",t,u,e,this.formDataModel,h,g)})},addFieldValidateEventHandler(){this.off$("fieldValidation"),this.on$("fieldValidation",t=>{this.$refs.renderForm.validateField(t)})},registerFormToRefList(){this.widgetRefList.v_form_ref=this},handleFieldDataChange(t,u,e,h,g){this.formConfig&&this.formConfig.onFormDataChange&&new Function("fieldName","newValue","oldValue","formModel","subFormName","subFormRowIndex",this.formConfig.onFormDataChange).call(this,t,u,e,this.formDataModel,h,g)},handleOnCreated(){this.formConfig&&this.formConfig.onFormCreated&&new Function(this.formConfig.onFormCreated).call(this)},handleOnMounted(){this.formConfig&&this.formConfig.onFormMounted&&new Function(this.formConfig.onFormMounted).call(this)},findWidgetAndSetDisabled(t,u){let e=this.getWidgetRef(t);e?e.setDisabled(u):this.findWidgetOfSubFormAndSetDisabled(t,u)},findWidgetOfSubFormAndSetDisabled(t,u){this.findWidgetNameInSubForm(t).forEach(e=>{let h=this.getWidgetRef(e);h&&h.setDisabled(u)})},findWidgetAndSetHidden(t,u){let e=this.getWidgetRef(t);e?e.setHidden(u):this.findWidgetOfSubFormAndSetHidden(t,u)},findWidgetOfSubFormAndSetHidden(t,u){this.findWidgetNameInSubForm(t).forEach(e=>{let h=this.getWidgetRef(e);h&&h.setHidden(u)})},findWidgetNameInSubForm(t){let u=[],e=null,h=(g,m)=>{g.options&&g.options.name===t&&(e=m.options.name)};if(traverseFieldWidgets(this.widgetList,h),e){let g=this.getWidgetRef(e);if(g){let m=g.getRowIdData();m&&m.length>0&&m.forEach(a=>{u.push(t+"@row"+a)})}}return u},changeLanguage(t){changeLocale(t)},getNativeForm(){return this.$refs.renderForm},getFormRef(){return this},getWidgetRef(t,u=!1){let e=this.widgetRefList[t];return!e&&u&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},clearFormDataModel(){for(let t in this.formDataModel)delete this.formDataModel[t]},setFormJson(t){if(t)if(typeof t=="string"||t.constructor===Object){let u=null;if(typeof t=="string"?u=JSON.parse(t):u=t,!u.formConfig||!u.widgetList){this.$message.error("Invalid format of form json.");return}this.clearFormDataModel(),this.buildFormModel(u.widgetList),this.formJsonObj.formConfig=u.formConfig,this.formJsonObj.widgetList=u.widgetList,this.insertCustomStyleAndScriptNode(),this.$nextTick(()=>{this.initFormObject(!1),this.handleOnMounted()})}else this.$message.error("Set form json failed.")},reloadOptionData(t){let u=[];t&&typeof t=="string"?u=[t]:t&&Array.isArray(t)&&(u=[...t]),this.broadcast("FieldWidget","reloadOptionItems",u)},getFormData(t=!0){if(!t)return this.formDataModel;let u=function(){},e=new window.Promise(function(h,g){u=function(m,a){a?g(a):h(m)}});return this.$refs.renderForm.validate(h=>{h?u(this.formDataModel):u(this.formDataModel,this.i18nt("render.hint.validationFailed"))}),e},setFormData(t){Object.keys(this.formDataModel).forEach(u=>{t&&t.hasOwnProperty(u)&&(this.formDataModel[u]=deepClone(t[u]))}),this.broadcast("ContainerItem","setFormData",this.formDataModel),this.broadcast("FieldWidget","setFormData",this.formDataModel)},getFieldValue(t){let u=this.getWidgetRef(t);if(u&&u.getValue)return u.getValue();if(!u){let e=[];return this.findWidgetNameInSubForm(t).forEach(h=>{let g=this.getWidgetRef(h);g&&g.getValue&&e.push(g.getValue())}),e}},setFieldValue(t,u){let e=this.getWidgetRef(t);e&&e.setValue&&e.setValue(u),e||this.findWidgetNameInSubForm(t).forEach(h=>{let g=this.getWidgetRef(h);g&&g.setValue&&g.setValue(u)})},getSubFormValues(t,u=!0){return this.subFormRefList[t].getSubFormValues(u)},disableForm(){Object.keys(this.widgetRefList).forEach(u=>{let e=this.getWidgetRef(u);if(e)if(e.widget&&e.widget.type==="sub-form")e.disableSubForm();else{e.setDisabled&&e.setDisabled(!0)}})},enableForm(){Object.keys(this.widgetRefList).forEach(u=>{let e=this.getWidgetRef(u);if(e)if(e.widget&&e.widget.type==="sub-form")e.enableSubForm();else{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 h=this.getWidgetRef(e);h&&!h.subFormItemFlag&&h.resetField&&h.resetField()}),this.$nextTick(()=>{this.clearValidate()})},clearValidate(t){this.$refs.renderForm.clearValidate(t)},validateForm(t){this.$refs.renderForm.validate(u=>{t(u)})},validateFields(){},disableWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetDisabled(t,!0):Array.isArray(t)&&t.forEach(u=>{this.findWidgetAndSetDisabled(u,!0)}))},enableWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetDisabled(t,!1):Array.isArray(t)&&t.forEach(u=>{this.findWidgetAndSetDisabled(u,!1)}))},hideWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetHidden(t,!0):Array.isArray(t)&&t.forEach(u=>{this.findWidgetAndSetHidden(u,!0)}))},showWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetHidden(t,!1):Array.isArray(t)&&t.forEach(u=>{this.findWidgetAndSetHidden(u,!1)}))},getFieldWidgets(){return getAllFieldWidgets(this.formJsonObj.widgetList)},getContainerWidgets(){return getAllContainerWidgets(this.formJsonObj.widgetList)},addEC(t,u){this.externalComponents[t]=u},hasEC(t){return this.externalComponents.hasOwnProperty(t)},getEC(t){return this.externalComponents[t]},getGlobalDsv(){return this.globalDsv}}};function _sfc_render$f(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-form");return require$$0.openBlock(),require$$0.createBlock(a,{"label-position":m.labelPosition,size:m.size,class:require$$0.normalizeClass([[m.customClass],"render-form"]),"label-width":m.labelWidth,"validate-on-rule-change":!1,model:g.formDataModel,ref:"renderForm",onSubmit:u[0]||(u[0]=require$$0.withModifiers(()=>{},["prevent"]))},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(m.widgetList,(f,n)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[f.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getContainerWidgetName(f)),{widget:f,key:f.id,"parent-list":m.widgetList,"index-of-parent-list":n,"parent-widget":null},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),c=>({name:c,fn:require$$0.withCtx(o=>[require$$0.renderSlot(t.$slots,c,require$$0.mergeProps({ref_for:!0},o),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getWidgetName(f)),{field:f,"form-model":g.formDataModel,designer:null,key:f.id,"parent-list":m.widgetList,"index-of-parent-list":n,"parent-widget":null},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),c=>({name:c,fn:require$$0.withCtx(o=>[require$$0.renderSlot(t.$slots,c,require$$0.mergeProps({ref_for:!0},o),void 0,!0)])}))]),1032,["field","form-model","parent-list","index-of-parent-list"]))],64))),256))]),_:3},8,["label-position","size","class","label-width","model"])}const FormRender=_export_sfc$1(_sfc_main$f,[["render",_sfc_render$f],["__scopeId","data-v-9ca40997"]]),generateCode=function(t,u="vue"){let e=JSON.stringify(t);return u==="html"?`<!DOCTYPE html>
|
|
1306
|
+
*/`),this.showWidgetEventDialogFlag=!0},saveEventHandler(){const t=this.$refs.ecEditor.getEditorAnnotations();let u=!1;if(t&&t.length>0&&(t.forEach(e=>{e.type==="error"&&(u=!0)}),u)){this.$message.error(this.i18nt("designer.setting.syntaxCheckWarning"));return}this.selectedWidget.options[this.curEventName]=this.eventHandlerCode,this.showWidgetEventDialogFlag=!1}}},_hoisted_1$g={key:0,class:""},_hoisted_2$e={class:"dialog-footer"};function _sfc_render$n(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-collapse-item"),f=require$$0.resolveComponent("el-collapse"),n=require$$0.resolveComponent("el-form"),c=require$$0.resolveComponent("el-scrollbar"),o=require$$0.resolveComponent("el-tab-pane"),s=require$$0.resolveComponent("form-setting"),i=require$$0.resolveComponent("el-tabs"),r=require$$0.resolveComponent("el-alert"),l=require$$0.resolveComponent("code-editor"),d=require$$0.resolveComponent("el-button"),p=require$$0.resolveComponent("el-dialog"),v=require$$0.resolveComponent("el-container"),b=require$$0.resolveDirective("drag");return require$$0.openBlock(),require$$0.createBlock(v,{class:"panel-container"},{default:require$$0.withCtx(()=>[require$$0.createVNode(i,{modelValue:g.activeTab,"onUpdate:modelValue":u[4]||(u[4]=w=>g.activeTab=w),style:{height:"100%",width:"100%",overflow:"hidden"}},{default:require$$0.withCtx(()=>[require$$0.createVNode(o,{label:t.i18nt("designer.hint.widgetSetting"),name:"1"},{default:require$$0.withCtx(()=>[require$$0.createVNode(c,{class:"setting-scrollbar",style:require$$0.normalizeStyle({height:g.scrollerHeight})},{default:require$$0.withCtx(()=>[e.designer.selectedWidget&&!e.designer.selectedWidget.category?(require$$0.openBlock(),require$$0.createBlock(n,{key:0,model:m.optionModel,size:"small","label-position":"left","label-width":"120px",class:"setting-form",onSubmit:u[1]||(u[1]=require$$0.withModifiers(()=>{},["prevent"]))},{default:require$$0.withCtx(()=>[require$$0.createVNode(f,{modelValue:g.widgetActiveCollapseNames,"onUpdate:modelValue":u[0]||(u[0]=w=>g.widgetActiveCollapseNames=w),class:"setting-collapse"},{default:require$$0.withCtx(()=>[m.showCollapse(g.commonProps)?(require$$0.openBlock(),require$$0.createBlock(a,{key:0,name:"1",title:t.i18nt("designer.setting.commonSetting")},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.commonProps,(w,y)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[m.hasPropEditor(y,w)?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getPropEditor(y,w)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":m.optionModel},null,8,["designer","selected-widget","option-model"])):require$$0.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):require$$0.createCommentVNode("",!0),m.showCollapse(g.advProps)?(require$$0.openBlock(),require$$0.createBlock(a,{key:1,name:"2",title:t.i18nt("designer.setting.advancedSetting")},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.advProps,(w,y)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[m.hasPropEditor(y,w)?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getPropEditor(y,w)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":m.optionModel},null,8,["designer","selected-widget","option-model"])):require$$0.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):require$$0.createCommentVNode("",!0),m.showEventCollapse()&&m.showCollapse(g.eventProps)?(require$$0.openBlock(),require$$0.createBlock(a,{key:2,name:"3",title:t.i18nt("designer.setting.eventSetting")},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.eventProps,(w,y)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[m.hasPropEditor(y,w)?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getPropEditor(y,w)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":m.optionModel},null,8,["designer","selected-widget","option-model"])):require$$0.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):require$$0.createCommentVNode("",!0)]),_:1},8,["modelValue"])]),_:1},8,["model"])):require$$0.createCommentVNode("",!0),e.designer.selectedWidget&&e.designer.selectedWidget.category?(require$$0.openBlock(),require$$0.createBlock(n,{key:1,model:m.optionModel,size:"small","label-position":"left","label-width":"120px",class:"setting-form",onSubmit:u[3]||(u[3]=require$$0.withModifiers(()=>{},["prevent"]))},{default:require$$0.withCtx(()=>[require$$0.createVNode(f,{modelValue:g.widgetActiveCollapseNames,"onUpdate:modelValue":u[2]||(u[2]=w=>g.widgetActiveCollapseNames=w),class:"setting-collapse"},{default:require$$0.withCtx(()=>[m.showCollapse(g.commonProps)?(require$$0.openBlock(),require$$0.createBlock(a,{key:0,name:"1",title:t.i18nt("designer.setting.commonSetting")},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.commonProps,(w,y)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[m.hasPropEditor(y,w)?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getPropEditor(y,w)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":m.optionModel},null,8,["designer","selected-widget","option-model"])):require$$0.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):require$$0.createCommentVNode("",!0),m.showCollapse(g.advProps)?(require$$0.openBlock(),require$$0.createBlock(a,{key:1,name:"2",title:t.i18nt("designer.setting.advancedSetting")},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.advProps,(w,y)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[m.hasPropEditor(y,w)?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getPropEditor(y,w)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":m.optionModel},null,8,["designer","selected-widget","option-model"])):require$$0.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):require$$0.createCommentVNode("",!0),m.showEventCollapse()&&m.showCollapse(g.eventProps)?(require$$0.openBlock(),require$$0.createBlock(a,{key:2,name:"3",title:t.i18nt("designer.setting.eventSetting")},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.eventProps,(w,y)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[m.hasPropEditor(y,w)?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getPropEditor(y,w)),{key:0,designer:e.designer,"selected-widget":e.selectedWidget,"option-model":m.optionModel},null,8,["designer","selected-widget","option-model"])):require$$0.createCommentVNode("",!0)],64))),256))]),_:1},8,["title"])):require$$0.createCommentVNode("",!0)]),_:1},8,["modelValue"])]),_:1},8,["model"])):require$$0.createCommentVNode("",!0)]),_:1},8,["style"])]),_:1},8,["label"]),e.designer?(require$$0.openBlock(),require$$0.createBlock(o,{key:0,label:t.i18nt("designer.hint.formSetting"),name:"2"},{default:require$$0.withCtx(()=>[require$$0.createVNode(c,{class:"setting-scrollbar",style:require$$0.normalizeStyle({height:g.scrollerHeight})},{default:require$$0.withCtx(()=>[require$$0.createVNode(s,{designer:e.designer,"form-config":e.formConfig},null,8,["designer","form-config"])]),_:1},8,["style"])]),_:1},8,["label"])):require$$0.createCommentVNode("",!0)]),_:1},8,["modelValue"]),g.showWidgetEventDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_1$g,[require$$0.createVNode(p,{title:t.i18nt("designer.setting.editWidgetEventHandler"),modelValue:g.showWidgetEventDialogFlag,"onUpdate:modelValue":u[7]||(u[7]=w=>g.showWidgetEventDialogFlag=w),"show-close":!0,class:"drag-dialog small-padding-dialog","append-to-body":"","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_2$e,[require$$0.createVNode(d,{onClick:u[6]||(u[6]=w=>g.showWidgetEventDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.cancel")),1)]),_:1}),require$$0.createVNode(d,{type:"primary",onClick:m.saveEventHandler},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.confirm")),1)]),_:1},8,["onClick"])])]),default:require$$0.withCtx(()=>[require$$0.createVNode(r,{type:"info",closable:!1,title:g.eventHeader},null,8,["title"]),require$$0.createVNode(l,{mode:"javascript",readonly:!1,modelValue:g.eventHandlerCode,"onUpdate:modelValue":u[5]||(u[5]=w=>g.eventHandlerCode=w),ref:"ecEditor"},null,8,["modelValue"]),require$$0.createVNode(r,{type:"info",closable:!1,title:"}"})]),_:1},8,["title","modelValue"])])),[[b,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0)]),_:1})}const SettingPanel=_export_sfc$1(_sfc_main$n,[["render",_sfc_render$n],["__scopeId","data-v-01a85591"]]),_sfc_main$m={name:"container-item-wrapper",props:{widget:Object},computed:{customClass(){return this.widget.options.customClass?this.widget.options.customClass.join(" "):""}}};function _sfc_render$m(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("div",{class:require$$0.normalizeClass(["container-wrapper",[m.customClass]])},[require$$0.renderSlot(t.$slots,"default")],2)}const ContainerItemWrapper=_export_sfc$1(_sfc_main$m,[["render",_sfc_render$m]]),__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:ContainerItemWrapper},Symbol.toStringTag,{value:"Module"})),refMixin={methods:{initRefList(){this.refList!==null&&this.widget.options.name&&(this.refList[this.widget.options.name]=this)},getWidgetRef(t,u){let e=this.refList[t];return!e&&u&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},getFormRef(){return this.refList.v_form_ref},getComponentByContainer(t){return t.type==="grid"?"vf-grid-item":t.type+"-item"}}},_sfc_main$l={name:"GridColItem",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin],components:{...comps$1},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,colHeight:{type:String,default:null}},inject:["refList","globalModel","getFormConfig","previewState"],data(){return{layoutProps:{span:this.widget.options.span,md:this.widget.options.md||12,sm:this.widget.options.sm||12,xs:this.widget.options.xs||12,offset:this.widget.options.offset||0,push:this.widget.options.push||0,pull:this.widget.options.pull||0}}},computed:{formConfig(){return this.getFormConfig()},customClass(){return this.widget.options.customClass||""},colHeightStyle(){return this.colHeight?{height:this.colHeight+"px"}:{}}},created(){this.initLayoutProps(),this.initRefList()},methods:{initLayoutProps(){if(this.widget.options.responsive)if(this.previewState){this.layoutProps.md=void 0,this.layoutProps.sm=void 0,this.layoutProps.xs=void 0;let t=this.formConfig.layoutType;t==="H5"?this.layoutProps.span=this.widget.options.xs||12:t==="Pad"?this.layoutProps.span=this.widget.options.sm||12:this.layoutProps.span=this.widget.options.md||12}else this.layoutProps.span=void 0;else this.layoutProps.md=void 0,this.layoutProps.sm=void 0,this.layoutProps.xs=void 0}}},_hoisted_1$f={class:"blank-cell"},_hoisted_2$d={class:"invisible-content"};function _sfc_render$l(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-col");return e.widget.options.hidden?require$$0.createCommentVNode("",!0):(require$$0.openBlock(),require$$0.createBlock(a,require$$0.mergeProps({key:0,class:["grid-cell",[m.customClass]]},g.layoutProps,{style:m.colHeightStyle,key:e.widget.id}),{default:require$$0.withCtx(()=>[e.widget.widgetList&&e.widget.widgetList.length>0?(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,{key:0},require$$0.renderList(e.widget.widgetList,(f,n)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[f.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(t.getComponentByContainer(f)),{widget:f,key:n,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),c=>({name:c,fn:require$$0.withCtx(o=>[require$$0.renderSlot(t.$slots,c,require$$0.mergeProps({ref_for:!0},o),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(f.type+"-widget"),{field:f,designer:null,key:n,"parent-list":e.widget.widgetList,"index-of-parent-list":n,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),c=>({name:c,fn:require$$0.withCtx(o=>[require$$0.renderSlot(t.$slots,c,require$$0.mergeProps({ref_for:!0},o),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256)):(require$$0.openBlock(),require$$0.createBlock(a,{key:1},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_1$f,[require$$0.createElementVNode("span",_hoisted_2$d,require$$0.toDisplayString(t.i18nt("render.hint.blankCellContent")),1)])]),_:1}))]),_:3},16,["class","style"]))}const GridColItem=_export_sfc$1(_sfc_main$l,[["render",_sfc_render$l],["__scopeId","data-v-ab5ac74e"]]),__vite_glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:GridColItem},Symbol.toStringTag,{value:"Module"})),containerItemMixin={inject:["getFormConfig","getGlobalDsv"],computed:{customClass(){return this.widget.options.customClass||""},formModel:{cache:!1,get(){return this.globalModel.formModel}}},mounted(){this.callSetHidden()},methods:{unregisterFromRefList(){if(this.refList!==null&&this.widget.options.name){let t=this.widget.options.name;delete this.refList[t]}},callSetHidden(){this.widget.options.hidden===!0&&this.setHidden(!0)},setHidden(t){this.widget.options.hidden=t;let u=e=>{let h=e.options.name,g=this.getWidgetRef(h);t&&g&&g.clearFieldRules&&g.clearFieldRules(),!t&&g&&g.buildFieldRules&&g.buildFieldRules()};traverseFieldWidgetsOfContainer(this.widget,u)},activeTab(t){t>=0&&t<this.widget.tabs.length&&this.widget.tabs.forEach((u,e)=>{u.options.active=e===t,e===t&&(this.activeTabName=u.options.name)})},disableTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.disabled=!0)},enableTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.disabled=!1)},hideTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.hidden=!0)},showTab(t){t>=0&&t<this.widget.tabs.length&&(this.widget.tabs[t].options.hidden=!1)},setWidgetOption(t,u){this.widget.options.hasOwnProperty(t)&&(this.widget.options[t]=u)},getSubFormRowCount(){return this.rowIdData?this.rowIdData.length:0},disableSubFormRow(t){this.widget.widgetList.forEach(u=>{let e=u.options.name+"@row"+this.rowIdData[t],h=this.getWidgetRef(e);h&&h.setDisabled(!0)})},enableSubFormRow(t){this.widget.widgetList.forEach(u=>{let e=u.options.name+"@row"+this.rowIdData[t],h=this.getWidgetRef(e);h&&h.setDisabled(!1)})},disableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((t,u)=>{this.disableSubFormRow(u)}),this.actionDisabled=!0},enableSubForm(){this.rowIdData.length>0&&this.rowIdData.forEach((t,u)=>{this.enableSubFormRow(u)}),this.actionDisabled=!1},resetSubForm(){if(this.widget.type==="sub-form"){let t=this.formModel[this.widget.options.name];t&&(t.splice(0,t.length),this.rowIdData.splice(0,this.rowIdData.length)),this.widget.options.showBlankRow&&this.addSubFormRow()}},getSubFormValues(t=!0){if(this.widget.type==="sub-form")return this.formModel[this.widget.options.name];this.$message.error(this.i18nt("render.hint.nonSubFormType"))},addCssClass(t){this.widget.options.customClass?this.widget.options.customClass.push(t):this.widget.options.customClass=[t]},removeCssClass(t){if(!this.widget.options.customClass)return;let u=-1;this.widget.options.customClass.map((e,h)=>{e===t&&(u=h)}),u>-1&&this.widget.options.customClass.splice(u,1)}}},_sfc_main$k={name:"vf-grid-item",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin,containerItemMixin],components:{ContainerItemWrapper,GridColItem},props:{widget:Object},inject:["refList","sfRefList","globalModel"],created(){this.initRefList()},mounted(){},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$k(t,u,e,h,g,m){const a=require$$0.resolveComponent("grid-col-item"),f=require$$0.resolveComponent("el-row"),n=require$$0.resolveComponent("container-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(n,{widget:e.widget},{default:require$$0.withCtx(()=>[require$$0.withDirectives((require$$0.openBlock(),require$$0.createBlock(f,{key:e.widget.id,gutter:e.widget.options.gutter,class:require$$0.normalizeClass(["grid-container",[t.customClass]]),ref:e.widget.id},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.cols,(c,o)=>(require$$0.openBlock(),require$$0.createBlock(a,{key:o,widget:c,"parent-list":e.widget.cols,"index-of-parent-list":o,"parent-widget":e.widget,"col-height":e.widget.options.colHeight},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),s=>({name:s,fn:require$$0.withCtx(i=>[require$$0.renderSlot(t.$slots,s,require$$0.mergeProps({ref_for:!0},i))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget","col-height"]))),128))]),_:3},8,["gutter","class"])),[[require$$0.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}const gridItem=_export_sfc$1(_sfc_main$k,[["render",_sfc_render$k]]),__vite_glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:gridItem},Symbol.toStringTag,{value:"Module"})),_sfc_main$j={name:"sub-form-item",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin,containerItemMixin],components:{ContainerItemWrapper,...comps$1,SvgIcon},props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{rowIdData:[],fieldSchemaData:[],actionDisabled:!1}},created(){this.initRefList(),this.registerSubFormToRefList(),this.initRowIdData(!0),this.initFieldSchemaData(),this.initEventHandler()},mounted(){this.handleSubFormFirstRowAdd()},beforeUnmount(){this.unregisterFromRefList()},methods:{getLabelAlign(t,u){return u.options.labelAlign||t.options.labelAlign},registerSubFormToRefList(){this.widget.type==="sub-form"&&(this.sfRefList[this.widget.options.name]=this)},initRowIdData(t){if(this.widget.type==="sub-form"){this.rowIdData.splice(0,this.rowIdData.length);let u=this.formModel[this.widget.options.name];u&&u.length>0&&(u.forEach(()=>{this.rowIdData.push("id"+generateId())}),t&&setTimeout(()=>{this.handleSubFormRowChange(u)},800))}},addToRowIdData(){this.rowIdData.push("id"+generateId())},insertToRowIdData(t){this.rowIdData.splice(t,0,"id"+generateId())},deleteFromRowIdData(t){this.rowIdData.splice(t,1)},getRowIdData(){return this.rowIdData},getWidgetRefOfSubForm(t,u){let e=t+"@row"+this.rowIdData[u];return this.getWidgetRef(e)},initFieldSchemaData(){if(this.widget.type!=="sub-form")return;let t=this.rowIdData.length;if(this.fieldSchemaData.splice(0,this.fieldSchemaData.length),t>0)for(let u=0;u<t;u++){let e=[];this.widget.widgetList.forEach(h=>{e.push(this.cloneFieldSchema(h))}),this.fieldSchemaData.push(e)}},addToFieldSchemaData(t){let u=[];this.widget.widgetList.forEach(e=>{u.push(this.cloneFieldSchema(e))}),t===void 0?this.fieldSchemaData.push(u):this.fieldSchemaData.splice(t,0,u)},deleteFromFieldSchemaData(t){this.fieldSchemaData.splice(t,1)},cloneFieldSchema(t){let u=deepClone(t);return u.id=t.type+generateId(),u},initEventHandler(){this.widget.type==="sub-form"&&this.on$("setFormData",t=>{this.initRowIdData(!1),this.initFieldSchemaData();let u=t[this.widget.options.name]||[];setTimeout(()=>{this.handleSubFormRowChange(u)},800)})},handleSubFormFirstRowAdd(){if(this.widget.type==="sub-form"&&this.widget.options.showBlankRow&&this.rowIdData.length===1){let t=this.formModel[this.widget.options.name]||[];this.handleSubFormRowAdd(t,this.rowIdData[0]),this.handleSubFormRowChange(t)}},addSubFormRow(){let t={};this.widget.widgetList.forEach(e=>{e.formItemFlag&&(t[e.options.name]=e.options.defaultValue)});let u=this.formModel[this.widget.options.name]||[];u.push(t),this.addToRowIdData(),this.addToFieldSchemaData(),this.handleSubFormRowAdd(u,this.rowIdData[u.length-1]),this.handleSubFormRowChange(u)},insertSubFormRow(t){let u={};this.widget.widgetList.forEach(h=>{h.formItemFlag&&(u[h.options.name]=h.options.defaultValue)});let e=this.formModel[this.widget.options.name]||[];e.splice(t,0,u),this.insertToRowIdData(t),this.addToFieldSchemaData(t),this.handleSubFormRowInsert(e,this.rowIdData[t]),this.handleSubFormRowChange(e)},deleteSubFormRow(t){this.$confirm(this.i18nt("render.hint.deleteSubFormRow")+"?",this.i18nt("render.hint.prompt"),{confirmButtonText:this.i18nt("render.hint.confirm"),cancelButtonText:this.i18nt("render.hint.cancel")}).then(()=>{let u=this.formModel[this.widget.options.name]||[],e=deepClone(u[t]);u.splice(t,1),this.deleteFromRowIdData(t),this.deleteFromFieldSchemaData(t),this.handleSubFormRowDelete(u,e),this.handleSubFormRowChange(u)}).catch(()=>{})},handleSubFormRowChange(t){this.widget.options.onSubFormRowChange&&new Function("subFormData",this.widget.options.onSubFormRowChange).call(this,t)},handleSubFormRowAdd(t,u){this.widget.options.onSubFormRowAdd&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowAdd).call(this,t,u)},handleSubFormRowInsert(t,u){this.widget.options.onSubFormRowInsert&&new Function("subFormData","newRowId",this.widget.options.onSubFormRowInsert).call(this,t,u)},handleSubFormRowDelete(t,u){this.widget.options.onSubFormRowDelete&&new Function("subFormData","deletedDataRow",this.widget.options.onSubFormRowDelete).call(this,t,u)}}},_hoisted_1$e={class:"action-header-column"},_hoisted_2$c={class:"action-label"},_hoisted_3$b={key:0,class:"custom-label"},_hoisted_4$4=["title"],_hoisted_5$3={class:"sub-form-action-column hide-label"},_hoisted_6$2={class:"action-button-column"},_hoisted_7$2={key:0,class:"row-number-span"};function _sfc_render$j(t,u,e,h,g,m){const a=require$$0.resolveComponent("svg-icon"),f=require$$0.resolveComponent("el-button"),n=require$$0.resolveComponent("el-tooltip"),c=require$$0.resolveComponent("el-row"),o=require$$0.resolveComponent("container-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(o,{widget:e.widget},{default:require$$0.withCtx(()=>[require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",{key:e.widget.id,class:"sub-form-container"},[require$$0.createVNode(c,{class:"header-row"},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_1$e,[require$$0.createElementVNode("span",_hoisted_2$c,require$$0.toDisplayString(t.i18nt("render.hint.subFormAction")),1),require$$0.createVNode(f,{disabled:g.actionDisabled,round:"",type:"primary",size:"small",class:"action-button",onClick:m.addSubFormRow,title:t.i18nt("render.hint.subFormAddActionHint")},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("render.hint.subFormAddAction")),1),require$$0.createVNode(a,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"])]),(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.widgetList,s=>(require$$0.openBlock(),require$$0.createElementBlock("div",{key:s.id+"thc",class:require$$0.normalizeClass(["field-header-column",[m.getLabelAlign(e.widget,s),s.options.required?"is-required":""]]),style:require$$0.normalizeStyle({width:s.options.columnWidth})},[s.options.labelIconClass?(require$$0.openBlock(),require$$0.createElementBlock("span",_hoisted_3$b,[s.options.labelIconPosition==="front"?(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,{key:0},[s.options.labelTooltip?(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,{key:0},[require$$0.createVNode(n,{content:s.options.labelTooltip,effect:"light"},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":s.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"]),require$$0.createTextVNode(require$$0.toDisplayString(s.options.label),1)],64)):(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,{key:1},[require$$0.createVNode(a,{"icon-class":s.options.labelIconClass},null,8,["icon-class"]),require$$0.createTextVNode(require$$0.toDisplayString(s.options.label),1)],64))],64)):s.options.labelIconPosition==="rear"?(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,{key:1},[s.options.labelTooltip?(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,{key:0},[require$$0.createTextVNode(require$$0.toDisplayString(s.options.label),1),require$$0.createVNode(n,{content:s.options.labelTooltip,effect:"light"},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":s.options.labelIconClass},null,8,["icon-class"])]),_:2},1032,["content"])],64)):(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,{key:1},[require$$0.createTextVNode(require$$0.toDisplayString(s.options.label),1),require$$0.createVNode(a,{"icon-class":s.options.labelIconClass},null,8,["icon-class"])],64))],64)):require$$0.createCommentVNode("",!0)])):(require$$0.openBlock(),require$$0.createElementBlock("span",{key:1,title:s.options.labelTooltip},require$$0.toDisplayString(s.options.label),9,_hoisted_4$4))],6))),128))]),_:1}),(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(g.rowIdData,(s,i)=>(require$$0.openBlock(),require$$0.createBlock(c,{class:"sub-form-row",key:s},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_5$3,[require$$0.createElementVNode("div",_hoisted_6$2,[require$$0.createVNode(f,{disabled:g.actionDisabled,circle:"",onClick:r=>m.insertSubFormRow(i),title:t.i18nt("render.hint.insertSubFormRow")},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"el-plus"})]),_:1},8,["disabled","onClick","title"]),require$$0.createVNode(f,{disabled:g.actionDisabled,circle:"",onClick:r=>m.deleteSubFormRow(i),title:t.i18nt("render.hint.deleteSubFormRow")},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"el-delete"})]),_:1},8,["disabled","onClick","title"]),e.widget.options.showRowNumber?(require$$0.openBlock(),require$$0.createElementBlock("span",_hoisted_7$2,"#"+require$$0.toDisplayString(i+1),1)):require$$0.createCommentVNode("",!0)])]),(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.widgetList,(r,l)=>(require$$0.openBlock(),require$$0.createElementBlock("div",{key:r.id+"tc"+s,class:"sub-form-table-column hide-label",style:require$$0.normalizeStyle({width:r.options.columnWidth})},[(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(r.type+"-widget"),{field:g.fieldSchemaData[i][l],key:g.fieldSchemaData[i][l].id,"parent-list":e.widget.widgetList,"index-of-parent-list":l,"parent-widget":e.widget,"sub-form-row-id":s,"sub-form-row-index":i,"sub-form-col-index":l},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))])),[[require$$0.vShow,!e.widget.options.hidden]])]),_:1},8,["widget"])}const subFormItem=_export_sfc$1(_sfc_main$j,[["render",_sfc_render$j],["__scopeId","data-v-22c878a6"]]),__vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:subFormItem},Symbol.toStringTag,{value:"Module"})),_sfc_main$i={name:"tab-item",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin,containerItemMixin],components:{ContainerItemWrapper,...comps$1},props:{widget:Object},inject:["refList","sfRefList","globalModel"],data(){return{activeTabName:""}},computed:{visibleTabs(){return this.widget.tabs.filter(t=>!t.options.hidden)}},created(){this.initRefList()},mounted(){this.initActiveTab()},beforeUnmount(){this.unregisterFromRefList()},methods:{initActiveTab(){if(this.widget.type==="tab"&&this.widget.tabs.length>0){let t=this.widget.tabs.filter(u=>u.options.active===!0);t.length>0?this.activeTabName=t[0].options.name:this.activeTabName=this.widget.tabs[0].options.name}}}};function _sfc_render$i(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-tab-pane"),f=require$$0.resolveComponent("el-tabs"),n=require$$0.resolveComponent("container-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(n,{widget:e.widget},{default:require$$0.withCtx(()=>[require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",{key:e.widget.id,class:"tab-container"},[require$$0.createVNode(f,{modelValue:g.activeTabName,"onUpdate:modelValue":u[0]||(u[0]=c=>g.activeTabName=c),type:e.widget.displayType,ref:e.widget.id,class:require$$0.normalizeClass([t.customClass])},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(m.visibleTabs,(c,o)=>(require$$0.openBlock(),require$$0.createBlock(a,{key:o,label:c.options.label,disabled:c.options.disabled,name:c.options.name},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(c.widgetList,(s,i)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[s.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(t.getComponentByContainer(s)),{widget:s,key:i,"parent-list":c.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),r=>({name:r,fn:require$$0.withCtx(l=>[require$$0.renderSlot(t.$slots,r,require$$0.mergeProps({ref_for:!0},l))])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(s.type+"-widget"),{field:s,key:i,"parent-list":c.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),r=>({name:r,fn:require$$0.withCtx(l=>[require$$0.renderSlot(t.$slots,r,require$$0.mergeProps({ref_for:!0},l))])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256))]),_:2},1032,["label","disabled","name"]))),128))]),_:3},8,["modelValue","type","class"])])),[[require$$0.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}const tabItem=_export_sfc$1(_sfc_main$i,[["render",_sfc_render$i]]),__vite_glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:tabItem},Symbol.toStringTag,{value:"Module"})),_sfc_main$h={name:"TableCellItem",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin],components:{...comps$1},props:{widget:Object,rowIndex:Number,colIndex:Number},inject:["refList","globalModel"],computed:{customClass(){return this.widget.options.customClass||""}},created(){},methods:{}},_hoisted_1$d=["colspan","rowspan"];function _sfc_render$h(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("td",{class:require$$0.normalizeClass(["table-cell",[m.customClass]]),colspan:e.widget.options.colspan||1,rowspan:e.widget.options.rowspan||1,style:require$$0.normalizeStyle({width:e.widget.options.cellWidth+" !important"||"",height:e.widget.options.cellHeight+" !important"||"","word-break":e.widget.options.wordBreak?"break-all":"normal"})},[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.widgetList,(a,f)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[a.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(t.getComponentByContainer(a)),{widget:a,key:f,"parent-list":e.widget.widgetList,"index-of-parent-list":f,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),n=>({name:n,fn:require$$0.withCtx(c=>[require$$0.renderSlot(t.$slots,n,require$$0.mergeProps({ref_for:!0},c),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(a.type+"-widget"),{field:a,key:f,"parent-list":e.widget.widgetList,"index-of-parent-list":f,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),n=>({name:n,fn:require$$0.withCtx(c=>[require$$0.renderSlot(t.$slots,n,require$$0.mergeProps({ref_for:!0},c),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256))],14,_hoisted_1$d)}const TableCellItem=_export_sfc$1(_sfc_main$h,[["render",_sfc_render$h],["__scopeId","data-v-280e6423"]]),__vite_glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:TableCellItem},Symbol.toStringTag,{value:"Module"})),_sfc_main$g={name:"table-item",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin,containerItemMixin],components:{ContainerItemWrapper,TableCellItem},props:{widget:Object},inject:["refList","sfRefList","globalModel"],created(){this.initRefList()},mounted(){},beforeUnmount(){this.unregisterFromRefList()},methods:{}};function _sfc_render$g(t,u,e,h,g,m){const a=require$$0.resolveComponent("table-cell-item"),f=require$$0.resolveComponent("container-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(f,{widget:e.widget},{default:require$$0.withCtx(()=>[require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",{key:e.widget.id,class:"table-container"},[require$$0.createElementVNode("table",{ref:e.widget.id,class:require$$0.normalizeClass(["table-layout",[t.customClass]])},[require$$0.createElementVNode("tbody",null,[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.widget.rows,(n,c)=>(require$$0.openBlock(),require$$0.createElementBlock("tr",{key:n.id},[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(n.cols,(o,s)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[o.merged?require$$0.createCommentVNode("",!0):(require$$0.openBlock(),require$$0.createBlock(a,{widget:o,key:s,"parent-list":e.widget.cols,"row-index":c,"col-index":s,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),i=>({name:i,fn:require$$0.withCtx(r=>[require$$0.renderSlot(t.$slots,i,require$$0.mergeProps({ref_for:!0},r),void 0,!0)])}))]),1032,["widget","parent-list","row-index","col-index","parent-widget"]))],64))),256))]))),128))])],2)])),[[require$$0.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}const tableItem=_export_sfc$1(_sfc_main$g,[["render",_sfc_render$g],["__scopeId","data-v-e23c0a0a"]]),__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:tableItem},Symbol.toStringTag,{value:"Module"})),modules=Object.assign({"./container-item-wrapper.vue":__vite_glob_0_0,"./grid-col-item.vue":__vite_glob_0_1,"./grid-item.vue":__vite_glob_0_2,"./sub-form-item.vue":__vite_glob_0_3,"./tab-item.vue":__vite_glob_0_4,"./table-cell-item.vue":__vite_glob_0_5,"./table-item.vue":__vite_glob_0_6}),ContainerItems={install(t){for(const u in modules){let e=modules[u].default.name;t.component(e,modules[u].default)}}},_sfc_main$f={name:"FormRender",componentName:"FormRender",mixins:[emitter,i18n],components:{...comps$1},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:{},created(){this.buildFormModel(this.formJsonObj?this.formJsonObj.widgetList:null),this.initFormObject()},mounted(){this.initLocale(),this.handleOnMounted()},methods:{initFormObject(t=!0){this.formId="vfRender"+generateId(),t&&this.insertCustomStyleAndScriptNode(),this.addFieldChangeEventHandler(),this.addFieldValidateEventHandler(),this.registerFormToRefList(),this.handleOnCreated()},getContainerWidgetName(t){return t.type==="grid"?"vf-grid-item":t.type+"-item"},getWidgetName(t){return t.type+"-widget"},initLocale(){let t=localStorage.getItem("v_form_locale")||"zh-CN";this.changeLanguage(t)},insertCustomStyleAndScriptNode(){this.formConfig&&this.formConfig.cssCode&&insertCustomCssToHead(this.formConfig.cssCode,this.previewState?"":this.formId),this.formConfig&&this.formConfig.functions&&insertGlobalFunctionsToHtml(this.formConfig.functions,this.previewState?"":this.formId)},buildFormModel(t){t&&t.length>0&&t.forEach(u=>{this.buildDataFromWidget(u)})},buildDataFromWidget(t){if(t.category==="container")if(t.type==="grid")t.cols&&t.cols.length>0&&t.cols.forEach(u=>{this.buildDataFromWidget(u)});else if(t.type==="table")t.rows&&t.rows.length>0&&t.rows.forEach(u=>{u.cols&&u.cols.length>0&&u.cols.forEach(e=>{this.buildDataFromWidget(e)})});else if(t.type==="tab")t.tabs&&t.tabs.length>0&&t.tabs.forEach(u=>{u.widgetList&&u.widgetList.length>0&&u.widgetList.forEach(e=>{this.buildDataFromWidget(e)})});else if(t.type==="sub-form"){let u=t.options.name;if(this.formData.hasOwnProperty(u)){let e=this.formData[u];this.formDataModel[u]=deepClone(e)}else{let e={};t.options.showBlankRow?(t.widgetList.forEach(h=>{h.formItemFlag&&(e[h.options.name]=h.options.defaultValue)}),this.formDataModel[u]=[e]):this.formDataModel[u]=[]}}else t.type==="grid-col"||t.type==="table-cell"?t.widgetList&&t.widgetList.length>0&&t.widgetList.forEach(u=>{this.buildDataFromWidget(u)}):t.widgetList&&t.widgetList.length>0&&t.widgetList.forEach(u=>{this.buildDataFromWidget(u)});else if(t.formItemFlag)if(!this.formData.hasOwnProperty(t.options.name))this.formDataModel[t.options.name]=t.options.defaultValue;else{let u=this.formData[t.options.name];this.formDataModel[t.options.name]=deepClone(u)}},addFieldChangeEventHandler(){this.off$("fieldChange"),this.on$("fieldChange",(t,u,e,h,g)=>{this.handleFieldDataChange(t,u,e,h,g),this.$emit("formChange",t,u,e,this.formDataModel,h,g)})},addFieldValidateEventHandler(){this.off$("fieldValidation"),this.on$("fieldValidation",t=>{this.$refs.renderForm.validateField(t)})},registerFormToRefList(){this.widgetRefList.v_form_ref=this},handleFieldDataChange(t,u,e,h,g){this.formConfig&&this.formConfig.onFormDataChange&&new Function("fieldName","newValue","oldValue","formModel","subFormName","subFormRowIndex",this.formConfig.onFormDataChange).call(this,t,u,e,this.formDataModel,h,g)},handleOnCreated(){this.formConfig&&this.formConfig.onFormCreated&&new Function(this.formConfig.onFormCreated).call(this)},handleOnMounted(){this.formConfig&&this.formConfig.onFormMounted&&new Function(this.formConfig.onFormMounted).call(this)},findWidgetAndSetDisabled(t,u){let e=this.getWidgetRef(t);e?e.setDisabled(u):this.findWidgetOfSubFormAndSetDisabled(t,u)},findWidgetOfSubFormAndSetDisabled(t,u){this.findWidgetNameInSubForm(t).forEach(e=>{let h=this.getWidgetRef(e);h&&h.setDisabled(u)})},findWidgetAndSetHidden(t,u){let e=this.getWidgetRef(t);e?e.setHidden(u):this.findWidgetOfSubFormAndSetHidden(t,u)},findWidgetOfSubFormAndSetHidden(t,u){this.findWidgetNameInSubForm(t).forEach(e=>{let h=this.getWidgetRef(e);h&&h.setHidden(u)})},findWidgetNameInSubForm(t){let u=[],e=null,h=(g,m)=>{g.options&&g.options.name===t&&(e=m.options.name)};if(traverseFieldWidgets(this.widgetList,h),e){let g=this.getWidgetRef(e);if(g){let m=g.getRowIdData();m&&m.length>0&&m.forEach(a=>{u.push(t+"@row"+a)})}}return u},changeLanguage(t){changeLocale(t)},getNativeForm(){return this.$refs.renderForm},getFormRef(){return this},getWidgetRef(t,u=!1){let e=this.widgetRefList[t];return!e&&u&&this.$message.error(this.i18nt("render.hint.refNotFound")+t),e},clearFormDataModel(){for(let t in this.formDataModel)delete this.formDataModel[t]},setFormJson(t){if(t)if(typeof t=="string"||t.constructor===Object){let u=null;if(typeof t=="string"?u=JSON.parse(t):u=t,!u.formConfig||!u.widgetList){this.$message.error("Invalid format of form json.");return}this.clearFormDataModel(),this.buildFormModel(u.widgetList),this.formJsonObj.formConfig=u.formConfig,this.formJsonObj.widgetList=u.widgetList,this.insertCustomStyleAndScriptNode(),this.$nextTick(()=>{this.initFormObject(!1),this.handleOnMounted()})}else this.$message.error("Set form json failed.")},reloadOptionData(t){let u=[];t&&typeof t=="string"?u=[t]:t&&Array.isArray(t)&&(u=[...t]),this.broadcast("FieldWidget","reloadOptionItems",u)},getFormData(t=!0){if(!t)return this.formDataModel;let u=function(){},e=new window.Promise(function(h,g){u=function(m,a){a?g(a):h(m)}});return this.$refs.renderForm.validate(h=>{h?u(this.formDataModel):u(this.formDataModel,this.i18nt("render.hint.validationFailed"))}),e},setFormData(t){Object.keys(this.formDataModel).forEach(u=>{t&&t.hasOwnProperty(u)&&(this.formDataModel[u]=deepClone(t[u]))}),this.broadcast("ContainerItem","setFormData",this.formDataModel),this.broadcast("FieldWidget","setFormData",this.formDataModel)},getFieldValue(t){let u=this.getWidgetRef(t);if(u&&u.getValue)return u.getValue();if(!u){let e=[];return this.findWidgetNameInSubForm(t).forEach(h=>{let g=this.getWidgetRef(h);g&&g.getValue&&e.push(g.getValue())}),e}},setFieldValue(t,u){let e=this.getWidgetRef(t);e&&e.setValue&&e.setValue(u),e||this.findWidgetNameInSubForm(t).forEach(h=>{let g=this.getWidgetRef(h);g&&g.setValue&&g.setValue(u)})},getSubFormValues(t,u=!0){return this.subFormRefList[t].getSubFormValues(u)},disableForm(){Object.keys(this.widgetRefList).forEach(u=>{let e=this.getWidgetRef(u);if(e)if(e.widget&&e.widget.type==="sub-form")e.disableSubForm();else{e.setDisabled&&e.setDisabled(!0)}})},enableForm(){Object.keys(this.widgetRefList).forEach(u=>{let e=this.getWidgetRef(u);if(e)if(e.widget&&e.widget.type==="sub-form")e.enableSubForm();else{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 h=this.getWidgetRef(e);h&&!h.subFormItemFlag&&h.resetField&&h.resetField()}),this.$nextTick(()=>{this.clearValidate()})},clearValidate(t){this.$refs.renderForm.clearValidate(t)},validateForm(t){this.$refs.renderForm.validate(u=>{t(u)})},validateFields(){},disableWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetDisabled(t,!0):Array.isArray(t)&&t.forEach(u=>{this.findWidgetAndSetDisabled(u,!0)}))},enableWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetDisabled(t,!1):Array.isArray(t)&&t.forEach(u=>{this.findWidgetAndSetDisabled(u,!1)}))},hideWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetHidden(t,!0):Array.isArray(t)&&t.forEach(u=>{this.findWidgetAndSetHidden(u,!0)}))},showWidgets(t){t&&(typeof t=="string"?this.findWidgetAndSetHidden(t,!1):Array.isArray(t)&&t.forEach(u=>{this.findWidgetAndSetHidden(u,!1)}))},getFieldWidgets(){return getAllFieldWidgets(this.formJsonObj.widgetList)},getContainerWidgets(){return getAllContainerWidgets(this.formJsonObj.widgetList)},addEC(t,u){this.externalComponents[t]=u},hasEC(t){return this.externalComponents.hasOwnProperty(t)},getEC(t){return this.externalComponents[t]},getGlobalDsv(){return this.globalDsv}}};function _sfc_render$f(t,u,e,h,g,m){const a=require$$0.resolveComponent("el-form");return require$$0.openBlock(),require$$0.createBlock(a,{"label-position":m.labelPosition,size:m.size,class:require$$0.normalizeClass([[m.customClass],"render-form"]),"label-width":m.labelWidth,"validate-on-rule-change":!1,model:g.formDataModel,ref:"renderForm",onSubmit:u[0]||(u[0]=require$$0.withModifiers(()=>{},["prevent"]))},{default:require$$0.withCtx(()=>[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(m.widgetList,(f,n)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[f.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getContainerWidgetName(f)),{widget:f,key:f.id,"parent-list":m.widgetList,"index-of-parent-list":n,"parent-widget":null},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),c=>({name:c,fn:require$$0.withCtx(o=>[require$$0.renderSlot(t.$slots,c,require$$0.mergeProps({ref_for:!0},o),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(m.getWidgetName(f)),{field:f,"form-model":g.formDataModel,designer:null,key:f.id,"parent-list":m.widgetList,"index-of-parent-list":n,"parent-widget":null},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),c=>({name:c,fn:require$$0.withCtx(o=>[require$$0.renderSlot(t.$slots,c,require$$0.mergeProps({ref_for:!0},o),void 0,!0)])}))]),1032,["field","form-model","parent-list","index-of-parent-list"]))],64))),256))]),_:3},8,["label-position","size","class","label-width","model"])}const FormRender=_export_sfc$1(_sfc_main$f,[["render",_sfc_render$f],["__scopeId","data-v-9ca40997"]]),generateCode=function(t,u="vue"){let e=JSON.stringify(t);return u==="html"?`<!DOCTYPE html>
|
|
1307
1307
|
<html>
|
|
1308
1308
|
<head>
|
|
1309
1309
|
<meta charset="UTF-8">
|
|
@@ -1630,10 +1630,10 @@ ${a}
|
|
|
1630
1630
|
|
|
1631
1631
|
<style lang="scss" scoped>
|
|
1632
1632
|
${f}
|
|
1633
|
-
</style>`};var FileSaver_min={exports:{}};(function(t,u){(function(e,h){h()})(commonjsGlobal,function(){function e(c,o){return typeof o>"u"?o={autoBom:!1}:typeof o!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),o={autoBom:!o}),o.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function h(c,o,s){var i=new XMLHttpRequest;i.open("GET",c),i.responseType="blob",i.onload=function(){n(i.response,o,s)},i.onerror=function(){console.error("could not download file")},i.send()}function g(c){var o=new XMLHttpRequest;o.open("HEAD",c,!1);try{o.send()}catch{}return 200<=o.status&&299>=o.status}function m(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var o=document.createEvent("MouseEvents");o.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(o)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof commonjsGlobal=="object"&&commonjsGlobal.global===commonjsGlobal?commonjsGlobal:void 0,f=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),n=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!f?function(c,o,s){var i=a.URL||a.webkitURL,r=document.createElement("a");o=o||c.name||"download",r.download=o,r.rel="noopener",typeof c=="string"?(r.href=c,r.origin===location.origin?m(r):g(r.href)?h(c,o,s):m(r,r.target="_blank")):(r.href=i.createObjectURL(c),setTimeout(function(){i.revokeObjectURL(r.href)},4e4),setTimeout(function(){m(r)},0))}:"msSaveOrOpenBlob"in navigator?function(c,o,s){if(o=o||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(e(c,s),o);else if(g(c))h(c,o,s);else{var i=document.createElement("a");i.href=c,i.target="_blank",setTimeout(function(){m(i)})}}:function(c,o,s,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),typeof c=="string")return h(c,o,s);var r=c.type==="application/octet-stream",l=/constructor/i.test(a.HTMLElement)||a.safari,d=/CriOS\/[\d]+/.test(navigator.userAgent);if((d||r&&l||f)&&typeof FileReader<"u"){var p=new FileReader;p.onloadend=function(){var w=p.result;w=d?w:w.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=w:location=w,i=null},p.readAsDataURL(c)}else{var v=a.URL||a.webkitURL,b=v.createObjectURL(c);i?i.location=b:location.href=b,i=null,setTimeout(function(){v.revokeObjectURL(b)},4e4)}});a.saveAs=n.saveAs=n,t.exports=n})})(FileSaver_min);const _sfc_main$e={name:"ToolbarPanel",mixins:[i18n],components:{VFormRender:FormRender,CodeEditor,Clipboard,SvgIcon},props:{designer:Object,globalDsv:{type:Object,default:()=>({})}},inject:["getDesignerConfig"],data(){return{designerConfig:this.getDesignerConfig(),toolbarWidth:450,showPreviewDialogFlag:!1,showImportJsonDialogFlag:!1,showExportJsonDialogFlag:!1,showExportCodeDialogFlag:!1,showFormDataDialogFlag:!1,showExportSFCDialogFlag:!1,showNodeTreeDrawerFlag:!1,nodeTreeData:[],importTemplate:"",jsonContent:"",jsonRawContent:"",formDataJson:"",formDataRawJson:"",vueCode:"",htmlCode:"",sfcCode:"",sfcCodeV3:"",activeCodeTab:"vue",activeSFCTab:"vue2",testFormData:{select62173:2},testOptionData:{select62173:[{label:"01",value:1},{label:"22",value:2},{label:"333",value:3}],select001:[{label:"辣椒",value:1},{label:"菠萝",value:2},{label:"丑橘子",value:3}]}}},computed:{formJson(){return{widgetList:deepClone(this.designer.widgetList),formConfig:deepClone(this.designer.formConfig)}},undoDisabled(){return!this.designer.undoEnabled()},redoDisabled(){return!this.designer.redoEnabled()},layoutType(){return this.designer.getLayoutType()},designerDsv(){return this.globalDsv}},watch:{"designer.widgetList":{deep:!0,handler(t){}}},mounted(){this.designerConfig.toolbarMaxWidth,this.designerConfig.toolbarMinWidth,addWindowResizeHandler(()=>{this.$nextTick(()=>{})})},methods:{showToolButton(t){return this.designerConfig[t]===void 0?!0:!!this.designerConfig[t]},buildTreeNodeOfWidget(t,u){let e={id:t.id,label:t.options.label||t.type};u.push(e),t.category!==void 0&&(e.children=[],t.type==="grid"?t.cols.map(h=>{let g={id:h.id,label:h.options.name||t.type,children:[]};e.children.push(g),h.widgetList.map(m=>{this.buildTreeNodeOfWidget(m,g.children)})}):t.type==="table"?t.rows.map(h=>{let g={id:h.id,label:"table-row",selectable:!1,children:[]};e.children.push(g),h.cols.map(m=>{if(m.merged)return;let a=g.children,f={id:m.id,label:"table-cell",children:[]};a.push(f),m.widgetList.map(n=>{this.buildTreeNodeOfWidget(n,f.children)})})}):t.type==="tab"?t.tabs.map(h=>{let g={id:h.id,label:h.options.name||t.type,selectable:!1,children:[]};e.children.push(g),h.widgetList.map(m=>{this.buildTreeNodeOfWidget(m,g.children)})}):t.type==="sub-form"?t.widgetList.map(h=>{this.buildTreeNodeOfWidget(h,e.children)}):t.category==="container"&&t.widgetList.map(h=>{this.buildTreeNodeOfWidget(h,e.children)}))},refreshNodeTree(){this.nodeTreeData.length=0,this.designer.widgetList.forEach(t=>{this.buildTreeNodeOfWidget(t,this.nodeTreeData)})},showNodeTreeDrawer(){this.refreshNodeTree(),this.showNodeTreeDrawerFlag=!0,this.$nextTick(()=>{this.designer.selectedId&&this.$refs.nodeTree.setCurrentKey(this.designer.selectedId)})},undoHistory(){this.designer.undoHistoryStep()},redoHistory(){this.designer.redoHistoryStep()},changeLayoutType(t){this.designer.changeLayoutType(t)},clearFormWidget(){this.designer.clearDesigner(),this.designer.formWidget.clearWidgetRefList()},previewForm(){this.showPreviewDialogFlag=!0},saveAsFile(t,u){this.$prompt(this.i18nt("designer.hint.fileNameForSave"),this.i18nt("designer.hint.saveFileTitle"),{inputValue:u,closeOnClickModal:!1,inputPlaceholder:this.i18nt("designer.hint.fileNameInputPlaceholder")}).then(({value:e})=>{if(e||(e=u),getQueryParam("vscode")==1){this.vsSaveFile(e,t);return}const h=new Blob([t],{type:"text/plain;charset=utf-8"});FileSaver_min.exports.saveAs(h,e)}).catch(()=>{})},vsSaveFile(t,u){const e={cmd:"writeFile",data:{fileName:t,code:u}};window.parent.postMessage(e,"*")},importJson(){this.importTemplate=JSON.stringify(this.designer.getImportTemplate(),null," "),this.showImportJsonDialogFlag=!0},doJsonImport(){try{let t=JSON.parse(this.importTemplate);if(!t||!t.formConfig)throw new Error(this.i18nt("designer.hint.invalidJsonFormat"));let u=t.formConfig.jsonVersion;if(!u||u!==3)throw new Error(this.i18nt("designer.hint.jsonVersionMismatch"));this.designer.loadFormJson(t),this.showImportJsonDialogFlag=!1,this.$message.success(this.i18nt("designer.hint.importJsonSuccess")),this.designer.emitHistoryChange(),this.designer.emitEvent("form-json-imported",[])}catch(t){this.$message.error(t+"")}},exportJson(){let t=deepClone(this.designer.widgetList),u=deepClone(this.designer.formConfig);this.jsonContent=JSON.stringify({widgetList:t,formConfig:u},null," "),this.jsonRawContent=JSON.stringify({widgetList:t,formConfig:u}),this.showExportJsonDialogFlag=!0},copyFormJson(t){copyToClipboard(this.jsonRawContent,t,this.$message,this.i18nt("designer.hint.copyJsonSuccess"),this.i18nt("designer.hint.copyJsonFail"))},saveFormJson(){this.saveAsFile(this.jsonContent,`vform${generateId()}.json`)},exportCode(){this.vueCode=generateCode(this.formJson),this.htmlCode=generateCode(this.formJson,"html"),this.showExportCodeDialogFlag=!0},copyVueCode(t){copyToClipboard(this.vueCode,t,this.$message,this.i18nt("designer.hint.copyVueCodeSuccess"),this.i18nt("designer.hint.copyVueCodeFail"))},copyHtmlCode(t){copyToClipboard(this.htmlCode,t,this.$message,this.i18nt("designer.hint.copyHtmlCodeSuccess"),this.i18nt("designer.hint.copyHtmlCodeFail"))},saveVueCode(){this.saveAsFile(this.vueCode,`vform${generateId()}.vue`)},saveHtmlCode(){this.saveAsFile(this.htmlCode,`vform${generateId()}.html`)},generateSFC(){loadBeautifier(t=>{this.sfcCode=genSFC(this.designer.formConfig,this.designer.widgetList,t),this.sfcCodeV3=genSFC(this.designer.formConfig,this.designer.widgetList,t,!0),this.showExportSFCDialogFlag=!0})},copyV2SFC(t){copyToClipboard(this.sfcCode,t,this.$message,this.i18nt("designer.hint.copySFCSuccess"),this.i18nt("designer.hint.copySFCFail"))},copyV3SFC(t){copyToClipboard(this.sfcCodeV3,t,this.$message,this.i18nt("designer.hint.copySFCSuccess"),this.i18nt("designer.hint.copySFCFail"))},saveV2SFC(){this.saveAsFile(this.sfcCode,`vformV2-${generateId()}.vue`)},saveV3SFC(){this.saveAsFile(this.sfcCodeV3,`vformV3-${generateId()}.vue`)},getFormData(){this.$refs.preForm.getFormData().then(t=>{this.formDataJson=JSON.stringify(t,null," "),this.formDataRawJson=JSON.stringify(t),this.showFormDataDialogFlag=!0}).catch(t=>{this.$message.error(t)})},copyFormDataJson(t){copyToClipboard(this.formDataRawJson,t,this.$message,this.i18nt("designer.hint.copyJsonSuccess"),this.i18nt("designer.hint.copyJsonFail"))},saveFormData(){this.saveAsFile(this.htmlCode,`formData${generateId()}.json`)},resetForm(){this.$refs.preForm.resetForm()},setFormDisabled(){this.$refs.preForm.disableForm()},setFormEnabled(){this.$refs.preForm.enableForm()},testLoadForm(){axios.get("https://www.fastmock.site/mock/e9710039bb5f11262d1a0f2f0bbe08c8/vform3/getFS").then(t=>{let u=t.data;this.$refs.preForm.setFormJson(u),console.log("test","aaaaaaaa"),this.$nextTick(()=>{let e={input30696:"668899"};this.$refs.preForm.setFormData(e)})}).catch(t=>{})},testSetFormJson(){let t={widgetList:[{type:"static-text",icon:"static-text",formItemFlag:!1,options:{name:"statictext111193",columnWidth:"200px",hidden:!1,textContent:"多列表单",customClass:[],onCreated:"",onMounted:"",label:"static-text"},id:"statictext111193"},{type:"divider",icon:"divider",formItemFlag:!1,options:{name:"divider102346",label:"",columnWidth:"200px",direction:"horizontal",contentPosition:"center",hidden:!1,customClass:[],onCreated:"",onMounted:""},id:"divider102346"},{type:"grid",category:"container",icon:"grid",cols:[{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"input",icon:"text-field",formItemFlag:!0,options:{name:"input12931",label:"发件人姓名",labelAlign:"",type:"text",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!0,validation:"",validationHint:"",customClass:[],labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"el-icon-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"input12931"}],options:{name:"gridCol25469",hidden:!1,span:12,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:[]},id:"grid-col-25469"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"input",icon:"text-field",formItemFlag:!0,options:{name:"input23031",label:"发件人号码",labelAlign:"",type:"text",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!0,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"el-icon-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"input23031"}],options:{name:"gridCol25125",hidden:!1,span:12,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-25125"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"switch",icon:"switch-field",formItemFlag:!0,options:{name:"switch96070",label:"是否保密",labelAlign:"",defaultValue:!0,columnWidth:"200px",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,switchWidth:40,activeText:"",inactiveText:"",activeColor:null,inactiveColor:null,onCreated:"",onMounted:"",onChange:"",onValidate:""},id:"switch96070"}],options:{name:"gridCol44470",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-44470"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"textarea",icon:"textarea-field",formItemFlag:!0,options:{name:"textarea21654",label:"发件人地址",labelAlign:"",rows:3,defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,required:!0,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"textarea21654"}],options:{name:"gridCol98223",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-98223"}],options:{name:"grid35834",hidden:!1,gutter:12,customClass:""},id:"grid35834"},{type:"divider",icon:"divider",formItemFlag:!1,options:{name:"divider69240",label:"",columnWidth:"200px",direction:"horizontal",contentPosition:"center",hidden:!1,customClass:"",onCreated:"",onMounted:""},id:"divider69240"},{type:"grid",category:"container",icon:"grid",cols:[{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"input",icon:"text-field",formItemFlag:!0,options:{name:"input113152",label:"收件人姓名111",labelAlign:"",type:"text",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!0,validation:"",validationHint:"",customClass:[],labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"el-icon-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"input113152"}],options:{name:"gridCol47242",hidden:!1,span:12,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-47242"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"input",icon:"text-field",formItemFlag:!0,options:{name:"input40240",label:"收件人号码",labelAlign:"",type:"text",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!0,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"el-icon-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"input40240"}],options:{name:"gridCol27970",hidden:!1,span:12,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-27970"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"checkbox",icon:"checkbox-field",formItemFlag:!0,options:{name:"checkbox63174",label:"接收时间段",labelAlign:"",defaultValue:[],columnWidth:"200px",size:"",displayStyle:"inline",buttonStyle:!1,border:!1,labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,optionItems:[{label:"上午9:00 - 11:30",value:1},{label:"下午12:30 - 18:00",value:2},{label:"晚上18:00 - 21:00",value:3}],required:!0,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onValidate:""},id:"checkbox63174"}],options:{name:"gridCol74653",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-74653"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"input",icon:"text-field",formItemFlag:!0,options:{name:"input78584",label:"收件人地址",labelAlign:"",type:"text",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!0,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"el-icon-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"input78584"}],options:{name:"gridCol63781",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-63781"}],options:{name:"grid114672",hidden:!1,gutter:12,customClass:""},id:"grid114672"},{type:"divider",icon:"divider",formItemFlag:!1,options:{name:"divider75887",label:"",columnWidth:"200px",direction:"horizontal",contentPosition:"center",hidden:!1,customClass:[],onCreated:"",onMounted:""},id:"divider75887"},{type:"grid",category:"container",icon:"grid",cols:[{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"time-range",icon:"time-range-field",formItemFlag:!0,options:{name:"timerange47503",label:"送货时间",labelAlign:"",defaultValue:null,startPlaceholder:"",endPlaceholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"HH:mm:ss",required:!0,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"timerange47503"}],options:{name:"gridCol109912",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-109912"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"slider",icon:"slider-field",formItemFlag:!0,options:{name:"slider54714",label:"价格保护",labelAlign:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,validation:"",validationHint:"",customClass:[],labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,min:0,max:100,step:10,range:!1,height:null,onCreated:"",onMounted:"",onChange:"",onValidate:"",showStops:!0},id:"slider54714"}],options:{name:"gridCol114653",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-114653"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"textarea",icon:"textarea-field",formItemFlag:!0,options:{name:"textarea64794",label:"其他信息",labelAlign:"",rows:3,defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,required:!1,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"textarea64794"}],options:{name:"gridCol80867",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-80867"}],options:{name:"grid28709",hidden:!1,gutter:12,customClass:""},id:"grid28709"}],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:150,labelPosition:"left",size:"",labelAlign:"label-right-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:""}};this.$refs.preForm.setFormJson(t),this.$nextTick(()=>{this.$refs.preForm.setFormData({input12931:"asdf"})})},testSetFormData(){let t={input89263:"899668"};this.$refs.preForm.setFormData(t)},testReloadOptionData(){this.testOptionData.select001.push({label:"aaa",value:888}),this.$refs.preForm.reloadOptionData()},handleFormChange(t,u,e,h){console.log("formModel",h)},testOnAppendButtonClick(t){console.log("test",t)},testOnButtonClick(t){console.log("test",t)},onMyEmitTest(t){console.log("-----",t)},findWidgetById(t){let u=null;return traverseAllWidgets(this.designer.widgetList,e=>{e.id===t&&(u=e)}),u},onNodeTreeClick(t,u,e){if(t.selectable!==void 0&&!t.selectable)this.$message.info(this.i18nt("designer.hint.currentNodeCannotBeSelected"));else{const h=t.id,g=this.findWidgetById(h);g&&this.designer.setSelected(g)}}}},_hoisted_1$c={class:"toolbar-container"},_hoisted_2$b={class:"left-toolbar"},_hoisted_3$a={class:"right-toolbar-con"},_hoisted_4$3={key:0,class:""},_hoisted_5$2={class:"dialog-footer"},_hoisted_6$1={key:1,class:""},_hoisted_7$1={class:"dialog-footer"},_hoisted_8$1={key:2,class:""},_hoisted_9$1={class:"dialog-footer"},_hoisted_10$1={key:3,class:""},_hoisted_11$1={class:"dialog-footer"},_hoisted_12$1={key:4,class:""},_hoisted_13={style:{border:"1px solid #DCDFE6"}},_hoisted_14={class:"dialog-footer"},_hoisted_15={key:5,class:""},_hoisted_16={class:"dialog-footer"};function _sfc_render$e(t,u,e,h,g,m){const a=require$$0.resolveComponent("svg-icon"),f=require$$0.resolveComponent("el-button"),n=require$$0.resolveComponent("el-button-group"),c=require$$0.resolveComponent("el-tree"),o=require$$0.resolveComponent("el-drawer"),s=require$$0.resolveComponent("VFormRender"),i=require$$0.resolveComponent("el-dialog"),r=require$$0.resolveComponent("el-alert"),l=require$$0.resolveComponent("code-editor"),d=require$$0.resolveComponent("el-tab-pane"),p=require$$0.resolveComponent("el-tabs"),v=require$$0.resolveDirective("drag");return require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_1$c,[require$$0.createElementVNode("div",_hoisted_2$b,[require$$0.createVNode(f,{link:"",type:"primary",disabled:m.undoDisabled,title:t.i18nt("designer.toolbar.undoHint"),onClick:m.undoHistory},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"undo"})]),_:1},8,["disabled","title","onClick"]),require$$0.createVNode(f,{link:"",type:"primary",disabled:m.redoDisabled,title:t.i18nt("designer.toolbar.redoHint"),onClick:m.redoHistory},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"redo"})]),_:1},8,["disabled","title","onClick"]),require$$0.createVNode(n,{style:{"margin-left":"20px"}},{default:require$$0.withCtx(()=>[require$$0.createVNode(f,{type:m.layoutType==="PC"?"info":"",onClick:u[0]||(u[0]=b=>m.changeLayoutType("PC"))},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.pcLayout")),1)]),_:1},8,["type"]),require$$0.createVNode(f,{type:m.layoutType==="Pad"?"info":"",onClick:u[1]||(u[1]=b=>m.changeLayoutType("Pad"))},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.padLayout")),1)]),_:1},8,["type"]),require$$0.createVNode(f,{type:m.layoutType==="H5"?"info":"",onClick:u[2]||(u[2]=b=>m.changeLayoutType("H5"))},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.mobileLayout")),1)]),_:1},8,["type"])]),_:1}),require$$0.createVNode(f,{style:{"margin-left":"20px"},title:t.i18nt("designer.toolbar.nodeTreeHint"),onClick:m.showNodeTreeDrawer},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"node-tree"})]),_:1},8,["title","onClick"])]),require$$0.createVNode(o,{title:t.i18nt("designer.toolbar.nodeTreeTitle"),direction:"ltr",modelValue:g.showNodeTreeDrawerFlag,"onUpdate:modelValue":u[3]||(u[3]=b=>g.showNodeTreeDrawerFlag=b),modal:!0,size:280,"destroy-on-close":!0,class:"node-tree-drawer"},{default:require$$0.withCtx(()=>[require$$0.createVNode(c,{ref:"nodeTree",data:g.nodeTreeData,"node-key":"id","default-expand-all":"","highlight-current":"",class:"node-tree","icon-class":"el-icon-arrow-right",onNodeClick:m.onNodeTreeClick},null,8,["data","onNodeClick"])]),_:1},8,["title","modelValue"]),require$$0.createElementVNode("div",{class:"right-toolbar",style:require$$0.normalizeStyle({width:g.toolbarWidth+"px"})},[require$$0.createElementVNode("div",_hoisted_3$a,[m.showToolButton("clearDesignerButton")?(require$$0.openBlock(),require$$0.createBlock(f,{key:0,link:"",type:"primary",onClick:m.clearFormWidget},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"el-delete"}),require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.clear")),1)]),_:1},8,["onClick"])):require$$0.createCommentVNode("",!0),m.showToolButton("previewFormButton")?(require$$0.openBlock(),require$$0.createBlock(f,{key:1,link:"",type:"primary",onClick:m.previewForm},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"el-view"}),require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.preview")),1)]),_:1},8,["onClick"])):require$$0.createCommentVNode("",!0),m.showToolButton("importJsonButton")?(require$$0.openBlock(),require$$0.createBlock(f,{key:2,link:"",type:"primary",onClick:m.importJson},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.importJson")),1)]),_:1},8,["onClick"])):require$$0.createCommentVNode("",!0),m.showToolButton("exportJsonButton")?(require$$0.openBlock(),require$$0.createBlock(f,{key:3,link:"",type:"primary",onClick:m.exportJson},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.exportJson")),1)]),_:1},8,["onClick"])):require$$0.createCommentVNode("",!0),m.showToolButton("exportCodeButton")?(require$$0.openBlock(),require$$0.createBlock(f,{key:4,link:"",type:"primary",onClick:m.exportCode},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.exportCode")),1)]),_:1},8,["onClick"])):require$$0.createCommentVNode("",!0),m.showToolButton("generateSFCButton")?(require$$0.openBlock(),require$$0.createBlock(f,{key:5,link:"",type:"primary",onClick:m.generateSFC},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"vue-sfc"}),require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.generateSFC")),1)]),_:1},8,["onClick"])):require$$0.createCommentVNode("",!0),(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(t.$slots,(b,w)=>require$$0.renderSlot(t.$slots,w,{},void 0,!0)),256))])],4),g.showPreviewDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_4$3,[require$$0.createVNode(i,{title:t.i18nt("designer.toolbar.preview"),modelValue:g.showPreviewDialogFlag,"onUpdate:modelValue":u[5]||(u[5]=b=>g.showPreviewDialogFlag=b),"show-close":!0,"close-on-click-modal":!1,"close-on-press-escape":!1,center:"","destroy-on-close":!0,"append-to-body":!0,class:"drag-dialog small-padding-dialog",width:"75%",fullscreen:m.layoutType==="H5"||m.layoutType==="Pad"},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_5$2,[require$$0.createVNode(f,{type:"primary",onClick:m.getFormData},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.getFormData")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{type:"primary",onClick:m.resetForm},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.resetForm")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{type:"primary",onClick:m.setFormDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.disableForm")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{type:"primary",onClick:m.setFormEnabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.enableForm")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:u[4]||(u[4]=b=>g.showPreviewDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.closePreview")),1)]),_:1}),require$$0.createCommentVNode("",!0),require$$0.createCommentVNode("",!0),require$$0.createCommentVNode("",!0),require$$0.createCommentVNode("",!0)])]),default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",null,[require$$0.createElementVNode("div",{class:require$$0.normalizeClass(["form-render-wrapper",[m.layoutType==="H5"?"h5-layout":m.layoutType==="Pad"?"pad-layout":""]])},[require$$0.createVNode(s,{ref:"preForm","form-json":m.formJson,"form-data":g.testFormData,"preview-state":!0,"option-data":g.testOptionData,"global-dsv":m.designerDsv,onMyEmitTest:m.onMyEmitTest,onAppendButtonClick:m.testOnAppendButtonClick,onButtonClick:m.testOnButtonClick,onFormChange:m.handleFormChange},null,8,["form-json","form-data","option-data","global-dsv","onMyEmitTest","onAppendButtonClick","onButtonClick","onFormChange"])],2)])]),_:1},8,["title","modelValue","fullscreen"])])),[[v,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0),g.showImportJsonDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_6$1,[require$$0.createVNode(i,{title:t.i18nt("designer.toolbar.importJson"),modelValue:g.showImportJsonDialogFlag,"onUpdate:modelValue":u[8]||(u[8]=b=>g.showImportJsonDialogFlag=b),"show-close":!0,class:"drag-dialog small-padding-dialog","append-to-body":!0,center:"","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_7$1,[require$$0.createVNode(f,{type:"primary",onClick:m.doJsonImport},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.import")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:u[7]||(u[7]=b=>g.showImportJsonDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.cancel")),1)]),_:1})])]),default:require$$0.withCtx(()=>[require$$0.createVNode(r,{type:"info",title:t.i18nt("designer.hint.importJsonHint"),"show-icon":"",class:"alert-padding"},null,8,["title"]),require$$0.createVNode(l,{mode:"json",readonly:!1,modelValue:g.importTemplate,"onUpdate:modelValue":u[6]||(u[6]=b=>g.importTemplate=b)},null,8,["modelValue"])]),_:1},8,["title","modelValue"])])),[[v,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0),g.showExportJsonDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_8$1,[require$$0.createVNode(i,{title:t.i18nt("designer.toolbar.exportJson"),modelValue:g.showExportJsonDialogFlag,"onUpdate:modelValue":u[11]||(u[11]=b=>g.showExportJsonDialogFlag=b),"show-close":!0,class:"drag-dialog small-padding-dialog",center:"","append-to-body":"","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_9$1,[require$$0.createVNode(f,{type:"primary",class:"copy-json-btn","data-clipboard-text":g.jsonRawContent,onClick:m.copyFormJson},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.copyJson")),1)]),_:1},8,["data-clipboard-text","onClick"]),require$$0.createVNode(f,{onClick:m.saveFormJson},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.saveFormJson")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:u[10]||(u[10]=b=>g.showExportJsonDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.closePreview")),1)]),_:1})])]),default:require$$0.withCtx(()=>[require$$0.createVNode(l,{mode:"json",readonly:!0,modelValue:g.jsonContent,"onUpdate:modelValue":u[9]||(u[9]=b=>g.jsonContent=b)},null,8,["modelValue"])]),_:1},8,["title","modelValue"])])),[[v,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0),g.showExportCodeDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_10$1,[require$$0.createVNode(i,{title:t.i18nt("designer.toolbar.exportCode"),modelValue:g.showExportCodeDialogFlag,"onUpdate:modelValue":u[16]||(u[16]=b=>g.showExportCodeDialogFlag=b),"show-close":!0,class:"drag-dialog small-padding-dialog",center:"","append-to-body":"",width:"65%","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_11$1,[require$$0.createVNode(f,{type:"primary",class:"copy-vue-btn","data-clipboard-text":g.vueCode,onClick:m.copyVueCode},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.copyVueCode")),1)]),_:1},8,["data-clipboard-text","onClick"]),require$$0.createVNode(f,{type:"primary",class:"copy-html-btn","data-clipboard-text":g.htmlCode,onClick:m.copyHtmlCode},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.copyHtmlCode")),1)]),_:1},8,["data-clipboard-text","onClick"]),require$$0.createVNode(f,{onClick:m.saveVueCode},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.saveVueCode")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:m.saveHtmlCode},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.saveHtmlCode")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:u[15]||(u[15]=b=>g.showExportCodeDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.closePreview")),1)]),_:1})])]),default:require$$0.withCtx(()=>[require$$0.createVNode(p,{type:"border-card",class:"no-box-shadow no-padding",modelValue:g.activeCodeTab,"onUpdate:modelValue":u[14]||(u[14]=b=>g.activeCodeTab=b)},{default:require$$0.withCtx(()=>[require$$0.createVNode(d,{label:"Vue",name:"vue"},{default:require$$0.withCtx(()=>[require$$0.createVNode(l,{mode:"html",readonly:!0,modelValue:g.vueCode,"onUpdate:modelValue":u[12]||(u[12]=b=>g.vueCode=b),"user-worker":!1},null,8,["modelValue"])]),_:1}),require$$0.createVNode(d,{label:"HTML",name:"html"},{default:require$$0.withCtx(()=>[require$$0.createVNode(l,{mode:"html",readonly:!0,modelValue:g.htmlCode,"onUpdate:modelValue":u[13]||(u[13]=b=>g.htmlCode=b),"user-worker":!1},null,8,["modelValue"])]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["title","modelValue"])])),[[v,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0),g.showFormDataDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_12$1,[require$$0.createVNode(i,{title:t.i18nt("designer.hint.exportFormData"),modelValue:g.showFormDataDialogFlag,"onUpdate:modelValue":u[19]||(u[19]=b=>g.showFormDataDialogFlag=b),"show-close":!0,class:"nested-drag-dialog dialog-title-light-bg",center:"","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0,"append-to-body":!0},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_14,[require$$0.createVNode(f,{type:"primary",class:"copy-form-data-json-btn","data-clipboard-text":g.formDataRawJson,onClick:m.copyFormDataJson},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.copyFormData")),1)]),_:1},8,["data-clipboard-text","onClick"]),require$$0.createVNode(f,{onClick:m.saveFormData},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.saveFormData")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:u[18]||(u[18]=b=>g.showFormDataDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.closePreview")),1)]),_:1})])]),default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_13,[require$$0.createVNode(l,{mode:"json",readonly:!0,modelValue:g.formDataJson,"onUpdate:modelValue":u[17]||(u[17]=b=>g.formDataJson=b)},null,8,["modelValue"])])]),_:1},8,["title","modelValue"])])),[[v,[".nested-drag-dialog.el-dialog",".nested-drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0),g.showExportSFCDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_15,[g.showExportSFCDialogFlag?(require$$0.openBlock(),require$$0.createBlock(i,{key:0,title:t.i18nt("designer.toolbar.generateSFC"),modelValue:g.showExportSFCDialogFlag,"onUpdate:modelValue":u[24]||(u[24]=b=>g.showExportSFCDialogFlag=b),"append-to-body":"","show-close":!0,class:"drag-dialog small-padding-dialog",center:"",width:"65%","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_16,[require$$0.createVNode(f,{type:"primary",class:"copy-vue2-sfc-btn","data-clipboard-text":g.sfcCode,onClick:m.copyV2SFC},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.copyVue2SFC")),1)]),_:1},8,["data-clipboard-text","onClick"]),require$$0.createVNode(f,{type:"primary",class:"copy-vue3-sfc-btn","data-clipboard-text":g.sfcCodeV3,onClick:m.copyV3SFC},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.copyVue3SFC")),1)]),_:1},8,["data-clipboard-text","onClick"]),require$$0.createVNode(f,{onClick:m.saveV2SFC},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.saveVue2SFC")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:m.saveV3SFC},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.saveVue3SFC")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:u[23]||(u[23]=b=>g.showExportSFCDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.closePreview")),1)]),_:1})])]),default:require$$0.withCtx(()=>[require$$0.createVNode(p,{type:"border-card",class:"no-box-shadow no-padding",modelValue:g.activeSFCTab,"onUpdate:modelValue":u[22]||(u[22]=b=>g.activeSFCTab=b)},{default:require$$0.withCtx(()=>[require$$0.createVNode(d,{label:"Vue2",name:"vue2"},{default:require$$0.withCtx(()=>[require$$0.createVNode(l,{mode:"html",readonly:!0,modelValue:g.sfcCode,"onUpdate:modelValue":u[20]||(u[20]=b=>g.sfcCode=b),"user-worker":!1},null,8,["modelValue"])]),_:1}),require$$0.createVNode(d,{label:"Vue3",name:"vue3"},{default:require$$0.withCtx(()=>[require$$0.createVNode(l,{mode:"html",readonly:!0,modelValue:g.sfcCodeV3,"onUpdate:modelValue":u[21]||(u[21]=b=>g.sfcCodeV3=b),"user-worker":!1},null,8,["modelValue"])]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["title","modelValue"])):require$$0.createCommentVNode("",!0)])),[[v,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0)])}const ToolbarPanel=_export_sfc$1(_sfc_main$e,[["render",_sfc_render$e],["__scopeId","data-v-84c036dc"]]),formTemplates=[{title:"单列表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t1.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json1.txt",description:"表单模板详细说明..."},{title:"多列表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t2.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json2.txt",description:"表单模板详细说明..."},{title:"分组表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t3.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json3.txt",description:"表单模板详细说明..."},{title:"标签页表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t4.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json4.txt",description:"表单模板详细说明..."},{title:"主从表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t5.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json5.txt",description:"表单模板详细说明..."},{title:"响应式表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t6.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json6.txt",description:"表单模板详细说明..."},{title:"问卷调查表",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t7.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json7.txt",description:"表单模板详细说明..."},{title:"固定表格表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t8.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json8.txt",description:"表单模板详细说明..."}],_imports_0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAe9JREFUOE+9lD9oU1EUxn8nqVZJB5cOdnAxmlSwCoIodHFQwSoFt85FQUQdrIP/mvsodWkHBVEodHYUoV0yOCmo4GCGmmdTBwULujgkaDAvn7w0CUmapK0U33jfub9z7jnf+Yxt/mybeXQEHpjSYLTEuMQZYF818Rcz0kEP88v37WO7YtYBj13WjvwAM4irQNqMF4JceNkgLjGKcRrxtG+Vifdz9qcR3AQMYYUBFlUmXhZjy1P2tl0VB52Om3hmxkrsGyON0CZgwukh4kLJOLni7Hu3/sYfqD9a5A2w4Ht2oxZbB4Y9i5TIlMsMd6qsNUGlUngVwNGcs6VqW9bCkinNCgZ9z0a2MvlESosG2axnN5uAiUllLMLjrLO5rQCTni5JXPOdDbUCfxLhou/sZfhjaEKxYh/TwK6WBL97Y9zN3LJCeJ6Y1CmM575ne7oDZxQrFpiW2N0kC+NXFO4tOctvBPz3J5e57nt2eFuGknRaAPysaxlKRTYBHwTDn5y928xgqgJ/HRhH1smm0o+UHgHng15O5O7Yj67Cvq3+6M4uwg4v11dP7Jcx1qnS+urB59gq5zquXg2a38ssxhWDNKE5BFVziBJHjEqcBZ5saA6NT4w7HeoR41pzlpp9fQ3tqwTztZ61tuX/Gexmptwu5i8Z7doVpHTyUwAAAABJRU5ErkJggg==",_sfc_main$d={name:"FieldPanel",mixins:[i18n],components:{SvgIcon},props:{designer:Object,title:{type:String,default:""},selectedList:{type:Array,default:()=>[]},noSelectedList:{type:Array,default:()=>[]}},inject:["getBannedWidgets","getDesignerConfig"],data(){return{position1:"",position2:"",alwaysRequire:["coopName","settlementCoopName","masterSalesName","masterSalesRatio","servicerName","departureStation","arrivalStation","flightDate","businessDate","businessProduct","bookingType","SOPDimension","planPieces","planWeight","planVolume","arrivalDate"],designerConfig:this.getDesignerConfig(),firstTab:"componentLib",scrollerHeight:0,halfScrollHeight:"170px",activeNames:["1","2","3","4"],containers:[],basicFields:[],advancedFields:[],customFields:[],formTemplates}},computed:{},created(){this.loadWidgets()},mounted(){this.initData()},methods:{renderForm(){this.$nextTick(()=>{this.selectedList?.length>0&&this.selectedList.forEach(t=>{t.widgetList?.length&&t.widgetList[0].options?.name&&this.alwaysRequire.includes(t.widgetList[0].options.name)&&(t.widgetList[0].options.required=!0)})})},initData(){this.title.includes("进口")?this.alwaysRequire=["coopName","settlementCoopName","masterSalesName","masterSalesRatio","servicerName","arrivalStation","flightDate","businessDate","businessProduct","bookingType","SOPDimension","arrivalDate"]:this.alwaysRequire=["coopName","settlementCoopName","masterSalesName","masterSalesRatio","servicerName","departureStation","arrivalStation","flightDate","businessDate","businessProduct","bookingType","SOPDimension","planPieces","planWeight","planVolume","arrivalDate"],this.renderForm()},getPosition(t,u,e){let h="";return t===2&&e.forEach((g,m)=>{g.widgetList.length&&g.widgetList[0].options.label.includes(u)&&(h||(h=g.widgetList[0].options.name))}),t===1&&e.forEach((g,m)=>{g.options.label.includes(u)&&(h||(h=g.options.name))}),h},scrollToView(t){let u=this["position"+t],e=t===1?this.noSelectedList:this.selectedList,h=this.getPosition(t,u,e);if(t===1&&"分割线".includes(u)&&this.$refs.list_1.scrollTo({top:0,behavior:"smooth"}),h){let g=document.querySelector("#"+h),m=this.$refs["list_"+t],a=g?.offsetTop||0,f=m?.$el?.offsetTop||0;this.$nextTick(()=>{m.scrollTo({top:a-f-50,behavior:"smooth"})})}},deleteSelectedField(t){t.options.hidden=!0},deleteFormField(t){const u=this.designer.widgetList.find(e=>e.cols.find(h=>h.id===t.id))||{};if(u?.cols){const e=u.cols.findIndex(h=>h.id===t.id);this.designer.deleteColOfGrid(u,e),this.designer.emitHistoryChange()}},drawingItemDelete(t,u){console.log("listKey",t,u);const e=this.designer.widgetList.find(h=>h.cols.find(g=>g.id===u.id))||{};e?.cols&&(console.log("删除父亲:",e),this.designer.deleteColOfGrid(e,t),this.designer.emitHistoryChange())},seeData(){console.log("已选-panel",this.selectedList),console.log("待选-panel",this.noSelectedList)},setRequired(t){this.$nextTick(()=>{t.widgetList[0].options.required=!t.widgetList[0].options.required,t.widgetList[0].options.required&&(t.widgetList[0].options.onValidate=!1)})},setRemind(t){this.$nextTick(()=>{t.widgetList[0].options.onValidate=!t.widgetList[0].options.onValidate,t.widgetList[0].options.onValidate&&(t.widgetList[0].options.required=!1)})},isBanned(t){return this.getBannedWidgets().indexOf(t)>-1},showFormTemplates(){return this.designerConfig.formTemplates===void 0?!0:!!this.designerConfig.formTemplates},loadWidgets(){this.containers=containers.map(t=>({key:generateId(),...t,displayName:t.options.label})).filter(t=>!t.internal&&!this.isBanned(t.type)),this.basicFields=basicFields.map(t=>({key:generateId(),...t,displayName:t.options.label})).filter(t=>!this.isBanned(t.type)),this.advancedFields=advancedFields.map(t=>({key:generateId(),...t,displayName:t.options.label})).filter(t=>!this.isBanned(t.type)),this.customFields=customFields.map(t=>({key:generateId(),...t,displayName:this.i18n2t(`designer.widgetLabel.${t.type}`,`extension.widgetLabel.${t.type}`)})).filter(t=>!this.isBanned(t.type))},handleContainerWidgetClone(t){return this.designer.copyNewContainerWidget(t)},handleFieldWidgetClone(t){return this.designer.copyNewFieldWidget(t)},checkContainerMove(t){return this.designer.checkWidgetMove(t)},checkFieldMove(t){return this.designer.checkFieldMove(t)},onContainerDragEnd(t){},addContainerByDbClick(t){this.designer.addContainerByDbClick(t)},addFieldByDbClick(t){this.designer.addFieldByDbClick(t)},loadFormTemplate(t){this.$confirm(this.i18nt("designer.hint.loadFormTemplateHint"),this.i18nt("render.hint.prompt"),{confirmButtonText:this.i18nt("render.hint.confirm"),cancelButtonText:this.i18nt("render.hint.cancel")}).then(()=>{axios.get(t).then(u=>{let e=!1;typeof u.data=="string"?e=this.designer.loadFormJson(JSON.parse(u.data)):u.data.constructor===Object&&(e=this.designer.loadFormJson(u.data)),e&&this.designer.emitHistoryChange(),this.$message.success(this.i18nt("designer.hint.loadFormTemplateSuccess"))}).catch(u=>{this.$message.error(this.i18nt("designer.hint.loadFormTemplateFailed")+":"+u)})}).catch(u=>{console.error(u)})}}},_hoisted_1$b={class:"panel-container"},_hoisted_2$a=["title","onDblclick"],_hoisted_3$9={class:"search-item-input"},_hoisted_4$2={class:"center-box",ref:"list_1"},_hoisted_5$1=["title","onDblclick","id"],_hoisted_6={class:"search-item-input"},_hoisted_7={class:"selected-box",ref:"list_2"},_hoisted_8=["id"],_hoisted_9={key:0},_hoisted_10=["onClick"],_hoisted_11={key:1,style:{padding:"12px"}},_hoisted_12=["onClick"];function _sfc_render$d(t,u,e,h,g,m){const a=require$$0.resolveComponent("svg-icon"),f=require$$0.resolveComponent("draggable"),n=require$$0.resolveComponent("el-collapse-item"),c=require$$0.resolveComponent("el-input"),o=require$$0.resolveComponent("el-button"),s=require$$0.resolveComponent("el-collapse"),i=require$$0.resolveComponent("el-scrollbar");return require$$0.openBlock(),require$$0.createBlock(i,{class:"side-scroll-bar"},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_1$b,[require$$0.createVNode(s,{modelValue:g.activeNames,"onUpdate:modelValue":u[6]||(u[6]=r=>g.activeNames=r),class:"widget-collapse"},{default:require$$0.withCtx(()=>[require$$0.createVNode(n,{name:"1",title:t.i18nt("designer.containerTitle")},{default:require$$0.withCtx(()=>[require$$0.createVNode(f,{tag:"ul",list:g.containers,"item-key":"id",group:{name:"dragGroup",pull:"clone",put:!1},clone:m.handleContainerWidgetClone,"ghost-class":"ghost",sort:!1,move:m.checkContainerMove,onEnd:m.onContainerDragEnd},{item:require$$0.withCtx(({element:r})=>[require$$0.createElementVNode("li",{class:"container-widget-item",title:r.displayName,onDblclick:l=>m.addContainerByDbClick(r)},[require$$0.createElementVNode("span",null,[require$$0.createVNode(a,{"icon-class":r.icon,"class-name":"color-svg-icon"},null,8,["icon-class"]),require$$0.createTextVNode(" "+require$$0.toDisplayString(r.options.label),1)])],40,_hoisted_2$a)]),_:1},8,["list","clone","move","onEnd"])]),_:1},8,["title"]),require$$0.createVNode(n,{name:"2",title:"待选项",class:"search-item"},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_3$9,[require$$0.createVNode(c,{placeholder:"搜索关键字",modelValue:g.position1,"onUpdate:modelValue":u[0]||(u[0]=r=>g.position1=r),class:"input-with-select",onBlur:u[1]||(u[1]=r=>m.scrollToView(1)),onKeyup:u[2]||(u[2]=require$$0.withKeys(r=>m.scrollToView(1),["enter","native"]))},null,8,["modelValue"])]),require$$0.createElementVNode("div",_hoisted_4$2,[require$$0.createVNode(f,{tag:"ul",list:e.noSelectedList,"item-key":"id",group:{name:"dragGroup",pull:"clone",put:!1},move:m.checkFieldMove,clone:m.handleFieldWidgetClone,"ghost-class":"ghost",sort:!1},{item:require$$0.withCtx(({element:r,index:l})=>[require$$0.createElementVNode("li",{class:"field-widget-item",title:r.options?.label,onDblclick:d=>m.addFieldByDbClick(r),id:r.options?.name||"divider"},[require$$0.createElementVNode("span",null,[require$$0.createVNode(a,{"icon-class":r.icon,"class-name":"color-svg-icon"},null,8,["icon-class"]),require$$0.createTextVNode(" "+require$$0.toDisplayString(r.options?.label),1)])],40,_hoisted_5$1)]),_:1},8,["list","move","clone"])],512)]),_:1}),require$$0.createVNode(n,{class:"search-item",name:"3",title:"已选项"},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_6,[require$$0.createVNode(c,{placeholder:"搜索关键字",modelValue:g.position2,"onUpdate:modelValue":u[3]||(u[3]=r=>g.position2=r),class:"input-with-select",onBlur:u[4]||(u[4]=r=>m.scrollToView(2)),onKeyup:u[5]||(u[5]=require$$0.withKeys(r=>m.scrollToView(2),["enter","native"]))},null,8,["modelValue"])]),require$$0.createElementVNode("div",_hoisted_7,[require$$0.createElementVNode("ul",null,[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.selectedList,(r,l)=>(require$$0.openBlock(),require$$0.createElementBlock("p",{key:l,class:"selected-p",id:r?.widgetList[0]?.options?.name},[r.widgetList.length>0?(require$$0.openBlock(),require$$0.createElementBlock("li",_hoisted_9,[require$$0.createElementVNode("span",null,[r.widgetList[0]?.options?.required?(require$$0.openBlock(),require$$0.createElementBlock("span",_hoisted_11)):(require$$0.openBlock(),require$$0.createElementBlock("img",{key:0,class:"del-img",src:_imports_0,onClick:d=>m.deleteSelectedField(r)},null,8,_hoisted_10)),require$$0.createTextVNode(" "+require$$0.toDisplayString(r?.widgetList[0]?.options?.label),1)]),require$$0.createElementVNode("span",null,[r.widgetList[0]?.options?.label?(require$$0.openBlock(),require$$0.createBlock(o,{key:0,disabled:g.alwaysRequire.indexOf(r.widgetList[0]?.options?.name)>-1,class:require$$0.normalizeClass({"s-required":!0,"s-required-active":r.widgetList[0]?.options?.required}),onClick:d=>m.setRequired(r,l)},{default:require$$0.withCtx(()=>[...u[7]||(u[7]=[require$$0.createTextVNode(" 必填 ",-1)])]),_:1},8,["disabled","class","onClick"])):require$$0.createCommentVNode("",!0),require$$0.createVNode(o,{disabled:g.alwaysRequire.indexOf(r.widgetList[0]?.options?.name)>-1,class:require$$0.normalizeClass({"s-required":!0,"s-required-active":r.widgetList[0]?.options?.onValidate}),onClick:d=>m.setRemind(r)},{default:require$$0.withCtx(()=>[...u[8]||(u[8]=[require$$0.createTextVNode(" 提醒 ",-1)])]),_:1},8,["disabled","class","onClick"])])])):require$$0.createCommentVNode("",!0),!r.widgetList.length>1?(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,{key:1},require$$0.renderList(r.options?.children,(d,p)=>(require$$0.openBlock(),require$$0.createElementBlock("li",{key:p},[require$$0.createElementVNode("span",null,[require$$0.createElementVNode("img",{class:"del-img",src:_imports_0,onClick:v=>m.drawingItemDelete(p,r.options.children,"children")},null,8,_hoisted_12),require$$0.createTextVNode(" "+require$$0.toDisplayString(d.options.label),1)]),require$$0.createElementVNode("span",null,[require$$0.createVNode(o,{disabled:"",class:require$$0.normalizeClass({"s-required":!0,"s-required-active":r.options.required}),onClick:v=>m.setRequired(d,p)},{default:require$$0.withCtx(()=>[...u[9]||(u[9]=[require$$0.createTextVNode(" 必填 ",-1)])]),_:1},8,["class","onClick"])])]))),128)):require$$0.createCommentVNode("",!0)],8,_hoisted_8))),128))])],512)]),_:1})]),_:1},8,["modelValue"])])]),_:1})}const WidgetPanel=_export_sfc$1(_sfc_main$d,[["render",_sfc_render$d],["__scopeId","data-v-31633d34"]]),_sfc_main$c={name:"FormDesign",componentName:"FormDesign",mixins:[i18n],components:{SvgIcon,WidgetPanel,ToolbarPanel,SettingPanel,VFormWidget},props:{title:{type:String,default:""},fieldListApi:{type:Object,default:null},bannedWidgets:{type:Array,default:()=>[]},designerConfig:{type:Object,default:()=>({languageMenu:!0,externalLink:!0,formTemplates:!0,eventCollapse:!0,widgetNameReadonly:!1,clearDesignerButton:!0,previewFormButton:!0,importJsonButton:!0,exportJsonButton:!0,exportCodeButton:!0,generateSFCButton:!0,toolbarMaxWidth:450,toolbarMinWidth:300,presetCssCode:"",resetFormJson:!1})},globalDsv:{type:Object,default:()=>({})},formData:{type:Object,default:()=>({})}},data(){return{selectedList:[],noSelectedList:[],vFormVersion:VARIANT_FORM_VERSION,curLangName:"",curLocale:"",vsCodeFlag:!1,caseName:"",docUrl:"https://www.vform666.com/document3.html",gitUrl:"https://github.com/vform666/variant-form3-vite",chatUrl:"https://www.vform666.com/pages/chat-group/",subScribeUrl:"https://www.vform666.com/pages/pro/",scrollerHeight:0,designer:createDesigner(this),fieldList:[],formFieldList:[]}},provide(){return{serverFieldList:this.fieldList,getDesignerConfig:()=>this.designerConfig,getBannedWidgets:()=>this.bannedWidgets,getSelectedList:()=>this.getSelectedList()}},created(){this.vsCodeFlag=getQueryParam("vscode")==1,this.caseName=getQueryParam("case")},mounted(){this.initData(),this.initLocale(),this.scrollerHeight=window.innerHeight-56-36+"px",addWindowResizeHandler(()=>{this.$nextTick(()=>{this.scrollerHeight=window.innerHeight-56-36+"px"})})},methods:{resetWidgetList(t){return deepClone(t).map(h=>({...h,cols:h.cols.map(g=>({...g,widgetList:g.widgetList[0]?.options?.hidden?[]:g.widgetList}))}))},initData(){this.designer={...this.designer,formConfig:this.formData?.formConfig?this.formData.formConfig:this.designer.formConfig,widgetList:this.formData?.widgetList?this.formData.widgetList:this.designer.widgetList};const t=this.getFormDataList(this.formData.widgetList);this.formFieldList=JSON.parse(JSON.stringify(t)),this.getSelectedList()},setDefaultForm(){let t={input:{type:"input",icon:"text-field"},textarea:{type:"textarea",icon:"textarea-field"},divider:{type:"divider",icon:"divider"},select:{type:"select",icon:"select-field"},date:{type:"date",icon:"date-field"}};sysJson.hawb.map(u=>!u||!u.tag?{}:{type:t[u.tag].type,icon:t[u.tag].icon,formItemFlag:!0,options:{name:u.fieldName,label:u.label,labelAlign:"",type:"text",defaultValue:"",placeholder:u.placeholder,columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"el-icon-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:"",onAppendButtonClick:""}})},getFormDataList(t){let u=[];return t?.length&&t.forEach(e=>{e.cols?.length&&e.cols.forEach(h=>{h.widgetList?.length>0&&u.push(h.widgetList[0])})}),u},getSelectedList(){let t=this.designer.widgetList||[],u=[],e=0;t.forEach(h=>{h.cols?h.cols.forEach(g=>{!g.options.hidden&&g.widgetList.length>0&&!g.widgetList[0]?.options?.hidden&&u.push(g)}):h.type=="divider"||(e+=1)}),e>0&&(this.openError("输入框需要放置在栅格内"),this.designer.widgetList=this.designer.widgetList.filter(h=>h.cols)),this.selectedList=u,this.noSelectedList=this.differenceSet(this.formFieldList,this.selectedList)},openError(t){elementPlus.ElMessage.error("操作失败,"+t)},differenceSet(t,u){return JSON.stringify(u)==="[]"?t:t.filter(h=>u.every(g=>g.widgetList[0].options?.label!=h.options.label||g.widgetList[0].options?.hidden))},testEEH(t,u){console.log("test1",t),console.log("test2",u)},showLink(t){return this.designerConfig[t]===void 0?!0:!!this.designerConfig[t]},openHome(){if(this.vsCodeFlag){const t={cmd:"openUrl",data:{url:"https://www.vform666.com/"}};window.parent.postMessage(t,"*")}},openUrl(t,u){if(this.vsCodeFlag){const e={cmd:"openUrl",data:{url:u}};window.parent.postMessage(e,"*")}else{let e=t.currentTarget;e.href=u}},loadCase(){this.caseName&&axios.get(MOCK_CASE_URL+this.caseName+".txt").then(t=>{if(t.data.code){this.$message.error(this.i18nt("designer.hint.sampleLoadedFail"));return}this.setFormJson(t.data),this.$message.success(this.i18nt("designer.hint.sampleLoadedSuccess"))}).catch(t=>{this.$message.error(this.i18nt("designer.hint.sampleLoadedFail")+":"+t)})},initLocale(){this.curLocale=localStorage.getItem("v_form_locale"),this.vsCodeFlag?this.curLocale=this.curLocale||"en-US":this.curLocale=this.curLocale||"zh-CN",this.curLangName=this.i18nt("application."+this.curLocale),this.changeLanguage(this.curLocale)},loadFieldListFromServer(){if(!this.fieldListApi)return;let t=this.fieldListApi.headers||{};axios.get(this.fieldListApi.URL,{headers:t}).then(u=>{let e=this.fieldListApi.labelKey||"label",h=this.fieldListApi.nameKey||"name";this.fieldList.splice(0,this.fieldList.length),u.data.forEach(g=>{this.fieldList.push({label:g[e],name:g[h]})})}).catch(u=>{this.$message.error(u)})},handleLanguageChanged(t){this.changeLanguage(t),this.curLangName=this.i18nt("application."+t)},changeLanguage(t){changeLocale(t)},setFormJson(t){let u=!1;t&&(typeof t=="string"?u=this.designer.loadFormJson(JSON.parse(t)):t.constructor===Object&&(u=this.designer.loadFormJson(t)),u&&this.designer.emitHistoryChange())},clearDesigner(){this.$refs.toolbarRef.clearFormWidget()},refreshDesigner(){let t=this.getFormDesignJson();this.designer.clearDesigner(!0),this.designer.loadFormJson(t)},previewForm(){this.$refs.toolbarRef.previewForm()},importJson(){this.$refs.toolbarRef.importJson()},exportJson(){this.$refs.toolbarRef.exportJson()},exportCode(){this.$refs.toolbarRef.exportCode()},generateSFC(){this.$refs.toolbarRef.generateSFC()},getFieldWidgets(t=null){return getAllFieldWidgets(t||this.designer.widgetList)},getContainerWidgets(t=null){return getAllContainerWidgets(t||this.designer.widgetList)},upgradeFormJson(t){if(!t.widgetList||!t.formConfig){this.$message.error("Invalid form json!");return}return traverseAllWidgets(t.widgetList,u=>{this.designer.upgradeWidgetConfig(u)}),this.designer.upgradeFormConfig(t.formConfig),t},getWidgetRef(t,u=!1){return this.$refs.formRef.getWidgetRef(t,u)},getSelectedWidgetRef(){return this.$refs.formRef.getSelectedWidgetRef()},getFormDesignJson(){const t=deepClone(this.designer.widgetList);return console.log("提交数据:",this.designer.widgetList),t.forEach(u=>{u.cols.forEach(e=>{if(e.widgetList.length===0){const h=this.formFieldList.find(g=>{let m=g.id.replace("wedget-","");return e.id===m});if(h){const g=deepClone(h);g.options.hidden=!0,e.widgetList[0]=g}}})}),{widgetList:deepClone(t),formConfig:deepClone(this.designer.formConfig)}},getFormJson(){const{widgetList:t}=this.getFormDesignJson();return t.map(e=>{const{options:h,cols:g}=e;return{title:h.label,hasCollapse:!0,children:g.map(a=>{let f={colProps:{span:a.options?.span||6}};if(a.options?.hidden||a.widgetList[0]?.options?.hidden)return f;{const n=a.widgetList[0]?.options;return{colProps:{span:a.options?.span||6},prop:n?.name||null,label:n?.label||null,valueType:a?.valueType||"input",fieldProps:a?.fieldProps||{}}}})}})}}};function _sfc_render$c(t,u,e,h,g,m){const a=require$$0.resolveComponent("v-form-widget"),f=require$$0.resolveComponent("el-scrollbar"),n=require$$0.resolveComponent("el-main"),c=require$$0.resolveComponent("widget-panel"),o=require$$0.resolveComponent("el-aside"),s=require$$0.resolveComponent("el-container");return require$$0.openBlock(),require$$0.createBlock(s,{class:"main-container full-height main-design"},{default:require$$0.withCtx(()=>[require$$0.createVNode(n,{class:"form-widget-main main-design-left"},{default:require$$0.withCtx(()=>[require$$0.createVNode(f,{class:"container-scroll-bar"},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{designer:g.designer,"form-config":g.designer.formConfig,"global-dsv":e.globalDsv,ref:"formRef"},null,8,["designer","form-config","global-dsv"])]),_:1})]),_:1}),require$$0.createVNode(o,{class:"side-panel main-design-right"},{default:require$$0.withCtx(()=>[require$$0.createVNode(c,{designer:g.designer,"selected-list":g.selectedList,"no-selected-list":g.noSelectedList},null,8,["designer","selected-list","no-selected-list"])]),_:1})]),_:1})}const FormDesign=_export_sfc$1(_sfc_main$c,[["render",_sfc_render$c],["__scopeId","data-v-5f037d72"]]);var vuedraggable_umd={exports:{}};function ownKeys(t,u){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(t);u&&(h=h.filter(function(g){return Object.getOwnPropertyDescriptor(t,g).enumerable})),e.push.apply(e,h)}return e}function _objectSpread2(t){for(var u=1;u<arguments.length;u++){var e=arguments[u]!=null?arguments[u]:{};u%2?ownKeys(Object(e),!0).forEach(function(h){_defineProperty(t,h,e[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ownKeys(Object(e)).forEach(function(h){Object.defineProperty(t,h,Object.getOwnPropertyDescriptor(e,h))})}return t}function _typeof(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(u){return typeof u}:_typeof=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},_typeof(t)}function _defineProperty(t,u,e){return u in t?Object.defineProperty(t,u,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[u]=e,t}function _extends(){return _extends=Object.assign||function(t){for(var u=1;u<arguments.length;u++){var e=arguments[u];for(var h in e)Object.prototype.hasOwnProperty.call(e,h)&&(t[h]=e[h])}return t},_extends.apply(this,arguments)}function _objectWithoutPropertiesLoose(t,u){if(t==null)return{};var e={},h=Object.keys(t),g,m;for(m=0;m<h.length;m++)g=h[m],!(u.indexOf(g)>=0)&&(e[g]=t[g]);return e}function _objectWithoutProperties(t,u){if(t==null)return{};var e=_objectWithoutPropertiesLoose(t,u),h,g;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(t);for(g=0;g<m.length;g++)h=m[g],!(u.indexOf(h)>=0)&&Object.prototype.propertyIsEnumerable.call(t,h)&&(e[h]=t[h])}return e}var version="1.14.0";function userAgent(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var IE11OrLess=userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Edge=userAgent(/Edge/i),FireFox=userAgent(/firefox/i),Safari=userAgent(/safari/i)&&!userAgent(/chrome/i)&&!userAgent(/android/i),IOS=userAgent(/iP(ad|od|hone)/i),ChromeForAndroid=userAgent(/chrome/i)&&userAgent(/android/i),captureMode={capture:!1,passive:!1};function on(t,u,e){t.addEventListener(u,e,!IE11OrLess&&captureMode)}function off(t,u,e){t.removeEventListener(u,e,!IE11OrLess&&captureMode)}function matches(t,u){if(u){if(u[0]===">"&&(u=u.substring(1)),t)try{if(t.matches)return t.matches(u);if(t.msMatchesSelector)return t.msMatchesSelector(u);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(u)}catch{return!1}return!1}}function getParentOrHost(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function closest(t,u,e,h){if(t){e=e||document;do{if(u!=null&&(u[0]===">"?t.parentNode===e&&matches(t,u):matches(t,u))||h&&t===e)return t;if(t===e)break}while(t=getParentOrHost(t))}return null}var R_SPACE=/\s+/g;function toggleClass(t,u,e){if(t&&u)if(t.classList)t.classList[e?"add":"remove"](u);else{var h=(" "+t.className+" ").replace(R_SPACE," ").replace(" "+u+" "," ");t.className=(h+(e?" "+u:"")).replace(R_SPACE," ")}}function css(t,u,e){var h=t&&t.style;if(h){if(e===void 0)return document.defaultView&&document.defaultView.getComputedStyle?e=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(e=t.currentStyle),u===void 0?e:e[u];!(u in h)&&u.indexOf("webkit")===-1&&(u="-webkit-"+u),h[u]=e+(typeof e=="string"?"":"px")}}function matrix(t,u){var e="";if(typeof t=="string")e=t;else do{var h=css(t,"transform");h&&h!=="none"&&(e=h+" "+e)}while(!u&&(t=t.parentNode));var g=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return g&&new g(e)}function find(t,u,e){if(t){var h=t.getElementsByTagName(u),g=0,m=h.length;if(e)for(;g<m;g++)e(h[g],g);return h}return[]}function getWindowScrollingElement(){var t=document.scrollingElement;return t||document.documentElement}function getRect(t,u,e,h,g){if(!(!t.getBoundingClientRect&&t!==window)){var m,a,f,n,c,o,s;if(t!==window&&t.parentNode&&t!==getWindowScrollingElement()?(m=t.getBoundingClientRect(),a=m.top,f=m.left,n=m.bottom,c=m.right,o=m.height,s=m.width):(a=0,f=0,n=window.innerHeight,c=window.innerWidth,o=window.innerHeight,s=window.innerWidth),(u||e)&&t!==window&&(g=g||t.parentNode,!IE11OrLess))do if(g&&g.getBoundingClientRect&&(css(g,"transform")!=="none"||e&&css(g,"position")!=="static")){var i=g.getBoundingClientRect();a-=i.top+parseInt(css(g,"border-top-width")),f-=i.left+parseInt(css(g,"border-left-width")),n=a+m.height,c=f+m.width;break}while(g=g.parentNode);if(h&&t!==window){var r=matrix(g||t),l=r&&r.a,d=r&&r.d;r&&(a/=d,f/=l,s/=l,o/=d,n=a+o,c=f+s)}return{top:a,left:f,bottom:n,right:c,width:s,height:o}}}function isScrolledPast(t,u,e){for(var h=getParentAutoScrollElement(t,!0),g=getRect(t)[u];h;){var m=getRect(h)[e],a=void 0;if(a=g>=m,!a)return h;if(h===getWindowScrollingElement())break;h=getParentAutoScrollElement(h,!1)}return!1}function getChild(t,u,e,h){for(var g=0,m=0,a=t.children;m<a.length;){if(a[m].style.display!=="none"&&a[m]!==Sortable.ghost&&(h||a[m]!==Sortable.dragged)&&closest(a[m],e.draggable,t,!1)){if(g===u)return a[m];g++}m++}return null}function lastChild(t,u){for(var e=t.lastElementChild;e&&(e===Sortable.ghost||css(e,"display")==="none"||u&&!matches(e,u));)e=e.previousElementSibling;return e||null}function index(t,u){var e=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)t.nodeName.toUpperCase()!=="TEMPLATE"&&t!==Sortable.clone&&(!u||matches(t,u))&&e++;return e}function getRelativeScrollOffset(t){var u=0,e=0,h=getWindowScrollingElement();if(t)do{var g=matrix(t),m=g.a,a=g.d;u+=t.scrollLeft*m,e+=t.scrollTop*a}while(t!==h&&(t=t.parentNode));return[u,e]}function indexOfObject(t,u){for(var e in t)if(t.hasOwnProperty(e)){for(var h in u)if(u.hasOwnProperty(h)&&u[h]===t[e][h])return Number(e)}return-1}function getParentAutoScrollElement(t,u){if(!t||!t.getBoundingClientRect)return getWindowScrollingElement();var e=t,h=!1;do if(e.clientWidth<e.scrollWidth||e.clientHeight<e.scrollHeight){var g=css(e);if(e.clientWidth<e.scrollWidth&&(g.overflowX=="auto"||g.overflowX=="scroll")||e.clientHeight<e.scrollHeight&&(g.overflowY=="auto"||g.overflowY=="scroll")){if(!e.getBoundingClientRect||e===document.body)return getWindowScrollingElement();if(h||u)return e;h=!0}}while(e=e.parentNode);return getWindowScrollingElement()}function extend(t,u){if(t&&u)for(var e in u)u.hasOwnProperty(e)&&(t[e]=u[e]);return t}function isRectEqual(t,u){return Math.round(t.top)===Math.round(u.top)&&Math.round(t.left)===Math.round(u.left)&&Math.round(t.height)===Math.round(u.height)&&Math.round(t.width)===Math.round(u.width)}var _throttleTimeout;function throttle(t,u){return function(){if(!_throttleTimeout){var e=arguments,h=this;e.length===1?t.call(h,e[0]):t.apply(h,e),_throttleTimeout=setTimeout(function(){_throttleTimeout=void 0},u)}}}function cancelThrottle(){clearTimeout(_throttleTimeout),_throttleTimeout=void 0}function scrollBy(t,u,e){t.scrollLeft+=u,t.scrollTop+=e}function clone(t){var u=window.Polymer,e=window.jQuery||window.Zepto;return u&&u.dom?u.dom(t).cloneNode(!0):e?e(t).clone(!0)[0]:t.cloneNode(!0)}var expando="Sortable"+new Date().getTime();function AnimationStateManager(){var t=[],u;return{captureAnimationState:function(){if(t=[],!!this.options.animation){var h=[].slice.call(this.el.children);h.forEach(function(g){if(!(css(g,"display")==="none"||g===Sortable.ghost)){t.push({target:g,rect:getRect(g)});var m=_objectSpread2({},t[t.length-1].rect);if(g.thisAnimationDuration){var a=matrix(g,!0);a&&(m.top-=a.f,m.left-=a.e)}g.fromRect=m}})}},addAnimationState:function(h){t.push(h)},removeAnimationState:function(h){t.splice(indexOfObject(t,{target:h}),1)},animateAll:function(h){var g=this;if(!this.options.animation){clearTimeout(u),typeof h=="function"&&h();return}var m=!1,a=0;t.forEach(function(f){var n=0,c=f.target,o=c.fromRect,s=getRect(c),i=c.prevFromRect,r=c.prevToRect,l=f.rect,d=matrix(c,!0);d&&(s.top-=d.f,s.left-=d.e),c.toRect=s,c.thisAnimationDuration&&isRectEqual(i,s)&&!isRectEqual(o,s)&&(l.top-s.top)/(l.left-s.left)===(o.top-s.top)/(o.left-s.left)&&(n=calculateRealTime(l,i,r,g.options)),isRectEqual(s,o)||(c.prevFromRect=o,c.prevToRect=s,n||(n=g.options.animation),g.animate(c,l,s,n)),n&&(m=!0,a=Math.max(a,n),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},n),c.thisAnimationDuration=n)}),clearTimeout(u),m?u=setTimeout(function(){typeof h=="function"&&h()},a):typeof h=="function"&&h(),t=[]},animate:function(h,g,m,a){if(a){css(h,"transition",""),css(h,"transform","");var f=matrix(this.el),n=f&&f.a,c=f&&f.d,o=(g.left-m.left)/(n||1),s=(g.top-m.top)/(c||1);h.animatingX=!!o,h.animatingY=!!s,css(h,"transform","translate3d("+o+"px,"+s+"px,0)"),this.forRepaintDummy=repaint(h),css(h,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),css(h,"transform","translate3d(0,0,0)"),typeof h.animated=="number"&&clearTimeout(h.animated),h.animated=setTimeout(function(){css(h,"transition",""),css(h,"transform",""),h.animated=!1,h.animatingX=!1,h.animatingY=!1},a)}}}}function repaint(t){return t.offsetWidth}function calculateRealTime(t,u,e,h){return Math.sqrt(Math.pow(u.top-t.top,2)+Math.pow(u.left-t.left,2))/Math.sqrt(Math.pow(u.top-e.top,2)+Math.pow(u.left-e.left,2))*h.animation}var plugins=[],defaults={initializeByDefault:!0},PluginManager={mount:function t(u){for(var e in defaults)defaults.hasOwnProperty(e)&&!(e in u)&&(u[e]=defaults[e]);plugins.forEach(function(h){if(h.pluginName===u.pluginName)throw"Sortable: Cannot mount plugin ".concat(u.pluginName," more than once")}),plugins.push(u)},pluginEvent:function t(u,e,h){var g=this;this.eventCanceled=!1,h.cancel=function(){g.eventCanceled=!0};var m=u+"Global";plugins.forEach(function(a){e[a.pluginName]&&(e[a.pluginName][m]&&e[a.pluginName][m](_objectSpread2({sortable:e},h)),e.options[a.pluginName]&&e[a.pluginName][u]&&e[a.pluginName][u](_objectSpread2({sortable:e},h)))})},initializePlugins:function t(u,e,h,g){plugins.forEach(function(f){var n=f.pluginName;if(!(!u.options[n]&&!f.initializeByDefault)){var c=new f(u,e,u.options);c.sortable=u,c.options=u.options,u[n]=c,_extends(h,c.defaults)}});for(var m in u.options)if(u.options.hasOwnProperty(m)){var a=this.modifyOption(u,m,u.options[m]);typeof a<"u"&&(u.options[m]=a)}},getEventProperties:function t(u,e){var h={};return plugins.forEach(function(g){typeof g.eventProperties=="function"&&_extends(h,g.eventProperties.call(e[g.pluginName],u))}),h},modifyOption:function t(u,e,h){var g;return plugins.forEach(function(m){u[m.pluginName]&&m.optionListeners&&typeof m.optionListeners[e]=="function"&&(g=m.optionListeners[e].call(u[m.pluginName],h))}),g}};function dispatchEvent(t){var u=t.sortable,e=t.rootEl,h=t.name,g=t.targetEl,m=t.cloneEl,a=t.toEl,f=t.fromEl,n=t.oldIndex,c=t.newIndex,o=t.oldDraggableIndex,s=t.newDraggableIndex,i=t.originalEvent,r=t.putSortable,l=t.extraEventProperties;if(u=u||e&&e[expando],!!u){var d,p=u.options,v="on"+h.charAt(0).toUpperCase()+h.substr(1);window.CustomEvent&&!IE11OrLess&&!Edge?d=new CustomEvent(h,{bubbles:!0,cancelable:!0}):(d=document.createEvent("Event"),d.initEvent(h,!0,!0)),d.to=a||e,d.from=f||e,d.item=g||e,d.clone=m,d.oldIndex=n,d.newIndex=c,d.oldDraggableIndex=o,d.newDraggableIndex=s,d.originalEvent=i,d.pullMode=r?r.lastPutMode:void 0;var b=_objectSpread2(_objectSpread2({},l),PluginManager.getEventProperties(h,u));for(var w in b)d[w]=b[w];e&&e.dispatchEvent(d),p[v]&&p[v].call(u,d)}}var _excluded=["evt"],pluginEvent=function t(u,e){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=h.evt,m=_objectWithoutProperties(h,_excluded);PluginManager.pluginEvent.bind(Sortable)(u,e,_objectSpread2({dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,dragStarted:moved,putSortable,activeSortable:Sortable.active,originalEvent:g,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex,hideGhostForTarget:_hideGhostForTarget,unhideGhostForTarget:_unhideGhostForTarget,cloneNowHidden:function(){cloneHidden=!0},cloneNowShown:function(){cloneHidden=!1},dispatchSortableEvent:function(f){_dispatchEvent({sortable:e,name:f,originalEvent:g})}},m))};function _dispatchEvent(t){dispatchEvent(_objectSpread2({putSortable,cloneEl,targetEl:dragEl,rootEl,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex},t))}var dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,oldIndex,newIndex,oldDraggableIndex,newDraggableIndex,activeGroup,putSortable,awaitingDragStarted=!1,ignoreNextClick=!1,sortables=[],tapEvt,touchEvt,lastDx,lastDy,tapDistanceLeft,tapDistanceTop,moved,lastTarget,lastDirection,pastFirstInvertThresh=!1,isCircumstantialInvert=!1,targetMoveDistance,ghostRelativeParent,ghostRelativeParentInitialScroll=[],_silent=!1,savedInputChecked=[],documentExists=typeof document<"u",PositionGhostAbsolutely=IOS,CSSFloatProperty=Edge||IE11OrLess?"cssFloat":"float",supportDraggable=documentExists&&!ChromeForAndroid&&!IOS&&"draggable"in document.createElement("div"),supportCssPointerEvents=(function(){if(documentExists){if(IE11OrLess)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}})(),_detectDirection=function t(u,e){var h=css(u),g=parseInt(h.width)-parseInt(h.paddingLeft)-parseInt(h.paddingRight)-parseInt(h.borderLeftWidth)-parseInt(h.borderRightWidth),m=getChild(u,0,e),a=getChild(u,1,e),f=m&&css(m),n=a&&css(a),c=f&&parseInt(f.marginLeft)+parseInt(f.marginRight)+getRect(m).width,o=n&&parseInt(n.marginLeft)+parseInt(n.marginRight)+getRect(a).width;if(h.display==="flex")return h.flexDirection==="column"||h.flexDirection==="column-reverse"?"vertical":"horizontal";if(h.display==="grid")return h.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(m&&f.float&&f.float!=="none"){var s=f.float==="left"?"left":"right";return a&&(n.clear==="both"||n.clear===s)?"vertical":"horizontal"}return m&&(f.display==="block"||f.display==="flex"||f.display==="table"||f.display==="grid"||c>=g&&h[CSSFloatProperty]==="none"||a&&h[CSSFloatProperty]==="none"&&c+o>g)?"vertical":"horizontal"},_dragElInRowColumn=function t(u,e,h){var g=h?u.left:u.top,m=h?u.right:u.bottom,a=h?u.width:u.height,f=h?e.left:e.top,n=h?e.right:e.bottom,c=h?e.width:e.height;return g===f||m===n||g+a/2===f+c/2},_detectNearestEmptySortable=function t(u,e){var h;return sortables.some(function(g){var m=g[expando].options.emptyInsertThreshold;if(!(!m||lastChild(g))){var a=getRect(g),f=u>=a.left-m&&u<=a.right+m,n=e>=a.top-m&&e<=a.bottom+m;if(f&&n)return h=g}}),h},_prepareGroup=function t(u){function e(m,a){return function(f,n,c,o){var s=f.options.group.name&&n.options.group.name&&f.options.group.name===n.options.group.name;if(m==null&&(a||s))return!0;if(m==null||m===!1)return!1;if(a&&m==="clone")return m;if(typeof m=="function")return e(m(f,n,c,o),a)(f,n,c,o);var i=(a?f:n).options.group.name;return m===!0||typeof m=="string"&&m===i||m.join&&m.indexOf(i)>-1}}var h={},g=u.group;(!g||_typeof(g)!="object")&&(g={name:g}),h.name=g.name,h.checkPull=e(g.pull,!0),h.checkPut=e(g.put),h.revertClone=g.revertClone,u.group=h},_hideGhostForTarget=function t(){!supportCssPointerEvents&&ghostEl&&css(ghostEl,"display","none")},_unhideGhostForTarget=function t(){!supportCssPointerEvents&&ghostEl&&css(ghostEl,"display","")};documentExists&&document.addEventListener("click",function(t){if(ignoreNextClick)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),ignoreNextClick=!1,!1},!0);var nearestEmptyInsertDetectEvent=function t(u){if(dragEl){u=u.touches?u.touches[0]:u;var e=_detectNearestEmptySortable(u.clientX,u.clientY);if(e){var h={};for(var g in u)u.hasOwnProperty(g)&&(h[g]=u[g]);h.target=h.rootEl=e,h.preventDefault=void 0,h.stopPropagation=void 0,e[expando]._onDragOver(h)}}},_checkOutsideTargetEl=function t(u){dragEl&&dragEl.parentNode[expando]._isOutsideThisEl(u.target)};function Sortable(t,u){if(!(t&&t.nodeType&&t.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=u=_extends({},u),t[expando]=this;var e={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return _detectDirection(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,f){a.setData("Text",f.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Sortable.supportPointer!==!1&&"PointerEvent"in window&&!Safari,emptyInsertThreshold:5};PluginManager.initializePlugins(this,t,e);for(var h in e)!(h in u)&&(u[h]=e[h]);_prepareGroup(u);for(var g in this)g.charAt(0)==="_"&&typeof this[g]=="function"&&(this[g]=this[g].bind(this));this.nativeDraggable=u.forceFallback?!1:supportDraggable,this.nativeDraggable&&(this.options.touchStartThreshold=1),u.supportPointer?on(t,"pointerdown",this._onTapStart):(on(t,"mousedown",this._onTapStart),on(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(on(t,"dragover",this),on(t,"dragenter",this)),sortables.push(this.el),u.store&&u.store.get&&this.sort(u.store.get(this)||[]),_extends(this,AnimationStateManager())}Sortable.prototype={constructor:Sortable,_isOutsideThisEl:function t(u){!this.el.contains(u)&&u!==this.el&&(lastTarget=null)},_getDirection:function t(u,e){return typeof this.options.direction=="function"?this.options.direction.call(this,u,e,dragEl):this.options.direction},_onTapStart:function t(u){if(u.cancelable){var e=this,h=this.el,g=this.options,m=g.preventOnFilter,a=u.type,f=u.touches&&u.touches[0]||u.pointerType&&u.pointerType==="touch"&&u,n=(f||u).target,c=u.target.shadowRoot&&(u.path&&u.path[0]||u.composedPath&&u.composedPath()[0])||n,o=g.filter;if(_saveInputCheckedState(h),!dragEl&&!(/mousedown|pointerdown/.test(a)&&u.button!==0||g.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Safari&&n&&n.tagName.toUpperCase()==="SELECT")&&(n=closest(n,g.draggable,h,!1),!(n&&n.animated)&&lastDownEl!==n)){if(oldIndex=index(n),oldDraggableIndex=index(n,g.draggable),typeof o=="function"){if(o.call(this,u,n,this)){_dispatchEvent({sortable:e,rootEl:c,name:"filter",targetEl:n,toEl:h,fromEl:h}),pluginEvent("filter",e,{evt:u}),m&&u.cancelable&&u.preventDefault();return}}else if(o&&(o=o.split(",").some(function(s){if(s=closest(c,s.trim(),h,!1),s)return _dispatchEvent({sortable:e,rootEl:s,name:"filter",targetEl:n,fromEl:h,toEl:h}),pluginEvent("filter",e,{evt:u}),!0}),o)){m&&u.cancelable&&u.preventDefault();return}g.handle&&!closest(c,g.handle,h,!1)||this._prepareDragStart(u,f,n)}}},_prepareDragStart:function t(u,e,h){var g=this,m=g.el,a=g.options,f=m.ownerDocument,n;if(h&&!dragEl&&h.parentNode===m){var c=getRect(h);if(rootEl=m,dragEl=h,parentEl=dragEl.parentNode,nextEl=dragEl.nextSibling,lastDownEl=h,activeGroup=a.group,Sortable.dragged=dragEl,tapEvt={target:dragEl,clientX:(e||u).clientX,clientY:(e||u).clientY},tapDistanceLeft=tapEvt.clientX-c.left,tapDistanceTop=tapEvt.clientY-c.top,this._lastX=(e||u).clientX,this._lastY=(e||u).clientY,dragEl.style["will-change"]="all",n=function(){if(pluginEvent("delayEnded",g,{evt:u}),Sortable.eventCanceled){g._onDrop();return}g._disableDelayedDragEvents(),!FireFox&&g.nativeDraggable&&(dragEl.draggable=!0),g._triggerDragStart(u,e),_dispatchEvent({sortable:g,name:"choose",originalEvent:u}),toggleClass(dragEl,a.chosenClass,!0)},a.ignore.split(",").forEach(function(o){find(dragEl,o.trim(),_disableDraggable)}),on(f,"dragover",nearestEmptyInsertDetectEvent),on(f,"mousemove",nearestEmptyInsertDetectEvent),on(f,"touchmove",nearestEmptyInsertDetectEvent),on(f,"mouseup",g._onDrop),on(f,"touchend",g._onDrop),on(f,"touchcancel",g._onDrop),FireFox&&this.nativeDraggable&&(this.options.touchStartThreshold=4,dragEl.draggable=!0),pluginEvent("delayStart",this,{evt:u}),a.delay&&(!a.delayOnTouchOnly||e)&&(!this.nativeDraggable||!(Edge||IE11OrLess))){if(Sortable.eventCanceled){this._onDrop();return}on(f,"mouseup",g._disableDelayedDrag),on(f,"touchend",g._disableDelayedDrag),on(f,"touchcancel",g._disableDelayedDrag),on(f,"mousemove",g._delayedDragTouchMoveHandler),on(f,"touchmove",g._delayedDragTouchMoveHandler),a.supportPointer&&on(f,"pointermove",g._delayedDragTouchMoveHandler),g._dragStartTimer=setTimeout(n,a.delay)}else n()}},_delayedDragTouchMoveHandler:function t(u){var e=u.touches?u.touches[0]:u;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function t(){dragEl&&_disableDraggable(dragEl),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function t(){var u=this.el.ownerDocument;off(u,"mouseup",this._disableDelayedDrag),off(u,"touchend",this._disableDelayedDrag),off(u,"touchcancel",this._disableDelayedDrag),off(u,"mousemove",this._delayedDragTouchMoveHandler),off(u,"touchmove",this._delayedDragTouchMoveHandler),off(u,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function t(u,e){e=e||u.pointerType=="touch"&&u,!this.nativeDraggable||e?this.options.supportPointer?on(document,"pointermove",this._onTouchMove):e?on(document,"touchmove",this._onTouchMove):on(document,"mousemove",this._onTouchMove):(on(dragEl,"dragend",this),on(rootEl,"dragstart",this._onDragStart));try{document.selection?_nextTick(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function t(u,e){if(awaitingDragStarted=!1,rootEl&&dragEl){pluginEvent("dragStarted",this,{evt:e}),this.nativeDraggable&&on(document,"dragover",_checkOutsideTargetEl);var h=this.options;!u&&toggleClass(dragEl,h.dragClass,!1),toggleClass(dragEl,h.ghostClass,!0),Sortable.active=this,u&&this._appendGhost(),_dispatchEvent({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function t(){if(touchEvt){this._lastX=touchEvt.clientX,this._lastY=touchEvt.clientY,_hideGhostForTarget();for(var u=document.elementFromPoint(touchEvt.clientX,touchEvt.clientY),e=u;u&&u.shadowRoot&&(u=u.shadowRoot.elementFromPoint(touchEvt.clientX,touchEvt.clientY),u!==e);)e=u;if(dragEl.parentNode[expando]._isOutsideThisEl(u),e)do{if(e[expando]){var h=void 0;if(h=e[expando]._onDragOver({clientX:touchEvt.clientX,clientY:touchEvt.clientY,target:u,rootEl:e}),h&&!this.options.dragoverBubble)break}u=e}while(e=e.parentNode);_unhideGhostForTarget()}},_onTouchMove:function t(u){if(tapEvt){var e=this.options,h=e.fallbackTolerance,g=e.fallbackOffset,m=u.touches?u.touches[0]:u,a=ghostEl&&matrix(ghostEl,!0),f=ghostEl&&a&&a.a,n=ghostEl&&a&&a.d,c=PositionGhostAbsolutely&&ghostRelativeParent&&getRelativeScrollOffset(ghostRelativeParent),o=(m.clientX-tapEvt.clientX+g.x)/(f||1)+(c?c[0]-ghostRelativeParentInitialScroll[0]:0)/(f||1),s=(m.clientY-tapEvt.clientY+g.y)/(n||1)+(c?c[1]-ghostRelativeParentInitialScroll[1]:0)/(n||1);if(!Sortable.active&&!awaitingDragStarted){if(h&&Math.max(Math.abs(m.clientX-this._lastX),Math.abs(m.clientY-this._lastY))<h)return;this._onDragStart(u,!0)}if(ghostEl){a?(a.e+=o-(lastDx||0),a.f+=s-(lastDy||0)):a={a:1,b:0,c:0,d:1,e:o,f:s};var i="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");css(ghostEl,"webkitTransform",i),css(ghostEl,"mozTransform",i),css(ghostEl,"msTransform",i),css(ghostEl,"transform",i),lastDx=o,lastDy=s,touchEvt=m}u.cancelable&&u.preventDefault()}},_appendGhost:function t(){if(!ghostEl){var u=this.options.fallbackOnBody?document.body:rootEl,e=getRect(dragEl,!0,PositionGhostAbsolutely,!0,u),h=this.options;if(PositionGhostAbsolutely){for(ghostRelativeParent=u;css(ghostRelativeParent,"position")==="static"&&css(ghostRelativeParent,"transform")==="none"&&ghostRelativeParent!==document;)ghostRelativeParent=ghostRelativeParent.parentNode;ghostRelativeParent!==document.body&&ghostRelativeParent!==document.documentElement?(ghostRelativeParent===document&&(ghostRelativeParent=getWindowScrollingElement()),e.top+=ghostRelativeParent.scrollTop,e.left+=ghostRelativeParent.scrollLeft):ghostRelativeParent=getWindowScrollingElement(),ghostRelativeParentInitialScroll=getRelativeScrollOffset(ghostRelativeParent)}ghostEl=dragEl.cloneNode(!0),toggleClass(ghostEl,h.ghostClass,!1),toggleClass(ghostEl,h.fallbackClass,!0),toggleClass(ghostEl,h.dragClass,!0),css(ghostEl,"transition",""),css(ghostEl,"transform",""),css(ghostEl,"box-sizing","border-box"),css(ghostEl,"margin",0),css(ghostEl,"top",e.top),css(ghostEl,"left",e.left),css(ghostEl,"width",e.width),css(ghostEl,"height",e.height),css(ghostEl,"opacity","0.8"),css(ghostEl,"position",PositionGhostAbsolutely?"absolute":"fixed"),css(ghostEl,"zIndex","100000"),css(ghostEl,"pointerEvents","none"),Sortable.ghost=ghostEl,u.appendChild(ghostEl),css(ghostEl,"transform-origin",tapDistanceLeft/parseInt(ghostEl.style.width)*100+"% "+tapDistanceTop/parseInt(ghostEl.style.height)*100+"%")}},_onDragStart:function t(u,e){var h=this,g=u.dataTransfer,m=h.options;if(pluginEvent("dragStart",this,{evt:u}),Sortable.eventCanceled){this._onDrop();return}pluginEvent("setupClone",this),Sortable.eventCanceled||(cloneEl=clone(dragEl),cloneEl.draggable=!1,cloneEl.style["will-change"]="",this._hideClone(),toggleClass(cloneEl,this.options.chosenClass,!1),Sortable.clone=cloneEl),h.cloneId=_nextTick(function(){pluginEvent("clone",h),!Sortable.eventCanceled&&(h.options.removeCloneOnHide||rootEl.insertBefore(cloneEl,dragEl),h._hideClone(),_dispatchEvent({sortable:h,name:"clone"}))}),!e&&toggleClass(dragEl,m.dragClass,!0),e?(ignoreNextClick=!0,h._loopId=setInterval(h._emulateDragOver,50)):(off(document,"mouseup",h._onDrop),off(document,"touchend",h._onDrop),off(document,"touchcancel",h._onDrop),g&&(g.effectAllowed="move",m.setData&&m.setData.call(h,g,dragEl)),on(document,"drop",h),css(dragEl,"transform","translateZ(0)")),awaitingDragStarted=!0,h._dragStartId=_nextTick(h._dragStarted.bind(h,e,u)),on(document,"selectstart",h),moved=!0,Safari&&css(document.body,"user-select","none")},_onDragOver:function t(u){var e=this.el,h=u.target,g,m,a,f=this.options,n=f.group,c=Sortable.active,o=activeGroup===n,s=f.sort,i=putSortable||c,r,l=this,d=!1;if(_silent)return;function p(I,F){pluginEvent(I,l,_objectSpread2({evt:u,isOwner:o,axis:r?"vertical":"horizontal",revert:a,dragRect:g,targetRect:m,canSort:s,fromSortable:i,target:h,completed:b,onMove:function(N,B){return _onMove(rootEl,e,dragEl,g,N,getRect(N),u,B)},changed:w},F))}function v(){p("dragOverAnimationCapture"),l.captureAnimationState(),l!==i&&i.captureAnimationState()}function b(I){return p("dragOverCompleted",{insertion:I}),I&&(o?c._hideClone():c._showClone(l),l!==i&&(toggleClass(dragEl,putSortable?putSortable.options.ghostClass:c.options.ghostClass,!1),toggleClass(dragEl,f.ghostClass,!0)),putSortable!==l&&l!==Sortable.active?putSortable=l:l===Sortable.active&&putSortable&&(putSortable=null),i===l&&(l._ignoreWhileAnimating=h),l.animateAll(function(){p("dragOverAnimationComplete"),l._ignoreWhileAnimating=null}),l!==i&&(i.animateAll(),i._ignoreWhileAnimating=null)),(h===dragEl&&!dragEl.animated||h===e&&!h.animated)&&(lastTarget=null),!f.dragoverBubble&&!u.rootEl&&h!==document&&(dragEl.parentNode[expando]._isOutsideThisEl(u.target),!I&&nearestEmptyInsertDetectEvent(u)),!f.dragoverBubble&&u.stopPropagation&&u.stopPropagation(),d=!0}function w(){newIndex=index(dragEl),newDraggableIndex=index(dragEl,f.draggable),_dispatchEvent({sortable:l,name:"change",toEl:e,newIndex,newDraggableIndex,originalEvent:u})}if(u.preventDefault!==void 0&&u.cancelable&&u.preventDefault(),h=closest(h,f.draggable,e,!0),p("dragOver"),Sortable.eventCanceled)return d;if(dragEl.contains(u.target)||h.animated&&h.animatingX&&h.animatingY||l._ignoreWhileAnimating===h)return b(!1);if(ignoreNextClick=!1,c&&!f.disabled&&(o?s||(a=parentEl!==rootEl):putSortable===this||(this.lastPutMode=activeGroup.checkPull(this,c,dragEl,u))&&n.checkPut(this,c,dragEl,u))){if(r=this._getDirection(u,h)==="vertical",g=getRect(dragEl),p("dragOverValid"),Sortable.eventCanceled)return d;if(a)return parentEl=rootEl,v(),this._hideClone(),p("revert"),Sortable.eventCanceled||(nextEl?rootEl.insertBefore(dragEl,nextEl):rootEl.appendChild(dragEl)),b(!0);var y=lastChild(e,f.draggable);if(!y||_ghostIsLast(u,r,this)&&!y.animated){if(y===dragEl)return b(!1);if(y&&e===u.target&&(h=y),h&&(m=getRect(h)),_onMove(rootEl,e,dragEl,g,h,m,u,!!h)!==!1)return v(),e.appendChild(dragEl),parentEl=e,w(),b(!0)}else if(y&&_ghostIsFirst(u,r,this)){var _=getChild(e,0,f,!0);if(_===dragEl)return b(!1);if(h=_,m=getRect(h),_onMove(rootEl,e,dragEl,g,h,m,u,!1)!==!1)return v(),e.insertBefore(dragEl,_),parentEl=e,w(),b(!0)}else if(h.parentNode===e){m=getRect(h);var $=0,S,O=dragEl.parentNode!==e,k=!_dragElInRowColumn(dragEl.animated&&dragEl.toRect||g,h.animated&&h.toRect||m,r),T=r?"top":"left",A=isScrolledPast(h,"top","top")||isScrolledPast(dragEl,"top","top"),M=A?A.scrollTop:void 0;lastTarget!==h&&(S=m[T],pastFirstInvertThresh=!1,isCircumstantialInvert=!k&&f.invertSwap||O),$=_getSwapDirection(u,h,m,r,k?1:f.swapThreshold,f.invertedSwapThreshold==null?f.swapThreshold:f.invertedSwapThreshold,isCircumstantialInvert,lastTarget===h);var E;if($!==0){var C=index(dragEl);do C-=$,E=parentEl.children[C];while(E&&(css(E,"display")==="none"||E===ghostEl))}if($===0||E===h)return b(!1);lastTarget=h,lastDirection=$;var x=h.nextElementSibling,L=!1;L=$===1;var q=_onMove(rootEl,e,dragEl,g,h,m,u,L);if(q!==!1)return(q===1||q===-1)&&(L=q===1),_silent=!0,setTimeout(_unsilent,30),v(),L&&!x?e.appendChild(dragEl):h.parentNode.insertBefore(dragEl,L?x:h),A&&scrollBy(A,0,M-A.scrollTop),parentEl=dragEl.parentNode,S!==void 0&&!isCircumstantialInvert&&(targetMoveDistance=Math.abs(S-getRect(h)[T])),w(),b(!0)}if(e.contains(dragEl))return b(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function t(){off(document,"mousemove",this._onTouchMove),off(document,"touchmove",this._onTouchMove),off(document,"pointermove",this._onTouchMove),off(document,"dragover",nearestEmptyInsertDetectEvent),off(document,"mousemove",nearestEmptyInsertDetectEvent),off(document,"touchmove",nearestEmptyInsertDetectEvent)},_offUpEvents:function t(){var u=this.el.ownerDocument;off(u,"mouseup",this._onDrop),off(u,"touchend",this._onDrop),off(u,"pointerup",this._onDrop),off(u,"touchcancel",this._onDrop),off(document,"selectstart",this)},_onDrop:function t(u){var e=this.el,h=this.options;if(newIndex=index(dragEl),newDraggableIndex=index(dragEl,h.draggable),pluginEvent("drop",this,{evt:u}),parentEl=dragEl&&dragEl.parentNode,newIndex=index(dragEl),newDraggableIndex=index(dragEl,h.draggable),Sortable.eventCanceled){this._nulling();return}awaitingDragStarted=!1,isCircumstantialInvert=!1,pastFirstInvertThresh=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),_cancelNextTick(this.cloneId),_cancelNextTick(this._dragStartId),this.nativeDraggable&&(off(document,"drop",this),off(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Safari&&css(document.body,"user-select",""),css(dragEl,"transform",""),u&&(moved&&(u.cancelable&&u.preventDefault(),!h.dropBubble&&u.stopPropagation()),ghostEl&&ghostEl.parentNode&&ghostEl.parentNode.removeChild(ghostEl),(rootEl===parentEl||putSortable&&putSortable.lastPutMode!=="clone")&&cloneEl&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),dragEl&&(this.nativeDraggable&&off(dragEl,"dragend",this),_disableDraggable(dragEl),dragEl.style["will-change"]="",moved&&!awaitingDragStarted&&toggleClass(dragEl,putSortable?putSortable.options.ghostClass:this.options.ghostClass,!1),toggleClass(dragEl,this.options.chosenClass,!1),_dispatchEvent({sortable:this,name:"unchoose",toEl:parentEl,newIndex:null,newDraggableIndex:null,originalEvent:u}),rootEl!==parentEl?(newIndex>=0&&(_dispatchEvent({rootEl:parentEl,name:"add",toEl:parentEl,fromEl:rootEl,originalEvent:u}),_dispatchEvent({sortable:this,name:"remove",toEl:parentEl,originalEvent:u}),_dispatchEvent({rootEl:parentEl,name:"sort",toEl:parentEl,fromEl:rootEl,originalEvent:u}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:u})),putSortable&&putSortable.save()):newIndex!==oldIndex&&newIndex>=0&&(_dispatchEvent({sortable:this,name:"update",toEl:parentEl,originalEvent:u}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:u})),Sortable.active&&((newIndex==null||newIndex===-1)&&(newIndex=oldIndex,newDraggableIndex=oldDraggableIndex),_dispatchEvent({sortable:this,name:"end",toEl:parentEl,originalEvent:u}),this.save()))),this._nulling()},_nulling:function t(){pluginEvent("nulling",this),rootEl=dragEl=parentEl=ghostEl=nextEl=cloneEl=lastDownEl=cloneHidden=tapEvt=touchEvt=moved=newIndex=newDraggableIndex=oldIndex=oldDraggableIndex=lastTarget=lastDirection=putSortable=activeGroup=Sortable.dragged=Sortable.ghost=Sortable.clone=Sortable.active=null,savedInputChecked.forEach(function(u){u.checked=!0}),savedInputChecked.length=lastDx=lastDy=0},handleEvent:function t(u){switch(u.type){case"drop":case"dragend":this._onDrop(u);break;case"dragenter":case"dragover":dragEl&&(this._onDragOver(u),_globalDragOver(u));break;case"selectstart":u.preventDefault();break}},toArray:function t(){for(var u=[],e,h=this.el.children,g=0,m=h.length,a=this.options;g<m;g++)e=h[g],closest(e,a.draggable,this.el,!1)&&u.push(e.getAttribute(a.dataIdAttr)||_generateId(e));return u},sort:function t(u,e){var h={},g=this.el;this.toArray().forEach(function(m,a){var f=g.children[a];closest(f,this.options.draggable,g,!1)&&(h[m]=f)},this),e&&this.captureAnimationState(),u.forEach(function(m){h[m]&&(g.removeChild(h[m]),g.appendChild(h[m]))}),e&&this.animateAll()},save:function t(){var u=this.options.store;u&&u.set&&u.set(this)},closest:function t(u,e){return closest(u,e||this.options.draggable,this.el,!1)},option:function t(u,e){var h=this.options;if(e===void 0)return h[u];var g=PluginManager.modifyOption(this,u,e);typeof g<"u"?h[u]=g:h[u]=e,u==="group"&&_prepareGroup(h)},destroy:function t(){pluginEvent("destroy",this);var u=this.el;u[expando]=null,off(u,"mousedown",this._onTapStart),off(u,"touchstart",this._onTapStart),off(u,"pointerdown",this._onTapStart),this.nativeDraggable&&(off(u,"dragover",this),off(u,"dragenter",this)),Array.prototype.forEach.call(u.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),sortables.splice(sortables.indexOf(this.el),1),this.el=u=null},_hideClone:function t(){if(!cloneHidden){if(pluginEvent("hideClone",this),Sortable.eventCanceled)return;css(cloneEl,"display","none"),this.options.removeCloneOnHide&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),cloneHidden=!0}},_showClone:function t(u){if(u.lastPutMode!=="clone"){this._hideClone();return}if(cloneHidden){if(pluginEvent("showClone",this),Sortable.eventCanceled)return;dragEl.parentNode==rootEl&&!this.options.group.revertClone?rootEl.insertBefore(cloneEl,dragEl):nextEl?rootEl.insertBefore(cloneEl,nextEl):rootEl.appendChild(cloneEl),this.options.group.revertClone&&this.animate(dragEl,cloneEl),css(cloneEl,"display",""),cloneHidden=!1}}};function _globalDragOver(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function _onMove(t,u,e,h,g,m,a,f){var n,c=t[expando],o=c.options.onMove,s;return window.CustomEvent&&!IE11OrLess&&!Edge?n=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(n=document.createEvent("Event"),n.initEvent("move",!0,!0)),n.to=u,n.from=t,n.dragged=e,n.draggedRect=h,n.related=g||u,n.relatedRect=m||getRect(u),n.willInsertAfter=f,n.originalEvent=a,t.dispatchEvent(n),o&&(s=o.call(c,n,a)),s}function _disableDraggable(t){t.draggable=!1}function _unsilent(){_silent=!1}function _ghostIsFirst(t,u,e){var h=getRect(getChild(e.el,0,e.options,!0)),g=10;return u?t.clientX<h.left-g||t.clientY<h.top&&t.clientX<h.right:t.clientY<h.top-g||t.clientY<h.bottom&&t.clientX<h.left}function _ghostIsLast(t,u,e){var h=getRect(lastChild(e.el,e.options.draggable)),g=10;return u?t.clientX>h.right+g||t.clientX<=h.right&&t.clientY>h.bottom&&t.clientX>=h.left:t.clientX>h.right&&t.clientY>h.top||t.clientX<=h.right&&t.clientY>h.bottom+g}function _getSwapDirection(t,u,e,h,g,m,a,f){var n=h?t.clientY:t.clientX,c=h?e.height:e.width,o=h?e.top:e.left,s=h?e.bottom:e.right,i=!1;if(!a){if(f&&targetMoveDistance<c*g){if(!pastFirstInvertThresh&&(lastDirection===1?n>o+c*m/2:n<s-c*m/2)&&(pastFirstInvertThresh=!0),pastFirstInvertThresh)i=!0;else if(lastDirection===1?n<o+targetMoveDistance:n>s-targetMoveDistance)return-lastDirection}else if(n>o+c*(1-g)/2&&n<s-c*(1-g)/2)return _getInsertDirection(u)}return i=i||a,i&&(n<o+c*m/2||n>s-c*m/2)?n>o+c/2?1:-1:0}function _getInsertDirection(t){return index(dragEl)<index(t)?1:-1}function _generateId(t){for(var u=t.tagName+t.className+t.src+t.href+t.textContent,e=u.length,h=0;e--;)h+=u.charCodeAt(e);return h.toString(36)}function _saveInputCheckedState(t){savedInputChecked.length=0;for(var u=t.getElementsByTagName("input"),e=u.length;e--;){var h=u[e];h.checked&&savedInputChecked.push(h)}}function _nextTick(t){return setTimeout(t,0)}function _cancelNextTick(t){return clearTimeout(t)}documentExists&&on(document,"touchmove",function(t){(Sortable.active||awaitingDragStarted)&&t.cancelable&&t.preventDefault()}),Sortable.utils={on,off,css,find,is:function t(u,e){return!!closest(u,e,u,!1)},extend,throttle,closest,toggleClass,clone,index,nextTick:_nextTick,cancelNextTick:_cancelNextTick,detectDirection:_detectDirection,getChild},Sortable.get=function(t){return t[expando]},Sortable.mount=function(){for(var t=arguments.length,u=new Array(t),e=0;e<t;e++)u[e]=arguments[e];u[0].constructor===Array&&(u=u[0]),u.forEach(function(h){if(!h.prototype||!h.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(h));h.utils&&(Sortable.utils=_objectSpread2(_objectSpread2({},Sortable.utils),h.utils)),PluginManager.mount(h)})},Sortable.create=function(t,u){return new Sortable(t,u)},Sortable.version=version;var autoScrolls=[],scrollEl,scrollRootEl,scrolling=!1,lastAutoScrollX,lastAutoScrollY,touchEvt$1,pointerElemChangedInterval;function AutoScrollPlugin(){function t(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var u in this)u.charAt(0)==="_"&&typeof this[u]=="function"&&(this[u]=this[u].bind(this))}return t.prototype={dragStarted:function(e){var h=e.originalEvent;this.sortable.nativeDraggable?on(document,"dragover",this._handleAutoScroll):this.options.supportPointer?on(document,"pointermove",this._handleFallbackAutoScroll):h.touches?on(document,"touchmove",this._handleFallbackAutoScroll):on(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var h=e.originalEvent;!this.options.dragOverBubble&&!h.rootEl&&this._handleAutoScroll(h)},drop:function(){this.sortable.nativeDraggable?off(document,"dragover",this._handleAutoScroll):(off(document,"pointermove",this._handleFallbackAutoScroll),off(document,"touchmove",this._handleFallbackAutoScroll),off(document,"mousemove",this._handleFallbackAutoScroll)),clearPointerElemChangedInterval(),clearAutoScrolls(),cancelThrottle()},nulling:function(){touchEvt$1=scrollRootEl=scrollEl=scrolling=pointerElemChangedInterval=lastAutoScrollX=lastAutoScrollY=null,autoScrolls.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,h){var g=this,m=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,f=document.elementFromPoint(m,a);if(touchEvt$1=e,h||this.options.forceAutoScrollFallback||Edge||IE11OrLess||Safari){autoScroll(e,this.options,f,h);var n=getParentAutoScrollElement(f,!0);scrolling&&(!pointerElemChangedInterval||m!==lastAutoScrollX||a!==lastAutoScrollY)&&(pointerElemChangedInterval&&clearPointerElemChangedInterval(),pointerElemChangedInterval=setInterval(function(){var c=getParentAutoScrollElement(document.elementFromPoint(m,a),!0);c!==n&&(n=c,clearAutoScrolls()),autoScroll(e,g.options,c,h)},10),lastAutoScrollX=m,lastAutoScrollY=a)}else{if(!this.options.bubbleScroll||getParentAutoScrollElement(f,!0)===getWindowScrollingElement()){clearAutoScrolls();return}autoScroll(e,this.options,getParentAutoScrollElement(f,!1),!1)}}},_extends(t,{pluginName:"scroll",initializeByDefault:!0})}function clearAutoScrolls(){autoScrolls.forEach(function(t){clearInterval(t.pid)}),autoScrolls=[]}function clearPointerElemChangedInterval(){clearInterval(pointerElemChangedInterval)}var autoScroll=throttle(function(t,u,e,h){if(u.scroll){var g=(t.touches?t.touches[0]:t).clientX,m=(t.touches?t.touches[0]:t).clientY,a=u.scrollSensitivity,f=u.scrollSpeed,n=getWindowScrollingElement(),c=!1,o;scrollRootEl!==e&&(scrollRootEl=e,clearAutoScrolls(),scrollEl=u.scroll,o=u.scrollFn,scrollEl===!0&&(scrollEl=getParentAutoScrollElement(e,!0)));var s=0,i=scrollEl;do{var r=i,l=getRect(r),d=l.top,p=l.bottom,v=l.left,b=l.right,w=l.width,y=l.height,_=void 0,$=void 0,S=r.scrollWidth,O=r.scrollHeight,k=css(r),T=r.scrollLeft,A=r.scrollTop;r===n?(_=w<S&&(k.overflowX==="auto"||k.overflowX==="scroll"||k.overflowX==="visible"),$=y<O&&(k.overflowY==="auto"||k.overflowY==="scroll"||k.overflowY==="visible")):(_=w<S&&(k.overflowX==="auto"||k.overflowX==="scroll"),$=y<O&&(k.overflowY==="auto"||k.overflowY==="scroll"));var M=_&&(Math.abs(b-g)<=a&&T+w<S)-(Math.abs(v-g)<=a&&!!T),E=$&&(Math.abs(p-m)<=a&&A+y<O)-(Math.abs(d-m)<=a&&!!A);if(!autoScrolls[s])for(var C=0;C<=s;C++)autoScrolls[C]||(autoScrolls[C]={});(autoScrolls[s].vx!=M||autoScrolls[s].vy!=E||autoScrolls[s].el!==r)&&(autoScrolls[s].el=r,autoScrolls[s].vx=M,autoScrolls[s].vy=E,clearInterval(autoScrolls[s].pid),(M!=0||E!=0)&&(c=!0,autoScrolls[s].pid=setInterval((function(){h&&this.layer===0&&Sortable.active._onTouchMove(touchEvt$1);var x=autoScrolls[this.layer].vy?autoScrolls[this.layer].vy*f:0,L=autoScrolls[this.layer].vx?autoScrolls[this.layer].vx*f:0;typeof o=="function"&&o.call(Sortable.dragged.parentNode[expando],L,x,t,touchEvt$1,autoScrolls[this.layer].el)!=="continue"||scrollBy(autoScrolls[this.layer].el,L,x)}).bind({layer:s}),24))),s++}while(u.bubbleScroll&&i!==n&&(i=getParentAutoScrollElement(i,!1)));scrolling=c}},30),drop=function t(u){var e=u.originalEvent,h=u.putSortable,g=u.dragEl,m=u.activeSortable,a=u.dispatchSortableEvent,f=u.hideGhostForTarget,n=u.unhideGhostForTarget;if(e){var c=h||m;f();var o=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,s=document.elementFromPoint(o.clientX,o.clientY);n(),c&&!c.el.contains(s)&&(a("spill"),this.onSpill({dragEl:g,putSortable:h}))}};function Revert(){}Revert.prototype={startIndex:null,dragStart:function t(u){var e=u.oldDraggableIndex;this.startIndex=e},onSpill:function t(u){var e=u.dragEl,h=u.putSortable;this.sortable.captureAnimationState(),h&&h.captureAnimationState();var g=getChild(this.sortable.el,this.startIndex,this.options);g?this.sortable.el.insertBefore(e,g):this.sortable.el.appendChild(e),this.sortable.animateAll(),h&&h.animateAll()},drop},_extends(Revert,{pluginName:"revertOnSpill"});function Remove(){}Remove.prototype={onSpill:function t(u){var e=u.dragEl,h=u.putSortable,g=h||this.sortable;g.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),g.animateAll()},drop},_extends(Remove,{pluginName:"removeOnSpill"}),Sortable.mount(new AutoScrollPlugin),Sortable.mount(Remove,Revert),(function(t,u){(function(h,g){t.exports=g(require$$0,Sortable)})(typeof self<"u"?self:commonjsGlobal,function(e,h){return(function(g){var m={};function a(f){if(m[f])return m[f].exports;var n=m[f]={i:f,l:!1,exports:{}};return g[f].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=g,a.c=m,a.d=function(f,n,c){a.o(f,n)||Object.defineProperty(f,n,{enumerable:!0,get:c})},a.r=function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},a.t=function(f,n){if(n&1&&(f=a(f)),n&8||n&4&&typeof f=="object"&&f&&f.__esModule)return f;var c=Object.create(null);if(a.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:f}),n&2&&typeof f!="string")for(var o in f)a.d(c,o,(function(s){return f[s]}).bind(null,o));return c},a.n=function(f){var n=f&&f.__esModule?function(){return f.default}:function(){return f};return a.d(n,"a",n),n},a.o=function(f,n){return Object.prototype.hasOwnProperty.call(f,n)},a.p="",a(a.s="fb15")})({"00ee":(function(g,m,a){var f=a("b622"),n=f("toStringTag"),c={};c[n]="z",g.exports=String(c)==="[object z]"}),"0366":(function(g,m,a){var f=a("1c0b");g.exports=function(n,c,o){if(f(n),c===void 0)return n;switch(o){case 0:return function(){return n.call(c)};case 1:return function(s){return n.call(c,s)};case 2:return function(s,i){return n.call(c,s,i)};case 3:return function(s,i,r){return n.call(c,s,i,r)}}return function(){return n.apply(c,arguments)}}}),"057f":(function(g,m,a){var f=a("fc6a"),n=a("241c").f,c={}.toString,o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(i){try{return n(i)}catch{return o.slice()}};g.exports.f=function(r){return o&&c.call(r)=="[object Window]"?s(r):n(f(r))}}),"06cf":(function(g,m,a){var f=a("83ab"),n=a("d1e7"),c=a("5c6c"),o=a("fc6a"),s=a("c04e"),i=a("5135"),r=a("0cfb"),l=Object.getOwnPropertyDescriptor;m.f=f?l:function(p,v){if(p=o(p),v=s(v,!0),r)try{return l(p,v)}catch{}if(i(p,v))return c(!n.f.call(p,v),p[v])}}),"0cfb":(function(g,m,a){var f=a("83ab"),n=a("d039"),c=a("cc12");g.exports=!f&&!n(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})}),"13d5":(function(g,m,a){var f=a("23e7"),n=a("d58f").left,c=a("a640"),o=a("ae40"),s=c("reduce"),i=o("reduce",{1:0});f({target:"Array",proto:!0,forced:!s||!i},{reduce:function(l){return n(this,l,arguments.length,arguments.length>1?arguments[1]:void 0)}})}),"14c3":(function(g,m,a){var f=a("c6b6"),n=a("9263");g.exports=function(c,o){var s=c.exec;if(typeof s=="function"){var i=s.call(c,o);if(typeof i!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return i}if(f(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return n.call(c,o)}}),"159b":(function(g,m,a){var f=a("da84"),n=a("fdbc"),c=a("17c2"),o=a("9112");for(var s in n){var i=f[s],r=i&&i.prototype;if(r&&r.forEach!==c)try{o(r,"forEach",c)}catch{r.forEach=c}}}),"17c2":(function(g,m,a){var f=a("b727").forEach,n=a("a640"),c=a("ae40"),o=n("forEach"),s=c("forEach");g.exports=!o||!s?function(r){return f(this,r,arguments.length>1?arguments[1]:void 0)}:[].forEach}),"1be4":(function(g,m,a){var f=a("d066");g.exports=f("document","documentElement")}),"1c0b":(function(g,m){g.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}}),"1c7e":(function(g,m,a){var f=a("b622"),n=f("iterator"),c=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){c=!0}};s[n]=function(){return this},Array.from(s,function(){throw 2})}catch{}g.exports=function(i,r){if(!r&&!c)return!1;var l=!1;try{var d={};d[n]=function(){return{next:function(){return{done:l=!0}}}},i(d)}catch{}return l}}),"1d80":(function(g,m){g.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}}),"1dde":(function(g,m,a){var f=a("d039"),n=a("b622"),c=a("2d00"),o=n("species");g.exports=function(s){return c>=51||!f(function(){var i=[],r=i.constructor={};return r[o]=function(){return{foo:1}},i[s](Boolean).foo!==1})}}),"23cb":(function(g,m,a){var f=a("a691"),n=Math.max,c=Math.min;g.exports=function(o,s){var i=f(o);return i<0?n(i+s,0):c(i,s)}}),"23e7":(function(g,m,a){var f=a("da84"),n=a("06cf").f,c=a("9112"),o=a("6eeb"),s=a("ce4e"),i=a("e893"),r=a("94ca");g.exports=function(l,d){var p=l.target,v=l.global,b=l.stat,w,y,_,$,S,O;if(v?y=f:b?y=f[p]||s(p,{}):y=(f[p]||{}).prototype,y)for(_ in d){if(S=d[_],l.noTargetGet?(O=n(y,_),$=O&&O.value):$=y[_],w=r(v?_:p+(b?".":"#")+_,l.forced),!w&&$!==void 0){if(typeof S==typeof $)continue;i(S,$)}(l.sham||$&&$.sham)&&c(S,"sham",!0),o(y,_,S,l)}}}),"241c":(function(g,m,a){var f=a("ca84"),n=a("7839"),c=n.concat("length","prototype");m.f=Object.getOwnPropertyNames||function(s){return f(s,c)}}),"25f0":(function(g,m,a){var f=a("6eeb"),n=a("825a"),c=a("d039"),o=a("ad6d"),s="toString",i=RegExp.prototype,r=i[s],l=c(function(){return r.call({source:"a",flags:"b"})!="/a/b"}),d=r.name!=s;(l||d)&&f(RegExp.prototype,s,function(){var v=n(this),b=String(v.source),w=v.flags,y=String(w===void 0&&v instanceof RegExp&&!("flags"in i)?o.call(v):w);return"/"+b+"/"+y},{unsafe:!0})}),"2ca0":(function(g,m,a){var f=a("23e7"),n=a("06cf").f,c=a("50c4"),o=a("5a34"),s=a("1d80"),i=a("ab13"),r=a("c430"),l="".startsWith,d=Math.min,p=i("startsWith"),v=!r&&!p&&!!(function(){var b=n(String.prototype,"startsWith");return b&&!b.writable})();f({target:"String",proto:!0,forced:!v&&!p},{startsWith:function(w){var y=String(s(this));o(w);var _=c(d(arguments.length>1?arguments[1]:void 0,y.length)),$=String(w);return l?l.call(y,$,_):y.slice(_,_+$.length)===$}})}),"2d00":(function(g,m,a){var f=a("da84"),n=a("342f"),c=f.process,o=c&&c.versions,s=o&&o.v8,i,r;s?(i=s.split("."),r=i[0]+i[1]):n&&(i=n.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=n.match(/Chrome\/(\d+)/),i&&(r=i[1]))),g.exports=r&&+r}),"342f":(function(g,m,a){var f=a("d066");g.exports=f("navigator","userAgent")||""}),"35a1":(function(g,m,a){var f=a("f5df"),n=a("3f8c"),c=a("b622"),o=c("iterator");g.exports=function(s){if(s!=null)return s[o]||s["@@iterator"]||n[f(s)]}}),"37e8":(function(g,m,a){var f=a("83ab"),n=a("9bf2"),c=a("825a"),o=a("df75");g.exports=f?Object.defineProperties:function(i,r){c(i);for(var l=o(r),d=l.length,p=0,v;d>p;)n.f(i,v=l[p++],r[v]);return i}}),"3bbe":(function(g,m,a){var f=a("861d");g.exports=function(n){if(!f(n)&&n!==null)throw TypeError("Can't set "+String(n)+" as a prototype");return n}}),"3ca3":(function(g,m,a){var f=a("6547").charAt,n=a("69f3"),c=a("7dd0"),o="String Iterator",s=n.set,i=n.getterFor(o);c(String,"String",function(r){s(this,{type:o,string:String(r),index:0})},function(){var l=i(this),d=l.string,p=l.index,v;return p>=d.length?{value:void 0,done:!0}:(v=f(d,p),l.index+=v.length,{value:v,done:!1})})}),"3f8c":(function(g,m){g.exports={}}),4160:(function(g,m,a){var f=a("23e7"),n=a("17c2");f({target:"Array",proto:!0,forced:[].forEach!=n},{forEach:n})}),"428f":(function(g,m,a){var f=a("da84");g.exports=f}),"44ad":(function(g,m,a){var f=a("d039"),n=a("c6b6"),c="".split;g.exports=f(function(){return!Object("z").propertyIsEnumerable(0)})?function(o){return n(o)=="String"?c.call(o,""):Object(o)}:Object}),"44d2":(function(g,m,a){var f=a("b622"),n=a("7c73"),c=a("9bf2"),o=f("unscopables"),s=Array.prototype;s[o]==null&&c.f(s,o,{configurable:!0,value:n(null)}),g.exports=function(i){s[o][i]=!0}}),"44e7":(function(g,m,a){var f=a("861d"),n=a("c6b6"),c=a("b622"),o=c("match");g.exports=function(s){var i;return f(s)&&((i=s[o])!==void 0?!!i:n(s)=="RegExp")}}),4930:(function(g,m,a){var f=a("d039");g.exports=!!Object.getOwnPropertySymbols&&!f(function(){return!String(Symbol())})}),"4d64":(function(g,m,a){var f=a("fc6a"),n=a("50c4"),c=a("23cb"),o=function(s){return function(i,r,l){var d=f(i),p=n(d.length),v=c(l,p),b;if(s&&r!=r){for(;p>v;)if(b=d[v++],b!=b)return!0}else for(;p>v;v++)if((s||v in d)&&d[v]===r)return s||v||0;return!s&&-1}};g.exports={includes:o(!0),indexOf:o(!1)}}),"4de4":(function(g,m,a){var f=a("23e7"),n=a("b727").filter,c=a("1dde"),o=a("ae40"),s=c("filter"),i=o("filter");f({target:"Array",proto:!0,forced:!s||!i},{filter:function(l){return n(this,l,arguments.length>1?arguments[1]:void 0)}})}),"4df4":(function(g,m,a){var f=a("0366"),n=a("7b0b"),c=a("9bdd"),o=a("e95a"),s=a("50c4"),i=a("8418"),r=a("35a1");g.exports=function(d){var p=n(d),v=typeof this=="function"?this:Array,b=arguments.length,w=b>1?arguments[1]:void 0,y=w!==void 0,_=r(p),$=0,S,O,k,T,A,M;if(y&&(w=f(w,b>2?arguments[2]:void 0,2)),_!=null&&!(v==Array&&o(_)))for(T=_.call(p),A=T.next,O=new v;!(k=A.call(T)).done;$++)M=y?c(T,w,[k.value,$],!0):k.value,i(O,$,M);else for(S=s(p.length),O=new v(S);S>$;$++)M=y?w(p[$],$):p[$],i(O,$,M);return O.length=$,O}}),"4fad":(function(g,m,a){var f=a("23e7"),n=a("6f53").entries;f({target:"Object",stat:!0},{entries:function(o){return n(o)}})}),"50c4":(function(g,m,a){var f=a("a691"),n=Math.min;g.exports=function(c){return c>0?n(f(c),9007199254740991):0}}),5135:(function(g,m){var a={}.hasOwnProperty;g.exports=function(f,n){return a.call(f,n)}}),5319:(function(g,m,a){var f=a("d784"),n=a("825a"),c=a("7b0b"),o=a("50c4"),s=a("a691"),i=a("1d80"),r=a("8aa5"),l=a("14c3"),d=Math.max,p=Math.min,v=Math.floor,b=/\$([$&'`]|\d\d?|<[^>]*>)/g,w=/\$([$&'`]|\d\d?)/g,y=function(_){return _===void 0?_:String(_)};f("replace",2,function(_,$,S,O){var k=O.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,T=O.REPLACE_KEEPS_$0,A=k?"$":"$0";return[function(C,x){var L=i(this),q=C?.[_];return q!==void 0?q.call(C,L,x):$.call(String(L),C,x)},function(E,C){if(!k&&T||typeof C=="string"&&C.indexOf(A)===-1){var x=S($,E,this,C);if(x.done)return x.value}var L=n(E),q=String(this),I=typeof C=="function";I||(C=String(C));var F=L.global;if(F){var R=L.unicode;L.lastIndex=0}for(var N=[];;){var B=l(L,q);if(B===null||(N.push(B),!F))break;var D=String(B[0]);D===""&&(L.lastIndex=r(q,o(L.lastIndex),R))}for(var P="",j=0,V=0;V<N.length;V++){B=N[V];for(var W=String(B[0]),H=d(p(s(B.index),q.length),0),z=[],U=1;U<B.length;U++)z.push(y(B[U]));var X=B.groups;if(I){var te=[W].concat(z,H,q);X!==void 0&&te.push(X);var ie=String(C.apply(void 0,te))}else ie=M(W,q,H,z,X,C);H>=j&&(P+=q.slice(j,H)+ie,j=H+W.length)}return P+q.slice(j)}];function M(E,C,x,L,q,I){var F=x+E.length,R=L.length,N=w;return q!==void 0&&(q=c(q),N=b),$.call(I,N,function(B,D){var P;switch(D.charAt(0)){case"$":return"$";case"&":return E;case"`":return C.slice(0,x);case"'":return C.slice(F);case"<":P=q[D.slice(1,-1)];break;default:var j=+D;if(j===0)return B;if(j>R){var V=v(j/10);return V===0?B:V<=R?L[V-1]===void 0?D.charAt(1):L[V-1]+D.charAt(1):B}P=L[j-1]}return P===void 0?"":P})}})}),5692:(function(g,m,a){var f=a("c430"),n=a("c6cd");(g.exports=function(c,o){return n[c]||(n[c]=o!==void 0?o:{})})("versions",[]).push({version:"3.6.5",mode:f?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),"56ef":(function(g,m,a){var f=a("d066"),n=a("241c"),c=a("7418"),o=a("825a");g.exports=f("Reflect","ownKeys")||function(i){var r=n.f(o(i)),l=c.f;return l?r.concat(l(i)):r}}),"5a34":(function(g,m,a){var f=a("44e7");g.exports=function(n){if(f(n))throw TypeError("The method doesn't accept regular expressions");return n}}),"5c6c":(function(g,m){g.exports=function(a,f){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:f}}}),"5db7":(function(g,m,a){var f=a("23e7"),n=a("a2bf"),c=a("7b0b"),o=a("50c4"),s=a("1c0b"),i=a("65f0");f({target:"Array",proto:!0},{flatMap:function(l){var d=c(this),p=o(d.length),v;return s(l),v=i(d,0),v.length=n(v,d,d,p,0,1,l,arguments.length>1?arguments[1]:void 0),v}})}),6547:(function(g,m,a){var f=a("a691"),n=a("1d80"),c=function(o){return function(s,i){var r=String(n(s)),l=f(i),d=r.length,p,v;return l<0||l>=d?o?"":void 0:(p=r.charCodeAt(l),p<55296||p>56319||l+1===d||(v=r.charCodeAt(l+1))<56320||v>57343?o?r.charAt(l):p:o?r.slice(l,l+2):(p-55296<<10)+(v-56320)+65536)}};g.exports={codeAt:c(!1),charAt:c(!0)}}),"65f0":(function(g,m,a){var f=a("861d"),n=a("e8b5"),c=a("b622"),o=c("species");g.exports=function(s,i){var r;return n(s)&&(r=s.constructor,typeof r=="function"&&(r===Array||n(r.prototype))?r=void 0:f(r)&&(r=r[o],r===null&&(r=void 0))),new(r===void 0?Array:r)(i===0?0:i)}}),"69f3":(function(g,m,a){var f=a("7f9a"),n=a("da84"),c=a("861d"),o=a("9112"),s=a("5135"),i=a("f772"),r=a("d012"),l=n.WeakMap,d,p,v,b=function(k){return v(k)?p(k):d(k,{})},w=function(k){return function(T){var A;if(!c(T)||(A=p(T)).type!==k)throw TypeError("Incompatible receiver, "+k+" required");return A}};if(f){var y=new l,_=y.get,$=y.has,S=y.set;d=function(k,T){return S.call(y,k,T),T},p=function(k){return _.call(y,k)||{}},v=function(k){return $.call(y,k)}}else{var O=i("state");r[O]=!0,d=function(k,T){return o(k,O,T),T},p=function(k){return s(k,O)?k[O]:{}},v=function(k){return s(k,O)}}g.exports={set:d,get:p,has:v,enforce:b,getterFor:w}}),"6eeb":(function(g,m,a){var f=a("da84"),n=a("9112"),c=a("5135"),o=a("ce4e"),s=a("8925"),i=a("69f3"),r=i.get,l=i.enforce,d=String(String).split("String");(g.exports=function(p,v,b,w){var y=w?!!w.unsafe:!1,_=w?!!w.enumerable:!1,$=w?!!w.noTargetGet:!1;if(typeof b=="function"&&(typeof v=="string"&&!c(b,"name")&&n(b,"name",v),l(b).source=d.join(typeof v=="string"?v:"")),p===f){_?p[v]=b:o(v,b);return}else y?!$&&p[v]&&(_=!0):delete p[v];_?p[v]=b:n(p,v,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&r(this).source||s(this)})}),"6f53":(function(g,m,a){var f=a("83ab"),n=a("df75"),c=a("fc6a"),o=a("d1e7").f,s=function(i){return function(r){for(var l=c(r),d=n(l),p=d.length,v=0,b=[],w;p>v;)w=d[v++],(!f||o.call(l,w))&&b.push(i?[w,l[w]]:l[w]);return b}};g.exports={entries:s(!0),values:s(!1)}}),"73d9":(function(g,m,a){var f=a("44d2");f("flatMap")}),7418:(function(g,m){m.f=Object.getOwnPropertySymbols}),"746f":(function(g,m,a){var f=a("428f"),n=a("5135"),c=a("e538"),o=a("9bf2").f;g.exports=function(s){var i=f.Symbol||(f.Symbol={});n(i,s)||o(i,s,{value:c.f(s)})}}),7839:(function(g,m){g.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),"7b0b":(function(g,m,a){var f=a("1d80");g.exports=function(n){return Object(f(n))}}),"7c73":(function(g,m,a){var f=a("825a"),n=a("37e8"),c=a("7839"),o=a("d012"),s=a("1be4"),i=a("cc12"),r=a("f772"),l=">",d="<",p="prototype",v="script",b=r("IE_PROTO"),w=function(){},y=function(k){return d+v+l+k+d+"/"+v+l},_=function(k){k.write(y("")),k.close();var T=k.parentWindow.Object;return k=null,T},$=function(){var k=i("iframe"),T="java"+v+":",A;return k.style.display="none",s.appendChild(k),k.src=String(T),A=k.contentWindow.document,A.open(),A.write(y("document.F=Object")),A.close(),A.F},S,O=function(){try{S=document.domain&&new ActiveXObject("htmlfile")}catch{}O=S?_(S):$();for(var k=c.length;k--;)delete O[p][c[k]];return O()};o[b]=!0,g.exports=Object.create||function(T,A){var M;return T!==null?(w[p]=f(T),M=new w,w[p]=null,M[b]=T):M=O(),A===void 0?M:n(M,A)}}),"7dd0":(function(g,m,a){var f=a("23e7"),n=a("9ed3"),c=a("e163"),o=a("d2bb"),s=a("d44e"),i=a("9112"),r=a("6eeb"),l=a("b622"),d=a("c430"),p=a("3f8c"),v=a("ae93"),b=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,y=l("iterator"),_="keys",$="values",S="entries",O=function(){return this};g.exports=function(k,T,A,M,E,C,x){n(A,T,M);var L=function(V){if(V===E&&N)return N;if(!w&&V in F)return F[V];switch(V){case _:return function(){return new A(this,V)};case $:return function(){return new A(this,V)};case S:return function(){return new A(this,V)}}return function(){return new A(this)}},q=T+" Iterator",I=!1,F=k.prototype,R=F[y]||F["@@iterator"]||E&&F[E],N=!w&&R||L(E),B=T=="Array"&&F.entries||R,D,P,j;if(B&&(D=c(B.call(new k)),b!==Object.prototype&&D.next&&(!d&&c(D)!==b&&(o?o(D,b):typeof D[y]!="function"&&i(D,y,O)),s(D,q,!0,!0),d&&(p[q]=O))),E==$&&R&&R.name!==$&&(I=!0,N=function(){return R.call(this)}),(!d||x)&&F[y]!==N&&i(F,y,N),p[T]=N,E)if(P={values:L($),keys:C?N:L(_),entries:L(S)},x)for(j in P)(w||I||!(j in F))&&r(F,j,P[j]);else f({target:T,proto:!0,forced:w||I},P);return P}}),"7f9a":(function(g,m,a){var f=a("da84"),n=a("8925"),c=f.WeakMap;g.exports=typeof c=="function"&&/native code/.test(n(c))}),"825a":(function(g,m,a){var f=a("861d");g.exports=function(n){if(!f(n))throw TypeError(String(n)+" is not an object");return n}}),"83ab":(function(g,m,a){var f=a("d039");g.exports=!f(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),8418:(function(g,m,a){var f=a("c04e"),n=a("9bf2"),c=a("5c6c");g.exports=function(o,s,i){var r=f(s);r in o?n.f(o,r,c(0,i)):o[r]=i}}),"861d":(function(g,m){g.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}}),8875:(function(g,m,a){var f,n,c;(function(o,s){n=[],f=s,c=typeof f=="function"?f.apply(m,n):f,c!==void 0&&(g.exports=c)})(typeof self<"u"?self:this,function(){function o(){var s=Object.getOwnPropertyDescriptor(document,"currentScript");if(!s&&"currentScript"in document&&document.currentScript||s&&s.get!==o&&document.currentScript)return document.currentScript;try{throw new Error}catch(S){var i=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,r=/@([^@]*):(\d+):(\d+)\s*$/ig,l=i.exec(S.stack)||r.exec(S.stack),d=l&&l[1]||!1,p=l&&l[2]||!1,v=document.location.href.replace(document.location.hash,""),b,w,y,_=document.getElementsByTagName("script");d===v&&(b=document.documentElement.outerHTML,w=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),y=b.replace(w,"$1").trim());for(var $=0;$<_.length;$++)if(_[$].readyState==="interactive"||_[$].src===d||d===v&&_[$].innerHTML&&_[$].innerHTML.trim()===y)return _[$];return null}}return o})}),8925:(function(g,m,a){var f=a("c6cd"),n=Function.toString;typeof f.inspectSource!="function"&&(f.inspectSource=function(c){return n.call(c)}),g.exports=f.inspectSource}),"8aa5":(function(g,m,a){var f=a("6547").charAt;g.exports=function(n,c,o){return c+(o?f(n,c).length:1)}}),"8bbf":(function(g,m){g.exports=e}),"90e3":(function(g,m){var a=0,f=Math.random();g.exports=function(n){return"Symbol("+String(n===void 0?"":n)+")_"+(++a+f).toString(36)}}),9112:(function(g,m,a){var f=a("83ab"),n=a("9bf2"),c=a("5c6c");g.exports=f?function(o,s,i){return n.f(o,s,c(1,i))}:function(o,s,i){return o[s]=i,o}}),9263:(function(g,m,a){var f=a("ad6d"),n=a("9f7f"),c=RegExp.prototype.exec,o=String.prototype.replace,s=c,i=(function(){var p=/a/,v=/b*/g;return c.call(p,"a"),c.call(v,"a"),p.lastIndex!==0||v.lastIndex!==0})(),r=n.UNSUPPORTED_Y||n.BROKEN_CARET,l=/()??/.exec("")[1]!==void 0,d=i||l||r;d&&(s=function(v){var b=this,w,y,_,$,S=r&&b.sticky,O=f.call(b),k=b.source,T=0,A=v;return S&&(O=O.replace("y",""),O.indexOf("g")===-1&&(O+="g"),A=String(v).slice(b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&v[b.lastIndex-1]!==`
|
|
1633
|
+
</style>`};var FileSaver_min={exports:{}};(function(t,u){(function(e,h){h()})(commonjsGlobal,function(){function e(c,o){return typeof o>"u"?o={autoBom:!1}:typeof o!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),o={autoBom:!o}),o.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function h(c,o,s){var i=new XMLHttpRequest;i.open("GET",c),i.responseType="blob",i.onload=function(){n(i.response,o,s)},i.onerror=function(){console.error("could not download file")},i.send()}function g(c){var o=new XMLHttpRequest;o.open("HEAD",c,!1);try{o.send()}catch{}return 200<=o.status&&299>=o.status}function m(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var o=document.createEvent("MouseEvents");o.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(o)}}var a=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof commonjsGlobal=="object"&&commonjsGlobal.global===commonjsGlobal?commonjsGlobal:void 0,f=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),n=a.saveAs||(typeof window!="object"||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!f?function(c,o,s){var i=a.URL||a.webkitURL,r=document.createElement("a");o=o||c.name||"download",r.download=o,r.rel="noopener",typeof c=="string"?(r.href=c,r.origin===location.origin?m(r):g(r.href)?h(c,o,s):m(r,r.target="_blank")):(r.href=i.createObjectURL(c),setTimeout(function(){i.revokeObjectURL(r.href)},4e4),setTimeout(function(){m(r)},0))}:"msSaveOrOpenBlob"in navigator?function(c,o,s){if(o=o||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(e(c,s),o);else if(g(c))h(c,o,s);else{var i=document.createElement("a");i.href=c,i.target="_blank",setTimeout(function(){m(i)})}}:function(c,o,s,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),typeof c=="string")return h(c,o,s);var r=c.type==="application/octet-stream",l=/constructor/i.test(a.HTMLElement)||a.safari,d=/CriOS\/[\d]+/.test(navigator.userAgent);if((d||r&&l||f)&&typeof FileReader<"u"){var p=new FileReader;p.onloadend=function(){var w=p.result;w=d?w:w.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=w:location=w,i=null},p.readAsDataURL(c)}else{var v=a.URL||a.webkitURL,b=v.createObjectURL(c);i?i.location=b:location.href=b,i=null,setTimeout(function(){v.revokeObjectURL(b)},4e4)}});a.saveAs=n.saveAs=n,t.exports=n})})(FileSaver_min);const _sfc_main$e={name:"ToolbarPanel",mixins:[i18n],components:{VFormRender:FormRender,CodeEditor,Clipboard,SvgIcon},props:{designer:Object,globalDsv:{type:Object,default:()=>({})}},inject:["getDesignerConfig"],data(){return{designerConfig:this.getDesignerConfig(),toolbarWidth:450,showPreviewDialogFlag:!1,showImportJsonDialogFlag:!1,showExportJsonDialogFlag:!1,showExportCodeDialogFlag:!1,showFormDataDialogFlag:!1,showExportSFCDialogFlag:!1,showNodeTreeDrawerFlag:!1,nodeTreeData:[],importTemplate:"",jsonContent:"",jsonRawContent:"",formDataJson:"",formDataRawJson:"",vueCode:"",htmlCode:"",sfcCode:"",sfcCodeV3:"",activeCodeTab:"vue",activeSFCTab:"vue2",testFormData:{select62173:2},testOptionData:{select62173:[{label:"01",value:1},{label:"22",value:2},{label:"333",value:3}],select001:[{label:"辣椒",value:1},{label:"菠萝",value:2},{label:"丑橘子",value:3}]}}},computed:{formJson(){return{widgetList:deepClone(this.designer.widgetList),formConfig:deepClone(this.designer.formConfig)}},undoDisabled(){return!this.designer.undoEnabled()},redoDisabled(){return!this.designer.redoEnabled()},layoutType(){return this.designer.getLayoutType()},designerDsv(){return this.globalDsv}},watch:{"designer.widgetList":{deep:!0,handler(t){}}},mounted(){this.designerConfig.toolbarMaxWidth,this.designerConfig.toolbarMinWidth,addWindowResizeHandler(()=>{this.$nextTick(()=>{})})},methods:{showToolButton(t){return this.designerConfig[t]===void 0?!0:!!this.designerConfig[t]},buildTreeNodeOfWidget(t,u){let e={id:t.id,label:t.options.label||t.type};u.push(e),t.category!==void 0&&(e.children=[],t.type==="grid"?t.cols.map(h=>{let g={id:h.id,label:h.options.name||t.type,children:[]};e.children.push(g),h.widgetList.map(m=>{this.buildTreeNodeOfWidget(m,g.children)})}):t.type==="table"?t.rows.map(h=>{let g={id:h.id,label:"table-row",selectable:!1,children:[]};e.children.push(g),h.cols.map(m=>{if(m.merged)return;let a=g.children,f={id:m.id,label:"table-cell",children:[]};a.push(f),m.widgetList.map(n=>{this.buildTreeNodeOfWidget(n,f.children)})})}):t.type==="tab"?t.tabs.map(h=>{let g={id:h.id,label:h.options.name||t.type,selectable:!1,children:[]};e.children.push(g),h.widgetList.map(m=>{this.buildTreeNodeOfWidget(m,g.children)})}):t.type==="sub-form"?t.widgetList.map(h=>{this.buildTreeNodeOfWidget(h,e.children)}):t.category==="container"&&t.widgetList.map(h=>{this.buildTreeNodeOfWidget(h,e.children)}))},refreshNodeTree(){this.nodeTreeData.length=0,this.designer.widgetList.forEach(t=>{this.buildTreeNodeOfWidget(t,this.nodeTreeData)})},showNodeTreeDrawer(){this.refreshNodeTree(),this.showNodeTreeDrawerFlag=!0,this.$nextTick(()=>{this.designer.selectedId&&this.$refs.nodeTree.setCurrentKey(this.designer.selectedId)})},undoHistory(){this.designer.undoHistoryStep()},redoHistory(){this.designer.redoHistoryStep()},changeLayoutType(t){this.designer.changeLayoutType(t)},clearFormWidget(){this.designer.clearDesigner(),this.designer.formWidget.clearWidgetRefList()},previewForm(){this.showPreviewDialogFlag=!0},saveAsFile(t,u){this.$prompt(this.i18nt("designer.hint.fileNameForSave"),this.i18nt("designer.hint.saveFileTitle"),{inputValue:u,closeOnClickModal:!1,inputPlaceholder:this.i18nt("designer.hint.fileNameInputPlaceholder")}).then(({value:e})=>{if(e||(e=u),getQueryParam("vscode")==1){this.vsSaveFile(e,t);return}const h=new Blob([t],{type:"text/plain;charset=utf-8"});FileSaver_min.exports.saveAs(h,e)}).catch(()=>{})},vsSaveFile(t,u){const e={cmd:"writeFile",data:{fileName:t,code:u}};window.parent.postMessage(e,"*")},importJson(){this.importTemplate=JSON.stringify(this.designer.getImportTemplate(),null," "),this.showImportJsonDialogFlag=!0},doJsonImport(){try{let t=JSON.parse(this.importTemplate);if(!t||!t.formConfig)throw new Error(this.i18nt("designer.hint.invalidJsonFormat"));let u=t.formConfig.jsonVersion;if(!u||u!==3)throw new Error(this.i18nt("designer.hint.jsonVersionMismatch"));this.designer.loadFormJson(t),this.showImportJsonDialogFlag=!1,this.$message.success(this.i18nt("designer.hint.importJsonSuccess")),this.designer.emitHistoryChange(),this.designer.emitEvent("form-json-imported",[])}catch(t){this.$message.error(t+"")}},exportJson(){let t=deepClone(this.designer.widgetList),u=deepClone(this.designer.formConfig);this.jsonContent=JSON.stringify({widgetList:t,formConfig:u},null," "),this.jsonRawContent=JSON.stringify({widgetList:t,formConfig:u}),this.showExportJsonDialogFlag=!0},copyFormJson(t){copyToClipboard(this.jsonRawContent,t,this.$message,this.i18nt("designer.hint.copyJsonSuccess"),this.i18nt("designer.hint.copyJsonFail"))},saveFormJson(){this.saveAsFile(this.jsonContent,`vform${generateId()}.json`)},exportCode(){this.vueCode=generateCode(this.formJson),this.htmlCode=generateCode(this.formJson,"html"),this.showExportCodeDialogFlag=!0},copyVueCode(t){copyToClipboard(this.vueCode,t,this.$message,this.i18nt("designer.hint.copyVueCodeSuccess"),this.i18nt("designer.hint.copyVueCodeFail"))},copyHtmlCode(t){copyToClipboard(this.htmlCode,t,this.$message,this.i18nt("designer.hint.copyHtmlCodeSuccess"),this.i18nt("designer.hint.copyHtmlCodeFail"))},saveVueCode(){this.saveAsFile(this.vueCode,`vform${generateId()}.vue`)},saveHtmlCode(){this.saveAsFile(this.htmlCode,`vform${generateId()}.html`)},generateSFC(){loadBeautifier(t=>{this.sfcCode=genSFC(this.designer.formConfig,this.designer.widgetList,t),this.sfcCodeV3=genSFC(this.designer.formConfig,this.designer.widgetList,t,!0),this.showExportSFCDialogFlag=!0})},copyV2SFC(t){copyToClipboard(this.sfcCode,t,this.$message,this.i18nt("designer.hint.copySFCSuccess"),this.i18nt("designer.hint.copySFCFail"))},copyV3SFC(t){copyToClipboard(this.sfcCodeV3,t,this.$message,this.i18nt("designer.hint.copySFCSuccess"),this.i18nt("designer.hint.copySFCFail"))},saveV2SFC(){this.saveAsFile(this.sfcCode,`vformV2-${generateId()}.vue`)},saveV3SFC(){this.saveAsFile(this.sfcCodeV3,`vformV3-${generateId()}.vue`)},getFormData(){this.$refs.preForm.getFormData().then(t=>{this.formDataJson=JSON.stringify(t,null," "),this.formDataRawJson=JSON.stringify(t),this.showFormDataDialogFlag=!0}).catch(t=>{this.$message.error(t)})},copyFormDataJson(t){copyToClipboard(this.formDataRawJson,t,this.$message,this.i18nt("designer.hint.copyJsonSuccess"),this.i18nt("designer.hint.copyJsonFail"))},saveFormData(){this.saveAsFile(this.htmlCode,`formData${generateId()}.json`)},resetForm(){this.$refs.preForm.resetForm()},setFormDisabled(){this.$refs.preForm.disableForm()},setFormEnabled(){this.$refs.preForm.enableForm()},testLoadForm(){axios.get("https://www.fastmock.site/mock/e9710039bb5f11262d1a0f2f0bbe08c8/vform3/getFS").then(t=>{let u=t.data;this.$refs.preForm.setFormJson(u),console.log("test","aaaaaaaa"),this.$nextTick(()=>{let e={input30696:"668899"};this.$refs.preForm.setFormData(e)})}).catch(t=>{})},testSetFormJson(){let t={widgetList:[{type:"static-text",icon:"static-text",formItemFlag:!1,options:{name:"statictext111193",columnWidth:"200px",hidden:!1,textContent:"多列表单",customClass:[],onCreated:"",onMounted:"",label:"static-text"},id:"statictext111193"},{type:"divider",icon:"divider",formItemFlag:!1,options:{name:"divider102346",label:"",columnWidth:"200px",direction:"horizontal",contentPosition:"center",hidden:!1,customClass:[],onCreated:"",onMounted:""},id:"divider102346"},{type:"grid",category:"container",icon:"grid",cols:[{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"input",icon:"text-field",formItemFlag:!0,options:{name:"input12931",label:"发件人姓名",labelAlign:"",type:"text",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!0,validation:"",validationHint:"",customClass:[],labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"el-icon-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"input12931"}],options:{name:"gridCol25469",hidden:!1,span:12,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:[]},id:"grid-col-25469"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"input",icon:"text-field",formItemFlag:!0,options:{name:"input23031",label:"发件人号码",labelAlign:"",type:"text",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!0,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"el-icon-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"input23031"}],options:{name:"gridCol25125",hidden:!1,span:12,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-25125"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"switch",icon:"switch-field",formItemFlag:!0,options:{name:"switch96070",label:"是否保密",labelAlign:"",defaultValue:!0,columnWidth:"200px",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,switchWidth:40,activeText:"",inactiveText:"",activeColor:null,inactiveColor:null,onCreated:"",onMounted:"",onChange:"",onValidate:""},id:"switch96070"}],options:{name:"gridCol44470",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-44470"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"textarea",icon:"textarea-field",formItemFlag:!0,options:{name:"textarea21654",label:"发件人地址",labelAlign:"",rows:3,defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,required:!0,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"textarea21654"}],options:{name:"gridCol98223",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-98223"}],options:{name:"grid35834",hidden:!1,gutter:12,customClass:""},id:"grid35834"},{type:"divider",icon:"divider",formItemFlag:!1,options:{name:"divider69240",label:"",columnWidth:"200px",direction:"horizontal",contentPosition:"center",hidden:!1,customClass:"",onCreated:"",onMounted:""},id:"divider69240"},{type:"grid",category:"container",icon:"grid",cols:[{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"input",icon:"text-field",formItemFlag:!0,options:{name:"input113152",label:"收件人姓名111",labelAlign:"",type:"text",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!0,validation:"",validationHint:"",customClass:[],labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"el-icon-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"input113152"}],options:{name:"gridCol47242",hidden:!1,span:12,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-47242"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"input",icon:"text-field",formItemFlag:!0,options:{name:"input40240",label:"收件人号码",labelAlign:"",type:"text",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!0,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"el-icon-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"input40240"}],options:{name:"gridCol27970",hidden:!1,span:12,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-27970"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"checkbox",icon:"checkbox-field",formItemFlag:!0,options:{name:"checkbox63174",label:"接收时间段",labelAlign:"",defaultValue:[],columnWidth:"200px",size:"",displayStyle:"inline",buttonStyle:!1,border:!1,labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,optionItems:[{label:"上午9:00 - 11:30",value:1},{label:"下午12:30 - 18:00",value:2},{label:"晚上18:00 - 21:00",value:3}],required:!0,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onValidate:""},id:"checkbox63174"}],options:{name:"gridCol74653",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-74653"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"input",icon:"text-field",formItemFlag:!0,options:{name:"input78584",label:"收件人地址",labelAlign:"",type:"text",defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!0,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"el-icon-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"input78584"}],options:{name:"gridCol63781",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-63781"}],options:{name:"grid114672",hidden:!1,gutter:12,customClass:""},id:"grid114672"},{type:"divider",icon:"divider",formItemFlag:!1,options:{name:"divider75887",label:"",columnWidth:"200px",direction:"horizontal",contentPosition:"center",hidden:!1,customClass:[],onCreated:"",onMounted:""},id:"divider75887"},{type:"grid",category:"container",icon:"grid",cols:[{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"time-range",icon:"time-range-field",formItemFlag:!0,options:{name:"timerange47503",label:"送货时间",labelAlign:"",defaultValue:null,startPlaceholder:"",endPlaceholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,editable:!1,format:"HH:mm:ss",required:!0,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,onCreated:"",onMounted:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"timerange47503"}],options:{name:"gridCol109912",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-109912"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"slider",icon:"slider-field",formItemFlag:!0,options:{name:"slider54714",label:"价格保护",labelAlign:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,disabled:!1,hidden:!1,required:!1,validation:"",validationHint:"",customClass:[],labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,min:0,max:100,step:10,range:!1,height:null,onCreated:"",onMounted:"",onChange:"",onValidate:"",showStops:!0},id:"slider54714"}],options:{name:"gridCol114653",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-114653"},{type:"grid-col",category:"container",icon:"grid-col",internal:!0,widgetList:[{type:"textarea",icon:"textarea-field",formItemFlag:!0,options:{name:"textarea64794",label:"其他信息",labelAlign:"",rows:3,defaultValue:"",placeholder:"",columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,required:!1,validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:""},id:"textarea64794"}],options:{name:"gridCol80867",hidden:!1,span:24,offset:0,push:0,pull:0,responsive:!1,md:12,sm:12,xs:12,customClass:""},id:"grid-col-80867"}],options:{name:"grid28709",hidden:!1,gutter:12,customClass:""},id:"grid28709"}],formConfig:{modelName:"formData",refName:"vForm",rulesName:"rules",labelWidth:150,labelPosition:"left",size:"",labelAlign:"label-right-align",cssCode:"",customClass:[],functions:"",layoutType:"PC",jsonVersion:3,onFormCreated:"",onFormMounted:"",onFormDataChange:"",onFormValidate:""}};this.$refs.preForm.setFormJson(t),this.$nextTick(()=>{this.$refs.preForm.setFormData({input12931:"asdf"})})},testSetFormData(){let t={input89263:"899668"};this.$refs.preForm.setFormData(t)},testReloadOptionData(){this.testOptionData.select001.push({label:"aaa",value:888}),this.$refs.preForm.reloadOptionData()},handleFormChange(t,u,e,h){console.log("formModel",h)},testOnAppendButtonClick(t){console.log("test",t)},testOnButtonClick(t){console.log("test",t)},onMyEmitTest(t){console.log("-----",t)},findWidgetById(t){let u=null;return traverseAllWidgets(this.designer.widgetList,e=>{e.id===t&&(u=e)}),u},onNodeTreeClick(t,u,e){if(t.selectable!==void 0&&!t.selectable)this.$message.info(this.i18nt("designer.hint.currentNodeCannotBeSelected"));else{const h=t.id,g=this.findWidgetById(h);g&&this.designer.setSelected(g)}}}},_hoisted_1$c={class:"toolbar-container"},_hoisted_2$b={class:"left-toolbar"},_hoisted_3$a={class:"right-toolbar-con"},_hoisted_4$3={key:0,class:""},_hoisted_5$2={class:"dialog-footer"},_hoisted_6$1={key:1,class:""},_hoisted_7$1={class:"dialog-footer"},_hoisted_8$1={key:2,class:""},_hoisted_9$1={class:"dialog-footer"},_hoisted_10$1={key:3,class:""},_hoisted_11$1={class:"dialog-footer"},_hoisted_12$1={key:4,class:""},_hoisted_13={style:{border:"1px solid #DCDFE6"}},_hoisted_14={class:"dialog-footer"},_hoisted_15={key:5,class:""},_hoisted_16={class:"dialog-footer"};function _sfc_render$e(t,u,e,h,g,m){const a=require$$0.resolveComponent("svg-icon"),f=require$$0.resolveComponent("el-button"),n=require$$0.resolveComponent("el-button-group"),c=require$$0.resolveComponent("el-tree"),o=require$$0.resolveComponent("el-drawer"),s=require$$0.resolveComponent("VFormRender"),i=require$$0.resolveComponent("el-dialog"),r=require$$0.resolveComponent("el-alert"),l=require$$0.resolveComponent("code-editor"),d=require$$0.resolveComponent("el-tab-pane"),p=require$$0.resolveComponent("el-tabs"),v=require$$0.resolveDirective("drag");return require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_1$c,[require$$0.createElementVNode("div",_hoisted_2$b,[require$$0.createVNode(f,{link:"",type:"primary",disabled:m.undoDisabled,title:t.i18nt("designer.toolbar.undoHint"),onClick:m.undoHistory},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"undo"})]),_:1},8,["disabled","title","onClick"]),require$$0.createVNode(f,{link:"",type:"primary",disabled:m.redoDisabled,title:t.i18nt("designer.toolbar.redoHint"),onClick:m.redoHistory},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"redo"})]),_:1},8,["disabled","title","onClick"]),require$$0.createVNode(n,{style:{"margin-left":"20px"}},{default:require$$0.withCtx(()=>[require$$0.createVNode(f,{type:m.layoutType==="PC"?"info":"",onClick:u[0]||(u[0]=b=>m.changeLayoutType("PC"))},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.pcLayout")),1)]),_:1},8,["type"]),require$$0.createVNode(f,{type:m.layoutType==="Pad"?"info":"",onClick:u[1]||(u[1]=b=>m.changeLayoutType("Pad"))},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.padLayout")),1)]),_:1},8,["type"]),require$$0.createVNode(f,{type:m.layoutType==="H5"?"info":"",onClick:u[2]||(u[2]=b=>m.changeLayoutType("H5"))},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.mobileLayout")),1)]),_:1},8,["type"])]),_:1}),require$$0.createVNode(f,{style:{"margin-left":"20px"},title:t.i18nt("designer.toolbar.nodeTreeHint"),onClick:m.showNodeTreeDrawer},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"node-tree"})]),_:1},8,["title","onClick"])]),require$$0.createVNode(o,{title:t.i18nt("designer.toolbar.nodeTreeTitle"),direction:"ltr",modelValue:g.showNodeTreeDrawerFlag,"onUpdate:modelValue":u[3]||(u[3]=b=>g.showNodeTreeDrawerFlag=b),modal:!0,size:280,"destroy-on-close":!0,class:"node-tree-drawer"},{default:require$$0.withCtx(()=>[require$$0.createVNode(c,{ref:"nodeTree",data:g.nodeTreeData,"node-key":"id","default-expand-all":"","highlight-current":"",class:"node-tree","icon-class":"el-icon-arrow-right",onNodeClick:m.onNodeTreeClick},null,8,["data","onNodeClick"])]),_:1},8,["title","modelValue"]),require$$0.createElementVNode("div",{class:"right-toolbar",style:require$$0.normalizeStyle({width:g.toolbarWidth+"px"})},[require$$0.createElementVNode("div",_hoisted_3$a,[m.showToolButton("clearDesignerButton")?(require$$0.openBlock(),require$$0.createBlock(f,{key:0,link:"",type:"primary",onClick:m.clearFormWidget},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"el-delete"}),require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.clear")),1)]),_:1},8,["onClick"])):require$$0.createCommentVNode("",!0),m.showToolButton("previewFormButton")?(require$$0.openBlock(),require$$0.createBlock(f,{key:1,link:"",type:"primary",onClick:m.previewForm},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"el-view"}),require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.preview")),1)]),_:1},8,["onClick"])):require$$0.createCommentVNode("",!0),m.showToolButton("importJsonButton")?(require$$0.openBlock(),require$$0.createBlock(f,{key:2,link:"",type:"primary",onClick:m.importJson},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.importJson")),1)]),_:1},8,["onClick"])):require$$0.createCommentVNode("",!0),m.showToolButton("exportJsonButton")?(require$$0.openBlock(),require$$0.createBlock(f,{key:3,link:"",type:"primary",onClick:m.exportJson},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.exportJson")),1)]),_:1},8,["onClick"])):require$$0.createCommentVNode("",!0),m.showToolButton("exportCodeButton")?(require$$0.openBlock(),require$$0.createBlock(f,{key:4,link:"",type:"primary",onClick:m.exportCode},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.exportCode")),1)]),_:1},8,["onClick"])):require$$0.createCommentVNode("",!0),m.showToolButton("generateSFCButton")?(require$$0.openBlock(),require$$0.createBlock(f,{key:5,link:"",type:"primary",onClick:m.generateSFC},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{"icon-class":"vue-sfc"}),require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.toolbar.generateSFC")),1)]),_:1},8,["onClick"])):require$$0.createCommentVNode("",!0),(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(t.$slots,(b,w)=>require$$0.renderSlot(t.$slots,w,{},void 0,!0)),256))])],4),g.showPreviewDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_4$3,[require$$0.createVNode(i,{title:t.i18nt("designer.toolbar.preview"),modelValue:g.showPreviewDialogFlag,"onUpdate:modelValue":u[5]||(u[5]=b=>g.showPreviewDialogFlag=b),"show-close":!0,"close-on-click-modal":!1,"close-on-press-escape":!1,center:"","destroy-on-close":!0,"append-to-body":!0,class:"drag-dialog small-padding-dialog",width:"75%",fullscreen:m.layoutType==="H5"||m.layoutType==="Pad"},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_5$2,[require$$0.createVNode(f,{type:"primary",onClick:m.getFormData},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.getFormData")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{type:"primary",onClick:m.resetForm},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.resetForm")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{type:"primary",onClick:m.setFormDisabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.disableForm")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{type:"primary",onClick:m.setFormEnabled},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.enableForm")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:u[4]||(u[4]=b=>g.showPreviewDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.closePreview")),1)]),_:1}),require$$0.createCommentVNode("",!0),require$$0.createCommentVNode("",!0),require$$0.createCommentVNode("",!0),require$$0.createCommentVNode("",!0)])]),default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",null,[require$$0.createElementVNode("div",{class:require$$0.normalizeClass(["form-render-wrapper",[m.layoutType==="H5"?"h5-layout":m.layoutType==="Pad"?"pad-layout":""]])},[require$$0.createVNode(s,{ref:"preForm","form-json":m.formJson,"form-data":g.testFormData,"preview-state":!0,"option-data":g.testOptionData,"global-dsv":m.designerDsv,onMyEmitTest:m.onMyEmitTest,onAppendButtonClick:m.testOnAppendButtonClick,onButtonClick:m.testOnButtonClick,onFormChange:m.handleFormChange},null,8,["form-json","form-data","option-data","global-dsv","onMyEmitTest","onAppendButtonClick","onButtonClick","onFormChange"])],2)])]),_:1},8,["title","modelValue","fullscreen"])])),[[v,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0),g.showImportJsonDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_6$1,[require$$0.createVNode(i,{title:t.i18nt("designer.toolbar.importJson"),modelValue:g.showImportJsonDialogFlag,"onUpdate:modelValue":u[8]||(u[8]=b=>g.showImportJsonDialogFlag=b),"show-close":!0,class:"drag-dialog small-padding-dialog","append-to-body":!0,center:"","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_7$1,[require$$0.createVNode(f,{type:"primary",onClick:m.doJsonImport},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.import")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:u[7]||(u[7]=b=>g.showImportJsonDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.cancel")),1)]),_:1})])]),default:require$$0.withCtx(()=>[require$$0.createVNode(r,{type:"info",title:t.i18nt("designer.hint.importJsonHint"),"show-icon":"",class:"alert-padding"},null,8,["title"]),require$$0.createVNode(l,{mode:"json",readonly:!1,modelValue:g.importTemplate,"onUpdate:modelValue":u[6]||(u[6]=b=>g.importTemplate=b)},null,8,["modelValue"])]),_:1},8,["title","modelValue"])])),[[v,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0),g.showExportJsonDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_8$1,[require$$0.createVNode(i,{title:t.i18nt("designer.toolbar.exportJson"),modelValue:g.showExportJsonDialogFlag,"onUpdate:modelValue":u[11]||(u[11]=b=>g.showExportJsonDialogFlag=b),"show-close":!0,class:"drag-dialog small-padding-dialog",center:"","append-to-body":"","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_9$1,[require$$0.createVNode(f,{type:"primary",class:"copy-json-btn","data-clipboard-text":g.jsonRawContent,onClick:m.copyFormJson},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.copyJson")),1)]),_:1},8,["data-clipboard-text","onClick"]),require$$0.createVNode(f,{onClick:m.saveFormJson},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.saveFormJson")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:u[10]||(u[10]=b=>g.showExportJsonDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.closePreview")),1)]),_:1})])]),default:require$$0.withCtx(()=>[require$$0.createVNode(l,{mode:"json",readonly:!0,modelValue:g.jsonContent,"onUpdate:modelValue":u[9]||(u[9]=b=>g.jsonContent=b)},null,8,["modelValue"])]),_:1},8,["title","modelValue"])])),[[v,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0),g.showExportCodeDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_10$1,[require$$0.createVNode(i,{title:t.i18nt("designer.toolbar.exportCode"),modelValue:g.showExportCodeDialogFlag,"onUpdate:modelValue":u[16]||(u[16]=b=>g.showExportCodeDialogFlag=b),"show-close":!0,class:"drag-dialog small-padding-dialog",center:"","append-to-body":"",width:"65%","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_11$1,[require$$0.createVNode(f,{type:"primary",class:"copy-vue-btn","data-clipboard-text":g.vueCode,onClick:m.copyVueCode},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.copyVueCode")),1)]),_:1},8,["data-clipboard-text","onClick"]),require$$0.createVNode(f,{type:"primary",class:"copy-html-btn","data-clipboard-text":g.htmlCode,onClick:m.copyHtmlCode},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.copyHtmlCode")),1)]),_:1},8,["data-clipboard-text","onClick"]),require$$0.createVNode(f,{onClick:m.saveVueCode},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.saveVueCode")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:m.saveHtmlCode},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.saveHtmlCode")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:u[15]||(u[15]=b=>g.showExportCodeDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.closePreview")),1)]),_:1})])]),default:require$$0.withCtx(()=>[require$$0.createVNode(p,{type:"border-card",class:"no-box-shadow no-padding",modelValue:g.activeCodeTab,"onUpdate:modelValue":u[14]||(u[14]=b=>g.activeCodeTab=b)},{default:require$$0.withCtx(()=>[require$$0.createVNode(d,{label:"Vue",name:"vue"},{default:require$$0.withCtx(()=>[require$$0.createVNode(l,{mode:"html",readonly:!0,modelValue:g.vueCode,"onUpdate:modelValue":u[12]||(u[12]=b=>g.vueCode=b),"user-worker":!1},null,8,["modelValue"])]),_:1}),require$$0.createVNode(d,{label:"HTML",name:"html"},{default:require$$0.withCtx(()=>[require$$0.createVNode(l,{mode:"html",readonly:!0,modelValue:g.htmlCode,"onUpdate:modelValue":u[13]||(u[13]=b=>g.htmlCode=b),"user-worker":!1},null,8,["modelValue"])]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["title","modelValue"])])),[[v,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0),g.showFormDataDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_12$1,[require$$0.createVNode(i,{title:t.i18nt("designer.hint.exportFormData"),modelValue:g.showFormDataDialogFlag,"onUpdate:modelValue":u[19]||(u[19]=b=>g.showFormDataDialogFlag=b),"show-close":!0,class:"nested-drag-dialog dialog-title-light-bg",center:"","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0,"append-to-body":!0},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_14,[require$$0.createVNode(f,{type:"primary",class:"copy-form-data-json-btn","data-clipboard-text":g.formDataRawJson,onClick:m.copyFormDataJson},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.copyFormData")),1)]),_:1},8,["data-clipboard-text","onClick"]),require$$0.createVNode(f,{onClick:m.saveFormData},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.saveFormData")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:u[18]||(u[18]=b=>g.showFormDataDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.closePreview")),1)]),_:1})])]),default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_13,[require$$0.createVNode(l,{mode:"json",readonly:!0,modelValue:g.formDataJson,"onUpdate:modelValue":u[17]||(u[17]=b=>g.formDataJson=b)},null,8,["modelValue"])])]),_:1},8,["title","modelValue"])])),[[v,[".nested-drag-dialog.el-dialog",".nested-drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0),g.showExportSFCDialogFlag?require$$0.withDirectives((require$$0.openBlock(),require$$0.createElementBlock("div",_hoisted_15,[g.showExportSFCDialogFlag?(require$$0.openBlock(),require$$0.createBlock(i,{key:0,title:t.i18nt("designer.toolbar.generateSFC"),modelValue:g.showExportSFCDialogFlag,"onUpdate:modelValue":u[24]||(u[24]=b=>g.showExportSFCDialogFlag=b),"append-to-body":"","show-close":!0,class:"drag-dialog small-padding-dialog",center:"",width:"65%","close-on-click-modal":!1,"close-on-press-escape":!1,"destroy-on-close":!0},{footer:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_16,[require$$0.createVNode(f,{type:"primary",class:"copy-vue2-sfc-btn","data-clipboard-text":g.sfcCode,onClick:m.copyV2SFC},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.copyVue2SFC")),1)]),_:1},8,["data-clipboard-text","onClick"]),require$$0.createVNode(f,{type:"primary",class:"copy-vue3-sfc-btn","data-clipboard-text":g.sfcCodeV3,onClick:m.copyV3SFC},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.copyVue3SFC")),1)]),_:1},8,["data-clipboard-text","onClick"]),require$$0.createVNode(f,{onClick:m.saveV2SFC},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.saveVue2SFC")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:m.saveV3SFC},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.saveVue3SFC")),1)]),_:1},8,["onClick"]),require$$0.createVNode(f,{onClick:u[23]||(u[23]=b=>g.showExportSFCDialogFlag=!1)},{default:require$$0.withCtx(()=>[require$$0.createTextVNode(require$$0.toDisplayString(t.i18nt("designer.hint.closePreview")),1)]),_:1})])]),default:require$$0.withCtx(()=>[require$$0.createVNode(p,{type:"border-card",class:"no-box-shadow no-padding",modelValue:g.activeSFCTab,"onUpdate:modelValue":u[22]||(u[22]=b=>g.activeSFCTab=b)},{default:require$$0.withCtx(()=>[require$$0.createVNode(d,{label:"Vue2",name:"vue2"},{default:require$$0.withCtx(()=>[require$$0.createVNode(l,{mode:"html",readonly:!0,modelValue:g.sfcCode,"onUpdate:modelValue":u[20]||(u[20]=b=>g.sfcCode=b),"user-worker":!1},null,8,["modelValue"])]),_:1}),require$$0.createVNode(d,{label:"Vue3",name:"vue3"},{default:require$$0.withCtx(()=>[require$$0.createVNode(l,{mode:"html",readonly:!0,modelValue:g.sfcCodeV3,"onUpdate:modelValue":u[21]||(u[21]=b=>g.sfcCodeV3=b),"user-worker":!1},null,8,["modelValue"])]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["title","modelValue"])):require$$0.createCommentVNode("",!0)])),[[v,[".drag-dialog.el-dialog",".drag-dialog .el-dialog__header"]]]):require$$0.createCommentVNode("",!0)])}const ToolbarPanel=_export_sfc$1(_sfc_main$e,[["render",_sfc_render$e],["__scopeId","data-v-84c036dc"]]),formTemplates=[{title:"单列表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t1.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json1.txt",description:"表单模板详细说明..."},{title:"多列表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t2.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json2.txt",description:"表单模板详细说明..."},{title:"分组表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t3.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json3.txt",description:"表单模板详细说明..."},{title:"标签页表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t4.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json4.txt",description:"表单模板详细说明..."},{title:"主从表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t5.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json5.txt",description:"表单模板详细说明..."},{title:"响应式表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t6.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json6.txt",description:"表单模板详细说明..."},{title:"问卷调查表",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t7.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json7.txt",description:"表单模板详细说明..."},{title:"固定表格表单",imgUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/t8.png",jsonUrl:"https://ks3-cn-beijing.ksyuncs.com/vform-static/form-samples/json8.txt",description:"表单模板详细说明..."}],_imports_0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAe9JREFUOE+9lD9oU1EUxn8nqVZJB5cOdnAxmlSwCoIodHFQwSoFt85FQUQdrIP/mvsodWkHBVEodHYUoV0yOCmo4GCGmmdTBwULujgkaDAvn7w0CUmapK0U33jfub9z7jnf+Yxt/mybeXQEHpjSYLTEuMQZYF818Rcz0kEP88v37WO7YtYBj13WjvwAM4irQNqMF4JceNkgLjGKcRrxtG+Vifdz9qcR3AQMYYUBFlUmXhZjy1P2tl0VB52Om3hmxkrsGyON0CZgwukh4kLJOLni7Hu3/sYfqD9a5A2w4Ht2oxZbB4Y9i5TIlMsMd6qsNUGlUngVwNGcs6VqW9bCkinNCgZ9z0a2MvlESosG2axnN5uAiUllLMLjrLO5rQCTni5JXPOdDbUCfxLhou/sZfhjaEKxYh/TwK6WBL97Y9zN3LJCeJ6Y1CmM575ne7oDZxQrFpiW2N0kC+NXFO4tOctvBPz3J5e57nt2eFuGknRaAPysaxlKRTYBHwTDn5y928xgqgJ/HRhH1smm0o+UHgHng15O5O7Yj67Cvq3+6M4uwg4v11dP7Jcx1qnS+urB59gq5zquXg2a38ssxhWDNKE5BFVziBJHjEqcBZ5saA6NT4w7HeoR41pzlpp9fQ3tqwTztZ61tuX/Gexmptwu5i8Z7doVpHTyUwAAAABJRU5ErkJggg==",_sfc_main$d={name:"FieldPanel",mixins:[i18n],components:{SvgIcon},props:{designer:Object,title:{type:String,default:""},selectedList:{type:Array,default:()=>[]},noSelectedList:{type:Array,default:()=>[]}},inject:["getBannedWidgets","getDesignerConfig"],data(){return{position1:"",position2:"",alwaysRequire:["coopName","settlementCoopName","masterSalesName","masterSalesRatio","servicerName","departureStation","arrivalStation","flightDate","businessDate","businessProduct","bookingType","SOPDimension","planPieces","planWeight","planVolume","arrivalDate"],designerConfig:this.getDesignerConfig(),firstTab:"componentLib",scrollerHeight:0,halfScrollHeight:"170px",activeNames:["1","2","3","4"],containers:[],basicFields:[],advancedFields:[],customFields:[],formTemplates}},computed:{},created(){this.loadWidgets()},mounted(){this.initData()},methods:{renderForm(){this.$nextTick(()=>{this.selectedList?.length>0&&this.selectedList.forEach(t=>{t.widgetList?.length&&t.widgetList[0].options?.name&&this.alwaysRequire.includes(t.widgetList[0].options.name)&&(t.widgetList[0].options.required=!0)})})},initData(){this.title.includes("进口")?this.alwaysRequire=["coopName","settlementCoopName","masterSalesName","masterSalesRatio","servicerName","arrivalStation","flightDate","businessDate","businessProduct","bookingType","SOPDimension","arrivalDate"]:this.alwaysRequire=["coopName","settlementCoopName","masterSalesName","masterSalesRatio","servicerName","departureStation","arrivalStation","flightDate","businessDate","businessProduct","bookingType","SOPDimension","planPieces","planWeight","planVolume","arrivalDate"],this.renderForm(),this.resetHeight()},resetHeight(){const t=this.$refs.item_0?.$el?.clientHeight||0,u=this.$refs.item_1?.$el?.clientHeight||0,e=`calc(100vh - ${t+u+100}px)`,h=this.$refs.list_2;h.style.height=e},getPosition(t,u,e){let h="";if(t===2){const g=e.find(m=>m.widgetList[0].options.label.includes(u));g?.widgetList[0]?.id&&(h=g.widgetList[0].id)}if(t===1){const g=e.find(m=>m.options.label.includes(u));g?.id&&(h=g.id)}return console.log("id",h),h},scrollToView(t){let u=this["position"+t],e=t===1?this.noSelectedList:this.selectedList,h=this.getPosition(t,u,e);if(h){let g=document.getElementById(h),m=this.$refs["list_"+t],a=g?.offsetTop||0,f=m?.$el?.offsetTop||0;this.$nextTick(()=>{m.scrollTo({top:a-f-50,behavior:"smooth"})})}},deleteSelectedField(t){t.options.hidden=!0},deleteFormField(t){const u=this.designer.widgetList.find(e=>e.cols.find(h=>h.id===t.id))||{};if(u?.cols){const e=u.cols.findIndex(h=>h.id===t.id);this.designer.deleteColOfGrid(u,e),this.designer.emitHistoryChange()}},drawingItemDelete(t,u){const e=this.designer.widgetList.find(h=>h.cols.find(g=>g.id===u.id))||{};e?.cols&&(this.designer.deleteColOfGrid(e,t),this.designer.emitHistoryChange())},seeData(){console.log("已选-panel",this.selectedList),console.log("待选-panel",this.noSelectedList)},setRequired(t){this.$nextTick(()=>{t.widgetList[0].options.required=!t.widgetList[0].options.required,t.widgetList[0].options.required&&(t.widgetList[0].options.onValidate=!1)})},setRemind(t){this.$nextTick(()=>{t.widgetList[0].options.onValidate=!t.widgetList[0].options.onValidate,t.widgetList[0].options.onValidate&&(t.widgetList[0].options.required=!1)})},isBanned(t){return this.getBannedWidgets().indexOf(t)>-1},showFormTemplates(){return this.designerConfig.formTemplates===void 0?!0:!!this.designerConfig.formTemplates},loadWidgets(){this.containers=containers.map(t=>({key:generateId(),...t,displayName:t.options.label})).filter(t=>!t.internal&&!this.isBanned(t.type)),this.basicFields=basicFields.map(t=>({key:generateId(),...t,displayName:t.options.label})).filter(t=>!this.isBanned(t.type)),this.advancedFields=advancedFields.map(t=>({key:generateId(),...t,displayName:t.options.label})).filter(t=>!this.isBanned(t.type)),this.customFields=customFields.map(t=>({key:generateId(),...t,displayName:this.i18n2t(`designer.widgetLabel.${t.type}`,`extension.widgetLabel.${t.type}`)})).filter(t=>!this.isBanned(t.type))},handleContainerWidgetClone(t){return this.designer.copyNewContainerWidget(t)},handleFieldWidgetClone(t){return this.designer.copyNewFieldWidget(t)},checkContainerMove(t){return this.designer.checkWidgetMove(t)},checkFieldMove(t){return this.designer.checkFieldMove(t)},onContainerDragEnd(t){},addContainerByDbClick(t){this.designer.addContainerByDbClick(t)},addFieldByDbClick(t){this.designer.addFieldByDbClick(t)},loadFormTemplate(t){this.$confirm(this.i18nt("designer.hint.loadFormTemplateHint"),this.i18nt("render.hint.prompt"),{confirmButtonText:this.i18nt("render.hint.confirm"),cancelButtonText:this.i18nt("render.hint.cancel")}).then(()=>{axios.get(t).then(u=>{let e=!1;typeof u.data=="string"?e=this.designer.loadFormJson(JSON.parse(u.data)):u.data.constructor===Object&&(e=this.designer.loadFormJson(u.data)),e&&this.designer.emitHistoryChange(),this.$message.success(this.i18nt("designer.hint.loadFormTemplateSuccess"))}).catch(u=>{this.$message.error(this.i18nt("designer.hint.loadFormTemplateFailed")+":"+u)})}).catch(u=>{console.error(u)})}}},_hoisted_1$b={class:"panel-container"},_hoisted_2$a=["title","onDblclick"],_hoisted_3$9={class:"search-item-input"},_hoisted_4$2={class:"center-box",ref:"list_1"},_hoisted_5$1=["title","onDblclick","id"],_hoisted_6={class:"search-item-input"},_hoisted_7={class:"selected-box",ref:"list_2"},_hoisted_8=["id"],_hoisted_9={key:0},_hoisted_10=["onClick"],_hoisted_11={key:1,style:{padding:"12px"}},_hoisted_12=["onClick"];function _sfc_render$d(t,u,e,h,g,m){const a=require$$0.resolveComponent("svg-icon"),f=require$$0.resolveComponent("draggable"),n=require$$0.resolveComponent("el-collapse-item"),c=require$$0.resolveComponent("el-input"),o=require$$0.resolveComponent("el-button"),s=require$$0.resolveComponent("el-collapse"),i=require$$0.resolveComponent("el-scrollbar");return require$$0.openBlock(),require$$0.createBlock(i,{class:"side-scroll-bar"},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_1$b,[require$$0.createVNode(s,{modelValue:g.activeNames,"onUpdate:modelValue":u[6]||(u[6]=r=>g.activeNames=r),class:"widget-collapse",ref:"wrapper"},{default:require$$0.withCtx(()=>[require$$0.createVNode(n,{name:"1",title:t.i18nt("designer.containerTitle"),ref:"item_0"},{default:require$$0.withCtx(()=>[require$$0.createVNode(f,{tag:"ul",list:g.containers,"item-key":"id",group:{name:"dragGroup",pull:"clone",put:!1},clone:m.handleContainerWidgetClone,"ghost-class":"ghost",sort:!1,move:m.checkContainerMove,onEnd:m.onContainerDragEnd},{item:require$$0.withCtx(({element:r})=>[require$$0.createElementVNode("li",{class:"container-widget-item",title:r.displayName,onDblclick:l=>m.addContainerByDbClick(r)},[require$$0.createElementVNode("span",null,[require$$0.createVNode(a,{"icon-class":r.icon,"class-name":"color-svg-icon"},null,8,["icon-class"]),require$$0.createTextVNode(" "+require$$0.toDisplayString(r.options.label),1)])],40,_hoisted_2$a)]),_:1},8,["list","clone","move","onEnd"])]),_:1},8,["title"]),require$$0.createVNode(n,{name:"2",title:"待选项",class:"search-item",ref:"item_1"},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_3$9,[require$$0.createVNode(c,{placeholder:"搜索关键字",modelValue:g.position1,"onUpdate:modelValue":u[0]||(u[0]=r=>g.position1=r),class:"input-with-select",onBlur:u[1]||(u[1]=r=>m.scrollToView(1)),onKeyup:u[2]||(u[2]=require$$0.withKeys(r=>m.scrollToView(1),["enter","native"]))},null,8,["modelValue"])]),require$$0.createElementVNode("div",_hoisted_4$2,[require$$0.createVNode(f,{tag:"ul",list:e.noSelectedList,"item-key":"id",group:{name:"dragGroup",pull:"clone",put:!1},move:m.checkFieldMove,clone:m.handleFieldWidgetClone,"ghost-class":"ghost",sort:!1},{item:require$$0.withCtx(({element:r,index:l})=>[require$$0.createElementVNode("li",{class:"field-widget-item",title:r.options?.label,onDblclick:d=>m.addFieldByDbClick(r),id:r?.id},[require$$0.createElementVNode("span",null,[require$$0.createVNode(a,{"icon-class":r.icon,"class-name":"color-svg-icon"},null,8,["icon-class"]),require$$0.createTextVNode(" "+require$$0.toDisplayString(r.options?.label),1)])],40,_hoisted_5$1)]),_:1},8,["list","move","clone"])],512)]),_:1},512),require$$0.createVNode(n,{class:"search-item",name:"3",title:"已选项",ref:"item_2"},{default:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_6,[require$$0.createVNode(c,{placeholder:"搜索关键字",modelValue:g.position2,"onUpdate:modelValue":u[3]||(u[3]=r=>g.position2=r),class:"input-with-select",onBlur:u[4]||(u[4]=r=>m.scrollToView(2)),onKeyup:u[5]||(u[5]=require$$0.withKeys(r=>m.scrollToView(2),["enter","native"]))},null,8,["modelValue"])]),require$$0.createElementVNode("div",_hoisted_7,[require$$0.createElementVNode("ul",null,[(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,null,require$$0.renderList(e.selectedList,(r,l)=>(require$$0.openBlock(),require$$0.createElementBlock("p",{key:l,class:"selected-p",id:r?.widgetList[0]?.id},[r.widgetList.length>0?(require$$0.openBlock(),require$$0.createElementBlock("li",_hoisted_9,[require$$0.createElementVNode("span",null,[r.widgetList[0]?.options?.required?(require$$0.openBlock(),require$$0.createElementBlock("span",_hoisted_11)):(require$$0.openBlock(),require$$0.createElementBlock("img",{key:0,class:"del-img",src:_imports_0,onClick:d=>m.deleteSelectedField(r)},null,8,_hoisted_10)),require$$0.createTextVNode(" "+require$$0.toDisplayString(r?.widgetList[0]?.options?.label),1)]),require$$0.createElementVNode("span",null,[r.widgetList[0]?.options?.label?(require$$0.openBlock(),require$$0.createBlock(o,{key:0,disabled:g.alwaysRequire.indexOf(r.widgetList[0]?.options?.name)>-1,class:require$$0.normalizeClass({"s-required":!0,"s-required-active":r.widgetList[0]?.options?.required}),onClick:d=>m.setRequired(r,l)},{default:require$$0.withCtx(()=>[...u[7]||(u[7]=[require$$0.createTextVNode(" 必填 ",-1)])]),_:1},8,["disabled","class","onClick"])):require$$0.createCommentVNode("",!0),require$$0.createVNode(o,{disabled:g.alwaysRequire.indexOf(r.widgetList[0]?.options?.name)>-1,class:require$$0.normalizeClass({"s-required":!0,"s-required-active":r.widgetList[0]?.options?.onValidate}),onClick:d=>m.setRemind(r)},{default:require$$0.withCtx(()=>[...u[8]||(u[8]=[require$$0.createTextVNode(" 提醒 ",-1)])]),_:1},8,["disabled","class","onClick"])])])):require$$0.createCommentVNode("",!0),!r.widgetList.length>1?(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,{key:1},require$$0.renderList(r.options?.children,(d,p)=>(require$$0.openBlock(),require$$0.createElementBlock("li",{key:p},[require$$0.createElementVNode("span",null,[require$$0.createElementVNode("img",{class:"del-img",src:_imports_0,onClick:v=>m.drawingItemDelete(p,r.options.children,"children")},null,8,_hoisted_12),require$$0.createTextVNode(" "+require$$0.toDisplayString(d.options.label),1)]),require$$0.createElementVNode("span",null,[require$$0.createVNode(o,{disabled:"",class:require$$0.normalizeClass({"s-required":!0,"s-required-active":r.options.required}),onClick:v=>m.setRequired(d,p)},{default:require$$0.withCtx(()=>[...u[9]||(u[9]=[require$$0.createTextVNode(" 必填 ",-1)])]),_:1},8,["class","onClick"])])]))),128)):require$$0.createCommentVNode("",!0)],8,_hoisted_8))),128))])],512)]),_:1},512)]),_:1},8,["modelValue"])])]),_:1})}const WidgetPanel=_export_sfc$1(_sfc_main$d,[["render",_sfc_render$d],["__scopeId","data-v-c0447ce9"]]),_sfc_main$c={name:"FormDesign",componentName:"FormDesign",mixins:[i18n],components:{SvgIcon,WidgetPanel,ToolbarPanel,SettingPanel,VFormWidget},props:{title:{type:String,default:""},fieldListApi:{type:Object,default:null},bannedWidgets:{type:Array,default:()=>[]},designerConfig:{type:Object,default:()=>({languageMenu:!0,externalLink:!0,formTemplates:!0,eventCollapse:!0,widgetNameReadonly:!1,clearDesignerButton:!0,previewFormButton:!0,importJsonButton:!0,exportJsonButton:!0,exportCodeButton:!0,generateSFCButton:!0,toolbarMaxWidth:450,toolbarMinWidth:300,presetCssCode:"",resetFormJson:!1})},globalDsv:{type:Object,default:()=>({})},formData:{type:Object,default:()=>({})}},data(){return{selectedList:[],noSelectedList:[],vFormVersion:VARIANT_FORM_VERSION,curLangName:"",curLocale:"",vsCodeFlag:!1,caseName:"",docUrl:"https://www.vform666.com/document3.html",gitUrl:"https://github.com/vform666/variant-form3-vite",chatUrl:"https://www.vform666.com/pages/chat-group/",subScribeUrl:"https://www.vform666.com/pages/pro/",scrollerHeight:0,designer:createDesigner(this),fieldList:[],formFieldList:[]}},provide(){return{serverFieldList:this.fieldList,getDesignerConfig:()=>this.designerConfig,getBannedWidgets:()=>this.bannedWidgets,getSelectedList:()=>this.getSelectedList()}},created(){this.vsCodeFlag=getQueryParam("vscode")==1,this.caseName=getQueryParam("case")},mounted(){this.initData(),this.initLocale(),this.scrollerHeight=window.innerHeight-56-36+"px",addWindowResizeHandler(()=>{this.$nextTick(()=>{this.scrollerHeight=window.innerHeight-56-36+"px"})})},methods:{resetWidgetList(t){return deepClone(t).map(h=>({...h,cols:h.cols.map(g=>({...g,widgetList:g.widgetList[0]?.options?.hidden?[]:g.widgetList}))}))},initData(){this.designer={...this.designer,formConfig:this.formData?.formConfig?this.formData.formConfig:this.designer.formConfig,widgetList:this.formData?.widgetList?this.formData.widgetList:this.designer.widgetList};const t=this.getFormDataList(this.formData.widgetList);this.formFieldList=JSON.parse(JSON.stringify(t)),this.getSelectedList()},setDefaultForm(){let t={input:{type:"input",icon:"text-field"},textarea:{type:"textarea",icon:"textarea-field"},divider:{type:"divider",icon:"divider"},select:{type:"select",icon:"select-field"},date:{type:"date",icon:"date-field"}};sysJson.hawb.map(u=>!u||!u.tag?{}:{type:t[u.tag].type,icon:t[u.tag].icon,formItemFlag:!0,options:{name:u.fieldName,label:u.label,labelAlign:"",type:"text",defaultValue:"",placeholder:u.placeholder,columnWidth:"200px",size:"",labelWidth:null,labelHidden:!1,readonly:!1,disabled:!1,hidden:!1,clearable:!0,showPassword:!1,required:!1,requiredHint:"",validation:"",validationHint:"",customClass:"",labelIconClass:null,labelIconPosition:"rear",labelTooltip:null,minLength:null,maxLength:null,showWordLimit:!1,prefixIcon:"",suffixIcon:"",appendButton:!1,appendButtonDisabled:!1,buttonIcon:"el-icon-search",onCreated:"",onMounted:"",onInput:"",onChange:"",onFocus:"",onBlur:"",onValidate:"",onAppendButtonClick:""}})},getFormDataList(t){let u=[];return t?.length&&t.forEach(e=>{e.cols?.length&&e.cols.forEach(h=>{h.widgetList?.length>0&&u.push(h.widgetList[0])})}),u},getSelectedList(){let t=this.designer.widgetList||[],u=[],e=0;t.forEach(h=>{h.cols?h.cols.forEach(g=>{!g.options.hidden&&g.widgetList.length>0&&!g.widgetList[0]?.options?.hidden&&u.push(g)}):h.type=="divider"||(e+=1)}),e>0&&(this.openError("输入框需要放置在栅格内"),this.designer.widgetList=this.designer.widgetList.filter(h=>h.cols)),this.selectedList=u,this.noSelectedList=this.differenceSet(this.formFieldList,this.selectedList)},openError(t){elementPlus.ElMessage.error("操作失败,"+t)},differenceSet(t,u){return JSON.stringify(u)==="[]"?t:t.filter(h=>u.every(g=>g.widgetList[0].options?.label!=h.options.label||g.widgetList[0].options?.hidden))},testEEH(t,u){console.log("test1",t),console.log("test2",u)},showLink(t){return this.designerConfig[t]===void 0?!0:!!this.designerConfig[t]},openHome(){if(this.vsCodeFlag){const t={cmd:"openUrl",data:{url:"https://www.vform666.com/"}};window.parent.postMessage(t,"*")}},openUrl(t,u){if(this.vsCodeFlag){const e={cmd:"openUrl",data:{url:u}};window.parent.postMessage(e,"*")}else{let e=t.currentTarget;e.href=u}},loadCase(){this.caseName&&axios.get(MOCK_CASE_URL+this.caseName+".txt").then(t=>{if(t.data.code){this.$message.error(this.i18nt("designer.hint.sampleLoadedFail"));return}this.setFormJson(t.data),this.$message.success(this.i18nt("designer.hint.sampleLoadedSuccess"))}).catch(t=>{this.$message.error(this.i18nt("designer.hint.sampleLoadedFail")+":"+t)})},initLocale(){this.curLocale=localStorage.getItem("v_form_locale"),this.vsCodeFlag?this.curLocale=this.curLocale||"en-US":this.curLocale=this.curLocale||"zh-CN",this.curLangName=this.i18nt("application."+this.curLocale),this.changeLanguage(this.curLocale)},loadFieldListFromServer(){if(!this.fieldListApi)return;let t=this.fieldListApi.headers||{};axios.get(this.fieldListApi.URL,{headers:t}).then(u=>{let e=this.fieldListApi.labelKey||"label",h=this.fieldListApi.nameKey||"name";this.fieldList.splice(0,this.fieldList.length),u.data.forEach(g=>{this.fieldList.push({label:g[e],name:g[h]})})}).catch(u=>{this.$message.error(u)})},handleLanguageChanged(t){this.changeLanguage(t),this.curLangName=this.i18nt("application."+t)},changeLanguage(t){changeLocale(t)},setFormJson(t){let u=!1;t&&(typeof t=="string"?u=this.designer.loadFormJson(JSON.parse(t)):t.constructor===Object&&(u=this.designer.loadFormJson(t)),u&&this.designer.emitHistoryChange())},clearDesigner(){this.$refs.toolbarRef.clearFormWidget()},refreshDesigner(){let t=this.getFormDesignJson();this.designer.clearDesigner(!0),this.designer.loadFormJson(t)},previewForm(){this.$refs.toolbarRef.previewForm()},importJson(){this.$refs.toolbarRef.importJson()},exportJson(){this.$refs.toolbarRef.exportJson()},exportCode(){this.$refs.toolbarRef.exportCode()},generateSFC(){this.$refs.toolbarRef.generateSFC()},getFieldWidgets(t=null){return getAllFieldWidgets(t||this.designer.widgetList)},getContainerWidgets(t=null){return getAllContainerWidgets(t||this.designer.widgetList)},upgradeFormJson(t){if(!t.widgetList||!t.formConfig){this.$message.error("Invalid form json!");return}return traverseAllWidgets(t.widgetList,u=>{this.designer.upgradeWidgetConfig(u)}),this.designer.upgradeFormConfig(t.formConfig),t},getWidgetRef(t,u=!1){return this.$refs.formRef.getWidgetRef(t,u)},getSelectedWidgetRef(){return this.$refs.formRef.getSelectedWidgetRef()},getFormDesignJson(){const t=deepClone(this.designer.widgetList);return console.log("提交数据:",this.designer.widgetList),t.forEach(u=>{u.cols.forEach(e=>{if(e.widgetList.length===0){const h=this.formFieldList.find(g=>{let m=g.id.replace("wedget-","");return e.id===m});if(h){const g=deepClone(h);g.options.hidden=!0,e.widgetList[0]=g}}})}),{widgetList:deepClone(t),formConfig:deepClone(this.designer.formConfig)}},getFormJson(){const{widgetList:t}=this.getFormDesignJson();return t.map(e=>{const{options:h,cols:g}=e;return{title:h.label,hasCollapse:!0,children:g.map(a=>{let f={colProps:{span:a.options?.span||6}};if(a.options?.hidden||a.widgetList[0]?.options?.hidden)return f;{const n=a.widgetList[0]?.options;return{colProps:{span:a.options?.span||6},prop:n?.name||null,label:n?.label||null,valueType:a?.valueType||"input",fieldProps:a?.fieldProps||{}}}})}})}}};function _sfc_render$c(t,u,e,h,g,m){const a=require$$0.resolveComponent("v-form-widget"),f=require$$0.resolveComponent("el-scrollbar"),n=require$$0.resolveComponent("el-main"),c=require$$0.resolveComponent("widget-panel"),o=require$$0.resolveComponent("el-aside"),s=require$$0.resolveComponent("el-container");return require$$0.openBlock(),require$$0.createBlock(s,{class:"main-container full-height main-design"},{default:require$$0.withCtx(()=>[require$$0.createVNode(n,{class:"form-widget-main main-design-left"},{default:require$$0.withCtx(()=>[require$$0.createVNode(f,{class:"container-scroll-bar"},{default:require$$0.withCtx(()=>[require$$0.createVNode(a,{designer:g.designer,"form-config":g.designer.formConfig,"global-dsv":e.globalDsv,ref:"formRef"},null,8,["designer","form-config","global-dsv"])]),_:1})]),_:1}),require$$0.createVNode(o,{class:"side-panel main-design-right"},{default:require$$0.withCtx(()=>[require$$0.createVNode(c,{designer:g.designer,"selected-list":g.selectedList,"no-selected-list":g.noSelectedList},null,8,["designer","selected-list","no-selected-list"])]),_:1})]),_:1})}const FormDesign=_export_sfc$1(_sfc_main$c,[["render",_sfc_render$c],["__scopeId","data-v-5f037d72"]]);var vuedraggable_umd={exports:{}};function ownKeys(t,u){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(t);u&&(h=h.filter(function(g){return Object.getOwnPropertyDescriptor(t,g).enumerable})),e.push.apply(e,h)}return e}function _objectSpread2(t){for(var u=1;u<arguments.length;u++){var e=arguments[u]!=null?arguments[u]:{};u%2?ownKeys(Object(e),!0).forEach(function(h){_defineProperty(t,h,e[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ownKeys(Object(e)).forEach(function(h){Object.defineProperty(t,h,Object.getOwnPropertyDescriptor(e,h))})}return t}function _typeof(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(u){return typeof u}:_typeof=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},_typeof(t)}function _defineProperty(t,u,e){return u in t?Object.defineProperty(t,u,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[u]=e,t}function _extends(){return _extends=Object.assign||function(t){for(var u=1;u<arguments.length;u++){var e=arguments[u];for(var h in e)Object.prototype.hasOwnProperty.call(e,h)&&(t[h]=e[h])}return t},_extends.apply(this,arguments)}function _objectWithoutPropertiesLoose(t,u){if(t==null)return{};var e={},h=Object.keys(t),g,m;for(m=0;m<h.length;m++)g=h[m],!(u.indexOf(g)>=0)&&(e[g]=t[g]);return e}function _objectWithoutProperties(t,u){if(t==null)return{};var e=_objectWithoutPropertiesLoose(t,u),h,g;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(t);for(g=0;g<m.length;g++)h=m[g],!(u.indexOf(h)>=0)&&Object.prototype.propertyIsEnumerable.call(t,h)&&(e[h]=t[h])}return e}var version="1.14.0";function userAgent(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var IE11OrLess=userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Edge=userAgent(/Edge/i),FireFox=userAgent(/firefox/i),Safari=userAgent(/safari/i)&&!userAgent(/chrome/i)&&!userAgent(/android/i),IOS=userAgent(/iP(ad|od|hone)/i),ChromeForAndroid=userAgent(/chrome/i)&&userAgent(/android/i),captureMode={capture:!1,passive:!1};function on(t,u,e){t.addEventListener(u,e,!IE11OrLess&&captureMode)}function off(t,u,e){t.removeEventListener(u,e,!IE11OrLess&&captureMode)}function matches(t,u){if(u){if(u[0]===">"&&(u=u.substring(1)),t)try{if(t.matches)return t.matches(u);if(t.msMatchesSelector)return t.msMatchesSelector(u);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(u)}catch{return!1}return!1}}function getParentOrHost(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function closest(t,u,e,h){if(t){e=e||document;do{if(u!=null&&(u[0]===">"?t.parentNode===e&&matches(t,u):matches(t,u))||h&&t===e)return t;if(t===e)break}while(t=getParentOrHost(t))}return null}var R_SPACE=/\s+/g;function toggleClass(t,u,e){if(t&&u)if(t.classList)t.classList[e?"add":"remove"](u);else{var h=(" "+t.className+" ").replace(R_SPACE," ").replace(" "+u+" "," ");t.className=(h+(e?" "+u:"")).replace(R_SPACE," ")}}function css(t,u,e){var h=t&&t.style;if(h){if(e===void 0)return document.defaultView&&document.defaultView.getComputedStyle?e=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(e=t.currentStyle),u===void 0?e:e[u];!(u in h)&&u.indexOf("webkit")===-1&&(u="-webkit-"+u),h[u]=e+(typeof e=="string"?"":"px")}}function matrix(t,u){var e="";if(typeof t=="string")e=t;else do{var h=css(t,"transform");h&&h!=="none"&&(e=h+" "+e)}while(!u&&(t=t.parentNode));var g=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return g&&new g(e)}function find(t,u,e){if(t){var h=t.getElementsByTagName(u),g=0,m=h.length;if(e)for(;g<m;g++)e(h[g],g);return h}return[]}function getWindowScrollingElement(){var t=document.scrollingElement;return t||document.documentElement}function getRect(t,u,e,h,g){if(!(!t.getBoundingClientRect&&t!==window)){var m,a,f,n,c,o,s;if(t!==window&&t.parentNode&&t!==getWindowScrollingElement()?(m=t.getBoundingClientRect(),a=m.top,f=m.left,n=m.bottom,c=m.right,o=m.height,s=m.width):(a=0,f=0,n=window.innerHeight,c=window.innerWidth,o=window.innerHeight,s=window.innerWidth),(u||e)&&t!==window&&(g=g||t.parentNode,!IE11OrLess))do if(g&&g.getBoundingClientRect&&(css(g,"transform")!=="none"||e&&css(g,"position")!=="static")){var i=g.getBoundingClientRect();a-=i.top+parseInt(css(g,"border-top-width")),f-=i.left+parseInt(css(g,"border-left-width")),n=a+m.height,c=f+m.width;break}while(g=g.parentNode);if(h&&t!==window){var r=matrix(g||t),l=r&&r.a,d=r&&r.d;r&&(a/=d,f/=l,s/=l,o/=d,n=a+o,c=f+s)}return{top:a,left:f,bottom:n,right:c,width:s,height:o}}}function isScrolledPast(t,u,e){for(var h=getParentAutoScrollElement(t,!0),g=getRect(t)[u];h;){var m=getRect(h)[e],a=void 0;if(a=g>=m,!a)return h;if(h===getWindowScrollingElement())break;h=getParentAutoScrollElement(h,!1)}return!1}function getChild(t,u,e,h){for(var g=0,m=0,a=t.children;m<a.length;){if(a[m].style.display!=="none"&&a[m]!==Sortable.ghost&&(h||a[m]!==Sortable.dragged)&&closest(a[m],e.draggable,t,!1)){if(g===u)return a[m];g++}m++}return null}function lastChild(t,u){for(var e=t.lastElementChild;e&&(e===Sortable.ghost||css(e,"display")==="none"||u&&!matches(e,u));)e=e.previousElementSibling;return e||null}function index(t,u){var e=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)t.nodeName.toUpperCase()!=="TEMPLATE"&&t!==Sortable.clone&&(!u||matches(t,u))&&e++;return e}function getRelativeScrollOffset(t){var u=0,e=0,h=getWindowScrollingElement();if(t)do{var g=matrix(t),m=g.a,a=g.d;u+=t.scrollLeft*m,e+=t.scrollTop*a}while(t!==h&&(t=t.parentNode));return[u,e]}function indexOfObject(t,u){for(var e in t)if(t.hasOwnProperty(e)){for(var h in u)if(u.hasOwnProperty(h)&&u[h]===t[e][h])return Number(e)}return-1}function getParentAutoScrollElement(t,u){if(!t||!t.getBoundingClientRect)return getWindowScrollingElement();var e=t,h=!1;do if(e.clientWidth<e.scrollWidth||e.clientHeight<e.scrollHeight){var g=css(e);if(e.clientWidth<e.scrollWidth&&(g.overflowX=="auto"||g.overflowX=="scroll")||e.clientHeight<e.scrollHeight&&(g.overflowY=="auto"||g.overflowY=="scroll")){if(!e.getBoundingClientRect||e===document.body)return getWindowScrollingElement();if(h||u)return e;h=!0}}while(e=e.parentNode);return getWindowScrollingElement()}function extend(t,u){if(t&&u)for(var e in u)u.hasOwnProperty(e)&&(t[e]=u[e]);return t}function isRectEqual(t,u){return Math.round(t.top)===Math.round(u.top)&&Math.round(t.left)===Math.round(u.left)&&Math.round(t.height)===Math.round(u.height)&&Math.round(t.width)===Math.round(u.width)}var _throttleTimeout;function throttle(t,u){return function(){if(!_throttleTimeout){var e=arguments,h=this;e.length===1?t.call(h,e[0]):t.apply(h,e),_throttleTimeout=setTimeout(function(){_throttleTimeout=void 0},u)}}}function cancelThrottle(){clearTimeout(_throttleTimeout),_throttleTimeout=void 0}function scrollBy(t,u,e){t.scrollLeft+=u,t.scrollTop+=e}function clone(t){var u=window.Polymer,e=window.jQuery||window.Zepto;return u&&u.dom?u.dom(t).cloneNode(!0):e?e(t).clone(!0)[0]:t.cloneNode(!0)}var expando="Sortable"+new Date().getTime();function AnimationStateManager(){var t=[],u;return{captureAnimationState:function(){if(t=[],!!this.options.animation){var h=[].slice.call(this.el.children);h.forEach(function(g){if(!(css(g,"display")==="none"||g===Sortable.ghost)){t.push({target:g,rect:getRect(g)});var m=_objectSpread2({},t[t.length-1].rect);if(g.thisAnimationDuration){var a=matrix(g,!0);a&&(m.top-=a.f,m.left-=a.e)}g.fromRect=m}})}},addAnimationState:function(h){t.push(h)},removeAnimationState:function(h){t.splice(indexOfObject(t,{target:h}),1)},animateAll:function(h){var g=this;if(!this.options.animation){clearTimeout(u),typeof h=="function"&&h();return}var m=!1,a=0;t.forEach(function(f){var n=0,c=f.target,o=c.fromRect,s=getRect(c),i=c.prevFromRect,r=c.prevToRect,l=f.rect,d=matrix(c,!0);d&&(s.top-=d.f,s.left-=d.e),c.toRect=s,c.thisAnimationDuration&&isRectEqual(i,s)&&!isRectEqual(o,s)&&(l.top-s.top)/(l.left-s.left)===(o.top-s.top)/(o.left-s.left)&&(n=calculateRealTime(l,i,r,g.options)),isRectEqual(s,o)||(c.prevFromRect=o,c.prevToRect=s,n||(n=g.options.animation),g.animate(c,l,s,n)),n&&(m=!0,a=Math.max(a,n),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},n),c.thisAnimationDuration=n)}),clearTimeout(u),m?u=setTimeout(function(){typeof h=="function"&&h()},a):typeof h=="function"&&h(),t=[]},animate:function(h,g,m,a){if(a){css(h,"transition",""),css(h,"transform","");var f=matrix(this.el),n=f&&f.a,c=f&&f.d,o=(g.left-m.left)/(n||1),s=(g.top-m.top)/(c||1);h.animatingX=!!o,h.animatingY=!!s,css(h,"transform","translate3d("+o+"px,"+s+"px,0)"),this.forRepaintDummy=repaint(h),css(h,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),css(h,"transform","translate3d(0,0,0)"),typeof h.animated=="number"&&clearTimeout(h.animated),h.animated=setTimeout(function(){css(h,"transition",""),css(h,"transform",""),h.animated=!1,h.animatingX=!1,h.animatingY=!1},a)}}}}function repaint(t){return t.offsetWidth}function calculateRealTime(t,u,e,h){return Math.sqrt(Math.pow(u.top-t.top,2)+Math.pow(u.left-t.left,2))/Math.sqrt(Math.pow(u.top-e.top,2)+Math.pow(u.left-e.left,2))*h.animation}var plugins=[],defaults={initializeByDefault:!0},PluginManager={mount:function t(u){for(var e in defaults)defaults.hasOwnProperty(e)&&!(e in u)&&(u[e]=defaults[e]);plugins.forEach(function(h){if(h.pluginName===u.pluginName)throw"Sortable: Cannot mount plugin ".concat(u.pluginName," more than once")}),plugins.push(u)},pluginEvent:function t(u,e,h){var g=this;this.eventCanceled=!1,h.cancel=function(){g.eventCanceled=!0};var m=u+"Global";plugins.forEach(function(a){e[a.pluginName]&&(e[a.pluginName][m]&&e[a.pluginName][m](_objectSpread2({sortable:e},h)),e.options[a.pluginName]&&e[a.pluginName][u]&&e[a.pluginName][u](_objectSpread2({sortable:e},h)))})},initializePlugins:function t(u,e,h,g){plugins.forEach(function(f){var n=f.pluginName;if(!(!u.options[n]&&!f.initializeByDefault)){var c=new f(u,e,u.options);c.sortable=u,c.options=u.options,u[n]=c,_extends(h,c.defaults)}});for(var m in u.options)if(u.options.hasOwnProperty(m)){var a=this.modifyOption(u,m,u.options[m]);typeof a<"u"&&(u.options[m]=a)}},getEventProperties:function t(u,e){var h={};return plugins.forEach(function(g){typeof g.eventProperties=="function"&&_extends(h,g.eventProperties.call(e[g.pluginName],u))}),h},modifyOption:function t(u,e,h){var g;return plugins.forEach(function(m){u[m.pluginName]&&m.optionListeners&&typeof m.optionListeners[e]=="function"&&(g=m.optionListeners[e].call(u[m.pluginName],h))}),g}};function dispatchEvent(t){var u=t.sortable,e=t.rootEl,h=t.name,g=t.targetEl,m=t.cloneEl,a=t.toEl,f=t.fromEl,n=t.oldIndex,c=t.newIndex,o=t.oldDraggableIndex,s=t.newDraggableIndex,i=t.originalEvent,r=t.putSortable,l=t.extraEventProperties;if(u=u||e&&e[expando],!!u){var d,p=u.options,v="on"+h.charAt(0).toUpperCase()+h.substr(1);window.CustomEvent&&!IE11OrLess&&!Edge?d=new CustomEvent(h,{bubbles:!0,cancelable:!0}):(d=document.createEvent("Event"),d.initEvent(h,!0,!0)),d.to=a||e,d.from=f||e,d.item=g||e,d.clone=m,d.oldIndex=n,d.newIndex=c,d.oldDraggableIndex=o,d.newDraggableIndex=s,d.originalEvent=i,d.pullMode=r?r.lastPutMode:void 0;var b=_objectSpread2(_objectSpread2({},l),PluginManager.getEventProperties(h,u));for(var w in b)d[w]=b[w];e&&e.dispatchEvent(d),p[v]&&p[v].call(u,d)}}var _excluded=["evt"],pluginEvent=function t(u,e){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=h.evt,m=_objectWithoutProperties(h,_excluded);PluginManager.pluginEvent.bind(Sortable)(u,e,_objectSpread2({dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,dragStarted:moved,putSortable,activeSortable:Sortable.active,originalEvent:g,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex,hideGhostForTarget:_hideGhostForTarget,unhideGhostForTarget:_unhideGhostForTarget,cloneNowHidden:function(){cloneHidden=!0},cloneNowShown:function(){cloneHidden=!1},dispatchSortableEvent:function(f){_dispatchEvent({sortable:e,name:f,originalEvent:g})}},m))};function _dispatchEvent(t){dispatchEvent(_objectSpread2({putSortable,cloneEl,targetEl:dragEl,rootEl,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex},t))}var dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,oldIndex,newIndex,oldDraggableIndex,newDraggableIndex,activeGroup,putSortable,awaitingDragStarted=!1,ignoreNextClick=!1,sortables=[],tapEvt,touchEvt,lastDx,lastDy,tapDistanceLeft,tapDistanceTop,moved,lastTarget,lastDirection,pastFirstInvertThresh=!1,isCircumstantialInvert=!1,targetMoveDistance,ghostRelativeParent,ghostRelativeParentInitialScroll=[],_silent=!1,savedInputChecked=[],documentExists=typeof document<"u",PositionGhostAbsolutely=IOS,CSSFloatProperty=Edge||IE11OrLess?"cssFloat":"float",supportDraggable=documentExists&&!ChromeForAndroid&&!IOS&&"draggable"in document.createElement("div"),supportCssPointerEvents=(function(){if(documentExists){if(IE11OrLess)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}})(),_detectDirection=function t(u,e){var h=css(u),g=parseInt(h.width)-parseInt(h.paddingLeft)-parseInt(h.paddingRight)-parseInt(h.borderLeftWidth)-parseInt(h.borderRightWidth),m=getChild(u,0,e),a=getChild(u,1,e),f=m&&css(m),n=a&&css(a),c=f&&parseInt(f.marginLeft)+parseInt(f.marginRight)+getRect(m).width,o=n&&parseInt(n.marginLeft)+parseInt(n.marginRight)+getRect(a).width;if(h.display==="flex")return h.flexDirection==="column"||h.flexDirection==="column-reverse"?"vertical":"horizontal";if(h.display==="grid")return h.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(m&&f.float&&f.float!=="none"){var s=f.float==="left"?"left":"right";return a&&(n.clear==="both"||n.clear===s)?"vertical":"horizontal"}return m&&(f.display==="block"||f.display==="flex"||f.display==="table"||f.display==="grid"||c>=g&&h[CSSFloatProperty]==="none"||a&&h[CSSFloatProperty]==="none"&&c+o>g)?"vertical":"horizontal"},_dragElInRowColumn=function t(u,e,h){var g=h?u.left:u.top,m=h?u.right:u.bottom,a=h?u.width:u.height,f=h?e.left:e.top,n=h?e.right:e.bottom,c=h?e.width:e.height;return g===f||m===n||g+a/2===f+c/2},_detectNearestEmptySortable=function t(u,e){var h;return sortables.some(function(g){var m=g[expando].options.emptyInsertThreshold;if(!(!m||lastChild(g))){var a=getRect(g),f=u>=a.left-m&&u<=a.right+m,n=e>=a.top-m&&e<=a.bottom+m;if(f&&n)return h=g}}),h},_prepareGroup=function t(u){function e(m,a){return function(f,n,c,o){var s=f.options.group.name&&n.options.group.name&&f.options.group.name===n.options.group.name;if(m==null&&(a||s))return!0;if(m==null||m===!1)return!1;if(a&&m==="clone")return m;if(typeof m=="function")return e(m(f,n,c,o),a)(f,n,c,o);var i=(a?f:n).options.group.name;return m===!0||typeof m=="string"&&m===i||m.join&&m.indexOf(i)>-1}}var h={},g=u.group;(!g||_typeof(g)!="object")&&(g={name:g}),h.name=g.name,h.checkPull=e(g.pull,!0),h.checkPut=e(g.put),h.revertClone=g.revertClone,u.group=h},_hideGhostForTarget=function t(){!supportCssPointerEvents&&ghostEl&&css(ghostEl,"display","none")},_unhideGhostForTarget=function t(){!supportCssPointerEvents&&ghostEl&&css(ghostEl,"display","")};documentExists&&document.addEventListener("click",function(t){if(ignoreNextClick)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),ignoreNextClick=!1,!1},!0);var nearestEmptyInsertDetectEvent=function t(u){if(dragEl){u=u.touches?u.touches[0]:u;var e=_detectNearestEmptySortable(u.clientX,u.clientY);if(e){var h={};for(var g in u)u.hasOwnProperty(g)&&(h[g]=u[g]);h.target=h.rootEl=e,h.preventDefault=void 0,h.stopPropagation=void 0,e[expando]._onDragOver(h)}}},_checkOutsideTargetEl=function t(u){dragEl&&dragEl.parentNode[expando]._isOutsideThisEl(u.target)};function Sortable(t,u){if(!(t&&t.nodeType&&t.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=u=_extends({},u),t[expando]=this;var e={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return _detectDirection(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,f){a.setData("Text",f.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Sortable.supportPointer!==!1&&"PointerEvent"in window&&!Safari,emptyInsertThreshold:5};PluginManager.initializePlugins(this,t,e);for(var h in e)!(h in u)&&(u[h]=e[h]);_prepareGroup(u);for(var g in this)g.charAt(0)==="_"&&typeof this[g]=="function"&&(this[g]=this[g].bind(this));this.nativeDraggable=u.forceFallback?!1:supportDraggable,this.nativeDraggable&&(this.options.touchStartThreshold=1),u.supportPointer?on(t,"pointerdown",this._onTapStart):(on(t,"mousedown",this._onTapStart),on(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(on(t,"dragover",this),on(t,"dragenter",this)),sortables.push(this.el),u.store&&u.store.get&&this.sort(u.store.get(this)||[]),_extends(this,AnimationStateManager())}Sortable.prototype={constructor:Sortable,_isOutsideThisEl:function t(u){!this.el.contains(u)&&u!==this.el&&(lastTarget=null)},_getDirection:function t(u,e){return typeof this.options.direction=="function"?this.options.direction.call(this,u,e,dragEl):this.options.direction},_onTapStart:function t(u){if(u.cancelable){var e=this,h=this.el,g=this.options,m=g.preventOnFilter,a=u.type,f=u.touches&&u.touches[0]||u.pointerType&&u.pointerType==="touch"&&u,n=(f||u).target,c=u.target.shadowRoot&&(u.path&&u.path[0]||u.composedPath&&u.composedPath()[0])||n,o=g.filter;if(_saveInputCheckedState(h),!dragEl&&!(/mousedown|pointerdown/.test(a)&&u.button!==0||g.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Safari&&n&&n.tagName.toUpperCase()==="SELECT")&&(n=closest(n,g.draggable,h,!1),!(n&&n.animated)&&lastDownEl!==n)){if(oldIndex=index(n),oldDraggableIndex=index(n,g.draggable),typeof o=="function"){if(o.call(this,u,n,this)){_dispatchEvent({sortable:e,rootEl:c,name:"filter",targetEl:n,toEl:h,fromEl:h}),pluginEvent("filter",e,{evt:u}),m&&u.cancelable&&u.preventDefault();return}}else if(o&&(o=o.split(",").some(function(s){if(s=closest(c,s.trim(),h,!1),s)return _dispatchEvent({sortable:e,rootEl:s,name:"filter",targetEl:n,fromEl:h,toEl:h}),pluginEvent("filter",e,{evt:u}),!0}),o)){m&&u.cancelable&&u.preventDefault();return}g.handle&&!closest(c,g.handle,h,!1)||this._prepareDragStart(u,f,n)}}},_prepareDragStart:function t(u,e,h){var g=this,m=g.el,a=g.options,f=m.ownerDocument,n;if(h&&!dragEl&&h.parentNode===m){var c=getRect(h);if(rootEl=m,dragEl=h,parentEl=dragEl.parentNode,nextEl=dragEl.nextSibling,lastDownEl=h,activeGroup=a.group,Sortable.dragged=dragEl,tapEvt={target:dragEl,clientX:(e||u).clientX,clientY:(e||u).clientY},tapDistanceLeft=tapEvt.clientX-c.left,tapDistanceTop=tapEvt.clientY-c.top,this._lastX=(e||u).clientX,this._lastY=(e||u).clientY,dragEl.style["will-change"]="all",n=function(){if(pluginEvent("delayEnded",g,{evt:u}),Sortable.eventCanceled){g._onDrop();return}g._disableDelayedDragEvents(),!FireFox&&g.nativeDraggable&&(dragEl.draggable=!0),g._triggerDragStart(u,e),_dispatchEvent({sortable:g,name:"choose",originalEvent:u}),toggleClass(dragEl,a.chosenClass,!0)},a.ignore.split(",").forEach(function(o){find(dragEl,o.trim(),_disableDraggable)}),on(f,"dragover",nearestEmptyInsertDetectEvent),on(f,"mousemove",nearestEmptyInsertDetectEvent),on(f,"touchmove",nearestEmptyInsertDetectEvent),on(f,"mouseup",g._onDrop),on(f,"touchend",g._onDrop),on(f,"touchcancel",g._onDrop),FireFox&&this.nativeDraggable&&(this.options.touchStartThreshold=4,dragEl.draggable=!0),pluginEvent("delayStart",this,{evt:u}),a.delay&&(!a.delayOnTouchOnly||e)&&(!this.nativeDraggable||!(Edge||IE11OrLess))){if(Sortable.eventCanceled){this._onDrop();return}on(f,"mouseup",g._disableDelayedDrag),on(f,"touchend",g._disableDelayedDrag),on(f,"touchcancel",g._disableDelayedDrag),on(f,"mousemove",g._delayedDragTouchMoveHandler),on(f,"touchmove",g._delayedDragTouchMoveHandler),a.supportPointer&&on(f,"pointermove",g._delayedDragTouchMoveHandler),g._dragStartTimer=setTimeout(n,a.delay)}else n()}},_delayedDragTouchMoveHandler:function t(u){var e=u.touches?u.touches[0]:u;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function t(){dragEl&&_disableDraggable(dragEl),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function t(){var u=this.el.ownerDocument;off(u,"mouseup",this._disableDelayedDrag),off(u,"touchend",this._disableDelayedDrag),off(u,"touchcancel",this._disableDelayedDrag),off(u,"mousemove",this._delayedDragTouchMoveHandler),off(u,"touchmove",this._delayedDragTouchMoveHandler),off(u,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function t(u,e){e=e||u.pointerType=="touch"&&u,!this.nativeDraggable||e?this.options.supportPointer?on(document,"pointermove",this._onTouchMove):e?on(document,"touchmove",this._onTouchMove):on(document,"mousemove",this._onTouchMove):(on(dragEl,"dragend",this),on(rootEl,"dragstart",this._onDragStart));try{document.selection?_nextTick(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function t(u,e){if(awaitingDragStarted=!1,rootEl&&dragEl){pluginEvent("dragStarted",this,{evt:e}),this.nativeDraggable&&on(document,"dragover",_checkOutsideTargetEl);var h=this.options;!u&&toggleClass(dragEl,h.dragClass,!1),toggleClass(dragEl,h.ghostClass,!0),Sortable.active=this,u&&this._appendGhost(),_dispatchEvent({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function t(){if(touchEvt){this._lastX=touchEvt.clientX,this._lastY=touchEvt.clientY,_hideGhostForTarget();for(var u=document.elementFromPoint(touchEvt.clientX,touchEvt.clientY),e=u;u&&u.shadowRoot&&(u=u.shadowRoot.elementFromPoint(touchEvt.clientX,touchEvt.clientY),u!==e);)e=u;if(dragEl.parentNode[expando]._isOutsideThisEl(u),e)do{if(e[expando]){var h=void 0;if(h=e[expando]._onDragOver({clientX:touchEvt.clientX,clientY:touchEvt.clientY,target:u,rootEl:e}),h&&!this.options.dragoverBubble)break}u=e}while(e=e.parentNode);_unhideGhostForTarget()}},_onTouchMove:function t(u){if(tapEvt){var e=this.options,h=e.fallbackTolerance,g=e.fallbackOffset,m=u.touches?u.touches[0]:u,a=ghostEl&&matrix(ghostEl,!0),f=ghostEl&&a&&a.a,n=ghostEl&&a&&a.d,c=PositionGhostAbsolutely&&ghostRelativeParent&&getRelativeScrollOffset(ghostRelativeParent),o=(m.clientX-tapEvt.clientX+g.x)/(f||1)+(c?c[0]-ghostRelativeParentInitialScroll[0]:0)/(f||1),s=(m.clientY-tapEvt.clientY+g.y)/(n||1)+(c?c[1]-ghostRelativeParentInitialScroll[1]:0)/(n||1);if(!Sortable.active&&!awaitingDragStarted){if(h&&Math.max(Math.abs(m.clientX-this._lastX),Math.abs(m.clientY-this._lastY))<h)return;this._onDragStart(u,!0)}if(ghostEl){a?(a.e+=o-(lastDx||0),a.f+=s-(lastDy||0)):a={a:1,b:0,c:0,d:1,e:o,f:s};var i="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");css(ghostEl,"webkitTransform",i),css(ghostEl,"mozTransform",i),css(ghostEl,"msTransform",i),css(ghostEl,"transform",i),lastDx=o,lastDy=s,touchEvt=m}u.cancelable&&u.preventDefault()}},_appendGhost:function t(){if(!ghostEl){var u=this.options.fallbackOnBody?document.body:rootEl,e=getRect(dragEl,!0,PositionGhostAbsolutely,!0,u),h=this.options;if(PositionGhostAbsolutely){for(ghostRelativeParent=u;css(ghostRelativeParent,"position")==="static"&&css(ghostRelativeParent,"transform")==="none"&&ghostRelativeParent!==document;)ghostRelativeParent=ghostRelativeParent.parentNode;ghostRelativeParent!==document.body&&ghostRelativeParent!==document.documentElement?(ghostRelativeParent===document&&(ghostRelativeParent=getWindowScrollingElement()),e.top+=ghostRelativeParent.scrollTop,e.left+=ghostRelativeParent.scrollLeft):ghostRelativeParent=getWindowScrollingElement(),ghostRelativeParentInitialScroll=getRelativeScrollOffset(ghostRelativeParent)}ghostEl=dragEl.cloneNode(!0),toggleClass(ghostEl,h.ghostClass,!1),toggleClass(ghostEl,h.fallbackClass,!0),toggleClass(ghostEl,h.dragClass,!0),css(ghostEl,"transition",""),css(ghostEl,"transform",""),css(ghostEl,"box-sizing","border-box"),css(ghostEl,"margin",0),css(ghostEl,"top",e.top),css(ghostEl,"left",e.left),css(ghostEl,"width",e.width),css(ghostEl,"height",e.height),css(ghostEl,"opacity","0.8"),css(ghostEl,"position",PositionGhostAbsolutely?"absolute":"fixed"),css(ghostEl,"zIndex","100000"),css(ghostEl,"pointerEvents","none"),Sortable.ghost=ghostEl,u.appendChild(ghostEl),css(ghostEl,"transform-origin",tapDistanceLeft/parseInt(ghostEl.style.width)*100+"% "+tapDistanceTop/parseInt(ghostEl.style.height)*100+"%")}},_onDragStart:function t(u,e){var h=this,g=u.dataTransfer,m=h.options;if(pluginEvent("dragStart",this,{evt:u}),Sortable.eventCanceled){this._onDrop();return}pluginEvent("setupClone",this),Sortable.eventCanceled||(cloneEl=clone(dragEl),cloneEl.draggable=!1,cloneEl.style["will-change"]="",this._hideClone(),toggleClass(cloneEl,this.options.chosenClass,!1),Sortable.clone=cloneEl),h.cloneId=_nextTick(function(){pluginEvent("clone",h),!Sortable.eventCanceled&&(h.options.removeCloneOnHide||rootEl.insertBefore(cloneEl,dragEl),h._hideClone(),_dispatchEvent({sortable:h,name:"clone"}))}),!e&&toggleClass(dragEl,m.dragClass,!0),e?(ignoreNextClick=!0,h._loopId=setInterval(h._emulateDragOver,50)):(off(document,"mouseup",h._onDrop),off(document,"touchend",h._onDrop),off(document,"touchcancel",h._onDrop),g&&(g.effectAllowed="move",m.setData&&m.setData.call(h,g,dragEl)),on(document,"drop",h),css(dragEl,"transform","translateZ(0)")),awaitingDragStarted=!0,h._dragStartId=_nextTick(h._dragStarted.bind(h,e,u)),on(document,"selectstart",h),moved=!0,Safari&&css(document.body,"user-select","none")},_onDragOver:function t(u){var e=this.el,h=u.target,g,m,a,f=this.options,n=f.group,c=Sortable.active,o=activeGroup===n,s=f.sort,i=putSortable||c,r,l=this,d=!1;if(_silent)return;function p(I,F){pluginEvent(I,l,_objectSpread2({evt:u,isOwner:o,axis:r?"vertical":"horizontal",revert:a,dragRect:g,targetRect:m,canSort:s,fromSortable:i,target:h,completed:b,onMove:function(N,B){return _onMove(rootEl,e,dragEl,g,N,getRect(N),u,B)},changed:w},F))}function v(){p("dragOverAnimationCapture"),l.captureAnimationState(),l!==i&&i.captureAnimationState()}function b(I){return p("dragOverCompleted",{insertion:I}),I&&(o?c._hideClone():c._showClone(l),l!==i&&(toggleClass(dragEl,putSortable?putSortable.options.ghostClass:c.options.ghostClass,!1),toggleClass(dragEl,f.ghostClass,!0)),putSortable!==l&&l!==Sortable.active?putSortable=l:l===Sortable.active&&putSortable&&(putSortable=null),i===l&&(l._ignoreWhileAnimating=h),l.animateAll(function(){p("dragOverAnimationComplete"),l._ignoreWhileAnimating=null}),l!==i&&(i.animateAll(),i._ignoreWhileAnimating=null)),(h===dragEl&&!dragEl.animated||h===e&&!h.animated)&&(lastTarget=null),!f.dragoverBubble&&!u.rootEl&&h!==document&&(dragEl.parentNode[expando]._isOutsideThisEl(u.target),!I&&nearestEmptyInsertDetectEvent(u)),!f.dragoverBubble&&u.stopPropagation&&u.stopPropagation(),d=!0}function w(){newIndex=index(dragEl),newDraggableIndex=index(dragEl,f.draggable),_dispatchEvent({sortable:l,name:"change",toEl:e,newIndex,newDraggableIndex,originalEvent:u})}if(u.preventDefault!==void 0&&u.cancelable&&u.preventDefault(),h=closest(h,f.draggable,e,!0),p("dragOver"),Sortable.eventCanceled)return d;if(dragEl.contains(u.target)||h.animated&&h.animatingX&&h.animatingY||l._ignoreWhileAnimating===h)return b(!1);if(ignoreNextClick=!1,c&&!f.disabled&&(o?s||(a=parentEl!==rootEl):putSortable===this||(this.lastPutMode=activeGroup.checkPull(this,c,dragEl,u))&&n.checkPut(this,c,dragEl,u))){if(r=this._getDirection(u,h)==="vertical",g=getRect(dragEl),p("dragOverValid"),Sortable.eventCanceled)return d;if(a)return parentEl=rootEl,v(),this._hideClone(),p("revert"),Sortable.eventCanceled||(nextEl?rootEl.insertBefore(dragEl,nextEl):rootEl.appendChild(dragEl)),b(!0);var y=lastChild(e,f.draggable);if(!y||_ghostIsLast(u,r,this)&&!y.animated){if(y===dragEl)return b(!1);if(y&&e===u.target&&(h=y),h&&(m=getRect(h)),_onMove(rootEl,e,dragEl,g,h,m,u,!!h)!==!1)return v(),e.appendChild(dragEl),parentEl=e,w(),b(!0)}else if(y&&_ghostIsFirst(u,r,this)){var _=getChild(e,0,f,!0);if(_===dragEl)return b(!1);if(h=_,m=getRect(h),_onMove(rootEl,e,dragEl,g,h,m,u,!1)!==!1)return v(),e.insertBefore(dragEl,_),parentEl=e,w(),b(!0)}else if(h.parentNode===e){m=getRect(h);var $=0,S,O=dragEl.parentNode!==e,k=!_dragElInRowColumn(dragEl.animated&&dragEl.toRect||g,h.animated&&h.toRect||m,r),T=r?"top":"left",A=isScrolledPast(h,"top","top")||isScrolledPast(dragEl,"top","top"),M=A?A.scrollTop:void 0;lastTarget!==h&&(S=m[T],pastFirstInvertThresh=!1,isCircumstantialInvert=!k&&f.invertSwap||O),$=_getSwapDirection(u,h,m,r,k?1:f.swapThreshold,f.invertedSwapThreshold==null?f.swapThreshold:f.invertedSwapThreshold,isCircumstantialInvert,lastTarget===h);var E;if($!==0){var C=index(dragEl);do C-=$,E=parentEl.children[C];while(E&&(css(E,"display")==="none"||E===ghostEl))}if($===0||E===h)return b(!1);lastTarget=h,lastDirection=$;var x=h.nextElementSibling,L=!1;L=$===1;var q=_onMove(rootEl,e,dragEl,g,h,m,u,L);if(q!==!1)return(q===1||q===-1)&&(L=q===1),_silent=!0,setTimeout(_unsilent,30),v(),L&&!x?e.appendChild(dragEl):h.parentNode.insertBefore(dragEl,L?x:h),A&&scrollBy(A,0,M-A.scrollTop),parentEl=dragEl.parentNode,S!==void 0&&!isCircumstantialInvert&&(targetMoveDistance=Math.abs(S-getRect(h)[T])),w(),b(!0)}if(e.contains(dragEl))return b(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function t(){off(document,"mousemove",this._onTouchMove),off(document,"touchmove",this._onTouchMove),off(document,"pointermove",this._onTouchMove),off(document,"dragover",nearestEmptyInsertDetectEvent),off(document,"mousemove",nearestEmptyInsertDetectEvent),off(document,"touchmove",nearestEmptyInsertDetectEvent)},_offUpEvents:function t(){var u=this.el.ownerDocument;off(u,"mouseup",this._onDrop),off(u,"touchend",this._onDrop),off(u,"pointerup",this._onDrop),off(u,"touchcancel",this._onDrop),off(document,"selectstart",this)},_onDrop:function t(u){var e=this.el,h=this.options;if(newIndex=index(dragEl),newDraggableIndex=index(dragEl,h.draggable),pluginEvent("drop",this,{evt:u}),parentEl=dragEl&&dragEl.parentNode,newIndex=index(dragEl),newDraggableIndex=index(dragEl,h.draggable),Sortable.eventCanceled){this._nulling();return}awaitingDragStarted=!1,isCircumstantialInvert=!1,pastFirstInvertThresh=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),_cancelNextTick(this.cloneId),_cancelNextTick(this._dragStartId),this.nativeDraggable&&(off(document,"drop",this),off(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Safari&&css(document.body,"user-select",""),css(dragEl,"transform",""),u&&(moved&&(u.cancelable&&u.preventDefault(),!h.dropBubble&&u.stopPropagation()),ghostEl&&ghostEl.parentNode&&ghostEl.parentNode.removeChild(ghostEl),(rootEl===parentEl||putSortable&&putSortable.lastPutMode!=="clone")&&cloneEl&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),dragEl&&(this.nativeDraggable&&off(dragEl,"dragend",this),_disableDraggable(dragEl),dragEl.style["will-change"]="",moved&&!awaitingDragStarted&&toggleClass(dragEl,putSortable?putSortable.options.ghostClass:this.options.ghostClass,!1),toggleClass(dragEl,this.options.chosenClass,!1),_dispatchEvent({sortable:this,name:"unchoose",toEl:parentEl,newIndex:null,newDraggableIndex:null,originalEvent:u}),rootEl!==parentEl?(newIndex>=0&&(_dispatchEvent({rootEl:parentEl,name:"add",toEl:parentEl,fromEl:rootEl,originalEvent:u}),_dispatchEvent({sortable:this,name:"remove",toEl:parentEl,originalEvent:u}),_dispatchEvent({rootEl:parentEl,name:"sort",toEl:parentEl,fromEl:rootEl,originalEvent:u}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:u})),putSortable&&putSortable.save()):newIndex!==oldIndex&&newIndex>=0&&(_dispatchEvent({sortable:this,name:"update",toEl:parentEl,originalEvent:u}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:u})),Sortable.active&&((newIndex==null||newIndex===-1)&&(newIndex=oldIndex,newDraggableIndex=oldDraggableIndex),_dispatchEvent({sortable:this,name:"end",toEl:parentEl,originalEvent:u}),this.save()))),this._nulling()},_nulling:function t(){pluginEvent("nulling",this),rootEl=dragEl=parentEl=ghostEl=nextEl=cloneEl=lastDownEl=cloneHidden=tapEvt=touchEvt=moved=newIndex=newDraggableIndex=oldIndex=oldDraggableIndex=lastTarget=lastDirection=putSortable=activeGroup=Sortable.dragged=Sortable.ghost=Sortable.clone=Sortable.active=null,savedInputChecked.forEach(function(u){u.checked=!0}),savedInputChecked.length=lastDx=lastDy=0},handleEvent:function t(u){switch(u.type){case"drop":case"dragend":this._onDrop(u);break;case"dragenter":case"dragover":dragEl&&(this._onDragOver(u),_globalDragOver(u));break;case"selectstart":u.preventDefault();break}},toArray:function t(){for(var u=[],e,h=this.el.children,g=0,m=h.length,a=this.options;g<m;g++)e=h[g],closest(e,a.draggable,this.el,!1)&&u.push(e.getAttribute(a.dataIdAttr)||_generateId(e));return u},sort:function t(u,e){var h={},g=this.el;this.toArray().forEach(function(m,a){var f=g.children[a];closest(f,this.options.draggable,g,!1)&&(h[m]=f)},this),e&&this.captureAnimationState(),u.forEach(function(m){h[m]&&(g.removeChild(h[m]),g.appendChild(h[m]))}),e&&this.animateAll()},save:function t(){var u=this.options.store;u&&u.set&&u.set(this)},closest:function t(u,e){return closest(u,e||this.options.draggable,this.el,!1)},option:function t(u,e){var h=this.options;if(e===void 0)return h[u];var g=PluginManager.modifyOption(this,u,e);typeof g<"u"?h[u]=g:h[u]=e,u==="group"&&_prepareGroup(h)},destroy:function t(){pluginEvent("destroy",this);var u=this.el;u[expando]=null,off(u,"mousedown",this._onTapStart),off(u,"touchstart",this._onTapStart),off(u,"pointerdown",this._onTapStart),this.nativeDraggable&&(off(u,"dragover",this),off(u,"dragenter",this)),Array.prototype.forEach.call(u.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),sortables.splice(sortables.indexOf(this.el),1),this.el=u=null},_hideClone:function t(){if(!cloneHidden){if(pluginEvent("hideClone",this),Sortable.eventCanceled)return;css(cloneEl,"display","none"),this.options.removeCloneOnHide&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),cloneHidden=!0}},_showClone:function t(u){if(u.lastPutMode!=="clone"){this._hideClone();return}if(cloneHidden){if(pluginEvent("showClone",this),Sortable.eventCanceled)return;dragEl.parentNode==rootEl&&!this.options.group.revertClone?rootEl.insertBefore(cloneEl,dragEl):nextEl?rootEl.insertBefore(cloneEl,nextEl):rootEl.appendChild(cloneEl),this.options.group.revertClone&&this.animate(dragEl,cloneEl),css(cloneEl,"display",""),cloneHidden=!1}}};function _globalDragOver(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function _onMove(t,u,e,h,g,m,a,f){var n,c=t[expando],o=c.options.onMove,s;return window.CustomEvent&&!IE11OrLess&&!Edge?n=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(n=document.createEvent("Event"),n.initEvent("move",!0,!0)),n.to=u,n.from=t,n.dragged=e,n.draggedRect=h,n.related=g||u,n.relatedRect=m||getRect(u),n.willInsertAfter=f,n.originalEvent=a,t.dispatchEvent(n),o&&(s=o.call(c,n,a)),s}function _disableDraggable(t){t.draggable=!1}function _unsilent(){_silent=!1}function _ghostIsFirst(t,u,e){var h=getRect(getChild(e.el,0,e.options,!0)),g=10;return u?t.clientX<h.left-g||t.clientY<h.top&&t.clientX<h.right:t.clientY<h.top-g||t.clientY<h.bottom&&t.clientX<h.left}function _ghostIsLast(t,u,e){var h=getRect(lastChild(e.el,e.options.draggable)),g=10;return u?t.clientX>h.right+g||t.clientX<=h.right&&t.clientY>h.bottom&&t.clientX>=h.left:t.clientX>h.right&&t.clientY>h.top||t.clientX<=h.right&&t.clientY>h.bottom+g}function _getSwapDirection(t,u,e,h,g,m,a,f){var n=h?t.clientY:t.clientX,c=h?e.height:e.width,o=h?e.top:e.left,s=h?e.bottom:e.right,i=!1;if(!a){if(f&&targetMoveDistance<c*g){if(!pastFirstInvertThresh&&(lastDirection===1?n>o+c*m/2:n<s-c*m/2)&&(pastFirstInvertThresh=!0),pastFirstInvertThresh)i=!0;else if(lastDirection===1?n<o+targetMoveDistance:n>s-targetMoveDistance)return-lastDirection}else if(n>o+c*(1-g)/2&&n<s-c*(1-g)/2)return _getInsertDirection(u)}return i=i||a,i&&(n<o+c*m/2||n>s-c*m/2)?n>o+c/2?1:-1:0}function _getInsertDirection(t){return index(dragEl)<index(t)?1:-1}function _generateId(t){for(var u=t.tagName+t.className+t.src+t.href+t.textContent,e=u.length,h=0;e--;)h+=u.charCodeAt(e);return h.toString(36)}function _saveInputCheckedState(t){savedInputChecked.length=0;for(var u=t.getElementsByTagName("input"),e=u.length;e--;){var h=u[e];h.checked&&savedInputChecked.push(h)}}function _nextTick(t){return setTimeout(t,0)}function _cancelNextTick(t){return clearTimeout(t)}documentExists&&on(document,"touchmove",function(t){(Sortable.active||awaitingDragStarted)&&t.cancelable&&t.preventDefault()}),Sortable.utils={on,off,css,find,is:function t(u,e){return!!closest(u,e,u,!1)},extend,throttle,closest,toggleClass,clone,index,nextTick:_nextTick,cancelNextTick:_cancelNextTick,detectDirection:_detectDirection,getChild},Sortable.get=function(t){return t[expando]},Sortable.mount=function(){for(var t=arguments.length,u=new Array(t),e=0;e<t;e++)u[e]=arguments[e];u[0].constructor===Array&&(u=u[0]),u.forEach(function(h){if(!h.prototype||!h.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(h));h.utils&&(Sortable.utils=_objectSpread2(_objectSpread2({},Sortable.utils),h.utils)),PluginManager.mount(h)})},Sortable.create=function(t,u){return new Sortable(t,u)},Sortable.version=version;var autoScrolls=[],scrollEl,scrollRootEl,scrolling=!1,lastAutoScrollX,lastAutoScrollY,touchEvt$1,pointerElemChangedInterval;function AutoScrollPlugin(){function t(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var u in this)u.charAt(0)==="_"&&typeof this[u]=="function"&&(this[u]=this[u].bind(this))}return t.prototype={dragStarted:function(e){var h=e.originalEvent;this.sortable.nativeDraggable?on(document,"dragover",this._handleAutoScroll):this.options.supportPointer?on(document,"pointermove",this._handleFallbackAutoScroll):h.touches?on(document,"touchmove",this._handleFallbackAutoScroll):on(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var h=e.originalEvent;!this.options.dragOverBubble&&!h.rootEl&&this._handleAutoScroll(h)},drop:function(){this.sortable.nativeDraggable?off(document,"dragover",this._handleAutoScroll):(off(document,"pointermove",this._handleFallbackAutoScroll),off(document,"touchmove",this._handleFallbackAutoScroll),off(document,"mousemove",this._handleFallbackAutoScroll)),clearPointerElemChangedInterval(),clearAutoScrolls(),cancelThrottle()},nulling:function(){touchEvt$1=scrollRootEl=scrollEl=scrolling=pointerElemChangedInterval=lastAutoScrollX=lastAutoScrollY=null,autoScrolls.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,h){var g=this,m=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,f=document.elementFromPoint(m,a);if(touchEvt$1=e,h||this.options.forceAutoScrollFallback||Edge||IE11OrLess||Safari){autoScroll(e,this.options,f,h);var n=getParentAutoScrollElement(f,!0);scrolling&&(!pointerElemChangedInterval||m!==lastAutoScrollX||a!==lastAutoScrollY)&&(pointerElemChangedInterval&&clearPointerElemChangedInterval(),pointerElemChangedInterval=setInterval(function(){var c=getParentAutoScrollElement(document.elementFromPoint(m,a),!0);c!==n&&(n=c,clearAutoScrolls()),autoScroll(e,g.options,c,h)},10),lastAutoScrollX=m,lastAutoScrollY=a)}else{if(!this.options.bubbleScroll||getParentAutoScrollElement(f,!0)===getWindowScrollingElement()){clearAutoScrolls();return}autoScroll(e,this.options,getParentAutoScrollElement(f,!1),!1)}}},_extends(t,{pluginName:"scroll",initializeByDefault:!0})}function clearAutoScrolls(){autoScrolls.forEach(function(t){clearInterval(t.pid)}),autoScrolls=[]}function clearPointerElemChangedInterval(){clearInterval(pointerElemChangedInterval)}var autoScroll=throttle(function(t,u,e,h){if(u.scroll){var g=(t.touches?t.touches[0]:t).clientX,m=(t.touches?t.touches[0]:t).clientY,a=u.scrollSensitivity,f=u.scrollSpeed,n=getWindowScrollingElement(),c=!1,o;scrollRootEl!==e&&(scrollRootEl=e,clearAutoScrolls(),scrollEl=u.scroll,o=u.scrollFn,scrollEl===!0&&(scrollEl=getParentAutoScrollElement(e,!0)));var s=0,i=scrollEl;do{var r=i,l=getRect(r),d=l.top,p=l.bottom,v=l.left,b=l.right,w=l.width,y=l.height,_=void 0,$=void 0,S=r.scrollWidth,O=r.scrollHeight,k=css(r),T=r.scrollLeft,A=r.scrollTop;r===n?(_=w<S&&(k.overflowX==="auto"||k.overflowX==="scroll"||k.overflowX==="visible"),$=y<O&&(k.overflowY==="auto"||k.overflowY==="scroll"||k.overflowY==="visible")):(_=w<S&&(k.overflowX==="auto"||k.overflowX==="scroll"),$=y<O&&(k.overflowY==="auto"||k.overflowY==="scroll"));var M=_&&(Math.abs(b-g)<=a&&T+w<S)-(Math.abs(v-g)<=a&&!!T),E=$&&(Math.abs(p-m)<=a&&A+y<O)-(Math.abs(d-m)<=a&&!!A);if(!autoScrolls[s])for(var C=0;C<=s;C++)autoScrolls[C]||(autoScrolls[C]={});(autoScrolls[s].vx!=M||autoScrolls[s].vy!=E||autoScrolls[s].el!==r)&&(autoScrolls[s].el=r,autoScrolls[s].vx=M,autoScrolls[s].vy=E,clearInterval(autoScrolls[s].pid),(M!=0||E!=0)&&(c=!0,autoScrolls[s].pid=setInterval((function(){h&&this.layer===0&&Sortable.active._onTouchMove(touchEvt$1);var x=autoScrolls[this.layer].vy?autoScrolls[this.layer].vy*f:0,L=autoScrolls[this.layer].vx?autoScrolls[this.layer].vx*f:0;typeof o=="function"&&o.call(Sortable.dragged.parentNode[expando],L,x,t,touchEvt$1,autoScrolls[this.layer].el)!=="continue"||scrollBy(autoScrolls[this.layer].el,L,x)}).bind({layer:s}),24))),s++}while(u.bubbleScroll&&i!==n&&(i=getParentAutoScrollElement(i,!1)));scrolling=c}},30),drop=function t(u){var e=u.originalEvent,h=u.putSortable,g=u.dragEl,m=u.activeSortable,a=u.dispatchSortableEvent,f=u.hideGhostForTarget,n=u.unhideGhostForTarget;if(e){var c=h||m;f();var o=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,s=document.elementFromPoint(o.clientX,o.clientY);n(),c&&!c.el.contains(s)&&(a("spill"),this.onSpill({dragEl:g,putSortable:h}))}};function Revert(){}Revert.prototype={startIndex:null,dragStart:function t(u){var e=u.oldDraggableIndex;this.startIndex=e},onSpill:function t(u){var e=u.dragEl,h=u.putSortable;this.sortable.captureAnimationState(),h&&h.captureAnimationState();var g=getChild(this.sortable.el,this.startIndex,this.options);g?this.sortable.el.insertBefore(e,g):this.sortable.el.appendChild(e),this.sortable.animateAll(),h&&h.animateAll()},drop},_extends(Revert,{pluginName:"revertOnSpill"});function Remove(){}Remove.prototype={onSpill:function t(u){var e=u.dragEl,h=u.putSortable,g=h||this.sortable;g.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),g.animateAll()},drop},_extends(Remove,{pluginName:"removeOnSpill"}),Sortable.mount(new AutoScrollPlugin),Sortable.mount(Remove,Revert),(function(t,u){(function(h,g){t.exports=g(require$$0,Sortable)})(typeof self<"u"?self:commonjsGlobal,function(e,h){return(function(g){var m={};function a(f){if(m[f])return m[f].exports;var n=m[f]={i:f,l:!1,exports:{}};return g[f].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=g,a.c=m,a.d=function(f,n,c){a.o(f,n)||Object.defineProperty(f,n,{enumerable:!0,get:c})},a.r=function(f){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},a.t=function(f,n){if(n&1&&(f=a(f)),n&8||n&4&&typeof f=="object"&&f&&f.__esModule)return f;var c=Object.create(null);if(a.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:f}),n&2&&typeof f!="string")for(var o in f)a.d(c,o,(function(s){return f[s]}).bind(null,o));return c},a.n=function(f){var n=f&&f.__esModule?function(){return f.default}:function(){return f};return a.d(n,"a",n),n},a.o=function(f,n){return Object.prototype.hasOwnProperty.call(f,n)},a.p="",a(a.s="fb15")})({"00ee":(function(g,m,a){var f=a("b622"),n=f("toStringTag"),c={};c[n]="z",g.exports=String(c)==="[object z]"}),"0366":(function(g,m,a){var f=a("1c0b");g.exports=function(n,c,o){if(f(n),c===void 0)return n;switch(o){case 0:return function(){return n.call(c)};case 1:return function(s){return n.call(c,s)};case 2:return function(s,i){return n.call(c,s,i)};case 3:return function(s,i,r){return n.call(c,s,i,r)}}return function(){return n.apply(c,arguments)}}}),"057f":(function(g,m,a){var f=a("fc6a"),n=a("241c").f,c={}.toString,o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(i){try{return n(i)}catch{return o.slice()}};g.exports.f=function(r){return o&&c.call(r)=="[object Window]"?s(r):n(f(r))}}),"06cf":(function(g,m,a){var f=a("83ab"),n=a("d1e7"),c=a("5c6c"),o=a("fc6a"),s=a("c04e"),i=a("5135"),r=a("0cfb"),l=Object.getOwnPropertyDescriptor;m.f=f?l:function(p,v){if(p=o(p),v=s(v,!0),r)try{return l(p,v)}catch{}if(i(p,v))return c(!n.f.call(p,v),p[v])}}),"0cfb":(function(g,m,a){var f=a("83ab"),n=a("d039"),c=a("cc12");g.exports=!f&&!n(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})}),"13d5":(function(g,m,a){var f=a("23e7"),n=a("d58f").left,c=a("a640"),o=a("ae40"),s=c("reduce"),i=o("reduce",{1:0});f({target:"Array",proto:!0,forced:!s||!i},{reduce:function(l){return n(this,l,arguments.length,arguments.length>1?arguments[1]:void 0)}})}),"14c3":(function(g,m,a){var f=a("c6b6"),n=a("9263");g.exports=function(c,o){var s=c.exec;if(typeof s=="function"){var i=s.call(c,o);if(typeof i!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return i}if(f(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return n.call(c,o)}}),"159b":(function(g,m,a){var f=a("da84"),n=a("fdbc"),c=a("17c2"),o=a("9112");for(var s in n){var i=f[s],r=i&&i.prototype;if(r&&r.forEach!==c)try{o(r,"forEach",c)}catch{r.forEach=c}}}),"17c2":(function(g,m,a){var f=a("b727").forEach,n=a("a640"),c=a("ae40"),o=n("forEach"),s=c("forEach");g.exports=!o||!s?function(r){return f(this,r,arguments.length>1?arguments[1]:void 0)}:[].forEach}),"1be4":(function(g,m,a){var f=a("d066");g.exports=f("document","documentElement")}),"1c0b":(function(g,m){g.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}}),"1c7e":(function(g,m,a){var f=a("b622"),n=f("iterator"),c=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){c=!0}};s[n]=function(){return this},Array.from(s,function(){throw 2})}catch{}g.exports=function(i,r){if(!r&&!c)return!1;var l=!1;try{var d={};d[n]=function(){return{next:function(){return{done:l=!0}}}},i(d)}catch{}return l}}),"1d80":(function(g,m){g.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}}),"1dde":(function(g,m,a){var f=a("d039"),n=a("b622"),c=a("2d00"),o=n("species");g.exports=function(s){return c>=51||!f(function(){var i=[],r=i.constructor={};return r[o]=function(){return{foo:1}},i[s](Boolean).foo!==1})}}),"23cb":(function(g,m,a){var f=a("a691"),n=Math.max,c=Math.min;g.exports=function(o,s){var i=f(o);return i<0?n(i+s,0):c(i,s)}}),"23e7":(function(g,m,a){var f=a("da84"),n=a("06cf").f,c=a("9112"),o=a("6eeb"),s=a("ce4e"),i=a("e893"),r=a("94ca");g.exports=function(l,d){var p=l.target,v=l.global,b=l.stat,w,y,_,$,S,O;if(v?y=f:b?y=f[p]||s(p,{}):y=(f[p]||{}).prototype,y)for(_ in d){if(S=d[_],l.noTargetGet?(O=n(y,_),$=O&&O.value):$=y[_],w=r(v?_:p+(b?".":"#")+_,l.forced),!w&&$!==void 0){if(typeof S==typeof $)continue;i(S,$)}(l.sham||$&&$.sham)&&c(S,"sham",!0),o(y,_,S,l)}}}),"241c":(function(g,m,a){var f=a("ca84"),n=a("7839"),c=n.concat("length","prototype");m.f=Object.getOwnPropertyNames||function(s){return f(s,c)}}),"25f0":(function(g,m,a){var f=a("6eeb"),n=a("825a"),c=a("d039"),o=a("ad6d"),s="toString",i=RegExp.prototype,r=i[s],l=c(function(){return r.call({source:"a",flags:"b"})!="/a/b"}),d=r.name!=s;(l||d)&&f(RegExp.prototype,s,function(){var v=n(this),b=String(v.source),w=v.flags,y=String(w===void 0&&v instanceof RegExp&&!("flags"in i)?o.call(v):w);return"/"+b+"/"+y},{unsafe:!0})}),"2ca0":(function(g,m,a){var f=a("23e7"),n=a("06cf").f,c=a("50c4"),o=a("5a34"),s=a("1d80"),i=a("ab13"),r=a("c430"),l="".startsWith,d=Math.min,p=i("startsWith"),v=!r&&!p&&!!(function(){var b=n(String.prototype,"startsWith");return b&&!b.writable})();f({target:"String",proto:!0,forced:!v&&!p},{startsWith:function(w){var y=String(s(this));o(w);var _=c(d(arguments.length>1?arguments[1]:void 0,y.length)),$=String(w);return l?l.call(y,$,_):y.slice(_,_+$.length)===$}})}),"2d00":(function(g,m,a){var f=a("da84"),n=a("342f"),c=f.process,o=c&&c.versions,s=o&&o.v8,i,r;s?(i=s.split("."),r=i[0]+i[1]):n&&(i=n.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=n.match(/Chrome\/(\d+)/),i&&(r=i[1]))),g.exports=r&&+r}),"342f":(function(g,m,a){var f=a("d066");g.exports=f("navigator","userAgent")||""}),"35a1":(function(g,m,a){var f=a("f5df"),n=a("3f8c"),c=a("b622"),o=c("iterator");g.exports=function(s){if(s!=null)return s[o]||s["@@iterator"]||n[f(s)]}}),"37e8":(function(g,m,a){var f=a("83ab"),n=a("9bf2"),c=a("825a"),o=a("df75");g.exports=f?Object.defineProperties:function(i,r){c(i);for(var l=o(r),d=l.length,p=0,v;d>p;)n.f(i,v=l[p++],r[v]);return i}}),"3bbe":(function(g,m,a){var f=a("861d");g.exports=function(n){if(!f(n)&&n!==null)throw TypeError("Can't set "+String(n)+" as a prototype");return n}}),"3ca3":(function(g,m,a){var f=a("6547").charAt,n=a("69f3"),c=a("7dd0"),o="String Iterator",s=n.set,i=n.getterFor(o);c(String,"String",function(r){s(this,{type:o,string:String(r),index:0})},function(){var l=i(this),d=l.string,p=l.index,v;return p>=d.length?{value:void 0,done:!0}:(v=f(d,p),l.index+=v.length,{value:v,done:!1})})}),"3f8c":(function(g,m){g.exports={}}),4160:(function(g,m,a){var f=a("23e7"),n=a("17c2");f({target:"Array",proto:!0,forced:[].forEach!=n},{forEach:n})}),"428f":(function(g,m,a){var f=a("da84");g.exports=f}),"44ad":(function(g,m,a){var f=a("d039"),n=a("c6b6"),c="".split;g.exports=f(function(){return!Object("z").propertyIsEnumerable(0)})?function(o){return n(o)=="String"?c.call(o,""):Object(o)}:Object}),"44d2":(function(g,m,a){var f=a("b622"),n=a("7c73"),c=a("9bf2"),o=f("unscopables"),s=Array.prototype;s[o]==null&&c.f(s,o,{configurable:!0,value:n(null)}),g.exports=function(i){s[o][i]=!0}}),"44e7":(function(g,m,a){var f=a("861d"),n=a("c6b6"),c=a("b622"),o=c("match");g.exports=function(s){var i;return f(s)&&((i=s[o])!==void 0?!!i:n(s)=="RegExp")}}),4930:(function(g,m,a){var f=a("d039");g.exports=!!Object.getOwnPropertySymbols&&!f(function(){return!String(Symbol())})}),"4d64":(function(g,m,a){var f=a("fc6a"),n=a("50c4"),c=a("23cb"),o=function(s){return function(i,r,l){var d=f(i),p=n(d.length),v=c(l,p),b;if(s&&r!=r){for(;p>v;)if(b=d[v++],b!=b)return!0}else for(;p>v;v++)if((s||v in d)&&d[v]===r)return s||v||0;return!s&&-1}};g.exports={includes:o(!0),indexOf:o(!1)}}),"4de4":(function(g,m,a){var f=a("23e7"),n=a("b727").filter,c=a("1dde"),o=a("ae40"),s=c("filter"),i=o("filter");f({target:"Array",proto:!0,forced:!s||!i},{filter:function(l){return n(this,l,arguments.length>1?arguments[1]:void 0)}})}),"4df4":(function(g,m,a){var f=a("0366"),n=a("7b0b"),c=a("9bdd"),o=a("e95a"),s=a("50c4"),i=a("8418"),r=a("35a1");g.exports=function(d){var p=n(d),v=typeof this=="function"?this:Array,b=arguments.length,w=b>1?arguments[1]:void 0,y=w!==void 0,_=r(p),$=0,S,O,k,T,A,M;if(y&&(w=f(w,b>2?arguments[2]:void 0,2)),_!=null&&!(v==Array&&o(_)))for(T=_.call(p),A=T.next,O=new v;!(k=A.call(T)).done;$++)M=y?c(T,w,[k.value,$],!0):k.value,i(O,$,M);else for(S=s(p.length),O=new v(S);S>$;$++)M=y?w(p[$],$):p[$],i(O,$,M);return O.length=$,O}}),"4fad":(function(g,m,a){var f=a("23e7"),n=a("6f53").entries;f({target:"Object",stat:!0},{entries:function(o){return n(o)}})}),"50c4":(function(g,m,a){var f=a("a691"),n=Math.min;g.exports=function(c){return c>0?n(f(c),9007199254740991):0}}),5135:(function(g,m){var a={}.hasOwnProperty;g.exports=function(f,n){return a.call(f,n)}}),5319:(function(g,m,a){var f=a("d784"),n=a("825a"),c=a("7b0b"),o=a("50c4"),s=a("a691"),i=a("1d80"),r=a("8aa5"),l=a("14c3"),d=Math.max,p=Math.min,v=Math.floor,b=/\$([$&'`]|\d\d?|<[^>]*>)/g,w=/\$([$&'`]|\d\d?)/g,y=function(_){return _===void 0?_:String(_)};f("replace",2,function(_,$,S,O){var k=O.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,T=O.REPLACE_KEEPS_$0,A=k?"$":"$0";return[function(C,x){var L=i(this),q=C?.[_];return q!==void 0?q.call(C,L,x):$.call(String(L),C,x)},function(E,C){if(!k&&T||typeof C=="string"&&C.indexOf(A)===-1){var x=S($,E,this,C);if(x.done)return x.value}var L=n(E),q=String(this),I=typeof C=="function";I||(C=String(C));var F=L.global;if(F){var R=L.unicode;L.lastIndex=0}for(var N=[];;){var B=l(L,q);if(B===null||(N.push(B),!F))break;var D=String(B[0]);D===""&&(L.lastIndex=r(q,o(L.lastIndex),R))}for(var P="",j=0,V=0;V<N.length;V++){B=N[V];for(var W=String(B[0]),H=d(p(s(B.index),q.length),0),z=[],U=1;U<B.length;U++)z.push(y(B[U]));var X=B.groups;if(I){var te=[W].concat(z,H,q);X!==void 0&&te.push(X);var ie=String(C.apply(void 0,te))}else ie=M(W,q,H,z,X,C);H>=j&&(P+=q.slice(j,H)+ie,j=H+W.length)}return P+q.slice(j)}];function M(E,C,x,L,q,I){var F=x+E.length,R=L.length,N=w;return q!==void 0&&(q=c(q),N=b),$.call(I,N,function(B,D){var P;switch(D.charAt(0)){case"$":return"$";case"&":return E;case"`":return C.slice(0,x);case"'":return C.slice(F);case"<":P=q[D.slice(1,-1)];break;default:var j=+D;if(j===0)return B;if(j>R){var V=v(j/10);return V===0?B:V<=R?L[V-1]===void 0?D.charAt(1):L[V-1]+D.charAt(1):B}P=L[j-1]}return P===void 0?"":P})}})}),5692:(function(g,m,a){var f=a("c430"),n=a("c6cd");(g.exports=function(c,o){return n[c]||(n[c]=o!==void 0?o:{})})("versions",[]).push({version:"3.6.5",mode:f?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),"56ef":(function(g,m,a){var f=a("d066"),n=a("241c"),c=a("7418"),o=a("825a");g.exports=f("Reflect","ownKeys")||function(i){var r=n.f(o(i)),l=c.f;return l?r.concat(l(i)):r}}),"5a34":(function(g,m,a){var f=a("44e7");g.exports=function(n){if(f(n))throw TypeError("The method doesn't accept regular expressions");return n}}),"5c6c":(function(g,m){g.exports=function(a,f){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:f}}}),"5db7":(function(g,m,a){var f=a("23e7"),n=a("a2bf"),c=a("7b0b"),o=a("50c4"),s=a("1c0b"),i=a("65f0");f({target:"Array",proto:!0},{flatMap:function(l){var d=c(this),p=o(d.length),v;return s(l),v=i(d,0),v.length=n(v,d,d,p,0,1,l,arguments.length>1?arguments[1]:void 0),v}})}),6547:(function(g,m,a){var f=a("a691"),n=a("1d80"),c=function(o){return function(s,i){var r=String(n(s)),l=f(i),d=r.length,p,v;return l<0||l>=d?o?"":void 0:(p=r.charCodeAt(l),p<55296||p>56319||l+1===d||(v=r.charCodeAt(l+1))<56320||v>57343?o?r.charAt(l):p:o?r.slice(l,l+2):(p-55296<<10)+(v-56320)+65536)}};g.exports={codeAt:c(!1),charAt:c(!0)}}),"65f0":(function(g,m,a){var f=a("861d"),n=a("e8b5"),c=a("b622"),o=c("species");g.exports=function(s,i){var r;return n(s)&&(r=s.constructor,typeof r=="function"&&(r===Array||n(r.prototype))?r=void 0:f(r)&&(r=r[o],r===null&&(r=void 0))),new(r===void 0?Array:r)(i===0?0:i)}}),"69f3":(function(g,m,a){var f=a("7f9a"),n=a("da84"),c=a("861d"),o=a("9112"),s=a("5135"),i=a("f772"),r=a("d012"),l=n.WeakMap,d,p,v,b=function(k){return v(k)?p(k):d(k,{})},w=function(k){return function(T){var A;if(!c(T)||(A=p(T)).type!==k)throw TypeError("Incompatible receiver, "+k+" required");return A}};if(f){var y=new l,_=y.get,$=y.has,S=y.set;d=function(k,T){return S.call(y,k,T),T},p=function(k){return _.call(y,k)||{}},v=function(k){return $.call(y,k)}}else{var O=i("state");r[O]=!0,d=function(k,T){return o(k,O,T),T},p=function(k){return s(k,O)?k[O]:{}},v=function(k){return s(k,O)}}g.exports={set:d,get:p,has:v,enforce:b,getterFor:w}}),"6eeb":(function(g,m,a){var f=a("da84"),n=a("9112"),c=a("5135"),o=a("ce4e"),s=a("8925"),i=a("69f3"),r=i.get,l=i.enforce,d=String(String).split("String");(g.exports=function(p,v,b,w){var y=w?!!w.unsafe:!1,_=w?!!w.enumerable:!1,$=w?!!w.noTargetGet:!1;if(typeof b=="function"&&(typeof v=="string"&&!c(b,"name")&&n(b,"name",v),l(b).source=d.join(typeof v=="string"?v:"")),p===f){_?p[v]=b:o(v,b);return}else y?!$&&p[v]&&(_=!0):delete p[v];_?p[v]=b:n(p,v,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&r(this).source||s(this)})}),"6f53":(function(g,m,a){var f=a("83ab"),n=a("df75"),c=a("fc6a"),o=a("d1e7").f,s=function(i){return function(r){for(var l=c(r),d=n(l),p=d.length,v=0,b=[],w;p>v;)w=d[v++],(!f||o.call(l,w))&&b.push(i?[w,l[w]]:l[w]);return b}};g.exports={entries:s(!0),values:s(!1)}}),"73d9":(function(g,m,a){var f=a("44d2");f("flatMap")}),7418:(function(g,m){m.f=Object.getOwnPropertySymbols}),"746f":(function(g,m,a){var f=a("428f"),n=a("5135"),c=a("e538"),o=a("9bf2").f;g.exports=function(s){var i=f.Symbol||(f.Symbol={});n(i,s)||o(i,s,{value:c.f(s)})}}),7839:(function(g,m){g.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),"7b0b":(function(g,m,a){var f=a("1d80");g.exports=function(n){return Object(f(n))}}),"7c73":(function(g,m,a){var f=a("825a"),n=a("37e8"),c=a("7839"),o=a("d012"),s=a("1be4"),i=a("cc12"),r=a("f772"),l=">",d="<",p="prototype",v="script",b=r("IE_PROTO"),w=function(){},y=function(k){return d+v+l+k+d+"/"+v+l},_=function(k){k.write(y("")),k.close();var T=k.parentWindow.Object;return k=null,T},$=function(){var k=i("iframe"),T="java"+v+":",A;return k.style.display="none",s.appendChild(k),k.src=String(T),A=k.contentWindow.document,A.open(),A.write(y("document.F=Object")),A.close(),A.F},S,O=function(){try{S=document.domain&&new ActiveXObject("htmlfile")}catch{}O=S?_(S):$();for(var k=c.length;k--;)delete O[p][c[k]];return O()};o[b]=!0,g.exports=Object.create||function(T,A){var M;return T!==null?(w[p]=f(T),M=new w,w[p]=null,M[b]=T):M=O(),A===void 0?M:n(M,A)}}),"7dd0":(function(g,m,a){var f=a("23e7"),n=a("9ed3"),c=a("e163"),o=a("d2bb"),s=a("d44e"),i=a("9112"),r=a("6eeb"),l=a("b622"),d=a("c430"),p=a("3f8c"),v=a("ae93"),b=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,y=l("iterator"),_="keys",$="values",S="entries",O=function(){return this};g.exports=function(k,T,A,M,E,C,x){n(A,T,M);var L=function(V){if(V===E&&N)return N;if(!w&&V in F)return F[V];switch(V){case _:return function(){return new A(this,V)};case $:return function(){return new A(this,V)};case S:return function(){return new A(this,V)}}return function(){return new A(this)}},q=T+" Iterator",I=!1,F=k.prototype,R=F[y]||F["@@iterator"]||E&&F[E],N=!w&&R||L(E),B=T=="Array"&&F.entries||R,D,P,j;if(B&&(D=c(B.call(new k)),b!==Object.prototype&&D.next&&(!d&&c(D)!==b&&(o?o(D,b):typeof D[y]!="function"&&i(D,y,O)),s(D,q,!0,!0),d&&(p[q]=O))),E==$&&R&&R.name!==$&&(I=!0,N=function(){return R.call(this)}),(!d||x)&&F[y]!==N&&i(F,y,N),p[T]=N,E)if(P={values:L($),keys:C?N:L(_),entries:L(S)},x)for(j in P)(w||I||!(j in F))&&r(F,j,P[j]);else f({target:T,proto:!0,forced:w||I},P);return P}}),"7f9a":(function(g,m,a){var f=a("da84"),n=a("8925"),c=f.WeakMap;g.exports=typeof c=="function"&&/native code/.test(n(c))}),"825a":(function(g,m,a){var f=a("861d");g.exports=function(n){if(!f(n))throw TypeError(String(n)+" is not an object");return n}}),"83ab":(function(g,m,a){var f=a("d039");g.exports=!f(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),8418:(function(g,m,a){var f=a("c04e"),n=a("9bf2"),c=a("5c6c");g.exports=function(o,s,i){var r=f(s);r in o?n.f(o,r,c(0,i)):o[r]=i}}),"861d":(function(g,m){g.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}}),8875:(function(g,m,a){var f,n,c;(function(o,s){n=[],f=s,c=typeof f=="function"?f.apply(m,n):f,c!==void 0&&(g.exports=c)})(typeof self<"u"?self:this,function(){function o(){var s=Object.getOwnPropertyDescriptor(document,"currentScript");if(!s&&"currentScript"in document&&document.currentScript||s&&s.get!==o&&document.currentScript)return document.currentScript;try{throw new Error}catch(S){var i=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,r=/@([^@]*):(\d+):(\d+)\s*$/ig,l=i.exec(S.stack)||r.exec(S.stack),d=l&&l[1]||!1,p=l&&l[2]||!1,v=document.location.href.replace(document.location.hash,""),b,w,y,_=document.getElementsByTagName("script");d===v&&(b=document.documentElement.outerHTML,w=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),y=b.replace(w,"$1").trim());for(var $=0;$<_.length;$++)if(_[$].readyState==="interactive"||_[$].src===d||d===v&&_[$].innerHTML&&_[$].innerHTML.trim()===y)return _[$];return null}}return o})}),8925:(function(g,m,a){var f=a("c6cd"),n=Function.toString;typeof f.inspectSource!="function"&&(f.inspectSource=function(c){return n.call(c)}),g.exports=f.inspectSource}),"8aa5":(function(g,m,a){var f=a("6547").charAt;g.exports=function(n,c,o){return c+(o?f(n,c).length:1)}}),"8bbf":(function(g,m){g.exports=e}),"90e3":(function(g,m){var a=0,f=Math.random();g.exports=function(n){return"Symbol("+String(n===void 0?"":n)+")_"+(++a+f).toString(36)}}),9112:(function(g,m,a){var f=a("83ab"),n=a("9bf2"),c=a("5c6c");g.exports=f?function(o,s,i){return n.f(o,s,c(1,i))}:function(o,s,i){return o[s]=i,o}}),9263:(function(g,m,a){var f=a("ad6d"),n=a("9f7f"),c=RegExp.prototype.exec,o=String.prototype.replace,s=c,i=(function(){var p=/a/,v=/b*/g;return c.call(p,"a"),c.call(v,"a"),p.lastIndex!==0||v.lastIndex!==0})(),r=n.UNSUPPORTED_Y||n.BROKEN_CARET,l=/()??/.exec("")[1]!==void 0,d=i||l||r;d&&(s=function(v){var b=this,w,y,_,$,S=r&&b.sticky,O=f.call(b),k=b.source,T=0,A=v;return S&&(O=O.replace("y",""),O.indexOf("g")===-1&&(O+="g"),A=String(v).slice(b.lastIndex),b.lastIndex>0&&(!b.multiline||b.multiline&&v[b.lastIndex-1]!==`
|
|
1634
1634
|
`)&&(k="(?: "+k+")",A=" "+A,T++),y=new RegExp("^(?:"+k+")",O)),l&&(y=new RegExp("^"+k+"$(?!\\s)",O)),i&&(w=b.lastIndex),_=c.call(S?y:b,A),S?_?(_.input=_.input.slice(T),_[0]=_[0].slice(T),_.index=b.lastIndex,b.lastIndex+=_[0].length):b.lastIndex=0:i&&_&&(b.lastIndex=b.global?_.index+_[0].length:w),l&&_&&_.length>1&&o.call(_[0],y,function(){for($=1;$<arguments.length-2;$++)arguments[$]===void 0&&(_[$]=void 0)}),_}),g.exports=s}),"94ca":(function(g,m,a){var f=a("d039"),n=/#|\.prototype\./,c=function(l,d){var p=s[o(l)];return p==r?!0:p==i?!1:typeof d=="function"?f(d):!!d},o=c.normalize=function(l){return String(l).replace(n,".").toLowerCase()},s=c.data={},i=c.NATIVE="N",r=c.POLYFILL="P";g.exports=c}),"99af":(function(g,m,a){var f=a("23e7"),n=a("d039"),c=a("e8b5"),o=a("861d"),s=a("7b0b"),i=a("50c4"),r=a("8418"),l=a("65f0"),d=a("1dde"),p=a("b622"),v=a("2d00"),b=p("isConcatSpreadable"),w=9007199254740991,y="Maximum allowed index exceeded",_=v>=51||!n(function(){var k=[];return k[b]=!1,k.concat()[0]!==k}),$=d("concat"),S=function(k){if(!o(k))return!1;var T=k[b];return T!==void 0?!!T:c(k)},O=!_||!$;f({target:"Array",proto:!0,forced:O},{concat:function(T){var A=s(this),M=l(A,0),E=0,C,x,L,q,I;for(C=-1,L=arguments.length;C<L;C++)if(I=C===-1?A:arguments[C],S(I)){if(q=i(I.length),E+q>w)throw TypeError(y);for(x=0;x<q;x++,E++)x in I&&r(M,E,I[x])}else{if(E>=w)throw TypeError(y);r(M,E++,I)}return M.length=E,M}})}),"9bdd":(function(g,m,a){var f=a("825a");g.exports=function(n,c,o,s){try{return s?c(f(o)[0],o[1]):c(o)}catch(r){var i=n.return;throw i!==void 0&&f(i.call(n)),r}}}),"9bf2":(function(g,m,a){var f=a("83ab"),n=a("0cfb"),c=a("825a"),o=a("c04e"),s=Object.defineProperty;m.f=f?s:function(r,l,d){if(c(r),l=o(l,!0),c(d),n)try{return s(r,l,d)}catch{}if("get"in d||"set"in d)throw TypeError("Accessors not supported");return"value"in d&&(r[l]=d.value),r}}),"9ed3":(function(g,m,a){var f=a("ae93").IteratorPrototype,n=a("7c73"),c=a("5c6c"),o=a("d44e"),s=a("3f8c"),i=function(){return this};g.exports=function(r,l,d){var p=l+" Iterator";return r.prototype=n(f,{next:c(1,d)}),o(r,p,!1,!0),s[p]=i,r}}),"9f7f":(function(g,m,a){var f=a("d039");function n(c,o){return RegExp(c,o)}m.UNSUPPORTED_Y=f(function(){var c=n("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),m.BROKEN_CARET=f(function(){var c=n("^r","gy");return c.lastIndex=2,c.exec("str")!=null})}),a2bf:(function(g,m,a){var f=a("e8b5"),n=a("50c4"),c=a("0366"),o=function(s,i,r,l,d,p,v,b){for(var w=d,y=0,_=v?c(v,b,3):!1,$;y<l;){if(y in r){if($=_?_(r[y],y,i):r[y],p>0&&f($))w=o(s,i,$,n($.length),w,p-1)-1;else{if(w>=9007199254740991)throw TypeError("Exceed the acceptable array length");s[w]=$}w++}y++}return w};g.exports=o}),a352:(function(g,m){g.exports=h}),a434:(function(g,m,a){var f=a("23e7"),n=a("23cb"),c=a("a691"),o=a("50c4"),s=a("7b0b"),i=a("65f0"),r=a("8418"),l=a("1dde"),d=a("ae40"),p=l("splice"),v=d("splice",{ACCESSORS:!0,0:0,1:2}),b=Math.max,w=Math.min,y=9007199254740991,_="Maximum allowed length exceeded";f({target:"Array",proto:!0,forced:!p||!v},{splice:function(S,O){var k=s(this),T=o(k.length),A=n(S,T),M=arguments.length,E,C,x,L,q,I;if(M===0?E=C=0:M===1?(E=0,C=T-A):(E=M-2,C=w(b(c(O),0),T-A)),T+E-C>y)throw TypeError(_);for(x=i(k,C),L=0;L<C;L++)q=A+L,q in k&&r(x,L,k[q]);if(x.length=C,E<C){for(L=A;L<T-C;L++)q=L+C,I=L+E,q in k?k[I]=k[q]:delete k[I];for(L=T;L>T-C+E;L--)delete k[L-1]}else if(E>C)for(L=T-C;L>A;L--)q=L+C-1,I=L+E-1,q in k?k[I]=k[q]:delete k[I];for(L=0;L<E;L++)k[L+A]=arguments[L+2];return k.length=T-C+E,x}})}),a4d3:(function(g,m,a){var f=a("23e7"),n=a("da84"),c=a("d066"),o=a("c430"),s=a("83ab"),i=a("4930"),r=a("fdbf"),l=a("d039"),d=a("5135"),p=a("e8b5"),v=a("861d"),b=a("825a"),w=a("7b0b"),y=a("fc6a"),_=a("c04e"),$=a("5c6c"),S=a("7c73"),O=a("df75"),k=a("241c"),T=a("057f"),A=a("7418"),M=a("06cf"),E=a("9bf2"),C=a("d1e7"),x=a("9112"),L=a("6eeb"),q=a("5692"),I=a("f772"),F=a("d012"),R=a("90e3"),N=a("b622"),B=a("e538"),D=a("746f"),P=a("d44e"),j=a("69f3"),V=a("b727").forEach,W=I("hidden"),H="Symbol",z="prototype",U=N("toPrimitive"),X=j.set,te=j.getterFor(H),ie=Object[z],oe=n.Symbol,se=c("JSON","stringify"),me=M.f,be=E.f,J=T.f,Z=C.f,ne=q("symbols"),re=q("op-symbols"),Q=q("string-to-symbol-registry"),fe=q("symbol-to-string-registry"),he=q("wks"),pe=n.QObject,Ce=!pe||!pe[z]||!pe[z].findChild,xe=s&&l(function(){return S(be({},"a",{get:function(){return be(this,"a",{value:7}).a}})).a!=7})?function(ce,ae,ue){var ve=me(ie,ae);ve&&delete ie[ae],be(ce,ae,ue),ve&&ce!==ie&&be(ie,ae,ve)}:be,_e=function(ce,ae){var ue=ne[ce]=S(oe[z]);return X(ue,{type:H,tag:ce,description:ae}),s||(ue.description=ae),ue},K=r?function(ce){return typeof ce=="symbol"}:function(ce){return Object(ce)instanceof oe},G=function(ae,ue,ve){ae===ie&&G(re,ue,ve),b(ae);var $e=_(ue,!0);return b(ve),d(ne,$e)?(ve.enumerable?(d(ae,W)&&ae[W][$e]&&(ae[W][$e]=!1),ve=S(ve,{enumerable:$(0,!1)})):(d(ae,W)||be(ae,W,$(1,{})),ae[W][$e]=!0),xe(ae,$e,ve)):be(ae,$e,ve)},Y=function(ae,ue){b(ae);var ve=y(ue),$e=O(ve).concat(ye(ve));return V($e,function(Se){(!s||le.call(ve,Se))&&G(ae,Se,ve[Se])}),ae},ee=function(ae,ue){return ue===void 0?S(ae):Y(S(ae),ue)},le=function(ae){var ue=_(ae,!0),ve=Z.call(this,ue);return this===ie&&d(ne,ue)&&!d(re,ue)?!1:ve||!d(this,ue)||!d(ne,ue)||d(this,W)&&this[W][ue]?ve:!0},de=function(ae,ue){var ve=y(ae),$e=_(ue,!0);if(!(ve===ie&&d(ne,$e)&&!d(re,$e))){var Se=me(ve,$e);return Se&&d(ne,$e)&&!(d(ve,W)&&ve[W][$e])&&(Se.enumerable=!0),Se}},ge=function(ae){var ue=J(y(ae)),ve=[];return V(ue,function($e){!d(ne,$e)&&!d(F,$e)&&ve.push($e)}),ve},ye=function(ae){var ue=ae===ie,ve=J(ue?re:y(ae)),$e=[];return V(ve,function(Se){d(ne,Se)&&(!ue||d(ie,Se))&&$e.push(ne[Se])}),$e};if(i||(oe=function(){if(this instanceof oe)throw TypeError("Symbol is not a constructor");var ae=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),ue=R(ae),ve=function($e){this===ie&&ve.call(re,$e),d(this,W)&&d(this[W],ue)&&(this[W][ue]=!1),xe(this,ue,$(1,$e))};return s&&Ce&&xe(ie,ue,{configurable:!0,set:ve}),_e(ue,ae)},L(oe[z],"toString",function(){return te(this).tag}),L(oe,"withoutSetter",function(ce){return _e(R(ce),ce)}),C.f=le,E.f=G,M.f=de,k.f=T.f=ge,A.f=ye,B.f=function(ce){return _e(N(ce),ce)},s&&(be(oe[z],"description",{configurable:!0,get:function(){return te(this).description}}),o||L(ie,"propertyIsEnumerable",le,{unsafe:!0}))),f({global:!0,wrap:!0,forced:!i,sham:!i},{Symbol:oe}),V(O(he),function(ce){D(ce)}),f({target:H,stat:!0,forced:!i},{for:function(ce){var ae=String(ce);if(d(Q,ae))return Q[ae];var ue=oe(ae);return Q[ae]=ue,fe[ue]=ae,ue},keyFor:function(ae){if(!K(ae))throw TypeError(ae+" is not a symbol");if(d(fe,ae))return fe[ae]},useSetter:function(){Ce=!0},useSimple:function(){Ce=!1}}),f({target:"Object",stat:!0,forced:!i,sham:!s},{create:ee,defineProperty:G,defineProperties:Y,getOwnPropertyDescriptor:de}),f({target:"Object",stat:!0,forced:!i},{getOwnPropertyNames:ge,getOwnPropertySymbols:ye}),f({target:"Object",stat:!0,forced:l(function(){A.f(1)})},{getOwnPropertySymbols:function(ae){return A.f(w(ae))}}),se){var we=!i||l(function(){var ce=oe();return se([ce])!="[null]"||se({a:ce})!="{}"||se(Object(ce))!="{}"});f({target:"JSON",stat:!0,forced:we},{stringify:function(ae,ue,ve){for(var $e=[ae],Se=1,ke;arguments.length>Se;)$e.push(arguments[Se++]);if(ke=ue,!(!v(ue)&&ae===void 0||K(ae)))return p(ue)||(ue=function(Te,Ee){if(typeof ke=="function"&&(Ee=ke.call(this,Te,Ee)),!K(Ee))return Ee}),$e[1]=ue,se.apply(null,$e)}})}oe[z][U]||x(oe[z],U,oe[z].valueOf),P(oe,H),F[W]=!0}),a630:(function(g,m,a){var f=a("23e7"),n=a("4df4"),c=a("1c7e"),o=!c(function(s){Array.from(s)});f({target:"Array",stat:!0,forced:o},{from:n})}),a640:(function(g,m,a){var f=a("d039");g.exports=function(n,c){var o=[][n];return!!o&&f(function(){o.call(null,c||function(){throw 1},1)})}}),a691:(function(g,m){var a=Math.ceil,f=Math.floor;g.exports=function(n){return isNaN(n=+n)?0:(n>0?f:a)(n)}}),ab13:(function(g,m,a){var f=a("b622"),n=f("match");g.exports=function(c){var o=/./;try{"/./"[c](o)}catch{try{return o[n]=!1,"/./"[c](o)}catch{}}return!1}}),ac1f:(function(g,m,a){var f=a("23e7"),n=a("9263");f({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})}),ad6d:(function(g,m,a){var f=a("825a");g.exports=function(){var n=f(this),c="";return n.global&&(c+="g"),n.ignoreCase&&(c+="i"),n.multiline&&(c+="m"),n.dotAll&&(c+="s"),n.unicode&&(c+="u"),n.sticky&&(c+="y"),c}}),ae40:(function(g,m,a){var f=a("83ab"),n=a("d039"),c=a("5135"),o=Object.defineProperty,s={},i=function(r){throw r};g.exports=function(r,l){if(c(s,r))return s[r];l||(l={});var d=[][r],p=c(l,"ACCESSORS")?l.ACCESSORS:!1,v=c(l,0)?l[0]:i,b=c(l,1)?l[1]:void 0;return s[r]=!!d&&!n(function(){if(p&&!f)return!0;var w={length:-1};p?o(w,1,{enumerable:!0,get:i}):w[1]=1,d.call(w,v,b)})}}),ae93:(function(g,m,a){var f=a("e163"),n=a("9112"),c=a("5135"),o=a("b622"),s=a("c430"),i=o("iterator"),r=!1,l=function(){return this},d,p,v;[].keys&&(v=[].keys(),"next"in v?(p=f(f(v)),p!==Object.prototype&&(d=p)):r=!0),d==null&&(d={}),!s&&!c(d,i)&&n(d,i,l),g.exports={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:r}}),b041:(function(g,m,a){var f=a("00ee"),n=a("f5df");g.exports=f?{}.toString:function(){return"[object "+n(this)+"]"}}),b0c0:(function(g,m,a){var f=a("83ab"),n=a("9bf2").f,c=Function.prototype,o=c.toString,s=/^\s*function ([^ (]*)/,i="name";f&&!(i in c)&&n(c,i,{configurable:!0,get:function(){try{return o.call(this).match(s)[1]}catch{return""}}})}),b622:(function(g,m,a){var f=a("da84"),n=a("5692"),c=a("5135"),o=a("90e3"),s=a("4930"),i=a("fdbf"),r=n("wks"),l=f.Symbol,d=i?l:l&&l.withoutSetter||o;g.exports=function(p){return c(r,p)||(s&&c(l,p)?r[p]=l[p]:r[p]=d("Symbol."+p)),r[p]}}),b64b:(function(g,m,a){var f=a("23e7"),n=a("7b0b"),c=a("df75"),o=a("d039"),s=o(function(){c(1)});f({target:"Object",stat:!0,forced:s},{keys:function(r){return c(n(r))}})}),b727:(function(g,m,a){var f=a("0366"),n=a("44ad"),c=a("7b0b"),o=a("50c4"),s=a("65f0"),i=[].push,r=function(l){var d=l==1,p=l==2,v=l==3,b=l==4,w=l==6,y=l==5||w;return function(_,$,S,O){for(var k=c(_),T=n(k),A=f($,S,3),M=o(T.length),E=0,C=O||s,x=d?C(_,M):p?C(_,0):void 0,L,q;M>E;E++)if((y||E in T)&&(L=T[E],q=A(L,E,k),l)){if(d)x[E]=q;else if(q)switch(l){case 3:return!0;case 5:return L;case 6:return E;case 2:i.call(x,L)}else if(b)return!1}return w?-1:v||b?b:x}};g.exports={forEach:r(0),map:r(1),filter:r(2),some:r(3),every:r(4),find:r(5),findIndex:r(6)}}),c04e:(function(g,m,a){var f=a("861d");g.exports=function(n,c){if(!f(n))return n;var o,s;if(c&&typeof(o=n.toString)=="function"&&!f(s=o.call(n))||typeof(o=n.valueOf)=="function"&&!f(s=o.call(n))||!c&&typeof(o=n.toString)=="function"&&!f(s=o.call(n)))return s;throw TypeError("Can't convert object to primitive value")}}),c430:(function(g,m){g.exports=!1}),c6b6:(function(g,m){var a={}.toString;g.exports=function(f){return a.call(f).slice(8,-1)}}),c6cd:(function(g,m,a){var f=a("da84"),n=a("ce4e"),c="__core-js_shared__",o=f[c]||n(c,{});g.exports=o}),c740:(function(g,m,a){var f=a("23e7"),n=a("b727").findIndex,c=a("44d2"),o=a("ae40"),s="findIndex",i=!0,r=o(s);s in[]&&Array(1)[s](function(){i=!1}),f({target:"Array",proto:!0,forced:i||!r},{findIndex:function(d){return n(this,d,arguments.length>1?arguments[1]:void 0)}}),c(s)}),c8ba:(function(g,m){var a;a=(function(){return this})();try{a=a||new Function("return this")()}catch{typeof window=="object"&&(a=window)}g.exports=a}),c975:(function(g,m,a){var f=a("23e7"),n=a("4d64").indexOf,c=a("a640"),o=a("ae40"),s=[].indexOf,i=!!s&&1/[1].indexOf(1,-0)<0,r=c("indexOf"),l=o("indexOf",{ACCESSORS:!0,1:0});f({target:"Array",proto:!0,forced:i||!r||!l},{indexOf:function(p){return i?s.apply(this,arguments)||0:n(this,p,arguments.length>1?arguments[1]:void 0)}})}),ca84:(function(g,m,a){var f=a("5135"),n=a("fc6a"),c=a("4d64").indexOf,o=a("d012");g.exports=function(s,i){var r=n(s),l=0,d=[],p;for(p in r)!f(o,p)&&f(r,p)&&d.push(p);for(;i.length>l;)f(r,p=i[l++])&&(~c(d,p)||d.push(p));return d}}),caad:(function(g,m,a){var f=a("23e7"),n=a("4d64").includes,c=a("44d2"),o=a("ae40"),s=o("indexOf",{ACCESSORS:!0,1:0});f({target:"Array",proto:!0,forced:!s},{includes:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}}),c("includes")}),cc12:(function(g,m,a){var f=a("da84"),n=a("861d"),c=f.document,o=n(c)&&n(c.createElement);g.exports=function(s){return o?c.createElement(s):{}}}),ce4e:(function(g,m,a){var f=a("da84"),n=a("9112");g.exports=function(c,o){try{n(f,c,o)}catch{f[c]=o}return o}}),d012:(function(g,m){g.exports={}}),d039:(function(g,m){g.exports=function(a){try{return!!a()}catch{return!0}}}),d066:(function(g,m,a){var f=a("428f"),n=a("da84"),c=function(o){return typeof o=="function"?o:void 0};g.exports=function(o,s){return arguments.length<2?c(f[o])||c(n[o]):f[o]&&f[o][s]||n[o]&&n[o][s]}}),d1e7:(function(g,m,a){var f={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,c=n&&!f.call({1:2},1);m.f=c?function(s){var i=n(this,s);return!!i&&i.enumerable}:f}),d28b:(function(g,m,a){var f=a("746f");f("iterator")}),d2bb:(function(g,m,a){var f=a("825a"),n=a("3bbe");g.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var c=!1,o={},s;try{s=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,s.call(o,[]),c=o instanceof Array}catch{}return function(r,l){return f(r),n(l),c?s.call(r,l):r.__proto__=l,r}})():void 0)}),d3b7:(function(g,m,a){var f=a("00ee"),n=a("6eeb"),c=a("b041");f||n(Object.prototype,"toString",c,{unsafe:!0})}),d44e:(function(g,m,a){var f=a("9bf2").f,n=a("5135"),c=a("b622"),o=c("toStringTag");g.exports=function(s,i,r){s&&!n(s=r?s:s.prototype,o)&&f(s,o,{configurable:!0,value:i})}}),d58f:(function(g,m,a){var f=a("1c0b"),n=a("7b0b"),c=a("44ad"),o=a("50c4"),s=function(i){return function(r,l,d,p){f(l);var v=n(r),b=c(v),w=o(v.length),y=i?w-1:0,_=i?-1:1;if(d<2)for(;;){if(y in b){p=b[y],y+=_;break}if(y+=_,i?y<0:w<=y)throw TypeError("Reduce of empty array with no initial value")}for(;i?y>=0:w>y;y+=_)y in b&&(p=l(p,b[y],y,v));return p}};g.exports={left:s(!1),right:s(!0)}}),d784:(function(g,m,a){a("ac1f");var f=a("6eeb"),n=a("d039"),c=a("b622"),o=a("9263"),s=a("9112"),i=c("species"),r=!n(function(){var b=/./;return b.exec=function(){var w=[];return w.groups={a:"7"},w},"".replace(b,"$<a>")!=="7"}),l=(function(){return"a".replace(/./,"$0")==="$0"})(),d=c("replace"),p=(function(){return/./[d]?/./[d]("a","$0")==="":!1})(),v=!n(function(){var b=/(?:)/,w=b.exec;b.exec=function(){return w.apply(this,arguments)};var y="ab".split(b);return y.length!==2||y[0]!=="a"||y[1]!=="b"});g.exports=function(b,w,y,_){var $=c(b),S=!n(function(){var E={};return E[$]=function(){return 7},""[b](E)!=7}),O=S&&!n(function(){var E=!1,C=/a/;return b==="split"&&(C={},C.constructor={},C.constructor[i]=function(){return C},C.flags="",C[$]=/./[$]),C.exec=function(){return E=!0,null},C[$](""),!E});if(!S||!O||b==="replace"&&!(r&&l&&!p)||b==="split"&&!v){var k=/./[$],T=y($,""[b],function(E,C,x,L,q){return C.exec===o?S&&!q?{done:!0,value:k.call(C,x,L)}:{done:!0,value:E.call(x,C,L)}:{done:!1}},{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),A=T[0],M=T[1];f(String.prototype,b,A),f(RegExp.prototype,$,w==2?function(E,C){return M.call(E,this,C)}:function(E){return M.call(E,this)})}_&&s(RegExp.prototype[$],"sham",!0)}}),d81d:(function(g,m,a){var f=a("23e7"),n=a("b727").map,c=a("1dde"),o=a("ae40"),s=c("map"),i=o("map");f({target:"Array",proto:!0,forced:!s||!i},{map:function(l){return n(this,l,arguments.length>1?arguments[1]:void 0)}})}),da84:(function(g,m,a){(function(f){var n=function(c){return c&&c.Math==Math&&c};g.exports=n(typeof globalThis=="object"&&globalThis)||n(typeof window=="object"&&window)||n(typeof self=="object"&&self)||n(typeof f=="object"&&f)||Function("return this")()}).call(this,a("c8ba"))}),dbb4:(function(g,m,a){var f=a("23e7"),n=a("83ab"),c=a("56ef"),o=a("fc6a"),s=a("06cf"),i=a("8418");f({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(l){for(var d=o(l),p=s.f,v=c(d),b={},w=0,y,_;v.length>w;)_=p(d,y=v[w++]),_!==void 0&&i(b,y,_);return b}})}),dbf1:(function(g,m,a){(function(f){a.d(m,"a",function(){return c});function n(){return typeof window<"u"?window.console:f.console}var c=n()}).call(this,a("c8ba"))}),ddb0:(function(g,m,a){var f=a("da84"),n=a("fdbc"),c=a("e260"),o=a("9112"),s=a("b622"),i=s("iterator"),r=s("toStringTag"),l=c.values;for(var d in n){var p=f[d],v=p&&p.prototype;if(v){if(v[i]!==l)try{o(v,i,l)}catch{v[i]=l}if(v[r]||o(v,r,d),n[d]){for(var b in c)if(v[b]!==c[b])try{o(v,b,c[b])}catch{v[b]=c[b]}}}}}),df75:(function(g,m,a){var f=a("ca84"),n=a("7839");g.exports=Object.keys||function(o){return f(o,n)}}),e01a:(function(g,m,a){var f=a("23e7"),n=a("83ab"),c=a("da84"),o=a("5135"),s=a("861d"),i=a("9bf2").f,r=a("e893"),l=c.Symbol;if(n&&typeof l=="function"&&(!("description"in l.prototype)||l().description!==void 0)){var d={},p=function(){var $=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),S=this instanceof p?new l($):$===void 0?l():l($);return $===""&&(d[S]=!0),S};r(p,l);var v=p.prototype=l.prototype;v.constructor=p;var b=v.toString,w=String(l("test"))=="Symbol(test)",y=/^Symbol\((.*)\)[^)]+$/;i(v,"description",{configurable:!0,get:function(){var $=s(this)?this.valueOf():this,S=b.call($);if(o(d,$))return"";var O=w?S.slice(7,-1):S.replace(y,"$1");return O===""?void 0:O}}),f({global:!0,forced:!0},{Symbol:p})}}),e163:(function(g,m,a){var f=a("5135"),n=a("7b0b"),c=a("f772"),o=a("e177"),s=c("IE_PROTO"),i=Object.prototype;g.exports=o?Object.getPrototypeOf:function(r){return r=n(r),f(r,s)?r[s]:typeof r.constructor=="function"&&r instanceof r.constructor?r.constructor.prototype:r instanceof Object?i:null}}),e177:(function(g,m,a){var f=a("d039");g.exports=!f(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype})}),e260:(function(g,m,a){var f=a("fc6a"),n=a("44d2"),c=a("3f8c"),o=a("69f3"),s=a("7dd0"),i="Array Iterator",r=o.set,l=o.getterFor(i);g.exports=s(Array,"Array",function(d,p){r(this,{type:i,target:f(d),index:0,kind:p})},function(){var d=l(this),p=d.target,v=d.kind,b=d.index++;return!p||b>=p.length?(d.target=void 0,{value:void 0,done:!0}):v=="keys"?{value:b,done:!1}:v=="values"?{value:p[b],done:!1}:{value:[b,p[b]],done:!1}},"values"),c.Arguments=c.Array,n("keys"),n("values"),n("entries")}),e439:(function(g,m,a){var f=a("23e7"),n=a("d039"),c=a("fc6a"),o=a("06cf").f,s=a("83ab"),i=n(function(){o(1)}),r=!s||i;f({target:"Object",stat:!0,forced:r,sham:!s},{getOwnPropertyDescriptor:function(d,p){return o(c(d),p)}})}),e538:(function(g,m,a){var f=a("b622");m.f=f}),e893:(function(g,m,a){var f=a("5135"),n=a("56ef"),c=a("06cf"),o=a("9bf2");g.exports=function(s,i){for(var r=n(i),l=o.f,d=c.f,p=0;p<r.length;p++){var v=r[p];f(s,v)||l(s,v,d(i,v))}}}),e8b5:(function(g,m,a){var f=a("c6b6");g.exports=Array.isArray||function(c){return f(c)=="Array"}}),e95a:(function(g,m,a){var f=a("b622"),n=a("3f8c"),c=f("iterator"),o=Array.prototype;g.exports=function(s){return s!==void 0&&(n.Array===s||o[c]===s)}}),f5df:(function(g,m,a){var f=a("00ee"),n=a("c6b6"),c=a("b622"),o=c("toStringTag"),s=n((function(){return arguments})())=="Arguments",i=function(r,l){try{return r[l]}catch{}};g.exports=f?n:function(r){var l,d,p;return r===void 0?"Undefined":r===null?"Null":typeof(d=i(l=Object(r),o))=="string"?d:s?n(l):(p=n(l))=="Object"&&typeof l.callee=="function"?"Arguments":p}}),f772:(function(g,m,a){var f=a("5692"),n=a("90e3"),c=f("keys");g.exports=function(o){return c[o]||(c[o]=n(o))}}),fb15:(function(g,m,a){if(a.r(m),typeof window<"u"){var f=window.document.currentScript;{var n=a("8875");f=n(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:n})}var c=f&&f.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(a.p=c[1])}a("99af"),a("4de4"),a("4160"),a("c975"),a("d81d"),a("a434"),a("159b"),a("a4d3"),a("e439"),a("dbb4"),a("b64b");function o(K,G,Y){return G in K?Object.defineProperty(K,G,{value:Y,enumerable:!0,configurable:!0,writable:!0}):K[G]=Y,K}function s(K,G){var Y=Object.keys(K);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(K);G&&(ee=ee.filter(function(le){return Object.getOwnPropertyDescriptor(K,le).enumerable})),Y.push.apply(Y,ee)}return Y}function i(K){for(var G=1;G<arguments.length;G++){var Y=arguments[G]!=null?arguments[G]:{};G%2?s(Object(Y),!0).forEach(function(ee){o(K,ee,Y[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(K,Object.getOwnPropertyDescriptors(Y)):s(Object(Y)).forEach(function(ee){Object.defineProperty(K,ee,Object.getOwnPropertyDescriptor(Y,ee))})}return K}function r(K){if(Array.isArray(K))return K}a("e01a"),a("d28b"),a("e260"),a("d3b7"),a("3ca3"),a("ddb0");function l(K,G){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(K)))){var Y=[],ee=!0,le=!1,de=void 0;try{for(var ge=K[Symbol.iterator](),ye;!(ee=(ye=ge.next()).done)&&(Y.push(ye.value),!(G&&Y.length===G));ee=!0);}catch(we){le=!0,de=we}finally{try{!ee&&ge.return!=null&&ge.return()}finally{if(le)throw de}}return Y}}a("a630"),a("fb6a"),a("b0c0"),a("25f0");function d(K,G){(G==null||G>K.length)&&(G=K.length);for(var Y=0,ee=new Array(G);Y<G;Y++)ee[Y]=K[Y];return ee}function p(K,G){if(K){if(typeof K=="string")return d(K,G);var Y=Object.prototype.toString.call(K).slice(8,-1);if(Y==="Object"&&K.constructor&&(Y=K.constructor.name),Y==="Map"||Y==="Set")return Array.from(K);if(Y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Y))return d(K,G)}}function v(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1635
1635
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b(K,G){return r(K)||l(K,G)||p(K,G)||v()}function w(K){if(Array.isArray(K))return d(K)}function y(K){if(typeof Symbol<"u"&&Symbol.iterator in Object(K))return Array.from(K)}function _(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1636
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $(K){return w(K)||y(K)||p(K)||_()}var S=a("a352"),O=a.n(S);function k(K){K.parentElement!==null&&K.parentElement.removeChild(K)}function T(K,G,Y){var ee=Y===0?K.children[0]:K.children[Y-1].nextSibling;K.insertBefore(G,ee)}var A=a("dbf1");a("13d5"),a("4fad"),a("ac1f"),a("5319");function M(K){var G=Object.create(null);return function(ee){var le=G[ee];return le||(G[ee]=K(ee))}}var E=/-(\w)/g,C=M(function(K){return K.replace(E,function(G,Y){return Y.toUpperCase()})});a("5db7"),a("73d9");var x=["Start","Add","Remove","Update","End"],L=["Choose","Unchoose","Sort","Filter","Clone"],q=["Move"],I=[q,x,L].flatMap(function(K){return K}).map(function(K){return"on".concat(K)}),F={manage:q,manageAndEmit:x,emit:L};function R(K){return I.indexOf(K)!==-1}a("caad"),a("2ca0");var N=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function B(K){return N.includes(K)}function D(K){return["transition-group","TransitionGroup"].includes(K)}function P(K){return["id","class","role","style"].includes(K)||K.startsWith("data-")||K.startsWith("aria-")||K.startsWith("on")}function j(K){return K.reduce(function(G,Y){var ee=b(Y,2),le=ee[0],de=ee[1];return G[le]=de,G},{})}function V(K){var G=K.$attrs,Y=K.componentData,ee=Y===void 0?{}:Y,le=j(Object.entries(G).filter(function(de){var ge=b(de,2),ye=ge[0];return ge[1],P(ye)}));return i(i({},le),ee)}function W(K){var G=K.$attrs,Y=K.callBackBuilder,ee=j(H(G));Object.entries(Y).forEach(function(de){var ge=b(de,2),ye=ge[0],we=ge[1];F[ye].forEach(function(ce){ee["on".concat(ce)]=we(ce)})});var le="[data-draggable]".concat(ee.draggable||"");return i(i({},ee),{},{draggable:le})}function H(K){return Object.entries(K).filter(function(G){var Y=b(G,2),ee=Y[0];return Y[1],!P(ee)}).map(function(G){var Y=b(G,2),ee=Y[0],le=Y[1];return[C(ee),le]}).filter(function(G){var Y=b(G,2),ee=Y[0];return Y[1],!R(ee)})}a("c740");function z(K,G){if(!(K instanceof G))throw new TypeError("Cannot call a class as a function")}function U(K,G){for(var Y=0;Y<G.length;Y++){var ee=G[Y];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(K,ee.key,ee)}}function X(K,G,Y){return G&&U(K.prototype,G),K}var te=function(G){var Y=G.el||Array.isArray(G.children)&&G.children[0].el.parentNode;return Y||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),Y||{}},ie=function(G,Y){return G.__draggable_context=Y},oe=function(G){return G.__draggable_context},se=(function(){function K(G){var Y=G.nodes,ee=Y.header,le=Y.default,de=Y.footer,ge=G.root,ye=G.realList;z(this,K),this.defaultNodes=le,this.children=[].concat($(ee),$(le),$(de)),this.externalComponent=ge.externalComponent,this.rootTransition=ge.transition,this.tag=ge.tag,this.realList=ye}return X(K,[{key:"render",value:function(Y,ee){var le=this.tag,de=this.children,ge=this._isRootComponent,ye=ge?{default:function(){return de}}:de;return Y(le,ee,ye)}},{key:"updated",value:function(){var Y=this.defaultNodes,ee=this.realList;Y.forEach(function(le,de){ie(te(le),{element:ee[de],index:de})})}},{key:"getUnderlyingVm",value:function(Y){return oe(Y)}},{key:"getVmIndexFromDomIndex",value:function(Y,ee){var le=this.defaultNodes,de=le.length,ge=ee.children,ye=ge.item(Y);if(ye===null)return de;var we=oe(ye);if(we)return we.index;if(de===0)return 0;var ce=te(le[0]),ae=$(ge).findIndex(function(ue){return ue===ce});return Y<ae?0:de}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),K})(),me=a("8bbf");function be(K,G){var Y=K[G];return Y?Y():[]}function J(K){var G=K.$slots,Y=K.realList,ee=K.getKey,le=Y||[],de=["header","footer"].map(function(ue){return be(G,ue)}),ge=b(de,2),ye=ge[0],we=ge[1],ce=G.item;if(!ce)throw new Error("draggable element must have an item slot");var ae=le.flatMap(function(ue,ve){return ce({element:ue,index:ve}).map(function($e){return $e.key=ee(ue),$e.props=i(i({},$e.props||{}),{},{"data-draggable":!0}),$e})});if(ae.length!==le.length)throw new Error("Item slot must have only one child");return{header:ye,footer:we,default:ae}}function Z(K){var G=D(K),Y=!B(K)&&!G;return{transition:G,externalComponent:Y,tag:Y?Object(me.resolveComponent)(K):G?me.TransitionGroup:K}}function ne(K){var G=K.$slots,Y=K.tag,ee=K.realList,le=K.getKey,de=J({$slots:G,realList:ee,getKey:le}),ge=Z(Y);return new se({nodes:de,root:ge,realList:ee})}function re(K,G){var Y=this;Object(me.nextTick)(function(){return Y.$emit(K.toLowerCase(),G)})}function Q(K){var G=this;return function(Y,ee){if(G.realList!==null)return G["onDrag".concat(K)](Y,ee)}}function fe(K){var G=this,Y=Q.call(this,K);return function(ee,le){Y.call(G,ee,le),re.call(G,K,ee)}}var he=null,pe={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(G){return G}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Ce=["update:modelValue","change"].concat($([].concat($(F.manageAndEmit),$(F.emit)).map(function(K){return K.toLowerCase()}))),xe=Object(me.defineComponent)({name:"draggable",inheritAttrs:!1,props:pe,emits:Ce,data:function(){return{error:!1}},render:function(){try{this.error=!1;var G=this.$slots,Y=this.$attrs,ee=this.tag,le=this.componentData,de=this.realList,ge=this.getKey,ye=ne({$slots:G,tag:ee,realList:de,getKey:ge});this.componentStructure=ye;var we=V({$attrs:Y,componentData:le});return ye.render(me.h,we)}catch(ce){return this.error=!0,Object(me.h)("pre",{style:{color:"red"}},ce.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&A.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var G=this;if(!this.error){var Y=this.$attrs,ee=this.$el,le=this.componentStructure;le.updated();var de=W({$attrs:Y,callBackBuilder:{manageAndEmit:function(we){return fe.call(G,we)},emit:function(we){return re.bind(G,we)},manage:function(we){return Q.call(G,we)}}}),ge=ee.nodeType===1?ee:ee.parentElement;this._sortable=new O.a(ge,de),this.targetDomElement=ge,ge.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var G=this.list;return G||this.modelValue},getKey:function(){var G=this.itemKey;return typeof G=="function"?G:function(Y){return Y[G]}}},watch:{$attrs:{handler:function(G){var Y=this._sortable;Y&&H(G).forEach(function(ee){var le=b(ee,2),de=le[0],ge=le[1];Y.option(de,ge)})},deep:!0}},methods:{getUnderlyingVm:function(G){return this.componentStructure.getUnderlyingVm(G)||null},getUnderlyingPotencialDraggableComponent:function(G){return G.__draggable_component__},emitChanges:function(G){var Y=this;Object(me.nextTick)(function(){return Y.$emit("change",G)})},alterList:function(G){if(this.list){G(this.list);return}var Y=$(this.modelValue);G(Y),this.$emit("update:modelValue",Y)},spliceList:function(){var G=arguments,Y=function(le){return le.splice.apply(le,$(G))};this.alterList(Y)},updatePosition:function(G,Y){var ee=function(de){return de.splice(Y,0,de.splice(G,1)[0])};this.alterList(ee)},getRelatedContextFromMoveEvent:function(G){var Y=G.to,ee=G.related,le=this.getUnderlyingPotencialDraggableComponent(Y);if(!le)return{component:le};var de=le.realList,ge={list:de,component:le};if(Y!==ee&&de){var ye=le.getUnderlyingVm(ee)||{};return i(i({},ye),ge)}return ge},getVmIndexFromDomIndex:function(G){return this.componentStructure.getVmIndexFromDomIndex(G,this.targetDomElement)},onDragStart:function(G){this.context=this.getUnderlyingVm(G.item),G.item._underlying_vm_=this.clone(this.context.element),he=G.item},onDragAdd:function(G){var Y=G.item._underlying_vm_;if(Y!==void 0){k(G.item);var ee=this.getVmIndexFromDomIndex(G.newIndex);this.spliceList(ee,0,Y);var le={element:Y,newIndex:ee};this.emitChanges({added:le})}},onDragRemove:function(G){if(T(G.from,G.item,G.oldIndex),G.pullMode==="clone"){k(G.clone);return}var Y=this.context,ee=Y.index,le=Y.element;this.spliceList(ee,1);var de={element:le,oldIndex:ee};this.emitChanges({removed:de})},onDragUpdate:function(G){k(G.item),T(G.from,G.item,G.oldIndex);var Y=this.context.index,ee=this.getVmIndexFromDomIndex(G.newIndex);this.updatePosition(Y,ee);var le={element:this.context.element,oldIndex:Y,newIndex:ee};this.emitChanges({moved:le})},computeFutureIndex:function(G,Y){if(!G.element)return 0;var ee=$(Y.to.children).filter(function(ye){return ye.style.display!=="none"}),le=ee.indexOf(Y.related),de=G.component.getVmIndexFromDomIndex(le),ge=ee.indexOf(he)!==-1;return ge||!Y.willInsertAfter?de:de+1},onDragMove:function(G,Y){var ee=this.move,le=this.realList;if(!ee||!le)return!0;var de=this.getRelatedContextFromMoveEvent(G),ge=this.computeFutureIndex(de,G),ye=i(i({},this.context),{},{futureIndex:ge}),we=i(i({},G),{},{relatedContext:de,draggedContext:ye});return ee(we,Y)},onDragEnd:function(){he=null}}}),_e=xe;m.default=_e}),fb6a:(function(g,m,a){var f=a("23e7"),n=a("861d"),c=a("e8b5"),o=a("23cb"),s=a("50c4"),i=a("fc6a"),r=a("8418"),l=a("b622"),d=a("1dde"),p=a("ae40"),v=d("slice"),b=p("slice",{ACCESSORS:!0,0:0,1:2}),w=l("species"),y=[].slice,_=Math.max;f({target:"Array",proto:!0,forced:!v||!b},{slice:function(S,O){var k=i(this),T=s(k.length),A=o(S,T),M=o(O===void 0?T:O,T),E,C,x;if(c(k)&&(E=k.constructor,typeof E=="function"&&(E===Array||c(E.prototype))?E=void 0:n(E)&&(E=E[w],E===null&&(E=void 0)),E===Array||E===void 0))return y.call(k,A,M);for(C=new(E===void 0?Array:E)(_(M-A,0)),x=0;A<M;A++,x++)A in k&&r(C,x,k[A]);return C.length=x,C}})}),fc6a:(function(g,m,a){var f=a("44ad"),n=a("1d80");g.exports=function(c){return f(n(c))}}),fdbc:(function(g,m){g.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}),fdbf:(function(g,m,a){var f=a("4930");g.exports=f&&!Symbol.sham&&typeof Symbol.iterator=="symbol"})}).default})})(vuedraggable_umd);const Draggable=getDefaultExportFromCjs(vuedraggable_umd.exports);var _export_sfc=(t,u)=>{const e=t.__vccOpts||t;for(const[h,g]of u)e[h]=g;return e};const _sfc_main$b=require$$0.defineComponent({name:"ArrowDown"}),_hoisted_1$a={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$9=require$$0.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864L512 652.672 192.128 340.864a30.592 30.592 0 00-42.752 0 29.12 29.12 0 000 41.6L489.664 714.24a32 32 0 0044.672 0l340.288-331.712a29.12 29.12 0 000-41.728 30.592 30.592 0 00-42.752 0z"},null,-1),_hoisted_3$8=[_hoisted_2$9];function _sfc_render$b(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$a,_hoisted_3$8)}var arrowDown=_export_sfc(_sfc_main$b,[["render",_sfc_render$b]]);const _sfc_main$a=require$$0.defineComponent({name:"ArrowUp"}),_hoisted_1$9={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$8=require$$0.createElementVNode("path",{fill:"currentColor",d:"M488.832 344.32l-339.84 356.672a32 32 0 000 44.16l.384.384a29.44 29.44 0 0042.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0042.688 0l.384-.384a32 32 0 000-44.16L535.168 344.32a32 32 0 00-46.336 0z"},null,-1),_hoisted_3$7=[_hoisted_2$8];function _sfc_render$a(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$9,_hoisted_3$7)}var arrowUp=_export_sfc(_sfc_main$a,[["render",_sfc_render$a]]);const _sfc_main$9=require$$0.defineComponent({name:"CirclePlus"}),_hoisted_1$8={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$7=require$$0.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"},null,-1),_hoisted_3$6=require$$0.createElementVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"},null,-1),_hoisted_4$1=require$$0.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"},null,-1),_hoisted_5=[_hoisted_2$7,_hoisted_3$6,_hoisted_4$1];function _sfc_render$9(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$8,_hoisted_5)}var circlePlus=_export_sfc(_sfc_main$9,[["render",_sfc_render$9]]);const _sfc_main$8=require$$0.defineComponent({name:"Delete"}),_hoisted_1$7={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$6=require$$0.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 010-64h256V95.936a32 32 0 0132-32h256a32 32 0 0132 32V192h256a32 32 0 110 64h-64v672a32 32 0 01-32 32H192a32 32 0 01-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32zm192 0a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32z"},null,-1),_hoisted_3$5=[_hoisted_2$6];function _sfc_render$8(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$7,_hoisted_3$5)}var _delete=_export_sfc(_sfc_main$8,[["render",_sfc_render$8]]);const _sfc_main$7=require$$0.defineComponent({name:"Edit"}),_hoisted_1$6={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$5=require$$0.createElementVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1164 0v352a32 32 0 01-32 32H160a32 32 0 01-32-32V160a32 32 0 0132-32h352a32 32 0 010 64H192v640h640V512z"},null,-1),_hoisted_3$4=require$$0.createElementVNode("path",{fill:"currentColor",d:"M469.952 554.24l52.8-7.552L847.104 222.4a32 32 0 10-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 010 135.808l-331.84 331.84a32 32 0 01-18.112 9.088L436.8 623.68a32 32 0 01-36.224-36.224l15.104-105.6a32 32 0 019.024-18.112l331.904-331.84a96 96 0 01135.744 0z"},null,-1),_hoisted_4=[_hoisted_2$5,_hoisted_3$4];function _sfc_render$7(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$6,_hoisted_4)}var edit=_export_sfc(_sfc_main$7,[["render",_sfc_render$7]]);const _sfc_main$6=require$$0.defineComponent({name:"InfoFilled"}),_hoisted_1$5={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$4=require$$0.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 110 896.064A448 448 0 01512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 01-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 017.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),_hoisted_3$3=[_hoisted_2$4];function _sfc_render$6(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$5,_hoisted_3$3)}var infoFilled=_export_sfc(_sfc_main$6,[["render",_sfc_render$6]]);const _sfc_main$5=require$$0.defineComponent({name:"Minus"}),_hoisted_1$4={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$3=require$$0.createElementVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"},null,-1),_hoisted_3$2=[_hoisted_2$3];function _sfc_render$5(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$4,_hoisted_3$2)}var minus=_export_sfc(_sfc_main$5,[["render",_sfc_render$5]]);const _sfc_main$4=require$$0.defineComponent({name:"Plus"}),_hoisted_1$3={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$2=require$$0.createElementVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"},null,-1),_hoisted_3$1=[_hoisted_2$2];function _sfc_render$4(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$3,_hoisted_3$1)}var plus=_export_sfc(_sfc_main$4,[["render",_sfc_render$4]]);const _sfc_main$3=require$$0.defineComponent({name:"Search"}),_hoisted_1$2={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$1=require$$0.createElementVNode("path",{fill:"currentColor",d:"M795.904 750.72l124.992 124.928a32 32 0 01-45.248 45.248L750.656 795.904a416 416 0 1145.248-45.248zM480 832a352 352 0 100-704 352 352 0 000 704z"},null,-1),_hoisted_3=[_hoisted_2$1];function _sfc_render$3(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$2,_hoisted_3)}var search=_export_sfc(_sfc_main$3,[["render",_sfc_render$3]]);function registerIcon(t){t.component("el-icon-edit",edit),t.component("el-icon-minus",minus),t.component("el-icon-plus",plus),t.component("el-icon-info",infoFilled),t.component("el-icon-search",search),t.component("el-icon-circle-plus-outline",circlePlus),t.component("el-icon-delete",_delete),t.component("el-icon-arrow-down",arrowDown),t.component("el-icon-arrow-up",arrowUp)}if(typeof window<"u"){let t=function(){var u=document.body,e=document.getElementById("__svg__icons__dom__1768975829162__");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__1768975829162__",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-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>',u.insertBefore(e,u.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}function addDirective(t){t.directive("drag",{mounted(u,e){if(!e.value)return!1;e.instance.$nextTick(()=>{const h=document.querySelector(e.value[0]),g=document.querySelector(e.value[1]);g.onmouseover=()=>g.style.cursor="move";function m(f,n){const c=n==="pc"?f.clientX-g.offsetLeft:f.touches[0].clientX-g.offsetLeft,o=n==="pc"?f.clientY-g.offsetTop:f.touches[0].clientY-g.offsetTop,s=document.body.clientWidth,i=document.documentElement.clientHeight,r=h.offsetWidth,l=h.offsetHeight,d=h.offsetLeft,p=s-h.offsetLeft-r,v=h.offsetTop,b=i-h.offsetTop-l;let w=getComputedStyle(h).left,y=getComputedStyle(h).top;return w.includes("%")?(w=+document.body.clientWidth*(+w.replace(/%/g,"")/100),y=+document.body.clientHeight*(+y.replace(/%/g,"")/100)):(w=+w.replace(/\px/g,""),y=+y.replace(/\px/g,"")),{disX:c,disY:o,minDragDomLeft:d,maxDragDomLeft:p,minDragDomTop:v,maxDragDomTop:b,styL:w,styT:y}}function a(f,n,c){let{disX:o,disY:s,minDragDomLeft:i,maxDragDomLeft:r,minDragDomTop:l,maxDragDomTop:d,styL:p,styT:v}=c,b=n==="pc"?f.clientX-o:f.touches[0].clientX-o,w=n==="pc"?f.clientY-s:f.touches[0].clientY-s;-b>i?b=-i:b>r&&(b=r),-w>l?w=-l:w>d&&(w=d),h.style.cssText+=`;left:${b+p}px;top:${w+v}px;`}g.onmousedown=f=>{const n=m(f,"pc");document.onmousemove=c=>{a(c,"pc",n)},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null}},g.ontouchstart=f=>{const n=m(f,"app");document.ontouchmove=c=>{a(c,"app",n)},document.ontouchend=()=>{document.ontouchmove=null,document.ontouchend=null}}})}}),t.directive("dialogDragWidth",{mounted(u,e){e.instance.$nextTick(()=>{const h=e.value.$el.querySelector(".el-dialog");u.onmousedown=g=>{const m=g.clientX-u.offsetLeft;document.onmousemove=function(a){a.preventDefault();const f=a.clientX-m;h.style.width=`${f}px`},document.onmouseup=function(a){document.onmousemove=null,document.onmouseup=null}}})}})}function _isSlot(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!require$$0.isVNode(t)}const createInputTextEditor=function(t,u){return{props:{optionModel:Object},render(e){return require$$0.createVNode(require$$0.resolveComponent("el-form-item"),{label:translate(u)},{default:()=>[require$$0.createVNode(require$$0.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[t],"onUpdate:modelValue":h=>this.optionModel[t]=h},null)]})}}},createBooleanEditor=function(t,u){return{props:{optionModel:Object},render(e){return require$$0.createVNode(require$$0.resolveComponent("el-form-item"),{label:translate(u)},{default:()=>[require$$0.createVNode(require$$0.resolveComponent("el-switch"),{modelValue:this.optionModel[t],"onUpdate:modelValue":h=>this.optionModel[t]=h},null)]})}}},createRadioButtonGroupEditor=function(t,u,e){return{props:{optionModel:Object},render(h){let g;return require$$0.createVNode(require$$0.resolveComponent("el-form-item"),{label:translate(u)},{default:()=>[require$$0.createVNode(require$$0.resolveComponent("el-radio-group"),{modelValue:this.optionModel[t],"onUpdate:modelValue":m=>this.optionModel[t]=m},_isSlot(g=e.optionItems.map(m=>require$$0.createVNode(require$$0.resolveComponent("el-radio-button"),{label:m.value},{default:()=>[m.label]})))?g:{default:()=>[g]})]})}}},createSelectEditor=function(t,u,e){return{props:{optionModel:Object},render(h){let g;return require$$0.createVNode(require$$0.resolveComponent("el-form-item"),{label:translate(u)},{default:()=>[require$$0.createVNode(require$$0.resolveComponent("el-select"),{modelValue:this.optionModel[t],"onUpdate:modelValue":m=>this.optionModel[t]=m},_isSlot(g=e.optionItems.map(m=>require$$0.createVNode(require$$0.resolveComponent("el-option"),{label:m.label,value:m.value},null)))?g:{default:()=>[g]})]})}}},createEventHandlerEditor=function(t,u){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[t,[...u]])}},render(e){let h;return require$$0.createVNode(require$$0.resolveComponent("el-form-item"),{label:t,"label-width":"150px"},{default:()=>[require$$0.createVNode(require$$0.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(h=translate("designer.setting.addEventHandler"))?h:{default:()=>[h]})]})}}},cardSchema={type:"card",category:"container",icon:"card",widgetList:[],options:{name:"",label:"card",hidden:!1,folded:!1,showFold:!0,cardWidth:"100%",shadow:"never",customClass:""}},alertSchema={type:"alert",icon:"alert",formItemFlag:!1,options:{name:"",title:"Good things are coming...",type:"info",description:"",closable:!0,closeText:"",center:!0,showIcon:!1,effect:"light",hidden:!1,onClose:"",customClass:""}},_sfc_main$2={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,...comps$1,ArrowDown:arrowDown,ArrowUp:arrowUp},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{checkContainerMove(t){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(t){this.widget.options.folded=!!t}}},_hoisted_1$1={class:"clear-fix"},_hoisted_2={class:"form-widget-list"};function _sfc_render$2(t,u,e,h,g,m){const a=require$$0.resolveComponent("ArrowDown"),f=require$$0.resolveComponent("el-icon"),n=require$$0.resolveComponent("ArrowUp"),c=require$$0.resolveComponent("draggable"),o=require$$0.resolveComponent("el-card"),s=require$$0.resolveComponent("container-wrapper");return require$$0.openBlock(),require$$0.createBlock(s,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:require$$0.withCtx(()=>[(require$$0.openBlock(),require$$0.createBlock(o,{key:e.widget.id,class:require$$0.normalizeClass(["card-container",[m.selected?"selected":"",e.widget.options.folded?"folded":"",m.customClass]]),onClick:u[2]||(u[2]=require$$0.withModifiers(i=>t.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow,style:require$$0.normalizeStyle({width:e.widget.options.cardWidth+"!important"||""})},{header:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_1$1,[require$$0.createElementVNode("span",null,require$$0.toDisplayString(e.widget.options.label),1),e.widget.options.showFold?(require$$0.openBlock(),require$$0.createElementBlock("i",{key:0,class:"float-right",onClick:u[0]||(u[0]=(...i)=>m.toggleCard&&m.toggleCard(...i))},[e.widget.options.folded?(require$$0.openBlock(),require$$0.createBlock(f,{key:1},{default:require$$0.withCtx(()=>[require$$0.createVNode(n)]),_:1})):(require$$0.openBlock(),require$$0.createBlock(f,{key:0},{default:require$$0.withCtx(()=>[require$$0.createVNode(a)]),_:1}))])):require$$0.createCommentVNode("",!0)])]),default:require$$0.withCtx(()=>[require$$0.createVNode(c,require$$0.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:u[1]||(u[1]=i=>t.onContainerDragAdd(i,e.widget.widgetList)),onUpdate:t.onContainerDragUpdate,move:m.checkContainerMove}),{item:require$$0.withCtx(({element:i,index:r})=>[require$$0.createElementVNode("div",_hoisted_2,[i.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(i.type+"-widget"),{widget:i,designer:e.designer,key:i.id,"parent-list":e.widget.widgetList,"index-of-parent-list":r,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(i.type+"-widget"),{field:i,designer:e.designer,key:i.id,"parent-list":e.widget.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"])]),_:1},8,["shadow","style","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}const CardWidget=_export_sfc$1(_sfc_main$2,[["render",_sfc_render$2],["__scopeId","data-v-89e0bb6e"]]),_sfc_main$1={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin,containerItemMixin],components:{ContainerItemWrapper,...comps$1,ArrowDown:arrowDown,ArrowUp:arrowUp},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={class:"clear-fix"};function _sfc_render$1(t,u,e,h,g,m){const a=require$$0.resolveComponent("ArrowDown"),f=require$$0.resolveComponent("el-icon"),n=require$$0.resolveComponent("ArrowUp"),c=require$$0.resolveComponent("el-card"),o=require$$0.resolveComponent("container-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(o,{widget:e.widget},{default:require$$0.withCtx(()=>[require$$0.withDirectives((require$$0.openBlock(),require$$0.createBlock(c,{key:e.widget.id,class:require$$0.normalizeClass(["card-container",[e.widget.options.folded?"folded":"",m.customClass]]),shadow:e.widget.options.shadow,style:require$$0.normalizeStyle({width:e.widget.options.cardWidth+"!important"||""}),ref:e.widget.id},{header:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_1,[require$$0.createElementVNode("span",null,require$$0.toDisplayString(e.widget.options.label),1),e.widget.options.showFold?(require$$0.openBlock(),require$$0.createElementBlock("i",{key:0,class:"float-right",onClick:u[0]||(u[0]=(...s)=>m.toggleCard&&m.toggleCard(...s))},[e.widget.options.folded?(require$$0.openBlock(),require$$0.createBlock(f,{key:1},{default:require$$0.withCtx(()=>[require$$0.createVNode(n)]),_:1})):(require$$0.openBlock(),require$$0.createBlock(f,{key:0},{default:require$$0.withCtx(()=>[require$$0.createVNode(a)]),_:1}))])):require$$0.createCommentVNode("",!0)])]),default:require$$0.withCtx(()=>[e.widget.widgetList&&e.widget.widgetList.length>0?(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,{key:0},require$$0.renderList(e.widget.widgetList,(s,i)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[s.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(t.getComponentByContainer(s)),{widget:s,key:i,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),r=>({name:r,fn:require$$0.withCtx(l=>[require$$0.renderSlot(t.$slots,r,require$$0.mergeProps({ref_for:!0},l),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(s.type+"-widget"),{field:s,designer:null,key:i,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),r=>({name:r,fn:require$$0.withCtx(l=>[require$$0.renderSlot(t.$slots,r,require$$0.mergeProps({ref_for:!0},l),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256)):require$$0.createCommentVNode("",!0)]),_:3},8,["class","shadow","style"])),[[require$$0.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}const CardItem=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1],["__scopeId","data-v-2d068759"]]),cardTemplateGenerator=function(t,u){const e=t.options,h=buildClassAttr(t),g=e.cardWidth?`style="{width: ${e.cardWidth} !important}"`:"",m=`shadow="${e.shadow}"`,a=e.hidden?'v-show="false"':"";return`<div class="card-container">
|
|
1636
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $(K){return w(K)||y(K)||p(K)||_()}var S=a("a352"),O=a.n(S);function k(K){K.parentElement!==null&&K.parentElement.removeChild(K)}function T(K,G,Y){var ee=Y===0?K.children[0]:K.children[Y-1].nextSibling;K.insertBefore(G,ee)}var A=a("dbf1");a("13d5"),a("4fad"),a("ac1f"),a("5319");function M(K){var G=Object.create(null);return function(ee){var le=G[ee];return le||(G[ee]=K(ee))}}var E=/-(\w)/g,C=M(function(K){return K.replace(E,function(G,Y){return Y.toUpperCase()})});a("5db7"),a("73d9");var x=["Start","Add","Remove","Update","End"],L=["Choose","Unchoose","Sort","Filter","Clone"],q=["Move"],I=[q,x,L].flatMap(function(K){return K}).map(function(K){return"on".concat(K)}),F={manage:q,manageAndEmit:x,emit:L};function R(K){return I.indexOf(K)!==-1}a("caad"),a("2ca0");var N=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function B(K){return N.includes(K)}function D(K){return["transition-group","TransitionGroup"].includes(K)}function P(K){return["id","class","role","style"].includes(K)||K.startsWith("data-")||K.startsWith("aria-")||K.startsWith("on")}function j(K){return K.reduce(function(G,Y){var ee=b(Y,2),le=ee[0],de=ee[1];return G[le]=de,G},{})}function V(K){var G=K.$attrs,Y=K.componentData,ee=Y===void 0?{}:Y,le=j(Object.entries(G).filter(function(de){var ge=b(de,2),ye=ge[0];return ge[1],P(ye)}));return i(i({},le),ee)}function W(K){var G=K.$attrs,Y=K.callBackBuilder,ee=j(H(G));Object.entries(Y).forEach(function(de){var ge=b(de,2),ye=ge[0],we=ge[1];F[ye].forEach(function(ce){ee["on".concat(ce)]=we(ce)})});var le="[data-draggable]".concat(ee.draggable||"");return i(i({},ee),{},{draggable:le})}function H(K){return Object.entries(K).filter(function(G){var Y=b(G,2),ee=Y[0];return Y[1],!P(ee)}).map(function(G){var Y=b(G,2),ee=Y[0],le=Y[1];return[C(ee),le]}).filter(function(G){var Y=b(G,2),ee=Y[0];return Y[1],!R(ee)})}a("c740");function z(K,G){if(!(K instanceof G))throw new TypeError("Cannot call a class as a function")}function U(K,G){for(var Y=0;Y<G.length;Y++){var ee=G[Y];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(K,ee.key,ee)}}function X(K,G,Y){return G&&U(K.prototype,G),K}var te=function(G){var Y=G.el||Array.isArray(G.children)&&G.children[0].el.parentNode;return Y||console.error("使用 transition-group , 需要在slot中template内至少2层html标签"),Y||{}},ie=function(G,Y){return G.__draggable_context=Y},oe=function(G){return G.__draggable_context},se=(function(){function K(G){var Y=G.nodes,ee=Y.header,le=Y.default,de=Y.footer,ge=G.root,ye=G.realList;z(this,K),this.defaultNodes=le,this.children=[].concat($(ee),$(le),$(de)),this.externalComponent=ge.externalComponent,this.rootTransition=ge.transition,this.tag=ge.tag,this.realList=ye}return X(K,[{key:"render",value:function(Y,ee){var le=this.tag,de=this.children,ge=this._isRootComponent,ye=ge?{default:function(){return de}}:de;return Y(le,ee,ye)}},{key:"updated",value:function(){var Y=this.defaultNodes,ee=this.realList;Y.forEach(function(le,de){ie(te(le),{element:ee[de],index:de})})}},{key:"getUnderlyingVm",value:function(Y){return oe(Y)}},{key:"getVmIndexFromDomIndex",value:function(Y,ee){var le=this.defaultNodes,de=le.length,ge=ee.children,ye=ge.item(Y);if(ye===null)return de;var we=oe(ye);if(we)return we.index;if(de===0)return 0;var ce=te(le[0]),ae=$(ge).findIndex(function(ue){return ue===ce});return Y<ae?0:de}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),K})(),me=a("8bbf");function be(K,G){var Y=K[G];return Y?Y():[]}function J(K){var G=K.$slots,Y=K.realList,ee=K.getKey,le=Y||[],de=["header","footer"].map(function(ue){return be(G,ue)}),ge=b(de,2),ye=ge[0],we=ge[1],ce=G.item;if(!ce)throw new Error("draggable element must have an item slot");var ae=le.flatMap(function(ue,ve){return ce({element:ue,index:ve}).map(function($e){return $e.key=ee(ue),$e.props=i(i({},$e.props||{}),{},{"data-draggable":!0}),$e})});if(ae.length!==le.length)throw new Error("Item slot must have only one child");return{header:ye,footer:we,default:ae}}function Z(K){var G=D(K),Y=!B(K)&&!G;return{transition:G,externalComponent:Y,tag:Y?Object(me.resolveComponent)(K):G?me.TransitionGroup:K}}function ne(K){var G=K.$slots,Y=K.tag,ee=K.realList,le=K.getKey,de=J({$slots:G,realList:ee,getKey:le}),ge=Z(Y);return new se({nodes:de,root:ge,realList:ee})}function re(K,G){var Y=this;Object(me.nextTick)(function(){return Y.$emit(K.toLowerCase(),G)})}function Q(K){var G=this;return function(Y,ee){if(G.realList!==null)return G["onDrag".concat(K)](Y,ee)}}function fe(K){var G=this,Y=Q.call(this,K);return function(ee,le){Y.call(G,ee,le),re.call(G,K,ee)}}var he=null,pe={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(G){return G}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Ce=["update:modelValue","change"].concat($([].concat($(F.manageAndEmit),$(F.emit)).map(function(K){return K.toLowerCase()}))),xe=Object(me.defineComponent)({name:"draggable",inheritAttrs:!1,props:pe,emits:Ce,data:function(){return{error:!1}},render:function(){try{this.error=!1;var G=this.$slots,Y=this.$attrs,ee=this.tag,le=this.componentData,de=this.realList,ge=this.getKey,ye=ne({$slots:G,tag:ee,realList:de,getKey:ge});this.componentStructure=ye;var we=V({$attrs:Y,componentData:le});return ye.render(me.h,we)}catch(ce){return this.error=!0,Object(me.h)("pre",{style:{color:"red"}},ce.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&A.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var G=this;if(!this.error){var Y=this.$attrs,ee=this.$el,le=this.componentStructure;le.updated();var de=W({$attrs:Y,callBackBuilder:{manageAndEmit:function(we){return fe.call(G,we)},emit:function(we){return re.bind(G,we)},manage:function(we){return Q.call(G,we)}}}),ge=ee.nodeType===1?ee:ee.parentElement;this._sortable=new O.a(ge,de),this.targetDomElement=ge,ge.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var G=this.list;return G||this.modelValue},getKey:function(){var G=this.itemKey;return typeof G=="function"?G:function(Y){return Y[G]}}},watch:{$attrs:{handler:function(G){var Y=this._sortable;Y&&H(G).forEach(function(ee){var le=b(ee,2),de=le[0],ge=le[1];Y.option(de,ge)})},deep:!0}},methods:{getUnderlyingVm:function(G){return this.componentStructure.getUnderlyingVm(G)||null},getUnderlyingPotencialDraggableComponent:function(G){return G.__draggable_component__},emitChanges:function(G){var Y=this;Object(me.nextTick)(function(){return Y.$emit("change",G)})},alterList:function(G){if(this.list){G(this.list);return}var Y=$(this.modelValue);G(Y),this.$emit("update:modelValue",Y)},spliceList:function(){var G=arguments,Y=function(le){return le.splice.apply(le,$(G))};this.alterList(Y)},updatePosition:function(G,Y){var ee=function(de){return de.splice(Y,0,de.splice(G,1)[0])};this.alterList(ee)},getRelatedContextFromMoveEvent:function(G){var Y=G.to,ee=G.related,le=this.getUnderlyingPotencialDraggableComponent(Y);if(!le)return{component:le};var de=le.realList,ge={list:de,component:le};if(Y!==ee&&de){var ye=le.getUnderlyingVm(ee)||{};return i(i({},ye),ge)}return ge},getVmIndexFromDomIndex:function(G){return this.componentStructure.getVmIndexFromDomIndex(G,this.targetDomElement)},onDragStart:function(G){this.context=this.getUnderlyingVm(G.item),G.item._underlying_vm_=this.clone(this.context.element),he=G.item},onDragAdd:function(G){var Y=G.item._underlying_vm_;if(Y!==void 0){k(G.item);var ee=this.getVmIndexFromDomIndex(G.newIndex);this.spliceList(ee,0,Y);var le={element:Y,newIndex:ee};this.emitChanges({added:le})}},onDragRemove:function(G){if(T(G.from,G.item,G.oldIndex),G.pullMode==="clone"){k(G.clone);return}var Y=this.context,ee=Y.index,le=Y.element;this.spliceList(ee,1);var de={element:le,oldIndex:ee};this.emitChanges({removed:de})},onDragUpdate:function(G){k(G.item),T(G.from,G.item,G.oldIndex);var Y=this.context.index,ee=this.getVmIndexFromDomIndex(G.newIndex);this.updatePosition(Y,ee);var le={element:this.context.element,oldIndex:Y,newIndex:ee};this.emitChanges({moved:le})},computeFutureIndex:function(G,Y){if(!G.element)return 0;var ee=$(Y.to.children).filter(function(ye){return ye.style.display!=="none"}),le=ee.indexOf(Y.related),de=G.component.getVmIndexFromDomIndex(le),ge=ee.indexOf(he)!==-1;return ge||!Y.willInsertAfter?de:de+1},onDragMove:function(G,Y){var ee=this.move,le=this.realList;if(!ee||!le)return!0;var de=this.getRelatedContextFromMoveEvent(G),ge=this.computeFutureIndex(de,G),ye=i(i({},this.context),{},{futureIndex:ge}),we=i(i({},G),{},{relatedContext:de,draggedContext:ye});return ee(we,Y)},onDragEnd:function(){he=null}}}),_e=xe;m.default=_e}),fb6a:(function(g,m,a){var f=a("23e7"),n=a("861d"),c=a("e8b5"),o=a("23cb"),s=a("50c4"),i=a("fc6a"),r=a("8418"),l=a("b622"),d=a("1dde"),p=a("ae40"),v=d("slice"),b=p("slice",{ACCESSORS:!0,0:0,1:2}),w=l("species"),y=[].slice,_=Math.max;f({target:"Array",proto:!0,forced:!v||!b},{slice:function(S,O){var k=i(this),T=s(k.length),A=o(S,T),M=o(O===void 0?T:O,T),E,C,x;if(c(k)&&(E=k.constructor,typeof E=="function"&&(E===Array||c(E.prototype))?E=void 0:n(E)&&(E=E[w],E===null&&(E=void 0)),E===Array||E===void 0))return y.call(k,A,M);for(C=new(E===void 0?Array:E)(_(M-A,0)),x=0;A<M;A++,x++)A in k&&r(C,x,k[A]);return C.length=x,C}})}),fc6a:(function(g,m,a){var f=a("44ad"),n=a("1d80");g.exports=function(c){return f(n(c))}}),fdbc:(function(g,m){g.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}),fdbf:(function(g,m,a){var f=a("4930");g.exports=f&&!Symbol.sham&&typeof Symbol.iterator=="symbol"})}).default})})(vuedraggable_umd);const Draggable=getDefaultExportFromCjs(vuedraggable_umd.exports);var _export_sfc=(t,u)=>{const e=t.__vccOpts||t;for(const[h,g]of u)e[h]=g;return e};const _sfc_main$b=require$$0.defineComponent({name:"ArrowDown"}),_hoisted_1$a={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$9=require$$0.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864L512 652.672 192.128 340.864a30.592 30.592 0 00-42.752 0 29.12 29.12 0 000 41.6L489.664 714.24a32 32 0 0044.672 0l340.288-331.712a29.12 29.12 0 000-41.728 30.592 30.592 0 00-42.752 0z"},null,-1),_hoisted_3$8=[_hoisted_2$9];function _sfc_render$b(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$a,_hoisted_3$8)}var arrowDown=_export_sfc(_sfc_main$b,[["render",_sfc_render$b]]);const _sfc_main$a=require$$0.defineComponent({name:"ArrowUp"}),_hoisted_1$9={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$8=require$$0.createElementVNode("path",{fill:"currentColor",d:"M488.832 344.32l-339.84 356.672a32 32 0 000 44.16l.384.384a29.44 29.44 0 0042.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0042.688 0l.384-.384a32 32 0 000-44.16L535.168 344.32a32 32 0 00-46.336 0z"},null,-1),_hoisted_3$7=[_hoisted_2$8];function _sfc_render$a(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$9,_hoisted_3$7)}var arrowUp=_export_sfc(_sfc_main$a,[["render",_sfc_render$a]]);const _sfc_main$9=require$$0.defineComponent({name:"CirclePlus"}),_hoisted_1$8={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$7=require$$0.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 110 64H352a32 32 0 010-64z"},null,-1),_hoisted_3$6=require$$0.createElementVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1164 0v320a32 32 0 01-64 0z"},null,-1),_hoisted_4$1=require$$0.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"},null,-1),_hoisted_5=[_hoisted_2$7,_hoisted_3$6,_hoisted_4$1];function _sfc_render$9(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$8,_hoisted_5)}var circlePlus=_export_sfc(_sfc_main$9,[["render",_sfc_render$9]]);const _sfc_main$8=require$$0.defineComponent({name:"Delete"}),_hoisted_1$7={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$6=require$$0.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 010-64h256V95.936a32 32 0 0132-32h256a32 32 0 0132 32V192h256a32 32 0 110 64h-64v672a32 32 0 01-32 32H192a32 32 0 01-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32zm192 0a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32z"},null,-1),_hoisted_3$5=[_hoisted_2$6];function _sfc_render$8(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$7,_hoisted_3$5)}var _delete=_export_sfc(_sfc_main$8,[["render",_sfc_render$8]]);const _sfc_main$7=require$$0.defineComponent({name:"Edit"}),_hoisted_1$6={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$5=require$$0.createElementVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1164 0v352a32 32 0 01-32 32H160a32 32 0 01-32-32V160a32 32 0 0132-32h352a32 32 0 010 64H192v640h640V512z"},null,-1),_hoisted_3$4=require$$0.createElementVNode("path",{fill:"currentColor",d:"M469.952 554.24l52.8-7.552L847.104 222.4a32 32 0 10-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 010 135.808l-331.84 331.84a32 32 0 01-18.112 9.088L436.8 623.68a32 32 0 01-36.224-36.224l15.104-105.6a32 32 0 019.024-18.112l331.904-331.84a96 96 0 01135.744 0z"},null,-1),_hoisted_4=[_hoisted_2$5,_hoisted_3$4];function _sfc_render$7(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$6,_hoisted_4)}var edit=_export_sfc(_sfc_main$7,[["render",_sfc_render$7]]);const _sfc_main$6=require$$0.defineComponent({name:"InfoFilled"}),_hoisted_1$5={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$4=require$$0.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 110 896.064A448 448 0 01512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 01-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 017.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),_hoisted_3$3=[_hoisted_2$4];function _sfc_render$6(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$5,_hoisted_3$3)}var infoFilled=_export_sfc(_sfc_main$6,[["render",_sfc_render$6]]);const _sfc_main$5=require$$0.defineComponent({name:"Minus"}),_hoisted_1$4={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$3=require$$0.createElementVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"},null,-1),_hoisted_3$2=[_hoisted_2$3];function _sfc_render$5(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$4,_hoisted_3$2)}var minus=_export_sfc(_sfc_main$5,[["render",_sfc_render$5]]);const _sfc_main$4=require$$0.defineComponent({name:"Plus"}),_hoisted_1$3={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$2=require$$0.createElementVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"},null,-1),_hoisted_3$1=[_hoisted_2$2];function _sfc_render$4(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$3,_hoisted_3$1)}var plus=_export_sfc(_sfc_main$4,[["render",_sfc_render$4]]);const _sfc_main$3=require$$0.defineComponent({name:"Search"}),_hoisted_1$2={class:"icon",width:"200",height:"200",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},_hoisted_2$1=require$$0.createElementVNode("path",{fill:"currentColor",d:"M795.904 750.72l124.992 124.928a32 32 0 01-45.248 45.248L750.656 795.904a416 416 0 1145.248-45.248zM480 832a352 352 0 100-704 352 352 0 000 704z"},null,-1),_hoisted_3=[_hoisted_2$1];function _sfc_render$3(t,u,e,h,g,m){return require$$0.openBlock(),require$$0.createElementBlock("svg",_hoisted_1$2,_hoisted_3)}var search=_export_sfc(_sfc_main$3,[["render",_sfc_render$3]]);function registerIcon(t){t.component("el-icon-edit",edit),t.component("el-icon-minus",minus),t.component("el-icon-plus",plus),t.component("el-icon-info",infoFilled),t.component("el-icon-search",search),t.component("el-icon-circle-plus-outline",circlePlus),t.component("el-icon-delete",_delete),t.component("el-icon-arrow-down",arrowDown),t.component("el-icon-arrow-up",arrowUp)}if(typeof window<"u"){let t=function(){var u=document.body,e=document.getElementById("__svg__icons__dom__1768985734829__");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__1768985734829__",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-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>',u.insertBefore(e,u.firstChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}function addDirective(t){t.directive("drag",{mounted(u,e){if(!e.value)return!1;e.instance.$nextTick(()=>{const h=document.querySelector(e.value[0]),g=document.querySelector(e.value[1]);g.onmouseover=()=>g.style.cursor="move";function m(f,n){const c=n==="pc"?f.clientX-g.offsetLeft:f.touches[0].clientX-g.offsetLeft,o=n==="pc"?f.clientY-g.offsetTop:f.touches[0].clientY-g.offsetTop,s=document.body.clientWidth,i=document.documentElement.clientHeight,r=h.offsetWidth,l=h.offsetHeight,d=h.offsetLeft,p=s-h.offsetLeft-r,v=h.offsetTop,b=i-h.offsetTop-l;let w=getComputedStyle(h).left,y=getComputedStyle(h).top;return w.includes("%")?(w=+document.body.clientWidth*(+w.replace(/%/g,"")/100),y=+document.body.clientHeight*(+y.replace(/%/g,"")/100)):(w=+w.replace(/\px/g,""),y=+y.replace(/\px/g,"")),{disX:c,disY:o,minDragDomLeft:d,maxDragDomLeft:p,minDragDomTop:v,maxDragDomTop:b,styL:w,styT:y}}function a(f,n,c){let{disX:o,disY:s,minDragDomLeft:i,maxDragDomLeft:r,minDragDomTop:l,maxDragDomTop:d,styL:p,styT:v}=c,b=n==="pc"?f.clientX-o:f.touches[0].clientX-o,w=n==="pc"?f.clientY-s:f.touches[0].clientY-s;-b>i?b=-i:b>r&&(b=r),-w>l?w=-l:w>d&&(w=d),h.style.cssText+=`;left:${b+p}px;top:${w+v}px;`}g.onmousedown=f=>{const n=m(f,"pc");document.onmousemove=c=>{a(c,"pc",n)},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null}},g.ontouchstart=f=>{const n=m(f,"app");document.ontouchmove=c=>{a(c,"app",n)},document.ontouchend=()=>{document.ontouchmove=null,document.ontouchend=null}}})}}),t.directive("dialogDragWidth",{mounted(u,e){e.instance.$nextTick(()=>{const h=e.value.$el.querySelector(".el-dialog");u.onmousedown=g=>{const m=g.clientX-u.offsetLeft;document.onmousemove=function(a){a.preventDefault();const f=a.clientX-m;h.style.width=`${f}px`},document.onmouseup=function(a){document.onmousemove=null,document.onmouseup=null}}})}})}function _isSlot(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!require$$0.isVNode(t)}const createInputTextEditor=function(t,u){return{props:{optionModel:Object},render(e){return require$$0.createVNode(require$$0.resolveComponent("el-form-item"),{label:translate(u)},{default:()=>[require$$0.createVNode(require$$0.resolveComponent("el-input"),{type:"text",modelValue:this.optionModel[t],"onUpdate:modelValue":h=>this.optionModel[t]=h},null)]})}}},createBooleanEditor=function(t,u){return{props:{optionModel:Object},render(e){return require$$0.createVNode(require$$0.resolveComponent("el-form-item"),{label:translate(u)},{default:()=>[require$$0.createVNode(require$$0.resolveComponent("el-switch"),{modelValue:this.optionModel[t],"onUpdate:modelValue":h=>this.optionModel[t]=h},null)]})}}},createRadioButtonGroupEditor=function(t,u,e){return{props:{optionModel:Object},render(h){let g;return require$$0.createVNode(require$$0.resolveComponent("el-form-item"),{label:translate(u)},{default:()=>[require$$0.createVNode(require$$0.resolveComponent("el-radio-group"),{modelValue:this.optionModel[t],"onUpdate:modelValue":m=>this.optionModel[t]=m},_isSlot(g=e.optionItems.map(m=>require$$0.createVNode(require$$0.resolveComponent("el-radio-button"),{label:m.value},{default:()=>[m.label]})))?g:{default:()=>[g]})]})}}},createSelectEditor=function(t,u,e){return{props:{optionModel:Object},render(h){let g;return require$$0.createVNode(require$$0.resolveComponent("el-form-item"),{label:translate(u)},{default:()=>[require$$0.createVNode(require$$0.resolveComponent("el-select"),{modelValue:this.optionModel[t],"onUpdate:modelValue":m=>this.optionModel[t]=m},_isSlot(g=e.optionItems.map(m=>require$$0.createVNode(require$$0.resolveComponent("el-option"),{label:m.label,value:m.value},null)))?g:{default:()=>[g]})]})}}},createEventHandlerEditor=function(t,u){return{props:{optionModel:Object},mixins:[emitter],methods:{editEventHandler(){this.dispatch("SettingPanel","editEventHandler",[t,[...u]])}},render(e){let h;return require$$0.createVNode(require$$0.resolveComponent("el-form-item"),{label:t,"label-width":"150px"},{default:()=>[require$$0.createVNode(require$$0.resolveComponent("el-button"),{type:"info",icon:"el-icon-edit",plain:!0,round:!0,onClick:this.editEventHandler},_isSlot(h=translate("designer.setting.addEventHandler"))?h:{default:()=>[h]})]})}}},cardSchema={type:"card",category:"container",icon:"card",widgetList:[],options:{name:"",label:"card",hidden:!1,folded:!1,showFold:!0,cardWidth:"100%",shadow:"never",customClass:""}},alertSchema={type:"alert",icon:"alert",formItemFlag:!1,options:{name:"",title:"Good things are coming...",type:"info",description:"",closable:!0,closeText:"",center:!0,showIcon:!1,effect:"light",hidden:!1,onClose:"",customClass:""}},_sfc_main$2={name:"card-widget",componentName:"ContainerWidget",mixins:[i18n,containerMixin,refMixinDesign],inject:["refList"],components:{ContainerWrapper,...comps$1,ArrowDown:arrowDown,ArrowUp:arrowUp},props:{widget:Object,parentWidget:Object,parentList:Array,indexOfParentList:Number,designer:Object},computed:{selected(){return this.widget.id===this.designer.selectedId},customClass(){return this.widget.options.customClass||""}},created(){this.initRefList()},methods:{checkContainerMove(t){return!0},toggleCard(){this.widget.options.folded=!this.widget.options.folded},setFolded(t){this.widget.options.folded=!!t}}},_hoisted_1$1={class:"clear-fix"},_hoisted_2={class:"form-widget-list"};function _sfc_render$2(t,u,e,h,g,m){const a=require$$0.resolveComponent("ArrowDown"),f=require$$0.resolveComponent("el-icon"),n=require$$0.resolveComponent("ArrowUp"),c=require$$0.resolveComponent("draggable"),o=require$$0.resolveComponent("el-card"),s=require$$0.resolveComponent("container-wrapper");return require$$0.openBlock(),require$$0.createBlock(s,{designer:e.designer,widget:e.widget,"parent-widget":e.parentWidget,"parent-list":e.parentList,"index-of-parent-list":e.indexOfParentList},{default:require$$0.withCtx(()=>[(require$$0.openBlock(),require$$0.createBlock(o,{key:e.widget.id,class:require$$0.normalizeClass(["card-container",[m.selected?"selected":"",e.widget.options.folded?"folded":"",m.customClass]]),onClick:u[2]||(u[2]=require$$0.withModifiers(i=>t.selectWidget(e.widget),["stop"])),shadow:e.widget.options.shadow,style:require$$0.normalizeStyle({width:e.widget.options.cardWidth+"!important"||""})},{header:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_1$1,[require$$0.createElementVNode("span",null,require$$0.toDisplayString(e.widget.options.label),1),e.widget.options.showFold?(require$$0.openBlock(),require$$0.createElementBlock("i",{key:0,class:"float-right",onClick:u[0]||(u[0]=(...i)=>m.toggleCard&&m.toggleCard(...i))},[e.widget.options.folded?(require$$0.openBlock(),require$$0.createBlock(f,{key:1},{default:require$$0.withCtx(()=>[require$$0.createVNode(n)]),_:1})):(require$$0.openBlock(),require$$0.createBlock(f,{key:0},{default:require$$0.withCtx(()=>[require$$0.createVNode(a)]),_:1}))])):require$$0.createCommentVNode("",!0)])]),default:require$$0.withCtx(()=>[require$$0.createVNode(c,require$$0.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:u[1]||(u[1]=i=>t.onContainerDragAdd(i,e.widget.widgetList)),onUpdate:t.onContainerDragUpdate,move:m.checkContainerMove}),{item:require$$0.withCtx(({element:i,index:r})=>[require$$0.createElementVNode("div",_hoisted_2,[i.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(i.type+"-widget"),{widget:i,designer:e.designer,key:i.id,"parent-list":e.widget.widgetList,"index-of-parent-list":r,"parent-widget":e.widget},null,8,["widget","designer","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(i.type+"-widget"),{field:i,designer:e.designer,key:i.id,"parent-list":e.widget.widgetList,"index-of-parent-list":r,"parent-widget":e.widget,"design-state":!0},null,8,["field","designer","parent-list","index-of-parent-list","parent-widget"]))])]),_:1},16,["list","onUpdate","move"])]),_:1},8,["shadow","style","class"]))]),_:1},8,["designer","widget","parent-widget","parent-list","index-of-parent-list"])}const CardWidget=_export_sfc$1(_sfc_main$2,[["render",_sfc_render$2],["__scopeId","data-v-89e0bb6e"]]),_sfc_main$1={name:"card-item",componentName:"ContainerItem",mixins:[emitter,i18n,refMixin,containerItemMixin],components:{ContainerItemWrapper,...comps$1,ArrowDown:arrowDown,ArrowUp:arrowUp},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={class:"clear-fix"};function _sfc_render$1(t,u,e,h,g,m){const a=require$$0.resolveComponent("ArrowDown"),f=require$$0.resolveComponent("el-icon"),n=require$$0.resolveComponent("ArrowUp"),c=require$$0.resolveComponent("el-card"),o=require$$0.resolveComponent("container-item-wrapper");return require$$0.openBlock(),require$$0.createBlock(o,{widget:e.widget},{default:require$$0.withCtx(()=>[require$$0.withDirectives((require$$0.openBlock(),require$$0.createBlock(c,{key:e.widget.id,class:require$$0.normalizeClass(["card-container",[e.widget.options.folded?"folded":"",m.customClass]]),shadow:e.widget.options.shadow,style:require$$0.normalizeStyle({width:e.widget.options.cardWidth+"!important"||""}),ref:e.widget.id},{header:require$$0.withCtx(()=>[require$$0.createElementVNode("div",_hoisted_1,[require$$0.createElementVNode("span",null,require$$0.toDisplayString(e.widget.options.label),1),e.widget.options.showFold?(require$$0.openBlock(),require$$0.createElementBlock("i",{key:0,class:"float-right",onClick:u[0]||(u[0]=(...s)=>m.toggleCard&&m.toggleCard(...s))},[e.widget.options.folded?(require$$0.openBlock(),require$$0.createBlock(f,{key:1},{default:require$$0.withCtx(()=>[require$$0.createVNode(n)]),_:1})):(require$$0.openBlock(),require$$0.createBlock(f,{key:0},{default:require$$0.withCtx(()=>[require$$0.createVNode(a)]),_:1}))])):require$$0.createCommentVNode("",!0)])]),default:require$$0.withCtx(()=>[e.widget.widgetList&&e.widget.widgetList.length>0?(require$$0.openBlock(!0),require$$0.createElementBlock(require$$0.Fragment,{key:0},require$$0.renderList(e.widget.widgetList,(s,i)=>(require$$0.openBlock(),require$$0.createElementBlock(require$$0.Fragment,null,[s.category==="container"?(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(t.getComponentByContainer(s)),{widget:s,key:i,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),r=>({name:r,fn:require$$0.withCtx(l=>[require$$0.renderSlot(t.$slots,r,require$$0.mergeProps({ref_for:!0},l),void 0,!0)])}))]),1032,["widget","parent-list","index-of-parent-list","parent-widget"])):(require$$0.openBlock(),require$$0.createBlock(require$$0.resolveDynamicComponent(s.type+"-widget"),{field:s,designer:null,key:i,"parent-list":e.widget.widgetList,"index-of-parent-list":i,"parent-widget":e.widget},require$$0.createSlots({_:2},[require$$0.renderList(Object.keys(t.$slots),r=>({name:r,fn:require$$0.withCtx(l=>[require$$0.renderSlot(t.$slots,r,require$$0.mergeProps({ref_for:!0},l),void 0,!0)])}))]),1032,["field","parent-list","index-of-parent-list","parent-widget"]))],64))),256)):require$$0.createCommentVNode("",!0)]),_:3},8,["class","shadow","style"])),[[require$$0.vShow,!e.widget.options.hidden]])]),_:3},8,["widget"])}const CardItem=_export_sfc$1(_sfc_main$1,[["render",_sfc_render$1],["__scopeId","data-v-2d068759"]]),cardTemplateGenerator=function(t,u){const e=t.options,h=buildClassAttr(t),g=e.cardWidth?`style="{width: ${e.cardWidth} !important}"`:"",m=`shadow="${e.shadow}"`,a=e.hidden?'v-show="false"':"";return`<div class="card-container">
|
|
1637
1637
|
<el-card ${h} ${g} ${m} ${a}>
|
|
1638
1638
|
<template #header>
|
|
1639
1639
|
<div class="clear-fix">
|