element-less 0.0.22 → 0.0.24

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 (36) hide show
  1. package/custom/dynamic/common/handler.d.ts +2 -1
  2. package/custom/dynamic/designerView/src/inner.vue.d.ts +4 -4
  3. package/custom/dynamic/designerView/src/innerItem.vue.d.ts +4 -4
  4. package/custom/dynamic/designerView/src/show.vue.d.ts +4 -4
  5. package/custom/dynamic/designerView/src/wrap.vue.d.ts +5 -2
  6. package/custom/dynamic/render/index.d.ts +12 -0
  7. package/custom/dynamic/render/src/innerItem.vue.d.ts +1 -1
  8. package/custom/dynamic/render/src/innerWrap.vue.d.ts +5 -2
  9. package/custom/dynamic/render/src/render.d.ts +6 -0
  10. package/custom/dynamic/render/src/render.vue.d.ts +6 -0
  11. package/custom/dynamic/render/src/renderAsync.vue.d.ts +6 -0
  12. package/custom/dynamic/render/src/show.vue.d.ts +2 -5
  13. package/element-less.cjs +1 -1
  14. package/element-less.iife.js +1 -1
  15. package/element-less.js +1 -1
  16. package/element-less.umd.cjs +1 -1
  17. package/index-BBYiHjhJ.cjs +1 -0
  18. package/{index-aeAXp6vC.js → index-CDXygK3Q.js} +391 -342
  19. package/inner-Bu4Ht3of.cjs +1 -0
  20. package/{inner-B6pN3EoT.js → inner-p2zviOce.js} +57 -44
  21. package/{innerItem-v2SRnWeV.cjs → innerItem-BUiQ0RZ0.cjs} +1 -1
  22. package/{innerItem-De12yMXc.js → innerItem-OubYcUKo.js} +1 -1
  23. package/{mode-csharp-_xDL4xvF.js → mode-csharp-BeZCsaLF.js} +1 -1
  24. package/{mode-csharp-CMwxdsK_.cjs → mode-csharp-CqA6rjIU.cjs} +1 -1
  25. package/{mode-css-B2yRLHsI.js → mode-css-B7YEKEnN.js} +1 -1
  26. package/{mode-css-5DNzzg9A.cjs → mode-css-CjrqAYfH.cjs} +1 -1
  27. package/{mode-javascript-ZIeeJXLD.js → mode-javascript-BFIoW_cQ.js} +1 -1
  28. package/{mode-javascript-BDmQN110.cjs → mode-javascript-BTnp2ND2.cjs} +1 -1
  29. package/{mode-json-DU1HcagH.js → mode-json-DDQhzDQk.js} +1 -1
  30. package/{mode-json-C-S8uqaG.cjs → mode-json-M7MGfbxu.cjs} +1 -1
  31. package/{mode-mysql-D1zY1eHz.js → mode-mysql-B8-3MK9X.js} +1 -1
  32. package/{mode-mysql-CGkGzMms.cjs → mode-mysql-Cwfl6cip.cjs} +1 -1
  33. package/package.json +1 -1
  34. package/style.css +1 -1
  35. package/index-CzA2psAC.cjs +0 -1
  36. package/inner-DAUr5dLV.cjs +0 -1
@@ -4846,7 +4846,7 @@ const inputProps = buildProps({
4846
4846
  }
4847
4847
  });
4848
4848
  const formItemProps = formItemProps$1;
4849
- const _hoisted_1$1s = ["innerHTML"];
4849
+ const _hoisted_1$1t = ["innerHTML"];
4850
4850
  const _hoisted_2$1b = { class: "els-form-item-append" };
4851
4851
  const _hoisted_3$Q = ["innerHTML"];
4852
4852
  const _sfc_main$27 = /* @__PURE__ */ defineComponent({
@@ -5032,7 +5032,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
5032
5032
  placement: "top"
5033
5033
  }, {
5034
5034
  content: withCtx(() => [
5035
- createElementVNode("div", { innerHTML: _ctx.tip }, null, 8, _hoisted_1$1s)
5035
+ createElementVNode("div", { innerHTML: _ctx.tip }, null, 8, _hoisted_1$1t)
5036
5036
  ]),
5037
5037
  default: withCtx(() => [
5038
5038
  createElementVNode("span", _hoisted_2$1b, [
@@ -6361,7 +6361,7 @@ const selectProps = buildProps({
6361
6361
  type: String
6362
6362
  }
6363
6363
  });
6364
- const _hoisted_1$1r = {
6364
+ const _hoisted_1$1s = {
6365
6365
  key: 0,
6366
6366
  class: "check"
6367
6367
  };
@@ -6489,7 +6489,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
6489
6489
  value: item[_ctx.valueField]
6490
6490
  }, {
6491
6491
  default: withCtx(() => [
6492
- _ctx.multiple ? (openBlock(), createElementBlock("i", _hoisted_1$1r)) : createCommentVNode("", true),
6492
+ _ctx.multiple ? (openBlock(), createElementBlock("i", _hoisted_1$1s)) : createCommentVNode("", true),
6493
6493
  renderSlot(_ctx.$slots, "default", { item }, () => [
6494
6494
  createTextVNode(toDisplayString(item[_ctx.labelField]), 1)
6495
6495
  ])
@@ -6645,7 +6645,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
6645
6645
  }
6646
6646
  });
6647
6647
  const ElsSelect = withInstall(_sfc_main$22);
6648
- const _hoisted_1$1q = {
6648
+ const _hoisted_1$1r = {
6649
6649
  key: 0,
6650
6650
  class: "check"
6651
6651
  };
@@ -6717,7 +6717,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
6717
6717
  value: _ctx.value ?? currLabel.value
6718
6718
  }), {
6719
6719
  default: withCtx(() => [
6720
- multiple.value ? (openBlock(), createElementBlock("i", _hoisted_1$1q)) : createCommentVNode("", true),
6720
+ multiple.value ? (openBlock(), createElementBlock("i", _hoisted_1$1r)) : createCommentVNode("", true),
6721
6721
  renderSlot(_ctx.$slots, "default", {}, () => [
6722
6722
  createTextVNode(toDisplayString(currLabel.value), 1)
6723
6723
  ])
@@ -6776,7 +6776,7 @@ const optionGroupProps = buildProps({
6776
6776
  */
6777
6777
  label: String
6778
6778
  });
6779
- const _hoisted_1$1p = {
6779
+ const _hoisted_1$1q = {
6780
6780
  key: 1,
6781
6781
  style: { "width": "100%" }
6782
6782
  };
@@ -6804,7 +6804,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
6804
6804
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
6805
6805
  ]),
6806
6806
  _: 3
6807
- }, 16, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_1$1p, [
6807
+ }, 16, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_1$1q, [
6808
6808
  createElementVNode("div", _hoisted_2$19, toDisplayString(_ctx.label), 1),
6809
6809
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(attrs))), void 0, true)
6810
6810
  ]));
@@ -6922,7 +6922,7 @@ const radioProps = buildProps({
6922
6922
  default: -1
6923
6923
  }
6924
6924
  });
6925
- const _hoisted_1$1o = { key: 0 };
6925
+ const _hoisted_1$1p = { key: 0 };
6926
6926
  const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
