hlrender 0.0.272 → 0.0.273

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.
Files changed (63) hide show
  1. package/{affix-widget-a4356ebe.js → affix-widget-7936798e.js} +2 -2
  2. package/{alert-widget-3ce43ccb.js → alert-widget-02e47d49.js} +2 -2
  3. package/{auto-complete-widget-20c5cafa.js → auto-complete-widget-880e7e0f.js} +1 -1
  4. package/{avatar-widget-761f2521.js → avatar-widget-487e0e2e.js} +2 -2
  5. package/{backtop-widget-11b3a6c3.js → backtop-widget-0a2ff607.js} +2 -2
  6. package/{badge-widget-f3665d09.js → badge-widget-e3c4ea9b.js} +2 -2
  7. package/{button-widget-727fa1fe.js → button-widget-bcf30b90.js} +2 -2
  8. package/{card-widget-88bd62c6.js → card-widget-84258823.js} +1 -1
  9. package/{carousel-widget-865fba4a.js → carousel-widget-7cb76f10.js} +1 -1
  10. package/{collapse-widget-b90f22e2.js → collapse-widget-6944d866.js} +1 -1
  11. package/{cont-cell-widget-df9ae523.js → cont-cell-widget-478a08e3.js} +1 -1
  12. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-d7ef5014.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-4f659a6d.js} +1 -1
  13. package/{cont-widget-5d43a638.js → cont-widget-aebc2a42.js} +1 -1
  14. package/{countdown-widget-bdf4a740.js → countdown-widget-eeda1eaf.js} +2 -2
  15. package/{default-slot-widget-b7f721b4.js → default-slot-widget-8808befb.js} +2 -2
  16. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-30ef70a9.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-cc526709.js} +1 -1
  17. package/{descriptions-widget-a8b170d1.js → descriptions-widget-0fc16cba.js} +1 -1
  18. package/{dialog-widget-6e7d309c.js → dialog-widget-e9e73aaa.js} +2 -2
  19. package/{divider-widget-c80c6738.js → divider-widget-636b1e74.js} +2 -2
  20. package/{drag-wrapper-42c5afd6.js → drag-wrapper-2b219253.js} +76 -74
  21. package/{drawer-widget-92e02bd2.js → drawer-widget-07908557.js} +2 -2
  22. package/{dropdown-widget-ed6a34f7.js → dropdown-widget-e3387a58.js} +1 -1
  23. package/{empty-widget-f726c9bb.js → empty-widget-cc2c4fb8.js} +2 -2
  24. package/{feedback-widget-a267ad23.js → feedback-widget-34e7dc2e.js} +2 -2
  25. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-1daef632.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-b57b9ab8.js} +1 -1
  26. package/{file-upload-widget-d4d34448.js → file-upload-widget-a11d1c9e.js} +1 -1
  27. package/{form-widget-4ae7d32e.js → form-widget-f3f0dee4.js} +1 -1
  28. package/{grid-col-widget-f46ee9b9.js → grid-col-widget-e3b4c2a1.js} +1 -1
  29. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-4e973337.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d395b847.js} +1 -1
  30. package/{grid-widget-06e4c099.js → grid-widget-32dc5fe8.js} +1 -1
  31. package/{hcard-widget-a584b7e9.js → hcard-widget-4247c63c.js} +1 -1
  32. package/{input-tag-widget-72f5ffe4.js → input-tag-widget-bdddfff8.js} +1 -1
  33. package/{input-widget-0af8dc8f.js → input-widget-373c8845.js} +1 -1
  34. package/{link-widget-c0d3163d.js → link-widget-a61ed3b5.js} +2 -2
  35. package/{ltable-col-widget-af7b1535.js → ltable-col-widget-8739bb8c.js} +1 -1
  36. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-6f7af3ed.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d6eb60e4.js} +1 -1
  37. package/{ltable-widget-bfd04c97.js → ltable-widget-270df165.js} +1 -1
  38. package/{mention-widget-66a6a8f9.js → mention-widget-c266845d.js} +1 -1
  39. package/{multirow-widget-3c4ffedf.js → multirow-widget-2afb3f54.js} +1 -1
  40. package/package.json +1 -1
  41. package/{progress-widget-d39751ef.js → progress-widget-297be943.js} +1 -1
  42. package/{range-widget-eb0bb679.js → range-widget-b81d2028.js} +1 -1
  43. package/render.es.js +15 -15
  44. package/render.style.css +1 -1
  45. package/render.umd.js +1 -1
  46. package/{result-widget-0e72b0d2.js → result-widget-1efc29eb.js} +1 -1
  47. package/{skeleton-widget-bc86227a.js → skeleton-widget-c2725956.js} +2 -2
  48. package/{space-widget-68c2bf83.js → space-widget-aa9906ab.js} +1 -1
  49. package/{splitter-widget-fbf0abf0.js → splitter-widget-9ded3175.js} +1 -1
  50. package/{statistic-widget-9e693460.js → statistic-widget-37a5d38a.js} +2 -2
  51. package/{tab-pane-widget-94ce9730.js → tab-pane-widget-316279a0.js} +1 -1
  52. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-2d3cdb4b.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7c5c0905.js} +1 -1
  53. package/{table-col-widget-4bf92711.js → table-col-widget-30c875ce.js} +2 -2
  54. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-16cf8609.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-576d6688.js} +1 -1
  55. package/{table-widget-c87c77f0.js → table-widget-cccbdbb1.js} +2 -2
  56. package/{tabs-widget-73c16831.js → tabs-widget-989e56f0.js} +1 -1
  57. package/{tag-widget-16128049.js → tag-widget-c1addcf0.js} +2 -2
  58. package/{text-widget-8ceb7058.js → text-widget-24037c00.js} +2 -2
  59. package/{timeline-widget-686d2630.js → timeline-widget-a6c591d3.js} +1 -1
  60. package/{tmpl-widget-05119bdd.js → tmpl-widget-6c42545d.js} +1 -1
  61. package/{tooltip-widget-4ba2bc37.js → tooltip-widget-4b035973.js} +1 -1
  62. package/{transfer-widget-404ba171.js → transfer-widget-2f490760.js} +1 -1
  63. package/{wrapper-widget-d05fa663.js → wrapper-widget-bab1bc99.js} +1 -1
