element-less 0.0.70 → 0.0.72

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 (52) hide show
  1. package/components.d.ts +1 -0
  2. package/custom/dynamic/common/interfaces/dynamicComponentType.d.ts +1 -0
  3. package/custom/dynamic/common/propertys/index.d.ts +1 -0
  4. package/custom/dynamic/common/propertys/requestForm.d.ts +456 -0
  5. package/custom/dynamic/designerView/src/responseMappingEditor.vue.d.ts +9 -0
  6. package/custom/dynamic/designerView/src/schemaFieldEditor.vue.d.ts +9 -0
  7. package/custom/requestForm/index.d.ts +97 -0
  8. package/custom/requestForm/src/requestForm.d.ts +13 -0
  9. package/custom/requestForm/src/requestForm.vue.d.ts +51 -0
  10. package/custom/waterFall/index.d.ts +6 -6
  11. package/custom/waterFall/src/lib/components/Waterfall.vue.d.ts +1 -1
  12. package/custom/waterFall/src/waterFall.vue.d.ts +12 -12
  13. package/element-less.cjs +1 -1
  14. package/element-less.iife.js +1 -1
  15. package/element-less.js +110 -108
  16. package/element-less.umd.cjs +1 -1
  17. package/elementui/cascader/index.d.ts +8 -8
  18. package/elementui/cascader/src/cascader.vue.d.ts +2 -2
  19. package/elementui/checkbox/src/checkboxButton.vue.d.ts +1 -1
  20. package/elementui/radio/index.d.ts +10 -10
  21. package/elementui/radio/src/radio.vue.d.ts +1 -1
  22. package/elementui/radio/src/radioButton.vue.d.ts +1 -1
  23. package/elementui/segmented/index.d.ts +1 -1
  24. package/elementui/select/index.d.ts +13 -13
  25. package/elementui/select/src/select.vue.d.ts +3 -3
  26. package/elementui/tree/index.d.ts +4 -4
  27. package/elementui/tree/src/tree.vue.d.ts +1 -1
  28. package/elementui/tree-select/index.d.ts +4 -4
  29. package/elementui/tree-select/src/treeSelect.vue.d.ts +1 -1
  30. package/elementui/upload/index.d.ts +4 -4
  31. package/elementui/upload/src/upload.vue.d.ts +1 -1
  32. package/global.d.ts +1 -0
  33. package/{index-AMD8Nr9_.js → index-Ckj1UiS8.js} +2168 -769
  34. package/index-_ZAzzf-F.cjs +1 -0
  35. package/{inner-D0l83fj6.js → inner-Cn9E8KV4.js} +10 -9
  36. package/inner-jxs-nG3b.cjs +1 -0
  37. package/{innerItem-tLsRiBeT.cjs → innerItem-BhWaV5z6.cjs} +1 -1
  38. package/{innerItem-hCYuS1Ma.js → innerItem-CnLhfK-G.js} +1 -1
  39. package/{mode-csharp-C5KSEWQK.cjs → mode-csharp-BqjzW6u-.cjs} +1 -1
  40. package/{mode-csharp-BlAPRtxP.js → mode-csharp-CWbGgzjG.js} +1 -1
  41. package/{mode-css-CAkG9EHC.cjs → mode-css-BOWKzLQj.cjs} +1 -1
  42. package/{mode-css-C3ZC-V7X.js → mode-css-CorxJdP-.js} +1 -1
  43. package/{mode-javascript-Ce-uXRtx.cjs → mode-javascript-CU4-gDSi.cjs} +1 -1
  44. package/{mode-javascript-lomz8qCz.js → mode-javascript-DE9c49cw.js} +1 -1
  45. package/{mode-json-B8qhc0kL.cjs → mode-json-BM-YsleU.cjs} +1 -1
  46. package/{mode-json-BQVTlnPx.js → mode-json-CIyvEhnr.js} +1 -1
  47. package/{mode-mysql-Cou6xANN.js → mode-mysql-BwT2SuQq.js} +1 -1
  48. package/{mode-mysql-CH-VE50-.cjs → mode-mysql-DPV59SE4.cjs} +1 -1
  49. package/package.json +1 -1
  50. package/style.css +1 -1
  51. package/index-P1FBo0tW.cjs +0 -1
  52. package/inner-DUAGMe9Q.cjs +0 -1
@@ -7,6 +7,7 @@ import pkg from "file-saver";
7
7
  import * as XLSX from "xlsx";
8
8
  import { ElMessageBox, ElMessage, ElNotification, formItemProps as formItemProps$2, formProps as formProps$2, ElSpace, inputProps as inputProps$1, inputEmits, radioProps as radioProps$1, checkboxProps as checkboxProps$1, useId, ElCheckboxButton, ElCheckbox, ElRadioButton, ElRadio, rowProps as rowProps$1, useNamespace, rowContextKey, colProps, ElForm, ElButton, paginationProps, ElLoading, menuProps as menuProps$1, ElMenu, menuItemProps as menuItemProps$1, menuItemEmits, ElMenuItem, subMenuProps as subMenuProps$1, ElSubMenu, switchProps as switchProps$1, imageProps as imageProps$1, imageViewerProps as imageViewerProps$1, autocompleteProps as autocompleteProps$1, cascaderProps as cascaderProps$1, dialogProps as dialogProps$2, drawerProps as drawerProps$1, dropdownProps as dropdownProps$1, sliderProps as sliderProps$1, inputNumberProps as inputNumberProps$1, uploadProps as uploadProps$1, timePickerDefaultProps, datePickerProps as datePickerProps$1, tabsProps as tabsProps$1, colorPickerProps as colorPickerProps$1, segmentedProps as segmentedProps$1, tagProps as tagProps$1, ElContainer, useSizeProp as useSizeProp$1 } from "element-plus";
9
9
  import { useClipboard, onClickOutside, useResizeObserver, useDebounceFn } from "@vueuse/core";
10
+ import JsonEditorVue from "json-editor-vue";
10
11
  import lodash, { debounce as debounce$2 } from "lodash";
11
12
  import draggable from "vuedraggable";
12
13
  import Sortable from "sortablejs";
@@ -16,7 +17,6 @@ import prism from "prismjs";
16
17
  import ace from "ace-builds";
17
18
  import { createEditor, DomEditor, createToolbar } from "@wangeditor/editor";
18
19
  import VueJsonViewer from "vue-json-viewer";
19
- import JsonEditorVue from "json-editor-vue";
20
20
  function OrderedMap(content) {
21
21
  this.content = content;
22
22
  }
@@ -26579,6 +26579,21 @@ var _sfc_main6 = /* @__PURE__ */ defineComponent({
26579
26579
  ]));
26580
26580
  }
26581
26581
  }), arrow_down_default = _sfc_main6;
26582
+ var _sfc_main12 = /* @__PURE__ */ defineComponent({
26583
+ name: "ArrowUp",
26584
+ __name: "arrow-up",
26585
+ setup(__props) {
26586
+ return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
26587
+ xmlns: "http://www.w3.org/2000/svg",
26588
+ viewBox: "0 0 1024 1024"
26589
+ }, [
26590
+ createElementVNode("path", {
26591
+ fill: "currentColor",
26592
+ d: "m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"
26593
+ })
26594
+ ]));
26595
+ }
26596
+ }), arrow_up_default = _sfc_main12;
26582
26597
  var _sfc_main43 = /* @__PURE__ */ defineComponent({
26583
26598
  name: "Check",
26584
26599
  __name: "check",
@@ -26677,6 +26692,21 @@ var _sfc_main201 = /* @__PURE__ */ defineComponent({
26677
26692
  ]));
26678
26693
  }
26679
26694
  }), plus_default = _sfc_main201;
26695
+ var _sfc_main283 = /* @__PURE__ */ defineComponent({
26696
+ name: "View",
26697
+ __name: "view",
26698
+ setup(__props) {
26699
+ return (_ctx, _cache) => (openBlock(), createElementBlock("svg", {
26700
+ xmlns: "http://www.w3.org/2000/svg",
26701
+ viewBox: "0 0 1024 1024"
26702
+ }, [
26703
+ createElementVNode("path", {
26704
+ fill: "currentColor",
26705
+ d: "M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"
26706
+ })
26707
+ ]));
26708
+ }
26709
+ }), view_default = _sfc_main283;
26680
26710
  var _sfc_main292 = /* @__PURE__ */ defineComponent({
26681
26711
  name: "ZoomIn",
26682
26712
  __name: "zoom-in",
@@ -26819,7 +26849,7 @@ const _export_sfc$1 = (sfc, props2) => {
26819
26849
  }
26820
26850
  return target;
26821
26851
  };
26822
- const _sfc_main$2r = /* @__PURE__ */ Object.assign({ name: "ElsTiptapEditor" }, {
26852
+ const _sfc_main$2u = /* @__PURE__ */ Object.assign({ name: "ElsTiptapEditor" }, {
26823
26853
  __name: "tipTapEditor",
26824
26854
  props: tipTapEditorProps,
26825
26855
  emits: [
@@ -27319,7 +27349,7 @@ const _sfc_main$2r = /* @__PURE__ */ Object.assign({ name: "ElsTiptapEditor" },
27319
27349
  };
27320
27350
  }
27321
27351
  });
27322
- const TipTapEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$2r, [["__scopeId", "data-v-329f0d4d"]]);
27352
+ const TipTapEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$2u, [["__scopeId", "data-v-329f0d4d"]]);
27323
27353
  const { saveAs } = pkg;
27324
27354
  function _toConsumableArray(e) {
27325
27355
  if (Array.isArray(e)) {
@@ -32751,17 +32781,17 @@ function filterGlobalDataFields(options2, query) {
32751
32781
  return result;
32752
32782
  }, []);
32753
32783
  }
32754
- const _hoisted_1$1r = { class: "fp-panel" };
32755
- const _hoisted_2$A = { class: "fp-search" };
32756
- const _hoisted_3$r = ["onClick"];
32757
- const _hoisted_4$i = { class: "fp-name" };
32758
- const _hoisted_5$h = { class: "fp-code" };
32759
- const _hoisted_6$d = ["onClick"];
32760
- const _hoisted_7$b = { class: "fp-name" };
32761
- const _hoisted_8$8 = { class: "fp-code" };
32762
- const _hoisted_9$6 = ["onClick"];
32763
- const _hoisted_10$4 = { class: "fp-name" };
32764
- const _hoisted_11$4 = { class: "fp-code" };
32784
+ const _hoisted_1$1u = { class: "fp-panel" };
32785
+ const _hoisted_2$D = { class: "fp-search" };
32786
+ const _hoisted_3$u = ["onClick"];
32787
+ const _hoisted_4$l = { class: "fp-name" };
32788
+ const _hoisted_5$j = { class: "fp-code" };
32789
+ const _hoisted_6$f = ["onClick"];
32790
+ const _hoisted_7$d = { class: "fp-name" };
32791
+ const _hoisted_8$9 = { class: "fp-code" };
32792
+ const _hoisted_9$7 = ["onClick"];
32793
+ const _hoisted_10$5 = { class: "fp-name" };
32794
+ const _hoisted_11$5 = { class: "fp-code" };
32765
32795
  const _hoisted_12$4 = ["onClick"];
32766
32796
  const _hoisted_13$4 = { class: "fp-name" };
32767
32797
  const _hoisted_14$4 = { class: "fp-code" };
@@ -32787,7 +32817,7 @@ const _hoisted_33$1 = {
32787
32817
  key: 4,
32788
32818
  class: "fp-empty"
32789
32819
  };
32790
- const _sfc_main$2q = /* @__PURE__ */ defineComponent({
32820
+ const _sfc_main$2t = /* @__PURE__ */ defineComponent({
32791
32821
  ...{ name: "ElsFieldPicker" },
32792
32822
  __name: "fieldPicker",
32793
32823
  props: {
@@ -32995,8 +33025,8 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
32995
33025
  ], true)
32996
33026
  ]),
32997
33027
  default: withCtx(() => [
32998
- createElementVNode("div", _hoisted_1$1r, [
32999
- createElementVNode("div", _hoisted_2$A, [
33028
+ createElementVNode("div", _hoisted_1$1u, [
33029
+ createElementVNode("div", _hoisted_2$D, [
33000
33030
  createVNode(_component_el_input, {
33001
33031
  modelValue: search.value,
33002
33032
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => search.value = $event),
@@ -33035,9 +33065,9 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
33035
33065
  createElementVNode("span", {
33036
33066
  class: normalizeClass(["fp-badge", TYPE_CLASS[item.dataTypeName]])
33037
33067
  }, toDisplayString(TYPE_LABEL[item.dataTypeName] || item.dataTypeName), 3),
33038
- createElementVNode("span", _hoisted_4$i, toDisplayString(item.label), 1),
33039
- createElementVNode("span", _hoisted_5$h, toDisplayString(item.sub), 1)
33040
- ], 8, _hoisted_3$r)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
33068
+ createElementVNode("span", _hoisted_4$l, toDisplayString(item.label), 1),
33069
+ createElementVNode("span", _hoisted_5$j, toDisplayString(item.sub), 1)
33070
+ ], 8, _hoisted_3$u)) : (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
33041
33071
  createElementVNode("div", {
33042
33072
  class: "fp-item fp-item--container",
33043
33073
  onClick: ($event) => toggleCurrContainer(item.keyCode)
@@ -33051,9 +33081,9 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
33051
33081
  _: 1
33052
33082
  }, 8, ["class"]),
33053
33083
  _cache[3] || (_cache[3] = createElementVNode("span", { class: "fp-badge fp-t-obj" }, "{ }", -1)),
33054
- createElementVNode("span", _hoisted_7$b, toDisplayString(item.keyName), 1),
33055
- createElementVNode("span", _hoisted_8$8, toDisplayString(item.keyCode), 1)
33056
- ], 8, _hoisted_6$d),
33084
+ createElementVNode("span", _hoisted_7$d, toDisplayString(item.keyName), 1),
33085
+ createElementVNode("span", _hoisted_8$9, toDisplayString(item.keyCode), 1)
33086
+ ], 8, _hoisted_6$f),
33057
33087
  expandedCurrContainers.value.includes(item.keyCode) ? (openBlock(true), createElementBlock(Fragment$1, { key: 0 }, renderList(item.children, (child) => {
33058
33088
  return openBlock(), createElementBlock("div", {
33059
33089
  key: child.value,
@@ -33063,9 +33093,9 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
33063
33093
  createElementVNode("span", {
33064
33094
  class: normalizeClass(["fp-badge", TYPE_CLASS[child.dataTypeName]])
33065
33095
  }, toDisplayString(TYPE_LABEL[child.dataTypeName] || child.dataTypeName), 3),
33066
- createElementVNode("span", _hoisted_10$4, toDisplayString(child.label), 1),
33067
- createElementVNode("span", _hoisted_11$4, toDisplayString(child.sub), 1)
33068
- ], 8, _hoisted_9$6);
33096
+ createElementVNode("span", _hoisted_10$5, toDisplayString(child.label), 1),
33097
+ createElementVNode("span", _hoisted_11$5, toDisplayString(child.sub), 1)
33098
+ ], 8, _hoisted_9$7);
33069
33099
  }), 128)) : createCommentVNode("", true)
33070
33100
  ], 64))
33071
33101
  ], 64);
@@ -33213,23 +33243,23 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
33213
33243
  };
33214
33244
  }
33215
33245
  });