6927
6927
  ...{
6928
6928
  name: "ElsRadio",
@@ -6991,7 +6991,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
6991
6991
  class: normalizeClass(radioClass),
6992
6992
  style: normalizeStyle(radioStyle)
6993
6993
  }, [
6994
- props.filterable ? (openBlock(), createElementBlock("div", _hoisted_1$1o, [
6994
+ props.filterable ? (openBlock(), createElementBlock("div", _hoisted_1$1p, [
6995
6995
  _ctx.filterable ? (openBlock(), createBlock(_component_el_input, {
6996
6996
  key: 0,
6997
6997
  style: { "width": "200px" },
@@ -7196,7 +7196,7 @@ const checkboxProps = Object.assign({}, checkboxProps$1, buildProps({
7196
7196
  showInverse: Boolean,
7197
7197
  selectIndex: Number
7198
7198
  }));
7199
- const _hoisted_1$1n = {
7199
+ const _hoisted_1$1o = {
7200
7200
  key: 0,
7201
7201
  style: { "margin-bottom": "15px", "text-align": "left" }
7202
7202
  };
@@ -7273,7 +7273,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
7273
7273
  class: normalizeClass(checkboxClass),
7274
7274
  style: normalizeStyle(checkboxStyle)
7275
7275
  }, [
7276
- _ctx.showCheckAll || _ctx.filterable ? (openBlock(), createElementBlock("div", _hoisted_1$1n, [
7276
+ _ctx.showCheckAll || _ctx.filterable ? (openBlock(), createElementBlock("div", _hoisted_1$1o, [
7277
7277
  _ctx.showCheckAll ? (openBlock(), createBlock(_component_el_checkbox, {
7278
7278
  key: 0,
7279
7279
  indeterminate: unref(checkAllIndeterminate),
@@ -8393,7 +8393,7 @@ const tableColumnProps = Object.assign({}, defaultProps$1, buildProps({
8393
8393
  }
8394
8394
  }
8395
8395
  }));
8396
- const _hoisted_1$1m = { key: 0 };
8396
+ const _hoisted_1$1n = { key: 0 };
8397
8397
  const _hoisted_2$18 = /* @__PURE__ */ createElementVNode("i", { class: "el-icon-question" }, null, -1);
8398
8398
  const _hoisted_3$O = ["innerHTML"];
8399
8399
  const _hoisted_4$E = ["innerHTML"];
@@ -8617,7 +8617,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
8617
8617
  column,
8618
8618
  $index
8619
8619
  }, () => [
8620
- _ctx.tip ? (openBlock(), createElementBlock("span", _hoisted_1$1m, [
8620
+ _ctx.tip ? (openBlock(), createElementBlock("span", _hoisted_1$1n, [
8621
8621
  createTextVNode(toDisplayString(unref(attrs)["label"]) + " ", 1),
8622
8622
  createVNode(_component_el_tooltip, {
8623
8623
  content: _ctx.tip,
@@ -9318,7 +9318,7 @@ const tableProps = Object.assign({}, defaultProps, buildProps({
9318
9318
  default: true
9319
9319
  }
9320
9320
  }));
9321
- const _hoisted_1$1l = {
9321
+ const _hoisted_1$1m = {
9322
9322
  key: 0,
9323
9323
  class: "select_container"
9324
9324
  };
@@ -10516,7 +10516,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
10516
10516
  const _component_els_menu_context = resolveComponent("els-menu-context");
10517
10517
  const _directive_loading = resolveDirective("loading");
10518
10518
  return openBlock(), createElementBlock(Fragment, null, [
10519
- _ctx.showCheckField ? (openBlock(), createElementBlock("div", _hoisted_1$1l, [
10519
+ _ctx.showCheckField ? (openBlock(), createElementBlock("div", _hoisted_1$1m, [
10520
10520
  createVNode(unref(draggable), {
10521
10521
  list: unref(tableCheckData).checkRows,
10522
10522
  "item-key": dataKey.value.toString(),
@@ -10892,7 +10892,7 @@ const treeProps = buildProps({
10892
10892
  default: () => void 0
10893
10893
  }
10894
10894
  });
10895
- const _hoisted_1$1k = { class: "els-node" };
10895
+ const _hoisted_1$1l = { class: "els-node" };
10896
10896
  const _hoisted_2$16 = { class: "els-tree" };
10897
10897
  const _hoisted_3$M = ["onDblclick"];
10898
10898
  const _hoisted_4$C = ["onDblclick"];
@@ -10935,7 +10935,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
10935
10935
  const _component_el_tree_v2 = resolveComponent("el-tree-v2");
10936
10936
  const _component_ElsFormNode = resolveComponent("ElsFormNode");
10937
10937
  const _directive_loading = resolveDirective("loading");
10938
- return openBlock(), createElementBlock("div", _hoisted_1$1k, [
10938
+ return openBlock(), createElementBlock("div", _hoisted_1$1l, [
10939
10939
  createElementVNode("div", _hoisted_2$16, [
10940
10940
  createVNode(_component_ElsFormNode, normalizeProps(guardReactiveProps(unref(formNodeProps))), {
10941
10941
  default: withCtx(() => [
@@ -11067,7 +11067,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
11067
11067
  });
11068
11068
  const Tree = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-76f3af0c"]]);
11069
11069
  const ElsTree = withInstall(Tree);
11070
- const _hoisted_1$1j = { class: "els-node" };
11070
+ const _hoisted_1$1k = { class: "els-node" };
11071
11071
  const _hoisted_2$15 = ["onDblclick"];
11072
11072
  const _sfc_main$1I = /* @__PURE__ */ defineComponent({
11073
11073
  ...{ name: "ElsTreeSelect", inheritAttrs: false },
@@ -11101,7 +11101,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
11101
11101
  const _component_el_tree_select = resolveComponent("el-tree-select");
11102
11102
  const _component_ElsFormNode = resolveComponent("ElsFormNode");
11103
11103
  const _directive_loading = resolveDirective("loading");
11104
- return openBlock(), createElementBlock("div", _hoisted_1$1j, [
11104
+ return openBlock(), createElementBlock("div", _hoisted_1$1k, [
11105
11105
  createVNode(_component_ElsFormNode, normalizeProps(guardReactiveProps(unref(formNodeProps))), {
11106
11106
  default: withCtx(() => [
11107
11107
  withDirectives((openBlock(), createBlock(_component_el_tree_select, mergeProps({
@@ -11227,7 +11227,7 @@ const menuEmits = {
11227
11227
  click: (item) => {
11228
11228
  }
11229
11229
  };
11230
- const _hoisted_1$1i = {
11230
+ const _hoisted_1$1j = {
11231
11231
  key: 0,
11232
11232
  class: "menu-filterable"
11233
11233
  };
@@ -11464,7 +11464,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
11464
11464
  default: withCtx(() => [
11465
11465
  createVNode(_component_el_collapse_transition, null, {
11466
11466
  default: withCtx(() => [
11467
- _ctx.filterable && (_ctx.url || _ctx.data) ? (openBlock(), createElementBlock("span", _hoisted_1$1i, [
11467
+ _ctx.filterable && (_ctx.url || _ctx.data) ? (openBlock(), createElementBlock("span", _hoisted_1$1j, [
11468
11468
  createVNode(_component_el_input, {
11469
11469
  modelValue: searchKey.value,
11470
11470
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchKey.value = $event),
@@ -11507,7 +11507,7 @@ const menuItemProps = buildProps({
11507
11507
  type: Object
11508
11508
  }
11509
11509
  });
11510
- const _hoisted_1$1h = ["title"];
11510
+ const _hoisted_1$1i = ["title"];
11511
11511
  const _hoisted_2$14 = ["title"];
11512
11512
  const _hoisted_3$L = ["title"];
11513
11513
  const _sfc_main$1G = /* @__PURE__ */ defineComponent({
@@ -11545,7 +11545,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
11545
11545
  _ctx.item.label ? (openBlock(), createElementBlock("span", {
11546
11546
  key: 0,
11547
11547
  title: _ctx.item.label
11548
- }, toDisplayString(_ctx.item.label), 9, _hoisted_1$1h)) : createCommentVNode("", true)
11548
+ }, toDisplayString(_ctx.item.label), 9, _hoisted_1$1i)) : createCommentVNode("", true)
11549
11549
  ]),
11550
11550
  default: withCtx(() => [
11551
11551
  _ctx.item.icon ? (openBlock(), createBlock(_component_el_icon, { key: 0 }, {
@@ -11778,7 +11778,7 @@ const imageProps = buildProps({
11778
11778
  */
11779
11779
  onSwitch: Function
11780
11780
  });
11781
- const _hoisted_1$1g = {
11781
+ const _hoisted_1$1h = {
11782
11782
  key: 0,
11783
11783
  class: "leo_image_empty"
11784
11784
  };
@@ -11843,7 +11843,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
11843
11843
  const _component_el_image = resolveComponent("el-image");
11844
11844
  const _component_els_image_viewer = resolveComponent("els-image-viewer");
11845
11845
  return openBlock(), createElementBlock(Fragment, null, [
11846
- !_ctx.url ? (openBlock(), createElementBlock("div", _hoisted_1$1g, [
11846
+ !_ctx.url ? (openBlock(), createElementBlock("div", _hoisted_1$1h, [
11847
11847
  (openBlock(), createElementBlock("svg", {
11848
11848
  t: "1626166549727",
11849
11849
  class: "icon",
@@ -12454,7 +12454,7 @@ const dialogProps = buildProps({
12454
12454
  */
12455
12455
  cancel: Function
12456
12456
  });
12457
- const _hoisted_1$1f = ["src"];
12457
+ const _hoisted_1$1g = ["src"];
12458
12458
  const _hoisted_2$12 = ["src"];
12459
12459
  const _sfc_main$1y = /* @__PURE__ */ defineComponent({
12460
12460
  ...{
@@ -12600,7 +12600,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
12600
12600
  src: dialogUrl.value,
12601
12601
  frameborder: "0",
12602
12602
  style: normalizeStyle(contentStyle.value)
12603
- }, null, 12, _hoisted_1$1f)) : createCommentVNode("", true)
12603
+ }, null, 12, _hoisted_1$1g)) : createCommentVNode("", true)
12604
12604
  ])
12605
12605
  ], 4)), [
12606
12606
  [_directive_loading, pageLoading.value]
@@ -12687,7 +12687,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
12687
12687
  }
12688
12688
  });
12689
12689
  const ElsDialog = withInstall(_sfc_main$1y);
12690
- const _hoisted_1$1e = ["src"];
12690
+ const _hoisted_1$1f = ["src"];
12691
12691
  const _sfc_main$1x = /* @__PURE__ */ defineComponent({
12692
12692
  ...{
12693
12693
  name: "ElsDrawer"
@@ -12753,7 +12753,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
12753
12753
  src: _ctx.url,
12754
12754
  frameborder: "0",
12755
12755
  style: { "height": "calc(100vh - 48px)", "width": "100%" }
12756
- }, null, 8, _hoisted_1$1e)) : createCommentVNode("", true)
12756
+ }, null, 8, _hoisted_1$1f)) : createCommentVNode("", true)
12757
12757
  ])
12758
12758
  ]),
12759
12759
  _: 2
@@ -12849,7 +12849,7 @@ const dropdownProps = buildProps({
12849
12849
  */
12850
12850
  placeholder: String
12851
12851
  });
12852
- const _hoisted_1$1d = { class: "el-dropdown-link" };
12852
+ const _hoisted_1$1e = { class: "el-dropdown-link" };
12853
12853
  const _hoisted_2$11 = ["innerHTML"];
12854
12854
  const _hoisted_3$J = ["innerHTML"];
12855
12855
  const _sfc_main$1w = /* @__PURE__ */ defineComponent({
@@ -13016,7 +13016,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
13016
13016
  ]),
13017
13017
  default: withCtx(() => [
13018
13018
  renderSlot(_ctx.$slots, "default", {}, () => [
13019
- createElementVNode("span", _hoisted_1$1d, [
13019
+ createElementVNode("span", _hoisted_1$1e, [
13020
13020
  createElementVNode("span", { innerHTML: showTitle.value }, null, 8, _hoisted_2$11),
13021
13021
  createVNode(_component_el_icon, { class: "el-icon--right" }, {
13022
13022
  default: withCtx(() => [
@@ -13054,7 +13054,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
13054
13054
  };
13055
13055
  }
13056
13056
  });
13057
- const _hoisted_1$1c = {
13057
+ const _hoisted_1$1d = {
13058
13058
  key: 0,
13059
13059
  class: "els-dropdown-group"
13060
13060
  };
@@ -13074,7 +13074,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
13074
13074
  });
13075
13075
  return (_ctx, _cache) => {
13076
13076
  const _component_van_dropdown_menu = resolveComponent("van-dropdown-menu");
13077
- return !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1$1c, [
13077
+ return !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1$1d, [
13078
13078
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
13079
13079
  ])) : (openBlock(), createBlock(_component_van_dropdown_menu, normalizeProps(mergeProps({ key: 1 }, unref(attrs))), {
13080
13080
  default: withCtx(() => [
@@ -13331,7 +13331,7 @@ const uploadProps = buildProps({
13331
13331
  default: void 0
13332
13332
  }
13333
13333
  });
13334
- const _hoisted_1$1b = {
13334
+ const _hoisted_1$1c = {
13335
13335
  key: 0,
13336
13336
  class: "els_upload_container"
13337
13337
  };
@@ -13649,7 +13649,7 @@ ${res[apiConfig.$messageField]}` });
13649
13649
  childType: "Upload"
13650
13650
  }), {
13651
13651
  default: withCtx(() => [
13652
- !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1$1b, [
13652
+ !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1$1c, [
13653
13653
  createVNode(_component_el_upload, mergeProps({
13654
13654
  ref_key: "fileUpload",
13655
13655
  ref: fileUpload
@@ -13882,7 +13882,7 @@ ${res[apiConfig.$messageField]}` });
13882
13882
  };
13883
13883
  }
13884
13884
  });
13885
- const Upload$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-901f97aa"]]);
13885
+ const Upload$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-b5b393b6"]]);
13886
13886
  const ElsUpload = withInstall(Upload$1);
13887
13887
  const timePickerProps = buildProps({
13888
13888
  ...formItemProps$1,
@@ -14915,7 +14915,7 @@ const ElsDatePickerRange = withInstall(_sfc_main$1o);
14915
14915
  const collapseTransitionProps = buildProps({
14916
14916
  visible: Boolean
14917
14917
  });
14918
- const _hoisted_1$1a = { key: 0 };
14918
+ const _hoisted_1$1b = { key: 0 };
14919
14919
  const _sfc_main$1n = /* @__PURE__ */ defineComponent({
14920
14920
  ...{ name: "ElsCollapseTransition" },
14921
14921
  __name: "collapseTransition",
@@ -14925,7 +14925,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
14925
14925
  const _component_el_collapse_transition = resolveComponent("el-collapse-transition");
14926
14926
  return openBlock(), createBlock(_component_el_collapse_transition, null, {
14927
14927
  default: withCtx(() => [
14928
- _ctx.visible ? (openBlock(), createElementBlock("div", _hoisted_1$1a, [
14928
+ _ctx.visible ? (openBlock(), createElementBlock("div", _hoisted_1$1b, [
14929
14929
  renderSlot(_ctx.$slots, "default")
14930
14930
  ])) : createCommentVNode("", true)
14931
14931
  ]),
@@ -15015,7 +15015,7 @@ const tabsProps = buildProps({
15015
15015
  default: "未知选项"
15016
15016
  }
15017
15017
  });
15018
- const _hoisted_1$19 = {
15018
+ const _hoisted_1$1a = {
15019
15019
  class: "els-node",
15020
15020
  style: { "--margin-bottom": "0px" }
15021
15021
  };
@@ -15040,7 +15040,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
15040
15040
  return (_ctx, _cache) => {
15041
15041
  const _component_els_option = resolveComponent("els-option");
15042
15042
  const _component_el_tabs = resolveComponent("el-tabs");
15043
- return openBlock(), createElementBlock("div", _hoisted_1$19, [
15043
+ return openBlock(), createElementBlock("div", _hoisted_1$1a, [
15044
15044
  createVNode(_component_el_tabs, mergeProps({
15045
15045
  modelValue: unref(selectValue),
15046
15046
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(selectValue) ? selectValue.value = $event : null),
@@ -15118,7 +15118,7 @@ const colorPickerProps = buildProps({
15118
15118
  default: "150px"
15119
15119
  }
15120
15120
  });
15121
- const _hoisted_1$18 = { class: "els-node" };
15121
+ const _hoisted_1$19 = { class: "els-node" };
15122
15122
  const _hoisted_2$$ = { class: "els-color-picker" };
15123
15123
  const _sfc_main$1l = /* @__PURE__ */ defineComponent({
15124
15124
  ...{
@@ -15146,7 +15146,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
15146
15146
  const _component_el_input = resolveComponent("el-input");
15147
15147
  const _component_el_color_picker = resolveComponent("el-color-picker");
15148
15148
  const _component_ElsFormNode = resolveComponent("ElsFormNode");
15149
- return openBlock(), createElementBlock("div", _hoisted_1$18, [
15149
+ return openBlock(), createElementBlock("div", _hoisted_1$19, [
15150
15150
  createVNode(_component_ElsFormNode, mergeProps(unref(formNodeProps), {
15151
15151
  ref_key: "formNode",
15152
15152
  ref: formNode
@@ -15253,7 +15253,7 @@ const segmentedProps = buildProps({
15253
15253
  default: "未知选项"
15254
15254
  }
15255
15255
  });
15256
- const _hoisted_1$17 = { class: "els-node" };
15256
+ const _hoisted_1$18 = { class: "els-node" };
15257
15257
  const _hoisted_2$_ = ["onClick"];
15258
15258
  const _sfc_main$1k = /* @__PURE__ */ defineComponent({
15259
15259
  ...{
@@ -15274,7 +15274,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
15274
15274
  } = useSelect(props, defaultEmits, void 0, "segmented");
15275
15275
  return (_ctx, _cache) => {
15276
15276
  const _component_el_segmented = resolveComponent("el-segmented");
15277
- return openBlock(), createElementBlock("div", _hoisted_1$17, [
15277
+ return openBlock(), createElementBlock("div", _hoisted_1$18, [
15278
15278
  renderSlot(_ctx.$slots, "extra"),
15279
15279
  createVNode(_component_el_segmented, mergeProps(unref(componentProps), {
15280
15280
  modelValue: unref(selectValue),
@@ -15322,7 +15322,7 @@ const menuContextProps = buildProps({
15322
15322
  */
15323
15323
  onClick: Function
15324
15324
  });
15325
- const _hoisted_1$16 = ["onClick"];
15325
+ const _hoisted_1$17 = ["onClick"];
15326
15326
  const _hoisted_2$Z = { class: "els-context-info" };
15327
15327
  const _sfc_main$1j = /* @__PURE__ */ defineComponent({
15328
15328
  ...{ name: "ElsMenuContext", inheritAttrs: false },
@@ -15391,7 +15391,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
15391
15391
  _: 2
15392
15392
  }, 1024),
15393
15393
  createElementVNode("span", _hoisted_2$Z, toDisplayString(item[unref(nameFieldname)]), 1)
15394
- ], 8, _hoisted_1$16);
15394
+ ], 8, _hoisted_1$17);
15395
15395
  }), 128))
15396
15396
  ], 6)), [
15397
15397
  [vShow, modelValue.value]
@@ -15429,7 +15429,7 @@ const menuDropdownProps = buildProps({
15429
15429
  */
15430
15430
  onClick: Function
15431
15431
  });
15432
- const _hoisted_1$15 = {
15432
+ const _hoisted_1$16 = {
15433
15433
  key: 0,
15434
15434
  class: "els-table-operate"
15435
15435
  };
@@ -15486,7 +15486,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
15486
15486
  const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
15487
15487
  const _component_el_dropdown = resolveComponent("el-dropdown");
15488
15488
  const _component_el_dialog = resolveComponent("el-dialog");
15489
- return unref(nameFieldname) ? (openBlock(), createElementBlock("div", _hoisted_1$15, [
15489
+ return unref(nameFieldname) ? (openBlock(), createElementBlock("div", _hoisted_1$16, [
15490
15490
  unref(isMobile) ? (openBlock(), createBlock(_component_el_link, {
15491
15491
  key: 0,
15492
15492
  type: "primary",
@@ -15636,7 +15636,7 @@ const menuToolProps = buildProps({
15636
15636
  */
15637
15637
  onUploaded: Function
15638
15638
  });
15639
- const _hoisted_1$14 = { class: "els-tool-menu" };
15639
+ const _hoisted_1$15 = { class: "els-tool-menu" };
15640
15640
  const _hoisted_2$X = { class: "els-tool-menu-button" };
15641
15641
  const _hoisted_3$G = {
15642
15642
  key: 0,
@@ -15809,7 +15809,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
15809
15809
  const _component_el_upload = resolveComponent("el-upload");
15810
15810
  const _component_el_dialog = resolveComponent("el-dialog");
15811
15811
  const _component_els_dialog = resolveComponent("els-dialog");
15812
- return openBlock(), createElementBlock("div", _hoisted_1$14, [
15812
+ return openBlock(), createElementBlock("div", _hoisted_1$15, [
15813
15813
  createElementVNode("div", _hoisted_2$X, [
15814
15814
  (openBlock(true), createElementBlock(Fragment, null, renderList(menuData, (menu) => {
15815
15815
  return openBlock(), createBlock(_component_el_button, {
@@ -16144,12 +16144,12 @@ const captionProps = buildProps({
16144
16144
  default: "150px"
16145
16145
  }
16146
16146
  });
16147
- const _withScopeId$1 = (n) => (pushScopeId("data-v-1952f6f8"), n = n(), popScopeId(), n);
16148
- const _hoisted_1$13 = {
16147
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-1952f6f8"), n = n(), popScopeId(), n);
16148
+ const _hoisted_1$14 = {
16149
16149
  key: 0,
16150
16150
  class: "els-caption-sub-header"
16151
16151
  };
16152
- const _hoisted_2$W = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("i", { class: "dec" }, null, -1));
16152
+ const _hoisted_2$W = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("i", { class: "dec" }, null, -1));
16153
16153
  const _hoisted_3$F = [
16154
16154
  _hoisted_2$W
16155
16155
  ];
@@ -16202,7 +16202,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
16202
16202
  key: 0,
16203
16203
  class: normalizeClass(["els-caption", { "els-left-caption": _ctx.type == "left" }])
16204
16204
  }, [
16205
- _ctx.type == "left" ? (openBlock(), createElementBlock("span", _hoisted_1$13, _hoisted_3$F)) : createCommentVNode("", true),
16205
+ _ctx.type == "left" ? (openBlock(), createElementBlock("span", _hoisted_1$14, _hoisted_3$F)) : createCommentVNode("", true),
16206
16206
  createElementVNode("span", _hoisted_4$y, [
16207
16207
  renderSlot(_ctx.$slots, "default", {}, () => [
16208
16208
  createTextVNode(toDisplayString(modelValue.value || _ctx.title), 1)
@@ -16371,7 +16371,7 @@ const dataModalProps = buildProps({
16371
16371
  default: "change"
16372
16372
  }
16373
16373
  });
16374
- const _hoisted_1$12 = { class: "els-datamodal-custom-inner" };
16374
+ const _hoisted_1$13 = { class: "els-datamodal-custom-inner" };
16375
16375
  const _hoisted_2$V = ["innerHTML"];
16376
16376
  const _hoisted_3$E = ["innerHTML"];
16377
16377
  const _sfc_main$1e = /* @__PURE__ */ defineComponent({
@@ -16517,7 +16517,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
16517
16517
  key: 0,
16518
16518
  class: "els-datamodal-custom"
16519
16519
  }, _ctx.$attrs), [
16520
- createElementVNode("div", _hoisted_1$12, [
16520
+ createElementVNode("div", _hoisted_1$13, [
16521
16521
  renderSlot(_ctx.$slots, "custom", {}, () => [
16522
16522
  typeof _ctx.custom === "function" ? (openBlock(), createElementBlock("div", {
16523
16523
  key: 0,
@@ -16819,19 +16819,24 @@ const listProps = buildProps({
16819
16819
  },
16820
16820
  addButtonText: String
16821
16821
  });
16822
- const _hoisted_1$11 = { class: "els-list-title" };
16822
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-1517cf2b"), n = n(), popScopeId(), n);
16823
+ const _hoisted_1$12 = { class: "els-list-title" };
16823
16824
  const _hoisted_2$U = ["innerHTML"];
16824
16825
  const _hoisted_3$D = { key: 1 };
16825
16826
  const _hoisted_4$x = ["innerHTML"];
16826
16827
  const _hoisted_5$l = { key: 1 };
16827
16828
  const _hoisted_6$f = { class: "els-list-operate" };
16828
- const _hoisted_7$c = {
16829
+ const _hoisted_7$c = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("img", {
16830
+ src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAAAXNSR0IArs4c6QAAAI1QTFRFAAAAqqqqv7+/qqqqkpK2n5+fjqqqi6KikpKkkZGfjZSajJGZjZGZj4+ajJCbjo6ZjI+ZjJCajJCZjI6bjY+ZjJCajY+bi4+ZjJCZjI6Zi4+ajI+Zi4+ajI+ZjI+ai46ai4+ai46ajI+ajI6Zi4+ajI6ajI6ajI6ai46Zi4+Zi46ajI+ZjI+ajI+ai46ZFQs9ewAAAC50Uk5TAAMEBgcICQsOJSY8QURFRmRqc3p7fn+Ah4qLoKGoq66wtczQ1tne4Ofs9/r8/hM3NbgAAAC3SURBVDjL5dPZDoIwEIXhcS2KVi2C1n1fKs77P55Q2xg17fTOBE9I4OJLCP0DQMXG0pV3MjIwQWLSQEnBxMBI+l+dsl8cSLcT5sQdRZArP1kEugA5ssc4JOAR8aavg7u1rjvNN7Mi3zbPLBw76rZhgpgVN3C3NnU1fO27ta37Ad37Q1iPWQlbcZOASzwvEOcnXBOtdzbTHtz/ddm6p57Pqk+15loqTrceqDfnGb9eeNhvWGtAFfcAjpk9Uo3Om5AAAAAASUVORK5CYII=",
16831
+ class: "el-icon-rank drag-menu"
16832
+ }, null, -1));
16833
+ const _hoisted_8$b = {
16829
16834
  key: 0,
16830
16835
  class: "els-list-operate",
16831
16836
  style: { "margin-left": "10px" }
16832
16837
  };
16833
- const _hoisted_8$b = { class: "els-list-index" };
16834
- const _hoisted_9$a = { class: "els-list-handle" };
16838
+ const _hoisted_9$a = { class: "els-list-index" };
16839
+ const _hoisted_10$6 = { class: "els-list-handle" };
16835
16840
  const _sfc_main$1a = /* @__PURE__ */ defineComponent({
16836
16841
  ...{ name: "ElsList", inheritAttrs: false },
16837
16842
  __name: "list",
@@ -16952,10 +16957,11 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
16952
16957
  remove: handleRemoveIndex
16953
16958
  });
16954
16959
  return (_ctx, _cache) => {
16955
- const _component_Rank = resolveComponent("Rank");
16956
- const _component_el_icon = resolveComponent("el-icon");
16957
16960
  const _component_Delete = resolveComponent("Delete");
16961
+ const _component_el_icon = resolveComponent("el-icon");
16958
16962
  const _component_el_popconfirm = resolveComponent("el-popconfirm");
16963
+ const _component_ArrowRight = resolveComponent("ArrowRight");
16964
+ const _component_Rank = resolveComponent("Rank");
16959
16965
  const _component_Remove = resolveComponent("Remove");
16960
16966
  const _component_Plus = resolveComponent("Plus");
16961
16967
  const _component_Minus = resolveComponent("Minus");
@@ -16986,7 +16992,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
16986
16992
  default: withCtx(() => [
16987
16993
  _ctx.itemKey ? renderSlot(_ctx.$slots, "default", normalizeProps(mergeProps({ key: 0 }, { item: element, index, $item: element, $index: index, element })), void 0, true) : renderSlot(_ctx.$slots, "default", normalizeProps(mergeProps({ key: 1 }, { item: element.value, index, $item: element.value, $index: index, element })), void 0, true),
16988
16994
  (_ctx.sortable || _ctx.isRemove) && _ctx.itemComponent === "div" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
16989
- !_ctx.borderType ? (openBlock(), createElementBlock("span", _hoisted_7$c, [
16995
+ !_ctx.borderType ? (openBlock(), createElementBlock("span", _hoisted_8$b, [
16990
16996
  _ctx.sortable && _ctx.isModify ? renderSlot(_ctx.$slots, "drag", { key: 0 }, () => [
16991
16997
  createVNode(_component_el_icon, { class: "el-icon-rank" }, {
16992
16998
  default: withCtx(() => [
@@ -17022,8 +17028,8 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
17022
17028
  }, 1032, ["onClick"]))
17023
17029
  ], true) : createCommentVNode("", true)
17024
17030
  ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
17025
- createElementVNode("div", _hoisted_8$b, toDisplayString(index + 1), 1),
17026
- createElementVNode("div", _hoisted_9$a, [
17031
+ createElementVNode("div", _hoisted_9$a, toDisplayString(index + 1), 1),
17032
+ createElementVNode("div", _hoisted_10$6, [
17027
17033
  index === dropData.value.length - 1 ? (openBlock(), createBlock(_component_el_icon, {
17028
17034
  key: 0,
17029
17035
  class: "el-icon-add",
@@ -17073,7 +17079,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
17073
17079
  _ctx.itemComponent ? {
17074
17080
  name: "title",
17075
17081
  fn: withCtx(() => [
17076
- createElementVNode("div", _hoisted_1$11, [
17082
+ createElementVNode("div", _hoisted_1$12, [
17077
17083
  _ctx.itemKey ? renderSlot(_ctx.$slots, "itemTitle", normalizeProps(mergeProps({ key: 0 }, { item: element, index, $item: element, $index: index, element })), () => [
17078
17084
  createElementVNode("div", null, [
17079
17085
  _ctx.itemComponentTitle ? (openBlock(), createElementBlock("div", {
@@ -17091,12 +17097,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
17091
17097
  ], true),
17092
17098
  createElementVNode("span", _hoisted_6$f, [
17093
17099
  _ctx.sortable && _ctx.isModify ? renderSlot(_ctx.$slots, "drag", { key: 0 }, () => [
17094
- createVNode(_component_el_icon, { class: "el-icon-rank" }, {
17095
- default: withCtx(() => [
17096
- createVNode(_component_Rank)
17097
- ]),
17098
- _: 1
17099
- })
17100
+ _hoisted_7$c
17100
17101
  ], true) : createCommentVNode("", true),
17101
17102
  _ctx.isModify && _ctx.isRemove ? renderSlot(_ctx.$slots, "remove", { key: 1 }, () => [
17102
17103
  _ctx.isConfirmRemove ? (openBlock(), createBlock(_component_el_popconfirm, {
@@ -17123,7 +17124,13 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
17123
17124
  ]),
17124
17125
  _: 2
17125
17126
  }, 1032, ["onClick"]))
17126
- ], true) : createCommentVNode("", true)
17127
+ ], true) : createCommentVNode("", true),
17128
+ createVNode(_component_el_icon, { class: "el-collapse-item__arrow" }, {
17129
+ default: withCtx(() => [
17130
+ createVNode(_component_ArrowRight)
17131
+ ]),
17132
+ _: 1
17133
+ })
17127
17134
  ])
17128
17135
  ])
17129
17136
  ]),
@@ -17164,9 +17171,9 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
17164
17171
  };
17165
17172
  }
17166
17173
  });
17167
- const List = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-38ac115f"]]);
17174
+ const List = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-1517cf2b"]]);
17168
17175
  const ElsList = withInstall(List);
17169
- const _hoisted_1$10 = { class: "custom-block-title" };
17176
+ const _hoisted_1$11 = { class: "custom-block-title" };
17170
17177
  const _sfc_main$19 = /* @__PURE__ */ defineComponent({
17171
17178
  ...{ name: "ElsTip" },
17172
17179
  __name: "tip",
@@ -17180,7 +17187,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
17180
17187
  return openBlock(), createElementBlock("div", {
17181
17188
  class: normalizeClass(["custom-block", _ctx.type == "warning" ? "warning" : "tip"])
17182
17189
  }, [
17183
- createElementVNode("p", _hoisted_1$10, [
17190
+ createElementVNode("p", _hoisted_1$11, [
17184
17191
  renderSlot(_ctx.$slots, "title", {}, () => [
17185
17192
  createTextVNode(toDisplayString(_ctx.title ?? (_ctx.type == "warning" ? "WARNING" : "TIP")), 1)
17186
17193
  ], true)
@@ -36919,7 +36926,7 @@ const dynamicComponentTypes = [
36919
36926
  label: "Tabs标签页",
36920
36927
  value: "Tabs",
36921
36928
  type: "Tabs",
36922
- dataTypes: ["None"],
36929
+ dataTypes: ["Object"],
36923
36930
  defaultPropertys: {},
36924
36931
  propertys: property_tabs,
36925
36932
  group: "Container",
@@ -36933,7 +36940,7 @@ const dynamicComponentTypes = [
36933
36940
  label: "Tabs选项",
36934
36941
  value: "TabPane",
36935
36942
  type: "Option",
36936
- dataTypes: ["None"],
36943
+ dataTypes: ["Object"],
36937
36944
  defaultPropertys: {},
36938
36945
  propertys: property_tabPane,
36939
36946
  group: "Container",
@@ -37208,6 +37215,7 @@ class DynamicHandler {
37208
37215
  __publicField(this, "uploadUrl", "");
37209
37216
  __publicField(this, "resourceCode", "");
37210
37217
  __publicField(this, "restrictCode", "");
37218
+ __publicField(this, "uploadHeaders");
37211
37219
  if (componentTypes) {
37212
37220
  this.componentTypes = componentTypes;
37213
37221
  } else {
@@ -37223,6 +37231,7 @@ class DynamicHandler {
37223
37231
  this.uploadUrl = uploadConfig.uploadUrl;
37224
37232
  this.resourceCode = uploadConfig.resourceCode;
37225
37233
  this.restrictCode = uploadConfig.restrictCode;
37234
+ this.uploadHeaders = uploadConfig.headers;
37226
37235
  }
37227
37236
  //兼容版本数据
37228
37237
  toPropsData(data, configProps) {
@@ -37449,34 +37458,27 @@ class DynamicHandler {
37449
37458
  } else if (ele.componentGroup === "Container") {
37450
37459
  this.recoverData(ele.children, valueData);
37451
37460
  }
37452
- if (this.appendUrlParams && ["Checkbox", "Select", "Radio", "Upload", "DataModal"].includes(ele.componentTypeName ?? "") && ele.config.baseConfig && (ele.config.baseConfig.url || ele.config.baseConfig.modalUrl)) {
37461
+ if (ele.componentName === "ElsUpload") {
37462
+ this.appendUploadParams(ele);
37463
+ }
37464
+ if (this.appendUrlParams && (["Checkbox", "Select", "Radio", "Upload", "DataModal"].includes(ele.componentTypeName ?? "") || ele.componentName === "ElsUpload") && ele.config.baseConfig && (ele.config.baseConfig.url || ele.config.baseConfig.modalUrl)) {
37453
37465
  this.appendCommonParams(ele);
37454
- if (ele.componentTypeName === "Upload") {
37455
- this.appendUploadParams(ele);
37456
- }
37457
37466
  }
37458
37467
  });
37459
37468
  }
37460
37469
  appendUploadParams(item) {
37461
- let currUrl = this.uploadUrl;
37462
- if (item.config.baseConfig.url) {
37463
- currUrl = item.config.baseConfig.url;
37470
+ if (!item.config.baseConfig.url) {
37471
+ item.config.baseConfig.url = this.uploadUrl;
37464
37472
  }
37465
- let uploadParms = `&ResourcePicLimitType=${item.config.baseConfig.picLimitType ?? ""}&ResourcePicWidth=${item.config.baseConfig.picWidthLimit ?? 0}&ResourcePicHeight=${item.config.baseConfig.picHeightLimit ?? 0}&HasMd5Parameter=${item.config.baseConfig.hasMd5Parameter ? 1 : 0}`;
37466
37473
  if (!item.config.baseConfig.resourceCode) {
37467
37474
  item.config.baseConfig.resourceCode = this.resourceCode;
37468
37475
  }
37469
37476
  if (!item.config.baseConfig.restrictCode) {
37470
37477
  item.config.baseConfig.restrictCode = this.restrictCode;
37471
37478
  }
37472
- if (item.config.baseConfig.resourceCode) {
37473
- currUrl = currUrl.addUrlParameter("ResourceCode", item.config.baseConfig.resourceCode);
37479
+ if (!item.config.baseConfig.headers && this.uploadHeaders) {
37480
+ item.config.baseConfig.headers = this.uploadHeaders;
37474
37481
  }
37475
- if (item.config.baseConfig.restrictCode) {
37476
- currUrl = currUrl.addUrlParameter("RestrictCode", item.config.baseConfig.restrictCode);
37477
- }
37478
- let uploadUrl = currUrl + uploadParms;
37479
- return uploadUrl;
37480
37482
  }
37481
37483
  appendCommonParams(item) {
37482
37484
  if (!this.appendUrlParams) {
@@ -37761,7 +37763,7 @@ const containerProps = buildProps({
37761
37763
  */
37762
37764
  selectMenuPostQuery: Boolean
37763
37765
  });
37764
- const _hoisted_1$$ = { class: "els-page-container" };
37766
+ const _hoisted_1$10 = { class: "els-page-container" };
37765
37767
  const _sfc_main$18 = /* @__PURE__ */ defineComponent({
37766
37768
  ...{
37767
37769
  name: "ElsContainer"
@@ -38225,7 +38227,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
38225
38227
  return (_ctx, _cache) => {
38226
38228
  const _component_els_dialog = resolveComponent("els-dialog");
38227
38229
  const _component_els_drawer = resolveComponent("els-drawer");
38228
- return openBlock(), createElementBlock("div", _hoisted_1$$, [
38230
+ return openBlock(), createElementBlock("div", _hoisted_1$10, [
38229
38231
  (openBlock(), createBlock(resolveDynamicComponent(unref(componentName)), {
38230
38232
  class: normalizeClass({ "is-vertical": isVertical.value })
38231
38233
  }, {
@@ -38283,7 +38285,7 @@ const createProps = buildProps({
38283
38285
  */
38284
38286
  save: Function
38285
38287
  });
38286
- const _hoisted_1$_ = { class: "els-dynamic-create" };
38288
+ const _hoisted_1$$ = { class: "els-dynamic-create" };
38287
38289
  const _hoisted_2$T = { style: { "margin-bottom": "10px" } };
38288
38290
  const _hoisted_3$C = { class: "dialog-footer" };
38289
38291
  const _sfc_main$17 = /* @__PURE__ */ defineComponent({
@@ -38468,7 +38470,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
38468
38470
  ])
38469
38471
  ]),
38470
38472
  default: withCtx(() => [
38471
- createElementVNode("div", _hoisted_1$_, [
38473
+ createElementVNode("div", _hoisted_1$$, [
38472
38474
  !createResultVisible.value ? (openBlock(), createBlock(_component_els_form, {
38473
38475
  key: 0,
38474
38476
  modelValue: currData.value,
@@ -38585,7 +38587,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
38585
38587
  }
38586
38588
  });
38587
38589
  const ElsDynamicCreate = withInstall(_sfc_main$17);
38588
- const _hoisted_1$Z = {
38590
+ const _hoisted_1$_ = {
38589
38591
  key: 0,
38590
38592
  class: "tag-name"
38591
38593
  };
@@ -38707,7 +38709,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
38707
38709
  emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
38708
38710
  setup(__props, { emit: __emit }) {
38709
38711
  const DynamicDesignerInnerItem = defineAsyncComponent(() => {
38710
- return import("./innerItem-De12yMXc.js");
38712
+ return import("./innerItem-OubYcUKo.js");
38711
38713
  });
38712
38714
  const { getValue: getValue2 } = useProps();
38713
38715
  const tagID = getValue2("tagID");
@@ -38788,7 +38790,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
38788
38790
  createElementVNode("div", {
38789
38791
  class: normalizeClass([{ "els-dynamic-config-root": _ctx.depath == 0 }, { "els-dynamic-d-flat-item-child": _ctx.depath && _ctx.depath > 0 }, { "els-dynamic-d-flat-item-container": _ctx.isContainer && _ctx.depath - 1 == 0 }])
38790
38792
  }, [
38791
- _ctx.isContainer ? (openBlock(), createElementBlock("span", _hoisted_1$Z, [
38793
+ _ctx.isContainer ? (openBlock(), createElementBlock("span", _hoisted_1$_, [
38792
38794
  createVNode(_component_el_popover, {
38793
38795
  placement: "top-start",
38794
38796
  width: "500",
@@ -39149,7 +39151,7 @@ const designerProps = buildProps({
39149
39151
  type: Object
39150
39152
  }
39151
39153
  });
39152
- const _hoisted_1$Y = { class: "els-dynamic-config-tool" };
39154
+ const _hoisted_1$Z = { class: "els-dynamic-config-tool" };
39153
39155
  const _sfc_main$15 = /* @__PURE__ */ defineComponent({
39154
39156
  ...{
39155
39157
  name: "ElsDynamicDesigner"
@@ -39418,7 +39420,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
39418
39420
  ref_key: "designerContainer",
39419
39421
  ref: designerContainer
39420
39422
  }, [
39421
- createElementVNode("div", _hoisted_1$Y, [
39423
+ createElementVNode("div", _hoisted_1$Z, [
39422
39424
  createVNode(_component_els_data_modal, {
39423
39425
  style: { "margin-left": "5px", "margin-bottom": "5px" },
39424
39426
  title: "导入配置",
@@ -39491,6 +39493,12 @@ const renderProps = buildProps({
39491
39493
  * @description 上传限制码
39492
39494
  */
39493
39495
  restrictCode: String,
39496
+ /**
39497
+ * @description 上传头部信息
39498
+ */
39499
+ uploadHeaders: {
39500
+ type: Object
39501
+ },
39494
39502
  /**
39495
39503
  * @description 添加接口参数
39496
39504
  */
@@ -39539,7 +39547,7 @@ const renderProps = buildProps({
39539
39547
  default: {}
39540
39548
  }
39541
39549
  });
39542
- const _hoisted_1$X = { class: "els-node els-dynamic-render" };
39550
+ const _hoisted_1$Y = { class: "els-node els-dynamic-render" };
39543
39551
  const _hoisted_2$R = { class: "els-dynamic-render-inner" };
39544
39552
  const _sfc_main$14 = /* @__PURE__ */ defineComponent({
39545
39553
  ...{
@@ -39550,10 +39558,10 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
39550
39558
  emits: ["update:modelValue"],
39551
39559
  setup(__props, { expose: __expose, emit: __emit }) {
39552
39560
  const DynamicRenderInner = defineAsyncComponent(() => {
39553
- return import("./inner-B6pN3EoT.js").then((n) => n.i);
39561
+ return import("./inner-p2zviOce.js").then((n) => n.i);
39554
39562
  });
39555
39563
  const DynamicRenderForm = defineAsyncComponent(() => {
39556
- return import("./inner-B6pN3EoT.js").then((n) => n.f);
39564
+ return import("./inner-p2zviOce.js").then((n) => n.f);
39557
39565
  });
39558
39566
  const props = __props;
39559
39567
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
@@ -39593,7 +39601,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
39593
39601
  currComponentTypes.value.push(...props.appendComponentTypes);
39594
39602
  }
39595
39603
  }
39596
- const dynamicHandler = new DynamicHandler(currDynamicDataType.value, currComponentTypes.value, props.defaultValueConfig, { appendUrlParams: props.appendUrlParams }, { uploadUrl: props.uploadUrl, resourceCode: props.resourceCode, restrictCode: props.restrictCode });
39604
+ const dynamicHandler = new DynamicHandler(currDynamicDataType.value, currComponentTypes.value, props.defaultValueConfig, { appendUrlParams: props.appendUrlParams }, { uploadUrl: props.uploadUrl, resourceCode: props.resourceCode, restrictCode: props.restrictCode, headers: props.uploadHeaders });
39597
39605
  watch(renderData, () => {
39598
39606
  handleReturnResult();
39599
39607
  }, { deep: true });
@@ -39737,7 +39745,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
39737
39745
  return (_ctx, _cache) => {
39738
39746
  const _component_els_form = resolveComponent("els-form");
39739
39747
  const _component_ElsFormNode = resolveComponent("ElsFormNode");
39740
- return openBlock(), createElementBlock("div", _hoisted_1$X, [
39748
+ return openBlock(), createElementBlock("div", _hoisted_1$Y, [
39741
39749
  createVNode(_component_ElsFormNode, mergeProps(Object.assign({}, unref(attrs), unref(formNodeProps)), {
39742
39750
  labelWidth: _ctx.label === "" || _ctx.label === void 0 ? "0" : void 0
39743
39751
  }), {
@@ -39771,8 +39779,8 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
39771
39779
  };
39772
39780
  }
39773
39781
  });
39774
- const DynamicRender = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-fd3b4cba"]]);
39775
- const _hoisted_1$W = { class: "els-node els-dynamic-render" };
39782
+ const DynamicRender = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-5907885a"]]);
39783
+ const _hoisted_1$X = { class: "els-node els-dynamic-render" };
39776
39784
  const _hoisted_2$Q = { class: "els-dynamic-render-inner" };
39777
39785
  const _sfc_main$13 = /* @__PURE__ */ defineComponent({
39778
39786
  ...{
@@ -39783,10 +39791,10 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
39783
39791
  emits: ["update:modelValue"],
39784
39792
  setup(__props, { expose: __expose, emit: __emit }) {
39785
39793
  const DynamicRenderInnerAsync = defineAsyncComponent(() => {
39786
- return import("./inner-B6pN3EoT.js").then((n) => n.i);
39794
+ return import("./inner-p2zviOce.js").then((n) => n.i);
39787
39795
  });
39788
39796
  const DynamicRenderFormAsync = defineAsyncComponent(() => {
39789
- return import("./inner-B6pN3EoT.js").then((n) => n.f);
39797
+ return import("./inner-p2zviOce.js").then((n) => n.f);
39790
39798
  });
39791
39799
  const props = __props;
39792
39800
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
@@ -39822,7 +39830,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
39822
39830
  currComponentTypes.value.push(...props.appendComponentTypes);
39823
39831
  }
39824
39832
  }
39825
- const dynamicHandler = new DynamicHandler(currDynamicDataType.value, currComponentTypes.value, props.defaultValueConfig, { appendUrlParams: props.appendUrlParams }, { uploadUrl: props.uploadUrl, resourceCode: props.resourceCode, restrictCode: props.restrictCode });
39833
+ const dynamicHandler = new DynamicHandler(currDynamicDataType.value, currComponentTypes.value, props.defaultValueConfig, { appendUrlParams: props.appendUrlParams }, { uploadUrl: props.uploadUrl, resourceCode: props.resourceCode, restrictCode: props.restrictCode, headers: props.uploadHeaders });
39826
39834
  watch(renderData, () => {
39827
39835
  handleReturnResult();
39828
39836
  }, { deep: true });
@@ -39953,7 +39961,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
39953
39961
  const _component_els_form = resolveComponent("els-form");
39954
39962
  const _component_el_skeleton = resolveComponent("el-skeleton");
39955
39963
  const _component_ElsFormNode = resolveComponent("ElsFormNode");
39956
- return openBlock(), createElementBlock("div", _hoisted_1$W, [
39964
+ return openBlock(), createElementBlock("div", _hoisted_1$X, [
39957
39965
  createVNode(_component_ElsFormNode, mergeProps(unref(formNodeProps), { labelWidth: "0px" }), {
39958
39966
  default: withCtx(() => [
39959
39967
  createElementVNode("div", _hoisted_2$Q, [
@@ -39994,11 +40002,11 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
39994
40002
  };
39995
40003
  }
39996
40004
  });
39997
- const DynamicRenderAsync = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-957795fa"]]);
40005
+ const DynamicRenderAsync = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-a4cf364a"]]);
39998
40006
  const ElsRender = withInstall(DynamicRender);
39999
40007
  const ElsRenderAsync = withInstall(DynamicRenderAsync);
40000
40008
  const _sfc_main$12 = {};
40001
- const _hoisted_1$V = {
40009
+ const _hoisted_1$W = {
40002
40010
  width: "24",
40003
40011
  height: "24",
40004
40012
  viewBox: "0 0 48 48",
@@ -40044,11 +40052,11 @@ const _hoisted_6$d = [
40044
40052
  _hoisted_5$j
40045
40053
  ];
40046
40054
  function _sfc_render$F(_ctx, _cache) {
40047
- return openBlock(), createElementBlock("svg", _hoisted_1$V, _hoisted_6$d);
40055
+ return openBlock(), createElementBlock("svg", _hoisted_1$W, _hoisted_6$d);
40048
40056
  }
40049
40057
  const Text = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$F]]);
40050
40058
  const _sfc_main$11 = {};
40051
- const _hoisted_1$U = {
40059
+ const _hoisted_1$V = {
40052
40060
  width: "24",
40053
40061
  height: "24",
40054
40062
  viewBox: "0 0 48 48",
@@ -40060,11 +40068,11 @@ const _hoisted_8$9 = [
40060
40068
  _hoisted_2$O
40061
40069
  ];
40062
40070
  function _sfc_render$E(_ctx, _cache) {
40063
- return openBlock(), createElementBlock("svg", _hoisted_1$U, _hoisted_8$9);
40071
+ return openBlock(), createElementBlock("svg", _hoisted_1$V, _hoisted_8$9);
40064
40072
  }
40065
40073
  const HandDrag = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$E]]);
40066
40074
  const _sfc_main$10 = {};
40067
- const _hoisted_1$T = {
40075
+ const _hoisted_1$U = {
40068
40076
  width: "24",
40069
40077
  height: "24",
40070
40078
  viewBox: "0 0 48 48",
@@ -40090,11 +40098,11 @@ const _hoisted_4$u = [
40090
40098
  _hoisted_3$z
40091
40099
  ];
40092
40100
  function _sfc_render$D(_ctx, _cache) {
40093
- return openBlock(), createElementBlock("svg", _hoisted_1$T, _hoisted_4$u);
40101
+ return openBlock(), createElementBlock("svg", _hoisted_1$U, _hoisted_4$u);
40094
40102
  }
40095
40103
  const ExpandTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$D]]);
40096
40104
  const _sfc_main$$ = {};
40097
- const _hoisted_1$S = {
40105
+ const _hoisted_1$T = {
40098
40106
  width: "24",
40099
40107
  height: "24",
40100
40108
  viewBox: "0 0 48 48",
@@ -40106,11 +40114,11 @@ const _hoisted_8$8 = [
40106
40114
  _hoisted_2$M
40107
40115
  ];
40108
40116
  function _sfc_render$C(_ctx, _cache) {
40109
- return openBlock(), createElementBlock("svg", _hoisted_1$S, _hoisted_8$8);
40117
+ return openBlock(), createElementBlock("svg", _hoisted_1$T, _hoisted_8$8);
40110
40118
  }
40111
40119
  const ListNumbers = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$C]]);
40112
40120
  const _sfc_main$_ = {};
40113
- const _hoisted_1$R = {
40121
+ const _hoisted_1$S = {
40114
40122
  width: "24",
40115
40123
  height: "24",
40116
40124
  viewBox: "0 0 48 48",
@@ -40152,11 +40160,11 @@ const _hoisted_5$i = [
40152
40160
  _hoisted_4$t
40153
40161
  ];
40154
40162
  function _sfc_render$B(_ctx, _cache) {
40155
- return openBlock(), createElementBlock("svg", _hoisted_1$R, _hoisted_5$i);
40163
+ return openBlock(), createElementBlock("svg", _hoisted_1$S, _hoisted_5$i);
40156
40164
  }
40157
40165
  const SwitchOne = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$B]]);
40158
40166
  const _sfc_main$Z = {};
40159
- const _hoisted_1$Q = {
40167
+ const _hoisted_1$R = {
40160
40168
  width: "24",
40161
40169
  height: "24",
40162
40170
  viewBox: "0 0 48 48",
@@ -40168,11 +40176,11 @@ const _hoisted_11$4 = [
40168
40176
  _hoisted_2$K
40169
40177
  ];
40170
40178
  function _sfc_render$A(_ctx, _cache) {
40171
- return openBlock(), createElementBlock("svg", _hoisted_1$Q, _hoisted_11$4);
40179
+ return openBlock(), createElementBlock("svg", _hoisted_1$R, _hoisted_11$4);
40172
40180
  }
40173
40181
  const ListCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["render", _sfc_render$A]]);
40174
40182
  const _sfc_main$Y = {};
40175
- const _hoisted_1$P = {
40183
+ const _hoisted_1$Q = {
40176
40184
  width: "24",
40177
40185
  height: "24",
40178
40186
  viewBox: "0 0 48 48",
@@ -40214,11 +40222,11 @@ const _hoisted_6$c = [
40214
40222
  _hoisted_5$h
40215
40223
  ];
40216
40224
  function _sfc_render$z(_ctx, _cache) {
40217
- return openBlock(), createElementBlock("svg", _hoisted_1$P, _hoisted_6$c);
40225
+ return openBlock(), createElementBlock("svg", _hoisted_1$Q, _hoisted_6$c);
40218
40226
  }
40219
40227
  const FullScreen = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$z]]);
40220
40228
  const _sfc_main$X = {};
40221
- const _hoisted_1$O = {
40229
+ const _hoisted_1$P = {
40222
40230
  width: "24",
40223
40231
  height: "24",
40224
40232
  viewBox: "0 0 48 48",
@@ -40248,11 +40256,11 @@ const _hoisted_4$r = [
40248
40256
  _hoisted_3$w
40249
40257
  ];
40250
40258
  function _sfc_render$y(_ctx, _cache) {
40251
- return openBlock(), createElementBlock("svg", _hoisted_1$O, _hoisted_4$r);
40259
+ return openBlock(), createElementBlock("svg", _hoisted_1$P, _hoisted_4$r);
40252
40260
  }
40253
40261
  const RadioTwo = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$y]]);
40254
40262
  const _sfc_main$W = {};
40255
- const _hoisted_1$N = {
40263
+ const _hoisted_1$O = {
40256
40264
  width: "24",
40257
40265
  height: "24",
40258
40266
  viewBox: "0 0 48 48",
@@ -40264,11 +40272,11 @@ const _hoisted_7$a = [
40264
40272
  _hoisted_2$H
40265
40273
  ];
40266
40274
  function _sfc_render$x(_ctx, _cache) {
40267
- return openBlock(), createElementBlock("svg", _hoisted_1$N, _hoisted_7$a);
40275
+ return openBlock(), createElementBlock("svg", _hoisted_1$O, _hoisted_7$a);
40268
40276
  }
40269
40277
  const AddPicture = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$x]]);
40270
40278
  const _sfc_main$V = {};
40271
- const _hoisted_1$M = {
40279
+ const _hoisted_1$N = {
40272
40280
  width: "24",
40273
40281
  height: "24",
40274
40282
  viewBox: "0 0 48 48",
@@ -40280,11 +40288,11 @@ const _hoisted_8$7 = [
40280
40288
  _hoisted_2$G
40281
40289
  ];
40282
40290
  function _sfc_render$w(_ctx, _cache) {
40283
- return openBlock(), createElementBlock("svg", _hoisted_1$M, _hoisted_8$7);
40291
+ return openBlock(), createElementBlock("svg", _hoisted_1$N, _hoisted_8$7);
40284
40292
  }
40285
40293
  const PictureAlbum = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$w]]);
40286
40294
  const _sfc_main$U = {};
40287
- const _hoisted_1$L = {
40295
+ const _hoisted_1$M = {
40288
40296
  width: "24",
40289
40297
  height: "24",
40290
40298
  viewBox: "0 0 48 48",
@@ -40296,11 +40304,11 @@ const _hoisted_4$q = [
40296
40304
  _hoisted_2$F
40297
40305
  ];
40298
40306
  function _sfc_render$v(_ctx, _cache) {
40299
- return openBlock(), createElementBlock("svg", _hoisted_1$L, _hoisted_4$q);
40307
+ return openBlock(), createElementBlock("svg", _hoisted_1$M, _hoisted_4$q);
40300
40308
  }
40301
40309
  const Upload = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$v]]);
40302
40310
  const _sfc_main$T = {};
40303
- const _hoisted_1$K = {
40311
+ const _hoisted_1$L = {
40304
40312
  width: "24",
40305
40313
  height: "24",
40306
40314
  viewBox: "0 0 48 48",
@@ -40334,11 +40342,11 @@ const _hoisted_5$g = [
40334
40342
  _hoisted_4$p
40335
40343
  ];
40336
40344
  function _sfc_render$u(_ctx, _cache) {
40337
- return openBlock(), createElementBlock("svg", _hoisted_1$K, _hoisted_5$g);
40345
+ return openBlock(), createElementBlock("svg", _hoisted_1$L, _hoisted_5$g);
40338
40346
  }
40339
40347
  const Share = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$u]]);
40340
40348
  const _sfc_main$S = {};
40341
- const _hoisted_1$J = {
40349
+ const _hoisted_1$K = {
40342
40350
  width: "24",
40343
40351
  height: "24",
40344
40352
  viewBox: "0 0 48 48",
@@ -40350,11 +40358,11 @@ const _hoisted_15$3 = [
40350
40358
  _hoisted_2$D
40351
40359
  ];
40352
40360
  function _sfc_render$t(_ctx, _cache) {
40353
- return openBlock(), createElementBlock("svg", _hoisted_1$J, _hoisted_15$3);
40361
+ return openBlock(), createElementBlock("svg", _hoisted_1$K, _hoisted_15$3);
40354
40362
  }
40355
40363
  const CalendarDot = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$t]]);
40356
40364
  const _sfc_main$R = {};
40357
- const _hoisted_1$I = {
40365
+ const _hoisted_1$J = {
40358
40366
  width: "24",
40359
40367
  height: "24",
40360
40368
  viewBox: "0 0 48 48",
@@ -40380,11 +40388,11 @@ const _hoisted_4$o = [
40380
40388
  _hoisted_3$u
40381
40389
  ];
40382
40390
  function _sfc_render$s(_ctx, _cache) {
40383
- return openBlock(), createElementBlock("svg", _hoisted_1$I, _hoisted_4$o);
40391
+ return openBlock(), createElementBlock("svg", _hoisted_1$J, _hoisted_4$o);
40384
40392
  }
40385
40393
  const Time = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$s]]);
40386
40394
  const _sfc_main$Q = {};
40387
- const _hoisted_1$H = {
40395
+ const _hoisted_1$I = {
40388
40396
  width: "24",
40389
40397
  height: "24",
40390
40398
  viewBox: "0 0 48 48",
@@ -40396,11 +40404,11 @@ const _hoisted_9$8 = [
40396
40404
  _hoisted_2$B
40397
40405
  ];
40398
40406
  function _sfc_render$r(_ctx, _cache) {
40399
- return openBlock(), createElementBlock("svg", _hoisted_1$H, _hoisted_9$8);
40407
+ return openBlock(), createElementBlock("svg", _hoisted_1$I, _hoisted_9$8);
40400
40408
  }
40401
40409
  const TreeList = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$r]]);
40402
40410
  const _sfc_main$P = {};
40403
- const _hoisted_1$G = {
40411
+ const _hoisted_1$H = {
40404
40412
  width: "24",
40405
40413
  height: "24",
40406
40414
  viewBox: "0 0 48 48",
@@ -40426,11 +40434,11 @@ const _hoisted_4$n = [
40426
40434
  _hoisted_3$t
40427
40435
  ];
40428
40436
  function _sfc_render$q(_ctx, _cache) {
40429
- return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_4$n);
40437
+ return openBlock(), createElementBlock("svg", _hoisted_1$H, _hoisted_4$n);
40430
40438
  }
40431
40439
  const Planet = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$q]]);
40432
40440
  const _sfc_main$O = {};
40433
- const _hoisted_1$F = {
40441
+ const _hoisted_1$G = {
40434
40442
  width: "24",
40435
40443
  height: "24",
40436
40444
  viewBox: "0 0 48 48",
@@ -40459,11 +40467,11 @@ const _hoisted_4$m = [
40459
40467
  _hoisted_3$s
40460
40468
  ];
40461
40469
  function _sfc_render$p(_ctx, _cache) {
40462
- return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_4$m);
40470
+ return openBlock(), createElementBlock("svg", _hoisted_1$G, _hoisted_4$m);
40463
40471
  }
40464
40472
  const Word = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$p]]);
40465
40473
  const _sfc_main$N = {};
40466
- const _hoisted_1$E = {
40474
+ const _hoisted_1$F = {
40467
40475
  width: "24",
40468
40476
  height: "24",
40469
40477
  viewBox: "0 0 48 48",
@@ -40475,11 +40483,11 @@ const _hoisted_7$9 = [
40475
40483
  _hoisted_2$y
40476
40484
  ];
40477
40485
  function _sfc_render$o(_ctx, _cache) {
40478
- return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_7$9);
40486
+ return openBlock(), createElementBlock("svg", _hoisted_1$F, _hoisted_7$9);
40479
40487
  }
40480
40488
  const TextStyle = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$o]]);
40481
40489
  const _sfc_main$M = {};
40482
- const _hoisted_1$D = {
40490
+ const _hoisted_1$E = {
40483
40491
  width: "24",
40484
40492
  height: "24",
40485
40493
  viewBox: "0 0 48 48",
@@ -40525,11 +40533,11 @@ const _hoisted_6$b = [
40525
40533
  _hoisted_5$f
40526
40534
  ];
40527
40535
  function _sfc_render$n(_ctx, _cache) {
40528
- return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_6$b);
40536
+ return openBlock(), createElementBlock("svg", _hoisted_1$E, _hoisted_6$b);
40529
40537
  }
40530
40538
  const LayoutTwo = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$n]]);
40531
40539
  const _sfc_main$L = {};
40532
- const _hoisted_1$C = {
40540
+ const _hoisted_1$D = {
40533
40541
  width: "24",
40534
40542
  height: "24",
40535
40543
  viewBox: "0 0 48 48",
@@ -40541,11 +40549,11 @@ const _hoisted_9$7 = [
40541
40549
  _hoisted_2$w
40542
40550
  ];
40543
40551
  function _sfc_render$m(_ctx, _cache) {
40544
- return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_9$7);
40552
+ return openBlock(), createElementBlock("svg", _hoisted_1$D, _hoisted_9$7);
40545
40553
  }
40546
40554
  const Margin = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$m]]);
40547
40555
  const _sfc_main$K = {};
40548
- const _hoisted_1$B = {
40556
+ const _hoisted_1$C = {
40549
40557
  width: "24",
40550
40558
  height: "24",
40551
40559
  viewBox: "0 0 48 48",
@@ -40575,11 +40583,11 @@ const _hoisted_4$k = [
40575
40583
  _hoisted_3$q
40576
40584
  ];
40577
40585
  function _sfc_render$l(_ctx, _cache) {
40578
- return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_4$k);
40586
+ return openBlock(), createElementBlock("svg", _hoisted_1$C, _hoisted_4$k);
40579
40587
  }
40580
40588
  const Label = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$l]]);
40581
40589
  const _sfc_main$J = {};
40582
- const _hoisted_1$A = {
40590
+ const _hoisted_1$B = {
40583
40591
  width: "24",
40584
40592
  height: "24",
40585
40593
  viewBox: "0 0 48 48",
@@ -40616,11 +40624,11 @@ const _hoisted_5$e = [
40616
40624
  _hoisted_4$j
40617
40625
  ];
40618
40626
  function _sfc_render$k(_ctx, _cache) {
40619
- return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_5$e);
40627
+ return openBlock(), createElementBlock("svg", _hoisted_1$B, _hoisted_5$e);
40620
40628
  }
40621
40629
  const Bookmark = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["render", _sfc_render$k]]);
40622
40630
  const _sfc_main$I = {};
40623
- const _hoisted_1$z = {
40631
+ const _hoisted_1$A = {
40624
40632
  width: "24",
40625
40633
  height: "24",
40626
40634
  viewBox: "0 0 48 48",
@@ -40632,11 +40640,11 @@ const _hoisted_9$6 = [
40632
40640
  _hoisted_2$t
40633
40641
  ];
40634
40642
  function _sfc_render$j(_ctx, _cache) {
40635
- return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_9$6);
40643
+ return openBlock(), createElementBlock("svg", _hoisted_1$A, _hoisted_9$6);
40636
40644
  }
40637
40645
  const FormOne = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$j]]);
40638
40646
  const _sfc_main$H = {};
40639
- const _hoisted_1$y = {
40647
+ const _hoisted_1$z = {
40640
40648
  width: "24",
40641
40649
  height: "24",
40642
40650
  viewBox: "0 0 48 48",
@@ -40678,11 +40686,11 @@ const _hoisted_6$a = [
40678
40686
  _hoisted_5$d
40679
40687
  ];
40680
40688
  function _sfc_render$i(_ctx, _cache) {
40681
- return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_6$a);
40689
+ return openBlock(), createElementBlock("svg", _hoisted_1$z, _hoisted_6$a);
40682
40690
  }
40683
40691
  const MenuUnfold = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_render$i]]);
40684
40692
  const _sfc_main$G = {};
40685
- const _hoisted_1$x = {
40693
+ const _hoisted_1$y = {
40686
40694
  width: "24",
40687
40695
  height: "24",
40688
40696
  viewBox: "0 0 48 48",
@@ -40716,11 +40724,11 @@ const _hoisted_5$c = [
40716
40724
  _hoisted_4$h
40717
40725
  ];
40718
40726
  function _sfc_render$h(_ctx, _cache) {
40719
- return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_5$c);
40727
+ return openBlock(), createElementBlock("svg", _hoisted_1$y, _hoisted_5$c);
40720
40728
  }
40721
40729
  const HamburgerButton = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$h]]);
40722
40730
  const _sfc_main$F = {};
40723
- const _hoisted_1$w = {
40731
+ const _hoisted_1$x = {
40724
40732
  width: "24",
40725
40733
  height: "24",
40726
40734
  viewBox: "0 0 48 48",
@@ -40732,11 +40740,11 @@ const _hoisted_7$8 = [
40732
40740
  _hoisted_2$q
40733
40741
  ];
40734
40742
  function _sfc_render$g(_ctx, _cache) {
40735
- return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_7$8);
40743
+ return openBlock(), createElementBlock("svg", _hoisted_1$x, _hoisted_7$8);
40736
40744
  }
40737
40745
  const BankCard = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$g]]);
40738
40746
  const _sfc_main$E = {};
40739
- const _hoisted_1$v = {
40747
+ const _hoisted_1$w = {
40740
40748
  width: "24",
40741
40749
  height: "24",
40742
40750
  viewBox: "0 0 48 48",
@@ -40769,11 +40777,11 @@ const _hoisted_5$b = [
40769
40777
  _hoisted_4$g
40770
40778
  ];
40771
40779
  function _sfc_render$f(_ctx, _cache) {
40772
- return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_5$b);
40780
+ return openBlock(), createElementBlock("svg", _hoisted_1$w, _hoisted_5$b);
40773
40781
  }
40774
40782
  const Code = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$f]]);
40775
40783
  const _sfc_main$D = {};
40776
- const _hoisted_1$u = {
40784
+ const _hoisted_1$v = {
40777
40785
  width: "24",
40778
40786
  height: "24",
40779
40787
  viewBox: "0 0 48 48",
@@ -40785,11 +40793,11 @@ const _hoisted_9$5 = [
40785
40793
  _hoisted_2$o
40786
40794
  ];
40787
40795
  function _sfc_render$e(_ctx, _cache) {
40788
- return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_9$5);
40796
+ return openBlock(), createElementBlock("svg", _hoisted_1$v, _hoisted_9$5);
40789
40797
  }
40790
40798
  const DividingLine = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$e]]);
40791
40799
  const _sfc_main$C = {};
40792
- const _hoisted_1$t = {
40800
+ const _hoisted_1$u = {
40793
40801
  width: "24",
40794
40802
  height: "24",
40795
40803
  viewBox: "0 0 48 48",
@@ -40824,11 +40832,11 @@ const _hoisted_5$a = [
40824
40832
  _hoisted_4$f
40825
40833
  ];
40826
40834
  function _sfc_render$d(_ctx, _cache) {
40827
- return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_5$a);
40835
+ return openBlock(), createElementBlock("svg", _hoisted_1$u, _hoisted_5$a);
40828
40836
  }
40829
40837
  const Tips = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$d]]);
40830
40838
  const _sfc_main$B = {};
40831
- const _hoisted_1$s = {
40839
+ const _hoisted_1$t = {
40832
40840
  width: "24",
40833
40841
  height: "24",
40834
40842
  viewBox: "0 0 48 48",
@@ -40840,11 +40848,11 @@ const _hoisted_7$7 = [
40840
40848
  _hoisted_2$m
40841
40849
  ];
40842
40850
  function _sfc_render$c(_ctx, _cache) {
40843
- return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_7$7);
40851
+ return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_7$7);
40844
40852
  }
40845
40853
  const TopicDiscussion = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$c]]);
40846
40854
  const _sfc_main$A = {};
40847
- const _hoisted_1$r = {
40855
+ const _hoisted_1$s = {
40848
40856
  width: "25",
40849
40857
  height: "25",
40850
40858
  viewBox: "0 0 48 48",
@@ -40864,11 +40872,11 @@ const _hoisted_3$k = [
40864
40872
  _hoisted_2$l
40865
40873
  ];
40866
40874
  function _sfc_render$b(_ctx, _cache) {
40867
- return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$k);
40875
+ return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$k);
40868
40876
  }
40869
40877
  const Back = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$b]]);
40870
40878
  const _sfc_main$z = {};
40871
- const _hoisted_1$q = {
40879
+ const _hoisted_1$r = {
40872
40880
  width: "25",
40873
40881
  height: "25",
40874
40882
  viewBox: "0 0 48 48",
@@ -40888,11 +40896,11 @@ const _hoisted_3$j = [
40888
40896
  _hoisted_2$k
40889
40897
  ];
40890
40898
  function _sfc_render$a(_ctx, _cache) {
40891
- return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$j);
40899
+ return openBlock(), createElementBlock("svg", _hoisted_1$r, _hoisted_3$j);
40892
40900
  }
40893
40901
  const Next = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$a]]);
40894
40902
  const _sfc_main$y = {};
40895
- const _hoisted_1$p = {
40903
+ const _hoisted_1$q = {
40896
40904
  t: "1722952350799",
40897
40905
  class: "icon",
40898
40906
  viewBox: "0 0 1024 1024",
@@ -40911,11 +40919,11 @@ const _hoisted_3$i = [
40911
40919
  _hoisted_2$j
40912
40920
  ];
40913
40921
  function _sfc_render$9(_ctx, _cache) {
40914
- return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_3$i);
40922
+ return openBlock(), createElementBlock("svg", _hoisted_1$q, _hoisted_3$i);
40915
40923
  }
40916
40924
  const Json = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$9]]);
40917
40925
  const _sfc_main$x = {};
40918
- const _hoisted_1$o = {
40926
+ const _hoisted_1$p = {
40919
40927
  width: "25",
40920
40928
  height: "25",
40921
40929
  viewBox: "0 0 48 48",
@@ -40957,11 +40965,11 @@ const _hoisted_6$9 = [
40957
40965
  _hoisted_5$9
40958
40966
  ];
40959
40967
  function _sfc_render$8(_ctx, _cache) {
40960
- return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_6$9);
40968
+ return openBlock(), createElementBlock("svg", _hoisted_1$p, _hoisted_6$9);
40961
40969
  }
40962
40970
  const Platte = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$8]]);
40963
40971
  const _sfc_main$w = {};
40964
- const _hoisted_1$n = {
40972
+ const _hoisted_1$o = {
40965
40973
  t: "1722952854816",
40966
40974
  class: "icon",
40967
40975
  viewBox: "0 0 1024 1024",
@@ -40984,11 +40992,11 @@ const _hoisted_4$d = [
40984
40992
  _hoisted_3$g
40985
40993
  ];
40986
40994
  function _sfc_render$7(_ctx, _cache) {
40987
- return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_4$d);
40995
+ return openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_4$d);
40988
40996
  }
40989
40997
  const QueryForm = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$7]]);
40990
40998
  const _sfc_main$v = {};
40991
- const _hoisted_1$m = {
40999
+ const _hoisted_1$n = {
40992
41000
  t: "1722953108155",
40993
41001
  class: "icon",
40994
41002
  viewBox: "0 0 1024 1024",
@@ -41021,11 +41029,11 @@ const _hoisted_6$8 = [
41021
41029
  _hoisted_5$8
41022
41030
  ];
41023
41031
  function _sfc_render$6(_ctx, _cache) {
41024
- return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_6$8);
41032
+ return openBlock(), createElementBlock("svg", _hoisted_1$n, _hoisted_6$8);
41025
41033
  }
41026
41034
  const ExportButton = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$6]]);
41027
41035
  const _sfc_main$u = {};
41028
- const _hoisted_1$l = {
41036
+ const _hoisted_1$m = {
41029
41037
  t: "1722953211989",
41030
41038
  class: "icon",
41031
41039
  viewBox: "0 0 1024 1024",
@@ -41043,11 +41051,11 @@ const _hoisted_3$e = [
41043
41051
  _hoisted_2$f
41044
41052
  ];
41045
41053
  function _sfc_render$5(_ctx, _cache) {
41046
- return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_3$e);
41054
+ return openBlock(), createElementBlock("svg", _hoisted_1$m, _hoisted_3$e);
41047
41055
  }
41048
41056
  const Table = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$5]]);
41049
41057
  const _sfc_main$t = {};
41050
- const _hoisted_1$k = {
41058
+ const _hoisted_1$l = {
41051
41059
  t: "1722953305278",
41052
41060
  class: "icon",
41053
41061
  viewBox: "0 0 1024 1024",
@@ -41070,11 +41078,11 @@ const _hoisted_4$b = [
41070
41078
  _hoisted_3$d
41071
41079
  ];
41072
41080
  function _sfc_render$4(_ctx, _cache) {
41073
- return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_4$b);
41081
+ return openBlock(), createElementBlock("svg", _hoisted_1$l, _hoisted_4$b);
41074
41082
  }
41075
41083
  const SearchButton = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$4]]);
41076
41084
  const _sfc_main$s = {};
41077
- const _hoisted_1$j = {
41085
+ const _hoisted_1$k = {
41078
41086
  t: "1722953426019",
41079
41087
  class: "icon",
41080
41088
  viewBox: "0 0 1024 1024",
@@ -41097,11 +41105,11 @@ const _hoisted_4$a = [
41097
41105
  _hoisted_3$c
41098
41106
  ];
41099
41107
  function _sfc_render$3(_ctx, _cache) {
41100
- return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_4$a);
41108
+ return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_4$a);
41101
41109
  }
41102
41110
  const Tag = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$3]]);
41103
41111
  const _sfc_main$r = {};
41104
- const _hoisted_1$i = {
41112
+ const _hoisted_1$j = {
41105
41113
  t: "1722953581253",
41106
41114
  class: "icon",
41107
41115
  viewBox: "0 0 1024 1024",
@@ -41124,11 +41132,11 @@ const _hoisted_4$9 = [
41124
41132
  _hoisted_3$b
41125
41133
  ];
41126
41134
  function _sfc_render$2(_ctx, _cache) {
41127
- return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_4$9);
41135
+ return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_4$9);
41128
41136
  }
41129
41137
  const DataType = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$2]]);
41130
41138
  const _sfc_main$q = {};
41131
- const _hoisted_1$h = {
41139
+ const _hoisted_1$i = {
41132
41140
  t: "1722953747058",
41133
41141
  class: "icon",
41134
41142
  viewBox: "0 0 1024 1024",
@@ -41177,11 +41185,11 @@ const _hoisted_8$6 = [
41177
41185
  _hoisted_7$6
41178
41186
  ];
41179
41187
  function _sfc_render$1(_ctx, _cache) {
41180
- return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_8$6);
41188
+ return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_8$6);
41181
41189
  }
41182
41190
  const Button = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$1]]);
41183
41191
  const _sfc_main$p = {};
41184
- const _hoisted_1$g = {
41192
+ const _hoisted_1$h = {
41185
41193
  t: "1722953911617",
41186
41194
  class: "icon",
41187
41195
  viewBox: "0 0 1024 1024",
@@ -41206,7 +41214,7 @@ const _hoisted_4$7 = [
41206
41214
  _hoisted_3$9
41207
41215
  ];
41208
41216
  function _sfc_render(_ctx, _cache) {
41209
- return openBlock(), createElementBlock("svg", _hoisted_1$g, _hoisted_4$7);
41217
+ return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_4$7);
41210
41218
  }
41211
41219
  const Select = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render]]);
41212
41220
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
@@ -41478,19 +41486,19 @@ function useRender(props, nodeItem, modelValue = void 0, slotValue = void 0, isD
41478
41486
  return "";
41479
41487
  });
41480
41488
  let slotRootHasDefault = false;
41481
- const defaultSlot = nodeItem.slots ? nodeItem.slots.find((ele) => ele.name === "default") : void 0;
41489
+ const defaultSlot = nodeItem.value.slots ? nodeItem.value.slots.find((ele) => ele.name === "default") : void 0;
41482
41490
  if (defaultSlot) {
41483
41491
  if (defaultSlot.children.length > 0 && defaultSlot.children.some((ele) => ele.keyCode === "default")) {
41484
41492
  slotRootHasDefault = true;
41485
41493
  }
41486
41494
  }
41487
41495
  const componentProps = computed(() => {
41488
- if (!nodeItem || !nodeItem.config) {
41496
+ if (!nodeItem || !nodeItem.value.config) {
41489
41497
  return {};
41490
41498
  }
41491
- const itemConfig = nodeItem.config;
41499
+ const itemConfig = nodeItem.value.config;
41492
41500
  let baseProps = { "style": itemConfig.advancedConfig.style ?? "" };
41493
- if (nodeItem.componentName === "div") {
41501
+ if (nodeItem.value.componentName === "div") {
41494
41502
  Object.keys(itemConfig.baseConfig).forEach((key) => {
41495
41503
  if (itemConfig.baseConfig[key] !== "") {
41496
41504
  baseProps.style += `;${key}:${itemConfig.baseConfig[key]}`;
@@ -41501,7 +41509,7 @@ function useRender(props, nodeItem, modelValue = void 0, slotValue = void 0, isD
41501
41509
  if (itemConfig.advancedConfig.disabled) {
41502
41510
  baseProps["disabled"] = renderDisabled();
41503
41511
  }
41504
- const currControl = componentData.find((ele) => ele.value == nodeItem.componentType);
41512
+ const currControl = componentData.find((ele) => ele.value == nodeItem.value.componentType);
41505
41513
  if (currControl == null ? void 0 : currControl.defaultPropertys) {
41506
41514
  Object.assign(baseProps, currControl.defaultPropertys, itemConfig.baseConfig);
41507
41515
  utils.removeEmptyProp(baseProps);
@@ -41510,25 +41518,25 @@ function useRender(props, nodeItem, modelValue = void 0, slotValue = void 0, isD
41510
41518
  Object.assign(baseProps, itemConfig.baseConfig);
41511
41519
  utils.removeEmptyProp(baseProps);
41512
41520
  }
41513
- if (["ElsSelect", "ElsRadio", "ElsCheckBox", "ElsCascader"].includes(nodeItem.componentName)) {
41521
+ if (["ElsSelect", "ElsRadio", "ElsCheckBox", "ElsCascader"].includes(nodeItem.value.componentName)) {
41514
41522
  if (!baseProps.valueType) {
41515
- if (nodeItem.dataTypeName == "Number" || nodeItem.arrayDataTypeName == "Number") {
41523
+ if (nodeItem.value.dataTypeName == "Number" || nodeItem.value.arrayDataTypeName == "Number") {
41516
41524
  baseProps.valueType = "Number";
41517
- } else if (nodeItem.dataTypeName == "Bool" || nodeItem.arrayDataTypeName == "Bool") {
41525
+ } else if (nodeItem.value.dataTypeName == "Bool" || nodeItem.value.arrayDataTypeName == "Bool") {
41518
41526
  baseProps.valueType = "Bool";
41519
41527
  }
41520
41528
  }
41521
41529
  }
41522
- if (nodeItem.componentTypeName == "Option") {
41523
- baseProps["label"] = nodeItem.config.baseConfig.label || nodeItem.keyName;
41524
- baseProps["value"] = nodeItem.config.baseConfig.value || nodeItem.keyID;
41525
- } else if (nodeItem.componentTypeName === "CollapseItem") {
41526
- baseProps["title"] = nodeItem.config.baseConfig.title || "请设置标题";
41527
- baseProps["name"] = nodeItem.config.baseConfig.name || nodeItem.keyID;
41528
- } else if (nodeItem.componentTypeName == "Table") {
41529
- baseProps["tagId"] = nodeItem.keyID;
41530
- } else if (nodeItem.componentTypeName == "Caption") {
41531
- baseProps["title"] = nodeItem.config.baseConfig.title || nodeItem.keyName;
41530
+ if (nodeItem.value.componentTypeName == "Option") {
41531
+ baseProps["label"] = nodeItem.value.config.baseConfig.label || nodeItem.value.keyName;
41532
+ baseProps["value"] = nodeItem.value.config.baseConfig.value || nodeItem.value.keyID;
41533
+ } else if (nodeItem.value.componentTypeName === "CollapseItem") {
41534
+ baseProps["title"] = nodeItem.value.config.baseConfig.title || "请设置标题";
41535
+ baseProps["name"] = nodeItem.value.config.baseConfig.name || nodeItem.value.keyID;
41536
+ } else if (nodeItem.value.componentTypeName == "Table") {
41537
+ baseProps["tagId"] = nodeItem.value.keyID;
41538
+ } else if (nodeItem.value.componentTypeName == "Caption") {
41539
+ baseProps["title"] = nodeItem.value.config.baseConfig.title || nodeItem.value.keyName;
41532
41540
  }
41533
41541
  renderProps2(baseProps);
41534
41542
  delete baseProps.innerContent;
@@ -41536,37 +41544,37 @@ function useRender(props, nodeItem, modelValue = void 0, slotValue = void 0, isD
41536
41544
  });
41537
41545
  const formProps2 = computed(() => {
41538
41546
  var _a;
41539
- if (!nodeItem || !nodeItem.config) {
41547
+ if (!nodeItem || !nodeItem.value.config) {
41540
41548
  return {};
41541
41549
  }
41542
- const itemConfig = nodeItem.config;
41550
+ const itemConfig = nodeItem.value.config;
41543
41551
  let baseProps = {};
41544
- const currControl = componentData.find((ele) => ele.value == nodeItem.componentType);
41552
+ const currControl = componentData.find((ele) => ele.value == nodeItem.value.componentType);
41545
41553
  if (currControl == null ? void 0 : currControl.defaultPropertys) {
41546
41554
  baseProps = { ...itemConfig.formConfig };
41547
41555
  utils.removeEmptyProp(baseProps);
41548
41556
  }
41549
- if (nodeItem.dataTypeName == "None" || ((_a = nodeItem.config.baseConfig) == null ? void 0 : _a.componentName) == "ElsCaption" || nodeItem.componentTypeName === "Row") {
41557
+ if (nodeItem.value.dataTypeName == "None" || ((_a = nodeItem.value.config.baseConfig) == null ? void 0 : _a.componentName) == "ElsCaption" || nodeItem.value.componentTypeName === "Row") {
41550
41558
  baseProps.labelWidth = "0px";
41551
- } else if (nodeItem.dataTypeName == "Array" && nodeItem.arrayDataTypeName == "Object") {
41559
+ } else if (nodeItem.value.dataTypeName == "Array" && nodeItem.value.arrayDataTypeName == "Object") {
41552
41560
  delete baseProps.labelWidth;
41553
41561
  }
41554
- if (nodeItem.required) {
41562
+ if (nodeItem.value.required) {
41555
41563
  baseProps["required"] = true;
41556
41564
  }
41557
- if (nodeItem.keyCode) {
41558
- baseProps["prop"] = nodeItem.keyCode;
41565
+ if (nodeItem.value.keyCode) {
41566
+ baseProps["prop"] = nodeItem.value.keyCode;
41559
41567
  }
41560
- if (nodeItem.description) {
41561
- baseProps["tip"] = nodeItem.description;
41568
+ if (nodeItem.value.description) {
41569
+ baseProps["tip"] = nodeItem.value.description;
41562
41570
  }
41563
41571
  if (props.index !== void 0 && props.index > -1) {
41564
41572
  const currPropsIndex = getFormPropIndex();
41565
41573
  baseProps["prop"] = currPropsIndex + `[${props.index}].value`;
41566
41574
  } else {
41567
- baseProps["prop"] = nodeItem.keyCode;
41575
+ baseProps["prop"] = nodeItem.value.keyCode;
41568
41576
  }
41569
- baseProps["label"] = nodeItem.keyName;
41577
+ baseProps["label"] = nodeItem.value.keyName;
41570
41578
  renderProps2(baseProps);
41571
41579
  return baseProps;
41572
41580
  });
@@ -41599,12 +41607,13 @@ function useRender(props, nodeItem, modelValue = void 0, slotValue = void 0, isD
41599
41607
  }
41600
41608
  }
41601
41609
  function renderEvent(eventExpress) {
41610
+ var _a;
41602
41611
  if (isDesigner) {
41603
41612
  return "事件计算";
41604
41613
  }
41605
41614
  try {
41606
41615
  let currEvent = new Function("refs,globalData,rootNode,parentNode,currNode,currValue,dataType,slotRootHasDefault,slotValue,utils", eventExpress);
41607
- return currEvent(refsData.value, getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), modelValue, nodeItem == null ? void 0 : nodeItem.dataType, slotRootHasDefault, slotValue.value, utils);
41616
+ return currEvent(refsData.value, getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), modelValue, (_a = nodeItem.value) == null ? void 0 : _a.dataType, slotRootHasDefault, slotValue.value, utils);
41608
41617
  } catch (err) {
41609
41618
  console.log("RenderEvent异常");
41610
41619
  console.log(eventExpress);
@@ -41643,10 +41652,10 @@ function useRender(props, nodeItem, modelValue = void 0, slotValue = void 0, isD
41643
41652
  }
41644
41653
  function renderIf() {
41645
41654
  try {
41646
- if (nodeItem.config.advancedConfig && nodeItem.config.advancedConfig.vif) {
41647
- let currEvent = new Function("globalData,rootNode,parentNode,currNode,utils", "return " + nodeItem.config.advancedConfig.vif);
41655
+ if (nodeItem.value.config.advancedConfig && nodeItem.value.config.advancedConfig.vif) {
41656
+ let currEvent = new Function("globalData,rootNode,parentNode,currNode,utils", "return " + nodeItem.value.config.advancedConfig.vif);
41648
41657
  const isShow = currEvent(getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), utils);
41649
- nodeItem.isShow = isShow;
41658
+ nodeItem.value.isShow = isShow;
41650
41659
  return isShow;
41651
41660
  }
41652
41661
  } catch (err) {
@@ -41656,8 +41665,8 @@ function useRender(props, nodeItem, modelValue = void 0, slotValue = void 0, isD
41656
41665
  }
41657
41666
  function renderDisabled() {
41658
41667
  try {
41659
- if (nodeItem.config.advancedConfig && nodeItem.config.advancedConfig.disabled) {
41660
- let currEvent = new Function("globalData,rootNode,parentNode,currNode,utils", "return " + nodeItem.config.advancedConfig.disabled);
41668
+ if (nodeItem.value.config.advancedConfig && nodeItem.value.config.advancedConfig.disabled) {
41669
+ let currEvent = new Function("globalData,rootNode,parentNode,currNode,utils", "return " + nodeItem.value.config.advancedConfig.disabled);
41661
41670
  return currEvent(getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), utils);
41662
41671
  }
41663
41672
  } catch (err) {
@@ -41668,13 +41677,13 @@ function useRender(props, nodeItem, modelValue = void 0, slotValue = void 0, isD
41668
41677
  }
41669
41678
  function renderValueChange(val) {
41670
41679
  try {
41671
- if (nodeItem.config.advancedConfig && nodeItem.config.advancedConfig.eventChange) {
41672
- let currEvent = new Function("val,globalData,rootNode,parentNode,currNode,utils", nodeItem.config.advancedConfig.eventChange);
41680
+ if (nodeItem.value.config.advancedConfig && nodeItem.value.config.advancedConfig.eventChange) {
41681
+ let currEvent = new Function("val,globalData,rootNode,parentNode,currNode,utils", nodeItem.value.config.advancedConfig.eventChange);
41673
41682
  return currEvent(val, getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), utils);
41674
41683
  }
41675
41684
  } catch (err) {
41676
41685
  console.log("ValueCahnge异常");
41677
- console.log(nodeItem.config.advancedConfig.eventChange);
41686
+ console.log(nodeItem.value.config.advancedConfig.eventChange);
41678
41687
  }
41679
41688
  }
41680
41689
  return {
@@ -41704,13 +41713,13 @@ function useComponentRef(nodeItem, dyComponent) {
41704
41713
  return {};
41705
41714
  });
41706
41715
  onMounted(() => {
41707
- if (nodeItem.keyID && dyComponent) {
41708
- setComponentRef(nodeItem.keyID, dyComponent.value);
41716
+ if (nodeItem.value.keyID && dyComponent) {
41717
+ setComponentRef(nodeItem.value.keyID, dyComponent.value);
41709
41718
  }
41710
41719
  });
41711
41720
  onUnmounted(() => {
41712
- if (nodeItem.keyID) {
41713
- removeComponentRef(nodeItem.keyID);
41721
+ if (nodeItem.value.keyID) {
41722
+ removeComponentRef(nodeItem.value.keyID);
41714
41723
  }
41715
41724
  });
41716
41725
  }
@@ -41720,22 +41729,27 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
41720
41729
  },
41721
41730
  __name: "innerItem",
41722
41731
  props: {
41723
- nodeItem: {}
41732
+ "nodeItem": { default: () => {
41733
+ return reactive([]);
41734
+ } },
41735
+ "nodeItemModifiers": {}
41724
41736
  },
41737
+ emits: ["update:nodeItem"],
41725
41738
  setup(__props) {
41739
+ const nodeItem = useModel$1(__props, "nodeItem");
41726
41740
  const { getValue: getValue2 } = useProps();
41727
41741
  const attrs = useAttrs();
41728
41742
  const props = __props;
41729
41743
  const currValue = ref();
41730
41744
  const setSelectItem = getValue2("setSelectItem", () => {
41731
41745
  });
41732
- const { componentProps } = useDesigner(props, props.nodeItem);
41746
+ const { componentProps } = useDesigner(props, nodeItem);
41733
41747
  function handleSelectItem() {
41734
- setSelectItem(props.nodeItem);
41748
+ setSelectItem(nodeItem.value);
41735
41749
  }
41736
41750
  const componentName = ref("");
41737
41751
  watchEffect(() => {
41738
- componentName.value = props.nodeItem.componentName;
41752
+ componentName.value = nodeItem.value.componentName;
41739
41753
  });
41740
41754
  return (_ctx, _cache) => {
41741
41755
  const _component_els_tip = resolveComponent("els-tip");
@@ -41755,7 +41769,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
41755
41769
  };
41756
41770
  }
41757
41771
  });
41758
- const _hoisted_1$f = {
41772
+ const _hoisted_1$g = {
41759
41773
  key: 0,
41760
41774
  class: "els-dynamic-d-v-item-type"
41761
41775
  };
@@ -41794,7 +41808,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
41794
41808
  const _component_el_popconfirm = resolveComponent("el-popconfirm");
41795
41809
  const _component_Rank = resolveComponent("Rank");
41796
41810
  return openBlock(), createElementBlock(Fragment, null, [
41797
- _ctx.nodeItem.componentGroup == "Form" || _ctx.nodeItem.formItem && _ctx.nodeItem.keyCode ? (openBlock(), createElementBlock("span", _hoisted_1$f, [
41811
+ _ctx.nodeItem.componentGroup == "Form" || _ctx.nodeItem.formItem && _ctx.nodeItem.keyCode ? (openBlock(), createElementBlock("span", _hoisted_1$g, [
41798
41812
  createElementVNode("span", null, toDisplayString(_ctx.nodeItem.keyCode), 1),
41799
41813
  createElementVNode("span", null, toDisplayString(_ctx.nodeItem.dataTypeName === "Array" && !_ctx.nodeItem.componentType || _ctx.nodeItem.arrayDataTypeName ? `Array
41800
41814
  <${_ctx.nodeItem.arrayDataTypeName ? _ctx.nodeItem.arrayDataTypeName : "T"}>` : _ctx.nodeItem.dataTypeName), 1)
@@ -41853,18 +41867,24 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
41853
41867
  }
41854
41868
  });
41855
41869
  const DynamicDesignerViewOperate = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-63cb7c98"]]);
41856
- const _hoisted_1$e = { key: 1 };
41870
+ const _hoisted_1$f = { key: 1 };
41857
41871
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
41858
41872
  __name: "wrap",
41859
- props: {
41860
- nodeItem: {},
41873
+ props: /* @__PURE__ */ mergeModels({
41861
41874
  parentNode: {},
41862
41875
  showOperate: { type: Boolean }
41863
- },
41876
+ }, {
41877
+ "nodeItem": { default: () => {
41878
+ return reactive([]);
41879
+ } },
41880
+ "nodeItemModifiers": {}
41881
+ }),
41882
+ emits: ["update:nodeItem"],
41864
41883
  setup(__props) {
41884
+ const nodeItem = useModel$1(__props, "nodeItem");
41865
41885
  const props = __props;
41866
41886
  const { getValue: getValue2, setValue } = useProps(props);
41867
- const { componentProps, getNodeValue, getCurrNode } = useDesigner(props, props.nodeItem);
41887
+ const { componentProps, getNodeValue, getCurrNode } = useDesigner(props, nodeItem);
41868
41888
  const recordComponent = getValue2("recordComponent", () => {
41869
41889
  });
41870
41890
  const getSelectItem = getValue2("getSelectItem", () => {
@@ -41881,33 +41901,33 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
41881
41901
  });
41882
41902
  function handleAddComponent(e) {
41883
41903
  recordComponent();
41884
- setSelectItem(props.nodeItem.children[e.newIndex]);
41904
+ setSelectItem(nodeItem.value.children[e.newIndex]);
41885
41905
  }
41886
41906
  setValue({
41887
41907
  getCurrNode: () => {
41888
- return getNodeValue(props.nodeItem.children);
41908
+ return getNodeValue(nodeItem.value.children);
41889
41909
  },
41890
41910
  getParentNode: () => {
41891
41911
  return getCurrNode();
41892
41912
  },
41893
41913
  removeItem: (item) => {
41894
- utils.removeArrayItem(props.nodeItem.children, item);
41914
+ utils.removeArrayItem(nodeItem.value.children, item);
41895
41915
  }
41896
41916
  });
41897
41917
  return (_ctx, _cache) => {
41898
41918
  var _a, _b, _c, _d;
41899
41919
  const _component_els_col = resolveComponent("els-col");
41900
41920
  const _component_Wrap = resolveComponent("Wrap", true);
41901
- return _ctx.nodeItem.componentName === "ElsRow" ? (openBlock(), createBlock(unref(draggable), mergeProps({
41902
- tag: _ctx.nodeItem.componentName,
41903
- onClick: _cache[0] || (_cache[0] = withModifiers(($event) => unref(setSelectItem)(_ctx.nodeItem), ["stop"])),
41904
- key: _ctx.nodeItem.keyID,
41921
+ return nodeItem.value.componentName === "ElsRow" ? (openBlock(), createBlock(unref(draggable), mergeProps({
41922
+ tag: nodeItem.value.componentName,
41923
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => unref(setSelectItem)(nodeItem.value), ["stop"])),
41924
+ key: nodeItem.value.keyID,
41905
41925
  componentData: unref(componentProps)
41906
41926
  }, { group: "dragGroup", ghostClass: "ghost", animation: 300 }, {
41907
- class: ["els-dynamic-designer-wrap", [{ "selected": ((_a = unref(getSelectItem)()) == null ? void 0 : _a.keyID) == _ctx.nodeItem.keyID }, { "els-dynamic-designer-empty": _ctx.nodeItem.children.length == 0 }]],
41908
- "data-restrict": _ctx.nodeItem.restrictChild,
41909
- "data-type": _ctx.nodeItem.componentType,
41910
- list: _ctx.nodeItem.children,
41927
+ class: ["els-dynamic-designer-wrap", [{ "selected": ((_a = unref(getSelectItem)()) == null ? void 0 : _a.keyID) == nodeItem.value.keyID }, { "els-dynamic-designer-empty": nodeItem.value.children.length == 0 }]],
41928
+ "data-restrict": nodeItem.value.restrictChild,
41929
+ "data-type": nodeItem.value.componentType,
41930
+ list: nodeItem.value.children,
41911
41931
  move: unref(handleMove),
41912
41932
  style: wrapStyle.value,
41913
41933
  itemKey: "keyID",
@@ -41916,7 +41936,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
41916
41936
  onAdd: handleAddComponent
41917
41937
  }), {
41918
41938
  item: withCtx(({ element }) => [
41919
- _ctx.nodeItem.componentTypeName === "Row" && element.componentTypeName !== "Col" ? (openBlock(), createBlock(_component_els_col, {
41939
+ nodeItem.value.componentTypeName === "Row" && element.componentTypeName !== "Col" ? (openBlock(), createBlock(_component_els_col, {
41920
41940
  class: "create",
41921
41941
  key: "col" + element.keyID
41922
41942
  }, {
@@ -41928,22 +41948,22 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
41928
41948
  showOperate: "",
41929
41949
  "data-type": element.componentType,
41930
41950
  "data-restrict": element.restrictParent,
41931
- parentNode: _ctx.nodeItem,
41951
+ parentNode: nodeItem.value,
41932
41952
  nodeItem: element,
41933
41953
  key: element.keyID
41934
41954
  }, null, 8, ["data-type", "data-restrict", "parentNode", "nodeItem"]))
41935
41955
  ]),
41936
41956
  _: 1
41937
- }, 16, ["tag", "componentData", "class", "data-restrict", "data-type", "list", "move", "style"])) : _ctx.nodeItem.componentName === "ElsDialog" || _ctx.nodeItem.componentName === "ElsDrawer" || _ctx.nodeItem.componentName === "ElsFormQuery" ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
41957
+ }, 16, ["tag", "componentData", "class", "data-restrict", "data-type", "list", "move", "style"])) : nodeItem.value.componentName === "ElsDialog" || nodeItem.value.componentName === "ElsDrawer" || nodeItem.value.componentName === "ElsFormQuery" ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
41938
41958
  createElementVNode("div", null, [
41939
41959
  (openBlock(), createBlock(unref(draggable), mergeProps({
41940
- key: _ctx.nodeItem.keyID
41960
+ key: nodeItem.value.keyID
41941
41961
  }, { group: "dragGroup", ghostClass: "ghost", animation: 300 }, {
41942
- tag: _ctx.nodeItem.componentName === "ElsFormQuery" ? "els-form-query" : "div",
41943
- class: ["els-dynamic-designer-wrap", [{ "selected": ((_b = unref(getSelectItem)()) == null ? void 0 : _b.keyID) == _ctx.nodeItem.keyID }, { "els-dynamic-designer-empty": _ctx.nodeItem.children.length == 0 }]],
41944
- "data-restrict": _ctx.nodeItem.restrictChild,
41945
- "data-type": _ctx.nodeItem.componentType,
41946
- list: _ctx.nodeItem.children,
41962
+ tag: nodeItem.value.componentName === "ElsFormQuery" ? "els-form-query" : "div",
41963
+ class: ["els-dynamic-designer-wrap", [{ "selected": ((_b = unref(getSelectItem)()) == null ? void 0 : _b.keyID) == nodeItem.value.keyID }, { "els-dynamic-designer-empty": nodeItem.value.children.length == 0 }]],
41964
+ "data-restrict": nodeItem.value.restrictChild,
41965
+ "data-type": nodeItem.value.componentType,
41966
+ list: nodeItem.value.children,
41947
41967
  move: unref(handleMove),
41948
41968
  style: wrapStyle.value,
41949
41969
  itemKey: "keyID",
@@ -41963,28 +41983,28 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
41963
41983
  _: 1
41964
41984
  }, 16, ["tag", "class", "data-restrict", "data-type", "list", "move", "style", "componentData"]))
41965
41985
  ])
41966
- ])) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.nodeItem.componentName), mergeProps({
41986
+ ])) : (openBlock(), createBlock(resolveDynamicComponent(nodeItem.value.componentName), mergeProps({
41967
41987
  key: 2,
41968
- class: { "selected": ((_c = unref(getSelectItem)()) == null ? void 0 : _c.keyID) == _ctx.nodeItem.keyID },
41969
- style: (_d = _ctx.nodeItem.config.advancedConfig) == null ? void 0 : _d.style
41988
+ class: { "selected": ((_c = unref(getSelectItem)()) == null ? void 0 : _c.keyID) == nodeItem.value.keyID },
41989
+ style: (_d = nodeItem.value.config.advancedConfig) == null ? void 0 : _d.style
41970
41990
  }, unref(componentProps), {
41971
- onClick: _cache[1] || (_cache[1] = withModifiers(($event) => unref(setSelectItem)(_ctx.nodeItem), ["stop"]))
41991
+ onClick: _cache[1] || (_cache[1] = withModifiers(($event) => unref(setSelectItem)(nodeItem.value), ["stop"]))
41972
41992
  }), {
41973
41993
  default: withCtx(() => {
41974
41994
  var _a2;
41975
41995
  return [
41976
- _ctx.showOperate || _ctx.nodeItem.componentType === "CollapseItem" ? (openBlock(), createBlock(DynamicDesignerViewOperate, {
41996
+ _ctx.showOperate || nodeItem.value.componentType === "CollapseItem" ? (openBlock(), createBlock(DynamicDesignerViewOperate, {
41977
41997
  key: 0,
41978
- nodeItem: _ctx.nodeItem,
41998
+ nodeItem: nodeItem.value,
41979
41999
  removeItem: unref(handleRemoveItem)
41980
42000
  }, null, 8, ["nodeItem", "removeItem"])) : createCommentVNode("", true),
41981
42001
  (openBlock(), createBlock(unref(draggable), mergeProps({
41982
- key: _ctx.nodeItem.keyID
42002
+ key: nodeItem.value.keyID
41983
42003
  }, { group: "dragGroup", ghostClass: "ghost", animation: 300 }, {
41984
- class: ["els-dynamic-designer-wrap", [{ "selected": ((_a2 = unref(getSelectItem)()) == null ? void 0 : _a2.keyID) == _ctx.nodeItem.keyID }, { "els-dynamic-designer-empty": _ctx.nodeItem.children.length == 0 }]],
41985
- "data-restrict": _ctx.nodeItem.restrictChild,
41986
- "data-type": _ctx.nodeItem.componentType,
41987
- list: _ctx.nodeItem.children,
42004
+ class: ["els-dynamic-designer-wrap", [{ "selected": ((_a2 = unref(getSelectItem)()) == null ? void 0 : _a2.keyID) == nodeItem.value.keyID }, { "els-dynamic-designer-empty": nodeItem.value.children.length == 0 }]],
42005
+ "data-restrict": nodeItem.value.restrictChild,
42006
+ "data-type": nodeItem.value.componentType,
42007
+ list: nodeItem.value.children,
41988
42008
  move: unref(handleMove),
41989
42009
  style: wrapStyle.value,
41990
42010
  itemKey: "keyID",
@@ -42009,26 +42029,32 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
42009
42029
  };
42010
42030
  }
42011
42031
  });
42012
- const DynamicDesignerViewWrap = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-2524d5fb"]]);
42032
+ const DynamicDesignerViewWrap = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-1613ca3f"]]);
42033
+ const _hoisted_1$e = ["innerHTML"];
42013
42034
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
42014
42035
  ...{
42015
42036
  inheritAttrs: false
42016
42037
  },
42017
42038
  __name: "show",
42018
42039
  props: {
42019
- nodeItem: {}
42040
+ "nodeItem": { default: () => {
42041
+ return reactive([]);
42042
+ } },
42043
+ "nodeItemModifiers": {}
42020
42044
  },
42045
+ emits: ["update:nodeItem"],
42021
42046
  setup(__props) {
42047
+ const nodeItem = useModel$1(__props, "nodeItem");
42022
42048
  const props = __props;
42023
- const { componentProps, renderContent } = useDesigner(props, props.nodeItem);
42049
+ const { componentProps, renderContent } = useDesigner(props, nodeItem);
42024
42050
  const componentName = ref("");
42025
- computed(() => {
42026
- return props.nodeItem.config.baseConfig.innerContent;
42051
+ const innerContent = computed(() => {
42052
+ return nodeItem.value.config.baseConfig.innerContent;
42027
42053
  });
42028
42054
  watchEffect(() => {
42029
- componentName.value = props.nodeItem.componentName;
42055
+ componentName.value = nodeItem.value.componentName;
42030
42056
  });
42031
- computed(() => {
42057
+ const currProps = computed(() => {
42032
42058
  const copyProps = { ...componentProps.value };
42033
42059
  if (componentName.value === "ElsTable") {
42034
42060
  delete copyProps.url;
@@ -42037,7 +42063,24 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
42037
42063
  return copyProps;
42038
42064
  });
42039
42065
  return (_ctx, _cache) => {
42040
- return openBlock(), createElementBlock("div", null, "显示");
42066
+ const _component_els_tip = resolveComponent("els-tip");
42067
+ return componentName.value ? (openBlock(), createBlock(resolveDynamicComponent(componentName.value), normalizeProps(mergeProps({ key: 0 }, currProps.value)), {
42068
+ default: withCtx(() => [
42069
+ innerContent.value ? (openBlock(), createElementBlock("span", {
42070
+ key: 0,
42071
+ innerHTML: unref(renderContent)(innerContent.value)
42072
+ }, null, 8, _hoisted_1$e)) : createCommentVNode("", true)
42073
+ ]),
42074
+ _: 1
42075
+ }, 16)) : (openBlock(), createBlock(_component_els_tip, {
42076
+ key: 1,
42077
+ type: "danger"
42078
+ }, {
42079
+ default: withCtx(() => [
42080
+ createTextVNode("未设置组件名")
42081
+ ]),
42082
+ _: 1
42083
+ }));
42041
42084
  };
42042
42085
  }
42043
42086
  });
@@ -42047,21 +42090,26 @@ const _hoisted_3$7 = { class: "component-inner-wrap" };
42047
42090
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
42048
42091
  __name: "inner",
42049
42092
  props: {
42050
- nodeItem: {}
42093
+ "nodeItem": { default: () => {
42094
+ return reactive([]);
42095
+ } },
42096
+ "nodeItemModifiers": {}
42051
42097
  },
42098
+ emits: ["update:nodeItem"],
42052
42099
  setup(__props) {
42100
+ const nodeItem = useModel$1(__props, "nodeItem");
42053
42101
  const props = __props;
42054
- const { getValue: getValue2, setValue } = useProps(props);
42102
+ const { getValue: getValue2, setValue } = useProps();
42055
42103
  const setSelectItem = getValue2("setSelectItem", () => {
42056
42104
  });
42057
42105
  const getSelectItem = getValue2("getSelectItem", () => {
42058
42106
  });
42059
42107
  const handleContextMenu = getValue2("handleContextMenu", () => {
42060
42108
  });
42061
- const { isMobile, formProps: formProps2, renderDisabled } = useDesigner(props, props.nodeItem);
42109
+ const { isMobile, formProps: formProps2, renderDisabled } = useDesigner(props, nodeItem);
42062
42110
  const slotVisible = ref();
42063
42111
  function handleSelectItem() {
42064
- setSelectItem(props.nodeItem);
42112
+ setSelectItem(nodeItem.value);
42065
42113
  }
42066
42114
  function setSlotVisible() {
42067
42115
  slotVisible.value = !slotVisible.value;
@@ -42077,69 +42125,69 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
42077
42125
  const _component_els_tabs = resolveComponent("els-tabs");
42078
42126
  const _component_els_collapse_transition = resolveComponent("els-collapse-transition");
42079
42127
  return openBlock(), createElementBlock("div", {
42080
- class: normalizeClass(["els-dynamic-d-v-item", [{ "selected": ((_a = unref(getSelectItem)()) == null ? void 0 : _a.keyID) == _ctx.nodeItem.keyID }, { "iswrap": _ctx.nodeItem.componentGroup == "Container" }]]),
42081
- style: normalizeStyle((_b = _ctx.nodeItem.config.advancedConfig) == null ? void 0 : _b.style),
42082
- "data-restrict": _ctx.nodeItem.restrictChild,
42083
- "data-type": _ctx.nodeItem.componentType,
42128
+ class: normalizeClass(["els-dynamic-d-v-item", [{ "selected": ((_a = unref(getSelectItem)()) == null ? void 0 : _a.keyID) == nodeItem.value.keyID }, { "iswrap": nodeItem.value.componentGroup == "Container" }]]),
42129
+ style: normalizeStyle((_b = nodeItem.value.config.advancedConfig) == null ? void 0 : _b.style),
42130
+ "data-restrict": nodeItem.value.restrictChild,
42131
+ "data-type": nodeItem.value.componentType,
42084
42132
  onClick: withModifiers(handleSelectItem, ["stop"]),
42085
- onContextmenu: _cache[1] || (_cache[1] = ($event) => unref(handleContextMenu)($event, _ctx.nodeItem))
42133
+ onContextmenu: _cache[1] || (_cache[1] = ($event) => unref(handleContextMenu)($event, nodeItem.value))
42086
42134
  }, [
42087
- createVNode(DynamicDesignerViewOperate, { nodeItem: _ctx.nodeItem }, null, 8, ["nodeItem"]),
42088
- _ctx.nodeItem.componentGroup == "Container" ? (openBlock(), createBlock(DynamicDesignerViewWrap, {
42135
+ createVNode(DynamicDesignerViewOperate, { nodeItem: nodeItem.value }, null, 8, ["nodeItem"]),
42136
+ nodeItem.value.componentGroup == "Container" ? (openBlock(), createBlock(DynamicDesignerViewWrap, {
42089
42137
  key: 0,
42090
- parentNode: _ctx.nodeItem,
42091
- nodeItem: _ctx.nodeItem
42092
- }, null, 8, ["parentNode", "nodeItem"])) : _ctx.nodeItem.componentTypeName && _ctx.nodeItem.componentGroup === "Show" && _ctx.nodeItem.keyCode ? (openBlock(), createBlock(_sfc_main$j, {
42138
+ parentNode: nodeItem.value,
42139
+ nodeItem: nodeItem.value
42140
+ }, null, 8, ["parentNode", "nodeItem"])) : nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Show" && nodeItem.value.keyCode ? (openBlock(), createBlock(_sfc_main$j, {
42093
42141
  key: 1,
42094
- nodeItem: _ctx.nodeItem,
42095
- style: normalizeStyle(_ctx.nodeItem.config.advancedConfig.style),
42096
- title: _ctx.nodeItem.keyName,
42097
- modelValue: _ctx.nodeItem.value,
42098
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.nodeItem.value = $event)
42099
- }, null, 8, ["nodeItem", "style", "title", "modelValue"])) : _ctx.nodeItem.componentTypeName && _ctx.nodeItem.componentGroup === "Show" ? (openBlock(), createBlock(_sfc_main$j, {
42142
+ nodeItem: nodeItem.value,
42143
+ style: normalizeStyle(nodeItem.value.config.advancedConfig.style),
42144
+ title: nodeItem.value.keyName,
42145
+ modelValue: nodeItem.value.value,
42146
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => nodeItem.value.value = $event)
42147
+ }, null, 8, ["nodeItem", "style", "title", "modelValue"])) : nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Show" ? (openBlock(), createBlock(_sfc_main$j, {
42100
42148
  key: 2,
42101
- nodeItem: _ctx.nodeItem,
42102
- style: normalizeStyle(_ctx.nodeItem.config.advancedConfig.style),
42103
- title: _ctx.nodeItem.keyName
42104
- }, null, 8, ["nodeItem", "style", "title"])) : unref(isMobile) && (_ctx.nodeItem.componentTypeName === "Input" || _ctx.nodeItem.componentTypeName === "Textarea") ? (openBlock(), createBlock(_sfc_main$m, mergeProps({
42149
+ nodeItem: nodeItem.value,
42150
+ style: normalizeStyle(nodeItem.value.config.advancedConfig.style),
42151
+ title: nodeItem.value.keyName
42152
+ }, null, 8, ["nodeItem", "style", "title"])) : unref(isMobile) && (nodeItem.value.componentTypeName === "Input" || nodeItem.value.componentTypeName === "Textarea") ? (openBlock(), createBlock(_sfc_main$m, mergeProps({
42105
42153
  key: 3,
42106
42154
  disabled: unref(renderDisabled)()
42107
42155
  }, unref(formProps2), {
42108
- nodeItem: _ctx.nodeItem,
42156
+ nodeItem: nodeItem.value,
42109
42157
  prop: void 0
42110
- }), null, 16, ["disabled", "nodeItem"])) : _ctx.nodeItem.componentTypeName && _ctx.nodeItem.componentGroup === "Form" ? (openBlock(), createBlock(_component_els_form_node, mergeProps({
42158
+ }), null, 16, ["disabled", "nodeItem"])) : nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Form" ? (openBlock(), createBlock(_component_els_form_node, mergeProps({
42111
42159
  key: 4,
42112
42160
  childCreateFormItem: false,
42113
- childType: _ctx.nodeItem.operateType
42161
+ childType: nodeItem.value.operateType
42114
42162
  }, unref(formProps2), { prop: void 0 }), {
42115
42163
  default: withCtx(() => [
42116
- _ctx.nodeItem.dataTypeName === "Object" && !_ctx.nodeItem.formItem ? (openBlock(), createBlock(resolveDynamicComponent("van-cell-group"), {
42164
+ nodeItem.value.dataTypeName === "Object" && !nodeItem.value.formItem ? (openBlock(), createBlock(resolveDynamicComponent("van-cell-group"), {
42117
42165
  key: 0,
42118
- title: _ctx.nodeItem.keyName
42166
+ title: nodeItem.value.keyName
42119
42167
  }, {
42120
42168
  default: withCtx(() => [
42121
- createVNode(_sfc_main$m, { nodeItem: _ctx.nodeItem }, null, 8, ["nodeItem"])
42169
+ createVNode(_sfc_main$m, { nodeItem: nodeItem.value }, null, 8, ["nodeItem"])
42122
42170
  ]),
42123
42171
  _: 1
42124
42172
  }, 8, ["title"])) : (openBlock(), createBlock(_sfc_main$m, {
42125
42173
  key: 1,
42126
42174
  disabled: unref(renderDisabled)(),
42127
- nodeItem: _ctx.nodeItem
42175
+ nodeItem: nodeItem.value
42128
42176
  }, null, 8, ["disabled", "nodeItem"]))
42129
42177
  ]),
42130
42178
  _: 1
42131
- }, 16, ["childType"])) : _ctx.nodeItem.dataTypeName === "Array" || _ctx.nodeItem.dataTypeName == "Object" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
42132
- ((_c = _ctx.nodeItem.config.baseConfig) == null ? void 0 : _c.componentName) == "ElsCaption" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
42133
- ((_d = _ctx.nodeItem.config.baseConfig) == null ? void 0 : _d.componentName) == "ElsCaption" ? (openBlock(), createBlock(_component_els_caption, mergeProps({ key: 0 }, _ctx.nodeItem.config.baseConfig, {
42134
- title: _ctx.nodeItem.config.baseConfig.title || _ctx.nodeItem.keyName
42179
+ }, 16, ["childType"])) : nodeItem.value.dataTypeName === "Array" || nodeItem.value.dataTypeName == "Object" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
42180
+ ((_c = nodeItem.value.config.baseConfig) == null ? void 0 : _c.componentName) == "ElsCaption" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
42181
+ ((_d = nodeItem.value.config.baseConfig) == null ? void 0 : _d.componentName) == "ElsCaption" ? (openBlock(), createBlock(_component_els_caption, mergeProps({ key: 0 }, nodeItem.value.config.baseConfig, {
42182
+ title: nodeItem.value.config.baseConfig.title || nodeItem.value.keyName
42135
42183
  }), null, 16, ["title"])) : createCommentVNode("", true),
42136
- createVNode(DynamicDesignerViewForm, { nodeItem: _ctx.nodeItem }, null, 8, ["nodeItem"])
42184
+ createVNode(DynamicDesignerViewForm, { nodeItem: nodeItem.value }, null, 8, ["nodeItem"])
42137
42185
  ], 64)) : (openBlock(), createBlock(_component_els_form_node, mergeProps({
42138
42186
  key: 1,
42139
42187
  createFormItem: !unref(isMobile)
42140
42188
  }, unref(formProps2), { prop: void 0 }), {
42141
42189
  default: withCtx(() => [
42142
- createVNode(DynamicDesignerViewForm, { nodeItem: _ctx.nodeItem }, null, 8, ["nodeItem"])
42190
+ createVNode(DynamicDesignerViewForm, { nodeItem: nodeItem.value }, null, 8, ["nodeItem"])
42143
42191
  ]),
42144
42192
  _: 1
42145
42193
  }, 16, ["createFormItem"]))
@@ -42151,7 +42199,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
42151
42199
  class: "slot-tabs"
42152
42200
  }, {
42153
42201
  default: withCtx(() => [
42154
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.nodeItem.slots, (slot) => {
42202
+ (openBlock(true), createElementBlock(Fragment, null, renderList(nodeItem.value.slots, (slot) => {
42155
42203
  return openBlock(), createBlock(_component_els_option, {
42156
42204
  label: `插槽[${slot.name}]`
42157
42205
  }, {
@@ -42179,7 +42227,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
42179
42227
  };
42180
42228
  }
42181
42229
  });
42182
- const DynamicDesignerViewInner = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-5f362207"]]);
42230
+ const DynamicDesignerViewInner = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-1f8e26bb"]]);
42183
42231
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
42184
42232
  __name: "form",
42185
42233
  props: /* @__PURE__ */ mergeModels({
@@ -42197,7 +42245,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
42197
42245
  const recordComponent = getValue2("recordComponent", () => {
42198
42246
  });
42199
42247
  const nodeItem = useModel$1(__props, "nodeItem");
42200
- const { isMobile, componentProps, getCurrNode, getNodeValue } = useDesigner(props, nodeItem.value);
42248
+ const { isMobile, componentProps, getCurrNode, getNodeValue } = useDesigner(props, nodeItem);
42201
42249
  const setSelectItem = getValue2("setSelectItem", () => {
42202
42250
  });
42203
42251
  const getSelectItem = getValue2("getSelectItem", () => {
@@ -42319,7 +42367,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
42319
42367
  };
42320
42368
  }
42321
42369
  });
42322
- const DynamicDesignerViewForm = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-359ff6ae"]]);
42370
+ const DynamicDesignerViewForm = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-57481452"]]);
42323
42371
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
42324
42372
  __name: "body",
42325
42373
  props: /* @__PURE__ */ mergeModels({
@@ -42544,7 +42592,7 @@ const useDesign = defineStore("dynamic-design", () => {
42544
42592
  clear
42545
42593
  };
42546
42594
  });
42547
- const _withScopeId = (n) => (pushScopeId("data-v-a5b2aacb"), n = n(), popScopeId(), n);
42595
+ const _withScopeId = (n) => (pushScopeId("data-v-05b6fdb5"), n = n(), popScopeId(), n);
42548
42596
  const _hoisted_1$c = {
42549
42597
  style: { "display": "flex", "background": "#f8f8f8" },
42550
42598
  class: "els-dynamic-d-view"
@@ -43817,7 +43865,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
43817
43865
  };
43818
43866
  }
43819
43867
  });
43820
- const DesignerView = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-a5b2aacb"]]);
43868
+ const DesignerView = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-05b6fdb5"]]);
43821
43869
  const ElsDesignerView = withInstall(DesignerView);
43822
43870
  (function(Prism2) {
43823
43871
  var string = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
@@ -44624,31 +44672,31 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
44624
44672
  }
44625
44673
  onMounted(() => {
44626
44674
  if (props.language === "json") {
44627
- const currModule = import("./mode-json-DU1HcagH.js").then((n) => n.m);
44675
+ const currModule = import("./mode-json-DDQhzDQk.js").then((n) => n.m);
44628
44676
  currModule.then((res) => {
44629
44677
  ace.config.setModuleUrl("ace/mode/json", res);
44630
44678
  init();
44631
44679
  });
44632
44680
  } else if (props.language === "javascript") {
44633
- const currModule = import("./mode-javascript-ZIeeJXLD.js").then((n) => n.m);
44681
+ const currModule = import("./mode-javascript-BFIoW_cQ.js").then((n) => n.m);
44634
44682
  currModule.then((res) => {
44635
44683
  ace.config.setModuleUrl("ace/mode/javascript", res);
44636
44684
  init();
44637
44685
  });
44638
44686
  } else if (props.language === "csharp") {
44639
- const currModule = import("./mode-csharp-_xDL4xvF.js").then((n) => n.m);
44687
+ const currModule = import("./mode-csharp-BeZCsaLF.js").then((n) => n.m);
44640
44688
  currModule.then((res) => {
44641
44689
  ace.config.setModuleUrl("ace/mode/csharp", res);
44642
44690
  init();
44643
44691
  });
44644
44692
  } else if (props.language === "mysql") {
44645
- const currModule = import("./mode-mysql-D1zY1eHz.js").then((n) => n.m);
44693
+ const currModule = import("./mode-mysql-B8-3MK9X.js").then((n) => n.m);
44646
44694
  currModule.then((res) => {
44647
44695
  ace.config.setModuleUrl("ace/mode/mysql", res);
44648
44696
  init();
44649
44697
  });
44650
44698
  } else if (props.language === "css") {
44651
- const currModule = import("./mode-css-B2yRLHsI.js").then((n) => n.m);
44699
+ const currModule = import("./mode-css-B7YEKEnN.js").then((n) => n.m);
44652
44700
  currModule.then((res) => {
44653
44701
  ace.config.setModuleUrl("ace/mode/css", res);
44654
44702
  init();
@@ -44810,7 +44858,7 @@ const wangEditorProps = buildProps({
44810
44858
  type: Object
44811
44859
  }
44812
44860
  });
44813
- const _hoisted_1$a = { style: { "border": "1px solid #ccc", "flex-grow": "1" } };
44861
+ const _hoisted_1$a = { class: "els-wangEditor" };
44814
44862
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
44815
44863
  ...{ name: "ElsWangEditor", inheritAttrs: false },
44816
44864
  __name: "wangEditor",
@@ -44922,7 +44970,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
44922
44970
  };
44923
44971
  }
44924
44972
  });
44925
- const ElsWangEditor = withInstall(_sfc_main$a);
44973
+ const WangEditor = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-7bf90232"]]);
44974
+ const ElsWangEditor = withInstall(WangEditor);
44926
44975
  const jsonViewerProps = buildProps({
44927
44976
  /**
44928
44977
  * @description 数据