asiaint-lowcode 3.0.42 → 3.0.43
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/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/lazy/{Card-S2rqo_c1.js → Card-Cx1rB0tl.js} +1 -1
- package/dist/lazy/{Cascader-B6o29F5o.js → Cascader-DdgT8tFF.js} +17 -16
- package/dist/lazy/{Checkbox-DkV1ImsU.js → Checkbox-Dtkkh9Gx.js} +3 -2
- package/dist/lazy/{Collapse-BtnFY-rS.js → Collapse-CSJWqhsm.js} +1 -1
- package/dist/lazy/{Component-Bs3NxQX9.js → Component-AmEqB4EM.js} +1 -1
- package/dist/lazy/{Component-Czzp1aIm.js → Component-Brp-M4tP.js} +1 -1
- package/dist/lazy/{Component-D_nNEscB.js → Component-CiyYoRt-.js} +1 -1
- package/dist/lazy/{Component-DL_1RCsk.js → Component-CloUlJKd.js} +1 -1
- package/dist/lazy/{Component-Bec8N2fA.js → Component-DdbQ2F7j.js} +1 -1
- package/dist/lazy/{Component-D1zd9pWu.js → Component-K5RHB18A.js} +1 -1
- package/dist/lazy/{CurdCard-BtTbeVIr.js → CurdCard-DXN8f15n.js} +1 -1
- package/dist/lazy/{Custom-DEeXXg0w.js → Custom-BjtQbgLZ.js} +1 -1
- package/dist/lazy/{FormList-gRNISlkD.js → FormList-CKu2xEIy.js} +1 -1
- package/dist/lazy/{Grid-DrM36LeN.js → Grid-Dah341P3.js} +1 -1
- package/dist/lazy/{Inline-Db1FhCHc.js → Inline-BI7-RiWN.js} +1 -1
- package/dist/lazy/{JsonEdit-CXcrgpCE.js → JsonEdit-DhZA11Xp.js} +1 -1
- package/dist/lazy/{ObjGroup-DX5wa0mU.js → ObjGroup-Lg3mSE-G.js} +1 -1
- package/dist/lazy/{OfferDetails-Bhl0m0ui.js → OfferDetails-BN4Z78Jv.js} +1 -1
- package/dist/lazy/{Radio-BLsE0Zq8.js → Radio-BnQon4Sb.js} +3 -2
- package/dist/lazy/{SearchSelect-DY44BK9I.js → SearchSelect-Cbr_le01.js} +4 -3
- package/dist/lazy/{Select-C9BLuT_m.js → Select-ckEb1L0e.js} +4 -3
- package/dist/lazy/{Table-Cui8PTFW.js → Table-cUJN19Rl.js} +1 -1
- package/dist/lazy/{Tabs-Csj6YLqB.js → Tabs-BZnPpFDy.js} +1 -1
- package/dist/lazy/{Wrapper-B5YrhtF1.js → Wrapper-BLyu-6_4.js} +1 -1
- package/dist/lazy/{index-Bf2453Vt.js → index-BWcLZ1NF.js} +24 -24
- package/dist/lazy/useSelect-3Fv1qsZj.js +61 -0
- package/package.json +1 -1
- package/dist/lazy/useSelect-DqN6kHl2.js +0 -61
|
@@ -77,7 +77,7 @@ You passed in: '`+this.raw_options[o]+"'");return l},n.prototype._is_valid_selec
|
|
|
77
77
|
`+g)}p&&(y?y=p+y+`
|
|
78
78
|
`+a:y=p+a),_.print_newline(!1),y&&(I.text=y,I.whitespace_before="",I.newlines=0,_.add_raw_token(I),_.print_newline(!0))}},P.prototype._handle_tag_open=function(_,I,G,k,y){var C=this._get_tag_open_token(I);if((G.is_unformatted||G.is_content_unformatted)&&!G.is_empty_element&&I.type===o.TAG_OPEN&&!C.is_start_tag?(_.add_raw_token(I),C.start_tag_token=this._tag_stack.try_pop(C.tag_name)):(_.traverse_whitespace(I),this._set_tag_position(_,I,C,G,k),C.is_inline_element||_.set_wrap_point(),_.print_token(I)),C.is_start_tag&&this._is_wrap_attributes_force){var d=0,p;do p=y.peek(d),p.type===o.ATTRIBUTE&&(C.attr_count+=1),d+=1;while(p.type!==o.EOF&&p.type!==o.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(C.alignment_size=I.text.length+1),!C.tag_complete&&!C.is_unformatted&&(_.alignment_size=C.alignment_size),C};var z=function(_,I){if(this.parent=_||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!I)this.tag_complete=!0;else{var G;this.tag_start_char=I.text[0],this.text=I.text,this.tag_start_char==="<"?(G=I.text.match(/^<([^\s>]*)/),this.tag_check=G?G[1]:""):(G=I.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=G?G[1]:"",(I.text.startsWith("{{#>")||I.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&I.next!==null?this.tag_check=I.next.text.split(" ")[0]:this.tag_check=I.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),I.type===o.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||I.closed&&I.closed.text==="/>";var k=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(k=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(k)))}};P.prototype._get_tag_open_token=function(_){var I=new z(this._tag_stack.get_parser_token(),_);return I.alignment_size=this._options.wrap_attributes_indent_size,I.is_end_tag=I.is_end_tag||f(I.tag_check,this._options.void_elements),I.is_empty_element=I.tag_complete||I.is_start_tag&&I.is_end_tag,I.is_unformatted=!I.tag_complete&&f(I.tag_check,this._options.unformatted),I.is_content_unformatted=!I.is_empty_element&&f(I.tag_check,this._options.content_unformatted),I.is_inline_element=f(I.tag_name,this._options.inline)||this._options.inline_custom_elements&&I.tag_name.includes("-")||I.tag_start_char==="{",I},P.prototype._set_tag_position=function(_,I,G,k,y){if(G.is_empty_element||(G.is_end_tag?G.start_tag_token=this._tag_stack.try_pop(G.tag_name):(this._do_optional_end_element(G)&&(G.is_inline_element||_.print_newline(!1)),this._tag_stack.record_tag(G),(G.tag_name==="script"||G.tag_name==="style")&&!(G.is_unformatted||G.is_content_unformatted)&&(G.custom_beautifier_name=S(G.tag_check,I)))),f(G.tag_check,this._options.extra_liners)&&(_.print_newline(!1),_._output.just_added_blankline()||_.print_newline(!0)),G.is_empty_element){if(G.tag_start_char==="{"&&G.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),G.indent_content=!0;var C=_.current_line_has_match(/{{#if/);C||_.print_newline(!1)}G.tag_name==="!--"&&y.type===o.TAG_CLOSE&&k.is_end_tag&&G.text.indexOf(`
|
|
79
79
|
`)===-1||(G.is_inline_element||G.is_unformatted||_.print_newline(!1),this._calcluate_parent_multiline(_,G))}else if(G.is_end_tag){var d=!1;d=G.start_tag_token&&G.start_tag_token.multiline_content,d=d||!G.is_inline_element&&!(k.is_inline_element||k.is_unformatted)&&!(y.type===o.TAG_CLOSE&&G.start_tag_token===k)&&y.type!=="TK_CONTENT",(G.is_content_unformatted||G.is_unformatted)&&(d=!1),d&&_.print_newline(!1)}else G.indent_content=!G.custom_beautifier_name,G.tag_start_char==="<"&&(G.tag_name==="html"?G.indent_content=this._options.indent_inner_html:G.tag_name==="head"?G.indent_content=this._options.indent_head_inner_html:G.tag_name==="body"&&(G.indent_content=this._options.indent_body_inner_html)),!(G.is_inline_element||G.is_unformatted)&&(y.type!=="TK_CONTENT"||G.is_content_unformatted)&&_.print_newline(!1),this._calcluate_parent_multiline(_,G)},P.prototype._calcluate_parent_multiline=function(_,I){I.parent&&_._output.just_added_newline()&&!((I.is_inline_element||I.is_unformatted)&&I.parent.is_inline_element)&&(I.parent.multiline_content=!0)};var K=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],U=["a","audio","del","ins","map","noscript","video"];return P.prototype._do_optional_end_element=function(_){var I=null;if(!(_.is_empty_element||!_.is_start_tag||!_.parent)){if(_.tag_name==="body")I=I||this._tag_stack.try_pop("head");else if(_.tag_name==="li")I=I||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(_.tag_name==="dd"||_.tag_name==="dt")I=I||this._tag_stack.try_pop("dt",["dl"]),I=I||this._tag_stack.try_pop("dd",["dl"]);else if(_.parent.tag_name==="p"&&K.indexOf(_.tag_name)!==-1){var G=_.parent.parent;(!G||U.indexOf(G.tag_name)===-1)&&(I=I||this._tag_stack.try_pop("p"))}else _.tag_name==="rp"||_.tag_name==="rt"?(I=I||this._tag_stack.try_pop("rt",["ruby","rtc"]),I=I||this._tag_stack.try_pop("rp",["ruby","rtc"])):_.tag_name==="optgroup"?I=I||this._tag_stack.try_pop("optgroup",["select"]):_.tag_name==="option"?I=I||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):_.tag_name==="colgroup"?I=I||this._tag_stack.try_pop("caption",["table"]):_.tag_name==="thead"?(I=I||this._tag_stack.try_pop("caption",["table"]),I=I||this._tag_stack.try_pop("colgroup",["table"])):_.tag_name==="tbody"||_.tag_name==="tfoot"?(I=I||this._tag_stack.try_pop("caption",["table"]),I=I||this._tag_stack.try_pop("colgroup",["table"]),I=I||this._tag_stack.try_pop("thead",["table"]),I=I||this._tag_stack.try_pop("tbody",["table"])):_.tag_name==="tr"?(I=I||this._tag_stack.try_pop("caption",["table"]),I=I||this._tag_stack.try_pop("colgroup",["table"]),I=I||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(_.tag_name==="th"||_.tag_name==="td")&&(I=I||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),I=I||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return _.parent=this._tag_stack.get_parser_token(),I}},pa.Beautifier=P,pa}var Sg;function dC(){if(Sg)return Bs.exports;Sg=1;var n=uC().Beautifier,A=vg().Options;function e(o,Q,D,l){var b=new n(o,Q,D,l);return b.beautify()}return Bs.exports=e,Bs.exports.defaultOptions=function(){return new A},Bs.exports}var xg;function hC(){if(xg)return ho;xg=1;var n=lC(),A=gC(),e=dC();function o(Q,D,l,b){return l=l||n,b=b||A,e(Q,D,l,b)}return o.defaultOptions=e.defaultOptions,ho.js=n,ho.css=A,ho.html=o,ho}(function(n){function A(e,o,Q){var D=function(l,b){return e.js_beautify(l,b)};return D.js=e.js_beautify,D.css=o.css_beautify,D.html=Q.html_beautify,D.js_beautify=e.js_beautify,D.css_beautify=o.css_beautify,D.html_beautify=Q.html_beautify,D}(function(e){var o=hC();o.js_beautify=o.js,o.css_beautify=o.css,o.html_beautify=o.html,e.exports=A(o,o,o)})(n)})(tg);var pC=tg.exports,BC=oC(pC),Fg=function(){function n(A){var e=this;this.isDisabled=function(){var o=["BUTTON","COMMAND","FIELDSET","KEYGEN","OPTGROUP","OPTION","SELECT","TEXTAREA","INPUT"],Q=e.attributes().disabled!==void 0,D=go(e.element)&&o.includes(e.element.tagName);return Q&&D},this.wrapperElement=A}return Object.defineProperty(n.prototype,"element",{get:function(){return this.wrapperElement},enumerable:!1,configurable:!0}),n.prototype.findAllDOMElements=function(A){var e=this.getRootNodes().filter(go);if(e.length===0)return[];var o=Kc([],e.filter(function(Q){return Q.matches(A)}));return e.forEach(function(Q){o.push.apply(o,Array.from(Q.querySelectorAll(A)))}),o},n.prototype.find=function(A){if(typeof A=="object"&&"ref"in A){var e=this.getCurrentComponent();if(!e)return On("DOMWrapper");var o=e.refs[A.ref];return Array.isArray(o)&&(o=o.length?o[0]:void 0),o instanceof Node?uo(o):On("DOMWrapper")}var Q=this.findAll(A);return Q.length>0?Q[0]:On("DOMWrapper")},n.prototype.findComponent=function(A){var e=this.getCurrentComponent();if(!e)return On("VueWrapper");if(typeof A=="object"&&"ref"in A){var o=e.refs[A.ref];return Array.isArray(o)&&(o=o.length?o[0]:void 0),o&&!(o instanceof HTMLElement)?qr(null,o):On("VueWrapper")}if(Vc(e.vnode,A)&&this.element.contains(e.vnode.el))return qr(null,e.subTree.component?e.subTree.component.proxy:e.proxy);var Q=this.findAllComponents(A)[0];return Q??On("VueWrapper")},n.prototype.findAllComponents=function(A){var e=this.getCurrentComponent();if(!e)return[];var o=eC(e.subTree,A);return o.map(function(Q){return Q.proxy?qr(null,Q.proxy):uo(Q.vnode.el)})},n.prototype.html=function(A){var e=this.getRootNodes().map(function(o){return iC(o)});return A!=null&&A.raw?e.join(""):e.map(function(o){return BC.html(o,{unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_size:2,inline_custom_elements:!1})}).join(`
|
|
80
|
-
`)},n.prototype.classes=function(A){var e=go(this.element)?Array.from(this.element.classList):[];return A?e.includes(A):e},n.prototype.attributes=function(A){var e={};if(go(this.element))for(var o=Array.from(this.element.attributes),Q=0,D=o;Q<D.length;Q++){var l=D[Q];e[l.localName]=l.value}return A?e[A]:e},n.prototype.text=function(){return this.getRootNodes().map(RB).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(A){var e=this.find(A);if(e.exists())return e;throw new Error("Unable to get ".concat(A," within: ").concat(this.html()))},n.prototype.getComponent=function(A){var e=this.findComponent(A);if(e.exists())return e;var o="Unable to get ";throw typeof A=="string"?o+="component with selector ".concat(A):"name"in A?o+="component with name ".concat(A.name):"ref"in A?o+="component with ref ".concat(A.ref):o+="specified component",o+=" within: ".concat(this.html()),new Error(o)},n.prototype.isVisible=function(){return go(this.element)&&Ag(this.element)},n.prototype.trigger=function(A,e){return zr(this,void 0,void 0,function(){var o;return Wr(this,function(Q){if(e&&e.target)throw Error("[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html");return this.element&&!this.isDisabled()&&(o=ZB(A,e),o._vts=Date.now()+1,this.element.dispatchEvent(o)),[2,t.nextTick()]})})},n}(),CC=function(n){Pc(A,n);function A(e){var o=this;return e?(o=n.call(this,e)||this,Tc.plugins.DOMWrapper.extend(o),o):On("DOMWrapper")}return A.prototype.getRootNodes=function(){return[this.wrapperElement]},A.prototype.getCurrentComponent=function(){for(var e,o=this.element.__vueParentComponent;((e=o==null?void 0:o.parent)===null||e===void 0?void 0:e.vnode.el)===this.element;)o=o.parent;return o},A.prototype.find=function(e){var o=n.prototype.find.call(this,e);return o.exists()&&HB(e)?this.element.contains(o.element)?o:On("DOMWrapper"):o},A.prototype.findAll=function(e){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(e),uo):[]},A.prototype.findAllComponents=function(e){var o=this,Q=n.prototype.findAllComponents.call(this,e);return Q.filter(function(D){return o.element.contains(D.element)})},A.prototype.setChecked=function(){return zr(this,arguments,void 0,function(e){var o,Q;return e===void 0&&(e=!0),Wr(this,function(D){if(o=this.element,Q=this.attributes().type,Q==="radio"&&!e)throw Error(`wrapper.setChecked() cannot be called with parameter false on a '<input type="radio" /> element.`);return e===o.checked?[2]:(o.checked=e,this.trigger("input"),[2,this.trigger("change")])})})},A.prototype.setValue=function(e){var o=this.element,Q=o.tagName,D=this.attributes().type;if(Q==="OPTION")return this.setSelected(),Promise.resolve();if(Q==="INPUT"&&D==="checkbox")return this.setChecked(e);if(Q==="INPUT"&&D==="radio")return this.setChecked(e);if(Q==="SELECT"){if(Array.isArray(e))for(var l=o,b=0;b<l.options.length;b++){var S=l.options[b];S.selected=e.includes(S.value)}else o.value=e;return this.trigger("input"),this.trigger("change")}else{if(Q==="INPUT"||Q==="TEXTAREA")return o.value=e,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(Q))}},A.prototype.setSelected=function(){var e=this.element;if(!e.selected){e.selected=!0;var o=e.parentElement;o.tagName==="OPTGROUP"&&(o=o.parentElement);var Q=new A(o);return Q.trigger("input"),Q.trigger("change")}},A}(Fg);eg(xi.DOMWrapper,function(n){return new CC(n)});function Es(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var A=n.component.subTree;return Es(A)}else{if(n.shapeFlag&128)return Es(n.suspense.activeBranch);if(n.shapeFlag&72){var e=[n.el];if(n.anchor)for(var o=e[0].nextSibling;o&&o.previousSibling!==n.anchor;)e.push(o),o=o.nextSibling;return e}else if(n.shapeFlag&16){var Q=n.children.flat();return Q.flatMap(function(D){return Es(D)}).filter(GB)}}return[]}var ai={};function EC(n,A){var e=n.$.uid,o=ai[e]||{};return A?o?o[A]:void 0:o}var QC=function(n,A,e){for(var o=n;typeof(o==null?void 0:o.type)=="function";)o=o.parent;var Q=o.uid;Q in ai||(ai[Q]={}),A in ai[Q]||(ai[Q][A]=[]),ai[Q][A].push(e)},mC=function(n){var A=n.$.uid;delete ai[A]};function IC(n,A){return new Proxy(n,{get:function(e,o,Q){return e.$.exposed&&e.$.exposeProxy&&o in e.$.exposeProxy?Reflect.get(e.$.exposeProxy,o,Q):o in A?Reflect.get(A,o,Q):o in e.$.appContext.config.globalProperties?Reflect.get(e.$.appContext.config.globalProperties,o,Q):e.$.ctx[o]},set:function(e,o,Q,D){return o in A?Reflect.set(A,o,Q,D):Reflect.set(e,o,Q,D)},has:function(e,o){return Reflect.has(A,o)||Reflect.has(e,o)},defineProperty:function(e,o,Q){return o in A?Reflect.defineProperty(A,o,Q):Reflect.defineProperty(e,o,Q)},getOwnPropertyDescriptor:function(e,o){return o in A?Reflect.getOwnPropertyDescriptor(A,o):Reflect.getOwnPropertyDescriptor(e,o)},deleteProperty:function(e,o){return o in A?Reflect.deleteProperty(A,o):Reflect.deleteProperty(e,o)}})}var fC=function(n){Pc(A,n);function A(e,o,Q){var D=n.call(this,o==null?void 0:o.$el)||this;return D.cleanUpCallbacks=[],D.__app=e,D.rootVM=o==null?void 0:o.$root,PB(o)?D.componentVM=IC(o,o.$.setupState):D.componentVM=o,D.__setProps=Q,D.attachNativeEventListener(),Tc.plugins.VueWrapper.extend(D),D}return Object.defineProperty(A.prototype,"hasMultipleRoots",{get:function(){var e=function(o){var Q;if(o.shapeFlag===16)return!0;if(o.shapeFlag&4||o.shapeFlag&2){if(!((Q=o.component)===null||Q===void 0)&&Q.subTree)return e(o.component.subTree);if(o.shapeFlag&16)return!0}return!1};return e(this.vm.$.subTree)},enumerable:!1,configurable:!0}),A.prototype.getRootNodes=function(){return Es(this.vm.$.vnode)},Object.defineProperty(A.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),A.prototype.getCurrentComponent=function(){return this.vm.$},A.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},A.prototype.findAll=function(e){return this.findAllDOMElements(e).map(uo)},A.prototype.attachNativeEventListener=function(){var e=this.vm;if(e){var o=e.$options.emits?Array.isArray(e.$options.emits)?e.$options.emits:Object.keys(e.$options.emits):[],Q=this.getRootNodes().filter(function(L){return L instanceof Element});if(Q.length===1)for(var D=Q[0],l=function(L){if(o.includes(L))return"continue";var P=function(){for(var z=[],K=0;K<arguments.length;K++)z[K]=arguments[K];QC(e.$,L,z)};D.addEventListener(L,P),b.cleanUpCallbacks.push(function(){D.removeEventListener(L,P)})},b=this,S=0,f=Object.keys(Oc);S<f.length;S++){var x=f[S];l(x)}}},Object.defineProperty(A.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),A.prototype.props=function(e){var o=this.componentVM.$props;return e?o[e]:o},A.prototype.emitted=function(e){return EC(this.vm,e)},A.prototype.isVisible=function(){var e=uo(this.element);return e.isVisible()},A.prototype.setData=function(e){return Yc(this.componentVM.$data,e),t.nextTick()},A.prototype.setProps=function(e){if(this.vm.$parent!==this.rootVM||!this.__setProps)throw Error("You can only use setProps on your mounted component");return this.__setProps(e),t.nextTick()},A.prototype.setValue=function(e,o){var Q=o||"modelValue";return this.vm.$emit("update:".concat(Q),e),this.vm.$nextTick()},A.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");mC(this.vm),this.cleanUpCallbacks.forEach(function(e){return e()}),this.cleanUpCallbacks=[],this.__app.unmount()},A}(Fg);eg(xi.VueWrapper,function(n,A,e){return new fC(n,A,e)});var wC={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};t.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,A,e,o=t.computed(function(){return wC}),Q=(e=(A=this.$slots)===null||A===void 0?void 0:A.default)===null||e===void 0?void 0:e.call(A,{route:o,href:t.computed(function(){return o.value.href}),isActive:t.computed(function(){return!1}),isExactActive:t.computed(function(){return!1}),navigate:function(){return zr(n,void 0,void 0,function(){return Wr(this,function(D){return[2]})})}});return this.custom?Q:t.h("a",void 0,Q)}}),typeof setImmediate=="function"&&setImmediate;const cn=Symbol(),Ng=Symbol(),Rg=Symbol(),Lg={zh:{menus:{basicTitle:"基础组件",highTitle:"高级组件",layoutTitle:"布局组件",assistTitle:"辅助组件",useTemplateBtn:"使用模板"},actions:{previewJson:"生成JSON Schema",previewVueCode:"生成VUE代码",previewForm:"预览表单",clear:"清空",save:"保存"},canvas:{emptyTip:"请从左侧拖拽字段来组成表单",wrapperEmptyTip:"请拖入子字段"},attr:{tab1:{title:"字段配置",emptyTip:"未选中字段",linkage:{text:"联动",action1:"配置联动",action2:"数据联动"}},tab2:{title:"表单设置"}}},en:{menus:{basicTitle:"Basic Fields",highTitle:"High Basic Fields",layoutTitle:"Layout Fields",assistTitle:"Assist Fields",useTemplateBtn:"Use Template"},actions:{previewJson:"Preview JSON Script",previewVueCode:"Generate VUE code",previewForm:"Preview Form",clear:"Clear",save:"Save"},canvas:{emptyTip:"Please drag and drop fields from the left to form a form",wrapperEmptyTip:"Please drag in a subfield"},attr:{tab1:{title:"Field Configuration",emptyTip:"No field selected",linkage:{text:"Linkage",action1:"Configuration Item Linkage",action2:"Value Linkage"}},tab2:{title:"Form Settings"}}}},Qs=[{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"FormList",hidden:'{{$values.props.mode!=="static"}}',children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"value",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'},{label:"是否禁用",name:"disabled",component:"Switch",designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{component:"Title",props:{title:"请求",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"url",component:"Input",name:"props.api.url",initialValue:"https://apifoxmock.com/m1/5213940-4880280-default/options/test",designKey:"form-UrE8"},{label:"请求方式",component:"Select",name:"props.api.method",initialValue:"GET",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{component:"Title",props:{title:"响应",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"},{label:"标签key",component:"Input",name:"props.labelKey",initialValue:"label",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",initialValue:"value",designKey:"form-STkl"},{label:"禁用Key",component:"Input",name:"props.disabledKey",initialValue:"disabled",designKey:"form-STkl2"}]}],DC=[{name:"addB2b",schema:{labelWidth:150,labelPosition:"top",size:"default",scrollToError:!0,items:[{props:{title:"Basic Information",type:"h3",italic:!1},hideLabel:!0,component:"Title",designKey:"design-HvAF",name:"form-95DJ",hidden:!1},{props:{columns:1,columnGap:20,rowGap:20},component:"Grid",designKey:"design-rbQd",name:"form-n2CG",children:[{component:"Input",designKey:"design-OrTD",name:"companyName",label:"Company Name",props:{placeholder:""},required:!0}]},{props:{columns:3,columnGap:20,rowGap:20},component:"Grid",designKey:"design-qjn5",name:"form-OKLN",children:[{component:"Input",designKey:"design-1RWu",name:"status",label:"Status",props:{placeholder:""},required:!0},{component:"Input",designKey:"design-EkEJ",name:"shortName",label:"Short Name",props:{placeholder:""}},{component:"SearchInput",designKey:"design-e0wN",name:"segment",label:"Segment",props:{placeholder:""}},{label:"Company Type",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-qEnj",name:"companyType",required:!0},{label:"Missing KOB number Reason",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-hG6w",name:"form-N6hN",required:!0},{component:"Input",designKey:"design-JtbY",name:"kobNumber",label:"KOB Number",props:{placeholder:""}},{label:"Employee Number Range",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-onze",name:"enr"},{component:"Input",designKey:"design-r2BA",name:"eq",label:"Employee Quantity",props:{placeholder:""}},{component:"Input",designKey:"design-3rwV",name:"postCode",label:"Postcode",props:{placeholder:""},required:!0},{label:"Category",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-pWTp",name:"category"},{label:"Subsegment",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-4ew9",name:"subsegment"},{component:"Input",designKey:"design-IWXo",name:"rc",label:"Registered Capital",props:{placeholder:""}},{component:"Input",designKey:"design-wof2",name:"cvrNo",label:"CVR No.",props:{placeholder:""}},{label:"Preferred Language",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-Nzpd",name:"preferredL"},{component:"Input",designKey:"design-tLOd",name:"cp",label:"Customer Password",props:{placeholder:""}},{label:"Credit Level",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-a0Lk",name:"creditLevel"},{component:"Input",designKey:"design-fSNI",name:"creditLimit",label:"Credit Limit",props:{placeholder:""}},{label:"Stop Payment Fee",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-mEmC",name:"spf"}]},{component:"Input",designKey:"design-lJM5",name:"website",label:"Website",props:{placeholder:"",style:{width:"62%"}}},{component:"TextArea",designKey:"design-skC4",name:"remarks",label:"Remarks",props:{placeholder:"请输入...",autosize:{minRows:4,maxRows:999}}}]},id:"addB2b"},{name:"自增组件",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"增添管理员",name:"vip",component:"Switch",props:{"inline-prompt":!1},designKey:"design-kVO2111",change:[{target:"users.*.vip",condition:"{{ $values.vip }}",value:1}]},{label:"增添用户",component:"FormList",children:[{label:"用户名",component:"Input",props:{placeholder:""},designKey:"design-M91n",name:"username",change:[{target:"users.[].vip",condition:'{{ $item.username.includes("admin") }}',value:1}]},{label:"密码",component:"Input",props:{placeholder:"请输入密码"},designKey:"design-kVO2",name:"password"},{label:"设为管理员",component:"Switch",designKey:"design-jC1O",name:"vip",props:{"inline-prompt":!1,"active-value":1,"inactive-value":0}}],props:{mode:"table"},designKey:"design-pMUa",name:"users"}]},id:"formList"},{name:"值联动",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"字段1",component:"Input",props:{placeholder:"请输入..."},designKey:"form-NASi",name:"item1",change:[{target:"item2",value:"{{$values.item1 * 2}}"},{target:"item3",value:"{{$values.item1 + '元'}}"}]},{label:"字段2",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Nasd",name:"item2"},{label:"字段3",component:"Input",props:{placeholder:"请输入..."},designKey:"form-KI1N",name:"item3"}]},id:"valueLinkage"}],bC="vfc",ke=(n="")=>`${bC}-${n}`,Ca=(n,A)=>n.reduce((e,o)=>{if(o.designKey===A)return o;if(o.children){const Q=Ca(o.children,A);if(Q)return Q}return e},null),Gg=(n,A)=>n.map(e=>e.designKey===A.designKey?A:e.children?{...e,children:Gg(e.children,A)}:e),Hg=n=>n.map(A=>{const e={...Oe.cloneDeep(A),designKey:`form-${Yn(4)}`,name:Yn(8)};return A.children&&(e.children=Hg(A.children)),e}),Pg=(n,A)=>n.reduce((e,o)=>{var Q;if(o.children?e.push({...o,children:Pg(o.children,A)}):e.push(o),o.designKey===A){const D={...Oe.cloneDeep(o),designKey:`form-${Yn(4)}`,name:`${o.name}-${Yn(2)}`};o.children&&(D.children=Hg(o.children)),o.label&&!((Q=D.label)!=null&&Q.includes("copy"))&&(D.label=D.label+" copy"),e.push(D)}return e},[]),Kg=n=>n.map(A=>{if(!A.render)return A;const e={component:A.component,designKey:A.designKey||`design-${Yn(4)}`,name:A.name||`form-${Yn(4)}`};return A.children&&(e.children=Kg(A.children)),e}),ut=()=>{const n=t.reactive({schema:{items:[]},schemaContext:{},design:!1,footer:!1,read:!1,pageRulePath:"",formValues:{},selectData:{},initialValues:{},context:{},vCodePass:!1,updateFormValues:()=>{},updateSelectData:()=>{},updateInitialValues:()=>{},updateVCodePass:()=>{},validate:()=>Promise.reject(),resetFields:()=>{},submit:()=>{},findItemByName:()=>null});return t.inject(Ng,n)},yC=()=>{const{fetchOptionsFn:n}=t.inject(cn);return n},Bo=n=>{const A=ut(),e=yC(),o=t.ref([]),Q=t.ref(!1),D=Oe.debounce(async()=>{if(e&&n.apiParams&&!Object.values(n.apiParams).some(f=>f===void 0)){Q.value=!0;try{const f=await e({formItemProps:t.toRaw(n),formSchema:t.toRaw(A.schema)});if(o.value=[...o.value,...f],n.name){const x=is(A.schema.items,n.name);x&&x.props&&(x.props.options=o.value)}}finally{Q.value=!1}}},300);t.onMounted(()=>{const{mode:f,options:x=[]}=n;f==="static"&&(o.value=x),f==="remote"&&D()}),t.watch(()=>n.apiParams,(f,x)=>{Oe.isEqual(f,x)||(o.value=[],D())}),t.watch(()=>n.options,(f=[])=>{n.mode==="static"&&(o.value=f)}),t.watch(()=>n.mode,f=>{f==="static"&&(o.value=n.options||[]),f==="remote"&&(o.value=[],D())});const{mode:l,dependentFields:b}=n;if(l==="remote"&&Array.isArray(b))for(const f of b)t.watch(()=>A.formValues[f],(x,L)=>{D()});return{selectChange:f=>{const{valueKey:x="value",multiple:L,name:P}=n;let z={};L&&Array.isArray(f)?z=o.value.filter(K=>f.includes(K[x])):z=o.value.find(K=>K[x]===f)||{},A.selectData&&P&&A.updateSelectData(P,z)},currentOptions:o,loading:Q,fetchData:D}};function Ea(){const n=t.inject(cn),A=t.inject("asiaint-lang",t.ref("zh"));return n!=null&&n.lang?t.ref(n.lang):A}function $n(){const n=Ea();return t.computed(()=>Lg[(n==null?void 0:n.value)||"en"])}const ZA=(n,A)=>{const e=n.__vccOpts||n;for(const[o,Q]of A)e[o]=Q;return e},vC={},kC={t:"1745908115116",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4619",width:"200",height:"200"};function _C(n,A){return t.openBlock(),t.createElementBlock("svg",kC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M0 128a128 128 0 0 1 128-128h768a128 128 0 0 1 128 128v768a128 128 0 0 1-128 128H128a128 128 0 0 1-128-128V128z m128-64a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128a64 64 0 0 0-64-64H128z",fill:"#18AAF8","p-id":"4620"},null,-1),t.createElementVNode("path",{d:"M576 224a32 32 0 0 0-32-32h-64a32 32 0 0 0-32 32v576a32 32 0 0 0 32 32h64a32 32 0 0 0 32-32v-576z",fill:"#18AAF8","p-id":"4621"},null,-1),t.createElementVNode("path",{d:"M224 448a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32h-576z",fill:"#18AAF8","p-id":"4622"},null,-1)]))}const MC=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(vC,[["render",_C]])},Symbol.toStringTag,{value:"Module"})),SC={},xC={t:"1704896187350",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5332",width:"200",height:"200"};function FC(n,A){return t.openBlock(),t.createElementBlock("svg",xC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M512 958.016611c-245.919634 0-446.016611-200.064292-446.016611-446.016611 0-245.919634 200.095256-446.016611 446.016611-446.016611 245.952318 0 446.016611 200.064292 446.016611 446.016611S757.952318 958.016611 512 958.016611zM512 129.983389c-210.655557 0-382.016611 171.359333-382.016611 382.016611 0 210.624593 171.359333 382.016611 382.016611 382.016611 210.624593 0 382.016611-171.359333 382.016611-382.016611S722.624593 129.983389 512 129.983389z","p-id":"5333"},null,-1),t.createElementVNode("path",{d:"M463.99957 304.00043c0 26.509985 21.490445 48.00043 48.00043 48.00043s48.00043-21.490445 48.00043-48.00043-21.490445-48.00043-48.00043-48.00043S463.99957 277.490445 463.99957 304.00043z","p-id":"5334"},null,-1),t.createElementVNode("path",{d:"M512 768c-17.664722 0-32.00086-14.303454-32.00086-32.00086L479.99914 448c0-17.664722 14.336138-32.00086 32.00086-32.00086s32.00086 14.336138 32.00086 32.00086l0 287.99914C544.00086 753.696546 529.664722 768 512 768z","p-id":"5335"},null,-1)]))}const NC=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(SC,[["render",FC]])},Symbol.toStringTag,{value:"Module"})),RC={},LC={t:"1704360061247",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4770",width:"200",height:"200"};function GC(n,A){return t.openBlock(),t.createElementBlock("svg",LC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M329.4 460.5c10-2.3 16.3-12.2 14.1-22.3-4.7-21.1-5.5-42.7-2.1-64.3 14.6-94.2 103.1-159.1 197.4-144.5 22.2 3.4 43.2 11 62.3 22.4 8.9 5.3 20.3 2.4 25.5-6.4 5.3-8.8 2.4-20.3-6.4-25.6-23.3-13.9-48.7-23.1-75.7-27.3-114.5-17.7-222.2 61-239.9 175.6-4 26.2-3.2 52.5 2.6 78.2 1.9 8.7 9.6 14.6 18.2 14.6 1.3 0.1 2.7-0.1 4-0.4z","p-id":"4771"},null,-1),t.createElementVNode("path",{d:"M847.9 599.4c0-26.6-10.5-50.1-28-66.4 17.6-40.7 27.5-85.5 27.5-132.7 0-184.8-150.3-335.1-335.1-335.1S177.2 215.5 177.2 400.3c0 110.7 54.1 208.8 137 269.9 0.6 3.3 1.3 6.6 2.3 9.9 3.2 10.8 7.5 20.4 13 28.8 30.1 45.8 64.1 97.7 97.9 148.3 34.2 51.2 83.8 83.1 147.2 94.7 8 1.4 15.3 2.4 22.3 3.3 3.4 0.5 6.8 0.9 10.2 1.4 2.7 0.4 5.3 0.6 8 0.6h37.8c3 0 6-0.2 8.9-0.7 3.3-0.5 6.7-1.1 10-1.6 5.7-0.9 11.5-1.8 17.2-2.8 80.2-13.8 140.7-74.1 154.3-153.7 2.8-15.9 4.2-32 4.3-47.7 0.2-59.7 0.2-67.2 0.2-91.4 0.1-12.3 0.1-29.1 0.1-59.9z m-614.8-199c0-154.2 125-279.2 279.3-279.2 154.2 0 279.2 125 279.2 279.2 0 39.1-8.2 76.3-22.7 110.1-2.6-0.2-5.2-0.4-7.9-0.4-8.1 0-16 1.1-23.5 3.2-8.7-8.2-19.1-14.7-30.8-18.7-1.9-0.6-3.9-1.2-5.8-1.7 9.2-18.6 15.9-38.8 19.2-60.4 7.2-46.4-1-92.7-23.7-133.7-5-9-16.3-12.3-25.3-7.3-9 5-12.3 16.3-7.3 25.3 18.7 33.8 25.4 71.8 19.5 110-3.7 24.1-12.4 46.2-24.7 65.5-1.1 0.3-2.3 0.4-3.3 0.7-7.7-7-16.9-12.8-27.4-17.3-8-4.2-17-6.5-26.2-6.5h-1.9v-65c0-45.4-30.1-80.6-75-87.7-4.2-0.7-8.4-1-12.5-1-43.9 0-82.4 35.3-85.9 78.6-0.4 5.6-0.4 10.2-0.4 14V550c-17.4-10-33.1-22.9-46.2-38.6-6.6-7.9-18.3-8.9-26.2-2.3-7.9 6.6-8.9 18.3-2.3 26.2 9.1 10.9 19.3 20.6 30.2 29.3-22.6 5.8-42.5 20.2-54.8 40.5-0.5 0.8-0.8 1.6-1.3 2.4-56.8-51.1-92.3-125-92.3-207.1z m558.8 350.2c0 12.8-1.3 25.9-3.5 38.6-9.6 56.2-52.1 98.3-108.5 108-8.9 1.5-17.8 2.8-26.8 4.3h-37.8c-10.1-1.5-20.4-2.6-30.5-4.4-46.5-8.5-84.3-31-110.8-70.7-32.8-49.2-65.3-98.5-97.7-147.9-2.7-4.2-4.7-9-6.1-13.8-6.1-20.9 6.2-42.4 26.8-46.4 3-0.6 5.9-0.9 8.6-0.9 12.5 0 23.1 5.6 31.3 16.2 13.6 17.6 26.4 35.7 39.6 53.6l4.2 5.7c0.3-0.2 0.7-0.3 1.1-0.4v-5-279.2c0-3.2 0-6.3 0.2-9.5 1.2-14.7 15.6-27.2 30.2-27.2 1.3 0 2.6 0.1 3.9 0.3 17.4 2.7 27.8 14.8 27.8 32.5 0 49.7 0 132.9 0.1 182.6 0 2.6 0.2 5.3 0.9 7.7 1.3 4 4.3 6.2 8.6 6.5h0.9c4.1 0 7.2-2.1 8.8-5.7 1-2.3 1.1-5.1 1.1-7.7v-22.5-6.6c0-11.2 3.8-21 13.3-27.6 3.5-2.4 7.7-3.9 11.6-5.8h12.6c0.5 0.3 0.8 0.7 1.3 0.9 16.3 5.6 23.9 16.2 23.9 33.4v22.2-16.4 22.2c0 1.6-0.1 3.2 0.1 4.7 0.7 5.4 4.8 8.9 10 8.9h1c5.5-0.5 8.7-4.2 9-11.1v-0.2-1.2-10.6c0.2-7.3 2-14.2 6.7-20.2 6.2-7.8 15.2-12.1 24.6-12.1 3.4 0 6.9 0.6 10.2 1.7 12.9 4.4 21.2 17 21.2 31.9v28c0 1.9 0 3.9 0.2 5.8 0.6 5.1 3.9 7.7 8.6 8.6 0.5 0.1 1 0.1 1.5 0.1 3.7 0 7.7-2.6 8.9-6.3 0.8-2.4 1-5.1 1-7.7V602v11.3s0.1-3.4 0.1-13.2c0-5.4 1-11.3 3.2-16.3 4.7-11.1 16-17.8 27.7-17.8 2.2 0 4.3 0.2 6.4 0.7 15.1 3.3 24.6 16.1 24.6 32.7 0 90.3 0.1 60.8-0.1 151.2z","p-id":"4772"},null,-1)]))}const HC=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(RC,[["render",GC]])},Symbol.toStringTag,{value:"Module"})),PC={},KC={t:"1703055882491",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9224",width:"200",height:"200"};function UC(n,A){return t.openBlock(),t.createElementBlock("svg",KC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),t.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),t.createElementVNode("path",{d:"M1001.946877 876.979182H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053123V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v685.852118c0 12.49677-9.556353 22.053123-22.053123 22.053123zM44.106246 832.872936h935.787508V191.127064H44.106246v641.745872z","p-id":"9227"},null,-1),t.createElementVNode("path",{d:"M1001.946877 410.923187H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053122V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v219.796124c0 12.49677-9.556353 22.053123-22.053123 22.053122zM44.106246 366.816942h935.787508V191.127064H44.106246v175.689878z","p-id":"9228"},null,-1)]))}const TC=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(PC,[["render",UC]])},Symbol.toStringTag,{value:"Module"})),YC={},OC={t:"1703599079424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7208",width:"200",height:"200"};function $C(n,A){return t.openBlock(),t.createElementBlock("svg",OC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M938.666667 86.186667v298.666666H85.333333v-298.666666h853.333334m85.333333-85.333334H0v469.333334h1024v-469.333334zM938.666667 681.813333v256H510.933333v-256H938.666667m85.333333-85.333333H425.6v426.666667H1024v-426.666667z","p-id":"7209"},null,-1),t.createElementVNode("path",{d:"M484.693333 863.36h-140.586666c-103.68 0-188.16-70.186667-188.16-156.373333V402.986667h85.333333v304c0 38.613333 47.146667 71.04 102.826667 71.04h140.586666v85.333333z","p-id":"7210"},null,-1)]))}const JC=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(YC,[["render",$C]])},Symbol.toStringTag,{value:"Module"})),ZC={},zC={t:"1703597650364",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6020",width:"200",height:"200"};function WC(n,A){return t.openBlock(),t.createElementBlock("svg",zC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M732.09344 341.98528c-12.544-12.45184-32.82944-12.31872-45.24544 0.256L453.56544 578.048 350.30528 471.936c-12.35456-12.70272-32.60928-12.928-45.25056-0.64-12.672 12.31872-12.95872 32.60928-0.64 45.25056l126.01856 129.50528c0.06144 0.09728 0.19456 0.09728 0.256 0.18944 0.06656 0.06656 0.09728 0.18944 0.15872 0.256 2.01728 1.98656 4.51072 3.2 6.88128 4.54656 1.24928 0.67072 2.24256 1.792 3.52256 2.304 3.87072 1.60256 8.00256 2.40128 12.09856 2.40128 4.06016 0 8.12544-0.79872 11.96544-2.33472 1.24928-0.51712 2.20672-1.54112 3.39456-2.18112 2.40128-1.34144 4.89472-2.52416 6.94272-4.54144 0.06656-0.06656 0.09728-0.19456 0.19456-0.26112 0.06656-0.09728 0.15872-0.12288 0.256-0.18944l256.22528-259.00544C744.77056 374.68672 744.64256 354.432 732.09344 341.98528zM832 928l-640 0c-52.92544 0-96-43.06944-96-96l0-640c0-52.92544 43.07456-96 96-96l640 0c52.93056 0 96 43.07456 96 96l0 640C928 884.93056 884.93056 928 832 928zM192 160c-17.63328 0-32 14.36672-32 32l0 640c0 17.664 14.36672 32 32 32l640 0c17.664 0 32-14.336 32-32l0-640c0-17.63328-14.336-32-32-32L192 160z","p-id":"6021"},null,-1)]))}const jC=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(ZC,[["render",WC]])},Symbol.toStringTag,{value:"Module"})),qC={},XC={t:"1726041444972",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5136","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function VC(n,A){return t.openBlock(),t.createElementBlock("svg",XC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M512 1024a512 512 0 1 1 512-512 512.520855 512.520855 0 0 1-512 512z m0-971.914547a459.914547 459.914547 0 1 0 459.914547 459.914547A460.435402 460.435402 0 0 0 512 52.085453z",fill:"#909399","p-id":"5137"},null,-1),t.createElementVNode("path",{d:"M660.703967 674.76704a26.042726 26.042726 0 0 1-18.750763-7.812818l-281.001017-286.46999a26.042726 26.042726 0 0 1 0-36.980671 26.042726 26.042726 0 0 1 36.720244 0l281.001018 286.469989a26.042726 26.042726 0 0 1-18.490336 44.272635z",fill:"#909399","p-id":"5138"},null,-1),t.createElementVNode("path",{d:"M376.577823 671.641913a26.042726 26.042726 0 0 1-18.490336-7.812818 26.042726 26.042726 0 0 1 0-36.720245l286.46999-281.001017a26.042726 26.042726 0 0 1 36.720244 0 26.042726 26.042726 0 0 1 0 36.980672l-286.46999 281.001017a26.042726 26.042726 0 0 1-18.229908 7.552391z",fill:"#909399","p-id":"5139"},null,-1)]))}const AE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(qC,[["render",VC]])},Symbol.toStringTag,{value:"Module"})),eE={},tE={t:"1708504426013",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3921",width:"200",height:"200"};function nE(n,A){return t.openBlock(),t.createElementBlock("svg",tE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M774.4 246.4c-6.4-6.4-16-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6l-67.2 67.2c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l44.8-44.8 44.8 44.8c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-67.2-67.2z","p-id":"3922"},null,-1),t.createElementVNode("path",{d:"M896 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-12.8 32-32 32H160c-19.2 0-32-16-32-32V480h768v320z m0-384H128V224c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v192z","p-id":"3923"},null,-1)]))}const iE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(eE,[["render",nE]])},Symbol.toStringTag,{value:"Module"})),oE={},sE={t:"1703684587275",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7454",width:"200",height:"200"};function rE(n,A){return t.openBlock(),t.createElementBlock("svg",sE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M512 0a512 512 0 0 0 0 1024c180.224 0-110.592-204.8 204.8-204.8a302.08 302.08 0 0 0 307.2-307.2A512 512 0 0 0 512 0zM179.2 486.4A76.8 76.8 0 1 1 256 409.6a76.8 76.8 0 0 1-76.8 76.8zM358.4 307.2a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 358.4 307.2z m307.2 0a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 665.6 307.2z m179.2 179.2A76.8 76.8 0 1 1 921.6 409.6a76.8 76.8 0 0 1-76.8 76.8z","p-id":"7455"},null,-1)]))}const aE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(oE,[["render",rE]])},Symbol.toStringTag,{value:"Module"})),lE={},cE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function gE(n,A){return t.openBlock(),t.createElementBlock("svg",cE,A[0]||(A[0]=[t.createStaticVNode('<defs><clipPath id="clipPath8742382171"><path transform="matrix(1 0 0 1 0 0)" d="M0 0L16 0L16 16L0 16L0 0Z" fill-rule="nonzero"></path></clipPath></defs><g clip-path="url(#clipPath8742382171)"><path transform="matrix(1 0 0 1 4.33333 1.66667)" d="M-0.5 0.9375L-0.5 2.4772C-0.5 2.75334 -0.27614 2.9772 0 2.9772C0.27614 2.9772 0.5 2.75334 0.5 2.4772L0.5 0.9375Q0.5 0.756282 0.628141 0.628141Q0.756282 0.5 0.9375 0.5L9.0625 0.5Q9.24372 0.5 9.37186 0.628141Q9.5 0.756282 9.5 0.9375L9.5 9.0625Q9.5 9.24372 9.37186 9.37186Q9.24372 9.5 9.0625 9.5L7.50543 9.5C7.22929 9.5 7.00543 9.72386 7.00543 10C7.00543 10.2761 7.22929 10.5 7.50543 10.5L9.0625 10.5Q9.65793 10.5 10.079 10.079Q10.5 9.65793 10.5 9.0625L10.5 0.9375Q10.5 0.342067 10.079 -0.078966Q9.65793 -0.5 9.0625 -0.5L0.9375 -0.5Q0.342068 -0.5 -0.0789659 -0.0789659Q-0.5 0.342068 -0.5 0.9375Z" fill-rule="evenodd" fill="rgb(102, 102, 102)"></path><path transform="matrix(1 0 0 1 1.66667 4.33333)" d="M9.0625 0.5L0.9375 0.5Q0.756282 0.5 0.628141 0.628141Q0.5 0.756282 0.5 0.9375L0.5 9.0625Q0.5 9.24372 0.628141 9.37186Q0.756282 9.5 0.9375 9.5L9.0625 9.5Q9.24372 9.5 9.37186 9.37186Q9.5 9.24372 9.5 9.0625L9.5 0.9375Q9.5 0.756282 9.37186 0.628141Q9.24372 0.5 9.0625 0.5L9.0625 0.5ZM9.0625 -0.5Q9.65793 -0.5 10.079 -0.078966Q10.5 0.342067 10.5 0.9375L10.5 9.0625Q10.5 9.65793 10.079 10.079Q9.65793 10.5 9.0625 10.5L0.9375 10.5Q0.342067 10.5 -0.078966 10.079Q-0.5 9.65793 -0.5 9.0625L-0.5 0.9375Q-0.5 0.342068 -0.0789659 -0.0789659Q0.342068 -0.5 0.9375 -0.5L9.0625 -0.5L9.0625 -0.5Z" fill-rule="nonzero" fill="rgb(102, 102, 102)"></path></g>',2)]))}const uE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(lE,[["render",gE]])},Symbol.toStringTag,{value:"Module"})),dE={},hE={t:"1705910453717",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8006",width:"200",height:"200"};function pE(n,A){return t.openBlock(),t.createElementBlock("svg",hE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M972.09863 1016.986301H259.506849c-19.638356 0-35.068493-15.430137-35.068493-35.068493V768.70137c-8.416438 5.610959-18.235616 9.819178-28.054794 12.624657h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082191 7.013698 1.40274 0 2.805479 1.40274 4.20822 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l2.805479 1.40274V269.326027c0-19.638356 15.430137-35.068493 35.068493-35.068493h228.646576l-4.20822-8.416438c-7.013699-11.221918-12.624658-22.443836-15.430137-35.068493v-1.40274c-4.208219-12.624658-5.610959-26.652055-5.610958-39.276712C462.90411 72.942466 526.027397 11.221918 601.775342 11.221918c77.150685 0 138.871233 63.123288 138.871233 138.871233 0 14.027397-2.805479 28.054795-7.013698 42.082191 0 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479 7.013699-5.610959 14.027397-8.416438 19.638356l-7.013699 16.832877h255.29863c19.638356 0 35.068493 15.430137 35.068493 35.068493v314.213698c0 11.221918-5.610959 22.443836-15.430137 29.457535-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L897.753425 587.747945c-1.40274 0-1.40274-1.40274-2.80548-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610958h-1.402739c-7.013699-2.805479-14.027397-2.805479-21.041096-2.80548-37.873973 0-68.734247 30.860274-68.734247 68.734247s30.860274 68.734247 68.734247 68.734246c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479l53.304109-25.249315c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274s16.832877 18.235616 16.832876 29.457534V981.917808c0 19.638356-15.430137 35.068493-35.068493 35.068493z m-677.523288-70.136986h642.454795v-182.356164h-1.40274c-11.221918 7.013699-22.443836 12.624658-35.068493 16.832876h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082192 7.013698 1.40274 0 2.805479 1.40274 4.208219 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l9.819178 4.208219v-224.438356H662.093151c-11.221918 0-22.443836-5.610959-29.457535-15.430137-7.013699-9.819178-7.013699-22.443836-2.805479-33.665753l29.457534-67.331507c0-1.40274 1.40274-1.40274 1.40274-2.805479 1.40274-2.805479 4.208219-7.013699 5.610959-11.221918v-1.40274c2.805479-7.013699 2.805479-14.027397 2.805479-21.041096 0-37.873973-30.860274-68.734247-68.734246-68.734246s-68.734247 30.860274-68.734247 68.734246c0 7.013699 1.40274 14.027397 2.80548 19.638356 1.40274 7.013699 5.610959 12.624658 8.416438 18.235617 1.40274 1.40274 1.40274 2.805479 2.805479 4.208219l28.054795 60.317808c5.610959 11.221918 4.208219 23.846575-1.40274 33.665754s-18.235616 16.832877-29.457534 16.832876H294.575342v274.936987c0 11.221918-5.610959 22.443836-15.430137 29.457534-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L192.175342 589.150685c-1.40274 0-1.40274-1.40274-2.805479-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610959h-1.40274c-7.013699-2.805479-14.027397-2.805479-21.041095-2.805479-37.873973 0-68.734247 30.860274-68.734247 68.734246s30.860274 68.734247 68.734247 68.734247c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.208219-2.805479l46.290411-22.443836c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274 9.819178 7.013699 16.832877 18.235616 16.832876 29.457534v235.660274z","p-id":"8007"},null,-1)]))}const BE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(dE,[["render",pE]])},Symbol.toStringTag,{value:"Module"})),CE={},EE={t:"1704941224194",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4108",width:"200",height:"200"};function QE(n,A){return t.openBlock(),t.createElementBlock("svg",EE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M531.76 474.6c-35.2 0-22 43.92-65.92 52.72l-13.2 4.4c-22 4.4-26.4 4.4-26.4 22s8.8 22 17.6 22h52.72v145.04c0 22 4.4 35.12 26.4 35.12s26.4-17.6 26.4-35.12V501c0-22-8.8-26.4-17.6-26.4zM360.4 329.56h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 8.8 17.6 22 17.6z m285.68 0h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 13.2 17.6 22 17.6z m0 0","p-id":"4109"},null,-1),t.createElementVNode("path",{d:"M769.12 232.92H712v39.52h57.12c26.4 0 48.32 22 48.32 48.32v43.92H197.76v-43.92c0-26.4 22-48.32 48.32-48.32h57.12v-39.52h-52.72c-52.72 0-92.32 43.92-92.32 92.32v426.32c0 48.32 39.52 92.32 92.32 92.32h523.04c48.32 0 92.32-39.52 92.32-92.32v-426.4c-4.4-48.32-44-92.24-96.72-92.24z m0 566.96H250.48c-26.4 0-48.32-22-48.32-48.32V408.68h619.68v338.4c0 30.8-21.92 52.8-52.72 52.8z m0 0","p-id":"4110"},null,-1),t.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const mE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(CE,[["render",QE]])},Symbol.toStringTag,{value:"Module"})),IE={},fE={t:"1703838633965",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5029",width:"200",height:"200"};function wE(n,A){return t.openBlock(),t.createElementBlock("svg",fE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M607.897867 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L575.903242 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 351.94087C639.892491 753.593818 625.61532 768.043004 607.897867 768.043004z","p-id":"5030"},null,-1),t.createElementVNode("path",{d:"M415.930119 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L383.935495 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625 17.717453 0 31.994625 14.277171 31.994625 31.994625l0 351.94087C447.924744 753.593818 433.647573 768.043004 415.930119 768.043004z","p-id":"5031"},null,-1),t.createElementVNode("path",{d:"M928.016126 223.962372l-159.973123 0L768.043004 159.973123c0-52.980346-42.659499-95.983874-95.295817-95.983874L351.94087 63.989249c-52.980346 0-95.983874 43.003528-95.983874 95.983874l0 63.989249-159.973123 0c-17.717453 0-31.994625 14.277171-31.994625 31.994625s14.277171 31.994625 31.994625 31.994625l832.032253 0c17.717453 0 31.994625-14.277171 31.994625-31.994625S945.73358 223.962372 928.016126 223.962372zM319.946246 159.973123c0-17.545439 14.449185-31.994625 31.994625-31.994625l320.806316 0c17.545439 0 31.306568 14.105157 31.306568 31.994625l0 63.989249L319.946246 223.962372 319.946246 159.973123 319.946246 159.973123z","p-id":"5032"},null,-1),t.createElementVNode("path",{d:"M736.048379 960.010751 288.123635 960.010751c-52.980346 0-95.983874-43.003528-95.983874-95.983874L192.139761 383.591466c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 480.435411c0 17.717453 14.449185 31.994625 31.994625 31.994625l448.096758 0c17.717453 0 31.994625-14.277171 31.994625-31.994625L768.215018 384.795565c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 479.231312C832.032253 916.835209 789.028725 960.010751 736.048379 960.010751z","p-id":"5033"},null,-1)]))}const DE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(IE,[["render",wE]])},Symbol.toStringTag,{value:"Module"})),bE={},yE={t:"1704174941122",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9227",width:"200",height:"200"};function vE(n,A){return t.openBlock(),t.createElementBlock("svg",yE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M324.266667 472.177778L136.533333 284.444444 284.444444 136.533333l187.733334 187.733334L512 284.444444 284.444444 56.888889 56.888889 284.444444l227.555555 227.555556zM699.733333 551.822222l187.733334 187.733334-147.911111 147.911111-187.733334-187.733334-39.822222 39.822223 227.555556 227.555555 227.555555-227.555555-227.555555-227.555556z","p-id":"9228"},null,-1),t.createElementVNode("path",{d:"M170.382222 327.224889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM281.941333 444.017778l-40.220444-40.220445L346.339556 299.235556l40.220444 40.220444zM579.982222 736.824889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM653.937778 810.780444l104.561778-104.561777 40.220444 40.220444-104.561778 104.561778z","p-id":"9229"},null,-1),t.createElementVNode("path",{d:"M739.555556 136.533333L887.466667 284.444444 284.444444 887.466667 136.533333 739.555556 739.555556 136.533333M739.555556 56.888889L56.888889 739.555556l227.555555 227.555555L967.111111 284.444444l-227.555555-227.555555z","p-id":"9230"},null,-1),t.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),t.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const kE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(bE,[["render",vE]])},Symbol.toStringTag,{value:"Module"})),_E={},ME={t:"1706709803104",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5147",width:"200",height:"200"};function SE(n,A){return t.openBlock(),t.createElementBlock("svg",ME,A[0]||(A[0]=[t.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const xE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(_E,[["render",SE]])},Symbol.toStringTag,{value:"Module"})),FE={},NE={t:"1704175176472",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10353",width:"200",height:"200"};function RE(n,A){return t.openBlock(),t.createElementBlock("svg",NE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M288 320h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM288 544h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM544 704H288a32 32 0 0 0 0 64h256a32 32 0 0 0 0-64z","p-id":"10354"},null,-1),t.createElementVNode("path",{d:"M896 132.928C896 77.28 851.552 32 796.928 32H227.04C172.448 32 128 77.28 128 132.928v758.144C128 946.72 172.448 992 227.04 992h435.008c1.568 0 2.912-0.672 4.416-0.896 8.96 1.6 18.464-0.256 25.984-6.528l192-160a31.424 31.424 0 0 0 10.816-27.2c0.16-1.184 0.736-2.208 0.736-3.424V132.928zM192 891.072V132.928C192 112.576 207.712 96 227.04 96h569.888C816.288 96 832 112.576 832 132.928V736h-96a96 96 0 0 0-96 96v96H227.04C207.712 928 192 911.424 192 891.072zM814.016 800L704 891.68V832a32 32 0 0 1 32-32h78.016z","p-id":"10355"},null,-1)]))}const LE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(FE,[["render",RE]])},Symbol.toStringTag,{value:"Module"})),GE={},HE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function PE(n,A){return t.openBlock(),t.createElementBlock("svg",HE,A[0]||(A[0]=[t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clipPath6999889763"},[t.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),t.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[t.createElementVNode("path",{transform:"matrix(1 0 0 1 3.5 5.75)",d:"M-0.795495 -0.795495C-1.23483 -0.356159 -1.23483 0.356159 -0.795495 0.795495L3.7045 5.2955Q3.74359 5.33458 3.78631 5.36964Q3.82903 5.4047 3.87498 5.4354Q3.92094 5.46611 3.96968 5.49216Q4.01842 5.51821 4.06948 5.53936Q4.12054 5.56051 4.17343 5.57656Q4.22632 5.5926 4.28052 5.60338Q4.33473 5.61417 4.38973 5.61958Q4.44473 5.625 4.5 5.625Q4.55527 5.625 4.61027 5.61958Q4.66527 5.61417 4.71948 5.60338Q4.77368 5.5926 4.82657 5.57656Q4.87946 5.56051 4.93052 5.53936Q4.98158 5.51821 5.03032 5.49216Q5.07906 5.46611 5.12502 5.4354Q5.17097 5.4047 5.21369 5.36964Q5.25642 5.33458 5.2955 5.2955L9.7955 0.795495C10.2348 0.356159 10.2348 -0.356159 9.7955 -0.795495C9.35616 -1.23483 8.64384 -1.23483 8.2045 -0.795495L4.5 2.90901L0.795495 -0.795495C0.356159 -1.23483 -0.356159 -1.23483 -0.795495 -0.795495Z","fill-rule":"evenodd",fill:"rgb(51, 51, 51)"})],-1)]))}const KE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(GE,[["render",PE]])},Symbol.toStringTag,{value:"Module"})),UE={},TE={t:"1729359107481",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3906",width:"200",height:"200"};function YE(n,A){return t.openBlock(),t.createElementBlock("svg",TE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M721.493333 171.989333c51.114667-6.506667 101.909333 11.52 136.448 46.570667 67.2 68.202667 69.589333 184.746667-9.088 267.946667a562.773333 562.773333 0 0 1-37.098666 35.52c-10.517333 9.301333-44.992 38.336-47.829334 40.789333C704.746667 613.802667 682.666667 649.322667 682.666667 710.698667c0 69.418667 51.626667 112.042667 163.242666 128.746666a21.333333 21.333333 0 1 1-6.314666 42.197334C709.333333 862.165333 640 804.906667 640 710.698667c0-76.202667 28.416-121.898667 96.064-180.202667 3.2-2.752 37.376-31.552 47.466667-40.448a521.237333 521.237333 0 0 0 34.346666-32.853333c62.72-66.346667 60.885333-156.714667 9.685334-208.682667a119.146667 119.146667 0 0 0-62.570667-33.024l16 16c16.64 16.64 17.322667 42.986667 1.408 58.901333l-445.653333 445.653334c-7.936 7.936-23.082667 16.746667-34.218667 19.797333l-143.701333 39.253333c-21.909333 5.973333-35.114667-7.104-29.568-28.949333l37.269333-146.794667c2.773333-10.944 11.541333-26.325333 19.370667-34.154666l445.653333-445.653334c15.872-15.872 42.133333-15.36 58.901333 1.429334l31.04 31.018666zM216.064 615.36c-2.901333 2.901333-8.106667 12.096-9.109333 16.042667l-29.141334 114.773333 111.957334-30.592c4.437333-1.216 13.653333-6.528 16.810666-9.706667l445.653334-445.653333-90.517334-90.496-445.653333 445.653333z m414.08-414.058667l90.496 90.517334-30.165333 30.165333-90.517334-90.496 30.165334-30.186667z m-362.048 362.026667l90.496 90.538667-30.165333 30.165333-90.517334-90.517333 30.186667-30.165334z","p-id":"3907"},null,-1)]))}const OE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(UE,[["render",YE]])},Symbol.toStringTag,{value:"Module"})),$E={},JE={t:"1728140261623",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8124",width:"200",height:"200"};function ZE(n,A){return t.openBlock(),t.createElementBlock("svg",JE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M185.856 258.2016L117.3504 189.7984c-48.2816-48.2816 24.1152-120.6784 72.3968-72.3968l86.3744 86.3232A554.6496 554.6496 0 0 1 460.8 155.7504L460.8 153.6V102.4a51.2 51.2 0 1 1 102.4 0v53.3504c66.6624 5.7344 129.3312 22.4768 184.6272 47.9744l86.3744-86.3232a51.2 51.2 0 0 1 72.3968 72.3968l-68.4032 68.4032C921.088 322.56 972.8 411.6992 972.8 512c0 201.6768-208.9984 358.4-460.8 358.4s-460.8-156.7232-460.8-358.4c0-100.3008 51.712-189.44 134.656-253.7984zM512 768c200.6016 0 358.4-118.3232 358.4-256s-157.7984-256-358.4-256-358.4 118.3232-358.4 256 157.7984 256 358.4 256z m0-51.2a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6z m0-102.4a102.4 102.4 0 1 0 0-204.8 102.4 102.4 0 0 0 0 204.8z","p-id":"8125"},null,-1)]))}const zE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA($E,[["render",ZE]])},Symbol.toStringTag,{value:"Module"})),WE={},jE={t:"1703055779128",class:"icon",viewBox:"0 0 1139 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8193",width:"200",height:"200"};function qE(n,A){return t.openBlock(),t.createElementBlock("svg",jE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M0.244023 394.046187h317.658598v258.092532H0.244023z m403.879057 344.881835h329.198v284.421871H404.12308z m0-344.719308h329.198v258.092532H404.12308z m415.824776 344.719308H1137.931508v284.421871h-317.658599z m-820.028887 0h317.658599v284.421871H0.244023z m0-738.928022h1137.687485v307.581938h-1137.687485z m820.35394 394.046187H1137.931508v258.092532h-317.658599z","p-id":"8194"},null,-1)]))}const XE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(WE,[["render",qE]])},Symbol.toStringTag,{value:"Module"})),VE={},AQ={t:"1704175538573",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"17151",width:"200",height:"200"};function eQ(n,A){return t.openBlock(),t.createElementBlock("svg",AQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M511.542857 14.057143C228.914286 13.942857 0 242.742857 0 525.142857 0 748.457143 143.2 938.285714 342.628571 1008c26.857143 6.742857 22.742857-12.342857 22.742858-25.371429v-88.571428c-155.085714 18.171429-161.371429-84.457143-171.771429-101.6C172.571429 756.571429 122.857143 747.428571 137.714286 730.285714c35.314286-18.171429 71.314286 4.571429 113.028571 66.171429 30.171429 44.685714 89.028571 37.142857 118.857143 29.714286 6.514286-26.857143 20.457143-50.857143 39.657143-69.485715-160.685714-28.8-227.657143-126.857143-227.657143-243.428571 0-56.571429 18.628571-108.571429 55.2-150.514286-23.314286-69.142857 2.171429-128.342857 5.6-137.142857 66.4-5.942857 135.428571 47.542857 140.8 51.771429 37.714286-10.171429 80.8-15.542857 129.028571-15.542858 48.457143 0 91.657143 5.6 129.714286 15.885715 12.914286-9.828571 76.914286-55.771429 138.628572-50.171429 3.314286 8.8 28.228571 66.628571 6.285714 134.857143 37.028571 42.057143 55.885714 94.514286 55.885714 151.2 0 116.8-67.428571 214.971429-228.571428 243.314286a145.714286 145.714286 0 0 1 43.542857 104v128.571428c0.914286 10.285714 0 20.457143 17.142857 20.457143 202.4-68.228571 348.114286-259.428571 348.114286-484.685714 0-282.514286-229.028571-511.2-511.428572-511.2z","p-id":"17152"},null,-1)]))}const tQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(VE,[["render",eQ]])},Symbol.toStringTag,{value:"Module"})),nQ={},iQ={t:"1705649491640",class:"icon",viewBox:"0 0 1371 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6157",width:"200",height:"200"};function oQ(n,A){return t.openBlock(),t.createElementBlock("svg",iQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M1052.91381327 223.61256508h-165.52399247V800.42054084h165.5306138c11.42161264 0 21.14819137-4.03894707 29.26581204-12.07049191 8.07789413-8.07789413 12.13008315-17.75812433 12.13008387-29.1333884V264.81644539c0-11.36864273-4.05218974-21.08197883-12.12346254-29.13338767-8.12424271-8.05803016-17.85082147-12.09697724-29.27243337-12.09697724v0.02648459z m-248.29592034-0.0264846h-248.29592034v576.80135445h248.29592034V223.57945916zM473.55666605 800.38743492V223.57945916h-165.5306138c-11.42161264 0-21.14819137 4.03894707-29.26581206 12.10359856-8.06465149 8.0447875-12.13008315 17.75812433-12.13008315 29.13338767v494.38697248c0 11.37526406 4.06543166 21.05549423 12.12346183 29.1333884 8.12424271 8.03154558 17.85082147 12.07049265 29.27243338 12.07049192h165.5306138v-0.02648459zM308.01943164 141.21142578h744.90100296c34.23835189 0 63.51078599 12.07049265 87.76433096 36.21809854C1164.93831125 201.57050889 1177.06177308 230.70389656 1177.06177308 264.81644539v494.39359381c0 34.08606424-12.12346182 63.24593648-36.37700752 87.37367914-24.25354569 24.13436323-53.52597908 36.20485588-87.76433096 36.20485588H308.01943164c-34.23835189 0-63.52402793-12.07049265-87.76433167-36.20485588C196.00155426 822.45597643 183.87809244 793.29610344 183.87809244 759.2100392V264.81644539C183.87809244 230.70389656 196.00155426 201.57050889 220.25509997 177.42952433 244.48878167 153.28191843 273.78107903 141.21142578 308.02605225 141.21142578z","p-id":"6158"},null,-1)]))}const sQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(nQ,[["render",oQ]])},Symbol.toStringTag,{value:"Module"})),rQ={},aQ={t:"1708311321522",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function lQ(n,A){return t.openBlock(),t.createElementBlock("svg",aQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M511.998 16.512c-273.649 0-495.482 221.837-495.482 495.486 0 273.651 221.833 495.49 495.482 495.49 273.653 0 495.486-221.839 495.486-495.488 0-273.649-221.831-495.488-495.486-495.488zM560.084 797.914c0 13.682-11.089 24.776-24.774 24.776h-74.323c-13.679 0-24.772-11.093-24.772-24.776v-74.321c0-13.686 11.093-24.778 24.772-24.778h74.323c13.684 0 24.774 11.091 24.774 24.778v74.321zM682.891 456.897c-9.958 14.199-32.561 32.291-60.858 54.35l-31.359 21.64c-15.23 11.814-28.738 25.568-33.733 41.315-1.707 5.365-2.986 14.183-3.847 23.706-0.434 4.792-4.721 14.568-14.741 14.568-24.551 0-71.341 0-80.651 0-13.109 0-15.451-10.268-15.232-15.291 1.451-32.919 4.468-62.144 17.88-77.878 27.155-31.839 88.943-71.469 88.943-71.469 9.407-7.099 17.023-14.816 22.783-23.226 10.471-14.438 19.158-30.294 19.158-47.626 0-19.921-5.824-38.079-17.51-54.515-11.646-16.371-32.979-24.573-63.891-24.573-30.43 0-52.001 10.1-64.716 30.291-9.393 14.918-15.307 28.634-17.756 43.558-0.871 5.282-4.258 16.407-15.548 16.407-23.854 0-67.833 0-78.66 0-16.749 0-20.437-10.854-19.953-16.086 6.063-65.94 31.831-110.993 77.393-139.922 30.981-19.918 69.097-29.913 114.31-29.913 59.41 0 108.726 14.162 148.043 42.527 39.247 28.326 58.927 70.299 58.927 125.952 0.004 34.082-11.958 62.822-28.98 86.185z","p-id":"3920"},null,-1)]))}const cQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(rQ,[["render",lQ]])},Symbol.toStringTag,{value:"Module"})),gQ={},uQ={t:"1706194238781",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4468",width:"200",height:"200"};function dQ(n,A){return t.openBlock(),t.createElementBlock("svg",uQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M1080.950154 519.876923l-0.078769-0.157538-0.157539-0.07877c-44.740923-94.444308-98.461538-170.692923-160.846769-228.903384l-62.385231 62.464c53.799385 49.467077 100.273231 115.318154 140.445539 198.025846-102.557538 212.125538-247.886769 312.713846-446.54277 312.713846-63.172923 0-120.989538-10.161231-173.764923-30.798769l-67.347692 67.268923c71.995077 34.658462 152.260923 52.224 241.112615 52.224 236.544 0 412.750769-123.667692 529.48677-369.585231a74.043077 74.043077 0 0 0 0.078769-63.172923z m-78.769231-408.812308l-52.145231-52.224a9.846154 9.846154 0 0 0-13.942154 0L792.418462 202.436923C720.502154 167.620923 640.393846 150.134154 551.384615 150.134154c-236.544 0-412.750769 123.667692-529.486769 369.585231V519.876923a74.200615 74.200615 0 0 0 0 63.409231c44.819692 94.365538 98.461538 170.692923 160.846769 228.982154l-123.904 123.667692a9.846154 9.846154 0 0 0 0 13.942154l52.145231 52.224a9.846154 9.846154 0 0 0 13.942154 0L1002.180923 124.770462a9.767385 9.767385 0 0 0 0-13.784616z m-589.981538 471.591385a137.846154 137.846154 0 0 1 165.572923-165.572923L412.120615 582.656z m227.091692-227.091692a216.772923 216.772923 0 0 0-288.610462 288.610461L245.287385 749.568c-53.799385-49.545846-100.273231-115.318154-140.445539-198.025846C207.478154 339.416615 352.886154 238.828308 551.384615 238.828308c63.172923 0 120.989538 10.161231 173.764923 30.798769l-85.858461 85.937231zM546.500923 689.230769c-7.876923 0-15.675077-0.630154-23.158154-1.969231l-62.936615 62.857847a216.615385 216.615385 0 0 0 284.908308-284.908308l-62.857847 62.936615A138.003692 138.003692 0 0 1 546.422154 689.230769z","fill-opacity":".65","p-id":"4469"},null,-1)]))}const hQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(gQ,[["render",dQ]])},Symbol.toStringTag,{value:"Module"})),pQ={},BQ={t:"1706685177134",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5205",width:"200",height:"200"};function CQ(n,A){return t.openBlock(),t.createElementBlock("svg",BQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M437.996 697.519 437.996 697.519 437.996 586.722 327.195 586.722c-61.187 0-110.797 49.61-110.797 110.797 0 61.195 49.61 110.797 110.797 110.797C388.387 808.316 437.996 758.714 437.996 697.519L437.996 697.519 437.996 697.519 437.996 697.519zM493.395 697.519c0 91.789-74.411 166.195-166.2 166.195C235.41 863.714 161 789.308 161 697.519c0-91.789 74.41-166.195 166.195-166.195l110.801 0 55.399 0 0 55.398L493.395 697.519 493.395 697.519 493.395 697.519zM585.723 697.519 585.723 586.722 696.52 586.722c61.195 0 110.796 49.61 110.796 110.797 0 61.195-49.601 110.797-110.796 110.797C635.332 808.316 585.723 758.714 585.723 697.519L585.723 697.519 585.723 697.519zM530.324 697.519c0 91.789 74.41 166.195 166.196 166.195 91.789 0 166.199-74.406 166.199-166.195 0-91.789-74.41-166.195-166.199-166.195L585.723 531.324l-55.399 0 0 55.398L530.324 697.519 530.324 697.519 530.324 697.519zM437.996 328.195l0 110.801L327.195 438.996c-61.187 0-110.797-49.61-110.797-110.801 0-61.188 49.61-110.797 110.797-110.797C388.387 217.398 437.996 267.007 437.996 328.195L437.996 328.195 437.996 328.195zM493.395 328.195c0-91.785-74.411-166.195-166.2-166.195C235.41 162 161 236.41 161 328.195c0 91.789 74.41 166.199 166.195 166.199l110.801 0 55.399 0 0-55.398L493.395 328.195 493.395 328.195 493.395 328.195zM585.723 328.195l0 110.801L696.52 438.996c61.195 0 110.796-49.61 110.796-110.801 0-61.188-49.601-110.797-110.796-110.797C635.332 217.398 585.723 267.007 585.723 328.195L585.723 328.195 585.723 328.195zM530.324 328.195 530.324 328.195C530.324 236.41 604.734 162 696.52 162c91.789 0 166.199 74.41 166.199 166.195 0 91.789-74.41 166.199-166.199 166.199L585.723 494.394l-55.399 0 0-55.398L530.324 328.195 530.324 328.195 530.324 328.195zM530.324 328.195",fill:"#272636","p-id":"5206"},null,-1)]))}const EQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(pQ,[["render",CQ]])},Symbol.toStringTag,{value:"Module"})),QQ={},mQ={t:"1704703304741",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9731",width:"200",height:"200"};function IQ(n,A){return t.openBlock(),t.createElementBlock("svg",mQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M384.04864 128h-307.2A76.8 76.8 0 0 0 0.04864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 460.84864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2A25.6 25.6 0 0 1 409.64864 204.8v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2A25.6 25.6 0 0 1 51.24864 614.4V204.8a25.6 25.6 0 0 1 25.6-25.6zM947.24864 128h-307.2A76.8 76.8 0 0 0 563.24864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 1024.04864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2a25.6 25.6 0 0 1 25.6 25.6v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2a25.6 25.6 0 0 1-25.6-25.6V204.8a25.6 25.6 0 0 1 25.6-25.6zM435.24864 819.2a25.6 25.6 0 0 1 4.608 50.7904L435.24864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L25.64864 819.2h409.6zM998.44864 819.2a25.6 25.6 0 0 1 4.608 50.7904L998.44864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L588.84864 819.2h409.6z","p-id":"9732"},null,-1)]))}const fQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(QQ,[["render",IQ]])},Symbol.toStringTag,{value:"Module"})),wQ={},DQ={t:"1702300882657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1495","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function bQ(n,A){return t.openBlock(),t.createElementBlock("svg",DQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M118.784 727.04h778.24v-430.08h-778.24v430.08z m-40.96-471.04h860.16v512h-860.16v-512z m116.736 153.6v204.8c0 12.288 8.192 20.48 20.48 20.48s20.48-8.192 20.48-20.48v-204.8c0-12.288-8.192-20.48-20.48-20.48s-20.48 8.192-20.48 20.48z","p-id":"1496"},null,-1)]))}const yQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(wQ,[["render",bQ]])},Symbol.toStringTag,{value:"Module"})),vQ={},kQ={t:"1703055643727",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4960",width:"200",height:"200"};function _Q(n,A){return t.openBlock(),t.createElementBlock("svg",kQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z","p-id":"4961"},null,-1),t.createElementVNode("path",{d:"M305.664 344.576h43.008v306.176H296.448V435.2c-23.552 19.968-50.688 33.792-81.408 43.008V424.448c46.592-19.456 76.8-46.08 90.624-79.872zM598.528 603.648v47.616h-189.44v-32.768c20.48-41.472 50.176-77.824 88.576-109.568 35.328-29.696 52.736-55.296 51.712-76.8 0-29.696-14.336-44.544-43.008-44.544-19.968 1.024-34.816 17.408-46.08 48.64l-47.616-20.48c17.92-51.2 50.688-76.8 99.328-76.8 55.296 3.072 84.992 33.28 88.576 90.112 2.048 38.4-20.48 75.776-66.56 112.64-25.6 19.968-46.592 40.448-61.952 61.952h126.464zM617.984 569.856l47.616-11.776c6.144 34.304 20.992 51.712 46.08 51.712 30.72 0 46.08-15.872 46.08-47.616-1.024-29.696-16.384-45.056-46.08-46.08h-33.792v-47.616h23.552c29.696-1.024 45.056-15.872 46.08-44.544-1.024-23.552-12.288-35.84-33.792-36.864-22.528 1.024-36.352 16.896-41.472 47.616l-48.64-13.312c12.8-54.272 42.496-81.92 88.576-82.944 56.32 2.048 85.504 31.232 87.552 87.552 0 27.648-12.288 48.128-36.864 61.952 31.744 13.824 47.616 38.4 47.616 74.24-2.048 59.392-34.304 90.112-97.792 93.184-54.784 0-86.016-28.16-94.72-85.504z","p-id":"4962"},null,-1)]))}const MQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(vQ,[["render",_Q]])},Symbol.toStringTag,{value:"Module"})),SQ={},xQ={t:"1703055995909",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10211",width:"200",height:"200"};function FQ(n,A){return t.openBlock(),t.createElementBlock("svg",xQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M960 704h-63.616v-167.392a32 32 0 0 0-32-32H544V416h160a32 32 0 0 0 32-32V96a32 32 0 0 0-32-32H320a32 32 0 0 0-32 32v288a32 32 0 0 0 32 32h160v88.608H161.984a32 32 0 0 0-32 31.968L129.792 704H64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32H193.792l0.16-135.392H480V704h-64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32h-64v-135.392h288.384V704H768a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32zM352 128h320v224H352V128zM224 896H96v-128h128v128z m352 0h-128v-128h128v128z m352 0h-128v-128h128v128z","p-id":"10212"},null,-1)]))}const NQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(SQ,[["render",FQ]])},Symbol.toStringTag,{value:"Module"})),RQ={},LQ={t:"1703683757240",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5282",width:"200",height:"200"};function GQ(n,A){return t.openBlock(),t.createElementBlock("svg",LQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M591.9488 76.8a30.72 30.72 0 0 1 21.71904 8.99584l258.48832 258.48832a30.72 30.72 0 0 1 8.99584 21.71904V430.08h45.568a20.48 20.48 0 0 1 20.48 20.48v358.4a20.48 20.48 0 0 1-20.48 20.48h-45.568v87.04a30.72 30.72 0 0 1-30.72 30.72h-675.84a30.72 30.72 0 0 1-30.72-30.72v-87.04H97.28a20.48 20.48 0 0 1-20.48-20.48V450.56a20.48 20.48 0 0 1 20.48-20.48h46.592V107.52a30.72 30.72 0 0 1 30.72-30.72zM809.472 829.44h-593.92v46.08h593.92v-46.08z m-249.344-342.016c-75.264 0-128 58.88-128 143.36 0 81.408 51.2 138.752 124.416 138.752 63.488 0 128-44.544 128-143.872 0-81.408-51.2-138.24-124.416-138.24z m-323.584 4.096H178.688v176.64c0 45.056-14.336 48.64-32.768 48.64-11.264 0-19.456-3.072-22.528-4.096l-14.336-5.632-9.216 51.712 9.728 4.096c10.24 3.584 26.112 6.656 38.912 6.656 40.448 0 88.064-16.896 88.064-98.816V491.52z m114.176-4.608c-53.76 0-93.184 33.792-93.184 80.384 0 37.888 24.064 65.024 73.728 82.432 32.256 12.8 38.4 23.04 40.448 37.888 0 18.432-14.848 29.696-39.424 29.696-16.896 0-36.352-5.12-50.688-14.336l-14.336-8.704-15.872 51.712 7.68 5.12c15.872 10.752 45.056 17.92 70.656 17.92 49.664 0 99.84-26.112 99.84-84.48 0-50.688-36.352-71.168-71.68-84.992-35.328-13.312-41.472-22.016-41.472-35.84 0-11.264 8.704-24.576 33.792-24.576 18.432 0 32.256 5.632 40.96 10.24l13.312 7.168 16.896-50.688-9.216-5.12c-9.216-5.12-29.184-13.824-61.44-13.824z m404.992 4.608h-54.784v273.92h55.808v-118.784c0-18.432 0-34.304-0.512-49.152 6.656 10.752 13.824 23.04 22.016 35.84l82.432 132.096h52.224V491.52h-55.808v123.47904c0.01024 13.37344 0.07168 26.09664 0.512 38.82496-5.632-10.24-11.776-20.48-18.432-30.72L755.712 491.52z m-197.12 47.616c45.568 0 66.56 45.568 66.56 88.064 0 45.056-20.992 90.624-67.072 90.624-45.568 0-66.56-45.568-66.56-88.064 0-67.072 36.352-90.624 67.072-90.624z m25.6-390.656h-368.64v281.6h593.92V363.52h-194.56a30.72 30.72 0 0 1-30.72-30.72V148.48z m71.68 76.8v66.56h66.56l-66.56-66.56z","p-id":"5283"},null,-1)]))}const HQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(RQ,[["render",GQ]])},Symbol.toStringTag,{value:"Module"})),PQ={},KQ={t:"1704177937362",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"19086",width:"200",height:"200"};function UQ(n,A){return t.openBlock(),t.createElementBlock("svg",KQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M914.496 653.504a39.893333 39.893333 0 0 0-16 3.306667l-0.213333 0.085333h-0.192l-387.882667 165.312-388.010667-165.205333h-0.213333l-0.192-0.106667a40.853333 40.853333 0 0 0-16-3.285333c-23.082667 0-41.792 19.285333-41.792 43.093333 0 18.005333 10.709333 33.28 25.813333 39.808l403.882667 172.096 0.405333 0.106667a40.426667 40.426667 0 0 0 32 0l0.213334-0.106667c0.085333 0 0.085333-0.106667 0.192-0.106667l403.882666-172.096a43.157333 43.157333 0 0 0 25.813334-39.808c0.106667-23.786667-18.602667-43.093333-41.706667-43.093333z m0-186.496c-7.893333-0.213333-16 3.2-16 3.2l-388.288 165.397333L121.792 470.186667s-10.282667-3.2-16-3.2c-23.082667 0-41.792 19.2-41.792 42.986666 0 17.92 10.709333 33.301333 25.813333 39.701334l403.882667 172.010666c0.106667 0 0.106667 0.106667 0.213333 0.106667l0.085334 0.085333a40.533333 40.533333 0 0 0 32 0l0.213333-0.085333c0.085333 0 0.085333 0 0.192-0.106667l403.904-172.010666a43.264 43.264 0 0 0 25.898667-39.68c0.106667-23.808-18.602667-43.008-41.706667-43.008zM89.813333 363.2l403.904 172.096c0.106667 0 0.106667 0 0.213334 0.106667l0.085333 0.106666a41.92 41.92 0 0 0 32 0l0.213333-0.106666 0.192-0.106667 403.904-171.989333a43.370667 43.370667 0 0 0 25.898667-39.701334c0-18.005333-10.709333-33.301333-25.813333-39.808L526.506667 111.594667c-0.106667 0-0.106667 0-0.213334-0.085334l-0.213333-0.106666a40.448 40.448 0 0 0-32 0l-0.085333 0.106666L89.813333 283.712A43.050667 43.050667 0 0 0 64 323.498667c0 17.92 10.709333 33.216 25.813333 39.701333z","p-id":"19087"},null,-1)]))}const TQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(PQ,[["render",UQ]])},Symbol.toStringTag,{value:"Module"})),YQ={},OQ={t:"1704894799777",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4348",width:"200",height:"200"};function $Q(n,A){return t.openBlock(),t.createElementBlock("svg",OQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.975a16.003 16.003 0 0 0 14.624 9.503h24.055c6.33 0 12.065-3.732 14.63-9.518l59.109-133.35v157.458c0 8.838 7.165 16.003 16.003 16.003h27.337c8.838 0 16.003-7.165 16.003-16.003V486.002c0-8.838-7.165-16.003-16.003-16.003h-34.746a16.003 16.003 0 0 0-14.673 9.616l-79.473 182.587-79.473-182.587A16.003 16.003 0 0 0 417.96 470h-34.958c-8.838 0-16.003 7.165-16.003 16.003v271.996c0 8.838 7.165 16.003 16.003 16.003h27.126c8.838 0 16.003-7.165 16.003-16.003V600.929z","p-id":"4349"},null,-1)]))}const JQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(YQ,[["render",$Q]])},Symbol.toStringTag,{value:"Module"})),ZQ={},zQ={t:"1703837724812",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3877",width:"200",height:"200"};function WQ(n,A){return t.openBlock(),t.createElementBlock("svg",zQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M486.4 776.533333v-213.333333H247.466667v106.666667L85.333333 512l162.133334-162.133333V512h238.933333V247.466667H349.866667L512 85.333333l162.133333 162.133334h-132.266666V512h238.933333V349.866667L938.666667 512l-162.133334 162.133333v-106.666666h-238.933333v213.333333h132.266667L512 938.666667l-162.133333-162.133334h136.533333z","p-id":"3878"},null,-1)]))}const jQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(ZQ,[["render",WQ]])},Symbol.toStringTag,{value:"Module"})),qQ={},XQ={t:"1702992107847",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4267","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function VQ(n,A){return t.openBlock(),t.createElementBlock("svg",XQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M784 1024h-544A176 176 0 0 1 64 848v-416A176 176 0 0 1 240 256h544A176 176 0 0 1 960 432v416A176 176 0 0 1 784 1024zM240 352A80 80 0 0 0 160 432v416a80 80 0 0 0 80 80h544a80 80 0 0 0 80-80v-416a80 80 0 0 0-80-80z",fill:"","p-id":"4268"},null,-1),t.createElementVNode("path",{d:"M512 448a48 48 0 0 1 48 48v288A48 48 0 0 1 512 832a48 48 0 0 1-48-48v-288A48 48 0 0 1 512 448zM664.32 301.44v-14.08C640 178.56 611.84 96 512 96S384 167.04 364.8 275.84l-5.12 24.32-94.08-19.84 4.48-24.32C288 167.04 320 0 512 0s222.72 173.44 243.2 266.88v13.44z",fill:"","p-id":"4269"},null,-1)]))}const Am=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(qQ,[["render",VQ]])},Symbol.toStringTag,{value:"Module"})),em={},tm={t:"1703055586130",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3916",width:"200",height:"200"};function nm(n,A){return t.openBlock(),t.createElementBlock("svg",tm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M512 65.984C266.08 65.984 65.984 266.08 65.984 512c0 245.952 200.064 446.016 446.016 446.016 245.952 0 446.016-200.064 446.016-446.016C958.016 266.08 757.952 65.984 512 65.984zM512 894.016C301.344 894.016 129.984 722.624 129.984 512 129.984 301.344 301.344 129.984 512 129.984c210.624 0 382.016 171.36 382.016 382.016C894.016 722.624 722.624 894.016 512 894.016z","p-id":"3917"},null,-1),t.createElementVNode("path",{d:"M512 352c-88.224 0-160 71.776-160 160s71.776 160 160 160 160-71.776 160-160S600.224 352 512 352z","p-id":"3918"},null,-1)]))}const im=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(em,[["render",nm]])},Symbol.toStringTag,{value:"Module"})),om={},sm={t:"1705643861503",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5125",width:"200",height:"200"};function rm(n,A){return t.openBlock(),t.createElementBlock("svg",sm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M1020.93824 386.304a64.64 64.64 0 0 0-51.584-45.44l-276.352-41.984L569.41824 37.248A63.744 63.744 0 0 0 512.07424 0a63.68 63.68 0 0 0-57.28 37.248L331.21024 298.88l-276.48 41.984a64.64 64.64 0 0 0-51.52 45.44c-7.552 24.192-1.28 50.688 16.192 68.48l199.936 203.584-47.168 287.616c-4.16 25.024 5.76 50.304 25.408 65.28a61.952 61.952 0 0 0 67.328 5.12L512.07424 880.512l247.232 135.744a62.08 62.08 0 0 0 67.328-5.12c19.648-14.912 29.504-40.192 25.408-65.28l-47.232-287.552L1004.87424 454.72c17.408-17.728 23.68-44.224 16.128-68.416","p-id":"5126"},null,-1)]))}const am=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(om,[["render",rm]])},Symbol.toStringTag,{value:"Module"})),lm={},cm={t:"1703839228306",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6053",width:"200",height:"200"};function gm(n,A){return t.openBlock(),t.createElementBlock("svg",cm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M587.229378 437.990403 580.722174 437.990403 76.975139 437.990403 76.975139 581.918419 580.722174 581.918419 587.229378 581.918419 940.542216 581.918419 940.542216 437.990403Z","p-id":"6054"},null,-1)]))}const um=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(lm,[["render",gm]])},Symbol.toStringTag,{value:"Module"})),dm={},hm={t:"1707470386657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3905",width:"200",height:"200"};function pm(n,A){return t.openBlock(),t.createElementBlock("svg",hm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M712.145455 316.509091h-390.981819c-18.618182 0-37.236364 13.963636-37.236363 37.236364s18.618182 37.236364 37.236363 37.236363h158.254546v344.436364c0 18.618182 18.618182 37.236364 37.236363 37.236363s37.236364-18.618182 37.236364-37.236363v-344.436364h158.254546c18.618182 0 37.236364-18.618182 37.236363-37.236363s-18.618182-37.236364-37.236363-37.236364z","p-id":"3906"},null,-1),t.createElementVNode("path",{d:"M842.472727 51.2h-665.6c-69.818182 0-130.327273 60.509091-130.327272 130.327273v665.6c0 69.818182 60.509091 130.327273 130.327272 130.327272h665.6c74.472727 0 130.327273-55.854545 130.327273-130.327272V176.872727c0-69.818182-55.854545-125.672727-130.327273-125.672727z m60.509091 795.927273c0 32.581818-23.272727 55.854545-55.854545 55.854545h-665.6c-32.581818 0-55.854545-23.272727-55.854546-55.854545V176.872727c0-32.581818 23.272727-55.854545 55.854546-55.854545h665.6c32.581818 0 55.854545 23.272727 55.854545 55.854545v670.254546z","p-id":"3907"},null,-1)]))}const Bm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(dm,[["render",pm]])},Symbol.toStringTag,{value:"Module"})),Cm={},Em={t:"1728100556289",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5207",width:"200",height:"200"};function Qm(n,A){return t.openBlock(),t.createElementBlock("svg",Em,A[0]||(A[0]=[t.createElementVNode("path",{d:"M814.805 128a51.179 51.179 0 0 1 51.179 51.179V844.01a51.179 51.179 0 0 1-51.179 51.157H201.173a51.179 51.179 0 0 1-51.178-51.157V179.179A51.179 51.179 0 0 1 201.173 128h613.654zM329.024 434.837a51.093 51.093 0 0 1-51.179-51.093V179.157h-76.672v664.854h613.76V179.179H738.22v204.48a51.179 51.179 0 0 1-51.179 51.178H329.024z m0-51.093h357.995V179.157H329.024v204.587z m357.91 204.501a25.557 25.557 0 1 1 0.085 51.072H329.024a25.536 25.536 0 1 1 0-51.072h357.91z","p-id":"5208"},null,-1)]))}const mm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Cm,[["render",Qm]])},Symbol.toStringTag,{value:"Module"})),Im={},fm={t:"1728140209660",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7097",width:"200",height:"200"};function wm(n,A){return t.openBlock(),t.createElementBlock("svg",fm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M938.666667 42.666667a42.666667 42.666667 0 0 1 42.666666 42.666666v853.333334a42.666667 42.666667 0 0 1-42.666666 42.666666H85.333333a42.666667 42.666667 0 0 1-42.666666-42.666666V85.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h853.333334z m-42.666667 298.666666H128v554.666667h768V341.333333zM382.890667 447.573333a21.333333 21.333333 0 0 1 30.122666-1.066666l31.232 29.098666a21.333333 21.333333 0 0 1 1.024 30.165334l-103.808 111.274666 103.808 111.36a21.333333 21.333333 0 0 1-1.024 30.122667l-31.232 29.098667a21.333333 21.333333 0 0 1-30.122666-1.024l-130.005334-139.392-14.464-13.482667a21.290667 21.290667 0 0 1-6.741333-16.64l0.128-3.626667a21.248 21.248 0 0 1 6.613333-13.056l14.421334-13.482666z m258.218666 0l130.005334 139.349334 14.464 13.482666c3.84 3.584 6.016 8.234667 6.613333 13.056l0.128 3.584a21.290667 21.290667 0 0 1-6.741333 16.682667l-14.506667 13.482667-129.962667 139.392a21.333333 21.333333 0 0 1-27.093333 3.413333l-3.029333-2.389333-31.232-29.098667a21.333333 21.333333 0 0 1-1.024-30.122667l103.765333-111.36-103.765333-111.274666a21.333333 21.333333 0 0 1 1.024-30.165334l31.232-29.098666a21.333333 21.333333 0 0 1 30.122666 1.066666zM896 128H128v128h768V128z",opacity:".65","p-id":"7098"},null,-1)]))}const Dm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Im,[["render",wm]])},Symbol.toStringTag,{value:"Module"})),bm={},ym={t:"1706682823369",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3946",width:"200",height:"200"};function vm(n,A){return t.openBlock(),t.createElementBlock("svg",ym,A[0]||(A[0]=[t.createElementVNode("path",{d:"M 1014.65 967.259 L 708.256 660.86 a 400.522 400.522 0 1 0 -47.395 47.395 l 305.731 305.731 a 33.3768 33.3768 0 0 0 47.395 -47.395 Z M 164.881 638.832 a 333.768 333.768 0 1 1 473.95 0 a 333.768 333.768 0 0 1 -473.95 0 Z","p-id":"3947"},null,-1)]))}const km=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(bm,[["render",vm]])},Symbol.toStringTag,{value:"Module"})),_m={},Mm={t:"1741244239723",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11748",width:"200",height:"200"};function Sm(n,A){return t.openBlock(),t.createElementBlock("svg",Mm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M901.12 645.12l84.48 84.48-61.44 61.44-84.48-84.48c-51.2 28.16-117.76 17.92-161.28-23.04-56.32-56.32-56.32-145.92 0-194.56s145.92-56.32 194.56 0c51.2 40.96 56.32 107.52 28.16 156.16z m-332.8-217.6v166.4H10.24v-166.4h558.08z m0 391.68H10.24v-166.4h558.08V819.2z m445.44-445.44H10.24V204.8h1003.52v168.96zM122.88 261.12v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m506.88-81.92c23.04 23.04 56.32 23.04 76.8 0 23.04-23.04 23.04-56.32 0-76.8-23.04-23.04-56.32-23.04-76.8 0-20.48 20.48-20.48 53.76 0 76.8z",fill:"#040000","p-id":"11749"},null,-1)]))}const xm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(_m,[["render",Sm]])},Symbol.toStringTag,{value:"Module"})),Fm={},Nm={t:"1702352445968",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5056","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function Rm(n,A){return t.openBlock(),t.createElementBlock("svg",Nm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M794.17 147.91c45.16 0.2 81.71 36.76 81.92 81.92v564.34c-0.2 45.16-36.76 81.71-81.92 81.92H229.83c-45.16-0.2-81.71-36.76-81.92-81.92V229.83c0.2-45.16 36.76-81.71 81.92-81.92h564.34m0-45.51H229.83c-70.09 0-127.43 57.34-127.43 127.43v564.34c0 70.08 57.34 127.43 127.43 127.43h564.34c70.08 0 127.43-57.34 127.43-127.43V229.83c0-70.09-57.34-127.43-127.43-127.43z m0 0","p-id":"5057"},null,-1),t.createElementVNode("path",{d:"M514.8 704.46c-6.02 0.01-11.81-2.38-16.07-6.64l-256-255.09a22.73 22.73 0 0 1-6-22 22.752 22.752 0 0 1 16.1-16.16c7.87-2.11 16.27 0.14 22.02 5.92l239.88 239.05 239.22-239.39c8.89-8.82 23.25-8.8 32.11 0.06 8.86 8.86 8.9 23.21 0.08 32.11L530.89 697.79a22.744 22.744 0 0 1-16.09 6.67z m0 0","p-id":"5058"},null,-1)]))}const Lm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Fm,[["render",Rm]])},Symbol.toStringTag,{value:"Module"})),Gm={},Hm={t:"1706707968748",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4174",width:"200",height:"200"};function Pm(n,A){return t.openBlock(),t.createElementBlock("svg",Hm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M228.704 212.096v66.688H112V212.096h116.704z m333.184 266.592v66.688H112v-66.688h449.888z m-266.496 266.72v66.592H112v-66.688l183.392 0.096z m116.608-600c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H278.816c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488V178.912c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.184-0.096z m66.688 533.28c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H345.28c-8.992 0-16.8-3.296-23.488-9.888a32.416 32.416 0 0 1-9.888-23.488v-133.312c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.408-0.096zM912 212.096v66.688H462.112V212.096H912z m0 533.312v66.592H528.608v-66.688l383.392 0.096z m-166.784-333.312c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888h-133.216c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488v-133.408c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.496-9.888 23.488-9.888l133.216 0.096z m166.784 66.592v66.688h-116.704v-66.688H912z","p-id":"4175"},null,-1)]))}const Km=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Gm,[["render",Pm]])},Symbol.toStringTag,{value:"Module"})),Um={},Tm={t:"1703683830020",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6437",width:"200",height:"200"};function Ym(n,A){return t.openBlock(),t.createElementBlock("svg",Tm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M751.36 768H272.64a271.36 271.36 0 0 1 0-542.72h478.72a271.36 271.36 0 0 1 0 542.72zM272.64 287.36a207.36 207.36 0 0 0 0 414.72h478.72a207.36 207.36 0 0 0 0-414.72z","p-id":"6438"},null,-1),t.createElementVNode("path",{d:"M735.36 494.72m-158.08 0a158.08 158.08 0 1 0 316.16 0 158.08 158.08 0 1 0-316.16 0Z","p-id":"6439"},null,-1)]))}const Om=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Um,[["render",Ym]])},Symbol.toStringTag,{value:"Module"})),$m={},Jm={t:"1746684610959",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8806",width:"200",height:"200"};function Zm(n,A){return t.openBlock(),t.createElementBlock("svg",Jm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M137.846154 681.491692c-85.799385 34.422154-137.846154 79.655385-137.846154 129.181539 0 107.854769 246.862769 195.268923 551.384615 195.268923s551.384615-87.433846 551.384616-195.268923c0-49.526154-52.066462-94.759385-137.846154-129.181539v71.739077H137.846154v-71.739077z",fill:"#F7F8FA","p-id":"8807"},null,-1),t.createElementVNode("path",{d:"M367.596308 626.865231h-275.692308l16.462769 181.090461a78.769231 78.769231 0 0 0 78.434462 71.640616h729.166769a78.769231 78.769231 0 0 0 78.434462-71.640616l16.462769-181.090461h-275.692308v13.134769a78.769231 78.769231 0 0 1-78.769231 78.769231H446.365538a78.769231 78.769231 0 0 1-78.76923-78.769231v-13.134769z m198.06523-184.950154l64.984616-64.984615 151.886769 151.906461c12.425846 12.425846 15.655385 27.372308 5.789539 41.944615a109.686154 109.686154 0 0 1-12.937847 15.891693 109.686154 109.686154 0 0 1-15.911384 12.937846c-14.532923 9.846154-29.499077 6.636308-41.924923-5.789539l-151.88677-151.906461z",fill:"#DADEE2","p-id":"8808"},null,-1),t.createElementVNode("path",{d:"M191.684923 357.435077L91.904 626.865231h91.884308l55.059692-207.950769c-18.707692-17.880615-34.658462-38.596923-47.163077-61.479385z m440.753231 5.238154h201.432615a19.692308 19.692308 0 0 1 19.022769 14.651077l66.087385 249.540923h91.884308l-105.353846-284.435693a39.384615 39.384615 0 0 0-36.923077-25.718153H653.193846a251.352615 251.352615 0 0 1-20.755692 45.961846zM413.538462 18.057846C534.075077 18.057846 631.788308 115.771077 631.788308 236.307692c0 44.878769-13.528615 86.587077-36.745846 121.265231l27.470769 27.490462-48.738462 48.738461-25.639384-25.659077A217.324308 217.324308 0 0 1 413.538462 454.557538c-120.536615 0-218.249846-97.713231-218.249847-218.249846S293.001846 18.057846 413.538462 18.057846z m0 57.422769a160.827077 160.827077 0 1 0 0 321.654154 160.827077 160.827077 0 0 0 0-321.654154z",fill:"#E6E8E9","p-id":"8809"},null,-1)]))}const zm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA($m,[["render",Zm]])},Symbol.toStringTag,{value:"Module"})),Wm={},jm={t:"1732514809165",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3898",width:"200",height:"200"};function qm(n,A){return t.openBlock(),t.createElementBlock("svg",jm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M908.8 1005.44H115.2a101.76 101.76 0 0 1-101.12-101.76V110.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",fill:"#323333","p-id":"3899"},null,-1),t.createElementVNode("path",{d:"M977.92 299.52a32.64 32.64 0 0 1-32-32V180.48a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32h487.68a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3900"},null,-1),t.createElementVNode("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",fill:"#323333","p-id":"3901"},null,-1),t.createElementVNode("path",{d:"M699.52 299.52a32 32 0 0 1-32-32V110.72a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3902"},null,-1)]))}const Xm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Wm,[["render",qm]])},Symbol.toStringTag,{value:"Module"})),Vm={},AI={t:"1724730105736",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1494",width:"200",height:"200"};function eI(n,A){return t.openBlock(),t.createElementBlock("svg",AI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M920.528912 444.49616l-340.111125-340.114737a135.932464 135.932464 0 0 0-96.155899-39.758503L200.418112 64.662657h-0.018063C125.275769 64.662657 64.301413 125.40943 64.301413 200.548159v283.673992a136.091412 136.091412 0 0 0 39.881326 96.199248l340.230335 340.241173a136.022775 136.022775 0 0 0 192.369598 0l283.74624-283.76069c53.128139-53.131752 53.128139-139.277583 0-192.405722z m-45.209673 147.192436l-283.746241 283.760691a72.064544 72.064544 0 0 1-101.924964 0l-340.212273-340.241173A72.187367 72.187367 0 0 1 128.241582 484.218538V200.548159A72.021195 72.021195 0 0 1 200.396437 128.602826l283.843776-0.039737a71.887535 71.887535 0 0 1 50.935389 21.053294l340.114737 340.1039a72.104281 72.104281 0 0 1 0.0289 101.968313z",fill:"","p-id":"1495"},null,-1),t.createElementVNode("path",{d:"M384.002258 255.999097c-70.69543 0-128.003161 57.307731-128.003161 128.003161S313.306828 511.998194 384.002258 511.998194s127.999548-57.307731 127.999548-127.999549S454.690463 255.999097 384.002258 255.999097z m45.296371 173.29592a64.059379 64.059379 0 1 1 18.759396-45.292759 63.640337 63.640337 0 0 1-18.763008 45.292759z",fill:"","p-id":"1496"},null,-1)]))}const tI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Vm,[["render",eI]])},Symbol.toStringTag,{value:"Module"})),nI={},iI={t:"1730966767890",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function oI(n,A){return t.openBlock(),t.createElementBlock("svg",iI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M859.428571 256a18.285714 18.285714 0 0 1-18.285714-18.285714V146.285714H182.857143v91.428572a18.285714 18.285714 0 0 1-36.571429 0v-109.714286a18.285714 18.285714 0 0 1 18.285715-18.285714h694.857142a18.285714 18.285714 0 0 1 18.285715 18.285714v109.714286a18.285714 18.285714 0 0 1-18.285715 18.285714z","p-id":"3920"},null,-1),t.createElementVNode("path",{d:"M512 932.571429a18.285714 18.285714 0 0 1-18.285714-18.285715V128a18.285714 18.285714 0 0 1 36.571428 0V914.285714a18.285714 18.285714 0 0 1-18.285714 18.285715z","p-id":"3921"},null,-1),t.createElementVNode("path",{d:"M694.857143 932.571429H329.142857a18.285714 18.285714 0 0 1 0-36.571429h365.714286a18.285714 18.285714 0 0 1 0 36.571429z","p-id":"3922"},null,-1)]))}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(nI,[["render",oI]])},Symbol.toStringTag,{value:"Module"})),rI={},aI={t:"1703231974424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11202",width:"200",height:"200"};function lI(n,A){return t.openBlock(),t.createElementBlock("svg",aI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M760.32 625.152a12.8 12.8 0 0 0-13.824 2.56l-153.6 153.6a12.8 12.8 0 0 0 9.216 22.016h153.6a12.8 12.8 0 0 0 12.8-12.8v-153.6a12.8 12.8 0 0 0-8.192-11.776z",fill:"","p-id":"11203"},null,-1),t.createElementVNode("path",{d:"M768 157.184H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128v-512a128 128 0 0 0-128-128z m76.8 640a76.8 76.8 0 0 1-76.8 76.8H256a76.8 76.8 0 0 1-76.8-76.8v-512A76.8 76.8 0 0 1 256 208.384h512a76.8 76.8 0 0 1 76.8 76.8z",fill:"","p-id":"11204"},null,-1),t.createElementVNode("path",{d:"M307.2 401.92h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 0 0 0 51.2zM307.2 570.88h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 1 0 0 51.2zM512 688.128H307.2a25.6 25.6 0 1 0 0 51.2h204.8a25.6 25.6 0 1 0 0-51.2z",fill:"","p-id":"11205"},null,-1)]))}const cI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(rI,[["render",lI]])},Symbol.toStringTag,{value:"Module"})),gI={},uI={t:"1705911423739",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9058",width:"200",height:"200"};function dI(n,A){return t.openBlock(),t.createElementBlock("svg",uI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const hI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(gI,[["render",dI]])},Symbol.toStringTag,{value:"Module"})),pI={},BI={t:"1706919981946",class:"icon",viewBox:"0 0 1536 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4200",width:"200",height:"200"};function CI(n,A){return t.openBlock(),t.createElementBlock("svg",BI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M757.76 614.4L512 768 757.76 921.6V819.2h307.2V716.8h-307.2zM0 0v1024h409.6V0H0z m307.2 921.6H102.4V102.4h204.8v819.2zM1474.56 0H1126.4v1024h409.6V0h-61.44zM1433.6 921.6h-204.8V102.4h204.8v819.2zM819.2 102.4H512v102.4h307.2v102.4l245.76-153.6L819.2 0z","p-id":"4201"},null,-1)]))}const EI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(pI,[["render",CI]])},Symbol.toStringTag,{value:"Module"})),QI={},mI={t:"1728100521082",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4204",width:"200",height:"200"};function II(n,A){return t.openBlock(),t.createElementBlock("svg",mI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M640 64a64 64 0 0 1 64 64v85.333333h226.133333c4.693333 0 8.533333 3.84 8.533334 8.533334v46.933333a8.533333 8.533333 0 0 1-8.533334 8.533333H874.666667v554.666667a128 128 0 0 1-128 128H277.333333a128 128 0 0 1-128-128V277.333333H93.866667a8.533333 8.533333 0 0 1-8.533334-8.533333v-46.933333c0-4.693333 3.84-8.533333 8.533334-8.533334H320V128a64 64 0 0 1 64-64h256z m170.666667 213.333333H213.333333v554.666667a64 64 0 0 0 60.245334 63.893333L277.333333 896h469.333334a64 64 0 0 0 63.893333-60.245333L810.666667 832V277.333333z m-392.533334 128c4.693333 0 8.533333 3.84 8.533334 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533334 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533333-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533333-8.533334h46.933333z m234.666667 0c4.693333 0 8.533333 3.84 8.533333 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533333 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533334-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533334-8.533334h46.933333zM640 128H384v85.333333h256V128z","p-id":"4205"},null,-1)]))}const fI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(QI,[["render",II]])},Symbol.toStringTag,{value:"Module"})),wI={},DI={t:"1742201720189",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3586",width:"200",height:"200"};function bI(n,A){return t.openBlock(),t.createElementBlock("svg",DI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M950.4 128.2H330.1c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h620.3c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H392.1v-48h496.3v48zM950.4 704.2H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h458.6c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H553.8v-48h334.6v48zM491.8 608.2h457.1c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10z m62-120h333.1v48H553.8v-48zM384.1 548.2c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-163c35.2-14.2 60-48.7 60-89 0-53-43-96-96-96s-96 43-96 96c0 40.3 24.8 74.8 60 89v487c0 19.9 16.1 36 36 36h224c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-216h188z",fill:"#333333","p-id":"3587"},null,-1)]))}const yI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(wI,[["render",bI]])},Symbol.toStringTag,{value:"Module"})),vI={},kI={t:"1707573140261",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4919",width:"200",height:"200"};function _I(n,A){return t.openBlock(),t.createElementBlock("svg",kI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M543.7 157v534c0 16.6-13.4 30-30 30s-30-13.4-30-30V157c0-16.6 13.4-30 30-30 16.5 0 30 13.4 30 30z",fill:"","p-id":"4920"},null,-1),t.createElementVNode("path",{d:"M323.1 331c11.8 11.8 30.7 11.8 42.5 0l119.9-119.9c15.6-15.6 40.9-15.6 56.6 0L662 331c11.7 11.7 30.7 11.7 42.4 0s11.7-30.7 0-42.4L541.7 126.1c-15.6-15.6-41-15.6-56.6 0L323 288.6c-11.6 11.8-11.6 30.7 0.1 42.4zM853.7 913h-680c-33.1 0-60-26.9-60-60V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v240c0 16.6 13.4 30 30 30h620c16.6 0 30-13.4 30-30V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v270c0 33.1-26.9 60-60 60z",fill:"","p-id":"4921"},null,-1)]))}const MI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(vI,[["render",_I]])},Symbol.toStringTag,{value:"Module"})),SI={},xI={t:"1705549223486",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3971",width:"200",height:"200"};function FI(n,A){return t.openBlock(),t.createElementBlock("svg",xI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M828.8 598.4c-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L694.4 688c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l35.2-35.2V896c0 16 12.8 32 32 32s32-12.8 32-32V697.6l38.4 38.4c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-92.8-92.8z m-419.2-240c16-35.2 6.4-76.8-19.2-105.6-28.8-28.8-73.6-35.2-108.8-22.4-35.2 16-57.6 54.4-57.6 92.8 0 51.2 41.6 92.8 92.8 92.8 38.4 0 76.8-22.4 92.8-57.6zM288 323.2c0-9.6 3.2-16 9.6-22.4 3.2-9.6 12.8-12.8 22.4-12.8 16 0 32 12.8 32 28.8s-12.8 32-28.8 35.2c-19.2 0-35.2-12.8-35.2-28.8z","p-id":"3972"},null,-1),t.createElementVNode("path",{d:"M896 96H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h544v-64H160c-19.2 0-32-16-32-32V192c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v416h64V160c0-35.2-28.8-64-64-64z","p-id":"3973"},null,-1),t.createElementVNode("path",{d:"M182.4 713.6c12.8 12.8 32 12.8 44.8 0l134.4-134.4 112 112c3.2 3.2 3.2 3.2 6.4 3.2 12.8 6.4 25.6 6.4 38.4-3.2l316.8-316.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L496 624 384 508.8l-3.2-3.2c-12.8-9.6-28.8-9.6-41.6 3.2l-160 160c-9.6 12.8-9.6 32 3.2 44.8z","p-id":"3974"},null,-1)]))}const NI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(SI,[["render",FI]])},Symbol.toStringTag,{value:"Module"})),RI={},LI={t:"1730861883815",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1611",width:"200",height:"200"};function GI(n,A){return t.openBlock(),t.createElementBlock("svg",LI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),t.createElementVNode("path",{d:"M512 127.2832a738.816 738.816 0 0 0 336.1792 121.0368v351.4368c0 40.192-12.9536 82.2784-38.5536 124.9792-23.8592 39.8336-58.88 80.0256-101.2224 116.2752a608.256 608.256 0 0 1-120.8832 80.896c-41.216 20.4288-67.3792 25.7536-75.52 25.7536-8.192 0-34.304-5.3248-75.52-25.8048a608.256 608.256 0 0 1-120.8832-80.8448c-42.3424-36.2496-77.312-76.4416-101.2224-116.224-25.6-42.752-38.5536-84.6848-38.5536-125.0304V248.32A738.816 738.816 0 0 0 512 127.2832zM512 51.2c-13.7728 0-27.648 4.0448-39.68 12.1344a663.4496 663.4496 0 0 1-303.7184 109.3632C130.9696 176.5376 102.4 209.3056 102.4 248.4736v351.5392C102.4 834.2528 409.6512 1024 512 1024c102.3488 0 409.6-189.7472 409.6-423.936V248.3712c0-39.1168-28.672-71.8848-66.2016-75.7248a663.9616 663.9616 0 0 1-303.7184-109.3632A71.2704 71.2704 0 0 0 512 51.2z","p-id":"1613"},null,-1),t.createElementVNode("path",{d:"M439.552 704.512l-120.0128-120.064a42.752 42.752 0 0 1 0-60.1088 42.752 42.752 0 0 1 60.1088 0l120.0128 120.0128a42.752 42.752 0 0 1 0 60.1088 42.752 42.752 0 0 1-60.1088 0z","p-id":"1614"},null,-1),t.createElementVNode("path",{d:"M782.0288 425.8304l-279.3984 279.5008c-15.36 15.3088-40.4992 15.3088-55.9616 0a39.8336 39.8336 0 0 1 0-55.9616l279.4496-279.5008c15.3088-15.3088 40.448-15.3088 55.9104 0a39.5776 39.5776 0 0 1 0 55.9616z","p-id":"1615"},null,-1)]))}const HI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(RI,[["render",GI]])},Symbol.toStringTag,{value:"Module"})),PI={},KI={t:"1728097746557",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3853",width:"200",height:"200"};function UI(n,A){return t.openBlock(),t.createElementBlock("svg",KI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M512 504L764.8 68.8h-134.4L512 275.2 393.6 70.4h-134.4L512 504zM819.2 70.4L512 600 204.8 68.8H0l512 886.4L1024 70.4H819.2z","p-id":"3854"},null,-1)]))}const TI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(PI,[["render",UI]])},Symbol.toStringTag,{value:"Module"})),oe=t.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const e=Object.entries(Object.assign({"./icons/add.vue":MC,"./icons/alert.vue":NC,"./icons/button.vue":HC,"./icons/card.vue":TC,"./icons/cascader.vue":JC,"./icons/checkbox.vue":jC,"./icons/clear.vue":AE,"./icons/collapse.vue":iE,"./icons/colorPicker.vue":aE,"./icons/copy.vue":uE,"./icons/custom.vue":BE,"./icons/datePicker.vue":mE,"./icons/delete.vue":DE,"./icons/design.vue":kE,"./icons/divider.vue":xE,"./icons/document.vue":LE,"./icons/dropdown.vue":KE,"./icons/esign.vue":OE,"./icons/eye.vue":zE,"./icons/formList.vue":XE,"./icons/github.vue":tQ,"./icons/grid.vue":sQ,"./icons/help.vue":cQ,"./icons/hidden.vue":hQ,"./icons/icon.vue":EQ,"./icons/inline.vue":fQ,"./icons/input.vue":yQ,"./icons/inputNumber.vue":MQ,"./icons/itemGroup.vue":NQ,"./icons/jsonEdit.vue":HQ,"./icons/library.vue":TQ,"./icons/markdown.vue":JQ,"./icons/move.vue":jQ,"./icons/password.vue":Am,"./icons/radio.vue":im,"./icons/rate.vue":am,"./icons/reduce.vue":um,"./icons/rich.vue":Bm,"./icons/save.vue":mm,"./icons/script.vue":Dm,"./icons/search.vue":km,"./icons/searchSelect.vue":xm,"./icons/select.vue":Lm,"./icons/slider.vue":Km,"./icons/switch.vue":Om,"./icons/tableEmpty.vue":zm,"./icons/tabs.vue":Xm,"./icons/tag.vue":tI,"./icons/text.vue":sI,"./icons/textarea.vue":cI,"./icons/title.vue":hI,"./icons/transfer.vue":EI,"./icons/trash.vue":fI,"./icons/tree.vue":yI,"./icons/upload.vue":MI,"./icons/uploadImage.vue":NI,"./icons/verifyCode.vue":HI,"./icons/vue.vue":TI})).reduce((o,[Q,D])=>{const l=Q.split("/").pop(),b=l==null?void 0:l.split(".")[0];return o[b]=D.default,o},{});return(o,Q)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(e)[o.name]),t.mergeProps({class:t.unref(ke)("icon-render")},o.$attrs),null,16,["class"]))}}),YI={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:""},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"}]},OI={key:0},$I=t.defineComponent({__name:"Input",props:t.mergeModels({onInput:{},rulePath:{},read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue"),e=n,o=t.inject("ruleModule",void 0),Q=t.inject("pageMethodMap",{}),D=t.useAttrs(),l=S=>{const f=["E","e","+","-"];D.type==="number"&&f.includes(S.key)&&S.preventDefault()},b=S=>{if(e.onInput&&o)try{o[e.onInput](Q,S)}catch(f){console.error(f)}};return(S,f)=>{const x=t.resolveComponent("el-input");return S.read?(t.openBlock(),t.createElementBlock("span",OI,t.toDisplayString(A.value||"--"),1)):(t.openBlock(),t.createBlock(x,t.mergeProps({key:1},S.$attrs,{modelValue:A.value,"onUpdate:modelValue":f[0]||(f[0]=L=>A.value=L),onInput:b,onKeydown:l}),null,16,["modelValue"]))}}}),JI={title:"单行文本",component:"Input",icon:t.h(oe,{name:"input"}),type:"basic",order:1,attrSchema:YI,render:$I},ZI={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"多行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:"请输入..."},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"最小行数",component:"InputNumber",name:"props.autosize.minRows",initialValue:4},{label:"最大行数",component:"InputNumber",name:"props.autosize.maxRows",initialValue:999}]},zI={title:"多行文本",component:"TextArea",icon:t.h(oe,{name:"textarea"}),type:"basic",order:2,attrSchema:ZI,render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>P1))},WI={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel",initialValue:!0},{label:"标题",component:"Input",name:"props.title",initialValue:"提示信息"},{label:"描述",component:"TextArea",name:"props.description",initialValue:"这是一个描述"},{label:"是否可关闭",component:"Switch",name:"props.closable",initialValue:!0},{label:"显示图标",component:"Switch",name:"props.show-icon",initialValue:!0},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"错误",value:"error"}]},initialValue:"info"},{label:"主题",component:"Radio",name:"props.effect",props:{mode:"static",options:[{label:"浅色",value:"light"},{label:"深色",value:"dark"}]},initialValue:"light"}]},jI={title:"提示框",component:"Alert",icon:t.h(oe,{name:"alert"}),type:"assist",order:2,attrSchema:WI,render:"ElAlert"},qI={title:"卡片",component:"Card",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Y1)),icon:t.h(oe,{name:"card"}),type:"layout",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},XI={size:"small",labelPosition:"top",initialValues:{label:"级联选择器",props:{placeholder:"请选择...",mode:"static",options:[{label:"选项1",value:"value1",children:[{label:"选项1-1",value:"value1-1"},{label:"选项1-2",value:"value1-2"},{label:"选项1-3",value:"value1-2"}]},{label:"选项2",value:"value2",children:[{label:"选项2-1",value:"value2-1"},{label:"选项2-2",value:"value2-2"},{label:"选项2-3",value:"value2-2"}]},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"显示每一级",component:"Switch",name:"props.showAllLevels",initialValue:!0},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"标签key",component:"Input",name:"props.labelKey",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",designKey:"form-STkl"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},initialValue:"static",designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"JsonEdit",dialog:!0},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{label:"url",component:"Input",name:"props.api.url",initialValue:"/current/query/article",designKey:"form-UrE8"},{label:"请求方式",component:"Radio",name:"props.api.method",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"}]}]},VI={title:"级联选择器",icon:t.h(oe,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:XI,order:7,render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>O1))},Af={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"JSON编辑器"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"JsonEdit",name:"initialValue",dialog:!0}]},ef={title:"JSON编辑",component:"JsonEdit",icon:t.h(oe,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:Af,render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>q1))},tf={size:"small",labelPosition:"top",initialValues:{label:"多选框组",component:"Checkbox",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:!0}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Qs]},nf={title:"多选框组",icon:t.h(oe,{name:"checkbox"}),type:"basic",component:"Checkbox",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>V1)),order:4,attrSchema:tf},of={size:"small",labelPosition:"top",initialValues:{label:"颜色选择器",component:"ColorPicker"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},sf={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:t.h(oe,{name:"colorPicker"}),type:"basic",order:9,attrSchema:of},rf={size:"small",labelPosition:"top",initialValues:{label:"颜色输入框",component:"ColorInput"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},af={title:"颜色输入框",component:"ColorInput",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>ek)),icon:t.h(oe,{name:"colorPicker"}),type:"high",order:2,attrSchema:rf},lf={size:"small",labelPosition:"top",initialValues:{label:"自定义组件"},items:[{label:"自定义组件名称",component:"Input",name:"props.componentName",props:{placeholder:"全局组件名称"}},{label:"props",component:"JsonEdit",name:"props",dialog:!0},{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},cf={title:"自定义组件",component:"Custom",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>nk)),icon:t.h(oe,{name:"custom"}),type:"high",order:99,attrSchema:lf},gf={size:"small",labelPosition:"top",initialValues:{label:"日期选择器",props:{type:"datetime",placeholder:"请选择日期",clearable:!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"日期时间",value:"datetime"},{label:"日期",value:"date"},{label:"年月",value:"month"},{label:"日期范围",value:"daterange"},{label:"日期时间范围",value:"datetimerange"}]}}]},uf={title:"日期选择器",component:"DatePicker",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>ok)),icon:t.h(oe,{name:"datePicker"}),type:"basic",order:9,attrSchema:gf},df={size:"small",labelPosition:"top",initialValues:{props:{title:"分割线"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"标题",component:"Input",name:"props.title"},{label:"标题位置",component:"Radio",name:"props.contentPosition",props:{mode:"static",options:[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}]},initialValue:"center",designKey:"form-PLpj"}]},hf={title:"分割线",component:"Divider",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>sk)),icon:t.h(oe,{name:"divider"}),type:"assist",order:6,attrSchema:df},pf={size:"small",labelPosition:"top",initialValues:{label:"电子签名",props:{width:700,height:300,lineWidth:6,lineColor:"#000000",bgColor:"#eeeeee",format:"image/png"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"画板宽度(px)",component:"InputNumber",name:"props.width"},{label:"画板高度(px)",component:"InputNumber",name:"props.height"},{label:"画笔粗细-初始",component:"InputNumber",name:"props.lineWidth"},{label:"画笔颜色-初始",component:"ColorPicker",name:"props.lineColor"},{label:"画板背景色-初始",component:"ColorPicker",name:"props.bgColor"},{label:"生成图片格式",component:"Radio",name:"props.format",props:{mode:"static",options:[{label:"PNG",value:"image/png"},{label:"JPG",value:"image/jpg"},{label:"JPEG",value:"image/jpeg"},{label:"WEBP",value:"image/webp"}]},designKey:"form-PLpj"}]},Bf={title:"电子签名",component:"Esign",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>hk)),icon:t.h(oe,{name:"esign"}),type:"basic",order:11,attrSchema:pf},Cf={size:"small",labelPosition:"top",initialValues:{label:"单选框组",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Qs]},Ef={title:"单选框组",icon:t.h(oe,{name:"radio"}),type:"basic",component:"Radio",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Bk)),order:3.5,attrSchema:Cf},Qf={size:"small",labelPosition:"top",initialValues:{label:"自增容器",children:[],props:{mode:"table",title:"数据",minLines:0,maxLines:999,allowAdd:!0,allowReduce:!0}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"表格",value:"table"},{label:"卡片",value:"card"},{label:"行内",value:"inline"}]}},{label:"自增前缀",component:"Input",name:"props.title"},{label:"最小行数",component:"InputNumber",props:{min:0},name:"props.minLines"},{label:"最大行数",component:"InputNumber",props:{min:0},name:"props.maxLines"},{label:"允许新增行",component:"Switch",name:"props.allowAdd"},{label:"允许删除行",component:"Switch",name:"props.allowReduce"}]},mf={title:"自增容器",component:"FormList",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>fk)),icon:t.h(oe,{name:"formList"}),type:"high",order:20,attrSchema:Qf},If={title:"栅格布局",type:"layout",icon:t.h(oe,{name:"grid"}),component:"Grid",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>wk)),order:3,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{columns:2}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.columns",initialValue:2},{label:"列间距",component:"InputNumber",name:"props.columnGap",props:{unit:"px"}},{label:"行间距",component:"InputNumber",name:"props.rowGap",props:{unit:"px"}},{label:"列对齐方式",component:"Select",name:"props.alignItems",props:{mode:"static",options:[{label:"stretch",value:"stretch"},{label:"center",value:"center"},{label:"start",value:"start"},{label:"end",value:"end"}]}}]}},ff={title:"行内布局",icon:t.h(oe,{name:"inline"}),type:"layout",component:"Inline",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Dk)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"对齐方式",component:"Radio",name:"props.align",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"},{label:"两端对齐",value:"space-between"},{label:"环绕对齐",value:"space-around"},{label:"均匀对齐",value:"space-evenly"}]},initialValue:"left"},{label:"间距大小",component:"InputNumber",name:"props.gap",props:{unit:"px"}},{label:"自动换行",component:"Switch",name:"props.autoWrap"}]}},wf={size:"small",labelPosition:"top",initialValues:{label:"计数器",props:{min:1,max:999,step:1,controlsPosition:""}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"按钮位置",component:"Radio",name:"props.controlsPosition",props:{mode:"static",options:[{label:"两侧",value:""},{label:"内部",value:"right"}]},initialValue:""},{label:"最小值",component:"InputNumber",name:"props.min"},{label:"最大值",component:"InputNumber",name:"props.max"},{label:"步长",component:"InputNumber",name:"props.step"}]},Df={title:"计数器",icon:t.h(oe,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>yk)),attrSchema:wf},bf={size:"small",labelPosition:"top",initialValues:{label:"密码输入框",props:{placeholder:"请输入密码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"密码校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"不少于8位,由字母+数字组成",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]{8,}$"},{label:"不少于8位,至少包含一个大写字母、一个小写字母和一个数字",value:"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[A-Za-z\\d]{8,}$"},{label:"不包含空格",value:"^\\S*$"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"}]},yf={key:0},vf={title:"密码输入框",component:"Password",render:t.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue"),e=ut();return(o,Q)=>{var l;const D=t.resolveComponent("el-input");return t.unref(e).read?(t.openBlock(),t.createElementBlock("span",yf,t.toDisplayString((l=A.value)==null?void 0:l.replace(/./g,"*")),1)):(t.openBlock(),t.createBlock(D,t.mergeProps({key:1},o.$attrs,{modelValue:A.value,"onUpdate:modelValue":Q[0]||(Q[0]=b=>A.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:t.h(oe,{name:"password"}),type:"basic",order:3,attrSchema:bf},kf={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},...Qs]},_f={title:"下拉选择框",type:"basic",icon:t.h(oe,{name:"select"}),component:"Select",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>_k)),order:3,attrSchema:kf},Mf={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"评分"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"InputNumber",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"最大分值",component:"InputNumber",name:"props.max",initialValue:5},{label:"是否允许半选",component:"Switch",name:"props.allow-half"}]},Sf={title:"评分",component:"Rate",render:"ElRate",icon:t.h(oe,{name:"rate"}),type:"basic",order:12,attrSchema:Mf},xf={size:"small",labelPosition:"top",initialValues:{label:"选择框+输入框",props:{placeholder:"",selectPosition:"append",selectWidth:70}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"选择框位置",component:"Radio",name:"props.selectPosition",props:{mode:"static",options:[{label:"前置",value:"prepend"},{label:"后置",value:"append"}]}},{label:"选择框宽度(px)",component:"InputNumber",name:"props.selectWidth"},{label:"选择框默认值",component:"Input",name:"props.selectInitialValue"},{label:"选项",name:"props.options",component:"FormList",dialog:!0,children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh"},{label:"选项值",name:"value",component:"Input",props:{},designKey:"form-HYtW"},{label:"是否禁用",name:"disabled",component:"Switch",props:{},designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table"}}]},Ff={title:"选择+输入",component:"SelectInput",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Sk)),icon:t.h(oe,{name:"input"}),type:"high",order:1,attrSchema:xf},Nf={title:"滑块",render:"ElSlider",component:"Slider",icon:t.h(oe,{name:"slider"}),type:"basic",order:12,attrSchema:{size:"small",labelPosition:"top",initialValues:{label:"滑块"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu",style:{marginBottom:0}},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"开启选择范围",component:"Switch",name:"props.range"},{label:"步长",component:"InputNumber",name:"props.step",initialValue:1},{label:"最小值",component:"InputNumber",name:"props.min",initialValue:0}]}},Rf={size:"small",labelPosition:"top",initialValues:{label:"开关",props:{"inline-prompt":!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"Switch",name:"initialValue"},{label:"打开时描述",component:"Input",name:"props.active-text"},{label:"关闭时描述",component:"Input",name:"props.inactive-text"},{label:"描述显示位置",component:"Radio",name:"props.inline-prompt",props:{mode:"static",options:[{label:"外部",value:!1},{label:"内部",value:!0}]}}]},Lf={title:"开关",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>xk)),component:"Switch",icon:t.h(oe,{name:"switch"}),type:"basic",order:8,attrSchema:Rf},Gf={title:"标签",component:"Tag",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Fk)),icon:t.h(oe,{name:"tag"}),type:"assist",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{text:"Tag",type:"primary"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"内容",component:"Input",name:"props.text"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"主题色",value:"primary"},{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"危险",value:"danger"}]}}]}},Hf={size:"small",labelPosition:"top",initialValues:{label:"文本",props:{text:"这是一段文本"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"文本内容",component:"Input",name:"props.text"}]},Pf={title:"文本",component:"Text",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Nk)),icon:t.h(oe,{name:"text"}),type:"assist",order:1,attrSchema:Hf},Kf={title:"标题",component:"Title",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Rk)),icon:t.h(oe,{name:"title"}),type:"assist",order:3,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{title:"标题",type:"h3"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"标题内容",component:"Input",name:"props.title"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"一级标题",value:"h1"},{label:"二级标题",value:"h2"},{label:"三级标题",value:"h3"},{label:"四级标题",value:"h4"},{label:"五级标题",value:"h5"}]}},{label:"字体倾斜",component:"Switch",name:"props.italic"}]}},Uf={size:"small",labelPosition:"top",initialValues:{label:"上传",props:{action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",name:"file",multiple:!0,btnText:"点击上传",limit:3,showFileList:!0,withCredentials:!0,listType:"text"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"上传地址",component:"Input",name:"props.action"},{label:"上传的文件字段名",component:"Input",name:"props.name"},{label:"上传时的请求头",component:"JsonEdit",name:"props.headers",dialog:!0},{label:"上传时的额外数据",component:"JsonEdit",name:"props.data",dialog:!0},{label:"上传时携带cookie",component:"Switch",name:"props.withCredentials"},{label:"支持多选文件",component:"Switch",name:"props.multiple"},{label:"上传按钮文本",component:"Input",name:"props.btnText"},{label:"上传提示",component:"Input",name:"props.tip"},{label:"最大上传数量",component:"InputNumber",name:"props.limit"},{label:"开启拖拽上传",component:"Switch",name:"props.drag"},{label:"是否显示已上传文件列表",component:"Switch",name:"props.showFileList"},{label:"上传文件列表类型",component:"Radio",name:"props.listType",props:{mode:"static",options:[{label:"文本",value:"text"},{label:"图片墙",value:"picture-card"}]}}]},Tf={title:"上传",component:"Upload",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Hk)),icon:t.h(oe,{name:"upload"}),type:"basic",order:10,attrSchema:Uf},Yf={size:"small",labelPosition:"top",initialValues:{label:"验证码",required:!0,props:{placeholder:"请输入验证码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}]},Of={title:"图形验证码",component:"VerifyCode",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Tk)),icon:t.h(oe,{name:"verifyCode"}),type:"high",order:18,attrSchema:Yf},$f={title:"折叠面板",component:"Collapse",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Yk)),icon:t.h(oe,{name:"collapse"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{title:"面板1",name:"name1",children:[]}]},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"子面板设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"title",initialValue:'{{ "面板" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"默认展开",component:"Switch",designKey:"form-YE6U",name:"checked"}],props:{mode:"card",title:"面板"},designKey:"id-RQ1a",name:"children"}]}},Jf={title:"选项卡",component:"Tabs",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Ok)),icon:t.h(oe,{name:"tabs"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{label:"选项卡1",name:"name1",children:[]},{label:"选项卡2",name:"name2",children:[]}],props:{defaultKey:"name1",tabPosition:"top"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"默认选项卡",component:"Select",name:"props.defaultKey",props:{mode:"static",options:"{{$values.children}}",labelKey:"label",valueKey:"name"}},{label:"选项卡风格",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"普通",value:""},{label:"卡片",value:"card"},{label:"带边框的卡片",value:"border-card"}]}},{label:"选项卡所在位置",component:"Radio",name:"props.tabPosition",props:{mode:"static",optionType:"button",space:0,options:[{label:"上",value:"top"},{label:"右",value:"right"},{label:"下",value:"bottom"},{label:"左",value:"left"}]}},{label:"子选项卡配置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"label",initialValue:'{{ "选项卡" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"禁用",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI1",name:"disabled"},{label:"懒加载",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI11",name:"lazy"}],props:{mode:"card",title:"选项卡"},designKey:"id-RQ1a",name:"children"}]}},Zf={title:"对象容器",icon:t.h(oe,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Zk)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},zf={},Wf={t:"1727251512891",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3914",width:"20",height:"20"};function jf(n,A){return t.openBlock(),t.createElementBlock("svg",Wf,A[0]||(A[0]=[t.createElementVNode("path",{d:"M320 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H160c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z m256-544h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m-64 448h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m384-576H704c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H736c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z",fill:"#333333","p-id":"3915"},null,-1)]))}const qf=ZA(zf,[["render",jf]]),Xf={size:"small",labelPosition:"top",initialValues:{label:"穿梭框",props:{data:[{label:"选项一",key:"value1"},{label:"选项二",key:"value2"},{label:"选项三",key:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"静态选项",name:"props.data",component:"FormList",children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"key",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'}],designKey:"form-Iwpd",props:{mode:"table"}}]},Vf={key:0},Aw={title:"穿梭框",component:"Transfer",render:t.defineComponent({__name:"Transfer",props:t.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=ut(),o=t.useModel(n,"modelValue"),Q=D=>{const l=D.map(b=>A.data.find(S=>S.key===b));e.updateSelectData(A.name,l)};return(D,l)=>{var S;const b=t.resolveComponent("el-transfer");return t.unref(e).read?(t.openBlock(),t.createElementBlock("div",Vf,t.toDisplayString((S=o.value)==null?void 0:S.map(f=>{var x;return(x=D.data.find(L=>L.key===f))==null?void 0:x.label}).join("、")),1)):(t.openBlock(),t.createBlock(b,t.mergeProps({key:1},D.$attrs,{data:D.data,onChange:Q,modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=f=>o.value=f)}),null,16,["data","modelValue"]))}}}),icon:qf,type:"basic",order:12,attrSchema:Xf},ew={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"是否展示弹窗",component:"Switch",name:"props.withDialog"}]},tw={key:0},nw=ZA(t.defineComponent({__name:"SearchInput",props:t.mergeModels({onInput:{},onSearch:{},onClear:{},disabled:{type:Boolean},read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue"),e=n,o=t.inject("ruleModule",void 0),Q=t.inject("pageMethodMap",{}),D=S=>{if(e.onInput&&o)try{o[e.onInput](Q,S)}catch(f){console.error(f)}},l=()=>{if(e.onSearch&&o)try{o[e.onSearch](Q)}catch(S){console.error(S)}},b=()=>{if(e.onClear&&o)try{o[e.onClear](Q)}catch(S){console.error(S)}};return(S,f)=>{const x=t.resolveComponent("el-button"),L=t.resolveComponent("el-input");return S.read?(t.openBlock(),t.createElementBlock("span",tw,t.toDisplayString(A.value||"--"),1)):(t.openBlock(),t.createBlock(L,t.mergeProps({key:1},S.$attrs,{modelValue:A.value,"onUpdate:modelValue":f[0]||(f[0]=P=>A.value=P),onInput:D,disabled:S.disabled}),{append:t.withCtx(()=>[t.createVNode(x,{onClick:l,disabled:S.disabled},{default:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:"search"})]),_:1},8,["disabled"])]),suffix:t.withCtx(()=>[S.onClear&&A.value&&!S.disabled?(t.openBlock(),t.createBlock(t.unref(oe),{key:0,name:"clear",onClick:b,class:"clear-icon"})):t.createCommentVNode("",!0)]),_:1},16,["modelValue","disabled"]))}}}),[["__scopeId","data-v-82f56229"]]),iw={title:"搜索输入",component:"SearchInput",icon:t.h(oe,{name:"search"}),type:"high",order:5,attrSchema:ew,render:nw},ow={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"搜索按钮点击事件",component:"Input",name:"props.onSearch"},...Qs]},sw={title:"选择+搜索",type:"high",icon:t.h(oe,{name:"searchSelect"}),component:"SearchSelect",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Xk)),order:3,attrSchema:ow},rw={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"按钮文字",component:"Input",name:"props.buttonText",designKey:"form-ekRL",initialValue:"按钮文字"},{component:"Grid",children:[{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"click事件函数名",component:"Input",name:"props.onClick"}]},aw=["xlink:href"],We=ZA(t.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"}},setup(n){const A=n,e=t.computed(()=>A.color?{color:A.color}:void 0);return(o,Q)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(["icon",{large:o.size==="large",small:o.size==="small",normal:o.size==="normal"}]),"aria-hidden":"true",style:t.normalizeStyle(e.value)},[t.createElementVNode("use",{"xlink:href":`#${o.name}`},null,8,aw)],6))}}),[["__scopeId","data-v-3107108f"]]),lw=ZA(t.defineComponent({__name:"button",props:{buttonText:{},onClick:{},hidden:{type:Boolean},orange:{type:Boolean},icon:{}},setup(n){const A=n,e=t.inject("ruleModule",void 0),o=t.inject("pageMethodMap",{}),Q=t.ref(!1),D=async()=>{if(A.onClick&&e){try{Q.value=!0,await e[A.onClick](o)}catch(l){console.error(l)}Q.value=!1}};return(l,b)=>{const S=t.resolveComponent("el-button");return l.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(S,t.mergeProps({key:0},l.$attrs,{onClick:D,color:l.orange?"#FAA21E":"",class:{orangeBtn:l.orange},plain:!l.orange&&l.$attrs.type!=="primary",loading:Q.value}),{default:t.withCtx(()=>[l.icon?(t.openBlock(),t.createBlock(We,{key:0,name:l.icon.name,color:l.icon.color,class:"btn-icon"},null,8,["name","color"])):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(l.buttonText),1)]),_:1},16,["color","class","plain","loading"]))}}}),[["__scopeId","data-v-d4c42e29"]]),cw={title:"按钮",component:"Button",icon:t.h(oe,{name:"button"}),type:"assist",order:1,attrSchema:rw,render:lw},gw={size:"small",labelPosition:"top",initialValues:{props:{emptyText:"暂无数据",nodeKey:"id",expandOnClickNode:!1,props:{label:"label",children:"children"}}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"节点标识属性名",component:"Input",name:"props.nodeKey"},{label:"内容为空时的文本",component:"Input",name:"props.emptyText"},{label:"是否可拖拽",component:"Switch",name:"props.draggable"},{label:"是否点击节点时展开或收缩",component:"Switch",name:"props.expandOnClickNode"},{label:"节点是否懒加载",component:"Switch",name:"props.lazy"},{component:"Grid",children:[{label:"节点标签属性名",component:"Input",name:"props.props.label"},{label:"子树属性名",component:"Input",name:"props.props.children"},{label:"是否禁用属性名",component:"Input",name:"props.props.disabled"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "一级子节点" + ($index + 1) }}'},{label:"唯一标识",component:"Input",name:"{{$values.props.nodeKey}}",initialValue:"{{ $index + 1 }}"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "二级子节点" + ($index + 1) }}'}],props:{mode:"card",title:"子节点"},name:"children"}],props:{mode:"card",title:"子节点"},designKey:"id-RQ1a",name:"props.data"}]},uw={title:"树",component:"Tree",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>n_)),icon:t.h(oe,{name:"tree"}),type:"assist",order:7,attrSchema:gw},dw={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{component:"Grid",children:[{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"列设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label"},{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{mode:"card",title:"列"},designKey:"id-RQ1a",name:"props.columns"},{label:"change事件函数名",component:"Input",name:"props.onChange"}]},hw={title:"表格",component:"Table",icon:t.h(oe,{name:"library"}),type:"assist",order:8,attrSchema:dw,render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>l_))},pw={title:"curd模版卡片",component:"CurdCard",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>B_)),icon:t.h(oe,{name:"card"}),type:"layout",order:6,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},Bw={title:"普通div容器",component:"Wrapper",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>C_)),icon:t.h(oe,{name:"card"}),type:"layout",order:7,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},Cw={class:"card-list-item"},Ew={class:"card-list-item-header"},Qw={class:"card-list-item-header-title"},mw=["title"],Iw={key:0,class:"card-list-item-header-title__sub"},fw={class:"card-list-item-header-btns"},ww=["onClick"],Dw={class:"card-list-item-content"},bw={class:"card-list-item-content-item-label"},yw={class:"card-list-item-content-item-value"},vw={key:0,class:"card-list-item-footer"},kw={class:"card-list-item-footer-text"},Ug=ZA(t.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},setup(n){const A=n,e=t.inject("ruleModule",void 0),o=t.inject("pageMethodMap",{}),Q=t.inject("getGlobalParams",()=>{}),D=l=>{if(l)try{e[l](o,A.data.originalData,A.index)}catch(b){console.error(b)}};return(l,b)=>{const S=t.resolveComponent("el-tooltip");return t.openBlock(),t.createElementBlock("div",Cw,[t.createElementVNode("div",Ew,[t.createElementVNode("div",Qw,[t.createElementVNode("div",{class:t.normalizeClass(["card-list-item-header-title__text",{"link-style":l.data.titleType==="link"}]),style:t.normalizeStyle({color:l.data.titleColor}),title:l.data.title,onClick:b[0]||(b[0]=f=>D(l.data.onClick))},t.toDisplayString(l.data.title),15,mw),l.data.subTitle?(t.openBlock(),t.createElementBlock("div",Iw,[t.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:t.normalizeStyle({backgroundColor:l.data.subTitleColor||"#3EBF17"})},null,4),t.createElementVNode("span",null,t.toDisplayString(l.data.subTitle),1)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",fw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.btns,(f,x)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:x},[f.condition===void 0||f.condition===null||t.unref(yn)(f.condition,{$row:l.data.originalData,$globalParams:t.unref(Q)()})?(t.openBlock(),t.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:L=>D(f.onClick)},[f.label?(t.openBlock(),t.createBlock(S,{key:0,class:"box-item",effect:"dark",content:f.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:t.withCtx(()=>[t.createVNode(We,{name:f.icon},null,8,["name"])]),_:2},1032,["content"])):(t.openBlock(),t.createBlock(We,{key:1,name:f.icon},null,8,["name"]))],8,ww)):t.createCommentVNode("",!0)],64))),128))])]),t.createElementVNode("div",Dw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.data.content,f=>(t.openBlock(),t.createElementBlock("div",{class:"card-list-item-content-item",key:f.label},[t.createElementVNode("div",bw,t.toDisplayString(f.label)+":",1),t.createElementVNode("div",yw,t.toDisplayString(f.value||"- -"),1)]))),128))]),l.data.footer?(t.openBlock(),t.createElementBlock("div",vw,[t.createVNode(We,{name:l.data.footer.icon},null,8,["name"]),t.createElementVNode("span",kw,t.toDisplayString(l.data.footer.text||"- -"),1)])):t.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-459f09b2"]]),_w={key:0,class:"empty-content"},ms=ZA(t.defineComponent({__name:"CardList",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const A=n,e=t.computed(()=>A.rowBtns?A.rowBtns.map(S=>({condition:S.condition,icon:S.icon&&S.icon.name?S.icon.name:"icon-tishi",label:S.label,onClick:S.onClick})):[]),o=A.columns.find(S=>S.position==="title"),Q=A.columns.find(S=>S.position==="subTitle"),D=A.columns.find(S=>S.position==="footer"),l=t.computed(()=>{const S=A.columns.find(f=>f.type==="link"&&f.onClick);return A.data?A.data.map(f=>{const x={content:[],originalData:f};if(o&&S&&S.key===o.key&&(x.titleType="link",x.onClick=S.onClick),o&&(x.title=A.getColText(o,f)),Q&&(x.subTitle=A.getColText(Q,f),x.subTitleColor=f[Q.key+"Color"]),D){const L=A.getColText(D,f);x.footer={icon:D.footerIcon||"icon-tishi",text:`${D.label}: ${L||"- -"}`}}return A.columns.forEach(L=>{L.position==="content"&&x.content.push({label:L.label,value:A.getColText(L,f)})}),x}):[]}),b=t.inject(cn);return b&&b.translateFn,(S,f)=>(t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",{class:"card-list",style:t.normalizeStyle({"--columns":S.gridColumns,"--gap":S.gap+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(x,L)=>(t.openBlock(),t.createElementBlock("div",{class:"card-list-item",key:L},[t.createVNode(Ug,{data:x,btns:e.value,index:L},null,8,["data","btns","index"])]))),128))],4),!S.data||S.data.length===0?(t.openBlock(),t.createElementBlock("div",_w,[t.createVNode(t.unref(oe),{name:"tableEmpty",style:{width:56,height:56}}),f[0]||(f[0]=t.createElementVNode("div",null,"No data available,please check",-1))])):t.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-715b7835"]]),Mw={title:"卡片列表",component:"CardList",render:ms,icon:t.h(oe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},Sw={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>k_)),icon:t.h(oe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},xw=Object.freeze(Object.defineProperty({__proto__:null,Alert:jI,Button:cw,Card:qI,CardList:Mw,Cascader:VI,Checkbox:nf,Collapse:$f,ColorInput:af,ColorPicker:sf,CurdCard:pw,Custom:cf,DatePicker:uf,Divider:hf,Esign:Bf,FormList:mf,Grid:If,Inline:ff,Input:JI,InputNumber:Df,JsonEdit:ef,ObjGroup:Zf,OfferDetails:Sw,Password:vf,Radio:Ef,Rate:Sf,SearchInput:iw,SearchSelect:sw,Select:_f,SelectInput:Ff,Slider:Nf,Switch:Lf,Table:hw,Tabs:Jf,Tag:Gf,Text:Pf,TextArea:zI,Title:Kf,Transfer:Aw,Tree:uw,Upload:Tf,VerifyCode:Of,Wrapper:Bw},Symbol.toStringTag,{value:"Module"})),Ni=()=>{const n=t.inject(cn),A={...xw};return n!=null&&n.extendElements&&Object.assign(A,n.extendElements),A},zt=()=>t.inject(Rg),Fw=t.defineComponent({__name:"Footer",setup(n){const A=ut(),e=t.computed(()=>({marginLeft:A.schema.labelWidth+"px"}));return(o,Q)=>{const D=t.resolveComponent("el-button");return t.unref(A).footer?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(e.value)},[t.createVNode(D,{type:"primary",onClick:t.unref(A).submit,name:"submit-btn"},{default:t.withCtx(()=>Q[1]||(Q[1]=[t.createTextVNode("提交")])),_:1},8,["onClick"]),t.createVNode(D,{onClick:Q[0]||(Q[0]=()=>t.unref(A).resetFields()),name:"reset-btn"},{default:t.withCtx(()=>Q[2]||(Q[2]=[t.createTextVNode("重置")])),_:1})],4)):t.createCommentVNode("",!0)}}}),Nw=ZA(t.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(A,e)=>A.disabled?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0},A.$attrs,{class:"disabled-wrapper"}),[e[0]||(e[0]=t.createElementVNode("div",{class:"mask"},null,-1)),t.renderSlot(A.$slots,"default",{},void 0,!0)],16)):t.renderSlot(A.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-f3803727"]]);let li=class extends Error{constructor(A){super(A),this.name="ShikiError"}},Qa=class extends Error{constructor(A){super(A),this.name="ShikiError"}};function Rw(){return 2147483648}function Lw(){return typeof performance<"u"?performance.now():Date.now()}const Gw=(n,A)=>n+(A-n%A)%A;async function Hw(n){let A,e;const o={};function Q(z){e=z,o.HEAPU8=new Uint8Array(z),o.HEAPU32=new Uint32Array(z)}function D(z,K,U){o.HEAPU8.copyWithin(z,K,K+U)}function l(z){try{return A.grow(z-e.byteLength+65535>>>16),Q(A.buffer),1}catch{}}function b(z){const K=o.HEAPU8.length;z=z>>>0;const U=Rw();if(z>U)return!1;for(let _=1;_<=4;_*=2){let I=K*(1+.2/_);I=Math.min(I,z+100663296);const G=Math.min(U,Gw(Math.max(z,I),65536));if(l(G))return!0}return!1}const S=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function f(z,K,U=1024){const _=K+U;let I=K;for(;z[I]&&!(I>=_);)++I;if(I-K>16&&z.buffer&&S)return S.decode(z.subarray(K,I));let G="";for(;K<I;){let k=z[K++];if(!(k&128)){G+=String.fromCharCode(k);continue}const y=z[K++]&63;if((k&224)===192){G+=String.fromCharCode((k&31)<<6|y);continue}const C=z[K++]&63;if((k&240)===224?k=(k&15)<<12|y<<6|C:k=(k&7)<<18|y<<12|C<<6|z[K++]&63,k<65536)G+=String.fromCharCode(k);else{const d=k-65536;G+=String.fromCharCode(55296|d>>10,56320|d&1023)}}return G}function x(z,K){return z?f(o.HEAPU8,z,K):""}const L={emscripten_get_now:Lw,emscripten_memcpy_big:D,emscripten_resize_heap:b,fd_write:()=>0};async function P(){const K=await n({env:L,wasi_snapshot_preview1:L});A=K.memory,Q(A.buffer),Object.assign(o,K),o.UTF8ToString=x}return await P(),o}let dt=null;function Pw(n){throw new Qa(n.UTF8ToString(n.getLastOnigError()))}class Is{constructor(A){Je(this,"utf16Length");Je(this,"utf8Length");Je(this,"utf16Value");Je(this,"utf8Value");Je(this,"utf16OffsetToUtf8");Je(this,"utf8OffsetToUtf16");const e=A.length,o=Is._utf8ByteLength(A),Q=o!==e,D=Q?new Uint32Array(e+1):null;Q&&(D[e]=o);const l=Q?new Uint32Array(o+1):null;Q&&(l[o]=e);const b=new Uint8Array(o);let S=0;for(let f=0;f<e;f++){const x=A.charCodeAt(f);let L=x,P=!1;if(x>=55296&&x<=56319&&f+1<e){const z=A.charCodeAt(f+1);z>=56320&&z<=57343&&(L=(x-55296<<10)+65536|z-56320,P=!0)}Q&&(D[f]=S,P&&(D[f+1]=S),L<=127?l[S+0]=f:L<=2047?(l[S+0]=f,l[S+1]=f):L<=65535?(l[S+0]=f,l[S+1]=f,l[S+2]=f):(l[S+0]=f,l[S+1]=f,l[S+2]=f,l[S+3]=f)),L<=127?b[S++]=L:L<=2047?(b[S++]=192|(L&1984)>>>6,b[S++]=128|(L&63)>>>0):L<=65535?(b[S++]=224|(L&61440)>>>12,b[S++]=128|(L&4032)>>>6,b[S++]=128|(L&63)>>>0):(b[S++]=240|(L&1835008)>>>18,b[S++]=128|(L&258048)>>>12,b[S++]=128|(L&4032)>>>6,b[S++]=128|(L&63)>>>0),P&&f++}this.utf16Length=e,this.utf8Length=o,this.utf16Value=A,this.utf8Value=b,this.utf16OffsetToUtf8=D,this.utf8OffsetToUtf16=l}static _utf8ByteLength(A){let e=0;for(let o=0,Q=A.length;o<Q;o++){const D=A.charCodeAt(o);let l=D,b=!1;if(D>=55296&&D<=56319&&o+1<Q){const S=A.charCodeAt(o+1);S>=56320&&S<=57343&&(l=(D-55296<<10)+65536|S-56320,b=!0)}l<=127?e+=1:l<=2047?e+=2:l<=65535?e+=3:e+=4,b&&o++}return e}createString(A){const e=A.omalloc(this.utf8Length);return A.HEAPU8.set(this.utf8Value,e),e}}const St=class St{constructor(A){Je(this,"id",++St.LAST_ID);Je(this,"_onigBinding");Je(this,"content");Je(this,"utf16Length");Je(this,"utf8Length");Je(this,"utf16OffsetToUtf8");Je(this,"utf8OffsetToUtf16");Je(this,"ptr");if(!dt)throw new Qa("Must invoke loadWasm first.");this._onigBinding=dt,this.content=A;const e=new Is(A);this.utf16Length=e.utf16Length,this.utf8Length=e.utf8Length,this.utf16OffsetToUtf8=e.utf16OffsetToUtf8,this.utf8OffsetToUtf16=e.utf8OffsetToUtf16,this.utf8Length<1e4&&!St._sharedPtrInUse?(St._sharedPtr||(St._sharedPtr=dt.omalloc(1e4)),St._sharedPtrInUse=!0,dt.HEAPU8.set(e.utf8Value,St._sharedPtr),this.ptr=St._sharedPtr):this.ptr=e.createString(dt)}convertUtf8OffsetToUtf16(A){return this.utf8OffsetToUtf16?A<0?0:A>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[A]:A}convertUtf16OffsetToUtf8(A){return this.utf16OffsetToUtf8?A<0?0:A>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[A]:A}dispose(){this.ptr===St._sharedPtr?St._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Je(St,"LAST_ID",0),Je(St,"_sharedPtr",0),Je(St,"_sharedPtrInUse",!1);let fs=St;class Kw{constructor(A){Je(this,"_onigBinding");Je(this,"_ptr");if(!dt)throw new Qa("Must invoke loadWasm first.");const e=[],o=[];for(let b=0,S=A.length;b<S;b++){const f=new Is(A[b]);e[b]=f.createString(dt),o[b]=f.utf8Length}const Q=dt.omalloc(4*A.length);dt.HEAPU32.set(e,Q/4);const D=dt.omalloc(4*A.length);dt.HEAPU32.set(o,D/4);const l=dt.createOnigScanner(Q,D,A.length);for(let b=0,S=A.length;b<S;b++)dt.ofree(e[b]);dt.ofree(D),dt.ofree(Q),l===0&&Pw(dt),this._onigBinding=dt,this._ptr=l}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(A,e,o){let Q=0;if(typeof o=="number"&&(Q=o),typeof A=="string"){A=new fs(A);const D=this._findNextMatchSync(A,e,!1,Q);return A.dispose(),D}return this._findNextMatchSync(A,e,!1,Q)}_findNextMatchSync(A,e,o,Q){const D=this._onigBinding,l=D.findNextOnigScannerMatch(this._ptr,A.id,A.ptr,A.utf8Length,A.convertUtf16OffsetToUtf8(e),Q);if(l===0)return null;const b=D.HEAPU32;let S=l/4;const f=b[S++],x=b[S++],L=[];for(let P=0;P<x;P++){const z=A.convertUtf8OffsetToUtf16(b[S++]),K=A.convertUtf8OffsetToUtf16(b[S++]);L[P]={start:z,end:K,length:K-z}}return{index:f,captureIndices:L}}}function Uw(n){return typeof n.instantiator=="function"}function Tw(n){return typeof n.default=="function"}function Yw(n){return typeof n.data<"u"}function Ow(n){return typeof Response<"u"&&n instanceof Response}function $w(n){var A;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((A=Buffer.isBuffer)==null?void 0:A.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let ws;function Jw(n){if(ws)return ws;async function A(){dt=await Hw(async e=>{let o=n;return o=await o,typeof o=="function"&&(o=await o(e)),typeof o=="function"&&(o=await o(e)),Uw(o)?o=await o.instantiator(e):Tw(o)?o=await o.default(e):(Yw(o)&&(o=o.data),Ow(o)?typeof WebAssembly.instantiateStreaming=="function"?o=await Zw(o)(e):o=await zw(o)(e):$w(o)?o=await ma(o)(e):o instanceof WebAssembly.Module?o=await ma(o)(e):"default"in o&&o.default instanceof WebAssembly.Module&&(o=await ma(o.default)(e))),"instance"in o&&(o=o.instance),"exports"in o&&(o=o.exports),o})}return ws=A(),ws}function ma(n){return A=>WebAssembly.instantiate(n,A)}function Zw(n){return A=>WebAssembly.instantiateStreaming(n,A)}function zw(n){return async A=>{const e=await n.arrayBuffer();return WebAssembly.instantiate(e,A)}}let Ww;function jw(){return Ww}async function qw(n){return n&&await Jw(n),{createScanner(A){return new Kw(A)},createString(A){return new fs(A)}}}function Xw(n){return Ia(n)}function Ia(n){return Array.isArray(n)?Vw(n):typeof n=="object"?A0(n):n}function Vw(n){let A=[];for(let e=0,o=n.length;e<o;e++)A[e]=Ia(n[e]);return A}function A0(n){let A={};for(let e in n)A[e]=Ia(n[e]);return A}function Tg(n,...A){return A.forEach(e=>{for(let o in e)n[o]=e[o]}),n}function Yg(n){const A=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return A===0?n:~A===n.length-1?Yg(n.substring(0,n.length-1)):n.substr(~A+1)}var fa=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ds=class{static hasCaptures(n){return n===null?!1:(fa.lastIndex=0,fa.test(n))}static replaceCaptures(n,A,e){return n.replace(fa,(o,Q,D,l)=>{let b=e[parseInt(Q||D,10)];if(b){let S=A.substring(b.start,b.end);for(;S[0]===".";)S=S.substring(1);switch(l){case"downcase":return S.toLowerCase();case"upcase":return S.toUpperCase();default:return S}}else return o})}};function Og(n,A){return n<A?-1:n>A?1:0}function $g(n,A){if(n===null&&A===null)return 0;if(!n)return-1;if(!A)return 1;let e=n.length,o=A.length;if(e===o){for(let Q=0;Q<e;Q++){let D=Og(n[Q],A[Q]);if(D!==0)return D}return 0}return e-o}function Jg(n){return!!(/^#[0-9a-f]{6}$/i.test(n)||/^#[0-9a-f]{8}$/i.test(n)||/^#[0-9a-f]{3}$/i.test(n)||/^#[0-9a-f]{4}$/i.test(n))}function Zg(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var zg=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const A=this.fn(n);return this.cache.set(n,A),A}},bs=class{constructor(n,A,e){this._colorMap=n,this._defaults=A,this._root=e,this._cachedMatchRoot=new zg(o=>this._root.match(o))}static createFromRawTheme(n,A){return this.createFromParsedTheme(n0(n),A)}static createFromParsedTheme(n,A){return o0(n,A)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const A=n.scopeName,o=this._cachedMatchRoot.get(A).find(Q=>e0(n.parent,Q.parentScopes));return o?new Wg(o.fontStyle,o.foreground,o.background):null}},wa=class Yr{constructor(A,e){this.parent=A,this.scopeName=e}static push(A,e){for(const o of e)A=new Yr(A,o);return A}static from(...A){let e=null;for(let o=0;o<A.length;o++)e=new Yr(e,A[o]);return e}push(A){return new Yr(this,A)}getSegments(){let A=this;const e=[];for(;A;)e.push(A.scopeName),A=A.parent;return e.reverse(),e}toString(){return this.getSegments().join(" ")}extends(A){return this===A?!0:this.parent===null?!1:this.parent.extends(A)}getExtensionIfDefined(A){const e=[];let o=this;for(;o&&o!==A;)e.push(o.scopeName),o=o.parent;return o===A?e.reverse():void 0}};function e0(n,A){if(A.length===0)return!0;for(let e=0;e<A.length;e++){let o=A[e],Q=!1;if(o===">"){if(e===A.length-1)return!1;o=A[++e],Q=!0}for(;n&&!t0(n.scopeName,o);){if(Q)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function t0(n,A){return A===n||n.startsWith(A)&&n[A.length]==="."}var Wg=class{constructor(n,A,e){this.fontStyle=n,this.foregroundId=A,this.backgroundId=e}};function n0(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let A=n.settings,e=[],o=0;for(let Q=0,D=A.length;Q<D;Q++){let l=A[Q];if(!l.settings)continue;let b;if(typeof l.scope=="string"){let L=l.scope;L=L.replace(/^[,]+/,""),L=L.replace(/[,]+$/,""),b=L.split(",")}else Array.isArray(l.scope)?b=l.scope:b=[""];let S=-1;if(typeof l.settings.fontStyle=="string"){S=0;let L=l.settings.fontStyle.split(" ");for(let P=0,z=L.length;P<z;P++)switch(L[P]){case"italic":S=S|1;break;case"bold":S=S|2;break;case"underline":S=S|4;break;case"strikethrough":S=S|8;break}}let f=null;typeof l.settings.foreground=="string"&&Jg(l.settings.foreground)&&(f=l.settings.foreground);let x=null;typeof l.settings.background=="string"&&Jg(l.settings.background)&&(x=l.settings.background);for(let L=0,P=b.length;L<P;L++){let K=b[L].trim().split(" "),U=K[K.length-1],_=null;K.length>1&&(_=K.slice(0,K.length-1),_.reverse()),e[o++]=new i0(U,_,Q,S,f,x)}}return e}var i0=class{constructor(n,A,e,o,Q,D){this.scope=n,this.parentScopes=A,this.index=e,this.fontStyle=o,this.foreground=Q,this.background=D}},vn=(n=>(n[n.NotSet=-1]="NotSet",n[n.None=0]="None",n[n.Italic=1]="Italic",n[n.Bold=2]="Bold",n[n.Underline=4]="Underline",n[n.Strikethrough=8]="Strikethrough",n))(vn||{});function o0(n,A){n.sort((S,f)=>{let x=Og(S.scope,f.scope);return x!==0||(x=$g(S.parentScopes,f.parentScopes),x!==0)?x:S.index-f.index});let e=0,o="#000000",Q="#ffffff";for(;n.length>=1&&n[0].scope==="";){let S=n.shift();S.fontStyle!==-1&&(e=S.fontStyle),S.foreground!==null&&(o=S.foreground),S.background!==null&&(Q=S.background)}let D=new s0(A),l=new Wg(e,D.getId(o),D.getId(Q)),b=new a0(new Da(0,null,-1,0,0),[]);for(let S=0,f=n.length;S<f;S++){let x=n[S];b.insert(0,x.scope,x.parentScopes,x.fontStyle,D.getId(x.foreground),D.getId(x.background))}return new bs(D,l,b)}var s0=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let A=0,e=n.length;A<e;A++)this._color2id[n[A]]=A,this._id2color[A]=n[A]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let A=this._color2id[n];if(A)return A;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return A=++this._lastColorId,this._color2id[n]=A,this._id2color[A]=n,A}getColorMap(){return this._id2color.slice(0)}},r0=Object.freeze([]),Da=class eB{constructor(A,e,o,Q,D){this.scopeDepth=A,this.parentScopes=e||r0,this.fontStyle=o,this.foreground=Q,this.background=D}clone(){return new eB(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(A){let e=[];for(let o=0,Q=A.length;o<Q;o++)e[o]=A[o].clone();return e}acceptOverwrite(A,e,o,Q){this.scopeDepth>A?console.log("how did this happen?"):this.scopeDepth=A,e!==-1&&(this.fontStyle=e),o!==0&&(this.foreground=o),Q!==0&&(this.background=Q)}},a0=class wc{constructor(A,e=[],o={}){this._mainRule=A,this._children=o,this._rulesWithParentScopes=e}static _cmpBySpecificity(A,e){if(A.scopeDepth!==e.scopeDepth)return e.scopeDepth-A.scopeDepth;let o=0,Q=0;for(;A.parentScopes[o]===">"&&o++,e.parentScopes[Q]===">"&&Q++,!(o>=A.parentScopes.length||Q>=e.parentScopes.length);){const D=e.parentScopes[Q].length-A.parentScopes[o].length;if(D!==0)return D;o++,Q++}return e.parentScopes.length-A.parentScopes.length}match(A){if(A!==""){let o=A.indexOf("."),Q,D;if(o===-1?(Q=A,D=""):(Q=A.substring(0,o),D=A.substring(o+1)),this._children.hasOwnProperty(Q))return this._children[Q].match(D)}const e=this._rulesWithParentScopes.concat(this._mainRule);return e.sort(wc._cmpBySpecificity),e}insert(A,e,o,Q,D,l){if(e===""){this._doInsertHere(A,o,Q,D,l);return}let b=e.indexOf("."),S,f;b===-1?(S=e,f=""):(S=e.substring(0,b),f=e.substring(b+1));let x;this._children.hasOwnProperty(S)?x=this._children[S]:(x=new wc(this._mainRule.clone(),Da.cloneArr(this._rulesWithParentScopes)),this._children[S]=x),x.insert(A+1,f,o,Q,D,l)}_doInsertHere(A,e,o,Q,D){if(e===null){this._mainRule.acceptOverwrite(A,o,Q,D);return}for(let l=0,b=this._rulesWithParentScopes.length;l<b;l++){let S=this._rulesWithParentScopes[l];if($g(S.parentScopes,e)===0){S.acceptOverwrite(A,o,Q,D);return}}o===-1&&(o=this._mainRule.fontStyle),Q===0&&(Q=this._mainRule.foreground),D===0&&(D=this._mainRule.background),this._rulesWithParentScopes.push(new Da(A,e,o,Q,D))}},Ri=class ln{static toBinaryStr(A){return A.toString(2).padStart(32,"0")}static print(A){const e=ln.getLanguageId(A),o=ln.getTokenType(A),Q=ln.getFontStyle(A),D=ln.getForeground(A),l=ln.getBackground(A);console.log({languageId:e,tokenType:o,fontStyle:Q,foreground:D,background:l})}static getLanguageId(A){return(A&255)>>>0}static getTokenType(A){return(A&768)>>>8}static containsBalancedBrackets(A){return(A&1024)!==0}static getFontStyle(A){return(A&30720)>>>11}static getForeground(A){return(A&16744448)>>>15}static getBackground(A){return(A&4278190080)>>>24}static set(A,e,o,Q,D,l,b){let S=ln.getLanguageId(A),f=ln.getTokenType(A),x=ln.containsBalancedBrackets(A)?1:0,L=ln.getFontStyle(A),P=ln.getForeground(A),z=ln.getBackground(A);return e!==0&&(S=e),o!==8&&(f=o),Q!==null&&(x=Q?1:0),D!==-1&&(L=D),l!==0&&(P=l),b!==0&&(z=b),(S<<0|f<<8|x<<10|L<<11|P<<15|z<<24)>>>0}};function XN(n){return n}function VN(n){return n}function ys(n,A){const e=[],o=l0(n);let Q=o.next();for(;Q!==null;){let S=0;if(Q.length===2&&Q.charAt(1)===":"){switch(Q.charAt(0)){case"R":S=1;break;case"L":S=-1;break;default:console.log(`Unknown priority ${Q} in scope selector`)}Q=o.next()}let f=l();if(e.push({matcher:f,priority:S}),Q!==",")break;Q=o.next()}return e;function D(){if(Q==="-"){Q=o.next();const S=D();return f=>!!S&&!S(f)}if(Q==="("){Q=o.next();const S=b();return Q===")"&&(Q=o.next()),S}if(jg(Q)){const S=[];do S.push(Q),Q=o.next();while(jg(Q));return f=>A(S,f)}return null}function l(){const S=[];let f=D();for(;f;)S.push(f),f=D();return x=>S.every(L=>L(x))}function b(){const S=[];let f=l();for(;f&&(S.push(f),Q==="|"||Q===",");){do Q=o.next();while(Q==="|"||Q===",");f=l()}return x=>S.some(L=>L(x))}}function jg(n){return!!n&&!!n.match(/[\w\.:]+/)}function l0(n){let A=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,e=A.exec(n);return{next:()=>{if(!e)return null;const o=e[0];return e=A.exec(n),o}}}function qg(n){typeof n.dispose=="function"&&n.dispose()}var Co=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},c0=class{constructor(n,A){this.scopeName=n,this.ruleName=A}toKey(){return`${this.scopeName}#${this.ruleName}`}},g0=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const A=n.toKey();this._seenReferenceKeys.has(A)||(this._seenReferenceKeys.add(A),this._references.push(n))}},u0=class{constructor(n,A){this.repo=n,this.initialScopeName=A,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Co(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const A=new g0;for(const e of n)d0(e,this.initialScopeName,this.repo,A);for(const e of A.references)if(e instanceof Co){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function d0(n,A,e,o){const Q=e.lookup(n.scopeName);if(!Q){if(n.scopeName===A)throw new Error(`No grammar provided for <${A}>`);return}const D=e.lookup(A);n instanceof Co?vs({baseGrammar:D,selfGrammar:Q},o):ba(n.ruleName,{baseGrammar:D,selfGrammar:Q,repository:Q.repository},o);const l=e.injections(n.scopeName);if(l)for(const b of l)o.add(new Co(b))}function ba(n,A,e){if(A.repository&&A.repository[n]){const o=A.repository[n];ks([o],A,e)}}function vs(n,A){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&ks(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},A),n.selfGrammar.injections&&ks(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},A)}function ks(n,A,e){for(const o of n){if(e.visitedRule.has(o))continue;e.visitedRule.add(o);const Q=o.repository?Tg({},A.repository,o.repository):A.repository;Array.isArray(o.patterns)&&ks(o.patterns,{...A,repository:Q},e);const D=o.include;if(!D)continue;const l=Xg(D);switch(l.kind){case 0:vs({...A,selfGrammar:A.baseGrammar},e);break;case 1:vs(A,e);break;case 2:ba(l.ruleName,{...A,repository:Q},e);break;case 3:case 4:const b=l.scopeName===A.selfGrammar.scopeName?A.selfGrammar:l.scopeName===A.baseGrammar.scopeName?A.baseGrammar:void 0;if(b){const S={baseGrammar:A.baseGrammar,selfGrammar:b,repository:Q};l.kind===4?ba(l.ruleName,S,e):vs(S,e)}else l.kind===4?e.add(new c0(l.scopeName,l.ruleName)):e.add(new Co(l.scopeName));break}}}var h0=class{constructor(){this.kind=0}},p0=class{constructor(){this.kind=1}},B0=class{constructor(n){this.ruleName=n,this.kind=2}},C0=class{constructor(n){this.scopeName=n,this.kind=3}},E0=class{constructor(n,A){this.scopeName=n,this.ruleName=A,this.kind=4}};function Xg(n){if(n==="$base")return new h0;if(n==="$self")return new p0;const A=n.indexOf("#");if(A===-1)return new C0(n);if(A===0)return new B0(n.substring(1));{const e=n.substring(0,A),o=n.substring(A+1);return new E0(e,o)}}var Q0=/\\(\d+)/,Vg=/\\(\d+)/g,m0=-1,Au=-2;function AR(n){return n}function eR(n){return n}var Eo=class{constructor(n,A,e,o){this.$location=n,this.id=A,this._name=e||null,this._nameIsCapturing=Ds.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=Ds.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Yg(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,A){return!this._nameIsCapturing||this._name===null||n===null||A===null?this._name:Ds.replaceCaptures(this._name,n,A)}getContentName(n,A){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ds.replaceCaptures(this._contentName,n,A)}},I0=class extends Eo{constructor(n,A,e,o,Q){super(n,A,e,o),this.retokenizeCapturedWithRuleId=Q}dispose(){}collectPatterns(n,A){throw new Error("Not supported!")}compile(n,A){throw new Error("Not supported!")}compileAG(n,A,e,o){throw new Error("Not supported!")}},f0=class extends Eo{constructor(n,A,e,o,Q){super(n,A,e,null),this._match=new Qo(o,this.id),this.captures=Q,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,A){A.push(this._match)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,e,o){return this._getCachedCompiledPatterns(n).compileAG(n,e,o)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new mo,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},eu=class extends Eo{constructor(n,A,e,o,Q){super(n,A,e,o),this.patterns=Q.patterns,this.hasMissingPatterns=Q.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,A){for(const e of this.patterns)n.getRule(e).collectPatterns(n,A)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,e,o){return this._getCachedCompiledPatterns(n).compileAG(n,e,o)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new mo,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ya=class extends Eo{constructor(n,A,e,o,Q,D,l,b,S,f){super(n,A,e,o),this._begin=new Qo(Q,this.id),this.beginCaptures=D,this._end=new Qo(l||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=S||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(n,A){return this._end.resolveBackReferences(n,A)}collectPatterns(n,A){A.push(this._begin)}compile(n,A){return this._getCachedCompiledPatterns(n,A).compile(n)}compileAG(n,A,e,o){return this._getCachedCompiledPatterns(n,A).compileAG(n,e,o)}_getCachedCompiledPatterns(n,A){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new mo;for(const e of this.patterns)n.getRule(e).collectPatterns(n,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,A):this._cachedCompiledPatterns.setSource(0,A)),this._cachedCompiledPatterns}},_s=class extends Eo{constructor(n,A,e,o,Q,D,l,b,S){super(n,A,e,o),this._begin=new Qo(Q,this.id),this.beginCaptures=D,this.whileCaptures=b,this._while=new Qo(l,Au),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=S.patterns,this.hasMissingPatterns=S.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(n,A){return this._while.resolveBackReferences(n,A)}collectPatterns(n,A){A.push(this._begin)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,e,o){return this._getCachedCompiledPatterns(n).compileAG(n,e,o)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new mo;for(const A of this.patterns)n.getRule(A).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,A){return this._getCachedCompiledWhilePatterns(n,A).compile(n)}compileWhileAG(n,A,e,o){return this._getCachedCompiledWhilePatterns(n,A).compileAG(n,e,o)}_getCachedCompiledWhilePatterns(n,A){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new mo,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,A||""),this._cachedCompiledWhilePatterns}},tu=class ft{static createCaptureRule(A,e,o,Q,D){return A.registerRule(l=>new I0(e,l,o,Q,D))}static getCompiledRuleId(A,e,o){return A.id||e.registerRule(Q=>{if(A.id=Q,A.match)return new f0(A.$vscodeTextmateLocation,A.id,A.name,A.match,ft._compileCaptures(A.captures,e,o));if(typeof A.begin>"u"){A.repository&&(o=Tg({},o,A.repository));let D=A.patterns;return typeof D>"u"&&A.include&&(D=[{include:A.include}]),new eu(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,ft._compilePatterns(D,e,o))}return A.while?new _s(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,ft._compileCaptures(A.beginCaptures||A.captures,e,o),A.while,ft._compileCaptures(A.whileCaptures||A.captures,e,o),ft._compilePatterns(A.patterns,e,o)):new ya(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,ft._compileCaptures(A.beginCaptures||A.captures,e,o),A.end,ft._compileCaptures(A.endCaptures||A.captures,e,o),A.applyEndPatternLast,ft._compilePatterns(A.patterns,e,o))}),A.id}static _compileCaptures(A,e,o){let Q=[];if(A){let D=0;for(const l in A){if(l==="$vscodeTextmateLocation")continue;const b=parseInt(l,10);b>D&&(D=b)}for(let l=0;l<=D;l++)Q[l]=null;for(const l in A){if(l==="$vscodeTextmateLocation")continue;const b=parseInt(l,10);let S=0;A[l].patterns&&(S=ft.getCompiledRuleId(A[l],e,o)),Q[b]=ft.createCaptureRule(e,A[l].$vscodeTextmateLocation,A[l].name,A[l].contentName,S)}}return Q}static _compilePatterns(A,e,o){let Q=[];if(A)for(let D=0,l=A.length;D<l;D++){const b=A[D];let S=-1;if(b.include){const f=Xg(b.include);switch(f.kind){case 0:case 1:S=ft.getCompiledRuleId(o[b.include],e,o);break;case 2:let x=o[f.ruleName];x&&(S=ft.getCompiledRuleId(x,e,o));break;case 3:case 4:const L=f.scopeName,P=f.kind===4?f.ruleName:null,z=e.getExternalGrammar(L,o);if(z)if(P){let K=z.repository[P];K&&(S=ft.getCompiledRuleId(K,e,z.repository))}else S=ft.getCompiledRuleId(z.repository.$self,e,z.repository);break}}else S=ft.getCompiledRuleId(b,e,o);if(S!==-1){const f=e.getRule(S);let x=!1;if((f instanceof eu||f instanceof ya||f instanceof _s)&&f.hasMissingPatterns&&f.patterns.length===0&&(x=!0),x)continue;Q.push(S)}}return{patterns:Q,hasMissingPatterns:(A?A.length:0)!==Q.length}}},Qo=class tB{constructor(A,e){if(A){const o=A.length;let Q=0,D=[],l=!1;for(let b=0;b<o;b++)if(A.charAt(b)==="\\"&&b+1<o){const f=A.charAt(b+1);f==="z"?(D.push(A.substring(Q,b)),D.push("$(?!\\n)(?<!\\n)"),Q=b+2):(f==="A"||f==="G")&&(l=!0),b++}this.hasAnchor=l,Q===0?this.source=A:(D.push(A.substring(Q,o)),this.source=D.join(""))}else this.hasAnchor=!1,this.source=A;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=e,this.hasBackReferences=Q0.test(this.source)}clone(){return new tB(this.source,this.ruleId)}setSource(A){this.source!==A&&(this.source=A,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(A,e){let o=e.map(Q=>A.substring(Q.start,Q.end));return Vg.lastIndex=0,this.source.replace(Vg,(Q,D)=>Zg(o[parseInt(D,10)]||""))}_buildAnchorCache(){let A=[],e=[],o=[],Q=[],D,l,b,S;for(D=0,l=this.source.length;D<l;D++)b=this.source.charAt(D),A[D]=b,e[D]=b,o[D]=b,Q[D]=b,b==="\\"&&D+1<l&&(S=this.source.charAt(D+1),S==="A"?(A[D+1]="",e[D+1]="",o[D+1]="A",Q[D+1]="A"):S==="G"?(A[D+1]="",e[D+1]="G",o[D+1]="",Q[D+1]="G"):(A[D+1]=S,e[D+1]=S,o[D+1]=S,Q[D+1]=S),D++);return{A0_G0:A.join(""),A0_G1:e.join(""),A1_G0:o.join(""),A1_G1:Q.join("")}}resolveAnchors(A,e){return!this.hasAnchor||!this._anchorCache?this.source:A?e?this._anchorCache.A1_G1:this._anchorCache.A1_G0:e?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},mo=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(n){this._items.push(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}unshift(n){this._items.unshift(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}length(){return this._items.length}setSource(n,A){this._items[n].source!==A&&(this._disposeCaches(),this._items[n].setSource(A))}compile(n){if(!this._cached){let A=this._items.map(e=>e.source);this._cached=new nu(n,A,this._items.map(e=>e.ruleId))}return this._cached}compileAG(n,A,e){return this._hasAnchors?A?e?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,A,e)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,A,e)),this._anchorCache.A1_G0):e?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,A,e)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,A,e)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,A,e){let o=this._items.map(Q=>Q.resolveAnchors(A,e));return new nu(n,o,this._items.map(Q=>Q.ruleId))}},nu=class{constructor(n,A,e){this.regExps=A,this.rules=e,this.scanner=n.createOnigScanner(A)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let A=0,e=this.rules.length;A<e;A++)n.push(" - "+this.rules[A]+": "+this.regExps[A]);return n.join(`
|
|
80
|
+
`)},n.prototype.classes=function(A){var e=go(this.element)?Array.from(this.element.classList):[];return A?e.includes(A):e},n.prototype.attributes=function(A){var e={};if(go(this.element))for(var o=Array.from(this.element.attributes),Q=0,D=o;Q<D.length;Q++){var l=D[Q];e[l.localName]=l.value}return A?e[A]:e},n.prototype.text=function(){return this.getRootNodes().map(RB).join("")},n.prototype.exists=function(){return!0},n.prototype.get=function(A){var e=this.find(A);if(e.exists())return e;throw new Error("Unable to get ".concat(A," within: ").concat(this.html()))},n.prototype.getComponent=function(A){var e=this.findComponent(A);if(e.exists())return e;var o="Unable to get ";throw typeof A=="string"?o+="component with selector ".concat(A):"name"in A?o+="component with name ".concat(A.name):"ref"in A?o+="component with ref ".concat(A.ref):o+="specified component",o+=" within: ".concat(this.html()),new Error(o)},n.prototype.isVisible=function(){return go(this.element)&&Ag(this.element)},n.prototype.trigger=function(A,e){return zr(this,void 0,void 0,function(){var o;return Wr(this,function(Q){if(e&&e.target)throw Error("[vue-test-utils]: you cannot set the target value of an event. See the notes section of the docs for more details—https://vue-test-utils.vuejs.org/api/wrapper/trigger.html");return this.element&&!this.isDisabled()&&(o=ZB(A,e),o._vts=Date.now()+1,this.element.dispatchEvent(o)),[2,t.nextTick()]})})},n}(),CC=function(n){Pc(A,n);function A(e){var o=this;return e?(o=n.call(this,e)||this,Tc.plugins.DOMWrapper.extend(o),o):On("DOMWrapper")}return A.prototype.getRootNodes=function(){return[this.wrapperElement]},A.prototype.getCurrentComponent=function(){for(var e,o=this.element.__vueParentComponent;((e=o==null?void 0:o.parent)===null||e===void 0?void 0:e.vnode.el)===this.element;)o=o.parent;return o},A.prototype.find=function(e){var o=n.prototype.find.call(this,e);return o.exists()&&HB(e)?this.element.contains(o.element)?o:On("DOMWrapper"):o},A.prototype.findAll=function(e){return this.wrapperElement instanceof Element?Array.from(this.wrapperElement.querySelectorAll(e),uo):[]},A.prototype.findAllComponents=function(e){var o=this,Q=n.prototype.findAllComponents.call(this,e);return Q.filter(function(D){return o.element.contains(D.element)})},A.prototype.setChecked=function(){return zr(this,arguments,void 0,function(e){var o,Q;return e===void 0&&(e=!0),Wr(this,function(D){if(o=this.element,Q=this.attributes().type,Q==="radio"&&!e)throw Error(`wrapper.setChecked() cannot be called with parameter false on a '<input type="radio" /> element.`);return e===o.checked?[2]:(o.checked=e,this.trigger("input"),[2,this.trigger("change")])})})},A.prototype.setValue=function(e){var o=this.element,Q=o.tagName,D=this.attributes().type;if(Q==="OPTION")return this.setSelected(),Promise.resolve();if(Q==="INPUT"&&D==="checkbox")return this.setChecked(e);if(Q==="INPUT"&&D==="radio")return this.setChecked(e);if(Q==="SELECT"){if(Array.isArray(e))for(var l=o,b=0;b<l.options.length;b++){var S=l.options[b];S.selected=e.includes(S.value)}else o.value=e;return this.trigger("input"),this.trigger("change")}else{if(Q==="INPUT"||Q==="TEXTAREA")return o.value=e,this.trigger("input"),this.trigger("change");throw Error("wrapper.setValue() cannot be called on ".concat(Q))}},A.prototype.setSelected=function(){var e=this.element;if(!e.selected){e.selected=!0;var o=e.parentElement;o.tagName==="OPTGROUP"&&(o=o.parentElement);var Q=new A(o);return Q.trigger("input"),Q.trigger("change")}},A}(Fg);eg(xi.DOMWrapper,function(n){return new CC(n)});function Es(n){if(n.shapeFlag&1)return[n.el];if(n.shapeFlag&6){var A=n.component.subTree;return Es(A)}else{if(n.shapeFlag&128)return Es(n.suspense.activeBranch);if(n.shapeFlag&72){var e=[n.el];if(n.anchor)for(var o=e[0].nextSibling;o&&o.previousSibling!==n.anchor;)e.push(o),o=o.nextSibling;return e}else if(n.shapeFlag&16){var Q=n.children.flat();return Q.flatMap(function(D){return Es(D)}).filter(GB)}}return[]}var ai={};function EC(n,A){var e=n.$.uid,o=ai[e]||{};return A?o?o[A]:void 0:o}var QC=function(n,A,e){for(var o=n;typeof(o==null?void 0:o.type)=="function";)o=o.parent;var Q=o.uid;Q in ai||(ai[Q]={}),A in ai[Q]||(ai[Q][A]=[]),ai[Q][A].push(e)},mC=function(n){var A=n.$.uid;delete ai[A]};function IC(n,A){return new Proxy(n,{get:function(e,o,Q){return e.$.exposed&&e.$.exposeProxy&&o in e.$.exposeProxy?Reflect.get(e.$.exposeProxy,o,Q):o in A?Reflect.get(A,o,Q):o in e.$.appContext.config.globalProperties?Reflect.get(e.$.appContext.config.globalProperties,o,Q):e.$.ctx[o]},set:function(e,o,Q,D){return o in A?Reflect.set(A,o,Q,D):Reflect.set(e,o,Q,D)},has:function(e,o){return Reflect.has(A,o)||Reflect.has(e,o)},defineProperty:function(e,o,Q){return o in A?Reflect.defineProperty(A,o,Q):Reflect.defineProperty(e,o,Q)},getOwnPropertyDescriptor:function(e,o){return o in A?Reflect.getOwnPropertyDescriptor(A,o):Reflect.getOwnPropertyDescriptor(e,o)},deleteProperty:function(e,o){return o in A?Reflect.deleteProperty(A,o):Reflect.deleteProperty(e,o)}})}var fC=function(n){Pc(A,n);function A(e,o,Q){var D=n.call(this,o==null?void 0:o.$el)||this;return D.cleanUpCallbacks=[],D.__app=e,D.rootVM=o==null?void 0:o.$root,PB(o)?D.componentVM=IC(o,o.$.setupState):D.componentVM=o,D.__setProps=Q,D.attachNativeEventListener(),Tc.plugins.VueWrapper.extend(D),D}return Object.defineProperty(A.prototype,"hasMultipleRoots",{get:function(){var e=function(o){var Q;if(o.shapeFlag===16)return!0;if(o.shapeFlag&4||o.shapeFlag&2){if(!((Q=o.component)===null||Q===void 0)&&Q.subTree)return e(o.component.subTree);if(o.shapeFlag&16)return!0}return!1};return e(this.vm.$.subTree)},enumerable:!1,configurable:!0}),A.prototype.getRootNodes=function(){return Es(this.vm.$.vnode)},Object.defineProperty(A.prototype,"parentElement",{get:function(){return this.vm.$el.parentElement},enumerable:!1,configurable:!0}),A.prototype.getCurrentComponent=function(){return this.vm.$},A.prototype.exists=function(){return!this.getCurrentComponent().isUnmounted},A.prototype.findAll=function(e){return this.findAllDOMElements(e).map(uo)},A.prototype.attachNativeEventListener=function(){var e=this.vm;if(e){var o=e.$options.emits?Array.isArray(e.$options.emits)?e.$options.emits:Object.keys(e.$options.emits):[],Q=this.getRootNodes().filter(function(L){return L instanceof Element});if(Q.length===1)for(var D=Q[0],l=function(L){if(o.includes(L))return"continue";var P=function(){for(var z=[],K=0;K<arguments.length;K++)z[K]=arguments[K];QC(e.$,L,z)};D.addEventListener(L,P),b.cleanUpCallbacks.push(function(){D.removeEventListener(L,P)})},b=this,S=0,f=Object.keys(Oc);S<f.length;S++){var x=f[S];l(x)}}},Object.defineProperty(A.prototype,"element",{get:function(){return this.hasMultipleRoots?this.parentElement:this.vm.$el},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"vm",{get:function(){return this.componentVM},enumerable:!1,configurable:!0}),A.prototype.props=function(e){var o=this.componentVM.$props;return e?o[e]:o},A.prototype.emitted=function(e){return EC(this.vm,e)},A.prototype.isVisible=function(){var e=uo(this.element);return e.isVisible()},A.prototype.setData=function(e){return Yc(this.componentVM.$data,e),t.nextTick()},A.prototype.setProps=function(e){if(this.vm.$parent!==this.rootVM||!this.__setProps)throw Error("You can only use setProps on your mounted component");return this.__setProps(e),t.nextTick()},A.prototype.setValue=function(e,o){var Q=o||"modelValue";return this.vm.$emit("update:".concat(Q),e),this.vm.$nextTick()},A.prototype.unmount=function(){if(!this.__app)throw new Error("wrapper.unmount() can only be called by the root wrapper");mC(this.vm),this.cleanUpCallbacks.forEach(function(e){return e()}),this.cleanUpCallbacks=[],this.__app.unmount()},A}(Fg);eg(xi.VueWrapper,function(n,A,e){return new fC(n,A,e)});var wC={path:"/",name:void 0,redirectedFrom:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},href:"/"};t.defineComponent({name:"RouterLinkStub",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},custom:{type:Boolean,default:!1}},render:function(){var n=this,A,e,o=t.computed(function(){return wC}),Q=(e=(A=this.$slots)===null||A===void 0?void 0:A.default)===null||e===void 0?void 0:e.call(A,{route:o,href:t.computed(function(){return o.value.href}),isActive:t.computed(function(){return!1}),isExactActive:t.computed(function(){return!1}),navigate:function(){return zr(n,void 0,void 0,function(){return Wr(this,function(D){return[2]})})}});return this.custom?Q:t.h("a",void 0,Q)}}),typeof setImmediate=="function"&&setImmediate;const cn=Symbol(),Ng=Symbol(),Rg=Symbol(),Lg={zh:{menus:{basicTitle:"基础组件",highTitle:"高级组件",layoutTitle:"布局组件",assistTitle:"辅助组件",useTemplateBtn:"使用模板"},actions:{previewJson:"生成JSON Schema",previewVueCode:"生成VUE代码",previewForm:"预览表单",clear:"清空",save:"保存"},canvas:{emptyTip:"请从左侧拖拽字段来组成表单",wrapperEmptyTip:"请拖入子字段"},attr:{tab1:{title:"字段配置",emptyTip:"未选中字段",linkage:{text:"联动",action1:"配置联动",action2:"数据联动"}},tab2:{title:"表单设置"}}},en:{menus:{basicTitle:"Basic Fields",highTitle:"High Basic Fields",layoutTitle:"Layout Fields",assistTitle:"Assist Fields",useTemplateBtn:"Use Template"},actions:{previewJson:"Preview JSON Script",previewVueCode:"Generate VUE code",previewForm:"Preview Form",clear:"Clear",save:"Save"},canvas:{emptyTip:"Please drag and drop fields from the left to form a form",wrapperEmptyTip:"Please drag in a subfield"},attr:{tab1:{title:"Field Configuration",emptyTip:"No field selected",linkage:{text:"Linkage",action1:"Configuration Item Linkage",action2:"Value Linkage"}},tab2:{title:"Form Settings"}}}},Qs=[{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"FormList",hidden:'{{$values.props.mode!=="static"}}',children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"value",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'},{label:"是否禁用",name:"disabled",component:"Switch",designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table",title:"选项"}},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{component:"Title",props:{title:"请求",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"url",component:"Input",name:"props.api.url",initialValue:"https://apifoxmock.com/m1/5213940-4880280-default/options/test",designKey:"form-UrE8"},{label:"请求方式",component:"Select",name:"props.api.method",initialValue:"GET",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{component:"Title",props:{title:"响应",type:"h4"},hideLabel:!0,designKey:"design-49fr",name:"form-Vf2D"},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"},{label:"标签key",component:"Input",name:"props.labelKey",initialValue:"label",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",initialValue:"value",designKey:"form-STkl"},{label:"禁用Key",component:"Input",name:"props.disabledKey",initialValue:"disabled",designKey:"form-STkl2"}]}],DC=[{name:"addB2b",schema:{labelWidth:150,labelPosition:"top",size:"default",scrollToError:!0,items:[{props:{title:"Basic Information",type:"h3",italic:!1},hideLabel:!0,component:"Title",designKey:"design-HvAF",name:"form-95DJ",hidden:!1},{props:{columns:1,columnGap:20,rowGap:20},component:"Grid",designKey:"design-rbQd",name:"form-n2CG",children:[{component:"Input",designKey:"design-OrTD",name:"companyName",label:"Company Name",props:{placeholder:""},required:!0}]},{props:{columns:3,columnGap:20,rowGap:20},component:"Grid",designKey:"design-qjn5",name:"form-OKLN",children:[{component:"Input",designKey:"design-1RWu",name:"status",label:"Status",props:{placeholder:""},required:!0},{component:"Input",designKey:"design-EkEJ",name:"shortName",label:"Short Name",props:{placeholder:""}},{component:"SearchInput",designKey:"design-e0wN",name:"segment",label:"Segment",props:{placeholder:""}},{label:"Company Type",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-qEnj",name:"companyType",required:!0},{label:"Missing KOB number Reason",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-hG6w",name:"form-N6hN",required:!0},{component:"Input",designKey:"design-JtbY",name:"kobNumber",label:"KOB Number",props:{placeholder:""}},{label:"Employee Number Range",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-onze",name:"enr"},{component:"Input",designKey:"design-r2BA",name:"eq",label:"Employee Quantity",props:{placeholder:""}},{component:"Input",designKey:"design-3rwV",name:"postCode",label:"Postcode",props:{placeholder:""},required:!0},{label:"Category",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-pWTp",name:"category"},{label:"Subsegment",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-4ew9",name:"subsegment"},{component:"Input",designKey:"design-IWXo",name:"rc",label:"Registered Capital",props:{placeholder:""}},{component:"Input",designKey:"design-wof2",name:"cvrNo",label:"CVR No.",props:{placeholder:""}},{label:"Preferred Language",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-Nzpd",name:"preferredL"},{component:"Input",designKey:"design-tLOd",name:"cp",label:"Customer Password",props:{placeholder:""}},{label:"Credit Level",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-a0Lk",name:"creditLevel"},{component:"Input",designKey:"design-fSNI",name:"creditLimit",label:"Credit Limit",props:{placeholder:""}},{label:"Stop Payment Fee",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]},component:"Select",designKey:"design-mEmC",name:"spf"}]},{component:"Input",designKey:"design-lJM5",name:"website",label:"Website",props:{placeholder:"",style:{width:"62%"}}},{component:"TextArea",designKey:"design-skC4",name:"remarks",label:"Remarks",props:{placeholder:"请输入...",autosize:{minRows:4,maxRows:999}}}]},id:"addB2b"},{name:"自增组件",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"增添管理员",name:"vip",component:"Switch",props:{"inline-prompt":!1},designKey:"design-kVO2111",change:[{target:"users.*.vip",condition:"{{ $values.vip }}",value:1}]},{label:"增添用户",component:"FormList",children:[{label:"用户名",component:"Input",props:{placeholder:""},designKey:"design-M91n",name:"username",change:[{target:"users.[].vip",condition:'{{ $item.username.includes("admin") }}',value:1}]},{label:"密码",component:"Input",props:{placeholder:"请输入密码"},designKey:"design-kVO2",name:"password"},{label:"设为管理员",component:"Switch",designKey:"design-jC1O",name:"vip",props:{"inline-prompt":!1,"active-value":1,"inactive-value":0}}],props:{mode:"table"},designKey:"design-pMUa",name:"users"}]},id:"formList"},{name:"值联动",schema:{labelWidth:150,labelPosition:"right",size:"default",items:[{label:"字段1",component:"Input",props:{placeholder:"请输入..."},designKey:"form-NASi",name:"item1",change:[{target:"item2",value:"{{$values.item1 * 2}}"},{target:"item3",value:"{{$values.item1 + '元'}}"}]},{label:"字段2",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Nasd",name:"item2"},{label:"字段3",component:"Input",props:{placeholder:"请输入..."},designKey:"form-KI1N",name:"item3"}]},id:"valueLinkage"}],bC="vfc",ke=(n="")=>`${bC}-${n}`,Ca=(n,A)=>n.reduce((e,o)=>{if(o.designKey===A)return o;if(o.children){const Q=Ca(o.children,A);if(Q)return Q}return e},null),Gg=(n,A)=>n.map(e=>e.designKey===A.designKey?A:e.children?{...e,children:Gg(e.children,A)}:e),Hg=n=>n.map(A=>{const e={...Oe.cloneDeep(A),designKey:`form-${Yn(4)}`,name:Yn(8)};return A.children&&(e.children=Hg(A.children)),e}),Pg=(n,A)=>n.reduce((e,o)=>{var Q;if(o.children?e.push({...o,children:Pg(o.children,A)}):e.push(o),o.designKey===A){const D={...Oe.cloneDeep(o),designKey:`form-${Yn(4)}`,name:`${o.name}-${Yn(2)}`};o.children&&(D.children=Hg(o.children)),o.label&&!((Q=D.label)!=null&&Q.includes("copy"))&&(D.label=D.label+" copy"),e.push(D)}return e},[]),Kg=n=>n.map(A=>{if(!A.render)return A;const e={component:A.component,designKey:A.designKey||`design-${Yn(4)}`,name:A.name||`form-${Yn(4)}`};return A.children&&(e.children=Kg(A.children)),e}),ut=()=>{const n=t.reactive({schema:{items:[]},schemaContext:{},design:!1,footer:!1,read:!1,pageRulePath:"",formValues:{},selectData:{},initialValues:{},context:{},vCodePass:!1,updateFormValues:()=>{},updateSelectData:()=>{},updateInitialValues:()=>{},updateVCodePass:()=>{},validate:()=>Promise.reject(),resetFields:()=>{},submit:()=>{},findItemByName:()=>null});return t.inject(Ng,n)},yC=()=>{const{fetchOptionsFn:n}=t.inject(cn);return n},Bo=n=>{const A=ut(),e=yC(),o=t.ref([]),Q=t.ref(!1),D=Oe.debounce(async()=>{if(e&&n.apiParams&&!Object.values(n.apiParams).some(f=>f===void 0)){Q.value=!0;try{const f=await e({formItemProps:t.toRaw(n),formSchema:t.toRaw(A.schema)});if(o.value=[...o.value,...f],n.filters&&(o.value=o.value.filter(x=>Array.isArray(n.filters)?!n.filters.includes(x[n.valueKey||"value"]):!0)),n.name){const x=is(A.schema.items,n.name);x&&x.props&&(x.props.options=o.value)}}finally{Q.value=!1}}},300);t.onMounted(()=>{const{mode:f,options:x=[]}=n;f==="static"&&(o.value=x),f==="remote"&&D()}),t.watch(()=>n.apiParams,(f,x)=>{Oe.isEqual(f,x)||(o.value=[],D())}),t.watch(()=>n.options,(f=[])=>{n.mode==="static"&&(o.value=f)}),t.watch(()=>n.mode,f=>{f==="static"&&(o.value=n.options||[]),f==="remote"&&(o.value=[],D())});const{mode:l,dependentFields:b}=n;if(l==="remote"&&Array.isArray(b))for(const f of b)t.watch(()=>A.formValues[f],(x,L)=>{D()});return{selectChange:f=>{const{valueKey:x="value",multiple:L,name:P}=n;let z={};L&&Array.isArray(f)?z=o.value.filter(K=>f.includes(K[x])):z=o.value.find(K=>K[x]===f)||{},A.selectData&&P&&A.updateSelectData(P,z)},currentOptions:o,loading:Q,fetchData:D}};function Ea(){const n=t.inject(cn),A=t.inject("asiaint-lang",t.ref("zh"));return n!=null&&n.lang?t.ref(n.lang):A}function $n(){const n=Ea();return t.computed(()=>Lg[(n==null?void 0:n.value)||"en"])}const ZA=(n,A)=>{const e=n.__vccOpts||n;for(const[o,Q]of A)e[o]=Q;return e},vC={},kC={t:"1745908115116",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4619",width:"200",height:"200"};function _C(n,A){return t.openBlock(),t.createElementBlock("svg",kC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M0 128a128 128 0 0 1 128-128h768a128 128 0 0 1 128 128v768a128 128 0 0 1-128 128H128a128 128 0 0 1-128-128V128z m128-64a64 64 0 0 0-64 64v768a64 64 0 0 0 64 64h768a64 64 0 0 0 64-64V128a64 64 0 0 0-64-64H128z",fill:"#18AAF8","p-id":"4620"},null,-1),t.createElementVNode("path",{d:"M576 224a32 32 0 0 0-32-32h-64a32 32 0 0 0-32 32v576a32 32 0 0 0 32 32h64a32 32 0 0 0 32-32v-576z",fill:"#18AAF8","p-id":"4621"},null,-1),t.createElementVNode("path",{d:"M224 448a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32h-576z",fill:"#18AAF8","p-id":"4622"},null,-1)]))}const MC=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(vC,[["render",_C]])},Symbol.toStringTag,{value:"Module"})),SC={},xC={t:"1704896187350",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5332",width:"200",height:"200"};function FC(n,A){return t.openBlock(),t.createElementBlock("svg",xC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M512 958.016611c-245.919634 0-446.016611-200.064292-446.016611-446.016611 0-245.919634 200.095256-446.016611 446.016611-446.016611 245.952318 0 446.016611 200.064292 446.016611 446.016611S757.952318 958.016611 512 958.016611zM512 129.983389c-210.655557 0-382.016611 171.359333-382.016611 382.016611 0 210.624593 171.359333 382.016611 382.016611 382.016611 210.624593 0 382.016611-171.359333 382.016611-382.016611S722.624593 129.983389 512 129.983389z","p-id":"5333"},null,-1),t.createElementVNode("path",{d:"M463.99957 304.00043c0 26.509985 21.490445 48.00043 48.00043 48.00043s48.00043-21.490445 48.00043-48.00043-21.490445-48.00043-48.00043-48.00043S463.99957 277.490445 463.99957 304.00043z","p-id":"5334"},null,-1),t.createElementVNode("path",{d:"M512 768c-17.664722 0-32.00086-14.303454-32.00086-32.00086L479.99914 448c0-17.664722 14.336138-32.00086 32.00086-32.00086s32.00086 14.336138 32.00086 32.00086l0 287.99914C544.00086 753.696546 529.664722 768 512 768z","p-id":"5335"},null,-1)]))}const NC=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(SC,[["render",FC]])},Symbol.toStringTag,{value:"Module"})),RC={},LC={t:"1704360061247",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4770",width:"200",height:"200"};function GC(n,A){return t.openBlock(),t.createElementBlock("svg",LC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M329.4 460.5c10-2.3 16.3-12.2 14.1-22.3-4.7-21.1-5.5-42.7-2.1-64.3 14.6-94.2 103.1-159.1 197.4-144.5 22.2 3.4 43.2 11 62.3 22.4 8.9 5.3 20.3 2.4 25.5-6.4 5.3-8.8 2.4-20.3-6.4-25.6-23.3-13.9-48.7-23.1-75.7-27.3-114.5-17.7-222.2 61-239.9 175.6-4 26.2-3.2 52.5 2.6 78.2 1.9 8.7 9.6 14.6 18.2 14.6 1.3 0.1 2.7-0.1 4-0.4z","p-id":"4771"},null,-1),t.createElementVNode("path",{d:"M847.9 599.4c0-26.6-10.5-50.1-28-66.4 17.6-40.7 27.5-85.5 27.5-132.7 0-184.8-150.3-335.1-335.1-335.1S177.2 215.5 177.2 400.3c0 110.7 54.1 208.8 137 269.9 0.6 3.3 1.3 6.6 2.3 9.9 3.2 10.8 7.5 20.4 13 28.8 30.1 45.8 64.1 97.7 97.9 148.3 34.2 51.2 83.8 83.1 147.2 94.7 8 1.4 15.3 2.4 22.3 3.3 3.4 0.5 6.8 0.9 10.2 1.4 2.7 0.4 5.3 0.6 8 0.6h37.8c3 0 6-0.2 8.9-0.7 3.3-0.5 6.7-1.1 10-1.6 5.7-0.9 11.5-1.8 17.2-2.8 80.2-13.8 140.7-74.1 154.3-153.7 2.8-15.9 4.2-32 4.3-47.7 0.2-59.7 0.2-67.2 0.2-91.4 0.1-12.3 0.1-29.1 0.1-59.9z m-614.8-199c0-154.2 125-279.2 279.3-279.2 154.2 0 279.2 125 279.2 279.2 0 39.1-8.2 76.3-22.7 110.1-2.6-0.2-5.2-0.4-7.9-0.4-8.1 0-16 1.1-23.5 3.2-8.7-8.2-19.1-14.7-30.8-18.7-1.9-0.6-3.9-1.2-5.8-1.7 9.2-18.6 15.9-38.8 19.2-60.4 7.2-46.4-1-92.7-23.7-133.7-5-9-16.3-12.3-25.3-7.3-9 5-12.3 16.3-7.3 25.3 18.7 33.8 25.4 71.8 19.5 110-3.7 24.1-12.4 46.2-24.7 65.5-1.1 0.3-2.3 0.4-3.3 0.7-7.7-7-16.9-12.8-27.4-17.3-8-4.2-17-6.5-26.2-6.5h-1.9v-65c0-45.4-30.1-80.6-75-87.7-4.2-0.7-8.4-1-12.5-1-43.9 0-82.4 35.3-85.9 78.6-0.4 5.6-0.4 10.2-0.4 14V550c-17.4-10-33.1-22.9-46.2-38.6-6.6-7.9-18.3-8.9-26.2-2.3-7.9 6.6-8.9 18.3-2.3 26.2 9.1 10.9 19.3 20.6 30.2 29.3-22.6 5.8-42.5 20.2-54.8 40.5-0.5 0.8-0.8 1.6-1.3 2.4-56.8-51.1-92.3-125-92.3-207.1z m558.8 350.2c0 12.8-1.3 25.9-3.5 38.6-9.6 56.2-52.1 98.3-108.5 108-8.9 1.5-17.8 2.8-26.8 4.3h-37.8c-10.1-1.5-20.4-2.6-30.5-4.4-46.5-8.5-84.3-31-110.8-70.7-32.8-49.2-65.3-98.5-97.7-147.9-2.7-4.2-4.7-9-6.1-13.8-6.1-20.9 6.2-42.4 26.8-46.4 3-0.6 5.9-0.9 8.6-0.9 12.5 0 23.1 5.6 31.3 16.2 13.6 17.6 26.4 35.7 39.6 53.6l4.2 5.7c0.3-0.2 0.7-0.3 1.1-0.4v-5-279.2c0-3.2 0-6.3 0.2-9.5 1.2-14.7 15.6-27.2 30.2-27.2 1.3 0 2.6 0.1 3.9 0.3 17.4 2.7 27.8 14.8 27.8 32.5 0 49.7 0 132.9 0.1 182.6 0 2.6 0.2 5.3 0.9 7.7 1.3 4 4.3 6.2 8.6 6.5h0.9c4.1 0 7.2-2.1 8.8-5.7 1-2.3 1.1-5.1 1.1-7.7v-22.5-6.6c0-11.2 3.8-21 13.3-27.6 3.5-2.4 7.7-3.9 11.6-5.8h12.6c0.5 0.3 0.8 0.7 1.3 0.9 16.3 5.6 23.9 16.2 23.9 33.4v22.2-16.4 22.2c0 1.6-0.1 3.2 0.1 4.7 0.7 5.4 4.8 8.9 10 8.9h1c5.5-0.5 8.7-4.2 9-11.1v-0.2-1.2-10.6c0.2-7.3 2-14.2 6.7-20.2 6.2-7.8 15.2-12.1 24.6-12.1 3.4 0 6.9 0.6 10.2 1.7 12.9 4.4 21.2 17 21.2 31.9v28c0 1.9 0 3.9 0.2 5.8 0.6 5.1 3.9 7.7 8.6 8.6 0.5 0.1 1 0.1 1.5 0.1 3.7 0 7.7-2.6 8.9-6.3 0.8-2.4 1-5.1 1-7.7V602v11.3s0.1-3.4 0.1-13.2c0-5.4 1-11.3 3.2-16.3 4.7-11.1 16-17.8 27.7-17.8 2.2 0 4.3 0.2 6.4 0.7 15.1 3.3 24.6 16.1 24.6 32.7 0 90.3 0.1 60.8-0.1 151.2z","p-id":"4772"},null,-1)]))}const HC=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(RC,[["render",GC]])},Symbol.toStringTag,{value:"Module"})),PC={},KC={t:"1703055882491",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9224",width:"200",height:"200"};function UC(n,A){return t.openBlock(),t.createElementBlock("svg",KC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M1001.946877 854.926059H22.053123V169.073941h979.893754v685.852118",fill:"#FFFFFF","p-id":"9225"},null,-1),t.createElementVNode("path",{d:"M1001.946877 391.075377H22.053123V169.073941h979.893754v222.001436",fill:"#CCCCCC","p-id":"9226"},null,-1),t.createElementVNode("path",{d:"M1001.946877 876.979182H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053123V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v685.852118c0 12.49677-9.556353 22.053123-22.053123 22.053123zM44.106246 832.872936h935.787508V191.127064H44.106246v641.745872z","p-id":"9227"},null,-1),t.createElementVNode("path",{d:"M1001.946877 410.923187H22.053123c-12.49677 0-22.053123-9.556353-22.053123-22.053122V169.073941c0-12.49677 9.556353-22.053123 22.053123-22.053123h979.893754c12.49677 0 22.053123 9.556353 22.053123 22.053123v219.796124c0 12.49677-9.556353 22.053123-22.053123 22.053122zM44.106246 366.816942h935.787508V191.127064H44.106246v175.689878z","p-id":"9228"},null,-1)]))}const TC=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(PC,[["render",UC]])},Symbol.toStringTag,{value:"Module"})),YC={},OC={t:"1703599079424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7208",width:"200",height:"200"};function $C(n,A){return t.openBlock(),t.createElementBlock("svg",OC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M938.666667 86.186667v298.666666H85.333333v-298.666666h853.333334m85.333333-85.333334H0v469.333334h1024v-469.333334zM938.666667 681.813333v256H510.933333v-256H938.666667m85.333333-85.333333H425.6v426.666667H1024v-426.666667z","p-id":"7209"},null,-1),t.createElementVNode("path",{d:"M484.693333 863.36h-140.586666c-103.68 0-188.16-70.186667-188.16-156.373333V402.986667h85.333333v304c0 38.613333 47.146667 71.04 102.826667 71.04h140.586666v85.333333z","p-id":"7210"},null,-1)]))}const JC=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(YC,[["render",$C]])},Symbol.toStringTag,{value:"Module"})),ZC={},zC={t:"1703597650364",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6020",width:"200",height:"200"};function WC(n,A){return t.openBlock(),t.createElementBlock("svg",zC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M732.09344 341.98528c-12.544-12.45184-32.82944-12.31872-45.24544 0.256L453.56544 578.048 350.30528 471.936c-12.35456-12.70272-32.60928-12.928-45.25056-0.64-12.672 12.31872-12.95872 32.60928-0.64 45.25056l126.01856 129.50528c0.06144 0.09728 0.19456 0.09728 0.256 0.18944 0.06656 0.06656 0.09728 0.18944 0.15872 0.256 2.01728 1.98656 4.51072 3.2 6.88128 4.54656 1.24928 0.67072 2.24256 1.792 3.52256 2.304 3.87072 1.60256 8.00256 2.40128 12.09856 2.40128 4.06016 0 8.12544-0.79872 11.96544-2.33472 1.24928-0.51712 2.20672-1.54112 3.39456-2.18112 2.40128-1.34144 4.89472-2.52416 6.94272-4.54144 0.06656-0.06656 0.09728-0.19456 0.19456-0.26112 0.06656-0.09728 0.15872-0.12288 0.256-0.18944l256.22528-259.00544C744.77056 374.68672 744.64256 354.432 732.09344 341.98528zM832 928l-640 0c-52.92544 0-96-43.06944-96-96l0-640c0-52.92544 43.07456-96 96-96l640 0c52.93056 0 96 43.07456 96 96l0 640C928 884.93056 884.93056 928 832 928zM192 160c-17.63328 0-32 14.36672-32 32l0 640c0 17.664 14.36672 32 32 32l640 0c17.664 0 32-14.336 32-32l0-640c0-17.63328-14.336-32-32-32L192 160z","p-id":"6021"},null,-1)]))}const jC=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(ZC,[["render",WC]])},Symbol.toStringTag,{value:"Module"})),qC={},XC={t:"1726041444972",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5136","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function VC(n,A){return t.openBlock(),t.createElementBlock("svg",XC,A[0]||(A[0]=[t.createElementVNode("path",{d:"M512 1024a512 512 0 1 1 512-512 512.520855 512.520855 0 0 1-512 512z m0-971.914547a459.914547 459.914547 0 1 0 459.914547 459.914547A460.435402 460.435402 0 0 0 512 52.085453z",fill:"#909399","p-id":"5137"},null,-1),t.createElementVNode("path",{d:"M660.703967 674.76704a26.042726 26.042726 0 0 1-18.750763-7.812818l-281.001017-286.46999a26.042726 26.042726 0 0 1 0-36.980671 26.042726 26.042726 0 0 1 36.720244 0l281.001018 286.469989a26.042726 26.042726 0 0 1-18.490336 44.272635z",fill:"#909399","p-id":"5138"},null,-1),t.createElementVNode("path",{d:"M376.577823 671.641913a26.042726 26.042726 0 0 1-18.490336-7.812818 26.042726 26.042726 0 0 1 0-36.720245l286.46999-281.001017a26.042726 26.042726 0 0 1 36.720244 0 26.042726 26.042726 0 0 1 0 36.980672l-286.46999 281.001017a26.042726 26.042726 0 0 1-18.229908 7.552391z",fill:"#909399","p-id":"5139"},null,-1)]))}const AE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(qC,[["render",VC]])},Symbol.toStringTag,{value:"Module"})),eE={},tE={t:"1708504426013",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3921",width:"200",height:"200"};function nE(n,A){return t.openBlock(),t.createElementBlock("svg",tE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M774.4 246.4c-6.4-6.4-16-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6l-67.2 67.2c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l44.8-44.8 44.8 44.8c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-67.2-67.2z","p-id":"3922"},null,-1),t.createElementVNode("path",{d:"M896 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h768c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-12.8 32-32 32H160c-19.2 0-32-16-32-32V480h768v320z m0-384H128V224c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v192z","p-id":"3923"},null,-1)]))}const iE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(eE,[["render",nE]])},Symbol.toStringTag,{value:"Module"})),oE={},sE={t:"1703684587275",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7454",width:"200",height:"200"};function rE(n,A){return t.openBlock(),t.createElementBlock("svg",sE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M512 0a512 512 0 0 0 0 1024c180.224 0-110.592-204.8 204.8-204.8a302.08 302.08 0 0 0 307.2-307.2A512 512 0 0 0 512 0zM179.2 486.4A76.8 76.8 0 1 1 256 409.6a76.8 76.8 0 0 1-76.8 76.8zM358.4 307.2a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 358.4 307.2z m307.2 0a76.8 76.8 0 1 1 76.8-76.8A76.8 76.8 0 0 1 665.6 307.2z m179.2 179.2A76.8 76.8 0 1 1 921.6 409.6a76.8 76.8 0 0 1-76.8 76.8z","p-id":"7455"},null,-1)]))}const aE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(oE,[["render",rE]])},Symbol.toStringTag,{value:"Module"})),lE={},cE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function gE(n,A){return t.openBlock(),t.createElementBlock("svg",cE,A[0]||(A[0]=[t.createStaticVNode('<defs><clipPath id="clipPath8742382171"><path transform="matrix(1 0 0 1 0 0)" d="M0 0L16 0L16 16L0 16L0 0Z" fill-rule="nonzero"></path></clipPath></defs><g clip-path="url(#clipPath8742382171)"><path transform="matrix(1 0 0 1 4.33333 1.66667)" d="M-0.5 0.9375L-0.5 2.4772C-0.5 2.75334 -0.27614 2.9772 0 2.9772C0.27614 2.9772 0.5 2.75334 0.5 2.4772L0.5 0.9375Q0.5 0.756282 0.628141 0.628141Q0.756282 0.5 0.9375 0.5L9.0625 0.5Q9.24372 0.5 9.37186 0.628141Q9.5 0.756282 9.5 0.9375L9.5 9.0625Q9.5 9.24372 9.37186 9.37186Q9.24372 9.5 9.0625 9.5L7.50543 9.5C7.22929 9.5 7.00543 9.72386 7.00543 10C7.00543 10.2761 7.22929 10.5 7.50543 10.5L9.0625 10.5Q9.65793 10.5 10.079 10.079Q10.5 9.65793 10.5 9.0625L10.5 0.9375Q10.5 0.342067 10.079 -0.078966Q9.65793 -0.5 9.0625 -0.5L0.9375 -0.5Q0.342068 -0.5 -0.0789659 -0.0789659Q-0.5 0.342068 -0.5 0.9375Z" fill-rule="evenodd" fill="rgb(102, 102, 102)"></path><path transform="matrix(1 0 0 1 1.66667 4.33333)" d="M9.0625 0.5L0.9375 0.5Q0.756282 0.5 0.628141 0.628141Q0.5 0.756282 0.5 0.9375L0.5 9.0625Q0.5 9.24372 0.628141 9.37186Q0.756282 9.5 0.9375 9.5L9.0625 9.5Q9.24372 9.5 9.37186 9.37186Q9.5 9.24372 9.5 9.0625L9.5 0.9375Q9.5 0.756282 9.37186 0.628141Q9.24372 0.5 9.0625 0.5L9.0625 0.5ZM9.0625 -0.5Q9.65793 -0.5 10.079 -0.078966Q10.5 0.342067 10.5 0.9375L10.5 9.0625Q10.5 9.65793 10.079 10.079Q9.65793 10.5 9.0625 10.5L0.9375 10.5Q0.342067 10.5 -0.078966 10.079Q-0.5 9.65793 -0.5 9.0625L-0.5 0.9375Q-0.5 0.342068 -0.0789659 -0.0789659Q0.342068 -0.5 0.9375 -0.5L9.0625 -0.5L9.0625 -0.5Z" fill-rule="nonzero" fill="rgb(102, 102, 102)"></path></g>',2)]))}const uE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(lE,[["render",gE]])},Symbol.toStringTag,{value:"Module"})),dE={},hE={t:"1705910453717",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8006",width:"200",height:"200"};function pE(n,A){return t.openBlock(),t.createElementBlock("svg",hE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M972.09863 1016.986301H259.506849c-19.638356 0-35.068493-15.430137-35.068493-35.068493V768.70137c-8.416438 5.610959-18.235616 9.819178-28.054794 12.624657h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082191 7.013698 1.40274 0 2.805479 1.40274 4.20822 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l2.805479 1.40274V269.326027c0-19.638356 15.430137-35.068493 35.068493-35.068493h228.646576l-4.20822-8.416438c-7.013699-11.221918-12.624658-22.443836-15.430137-35.068493v-1.40274c-4.208219-12.624658-5.610959-26.652055-5.610958-39.276712C462.90411 72.942466 526.027397 11.221918 601.775342 11.221918c77.150685 0 138.871233 63.123288 138.871233 138.871233 0 14.027397-2.805479 28.054795-7.013698 42.082191 0 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479 7.013699-5.610959 14.027397-8.416438 19.638356l-7.013699 16.832877h255.29863c19.638356 0 35.068493 15.430137 35.068493 35.068493v314.213698c0 11.221918-5.610959 22.443836-15.430137 29.457535-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L897.753425 587.747945c-1.40274 0-1.40274-1.40274-2.80548-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610958h-1.402739c-7.013699-2.805479-14.027397-2.805479-21.041096-2.80548-37.873973 0-68.734247 30.860274-68.734247 68.734247s30.860274 68.734247 68.734247 68.734246c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.20822-2.805479l53.304109-25.249315c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274s16.832877 18.235616 16.832876 29.457534V981.917808c0 19.638356-15.430137 35.068493-35.068493 35.068493z m-677.523288-70.136986h642.454795v-182.356164h-1.40274c-11.221918 7.013699-22.443836 12.624658-35.068493 16.832876h-1.40274c-12.624658 4.208219-26.652055 5.610959-39.276712 5.610959-77.150685 0-138.871233-63.123288-138.871233-138.871233 0-77.150685 63.123288-138.871233 138.871233-138.871232 14.027397 0 28.054795 2.805479 42.082192 7.013698 1.40274 0 2.805479 1.40274 4.208219 1.40274 7.013699 2.805479 14.027397 5.610959 19.638356 8.416438l9.819178 4.208219v-224.438356H662.093151c-11.221918 0-22.443836-5.610959-29.457535-15.430137-7.013699-9.819178-7.013699-22.443836-2.805479-33.665753l29.457534-67.331507c0-1.40274 1.40274-1.40274 1.40274-2.805479 1.40274-2.805479 4.208219-7.013699 5.610959-11.221918v-1.40274c2.805479-7.013699 2.805479-14.027397 2.805479-21.041096 0-37.873973-30.860274-68.734247-68.734246-68.734246s-68.734247 30.860274-68.734247 68.734246c0 7.013699 1.40274 14.027397 2.80548 19.638356 1.40274 7.013699 5.610959 12.624658 8.416438 18.235617 1.40274 1.40274 1.40274 2.805479 2.805479 4.208219l28.054795 60.317808c5.610959 11.221918 4.208219 23.846575-1.40274 33.665754s-18.235616 16.832877-29.457534 16.832876H294.575342v274.936987c0 11.221918-5.610959 22.443836-15.430137 29.457534-9.819178 7.013699-22.443836 7.013699-33.665753 2.805479L192.175342 589.150685c-1.40274 0-1.40274-1.40274-2.805479-1.40274-2.805479-1.40274-7.013699-4.208219-11.221918-5.610959h-1.40274c-7.013699-2.805479-14.027397-2.805479-21.041095-2.805479-37.873973 0-68.734247 30.860274-68.734247 68.734246s30.860274 68.734247 68.734247 68.734247c7.013699 0 14.027397-1.40274 19.638356-2.805479 7.013699-1.40274 12.624658-5.610959 18.235616-8.416439 1.40274-1.40274 2.805479-1.40274 4.208219-2.805479l46.290411-22.443836c11.221918-5.610959 23.846575-4.208219 33.665754 1.40274 9.819178 7.013699 16.832877 18.235616 16.832876 29.457534v235.660274z","p-id":"8007"},null,-1)]))}const BE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(dE,[["render",pE]])},Symbol.toStringTag,{value:"Module"})),CE={},EE={t:"1704941224194",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4108",width:"200",height:"200"};function QE(n,A){return t.openBlock(),t.createElementBlock("svg",EE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M531.76 474.6c-35.2 0-22 43.92-65.92 52.72l-13.2 4.4c-22 4.4-26.4 4.4-26.4 22s8.8 22 17.6 22h52.72v145.04c0 22 4.4 35.12 26.4 35.12s26.4-17.6 26.4-35.12V501c0-22-8.8-26.4-17.6-26.4zM360.4 329.56h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 8.8 17.6 22 17.6z m285.68 0h8.8c13.2 0 22-8.8 22-22V202.12c0-13.2-8.8-22-22-22h-8.8c-13.2 0-22 8.8-22 22v109.84c0 8.8 13.2 17.6 22 17.6z m0 0","p-id":"4109"},null,-1),t.createElementVNode("path",{d:"M769.12 232.92H712v39.52h57.12c26.4 0 48.32 22 48.32 48.32v43.92H197.76v-43.92c0-26.4 22-48.32 48.32-48.32h57.12v-39.52h-52.72c-52.72 0-92.32 43.92-92.32 92.32v426.32c0 48.32 39.52 92.32 92.32 92.32h523.04c48.32 0 92.32-39.52 92.32-92.32v-426.4c-4.4-48.32-44-92.24-96.72-92.24z m0 566.96H250.48c-26.4 0-48.32-22-48.32-48.32V408.68h619.68v338.4c0 30.8-21.92 52.8-52.72 52.8z m0 0","p-id":"4110"},null,-1),t.createElementVNode("path",{d:"M421.92 232.92h175.84v39.52H421.92z","p-id":"4111"},null,-1)]))}const mE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(CE,[["render",QE]])},Symbol.toStringTag,{value:"Module"})),IE={},fE={t:"1703838633965",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5029",width:"200",height:"200"};function wE(n,A){return t.openBlock(),t.createElementBlock("svg",fE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M607.897867 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L575.903242 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 351.94087C639.892491 753.593818 625.61532 768.043004 607.897867 768.043004z","p-id":"5030"},null,-1),t.createElementVNode("path",{d:"M415.930119 768.043004c-17.717453 0-31.994625-14.277171-31.994625-31.994625L383.935495 383.935495c0-17.717453 14.277171-31.994625 31.994625-31.994625 17.717453 0 31.994625 14.277171 31.994625 31.994625l0 351.94087C447.924744 753.593818 433.647573 768.043004 415.930119 768.043004z","p-id":"5031"},null,-1),t.createElementVNode("path",{d:"M928.016126 223.962372l-159.973123 0L768.043004 159.973123c0-52.980346-42.659499-95.983874-95.295817-95.983874L351.94087 63.989249c-52.980346 0-95.983874 43.003528-95.983874 95.983874l0 63.989249-159.973123 0c-17.717453 0-31.994625 14.277171-31.994625 31.994625s14.277171 31.994625 31.994625 31.994625l832.032253 0c17.717453 0 31.994625-14.277171 31.994625-31.994625S945.73358 223.962372 928.016126 223.962372zM319.946246 159.973123c0-17.545439 14.449185-31.994625 31.994625-31.994625l320.806316 0c17.545439 0 31.306568 14.105157 31.306568 31.994625l0 63.989249L319.946246 223.962372 319.946246 159.973123 319.946246 159.973123z","p-id":"5032"},null,-1),t.createElementVNode("path",{d:"M736.048379 960.010751 288.123635 960.010751c-52.980346 0-95.983874-43.003528-95.983874-95.983874L192.139761 383.591466c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 480.435411c0 17.717453 14.449185 31.994625 31.994625 31.994625l448.096758 0c17.717453 0 31.994625-14.277171 31.994625-31.994625L768.215018 384.795565c0-17.717453 14.277171-31.994625 31.994625-31.994625s31.994625 14.277171 31.994625 31.994625l0 479.231312C832.032253 916.835209 789.028725 960.010751 736.048379 960.010751z","p-id":"5033"},null,-1)]))}const DE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(IE,[["render",wE]])},Symbol.toStringTag,{value:"Module"})),bE={},yE={t:"1704174941122",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9227",width:"200",height:"200"};function vE(n,A){return t.openBlock(),t.createElementBlock("svg",yE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M324.266667 472.177778L136.533333 284.444444 284.444444 136.533333l187.733334 187.733334L512 284.444444 284.444444 56.888889 56.888889 284.444444l227.555555 227.555556zM699.733333 551.822222l187.733334 187.733334-147.911111 147.911111-187.733334-187.733334-39.822222 39.822223 227.555556 227.555555 227.555555-227.555555-227.555555-227.555556z","p-id":"9228"},null,-1),t.createElementVNode("path",{d:"M170.382222 327.224889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM281.941333 444.017778l-40.220444-40.220445L346.339556 299.235556l40.220444 40.220444zM579.982222 736.824889l104.561778-104.561778 40.220444 40.220445-104.561777 104.561777zM653.937778 810.780444l104.561778-104.561777 40.220444 40.220444-104.561778 104.561778z","p-id":"9229"},null,-1),t.createElementVNode("path",{d:"M739.555556 136.533333L887.466667 284.444444 284.444444 887.466667 136.533333 739.555556 739.555556 136.533333M739.555556 56.888889L56.888889 739.555556l227.555555 227.555555L967.111111 284.444444l-227.555555-227.555555z","p-id":"9230"},null,-1),t.createElementVNode("path",{d:"M56.888889 739.555556h56.888889v227.555555H56.888889z","p-id":"9231"},null,-1),t.createElementVNode("path",{d:"M56.888889 910.222222h227.555555v56.888889H56.888889z","p-id":"9232"},null,-1)]))}const kE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(bE,[["render",vE]])},Symbol.toStringTag,{value:"Module"})),_E={},ME={t:"1706709803104",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5147",width:"200",height:"200"};function SE(n,A){return t.openBlock(),t.createElementBlock("svg",ME,A[0]||(A[0]=[t.createElementVNode("path",{d:"M32 464h960V576H32z","p-id":"5148"},null,-1)]))}const xE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(_E,[["render",SE]])},Symbol.toStringTag,{value:"Module"})),FE={},NE={t:"1704175176472",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10353",width:"200",height:"200"};function RE(n,A){return t.openBlock(),t.createElementBlock("svg",NE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M288 320h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM288 544h448a32 32 0 0 0 0-64H288a32 32 0 0 0 0 64zM544 704H288a32 32 0 0 0 0 64h256a32 32 0 0 0 0-64z","p-id":"10354"},null,-1),t.createElementVNode("path",{d:"M896 132.928C896 77.28 851.552 32 796.928 32H227.04C172.448 32 128 77.28 128 132.928v758.144C128 946.72 172.448 992 227.04 992h435.008c1.568 0 2.912-0.672 4.416-0.896 8.96 1.6 18.464-0.256 25.984-6.528l192-160a31.424 31.424 0 0 0 10.816-27.2c0.16-1.184 0.736-2.208 0.736-3.424V132.928zM192 891.072V132.928C192 112.576 207.712 96 227.04 96h569.888C816.288 96 832 112.576 832 132.928V736h-96a96 96 0 0 0-96 96v96H227.04C207.712 928 192 911.424 192 891.072zM814.016 800L704 891.68V832a32 32 0 0 1 32-32h78.016z","p-id":"10355"},null,-1)]))}const LE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(FE,[["render",RE]])},Symbol.toStringTag,{value:"Module"})),GE={},HE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"16",height:"16",viewBox:"0 0 16 16"};function PE(n,A){return t.openBlock(),t.createElementBlock("svg",HE,A[0]||(A[0]=[t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clipPath6999889763"},[t.createElementVNode("path",{transform:"matrix(1 0 0 1 0 0)",d:"M0 0L16 0L16 16L0 16L0 0Z","fill-rule":"nonzero"})])],-1),t.createElementVNode("g",{"clip-path":"url(#clipPath6999889763)"},[t.createElementVNode("path",{transform:"matrix(1 0 0 1 3.5 5.75)",d:"M-0.795495 -0.795495C-1.23483 -0.356159 -1.23483 0.356159 -0.795495 0.795495L3.7045 5.2955Q3.74359 5.33458 3.78631 5.36964Q3.82903 5.4047 3.87498 5.4354Q3.92094 5.46611 3.96968 5.49216Q4.01842 5.51821 4.06948 5.53936Q4.12054 5.56051 4.17343 5.57656Q4.22632 5.5926 4.28052 5.60338Q4.33473 5.61417 4.38973 5.61958Q4.44473 5.625 4.5 5.625Q4.55527 5.625 4.61027 5.61958Q4.66527 5.61417 4.71948 5.60338Q4.77368 5.5926 4.82657 5.57656Q4.87946 5.56051 4.93052 5.53936Q4.98158 5.51821 5.03032 5.49216Q5.07906 5.46611 5.12502 5.4354Q5.17097 5.4047 5.21369 5.36964Q5.25642 5.33458 5.2955 5.2955L9.7955 0.795495C10.2348 0.356159 10.2348 -0.356159 9.7955 -0.795495C9.35616 -1.23483 8.64384 -1.23483 8.2045 -0.795495L4.5 2.90901L0.795495 -0.795495C0.356159 -1.23483 -0.356159 -1.23483 -0.795495 -0.795495Z","fill-rule":"evenodd",fill:"rgb(51, 51, 51)"})],-1)]))}const KE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(GE,[["render",PE]])},Symbol.toStringTag,{value:"Module"})),UE={},TE={t:"1729359107481",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3906",width:"200",height:"200"};function YE(n,A){return t.openBlock(),t.createElementBlock("svg",TE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M721.493333 171.989333c51.114667-6.506667 101.909333 11.52 136.448 46.570667 67.2 68.202667 69.589333 184.746667-9.088 267.946667a562.773333 562.773333 0 0 1-37.098666 35.52c-10.517333 9.301333-44.992 38.336-47.829334 40.789333C704.746667 613.802667 682.666667 649.322667 682.666667 710.698667c0 69.418667 51.626667 112.042667 163.242666 128.746666a21.333333 21.333333 0 1 1-6.314666 42.197334C709.333333 862.165333 640 804.906667 640 710.698667c0-76.202667 28.416-121.898667 96.064-180.202667 3.2-2.752 37.376-31.552 47.466667-40.448a521.237333 521.237333 0 0 0 34.346666-32.853333c62.72-66.346667 60.885333-156.714667 9.685334-208.682667a119.146667 119.146667 0 0 0-62.570667-33.024l16 16c16.64 16.64 17.322667 42.986667 1.408 58.901333l-445.653333 445.653334c-7.936 7.936-23.082667 16.746667-34.218667 19.797333l-143.701333 39.253333c-21.909333 5.973333-35.114667-7.104-29.568-28.949333l37.269333-146.794667c2.773333-10.944 11.541333-26.325333 19.370667-34.154666l445.653333-445.653334c15.872-15.872 42.133333-15.36 58.901333 1.429334l31.04 31.018666zM216.064 615.36c-2.901333 2.901333-8.106667 12.096-9.109333 16.042667l-29.141334 114.773333 111.957334-30.592c4.437333-1.216 13.653333-6.528 16.810666-9.706667l445.653334-445.653333-90.517334-90.496-445.653333 445.653333z m414.08-414.058667l90.496 90.517334-30.165333 30.165333-90.517334-90.496 30.165334-30.186667z m-362.048 362.026667l90.496 90.538667-30.165333 30.165333-90.517334-90.517333 30.186667-30.165334z","p-id":"3907"},null,-1)]))}const OE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(UE,[["render",YE]])},Symbol.toStringTag,{value:"Module"})),$E={},JE={t:"1728140261623",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8124",width:"200",height:"200"};function ZE(n,A){return t.openBlock(),t.createElementBlock("svg",JE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M185.856 258.2016L117.3504 189.7984c-48.2816-48.2816 24.1152-120.6784 72.3968-72.3968l86.3744 86.3232A554.6496 554.6496 0 0 1 460.8 155.7504L460.8 153.6V102.4a51.2 51.2 0 1 1 102.4 0v53.3504c66.6624 5.7344 129.3312 22.4768 184.6272 47.9744l86.3744-86.3232a51.2 51.2 0 0 1 72.3968 72.3968l-68.4032 68.4032C921.088 322.56 972.8 411.6992 972.8 512c0 201.6768-208.9984 358.4-460.8 358.4s-460.8-156.7232-460.8-358.4c0-100.3008 51.712-189.44 134.656-253.7984zM512 768c200.6016 0 358.4-118.3232 358.4-256s-157.7984-256-358.4-256-358.4 118.3232-358.4 256 157.7984 256 358.4 256z m0-51.2a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6z m0-102.4a102.4 102.4 0 1 0 0-204.8 102.4 102.4 0 0 0 0 204.8z","p-id":"8125"},null,-1)]))}const zE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA($E,[["render",ZE]])},Symbol.toStringTag,{value:"Module"})),WE={},jE={t:"1703055779128",class:"icon",viewBox:"0 0 1139 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8193",width:"200",height:"200"};function qE(n,A){return t.openBlock(),t.createElementBlock("svg",jE,A[0]||(A[0]=[t.createElementVNode("path",{d:"M0.244023 394.046187h317.658598v258.092532H0.244023z m403.879057 344.881835h329.198v284.421871H404.12308z m0-344.719308h329.198v258.092532H404.12308z m415.824776 344.719308H1137.931508v284.421871h-317.658599z m-820.028887 0h317.658599v284.421871H0.244023z m0-738.928022h1137.687485v307.581938h-1137.687485z m820.35394 394.046187H1137.931508v258.092532h-317.658599z","p-id":"8194"},null,-1)]))}const XE=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(WE,[["render",qE]])},Symbol.toStringTag,{value:"Module"})),VE={},AQ={t:"1704175538573",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"17151",width:"200",height:"200"};function eQ(n,A){return t.openBlock(),t.createElementBlock("svg",AQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M511.542857 14.057143C228.914286 13.942857 0 242.742857 0 525.142857 0 748.457143 143.2 938.285714 342.628571 1008c26.857143 6.742857 22.742857-12.342857 22.742858-25.371429v-88.571428c-155.085714 18.171429-161.371429-84.457143-171.771429-101.6C172.571429 756.571429 122.857143 747.428571 137.714286 730.285714c35.314286-18.171429 71.314286 4.571429 113.028571 66.171429 30.171429 44.685714 89.028571 37.142857 118.857143 29.714286 6.514286-26.857143 20.457143-50.857143 39.657143-69.485715-160.685714-28.8-227.657143-126.857143-227.657143-243.428571 0-56.571429 18.628571-108.571429 55.2-150.514286-23.314286-69.142857 2.171429-128.342857 5.6-137.142857 66.4-5.942857 135.428571 47.542857 140.8 51.771429 37.714286-10.171429 80.8-15.542857 129.028571-15.542858 48.457143 0 91.657143 5.6 129.714286 15.885715 12.914286-9.828571 76.914286-55.771429 138.628572-50.171429 3.314286 8.8 28.228571 66.628571 6.285714 134.857143 37.028571 42.057143 55.885714 94.514286 55.885714 151.2 0 116.8-67.428571 214.971429-228.571428 243.314286a145.714286 145.714286 0 0 1 43.542857 104v128.571428c0.914286 10.285714 0 20.457143 17.142857 20.457143 202.4-68.228571 348.114286-259.428571 348.114286-484.685714 0-282.514286-229.028571-511.2-511.428572-511.2z","p-id":"17152"},null,-1)]))}const tQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(VE,[["render",eQ]])},Symbol.toStringTag,{value:"Module"})),nQ={},iQ={t:"1705649491640",class:"icon",viewBox:"0 0 1371 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6157",width:"200",height:"200"};function oQ(n,A){return t.openBlock(),t.createElementBlock("svg",iQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M1052.91381327 223.61256508h-165.52399247V800.42054084h165.5306138c11.42161264 0 21.14819137-4.03894707 29.26581204-12.07049191 8.07789413-8.07789413 12.13008315-17.75812433 12.13008387-29.1333884V264.81644539c0-11.36864273-4.05218974-21.08197883-12.12346254-29.13338767-8.12424271-8.05803016-17.85082147-12.09697724-29.27243337-12.09697724v0.02648459z m-248.29592034-0.0264846h-248.29592034v576.80135445h248.29592034V223.57945916zM473.55666605 800.38743492V223.57945916h-165.5306138c-11.42161264 0-21.14819137 4.03894707-29.26581206 12.10359856-8.06465149 8.0447875-12.13008315 17.75812433-12.13008315 29.13338767v494.38697248c0 11.37526406 4.06543166 21.05549423 12.12346183 29.1333884 8.12424271 8.03154558 17.85082147 12.07049265 29.27243338 12.07049192h165.5306138v-0.02648459zM308.01943164 141.21142578h744.90100296c34.23835189 0 63.51078599 12.07049265 87.76433096 36.21809854C1164.93831125 201.57050889 1177.06177308 230.70389656 1177.06177308 264.81644539v494.39359381c0 34.08606424-12.12346182 63.24593648-36.37700752 87.37367914-24.25354569 24.13436323-53.52597908 36.20485588-87.76433096 36.20485588H308.01943164c-34.23835189 0-63.52402793-12.07049265-87.76433167-36.20485588C196.00155426 822.45597643 183.87809244 793.29610344 183.87809244 759.2100392V264.81644539C183.87809244 230.70389656 196.00155426 201.57050889 220.25509997 177.42952433 244.48878167 153.28191843 273.78107903 141.21142578 308.02605225 141.21142578z","p-id":"6158"},null,-1)]))}const sQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(nQ,[["render",oQ]])},Symbol.toStringTag,{value:"Module"})),rQ={},aQ={t:"1708311321522",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function lQ(n,A){return t.openBlock(),t.createElementBlock("svg",aQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M511.998 16.512c-273.649 0-495.482 221.837-495.482 495.486 0 273.651 221.833 495.49 495.482 495.49 273.653 0 495.486-221.839 495.486-495.488 0-273.649-221.831-495.488-495.486-495.488zM560.084 797.914c0 13.682-11.089 24.776-24.774 24.776h-74.323c-13.679 0-24.772-11.093-24.772-24.776v-74.321c0-13.686 11.093-24.778 24.772-24.778h74.323c13.684 0 24.774 11.091 24.774 24.778v74.321zM682.891 456.897c-9.958 14.199-32.561 32.291-60.858 54.35l-31.359 21.64c-15.23 11.814-28.738 25.568-33.733 41.315-1.707 5.365-2.986 14.183-3.847 23.706-0.434 4.792-4.721 14.568-14.741 14.568-24.551 0-71.341 0-80.651 0-13.109 0-15.451-10.268-15.232-15.291 1.451-32.919 4.468-62.144 17.88-77.878 27.155-31.839 88.943-71.469 88.943-71.469 9.407-7.099 17.023-14.816 22.783-23.226 10.471-14.438 19.158-30.294 19.158-47.626 0-19.921-5.824-38.079-17.51-54.515-11.646-16.371-32.979-24.573-63.891-24.573-30.43 0-52.001 10.1-64.716 30.291-9.393 14.918-15.307 28.634-17.756 43.558-0.871 5.282-4.258 16.407-15.548 16.407-23.854 0-67.833 0-78.66 0-16.749 0-20.437-10.854-19.953-16.086 6.063-65.94 31.831-110.993 77.393-139.922 30.981-19.918 69.097-29.913 114.31-29.913 59.41 0 108.726 14.162 148.043 42.527 39.247 28.326 58.927 70.299 58.927 125.952 0.004 34.082-11.958 62.822-28.98 86.185z","p-id":"3920"},null,-1)]))}const cQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(rQ,[["render",lQ]])},Symbol.toStringTag,{value:"Module"})),gQ={},uQ={t:"1706194238781",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4468",width:"200",height:"200"};function dQ(n,A){return t.openBlock(),t.createElementBlock("svg",uQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M1080.950154 519.876923l-0.078769-0.157538-0.157539-0.07877c-44.740923-94.444308-98.461538-170.692923-160.846769-228.903384l-62.385231 62.464c53.799385 49.467077 100.273231 115.318154 140.445539 198.025846-102.557538 212.125538-247.886769 312.713846-446.54277 312.713846-63.172923 0-120.989538-10.161231-173.764923-30.798769l-67.347692 67.268923c71.995077 34.658462 152.260923 52.224 241.112615 52.224 236.544 0 412.750769-123.667692 529.48677-369.585231a74.043077 74.043077 0 0 0 0.078769-63.172923z m-78.769231-408.812308l-52.145231-52.224a9.846154 9.846154 0 0 0-13.942154 0L792.418462 202.436923C720.502154 167.620923 640.393846 150.134154 551.384615 150.134154c-236.544 0-412.750769 123.667692-529.486769 369.585231V519.876923a74.200615 74.200615 0 0 0 0 63.409231c44.819692 94.365538 98.461538 170.692923 160.846769 228.982154l-123.904 123.667692a9.846154 9.846154 0 0 0 0 13.942154l52.145231 52.224a9.846154 9.846154 0 0 0 13.942154 0L1002.180923 124.770462a9.767385 9.767385 0 0 0 0-13.784616z m-589.981538 471.591385a137.846154 137.846154 0 0 1 165.572923-165.572923L412.120615 582.656z m227.091692-227.091692a216.772923 216.772923 0 0 0-288.610462 288.610461L245.287385 749.568c-53.799385-49.545846-100.273231-115.318154-140.445539-198.025846C207.478154 339.416615 352.886154 238.828308 551.384615 238.828308c63.172923 0 120.989538 10.161231 173.764923 30.798769l-85.858461 85.937231zM546.500923 689.230769c-7.876923 0-15.675077-0.630154-23.158154-1.969231l-62.936615 62.857847a216.615385 216.615385 0 0 0 284.908308-284.908308l-62.857847 62.936615A138.003692 138.003692 0 0 1 546.422154 689.230769z","fill-opacity":".65","p-id":"4469"},null,-1)]))}const hQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(gQ,[["render",dQ]])},Symbol.toStringTag,{value:"Module"})),pQ={},BQ={t:"1706685177134",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5205",width:"200",height:"200"};function CQ(n,A){return t.openBlock(),t.createElementBlock("svg",BQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M437.996 697.519 437.996 697.519 437.996 586.722 327.195 586.722c-61.187 0-110.797 49.61-110.797 110.797 0 61.195 49.61 110.797 110.797 110.797C388.387 808.316 437.996 758.714 437.996 697.519L437.996 697.519 437.996 697.519 437.996 697.519zM493.395 697.519c0 91.789-74.411 166.195-166.2 166.195C235.41 863.714 161 789.308 161 697.519c0-91.789 74.41-166.195 166.195-166.195l110.801 0 55.399 0 0 55.398L493.395 697.519 493.395 697.519 493.395 697.519zM585.723 697.519 585.723 586.722 696.52 586.722c61.195 0 110.796 49.61 110.796 110.797 0 61.195-49.601 110.797-110.796 110.797C635.332 808.316 585.723 758.714 585.723 697.519L585.723 697.519 585.723 697.519zM530.324 697.519c0 91.789 74.41 166.195 166.196 166.195 91.789 0 166.199-74.406 166.199-166.195 0-91.789-74.41-166.195-166.199-166.195L585.723 531.324l-55.399 0 0 55.398L530.324 697.519 530.324 697.519 530.324 697.519zM437.996 328.195l0 110.801L327.195 438.996c-61.187 0-110.797-49.61-110.797-110.801 0-61.188 49.61-110.797 110.797-110.797C388.387 217.398 437.996 267.007 437.996 328.195L437.996 328.195 437.996 328.195zM493.395 328.195c0-91.785-74.411-166.195-166.2-166.195C235.41 162 161 236.41 161 328.195c0 91.789 74.41 166.199 166.195 166.199l110.801 0 55.399 0 0-55.398L493.395 328.195 493.395 328.195 493.395 328.195zM585.723 328.195l0 110.801L696.52 438.996c61.195 0 110.796-49.61 110.796-110.801 0-61.188-49.601-110.797-110.796-110.797C635.332 217.398 585.723 267.007 585.723 328.195L585.723 328.195 585.723 328.195zM530.324 328.195 530.324 328.195C530.324 236.41 604.734 162 696.52 162c91.789 0 166.199 74.41 166.199 166.195 0 91.789-74.41 166.199-166.199 166.199L585.723 494.394l-55.399 0 0-55.398L530.324 328.195 530.324 328.195 530.324 328.195zM530.324 328.195",fill:"#272636","p-id":"5206"},null,-1)]))}const EQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(pQ,[["render",CQ]])},Symbol.toStringTag,{value:"Module"})),QQ={},mQ={t:"1704703304741",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9731",width:"200",height:"200"};function IQ(n,A){return t.openBlock(),t.createElementBlock("svg",mQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M384.04864 128h-307.2A76.8 76.8 0 0 0 0.04864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 460.84864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2A25.6 25.6 0 0 1 409.64864 204.8v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2A25.6 25.6 0 0 1 51.24864 614.4V204.8a25.6 25.6 0 0 1 25.6-25.6zM947.24864 128h-307.2A76.8 76.8 0 0 0 563.24864 204.8v409.6a76.8 76.8 0 0 0 76.8 76.8h307.2A76.8 76.8 0 0 0 1024.04864 614.4V204.8a76.8 76.8 0 0 0-76.8-76.8z m-307.2 51.2h307.2a25.6 25.6 0 0 1 25.6 25.6v409.6a25.6 25.6 0 0 1-25.6 25.6h-307.2a25.6 25.6 0 0 1-25.6-25.6V204.8a25.6 25.6 0 0 1 25.6-25.6zM435.24864 819.2a25.6 25.6 0 0 1 4.608 50.7904L435.24864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L25.64864 819.2h409.6zM998.44864 819.2a25.6 25.6 0 0 1 4.608 50.7904L998.44864 870.4h-409.6a25.6 25.6 0 0 1-4.608-50.7904L588.84864 819.2h409.6z","p-id":"9732"},null,-1)]))}const fQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(QQ,[["render",IQ]])},Symbol.toStringTag,{value:"Module"})),wQ={},DQ={t:"1702300882657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1495","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function bQ(n,A){return t.openBlock(),t.createElementBlock("svg",DQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M118.784 727.04h778.24v-430.08h-778.24v430.08z m-40.96-471.04h860.16v512h-860.16v-512z m116.736 153.6v204.8c0 12.288 8.192 20.48 20.48 20.48s20.48-8.192 20.48-20.48v-204.8c0-12.288-8.192-20.48-20.48-20.48s-20.48 8.192-20.48 20.48z","p-id":"1496"},null,-1)]))}const yQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(wQ,[["render",bQ]])},Symbol.toStringTag,{value:"Module"})),vQ={},kQ={t:"1703055643727",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4960",width:"200",height:"200"};function _Q(n,A){return t.openBlock(),t.createElementBlock("svg",kQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M122.368 165.888h778.24c-9.216 0-16.384-7.168-16.384-16.384v713.728c0-9.216 7.168-16.384 16.384-16.384h-778.24c9.216 0 16.384 7.168 16.384 16.384V150.016c0 8.192-6.656 15.872-16.384 15.872z m-32.768 684.544c0 26.112 20.992 47.104 47.104 47.104h750.08c26.112 0 47.104-20.992 47.104-47.104V162.304c0-26.112-20.992-47.104-47.104-47.104H136.704c-26.112 0-47.104 20.992-47.104 47.104v688.128z","p-id":"4961"},null,-1),t.createElementVNode("path",{d:"M305.664 344.576h43.008v306.176H296.448V435.2c-23.552 19.968-50.688 33.792-81.408 43.008V424.448c46.592-19.456 76.8-46.08 90.624-79.872zM598.528 603.648v47.616h-189.44v-32.768c20.48-41.472 50.176-77.824 88.576-109.568 35.328-29.696 52.736-55.296 51.712-76.8 0-29.696-14.336-44.544-43.008-44.544-19.968 1.024-34.816 17.408-46.08 48.64l-47.616-20.48c17.92-51.2 50.688-76.8 99.328-76.8 55.296 3.072 84.992 33.28 88.576 90.112 2.048 38.4-20.48 75.776-66.56 112.64-25.6 19.968-46.592 40.448-61.952 61.952h126.464zM617.984 569.856l47.616-11.776c6.144 34.304 20.992 51.712 46.08 51.712 30.72 0 46.08-15.872 46.08-47.616-1.024-29.696-16.384-45.056-46.08-46.08h-33.792v-47.616h23.552c29.696-1.024 45.056-15.872 46.08-44.544-1.024-23.552-12.288-35.84-33.792-36.864-22.528 1.024-36.352 16.896-41.472 47.616l-48.64-13.312c12.8-54.272 42.496-81.92 88.576-82.944 56.32 2.048 85.504 31.232 87.552 87.552 0 27.648-12.288 48.128-36.864 61.952 31.744 13.824 47.616 38.4 47.616 74.24-2.048 59.392-34.304 90.112-97.792 93.184-54.784 0-86.016-28.16-94.72-85.504z","p-id":"4962"},null,-1)]))}const MQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(vQ,[["render",_Q]])},Symbol.toStringTag,{value:"Module"})),SQ={},xQ={t:"1703055995909",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10211",width:"200",height:"200"};function FQ(n,A){return t.openBlock(),t.createElementBlock("svg",xQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M960 704h-63.616v-167.392a32 32 0 0 0-32-32H544V416h160a32 32 0 0 0 32-32V96a32 32 0 0 0-32-32H320a32 32 0 0 0-32 32v288a32 32 0 0 0 32 32h160v88.608H161.984a32 32 0 0 0-32 31.968L129.792 704H64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32H193.792l0.16-135.392H480V704h-64a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32h-64v-135.392h288.384V704H768a32 32 0 0 0-32 32v192a32 32 0 0 0 32 32h192a32 32 0 0 0 32-32v-192a32 32 0 0 0-32-32zM352 128h320v224H352V128zM224 896H96v-128h128v128z m352 0h-128v-128h128v128z m352 0h-128v-128h128v128z","p-id":"10212"},null,-1)]))}const NQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(SQ,[["render",FQ]])},Symbol.toStringTag,{value:"Module"})),RQ={},LQ={t:"1703683757240",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5282",width:"200",height:"200"};function GQ(n,A){return t.openBlock(),t.createElementBlock("svg",LQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M591.9488 76.8a30.72 30.72 0 0 1 21.71904 8.99584l258.48832 258.48832a30.72 30.72 0 0 1 8.99584 21.71904V430.08h45.568a20.48 20.48 0 0 1 20.48 20.48v358.4a20.48 20.48 0 0 1-20.48 20.48h-45.568v87.04a30.72 30.72 0 0 1-30.72 30.72h-675.84a30.72 30.72 0 0 1-30.72-30.72v-87.04H97.28a20.48 20.48 0 0 1-20.48-20.48V450.56a20.48 20.48 0 0 1 20.48-20.48h46.592V107.52a30.72 30.72 0 0 1 30.72-30.72zM809.472 829.44h-593.92v46.08h593.92v-46.08z m-249.344-342.016c-75.264 0-128 58.88-128 143.36 0 81.408 51.2 138.752 124.416 138.752 63.488 0 128-44.544 128-143.872 0-81.408-51.2-138.24-124.416-138.24z m-323.584 4.096H178.688v176.64c0 45.056-14.336 48.64-32.768 48.64-11.264 0-19.456-3.072-22.528-4.096l-14.336-5.632-9.216 51.712 9.728 4.096c10.24 3.584 26.112 6.656 38.912 6.656 40.448 0 88.064-16.896 88.064-98.816V491.52z m114.176-4.608c-53.76 0-93.184 33.792-93.184 80.384 0 37.888 24.064 65.024 73.728 82.432 32.256 12.8 38.4 23.04 40.448 37.888 0 18.432-14.848 29.696-39.424 29.696-16.896 0-36.352-5.12-50.688-14.336l-14.336-8.704-15.872 51.712 7.68 5.12c15.872 10.752 45.056 17.92 70.656 17.92 49.664 0 99.84-26.112 99.84-84.48 0-50.688-36.352-71.168-71.68-84.992-35.328-13.312-41.472-22.016-41.472-35.84 0-11.264 8.704-24.576 33.792-24.576 18.432 0 32.256 5.632 40.96 10.24l13.312 7.168 16.896-50.688-9.216-5.12c-9.216-5.12-29.184-13.824-61.44-13.824z m404.992 4.608h-54.784v273.92h55.808v-118.784c0-18.432 0-34.304-0.512-49.152 6.656 10.752 13.824 23.04 22.016 35.84l82.432 132.096h52.224V491.52h-55.808v123.47904c0.01024 13.37344 0.07168 26.09664 0.512 38.82496-5.632-10.24-11.776-20.48-18.432-30.72L755.712 491.52z m-197.12 47.616c45.568 0 66.56 45.568 66.56 88.064 0 45.056-20.992 90.624-67.072 90.624-45.568 0-66.56-45.568-66.56-88.064 0-67.072 36.352-90.624 67.072-90.624z m25.6-390.656h-368.64v281.6h593.92V363.52h-194.56a30.72 30.72 0 0 1-30.72-30.72V148.48z m71.68 76.8v66.56h66.56l-66.56-66.56z","p-id":"5283"},null,-1)]))}const HQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(RQ,[["render",GQ]])},Symbol.toStringTag,{value:"Module"})),PQ={},KQ={t:"1704177937362",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"19086",width:"200",height:"200"};function UQ(n,A){return t.openBlock(),t.createElementBlock("svg",KQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M914.496 653.504a39.893333 39.893333 0 0 0-16 3.306667l-0.213333 0.085333h-0.192l-387.882667 165.312-388.010667-165.205333h-0.213333l-0.192-0.106667a40.853333 40.853333 0 0 0-16-3.285333c-23.082667 0-41.792 19.285333-41.792 43.093333 0 18.005333 10.709333 33.28 25.813333 39.808l403.882667 172.096 0.405333 0.106667a40.426667 40.426667 0 0 0 32 0l0.213334-0.106667c0.085333 0 0.085333-0.106667 0.192-0.106667l403.882666-172.096a43.157333 43.157333 0 0 0 25.813334-39.808c0.106667-23.786667-18.602667-43.093333-41.706667-43.093333z m0-186.496c-7.893333-0.213333-16 3.2-16 3.2l-388.288 165.397333L121.792 470.186667s-10.282667-3.2-16-3.2c-23.082667 0-41.792 19.2-41.792 42.986666 0 17.92 10.709333 33.301333 25.813333 39.701334l403.882667 172.010666c0.106667 0 0.106667 0.106667 0.213333 0.106667l0.085334 0.085333a40.533333 40.533333 0 0 0 32 0l0.213333-0.085333c0.085333 0 0.085333 0 0.192-0.106667l403.904-172.010666a43.264 43.264 0 0 0 25.898667-39.68c0.106667-23.808-18.602667-43.008-41.706667-43.008zM89.813333 363.2l403.904 172.096c0.106667 0 0.106667 0 0.213334 0.106667l0.085333 0.106666a41.92 41.92 0 0 0 32 0l0.213333-0.106666 0.192-0.106667 403.904-171.989333a43.370667 43.370667 0 0 0 25.898667-39.701334c0-18.005333-10.709333-33.301333-25.813333-39.808L526.506667 111.594667c-0.106667 0-0.106667 0-0.213334-0.085334l-0.213333-0.106666a40.448 40.448 0 0 0-32 0l-0.085333 0.106666L89.813333 283.712A43.050667 43.050667 0 0 0 64 323.498667c0 17.92 10.709333 33.216 25.813333 39.701333z","p-id":"19087"},null,-1)]))}const TQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(PQ,[["render",UQ]])},Symbol.toStringTag,{value:"Module"})),YQ={},OQ={t:"1704894799777",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4348",width:"200",height:"200"};function $Q(n,A){return t.openBlock(),t.createElementBlock("svg",OQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM426.13 600.93l59.11 132.975a16.003 16.003 0 0 0 14.624 9.503h24.055c6.33 0 12.065-3.732 14.63-9.518l59.109-133.35v157.458c0 8.838 7.165 16.003 16.003 16.003h27.337c8.838 0 16.003-7.165 16.003-16.003V486.002c0-8.838-7.165-16.003-16.003-16.003h-34.746a16.003 16.003 0 0 0-14.673 9.616l-79.473 182.587-79.473-182.587A16.003 16.003 0 0 0 417.96 470h-34.958c-8.838 0-16.003 7.165-16.003 16.003v271.996c0 8.838 7.165 16.003 16.003 16.003h27.126c8.838 0 16.003-7.165 16.003-16.003V600.929z","p-id":"4349"},null,-1)]))}const JQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(YQ,[["render",$Q]])},Symbol.toStringTag,{value:"Module"})),ZQ={},zQ={t:"1703837724812",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3877",width:"200",height:"200"};function WQ(n,A){return t.openBlock(),t.createElementBlock("svg",zQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M486.4 776.533333v-213.333333H247.466667v106.666667L85.333333 512l162.133334-162.133333V512h238.933333V247.466667H349.866667L512 85.333333l162.133333 162.133334h-132.266666V512h238.933333V349.866667L938.666667 512l-162.133334 162.133333v-106.666666h-238.933333v213.333333h132.266667L512 938.666667l-162.133333-162.133334h136.533333z","p-id":"3878"},null,-1)]))}const jQ=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(ZQ,[["render",WQ]])},Symbol.toStringTag,{value:"Module"})),qQ={},XQ={t:"1702992107847",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4267","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function VQ(n,A){return t.openBlock(),t.createElementBlock("svg",XQ,A[0]||(A[0]=[t.createElementVNode("path",{d:"M784 1024h-544A176 176 0 0 1 64 848v-416A176 176 0 0 1 240 256h544A176 176 0 0 1 960 432v416A176 176 0 0 1 784 1024zM240 352A80 80 0 0 0 160 432v416a80 80 0 0 0 80 80h544a80 80 0 0 0 80-80v-416a80 80 0 0 0-80-80z",fill:"","p-id":"4268"},null,-1),t.createElementVNode("path",{d:"M512 448a48 48 0 0 1 48 48v288A48 48 0 0 1 512 832a48 48 0 0 1-48-48v-288A48 48 0 0 1 512 448zM664.32 301.44v-14.08C640 178.56 611.84 96 512 96S384 167.04 364.8 275.84l-5.12 24.32-94.08-19.84 4.48-24.32C288 167.04 320 0 512 0s222.72 173.44 243.2 266.88v13.44z",fill:"","p-id":"4269"},null,-1)]))}const Am=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(qQ,[["render",VQ]])},Symbol.toStringTag,{value:"Module"})),em={},tm={t:"1703055586130",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3916",width:"200",height:"200"};function nm(n,A){return t.openBlock(),t.createElementBlock("svg",tm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M512 65.984C266.08 65.984 65.984 266.08 65.984 512c0 245.952 200.064 446.016 446.016 446.016 245.952 0 446.016-200.064 446.016-446.016C958.016 266.08 757.952 65.984 512 65.984zM512 894.016C301.344 894.016 129.984 722.624 129.984 512 129.984 301.344 301.344 129.984 512 129.984c210.624 0 382.016 171.36 382.016 382.016C894.016 722.624 722.624 894.016 512 894.016z","p-id":"3917"},null,-1),t.createElementVNode("path",{d:"M512 352c-88.224 0-160 71.776-160 160s71.776 160 160 160 160-71.776 160-160S600.224 352 512 352z","p-id":"3918"},null,-1)]))}const im=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(em,[["render",nm]])},Symbol.toStringTag,{value:"Module"})),om={},sm={t:"1705643861503",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5125",width:"200",height:"200"};function rm(n,A){return t.openBlock(),t.createElementBlock("svg",sm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M1020.93824 386.304a64.64 64.64 0 0 0-51.584-45.44l-276.352-41.984L569.41824 37.248A63.744 63.744 0 0 0 512.07424 0a63.68 63.68 0 0 0-57.28 37.248L331.21024 298.88l-276.48 41.984a64.64 64.64 0 0 0-51.52 45.44c-7.552 24.192-1.28 50.688 16.192 68.48l199.936 203.584-47.168 287.616c-4.16 25.024 5.76 50.304 25.408 65.28a61.952 61.952 0 0 0 67.328 5.12L512.07424 880.512l247.232 135.744a62.08 62.08 0 0 0 67.328-5.12c19.648-14.912 29.504-40.192 25.408-65.28l-47.232-287.552L1004.87424 454.72c17.408-17.728 23.68-44.224 16.128-68.416","p-id":"5126"},null,-1)]))}const am=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(om,[["render",rm]])},Symbol.toStringTag,{value:"Module"})),lm={},cm={t:"1703839228306",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6053",width:"200",height:"200"};function gm(n,A){return t.openBlock(),t.createElementBlock("svg",cm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M587.229378 437.990403 580.722174 437.990403 76.975139 437.990403 76.975139 581.918419 580.722174 581.918419 587.229378 581.918419 940.542216 581.918419 940.542216 437.990403Z","p-id":"6054"},null,-1)]))}const um=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(lm,[["render",gm]])},Symbol.toStringTag,{value:"Module"})),dm={},hm={t:"1707470386657",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3905",width:"200",height:"200"};function pm(n,A){return t.openBlock(),t.createElementBlock("svg",hm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M712.145455 316.509091h-390.981819c-18.618182 0-37.236364 13.963636-37.236363 37.236364s18.618182 37.236364 37.236363 37.236363h158.254546v344.436364c0 18.618182 18.618182 37.236364 37.236363 37.236363s37.236364-18.618182 37.236364-37.236363v-344.436364h158.254546c18.618182 0 37.236364-18.618182 37.236363-37.236363s-18.618182-37.236364-37.236363-37.236364z","p-id":"3906"},null,-1),t.createElementVNode("path",{d:"M842.472727 51.2h-665.6c-69.818182 0-130.327273 60.509091-130.327272 130.327273v665.6c0 69.818182 60.509091 130.327273 130.327272 130.327272h665.6c74.472727 0 130.327273-55.854545 130.327273-130.327272V176.872727c0-69.818182-55.854545-125.672727-130.327273-125.672727z m60.509091 795.927273c0 32.581818-23.272727 55.854545-55.854545 55.854545h-665.6c-32.581818 0-55.854545-23.272727-55.854546-55.854545V176.872727c0-32.581818 23.272727-55.854545 55.854546-55.854545h665.6c32.581818 0 55.854545 23.272727 55.854545 55.854545v670.254546z","p-id":"3907"},null,-1)]))}const Bm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(dm,[["render",pm]])},Symbol.toStringTag,{value:"Module"})),Cm={},Em={t:"1728100556289",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5207",width:"200",height:"200"};function Qm(n,A){return t.openBlock(),t.createElementBlock("svg",Em,A[0]||(A[0]=[t.createElementVNode("path",{d:"M814.805 128a51.179 51.179 0 0 1 51.179 51.179V844.01a51.179 51.179 0 0 1-51.179 51.157H201.173a51.179 51.179 0 0 1-51.178-51.157V179.179A51.179 51.179 0 0 1 201.173 128h613.654zM329.024 434.837a51.093 51.093 0 0 1-51.179-51.093V179.157h-76.672v664.854h613.76V179.179H738.22v204.48a51.179 51.179 0 0 1-51.179 51.178H329.024z m0-51.093h357.995V179.157H329.024v204.587z m357.91 204.501a25.557 25.557 0 1 1 0.085 51.072H329.024a25.536 25.536 0 1 1 0-51.072h357.91z","p-id":"5208"},null,-1)]))}const mm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Cm,[["render",Qm]])},Symbol.toStringTag,{value:"Module"})),Im={},fm={t:"1728140209660",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7097",width:"200",height:"200"};function wm(n,A){return t.openBlock(),t.createElementBlock("svg",fm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M938.666667 42.666667a42.666667 42.666667 0 0 1 42.666666 42.666666v853.333334a42.666667 42.666667 0 0 1-42.666666 42.666666H85.333333a42.666667 42.666667 0 0 1-42.666666-42.666666V85.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h853.333334z m-42.666667 298.666666H128v554.666667h768V341.333333zM382.890667 447.573333a21.333333 21.333333 0 0 1 30.122666-1.066666l31.232 29.098666a21.333333 21.333333 0 0 1 1.024 30.165334l-103.808 111.274666 103.808 111.36a21.333333 21.333333 0 0 1-1.024 30.122667l-31.232 29.098667a21.333333 21.333333 0 0 1-30.122666-1.024l-130.005334-139.392-14.464-13.482667a21.290667 21.290667 0 0 1-6.741333-16.64l0.128-3.626667a21.248 21.248 0 0 1 6.613333-13.056l14.421334-13.482666z m258.218666 0l130.005334 139.349334 14.464 13.482666c3.84 3.584 6.016 8.234667 6.613333 13.056l0.128 3.584a21.290667 21.290667 0 0 1-6.741333 16.682667l-14.506667 13.482667-129.962667 139.392a21.333333 21.333333 0 0 1-27.093333 3.413333l-3.029333-2.389333-31.232-29.098667a21.333333 21.333333 0 0 1-1.024-30.122667l103.765333-111.36-103.765333-111.274666a21.333333 21.333333 0 0 1 1.024-30.165334l31.232-29.098666a21.333333 21.333333 0 0 1 30.122666 1.066666zM896 128H128v128h768V128z",opacity:".65","p-id":"7098"},null,-1)]))}const Dm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Im,[["render",wm]])},Symbol.toStringTag,{value:"Module"})),bm={},ym={t:"1706682823369",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3946",width:"200",height:"200"};function vm(n,A){return t.openBlock(),t.createElementBlock("svg",ym,A[0]||(A[0]=[t.createElementVNode("path",{d:"M 1014.65 967.259 L 708.256 660.86 a 400.522 400.522 0 1 0 -47.395 47.395 l 305.731 305.731 a 33.3768 33.3768 0 0 0 47.395 -47.395 Z M 164.881 638.832 a 333.768 333.768 0 1 1 473.95 0 a 333.768 333.768 0 0 1 -473.95 0 Z","p-id":"3947"},null,-1)]))}const km=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(bm,[["render",vm]])},Symbol.toStringTag,{value:"Module"})),_m={},Mm={t:"1741244239723",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11748",width:"200",height:"200"};function Sm(n,A){return t.openBlock(),t.createElementBlock("svg",Mm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M901.12 645.12l84.48 84.48-61.44 61.44-84.48-84.48c-51.2 28.16-117.76 17.92-161.28-23.04-56.32-56.32-56.32-145.92 0-194.56s145.92-56.32 194.56 0c51.2 40.96 56.32 107.52 28.16 156.16z m-332.8-217.6v166.4H10.24v-166.4h558.08z m0 391.68H10.24v-166.4h558.08V819.2z m445.44-445.44H10.24V204.8h1003.52v168.96zM122.88 261.12v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m-110.08 222.72v56.32H179.2v-56.32H122.88z m110.08 0v56.32h56.32v-56.32H232.96z m506.88-81.92c23.04 23.04 56.32 23.04 76.8 0 23.04-23.04 23.04-56.32 0-76.8-23.04-23.04-56.32-23.04-76.8 0-20.48 20.48-20.48 53.76 0 76.8z",fill:"#040000","p-id":"11749"},null,-1)]))}const xm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(_m,[["render",Sm]])},Symbol.toStringTag,{value:"Module"})),Fm={},Nm={t:"1702352445968",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5056","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"};function Rm(n,A){return t.openBlock(),t.createElementBlock("svg",Nm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M794.17 147.91c45.16 0.2 81.71 36.76 81.92 81.92v564.34c-0.2 45.16-36.76 81.71-81.92 81.92H229.83c-45.16-0.2-81.71-36.76-81.92-81.92V229.83c0.2-45.16 36.76-81.71 81.92-81.92h564.34m0-45.51H229.83c-70.09 0-127.43 57.34-127.43 127.43v564.34c0 70.08 57.34 127.43 127.43 127.43h564.34c70.08 0 127.43-57.34 127.43-127.43V229.83c0-70.09-57.34-127.43-127.43-127.43z m0 0","p-id":"5057"},null,-1),t.createElementVNode("path",{d:"M514.8 704.46c-6.02 0.01-11.81-2.38-16.07-6.64l-256-255.09a22.73 22.73 0 0 1-6-22 22.752 22.752 0 0 1 16.1-16.16c7.87-2.11 16.27 0.14 22.02 5.92l239.88 239.05 239.22-239.39c8.89-8.82 23.25-8.8 32.11 0.06 8.86 8.86 8.9 23.21 0.08 32.11L530.89 697.79a22.744 22.744 0 0 1-16.09 6.67z m0 0","p-id":"5058"},null,-1)]))}const Lm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Fm,[["render",Rm]])},Symbol.toStringTag,{value:"Module"})),Gm={},Hm={t:"1706707968748",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4174",width:"200",height:"200"};function Pm(n,A){return t.openBlock(),t.createElementBlock("svg",Hm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M228.704 212.096v66.688H112V212.096h116.704z m333.184 266.592v66.688H112v-66.688h449.888z m-266.496 266.72v66.592H112v-66.688l183.392 0.096z m116.608-600c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H278.816c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488V178.912c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.184-0.096z m66.688 533.28c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888H345.28c-8.992 0-16.8-3.296-23.488-9.888a32.416 32.416 0 0 1-9.888-23.488v-133.312c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.304-9.888 23.488-9.888l133.408-0.096zM912 212.096v66.688H462.112V212.096H912z m0 533.312v66.592H528.608v-66.688l383.392 0.096z m-166.784-333.312c8.992 0 16.8 3.296 23.488 9.888 6.496 6.496 9.888 14.496 9.888 23.488v133.312c0 8.992-3.296 16.8-9.888 23.488a32.416 32.416 0 0 1-23.488 9.888h-133.216c-8.992 0-16.8-3.296-23.488-9.888a32.128 32.128 0 0 1-9.888-23.488v-133.408c0-8.992 3.296-16.8 9.888-23.488 6.496-6.496 14.496-9.888 23.488-9.888l133.216 0.096z m166.784 66.592v66.688h-116.704v-66.688H912z","p-id":"4175"},null,-1)]))}const Km=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Gm,[["render",Pm]])},Symbol.toStringTag,{value:"Module"})),Um={},Tm={t:"1703683830020",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6437",width:"200",height:"200"};function Ym(n,A){return t.openBlock(),t.createElementBlock("svg",Tm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M751.36 768H272.64a271.36 271.36 0 0 1 0-542.72h478.72a271.36 271.36 0 0 1 0 542.72zM272.64 287.36a207.36 207.36 0 0 0 0 414.72h478.72a207.36 207.36 0 0 0 0-414.72z","p-id":"6438"},null,-1),t.createElementVNode("path",{d:"M735.36 494.72m-158.08 0a158.08 158.08 0 1 0 316.16 0 158.08 158.08 0 1 0-316.16 0Z","p-id":"6439"},null,-1)]))}const Om=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Um,[["render",Ym]])},Symbol.toStringTag,{value:"Module"})),$m={},Jm={t:"1746684610959",class:"icon",viewBox:"0 0 1102 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8806",width:"200",height:"200"};function Zm(n,A){return t.openBlock(),t.createElementBlock("svg",Jm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M137.846154 681.491692c-85.799385 34.422154-137.846154 79.655385-137.846154 129.181539 0 107.854769 246.862769 195.268923 551.384615 195.268923s551.384615-87.433846 551.384616-195.268923c0-49.526154-52.066462-94.759385-137.846154-129.181539v71.739077H137.846154v-71.739077z",fill:"#F7F8FA","p-id":"8807"},null,-1),t.createElementVNode("path",{d:"M367.596308 626.865231h-275.692308l16.462769 181.090461a78.769231 78.769231 0 0 0 78.434462 71.640616h729.166769a78.769231 78.769231 0 0 0 78.434462-71.640616l16.462769-181.090461h-275.692308v13.134769a78.769231 78.769231 0 0 1-78.769231 78.769231H446.365538a78.769231 78.769231 0 0 1-78.76923-78.769231v-13.134769z m198.06523-184.950154l64.984616-64.984615 151.886769 151.906461c12.425846 12.425846 15.655385 27.372308 5.789539 41.944615a109.686154 109.686154 0 0 1-12.937847 15.891693 109.686154 109.686154 0 0 1-15.911384 12.937846c-14.532923 9.846154-29.499077 6.636308-41.924923-5.789539l-151.88677-151.906461z",fill:"#DADEE2","p-id":"8808"},null,-1),t.createElementVNode("path",{d:"M191.684923 357.435077L91.904 626.865231h91.884308l55.059692-207.950769c-18.707692-17.880615-34.658462-38.596923-47.163077-61.479385z m440.753231 5.238154h201.432615a19.692308 19.692308 0 0 1 19.022769 14.651077l66.087385 249.540923h91.884308l-105.353846-284.435693a39.384615 39.384615 0 0 0-36.923077-25.718153H653.193846a251.352615 251.352615 0 0 1-20.755692 45.961846zM413.538462 18.057846C534.075077 18.057846 631.788308 115.771077 631.788308 236.307692c0 44.878769-13.528615 86.587077-36.745846 121.265231l27.470769 27.490462-48.738462 48.738461-25.639384-25.659077A217.324308 217.324308 0 0 1 413.538462 454.557538c-120.536615 0-218.249846-97.713231-218.249847-218.249846S293.001846 18.057846 413.538462 18.057846z m0 57.422769a160.827077 160.827077 0 1 0 0 321.654154 160.827077 160.827077 0 0 0 0-321.654154z",fill:"#E6E8E9","p-id":"8809"},null,-1)]))}const zm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA($m,[["render",Zm]])},Symbol.toStringTag,{value:"Module"})),Wm={},jm={t:"1732514809165",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3898",width:"200",height:"200"};function qm(n,A){return t.openBlock(),t.createElementBlock("svg",jm,A[0]||(A[0]=[t.createElementVNode("path",{d:"M908.8 1005.44H115.2a101.76 101.76 0 0 1-101.12-101.76V110.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",fill:"#323333","p-id":"3899"},null,-1),t.createElementVNode("path",{d:"M977.92 299.52a32.64 32.64 0 0 1-32-32V180.48a37.12 37.12 0 0 0-37.12-37.76H421.12a32 32 0 0 1-32-32 32 32 0 0 1 32-32h487.68a101.76 101.76 0 0 1 101.12 101.76v87.04a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3900"},null,-1),t.createElementVNode("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",fill:"#323333","p-id":"3901"},null,-1),t.createElementVNode("path",{d:"M699.52 299.52a32 32 0 0 1-32-32V110.72a32 32 0 0 1 64 0v156.8a32 32 0 0 1-32 32z",fill:"#323333","p-id":"3902"},null,-1)]))}const Xm=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Wm,[["render",qm]])},Symbol.toStringTag,{value:"Module"})),Vm={},AI={t:"1724730105736",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1494",width:"200",height:"200"};function eI(n,A){return t.openBlock(),t.createElementBlock("svg",AI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M920.528912 444.49616l-340.111125-340.114737a135.932464 135.932464 0 0 0-96.155899-39.758503L200.418112 64.662657h-0.018063C125.275769 64.662657 64.301413 125.40943 64.301413 200.548159v283.673992a136.091412 136.091412 0 0 0 39.881326 96.199248l340.230335 340.241173a136.022775 136.022775 0 0 0 192.369598 0l283.74624-283.76069c53.128139-53.131752 53.128139-139.277583 0-192.405722z m-45.209673 147.192436l-283.746241 283.760691a72.064544 72.064544 0 0 1-101.924964 0l-340.212273-340.241173A72.187367 72.187367 0 0 1 128.241582 484.218538V200.548159A72.021195 72.021195 0 0 1 200.396437 128.602826l283.843776-0.039737a71.887535 71.887535 0 0 1 50.935389 21.053294l340.114737 340.1039a72.104281 72.104281 0 0 1 0.0289 101.968313z",fill:"","p-id":"1495"},null,-1),t.createElementVNode("path",{d:"M384.002258 255.999097c-70.69543 0-128.003161 57.307731-128.003161 128.003161S313.306828 511.998194 384.002258 511.998194s127.999548-57.307731 127.999548-127.999549S454.690463 255.999097 384.002258 255.999097z m45.296371 173.29592a64.059379 64.059379 0 1 1 18.759396-45.292759 63.640337 63.640337 0 0 1-18.763008 45.292759z",fill:"","p-id":"1496"},null,-1)]))}const tI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(Vm,[["render",eI]])},Symbol.toStringTag,{value:"Module"})),nI={},iI={t:"1730966767890",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3919",width:"200",height:"200"};function oI(n,A){return t.openBlock(),t.createElementBlock("svg",iI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M859.428571 256a18.285714 18.285714 0 0 1-18.285714-18.285714V146.285714H182.857143v91.428572a18.285714 18.285714 0 0 1-36.571429 0v-109.714286a18.285714 18.285714 0 0 1 18.285715-18.285714h694.857142a18.285714 18.285714 0 0 1 18.285715 18.285714v109.714286a18.285714 18.285714 0 0 1-18.285715 18.285714z","p-id":"3920"},null,-1),t.createElementVNode("path",{d:"M512 932.571429a18.285714 18.285714 0 0 1-18.285714-18.285715V128a18.285714 18.285714 0 0 1 36.571428 0V914.285714a18.285714 18.285714 0 0 1-18.285714 18.285715z","p-id":"3921"},null,-1),t.createElementVNode("path",{d:"M694.857143 932.571429H329.142857a18.285714 18.285714 0 0 1 0-36.571429h365.714286a18.285714 18.285714 0 0 1 0 36.571429z","p-id":"3922"},null,-1)]))}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(nI,[["render",oI]])},Symbol.toStringTag,{value:"Module"})),rI={},aI={t:"1703231974424",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"11202",width:"200",height:"200"};function lI(n,A){return t.openBlock(),t.createElementBlock("svg",aI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M760.32 625.152a12.8 12.8 0 0 0-13.824 2.56l-153.6 153.6a12.8 12.8 0 0 0 9.216 22.016h153.6a12.8 12.8 0 0 0 12.8-12.8v-153.6a12.8 12.8 0 0 0-8.192-11.776z",fill:"","p-id":"11203"},null,-1),t.createElementVNode("path",{d:"M768 157.184H256a128 128 0 0 0-128 128v512a128 128 0 0 0 128 128h512a128 128 0 0 0 128-128v-512a128 128 0 0 0-128-128z m76.8 640a76.8 76.8 0 0 1-76.8 76.8H256a76.8 76.8 0 0 1-76.8-76.8v-512A76.8 76.8 0 0 1 256 208.384h512a76.8 76.8 0 0 1 76.8 76.8z",fill:"","p-id":"11204"},null,-1),t.createElementVNode("path",{d:"M307.2 401.92h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 0 0 0 51.2zM307.2 570.88h409.6a25.6 25.6 0 0 0 0-51.2H307.2a25.6 25.6 0 1 0 0 51.2zM512 688.128H307.2a25.6 25.6 0 1 0 0 51.2h204.8a25.6 25.6 0 1 0 0-51.2z",fill:"","p-id":"11205"},null,-1)]))}const cI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(rI,[["render",lI]])},Symbol.toStringTag,{value:"Module"})),gI={},uI={t:"1705911423739",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9058",width:"200",height:"200"};function dI(n,A){return t.openBlock(),t.createElementBlock("svg",uI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M256 213.333333h104.874667v267.093334h324.48V213.333333h104.874666v640h-104.874666v-283.264H360.874667V853.333333H256z","p-id":"9059"},null,-1)]))}const hI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(gI,[["render",dI]])},Symbol.toStringTag,{value:"Module"})),pI={},BI={t:"1706919981946",class:"icon",viewBox:"0 0 1536 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4200",width:"200",height:"200"};function CI(n,A){return t.openBlock(),t.createElementBlock("svg",BI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M757.76 614.4L512 768 757.76 921.6V819.2h307.2V716.8h-307.2zM0 0v1024h409.6V0H0z m307.2 921.6H102.4V102.4h204.8v819.2zM1474.56 0H1126.4v1024h409.6V0h-61.44zM1433.6 921.6h-204.8V102.4h204.8v819.2zM819.2 102.4H512v102.4h307.2v102.4l245.76-153.6L819.2 0z","p-id":"4201"},null,-1)]))}const EI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(pI,[["render",CI]])},Symbol.toStringTag,{value:"Module"})),QI={},mI={t:"1728100521082",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4204",width:"200",height:"200"};function II(n,A){return t.openBlock(),t.createElementBlock("svg",mI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M640 64a64 64 0 0 1 64 64v85.333333h226.133333c4.693333 0 8.533333 3.84 8.533334 8.533334v46.933333a8.533333 8.533333 0 0 1-8.533334 8.533333H874.666667v554.666667a128 128 0 0 1-128 128H277.333333a128 128 0 0 1-128-128V277.333333H93.866667a8.533333 8.533333 0 0 1-8.533334-8.533333v-46.933333c0-4.693333 3.84-8.533333 8.533334-8.533334H320V128a64 64 0 0 1 64-64h256z m170.666667 213.333333H213.333333v554.666667a64 64 0 0 0 60.245334 63.893333L277.333333 896h469.333334a64 64 0 0 0 63.893333-60.245333L810.666667 832V277.333333z m-392.533334 128c4.693333 0 8.533333 3.84 8.533334 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533334 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533333-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533333-8.533334h46.933333z m234.666667 0c4.693333 0 8.533333 3.84 8.533333 8.533334v324.266666a8.533333 8.533333 0 0 1-8.533333 8.533334h-46.933333a8.533333 8.533333 0 0 1-8.533334-8.533334V413.866667c0-4.693333 3.84-8.533333 8.533334-8.533334h46.933333zM640 128H384v85.333333h256V128z","p-id":"4205"},null,-1)]))}const fI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(QI,[["render",II]])},Symbol.toStringTag,{value:"Module"})),wI={},DI={t:"1742201720189",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3586",width:"200",height:"200"};function bI(n,A){return t.openBlock(),t.createElementBlock("svg",DI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M950.4 128.2H330.1c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h620.3c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H392.1v-48h496.3v48zM950.4 704.2H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10h458.6c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10z m-62 120H553.8v-48h334.6v48zM491.8 608.2h457.1c5.5 0 10-4.5 10-10v-172c0-5.5-4.5-10-10-10H491.8c-5.5 0-10 4.5-10 10v172c0 5.5 4.5 10 10 10z m62-120h333.1v48H553.8v-48zM384.1 548.2c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-163c35.2-14.2 60-48.7 60-89 0-53-43-96-96-96s-96 43-96 96c0 40.3 24.8 74.8 60 89v487c0 19.9 16.1 36 36 36h224c19.9 0 36-16.1 36-36s-16.1-36-36-36h-188v-216h188z",fill:"#333333","p-id":"3587"},null,-1)]))}const yI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(wI,[["render",bI]])},Symbol.toStringTag,{value:"Module"})),vI={},kI={t:"1707573140261",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4919",width:"200",height:"200"};function _I(n,A){return t.openBlock(),t.createElementBlock("svg",kI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M543.7 157v534c0 16.6-13.4 30-30 30s-30-13.4-30-30V157c0-16.6 13.4-30 30-30 16.5 0 30 13.4 30 30z",fill:"","p-id":"4920"},null,-1),t.createElementVNode("path",{d:"M323.1 331c11.8 11.8 30.7 11.8 42.5 0l119.9-119.9c15.6-15.6 40.9-15.6 56.6 0L662 331c11.7 11.7 30.7 11.7 42.4 0s11.7-30.7 0-42.4L541.7 126.1c-15.6-15.6-41-15.6-56.6 0L323 288.6c-11.6 11.8-11.6 30.7 0.1 42.4zM853.7 913h-680c-33.1 0-60-26.9-60-60V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v240c0 16.6 13.4 30 30 30h620c16.6 0 30-13.4 30-30V583.7c0-16.4 12.8-30.2 29.2-30.7 16.9-0.4 30.8 13.2 30.8 30v270c0 33.1-26.9 60-60 60z",fill:"","p-id":"4921"},null,-1)]))}const MI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(vI,[["render",_I]])},Symbol.toStringTag,{value:"Module"})),SI={},xI={t:"1705549223486",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3971",width:"200",height:"200"};function FI(n,A){return t.openBlock(),t.createElementBlock("svg",xI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M828.8 598.4c-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L694.4 688c-12.8 12.8-12.8 32 0 44.8 12.8 12.8 32 12.8 44.8 0l35.2-35.2V896c0 16 12.8 32 32 32s32-12.8 32-32V697.6l38.4 38.4c12.8 12.8 32 12.8 44.8 0 12.8-12.8 12.8-32 0-44.8l-92.8-92.8z m-419.2-240c16-35.2 6.4-76.8-19.2-105.6-28.8-28.8-73.6-35.2-108.8-22.4-35.2 16-57.6 54.4-57.6 92.8 0 51.2 41.6 92.8 92.8 92.8 38.4 0 76.8-22.4 92.8-57.6zM288 323.2c0-9.6 3.2-16 9.6-22.4 3.2-9.6 12.8-12.8 22.4-12.8 16 0 32 12.8 32 28.8s-12.8 32-28.8 35.2c-19.2 0-35.2-12.8-35.2-28.8z","p-id":"3972"},null,-1),t.createElementVNode("path",{d:"M896 96H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h544v-64H160c-19.2 0-32-16-32-32V192c0-16 12.8-32 32-32h704c19.2 0 32 16 32 32v416h64V160c0-35.2-28.8-64-64-64z","p-id":"3973"},null,-1),t.createElementVNode("path",{d:"M182.4 713.6c12.8 12.8 32 12.8 44.8 0l134.4-134.4 112 112c3.2 3.2 3.2 3.2 6.4 3.2 12.8 6.4 25.6 6.4 38.4-3.2l316.8-316.8c12.8-12.8 12.8-32 0-44.8-12.8-12.8-32-12.8-44.8 0L496 624 384 508.8l-3.2-3.2c-12.8-9.6-28.8-9.6-41.6 3.2l-160 160c-9.6 12.8-9.6 32 3.2 44.8z","p-id":"3974"},null,-1)]))}const NI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(SI,[["render",FI]])},Symbol.toStringTag,{value:"Module"})),RI={},LI={t:"1730861883815",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1611",width:"200",height:"200"};function GI(n,A){return t.openBlock(),t.createElementBlock("svg",LI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M0 0h1024v1024H0z",opacity:".01","p-id":"1612"},null,-1),t.createElementVNode("path",{d:"M512 127.2832a738.816 738.816 0 0 0 336.1792 121.0368v351.4368c0 40.192-12.9536 82.2784-38.5536 124.9792-23.8592 39.8336-58.88 80.0256-101.2224 116.2752a608.256 608.256 0 0 1-120.8832 80.896c-41.216 20.4288-67.3792 25.7536-75.52 25.7536-8.192 0-34.304-5.3248-75.52-25.8048a608.256 608.256 0 0 1-120.8832-80.8448c-42.3424-36.2496-77.312-76.4416-101.2224-116.224-25.6-42.752-38.5536-84.6848-38.5536-125.0304V248.32A738.816 738.816 0 0 0 512 127.2832zM512 51.2c-13.7728 0-27.648 4.0448-39.68 12.1344a663.4496 663.4496 0 0 1-303.7184 109.3632C130.9696 176.5376 102.4 209.3056 102.4 248.4736v351.5392C102.4 834.2528 409.6512 1024 512 1024c102.3488 0 409.6-189.7472 409.6-423.936V248.3712c0-39.1168-28.672-71.8848-66.2016-75.7248a663.9616 663.9616 0 0 1-303.7184-109.3632A71.2704 71.2704 0 0 0 512 51.2z","p-id":"1613"},null,-1),t.createElementVNode("path",{d:"M439.552 704.512l-120.0128-120.064a42.752 42.752 0 0 1 0-60.1088 42.752 42.752 0 0 1 60.1088 0l120.0128 120.0128a42.752 42.752 0 0 1 0 60.1088 42.752 42.752 0 0 1-60.1088 0z","p-id":"1614"},null,-1),t.createElementVNode("path",{d:"M782.0288 425.8304l-279.3984 279.5008c-15.36 15.3088-40.4992 15.3088-55.9616 0a39.8336 39.8336 0 0 1 0-55.9616l279.4496-279.5008c15.3088-15.3088 40.448-15.3088 55.9104 0a39.5776 39.5776 0 0 1 0 55.9616z","p-id":"1615"},null,-1)]))}const HI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(RI,[["render",GI]])},Symbol.toStringTag,{value:"Module"})),PI={},KI={t:"1728097746557",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3853",width:"200",height:"200"};function UI(n,A){return t.openBlock(),t.createElementBlock("svg",KI,A[0]||(A[0]=[t.createElementVNode("path",{d:"M512 504L764.8 68.8h-134.4L512 275.2 393.6 70.4h-134.4L512 504zM819.2 70.4L512 600 204.8 68.8H0l512 886.4L1024 70.4H819.2z","p-id":"3854"},null,-1)]))}const TI=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(PI,[["render",UI]])},Symbol.toStringTag,{value:"Module"})),oe=t.defineComponent({name:"IconRender",__name:"index",props:{name:{}},setup(n){const e=Object.entries(Object.assign({"./icons/add.vue":MC,"./icons/alert.vue":NC,"./icons/button.vue":HC,"./icons/card.vue":TC,"./icons/cascader.vue":JC,"./icons/checkbox.vue":jC,"./icons/clear.vue":AE,"./icons/collapse.vue":iE,"./icons/colorPicker.vue":aE,"./icons/copy.vue":uE,"./icons/custom.vue":BE,"./icons/datePicker.vue":mE,"./icons/delete.vue":DE,"./icons/design.vue":kE,"./icons/divider.vue":xE,"./icons/document.vue":LE,"./icons/dropdown.vue":KE,"./icons/esign.vue":OE,"./icons/eye.vue":zE,"./icons/formList.vue":XE,"./icons/github.vue":tQ,"./icons/grid.vue":sQ,"./icons/help.vue":cQ,"./icons/hidden.vue":hQ,"./icons/icon.vue":EQ,"./icons/inline.vue":fQ,"./icons/input.vue":yQ,"./icons/inputNumber.vue":MQ,"./icons/itemGroup.vue":NQ,"./icons/jsonEdit.vue":HQ,"./icons/library.vue":TQ,"./icons/markdown.vue":JQ,"./icons/move.vue":jQ,"./icons/password.vue":Am,"./icons/radio.vue":im,"./icons/rate.vue":am,"./icons/reduce.vue":um,"./icons/rich.vue":Bm,"./icons/save.vue":mm,"./icons/script.vue":Dm,"./icons/search.vue":km,"./icons/searchSelect.vue":xm,"./icons/select.vue":Lm,"./icons/slider.vue":Km,"./icons/switch.vue":Om,"./icons/tableEmpty.vue":zm,"./icons/tabs.vue":Xm,"./icons/tag.vue":tI,"./icons/text.vue":sI,"./icons/textarea.vue":cI,"./icons/title.vue":hI,"./icons/transfer.vue":EI,"./icons/trash.vue":fI,"./icons/tree.vue":yI,"./icons/upload.vue":MI,"./icons/uploadImage.vue":NI,"./icons/verifyCode.vue":HI,"./icons/vue.vue":TI})).reduce((o,[Q,D])=>{const l=Q.split("/").pop(),b=l==null?void 0:l.split(".")[0];return o[b]=D.default,o},{});return(o,Q)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(e)[o.name]),t.mergeProps({class:t.unref(ke)("icon-render")},o.$attrs),null,16,["class"]))}}),YI={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:""},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"}]},OI={key:0},$I=t.defineComponent({__name:"Input",props:t.mergeModels({onInput:{},rulePath:{},read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue"),e=n,o=t.inject("ruleModule",void 0),Q=t.inject("pageMethodMap",{}),D=t.useAttrs(),l=S=>{const f=["E","e","+","-"];D.type==="number"&&f.includes(S.key)&&S.preventDefault()},b=S=>{if(e.onInput&&o)try{o[e.onInput](Q,S)}catch(f){console.error(f)}};return(S,f)=>{const x=t.resolveComponent("el-input");return S.read?(t.openBlock(),t.createElementBlock("span",OI,t.toDisplayString(A.value||"--"),1)):(t.openBlock(),t.createBlock(x,t.mergeProps({key:1},S.$attrs,{modelValue:A.value,"onUpdate:modelValue":f[0]||(f[0]=L=>A.value=L),onInput:b,onKeydown:l}),null,16,["modelValue"]))}}}),JI={title:"单行文本",component:"Input",icon:t.h(oe,{name:"input"}),type:"basic",order:1,attrSchema:YI,render:$I},ZI={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"多行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL",initialValue:"请输入..."},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"最小行数",component:"InputNumber",name:"props.autosize.minRows",initialValue:4},{label:"最大行数",component:"InputNumber",name:"props.autosize.maxRows",initialValue:999}]},zI={title:"多行文本",component:"TextArea",icon:t.h(oe,{name:"textarea"}),type:"basic",order:2,attrSchema:ZI,render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>P1))},WI={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel",initialValue:!0},{label:"标题",component:"Input",name:"props.title",initialValue:"提示信息"},{label:"描述",component:"TextArea",name:"props.description",initialValue:"这是一个描述"},{label:"是否可关闭",component:"Switch",name:"props.closable",initialValue:!0},{label:"显示图标",component:"Switch",name:"props.show-icon",initialValue:!0},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"错误",value:"error"}]},initialValue:"info"},{label:"主题",component:"Radio",name:"props.effect",props:{mode:"static",options:[{label:"浅色",value:"light"},{label:"深色",value:"dark"}]},initialValue:"light"}]},jI={title:"提示框",component:"Alert",icon:t.h(oe,{name:"alert"}),type:"assist",order:2,attrSchema:WI,render:"ElAlert"},qI={title:"卡片",component:"Card",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Y1)),icon:t.h(oe,{name:"card"}),type:"layout",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},XI={size:"small",labelPosition:"top",initialValues:{label:"级联选择器",props:{placeholder:"请选择...",mode:"static",options:[{label:"选项1",value:"value1",children:[{label:"选项1-1",value:"value1-1"},{label:"选项1-2",value:"value1-2"},{label:"选项1-3",value:"value1-2"}]},{label:"选项2",value:"value2",children:[{label:"选项2-1",value:"value2-1"},{label:"选项2-2",value:"value2-2"},{label:"选项2-3",value:"value2-2"}]},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"显示每一级",component:"Switch",name:"props.showAllLevels",initialValue:!0},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"标签key",component:"Input",name:"props.labelKey",designKey:"form-X6hs"},{label:"值Key",component:"Input",name:"props.valueKey",designKey:"form-STkl"},{label:"数据模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"静态",value:"static"},{label:"远程",value:"remote"}],optionType:"button",space:0},initialValue:"static",designKey:"form-PLpj"},{label:"静态选项",name:"props.options",component:"JsonEdit",dialog:!0},{component:"Card",props:{},designKey:"id-pGeN",name:"form-6vzT",hidden:'{{$values.props.mode==="static"}}',children:[{label:"url",component:"Input",name:"props.api.url",initialValue:"/current/query/article",designKey:"form-UrE8"},{label:"请求方式",component:"Radio",name:"props.api.method",props:{mode:"static",options:[{label:"GET",value:"GET"},{label:"POST",value:"POST"},{label:"PUT",value:"PUT"},{label:"DELETE",value:"DELETE"}]},designKey:"form-nOpD"},{label:"请求参数",component:"JsonEdit",name:"props.api.params",initialValue:{},dialog:!0},{label:"数据路径",component:"Input",name:"props.api.dataPath",initialValue:"data",designKey:"form-UrE8"}]}]},VI={title:"级联选择器",icon:t.h(oe,{name:"cascader"}),type:"basic",component:"Cascader",attrSchema:XI,order:7,render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>O1))},Af={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"JSON编辑器"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"JsonEdit",name:"initialValue",dialog:!0}]},ef={title:"JSON编辑",component:"JsonEdit",icon:t.h(oe,{name:"jsonEdit"}),type:"basic",order:14,attrSchema:Af,render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>q1))},tf={size:"small",labelPosition:"top",initialValues:{label:"多选框组",component:"Checkbox",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:!0}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Qs]},nf={title:"多选框组",icon:t.h(oe,{name:"checkbox"}),type:"basic",component:"Checkbox",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>V1)),order:4,attrSchema:tf},of={size:"small",labelPosition:"top",initialValues:{label:"颜色选择器",component:"ColorPicker"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},sf={title:"颜色选择器",component:"ColorPicker",render:"ElColorPicker",icon:t.h(oe,{name:"colorPicker"}),type:"basic",order:9,attrSchema:of},rf={size:"small",labelPosition:"top",initialValues:{label:"颜色输入框",component:"ColorInput"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"ColorPicker",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},af={title:"颜色输入框",component:"ColorInput",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>ek)),icon:t.h(oe,{name:"colorPicker"}),type:"high",order:2,attrSchema:rf},lf={size:"small",labelPosition:"top",initialValues:{label:"自定义组件"},items:[{label:"自定义组件名称",component:"Input",name:"props.componentName",props:{placeholder:"全局组件名称"}},{label:"props",component:"JsonEdit",name:"props",dialog:!0},{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"}]},cf={title:"自定义组件",component:"Custom",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>nk)),icon:t.h(oe,{name:"custom"}),type:"high",order:99,attrSchema:lf},gf={size:"small",labelPosition:"top",initialValues:{label:"日期选择器",props:{type:"datetime",placeholder:"请选择日期",clearable:!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"日期时间",value:"datetime"},{label:"日期",value:"date"},{label:"年月",value:"month"},{label:"日期范围",value:"daterange"},{label:"日期时间范围",value:"datetimerange"}]}}]},uf={title:"日期选择器",component:"DatePicker",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>ok)),icon:t.h(oe,{name:"datePicker"}),type:"basic",order:9,attrSchema:gf},df={size:"small",labelPosition:"top",initialValues:{props:{title:"分割线"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"标题",component:"Input",name:"props.title"},{label:"标题位置",component:"Radio",name:"props.contentPosition",props:{mode:"static",options:[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}]},initialValue:"center",designKey:"form-PLpj"}]},hf={title:"分割线",component:"Divider",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>sk)),icon:t.h(oe,{name:"divider"}),type:"assist",order:6,attrSchema:df},pf={size:"small",labelPosition:"top",initialValues:{label:"电子签名",props:{width:700,height:300,lineWidth:6,lineColor:"#000000",bgColor:"#eeeeee",format:"image/png"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"画板宽度(px)",component:"InputNumber",name:"props.width"},{label:"画板高度(px)",component:"InputNumber",name:"props.height"},{label:"画笔粗细-初始",component:"InputNumber",name:"props.lineWidth"},{label:"画笔颜色-初始",component:"ColorPicker",name:"props.lineColor"},{label:"画板背景色-初始",component:"ColorPicker",name:"props.bgColor"},{label:"生成图片格式",component:"Radio",name:"props.format",props:{mode:"static",options:[{label:"PNG",value:"image/png"},{label:"JPG",value:"image/jpg"},{label:"JPEG",value:"image/jpeg"},{label:"WEBP",value:"image/webp"}]},designKey:"form-PLpj"}]},Bf={title:"电子签名",component:"Esign",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>hk)),icon:t.h(oe,{name:"esign"}),type:"basic",order:11,attrSchema:pf},Cf={size:"small",labelPosition:"top",initialValues:{label:"单选框组",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}],labelKey:"label",valueKey:"value",optionType:"circle",direction:"horizontal",space:20}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选项样式类型",component:"Radio",name:"props.optionType",props:{mode:"static",options:[{label:"无边框",value:"circle"},{label:"边框",value:"border"},{label:"按钮",value:"button"}]}},{label:"选项排列方向",component:"Radio",name:"props.direction",props:{mode:"static",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"}]}},{label:"选项间距(px)",component:"InputNumber",name:"props.space"},...Qs]},Ef={title:"单选框组",icon:t.h(oe,{name:"radio"}),type:"basic",component:"Radio",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Bk)),order:3.5,attrSchema:Cf},Qf={size:"small",labelPosition:"top",initialValues:{label:"自增容器",children:[],props:{mode:"table",title:"数据",minLines:0,maxLines:999,allowAdd:!0,allowReduce:!0}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"显示模式",component:"Radio",name:"props.mode",props:{mode:"static",options:[{label:"表格",value:"table"},{label:"卡片",value:"card"},{label:"行内",value:"inline"}]}},{label:"自增前缀",component:"Input",name:"props.title"},{label:"最小行数",component:"InputNumber",props:{min:0},name:"props.minLines"},{label:"最大行数",component:"InputNumber",props:{min:0},name:"props.maxLines"},{label:"允许新增行",component:"Switch",name:"props.allowAdd"},{label:"允许删除行",component:"Switch",name:"props.allowReduce"}]},mf={title:"自增容器",component:"FormList",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>fk)),icon:t.h(oe,{name:"formList"}),type:"high",order:20,attrSchema:Qf},If={title:"栅格布局",type:"layout",icon:t.h(oe,{name:"grid"}),component:"Grid",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>wk)),order:3,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{columns:2}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"列数",component:"InputNumber",name:"props.columns",initialValue:2},{label:"列间距",component:"InputNumber",name:"props.columnGap",props:{unit:"px"}},{label:"行间距",component:"InputNumber",name:"props.rowGap",props:{unit:"px"}},{label:"列对齐方式",component:"Select",name:"props.alignItems",props:{mode:"static",options:[{label:"stretch",value:"stretch"},{label:"center",value:"center"},{label:"start",value:"start"},{label:"end",value:"end"}]}}]}},ff={title:"行内布局",icon:t.h(oe,{name:"inline"}),type:"layout",component:"Inline",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Dk)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"对齐方式",component:"Radio",name:"props.align",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居中",value:"center"},{label:"右对齐",value:"right"},{label:"两端对齐",value:"space-between"},{label:"环绕对齐",value:"space-around"},{label:"均匀对齐",value:"space-evenly"}]},initialValue:"left"},{label:"间距大小",component:"InputNumber",name:"props.gap",props:{unit:"px"}},{label:"自动换行",component:"Switch",name:"props.autoWrap"}]}},wf={size:"small",labelPosition:"top",initialValues:{label:"计数器",props:{min:1,max:999,step:1,controlsPosition:""}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"按钮位置",component:"Radio",name:"props.controlsPosition",props:{mode:"static",options:[{label:"两侧",value:""},{label:"内部",value:"right"}]},initialValue:""},{label:"最小值",component:"InputNumber",name:"props.min"},{label:"最大值",component:"InputNumber",name:"props.max"},{label:"步长",component:"InputNumber",name:"props.step"}]},Df={title:"计数器",icon:t.h(oe,{name:"inputNumber"}),type:"basic",order:5,component:"InputNumber",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>yk)),attrSchema:wf},bf={size:"small",labelPosition:"top",initialValues:{label:"密码输入框",props:{placeholder:"请输入密码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"密码校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"不少于8位,由字母+数字组成",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]{8,}$"},{label:"不少于8位,至少包含一个大写字母、一个小写字母和一个数字",value:"^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[A-Za-z\\d]{8,}$"},{label:"不包含空格",value:"^\\S*$"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"}]},yf={key:0},vf={title:"密码输入框",component:"Password",render:t.defineComponent({__name:"Password",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue"),e=ut();return(o,Q)=>{var l;const D=t.resolveComponent("el-input");return t.unref(e).read?(t.openBlock(),t.createElementBlock("span",yf,t.toDisplayString((l=A.value)==null?void 0:l.replace(/./g,"*")),1)):(t.openBlock(),t.createBlock(D,t.mergeProps({key:1},o.$attrs,{modelValue:A.value,"onUpdate:modelValue":Q[0]||(Q[0]=b=>A.value=b),type:"password"}),null,16,["modelValue"]))}}}),icon:t.h(oe,{name:"password"}),type:"basic",order:3,attrSchema:bf},kf={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},...Qs]},_f={title:"下拉选择框",type:"basic",icon:t.h(oe,{name:"select"}),component:"Select",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>_k)),order:3,attrSchema:kf},Mf={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"评分"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"初始值",component:"InputNumber",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"最大分值",component:"InputNumber",name:"props.max",initialValue:5},{label:"是否允许半选",component:"Switch",name:"props.allow-half"}]},Sf={title:"评分",component:"Rate",render:"ElRate",icon:t.h(oe,{name:"rate"}),type:"basic",order:12,attrSchema:Mf},xf={size:"small",labelPosition:"top",initialValues:{label:"选择框+输入框",props:{placeholder:"",selectPosition:"append",selectWidth:70}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"选择框位置",component:"Radio",name:"props.selectPosition",props:{mode:"static",options:[{label:"前置",value:"prepend"},{label:"后置",value:"append"}]}},{label:"选择框宽度(px)",component:"InputNumber",name:"props.selectWidth"},{label:"选择框默认值",component:"Input",name:"props.selectInitialValue"},{label:"选项",name:"props.options",component:"FormList",dialog:!0,children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh"},{label:"选项值",name:"value",component:"Input",props:{},designKey:"form-HYtW"},{label:"是否禁用",name:"disabled",component:"Switch",props:{},designKey:"form-HYtW2"}],designKey:"form-Iwpd",props:{mode:"table"}}]},Ff={title:"选择+输入",component:"SelectInput",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Sk)),icon:t.h(oe,{name:"input"}),type:"high",order:1,attrSchema:xf},Nf={title:"滑块",render:"ElSlider",component:"Slider",icon:t.h(oe,{name:"slider"}),type:"basic",order:12,attrSchema:{size:"small",labelPosition:"top",initialValues:{label:"滑块"},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu",style:{marginBottom:0}},{label:"初始值",component:"InputNumber",name:"initialValue"},{label:"开启选择范围",component:"Switch",name:"props.range"},{label:"步长",component:"InputNumber",name:"props.step",initialValue:1},{label:"最小值",component:"InputNumber",name:"props.min",initialValue:0}]}},Rf={size:"small",labelPosition:"top",initialValues:{label:"开关",props:{"inline-prompt":!1}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"初始值",component:"Switch",name:"initialValue"},{label:"打开时描述",component:"Input",name:"props.active-text"},{label:"关闭时描述",component:"Input",name:"props.inactive-text"},{label:"描述显示位置",component:"Radio",name:"props.inline-prompt",props:{mode:"static",options:[{label:"外部",value:!1},{label:"内部",value:!0}]}}]},Lf={title:"开关",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>xk)),component:"Switch",icon:t.h(oe,{name:"switch"}),type:"basic",order:8,attrSchema:Rf},Gf={title:"标签",component:"Tag",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Fk)),icon:t.h(oe,{name:"tag"}),type:"assist",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{text:"Tag",type:"primary"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"内容",component:"Input",name:"props.text"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"主题色",value:"primary"},{label:"成功",value:"success"},{label:"信息",value:"info"},{label:"警告",value:"warning"},{label:"危险",value:"danger"}]}}]}},Hf={size:"small",labelPosition:"top",initialValues:{label:"文本",props:{text:"这是一段文本"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"文本内容",component:"Input",name:"props.text"}]},Pf={title:"文本",component:"Text",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Nk)),icon:t.h(oe,{name:"text"}),type:"assist",order:1,attrSchema:Hf},Kf={title:"标题",component:"Title",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Rk)),icon:t.h(oe,{name:"title"}),type:"assist",order:3,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{title:"标题",type:"h3"},hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"},{label:"标题内容",component:"Input",name:"props.title"},{label:"类型",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"一级标题",value:"h1"},{label:"二级标题",value:"h2"},{label:"三级标题",value:"h3"},{label:"四级标题",value:"h4"},{label:"五级标题",value:"h5"}]}},{label:"字体倾斜",component:"Switch",name:"props.italic"}]}},Uf={size:"small",labelPosition:"top",initialValues:{label:"上传",props:{action:"https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15",name:"file",multiple:!0,btnText:"点击上传",limit:3,showFileList:!0,withCredentials:!0,listType:"text"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"上传地址",component:"Input",name:"props.action"},{label:"上传的文件字段名",component:"Input",name:"props.name"},{label:"上传时的请求头",component:"JsonEdit",name:"props.headers",dialog:!0},{label:"上传时的额外数据",component:"JsonEdit",name:"props.data",dialog:!0},{label:"上传时携带cookie",component:"Switch",name:"props.withCredentials"},{label:"支持多选文件",component:"Switch",name:"props.multiple"},{label:"上传按钮文本",component:"Input",name:"props.btnText"},{label:"上传提示",component:"Input",name:"props.tip"},{label:"最大上传数量",component:"InputNumber",name:"props.limit"},{label:"开启拖拽上传",component:"Switch",name:"props.drag"},{label:"是否显示已上传文件列表",component:"Switch",name:"props.showFileList"},{label:"上传文件列表类型",component:"Radio",name:"props.listType",props:{mode:"static",options:[{label:"文本",value:"text"},{label:"图片墙",value:"picture-card"}]}}]},Tf={title:"上传",component:"Upload",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Hk)),icon:t.h(oe,{name:"upload"}),type:"basic",order:10,attrSchema:Uf},Yf={size:"small",labelPosition:"top",initialValues:{label:"验证码",required:!0,props:{placeholder:"请输入验证码"}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}]},Of={title:"图形验证码",component:"VerifyCode",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Tk)),icon:t.h(oe,{name:"verifyCode"}),type:"high",order:18,attrSchema:Yf},$f={title:"折叠面板",component:"Collapse",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Yk)),icon:t.h(oe,{name:"collapse"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{title:"面板1",name:"name1",children:[]}]},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"子面板设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"title",initialValue:'{{ "面板" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"默认展开",component:"Switch",designKey:"form-YE6U",name:"checked"}],props:{mode:"card",title:"面板"},designKey:"id-RQ1a",name:"children"}]}},Jf={title:"选项卡",component:"Tabs",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Ok)),icon:t.h(oe,{name:"tabs"}),type:"layout",order:4,attrSchema:{size:"small",labelPosition:"top",initialValues:{children:[{label:"选项卡1",name:"name1",children:[]},{label:"选项卡2",name:"name2",children:[]}],props:{defaultKey:"name1",tabPosition:"top"}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"默认选项卡",component:"Select",name:"props.defaultKey",props:{mode:"static",options:"{{$values.children}}",labelKey:"label",valueKey:"name"}},{label:"选项卡风格",component:"Radio",name:"props.type",props:{mode:"static",options:[{label:"普通",value:""},{label:"卡片",value:"card"},{label:"带边框的卡片",value:"border-card"}]}},{label:"选项卡所在位置",component:"Radio",name:"props.tabPosition",props:{mode:"static",optionType:"button",space:0,options:[{label:"上",value:"top"},{label:"右",value:"right"},{label:"下",value:"bottom"},{label:"左",value:"left"}]}},{label:"子选项卡配置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},designKey:"id-l8cI",name:"label",initialValue:'{{ "选项卡" + ($index + 1) }}'},{label:"唯一标识",component:"Input",props:{placeholder:"请输入唯一标识"},designKey:"form-YE6U",name:"name",initialValue:'{{ "name" + ($index + 1) }}'},{label:"禁用",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI1",name:"disabled"},{label:"懒加载",component:"Switch",props:{"inline-prompt":!1},designKey:"design-fPOI11",name:"lazy"}],props:{mode:"card",title:"选项卡"},designKey:"id-RQ1a",name:"children"}]}},Zf={title:"对象容器",icon:t.h(oe,{name:"itemGroup"}),type:"high",component:"ObjGroup",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Zk)),order:2,lbTitle:!0,attrSchema:{size:"small",labelPosition:"top",initialValues:{props:{align:"left",gap:20},children:[],hideLabel:!0},items:[{label:"唯一标识",component:"Input",name:"name"}]}},zf={},Wf={t:"1727251512891",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3914",width:"20",height:"20"};function jf(n,A){return t.openBlock(),t.createElementBlock("svg",Wf,A[0]||(A[0]=[t.createElementVNode("path",{d:"M320 128H128c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H160c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z m256-544h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m-64 448h-64c-19.2 0-32 12.8-32 32s16 32 32 32h64c19.2 0 32-12.8 32-32s-16-32-32-32z m384-576H704c-35.2 0-64 28.8-64 64v640c0 35.2 28.8 64 64 64h192c35.2 0 64-28.8 64-64V192c0-35.2-28.8-64-64-64z m0 672c0 16-16 32-32 32H736c-16 0-32-16-32-32V224c0-16 16-32 32-32h128c16 0 32 16 32 32v576z",fill:"#333333","p-id":"3915"},null,-1)]))}const qf=ZA(zf,[["render",jf]]),Xf={size:"small",labelPosition:"top",initialValues:{label:"穿梭框",props:{data:[{label:"选项一",key:"value1"},{label:"选项二",key:"value2"},{label:"选项三",key:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{component:"Divider",props:{title:"选项设置",contentPosition:"center"},designKey:"design-gSnX",name:"form-xDEe",style:{marginTop:"40px"}},{label:"静态选项",name:"props.data",component:"FormList",children:[{label:"选项名",name:"label",component:"Input",props:{placeholder:"请输入..."},designKey:"form-LnGh",initialValue:'{{ "选项" + ($index + 1) }}'},{label:"选项值",name:"key",component:"Input",designKey:"form-HYtW",initialValue:'{{ "value" + ($index + 1) }}'}],designKey:"form-Iwpd",props:{mode:"table"}}]},Vf={key:0},Aw={title:"穿梭框",component:"Transfer",render:t.defineComponent({__name:"Transfer",props:t.mergeModels({name:{},data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=ut(),o=t.useModel(n,"modelValue"),Q=D=>{const l=D.map(b=>A.data.find(S=>S.key===b));e.updateSelectData(A.name,l)};return(D,l)=>{var S;const b=t.resolveComponent("el-transfer");return t.unref(e).read?(t.openBlock(),t.createElementBlock("div",Vf,t.toDisplayString((S=o.value)==null?void 0:S.map(f=>{var x;return(x=D.data.find(L=>L.key===f))==null?void 0:x.label}).join("、")),1)):(t.openBlock(),t.createBlock(b,t.mergeProps({key:1},D.$attrs,{data:D.data,onChange:Q,modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=f=>o.value=f)}),null,16,["data","modelValue"]))}}}),icon:qf,type:"basic",order:12,attrSchema:Xf},ew={size:"small",labelPosition:"top",items:[{label:"标签",component:"Input",name:"label",initialValue:"单行文本"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Input",name:"initialValue"},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否只读",component:"Switch",name:"props.readonly"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"文本校验规则",component:"FormList",name:"rules",dialog:!0,children:[{label:"类型",component:"Select",props:{mode:"static",options:[{label:"邮箱",value:"email"},{label:"字母+数字",value:"^(?=.*[a-zA-Z])(?=.*\\d)[a-zA-Z\\d]+$"},{label:"手机号码",value:"^1[3456789]\\d{9}$"},{label:"网址",value:"url"},{label:"自定义正则",value:"custom"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P",name:"type"},{label:"自定义正则",component:"Input",props:{placeholder:"请输入正则表达式"},designKey:"form-Wdb2Reg",name:"customReg",hidden:'{{$item.type!=="custom"}}'},{label:"提示语",component:"Input",props:{placeholder:"请输入..."},designKey:"form-Wdb2",name:"message"},{label:"校验时机",component:"Checkbox",props:{mode:"static",options:[{label:"失去焦点时",value:"blur"},{label:"输入时",value:"change"}],placeholder:"请选择...",labelKey:"label",valueKey:"value"},designKey:"form-3L0P6666",name:"trigger"}],designKey:"form-89tI",props:{mode:"card",title:"校验规则"}},{label:"显示清除按钮",component:"Switch",name:"props.clearable"},{label:"change事件函数名",component:"Input",name:"props.onChange"},{label:"最长字数",component:"InputNumber",name:"props.maxlength"},{label:"是否展示弹窗",component:"Switch",name:"props.withDialog"}]},tw={key:0},nw=ZA(t.defineComponent({__name:"SearchInput",props:t.mergeModels({onInput:{},onSearch:{},onClear:{},disabled:{type:Boolean},read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue"),e=n,o=t.inject("ruleModule",void 0),Q=t.inject("pageMethodMap",{}),D=S=>{if(e.onInput&&o)try{o[e.onInput](Q,S)}catch(f){console.error(f)}},l=()=>{if(e.onSearch&&o)try{o[e.onSearch](Q)}catch(S){console.error(S)}},b=()=>{if(e.onClear&&o)try{o[e.onClear](Q)}catch(S){console.error(S)}};return(S,f)=>{const x=t.resolveComponent("el-button"),L=t.resolveComponent("el-input");return S.read?(t.openBlock(),t.createElementBlock("span",tw,t.toDisplayString(A.value||"--"),1)):(t.openBlock(),t.createBlock(L,t.mergeProps({key:1},S.$attrs,{modelValue:A.value,"onUpdate:modelValue":f[0]||(f[0]=P=>A.value=P),onInput:D,disabled:S.disabled}),{append:t.withCtx(()=>[t.createVNode(x,{onClick:l,disabled:S.disabled},{default:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:"search"})]),_:1},8,["disabled"])]),suffix:t.withCtx(()=>[S.onClear&&A.value&&!S.disabled?(t.openBlock(),t.createBlock(t.unref(oe),{key:0,name:"clear",onClick:b,class:"clear-icon"})):t.createCommentVNode("",!0)]),_:1},16,["modelValue","disabled"]))}}}),[["__scopeId","data-v-82f56229"]]),iw={title:"搜索输入",component:"SearchInput",icon:t.h(oe,{name:"search"}),type:"high",order:5,attrSchema:ew,render:nw},ow={size:"small",labelPosition:"top",initialValues:{label:"下拉选择框",props:{mode:"static",options:[{label:"选项1",value:"value1"},{label:"选项2",value:"value2"},{label:"选项3",value:"value3"}]}},items:[{label:"标签",component:"Input",name:"label"},{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help"},{label:"占位提示",component:"Input",name:"props.placeholder",designKey:"form-ekRL"},{label:"初始值",component:"Select",name:"initialValue",hidden:'{{ $values.props.mode==="remote" }}',props:{mode:"static",options:"{{$values.props.options}}",multiple:"{{$values.props.multiple}}"}},{component:"Grid",children:[{label:"是否必填",component:"Switch",name:"required"},{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"},{label:"隐藏标签",component:"Switch",name:"hideLabel"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"选择模式",component:"Switch",name:"props.multiple",props:{"active-text":"多选","inactive-text":"单选"},designKey:"form-eTxc"},{label:"搜索按钮点击事件",component:"Input",name:"props.onSearch"},...Qs]},sw={title:"选择+搜索",type:"high",icon:t.h(oe,{name:"searchSelect"}),component:"SearchSelect",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>Xk)),order:3,attrSchema:ow},rw={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{label:"按钮文字",component:"Input",name:"props.buttonText",designKey:"form-ekRL",initialValue:"按钮文字"},{component:"Grid",children:[{label:"是否禁用",component:"Switch",name:"props.disabled"},{label:"隐藏字段",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"click事件函数名",component:"Input",name:"props.onClick"}]},aw=["xlink:href"],We=ZA(t.defineComponent({__name:"iconfont",props:{name:{},color:{},size:{default:"small"}},setup(n){const A=n,e=t.computed(()=>A.color?{color:A.color}:void 0);return(o,Q)=>(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(["icon",{large:o.size==="large",small:o.size==="small",normal:o.size==="normal"}]),"aria-hidden":"true",style:t.normalizeStyle(e.value)},[t.createElementVNode("use",{"xlink:href":`#${o.name}`},null,8,aw)],6))}}),[["__scopeId","data-v-3107108f"]]),lw=ZA(t.defineComponent({__name:"button",props:{buttonText:{},onClick:{},hidden:{type:Boolean},orange:{type:Boolean},icon:{}},setup(n){const A=n,e=t.inject("ruleModule",void 0),o=t.inject("pageMethodMap",{}),Q=t.ref(!1),D=async()=>{if(A.onClick&&e){try{Q.value=!0,await e[A.onClick](o)}catch(l){console.error(l)}Q.value=!1}};return(l,b)=>{const S=t.resolveComponent("el-button");return l.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(S,t.mergeProps({key:0},l.$attrs,{onClick:D,color:l.orange?"#FAA21E":"",class:{orangeBtn:l.orange},plain:!l.orange&&l.$attrs.type!=="primary",loading:Q.value}),{default:t.withCtx(()=>[l.icon?(t.openBlock(),t.createBlock(We,{key:0,name:l.icon.name,color:l.icon.color,class:"btn-icon"},null,8,["name","color"])):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(l.buttonText),1)]),_:1},16,["color","class","plain","loading"]))}}}),[["__scopeId","data-v-d4c42e29"]]),cw={title:"按钮",component:"Button",icon:t.h(oe,{name:"button"}),type:"assist",order:1,attrSchema:rw,render:lw},gw={size:"small",labelPosition:"top",initialValues:{props:{emptyText:"暂无数据",nodeKey:"id",expandOnClickNode:!1,props:{label:"label",children:"children"}}},items:[{label:"唯一标识",component:"Input",name:"name"},{label:"节点标识属性名",component:"Input",name:"props.nodeKey"},{label:"内容为空时的文本",component:"Input",name:"props.emptyText"},{label:"是否可拖拽",component:"Switch",name:"props.draggable"},{label:"是否点击节点时展开或收缩",component:"Switch",name:"props.expandOnClickNode"},{label:"节点是否懒加载",component:"Switch",name:"props.lazy"},{component:"Grid",children:[{label:"节点标签属性名",component:"Input",name:"props.props.label"},{label:"子树属性名",component:"Input",name:"props.props.children"},{label:"是否禁用属性名",component:"Input",name:"props.props.disabled"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "一级子节点" + ($index + 1) }}'},{label:"唯一标识",component:"Input",name:"{{$values.props.nodeKey}}",initialValue:"{{ $index + 1 }}"},{label:"子节点设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label",initialValue:'{{ "二级子节点" + ($index + 1) }}'}],props:{mode:"card",title:"子节点"},name:"children"}],props:{mode:"card",title:"子节点"},designKey:"id-RQ1a",name:"props.data"}]},uw={title:"树",component:"Tree",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>n_)),icon:t.h(oe,{name:"tree"}),type:"assist",order:7,attrSchema:gw},dw={size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name",help:"既是唯一标识,也是数据路径。比如输入【props.name】,数据就会保存为 { props: { name:'xxx' } }"},{label:"字段说明",component:"TextArea",name:"help",designKey:"form-ekRL1"},{component:"Grid",children:[{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{columns:3,"row-gap":20,"column-gap":20},designKey:"form-R003",name:"cNmCuu"},{label:"列设置",component:"FormList",children:[{label:"标题",component:"Input",props:{placeholder:"请输入标题"},name:"label"},{label:"是否隐藏",component:"Switch",name:"hidden"}],props:{mode:"card",title:"列"},designKey:"id-RQ1a",name:"props.columns"},{label:"change事件函数名",component:"Input",name:"props.onChange"}]},hw={title:"表格",component:"Table",icon:t.h(oe,{name:"library"}),type:"assist",order:8,attrSchema:dw,render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>l_))},pw={title:"curd模版卡片",component:"CurdCard",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>B_)),icon:t.h(oe,{name:"card"}),type:"layout",order:6,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},Bw={title:"普通div容器",component:"Wrapper",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>C_)),icon:t.h(oe,{name:"card"}),type:"layout",order:7,attrSchema:{size:"small",labelPosition:"top",items:[{label:"唯一标识",component:"Input",name:"name"},{label:"卡片标题",component:"Input",name:"props.header",initialValue:"卡片"},{label:"支持折叠",component:"Switch",name:"props.collapsible"}]}},Cw={class:"card-list-item"},Ew={class:"card-list-item-header"},Qw={class:"card-list-item-header-title"},mw=["title"],Iw={key:0,class:"card-list-item-header-title__sub"},fw={class:"card-list-item-header-btns"},ww=["onClick"],Dw={class:"card-list-item-content"},bw={class:"card-list-item-content-item-label"},yw={class:"card-list-item-content-item-value"},vw={key:0,class:"card-list-item-footer"},kw={class:"card-list-item-footer-text"},Ug=ZA(t.defineComponent({__name:"CardListItem",props:{data:{},btns:{},index:{}},setup(n){const A=n,e=t.inject("ruleModule",void 0),o=t.inject("pageMethodMap",{}),Q=t.inject("getGlobalParams",()=>{}),D=l=>{if(l)try{e[l](o,A.data.originalData,A.index)}catch(b){console.error(b)}};return(l,b)=>{const S=t.resolveComponent("el-tooltip");return t.openBlock(),t.createElementBlock("div",Cw,[t.createElementVNode("div",Ew,[t.createElementVNode("div",Qw,[t.createElementVNode("div",{class:t.normalizeClass(["card-list-item-header-title__text",{"link-style":l.data.titleType==="link"}]),style:t.normalizeStyle({color:l.data.titleColor}),title:l.data.title,onClick:b[0]||(b[0]=f=>D(l.data.onClick))},t.toDisplayString(l.data.title),15,mw),l.data.subTitle?(t.openBlock(),t.createElementBlock("div",Iw,[t.createElementVNode("span",{class:"card-list-item-header-title__sub-icon",style:t.normalizeStyle({backgroundColor:l.data.subTitleColor||"#3EBF17"})},null,4),t.createElementVNode("span",null,t.toDisplayString(l.data.subTitle),1)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",fw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.btns,(f,x)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:x},[f.condition===void 0||f.condition===null||t.unref(yn)(f.condition,{$row:l.data.originalData,$globalParams:t.unref(Q)()})?(t.openBlock(),t.createElementBlock("div",{key:0,class:"card-list-item-header-btns-item",onClick:L=>D(f.onClick)},[f.label?(t.openBlock(),t.createBlock(S,{key:0,class:"box-item",effect:"dark",content:f.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:t.withCtx(()=>[t.createVNode(We,{name:f.icon},null,8,["name"])]),_:2},1032,["content"])):(t.openBlock(),t.createBlock(We,{key:1,name:f.icon},null,8,["name"]))],8,ww)):t.createCommentVNode("",!0)],64))),128))])]),t.createElementVNode("div",Dw,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.data.content,f=>(t.openBlock(),t.createElementBlock("div",{class:"card-list-item-content-item",key:f.label},[t.createElementVNode("div",bw,t.toDisplayString(f.label)+":",1),t.createElementVNode("div",yw,t.toDisplayString(f.value||"- -"),1)]))),128))]),l.data.footer?(t.openBlock(),t.createElementBlock("div",vw,[t.createVNode(We,{name:l.data.footer.icon},null,8,["name"]),t.createElementVNode("span",kw,t.toDisplayString(l.data.footer.text||"- -"),1)])):t.createCommentVNode("",!0)])}}}),[["__scopeId","data-v-459f09b2"]]),_w={key:0,class:"empty-content"},ms=ZA(t.defineComponent({__name:"CardList",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){const A=n,e=t.computed(()=>A.rowBtns?A.rowBtns.map(S=>({condition:S.condition,icon:S.icon&&S.icon.name?S.icon.name:"icon-tishi",label:S.label,onClick:S.onClick})):[]),o=A.columns.find(S=>S.position==="title"),Q=A.columns.find(S=>S.position==="subTitle"),D=A.columns.find(S=>S.position==="footer"),l=t.computed(()=>{const S=A.columns.find(f=>f.type==="link"&&f.onClick);return A.data?A.data.map(f=>{const x={content:[],originalData:f};if(o&&S&&S.key===o.key&&(x.titleType="link",x.onClick=S.onClick),o&&(x.title=A.getColText(o,f)),Q&&(x.subTitle=A.getColText(Q,f),x.subTitleColor=f[Q.key+"Color"]),D){const L=A.getColText(D,f);x.footer={icon:D.footerIcon||"icon-tishi",text:`${D.label}: ${L||"- -"}`}}return A.columns.forEach(L=>{L.position==="content"&&x.content.push({label:L.label,value:A.getColText(L,f)})}),x}):[]}),b=t.inject(cn);return b&&b.translateFn,(S,f)=>(t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("div",{class:"card-list",style:t.normalizeStyle({"--columns":S.gridColumns,"--gap":S.gap+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(x,L)=>(t.openBlock(),t.createElementBlock("div",{class:"card-list-item",key:L},[t.createVNode(Ug,{data:x,btns:e.value,index:L},null,8,["data","btns","index"])]))),128))],4),!S.data||S.data.length===0?(t.openBlock(),t.createElementBlock("div",_w,[t.createVNode(t.unref(oe),{name:"tableEmpty",style:{width:56,height:56}}),f[0]||(f[0]=t.createElementVNode("div",null,"No data available,please check",-1))])):t.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-715b7835"]]),Mw={title:"卡片列表",component:"CardList",render:ms,icon:t.h(oe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},Sw={title:"定制化组件(OfferDetails)",component:"OfferDetails",render:t.defineAsyncComponent(()=>Promise.resolve().then(()=>k_)),icon:t.h(oe,{name:"card"}),type:"assist",order:1,attrSchema:{size:"small",labelPosition:"top",items:[{label:"填充的数据",component:"Input",name:"data"}]}},xw=Object.freeze(Object.defineProperty({__proto__:null,Alert:jI,Button:cw,Card:qI,CardList:Mw,Cascader:VI,Checkbox:nf,Collapse:$f,ColorInput:af,ColorPicker:sf,CurdCard:pw,Custom:cf,DatePicker:uf,Divider:hf,Esign:Bf,FormList:mf,Grid:If,Inline:ff,Input:JI,InputNumber:Df,JsonEdit:ef,ObjGroup:Zf,OfferDetails:Sw,Password:vf,Radio:Ef,Rate:Sf,SearchInput:iw,SearchSelect:sw,Select:_f,SelectInput:Ff,Slider:Nf,Switch:Lf,Table:hw,Tabs:Jf,Tag:Gf,Text:Pf,TextArea:zI,Title:Kf,Transfer:Aw,Tree:uw,Upload:Tf,VerifyCode:Of,Wrapper:Bw},Symbol.toStringTag,{value:"Module"})),Ni=()=>{const n=t.inject(cn),A={...xw};return n!=null&&n.extendElements&&Object.assign(A,n.extendElements),A},zt=()=>t.inject(Rg),Fw=t.defineComponent({__name:"Footer",setup(n){const A=ut(),e=t.computed(()=>({marginLeft:A.schema.labelWidth+"px"}));return(o,Q)=>{const D=t.resolveComponent("el-button");return t.unref(A).footer?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(e.value)},[t.createVNode(D,{type:"primary",onClick:t.unref(A).submit,name:"submit-btn"},{default:t.withCtx(()=>Q[1]||(Q[1]=[t.createTextVNode("提交")])),_:1},8,["onClick"]),t.createVNode(D,{onClick:Q[0]||(Q[0]=()=>t.unref(A).resetFields()),name:"reset-btn"},{default:t.withCtx(()=>Q[2]||(Q[2]=[t.createTextVNode("重置")])),_:1})],4)):t.createCommentVNode("",!0)}}}),Nw=ZA(t.defineComponent({__name:"Disabled",props:{disabled:{type:Boolean}},setup(n){return(A,e)=>A.disabled?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0},A.$attrs,{class:"disabled-wrapper"}),[e[0]||(e[0]=t.createElementVNode("div",{class:"mask"},null,-1)),t.renderSlot(A.$slots,"default",{},void 0,!0)],16)):t.renderSlot(A.$slots,"default",{key:1},void 0,!0)}}),[["__scopeId","data-v-f3803727"]]);let li=class extends Error{constructor(A){super(A),this.name="ShikiError"}},Qa=class extends Error{constructor(A){super(A),this.name="ShikiError"}};function Rw(){return 2147483648}function Lw(){return typeof performance<"u"?performance.now():Date.now()}const Gw=(n,A)=>n+(A-n%A)%A;async function Hw(n){let A,e;const o={};function Q(z){e=z,o.HEAPU8=new Uint8Array(z),o.HEAPU32=new Uint32Array(z)}function D(z,K,U){o.HEAPU8.copyWithin(z,K,K+U)}function l(z){try{return A.grow(z-e.byteLength+65535>>>16),Q(A.buffer),1}catch{}}function b(z){const K=o.HEAPU8.length;z=z>>>0;const U=Rw();if(z>U)return!1;for(let _=1;_<=4;_*=2){let I=K*(1+.2/_);I=Math.min(I,z+100663296);const G=Math.min(U,Gw(Math.max(z,I),65536));if(l(G))return!0}return!1}const S=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function f(z,K,U=1024){const _=K+U;let I=K;for(;z[I]&&!(I>=_);)++I;if(I-K>16&&z.buffer&&S)return S.decode(z.subarray(K,I));let G="";for(;K<I;){let k=z[K++];if(!(k&128)){G+=String.fromCharCode(k);continue}const y=z[K++]&63;if((k&224)===192){G+=String.fromCharCode((k&31)<<6|y);continue}const C=z[K++]&63;if((k&240)===224?k=(k&15)<<12|y<<6|C:k=(k&7)<<18|y<<12|C<<6|z[K++]&63,k<65536)G+=String.fromCharCode(k);else{const d=k-65536;G+=String.fromCharCode(55296|d>>10,56320|d&1023)}}return G}function x(z,K){return z?f(o.HEAPU8,z,K):""}const L={emscripten_get_now:Lw,emscripten_memcpy_big:D,emscripten_resize_heap:b,fd_write:()=>0};async function P(){const K=await n({env:L,wasi_snapshot_preview1:L});A=K.memory,Q(A.buffer),Object.assign(o,K),o.UTF8ToString=x}return await P(),o}let dt=null;function Pw(n){throw new Qa(n.UTF8ToString(n.getLastOnigError()))}class Is{constructor(A){Je(this,"utf16Length");Je(this,"utf8Length");Je(this,"utf16Value");Je(this,"utf8Value");Je(this,"utf16OffsetToUtf8");Je(this,"utf8OffsetToUtf16");const e=A.length,o=Is._utf8ByteLength(A),Q=o!==e,D=Q?new Uint32Array(e+1):null;Q&&(D[e]=o);const l=Q?new Uint32Array(o+1):null;Q&&(l[o]=e);const b=new Uint8Array(o);let S=0;for(let f=0;f<e;f++){const x=A.charCodeAt(f);let L=x,P=!1;if(x>=55296&&x<=56319&&f+1<e){const z=A.charCodeAt(f+1);z>=56320&&z<=57343&&(L=(x-55296<<10)+65536|z-56320,P=!0)}Q&&(D[f]=S,P&&(D[f+1]=S),L<=127?l[S+0]=f:L<=2047?(l[S+0]=f,l[S+1]=f):L<=65535?(l[S+0]=f,l[S+1]=f,l[S+2]=f):(l[S+0]=f,l[S+1]=f,l[S+2]=f,l[S+3]=f)),L<=127?b[S++]=L:L<=2047?(b[S++]=192|(L&1984)>>>6,b[S++]=128|(L&63)>>>0):L<=65535?(b[S++]=224|(L&61440)>>>12,b[S++]=128|(L&4032)>>>6,b[S++]=128|(L&63)>>>0):(b[S++]=240|(L&1835008)>>>18,b[S++]=128|(L&258048)>>>12,b[S++]=128|(L&4032)>>>6,b[S++]=128|(L&63)>>>0),P&&f++}this.utf16Length=e,this.utf8Length=o,this.utf16Value=A,this.utf8Value=b,this.utf16OffsetToUtf8=D,this.utf8OffsetToUtf16=l}static _utf8ByteLength(A){let e=0;for(let o=0,Q=A.length;o<Q;o++){const D=A.charCodeAt(o);let l=D,b=!1;if(D>=55296&&D<=56319&&o+1<Q){const S=A.charCodeAt(o+1);S>=56320&&S<=57343&&(l=(D-55296<<10)+65536|S-56320,b=!0)}l<=127?e+=1:l<=2047?e+=2:l<=65535?e+=3:e+=4,b&&o++}return e}createString(A){const e=A.omalloc(this.utf8Length);return A.HEAPU8.set(this.utf8Value,e),e}}const St=class St{constructor(A){Je(this,"id",++St.LAST_ID);Je(this,"_onigBinding");Je(this,"content");Je(this,"utf16Length");Je(this,"utf8Length");Je(this,"utf16OffsetToUtf8");Je(this,"utf8OffsetToUtf16");Je(this,"ptr");if(!dt)throw new Qa("Must invoke loadWasm first.");this._onigBinding=dt,this.content=A;const e=new Is(A);this.utf16Length=e.utf16Length,this.utf8Length=e.utf8Length,this.utf16OffsetToUtf8=e.utf16OffsetToUtf8,this.utf8OffsetToUtf16=e.utf8OffsetToUtf16,this.utf8Length<1e4&&!St._sharedPtrInUse?(St._sharedPtr||(St._sharedPtr=dt.omalloc(1e4)),St._sharedPtrInUse=!0,dt.HEAPU8.set(e.utf8Value,St._sharedPtr),this.ptr=St._sharedPtr):this.ptr=e.createString(dt)}convertUtf8OffsetToUtf16(A){return this.utf8OffsetToUtf16?A<0?0:A>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[A]:A}convertUtf16OffsetToUtf8(A){return this.utf16OffsetToUtf8?A<0?0:A>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[A]:A}dispose(){this.ptr===St._sharedPtr?St._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Je(St,"LAST_ID",0),Je(St,"_sharedPtr",0),Je(St,"_sharedPtrInUse",!1);let fs=St;class Kw{constructor(A){Je(this,"_onigBinding");Je(this,"_ptr");if(!dt)throw new Qa("Must invoke loadWasm first.");const e=[],o=[];for(let b=0,S=A.length;b<S;b++){const f=new Is(A[b]);e[b]=f.createString(dt),o[b]=f.utf8Length}const Q=dt.omalloc(4*A.length);dt.HEAPU32.set(e,Q/4);const D=dt.omalloc(4*A.length);dt.HEAPU32.set(o,D/4);const l=dt.createOnigScanner(Q,D,A.length);for(let b=0,S=A.length;b<S;b++)dt.ofree(e[b]);dt.ofree(D),dt.ofree(Q),l===0&&Pw(dt),this._onigBinding=dt,this._ptr=l}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(A,e,o){let Q=0;if(typeof o=="number"&&(Q=o),typeof A=="string"){A=new fs(A);const D=this._findNextMatchSync(A,e,!1,Q);return A.dispose(),D}return this._findNextMatchSync(A,e,!1,Q)}_findNextMatchSync(A,e,o,Q){const D=this._onigBinding,l=D.findNextOnigScannerMatch(this._ptr,A.id,A.ptr,A.utf8Length,A.convertUtf16OffsetToUtf8(e),Q);if(l===0)return null;const b=D.HEAPU32;let S=l/4;const f=b[S++],x=b[S++],L=[];for(let P=0;P<x;P++){const z=A.convertUtf8OffsetToUtf16(b[S++]),K=A.convertUtf8OffsetToUtf16(b[S++]);L[P]={start:z,end:K,length:K-z}}return{index:f,captureIndices:L}}}function Uw(n){return typeof n.instantiator=="function"}function Tw(n){return typeof n.default=="function"}function Yw(n){return typeof n.data<"u"}function Ow(n){return typeof Response<"u"&&n instanceof Response}function $w(n){var A;return typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||ArrayBuffer.isView(n))||typeof Buffer<"u"&&((A=Buffer.isBuffer)==null?void 0:A.call(Buffer,n))||typeof SharedArrayBuffer<"u"&&n instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&n instanceof Uint32Array}let ws;function Jw(n){if(ws)return ws;async function A(){dt=await Hw(async e=>{let o=n;return o=await o,typeof o=="function"&&(o=await o(e)),typeof o=="function"&&(o=await o(e)),Uw(o)?o=await o.instantiator(e):Tw(o)?o=await o.default(e):(Yw(o)&&(o=o.data),Ow(o)?typeof WebAssembly.instantiateStreaming=="function"?o=await Zw(o)(e):o=await zw(o)(e):$w(o)?o=await ma(o)(e):o instanceof WebAssembly.Module?o=await ma(o)(e):"default"in o&&o.default instanceof WebAssembly.Module&&(o=await ma(o.default)(e))),"instance"in o&&(o=o.instance),"exports"in o&&(o=o.exports),o})}return ws=A(),ws}function ma(n){return A=>WebAssembly.instantiate(n,A)}function Zw(n){return A=>WebAssembly.instantiateStreaming(n,A)}function zw(n){return async A=>{const e=await n.arrayBuffer();return WebAssembly.instantiate(e,A)}}let Ww;function jw(){return Ww}async function qw(n){return n&&await Jw(n),{createScanner(A){return new Kw(A)},createString(A){return new fs(A)}}}function Xw(n){return Ia(n)}function Ia(n){return Array.isArray(n)?Vw(n):typeof n=="object"?A0(n):n}function Vw(n){let A=[];for(let e=0,o=n.length;e<o;e++)A[e]=Ia(n[e]);return A}function A0(n){let A={};for(let e in n)A[e]=Ia(n[e]);return A}function Tg(n,...A){return A.forEach(e=>{for(let o in e)n[o]=e[o]}),n}function Yg(n){const A=~n.lastIndexOf("/")||~n.lastIndexOf("\\");return A===0?n:~A===n.length-1?Yg(n.substring(0,n.length-1)):n.substr(~A+1)}var fa=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ds=class{static hasCaptures(n){return n===null?!1:(fa.lastIndex=0,fa.test(n))}static replaceCaptures(n,A,e){return n.replace(fa,(o,Q,D,l)=>{let b=e[parseInt(Q||D,10)];if(b){let S=A.substring(b.start,b.end);for(;S[0]===".";)S=S.substring(1);switch(l){case"downcase":return S.toLowerCase();case"upcase":return S.toUpperCase();default:return S}}else return o})}};function Og(n,A){return n<A?-1:n>A?1:0}function $g(n,A){if(n===null&&A===null)return 0;if(!n)return-1;if(!A)return 1;let e=n.length,o=A.length;if(e===o){for(let Q=0;Q<e;Q++){let D=Og(n[Q],A[Q]);if(D!==0)return D}return 0}return e-o}function Jg(n){return!!(/^#[0-9a-f]{6}$/i.test(n)||/^#[0-9a-f]{8}$/i.test(n)||/^#[0-9a-f]{3}$/i.test(n)||/^#[0-9a-f]{4}$/i.test(n))}function Zg(n){return n.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var zg=class{constructor(n){this.fn=n,this.cache=new Map}get(n){if(this.cache.has(n))return this.cache.get(n);const A=this.fn(n);return this.cache.set(n,A),A}},bs=class{constructor(n,A,e){this._colorMap=n,this._defaults=A,this._root=e,this._cachedMatchRoot=new zg(o=>this._root.match(o))}static createFromRawTheme(n,A){return this.createFromParsedTheme(n0(n),A)}static createFromParsedTheme(n,A){return o0(n,A)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(n){if(n===null)return this._defaults;const A=n.scopeName,o=this._cachedMatchRoot.get(A).find(Q=>e0(n.parent,Q.parentScopes));return o?new Wg(o.fontStyle,o.foreground,o.background):null}},wa=class Yr{constructor(A,e){this.parent=A,this.scopeName=e}static push(A,e){for(const o of e)A=new Yr(A,o);return A}static from(...A){let e=null;for(let o=0;o<A.length;o++)e=new Yr(e,A[o]);return e}push(A){return new Yr(this,A)}getSegments(){let A=this;const e=[];for(;A;)e.push(A.scopeName),A=A.parent;return e.reverse(),e}toString(){return this.getSegments().join(" ")}extends(A){return this===A?!0:this.parent===null?!1:this.parent.extends(A)}getExtensionIfDefined(A){const e=[];let o=this;for(;o&&o!==A;)e.push(o.scopeName),o=o.parent;return o===A?e.reverse():void 0}};function e0(n,A){if(A.length===0)return!0;for(let e=0;e<A.length;e++){let o=A[e],Q=!1;if(o===">"){if(e===A.length-1)return!1;o=A[++e],Q=!0}for(;n&&!t0(n.scopeName,o);){if(Q)return!1;n=n.parent}if(!n)return!1;n=n.parent}return!0}function t0(n,A){return A===n||n.startsWith(A)&&n[A.length]==="."}var Wg=class{constructor(n,A,e){this.fontStyle=n,this.foregroundId=A,this.backgroundId=e}};function n0(n){if(!n)return[];if(!n.settings||!Array.isArray(n.settings))return[];let A=n.settings,e=[],o=0;for(let Q=0,D=A.length;Q<D;Q++){let l=A[Q];if(!l.settings)continue;let b;if(typeof l.scope=="string"){let L=l.scope;L=L.replace(/^[,]+/,""),L=L.replace(/[,]+$/,""),b=L.split(",")}else Array.isArray(l.scope)?b=l.scope:b=[""];let S=-1;if(typeof l.settings.fontStyle=="string"){S=0;let L=l.settings.fontStyle.split(" ");for(let P=0,z=L.length;P<z;P++)switch(L[P]){case"italic":S=S|1;break;case"bold":S=S|2;break;case"underline":S=S|4;break;case"strikethrough":S=S|8;break}}let f=null;typeof l.settings.foreground=="string"&&Jg(l.settings.foreground)&&(f=l.settings.foreground);let x=null;typeof l.settings.background=="string"&&Jg(l.settings.background)&&(x=l.settings.background);for(let L=0,P=b.length;L<P;L++){let K=b[L].trim().split(" "),U=K[K.length-1],_=null;K.length>1&&(_=K.slice(0,K.length-1),_.reverse()),e[o++]=new i0(U,_,Q,S,f,x)}}return e}var i0=class{constructor(n,A,e,o,Q,D){this.scope=n,this.parentScopes=A,this.index=e,this.fontStyle=o,this.foreground=Q,this.background=D}},vn=(n=>(n[n.NotSet=-1]="NotSet",n[n.None=0]="None",n[n.Italic=1]="Italic",n[n.Bold=2]="Bold",n[n.Underline=4]="Underline",n[n.Strikethrough=8]="Strikethrough",n))(vn||{});function o0(n,A){n.sort((S,f)=>{let x=Og(S.scope,f.scope);return x!==0||(x=$g(S.parentScopes,f.parentScopes),x!==0)?x:S.index-f.index});let e=0,o="#000000",Q="#ffffff";for(;n.length>=1&&n[0].scope==="";){let S=n.shift();S.fontStyle!==-1&&(e=S.fontStyle),S.foreground!==null&&(o=S.foreground),S.background!==null&&(Q=S.background)}let D=new s0(A),l=new Wg(e,D.getId(o),D.getId(Q)),b=new a0(new Da(0,null,-1,0,0),[]);for(let S=0,f=n.length;S<f;S++){let x=n[S];b.insert(0,x.scope,x.parentScopes,x.fontStyle,D.getId(x.foreground),D.getId(x.background))}return new bs(D,l,b)}var s0=class{constructor(n){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(n)){this._isFrozen=!0;for(let A=0,e=n.length;A<e;A++)this._color2id[n[A]]=A,this._id2color[A]=n[A]}else this._isFrozen=!1}getId(n){if(n===null)return 0;n=n.toUpperCase();let A=this._color2id[n];if(A)return A;if(this._isFrozen)throw new Error(`Missing color in color map - ${n}`);return A=++this._lastColorId,this._color2id[n]=A,this._id2color[A]=n,A}getColorMap(){return this._id2color.slice(0)}},r0=Object.freeze([]),Da=class eB{constructor(A,e,o,Q,D){this.scopeDepth=A,this.parentScopes=e||r0,this.fontStyle=o,this.foreground=Q,this.background=D}clone(){return new eB(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(A){let e=[];for(let o=0,Q=A.length;o<Q;o++)e[o]=A[o].clone();return e}acceptOverwrite(A,e,o,Q){this.scopeDepth>A?console.log("how did this happen?"):this.scopeDepth=A,e!==-1&&(this.fontStyle=e),o!==0&&(this.foreground=o),Q!==0&&(this.background=Q)}},a0=class wc{constructor(A,e=[],o={}){this._mainRule=A,this._children=o,this._rulesWithParentScopes=e}static _cmpBySpecificity(A,e){if(A.scopeDepth!==e.scopeDepth)return e.scopeDepth-A.scopeDepth;let o=0,Q=0;for(;A.parentScopes[o]===">"&&o++,e.parentScopes[Q]===">"&&Q++,!(o>=A.parentScopes.length||Q>=e.parentScopes.length);){const D=e.parentScopes[Q].length-A.parentScopes[o].length;if(D!==0)return D;o++,Q++}return e.parentScopes.length-A.parentScopes.length}match(A){if(A!==""){let o=A.indexOf("."),Q,D;if(o===-1?(Q=A,D=""):(Q=A.substring(0,o),D=A.substring(o+1)),this._children.hasOwnProperty(Q))return this._children[Q].match(D)}const e=this._rulesWithParentScopes.concat(this._mainRule);return e.sort(wc._cmpBySpecificity),e}insert(A,e,o,Q,D,l){if(e===""){this._doInsertHere(A,o,Q,D,l);return}let b=e.indexOf("."),S,f;b===-1?(S=e,f=""):(S=e.substring(0,b),f=e.substring(b+1));let x;this._children.hasOwnProperty(S)?x=this._children[S]:(x=new wc(this._mainRule.clone(),Da.cloneArr(this._rulesWithParentScopes)),this._children[S]=x),x.insert(A+1,f,o,Q,D,l)}_doInsertHere(A,e,o,Q,D){if(e===null){this._mainRule.acceptOverwrite(A,o,Q,D);return}for(let l=0,b=this._rulesWithParentScopes.length;l<b;l++){let S=this._rulesWithParentScopes[l];if($g(S.parentScopes,e)===0){S.acceptOverwrite(A,o,Q,D);return}}o===-1&&(o=this._mainRule.fontStyle),Q===0&&(Q=this._mainRule.foreground),D===0&&(D=this._mainRule.background),this._rulesWithParentScopes.push(new Da(A,e,o,Q,D))}},Ri=class ln{static toBinaryStr(A){return A.toString(2).padStart(32,"0")}static print(A){const e=ln.getLanguageId(A),o=ln.getTokenType(A),Q=ln.getFontStyle(A),D=ln.getForeground(A),l=ln.getBackground(A);console.log({languageId:e,tokenType:o,fontStyle:Q,foreground:D,background:l})}static getLanguageId(A){return(A&255)>>>0}static getTokenType(A){return(A&768)>>>8}static containsBalancedBrackets(A){return(A&1024)!==0}static getFontStyle(A){return(A&30720)>>>11}static getForeground(A){return(A&16744448)>>>15}static getBackground(A){return(A&4278190080)>>>24}static set(A,e,o,Q,D,l,b){let S=ln.getLanguageId(A),f=ln.getTokenType(A),x=ln.containsBalancedBrackets(A)?1:0,L=ln.getFontStyle(A),P=ln.getForeground(A),z=ln.getBackground(A);return e!==0&&(S=e),o!==8&&(f=o),Q!==null&&(x=Q?1:0),D!==-1&&(L=D),l!==0&&(P=l),b!==0&&(z=b),(S<<0|f<<8|x<<10|L<<11|P<<15|z<<24)>>>0}};function XN(n){return n}function VN(n){return n}function ys(n,A){const e=[],o=l0(n);let Q=o.next();for(;Q!==null;){let S=0;if(Q.length===2&&Q.charAt(1)===":"){switch(Q.charAt(0)){case"R":S=1;break;case"L":S=-1;break;default:console.log(`Unknown priority ${Q} in scope selector`)}Q=o.next()}let f=l();if(e.push({matcher:f,priority:S}),Q!==",")break;Q=o.next()}return e;function D(){if(Q==="-"){Q=o.next();const S=D();return f=>!!S&&!S(f)}if(Q==="("){Q=o.next();const S=b();return Q===")"&&(Q=o.next()),S}if(jg(Q)){const S=[];do S.push(Q),Q=o.next();while(jg(Q));return f=>A(S,f)}return null}function l(){const S=[];let f=D();for(;f;)S.push(f),f=D();return x=>S.every(L=>L(x))}function b(){const S=[];let f=l();for(;f&&(S.push(f),Q==="|"||Q===",");){do Q=o.next();while(Q==="|"||Q===",");f=l()}return x=>S.some(L=>L(x))}}function jg(n){return!!n&&!!n.match(/[\w\.:]+/)}function l0(n){let A=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,e=A.exec(n);return{next:()=>{if(!e)return null;const o=e[0];return e=A.exec(n),o}}}function qg(n){typeof n.dispose=="function"&&n.dispose()}var Co=class{constructor(n){this.scopeName=n}toKey(){return this.scopeName}},c0=class{constructor(n,A){this.scopeName=n,this.ruleName=A}toKey(){return`${this.scopeName}#${this.ruleName}`}},g0=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(n){const A=n.toKey();this._seenReferenceKeys.has(A)||(this._seenReferenceKeys.add(A),this._references.push(n))}},u0=class{constructor(n,A){this.repo=n,this.initialScopeName=A,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Co(this.initialScopeName)]}processQueue(){const n=this.Q;this.Q=[];const A=new g0;for(const e of n)d0(e,this.initialScopeName,this.repo,A);for(const e of A.references)if(e instanceof Co){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function d0(n,A,e,o){const Q=e.lookup(n.scopeName);if(!Q){if(n.scopeName===A)throw new Error(`No grammar provided for <${A}>`);return}const D=e.lookup(A);n instanceof Co?vs({baseGrammar:D,selfGrammar:Q},o):ba(n.ruleName,{baseGrammar:D,selfGrammar:Q,repository:Q.repository},o);const l=e.injections(n.scopeName);if(l)for(const b of l)o.add(new Co(b))}function ba(n,A,e){if(A.repository&&A.repository[n]){const o=A.repository[n];ks([o],A,e)}}function vs(n,A){n.selfGrammar.patterns&&Array.isArray(n.selfGrammar.patterns)&&ks(n.selfGrammar.patterns,{...n,repository:n.selfGrammar.repository},A),n.selfGrammar.injections&&ks(Object.values(n.selfGrammar.injections),{...n,repository:n.selfGrammar.repository},A)}function ks(n,A,e){for(const o of n){if(e.visitedRule.has(o))continue;e.visitedRule.add(o);const Q=o.repository?Tg({},A.repository,o.repository):A.repository;Array.isArray(o.patterns)&&ks(o.patterns,{...A,repository:Q},e);const D=o.include;if(!D)continue;const l=Xg(D);switch(l.kind){case 0:vs({...A,selfGrammar:A.baseGrammar},e);break;case 1:vs(A,e);break;case 2:ba(l.ruleName,{...A,repository:Q},e);break;case 3:case 4:const b=l.scopeName===A.selfGrammar.scopeName?A.selfGrammar:l.scopeName===A.baseGrammar.scopeName?A.baseGrammar:void 0;if(b){const S={baseGrammar:A.baseGrammar,selfGrammar:b,repository:Q};l.kind===4?ba(l.ruleName,S,e):vs(S,e)}else l.kind===4?e.add(new c0(l.scopeName,l.ruleName)):e.add(new Co(l.scopeName));break}}}var h0=class{constructor(){this.kind=0}},p0=class{constructor(){this.kind=1}},B0=class{constructor(n){this.ruleName=n,this.kind=2}},C0=class{constructor(n){this.scopeName=n,this.kind=3}},E0=class{constructor(n,A){this.scopeName=n,this.ruleName=A,this.kind=4}};function Xg(n){if(n==="$base")return new h0;if(n==="$self")return new p0;const A=n.indexOf("#");if(A===-1)return new C0(n);if(A===0)return new B0(n.substring(1));{const e=n.substring(0,A),o=n.substring(A+1);return new E0(e,o)}}var Q0=/\\(\d+)/,Vg=/\\(\d+)/g,m0=-1,Au=-2;function AR(n){return n}function eR(n){return n}var Eo=class{constructor(n,A,e,o){this.$location=n,this.id=A,this._name=e||null,this._nameIsCapturing=Ds.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=Ds.hasCaptures(this._contentName)}get debugName(){const n=this.$location?`${Yg(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${n}`}getName(n,A){return!this._nameIsCapturing||this._name===null||n===null||A===null?this._name:Ds.replaceCaptures(this._name,n,A)}getContentName(n,A){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ds.replaceCaptures(this._contentName,n,A)}},I0=class extends Eo{constructor(n,A,e,o,Q){super(n,A,e,o),this.retokenizeCapturedWithRuleId=Q}dispose(){}collectPatterns(n,A){throw new Error("Not supported!")}compile(n,A){throw new Error("Not supported!")}compileAG(n,A,e,o){throw new Error("Not supported!")}},f0=class extends Eo{constructor(n,A,e,o,Q){super(n,A,e,null),this._match=new Qo(o,this.id),this.captures=Q,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,A){A.push(this._match)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,e,o){return this._getCachedCompiledPatterns(n).compileAG(n,e,o)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new mo,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},eu=class extends Eo{constructor(n,A,e,o,Q){super(n,A,e,o),this.patterns=Q.patterns,this.hasMissingPatterns=Q.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,A){for(const e of this.patterns)n.getRule(e).collectPatterns(n,A)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,e,o){return this._getCachedCompiledPatterns(n).compileAG(n,e,o)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new mo,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ya=class extends Eo{constructor(n,A,e,o,Q,D,l,b,S,f){super(n,A,e,o),this._begin=new Qo(Q,this.id),this.beginCaptures=D,this._end=new Qo(l||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=b,this.applyEndPatternLast=S||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(n,A){return this._end.resolveBackReferences(n,A)}collectPatterns(n,A){A.push(this._begin)}compile(n,A){return this._getCachedCompiledPatterns(n,A).compile(n)}compileAG(n,A,e,o){return this._getCachedCompiledPatterns(n,A).compileAG(n,e,o)}_getCachedCompiledPatterns(n,A){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new mo;for(const e of this.patterns)n.getRule(e).collectPatterns(n,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,A):this._cachedCompiledPatterns.setSource(0,A)),this._cachedCompiledPatterns}},_s=class extends Eo{constructor(n,A,e,o,Q,D,l,b,S){super(n,A,e,o),this._begin=new Qo(Q,this.id),this.beginCaptures=D,this.whileCaptures=b,this._while=new Qo(l,Au),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=S.patterns,this.hasMissingPatterns=S.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(n,A){return this._while.resolveBackReferences(n,A)}collectPatterns(n,A){A.push(this._begin)}compile(n,A){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,A,e,o){return this._getCachedCompiledPatterns(n).compileAG(n,e,o)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new mo;for(const A of this.patterns)n.getRule(A).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,A){return this._getCachedCompiledWhilePatterns(n,A).compile(n)}compileWhileAG(n,A,e,o){return this._getCachedCompiledWhilePatterns(n,A).compileAG(n,e,o)}_getCachedCompiledWhilePatterns(n,A){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new mo,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,A||""),this._cachedCompiledWhilePatterns}},tu=class ft{static createCaptureRule(A,e,o,Q,D){return A.registerRule(l=>new I0(e,l,o,Q,D))}static getCompiledRuleId(A,e,o){return A.id||e.registerRule(Q=>{if(A.id=Q,A.match)return new f0(A.$vscodeTextmateLocation,A.id,A.name,A.match,ft._compileCaptures(A.captures,e,o));if(typeof A.begin>"u"){A.repository&&(o=Tg({},o,A.repository));let D=A.patterns;return typeof D>"u"&&A.include&&(D=[{include:A.include}]),new eu(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,ft._compilePatterns(D,e,o))}return A.while?new _s(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,ft._compileCaptures(A.beginCaptures||A.captures,e,o),A.while,ft._compileCaptures(A.whileCaptures||A.captures,e,o),ft._compilePatterns(A.patterns,e,o)):new ya(A.$vscodeTextmateLocation,A.id,A.name,A.contentName,A.begin,ft._compileCaptures(A.beginCaptures||A.captures,e,o),A.end,ft._compileCaptures(A.endCaptures||A.captures,e,o),A.applyEndPatternLast,ft._compilePatterns(A.patterns,e,o))}),A.id}static _compileCaptures(A,e,o){let Q=[];if(A){let D=0;for(const l in A){if(l==="$vscodeTextmateLocation")continue;const b=parseInt(l,10);b>D&&(D=b)}for(let l=0;l<=D;l++)Q[l]=null;for(const l in A){if(l==="$vscodeTextmateLocation")continue;const b=parseInt(l,10);let S=0;A[l].patterns&&(S=ft.getCompiledRuleId(A[l],e,o)),Q[b]=ft.createCaptureRule(e,A[l].$vscodeTextmateLocation,A[l].name,A[l].contentName,S)}}return Q}static _compilePatterns(A,e,o){let Q=[];if(A)for(let D=0,l=A.length;D<l;D++){const b=A[D];let S=-1;if(b.include){const f=Xg(b.include);switch(f.kind){case 0:case 1:S=ft.getCompiledRuleId(o[b.include],e,o);break;case 2:let x=o[f.ruleName];x&&(S=ft.getCompiledRuleId(x,e,o));break;case 3:case 4:const L=f.scopeName,P=f.kind===4?f.ruleName:null,z=e.getExternalGrammar(L,o);if(z)if(P){let K=z.repository[P];K&&(S=ft.getCompiledRuleId(K,e,z.repository))}else S=ft.getCompiledRuleId(z.repository.$self,e,z.repository);break}}else S=ft.getCompiledRuleId(b,e,o);if(S!==-1){const f=e.getRule(S);let x=!1;if((f instanceof eu||f instanceof ya||f instanceof _s)&&f.hasMissingPatterns&&f.patterns.length===0&&(x=!0),x)continue;Q.push(S)}}return{patterns:Q,hasMissingPatterns:(A?A.length:0)!==Q.length}}},Qo=class tB{constructor(A,e){if(A){const o=A.length;let Q=0,D=[],l=!1;for(let b=0;b<o;b++)if(A.charAt(b)==="\\"&&b+1<o){const f=A.charAt(b+1);f==="z"?(D.push(A.substring(Q,b)),D.push("$(?!\\n)(?<!\\n)"),Q=b+2):(f==="A"||f==="G")&&(l=!0),b++}this.hasAnchor=l,Q===0?this.source=A:(D.push(A.substring(Q,o)),this.source=D.join(""))}else this.hasAnchor=!1,this.source=A;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=e,this.hasBackReferences=Q0.test(this.source)}clone(){return new tB(this.source,this.ruleId)}setSource(A){this.source!==A&&(this.source=A,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(A,e){let o=e.map(Q=>A.substring(Q.start,Q.end));return Vg.lastIndex=0,this.source.replace(Vg,(Q,D)=>Zg(o[parseInt(D,10)]||""))}_buildAnchorCache(){let A=[],e=[],o=[],Q=[],D,l,b,S;for(D=0,l=this.source.length;D<l;D++)b=this.source.charAt(D),A[D]=b,e[D]=b,o[D]=b,Q[D]=b,b==="\\"&&D+1<l&&(S=this.source.charAt(D+1),S==="A"?(A[D+1]="",e[D+1]="",o[D+1]="A",Q[D+1]="A"):S==="G"?(A[D+1]="",e[D+1]="G",o[D+1]="",Q[D+1]="G"):(A[D+1]=S,e[D+1]=S,o[D+1]=S,Q[D+1]=S),D++);return{A0_G0:A.join(""),A0_G1:e.join(""),A1_G0:o.join(""),A1_G1:Q.join("")}}resolveAnchors(A,e){return!this.hasAnchor||!this._anchorCache?this.source:A?e?this._anchorCache.A1_G1:this._anchorCache.A1_G0:e?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},mo=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(n){this._items.push(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}unshift(n){this._items.unshift(n),this._hasAnchors=this._hasAnchors||n.hasAnchor}length(){return this._items.length}setSource(n,A){this._items[n].source!==A&&(this._disposeCaches(),this._items[n].setSource(A))}compile(n){if(!this._cached){let A=this._items.map(e=>e.source);this._cached=new nu(n,A,this._items.map(e=>e.ruleId))}return this._cached}compileAG(n,A,e){return this._hasAnchors?A?e?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(n,A,e)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(n,A,e)),this._anchorCache.A1_G0):e?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(n,A,e)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(n,A,e)),this._anchorCache.A0_G0):this.compile(n)}_resolveAnchors(n,A,e){let o=this._items.map(Q=>Q.resolveAnchors(A,e));return new nu(n,o,this._items.map(Q=>Q.ruleId))}},nu=class{constructor(n,A,e){this.regExps=A,this.rules=e,this.scanner=n.createOnigScanner(A)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const n=[];for(let A=0,e=this.rules.length;A<e;A++)n.push(" - "+this.rules[A]+": "+this.regExps[A]);return n.join(`
|
|
81
81
|
`)}findNextMatchSync(n,A,e){const o=this.scanner.findNextMatchSync(n,A,e);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}},va=class{constructor(n,A){this.languageId=n,this.tokenType=A}},ka=class Dc{constructor(A,e){this._getBasicScopeAttributes=new zg(o=>{const Q=this._scopeToLanguage(o),D=this._toStandardTokenType(o);return new va(Q,D)}),this._defaultAttributes=new va(A,8),this._embeddedLanguagesMatcher=new D0(Object.entries(e||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(A){return A===null?Dc._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(A)}_scopeToLanguage(A){return this._embeddedLanguagesMatcher.match(A)||0}_toStandardTokenType(A){const e=A.match(Dc.STANDARD_TOKEN_TYPE_REGEXP);if(!e)return 8;switch(e[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}};ka._NULL_SCOPE_METADATA=new va(0,0),ka.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var w0=ka,D0=class{constructor(n){if(n.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(n);const A=n.map(([e,o])=>Zg(e));A.sort(),A.reverse(),this.scopesRegExp=new RegExp(`^((${A.join(")|(")}))($|\\.)`,"")}}match(n){if(!this.scopesRegExp)return;const A=n.match(this.scopesRegExp);if(A)return this.values.get(A[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var iu=class{constructor(n,A){this.stack=n,this.stoppedEarly=A}};function ou(n,A,e,o,Q,D,l,b){const S=A.content.length;let f=!1,x=-1;if(l){const z=b0(n,A,e,o,Q,D);Q=z.stack,o=z.linePos,e=z.isFirstLine,x=z.anchorPosition}const L=Date.now();for(;!f;){if(b!==0&&Date.now()-L>b)return new iu(Q,!0);P()}return new iu(Q,!1);function P(){const z=y0(n,A,e,o,Q,x);if(!z){D.produce(Q,S),f=!0;return}const K=z.captureIndices,U=z.matchedRuleId,_=K&&K.length>0?K[0].end>o:!1;if(U===m0){const I=Q.getRule(n);D.produce(Q,K[0].start),Q=Q.withContentNameScopesList(Q.nameScopesList),Io(n,A,e,Q,D,I.endCaptures,K),D.produce(Q,K[0].end);const G=Q;if(Q=Q.parent,x=G.getAnchorPos(),!_&&G.getEnterPos()===o){Q=G,D.produce(Q,S),f=!0;return}}else{const I=n.getRule(U);D.produce(Q,K[0].start);const G=Q,k=I.getName(A.content,K),y=Q.contentNameScopesList.pushAttributed(k,n);if(Q=Q.push(U,o,x,K[0].end===S,null,y,y),I instanceof ya){const C=I;Io(n,A,e,Q,D,C.beginCaptures,K),D.produce(Q,K[0].end),x=K[0].end;const d=C.getContentName(A.content,K),p=y.pushAttributed(d,n);if(Q=Q.withContentNameScopesList(p),C.endHasBackReferences&&(Q=Q.withEndRule(C.getEndWithResolvedBackReferences(A.content,K))),!_&&G.hasSameRuleAs(Q)){Q=Q.pop(),D.produce(Q,S),f=!0;return}}else if(I instanceof _s){const C=I;Io(n,A,e,Q,D,C.beginCaptures,K),D.produce(Q,K[0].end),x=K[0].end;const d=C.getContentName(A.content,K),p=y.pushAttributed(d,n);if(Q=Q.withContentNameScopesList(p),C.whileHasBackReferences&&(Q=Q.withEndRule(C.getWhileWithResolvedBackReferences(A.content,K))),!_&&G.hasSameRuleAs(Q)){Q=Q.pop(),D.produce(Q,S),f=!0;return}}else if(Io(n,A,e,Q,D,I.captures,K),D.produce(Q,K[0].end),Q=Q.pop(),!_){Q=Q.safePop(),D.produce(Q,S),f=!0;return}}K[0].end>o&&(o=K[0].end,e=!1)}}function b0(n,A,e,o,Q,D){let l=Q.beginRuleCapturedEOL?0:-1;const b=[];for(let S=Q;S;S=S.pop()){const f=S.getRule(n);f instanceof _s&&b.push({rule:f,stack:S})}for(let S=b.pop();S;S=b.pop()){const{ruleScanner:f,findOptions:x}=_0(S.rule,n,S.stack.endRule,e,o===l),L=f.findNextMatchSync(A,o,x);if(L){if(L.ruleId!==Au){Q=S.stack.pop();break}L.captureIndices&&L.captureIndices.length&&(D.produce(S.stack,L.captureIndices[0].start),Io(n,A,e,S.stack,D,S.rule.whileCaptures,L.captureIndices),D.produce(S.stack,L.captureIndices[0].end),l=L.captureIndices[0].end,L.captureIndices[0].end>o&&(o=L.captureIndices[0].end,e=!1))}else{Q=S.stack.pop();break}}return{stack:Q,linePos:o,anchorPosition:l,isFirstLine:e}}function y0(n,A,e,o,Q,D){const l=v0(n,A,e,o,Q,D),b=n.getInjections();if(b.length===0)return l;const S=k0(b,n,A,e,o,Q,D);if(!S)return l;if(!l)return S;const f=l.captureIndices[0].start,x=S.captureIndices[0].start;return x<f||S.priorityMatch&&x===f?S:l}function v0(n,A,e,o,Q,D){const l=Q.getRule(n),{ruleScanner:b,findOptions:S}=su(l,n,Q.endRule,e,o===D),f=b.findNextMatchSync(A,o,S);return f?{captureIndices:f.captureIndices,matchedRuleId:f.ruleId}:null}function k0(n,A,e,o,Q,D,l){let b=Number.MAX_VALUE,S=null,f,x=0;const L=D.contentNameScopesList.getScopeNames();for(let P=0,z=n.length;P<z;P++){const K=n[P];if(!K.matcher(L))continue;const U=A.getRule(K.ruleId),{ruleScanner:_,findOptions:I}=su(U,A,null,o,Q===l),G=_.findNextMatchSync(e,Q,I);if(!G)continue;const k=G.captureIndices[0].start;if(!(k>=b)&&(b=k,S=G.captureIndices,f=G.ruleId,x=K.priority,b===Q))break}return S?{priorityMatch:x===-1,captureIndices:S,matchedRuleId:f}:null}function su(n,A,e,o,Q){return{ruleScanner:n.compileAG(A,e,o,Q),findOptions:0}}function _0(n,A,e,o,Q){return{ruleScanner:n.compileWhileAG(A,e,o,Q),findOptions:0}}function Io(n,A,e,o,Q,D,l){if(D.length===0)return;const b=A.content,S=Math.min(D.length,l.length),f=[],x=l[0].end;for(let L=0;L<S;L++){const P=D[L];if(P===null)continue;const z=l[L];if(z.length===0)continue;if(z.start>x)break;for(;f.length>0&&f[f.length-1].endPos<=z.start;)Q.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop();if(f.length>0?Q.produceFromScopes(f[f.length-1].scopes,z.start):Q.produce(o,z.start),P.retokenizeCapturedWithRuleId){const U=P.getName(b,l),_=o.contentNameScopesList.pushAttributed(U,n),I=P.getContentName(b,l),G=_.pushAttributed(I,n),k=o.push(P.retokenizeCapturedWithRuleId,z.start,-1,!1,null,_,G),y=n.createOnigString(b.substring(0,z.end));ou(n,y,e&&z.start===0,z.start,k,Q,!1,0),qg(y);continue}const K=P.getName(b,l);if(K!==null){const _=(f.length>0?f[f.length-1].scopes:o.contentNameScopesList).pushAttributed(K,n);f.push(new M0(_,z.end))}}for(;f.length>0;)Q.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop()}var M0=class{constructor(n,A){this.scopes=n,this.endPos=A}};function S0(n,A,e,o,Q,D,l,b){return new F0(n,A,e,o,Q,D,l,b)}function ru(n,A,e,o,Q){const D=ys(A,Ms),l=tu.getCompiledRuleId(e,o,Q.repository);for(const b of D)n.push({debugSelector:A,matcher:b.matcher,ruleId:l,grammar:Q,priority:b.priority})}function Ms(n,A){if(A.length<n.length)return!1;let e=0;return n.every(o=>{for(let Q=e;Q<A.length;Q++)if(x0(A[Q],o))return e=Q+1,!0;return!1})}function x0(n,A){if(!n)return!1;if(n===A)return!0;const e=A.length;return n.length>e&&n.substr(0,e)===A&&n[e]==="."}var F0=class{constructor(n,A,e,o,Q,D,l,b){if(this._rootScopeName=n,this.balancedBracketSelectors=D,this._onigLib=b,this._basicScopeAttributesProvider=new w0(e,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=au(A,null),this._injections=null,this._tokenTypeMatchers=[],Q)for(const S of Object.keys(Q)){const f=ys(S,Ms);for(const x of f)this._tokenTypeMatchers.push({matcher:x.matcher,type:Q[S]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const n of this._ruleId2desc)n&&n.dispose()}createOnigScanner(n){return this._onigLib.createOnigScanner(n)}createOnigString(n){return this._onigLib.createOnigString(n)}getMetadataForScope(n){return this._basicScopeAttributesProvider.getBasicScopeAttributes(n)}_collectInjections(){const n={lookup:Q=>Q===this._rootScopeName?this._grammar:this.getExternalGrammar(Q),injections:Q=>this._grammarRepository.injections(Q)},A=[],e=this._rootScopeName,o=n.lookup(e);if(o){const Q=o.injections;if(Q)for(let l in Q)ru(A,l,Q[l],this,o);const D=this._grammarRepository.injections(e);D&&D.forEach(l=>{const b=this.getExternalGrammar(l);if(b){const S=b.injectionSelector;S&&ru(A,S,b,this,b)}})}return A.sort((Q,D)=>Q.priority-D.priority),A}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(n){const A=++this._lastRuleId,e=n(A);return this._ruleId2desc[A]=e,e}getRule(n){return this._ruleId2desc[n]}getExternalGrammar(n,A){if(this._includedGrammars[n])return this._includedGrammars[n];if(this._grammarRepository){const e=this._grammarRepository.lookup(n);if(e)return this._includedGrammars[n]=au(e,A&&A.$base),this._includedGrammars[n]}}tokenizeLine(n,A,e=0){const o=this._tokenize(n,A,!1,e);return{tokens:o.lineTokens.getResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}tokenizeLine2(n,A,e=0){const o=this._tokenize(n,A,!0,e);return{tokens:o.lineTokens.getBinaryResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}_tokenize(n,A,e,o){this._rootId===-1&&(this._rootId=tu.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let Q;if(!A||A===Ma.NULL){Q=!0;const f=this._basicScopeAttributesProvider.getDefaultAttributes(),x=this.themeProvider.getDefaults(),L=Ri.set(0,f.languageId,f.tokenType,null,x.fontStyle,x.foregroundId,x.backgroundId),P=this.getRule(this._rootId).getName(null,null);let z;P?z=fo.createRootAndLookUpScopeName(P,L,this):z=fo.createRoot("unknown",L),A=new Ma(null,this._rootId,-1,-1,!1,null,z,z)}else Q=!1,A.reset();n=n+`
|
|
82
82
|
`;const D=this.createOnigString(n),l=D.content.length,b=new R0(e,n,this._tokenTypeMatchers,this.balancedBracketSelectors),S=ou(this,D,Q,0,A,b,!0,o);return qg(D),{lineLength:l,lineTokens:b,ruleStack:S.stack,stoppedEarly:S.stoppedEarly}}};function au(n,A){return n=Xw(n),n.repository=n.repository||{},n.repository.$self={$vscodeTextmateLocation:n.$vscodeTextmateLocation,patterns:n.patterns,name:n.scopeName},n.repository.$base=A||n.repository.$self,n}var fo=class bn{constructor(A,e,o){this.parent=A,this.scopePath=e,this.tokenAttributes=o}static fromExtension(A,e){let o=A,Q=(A==null?void 0:A.scopePath)??null;for(const D of e)Q=wa.push(Q,D.scopeNames),o=new bn(o,Q,D.encodedTokenAttributes);return o}static createRoot(A,e){return new bn(null,new wa(null,A),e)}static createRootAndLookUpScopeName(A,e,o){const Q=o.getMetadataForScope(A),D=new wa(null,A),l=o.themeProvider.themeMatch(D),b=bn.mergeAttributes(e,Q,l);return new bn(null,D,b)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(A){return bn.equals(this,A)}static equals(A,e){do{if(A===e||!A&&!e)return!0;if(!A||!e||A.scopeName!==e.scopeName||A.tokenAttributes!==e.tokenAttributes)return!1;A=A.parent,e=e.parent}while(!0)}static mergeAttributes(A,e,o){let Q=-1,D=0,l=0;return o!==null&&(Q=o.fontStyle,D=o.foregroundId,l=o.backgroundId),Ri.set(A,e.languageId,e.tokenType,null,Q,D,l)}pushAttributed(A,e){if(A===null)return this;if(A.indexOf(" ")===-1)return bn._pushAttributed(this,A,e);const o=A.split(/ /g);let Q=this;for(const D of o)Q=bn._pushAttributed(Q,D,e);return Q}static _pushAttributed(A,e,o){const Q=o.getMetadataForScope(e),D=A.scopePath.push(e),l=o.themeProvider.themeMatch(D),b=bn.mergeAttributes(A.tokenAttributes,Q,l);return new bn(A,D,b)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(A){var Q;const e=[];let o=this;for(;o&&o!==A;)e.push({encodedTokenAttributes:o.tokenAttributes,scopeNames:o.scopePath.getExtensionIfDefined(((Q=o.parent)==null?void 0:Q.scopePath)??null)}),o=o.parent;return o===A?e.reverse():void 0}},_a=class lo{constructor(A,e,o,Q,D,l,b,S){this.parent=A,this.ruleId=e,this.beginRuleCapturedEOL=D,this.endRule=l,this.nameScopesList=b,this.contentNameScopesList=S,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=o,this._anchorPos=Q}equals(A){return A===null?!1:lo._equals(this,A)}static _equals(A,e){return A===e?!0:this._structuralEquals(A,e)?fo.equals(A.contentNameScopesList,e.contentNameScopesList):!1}static _structuralEquals(A,e){do{if(A===e||!A&&!e)return!0;if(!A||!e||A.depth!==e.depth||A.ruleId!==e.ruleId||A.endRule!==e.endRule)return!1;A=A.parent,e=e.parent}while(!0)}clone(){return this}static _reset(A){for(;A;)A._enterPos=-1,A._anchorPos=-1,A=A.parent}reset(){lo._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(A,e,o,Q,D,l,b){return new lo(this,A,e,o,Q,D,l,b)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(A){return A.getRule(this.ruleId)}toString(){const A=[];return this._writeString(A,0),"["+A.join(",")+"]"}_writeString(A,e){var o,Q;return this.parent&&(e=this.parent._writeString(A,e)),A[e++]=`(${this.ruleId}, ${(o=this.nameScopesList)==null?void 0:o.toString()}, ${(Q=this.contentNameScopesList)==null?void 0:Q.toString()})`,e}withContentNameScopesList(A){return this.contentNameScopesList===A?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,A)}withEndRule(A){return this.endRule===A?this:new lo(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,A,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(A){let e=this;for(;e&&e._enterPos===A._enterPos;){if(e.ruleId===A.ruleId)return!0;e=e.parent}return!1}toStateStackFrame(){var A,e,o;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((e=this.nameScopesList)==null?void 0:e.getExtensionIfDefined(((A=this.parent)==null?void 0:A.nameScopesList)??null))??[],contentNameScopesList:((o=this.contentNameScopesList)==null?void 0:o.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(A,e){const o=fo.fromExtension((A==null?void 0:A.nameScopesList)??null,e.nameScopesList);return new lo(A,e.ruleId,e.enterPos??-1,e.anchorPos??-1,e.beginRuleCapturedEOL,e.endRule,o,fo.fromExtension(o,e.contentNameScopesList))}};_a.NULL=new _a(null,0,0,0,!1,null,null,null);var Ma=_a,N0=class{constructor(n,A){this.allowAny=!1,this.balancedBracketScopes=n.flatMap(e=>e==="*"?(this.allowAny=!0,[]):ys(e,Ms).map(o=>o.matcher)),this.unbalancedBracketScopes=A.flatMap(e=>ys(e,Ms).map(o=>o.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(n){for(const A of this.unbalancedBracketScopes)if(A(n))return!1;for(const A of this.balancedBracketScopes)if(A(n))return!0;return this.allowAny}},R0=class{constructor(n,A,e,o){this.balancedBracketSelectors=o,this._emitBinaryTokens=n,this._tokenTypeOverrides=e,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(n,A){this.produceFromScopes(n.contentNameScopesList,A)}produceFromScopes(n,A){var o;if(this._lastTokenEndIndex>=A)return;if(this._emitBinaryTokens){let Q=(n==null?void 0:n.tokenAttributes)??0,D=!1;if((o=this.balancedBracketSelectors)!=null&&o.matchesAlways&&(D=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const l=(n==null?void 0:n.getScopeNames())??[];for(const b of this._tokenTypeOverrides)b.matcher(l)&&(Q=Ri.set(Q,0,b.type,null,-1,0,0));this.balancedBracketSelectors&&(D=this.balancedBracketSelectors.match(l))}if(D&&(Q=Ri.set(Q,0,8,D,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===Q){this._lastTokenEndIndex=A;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(Q),this._lastTokenEndIndex=A;return}const e=(n==null?void 0:n.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:A,scopes:e}),this._lastTokenEndIndex=A}getResult(n,A){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===A-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,A),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(n,A){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===A-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(n,A),this._binaryTokens[this._binaryTokens.length-2]=0);const e=new Uint32Array(this._binaryTokens.length);for(let o=0,Q=this._binaryTokens.length;o<Q;o++)e[o]=this._binaryTokens[o];return e}},L0=class{constructor(n,A){this._onigLib=A,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=n}dispose(){for(const n of this._grammars.values())n.dispose()}setTheme(n){this._theme=n}getColorMap(){return this._theme.getColorMap()}addGrammar(n,A){this._rawGrammars.set(n.scopeName,n),A&&this._injectionGrammars.set(n.scopeName,A)}lookup(n){return this._rawGrammars.get(n)}injections(n){return this._injectionGrammars.get(n)}getDefaults(){return this._theme.getDefaults()}themeMatch(n){return this._theme.match(n)}grammarForScopeName(n,A,e,o,Q){if(!this._grammars.has(n)){let D=this._rawGrammars.get(n);if(!D)return null;this._grammars.set(n,S0(n,D,A,e,o,Q,this,this._onigLib))}return this._grammars.get(n)}},G0=class{constructor(A){this._options=A,this._syncRegistry=new L0(bs.createFromRawTheme(A.theme,A.colorMap),A.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(A,e){this._syncRegistry.setTheme(bs.createFromRawTheme(A,e))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(A,e,o){return this.loadGrammarWithConfiguration(A,e,{embeddedLanguages:o})}loadGrammarWithConfiguration(A,e,o){return this._loadGrammar(A,e,o.embeddedLanguages,o.tokenTypes,new N0(o.balancedBracketSelectors||[],o.unbalancedBracketSelectors||[]))}loadGrammar(A){return this._loadGrammar(A,0,null,null,null)}_loadGrammar(A,e,o,Q,D){const l=new u0(this._syncRegistry,A);for(;l.Q.length>0;)l.Q.map(b=>this._loadSingleGrammar(b.scopeName)),l.processQueue();return this._grammarForScopeName(A,e,o,Q,D)}_loadSingleGrammar(A){this._ensureGrammarCache.has(A)||(this._doLoadSingleGrammar(A),this._ensureGrammarCache.set(A,!0))}_doLoadSingleGrammar(A){const e=this._options.loadGrammar(A);if(e){const o=typeof this._options.getInjections=="function"?this._options.getInjections(A):void 0;this._syncRegistry.addGrammar(e,o)}}addGrammar(A,e=[],o=0,Q=null){return this._syncRegistry.addGrammar(A,e),this._grammarForScopeName(A.scopeName,o,Q)}_grammarForScopeName(A,e=0,o=null,Q=null,D=null){return this._syncRegistry.grammarForScopeName(A,e,o,Q,D)}},Sa=Ma.NULL;const H0=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class wo{constructor(A,e,o){this.property=A,this.normal=e,o&&(this.space=o)}}wo.prototype.property={},wo.prototype.normal={},wo.prototype.space=null;function lu(n,A){const e={},o={};let Q=-1;for(;++Q<n.length;)Object.assign(e,n[Q].property),Object.assign(o,n[Q].normal);return new wo(e,o,A)}function xa(n){return n.toLowerCase()}class Wt{constructor(A,e){this.property=A,this.attribute=e}}Wt.prototype.space=null,Wt.prototype.boolean=!1,Wt.prototype.booleanish=!1,Wt.prototype.overloadedBoolean=!1,Wt.prototype.number=!1,Wt.prototype.commaSeparated=!1,Wt.prototype.spaceSeparated=!1,Wt.prototype.commaOrSpaceSeparated=!1,Wt.prototype.mustUseProperty=!1,Wt.prototype.defined=!1;let P0=0;const Ie=ci(),st=ci(),cu=ci(),$A=ci(),Te=ci(),Li=ci(),Gt=ci();function ci(){return 2**++P0}const Fa=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ie,booleanish:st,commaOrSpaceSeparated:Gt,commaSeparated:Li,number:$A,overloadedBoolean:cu,spaceSeparated:Te},Symbol.toStringTag,{value:"Module"})),Na=Object.keys(Fa);class Ra extends Wt{constructor(A,e,o,Q){let D=-1;if(super(A,e),gu(this,"space",Q),typeof o=="number")for(;++D<Na.length;){const l=Na[D];gu(this,Na[D],(o&Fa[l])===Fa[l])}}}Ra.prototype.defined=!0;function gu(n,A,e){e&&(n[A]=e)}const K0={}.hasOwnProperty;function Gi(n){const A={},e={};let o;for(o in n.properties)if(K0.call(n.properties,o)){const Q=n.properties[o],D=new Ra(o,n.transform(n.attributes||{},o),Q,n.space);n.mustUseProperty&&n.mustUseProperty.includes(o)&&(D.mustUseProperty=!0),A[o]=D,e[xa(o)]=o,e[xa(D.attribute)]=o}return new wo(A,e,n.space)}const uu=Gi({space:"xlink",transform(n,A){return"xlink:"+A.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),du=Gi({space:"xml",transform(n,A){return"xml:"+A.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function hu(n,A){return A in n?n[A]:A}function pu(n,A){return hu(n,A.toLowerCase())}const Bu=Gi({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:pu,properties:{xmlns:null,xmlnsXLink:null}}),Cu=Gi({transform(n,A){return A==="role"?A:"aria-"+A.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:st,ariaAutoComplete:null,ariaBusy:st,ariaChecked:st,ariaColCount:$A,ariaColIndex:$A,ariaColSpan:$A,ariaControls:Te,ariaCurrent:null,ariaDescribedBy:Te,ariaDetails:null,ariaDisabled:st,ariaDropEffect:Te,ariaErrorMessage:null,ariaExpanded:st,ariaFlowTo:Te,ariaGrabbed:st,ariaHasPopup:null,ariaHidden:st,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Te,ariaLevel:$A,ariaLive:null,ariaModal:st,ariaMultiLine:st,ariaMultiSelectable:st,ariaOrientation:null,ariaOwns:Te,ariaPlaceholder:null,ariaPosInSet:$A,ariaPressed:st,ariaReadOnly:st,ariaRelevant:null,ariaRequired:st,ariaRoleDescription:Te,ariaRowCount:$A,ariaRowIndex:$A,ariaRowSpan:$A,ariaSelected:st,ariaSetSize:$A,ariaSort:null,ariaValueMax:$A,ariaValueMin:$A,ariaValueNow:$A,ariaValueText:null,role:null}}),U0=Gi({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:pu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Li,acceptCharset:Te,accessKey:Te,action:null,allow:null,allowFullScreen:Ie,allowPaymentRequest:Ie,allowUserMedia:Ie,alt:null,as:null,async:Ie,autoCapitalize:null,autoComplete:Te,autoFocus:Ie,autoPlay:Ie,blocking:Te,capture:null,charSet:null,checked:Ie,cite:null,className:Te,cols:$A,colSpan:null,content:null,contentEditable:st,controls:Ie,controlsList:Te,coords:$A|Li,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ie,defer:Ie,dir:null,dirName:null,disabled:Ie,download:cu,draggable:st,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ie,formTarget:null,headers:Te,height:$A,hidden:Ie,high:$A,href:null,hrefLang:null,htmlFor:Te,httpEquiv:Te,id:null,imageSizes:null,imageSrcSet:null,inert:Ie,inputMode:null,integrity:null,is:null,isMap:Ie,itemId:null,itemProp:Te,itemRef:Te,itemScope:Ie,itemType:Te,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ie,low:$A,manifest:null,max:null,maxLength:$A,media:null,method:null,min:null,minLength:$A,multiple:Ie,muted:Ie,name:null,nonce:null,noModule:Ie,noValidate:Ie,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ie,optimum:$A,pattern:null,ping:Te,placeholder:null,playsInline:Ie,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ie,referrerPolicy:null,rel:Te,required:Ie,reversed:Ie,rows:$A,rowSpan:$A,sandbox:Te,scope:null,scoped:Ie,seamless:Ie,selected:Ie,shadowRootClonable:Ie,shadowRootDelegatesFocus:Ie,shadowRootMode:null,shape:null,size:$A,sizes:null,slot:null,span:$A,spellCheck:st,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$A,step:null,style:null,tabIndex:$A,target:null,title:null,translate:null,type:null,typeMustMatch:Ie,useMap:null,value:st,width:$A,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Te,axis:null,background:null,bgColor:null,border:$A,borderColor:null,bottomMargin:$A,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ie,declare:Ie,event:null,face:null,frame:null,frameBorder:null,hSpace:$A,leftMargin:$A,link:null,longDesc:null,lowSrc:null,marginHeight:$A,marginWidth:$A,noResize:Ie,noHref:Ie,noShade:Ie,noWrap:Ie,object:null,profile:null,prompt:null,rev:null,rightMargin:$A,rules:null,scheme:null,scrolling:st,standby:null,summary:null,text:null,topMargin:$A,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$A,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ie,disableRemotePlayback:Ie,prefix:null,property:null,results:$A,security:null,unselectable:null}}),T0=Gi({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:hu,properties:{about:Gt,accentHeight:$A,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$A,amplitude:$A,arabicForm:null,ascent:$A,attributeName:null,attributeType:null,azimuth:$A,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$A,by:null,calcMode:null,capHeight:$A,className:Te,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:$A,diffuseConstant:$A,direction:null,display:null,dur:null,divisor:$A,dominantBaseline:null,download:Ie,dx:null,dy:null,edgeMode:null,editable:null,elevation:$A,enableBackground:null,end:null,event:null,exponent:$A,externalResourcesRequired:null,fill:null,fillOpacity:$A,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Li,g2:Li,glyphName:Li,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$A,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$A,horizOriginX:$A,horizOriginY:$A,id:null,ideographic:$A,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$A,k:$A,k1:$A,k2:$A,k3:$A,k4:$A,kernelMatrix:Gt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$A,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:$A,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:$A,overlineThickness:$A,paintOrder:null,panose1:null,path:null,pathLength:$A,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Te,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$A,pointsAtY:$A,pointsAtZ:$A,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Gt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Gt,rev:Gt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Gt,requiredFeatures:Gt,requiredFonts:Gt,requiredFormats:Gt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:$A,specularExponent:$A,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$A,strikethroughThickness:$A,string:null,stroke:null,strokeDashArray:Gt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$A,strokeOpacity:$A,strokeWidth:null,style:null,surfaceScale:$A,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Gt,tabIndex:$A,tableValues:null,target:null,targetX:$A,targetY:$A,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Gt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$A,underlineThickness:$A,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$A,values:null,vAlphabetic:$A,vMathematical:$A,vectorEffect:null,vHanging:$A,vIdeographic:$A,version:null,vertAdvY:$A,vertOriginX:$A,vertOriginY:$A,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$A,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Y0=/^data[-\w.:]+$/i,Eu=/-[a-z]/g,O0=/[A-Z]/g;function $0(n,A){const e=xa(A);let o=A,Q=Wt;if(e in n.normal)return n.property[n.normal[e]];if(e.length>4&&e.slice(0,4)==="data"&&Y0.test(A)){if(A.charAt(4)==="-"){const D=A.slice(5).replace(Eu,Z0);o="data"+D.charAt(0).toUpperCase()+D.slice(1)}else{const D=A.slice(4);if(!Eu.test(D)){let l=D.replace(O0,J0);l.charAt(0)!=="-"&&(l="-"+l),A="data"+l}}Q=Ra}return new Q(o,A)}function J0(n){return"-"+n.toLowerCase()}function Z0(n){return n.charAt(1).toUpperCase()}const z0=lu([du,uu,Bu,Cu,U0],"html"),Qu=lu([du,uu,Bu,Cu,T0],"svg"),mu={}.hasOwnProperty;function W0(n,A){const e=A||{};function o(Q,...D){let l=o.invalid;const b=o.handlers;if(Q&&mu.call(Q,n)){const S=String(Q[n]);l=mu.call(b,S)?b[S]:o.unknown}if(l)return l.call(this,Q,...D)}return o.handlers=e.handlers||{},o.invalid=e.invalid,o.unknown=e.unknown,o}const j0=/["&'<>`]/g,q0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,X0=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,V0=/[|\\{}()[\]^$+*?.]/g,Iu=new WeakMap;function AD(n,A){if(n=n.replace(A.subset?eD(A.subset):j0,o),A.subset||A.escapeOnly)return n;return n.replace(q0,e).replace(X0,o);function e(Q,D,l){return A.format((Q.charCodeAt(0)-55296)*1024+Q.charCodeAt(1)-56320+65536,l.charCodeAt(D+2),A)}function o(Q,D,l){return A.format(Q.charCodeAt(0),l.charCodeAt(D+1),A)}}function eD(n){let A=Iu.get(n);return A||(A=tD(n),Iu.set(n,A)),A}function tD(n){const A=[];let e=-1;for(;++e<n.length;)A.push(n[e].replace(V0,"\\$&"));return new RegExp("(?:"+A.join("|")+")","g")}const nD=/[\dA-Fa-f]/;function iD(n,A,e){const o="&#x"+n.toString(16).toUpperCase();return e&&A&&!nD.test(String.fromCharCode(A))?o:o+";"}const oD=/\d/;function sD(n,A,e){const o="&#"+String(n);return e&&A&&!oD.test(String.fromCharCode(A))?o:o+";"}const rD=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],La={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},aD=["cent","copy","divide","gt","lt","not","para","times"],fu={}.hasOwnProperty,Ga={};let Ss;for(Ss in La)fu.call(La,Ss)&&(Ga[La[Ss]]=Ss);const lD=/[^\dA-Za-z]/;function cD(n,A,e,o){const Q=String.fromCharCode(n);if(fu.call(Ga,Q)){const D=Ga[Q],l="&"+D;return e&&rD.includes(D)&&!aD.includes(D)&&(!o||A&&A!==61&&lD.test(String.fromCharCode(A)))?l:l+";"}return""}function gD(n,A,e){let o=iD(n,A,e.omitOptionalSemicolons),Q;if((e.useNamedReferences||e.useShortestReferences)&&(Q=cD(n,A,e.omitOptionalSemicolons,e.attribute)),(e.useShortestReferences||!Q)&&e.useShortestReferences){const D=sD(n,A,e.omitOptionalSemicolons);D.length<o.length&&(o=D)}return Q&&(!e.useShortestReferences||Q.length<o.length)?Q:o}function Hi(n,A){return AD(n,Object.assign({format:gD},A))}const uD=/^>|^->|<!--|-->|--!>|<!-$/g,dD=[">"],hD=["<",">"];function pD(n,A,e,o){return o.settings.bogusComments?"<?"+Hi(n.value,Object.assign({},o.settings.characterReferences,{subset:dD}))+">":"<!--"+n.value.replace(uD,Q)+"-->";function Q(D){return Hi(D,Object.assign({},o.settings.characterReferences,{subset:hD}))}}function BD(n,A,e,o){return"<!"+(o.settings.upperDoctype?"DOCTYPE":"doctype")+(o.settings.tightDoctype?"":" ")+"html>"}function wu(n,A){const e=String(n);if(typeof A!="string")throw new TypeError("Expected character");let o=0,Q=e.indexOf(A);for(;Q!==-1;)o++,Q=e.indexOf(A,Q+A.length);return o}function CD(n,A){const e=A||{};return(n[n.length-1]===""?[...n,""]:n).join((e.padRight?" ":"")+","+(e.padLeft===!1?"":" ")).trim()}function ED(n){return n.join(" ").trim()}const QD=/[ \t\n\f\r]/g;function Ha(n){return typeof n=="object"?n.type==="text"?Du(n.value):!1:Du(n)}function Du(n){return n.replace(QD,"")===""}const at=yu(1),bu=yu(-1),mD=[];function yu(n){return A;function A(e,o,Q){const D=e?e.children:mD;let l=(o||0)+n,b=D[l];if(!Q)for(;b&&Ha(b);)l+=n,b=D[l];return b}}const ID={}.hasOwnProperty;function vu(n){return A;function A(e,o,Q){return ID.call(n,e.tagName)&&n[e.tagName](e,o,Q)}}const Pa=vu({body:wD,caption:Ka,colgroup:Ka,dd:vD,dt:yD,head:Ka,html:fD,li:bD,optgroup:kD,option:_D,p:DD,rp:ku,rt:ku,tbody:SD,td:_u,tfoot:xD,th:_u,thead:MD,tr:FD});function Ka(n,A,e){const o=at(e,A,!0);return!o||o.type!=="comment"&&!(o.type==="text"&&Ha(o.value.charAt(0)))}function fD(n,A,e){const o=at(e,A);return!o||o.type!=="comment"}function wD(n,A,e){const o=at(e,A);return!o||o.type!=="comment"}function DD(n,A,e){const o=at(e,A);return o?o.type==="element"&&(o.tagName==="address"||o.tagName==="article"||o.tagName==="aside"||o.tagName==="blockquote"||o.tagName==="details"||o.tagName==="div"||o.tagName==="dl"||o.tagName==="fieldset"||o.tagName==="figcaption"||o.tagName==="figure"||o.tagName==="footer"||o.tagName==="form"||o.tagName==="h1"||o.tagName==="h2"||o.tagName==="h3"||o.tagName==="h4"||o.tagName==="h5"||o.tagName==="h6"||o.tagName==="header"||o.tagName==="hgroup"||o.tagName==="hr"||o.tagName==="main"||o.tagName==="menu"||o.tagName==="nav"||o.tagName==="ol"||o.tagName==="p"||o.tagName==="pre"||o.tagName==="section"||o.tagName==="table"||o.tagName==="ul"):!e||!(e.type==="element"&&(e.tagName==="a"||e.tagName==="audio"||e.tagName==="del"||e.tagName==="ins"||e.tagName==="map"||e.tagName==="noscript"||e.tagName==="video"))}function bD(n,A,e){const o=at(e,A);return!o||o.type==="element"&&o.tagName==="li"}function yD(n,A,e){const o=at(e,A);return!!(o&&o.type==="element"&&(o.tagName==="dt"||o.tagName==="dd"))}function vD(n,A,e){const o=at(e,A);return!o||o.type==="element"&&(o.tagName==="dt"||o.tagName==="dd")}function ku(n,A,e){const o=at(e,A);return!o||o.type==="element"&&(o.tagName==="rp"||o.tagName==="rt")}function kD(n,A,e){const o=at(e,A);return!o||o.type==="element"&&o.tagName==="optgroup"}function _D(n,A,e){const o=at(e,A);return!o||o.type==="element"&&(o.tagName==="option"||o.tagName==="optgroup")}function MD(n,A,e){const o=at(e,A);return!!(o&&o.type==="element"&&(o.tagName==="tbody"||o.tagName==="tfoot"))}function SD(n,A,e){const o=at(e,A);return!o||o.type==="element"&&(o.tagName==="tbody"||o.tagName==="tfoot")}function xD(n,A,e){return!at(e,A)}function FD(n,A,e){const o=at(e,A);return!o||o.type==="element"&&o.tagName==="tr"}function _u(n,A,e){const o=at(e,A);return!o||o.type==="element"&&(o.tagName==="td"||o.tagName==="th")}const ND=vu({body:GD,colgroup:HD,head:LD,html:RD,tbody:PD});function RD(n){const A=at(n,-1);return!A||A.type!=="comment"}function LD(n){const A=new Set;for(const o of n.children)if(o.type==="element"&&(o.tagName==="base"||o.tagName==="title")){if(A.has(o.tagName))return!1;A.add(o.tagName)}const e=n.children[0];return!e||e.type==="element"}function GD(n){const A=at(n,-1,!0);return!A||A.type!=="comment"&&!(A.type==="text"&&Ha(A.value.charAt(0)))&&!(A.type==="element"&&(A.tagName==="meta"||A.tagName==="link"||A.tagName==="script"||A.tagName==="style"||A.tagName==="template"))}function HD(n,A,e){const o=bu(e,A),Q=at(n,-1,!0);return e&&o&&o.type==="element"&&o.tagName==="colgroup"&&Pa(o,e.children.indexOf(o),e)?!1:!!(Q&&Q.type==="element"&&Q.tagName==="col")}function PD(n,A,e){const o=bu(e,A),Q=at(n,-1);return e&&o&&o.type==="element"&&(o.tagName==="thead"||o.tagName==="tbody")&&Pa(o,e.children.indexOf(o),e)?!1:!!(Q&&Q.type==="element"&&Q.tagName==="tr")}const xs={name:[[`
|
|
83
83
|
\f\r &/=>`.split(""),`
|
|
@@ -177,7 +177,7 @@ const handleSubmit = async () => {
|
|
|
177
177
|
]
|
|
178
178
|
}`,wv=n=>`import type { FormSchema } from "asiaint-lowcode";
|
|
179
179
|
|
|
180
|
-
export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,Dv=n=>`export default ${JSON.stringify(n,null,2)}`,bv=t.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var f;const A=zt(),e=$n(),Q=(f=Ni().JsonEdit)==null?void 0:f.render,D=t.computed({get(){return A.schema},set(x){x.items&&A.updateSchema(x)}}),l=t.ref({}),b=t.useModel(n,"modelValue"),S=x=>{A.updateSchema({...A.schema,items:Kg(A.schema.items)}),x.repair()};return(x,L)=>{const P=t.resolveComponent("el-tab-pane"),z=t.resolveComponent("el-tabs"),K=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(K,{modelValue:b.value,"onUpdate:modelValue":L[1]||(L[1]=U=>b.value=U),title:t.unref(e).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:L[2]||(L[2]=U=>l.value={})},{default:t.withCtx(()=>[t.createVNode(z,{"model-value":"edit",class:"demo-tabs"},{default:t.withCtx(()=>[t.createVNode(P,{label:"在线编辑",name:"edit"},{default:t.withCtx(()=>[t.createVNode(t.unref(Q),{modelValue:D.value,"onUpdate:modelValue":L[0]||(L[0]=U=>D.value=U),style:{height:"70vh"},onBlur:S},null,8,["modelValue"])]),_:1}),t.createVNode(P,{label:"生成ts文件",name:"ts"},{default:t.withCtx(()=>[t.createVNode(t.unref(vo),{style:{height:"70vh"},language:"ts",code:t.unref(wv)(D.value)},null,8,["code"])]),_:1}),t.createVNode(P,{label:"生成js文件",name:"js"},{default:t.withCtx(()=>[t.createVNode(t.unref(vo),{style:{height:"70vh"},language:"js",code:t.unref(Dv)(D.value)},null,8,["code"])]),_:1}),t.createVNode(P,{label:"帮助",name:"help"},{default:t.withCtx(()=>[t.createVNode(t.unref(vo),{style:{height:"70vh"},language:"json",code:t.unref(fv)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),yv=t.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=zt(),e=$n(),o=t.useModel(n,"modelValue");return(Q,D)=>{const l=t.resolveComponent("el-tab-pane"),b=t.resolveComponent("el-tabs"),S=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(S,{modelValue:o.value,"onUpdate:modelValue":D[0]||(D[0]=f=>o.value=f),title:t.unref(e).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:t.withCtx(()=>[t.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:t.withCtx(()=>[t.createVNode(l,{label:"Typescript",name:"ts"},{default:t.withCtx(()=>[t.createVNode(t.unref(vo),{style:{height:"70vh"},code:t.unref(mv)(t.unref(A).schema),language:"vue"},null,8,["code"])]),_:1}),t.createVNode(l,{label:"Javascript",name:"js"},{default:t.withCtx(()=>[t.createVNode(t.unref(vo),{style:{height:"70vh"},code:t.unref(Iv)(t.unref(A).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),vv={style:{"text-align":"center"}},kv=ZA(t.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=zt(),{JsonEdit:e}=Ni(),o=t.ref("edit"),Q=t.ref(),D=t.ref({}),l=t.useModel(n,"modelValue"),b=t.computed(()=>{var L;return(L=Q.value)==null?void 0:L.context}),S=$n(),f=async()=>{var L;await((L=Q.value)==null?void 0:L.validate()),alert(JSON.stringify(D.value,null,2))},x=async()=>{var L;(L=Q.value)==null||L.resetFields()};return(L,P)=>{const z=t.resolveComponent("el-button"),K=t.resolveComponent("el-tab-pane"),U=t.resolveComponent("el-tabs"),_=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(_,{modelValue:l.value,"onUpdate:modelValue":P[4]||(P[4]=I=>l.value=I),title:t.unref(S).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:P[5]||(P[5]=I=>D.value={})},{default:t.withCtx(()=>[t.createVNode(U,{modelValue:o.value,"onUpdate:modelValue":P[3]||(P[3]=I=>o.value=I)},{default:t.withCtx(()=>[t.createVNode(K,{label:"编辑模式",name:"edit"},{default:t.withCtx(()=>[t.createVNode(t.unref(Ut),{modelValue:D.value,"onUpdate:modelValue":P[0]||(P[0]=I=>D.value=I),schema:t.unref(A).schema,ref_key:"formRef",ref:Q,schemaContext:t.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"]),t.createElementVNode("div",vv,[t.createVNode(z,{onClick:f,type:"primary"},{default:t.withCtx(()=>P[6]||(P[6]=[t.createTextVNode("模拟提交")])),_:1}),t.createVNode(z,{onClick:x,type:"primary",plain:""},{default:t.withCtx(()=>P[7]||(P[7]=[t.createTextVNode("重置")])),_:1})])]),_:1}),t.createVNode(K,{label:"阅读模式",name:"read",lazy:""},{default:t.withCtx(()=>[t.createVNode(t.unref(Ut),{modelValue:D.value,"onUpdate:modelValue":P[1]||(P[1]=I=>D.value=I),schema:{...t.unref(A).schema,labelSuffix:":"},schemaContext:t.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),t.createVNode(K,{label:"联动变量",name:"context"},{default:t.withCtx(()=>[P[8]||(P[8]=t.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(t.openBlock(),t.createBlock(t.unref(e).render,{modelValue:b.value,"onUpdate:modelValue":P[2]||(P[2]=I=>b.value=I),style:{height:"60vh"},key:o.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-1bcfb7d6"]]),_v=t.defineComponent({__name:"ChangeLang",setup(n){const A=t.inject("asiaint-lang");return(e,o)=>{const Q=t.resolveComponent("el-option"),D=t.resolveComponent("el-select");return t.openBlock(),t.createBlock(D,{modelValue:t.unref(A),"onUpdate:modelValue":o[0]||(o[0]=l=>t.isRef(A)?A.value=l:null),size:"small"},{default:t.withCtx(()=>[t.createVNode(Q,{label:"中文",value:"zh"}),t.createVNode(Q,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),Mv=t.defineComponent({__name:"index",setup(n){const A=zt(),e=$n(),o=t.ref(!1),Q=t.ref(!1),D=t.ref(!1),l=t.computed(()=>[{label:e.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{o.value=!0}},{label:e.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{Q.value=!0}},{label:e.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{D.value=!0}}]),b=t.computed(()=>[{label:e.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await Lt.ElMessageBox.confirm("确认清空当前设计吗?"),A.updateSchema({...A.schema,items:[]})}},{label:e.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{A.handleEmit("save"),A.handleEmit("onSave")}}]);return(S,f)=>{const x=t.resolveComponent("el-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("actions"))},[t.createElementVNode("div",{class:t.normalizeClass(t.unref(ke)("actions-left"))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,L=>(t.openBlock(),t.createBlock(x,{key:L.label,type:L.btnType,size:"small",onClick:L.onClick},t.createSlots({default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(L.label),1)]),_:2},[L.icon?{name:"icon",fn:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:L.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),t.createVNode(_v,{class:t.normalizeClass(t.unref(ke)("actions-left-lang"))},null,8,["class"])],2),t.createElementVNode("div",{class:t.normalizeClass(t.unref(ke)("actions-right"))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(b.value,({label:L,btnType:P,icon:z,onClick:K})=>(t.openBlock(),t.createBlock(x,{key:L,type:P,size:"small",onClick:K},t.createSlots({default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(L),1)]),_:2},[z?{name:"icon",fn:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:z},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),t.createVNode(bv,{modelValue:o.value,"onUpdate:modelValue":f[0]||(f[0]=L=>o.value=L)},null,8,["modelValue"]),t.createVNode(yv,{modelValue:Q.value,"onUpdate:modelValue":f[1]||(f[1]=L=>Q.value=L)},null,8,["modelValue"]),t.createVNode(kv,{modelValue:D.value,"onUpdate:modelValue":f[2]||(f[2]=L=>D.value=L),"schema-context":t.unref(A).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),Sv=t.defineComponent({__name:"index",setup(n){const A=zt();return(e,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("form-design-center"))},[t.createVNode(Mv),t.createVNode(t.unref(Ut),{class:t.normalizeClass(t.unref(ke)("canvas")),schema:t.unref(A).schema,"onUpdate:schema":o[0]||(o[0]=Q=>t.unref(A).schema=Q),design:""},null,8,["class","schema"])],2))}}),xv=()=>({labelWidth:100,labelPosition:"top",items:[{hideLabel:!0,name:"change",component:"FormList",children:[{label:"目标字段",name:"target",component:"Input",help:"如果是自增组件内部联动,直接输入子组件的name。如果是外部联动自增组件,就是formlist.*.key"},{label:"触发条件",name:"condition",component:"Input",help:"必须输入一个模板表达式,当表达式结果为true时才触发联动。如果不设置,默认会一直触发"},{label:"值",name:"value",component:"Input",help:"支持模板表达式"}],props:{mode:"card",title:"联动字段"}}]}),Fv=t.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=zt(),e=t.useModel(n,"modelValue");return(o,Q)=>{const D=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(D,{"destroy-on-close":"",modelValue:e.value,"onUpdate:modelValue":Q[1]||(Q[1]=l=>e.value=l),top:"3vh",title:"值联动"},{default:t.withCtx(()=>[t.createVNode(t.unref(Ut),{modelValue:t.unref(A).current,"onUpdate:modelValue":Q[0]||(Q[0]=l=>t.unref(A).current=l),schema:t.unref(xv)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),Nv={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},Rv={class:"config-linkages"},Lv=ZA(t.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=zt(),e=t.useModel(n,"modelValue");return t.ref({}),(o,Q)=>{var l;const D=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(D,{"destroy-on-close":"",modelValue:e.value,"onUpdate:modelValue":Q[1]||(Q[1]=b=>e.value=b),top:"3vh",title:`${(l=t.unref(A).current)==null?void 0:l.label} - 配置级联动`,width:"70vw",center:""},{default:t.withCtx(()=>[t.createElementVNode("div",Rv,[t.createVNode(t.unref(Ut),{modelValue:t.unref(A).current,"onUpdate:modelValue":Q[0]||(Q[0]=b=>t.unref(A).current=b),schema:t.unref(Nv),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-e4ab3ef4"]]),Gv=t.defineComponent({__name:"index",setup(n){const A=$n(),e=t.ref(!1),o=t.ref(!1),Q=t.computed(()=>[{title:A.value.attr.tab1.linkage.action1,onClick:()=>{e.value=!0}},{title:A.value.attr.tab1.linkage.action2,onClick:()=>{o.value=!0}}]);return(D,l)=>{const b=t.resolveComponent("el-divider"),S=t.resolveComponent("el-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("linkageConfig"))},[t.createVNode(b,null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(A).attr.tab1.linkage.text),1)]),_:1}),t.createElementVNode("div",{class:t.normalizeClass(t.unref(ke)("linkageConfig-btns"))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Q.value,({title:f,onClick:x})=>(t.openBlock(),t.createBlock(S,{key:f,type:"primary",plain:"",size:"small",onClick:x},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(f),1)]),_:2},1032,["onClick"]))),128))],2),t.createVNode(Lv,{modelValue:e.value,"onUpdate:modelValue":l[0]||(l[0]=f=>e.value=f)},null,8,["modelValue"]),t.createVNode(Fv,{modelValue:o.value,"onUpdate:modelValue":l[1]||(l[1]=f=>o.value=f)},null,8,["modelValue"])],2)}}}),Hv={labelWidth:60,labelPosition:"right",size:"small",items:[{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"}]},Pv={labelWidth:60,labelPosition:"top",size:"small",items:[{label:"ID",component:"Input",props:{placeholder:""},designKey:"form-0vQJ",name:"id"},{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"},{label:"背景色",component:"ColorInput",designKey:"form-YicU",name:"style.backgroundColor"},{label:"文字颜色",component:"ColorInput",designKey:"design-A2bj",name:"style.color"},{label:"缩放",component:"Slider",designKey:"design-A2sf",name:"style.transform",props:{min:50,max:150},initialValue:100,change:[{target:"style.transform",value:"{{ `scale(${$values.style.transform / 100 })` }}"}]},{children:[{label:"外间距",name:"margin",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.marginTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.marginBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.marginLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.marginRight"}]}]},{label:"内间距",name:"padding",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.paddingTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.paddingBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.paddingLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.paddingRight"}]}]}],props:{defaultKey:"margin",tabPosition:"top"},component:"Tabs",designKey:"design-WK8O",name:"form-e9YD"},{label:"自定义",component:"JsonEdit",designKey:"design-A2bj",name:"style"}]},Kv={class:"more"},Uv=t.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue"),e=t.ref(!1);return(o,Q)=>{const D=t.resolveComponent("el-divider"),l=t.resolveComponent("el-button"),b=t.resolveComponent("el-drawer");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("style-config"))},[t.createVNode(D,null,{default:t.withCtx(()=>Q[4]||(Q[4]=[t.createTextVNode("组件样式")])),_:1}),t.createVNode(t.unref(Ut),{modelValue:A.value,"onUpdate:modelValue":Q[0]||(Q[0]=S=>A.value=S),schema:t.unref(Hv),ref:"formRef"},null,8,["modelValue","schema"]),t.createElementVNode("div",Kv,[t.createVNode(l,{type:"primary",plain:"",size:"small",onClick:Q[1]||(Q[1]=S=>e.value=!0)},{default:t.withCtx(()=>Q[5]||(Q[5]=[t.createTextVNode("自定义更多样式")])),_:1})]),t.createVNode(b,{modelValue:e.value,"onUpdate:modelValue":Q[3]||(Q[3]=S=>e.value=S),title:"组件样式"},{default:t.withCtx(()=>[t.createVNode(t.unref(Ut),{modelValue:A.value,"onUpdate:modelValue":Q[2]||(Q[2]=S=>A.value=S),schema:t.unref(Pv),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),Tv=t.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Ni(),e=Ea(),o=t.useModel(n,"modelValue"),Q=t.computed(()=>{const l=A[o.value.component];if(l!=null&&l.attrSchema){const b=(f=[])=>f.map(x=>{const L=ns(o.value,x.name),P=Oe.isString(L)&&/^{{\s*(.*?)\s*}}$/.test(L);return{...x,label:e.value==="zh"?x.label:x.name.split(".").pop(),component:P?"Input":x.component,dialog:P||x.dialog,children:x.children&&b(x.children)}}),S=b(l.attrSchema.items);return{...l.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:l.title}},...S]}}return{size:"small",labelPosition:"top",items:[]}}),D=t.computed({get(){var l;return((l=o.value)==null?void 0:l.props)||{}},set(l){o.value=_i(o.value,"props",l)}});return(l,b)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("attr"))},[(t.openBlock(),t.createBlock(t.unref(Ut),{key:o.value.designKey,modelValue:o.value,"onUpdate:modelValue":b[0]||(b[0]=S=>o.value=S),schema:Q.value},null,8,["modelValue","schema"])),(t.openBlock(),t.createBlock(Uv,{key:o.value.designKey,modelValue:D.value,"onUpdate:modelValue":b[1]||(b[1]=S=>D.value=S)},null,8,["modelValue"])),t.createVNode(Gv,{modelValue:o.value,"onUpdate:modelValue":b[2]||(b[2]=S=>o.value=S)},null,8,["modelValue"])],2))}}),Yv={size:"small",labelPosition:"top",items:[{label:"label宽度",component:"InputNumber",name:"labelWidth",props:{min:60,unit:"px",step:10},initialValue:150},{label:"label对齐方式",component:"Radio",name:"labelPosition",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居上",value:"top"},{label:"右对齐",value:"right"}]},initialValue:"right"},{label:"label后缀",component:"Input",name:"labelSuffix"},{label:"表单组件尺寸",component:"Radio",name:"size",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"较小",value:"small"},{label:"较大",value:"large"}]},initialValue:"default"},{label:"禁用整个表单",component:"Switch",name:"disabled"},{label:"隐藏必填星号",component:"Switch",name:"hideRequiredAsterisk"},{label:"label加粗",component:"Switch",name:"labelBold"},{label:"自动滚动到校验失败的第一项",component:"Switch",name:"scrollToError"},{label:"规则文件路径",component:"Input",name:"rulePath"},{label:"表单编码",component:"Input",name:"key"},{label:"数据对象",component:"Input",name:"dataModel"}]},Ov=t.defineComponent({__name:"FormEdit",setup(n){const A=zt(),e=t.computed({get(){return A.schema},set(o){A.updateSchema(o)}});return(o,Q)=>(t.openBlock(),t.createBlock(t.unref(Ut),{modelValue:e.value,"onUpdate:modelValue":Q[0]||(Q[0]=D=>e.value=D),schema:t.unref(Yv)},null,8,["modelValue","schema"]))}}),$v=t.defineComponent({__name:"index",setup(n){const A=$n(),e=zt();return t.watch(()=>e.current,o=>{o||(e.rightTab="form")}),(o,Q)=>{const D=t.resolveComponent("el-tab-pane"),l=t.resolveComponent("el-tabs");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("form-design-right"))},[t.createVNode(l,{modelValue:t.unref(e).rightTab,"onUpdate:modelValue":Q[1]||(Q[1]=b=>t.unref(e).rightTab=b)},{default:t.withCtx(()=>[t.unref(e).current?(t.openBlock(),t.createBlock(D,{key:0,label:t.unref(A).attr.tab1.title,name:"attr"},{default:t.withCtx(()=>[t.createVNode(Tv,{modelValue:t.unref(e).current,"onUpdate:modelValue":Q[0]||(Q[0]=b=>t.unref(e).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):t.createCommentVNode("",!0),t.createVNode(D,{label:t.unref(A).attr.tab2.title,name:"form"},{default:t.withCtx(()=>[t.createVNode(Ov)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),Rd=t.defineComponent({__name:"index",props:t.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:t.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:t.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:A}){const e=n,o=A,Q=t.ref(""),D=t.useModel(n,"modelValue"),l=t.computed({get(){return D.value.items},set(f){D.value.items=f}}),b=t.computed({get(){return Ca(l.value,Q.value)},set(f){Q.value=f.designKey,l.value=Gg(l.value,f)}}),S=t.reactive({...t.toRefs(e),currentKey:Q,hoverKey:"",schema:D,current:b,list:l,rightTab:"form",updateCurrent(f){S.current=f},updateHoverKey(f){S.hoverKey=f},updateSchema:f=>{Object.assign(D.value,f)},updateList:f=>{l.value=f},handleEmit:(f,x)=>{o(f,x)}});return t.provide(Rg,S),(f,x)=>(t.openBlock(),t.createElementBlock("div",t.mergeProps({class:t.unref(ke)("form-design")},f.$attrs),[t.createVNode(Qv),t.createVNode(Sv),t.createVNode($v)],16))}}),Jv={class:"card-header"},Zv={class:"card-btns"},zv={key:0,class:"switch-panel"},Wv=ZA(t.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const A=n,e=t.ref(!1),o=t.computed(()=>A.btns?A.btns.map(Q=>({isLinkBtn:!0,...Q})):[]);return(Q,D)=>{const l=t.resolveComponent("el-collapse-transition"),b=t.resolveComponent("ElCard");return t.openBlock(),t.createBlock(b,t.mergeProps(Q.$attrs,{class:["crm-card",{collapsed:e.value,shadowless:Q.shadowless}],shadow:"never"}),{header:t.withCtx(()=>[t.createElementVNode("div",Jv,[Q.collapsible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:D[0]||(D[0]=S=>e.value=!e.value)},[t.createVNode(t.unref(oe),{name:"dropdown",class:t.normalizeClass(["dropdown-icon",{"is-collapsed":e.value}])},null,8,["class"])])):t.createCommentVNode("",!0),t.createElementVNode("span",null,t.toDisplayString(Q.header),1),t.createElementVNode("div",Zv,[Q.typeSwitch?(t.openBlock(),t.createElementBlock("div",zv,[t.createElementVNode("div",{class:t.normalizeClass(["switch-icon-wrapper",{active:Q.tableType==="card"}]),onClick:D[1]||(D[1]=S=>Q.switchTableType("card"))},[t.createVNode(We,{name:"icon-kapian"})],2),t.createElementVNode("div",{class:t.normalizeClass(["switch-icon-wrapper",{active:Q.tableType==="table"}]),onClick:D[2]||(D[2]=S=>Q.switchTableType("table"))},[t.createVNode(We,{name:"icon-biaoge"})],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",null,[t.createVNode(t.unref(Zi),{btns:o.value||[]},null,8,["btns"])])])])]),default:t.withCtx(()=>[t.createVNode(l,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",null,[t.renderSlot(Q.$slots,"default",{},void 0,!0)],512),[[t.vShow,!e.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-3bf3fee7"]]),jv=["id"],qv={class:"empty-content"},Xv=["title"],Vv=["title","onClick"],A1=["title"],e1={class:"row-btn-wrapper"},t1={class:"empty-content"},n1=["title"],i1=["title","onClick"],o1=["title"],s1={class:"row-btn-wrapper"},ul=ZA(t.defineComponent({__name:"index",props:t.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:A}){const e=n,o=t.useModel(n,"schema"),Q=t.computed(()=>o.value.rulePath&&D[o.value.rulePath]?o.value.rulePath:e.pageRulePath),D=t.inject("ruleMap",{}),l=t.inject("pageMethodMap",{}),b=t.inject("getGlobalParams",()=>{}),S=t.inject(cn),f=S?S.translateFn:null;Q.value&&t.provide("ruleModule",D[Q.value]);const x=t.ref(),L=t.useModel(n,"modelValue"),P=(q,oA)=>{const cA=o.value.columns.find(sA=>sA.key===q);cA&&(cA.hidden=!oA)},z=(q,oA,cA)=>{if(Q.value)try{D[Q.value][q.onClick](l,oA,cA)}catch(sA){console.error(sA)}},K=q=>{if(!(!o.value.rowClick||!Q.value))try{D[Q.value][o.value.rowClick](l,q)}catch(oA){console.error(oA)}},U=q=>{if(!(!o.value.rowDbClick||!Q.value))try{D[Q.value][o.value.rowDbClick](l,q)}catch(oA){console.error(oA)}},_=t.ref([]),I=q=>{_.value=q},G=(q,oA,cA)=>{L.value[q]&&(L.value[q][oA]=cA)},k=()=>{var q;(q=x.value)==null||q.clearSelection()},y=()=>L.value,C=t.ref(),d=q=>{if(C.value=q,!(!o.value.handleCurrentChange||!Q.value))try{D[Q.value][o.value.handleCurrentChange](l,q)}catch(oA){console.error(oA)}},p=()=>C.value,a=()=>{var q;return(q=x.value)==null?void 0:q.getSelectionRows()},g=(q={})=>{L.value.push(q)},r=q=>{q>=0&&q<L.value.length&&L.value.splice(q,1)},u=async()=>{L.value=[...L.value]},h=async()=>!0,s=q=>{L.value=q},i=(q,oA)=>{var sA;const cA=(sA=o.value.topBtns)==null?void 0:sA.find(pA=>pA.key===q);cA&&(cA.hidden=oA)},B=(q,oA)=>{var sA;const cA=(sA=o.value.rowBtns)==null?void 0:sA.find(pA=>pA.key===q);cA&&(cA.condition=!oA)},E=t.ref(0),M=q=>{E.value=q},w=t.ref({pageNum:1,pageSize:o.value.defaultPageSize||5}),F=()=>w.value,R=q=>{let oA=!1;return q.pageNum>-1&&(w.value.pageNum!==q.pageNum&&(oA=!0),w.value.pageNum=q.pageNum),q.pageSize>-1&&(w.value.pageSize!==q.pageSize&&(oA=!0),w.value.pageSize=q.pageSize),console.log("zytest---setPagination--",oA),{pagination:w.value,isChange:oA}},$=q=>{if(w.value.pageNum=1,w.value.pageSize=q,!(!o.value.sizeChange||!Q.value))try{D[Q.value][o.value.sizeChange](l,w.value)}catch(oA){console.error(oA)}},j=q=>{if(w.value.pageNum=q,!(!o.value.pageChange||!Q.value))try{D[Q.value][o.value.pageChange](l,w.value)}catch(oA){console.error(oA)}},J=q=>{var oA;(oA=x.value)==null||oA.setCurrentRow(q)},Y=q=>{var oA;(oA=x.value)==null||oA.setCurrentRow(L.value[q])},X=(q,oA,cA)=>{o.value.columns.forEach(sA=>{sA.key===q&&sA[oA]&&(sA[oA]=cA)})},v=q=>{o.value.displayType=q},W=q=>{o.value.shadowless=q},N=(q,oA)=>{const cA=f?f(q.key,oA):oA[q.key];if(!q.encrypted||!cA)return cA;const sA=`${cA}`;return sA.length<=4?"*".repeat(sA.length):sA.slice(0,-4)+"****"},V=t.useTemplateRef("rootRef");o.value.displayType||(o.value.displayType=o.value.typeSwitch?"card":"table"),t.onMounted(async()=>{if(!o.value||!o.value.onMounted||!Q.value)return;await t.nextTick();const q=o.value.onMounted;try{D[Q.value][q](l)}catch(oA){console.error(oA)}}),t.onActivated(()=>{if(!o.value||!o.value.onActivated||!Q.value)return;const q=o.value.onActivated;try{D[Q.value][q](l)}catch(oA){console.error(oA)}});const AA=t.readonly({...t.toRefs(e),setCellData:G,clearSelection:k,getData:y,getCurrentRow:p,getSelectedRows:a,addRow:g,deleteRow:r,refresh:u,validate:h,setData:s,selectRow:J,selectRowNum:Y,setTotal:M,getPagination:F,setPagination:R,setTopBtnHidden:i,setColVisible:P,setColumn:X,setRowsBtnHidden:B,setShadowless:W,rootRef:V,type:"table"});return A(AA),(q,oA)=>{const cA=t.resolveComponent("el-table-column"),sA=t.resolveComponent("el-tooltip"),pA=t.resolveComponent("el-button"),O=t.resolveComponent("el-pagination");return o.value.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"rootRef",ref:V,id:o.value.key},[o.value.cardless?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["table-render",{tableBorder:o.value.displayType==="table"}])},[t.withDirectives(t.createElementVNode("div",null,[t.createVNode(t.unref(Lt.ElTable),{ref_key:"tableRef",ref:x,data:L.value,stripe:o.value.stripe,"highlight-current-row":"","row-key":o.value.rowKey,onRowClick:K,onRowDblclick:U,onSelectionChange:I,onCurrentChange:d,height:o.value.height},{empty:t.withCtx(()=>[t.createElementVNode("div",t1,[t.createVNode(t.unref(oe),{name:"tableEmpty",style:{width:56,height:56}}),oA[5]||(oA[5]=t.createElementVNode("div",null,"No data available,please check",-1))])]),default:t.withCtx(()=>[o.value.multipleSelection?(t.openBlock(),t.createBlock(cA,{key:0,type:"selection",width:"55"})):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.columns,nA=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:nA.key},[nA.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(cA,{key:0,prop:nA.key,"min-width":nA.minWidth,fixed:nA.fixed||!1},{header:t.withCtx(()=>[t.createElementVNode("div",{class:"text-ellipsis",title:nA.label},t.toDisplayString(nA.label),9,n1)]),default:t.withCtx(({row:iA,$index:rA})=>[nA.type==="link"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"text-ellipsis link-style",title:N(nA,iA),onClick:T=>z(nA,iA,rA)},t.toDisplayString(N(nA,iA)),9,i1)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"text-ellipsis",title:N(nA,iA)},t.toDisplayString(N(nA,iA)),9,o1))]),_:2},1032,["prop","min-width","fixed"]))],64))),128)),o.value.rowBtns&&o.value.rowBtns.length>0?(t.openBlock(),t.createBlock(cA,{key:1,label:"Action",fixed:"right",align:"left"},{default:t.withCtx(({row:nA,$index:iA})=>[t.createElementVNode("div",s1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.rowBtns,rA=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:rA.key},[rA.condition===void 0||rA.condition===null||t.unref(yn)(rA.condition,{$row:nA,$globalParams:t.unref(b)()})?(t.openBlock(),t.createBlock(pA,{key:0,disabled:rA.disabled,link:"",size:"small",type:rA.type,onClick:T=>z(rA,nA,iA)},{default:t.withCtx(()=>[t.createVNode(sA,{class:"box-item",effect:"dark",content:rA.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:t.withCtx(()=>[rA.icon?(t.openBlock(),t.createBlock(We,{key:0,name:rA.icon.name,color:rA.icon.color},null,8,["name","color"])):t.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):t.createCommentVNode("",!0)],64))),128))])]),_:1})):t.createCommentVNode("",!0)]),_:1},8,["data","stripe","row-key","height"])],512),[[t.vShow,o.value.displayType==="table"]]),t.withDirectives(t.createVNode(ms,t.mergeProps(o.value,{data:L.value,"get-col-text":N}),null,16,["data"]),[[t.vShow,o.value.displayType==="card"]]),t.createElementVNode("div",{class:t.normalizeClass(["pagination-wrapper",{hidePagination:o.value.hiddenPagination||L.value.length===0,cardlistPadding:o.value.displayType==="card"}])},[t.createVNode(O,{layout:"total,sizes, prev, pager, next,jumper",total:E.value,"page-sizes":o.value.pageSizes||[5,10,20,30,40],"default-page-size":o.value.defaultPageSize,"current-page":w.value.pageNum,"onUpdate:currentPage":oA[2]||(oA[2]=nA=>w.value.pageNum=nA),"page-size":w.value.pageSize,"onUpdate:pageSize":oA[3]||(oA[3]=nA=>w.value.pageSize=nA),"pager-count":o.value.pagerCount,onSizeChange:$,onCurrentChange:j},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],2)):(t.openBlock(),t.createBlock(Wv,{key:0,header:o.value.title,btns:o.value.topBtns,collapsible:o.value.collapsible!==!1,switchTableType:v,tableType:o.value.displayType,typeSwitch:o.value.typeSwitch,shadowless:o.value.shadowless},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(["table-render",{tableBorder:o.value.displayType==="table"}])},[t.withDirectives(t.createElementVNode("div",null,[t.createVNode(t.unref(Lt.ElTable),{ref_key:"tableRef",ref:x,data:L.value,stripe:o.value.stripe,"highlight-current-row":"","row-key":o.value.rowKey,onRowClick:K,onRowDblclick:U,onSelectionChange:I,onCurrentChange:d,height:o.value.height},{empty:t.withCtx(()=>[t.createElementVNode("div",qv,[t.createVNode(t.unref(oe),{name:"tableEmpty",style:{width:56,height:56}}),oA[4]||(oA[4]=t.createElementVNode("div",null,"No data available,please check",-1))])]),default:t.withCtx(()=>[o.value.multipleSelection?(t.openBlock(),t.createBlock(cA,{key:0,type:"selection",width:"55"})):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.columns,nA=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:nA.key},[nA.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(cA,{key:0,prop:nA.key,"min-width":nA.minWidth,fixed:nA.fixed||!1},{header:t.withCtx(()=>[t.createElementVNode("div",{class:"text-ellipsis",title:nA.label},t.toDisplayString(nA.label),9,Xv)]),default:t.withCtx(({row:iA,$index:rA})=>[nA.type==="link"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"text-ellipsis link-style",title:N(nA,iA),onClick:T=>z(nA,iA,rA)},t.toDisplayString(N(nA,iA)),9,Vv)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"text-ellipsis",title:N(nA,iA)},t.toDisplayString(N(nA,iA)),9,A1))]),_:2},1032,["prop","min-width","fixed"]))],64))),128)),o.value.rowBtns&&o.value.rowBtns.length>0?(t.openBlock(),t.createBlock(cA,{key:1,label:"Action",fixed:"right",align:"left"},{default:t.withCtx(({row:nA,$index:iA})=>[t.createElementVNode("div",e1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.rowBtns,rA=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:rA.key},[rA.condition===void 0||rA.condition===null||t.unref(yn)(rA.condition,{$row:nA,$globalParams:t.unref(b)()})?(t.openBlock(),t.createBlock(pA,{key:0,disabled:rA.disabled,link:"",size:"small",type:rA.type,onClick:T=>z(rA,nA,iA)},{default:t.withCtx(()=>[t.createVNode(sA,{class:"box-item",effect:"dark",content:rA.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:t.withCtx(()=>[rA.icon?(t.openBlock(),t.createBlock(We,{key:0,name:rA.icon.name,color:rA.icon.color},null,8,["name","color"])):t.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):t.createCommentVNode("",!0)],64))),128))])]),_:1})):t.createCommentVNode("",!0)]),_:1},8,["data","stripe","row-key","height"])],512),[[t.vShow,o.value.displayType==="table"]]),t.withDirectives(t.createVNode(ms,t.mergeProps(o.value,{data:L.value,"get-col-text":N}),null,16,["data"]),[[t.vShow,o.value.displayType==="card"]]),t.createElementVNode("div",{class:t.normalizeClass(["pagination-wrapper",{hidePagination:o.value.hiddenPagination||L.value.length===0,cardlistPadding:o.value.displayType==="card"}])},[t.createVNode(O,{layout:"total,sizes, prev, pager, next,jumper",total:E.value,"page-sizes":o.value.pageSizes||[5,10,20,30,40],"default-page-size":o.value.defaultPageSize,"current-page":w.value.pageNum,"onUpdate:currentPage":oA[0]||(oA[0]=nA=>w.value.pageNum=nA),"page-size":w.value.pageSize,"onUpdate:pageSize":oA[1]||(oA[1]=nA=>w.value.pageSize=nA),"pager-count":o.value.pagerCount,onSizeChange:$,onCurrentChange:j},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],2)]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],8,jv))}}}),[["__scopeId","data-v-353b67cd"]]),r1=["id"],a1={class:"tab-label"},l1={class:"tab-label-text"},c1={key:0,class:"divider"},g1=ZA(t.defineComponent({__name:"index",props:t.mergeModels({ruleMap:{},pageParams:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const e=t.useModel(n,"schema"),o=t.ref({}),Q=t.ref({}),D=K=>U=>{U?Q.value[K]=U:delete Q.value[K]},l=t.computed(()=>{var K;return(K=e.value.content.find(U=>U.url===f.value))==null?void 0:K.mixMode}),b=K=>{e.value.content=K},S=K=>{Array.isArray(K)?e.value.content.push(...K):e.value.content.push(K)},f=t.ref(e.value.content[0].url),x=K=>{o.value[K]=!0,t.nextTick(()=>{o.value[K]=!1})},L=t.useTemplateRef("rootRef"),P=K=>Q.value[K],z=K=>{f.value=K};return A(t.readonly({setTabContent:b,addTabContent:S,schema:e,rootRef:L,findRef:P,changeActiveTab:z,type:"tabs"})),(K,U)=>{var k,y,C;const _=t.resolveComponent("el-skeleton"),I=t.resolveComponent("el-tab-pane"),G=t.resolveComponent("el-tabs");return t.openBlock(),t.createElementBlock("div",{ref_key:"rootRef",ref:L,id:e.value.key},[e.value.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(G,t.mergeProps({key:0},e.value.tabProps,{modelValue:f.value,"onUpdate:modelValue":U[0]||(U[0]=d=>f.value=d),class:["crm-tabs",{mixmode:l.value}],style:{"--top":(k=e.value)!=null&&k.stickyTop?`${(y=e.value)==null?void 0:y.stickyTop}px`:"110px","--is-sticky":(C=e.value)!=null&&C.isSticky?"sticky":"static"}}),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.value.content,(d,p)=>(t.openBlock(),t.createBlock(I,{name:d.url,key:d.url,lazy:p!==0},{label:t.withCtx(()=>[t.createElementVNode("div",a1,[t.createElementVNode("span",l1,t.toDisplayString(d.label),1),p!==e.value.content.length-1?(t.openBlock(),t.createElementBlock("span",c1)):t.createCommentVNode("",!0)])]),default:t.withCtx(()=>[o.value[p]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(dl,{key:0,pageUrl:d.url,"rule-map":K.ruleMap,"page-params":{...K.pageParams,...d.pageParams},ref_for:!0,ref:D(d.url),onRefresh:a=>x(p)},{loading:t.withCtx(()=>[t.createVNode(_,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","onRefresh"]))]),_:2},1032,["name","lazy"]))),128))]),_:1},16,["modelValue","style","class"]))],8,r1)}}}),[["__scopeId","data-v-24504834"]]),u1=["id"],d1={class:"info-card"},h1={class:"info-card-header"},p1={class:"left-part"},B1={class:"avatar"},C1={class:"title-part"},E1={class:"title"},Q1={class:"sub-title-container"},m1={class:"sub-title"},I1={class:"info-card-detail"},f1={class:"label"},w1={key:0,class:"divider"},D1=ZA(t.defineComponent({__name:"InfoCard",props:t.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const e=t.useModel(n,"schema"),o=t.inject("ruleMap",{}),Q=n,D=t.computed(()=>e.value.rulePath&&o[e.value.rulePath]?o[e.value.rulePath]:o[Q.pageRulePath]);t.provide("ruleModule",D.value);const l=t.inject("pageMethodMap",{}),b=f=>{const x=document.createElement("textarea");x.value=f??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()},S=async()=>{try{await navigator.clipboard.writeText(e.value.header.subTitle)}catch(f){console.error("Clipboard API error:",f),b(e.value.header.subTitle)}Lt.ElMessage.success("Copy Successful")};return t.onMounted(async()=>{if(!e.value||!e.value.rulePath||!e.value.onMounted)return;const f=e.value.onMounted;try{D.value[f](l)}catch(x){console.error(x)}}),A({type:"infocard",schema:e}),(f,x)=>{var L,P,z;return e.value.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:"info-card-container",id:e.value.key},[t.createElementVNode("div",d1,[t.createElementVNode("div",h1,[t.createElementVNode("div",p1,[t.createElementVNode("div",B1,[t.createVNode(We,{name:(L=e.value.header)==null?void 0:L.avatar},null,8,["name"])]),t.createElementVNode("div",C1,[t.createElementVNode("div",E1,t.toDisplayString((P=e.value.header)==null?void 0:P.title),1),t.createElementVNode("div",Q1,[t.createElementVNode("span",m1,t.toDisplayString((z=e.value.header)==null?void 0:z.subTitle),1),t.createVNode(We,{name:"icon-fuzhi",class:"copy-icon",onClick:S})])])]),t.createElementVNode("div",null,[t.createVNode(t.unref(Zi),{btns:e.value.btns},null,8,["btns"])])]),t.createElementVNode("div",I1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.value.detail,(K,U)=>(t.openBlock(),t.createElementBlock("div",{key:K.label,class:"detail-item"},[t.createElementVNode("div",null,[t.createElementVNode("div",f1,t.toDisplayString(K.label),1),t.createElementVNode("div",{class:"value",style:t.normalizeStyle(K.color?{color:K.color}:{})},t.toDisplayString(K.value||"- -"),5)]),U!==e.value.detail.length-1?(t.openBlock(),t.createElementBlock("div",w1)):t.createCommentVNode("",!0)]))),128))])])],8,u1))}}}),[["__scopeId","data-v-d5bc64f7"]]),b1=["id"],y1={class:"left-part"},v1={class:"nav-title"},k1=["onClick"],_1={class:"nav-footer"},M1={class:"left-actions"},S1=["onClick"],x1={class:"footer-text"},F1={key:1,class:"divider"},N1={class:"right-actions"},R1=ZA(t.defineComponent({__name:"NavBar",props:t.mergeModels({pageRulePath:{},findRef:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const e=t.useModel(n,"schema"),o=t.computed(()=>(e.value.leftActions||[]).filter(P=>!P.hidden)),Q=t.inject("ruleMap",{}),D=t.inject("pageMethodMap",{}),l=n,b=t.computed(()=>e.value.rulePath&&Q[e.value.rulePath]?Q[e.value.rulePath]:Q[l.pageRulePath]);t.provide("ruleModule",b.value);const S=P=>{if(P&&b.value)try{b.value[P](D)}catch(z){console.error(z)}},f=t.inject(cn),x=()=>{f&&f.navigateFn&&f.navigateFn(-1)},L=P=>{const z=l.findRef(P);z&&z.rootRef&&z.rootRef.scrollIntoView({behavior:"smooth",block:"center"})};return A({type:"navbar",schema:e}),(P,z)=>e.value.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nav-bar",{mixmode:e.value.mixMode,simple:e.value.simple}]),style:t.normalizeStyle(e.value.top?{top:`${e.value.top}px`}:{}),id:e.value.key},[e.value.title||e.value.btns?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nav-header",{mb10:e.value.content&&e.value.content.length>0||e.value.leftActions&&e.value.leftActions.length>0}])},[t.createElementVNode("div",y1,[e.value.back?(t.openBlock(),t.createBlock(We,{key:0,name:"icon-back",class:"back-icon",onClick:x})):t.createCommentVNode("",!0),t.createElementVNode("div",v1,t.toDisplayString(e.value.title),1)]),t.createElementVNode("div",null,[t.createVNode(t.unref(Zi),{btns:e.value.btns||[]},null,8,["btns"])])],2)):t.createCommentVNode("",!0),e.value.content&&e.value.content.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["steps",{mb8:o.value.length>0||(e.value.footerBtns||[]).length>0}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.value.content,(K,U)=>(t.openBlock(),t.createElementBlock("div",{key:U,class:t.normalizeClass(["hexagon",{"first-item":U===0,"middle-item":U>0&&U<e.value.content.length-1,"last-item":U===e.value.content.length-1}]),onClick:_=>L(K.ref)},[t.createElementVNode("span",null,t.toDisplayString(K.text),1)],10,k1))),128))],2)):t.createCommentVNode("",!0),t.createElementVNode("div",_1,[t.createElementVNode("div",M1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value,(K,U)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:K.key},[K.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,onClick:_=>S(K.onClick),class:"footer-item"},[K.icon?(t.openBlock(),t.createBlock(We,{key:0,name:K.icon.name,color:K.icon.color,class:"footer-icon"},null,8,["name","color"])):t.createCommentVNode("",!0),t.createElementVNode("span",x1,t.toDisplayString(K.text),1),U!==o.value.length-1?(t.openBlock(),t.createElementBlock("div",F1)):t.createCommentVNode("",!0)],8,S1))],64))),128))]),t.createElementVNode("div",N1,[t.createVNode(t.unref(Zi),{btns:e.value.footerBtns||[]},null,8,["btns"])])])],14,b1))}}),[["__scopeId","data-v-42cd4537"]]),L1=["id"],dl=ZA(t.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{}},emits:["done","refresh"],setup(n,{expose:A,emit:e}){const o=e,Q={form:Ut,table:ul,tabs:g1,infocard:D1,navbar:R1},D=n,l=t.ref(D.pageParams),b=t.ref({}),S=t.ref();t.watch(()=>D.pageParams,()=>{l.value=D.pageParams});const f=w=>{if(S.value){if(w.type==="tabs")return{...w.schema.tabProps,schema:w.schema,"onUpdate:schema":F=>{w.schema=F},ruleMap:D.ruleMap,pageParams:l.value};if(w.type==="form")return{modelValue:w.model,"onUpdate:modelValue":F=>{w.model=F},realValues:w.realValues,"onUpdate:realValues":F=>{w.realValues=F},schema:w.schema,"onUpdate:schema":F=>{w.schema=F},pageRulePath:S.value.rulePath||""};if(w.type==="table")return{modelValue:w.model,"onUpdate:modelValue":F=>{w.model=F},schema:w.schema,"onUpdate:schema":F=>{w.schema=F},pageRulePath:S.value.rulePath||""};if(w.type==="infocard")return{schema:w.schema,"onUpdate:schema":F=>{w.schema=F},pageRulePath:S.value.rulePath||""};if(w.type==="navbar")return{schema:w.schema,"onUpdate:schema":F=>{w.schema=F},pageRulePath:S.value.rulePath||"",findRef:P}}},x=t.ref([]),L=pv(),P=w=>{var R;const F=(R=x.value)==null?void 0:R.find($=>$.schema.key===w);return F||L.findRef(w)},z=w=>{var R;return(R=x.value)==null?void 0:R.filter($=>$.schema.key&&w.includes($.schema.key))},K=(w,F)=>{var J;const R=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],$=Y=>{Y.forEach(X=>{R.includes(X.component)?X.props&&(X.props.disabled=F):X.children&&$(X.children)})},j=(J=S.value)==null?void 0:J.content.find(Y=>Y.schema.key===w);j&&j.type==="form"&&$(j.schema.items)},U=(w,F)=>{var J;const R=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],$=Y=>{Y.forEach(X=>{R.includes(X.component)?X.props&&(X.props.read=F):X.children&&$(X.children)})},j=(J=S.value)==null?void 0:J.content.find(Y=>Y.schema.key===w);j&&j.type==="form"&&$(j.schema.items)},_=async w=>{if(Array.isArray(w)){const F=z(w);for(const R of F||[])R.type==="form"&&await R.validate()}else{const F=P(w);return F?await F.validate():!1}},I=w=>{if(S.value){if(!w){const F={};for(const R of S.value.content)R.schema.key&&(R.type==="form"?F[R.schema.key]=Oe.cloneDeep(t.toRaw({...R.model,...R.realValues})):R.type==="table"&&(F[R.schema.key]=Oe.cloneDeep(t.toRaw(R.model))));return F}if(Array.isArray(w)){const F={};for(const R of S.value.content)R.schema.key&&w.includes(R.schema.key)&&(R.type==="form"?F[R.schema.key]=Oe.cloneDeep(t.toRaw({...R.model,...R.realValues})):R.type==="table"&&(F[R.schema.key]=Oe.cloneDeep(t.toRaw(R.model))));return F}else{const F=S.value.content.find(R=>R.schema.key===w);if(F){if(F.type==="form")return Oe.cloneDeep(t.toRaw({...F.model,...F.realValues}));if(F.type==="table")return Oe.cloneDeep(t.toRaw(F.model))}}}},G=(w,F,R=!1)=>{if(!S.value)return;const $=S.value.content.find(j=>j.schema.key===w);if($)if($.type==="form")if(R)Object.assign($.model,F);else{for(let j in $.model)delete $.model[j];Object.assign($.model,F)}else $.type==="table"&&($.model=F)},k=w=>{if(w)if(Array.isArray(w)){const F=z(w);for(const R of F||[])R.type==="form"&&R.resetFields()}else{const F=P(w);if(!F)return;F.type==="form"&&F.resetFields()}},y=(w,F)=>{var $;const R=($=S.value)==null?void 0:$.content.find(j=>j.schema.key===w);if(R&&R.type==="form")return is(R.schema.items,F)},C=()=>l.value,d=w=>{l.value=w},p=w=>{l.value={...l.value,...w}},a=(w,F)=>{if(!S.value)return;const R=S.value.content.find($=>$.schema.key===w);R&&(R.schema.hidden=F)},g=(w,F)=>{if(!S.value)return;const R=S.value.btns.find($=>$.key===w);R&&(R.hidden=F)},r=(w,F,R)=>{var $;if(S.value){if(w.type==="form"){const j=y(w.formKey,w.btnKey);j&&(F==="disabled"?j.props[F]=R:j[F]=R)}else if(w.type==="page"){const j=S.value.btns.find(J=>J.key===w.btnKey);j&&(j[F]=R)}else if(w.type==="table"){const j=($=S.value)==null?void 0:$.content.find(J=>J.schema.key===w.tableKey);if(!j||j.type!=="table")return;if(w.btnPosition==="top")j.schema.topBtns.find(J=>J.key===w.btnKey)[F]=R;else if(w.btnPosition==="row"){const J=F==="hidden"?"condition":F;j.schema.rowBtns.find(Y=>Y.key===w.btnKey)[J]=R}}else if(w.type==="card"){const j=y(w.formKey,w.cardKey);j&&(j.props.btns.find(J=>J.key===w.btnKey)[F]=R)}}},u=(w,F,R)=>{var $,j,J,Y,X;if(S.value){if(S.value.btns){const v=S.value.btns.find(W=>W.key===w);if(v){v[F]=R;return}}for(const v of S.value.content){if(v.type==="infocard"){const W=v.schema.btns.find(N=>N.key===w);if(W){W[F]=R;return}}if(v.type==="navbar"){const W=($=v.schema.btns)==null?void 0:$.find(AA=>AA.key===w);if(W){W[F]=R;return}const N=(j=v.schema.footerBtns)==null?void 0:j.find(AA=>AA.key===w);if(N){N[F]=R;return}const V=(J=v.schema.leftActions)==null?void 0:J.find(AA=>AA.key===w);if(V&&F==="hidden"){V[F]=R;return}}if(v.type==="table"){const W=(Y=v.schema.topBtns)==null?void 0:Y.find(V=>V.key===w);if(W){W[F]=R;return}const N=(X=v.schema.rowBtns)==null?void 0:X.find(V=>V.key===w);if(N){F==="hidden"?N.condition=!R:N[F]=R;return}}if(v.type==="form"){const W=N=>{var V,AA;for(const q of N){if(q.component==="Button"&&q.name===w)return q.props&&(q.props[F]=R),!0;if((q.component==="Card"||q.component==="CurdCard")&&q.props&&Array.isArray(q.props.btns)){const oA=q.props.btns.find(cA=>cA.key===w);if(oA)return oA[F]=R,!0}if(q.component==="Table"&&q.props){const oA=(V=q.props.topBtns)==null?void 0:V.find(sA=>sA.key===w);if(oA)return oA[F]=R,!0;const cA=(AA=q.props.rowBtns)==null?void 0:AA.find(sA=>sA.key===w);if(cA)return F==="hidden"?cA.condition=!R:cA[F]=R,!0}if(q.children&&Array.isArray(q.children)&&W(q.children))return!0}return!1};if(W(v.schema.items))return}}}},h=(w,F)=>{if(!S.value)return;const R=S.value.btns.find($=>$.key===w);R&&(R.disabled=F)},s=w=>{Object.assign(b.value,w)},i=()=>b.value,B={findRef:P,setFormDisabled:K,validate:_,getData:I,resetFields:k,emit:o,setData:G,getItemByName:y,getPageParams:C,setHidden:a,setBtnHidden:g,setBtnStateByKey:u,setBtnDisabled:h,addPageParams:p,setPageParams:d,setGlobalParams:s,getGlobalParams:i,setBtnState:r,setReadMode:U},E=w=>{if(!(!S.value||!S.value.rulePath))try{D.ruleMap[S.value.rulePath][w](B)}catch(F){console.error(F)}};t.provide("pageMethodMap",B),t.provide("ruleMap",D.ruleMap),t.provide("getGlobalParams",i);const M=t.inject(cn);return t.onMounted(async()=>{if(M&&M.fetchSchemaFn&&D.pageUrl){const w=await M.fetchSchemaFn(D.pageUrl);S.value={...w,content:w.content.map($=>$.type==="form"?{...$,schema:$.schema,model:{},realValues:{}}:$.type==="table"?{...$,schema:$.schema,model:[]}:$)},await t.nextTick();const F=xd(S.value);if(await L.waitForKeys(F),!S.value||!S.value.rulePath||!S.value.onMounted)return;const R=S.value.onMounted;try{D.ruleMap[S.value.rulePath][R](B)}catch($){console.error($)}}}),t.onActivated(()=>{if(!S.value||!S.value.rulePath||!S.value.onActivated)return;const w=S.value.onActivated;try{D.ruleMap[S.value.rulePath][w](B)}catch(F){console.error(F)}}),A({...B}),(w,F)=>{const R=t.resolveComponent("el-button"),$=t.resolveComponent("el-row");return t.openBlock(),t.createElementBlock("div",null,[S.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"page-render",id:S.value.key},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(S.value.content,j=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(Q[j.type]),t.mergeProps({key:j.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:x},f(j)),null,16))),128)),S.value.btns&&S.value.btns.length>0?(t.openBlock(),t.createBlock($,{key:0,justify:S.value.btnPosition||"end",class:"btn-wrapper"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(S.value.btns,j=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:j.key},[j.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(R,{key:0,type:j.type,onClick:J=>E(j.onClick),disabled:j.disabled},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(j.text),1)]),_:2},1032,["type","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):t.createCommentVNode("",!0)],8,L1)):t.renderSlot(w.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-7a343399"]]),G1={install:(n,A={})=>{n.provide(cn,A),n.component("FormRender",Ut),n.component("FormDesign",Rd),n.component("TableRender",ul),n.component("PageRender",dl)}},H1={key:0},P1=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"TextArea",props:t.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue");return(e,o)=>{const Q=t.resolveComponent("el-input");return e.read?(t.openBlock(),t.createElementBlock("div",H1,t.toDisplayString(A.value||"--"),1)):(t.openBlock(),t.createBlock(Q,t.mergeProps({key:1},e.$attrs,{modelValue:A.value,"onUpdate:modelValue":o[0]||(o[0]=D=>A.value=D),type:"textarea"}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),K1={class:"card-header"},U1={class:"card-btns"},T1={class:"card-sub-header"},Y1=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Card",props:{children:{},collapsible:{type:Boolean},header:{},btns:{},extraIcons:{},shadowless:{type:Boolean},subHeaders:{}},setup(n){const A=t.ref(!1),e=t.inject("ruleModule",void 0),o=t.inject("pageMethodMap",{}),Q=D=>{if(D&&e)try{e[D](o)}catch(l){console.error(l)}};return(D,l)=>{const b=t.resolveComponent("el-tooltip"),S=t.resolveComponent("el-collapse-transition"),f=t.resolveComponent("ElCard");return t.openBlock(),t.createBlock(f,t.mergeProps(D.$attrs,{class:["crm-card",{collapsed:A.value,shadowless:D.shadowless}],shadow:"never"}),{header:t.withCtx(()=>[t.createElementVNode("div",K1,[D.collapsible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:l[0]||(l[0]=x=>A.value=!A.value)},[t.createVNode(t.unref(oe),{name:"dropdown",class:t.normalizeClass(["dropdown-icon",{"is-collapsed":A.value}])},null,8,["class"])])):t.createCommentVNode("",!0),t.createElementVNode("span",null,t.toDisplayString(D.header),1),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D.extraIcons,x=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:x.name},[x.tips?(t.openBlock(),t.createBlock(b,{key:0,content:x.tips,placement:"right"},{default:t.withCtx(()=>[t.createVNode(We,{class:"extra-icon",name:x.name,color:x.color,onClick:L=>Q(x.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(t.openBlock(),t.createBlock(We,{key:1,class:"extra-icon",name:x.name,color:x.color,onClick:L=>Q(x.onClick)},null,8,["name","color","onClick"]))],64))),128)),t.createElementVNode("div",U1,[t.createVNode(t.unref(Zi),{btns:D.btns||[]},null,8,["btns"])]),t.createElementVNode("div",T1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D.subHeaders,x=>(t.openBlock(),t.createElementBlock("div",{key:x,class:"card-sub-header-item"},[t.createElementVNode("span",null,t.toDisplayString(x),1)]))),128))])])]),default:t.withCtx(()=>[t.createVNode(S,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",null,[t.createVNode(t.unref(Sn),{list:D.children},null,8,["list"])],512),[[t.vShow,!A.value]])]),_:1})]),_:1},16,["class"])}}}),[["__scopeId","data-v-1acc3e2f"]])},Symbol.toStringTag,{value:"Module"})),O1=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Cascader",props:t.mergeModels({options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=t.inject("ruleModule",void 0),Q=t.inject("pageMethodMap",{}),D=S=>{if(A.onChange&&o)try{o[A.onChange](Q,S)}catch(f){console.error(f)}},{currentOptions:l,loading:b}=Bo(A);return(S,f)=>{const x=t.resolveComponent("el-cascader");return t.openBlock(),t.createBlock(x,t.mergeProps({modelValue:e.value,"onUpdate:modelValue":f[0]||(f[0]=L=>e.value=L),options:t.unref(l),loading:t.unref(b),props:{multiple:S.multiple,label:S.labelKey,value:S.valueKey}},S.$attrs,{onChange:D}),null,16,["modelValue","options","loading","props"])}}})},Symbol.toStringTag,{value:"Module"}));var Ld={exports:{}};/*!
|
|
180
|
+
export default ${JSON.stringify(n,null,2)} satisfies FormSchema`,Dv=n=>`export default ${JSON.stringify(n,null,2)}`,bv=t.defineComponent({__name:"JsonSchema",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){var f;const A=zt(),e=$n(),Q=(f=Ni().JsonEdit)==null?void 0:f.render,D=t.computed({get(){return A.schema},set(x){x.items&&A.updateSchema(x)}}),l=t.ref({}),b=t.useModel(n,"modelValue"),S=x=>{A.updateSchema({...A.schema,items:Kg(A.schema.items)}),x.repair()};return(x,L)=>{const P=t.resolveComponent("el-tab-pane"),z=t.resolveComponent("el-tabs"),K=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(K,{modelValue:b.value,"onUpdate:modelValue":L[1]||(L[1]=U=>b.value=U),title:t.unref(e).actions.previewJson,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:L[2]||(L[2]=U=>l.value={})},{default:t.withCtx(()=>[t.createVNode(z,{"model-value":"edit",class:"demo-tabs"},{default:t.withCtx(()=>[t.createVNode(P,{label:"在线编辑",name:"edit"},{default:t.withCtx(()=>[t.createVNode(t.unref(Q),{modelValue:D.value,"onUpdate:modelValue":L[0]||(L[0]=U=>D.value=U),style:{height:"70vh"},onBlur:S},null,8,["modelValue"])]),_:1}),t.createVNode(P,{label:"生成ts文件",name:"ts"},{default:t.withCtx(()=>[t.createVNode(t.unref(vo),{style:{height:"70vh"},language:"ts",code:t.unref(wv)(D.value)},null,8,["code"])]),_:1}),t.createVNode(P,{label:"生成js文件",name:"js"},{default:t.withCtx(()=>[t.createVNode(t.unref(vo),{style:{height:"70vh"},language:"js",code:t.unref(Dv)(D.value)},null,8,["code"])]),_:1}),t.createVNode(P,{label:"帮助",name:"help"},{default:t.withCtx(()=>[t.createVNode(t.unref(vo),{style:{height:"70vh"},language:"json",code:t.unref(fv)},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),yv=t.defineComponent({__name:"VueCode",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=zt(),e=$n(),o=t.useModel(n,"modelValue");return(Q,D)=>{const l=t.resolveComponent("el-tab-pane"),b=t.resolveComponent("el-tabs"),S=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(S,{modelValue:o.value,"onUpdate:modelValue":D[0]||(D[0]=f=>o.value=f),title:t.unref(e).actions.previewVueCode,width:"70%",center:"","destroy-on-close":"",top:"10vh"},{default:t.withCtx(()=>[t.createVNode(b,{"model-value":"ts",class:"demo-tabs"},{default:t.withCtx(()=>[t.createVNode(l,{label:"Typescript",name:"ts"},{default:t.withCtx(()=>[t.createVNode(t.unref(vo),{style:{height:"70vh"},code:t.unref(mv)(t.unref(A).schema),language:"vue"},null,8,["code"])]),_:1}),t.createVNode(l,{label:"Javascript",name:"js"},{default:t.withCtx(()=>[t.createVNode(t.unref(vo),{style:{height:"70vh"},code:t.unref(Iv)(t.unref(A).schema),language:"vue"},null,8,["code"])]),_:1})]),_:1})]),_:1},8,["modelValue","title"])}}}),vv={style:{"text-align":"center"}},kv=ZA(t.defineComponent({__name:"Preview",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=zt(),{JsonEdit:e}=Ni(),o=t.ref("edit"),Q=t.ref(),D=t.ref({}),l=t.useModel(n,"modelValue"),b=t.computed(()=>{var L;return(L=Q.value)==null?void 0:L.context}),S=$n(),f=async()=>{var L;await((L=Q.value)==null?void 0:L.validate()),alert(JSON.stringify(D.value,null,2))},x=async()=>{var L;(L=Q.value)==null||L.resetFields()};return(L,P)=>{const z=t.resolveComponent("el-button"),K=t.resolveComponent("el-tab-pane"),U=t.resolveComponent("el-tabs"),_=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(_,{modelValue:l.value,"onUpdate:modelValue":P[4]||(P[4]=I=>l.value=I),title:t.unref(S).actions.previewForm,width:"70%",center:"","destroy-on-close":"",top:"10vh",onClose:P[5]||(P[5]=I=>D.value={})},{default:t.withCtx(()=>[t.createVNode(U,{modelValue:o.value,"onUpdate:modelValue":P[3]||(P[3]=I=>o.value=I)},{default:t.withCtx(()=>[t.createVNode(K,{label:"编辑模式",name:"edit"},{default:t.withCtx(()=>[t.createVNode(t.unref(Ut),{modelValue:D.value,"onUpdate:modelValue":P[0]||(P[0]=I=>D.value=I),schema:t.unref(A).schema,ref_key:"formRef",ref:Q,schemaContext:t.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"}},null,8,["modelValue","schema","schemaContext"]),t.createElementVNode("div",vv,[t.createVNode(z,{onClick:f,type:"primary"},{default:t.withCtx(()=>P[6]||(P[6]=[t.createTextVNode("模拟提交")])),_:1}),t.createVNode(z,{onClick:x,type:"primary",plain:""},{default:t.withCtx(()=>P[7]||(P[7]=[t.createTextVNode("重置")])),_:1})])]),_:1}),t.createVNode(K,{label:"阅读模式",name:"read",lazy:""},{default:t.withCtx(()=>[t.createVNode(t.unref(Ut),{modelValue:D.value,"onUpdate:modelValue":P[1]||(P[1]=I=>D.value=I),schema:{...t.unref(A).schema,labelSuffix:":"},schemaContext:t.unref(A).schemaContext,style:{minHeight:"200px",padding:"20px"},read:""},null,8,["modelValue","schema","schemaContext"])]),_:1}),t.createVNode(K,{label:"联动变量",name:"context"},{default:t.withCtx(()=>[P[8]||(P[8]=t.createElementVNode("p",null,"实时预览的联动变量,在JsonSchema中可以通过双大括号模版语法使用,用于触发各种联动",-1)),(t.openBlock(),t.createBlock(t.unref(e).render,{modelValue:b.value,"onUpdate:modelValue":P[2]||(P[2]=I=>b.value=I),style:{height:"60vh"},key:o.value},null,8,["modelValue"]))]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-1bcfb7d6"]]),_v=t.defineComponent({__name:"ChangeLang",setup(n){const A=t.inject("asiaint-lang");return(e,o)=>{const Q=t.resolveComponent("el-option"),D=t.resolveComponent("el-select");return t.openBlock(),t.createBlock(D,{modelValue:t.unref(A),"onUpdate:modelValue":o[0]||(o[0]=l=>t.isRef(A)?A.value=l:null),size:"small"},{default:t.withCtx(()=>[t.createVNode(Q,{label:"中文",value:"zh"}),t.createVNode(Q,{label:"English",value:"en"})]),_:1},8,["modelValue"])}}}),Mv=t.defineComponent({__name:"index",setup(n){const A=zt(),e=$n(),o=t.ref(!1),Q=t.ref(!1),D=t.ref(!1),l=t.computed(()=>[{label:e.value.actions.previewJson,btnType:"primary",icon:"script",onClick:()=>{o.value=!0}},{label:e.value.actions.previewVueCode,btnType:"default",icon:"vue",onClick:()=>{Q.value=!0}},{label:e.value.actions.previewForm,btnType:"default",icon:"eye",onClick:()=>{D.value=!0}}]),b=t.computed(()=>[{label:e.value.actions.clear,btnType:"danger",icon:"trash",onClick:async()=>{await Lt.ElMessageBox.confirm("确认清空当前设计吗?"),A.updateSchema({...A.schema,items:[]})}},{label:e.value.actions.save,icon:"save",btnType:"primary",onClick:()=>{A.handleEmit("save"),A.handleEmit("onSave")}}]);return(S,f)=>{const x=t.resolveComponent("el-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("actions"))},[t.createElementVNode("div",{class:t.normalizeClass(t.unref(ke)("actions-left"))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,L=>(t.openBlock(),t.createBlock(x,{key:L.label,type:L.btnType,size:"small",onClick:L.onClick},t.createSlots({default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(L.label),1)]),_:2},[L.icon?{name:"icon",fn:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:L.icon},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128)),t.createVNode(_v,{class:t.normalizeClass(t.unref(ke)("actions-left-lang"))},null,8,["class"])],2),t.createElementVNode("div",{class:t.normalizeClass(t.unref(ke)("actions-right"))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(b.value,({label:L,btnType:P,icon:z,onClick:K})=>(t.openBlock(),t.createBlock(x,{key:L,type:P,size:"small",onClick:K},t.createSlots({default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(L),1)]),_:2},[z?{name:"icon",fn:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:z},null,8,["name"])]),key:"0"}:void 0]),1032,["type","onClick"]))),128))],2),t.createVNode(bv,{modelValue:o.value,"onUpdate:modelValue":f[0]||(f[0]=L=>o.value=L)},null,8,["modelValue"]),t.createVNode(yv,{modelValue:Q.value,"onUpdate:modelValue":f[1]||(f[1]=L=>Q.value=L)},null,8,["modelValue"]),t.createVNode(kv,{modelValue:D.value,"onUpdate:modelValue":f[2]||(f[2]=L=>D.value=L),"schema-context":t.unref(A).schemaContext},null,8,["modelValue","schema-context"])],2)}}}),Sv=t.defineComponent({__name:"index",setup(n){const A=zt();return(e,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("form-design-center"))},[t.createVNode(Mv),t.createVNode(t.unref(Ut),{class:t.normalizeClass(t.unref(ke)("canvas")),schema:t.unref(A).schema,"onUpdate:schema":o[0]||(o[0]=Q=>t.unref(A).schema=Q),design:""},null,8,["class","schema"])],2))}}),xv=()=>({labelWidth:100,labelPosition:"top",items:[{hideLabel:!0,name:"change",component:"FormList",children:[{label:"目标字段",name:"target",component:"Input",help:"如果是自增组件内部联动,直接输入子组件的name。如果是外部联动自增组件,就是formlist.*.key"},{label:"触发条件",name:"condition",component:"Input",help:"必须输入一个模板表达式,当表达式结果为true时才触发联动。如果不设置,默认会一直触发"},{label:"值",name:"value",component:"Input",help:"支持模板表达式"}],props:{mode:"card",title:"联动字段"}}]}),Fv=t.defineComponent({__name:"Change",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=zt(),e=t.useModel(n,"modelValue");return(o,Q)=>{const D=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(D,{"destroy-on-close":"",modelValue:e.value,"onUpdate:modelValue":Q[1]||(Q[1]=l=>e.value=l),top:"3vh",title:"值联动"},{default:t.withCtx(()=>[t.createVNode(t.unref(Ut),{modelValue:t.unref(A).current,"onUpdate:modelValue":Q[0]||(Q[0]=l=>t.unref(A).current=l),schema:t.unref(xv)()},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])}}}),Nv={labelWidth:100,labelPosition:"top",items:[{label:"手动配置",component:"JsonEdit",designKey:"design-A2bj",name:".",props:{style:{height:"70vh"}}}]},Rv={class:"config-linkages"},Lv=ZA(t.defineComponent({__name:"Config",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=zt(),e=t.useModel(n,"modelValue");return t.ref({}),(o,Q)=>{var l;const D=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(D,{"destroy-on-close":"",modelValue:e.value,"onUpdate:modelValue":Q[1]||(Q[1]=b=>e.value=b),top:"3vh",title:`${(l=t.unref(A).current)==null?void 0:l.label} - 配置级联动`,width:"70vw",center:""},{default:t.withCtx(()=>[t.createElementVNode("div",Rv,[t.createVNode(t.unref(Ut),{modelValue:t.unref(A).current,"onUpdate:modelValue":Q[0]||(Q[0]=b=>t.unref(A).current=b),schema:t.unref(Nv),class:"edit"},null,8,["modelValue","schema"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-e4ab3ef4"]]),Gv=t.defineComponent({__name:"index",setup(n){const A=$n(),e=t.ref(!1),o=t.ref(!1),Q=t.computed(()=>[{title:A.value.attr.tab1.linkage.action1,onClick:()=>{e.value=!0}},{title:A.value.attr.tab1.linkage.action2,onClick:()=>{o.value=!0}}]);return(D,l)=>{const b=t.resolveComponent("el-divider"),S=t.resolveComponent("el-button");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("linkageConfig"))},[t.createVNode(b,null,{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(A).attr.tab1.linkage.text),1)]),_:1}),t.createElementVNode("div",{class:t.normalizeClass(t.unref(ke)("linkageConfig-btns"))},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Q.value,({title:f,onClick:x})=>(t.openBlock(),t.createBlock(S,{key:f,type:"primary",plain:"",size:"small",onClick:x},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(f),1)]),_:2},1032,["onClick"]))),128))],2),t.createVNode(Lv,{modelValue:e.value,"onUpdate:modelValue":l[0]||(l[0]=f=>e.value=f)},null,8,["modelValue"]),t.createVNode(Fv,{modelValue:o.value,"onUpdate:modelValue":l[1]||(l[1]=f=>o.value=f)},null,8,["modelValue"])],2)}}}),Hv={labelWidth:60,labelPosition:"right",size:"small",items:[{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"}]},Pv={labelWidth:60,labelPosition:"top",size:"small",items:[{label:"ID",component:"Input",props:{placeholder:""},designKey:"form-0vQJ",name:"id"},{label:"class",component:"Input",props:{placeholder:""},designKey:"design-KUlI",name:"class"},{label:"宽度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"%",placeholder:"100",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vw",value:"vw"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi4",name:"style.width"},{label:"高度",component:"SelectInput",props:{selectPosition:"append",selectWidth:50,selectInitialValue:"px",placeholder:"auto",options:[{label:"%",value:"%"},{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"rem",value:"rem"}],clearable:!0},designKey:"design-Bvi44",name:"style.height"},{label:"背景色",component:"ColorInput",designKey:"form-YicU",name:"style.backgroundColor"},{label:"文字颜色",component:"ColorInput",designKey:"design-A2bj",name:"style.color"},{label:"缩放",component:"Slider",designKey:"design-A2sf",name:"style.transform",props:{min:50,max:150},initialValue:100,change:[{target:"style.transform",value:"{{ `scale(${$values.style.transform / 100 })` }}"}]},{children:[{label:"外间距",name:"margin",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.marginTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.marginBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.marginLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.marginRight"}]}]},{label:"内间距",name:"padding",component:"TabsItem",children:[{props:{columns:2,columnGap:20,rowGap:20},component:"Grid",designKey:"design-QqeY",name:"form-3eBs",children:[{label:"上",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"design-F9CI",name:"style.paddingTop"},{label:"下",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-XHJ7",name:"style.paddingBottom"},{label:"左",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-Aeb5",name:"style.paddingLeft"},{label:"右",props:{placeholder:"0",selectPosition:"append",selectWidth:60,selectInitialValue:"px",options:[{label:"px",value:"px"},{label:"%",value:"%"},{label:"em",value:"em"},{label:"rem",value:"rem"},{label:"vw",value:"vw"},{label:"vh",value:"vh"}]},component:"SelectInput",designKey:"form-g0Ss",name:"style.paddingRight"}]}]}],props:{defaultKey:"margin",tabPosition:"top"},component:"Tabs",designKey:"design-WK8O",name:"form-e9YD"},{label:"自定义",component:"JsonEdit",designKey:"design-A2bj",name:"style"}]},Kv={class:"more"},Uv=t.defineComponent({__name:"index",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue"),e=t.ref(!1);return(o,Q)=>{const D=t.resolveComponent("el-divider"),l=t.resolveComponent("el-button"),b=t.resolveComponent("el-drawer");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("style-config"))},[t.createVNode(D,null,{default:t.withCtx(()=>Q[4]||(Q[4]=[t.createTextVNode("组件样式")])),_:1}),t.createVNode(t.unref(Ut),{modelValue:A.value,"onUpdate:modelValue":Q[0]||(Q[0]=S=>A.value=S),schema:t.unref(Hv),ref:"formRef"},null,8,["modelValue","schema"]),t.createElementVNode("div",Kv,[t.createVNode(l,{type:"primary",plain:"",size:"small",onClick:Q[1]||(Q[1]=S=>e.value=!0)},{default:t.withCtx(()=>Q[5]||(Q[5]=[t.createTextVNode("自定义更多样式")])),_:1})]),t.createVNode(b,{modelValue:e.value,"onUpdate:modelValue":Q[3]||(Q[3]=S=>e.value=S),title:"组件样式"},{default:t.withCtx(()=>[t.createVNode(t.unref(Ut),{modelValue:A.value,"onUpdate:modelValue":Q[2]||(Q[2]=S=>A.value=S),schema:t.unref(Pv),ref:"formRef",style:{padding:"0 15px"}},null,8,["modelValue","schema"])]),_:1},8,["modelValue"])],2)}}}),Tv=t.defineComponent({__name:"index",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=Ni(),e=Ea(),o=t.useModel(n,"modelValue"),Q=t.computed(()=>{const l=A[o.value.component];if(l!=null&&l.attrSchema){const b=(f=[])=>f.map(x=>{const L=ns(o.value,x.name),P=Oe.isString(L)&&/^{{\s*(.*?)\s*}}$/.test(L);return{...x,label:e.value==="zh"?x.label:x.name.split(".").pop(),component:P?"Input":x.component,dialog:P||x.dialog,children:x.children&&b(x.children)}}),S=b(l.attrSchema.items);return{...l.attrSchema,items:[{label:"组件类型",component:"Tag",name:"componentType",props:{text:l.title}},...S]}}return{size:"small",labelPosition:"top",items:[]}}),D=t.computed({get(){var l;return((l=o.value)==null?void 0:l.props)||{}},set(l){o.value=_i(o.value,"props",l)}});return(l,b)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("attr"))},[(t.openBlock(),t.createBlock(t.unref(Ut),{key:o.value.designKey,modelValue:o.value,"onUpdate:modelValue":b[0]||(b[0]=S=>o.value=S),schema:Q.value},null,8,["modelValue","schema"])),(t.openBlock(),t.createBlock(Uv,{key:o.value.designKey,modelValue:D.value,"onUpdate:modelValue":b[1]||(b[1]=S=>D.value=S)},null,8,["modelValue"])),t.createVNode(Gv,{modelValue:o.value,"onUpdate:modelValue":b[2]||(b[2]=S=>o.value=S)},null,8,["modelValue"])],2))}}),Yv={size:"small",labelPosition:"top",items:[{label:"label宽度",component:"InputNumber",name:"labelWidth",props:{min:60,unit:"px",step:10},initialValue:150},{label:"label对齐方式",component:"Radio",name:"labelPosition",props:{mode:"static",options:[{label:"左对齐",value:"left"},{label:"居上",value:"top"},{label:"右对齐",value:"right"}]},initialValue:"right"},{label:"label后缀",component:"Input",name:"labelSuffix"},{label:"表单组件尺寸",component:"Radio",name:"size",props:{mode:"static",options:[{label:"默认",value:"default"},{label:"较小",value:"small"},{label:"较大",value:"large"}]},initialValue:"default"},{label:"禁用整个表单",component:"Switch",name:"disabled"},{label:"隐藏必填星号",component:"Switch",name:"hideRequiredAsterisk"},{label:"label加粗",component:"Switch",name:"labelBold"},{label:"自动滚动到校验失败的第一项",component:"Switch",name:"scrollToError"},{label:"规则文件路径",component:"Input",name:"rulePath"},{label:"表单编码",component:"Input",name:"key"},{label:"数据对象",component:"Input",name:"dataModel"}]},Ov=t.defineComponent({__name:"FormEdit",setup(n){const A=zt(),e=t.computed({get(){return A.schema},set(o){A.updateSchema(o)}});return(o,Q)=>(t.openBlock(),t.createBlock(t.unref(Ut),{modelValue:e.value,"onUpdate:modelValue":Q[0]||(Q[0]=D=>e.value=D),schema:t.unref(Yv)},null,8,["modelValue","schema"]))}}),$v=t.defineComponent({__name:"index",setup(n){const A=$n(),e=zt();return t.watch(()=>e.current,o=>{o||(e.rightTab="form")}),(o,Q)=>{const D=t.resolveComponent("el-tab-pane"),l=t.resolveComponent("el-tabs");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(ke)("form-design-right"))},[t.createVNode(l,{modelValue:t.unref(e).rightTab,"onUpdate:modelValue":Q[1]||(Q[1]=b=>t.unref(e).rightTab=b)},{default:t.withCtx(()=>[t.unref(e).current?(t.openBlock(),t.createBlock(D,{key:0,label:t.unref(A).attr.tab1.title,name:"attr"},{default:t.withCtx(()=>[t.createVNode(Tv,{modelValue:t.unref(e).current,"onUpdate:modelValue":Q[0]||(Q[0]=b=>t.unref(e).current=b)},null,8,["modelValue"])]),_:1},8,["label"])):t.createCommentVNode("",!0),t.createVNode(D,{label:t.unref(A).attr.tab2.title,name:"form"},{default:t.withCtx(()=>[t.createVNode(Ov)]),_:1},8,["label"])]),_:1},8,["modelValue"])],2)}}}),Rd=t.defineComponent({__name:"index",props:t.mergeModels({schemaContext:{default:()=>({})},templates:{default:()=>[]},omitMenus:{default:()=>[]}},{modelValue:{default:t.reactive({labelWidth:150,labelPosition:"right",scrollToError:!0,size:"default",items:[]})},modelModifiers:{}}),emits:t.mergeModels(["onSave","save","add"],["update:modelValue"]),setup(n,{emit:A}){const e=n,o=A,Q=t.ref(""),D=t.useModel(n,"modelValue"),l=t.computed({get(){return D.value.items},set(f){D.value.items=f}}),b=t.computed({get(){return Ca(l.value,Q.value)},set(f){Q.value=f.designKey,l.value=Gg(l.value,f)}}),S=t.reactive({...t.toRefs(e),currentKey:Q,hoverKey:"",schema:D,current:b,list:l,rightTab:"form",updateCurrent(f){S.current=f},updateHoverKey(f){S.hoverKey=f},updateSchema:f=>{Object.assign(D.value,f)},updateList:f=>{l.value=f},handleEmit:(f,x)=>{o(f,x)}});return t.provide(Rg,S),(f,x)=>(t.openBlock(),t.createElementBlock("div",t.mergeProps({class:t.unref(ke)("form-design")},f.$attrs),[t.createVNode(Qv),t.createVNode(Sv),t.createVNode($v)],16))}}),Jv={class:"card-header"},Zv={class:"card-btns"},zv={key:0,class:"switch-panel"},Wv=ZA(t.defineComponent({__name:"CardWrapper",props:{collapsible:{type:Boolean},header:{},btns:{},tableType:{default:"table"},typeSwitch:{type:Boolean,default:!1},switchTableType:{},shadowless:{type:Boolean}},setup(n){const A=n,e=t.ref(!1),o=t.computed(()=>A.btns?A.btns.map(Q=>({isLinkBtn:!0,...Q})):[]);return(Q,D)=>{const l=t.resolveComponent("el-collapse-transition"),b=t.resolveComponent("ElCard");return t.openBlock(),t.createBlock(b,t.mergeProps(Q.$attrs,{class:["crm-card",{collapsed:e.value,shadowless:Q.shadowless}],shadow:"never"}),{header:t.withCtx(()=>[t.createElementVNode("div",Jv,[Q.collapsible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:D[0]||(D[0]=S=>e.value=!e.value)},[t.createVNode(t.unref(oe),{name:"dropdown",class:t.normalizeClass(["dropdown-icon",{"is-collapsed":e.value}])},null,8,["class"])])):t.createCommentVNode("",!0),t.createElementVNode("span",null,t.toDisplayString(Q.header),1),t.createElementVNode("div",Zv,[Q.typeSwitch?(t.openBlock(),t.createElementBlock("div",zv,[t.createElementVNode("div",{class:t.normalizeClass(["switch-icon-wrapper",{active:Q.tableType==="card"}]),onClick:D[1]||(D[1]=S=>Q.switchTableType("card"))},[t.createVNode(We,{name:"icon-kapian"})],2),t.createElementVNode("div",{class:t.normalizeClass(["switch-icon-wrapper",{active:Q.tableType==="table"}]),onClick:D[2]||(D[2]=S=>Q.switchTableType("table"))},[t.createVNode(We,{name:"icon-biaoge"})],2)])):t.createCommentVNode("",!0),t.createElementVNode("div",null,[t.createVNode(t.unref(Zi),{btns:o.value||[]},null,8,["btns"])])])])]),default:t.withCtx(()=>[t.createVNode(l,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",null,[t.renderSlot(Q.$slots,"default",{},void 0,!0)],512),[[t.vShow,!e.value]])]),_:3})]),_:3},16,["class"])}}}),[["__scopeId","data-v-3bf3fee7"]]),jv=["id"],qv={class:"empty-content"},Xv=["title"],Vv=["title","onClick"],A1=["title"],e1={class:"row-btn-wrapper"},t1={class:"empty-content"},n1=["title"],i1=["title","onClick"],o1=["title"],s1={class:"row-btn-wrapper"},ul=ZA(t.defineComponent({__name:"index",props:t.mergeModels({design:{type:Boolean},read:{type:Boolean},pageRulePath:{}},{schema:{required:!0},schemaModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:schema","update:modelValue"],setup(n,{expose:A}){const e=n,o=t.useModel(n,"schema"),Q=t.computed(()=>o.value.rulePath&&D[o.value.rulePath]?o.value.rulePath:e.pageRulePath),D=t.inject("ruleMap",{}),l=t.inject("pageMethodMap",{}),b=t.inject("getGlobalParams",()=>{}),S=t.inject(cn),f=S?S.translateFn:null;Q.value&&t.provide("ruleModule",D[Q.value]);const x=t.ref(),L=t.useModel(n,"modelValue"),P=(q,oA)=>{const cA=o.value.columns.find(sA=>sA.key===q);cA&&(cA.hidden=!oA)},z=(q,oA,cA)=>{if(Q.value)try{D[Q.value][q.onClick](l,oA,cA)}catch(sA){console.error(sA)}},K=q=>{if(!(!o.value.rowClick||!Q.value))try{D[Q.value][o.value.rowClick](l,q)}catch(oA){console.error(oA)}},U=q=>{if(!(!o.value.rowDbClick||!Q.value))try{D[Q.value][o.value.rowDbClick](l,q)}catch(oA){console.error(oA)}},_=t.ref([]),I=q=>{_.value=q},G=(q,oA,cA)=>{L.value[q]&&(L.value[q][oA]=cA)},k=()=>{var q;(q=x.value)==null||q.clearSelection()},y=()=>L.value,C=t.ref(),d=q=>{if(C.value=q,!(!o.value.handleCurrentChange||!Q.value))try{D[Q.value][o.value.handleCurrentChange](l,q)}catch(oA){console.error(oA)}},p=()=>C.value,a=()=>{var q;return(q=x.value)==null?void 0:q.getSelectionRows()},g=(q={})=>{L.value.push(q)},r=q=>{q>=0&&q<L.value.length&&L.value.splice(q,1)},u=async()=>{L.value=[...L.value]},h=async()=>!0,s=q=>{L.value=q},i=(q,oA)=>{var sA;const cA=(sA=o.value.topBtns)==null?void 0:sA.find(pA=>pA.key===q);cA&&(cA.hidden=oA)},B=(q,oA)=>{var sA;const cA=(sA=o.value.rowBtns)==null?void 0:sA.find(pA=>pA.key===q);cA&&(cA.condition=!oA)},E=t.ref(0),M=q=>{E.value=q},w=t.ref({pageNum:1,pageSize:o.value.defaultPageSize||5}),F=()=>w.value,R=q=>{let oA=!1;return q.pageNum>-1&&(w.value.pageNum!==q.pageNum&&(oA=!0),w.value.pageNum=q.pageNum),q.pageSize>-1&&(w.value.pageSize!==q.pageSize&&(oA=!0),w.value.pageSize=q.pageSize),console.log("zytest---setPagination--",oA),{pagination:w.value,isChange:oA}},$=q=>{if(w.value.pageNum=1,w.value.pageSize=q,!(!o.value.sizeChange||!Q.value))try{D[Q.value][o.value.sizeChange](l,w.value)}catch(oA){console.error(oA)}},j=q=>{if(w.value.pageNum=q,!(!o.value.pageChange||!Q.value))try{D[Q.value][o.value.pageChange](l,w.value)}catch(oA){console.error(oA)}},J=q=>{var oA;(oA=x.value)==null||oA.setCurrentRow(q)},Y=q=>{var oA;(oA=x.value)==null||oA.setCurrentRow(L.value[q])},X=(q,oA,cA)=>{o.value.columns.forEach(sA=>{sA.key===q&&sA[oA]&&(sA[oA]=cA)})},v=q=>{o.value.displayType=q},W=q=>{o.value.shadowless=q},N=(q,oA)=>{const cA=f?f(q.key,oA):oA[q.key];if(!q.encrypted||!cA)return cA;const sA=`${cA}`;return sA.length<=4?"*".repeat(sA.length):sA.slice(0,-4)+"****"},V=t.useTemplateRef("rootRef");o.value.displayType||(o.value.displayType=o.value.typeSwitch?"card":"table"),t.onMounted(async()=>{if(!o.value||!o.value.onMounted||!Q.value)return;await t.nextTick();const q=o.value.onMounted;try{D[Q.value][q](l)}catch(oA){console.error(oA)}}),t.onActivated(()=>{if(!o.value||!o.value.onActivated||!Q.value)return;const q=o.value.onActivated;try{D[Q.value][q](l)}catch(oA){console.error(oA)}});const AA=t.readonly({...t.toRefs(e),setCellData:G,clearSelection:k,getData:y,getCurrentRow:p,getSelectedRows:a,addRow:g,deleteRow:r,refresh:u,validate:h,setData:s,selectRow:J,selectRowNum:Y,setTotal:M,getPagination:F,setPagination:R,setTopBtnHidden:i,setColVisible:P,setColumn:X,setRowsBtnHidden:B,setShadowless:W,rootRef:V,type:"table"});return A(AA),(q,oA)=>{const cA=t.resolveComponent("el-table-column"),sA=t.resolveComponent("el-tooltip"),pA=t.resolveComponent("el-button"),O=t.resolveComponent("el-pagination");return o.value.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"rootRef",ref:V,id:o.value.key},[o.value.cardless?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["table-render",{tableBorder:o.value.displayType==="table"}])},[t.withDirectives(t.createElementVNode("div",null,[t.createVNode(t.unref(Lt.ElTable),{ref_key:"tableRef",ref:x,data:L.value,stripe:o.value.stripe,"highlight-current-row":"","row-key":o.value.rowKey,onRowClick:K,onRowDblclick:U,onSelectionChange:I,onCurrentChange:d,height:o.value.height},{empty:t.withCtx(()=>[t.createElementVNode("div",t1,[t.createVNode(t.unref(oe),{name:"tableEmpty",style:{width:56,height:56}}),oA[5]||(oA[5]=t.createElementVNode("div",null,"No data available,please check",-1))])]),default:t.withCtx(()=>[o.value.multipleSelection?(t.openBlock(),t.createBlock(cA,{key:0,type:"selection",width:"55"})):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.columns,nA=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:nA.key},[nA.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(cA,{key:0,prop:nA.key,"min-width":nA.minWidth,fixed:nA.fixed||!1},{header:t.withCtx(()=>[t.createElementVNode("div",{class:"text-ellipsis",title:nA.label},t.toDisplayString(nA.label),9,n1)]),default:t.withCtx(({row:iA,$index:rA})=>[nA.type==="link"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"text-ellipsis link-style",title:N(nA,iA),onClick:T=>z(nA,iA,rA)},t.toDisplayString(N(nA,iA)),9,i1)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"text-ellipsis",title:N(nA,iA)},t.toDisplayString(N(nA,iA)),9,o1))]),_:2},1032,["prop","min-width","fixed"]))],64))),128)),o.value.rowBtns&&o.value.rowBtns.length>0?(t.openBlock(),t.createBlock(cA,{key:1,label:"Action",fixed:"right",align:"left"},{default:t.withCtx(({row:nA,$index:iA})=>[t.createElementVNode("div",s1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.rowBtns,rA=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:rA.key},[rA.condition===void 0||rA.condition===null||t.unref(yn)(rA.condition,{$row:nA,$globalParams:t.unref(b)()})?(t.openBlock(),t.createBlock(pA,{key:0,disabled:rA.disabled,link:"",size:"small",type:rA.type,onClick:T=>z(rA,nA,iA)},{default:t.withCtx(()=>[t.createVNode(sA,{class:"box-item",effect:"dark",content:rA.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:t.withCtx(()=>[rA.icon?(t.openBlock(),t.createBlock(We,{key:0,name:rA.icon.name,color:rA.icon.color},null,8,["name","color"])):t.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):t.createCommentVNode("",!0)],64))),128))])]),_:1})):t.createCommentVNode("",!0)]),_:1},8,["data","stripe","row-key","height"])],512),[[t.vShow,o.value.displayType==="table"]]),t.withDirectives(t.createVNode(ms,t.mergeProps(o.value,{data:L.value,"get-col-text":N}),null,16,["data"]),[[t.vShow,o.value.displayType==="card"]]),t.createElementVNode("div",{class:t.normalizeClass(["pagination-wrapper",{hidePagination:o.value.hiddenPagination||L.value.length===0,cardlistPadding:o.value.displayType==="card"}])},[t.createVNode(O,{layout:"total,sizes, prev, pager, next,jumper",total:E.value,"page-sizes":o.value.pageSizes||[5,10,20,30,40],"default-page-size":o.value.defaultPageSize,"current-page":w.value.pageNum,"onUpdate:currentPage":oA[2]||(oA[2]=nA=>w.value.pageNum=nA),"page-size":w.value.pageSize,"onUpdate:pageSize":oA[3]||(oA[3]=nA=>w.value.pageSize=nA),"pager-count":o.value.pagerCount,onSizeChange:$,onCurrentChange:j},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],2)):(t.openBlock(),t.createBlock(Wv,{key:0,header:o.value.title,btns:o.value.topBtns,collapsible:o.value.collapsible!==!1,switchTableType:v,tableType:o.value.displayType,typeSwitch:o.value.typeSwitch,shadowless:o.value.shadowless},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(["table-render",{tableBorder:o.value.displayType==="table"}])},[t.withDirectives(t.createElementVNode("div",null,[t.createVNode(t.unref(Lt.ElTable),{ref_key:"tableRef",ref:x,data:L.value,stripe:o.value.stripe,"highlight-current-row":"","row-key":o.value.rowKey,onRowClick:K,onRowDblclick:U,onSelectionChange:I,onCurrentChange:d,height:o.value.height},{empty:t.withCtx(()=>[t.createElementVNode("div",qv,[t.createVNode(t.unref(oe),{name:"tableEmpty",style:{width:56,height:56}}),oA[4]||(oA[4]=t.createElementVNode("div",null,"No data available,please check",-1))])]),default:t.withCtx(()=>[o.value.multipleSelection?(t.openBlock(),t.createBlock(cA,{key:0,type:"selection",width:"55"})):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.columns,nA=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:nA.key},[nA.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(cA,{key:0,prop:nA.key,"min-width":nA.minWidth,fixed:nA.fixed||!1},{header:t.withCtx(()=>[t.createElementVNode("div",{class:"text-ellipsis",title:nA.label},t.toDisplayString(nA.label),9,Xv)]),default:t.withCtx(({row:iA,$index:rA})=>[nA.type==="link"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"text-ellipsis link-style",title:N(nA,iA),onClick:T=>z(nA,iA,rA)},t.toDisplayString(N(nA,iA)),9,Vv)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"text-ellipsis",title:N(nA,iA)},t.toDisplayString(N(nA,iA)),9,A1))]),_:2},1032,["prop","min-width","fixed"]))],64))),128)),o.value.rowBtns&&o.value.rowBtns.length>0?(t.openBlock(),t.createBlock(cA,{key:1,label:"Action",fixed:"right",align:"left"},{default:t.withCtx(({row:nA,$index:iA})=>[t.createElementVNode("div",e1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value.rowBtns,rA=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:rA.key},[rA.condition===void 0||rA.condition===null||t.unref(yn)(rA.condition,{$row:nA,$globalParams:t.unref(b)()})?(t.openBlock(),t.createBlock(pA,{key:0,disabled:rA.disabled,link:"",size:"small",type:rA.type,onClick:T=>z(rA,nA,iA)},{default:t.withCtx(()=>[t.createVNode(sA,{class:"box-item",effect:"dark",content:rA.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:t.withCtx(()=>[rA.icon?(t.openBlock(),t.createBlock(We,{key:0,name:rA.icon.name,color:rA.icon.color},null,8,["name","color"])):t.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):t.createCommentVNode("",!0)],64))),128))])]),_:1})):t.createCommentVNode("",!0)]),_:1},8,["data","stripe","row-key","height"])],512),[[t.vShow,o.value.displayType==="table"]]),t.withDirectives(t.createVNode(ms,t.mergeProps(o.value,{data:L.value,"get-col-text":N}),null,16,["data"]),[[t.vShow,o.value.displayType==="card"]]),t.createElementVNode("div",{class:t.normalizeClass(["pagination-wrapper",{hidePagination:o.value.hiddenPagination||L.value.length===0,cardlistPadding:o.value.displayType==="card"}])},[t.createVNode(O,{layout:"total,sizes, prev, pager, next,jumper",total:E.value,"page-sizes":o.value.pageSizes||[5,10,20,30,40],"default-page-size":o.value.defaultPageSize,"current-page":w.value.pageNum,"onUpdate:currentPage":oA[0]||(oA[0]=nA=>w.value.pageNum=nA),"page-size":w.value.pageSize,"onUpdate:pageSize":oA[1]||(oA[1]=nA=>w.value.pageSize=nA),"pager-count":o.value.pagerCount,onSizeChange:$,onCurrentChange:j},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],2)]),_:1},8,["header","btns","collapsible","tableType","typeSwitch","shadowless"]))],8,jv))}}}),[["__scopeId","data-v-353b67cd"]]),r1=["id"],a1={class:"tab-label"},l1={class:"tab-label-text"},c1={key:0,class:"divider"},g1=ZA(t.defineComponent({__name:"index",props:t.mergeModels({ruleMap:{},pageParams:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const e=t.useModel(n,"schema"),o=t.ref({}),Q=t.ref({}),D=K=>U=>{U?Q.value[K]=U:delete Q.value[K]},l=t.computed(()=>{var K;return(K=e.value.content.find(U=>U.url===f.value))==null?void 0:K.mixMode}),b=K=>{e.value.content=K},S=K=>{Array.isArray(K)?e.value.content.push(...K):e.value.content.push(K)},f=t.ref(e.value.content[0].url),x=K=>{o.value[K]=!0,t.nextTick(()=>{o.value[K]=!1})},L=t.useTemplateRef("rootRef"),P=K=>Q.value[K],z=K=>{f.value=K};return A(t.readonly({setTabContent:b,addTabContent:S,schema:e,rootRef:L,findRef:P,changeActiveTab:z,type:"tabs"})),(K,U)=>{var k,y,C;const _=t.resolveComponent("el-skeleton"),I=t.resolveComponent("el-tab-pane"),G=t.resolveComponent("el-tabs");return t.openBlock(),t.createElementBlock("div",{ref_key:"rootRef",ref:L,id:e.value.key},[e.value.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(G,t.mergeProps({key:0},e.value.tabProps,{modelValue:f.value,"onUpdate:modelValue":U[0]||(U[0]=d=>f.value=d),class:["crm-tabs",{mixmode:l.value}],style:{"--top":(k=e.value)!=null&&k.stickyTop?`${(y=e.value)==null?void 0:y.stickyTop}px`:"110px","--is-sticky":(C=e.value)!=null&&C.isSticky?"sticky":"static"}}),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.value.content,(d,p)=>(t.openBlock(),t.createBlock(I,{name:d.url,key:d.url,lazy:p!==0},{label:t.withCtx(()=>[t.createElementVNode("div",a1,[t.createElementVNode("span",l1,t.toDisplayString(d.label),1),p!==e.value.content.length-1?(t.openBlock(),t.createElementBlock("span",c1)):t.createCommentVNode("",!0)])]),default:t.withCtx(()=>[o.value[p]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(dl,{key:0,pageUrl:d.url,"rule-map":K.ruleMap,"page-params":{...K.pageParams,...d.pageParams},ref_for:!0,ref:D(d.url),onRefresh:a=>x(p)},{loading:t.withCtx(()=>[t.createVNode(_,{rows:5,animated:""})]),_:2},1032,["pageUrl","rule-map","page-params","onRefresh"]))]),_:2},1032,["name","lazy"]))),128))]),_:1},16,["modelValue","style","class"]))],8,r1)}}}),[["__scopeId","data-v-24504834"]]),u1=["id"],d1={class:"info-card"},h1={class:"info-card-header"},p1={class:"left-part"},B1={class:"avatar"},C1={class:"title-part"},E1={class:"title"},Q1={class:"sub-title-container"},m1={class:"sub-title"},I1={class:"info-card-detail"},f1={class:"label"},w1={key:0,class:"divider"},D1=ZA(t.defineComponent({__name:"InfoCard",props:t.mergeModels({pageRulePath:{}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const e=t.useModel(n,"schema"),o=t.inject("ruleMap",{}),Q=n,D=t.computed(()=>e.value.rulePath&&o[e.value.rulePath]?o[e.value.rulePath]:o[Q.pageRulePath]);t.provide("ruleModule",D.value);const l=t.inject("pageMethodMap",{}),b=f=>{const x=document.createElement("textarea");x.value=f??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()},S=async()=>{try{await navigator.clipboard.writeText(e.value.header.subTitle)}catch(f){console.error("Clipboard API error:",f),b(e.value.header.subTitle)}Lt.ElMessage.success("Copy Successful")};return t.onMounted(async()=>{if(!e.value||!e.value.rulePath||!e.value.onMounted)return;const f=e.value.onMounted;try{D.value[f](l)}catch(x){console.error(x)}}),A({type:"infocard",schema:e}),(f,x)=>{var L,P,z;return e.value.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:"info-card-container",id:e.value.key},[t.createElementVNode("div",d1,[t.createElementVNode("div",h1,[t.createElementVNode("div",p1,[t.createElementVNode("div",B1,[t.createVNode(We,{name:(L=e.value.header)==null?void 0:L.avatar},null,8,["name"])]),t.createElementVNode("div",C1,[t.createElementVNode("div",E1,t.toDisplayString((P=e.value.header)==null?void 0:P.title),1),t.createElementVNode("div",Q1,[t.createElementVNode("span",m1,t.toDisplayString((z=e.value.header)==null?void 0:z.subTitle),1),t.createVNode(We,{name:"icon-fuzhi",class:"copy-icon",onClick:S})])])]),t.createElementVNode("div",null,[t.createVNode(t.unref(Zi),{btns:e.value.btns},null,8,["btns"])])]),t.createElementVNode("div",I1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.value.detail,(K,U)=>(t.openBlock(),t.createElementBlock("div",{key:K.label,class:"detail-item"},[t.createElementVNode("div",null,[t.createElementVNode("div",f1,t.toDisplayString(K.label),1),t.createElementVNode("div",{class:"value",style:t.normalizeStyle(K.color?{color:K.color}:{})},t.toDisplayString(K.value||"- -"),5)]),U!==e.value.detail.length-1?(t.openBlock(),t.createElementBlock("div",w1)):t.createCommentVNode("",!0)]))),128))])])],8,u1))}}}),[["__scopeId","data-v-d5bc64f7"]]),b1=["id"],y1={class:"left-part"},v1={class:"nav-title"},k1=["onClick"],_1={class:"nav-footer"},M1={class:"left-actions"},S1=["onClick"],x1={class:"footer-text"},F1={key:1,class:"divider"},N1={class:"right-actions"},R1=ZA(t.defineComponent({__name:"NavBar",props:t.mergeModels({pageRulePath:{},findRef:{type:Function}},{schema:{required:!0},schemaModifiers:{}}),emits:["update:schema"],setup(n,{expose:A}){const e=t.useModel(n,"schema"),o=t.computed(()=>(e.value.leftActions||[]).filter(P=>!P.hidden)),Q=t.inject("ruleMap",{}),D=t.inject("pageMethodMap",{}),l=n,b=t.computed(()=>e.value.rulePath&&Q[e.value.rulePath]?Q[e.value.rulePath]:Q[l.pageRulePath]);t.provide("ruleModule",b.value);const S=P=>{if(P&&b.value)try{b.value[P](D)}catch(z){console.error(z)}},f=t.inject(cn),x=()=>{f&&f.navigateFn&&f.navigateFn(-1)},L=P=>{const z=l.findRef(P);z&&z.rootRef&&z.rootRef.scrollIntoView({behavior:"smooth",block:"center"})};return A({type:"navbar",schema:e}),(P,z)=>e.value.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nav-bar",{mixmode:e.value.mixMode,simple:e.value.simple}]),style:t.normalizeStyle(e.value.top?{top:`${e.value.top}px`}:{}),id:e.value.key},[e.value.title||e.value.btns?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["nav-header",{mb10:e.value.content&&e.value.content.length>0||e.value.leftActions&&e.value.leftActions.length>0}])},[t.createElementVNode("div",y1,[e.value.back?(t.openBlock(),t.createBlock(We,{key:0,name:"icon-back",class:"back-icon",onClick:x})):t.createCommentVNode("",!0),t.createElementVNode("div",v1,t.toDisplayString(e.value.title),1)]),t.createElementVNode("div",null,[t.createVNode(t.unref(Zi),{btns:e.value.btns||[]},null,8,["btns"])])],2)):t.createCommentVNode("",!0),e.value.content&&e.value.content.length>0?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["steps",{mb8:o.value.length>0||(e.value.footerBtns||[]).length>0}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.value.content,(K,U)=>(t.openBlock(),t.createElementBlock("div",{key:U,class:t.normalizeClass(["hexagon",{"first-item":U===0,"middle-item":U>0&&U<e.value.content.length-1,"last-item":U===e.value.content.length-1}]),onClick:_=>L(K.ref)},[t.createElementVNode("span",null,t.toDisplayString(K.text),1)],10,k1))),128))],2)):t.createCommentVNode("",!0),t.createElementVNode("div",_1,[t.createElementVNode("div",M1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value,(K,U)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:K.key},[K.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,onClick:_=>S(K.onClick),class:"footer-item"},[K.icon?(t.openBlock(),t.createBlock(We,{key:0,name:K.icon.name,color:K.icon.color,class:"footer-icon"},null,8,["name","color"])):t.createCommentVNode("",!0),t.createElementVNode("span",x1,t.toDisplayString(K.text),1),U!==o.value.length-1?(t.openBlock(),t.createElementBlock("div",F1)):t.createCommentVNode("",!0)],8,S1))],64))),128))]),t.createElementVNode("div",N1,[t.createVNode(t.unref(Zi),{btns:e.value.footerBtns||[]},null,8,["btns"])])])],14,b1))}}),[["__scopeId","data-v-42cd4537"]]),L1=["id"],dl=ZA(t.defineComponent({__name:"index",props:{ruleMap:{},pageUrl:{},pageParams:{}},emits:["done","refresh"],setup(n,{expose:A,emit:e}){const o=e,Q={form:Ut,table:ul,tabs:g1,infocard:D1,navbar:R1},D=n,l=t.ref(D.pageParams),b=t.ref({}),S=t.ref();t.watch(()=>D.pageParams,()=>{l.value=D.pageParams});const f=w=>{if(S.value){if(w.type==="tabs")return{...w.schema.tabProps,schema:w.schema,"onUpdate:schema":F=>{w.schema=F},ruleMap:D.ruleMap,pageParams:l.value};if(w.type==="form")return{modelValue:w.model,"onUpdate:modelValue":F=>{w.model=F},realValues:w.realValues,"onUpdate:realValues":F=>{w.realValues=F},schema:w.schema,"onUpdate:schema":F=>{w.schema=F},pageRulePath:S.value.rulePath||""};if(w.type==="table")return{modelValue:w.model,"onUpdate:modelValue":F=>{w.model=F},schema:w.schema,"onUpdate:schema":F=>{w.schema=F},pageRulePath:S.value.rulePath||""};if(w.type==="infocard")return{schema:w.schema,"onUpdate:schema":F=>{w.schema=F},pageRulePath:S.value.rulePath||""};if(w.type==="navbar")return{schema:w.schema,"onUpdate:schema":F=>{w.schema=F},pageRulePath:S.value.rulePath||"",findRef:P}}},x=t.ref([]),L=pv(),P=w=>{var R;const F=(R=x.value)==null?void 0:R.find($=>$.schema.key===w);return F||L.findRef(w)},z=w=>{var R;return(R=x.value)==null?void 0:R.filter($=>$.schema.key&&w.includes($.schema.key))},K=(w,F)=>{var J;const R=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],$=Y=>{Y.forEach(X=>{R.includes(X.component)?X.props&&(X.props.disabled=F):X.children&&$(X.children)})},j=(J=S.value)==null?void 0:J.content.find(Y=>Y.schema.key===w);j&&j.type==="form"&&$(j.schema.items)},U=(w,F)=>{var J;const R=["Input","InputNumber","Select","DatePicker","TextArea","SearchInput","SearchSelect","Radio","SelectInput","Upload"],$=Y=>{Y.forEach(X=>{R.includes(X.component)?X.props&&(X.props.read=F):X.children&&$(X.children)})},j=(J=S.value)==null?void 0:J.content.find(Y=>Y.schema.key===w);j&&j.type==="form"&&$(j.schema.items)},_=async w=>{if(Array.isArray(w)){const F=z(w);for(const R of F||[])R.type==="form"&&await R.validate()}else{const F=P(w);return F?await F.validate():!1}},I=w=>{if(S.value){if(!w){const F={};for(const R of S.value.content)R.schema.key&&(R.type==="form"?F[R.schema.key]=Oe.cloneDeep(t.toRaw({...R.model,...R.realValues})):R.type==="table"&&(F[R.schema.key]=Oe.cloneDeep(t.toRaw(R.model))));return F}if(Array.isArray(w)){const F={};for(const R of S.value.content)R.schema.key&&w.includes(R.schema.key)&&(R.type==="form"?F[R.schema.key]=Oe.cloneDeep(t.toRaw({...R.model,...R.realValues})):R.type==="table"&&(F[R.schema.key]=Oe.cloneDeep(t.toRaw(R.model))));return F}else{const F=S.value.content.find(R=>R.schema.key===w);if(F){if(F.type==="form")return Oe.cloneDeep(t.toRaw({...F.model,...F.realValues}));if(F.type==="table")return Oe.cloneDeep(t.toRaw(F.model))}}}},G=(w,F,R=!1)=>{if(!S.value)return;const $=S.value.content.find(j=>j.schema.key===w);if($)if($.type==="form")if(R)Object.assign($.model,F);else{for(let j in $.model)delete $.model[j];Object.assign($.model,F)}else $.type==="table"&&($.model=F)},k=w=>{if(w)if(Array.isArray(w)){const F=z(w);for(const R of F||[])R.type==="form"&&R.resetFields()}else{const F=P(w);if(!F)return;F.type==="form"&&F.resetFields()}},y=(w,F)=>{var $;const R=($=S.value)==null?void 0:$.content.find(j=>j.schema.key===w);if(R&&R.type==="form")return is(R.schema.items,F)},C=()=>l.value,d=w=>{l.value=w},p=w=>{l.value={...l.value,...w}},a=(w,F)=>{if(!S.value)return;const R=S.value.content.find($=>$.schema.key===w);R&&(R.schema.hidden=F)},g=(w,F)=>{if(!S.value)return;const R=S.value.btns.find($=>$.key===w);R&&(R.hidden=F)},r=(w,F,R)=>{var $;if(S.value){if(w.type==="form"){const j=y(w.formKey,w.btnKey);j&&(F==="disabled"?j.props[F]=R:j[F]=R)}else if(w.type==="page"){const j=S.value.btns.find(J=>J.key===w.btnKey);j&&(j[F]=R)}else if(w.type==="table"){const j=($=S.value)==null?void 0:$.content.find(J=>J.schema.key===w.tableKey);if(!j||j.type!=="table")return;if(w.btnPosition==="top")j.schema.topBtns.find(J=>J.key===w.btnKey)[F]=R;else if(w.btnPosition==="row"){const J=F==="hidden"?"condition":F;j.schema.rowBtns.find(Y=>Y.key===w.btnKey)[J]=R}}else if(w.type==="card"){const j=y(w.formKey,w.cardKey);j&&(j.props.btns.find(J=>J.key===w.btnKey)[F]=R)}}},u=(w,F,R)=>{var $,j,J,Y,X;if(S.value){if(S.value.btns){const v=S.value.btns.find(W=>W.key===w);if(v){v[F]=R;return}}for(const v of S.value.content){if(v.type==="infocard"){const W=v.schema.btns.find(N=>N.key===w);if(W){W[F]=R;return}}if(v.type==="navbar"){const W=($=v.schema.btns)==null?void 0:$.find(AA=>AA.key===w);if(W){W[F]=R;return}const N=(j=v.schema.footerBtns)==null?void 0:j.find(AA=>AA.key===w);if(N){N[F]=R;return}const V=(J=v.schema.leftActions)==null?void 0:J.find(AA=>AA.key===w);if(V&&F==="hidden"){V[F]=R;return}}if(v.type==="table"){const W=(Y=v.schema.topBtns)==null?void 0:Y.find(V=>V.key===w);if(W){W[F]=R;return}const N=(X=v.schema.rowBtns)==null?void 0:X.find(V=>V.key===w);if(N){F==="hidden"?N.condition=!R:N[F]=R;return}}if(v.type==="form"){const W=N=>{var V,AA;for(const q of N){if(q.component==="Button"&&q.name===w)return q.props&&(q.props[F]=R),!0;if((q.component==="Card"||q.component==="CurdCard")&&q.props&&Array.isArray(q.props.btns)){const oA=q.props.btns.find(cA=>cA.key===w);if(oA)return oA[F]=R,!0}if(q.component==="Table"&&q.props){const oA=(V=q.props.topBtns)==null?void 0:V.find(sA=>sA.key===w);if(oA)return oA[F]=R,!0;const cA=(AA=q.props.rowBtns)==null?void 0:AA.find(sA=>sA.key===w);if(cA)return F==="hidden"?cA.condition=!R:cA[F]=R,!0}if(q.children&&Array.isArray(q.children)&&W(q.children))return!0}return!1};if(W(v.schema.items))return}}}},h=(w,F)=>{if(!S.value)return;const R=S.value.btns.find($=>$.key===w);R&&(R.disabled=F)},s=w=>{Object.assign(b.value,w)},i=()=>b.value,B={findRef:P,setFormDisabled:K,validate:_,getData:I,resetFields:k,emit:o,setData:G,getItemByName:y,getPageParams:C,setHidden:a,setBtnHidden:g,setBtnStateByKey:u,setBtnDisabled:h,addPageParams:p,setPageParams:d,setGlobalParams:s,getGlobalParams:i,setBtnState:r,setReadMode:U},E=w=>{if(!(!S.value||!S.value.rulePath))try{D.ruleMap[S.value.rulePath][w](B)}catch(F){console.error(F)}};t.provide("pageMethodMap",B),t.provide("ruleMap",D.ruleMap),t.provide("getGlobalParams",i);const M=t.inject(cn);return t.onMounted(async()=>{if(M&&M.fetchSchemaFn&&D.pageUrl){const w=await M.fetchSchemaFn(D.pageUrl);S.value={...w,content:w.content.map($=>$.type==="form"?{...$,schema:$.schema,model:{},realValues:{}}:$.type==="table"?{...$,schema:$.schema,model:[]}:$)},await t.nextTick();const F=xd(S.value);if(await L.waitForKeys(F),!S.value||!S.value.rulePath||!S.value.onMounted)return;const R=S.value.onMounted;try{D.ruleMap[S.value.rulePath][R](B)}catch($){console.error($)}}}),t.onActivated(()=>{if(!S.value||!S.value.rulePath||!S.value.onActivated)return;const w=S.value.onActivated;try{D.ruleMap[S.value.rulePath][w](B)}catch(F){console.error(F)}}),A({...B}),(w,F)=>{const R=t.resolveComponent("el-button"),$=t.resolveComponent("el-row");return t.openBlock(),t.createElementBlock("div",null,[S.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"page-render",id:S.value.key},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(S.value.content,j=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(Q[j.type]),t.mergeProps({key:j.schema.key,class:"page-render__item",ref_for:!0,ref_key:"pageRenderRef",ref:x},f(j)),null,16))),128)),S.value.btns&&S.value.btns.length>0?(t.openBlock(),t.createBlock($,{key:0,justify:S.value.btnPosition||"end",class:"btn-wrapper"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(S.value.btns,j=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:j.key},[j.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(R,{key:0,type:j.type,onClick:J=>E(j.onClick),disabled:j.disabled},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(j.text),1)]),_:2},1032,["type","onClick","disabled"]))],64))),128))]),_:1},8,["justify"])):t.createCommentVNode("",!0)],8,L1)):t.renderSlot(w.$slots,"loading",{key:1},void 0,!0)])}}}),[["__scopeId","data-v-7a343399"]]),G1={install:(n,A={})=>{n.provide(cn,A),n.component("FormRender",Ut),n.component("FormDesign",Rd),n.component("TableRender",ul),n.component("PageRender",dl)}},H1={key:0},P1=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"TextArea",props:t.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue");return(e,o)=>{const Q=t.resolveComponent("el-input");return e.read?(t.openBlock(),t.createElementBlock("div",H1,t.toDisplayString(A.value||"--"),1)):(t.openBlock(),t.createBlock(Q,t.mergeProps({key:1},e.$attrs,{modelValue:A.value,"onUpdate:modelValue":o[0]||(o[0]=D=>A.value=D),type:"textarea"}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),K1={class:"card-header"},U1={class:"card-btns"},T1={class:"card-sub-header"},Y1=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Card",props:{children:{},collapsible:{type:Boolean},header:{},btns:{},extraIcons:{},shadowless:{type:Boolean},subHeaders:{}},setup(n){const A=t.ref(!1),e=t.inject("ruleModule",void 0),o=t.inject("pageMethodMap",{}),Q=D=>{if(D&&e)try{e[D](o)}catch(l){console.error(l)}};return(D,l)=>{const b=t.resolveComponent("el-tooltip"),S=t.resolveComponent("el-collapse-transition"),f=t.resolveComponent("ElCard");return t.openBlock(),t.createBlock(f,t.mergeProps(D.$attrs,{class:["crm-card",{collapsed:A.value,shadowless:D.shadowless}],shadow:"never"}),{header:t.withCtx(()=>[t.createElementVNode("div",K1,[D.collapsible?(t.openBlock(),t.createElementBlock("div",{key:0,class:"icon-wrapper",onClick:l[0]||(l[0]=x=>A.value=!A.value)},[t.createVNode(t.unref(oe),{name:"dropdown",class:t.normalizeClass(["dropdown-icon",{"is-collapsed":A.value}])},null,8,["class"])])):t.createCommentVNode("",!0),t.createElementVNode("span",null,t.toDisplayString(D.header),1),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D.extraIcons,x=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:x.name},[x.tips?(t.openBlock(),t.createBlock(b,{key:0,content:x.tips,placement:"right"},{default:t.withCtx(()=>[t.createVNode(We,{class:"extra-icon",name:x.name,color:x.color,onClick:L=>Q(x.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(t.openBlock(),t.createBlock(We,{key:1,class:"extra-icon",name:x.name,color:x.color,onClick:L=>Q(x.onClick)},null,8,["name","color","onClick"]))],64))),128)),t.createElementVNode("div",U1,[t.createVNode(t.unref(Zi),{btns:D.btns||[]},null,8,["btns"])]),t.createElementVNode("div",T1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D.subHeaders,x=>(t.openBlock(),t.createElementBlock("div",{key:x,class:"card-sub-header-item"},[t.createElementVNode("span",null,t.toDisplayString(x),1)]))),128))])])]),default:t.withCtx(()=>[t.createVNode(S,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",null,[t.createVNode(t.unref(Sn),{list:D.children},null,8,["list"])],512),[[t.vShow,!A.value]])]),_:1})]),_:1},16,["class"])}}}),[["__scopeId","data-v-1acc3e2f"]])},Symbol.toStringTag,{value:"Module"})),O1=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Cascader",props:t.mergeModels({options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean},filters:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=t.inject("ruleModule",void 0),Q=t.inject("pageMethodMap",{}),D=S=>{if(A.onChange&&o)try{o[A.onChange](Q,S)}catch(f){console.error(f)}},{currentOptions:l,loading:b}=Bo(A);return(S,f)=>{const x=t.resolveComponent("el-cascader");return t.openBlock(),t.createBlock(x,t.mergeProps({modelValue:e.value,"onUpdate:modelValue":f[0]||(f[0]=L=>e.value=L),options:t.unref(l),loading:t.unref(b),props:{multiple:S.multiple,label:S.labelKey,value:S.valueKey}},S.$attrs,{onChange:D}),null,16,["modelValue","options","loading","props"])}}})},Symbol.toStringTag,{value:"Module"}));var Ld={exports:{}};/*!
|
|
181
181
|
* jsoneditor.js
|
|
182
182
|
*
|
|
183
183
|
* @brief
|
|
@@ -1576,4 +1576,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1576
1576
|
linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em / 2em 2em`,_=360,I="keydown",G="mousedown",k="focusin";function y(g,r){return(r||document).querySelector(g)}function C(g){g.preventDefault(),g.stopPropagation()}function d(g,r,u,h,s){g.add(r,I,function(i){u.indexOf(i.key)>=0&&h(i)})}var p=function(){function g(r){l(this,g),this.settings={popup:"right",layout:"default",alpha:!0,editor:!0,editorFormat:"hex",cancelButton:!1,defaultColor:"#0cf"},this._events=new P,this.onChange=null,this.onDone=null,this.onOpen=null,this.onClose=null,this.setOptions(r)}return b(g,[{key:"setOptions",value:function(u){var h=this;if(!u)return;var s=this.settings;function i(w,F,R){for(var $ in w)F[$]=w[$]}if(u instanceof HTMLElement)s.parent=u;else{s.parent&&u.parent&&s.parent!==u.parent&&(this._events.remove(s.parent),this._popupInited=!1),i(u,s),u.onChange&&(this.onChange=u.onChange),u.onDone&&(this.onDone=u.onDone),u.onOpen&&(this.onOpen=u.onOpen),u.onClose&&(this.onClose=u.onClose);var B=u.color||u.colour;B&&this._setColor(B)}var E=s.parent;if(E&&s.popup&&!this._popupInited){var M=function(F){return h.openHandler(F)};this._events.add(E,"click",M),d(this._events,E,[" ","Spacebar","Enter"],M),this._popupInited=!0}else u.parent&&!s.popup&&this.show()}},{key:"openHandler",value:function(u){if(this.show()){u&&u.preventDefault(),this.settings.parent.style.pointerEvents="none";var h=u&&u.type===I?this._domEdit:this.domElement;setTimeout(function(){return h.focus()},100),this.onOpen&&this.onOpen(this.colour)}}},{key:"closeHandler",value:function(u){var h=u&&u.type,s=!1;if(!u)s=!0;else if(h===G||h===k){var i=(this.__containedEvent||0)+100;u.timeStamp>i&&(s=!0)}else C(u),s=!0;s&&this.hide()&&(this.settings.parent.style.pointerEvents="",h!==G&&this.settings.parent.focus(),this.onClose&&this.onClose(this.colour))}},{key:"movePopup",value:function(u,h){this.closeHandler(),this.setOptions(u),h&&this.openHandler()}},{key:"setColor",value:function(u,h){this._setColor(u,{silent:h})}},{key:"_setColor",value:function(u,h){if(typeof u=="string"&&(u=u.trim()),!!u){h=h||{};var s=void 0;try{s=new L(u)}catch(B){if(h.failSilently)return;throw B}if(!this.settings.alpha){var i=s.hsla;i[3]=1,s.hsla=i}this.colour=this.color=s,this._setHSLA(null,null,null,null,h)}}},{key:"setColour",value:function(u,h){this.setColor(u,h)}},{key:"show",value:function(){var u=this.settings.parent;if(!u)return!1;if(this.domElement){var h=this._toggleDOM(!0);return this._setPosition(),h}var s=this.settings.template||'<div class="picker_wrapper" tabindex="-1"><div class="picker_arrow"></div><div class="picker_hue picker_slider"><div class="picker_selector"></div></div><div class="picker_sl"><div class="picker_selector"></div></div><div class="picker_alpha picker_slider"><div class="picker_selector"></div></div><div class="picker_editor"><input aria-label="Type a color name or hex value"/></div><div class="picker_sample"></div><div class="picker_done"><button>Ok</button></div><div class="picker_cancel"><button>Cancel</button></div></div>',i=z(s);return this.domElement=i,this._domH=y(".picker_hue",i),this._domSL=y(".picker_sl",i),this._domA=y(".picker_alpha",i),this._domEdit=y(".picker_editor input",i),this._domSample=y(".picker_sample",i),this._domOkay=y(".picker_done button",i),this._domCancel=y(".picker_cancel button",i),i.classList.add("layout_"+this.settings.layout),this.settings.alpha||i.classList.add("no_alpha"),this.settings.editor||i.classList.add("no_editor"),this.settings.cancelButton||i.classList.add("no_cancel"),this._ifPopup(function(){return i.classList.add("popup")}),this._setPosition(),this.colour?this._updateUI():this._setColor(this.settings.defaultColor),this._bindEvents(),!0}},{key:"hide",value:function(){return this._toggleDOM(!1)}},{key:"destroy",value:function(){this._events.destroy(),this.domElement&&this.settings.parent.removeChild(this.domElement)}},{key:"_bindEvents",value:function(){var u=this,h=this,s=this.domElement,i=this._events;function B(w,F,R){i.add(w,F,R)}B(s,"click",function(w){return w.preventDefault()}),K(i,this._domH,function(w,F){return h._setHSLA(w)}),K(i,this._domSL,function(w,F){return h._setHSLA(null,w,1-F)}),this.settings.alpha&&K(i,this._domA,function(w,F){return h._setHSLA(null,null,null,1-F)});var E=this._domEdit;B(E,"input",function(w){h._setColor(this.value,{fromEditor:!0,failSilently:!0})}),B(E,"focus",function(w){var F=this;F.selectionStart===F.selectionEnd&&F.select()}),this._ifPopup(function(){var w=function($){return u.closeHandler($)};B(window,G,w),B(window,k,w),d(i,s,["Esc","Escape"],w);var F=function($){u.__containedEvent=$.timeStamp};B(s,G,F),B(s,k,F),B(u._domCancel,"click",w)});var M=function(F){u._ifPopup(function(){return u.closeHandler(F)}),u.onDone&&u.onDone(u.colour)};B(this._domOkay,"click",M),d(i,s,["Enter"],M)}},{key:"_setPosition",value:function(){var u=this.settings.parent,h=this.domElement;u!==h.parentNode&&u.appendChild(h),this._ifPopup(function(s){getComputedStyle(u).position==="static"&&(u.style.position="relative");var i=s===!0?"popup_right":"popup_"+s;["popup_top","popup_bottom","popup_left","popup_right"].forEach(function(B){B===i?h.classList.add(B):h.classList.remove(B)}),h.classList.add(i)})}},{key:"_setHSLA",value:function(u,h,s,i,B){B=B||{};var E=this.colour,M=E.hsla;[u,h,s,i].forEach(function(w,F){(w||w===0)&&(M[F]=w)}),E.hsla=M,this._updateUI(B),this.onChange&&!B.silent&&this.onChange(E)}},{key:"_updateUI",value:function(u){if(!this.domElement)return;u=u||{};var h=this.colour,s=h.hsla,i="hsl("+s[0]*_+", 100%, 50%)",B=h.hslString,E=h.hslaString,M=this._domH,w=this._domSL,F=this._domA,R=y(".picker_selector",M),$=y(".picker_selector",w),j=y(".picker_selector",F);function J(q,oA,cA){oA.style.left=cA*100+"%"}function Y(q,oA,cA){oA.style.top=cA*100+"%"}J(M,R,s[0]),this._domSL.style.backgroundColor=this._domH.style.color=i,J(w,$,s[1]),Y(w,$,1-s[2]),w.style.color=B,Y(F,j,1-s[3]);var X=B,v=X.replace("hsl","hsla").replace(")",", 0)"),W="linear-gradient("+[X,v]+")";if(this._domA.style.background=W+", "+U,!u.fromEditor){var N=this.settings.editorFormat,V=this.settings.alpha,AA=void 0;switch(N){case"rgb":AA=h.printRGB(V);break;case"hsl":AA=h.printHSL(V);break;default:AA=h.printHex(V)}this._domEdit.value=AA}this._domSample.style.color=E}},{key:"_ifPopup",value:function(u,h){this.settings.parent&&this.settings.popup?u&&u(this.settings.popup):h&&h()}},{key:"_toggleDOM",value:function(u){var h=this.domElement;if(!h)return!1;var s=u?"":"none",i=h.style.display!==s;return i&&(h.style.display=s),i}}]),g}(),a=document.createElement("style");return a.textContent='.picker_wrapper.no_alpha .picker_alpha{display:none}.picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.picker_wrapper.no_cancel .picker_cancel{display:none}.layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:.5em}.layout_default.picker_wrapper input,.layout_default.picker_wrapper button{font-size:1rem}.layout_default.picker_wrapper>*{margin:.5em}.layout_default.picker_wrapper::before{content:"";display:block;width:100%;height:0;order:1}.layout_default .picker_slider,.layout_default .picker_selector{padding:1em}.layout_default .picker_hue{width:100%}.layout_default .picker_sl{flex:1 1 auto}.layout_default .picker_sl::before{content:"";display:block;padding-bottom:100%}.layout_default .picker_editor{order:1;width:6.5rem}.layout_default .picker_editor input{width:100%;height:100%}.layout_default .picker_sample{order:1;flex:1 1 auto}.layout_default .picker_done,.layout_default .picker_cancel{order:1}.picker_wrapper{box-sizing:border-box;background:#f2f2f2;box-shadow:0 0 0 1px silver;cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.picker_wrapper:focus{outline:none}.picker_wrapper button,.picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px silver;outline:none}.picker_wrapper button:focus,.picker_wrapper button:active,.picker_wrapper input:focus,.picker_wrapper input:active{box-shadow:0 0 2px 1px #1e90ff}.picker_wrapper button{padding:.4em .6em;cursor:pointer;background-color:#f5f5f5;background-image:linear-gradient(0deg, gainsboro, transparent)}.picker_wrapper button:active{background-image:linear-gradient(0deg, transparent, gainsboro)}.picker_wrapper button:hover{background-color:#fff}.picker_selector{position:absolute;z-index:1;display:block;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border:2px solid #fff;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.picker_slider .picker_selector{border-radius:2px}.picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px silver}.picker_sl{position:relative;box-shadow:0 0 0 1px silver;background-image:linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%),linear-gradient(0deg, black, rgba(0, 0, 0, 0) 50%),linear-gradient(90deg, #808080, rgba(128, 128, 128, 0))}.picker_alpha,.picker_sample{position:relative;background:linear-gradient(45deg, lightgrey 25%, transparent 25%, transparent 75%, lightgrey 75%) 0 0/2em 2em,linear-gradient(45deg, lightgrey 25%, white 25%, white 75%, lightgrey 75%) 1em 1em/2em 2em;box-shadow:0 0 0 1px silver}.picker_alpha .picker_selector,.picker_sample .picker_selector{background:none}.picker_editor input{font-family:monospace;padding:.2em .4em}.picker_sample::before{content:"";position:absolute;display:block;width:100%;height:100%;background:currentColor}.picker_arrow{position:absolute;z-index:-1}.picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.picker_wrapper.popup,.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{background:#f2f2f2;box-shadow:0 0 10px 1px rgba(0,0,0,.4)}.picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.picker_wrapper.popup .picker_arrow::before,.picker_wrapper.popup .picker_arrow::after{content:"";display:block;position:absolute;top:0;left:0;z-index:-99}.picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;-webkit-transform:skew(45deg);transform:skew(45deg);-webkit-transform-origin:0 100%;transform-origin:0 100%}.picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.popup.popup_top{bottom:100%;left:0}.popup.popup_top .picker_arrow{bottom:0;left:0;-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.popup.popup_bottom{top:100%;left:0}.popup.popup_bottom .picker_arrow{top:0;left:0;-webkit-transform:rotate(90deg) scale(1, -1);transform:rotate(90deg) scale(1, -1)}.popup.popup_left{top:0;right:100%}.popup.popup_left .picker_arrow{top:0;right:0;-webkit-transform:scale(-1, 1);transform:scale(-1, 1)}.popup.popup_right{top:0;left:100%}.popup.popup_right .picker_arrow{top:0;left:0}',document.documentElement.firstElementChild.appendChild(a),p.StyleElement=a,p}()},9857:function(D,l,b){b.d(l,{m:function(){return zA}});class S extends Error{constructor(QA,FA){super(QA+" at position "+FA),this.position=FA}}let f=92,x=47,L=42,P=123,z=125,K=91,U=93,_=40,I=41,G=32,k=10,y=9,C=13,d=8,p=12,a=34,g=43,r=45,u=39,h=48,s=57,i=44,B=46,E=58,M=59,w=65,F=97,R=69,$=101,j=70,J=102,Y=160,X=8192,v=8202,W=8239,N=8287,V=12288,AA=8220,q=8221,oA=8216,cA=8217,sA=96,pA=180;function O(DA){return DA>=h&&DA<=s}function nA(DA){return iA.test(DA)}let iA=/^[,:[\]/{}()\n+]$/;function rA(DA){return T.test(DA)||DA&&eA(DA.charCodeAt(0))}let T=/^[[{\w-]$/;function Z(DA){return DA===G||DA===k||DA===y||DA===C}function eA(DA){return aA(DA)||wA(DA)}function aA(DA){return DA===a||DA===AA||DA===q}function dA(DA){return DA===a}function wA(DA){return DA===u||DA===oA||DA===cA||DA===sA||DA===pA}function NA(DA){return DA===u}function LA(DA,QA,FA){return FA=2<arguments.length&&FA!==void 0&&FA,QA=DA.lastIndexOf(QA),QA!==-1?DA.substring(0,QA)+(FA?"":DA.substring(QA+1)):DA}function WA(DA,QA){let FA=DA.length;if(!Z(DA.charCodeAt(FA-1)))return DA+QA;for(;Z(DA.charCodeAt(FA-1));)FA--;return DA.substring(0,FA)+QA+DA.substring(FA)}let jA={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},ee={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
|
|
1577
1577
|
`,r:"\r",t:" "};function zA(DA){let QA=0,FA="";if(!re())throw new S("Unexpected end of json string",DA.length);var XA=SA(i);if(XA&&Ce(),rA(DA[QA])&&/[,\n][ \t\r]*$/.test(FA)){XA||(FA=WA(FA,","));{let TA=!0,YA=!0;for(;YA;)TA?TA=!1:SA(i)||(FA=WA(FA,",")),YA=re();YA||(FA=LA(FA,",")),FA=`[
|
|
1578
1578
|
`.concat(FA,`
|
|
1579
|
-
]`)}}else XA&&(FA=LA(FA,","));for(;DA.charCodeAt(QA)===z||DA.charCodeAt(QA)===U;)QA++,Ce();if(QA>=DA.length)return FA;throw new S("Unexpected character "+JSON.stringify(DA[QA]),QA);function re(){Ce();var TA=function(){if(DA.charCodeAt(QA)!==P)return!1;{FA+="{",QA++,Ce(),GA(i)&&Ce();let ht=!0;for(;QA<DA.length&&DA.charCodeAt(QA)!==z;){if(ht?ht=!1:(SA(i)||(FA=WA(FA,",")),Ce()),JA(),!(OA()||hA())){DA.charCodeAt(QA)===z||DA.charCodeAt(QA)===P||DA.charCodeAt(QA)===U||DA.charCodeAt(QA)===K||DA[QA]===void 0?FA=LA(FA,","):function(){throw new S("Object key expected",QA)}();break}Ce();var YA=SA(E),ge=QA>=DA.length,Le=(YA||(rA(DA[QA])||ge?FA=WA(FA,":"):te()),re());Le||(YA||ge?FA+="null":te())}return DA.charCodeAt(QA)===z?(FA+="}",QA++):FA=WA(FA,"}"),!0}}()||function(){if(DA.charCodeAt(QA)!==K)return!1;{FA+="[",QA++,Ce(),GA(i)&&Ce();let ge=!0;for(;QA<DA.length&&DA.charCodeAt(QA)!==U;){ge?ge=!1:SA(i)||(FA=WA(FA,",")),JA();var YA=re();if(!YA){FA=LA(FA,",");break}}return DA.charCodeAt(QA)===U?(FA+="]",QA++):FA=WA(FA,"]"),!0}}()||OA()||function(){var YA=QA;if(DA.charCodeAt(QA)===r){if(QA++,vA())return KA(YA),!0;if(!O(DA.charCodeAt(QA)))return QA=YA,!1}for(;O(DA.charCodeAt(QA));)QA++;if(DA.charCodeAt(QA)===B){if(QA++,vA())return KA(YA),!0;if(!O(DA.charCodeAt(QA)))return QA=YA,!1;for(;O(DA.charCodeAt(QA));)QA++}if(DA.charCodeAt(QA)===$||DA.charCodeAt(QA)===R){if(QA++,DA.charCodeAt(QA)!==r&&DA.charCodeAt(QA)!==g||QA++,vA())return KA(YA),!0;if(!O(DA.charCodeAt(QA)))return QA=YA,!1;for(;O(DA.charCodeAt(QA));)QA++}var ge,Le;if(vA()){if(QA>YA)return ge=DA.slice(YA,QA),Le=/^0\d/.test(ge),FA+=Le?'"'.concat(ge,'"'):ge,!0}else QA=YA;return!1}()||ce("true","true")||ce("false","false")||ce("null","null")||ce("True","true")||ce("False","false")||ce("None","null")||hA();return Ce(),TA}function Ce(){for(kA();function(){if(DA.charCodeAt(QA)===x&&DA.charCodeAt(QA+1)===L){for(;QA<DA.length&&!function(TA,YA){return TA[YA]==="*"&&TA[YA+1]==="/"}(DA,QA);)QA++;QA+=2}else{if(DA.charCodeAt(QA)!==x||DA.charCodeAt(QA+1)!==x)return!1;for(;QA<DA.length&&DA.charCodeAt(QA)!==k;)QA++}return!0}()&&kA(););}function kA(){let TA="";for(var YA,ge;(YA=Z(DA.charCodeAt(QA)))||(ge=DA.charCodeAt(QA))===Y||ge>=X&&ge<=v||ge===W||ge===N||ge===V;)TA+=YA?DA[QA]:" ",QA++;return 0<TA.length&&(FA+=TA,!0)}function SA(TA){return DA.charCodeAt(QA)===TA&&(FA+=DA[QA],QA++,!0)}function GA(TA){return DA.charCodeAt(QA)===TA&&(QA++,!0)}function JA(){Ce(),DA.charCodeAt(QA)===B&&DA.charCodeAt(QA+1)===B&&DA.charCodeAt(QA+2)===B&&(QA+=3,Ce(),GA(i))}function OA(TA){var YA,ge,Le=0<arguments.length&&TA!==void 0&&TA;let ht=DA.charCodeAt(QA)===f;if(ht&&(QA++,ht=!0),eA(DA.charCodeAt(QA))){var EA=dA(DA.charCodeAt(QA))?dA:NA(DA.charCodeAt(QA))?NA:wA(DA.charCodeAt(QA))?wA:aA,BA=QA,fA=FA.length;let le='"';for(QA++;;){if(QA>=DA.length)return MA=mA(QA-1),!Le&&nA(DA.charAt(MA))?(QA=BA,FA=FA.substring(0,fA),OA(!0)):(le=WA(le,'"'),FA+=le,!0);if(EA(DA.charCodeAt(QA))){var MA=QA,_A=le.length;if(le+='"',QA++,FA+=le,Ce(),Le||QA>=DA.length||nA(DA.charAt(QA))||eA(DA.charCodeAt(QA))||O(DA.charCodeAt(QA)))return VA(),!0;if(nA(DA.charAt(mA(MA-1))))return QA=BA,FA=FA.substring(0,fA),OA(!0);FA=FA.substring(0,fA),QA=MA+1,le=le.substring(0,_A)+"\\"+le.substring(_A)}else{if(Le&&nA(DA[QA]))return le=WA(le,'"'),FA+=le,VA(),!0;if(DA.charCodeAt(QA)===f)if(_A=DA.charAt(QA+1),ee[_A]!==void 0)le+=DA.slice(QA,QA+2),QA+=2;else if(_A==="u"){let xe=2;for(;xe<6&&((ge=DA.charCodeAt(QA+xe))>=h&&ge<=s||ge>=w&&ge<=j||ge>=F&&ge<=J);)xe++;if(xe===6)le+=DA.slice(QA,QA+6),QA+=6;else{if(!(QA+xe>=DA.length))throw ie=void 0,ie=DA.slice(QA,QA+6),new S('Invalid unicode character "'.concat(ie,'"'),QA);QA=DA.length}}else le+=_A,QA+=2;else{var ie=DA.charAt(QA),se=DA.charCodeAt(QA);if(se===a&&DA.charCodeAt(QA-1)!==f)le+="\\"+ie;else if((YA=se)===k||YA===C||YA===y||YA===d||YA===p)le+=jA[ie];else{if(!(32<=(YA=se)&&YA<=1114111))throw se=void 0,se=ie,new S("Invalid character "+JSON.stringify(se),QA);le+=ie}QA++}}ht&&GA(f)}}return!1}function VA(){for(Ce();DA.charCodeAt(QA)===g;){QA++,Ce();var TA=(FA=LA(FA,'"',!0)).length,YA=OA();FA=YA?(YA=FA,TA=TA,ge=1,YA.substring(0,TA)+YA.substring(TA+ge)):WA(FA,'"')}var ge}function ce(TA,YA){return DA.slice(QA,QA+TA.length)===TA&&(FA+=YA,QA+=TA.length,!0)}function hA(){for(var TA,YA=QA;QA<DA.length&&(!nA(TA=DA[QA])||TA==="/")&&!eA(DA.charCodeAt(QA));)QA++;if(QA>YA){if(DA.charCodeAt(QA)===_&&/^\w+$/.test(DA.slice(YA,QA).trim()))QA++,re(),DA.charCodeAt(QA)===I&&(QA++,DA.charCodeAt(QA)===M)&&QA++;else{for(;Z(DA.charCodeAt(QA-1))&&0<QA;)QA--;YA=DA.slice(YA,QA),FA+=YA==="undefined"?"null":JSON.stringify(YA),DA.charCodeAt(QA)===a&&QA++}return!0}}function mA(TA){let YA=TA;for(;0<YA&&Z(DA.charCodeAt(YA));)YA--;return YA}function vA(){return QA>=DA.length||nA(DA[QA])||Z(DA.charCodeAt(QA))}function KA(TA){FA+=DA.slice(TA,QA)+"0"}function te(){throw new S("Colon expected",QA)}}},3420:function(D){D.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},5207:function(D){D.exports=JSON.parse('{"id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-04/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}}')},6801:function(D){D.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},8198:function(D){D.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},Q={},e.amdD=function(){throw new Error("define cannot be used indirect")},e.n=function(D){var l=D&&D.__esModule?function(){return D.default}:function(){return D};return e.d(l,{a:l}),l},e.d=function(D,l){for(var b in l)e.o(l,b)&&!e.o(D,b)&&Object.defineProperty(D,b,{enumerable:!0,get:l[b]})},e.o=function(D,l){return Object.prototype.hasOwnProperty.call(D,l)},e.r=function(D){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(D,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(D,"__esModule",{value:!0})},e.nmd=function(D){return D.paths=[],D.children||(D.children=[]),D},e(1346);function e(D){var l=Q[D];return l!==void 0||(l=Q[D]={id:D,loaded:!1,exports:{}},o[D].call(l.exports,l,l.exports,e),l.loaded=!0),l.exports}var o,Q})})(Ld);var $1=Ld.exports;const J1=oB($1),Z1={editor:null,name:"json-editor-vue",internalChange:!1,props:{modelValue:Object,options:Object,currentMode:{type:String,default:"code"},modeList:{type:Array,default:()=>["tree","code","form","text","view"]},language:{type:String,default:"en"}},data(){return{json:this.modelValue,expandedModes:["tree","view","form"],isFullScreen:!1,hasLogo:!0,showFullScreen:!1}},watch:{modelValue:{immediate:!0,deep:!0,handler(n){this.internalChange||(this.setEditorContent(n),this.$nextTick(()=>{this.expandAll()}))}}},mounted(){this.init();const n=document.querySelector(".jsoneditor-menu .jsoneditor-poweredBy");this.hasLogo=n&&window.getComputedStyle(n).display!=="none",this.showFullScreen=!0},unmounted(){var n;(n=this.editor)==null||n.destroy(),this.editor=null},methods:{toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.$nextTick(()=>{const n=new Event("resize");window.dispatchEvent(n)})},init(){const{currentMode:n,modeList:A,options:e}=this,o=()=>{const P=K=>{this.json=K,this.$emit("update:modelValue",K),this.$emit("change",K),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){P("");return}try{const K=this.editor.get();P(K)}catch{}},Q=()=>{this.expandAll()},D=(P,z,K)=>{this.$emit("textSelectionChange",this.editor,P,z,K)},l=(P,z)=>{this.$emit("selectionChange",this.editor,P,z)},b=(P,z,K)=>{this.$emit("colorPicker",this.editor,P,z,K)},S=({target:P})=>{this.$emit("focus",this.editor,P)},f=({target:P})=>{this.$emit("blur",this.editor,P)},x=P=>{this.$emit("validationError",this.editor,P)},L={...e,indentation:2,language:this.language,mode:n,modes:A,onChange:o,onModeChange:Q,onTextSelectionChange:D,onSelectionChange:l,onColorPicker:b,onFocus:S,onBlur:f,onValidationError:x};this.editor=new J1(this.$refs.jsonEditorVue,L,this.json)},expandAll(){var n,A;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((A=this.editor)==null||A.expandAll())},setEditorContent(n){var A;(A=this.editor)==null||A.set(n)}}},z1={ref:"jsonEditorVue",class:"json-editor-vue"};function W1(n,A,e,o,Q,D){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["container",{"full-screen-container":Q.isFullScreen}])},[t.createElementVNode("div",z1,null,512),t.createElementVNode("div",{class:t.normalizeClass(["full-screen",{show:Q.showFullScreen,right:!Q.hasLogo}]),onClick:A[0]||(A[0]=(...l)=>D.toggleFullScreen&&D.toggleFullScreen(...l))},null,2)],2)}const j1=ZA(Z1,[["render",W1],["__scopeId","data-v-c53d52f1"]]),q1=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:t.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue");return(e,o)=>(t.openBlock(),t.createBlock(t.unref(Nw),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:t.withCtx(()=>[t.createVNode(j1,t.mergeProps({class:"editor-direct",modelValue:A.value,"onUpdate:modelValue":o[0]||(o[0]=Q=>A.value=Q),currentMode:"code",modeList:["text","view","tree","code","form"],options:{search:!1,history:!1}},e.$attrs),null,16,["modelValue"])]),_:1},8,["disabled"]))}})},Symbol.toStringTag,{value:"Module"})),X1={key:0},V1=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Checkbox",props:t.mergeModels({options:{default:()=>[]},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=ut(),{currentOptions:Q,selectChange:D,loading:l}=Bo(A);return t.watch(e,D),(b,S)=>{var K;const f=t.resolveComponent("el-checkbox"),x=t.resolveComponent("el-checkbox-button"),L=t.resolveComponent("el-space"),P=t.resolveComponent("el-checkbox-group"),z=t.resolveDirective("loading");return t.unref(o).read?(t.openBlock(),t.createElementBlock("div",X1,t.toDisplayString((K=e.value)==null?void 0:K.map(U=>{var _;return(_=t.unref(Q).find(I=>I[b.valueKey]===U))==null?void 0:_[b.labelKey]}).join("、")),1)):t.withDirectives((t.openBlock(),t.createBlock(P,t.mergeProps({key:1},b.$attrs,{modelValue:e.value,"onUpdate:modelValue":S[0]||(S[0]=U=>e.value=U),onChange:t.unref(D)}),{default:t.withCtx(()=>[b.optionType==="circle"||b.optionType==="border"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(t.unref(Q),U=>(t.openBlock(),t.createBlock(f,{key:U[b.valueKey],label:U[b.labelKey],value:U[b.valueKey],border:b.optionType==="border"},null,8,["label","value","border"]))),128)):t.createCommentVNode("",!0),b.optionType==="button"?(t.openBlock(),t.createBlock(L,{key:1,wrap:"",size:[b.space,b.space]},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(Q),U=>(t.openBlock(),t.createBlock(x,{key:U[b.valueKey],label:U[b.labelKey],value:U[b.valueKey],size:"large"},null,8,["label","value"]))),128))]),_:1},8,["size"])):t.createCommentVNode("",!0)]),_:1},16,["modelValue","onChange"])),[[z,t.unref(l)]])}}})},Symbol.toStringTag,{value:"Module"})),Ak={class:"vfc-color-input"},ek=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue");return(e,o)=>{const Q=t.resolveComponent("el-input"),D=t.resolveComponent("el-color-picker");return t.openBlock(),t.createElementBlock("div",Ak,[t.createVNode(Q,{modelValue:A.value,"onUpdate:modelValue":o[0]||(o[0]=l=>A.value=l)},null,8,["modelValue"]),t.createVNode(D,{modelValue:A.value,"onUpdate:modelValue":o[1]||(o[1]=l=>A.value=l)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),tk={key:0,class:"empty"},nk=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Custom",props:t.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue");return(e,o)=>e.componentName?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.componentName),t.mergeProps({key:1,modelValue:A.value,"onUpdate:modelValue":o[0]||(o[0]=Q=>A.value=Q)},e.$attrs),null,16,["modelValue"])):(t.openBlock(),t.createElementBlock("span",tk,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-a013b8cf"]])},Symbol.toStringTag,{value:"Module"})),ik={key:0},ok=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"DatePicker",props:t.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue");return(e,o)=>{const Q=t.resolveComponent("el-date-picker");return e.read?(t.openBlock(),t.createElementBlock("span",ik,t.toDisplayString(A.value||"--"),1)):(t.openBlock(),t.createBlock(Q,t.mergeProps({key:1},e.$attrs,{modelValue:A.value,"onUpdate:modelValue":o[0]||(o[0]=D=>A.value=D),style:{width:"100%"}}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),sk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Divider",props:{title:{}},setup(n){return(A,e)=>{const o=t.resolveComponent("ElDivider");return t.openBlock(),t.createBlock(o,t.normalizeProps(t.guardReactiveProps(A.$attrs)),{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(A.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),rk=t.defineComponent({props:{width:{type:Number,default:800},height:{type:Number,default:300},lineWidth:{type:Number,default:4},lineColor:{type:String,default:"#000000"},bgColor:{type:String,default:""},isCrop:{type:Boolean,default:!1},isClearBgColor:{type:Boolean,default:!1},format:{type:String,default:"image/png"},quality:{type:Number,default:1}},setup(n){const A=t.ref(!1),e=t.ref(""),o=t.ref([]),Q=t.ref(null),D=t.ref(0),l=t.ref(0),b=t.ref(!1),S=t.ref(1),f=t.ref(null),x=t.computed(()=>n.height/n.width),L=t.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");t.watch(L,k=>{f.value&&(f.value.style.background=k)});const P=()=>{if(f.value){f.value.style.width=`${n.width}px`;const k=parseFloat(window.getComputedStyle(f.value).width);f.value.style.height=`${x.value*k}px`,Q.value=f.value.getContext("2d"),Q.value&&(Q.value.scale(1*S.value,1*S.value),S.value=k/n.width,Q.value.scale(1/S.value,1/S.value))}};t.onMounted(()=>{f.value&&(f.value.height=n.height,f.value.width=n.width,f.value.style.background=L.value,P(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",P)}),t.onBeforeUnmount(()=>{window.removeEventListener("resize",P)});const z=k=>{D.value=k.x,l.value=k.y,Q.value&&(Q.value.beginPath(),Q.value.moveTo(D.value,l.value),Q.value.lineTo(k.x,k.y),Q.value.lineCap="round",Q.value.lineJoin="round",Q.value.lineWidth=n.lineWidth*S.value,Q.value.stroke(),Q.value.closePath(),o.value.push(k))},K=k=>{Q.value&&(Q.value.beginPath(),Q.value.moveTo(D.value,l.value),Q.value.lineTo(k.x,k.y),Q.value.strokeStyle=n.lineColor,Q.value.lineWidth=n.lineWidth*S.value,Q.value.lineCap="round",Q.value.lineJoin="round",Q.value.stroke(),Q.value.closePath(),l.value=k.y,D.value=k.x,o.value.push(k))},U=k=>{Q.value&&(Q.value.beginPath(),Q.value.moveTo(D.value,l.value),Q.value.lineTo(k.x,k.y),Q.value.lineCap="round",Q.value.lineJoin="round",Q.value.stroke(),Q.value.closePath(),o.value.push(k),o.value.push({x:-1,y:-1}))},_=k=>{const y=(k==null?void 0:k.format)||n.format,C=(k==null?void 0:k.quality)||n.quality;return new Promise((d,p)=>{if(!A.value){p("Warning: Not Signed!");return}if(Q.value){const a=Q.value.getImageData(0,0,f.value.width,f.value.height);Q.value.globalCompositeOperation="destination-over",Q.value.fillStyle=L.value,Q.value.fillRect(0,0,f.value.width,f.value.height),e.value=f.value.toDataURL(y,C);let g=e.value;if(Q.value.clearRect(0,0,f.value.width,f.value.height),Q.value.putImageData(a,0,0),Q.value.globalCompositeOperation="source-over",n.isCrop){const r=G(a.data),u=document.createElement("canvas"),h=u.getContext("2d");if(h){u.width=r[2]-r[0],u.height=r[3]-r[1];const s=Q.value.getImageData(r[0],r[1],r[2],r[3]);h.globalCompositeOperation="destination-over",h.putImageData(s,0,0),h.fillStyle=L.value,h.fillRect(0,0,u.width,u.height),g=u.toDataURL(y,C)}}d(g)}})},I=()=>{Q.value&&Q.value.clearRect(0,0,f.value.width,f.value.height),n.isClearBgColor&&(o.value=[],A.value=!1,e.value="")},G=k=>{let y=f.value.width,C=0,d=f.value.height,p=0;for(let a=0;a<f.value.width;a++)for(let g=0;g<f.value.height;g++){const r=(a+f.value.width*g)*4;(k[r]>0||k[r+1]>0||k[r+2]>0||k[r+3]>0)&&(p=Math.max(g,p),C=Math.max(a,C),d=Math.min(g,d),y=Math.min(a,y))}return[y+1,d+1,C+1,p+1]};return{canvas:f,myBg:L,drawStart:z,drawMove:K,drawEnd:U,generate:_,reset:I,touchStart:k=>{if(k.preventDefault(),A.value=!0,k.touches.length===1&&f.value){const y={x:k.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-f.value.getBoundingClientRect().top};z(y)}},touchMove:k=>{if(k.preventDefault(),k.touches.length===1){const y={x:k.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-f.value.getBoundingClientRect().top};K(y)}},touchEnd:k=>{if(k.preventDefault(),k.touches.length===1){const y={x:k.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-f.value.getBoundingClientRect().top};U(y)}},mouseDown:k=>{k.preventDefault(),b.value=!0,A.value=!0;const y={x:k.offsetX,y:k.offsetY};z(y)},mouseMove:k=>{if(k.preventDefault(),b.value){const y={x:k.offsetX,y:k.offsetY};K(y)}},mouseUp:k=>{k.preventDefault();const y={x:k.offsetX,y:k.offsetY};U(y),b.value=!1}}}});function ak(n,A,e,o,Q,D){return t.openBlock(),t.createElementBlock("canvas",{ref:"canvas",onMousedown:A[0]||(A[0]=(...l)=>n.mouseDown&&n.mouseDown(...l)),onMousemove:A[1]||(A[1]=(...l)=>n.mouseMove&&n.mouseMove(...l)),onMouseup:A[2]||(A[2]=(...l)=>n.mouseUp&&n.mouseUp(...l)),onTouchstart:A[3]||(A[3]=(...l)=>n.touchStart&&n.touchStart(...l)),onTouchmove:A[4]||(A[4]=(...l)=>n.touchMove&&n.touchMove(...l)),onTouchend:A[5]||(A[5]=(...l)=>n.touchEnd&&n.touchEnd(...l))},null,544)}const lk=ZA(rk,[["render",ak],["__scopeId","data-v-5f3bfcf7"]]),ck={key:0},gk={class:"vfc-esign-preview"},uk=["src"],dk={key:1,class:"vfc-esign"},hk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Component",props:t.mergeModels({lineWidth:{default:6},lineColor:{default:"#000000"},bgColor:{default:"#f6f6f6"},isCrop:{type:Boolean,default:!1},width:{default:700},height:{default:300},disabled:{type:Boolean},format:{default:"image/png"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.ref(),o=ut(),Q=t.useModel(n,"modelValue"),D={size:"small",labelPosition:"right",items:[{component:"Inline",children:[{label:"画笔粗细",component:"InputNumber",name:"lineWidth",props:{controlsPosition:"right"}},{label:"画笔颜色",component:"ColorPicker",name:"lineColor"},{label:"画板背景色",component:"ColorPicker",name:"bgColor"}],props:{align:"left",gap:20},designKey:"design-ZuIT",name:"form-OqAi",style:{marginBottom:"10px"}}]},l=t.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),b=()=>{e.value.reset()},S=()=>{e.value.generate().then(L=>{Q.value=L}).catch(L=>{alert(L)})},f=t.ref(""),x=()=>{f.value=Q.value,Q.value=""};return t.onMounted(()=>{Object.assign(l.value,A)}),(L,P)=>{const z=t.resolveComponent("el-button");return t.unref(o).read||Q.value?(t.openBlock(),t.createElementBlock("div",ck,[t.createElementVNode("div",gk,[t.createElementVNode("img",{src:Q.value,alt:"未签名"},null,8,uk)]),t.unref(o).read?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(z,{key:0,disabled:L.disabled,onClick:x,type:"primary"},{default:t.withCtx(()=>P[2]||(P[2]=[t.createTextVNode("重写")])),_:1},8,["disabled"]))])):(t.openBlock(),t.createElementBlock("div",dk,[t.createVNode(t.unref(Ut),{modelValue:l.value,"onUpdate:modelValue":P[0]||(P[0]=K=>l.value=K),schema:D,class:"vfc-esign-actions"},null,8,["modelValue"]),t.createVNode(lk,{class:"vfc-esign-canvas",ref_key:"esign",ref:e,width:L.width,height:L.height,isCrop:L.isCrop,lineWidth:l.value.lineWidth,lineColor:l.value.lineColor,bgColor:l.value.bgColor,format:L.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),t.createElementVNode("div",null,[f.value?(t.openBlock(),t.createBlock(z,{key:0,disabled:L.disabled,onClick:P[1]||(P[1]=K=>Q.value=f.value),plain:"",type:"primary"},{default:t.withCtx(()=>P[3]||(P[3]=[t.createTextVNode("取消")])),_:1},8,["disabled"])):t.createCommentVNode("",!0),t.createVNode(z,{disabled:L.disabled,onClick:b,plain:"",type:"primary"},{default:t.withCtx(()=>P[4]||(P[4]=[t.createTextVNode("清空")])),_:1},8,["disabled"]),t.createVNode(z,{disabled:L.disabled,onClick:S,type:"primary"},{default:t.withCtx(()=>P[5]||(P[5]=[t.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),pk={key:0},Bk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Radio",props:t.mergeModels({options:{default:()=>[]},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=ut(),Q=t.inject("ruleModule",void 0),D=t.inject("pageMethodMap",{}),l=f=>{const{valueKey:x="value",name:L}=A;let P={};if(P=b.value.find(z=>z[x]===f)||{},o.selectData&&L&&o.updateSelectData(L,P),A.onChange&&Q)try{Q[A.onChange](D,f,P)}catch(z){console.error(z)}},{currentOptions:b,loading:S}=Bo(A);return(f,x)=>{var _;const L=t.resolveComponent("el-radio"),P=t.resolveComponent("el-radio-button"),z=t.resolveComponent("el-space"),K=t.resolveComponent("el-radio-group"),U=t.resolveDirective("loading");return f.read?(t.openBlock(),t.createElementBlock("div",pk,t.toDisplayString(((_=t.unref(b).find(I=>I[f.valueKey]===e.value))==null?void 0:_[f.labelKey])||"--"),1)):t.withDirectives((t.openBlock(),t.createBlock(K,t.mergeProps({key:1,modelValue:e.value,"onUpdate:modelValue":x[0]||(x[0]=I=>e.value=I),onChange:l},f.$attrs),{default:t.withCtx(()=>[t.createVNode(z,{wrap:"",direction:f.direction,size:[f.space,f.space],alignment:"normal"},{default:t.withCtx(()=>[f.optionType==="circle"||f.optionType==="border"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(t.unref(b),I=>(t.openBlock(),t.createBlock(L,{key:I[f.valueKey],label:I[f.labelKey],value:I[f.valueKey],disabled:I[f.disabledKey],border:f.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(t.unref(b),I=>(t.openBlock(),t.createBlock(P,t.mergeProps({key:I[f.valueKey],label:I[f.labelKey],value:I[f.valueKey],disabled:I[f.disabledKey],ref_for:!0},f.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[U,t.unref(S)]])}}})},Symbol.toStringTag,{value:"Module"})),Ck={class:"vfc-formList"},Ek={key:1},Qk={class:"list-item-content"},mk={class:"card-header"},Ik={style:{"margin-top":"5px"}},fk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"FormList",props:t.mergeModels({children:{default:()=>[]},allowAdd:{type:Boolean,default:!0},allowReduce:{type:Boolean,default:!0},minLines:{default:0},maxLines:{default:999},mode:{default:"table"},title:{default:""},name:{default:""},disabled:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=t.ref(0),Q=ut(),D=L=>yn(A.children,{$item:e.value[L],$index:L}),l=t.computed(()=>e.value.length>=A.maxLines),b=t.computed(()=>e.value.length<=A.minLines),S=()=>{l.value||(e.value=[...e.value,{}])},f=L=>{const P=e.value.filter((z,K)=>K!==L);e.value=P},x=(L,P,z,K)=>{const U=P.no,_=D(K)[U];return t.h(Ji,{..._,hideLabel:!0,style:{marginBottom:0},name:`${A.name}.${K}.${_.name}`})};return t.watch(e,(L,P)=>{const z=L.reduce((I,G,k)=>(Oe.isEqual(G,P[k])||(I=k),I),0);if(o.value=z,!A.children.some(I=>I.change))return;const K=D(z),U=L[z]||{},_=P[z]||{};K.forEach(I=>{I.change&&_&&!Oe.isEqual(U[I.name],_[I.name])&&I.change.forEach(G=>{if(G.condition!==!1){if(Oe.isString(G.condition)&&/^{{\s*(.*?)\s*}}$/.test(G.condition))return;const k=G.target.split(".").pop();e.value[z][k]=G.value}})})}),t.onMounted(()=>{var L;A.minLines&&!((L=e.value)!=null&&L.length)&&(e.value=Array.from({length:A.minLines},()=>({})))}),t.provide("$objGroupBase",t.computed(()=>`${A.name}.${o.value}`)),(L,P)=>{const z=t.resolveComponent("el-space"),K=t.resolveComponent("el-button"),U=t.resolveComponent("el-form-item"),_=t.resolveComponent("el-card"),I=t.resolveComponent("el-table-column"),G=t.resolveComponent("el-table");return t.openBlock(),t.createElementBlock("div",Ck,[t.unref(Q).design?(t.openBlock(),t.createBlock(t.unref(gl),{key:0,list:L.children,class:"layoutRender"},null,8,["list"])):(t.openBlock(),t.createElementBlock("div",Ek,[L.mode==="inline"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.value,(k,y)=>(t.openBlock(),t.createBlock(U,{key:k.key,class:"list-item"},{default:t.withCtx(()=>[t.createElementVNode("div",Qk,[t.createVNode(z,null,{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D(y),C=>(t.openBlock(),t.createBlock(t.unref(Ji),t.mergeProps({ref_for:!0},C,{key:C.label,name:`${L.name}.${y}.${C.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),L.allowReduce&&!b.value?(t.openBlock(),t.createBlock(K,{key:0,onClick:C=>f(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:L.disabled,size:"small"},{icon:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):t.createCommentVNode("",!0)])]),_:2},1024))),128)):t.createCommentVNode("",!0),L.mode==="card"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.value,(k,y)=>(t.openBlock(),t.createBlock(_,{key:k.key,class:"list-card"},{header:t.withCtx(()=>[t.createElementVNode("div",mk,[t.createElementVNode("span",null,t.toDisplayString(L.title+(y+1)),1),L.allowReduce&&!b.value?(t.openBlock(),t.createBlock(K,{key:0,onClick:C=>f(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:L.disabled,size:"small"},{icon:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):t.createCommentVNode("",!0)])]),default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D(y),C=>(t.openBlock(),t.createBlock(t.unref(Ji),t.mergeProps({ref_for:!0},C,{key:C.label,class:"list-card-item",name:`${L.name}.${y}.${C.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):t.createCommentVNode("",!0),L.mode==="table"&&e.value.length?(t.openBlock(),t.createBlock(G,{key:2,data:e.value,style:{width:"100%"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(L.children,k=>(t.openBlock(),t.createBlock(I,t.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},t.unref(Oe.pickBy)(k,Boolean),{formatter:x}),null,16,["prop","label"]))),128)),t.createVNode(I,{fixed:"right","min-width":"60"},{default:t.withCtx(k=>[L.allowReduce&&!b.value?(t.openBlock(),t.createBlock(K,{key:0,onClick:y=>f(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:L.disabled,size:"small",plain:""},{icon:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):t.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):t.createCommentVNode("",!0),t.createElementVNode("div",Ik,[L.allowAdd&&!l.value?(t.openBlock(),t.createBlock(K,{key:0,onClick:S,type:"primary",class:"list-btn addBtn",disabled:L.disabled,size:"small",plain:""},{icon:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:"add"})]),default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(L.title),1)]),_:1},8,["disabled"])):t.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),wk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const A=n,e=t.computed(()=>({display:"grid","grid-template-columns":`repeat(${A.columns}, 1fr)`,"row-gap":(A.rowGap||12)+"px","column-gap":(A.columnGap||12)+"px","align-items":A.alignItems,"padding-top":A.paddingTop+"px","padding-bottom":A.paddingBottom+"px","padding-left":A.paddingLeft+"px","padding-right":A.paddingRight+"px"}));return(o,Q)=>(t.openBlock(),t.createBlock(t.unref(Sn),{class:"form-item-grid",style:t.normalizeStyle(e.value),list:o.children},null,8,["style","list"]))}})},Symbol.toStringTag,{value:"Module"})),Dk=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{}},setup(n){const A=n,e=t.computed(()=>({width:"100%",display:"flex","justify-content":A.align,"flex-wrap":A.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${A.gap||12}px`}));return(o,Q)=>(t.openBlock(),t.createBlock(t.unref(Sn),{class:"form-item-inline",style:t.normalizeStyle(e.value),list:o.children},null,8,["style","list"]))}}),[["__scopeId","data-v-eb1c6096"]])},Symbol.toStringTag,{value:"Module"})),bk={key:0},yk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Component",props:t.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue");ut();const e=o=>{["E","e","+","-"].includes(o.key)&&o.preventDefault()};return(o,Q)=>{const D=t.resolveComponent("el-input-number");return o.read?(t.openBlock(),t.createElementBlock("span",bk,t.toDisplayString(typeof A.value=="number"?A.value.toFixed(o.precision||0).replace(".",","):"--"),1)):(t.openBlock(),t.createBlock(D,t.mergeProps({key:1},o.$attrs,{modelValue:A.value,"onUpdate:modelValue":Q[0]||(Q[0]=l=>A.value=l),style:{width:"100%"},min:o.min||0,onKeydown:e}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),vk={key:0},kk={style:{"min-height":"32px"}},_k=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Select",props:t.mergeModels({options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=ut(),Q=t.inject("ruleModule",void 0),D=t.inject("pageMethodMap",{}),l=x=>{const{valueKey:L="value",multiple:P,name:z}=A;let K={};if(P&&Array.isArray(x)?K=b.value.filter(U=>x.includes(U[L])):K=b.value.find(U=>U[L]===x)||{},o.selectData&&z&&o.updateSelectData(z,K),A.onChange&&Q)try{Q[A.onChange](D,x,K)}catch(U){console.error(U)}},{currentOptions:b,loading:S}=Bo(A),f=t.computed(()=>{var x;return A.multiple?b.value.filter(P=>e.value.includes(P[A.valueKey])).map(P=>P[A.labelKey]).join(","):((x=b.value.find(L=>L[A.valueKey]===e.value))==null?void 0:x[A.labelKey])||"--"});return(x,L)=>{const P=t.resolveComponent("el-option"),z=t.resolveComponent("el-select"),K=t.resolveDirective("loading");return x.read?(t.openBlock(),t.createElementBlock("span",vk,t.toDisplayString(f.value),1)):(t.openBlock(),t.createBlock(z,t.mergeProps({key:1,modelValue:e.value,"onUpdate:modelValue":L[0]||(L[0]=U=>e.value=U)},x.$attrs,{onChange:l,multiple:x.multiple,clearable:"",filterable:"","fallback-placements":["bottom"]}),{default:t.withCtx(()=>[t.withDirectives((t.openBlock(),t.createElementBlock("div",kk,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(b),U=>(t.openBlock(),t.createBlock(P,{key:U[x.valueKey],label:U[x.labelKey],value:U[x.valueKey],disabled:U[x.disabledKey]},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(U[x.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))])),[[K,t.unref(S)]])]),_:1},16,["modelValue","multiple"]))}}})},Symbol.toStringTag,{value:"Module"})),Mk={key:0},Sk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Component",props:t.mergeModels({selectPosition:{default:"append"},selectWidth:{default:70},selectInitialValue:{},read:{type:Boolean},options:{default:()=>[]},parse:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=t.ref(""),Q=t.computed({get(){var D;return(D=e.value)==null?void 0:D.replaceAll(o.value,"")},set(D){D?e.value=D+o.value:e.value=D}});return t.watch(o,(D,l)=>{var b;e.value&&(e.value=((b=e.value)==null?void 0:b.replaceAll(l,""))+D)}),t.onMounted(()=>{A.selectInitialValue&&(o.value=A.selectInitialValue)}),(D,l)=>{const b=t.resolveComponent("el-option"),S=t.resolveComponent("el-select"),f=t.resolveComponent("el-input");return D.read?(t.openBlock(),t.createElementBlock("span",Mk,t.toDisplayString(Q.value||"--"),1)):(t.openBlock(),t.createBlock(f,t.mergeProps({key:1,"show-word-limit":"",autocomplete:"off"},D.$attrs,{modelValue:Q.value,"onUpdate:modelValue":l[1]||(l[1]=x=>Q.value=x)}),{[D.selectPosition]:t.withCtx(()=>[t.createVNode(S,{modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=x=>o.value=x),style:t.normalizeStyle({width:D.selectWidth+"px"}),placeholder:" "},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D.options,x=>(t.openBlock(),t.createBlock(b,{label:x.label,value:x.value,disabled:x.disabled,key:x.value},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","style"])]),_:2},1040,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),xk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Component",props:t.mergeModels({disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=ut(),e=t.useModel(n,"modelValue");return(o,Q)=>{const D=t.resolveComponent("el-switch");return t.openBlock(),t.createBlock(D,t.mergeProps(o.$attrs,{modelValue:e.value,"onUpdate:modelValue":Q[0]||(Q[0]=l=>e.value=l),disabled:t.unref(A).read||o.disabled}),null,16,["modelValue","disabled"])}}})},Symbol.toStringTag,{value:"Module"})),Fk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Tag",props:{text:{default:"标签"},type:{default:"primary"}},setup(n){return(A,e)=>{const o=t.resolveComponent("el-tag");return t.openBlock(),t.createBlock(o,{type:A.type},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(A.text),1)]),_:1},8,["type"])}}})},Symbol.toStringTag,{value:"Module"})),Nk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Component",props:{text:{}},setup(n){return(A,e)=>(t.openBlock(),t.createElementBlock("div",t.normalizeProps(t.guardReactiveProps(A.$attrs)),t.toDisplayString(A.text),17))}})},Symbol.toStringTag,{value:"Module"})),Gd=t.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(A,e)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(A.type),{class:"Title",style:t.normalizeStyle({fontStyle:A.italic?"italic":"normal"})},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(A.title),1)]),_:1},8,["style"]))}}),Rk=Object.freeze(Object.defineProperty({__proto__:null,default:Gd},Symbol.toStringTag,{value:"Module"})),Lk={key:0,style:{"min-width":"300px"}},Gk={class:"el-upload__tip"},Hk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Component",props:t.mergeModels({action:{},multiple:{type:Boolean},btnText:{default:"点击上传"},tip:{},limit:{default:3},drag:{type:Boolean},name:{default:"file"},listType:{default:"text"}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue"),e=(l,b)=>{console.log(l,b)},o=l=>{console.log(l)},Q=(l,b)=>{Lt.ElMessage.warning(`The limit is 3, you selected ${l.length} files this time, add up to ${l.length+b.length} totally`)},D=(l,b)=>Lt.ElMessageBox.confirm(`Cancel the transfer of ${l.name} ?`).then(()=>!0,()=>!1);return(l,b)=>{const S=t.resolveComponent("el-button"),f=t.resolveComponent("el-upload");return t.openBlock(),t.createBlock(f,{"file-list":A.value,"onUpdate:fileList":b[0]||(b[0]=x=>A.value=x),action:l.action,multiple:l.multiple,limit:l.limit,drag:l.drag,name:l.name,listType:l.listType,"on-preview":o,"on-remove":e,"before-remove":D,"on-exceed":Q},t.createSlots({default:t.withCtx(()=>[l.listType==="text"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[l.drag?(t.openBlock(),t.createElementBlock("div",Lk,[t.createVNode(t.unref(oe),{class:"el-icon--upload",name:"upload"}),b[1]||(b[1]=t.createElementVNode("div",{class:"el-upload__text"},[t.createTextVNode(" 拖拽文件到此处上传 "),t.createElementVNode("br"),t.createTextVNode(" 或"),t.createElementVNode("em",null,"点击上传")],-1))])):(t.openBlock(),t.createBlock(S,{key:1,type:"primary"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(l.btnText),1)]),_:1}))],64)):t.createCommentVNode("",!0),l.listType==="picture-card"?(t.openBlock(),t.createBlock(t.unref(oe),{key:1,name:"add"})):t.createCommentVNode("",!0)]),_:2},[l.tip?{name:"tip",fn:t.withCtx(()=>[t.createElementVNode("div",Gk,t.toDisplayString(l.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType"])}}})},Symbol.toStringTag,{value:"Module"}));function Pk(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}function bt(n,A){return Math.floor(Math.random()*(A-n)+n)}function nr(n,A){const e=bt(n,A),o=bt(n,A),Q=bt(n,A);return`rgb(${e},${o},${Q})`}class Kk{constructor(A,e){Je(this,"version","1.0.0");Je(this,"options");Je(this,"_init",()=>{const A=this.options.element;if(!A)return;const e=document.createElement("canvas");this.options.width=A.offsetWidth>0?A.offsetWidth.toString():"100",this.options.height=A.offsetHeight>0?A.offsetHeight.toString():"30",e.id=this.options.canvasId,e.width=parseInt(this.options.width),e.height=parseInt(this.options.height),e.style.cursor="pointer",e.innerHTML="您的浏览器版本不支持canvas",A.appendChild(e),e.onclick=()=>{this.refresh()}});Je(this,"refresh",()=>{this.options.code="";const A=document.getElementById(this.options.canvasId);if(!A||!A.getContext)return;const e=A.getContext("2d");e.textBaseline="middle",e.fillStyle=nr(180,240),e.fillRect(0,0,parseInt(this.options.width),parseInt(this.options.height));let o;this.options.type==="blend"?o=[...this.options.numArr,...this.options.letterArr]:this.options.type==="number"?o=this.options.numArr:o=this.options.letterArr;for(let Q=1;Q<=4;Q++){const D=o[bt(0,o.length)];this.options.code+=D,e.font=`${bt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,e.fillStyle=nr(50,160),e.shadowOffsetX=bt(-3,3),e.shadowOffsetY=bt(-3,3),e.shadowBlur=bt(-3,3),e.shadowColor="rgba(0, 0, 0, 0.3)";const l=parseInt(this.options.width)/5*Q,b=parseInt(this.options.height)/2,S=bt(-30,30);e.translate(l,b),e.rotate(S*Math.PI/180),e.fillText(D,0,0),e.rotate(-S*Math.PI/180),e.translate(-l,-b)}for(let Q=0;Q<4;Q++)e.strokeStyle=nr(40,180),e.beginPath(),e.moveTo(bt(0,parseInt(this.options.width)),bt(0,parseInt(this.options.height))),e.lineTo(bt(0,parseInt(this.options.width)),bt(0,parseInt(this.options.height))),e.stroke();for(let Q=0;Q<parseInt(this.options.width)/4;Q++)e.fillStyle=nr(0,255),e.beginPath(),e.arc(bt(0,parseInt(this.options.width)),bt(0,parseInt(this.options.height)),1,0,2*Math.PI),e.fill()});Je(this,"validate",A=>{const e=A.toLowerCase(),o=this.options.code.toLowerCase();return console.log(o),e===o?!0:(this.refresh(),!1)});this.options={element:null,canvasId:"verifyCanvas",width:"100",height:"30",type:"blend",code:"",numArr:"0,1,2,3,4,5,6,7,8,9".split(","),letterArr:Pk(),...e},A&&(this.options.element=A,this._init(),this.refresh())}}const Uk={class:"vfc-verify-code"},Tk=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Component",props:t.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue"),e=t.ref(null),o=t.ref(null),Q=ut(),D=()=>{var b;if(!A.value)return;const l=(b=o.value)==null?void 0:b.validate(A.value);console.log("res",l),l?Q.updateVCodePass(!0):Q.updateVCodePass(!1)};return t.onMounted(()=>{o.value=new Kk(e.value)}),(l,b)=>{const S=t.resolveComponent("el-input");return t.openBlock(),t.createElementBlock("div",Uk,[t.createVNode(S,{modelValue:A.value,"onUpdate:modelValue":b[0]||(b[0]=f=>A.value=f),class:"verify-input",placeholder:l.placeholder,onBlur:D},null,8,["modelValue","placeholder"]),t.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:e},null,512)])}}}),[["__scopeId","data-v-eda48825"]])},Symbol.toStringTag,{value:"Module"})),Yk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const A=n,e=t.ref([]);return t.onMounted(()=>{e.value=A.children.filter(o=>o.checked).map(o=>o.name)}),t.watch(()=>A.children,()=>{A.children.forEach(o=>{o.children||(o.children=[])})}),(o,Q)=>{const D=t.resolveComponent("ElCollapseItem"),l=t.resolveComponent("ElCollapse");return t.openBlock(),t.createBlock(l,t.mergeProps(o.$attrs,{modelValue:e.value,"onUpdate:modelValue":Q[0]||(Q[0]=b=>e.value=b)}),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.children,b=>(t.openBlock(),t.createBlock(D,{key:b.name,name:b.name},{title:t.withCtx(()=>[t.createVNode(Gd,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:t.withCtx(()=>[t.createVNode(t.unref(Sn),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),Ok=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Tabs",props:{children:{},defaultKey:{}},setup(n){const A=n,e=t.ref("");return t.watch(()=>A.children,()=>{A.children.forEach(o=>{o.children||(o.children=[])})}),t.onMounted(()=>{A.defaultKey&&(e.value=A.defaultKey)}),(o,Q)=>{const D=t.resolveComponent("el-tab-pane"),l=t.resolveComponent("el-tabs");return t.openBlock(),t.createBlock(l,t.mergeProps(o.$attrs,{modelValue:e.value,"onUpdate:modelValue":Q[0]||(Q[0]=b=>e.value=b)}),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.children,b=>(t.openBlock(),t.createBlock(D,t.mergeProps({key:b.name,ref_for:!0},b),{default:t.withCtx(()=>[t.createVNode(t.unref(Sn),{list:b.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),$k={class:"vfc-ObjGroup"},Jk={key:1,class:"vfc-ObjGroup-render"},Zk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const A=n,e=ut(),o=t.inject("$objGroupBase"),Q=o?`${o.value}.${A.name}`:A.name;return t.provide("$objGroupBase",t.ref(Q)),(D,l)=>(t.openBlock(),t.createElementBlock("div",$k,[t.unref(e).design?(t.openBlock(),t.createBlock(t.unref(gl),{key:0,list:D.children},null,8,["list"])):(t.openBlock(),t.createElementBlock("div",Jk,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D.children,b=>(t.openBlock(),t.createBlock(t.unref(Ji),t.mergeProps({key:b.name,ref_for:!0},b,{name:`${t.unref(Q)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),zk={key:0},Wk={key:0},jk={key:1},qk={key:1,class:"search-select-wrapper"},Xk=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"SearchSelect",props:t.mergeModels({onSearch:{},disabled:{type:Boolean},read:{type:Boolean},options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},clearable:{type:Boolean}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=ut(),Q=t.inject("ruleModule",void 0),D=t.inject("pageMethodMap",{}),l=x=>{const{valueKey:L="value",multiple:P,name:z}=A;let K={};if(P&&Array.isArray(x)?K=S.value.filter(U=>x.includes(U[L])):K=S.value.find(U=>U[L]===x)||{},o.selectData&&z&&o.updateSelectData(z,K),A.onChange&&Q)try{Q[A.onChange](D,x,K)}catch(U){console.error(U)}},b=()=>{if(A.onSearch&&Q)try{Q[A.onSearch](D)}catch(x){console.error(x)}},{currentOptions:S,loading:f}=Bo(A);return(x,L)=>{var _;const P=t.resolveComponent("el-option"),z=t.resolveComponent("el-select"),K=t.resolveComponent("el-button"),U=t.resolveDirective("loading");return x.read?(t.openBlock(),t.createElementBlock("div",zk,[x.multiple?(t.openBlock(),t.createElementBlock("div",Wk,t.toDisplayString(e.value&&e.value.map(I=>{var G;return(G=t.unref(S).find(k=>k[x.valueKey]===I))==null?void 0:G[x.labelKey]}).join("、")),1)):(t.openBlock(),t.createElementBlock("div",jk,t.toDisplayString(((_=t.unref(S).find(I=>I[x.valueKey]===e.value))==null?void 0:_[x.labelKey])||"--"),1))])):(t.openBlock(),t.createElementBlock("div",qk,[t.withDirectives((t.openBlock(),t.createBlock(z,t.mergeProps({modelValue:e.value,"onUpdate:modelValue":L[0]||(L[0]=I=>e.value=I)},x.$attrs,{onChange:l,multiple:x.multiple,clearable:"",filterable:"",disabled:x.disabled}),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(S),I=>(t.openBlock(),t.createBlock(P,{key:I[x.valueKey],label:I[x.labelKey],value:I[x.valueKey],disabled:I[x.disabledKey]},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(I[x.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[U,t.unref(f)]]),t.createVNode(K,{onClick:b,disabled:x.disabled,class:"search-btn"},{default:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-da2bde35"]])},Symbol.toStringTag,{value:"Module"})),Vk={class:"custom-tree-node"},A_={class:"tree-node-text"},e_={class:"tree-node-label"},t_={key:0,class:"tree-node-present"},n_=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Component",props:{onNodeClick:{},onLoad:{},btns:{},data:{},props:{},nodeKey:{}},setup(n){const A=n,e=t.inject("ruleModule",void 0),o=t.inject("pageMethodMap",{}),Q=t.ref(),D=(x,L)=>{Q.value=x[A.nodeKey]},l=(x,L,P)=>{if(e)try{e[x](o,{node:L,data:P})}catch(z){console.error(z)}},b=(x,L)=>{if(A.onNodeClick&&e)try{e[A.onNodeClick](o,{node:x,data:L})}catch(P){console.error(P)}},S=(x,L,P)=>{if(A.onLoad&&e)try{e[A.onLoad](o,{node:x,resolve:L,reject:P})}catch(z){console.error(z)}},f=t.ref([]);return t.watch(()=>A.data,()=>{var z;if(!A.data||!Array.isArray(A.data))return;const x=A.data[0],L=[x[A.nodeKey]],P=((z=A.props)==null?void 0:z.children)||"childrenNode";if(Array.isArray(x[P]))for(const K of x[P])K[P]&&L.push(K[A.nodeKey]);f.value=L}),(x,L)=>{const P=t.resolveComponent("el-tooltip"),z=t.resolveComponent("el-button"),K=t.resolveComponent("el-tree");return t.openBlock(),t.createBlock(K,t.mergeProps(x.$attrs,{onNodeClick:b,load:S,ref:"treeRef",class:"crm-tree",indent:32,"current-node-key":Q.value,onCurrentChange:D,"node-key":x.nodeKey,props:A.props,data:x.data,"default-expanded-keys":f.value}),{default:t.withCtx(({node:U,data:_})=>[t.createElementVNode("div",Vk,[t.createElementVNode("div",A_,[t.createElementVNode("span",e_,t.toDisplayString(U.label),1),_[x.nodeKey]===Q.value?(t.openBlock(),t.createElementBlock("div",t_,"Present")):t.createCommentVNode("",!0)]),t.createElementVNode("div",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(x.btns,I=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:I.key},[t.unref(yn)(I.hidden,{$node:U,$data:_})?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(z,{key:0,link:"",onClick:t.withModifiers(G=>l(I.onClick,U,_),["stop"]),disabled:I.disabled,type:I.type},{default:t.withCtx(()=>[t.createVNode(P,{class:"box-item",effect:"dark",content:I.text,placement:"top","popper-class":"low-tsp","show-after":300},{default:t.withCtx(()=>[I.icon?(t.openBlock(),t.createBlock(We,{key:0,name:I.icon.name,color:I.icon.color,class:"btn-icon"},null,8,["name","color"])):t.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["onClick","disabled","type"]))],64))),128))])])]),_:1},16,["current-node-key","node-key","props","data","default-expanded-keys"])}}}),[["__scopeId","data-v-e0b7bdf7"]])},Symbol.toStringTag,{value:"Module"})),i_={class:"empty-content"},o_=["title"],s_=["title","onClick"],r_=["title"],a_={class:"row-btn-wrapper"},l_=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Table",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},columns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{default:"table"},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},name:{}},setup(n,{expose:A}){const e=n,o=t.computed(()=>e.displayType?e.displayType:e.typeSwitch?"card":"table"),Q=t.inject("ruleModule",void 0),D=t.inject("ruleMap",void 0),l=t.computed(()=>e.rulePath&&D[e.rulePath]?D[e.rulePath]:Q),b=t.inject("pageMethodMap",{}),S=t.inject("getGlobalParams",()=>{}),f=t.inject(cn),x=f?f.translateFn:null,L=t.ref(),P=(AA,q,oA)=>{j.value[AA]&&(j.value[AA][q]=oA)},z=(AA,q)=>{const oA=e.columns.find(cA=>cA.key===AA);oA&&(oA.hidden=!q)},K=(AA,q,oA)=>{try{l.value[AA.onClick](b,q,oA)}catch(cA){console.error(cA)}},U=AA=>{if(e.rowClick)try{l.value[e.rowClick](b,AA)}catch(q){console.error(q)}},_=AA=>{if(e.rowDbClick)try{l.value[e.rowDbClick](b,AA)}catch(q){console.error(q)}},I=t.ref([]),G=AA=>{I.value=AA},k=()=>{var AA;(AA=L.value)==null||AA.clearSelection()},y=()=>j.value,C=t.ref(),d=AA=>{if(C.value=AA,!!e.handleCurrentChange)try{l.value[e.handleCurrentChange](b,AA)}catch(q){console.error(q)}},p=()=>C.value,a=()=>{var AA;return(AA=L.value)==null?void 0:AA.getSelectionRows()},g=async()=>!0,r=(AA,q)=>{var cA;const oA=(cA=e.topBtns)==null?void 0:cA.find(sA=>sA.key===AA);oA&&(oA.hidden=q)},u=(AA,q)=>{var cA;const oA=(cA=e.rowBtns)==null?void 0:cA.find(sA=>sA.key===AA);oA&&(oA.condition=!q)},h=t.ref(0),s=AA=>{h.value=AA},i=t.ref({pageNum:1,pageSize:e.defaultPageSize||5}),B=()=>i.value,E=AA=>{let q=!1;return AA.pageNum>-1&&(i.value.pageNum!==AA.pageNum&&(q=!0),i.value.pageNum=AA.pageNum),AA.pageSize>-1&&(i.value.pageSize!==AA.pageSize&&(q=!0),i.value.pageSize=AA.pageSize),{pagination:i.value,isChange:q}},M=AA=>{if(i.value.pageNum=1,i.value.pageSize=AA,!!e.sizeChange)try{l.value[e.sizeChange](b,i.value)}catch(q){console.error(q)}},w=AA=>{if(i.value.pageNum=AA,!!e.pageChange)try{l.value[e.pageChange](b,i.value)}catch(q){console.error(q)}},F=AA=>{var q;(q=L.value)==null||q.setCurrentRow(AA)},R=AA=>{var q;(q=L.value)==null||q.setCurrentRow(j.value[AA])},$=(AA,q,oA)=>{e.columns.forEach(cA=>{cA.key===AA&&cA[q]&&(cA[q]=oA)})},j=t.ref([]),J=AA=>{j.value=AA},Y=(AA={})=>{j.value.push(AA)},X=AA=>{AA>=0&&AA<j.value.length&&j.value.splice(AA,1)},v=async()=>{j.value=[...j.value]},W=t.useTemplateRef("rootRef"),N=t.readonly({...t.toRefs(e),setCellData:P,clearSelection:k,getData:y,getCurrentRow:p,getSelectedRows:a,addRow:Y,deleteRow:X,refresh:v,validate:g,setData:J,selectRow:F,selectRowNum:R,setTotal:s,getPagination:B,setPagination:E,setTopBtnHidden:r,setColVisible:z,setColumn:$,setRowsBtnHidden:u,rootRef:W,type:"table"}),V=(AA,q)=>{const oA=x?x(AA.key,q):q[AA.key];if(!AA.encrypted||!oA)return oA;const cA=`${oA}`;return cA.length<=4?"*".repeat(cA.length):cA.slice(0,-4)+"****"};if(t.onMounted(async()=>{if(!e.onMounted||!l.value)return;await t.nextTick();const AA=e.onMounted;try{l.value[AA](b)}catch(q){console.error(q)}}),t.onActivated(()=>{if(!e.onActivated||!l.value)return;const AA=e.onActivated;try{l.value[AA](b)}catch(q){console.error(q)}}),e.name){const AA=Bv(e.name,N);t.onUnmounted(()=>{AA()})}return A(N),(AA,q)=>{const oA=t.resolveComponent("el-table-column"),cA=t.resolveComponent("el-tooltip"),sA=t.resolveComponent("el-button"),pA=t.resolveComponent("el-pagination");return AA.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["table-render",{tableBorder:o.value==="table"}]),ref_key:"rootRef",ref:W},[t.withDirectives(t.createElementVNode("div",null,[t.createVNode(t.unref(Lt.ElTable),{ref_key:"tableRef",ref:L,data:j.value,"highlight-current-row":"","row-key":AA.rowKey,stripe:AA.stripe,onRowClick:U,onRowDblclick:_,onSelectionChange:G,onCurrentChange:d,height:AA.height},{empty:t.withCtx(()=>[t.createElementVNode("div",i_,[t.createVNode(t.unref(oe),{name:"tableEmpty",style:{width:56,height:56}}),q[2]||(q[2]=t.createElementVNode("div",null,"No data available,please check",-1))])]),default:t.withCtx(()=>[AA.multipleSelection?(t.openBlock(),t.createBlock(oA,{key:0,type:"selection",width:"55"})):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(AA.columns,O=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:O.key},[O.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(oA,{key:0,prop:O.key,"min-width":O.minWidth,fixed:O.fixed||!1},{header:t.withCtx(()=>[t.createElementVNode("div",{class:"text-ellipsis",title:O.label},t.toDisplayString(O.label),9,o_)]),default:t.withCtx(({row:nA,$index:iA})=>[O.type==="link"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"text-ellipsis link-style",title:V(O,nA),onClick:rA=>K(O,nA,iA)},t.toDisplayString(V(O,nA)),9,s_)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"text-ellipsis",title:V(O,nA)},t.toDisplayString(V(O,nA)),9,r_))]),_:2},1032,["prop","min-width","fixed"]))],64))),128)),AA.rowBtns&&AA.rowBtns.length>0?(t.openBlock(),t.createBlock(oA,{key:1,label:"Action",fixed:"right",align:"left"},{default:t.withCtx(({row:O,$index:nA})=>[t.createElementVNode("div",a_,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(AA.rowBtns,iA=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:iA.key},[iA.condition===void 0||iA.condition===null||t.unref(yn)(iA.condition,{$row:O,$globalParams:t.unref(S)()})?(t.openBlock(),t.createBlock(sA,{key:0,disabled:iA.disabled,link:"",size:"small",type:iA.type,onClick:t.withModifiers(rA=>K(iA,O,nA),["stop"])},{default:t.withCtx(()=>[t.createVNode(cA,{class:"box-item",effect:"dark",content:iA.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:t.withCtx(()=>[iA.icon?(t.openBlock(),t.createBlock(We,{key:0,name:iA.icon.name,color:iA.icon.color},null,8,["name","color"])):t.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):t.createCommentVNode("",!0)],64))),128))])]),_:1})):t.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[t.vShow,o.value==="table"]]),t.withDirectives(t.createVNode(ms,t.mergeProps({data:j.value},e,{getColText:V}),null,16,["data"]),[[t.vShow,o.value==="card"]]),t.createElementVNode("div",{class:t.normalizeClass(["pagination-wrapper",{hidePagination:(AA.hiddenPagination||j.value.length===0)&&!AA.height,transparentPagination:(AA.hiddenPagination||j.value.length===0)&&AA.height,cardlistPadding:o.value==="card"}])},[t.createVNode(pA,{layout:"total,sizes, prev, pager, next,jumper",total:h.value,"page-sizes":AA.pageSizes||[5,10,20,30,40],"default-page-size":AA.defaultPageSize,"current-page":i.value.pageNum,"onUpdate:currentPage":q[0]||(q[0]=O=>i.value.pageNum=O),"page-size":i.value.pageSize,"onUpdate:pageSize":q[1]||(q[1]=O=>i.value.pageSize=O),"pager-count":AA.pagerCount,onSizeChange:M,onCurrentChange:w},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],2))}}}),[["__scopeId","data-v-3dd76404"]])},Symbol.toStringTag,{value:"Module"})),c_={class:"crm-curd-card"},g_={class:"left-part"},u_={class:"title"},d_={class:"right-part"},h_={key:0,class:"switch-panel"},p_={key:2},B_=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"CurdCard",props:{name:{},children:{},collapsible:{type:Boolean},onCollapsed:{},typeSwitch:{type:Boolean},title:{},btns:{},type:{},mainIcon:{},extraIcons:{},displayType:{}},setup(n){const A=t.inject("ruleModule",void 0),e=t.inject("pageMethodMap",{}),o=n,Q=x=>{if(x&&A)try{A[x](e)}catch(L){console.error(L)}},D=()=>{l.value=!l.value,o.onCollapsed&&A&&A[o.onCollapsed](e,l.value)},l=t.ref(!1),b=t.ref(o.displayType||(o.typeSwitch?"card":"table")),S=ut(),f=x=>{b.value=x;const L=is(S.schema.items,o.name),P=z=>{z.forEach(K=>{K.component==="Table"&&K.props&&(K.props.displayType=x),K.children&&K.children.length>0&&P(K.children)})};L&&L.children&&P(L.children)};return f(b.value),(x,L)=>{const P=t.resolveComponent("el-tooltip"),z=t.resolveComponent("el-collapse-transition");return t.openBlock(),t.createElementBlock("div",c_,[t.createElementVNode("div",{class:t.normalizeClass(["card-header",{inline:x.type==="inline",mix:x.type==="mix",default:x.type==="default"}])},[t.createElementVNode("div",g_,[x.mainIcon?(t.openBlock(),t.createBlock(We,{key:0,class:"title-icon",size:"large",name:x.mainIcon.name,color:x.mainIcon.color},null,8,["name","color"])):t.createCommentVNode("",!0),t.createElementVNode("span",u_,t.toDisplayString(x.title),1),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(x.extraIcons,K=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:K.name},[K.tips?(t.openBlock(),t.createBlock(P,{key:0,content:K.tips,placement:"right"},{default:t.withCtx(()=>[t.createVNode(We,{class:"extra-icon",name:K.name,color:K.color,onClick:U=>Q(K.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(t.openBlock(),t.createBlock(We,{key:1,class:"extra-icon",name:K.name,color:K.color,onClick:U=>Q(K.onClick)},null,8,["name","color","onClick"]))],64))),128))]),t.createElementVNode("div",d_,[x.typeSwitch?(t.openBlock(),t.createElementBlock("div",h_,[t.createElementVNode("div",{class:t.normalizeClass(["switch-icon-wrapper",{active:b.value==="card"}]),onClick:L[0]||(L[0]=K=>f("card"))},[t.createVNode(We,{name:"icon-kapian"})],2),t.createElementVNode("div",{class:t.normalizeClass(["switch-icon-wrapper",{active:b.value==="table"}]),onClick:L[1]||(L[1]=K=>f("table"))},[t.createVNode(We,{name:"icon-biaoge"})],2)])):t.createCommentVNode("",!0),x.collapsible?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["collapse-icon-wrapper",{collapsed:l.value}]),onClick:D},[t.createVNode(We,{name:"icon-shaixuan"})],2)):t.createCommentVNode("",!0),x.btns&&x.btns.length>0?(t.openBlock(),t.createElementBlock("div",p_,[t.createVNode(t.unref(Zi),{btns:x.btns||[]},null,8,["btns"])])):t.createCommentVNode("",!0)])],2),x.onCollapsed?(t.openBlock(),t.createBlock(t.unref(Sn),{key:1,list:x.children},null,8,["list"])):(t.openBlock(),t.createBlock(z,{key:0},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",null,[t.createVNode(t.unref(Sn),{list:x.children},null,8,["list"])],512),[[t.vShow,!l.value]])]),_:1}))])}}}),[["__scopeId","data-v-5e1428ff"]])},Symbol.toStringTag,{value:"Module"})),C_=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Wrapper",props:{children:{},style:{type:[Boolean,null,String,Object,Array]},type:{},collapse:{type:Boolean}},setup(n){return(A,e)=>{const o=t.resolveComponent("el-collapse-transition");return t.openBlock(),t.createElementBlock("div",null,[t.createVNode(o,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",{style:t.normalizeStyle(A.style),class:t.normalizeClass({normal:A.type==="normal"})},[t.createVNode(t.unref(Sn),{list:A.children},null,8,["list"])],6),[[t.vShow,!A.collapse]])]),_:1})])}}}),[["__scopeId","data-v-eaee5c08"]])},Symbol.toStringTag,{value:"Module"})),E_={class:"content"},Q_={class:"product-list"},m_={class:"attribute-list"},I_={key:0,class:"attribute-list-item"},f_={class:"product-title attribute-title"},w_={class:"attribute-item-list"},D_={class:"attribute-label"},b_={class:"attribute-value"},y_=t.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(A,e)=>{const o=t.resolveComponent("el-popover");return t.openBlock(),t.createBlock(o,{"popper-class":"offer-detail",placement:"right"},{reference:t.withCtx(()=>[t.createVNode(Ug,{data:A.data,btns:A.btns,index:A.index},null,8,["data","btns","index"])]),default:t.withCtx(()=>[t.createElementVNode("div",E_,[e[0]||(e[0]=t.createElementVNode("div",{class:"product-title"},"Product",-1)),t.createElementVNode("div",Q_,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(A.data.product,Q=>(t.openBlock(),t.createElementBlock("div",{class:"product-item",key:Q.label},t.toDisplayString(Q.label),1))),128))]),t.createElementVNode("div",m_,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(A.data.product,Q=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:Q.label},[Q.children.length>0?(t.openBlock(),t.createElementBlock("div",I_,[t.createElementVNode("div",f_,t.toDisplayString(Q.label),1),t.createElementVNode("div",w_,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Q.children,D=>(t.openBlock(),t.createElementBlock("div",{class:"attribute-item",key:D.label},[t.createElementVNode("div",D_,t.toDisplayString(D.label),1),t.createElementVNode("div",b_,t.toDisplayString(D.value||"--"),1)]))),128))])])):t.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),v_={key:0,class:"empty-content"},k_=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"OfferDetails",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var x,L;const A=n,e=t.ref(),o=t.ref([]),Q=(x=A.columns.find(P=>P.position==="title"))==null?void 0:x.key,D=(L=A.columns.find(P=>P.position==="subTitle"))==null?void 0:L.key,l=A.columns.find(P=>P.position==="footer"),b=P=>{const z=[];return P.children&&P.children.length>0&&P.children.forEach(K=>{const U={label:K.PRODUCT_ITEM_NAME,children:[]};K.children&&K.children.length>0&&K.children.forEach(_=>{U.children.push({label:_.PRODUCT_ITEM_NAME,value:_.ACTION})}),z.push(U)}),z},S=t.inject(cn),f=S?S.translateFn:null;return t.watchEffect(()=>{A.data&&(e.value=A.data.map(P=>{const z={content:[]};return Q&&(z.title=f?f(Q,P):P[Q],z.titleColor="#18AAF8"),D&&(z.subTitle=f?f(D,P):P[D]),l&&(z.footer={icon:l.footerIcon||"icon-tishi",text:`${l.label}: ${f?f(l.key,P):P[l.key]}`}),P.children&&(z.product=b(P)),A.columns.forEach(K=>{K.position==="content"&&z.content.push({label:K.label,value:f?f(K.key,P):P[K.key]})}),z}))}),t.onMounted(()=>{var P;o.value=(P=A.rowBtns)==null?void 0:P.map(z=>({icon:z.icon&&z.icon.name?z.icon.name:"icon-tishi",label:z.label,onClick:z.onClick}))}),(P,z)=>{const K=t.resolveComponent("Icon");return t.openBlock(),t.createElementBlock("div",{class:"card-list",style:t.normalizeStyle({"--columns":P.gridColumns,"--gap":P.gap+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.value,(U,_)=>(t.openBlock(),t.createElementBlock("div",{class:"card-list-item",key:_},[t.createVNode(y_,{data:U,btns:o.value,index:_},null,8,["data","btns","index"])]))),128)),!P.data||P.data.length===0?(t.openBlock(),t.createElementBlock("div",v_,[t.createVNode(K,{name:"tableEmpty",style:{width:56,height:56}}),z[0]||(z[0]=t.createElementVNode("div",null,"No data available,please check",-1))])):t.createCommentVNode("",!0)],4)}}}),[["__scopeId","data-v-da383eeb"]])},Symbol.toStringTag,{value:"Module"}));ot.$options=cn,ot.FormDesign=Rd,ot.FormRender=Ut,ot.PageRender=dl,ot.TableRender=ul,ot.default=G1,ot.useFormInstance=ut,Object.defineProperties(ot,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
1579
|
+
]`)}}else XA&&(FA=LA(FA,","));for(;DA.charCodeAt(QA)===z||DA.charCodeAt(QA)===U;)QA++,Ce();if(QA>=DA.length)return FA;throw new S("Unexpected character "+JSON.stringify(DA[QA]),QA);function re(){Ce();var TA=function(){if(DA.charCodeAt(QA)!==P)return!1;{FA+="{",QA++,Ce(),GA(i)&&Ce();let ht=!0;for(;QA<DA.length&&DA.charCodeAt(QA)!==z;){if(ht?ht=!1:(SA(i)||(FA=WA(FA,",")),Ce()),JA(),!(OA()||hA())){DA.charCodeAt(QA)===z||DA.charCodeAt(QA)===P||DA.charCodeAt(QA)===U||DA.charCodeAt(QA)===K||DA[QA]===void 0?FA=LA(FA,","):function(){throw new S("Object key expected",QA)}();break}Ce();var YA=SA(E),ge=QA>=DA.length,Le=(YA||(rA(DA[QA])||ge?FA=WA(FA,":"):te()),re());Le||(YA||ge?FA+="null":te())}return DA.charCodeAt(QA)===z?(FA+="}",QA++):FA=WA(FA,"}"),!0}}()||function(){if(DA.charCodeAt(QA)!==K)return!1;{FA+="[",QA++,Ce(),GA(i)&&Ce();let ge=!0;for(;QA<DA.length&&DA.charCodeAt(QA)!==U;){ge?ge=!1:SA(i)||(FA=WA(FA,",")),JA();var YA=re();if(!YA){FA=LA(FA,",");break}}return DA.charCodeAt(QA)===U?(FA+="]",QA++):FA=WA(FA,"]"),!0}}()||OA()||function(){var YA=QA;if(DA.charCodeAt(QA)===r){if(QA++,vA())return KA(YA),!0;if(!O(DA.charCodeAt(QA)))return QA=YA,!1}for(;O(DA.charCodeAt(QA));)QA++;if(DA.charCodeAt(QA)===B){if(QA++,vA())return KA(YA),!0;if(!O(DA.charCodeAt(QA)))return QA=YA,!1;for(;O(DA.charCodeAt(QA));)QA++}if(DA.charCodeAt(QA)===$||DA.charCodeAt(QA)===R){if(QA++,DA.charCodeAt(QA)!==r&&DA.charCodeAt(QA)!==g||QA++,vA())return KA(YA),!0;if(!O(DA.charCodeAt(QA)))return QA=YA,!1;for(;O(DA.charCodeAt(QA));)QA++}var ge,Le;if(vA()){if(QA>YA)return ge=DA.slice(YA,QA),Le=/^0\d/.test(ge),FA+=Le?'"'.concat(ge,'"'):ge,!0}else QA=YA;return!1}()||ce("true","true")||ce("false","false")||ce("null","null")||ce("True","true")||ce("False","false")||ce("None","null")||hA();return Ce(),TA}function Ce(){for(kA();function(){if(DA.charCodeAt(QA)===x&&DA.charCodeAt(QA+1)===L){for(;QA<DA.length&&!function(TA,YA){return TA[YA]==="*"&&TA[YA+1]==="/"}(DA,QA);)QA++;QA+=2}else{if(DA.charCodeAt(QA)!==x||DA.charCodeAt(QA+1)!==x)return!1;for(;QA<DA.length&&DA.charCodeAt(QA)!==k;)QA++}return!0}()&&kA(););}function kA(){let TA="";for(var YA,ge;(YA=Z(DA.charCodeAt(QA)))||(ge=DA.charCodeAt(QA))===Y||ge>=X&&ge<=v||ge===W||ge===N||ge===V;)TA+=YA?DA[QA]:" ",QA++;return 0<TA.length&&(FA+=TA,!0)}function SA(TA){return DA.charCodeAt(QA)===TA&&(FA+=DA[QA],QA++,!0)}function GA(TA){return DA.charCodeAt(QA)===TA&&(QA++,!0)}function JA(){Ce(),DA.charCodeAt(QA)===B&&DA.charCodeAt(QA+1)===B&&DA.charCodeAt(QA+2)===B&&(QA+=3,Ce(),GA(i))}function OA(TA){var YA,ge,Le=0<arguments.length&&TA!==void 0&&TA;let ht=DA.charCodeAt(QA)===f;if(ht&&(QA++,ht=!0),eA(DA.charCodeAt(QA))){var EA=dA(DA.charCodeAt(QA))?dA:NA(DA.charCodeAt(QA))?NA:wA(DA.charCodeAt(QA))?wA:aA,BA=QA,fA=FA.length;let le='"';for(QA++;;){if(QA>=DA.length)return MA=mA(QA-1),!Le&&nA(DA.charAt(MA))?(QA=BA,FA=FA.substring(0,fA),OA(!0)):(le=WA(le,'"'),FA+=le,!0);if(EA(DA.charCodeAt(QA))){var MA=QA,_A=le.length;if(le+='"',QA++,FA+=le,Ce(),Le||QA>=DA.length||nA(DA.charAt(QA))||eA(DA.charCodeAt(QA))||O(DA.charCodeAt(QA)))return VA(),!0;if(nA(DA.charAt(mA(MA-1))))return QA=BA,FA=FA.substring(0,fA),OA(!0);FA=FA.substring(0,fA),QA=MA+1,le=le.substring(0,_A)+"\\"+le.substring(_A)}else{if(Le&&nA(DA[QA]))return le=WA(le,'"'),FA+=le,VA(),!0;if(DA.charCodeAt(QA)===f)if(_A=DA.charAt(QA+1),ee[_A]!==void 0)le+=DA.slice(QA,QA+2),QA+=2;else if(_A==="u"){let xe=2;for(;xe<6&&((ge=DA.charCodeAt(QA+xe))>=h&&ge<=s||ge>=w&&ge<=j||ge>=F&&ge<=J);)xe++;if(xe===6)le+=DA.slice(QA,QA+6),QA+=6;else{if(!(QA+xe>=DA.length))throw ie=void 0,ie=DA.slice(QA,QA+6),new S('Invalid unicode character "'.concat(ie,'"'),QA);QA=DA.length}}else le+=_A,QA+=2;else{var ie=DA.charAt(QA),se=DA.charCodeAt(QA);if(se===a&&DA.charCodeAt(QA-1)!==f)le+="\\"+ie;else if((YA=se)===k||YA===C||YA===y||YA===d||YA===p)le+=jA[ie];else{if(!(32<=(YA=se)&&YA<=1114111))throw se=void 0,se=ie,new S("Invalid character "+JSON.stringify(se),QA);le+=ie}QA++}}ht&&GA(f)}}return!1}function VA(){for(Ce();DA.charCodeAt(QA)===g;){QA++,Ce();var TA=(FA=LA(FA,'"',!0)).length,YA=OA();FA=YA?(YA=FA,TA=TA,ge=1,YA.substring(0,TA)+YA.substring(TA+ge)):WA(FA,'"')}var ge}function ce(TA,YA){return DA.slice(QA,QA+TA.length)===TA&&(FA+=YA,QA+=TA.length,!0)}function hA(){for(var TA,YA=QA;QA<DA.length&&(!nA(TA=DA[QA])||TA==="/")&&!eA(DA.charCodeAt(QA));)QA++;if(QA>YA){if(DA.charCodeAt(QA)===_&&/^\w+$/.test(DA.slice(YA,QA).trim()))QA++,re(),DA.charCodeAt(QA)===I&&(QA++,DA.charCodeAt(QA)===M)&&QA++;else{for(;Z(DA.charCodeAt(QA-1))&&0<QA;)QA--;YA=DA.slice(YA,QA),FA+=YA==="undefined"?"null":JSON.stringify(YA),DA.charCodeAt(QA)===a&&QA++}return!0}}function mA(TA){let YA=TA;for(;0<YA&&Z(DA.charCodeAt(YA));)YA--;return YA}function vA(){return QA>=DA.length||nA(DA[QA])||Z(DA.charCodeAt(QA))}function KA(TA){FA+=DA.slice(TA,QA)+"0"}function te(){throw new S("Colon expected",QA)}}},3420:function(D){D.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},5207:function(D){D.exports=JSON.parse('{"id":"http://json-schema.org/draft-04/schema#","$schema":"http://json-schema.org/draft-04/schema#","description":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"positiveInteger":{"type":"integer","minimum":0},"positiveIntegerDefault0":{"allOf":[{"$ref":"#/definitions/positiveInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}},"type":"object","properties":{"id":{"type":"string"},"$schema":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"multipleOf":{"type":"number","minimum":0,"exclusiveMinimum":true},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"boolean","default":false},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"boolean","default":false},"maxLength":{"$ref":"#/definitions/positiveInteger"},"minLength":{"$ref":"#/definitions/positiveIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/positiveInteger"},"minItems":{"$ref":"#/definitions/positiveIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"maxProperties":{"$ref":"#/definitions/positiveInteger"},"minProperties":{"$ref":"#/definitions/positiveIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"anyOf":[{"type":"boolean"},{"$ref":"#"}],"default":{}},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"dependencies":{"exclusiveMaximum":["maximum"],"exclusiveMinimum":["minimum"]},"default":{}}')},6801:function(D){D.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},8198:function(D){D.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}},Q={},e.amdD=function(){throw new Error("define cannot be used indirect")},e.n=function(D){var l=D&&D.__esModule?function(){return D.default}:function(){return D};return e.d(l,{a:l}),l},e.d=function(D,l){for(var b in l)e.o(l,b)&&!e.o(D,b)&&Object.defineProperty(D,b,{enumerable:!0,get:l[b]})},e.o=function(D,l){return Object.prototype.hasOwnProperty.call(D,l)},e.r=function(D){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(D,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(D,"__esModule",{value:!0})},e.nmd=function(D){return D.paths=[],D.children||(D.children=[]),D},e(1346);function e(D){var l=Q[D];return l!==void 0||(l=Q[D]={id:D,loaded:!1,exports:{}},o[D].call(l.exports,l,l.exports,e),l.loaded=!0),l.exports}var o,Q})})(Ld);var $1=Ld.exports;const J1=oB($1),Z1={editor:null,name:"json-editor-vue",internalChange:!1,props:{modelValue:Object,options:Object,currentMode:{type:String,default:"code"},modeList:{type:Array,default:()=>["tree","code","form","text","view"]},language:{type:String,default:"en"}},data(){return{json:this.modelValue,expandedModes:["tree","view","form"],isFullScreen:!1,hasLogo:!0,showFullScreen:!1}},watch:{modelValue:{immediate:!0,deep:!0,handler(n){this.internalChange||(this.setEditorContent(n),this.$nextTick(()=>{this.expandAll()}))}}},mounted(){this.init();const n=document.querySelector(".jsoneditor-menu .jsoneditor-poweredBy");this.hasLogo=n&&window.getComputedStyle(n).display!=="none",this.showFullScreen=!0},unmounted(){var n;(n=this.editor)==null||n.destroy(),this.editor=null},methods:{toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.$nextTick(()=>{const n=new Event("resize");window.dispatchEvent(n)})},init(){const{currentMode:n,modeList:A,options:e}=this,o=()=>{const P=K=>{this.json=K,this.$emit("update:modelValue",K),this.$emit("change",K),this.internalChange=!0,this.$nextTick(()=>{this.internalChange=!1})};if(!this.editor.getText()){P("");return}try{const K=this.editor.get();P(K)}catch{}},Q=()=>{this.expandAll()},D=(P,z,K)=>{this.$emit("textSelectionChange",this.editor,P,z,K)},l=(P,z)=>{this.$emit("selectionChange",this.editor,P,z)},b=(P,z,K)=>{this.$emit("colorPicker",this.editor,P,z,K)},S=({target:P})=>{this.$emit("focus",this.editor,P)},f=({target:P})=>{this.$emit("blur",this.editor,P)},x=P=>{this.$emit("validationError",this.editor,P)},L={...e,indentation:2,language:this.language,mode:n,modes:A,onChange:o,onModeChange:Q,onTextSelectionChange:D,onSelectionChange:l,onColorPicker:b,onFocus:S,onBlur:f,onValidationError:x};this.editor=new J1(this.$refs.jsonEditorVue,L,this.json)},expandAll(){var n,A;this.expandedModes.includes((n=this.editor)==null?void 0:n.getMode())&&((A=this.editor)==null||A.expandAll())},setEditorContent(n){var A;(A=this.editor)==null||A.set(n)}}},z1={ref:"jsonEditorVue",class:"json-editor-vue"};function W1(n,A,e,o,Q,D){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["container",{"full-screen-container":Q.isFullScreen}])},[t.createElementVNode("div",z1,null,512),t.createElementVNode("div",{class:t.normalizeClass(["full-screen",{show:Q.showFullScreen,right:!Q.hasLogo}]),onClick:A[0]||(A[0]=(...l)=>D.toggleFullScreen&&D.toggleFullScreen(...l))},null,2)],2)}const j1=ZA(Z1,[["render",W1],["__scopeId","data-v-c53d52f1"]]),q1=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({inheritAttrs:!1,__name:"JsonEdit",props:t.mergeModels({disabled:Boolean},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue");return(e,o)=>(t.openBlock(),t.createBlock(t.unref(Nw),{disabled:n.disabled,class:"jsonEdit-disabled"},{default:t.withCtx(()=>[t.createVNode(j1,t.mergeProps({class:"editor-direct",modelValue:A.value,"onUpdate:modelValue":o[0]||(o[0]=Q=>A.value=Q),currentMode:"code",modeList:["text","view","tree","code","form"],options:{search:!1,history:!1}},e.$attrs),null,16,["modelValue"])]),_:1},8,["disabled"]))}})},Symbol.toStringTag,{value:"Module"})),X1={key:0},V1=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Checkbox",props:t.mergeModels({options:{default:()=>[]},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean},filters:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=ut(),{currentOptions:Q,selectChange:D,loading:l}=Bo(A);return t.watch(e,D),(b,S)=>{var K;const f=t.resolveComponent("el-checkbox"),x=t.resolveComponent("el-checkbox-button"),L=t.resolveComponent("el-space"),P=t.resolveComponent("el-checkbox-group"),z=t.resolveDirective("loading");return t.unref(o).read?(t.openBlock(),t.createElementBlock("div",X1,t.toDisplayString((K=e.value)==null?void 0:K.map(U=>{var _;return(_=t.unref(Q).find(I=>I[b.valueKey]===U))==null?void 0:_[b.labelKey]}).join("、")),1)):t.withDirectives((t.openBlock(),t.createBlock(P,t.mergeProps({key:1},b.$attrs,{modelValue:e.value,"onUpdate:modelValue":S[0]||(S[0]=U=>e.value=U),onChange:t.unref(D)}),{default:t.withCtx(()=>[b.optionType==="circle"||b.optionType==="border"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(t.unref(Q),U=>(t.openBlock(),t.createBlock(f,{key:U[b.valueKey],label:U[b.labelKey],value:U[b.valueKey],border:b.optionType==="border"},null,8,["label","value","border"]))),128)):t.createCommentVNode("",!0),b.optionType==="button"?(t.openBlock(),t.createBlock(L,{key:1,wrap:"",size:[b.space,b.space]},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(Q),U=>(t.openBlock(),t.createBlock(x,{key:U[b.valueKey],label:U[b.labelKey],value:U[b.valueKey],size:"large"},null,8,["label","value"]))),128))]),_:1},8,["size"])):t.createCommentVNode("",!0)]),_:1},16,["modelValue","onChange"])),[[z,t.unref(l)]])}}})},Symbol.toStringTag,{value:"Module"})),Ak={class:"vfc-color-input"},ek=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"ColorInput",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue");return(e,o)=>{const Q=t.resolveComponent("el-input"),D=t.resolveComponent("el-color-picker");return t.openBlock(),t.createElementBlock("div",Ak,[t.createVNode(Q,{modelValue:A.value,"onUpdate:modelValue":o[0]||(o[0]=l=>A.value=l)},null,8,["modelValue"]),t.createVNode(D,{modelValue:A.value,"onUpdate:modelValue":o[1]||(o[1]=l=>A.value=l)},null,8,["modelValue"])])}}})},Symbol.toStringTag,{value:"Module"})),tk={key:0,class:"empty"},nk=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Custom",props:t.mergeModels({componentName:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue");return(e,o)=>e.componentName?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.componentName),t.mergeProps({key:1,modelValue:A.value,"onUpdate:modelValue":o[0]||(o[0]=Q=>A.value=Q)},e.$attrs),null,16,["modelValue"])):(t.openBlock(),t.createElementBlock("span",tk,"请输入全局注册得组件名"))}}),[["__scopeId","data-v-a013b8cf"]])},Symbol.toStringTag,{value:"Module"})),ik={key:0},ok=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"DatePicker",props:t.mergeModels({read:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue");return(e,o)=>{const Q=t.resolveComponent("el-date-picker");return e.read?(t.openBlock(),t.createElementBlock("span",ik,t.toDisplayString(A.value||"--"),1)):(t.openBlock(),t.createBlock(Q,t.mergeProps({key:1},e.$attrs,{modelValue:A.value,"onUpdate:modelValue":o[0]||(o[0]=D=>A.value=D),style:{width:"100%"}}),null,16,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),sk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Divider",props:{title:{}},setup(n){return(A,e)=>{const o=t.resolveComponent("ElDivider");return t.openBlock(),t.createBlock(o,t.normalizeProps(t.guardReactiveProps(A.$attrs)),{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(A.title),1)]),_:1},16)}}})},Symbol.toStringTag,{value:"Module"})),rk=t.defineComponent({props:{width:{type:Number,default:800},height:{type:Number,default:300},lineWidth:{type:Number,default:4},lineColor:{type:String,default:"#000000"},bgColor:{type:String,default:""},isCrop:{type:Boolean,default:!1},isClearBgColor:{type:Boolean,default:!1},format:{type:String,default:"image/png"},quality:{type:Number,default:1}},setup(n){const A=t.ref(!1),e=t.ref(""),o=t.ref([]),Q=t.ref(null),D=t.ref(0),l=t.ref(0),b=t.ref(!1),S=t.ref(1),f=t.ref(null),x=t.computed(()=>n.height/n.width),L=t.computed(()=>n.bgColor?n.bgColor:"rgba(255, 255, 255, 0)");t.watch(L,k=>{f.value&&(f.value.style.background=k)});const P=()=>{if(f.value){f.value.style.width=`${n.width}px`;const k=parseFloat(window.getComputedStyle(f.value).width);f.value.style.height=`${x.value*k}px`,Q.value=f.value.getContext("2d"),Q.value&&(Q.value.scale(1*S.value,1*S.value),S.value=k/n.width,Q.value.scale(1/S.value,1/S.value))}};t.onMounted(()=>{f.value&&(f.value.height=n.height,f.value.width=n.width,f.value.style.background=L.value,P(),document.onmouseup=()=>{b.value=!1}),window.addEventListener("resize",P)}),t.onBeforeUnmount(()=>{window.removeEventListener("resize",P)});const z=k=>{D.value=k.x,l.value=k.y,Q.value&&(Q.value.beginPath(),Q.value.moveTo(D.value,l.value),Q.value.lineTo(k.x,k.y),Q.value.lineCap="round",Q.value.lineJoin="round",Q.value.lineWidth=n.lineWidth*S.value,Q.value.stroke(),Q.value.closePath(),o.value.push(k))},K=k=>{Q.value&&(Q.value.beginPath(),Q.value.moveTo(D.value,l.value),Q.value.lineTo(k.x,k.y),Q.value.strokeStyle=n.lineColor,Q.value.lineWidth=n.lineWidth*S.value,Q.value.lineCap="round",Q.value.lineJoin="round",Q.value.stroke(),Q.value.closePath(),l.value=k.y,D.value=k.x,o.value.push(k))},U=k=>{Q.value&&(Q.value.beginPath(),Q.value.moveTo(D.value,l.value),Q.value.lineTo(k.x,k.y),Q.value.lineCap="round",Q.value.lineJoin="round",Q.value.stroke(),Q.value.closePath(),o.value.push(k),o.value.push({x:-1,y:-1}))},_=k=>{const y=(k==null?void 0:k.format)||n.format,C=(k==null?void 0:k.quality)||n.quality;return new Promise((d,p)=>{if(!A.value){p("Warning: Not Signed!");return}if(Q.value){const a=Q.value.getImageData(0,0,f.value.width,f.value.height);Q.value.globalCompositeOperation="destination-over",Q.value.fillStyle=L.value,Q.value.fillRect(0,0,f.value.width,f.value.height),e.value=f.value.toDataURL(y,C);let g=e.value;if(Q.value.clearRect(0,0,f.value.width,f.value.height),Q.value.putImageData(a,0,0),Q.value.globalCompositeOperation="source-over",n.isCrop){const r=G(a.data),u=document.createElement("canvas"),h=u.getContext("2d");if(h){u.width=r[2]-r[0],u.height=r[3]-r[1];const s=Q.value.getImageData(r[0],r[1],r[2],r[3]);h.globalCompositeOperation="destination-over",h.putImageData(s,0,0),h.fillStyle=L.value,h.fillRect(0,0,u.width,u.height),g=u.toDataURL(y,C)}}d(g)}})},I=()=>{Q.value&&Q.value.clearRect(0,0,f.value.width,f.value.height),n.isClearBgColor&&(o.value=[],A.value=!1,e.value="")},G=k=>{let y=f.value.width,C=0,d=f.value.height,p=0;for(let a=0;a<f.value.width;a++)for(let g=0;g<f.value.height;g++){const r=(a+f.value.width*g)*4;(k[r]>0||k[r+1]>0||k[r+2]>0||k[r+3]>0)&&(p=Math.max(g,p),C=Math.max(a,C),d=Math.min(g,d),y=Math.min(a,y))}return[y+1,d+1,C+1,p+1]};return{canvas:f,myBg:L,drawStart:z,drawMove:K,drawEnd:U,generate:_,reset:I,touchStart:k=>{if(k.preventDefault(),A.value=!0,k.touches.length===1&&f.value){const y={x:k.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-f.value.getBoundingClientRect().top};z(y)}},touchMove:k=>{if(k.preventDefault(),k.touches.length===1){const y={x:k.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-f.value.getBoundingClientRect().top};K(y)}},touchEnd:k=>{if(k.preventDefault(),k.touches.length===1){const y={x:k.targetTouches[0].clientX-f.value.getBoundingClientRect().left,y:k.targetTouches[0].clientY-f.value.getBoundingClientRect().top};U(y)}},mouseDown:k=>{k.preventDefault(),b.value=!0,A.value=!0;const y={x:k.offsetX,y:k.offsetY};z(y)},mouseMove:k=>{if(k.preventDefault(),b.value){const y={x:k.offsetX,y:k.offsetY};K(y)}},mouseUp:k=>{k.preventDefault();const y={x:k.offsetX,y:k.offsetY};U(y),b.value=!1}}}});function ak(n,A,e,o,Q,D){return t.openBlock(),t.createElementBlock("canvas",{ref:"canvas",onMousedown:A[0]||(A[0]=(...l)=>n.mouseDown&&n.mouseDown(...l)),onMousemove:A[1]||(A[1]=(...l)=>n.mouseMove&&n.mouseMove(...l)),onMouseup:A[2]||(A[2]=(...l)=>n.mouseUp&&n.mouseUp(...l)),onTouchstart:A[3]||(A[3]=(...l)=>n.touchStart&&n.touchStart(...l)),onTouchmove:A[4]||(A[4]=(...l)=>n.touchMove&&n.touchMove(...l)),onTouchend:A[5]||(A[5]=(...l)=>n.touchEnd&&n.touchEnd(...l))},null,544)}const lk=ZA(rk,[["render",ak],["__scopeId","data-v-5f3bfcf7"]]),ck={key:0},gk={class:"vfc-esign-preview"},uk=["src"],dk={key:1,class:"vfc-esign"},hk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Component",props:t.mergeModels({lineWidth:{default:6},lineColor:{default:"#000000"},bgColor:{default:"#f6f6f6"},isCrop:{type:Boolean,default:!1},width:{default:700},height:{default:300},disabled:{type:Boolean},format:{default:"image/png"}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.ref(),o=ut(),Q=t.useModel(n,"modelValue"),D={size:"small",labelPosition:"right",items:[{component:"Inline",children:[{label:"画笔粗细",component:"InputNumber",name:"lineWidth",props:{controlsPosition:"right"}},{label:"画笔颜色",component:"ColorPicker",name:"lineColor"},{label:"画板背景色",component:"ColorPicker",name:"bgColor"}],props:{align:"left",gap:20},designKey:"design-ZuIT",name:"form-OqAi",style:{marginBottom:"10px"}}]},l=t.ref({lineWidth:6,lineColor:"#000000",bgColor:"#fff"}),b=()=>{e.value.reset()},S=()=>{e.value.generate().then(L=>{Q.value=L}).catch(L=>{alert(L)})},f=t.ref(""),x=()=>{f.value=Q.value,Q.value=""};return t.onMounted(()=>{Object.assign(l.value,A)}),(L,P)=>{const z=t.resolveComponent("el-button");return t.unref(o).read||Q.value?(t.openBlock(),t.createElementBlock("div",ck,[t.createElementVNode("div",gk,[t.createElementVNode("img",{src:Q.value,alt:"未签名"},null,8,uk)]),t.unref(o).read?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(z,{key:0,disabled:L.disabled,onClick:x,type:"primary"},{default:t.withCtx(()=>P[2]||(P[2]=[t.createTextVNode("重写")])),_:1},8,["disabled"]))])):(t.openBlock(),t.createElementBlock("div",dk,[t.createVNode(t.unref(Ut),{modelValue:l.value,"onUpdate:modelValue":P[0]||(P[0]=K=>l.value=K),schema:D,class:"vfc-esign-actions"},null,8,["modelValue"]),t.createVNode(lk,{class:"vfc-esign-canvas",ref_key:"esign",ref:e,width:L.width,height:L.height,isCrop:L.isCrop,lineWidth:l.value.lineWidth,lineColor:l.value.lineColor,bgColor:l.value.bgColor,format:L.format},null,8,["width","height","isCrop","lineWidth","lineColor","bgColor","format"]),t.createElementVNode("div",null,[f.value?(t.openBlock(),t.createBlock(z,{key:0,disabled:L.disabled,onClick:P[1]||(P[1]=K=>Q.value=f.value),plain:"",type:"primary"},{default:t.withCtx(()=>P[3]||(P[3]=[t.createTextVNode("取消")])),_:1},8,["disabled"])):t.createCommentVNode("",!0),t.createVNode(z,{disabled:L.disabled,onClick:b,plain:"",type:"primary"},{default:t.withCtx(()=>P[4]||(P[4]=[t.createTextVNode("清空")])),_:1},8,["disabled"]),t.createVNode(z,{disabled:L.disabled,onClick:S,type:"primary"},{default:t.withCtx(()=>P[5]||(P[5]=[t.createTextVNode("保存")])),_:1},8,["disabled"])])]))}}})},Symbol.toStringTag,{value:"Module"})),pk={key:0},Bk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Radio",props:t.mergeModels({options:{default:()=>[]},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean},filters:{},optionType:{default:"circle"},direction:{default:"horizontal"},space:{default:20}},{modelValue:{type:[String,Number,Boolean],default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=ut(),Q=t.inject("ruleModule",void 0),D=t.inject("pageMethodMap",{}),l=f=>{const{valueKey:x="value",name:L}=A;let P={};if(P=b.value.find(z=>z[x]===f)||{},o.selectData&&L&&o.updateSelectData(L,P),A.onChange&&Q)try{Q[A.onChange](D,f,P)}catch(z){console.error(z)}},{currentOptions:b,loading:S}=Bo(A);return(f,x)=>{var _;const L=t.resolveComponent("el-radio"),P=t.resolveComponent("el-radio-button"),z=t.resolveComponent("el-space"),K=t.resolveComponent("el-radio-group"),U=t.resolveDirective("loading");return f.read?(t.openBlock(),t.createElementBlock("div",pk,t.toDisplayString(((_=t.unref(b).find(I=>I[f.valueKey]===e.value))==null?void 0:_[f.labelKey])||"--"),1)):t.withDirectives((t.openBlock(),t.createBlock(K,t.mergeProps({key:1,modelValue:e.value,"onUpdate:modelValue":x[0]||(x[0]=I=>e.value=I),onChange:l},f.$attrs),{default:t.withCtx(()=>[t.createVNode(z,{wrap:"",direction:f.direction,size:[f.space,f.space],alignment:"normal"},{default:t.withCtx(()=>[f.optionType==="circle"||f.optionType==="border"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(t.unref(b),I=>(t.openBlock(),t.createBlock(L,{key:I[f.valueKey],label:I[f.labelKey],value:I[f.valueKey],disabled:I[f.disabledKey],border:f.optionType==="border"},null,8,["label","value","disabled","border"]))),128)):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(t.unref(b),I=>(t.openBlock(),t.createBlock(P,t.mergeProps({key:I[f.valueKey],label:I[f.labelKey],value:I[f.valueKey],disabled:I[f.disabledKey],ref_for:!0},f.$attrs),null,16,["label","value","disabled"]))),128))]),_:1},8,["direction","size"])]),_:1},16,["modelValue"])),[[U,t.unref(S)]])}}})},Symbol.toStringTag,{value:"Module"})),Ck={class:"vfc-formList"},Ek={key:1},Qk={class:"list-item-content"},mk={class:"card-header"},Ik={style:{"margin-top":"5px"}},fk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"FormList",props:t.mergeModels({children:{default:()=>[]},allowAdd:{type:Boolean,default:!0},allowReduce:{type:Boolean,default:!0},minLines:{default:0},maxLines:{default:999},mode:{default:"table"},title:{default:""},name:{default:""},disabled:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=t.ref(0),Q=ut(),D=L=>yn(A.children,{$item:e.value[L],$index:L}),l=t.computed(()=>e.value.length>=A.maxLines),b=t.computed(()=>e.value.length<=A.minLines),S=()=>{l.value||(e.value=[...e.value,{}])},f=L=>{const P=e.value.filter((z,K)=>K!==L);e.value=P},x=(L,P,z,K)=>{const U=P.no,_=D(K)[U];return t.h(Ji,{..._,hideLabel:!0,style:{marginBottom:0},name:`${A.name}.${K}.${_.name}`})};return t.watch(e,(L,P)=>{const z=L.reduce((I,G,k)=>(Oe.isEqual(G,P[k])||(I=k),I),0);if(o.value=z,!A.children.some(I=>I.change))return;const K=D(z),U=L[z]||{},_=P[z]||{};K.forEach(I=>{I.change&&_&&!Oe.isEqual(U[I.name],_[I.name])&&I.change.forEach(G=>{if(G.condition!==!1){if(Oe.isString(G.condition)&&/^{{\s*(.*?)\s*}}$/.test(G.condition))return;const k=G.target.split(".").pop();e.value[z][k]=G.value}})})}),t.onMounted(()=>{var L;A.minLines&&!((L=e.value)!=null&&L.length)&&(e.value=Array.from({length:A.minLines},()=>({})))}),t.provide("$objGroupBase",t.computed(()=>`${A.name}.${o.value}`)),(L,P)=>{const z=t.resolveComponent("el-space"),K=t.resolveComponent("el-button"),U=t.resolveComponent("el-form-item"),_=t.resolveComponent("el-card"),I=t.resolveComponent("el-table-column"),G=t.resolveComponent("el-table");return t.openBlock(),t.createElementBlock("div",Ck,[t.unref(Q).design?(t.openBlock(),t.createBlock(t.unref(gl),{key:0,list:L.children,class:"layoutRender"},null,8,["list"])):(t.openBlock(),t.createElementBlock("div",Ek,[L.mode==="inline"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(e.value,(k,y)=>(t.openBlock(),t.createBlock(U,{key:k.key,class:"list-item"},{default:t.withCtx(()=>[t.createElementVNode("div",Qk,[t.createVNode(z,null,{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D(y),C=>(t.openBlock(),t.createBlock(t.unref(Ji),t.mergeProps({ref_for:!0},C,{key:C.label,name:`${L.name}.${y}.${C.name}`,hideLabel:""}),null,16,["name"]))),128))]),_:2},1024),L.allowReduce&&!b.value?(t.openBlock(),t.createBlock(K,{key:0,onClick:C=>f(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:L.disabled,size:"small"},{icon:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):t.createCommentVNode("",!0)])]),_:2},1024))),128)):t.createCommentVNode("",!0),L.mode==="card"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.value,(k,y)=>(t.openBlock(),t.createBlock(_,{key:k.key,class:"list-card"},{header:t.withCtx(()=>[t.createElementVNode("div",mk,[t.createElementVNode("span",null,t.toDisplayString(L.title+(y+1)),1),L.allowReduce&&!b.value?(t.openBlock(),t.createBlock(K,{key:0,onClick:C=>f(y),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:L.disabled,size:"small"},{icon:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:"reduce",color:"#fff"})]),_:2},1032,["onClick","disabled"])):t.createCommentVNode("",!0)])]),default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D(y),C=>(t.openBlock(),t.createBlock(t.unref(Ji),t.mergeProps({ref_for:!0},C,{key:C.label,class:"list-card-item",name:`${L.name}.${y}.${C.name}`}),null,16,["name"]))),128))]),_:2},1024))),128)):t.createCommentVNode("",!0),L.mode==="table"&&e.value.length?(t.openBlock(),t.createBlock(G,{key:2,data:e.value,style:{width:"100%"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(L.children,k=>(t.openBlock(),t.createBlock(I,t.mergeProps({prop:k.name,label:k.label,key:k.name,ref_for:!0},t.unref(Oe.pickBy)(k,Boolean),{formatter:x}),null,16,["prop","label"]))),128)),t.createVNode(I,{fixed:"right","min-width":"60"},{default:t.withCtx(k=>[L.allowReduce&&!b.value?(t.openBlock(),t.createBlock(K,{key:0,onClick:y=>f(k.$index),circle:"",type:"primary",class:"list-btn reduceBtn",disabled:L.disabled,size:"small",plain:""},{icon:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:"reduce"})]),_:2},1032,["onClick","disabled"])):t.createCommentVNode("",!0)]),_:1})]),_:1},8,["data"])):t.createCommentVNode("",!0),t.createElementVNode("div",Ik,[L.allowAdd&&!l.value?(t.openBlock(),t.createBlock(K,{key:0,onClick:S,type:"primary",class:"list-btn addBtn",disabled:L.disabled,size:"small",plain:""},{icon:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:"add"})]),default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(L.title),1)]),_:1},8,["disabled"])):t.createCommentVNode("",!0)])]))])}}})},Symbol.toStringTag,{value:"Module"})),wk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Grid",props:{children:{},columns:{},rowGap:{},columnGap:{},alignItems:{},paddingTop:{},paddingBottom:{},paddingLeft:{},paddingRight:{}},setup(n){const A=n,e=t.computed(()=>({display:"grid","grid-template-columns":`repeat(${A.columns}, 1fr)`,"row-gap":(A.rowGap||12)+"px","column-gap":(A.columnGap||12)+"px","align-items":A.alignItems,"padding-top":A.paddingTop+"px","padding-bottom":A.paddingBottom+"px","padding-left":A.paddingLeft+"px","padding-right":A.paddingRight+"px"}));return(o,Q)=>(t.openBlock(),t.createBlock(t.unref(Sn),{class:"form-item-grid",style:t.normalizeStyle(e.value),list:o.children},null,8,["style","list"]))}})},Symbol.toStringTag,{value:"Module"})),Dk=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Inline",props:{children:{},align:{},autoWrap:{type:Boolean},gap:{}},setup(n){const A=n,e=t.computed(()=>({width:"100%",display:"flex","justify-content":A.align,"flex-wrap":A.autoWrap?"wrap":"nowrap","overflow-x":"auto",gap:`${A.gap||12}px`}));return(o,Q)=>(t.openBlock(),t.createBlock(t.unref(Sn),{class:"form-item-inline",style:t.normalizeStyle(e.value),list:o.children},null,8,["style","list"]))}}),[["__scopeId","data-v-eb1c6096"]])},Symbol.toStringTag,{value:"Module"})),bk={key:0},yk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Component",props:t.mergeModels({min:{},read:{type:Boolean},precision:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue");ut();const e=o=>{["E","e","+","-"].includes(o.key)&&o.preventDefault()};return(o,Q)=>{const D=t.resolveComponent("el-input-number");return o.read?(t.openBlock(),t.createElementBlock("span",bk,t.toDisplayString(typeof A.value=="number"?A.value.toFixed(o.precision||0).replace(".",","):"--"),1)):(t.openBlock(),t.createBlock(D,t.mergeProps({key:1},o.$attrs,{modelValue:A.value,"onUpdate:modelValue":Q[0]||(Q[0]=l=>A.value=l),style:{width:"100%"},min:o.min||0,onKeydown:e}),null,16,["modelValue","min"]))}}})},Symbol.toStringTag,{value:"Module"})),vk={key:0},kk={style:{"min-height":"32px"}},_k=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Select",props:t.mergeModels({options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},read:{type:Boolean},clearable:{type:Boolean},filters:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=ut(),Q=t.inject("ruleModule",void 0),D=t.inject("pageMethodMap",{}),l=x=>{const{valueKey:L="value",multiple:P,name:z}=A;let K={};if(P&&Array.isArray(x)?K=b.value.filter(U=>x.includes(U[L])):K=b.value.find(U=>U[L]===x)||{},o.selectData&&z&&o.updateSelectData(z,K),A.onChange&&Q)try{Q[A.onChange](D,x,K)}catch(U){console.error(U)}},{currentOptions:b,loading:S}=Bo(A),f=t.computed(()=>{var x;return A.multiple?b.value.filter(P=>e.value.includes(P[A.valueKey])).map(P=>P[A.labelKey]).join(","):((x=b.value.find(L=>L[A.valueKey]===e.value))==null?void 0:x[A.labelKey])||"--"});return(x,L)=>{const P=t.resolveComponent("el-option"),z=t.resolveComponent("el-select"),K=t.resolveDirective("loading");return x.read?(t.openBlock(),t.createElementBlock("span",vk,t.toDisplayString(f.value),1)):(t.openBlock(),t.createBlock(z,t.mergeProps({key:1,modelValue:e.value,"onUpdate:modelValue":L[0]||(L[0]=U=>e.value=U)},x.$attrs,{onChange:l,multiple:x.multiple,clearable:"",filterable:"","fallback-placements":["bottom"]}),{default:t.withCtx(()=>[t.withDirectives((t.openBlock(),t.createElementBlock("div",kk,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(b),U=>(t.openBlock(),t.createBlock(P,{key:U[x.valueKey],label:U[x.labelKey],value:U[x.valueKey],disabled:U[x.disabledKey]},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(U[x.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))])),[[K,t.unref(S)]])]),_:1},16,["modelValue","multiple"]))}}})},Symbol.toStringTag,{value:"Module"})),Mk={key:0},Sk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Component",props:t.mergeModels({selectPosition:{default:"append"},selectWidth:{default:70},selectInitialValue:{},read:{type:Boolean},options:{default:()=>[]},parse:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=t.ref(""),Q=t.computed({get(){var D;return(D=e.value)==null?void 0:D.replaceAll(o.value,"")},set(D){D?e.value=D+o.value:e.value=D}});return t.watch(o,(D,l)=>{var b;e.value&&(e.value=((b=e.value)==null?void 0:b.replaceAll(l,""))+D)}),t.onMounted(()=>{A.selectInitialValue&&(o.value=A.selectInitialValue)}),(D,l)=>{const b=t.resolveComponent("el-option"),S=t.resolveComponent("el-select"),f=t.resolveComponent("el-input");return D.read?(t.openBlock(),t.createElementBlock("span",Mk,t.toDisplayString(Q.value||"--"),1)):(t.openBlock(),t.createBlock(f,t.mergeProps({key:1,"show-word-limit":"",autocomplete:"off"},D.$attrs,{modelValue:Q.value,"onUpdate:modelValue":l[1]||(l[1]=x=>Q.value=x)}),{[D.selectPosition]:t.withCtx(()=>[t.createVNode(S,{modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=x=>o.value=x),style:t.normalizeStyle({width:D.selectWidth+"px"}),placeholder:" "},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D.options,x=>(t.openBlock(),t.createBlock(b,{label:x.label,value:x.value,disabled:x.disabled,key:x.value},null,8,["label","value","disabled"]))),128))]),_:1},8,["modelValue","style"])]),_:2},1040,["modelValue"]))}}})},Symbol.toStringTag,{value:"Module"})),xk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Component",props:t.mergeModels({disabled:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=ut(),e=t.useModel(n,"modelValue");return(o,Q)=>{const D=t.resolveComponent("el-switch");return t.openBlock(),t.createBlock(D,t.mergeProps(o.$attrs,{modelValue:e.value,"onUpdate:modelValue":Q[0]||(Q[0]=l=>e.value=l),disabled:t.unref(A).read||o.disabled}),null,16,["modelValue","disabled"])}}})},Symbol.toStringTag,{value:"Module"})),Fk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Tag",props:{text:{default:"标签"},type:{default:"primary"}},setup(n){return(A,e)=>{const o=t.resolveComponent("el-tag");return t.openBlock(),t.createBlock(o,{type:A.type},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(A.text),1)]),_:1},8,["type"])}}})},Symbol.toStringTag,{value:"Module"})),Nk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Component",props:{text:{}},setup(n){return(A,e)=>(t.openBlock(),t.createElementBlock("div",t.normalizeProps(t.guardReactiveProps(A.$attrs)),t.toDisplayString(A.text),17))}})},Symbol.toStringTag,{value:"Module"})),Gd=t.defineComponent({__name:"Title",props:{title:{default:"标题"},type:{default:"h3"},italic:{type:Boolean,default:!1}},setup(n){return(A,e)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(A.type),{class:"Title",style:t.normalizeStyle({fontStyle:A.italic?"italic":"normal"})},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(A.title),1)]),_:1},8,["style"]))}}),Rk=Object.freeze(Object.defineProperty({__proto__:null,default:Gd},Symbol.toStringTag,{value:"Module"})),Lk={key:0,style:{"min-width":"300px"}},Gk={class:"el-upload__tip"},Hk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Component",props:t.mergeModels({action:{},multiple:{type:Boolean},btnText:{default:"点击上传"},tip:{},limit:{default:3},drag:{type:Boolean},name:{default:"file"},listType:{default:"text"}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue"),e=(l,b)=>{console.log(l,b)},o=l=>{console.log(l)},Q=(l,b)=>{Lt.ElMessage.warning(`The limit is 3, you selected ${l.length} files this time, add up to ${l.length+b.length} totally`)},D=(l,b)=>Lt.ElMessageBox.confirm(`Cancel the transfer of ${l.name} ?`).then(()=>!0,()=>!1);return(l,b)=>{const S=t.resolveComponent("el-button"),f=t.resolveComponent("el-upload");return t.openBlock(),t.createBlock(f,{"file-list":A.value,"onUpdate:fileList":b[0]||(b[0]=x=>A.value=x),action:l.action,multiple:l.multiple,limit:l.limit,drag:l.drag,name:l.name,listType:l.listType,"on-preview":o,"on-remove":e,"before-remove":D,"on-exceed":Q},t.createSlots({default:t.withCtx(()=>[l.listType==="text"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[l.drag?(t.openBlock(),t.createElementBlock("div",Lk,[t.createVNode(t.unref(oe),{class:"el-icon--upload",name:"upload"}),b[1]||(b[1]=t.createElementVNode("div",{class:"el-upload__text"},[t.createTextVNode(" 拖拽文件到此处上传 "),t.createElementVNode("br"),t.createTextVNode(" 或"),t.createElementVNode("em",null,"点击上传")],-1))])):(t.openBlock(),t.createBlock(S,{key:1,type:"primary"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(l.btnText),1)]),_:1}))],64)):t.createCommentVNode("",!0),l.listType==="picture-card"?(t.openBlock(),t.createBlock(t.unref(oe),{key:1,name:"add"})):t.createCommentVNode("",!0)]),_:2},[l.tip?{name:"tip",fn:t.withCtx(()=>[t.createElementVNode("div",Gk,t.toDisplayString(l.tip),1)]),key:"0"}:void 0]),1032,["file-list","action","multiple","limit","drag","name","listType"])}}})},Symbol.toStringTag,{value:"Module"}));function Pk(){return"a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",")}function bt(n,A){return Math.floor(Math.random()*(A-n)+n)}function nr(n,A){const e=bt(n,A),o=bt(n,A),Q=bt(n,A);return`rgb(${e},${o},${Q})`}class Kk{constructor(A,e){Je(this,"version","1.0.0");Je(this,"options");Je(this,"_init",()=>{const A=this.options.element;if(!A)return;const e=document.createElement("canvas");this.options.width=A.offsetWidth>0?A.offsetWidth.toString():"100",this.options.height=A.offsetHeight>0?A.offsetHeight.toString():"30",e.id=this.options.canvasId,e.width=parseInt(this.options.width),e.height=parseInt(this.options.height),e.style.cursor="pointer",e.innerHTML="您的浏览器版本不支持canvas",A.appendChild(e),e.onclick=()=>{this.refresh()}});Je(this,"refresh",()=>{this.options.code="";const A=document.getElementById(this.options.canvasId);if(!A||!A.getContext)return;const e=A.getContext("2d");e.textBaseline="middle",e.fillStyle=nr(180,240),e.fillRect(0,0,parseInt(this.options.width),parseInt(this.options.height));let o;this.options.type==="blend"?o=[...this.options.numArr,...this.options.letterArr]:this.options.type==="number"?o=this.options.numArr:o=this.options.letterArr;for(let Q=1;Q<=4;Q++){const D=o[bt(0,o.length)];this.options.code+=D,e.font=`${bt(parseInt(this.options.height)/2,parseInt(this.options.height))}px SimHei`,e.fillStyle=nr(50,160),e.shadowOffsetX=bt(-3,3),e.shadowOffsetY=bt(-3,3),e.shadowBlur=bt(-3,3),e.shadowColor="rgba(0, 0, 0, 0.3)";const l=parseInt(this.options.width)/5*Q,b=parseInt(this.options.height)/2,S=bt(-30,30);e.translate(l,b),e.rotate(S*Math.PI/180),e.fillText(D,0,0),e.rotate(-S*Math.PI/180),e.translate(-l,-b)}for(let Q=0;Q<4;Q++)e.strokeStyle=nr(40,180),e.beginPath(),e.moveTo(bt(0,parseInt(this.options.width)),bt(0,parseInt(this.options.height))),e.lineTo(bt(0,parseInt(this.options.width)),bt(0,parseInt(this.options.height))),e.stroke();for(let Q=0;Q<parseInt(this.options.width)/4;Q++)e.fillStyle=nr(0,255),e.beginPath(),e.arc(bt(0,parseInt(this.options.width)),bt(0,parseInt(this.options.height)),1,0,2*Math.PI),e.fill()});Je(this,"validate",A=>{const e=A.toLowerCase(),o=this.options.code.toLowerCase();return console.log(o),e===o?!0:(this.refresh(),!1)});this.options={element:null,canvasId:"verifyCanvas",width:"100",height:"30",type:"blend",code:"",numArr:"0,1,2,3,4,5,6,7,8,9".split(","),letterArr:Pk(),...e},A&&(this.options.element=A,this._init(),this.refresh())}}const Uk={class:"vfc-verify-code"},Tk=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Component",props:t.mergeModels({placeholder:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=t.useModel(n,"modelValue"),e=t.ref(null),o=t.ref(null),Q=ut(),D=()=>{var b;if(!A.value)return;const l=(b=o.value)==null?void 0:b.validate(A.value);console.log("res",l),l?Q.updateVCodePass(!0):Q.updateVCodePass(!1)};return t.onMounted(()=>{o.value=new Kk(e.value)}),(l,b)=>{const S=t.resolveComponent("el-input");return t.openBlock(),t.createElementBlock("div",Uk,[t.createVNode(S,{modelValue:A.value,"onUpdate:modelValue":b[0]||(b[0]=f=>A.value=f),class:"verify-input",placeholder:l.placeholder,onBlur:D},null,8,["modelValue","placeholder"]),t.createElementVNode("div",{class:"verify-code",ref_key:"codeEl",ref:e},null,512)])}}}),[["__scopeId","data-v-eda48825"]])},Symbol.toStringTag,{value:"Module"})),Yk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Collapse",props:{children:{}},setup(n){const A=n,e=t.ref([]);return t.onMounted(()=>{e.value=A.children.filter(o=>o.checked).map(o=>o.name)}),t.watch(()=>A.children,()=>{A.children.forEach(o=>{o.children||(o.children=[])})}),(o,Q)=>{const D=t.resolveComponent("ElCollapseItem"),l=t.resolveComponent("ElCollapse");return t.openBlock(),t.createBlock(l,t.mergeProps(o.$attrs,{modelValue:e.value,"onUpdate:modelValue":Q[0]||(Q[0]=b=>e.value=b)}),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.children,b=>(t.openBlock(),t.createBlock(D,{key:b.name,name:b.name},{title:t.withCtx(()=>[t.createVNode(Gd,{title:b.title,italic:"",type:"h4"},null,8,["title"])]),default:t.withCtx(()=>[t.createVNode(t.unref(Sn),{list:b.children},null,8,["list"])]),_:2},1032,["name"]))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),Ok=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"Tabs",props:{children:{},defaultKey:{}},setup(n){const A=n,e=t.ref("");return t.watch(()=>A.children,()=>{A.children.forEach(o=>{o.children||(o.children=[])})}),t.onMounted(()=>{A.defaultKey&&(e.value=A.defaultKey)}),(o,Q)=>{const D=t.resolveComponent("el-tab-pane"),l=t.resolveComponent("el-tabs");return t.openBlock(),t.createBlock(l,t.mergeProps(o.$attrs,{modelValue:e.value,"onUpdate:modelValue":Q[0]||(Q[0]=b=>e.value=b)}),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.children,b=>(t.openBlock(),t.createBlock(D,t.mergeProps({key:b.name,ref_for:!0},b),{default:t.withCtx(()=>[t.createVNode(t.unref(Sn),{list:b.children},null,8,["list"])]),_:2},1040))),128))]),_:1},16,["modelValue"])}}})},Symbol.toStringTag,{value:"Module"})),$k={class:"vfc-ObjGroup"},Jk={key:1,class:"vfc-ObjGroup-render"},Zk=Object.freeze(Object.defineProperty({__proto__:null,default:t.defineComponent({__name:"ObjGroup",props:{children:{},name:{}},setup(n){const A=n,e=ut(),o=t.inject("$objGroupBase"),Q=o?`${o.value}.${A.name}`:A.name;return t.provide("$objGroupBase",t.ref(Q)),(D,l)=>(t.openBlock(),t.createElementBlock("div",$k,[t.unref(e).design?(t.openBlock(),t.createBlock(t.unref(gl),{key:0,list:D.children},null,8,["list"])):(t.openBlock(),t.createElementBlock("div",Jk,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D.children,b=>(t.openBlock(),t.createBlock(t.unref(Ji),t.mergeProps({key:b.name,ref_for:!0},b,{name:`${t.unref(Q)}.${b.name}`}),null,16,["name"]))),128))]))]))}})},Symbol.toStringTag,{value:"Module"})),zk={key:0},Wk={key:0},jk={key:1},qk={key:1,class:"search-select-wrapper"},Xk=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"SearchSelect",props:t.mergeModels({onSearch:{},disabled:{type:Boolean},read:{type:Boolean},options:{default:()=>[]},multiple:{type:Boolean,default:!1},mode:{default:"static"},labelKey:{default:"label"},valueKey:{default:"value"},disabledKey:{default:"disabled"},env:{},apiParams:{},dependentFields:{},name:{default:""},onChange:{},clearable:{type:Boolean},filters:{}},{modelValue:{type:[String,Number,Boolean,Array]},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const A=n,e=t.useModel(n,"modelValue"),o=ut(),Q=t.inject("ruleModule",void 0),D=t.inject("pageMethodMap",{}),l=x=>{const{valueKey:L="value",multiple:P,name:z}=A;let K={};if(P&&Array.isArray(x)?K=S.value.filter(U=>x.includes(U[L])):K=S.value.find(U=>U[L]===x)||{},o.selectData&&z&&o.updateSelectData(z,K),A.onChange&&Q)try{Q[A.onChange](D,x,K)}catch(U){console.error(U)}},b=()=>{if(A.onSearch&&Q)try{Q[A.onSearch](D)}catch(x){console.error(x)}},{currentOptions:S,loading:f}=Bo(A);return(x,L)=>{var _;const P=t.resolveComponent("el-option"),z=t.resolveComponent("el-select"),K=t.resolveComponent("el-button"),U=t.resolveDirective("loading");return x.read?(t.openBlock(),t.createElementBlock("div",zk,[x.multiple?(t.openBlock(),t.createElementBlock("div",Wk,t.toDisplayString(e.value&&e.value.map(I=>{var G;return(G=t.unref(S).find(k=>k[x.valueKey]===I))==null?void 0:G[x.labelKey]}).join("、")),1)):(t.openBlock(),t.createElementBlock("div",jk,t.toDisplayString(((_=t.unref(S).find(I=>I[x.valueKey]===e.value))==null?void 0:_[x.labelKey])||"--"),1))])):(t.openBlock(),t.createElementBlock("div",qk,[t.withDirectives((t.openBlock(),t.createBlock(z,t.mergeProps({modelValue:e.value,"onUpdate:modelValue":L[0]||(L[0]=I=>e.value=I)},x.$attrs,{onChange:l,multiple:x.multiple,clearable:"",filterable:"",disabled:x.disabled}),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(S),I=>(t.openBlock(),t.createBlock(P,{key:I[x.valueKey],label:I[x.labelKey],value:I[x.valueKey],disabled:I[x.disabledKey]},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(I[x.labelKey]),1)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},16,["modelValue","multiple","disabled"])),[[U,t.unref(f)]]),t.createVNode(K,{onClick:b,disabled:x.disabled,class:"search-btn"},{default:t.withCtx(()=>[t.createVNode(t.unref(oe),{name:"search"})]),_:1},8,["disabled"])]))}}}),[["__scopeId","data-v-da2bde35"]])},Symbol.toStringTag,{value:"Module"})),Vk={class:"custom-tree-node"},A_={class:"tree-node-text"},e_={class:"tree-node-label"},t_={key:0,class:"tree-node-present"},n_=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Component",props:{onNodeClick:{},onLoad:{},btns:{},data:{},props:{},nodeKey:{}},setup(n){const A=n,e=t.inject("ruleModule",void 0),o=t.inject("pageMethodMap",{}),Q=t.ref(),D=(x,L)=>{Q.value=x[A.nodeKey]},l=(x,L,P)=>{if(e)try{e[x](o,{node:L,data:P})}catch(z){console.error(z)}},b=(x,L)=>{if(A.onNodeClick&&e)try{e[A.onNodeClick](o,{node:x,data:L})}catch(P){console.error(P)}},S=(x,L,P)=>{if(A.onLoad&&e)try{e[A.onLoad](o,{node:x,resolve:L,reject:P})}catch(z){console.error(z)}},f=t.ref([]);return t.watch(()=>A.data,()=>{var z;if(!A.data||!Array.isArray(A.data))return;const x=A.data[0],L=[x[A.nodeKey]],P=((z=A.props)==null?void 0:z.children)||"childrenNode";if(Array.isArray(x[P]))for(const K of x[P])K[P]&&L.push(K[A.nodeKey]);f.value=L}),(x,L)=>{const P=t.resolveComponent("el-tooltip"),z=t.resolveComponent("el-button"),K=t.resolveComponent("el-tree");return t.openBlock(),t.createBlock(K,t.mergeProps(x.$attrs,{onNodeClick:b,load:S,ref:"treeRef",class:"crm-tree",indent:32,"current-node-key":Q.value,onCurrentChange:D,"node-key":x.nodeKey,props:A.props,data:x.data,"default-expanded-keys":f.value}),{default:t.withCtx(({node:U,data:_})=>[t.createElementVNode("div",Vk,[t.createElementVNode("div",A_,[t.createElementVNode("span",e_,t.toDisplayString(U.label),1),_[x.nodeKey]===Q.value?(t.openBlock(),t.createElementBlock("div",t_,"Present")):t.createCommentVNode("",!0)]),t.createElementVNode("div",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(x.btns,I=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:I.key},[t.unref(yn)(I.hidden,{$node:U,$data:_})?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(z,{key:0,link:"",onClick:t.withModifiers(G=>l(I.onClick,U,_),["stop"]),disabled:I.disabled,type:I.type},{default:t.withCtx(()=>[t.createVNode(P,{class:"box-item",effect:"dark",content:I.text,placement:"top","popper-class":"low-tsp","show-after":300},{default:t.withCtx(()=>[I.icon?(t.openBlock(),t.createBlock(We,{key:0,name:I.icon.name,color:I.icon.color,class:"btn-icon"},null,8,["name","color"])):t.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["onClick","disabled","type"]))],64))),128))])])]),_:1},16,["current-node-key","node-key","props","data","default-expanded-keys"])}}}),[["__scopeId","data-v-e0b7bdf7"]])},Symbol.toStringTag,{value:"Module"})),i_={class:"empty-content"},o_=["title"],s_=["title","onClick"],r_=["title"],a_={class:"row-btn-wrapper"},l_=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Table",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},columns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{default:"table"},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},name:{}},setup(n,{expose:A}){const e=n,o=t.computed(()=>e.displayType?e.displayType:e.typeSwitch?"card":"table"),Q=t.inject("ruleModule",void 0),D=t.inject("ruleMap",void 0),l=t.computed(()=>e.rulePath&&D[e.rulePath]?D[e.rulePath]:Q),b=t.inject("pageMethodMap",{}),S=t.inject("getGlobalParams",()=>{}),f=t.inject(cn),x=f?f.translateFn:null,L=t.ref(),P=(AA,q,oA)=>{j.value[AA]&&(j.value[AA][q]=oA)},z=(AA,q)=>{const oA=e.columns.find(cA=>cA.key===AA);oA&&(oA.hidden=!q)},K=(AA,q,oA)=>{try{l.value[AA.onClick](b,q,oA)}catch(cA){console.error(cA)}},U=AA=>{if(e.rowClick)try{l.value[e.rowClick](b,AA)}catch(q){console.error(q)}},_=AA=>{if(e.rowDbClick)try{l.value[e.rowDbClick](b,AA)}catch(q){console.error(q)}},I=t.ref([]),G=AA=>{I.value=AA},k=()=>{var AA;(AA=L.value)==null||AA.clearSelection()},y=()=>j.value,C=t.ref(),d=AA=>{if(C.value=AA,!!e.handleCurrentChange)try{l.value[e.handleCurrentChange](b,AA)}catch(q){console.error(q)}},p=()=>C.value,a=()=>{var AA;return(AA=L.value)==null?void 0:AA.getSelectionRows()},g=async()=>!0,r=(AA,q)=>{var cA;const oA=(cA=e.topBtns)==null?void 0:cA.find(sA=>sA.key===AA);oA&&(oA.hidden=q)},u=(AA,q)=>{var cA;const oA=(cA=e.rowBtns)==null?void 0:cA.find(sA=>sA.key===AA);oA&&(oA.condition=!q)},h=t.ref(0),s=AA=>{h.value=AA},i=t.ref({pageNum:1,pageSize:e.defaultPageSize||5}),B=()=>i.value,E=AA=>{let q=!1;return AA.pageNum>-1&&(i.value.pageNum!==AA.pageNum&&(q=!0),i.value.pageNum=AA.pageNum),AA.pageSize>-1&&(i.value.pageSize!==AA.pageSize&&(q=!0),i.value.pageSize=AA.pageSize),{pagination:i.value,isChange:q}},M=AA=>{if(i.value.pageNum=1,i.value.pageSize=AA,!!e.sizeChange)try{l.value[e.sizeChange](b,i.value)}catch(q){console.error(q)}},w=AA=>{if(i.value.pageNum=AA,!!e.pageChange)try{l.value[e.pageChange](b,i.value)}catch(q){console.error(q)}},F=AA=>{var q;(q=L.value)==null||q.setCurrentRow(AA)},R=AA=>{var q;(q=L.value)==null||q.setCurrentRow(j.value[AA])},$=(AA,q,oA)=>{e.columns.forEach(cA=>{cA.key===AA&&cA[q]&&(cA[q]=oA)})},j=t.ref([]),J=AA=>{j.value=AA},Y=(AA={})=>{j.value.push(AA)},X=AA=>{AA>=0&&AA<j.value.length&&j.value.splice(AA,1)},v=async()=>{j.value=[...j.value]},W=t.useTemplateRef("rootRef"),N=t.readonly({...t.toRefs(e),setCellData:P,clearSelection:k,getData:y,getCurrentRow:p,getSelectedRows:a,addRow:Y,deleteRow:X,refresh:v,validate:g,setData:J,selectRow:F,selectRowNum:R,setTotal:s,getPagination:B,setPagination:E,setTopBtnHidden:r,setColVisible:z,setColumn:$,setRowsBtnHidden:u,rootRef:W,type:"table"}),V=(AA,q)=>{const oA=x?x(AA.key,q):q[AA.key];if(!AA.encrypted||!oA)return oA;const cA=`${oA}`;return cA.length<=4?"*".repeat(cA.length):cA.slice(0,-4)+"****"};if(t.onMounted(async()=>{if(!e.onMounted||!l.value)return;await t.nextTick();const AA=e.onMounted;try{l.value[AA](b)}catch(q){console.error(q)}}),t.onActivated(()=>{if(!e.onActivated||!l.value)return;const AA=e.onActivated;try{l.value[AA](b)}catch(q){console.error(q)}}),e.name){const AA=Bv(e.name,N);t.onUnmounted(()=>{AA()})}return A(N),(AA,q)=>{const oA=t.resolveComponent("el-table-column"),cA=t.resolveComponent("el-tooltip"),sA=t.resolveComponent("el-button"),pA=t.resolveComponent("el-pagination");return AA.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["table-render",{tableBorder:o.value==="table"}]),ref_key:"rootRef",ref:W},[t.withDirectives(t.createElementVNode("div",null,[t.createVNode(t.unref(Lt.ElTable),{ref_key:"tableRef",ref:L,data:j.value,"highlight-current-row":"","row-key":AA.rowKey,stripe:AA.stripe,onRowClick:U,onRowDblclick:_,onSelectionChange:G,onCurrentChange:d,height:AA.height},{empty:t.withCtx(()=>[t.createElementVNode("div",i_,[t.createVNode(t.unref(oe),{name:"tableEmpty",style:{width:56,height:56}}),q[2]||(q[2]=t.createElementVNode("div",null,"No data available,please check",-1))])]),default:t.withCtx(()=>[AA.multipleSelection?(t.openBlock(),t.createBlock(oA,{key:0,type:"selection",width:"55"})):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(AA.columns,O=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:O.key},[O.hidden?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(oA,{key:0,prop:O.key,"min-width":O.minWidth,fixed:O.fixed||!1},{header:t.withCtx(()=>[t.createElementVNode("div",{class:"text-ellipsis",title:O.label},t.toDisplayString(O.label),9,o_)]),default:t.withCtx(({row:nA,$index:iA})=>[O.type==="link"?(t.openBlock(),t.createElementBlock("div",{key:0,class:"text-ellipsis link-style",title:V(O,nA),onClick:rA=>K(O,nA,iA)},t.toDisplayString(V(O,nA)),9,s_)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"text-ellipsis",title:V(O,nA)},t.toDisplayString(V(O,nA)),9,r_))]),_:2},1032,["prop","min-width","fixed"]))],64))),128)),AA.rowBtns&&AA.rowBtns.length>0?(t.openBlock(),t.createBlock(oA,{key:1,label:"Action",fixed:"right",align:"left"},{default:t.withCtx(({row:O,$index:nA})=>[t.createElementVNode("div",a_,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(AA.rowBtns,iA=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:iA.key},[iA.condition===void 0||iA.condition===null||t.unref(yn)(iA.condition,{$row:O,$globalParams:t.unref(S)()})?(t.openBlock(),t.createBlock(sA,{key:0,disabled:iA.disabled,link:"",size:"small",type:iA.type,onClick:t.withModifiers(rA=>K(iA,O,nA),["stop"])},{default:t.withCtx(()=>[t.createVNode(cA,{class:"box-item",effect:"dark",content:iA.label,placement:"top","popper-class":"low-tsp","show-after":300},{default:t.withCtx(()=>[iA.icon?(t.openBlock(),t.createBlock(We,{key:0,name:iA.icon.name,color:iA.icon.color},null,8,["name","color"])):t.createCommentVNode("",!0)]),_:2},1032,["content"])]),_:2},1032,["disabled","type","onClick"])):t.createCommentVNode("",!0)],64))),128))])]),_:1})):t.createCommentVNode("",!0)]),_:1},8,["data","row-key","stripe","height"])],512),[[t.vShow,o.value==="table"]]),t.withDirectives(t.createVNode(ms,t.mergeProps({data:j.value},e,{getColText:V}),null,16,["data"]),[[t.vShow,o.value==="card"]]),t.createElementVNode("div",{class:t.normalizeClass(["pagination-wrapper",{hidePagination:(AA.hiddenPagination||j.value.length===0)&&!AA.height,transparentPagination:(AA.hiddenPagination||j.value.length===0)&&AA.height,cardlistPadding:o.value==="card"}])},[t.createVNode(pA,{layout:"total,sizes, prev, pager, next,jumper",total:h.value,"page-sizes":AA.pageSizes||[5,10,20,30,40],"default-page-size":AA.defaultPageSize,"current-page":i.value.pageNum,"onUpdate:currentPage":q[0]||(q[0]=O=>i.value.pageNum=O),"page-size":i.value.pageSize,"onUpdate:pageSize":q[1]||(q[1]=O=>i.value.pageSize=O),"pager-count":AA.pagerCount,onSizeChange:M,onCurrentChange:w},null,8,["total","page-sizes","default-page-size","current-page","page-size","pager-count"])],2)],2))}}}),[["__scopeId","data-v-3dd76404"]])},Symbol.toStringTag,{value:"Module"})),c_={class:"crm-curd-card"},g_={class:"left-part"},u_={class:"title"},d_={class:"right-part"},h_={key:0,class:"switch-panel"},p_={key:2},B_=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"CurdCard",props:{name:{},children:{},collapsible:{type:Boolean},onCollapsed:{},typeSwitch:{type:Boolean},title:{},btns:{},type:{},mainIcon:{},extraIcons:{},displayType:{}},setup(n){const A=t.inject("ruleModule",void 0),e=t.inject("pageMethodMap",{}),o=n,Q=x=>{if(x&&A)try{A[x](e)}catch(L){console.error(L)}},D=()=>{l.value=!l.value,o.onCollapsed&&A&&A[o.onCollapsed](e,l.value)},l=t.ref(!1),b=t.ref(o.displayType||(o.typeSwitch?"card":"table")),S=ut(),f=x=>{b.value=x;const L=is(S.schema.items,o.name),P=z=>{z.forEach(K=>{K.component==="Table"&&K.props&&(K.props.displayType=x),K.children&&K.children.length>0&&P(K.children)})};L&&L.children&&P(L.children)};return f(b.value),(x,L)=>{const P=t.resolveComponent("el-tooltip"),z=t.resolveComponent("el-collapse-transition");return t.openBlock(),t.createElementBlock("div",c_,[t.createElementVNode("div",{class:t.normalizeClass(["card-header",{inline:x.type==="inline",mix:x.type==="mix",default:x.type==="default"}])},[t.createElementVNode("div",g_,[x.mainIcon?(t.openBlock(),t.createBlock(We,{key:0,class:"title-icon",size:"large",name:x.mainIcon.name,color:x.mainIcon.color},null,8,["name","color"])):t.createCommentVNode("",!0),t.createElementVNode("span",u_,t.toDisplayString(x.title),1),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(x.extraIcons,K=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:K.name},[K.tips?(t.openBlock(),t.createBlock(P,{key:0,content:K.tips,placement:"right"},{default:t.withCtx(()=>[t.createVNode(We,{class:"extra-icon",name:K.name,color:K.color,onClick:U=>Q(K.onClick)},null,8,["name","color","onClick"])]),_:2},1032,["content"])):(t.openBlock(),t.createBlock(We,{key:1,class:"extra-icon",name:K.name,color:K.color,onClick:U=>Q(K.onClick)},null,8,["name","color","onClick"]))],64))),128))]),t.createElementVNode("div",d_,[x.typeSwitch?(t.openBlock(),t.createElementBlock("div",h_,[t.createElementVNode("div",{class:t.normalizeClass(["switch-icon-wrapper",{active:b.value==="card"}]),onClick:L[0]||(L[0]=K=>f("card"))},[t.createVNode(We,{name:"icon-kapian"})],2),t.createElementVNode("div",{class:t.normalizeClass(["switch-icon-wrapper",{active:b.value==="table"}]),onClick:L[1]||(L[1]=K=>f("table"))},[t.createVNode(We,{name:"icon-biaoge"})],2)])):t.createCommentVNode("",!0),x.collapsible?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["collapse-icon-wrapper",{collapsed:l.value}]),onClick:D},[t.createVNode(We,{name:"icon-shaixuan"})],2)):t.createCommentVNode("",!0),x.btns&&x.btns.length>0?(t.openBlock(),t.createElementBlock("div",p_,[t.createVNode(t.unref(Zi),{btns:x.btns||[]},null,8,["btns"])])):t.createCommentVNode("",!0)])],2),x.onCollapsed?(t.openBlock(),t.createBlock(t.unref(Sn),{key:1,list:x.children},null,8,["list"])):(t.openBlock(),t.createBlock(z,{key:0},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",null,[t.createVNode(t.unref(Sn),{list:x.children},null,8,["list"])],512),[[t.vShow,!l.value]])]),_:1}))])}}}),[["__scopeId","data-v-5e1428ff"]])},Symbol.toStringTag,{value:"Module"})),C_=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"Wrapper",props:{children:{},style:{type:[Boolean,null,String,Object,Array]},type:{},collapse:{type:Boolean}},setup(n){return(A,e)=>{const o=t.resolveComponent("el-collapse-transition");return t.openBlock(),t.createElementBlock("div",null,[t.createVNode(o,null,{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",{style:t.normalizeStyle(A.style),class:t.normalizeClass({normal:A.type==="normal"})},[t.createVNode(t.unref(Sn),{list:A.children},null,8,["list"])],6),[[t.vShow,!A.collapse]])]),_:1})])}}}),[["__scopeId","data-v-eaee5c08"]])},Symbol.toStringTag,{value:"Module"})),E_={class:"content"},Q_={class:"product-list"},m_={class:"attribute-list"},I_={key:0,class:"attribute-list-item"},f_={class:"product-title attribute-title"},w_={class:"attribute-item-list"},D_={class:"attribute-label"},b_={class:"attribute-value"},y_=t.defineComponent({__name:"OfferDetailItem",props:{data:{},btns:{},index:{}},setup(n){return(A,e)=>{const o=t.resolveComponent("el-popover");return t.openBlock(),t.createBlock(o,{"popper-class":"offer-detail",placement:"right"},{reference:t.withCtx(()=>[t.createVNode(Ug,{data:A.data,btns:A.btns,index:A.index},null,8,["data","btns","index"])]),default:t.withCtx(()=>[t.createElementVNode("div",E_,[e[0]||(e[0]=t.createElementVNode("div",{class:"product-title"},"Product",-1)),t.createElementVNode("div",Q_,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(A.data.product,Q=>(t.openBlock(),t.createElementBlock("div",{class:"product-item",key:Q.label},t.toDisplayString(Q.label),1))),128))]),t.createElementVNode("div",m_,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(A.data.product,Q=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:Q.label},[Q.children.length>0?(t.openBlock(),t.createElementBlock("div",I_,[t.createElementVNode("div",f_,t.toDisplayString(Q.label),1),t.createElementVNode("div",w_,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Q.children,D=>(t.openBlock(),t.createElementBlock("div",{class:"attribute-item",key:D.label},[t.createElementVNode("div",D_,t.toDisplayString(D.label),1),t.createElementVNode("div",b_,t.toDisplayString(D.value||"--"),1)]))),128))])])):t.createCommentVNode("",!0)],64))),128))])])]),_:1})}}}),v_={key:0,class:"empty-content"},k_=Object.freeze(Object.defineProperty({__proto__:null,default:ZA(t.defineComponent({__name:"OfferDetails",props:{title:{},key:{},rulePath:{},rowKey:{},showDynamicSearch:{type:Boolean},multipleSelection:{type:Boolean},highlightCurrentRow:{type:Boolean},"highlight-current-row":{type:Boolean},stripe:{type:Boolean},rowClick:{},rowDbClick:{},sizeChange:{},pageChange:{},topBtns:{},rowBtns:{},hidden:{type:Boolean},hiddenPagination:{type:Boolean},handleCurrentChange:{},pageSizes:{},pagerCount:{},defaultPageSize:{},typeSwitch:{type:Boolean},displayType:{},onMounted:{},onActivated:{},height:{},collapsible:{type:Boolean},gridColumns:{default:3},gap:{default:16},data:{},columns:{},getColText:{}},setup(n){var x,L;const A=n,e=t.ref(),o=t.ref([]),Q=(x=A.columns.find(P=>P.position==="title"))==null?void 0:x.key,D=(L=A.columns.find(P=>P.position==="subTitle"))==null?void 0:L.key,l=A.columns.find(P=>P.position==="footer"),b=P=>{const z=[];return P.children&&P.children.length>0&&P.children.forEach(K=>{const U={label:K.PRODUCT_ITEM_NAME,children:[]};K.children&&K.children.length>0&&K.children.forEach(_=>{U.children.push({label:_.PRODUCT_ITEM_NAME,value:_.ACTION})}),z.push(U)}),z},S=t.inject(cn),f=S?S.translateFn:null;return t.watchEffect(()=>{A.data&&(e.value=A.data.map(P=>{const z={content:[]};return Q&&(z.title=f?f(Q,P):P[Q],z.titleColor="#18AAF8"),D&&(z.subTitle=f?f(D,P):P[D]),l&&(z.footer={icon:l.footerIcon||"icon-tishi",text:`${l.label}: ${f?f(l.key,P):P[l.key]}`}),P.children&&(z.product=b(P)),A.columns.forEach(K=>{K.position==="content"&&z.content.push({label:K.label,value:f?f(K.key,P):P[K.key]})}),z}))}),t.onMounted(()=>{var P;o.value=(P=A.rowBtns)==null?void 0:P.map(z=>({icon:z.icon&&z.icon.name?z.icon.name:"icon-tishi",label:z.label,onClick:z.onClick}))}),(P,z)=>{const K=t.resolveComponent("Icon");return t.openBlock(),t.createElementBlock("div",{class:"card-list",style:t.normalizeStyle({"--columns":P.gridColumns,"--gap":P.gap+"px"})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.value,(U,_)=>(t.openBlock(),t.createElementBlock("div",{class:"card-list-item",key:_},[t.createVNode(y_,{data:U,btns:o.value,index:_},null,8,["data","btns","index"])]))),128)),!P.data||P.data.length===0?(t.openBlock(),t.createElementBlock("div",v_,[t.createVNode(K,{name:"tableEmpty",style:{width:56,height:56}}),z[0]||(z[0]=t.createElementVNode("div",null,"No data available,please check",-1))])):t.createCommentVNode("",!0)],4)}}}),[["__scopeId","data-v-da383eeb"]])},Symbol.toStringTag,{value:"Module"}));ot.$options=cn,ot.FormDesign=Rd,ot.FormRender=Ut,ot.PageRender=dl,ot.TableRender=ul,ot.default=G1,ot.useFormInstance=ut,Object.defineProperties(ot,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|