33216
- const FieldPicker = /* @__PURE__ */ _export_sfc$1(_sfc_main$2q, [["__scopeId", "data-v-f7844c2e"]]);
33217
- const _hoisted_1$1q = { class: "condition-builder-trigger" };
33218
- const _hoisted_2$z = { class: "cb-dialog-body" };
33219
- const _hoisted_3$q = { class: "cb-header" };
33220
- const _hoisted_4$h = {
33246
+ const FieldPicker = /* @__PURE__ */ _export_sfc$1(_sfc_main$2t, [["__scopeId", "data-v-f7844c2e"]]);
33247
+ const _hoisted_1$1t = { class: "condition-builder-trigger" };
33248
+ const _hoisted_2$C = { class: "cb-dialog-body" };
33249
+ const _hoisted_3$t = { class: "cb-header" };
33250
+ const _hoisted_4$k = {
33221
33251
  key: 0,
33222
33252
  class: "cb-no-fields"
33223
33253
  };
33224
- const _hoisted_5$g = { class: "cb-conditions" };
33225
- const _hoisted_6$c = {
33254
+ const _hoisted_5$i = { class: "cb-conditions" };
33255
+ const _hoisted_6$e = {
33226
33256
  key: 0,
33227
33257
  class: "cb-logic-row"
33228
33258
  };
33229
- const _hoisted_7$a = { class: "cb-condition-row" };
33230
- const _hoisted_8$7 = { class: "cb-field-label" };
33259
+ const _hoisted_7$c = { class: "cb-condition-row" };
33260
+ const _hoisted_8$8 = { class: "cb-field-label" };
33231
33261
  const nodePattern = "(currNode|parentNode|rootNode)";
33232
- const _sfc_main$2p = /* @__PURE__ */ defineComponent({
33262
+ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
33233
33263
  ...{ name: "ElsConditionBuilder" },
33234
33264
  __name: "conditionBuilder",
33235
33265
  props: {
@@ -33740,7 +33770,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
33740
33770
  const _component_el_input = resolveComponent("el-input");
33741
33771
  const _component_Plus = resolveComponent("Plus");
33742
33772
  const _component_el_dialog = resolveComponent("el-dialog");
33743
- return openBlock(), createElementBlock("div", _hoisted_1$1q, [
33773
+ return openBlock(), createElementBlock("div", _hoisted_1$1t, [
33744
33774
  createVNode(_component_el_button, {
33745
33775
  size: "small",
33746
33776
  style: { "width": "100%" },
@@ -33791,8 +33821,8 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
33791
33821
  })
33792
33822
  ]),
33793
33823
  default: withCtx(() => [
33794
- createElementVNode("div", _hoisted_2$z, [
33795
- createElementVNode("div", _hoisted_3$q, [
33824
+ createElementVNode("div", _hoisted_2$C, [
33825
+ createElementVNode("div", _hoisted_3$t, [
33796
33826
  createVNode(_component_el_button_group, { size: "small" }, {
33797
33827
  default: withCtx(() => [
33798
33828
  createVNode(_component_el_button, {
@@ -33838,13 +33868,13 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
33838
33868
  description: "当前表达式较复杂,无法转为可视化模式,请继续使用代码模式编辑。"
33839
33869
  })) : createCommentVNode("", true),
33840
33870
  mode.value === "visual" ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
33841
- !allFieldOptions.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$h, [..._cache[7] || (_cache[7] = [
33871
+ !allFieldOptions.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$k, [..._cache[7] || (_cache[7] = [
33842
33872
  createElementVNode("span", null, "暂无可用字段", -1)
33843
33873
  ])])) : createCommentVNode("", true),
33844
- createElementVNode("div", _hoisted_5$g, [
33874
+ createElementVNode("div", _hoisted_5$i, [
33845
33875
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(localConditions.value, (cond, i) => {
33846
33876
  return openBlock(), createElementBlock(Fragment$1, { key: i }, [
33847
- i > 0 ? (openBlock(), createElementBlock("div", _hoisted_6$c, [
33877
+ i > 0 ? (openBlock(), createElementBlock("div", _hoisted_6$e, [
33848
33878
  createVNode(_component_el_radio_group, {
33849
33879
  modelValue: localConditions.value[i - 1].logicOp,
33850
33880
  "onUpdate:modelValue": ($event) => localConditions.value[i - 1].logicOp = $event,
@@ -33867,7 +33897,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
33867
33897
  _: 1
33868
33898
  }, 8, ["modelValue", "onUpdate:modelValue"])
33869
33899
  ])) : createCommentVNode("", true),
33870
- createElementVNode("div", _hoisted_7$a, [
33900
+ createElementVNode("div", _hoisted_7$c, [
33871
33901
  createVNode(FieldPicker, {
33872
33902
  class: "cb-field-picker",
33873
33903
  onSelect: (opt) => applyFieldSelect(cond, opt)
@@ -33880,7 +33910,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
33880
33910
  key: 0,
33881
33911
  class: normalizeClass(["cb-type-badge", TYPE_CLASS[cond.dataTypeName]])
33882
33912
  }, toDisplayString(TYPE_LABEL[cond.dataTypeName] || cond.dataTypeName), 3)) : createCommentVNode("", true),
33883
- createElementVNode("span", _hoisted_8$7, toDisplayString(cond.fieldName || "选择字段..."), 1),
33913
+ createElementVNode("span", _hoisted_8$8, toDisplayString(cond.fieldName || "选择字段..."), 1),
33884
33914
  createVNode(_component_el_icon, { class: "cb-field-arrow" }, {
33885
33915
  default: withCtx(() => [
33886
33916
  createVNode(_component_ArrowDown)
@@ -34015,27 +34045,27 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
34015
34045
  };
34016
34046
  }
34017
34047
  });
34018
- const ConditionBuilderVue = /* @__PURE__ */ _export_sfc$1(_sfc_main$2p, [["__scopeId", "data-v-3580b83f"]]);
34019
- const _hoisted_1$1p = { class: "expr-input-wrapper" };
34020
- const _hoisted_2$y = {
34048
+ const ConditionBuilderVue = /* @__PURE__ */ _export_sfc$1(_sfc_main$2s, [["__scopeId", "data-v-3580b83f"]]);
34049
+ const _hoisted_1$1s = { class: "expr-input-wrapper" };
34050
+ const _hoisted_2$B = {
34021
34051
  key: 0,
34022
34052
  class: "expr-mode-badge"
34023
34053
  };
34024
- const _hoisted_3$p = { class: "expr-dialog-header" };
34025
- const _hoisted_4$g = { class: "expr-toolbar-right" };
34026
- const _hoisted_5$f = {
34054
+ const _hoisted_3$s = { class: "expr-dialog-header" };
34055
+ const _hoisted_4$j = { class: "expr-toolbar-right" };
34056
+ const _hoisted_5$h = {
34027
34057
  key: 0,
34028
34058
  class: "expr-mode-hint"
34029
34059
  };
34030
- const _hoisted_6$b = {
34060
+ const _hoisted_6$d = {
34031
34061
  key: 1,
34032
34062
  class: "expr-mode-hint expr-mode-hint--expr"
34033
34063
  };
34034
- const _hoisted_7$9 = {
34064
+ const _hoisted_7$b = {
34035
34065
  key: 2,
34036
34066
  class: "expr-mode-hint expr-mode-hint--raw"
34037
34067
  };
34038
- const _sfc_main$2o = /* @__PURE__ */ defineComponent({
34068
+ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
34039
34069
  ...{ name: "ElsExpressionInput" },
34040
34070
  __name: "expressionInput",
34041
34071
  props: /* @__PURE__ */ mergeModels({
@@ -34256,7 +34286,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
34256
34286
  const _component_el_button_group = resolveComponent("el-button-group");
34257
34287
  const _component_el_input = resolveComponent("el-input");
34258
34288
  const _component_el_dialog = resolveComponent("el-dialog");
34259
- return openBlock(), createElementBlock("div", _hoisted_1$1p, [
34289
+ return openBlock(), createElementBlock("div", _hoisted_1$1s, [
34260
34290
  createVNode(TipTapEditor, {
34261
34291
  class: "expr-compact",
34262
34292
  modelValue: modelValue.value,
@@ -34270,7 +34300,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
34270
34300
  resizable: true,
34271
34301
  border: true
34272
34302
  }, null, 8, ["modelValue", "options", "renderOption", "placeholder"]),
34273
- isExprMode.value ? (openBlock(), createElementBlock("span", _hoisted_2$y, "JS")) : createCommentVNode("", true),
34303
+ isExprMode.value ? (openBlock(), createElementBlock("span", _hoisted_2$B, "JS")) : createCommentVNode("", true),
34274
34304
  createVNode(_component_el_tooltip, {
34275
34305
  content: "扩展编辑",
34276
34306
  placement: "top"
@@ -34316,7 +34346,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
34316
34346
  })
34317
34347
  ]),
34318
34348
  default: withCtx(() => [
34319
- createElementVNode("div", _hoisted_3$p, [
34349
+ createElementVNode("div", _hoisted_3$s, [
34320
34350
  _cache[13] || (_cache[13] = createElementVNode("div", { class: "expr-vars-hint" }, [
34321
34351
  createTextVNode(" 可用变量:"),
34322
34352
  createElementVNode("code", null, "currNode"),
@@ -34332,7 +34362,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
34332
34362
  createElementVNode("code", null, "{}"),
34333
34363
  createTextVNode(" 插入字段引用 ")
34334
34364
  ], -1)),
34335
- createElementVNode("div", _hoisted_4$g, [
34365
+ createElementVNode("div", _hoisted_4$j, [
34336
34366
  createVNode(FieldPicker, { onSelect: onPickerSelectDialog }, {
34337
34367
  trigger: withCtx(() => [
34338
34368
  createVNode(_component_el_tooltip, {
@@ -34392,15 +34422,15 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
34392
34422
  })
34393
34423
  ])
34394
34424
  ]),
34395
- editMode.value === "template" ? (openBlock(), createElementBlock("div", _hoisted_5$f, [..._cache[14] || (_cache[14] = [
34425
+ editMode.value === "template" ? (openBlock(), createElementBlock("div", _hoisted_5$h, [..._cache[14] || (_cache[14] = [
34396
34426
  createTextVNode(" 字符串插值模式:用 ", -1),
34397
34427
  createElementVNode("code", null, "{{expr}}", -1),
34398
34428
  createTextVNode(" 嵌入表达式,适合文本拼接,如 ", -1),
34399
34429
  createElementVNode("code", null, "你好,{{currNode['name'].value}}", -1)
34400
- ])])) : editMode.value === "expression" ? (openBlock(), createElementBlock("div", _hoisted_6$b, [..._cache[15] || (_cache[15] = [
34430
+ ])])) : editMode.value === "expression" ? (openBlock(), createElementBlock("div", _hoisted_6$d, [..._cache[15] || (_cache[15] = [
34401
34431
  createTextVNode(" JS 表达式模式:整体作为一个 JS 表达式求值,支持三元、运算符等,如 ", -1),
34402
34432
  createElementVNode("code", null, "currNode['age'].value > 18 ? '成年' : '未成年'", -1)
34403
- ])])) : (openBlock(), createElementBlock("div", _hoisted_7$9, [..._cache[16] || (_cache[16] = [
34433
+ ])])) : (openBlock(), createElementBlock("div", _hoisted_7$b, [..._cache[16] || (_cache[16] = [
34404
34434
  createTextVNode(" 源码模式:直接编辑原始字符串。以 ", -1),
34405
34435
  createElementVNode("code", null, ":", -1),
34406
34436
  createTextVNode(" 开头为 JS 表达式,", -1),
@@ -34446,202 +34476,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
34446
34476
  };
34447
34477
  }
34448
34478
  });
34449
- const ExpressionInputVue = /* @__PURE__ */ _export_sfc$1(_sfc_main$2o, [["__scopeId", "data-v-4cf2ed46"]]);
34450
- Number.prototype.toFixedNumber = function toFixedNumber(digits = 2) {
34451
- return parseFloat(this.toFixed(digits));
34452
- };
34453
- Number.prototype.appendPx = function() {
34454
- if (this) {
34455
- return this + "px";
34456
- }
34457
- return "";
34458
- };
34459
- Number.prototype.formatDate = function(format2) {
34460
- if (!this) {
34461
- return "";
34462
- }
34463
- return utils.formatDate(this, format2);
34464
- };
34465
- String.prototype.setPowerPublicQuery = function(excludeQuery = "") {
34466
- if (!this) {
34467
- return "";
34468
- }
34469
- let url = this;
34470
- let currParms = location.href.split("?")[1];
34471
- if (currParms) {
34472
- let dtParms = currParms.split("&");
34473
- const excludeParams = excludeQuery.split(",");
34474
- dtParms.forEach((ele) => {
34475
- let parmKeyValue = ele.split("=");
34476
- if (ele && (ele.includes("Power_") || ele.includes("Transfer_")) && !url.includes(parmKeyValue[0]) && !excludeParams.includes(parmKeyValue[0])) {
34477
- url = url.indexOf("?") == -1 ? url + "?" + parmKeyValue[0] + "=" + parmKeyValue[1] : url + "&" + parmKeyValue[0] + "=" + parmKeyValue[1];
34478
- }
34479
- });
34480
- }
34481
- return url.toString();
34482
- }, String.prototype.setTransferParams = function(transferParams) {
34483
- if (!this || !transferParams) {
34484
- return (this == null ? void 0 : this.toString()) || "";
34485
- }
34486
- let url = this.toString();
34487
- Object.entries(transferParams).forEach(([key, value]) => {
34488
- if (value !== void 0 && value !== null && value !== "") {
34489
- const paramName = "Transfer_" + key;
34490
- url = url.addUrlParameter(paramName, value);
34491
- }
34492
- });
34493
- return url.toString();
34494
- }, String.prototype.toCamel = function() {
34495
- return this.toString().replace(/-([a-z])/g, function(match, letter) {
34496
- console.log(match);
34497
- return letter.toUpperCase();
34498
- });
34499
- };
34500
- String.prototype.toKebabCase = function() {
34501
- const currVal = this.toString().replace(/([A-Z])/g, "-$1").toLowerCase();
34502
- if (currVal.startsWith("-")) {
34503
- return currVal.substring(1);
34504
- }
34505
- return currVal;
34506
- };
34507
- String.prototype.appendPx = function() {
34508
- if (!this) {
34509
- return "";
34510
- }
34511
- if (utils.isNumber(this.toString())) {
34512
- return this + "px";
34513
- }
34514
- return this.toString();
34515
- };
34516
- String.prototype.toList = function(valueSeparator = ",") {
34517
- if (this) {
34518
- return this.toString().split(valueSeparator);
34519
- }
34520
- return [];
34521
- };
34522
- String.prototype.toListNumber = function(valueSeparator = ",") {
34523
- if (this) {
34524
- return this.toString().split(valueSeparator).map((ele) => parseFloat(ele));
34525
- }
34526
- return [];
34527
- };
34528
- String.prototype.toBool = function toBool() {
34529
- if (this.toLowerCase() === "true") {
34530
- return true;
34531
- } else if (this.toLowerCase() === "false") {
34532
- return false;
34533
- }
34534
- return false;
34535
- };
34536
- String.prototype.toInt = function toInt() {
34537
- if (utils.isNumber(this.toString())) {
34538
- return parseInt(this.toString());
34539
- }
34540
- return 0;
34541
- };
34542
- String.prototype.toFloat = function toFloat(digits = 2) {
34543
- if (!digits) {
34544
- return parseFloat(this.toString());
34545
- }
34546
- return parseFloat(parseFloat(this.toString()).toFixed(digits));
34547
- };
34548
- String.prototype.cutWord = function(len) {
34549
- if (this) {
34550
- if (this.length > len) {
34551
- return this.substring(0, len) + "...";
34552
- }
34553
- }
34554
- return this.toString();
34555
- };
34556
- String.prototype.downloadFile = function(filename = "") {
34557
- utils.downloadFile(this.toString(), filename);
34558
- };
34559
- String.prototype.replacePowerUrl = function replacePowerUrl() {
34560
- try {
34561
- let currUrl = this;
34562
- if (this && this.indexOf("{Power_CoteID}") > -1 && location.host) {
34563
- currUrl = this.replace("{Power_CoteID}", location.host.split(".")[0]);
34564
- }
34565
- if (this && this.indexOf("{Power_Environment}") > -1 && location.host) {
34566
- if (location.host.split(".").length == 5) {
34567
- currUrl = currUrl.replace("{Power_Environment}", location.host.split(".")[2]);
34568
- } else if (location.host.split(".").length == 4) {
34569
- currUrl = currUrl.replace("{Power_Environment}", location.host.split(".")[1]);
34570
- }
34571
- }
34572
- if (this && this.indexOf("{Power_CoteDeptID}") > -1) {
34573
- let currCoteDeptID = utils.getUrlParms("Power_CoteDeptID");
34574
- if (!currCoteDeptID) {
34575
- currCoteDeptID = "0";
34576
- }
34577
- currUrl = currUrl.replace("{Power_CoteDeptID}", currCoteDeptID);
34578
- }
34579
- return currUrl.toString();
34580
- } catch (err) {
34581
- console.log(err);
34582
- }
34583
- return this.toString();
34584
- };
34585
- String.prototype.addUrlParameter = function addUrlParameter(param, value) {
34586
- if (value === void 0) {
34587
- return this.toString();
34588
- }
34589
- if (this.toString().indexOf(param) > -1) {
34590
- var oUrl = this.toString();
34591
- return oUrl.replace(new RegExp("/(" + param + "=)([^&]*)/gi"), param + "=" + value);
34592
- }
34593
- let cSymbol = this.indexOf("?") > -1 ? "&" : "?";
34594
- return `${this}${cSymbol}${param}=${value}`;
34595
- };
34596
- String.prototype.post = function post(postdata, axiosInstance2) {
34597
- return utils.post(this.toString(), postdata, axiosInstance2);
34598
- };
34599
- String.prototype.get = function get3(postdata, axiosInstance2) {
34600
- return utils.get(this.toString(), postdata, axiosInstance2);
34601
- };
34602
- String.prototype.postWithCancel = function post2(postdata, cancel, axiosInstance2) {
34603
- return utils.postWithCancel(this.toString(), postdata, cancel, axiosInstance2);
34604
- };
34605
- String.prototype.getWithCancel = function get22(postdata, cancel, axiosInstance2) {
34606
- return utils.getWithCancel(this.toString(), postdata, cancel, axiosInstance2);
34607
- };
34608
- String.prototype.fetchStream = function fetchStream(processFunc, data, options2 = {}) {
34609
- return utils.fetchStream(this.toString(), processFunc, data, options2);
34610
- };
34611
- String.prototype.fetchSSE = function fetchSSE(processFunc, data, options2 = {}) {
34612
- return utils.fetchSSE(this.toString(), processFunc, data, options2);
34613
- };
34614
- String.prototype.upload = function upload(formdata) {
34615
- return utils.post(this.toString(), formdata);
34616
- };
34617
- String.prototype.trimQuotes = function trimQuotes() {
34618
- return this.toString().replace(/^['"]|['"]$/g, "");
34619
- };
34620
- String.prototype.trimComma = function trimComma() {
34621
- return this.toString().replace(/^,+/, "").replace(/,+$/, "");
34622
- };
34623
- String.prototype.md5 = function md5() {
34624
- return utils.md5(this.toString());
34625
- };
34626
- String.prototype.formatDate = function(format2) {
34627
- if (!this) {
34628
- return "";
34629
- }
34630
- return utils.formatDate(this.toString(), format2);
34631
- };
34632
- String.prototype.getUrlParms = function(paramName) {
34633
- let vars = this.split("&");
34634
- if (this.indexOf("?") > -1) {
34635
- vars = this.split("?")[1].split("&");
34636
- }
34637
- for (var i = 0; i < vars.length; i++) {
34638
- var pair = vars[i].split("=");
34639
- if (pair[0] === paramName) {
34640
- return pair[1];
34641
- }
34642
- }
34643
- return "";
34644
- };
34479
+ const ExpressionInputVue = /* @__PURE__ */ _export_sfc$1(_sfc_main$2r, [["__scopeId", "data-v-4cf2ed46"]]);
34645
34480
  const formItemProps$1 = buildProps({
34646
34481
  ...formItemProps$2,
34647
34482
  /**
@@ -34883,12 +34718,12 @@ class TBaseCom {
34883
34718
  }
34884
34719
  }
34885
34720
  const formItemProps = formItemProps$1;
34886
- const _hoisted_1$1o = ["innerHTML"];
34887
- const _hoisted_2$x = { class: "els-form-item-label" };
34888
- const _hoisted_3$o = ["innerHTML"];
34889
- const _hoisted_4$f = { class: "els-form-item-append" };
34890
- const _hoisted_5$e = ["innerHTML"];
34891
- const _sfc_main$2n = /* @__PURE__ */ defineComponent({
34721
+ const _hoisted_1$1r = ["innerHTML"];
34722
+ const _hoisted_2$A = { class: "els-form-item-label" };
34723
+ const _hoisted_3$r = ["innerHTML"];
34724
+ const _hoisted_4$i = { class: "els-form-item-append" };
34725
+ const _hoisted_5$g = ["innerHTML"];
34726
+ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
34892
34727
  ...{ name: "ElsFormItem" },
34893
34728
  __name: "formItem",
34894
34729
  props: formItemProps,
@@ -35071,10 +34906,10 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
35071
34906
  placement: "top"
35072
34907
  }, {
35073
34908
  content: withCtx(() => [
35074
- createElementVNode("div", { innerHTML: _ctx.tip }, null, 8, _hoisted_3$o)
34909
+ createElementVNode("div", { innerHTML: _ctx.tip }, null, 8, _hoisted_3$r)
35075
34910
  ]),
35076
34911
  default: withCtx(() => [
35077
- createElementVNode("span", _hoisted_4$f, [
34912
+ createElementVNode("span", _hoisted_4$i, [
35078
34913
  createVNode(_component_el_icon, { style: { "margin-left": "5px", "cursor": "pointer" } }, {
35079
34914
  default: withCtx(() => [
35080
34915
  createVNode(_component_Question_Filled)
@@ -35089,7 +34924,7 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
35089
34924
  key: 2,
35090
34925
  innerHTML: _ctx.suffixContent,
35091
34926
  class: "els-form-item-append"
35092
- }, null, 8, _hoisted_5$e)) : createCommentVNode("", true),
34927
+ }, null, 8, _hoisted_5$g)) : createCommentVNode("", true),
35093
34928
  unref(slots).error ? renderSlot(_ctx.$slots, "error", { key: 3 }, void 0, true) : createCommentVNode("", true)
35094
34929
  ]),
35095
34930
  _: 2
@@ -35105,10 +34940,10 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
35105
34940
  fn: withCtx(() => [
35106
34941
  createVNode(_component_el_tooltip, { placement: "top" }, {
35107
34942
  content: withCtx(() => [
35108
- createElementVNode("div", { innerHTML: _ctx.tip }, null, 8, _hoisted_1$1o)
34943
+ createElementVNode("div", { innerHTML: _ctx.tip }, null, 8, _hoisted_1$1r)
35109
34944
  ]),
35110
34945
  default: withCtx(() => [
35111
- createElementVNode("span", _hoisted_2$x, [
34946
+ createElementVNode("span", _hoisted_2$A, [
35112
34947
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
35113
34948
  createVNode(_component_el_icon, { style: { "margin-left": "5px", "cursor": "pointer" } }, {
35114
34949
  default: withCtx(() => [
@@ -35127,9 +34962,9 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
35127
34962
  };
35128
34963
  }
35129
34964
  });
35130
- const FormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$2n, [["__scopeId", "data-v-53c65fe2"]]);
34965
+ const FormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$2q, [["__scopeId", "data-v-53c65fe2"]]);
35131
34966
  const ElsFormItem = withInstall$1(FormItem);
35132
- const _sfc_main$2m = /* @__PURE__ */ defineComponent({
34967
+ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
35133
34968
  ...{ name: "ElsFormNode" },
35134
34969
  __name: "formNode",
35135
34970
  props: formItemProps$1,
@@ -35195,7 +35030,7 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
35195
35030
  };
35196
35031
  }
35197
35032
  });
35198
- const FormNode = /* @__PURE__ */ _export_sfc$1(_sfc_main$2m, [["__scopeId", "data-v-c800fb00"]]);
35033
+ const FormNode = /* @__PURE__ */ _export_sfc$1(_sfc_main$2p, [["__scopeId", "data-v-c800fb00"]]);
35199
35034
  const ElsFormNode = withInstall$1(FormNode);
35200
35035
  function _isSlot$5(s) {
35201
35036
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
@@ -35360,6 +35195,688 @@ class TBaseTree extends TBaseFormItem {
35360
35195
  return this._isMobile.value && this.mobileRender ? this.mobileRender(this._selectState) : this.pcRender(this._selectState);
35361
35196
  }
35362
35197
  }
35198
+ const jsonEditorProps = buildProps({
35199
+ ...formItemProps$1,
35200
+ /**
35201
+ * @description 绑定值
35202
+ */
35203
+ modelValue: {
35204
+ type: [String, Object]
35205
+ },
35206
+ /**
35207
+ * @description 值类型 String|Object
35208
+ */
35209
+ valueType: {
35210
+ type: String,
35211
+ values: ["String", "Object"]
35212
+ }
35213
+ });
35214
+ let JsonEditor$1 = class JsonEditor extends TBaseFormItem {
35215
+ constructor(props2, ctx) {
35216
+ super(props2, ctx);
35217
+ __publicField(this, "jsonEditor", ref());
35218
+ }
35219
+ watchModelValue() {
35220
+ watch(this._modelValue, (val) => {
35221
+ if (val) {
35222
+ if (typeof val === "object") {
35223
+ this._comValue.value = val;
35224
+ } else {
35225
+ this._comValue.value = JSON.parse(val);
35226
+ }
35227
+ }
35228
+ }, {
35229
+ immediate: true,
35230
+ deep: true
35231
+ });
35232
+ }
35233
+ watchComValue() {
35234
+ watch(this._comValue, (val) => {
35235
+ if (typeof val === "string") {
35236
+ try {
35237
+ JSON.parse(val);
35238
+ } catch {
35239
+ return;
35240
+ }
35241
+ }
35242
+ if (typeof this._modelValue.value === "object" || this._props.valueType === "Object") {
35243
+ if (typeof val === "string") {
35244
+ try {
35245
+ const currValue = JSON.parse(val);
35246
+ this.returnValue(currValue);
35247
+ } catch (err) {
35248
+ }
35249
+ } else {
35250
+ this.returnValue(val);
35251
+ }
35252
+ return;
35253
+ }
35254
+ if (typeof val === "object") {
35255
+ this.returnValue(JSON.stringify(val));
35256
+ return;
35257
+ }
35258
+ this.returnValue(val);
35259
+ }, {
35260
+ deep: true
35261
+ });
35262
+ }
35263
+ pcRender() {
35264
+ return createVNode(Fragment$1, null, [createVNode("div", {
35265
+ "class": "els-jsoneditor"
35266
+ }, [createVNode(JsonEditorVue, mergeProps({
35267
+ "modelValue": this._comValue.value,
35268
+ "onUpdate:modelValue": ($event) => this._comValue.value = $event
35269
+ }, this._attrs, {
35270
+ "ref": this.jsonEditor,
35271
+ "mode": "text"
35272
+ }), null)])]);
35273
+ }
35274
+ };
35275
+ const _sfc_main$2o = defineComponent({
35276
+ name: "ElsJsonEditor",
35277
+ inheritAttrs: false,
35278
+ props: jsonEditorProps,
35279
+ setup(props2, ctx) {
35280
+ const editor = new JsonEditor$1(props2, ctx);
35281
+ return () => editor.render();
35282
+ },
35283
+ emits: ["update:modelValue"]
35284
+ });
35285
+ const JsonEditor2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$2o, [["__scopeId", "data-v-ebf6dbd5"]]);
35286
+ const ElsJsonEditor = withInstall$1(JsonEditor2);
35287
+ const _hoisted_1$1q = { class: "els-schema-field-editor" };
35288
+ const _hoisted_2$z = { class: "els-schema-field-editor__toolbar" };
35289
+ const _hoisted_3$q = {
35290
+ key: 0,
35291
+ class: "els-schema-field-editor__rows"
35292
+ };
35293
+ const _hoisted_4$h = {
35294
+ key: 1,
35295
+ class: "els-schema-field-editor__empty"
35296
+ };
35297
+ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
35298
+ ...{ name: "ElsSchemaFieldEditor" },
35299
+ __name: "schemaFieldEditor",
35300
+ props: {
35301
+ "modelValue": { default: "{}" },
35302
+ "modelModifiers": {}
35303
+ },
35304
+ emits: ["update:modelValue"],
35305
+ setup(__props) {
35306
+ const modelValue = useModel$1(__props, "modelValue");
35307
+ const typeOptions = [
35308
+ { label: "文本", value: "String" },
35309
+ { label: "数字", value: "Number" },
35310
+ { label: "布尔", value: "Bool" },
35311
+ { label: "数组", value: "Array" },
35312
+ { label: "对象", value: "Object" }
35313
+ ];
35314
+ let uid = 0;
35315
+ function nextId() {
35316
+ uid += 1;
35317
+ return "row_" + uid;
35318
+ }
35319
+ function normalizeType(type) {
35320
+ const t2 = String(type || "String").toLowerCase();
35321
+ if (t2 === "number") return "Number";
35322
+ if (t2 === "bool" || t2 === "boolean") return "Bool";
35323
+ if (t2 === "array") return "Array";
35324
+ if (t2 === "object") return "Object";
35325
+ return "String";
35326
+ }
35327
+ function parseModelValue(raw) {
35328
+ let data = {};
35329
+ try {
35330
+ data = raw ? JSON.parse(raw) : {};
35331
+ } catch {
35332
+ data = {};
35333
+ }
35334
+ if (!data || typeof data !== "object" || Array.isArray(data)) data = {};
35335
+ const result = [];
35336
+ for (const label in data) {
35337
+ const value = data[label];
35338
+ if (typeof value === "string") {
35339
+ result.push({ id: nextId(), label, path: value, type: "String" });
35340
+ } else if (value && typeof value === "object" && typeof value.name === "string") {
35341
+ result.push({ id: nextId(), label, path: value.name, type: normalizeType(value.type) });
35342
+ }
35343
+ }
35344
+ return result;
35345
+ }
35346
+ const rows = ref(parseModelValue(modelValue.value));
35347
+ const mode = ref("list");
35348
+ let syncingFromSelf = false;
35349
+ watch(modelValue, (val) => {
35350
+ if (syncingFromSelf) return;
35351
+ rows.value = parseModelValue(val || "{}");
35352
+ });
35353
+ function serialize() {
35354
+ const data = {};
35355
+ rows.value.forEach((row) => {
35356
+ if (!row.label || !row.path) return;
35357
+ data[row.label] = { name: row.path, type: row.type };
35358
+ });
35359
+ syncingFromSelf = true;
35360
+ modelValue.value = JSON.stringify(data);
35361
+ requestAnimationFrame(() => {
35362
+ syncingFromSelf = false;
35363
+ });
35364
+ }
35365
+ watch(rows, serialize, { deep: true });
35366
+ function handleAddRow() {
35367
+ rows.value.push({ id: nextId(), label: "", path: "", type: "String" });
35368
+ }
35369
+ function handleRemoveRow(row) {
35370
+ rows.value = rows.value.filter((r) => r.id !== row.id);
35371
+ }
35372
+ return (_ctx, _cache) => {
35373
+ const _component_el_button = resolveComponent("el-button");
35374
+ const _component_el_input = resolveComponent("el-input");
35375
+ const _component_el_option = resolveComponent("el-option");
35376
+ const _component_el_select = resolveComponent("el-select");
35377
+ const _component_el_icon = resolveComponent("el-icon");
35378
+ return openBlock(), createElementBlock("div", _hoisted_1$1q, [
35379
+ createElementVNode("div", _hoisted_2$z, [
35380
+ _cache[2] || (_cache[2] = createElementVNode("span", { class: "els-schema-field-editor__hint" }, "声明响应里有哪些字段,其他组件可在数据绑定面板里直接选用", -1)),
35381
+ createVNode(_component_el_button, {
35382
+ link: "",
35383
+ type: "primary",
35384
+ size: "small",
35385
+ onClick: _cache[0] || (_cache[0] = ($event) => mode.value = mode.value === "list" ? "json" : "list")
35386
+ }, {
35387
+ default: withCtx(() => [
35388
+ createTextVNode(toDisplayString(mode.value === "list" ? "JSON 编辑" : "列表编辑"), 1)
35389
+ ]),
35390
+ _: 1
35391
+ })
35392
+ ]),
35393
+ mode.value === "list" ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
35394
+ rows.value.length ? (openBlock(), createElementBlock("div", _hoisted_3$q, [
35395
+ _cache[3] || (_cache[3] = createElementVNode("div", { class: "els-schema-field-editor__head" }, [
35396
+ createElementVNode("span", null, "展示名称"),
35397
+ createElementVNode("span", null, "接口字段"),
35398
+ createElementVNode("span", null, "类型"),
35399
+ createElementVNode("span")
35400
+ ], -1)),
35401
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(rows.value, (row) => {
35402
+ return openBlock(), createElementBlock("div", {
35403
+ class: "els-schema-field-editor__row",
35404
+ key: row.id
35405
+ }, [
35406
+ createVNode(_component_el_input, {
35407
+ modelValue: row.label,
35408
+ "onUpdate:modelValue": ($event) => row.label = $event,
35409
+ placeholder: "如:用户名"
35410
+ }, null, 8, ["modelValue", "onUpdate:modelValue"]),
35411
+ createVNode(_component_el_input, {
35412
+ modelValue: row.path,
35413
+ "onUpdate:modelValue": ($event) => row.path = $event,
35414
+ placeholder: "如:user.name"
35415
+ }, null, 8, ["modelValue", "onUpdate:modelValue"]),
35416
+ createVNode(_component_el_select, {
35417
+ modelValue: row.type,
35418
+ "onUpdate:modelValue": ($event) => row.type = $event
35419
+ }, {
35420
+ default: withCtx(() => [
35421
+ (openBlock(), createElementBlock(Fragment$1, null, renderList(typeOptions, (opt) => {
35422
+ return createVNode(_component_el_option, {
35423
+ key: opt.value,
35424
+ label: opt.label,
35425
+ value: opt.value
35426
+ }, null, 8, ["label", "value"]);
35427
+ }), 64))
35428
+ ]),
35429
+ _: 1
35430
+ }, 8, ["modelValue", "onUpdate:modelValue"]),
35431
+ createVNode(_component_el_icon, {
35432
+ class: "els-schema-field-editor__remove",
35433
+ onClick: ($event) => handleRemoveRow(row)
35434
+ }, {
35435
+ default: withCtx(() => [
35436
+ createVNode(unref(delete_default))
35437
+ ]),
35438
+ _: 1
35439
+ }, 8, ["onClick"])
35440
+ ]);
35441
+ }), 128))
35442
+ ])) : (openBlock(), createElementBlock("div", _hoisted_4$h, "暂无字段,点击下方按钮添加")),
35443
+ createVNode(_component_el_button, {
35444
+ class: "els-schema-field-editor__add",
35445
+ onClick: handleAddRow
35446
+ }, {
35447
+ default: withCtx(() => [
35448
+ createVNode(_component_el_icon, null, {
35449
+ default: withCtx(() => [
35450
+ createVNode(unref(plus_default))
35451
+ ]),
35452
+ _: 1
35453
+ }),
35454
+ _cache[4] || (_cache[4] = createTextVNode("添加字段 ", -1))
35455
+ ]),
35456
+ _: 1
35457
+ })
35458
+ ], 64)) : (openBlock(), createBlock(unref(ElsJsonEditor), {
35459
+ key: 1,
35460
+ modelValue: modelValue.value,
35461
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => modelValue.value = $event),
35462
+ mode: "tree",
35463
+ "main-menu-bar": true,
35464
+ "navigation-bar": false,
35465
+ "status-bar": false
35466
+ }, null, 8, ["modelValue"]))
35467
+ ]);
35468
+ };
35469
+ }
35470
+ });
35471
+ const SchemaFieldEditorVue = /* @__PURE__ */ _export_sfc$1(_sfc_main$2n, [["__scopeId", "data-v-43e169bb"]]);
35472
+ const _hoisted_1$1p = { class: "els-response-mapping-editor" };
35473
+ const _hoisted_2$y = {
35474
+ key: 0,
35475
+ class: "els-response-mapping-editor__rows"
35476
+ };
35477
+ const _hoisted_3$p = {
35478
+ class: "els-response-mapping-editor__option-name",
35479
+ style: { "margin-right": "10px" }
35480
+ };
35481
+ const _hoisted_4$g = { class: "els-response-mapping-editor__option-code" };
35482
+ const _hoisted_5$f = {
35483
+ class: "els-response-mapping-editor__option-name",
35484
+ style: { "margin-right": "10px" }
35485
+ };
35486
+ const _hoisted_6$c = { class: "els-response-mapping-editor__option-code" };
35487
+ const _hoisted_7$a = {
35488
+ key: 1,
35489
+ class: "els-response-mapping-editor__empty"
35490
+ };
35491
+ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
35492
+ ...{ name: "ElsResponseMappingEditor" },
35493
+ __name: "responseMappingEditor",
35494
+ props: {
35495
+ "modelValue": { default: "[]" },
35496
+ "modelModifiers": {}
35497
+ },
35498
+ emits: ["update:modelValue"],
35499
+ setup(__props) {
35500
+ const modelValue = useModel$1(__props, "modelValue");
35501
+ let uid = 0;
35502
+ let syncingFromSelf = false;
35503
+ function nextId() {
35504
+ uid += 1;
35505
+ return "mapping_" + uid;
35506
+ }
35507
+ function parseModelValue(raw) {
35508
+ let data = [];
35509
+ try {
35510
+ data = raw ? JSON.parse(raw) : [];
35511
+ } catch {
35512
+ data = [];
35513
+ }
35514
+ if (!Array.isArray(data)) return [];
35515
+ return data.filter((item) => item && typeof item === "object").map((item) => ({
35516
+ id: nextId(),
35517
+ source: String(item.source || ""),
35518
+ target: String(item.target || ""),
35519
+ enabled: item.enabled !== false
35520
+ }));
35521
+ }
35522
+ const { getValue: getValue2 } = useProps();
35523
+ const getAllFormFields = getValue2("getAllFormFields", () => []);
35524
+ const getGlobalData = getValue2("getGlobalData", () => ({}));
35525
+ const rows = ref(parseModelValue(modelValue.value));
35526
+ const sourceOptions = computed(() => {
35527
+ var _a, _b;
35528
+ const requestFormNode = (getGlobalData == null ? void 0 : getGlobalData()) || {};
35529
+ const raw = (_b = (_a = requestFormNode.config) == null ? void 0 : _a.baseConfig) == null ? void 0 : _b.returnSchema;
35530
+ let schema2 = {};
35531
+ try {
35532
+ schema2 = raw ? JSON.parse(raw) : {};
35533
+ } catch {
35534
+ schema2 = {};
35535
+ }
35536
+ if (!schema2 || typeof schema2 !== "object" || Array.isArray(schema2)) return [];
35537
+ return Object.keys(schema2).map((label) => {
35538
+ const value = schema2[label];
35539
+ if (typeof value === "string") {
35540
+ return { label, value };
35541
+ }
35542
+ if (value && typeof value === "object" && typeof value.name === "string") {
35543
+ return { label, value: value.name };
35544
+ }
35545
+ return null;
35546
+ }).filter(Boolean);
35547
+ });
35548
+ const targetFields = computed(() => {
35549
+ return ((getAllFormFields == null ? void 0 : getAllFormFields()) || []).filter((field) => field && (field.rfScope === null || field.rfScope === void 0) && field.keyCode).map((field) => {
35550
+ const path = [...field.containerPath || [], field.keyCode].join(".");
35551
+ const names = [...field.containerKeyNames || [], field.keyName || field.keyCode].filter(Boolean);
35552
+ return {
35553
+ label: names.join(" / "),
35554
+ value: path,
35555
+ type: field.dataTypeName || "String"
35556
+ };
35557
+ });
35558
+ });
35559
+ watch(modelValue, (val) => {
35560
+ if (syncingFromSelf) return;
35561
+ rows.value = parseModelValue(val || "[]");
35562
+ });
35563
+ function serialize() {
35564
+ const data = rows.value.filter((row) => row.source && row.target).map((row) => ({
35565
+ source: row.source,
35566
+ target: row.target,
35567
+ enabled: row.enabled
35568
+ }));
35569
+ syncingFromSelf = true;
35570
+ modelValue.value = JSON.stringify(data);
35571
+ requestAnimationFrame(() => {
35572
+ syncingFromSelf = false;
35573
+ });
35574
+ }
35575
+ watch(rows, serialize, { deep: true });
35576
+ function handleAddRow() {
35577
+ rows.value.push({ id: nextId(), source: "", target: "", enabled: true });
35578
+ }
35579
+ function handleRemoveRow(row) {
35580
+ rows.value = rows.value.filter((item) => item.id !== row.id);
35581
+ }
35582
+ return (_ctx, _cache) => {
35583
+ const _component_el_option = resolveComponent("el-option");
35584
+ const _component_el_select = resolveComponent("el-select");
35585
+ const _component_el_switch = resolveComponent("el-switch");
35586
+ const _component_el_icon = resolveComponent("el-icon");
35587
+ const _component_el_button = resolveComponent("el-button");
35588
+ return openBlock(), createElementBlock("div", _hoisted_1$1p, [
35589
+ rows.value.length ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
35590
+ _cache[0] || (_cache[0] = createElementVNode("div", { class: "els-response-mapping-editor__head" }, [
35591
+ createElementVNode("span", null, "接口字段"),
35592
+ createElementVNode("span", null, "目标字段"),
35593
+ createElementVNode("span", null, "启用"),
35594
+ createElementVNode("span")
35595
+ ], -1)),
35596
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(rows.value, (row) => {
35597
+ return openBlock(), createElementBlock("div", {
35598
+ class: "els-response-mapping-editor__row",
35599
+ key: row.id
35600
+ }, [
35601
+ createVNode(_component_el_select, {
35602
+ modelValue: row.source,
35603
+ "onUpdate:modelValue": ($event) => row.source = $event,
35604
+ filterable: "",
35605
+ "allow-create": "",
35606
+ "default-first-option": "",
35607
+ placeholder: "如 user.name"
35608
+ }, {
35609
+ default: withCtx(() => [
35610
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(sourceOptions.value, (item) => {
35611
+ return openBlock(), createBlock(_component_el_option, {
35612
+ key: item.value,
35613
+ label: item.label,
35614
+ value: item.value
35615
+ }, {
35616
+ default: withCtx(() => [
35617
+ createElementVNode("span", _hoisted_3$p, toDisplayString(item.label), 1),
35618
+ createElementVNode("span", _hoisted_4$g, toDisplayString(item.value), 1)
35619
+ ]),
35620
+ _: 2
35621
+ }, 1032, ["label", "value"]);
35622
+ }), 128))
35623
+ ]),
35624
+ _: 1
35625
+ }, 8, ["modelValue", "onUpdate:modelValue"]),
35626
+ createVNode(_component_el_select, {
35627
+ modelValue: row.target,
35628
+ "onUpdate:modelValue": ($event) => row.target = $event,
35629
+ filterable: "",
35630
+ placeholder: "选择表单字段"
35631
+ }, {
35632
+ default: withCtx(() => [
35633
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(targetFields.value, (field) => {
35634
+ return openBlock(), createBlock(_component_el_option, {
35635
+ key: field.value,
35636
+ label: field.label,
35637
+ value: field.value
35638
+ }, {
35639
+ default: withCtx(() => [
35640
+ createElementVNode("span", _hoisted_5$f, toDisplayString(field.label), 1),
35641
+ createElementVNode("span", _hoisted_6$c, toDisplayString(field.value), 1)
35642
+ ]),
35643
+ _: 2
35644
+ }, 1032, ["label", "value"]);
35645
+ }), 128))
35646
+ ]),
35647
+ _: 1
35648
+ }, 8, ["modelValue", "onUpdate:modelValue"]),
35649
+ createVNode(_component_el_switch, {
35650
+ modelValue: row.enabled,
35651
+ "onUpdate:modelValue": ($event) => row.enabled = $event
35652
+ }, null, 8, ["modelValue", "onUpdate:modelValue"]),
35653
+ createVNode(_component_el_icon, {
35654
+ class: "els-response-mapping-editor__remove",
35655
+ onClick: ($event) => handleRemoveRow(row)
35656
+ }, {
35657
+ default: withCtx(() => [
35658
+ createVNode(unref(delete_default))
35659
+ ]),
35660
+ _: 1
35661
+ }, 8, ["onClick"])
35662
+ ]);
35663
+ }), 128))
35664
+ ])) : (openBlock(), createElementBlock("div", _hoisted_7$a, "暂无映射")),
35665
+ createVNode(_component_el_button, {
35666
+ class: "els-response-mapping-editor__add",
35667
+ onClick: handleAddRow
35668
+ }, {
35669
+ default: withCtx(() => [
35670
+ createVNode(_component_el_icon, null, {
35671
+ default: withCtx(() => [
35672
+ createVNode(unref(plus_default))
35673
+ ]),
35674
+ _: 1
35675
+ }),
35676
+ _cache[1] || (_cache[1] = createTextVNode("添加映射 ", -1))
35677
+ ]),
35678
+ _: 1
35679
+ })
35680
+ ]);
35681
+ };
35682
+ }
35683
+ });
35684
+ const ResponseMappingEditorVue = /* @__PURE__ */ _export_sfc$1(_sfc_main$2m, [["__scopeId", "data-v-7600939c"]]);
35685
+ Number.prototype.toFixedNumber = function toFixedNumber(digits = 2) {
35686
+ return parseFloat(this.toFixed(digits));
35687
+ };
35688
+ Number.prototype.appendPx = function() {
35689
+ if (this) {
35690
+ return this + "px";
35691
+ }
35692
+ return "";
35693
+ };
35694
+ Number.prototype.formatDate = function(format2) {
35695
+ if (!this) {
35696
+ return "";
35697
+ }
35698
+ return utils.formatDate(this, format2);
35699
+ };
35700
+ String.prototype.setPowerPublicQuery = function(excludeQuery = "") {
35701
+ if (!this) {
35702
+ return "";
35703
+ }
35704
+ let url = this;
35705
+ let currParms = location.href.split("?")[1];
35706
+ if (currParms) {
35707
+ let dtParms = currParms.split("&");
35708
+ const excludeParams = excludeQuery.split(",");
35709
+ dtParms.forEach((ele) => {
35710
+ let parmKeyValue = ele.split("=");
35711
+ if (ele && (ele.includes("Power_") || ele.includes("Transfer_")) && !url.includes(parmKeyValue[0]) && !excludeParams.includes(parmKeyValue[0])) {
35712
+ url = url.indexOf("?") == -1 ? url + "?" + parmKeyValue[0] + "=" + parmKeyValue[1] : url + "&" + parmKeyValue[0] + "=" + parmKeyValue[1];
35713
+ }
35714
+ });
35715
+ }
35716
+ return url.toString();
35717
+ }, String.prototype.setTransferParams = function(transferParams) {
35718
+ if (!this || !transferParams) {
35719
+ return (this == null ? void 0 : this.toString()) || "";
35720
+ }
35721
+ let url = this.toString();
35722
+ Object.entries(transferParams).forEach(([key, value]) => {
35723
+ if (value !== void 0 && value !== null && value !== "") {
35724
+ const paramName = "Transfer_" + key;
35725
+ url = url.addUrlParameter(paramName, value);
35726
+ }
35727
+ });
35728
+ return url.toString();
35729
+ }, String.prototype.toCamel = function() {
35730
+ return this.toString().replace(/-([a-z])/g, function(match, letter) {
35731
+ console.log(match);
35732
+ return letter.toUpperCase();
35733
+ });
35734
+ };
35735
+ String.prototype.toKebabCase = function() {
35736
+ const currVal = this.toString().replace(/([A-Z])/g, "-$1").toLowerCase();
35737
+ if (currVal.startsWith("-")) {
35738
+ return currVal.substring(1);
35739
+ }
35740
+ return currVal;
35741
+ };
35742
+ String.prototype.appendPx = function() {
35743
+ if (!this) {
35744
+ return "";
35745
+ }
35746
+ if (utils.isNumber(this.toString())) {
35747
+ return this + "px";
35748
+ }
35749
+ return this.toString();
35750
+ };
35751
+ String.prototype.toList = function(valueSeparator = ",") {
35752
+ if (this) {
35753
+ return this.toString().split(valueSeparator);
35754
+ }
35755
+ return [];
35756
+ };
35757
+ String.prototype.toListNumber = function(valueSeparator = ",") {
35758
+ if (this) {
35759
+ return this.toString().split(valueSeparator).map((ele) => parseFloat(ele));
35760
+ }
35761
+ return [];
35762
+ };
35763
+ String.prototype.toBool = function toBool() {
35764
+ if (this.toLowerCase() === "true") {
35765
+ return true;
35766
+ } else if (this.toLowerCase() === "false") {
35767
+ return false;
35768
+ }
35769
+ return false;
35770
+ };
35771
+ String.prototype.toInt = function toInt() {
35772
+ if (utils.isNumber(this.toString())) {
35773
+ return parseInt(this.toString());
35774
+ }
35775
+ return 0;
35776
+ };
35777
+ String.prototype.toFloat = function toFloat(digits = 2) {
35778
+ if (!digits) {
35779
+ return parseFloat(this.toString());
35780
+ }
35781
+ return parseFloat(parseFloat(this.toString()).toFixed(digits));
35782
+ };
35783
+ String.prototype.cutWord = function(len) {
35784
+ if (this) {
35785
+ if (this.length > len) {
35786
+ return this.substring(0, len) + "...";
35787
+ }
35788
+ }
35789
+ return this.toString();
35790
+ };
35791
+ String.prototype.downloadFile = function(filename = "") {
35792
+ utils.downloadFile(this.toString(), filename);
35793
+ };
35794
+ String.prototype.replacePowerUrl = function replacePowerUrl() {
35795
+ try {
35796
+ let currUrl = this;
35797
+ if (this && this.indexOf("{Power_CoteID}") > -1 && location.host) {
35798
+ currUrl = this.replace("{Power_CoteID}", location.host.split(".")[0]);
35799
+ }
35800
+ if (this && this.indexOf("{Power_Environment}") > -1 && location.host) {
35801
+ if (location.host.split(".").length == 5) {
35802
+ currUrl = currUrl.replace("{Power_Environment}", location.host.split(".")[2]);
35803
+ } else if (location.host.split(".").length == 4) {
35804
+ currUrl = currUrl.replace("{Power_Environment}", location.host.split(".")[1]);
35805
+ }
35806
+ }
35807
+ if (this && this.indexOf("{Power_CoteDeptID}") > -1) {
35808
+ let currCoteDeptID = utils.getUrlParms("Power_CoteDeptID");
35809
+ if (!currCoteDeptID) {
35810
+ currCoteDeptID = "0";
35811
+ }
35812
+ currUrl = currUrl.replace("{Power_CoteDeptID}", currCoteDeptID);
35813
+ }
35814
+ return currUrl.toString();
35815
+ } catch (err) {
35816
+ console.log(err);
35817
+ }
35818
+ return this.toString();
35819
+ };
35820
+ String.prototype.addUrlParameter = function addUrlParameter(param, value) {
35821
+ if (value === void 0) {
35822
+ return this.toString();
35823
+ }
35824
+ if (this.toString().indexOf(param) > -1) {
35825
+ var oUrl = this.toString();
35826
+ return oUrl.replace(new RegExp("/(" + param + "=)([^&]*)/gi"), param + "=" + value);
35827
+ }
35828
+ let cSymbol = this.indexOf("?") > -1 ? "&" : "?";
35829
+ return `${this}${cSymbol}${param}=${value}`;
35830
+ };
35831
+ String.prototype.post = function post(postdata, axiosInstance2) {
35832
+ return utils.post(this.toString(), postdata, axiosInstance2);
35833
+ };
35834
+ String.prototype.get = function get3(postdata, axiosInstance2) {
35835
+ return utils.get(this.toString(), postdata, axiosInstance2);
35836
+ };
35837
+ String.prototype.postWithCancel = function post2(postdata, cancel, axiosInstance2) {
35838
+ return utils.postWithCancel(this.toString(), postdata, cancel, axiosInstance2);
35839
+ };
35840
+ String.prototype.getWithCancel = function get22(postdata, cancel, axiosInstance2) {
35841
+ return utils.getWithCancel(this.toString(), postdata, cancel, axiosInstance2);
35842
+ };
35843
+ String.prototype.fetchStream = function fetchStream(processFunc, data, options2 = {}) {
35844
+ return utils.fetchStream(this.toString(), processFunc, data, options2);
35845
+ };
35846
+ String.prototype.fetchSSE = function fetchSSE(processFunc, data, options2 = {}) {
35847
+ return utils.fetchSSE(this.toString(), processFunc, data, options2);
35848
+ };
35849
+ String.prototype.upload = function upload(formdata) {
35850
+ return utils.post(this.toString(), formdata);
35851
+ };
35852
+ String.prototype.trimQuotes = function trimQuotes() {
35853
+ return this.toString().replace(/^['"]|['"]$/g, "");
35854
+ };
35855
+ String.prototype.trimComma = function trimComma() {
35856
+ return this.toString().replace(/^,+/, "").replace(/,+$/, "");
35857
+ };
35858
+ String.prototype.md5 = function md5() {
35859
+ return utils.md5(this.toString());
35860
+ };
35861
+ String.prototype.formatDate = function(format2) {
35862
+ if (!this) {
35863
+ return "";
35864
+ }
35865
+ return utils.formatDate(this.toString(), format2);
35866
+ };
35867
+ String.prototype.getUrlParms = function(paramName) {
35868
+ let vars = this.split("&");
35869
+ if (this.indexOf("?") > -1) {
35870
+ vars = this.split("?")[1].split("&");
35871
+ }
35872
+ for (var i = 0; i < vars.length; i++) {
35873
+ var pair = vars[i].split("=");
35874
+ if (pair[0] === paramName) {
35875
+ return pair[1];
35876
+ }
35877
+ }
35878
+ return "";
35879
+ };
35363
35880
  const inputProps = buildProps({
35364
35881
  ...formItemProps$1,
35365
35882
  ...inputProps$1,
@@ -37975,11 +38492,11 @@ const optionGroupProps = buildProps({
37975
38492
  */
37976
38493
  label: String
37977
38494
  });
37978
- const _hoisted_1$1n = {
38495
+ const _hoisted_1$1o = {
37979
38496
  key: 1,
37980
38497
  style: { "width": "100%" }
37981
38498
  };
37982
- const _hoisted_2$w = { class: "els-radio-group-item" };
38499
+ const _hoisted_2$x = { class: "els-radio-group-item" };
37983
38500
  const _sfc_main$2c = /* @__PURE__ */ defineComponent({
37984
38501
  ...{ name: "ElsOptionGroup" },
37985
38502
  __name: "optionGroup",
@@ -38003,8 +38520,8 @@ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
38003
38520
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
38004
38521
  ]),
38005
38522
  _: 3
38006
- }, 16, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_1$1n, [
38007
- createElementVNode("div", _hoisted_2$w, toDisplayString(_ctx.label), 1),
38523
+ }, 16, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_1$1o, [
38524
+ createElementVNode("div", _hoisted_2$x, toDisplayString(_ctx.label), 1),
38008
38525
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(attrs))), void 0, true)
38009
38526
  ]));
38010
38527
  };
@@ -39182,11 +39699,11 @@ const tableColumnProps = Object.assign({}, defaults_default$1, buildProps({
39182
39699
  }
39183
39700
  }
39184
39701
  }));
39185
- const _hoisted_1$1m = { key: 0 };
39186
- const _hoisted_2$v = ["innerHTML"];
39187
- const _hoisted_3$n = ["innerHTML"];
39188
- const _hoisted_4$e = ["innerHTML"];
39189
- const _hoisted_5$d = {
39702
+ const _hoisted_1$1n = { key: 0 };
39703
+ const _hoisted_2$w = ["innerHTML"];
39704
+ const _hoisted_3$o = ["innerHTML"];
39705
+ const _hoisted_4$f = ["innerHTML"];
39706
+ const _hoisted_5$e = {
39190
39707
  key: 0,
39191
39708
  class: "el-table-tr-split"
39192
39709
  };
@@ -39407,7 +39924,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
39407
39924
  column,
39408
39925
  $index
39409
39926
  }, () => [
39410
- _ctx.tip ? (openBlock(), createElementBlock("span", _hoisted_1$1m, [
39927
+ _ctx.tip ? (openBlock(), createElementBlock("span", _hoisted_1$1n, [
39411
39928
  createTextVNode(toDisplayString(unref(attrs)["label"]) + " ", 1),
39412
39929
  createVNode(_component_el_tooltip, {
39413
39930
  content: _ctx.tip,
@@ -39435,7 +39952,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
39435
39952
  _ctx.prop ? (openBlock(), createElementBlock("span", {
39436
39953
  key: 0,
39437
39954
  innerHTML: row[_ctx.prop]
39438
- }, null, 8, _hoisted_2$v)) : createCommentVNode("", true)
39955
+ }, null, 8, _hoisted_2$w)) : createCommentVNode("", true)
39439
39956
  ]) : (_ctx.isEdit === false || !unref(tableGlobalData).isEdit && (!row.edit || _ctx.isEdit !== true)) && _ctx.prop ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
39440
39957
  _ctx.type == "image" ? (openBlock(), createBlock(_component_els_image, {
39441
39958
  key: 0,
@@ -39484,12 +40001,12 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
39484
40001
  _ctx.compareField && _ctx.prop ? (openBlock(), createElementBlock("span", {
39485
40002
  key: 0,
39486
40003
  innerHTML: compareValue(row)
39487
- }, null, 8, _hoisted_3$n)) : (_ctx.isLocaleString || _ctx.isAvgDay || _ctx.dateFormatter) && _ctx.prop ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
40004
+ }, null, 8, _hoisted_3$o)) : (_ctx.isLocaleString || _ctx.isAvgDay || _ctx.dateFormatter) && _ctx.prop ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
39488
40005
  createTextVNode(toDisplayString(formatterText(row[_ctx.prop])), 1)
39489
40006
  ], 64)) : _ctx.prop ? (openBlock(), createElementBlock("span", {
39490
40007
  key: 2,
39491
40008
  innerHTML: row[_ctx.prop]
39492
- }, null, 8, _hoisted_4$e)) : createCommentVNode("", true)
40009
+ }, null, 8, _hoisted_4$f)) : createCommentVNode("", true)
39493
40010
  ])
39494
40011
  ], 64)) : !unref(tableGlobalData).isEdit && (!row.edit || !_ctx.isEdit) || !_ctx.prop ? (openBlock(), createElementBlock(Fragment$1, { key: 2 }, [
39495
40012
  _ctx.type == "operate" ? (openBlock(), createBlock(_component_els_menu_dropdown, {
@@ -39514,7 +40031,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
39514
40031
  column,
39515
40032
  $index
39516
40033
  }),
39517
- _ctx.hasBottomBorder ? (openBlock(), createElementBlock("div", _hoisted_5$d)) : createCommentVNode("", true)
40034
+ _ctx.hasBottomBorder ? (openBlock(), createElementBlock("div", _hoisted_5$e)) : createCommentVNode("", true)
39518
40035
  ], 64)) : renderSlot(_ctx.$slots, "default", {
39519
40036
  key: 3,
39520
40037
  row,
@@ -40306,25 +40823,25 @@ const tableProps = Object.assign({}, defaults_default, buildProps({
40306
40823
  /** @description 导出事件 */
40307
40824
  onExport: Function
40308
40825
  }));
40309
- const _hoisted_1$1l = {
40826
+ const _hoisted_1$1m = {
40310
40827
  key: 0,
40311
40828
  class: "select_container"
40312
40829
  };
40313
- const _hoisted_2$u = { key: 0 };
40314
- const _hoisted_3$m = ["innerHTML"];
40315
- const _hoisted_4$d = {
40830
+ const _hoisted_2$v = { key: 0 };
40831
+ const _hoisted_3$n = ["innerHTML"];
40832
+ const _hoisted_4$e = {
40316
40833
  key: 1,
40317
40834
  class: "drag-oper"
40318
40835
  };
40319
- const _hoisted_5$c = {
40836
+ const _hoisted_5$d = {
40320
40837
  key: 0,
40321
40838
  class: "els-bottom-scroll-fixed"
40322
40839
  };
40323
- const _hoisted_6$a = {
40840
+ const _hoisted_6$b = {
40324
40841
  key: 1,
40325
40842
  style: { "margin-top": "8px" }
40326
40843
  };
40327
- const _hoisted_7$8 = {
40844
+ const _hoisted_7$9 = {
40328
40845
  key: 2,
40329
40846
  class: "pagination-container",
40330
40847
  style: { "margin-top": "10px" }
@@ -42040,7 +42557,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
42040
42557
  const _component_els_menu_context = resolveComponent("els-menu-context");
42041
42558
  const _directive_loading = resolveDirective("loading");
42042
42559
  return openBlock(), createElementBlock(Fragment$1, null, [
42043
- _ctx.showCheckField ? (openBlock(), createElementBlock("div", _hoisted_1$1l, [
42560
+ _ctx.showCheckField ? (openBlock(), createElementBlock("div", _hoisted_1$1m, [
42044
42561
  createVNode(unref(draggable), {
42045
42562
  list: unref(tableCheckData).checkRows,
42046
42563
  "item-key": dataKey.value.toString(),
@@ -42054,7 +42571,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
42054
42571
  }, {
42055
42572
  default: withCtx(() => [
42056
42573
  renderSlot(_ctx.$slots, "checklabel", { checkItem: element }, () => [
42057
- _ctx.showCheckField ? (openBlock(), createElementBlock("span", _hoisted_2$u, toDisplayString(element[_ctx.showCheckField]), 1)) : createCommentVNode("", true)
42574
+ _ctx.showCheckField ? (openBlock(), createElementBlock("span", _hoisted_2$v, toDisplayString(element[_ctx.showCheckField]), 1)) : createCommentVNode("", true)
42058
42575
  ], true)
42059
42576
  ]),
42060
42577
  _: 2
@@ -42101,7 +42618,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
42101
42618
  props2.columnRender ? (openBlock(), createElementBlock("div", {
42102
42619
  key: 0,
42103
42620
  innerHTML: props2.columnRender(row, column, $index)
42104
- }, null, 8, _hoisted_3$m)) : renderSlot(_ctx.$slots, column.slotName || column.prop, mergeProps({
42621
+ }, null, 8, _hoisted_3$n)) : renderSlot(_ctx.$slots, column.slotName || column.prop, mergeProps({
42105
42622
  key: 1,
42106
42623
  ref_for: true
42107
42624
  }, { row, $index }), void 0, true)
@@ -42154,7 +42671,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
42154
42671
  ]),
42155
42672
  _: 2
42156
42673
  }, 1032, ["onClick", "type"])
42157
- ], 64)) : (openBlock(), createElementBlock("div", _hoisted_4$d, [
42674
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_4$e, [
42158
42675
  createVNode(_component_el_tooltip, { content: "添加子节点" }, {
42159
42676
  default: withCtx(() => [
42160
42677
  row.children ? (openBlock(), createBlock(_component_el_icon, {
@@ -42209,7 +42726,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
42209
42726
  target: "." + unref(tagID)
42210
42727
  }, {
42211
42728
  default: withCtx(() => [
42212
- !unref(dataLoading) ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
42729
+ !unref(dataLoading) ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
42213
42730
  createVNode(_component_el_scrollbar, {
42214
42731
  ref_key: "bottomScroll",
42215
42732
  ref: bottomScroll,
@@ -42230,7 +42747,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
42230
42747
  ]),
42231
42748
  _: 3
42232
42749
  }, 512)),
42233
- _ctx.isEdit && _ctx.canAddRow ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
42750
+ _ctx.isEdit && _ctx.canAddRow ? (openBlock(), createElementBlock("div", _hoisted_6$b, [
42234
42751
  createVNode(_component_el_button, {
42235
42752
  type: "primary",
42236
42753
  text: "",
@@ -42244,7 +42761,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
42244
42761
  _: 1
42245
42762
  })
42246
42763
  ])) : createCommentVNode("", true),
42247
- _ctx.hasPage && (_ctx.isClientPage || unref(currPageTotal) > 0) ? (openBlock(), createElementBlock("div", _hoisted_7$8, [
42764
+ _ctx.hasPage && (_ctx.isClientPage || unref(currPageTotal) > 0) ? (openBlock(), createElementBlock("div", _hoisted_7$9, [
42248
42765
  createVNode(_component_el_pagination, mergeProps({
42249
42766
  background: "",
42250
42767
  small: "",
@@ -42758,7 +43275,7 @@ const menuEmits = {
42758
43275
  click: (item) => {
42759
43276
  }
42760
43277
  };
42761
- const _hoisted_1$1k = {
43278
+ const _hoisted_1$1l = {
42762
43279
  key: 0,
42763
43280
  class: "menu-filterable"
42764
43281
  };
@@ -42995,7 +43512,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
42995
43512
  default: withCtx(() => [
42996
43513
  createVNode(_component_el_collapse_transition, null, {
42997
43514
  default: withCtx(() => [
42998
- _ctx.filterable && (_ctx.url || _ctx.data) ? (openBlock(), createElementBlock("span", _hoisted_1$1k, [
43515
+ _ctx.filterable && (_ctx.url || _ctx.data) ? (openBlock(), createElementBlock("span", _hoisted_1$1l, [
42999
43516
  createVNode(_component_el_input, {
43000
43517
  modelValue: searchKey.value,
43001
43518
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchKey.value = $event),
@@ -43038,9 +43555,9 @@ const menuItemProps = buildProps({
43038
43555
  type: Object
43039
43556
  }
43040
43557
  });
43041
- const _hoisted_1$1j = ["title"];
43042
- const _hoisted_2$t = ["title"];
43043
- const _hoisted_3$l = ["title"];
43558
+ const _hoisted_1$1k = ["title"];
43559
+ const _hoisted_2$u = ["title"];
43560
+ const _hoisted_3$m = ["title"];
43044
43561
  const _sfc_main$1W = /* @__PURE__ */ defineComponent({
43045
43562
  ...{ name: "ElsMenuItem", inheritAttrs: false },
43046
43563
  __name: "menuItem",
@@ -43076,7 +43593,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
43076
43593
  _ctx.item.label ? (openBlock(), createElementBlock("span", {
43077
43594
  key: 0,
43078
43595
  title: _ctx.item.label
43079
- }, toDisplayString(_ctx.item.label), 9, _hoisted_1$1j)) : createCommentVNode("", true)
43596
+ }, toDisplayString(_ctx.item.label), 9, _hoisted_1$1k)) : createCommentVNode("", true)
43080
43597
  ]),
43081
43598
  default: withCtx(() => [
43082
43599
  _ctx.item.icon ? (openBlock(), createBlock(_component_el_icon, { key: 0 }, {
@@ -43105,7 +43622,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
43105
43622
  _ctx.item.label ? (openBlock(), createElementBlock("span", {
43106
43623
  key: 0,
43107
43624
  title: _ctx.item.label
43108
- }, toDisplayString(_ctx.item.label), 9, _hoisted_2$t)) : createCommentVNode("", true)
43625
+ }, toDisplayString(_ctx.item.label), 9, _hoisted_2$u)) : createCommentVNode("", true)
43109
43626
  ], 2)
43110
43627
  ]),
43111
43628
  default: withCtx(() => [
@@ -43124,7 +43641,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
43124
43641
  citem.label ? (openBlock(), createElementBlock("span", {
43125
43642
  key: 0,
43126
43643
  title: citem.label
43127
- }, toDisplayString(citem.label), 9, _hoisted_3$l)) : createCommentVNode("", true)
43644
+ }, toDisplayString(citem.label), 9, _hoisted_3$m)) : createCommentVNode("", true)
43128
43645
  ]),
43129
43646
  default: withCtx(() => [
43130
43647
  citem.icon ? (openBlock(), createBlock(_component_el_icon, { key: 0 }, {
@@ -43286,8 +43803,8 @@ const imageProps = buildProps({
43286
43803
  */
43287
43804
  onSwitch: Function
43288
43805
  });
43289
- const _hoisted_1$1i = ["width"];
43290
- const _hoisted_2$s = ["innerHTML"];
43806
+ const _hoisted_1$1j = ["width"];
43807
+ const _hoisted_2$t = ["innerHTML"];
43291
43808
  const _sfc_main$1T = /* @__PURE__ */ defineComponent({
43292
43809
  ...{ name: "ElsImage", inheritAttrs: false },
43293
43810
  __name: "image",
@@ -43362,12 +43879,12 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
43362
43879
  "data-spm-anchor-id": "a313x.7781069.0.i10",
43363
43880
  class: "selected"
43364
43881
  }, null, -1)
43365
- ])], 8, _hoisted_1$1i)),
43882
+ ])], 8, _hoisted_1$1j)),
43366
43883
  _ctx.emptyDesc ? (openBlock(), createElementBlock("div", {
43367
43884
  key: 0,
43368
43885
  innerHTML: _ctx.emptyDesc,
43369
43886
  class: "els_image_empty_desc"
43370
- }, null, 8, _hoisted_2$s)) : createCommentVNode("", true)
43887
+ }, null, 8, _hoisted_2$t)) : createCommentVNode("", true)
43371
43888
  ], 4)) : (openBlock(true), createElementBlock(Fragment$1, { key: 1 }, renderList(thumbnailPicUrls.value, (item, index) => {
43372
43889
  var _a2, _b2;
43373
43890
  return openBlock(), createBlock(_component_el_image, mergeProps({ ref_for: true }, props2, {
@@ -43939,8 +44456,8 @@ const dialogProps = buildProps({
43939
44456
  */
43940
44457
  cancel: Function
43941
44458
  });
43942
- const _hoisted_1$1h = ["src"];
43943
- const _hoisted_2$r = ["src"];
44459
+ const _hoisted_1$1i = ["src"];
44460
+ const _hoisted_2$s = ["src"];
43944
44461
  const _sfc_main$1P = /* @__PURE__ */ defineComponent({
43945
44462
  ...{
43946
44463
  name: "ElsDialog"
@@ -44090,7 +44607,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
44090
44607
  src: dialogUrl.value.setPowerPublicQuery(),
44091
44608
  frameborder: "0",
44092
44609
  style: normalizeStyle(contentStyle.value)
44093
- }, null, 12, _hoisted_1$1h)) : createCommentVNode("", true)
44610
+ }, null, 12, _hoisted_1$1i)) : createCommentVNode("", true)
44094
44611
  ])
44095
44612
  ], 4)), [
44096
44613
  [_directive_loading, pageLoading.value]
@@ -44124,7 +44641,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
44124
44641
  src: dialogUrl.value.setPowerPublicQuery(),
44125
44642
  frameborder: "0",
44126
44643
  style: normalizeStyle(contentStyle.value)
44127
- }, null, 12, _hoisted_2$r)) : createCommentVNode("", true)
44644
+ }, null, 12, _hoisted_2$s)) : createCommentVNode("", true)
44128
44645
  ])
44129
44646
  ], 4)), [
44130
44647
  [_directive_loading, pageLoading.value]
@@ -44177,7 +44694,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
44177
44694
  }
44178
44695
  });
44179
44696
  const ElsDialog = withInstall$1(_sfc_main$1P);
44180
- const _hoisted_1$1g = ["src"];
44697
+ const _hoisted_1$1h = ["src"];
44181
44698
  const _sfc_main$1O = /* @__PURE__ */ defineComponent({
44182
44699
  ...{
44183
44700
  name: "ElsDrawer"
@@ -44280,7 +44797,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
44280
44797
  src: drawerUrl.value,
44281
44798
  frameborder: "0",
44282
44799
  style: { "height": "calc(100vh - 48px)", "width": "100%" }
44283
- }, null, 8, _hoisted_1$1g)) : createCommentVNode("", true)
44800
+ }, null, 8, _hoisted_1$1h)) : createCommentVNode("", true)
44284
44801
  ])
44285
44802
  ]),
44286
44803
  _: 2
@@ -44402,9 +44919,9 @@ const dropdownProps = buildProps({
44402
44919
  */
44403
44920
  placeholder: String
44404
44921
  });
44405
- const _hoisted_1$1f = { class: "el-dropdown-link" };
44406
- const _hoisted_2$q = ["innerHTML"];
44407
- const _hoisted_3$k = ["innerHTML"];
44922
+ const _hoisted_1$1g = { class: "el-dropdown-link" };
44923
+ const _hoisted_2$r = ["innerHTML"];
44924
+ const _hoisted_3$l = ["innerHTML"];
44408
44925
  const _sfc_main$1N = /* @__PURE__ */ defineComponent({
44409
44926
  ...{
44410
44927
  name: "ElsDropdown"
@@ -44477,8 +44994,8 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
44477
44994
  ]),
44478
44995
  default: withCtx(() => [
44479
44996
  renderSlot(_ctx.$slots, "default", {}, () => [
44480
- createElementVNode("span", _hoisted_1$1f, [
44481
- createElementVNode("span", { innerHTML: showTitle.value }, null, 8, _hoisted_2$q),
44997
+ createElementVNode("span", _hoisted_1$1g, [
44998
+ createElementVNode("span", { innerHTML: showTitle.value }, null, 8, _hoisted_2$r),
44482
44999
  createVNode(_component_el_icon, { class: "el-icon--right" }, {
44483
45000
  default: withCtx(() => [
44484
45001
  createVNode(_component_arrow_down)
@@ -44505,7 +45022,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
44505
45022
  name: "title",
44506
45023
  fn: withCtx(() => [
44507
45024
  renderSlot(_ctx.$slots, "default", {}, () => [
44508
- createElementVNode("span", { innerHTML: _ctx.title }, null, 8, _hoisted_3$k)
45025
+ createElementVNode("span", { innerHTML: _ctx.title }, null, 8, _hoisted_3$l)
44509
45026
  ])
44510
45027
  ]),
44511
45028
  key: "0"
@@ -44514,7 +45031,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
44514
45031
  };
44515
45032
  }
44516
45033
  });
44517
- const _hoisted_1$1e = {
45034
+ const _hoisted_1$1f = {
44518
45035
  key: 0,
44519
45036
  class: "els-dropdown-group"
44520
45037
  };
@@ -44534,7 +45051,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
44534
45051
  });
44535
45052
  return (_ctx, _cache) => {
44536
45053
  const _component_van_dropdown_menu = resolveComponent("van-dropdown-menu");
44537
- return !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1$1e, [
45054
+ return !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1$1f, [
44538
45055
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
44539
45056
  ])) : (openBlock(), createBlock(_component_van_dropdown_menu, normalizeProps(mergeProps({ key: 1 }, unref(attrs))), {
44540
45057
  default: withCtx(() => [
@@ -46578,7 +47095,7 @@ const tabsProps = buildProps({
46578
47095
  default: "未知选项"
46579
47096
  }
46580
47097
  });
46581
- const _hoisted_1$1d = {
47098
+ const _hoisted_1$1e = {
46582
47099
  class: "els-node",
46583
47100
  style: { "--margin-bottom": "0px" }
46584
47101
  };
@@ -46603,7 +47120,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
46603
47120
  return (_ctx, _cache) => {
46604
47121
  const _component_els_option = resolveComponent("els-option");
46605
47122
  const _component_el_tabs = resolveComponent("el-tabs");
46606
- return openBlock(), createElementBlock("div", _hoisted_1$1d, [
47123
+ return openBlock(), createElementBlock("div", _hoisted_1$1e, [
46607
47124
  createVNode(_component_el_tabs, mergeProps({
46608
47125
  modelValue: unref(selectValue),
46609
47126
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(selectValue) ? selectValue.value = $event : null),
@@ -46865,8 +47382,8 @@ const menuContextProps = buildProps({
46865
47382
  default: 120
46866
47383
  }
46867
47384
  });
46868
- const _hoisted_1$1c = ["onClick"];
46869
- const _hoisted_2$p = { class: "els-context-info" };
47385
+ const _hoisted_1$1d = ["onClick"];
47386
+ const _hoisted_2$q = { class: "els-context-info" };
46870
47387
  const _sfc_main$1A = /* @__PURE__ */ defineComponent({
46871
47388
  ...{ name: "ElsMenuContext" },
46872
47389
  __name: "menuContext",
@@ -46947,8 +47464,8 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
46947
47464
  ]),
46948
47465
  _: 2
46949
47466
  }, 1024)) : createCommentVNode("", true),
46950
- createElementVNode("span", _hoisted_2$p, toDisplayString(item[unref(nameFieldname)]), 1)
46951
- ], 8, _hoisted_1$1c);
47467
+ createElementVNode("span", _hoisted_2$q, toDisplayString(item[unref(nameFieldname)]), 1)
47468
+ ], 8, _hoisted_1$1d);
46952
47469
  }), 128))
46953
47470
  ], 6)), [
46954
47471
  [vShow, modelValue.value]
@@ -46986,12 +47503,12 @@ const menuDropdownProps = buildProps({
46986
47503
  */
46987
47504
  onClick: Function
46988
47505
  });
46989
- const _hoisted_1$1b = {
47506
+ const _hoisted_1$1c = {
46990
47507
  key: 0,
46991
47508
  class: "els-table-operate"
46992
47509
  };
46993
- const _hoisted_2$o = { class: "els-table-operate-link" };
46994
- const _hoisted_3$j = ["onClick"];
47510
+ const _hoisted_2$p = { class: "els-table-operate-link" };
47511
+ const _hoisted_3$k = ["onClick"];
46995
47512
  const _sfc_main$1z = /* @__PURE__ */ defineComponent({
46996
47513
  ...{ name: "ElsMenuDropdown" },
46997
47514
  __name: "menuDropdown",
@@ -47043,7 +47560,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
47043
47560
  const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
47044
47561
  const _component_el_dropdown = resolveComponent("el-dropdown");
47045
47562
  const _component_el_dialog = resolveComponent("el-dialog");
47046
- return unref(nameFieldname) ? (openBlock(), createElementBlock("div", _hoisted_1$1b, [
47563
+ return unref(nameFieldname) ? (openBlock(), createElementBlock("div", _hoisted_1$1c, [
47047
47564
  unref(isMobile) ? (openBlock(), createBlock(_component_el_link, {
47048
47565
  key: 0,
47049
47566
  type: "primary",
@@ -47093,7 +47610,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
47093
47610
  })
47094
47611
  ]),
47095
47612
  default: withCtx(() => [
47096
- createElementVNode("span", _hoisted_2$o, [
47613
+ createElementVNode("span", _hoisted_2$p, [
47097
47614
  createTextVNode(toDisplayString(_ctx.unFoldCount > 0 ? "更多操作" : "操作") + " ", 1),
47098
47615
  createVNode(_component_el_icon, { class: "el-icon--right" }, {
47099
47616
  default: withCtx(() => [
@@ -47133,7 +47650,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
47133
47650
  class: "center",
47134
47651
  onClick: ($event) => menuCommand(item),
47135
47652
  style: { "line-height": "50px", "border-bottom": "1px solid #dcdcdc" }
47136
- }, toDisplayString(item.MenuName), 9, _hoisted_3$j);
47653
+ }, toDisplayString(item.MenuName), 9, _hoisted_3$k);
47137
47654
  }), 256))
47138
47655
  ]),
47139
47656
  _: 1
@@ -47193,13 +47710,13 @@ const menuToolProps = buildProps({
47193
47710
  */
47194
47711
  onUploaded: Function
47195
47712
  });
47196
- const _hoisted_1$1a = { class: "els-tool-menu" };
47197
- const _hoisted_2$n = { class: "els-tool-menu-button" };
47198
- const _hoisted_3$i = {
47713
+ const _hoisted_1$1b = { class: "els-tool-menu" };
47714
+ const _hoisted_2$o = { class: "els-tool-menu-button" };
47715
+ const _hoisted_3$j = {
47199
47716
  key: 0,
47200
47717
  class: "operationlog"
47201
47718
  };
47202
- const _hoisted_4$c = { style: { "text-align": "center", "margin-top": "20px" } };
47719
+ const _hoisted_4$d = { style: { "text-align": "center", "margin-top": "20px" } };
47203
47720
  const _sfc_main$1y = /* @__PURE__ */ defineComponent({
47204
47721
  ...{ name: "ElsMenuTool" },
47205
47722
  __name: "menuTool",
@@ -47350,8 +47867,8 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
47350
47867
  const _component_el_upload = resolveComponent("el-upload");
47351
47868
  const _component_el_dialog = resolveComponent("el-dialog");
47352
47869
  const _component_els_dialog = resolveComponent("els-dialog");
47353
- return openBlock(), createElementBlock("div", _hoisted_1$1a, [
47354
- createElementVNode("div", _hoisted_2$n, [
47870
+ return openBlock(), createElementBlock("div", _hoisted_1$1b, [
47871
+ createElementVNode("div", _hoisted_2$o, [
47355
47872
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(menuData, (menu) => {
47356
47873
  return openBlock(), createBlock(_component_el_button, mergeProps({
47357
47874
  type: unref(colorFieldname) && menu[unref(colorFieldname)],
@@ -47454,7 +47971,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
47454
47971
  ]), 1040, ["type", "icon", "native-type", "loading", "onClick"]);
47455
47972
  }), 128))
47456
47973
  ]),
47457
- _ctx.mutiSaveUrl || _ctx.logUrl || _ctx.docUrl || _ctx.noteUrl ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
47974
+ _ctx.mutiSaveUrl || _ctx.logUrl || _ctx.docUrl || _ctx.noteUrl ? (openBlock(), createElementBlock("div", _hoisted_3$j, [
47458
47975
  _ctx.mutiSaveUrl && !isTableEdit.value ? (openBlock(), createBlock(_component_el_tooltip, {
47459
47976
  key: 0,
47460
47977
  placement: "bottom-end",
@@ -47578,7 +48095,7 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
47578
48095
  ])]),
47579
48096
  _: 1
47580
48097
  }, 8, ["href"])),
47581
- createElementVNode("div", _hoisted_4$c, [
48098
+ createElementVNode("div", _hoisted_4$d, [
47582
48099
  createVNode(_component_el_upload, {
47583
48100
  multiple: "",
47584
48101
  drag: "",
@@ -47680,11 +48197,11 @@ const captionProps = buildProps({
47680
48197
  default: "150px"
47681
48198
  }
47682
48199
  });
47683
- const _hoisted_1$19 = {
48200
+ const _hoisted_1$1a = {
47684
48201
  key: 0,
47685
48202
  class: "els-caption-sub-header"
47686
48203
  };
47687
- const _hoisted_2$m = { class: "els-caption-title" };
48204
+ const _hoisted_2$n = { class: "els-caption-title" };
47688
48205
  const _sfc_main$1w = /* @__PURE__ */ defineComponent({
47689
48206
  ...{ name: "ElsCaption" },
47690
48207
  __name: "caption",
@@ -47733,10 +48250,10 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
47733
48250
  key: 0,
47734
48251
  class: normalizeClass(["els-caption", { "els-left-caption": _ctx.type == "left" }])
47735
48252
  }, [
47736
- _ctx.type == "left" ? (openBlock(), createElementBlock("span", _hoisted_1$19, [..._cache[2] || (_cache[2] = [
48253
+ _ctx.type == "left" ? (openBlock(), createElementBlock("span", _hoisted_1$1a, [..._cache[2] || (_cache[2] = [
47737
48254
  createElementVNode("i", { class: "dec" }, null, -1)
47738
48255
  ])])) : createCommentVNode("", true),
47739
- createElementVNode("span", _hoisted_2$m, [
48256
+ createElementVNode("span", _hoisted_2$n, [
47740
48257
  renderSlot(_ctx.$slots, "default", {}, () => [
47741
48258
  createTextVNode(toDisplayString(modelValue.value || _ctx.title), 1)
47742
48259
  ], true),
@@ -47781,6 +48298,368 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
47781
48298
  });
47782
48299
  const Caption = /* @__PURE__ */ _export_sfc$1(_sfc_main$1w, [["__scopeId", "data-v-72cb8719"]]);
47783
48300
  const ElsCaption = withInstall$1(Caption);
48301
+ const requestFormProps = buildProps({
48302
+ /**
48303
+ * @description 绑定值,子组件的字段值会自动聚合到此对象
48304
+ */
48305
+ modelValue: {
48306
+ type: Object,
48307
+ default: () => ({})
48308
+ },
48309
+ /**
48310
+ * @description 请求地址
48311
+ */
48312
+ requestUrl: String,
48313
+ /**
48314
+ * @description 请求方式 GET|POST|SSE
48315
+ */
48316
+ requestMethod: {
48317
+ type: String,
48318
+ default: "POST"
48319
+ },
48320
+ /**
48321
+ * @description 提交按钮文本
48322
+ */
48323
+ submitLabel: {
48324
+ type: String,
48325
+ default: "提交"
48326
+ },
48327
+ /**
48328
+ * @description 返回值结构定义(仅供设计器字段选择器使用,不影响实际请求逻辑)
48329
+ */
48330
+ returnSchema: String,
48331
+ /**
48332
+ * @description 响应字段映射配置,JSON 字符串,格式:[{ source, target, enabled }]
48333
+ */
48334
+ responseMappings: {
48335
+ type: String,
48336
+ default: "[]"
48337
+ },
48338
+ /**
48339
+ * @description 节点自身的字段标识,由渲染层自动传入。设置时返回数据整体挂载到 globalData[keyCode] 下,未设置则扁平合并到 globalData 根节点
48340
+ */
48341
+ keyCode: String
48342
+ });
48343
+ const _hoisted_1$19 = { class: "els-request-form__meta" };
48344
+ const _hoisted_2$m = { class: "els-request-form__method" };
48345
+ const _hoisted_3$i = ["title"];
48346
+ const _hoisted_4$c = {
48347
+ key: 0,
48348
+ class: "els-request-form__result"
48349
+ };
48350
+ const _hoisted_5$c = { class: "els-request-form__result-header" };
48351
+ const _hoisted_6$a = { class: "els-request-form__result-title" };
48352
+ const _hoisted_7$8 = {
48353
+ key: 1,
48354
+ class: "els-request-form__result-time"
48355
+ };
48356
+ const _hoisted_8$7 = { class: "els-request-form__result-actions" };
48357
+ const _hoisted_9$6 = { class: "els-request-form__result-body" };
48358
+ const _hoisted_10$4 = {
48359
+ key: 0,
48360
+ class: "els-request-form__result-code"
48361
+ };
48362
+ const _hoisted_11$4 = { class: "els-request-form__footer" };
48363
+ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
48364
+ ...{ name: "ElsRequestForm" },
48365
+ __name: "requestForm",
48366
+ props: /* @__PURE__ */ mergeModels(requestFormProps, {
48367
+ "modelValue": { default: () => ({}) },
48368
+ "modelModifiers": {}
48369
+ }),
48370
+ emits: /* @__PURE__ */ mergeModels(["success", "error"], ["update:modelValue"]),
48371
+ setup(__props, { expose: __expose, emit: __emit }) {
48372
+ const props2 = __props;
48373
+ const emit = __emit;
48374
+ const { getValue: getValue2 } = useProps();
48375
+ const getGlobalData = getValue2("getGlobalData", () => ({}));
48376
+ const setRootNodeValueByPath = getValue2("setRootNodeValueByPath", null);
48377
+ const { $codeField, $messageField, $dataField, $success } = utils.getApiConfig();
48378
+ const modelValue = useModel$1(__props, "modelValue");
48379
+ const loading = ref(false);
48380
+ const sseAbort = ref(null);
48381
+ const resultVisible = ref(false);
48382
+ const resultExpanded = ref(true);
48383
+ const resultStatus = ref("");
48384
+ const resultData = ref(void 0);
48385
+ const resultTime = ref("");
48386
+ const methodTheme = computed(() => {
48387
+ const map2 = { GET: "success", POST: "primary", SSE: "warning" };
48388
+ return map2[props2.requestMethod] || "primary";
48389
+ });
48390
+ function applyResult(data) {
48391
+ const globalData = getGlobalData();
48392
+ if (!globalData || data === void 0 || data === null) return;
48393
+ if (props2.keyCode) {
48394
+ globalData[props2.keyCode] = data;
48395
+ } else if (typeof data === "object") {
48396
+ Object.assign(globalData, data);
48397
+ }
48398
+ }
48399
+ function parsePath(path) {
48400
+ return String(path || "").replace(/\[(\d+)\]/g, ".$1").split(".").map((p) => p.trim()).filter(Boolean);
48401
+ }
48402
+ function getValueByPath(data, path) {
48403
+ const parts = parsePath(path);
48404
+ let current = data;
48405
+ for (const part of parts) {
48406
+ if (current === void 0 || current === null) return void 0;
48407
+ current = current[part];
48408
+ }
48409
+ return current;
48410
+ }
48411
+ function parseResponseMappings() {
48412
+ try {
48413
+ const parsed = props2.responseMappings ? JSON.parse(props2.responseMappings) : [];
48414
+ return Array.isArray(parsed) ? parsed : [];
48415
+ } catch {
48416
+ return [];
48417
+ }
48418
+ }
48419
+ function applyResponseMappings(sourceData) {
48420
+ if (props2.requestMethod === "SSE" || !setRootNodeValueByPath) return;
48421
+ parseResponseMappings().filter((item) => item && item.enabled !== false && item.source && item.target).forEach((item) => {
48422
+ const value = getValueByPath(sourceData, item.source);
48423
+ if (value === void 0) return;
48424
+ setRootNodeValueByPath(item.target, value);
48425
+ });
48426
+ }
48427
+ function formatResult(data) {
48428
+ if (data === void 0) return "";
48429
+ if (typeof data === "string") return data;
48430
+ try {
48431
+ return JSON.stringify(data, null, 2);
48432
+ } catch {
48433
+ return String(data);
48434
+ }
48435
+ }
48436
+ const resultText = computed(() => formatResult(resultData.value));
48437
+ const hasResult = computed(() => resultData.value !== void 0);
48438
+ const resultTitle = computed(() => {
48439
+ if (!hasResult.value) return "暂无结果";
48440
+ return resultStatus.value === "error" ? "请求异常" : "请求结果";
48441
+ });
48442
+ function setResult(data, status = "success", append2 = false) {
48443
+ if (append2) {
48444
+ const list = Array.isArray(resultData.value) ? resultData.value : resultData.value === void 0 ? [] : [resultData.value];
48445
+ resultData.value = [...list, data];
48446
+ } else {
48447
+ resultData.value = data;
48448
+ }
48449
+ resultStatus.value = status;
48450
+ resultTime.value = (/* @__PURE__ */ new Date()).toLocaleString();
48451
+ resultVisible.value = true;
48452
+ resultExpanded.value = true;
48453
+ }
48454
+ function clearResult() {
48455
+ resultData.value = void 0;
48456
+ resultStatus.value = "";
48457
+ resultTime.value = "";
48458
+ resultVisible.value = false;
48459
+ }
48460
+ function copyResult() {
48461
+ if (!resultText.value) return;
48462
+ utils.clip(resultText.value);
48463
+ }
48464
+ function handleResponse(res) {
48465
+ const append2 = props2.requestMethod === "SSE";
48466
+ if (res && res[$codeField] !== void 0) {
48467
+ if (res[$codeField] != $success) {
48468
+ ProxyElsMessage.error(res[$messageField]);
48469
+ setResult(res, "error", append2);
48470
+ emit("error", res);
48471
+ return;
48472
+ }
48473
+ const data = res[$dataField];
48474
+ applyResult(data);
48475
+ setResult(res, "success", append2);
48476
+ emit("success", data);
48477
+ applyResponseMappings(data);
48478
+ return;
48479
+ }
48480
+ applyResult(res);
48481
+ setResult(res, "success", append2);
48482
+ emit("success", res);
48483
+ applyResponseMappings(res);
48484
+ }
48485
+ function extractErrorMessage(err) {
48486
+ var _a, _b, _c;
48487
+ return ((_a = err == null ? void 0 : err.data) == null ? void 0 : _a[$messageField]) || ((_c = (_b = err == null ? void 0 : err.response) == null ? void 0 : _b.data) == null ? void 0 : _c[$messageField]) || (err == null ? void 0 : err.message) || "请求失败";
48488
+ }
48489
+ function normalizeError(err) {
48490
+ var _a;
48491
+ return ((_a = err == null ? void 0 : err.response) == null ? void 0 : _a.data) || (err == null ? void 0 : err.data) || {
48492
+ message: extractErrorMessage(err)
48493
+ };
48494
+ }
48495
+ async function handleSubmit() {
48496
+ if (loading.value || !props2.requestUrl) return;
48497
+ loading.value = true;
48498
+ clearResult();
48499
+ const params = { ...modelValue.value || {} };
48500
+ try {
48501
+ if (props2.requestMethod === "GET") {
48502
+ const res = await utils.get(props2.requestUrl, params);
48503
+ handleResponse(res);
48504
+ } else if (props2.requestMethod === "SSE") {
48505
+ await new Promise((resolve2, reject) => {
48506
+ const { abort, promise } = utils.fetchSSE(props2.requestUrl, (message, isDone) => {
48507
+ if (isDone || !message) return;
48508
+ try {
48509
+ handleResponse(JSON.parse(message));
48510
+ } catch {
48511
+ handleResponse(message);
48512
+ }
48513
+ }, params);
48514
+ sseAbort.value = abort;
48515
+ promise.then(resolve2).catch(reject);
48516
+ });
48517
+ } else {
48518
+ const res = await utils.post(props2.requestUrl, params);
48519
+ handleResponse(res);
48520
+ }
48521
+ } catch (err) {
48522
+ ProxyElsMessage.error(extractErrorMessage(err));
48523
+ setResult(normalizeError(err), "error");
48524
+ emit("error", err);
48525
+ } finally {
48526
+ loading.value = false;
48527
+ sseAbort.value = null;
48528
+ }
48529
+ }
48530
+ function handleAbort() {
48531
+ var _a;
48532
+ (_a = sseAbort.value) == null ? void 0 : _a.call(sseAbort);
48533
+ }
48534
+ __expose({ submit: handleSubmit, abort: handleAbort });
48535
+ return (_ctx, _cache) => {
48536
+ const _component_el_form = resolveComponent("el-form");
48537
+ const _component_el_icon = resolveComponent("el-icon");
48538
+ const _component_el_tag = resolveComponent("el-tag");
48539
+ const _component_el_button = resolveComponent("el-button");
48540
+ const _component_el_tooltip = resolveComponent("el-tooltip");
48541
+ const _component_el_empty = resolveComponent("el-empty");
48542
+ return openBlock(), createElementBlock("div", {
48543
+ class: normalizeClass(["els-request-form", [`els-request-form--${methodTheme.value}`, { "is-loading": loading.value }]])
48544
+ }, [
48545
+ _cache[1] || (_cache[1] = createElementVNode("span", { class: "els-request-form__accent" }, null, -1)),
48546
+ createElementVNode("div", _hoisted_1$19, [
48547
+ createElementVNode("span", _hoisted_2$m, toDisplayString(_ctx.requestMethod), 1),
48548
+ createElementVNode("span", {
48549
+ class: "els-request-form__url",
48550
+ title: _ctx.requestUrl
48551
+ }, toDisplayString(_ctx.requestUrl || "未配置接口地址"), 9, _hoisted_3$i)
48552
+ ]),
48553
+ createVNode(_component_el_form, {
48554
+ model: modelValue.value,
48555
+ class: "els-request-form__body"
48556
+ }, {
48557
+ default: withCtx(() => [
48558
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
48559
+ ]),
48560
+ _: 3
48561
+ }, 8, ["model"]),
48562
+ resultVisible.value || loading.value ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
48563
+ createElementVNode("div", _hoisted_5$c, [
48564
+ createElementVNode("div", _hoisted_6$a, [
48565
+ createVNode(_component_el_icon, null, {
48566
+ default: withCtx(() => [
48567
+ createVNode(unref(view_default))
48568
+ ]),
48569
+ _: 1
48570
+ }),
48571
+ createElementVNode("span", null, toDisplayString(resultTitle.value), 1),
48572
+ resultStatus.value ? (openBlock(), createBlock(_component_el_tag, {
48573
+ key: 0,
48574
+ type: resultStatus.value === "error" ? "danger" : "success",
48575
+ size: "small",
48576
+ effect: "light"
48577
+ }, {
48578
+ default: withCtx(() => [
48579
+ createTextVNode(toDisplayString(resultStatus.value === "error" ? "失败" : "成功"), 1)
48580
+ ]),
48581
+ _: 1
48582
+ }, 8, ["type"])) : createCommentVNode("", true),
48583
+ resultTime.value ? (openBlock(), createElementBlock("span", _hoisted_7$8, toDisplayString(resultTime.value), 1)) : createCommentVNode("", true)
48584
+ ]),
48585
+ createElementVNode("div", _hoisted_8$7, [
48586
+ createVNode(_component_el_tooltip, {
48587
+ content: "复制结果",
48588
+ placement: "top"
48589
+ }, {
48590
+ default: withCtx(() => [
48591
+ createVNode(_component_el_button, {
48592
+ text: "",
48593
+ icon: unref(copy_document_default),
48594
+ disabled: !hasResult.value,
48595
+ onClick: copyResult
48596
+ }, null, 8, ["icon", "disabled"])
48597
+ ]),
48598
+ _: 1
48599
+ }),
48600
+ createVNode(_component_el_tooltip, {
48601
+ content: "清空结果",
48602
+ placement: "top"
48603
+ }, {
48604
+ default: withCtx(() => [
48605
+ createVNode(_component_el_button, {
48606
+ text: "",
48607
+ icon: unref(delete_default),
48608
+ disabled: !hasResult.value && !loading.value,
48609
+ onClick: clearResult
48610
+ }, null, 8, ["icon", "disabled"])
48611
+ ]),
48612
+ _: 1
48613
+ }),
48614
+ createVNode(_component_el_tooltip, {
48615
+ content: resultExpanded.value ? "收起结果" : "展开结果",
48616
+ placement: "top"
48617
+ }, {
48618
+ default: withCtx(() => [
48619
+ createVNode(_component_el_button, {
48620
+ text: "",
48621
+ icon: resultExpanded.value ? unref(arrow_up_default) : unref(arrow_down_default),
48622
+ onClick: _cache[0] || (_cache[0] = ($event) => resultExpanded.value = !resultExpanded.value)
48623
+ }, null, 8, ["icon"])
48624
+ ]),
48625
+ _: 1
48626
+ }, 8, ["content"])
48627
+ ])
48628
+ ]),
48629
+ withDirectives(createElementVNode("div", _hoisted_9$6, [
48630
+ hasResult.value ? (openBlock(), createElementBlock("pre", _hoisted_10$4, toDisplayString(resultText.value), 1)) : loading.value ? (openBlock(), createBlock(_component_el_empty, {
48631
+ key: 1,
48632
+ description: "请求中...",
48633
+ "image-size": 72
48634
+ })) : (openBlock(), createBlock(_component_el_empty, {
48635
+ key: 2,
48636
+ description: "暂无结果",
48637
+ "image-size": 72
48638
+ }))
48639
+ ], 512), [
48640
+ [vShow, resultExpanded.value]
48641
+ ])
48642
+ ])) : createCommentVNode("", true),
48643
+ createElementVNode("div", _hoisted_11$4, [
48644
+ createVNode(_component_el_button, {
48645
+ type: "primary",
48646
+ class: "els-request-form__submit",
48647
+ disabled: !_ctx.requestUrl,
48648
+ loading: loading.value,
48649
+ onClick: handleSubmit
48650
+ }, {
48651
+ default: withCtx(() => [
48652
+ createTextVNode(toDisplayString(_ctx.submitLabel || "提交"), 1)
48653
+ ]),
48654
+ _: 1
48655
+ }, 8, ["disabled", "loading"])
48656
+ ])
48657
+ ], 2);
48658
+ };
48659
+ }
48660
+ });
48661
+ const RequestForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$1v, [["__scopeId", "data-v-9fe784ab"]]);
48662
+ const ElsRequestForm = withInstall$1(RequestForm);
47784
48663
  const dataModalProps = buildProps({
47785
48664
  ...formItemProps$1,
47786
48665
  /**
@@ -48096,7 +48975,7 @@ let DataModal$1 = class DataModal extends TBaseFormItem {
48096
48975
  })]);
48097
48976
  }
48098
48977
  };
48099
- const _sfc_main$1v = defineComponent({
48978
+ const _sfc_main$1u = defineComponent({
48100
48979
  name: "ElsDataModal",
48101
48980
  inheritAttrs: false,
48102
48981
  props: dataModalProps,
@@ -48106,9 +48985,9 @@ const _sfc_main$1v = defineComponent({
48106
48985
  },
48107
48986
  emits: ["update:select", "update:modelValue", "update:select-label"]
48108
48987
  });
48109
- const DataModal2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$1v, [["__scopeId", "data-v-68c1b3ab"]]);
48988
+ const DataModal2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$1u, [["__scopeId", "data-v-68c1b3ab"]]);
48110
48989
  const ElsDataModal = withInstall$1(DataModal2);
48111
- const _sfc_main$1u = /* @__PURE__ */ defineComponent({
48990
+ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
48112
48991
  ...{ name: "ElsButtonSelect" },
48113
48992
  __name: "buttonSelect",
48114
48993
  props: {
@@ -48150,8 +49029,8 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
48150
49029
  };
48151
49030
  }
48152
49031
  });
48153
- const ElsButtonSelect = withInstall$1(_sfc_main$1u);
48154
- const _sfc_main$1t = /* @__PURE__ */ defineComponent({
49032
+ const ElsButtonSelect = withInstall$1(_sfc_main$1t);
49033
+ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
48155
49034
  ...{ name: "ElsButtonSearch" },
48156
49035
  __name: "buttonSearch",
48157
49036
  emits: ["click"],
@@ -48197,8 +49076,8 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
48197
49076
  };
48198
49077
  }
48199
49078
  });
48200
- const ElsButtonSearch = withInstall$1(_sfc_main$1t);
48201
- const _sfc_main$1s = /* @__PURE__ */ defineComponent({
49079
+ const ElsButtonSearch = withInstall$1(_sfc_main$1s);
49080
+ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
48202
49081
  ...{ name: "ElsButtonExport" },
48203
49082
  __name: "buttonExport",
48204
49083
  props: {
@@ -48244,7 +49123,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
48244
49123
  };
48245
49124
  }
48246
49125
  });
48247
- const ElsButtonExport = withInstall$1(_sfc_main$1s);
49126
+ const ElsButtonExport = withInstall$1(_sfc_main$1r);
48248
49127
  const listProps = buildProps({
48249
49128
  /**
48250
49129
  * @description 绑定的列表数据
@@ -48363,7 +49242,7 @@ const _hoisted_5$b = {
48363
49242
  };
48364
49243
  const _hoisted_6$9 = { class: "els-list-index" };
48365
49244
  const _hoisted_7$7 = { class: "els-list-handle" };
48366
- const _sfc_main$1r = /* @__PURE__ */ defineComponent({
49245
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
48367
49246
  ...{ name: "ElsList", inheritAttrs: false },
48368
49247
  __name: "list",
48369
49248
  props: /* @__PURE__ */ mergeModels(listProps, {
@@ -48767,10 +49646,10 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
48767
49646
  };
48768
49647
  }
48769
49648
  });
48770
- const List = /* @__PURE__ */ _export_sfc$1(_sfc_main$1r, [["__scopeId", "data-v-daf08a14"]]);
49649
+ const List = /* @__PURE__ */ _export_sfc$1(_sfc_main$1q, [["__scopeId", "data-v-daf08a14"]]);
48771
49650
  const ElsList = withInstall$1(List);
48772
49651
  const _hoisted_1$17 = { class: "custom-block-title" };
48773
- const _sfc_main$1q = /* @__PURE__ */ defineComponent({
49652
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
48774
49653
  ...{ name: "ElsTip" },
48775
49654
  __name: "tip",
48776
49655
  props: {
@@ -48795,7 +49674,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
48795
49674
  };
48796
49675
  }
48797
49676
  });
48798
- const Tip = /* @__PURE__ */ _export_sfc$1(_sfc_main$1q, [["__scopeId", "data-v-c950eb09"]]);
49677
+ const Tip = /* @__PURE__ */ _export_sfc$1(_sfc_main$1p, [["__scopeId", "data-v-c950eb09"]]);
48799
49678
  const tipProps = buildProps({
48800
49679
  /**
48801
49680
  * @description 标题
@@ -48911,7 +49790,7 @@ let InputTag$1 = class InputTag extends TBaseFormItem {
48911
49790
  })])]);
48912
49791
  }
48913
49792
  };
48914
- const _sfc_main$1p = defineComponent({
49793
+ const _sfc_main$1o = defineComponent({
48915
49794
  name: "ElsInputTag",
48916
49795
  inheritAttrs: false,
48917
49796
  props: inputTagProps,
@@ -48920,7 +49799,7 @@ const _sfc_main$1p = defineComponent({
48920
49799
  return () => sw.render();
48921
49800
  }
48922
49801
  });
48923
- const InputTag2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$1p, [["__scopeId", "data-v-c1f0387c"]]);
49802
+ const InputTag2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["__scopeId", "data-v-c1f0387c"]]);
48924
49803
  const ElsInputTag = withInstall$1(InputTag2);
48925
49804
  const property_input = [
48926
49805
  {
@@ -71266,89 +72145,488 @@ const property_cascader = [
71266
72145
  }
71267
72146
  },
71268
72147
  {
71269
- "keyID": "id_5144",
72148
+ "keyID": "id_5144",
72149
+ "keyName": "栅格行",
72150
+ "keyCode": "",
72151
+ "children": [
72152
+ {
72153
+ "keyID": "id_7470",
72154
+ "keyName": "值路径分隔符",
72155
+ "keyCode": "pathSeparator",
72156
+ "children": [],
72157
+ "dataType": "String",
72158
+ "arrayDataType": "",
72159
+ "componentTypeLabel": "输入框",
72160
+ "componentType": "Input",
72161
+ "icon": "text",
72162
+ "operateType": "input",
72163
+ "slots": [],
72164
+ "config": {
72165
+ "formConfig": {
72166
+ "labelWidth": "",
72167
+ "suffixContent": "",
72168
+ "requiredMessage": "",
72169
+ "re_required": "",
72170
+ "tip": "",
72171
+ "tipPosition": "left",
72172
+ "validType": "",
72173
+ "validMessage": "",
72174
+ "validExpression": "",
72175
+ "validMethod": ""
72176
+ },
72177
+ "baseConfig": {},
72178
+ "advancedConfig": {},
72179
+ "arrayConfig": {}
72180
+ }
72181
+ },
72182
+ {
72183
+ "keyID": "id_6682",
72184
+ "keyName": "值分隔符",
72185
+ "keyCode": "valueSeparator",
72186
+ "children": [],
72187
+ "dataType": "String",
72188
+ "arrayDataType": "",
72189
+ "componentTypeLabel": "输入框",
72190
+ "componentType": "Input",
72191
+ "icon": "text",
72192
+ "operateType": "input",
72193
+ "slots": [],
72194
+ "config": {
72195
+ "formConfig": {
72196
+ "labelWidth": "",
72197
+ "suffixContent": "",
72198
+ "requiredMessage": "",
72199
+ "re_required": "",
72200
+ "tip": "",
72201
+ "tipPosition": "left",
72202
+ "validType": "",
72203
+ "validMessage": "",
72204
+ "validExpression": "",
72205
+ "validMethod": ""
72206
+ },
72207
+ "baseConfig": {},
72208
+ "advancedConfig": {},
72209
+ "arrayConfig": {}
72210
+ }
72211
+ }
72212
+ ],
72213
+ "dataType": "None",
72214
+ "arrayDataType": "",
72215
+ "componentTypeLabel": "栅格行",
72216
+ "componentType": "Row",
72217
+ "icon": "layout-two",
72218
+ "slots": [],
72219
+ "config": {
72220
+ "formConfig": {},
72221
+ "baseConfig": {
72222
+ "gutter": 10,
72223
+ "span": 12,
72224
+ "justify": "start",
72225
+ "align": "",
72226
+ "tag": "div"
72227
+ },
72228
+ "advancedConfig": {},
72229
+ "arrayConfig": {}
72230
+ }
72231
+ }
72232
+ ],
72233
+ "dataType": "None",
72234
+ "arrayDataType": "",
72235
+ "componentTypeLabel": "Form表单",
72236
+ "componentType": "Form",
72237
+ "config": {
72238
+ "baseConfig": {
72239
+ "inline": false,
72240
+ "labelPosition": "top",
72241
+ "labelWidth": "",
72242
+ "labelSuffix": "",
72243
+ "hideRequiredAsterisk": false,
72244
+ "requireAsteriskPosition": "",
72245
+ "showMessage": true,
72246
+ "inlineMessage": false,
72247
+ "statusIcon": false,
72248
+ "disabled": false,
72249
+ "scrollToError": false,
72250
+ "scrollIntoViewOptions": false
72251
+ },
72252
+ "advancedConfig": {
72253
+ "style": "",
72254
+ "vif": "",
72255
+ "disabled": "",
72256
+ "eventChange": ""
72257
+ },
72258
+ "arrayConfig": {}
72259
+ }
72260
+ }
72261
+ ];
72262
+ const property_requestForm = [
72263
+ {
72264
+ "keyID": "rf_root",
72265
+ "keyName": "Form",
72266
+ "keyCode": "rf_root_code",
72267
+ "children": [
72268
+ {
72269
+ "keyID": "rf_row_url",
71270
72270
  "keyName": "栅格行",
71271
- "keyCode": "",
72271
+ "keyCode": "rf_row_url_code",
71272
72272
  "children": [
71273
72273
  {
71274
- "keyID": "id_7470",
71275
- "keyName": "值路径分隔符",
71276
- "keyCode": "pathSeparator",
72274
+ "keyID": "rf_requestUrl",
72275
+ "keyName": "请求地址",
72276
+ "keyCode": "requestUrl",
71277
72277
  "children": [],
71278
72278
  "dataType": "String",
71279
72279
  "arrayDataType": "",
71280
- "componentTypeLabel": "输入框",
71281
- "componentType": "Input",
71282
- "icon": "text",
71283
- "operateType": "input",
71284
- "slots": [],
72280
+ "componentTypeLabel": "表达式输入框",
72281
+ "componentType": "ExpressionInput",
72282
+ "formItem": true,
71285
72283
  "config": {
72284
+ "arrayConfig": {},
72285
+ "baseConfig": {
72286
+ "width": "",
72287
+ "placeholder": "请输入请求地址,如 /api/user/info"
72288
+ },
71286
72289
  "formConfig": {
71287
72290
  "labelWidth": "",
71288
- "suffixContent": "",
71289
- "requiredMessage": "",
71290
- "re_required": "",
71291
72291
  "tip": "",
71292
72292
  "tipPosition": "left",
72293
+ "suffixContent": "",
72294
+ "required": false,
72295
+ "requiredMessage": "",
71293
72296
  "validType": "",
71294
- "validMessage": "",
71295
72297
  "validExpression": "",
72298
+ "validMessage": "",
71296
72299
  "validMethod": ""
71297
72300
  },
71298
- "baseConfig": {},
71299
- "advancedConfig": {},
71300
- "arrayConfig": {}
72301
+ "advancedConfig": {
72302
+ "style": "",
72303
+ "vif": "",
72304
+ "disabled": "",
72305
+ "eventChange": ""
72306
+ }
71301
72307
  }
71302
- },
72308
+ }
72309
+ ],
72310
+ "dataType": "None",
72311
+ "arrayDataType": "",
72312
+ "componentTypeLabel": "栅格行",
72313
+ "componentType": "Row",
72314
+ "formItem": false,
72315
+ "config": {
72316
+ "formConfig": {},
72317
+ "baseConfig": { "gutter": 10, "justify": "", "align": "", "tag": "div" },
72318
+ "advancedConfig": { "style": "", "vif": "", "disabled": "", "eventChange": "" },
72319
+ "arrayConfig": {}
72320
+ }
72321
+ },
72322
+ {
72323
+ "keyID": "rf_row_method",
72324
+ "keyName": "栅格行",
72325
+ "keyCode": "rf_row_method_code",
72326
+ "children": [
71303
72327
  {
71304
- "keyID": "id_6682",
71305
- "keyName": "值分隔符",
71306
- "keyCode": "valueSeparator",
72328
+ "keyID": "rf_requestMethod",
72329
+ "keyName": "请求方式",
72330
+ "keyCode": "requestMethod",
71307
72331
  "children": [],
71308
72332
  "dataType": "String",
71309
- "arrayDataType": "",
71310
- "componentTypeLabel": "输入框",
71311
- "componentType": "Input",
71312
- "icon": "text",
71313
- "operateType": "input",
71314
- "slots": [],
72333
+ "componentType": "Radio",
72334
+ "defaultValue": "POST",
71315
72335
  "config": {
72336
+ "arrayConfig": {},
72337
+ "baseConfig": {
72338
+ "type": "button",
72339
+ "dataType": 1,
72340
+ "data": [
72341
+ { "label": "GET", "value": "GET" },
72342
+ { "label": "POST", "value": "POST" },
72343
+ { "label": "SSE", "value": "SSE" }
72344
+ ]
72345
+ },
71316
72346
  "formConfig": {
71317
72347
  "labelWidth": "",
72348
+ "tip": "",
72349
+ "tipPosition": "left",
71318
72350
  "suffixContent": "",
72351
+ "required": false,
71319
72352
  "requiredMessage": "",
71320
- "re_required": "",
72353
+ "validType": "",
72354
+ "validExpression": "",
72355
+ "validMessage": "",
72356
+ "validMethod": ""
72357
+ },
72358
+ "advancedConfig": {
72359
+ "style": "",
72360
+ "vif": "",
72361
+ "disabled": "",
72362
+ "eventChange": ""
72363
+ }
72364
+ },
72365
+ "formItem": true
72366
+ }
72367
+ ],
72368
+ "dataType": "None",
72369
+ "arrayDataType": "",
72370
+ "componentTypeLabel": "栅格行",
72371
+ "componentType": "Row",
72372
+ "formItem": false,
72373
+ "config": {
72374
+ "formConfig": {},
72375
+ "baseConfig": { "gutter": 10, "justify": "", "align": "", "tag": "div" },
72376
+ "advancedConfig": { "style": "", "vif": "", "disabled": "", "eventChange": "" },
72377
+ "arrayConfig": {}
72378
+ }
72379
+ },
72380
+ {
72381
+ "keyID": "rf_row_submitLabel",
72382
+ "keyName": "栅格行",
72383
+ "keyCode": "rf_row_submitLabel_code",
72384
+ "children": [
72385
+ {
72386
+ "keyID": "rf_submitLabel",
72387
+ "keyName": "提交按钮文本",
72388
+ "keyCode": "submitLabel",
72389
+ "children": [],
72390
+ "dataType": "String",
72391
+ "componentType": "Input",
72392
+ "defaultValue": "提交",
72393
+ "config": {
72394
+ "arrayConfig": {},
72395
+ "baseConfig": {
72396
+ "width": "",
72397
+ "placeholder": ""
72398
+ },
72399
+ "formConfig": {
72400
+ "labelWidth": "",
71321
72401
  "tip": "",
71322
72402
  "tipPosition": "left",
72403
+ "suffixContent": "",
72404
+ "required": false,
72405
+ "requiredMessage": "",
71323
72406
  "validType": "",
72407
+ "validExpression": "",
71324
72408
  "validMessage": "",
72409
+ "validMethod": ""
72410
+ },
72411
+ "advancedConfig": {
72412
+ "style": "",
72413
+ "vif": "",
72414
+ "disabled": "",
72415
+ "eventChange": ""
72416
+ }
72417
+ },
72418
+ "formItem": true
72419
+ }
72420
+ ],
72421
+ "dataType": "None",
72422
+ "arrayDataType": "",
72423
+ "componentTypeLabel": "栅格行",
72424
+ "componentType": "Row",
72425
+ "formItem": false,
72426
+ "config": {
72427
+ "formConfig": {},
72428
+ "baseConfig": { "gutter": 10, "justify": "", "align": "", "tag": "div" },
72429
+ "advancedConfig": { "style": "", "vif": "", "disabled": "", "eventChange": "" },
72430
+ "arrayConfig": {}
72431
+ }
72432
+ },
72433
+ {
72434
+ "keyID": "rf_row_returnSchema",
72435
+ "keyName": "栅格行",
72436
+ "keyCode": "rf_row_returnSchema_code",
72437
+ "children": [
72438
+ {
72439
+ "keyID": "rf_returnSchema",
72440
+ "keyName": "返回值结构定义",
72441
+ "keyCode": "returnSchema",
72442
+ "children": [],
72443
+ "dataType": "String",
72444
+ "componentType": "SchemaFieldEditor",
72445
+ "defaultValue": "{}",
72446
+ "config": {
72447
+ "arrayConfig": {},
72448
+ "baseConfig": {},
72449
+ "formConfig": {
72450
+ "labelWidth": "",
72451
+ "tip": '点击"添加字段",填写展示名称和接口返回的字段路径(如 user.name),供其他组件在数据绑定面板中选择,不影响实际请求逻辑',
72452
+ "tipPosition": "left",
72453
+ "suffixContent": "",
72454
+ "required": false,
72455
+ "requiredMessage": "",
72456
+ "validType": "",
71325
72457
  "validExpression": "",
72458
+ "validMessage": "",
71326
72459
  "validMethod": ""
71327
72460
  },
72461
+ "advancedConfig": {
72462
+ "style": "",
72463
+ "vif": "",
72464
+ "disabled": "",
72465
+ "eventChange": ""
72466
+ }
72467
+ },
72468
+ "formItem": true
72469
+ }
72470
+ ],
72471
+ "dataType": "None",
72472
+ "arrayDataType": "",
72473
+ "componentTypeLabel": "栅格行",
72474
+ "componentType": "Row",
72475
+ "formItem": false,
72476
+ "config": {
72477
+ "formConfig": {},
72478
+ "baseConfig": { "gutter": 10, "justify": "", "align": "", "tag": "div" },
72479
+ "advancedConfig": { "style": "", "vif": "", "disabled": "", "eventChange": "" },
72480
+ "arrayConfig": {}
72481
+ }
72482
+ },
72483
+ {
72484
+ "keyID": "rf_row_responseMappings",
72485
+ "keyName": "栅格行",
72486
+ "keyCode": "rf_row_responseMappings_code",
72487
+ "children": [
72488
+ {
72489
+ "keyID": "rf_responseMappings",
72490
+ "keyName": "字段映射",
72491
+ "keyCode": "responseMappings",
72492
+ "children": [],
72493
+ "dataType": "String",
72494
+ "componentType": "ResponseMappingEditor",
72495
+ "defaultValue": "[]",
72496
+ "config": {
72497
+ "arrayConfig": {},
71328
72498
  "baseConfig": {},
71329
- "advancedConfig": {},
71330
- "arrayConfig": {}
71331
- }
72499
+ "formConfig": {
72500
+ "labelWidth": "",
72501
+ "tip": "请求成功后,将接口返回字段写入表单字段。SSE 不执行字段映射",
72502
+ "tipPosition": "left",
72503
+ "suffixContent": "",
72504
+ "required": false,
72505
+ "requiredMessage": "",
72506
+ "validType": "",
72507
+ "validExpression": "",
72508
+ "validMessage": "",
72509
+ "validMethod": ""
72510
+ },
72511
+ "advancedConfig": {
72512
+ "style": "",
72513
+ "vif": "",
72514
+ "disabled": "",
72515
+ "eventChange": ""
72516
+ }
72517
+ },
72518
+ "formItem": true
71332
72519
  }
71333
72520
  ],
71334
72521
  "dataType": "None",
71335
72522
  "arrayDataType": "",
71336
72523
  "componentTypeLabel": "栅格行",
71337
72524
  "componentType": "Row",
71338
- "icon": "layout-two",
71339
- "slots": [],
72525
+ "formItem": false,
72526
+ "config": {
72527
+ "formConfig": {},
72528
+ "baseConfig": { "gutter": 10, "justify": "", "align": "", "tag": "div" },
72529
+ "advancedConfig": { "style": "", "vif": "", "disabled": "", "eventChange": "" },
72530
+ "arrayConfig": {}
72531
+ }
72532
+ },
72533
+ {
72534
+ "keyID": "rf_eventSuccess",
72535
+ "keyName": "请求成功事件",
72536
+ "keyCode": "eventSuccess",
72537
+ "children": [],
72538
+ "dataType": "String",
72539
+ "componentTypeLabel": "弹窗选择",
72540
+ "componentType": "DataModal",
72541
+ "icon": "share",
72542
+ "operateType": "button",
72543
+ "slots": [
72544
+ {
72545
+ "name": "default",
72546
+ "children": [
72547
+ {
72548
+ "keyID": "rf_eventSuccess_tip",
72549
+ "keyName": "页面提示",
72550
+ "keyCode": "",
72551
+ "children": [],
72552
+ "dataType": "None",
72553
+ "dataTypeName": "None",
72554
+ "arrayDataTypeName": "",
72555
+ "arrayDataType": "",
72556
+ "componentGroup": "Show",
72557
+ "componentTypeLabel": "页面提示",
72558
+ "componentTypeName": "Tip",
72559
+ "componentName": "ElsTip",
72560
+ "componentType": "Tip",
72561
+ "formItem": false,
72562
+ "componentShow": true,
72563
+ "icon": "tips",
72564
+ "slots": [],
72565
+ "config": {
72566
+ "formConfig": {},
72567
+ "baseConfig": {
72568
+ "title": "事件参数",
72569
+ "content": "响应数据:$event,组件:refs,全局数据:globalData,工具类:utils。请求成功后会自动按 returnRoot 把响应数据写入 globalData,此事件用于额外的自定义逻辑(非必需,可留空)"
72570
+ },
72571
+ "advancedConfig": {},
72572
+ "arrayConfig": {}
72573
+ }
72574
+ },
72575
+ {
72576
+ "keyID": "rf_eventSuccess_editor",
72577
+ "keyName": "编辑事件",
72578
+ "keyCode": "default",
72579
+ "children": [],
72580
+ "dataType": "String",
72581
+ "dataTypeName": "String",
72582
+ "arrayDataTypeName": "",
72583
+ "arrayDataType": "",
72584
+ "componentGroup": "Form",
72585
+ "componentTypeLabel": "Ace编辑器",
72586
+ "componentTypeName": "AceEditor",
72587
+ "componentName": "ElsAceEditor",
72588
+ "componentType": "AceEditor",
72589
+ "formItem": true,
72590
+ "componentShow": true,
72591
+ "icon": "text-style",
72592
+ "slots": [],
72593
+ "config": {
72594
+ "formConfig": {},
72595
+ "baseConfig": {
72596
+ "rows": 10,
72597
+ "readonly": false,
72598
+ "theme": "",
72599
+ "language": ""
72600
+ },
72601
+ "advancedConfig": {},
72602
+ "arrayConfig": {}
72603
+ }
72604
+ }
72605
+ ]
72606
+ }
72607
+ ],
71340
72608
  "config": {
71341
72609
  "formConfig": {},
71342
72610
  "baseConfig": {
71343
- "gutter": 10,
71344
- "span": 12,
71345
- "justify": "start",
71346
- "align": "",
71347
- "tag": "div"
72611
+ "buttonLabel": "编辑事件",
72612
+ "buttonWidth": "100%",
72613
+ "hasInput": false,
72614
+ "inputWidth": "",
72615
+ "title": "请求成功事件",
72616
+ "width": "",
72617
+ "height": "",
72618
+ "targetType": "",
72619
+ "url": "",
72620
+ "dataUrl": "",
72621
+ "buttonComponent": "",
72622
+ "showBadge": true,
72623
+ "buttonProps": { "bg": true, "text": true, "type": "info" },
72624
+ "function_confirm": ""
71348
72625
  },
71349
72626
  "advancedConfig": {},
71350
72627
  "arrayConfig": {}
71351
- }
72628
+ },
72629
+ "formItem": true
71352
72630
  }
71353
72631
  ],
71354
72632
  "dataType": "None",
@@ -71377,7 +72655,8 @@ const property_cascader = [
71377
72655
  "eventChange": ""
71378
72656
  },
71379
72657
  "arrayConfig": {}
71380
- }
72658
+ },
72659
+ "formItem": false
71381
72660
  }
71382
72661
  ];
71383
72662
  const dynamicComponentTypes = [
@@ -72043,6 +73322,21 @@ const dynamicComponentTypes = [
72043
73322
  isShow: true,
72044
73323
  inline: true,
72045
73324
  slots: ["default", "content"]
73325
+ },
73326
+ {
73327
+ componentName: "ElsRequestForm",
73328
+ icon: "send",
73329
+ label: "请求表单",
73330
+ value: "RequestForm",
73331
+ type: "RequestForm",
73332
+ dataTypes: ["Object"],
73333
+ defaultPropertys: {},
73334
+ propertys: property_requestForm,
73335
+ events: ["success"],
73336
+ group: "Container",
73337
+ formItem: true,
73338
+ isShow: true,
73339
+ excludeFromResult: true
72046
73340
  }
72047
73341
  ];
72048
73342
  const dynamicDataTypes = [
@@ -72188,6 +73482,7 @@ class DynamicHandler {
72188
73482
  item.componentName = currcomponentType == null ? void 0 : currcomponentType.componentName;
72189
73483
  item.formItem = currcomponentType == null ? void 0 : currcomponentType.formItem;
72190
73484
  item.componentGroup = currcomponentType == null ? void 0 : currcomponentType.group;
73485
+ item.excludeFromResult = currcomponentType == null ? void 0 : currcomponentType.excludeFromResult;
72191
73486
  if (((currDataType == null ? void 0 : currDataType.type) === "Object" || (currDataType == null ? void 0 : currDataType.type) === "Array") && !item.componentTypeName) {
72192
73487
  item.formItem = true;
72193
73488
  item.componentGroup = "Form";
@@ -72589,6 +73884,9 @@ class DynamicHandler {
72589
73884
  }
72590
73885
  itemValue(item) {
72591
73886
  let currValue = {};
73887
+ if (item.excludeFromResult) {
73888
+ return currValue;
73889
+ }
72592
73890
  if (item.formItem || item.componentGroup === "Form" || item.dataTypeName == "Array" || item.dataType === "Object") {
72593
73891
  if (item.dataTypeName == "Object" && item.keyCode && !item.componentTypeName) {
72594
73892
  currValue[item.keyCode] = this.childResult(item);
@@ -72628,7 +73926,7 @@ const _hoisted_2$k = {
72628
73926
  key: 0,
72629
73927
  class: "els-tool"
72630
73928
  };
72631
- const _sfc_main$1o = /* @__PURE__ */ defineComponent({
73929
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
72632
73930
  ...{
72633
73931
  name: "ElsContainer"
72634
73932
  },
@@ -73209,7 +74507,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
73209
74507
  };
73210
74508
  }
73211
74509
  });
73212
- const Container = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["__scopeId", "data-v-b15ec31d"]]);
74510
+ const Container = /* @__PURE__ */ _export_sfc$1(_sfc_main$1n, [["__scopeId", "data-v-b15ec31d"]]);
73213
74511
  const ElsContainer = withInstall$1(Container);
73214
74512
  const createProps = buildProps({
73215
74513
  /**
@@ -73246,7 +74544,7 @@ const createProps = buildProps({
73246
74544
  const _hoisted_1$15 = { class: "els-dynamic-create" };
73247
74545
  const _hoisted_2$j = { style: { "margin-bottom": "10px" } };
73248
74546
  const _hoisted_3$g = { class: "dialog-footer" };
73249
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
74547
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
73250
74548
  ...{
73251
74549
  name: "ElsDynamicCreate"
73252
74550
  },
@@ -73544,7 +74842,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
73544
74842
  };
73545
74843
  }
73546
74844
  });
73547
- const ElsDynamicCreate = withInstall$1(_sfc_main$1n);
74845
+ const ElsDynamicCreate = withInstall$1(_sfc_main$1m);
73548
74846
  const _hoisted_1$14 = {
73549
74847
  key: 0,
73550
74848
  class: "tag-name"
@@ -73649,7 +74947,7 @@ const _hoisted_36 = {
73649
74947
  };
73650
74948
  const _hoisted_37 = { class: "els-dynamic-d-oper" };
73651
74949
  const _hoisted_38 = { class: "dialog-footer" };
73652
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
74950
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
73653
74951
  ...{
73654
74952
  name: "ElsDynamicDesigner"
73655
74953
  },
@@ -73667,7 +74965,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
73667
74965
  emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
73668
74966
  setup(__props, { emit: __emit }) {
73669
74967
  const DynamicDesignerInnerItem = defineAsyncComponent(() => {
73670
- return import("./innerItem-hCYuS1Ma.js");
74968
+ return import("./innerItem-CnLhfK-G.js");
73671
74969
  });
73672
74970
  const { getValue: getValue2 } = useProps();
73673
74971
  const tagID = getValue2("tagID");
@@ -73998,7 +75296,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
73998
75296
  };
73999
75297
  }
74000
75298
  });
74001
- const DynamicDesignerInner = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["__scopeId", "data-v-9f8f7295"]]);
75299
+ const DynamicDesignerInner = /* @__PURE__ */ _export_sfc$1(_sfc_main$1l, [["__scopeId", "data-v-9f8f7295"]]);
74002
75300
  const designerProps = buildProps({
74003
75301
  ...formItemProps$1,
74004
75302
  /**
@@ -74127,7 +75425,7 @@ const designerProps = buildProps({
74127
75425
  }
74128
75426
  });
74129
75427
  const _hoisted_1$13 = { class: "els-dynamic-config-tool" };
74130
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
75428
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
74131
75429
  ...{
74132
75430
  name: "ElsDynamicDesigner"
74133
75431
  },
@@ -74193,7 +75491,27 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
74193
75491
  dataTypes: ["String"],
74194
75492
  isShow: false
74195
75493
  }];
74196
- currComponentTypes.value.push(...conditionBuilderTypes, ...expressionInputTypes);
75494
+ const schemaFieldEditorTypes = [{
75495
+ componentName: "ElsSchemaFieldEditor",
75496
+ label: "字段结构编辑器",
75497
+ value: "SchemaFieldEditor",
75498
+ type: "SchemaFieldEditor",
75499
+ group: "Form",
75500
+ formItem: true,
75501
+ dataTypes: ["String"],
75502
+ isShow: false
75503
+ }];
75504
+ const responseMappingEditorTypes = [{
75505
+ componentName: "ElsResponseMappingEditor",
75506
+ label: "字段映射编辑器",
75507
+ value: "ResponseMappingEditor",
75508
+ type: "ResponseMappingEditor",
75509
+ group: "Form",
75510
+ formItem: true,
75511
+ dataTypes: ["String"],
75512
+ isShow: false
75513
+ }];
75514
+ currComponentTypes.value.push(...conditionBuilderTypes, ...expressionInputTypes, ...schemaFieldEditorTypes, ...responseMappingEditorTypes);
74197
75515
  const dynamicHandler = new DynamicHandler(currDynamicDataType.value, currComponentTypes.value);
74198
75516
  function getConverToJsonResult(obj2) {
74199
75517
  return dynamicHandler.jsonToConfig(obj2);
@@ -74548,7 +75866,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
74548
75866
  };
74549
75867
  }
74550
75868
  });
74551
- const Designer = /* @__PURE__ */ _export_sfc$1(_sfc_main$1l, [["__scopeId", "data-v-1112b724"]]);
75869
+ const Designer = /* @__PURE__ */ _export_sfc$1(_sfc_main$1k, [["__scopeId", "data-v-50df49bb"]]);
74552
75870
  const ElsDynamicDesigner = withInstall$1(Designer);
74553
75871
  const renderProps = buildProps({
74554
75872
  ...formItemProps$1,
@@ -74638,7 +75956,7 @@ const renderProps = buildProps({
74638
75956
  });
74639
75957
  const _hoisted_1$12 = { class: "els-node els-dynamic-render" };
74640
75958
  const _hoisted_2$h = { class: "els-dynamic-render-inner" };
74641
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
75959
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
74642
75960
  ...{
74643
75961
  name: "ElsDynamicRender"
74644
75962
  },
@@ -74647,10 +75965,10 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
74647
75965
  emits: ["update:modelValue"],
74648
75966
  setup(__props, { expose: __expose, emit: __emit }) {
74649
75967
  const DynamicRenderInner = defineAsyncComponent(() => {
74650
- return import("./inner-D0l83fj6.js").then((n) => n.i);
75968
+ return import("./inner-Cn9E8KV4.js").then((n) => n.i);
74651
75969
  });
74652
75970
  const DynamicRenderForm = defineAsyncComponent(() => {
74653
- return import("./inner-D0l83fj6.js").then((n) => n.f);
75971
+ return import("./inner-Cn9E8KV4.js").then((n) => n.f);
74654
75972
  });
74655
75973
  const props2 = __props;
74656
75974
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props2);
@@ -74802,6 +76120,55 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
74802
76120
  const result = getNodeValue(renderData.value);
74803
76121
  return result;
74804
76122
  };
76123
+ function parseNodePath(path) {
76124
+ return String(path || "").split(".").map((p) => p.trim()).filter(Boolean);
76125
+ }
76126
+ function castNodeValue(item, value) {
76127
+ if (value === null || value === "") return value;
76128
+ const dataType = item.dataTypeName || item.dataType;
76129
+ if (dataType === "Number") {
76130
+ const numberValue = Number(value);
76131
+ return Number.isNaN(numberValue) ? value : numberValue;
76132
+ }
76133
+ if (dataType === "Bool") {
76134
+ if (typeof value === "boolean") return value;
76135
+ if (typeof value === "number") return value !== 0;
76136
+ if (typeof value === "string") {
76137
+ const lower = value.toLowerCase();
76138
+ if (lower === "true") return true;
76139
+ if (lower === "false") return false;
76140
+ if (lower === "1") return true;
76141
+ if (lower === "0") return false;
76142
+ }
76143
+ }
76144
+ return value;
76145
+ }
76146
+ function setNodeValueByParts(items, parts, value) {
76147
+ if (!(items == null ? void 0 : items.length) || !parts.length) return false;
76148
+ const [current, ...rest] = parts;
76149
+ for (const item of items) {
76150
+ const isObjectContainer = (item.dataTypeName === "Object" || item.dataType === "Object") && item.keyCode && !item.componentTypeName;
76151
+ const isLayoutContainer = item.componentGroup === "Container" && !isObjectContainer;
76152
+ if (item.keyCode === current) {
76153
+ if (!rest.length) {
76154
+ item.value = castNodeValue(item, value);
76155
+ return true;
76156
+ }
76157
+ if (setNodeValueByParts(item.children || [], rest, value)) return true;
76158
+ }
76159
+ if (isLayoutContainer && setNodeValueByParts(item.children || [], parts, value)) return true;
76160
+ }
76161
+ return false;
76162
+ }
76163
+ function setRootNodeValueByPath(path, value) {
76164
+ const parts = parseNodePath(path);
76165
+ if (!parts.length) return false;
76166
+ const success = setNodeValueByParts(renderData.value, parts, value);
76167
+ if (!success) {
76168
+ console.warn(`[ElsRequestForm] response mapping target not found: ${path}`);
76169
+ }
76170
+ return success;
76171
+ }
74805
76172
  function setComponentRef(id, childRef) {
74806
76173
  refsData.value[id] = childRef;
74807
76174
  }
@@ -74824,6 +76191,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
74824
76191
  getRootNode: getCurrNode,
74825
76192
  getNodeValue,
74826
76193
  getArrayNodeValue,
76194
+ setRootNodeValueByPath,
74827
76195
  getResult: (data) => {
74828
76196
  return dynamicHandler.result(data);
74829
76197
  }
@@ -74868,10 +76236,10 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
74868
76236
  };
74869
76237
  }
74870
76238
  });
74871
- const DynamicRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$1k, [["__scopeId", "data-v-7093d0ee"]]);
76239
+ const DynamicRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$1j, [["__scopeId", "data-v-f26f8fe8"]]);
74872
76240
  const _hoisted_1$11 = { class: "els-node els-dynamic-render" };
74873
76241
  const _hoisted_2$g = { class: "els-dynamic-render-inner" };
74874
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
76242
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
74875
76243
  ...{
74876
76244
  name: "ElsDynamicRenderAsync"
74877
76245
  },
@@ -74880,10 +76248,10 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
74880
76248
  emits: ["update:modelValue"],
74881
76249
  setup(__props, { expose: __expose, emit: __emit }) {
74882
76250
  const DynamicRenderInnerAsync = defineAsyncComponent(() => {
74883
- return import("./inner-D0l83fj6.js").then((n) => n.i);
76251
+ return import("./inner-Cn9E8KV4.js").then((n) => n.i);
74884
76252
  });
74885
76253
  const DynamicRenderFormAsync = defineAsyncComponent(() => {
74886
- return import("./inner-D0l83fj6.js").then((n) => n.f);
76254
+ return import("./inner-Cn9E8KV4.js").then((n) => n.f);
74887
76255
  });
74888
76256
  const props2 = __props;
74889
76257
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props2);
@@ -75019,6 +76387,55 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
75019
76387
  const getCurrNode = function() {
75020
76388
  return getNodeValue(renderData.value);
75021
76389
  };
76390
+ function parseNodePath(path) {
76391
+ return String(path || "").split(".").map((p) => p.trim()).filter(Boolean);
76392
+ }
76393
+ function castNodeValue(item, value) {
76394
+ if (value === null || value === "") return value;
76395
+ const dataType = item.dataTypeName || item.dataType;
76396
+ if (dataType === "Number") {
76397
+ const numberValue = Number(value);
76398
+ return Number.isNaN(numberValue) ? value : numberValue;
76399
+ }
76400
+ if (dataType === "Bool") {
76401
+ if (typeof value === "boolean") return value;
76402
+ if (typeof value === "number") return value !== 0;
76403
+ if (typeof value === "string") {
76404
+ const lower = value.toLowerCase();
76405
+ if (lower === "true") return true;
76406
+ if (lower === "false") return false;
76407
+ if (lower === "1") return true;
76408
+ if (lower === "0") return false;
76409
+ }
76410
+ }
76411
+ return value;
76412
+ }
76413
+ function setNodeValueByParts(items, parts, value) {
76414
+ if (!(items == null ? void 0 : items.length) || !parts.length) return false;
76415
+ const [current, ...rest] = parts;
76416
+ for (const item of items) {
76417
+ const isObjectContainer = (item.dataTypeName === "Object" || item.dataType === "Object") && item.keyCode && !item.componentTypeName;
76418
+ const isLayoutContainer = item.componentGroup === "Container" && !isObjectContainer;
76419
+ if (item.keyCode === current) {
76420
+ if (!rest.length) {
76421
+ item.value = castNodeValue(item, value);
76422
+ return true;
76423
+ }
76424
+ if (setNodeValueByParts(item.children || [], rest, value)) return true;
76425
+ }
76426
+ if (isLayoutContainer && setNodeValueByParts(item.children || [], parts, value)) return true;
76427
+ }
76428
+ return false;
76429
+ }
76430
+ function setRootNodeValueByPath(path, value) {
76431
+ const parts = parseNodePath(path);
76432
+ if (!parts.length) return false;
76433
+ const success = setNodeValueByParts(renderData.value, parts, value);
76434
+ if (!success) {
76435
+ console.warn(`[ElsRequestForm] response mapping target not found: ${path}`);
76436
+ }
76437
+ return success;
76438
+ }
75022
76439
  function setComponentRef(id, childRef) {
75023
76440
  refsData.value[id] = childRef;
75024
76441
  }
@@ -75039,6 +76456,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
75039
76456
  getCurrNodeValueData,
75040
76457
  getCurrNode,
75041
76458
  getNodeValue,
76459
+ setRootNodeValueByPath,
75042
76460
  getResult: (data) => {
75043
76461
  return dynamicHandler.result(data);
75044
76462
  }
@@ -75091,14 +76509,14 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
75091
76509
  };
75092
76510
  }
75093
76511
  });
75094
- const DynamicRenderAsync = /* @__PURE__ */ _export_sfc$1(_sfc_main$1j, [["__scopeId", "data-v-a96b65cd"]]);
76512
+ const DynamicRenderAsync = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["__scopeId", "data-v-cd8d8a25"]]);
75095
76513
  const renderAsync = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
75096
76514
  __proto__: null,
75097
76515
  default: DynamicRenderAsync
75098
76516
  }, Symbol.toStringTag, { value: "Module" }));
75099
76517
  const ElsRender = withInstall$1(DynamicRender);
75100
76518
  const ElsRenderAsync = withInstall$1(DynamicRenderAsync);
75101
- const _sfc_main$1i = {};
76519
+ const _sfc_main$1h = {};
75102
76520
  const _hoisted_1$10 = {
75103
76521
  width: "24",
75104
76522
  height: "24",
@@ -75142,8 +76560,8 @@ function _sfc_render$H(_ctx, _cache) {
75142
76560
  }, null, -1)
75143
76561
  ])]);
75144
76562
  }
75145
- const Text = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$H]]);
75146
- const _sfc_main$1h = {};
76563
+ const Text = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$H]]);
76564
+ const _sfc_main$1g = {};
75147
76565
  const _hoisted_1$$ = {
75148
76566
  width: "24",
75149
76567
  height: "24",
@@ -75156,8 +76574,8 @@ function _sfc_render$G(_ctx, _cache) {
75156
76574
  createStaticVNode('<path d="M9.58303 27.1824C7.86719 28.3542 7.00928 30.2934 7.00928 33.0002C7.00928 37.0602 12.0001 44.0002 16.5006 44.0002C21.001 44.0002 23.6111 44.0002 28.016 44.0002C32.421 44.0002 35.0965 40.1495 35.0965 37.0602C35.0965 32.9069 35.0965 28.7536 35.0965 24.6002C35.0965 22.8072 33.6456 21.3522 31.8525 21.3472C30.0659 21.3422 28.6135 22.7865 28.6085 24.5731C28.6085 24.5761 28.6085 24.5791 28.6085 24.5821V24.6836" stroke="#333" stroke-width="4" stroke-linecap="round"></path><path d="M10.9814 29.4453V7.66246C10.9814 5.88568 12.4218 4.44531 14.1986 4.44531C15.9754 4.44531 17.4157 5.88568 17.4157 7.66246V23.6479" stroke="#333" stroke-width="4" stroke-linecap="round"></path><path d="M17.4155 24.0001V19.8076C17.4155 18.2589 18.671 17.0034 20.2197 17.0034C21.7684 17.0034 23.0239 18.2589 23.0239 19.8076V24.4272" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M23 24.6583V21.8076C23 20.2589 24.2555 19.0034 25.8042 19.0034C27.3529 19.0034 28.6084 20.2589 28.6084 21.8076V25.0034" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11 8H41" stroke="#333" stroke-width="4" stroke-linecap="round"></path><path d="M36 12.5L37.6667 11L41 8L37.6667 5L36 3.5" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 6)
75157
76575
  ])]);
75158
76576
  }
75159
- const HandDrag = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render$G]]);
75160
- const _sfc_main$1g = {};
76577
+ const HandDrag = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["render", _sfc_render$G]]);
76578
+ const _sfc_main$1f = {};
75161
76579
  const _hoisted_1$_ = {
75162
76580
  width: "24",
75163
76581
  height: "24",
@@ -75183,8 +76601,8 @@ function _sfc_render$F(_ctx, _cache) {
75183
76601
  }, null, -1)
75184
76602
  ])]);
75185
76603
  }
75186
- const ExpandTextInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["render", _sfc_render$F]]);
75187
- const _sfc_main$1f = {};
76604
+ const ExpandTextInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["render", _sfc_render$F]]);
76605
+ const _sfc_main$1e = {};
75188
76606
  const _hoisted_1$Z = {
75189
76607
  width: "24",
75190
76608
  height: "24",
@@ -75197,8 +76615,8 @@ function _sfc_render$E(_ctx, _cache) {
75197
76615
  createStaticVNode('<path d="M20 9H42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M20 19H42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M20 29H42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M20 39H42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6 29H12V32L6 38V39H12" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7 11L9 9V19M9 19H7M9 19H11" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 6)
75198
76616
  ])]);
75199
76617
  }
75200
- const ListNumbers = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["render", _sfc_render$E]]);
75201
- const _sfc_main$1e = {};
76618
+ const ListNumbers = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["render", _sfc_render$E]]);
76619
+ const _sfc_main$1d = {};
75202
76620
  const _hoisted_1$Y = {
75203
76621
  width: "24",
75204
76622
  height: "24",
@@ -75239,8 +76657,8 @@ function _sfc_render$D(_ctx, _cache) {
75239
76657
  }, null, -1)
75240
76658
  ])]);
75241
76659
  }
75242
- const SwitchOne = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["render", _sfc_render$D]]);
75243
- const _sfc_main$1d = {};
76660
+ const SwitchOne = /* @__PURE__ */ _export_sfc$1(_sfc_main$1d, [["render", _sfc_render$D]]);
76661
+ const _sfc_main$1c = {};
75244
76662
  const _hoisted_1$X = {
75245
76663
  width: "24",
75246
76664
  height: "24",
@@ -75253,8 +76671,8 @@ function _sfc_render$C(_ctx, _cache) {
75253
76671
  createStaticVNode('<path fill-rule="evenodd" clip-rule="evenodd" d="M20 24H44H20Z" fill="none"></path><path d="M20 24H44" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M20 38H44H20Z" fill="none"></path><path d="M20 38H44" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M20 10H44H20Z" fill="none"></path><path d="M20 10H44" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><rect x="4" y="34" width="8" height="8" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></rect><rect x="4" y="20" width="8" height="8" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></rect><rect x="4" y="6" width="8" height="8" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></rect>', 9)
75254
76672
  ])]);
75255
76673
  }
75256
- const ListCheckbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1d, [["render", _sfc_render$C]]);
75257
- const _sfc_main$1c = {};
76674
+ const ListCheckbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["render", _sfc_render$C]]);
76675
+ const _sfc_main$1b = {};
75258
76676
  const _hoisted_1$W = {
75259
76677
  width: "24",
75260
76678
  height: "24",
@@ -75294,8 +76712,8 @@ function _sfc_render$B(_ctx, _cache) {
75294
76712
  }, null, -1)
75295
76713
  ])]);
75296
76714
  }
75297
- const FullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["render", _sfc_render$B]]);
75298
- const _sfc_main$1b = {};
76715
+ const FullScreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["render", _sfc_render$B]]);
76716
+ const _sfc_main$1a = {};
75299
76717
  const _hoisted_1$V = {
75300
76718
  width: "24",
75301
76719
  height: "24",
@@ -75325,8 +76743,8 @@ function _sfc_render$A(_ctx, _cache) {
75325
76743
  }, null, -1)
75326
76744
  ])]);
75327
76745
  }
75328
- const RadioTwo = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["render", _sfc_render$A]]);
75329
- const _sfc_main$1a = {};
76746
+ const RadioTwo = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["render", _sfc_render$A]]);
76747
+ const _sfc_main$19 = {};
75330
76748
  const _hoisted_1$U = {
75331
76749
  width: "24",
75332
76750
  height: "24",
@@ -75339,8 +76757,8 @@ function _sfc_render$z(_ctx, _cache) {
75339
76757
  createStaticVNode('<path d="M44 24C44 22.8954 43.1046 22 42 22C40.8954 22 40 22.8954 40 24H44ZM24 8C25.1046 8 26 7.10457 26 6C26 4.89543 25.1046 4 24 4V8ZM39 40H9V44H39V40ZM8 39V9H4V39H8ZM40 24V39H44V24H40ZM9 8H24V4H9V8ZM9 40C8.44772 40 8 39.5523 8 39H4C4 41.7614 6.23857 44 9 44V40ZM39 44C41.7614 44 44 41.7614 44 39H40C40 39.5523 39.5523 40 39 40V44ZM8 9C8 8.44772 8.44771 8 9 8V4C6.23858 4 4 6.23857 4 9H8Z" fill="#333"></path><path d="M6 35L16.6931 25.198C17.4389 24.5143 18.5779 24.4953 19.3461 25.1538L32 36" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M28 31L32.7735 26.2265C33.4772 25.5228 34.5914 25.4436 35.3877 26.0408L42 31" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M30 12L42 12" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M36 6V18" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 5)
75340
76758
  ])]);