package/render.umd.js CHANGED
@@ -759,7 +759,7 @@ Expecting `+z.join(", ")+", got '"+(this.terminals_[T]||T)+"'":H="Parse error on
759
759
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function XO(e,t){var o=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!o){if(Array.isArray(e)||(o=Fx(e))||t&&e&&typeof e.length=="number"){o&&(e=o);var c=0,y=function(){};return{s:y,n:function(){return c>=e.length?{done:!0}:{done:!1,value:e[c++]}},e:function(i){throw i},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
760
760
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var d=!0,n=!1,p;return{s:function(){o=o.call(e)},n:function(){var i=o.next();return d=i.done,i},e:function(i){n=!0,p=i},f:function(){try{!d&&o.return!=null&&o.return()}finally{if(n)throw p}}}}var JO=function(){function e(){xl(this,e)}return _l(e,[{key:"add",value:function(o,c,y){if(typeof arguments[0]!="string")for(var d in arguments[0])this.add(d,arguments[0][d],arguments[1]);else(Array.isArray(o)?o:[o]).forEach(function(n){this[n]=this[n]||[],c&&this[n][y?"unshift":"push"](c)},this)}},{key:"run",value:function(o,c){this[o]=this[o]||[],this[o].forEach(function(y){y.call(c&&c.context?c.context:c,c)})}}])}(),YO=function(){function e(t){xl(this,e),this.jsep=t,this.registered={}}return _l(e,[{key:"register",value:function(){for(var o=this,c=arguments.length,y=new Array(c),d=0;d<c;d++)y[d]=arguments[d];y.forEach(function(n){if(Cs(n)!=="object"||!n.name||!n.init)throw new Error("Invalid JSEP plugin format");o.registered[n.name]||(n.init(o.jsep),o.registered[n.name]=n)})}}])}(),As=function(){function e(t){xl(this,e),this.expr=t,this.index=0}return _l(e,[{key:"char",get:function(){return this.expr.charAt(this.index)}},{key:"code",get:function(){return this.expr.charCodeAt(this.index)}},{key:"throwError",value:function(o){var c=new Error(o+" at character "+this.index);throw c.index=this.index,c.description=o,c}},{key:"runHook",value:function(o,c){if(e.hooks[o]){var y={context:this,node:c};return e.hooks.run(o,y),y.node}return c}},{key:"searchHook",value:function(o){if(e.hooks[o]){var c={context:this};return e.hooks[o].find(function(y){return y.call(c.context,c),c.node}),c.node}}},{key:"gobbleSpaces",value:function(){for(var o=this.code;o===e.SPACE_CODE||o===e.TAB_CODE||o===e.LF_CODE||o===e.CR_CODE;)o=this.expr.charCodeAt(++this.index);this.runHook("gobble-spaces")}},{key:"parse",value:function(){this.runHook("before-all");var o=this.gobbleExpressions(),c=o.length===1?o[0]:{type:e.COMPOUND,body:o};return this.runHook("after-all",c)}},{key:"gobbleExpressions",value:function(o){for(var c=[],y,d;this.index<this.expr.length;)if(y=this.code,y===e.SEMCOL_CODE||y===e.COMMA_CODE)this.index++;else if(d=this.gobbleExpression())c.push(d);else if(this.index<this.expr.length){if(y===o)break;this.throwError('Unexpected "'+this.char+'"')}return c}},{key:"gobbleExpression",value:function(){var o=this.searchHook("gobble-expression")||this.gobbleBinaryExpression();return this.gobbleSpaces(),this.runHook("after-expression",o)}},{key:"gobbleBinaryOp",value:function(){this.gobbleSpaces();for(var o=this.expr.substr(this.index,e.max_binop_len),c=o.length;c>0;){if(e.binary_ops.hasOwnProperty(o)&&(!e.isIdentifierStart(this.code)||this.index+o.length<this.expr.length&&!e.isIdentifierPart(this.expr.charCodeAt(this.index+o.length))))return this.index+=c,o;o=o.substr(0,--c)}return!1}},{key:"gobbleBinaryExpression",value:function(){var o,c,y,d,n,p,i,r,s;if(p=this.gobbleToken(),!p||(c=this.gobbleBinaryOp(),!c))return p;for(n={value:c,prec:e.binaryPrecedence(c),right_a:e.right_associative.has(c)},i=this.gobbleToken(),i||this.throwError("Expected expression after "+c),d=[p,n,i];c=this.gobbleBinaryOp();){if(y=e.binaryPrecedence(c),y===0){this.index-=c.length;break}n={value:c,prec:y,right_a:e.right_associative.has(c)},s=c;for(var u=function(m){return n.right_a&&m.right_a?y>m.prec:y<=m.prec};d.length>2&&u(d[d.length-2]);)i=d.pop(),c=d.pop().value,p=d.pop(),o={type:e.BINARY_EXP,operator:c,left:p,right:i},d.push(o);o=this.gobbleToken(),o||this.throwError("Expected expression after "+s),d.push(n,o)}for(r=d.length-1,o=d[r];r>1;)o={type:e.BINARY_EXP,operator:d[r-1].value,left:d[r-2],right:o},r-=2;return o}},{key:"gobbleToken",value:function(){var o,c,y,d;if(this.gobbleSpaces(),d=this.searchHook("gobble-token"),d)return this.runHook("after-token",d);if(o=this.code,e.isDecimalDigit(o)||o===e.PERIOD_CODE)return this.gobbleNumericLiteral();if(o===e.SQUOTE_CODE||o===e.DQUOTE_CODE)d=this.gobbleStringLiteral();else if(o===e.OBRACK_CODE)d=this.gobbleArray();else{for(c=this.expr.substr(this.index,e.max_unop_len),y=c.length;y>0;){if(e.unary_ops.hasOwnProperty(c)&&(!e.isIdentifierStart(this.code)||this.index+c.length<this.expr.length&&!e.isIdentifierPart(this.expr.charCodeAt(this.index+c.length)))){this.index+=y;var n=this.gobbleToken();return n||this.throwError("missing unaryOp argument"),this.runHook("after-token",{type:e.UNARY_EXP,operator:c,argument:n,prefix:!0})}c=c.substr(0,--y)}e.isIdentifierStart(o)?(d=this.gobbleIdentifier(),e.literals.hasOwnProperty(d.name)?d={type:e.LITERAL,value:e.literals[d.name],raw:d.name}:d.name===e.this_str&&(d={type:e.THIS_EXP})):o===e.OPAREN_CODE&&(d=this.gobbleGroup())}return d?(d=this.gobbleTokenProperty(d),this.runHook("after-token",d)):this.runHook("after-token",!1)}},{key:"gobbleTokenProperty",value:function(o){this.gobbleSpaces();for(var c=this.code;c===e.PERIOD_CODE||c===e.OBRACK_CODE||c===e.OPAREN_CODE||c===e.QUMARK_CODE;){var y=void 0;if(c===e.QUMARK_CODE){if(this.expr.charCodeAt(this.index+1)!==e.PERIOD_CODE)break;y=!0,this.index+=2,this.gobbleSpaces(),c=this.code}this.index++,c===e.OBRACK_CODE?(o={type:e.MEMBER_EXP,computed:!0,object:o,property:this.gobbleExpression()},this.gobbleSpaces(),c=this.code,c!==e.CBRACK_CODE&&this.throwError("Unclosed ["),this.index++):c===e.OPAREN_CODE?o={type:e.CALL_EXP,arguments:this.gobbleArguments(e.CPAREN_CODE),callee:o}:(c===e.PERIOD_CODE||y)&&(y&&this.index--,this.gobbleSpaces(),o={type:e.MEMBER_EXP,computed:!1,object:o,property:this.gobbleIdentifier()}),y&&(o.optional=!0),this.gobbleSpaces(),c=this.code}return o}},{key:"gobbleNumericLiteral",value:function(){for(var o="",c,y;e.isDecimalDigit(this.code);)o+=this.expr.charAt(this.index++);if(this.code===e.PERIOD_CODE)for(o+=this.expr.charAt(this.index++);e.isDecimalDigit(this.code);)o+=this.expr.charAt(this.index++);if(c=this.char,c==="e"||c==="E"){for(o+=this.expr.charAt(this.index++),c=this.char,(c==="+"||c==="-")&&(o+=this.expr.charAt(this.index++));e.isDecimalDigit(this.code);)o+=this.expr.charAt(this.index++);e.isDecimalDigit(this.expr.charCodeAt(this.index-1))||this.throwError("Expected exponent ("+o+this.char+")")}return y=this.code,e.isIdentifierStart(y)?this.throwError("Variable names cannot start with a number ("+o+this.char+")"):(y===e.PERIOD_CODE||o.length===1&&o.charCodeAt(0)===e.PERIOD_CODE)&&this.throwError("Unexpected period"),{type:e.LITERAL,value:parseFloat(o),raw:o}}},{key:"gobbleStringLiteral",value:function(){for(var o="",c=this.index,y=this.expr.charAt(this.index++),d=!1;this.index<this.expr.length;){var n=this.expr.charAt(this.index++);if(n===y){d=!0;break}else if(n==="\\")switch(n=this.expr.charAt(this.index++),n){case"n":o+=`
761
761
  `;break;case"r":o+="\r";break;case"t":o+=" ";break;case"b":o+="\b";break;case"f":o+="\f";break;case"v":o+="\v";break;default:o+=n}else o+=n}return d||this.throwError('Unclosed quote after "'+o+'"'),{type:e.LITERAL,value:o,raw:this.expr.substring(c,this.index)}}},{key:"gobbleIdentifier",value:function(){var o=this.code,c=this.index;for(e.isIdentifierStart(o)?this.index++:this.throwError("Unexpected "+this.char);this.index<this.expr.length&&(o=this.code,e.isIdentifierPart(o));)this.index++;return{type:e.IDENTIFIER,name:this.expr.slice(c,this.index)}}},{key:"gobbleArguments",value:function(o){for(var c=[],y=!1,d=0;this.index<this.expr.length;){this.gobbleSpaces();var n=this.code;if(n===o){y=!0,this.index++,o===e.CPAREN_CODE&&d&&d>=c.length&&this.throwError("Unexpected token "+String.fromCharCode(o));break}else if(n===e.COMMA_CODE){if(this.index++,d++,d!==c.length){if(o===e.CPAREN_CODE)this.throwError("Unexpected token ,");else if(o===e.CBRACK_CODE)for(var p=c.length;p<d;p++)c.push(null)}}else if(c.length!==d&&d!==0)this.throwError("Expected comma");else{var i=this.gobbleExpression();(!i||i.type===e.COMPOUND)&&this.throwError("Expected comma"),c.push(i)}}return y||this.throwError("Expected "+String.fromCharCode(o)),c}},{key:"gobbleGroup",value:function(){this.index++;var o=this.gobbleExpressions(e.CPAREN_CODE);if(this.code===e.CPAREN_CODE)return this.index++,o.length===1?o[0]:o.length?{type:e.SEQUENCE_EXP,expressions:o}:!1;this.throwError("Unclosed (")}},{key:"gobbleArray",value:function(){return this.index++,{type:e.ARRAY_EXP,elements:this.gobbleArguments(e.CBRACK_CODE)}}}],[{key:"version",get:function(){return"1.3.8"}},{key:"toString",value:function(){return"JavaScript Expression Parser (JSEP) v"+e.version}},{key:"addUnaryOp",value:function(o){return e.max_unop_len=Math.max(o.length,e.max_unop_len),e.unary_ops[o]=1,e}},{key:"addBinaryOp",value:function(o,c,y){return e.max_binop_len=Math.max(o.length,e.max_binop_len),e.binary_ops[o]=c,y?e.right_associative.add(o):e.right_associative.delete(o),e}},{key:"addIdentifierChar",value:function(o){return e.additional_identifier_chars.add(o),e}},{key:"addLiteral",value:function(o,c){return e.literals[o]=c,e}},{key:"removeUnaryOp",value:function(o){return delete e.unary_ops[o],o.length===e.max_unop_len&&(e.max_unop_len=e.getMaxKeyLen(e.unary_ops)),e}},{key:"removeAllUnaryOps",value:function(){return e.unary_ops={},e.max_unop_len=0,e}},{key:"removeIdentifierChar",value:function(o){return e.additional_identifier_chars.delete(o),e}},{key:"removeBinaryOp",value:function(o){return delete e.binary_ops[o],o.length===e.max_binop_len&&(e.max_binop_len=e.getMaxKeyLen(e.binary_ops)),e.right_associative.delete(o),e}},{key:"removeAllBinaryOps",value:function(){return e.binary_ops={},e.max_binop_len=0,e}},{key:"removeLiteral",value:function(o){return delete e.literals[o],e}},{key:"removeAllLiterals",value:function(){return e.literals={},e}},{key:"parse",value:function(o){return new e(o).parse()}},{key:"getMaxKeyLen",value:function(o){return Math.max.apply(Math,[0].concat(R0(Object.keys(o).map(function(c){return c.length}))))}},{key:"isDecimalDigit",value:function(o){return o>=48&&o<=57}},{key:"binaryPrecedence",value:function(o){return e.binary_ops[o]||0}},{key:"isIdentifierStart",value:function(o){return o>=65&&o<=90||o>=97&&o<=122||o>=128&&!e.binary_ops[String.fromCharCode(o)]||e.additional_identifier_chars.has(String.fromCharCode(o))}},{key:"isIdentifierPart",value:function(o){return e.isIdentifierStart(o)||e.isDecimalDigit(o)}}])}(),QO=new JO;Object.assign(As,{hooks:QO,plugins:new YO(As),COMPOUND:"Compound",SEQUENCE_EXP:"SequenceExpression",IDENTIFIER:"Identifier",MEMBER_EXP:"MemberExpression",LITERAL:"Literal",THIS_EXP:"ThisExpression",CALL_EXP:"CallExpression",UNARY_EXP:"UnaryExpression",BINARY_EXP:"BinaryExpression",ARRAY_EXP:"ArrayExpression",TAB_CODE:9,LF_CODE:10,CR_CODE:13,SPACE_CODE:32,PERIOD_CODE:46,COMMA_CODE:44,SQUOTE_CODE:39,DQUOTE_CODE:34,OPAREN_CODE:40,CPAREN_CODE:41,OBRACK_CODE:91,CBRACK_CODE:93,QUMARK_CODE:63,SEMCOL_CODE:59,COLON_CODE:58,unary_ops:{"-":1,"!":1,"~":1,"+":1},binary_ops:{"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10},right_associative:new Set,additional_identifier_chars:new Set(["$","_"]),literals:{true:!0,false:!1,null:null},this_str:"this"}),As.max_unop_len=As.getMaxKeyLen(As.unary_ops),As.max_binop_len=As.getMaxKeyLen(As.binary_ops);var El=function(t){return new As(t).parse()},ZO=Object.getOwnPropertyNames(As);ZO.forEach(function(e){El[e]===void 0&&e!=="prototype"&&(El[e]=As[e])}),El.Jsep=As;var VO="ConditionalExpression",eP={name:"ternary",init:function(t){t.hooks.add("after-expression",function(c){if(c.node&&this.code===t.QUMARK_CODE){this.index++;var y=c.node,d=this.gobbleExpression();if(d||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===t.COLON_CODE){this.index++;var n=this.gobbleExpression();if(n||this.throwError("Expected expression"),c.node={type:VO,test:y,consequent:d,alternate:n},y.operator&&t.binary_ops[y.operator]<=.9){for(var p=y;p.right.operator&&t.binary_ops[p.right.operator]<=.9;)p=p.right;c.node.test=p.right,p.right=c.node,c.node=y}}else this.throwError("Expected :")}})}};El.plugins.register(eP);var Ix=47,tP=92,nP={name:"regex",init:function(t){t.hooks.add("gobble-token",function(c){if(this.code===Ix){for(var y=++this.index,d=!1;this.index<this.expr.length;){if(this.code===Ix&&!d){for(var n=this.expr.slice(y,this.index),p="";++this.index<this.expr.length;){var i=this.code;if(i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57)p+=this.char;else break}var r=void 0;try{r=new RegExp(n,p)}catch(s){this.throwError(s.message)}return c.node={type:t.LITERAL,value:r,raw:this.expr.slice(y-1,this.index)},c.node=this.gobbleTokenProperty(c.node),c.node}this.code===t.OBRACK_CODE?d=!0:d&&this.code===t.CBRACK_CODE&&(d=!1),this.index+=this.code===tP?2:1}this.throwError("Unclosed Regex")}})}},$0=43,rP=45,wl={name:"assignment",assignmentOperators:new Set(["=","*=","**=","/=","%=","+=","-=","<<=",">>=",">>>=","&=","^=","|="]),updateOperators:[$0,rP],assignmentPrecedence:.9,init:function(t){var o=[t.IDENTIFIER,t.MEMBER_EXP];wl.assignmentOperators.forEach(function(y){return t.addBinaryOp(y,wl.assignmentPrecedence,!0)}),t.hooks.add("gobble-token",function(d){var n=this,p=this.code;wl.updateOperators.some(function(i){return i===p&&i===n.expr.charCodeAt(n.index+1)})&&(this.index+=2,d.node={type:"UpdateExpression",operator:p===$0?"++":"--",argument:this.gobbleTokenProperty(this.gobbleIdentifier()),prefix:!0},(!d.node.argument||!o.includes(d.node.argument.type))&&this.throwError("Unexpected ".concat(d.node.operator)))}),t.hooks.add("after-token",function(d){var n=this;if(d.node){var p=this.code;wl.updateOperators.some(function(i){return i===p&&i===n.expr.charCodeAt(n.index+1)})&&(o.includes(d.node.type)||this.throwError("Unexpected ".concat(d.node.operator)),this.index+=2,d.node={type:"UpdateExpression",operator:p===$0?"++":"--",argument:d.node,prefix:!1})}}),t.hooks.add("after-expression",function(d){d.node&&c(d.node)});function c(y){wl.assignmentOperators.has(y.operator)?(y.type="AssignmentExpression",c(y.left),c(y.right)):y.operator||Object.values(y).forEach(function(d){d&&Cs(d)==="object"&&c(d)})}}},Ri=Object.prototype.hasOwnProperty;function ta(e,t){return e=e.slice(),e.push(t),e}function U0(e,t){return t=t.slice(),t.unshift(e),t}var iP=function(e){function t(o){var c;return xl(this,t),c=LO(this,t,['JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)']),c.avoidNew=!0,c.value=o,c.name="NewError",c}return UO(t,e),_l(t)}(L0(Error));function sr(e,t,o,c,y){if(!(this instanceof sr))try{return new sr(e,t,o,c,y)}catch(i){if(!i.avoidNew)throw i;return i.value}typeof e=="string"&&(y=c,c=o,o=t,t=e,e=null);var d=e&&Cs(e)==="object";if(e=e||{},this.json=e.json||o,this.path=e.path||t,this.resultType=e.resultType||"value",this.flatten=e.flatten||!1,this.wrap=Ri.call(e,"wrap")?e.wrap:!0,this.sandbox=e.sandbox||{},this.eval=e.eval===void 0?"safe":e.eval,this.ignoreEvalErrors=typeof e.ignoreEvalErrors>"u"?!1:e.ignoreEvalErrors,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||c||null,this.otherTypeCallback=e.otherTypeCallback||y||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},e.autostart!==!1){var n={path:d?e.path:t};d?"json"in e&&(n.json=e.json):n.json=o;var p=this.evaluate(n);if(!p||Cs(p)!=="object")throw new iP(p);return p}}sr.prototype.evaluate=function(e,t,o,c){var y=this,d=this.parent,n=this.parentProperty,p=this.flatten,i=this.wrap;if(this.currResultType=this.resultType,this.currEval=this.eval,this.currSandbox=this.sandbox,o=o||this.callback,this.currOtherTypeCallback=c||this.otherTypeCallback,t=t||this.json,e=e||this.path,e&&Cs(e)==="object"&&!Array.isArray(e)){if(!e.path&&e.path!=="")throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!Ri.call(e,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');var r=e;t=r.json,p=Ri.call(e,"flatten")?e.flatten:p,this.currResultType=Ri.call(e,"resultType")?e.resultType:this.currResultType,this.currSandbox=Ri.call(e,"sandbox")?e.sandbox:this.currSandbox,i=Ri.call(e,"wrap")?e.wrap:i,this.currEval=Ri.call(e,"eval")?e.eval:this.currEval,o=Ri.call(e,"callback")?e.callback:o,this.currOtherTypeCallback=Ri.call(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback,d=Ri.call(e,"parent")?e.parent:d,n=Ri.call(e,"parentProperty")?e.parentProperty:n,e=e.path}if(d=d||null,n=n||null,Array.isArray(e)&&(e=sr.toPathString(e)),!(!e&&e!==""||!t)){var s=sr.toPathArray(e);s[0]==="$"&&s.length>1&&s.shift(),this._hasParentSelector=null;var u=this._trace(s,t,["$"],d,n,o).filter(function(f){return f&&!f.isParentSelector});return u.length?!i&&u.length===1&&!u[0].hasArrExpr?this._getPreferredOutput(u[0]):u.reduce(function(f,m){var v=y._getPreferredOutput(m);return p&&Array.isArray(v)?f=f.concat(v):f.push(v),f},[]):i?[]:void 0}},sr.prototype._getPreferredOutput=function(e){var t=this.currResultType;switch(t){case"all":{var o=Array.isArray(e.path)?e.path:sr.toPathArray(e.path);return e.pointer=sr.toPointer(o),e.path=typeof e.path=="string"?e.path:sr.toPathString(e.path),e}case"value":case"parent":case"parentProperty":return e[t];case"path":return sr.toPathString(e[t]);case"pointer":return sr.toPointer(e.path);default:throw new TypeError("Unknown result type")}},sr.prototype._handleCallback=function(e,t,o){if(t){var c=this._getPreferredOutput(e);e.path=typeof e.path=="string"?e.path:sr.toPathString(e.path),t(c,o,e)}},sr.prototype._trace=function(e,t,o,c,y,d,n,p){var i=this,r;if(!e.length)return r={path:o,value:t,parent:c,parentProperty:y,hasArrExpr:n},this._handleCallback(r,d,"value"),r;var s=e[0],u=e.slice(1),f=[];function m(O){Array.isArray(O)?O.forEach(function(B){f.push(B)}):f.push(O)}if((typeof s!="string"||p)&&t&&Ri.call(t,s))m(this._trace(u,t[s],ta(o,s),t,s,d,n));else if(s==="*")this._walk(t,function(O){m(i._trace(u,t[O],ta(o,O),t,O,d,!0,!0))});else if(s==="..")m(this._trace(u,t,o,c,y,d,n)),this._walk(t,function(O){Cs(t[O])==="object"&&m(i._trace(e.slice(),t[O],ta(o,O),t,O,d,!0))});else{if(s==="^")return this._hasParentSelector=!0,{path:o.slice(0,-1),expr:u,isParentSelector:!0};if(s==="~")return r={path:ta(o,s),value:y,parent:c,parentProperty:null},this._handleCallback(r,d,"property"),r;if(s==="$")m(this._trace(u,t,o,null,null,d,n));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(s))m(this._slice(s,u,t,o,c,y,d));else if(s.indexOf("?(")===0){if(this.currEval===!1)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");var v=s.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),h=/@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])?((?:[\0->@-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))(?!(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])\)\])['\]]/g.exec(v);h?this._walk(t,function(O){var B=[h[2]],F=h[1]?t[O][h[1]]:t[O],I=i._trace(B,F,o,c,y,d,!0);I.length>0&&m(i._trace(u,t[O],ta(o,O),t,O,d,!0))}):this._walk(t,function(O){i._eval(v,t[O],O,o,c,y)&&m(i._trace(u,t[O],ta(o,O),t,O,d,!0))})}else if(s[0]==="("){if(this.currEval===!1)throw new Error("Eval [(expr)] prevented in JSONPath expression.");m(this._trace(U0(this._eval(s,t,o[o.length-1],o.slice(0,-1),c,y),u),t,o,c,y,d,n))}else if(s[0]==="@"){var l=!1,g=s.slice(1,-2);switch(g){case"scalar":(!t||!["object","function"].includes(Cs(t)))&&(l=!0);break;case"boolean":case"string":case"undefined":case"function":Cs(t)===g&&(l=!0);break;case"integer":Number.isFinite(t)&&!(t%1)&&(l=!0);break;case"number":Number.isFinite(t)&&(l=!0);break;case"nonFinite":typeof t=="number"&&!Number.isFinite(t)&&(l=!0);break;case"object":t&&Cs(t)===g&&(l=!0);break;case"array":Array.isArray(t)&&(l=!0);break;case"other":l=this.currOtherTypeCallback(t,o,c,y);break;case"null":t===null&&(l=!0);break;default:throw new TypeError("Unknown value type "+g)}if(l)return r={path:o,value:t,parent:c,parentProperty:y},this._handleCallback(r,d,"value"),r}else if(s[0]==="`"&&t&&Ri.call(t,s.slice(1))){var _=s.slice(1);m(this._trace(u,t[_],ta(o,_),t,_,d,n,!0))}else if(s.includes(",")){var x=s.split(","),b=XO(x),E;try{for(b.s();!(E=b.n()).done;){var C=E.value;m(this._trace(U0(C,u),t,o,c,y,d,!0))}}catch(O){b.e(O)}finally{b.f()}}else!p&&t&&Ri.call(t,s)&&m(this._trace(u,t[s],ta(o,s),t,s,d,n,!0))}if(this._hasParentSelector)for(var A=0;A<f.length;A++){var k=f[A];if(k&&k.isParentSelector){var D=this._trace(k.expr,t,k.path,c,y,d,n);if(Array.isArray(D)){f[A]=D[0];for(var S=D.length,T=1;T<S;T++)A++,f.splice(A,0,D[T])}else f[A]=D}}return f},sr.prototype._walk=function(e,t){if(Array.isArray(e))for(var o=e.length,c=0;c<o;c++)t(c);else e&&Cs(e)==="object"&&Object.keys(e).forEach(function(y){t(y)})},sr.prototype._slice=function(e,t,o,c,y,d,n){if(Array.isArray(o)){var p=o.length,i=e.split(":"),r=i[2]&&Number.parseInt(i[2])||1,s=i[0]&&Number.parseInt(i[0])||0,u=i[1]&&Number.parseInt(i[1])||p;s=s<0?Math.max(0,s+p):Math.min(p,s),u=u<0?Math.max(0,u+p):Math.min(p,u);for(var f=[],m=s;m<u;m+=r){var v=this._trace(U0(m,t),o,c,y,d,n,!0);v.forEach(function(h){f.push(h)})}return f}},sr.prototype._eval=function(e,t,o,c,y,d){var n=this;this.currSandbox._$_parentProperty=d,this.currSandbox._$_parent=y,this.currSandbox._$_property=o,this.currSandbox._$_root=this.json,this.currSandbox._$_v=t;var p=e.includes("@path");p&&(this.currSandbox._$_path=sr.toPathString(c.concat([o])));var i=this.currEval+"Script:"+e;if(!sr.cache[i]){var r=e.replace(/@parentProperty/g,"_$_parentProperty").replace(/@parent/g,"_$_parent").replace(/@property/g,"_$_property").replace(/@root/g,"_$_root").replace(/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/g,"_$_v$1");if(p&&(r=r.replace(/@path/g,"_$_path")),this.currEval==="safe"||this.currEval===!0||this.currEval===void 0)sr.cache[i]=new this.safeVm.Script(r);else if(this.currEval==="native")sr.cache[i]=new this.vm.Script(r);else if(typeof this.currEval=="function"&&this.currEval.prototype&&Ri.call(this.currEval.prototype,"runInNewContext")){var s=this.currEval;sr.cache[i]=new s(r)}else if(typeof this.currEval=="function")sr.cache[i]={runInNewContext:function(f){return n.currEval(r,f)}};else throw new TypeError('Unknown "eval" property "'.concat(this.currEval,'"'))}try{return sr.cache[i].runInNewContext(this.currSandbox)}catch(u){if(this.ignoreEvalErrors)return!1;throw new Error("jsonPath: "+u.message+": "+e)}},sr.cache={},sr.toPathString=function(e){for(var t=e,o=t.length,c="$",y=1;y<o;y++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(t[y])||(c+=/^[\*0-9]+$/.test(t[y])?"["+t[y]+"]":"['"+t[y]+"']");return c},sr.toPointer=function(e){for(var t=e,o=t.length,c="",y=1;y<o;y++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(t[y])||(c+="/"+t[y].toString().replace(/~/g,"~0").replace(/\//g,"~1"));return c},sr.toPathArray=function(e){var t=sr.cache;if(t[e])return t[e].concat();var o=[],c=e.replace(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/g,";$&;").replace(/['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))['\]](?!(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])\])/g,function(d,n){return"[#"+(o.push(n)-1)+"]"}).replace(/\[["']((?:[\0-&\(-\\\^-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)["']\]/g,function(d,n){return"['"+n.replace(/\./g,"%@%").replace(/~/g,"%%@@%%")+"']"}).replace(/~/g,";~;").replace(/["']?\.["']?(?!(?:[\0-Z\\-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*\])|\[["']?/g,";").replace(/%@%/g,".").replace(/%%@@%%/g,"~").replace(/(?:;)?(\^+)(?:;)?/g,function(d,n){return";"+n.split("").join(";")+";"}).replace(/;;;|;;/g,";..;").replace(/;$|'?\]|'$/g,""),y=c.split(";").map(function(d){var n=d.match(/#([0-9]+)/);return!n||!n[1]?d:o[n[1]]});return t[e]=y,t[e].concat()};var sP=function(t,o,c){for(var y=t.length,d=0;d<y;d++){var n=t[d];c(n)&&o.push(t.splice(d--,1)[0])}};El.plugins.register(nP,wl);var vr={evalAst:function(t,o){switch(t.type){case"BinaryExpression":case"LogicalExpression":return vr.evalBinaryExpression(t,o);case"Compound":return vr.evalCompound(t,o);case"ConditionalExpression":return vr.evalConditionalExpression(t,o);case"Identifier":return vr.evalIdentifier(t,o);case"Literal":return vr.evalLiteral(t,o);case"MemberExpression":return vr.evalMemberExpression(t,o);case"UnaryExpression":return vr.evalUnaryExpression(t,o);case"ArrayExpression":return vr.evalArrayExpression(t,o);case"CallExpression":return vr.evalCallExpression(t,o);case"AssignmentExpression":return vr.evalAssignmentExpression(t,o);default:throw SyntaxError("Unexpected expression",t)}},evalBinaryExpression:function(t,o){var c={"||":function(d,n){return d||n()},"&&":function(d,n){return d&&n()},"|":function(d,n){return d|n()},"^":function(d,n){return d^n()},"&":function(d,n){return d&n()},"==":function(d,n){return d==n()},"!=":function(d,n){return d!=n()},"===":function(d,n){return d===n()},"!==":function(d,n){return d!==n()},"<":function(d,n){return d<n()},">":function(d,n){return d>n()},"<=":function(d,n){return d<=n()},">=":function(d,n){return d>=n()},"<<":function(d,n){return d<<n()},">>":function(d,n){return d>>n()},">>>":function(d,n){return d>>>n()},"+":function(d,n){return d+n()},"-":function(d,n){return d-n()},"*":function(d,n){return d*n()},"/":function(d,n){return d/n()},"%":function(d,n){return d%n()}}[t.operator](vr.evalAst(t.left,o),function(){return vr.evalAst(t.right,o)});return c},evalCompound:function(t,o){for(var c,y=0;y<t.body.length;y++){t.body[y].type==="Identifier"&&["var","let","const"].includes(t.body[y].name)&&t.body[y+1]&&t.body[y+1].type==="AssignmentExpression"&&(y+=1);var d=t.body[y];c=vr.evalAst(d,o)}return c},evalConditionalExpression:function(t,o){return vr.evalAst(t.test,o)?vr.evalAst(t.consequent,o):vr.evalAst(t.alternate,o)},evalIdentifier:function(t,o){if(t.name in o)return o[t.name];throw ReferenceError("".concat(t.name," is not defined"))},evalLiteral:function(t){return t.value},evalMemberExpression:function(t,o){var c=t.computed?vr.evalAst(t.property):t.property.name,y=vr.evalAst(t.object,o),d=y[c];return typeof d=="function"?d.bind(y):d},evalUnaryExpression:function(t,o){var c={"-":function(d){return-vr.evalAst(d,o)},"!":function(d){return!vr.evalAst(d,o)},"~":function(d){return~vr.evalAst(d,o)},"+":function(d){return+vr.evalAst(d,o)}}[t.operator](t.argument);return c},evalArrayExpression:function(t,o){return t.elements.map(function(c){return vr.evalAst(c,o)})},evalCallExpression:function(t,o){var c=t.arguments.map(function(d){return vr.evalAst(d,o)}),y=vr.evalAst(t.callee,o);return y.apply(void 0,R0(c))},evalAssignmentExpression:function(t,o){if(t.left.type!=="Identifier")throw SyntaxError("Invalid left-hand side in assignment");var c=t.left.name,y=vr.evalAst(t.right,o);return o[c]=y,o[c]}},oP=function(){function e(t){xl(this,e),this.code=t,this.ast=El(this.code)}return _l(e,[{key:"runInNewContext",value:function(o){var c=RO({},o);return vr.evalAst(this.ast,c)}}])}(),aP=function(){function e(t){xl(this,e),this.code=t}return _l(e,[{key:"runInNewContext",value:function(o){var c=this.code,y=Object.keys(o),d=[];sP(y,d,function(s){return typeof o[s]=="function"});var n=y.map(function(s){return o[s]}),p=d.reduce(function(s,u){var f=o[u].toString();return/function/.test(f)||(f="function "+f),"var "+u+"="+f+";"+s},"");c=p+c,!/(["'])use strict\1/.test(c)&&!y.includes("arguments")&&(c="var arguments = undefined;"+c),c=c.replace(/;[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*$/,"");var i=c.lastIndexOf(";"),r=i>-1?c.slice(0,i+1)+" return "+c.slice(i+1):" return "+c;return Ox(Function,y.concat([r])).apply(void 0,R0(n))}}])}();sr.prototype.vm={Script:aP},sr.prototype.safeVm={Script:oP};const Xu=(e,t)=>{if(!t||!e)return null;var o=sr({json:t,path:e});return o},Mx=e=>{var t=[];if(!e)return t;var o=Xu("$..widgetList[*]",e);return e.type==Xe.tabs?(t=e.tabs,t=[...o,...t]):e.type==Xe.grid&&(t=Xu("$..cols[*]",e),t=[...o,...t]),t=[...o],t==null?void 0:t.filter(c=>!!(c!=null&&c.type))},na=(e,t,o,c)=>{e==null||e.forEach(y=>{y&&(t==null||t.push(y),!(c!=null&&c(y))&&Lx(y,t,o,c))})},Lx=(e,t,o,c)=>{var y,d,n,p,i,r,s;if(e.type===Xe.tabs)(y=e.tabs)==null||y.forEach(u=>{t==null||t.push(u),na(u.widgetList,t,o,c)});else if(e.type===Xe.table)(d=e.rows)==null||d.forEach(u=>{var f;t==null||t.push(u),(f=u==null?void 0:u.cols)==null||f.forEach(m=>{t==null||t.push(m),na(m.widgetList,t,o,c)})});else if(e.type===Xe.grid)(n=e.cols)==null||n.forEach(u=>{t==null||t.push(u),na(u.widgetList,t,o,c)});else if(e.type===Xe.cont){const u=f=>{var m;na(f.widgetList,t,o,c),(m=f==null?void 0:f.children)==null||m.map(v=>{u(v)})};(p=e.cols)==null||p.forEach(f=>{u(f)})}else if(((i=e.widgetList)==null?void 0:i.length)>0&&na(e.widgetList,t,o,c),!o){const u=(s=(r=Zn(e.options))==null?void 0:r.filter(f=>{var m;return((m=e.options[f])==null?void 0:m.type)===se.slot}))==null?void 0:s.map(f=>e.options[f]);u==null||u.forEach(f=>{na(f==null?void 0:f.widgetList,t,o,c)})}},Sl=(e,t,o)=>{let c=[];return Sf(e,d=>{c.push(d)},t,o),c},Sf=(e,t,o,c,y)=>{if(!e)return;const d=[];na(e,d,c,y),d==null||d.forEach(n=>{o?o(n)&&t(n):t(n)})},lP=(e,t)=>{if(!e)return;const o=Sl(e,c=>!!(c!=null&&c.formItemFlag),!0);return o==null||o.forEach(c=>t==null?void 0:t(c)),o},uP=(e,t)=>{if(!t||(e==null?void 0:e.length)<=0)return;const o=Sl(e,y=>(y==null?void 0:y.id)===t);return o==null?void 0:o[0]},Rx=(e,t)=>Sl(e,o=>(o==null?void 0:o.type)===t),cP=(e,t)=>{var y;if(!e)return[];let o=[],c=d=>{d&&(o.find(n=>(n==null?void 0:n.name)===lt.getName(d))||o.push({type:d.type,name:lt.getName(d),field:d}))};return t?(y=Xu("$..*[?(@property === 'formItemFlag' && @ === true)]^",e))==null||y.forEach(d=>{c(d)}):lP(e,c),o},To=(e,t,o,c=!1,y=!1,d)=>{var s,u,f,m,v,h,l,g,_;if(!e)return;let n={id:e.id,type:e.type,label:lt.getOptions(e,"label")||lt.getOptions(e,"name")||e.type,widget:c?e:null,parent:t,children:[],selectable:!0,draggable:y,droppable:!1,matched:!d||(d==null?void 0:d(e))};if(Hr(e,Ft.widgetList)&&Nn(n,{droppable:!0,addNode:(x,b=-1)=>Cl(e,x,b),removeNode:(x,b=-1)=>Al(e,b),moveNode:(x,b=-1,E=-1)=>kl(e,b,E)}),o==null||o.push(n),e.category===void 0)return;if(n.children=[],e.type===Xe.grid)(s=e==null?void 0:e.cols)==null||s.map(x=>{var E,C;let b={id:x.id,type:x.type,draggable:!0,droppable:!0,label:lt.getOptions(x,"name")||x.id||x.type,children:[],parent:n,widget:c?x:null,addNode:(A,k=-1)=>Cl(x,A,k),removeNode:(A,k=-1)=>Al(x,k),moveNode:(A,k=-1,D=-1)=>kl(x,k,D)};(E=n.children)==null||E.push(b),(C=x.widgetList)==null||C.map(A=>{To(A,b,b.children,c,!0,d)})});else if(e.type===Xe.table)(u=e==null?void 0:e.rows)==null||u.map(x=>{var E,C;let b={id:x.id,type:Xe.tableRow,label:Xe.tableRow,selectable:!1,children:[],parent:n,widget:c?x:null};(E=x==null?void 0:x.cols)==null||E.map(A=>{var S;if(A.merged)return;let k=b.children,D={id:A.id,type:Xe.tableCol,label:Xe.tableCol,draggable:!1,droppable:!0,children:[],parent:b,widget:c?A:null,addNode:(T,O=-1)=>Cl(A,T,O),removeNode:(T,O=-1)=>Al(A,O),moveNode:(T,O=-1,B=-1)=>kl(A,O,B)};(S=A.widgetList)==null||S.map(T=>{To(T,D,D.children,c,!0,d)}),k==null||k.push(D)}),(C=n.children)==null||C.push(b)});else if(e.type===Xe.tabs)(f=e==null?void 0:e.tabs)==null||f.map(x=>{var E,C;let b={id:x.id,type:x.type,label:lt.getOptions(x,"label")||x.type,selectable:!0,draggable:!1,droppable:!0,children:[],parent:n,widget:c?x:null,addNode:(A,k=-1)=>Cl(x,A,k),removeNode:(A,k=-1)=>Al(x,k),moveNode:(A,k=-1,D=-1)=>kl(x,k,D)};(E=n.children)==null||E.push(b),(C=x==null?void 0:x.widgetList)==null||C.map(A=>{To(A,b,b.children,c,!0,d)})});else if(e.type===Xe.cont){const x=b=>{var E,C;(E=b.widgetList)==null||E.map(A=>{To(A,n,n.children,c,!1,d)}),(C=b==null?void 0:b.children)==null||C.map(A=>x(A))};(m=e==null?void 0:e.cols)==null||m.map(b=>{x(b)})}else if([Xe.eltable,Xe.collapse,Xe.carousel].includes(e.type)){var p=Xu("$..widgetList[*]",(v=e.options)==null?void 0:v.optionItems.value);(p==null?void 0:p.length)>0&&(p==null||p.map(x=>{To(x,n,n.children,c,!1,d)}))}else e.category===yo.container&&((h=e==null?void 0:e.widgetList)==null?void 0:h.length)>0&&((l=e==null?void 0:e.widgetList)==null||l.map(x=>{To(x,n,n.children,c,!1,d)}));const i=lt.getOptions(e,Ft.widgetList);i&&(i==null||i.map(x=>{To(x,n,n.children,c,!1,d)}));const r=(_=(g=Zn(e.options))==null?void 0:g.filter(x=>{var b;return((b=e.options[x])==null?void 0:b.type)===se.slot}))==null?void 0:_.map(x=>e.options[x]);r==null||r.forEach(x=>{var b,E,C;if(((b=x==null?void 0:x.widgetList)==null?void 0:b.length)>0){let A={id:x.slotName+"_"+(e==null?void 0:e.id),type:x.type,label:x.slotName||x.type,children:[],parent:n,widget:c?x:null,selectable:!1,draggable:!1,droppable:!0,addNode:(k,D=-1)=>Cl(x,k,D),removeNode:(k,D=-1)=>Al(x,D),moveNode:(k,D=-1,S=-1)=>kl(x,D,S)};(E=n.children)==null||E.push(A),(C=x==null?void 0:x.widgetList)==null||C.map(k=>{To(k,A,A.children,c,!0,d)})}})},Cl=(e,t,o=-1)=>{var c,y;return o<0||Cn(o)?(c=e==null?void 0:e.widgetList)==null||c.push(t):(y=e==null?void 0:e.widgetList)==null||y.splice(o,0,t),!0},Al=(e,t=-1)=>{var o;return Cn(t)||t<0?!1:((o=e==null?void 0:e.widgetList)==null||o.splice(t,1),!0)},kl=(e,t=-1,o=-1)=>{const c=e==null?void 0:e.widgetList,y=y6(c||[],t,o);return(y==null?void 0:y.length)!=(c==null?void 0:c.length)?!1:(e.widgetList.splice(0,c==null?void 0:c.length),y==null||y.forEach(d=>{e==null||e.widgetList.push(d)}),!0)},jx=(e,t=!1,o)=>{const c=[];let y={label:Xe.page,id:Xe.page,type:Xe.page,draggable:!1,droppable:!0,addNode(d,n){return Cl({widgetList:e},d,n)},removeNode(d,n){return Al({widgetList:e},n)},moveNode:(d,n=-1,p=-1)=>kl({widgetList:e},n,p)};return e==null||e.forEach(d=>{To(d,y,c,t,!0,o)}),Nn(y,{children:c}),[y]},$x=(e,t,o)=>{!e||e.length<=0||e.forEach(c=>{c.id===t?o==null||o(c):$x(c==null?void 0:c.children,t,o)})},Cf=(e,t)=>{let o=null;return $x(e,t,c=>{o=c}),o},z0=(e,t)=>{const o=Cf(e,t);let c=[];const y=d=>{d&&(c.push(d),d!=null&&d.parent&&y(d==null?void 0:d.parent))};return y(o),c},Ra=(e,t,o,c)=>{const y=En(e);return Ss(y,t,o),Sf([y],d=>{Ss(d,t,o)},void 0,void 0,c),y},Tl=(e,t,o,c=!1,y)=>{if(!t||(t==null?void 0:t.length)<=0||!o||!e)return;let d=null;for(var n=0;n<(t==null?void 0:t.length);n++){const p=t==null?void 0:t[n];if(p.id&&(d=lt.getOptions(p.widget,o,c,!(y!=null&&y.designState)),d))break}return d},pP=(e,t,o,c)=>{var p;const y=Xu("$..widgetList[?(@.id==='"+e+"')]^",En(o)),d=(p=y==null?void 0:y[0])==null?void 0:p.find(i=>{var r;return((r=i==null?void 0:i._source)==null?void 0:r.name)===t}),n=d==null?void 0:d.id;return c==null?void 0:c(n)};function Ux(){const e=B=>lt.getOptions(B,"rowspan")||1,t=B=>lt.getOptions(B,"colspan")||1,o=(B,F)=>{lt.setOptions(B,"rowspan",F)},c=(B,F)=>{lt.setOptions(B,"colspan",F)},y=(B,F,I)=>{let L=En(B.rows[F]);return k(L),B.rows.splice(I,0,L),!0},d=(B,F)=>(B.rows.forEach(I=>{let L=D();I.cols.splice(F,0,L)}),!0),n=B=>{let F=B.rows.length;return y(B,F-1,F),!0},p=B=>{let F=B.rows[0].cols.length;return d(B,F),!0},i=(B,F,I,L,q)=>{let R=q?F:F+1;if(!q){let H=R,M=!1;for(;H<B.rows.length;)if(B.rows[H].cols[L].merged)H++;else{R=H,M=!0;break}M&&(R=B.rows.length)}y(B,I,R);let z=0;for(;R<B.rows.length-1&&z<B.rows[0].cols.length;){const H=B.rows[R+1].cols[z];if(H.merged){let $=B.rows,G={},J=0;for(let V=R;V>=0;V--)if(!$[V].cols[z].merged&&e($[V].cols[z])>1){J=V,G=$[V].cols[z];break}if(G.options){let V=e(G)+1;u(B.rows,J,z,t(G),V),z+=t(G)}else z+=1}else z+=t(H)}return!0},r=(B,F,I,L)=>{let q=L?F:F+1;if(!L){let z=q,H=!1;for(;z<B.rows[I].cols.length;){if(B.rows[I].cols[z].merged)z++;else{q=z,H=!0;break}H||(q=B.rows[I].cols.length)}}d(B,q);let R=0;for(;q<B.rows[0].cols.length-1&&R<B.rows.length;){const z=B.rows[R].cols[q+1];if(z.merged){let M=B.rows[R].cols,$={},G=null;for(let J=q;J>=0;J--)if(!M[J].merged&&t(M[J])>1){G=J,$=M[J];break}if($.options){let J=t($)+1;s(B.rows,R,G,J,e($)),R+=e($)}else R+=1}else R+=e(z)}return!0},s=(B,F,I,L,q)=>{for(let R=F;R<F+q;R++)for(let z=I;z<I+L;z++){if(R===F&&z===I){c(B[R].cols[z],L);continue}B[R].cols[z].merged=!0,c(B[R].cols[z],L),B[R].cols[z].widgetList=[]}},u=(B,F,I,L,q)=>{for(let R=F;R<F+q;R++)for(let z=I;z<I+L;z++){if(R===F&&z===I){o(B[R].cols[z],q);continue}B[R].cols[z].merged=!0,o(B[R].cols[z],q),B[R].cols[z].widgetList=[]}},f=(B,F,I,L,q)=>{for(let R=F;R<F+q;R++)for(let z=I;z<I+L;z++)B[R].cols[z].merged=!1,o(B[R].cols[z],1),c(B[R].cols[z],1)},m=(B,F,I,L,q)=>{for(let R=F;R<F+q;R++)for(let z=I;z<I+L;z++)B[R].cols[z].merged=!1,o(B[R].cols[z],1),c(B[R].cols[z],1)},v=(B,F,I,L)=>{let q=lt.getOptions(B[I].cols[0],"rowspan"),R=!1;for(let H=1;H<B[I].cols.length;H++)if(e(B[I].cols[H])!==q){R=!0;break}if(R)return ur.info(X.i18nt("designer.hint.rowspanNotConsistentForMergeEntireRow")),!1;let z=F.filter(H=>!H.merged&&!!H.widgetList&&H.widgetList.length>0);return z&&z.length>0&&z[0].id!==F[0].id&&(!F[0].widgetList||F[0].widgetList.length<=0)&&(F[0].widgetList=En(z[0].widgetList)),s(B,I,0,F.length,e(F[L])),!0},h=(B,F,I,L,q)=>{let R=L?F:F+e(q),z=L?F-1:F;if(L){let M=z;for(;M>=0;)if(B[M].cols[I].merged)M--;else{z=M;break}}B[R].cols[I].widgetList&&B[R].cols[I].widgetList.length>0&&(!B[z].cols[I].widgetList||B[z].cols[I].widgetList.length===0)&&(B[z].cols[I].widgetList=En(B[R].cols[I].widgetList));let H=e(B[R].cols[I])*1+e(B[z].cols[I])*1;return u(B,z,I,t(q),H),!0},l=(B,F,I,L)=>{let q=lt.getOptions(B[0].cols[L],"colspan"),R=!1;for(let M=1;M<B.length;M++)if(t(B[M].cols[L])!==q){R=!0;break}if(R)return ur.info(X.i18nt("designer.hint.colspanNotConsistentForMergeEntireColumn")),!1;let z=[];B.forEach(M=>{let $=M.cols[L];!$.merged&&$.widgetList&&$.widgetList.length>0&&z.push($)});let H=B[0].cols[L];return z&&z.length>0&&z[0].id!==H.id&&(!H.widgetList||H.widgetList.length<=0)&&(H.widgetList=En(z[0].widgetList)),u(B,0,L,t(H),B.length),!0},g=(B,F,I,L,q,R)=>{let z=q?L:L+(lt.getOptions(F[L],"colspan")||1),H=q?L-1:L;if(q){let $=H;for(;$>=0;)if(B[I].cols[$].merged)$--;else{H=$;break}}F[z].widgetList&&F[z].widgetList.length>0&&(!F[H].widgetList||F[H].widgetList.length===0)&&(F[H].widgetList=En(F[z].widgetList));let M=t(F[z])*1+t(F[H])*1;return s(B,I,H,M,e(R)),!0},_=(B,F,I,L,q)=>(f(B,F,I,L,q),!0),x=(B,F,I,L,q)=>(m(B,F,I,L,q),!0),b=(B,F)=>{let I=!0;if(B.forEach(R=>{t(R.cols[0])!==B[0].cols.length&&(I=!1)}),I)return ur.info(X.i18nt("designer.hint.lastColCannotBeDeleted")),!1;let L=t(B[0].cols[F]),q=!1;for(let R=1;R<B.length;R++)if(t(B[R].cols[F])!==L){q=!0;break}return q?(ur.info(X.i18nt("designer.hint.colspanNotConsistentForDeleteEntireColumn")),!1):(B.forEach(R=>{R.cols.splice(F,L)}),!0)},E=(B,F)=>{let I=!0;if(B[0].cols.forEach(R=>{e(R)!==B.length&&(I=!1)}),I)return ur.info(X.i18nt("designer.hint.lastRowCannotBeDeleted")),!1;let L=e(B[F].cols[0]),q=!1;for(let R=1;R<B[F].cols.length;R++)if(e(B[F].cols[R])!==L){q=!0;break}return q?(ur.info(X.i18nt("designer.hint.rowspanNotConsistentForDeleteEntireRow")),!1):(B.splice(F,L),!0)},C=(B,F)=>{var z;let I=e(B[F].cols[0]),L=!1;for(let H=1;H<B[F].cols.length;H++)if(e(B[F].cols[H])!==I){L=!0;break}if(L)return ur.info(X.i18nt("designer.hint.rowspanNotConsistentForDeleteEntireRow")),!1;let q=En(B[F]);var R=(z=q==null?void 0:q.cols)==null?void 0:z.map(H=>Ra(H,{recordSource:!1}));return q.cols=R,B.splice(F+1,0,q),!0},A=(B,F)=>{let I=t(B[0].cols[F]),L=!1;for(let q=1;q<B.length;q++)if(t(B[q].cols[F])!==I){L=!0;break}return L?(ur.info(X.i18nt("designer.hint.colspanNotConsistentForDeleteEntireColumn")),!1):(B.forEach(q=>{let R=En(q.cols[F]);R=Ra(R,{recordSource:!1}),q.cols.splice(F+1,0,R)}),!0)},k=B=>{let F=B||{cols:[]};return F=Ss({...F,type:Xe.tableRow,id:""}),F.merged=!1,B?F.cols.forEach(I=>{D(I)}):F.cols.push(D()),F},D=B=>{let F=B||En(ea(Xe.tableCol));return Ss(F),F.merged=!1,c(F,1),o(F,1),F.widgetList.length=0,F},S=B=>{let F=B||En(ea(Xe.table));return Ss(F),F};return{appendTableRow:n,appendTableCol:p,insertTableRow:i,insertTableCol:r,mergeTableWholeRow:v,mergeTableRow:h,mergeTableCol:g,mergeTableWholeCol:l,undoMergeTableCol:_,undoMergeTableRow:x,deleteTableWholeCol:b,deleteTableWholeRow:E,copyTableWholeRow:C,copyTableWholeCol:A,initTableRow:k,initTable:S,initCloneTable:B=>{let F=S();return Dt(B).rows.forEach(I=>{let L=Dt(En(I));Ss(L),L.cols.forEach(q=>{Ss(q),q.widgetList=[]}),Dt(F).rows.push(L)}),F},isTable:B=>(B==null?void 0:B.type)===Xe.table}}function zx(){const e=()=>{let r=Dt(En(ea(Xe.tabs)));return r=Ss(r),r},t=(r,s)=>{let u=Dt(En(ea(Xe.tabPane)));var f=Ss(u);return r&&lt.setOptions(f,Ft.label,r),s!==void 0&&lt.setOptions(f,Ft.isdefault,s),f},o=r=>{var u;let s=e();return(u=Dt(r).tabs)==null||u.forEach(f=>{var v;let m=c(f);(v=Dt(s).tabs)==null||v.push(m)}),s},c=r=>{var s=En(r);return Ss(s),lt.setOptions(s,Ft.isdefault,!1),s.widgetList=[],s};return{initTab:e,initCloneTab:o,initTabPane:t,initCloneTabPane:c,addTabPaneOfTabs:(r,s)=>{let u=r==null?void 0:r.tabs;return u||(u=[]),s=s||t(),s&&u.push(s),!0},deleteTabPaneOfTabs:(r,s)=>{var u;if(((u=r.tabs)==null?void 0:u.length)===1){ur.info(X.i18nt("designer.hint.lastPaneCannotBeDeleted"));return}return r.tabs.splice(s,1),!0},findTabPaneOfTabs:(r,s)=>{var u;return(u=r.tabs)==null?void 0:u.findIndex(f=>lt.getName(f)===s)},getActiveTab:r=>{var u,f;let s=(u=r==null?void 0:r.tabs)==null?void 0:u[0];return(f=r==null?void 0:r.tabs)==null||f.forEach(m=>{lt.getOptions(m,Ft.isdefault)&&(s=m)}),s},isTabs:r=>(r==null?void 0:r.type)===Xe.tabs}}function fP(){const e=()=>{let p=Dt(En(ea(Xe.grid)));return p=Ss(p),p},t=()=>{let p=Dt(En(ea(Xe.gridCol)));return p=Ss(p),p},o=p=>{let i=En(p);return Ra(i)};return{initGrid:e,initCloneGrid:p=>{var r;let i=e();return(r=Dt(p).cols)==null||r.forEach(s=>{let u=o(s);Dt(i).cols.push(u)}),i},initGridCol:t,initCloneGridCol:o,deleteColOfGrid:(p,i)=>(p&&p.cols&&p.cols.splice(i,1),!0),addNewColOfGrid:p=>{const i=p.cols;let r=t();if(i&&i.length>0){let s=0;i.forEach(u=>{s+=lt.getOptions(u,"span")||0}),s>=24||lt.setOptions(r,"span",24-s>12?12:24-s),p.cols.push(r)}else p.cols=[r];return!0},isGrid:p=>(p==null?void 0:p.type)===Xe.grid}}function dP(){return{initCloneContCell:y=>{let d=En(y);return Ra(d)},initContCell:(y=xo.main,d)=>{let n=new I0;return Nn(n,d),n.partName=new re(se.placer,y),n},initCont:()=>{let y=En(ea(Xe.cont));return y.id=y.type+Ti(),lt.setName(y,y.id),y},isCont:y=>(y==null?void 0:y.type)===Xe.cont}}class hP{constructor(){N(this,"size",bi.default);N(this,"layoutType",Ky.PC);N(this,"jsonVersion",zc.pageJsonVersion);N(this,"customClass",new re(se.placer,[]));N(this,"componentWrapperClass",new re(se.placer,[]));N(this,"pageCreated",new re(se.event,void 0,new Ze));N(this,"pageMounted",new re(se.event,void 0,new Ze));N(this,"cssCode",new re(se.placer,void 0,new Ze));N(this,"functions",new re(se.placer,void 0,new Ze));N(this,"willFetch",new re(se.hook,void 0,new Ze));N(this,"fitFetch",new re(se.hook,void 0,new Ze));N(this,"errorFetch",new re(se.hook,void 0,new Ze));N(this,"didFetch",new re(se.hook,void 0,new Ze));N(this,"schema",new re(se.dataObject,[{protocal:Sa.URI,name:lr.urlParams,description:X.i18nt("designer.hint.varibaleURL"),isReadonly:!0},{protocal:Sa.CONFIG,name:lr.compParams,description:X.i18nt("designer.hint.varibaleConfig"),isReadonly:!0}]))}}class ipe extends Hu{constructor(){super(...arguments);N(this,"protocal",Sa.VALUE);N(this,"name","");N(this,"description","");N(this,"isReadonly",!1)}}const mP=e=>{if(!e)return null;switch(e){case Xe.anchor:return ox.getKeys();case Xe.breadcrumb:return cx.getKeys();case Xe.radio:return Zb.getKeys();case Xe.select:return Li.getKeys();case Xe.checkbox:return Vb.getKeys();case Xe.image:return Li.getKeys();case Xe.steps:return fx.getKeys();case Xe.carousel:return ax.getKeys();case Xe.collapse:return lx.getKeys();case Xe.descriptions:return ux.getKeys();case Xe.dropdown:return sx.getKeys();case Xe.cascader:return O0.getKeys();case Xe.tree:case Xe.treeSelect:return Gb.getKeys();case Xe.menu:return px.getKeys();case Xe.tabs:return N0.getKeys();case Xe.grid:return hx.getKeys();case Xe.cont:return I0.getKeys();case Xe.eltable:return dx.getKeys();case Xe.model:return bx.getKeys();case Xe.splitter:return mx.getKeys();case Xe.segmented:return gx.getKeys();case Xe.tour:return yx.getKeys();case Xe.mention:return Li.getKeys();case Xe.timeline:return vx.getKeys();default:return null}},gP=e=>{if(!e)return null;var t=null;switch(e){case Xe.anchor:t=new ox,t.title="title";break;case Xe.breadcrumb:t=new cx;break;case Xe.radio:t=new Zb;break;case Xe.select:t=new Li;break;case Xe.checkbox:t=new Vb;break;case Xe.image:t=new Li;break;case Xe.steps:t=new fx;break;case Xe.carousel:t=new ax;break;case Xe.collapse:t=new lx;break;case Xe.descriptions:t=new ux;break;case Xe.dropdown:t=new sx;break;case Xe.tree:case Xe.treeSelect:t=new Gb;break;case Xe.cascader:t=new O0;break;case Xe.menu:t=new px;break;case Xe.cont:t=new I0;break;case Xe.tabs:t=new N0;break;case Xe.eltable:t=new dx;break;case Xe.model:t=new bx;break;case Xe.splitter:t=new mx;break;case Xe.segmented:t=new gx;break;case Xe.tour:t=new yx;break;case Xe.mention:t=new Li;break;case Xe.timeline:t=new vx;break;default:t=null}return t},Hx=e=>{if(!e)return null;var t=mP(e);return t?yP(t,1,e):null},yP=(e,t,o)=>{var c={};if(!e||(e==null?void 0:e.length)<=0)return c;if(o){var y=gP(o);if(y)c=y;else return c}else e==null||e.forEach(d=>{c[d]||(c[d]=null)});return e!=null&&e.includes(Ft.value)&&(c[Ft.value]=String(t)),e!=null&&e.includes(Ft.label)&&(c[Ft.label]=Ft.option+" "+t),e!=null&&e.includes(Ft.children)&&(c[Ft.children]=[]),e!=null&&e.includes(Ft.name)&&(c[Ft.name]=Ft.option+t),c};function H0(e,t){return{widgetTree:a.computed(()=>a.reactive(jx(e,t)))}}function q0(e,t){const o=a.computed(()=>{var p;const n=z0(e,t==null?void 0:t.id);return(n==null?void 0:n.length)<=0&&(t!=null&&t._source)?z0(e,(p=t==null?void 0:t._source)==null?void 0:p.id):n}),c=a.computed(()=>{var n;return(n=o.value)==null?void 0:n.map(p=>({id:p==null?void 0:p.id,selectable:p.selectable,label:lt.getWidgetTypeName(Dt(p.type))})).filter(p=>p.id!==(t==null?void 0:t.id))}),{parentForm:y,parentFormId:d}=qx(o.value);return{widgetTree:e,parentForm:y,parentFormId:d,parentTree:c,pathNodes:o}}const qx=e=>{const t=a.computed(()=>{var c;return(c=e==null?void 0:e.find(y=>y.type===Xe.form))==null?void 0:c.widget}),o=a.computed(()=>{var c;return(c=t==null?void 0:t.value)==null?void 0:c.id});return{parentForm:t,parentFormId:o}};function vP(e,t){const{widget:o}=e,{parentFormId:c}=qx(t),y=a.computed(()=>{var u,f,m;return Dt(Tl((u=e.designer)==null?void 0:u.widgetList,t,Ft.size,!1,e)||((m=(f=e==null?void 0:e.designer)==null?void 0:f.pageConfig)==null?void 0:m.size))}),d=a.computed(()=>{var u;return Dt(Tl((u=e.designer)==null?void 0:u.widgetList,t,Ft.displayLayout,!1,e))}),n=a.computed(()=>{var u;return Dt(Tl((u=e.designer)==null?void 0:u.widgetList,t,Ft.labelAlign,!1,e))}),p=a.computed(()=>{var u;return Dt(Tl((u=e.designer)==null?void 0:u.widgetList,t,Ft.labelWidth,!1,e))}),i=a.computed(()=>{var u;return Dt(Tl((u=e.designer)==null?void 0:u.widgetList,t,Ft.labelHidden,!1,e))}),r=a.computed(()=>{var u;return Dt(Tl((u=e.designer)==null?void 0:u.widgetList,t,Ft.labelSuffix,!1,e))}),s=a.computed(()=>(o==null?void 0:o.formItemFlag)&&!!c.value);return{displayLayout:d,size:y,labelWidth:p,labelAlign:n,labelSuffix:r,labelHidden:i,formItemFlag:s}}function Af(e){const t=Yb(e),{initHistoryData:o,clearHistoryData:c,emitHistoryChange:y,saveCurrentHistoryStep:d,saveFormContentToStorage:n}=t,{initGridCol:p,isGrid:i}=fP(),{initContCell:r,isCont:s}=dP(),{initTabPane:u,getActiveTab:f,isTabs:m}=zx(),{initTableRow:v,isTable:h}=Ux(),l=new hP,g=(W=!0)=>{e.widgetList=[],e.pageConfig=En(l),W||o()},_=W=>{var ce,Se;let Q=e.widgetList.length===0;(Se=e.widgetList)==null||Se.splice(0,(ce=e.widgetList)==null?void 0:ce.length),e.pageConfig=l,z(),c(),W||(Q?d("clearDesigner"):y("clearDesigner"))},x=W=>{e.pageWidget=W},b=W=>uP(e.widgetList,W),E=(W,Q)=>{W&&y(Q)},C=()=>({widgetList:[],pageConfig:cu(l)}),A=()=>({widgetList:cu(e.widgetList),pageConfig:cu(e.pageConfig)}),k=W=>{let Q=!1;return _(),W&&W.widgetList&&(e.widgetList=W.widgetList,Q=!0),W&&W.pageConfig&&(Nn(e.pageConfig,W.pageConfig),Q=!0),Q&&I(zc.pageJsonImported,[]),Q},D=W=>{e&&(e.cssClassList=W)},S=()=>e==null?void 0:e.cssClassList,T=W=>{re.getValue(e.pageConfig.cssCode)===""&&W&&re.setValue(e.pageConfig,"cssCode",W)},O=(W=!1,Q)=>jx(e.widgetList,W,Q),B=()=>{var W=O(!1,he=>!!(he!=null&&he.formItemFlag));const Q=(he,Fe)=>{[Xe.page,Xe.form,se.slot,Xe.grid,Xe.gridCol,Xe.table,Xe.tableRow,Xe.tableCol,Xe.card,Xe.wrapper,Xe.cont,Xe.contCell].includes(Fe==null?void 0:Fe.type)||Fe!=null&&Fe.label&&(he==null||he.push((Fe==null?void 0:Fe.label)||"")),Fe!=null&&Fe.parent&&Q(he,Fe.parent)};let ce=[];const Se=he=>{he==null||he.forEach(Fe=>{if(Fe.matched){const Me=[];Q(Me,Fe);const Ve=Object.assign({},Fe);Ve.label=`${Me.reverse().join(".")}`,delete Ve.children,delete Ve.parent,ce.push(Ve)}Se(Fe.children)})};return Se(W),ce},F=(W,Q)=>{var Ve,et,st,ft,Rt,St,gt,xt,Ut,Et,Dn,it,ot,te,Ae,ke,Be;const ce=b(W==null?void 0:W.id);if(!ce)return;const Se=O(),he=Cf(Se,W.id),Fe=Cf(Se,Q.id);if(((Ve=he==null?void 0:he.parent)==null?void 0:Ve.id)===((et=Fe==null?void 0:Fe.parent)==null?void 0:et.id)){const ze=(ft=(st=he==null?void 0:he.parent)==null?void 0:st.children)==null?void 0:ft.findIndex(vt=>(vt==null?void 0:vt.id)===(he==null?void 0:he.id)),ut=(St=(Rt=he==null?void 0:he.parent)==null?void 0:Rt.children)==null?void 0:St.findIndex(vt=>(vt==null?void 0:vt.id)===(Fe==null?void 0:Fe.id));var Me=(xt=(gt=he==null?void 0:he.parent)==null?void 0:gt.moveNode)==null?void 0:xt.call(gt,he,ze,ut);Me&&y(`moveNode ${W==null?void 0:W.id}`)}else{const ze=(Et=(Ut=Fe==null?void 0:Fe.parent)==null?void 0:Ut.children)==null?void 0:Et.findIndex(vt=>(vt==null?void 0:vt.id)===(Fe==null?void 0:Fe.id));var Me=!1;if(Me=(Dn=Fe==null?void 0:Fe.addNode)==null?void 0:Dn.call(Fe,ce,ze),Me||(Me=(ot=(it=Fe==null?void 0:Fe.parent)==null?void 0:it.addNode)==null?void 0:ot.call(it,ce,ze)),Me){const vt=(Ae=(te=he==null?void 0:he.parent)==null?void 0:te.children)==null?void 0:Ae.findIndex(Tt=>(Tt==null?void 0:Tt.id)===(he==null?void 0:he.id));(Be=(ke=he==null?void 0:he.parent)==null?void 0:ke.removeNode)==null||Be.call(ke,he,vt),y(`moveNode ${W==null?void 0:W.id}`)}}},I=(W,Q)=>{Jb.$emit(W,Q)},L=(W,Q)=>{Jb.$on(W,ce=>Q(ce))},q=(W,Q,ce)=>{W&&(ce&&Hr(W.options,"label")?lt.setOptions(W,"label",ce):ce&&Hr(W.options,"content")&&lt.setOptions(W,"content",ce))},R=W=>{if(!W){z();return}e.selectedWidget=W},z=()=>{e.selectedWidget=void 0},H=(W,Q,ce)=>{const Se=W==null?void 0:W.newIndex,he=Q==null?void 0:Q[Se];he&&R(he),y(`drag add ${he==null?void 0:he.id}`),ce==null||ce(Q)},M=(W,Q)=>{},$=(W,Q,ce)=>{y("drag update"),ce==null||ce(Q)},G=(W,Q,ce)=>{y("drag remove"),ce==null||ce(Q)},J=W=>!0,V=W=>{const Q=(ce,Se,he)=>{if(!wf(W,ce)||he!=null&&!(he!=null&&he(W)))return;const Fe=lt.getOrgOption(W,ce);lt.setOptions(W,ce,Se(W,Fe))};Q(Ft.name,ce=>ce.id),Q(Ft.label,ce=>{var Se;return lt.getOptions(ce,"label")||((Se=ce.type)==null?void 0:Se.toLowerCase())}),Q(Ft.content,ce=>{var Se;return lt.getOptions(ce,"content")||((Se=ce.type)==null?void 0:Se.toLowerCase())},ce=>(ce==null?void 0:ce.type)!==Xe.tooltip),Q(Ft.optionItems,(ce,Se)=>{var he=re.getValue(Se);return he==null||he.splice(1,0,Hx(ce.type)),he},ce=>(ce==null?void 0:ce.type)!==Xe.image),Q("repeatOptionItems",(ce,Se)=>{var he=re.getValue(Se);return he==null||he.splice(1,0,Hx(ce.type)),he},ce=>(ce==null?void 0:ce.type)===Xe.timeline)},ee=W=>{let Q=Dt(En(W));return Q?(Q.id=lt.newId(Q.type),V(Q),Q):null},fe=()=>{var Q,ce,Se;let W=e.widgetList;return e.selectedWidget&&(m(e.selectedWidget)?W=(Q=f(Dt(e.selectedWidget)))==null?void 0:Q.widgetList:(ce=Dt(e.selectedWidget))!=null&&ce.widgetList&&(W=(Se=e.selectedWidget)==null?void 0:Se.widgetList)),W},me=W=>{let Q=ee(W);if(!Q)return;const ce=fe();ce==null||ce.push(Q),R(Q),y(`addFieldByDbClick ${W==null?void 0:W.id}`)},ye=(W,Q)=>{var ce=de(W,Q);if(W){if(ce===0){ur.info(X.i18nt("designer.hint.moveUpFirstChildHint"));return}let Se=W[ce];W.splice(ce,1),W.splice(ce-1,0,Se)}y(`moveUpWidget ${Q==null?void 0:Q.id}`)},ge=(W,Q)=>{var ce=de(W,Q);if(W){if(ce===W.length-1){ur.info(X.i18nt("designer.hint.moveDownLastChildHint"));return}let Se=W[ce];W.splice(ce,1),W.splice(ce+1,0,Se)}y(`moveDownWidget ${Q==null?void 0:Q.id}`)},De=W=>{var Se,he,Fe,Me,Ve,et,st,ft,Rt,St;let Q=null,ce=En(W);if(i(W))Q=Dt(ce),(Se=Q.cols)==null||Se.push(p()),(he=Q.cols)==null||he.push(p());else if(s(W)){Q=Dt(ce);const gt=r(xo.container);(Fe=gt.children)==null||Fe.push(r(xo.header));let xt=r(xo.container,{direction:Gi.horizontal});(Me=xt.children)==null||Me.push(r(xo.aside,{cellWidth:new re(se.placer,"20%")})),(Ve=xt.children)==null||Ve.push(r(xo.main,{cellWidth:new re(se.placer,"80%")})),(et=gt.children)==null||et.push(xt),(st=gt.children)==null||st.push(r(xo.footer)),(ft=Q.cols)==null||ft.push(gt)}else h(W)?(Q=Dt(ce),(Rt=Q.rows)==null||Rt.push(v())):m(W)?(Q=Dt(ce),(St=Q.tabs)==null||St.push(u(void 0,!0))):Q=Dt(ce);return Q.id=lt.newId(Q.type),lt.setName(Q,Q.id),Q},K=W=>{let Q=De(W);const ce=fe();ce==null||ce.push(Q),R(Q),y(`addContainerByDbClick ${W==null?void 0:W.id}`)},ne=(W,Q)=>{var ce=null;if(W){ce=Ra(W,{recordSource:!1});var Se=de(Q,W);return Q==null||Q.splice(Se+1,0,ce),R(ce),y(`cloneWidget ${W==null?void 0:W.id}`),ce}},le=(W,Q,ce)=>{var Se=de(ce,W);if(ce){let he=null;ce.length===1?Q&&(he=Q):ce.length===1+Se?he=ce[Se-1]:he=ce[Se+1],a.nextTick(()=>{ce.splice(Se,1),R(he),y(`removeWidget ${W==null?void 0:W.id}`)})}},de=(W,Q)=>!Q||!W?-1:W==null?void 0:W.indexOf(Q),be=(W,Q,ce)=>{e&&(R(W),I(an.fieldSelected,Q))},oe=W=>{W?R(W):z()},ue=W=>{var he;const{widgetTree:Q}=H0(e.widgetList,!0),{pathNodes:ce}=q0(Q.value,W);return(he=ce.value)==null?void 0:he[1].widget},pe=W=>{var he,Fe,Me;const{widgetTree:Q}=H0(e.widgetList,!0),{pathNodes:ce}=q0(Q.value,W);return((Me=(Fe=(he=ce.value)==null?void 0:he[1])==null?void 0:Fe.widget)==null?void 0:Me.widgetList)||e.widgetList};return{...t,initDesigner:g,clearDesigner:_,registerPageWidget:x,setSelected:R,clearSelected:z,updateSelectedWidgetLabel:q,copyNewFieldWidget:ee,copyNewContainerWidget:De,addContainerByDbClick:K,addFieldByDbClick:me,selectWidget:be,removeSelectedWidget:()=>{const W=e.selectedWidget;if(!W)return!1;if(W!=null&&W.internal)return ur.info(X.i18nt("designer.hint.currentNodeCannotBeSelected")),!1;const Q=ue(W),ce=pe(W);return le(W,Q,ce),!0},cloneSelectedWidget:()=>{var W;if((W=e.selectedWidget)!=null&&W.internal){ur.info(X.i18nt("designer.hint.currentNodeCannotBeSelected"));return}return e.selectedWidget},pasteSelectedWidget:W=>{const Q=e.selectedWidget,ce=pe(Q);return ne(W,ce),!0},selectParentWidget:oe,moveUpWidget:ye,moveDownWidget:ge,cloneWidget:ne,removeWidget:le,checkWidgetMove:J,onWidgetDragAdd:H,onWidgetDragEnd:M,onWidgetDragUpdate:$,onWidgetDragRemove:G,setCssClassList:D,getCssClassList:S,getImportTemplate:C,emitEvent:I,handleEvent:L,loadPageJson:k,getPageJson:A,loadPresetCssCode:T,getNodeTree:O,findTreeNode:Cf,findWidgetById:b,findToRootFromNode:z0,buildFormItemList:B,moveNode:F,emitHistoryChangeAfter:E,watchPropAndSaveHistory:W=>{W&&a.watch(()=>{var Q;return(Q=e==null?void 0:e.selectedWidget)==null?void 0:Q[W]},Q=>{n()},{deep:!0})}}}class Ys{constructor(){N(this,"formRefList",{});N(this,"globalRefList",{});N(this,"globalDataModel",{});N(this,"globalFormName","");N(this,"rowScope",{});N(this,"globalConfig",{});N(this,"globalFormOptions",{})}static globalInject(){const t=new Ys;return t.formRefList=a.inject(lr.refList,{}),t.globalRefList=a.inject(lr.allRefList,{}),t.globalDataModel=a.inject(lr.globalModel,{}),t.rowScope=a.inject(lr.rowScope,{}),t.globalFormName=a.inject(lr.globalForm,""),t.globalConfig=a.inject(lr.globalConfig,{}),t.globalFormOptions=a.inject(lr.globalFormOptions,{}),t}static globalProvide(t){if((t==null?void 0:t.globalDataModel)!==void 0){const o=(t==null?void 0:t.globalDataModel)||{};a.provide(lr.globalModel,o)}if((t==null?void 0:t.rowScope)!==void 0){const o=(t==null?void 0:t.rowScope)||{};a.provide(lr.rowScope,o)}if((t==null?void 0:t.globalRefList)!==void 0){const o=(t==null?void 0:t.globalRefList)||{};a.provide(lr.allRefList,o)}if((t==null?void 0:t.formRefList)!==void 0){const o=(t==null?void 0:t.formRefList)||{};a.provide(lr.refList,o)}if((t==null?void 0:t.globalFormName)!==void 0){const o=(t==null?void 0:t.globalFormName)||"";a.provide(lr.globalForm,o)}if((t==null?void 0:t.globalConfig)!==void 0){const o=(t==null?void 0:t.globalConfig)||"";a.provide(lr.globalConfig,o)}if((t==null?void 0:t.globalFormOptions)!==void 0){const o=(t==null?void 0:t.globalFormOptions)||"";a.provide(lr.globalFormOptions,o)}}}function so(e){const t=(x,b=!1)=>lt.getOptions(e==null?void 0:e.widget,x,b,!(e!=null&&e.designState)),o=a.computed(()=>t(Ft.ctrlWidth)||"auto"),c=a.computed(()=>t(Ft.ctrlHeight)||"auto"),y=a.computed(()=>t(Ft.displayLayout)),d=a.computed(()=>{var x=t(Ft.customClass);return Array.isArray(x)?x==null?void 0:x.join(" "):x}),n=a.computed(()=>{var x=t(Ft.componentWrapperClass);return Array.isArray(x)?x==null?void 0:x.join(" "):x}),p=a.computed(()=>t(Ft.css)),i=a.computed(()=>{var x=t(Ft.componentRootClass);return Array.isArray(x)?x==null?void 0:x.join(" "):x}),r=a.computed(()=>{var x,b;return(b=Dt((x=t(Ft.required,!0))==null?void 0:x.options))==null?void 0:b.enable}),s=a.computed(()=>t(Ft.hidden)),u=a.computed(()=>t(Ft.labelTooltip)),f=a.computed(()=>t(Ft.labelIconClass)),m=a.computed(()=>t(Ft.labelIconPosition)),v=a.computed(()=>t(Ft.labelHidden)),h=a.computed(()=>t(Ft.label)),l=a.computed(()=>t(Ft.labelWidth)),g=a.computed(()=>t(Ft.labelAlign));return{attrs:a.computed(()=>({required:r.value,label:h.value,labelHidden:v.value,labelAlign:g.value,labelIconClass:f.value,labelIconPosition:m.value,labelTooltip:u.value,labelWidth:l.value,ctrlWidth:o.value})),labelAlign:g,labelHidden:v,labelIconClass:f,labelIconPosition:m,labelTooltip:u,labelWidth:l,label:h,displayLayout:y,hidden:s,ctrlWidth:o,ctrlHeight:c,customClass:d,componentWrapperClass:n,componentRootClass:i,css:p}}const Wx=(e="")=>new Promise(t=>{if(!e){t([]);return}Promise.resolve().then(()=>v4).then(o=>{const c=[],y=o.parse(e,{positions:!0,parseValue:!1});o.walk(y,{visit:"Rule",enter(d){const n=o.generate(d.prelude),p={};o.walk(d,{visit:"Declaration",enter(i){i.property&&(p[i.property]=o.generate(i.value))}}),c.push({selector:n,declarations:p})}}),t(c)})}),Kx=e=>new Promise(t=>{Promise.resolve().then(()=>v4).then(o=>{const c=bP(e),y=o.parse(c,{context:"stylesheet"});t(o.generate(y))})});function bP(e){return e.map(o=>{var y,d,n;const c=(n=(d=(y=Object.entries(o.declarations))==null?void 0:y.filter(([p,i])=>!Cn(i)&&i!==""))==null?void 0:d.sort(([p],[i])=>p>i?1:-1))==null?void 0:n.map(([p,i])=>`${p}: ${i};`);return`${o.selector} { ${c.join(" ")} }`}).join(`
762
- `)}const xP=()=>new Promise(e=>{Promise.resolve().then(()=>ene).then(t=>{e(t)})});function _P(e){return new Promise(t=>{xP().then(o=>{var c=EP(o,e);t(c)})})}function EP(e,t){var d,n,p;const o=e.parse(t,{ecmaVersion:"latest",sourceType:"script",ranges:!0}),c=[],y=[];for(const i of o.body){if(i.type==="FunctionDeclaration"&&((d=i.id)!=null&&d.name)&&i.range){const r=i.id.name,s=t.slice(i.range[0],i.range[1]);c.push({name:r,text:s})}if(i.type==="ClassDeclaration"&&((n=i.id)!=null&&n.name)&&i.range){const r=i.id.name,s=t.slice(i.range[0],i.range[1]);y.push({name:r,text:s})}if(i.type==="VariableDeclaration"){for(const r of i.declarations)if(((p=r.id)==null?void 0:p.type)==="Identifier"&&r.init&&r.init.range&&(r.init.type==="FunctionExpression"||r.init.type==="ArrowFunctionExpression")){const s=r.id.name,u=t.slice(r.range[0],r.range[1]);c.push({name:s,text:u})}}}return{functions:c,classes:y}}const W0=()=>{const e="v_form_global_css",t=(i="",r=e)=>{var s=y(i,r);c(s)},o=(i="",r="",s=e)=>{if(!i)return;let u=document.getElementsByTagName("head")[0];if(u)try{var f=y(r,s);c(s),c(f);let m=document.createElement("style");if(!m)return;m.type="text/css",m.id=f;try{m.appendChild(document.createTextNode(i.toString()))}catch{m.innerHTML=i.toString()}u.appendChild(m)}catch(m){dr.error("insert css to head fail",m)}},c=i=>{let r=document.getElementById(i);try{r&&r.parentNode&&r.parentNode.removeChild(r)}catch(s){console.log(s,r)}},y=(i,r)=>i?r+"-"+i:r,d="v_form_global_functions";return{insertCustomCssToHead:o,insertGlobalFunctionsToHtml:(i,r="")=>new Promise(s=>{if(!i){s(!0);return}try{_P(i).then(u=>{var f,m;(f=u.functions)==null||f.forEach(v=>{let h;const l=v==null?void 0:v.text,g=v==null?void 0:v.name;try{h=new Function(`return ${l}`)()}catch(_){dr.error(`Failed to compile function "${g}":`,_);return}window[g]=h}),(m=u.classes)==null||m.forEach(v=>{const h=v==null?void 0:v.text,l=v==null?void 0:v.name;let g;try{g=new Function(`return ${h}`)()}catch(_){dr.error(`Failed to compile class "${l}":`,_);return}window[l]=g}),s(!0)})}catch(u){dr.error("insert js to head fail",u),s(!0)}}),removeGlobalFunctionsToHtml:(i,r=d)=>{var s=y(i,r);c(s)},removeCustomCssToHead:t}},Gx=["width","height","display","margin","margin-left","margin-right","margin-top","margin-bottom"],wP=(e,t,o)=>{const c={};return t.forEach(y=>{var d=e[y];oi(d)||(c[y]=o?o(y,d):d)}),c},SP=(e,t,o)=>{var y;const c={};return(y=Zn(e))==null||y.forEach(d=>{var n=e[d];t!=null&&t.includes(d)||(c[d]=o?o(d,n):n)}),c},Xx=(e,t)=>["width","height","display"].includes(e)?oi(t)||t=="auto"?t:`${t} !important`:t,CP=e=>new Promise(t=>{Wx(e).then(o=>{var c=o==null?void 0:o.map(y=>({selector:y.selector,declarations:wP(y.declarations,Gx,Xx)}));Kx(c).then(y=>{t(y)})})}),AP=e=>new Promise(t=>{Wx(e).then(o=>{var c=o==null?void 0:o.map(y=>({selector:y.selector,declarations:SP(y.declarations,Gx,Xx)}));Kx(c).then(y=>{t(y)})})}),Jx=(e,t)=>{if(!t||!e)return;const o=_o(e,":root",`.${t}`),{insertCustomCssToHead:c}=W0();c(o,void 0,t)},kP=a.defineComponent({__name:"comp-wrapper",props:{...Ur,componentName:{type:String,default:"div"},componentClass:{type:String,default:""},componentAttrs:{type:Object,default:null}},setup(e){a.useCssVars(s=>({v6228d629:a.unref(y),v6dba15b8:a.unref(d),v55f480cc:a.unref(n)}));const t=e,o=a.computed(()=>{var s;return"node_"+((s=t.widget)==null?void 0:s.id)}),c=a.computed(()=>["comp__1",t.componentClass,p.value,o.value]),{ctrlWidth:y,ctrlHeight:d,displayLayout:n,componentRootClass:p,css:i}=so(t),r=(s="")=>{CP(s).then(u=>{Jx(u,o.value)})};return a.watch(()=>i.value,s=>{r(s)}),a.onMounted(()=>{r(i.value)}),(s,u)=>e.componentName?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.componentName),a.mergeProps({key:0,class:c.value},e.componentAttrs),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default",{},void 0,!0)]),_:3},16,["class"])):a.renderSlot(s.$slots,"default",a.mergeProps({key:1,class:c.value},e.componentAttrs),void 0,!0)}}),spe="",Jr=(e,t)=>{const o=e.__vccOpts||e;for(const[c,y]of t)o[c]=y;return o},kf=Jr(kP,[["__scopeId","data-v-0f5501af"]]),TP={key:0,class:"tipBase tipTopLeft"},DP={key:1,class:"tipBase tipContent"},OP=a.defineComponent({__name:"drag-wrapper",props:{...Ur,widgetList:{type:Array,default:[]},dragClass:{type:String,default:""},propName:{type:String,default:Ft.widgetList},title:{type:String,default:""},model:{type:Object,default:null},provideModel:{type:Boolean,default:!1},refList:{type:Object,default:null},widgetTree:{type:Object,default:null},dragTip:{type:String,default:X.i18nt("designer.hint.draggableArea")},dragTag:{type:String,default:"div"},componentName:{type:String,default:"div"},componentClass:{type:String,default:""},componentAttrs:{type:Object,default:null},componentStyle:{type:Object,default:null},rowScope:{type:Object,default:null},showSuspense:{type:Boolean,default:!1}},emits:["update"],setup(e,{emit:t}){const{components:o}=Xb(),c=e,y=t,{checkWidgetMove:d,onWidgetDragAdd:n,onWidgetDragUpdate:p,onWidgetDragEnd:i,onWidgetDragRemove:r}=Af(c.designer),s=f=>{y("update",f)},u=a.computed({get:()=>c.widget?gh(c.widget,c.propName):c.widgetList,set:f=>{c.widget?gs(c.widget,c.propName,f):y("update",f)}});return(yi(c.model)||c.provideModel)&&Ys.globalProvide({globalDataModel:c==null?void 0:c.model}),c.refList&&Ys.globalProvide({formRefList:c.refList}),yi(c.rowScope)&&yi(c.rowScope)&&Ys.globalProvide({rowScope:c.rowScope}),(f,m)=>{const v=a.resolveComponent("draggable"),h=a.resolveComponent("el-skeleton");return f.designState===!0?(a.openBlock(),a.createBlock(v,a.mergeProps({key:0,list:u.value,"item-key":"id",group:"dragGroup",class:[e.dragClass,"containerDraggable full-height"],tag:e.dragTag},{chosenClass:"chosen",ghostClass:"ghost",animation:200},{"component-data":{name:"fade"},handle:".drag-handler",onEnd:m[0]||(m[0]=l=>a.unref(i)(l,u.value)),onRemove:m[1]||(m[1]=l=>a.unref(r)(l,u.value,s)),onAdd:m[2]||(m[2]=l=>a.unref(n)(l,u.value,s)),onUpdate:m[3]||(m[3]=l=>a.unref(p)(l,u.value,s)),move:a.unref(d)}),{header:a.withCtx(()=>[a.renderSlot(f.$slots,"header",{},void 0,!0)]),item:a.withCtx(({element:l,index:g})=>[a.createVNode(kf,a.mergeProps({widget:l,designer:f.designer,"design-state":f.designState,"parent-list":u.value,"parent-widget":f.widget,"component-class":e.componentClass},e.componentAttrs,{style:e.componentStyle,componentName:e.componentName}),{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(o)(l)),{designer:f.designer,widget:l,key:l.id,"design-state":f.designState,"parent-list":u.value,"parent-widget":f.widget},null,8,["designer","widget","design-state","parent-list","parent-widget"]))]),_:2},1040,["widget","designer","design-state","parent-list","parent-widget","component-class","style","componentName"])]),footer:a.withCtx(()=>[a.renderSlot(f.$slots,"footer",{},void 0,!0),a.renderSlot(f.$slots,"tip",{},()=>{var l,g;return[((l=u.value)==null?void 0:l.length)<=0&&e.title?(a.openBlock(),a.createElementBlock("div",TP,a.toDisplayString(e.title),1)):a.createCommentVNode("",!0),((g=u.value)==null?void 0:g.length)<=0&&e.dragTip?(a.openBlock(),a.createElementBlock("div",DP,a.toDisplayString(e.dragTip),1)):a.createCommentVNode("",!0)]},!0)]),_:3},16,["list","class","tag","move"])):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[e.showSuspense?(a.openBlock(),a.createBlock(a.Suspense,{key:0},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.value,(l,g)=>(a.openBlock(),a.createBlock(kf,a.mergeProps({key:l.id,widget:l,designer:f.designer,"design-state":f.designState,"parent-list":u.value,"parent-widget":f.widget,componentName:e.componentName,"component-class":e.componentClass},{ref_for:!0},e.componentAttrs,{style:e.componentStyle}),{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(o)(l)),{designer:f.designer,widget:l,"design-state":f.designState,"parent-list":u.value,"parent-widget":f.widget},null,8,["designer","widget","design-state","parent-list","parent-widget"]))]),_:2},1040,["widget","designer","design-state","parent-list","parent-widget","componentName","component-class","style"]))),128))]),fallback:a.withCtx(()=>[a.createVNode(h,{rows:5,animated:""})]),_:1})):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(u.value,(l,g)=>(a.openBlock(),a.createBlock(kf,a.mergeProps({key:l.id,widget:l,designer:f.designer,"design-state":f.designState,"parent-list":u.value,"parent-widget":f.widget,componentName:e.componentName,"component-class":e.componentClass},{ref_for:!0},e.componentAttrs,{style:e.componentStyle}),{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(o)(l)),{designer:f.designer,widget:l,"design-state":f.designState,"parent-list":u.value,"parent-widget":f.widget},null,8,["designer","widget","design-state","parent-list","parent-widget"]))]),_:2},1040,["widget","designer","design-state","parent-list","parent-widget","componentName","component-class","style"]))),128))],64))}}}),ope="",bn=Jr(OP,[["__scopeId","data-v-fa75bbf0"]]);function Tf(){const e={},t=(y,d)=>{var n,p,i,r;return y?!!((n=y==null?void 0:y.proxy)!=null&&n.$options&&((i=(p=y==null?void 0:y.proxy)==null?void 0:p.$options)==null?void 0:i.componentName)===d||y!=null&&y.exposed&&((r=y==null?void 0:y.exposed)==null?void 0:r.componentName)===d):!1},o=(y,d,n)=>{y&&Zn(y).forEach(p=>{t(y[p],d)&&(n==null||n(y[p]))})},c=(y,d,n)=>{y&&(t(y,d)?n==null||n(y):c(y.parent,d,n))};return{emit$(y,d){e[y]&&e[y].forEach(n=>{n(d)})},on$(y,d){e[y]=e[y]||[],e[y].push(d)},off$(y,d){if(e[y]){if(Cn(d)){e[y].length=0;return}for(let n=0;n<e[y].length;n++)if(e[y][n]===d){e[y].splice(n,1);break}}},dispatch(y,d,n,p){if(!y)return;let i=p.parent||p.root;c(i,y,r=>{var s;r&&(r.exposed.emit$&&r.exposed.emit$(d,n),r!=null&&r.proxy&&((s=r==null?void 0:r.proxy)==null||s.$emit(d,n)))})},broadcast(y,d,n,p,i=[]){i==null||i.forEach(r=>{o(p[r],y,s=>{s.emit$&&s.emit$.call(s,d,n)})})}}}function PP(){return{onMountedOrActivated:o=>{let c=!1;a.onMounted(()=>{o(),a.nextTick(()=>{c=!0})}),a.onActivated(()=>{c&&o()})},onCompErrorCaptured:()=>{a.onErrorCaptured(o=>(dr.error("onCompErrorCaptured",o),!1))}}}function K0(e,t){const{getWidgetOption:o,getWidgetOptionByPropValue:c}=Es(e,t),y=n=>o(n);return{existFunc:y,handleFunc:(n,p)=>{if(zr(n)){var i=y(String(n));return Wo(i,p)}else{var i=c(Dt(n));return Wo(i,p)}}}}class Ju{constructor(t){N(this,"refList",{});t&&(this.refList=t)}initRefList(){this.refList||(this.refList={})}getWidgetRef(t){if(t)return this.initRefList(),this.refList[t]}setWidgetRef(t,o){t&&(this.initRefList(),this.refList[t]=o)}removeWidgetRef(t){t&&this.refList&&delete this.refList[t.toString()]}}const G0="",X0="_",Yx=(e,t)=>Cn(t)?e||"":`${G0}${e}${X0}${t}`,ra=e=>{if(e!=null&&e.includes(X0)){var t=e.split(X0);const o=t==null?void 0:t[0].substring(G0.length),c=e.substring(G0.length+o.length+1);return{id:o,groupName:c}}return{id:e}};var Yu=(e=>(e[e.None=0]="None",e[e.Inner2Inner=1]="Inner2Inner",e[e.Inner2Outer=2]="Inner2Outer",e[e.Outer2Inner=3]="Outer2Inner",e[e.Outer2Outer=4]="Outer2Outer",e[e.DiffInner=5]="DiffInner",e))(Yu||{});const BP=(e,t)=>{const o=ra(e),c=o==null?void 0:o.groupName,y=ra(t),d=y==null?void 0:y.groupName;return!c&&!d?4:c&&!d?2:c&&d?c!==d?5:1:!c&&d?3:0};function Do(e){e||(e={});const t=new Ju(e),{instance:o}=xi(),c=m=>t.getWidgetRef(m==null?void 0:m.toString()),y=(m,v,h)=>{var l=[],g=[];let _=c(m);return _&&l.push(_),l==null||l.forEach(x=>{var b=n(x,v,h);b&&g.push(b)}),g},d=(m,v)=>{var h;return(h=m==null?void 0:m.exposed)==null?void 0:h[v.toString()]},n=(m,v,h)=>{var l=d(m,v);if(l){var g=[];return h&&(g=Object.values(h)),l(...g)}},p=(m,v,h)=>{var l=[];if(m){var g=Dt(qn(m,!0));g==null||g.forEach(_=>{var x=y(_,v,h);Cn(x)||l.push(x)})}return Array.isArray(m)?l:l==null?void 0:l[0]},i=(m,v)=>{let h=Zn(e);p(h,m,v)},r=(m,v)=>{var b,E,C,A;const h=(C=(E=(b=v||o)==null?void 0:b.exposed)==null?void 0:E.getField)==null?void 0:C.call(E);var l=ra(h==null?void 0:h.id);const g=k=>(k==null?void 0:k.id)===m,_=k=>{var S;var D=ra(k==null?void 0:k.id);return(l==null?void 0:l.groupName)===(D==null?void 0:D.groupName)&&((D==null?void 0:D.id)===m||((S=k==null?void 0:k._source)==null?void 0:S.id)===m)},x=(A=Zn(t.refList))==null?void 0:A.find(k=>{var S,T,O;try{const B=(O=(T=(S=t.refList[k])==null?void 0:S.exposed)==null?void 0:T.getField)==null?void 0:O.call(T);var D=g(B);return!D&&(l!=null&&l.groupName)&&(D=_(B)),D}catch{return!1}});if(x)return c(x)},s=m=>{if(m){let v=m;t==null||t.setWidgetRef(v,o)}},u=m=>{if(m){let v=m;t==null||t.removeWidgetRef(v)}};return{findWidgetAndCall:y,getWidgetRef:c,callWidgetsExposed:p,callRefFunc:n,existRefFunc:d,setAllRefList:i,findRefById:r,findRefByName:c,changeRegisterToRefList:(m,v)=>{m&&(s(m),u(v))},registerToRefList:s,unregisterFromRefList:u}}const Sr=(e,t=!0,o,c)=>{if(o!=null&&o===!1)return[];const y=J0(e);if(t||(e==null?void 0:e.length)<=0)return y;var d=y==null?void 0:y.filter(n=>{var p,i,r;return c!=null&&(c==null?void 0:c(n))||c==null&&(!!n.default&&(!(n!=null&&n.options)||((p=n==null?void 0:n.options)==null?void 0:p.enable)==null||((i=n==null?void 0:n.options)==null?void 0:i.enable)===!0)||!!(n!=null&&n.widgetList)&&((r=n==null?void 0:n.widgetList)==null?void 0:r.length)>0||(n==null?void 0:n.slotName)===ts.default)});return d},Cr=(e,t)=>e==null?void 0:e.find(o=>(o==null?void 0:o.slotName)===t),J0=e=>Dt(e);function Y0(e,t){const o=t==null?void 0:t.pageConfig,c=t==null?void 0:t.formData,y=a.reactive({});Nn(y,c);var{instance:d}=xi();const n=()=>{var s=cP(e);s==null||s.forEach(u=>{const{computedDefaultValue:f,fieldName:m,hasDefaultValue:v}=Es(u.field,t,{s_fieldName:!0},d);m.value&&v()&&vi(f()).then(h=>{Nn(y,{[m.value]:h})})})},p=()=>{Hc(y)};return{formModel:y,pageConfig:o,widgetList:e,initData:n,setData:(s,u=!0)=>{u&&p(),Nn(y,s)},getData:()=>py(y),clearData:p}}function Df(){const e=(d,n)=>Ra(d,{newName:!0,recordSource:!0},(i,r)=>Yx(i||r,n),i=>!!i.dynamicItemFlag),t=(d,n,p)=>{var f,m;ii(p)&&(p=`${(f=Gs())==null?void 0:f.substring(0,5)}_${!ii(n==null?void 0:n.$index)&&(n==null?void 0:n.$index)>=0?n==null?void 0:n.$index:""}`);var i=Sr(d,!0);let r=i==null?void 0:i.map(v=>e(v,p));const s=y(r),{updateFomulaName:u}=ro();return(m=Zn(s))==null||m.forEach(v=>{const h=s[v],l=h==null?void 0:h.name;r=u(r,l,v)}),{widget:r,id:p,key:Ti(),data:n}},o=(d,n)=>{if(d||(d=[]),n&&(d==null?void 0:d.length)<n){const r=n-(d==null?void 0:d.length);for(var p=0;p<r;p++){var i={};d==null||d.push(i)}}return d},c=(d,n,p,i)=>{if(Array.isArray(n))return n=o(n,p),n==null?void 0:n.map((r,s)=>{const u=i?i(r,s):r;return t(d,u,s+"")})},y=(d,n)=>{let p={};return d&&Sf(d,i=>{const r=lt.getName(i),s=()=>{r&&(p[r]=i==null?void 0:i._source)};n?n(i)&&s():s()}),p};return{newSlot:t,reflectTargetWithSourceOne:y,getSlotFromData:c,getMinRowData:o,parseGroupId:ra,formatGroupId:Yx}}function Q0(e){const t=e==null?void 0:e.fieldName,o=e==null?void 0:e.setValue,c=a.ref({}),y=a.reactive({}),d=a.reactive([]),{newSlot:n,reflectTargetWithSourceOne:p,getSlotFromData:i,getMinRowData:r}=Df(),s=(A,k)=>{var T;let D={};const S=p(k);return(T=Zn(A))==null||T.map(O=>{var F,I,L;const B=(F=S==null?void 0:S[O])==null?void 0:F.name;B&&(D[B]=A==null?void 0:A[O],(L=(I=Zn(A))==null?void 0:I.filter(q=>q.startsWith(O+"_")))==null||L.forEach(q=>{D[q==null?void 0:q.replace(O,B)]=A==null?void 0:A[q]}))}),D},u=(A,k)=>{var T,O;let D={};if(yi(A)){const B=p(k,F=>!!(F!=null&&F.formItemFlag));(T=Zn(B))==null||T.map(F=>{var I;F&&(D[F]=A==null?void 0:A[(I=B==null?void 0:B[F])==null?void 0:I.name])})}else{var S={globalConfig:e==null?void 0:e.globalConfig,pageConfig:(O=e==null?void 0:e.designer)==null?void 0:O.pageConfig,formData:D,designState:e==null?void 0:e.designState};const{formModel:B,initData:F}=Y0(k,S);F(),Nn(D,B)}return D},f=(A,k)=>{const D=u(k,A.widget);return Nn(y,D),D},m=A=>{var k;(k=Zn(y))==null||k.forEach(D=>{const S=ra(D);(S==null?void 0:S.groupName)==A.id&&delete y[D]})},v=()=>d==null?void 0:d.map(k=>s(y,k==null?void 0:k.widget)),h=(A,k)=>{Hc(y);const D=k(A);return D==null||D.forEach(S=>{const T=u(S==null?void 0:S.data,S==null?void 0:S.widget);Nn(y,T)}),d.splice(0,d.length),D&&D.length>0&&d.push(...D),d},l=A=>{var D;var k=so({...e,widget:A});return(D=k.attrs)==null?void 0:D.value},g=(A,k,D)=>pP(A,k,d,D),{off$:_,on$:x,emit$:b}=Tf(),E=()=>{_(an.fieldChange),x(an.fieldChange,A=>{var k;o==null||o(v()),(k=e==null?void 0:e.fieldChanged)==null||k.call(e)})};return(()=>{const A=t;Ys.globalProvide({globalFormName:A,globalDataModel:y}),E()})(),{getSlotFromData:i,getMinRowData:r,fromModel:u,toModel:s,newSlot:n,getWidgetOption:l,newFieldModelFromSlot:f,removeFieldModelFromSlot:m,getValue:v,setValue:h,findWidgetByNameWithSibId:g,emit$:b,formModel:y,rowsData:d,widgetRefList:c}}const NP=(e,t,o,c)=>{const y=new Ju(e),{callRefFunc:d}=Do(e),{parseGroupId:n}=Df();if(!e||e.length<=0||!t)return;const p=()=>{var _,x;return(x=(_=Zn(e))==null?void 0:_.map(b=>d(e==null?void 0:e[b],Or.getField)))==null?void 0:x.filter(b=>!!b)},i=_=>{var C;const x=(C=p())==null?void 0:C.find(A=>(A==null?void 0:A.id)===_);if(!x)return;const b=lt.getName(x),E=y.getWidgetRef(b);if(E)return{ref:E,name:b,id:x==null?void 0:x.id}},r=(_,x)=>{if(!yi(x))return;const b=lt.getName(_),E=y.getWidgetRef(b);if(E){const C=lt.getOptions(_,an.defaultValue,!1,!ns(o==null?void 0:o.designState),{...o,formData:x});if(yi(C))if(a.isRef(C)){let A=a.watch(()=>C.value,k=>{A==null||A(),d(E,Or.setValue,{newValue:k})})}else d(E,Or.setValue,{newValue:C})}},s=(_,x)=>{const b=i(_);if(!b)return;const E=b.name,C=d(b.ref,Or.getValue),A=d(b.ref,Or.getCheckedItems),k={};return k[E]=C,C!==void 0&&!ii(A)&&!x&&(k[`${E}${no.checkedOptions}`]=A),k},u=(_,x)=>{var E;var b=[];if((E=p())==null||E.forEach(C=>{if(!C)return;const A=C==null?void 0:C.id;var k=A===_;const D=n(A),S=(D==null?void 0:D.id)===_,T=(D==null?void 0:D.groupName)===x;return k||S&&(T||!x)?(b.push(C),!0):!1}),!(!b||b.length<=0))return b==null?void 0:b.map(C=>{var A;return{id:C==null?void 0:C.id,name:(A=C==null?void 0:C._source)==null?void 0:A.name,source:C==null?void 0:C._source}})},f=(_,x)=>{var b=[];if(!_||(_==null?void 0:_.length)<=0)return b;const E=n(t),C=E==null?void 0:E.groupName;return x===Yu.Inner2Outer?_==null||_.forEach(A=>{var k=u(A);k&&(k==null?void 0:k.length)>0&&b.push(...k)}):_==null||_.forEach(A=>{var k=u(A,C);k&&(k==null?void 0:k.length)>0&&b.push(...k)}),b},m=(_,x)=>{let b={};if(!_||_.length<=0)return b;if(x===Yu.Inner2Outer){var E=ly(_,C=>{var A;return(A=C.source)==null?void 0:A.id});E==null||E.forEach(C=>{var D;const A=C.group[0],k=[];(D=C==null?void 0:C.children)==null||D.forEach(S=>{const T=s(S==null?void 0:S.id,!0);if(yi(T)){var O=Object.values(Dt(T));k.push(...O)}}),A&&(b=Object.assign(b,{[A]:k}))})}else _.forEach(C=>{const A=s(C==null?void 0:C.id);yi(A)&&(b=Object.assign(b,A))});return b},v=_=>{var x={};return _==null||_.forEach(b=>{var E;b!=null&&b.source&&(b!=null&&b.id)&&(x[(E=b==null?void 0:b.source)==null?void 0:E.id]=b==null?void 0:b.id)}),x},h=(_,x,b)=>{if(b===Yu.Inner2Inner){const k=cu(x),{updateFomula:D}=ro(),{buildVariable:S}=uv();var E=v(_);if(yi(E)){var C=lt.getOrgOption(x,an.defaultValue),A=D(Er(C),E,(T,O)=>{var B=E[T];return Cn(B)?S(T):S(B)});return lt.setOrgOption(k,an.defaultValue,ir(A)),k}}return x},l=_=>{const x=_==null?void 0:_.id;var b=lt.getOrgOption(_,an.defaultValue);if(b==null)return;const E=BP(t,x);if(E===Yu.DiffInner)return;var C=re.getFormulaRelatedField(b);if(!C||C.length<=0)return;var A=f(C,E);if(!(A!=null&&A.some(D=>D.id===t)))return;const k=m(A,E);r(h(A,_,E),k)};(()=>{var _;(_=p())==null||_.forEach(x=>{l(x)})})()},FP=(e,t,o,c,y)=>{var f;if(ns(y)||!yi(o))return;const{parseGroupId:d}=Df();var n=d(t),p=n==null?void 0:n.groupName;const{callRefFunc:i}=Do(e),r=(m,v)=>{var b,E,C;const h=(E=(b=Zn(e))==null?void 0:b.map(A=>i(e==null?void 0:e[A],Or.getField)))==null?void 0:E.filter(A=>!!A),l=(C=Sl(h,A=>{var k=d(A==null?void 0:A.id);return(!p||(k==null?void 0:k.groupName)===p)&&(k==null?void 0:k.id)===m}))==null?void 0:C[0];if(!l)return;const g=lt.getName(l),x=new Ju(e).getWidgetRef(g);x&&(v==null||v(x))},s=qn(c==null?void 0:c.newValue,!0),u=(f=Zn(o))==null?void 0:f.filter(m=>s==null?void 0:s.includes(m));!u||u.length<=0||u==null||u.forEach(m=>{var h,l;const v=(h=o==null?void 0:o[m])==null?void 0:h.result;(l=Zn(v))==null||l.forEach(g=>{var x;const _=v==null?void 0:v[g];(x=_==null?void 0:_.ids)==null||x.forEach(b=>{r(b,E=>{i(E,_==null?void 0:_.event,_==null?void 0:_.args)})})})})};function Qx(e,t){var o;return(o=e==null?void 0:e.classList)!=null&&o.contains(t)?e:e!=null&&e.parentElement?Qx(e==null?void 0:e.parentElement,t):null}function IP(){const e=s=>{if(s)return s!=null&&s.ref?s==null?void 0:s.ref:s},t=s=>{var u,f;try{(f=(u=e(s))==null?void 0:u.focus)==null||f.call(u)}catch(m){dr.error("focus",m,s)}},o=s=>{var u,f;try{(f=(u=e(s))==null?void 0:u.blur)==null||f.call(u)}catch(m){dr.error("blur",m,s)}},c=s=>{var u;return(u=e(s))==null?void 0:u.selectionStart},y=s=>{var u;return(u=e(s))==null?void 0:u.selectionEnd},d=(s,u)=>{var f;return(f=e(s))==null?void 0:f.setSelectionRange(u,u)},n=(s,u)=>{t(s),d(s,u)};return{getSelectionStart:c,getSelectionEnd:y,setSelectionStart:d,blur:o,focus:t,setMousePos:n,getMousePos:s=>c(s),insertOnMousePos:(s,u,f)=>{const m=c(s),v=y(s),h=I6(f,u,m,v);return a.nextTick(()=>{n(s,m+(u==null?void 0:u.length))}),h},deleteOnMousePos:(s,u)=>lv(u,s)}}const MP=e=>{var o;const{getFormulaFields:t}=ro();return((o=t(Er(e)))==null?void 0:o.length)>0},ja=e=>{const t=e.type;//![WidgetType.fileUpload, WidgetType.pictureUpload].includes(wtype) &&
762
+ `)}const xP=()=>new Promise(e=>{Promise.resolve().then(()=>ene).then(t=>{e(t)})});function _P(e){return new Promise(t=>{xP().then(o=>{var c=EP(o,e);t(c)})})}function EP(e,t){var d,n,p;const o=e.parse(t,{ecmaVersion:"latest",sourceType:"script",ranges:!0}),c=[],y=[];for(const i of o.body){if(i.type==="FunctionDeclaration"&&((d=i.id)!=null&&d.name)&&i.range){const r=i.id.name,s=t.slice(i.range[0],i.range[1]);c.push({name:r,text:s})}if(i.type==="ClassDeclaration"&&((n=i.id)!=null&&n.name)&&i.range){const r=i.id.name,s=t.slice(i.range[0],i.range[1]);y.push({name:r,text:s})}if(i.type==="VariableDeclaration"){for(const r of i.declarations)if(((p=r.id)==null?void 0:p.type)==="Identifier"&&r.init&&r.init.range&&(r.init.type==="FunctionExpression"||r.init.type==="ArrowFunctionExpression")){const s=r.id.name,u=t.slice(r.range[0],r.range[1]);c.push({name:s,text:u})}}}return{functions:c,classes:y}}const W0=()=>{const e="v_form_global_css",t=(i="",r=e)=>{var s=y(i,r);c(s)},o=(i="",r="",s=e)=>{if(!i)return;let u=document.getElementsByTagName("head")[0];if(u)try{var f=y(r,s);c(s),c(f);let m=document.createElement("style");if(!m)return;m.type="text/css",m.id=f;try{m.appendChild(document.createTextNode(i.toString()))}catch{m.innerHTML=i.toString()}u.appendChild(m)}catch(m){dr.error("insert css to head fail",m)}},c=i=>{let r=document.getElementById(i);try{r&&r.parentNode&&r.parentNode.removeChild(r)}catch(s){console.log(s,r)}},y=(i,r)=>i?r+"-"+i:r,d="v_form_global_functions";return{insertCustomCssToHead:o,insertGlobalFunctionsToHtml:(i,r="")=>new Promise(s=>{if(!i){s(!0);return}try{_P(i).then(u=>{var f,m;(f=u.functions)==null||f.forEach(v=>{let h;const l=v==null?void 0:v.text,g=v==null?void 0:v.name;try{h=new Function(`return ${l}`)()}catch(_){dr.error(`Failed to compile function "${g}":`,_);return}window[g]=h}),(m=u.classes)==null||m.forEach(v=>{const h=v==null?void 0:v.text,l=v==null?void 0:v.name;let g;try{g=new Function(`return ${h}`)()}catch(_){dr.error(`Failed to compile class "${l}":`,_);return}window[l]=g}),s(!0)})}catch(u){dr.error("insert js to head fail",u),s(!0)}}),removeGlobalFunctionsToHtml:(i,r=d)=>{var s=y(i,r);c(s)},removeCustomCssToHead:t}},Gx=["width","height","display","margin","margin-left","margin-right","margin-top","margin-bottom"],wP=(e,t,o)=>{const c={};return t.forEach(y=>{var d=e[y];oi(d)||(c[y]=o?o(y,d):d)}),c},SP=(e,t,o)=>{var y;const c={};return(y=Zn(e))==null||y.forEach(d=>{var n=e[d];t!=null&&t.includes(d)||(c[d]=o?o(d,n):n)}),c},Xx=(e,t)=>["width","height","display"].includes(e)?oi(t)||t=="auto"?t:`${t} !important`:t,CP=e=>new Promise(t=>{Wx(e).then(o=>{var c=o==null?void 0:o.map(y=>({selector:y.selector,declarations:wP(y.declarations,Gx,Xx)}));Kx(c).then(y=>{t(y)})})}),AP=e=>new Promise(t=>{Wx(e).then(o=>{var c=o==null?void 0:o.map(y=>({selector:y.selector,declarations:SP(y.declarations,Gx,Xx)}));Kx(c).then(y=>{t(y)})})}),Jx=(e,t)=>{if(!t||!e)return;const o=_o(e,":root",`.${t}`),{insertCustomCssToHead:c}=W0();c(o,void 0,t)},kP=a.defineComponent({__name:"comp-wrapper",props:{...Ur,componentName:{type:String,default:"div"},componentClass:{type:String,default:""},componentAttrs:{type:Object,default:null}},setup(e){a.useCssVars(s=>({v6228d629:a.unref(y),v6dba15b8:a.unref(d),v55f480cc:a.unref(n)}));const t=e,o=a.computed(()=>{var s;return"node_"+((s=t.widget)==null?void 0:s.id)}),c=a.computed(()=>["comp__1",t.componentClass,p.value,o.value]),{ctrlWidth:y,ctrlHeight:d,displayLayout:n,componentRootClass:p,css:i}=so(t),r=(s="")=>{CP(s).then(u=>{Jx(u,o.value)})};return a.watch(()=>i.value,s=>{r(s)}),a.onMounted(()=>{r(i.value)}),(s,u)=>e.componentName?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.componentName),a.mergeProps({key:0,class:c.value},e.componentAttrs),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default",{},void 0,!0)]),_:3},16,["class"])):a.renderSlot(s.$slots,"default",a.mergeProps({key:1,class:c.value},e.componentAttrs),void 0,!0)}}),spe="",Jr=(e,t)=>{const o=e.__vccOpts||e;for(const[c,y]of t)o[c]=y;return o},kf=Jr(kP,[["__scopeId","data-v-0f5501af"]]),TP={key:0,class:"tipBase tipTopLeft"},DP={key:1,class:"tipBase tipContent"},OP=a.defineComponent({__name:"drag-wrapper",props:{...Ur,widgetList:{type:Array,default:[]},dragClass:{type:String,default:""},propName:{type:String,default:Ft.widgetList},title:{type:String,default:""},model:{type:Object,default:null},provideModel:{type:Boolean,default:!1},refList:{type:Object,default:null},widgetTree:{type:Object,default:null},dragTip:{type:String,default:X.i18nt("designer.hint.draggableArea")},dragTag:{type:String,default:"div"},componentName:{type:String,default:"div"},componentClass:{type:String,default:""},componentAttrs:{type:Object,default:null},componentStyle:{type:Object,default:null},rowScope:{type:Object,default:null},showSuspense:{type:Boolean,default:!1}},emits:["update"],setup(e,{emit:t}){const{components:o}=Xb(),c=e,y=a.shallowRef();c.designState&&(y.value="draggable");const d=t,{checkWidgetMove:n,onWidgetDragAdd:p,onWidgetDragUpdate:i,onWidgetDragEnd:r,onWidgetDragRemove:s}=Af(c.designer),u=m=>{d("update",m)},f=a.computed({get:()=>c.widget?gh(c.widget,c.propName):c.widgetList,set:m=>{c.widget?gs(c.widget,c.propName,m):d("update",m)}});return(yi(c.model)||c.provideModel)&&Ys.globalProvide({globalDataModel:c==null?void 0:c.model}),c.refList&&Ys.globalProvide({formRefList:c.refList}),yi(c.rowScope)&&yi(c.rowScope)&&Ys.globalProvide({rowScope:c.rowScope}),(m,v)=>{const h=a.resolveComponent("el-skeleton");return m.designState===!0?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(y.value),a.mergeProps({key:0,list:f.value,"item-key":"id",group:"dragGroup",class:[e.dragClass,"containerDraggable full-height"],tag:e.dragTag},{chosenClass:"chosen",ghostClass:"ghost",animation:200},{"component-data":{name:"fade"},handle:".drag-handler",onEnd:v[0]||(v[0]=l=>a.unref(r)(l,f.value)),onRemove:v[1]||(v[1]=l=>a.unref(s)(l,f.value,u)),onAdd:v[2]||(v[2]=l=>a.unref(p)(l,f.value,u)),onUpdate:v[3]||(v[3]=l=>a.unref(i)(l,f.value,u)),move:a.unref(n)}),{header:a.withCtx(()=>[a.renderSlot(m.$slots,"header",{},void 0,!0)]),item:a.withCtx(({element:l,index:g})=>[a.createVNode(kf,a.mergeProps({widget:l,designer:m.designer,"design-state":m.designState,"parent-list":f.value,"parent-widget":m.widget,"component-class":e.componentClass},e.componentAttrs,{style:e.componentStyle,componentName:e.componentName}),{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(o)(l)),{designer:m.designer,widget:l,key:l.id,"design-state":m.designState,"parent-list":f.value,"parent-widget":m.widget},null,8,["designer","widget","design-state","parent-list","parent-widget"]))]),_:2},1040,["widget","designer","design-state","parent-list","parent-widget","component-class","style","componentName"])]),footer:a.withCtx(()=>[a.renderSlot(m.$slots,"footer",{},void 0,!0),a.renderSlot(m.$slots,"tip",{},()=>{var l,g;return[((l=f.value)==null?void 0:l.length)<=0&&e.title?(a.openBlock(),a.createElementBlock("div",TP,a.toDisplayString(e.title),1)):a.createCommentVNode("",!0),((g=f.value)==null?void 0:g.length)<=0&&e.dragTip?(a.openBlock(),a.createElementBlock("div",DP,a.toDisplayString(e.dragTip),1)):a.createCommentVNode("",!0)]},!0)]),_:3},16,["list","class","tag","move"])):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[e.showSuspense?(a.openBlock(),a.createBlock(a.Suspense,{key:0},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(f.value,(l,g)=>(a.openBlock(),a.createBlock(kf,a.mergeProps({key:l.id,widget:l,designer:m.designer,"design-state":m.designState,"parent-list":f.value,"parent-widget":m.widget,componentName:e.componentName,"component-class":e.componentClass},{ref_for:!0},e.componentAttrs,{style:e.componentStyle}),{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(o)(l)),{designer:m.designer,widget:l,"design-state":m.designState,"parent-list":f.value,"parent-widget":m.widget},null,8,["designer","widget","design-state","parent-list","parent-widget"]))]),_:2},1040,["widget","designer","design-state","parent-list","parent-widget","componentName","component-class","style"]))),128))]),fallback:a.withCtx(()=>[a.createVNode(h,{rows:5,animated:""})]),_:1})):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(f.value,(l,g)=>(a.openBlock(),a.createBlock(kf,a.mergeProps({key:l.id,widget:l,designer:m.designer,"design-state":m.designState,"parent-list":f.value,"parent-widget":m.widget,componentName:e.componentName,"component-class":e.componentClass},{ref_for:!0},e.componentAttrs,{style:e.componentStyle}),{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(o)(l)),{designer:m.designer,widget:l,"design-state":m.designState,"parent-list":f.value,"parent-widget":m.widget},null,8,["designer","widget","design-state","parent-list","parent-widget"]))]),_:2},1040,["widget","designer","design-state","parent-list","parent-widget","componentName","component-class","style"]))),128))],64))}}}),ope="",bn=Jr(OP,[["__scopeId","data-v-ad0e4ce1"]]);function Tf(){const e={},t=(y,d)=>{var n,p,i,r;return y?!!((n=y==null?void 0:y.proxy)!=null&&n.$options&&((i=(p=y==null?void 0:y.proxy)==null?void 0:p.$options)==null?void 0:i.componentName)===d||y!=null&&y.exposed&&((r=y==null?void 0:y.exposed)==null?void 0:r.componentName)===d):!1},o=(y,d,n)=>{y&&Zn(y).forEach(p=>{t(y[p],d)&&(n==null||n(y[p]))})},c=(y,d,n)=>{y&&(t(y,d)?n==null||n(y):c(y.parent,d,n))};return{emit$(y,d){e[y]&&e[y].forEach(n=>{n(d)})},on$(y,d){e[y]=e[y]||[],e[y].push(d)},off$(y,d){if(e[y]){if(Cn(d)){e[y].length=0;return}for(let n=0;n<e[y].length;n++)if(e[y][n]===d){e[y].splice(n,1);break}}},dispatch(y,d,n,p){if(!y)return;let i=p.parent||p.root;c(i,y,r=>{var s;r&&(r.exposed.emit$&&r.exposed.emit$(d,n),r!=null&&r.proxy&&((s=r==null?void 0:r.proxy)==null||s.$emit(d,n)))})},broadcast(y,d,n,p,i=[]){i==null||i.forEach(r=>{o(p[r],y,s=>{s.emit$&&s.emit$.call(s,d,n)})})}}}function PP(){return{onMountedOrActivated:o=>{let c=!1;a.onMounted(()=>{o(),a.nextTick(()=>{c=!0})}),a.onActivated(()=>{c&&o()})},onCompErrorCaptured:()=>{a.onErrorCaptured(o=>(dr.error("onCompErrorCaptured",o),!1))}}}function K0(e,t){const{getWidgetOption:o,getWidgetOptionByPropValue:c}=Es(e,t),y=n=>o(n);return{existFunc:y,handleFunc:(n,p)=>{if(zr(n)){var i=y(String(n));return Wo(i,p)}else{var i=c(Dt(n));return Wo(i,p)}}}}class Ju{constructor(t){N(this,"refList",{});t&&(this.refList=t)}initRefList(){this.refList||(this.refList={})}getWidgetRef(t){if(t)return this.initRefList(),this.refList[t]}setWidgetRef(t,o){t&&(this.initRefList(),this.refList[t]=o)}removeWidgetRef(t){t&&this.refList&&delete this.refList[t.toString()]}}const G0="",X0="_",Yx=(e,t)=>Cn(t)?e||"":`${G0}${e}${X0}${t}`,ra=e=>{if(e!=null&&e.includes(X0)){var t=e.split(X0);const o=t==null?void 0:t[0].substring(G0.length),c=e.substring(G0.length+o.length+1);return{id:o,groupName:c}}return{id:e}};var Yu=(e=>(e[e.None=0]="None",e[e.Inner2Inner=1]="Inner2Inner",e[e.Inner2Outer=2]="Inner2Outer",e[e.Outer2Inner=3]="Outer2Inner",e[e.Outer2Outer=4]="Outer2Outer",e[e.DiffInner=5]="DiffInner",e))(Yu||{});const BP=(e,t)=>{const o=ra(e),c=o==null?void 0:o.groupName,y=ra(t),d=y==null?void 0:y.groupName;return!c&&!d?4:c&&!d?2:c&&d?c!==d?5:1:!c&&d?3:0};function Do(e){e||(e={});const t=new Ju(e),{instance:o}=xi(),c=m=>t.getWidgetRef(m==null?void 0:m.toString()),y=(m,v,h)=>{var l=[],g=[];let _=c(m);return _&&l.push(_),l==null||l.forEach(x=>{var b=n(x,v,h);b&&g.push(b)}),g},d=(m,v)=>{var h;return(h=m==null?void 0:m.exposed)==null?void 0:h[v.toString()]},n=(m,v,h)=>{var l=d(m,v);if(l){var g=[];return h&&(g=Object.values(h)),l(...g)}},p=(m,v,h)=>{var l=[];if(m){var g=Dt(qn(m,!0));g==null||g.forEach(_=>{var x=y(_,v,h);Cn(x)||l.push(x)})}return Array.isArray(m)?l:l==null?void 0:l[0]},i=(m,v)=>{let h=Zn(e);p(h,m,v)},r=(m,v)=>{var b,E,C,A;const h=(C=(E=(b=v||o)==null?void 0:b.exposed)==null?void 0:E.getField)==null?void 0:C.call(E);var l=ra(h==null?void 0:h.id);const g=k=>(k==null?void 0:k.id)===m,_=k=>{var S;var D=ra(k==null?void 0:k.id);return(l==null?void 0:l.groupName)===(D==null?void 0:D.groupName)&&((D==null?void 0:D.id)===m||((S=k==null?void 0:k._source)==null?void 0:S.id)===m)},x=(A=Zn(t.refList))==null?void 0:A.find(k=>{var S,T,O;try{const B=(O=(T=(S=t.refList[k])==null?void 0:S.exposed)==null?void 0:T.getField)==null?void 0:O.call(T);var D=g(B);return!D&&(l!=null&&l.groupName)&&(D=_(B)),D}catch{return!1}});if(x)return c(x)},s=m=>{if(m){let v=m;t==null||t.setWidgetRef(v,o)}},u=m=>{if(m){let v=m;t==null||t.removeWidgetRef(v)}};return{findWidgetAndCall:y,getWidgetRef:c,callWidgetsExposed:p,callRefFunc:n,existRefFunc:d,setAllRefList:i,findRefById:r,findRefByName:c,changeRegisterToRefList:(m,v)=>{m&&(s(m),u(v))},registerToRefList:s,unregisterFromRefList:u}}const Sr=(e,t=!0,o,c)=>{if(o!=null&&o===!1)return[];const y=J0(e);if(t||(e==null?void 0:e.length)<=0)return y;var d=y==null?void 0:y.filter(n=>{var p,i,r;return c!=null&&(c==null?void 0:c(n))||c==null&&(!!n.default&&(!(n!=null&&n.options)||((p=n==null?void 0:n.options)==null?void 0:p.enable)==null||((i=n==null?void 0:n.options)==null?void 0:i.enable)===!0)||!!(n!=null&&n.widgetList)&&((r=n==null?void 0:n.widgetList)==null?void 0:r.length)>0||(n==null?void 0:n.slotName)===ts.default)});return d},Cr=(e,t)=>e==null?void 0:e.find(o=>(o==null?void 0:o.slotName)===t),J0=e=>Dt(e);function Y0(e,t){const o=t==null?void 0:t.pageConfig,c=t==null?void 0:t.formData,y=a.reactive({});Nn(y,c);var{instance:d}=xi();const n=()=>{var s=cP(e);s==null||s.forEach(u=>{const{computedDefaultValue:f,fieldName:m,hasDefaultValue:v}=Es(u.field,t,{s_fieldName:!0},d);m.value&&v()&&vi(f()).then(h=>{Nn(y,{[m.value]:h})})})},p=()=>{Hc(y)};return{formModel:y,pageConfig:o,widgetList:e,initData:n,setData:(s,u=!0)=>{u&&p(),Nn(y,s)},getData:()=>py(y),clearData:p}}function Df(){const e=(d,n)=>Ra(d,{newName:!0,recordSource:!0},(i,r)=>Yx(i||r,n),i=>!!i.dynamicItemFlag),t=(d,n,p)=>{var f,m;ii(p)&&(p=`${(f=Gs())==null?void 0:f.substring(0,5)}_${!ii(n==null?void 0:n.$index)&&(n==null?void 0:n.$index)>=0?n==null?void 0:n.$index:""}`);var i=Sr(d,!0);let r=i==null?void 0:i.map(v=>e(v,p));const s=y(r),{updateFomulaName:u}=ro();return(m=Zn(s))==null||m.forEach(v=>{const h=s[v],l=h==null?void 0:h.name;r=u(r,l,v)}),{widget:r,id:p,key:Ti(),data:n}},o=(d,n)=>{if(d||(d=[]),n&&(d==null?void 0:d.length)<n){const r=n-(d==null?void 0:d.length);for(var p=0;p<r;p++){var i={};d==null||d.push(i)}}return d},c=(d,n,p,i)=>{if(Array.isArray(n))return n=o(n,p),n==null?void 0:n.map((r,s)=>{const u=i?i(r,s):r;return t(d,u,s+"")})},y=(d,n)=>{let p={};return d&&Sf(d,i=>{const r=lt.getName(i),s=()=>{r&&(p[r]=i==null?void 0:i._source)};n?n(i)&&s():s()}),p};return{newSlot:t,reflectTargetWithSourceOne:y,getSlotFromData:c,getMinRowData:o,parseGroupId:ra,formatGroupId:Yx}}function Q0(e){const t=e==null?void 0:e.fieldName,o=e==null?void 0:e.setValue,c=a.ref({}),y=a.reactive({}),d=a.reactive([]),{newSlot:n,reflectTargetWithSourceOne:p,getSlotFromData:i,getMinRowData:r}=Df(),s=(A,k)=>{var T;let D={};const S=p(k);return(T=Zn(A))==null||T.map(O=>{var F,I,L;const B=(F=S==null?void 0:S[O])==null?void 0:F.name;B&&(D[B]=A==null?void 0:A[O],(L=(I=Zn(A))==null?void 0:I.filter(q=>q.startsWith(O+"_")))==null||L.forEach(q=>{D[q==null?void 0:q.replace(O,B)]=A==null?void 0:A[q]}))}),D},u=(A,k)=>{var T,O;let D={};if(yi(A)){const B=p(k,F=>!!(F!=null&&F.formItemFlag));(T=Zn(B))==null||T.map(F=>{var I;F&&(D[F]=A==null?void 0:A[(I=B==null?void 0:B[F])==null?void 0:I.name])})}else{var S={globalConfig:e==null?void 0:e.globalConfig,pageConfig:(O=e==null?void 0:e.designer)==null?void 0:O.pageConfig,formData:D,designState:e==null?void 0:e.designState};const{formModel:B,initData:F}=Y0(k,S);F(),Nn(D,B)}return D},f=(A,k)=>{const D=u(k,A.widget);return Nn(y,D),D},m=A=>{var k;(k=Zn(y))==null||k.forEach(D=>{const S=ra(D);(S==null?void 0:S.groupName)==A.id&&delete y[D]})},v=()=>d==null?void 0:d.map(k=>s(y,k==null?void 0:k.widget)),h=(A,k)=>{Hc(y);const D=k(A);return D==null||D.forEach(S=>{const T=u(S==null?void 0:S.data,S==null?void 0:S.widget);Nn(y,T)}),d.splice(0,d.length),D&&D.length>0&&d.push(...D),d},l=A=>{var D;var k=so({...e,widget:A});return(D=k.attrs)==null?void 0:D.value},g=(A,k,D)=>pP(A,k,d,D),{off$:_,on$:x,emit$:b}=Tf(),E=()=>{_(an.fieldChange),x(an.fieldChange,A=>{var k;o==null||o(v()),(k=e==null?void 0:e.fieldChanged)==null||k.call(e)})};return(()=>{const A=t;Ys.globalProvide({globalFormName:A,globalDataModel:y}),E()})(),{getSlotFromData:i,getMinRowData:r,fromModel:u,toModel:s,newSlot:n,getWidgetOption:l,newFieldModelFromSlot:f,removeFieldModelFromSlot:m,getValue:v,setValue:h,findWidgetByNameWithSibId:g,emit$:b,formModel:y,rowsData:d,widgetRefList:c}}const NP=(e,t,o,c)=>{const y=new Ju(e),{callRefFunc:d}=Do(e),{parseGroupId:n}=Df();if(!e||e.length<=0||!t)return;const p=()=>{var _,x;return(x=(_=Zn(e))==null?void 0:_.map(b=>d(e==null?void 0:e[b],Or.getField)))==null?void 0:x.filter(b=>!!b)},i=_=>{var C;const x=(C=p())==null?void 0:C.find(A=>(A==null?void 0:A.id)===_);if(!x)return;const b=lt.getName(x),E=y.getWidgetRef(b);if(E)return{ref:E,name:b,id:x==null?void 0:x.id}},r=(_,x)=>{if(!yi(x))return;const b=lt.getName(_),E=y.getWidgetRef(b);if(E){const C=lt.getOptions(_,an.defaultValue,!1,!ns(o==null?void 0:o.designState),{...o,formData:x});if(yi(C))if(a.isRef(C)){let A=a.watch(()=>C.value,k=>{A==null||A(),d(E,Or.setValue,{newValue:k})})}else d(E,Or.setValue,{newValue:C})}},s=(_,x)=>{const b=i(_);if(!b)return;const E=b.name,C=d(b.ref,Or.getValue),A=d(b.ref,Or.getCheckedItems),k={};return k[E]=C,C!==void 0&&!ii(A)&&!x&&(k[`${E}${no.checkedOptions}`]=A),k},u=(_,x)=>{var E;var b=[];if((E=p())==null||E.forEach(C=>{if(!C)return;const A=C==null?void 0:C.id;var k=A===_;const D=n(A),S=(D==null?void 0:D.id)===_,T=(D==null?void 0:D.groupName)===x;return k||S&&(T||!x)?(b.push(C),!0):!1}),!(!b||b.length<=0))return b==null?void 0:b.map(C=>{var A;return{id:C==null?void 0:C.id,name:(A=C==null?void 0:C._source)==null?void 0:A.name,source:C==null?void 0:C._source}})},f=(_,x)=>{var b=[];if(!_||(_==null?void 0:_.length)<=0)return b;const E=n(t),C=E==null?void 0:E.groupName;return x===Yu.Inner2Outer?_==null||_.forEach(A=>{var k=u(A);k&&(k==null?void 0:k.length)>0&&b.push(...k)}):_==null||_.forEach(A=>{var k=u(A,C);k&&(k==null?void 0:k.length)>0&&b.push(...k)}),b},m=(_,x)=>{let b={};if(!_||_.length<=0)return b;if(x===Yu.Inner2Outer){var E=ly(_,C=>{var A;return(A=C.source)==null?void 0:A.id});E==null||E.forEach(C=>{var D;const A=C.group[0],k=[];(D=C==null?void 0:C.children)==null||D.forEach(S=>{const T=s(S==null?void 0:S.id,!0);if(yi(T)){var O=Object.values(Dt(T));k.push(...O)}}),A&&(b=Object.assign(b,{[A]:k}))})}else _.forEach(C=>{const A=s(C==null?void 0:C.id);yi(A)&&(b=Object.assign(b,A))});return b},v=_=>{var x={};return _==null||_.forEach(b=>{var E;b!=null&&b.source&&(b!=null&&b.id)&&(x[(E=b==null?void 0:b.source)==null?void 0:E.id]=b==null?void 0:b.id)}),x},h=(_,x,b)=>{if(b===Yu.Inner2Inner){const k=cu(x),{updateFomula:D}=ro(),{buildVariable:S}=uv();var E=v(_);if(yi(E)){var C=lt.getOrgOption(x,an.defaultValue),A=D(Er(C),E,(T,O)=>{var B=E[T];return Cn(B)?S(T):S(B)});return lt.setOrgOption(k,an.defaultValue,ir(A)),k}}return x},l=_=>{const x=_==null?void 0:_.id;var b=lt.getOrgOption(_,an.defaultValue);if(b==null)return;const E=BP(t,x);if(E===Yu.DiffInner)return;var C=re.getFormulaRelatedField(b);if(!C||C.length<=0)return;var A=f(C,E);if(!(A!=null&&A.some(D=>D.id===t)))return;const k=m(A,E);r(h(A,_,E),k)};(()=>{var _;(_=p())==null||_.forEach(x=>{l(x)})})()},FP=(e,t,o,c,y)=>{var f;if(ns(y)||!yi(o))return;const{parseGroupId:d}=Df();var n=d(t),p=n==null?void 0:n.groupName;const{callRefFunc:i}=Do(e),r=(m,v)=>{var b,E,C;const h=(E=(b=Zn(e))==null?void 0:b.map(A=>i(e==null?void 0:e[A],Or.getField)))==null?void 0:E.filter(A=>!!A),l=(C=Sl(h,A=>{var k=d(A==null?void 0:A.id);return(!p||(k==null?void 0:k.groupName)===p)&&(k==null?void 0:k.id)===m}))==null?void 0:C[0];if(!l)return;const g=lt.getName(l),x=new Ju(e).getWidgetRef(g);x&&(v==null||v(x))},s=qn(c==null?void 0:c.newValue,!0),u=(f=Zn(o))==null?void 0:f.filter(m=>s==null?void 0:s.includes(m));!u||u.length<=0||u==null||u.forEach(m=>{var h,l;const v=(h=o==null?void 0:o[m])==null?void 0:h.result;(l=Zn(v))==null||l.forEach(g=>{var x;const _=v==null?void 0:v[g];(x=_==null?void 0:_.ids)==null||x.forEach(b=>{r(b,E=>{i(E,_==null?void 0:_.event,_==null?void 0:_.args)})})})})};function Qx(e,t){var o;return(o=e==null?void 0:e.classList)!=null&&o.contains(t)?e:e!=null&&e.parentElement?Qx(e==null?void 0:e.parentElement,t):null}function IP(){const e=s=>{if(s)return s!=null&&s.ref?s==null?void 0:s.ref:s},t=s=>{var u,f;try{(f=(u=e(s))==null?void 0:u.focus)==null||f.call(u)}catch(m){dr.error("focus",m,s)}},o=s=>{var u,f;try{(f=(u=e(s))==null?void 0:u.blur)==null||f.call(u)}catch(m){dr.error("blur",m,s)}},c=s=>{var u;return(u=e(s))==null?void 0:u.selectionStart},y=s=>{var u;return(u=e(s))==null?void 0:u.selectionEnd},d=(s,u)=>{var f;return(f=e(s))==null?void 0:f.setSelectionRange(u,u)},n=(s,u)=>{t(s),d(s,u)};return{getSelectionStart:c,getSelectionEnd:y,setSelectionStart:d,blur:o,focus:t,setMousePos:n,getMousePos:s=>c(s),insertOnMousePos:(s,u,f)=>{const m=c(s),v=y(s),h=I6(f,u,m,v);return a.nextTick(()=>{n(s,m+(u==null?void 0:u.length))}),h},deleteOnMousePos:(s,u)=>lv(u,s)}}const MP=e=>{var o;const{getFormulaFields:t}=ro();return((o=t(Er(e)))==null?void 0:o.length)>0},ja=e=>{const t=e.type;//![WidgetType.fileUpload, WidgetType.pictureUpload].includes(wtype) &&
763
763
  return e.formItemFlag||[Xe.form,Xe.dialog].includes(t)},Z0=e=>{const t=e.type;return[Xe.treeSelect,Xe.cascader,Xe.select,Xe.checkbox,Xe.radio].includes(t)};function Qt(e){const t=e==null?void 0:e.designState,o=(e==null?void 0:e.created)!=!1,c=e==null?void 0:e.exResetField,y=e==null?void 0:e.extInitFieldModel,d=e==null?void 0:e.exposedWholeInstance,n=e==null?void 0:e.widget,p=e==null?void 0:e.designer,i=p==null?void 0:p.pageConfig,r=a.ref(!1),{globalFormOptions:s,formRefList:u,globalRefList:f,globalConfig:m,globalFormName:v,globalDataModel:h,rowScope:l}=Ys.globalInject();let g=a.reactive(h||{});const _=Do(f),x=Do(u),{instance:b}=xi(),E=MP(n),C=()=>En(g),A=()=>l,k=()=>n,D={designState:t,pageConfig:i,formData:t||!E?{}:g,globalConfig:m},S={instance:b,...D},T=bf(S),O={exposed:{getFormData:!t&&E?C:null,findRefByName:_.getWidgetRef,fieldEditor:()=>ke.value,getField:k,getRowScope:A,getOneSchemaData:T==null?void 0:T.getOneSchemaData,getSchemaDataObject:T==null?void 0:T.getSchemaDataObject,getSchemaDatas:T==null?void 0:T.getSchemaDatas,getGlobalParams:T==null?void 0:T.getGlobalParams}},B={instance:d?b:O,...D},{on$:F,dispatch:I,emit$:L}=Tf(),{onCompErrorCaptured:q}=PP(),{existFunc:R}=K0({options:n==null?void 0:n.options},B),{isIdClass:z,getIdByIdClass:H}=IO(n),{getOneSchemaData:M,getSchemaDataObject:$,getSchemaDatas:G,getGlobalParams:J}=bf(B),V=IP(),ee=(e==null?void 0:e.shareProp)||{s_attr:!0,s_extendAttr:!0,s_events:!0,s_slots:!0,s_fieldName:!0,s_optionItems:!0},{attrs:fe,extendAttrs:me,events:ye,slots:ge,rules:De,fieldName:K,buildRules:ne,clearRules:le,disableChangeValidate:de,enableChangeValidate:be,optionItems:oe,refreshOptionItems:ue,filterOptionItems:pe,getCheckedOptionText:xe,getCheckedOptionValues:Pe,getCheckedOptionLabels:Ne,getCheckedOptionItems:Z,activeOptionItems:W,activeOptionItem:Q,activeOptionItemIndex:ce,setOptionItems:Se,isOptionWidget:he,setWidgetOption:Fe,getWidgetOption:Me,getWidgetOptionByPropValue:Ve,setFieldEnable:et,hasFieldOptions:st,getFieldOptions:ft,setFieldOptions:Rt,computedDefaultValue:St,hasDefaultValue:gt,singleOption:xt,watchOption:Ut,addCssClass:Et,removeCssClass:Dn}=Es(n,B,ee,b),it=a.computed(()=>{var Sn;if(![Xe.wrapper].includes(n.type)&&n.category==yo.container)return fe.value;var Ge=ot(Ft.disabled,fe.value),ht=ot(Ft.readonly,fe.value);if(Hr(fe.value,Ft.disabled)&&!Hr(fe.value,Ft.readonly)){var _t=(Ge==null?void 0:Ge.disabled)===!0;if(!_t){var Vt=(Sn=ns(s))==null?void 0:Sn[Ft.readonly],_n=Vt===!0;Ge[Ft.disabled]=_n}}return{...fe.value,...Ge,...ht}}),ot=(Ge,ht)=>{var _t;return Hr(ht,Ge)?{[Ge]:((_t=ns(s))==null?void 0:_t[Ge])||(ht==null?void 0:ht[Ge])}:{}};let te=null,Ae=a.ref();const ke=a.ref(),Be=()=>K.value,ze=()=>`${n==null?void 0:n.id}-${t2()}`,ut=a.ref(ze()),vt=()=>{ut.value=ze()},Tt=a.computed({get:()=>{if(zr(Ae.value)){var Ge=Number(Ae.value);return isNaN(Ge)?void 0:(Ae.value=Ge,Ge)}return Ae.value},set:Ge=>{Ae.value=Ge}}),jt=a.computed({get:()=>{if(zr(Ae.value)){var Ge=ir(Ae.value);ms(Ge)&&(Ae.value=Ge)}return Ae.value},set:Ge=>{Ae.value=Ge}}),hn=Ge=>{var _t,Vt;var ht=(Vt=(_t=_.getWidgetRef(K.value))==null?void 0:_t.exposed)==null?void 0:Vt.loadOptionItems;if(ht!==void 0){ht==null||ht(Ge);return}Se(Ge)},jn=Ge=>{var ht,_t,Vt;return(Vt=(_t=(ht=_.getWidgetRef(K.value))==null?void 0:ht.exposed)==null?void 0:_t.getCheckedItems)==null?void 0:Vt.call(_t,Ge)},pr=Ge=>{var ht,_t,Vt;return(Vt=(_t=(ht=_.getWidgetRef(K.value))==null?void 0:ht.exposed)==null?void 0:_t.getCheckedLabels)==null?void 0:Vt.call(_t,Ge)},fr=Ge=>{var ht,_t,Vt;return(Vt=(_t=(ht=_.getWidgetRef(K.value))==null?void 0:ht.exposed)==null?void 0:_t.getCheckedText)==null?void 0:Vt.call(_t,Ge)},zn=Ge=>{var Sn;if(!he())return;const ht=(Sn=me.value)==null?void 0:Sn.withAttachData;if(!Z0(n)||ht===!1)return;const _t=pr(Ge),Vt=fr(Ge);var _n=En(jn(Ge));si(_t,_n,Vt)},si=(Ge,ht,_t)=>{var Vt={};if(Ge!=null){let _n=ft("textName");[`${K.value}${no.optionText}`,_n].forEach(Sn=>{Sn&&Vt[Sn]===void 0&&(Vt[Sn]=Ge)})}if(ht!=null){let _n=ft("optionName");[`${K.value}${no.checkedOptions}`,_n].forEach(Sn=>{Sn&&Vt[Sn]===void 0&&(Vt[Sn]=ht)})}if(_t!=null){let _n=ft("labelName");Ge!==_t&&[`${K.value}${no.optionLabelName}`].forEach(Sn=>{Sn&&Vt[Sn]===void 0&&(Vt[Sn]=_t)}),_n&&[_n].forEach(Sn=>{Sn&&Vt[Sn]===void 0&&(Vt[Sn]=_t)})}Qr(En(Vt))},Hn=Ge=>{if(ja(n)){zn(Ge);var ht={[K.value]:Ge};Qr(ht)}},Qr=Ge=>{Nn(g,Ge)},pi=Ge=>{t||Hn(Ge)},_r=Ge=>ft(Ge),Fi=()=>{var Ge=a.toRefs(g);Ae=re.get(Ge,K.value)},es=Ge=>{te=En(Ge)},Ii=Ge=>{t||y&&y(Ge)},js=()=>{gt()&&vi(St()).then(Ge=>{Hn(Ge),Fi()})};let dt={};const w=(Ge,ht)=>{if(!ja(n))return;var _t={newValue:Ge,oldValue:ht};if(Er(_t)==Er(dt))return;Object.assign(dt,_t),L(an.fieldValueChanged,_t);const Vt={fieldId:n.id,fieldName:K.value,newValue:Ge,oldValue:ht};I(v,an.fieldChange,Vt,b)},P=Ge=>R(Ge),j=(Ge,ht)=>Wo(Me(Ge),ht),U=Ge=>{pi(Ge),Tr(),j(an.onInput,{value:Ge})},Y=(Ge,ht)=>{var _t,Vt,_n;return(_n=(Vt=(_t=_.getWidgetRef(K.value))==null?void 0:_t.exposed)==null?void 0:Vt.handleBeforeChange)==null?void 0:_n.call(Vt,Ge,ht)},ve=(...Ge)=>{var _n,Sn,nr;let _t=((_n=Ge==null?void 0:Ge[0])==null?void 0:_n.target)!=null?(nr=(Sn=Ge==null?void 0:Ge[0])==null?void 0:Sn.target)==null?void 0:nr.value:Ge==null?void 0:Ge[0];_t=En(_t);var Vt=Y(_t,te);Vt!=null?pi(Vt):pi(_t),w(_t,te),Tr(),es(_t)},Ce=(Ge=!0)=>{Fe(Ft.readonly,Ge)},Le=(Ge=!0)=>{Fe(Ft.disabled,Ge)},Je=(Ge=!0)=>{Fe(Ft.hidden,Ge),Ge?He():we()},nt=(Ge=!0)=>{et(Ft.required,Ge),we()},yt=Ge=>{Fe(Ft.label,Ge)},mt=()=>Ae==null?void 0:Ae.value,Ct=Ge=>{Ae.value=Ge,zn(Ge)},Yt=Ge=>{let ht=En(mt());if(Ct(Ge),!ja(n))return;const _t=mt();ht!==_t&&(pi(_t),w(Ge,ht))},cn=()=>{gt()?vi(St()).then(Ge=>{Hn(Ge)}):Hn(null),c==null||c()},$t=Ge=>{const ht=mt(),_t=V.insertOnMousePos(ke.value,Ge,ht);Yt(_t)},zt=Ge=>{const ht=mt(),_t=V.deleteOnMousePos(Ge,ht);Yt(_t)},fn=(Ge,ht)=>{a.watch(()=>Ae==null?void 0:Ae.value,(_t,Vt)=>{Ge==null||Ge({id:n.id,name:K.value,newValue:_t,oldValue:Vt})},ht)},kn=Ge=>{var Sn;Ge.preventDefault();const ht=nr=>{var sn;const rn=(sn=Array.from(nr.classList))==null?void 0:sn.find(Dr=>z(Dr));return rn?H(rn):""},_t=document.activeElement;if(!_t)return;const Vt=document.getElementsByClassName(fh.formItemTarget);for(var _n=0;_n<Vt.length;_n++){const nr=Vt[_n],rn=Qx(_t,fh.formItemTarget);if(!rn)continue;const sn=ht(nr),Dr=ht(rn);if(sn===Dr){if(_n===Vt.length-1)return;const Ir=Vt[_n+1],to=ht(Ir),qr=_.findRefById(to,b);try{(Sn=qr==null?void 0:qr.exposed)==null||Sn.focus()}catch(ho){dr.error("handleEnter",ho)}}}};let Gn=()=>{var nr;let Ge={componentName:K.value,refList:u,allRefList:f,fieldEditor:()=>ke.value,changeRegisterToRefList:(rn,sn)=>{_.changeRegisterToRefList(rn,sn),x.changeRegisterToRefList(rn,sn)},getField:k,getFormData:C,getValue:mt,setValue:Ct,emit$:L,findRefByName:_.getWidgetRef,findRefById:_.findRefById,callRefFunc:_.callRefFunc,getWidgetOption:Me,setWidgetOption:Fe,refreshKey:vt,getRowScope:A,getOneSchemaData:M,getSchemaDatas:G,getSchemaDataObject:$,getGlobalParams:J,addCssClass:Et,removeCssClass:Dn},ht={resetField:cn,getValue:mt,setValue:Yt,refreshDefaultValue:js,insertOnMousePos:$t,deleteOnMousePos:zt,disableChangeValidate:de,enableChangeValidate:be,focus:()=>{V.focus(ke.value)},blur:()=>{V.blur(ke.value)},getMousePos:()=>{V.getMousePos(ke.value)},setMousePos:rn=>{V.setMousePos(ke.value,rn)}},_t={loadOptionItems:hn,getCheckedItems:jn,getCheckedLabels:pr},Vt={[Ft.required]:{name:Or.setRequired,fn:nt},[Ft.label]:{name:Or.setLabel,fn:yt},[Ft.hidden]:{name:Or.setHidden,fn:Je},[Ft.disabled]:{name:Or.setDisabled,fn:Le},[Ft.readonly]:{name:Or.setReadonly,fn:Ce}},_n={};(nr=Zn(Vt))==null||nr.forEach(rn=>{if(wf(n,rn)){const sn=Vt[rn];_n[sn.name]=sn.fn}});var Sn=Nn(Ge,_n);return ja(n)&&(Sn=Nn(Sn,ht)),Z0(n)&&(Sn=Nn(Sn,_t)),Sn};const Xn=a.computed(()=>({attrs:it.value,extendAttrs:me.value,events:ye.value,slots:ge.value,fieldKey:ut.value,fieldEditor:ke.value,fieldName:K.value})),kr=Ge=>{t&&e.designer&&a.watch(()=>{var ht;return(ht=e==null?void 0:e.widget)==null?void 0:ht[Ge]},(ht,_t)=>{const{emitHistoryChange:Vt}=Yb(e.designer);Vt(`edit ${K.value}.${Ge},newValue:${ht},oldValue:${_t}`)},{deep:!0})},Fr=(Ge,ht,_t)=>{const Vt=a.ref(),_n=_r(Ge),Sn=nr=>{ht&&(Vt.value=ht(nr||_n))};return a.isRef(_n)?a.watch(_n,nr=>{Sn(nr),_t&&_t(nr)}):Sn(_n),Vt},fi=()=>{!ja(n)||t||fn(Ge=>{const ht=n==null?void 0:n.id;NP(f,ht,B),FP(f,ht,lt.getOptions(n,Ft.relate),Ge),zn(Ge.newValue),setTimeout(()=>{zn(Ge.newValue),Ii(Ge==null?void 0:Ge.newValue)},1e3),w(Ge.newValue,Ge.oldValue)},{immediate:!0})},Tr=()=>{const Ge={propName:K.value};I(v,an.fieldValidation,Ge,b)},ae=()=>{const Ge={fieldId:n.id,fieldName:K.value,rules:De};I(v,an.fieldRuleChange,Ge,b)},we=()=>{if(!ja(n))return;const Ge=ne();return ae(),Ge},He=()=>{le(),ae()},tt=()=>{wf(n,"change")&&(ye.value.change=ve),wf(n,"input")&&(ye.value.input=U),F(sl.setFormData,Ge=>{Yt(Ge[K.value])}),F(an.fieldValueChanged,Ge=>{j(an.onChange,{value:Ge==null?void 0:Ge.newValue,oldValue:Ge==null?void 0:Ge.oldValue})})},wt=()=>{let Ge=K.value;ja(n)?((!Hr(g,Ge)||g[Ge]===void 0)&&(Hn(null),gt()&&vi(St()).then(ht=>{ht==null?Hn(null):Hn(ht)})),Fi()):gt()&&vi(St()).then(ht=>{Yt(ht)}),es(mt())},Ot=()=>{Z0(n)&&a.watch(()=>oe==null?void 0:oe.value,(Ge,ht)=>{zn(Ae.value)},{immediate:!0})},Ee=()=>{Ut(Ft.css).then(Ge=>{At()})},Oe=()=>{const Ge=a.inject(lr.isRenderComplete),ht=()=>10,_t=()=>{setTimeout(()=>{r.value=!0,Ot(),fi(),we()},ht())};if(Ge!=null&&Ge.value){_t();return}Ge!=null&&a.watch(()=>Ge==null?void 0:Ge.value,Vt=>{Vt&&_t()},{immediate:!0})},$e=()=>{var Ge,ht;if(o)try{wt(),tt(),_.registerToRefList(K.value),x.registerToRefList(K.value),(ht=(Ge=ye==null?void 0:ye.value)==null?void 0:Ge.created)==null||ht.call(Ge),q()}catch(_t){dr.error("create",_t)}},rt=()=>{o&&(a.onMounted(()=>{var Ge,ht;try{At(),Ee(),Oe(),(ht=(Ge=ye==null?void 0:ye.value)==null?void 0:Ge.mounted)==null||ht.call(Ge)}catch(_t){dr.error("mounted",_t,n)}}),a.onBeforeUnmount(()=>{_.unregisterFromRefList(K.value),x.unregisterFromRefList(K.value)}))},At=()=>{const Ge=n==null?void 0:n.id,ht=Me(Ft.css);ht&&Ge&&AP(ht).then(_t=>{Jx(_t,Ge)})};return $e(),rt(),{exposed:Gn(),fieldModel:Ae,objFieldModel:jt,numFieldModel:Tt,fieldEditor:ke,fieldKey:ut,field:n,instance:b,attrs:it,extendAttrs:me,slots:ge,events:ye,rules:De,fieldObj:Xn,getValue:mt,setValue:Ct,pageConfig:i,formModel:g,fieldName:K,propResultOpt:B,optionItems:oe,activeOptionItems:W,activeOptionItem:Q,activeOptionItemIndex:ce,refreshOptionItems:ue,refreshOptionField:zn,filterOptionItems:pe,setOptionItems:Se,getCheckedItems:jn,getCheckedOptionItems:(Ge,ht)=>Z(Ge||Ae.value,ht),getCheckedOptionLabels:(Ge,ht)=>Ne(Ge||Ae.value,ht),getCheckedOptionValues:(Ge,ht)=>Pe(Ge||Ae.value,ht),getCheckedOptionText:(Ge,ht)=>xe(Ge||Ae.value,ht),refreshKey:vt,watchKeyValue:Fr,watchPropAndSaveHistoryStep:kr,existEvent:P,handleEvent:j,handleEnter:kn,getPropName:Be,emitFieldDataChange:w,syncUpdateFormModel:pi,getWidgetRef:_.getWidgetRef,clearRules:He,buildRules:we,getFieldOptionModel:_r,getFieldOptions:ft,hasFieldOptions:st,setFieldOptions:Rt,getWidgetOption:Me,getWidgetOptionByPropValue:Ve,singleOption:xt,watchOption:Ut,mergeOptionToFormModel:si}}const LP=a.defineComponent({componentName:Gt.ContainerWidget}),V0=a.defineComponent({...LP,__name:"cont-cell-widget",props:{...Ur},setup(e,{expose:t}){const o=e,c=a.computed(()=>{var p;return`el-${re.getValue((p=o.widget)==null?void 0:p.partName)}`}),{customClass:y,componentWrapperClass:d}=so({widget:{options:o.widget}}),{exposed:n}=Qt(o);return t({...n}),(p,i)=>{var r,s,u;return a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.value),{class:a.normalizeClass(["content-cell",a.unref(y)]),direction:(r=p.widget)==null?void 0:r.direction,style:a.normalizeStyle({width:a.unref(re).getValue((s=p.widget)==null?void 0:s.cellWidth),height:a.unref(re).getValue((u=p.widget)==null?void 0:u.cellHeight),zIndex:998})},{default:a.withCtx(()=>[a.renderSlot(p.$slots,"default",{},()=>{var f,m,v,h,l;return[((m=(f=p.widget)==null?void 0:f.children)==null?void 0:m.length)<=0?(a.openBlock(),a.createBlock(bn,{key:0,widgetList:(v=p.widget)==null?void 0:v.widgetList,designState:p.designState,designer:p.designer,dragClass:"dragSize2",parentWidget:p.widget,parentList:(h=p.widget)==null?void 0:h.widgetList,"component-class":a.unref(d)},null,8,["widgetList","designState","designer","parentWidget","parentList","component-class"])):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList((l=p.widget)==null?void 0:l.children,(g,_)=>{var x;return a.openBlock(),a.createBlock(V0,{key:g.id,widget:g,designer:p.designer,"design-state":p.designState,"parent-list":(x=p.widget)==null?void 0:x.children,"parent-widget":p.widget},null,8,["widget","designer","design-state","parent-list","parent-widget"])}),128))]})]),_:3},8,["direction","class","style"])}}}),Zx=Object.freeze(Object.defineProperty({__proto__:null,default:V0},Symbol.toStringTag,{value:"Module"})),RP=["width","height","color"],jP=["xlink:href"],$P={key:0,slot:"title"},UP=a.defineComponent({__name:"index",props:{prefix:{default:"icon"},dir:{default:"svg"},name:{},color:{},size:{},width:{default:"16"},height:{default:"16"},className:{},title:{default:""}},setup(e){var u,f;const t=e,o=t.size||t.width,c=t.size||t.height,y=t.size||t.width,d=t.name,n=a.computed(()=>{var m="svg-icon";return t.className?m+" "+t.className:m}),p=a.ref(),i=a.computed(()=>`#${t.prefix}-${t.dir}-${p.value}`);let r=a.shallowRef();const s=zr(d)&&((u=String(d))==null?void 0:u.startsWith("@"));return s?p.value=(f=String(d))==null?void 0:f.substring(1):a.watch(()=>t.name,m=>{if(a.isRef(t.name))r.value=m;else{const{instance:v}=xi();r=qh(m,v)}},{immediate:!0}),(m,v)=>{const h=a.resolveComponent("el-icon");return a.unref(s)?(a.openBlock(),a.createElementBlock("svg",{key:0,class:a.normalizeClass(n.value),width:a.unref(o),height:a.unref(c),color:t.color},[a.createElementVNode("use",{"xlink:href":i.value},null,8,jP),e.title?(a.openBlock(),a.createElementBlock("title",$P,a.toDisplayString(e.title),1)):a.createCommentVNode("",!0)],10,RP)):(a.openBlock(),a.createBlock(h,{key:1,size:a.unref(y)},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(r)),{color:t==null?void 0:t.color,key:e.name},null,8,["color"]))]),_:1},8,["size"]))}}}),ape="",Mr=Jr(UP,[["__scopeId","data-v-ca7a7b14"]]),zP={key:0},HP={class:"clWhite"},qP={class:"clWhite"},WP=["title"],KP=["title"],GP=["title"],XP=["title"],JP=a.defineComponent({__name:"drag-handler",props:{...Ur,parentTree:{type:Object,default:null},hidden:{type:Boolean,default:!1},simple:{type:Boolean}},setup(e){const t=e,{setSelected:o,findWidgetById:c,removeWidget:y,moveDownWidget:d,moveUpWidget:n,cloneWidget:p}=Af(t.designer),i=r=>{const s=r==null?void 0:r.id;if(r.selectable===!1)ur.info(X.i18nt("designer.hint.currentNodeCannotBeSelected"));else{const u=c(s);o(u)}};return(r,s)=>{var h,l;const u=a.resolveComponent("el-dropdown-item"),f=a.resolveComponent("el-dropdown-menu"),m=a.resolveComponent("el-dropdown"),v=a.resolveComponent("el-divider");return a.openBlock(),a.createElementBlock(a.Fragment,null,[e.hidden===!0?(a.openBlock(),a.createElementBlock("i",zP,[a.createVNode(Mr,{name:"@el-hide"})])):a.createCommentVNode("",!0),e.simple?(a.openBlock(),a.createBlock(m,{key:1,onCommand:i},a.createSlots({default:a.withCtx(()=>[a.createElementVNode("span",HP,[a.createVNode(Mr,{name:"@el-arrow-down"})])]),_:2},[((h=e.parentTree)==null?void 0:h.length)>0?{name:"dropdown",fn:a.withCtx(()=>[a.createVNode(f,null,{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.parentTree,(g,_)=>(a.openBlock(),a.createBlock(u,{command:g},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(g==null?void 0:g.label),1)]),_:2},1032,["command"]))),256)),a.createVNode(u,{divided:"",onClick:s[0]||(s[0]=a.withModifiers(g=>a.unref(p)(r.widget,r.parentList),["stop"]))},{default:a.withCtx(()=>[a.createVNode(Mr,{name:"@el-clone"}),a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.hint.cloneWidget")),1)]),_:1}),a.createVNode(u,{onClick:s[1]||(s[1]=a.withModifiers(g=>a.unref(y)(r.widget,r.parentWidget,r.parentList),["stop"]))},{default:a.withCtx(()=>[a.createVNode(Mr,{name:"@el-delete"}),a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.hint.remove")),1)]),_:1}),r.parentList&&r.parentList.length>1?(a.openBlock(),a.createBlock(u,{key:0,onClick:s[2]||(s[2]=a.withModifiers(g=>a.unref(n)(r.parentList,r.widget),["stop"]))},{default:a.withCtx(()=>[a.createVNode(Mr,{name:"@el-move-up"}),a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.hint.moveUpWidget")),1)]),_:1})):a.createCommentVNode("",!0),r.parentList&&r.parentList.length>1?(a.openBlock(),a.createBlock(u,{key:1,onClick:s[3]||(s[3]=a.withModifiers(g=>a.unref(d)(r.parentList,r.widget),["stop"]))},{default:a.withCtx(()=>[a.createVNode(Mr,{name:"@el-move-down"}),a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.hint.moveDownWidget")),1)]),_:1})):a.createCommentVNode("",!0),r.$slots.default?(a.openBlock(),a.createBlock(u,{key:2,divied:""},{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3})):a.createCommentVNode("",!0)]),_:3})]),key:"0"}:void 0]),1024)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:2},[a.createVNode(m,{onCommand:i},a.createSlots({default:a.withCtx(()=>{var g,_;return[a.createElementVNode("span",qP,[a.createTextVNode(a.toDisplayString(a.unref(X).i18n2t(`designer.widgetLabel.${(g=r.widget)==null?void 0:g.type}`,`extension.widgetLabel.${(_=r.widget)==null?void 0:_.type}`))+" ",1),a.createVNode(Mr,{name:"@el-arrow-down",class:"el-icon--right"})])]}),_:2},[((l=e.parentTree)==null?void 0:l.length)>0?{name:"dropdown",fn:a.withCtx(()=>[a.createVNode(f,null,{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.parentTree,(g,_)=>(a.openBlock(),a.createBlock(u,{command:g},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(g==null?void 0:g.label),1)]),_:2},1032,["command"]))),256))]),_:1})]),key:"0"}:void 0]),1024),a.createVNode(v,{direction:"vertical","border-style":"dashed",color:"white"}),a.renderSlot(r.$slots,"default"),r.parentList&&r.parentList.length>1?(a.openBlock(),a.createElementBlock("i",{key:0,title:a.unref(X).i18nt("designer.hint.moveUpWidget"),onClick:s[4]||(s[4]=a.withModifiers(g=>a.unref(n)(r.parentList,r.widget),["stop"]))},[a.createVNode(Mr,{name:"@el-move-up"})],8,WP)):a.createCommentVNode("",!0),r.parentList&&r.parentList.length>1?(a.openBlock(),a.createElementBlock("i",{key:1,title:a.unref(X).i18nt("designer.hint.moveDownWidget"),onClick:s[5]||(s[5]=a.withModifiers(g=>a.unref(d)(r.parentList,r.widget),["stop"]))},[a.createVNode(Mr,{name:"@el-move-down"})],8,KP)):a.createCommentVNode("",!0),a.createElementVNode("i",{title:a.unref(X).i18nt("designer.hint.cloneWidget"),onClick:s[6]||(s[6]=a.withModifiers(g=>a.unref(p)(r.widget,r.parentList),["stop"]))},[a.createVNode(Mr,{name:"@el-clone"})],8,GP),a.createElementVNode("i",{title:a.unref(X).i18nt("designer.hint.remove"),onClick:s[7]||(s[7]=a.withModifiers(g=>a.unref(y)(r.widget,r.parentWidget,r.parentList),["stop"]))},[a.createVNode(Mr,{name:"@el-delete"})],8,XP)],64))],64)}}}),lpe="";function Of(e){return{getAttrProp:o=>{var d,n,p,i,r,s;var c=(p=(n=(d=e==null?void 0:e.propOptions)==null?void 0:d.fieldObj)==null?void 0:n.attrs)==null?void 0:p[o],y=(s=(r=(i=e==null?void 0:e.propOptions)==null?void 0:i.fieldObj)==null?void 0:r.extendAttrs)==null?void 0:s[o];return ii(c)?y:c}}}const On=a.defineComponent({__name:"widget-wrapper",props:{...i6},setup(e){var D;const t=e,{selectWidget:o}=Af(t.designer),{widgetTree:c}=H0((D=t.designer)==null?void 0:D.widgetList,!0),{pathNodes:y,parentTree:d}=q0(c.value,t.widget),{size:n,displayLayout:p,labelAlign:i,labelWidth:r,formItemFlag:s,labelSuffix:u,labelHidden:f}=vP(t,Dt(y.value)),{getAttrProp:m}=Of(t),v=a.computed(()=>m==null?void 0:m("hidden")),h=a.computed(()=>m==null?void 0:m("labelWidth")),l=S=>S&&!["div","span"].includes(S),g=a.computed(()=>{var S;return(S=t.widget)==null?void 0:S.id}),_=a.computed(()=>{var S,T;return(S=t.widget)!=null&&S.type?[Xe.grid,Xe.gridCol,Xe.wrapper].includes((T=t.widget)==null?void 0:T.type):!1}),x=a.computed(()=>{const S=m==null?void 0:m(Ft.width),T=m==null?void 0:m(Ft.ctrlWidth),O=m==null?void 0:m(Ft.customClass),B=m==null?void 0:m(Ft.componentWrapperClass);let F={};return h.value!=hu.auto&&h.value&&(F.labelWidth=h.value),{size:n.value,labelAlign:i.value,labelWidth:r.value,formItemFlag:s.value,formItemAttr:F,ctrlWidth:T,displayStyle:p.value,labelSuffix:u.value||"",injectStyle:{},injectClass:[S?"":"full-width",ol(O),g.value],componentWrapperClass:ol(B)}}),b=a.computed(()=>[(m==null?void 0:m(Ft.width))?"":"full-width"]),E=a.computed(()=>{var S,T,O;return!!t.designer&&((S=t.widget)==null?void 0:S.id)===((O=(T=t.designer)==null?void 0:T.selectedWidget)==null?void 0:O.id)}),C=a.ref(),A=a.ref(),k=a.computed(()=>{var S,T;if(C.value&&A.value&&E.value)return((S=C.value)==null?void 0:S.offsetWidth)>((T=A.value)==null?void 0:T.offsetWidth)});return(S,T)=>{var O,B,F,I,L,q;return S.designState?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(S.componentName),a.mergeProps({key:0,class:["field-wrapper",[E.value?"selected":""," drag-handler",S.propOptions.class,S.showWrapperComponent?b.value:""]],style:S.propOptions.style,onClick:T[0]||(T[0]=a.withModifiers(R=>a.unref(o)(S.widget,S.parentWidget,S.parentList),["stop"])),ref_key:"wrapperRef",ref:A,tabindex:0},l(S.componentName)?(B=(O=S.propOptions)==null?void 0:O.fieldObj)==null?void 0:B.attrs:{}),{default:a.withCtx(()=>{var R,z,H;return[a.renderSlot(S.$slots,"default",{data:x.value}),((z=(R=S.designer)==null?void 0:R.selectedWidget)==null?void 0:z.id)===((H=S.widget)==null?void 0:H.id)?(a.openBlock(),a.createElementBlock("div",{key:0,class:"action",ref_key:"dragHandlerRef",ref:C},[a.createVNode(JP,{simple:k.value,"design-state":S.designState,designer:S.designer,widget:S.widget,"parent-widget":S.parentWidget,"parent-list":S.parentList,parentTree:a.unref(d),hidden:v.value},{default:a.withCtx(()=>[a.renderSlot(S.$slots,"drag")]),_:3},8,["simple","design-state","designer","widget","parent-widget","parent-list","parentTree","hidden"])],512)):a.createCommentVNode("",!0)]}),_:3},16,["class","style"])):!v.value||_.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[S.showWrapperComponent?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(S.componentName),a.mergeProps({key:0},l(S.componentName)?(I=(F=S.propOptions)==null?void 0:F.fieldObj)==null?void 0:I.attrs:{},a.toHandlers(l(S.componentName)?(q=(L=S.propOptions)==null?void 0:L.fieldObj)==null?void 0:q.events:{}),{class:[S.propOptions.class,b.value,v.value&&_.value?"hlhidden":""],style:{...x.value.injectStyle,...S.propOptions.style}}),{default:a.withCtx(()=>[a.renderSlot(S.$slots,"default",a.mergeProps({data:x.value},S.$props))]),_:3},16,["class","style"])):a.renderSlot(S.$slots,"default",a.mergeProps({key:1,data:x.value},S.$props))],64)):a.createCommentVNode("",!0)}}}),YP=a.defineComponent({componentName:Gt.ContainerWidget}),QP=a.defineComponent({...YP,__name:"cont-widget",props:{...Ur},setup(e,{expose:t}){const o=e,{watchPropAndSaveHistoryStep:c,fieldObj:y,exposed:d}=Qt(o),{customClass:n}=so({widget:o.widget});return c(Ft.cols),t({...d}),(p,i)=>(a.openBlock(),a.createBlock(On,a.mergeProps(p.$props,{showWrapperComponent:!0,"prop-options":{fieldObj:a.unref(y),class:[a.unref(n)]}}),{default:a.withCtx(()=>{var r;return[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList((r=p.widget)==null?void 0:r.cols,(s,u)=>{var f;return a.openBlock(),a.createBlock(V0,{key:s.id,widget:s,designer:p.designer,"design-state":p.designState,"parent-list":(f=p.widget)==null?void 0:f.cols,"parent-widget":p.widget},null,8,["widget","designer","design-state","parent-list","parent-widget"])}),128))]}),_:1},16,["prop-options"]))}}),upe="",Vx=Object.freeze(Object.defineProperty({__proto__:null,default:QP},Symbol.toStringTag,{value:"Module"}));function ZP(e){const t=e.widget,o=e.designer,c=o==null?void 0:o.pageConfig,y=e==null?void 0:e.widgetList,d=a.ref({}),n={},{fieldModel:p,fieldName:i,fieldEditor:r,attrs:s,events:u,hasFieldOptions:f,exposed:m,fieldObj:v,watchOption:h,propResultOpt:l,extendAttrs:g}=Qt(e),{off$:_,on$:x,emit$:b,broadcast:E}=Tf();var{instance:C}=xi();const{setAllRefList:A}=Do(d.value),k={designState:e==null?void 0:e.designState,pageConfig:c,globalConfig:l==null?void 0:l.globalConfig},{formModel:D,setData:S,getData:T,clearData:O}=Y0(y,{...k}),{handleFunc:B}=K0({options:c},k),F=a.reactive({}),I=()=>{_(an.fieldChange),x(an.fieldChange,be=>{V(be==null?void 0:be.fieldName,be==null?void 0:be.newValue,be==null?void 0:be.oldValue),m==null||m.setValue(D),G(be==null?void 0:be.fieldName,be==null?void 0:be.newValue,be==null?void 0:be.oldValue)})},L=()=>{_(an.fieldValidation),x(an.fieldValidation,be=>{var oe;(oe=r.value)==null||oe.validateField(be==null?void 0:be.propName)})},q=()=>{_(an.fieldRuleChange),x(an.fieldRuleChange,be=>{var ue;var oe=(ue=be==null?void 0:be.rules)==null?void 0:ue.map(pe=>({required:pe.required,message:pe.message,trigger:pe.trigger,validator:pe.validator}));Object.assign(F,{[be==null?void 0:be.fieldName]:oe}),s.value.rules=F})},R=a.ref(!1),z=a.reactive({}),H=a.reactive({}),M=be=>{Hc(H),Nn(H,be)},$=()=>({change_info:En(z),before_info:En(H),after_info:En(D),flag:R.value}),G=(be,oe,ue)=>{var pe=H[be];_a(oe,ue)||_a(oe,pe)||(R.value=!0,be&&Nn(z,{[be]:{oldValue:pe,newValue:oe,beforeValue:ue}}))},J=()=>{R.value=!1,Hc(z),M(T())},V=(be,oe,ue)=>{B(u.value.formDataChange,{field:{fieldName:be,newValue:oe,oldValue:ue},formModel:D})},ee=()=>{B(u.value.formCreated)},fe=()=>{B(u.value.formMounted)},me=()=>{q(),I(),L(),ee()},ye=be=>{var oe;(oe=r.value)==null||oe.clearValidate(be)},ge=()=>{A(Or.resetField),a.nextTick(()=>{ye()})},De=(be,oe)=>{let ue=[];for(let Pe in be){var pe=be[Pe],xe=pe==null?void 0:pe.filter(Ne=>(Ne==null?void 0:Ne.force)===oe);xe==null||xe.forEach(Ne=>{var W;const Z=(W=Ne==null?void 0:Ne.rule)==null?void 0:W.label;Ne.message&&ue.push(N6(Z?"【"+Z+"】":"",Ne.message,":"))})}return oy(ue)},K=(be,oe)=>{var ue={};return Sl(oe,pe=>{var xe=lt.getName(pe),Pe=Hr(be,xe);return Pe&&(ue[xe]=be[xe]),Pe},!1),ue},ne=(be=!0)=>{var xe,Pe,Ne;let oe=T(),ue=function(){},pe=new Promise(function(Z,W){ue=function(Q,ce){(ce?W:Z)({data:Q,isSuccess:!ce,message:ce})}});return!((xe=r.value)!=null&&xe.validate)||!be?(ue(oe),pe):((Ne=(Pe=r.value)==null?void 0:Pe.validate)==null||Ne.call(Pe,(Z,W)=>{if(Z)ue(oe);else{var Q=De(W,!0);if(Q&&Q.length>0){ue(oe,Q);return}var ce=De(W,!1);if(ce&&ce.length>0){ce.push(X.i18nt("designer.hint.continue")),n2.multiple(ce).then(Se=>{ue(oe)});return}}}),pe)},le=(be,oe=!0)=>{if(!t)return;var ue=K(be,[t]);S(ue,oe);const pe=["refList","widgetRefList"];E(Gt.ContainerWidget,sl.setFormData,be,C,pe),E(Gt.FieldWidget,sl.setFormData,be,C,pe)},de=be=>new Promise((oe,ue)=>{const pe=(W,Q)=>{var he;const ce=(he=g.value)==null?void 0:he.formDataLoaded;let Se=ce?ce==null?void 0:ce(T(),W):W;yi(Se)?le(Se,!Q):Se={},M(Se),oe(Se)},xe=()=>{h(Ft.newDataSource).then(W=>{pe(W,!0)})},Pe=()=>{h(Ft.editDataSource).then(W=>{var Se;const Q=(Se=g.value)==null?void 0:Se.needFormAdd;if((Q==null?void 0:Q(W))&&Z){xe();return}pe(W,!1)})},Ne=f(Ft.editDataSource),Z=f(Ft.newDataSource);Ne?Pe():Z&&xe()});return me(),a.onMounted(()=>{my(),fe()}),{widgetRefList:d,allWidgetRefList:n,fieldEditor:r,formModel:D,pageConfig:c,widgetList:y,fieldModel:p,fieldName:i,attrs:s,extendAttrs:g,events:u,rules:F,loadData:de,clearData:O,exposed:{...m,setValue:le,getValue:ne,resetField:ge,clearData:O,loadData:de,getData:T,clearChangeRecord:J,getChangeRecord:$,emit$:b},fieldObj:v}}const VP=a.defineComponent({componentName:Gt.ContainerWidget}),e9=a.defineComponent({...VP,__name:"form-widget",props:{...Ur},setup(e,{expose:t}){var g;const o=e,{exposed:c,formModel:y,fieldEditor:d,attrs:n,events:p,widgetRefList:i,extendAttrs:r,fieldName:s,fieldObj:u,loadData:f}=ZP({...o,widgetList:(g=o==null?void 0:o.widget)==null?void 0:g.widgetList}),m=s.value,v=a.computed(()=>{var _,x;return{disabled:(_=n.value)==null?void 0:_.disabled,readonly:(x=r.value)==null?void 0:x.readonly}}),h=a.ref(!1),l=a.computed(()=>{var _;return h.value||((_=r.value)==null?void 0:_.showLoading)});return Ys.globalProvide({globalFormName:m,globalDataModel:y,globalFormOptions:v}),a.onMounted(()=>{var _;(_=r.value)!=null&&_.loadDataWhenInit&&!o.designState&&(h.value=!0,f(!0).catch(x=>{}).finally(()=>{h.value=!1,c.clearChangeRecord()}))}),t({...c}),(_,x)=>{const b=a.resolveComponent("el-form"),E=a.resolveDirective("loading");return a.openBlock(),a.createBlock(On,a.mergeProps(_.$props,{"prop-options":{fieldObj:a.unref(u)}}),{default:a.withCtx(({data:C})=>{var A;return[a.withDirectives((a.openBlock(),a.createBlock(b,a.mergeProps({ref_key:"fieldEditor",ref:d,model:a.unref(y)},a.unref(n),a.toHandlers(a.unref(p)),{class:C.injectClass,key:(A=a.unref(u))==null?void 0:A.fieldKey,"element-loading-text":a.unref(r).loadingText||a.unref(X).i18nt("designer.hint.dataLoading"),onSubmit:x[0]||(x[0]=a.withModifiers(()=>{},["prevent"]))}),{default:a.withCtx(()=>{var k;return[a.createVNode(bn,a.mergeProps(_.$props,{dragClass:"formDrag padSize",model:a.unref(y),provideModel:!0,"component-class":C.componentWrapperClass,refList:a.unref(i),"show-suspense":(k=a.unref(r))==null?void 0:k.showSuspense}),null,16,["model","component-class","refList","show-suspense"])]}),_:2},1040,["model","class","element-loading-text"])),[[E,l.value]])]}),_:1},16,["prop-options"])}}}),cpe="",e_=Object.freeze(Object.defineProperty({__proto__:null,default:Jr(e9,[["__scopeId","data-v-2649eac0"]])},Symbol.toStringTag,{value:"Module"})),t9=a.defineComponent({componentName:Gt.ContainerWidget}),t_=a.defineComponent({...t9,__name:"grid-col-widget",props:{...Ur},setup(e,{expose:t}){const o=e,{attrs:c,fieldObj:y,extendAttrs:d,exposed:n}=Qt(o),p=a.computed(()=>o.propOptions.colHeight?{height:o.propOptions.colHeight}:{}),{customClass:i,componentWrapperClass:r}=so({widget:o.widget}),s=a.computed(()=>(Object.keys(c.value).forEach(u=>{var v,h;var f=["xs","sm","md","lg","xl"],m=["span"];!((v=c.value)!=null&&v.responsive)&&f.includes(u)&&delete c.value[u],(h=c.value)!=null&&h.responsive&&m.includes(u)&&delete c.value[u]}),a.reactive(c.value)));return t({...n}),(u,f)=>{var m,v,h;return a.openBlock(),a.createBlock(On,a.mergeProps(u.$props,{showWrapperComponent:!0,"component-name":"el-col",key:(m=u.widget)==null?void 0:m.id,"prop-options":{fieldObj:{...a.unref(y),attrs:s.value},class:["content-cell","nopadding","nomargin",(v=a.unref(d))==null?void 0:v.horizontalAlign,(h=a.unref(d))==null?void 0:h.verticalAlign,a.unref(i)],style:p.value}}),{default:a.withCtx(()=>[a.createVNode(bn,a.mergeProps(u.$props,{dragClass:"dragSize1","component-class":a.unref(r)}),null,16,["component-class"])]),_:1},16,["prop-options"])}}}),n_=Object.freeze(Object.defineProperty({__proto__:null,default:t_},Symbol.toStringTag,{value:"Module"})),n9=a.defineComponent({componentName:Gt.ContainerWidget}),r9=a.defineComponent({...n9,__name:"grid-widget",props:{...Ur},setup(e,{expose:t}){const o=e,{extendAttrs:c,watchPropAndSaveHistoryStep:y,fieldObj:d,exposed:n}=Qt(o),{customClass:p}=so({widget:o.widget});return y(Ft.cols),t({...n}),(i,r)=>{var s;return a.openBlock(),a.createBlock(On,a.mergeProps(i.$props,{"component-name":"el-row",key:(s=i.widget)==null?void 0:s.id,showWrapperComponent:!0,"prop-options":{fieldObj:a.unref(d),class:["nopadding","nomargin",a.unref(p)]}}),{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.widget.cols,(u,f)=>(a.openBlock(),a.createBlock(t_,{key:u.id,widget:u,designer:i.designer,"design-state":i.designState,"parent-list":i.widget.cols,"parent-widget":i.widget,"prop-options":{colHeight:a.unref(c).colHeight}},null,8,["widget","designer","design-state","parent-list","parent-widget","prop-options"]))),128))]),_:1},16,["prop-options"])}}}),r_=Object.freeze(Object.defineProperty({__proto__:null,default:r9},Symbol.toStringTag,{value:"Module"})),i9=["title"],s9=a.defineComponent({componentName:Gt.ContainerWidget}),i_=a.defineComponent({...s9,__name:"ltable-col-widget",props:{...Ur},setup(e,{expose:t}){const o=e,{insertTableRow:c,insertTableCol:y,mergeTableWholeRow:d,mergeTableRow:n,mergeTableCol:p,mergeTableWholeCol:i,undoMergeTableCol:r,undoMergeTableRow:s,deleteTableWholeCol:u,deleteTableWholeRow:f,copyTableWholeRow:m,copyTableWholeCol:v}=Ux(),{emitHistoryChangeAfter:h}=Af(o.designer),{attrs:l,fieldObj:g,exposed:_}=Qt(o),x=a.computed(()=>l.value.rowspan),b=a.computed(()=>l.value.colspan),E=a.computed(()=>l.value.cellWidth),C=a.computed(()=>l.value.cellHeight),A=a.computed(()=>{var xe,Pe;return((Pe=(xe=o.propOptions)==null?void 0:xe.colAttrs)==null?void 0:Pe.colIndex)||0}),k=a.computed(()=>{var xe,Pe;return((Pe=(xe=o.propOptions)==null?void 0:xe.colAttrs)==null?void 0:Pe.colArray)||[]}),D=a.computed(()=>{var xe,Pe;return((Pe=(xe=o.propOptions)==null?void 0:xe.colAttrs)==null?void 0:Pe.rowIndex)||0}),S=a.computed(()=>{var xe,Pe;return((Pe=(xe=o.propOptions)==null?void 0:xe.colAttrs)==null?void 0:Pe.rowArray)||[]}),T=a.computed(()=>{var xe,Pe;return((Pe=(xe=o.propOptions)==null?void 0:xe.colAttrs)==null?void 0:Pe.colLength)||0}),O=a.computed(()=>{var xe,Pe;return((Pe=(xe=o.propOptions)==null?void 0:xe.colAttrs)==null?void 0:Pe.rowLength)||0}),{componentWrapperClass:B}=so({widget:o.widget}),F=a.computed(()=>A.value<=0||lt.getOptions(k.value[A.value-1],"rowspan")!=x.value),I=a.computed(()=>{let xe=A.value+(b.value||0);return A.value>=T.value-1||xe>T.value-1||lt.getOptions(k.value[xe],"rowspan")!==x.value}),L=a.computed(()=>T.value<=1||T.value===b.value),q=a.computed(()=>D.value<=0||lt.getOptions(S.value[D.value-1].cols[A.value],"colspan")!==b.value),R=a.computed(()=>{let xe=D.value+(x.value||0);return D.value>=O.value-1||xe>O.value-1||lt.getOptions(S.value[xe].cols[A.value],"colspan")!==b.value}),z=a.computed(()=>O.value<=1||O.value===x.value),H=a.computed(()=>{var xe;return((xe=Dt(o.widget))==null?void 0:xe.merged)||(x.value||1)<=1}),M=a.computed(()=>{var xe;return((xe=Dt(o.widget))==null?void 0:xe.merged)||(x.value||1)<=1}),$=a.computed(()=>T.value===1||b.value===T.value),G=a.computed(()=>O.value===1||x.value===O.value),J=()=>{var xe;h(y(Dt(o.parentWidget),A.value,D.value,!0),`insertLeftCol ${(xe=o.widget)==null?void 0:xe.id}`)},V=()=>{var xe;h(y(Dt(o.parentWidget),A.value,D.value,!1),`insertRightCol ${(xe=o.widget)==null?void 0:xe.id}`)},ee=()=>{var xe;h(c(Dt(o.parentWidget),D.value,D.value,A.value,!0),`insertAboveRow ${(xe=o.widget)==null?void 0:xe.id}`)},fe=()=>{var xe;h(c(Dt(o.parentWidget),D.value,D.value,A.value,!1),`insertBelowRow ${(xe=o.widget)==null?void 0:xe.id}`)},me=()=>{var xe;h(p(S.value,k.value,D.value,A.value,!0,o.widget),`mergeLeftCol ${(xe=o.widget)==null?void 0:xe.id}`)},ye=()=>{var xe;h(p(S.value,k.value,D.value,A.value,!1,o.widget),`mergeRightCol ${(xe=o.widget)==null?void 0:xe.id}`)},ge=()=>{var xe;h(d(S.value,k.value,D.value,A.value),`mergeWholeRow ${(xe=o.widget)==null?void 0:xe.id}`)},De=()=>{var xe;h(n(S.value,D.value,A.value,!0,o.widget),`mergeAboveRow ${(xe=o.widget)==null?void 0:xe.id}`)},K=()=>{var xe;h(n(S.value,D.value,A.value,!1,o.widget),`mergeBelowRow ${(xe=o.widget)==null?void 0:xe.id}`)},ne=()=>{var xe;h(i(S.value,k.value,D.value,A.value),`mergeWholeCol ${(xe=o.widget)==null?void 0:xe.id}`)},le=()=>{var xe;h(r(S.value,D.value,A.value,b.value,x.value),`undoMergeCol ${(xe=o.widget)==null?void 0:xe.id}`)},de=()=>{var xe;h(s(S.value,D.value,A.value,b.value,x.value),`undoMergeRow ${(xe=o.widget)==null?void 0:xe.id}`)},be=()=>{var xe;h(u(S.value,A.value),`deleteWholeCol ${(xe=o.widget)==null?void 0:xe.id}`)},oe=()=>{var xe;h(f(S.value,D.value),`deleteWholeRow ${(xe=o.widget)==null?void 0:xe.id}`)},ue=()=>{var xe;h(v(S.value,A.value),`copyWholeCol ${(xe=o.widget)==null?void 0:xe.id}`)},pe=()=>{var xe;h(m(S.value,D.value),`copyWholeRow ${(xe=o.widget)==null?void 0:xe.id}`)};return t({..._}),(xe,Pe)=>{const Ne=a.resolveComponent("el-dropdown-item"),Z=a.resolveComponent("el-dropdown-menu"),W=a.resolveComponent("el-dropdown");return a.openBlock(),a.createBlock(On,a.mergeProps(xe.$props,{"show-wrapper-component":!0,"component-name":"td","prop-options":{class:"table-cell",style:{width:E.value+"!important"||"",height:C.value+"!important"||""},fieldObj:{...a.unref(g),colspan:b.value.value||1,rowspan:x.value.value||1}}}),{drag:a.withCtx(()=>[a.createVNode(W,{trigger:"click",size:"small"},{dropdown:a.withCtx(()=>[a.createVNode(Z,null,{default:a.withCtx(()=>[a.createVNode(Ne,{onClick:Pe[0]||(Pe[0]=Q=>J())},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.insertColumnToLeft")),1)]),_:1}),a.createVNode(Ne,{onClick:Pe[1]||(Pe[1]=Q=>V())},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.insertColumnToRight")),1)]),_:1}),a.createVNode(Ne,{onClick:Pe[2]||(Pe[2]=Q=>ee())},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.insertRowAbove")),1)]),_:1}),a.createVNode(Ne,{onClick:Pe[3]||(Pe[3]=Q=>fe())},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.insertRowBelow")),1)]),_:1}),a.createVNode(Ne,{onClick:Pe[4]||(Pe[4]=Q=>me()),disabled:F.value,divided:""},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.mergeLeftColumn")),1)]),_:1},8,["disabled"]),a.createVNode(Ne,{onClick:Pe[5]||(Pe[5]=Q=>ye()),disabled:I.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.mergeRightColumn")),1)]),_:1},8,["disabled"]),a.createVNode(Ne,{onClick:Pe[6]||(Pe[6]=Q=>ge()),disabled:L.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.mergeEntireRow")),1)]),_:1},8,["disabled"]),a.createVNode(Ne,{onClick:Pe[7]||(Pe[7]=Q=>De()),disabled:q.value,divided:""},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.mergeRowAbove")),1)]),_:1},8,["disabled"]),a.createVNode(Ne,{onClick:Pe[8]||(Pe[8]=Q=>K()),disabled:R.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.mergeRowBelow")),1)]),_:1},8,["disabled"]),a.createVNode(Ne,{onClick:Pe[9]||(Pe[9]=Q=>ne()),disabled:z.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.mergeEntireColumn")),1)]),_:1},8,["disabled"]),a.createVNode(Ne,{onClick:Pe[10]||(Pe[10]=Q=>de()),disabled:M.value,divided:""},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.undoMergeRow")),1)]),_:1},8,["disabled"]),a.createVNode(Ne,{onClick:Pe[11]||(Pe[11]=Q=>le()),disabled:H.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.undoMergeCol")),1)]),_:1},8,["disabled"]),a.createVNode(Ne,{onClick:Pe[12]||(Pe[12]=Q=>be()),disabled:$.value,divided:""},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.deleteEntireCol")),1)]),_:1},8,["disabled"]),a.createVNode(Ne,{onClick:Pe[13]||(Pe[13]=Q=>oe()),disabled:G.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.deleteEntireRow")),1)]),_:1},8,["disabled"]),a.createVNode(Ne,{onClick:Pe[14]||(Pe[14]=Q=>ue()),divided:""},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.copyEntireCol")),1)]),_:1}),a.createVNode(Ne,{onClick:Pe[15]||(Pe[15]=Q=>pe())},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.setting.copyEntireRow")),1)]),_:1})]),_:1})]),default:a.withCtx(()=>[a.createElementVNode("i",{title:a.unref(X).i18nt("designer.hint.cellSetting")},[a.createVNode(Mr,{name:"@el-menu"})],8,i9)]),_:1})]),default:a.withCtx(()=>[a.createVNode(bn,a.mergeProps(xe.$props,{"component-class":a.unref(B)}),null,16,["component-class"])]),_:1},16,["prop-options"])}}}),s_=Object.freeze(Object.defineProperty({__proto__:null,default:i_},Symbol.toStringTag,{value:"Module"})),o9=["element-loading-text"],a9=a.defineComponent({componentName:Gt.ContainerWidget}),l9=a.defineComponent({...a9,__name:"ltable-widget",props:{...Ur},setup(e,{expose:t}){const o=e,{extendAttrs:c,fieldObj:y,exposed:d}=Qt(o),{customClass:n}=so({widget:o.widget});return t({...d}),(p,i)=>{const r=a.resolveDirective("loading");return a.openBlock(),a.createBlock(On,a.mergeProps(p.$props,{"prop-options":{fieldObj:a.unref(y)}}),{default:a.withCtx(()=>{var s,u,f;return[(a.openBlock(),a.createElementBlock("div",{key:(s=p.widget)==null?void 0:s.id,class:a.normalizeClass(["table-container",a.unref(n)])},[a.withDirectives((a.openBlock(),a.createElementBlock("table",{class:"table-layout","element-loading-text":a.unref(c).loadingText},[a.createElementVNode("tbody",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList((u=p.widget)==null?void 0:u.rows,(m,v)=>(a.openBlock(),a.createElementBlock("tr",{key:m.id},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(m.cols,(h,l)=>{var g,_;return a.openBlock(),a.createElementBlock(a.Fragment,null,[h.merged?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(i_,{widget:h,designer:p.designer,"design-state":p.designState,key:h.id,"parent-list":m.cols,"parent-widget":p.widget,"prop-options":{colAttrs:{rowIndex:v,rowLength:(g=p.widget)==null?void 0:g.rows.length,rowArray:(_=p.widget)==null?void 0:_.rows,colIndex:l,colLength:m.cols.length,colArray:m.cols}}},null,8,["widget","designer","design-state","parent-list","parent-widget","prop-options"]))],64)}),256))]))),128))])],8,o9)),[[r,(f=a.unref(c))==null?void 0:f.showLoading]])],2))]}),_:1},16,["prop-options"])}}}),fpe="",o_=Object.freeze(Object.defineProperty({__proto__:null,default:Jr(l9,[["__scopeId","data-v-b4d3bf11"]])},Symbol.toStringTag,{value:"Module"})),u9=a.defineComponent({componentName:Gt.ContainerWidget}),a_=a.defineComponent({...u9,__name:"tab-pane-widget",props:{...Ur},setup(e,{expose:t}){const o=e,{exposed:c,fieldObj:y,attrs:d}=Qt(o),{componentWrapperClass:n,customClass:p}=so({widget:o.widget});return t({...c}),(i,r)=>{var s;return a.openBlock(),a.createBlock(On,a.mergeProps(i.$props,{"show-wrapper-component":!0,"component-name":"el-tab-pane",key:(s=i.widget)==null?void 0:s.id,"prop-options":{fieldObj:a.unref(y),class:["content-cell",a.unref(p)]}}),{default:a.withCtx(()=>{var u;return[a.createVNode(bn,a.mergeProps(i.$props,{dragClass:"dragSize","show-suspense":(u=a.unref(d))==null?void 0:u.showSuspense,"component-class":a.unref(n)}),null,16,["show-suspense","component-class"])]}),_:1},16,["prop-options"])}}}),l_=Object.freeze(Object.defineProperty({__proto__:null,default:a_},Symbol.toStringTag,{value:"Module"})),c9=a.defineComponent({componentName:Gt.ContainerWidget}),p9=a.defineComponent({...c9,__name:"tabs-widget",props:{...Ur},setup(e,{expose:t}){const o=e,{fieldKey:c,fieldObj:y,attrs:d,extendAttrs:n,events:p,exposed:i,watchPropAndSaveHistoryStep:r}=Qt(o),{addTabPaneOfTabs:s,initTabPane:u,getActiveTab:f,deleteTabPaneOfTabs:m,findTabPaneOfTabs:v}=zx(),h=a.computed(()=>{const A=f(Dt(o.widget));if(A)return lt.getName(A)}),l=a.ref(),g=a.computed({get:()=>l.value||h.value,set:A=>{l.value=A}}),_=()=>g.value,x=A=>{g.value=A},b=A=>{var k=v(Dt(o.widget),A);ii(k)||m(Dt(o.widget),k)},E=A=>{s(Dt(o.widget),u(A))},C=()=>{g.value=Dt(h.value),i.refreshKey()};return r(Ft.tabs),t({...i,tabAdd:E,tabRemove:b,getValue:_,setValue:x,refresh:C}),(A,k)=>{const D=a.resolveComponent("el-tabs"),S=a.resolveDirective("loading");return a.openBlock(),a.createBlock(On,a.mergeProps(A.$props,{"prop-options":{fieldObj:a.unref(y)}}),{default:a.withCtx(({data:T})=>{var O;return[a.withDirectives((a.openBlock(),a.createBlock(D,a.mergeProps({key:a.unref(c)},a.unref(d),a.toHandlers(a.unref(p)),{modelValue:g.value,"onUpdate:modelValue":k[0]||(k[0]=B=>g.value=B),class:T.injectClass,style:{...T.injectStyle,width:T.ctrlWidth},"element-loading-text":a.unref(n).loadingText}),{default:a.withCtx(()=>{var B;return[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList((B=A.widget)==null?void 0:B.tabs,(F,I)=>{var L;return a.openBlock(),a.createBlock(a_,{key:a.unref(lt).getName(F),widget:F,designer:A.designer,"design-state":A.designState,"parent-list":(L=A.widget)==null?void 0:L.tabs,"parent-widget":A.widget},null,8,["widget","designer","design-state","parent-list","parent-widget"])}),128))]}),_:1},16,["modelValue","class","style","element-loading-text"])),[[S,(O=a.unref(n))==null?void 0:O.showLoading]])]}),_:1},16,["prop-options"])}}}),u_=Object.freeze(Object.defineProperty({__proto__:null,default:p9},Symbol.toStringTag,{value:"Module"}));function f9(e){const t=a.ref({}),{componentWrapperClass:o,customClass:c}=so({widget:e.widget}),{exposed:y,attrs:d,extendAttrs:n,fieldKey:p,fieldObj:i}=Qt(e),{setAllRefList:r}=Do(t.value),s=(v=!1)=>{var h;(h=y==null?void 0:y.setDisabled)==null||h.call(y,v),r(Or.setDisabled,{flag:v})},u=(v=!1)=>{var h;(h=y==null?void 0:y.setHidden)==null||h.call(y,v)},f=()=>{r(Or.resetField)};return(v=>{a.watch(()=>{var h;return(h=d.value)==null?void 0:h[v]},h=>{h!=null&&v==="disabled"&&s(h)},{immediate:!0})})("disabled"),{extendAttrs:n,attrs:d,exposed:{...y,setDisabled:s,setHidden:u,resetField:f},componentWrapperClass:o,customClass:c,fieldKey:p,fieldObj:i,widgetRefList:t}}const d9=["element-loading-text"],h9=a.defineComponent({componentName:Gt.ContainerWidget}),m9=a.defineComponent({...h9,__name:"wrapper-widget",props:{...Ur},setup(e,{expose:t}){const o=e,{attrs:c,extendAttrs:y,exposed:d,fieldObj:n,fieldKey:p,widgetRefList:i}=f9(o),r=a.computed(()=>{var s,u;return{disabled:(s=c.value)==null?void 0:s.disabled,readonly:(u=c.value)==null?void 0:u.readonly}});return Ys.globalProvide({globalFormOptions:r}),t({...d}),(s,u)=>{const f=a.resolveDirective("loading");return a.openBlock(),a.createBlock(On,a.mergeProps(s.$props,{"prop-options":{fieldObj:a.unref(n)},"component-name":"div","show-wrapper-component":!0}),{default:a.withCtx(({data:m})=>{var v,h,l,g,_;return[s.designState||!((v=a.unref(c))!=null&&v.hidden)||!((h=a.unref(c))!=null&&h.lazy)?a.withDirectives((a.openBlock(),a.createElementBlock("div",{ref:"fieldEditor",class:a.normalizeClass(m.injectClass),key:a.unref(p),"element-loading-text":(l=a.unref(y))==null?void 0:l.loadingText},[a.createVNode(bn,a.mergeProps(s.$props,{dragClass:"dragSize padSize","component-class":m.componentWrapperClass,refList:a.unref(i),"show-suspense":(g=a.unref(y))==null?void 0:g.showSuspense}),null,16,["component-class","refList","show-suspense"])],10,d9)),[[f,(_=a.unref(y))==null?void 0:_.showLoading]]):a.createCommentVNode("",!0)]}),_:1},16,["prop-options"])}}}),c_=Object.freeze(Object.defineProperty({__proto__:null,default:m9},Symbol.toStringTag,{value:"Module"}));function p_(e){let t=new Map;for(const o in e){let c=e==null?void 0:e[o],y=c==null?void 0:c.default,d=(y==null?void 0:y.name)||(y==null?void 0:y.__name);t[d]=y}return t}function f_(){return p_(Object.assign({"../cont-cell-widget.vue":Zx,"../cont-widget.vue":Vx,"../form-widget.vue":e_,"../grid-col-widget.vue":n_,"../grid-widget.vue":r_,"../ltable-col-widget.vue":s_,"../ltable-widget.vue":o_,"../tab-pane-widget.vue":l_,"../tabs-widget.vue":u_,"../wrapper-widget.vue":c_}))}const g9={install:e=>{const t=f_();for(const o in Object.keys(t))e.component(o,t[o])}},y9={install:e=>{const t=f_();for(const o in Object.keys(t))e.component(o,t[o])}},v9={style:{width:"99%",height:"99%",margin:"0 auto"}},b9=["src","id"],x9=["id"],_9={class:"dialog-footer"},E9={style:{width:"99%",height:"99%",margin:"0 auto"}},w9=["src","id"],S9=["id"],C9={class:"dialog-footer"},A9={style:{width:"99%",height:"99%",margin:"0 auto"}},k9=["src","id"],T9=["id"],D9=a.defineComponent({__name:"index",props:{..._S},emits:["ok","cancel","close"],setup(e,{emit:t}){const o=t,c=e,y=a.ref(!0),d=a.ref(),n=a.ref(!0),p=()=>{n.value=!1};a.computed(()=>c.modalType?`el-${c.modalType}`:"el-dialog"),a.computed(()=>{});const i=()=>{if(oi(c.htmlContent))return;const r=d.value;if(r){const s=r.contentWindow.document;s.open(),s.write(c.htmlContent),s.close()}};return a.onMounted(()=>{a.nextTick(()=>{i()})}),(r,s)=>{const u=a.resolveComponent("el-button"),f=a.resolveComponent("el-dialog"),m=a.resolveComponent("el-drawer"),v=a.resolveComponent("el-popover"),h=a.resolveDirective("loading");return!r.modalType||r.modalType==a.unref(Yc).dialog?(a.openBlock(),a.createBlock(f,a.mergeProps({key:0,modelValue:y.value,"onUpdate:modelValue":s[3]||(s[3]=l=>y.value=l),class:"--hl-dialog1",top:"15vh",fullscreen:r.fullscreen,title:r.title,"close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!0,width:r.width},r.exterOptions,{style:{height:r.height}}),{footer:a.withCtx(()=>{var l,g,_;return[a.createElementVNode("span",_9,[(l=r.dialogType)!=null&&l.includes(a.unref(Ca).close)?(a.openBlock(),a.createBlock(u,{key:0,onClick:s[0]||(s[0]=x=>{o("close",{})}),size:"large"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.hint.close")),1)]),_:1})):a.createCommentVNode("",!0),(g=r.dialogType)!=null&&g.includes(a.unref(Ca).cancel)?(a.openBlock(),a.createBlock(u,{key:1,onClick:s[1]||(s[1]=x=>{o("cancel",{iframeRef:d.value})}),size:"large"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.hint.close")),1)]),_:1})):a.createCommentVNode("",!0),(_=r.dialogType)!=null&&_.includes(a.unref(Ca).save)?(a.openBlock(),a.createBlock(u,{key:2,type:"primary",onClick:s[2]||(s[2]=x=>{o("ok",{iframeRef:d.value})}),size:"large"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.hint.confirm")),1)]),_:1})):a.createCommentVNode("",!0)])]}),default:a.withCtx(()=>[a.withDirectives((a.openBlock(),a.createElementBlock("div",v9,[r.url?(a.openBlock(),a.createElementBlock("iframe",{key:0,frameborder:"0",ref_key:"iframeRef",ref:d,style:{width:"100%",height:"100%"},src:r.url,onLoad:p,id:a.unref(Gs)()},null,40,b9)):r.htmlContent?(a.openBlock(),a.createElementBlock("iframe",{key:1,frameborder:"0",ref_key:"iframeRef",ref:d,style:{width:"100%",height:"100%"},id:a.unref(Gs)(),onLoad:p},null,40,x9)):a.createCommentVNode("",!0)])),[[h,n.value]])]),_:1},16,["modelValue","fullscreen","title","width","style"])):r.modalType===a.unref(Yc).drawer?(a.openBlock(),a.createBlock(m,a.mergeProps({key:1,modelValue:y.value,"onUpdate:modelValue":s[7]||(s[7]=l=>y.value=l),"close-on-click-modal":!1,"close-on-press-escape":!1,"show-close":!0,title:r.title,size:r.width,style:{height:r.height}},r.exterOptions),{footer:a.withCtx(()=>{var l,g,_;return[a.createElementVNode("span",C9,[(l=r.dialogType)!=null&&l.includes(a.unref(Ca).close)?(a.openBlock(),a.createBlock(u,{key:0,onClick:s[4]||(s[4]=x=>{o("close",{})}),size:"large"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.hint.close")),1)]),_:1})):a.createCommentVNode("",!0),(g=r.dialogType)!=null&&g.includes(a.unref(Ca).cancel)?(a.openBlock(),a.createBlock(u,{key:1,onClick:s[5]||(s[5]=x=>{o("cancel",{iframeRef:d.value})}),size:"large"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.hint.close")),1)]),_:1})):a.createCommentVNode("",!0),(_=r.dialogType)!=null&&_.includes(a.unref(Ca).save)?(a.openBlock(),a.createBlock(u,{key:2,type:"primary",onClick:s[6]||(s[6]=x=>{o("ok",{iframeRef:d.value})}),size:"large"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(a.unref(X).i18nt("designer.hint.confirm")),1)]),_:1})):a.createCommentVNode("",!0)])]}),default:a.withCtx(()=>[a.withDirectives((a.openBlock(),a.createElementBlock("div",E9,[r.url?(a.openBlock(),a.createElementBlock("iframe",{key:0,frameborder:"0",ref_key:"iframeRef",ref:d,style:{width:"100%",height:"100%"},src:r.url,onLoad:p,id:a.unref(Gs)()},null,40,w9)):r.htmlContent?(a.openBlock(),a.createElementBlock("iframe",{key:1,frameborder:"0",ref_key:"iframeRef",ref:d,style:{width:"100%",height:"100%"},id:a.unref(Gs)(),onLoad:p},null,40,S9)):a.createCommentVNode("",!0)])),[[h,n.value]])]),_:1},16,["modelValue","title","size","style"])):r.modalType===a.unref(Yc).popover?(a.openBlock(),a.createBlock(v,a.mergeProps({key:2,visible:y.value,"onUpdate:visible":s[8]||(s[8]=l=>y.value=l),title:r.title,width:r.width,style:{height:r.height}},r.exterOptions),{reference:a.withCtx(()=>[...s[9]||(s[9]=[a.createElementVNode("span",{style:{display:"none"}},null,-1)])]),default:a.withCtx(()=>[a.withDirectives((a.openBlock(),a.createElementBlock("div",A9,[r.url?(a.openBlock(),a.createElementBlock("iframe",{key:0,frameborder:"0",ref_key:"iframeRef",ref:d,style:{width:"100%",height:"100%"},src:r.url,onLoad:p,id:a.unref(Gs)()},null,40,k9)):r.htmlContent?(a.openBlock(),a.createElementBlock("iframe",{key:1,frameborder:"0",ref_key:"iframeRef",ref:d,style:{width:"100%",height:"100%"},id:a.unref(Gs)(),onLoad:p},null,40,T9)):a.createCommentVNode("",!0)])),[[h,n.value]])]),_:1},16,["visible","title","width","style"])):a.createCommentVNode("",!0)}}}),gpe="",d_=Object.freeze(Object.defineProperty({__proto__:null,default:D9},Symbol.toStringTag,{value:"Module"}));function O9(){return p_(Object.assign({"./index.vue":d_}))}const P9={install:e=>{const t=O9();e.use(vS);for(const o in Object.keys(t))e.component(o,t[o])}};function B9(e,t,o,c){const y={r:255,g:255,b:255};return{r:Math.round(e*(1-c)+y.r*c),g:Math.round(t*(1-c)+y.g*c),b:Math.round(o*(1-c)+y.b*c)}}function N9(e,t,o,c=!1,y=5){const d=[];for(let n=0;n<y;n++){const p=B9(e,t,o,n*.1);d.push(p)}return d}function Pf(e,t=!1,o=5){const c=I9(e),y=N9(c.r,c.g,c.b,t,o);return y==null?void 0:y.map(d=>F9(d.r,d.g,d.b))}function F9(e,t,o){const c=y=>{const d=y.toString(16);return d.length===1?"0"+d:d};return`#${c(e)}${c(t)}${c(o)}`}function I9(e){e=e.replace(/^#/,""),e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);const t=parseInt(e,16);return{r:t>>16&255,g:t>>8&255,b:t&255}}function M9(e,t,o){return(e*299+t*587+o*114)/1e3>=128?"black":"white"}function L9(e){let t=0,o=0,c=0;if(e.startsWith("#")){let y=e.slice(1);if(y.length===3&&(y=y.split("").map(d=>d+d).join("")),y.length!==6)throw new Error("Invalid Hex color format");t=parseInt(y.slice(0,2),16),o=parseInt(y.slice(2,4),16),c=parseInt(y.slice(4,6),16)}else if(e.startsWith("rgb")){const y=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(!y)throw new Error("Invalid RGB color format");t=parseInt(y[1],10),o=parseInt(y[2],10),c=parseInt(y[3],10)}else throw new Error("Unsupported color format");return M9(t,o,c)}function R9(e,t){return{cssWithPrimaryColor:a.computed(()=>{var d,n;const c=(t==null?void 0:t.themeColor)||iy.color1;var y={themeColor:c};return(d=Pf(c,!1,10))==null||d.forEach((p,i)=>{y["themeColor-"+i]=p}),!Cn(e)&&zr(e)&&((n=Zn(y))==null||n.forEach(p=>{var i=`var\\(--${p}\\)`;e=_o(e,i,y[p])})),e})}}function j9(e){var{addWindowName:t,addWindowHook:o}=zh();t(),o("openModalAsync",c=>{Av(e==null?void 0:e.instance,c)}),o("ElMessage",Wr.ElMessage),o("ElMessageBox",Wr.ElMessageBox),o("ElNotification",Wr.ElNotification)}function $9(e){const t=e.designer,o=t==null?void 0:t.pageConfig,c=a.ref(t==null?void 0:t.widgetList),y=e==null?void 0:e.produceState,d=e==null?void 0:e.designState,n=e==null?void 0:e.pageData,p=e==null?void 0:e.renderConfig,i={},r={},{off$:s,on$:u,emit$:f}=Tf();var{instance:m,proxy:v}=xi();const h={instance:m,designState:d,formData:n,pageConfig:o,globalConfig:p},{handleFunc:l}=K0({options:o},h),{callWidgetsExposed:g}=Do(r),{formModel:_,setData:x,getData:b,clearData:E}=Y0(c.value,h),C=new Ju(i),A=new Ju(r),{findRefByName:k}=Do(r),{getOneSchemaData:D,getSchemaDataObject:S,getSchemaDatas:T,getGlobalParams:O}=bf(h);let F=(()=>"vfRender"+Ti())();const I=()=>{l(o==null?void 0:o.pageCreated)},L=()=>{l(o==null?void 0:o.pageMounted)},q=a.computed(()=>y?F:""),R=()=>{const{insertCustomCssToHead:de,insertGlobalFunctionsToHtml:be}=W0(),oe=re.getValue(o==null?void 0:o.cssCode,!1,!0);if(oe){const{cssWithPrimaryColor:ue}=R9(oe,{themeColor:(p==null?void 0:p.themeColor)||""});de(ue.value,q.value)}return new Promise(ue=>{const pe=re.getValue(o==null?void 0:o.functions,!1,!0);pe?be(pe,q.value).then(xe=>{ue(xe)}):ue(!0)})},z=()=>{const{removeCustomCssToHead:de,removeGlobalFunctionsToHtml:be}=W0();de(q.value),be(q.value)},H=()=>{$(),I(),De(),K()},M=zc.page,$=()=>{C.setWidgetRef(M,m),A.setWidgetRef(M,m)},G=de=>g(de,Or.getValue),J=(de,be)=>g(de,Or.setValue,be),V=(de,be=!0)=>{g(de,Or.setDisabled,{flag:be})},ee=de=>{V(de,!1)},fe=(de,be=!0)=>{g(de,Or.setHidden,{flag:be})},me=de=>{fe(de,!1)},ye=de=>{if(de){var be=ir(de);if(be){if(!be.pageConfig||!be.widgetList)return"Invalid pageat of page json.";Nn(e.pageConfig,be),R().then(oe=>{a.nextTick(()=>{H(),L()})})}else return"Set page json failed."}},ge=(de,be,oe)=>{v==null||v.$emit(sl.formChange,de,be,oe,_)},De=()=>{s(an.fieldChange),u(an.fieldChange,de=>{ge(de==null?void 0:de.fieldName,de==null?void 0:de.newValue,de==null?void 0:de.oldValue)})},K=()=>{s(an.fieldValidation),u(an.fieldValidation,de=>{})},ne=a.ref(!1),le=a.ref(!1);return a.watch([ne,le],([de,be])=>{de&&be&&L()}),R().then(()=>{H(),ne.value=!0}),a.onMounted(()=>{E(),my(),j9({instance:m}),le.value=!0}),a.onUnmounted(()=>{E(),y&&z()}),{formModel:_,pageConfig:o,widgetList:c,widgetRefList:i,allWidgetRefList:r,exposed:{findRefByName:k,setPageJson:ye,hideWidgets:fe,showWidgets:me,disableWidgets:V,enableWidgets:ee,getFieldValue:G,setFieldValue:J,setData:x,getData:b,clearData:E,getOneSchemaData:D,getSchemaDataObject:S,getSchemaDatas:T,getGlobalParams:O,emit$:f}}}function U9(){const e={},t=(y,d,n)=>{e[y]={opt:d,doEvent:n}},o=(y,d)=>{var p,i;const n=e==null?void 0:e[y==null?void 0:y.toLocaleLowerCase()];if(((p=n==null?void 0:n.opt)==null?void 0:p.ctrlKey)===(d==null?void 0:d.ctrlKey))return(i=n==null?void 0:n.doEvent)==null?void 0:i.call(n)};return{bindKey:t,runEvent:y=>{const d=y.ctrlKey||y.metaKey,n=y.key;o(n,{ctrlKey:d})}}}function z9(e){const{bindKey:t,runEvent:o}=U9(),c=()=>{t("enter",{ctrlKey:!1},p),t("arrowleft",{ctrlKey:!0},i)},y=r=>(c(),o(r)),d="input,select,textarea",n=["textarea"],p=()=>{var m,v;var r=e.querySelectorAll(d);const s=document.activeElement,u=(m=s==null?void 0:s.nodeName)==null?void 0:m.toLocaleLowerCase();if(!u||n.includes(u))return!1;for(var f=0;f<r.length;f++){const h=r[f];if(h==s)return f==r.length-1?!1:((v=r[f+1])==null||v.focus(),!0);h==null||h.blur()}return!1},i=r=>{var m,v;var s=e.querySelectorAll(d);const u=document.activeElement;(m=u==null?void 0:u.nodeName)==null||m.toLocaleLowerCase();for(var f=0;f<s.length;f++){const h=s[f];if(h==u)return f==0?!1:((v=s[f-1])==null||v.focus(),!0);h==null||h.blur()}return!1};return{addKeyBoardEvent:y}}const H9=["element-loading-text"],q9=a.defineComponent({componentName:Gt.VFormRender,name:Gt.VFormRender}),W9=a.defineComponent({...q9,props:{...Ur,pageData:{type:Object},renderConfig:{type:Object}},setup(e,{expose:t,emit:o}){const c=e,y=o,{formModel:d,exposed:n,widgetList:p,pageConfig:i,allWidgetRefList:r}=$9(c),s=a.computed(()=>{var _,x;return re.getValue((x=(_=c.designer)==null?void 0:_.pageConfig)==null?void 0:x.layoutType)||""}),u=a.computed(()=>Dt(qn(re.getValue(i==null?void 0:i.customClass),!0))||[]),f=a.computed(()=>{var _;return(_=re.getValue(i==null?void 0:i.componentWrapperClass))==null?void 0:_.join(" ")}),m=a.ref(!1),v={};Ys.globalProvide({formRefList:v,globalRefList:r,globalDataModel:d,globalFormName:Gt.VFormRender}),a.provide(lr.globalConfig,c.renderConfig),a.provide(lr.isRenderComplete,m);const h=a.ref(),l=_=>{const{addKeyBoardEvent:x}=z9(h.value);x(_)},g=()=>{m.value=!0,y(sl.renderComplete)};return t({...n,componentName:Gt.VFormRender}),(_,x)=>{const b=a.resolveDirective("loading");return a.withDirectives((a.openBlock(),a.createElementBlock("div",{"element-loading-text":a.unref(X).i18nt("designer.hint.loading"),class:a.normalizeClass([...u.value,s.value+"-layout",{loadingLayout:!m.value}]),tabindex:"0",ref_key:"taregtWrapperRef",ref:h,onKeyup:[a.withKeys(l,["enter"]),a.withKeys(l,["left"])]},[a.renderSlot(_.$slots,"header",{},void 0,!0),a.renderSlot(_.$slots,"default",{},()=>[(a.openBlock(),a.createBlock(a.Suspense,{onResolve:g},{default:a.withCtx(()=>[a.createVNode(bn,{designer:_.designer,"widget-list":a.unref(p),model:a.unref(d),"design-state":!1,"component-class":f.value},null,8,["designer","widget-list","model","component-class"])]),_:1}))],!0),a.renderSlot(_.$slots,"footer",{},void 0,!0)],42,H9)),[[b,!m.value]])}}}),vpe="",h_=Jr(W9,[["__scopeId","data-v-a47ae94c"]]);function K9(e){return{getSFCCode:()=>new Promise((y,d)=>{Promise.resolve().then(()=>vre).then(n=>{const{genSFC:p}=n,i=p(e==null?void 0:e.pageConfig,e==null?void 0:e.widgetList,!1);y==null||y(i)})}),getFieldItems:()=>new Promise((y,d)=>{Promise.resolve().then(()=>bre).then(n=>{const{useGenFieldItemList:p}=n,{filterFieldItems:i}=p(e==null?void 0:e.widgetList),r=i();y==null||y(r)})}),getCtx:y=>{const{instance:d}=xi(y);return Xs({instance:d})}}}const G9=e=>{e.use(y9),e.use(g9)};h_.install=G9;const X9={install(e){e.use(P9),e.component("VFormRender",h_)}};var em={},m_={};const J9={name:"estraverse",description:"ECMAScript JS AST traversal functions",homepage:"https://github.com/estools/estraverse",main:"estraverse.js",version:"4.3.0",engines:{node:">=4.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/estraverse.git"},devDependencies:{"babel-preset-env":"^1.6.1","babel-register":"^6.3.13",chai:"^2.1.1",espree:"^1.11.0",gulp:"^3.8.10","gulp-bump":"^0.2.2","gulp-filter":"^2.0.0","gulp-git":"^1.0.1","gulp-tag-version":"^1.3.0",jshint:"^2.5.6",mocha:"^2.1.0"},license:"BSD-2-Clause",scripts:{test:"npm run-script lint && npm run-script unit-test",lint:"jshint estraverse.js","unit-test":"mocha --compilers js:babel-register"}};(function(e){(function t(o){var c,y,d,n,p,i;function r(b){var E={},C,A;for(C in b)b.hasOwnProperty(C)&&(A=b[C],typeof A=="object"&&A!==null?E[C]=r(A):E[C]=A);return E}function s(b,E){var C,A,k,D;for(A=b.length,k=0;A;)C=A>>>1,D=k+C,E(b[D])?A=C:(k=D+1,A-=C+1);return k}c={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},d={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},n={},p={},i={},y={Break:n,Skip:p,Remove:i};function u(b,E){this.parent=b,this.key=E}u.prototype.replace=function(E){this.parent[this.key]=E},u.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function f(b,E,C,A){this.node=b,this.path=E,this.wrap=C,this.ref=A}function m(){}m.prototype.path=function(){var E,C,A,k,D,S;function T(O,B){if(Array.isArray(B))for(A=0,k=B.length;A<k;++A)O.push(B[A]);else O.push(B)}if(!this.__current.path)return null;for(D=[],E=2,C=this.__leavelist.length;E<C;++E)S=this.__leavelist[E],T(D,S.path);return T(D,this.__current.path),D},m.prototype.type=function(){var b=this.current();return b.type||this.__current.wrap},m.prototype.parents=function(){var E,C,A;for(A=[],E=1,C=this.__leavelist.length;E<C;++E)A.push(this.__leavelist[E].node);return A},m.prototype.current=function(){return this.__current.node},m.prototype.__execute=function(E,C){var A,k;return k=void 0,A=this.__current,this.__current=C,this.__state=null,E&&(k=E.call(this,C.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=A,k},m.prototype.notify=function(E){this.__state=E},m.prototype.skip=function(){this.notify(p)},m.prototype.break=function(){this.notify(n)},m.prototype.remove=function(){this.notify(i)},m.prototype.__initialize=function(b,E){this.visitor=E,this.root=b,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,E.fallback==="iteration"?this.__fallback=Object.keys:typeof E.fallback=="function"&&(this.__fallback=E.fallback),this.__keys=d,E.keys&&(this.__keys=Object.assign(Object.create(this.__keys),E.keys))};function v(b){return b==null?!1:typeof b=="object"&&typeof b.type=="string"}function h(b,E){return(b===c.ObjectExpression||b===c.ObjectPattern)&&E==="properties"}m.prototype.traverse=function(E,C){var A,k,D,S,T,O,B,F,I,L,q,R;for(this.__initialize(E,C),R={},A=this.__worklist,k=this.__leavelist,A.push(new f(E,null,null,null)),k.push(new f(null,null,null,null));A.length;){if(D=A.pop(),D===R){if(D=k.pop(),O=this.__execute(C.leave,D),this.__state===n||O===n)return;continue}if(D.node){if(O=this.__execute(C.enter,D),this.__state===n||O===n)return;if(A.push(R),k.push(D),this.__state===p||O===p)continue;if(S=D.node,T=S.type||D.wrap,L=this.__keys[T],!L)if(this.__fallback)L=this.__fallback(S);else throw new Error("Unknown node type "+T+".");for(F=L.length;(F-=1)>=0;)if(B=L[F],q=S[B],!!q)if(Array.isArray(q)){for(I=q.length;(I-=1)>=0;)if(q[I]){if(h(T,L[F]))D=new f(q[I],[B,I],"Property",null);else if(v(q[I]))D=new f(q[I],[B,I],null,null);else continue;A.push(D)}}else v(q)&&A.push(new f(q,B,null,null))}}},m.prototype.replace=function(E,C){var A,k,D,S,T,O,B,F,I,L,q,R,z;function H(M){var $,G,J,V;if(M.ref.remove()){for(G=M.ref.key,V=M.ref.parent,$=A.length;$--;)if(J=A[$],J.ref&&J.ref.parent===V){if(J.ref.key<G)break;--J.ref.key}}}for(this.__initialize(E,C),q={},A=this.__worklist,k=this.__leavelist,R={root:E},O=new f(E,null,null,new u(R,"root")),A.push(O),k.push(O);A.length;){if(O=A.pop(),O===q){if(O=k.pop(),T=this.__execute(C.leave,O),T!==void 0&&T!==n&&T!==p&&T!==i&&O.ref.replace(T),(this.__state===i||T===i)&&H(O),this.__state===n||T===n)return R.root;continue}if(T=this.__execute(C.enter,O),T!==void 0&&T!==n&&T!==p&&T!==i&&(O.ref.replace(T),O.node=T),(this.__state===i||T===i)&&(H(O),O.node=null),this.__state===n||T===n)return R.root;if(D=O.node,!!D&&(A.push(q),k.push(O),!(this.__state===p||T===p))){if(S=D.type||O.wrap,I=this.__keys[S],!I)if(this.__fallback)I=this.__fallback(D);else throw new Error("Unknown node type "+S+".");for(B=I.length;(B-=1)>=0;)if(z=I[B],L=D[z],!!L)if(Array.isArray(L)){for(F=L.length;(F-=1)>=0;)if(L[F]){if(h(S,I[B]))O=new f(L[F],[z,F],"Property",new u(L,F));else if(v(L[F]))O=new f(L[F],[z,F],null,new u(L,F));else continue;A.push(O)}}else v(L)&&A.push(new f(L,z,null,new u(D,z)))}}return R.root};function l(b,E){var C=new m;return C.traverse(b,E)}function g(b,E){var C=new m;return C.replace(b,E)}function _(b,E){var C;return C=s(E,function(k){return k.range[0]>b.range[0]}),b.extendedRange=[b.range[0],b.range[1]],C!==E.length&&(b.extendedRange[1]=E[C].range[0]),C-=1,C>=0&&(b.extendedRange[0]=E[C].range[1]),b}function x(b,E,C){var A=[],k,D,S,T;if(!b.range)throw new Error("attachComments needs range information");if(!C.length){if(E.length){for(S=0,D=E.length;S<D;S+=1)k=r(E[S]),k.extendedRange=[0,b.range[0]],A.push(k);b.leadingComments=A}return b}for(S=0,D=E.length;S<D;S+=1)A.push(_(r(E[S]),C));return T=0,l(b,{enter:function(O){for(var B;T<A.length&&(B=A[T],!(B.extendedRange[1]>O.range[0]));)B.extendedRange[1]===O.range[0]?(O.leadingComments||(O.leadingComments=[]),O.leadingComments.push(B),A.splice(T,1)):T+=1;if(T===A.length)return y.Break;if(A[T].extendedRange[0]>O.range[1])return y.Skip}}),T=0,l(b,{leave:function(O){for(var B;T<A.length&&(B=A[T],!(O.range[1]<B.extendedRange[0]));)O.range[1]===B.extendedRange[0]?(O.trailingComments||(O.trailingComments=[]),O.trailingComments.push(B),A.splice(T,1)):T+=1;if(T===A.length)return y.Break;if(A[T].extendedRange[0]>O.range[1])return y.Skip}}),b}return o.version=J9.version,o.Syntax=c,o.traverse=l,o.replace=g,o.attachComments=x,o.VisitorKeys=d,o.VisitorOption=y,o.Controller=m,o.cloneEnvironment=function(){return t({})},o})(e)})(m_);var Bf={},tm={},Y9={get exports(){return tm},set exports(e){tm=e}};(function(){function e(n){if(n==null)return!1;switch(n.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function t(n){if(n==null)return!1;switch(n.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function o(n){if(n==null)return!1;switch(n.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function c(n){return o(n)||n!=null&&n.type==="FunctionDeclaration"}function y(n){switch(n.type){case"IfStatement":return n.alternate!=null?n.alternate:n.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return n.body}return null}function d(n){var p;if(n.type!=="IfStatement"||n.alternate==null)return!1;p=n.consequent;do{if(p.type==="IfStatement"&&p.alternate==null)return!0;p=y(p)}while(p);return!1}Y9.exports={isExpression:e,isStatement:o,isIterationStatement:t,isSourceElement:c,isProblematicIfStatement:d,trailingStatement:y}})();var Nf={},Q9={get exports(){return Nf},set exports(e){Nf=e}};(function(){var e,t,o,c,y,d;t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function n(l){return 48<=l&&l<=57}function p(l){return 48<=l&&l<=57||97<=l&&l<=102||65<=l&&l<=70}function i(l){return l>=48&&l<=55}o=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function r(l){return l===32||l===9||l===11||l===12||l===160||l>=5760&&o.indexOf(l)>=0}function s(l){return l===10||l===13||l===8232||l===8233}function u(l){if(l<=65535)return String.fromCharCode(l);var g=String.fromCharCode(Math.floor((l-65536)/1024)+55296),_=String.fromCharCode((l-65536)%1024+56320);return g+_}for(c=new Array(128),d=0;d<128;++d)c[d]=d>=97&&d<=122||d>=65&&d<=90||d===36||d===95;for(y=new Array(128),d=0;d<128;++d)y[d]=d>=97&&d<=122||d>=65&&d<=90||d>=48&&d<=57||d===36||d===95;function f(l){return l<128?c[l]:t.NonAsciiIdentifierStart.test(u(l))}function m(l){return l<128?y[l]:t.NonAsciiIdentifierPart.test(u(l))}function v(l){return l<128?c[l]:e.NonAsciiIdentifierStart.test(u(l))}function h(l){return l<128?y[l]:e.NonAsciiIdentifierPart.test(u(l))}Q9.exports={isDecimalDigit:n,isHexDigit:p,isOctalDigit:i,isWhiteSpace:r,isLineTerminator:s,isIdentifierStartES5:f,isIdentifierPartES5:m,isIdentifierStartES6:v,isIdentifierPartES6:h}})();var nm={},Z9={get exports(){return nm},set exports(e){nm=e}};(function(){var e=Nf;function t(f){switch(f){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function o(f,m){return!m&&f==="yield"?!1:c(f,m)}function c(f,m){if(m&&t(f))return!0;switch(f.length){case 2:return f==="if"||f==="in"||f==="do";case 3:return f==="var"||f==="for"||f==="new"||f==="try";case 4:return f==="this"||f==="else"||f==="case"||f==="void"||f==="with"||f==="enum";case 5:return f==="while"||f==="break"||f==="catch"||f==="throw"||f==="const"||f==="yield"||f==="class"||f==="super";case 6:return f==="return"||f==="typeof"||f==="delete"||f==="switch"||f==="export"||f==="import";case 7:return f==="default"||f==="finally"||f==="extends";case 8:return f==="function"||f==="continue"||f==="debugger";case 10:return f==="instanceof";default:return!1}}function y(f,m){return f==="null"||f==="true"||f==="false"||o(f,m)}function d(f,m){return f==="null"||f==="true"||f==="false"||c(f,m)}function n(f){return f==="eval"||f==="arguments"}function p(f){var m,v,h;if(f.length===0||(h=f.charCodeAt(0),!e.isIdentifierStartES5(h)))return!1;for(m=1,v=f.length;m<v;++m)if(h=f.charCodeAt(m),!e.isIdentifierPartES5(h))return!1;return!0}function i(f,m){return(f-55296)*1024+(m-56320)+65536}function r(f){var m,v,h,l,g;if(f.length===0)return!1;for(g=e.isIdentifierStartES6,m=0,v=f.length;m<v;++m){if(h=f.charCodeAt(m),55296<=h&&h<=56319){if(++m,m>=v||(l=f.charCodeAt(m),!(56320<=l&&l<=57343)))return!1;h=i(h,l)}if(!g(h))return!1;g=e.isIdentifierPartES6}return!0}function s(f,m){return p(f)&&!y(f,m)}function u(f,m){return r(f)&&!d(f,m)}Z9.exports={isKeywordES5:o,isKeywordES6:c,isReservedWordES5:y,isReservedWordES6:d,isRestrictedWord:n,isIdentifierNameES5:p,isIdentifierNameES6:r,isIdentifierES5:s,isIdentifierES6:u}})(),function(){Bf.ast=tm,Bf.code=Nf,Bf.keyword=nm}();const V9={name:"escodegen",description:"ECMAScript code generator",homepage:"http://github.com/estools/escodegen",main:"escodegen.js",bin:{esgenerate:"./bin/esgenerate.js",escodegen:"./bin/escodegen.js"},files:["LICENSE.BSD","README.md","bin","escodegen.js","package.json"],version:"1.14.3",engines:{node:">=4.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^4.2.0",esutils:"^2.0.2",esprima:"^4.0.1",optionator:"^0.8.1"},optionalDependencies:{"source-map":"~0.6.1"},devDependencies:{acorn:"^7.1.0",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^3.5.0","commonjs-everywhere":"^0.9.7",gulp:"^3.8.10","gulp-eslint":"^3.0.1","gulp-mocha":"^3.0.1",semver:"^5.1.0"},license:"BSD-2-Clause",scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}};(function(e){(function(){var t,o,c,y,d,n,p,i,r,s,u,f,m,v,h,l,g,_,x,b,E,C,A,k,D,S;d=m_,n=Bf,t=d.Syntax;function T(te){return gt.Expression.hasOwnProperty(te.type)}function O(te){return gt.Statement.hasOwnProperty(te.type)}o={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,LogicalOR:3,LogicalAND:4,BitwiseOR:5,BitwiseXOR:6,BitwiseAND:7,Equality:8,Relational:9,BitwiseSHIFT:10,Additive:11,Multiplicative:12,Exponentiation:13,Await:14,Unary:14,Postfix:15,Call:16,New:17,TaggedTemplate:18,Member:19,Primary:20},c={"||":o.LogicalOR,"&&":o.LogicalAND,"|":o.BitwiseOR,"^":o.BitwiseXOR,"&":o.BitwiseAND,"==":o.Equality,"!=":o.Equality,"===":o.Equality,"!==":o.Equality,is:o.Equality,isnt:o.Equality,"<":o.Relational,">":o.Relational,"<=":o.Relational,">=":o.Relational,in:o.Relational,instanceof:o.Relational,"<<":o.BitwiseSHIFT,">>":o.BitwiseSHIFT,">>>":o.BitwiseSHIFT,"+":o.Additive,"-":o.Additive,"*":o.Multiplicative,"%":o.Multiplicative,"/":o.Multiplicative,"**":o.Exponentiation};var B=1,F=1<<1,I=1<<2,L=1<<3,q=1<<4,R=1<<5,z=F|I,H=B|F,M=B|F|I,$=B,G=I,J=B|I,V=B,ee=B|R,fe=0,me=B|q,ye=B|L;function ge(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:`
764
764
  `,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function De(te,Ae){var ke="";for(Ae|=0;Ae>0;Ae>>>=1,te+=te)Ae&1&&(ke+=te);return ke}function K(te){return/[\r\n]/g.test(te)}function ne(te){var Ae=te.length;return Ae&&n.code.isLineTerminator(te.charCodeAt(Ae-1))}function le(te,Ae){var ke;for(ke in Ae)Ae.hasOwnProperty(ke)&&(te[ke]=Ae[ke]);return te}function de(te,Ae){var ke,Be;function ze(ut){return typeof ut=="object"&&ut instanceof Object&&!(ut instanceof RegExp)}for(ke in Ae)Ae.hasOwnProperty(ke)&&(Be=Ae[ke],ze(Be)?ze(te[ke])?de(te[ke],Be):te[ke]=de({},Be):te[ke]=Be);return te}function be(te){var Ae,ke,Be,ze,ut;if(te!==te)throw new Error("Numeric literal whose value is NaN");if(te<0||te===0&&1/te<0)throw new Error("Numeric literal whose value is negative");if(te===1/0)return r?"null":s?"1e400":"1e+400";if(Ae=""+te,!s||Ae.length<3)return Ae;for(ke=Ae.indexOf("."),!r&&Ae.charCodeAt(0)===48&&ke===1&&(ke=0,Ae=Ae.slice(1)),Be=Ae,Ae=Ae.replace("e+","e"),ze=0,(ut=Be.indexOf("e"))>0&&(ze=+Be.slice(ut+1),Be=Be.slice(0,ut)),ke>=0&&(ze-=Be.length-ke-1,Be=+(Be.slice(0,ke)+Be.slice(ke+1))+""),ut=0;Be.charCodeAt(Be.length+ut-1)===48;)--ut;return ut!==0&&(ze-=ut,Be=Be.slice(0,ut)),ze!==0&&(Be+="e"+ze),(Be.length<Ae.length||u&&te>1e12&&Math.floor(te)===te&&(Be="0x"+te.toString(16)).length<Ae.length)&&+Be===te&&(Ae=Be),Ae}function oe(te,Ae){return(te&-2)===8232?(Ae?"u":"\\u")+(te===8232?"2028":"2029"):te===10||te===13?(Ae?"":"\\")+(te===10?"n":"r"):String.fromCharCode(te)}function ue(te){var Ae,ke,Be,ze,ut,vt,Tt,jt;if(ke=te.toString(),te.source){if(Ae=ke.match(/\/([^/]*)$/),!Ae)return ke;for(Be=Ae[1],ke="",Tt=!1,jt=!1,ze=0,ut=te.source.length;ze<ut;++ze)vt=te.source.charCodeAt(ze),jt?(ke+=oe(vt,jt),jt=!1):(Tt?vt===93&&(Tt=!1):vt===47?ke+="\\":vt===91&&(Tt=!0),ke+=oe(vt,jt),jt=vt===92);return"/"+ke+"/"+Be}return ke}function pe(te,Ae){var ke;return te===8?"\\b":te===12?"\\f":te===9?"\\t":(ke=te.toString(16).toUpperCase(),r||te>255?"\\u"+"0000".slice(ke.length)+ke:te===0&&!n.code.isDecimalDigit(Ae)?"\\0":te===11?"\\x0B":"\\x"+"00".slice(ke.length)+ke)}function xe(te){if(te===92)return"\\\\";if(te===10)return"\\n";if(te===13)return"\\r";if(te===8232)return"\\u2028";if(te===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function Pe(te){var Ae,ke,Be,ze;for(ze=f==="double"?'"':"'",Ae=0,ke=te.length;Ae<ke;++Ae)if(Be=te.charCodeAt(Ae),Be===39){ze='"';break}else if(Be===34){ze="'";break}else Be===92&&++Ae;return ze+te+ze}function Ne(te){var Ae="",ke,Be,ze,ut=0,vt=0,Tt,jt;for(ke=0,Be=te.length;ke<Be;++ke){if(ze=te.charCodeAt(ke),ze===39)++ut;else if(ze===34)++vt;else if(ze===47&&r)Ae+="\\";else if(n.code.isLineTerminator(ze)||ze===92){Ae+=xe(ze);continue}else if(!n.code.isIdentifierPartES5(ze)&&(r&&ze<32||!r&&!m&&(ze<32||ze>126))){Ae+=pe(ze,te.charCodeAt(ke+1));continue}Ae+=String.fromCharCode(ze)}if(Tt=!(f==="double"||f==="auto"&&vt<ut),jt=Tt?"'":'"',!(Tt?ut:vt))return jt+Ae+jt;for(te=Ae,Ae=jt,ke=0,Be=te.length;ke<Be;++ke)ze=te.charCodeAt(ke),(ze===39&&Tt||ze===34&&!Tt)&&(Ae+="\\"),Ae+=String.fromCharCode(ze);return Ae+jt}function Z(te){var Ae,ke,Be,ze="";for(Ae=0,ke=te.length;Ae<ke;++Ae)Be=te[Ae],ze+=Array.isArray(Be)?Z(Be):Be;return ze}function W(te,Ae){if(!C)return Array.isArray(te)?Z(te):te;if(Ae==null){if(te instanceof y)return te;Ae={}}return Ae.loc==null?new y(null,null,C,te,Ae.name||null):new y(Ae.loc.start.line,Ae.loc.start.column,C===!0?Ae.loc.source||null:C,te,Ae.name||null)}function Q(){return h||" "}function ce(te,Ae){var ke,Be,ze,ut;return ke=W(te).toString(),ke.length===0?[Ae]:(Be=W(Ae).toString(),Be.length===0?[te]:(ze=ke.charCodeAt(ke.length-1),ut=Be.charCodeAt(0),(ze===43||ze===45)&&ze===ut||n.code.isIdentifierPartES5(ze)&&n.code.isIdentifierPartES5(ut)||ze===47&&ut===105?[te,Q(),Ae]:n.code.isWhiteSpace(ze)||n.code.isLineTerminator(ze)||n.code.isWhiteSpace(ut)||n.code.isLineTerminator(ut)?[te,Ae]:[te,h,Ae]))}function Se(te){return[p,te]}function he(te){var Ae;Ae=p,p+=i,te(p),p=Ae}function Fe(te){var Ae;for(Ae=te.length-1;Ae>=0&&!n.code.isLineTerminator(te.charCodeAt(Ae));--Ae);return te.length-1-Ae}function Me(te,Ae){var ke,Be,ze,ut,vt,Tt,jt,hn;for(ke=te.split(/\r\n|[\r\n]/),Tt=Number.MAX_VALUE,Be=1,ze=ke.length;Be<ze;++Be){for(ut=ke[Be],vt=0;vt<ut.length&&n.code.isWhiteSpace(ut.charCodeAt(vt));)++vt;Tt>vt&&(Tt=vt)}for(typeof Ae<"u"?(jt=p,ke[1][Tt]==="*"&&(Ae+=" "),p=Ae):(Tt&1&&--Tt,jt=p),Be=1,ze=ke.length;Be<ze;++Be)hn=W(Se(ke[Be].slice(Tt))),ke[Be]=C?hn.join(""):hn;return p=jt,ke.join(`
765
765
  `)}function Ve(te,Ae){if(te.type==="Line"){if(ne(te.value))return"//"+te.value;var ke="//"+te.value;return k||(ke+=`
@@ -4,7 +4,7 @@ import { I as B } from "./field-base-1acf3ada.js";
4
4
  import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4889bd91.js";
5
5
  import { b as I } from "./share-field-c413e55b.js";
6
6
  import { w as O } from "./expression-2e171e7f.js";
7
- import { D as P } from "./drag-wrapper-42c5afd6.js";
7
+ import { D as P } from "./drag-wrapper-2b219253.js";
8
8
  import { g as W } from "./slot-41107354.js";
9
9
  import "./widget-base-8eece820.js";
10
10
  import "./index-348deabd.js";
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as $, computed as l, openBlock as p, createBlock as d, normalizeProps as B, mergeProps as m, withCtx as I, createVNode as v, unref as t, createElementVNode as S, toDisplayString as V, resolveDynamicComponent as E, createCommentVNode as N } from "vue";
2
2
  import { i as _, e as s } from "./enum-type-6c255e6f.js";
3
- import { _ as K } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-30ef70a9.js";
3
+ import { _ as K } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-cc526709.js";
4
4
  import { I as W } from "./field-base-1acf3ada.js";
5
5
  import { b as T } from "./share-field-c413e55b.js";
6
6
  import { w as q } from "./expression-2e171e7f.js";
7
- import { D as O } from "./drag-wrapper-42c5afd6.js";
7
+ import { D as O } from "./drag-wrapper-2b219253.js";
8
8
  import { g as G, d as k } from "./slot-41107354.js";
9
9
  import { _ as H } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4889bd91.js";
10
10
  import { t as J } from "./index-31e1760d.js";
@@ -3,7 +3,7 @@ import { I as V } from "./field-base-1acf3ada.js";
3
3
  import { w as H } from "./expression-2e171e7f.js";
4
4
  import { b as J } from "./share-field-c413e55b.js";
5
5
  import { a6 as c, t as K } from "./enum-type-fac871cf.js";
6
- import { C as W, D as b, u as q } from "./drag-wrapper-42c5afd6.js";
6
+ import { C as W, D as b, u as q } from "./drag-wrapper-2b219253.js";
7
7
  import { d as G } from "./slot-41107354.js";
8
8
  import { f as M, e as O } from "./enum-type-6c255e6f.js";
9
9
  import { _ as v } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4889bd91.js";