75341
76759
  }
75342
- const AddPicture = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["render", _sfc_render$z]]);
75343
- const _sfc_main$19 = {};
76760
+ const AddPicture = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["render", _sfc_render$z]]);
76761
+ const _sfc_main$18 = {};
75344
76762
  const _hoisted_1$T = {
75345
76763
  width: "24",
75346
76764
  height: "24",
@@ -75353,8 +76771,8 @@ function _sfc_render$y(_ctx, _cache) {
75353
76771
  createStaticVNode('<rect x="6" y="6" width="30" height="30" rx="2" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></rect><path d="M42 12V39C42 40.6569 40.6569 42 39 42H12" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6 25L13.6562 18.1944C14.4204 17.5152 15.5738 17.5216 16.3303 18.2094L26 27" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22 23L26.7849 19.0125C27.4971 18.4191 28.5237 18.3928 29.2653 18.949L36 24" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6 19L6 27" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M36 19V27" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 6)
75354
76772
  ])]);
75355
76773
  }
75356
- const PictureAlbum = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["render", _sfc_render$y]]);
75357
- const _sfc_main$18 = {};
76774
+ const PictureAlbum = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["render", _sfc_render$y]]);
76775
+ const _sfc_main$17 = {};
75358
76776
  const _hoisted_1$S = {
75359
76777
  width: "24",
75360
76778
  height: "24",
@@ -75367,8 +76785,8 @@ function _sfc_render$x(_ctx, _cache) {
75367
76785
  createStaticVNode('<mask id="icon-27acf327f10b972" maskUnits="userSpaceOnUse" x="0" y="0" width="48" height="48" style="mask-type:alpha;"><path d="M48 0H0V48H48V0Z" fill="#333"></path></mask><g mask="url(#icon-27acf327f10b972)"><path d="M6 24.0083V42H42V24" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M33 15L24 6L15 15" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M23.9917 32V6" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path></g>', 2)
75368
76786
  ])]);
75369
76787
  }
75370
- const Upload2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["render", _sfc_render$x]]);
75371
- const _sfc_main$17 = {};
76788
+ const Upload2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$17, [["render", _sfc_render$x]]);
76789
+ const _sfc_main$16 = {};
75372
76790
  const _hoisted_1$R = {
75373
76791
  width: "24",
75374
76792
  height: "24",
@@ -75401,8 +76819,8 @@ function _sfc_render$w(_ctx, _cache) {
75401
76819
  }, null, -1)
75402
76820
  ])]);
75403
76821
  }
75404
- const Share = /* @__PURE__ */ _export_sfc$1(_sfc_main$17, [["render", _sfc_render$w]]);
75405
- const _sfc_main$16 = {};
76822
+ const Share = /* @__PURE__ */ _export_sfc$1(_sfc_main$16, [["render", _sfc_render$w]]);
76823
+ const _sfc_main$15 = {};
75406
76824
  const _hoisted_1$Q = {
75407
76825
  width: "24",
75408
76826
  height: "24",
@@ -75415,8 +76833,8 @@ function _sfc_render$v(_ctx, _cache) {
75415
76833
  createStaticVNode('<rect x="4" y="4" width="40" height="40" rx="2" fill="none" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></rect><path d="M4 14H44" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><line x1="44" y1="11" x2="44" y2="23" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></line><path d="M12 22H16" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22 22H26" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M32 22H36" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 29H16" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22 29H26" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M32 29H36" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 36H16" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22 36H26" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M32 36H36" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><line x1="4" y1="11" x2="4" y2="23" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></line>', 13)
75416
76834
  ])]);
75417
76835
  }
75418
- const CalendarDot = /* @__PURE__ */ _export_sfc$1(_sfc_main$16, [["render", _sfc_render$v]]);
75419
- const _sfc_main$15 = {};
76836
+ const CalendarDot = /* @__PURE__ */ _export_sfc$1(_sfc_main$15, [["render", _sfc_render$v]]);
76837
+ const _sfc_main$14 = {};
75420
76838
  const _hoisted_1$P = {
75421
76839
  width: "24",
75422
76840
  height: "24",
@@ -75442,8 +76860,8 @@ function _sfc_render$u(_ctx, _cache) {
75442
76860
  }, null, -1)
75443
76861
  ])]);
75444
76862
  }
75445
- const Time = /* @__PURE__ */ _export_sfc$1(_sfc_main$15, [["render", _sfc_render$u]]);
75446
- const _sfc_main$14 = {};
76863
+ const Time = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["render", _sfc_render$u]]);
76864
+ const _sfc_main$13 = {};
75447
76865
  const _hoisted_1$O = {
75448
76866
  width: "24",
75449
76867
  height: "24",
@@ -75456,8 +76874,8 @@ function _sfc_render$t(_ctx, _cache) {
75456
76874
  createStaticVNode('<path d="M38 20H18V28H38V20Z" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></path><path d="M32 6H18V14H32V6Z" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></path><path d="M44 34H18V42H44V34Z" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></path><path d="M17 10H5" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 24H5" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 38H5" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 44V4" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 7)
75457
76875
  ])]);
75458
76876
  }
75459
- const TreeList = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["render", _sfc_render$t]]);
75460
- const _sfc_main$13 = {};
76877
+ const TreeList = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["render", _sfc_render$t]]);
76878
+ const _sfc_main$12 = {};
75461
76879
  const _hoisted_1$N = {
75462
76880
  width: "24",
75463
76881
  height: "24",
@@ -75483,8 +76901,8 @@ function _sfc_render$s(_ctx, _cache) {
75483
76901
  }, null, -1)
75484
76902
  ])]);
75485
76903
  }
75486
- const Planet = /* @__PURE__ */ _export_sfc$1(_sfc_main$13, [["render", _sfc_render$s]]);
75487
- const _sfc_main$12 = {};
76904
+ const Planet = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["render", _sfc_render$s]]);
76905
+ const _sfc_main$11 = {};
75488
76906
  const _hoisted_1$M = {
75489
76907
  width: "24",
75490
76908
  height: "24",
@@ -75513,8 +76931,8 @@ function _sfc_render$r(_ctx, _cache) {
75513
76931
  }, null, -1)
75514
76932
  ])]);
75515
76933
  }
75516
- const Word = /* @__PURE__ */ _export_sfc$1(_sfc_main$12, [["render", _sfc_render$r]]);
75517
- const _sfc_main$11 = {};
76934
+ const Word = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["render", _sfc_render$r]]);
76935
+ const _sfc_main$10 = {};
75518
76936
  const _hoisted_1$L = {
75519
76937
  width: "24",
75520
76938
  height: "24",
@@ -75527,8 +76945,8 @@ function _sfc_render$q(_ctx, _cache) {
75527
76945
  createStaticVNode('<path d="M32 6H42V16" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17 32L19.1875 27M31 32L28.8125 27M19.1875 27L24 16L28.8125 27M19.1875 27H28.8125" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 6H6V16" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M32 42H42V32" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 42H6V32" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 5)
75528
76946
  ])]);
75529
76947
  }
75530
- const TextStyle = /* @__PURE__ */ _export_sfc$1(_sfc_main$11, [["render", _sfc_render$q]]);
75531
- const _sfc_main$10 = {};
76948
+ const TextStyle = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$q]]);
76949
+ const _sfc_main$$ = {};
75532
76950
  const _hoisted_1$K = {
75533
76951
  width: "24",
75534
76952
  height: "24",
@@ -75572,8 +76990,8 @@ function _sfc_render$p(_ctx, _cache) {
75572
76990
  }, null, -1)
75573
76991
  ])]);
75574
76992
  }
75575
- const LayoutTwo = /* @__PURE__ */ _export_sfc$1(_sfc_main$10, [["render", _sfc_render$p]]);
75576
- const _sfc_main$$ = {};
76993
+ const LayoutTwo = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["render", _sfc_render$p]]);
76994
+ const _sfc_main$_ = {};
75577
76995
  const _hoisted_1$J = {
75578
76996
  width: "24",
75579
76997
  height: "24",
@@ -75586,8 +77004,8 @@ function _sfc_render$o(_ctx, _cache) {
75586
77004
  createStaticVNode('<rect x="6" y="6" width="36" height="36" rx="3" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></rect><path d="M34 6V42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 6V42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M31 42H37" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11 42H17" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11 6H17" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M30 6H36" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 7)
75587
77005
  ])]);
75588
77006
  }
75589
- const Margin = /* @__PURE__ */ _export_sfc$1(_sfc_main$$, [["render", _sfc_render$o]]);
75590
- const _sfc_main$_ = {};
77007
+ const Margin = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$o]]);
77008
+ const _sfc_main$Z = {};
75591
77009
  const _hoisted_1$I = {
75592
77010
  width: "24",
75593
77011
  height: "24",
@@ -75617,8 +77035,8 @@ function _sfc_render$n(_ctx, _cache) {
75617
77035
  }, null, -1)
75618
77036
  ])]);
75619
77037
  }
75620
- const Label = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$n]]);
75621
- const _sfc_main$Z = {};
77038
+ const Label = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$n]]);
77039
+ const _sfc_main$Y = {};
75622
77040
  const _hoisted_1$H = {
75623
77041
  width: "24",
75624
77042
  height: "24",
@@ -75654,8 +77072,8 @@ function _sfc_render$m(_ctx, _cache) {
75654
77072
  }, null, -1)
75655
77073
  ])]);
75656
77074
  }
75657
- const Bookmark = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$m]]);
75658
- const _sfc_main$Y = {};
77075
+ const Bookmark = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["render", _sfc_render$m]]);
77076
+ const _sfc_main$X = {};
75659
77077
  const _hoisted_1$G = {
75660
77078
  width: "24",
75661
77079
  height: "24",
@@ -75668,8 +77086,8 @@ function _sfc_render$l(_ctx, _cache) {
75668
77086
  createStaticVNode('<rect x="6" y="6" width="36" height="36" rx="3" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></rect><path d="M6 14H40" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M30 22H42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M30 30H42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M23 22H24" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M23 30H24" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 6L14 42" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 7)
75669
77087
  ])]);
75670
77088
  }
75671
- const FormOne = /* @__PURE__ */ _export_sfc$1(_sfc_main$Y, [["render", _sfc_render$l]]);
75672
- const _sfc_main$X = {};
77089
+ const FormOne = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$l]]);
77090
+ const _sfc_main$W = {};
75673
77091
  const _hoisted_1$F = {
75674
77092
  width: "24",
75675
77093
  height: "24",
@@ -75709,8 +77127,8 @@ function _sfc_render$k(_ctx, _cache) {
75709
77127
  }, null, -1)
75710
77128
  ])]);
75711
77129
  }
75712
- const MenuUnfold = /* @__PURE__ */ _export_sfc$1(_sfc_main$X, [["render", _sfc_render$k]]);
75713
- const _sfc_main$W = {};
77130
+ const MenuUnfold = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$k]]);
77131
+ const _sfc_main$V = {};
75714
77132
  const _hoisted_1$E = {
75715
77133
  width: "24",
75716
77134
  height: "24",
@@ -75743,8 +77161,8 @@ function _sfc_render$j(_ctx, _cache) {
75743
77161
  }, null, -1)
75744
77162
  ])]);
75745
77163
  }
75746
- const HamburgerButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["render", _sfc_render$j]]);
75747
- const _sfc_main$V = {};
77164
+ const HamburgerButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$j]]);
77165
+ const _sfc_main$U = {};
75748
77166
  const _hoisted_1$D = {
75749
77167
  width: "24",
75750
77168
  height: "24",
@@ -75757,8 +77175,8 @@ function _sfc_render$i(_ctx, _cache) {
75757
77175
  createStaticVNode('<path d="M4 10C4 8.89543 4.89543 8 6 8H42C43.1046 8 44 8.89543 44 10V38C44 39.1046 43.1046 40 42 40H6C4.89543 40 4 39.1046 4 38V10Z" fill="none" stroke="#333" stroke-width="4" stroke-linejoin="round"></path><path d="M4 16H44" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M27 32H36" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M44 10V26" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M4 10V26" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 5)
75758
77176
  ])]);
75759
77177
  }
75760
- const BankCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["render", _sfc_render$i]]);
75761
- const _sfc_main$U = {};
77178
+ const BankCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$i]]);
77179
+ const _sfc_main$T = {};
75762
77180
  const _hoisted_1$C = {
75763
77181
  width: "24",
75764
77182
  height: "24",
@@ -75790,8 +77208,8 @@ function _sfc_render$h(_ctx, _cache) {
75790
77208
  }, null, -1)
75791
77209
  ])]);
75792
77210
  }
75793
- const Code = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["render", _sfc_render$h]]);
75794
- const _sfc_main$T = {};
77211
+ const Code = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$h]]);
77212
+ const _sfc_main$S = {};
75795
77213
  const _hoisted_1$B = {
75796
77214
  width: "24",
75797
77215
  height: "24",
@@ -75804,8 +77222,8 @@ function _sfc_render$g(_ctx, _cache) {
75804
77222
  createStaticVNode('<path d="M5 24H43" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21 38H27" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M37 38H43" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21 10H27" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 38H11" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 10H11" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M37 10H43" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>', 7)
75805
77223
  ])]);
75806
77224
  }
75807
- const DividingLine = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["render", _sfc_render$g]]);
75808
- const _sfc_main$S = {};
77225
+ const DividingLine = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$g]]);
77226
+ const _sfc_main$R = {};
75809
77227
  const _hoisted_1$A = {
75810
77228
  width: "24",
75811
77229
  height: "24",
@@ -75839,8 +77257,8 @@ function _sfc_render$f(_ctx, _cache) {
75839
77257
  }, null, -1)
75840
77258
  ])]);
75841
77259
  }
75842
- const Tips = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _sfc_render$f]]);
75843
- const _sfc_main$R = {};
77260
+ const Tips = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$f]]);
77261
+ const _sfc_main$Q = {};
75844
77262
  const _hoisted_1$z = {
75845
77263
  width: "24",
75846
77264
  height: "24",
@@ -75853,8 +77271,8 @@ function _sfc_render$e(_ctx, _cache) {
75853
77271
  createStaticVNode('<path d="M44 8H4V38H19L24 43L29 38H44V8Z" fill="none" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21 15L20 32" stroke="#333" stroke-width="4" stroke-linecap="round"></path><path d="M28 15L27 32" stroke="#333" stroke-width="4" stroke-linecap="round"></path><path d="M33 20L16 20" stroke="#333" stroke-width="4" stroke-linecap="round"></path><path d="M32 27L15 27" stroke="#333" stroke-width="4" stroke-linecap="round"></path>', 5)
75854
77272
  ])]);
75855
77273
  }
75856
- const TopicDiscussion = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$e]]);
75857
- const _sfc_main$Q = {};
77274
+ const TopicDiscussion = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$e]]);
77275
+ const _sfc_main$P = {};
75858
77276
  const _hoisted_1$y = {
75859
77277
  width: "25",
75860
77278
  height: "25",
@@ -75875,8 +77293,8 @@ function _sfc_render$d(_ctx, _cache) {
75875
77293
  }, null, -1)
75876
77294
  ])]);
75877
77295
  }
75878
- const Back = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["render", _sfc_render$d]]);
75879
- const _sfc_main$P = {};
77296
+ const Back = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$d]]);
77297
+ const _sfc_main$O = {};
75880
77298
  const _hoisted_1$x = {
75881
77299
  width: "25",
75882
77300
  height: "25",
@@ -75897,8 +77315,8 @@ function _sfc_render$c(_ctx, _cache) {
75897
77315
  }, null, -1)
75898
77316
  ])]);
75899
77317
  }
75900
- const Next = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$c]]);
75901
- const _sfc_main$O = {};
77318
+ const Next = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$c]]);
77319
+ const _sfc_main$N = {};
75902
77320
  const _hoisted_1$w = {
75903
77321
  t: "1722952350799",
75904
77322
  class: "icon",
@@ -75918,8 +77336,8 @@ function _sfc_render$b(_ctx, _cache) {
75918
77336
  }, null, -1)
75919
77337
  ])]);
75920
77338
  }
75921
- const Json = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$b]]);
75922
- const _sfc_main$N = {};
77339
+ const Json = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$b]]);
77340
+ const _sfc_main$M = {};
75923
77341
  const _hoisted_1$v = {
75924
77342
  width: "25",
75925
77343
  height: "25",
@@ -75959,8 +77377,8 @@ function _sfc_render$a(_ctx, _cache) {
75959
77377
  }, null, -1)
75960
77378
  ])]);
75961
77379
  }
75962
- const Platte = /* @__PURE__ */ _export_sfc$1(_sfc_main$N, [["render", _sfc_render$a]]);
75963
- const _sfc_main$M = {};
77380
+ const Platte = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$a]]);
77381
+ const _sfc_main$L = {};
75964
77382
  const _hoisted_1$u = {
75965
77383
  t: "1722952854816",
75966
77384
  class: "icon",
@@ -75983,8 +77401,8 @@ function _sfc_render$9(_ctx, _cache) {
75983
77401
  }, null, -1)
75984
77402
  ])]);
75985
77403
  }
75986
- const QueryForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$9]]);
75987
- const _sfc_main$L = {};
77404
+ const QueryForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$9]]);
77405
+ const _sfc_main$K = {};
75988
77406
  const _hoisted_1$t = {
75989
77407
  t: "1722953108155",
75990
77408
  class: "icon",
@@ -76015,8 +77433,8 @@ function _sfc_render$8(_ctx, _cache) {
76015
77433
  }, null, -1)
76016
77434
  ])]);
76017
77435
  }
76018
- const ExportButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$L, [["render", _sfc_render$8]]);
76019
- const _sfc_main$K = {};
77436
+ const ExportButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$8]]);
77437
+ const _sfc_main$J = {};
76020
77438
  const _hoisted_1$s = {
76021
77439
  t: "1722953211989",
76022
77440
  class: "icon",
@@ -76035,8 +77453,8 @@ function _sfc_render$7(_ctx, _cache) {
76035
77453
  }, null, -1)
76036
77454
  ])]);
76037
77455
  }
76038
- const Table = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$7]]);
76039
- const _sfc_main$J = {};
77456
+ const Table = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$7]]);
77457
+ const _sfc_main$I = {};
76040
77458
  const _hoisted_1$r = {
76041
77459
  t: "1722953305278",
76042
77460
  class: "icon",
@@ -76059,8 +77477,8 @@ function _sfc_render$6(_ctx, _cache) {
76059
77477
  }, null, -1)
76060
77478
  ])]);
76061
77479
  }
76062
- const SearchButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["render", _sfc_render$6]]);
76063
- const _sfc_main$I = {};
77480
+ const SearchButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$6]]);
77481
+ const _sfc_main$H = {};
76064
77482
  const _hoisted_1$q = {
76065
77483
  t: "1722953426019",
76066
77484
  class: "icon",
@@ -76083,8 +77501,8 @@ function _sfc_render$5(_ctx, _cache) {
76083
77501
  }, null, -1)
76084
77502
  ])]);
76085
77503
  }
76086
- const Tag = /* @__PURE__ */ _export_sfc$1(_sfc_main$I, [["render", _sfc_render$5]]);
76087
- const _sfc_main$H = {};
77504
+ const Tag = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$5]]);
77505
+ const _sfc_main$G = {};
76088
77506
  const _hoisted_1$p = {
76089
77507
  t: "1722953581253",
76090
77508
  class: "icon",
@@ -76107,8 +77525,8 @@ function _sfc_render$4(_ctx, _cache) {
76107
77525
  }, null, -1)
76108
77526
  ])]);
76109
77527
  }
76110
- const DataType = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$4]]);
76111
- const _sfc_main$G = {};
77528
+ const DataType = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$4]]);
77529
+ const _sfc_main$F = {};
76112
77530
  const _hoisted_1$o = {
76113
77531
  t: "1722953747058",
76114
77532
  class: "icon",
@@ -76153,8 +77571,8 @@ function _sfc_render$3(_ctx, _cache) {
76153
77571
  }, null, -1)
76154
77572
  ])]);
76155
77573
  }
76156
- const Button = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$3]]);
76157
- const _sfc_main$F = {};
77574
+ const Button = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$3]]);
77575
+ const _sfc_main$E = {};
76158
77576
  const _hoisted_1$n = {
76159
77577
  t: "1722953911617",
76160
77578
  class: "icon",
@@ -76179,8 +77597,8 @@ function _sfc_render$2(_ctx, _cache) {
76179
77597
  }, null, -1)
76180
77598
  ])]);
76181
77599
  }
76182
- const Select2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["render", _sfc_render$2]]);
76183
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
77600
+ const Select2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["render", _sfc_render$2]]);
77601
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
76184
77602
  __name: "index",
76185
77603
  props: {
76186
77604
  name: {}
@@ -76245,7 +77663,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
76245
77663
  };
76246
77664
  }
76247
77665
  });
76248
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
77666
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
76249
77667
  __name: "baseSetting",
76250
77668
  props: {
76251
77669
  "nodeItem": { default: () => {
@@ -76328,7 +77746,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
76328
77746
  ]),
76329
77747
  _: 1
76330
77748
  }),
76331
- currSelectItem.value.formItem ? (openBlock(), createBlock(_component_els_input, {
77749
+ currSelectItem.value.formItem && !currSelectItem.value.excludeFromResult ? (openBlock(), createBlock(_component_els_input, {
76332
77750
  key: 0,
76333
77751
  label: "字段名",
76334
77752
  prop: "keyCode",
@@ -76433,13 +77851,13 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
76433
77851
  };
76434
77852
  }
76435
77853
  });
76436
- const DynamicDesignerViewBaseSetting = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["__scopeId", "data-v-1e06d172"]]);
77854
+ const DynamicDesignerViewBaseSetting = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["__scopeId", "data-v-106df2fe"]]);
76437
77855
  const _hoisted_1$m = { class: "se-root" };
76438
77856
  const _hoisted_2$f = { class: "se-margin-zone" };
76439
77857
  const _hoisted_3$e = { class: "se-row" };
76440
77858
  const _hoisted_4$9 = { class: "se-padding-zone" };
76441
77859
  const _hoisted_5$9 = { class: "se-row" };
76442
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
77860
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
76443
77861
  __name: "spacingEditor",
76444
77862
  props: {
76445
77863
  "modelValue": { default: () => ({}) },
@@ -76854,7 +78272,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
76854
78272
  };
76855
78273
  }
76856
78274
  });
76857
- const SpacingEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["__scopeId", "data-v-f8633774"]]);
78275
+ const SpacingEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["__scopeId", "data-v-f8633774"]]);
76858
78276
  function buildSpacingCss(advancedConfig) {
76859
78277
  if (!advancedConfig) return "";
76860
78278
  const parts = [];
@@ -77068,7 +78486,7 @@ function useRender(props2, nodeItem, modelValue = void 0, slotValue = void 0, is
77068
78486
  }
77069
78487
  try {
77070
78488
  let currEvent = new Function("refs,globalData,rootNode,parentNode,currNode,currValue,dataType,slotRootHasDefault,slotValue,utils,$event", eventExpress);
77071
- return currEvent(refsData.value, getGlobalData(), getRootNode(), getParentNode2(), handleGetCurrNode(), modelValue, (_a = nodeItem.value) == null ? void 0 : _a.dataType, slotRootHasDefault, slotValue.value, utils, $event);
78489
+ return currEvent(refsData.value, getGlobalData(), getRootNode(), getParentNode2(), handleGetCurrNode(), modelValue, (_a = nodeItem.value) == null ? void 0 : _a.dataType, slotRootHasDefault, slotValue == null ? void 0 : slotValue.value, utils, $event);
77072
78490
  } catch (err) {
77073
78491
  console.log("RenderEvent异常");
77074
78492
  console.log(eventExpress);
@@ -77177,7 +78595,7 @@ function useComponentRef(nodeItem, dyComponent) {
77177
78595
  }
77178
78596
  });
77179
78597
  }
77180
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
78598
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
77181
78599
  ...{
77182
78600
  inheritAttrs: false
77183
78601
  },
@@ -77229,7 +78647,7 @@ const _hoisted_1$l = {
77229
78647
  };
77230
78648
  const _hoisted_2$e = { class: "els-dynamic-d-v-item-move" };
77231
78649
  const _hoisted_3$d = { key: 0 };
77232
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
78650
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
77233
78651
  __name: "operate",
77234
78652
  props: {
77235
78653
  nodeItem: {},
@@ -77261,7 +78679,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
77261
78679
  const _component_Delete = resolveComponent("Delete");
77262
78680
  const _component_Rank = resolveComponent("Rank");
77263
78681
  return openBlock(), createElementBlock(Fragment$1, null, [
77264
- __props.nodeItem.componentGroup == "Form" || __props.nodeItem.formItem && __props.nodeItem.keyCode ? (openBlock(), createElementBlock("span", _hoisted_1$l, [
78682
+ !__props.nodeItem.excludeFromResult && (__props.nodeItem.componentGroup == "Form" || __props.nodeItem.formItem && __props.nodeItem.keyCode) ? (openBlock(), createElementBlock("span", _hoisted_1$l, [
77265
78683
  createElementVNode("span", null, toDisplayString(__props.nodeItem.keyCode), 1),
77266
78684
  createElementVNode("span", null, toDisplayString(__props.nodeItem.dataTypeName === "Array" && !__props.nodeItem.componentType || __props.nodeItem.arrayDataTypeName ? `Array
77267
78685
  <${__props.nodeItem.arrayDataTypeName ? __props.nodeItem.arrayDataTypeName : "T"}>` : __props.nodeItem.dataTypeName), 1)
@@ -77314,9 +78732,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
77314
78732
  };
77315
78733
  }
77316
78734
  });
77317
- const DynamicDesignerViewOperate = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-a332f767"]]);
78735
+ const DynamicDesignerViewOperate = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-7cc3e387"]]);
77318
78736
  const _hoisted_1$k = { key: 1 };
77319
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
78737
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
77320
78738
  __name: "wrap",
77321
78739
  props: /* @__PURE__ */ mergeModels({
77322
78740
  parentNode: {},
@@ -77345,7 +78763,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
77345
78763
  });
77346
78764
  const wrapStyle = computed(() => {
77347
78765
  var _a;
77348
- return "min-height:30px;width:100%;padding:10px 0px;" + ((_a = componentProps.value) == null ? void 0 : _a.style);
78766
+ const minHeight = nodeItem.value.componentName === "ElsRequestForm" ? 100 : 30;
78767
+ return `min-height:${minHeight}px;width:100%;padding:10px 0px;` + ((_a = componentProps.value) == null ? void 0 : _a.style);
77349
78768
  });
77350
78769
  function handleAddComponent(e) {
77351
78770
  recordComponent();
@@ -77484,9 +78903,9 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
77484
78903
  };
77485
78904
  }
77486
78905
  });
77487
- const DynamicDesignerViewWrap = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-9bd8282e"]]);
78906
+ const DynamicDesignerViewWrap = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["__scopeId", "data-v-534deb2f"]]);
77488
78907
  const _hoisted_1$j = ["innerHTML"];
77489
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
78908
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
77490
78909
  ...{
77491
78910
  inheritAttrs: false
77492
78911
  },
@@ -77557,7 +78976,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
77557
78976
  const _hoisted_1$i = ["data-restrict-child", "data-restrict-parent", "data-type"];
77558
78977
  const _hoisted_2$d = { class: "component-inner" };
77559
78978
  const _hoisted_3$c = { class: "component-inner-wrap" };
77560
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
78979
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
77561
78980
  __name: "inner",
77562
78981
  props: {
77563
78982
  "nodeItem": { default: () => {
@@ -77618,19 +79037,19 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
77618
79037
  key: 0,
77619
79038
  parentNode: nodeItem.value,
77620
79039
  nodeItem: nodeItem.value
77621
- }, null, 8, ["parentNode", "nodeItem"])) : nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Show" && nodeItem.value.keyCode ? (openBlock(), createBlock(_sfc_main$y, {
79040
+ }, null, 8, ["parentNode", "nodeItem"])) : nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Show" && nodeItem.value.keyCode ? (openBlock(), createBlock(_sfc_main$x, {
77622
79041
  key: 1,
77623
79042
  nodeItem: nodeItem.value,
77624
79043
  style: normalizeStyle(nodeItem.value.config.advancedConfig.style),
77625
79044
  title: nodeItem.value.keyName,
77626
79045
  modelValue: nodeItem.value.value,
77627
79046
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => nodeItem.value.value = $event)
77628
- }, null, 8, ["nodeItem", "style", "title", "modelValue"])) : nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Show" ? (openBlock(), createBlock(_sfc_main$y, {
79047
+ }, null, 8, ["nodeItem", "style", "title", "modelValue"])) : nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Show" ? (openBlock(), createBlock(_sfc_main$x, {
77629
79048
  key: 2,
77630
79049
  nodeItem: nodeItem.value,
77631
79050
  style: normalizeStyle(nodeItem.value.config.advancedConfig.style),
77632
79051
  title: nodeItem.value.keyName
77633
- }, null, 8, ["nodeItem", "style", "title"])) : unref(isMobile) && (nodeItem.value.componentTypeName === "Input" || nodeItem.value.componentTypeName === "Textarea") ? (openBlock(), createBlock(_sfc_main$B, mergeProps({
79052
+ }, null, 8, ["nodeItem", "style", "title"])) : unref(isMobile) && (nodeItem.value.componentTypeName === "Input" || nodeItem.value.componentTypeName === "Textarea") ? (openBlock(), createBlock(_sfc_main$A, mergeProps({
77634
79053
  key: 3,
77635
79054
  disabled: unref(renderDisabled)()
77636
79055
  }, unref(formProps2), {
@@ -77647,10 +79066,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
77647
79066
  title: nodeItem.value.keyName
77648
79067
  }, {
77649
79068
  default: withCtx(() => [
77650
- createVNode(_sfc_main$B, { nodeItem: nodeItem.value }, null, 8, ["nodeItem"])
79069
+ createVNode(_sfc_main$A, { nodeItem: nodeItem.value }, null, 8, ["nodeItem"])
77651
79070
  ]),
77652
79071
  _: 1
77653
- }, 8, ["title"])) : (openBlock(), createBlock(_sfc_main$B, {
79072
+ }, 8, ["title"])) : (openBlock(), createBlock(_sfc_main$A, {
77654
79073
  key: 1,
77655
79074
  disabled: unref(renderDisabled)(),
77656
79075
  nodeItem: nodeItem.value
@@ -77687,7 +79106,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
77687
79106
  default: withCtx(() => [
77688
79107
  createElementVNode("div", _hoisted_2$d, [
77689
79108
  createElementVNode("div", _hoisted_3$c, [
77690
- createVNode(_sfc_main$v, {
79109
+ createVNode(_sfc_main$u, {
77691
79110
  renderData: slot.children,
77692
79111
  minHeight: "100",
77693
79112
  isMobile: unref(isMobile)
@@ -77708,8 +79127,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
77708
79127
  };
77709
79128
  }
77710
79129
  });
77711
- const DynamicDesignerViewInner = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["__scopeId", "data-v-39ddb864"]]);
77712
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
79130
+ const DynamicDesignerViewInner = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__scopeId", "data-v-39ddb864"]]);
79131
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
77713
79132
  __name: "form",
77714
79133
  props: /* @__PURE__ */ mergeModels({
77715
79134
  isRoot: { type: Boolean }
@@ -77849,8 +79268,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
77849
79268
  };
77850
79269
  }
77851
79270
  });
77852
- const DynamicDesignerViewForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__scopeId", "data-v-06406908"]]);
77853
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
79271
+ const DynamicDesignerViewForm = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-06406908"]]);
79272
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
77854
79273
  __name: "body",
77855
79274
  props: /* @__PURE__ */ mergeModels({
77856
79275
  isMobile: { type: Boolean },
@@ -78184,7 +79603,7 @@ const _hoisted_29 = { class: "pc-content" };
78184
79603
  const _hoisted_30 = { class: "form-canvas" };
78185
79604
  const _hoisted_31 = { class: "view-data" };
78186
79605
  const _hoisted_32 = { class: "json-card" };
78187
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
79606
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
78188
79607
  ...{
78189
79608
  name: "ElsDynamicDesignerView",
78190
79609
  inheritAttrs: false
@@ -78259,6 +79678,26 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
78259
79678
  dataTypes: ["String"],
78260
79679
  isShow: false
78261
79680
  }];
79681
+ const schemaFieldEditorTypes = [{
79682
+ componentName: "ElsSchemaFieldEditor",
79683
+ label: "字段结构编辑器",
79684
+ value: "SchemaFieldEditor",
79685
+ type: "SchemaFieldEditor",
79686
+ group: "Form",
79687
+ formItem: true,
79688
+ dataTypes: ["String"],
79689
+ isShow: false
79690
+ }];
79691
+ const responseMappingEditorTypes = [{
79692
+ componentName: "ElsResponseMappingEditor",
79693
+ label: "字段映射编辑器",
79694
+ value: "ResponseMappingEditor",
79695
+ type: "ResponseMappingEditor",
79696
+ group: "Form",
79697
+ formItem: true,
79698
+ dataTypes: ["String"],
79699
+ isShow: false
79700
+ }];
78262
79701
  const currComponentTypes = ref([]);
78263
79702
  if (componentData) {
78264
79703
  currComponentTypes.value = componentData;
@@ -78280,7 +79719,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
78280
79719
  });
78281
79720
  }
78282
79721
  }
78283
- currComponentTypes.value.push(...conditionBuilderTypes, ...expressionInputTypes);
79722
+ currComponentTypes.value.push(...conditionBuilderTypes, ...expressionInputTypes, ...schemaFieldEditorTypes, ...responseMappingEditorTypes);
78284
79723
  const objectData = ref([
78285
79724
  {
78286
79725
  keyID: "id_" + utils.randomNumber().toString(),
@@ -78377,6 +79816,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
78377
79816
  icon: ele.icon,
78378
79817
  operateType: ele.operateType,
78379
79818
  inline: ele.inline,
79819
+ excludeFromResult: ele.excludeFromResult,
78380
79820
  slots,
78381
79821
  config: {
78382
79822
  formConfig: {},
@@ -78632,13 +80072,18 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
78632
80072
  );
78633
80073
  const allFormFields = computed(() => {
78634
80074
  const result = [];
78635
- function collect(items, containerPath = [], containerKeyNames = []) {
78636
- var _a2, _b2, _c, _d;
80075
+ let selectedRfScope = null;
80076
+ function collect(items, containerPath = [], containerKeyNames = [], rfScope = null) {
80077
+ var _a2, _b2, _c, _d, _e;
78637
80078
  if (!items) return;
78638
80079
  for (const item of items) {
80080
+ const ownRfScope = item.componentName === "ElsRequestForm" ? item.keyID : rfScope;
80081
+ if (item.keyID === ((_a2 = currSelectItem.value) == null ? void 0 : _a2.keyID)) {
80082
+ selectedRfScope = ownRfScope;
80083
+ }
78639
80084
  const isObjContainer = item.dataType === "Object" && item.keyCode && !item.componentTypeName;
78640
80085
  const isArrayContainer = item.dataType === "Array" && item.keyCode;
78641
- if (item.formItem && item.keyCode && item.componentGroup === "Form" && item.dataType !== "Object" && item.keyCode !== ((_a2 = currSelectItem.value) == null ? void 0 : _a2.keyCode)) {
80086
+ if (item.formItem && item.keyCode && item.componentGroup === "Form" && item.dataType !== "Object" && item.keyCode !== ((_b2 = currSelectItem.value) == null ? void 0 : _b2.keyCode)) {
78642
80087
  const typeName = item.componentTypeName || item.componentType || "";
78643
80088
  result.push({
78644
80089
  keyCode: item.keyCode,
@@ -78647,21 +80092,56 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
78647
80092
  containerPath,
78648
80093
  containerKeyNames,
78649
80094
  componentType: typeName,
78650
- componentOptions: SELECT_TYPES_FIELD.includes(typeName) ? ((_c = (_b2 = item.config) == null ? void 0 : _b2.baseConfig) == null ? void 0 : _c.data) || null : null,
78651
- multiple: isMultiSelectField(item, typeName)
80095
+ componentOptions: SELECT_TYPES_FIELD.includes(typeName) ? ((_d = (_c = item.config) == null ? void 0 : _c.baseConfig) == null ? void 0 : _d.data) || null : null,
80096
+ multiple: isMultiSelectField(item, typeName),
80097
+ rfScope: ownRfScope
78652
80098
  });
78653
80099
  }
78654
80100
  if (!isArrayContainer) {
78655
80101
  const newPath = isObjContainer ? [...containerPath, item.keyCode] : containerPath;
78656
80102
  const newNames = isObjContainer ? [...containerKeyNames, item.keyName || item.keyCode] : containerKeyNames;
78657
- collect(item.children, newPath, newNames);
78658
- (_d = item.slots) == null ? void 0 : _d.forEach((s) => collect(s.children, newPath, newNames));
80103
+ collect(item.children, newPath, newNames, ownRfScope);
80104
+ (_e = item.slots) == null ? void 0 : _e.forEach((s) => collect(s.children, newPath, newNames, ownRfScope));
78659
80105
  }
78660
80106
  }
78661
80107
  }
78662
80108
  collect(renderData.value);
78663
80109
  const seen = /* @__PURE__ */ new Set();
78664
- return result.filter((f) => !seen.has(f.keyCode) && !!seen.add(f.keyCode));
80110
+ return result.filter((f) => f.rfScope === null || f.rfScope === selectedRfScope).filter((f) => !seen.has(f.keyCode) && !!seen.add(f.keyCode));
80111
+ });
80112
+ const requestFormGlobalDataSchema = computed(() => {
80113
+ const schema2 = {};
80114
+ function collect(items) {
80115
+ var _a2, _b2, _c;
80116
+ if (!items) return;
80117
+ for (const item of items) {
80118
+ if (item.componentName === "ElsRequestForm") {
80119
+ const raw = (_b2 = (_a2 = item.config) == null ? void 0 : _a2.baseConfig) == null ? void 0 : _b2.returnSchema;
80120
+ if (raw) {
80121
+ try {
80122
+ const parsed = JSON.parse(raw);
80123
+ if (parsed && typeof parsed === "object") {
80124
+ if (item.keyCode) {
80125
+ schema2[item.keyCode] = parsed;
80126
+ } else {
80127
+ Object.assign(schema2, parsed);
80128
+ }
80129
+ }
80130
+ } catch (e) {
80131
+ }
80132
+ }
80133
+ }
80134
+ collect(item.children);
80135
+ (_c = item.slots) == null ? void 0 : _c.forEach((s) => collect(s.children));
80136
+ }
80137
+ }
80138
+ collect(renderData.value);
80139
+ return schema2;
80140
+ });
80141
+ const mergedGlobalDataTemplate = computed(() => {
80142
+ const requestFormSchema = requestFormGlobalDataSchema.value;
80143
+ if (!Object.keys(requestFormSchema).length) return props2.globalData || null;
80144
+ return lodash.merge({}, props2.globalData || {}, requestFormSchema);
78665
80145
  });
78666
80146
  function findItemContext(targetKeyID) {
78667
80147
  function traverse(items) {
@@ -78894,8 +80374,11 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
78894
80374
  },
78895
80375
  recordComponent,
78896
80376
  getAllFormFields: () => allFormFields.value,
78897
- getGlobalDataKeys: () => props2.globalData ? getGlobalDataFieldKeys(props2.globalData) : props2.globalDataFields || [],
78898
- getGlobalDataTemplate: () => props2.globalData || null,
80377
+ getGlobalDataKeys: () => {
80378
+ const merged = mergedGlobalDataTemplate.value;
80379
+ return merged ? getGlobalDataFieldKeys(merged) : props2.globalDataFields || [];
80380
+ },
80381
+ getGlobalDataTemplate: () => mergedGlobalDataTemplate.value,
78899
80382
  getSiblingFields: () => {
78900
80383
  if (!currSelectItem.value) return allFormFields.value;
78901
80384
  const ctx = findItemContext(currSelectItem.value.keyID);
@@ -79004,7 +80487,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
79004
80487
  key: index,
79005
80488
  "data-restrict-parent": element.restrictParent
79006
80489
  }, [
79007
- element.icon && !element.icon.startsWith("http") ? (openBlock(), createBlock(_sfc_main$E, {
80490
+ element.icon && !element.icon.startsWith("http") ? (openBlock(), createBlock(_sfc_main$D, {
79008
80491
  key: 0,
79009
80492
  name: element.icon
79010
80493
  }, null, 8, ["name"])) : element.icon ? (openBlock(), createElementBlock("img", {
@@ -79046,7 +80529,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
79046
80529
  "data-restrict-parent": element.restrictParent,
79047
80530
  key: index
79048
80531
  }, [
79049
- element.icon ? (openBlock(), createBlock(_sfc_main$E, {
80532
+ element.icon ? (openBlock(), createBlock(_sfc_main$D, {
79050
80533
  key: 0,
79051
80534
  name: element.icon
79052
80535
  }, null, 8, ["name"])) : createCommentVNode("", true),
@@ -79101,7 +80584,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
79101
80584
  "data-type": "Col",
79102
80585
  key: index
79103
80586
  }, [
79104
- element.icon ? (openBlock(), createBlock(_sfc_main$E, {
80587
+ element.icon ? (openBlock(), createBlock(_sfc_main$D, {
79105
80588
  key: 0,
79106
80589
  name: element.icon
79107
80590
  }, null, 8, ["name"])) : createCommentVNode("", true),
@@ -79134,7 +80617,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
79134
80617
  "data-type": element.dataTypeName,
79135
80618
  key: index
79136
80619
  }, [
79137
- createVNode(_sfc_main$E, {
80620
+ createVNode(_sfc_main$D, {
79138
80621
  name: element.icon
79139
80622
  }, null, 8, ["name"]),
79140
80623
  createTextVNode(" " + toDisplayString(element.componentTypeLabel), 1)
@@ -79215,7 +80698,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
79215
80698
  "data-restrict-parent": element.restrictParent,
79216
80699
  key: index
79217
80700
  }, [
79218
- createVNode(_sfc_main$E, {
80701
+ createVNode(_sfc_main$D, {
79219
80702
  name: element.icon
79220
80703
  }, null, 8, ["name"]),
79221
80704
  createTextVNode(" " + toDisplayString(element.componentTypeLabel), 1)
@@ -79246,7 +80729,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
79246
80729
  class: "container-widget-item",
79247
80730
  key: index
79248
80731
  }, [
79249
- createVNode(_sfc_main$E, {
80732
+ createVNode(_sfc_main$D, {
79250
80733
  name: element.icon
79251
80734
  }, null, 8, ["name"]),
79252
80735
  createTextVNode(" " + toDisplayString(element.componentTypeLabel), 1)
@@ -79285,7 +80768,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
79285
80768
  disabled: isDisabledUndo.value
79286
80769
  }, {
79287
80770
  default: withCtx(() => [
79288
- createVNode(_sfc_main$E, { name: "back" })
80771
+ createVNode(_sfc_main$D, { name: "back" })
79289
80772
  ]),
79290
80773
  _: 1
79291
80774
  }, 8, ["disabled"])) : createCommentVNode("", true),
@@ -79296,7 +80779,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
79296
80779
  disabled: isDisabledReDo.value
79297
80780
  }, {
79298
80781
  default: withCtx(() => [
79299
- createVNode(_sfc_main$E, { name: "next" })
80782
+ createVNode(_sfc_main$D, { name: "next" })
79300
80783
  ]),
79301
80784
  _: 1
79302
80785
  }, 8, ["disabled"])) : createCommentVNode("", true),
@@ -79480,11 +80963,11 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
79480
80963
  ])
79481
80964
  ])
79482
80965
  ])) : (openBlock(), createElementBlock("div", _hoisted_18$1, [
79483
- deviceType.value == "H5" ? (openBlock(), createBlock(_sfc_main$v, {
80966
+ deviceType.value == "H5" ? (openBlock(), createBlock(_sfc_main$u, {
79484
80967
  key: 0,
79485
80968
  isMobile: true,
79486
80969
  renderData: renderData.value
79487
- }, null, 8, ["renderData"])) : (openBlock(), createBlock(_sfc_main$v, {
80970
+ }, null, 8, ["renderData"])) : (openBlock(), createBlock(_sfc_main$u, {
79488
80971
  key: 1,
79489
80972
  type: deviceType.value,
79490
80973
  renderData: renderData.value
@@ -79789,7 +81272,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
79789
81272
  };
79790
81273
  }
79791
81274
  });
79792
- const DesignerView = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-97b12b59"]]);
81275
+ const DesignerView = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["__scopeId", "data-v-5db89a7f"]]);
79793
81276
  const ElsDesignerView = withInstall$1(DesignerView);
79794
81277
  (function(Prism2) {
79795
81278
  var string = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
@@ -80309,7 +81792,7 @@ const ElsDesignerView = withInstall$1(DesignerView);
80309
81792
  }
80310
81793
  });
80311
81794
  })();
80312
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
81795
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
80313
81796
  ...{
80314
81797
  name: "ElsHighlight",
80315
81798
  inheritAttrs: false
@@ -80347,7 +81830,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
80347
81830
  };
80348
81831
  }
80349
81832
  });
80350
- const ElsHighlight = withInstall$1(_sfc_main$t);
81833
+ const ElsHighlight = withInstall$1(_sfc_main$s);
80351
81834
  const uEditorProps = buildProps({
80352
81835
  ...formItemProps$1,
80353
81836
  /**
@@ -80467,7 +81950,7 @@ class UEditor extends TBaseFormItem {
80467
81950
  }, null)]);
80468
81951
  }
80469
81952
  }
80470
- const _sfc_main$s = defineComponent({
81953
+ const _sfc_main$r = defineComponent({
80471
81954
  name: "ElsUEditor",
80472
81955
  inheritAttrs: false,
80473
81956
  props: uEditorProps,
@@ -80477,7 +81960,7 @@ const _sfc_main$s = defineComponent({
80477
81960
  },
80478
81961
  emits: ["update:modelValue"]
80479
81962
  });
80480
- const ElsUEditor = withInstall$1(_sfc_main$s);
81963
+ const ElsUEditor = withInstall$1(_sfc_main$r);
80481
81964
  const aceEditorProps = buildProps({
80482
81965
  ...formItemProps$1,
80483
81966
  /**
@@ -80528,31 +82011,31 @@ let AceEditor$1 = class AceEditor extends TBaseFormItem {
80528
82011
  __publicField(this, "editor", ref());
80529
82012
  onMounted(() => {
80530
82013
  if (props2.language === "json") {
80531
- const currModule = import("./mode-json-BQVTlnPx.js").then((n) => n.m);
82014
+ const currModule = import("./mode-json-CIyvEhnr.js").then((n) => n.m);
80532
82015
  currModule.then((res) => {
80533
82016
  ace.config.setModuleUrl("ace/mode/json", res);
80534
82017
  this.init();
80535
82018
  });
80536
82019
  } else if (props2.language === "javascript") {
80537
- const currModule = import("./mode-javascript-lomz8qCz.js").then((n) => n.m);
82020
+ const currModule = import("./mode-javascript-DE9c49cw.js").then((n) => n.m);
80538
82021
  currModule.then((res) => {
80539
82022
  ace.config.setModuleUrl("ace/mode/javascript", res);
80540
82023
  this.init();
80541
82024
  });
80542
82025
  } else if (props2.language === "csharp") {
80543
- const currModule = import("./mode-csharp-BlAPRtxP.js").then((n) => n.m);
82026
+ const currModule = import("./mode-csharp-CWbGgzjG.js").then((n) => n.m);
80544
82027
  currModule.then((res) => {
80545
82028
  ace.config.setModuleUrl("ace/mode/csharp", res);
80546
82029
  this.init();
80547
82030
  });
80548
82031
  } else if (props2.language === "mysql") {
80549
- const currModule = import("./mode-mysql-Cou6xANN.js").then((n) => n.m);
82032
+ const currModule = import("./mode-mysql-BwT2SuQq.js").then((n) => n.m);
80550
82033
  currModule.then((res) => {
80551
82034
  ace.config.setModuleUrl("ace/mode/mysql", res);
80552
82035
  this.init();
80553
82036
  });
80554
82037
  } else if (props2.language === "css") {
80555
- const currModule = import("./mode-css-C3ZC-V7X.js").then((n) => n.m);
82038
+ const currModule = import("./mode-css-CorxJdP-.js").then((n) => n.m);
80556
82039
  currModule.then((res) => {
80557
82040
  ace.config.setModuleUrl("ace/mode/css", res);
80558
82041
  this.init();
@@ -80621,7 +82104,7 @@ let AceEditor$1 = class AceEditor extends TBaseFormItem {
80621
82104
  }, null)])])]);
80622
82105
  }
80623
82106
  };
80624
- const _sfc_main$r = defineComponent({
82107
+ const _sfc_main$q = defineComponent({
80625
82108
  name: "ElsAceEditor",
80626
82109
  inheritAttrs: false,
80627
82110
  props: aceEditorProps,
@@ -80631,7 +82114,7 @@ const _sfc_main$r = defineComponent({
80631
82114
  },
80632
82115
  emits: ["update:modelValue", "formatter"]
80633
82116
  });
80634
- const AceEditor2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["__scopeId", "data-v-bbf3dec5"]]);
82117
+ const AceEditor2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["__scopeId", "data-v-bbf3dec5"]]);
80635
82118
  const ElsAceEditor = withInstall$1(AceEditor2);
80636
82119
  const mdEditorProps = buildProps({
80637
82120
  ...formItemProps$1,
@@ -80733,7 +82216,7 @@ class MdEditor extends TBaseFormItem {
80733
82216
  }, null)])]);
80734
82217
  }
80735
82218
  }
80736
- const _sfc_main$q = defineComponent({
82219
+ const _sfc_main$p = defineComponent({
80737
82220
  name: "ElsMdEditor",
80738
82221
  inheritAttrs: false,
80739
82222
  props: mdEditorProps,
@@ -80743,7 +82226,7 @@ const _sfc_main$q = defineComponent({
80743
82226
  },
80744
82227
  emits: ["update:modelValue", "update:html"]
80745
82228
  });
80746
- const ElsMdEditor = withInstall$1(_sfc_main$q);
82229
+ const ElsMdEditor = withInstall$1(_sfc_main$p);
80747
82230
  var __defProp$1 = Object.defineProperty;
80748
82231
  var __defProps = Object.defineProperties;
80749
82232
  var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
@@ -80906,7 +82389,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
80906
82389
  return openBlock(), createElementBlock("div", _hoisted_1$1$1, null, 512);
80907
82390
  }
80908
82391
  var Editor3 = /* @__PURE__ */ _export_sfc(_sfc_main$1$1, [["render", _sfc_render$1]]);
80909
- const _sfc_main$p = defineComponent({
82392
+ const _sfc_main$o = defineComponent({
80910
82393
  props: {
80911
82394
  editor: {
80912
82395
  type: Object
@@ -80952,7 +82435,7 @@ const _hoisted_1$g = { ref: "selector" };
80952
82435
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
80953
82436
  return openBlock(), createElementBlock("div", _hoisted_1$g, null, 512);
80954
82437
  }
80955
- var Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render]]);
82438
+ var Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render]]);
80956
82439
  const wangEditorProps = buildProps({
80957
82440
  ...formItemProps$1,
80958
82441
  /**
@@ -81084,7 +82567,7 @@ let WangEditor$1 = class WangEditor extends TBaseFormItem {
81084
82567
  }), null)])]);
81085
82568
  }
81086
82569
  };
81087
- const _sfc_main$o = defineComponent({
82570
+ const _sfc_main$n = defineComponent({
81088
82571
  name: "ElsWangEditor",
81089
82572
  inheritAttrs: false,
81090
82573
  props: wangEditorProps,
@@ -81094,7 +82577,7 @@ const _sfc_main$o = defineComponent({
81094
82577
  },
81095
82578
  emits: ["update:modelValue"]
81096
82579
  });
81097
- const WangEditor2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["__scopeId", "data-v-21475bac"]]);
82580
+ const WangEditor2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__scopeId", "data-v-21475bac"]]);
81098
82581
  const ElsWangEditor = withInstall$1(WangEditor2);
81099
82582
  const jsonViewerProps = buildProps({
81100
82583
  /**
@@ -81105,7 +82588,7 @@ const jsonViewerProps = buildProps({
81105
82588
  }
81106
82589
  });
81107
82590
  const _hoisted_1$f = { class: "json-viewer" };
81108
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
82591
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
81109
82592
  ...{
81110
82593
  name: "ElsJsonViewer",
81111
82594
  inheritAttrs: false
@@ -81141,96 +82624,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
81141
82624
  };
81142
82625
  }
81143
82626
  });
81144
- const ElsJsonViewer = withInstall$1(_sfc_main$n);
81145
- const jsonEditorProps = buildProps({
81146
- ...formItemProps$1,
81147
- /**
81148
- * @description 绑定值
81149
- */
81150
- modelValue: {
81151
- type: [String, Object]
81152
- },
81153
- /**
81154
- * @description 值类型 String|Object
81155
- */
81156
- valueType: {
81157
- type: String,
81158
- values: ["String", "Object"]
81159
- }
81160
- });
81161
- let JsonEditor$1 = class JsonEditor extends TBaseFormItem {
81162
- constructor(props2, ctx) {
81163
- super(props2, ctx);
81164
- __publicField(this, "jsonEditor", ref());
81165
- }
81166
- watchModelValue() {
81167
- watch(this._modelValue, (val) => {
81168
- if (val) {
81169
- if (typeof val === "object") {
81170
- this._comValue.value = val;
81171
- } else {
81172
- this._comValue.value = JSON.parse(val);
81173
- }
81174
- }
81175
- }, {
81176
- immediate: true,
81177
- deep: true
81178
- });
81179
- }
81180
- watchComValue() {
81181
- watch(this._comValue, (val) => {
81182
- if (typeof val === "string") {
81183
- try {
81184
- JSON.parse(val);
81185
- } catch {
81186
- return;
81187
- }
81188
- }
81189
- if (typeof this._modelValue.value === "object" || this._props.valueType === "Object") {
81190
- if (typeof val === "string") {
81191
- try {
81192
- const currValue = JSON.parse(val);
81193
- this.returnValue(currValue);
81194
- } catch (err) {
81195
- }
81196
- } else {
81197
- this.returnValue(val);
81198
- }
81199
- return;
81200
- }
81201
- if (typeof val === "object") {
81202
- this.returnValue(JSON.stringify(val));
81203
- return;
81204
- }
81205
- this.returnValue(val);
81206
- }, {
81207
- deep: true
81208
- });
81209
- }
81210
- pcRender() {
81211
- return createVNode(Fragment$1, null, [createVNode("div", {
81212
- "class": "els-jsoneditor"
81213
- }, [createVNode(JsonEditorVue, mergeProps({
81214
- "modelValue": this._comValue.value,
81215
- "onUpdate:modelValue": ($event) => this._comValue.value = $event
81216
- }, this._attrs, {
81217
- "ref": this.jsonEditor,
81218
- "mode": "text"
81219
- }), null)])]);
81220
- }
81221
- };
81222
- const _sfc_main$m = defineComponent({
81223
- name: "ElsJsonEditor",
81224
- inheritAttrs: false,
81225
- props: jsonEditorProps,
81226
- setup(props2, ctx) {
81227
- const editor = new JsonEditor$1(props2, ctx);
81228
- return () => editor.render();
81229
- },
81230
- emits: ["update:modelValue"]
81231
- });
81232
- const JsonEditor2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__scopeId", "data-v-ebf6dbd5"]]);
81233
- const ElsJsonEditor = withInstall$1(JsonEditor2);
82627
+ const ElsJsonViewer = withInstall$1(_sfc_main$m);
81234
82628
  const _hoisted_1$e = { class: "els-workpain" };
81235
82629
  const _hoisted_2$b = { style: { "display": "flex" } };
81236
82630
  const _hoisted_3$a = { style: { "display": "flex" } };
@@ -89569,7 +90963,8 @@ const components = [
89569
90963
  ElsAMap,
89570
90964
  ElsWaterfall,
89571
90965
  ElsLazyImage,
89572
- ElsTiptapEditor
90966
+ ElsTiptapEditor,
90967
+ ElsRequestForm
89573
90968
  ];
89574
90969
  const ElementLess = {
89575
90970
  install(app, options2 = {}) {
@@ -89580,6 +90975,8 @@ const ElementLess = {
89580
90975
  });
89581
90976
  app.component("ElsConditionBuilder", ConditionBuilderVue);
89582
90977
  app.component("ElsExpressionInput", ExpressionInputVue);
90978
+ app.component("ElsSchemaFieldEditor", SchemaFieldEditorVue);
90979
+ app.component("ElsResponseMappingEditor", ResponseMappingEditorVue);
89583
90980
  setConfig(options2);
89584
90981
  app.config.globalProperties.$utils = utils;
89585
90982
  app.config.globalProperties.$less_message = ProxyElsMessage;
@@ -89617,7 +91014,7 @@ export {
89617
91014
  ElsDialog as Z,
89618
91015
  _export_sfc$1 as _,
89619
91016
  useRender as a,
89620
- Segmented as a$,
91017
+ Radio$1 as a$,
89621
91018
  ElsDropdown as a0,
89622
91019
  ElsDropdownGroup as a1,
89623
91020
  ElsDynamicDesigner as a2,
@@ -89628,33 +91025,33 @@ export {
89628
91025
  ElsHighlight as a7,
89629
91026
  ElsImage as a8,
89630
91027
  ElsImageViewer as a9,
89631
- ElsSelect as aA,
89632
- ElsSlider as aB,
89633
- ElsStampBadge as aC,
89634
- ElsSwitch as aD,
89635
- ElsTable as aE,
89636
- ElsTabs as aF,
89637
- ElsTextarea as aG,
89638
- ElsTimePicker as aH,
89639
- ElsTimePickerRange as aI,
89640
- ElsTip as aJ,
89641
- ElsTiptapEditor as aK,
89642
- ElsTree as aL,
89643
- ElsTreeSelect as aM,
89644
- ElsUEditor as aN,
89645
- ElsUpload as aO,
89646
- ElsWangEditor as aP,
89647
- ElsWaterfall as aQ,
89648
- ElsWorkFlow as aR,
89649
- ElsWorkPlan as aS,
89650
- Input as aT,
89651
- InputNumber as aU,
89652
- InputRange as aV,
89653
- InputTag$1 as aW,
89654
- JsonEditor$1 as aX,
89655
- MdEditor as aY,
89656
- Option as aZ,
89657
- Radio$1 as a_,
91028
+ ElsSegmented as aA,
91029
+ ElsSelect as aB,
91030
+ ElsSlider as aC,
91031
+ ElsStampBadge as aD,
91032
+ ElsSwitch as aE,
91033
+ ElsTable as aF,
91034
+ ElsTabs as aG,
91035
+ ElsTextarea as aH,
91036
+ ElsTimePicker as aI,
91037
+ ElsTimePickerRange as aJ,
91038
+ ElsTip as aK,
91039
+ ElsTiptapEditor as aL,
91040
+ ElsTree as aM,
91041
+ ElsTreeSelect as aN,
91042
+ ElsUEditor as aO,
91043
+ ElsUpload as aP,
91044
+ ElsWangEditor as aQ,
91045
+ ElsWaterfall as aR,
91046
+ ElsWorkFlow as aS,
91047
+ ElsWorkPlan as aT,
91048
+ Input as aU,
91049
+ InputNumber as aV,
91050
+ InputRange as aW,
91051
+ InputTag$1 as aX,
91052
+ JsonEditor$1 as aY,
91053
+ MdEditor as aZ,
91054
+ Option as a_,
89658
91055
  ElsInput as aa,
89659
91056
  ElsInputNumber as ab,
89660
91057
  ElsInputRange as ac,
@@ -89679,87 +91076,89 @@ export {
89679
91076
  ElsRadioButton as av,
89680
91077
  ElsRender as aw,
89681
91078
  ElsRenderAsync as ax,
89682
- ElsRow as ay,
89683
- ElsSegmented as az,
91079
+ ElsRequestForm as ay,
91080
+ ElsRow as az,
89684
91081
  buildSpacingCss as b,
89685
- stampBadgeProps as b$,
89686
- Select$1 as b0,
89687
- Slider as b1,
89688
- Switch as b2,
89689
- TimePicker as b3,
89690
- TimePickerRange as b4,
89691
- Tree$1 as b5,
89692
- UEditor as b6,
89693
- Upload$2 as b7,
89694
- WangEditor$1 as b8,
89695
- aceEditorProps as b9,
89696
- inputNumberProps as bA,
89697
- inputProps as bB,
89698
- inputRangeProps as bC,
89699
- inputTagProps as bD,
89700
- jsonEditorProps as bE,
89701
- jsonViewerProps as bF,
89702
- listProps as bG,
89703
- loadAsyncComponent as bH,
89704
- loadSkeletonAsyncComponent as bI,
89705
- mdEditorProps as bJ,
89706
- menuContextProps as bK,
89707
- menuDropdownProps as bL,
89708
- menuEmits as bM,
89709
- menuItemProps as bN,
89710
- menuProps as bO,
89711
- menuToolProps as bP,
89712
- optionGroupProps as bQ,
89713
- optionProps as bR,
89714
- radioProps as bS,
89715
- renderProps as bT,
89716
- segmentedProps as bU,
89717
- selectProps as bV,
89718
- setConfig as bW,
89719
- setJwtToken as bX,
89720
- setRequestInterceptors as bY,
89721
- setResponseInterceptors as bZ,
89722
- sliderProps as b_,
89723
- autocompleteProps as ba,
89724
- captionProps as bb,
89725
- cascaderProps as bc,
89726
- checkboxProps as bd,
89727
- collapseTransitionProps as be,
89728
- colorPickerProps as bf,
89729
- containerProps as bg,
89730
- createAxiosInstance as bh,
89731
- dataModalProps as bi,
89732
- datePickerProps as bj,
89733
- datePickerRangeProps as bk,
89734
- ElementLess as bl,
89735
- defaultConfig as bm,
89736
- designerProps as bn,
89737
- designerViewProps as bo,
89738
- dialogProps as bp,
89739
- drawerProps as bq,
89740
- dropdownProps as br,
89741
- formItemProps as bs,
89742
- formProps as bt,
89743
- formQueryProps as bu,
89744
- getAxiosConfig as bv,
89745
- getAxiosInstance as bw,
89746
- globalConfig as bx,
89747
- imageProps as by,
89748
- imageViewerProps as bz,
91082
+ setResponseInterceptors as b$,
91083
+ Segmented as b0,
91084
+ Select$1 as b1,
91085
+ Slider as b2,
91086
+ Switch as b3,
91087
+ TimePicker as b4,
91088
+ TimePickerRange as b5,
91089
+ Tree$1 as b6,
91090
+ UEditor as b7,
91091
+ Upload$2 as b8,
91092
+ WangEditor$1 as b9,
91093
+ imageViewerProps as bA,
91094
+ inputNumberProps as bB,
91095
+ inputProps as bC,
91096
+ inputRangeProps as bD,
91097
+ inputTagProps as bE,
91098
+ jsonEditorProps as bF,
91099
+ jsonViewerProps as bG,
91100
+ listProps as bH,
91101
+ loadAsyncComponent as bI,
91102
+ loadSkeletonAsyncComponent as bJ,
91103
+ mdEditorProps as bK,
91104
+ menuContextProps as bL,
91105
+ menuDropdownProps as bM,
91106
+ menuEmits as bN,
91107
+ menuItemProps as bO,
91108
+ menuProps as bP,
91109
+ menuToolProps as bQ,
91110
+ optionGroupProps as bR,
91111
+ optionProps as bS,
91112
+ radioProps as bT,
91113
+ renderProps as bU,
91114
+ requestFormProps as bV,
91115
+ segmentedProps as bW,
91116
+ selectProps as bX,
91117
+ setConfig as bY,
91118
+ setJwtToken as bZ,
91119
+ setRequestInterceptors as b_,
91120
+ aceEditorProps as ba,
91121
+ autocompleteProps as bb,
91122
+ captionProps as bc,
91123
+ cascaderProps as bd,
91124
+ checkboxProps as be,
91125
+ collapseTransitionProps as bf,
91126
+ colorPickerProps as bg,
91127
+ containerProps as bh,
91128
+ createAxiosInstance as bi,
91129
+ dataModalProps as bj,
91130
+ datePickerProps as bk,
91131
+ datePickerRangeProps as bl,
91132
+ ElementLess as bm,
91133
+ defaultConfig as bn,
91134
+ designerProps as bo,
91135
+ designerViewProps as bp,
91136
+ dialogProps as bq,
91137
+ drawerProps as br,
91138
+ dropdownProps as bs,
91139
+ formItemProps as bt,
91140
+ formProps as bu,
91141
+ formQueryProps as bv,
91142
+ getAxiosConfig as bw,
91143
+ getAxiosInstance as bx,
91144
+ globalConfig as by,
91145
+ imageProps as bz,
89749
91146
  utils as c,
89750
- switchProps as c0,
89751
- tableColumnProps as c1,
89752
- tableProps as c2,
89753
- tabsProps as c3,
89754
- timePickerProps as c4,
89755
- timePickerRangeProps as c5,
89756
- tipProps as c6,
89757
- tipTapEditorProps as c7,
89758
- treeProps as c8,
89759
- uEditorProps as c9,
89760
- uploadProps as ca,
89761
- wangEditorProps as cb,
89762
- workFlowProps as cc,
91147
+ sliderProps as c0,
91148
+ stampBadgeProps as c1,
91149
+ switchProps as c2,
91150
+ tableColumnProps as c3,
91151
+ tableProps as c4,
91152
+ tabsProps as c5,
91153
+ timePickerProps as c6,
91154
+ timePickerRangeProps as c7,
91155
+ tipProps as c8,
91156
+ tipTapEditorProps as c9,
91157
+ treeProps as ca,
91158
+ uEditorProps as cb,
91159
+ uploadProps as cc,
91160
+ wangEditorProps as cd,
91161
+ workFlowProps as ce,
89763
91162
  useComponentRef as d,
89764
91163
  DynamicRenderAsync as e,
89765
91164
  DynamicDesignerInner as f,