element-less 0.0.13 → 0.0.15

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.
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4
4
  import pkg from "file-saver";
5
5
  import * as XLSX from "xlsx";
6
6
  import { ElMessage, formItemProps as formItemProps$2, formProps as formProps$2, inputProps as inputProps$1, ElSpace, inputEmits, radioProps as radioProps$1, checkboxProps as checkboxProps$1, rowProps, 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$1, drawerProps as drawerProps$1, dropdownProps as dropdownProps$1, sliderProps as sliderProps$1, inputNumberProps as inputNumberProps$1, uploadProps as uploadProps$1, ElNotification, timePickerDefaultProps, datePickerProps as datePickerProps$1, tabsProps as tabsProps$1, colorPickerProps as colorPickerProps$1, ElContainer, ElMessageBox, useSizeProp as useSizeProp$1 } from "element-plus";
7
- import { onUnmounted, onDeactivated, isRef, watch, onMounted, nextTick, onActivated, unref, ref, reactive, getCurrentInstance, defineComponent, computed, createVNode, onBeforeUnmount, provide, watchEffect, inject, mergeProps, Transition, withDirectives, vShow, Teleport, Fragment, createApp, defineAsyncComponent, openBlock, createElementBlock, createElementVNode, warn, useAttrs, useSlots, resolveComponent, renderSlot, withCtx, createBlock, normalizeProps, guardReactiveProps, createSlots, createCommentVNode, createTextVNode, toDisplayString, renderList, resolveDynamicComponent, normalizeClass, normalizeStyle, mergeModels, useModel as useModel$1, onErrorCaptured, h, resolveDirective, withModifiers, pushScopeId, popScopeId, Suspense, createStaticVNode, shallowRef } from "vue";
7
+ import { onUnmounted, onDeactivated, isRef, watch, onMounted, nextTick, onActivated, unref, ref, reactive, getCurrentInstance, defineComponent, computed, createVNode, onBeforeUnmount, provide, watchEffect, inject, mergeProps, Transition, withDirectives, vShow, Teleport, Fragment, createApp, openBlock, createElementBlock, createElementVNode, warn, useAttrs, useSlots, resolveComponent, renderSlot, withCtx, createBlock, normalizeProps, guardReactiveProps, createSlots, createCommentVNode, createTextVNode, toDisplayString, renderList, resolveDynamicComponent, normalizeClass, normalizeStyle, mergeModels, useModel as useModel$1, onErrorCaptured, h, resolveDirective, withModifiers, pushScopeId, popScopeId, defineAsyncComponent, Suspense, createStaticVNode, shallowRef } from "vue";
8
8
  import axios from "axios";
9
9
  import lodash from "lodash";
10
10
  import draggable from "vuedraggable";
@@ -1644,14 +1644,6 @@ const handler = {
1644
1644
  }
1645
1645
  };
1646
1646
  const ProxyElsMessage = new Proxy(ElsMessage, handler);
1647
- const loadAsyncComponent = (loader) => defineAsyncComponent({
1648
- loader,
1649
- delay: 1e3
1650
- });
1651
- const loadSkeletonAsyncComponent = (loader) => defineAsyncComponent({
1652
- loader,
1653
- delay: 1e3
1654
- });
1655
1647
  const defaultConfig = {
1656
1648
  api: {
1657
1649
  code: "ResultCode",
@@ -3311,9 +3303,9 @@ function useProps(props = {}) {
3311
3303
  if (parent && utils.isDef(parent[key])) {
3312
3304
  return parent[key];
3313
3305
  }
3314
- const form2 = useForm();
3315
- if (form2 && utils.isDef(form2[key])) {
3316
- return form2[key];
3306
+ const form = useForm();
3307
+ if (form && utils.isDef(form[key])) {
3308
+ return form[key];
3317
3309
  }
3318
3310
  const container = useContainer();
3319
3311
  if (container && utils.isDef(container[key])) {
@@ -3722,10 +3714,10 @@ const inputProps = buildProps({
3722
3714
  }
3723
3715
  });
3724
3716
  const formItemProps = formItemProps$1;
3725
- const _hoisted_1$1u = ["innerHTML"];
3726
- const _hoisted_2$1b = { class: "els-form-item-append" };
3727
- const _hoisted_3$R = ["innerHTML"];
3728
- const _sfc_main$2d = /* @__PURE__ */ defineComponent({
3717
+ const _hoisted_1$1s = ["innerHTML"];
3718
+ const _hoisted_2$1a = { class: "els-form-item-append" };
3719
+ const _hoisted_3$Q = ["innerHTML"];
3720
+ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
3729
3721
  ...{ name: "ElsFormItem" },
3730
3722
  __name: "formItem",
3731
3723
  props: formItemProps,
@@ -3908,10 +3900,10 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
3908
3900
  placement: "top"
3909
3901
  }, {
3910
3902
  content: withCtx(() => [
3911
- createElementVNode("div", { innerHTML: _ctx.tip }, null, 8, _hoisted_1$1u)
3903
+ createElementVNode("div", { innerHTML: _ctx.tip }, null, 8, _hoisted_1$1s)
3912
3904
  ]),
3913
3905
  default: withCtx(() => [
3914
- createElementVNode("span", _hoisted_2$1b, [
3906
+ createElementVNode("span", _hoisted_2$1a, [
3915
3907
  createVNode(_component_el_icon, { style: { "margin-left": "5px", "cursor": "pointer" } }, {
3916
3908
  default: withCtx(() => [
3917
3909
  createVNode(_component_Question_Filled)
@@ -3926,7 +3918,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
3926
3918
  key: 2,
3927
3919
  innerHTML: _ctx.suffixContent,
3928
3920
  class: "els-form-item-append"
3929
- }, null, 8, _hoisted_3$R)) : createCommentVNode("", true),
3921
+ }, null, 8, _hoisted_3$Q)) : createCommentVNode("", true),
3930
3922
  unref(slots).error ? renderSlot(_ctx.$slots, "error", { key: 3 }, void 0, true) : createCommentVNode("", true)
3931
3923
  ]),
3932
3924
  _: 2
@@ -3971,9 +3963,9 @@ const _export_sfc = (sfc, props) => {
3971
3963
  }
3972
3964
  return target;
3973
3965
  };
3974
- const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["__scopeId", "data-v-eab171e8"]]);
3966
+ const FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["__scopeId", "data-v-69f701ab"]]);
3975
3967
  const ElsFormItem = withInstall(FormItem);
3976
- const _sfc_main$2c = /* @__PURE__ */ defineComponent({
3968
+ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
3977
3969
  ...{ name: "ElsFormNode" },
3978
3970
  __name: "formNode",
3979
3971
  props: formItemProps$1,
@@ -4039,9 +4031,9 @@ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
4039
4031
  };
4040
4032
  }
4041
4033
  });
4042
- const FormNode = /* @__PURE__ */ _export_sfc(_sfc_main$2c, [["__scopeId", "data-v-ec8c3ebd"]]);
4034
+ const FormNode = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["__scopeId", "data-v-ec8c3ebd"]]);
4043
4035
  const ElsFormNode = withInstall(FormNode);
4044
- const _sfc_main$2b = /* @__PURE__ */ defineComponent({
4036
+ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
4045
4037
  ...{
4046
4038
  name: "ElsInput",
4047
4039
  inheritAttrs: false
@@ -4168,8 +4160,8 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
4168
4160
  };
4169
4161
  }
4170
4162
  });
4171
- const ElsInput = withInstall(_sfc_main$2b);
4172
- const _sfc_main$2a = /* @__PURE__ */ defineComponent({
4163
+ const ElsInput = withInstall(_sfc_main$24);
4164
+ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
4173
4165
  ...{
4174
4166
  name: "ElsTextarea",
4175
4167
  inheritAttrs: false
@@ -4203,7 +4195,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
4203
4195
  };
4204
4196
  }
4205
4197
  });
4206
- const ElsTextarea = withInstall(_sfc_main$2a);
4198
+ const ElsTextarea = withInstall(_sfc_main$23);
4207
4199
  const inputRangeProps = buildProps({
4208
4200
  ...inputProps,
4209
4201
  /**
@@ -4260,7 +4252,7 @@ const inputRangeProps = buildProps({
4260
4252
  default: "100px"
4261
4253
  }
4262
4254
  });
4263
- const _sfc_main$29 = /* @__PURE__ */ defineComponent({
4255
+ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
4264
4256
  ...{
4265
4257
  name: "ElsInputRange",
4266
4258
  inheritAttrs: false
@@ -4311,7 +4303,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
4311
4303
  };
4312
4304
  }
4313
4305
  });
4314
- const ElsInputRange = withInstall(_sfc_main$29);
4306
+ const ElsInputRange = withInstall(_sfc_main$22);
4315
4307
  var E = "top", R = "bottom", W = "right", P = "left", me = "auto", G = [E, R, W, P], U = "start", J = "end", Xe = "clippingParents", je = "viewport", K = "popper", Ye = "reference", De = G.reduce(function(t, e) {
4316
4308
  return t.concat([e + "-" + U, e + "-" + J]);
4317
4309
  }, []), Ee = [].concat(G, [me]).reduce(function(t, e) {
@@ -5237,15 +5229,15 @@ const selectProps = buildProps({
5237
5229
  type: String
5238
5230
  }
5239
5231
  });
5240
- const _hoisted_1$1t = {
5232
+ const _hoisted_1$1r = {
5241
5233
  key: 0,
5242
5234
  class: "check"
5243
5235
  };
5244
- const _hoisted_2$1a = {
5236
+ const _hoisted_2$19 = {
5245
5237
  key: 0,
5246
5238
  class: "check"
5247
5239
  };
5248
- const _hoisted_3$Q = {
5240
+ const _hoisted_3$P = {
5249
5241
  key: 0,
5250
5242
  class: "check"
5251
5243
  };
@@ -5253,7 +5245,7 @@ const _hoisted_4$F = {
5253
5245
  key: 0,
5254
5246
  class: "check"
5255
5247
  };
5256
- const _sfc_main$28 = /* @__PURE__ */ defineComponent({
5248
+ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
5257
5249
  ...{
5258
5250
  name: "ElsSelect",
5259
5251
  inheritAttrs: false
@@ -5682,7 +5674,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
5682
5674
  value: item[_ctx.valueField]
5683
5675
  }, {
5684
5676
  default: withCtx(() => [
5685
- _ctx.multiple ? (openBlock(), createElementBlock("i", _hoisted_1$1t)) : createCommentVNode("", true),
5677
+ _ctx.multiple ? (openBlock(), createElementBlock("i", _hoisted_1$1r)) : createCommentVNode("", true),
5686
5678
  renderSlot(_ctx.$slots, "default", { item }, () => [
5687
5679
  createTextVNode(toDisplayString(item[_ctx.labelField]), 1)
5688
5680
  ])
@@ -5703,7 +5695,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
5703
5695
  value: item[_ctx.valueField]
5704
5696
  }, {
5705
5697
  default: withCtx(() => [
5706
- _ctx.multiple ? (openBlock(), createElementBlock("i", _hoisted_2$1a)) : createCommentVNode("", true),
5698
+ _ctx.multiple ? (openBlock(), createElementBlock("i", _hoisted_2$19)) : createCommentVNode("", true),
5707
5699
  renderSlot(_ctx.$slots, "default", { item }, () => [
5708
5700
  createTextVNode(toDisplayString(item[_ctx.labelField]), 1)
5709
5701
  ])
@@ -5723,7 +5715,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
5723
5715
  value: item[_ctx.valueField]
5724
5716
  }, {
5725
5717
  default: withCtx(() => [
5726
- _ctx.multiple ? (openBlock(), createElementBlock("i", _hoisted_3$Q)) : createCommentVNode("", true),
5718
+ _ctx.multiple ? (openBlock(), createElementBlock("i", _hoisted_3$P)) : createCommentVNode("", true),
5727
5719
  createTextVNode(" " + toDisplayString(item[_ctx.labelField]), 1)
5728
5720
  ]),
5729
5721
  _: 2
@@ -5833,12 +5825,12 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
5833
5825
  };
5834
5826
  }
5835
5827
  });
5836
- const ElsSelect = withInstall(_sfc_main$28);
5837
- const _hoisted_1$1s = {
5828
+ const ElsSelect = withInstall(_sfc_main$21);
5829
+ const _hoisted_1$1q = {
5838
5830
  key: 0,
5839
5831
  class: "check"
5840
5832
  };
5841
- const _sfc_main$27 = /* @__PURE__ */ defineComponent({
5833
+ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
5842
5834
  ...{ name: "ElsOption" },
5843
5835
  __name: "option",
5844
5836
  props: {
@@ -5902,7 +5894,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
5902
5894
  value: _ctx.value ?? currLabel.value
5903
5895
  }), {
5904
5896
  default: withCtx(() => [
5905
- multiple.value ? (openBlock(), createElementBlock("i", _hoisted_1$1s)) : createCommentVNode("", true),
5897
+ multiple.value ? (openBlock(), createElementBlock("i", _hoisted_1$1q)) : createCommentVNode("", true),
5906
5898
  renderSlot(_ctx.$slots, "default", {}, () => [
5907
5899
  createTextVNode(toDisplayString(currLabel.value), 1)
5908
5900
  ])
@@ -5961,12 +5953,12 @@ const optionGroupProps = buildProps({
5961
5953
  */
5962
5954
  label: String
5963
5955
  });
5964
- const _hoisted_1$1r = {
5956
+ const _hoisted_1$1p = {
5965
5957
  key: 1,
5966
5958
  style: { "width": "100%" }
5967
5959
  };
5968
- const _hoisted_2$19 = { class: "els-radio-group-item" };
5969
- const _sfc_main$26 = /* @__PURE__ */ defineComponent({
5960
+ const _hoisted_2$18 = { class: "els-radio-group-item" };
5961
+ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
5970
5962
  ...{ name: "ElsOptionGroup" },
5971
5963
  __name: "optionGroup",
5972
5964
  props: optionGroupProps,
@@ -5989,14 +5981,14 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
5989
5981
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
5990
5982
  ]),
5991
5983
  _: 3
5992
- }, 16, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_1$1r, [
5993
- createElementVNode("div", _hoisted_2$19, toDisplayString(_ctx.label), 1),
5984
+ }, 16, ["label"])) : (openBlock(), createElementBlock("div", _hoisted_1$1p, [
5985
+ createElementVNode("div", _hoisted_2$18, toDisplayString(_ctx.label), 1),
5994
5986
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(attrs))), void 0, true)
5995
5987
  ]));
5996
5988
  };
5997
5989
  }
5998
5990
  });
5999
- const OptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["__scopeId", "data-v-e69e7edd"]]);
5991
+ const OptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["__scopeId", "data-v-e69e7edd"]]);
6000
5992
  const radioProps = buildProps({
6001
5993
  ...formItemProps$1,
6002
5994
  ...radioProps$1,
@@ -6107,8 +6099,8 @@ const radioProps = buildProps({
6107
6099
  default: -1
6108
6100
  }
6109
6101
  });
6110
- const _hoisted_1$1q = { key: 0 };
6111
- const _sfc_main$25 = /* @__PURE__ */ defineComponent({
6102
+ const _hoisted_1$1o = { key: 0 };
6103
+ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
6112
6104
  ...{
6113
6105
  name: "ElsRadio",
6114
6106
  inheritAttrs: false
@@ -6367,7 +6359,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
6367
6359
  class: normalizeClass(radioClass),
6368
6360
  style: normalizeStyle(radioStyle)
6369
6361
  }, [
6370
- props.filterable ? (openBlock(), createElementBlock("div", _hoisted_1$1q, [
6362
+ props.filterable ? (openBlock(), createElementBlock("div", _hoisted_1$1o, [
6371
6363
  _ctx.filterable ? (openBlock(), createBlock(_component_el_input, {
6372
6364
  key: 0,
6373
6365
  style: { "width": "200px" },
@@ -6395,7 +6387,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
6395
6387
  default: withCtx(() => [
6396
6388
  renderSlot(_ctx.$slots, "extra", {}, void 0, true),
6397
6389
  filterText.value && !optionData.value.length ? (openBlock(), createBlock(_component_el_empty, { key: 0 })) : (_ctx.url || _ctx.data && _ctx.data.length > 0 || options.length) && !_ctx.groupField ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(options, (item, index) => {
6398
- return openBlock(), createBlock(_sfc_main$27, {
6390
+ return openBlock(), createBlock(_sfc_main$20, {
6399
6391
  type: _ctx.type,
6400
6392
  key: index,
6401
6393
  value: item[_ctx.valueField],
@@ -6415,7 +6407,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
6415
6407
  }, {
6416
6408
  default: withCtx(() => [
6417
6409
  (openBlock(true), createElementBlock(Fragment, null, renderList(gitem.value, (item, index) => {
6418
- return openBlock(), createBlock(_sfc_main$27, {
6410
+ return openBlock(), createBlock(_sfc_main$20, {
6419
6411
  type: _ctx.type,
6420
6412
  key: index,
6421
6413
  value: item[_ctx.valueField],
@@ -6435,7 +6427,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
6435
6427
  }, 1032, ["label"]);
6436
6428
  }), 256)) : renderSlot(_ctx.$slots, "default", { key: 3 }, void 0, true),
6437
6429
  (openBlock(true), createElementBlock(Fragment, null, renderList(noExistOption, (item) => {
6438
- return openBlock(), createBlock(_sfc_main$27, {
6430
+ return openBlock(), createBlock(_sfc_main$20, {
6439
6431
  type: _ctx.type,
6440
6432
  key: item[_ctx.valueField],
6441
6433
  value: item[_ctx.valueField],
@@ -6457,7 +6449,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
6457
6449
  };
6458
6450
  }
6459
6451
  });
6460
- const ElsRadio$1 = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["__scopeId", "data-v-a7fae6d8"]]);
6452
+ const ElsRadio$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["__scopeId", "data-v-a7fae6d8"]]);
6461
6453
  const ElsRadio = withInstall(ElsRadio$1);
6462
6454
  const checkboxProps = Object.assign({}, checkboxProps$1, buildProps({
6463
6455
  ...formItemProps$1,
@@ -6571,11 +6563,11 @@ const checkboxProps = Object.assign({}, checkboxProps$1, buildProps({
6571
6563
  */
6572
6564
  showInverse: Boolean
6573
6565
  }));
6574
- const _hoisted_1$1p = {
6566
+ const _hoisted_1$1n = {
6575
6567
  key: 0,
6576
6568
  style: { "margin-bottom": "15px", "text-align": "left" }
6577
6569
  };
6578
- const _sfc_main$24 = /* @__PURE__ */ defineComponent({
6570
+ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
6579
6571
  ...{ name: "ElsCheckbox", inheritAttrs: false },
6580
6572
  __name: "checkbox",
6581
6573
  props: checkboxProps,
@@ -6902,7 +6894,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
6902
6894
  class: normalizeClass(checkboxClass),
6903
6895
  style: normalizeStyle(checkboxStyle)
6904
6896
  }, [
6905
- _ctx.showCheckAll || _ctx.filterable ? (openBlock(), createElementBlock("div", _hoisted_1$1p, [
6897
+ _ctx.showCheckAll || _ctx.filterable ? (openBlock(), createElementBlock("div", _hoisted_1$1n, [
6906
6898
  _ctx.showCheckAll ? (openBlock(), createBlock(_component_el_checkbox, {
6907
6899
  key: 0,
6908
6900
  indeterminate: isIndeterminate.value,
@@ -7013,9 +7005,9 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
7013
7005
  };
7014
7006
  }
7015
7007
  });
7016
- const ElsCheckbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["__scopeId", "data-v-ae15118c"]]);
7008
+ const ElsCheckbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1Z, [["__scopeId", "data-v-ae15118c"]]);
7017
7009
  const ElsCheckbox = withInstall(ElsCheckbox$1);
7018
- const _sfc_main$23 = /* @__PURE__ */ defineComponent({
7010
+ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
7019
7011
  ...{
7020
7012
  name: "ElsCheckboxButton"
7021
7013
  },
@@ -7055,8 +7047,8 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
7055
7047
  };
7056
7048
  }
7057
7049
  });
7058
- const ElsCheckboxButton = withInstall(_sfc_main$23);
7059
- const _sfc_main$22 = /* @__PURE__ */ defineComponent({
7050
+ const ElsCheckboxButton = withInstall(_sfc_main$1Y);
7051
+ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
7060
7052
  ...{
7061
7053
  name: "ElsRadioButton"
7062
7054
  },
@@ -7096,7 +7088,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
7096
7088
  };
7097
7089
  }
7098
7090
  });
7099
- const ElsRadioButton = withInstall(_sfc_main$22);
7091
+ const ElsRadioButton = withInstall(_sfc_main$1X);
7100
7092
  const optionProps = buildProps({
7101
7093
  /**
7102
7094
  * @description 文本
@@ -7107,9 +7099,9 @@ const optionProps = buildProps({
7107
7099
  */
7108
7100
  value: String
7109
7101
  });
7110
- const ElsOption = withInstall(_sfc_main$27);
7102
+ const ElsOption = withInstall(_sfc_main$20);
7111
7103
  const ElsOptionGroup = withInstall(OptionGroup);
7112
- const _sfc_main$21 = /* @__PURE__ */ defineComponent({
7104
+ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
7113
7105
  ...{
7114
7106
  name: "ElsRow"
7115
7107
  },
@@ -7172,8 +7164,8 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
7172
7164
  };
7173
7165
  }
7174
7166
  });
7175
- const ElsRow = withInstall(_sfc_main$21);
7176
- const _sfc_main$20 = /* @__PURE__ */ defineComponent({
7167
+ const ElsRow = withInstall(_sfc_main$1W);
7168
+ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
7177
7169
  ...{
7178
7170
  name: "ElsCol"
7179
7171
  },
@@ -7256,8 +7248,8 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
7256
7248
  };
7257
7249
  }
7258
7250
  });
7259
- const ElsCol = withInstall(_sfc_main$20);
7260
- const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
7251
+ const ElsCol = withInstall(_sfc_main$1V);
7252
+ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
7261
7253
  ...{ name: "ElsForm", inheritAttrs: false },
7262
7254
  __name: "form",
7263
7255
  props: /* @__PURE__ */ mergeModels(formProps$1, {
@@ -7461,7 +7453,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
7461
7453
  };
7462
7454
  }
7463
7455
  });
7464
- const Form = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["__scopeId", "data-v-308648e8"]]);
7456
+ const Form = /* @__PURE__ */ _export_sfc(_sfc_main$1U, [["__scopeId", "data-v-7a4522d4"]]);
7465
7457
  const formProps = formProps$1;
7466
7458
  const ElsForm = withInstall(Form);
7467
7459
  const formQueryProps = buildProps({
@@ -7491,7 +7483,7 @@ const formQueryProps = buildProps({
7491
7483
  default: false
7492
7484
  }
7493
7485
  });
7494
- const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
7486
+ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
7495
7487
  ...{ name: "ElsFormQuery" },
7496
7488
  __name: "formQuery",
7497
7489
  props: /* @__PURE__ */ mergeModels(formQueryProps, {
@@ -7761,7 +7753,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
7761
7753
  };
7762
7754
  }
7763
7755
  });
7764
- const FormQuery = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["__scopeId", "data-v-c068f02c"]]);
7756
+ const FormQuery = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["__scopeId", "data-v-c068f02c"]]);
7765
7757
  const ElsFormQuery = withInstall(FormQuery);
7766
7758
  var defaultProps$1 = {
7767
7759
  type: {
@@ -8022,16 +8014,16 @@ const tableColumnProps = Object.assign({}, defaultProps$1, buildProps({
8022
8014
  }
8023
8015
  }
8024
8016
  }));
8025
- const _hoisted_1$1o = { key: 0 };
8026
- const _hoisted_2$18 = /* @__PURE__ */ createElementVNode("i", { class: "el-icon-question" }, null, -1);
8027
- const _hoisted_3$P = ["innerHTML"];
8017
+ const _hoisted_1$1m = { key: 0 };
8018
+ const _hoisted_2$17 = /* @__PURE__ */ createElementVNode("i", { class: "el-icon-question" }, null, -1);
8019
+ const _hoisted_3$O = ["innerHTML"];
8028
8020
  const _hoisted_4$E = ["innerHTML"];
8029
8021
  const _hoisted_5$q = ["innerHTML"];
8030
8022
  const _hoisted_6$i = {
8031
8023
  key: 0,
8032
8024
  class: "el-table-tr-split"
8033
8025
  };
8034
- const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
8026
+ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
8035
8027
  ...{ name: "ElsColumn" },
8036
8028
  __name: "tableColumn",
8037
8029
  props: tableColumnProps,
@@ -8246,14 +8238,14 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
8246
8238
  column,
8247
8239
  $index
8248
8240
  }, () => [
8249
- _ctx.tip ? (openBlock(), createElementBlock("span", _hoisted_1$1o, [
8241
+ _ctx.tip ? (openBlock(), createElementBlock("span", _hoisted_1$1m, [
8250
8242
  createTextVNode(toDisplayString(unref(attrs)["label"]) + " ", 1),
8251
8243
  createVNode(_component_el_tooltip, {
8252
8244
  content: _ctx.tip,
8253
8245
  placement: "right"
8254
8246
  }, {
8255
8247
  default: withCtx(() => [
8256
- _hoisted_2$18
8248
+ _hoisted_2$17
8257
8249
  ]),
8258
8250
  _: 1
8259
8251
  }, 8, ["content"])
@@ -8274,7 +8266,7 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
8274
8266
  _ctx.prop ? (openBlock(), createElementBlock("span", {
8275
8267
  key: 0,
8276
8268
  innerHTML: row[_ctx.prop]
8277
- }, null, 8, _hoisted_3$P)) : createCommentVNode("", true)
8269
+ }, null, 8, _hoisted_3$O)) : createCommentVNode("", true)
8278
8270
  ]) : !unref(tableGlobalData).isEdit && (!row.edit || !_ctx.isEdit) && _ctx.prop ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
8279
8271
  _ctx.type == "image" ? (openBlock(), createBlock(_component_els_image, {
8280
8272
  key: 0,
@@ -8371,7 +8363,7 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
8371
8363
  };
8372
8364
  }
8373
8365
  });
8374
- const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
8366
+ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
8375
8367
  ...{ name: "ElsColumnBool" },
8376
8368
  __name: "tableColumnBool",
8377
8369
  props: tableColumnProps,
@@ -8379,7 +8371,7 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
8379
8371
  const props = __props;
8380
8372
  const slots = useSlots();
8381
8373
  return (_ctx, _cache) => {
8382
- return openBlock(), createBlock(_sfc_main$1Z, mergeProps(props, { type: "bool" }), createSlots({ _: 2 }, [
8374
+ return openBlock(), createBlock(_sfc_main$1S, mergeProps(props, { type: "bool" }), createSlots({ _: 2 }, [
8383
8375
  unref(slots).default ? {
8384
8376
  name: "default",
8385
8377
  fn: withCtx(({ row, $index }) => [
@@ -8404,7 +8396,7 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
8404
8396
  };
8405
8397
  }
8406
8398
  });
8407
- const _sfc_main$1X = /* @__PURE__ */ defineComponent({
8399
+ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
8408
8400
  ...{ name: "ElsColumnCheckbox" },
8409
8401
  __name: "tableColumnCheckbox",
8410
8402
  props: tableColumnProps,
@@ -8412,7 +8404,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
8412
8404
  const props = __props;
8413
8405
  const slots = useSlots();
8414
8406
  return (_ctx, _cache) => {
8415
- return openBlock(), createBlock(_sfc_main$1Z, mergeProps(props, {
8407
+ return openBlock(), createBlock(_sfc_main$1S, mergeProps(props, {
8416
8408
  type: "selection",
8417
8409
  isExport: false
8418
8410
  }), createSlots({ _: 2 }, [
@@ -8440,7 +8432,7 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
8440
8432
  };
8441
8433
  }
8442
8434
  });
8443
- const _sfc_main$1W = /* @__PURE__ */ defineComponent({
8435
+ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
8444
8436
  ...{ name: "ElsColumnEnum" },
8445
8437
  __name: "tableColumnEnum",
8446
8438
  props: tableColumnProps,
@@ -8448,7 +8440,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
8448
8440
  const props = __props;
8449
8441
  const slots = useSlots();
8450
8442
  return (_ctx, _cache) => {
8451
- return openBlock(), createBlock(_sfc_main$1Z, mergeProps(props, { type: "enum" }), createSlots({ _: 2 }, [
8443
+ return openBlock(), createBlock(_sfc_main$1S, mergeProps(props, { type: "enum" }), createSlots({ _: 2 }, [
8452
8444
  unref(slots).default ? {
8453
8445
  name: "default",
8454
8446
  fn: withCtx(({ row, $index }) => [
@@ -8473,7 +8465,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
8473
8465
  };
8474
8466
  }
8475
8467
  });
8476
- const _sfc_main$1V = /* @__PURE__ */ defineComponent({
8468
+ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
8477
8469
  ...{ name: "ElsColumnExpand" },
8478
8470
  __name: "tableColumnExpand",
8479
8471
  props: tableColumnProps,
@@ -8481,7 +8473,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
8481
8473
  const props = __props;
8482
8474
  const slots = useSlots();
8483
8475
  return (_ctx, _cache) => {
8484
- return openBlock(), createBlock(_sfc_main$1Z, mergeProps(props, {
8476
+ return openBlock(), createBlock(_sfc_main$1S, mergeProps(props, {
8485
8477
  type: "expand",
8486
8478
  isExport: false
8487
8479
  }), createSlots({ _: 2 }, [
@@ -8499,7 +8491,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
8499
8491
  };
8500
8492
  }
8501
8493
  });
8502
- const _sfc_main$1U = /* @__PURE__ */ defineComponent({
8494
+ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
8503
8495
  ...{ name: "ElsColumnHeader" },
8504
8496
  __name: "tableColumnHeader",
8505
8497
  props: tableColumnProps,
@@ -8507,7 +8499,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
8507
8499
  const props = __props;
8508
8500
  const slots = useSlots();
8509
8501
  return (_ctx, _cache) => {
8510
- return openBlock(), createBlock(_sfc_main$1Z, mergeProps(props, { type: "header" }), createSlots({ _: 2 }, [
8502
+ return openBlock(), createBlock(_sfc_main$1S, mergeProps(props, { type: "header" }), createSlots({ _: 2 }, [
8511
8503
  unref(slots).default ? {
8512
8504
  name: "default",
8513
8505
  fn: withCtx(({ row, $index }) => [
@@ -8522,7 +8514,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
8522
8514
  };
8523
8515
  }
8524
8516
  });
8525
- const _sfc_main$1T = /* @__PURE__ */ defineComponent({
8517
+ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
8526
8518
  ...{ name: "ElsColumnImage" },
8527
8519
  __name: "tableColumnImage",
8528
8520
  props: tableColumnProps,
@@ -8530,7 +8522,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
8530
8522
  const props = __props;
8531
8523
  const slots = useSlots();
8532
8524
  return (_ctx, _cache) => {
8533
- return openBlock(), createBlock(_sfc_main$1Z, mergeProps(props, {
8525
+ return openBlock(), createBlock(_sfc_main$1S, mergeProps(props, {
8534
8526
  type: "image",
8535
8527
  width: "80"
8536
8528
  }), createSlots({ _: 2 }, [
@@ -8558,7 +8550,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
8558
8550
  };
8559
8551
  }
8560
8552
  });
8561
- const _sfc_main$1S = /* @__PURE__ */ defineComponent({
8553
+ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
8562
8554
  ...{ name: "ElsColumnOperate" },
8563
8555
  __name: "tableColumnOperate",
8564
8556
  props: tableColumnProps,
@@ -8566,7 +8558,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
8566
8558
  const props = __props;
8567
8559
  const slots = useSlots();
8568
8560
  return (_ctx, _cache) => {
8569
- return openBlock(), createBlock(_sfc_main$1Z, mergeProps(props, {
8561
+ return openBlock(), createBlock(_sfc_main$1S, mergeProps(props, {
8570
8562
  label: "操作",
8571
8563
  type: "operate",
8572
8564
  width: "100",
@@ -8588,7 +8580,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
8588
8580
  };
8589
8581
  }
8590
8582
  });
8591
- const _sfc_main$1R = /* @__PURE__ */ defineComponent({
8583
+ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
8592
8584
  ...{ name: "ElsColumnSelect" },
8593
8585
  __name: "tableColumnSelect",
8594
8586
  props: tableColumnProps,
@@ -8596,7 +8588,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
8596
8588
  const props = __props;
8597
8589
  const slots = useSlots();
8598
8590
  return (_ctx, _cache) => {
8599
- return openBlock(), createBlock(_sfc_main$1Z, mergeProps(props, {
8591
+ return openBlock(), createBlock(_sfc_main$1S, mergeProps(props, {
8600
8592
  type: "select",
8601
8593
  label: "操作",
8602
8594
  width: "120",
@@ -8617,15 +8609,15 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
8617
8609
  };
8618
8610
  }
8619
8611
  });
8620
- const ElsColumn = withInstall(_sfc_main$1Z);
8621
- const ElsColumnBool = withInstall(_sfc_main$1Y);
8622
- const ElsColumnCheckbox = withInstall(_sfc_main$1X);
8623
- const ElsColumnEnum = withInstall(_sfc_main$1W);
8624
- const ElsColumnExpand = withInstall(_sfc_main$1V);
8625
- const ElsColumnHeader = withInstall(_sfc_main$1U);
8626
- const ElsColumnImage = withInstall(_sfc_main$1T);
8627
- const ElsColumnOperate = withInstall(_sfc_main$1S);
8628
- const ElsColumnSelect = withInstall(_sfc_main$1R);
8612
+ const ElsColumn = withInstall(_sfc_main$1S);
8613
+ const ElsColumnBool = withInstall(_sfc_main$1R);
8614
+ const ElsColumnCheckbox = withInstall(_sfc_main$1Q);
8615
+ const ElsColumnEnum = withInstall(_sfc_main$1P);
8616
+ const ElsColumnExpand = withInstall(_sfc_main$1O);
8617
+ const ElsColumnHeader = withInstall(_sfc_main$1N);
8618
+ const ElsColumnImage = withInstall(_sfc_main$1M);
8619
+ const ElsColumnOperate = withInstall(_sfc_main$1L);
8620
+ const ElsColumnSelect = withInstall(_sfc_main$1K);
8629
8621
  var defaultProps = {
8630
8622
  data: {
8631
8623
  type: Array,
@@ -8947,12 +8939,12 @@ const tableProps = Object.assign({}, defaultProps, buildProps({
8947
8939
  default: true
8948
8940
  }
8949
8941
  }));
8950
- const _hoisted_1$1n = {
8942
+ const _hoisted_1$1l = {
8951
8943
  key: 0,
8952
8944
  class: "select_container"
8953
8945
  };
8954
- const _hoisted_2$17 = { key: 0 };
8955
- const _hoisted_3$O = {
8946
+ const _hoisted_2$16 = { key: 0 };
8947
+ const _hoisted_3$N = {
8956
8948
  key: 1,
8957
8949
  class: "drag-oper"
8958
8950
  };
@@ -8965,7 +8957,7 @@ const _hoisted_5$p = {
8965
8957
  class: "pagination-container",
8966
8958
  style: { "margin-top": "10px" }
8967
8959
  };
8968
- const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
8960
+ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
8969
8961
  ...{ name: "ElsTable", inheritAttrs: false },
8970
8962
  __name: "table",
8971
8963
  props: tableProps,
@@ -9904,6 +9896,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
9904
9896
  if (props.url) {
9905
9897
  return readData();
9906
9898
  }
9899
+ return Promise.resolve(true);
9907
9900
  }
9908
9901
  function handleChangePage(val) {
9909
9902
  currPageIndex.value = val;
@@ -10144,7 +10137,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
10144
10137
  const _component_els_menu_context = resolveComponent("els-menu-context");
10145
10138
  const _directive_loading = resolveDirective("loading");
10146
10139
  return openBlock(), createElementBlock(Fragment, null, [
10147
- _ctx.showCheckField ? (openBlock(), createElementBlock("div", _hoisted_1$1n, [
10140
+ _ctx.showCheckField ? (openBlock(), createElementBlock("div", _hoisted_1$1l, [
10148
10141
  createVNode(unref(draggable), {
10149
10142
  list: unref(tableCheckData).checkRows,
10150
10143
  "item-key": dataKey.value.toString(),
@@ -10158,7 +10151,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
10158
10151
  }, {
10159
10152
  default: withCtx(() => [
10160
10153
  renderSlot(_ctx.$slots, "checklabel", { checkItem: element }, () => [
10161
- _ctx.showCheckField ? (openBlock(), createElementBlock("span", _hoisted_2$17, toDisplayString(element[_ctx.showCheckField]), 1)) : createCommentVNode("", true)
10154
+ _ctx.showCheckField ? (openBlock(), createElementBlock("span", _hoisted_2$16, toDisplayString(element[_ctx.showCheckField]), 1)) : createCommentVNode("", true)
10162
10155
  ], true)
10163
10156
  ]),
10164
10157
  _: 2
@@ -10231,7 +10224,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
10231
10224
  _: 2
10232
10225
  }, 1032, ["onClick", "type"])
10233
10226
  ], 64)) : createCommentVNode("", true),
10234
- _ctx.dragRow ? (openBlock(), createElementBlock("div", _hoisted_3$O, [
10227
+ _ctx.dragRow ? (openBlock(), createElementBlock("div", _hoisted_3$N, [
10235
10228
  createVNode(_component_el_icon, { class: "leo-table-drag" }, {
10236
10229
  default: withCtx(() => [
10237
10230
  createVNode(_component_Rank)
@@ -10342,7 +10335,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
10342
10335
  };
10343
10336
  }
10344
10337
  });
10345
- const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["__scopeId", "data-v-de381c7b"]]);
10338
+ const Table$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-c269459b"]]);
10346
10339
  const ElsTable = withInstall(Table$1);
10347
10340
  const treeProps = buildProps({
10348
10341
  ...formItemProps$1,
@@ -10515,11 +10508,11 @@ const treeProps = buildProps({
10515
10508
  */
10516
10509
  load: Function
10517
10510
  });
10518
- const _hoisted_1$1m = { class: "els-node" };
10519
- const _hoisted_2$16 = { class: "els-tree" };
10520
- const _hoisted_3$N = ["onDblclick"];
10511
+ const _hoisted_1$1k = { class: "els-node" };
10512
+ const _hoisted_2$15 = { class: "els-tree" };
10513
+ const _hoisted_3$M = ["onDblclick"];
10521
10514
  const _hoisted_4$C = ["onDblclick"];
10522
- const _sfc_main$1P = /* @__PURE__ */ defineComponent({
10515
+ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
10523
10516
  ...{ name: "ElsTree", inheritAttrs: false },
10524
10517
  __name: "tree",
10525
10518
  props: treeProps,
@@ -11082,8 +11075,8 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
11082
11075
  const _component_el_tree_v2 = resolveComponent("el-tree-v2");
11083
11076
  const _component_ElsFormNode = resolveComponent("ElsFormNode");
11084
11077
  const _directive_loading = resolveDirective("loading");
11085
- return openBlock(), createElementBlock("div", _hoisted_1$1m, [
11086
- createElementVNode("div", _hoisted_2$16, [
11078
+ return openBlock(), createElementBlock("div", _hoisted_1$1k, [
11079
+ createElementVNode("div", _hoisted_2$15, [
11087
11080
  createVNode(_component_ElsFormNode, normalizeProps(guardReactiveProps(unref(formNodeProps))), {
11088
11081
  default: withCtx(() => [
11089
11082
  _ctx.filterable ? (openBlock(), createBlock(_component_el_input, {
@@ -11136,7 +11129,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
11136
11129
  }, () => [
11137
11130
  createTextVNode(toDisplayString(node.label), 1)
11138
11131
  ], true)
11139
- ], 42, _hoisted_3$N)) : (openBlock(), createElementBlock("div", {
11132
+ ], 42, _hoisted_3$M)) : (openBlock(), createElementBlock("div", {
11140
11133
  key: 1,
11141
11134
  class: normalizeClass({ "els-tree-selected ": viewData.value && viewData.value[_ctx.valueField] == data.sourceData[_ctx.valueField] })
11142
11135
  }, [
@@ -11212,11 +11205,11 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
11212
11205
  };
11213
11206
  }
11214
11207
  });
11215
- const Tree = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["__scopeId", "data-v-6478f4df"]]);
11208
+ const Tree = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-6478f4df"]]);
11216
11209
  const ElsTree = withInstall(Tree);
11217
- const _hoisted_1$1l = { class: "els-node" };
11218
- const _hoisted_2$15 = ["onDblclick"];
11219
- const _sfc_main$1O = /* @__PURE__ */ defineComponent({
11210
+ const _hoisted_1$1j = { class: "els-node" };
11211
+ const _hoisted_2$14 = ["onDblclick"];
11212
+ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
11220
11213
  ...{ name: "ElsTreeSelect", inheritAttrs: false },
11221
11214
  __name: "treeSelect",
11222
11215
  props: treeProps,
@@ -11707,7 +11700,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
11707
11700
  const _component_el_tree_select = resolveComponent("el-tree-select");
11708
11701
  const _component_ElsFormNode = resolveComponent("ElsFormNode");
11709
11702
  const _directive_loading = resolveDirective("loading");
11710
- return openBlock(), createElementBlock("div", _hoisted_1$1l, [
11703
+ return openBlock(), createElementBlock("div", _hoisted_1$1j, [
11711
11704
  createVNode(_component_ElsFormNode, normalizeProps(guardReactiveProps(unref(formNodeProps))), {
11712
11705
  default: withCtx(() => [
11713
11706
  withDirectives((openBlock(), createBlock(_component_el_tree_select, mergeProps({
@@ -11739,7 +11732,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
11739
11732
  unref(currMultiple) ? (openBlock(), createElementBlock("span", {
11740
11733
  key: 0,
11741
11734
  onDblclick: ($event) => handleAllSelect(node)
11742
- }, toDisplayString(node.label), 41, _hoisted_2$15)) : (openBlock(), createElementBlock("span", {
11735
+ }, toDisplayString(node.label), 41, _hoisted_2$14)) : (openBlock(), createElementBlock("span", {
11743
11736
  key: 1,
11744
11737
  class: normalizeClass({ "els-tree-selected": viewData.value && viewData.value[_ctx.valueField] == data.sourceData[_ctx.valueField] })
11745
11738
  }, [
@@ -11764,7 +11757,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
11764
11757
  };
11765
11758
  }
11766
11759
  });
11767
- const TreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["__scopeId", "data-v-b31deac0"]]);
11760
+ const TreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["__scopeId", "data-v-b31deac0"]]);
11768
11761
  const ElsTreeSelect = withInstall(TreeSelect);
11769
11762
  const menuProps = buildProps({
11770
11763
  ...menuProps$1,
@@ -11833,11 +11826,11 @@ const menuEmits = {
11833
11826
  click: (item) => {
11834
11827
  }
11835
11828
  };
11836
- const _hoisted_1$1k = {
11829
+ const _hoisted_1$1i = {
11837
11830
  key: 0,
11838
11831
  class: "menu-filterable"
11839
11832
  };
11840
- const _sfc_main$1N = /* @__PURE__ */ defineComponent({
11833
+ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
11841
11834
  ...{ name: "ElsMenu", inheritAttrs: false },
11842
11835
  __name: "menu",
11843
11836
  props: menuProps,
@@ -12070,7 +12063,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
12070
12063
  default: withCtx(() => [
12071
12064
  createVNode(_component_el_collapse_transition, null, {
12072
12065
  default: withCtx(() => [
12073
- _ctx.filterable && (_ctx.url || _ctx.data) ? (openBlock(), createElementBlock("span", _hoisted_1$1k, [
12066
+ _ctx.filterable && (_ctx.url || _ctx.data) ? (openBlock(), createElementBlock("span", _hoisted_1$1i, [
12074
12067
  createVNode(_component_el_input, {
12075
12068
  modelValue: searchKey.value,
12076
12069
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchKey.value = $event),
@@ -12097,7 +12090,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
12097
12090
  };
12098
12091
  }
12099
12092
  });
12100
- const ElsMenu = withInstall(_sfc_main$1N);
12093
+ const ElsMenu = withInstall(_sfc_main$1G);
12101
12094
  const menuItemProps = buildProps({
12102
12095
  ...menuItemProps$1,
12103
12096
  /**
@@ -12113,10 +12106,10 @@ const menuItemProps = buildProps({
12113
12106
  type: Object
12114
12107
  }
12115
12108
  });
12116
- const _hoisted_1$1j = ["title"];
12117
- const _hoisted_2$14 = ["title"];
12118
- const _hoisted_3$M = ["title"];
12119
- const _sfc_main$1M = /* @__PURE__ */ defineComponent({
12109
+ const _hoisted_1$1h = ["title"];
12110
+ const _hoisted_2$13 = ["title"];
12111
+ const _hoisted_3$L = ["title"];
12112
+ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
12120
12113
  ...{ name: "ElsMenuItem", inheritAttrs: false },
12121
12114
  __name: "menuItem",
12122
12115
  props: menuItemProps,
@@ -12151,7 +12144,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
12151
12144
  _ctx.item.label ? (openBlock(), createElementBlock("span", {
12152
12145
  key: 0,
12153
12146
  title: _ctx.item.label
12154
- }, toDisplayString(_ctx.item.label), 9, _hoisted_1$1j)) : createCommentVNode("", true)
12147
+ }, toDisplayString(_ctx.item.label), 9, _hoisted_1$1h)) : createCommentVNode("", true)
12155
12148
  ]),
12156
12149
  default: withCtx(() => [
12157
12150
  _ctx.item.icon ? (openBlock(), createBlock(_component_el_icon, { key: 0 }, {
@@ -12180,7 +12173,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
12180
12173
  _ctx.item.label ? (openBlock(), createElementBlock("span", {
12181
12174
  key: 0,
12182
12175
  title: _ctx.item.label
12183
- }, toDisplayString(_ctx.item.label), 9, _hoisted_2$14)) : createCommentVNode("", true)
12176
+ }, toDisplayString(_ctx.item.label), 9, _hoisted_2$13)) : createCommentVNode("", true)
12184
12177
  ], 2)
12185
12178
  ]),
12186
12179
  default: withCtx(() => [
@@ -12200,7 +12193,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
12200
12193
  citem.label ? (openBlock(), createElementBlock("span", {
12201
12194
  key: 0,
12202
12195
  title: citem.label
12203
- }, toDisplayString(citem.label), 9, _hoisted_3$M)) : createCommentVNode("", true)
12196
+ }, toDisplayString(citem.label), 9, _hoisted_3$L)) : createCommentVNode("", true)
12204
12197
  ]),
12205
12198
  default: withCtx(() => [
12206
12199
  citem.icon ? (openBlock(), createBlock(_component_el_icon, { key: 0 }, {
@@ -12221,7 +12214,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
12221
12214
  };
12222
12215
  }
12223
12216
  });
12224
- const ElsMenuItem = withInstall(_sfc_main$1M);
12217
+ const ElsMenuItem = withInstall(_sfc_main$1F);
12225
12218
  const subMenuProps = buildProps({
12226
12219
  ...subMenuProps$1,
12227
12220
  /**
@@ -12229,7 +12222,7 @@ const subMenuProps = buildProps({
12229
12222
  */
12230
12223
  title: String
12231
12224
  });
12232
- const _sfc_main$1L = /* @__PURE__ */ defineComponent({
12225
+ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
12233
12226
  ...{ name: "ElsSubMenu", inheritAttrs: false },
12234
12227
  __name: "subMenu",
12235
12228
  props: subMenuProps,
@@ -12251,7 +12244,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
12251
12244
  };
12252
12245
  }
12253
12246
  });
12254
- const ElsMenuSub = withInstall(_sfc_main$1L);
12247
+ const ElsMenuSub = withInstall(_sfc_main$1E);
12255
12248
  const switchProps = buildProps({
12256
12249
  ...formItemProps$1,
12257
12250
  ...switchProps$1,
@@ -12274,7 +12267,7 @@ const switchProps = buildProps({
12274
12267
  default: 0
12275
12268
  }
12276
12269
  });
12277
- const _sfc_main$1K = /* @__PURE__ */ defineComponent({
12270
+ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
12278
12271
  ...{
12279
12272
  name: "ElsSwitch",
12280
12273
  inheritAttrs: false
@@ -12326,7 +12319,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
12326
12319
  };
12327
12320
  }
12328
12321
  });
12329
- const ElsSwitch = withInstall(_sfc_main$1K);
12322
+ const ElsSwitch = withInstall(_sfc_main$1D);
12330
12323
  const imageProps = buildProps({
12331
12324
  ...imageProps$1,
12332
12325
  /**
@@ -12384,12 +12377,12 @@ const imageProps = buildProps({
12384
12377
  */
12385
12378
  onSwitch: Function
12386
12379
  });
12387
- const _hoisted_1$1i = {
12380
+ const _hoisted_1$1g = {
12388
12381
  key: 0,
12389
12382
  class: "leo_image_empty"
12390
12383
  };
12391
- const _hoisted_2$13 = ["width"];
12392
- const _hoisted_3$L = /* @__PURE__ */ createElementVNode("path", {
12384
+ const _hoisted_2$12 = ["width"];
12385
+ const _hoisted_3$K = /* @__PURE__ */ createElementVNode("path", {
12393
12386
  d: "M345.15968 357.80096a48.54784 48.54784 0 1 0 48.52736 48.54784 48.58368 48.58368 0 0 0-48.52736-48.54784zM844.68736 174.08H184.43264A102.656 102.656 0 0 0 81.92 276.64896v470.70208A102.656 102.656 0 0 0 184.43264 849.92h660.25472A102.65088 102.65088 0 0 0 947.2 747.35104V276.64896A102.65088 102.65088 0 0 0 844.68736 174.08zM345.15968 295.02976a111.32416 111.32416 0 1 1-111.2576 111.31904 111.42144 111.42144 0 0 1 111.2576-111.31904z m-72.45312 444.544l-42.496-46.17728 174.71488-161.0496L483.88096 611.328l-44.35968 44.39552-36.38272-36.4032z m517.6064-25.12896l-134.55872-151.552-171.12064 183.42912L438.784 703.488l218.112-233.82016 180.3264 203.10016z",
12394
12387
  fill: "#7da3cc",
12395
12388
  "p-id": "4593",
@@ -12397,10 +12390,10 @@ const _hoisted_3$L = /* @__PURE__ */ createElementVNode("path", {
12397
12390
  class: "selected"
12398
12391
  }, null, -1);
12399
12392
  const _hoisted_4$B = [
12400
- _hoisted_3$L
12393
+ _hoisted_3$K
12401
12394
  ];
12402
12395
  const _hoisted_5$o = ["innerHTML"];
12403
- const _sfc_main$1J = /* @__PURE__ */ defineComponent({
12396
+ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
12404
12397
  ...{ name: "ElsImage", inheritAttrs: false },
12405
12398
  __name: "image",
12406
12399
  props: imageProps,
@@ -12449,7 +12442,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
12449
12442
  const _component_el_image = resolveComponent("el-image");
12450
12443
  const _component_els_image_viewer = resolveComponent("els-image-viewer");
12451
12444
  return openBlock(), createElementBlock(Fragment, null, [
12452
- !_ctx.url ? (openBlock(), createElementBlock("div", _hoisted_1$1i, [
12445
+ !_ctx.url ? (openBlock(), createElementBlock("div", _hoisted_1$1g, [
12453
12446
  (openBlock(), createElementBlock("svg", {
12454
12447
  t: "1626166549727",
12455
12448
  class: "icon",
@@ -12458,16 +12451,17 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
12458
12451
  xmlns: "http://www.w3.org/2000/svg",
12459
12452
  "p-id": "4592",
12460
12453
  width: _ctx.width
12461
- }, _hoisted_4$B, 8, _hoisted_2$13)),
12454
+ }, _hoisted_4$B, 8, _hoisted_2$12)),
12462
12455
  _ctx.emptyDesc ? (openBlock(), createElementBlock("div", {
12463
12456
  key: 0,
12464
12457
  innerHTML: _ctx.emptyDesc,
12465
12458
  class: "leo_image_empty_desc"
12466
12459
  }, null, 8, _hoisted_5$o)) : createCommentVNode("", true)
12467
12460
  ])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(thumbnailPicUrls.value, (item, index) => {
12461
+ var _a, _b;
12468
12462
  return openBlock(), createBlock(_component_el_image, mergeProps({ ref_for: true }, props, {
12469
12463
  src: item,
12470
- style: [{ width: _ctx.width.appendPx() }, { height: _ctx.height.appendPx() }, { cursor: _ctx.isPreview ? "zoom-in" : "default" }],
12464
+ style: [{ width: (_a = _ctx.width) == null ? void 0 : _a.appendPx() }, { height: (_b = _ctx.height) == null ? void 0 : _b.appendPx() }, { cursor: _ctx.isPreview ? "zoom-in" : "default" }],
12471
12465
  onClick: ($event) => preview(item, index)
12472
12466
  }), {
12473
12467
  placeholder: withCtx(() => [
@@ -12508,7 +12502,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
12508
12502
  };
12509
12503
  }
12510
12504
  });
12511
- const ElsImage = withInstall(_sfc_main$1J);
12505
+ const ElsImage = withInstall(_sfc_main$1C);
12512
12506
  const imageViewerProps = buildProps({
12513
12507
  ...imageViewerProps$1,
12514
12508
  /**
@@ -12529,7 +12523,7 @@ const imageViewerProps = buildProps({
12529
12523
  default: "$"
12530
12524
  }
12531
12525
  });
12532
- const _sfc_main$1I = /* @__PURE__ */ defineComponent({
12526
+ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
12533
12527
  ...{ name: "ElsImageViewer", inheritAttrs: false },
12534
12528
  __name: "imageViewer",
12535
12529
  props: imageViewerProps,
@@ -12619,7 +12613,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
12619
12613
  };
12620
12614
  }
12621
12615
  });
12622
- const ElsImageViewer = withInstall(_sfc_main$1I);
12616
+ const ElsImageViewer = withInstall(_sfc_main$1B);
12623
12617
  const autocompleteProps = buildProps({
12624
12618
  ...formItemProps$1,
12625
12619
  ...autocompleteProps$1,
@@ -12654,7 +12648,7 @@ const autocompleteProps = buildProps({
12654
12648
  remote: Boolean,
12655
12649
  fetchSuggestions: Function
12656
12650
  });
12657
- const _sfc_main$1H = /* @__PURE__ */ defineComponent({
12651
+ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
12658
12652
  ...{ name: "ElsAutocomplete", inheritAttrs: false },
12659
12653
  __name: "autocomplete",
12660
12654
  props: autocompleteProps,
@@ -12769,7 +12763,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
12769
12763
  };
12770
12764
  }
12771
12765
  });
12772
- const ElsAutocomplete = withInstall(_sfc_main$1H);
12766
+ const ElsAutocomplete = withInstall(_sfc_main$1A);
12773
12767
  const cascaderProps = buildProps({
12774
12768
  ...formItemProps$1,
12775
12769
  ...cascaderProps$1,
@@ -12919,7 +12913,7 @@ const cascaderProps = buildProps({
12919
12913
  */
12920
12914
  onChange: Function
12921
12915
  });
12922
- const _sfc_main$1G = /* @__PURE__ */ defineComponent({
12916
+ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
12923
12917
  ...{ name: "ElsCascader", inheritAttrs: false },
12924
12918
  __name: "cascader",
12925
12919
  props: cascaderProps,
@@ -13167,8 +13161,8 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
13167
13161
  };
13168
13162
  }
13169
13163
  });
13170
- const ElsCascader = withInstall(_sfc_main$1G);
13171
- const _sfc_main$1F = /* @__PURE__ */ defineComponent({
13164
+ const ElsCascader = withInstall(_sfc_main$1z);
13165
+ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
13172
13166
  ...{ name: "ElsCascaderPanel" },
13173
13167
  __name: "cascaderPannel",
13174
13168
  props: cascaderProps,
@@ -13187,7 +13181,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
13187
13181
  selectValue.value = val;
13188
13182
  }, { immediate: true });
13189
13183
  return (_ctx, _cache) => {
13190
- return openBlock(), createBlock(_sfc_main$1G, mergeProps({
13184
+ return openBlock(), createBlock(_sfc_main$1z, mergeProps({
13191
13185
  modelValue: selectValue.value,
13192
13186
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectValue.value = $event)
13193
13187
  }, props, { isPanel: true }), {
@@ -13207,7 +13201,7 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
13207
13201
  };
13208
13202
  }
13209
13203
  });
13210
- const ElsCascaderPanel = withInstall(_sfc_main$1F);
13204
+ const ElsCascaderPanel = withInstall(_sfc_main$1y);
13211
13205
  const dialogProps = buildProps({
13212
13206
  ...dialogProps$1,
13213
13207
  /**
@@ -13257,9 +13251,9 @@ const dialogProps = buildProps({
13257
13251
  */
13258
13252
  cancel: Function
13259
13253
  });
13260
- const _hoisted_1$1h = ["src"];
13261
- const _hoisted_2$12 = ["src"];
13262
- const _sfc_main$1E = /* @__PURE__ */ defineComponent({
13254
+ const _hoisted_1$1f = ["src"];
13255
+ const _hoisted_2$11 = ["src"];
13256
+ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
13263
13257
  ...{
13264
13258
  name: "ElsDialog"
13265
13259
  },
@@ -13403,7 +13397,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
13403
13397
  src: dialogUrl.value,
13404
13398
  frameborder: "0",
13405
13399
  style: normalizeStyle(contentStyle.value)
13406
- }, null, 12, _hoisted_1$1h)) : createCommentVNode("", true)
13400
+ }, null, 12, _hoisted_1$1f)) : createCommentVNode("", true)
13407
13401
  ])
13408
13402
  ], 4)), [
13409
13403
  [_directive_loading, pageLoading.value]
@@ -13437,7 +13431,7 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
13437
13431
  src: dialogUrl.value,
13438
13432
  frameborder: "0",
13439
13433
  style: normalizeStyle(contentStyle.value)
13440
- }, null, 12, _hoisted_2$12)) : createCommentVNode("", true)
13434
+ }, null, 12, _hoisted_2$11)) : createCommentVNode("", true)
13441
13435
  ])
13442
13436
  ], 4)), [
13443
13437
  [_directive_loading, pageLoading.value]
@@ -13489,9 +13483,9 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
13489
13483
  };
13490
13484
  }
13491
13485
  });
13492
- const ElsDialog = withInstall(_sfc_main$1E);
13493
- const _hoisted_1$1g = ["src"];
13494
- const _sfc_main$1D = /* @__PURE__ */ defineComponent({
13486
+ const ElsDialog = withInstall(_sfc_main$1x);
13487
+ const _hoisted_1$1e = ["src"];
13488
+ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
13495
13489
  ...{
13496
13490
  name: "ElsDrawer"
13497
13491
  },
@@ -13556,7 +13550,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
13556
13550
  src: _ctx.url,
13557
13551
  frameborder: "0",
13558
13552
  style: { "height": "calc(100vh - 48px)", "width": "100%" }
13559
- }, null, 8, _hoisted_1$1g)) : createCommentVNode("", true)
13553
+ }, null, 8, _hoisted_1$1e)) : createCommentVNode("", true)
13560
13554
  ])
13561
13555
  ]),
13562
13556
  _: 2
@@ -13594,7 +13588,7 @@ const drawerProps = buildProps({
13594
13588
  */
13595
13589
  initBody: Boolean
13596
13590
  });
13597
- const ElsDrawer = withInstall(_sfc_main$1D);
13591
+ const ElsDrawer = withInstall(_sfc_main$1w);
13598
13592
  const dropdownProps = buildProps({
13599
13593
  ...dropdownProps$1,
13600
13594
  /**
@@ -13652,10 +13646,10 @@ const dropdownProps = buildProps({
13652
13646
  */
13653
13647
  placeholder: String
13654
13648
  });
13655
- const _hoisted_1$1f = { class: "el-dropdown-link" };
13656
- const _hoisted_2$11 = ["innerHTML"];
13657
- const _hoisted_3$K = ["innerHTML"];
13658
- const _sfc_main$1C = /* @__PURE__ */ defineComponent({
13649
+ const _hoisted_1$1d = { class: "el-dropdown-link" };
13650
+ const _hoisted_2$10 = ["innerHTML"];
13651
+ const _hoisted_3$J = ["innerHTML"];
13652
+ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
13659
13653
  ...{
13660
13654
  name: "ElsDropdown"
13661
13655
  },
@@ -13819,8 +13813,8 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
13819
13813
  ]),
13820
13814
  default: withCtx(() => [
13821
13815
  renderSlot(_ctx.$slots, "default", {}, () => [
13822
- createElementVNode("span", _hoisted_1$1f, [
13823
- createElementVNode("span", { innerHTML: showTitle.value }, null, 8, _hoisted_2$11),
13816
+ createElementVNode("span", _hoisted_1$1d, [
13817
+ createElementVNode("span", { innerHTML: showTitle.value }, null, 8, _hoisted_2$10),
13824
13818
  createVNode(_component_el_icon, { class: "el-icon--right" }, {
13825
13819
  default: withCtx(() => [
13826
13820
  createVNode(_component_arrow_down)
@@ -13848,7 +13842,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
13848
13842
  name: "title",
13849
13843
  fn: withCtx(() => [
13850
13844
  renderSlot(_ctx.$slots, "default", {}, () => [
13851
- createElementVNode("span", { innerHTML: _ctx.title }, null, 8, _hoisted_3$K)
13845
+ createElementVNode("span", { innerHTML: _ctx.title }, null, 8, _hoisted_3$J)
13852
13846
  ])
13853
13847
  ]),
13854
13848
  key: "0"
@@ -13857,11 +13851,11 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
13857
13851
  };
13858
13852
  }
13859
13853
  });
13860
- const _hoisted_1$1e = {
13854
+ const _hoisted_1$1c = {
13861
13855
  key: 0,
13862
13856
  class: "els-dropdown-group"
13863
13857
  };
13864
- const _sfc_main$1B = /* @__PURE__ */ defineComponent({
13858
+ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
13865
13859
  ...{
13866
13860
  name: "ElsDropdownGroup",
13867
13861
  inheritAttrs: false
@@ -13877,7 +13871,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
13877
13871
  });
13878
13872
  return (_ctx, _cache) => {
13879
13873
  const _component_van_dropdown_menu = resolveComponent("van-dropdown-menu");
13880
- return !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1$1e, [
13874
+ return !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1$1c, [
13881
13875
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
13882
13876
  ])) : (openBlock(), createBlock(_component_van_dropdown_menu, normalizeProps(mergeProps({ key: 1 }, unref(attrs))), {
13883
13877
  default: withCtx(() => [
@@ -13888,8 +13882,8 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
13888
13882
  };
13889
13883
  }
13890
13884
  });
13891
- const DropdownGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__scopeId", "data-v-427e7d46"]]);
13892
- const ElsDropdown = withInstall(_sfc_main$1C);
13885
+ const DropdownGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__scopeId", "data-v-427e7d46"]]);
13886
+ const ElsDropdown = withInstall(_sfc_main$1v);
13893
13887
  const ElsDropdownGroup = withInstall(DropdownGroup);
13894
13888
  const sliderProps = buildProps({
13895
13889
  ...formItemProps$1,
@@ -13902,7 +13896,7 @@ const sliderProps = buildProps({
13902
13896
  default: ","
13903
13897
  }
13904
13898
  });
13905
- const _sfc_main$1A = /* @__PURE__ */ defineComponent({
13899
+ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
13906
13900
  ...{ name: "ElsSlider", inheritAttrs: false },
13907
13901
  __name: "slider",
13908
13902
  props: sliderProps,
@@ -13948,14 +13942,14 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
13948
13942
  };
13949
13943
  }
13950
13944
  });
13951
- const ElsSlider = withInstall(_sfc_main$1A);
13945
+ const ElsSlider = withInstall(_sfc_main$1t);
13952
13946
  const inputNumberProps = buildProps({
13953
13947
  ...formItemProps$1,
13954
13948
  ...inputNumberProps$1,
13955
13949
  modelValue: Number,
13956
13950
  width: String
13957
13951
  });
13958
- const _sfc_main$1z = /* @__PURE__ */ defineComponent({
13952
+ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
13959
13953
  ...{
13960
13954
  name: "ElsInputNumber",
13961
13955
  inheritAttrs: false
@@ -14013,7 +14007,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
14013
14007
  };
14014
14008
  }
14015
14009
  });
14016
- const ElsInputNumber = withInstall(_sfc_main$1z);
14010
+ const ElsInputNumber = withInstall(_sfc_main$1s);
14017
14011
  const uploadProps = buildProps({
14018
14012
  ...formItemProps$1,
14019
14013
  ...uploadProps$1,
@@ -14134,16 +14128,16 @@ const uploadProps = buildProps({
14134
14128
  default: void 0
14135
14129
  }
14136
14130
  });
14137
- const _hoisted_1$1d = {
14131
+ const _hoisted_1$1b = {
14138
14132
  key: 0,
14139
14133
  class: "els_upload_container"
14140
14134
  };
14141
- const _hoisted_2$10 = { class: "elsupload-img" };
14142
- const _hoisted_3$J = ["src"];
14135
+ const _hoisted_2$$ = { class: "elsupload-img" };
14136
+ const _hoisted_3$I = ["src"];
14143
14137
  const _hoisted_4$A = { class: "els_upload-menus" };
14144
14138
  const _hoisted_5$n = ["width", "height", "src"];
14145
14139
  const _hoisted_6$h = { class: "els_upload-menus" };
14146
- const _sfc_main$1y = /* @__PURE__ */ defineComponent({
14140
+ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
14147
14141
  ...{
14148
14142
  name: "ElsUpload",
14149
14143
  inheritAttrs: false
@@ -14452,7 +14446,7 @@ ${res[apiConfig.$messageField]}` });
14452
14446
  childType: "Upload"
14453
14447
  }), {
14454
14448
  default: withCtx(() => [
14455
- !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1$1d, [
14449
+ !unref(isMobile) ? (openBlock(), createElementBlock("div", _hoisted_1$1b, [
14456
14450
  createVNode(_component_el_upload, mergeProps({
14457
14451
  ref_key: "fileUpload",
14458
14452
  ref: fileUpload
@@ -14504,11 +14498,11 @@ ${res[apiConfig.$messageField]}` });
14504
14498
  style: normalizeStyle([{ width: _ctx.width.appendPx() }, { height: _ctx.height.appendPx() }])
14505
14499
  }, null, 8, ["percentage", "style"])) : createCommentVNode("", true)
14506
14500
  ], 64)) : fileUrl.value ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
14507
- createElementVNode("span", _hoisted_2$10, [
14501
+ createElementVNode("span", _hoisted_2$$, [
14508
14502
  createElementVNode("img", {
14509
14503
  src: fileUrl.value,
14510
14504
  class: "avatar"
14511
- }, null, 8, _hoisted_3$J)
14505
+ }, null, 8, _hoisted_3$I)
14512
14506
  ]),
14513
14507
  createElementVNode("div", _hoisted_4$A, [
14514
14508
  createVNode(_component_el_icon, {
@@ -14685,7 +14679,7 @@ ${res[apiConfig.$messageField]}` });
14685
14679
  };
14686
14680
  }
14687
14681
  });
14688
- const Upload$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-4915c705"]]);
14682
+ const Upload$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-901f97aa"]]);
14689
14683
  const ElsUpload = withInstall(Upload$1);
14690
14684
  const timePickerProps = buildProps({
14691
14685
  ...formItemProps$1,
@@ -14762,7 +14756,7 @@ const timePickerProps = buildProps({
14762
14756
  default: "Date"
14763
14757
  }
14764
14758
  });
14765
- const _sfc_main$1x = /* @__PURE__ */ defineComponent({
14759
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
14766
14760
  ...{
14767
14761
  name: "ElsTimePicker",
14768
14762
  inheritAttrs: false
@@ -14997,7 +14991,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
14997
14991
  };
14998
14992
  }
14999
14993
  });
15000
- const ElsTimePicker = withInstall(_sfc_main$1x);
14994
+ const ElsTimePicker = withInstall(_sfc_main$1q);
15001
14995
  const timePickerRangeProps = buildProps({
15002
14996
  ...timePickerProps,
15003
14997
  /**
@@ -15023,7 +15017,7 @@ const timePickerRangeProps = buildProps({
15023
15017
  default: true
15024
15018
  }
15025
15019
  });
15026
- const _sfc_main$1w = /* @__PURE__ */ defineComponent({
15020
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
15027
15021
  ...{ name: "ElsTimePickerRange", inheritAttrs: false },
15028
15022
  __name: "timePickerRange",
15029
15023
  props: timePickerRangeProps,
@@ -15107,7 +15101,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
15107
15101
  };
15108
15102
  }
15109
15103
  });
15110
- const ElsTimePickerRange = withInstall(_sfc_main$1w);
15104
+ const ElsTimePickerRange = withInstall(_sfc_main$1p);
15111
15105
  const datePickerProps = buildProps({
15112
15106
  ...formItemProps$1,
15113
15107
  ...datePickerProps$1,
@@ -15170,7 +15164,7 @@ const datePickerProps = buildProps({
15170
15164
  type: [String, Array]
15171
15165
  }
15172
15166
  });
15173
- const _sfc_main$1v = /* @__PURE__ */ defineComponent({
15167
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
15174
15168
  ...{ name: "ElsDatePicker", inheritAttrs: false },
15175
15169
  __name: "datePicker",
15176
15170
  props: datePickerProps,
@@ -15637,7 +15631,7 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
15637
15631
  };
15638
15632
  }
15639
15633
  });
15640
- const ElsDatePicker = withInstall(_sfc_main$1v);
15634
+ const ElsDatePicker = withInstall(_sfc_main$1o);
15641
15635
  const datePickerRangeProps = buildProps({
15642
15636
  ...datePickerProps,
15643
15637
  type: { type: String, default: "date" },
@@ -15677,7 +15671,7 @@ const datePickerRangeProps = buildProps({
15677
15671
  type: Array
15678
15672
  }
15679
15673
  });
15680
- const _sfc_main$1u = /* @__PURE__ */ defineComponent({
15674
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
15681
15675
  ...{ name: "ElsDatePickerRange", inheritAttrs: false },
15682
15676
  __name: "datePickerRange",
15683
15677
  props: datePickerRangeProps,
@@ -15745,12 +15739,12 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
15745
15739
  };
15746
15740
  }
15747
15741
  });
15748
- const ElsDatePickerRange = withInstall(_sfc_main$1u);
15742
+ const ElsDatePickerRange = withInstall(_sfc_main$1n);
15749
15743
  const collapseTransitionProps = buildProps({
15750
15744
  visible: Boolean
15751
15745
  });
15752
- const _hoisted_1$1c = { key: 0 };
15753
- const _sfc_main$1t = /* @__PURE__ */ defineComponent({
15746
+ const _hoisted_1$1a = { key: 0 };
15747
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
15754
15748
  ...{ name: "ElsCollapseTransition" },
15755
15749
  __name: "collapseTransition",
15756
15750
  props: collapseTransitionProps,
@@ -15759,7 +15753,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
15759
15753
  const _component_el_collapse_transition = resolveComponent("el-collapse-transition");
15760
15754
  return openBlock(), createBlock(_component_el_collapse_transition, null, {
15761
15755
  default: withCtx(() => [
15762
- _ctx.visible ? (openBlock(), createElementBlock("div", _hoisted_1$1c, [
15756
+ _ctx.visible ? (openBlock(), createElementBlock("div", _hoisted_1$1a, [
15763
15757
  renderSlot(_ctx.$slots, "default")
15764
15758
  ])) : createCommentVNode("", true)
15765
15759
  ]),
@@ -15768,7 +15762,7 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
15768
15762
  };
15769
15763
  }
15770
15764
  });
15771
- const ElsCollapseTransition = withInstall(_sfc_main$1t);
15765
+ const ElsCollapseTransition = withInstall(_sfc_main$1m);
15772
15766
  const tabsProps = buildProps({
15773
15767
  ...tabsProps$1,
15774
15768
  /**
@@ -15849,11 +15843,11 @@ const tabsProps = buildProps({
15849
15843
  default: "未知选项"
15850
15844
  }
15851
15845
  });
15852
- const _hoisted_1$1b = {
15846
+ const _hoisted_1$19 = {
15853
15847
  class: "els-node",
15854
15848
  style: { "--margin-bottom": "0px" }
15855
15849
  };
15856
- const _sfc_main$1s = /* @__PURE__ */ defineComponent({
15850
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
15857
15851
  ...{
15858
15852
  name: "ElsTabs",
15859
15853
  inheritAttrs: false
@@ -16078,7 +16072,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
16078
16072
  return (_ctx, _cache) => {
16079
16073
  const _component_els_option = resolveComponent("els-option");
16080
16074
  const _component_el_tabs = resolveComponent("el-tabs");
16081
- return openBlock(), createElementBlock("div", _hoisted_1$1b, [
16075
+ return openBlock(), createElementBlock("div", _hoisted_1$19, [
16082
16076
  createVNode(_component_el_tabs, mergeProps({
16083
16077
  modelValue: selectValue.value,
16084
16078
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectValue.value = $event),
@@ -16139,7 +16133,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
16139
16133
  };
16140
16134
  }
16141
16135
  });
16142
- const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-83f72604"]]);
16136
+ const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-4df87fae"]]);
16143
16137
  const ElsTabs = withInstall(Tabs);
16144
16138
  const colorPickerProps = buildProps({
16145
16139
  ...formItemProps$1,
@@ -16156,9 +16150,9 @@ const colorPickerProps = buildProps({
16156
16150
  default: "150px"
16157
16151
  }
16158
16152
  });
16159
- const _hoisted_1$1a = { class: "els-node" };
16160
- const _hoisted_2$$ = { class: "els-color-picker" };
16161
- const _sfc_main$1r = /* @__PURE__ */ defineComponent({
16153
+ const _hoisted_1$18 = { class: "els-node" };
16154
+ const _hoisted_2$_ = { class: "els-color-picker" };
16155
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
16162
16156
  ...{
16163
16157
  name: "ElsColorPicker",
16164
16158
  inheritAttrs: false
@@ -16185,13 +16179,13 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
16185
16179
  const _component_el_input = resolveComponent("el-input");
16186
16180
  const _component_el_color_picker = resolveComponent("el-color-picker");
16187
16181
  const _component_ElsFormNode = resolveComponent("ElsFormNode");
16188
- return openBlock(), createElementBlock("div", _hoisted_1$1a, [
16182
+ return openBlock(), createElementBlock("div", _hoisted_1$18, [
16189
16183
  createVNode(_component_ElsFormNode, mergeProps(unref(formNodeProps), {
16190
16184
  ref_key: "formNode",
16191
16185
  ref: formNode
16192
16186
  }), {
16193
16187
  default: withCtx(() => [
16194
- createElementVNode("div", _hoisted_2$$, [
16188
+ createElementVNode("div", _hoisted_2$_, [
16195
16189
  createVNode(_component_el_input, {
16196
16190
  modelValue: currValue.value,
16197
16191
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => currValue.value = $event),
@@ -16209,7 +16203,7 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
16209
16203
  };
16210
16204
  }
16211
16205
  });
16212
- const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__scopeId", "data-v-f6b8402e"]]);
16206
+ const ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-f6b8402e"]]);
16213
16207
  const ElsColorPicker = withInstall(ColorPicker);
16214
16208
  const menuContextProps = buildProps({
16215
16209
  /**
@@ -16238,9 +16232,9 @@ const menuContextProps = buildProps({
16238
16232
  */
16239
16233
  onClick: Function
16240
16234
  });
16241
- const _hoisted_1$19 = ["onClick"];
16242
- const _hoisted_2$_ = { class: "els-context-info" };
16243
- const _sfc_main$1q = /* @__PURE__ */ defineComponent({
16235
+ const _hoisted_1$17 = ["onClick"];
16236
+ const _hoisted_2$Z = { class: "els-context-info" };
16237
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
16244
16238
  ...{ name: "ElsMenuContext", inheritAttrs: false },
16245
16239
  __name: "menuContext",
16246
16240
  props: /* @__PURE__ */ mergeModels(menuContextProps, {
@@ -16307,8 +16301,8 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
16307
16301
  createElementVNode("i", {
16308
16302
  class: normalizeClass(item[unref(iconFieldname)])
16309
16303
  }, null, 2),
16310
- createElementVNode("span", _hoisted_2$_, toDisplayString(item[unref(nameFieldname)]), 1)
16311
- ], 8, _hoisted_1$19);
16304
+ createElementVNode("span", _hoisted_2$Z, toDisplayString(item[unref(nameFieldname)]), 1)
16305
+ ], 8, _hoisted_1$17);
16312
16306
  }), 128))
16313
16307
  ], 6)), [
16314
16308
  [vShow, modelValue.value]
@@ -16316,7 +16310,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
16316
16310
  };
16317
16311
  }
16318
16312
  });
16319
- const MenuContext = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__scopeId", "data-v-e0c03318"]]);
16313
+ const MenuContext = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-e0c03318"]]);
16320
16314
  const ElsMenuContext = withInstall(MenuContext);
16321
16315
  const menuDropdownProps = buildProps({
16322
16316
  /**
@@ -16346,13 +16340,13 @@ const menuDropdownProps = buildProps({
16346
16340
  */
16347
16341
  onClick: Function
16348
16342
  });
16349
- const _hoisted_1$18 = {
16343
+ const _hoisted_1$16 = {
16350
16344
  key: 0,
16351
16345
  class: "els-table-operate"
16352
16346
  };
16353
- const _hoisted_2$Z = { class: "els-table-operate-link" };
16354
- const _hoisted_3$I = ["onClick"];
16355
- const _sfc_main$1p = /* @__PURE__ */ defineComponent({
16347
+ const _hoisted_2$Y = { class: "els-table-operate-link" };
16348
+ const _hoisted_3$H = ["onClick"];
16349
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
16356
16350
  ...{ name: "ElsMenuDropdown" },
16357
16351
  __name: "menuDropdown",
16358
16352
  props: menuDropdownProps,
@@ -16403,7 +16397,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
16403
16397
  const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
16404
16398
  const _component_el_dropdown = resolveComponent("el-dropdown");
16405
16399
  const _component_el_dialog = resolveComponent("el-dialog");
16406
- return unref(nameFieldname) ? (openBlock(), createElementBlock("div", _hoisted_1$18, [
16400
+ return unref(nameFieldname) ? (openBlock(), createElementBlock("div", _hoisted_1$16, [
16407
16401
  unref(isMobile) ? (openBlock(), createBlock(_component_el_link, {
16408
16402
  key: 0,
16409
16403
  type: "primary",
@@ -16453,7 +16447,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
16453
16447
  })
16454
16448
  ]),
16455
16449
  default: withCtx(() => [
16456
- createElementVNode("span", _hoisted_2$Z, [
16450
+ createElementVNode("span", _hoisted_2$Y, [
16457
16451
  createTextVNode(toDisplayString(_ctx.unFoldCount > 0 ? "更多操作" : "操作") + " ", 1),
16458
16452
  createVNode(_component_el_icon, { class: "el-icon--right" }, {
16459
16453
  default: withCtx(() => [
@@ -16493,7 +16487,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
16493
16487
  class: "center",
16494
16488
  onClick: ($event) => menuCommand(item),
16495
16489
  style: { "line-height": "50px", "border-bottom": "1px solid #dcdcdc" }
16496
- }, toDisplayString(item.MenuName), 9, _hoisted_3$I);
16490
+ }, toDisplayString(item.MenuName), 9, _hoisted_3$H);
16497
16491
  }), 256))
16498
16492
  ]),
16499
16493
  _: 1
@@ -16502,7 +16496,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
16502
16496
  };
16503
16497
  }
16504
16498
  });
16505
- const MenuDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__scopeId", "data-v-cb4561d3"]]);
16499
+ const MenuDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-cb4561d3"]]);
16506
16500
  const ElsMenuDropdown = withInstall(MenuDropdown);
16507
16501
  const menuToolProps = buildProps({
16508
16502
  /**
@@ -16553,9 +16547,9 @@ const menuToolProps = buildProps({
16553
16547
  */
16554
16548
  onUploaded: Function
16555
16549
  });
16556
- const _hoisted_1$17 = { class: "els-tool-menu" };
16557
- const _hoisted_2$Y = { class: "els-tool-menu-button" };
16558
- const _hoisted_3$H = {
16550
+ const _hoisted_1$15 = { class: "els-tool-menu" };
16551
+ const _hoisted_2$X = { class: "els-tool-menu-button" };
16552
+ const _hoisted_3$G = {
16559
16553
  key: 0,
16560
16554
  class: "operationlog"
16561
16555
  };
@@ -16568,7 +16562,7 @@ const _hoisted_9$b = /* @__PURE__ */ createElementVNode("div", { class: "el-uplo
16568
16562
  /* @__PURE__ */ createTextVNode("将文件拖到此处,或"),
16569
16563
  /* @__PURE__ */ createElementVNode("em", null, "点击上传")
16570
16564
  ], -1);
16571
- const _sfc_main$1o = /* @__PURE__ */ defineComponent({
16565
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
16572
16566
  ...{ name: "ElsMenuTool" },
16573
16567
  __name: "menuTool",
16574
16568
  props: menuToolProps,
@@ -16726,8 +16720,8 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
16726
16720
  const _component_el_upload = resolveComponent("el-upload");
16727
16721
  const _component_el_dialog = resolveComponent("el-dialog");
16728
16722
  const _component_els_dialog = resolveComponent("els-dialog");
16729
- return openBlock(), createElementBlock("div", _hoisted_1$17, [
16730
- createElementVNode("div", _hoisted_2$Y, [
16723
+ return openBlock(), createElementBlock("div", _hoisted_1$15, [
16724
+ createElementVNode("div", _hoisted_2$X, [
16731
16725
  (openBlock(true), createElementBlock(Fragment, null, renderList(menuData, (menu) => {
16732
16726
  return openBlock(), createBlock(_component_el_button, {
16733
16727
  type: menu[unref(buttonColorFieldname)],
@@ -16834,7 +16828,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
16834
16828
  ]), 1032, ["type", "icon", "native-type", "plain", "round", "circle", "loading", "onClick"]);
16835
16829
  }), 128))
16836
16830
  ]),
16837
- _ctx.mutiSaveUrl || _ctx.logUrl || _ctx.docUrl || _ctx.noteUrl ? (openBlock(), createElementBlock("div", _hoisted_3$H, [
16831
+ _ctx.mutiSaveUrl || _ctx.logUrl || _ctx.docUrl || _ctx.noteUrl ? (openBlock(), createElementBlock("div", _hoisted_3$G, [
16838
16832
  _ctx.mutiSaveUrl && !isTableEdit.value ? (openBlock(), createBlock(_component_el_tooltip, {
16839
16833
  key: 0,
16840
16834
  placement: "bottom-end",
@@ -17003,8 +16997,8 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
17003
16997
  };
17004
16998
  }
17005
16999
  });
17006
- const ElsMenuTool = withInstall(_sfc_main$1o);
17007
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
17000
+ const ElsMenuTool = withInstall(_sfc_main$1h);
17001
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
17008
17002
  ...{ name: "ElsMdPreview" },
17009
17003
  __name: "mdPreview",
17010
17004
  props: {
@@ -17026,7 +17020,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
17026
17020
  };
17027
17021
  }
17028
17022
  });
17029
- const ElsMdPreview = withInstall(_sfc_main$1n);
17023
+ const ElsMdPreview = withInstall(_sfc_main$1g);
17030
17024
  const captionProps = buildProps({
17031
17025
  /**
17032
17026
  * @description 绑定值
@@ -17062,16 +17056,16 @@ const captionProps = buildProps({
17062
17056
  }
17063
17057
  });
17064
17058
  const _withScopeId$1 = (n) => (pushScopeId("data-v-1952f6f8"), n = n(), popScopeId(), n);
17065
- const _hoisted_1$16 = {
17059
+ const _hoisted_1$14 = {
17066
17060
  key: 0,
17067
17061
  class: "els-caption-sub-header"
17068
17062
  };
17069
- const _hoisted_2$X = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("i", { class: "dec" }, null, -1));
17070
- const _hoisted_3$G = [
17071
- _hoisted_2$X
17063
+ const _hoisted_2$W = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("i", { class: "dec" }, null, -1));
17064
+ const _hoisted_3$F = [
17065
+ _hoisted_2$W
17072
17066
  ];
17073
17067
  const _hoisted_4$y = { class: "els-caption-title" };
17074
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
17068
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
17075
17069
  ...{ name: "ElsCaption" },
17076
17070
  __name: "caption",
17077
17071
  props: /* @__PURE__ */ mergeModels(captionProps, {
@@ -17119,7 +17113,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
17119
17113
  key: 0,
17120
17114
  class: normalizeClass(["els-caption", { "els-left-caption": _ctx.type == "left" }])
17121
17115
  }, [
17122
- _ctx.type == "left" ? (openBlock(), createElementBlock("span", _hoisted_1$16, _hoisted_3$G)) : createCommentVNode("", true),
17116
+ _ctx.type == "left" ? (openBlock(), createElementBlock("span", _hoisted_1$14, _hoisted_3$F)) : createCommentVNode("", true),
17123
17117
  createElementVNode("span", _hoisted_4$y, [
17124
17118
  renderSlot(_ctx.$slots, "default", {}, () => [
17125
17119
  createTextVNode(toDisplayString(modelValue.value || _ctx.title), 1)
@@ -17163,7 +17157,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
17163
17157
  };
17164
17158
  }
17165
17159
  });
17166
- const Caption = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-1952f6f8"]]);
17160
+ const Caption = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-1952f6f8"]]);
17167
17161
  const ElsCaption = withInstall(Caption);
17168
17162
  const dataModalProps = buildProps({
17169
17163
  ...formItemProps$1,
@@ -17288,10 +17282,10 @@ const dataModalProps = buildProps({
17288
17282
  default: "change"
17289
17283
  }
17290
17284
  });
17291
- const _hoisted_1$15 = { class: "els-datamodal-custom-inner" };
17292
- const _hoisted_2$W = ["innerHTML"];
17293
- const _hoisted_3$F = ["innerHTML"];
17294
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
17285
+ const _hoisted_1$13 = { class: "els-datamodal-custom-inner" };
17286
+ const _hoisted_2$V = ["innerHTML"];
17287
+ const _hoisted_3$E = ["innerHTML"];
17288
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
17295
17289
  ...{ name: "ElsDataModal", inheritAttrs: false },
17296
17290
  __name: "dataModal",
17297
17291
  props: dataModalProps,
@@ -17306,7 +17300,6 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
17306
17300
  const currSelectData = ref();
17307
17301
  const formNode = ref();
17308
17302
  const dialogVisible = ref(false);
17309
- useAttrs();
17310
17303
  const slots = useSlots();
17311
17304
  const {
17312
17305
  currModelValue,
@@ -17418,9 +17411,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
17418
17411
  }
17419
17412
  return false;
17420
17413
  });
17421
- setValue({
17422
- setSelectValue: handleSelect
17423
- });
17414
+ provide("setSelectValue", handleSelect);
17424
17415
  return (_ctx, _cache) => {
17425
17416
  const _component_el_input = resolveComponent("el-input");
17426
17417
  const _component_el_badge = resolveComponent("el-badge");
@@ -17437,15 +17428,15 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
17437
17428
  key: 0,
17438
17429
  class: "els-datamodal-custom"
17439
17430
  }, _ctx.$attrs), [
17440
- createElementVNode("div", _hoisted_1$15, [
17431
+ createElementVNode("div", _hoisted_1$13, [
17441
17432
  renderSlot(_ctx.$slots, "custom", {}, () => [
17442
17433
  typeof _ctx.custom === "function" ? (openBlock(), createElementBlock("div", {
17443
17434
  key: 0,
17444
17435
  innerHTML: _ctx.custom()
17445
- }, null, 8, _hoisted_2$W)) : _ctx.custom ? (openBlock(), createElementBlock("div", {
17436
+ }, null, 8, _hoisted_2$V)) : _ctx.custom ? (openBlock(), createElementBlock("div", {
17446
17437
  key: 1,
17447
17438
  innerHTML: _ctx.custom
17448
- }, null, 8, _hoisted_3$F)) : createCommentVNode("", true)
17439
+ }, null, 8, _hoisted_3$E)) : createCommentVNode("", true)
17449
17440
  ], true)
17450
17441
  ]),
17451
17442
  _ctx.hasButton ? (openBlock(), createBlock(resolveDynamicComponent(selectButton.value), { key: 0 })) : createCommentVNode("", true)
@@ -17502,9 +17493,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
17502
17493
  };
17503
17494
  }
17504
17495
  });
17505
- const DataModal = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-39b02078"]]);
17496
+ const DataModal = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-3a2e6de8"]]);
17506
17497
  const ElsDataModal = withInstall(DataModal);
17507
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
17498
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
17508
17499
  ...{ name: "ElsButtonSelect" },
17509
17500
  __name: "buttonSelect",
17510
17501
  props: {
@@ -17546,8 +17537,8 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
17546
17537
  };
17547
17538
  }
17548
17539
  });
17549
- const ElsButtonSelect = withInstall(_sfc_main$1k);
17550
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
17540
+ const ElsButtonSelect = withInstall(_sfc_main$1d);
17541
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
17551
17542
  ...{ name: "ElsButtonSearch" },
17552
17543
  __name: "buttonSearch",
17553
17544
  emits: ["click"],
@@ -17593,8 +17584,8 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
17593
17584
  };
17594
17585
  }
17595
17586
  });
17596
- const ElsButtonSearch = withInstall(_sfc_main$1j);
17597
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
17587
+ const ElsButtonSearch = withInstall(_sfc_main$1c);
17588
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
17598
17589
  ...{ name: "ElsButtonExport" },
17599
17590
  __name: "buttonExport",
17600
17591
  props: {
@@ -17635,7 +17626,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
17635
17626
  };
17636
17627
  }
17637
17628
  });
17638
- const ElsButtonExport = withInstall(_sfc_main$1i);
17629
+ const ElsButtonExport = withInstall(_sfc_main$1b);
17639
17630
  const listProps = buildProps({
17640
17631
  /**
17641
17632
  * @description 绑定的列表数据
@@ -17739,9 +17730,9 @@ const listProps = buildProps({
17739
17730
  },
17740
17731
  addButtonText: String
17741
17732
  });
17742
- const _hoisted_1$14 = { class: "els-list-title" };
17743
- const _hoisted_2$V = ["innerHTML"];
17744
- const _hoisted_3$E = { key: 1 };
17733
+ const _hoisted_1$12 = { class: "els-list-title" };
17734
+ const _hoisted_2$U = ["innerHTML"];
17735
+ const _hoisted_3$D = { key: 1 };
17745
17736
  const _hoisted_4$x = ["innerHTML"];
17746
17737
  const _hoisted_5$l = { key: 1 };
17747
17738
  const _hoisted_6$f = { class: "els-list-operate" };
@@ -17752,7 +17743,7 @@ const _hoisted_7$c = {
17752
17743
  };
17753
17744
  const _hoisted_8$b = { class: "els-list-index" };
17754
17745
  const _hoisted_9$a = { class: "els-list-handle" };
17755
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
17746
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
17756
17747
  ...{ name: "ElsList", inheritAttrs: false },
17757
17748
  __name: "list",
17758
17749
  props: /* @__PURE__ */ mergeModels(listProps, {
@@ -17860,7 +17851,6 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
17860
17851
  if (!currItemClassName.value || currItemClassName.value.indexOf("listitem") === -1) {
17861
17852
  currItemClassName.value = props.itemClassName ?? [];
17862
17853
  if (props.itemComponent === "div") {
17863
- console.log("333");
17864
17854
  if (typeof currItemClassName.value === "string") {
17865
17855
  currItemClassName.value += " listitem flex";
17866
17856
  } else {
@@ -17994,13 +17984,13 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
17994
17984
  _ctx.itemComponent ? {
17995
17985
  name: "title",
17996
17986
  fn: withCtx(() => [
17997
- createElementVNode("div", _hoisted_1$14, [
17987
+ createElementVNode("div", _hoisted_1$12, [
17998
17988
  _ctx.itemKey ? renderSlot(_ctx.$slots, "itemTitle", normalizeProps(mergeProps({ key: 0 }, { item: element, index, $item: element, $index: index, element })), () => [
17999
17989
  createElementVNode("div", null, [
18000
17990
  _ctx.itemComponentTitle ? (openBlock(), createElementBlock("div", {
18001
17991
  key: 0,
18002
17992
  innerHTML: _ctx.itemComponentTitle
18003
- }, null, 8, _hoisted_2$V)) : (openBlock(), createElementBlock("div", _hoisted_3$E, "还未设置标题"))
17993
+ }, null, 8, _hoisted_2$U)) : (openBlock(), createElementBlock("div", _hoisted_3$D, "还未设置标题"))
18004
17994
  ])
18005
17995
  ], true) : renderSlot(_ctx.$slots, "itemTitle", normalizeProps(mergeProps({ key: 1 }, { item: element, index, $item: element.value, $index: index, element })), () => [
18006
17996
  createElementVNode("div", null, [
@@ -18085,10 +18075,10 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
18085
18075
  };
18086
18076
  }
18087
18077
  });
18088
- const List = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-fe87b868"]]);
18078
+ const List = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-38ac115f"]]);
18089
18079
  const ElsList = withInstall(List);
18090
- const _hoisted_1$13 = { class: "custom-block-title" };
18091
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
18080
+ const _hoisted_1$11 = { class: "custom-block-title" };
18081
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
18092
18082
  ...{ name: "ElsTip" },
18093
18083
  __name: "tip",
18094
18084
  props: {
@@ -18101,7 +18091,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
18101
18091
  return openBlock(), createElementBlock("div", {
18102
18092
  class: normalizeClass(["custom-block", _ctx.type == "warning" ? "warning" : "tip"])
18103
18093
  }, [
18104
- createElementVNode("p", _hoisted_1$13, [
18094
+ createElementVNode("p", _hoisted_1$11, [
18105
18095
  renderSlot(_ctx.$slots, "title", {}, () => [
18106
18096
  createTextVNode(toDisplayString(_ctx.title ?? (_ctx.type == "warning" ? "WARNING" : "TIP")), 1)
18107
18097
  ], true)
@@ -18113,7 +18103,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
18113
18103
  };
18114
18104
  }
18115
18105
  });
18116
- const Tip = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-25c72208"]]);
18106
+ const Tip = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-25c72208"]]);
18117
18107
  const tipProps = buildProps({
18118
18108
  /**
18119
18109
  * @description 标题
@@ -38682,8 +38672,8 @@ const containerProps = buildProps({
38682
38672
  */
38683
38673
  selectMenuPostQuery: Boolean
38684
38674
  });
38685
- const _hoisted_1$12 = { class: "els-page-container" };
38686
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
38675
+ const _hoisted_1$10 = { class: "els-page-container" };
38676
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
38687
38677
  ...{
38688
38678
  name: "ElsContainer"
38689
38679
  },
@@ -39146,7 +39136,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
39146
39136
  return (_ctx, _cache) => {
39147
39137
  const _component_els_dialog = resolveComponent("els-dialog");
39148
39138
  const _component_els_drawer = resolveComponent("els-drawer");
39149
- return openBlock(), createElementBlock("div", _hoisted_1$12, [
39139
+ return openBlock(), createElementBlock("div", _hoisted_1$10, [
39150
39140
  (openBlock(), createBlock(resolveDynamicComponent(unref(componentName)), {
39151
39141
  class: normalizeClass({ "is-vertical": isVertical.value })
39152
39142
  }, {
@@ -39171,7 +39161,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
39171
39161
  };
39172
39162
  }
39173
39163
  });
39174
- const ElsContainer = withInstall(_sfc_main$1f);
39164
+ const ElsContainer = withInstall(_sfc_main$18);
39175
39165
  const createProps = buildProps({
39176
39166
  /**
39177
39167
  * @description 是否显示
@@ -39204,10 +39194,10 @@ const createProps = buildProps({
39204
39194
  */
39205
39195
  save: Function
39206
39196
  });
39207
- const _hoisted_1$11 = { class: "els-dynamic-create" };
39208
- const _hoisted_2$U = { style: { "margin-bottom": "10px" } };
39209
- const _hoisted_3$D = { class: "dialog-footer" };
39210
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
39197
+ const _hoisted_1$$ = { class: "els-dynamic-create" };
39198
+ const _hoisted_2$T = { style: { "margin-bottom": "10px" } };
39199
+ const _hoisted_3$C = { class: "dialog-footer" };
39200
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
39211
39201
  ...{
39212
39202
  name: "ElsDynamicCreate"
39213
39203
  },
@@ -39367,7 +39357,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
39367
39357
  "close-on-click-modal": false
39368
39358
  }, {
39369
39359
  footer: withCtx(() => [
39370
- createElementVNode("span", _hoisted_3$D, [
39360
+ createElementVNode("span", _hoisted_3$C, [
39371
39361
  createVNode(_component_el_button, {
39372
39362
  onClick: _cache[7] || (_cache[7] = ($event) => createVisible.value = false)
39373
39363
  }, {
@@ -39389,7 +39379,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
39389
39379
  ])
39390
39380
  ]),
39391
39381
  default: withCtx(() => [
39392
- createElementVNode("div", _hoisted_1$11, [
39382
+ createElementVNode("div", _hoisted_1$$, [
39393
39383
  !createResultVisible.value ? (openBlock(), createBlock(_component_els_form, {
39394
39384
  key: 0,
39395
39385
  modelValue: currData.value,
@@ -39477,7 +39467,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
39477
39467
  ]),
39478
39468
  _: 1
39479
39469
  }, 8, ["modelValue"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
39480
- createElementVNode("div", _hoisted_2$U, [
39470
+ createElementVNode("div", _hoisted_2$T, [
39481
39471
  createVNode(_component_el_link, {
39482
39472
  type: "primary",
39483
39473
  onClick: _cache[5] || (_cache[5] = ($event) => createResultVisible.value = !createResultVisible.value)
@@ -39505,16 +39495,16 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
39505
39495
  };
39506
39496
  }
39507
39497
  });
39508
- const ElsDynamicCreate = withInstall(_sfc_main$1e);
39509
- const _hoisted_1$10 = {
39498
+ const ElsDynamicCreate = withInstall(_sfc_main$17);
39499
+ const _hoisted_1$_ = {
39510
39500
  key: 0,
39511
39501
  class: "tag-name"
39512
39502
  };
39513
- const _hoisted_2$T = {
39503
+ const _hoisted_2$S = {
39514
39504
  key: 1,
39515
39505
  class: "els-dynamic-d-head"
39516
39506
  };
39517
- const _hoisted_3$C = {
39507
+ const _hoisted_3$B = {
39518
39508
  key: 0,
39519
39509
  class: "keyName"
39520
39510
  };
@@ -39610,7 +39600,7 @@ const _hoisted_36 = {
39610
39600
  };
39611
39601
  const _hoisted_37 = { class: "els-dynamic-d-oper" };
39612
39602
  const _hoisted_38 = { class: "dialog-footer" };
39613
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
39603
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
39614
39604
  ...{
39615
39605
  name: "ElsDynamicDesigner"
39616
39606
  },
@@ -39628,7 +39618,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
39628
39618
  emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
39629
39619
  setup(__props, { emit: __emit }) {
39630
39620
  const DynamicDesignerInnerItem = defineAsyncComponent(() => {
39631
- return import("./innerItem-uCEFyNIq.js");
39621
+ return import("./innerItem-BYKG7LmR.js");
39632
39622
  });
39633
39623
  const { getValue: getValue2 } = useProps();
39634
39624
  const tagID = getValue2("tagID");
@@ -39709,7 +39699,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
39709
39699
  createElementVNode("div", {
39710
39700
  class: normalizeClass([{ "els-dynamic-config-root": _ctx.depath == 0 }, { "els-dynamic-d-flat-item-child": _ctx.depath && _ctx.depath > 0 }, { "els-dynamic-d-flat-item-container": _ctx.isContainer && _ctx.depath - 1 == 0 }])
39711
39701
  }, [
39712
- _ctx.isContainer ? (openBlock(), createElementBlock("span", _hoisted_1$10, [
39702
+ _ctx.isContainer ? (openBlock(), createElementBlock("span", _hoisted_1$_, [
39713
39703
  createVNode(_component_el_popover, {
39714
39704
  placement: "top-start",
39715
39705
  width: "500",
@@ -39767,8 +39757,8 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
39767
39757
  _: 1
39768
39758
  })
39769
39759
  ])) : createCommentVNode("", true),
39770
- _ctx.isContainer !== true ? (openBlock(), createElementBlock("div", _hoisted_2$T, [
39771
- unref(columnVisible)("keyName") ? (openBlock(), createElementBlock("span", _hoisted_3$C, "名称")) : createCommentVNode("", true),
39760
+ _ctx.isContainer !== true ? (openBlock(), createElementBlock("div", _hoisted_2$S, [
39761
+ unref(columnVisible)("keyName") ? (openBlock(), createElementBlock("span", _hoisted_3$B, "名称")) : createCommentVNode("", true),
39772
39762
  unref(columnVisible)("keyCode") ? (openBlock(), createElementBlock("span", _hoisted_4$w, "编码")) : createCommentVNode("", true),
39773
39763
  unref(columnVisible)("dataType") ? (openBlock(), createElementBlock("span", _hoisted_5$k, "类型")) : createCommentVNode("", true),
39774
39764
  unref(componentSettingVisible) ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
@@ -39958,7 +39948,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
39958
39948
  };
39959
39949
  }
39960
39950
  });
39961
- const DynamicDesignerInner = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-02bb991c"]]);
39951
+ const DynamicDesignerInner = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-7b68a6e5"]]);
39962
39952
  const designerProps = buildProps({
39963
39953
  ...formItemProps$1,
39964
39954
  /**
@@ -40070,8 +40060,8 @@ const designerProps = buildProps({
40070
40060
  type: Object
40071
40061
  }
40072
40062
  });
40073
- const _hoisted_1$$ = { class: "els-dynamic-config-tool" };
40074
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
40063
+ const _hoisted_1$Z = { class: "els-dynamic-config-tool" };
40064
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
40075
40065
  ...{
40076
40066
  name: "ElsDynamicDesigner"
40077
40067
  },
@@ -40339,7 +40329,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
40339
40329
  ref_key: "designerContainer",
40340
40330
  ref: designerContainer
40341
40331
  }, [
40342
- createElementVNode("div", _hoisted_1$$, [
40332
+ createElementVNode("div", _hoisted_1$Z, [
40343
40333
  createVNode(_component_els_data_modal, {
40344
40334
  style: { "margin-left": "5px", "margin-bottom": "5px" },
40345
40335
  title: "导入配置",
@@ -40378,7 +40368,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
40378
40368
  };
40379
40369
  }
40380
40370
  });
40381
- const Designer = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-3365fc76"]]);
40371
+ const Designer = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-3365fc76"]]);
40382
40372
  const ElsDynamicDesigner = withInstall(Designer);
40383
40373
  const renderProps = buildProps({
40384
40374
  ...formItemProps$1,
@@ -40460,438 +40450,35 @@ const renderProps = buildProps({
40460
40450
  default: {}
40461
40451
  }
40462
40452
  });
40463
- function useDesigner(props, nodeItem) {
40464
- return useRender(props, nodeItem, void 0, void 0, true);
40465
- }
40466
- function useRender(props, nodeItem, modelValue = void 0, slotValue = void 0, isDesigner = false) {
40467
- const { getValue: getValue2 } = useProps();
40468
- const componentData = getValue2("componentData", []);
40469
- const isMobile = getValue2("isMobile", false);
40470
- const getRootNode = getValue2("getRootNode", () => {
40471
- return {};
40472
- });
40473
- const getCurrNode = getValue2("getCurrNode", () => {
40474
- return {};
40475
- });
40476
- const getParentNode = getValue2("getParentNode", () => {
40477
- return {};
40478
- });
40479
- const getNodeValue = getValue2("getNodeValue", () => {
40480
- return {};
40481
- });
40482
- const getArrayNodeValue = getValue2("getArrayNodeValue", () => {
40483
- return [];
40484
- });
40485
- const getGlobalData = getValue2("getGlobalData", () => {
40486
- return {};
40487
- });
40488
- const refsData = getValue2("refsData", {});
40489
- const getFormPropIndex = getValue2("getFormPropIndex", () => {
40490
- return "";
40491
- });
40492
- let slotRootHasDefault = false;
40493
- const defaultSlot = nodeItem.slots ? nodeItem.slots.find((ele) => ele.name === "default") : void 0;
40494
- if (defaultSlot) {
40495
- if (defaultSlot.children.length > 0 && defaultSlot.children.some((ele) => ele.keyCode === "default")) {
40496
- slotRootHasDefault = true;
40497
- }
40498
- }
40499
- const componentProps = computed(() => {
40500
- if (!nodeItem || !nodeItem.config) {
40501
- return {};
40502
- }
40503
- const itemConfig = nodeItem.config;
40504
- let baseProps = { "style": itemConfig.advancedConfig.style ?? "" };
40505
- if (nodeItem.componentName === "div") {
40506
- Object.keys(itemConfig.baseConfig).forEach((key) => {
40507
- if (itemConfig.baseConfig[key] !== "") {
40508
- baseProps.style += `;${key}:${itemConfig.baseConfig[key]}`;
40509
- }
40510
- });
40511
- return baseProps;
40512
- }
40513
- if (itemConfig.advancedConfig.disabled) {
40514
- baseProps["disabled"] = renderDisabled();
40515
- }
40516
- const currControl = componentData.find((ele) => ele.value == nodeItem.componentType);
40517
- if (currControl == null ? void 0 : currControl.defaultPropertys) {
40518
- Object.assign(baseProps, currControl.defaultPropertys, itemConfig.baseConfig);
40519
- utils.removeEmptyProp(baseProps);
40520
- utils.setDefaultPropertys(baseProps, currControl.defaultPropertys);
40521
- } else {
40522
- Object.assign(baseProps, itemConfig.baseConfig);
40523
- utils.removeEmptyProp(baseProps);
40524
- }
40525
- if (["ElsSelect", "ElsRadio", "ElsCheckBox", "ElsCascader"].includes(nodeItem.componentName)) {
40526
- if (!baseProps.valueType) {
40527
- if (nodeItem.dataTypeName == "Number" || nodeItem.arrayDataTypeName == "Number") {
40528
- baseProps.valueType = "Number";
40529
- } else if (nodeItem.dataTypeName == "Bool" || nodeItem.arrayDataTypeName == "Bool") {
40530
- baseProps.valueType = "Bool";
40531
- }
40532
- }
40533
- }
40534
- if (nodeItem.componentTypeName == "Option") {
40535
- baseProps["label"] = nodeItem.config.baseConfig.label || nodeItem.keyName;
40536
- baseProps["value"] = nodeItem.config.baseConfig.value || nodeItem.keyID;
40537
- } else if (nodeItem.componentTypeName === "CollapseItem") {
40538
- baseProps["title"] = nodeItem.config.baseConfig.title || "请设置标题";
40539
- baseProps["name"] = nodeItem.config.baseConfig.name || nodeItem.keyID;
40540
- } else if (nodeItem.componentTypeName == "Table") {
40541
- baseProps["tagId"] = nodeItem.keyID;
40542
- } else if (nodeItem.componentTypeName == "Caption") {
40543
- baseProps["title"] = nodeItem.config.baseConfig.title || nodeItem.keyName;
40544
- }
40545
- renderProps2(baseProps);
40546
- delete baseProps.innerContent;
40547
- return baseProps;
40548
- });
40549
- const formProps2 = computed(() => {
40550
- var _a;
40551
- if (!nodeItem || !nodeItem.config) {
40552
- return {};
40553
- }
40554
- const itemConfig = nodeItem.config;
40555
- let baseProps = {};
40556
- const currControl = componentData.find((ele) => ele.value == nodeItem.componentType);
40557
- if (currControl == null ? void 0 : currControl.defaultPropertys) {
40558
- baseProps = { ...itemConfig.formConfig };
40559
- utils.removeEmptyProp(baseProps);
40560
- }
40561
- if (nodeItem.dataTypeName == "None" || ((_a = nodeItem.config.baseConfig) == null ? void 0 : _a.componentName) == "ElsCaption" || nodeItem.componentTypeName === "Row") {
40562
- baseProps.labelWidth = "0px";
40563
- } else if (nodeItem.dataTypeName == "Array" && nodeItem.arrayDataTypeName == "Object") {
40564
- delete baseProps.labelWidth;
40565
- }
40566
- if (nodeItem.required) {
40567
- baseProps["required"] = true;
40568
- }
40569
- if (nodeItem.keyCode) {
40570
- baseProps["prop"] = nodeItem.keyCode;
40571
- }
40572
- if (nodeItem.description) {
40573
- baseProps["tip"] = nodeItem.description;
40574
- }
40575
- if (props.index !== void 0 && props.index > -1) {
40576
- const currPropsIndex = getFormPropIndex();
40577
- baseProps["prop"] = currPropsIndex + `[${props.index}].value`;
40578
- } else {
40579
- baseProps["prop"] = nodeItem.keyCode;
40580
- }
40581
- baseProps["label"] = nodeItem.keyName;
40582
- renderProps2(baseProps);
40583
- return baseProps;
40584
- });
40585
- function handleGetCurrNode() {
40586
- if (props.arrayIndex > -1) {
40587
- return getCurrNode()[props.arrayIndex];
40588
- }
40589
- return getCurrNode();
40590
- }
40591
- function renderContent(content) {
40592
- try {
40593
- let currContent = content;
40594
- if (!currContent.startsWith(":")) {
40595
- return currContent;
40596
- }
40597
- currContent = currContent.substring(1);
40598
- if (!currContent) {
40599
- return "";
40600
- }
40601
- if (isDesigner) {
40602
- return "属性计算";
40603
- }
40604
- let currEvent = new Function("globalData,rootNode,parentNode,currNode,utils", currContent.indexOf("return") > -1 ? currContent : `return ${currContent}`);
40605
- return currEvent(getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), utils);
40606
- } catch (err) {
40607
- console.error(err);
40608
- console.log("RenderContent异常");
40609
- console.log(content);
40610
- return "加载异常";
40611
- }
40612
- }
40613
- function renderEvent(eventExpress) {
40614
- if (isDesigner) {
40615
- return "事件计算";
40616
- }
40617
- try {
40618
- let currEvent = new Function("refs,globalData,rootNode,parentNode,currNode,currValue,dataType,slotRootHasDefault,slotValue,utils", eventExpress);
40619
- return currEvent(refsData.value, getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), modelValue, nodeItem == null ? void 0 : nodeItem.dataType, slotRootHasDefault, slotValue.value, utils);
40620
- } catch (err) {
40621
- console.log("RenderEvent异常");
40622
- console.log(eventExpress);
40623
- return "加载异常";
40624
- }
40625
- }
40626
- function renderProps2(baseProps) {
40627
- Object.keys(baseProps).forEach((key) => {
40628
- if (key.startsWith("event")) {
40629
- const eventExpress = baseProps[key];
40630
- baseProps[key.replace("event", "on")] = () => {
40631
- try {
40632
- return renderEvent(eventExpress);
40633
- } catch (err) {
40634
- console.error(err);
40635
- }
40636
- };
40637
- delete baseProps[key];
40638
- } else if (key.startsWith("function")) {
40639
- const eventExpress = baseProps[key];
40640
- baseProps[key.replace("function", "")] = () => {
40641
- try {
40642
- return renderEvent(eventExpress);
40643
- } catch (err) {
40644
- console.error(err);
40645
- }
40646
- };
40647
- delete baseProps[key];
40648
- } else {
40649
- if (typeof baseProps[key] === "string" && baseProps[key].startsWith(":")) {
40650
- baseProps[key] = renderContent(baseProps[key]);
40651
- }
40652
- }
40653
- });
40654
- return baseProps;
40655
- }
40656
- function renderIf() {
40657
- try {
40658
- if (nodeItem.config.advancedConfig && nodeItem.config.advancedConfig.vif) {
40659
- let currEvent = new Function("globalData,rootNode,parentNode,currNode,utils", "return " + nodeItem.config.advancedConfig.vif);
40660
- const isShow = currEvent(getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), utils);
40661
- nodeItem.isShow = isShow;
40662
- return isShow;
40663
- }
40664
- } catch (err) {
40665
- console.error(err);
40666
- }
40667
- return true;
40668
- }
40669
- function renderDisabled() {
40670
- try {
40671
- if (nodeItem.config.advancedConfig && nodeItem.config.advancedConfig.disabled) {
40672
- let currEvent = new Function("globalData,rootNode,parentNode,currNode,utils", "return " + nodeItem.config.advancedConfig.disabled);
40673
- return currEvent(getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), utils);
40674
- }
40675
- } catch (err) {
40676
- console.error(err);
40677
- debugger;
40678
- }
40679
- return false;
40680
- }
40681
- function renderValueChange(val) {
40682
- try {
40683
- if (nodeItem.config.advancedConfig && nodeItem.config.advancedConfig.eventChange) {
40684
- let currEvent = new Function("val,globalData,rootNode,parentNode,currNode,utils", nodeItem.config.advancedConfig.eventChange);
40685
- return currEvent(val, getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), utils);
40686
- }
40687
- } catch (err) {
40688
- console.log("ValueCahnge异常");
40689
- console.log(nodeItem.config.advancedConfig.eventChange);
40690
- }
40691
- }
40692
- return {
40693
- isMobile,
40694
- componentProps,
40695
- formProps: formProps2,
40696
- getRootNode,
40697
- getParentNode,
40698
- getNodeValue,
40699
- getArrayNodeValue,
40700
- getGlobalData,
40701
- getCurrNode: handleGetCurrNode,
40702
- renderProps: renderProps2,
40703
- renderContent,
40704
- renderEvent,
40705
- renderIf,
40706
- renderValueChange,
40707
- renderDisabled
40708
- };
40709
- }
40710
- function useComponentRef(nodeItem, dyComponent) {
40711
- const { getValue: getValue2 } = useProps();
40712
- const setComponentRef = getValue2("setComponentRef", () => {
40713
- return {};
40714
- });
40715
- const removeComponentRef = getValue2("removeComponentRef", () => {
40716
- return {};
40717
- });
40718
- onMounted(() => {
40719
- if (nodeItem.keyID && dyComponent) {
40720
- setComponentRef(nodeItem.keyID, dyComponent.value);
40721
- }
40722
- });
40723
- onUnmounted(() => {
40724
- if (nodeItem.keyID) {
40725
- removeComponentRef(nodeItem.keyID);
40726
- }
40727
- });
40728
- }
40729
- const _hoisted_1$_ = ["innerHTML"];
40730
- const _hoisted_2$S = { class: "els-dynamic-r-mobile-title" };
40731
- const _hoisted_3$B = ["onClick"];
40732
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
40733
- __name: "innerObjectArray",
40734
- props: {
40735
- "nodeItem": { default: () => {
40736
- return reactive([]);
40737
- } },
40738
- "nodeItemModifiers": {}
40739
- },
40740
- emits: ["update:nodeItem"],
40741
- setup(__props) {
40742
- const props = __props;
40743
- const { setValue } = useProps();
40744
- const nodeItem = useModel$1(__props, "nodeItem");
40745
- const { isMobile, componentProps, getArrayNodeValue, renderProps: renderProps2, getGlobalData, getRootNode, getParentNode, getCurrNode, getNodeValue } = useRender(props, nodeItem.value);
40746
- const list = ref();
40747
- const listProps2 = computed(() => {
40748
- const currProps = { ...nodeItem.value.config.arrayConfig };
40749
- return renderProps2(currProps);
40750
- });
40751
- function handleAddItem() {
40752
- return utils.cloneObj(nodeItem.value.arrayObjData);
40753
- }
40754
- function handleRemove(index) {
40755
- list.value.remove(index);
40756
- }
40757
- const arrayConfig = computed(() => {
40758
- return nodeItem.value.config.arrayConfig;
40759
- });
40760
- function getItemTitle(arrayChildren) {
40761
- let currContent = nodeItem.value.config.arrayConfig.itemComponentTitle;
40762
- if (!currContent.startsWith(":")) {
40763
- return currContent;
40764
- }
40765
- currContent = currContent.substring(1);
40766
- if (!currContent) {
40767
- return "";
40768
- }
40769
- const item = getNodeValue(arrayChildren);
40770
- let currEvent = new Function("globalData,rootNode,parentNode,currNode,item,utils", currContent.indexOf("return") > -1 ? currContent : `return ${currContent}`);
40771
- return currEvent(getGlobalData(), getRootNode(), getParentNode(), getCurrNode(), item, utils);
40772
- }
40773
- setValue({
40774
- getCurrNode: () => {
40775
- return getArrayNodeValue(nodeItem.value.children);
40776
- },
40777
- getParentNode: () => {
40778
- return getArrayNodeValue(nodeItem.value.children);
40779
- }
40780
- });
40781
- return (_ctx, _cache) => {
40782
- var _a;
40783
- const _component_van_cell_group = resolveComponent("van-cell-group");
40784
- const _component_els_form = resolveComponent("els-form");
40785
- const _component_els_list = resolveComponent("els-list");
40786
- return openBlock(), createElementBlock("div", {
40787
- class: "els-dynamic-array",
40788
- style: normalizeStyle((_a = nodeItem.value.config.advancedConfig) == null ? void 0 : _a.style)
40789
- }, [
40790
- createVNode(_component_els_list, mergeProps({
40791
- modelValue: nodeItem.value.children,
40792
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => nodeItem.value.children = $event),
40793
- ref_key: "list",
40794
- ref: list,
40795
- onAdd: handleAddItem,
40796
- sortable: !unref(isMobile),
40797
- isRemove: !unref(isMobile),
40798
- hasForm: false,
40799
- "item-class-name": [
40800
- { "els-dynamic-r-array": nodeItem.value.arrayDataTypeName === "Object" || nodeItem.value.componentTypeName === "DynamicRender" },
40801
- { "els-dynamic-r-array-mobile": unref(isMobile) }
40802
- ],
40803
- borderType: arrayConfig.value.borderType,
40804
- style: [
40805
- { "max-width": arrayConfig.value.maxWidth ? arrayConfig.value.maxWidth + "px" : "" },
40806
- { "max-height": arrayConfig.value.maxHeight ? arrayConfig.value.maxHeight + "px" : "" },
40807
- { "display": arrayConfig.value.arrangementType === "Horizontal" ? "flex" : "" }
40808
- ],
40809
- class: ["els-dynamic-array-render", { "horizontal": arrayConfig.value.arrangementType === "Horizontal" }]
40810
- }, listProps2.value), {
40811
- itemTitle: withCtx(({ $item }) => [
40812
- createElementVNode("div", {
40813
- innerHTML: getItemTitle($item)
40814
- }, null, 8, _hoisted_1$_)
40815
- ]),
40816
- default: withCtx(({ element, $item, $index }) => [
40817
- (openBlock(), createElementBlock("div", {
40818
- key: element.keyID,
40819
- class: "els-dynamic-array-inner"
40820
- }, [
40821
- createVNode(_component_els_form, mergeProps({
40822
- modelValue: nodeItem.value.children[$index],
40823
- "onUpdate:modelValue": ($event) => nodeItem.value.children[$index] = $event
40824
- }, unref(componentProps)), {
40825
- default: withCtx(() => [
40826
- unref(isMobile) ? (openBlock(), createBlock(_component_van_cell_group, {
40827
- title: nodeItem.value.keyName,
40828
- key: element.itemKey
40829
- }, {
40830
- title: withCtx(() => [
40831
- createElementVNode("div", _hoisted_2$S, [
40832
- createElementVNode("span", null, toDisplayString(nodeItem.value.keyName + " " + ($index + 1)), 1),
40833
- createElementVNode("span", {
40834
- class: "els-dynamic-remove",
40835
- onClick: ($event) => handleRemove($index)
40836
- }, "删除", 8, _hoisted_3$B)
40837
- ])
40838
- ]),
40839
- default: withCtx(() => [
40840
- (openBlock(true), createElementBlock(Fragment, null, renderList($item, (item, index) => {
40841
- return openBlock(), createBlock(DynamicRenderInner, {
40842
- nodeItem: item,
40843
- key: item.keyID,
40844
- arrayIndex: $index,
40845
- index
40846
- }, null, 8, ["nodeItem", "arrayIndex", "index"]);
40847
- }), 128))
40848
- ]),
40849
- _: 2
40850
- }, 1032, ["title"])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList($item, (item, index) => {
40851
- return openBlock(), createBlock(DynamicRenderInner, {
40852
- nodeItem: item,
40853
- key: item.keyID,
40854
- arrayIndex: $index,
40855
- index
40856
- }, null, 8, ["nodeItem", "arrayIndex", "index"]);
40857
- }), 128))
40858
- ]),
40859
- _: 2
40860
- }, 1040, ["modelValue", "onUpdate:modelValue"])
40861
- ]))
40862
- ]),
40863
- _: 1
40864
- }, 16, ["modelValue", "sortable", "isRemove", "item-class-name", "borderType", "style", "class"])
40865
- ], 4);
40866
- };
40867
- }
40868
- });
40869
- const DynamicRenderInnerObjectArray = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-ef473194"]]);
40870
- const _hoisted_1$Z = { class: "els-node els-dynamic-render" };
40453
+ const _hoisted_1$Y = { class: "els-node els-dynamic-render" };
40871
40454
  const _hoisted_2$R = { class: "els-dynamic-render-inner" };
40872
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
40455
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
40873
40456
  ...{
40874
- name: "ElsDynamicRenderAsync"
40457
+ name: "ElsDynamicRender"
40875
40458
  },
40876
- __name: "renderAsync",
40459
+ __name: "render",
40877
40460
  props: renderProps,
40878
40461
  emits: ["update:modelValue"],
40879
40462
  setup(__props, { expose: __expose, emit: __emit }) {
40880
- const DynamicRenderInnerAsync = defineAsyncComponent(() => {
40881
- return Promise.resolve().then(() => inner);
40463
+ const DynamicRenderInner = defineAsyncComponent(() => {
40464
+ return import("./inner-CQJTTdiD.js").then((n) => n.i);
40882
40465
  });
40883
- const DynamicRenderFormAsync = defineAsyncComponent(() => {
40884
- return Promise.resolve().then(() => form);
40466
+ const DynamicRenderForm = defineAsyncComponent(() => {
40467
+ return import("./inner-CQJTTdiD.js").then((n) => n.f);
40885
40468
  });
40886
40469
  const props = __props;
40887
40470
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
40888
- const emits = __emit;
40889
40471
  const idataTypes = getValue2("dataTypeData", null);
40472
+ const attrs = useAttrs();
40890
40473
  const icomponentTypes = getValue2("componentData", null);
40891
40474
  const renderData = ref([]);
40892
40475
  const valueData = ref({});
40893
40476
  const refsData = ref({});
40894
40477
  const currDynamicDataType = ref([]);
40478
+ const {
40479
+ currModelValue,
40480
+ returnModelValue
40481
+ } = useModel(props);
40895
40482
  if (idataTypes) {
40896
40483
  currDynamicDataType.value.push(...idataTypes);
40897
40484
  } else {
@@ -40927,11 +40514,11 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
40927
40514
  }
40928
40515
  }, { deep: true, immediate: true });
40929
40516
  function initData() {
40930
- if (props.modelValue) {
40931
- if (typeof props.modelValue == "string") {
40932
- valueData.value = JSON.parse(props.modelValue);
40517
+ if (currModelValue.value) {
40518
+ if (typeof currModelValue.value == "string") {
40519
+ valueData.value = JSON.parse(currModelValue.value);
40933
40520
  } else {
40934
- valueData.value = props.modelValue;
40521
+ valueData.value = currModelValue.value;
40935
40522
  }
40936
40523
  }
40937
40524
  let currData = {};
@@ -40944,7 +40531,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
40944
40531
  initShowConfig(currData, props.showConfig);
40945
40532
  dynamicHandler.recoverData(currData, valueData.value);
40946
40533
  renderData.value.length = 0;
40947
- renderData.value.push(...currData.filter((ele) => ele.isShow == 1));
40534
+ renderData.value.push(...currData.filter((ele) => ele.isShow));
40948
40535
  }
40949
40536
  function initShowConfig(data, showConfigData) {
40950
40537
  if (showConfigData) {
@@ -40972,11 +40559,11 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
40972
40559
  function handleReturnResult() {
40973
40560
  if (props.config) {
40974
40561
  const currData = dynamicHandler.result(renderData.value);
40975
- if (typeof props.modelValue == "object") {
40976
- emits("update:modelValue", currData);
40562
+ if (typeof currModelValue.value == "object") {
40563
+ returnModelValue(currData);
40977
40564
  return;
40978
40565
  }
40979
- emits("update:modelValue", JSON.stringify(currData));
40566
+ returnModelValue(JSON.stringify(currData));
40980
40567
  }
40981
40568
  }
40982
40569
  function getCurrNodeValueData() {
@@ -40995,7 +40582,9 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
40995
40582
  function getContainerValue(item) {
40996
40583
  const currData = {};
40997
40584
  item.children.forEach((cele) => {
40998
- if (cele.componentGroup === "Container") {
40585
+ if (cele.componentGroup === "Container" && cele.dataType === "Object" && cele.keyCode) {
40586
+ currData[cele.keyCode] = getContainerValue(cele);
40587
+ } else if (cele.componentGroup === "Container") {
40999
40588
  Object.assign(currData, getContainerValue(cele));
41000
40589
  } else if (cele.keyCode) {
41001
40590
  currData[cele.keyCode] = cele;
@@ -41003,19 +40592,29 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
41003
40592
  });
41004
40593
  return currData;
41005
40594
  }
40595
+ const getArrayNodeValue = function(data) {
40596
+ const currData = [];
40597
+ data.forEach((ele) => {
40598
+ currData.push(getNodeValue(ele));
40599
+ });
40600
+ return currData;
40601
+ };
41006
40602
  const getNodeValue = function(data) {
41007
40603
  let currData = {};
41008
40604
  data.forEach((ele) => {
41009
- if (ele.componentGroup === "Container") {
40605
+ if (ele.componentGroup === "Container" && ele.dataType === "Object" && ele.keyCode) {
40606
+ currData[ele.keyCode] = getContainerValue(ele);
40607
+ } else if (ele.componentGroup === "Container") {
41010
40608
  Object.assign(currData, getContainerValue(ele));
41011
- } else {
40609
+ } else if (ele.keyCode) {
41012
40610
  currData[ele.keyCode] = ele;
41013
40611
  }
41014
40612
  });
41015
40613
  return currData;
41016
40614
  };
41017
40615
  const getCurrNode = function() {
41018
- return getNodeValue(renderData.value);
40616
+ const result = getNodeValue(renderData.value);
40617
+ return result;
41019
40618
  };
41020
40619
  function setComponentRef(id, childRef) {
41021
40620
  refsData.value[id] = childRef;
@@ -41036,7 +40635,9 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
41036
40635
  removeComponentRef,
41037
40636
  getCurrNodeValueData,
41038
40637
  getCurrNode,
40638
+ getRootNode: getCurrNode,
41039
40639
  getNodeValue,
40640
+ getArrayNodeValue,
41040
40641
  getResult: (data) => {
41041
40642
  return dynamicHandler.result(data);
41042
40643
  }
@@ -41046,657 +40647,67 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
41046
40647
  });
41047
40648
  return (_ctx, _cache) => {
41048
40649
  const _component_els_form = resolveComponent("els-form");
41049
- const _component_el_skeleton = resolveComponent("el-skeleton");
41050
40650
  const _component_ElsFormNode = resolveComponent("ElsFormNode");
41051
- return openBlock(), createElementBlock("div", _hoisted_1$Z, [
41052
- createVNode(_component_ElsFormNode, mergeProps(unref(formNodeProps), { labelWidth: "0px" }), {
41053
- default: withCtx(() => [
41054
- createElementVNode("div", _hoisted_2$R, [
41055
- (openBlock(), createBlock(Suspense, null, {
41056
- default: withCtx(() => [
41057
- createElementVNode("div", null, [
41058
- renderData.value && renderData.value.length && renderData.value[0].componentTypeName === "Form" ? (openBlock(), createBlock(unref(DynamicRenderFormAsync), {
41059
- key: 0,
41060
- isRoot: true,
41061
- nodeItem: renderData.value[0]
41062
- }, null, 8, ["nodeItem"])) : (openBlock(), createBlock(_component_els_form, {
41063
- key: 1,
41064
- modelValue: renderData.value,
41065
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => renderData.value = $event)
41066
- }, {
41067
- default: withCtx(() => [
41068
- (openBlock(true), createElementBlock(Fragment, null, renderList(renderData.value, (item, index) => {
41069
- return openBlock(), createBlock(unref(DynamicRenderInnerAsync), {
41070
- index,
41071
- nodeItem: item
41072
- }, null, 8, ["index", "nodeItem"]);
41073
- }), 256))
41074
- ]),
41075
- _: 1
41076
- }, 8, ["modelValue"]))
41077
- ])
41078
- ]),
41079
- fallback: withCtx(() => [
41080
- createVNode(_component_el_skeleton, { animated: "" })
41081
- ]),
41082
- _: 1
41083
- }))
41084
- ])
41085
- ]),
41086
- _: 1
41087
- }, 16)
41088
- ]);
41089
- };
41090
- }
41091
- });
41092
- const ElsDynamicRenderAsync = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-957795fa"]]);
41093
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
41094
- ...{
41095
- inheritAttrs: false
41096
- },
41097
- __name: "innerItem",
41098
- props: /* @__PURE__ */ mergeModels({
41099
- nodeItem: {},
41100
- currDepath: {},
41101
- parentNode: {},
41102
- currNode: {},
41103
- nodeType: {}
41104
- }, {
41105
- "modelValue": {},
41106
- "modelModifiers": {}
41107
- }),
41108
- emits: /* @__PURE__ */ mergeModels(["update:modelValue", "valueChange"], ["update:modelValue"]),
41109
- setup(__props, { emit: __emit }) {
41110
- const emits = __emit;
41111
- const dyComponent = ref();
41112
- const modelValue = useModel$1(__props, "modelValue");
41113
- const props = __props;
41114
- const attrs = useAttrs();
41115
- const currValue = ref();
41116
- const slotValue = ref({});
41117
- const { isMobile, componentProps } = useRender(props, props.nodeItem, modelValue, slotValue);
41118
- if (props.nodeItem.slots && props.nodeItem.slots.length) {
41119
- props.nodeItem.slots.forEach((slot) => {
41120
- if (props.nodeItem.dataTypeName === "String") {
41121
- slotValue.value[slot.name] = "";
41122
- } else {
41123
- slotValue.value[slot.name] = {};
41124
- }
41125
- });
41126
- }
41127
- watchEffect(() => {
41128
- currValue.value = modelValue.value;
41129
- });
41130
- watch(currValue, (val) => {
41131
- emits("update:modelValue", val);
41132
- emits("valueChange", val);
41133
- }, { deep: true, immediate: true });
41134
- const componentName = ref("");
41135
- watchEffect(() => {
41136
- componentName.value = props.nodeItem.componentName;
41137
- });
41138
- useComponentRef(props.nodeItem, dyComponent);
41139
- return (_ctx, _cache) => {
41140
- var _a;
41141
- return componentName.value ? (openBlock(), createBlock(resolveDynamicComponent(componentName.value), mergeProps({ key: 0 }, Object.assign({}, unref(componentProps), unref(attrs)), {
41142
- modelValue: currValue.value,
41143
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => currValue.value = $event),
41144
- ref_key: "dyComponent",
41145
- ref: dyComponent
41146
- }), createSlots({ _: 2 }, [
41147
- renderList((_a = _ctx.nodeItem.slots) == null ? void 0 : _a.filter((ele) => ele.children.length), (slot) => {
41148
- return {
41149
- name: slot.name,
41150
- fn: withCtx((slotProps) => [
41151
- createVNode(ElsDynamicRenderAsync, {
41152
- config: slot.children,
41153
- modelValue: slotValue.value[slot.name],
41154
- "onUpdate:modelValue": ($event) => slotValue.value[slot.name] = $event,
41155
- globalData: Object.assign({}, slotProps, { componentValue: currValue.value }),
41156
- isMobile: unref(isMobile)
41157
- }, null, 8, ["config", "modelValue", "onUpdate:modelValue", "globalData", "isMobile"])
41158
- ])
41159
- };
41160
- })
41161
- ]), 1040, ["modelValue"])) : createCommentVNode("", true);
41162
- };
41163
- }
41164
- });
41165
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
41166
- __name: "innerArray",
41167
- props: /* @__PURE__ */ mergeModels({
41168
- parentNode: {}
41169
- }, {
41170
- "nodeItem": { default: () => {
41171
- return reactive([]);
41172
- } },
41173
- "nodeItemModifiers": {}
41174
- }),
41175
- emits: ["update:nodeItem"],
41176
- setup(__props) {
41177
- const props = __props;
41178
- const { getValue: getValue2 } = useProps();
41179
- const dataTypes = getValue2("dataTypeData", []);
41180
- const nodeItem = useModel$1(__props, "nodeItem");
41181
- const { isMobile, formProps: formProps2, componentProps, renderDisabled } = useRender(props, nodeItem.value);
41182
- function handleValueChange(val) {
41183
- if (nodeItem.value.config.advancedConfig && nodeItem.value.config.advancedConfig.eventChange) {
41184
- let currEvent = new Function("val,parentNode,currNode", nodeItem.value.config.advancedConfig.eventChange);
41185
- currEvent(val, props.parentNode, nodeItem.value);
41186
- }
41187
- }
41188
- function getItemDefaultValue() {
41189
- const currDataType = dataTypes.find((ele) => ele.value === nodeItem.value.arrayDataType);
41190
- if (currDataType && currDataType.defaultValue) {
41191
- return currDataType.defaultValue;
41192
- }
41193
- if (nodeItem.value.arrayDataTypeName == "String") {
41194
- if (nodeItem.value.defaultValue) {
41195
- return nodeItem.value.defaultValue;
41196
- }
41197
- return "";
41198
- } else if (nodeItem.value.arrayDataTypeName == "Bool") {
41199
- if (nodeItem.value.defaultValue === "true") {
41200
- return true;
41201
- } else {
41202
- return false;
41203
- }
41204
- } else if (nodeItem.value.arrayDataTypeName === "Number") {
41205
- if (nodeItem.value.defaultValue != void 0 && nodeItem.value.defaultValue !== "") {
41206
- return parseFloat(nodeItem.value.defaultValue);
41207
- } else {
41208
- return 0;
41209
- }
41210
- } else if (nodeItem.value.arrayDataTypeName === "Object") {
41211
- return {};
41212
- } else if (nodeItem.value.arrayDataTypeName === "Array") {
41213
- return [];
41214
- }
41215
- return {};
41216
- }
41217
- function handleAddItem() {
41218
- return getItemDefaultValue();
41219
- }
41220
- function initDefault(val) {
41221
- let defaultArrayData = [];
41222
- let defaultValue = getItemDefaultValue();
41223
- if (val === void 0 || val === "") {
41224
- defaultArrayData.push(defaultValue);
41225
- } else {
41226
- for (let i = 0; i < val; i++) {
41227
- defaultArrayData.push(defaultValue);
41228
- }
41229
- }
41230
- nodeItem.value.value = defaultArrayData;
41231
- }
41232
- watch(() => nodeItem.value.value, (val) => {
41233
- if (!val || !Array.isArray(val)) {
41234
- initDefault(nodeItem.value.config.arrayConfig.arrayDefaultLength);
41235
- }
41236
- }, { immediate: true });
41237
- watch(() => nodeItem.value.config.arrayConfig.arrayDefaultLength, (val) => {
41238
- initDefault(val);
41239
- });
41240
- const baseProps = computed(() => {
41241
- const currProps = Object.assign({}, componentProps.value, formProps2.value);
41242
- delete currProps.label;
41243
- return currProps;
41244
- });
41245
- const isObject2 = computed(() => {
41246
- return nodeItem.value.arrayDataTypeName === "Object";
41247
- });
41248
- return (_ctx, _cache) => {
41249
- const _component_els_list = resolveComponent("els-list");
41250
- return openBlock(), createElementBlock("div", {
41251
- class: normalizeClass(["els-dynamic-array-render", { "horizontal": nodeItem.value.config.arrayConfig.arrangementType === "Horizontal" }]),
41252
- style: { "flex-grow": "1" }
41253
- }, [
41254
- createVNode(_component_els_list, {
41255
- modelValue: nodeItem.value.value,
41256
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => nodeItem.value.value = $event),
41257
- onAdd: handleAddItem,
41258
- "item-class-name": nodeItem.value.arrayDataTypeName === "Object" || nodeItem.value.componentTypeName === "DynamicRender" ? "els-dynamic-r-array" : "",
41259
- borderType: nodeItem.value.config.arrayConfig.borderType,
41260
- style: normalizeStyle([
41261
- { "max-width": nodeItem.value.config.arrayConfig.maxWidth ? nodeItem.value.config.arrayConfig.maxWidth + "px" : "" },
41262
- { "max-height": nodeItem.value.config.arrayConfig.maxHeight ? nodeItem.value.config.arrayConfig.maxHeight + "px" : "" },
41263
- { "display": nodeItem.value.config.arrayConfig.arrangementType === "Horizontal" ? "flex" : "" },
41264
- { "flex-wrap": "wrap" },
41265
- { "gap": "5px" },
41266
- { "overflow": "scroll" },
41267
- { "padding-right": unref(isMobile) || isObject2.value ? "0px" : "20px" }
41268
- ])
41269
- }, {
41270
- default: withCtx(({ element, index }) => [
41271
- (openBlock(), createBlock(_sfc_main$19, mergeProps({
41272
- class: { "els-dynamic-r-array-item": nodeItem.value.componentName === "ElsDynamicRender" }
41273
- }, baseProps.value, {
41274
- key: index,
41275
- "parent-node": _ctx.parentNode,
41276
- "curr-node": nodeItem.value,
41277
- disabled: unref(renderDisabled)(),
41278
- modelValue: element.value,
41279
- "onUpdate:modelValue": ($event) => element.value = $event,
41280
- prop: `[${index}]`,
41281
- requiredMessage: "不能为空",
41282
- nodeItem: nodeItem.value,
41283
- style: nodeItem.value.config.advancedConfig.style,
41284
- onValueChange: handleValueChange
41285
- }), null, 16, ["class", "parent-node", "curr-node", "disabled", "modelValue", "onUpdate:modelValue", "prop", "nodeItem", "style"]))
41286
- ]),
41287
- _: 1
41288
- }, 8, ["modelValue", "item-class-name", "borderType", "style"])
41289
- ], 2);
41290
- };
41291
- }
41292
- });
41293
- const DynamicRenderInnerArray = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-fc00363b"]]);
41294
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
41295
- ...{
41296
- inheritAttrs: false
41297
- },
41298
- __name: "innerWrap",
41299
- props: {
41300
- index: {},
41301
- nodeItem: {},
41302
- parentNode: {}
41303
- },
41304
- setup(__props) {
41305
- const props = __props;
41306
- const { getValue: getValue2, setValue } = useProps();
41307
- const dyComponent = ref();
41308
- const { renderIf, componentProps, getNodeValue, getCurrNode } = useRender(props, props.nodeItem);
41309
- const getResult = getValue2("getResult", () => {
41310
- return {};
41311
- });
41312
- const modelValue = computed(() => {
41313
- return getResult(props.nodeItem.children);
41314
- });
41315
- const getFormPropIndex = getValue2("getFormPropIndex", () => {
41316
- return "";
41317
- });
41318
- useComponentRef(props.nodeItem, dyComponent);
41319
- if (props.nodeItem.keyCode && props.nodeItem.dataType === "Object") {
41320
- setValue({
41321
- getCurrNode: () => {
41322
- return getNodeValue(props.nodeItem.children);
41323
- },
41324
- getParentNode: () => {
41325
- return getCurrNode();
41326
- },
41327
- getFormPropIndex: () => {
41328
- let currPropIndex = getFormPropIndex();
41329
- currPropIndex += `[${props.index}].children`;
41330
- return currPropIndex;
41331
- }
41332
- });
41333
- } else {
41334
- setValue({
41335
- getFormPropIndex: () => {
41336
- let currPropIndex = getFormPropIndex();
41337
- currPropIndex += `[${props.index}].children`;
41338
- return currPropIndex;
41339
- }
41340
- });
41341
- }
41342
- return (_ctx, _cache) => {
41343
- var _a, _b, _c, _d, _e;
41344
- return ((_a = _ctx.nodeItem) == null ? void 0 : _a.componentName) === "ElsFormQuery" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
41345
- unref(renderIf)() ? (openBlock(), createBlock(resolveDynamicComponent((_b = _ctx.nodeItem) == null ? void 0 : _b.componentName), mergeProps({
41346
- key: 0,
41347
- style: (_c = _ctx.nodeItem.config.advancedConfig) == null ? void 0 : _c.style
41348
- }, unref(componentProps), {
41349
- ref_key: "dyComponent",
41350
- ref: dyComponent,
41351
- modelValue: modelValue.value,
41352
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event)
41353
- }), {
41354
- default: withCtx(() => [
41355
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.nodeItem.children, (item, index) => {
41356
- return openBlock(), createBlock(DynamicRenderInner, {
41357
- nodeItem: item,
41358
- index: -1,
41359
- key: item.keyID
41360
- }, null, 8, ["nodeItem"]);
41361
- }), 128))
41362
- ]),
41363
- _: 1
41364
- }, 16, ["style", "modelValue"])) : createCommentVNode("", true)
41365
- ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
41366
- unref(renderIf)() ? (openBlock(), createBlock(resolveDynamicComponent((_d = _ctx.nodeItem) == null ? void 0 : _d.componentName), mergeProps({
41367
- key: 0,
41368
- style: (_e = _ctx.nodeItem.config.advancedConfig) == null ? void 0 : _e.style
41369
- }, unref(componentProps), {
41370
- ref_key: "dyComponent",
41371
- ref: dyComponent
41372
- }), {
41373
- default: withCtx(() => [
41374
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.nodeItem.children, (item, index) => {
41375
- return openBlock(), createBlock(DynamicRenderInner, {
41376
- nodeItem: item,
41377
- index,
41378
- key: item.keyID
41379
- }, null, 8, ["nodeItem", "index"]);
41380
- }), 128))
41381
- ]),
41382
- _: 1
41383
- }, 16, ["style"])) : createCommentVNode("", true)
41384
- ], 64));
41385
- };
41386
- }
41387
- });
41388
- const _hoisted_1$Y = ["innerHTML"];
41389
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
41390
- ...{
41391
- inheritAttrs: false
41392
- },
41393
- __name: "show",
41394
- props: /* @__PURE__ */ mergeModels({
41395
- nodeItem: {}
41396
- }, {
41397
- "modelValue": {},
41398
- "modelModifiers": {}
41399
- }),
41400
- emits: ["update:modelValue"],
41401
- setup(__props) {
41402
- const dyComponent = ref();
41403
- const modelValue = useModel$1(__props, "modelValue");
41404
- const slotValue = ref({});
41405
- const props = __props;
41406
- const { isMobile, componentProps, renderContent } = useRender(props, props.nodeItem, modelValue, slotValue);
41407
- useComponentRef(props.nodeItem, dyComponent);
41408
- const componentName = ref("");
41409
- const innerContent = ref(props.nodeItem.config.baseConfig.innerContent);
41410
- watchEffect(() => {
41411
- componentName.value = props.nodeItem.componentName;
41412
- });
41413
- return (_ctx, _cache) => {
41414
- const _component_els_tip = resolveComponent("els-tip");
41415
- return componentName.value ? (openBlock(), createBlock(resolveDynamicComponent(componentName.value), mergeProps({
41416
- key: 0,
41417
- modelValue: modelValue.value,
41418
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event)
41419
- }, unref(componentProps), {
41420
- ref_key: "dyComponent",
41421
- ref: dyComponent
41422
- }), {
41423
- default: withCtx(() => [
41424
- innerContent.value ? (openBlock(), createElementBlock("span", {
41425
- key: 0,
41426
- innerHTML: unref(renderContent)(innerContent.value)
41427
- }, null, 8, _hoisted_1$Y)) : createCommentVNode("", true),
41428
- _ctx.nodeItem.slots && _ctx.nodeItem.slots.length ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.nodeItem.slots, (slot) => {
41429
- return renderSlot(_ctx.$slots, slot.name, {}, () => [
41430
- createVNode(ElsDynamicRenderAsync, {
41431
- config: slot.children,
41432
- modelValue: slotValue.value[slot.name],
41433
- "onUpdate:modelValue": ($event) => slotValue.value[slot.name] = $event,
41434
- isMobile: unref(isMobile)
41435
- }, null, 8, ["config", "modelValue", "onUpdate:modelValue", "isMobile"])
41436
- ]);
41437
- }), 256)) : createCommentVNode("", true)
41438
- ]),
41439
- _: 3
41440
- }, 16, ["modelValue"])) : (openBlock(), createBlock(_component_els_tip, {
41441
- key: 1,
41442
- type: "danger"
41443
- }, {
41444
- default: withCtx(() => [
41445
- createTextVNode("未设置组件名")
41446
- ]),
41447
- _: 1
41448
- }));
41449
- };
41450
- }
41451
- });
41452
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
41453
- ...{
41454
- inheritAttrs: false
41455
- },
41456
- __name: "inner",
41457
- props: /* @__PURE__ */ mergeModels({
41458
- index: {},
41459
- arrayIndex: { default: -1 }
41460
- }, {
41461
- "nodeItem": { default: () => {
41462
- return reactive([]);
41463
- } },
41464
- "nodeItemModifiers": {}
41465
- }),
41466
- emits: ["update:nodeItem"],
41467
- setup(__props) {
41468
- const props = __props;
41469
- const { getValue: getValue2, setValue } = useProps();
41470
- const nodeItem = useModel$1(__props, "nodeItem");
41471
- const { isMobile, formProps: formProps2, getCurrNode, renderIf, renderValueChange } = useRender(props, nodeItem.value);
41472
- const hasForm = computed(() => {
41473
- var _a;
41474
- if ((nodeItem.value.dataTypeName === "Object" || nodeItem.value.arrayDataTypeName == "Object") && ((_a = nodeItem.value.config.baseConfig) == null ? void 0 : _a.componentName) == "ElsCaption") {
41475
- return false;
41476
- }
41477
- return true;
41478
- });
41479
- if (props.arrayIndex > -1) {
41480
- setValue({
41481
- getCurrNode: () => {
41482
- return getCurrNode();
41483
- }
41484
- });
41485
- }
41486
- return (_ctx, _cache) => {
41487
- var _a;
41488
- const _component_els_caption = resolveComponent("els-caption");
41489
- const _component_els_form_node = resolveComponent("els-form-node");
41490
- return unref(renderIf)() ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
41491
- (nodeItem.value.dataTypeName === "Object" || nodeItem.value.arrayDataTypeName == "Object") && ((_a = nodeItem.value.config.baseConfig) == null ? void 0 : _a.componentName) == "ElsCaption" ? (openBlock(), createBlock(_component_els_caption, mergeProps({ key: 0 }, nodeItem.value.config.baseConfig, {
41492
- title: nodeItem.value.config.baseConfig.title || nodeItem.value.keyName
41493
- }), null, 16, ["title"])) : createCommentVNode("", true),
41494
- nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Show" && nodeItem.value.keyCode ? (openBlock(), createBlock(_sfc_main$16, {
41495
- key: 1,
41496
- nodeItem: nodeItem.value,
41497
- style: normalizeStyle(nodeItem.value.config.advancedConfig.style),
41498
- modelValue: nodeItem.value.value,
41499
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => nodeItem.value.value = $event),
41500
- title: nodeItem.value.keyName
41501
- }, null, 8, ["nodeItem", "style", "modelValue", "title"])) : nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Show" ? (openBlock(), createBlock(_sfc_main$16, {
41502
- key: 2,
41503
- nodeItem: nodeItem.value,
41504
- style: normalizeStyle(nodeItem.value.config.advancedConfig.style),
41505
- title: nodeItem.value.keyName
41506
- }, null, 8, ["nodeItem", "style", "title"])) : nodeItem.value.componentGroup == "Container" ? (openBlock(), createBlock(_sfc_main$17, {
41507
- key: 3,
41508
- parentNode: nodeItem.value,
41509
- nodeItem: nodeItem.value,
41510
- index: _ctx.index
41511
- }, null, 8, ["parentNode", "nodeItem", "index"])) : nodeItem.value.dataTypeName === "Array" && nodeItem.value.arrayDataType !== "Object" || nodeItem.value.dataTypeName === "Array" && nodeItem.value.componentTypeName ? (openBlock(), createBlock(_component_els_form_node, mergeProps({
41512
- key: 4,
41513
- childCreateFormItem: false,
41514
- createFormItem: hasForm.value
41515
- }, unref(formProps2), {
41516
- prop: void 0,
41517
- childType: nodeItem.value.dataTypeName === "Array" ? "" : nodeItem.value.componentTypeName
41518
- }), {
41519
- default: withCtx(() => [
41520
- createVNode(DynamicRenderInnerArray, { nodeItem: nodeItem.value }, null, 8, ["nodeItem"])
41521
- ]),
41522
- _: 1
41523
- }, 16, ["createFormItem", "childType"])) : nodeItem.value.dataTypeName == "Object" || nodeItem.value.dataTypeName === "Array" && nodeItem.value.arrayDataType === "Object" ? (openBlock(), createBlock(_component_els_form_node, mergeProps({
41524
- key: 5,
41525
- childCreateFormItem: false,
41526
- createFormItem: !unref(isMobile) && hasForm.value
41527
- }, unref(formProps2), {
41528
- childType: nodeItem.value.dataTypeName === "Array" ? "" : nodeItem.value.componentTypeName
40651
+ return openBlock(), createElementBlock("div", _hoisted_1$Y, [
40652
+ createVNode(_component_ElsFormNode, mergeProps(Object.assign({}, unref(attrs), unref(formNodeProps)), {
40653
+ labelWidth: _ctx.label === "" || _ctx.label === void 0 ? "0" : void 0
41529
40654
  }), {
41530
40655
  default: withCtx(() => [
41531
- nodeItem.value.dataTypeName == "Object" && nodeItem.value.componentTypeName ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
41532
- unref(isMobile) ? (openBlock(), createBlock(resolveDynamicComponent("van-cell-group"), {
40656
+ createElementVNode("div", _hoisted_2$R, [
40657
+ renderData.value && renderData.value.length && renderData.value[0].componentTypeName === "Form" ? (openBlock(), createBlock(unref(DynamicRenderForm), {
41533
40658
  key: 0,
41534
- title: nodeItem.value.keyName
40659
+ nodeItem: renderData.value[0],
40660
+ isRoot: true
40661
+ }, null, 8, ["nodeItem"])) : (openBlock(), createBlock(_component_els_form, {
40662
+ key: 1,
40663
+ modelValue: renderData.value,
40664
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => renderData.value = $event)
41535
40665
  }, {
41536
40666
  default: withCtx(() => [
41537
- nodeItem.value.dataTypeName == "Object" && nodeItem.value.componentTypeName ? (openBlock(), createBlock(_sfc_main$19, {
41538
- key: 0,
41539
- nodeItem: nodeItem.value,
41540
- modelValue: nodeItem.value.value,
41541
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => nodeItem.value.value = $event),
41542
- onValueChange: _cache[2] || (_cache[2] = ($event) => unref(renderValueChange)($event))
41543
- }, null, 8, ["nodeItem", "modelValue"])) : createCommentVNode("", true)
40667
+ (openBlock(true), createElementBlock(Fragment, null, renderList(renderData.value, (item, index) => {
40668
+ return openBlock(), createBlock(unref(DynamicRenderInner), {
40669
+ index,
40670
+ nodeItem: item,
40671
+ key: item.keyID
40672
+ }, null, 8, ["index", "nodeItem"]);
40673
+ }), 128))
41544
40674
  ]),
41545
40675
  _: 1
41546
- }, 8, ["title"])) : (openBlock(), createBlock(_sfc_main$19, {
41547
- key: 1,
41548
- nodeItem: nodeItem.value,
41549
- modelValue: nodeItem.value.value,
41550
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => nodeItem.value.value = $event),
41551
- onValueChange: _cache[4] || (_cache[4] = ($event) => unref(renderValueChange)($event))
41552
- }, null, 8, ["nodeItem", "modelValue"]))
41553
- ], 64)) : nodeItem.value.dataTypeName == "Object" ? (openBlock(), createBlock(DynamicRenderForm, {
41554
- key: 1,
41555
- nodeItem: nodeItem.value
41556
- }, null, 8, ["nodeItem"])) : (openBlock(), createBlock(DynamicRenderInnerObjectArray, {
41557
- key: 2,
41558
- nodeItem: nodeItem.value
41559
- }, null, 8, ["nodeItem"]))
41560
- ]),
41561
- _: 1
41562
- }, 16, ["createFormItem", "childType"])) : unref(isMobile) && nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Form" ? (openBlock(), createBlock(_sfc_main$19, mergeProps({
41563
- key: 6,
41564
- nodeItem: nodeItem.value,
41565
- modelValue: nodeItem.value.value,
41566
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => nodeItem.value.value = $event)
41567
- }, unref(formProps2), {
41568
- onValueChange: _cache[6] || (_cache[6] = ($event) => unref(renderValueChange)($event))
41569
- }), null, 16, ["nodeItem", "modelValue"])) : nodeItem.value.componentTypeName && nodeItem.value.componentGroup === "Form" ? (openBlock(), createBlock(_component_els_form_node, mergeProps({
41570
- key: 7,
41571
- childCreateFormItem: false,
41572
- createFormItem: hasForm.value
41573
- }, unref(formProps2), {
41574
- childType: nodeItem.value.componentTypeName
41575
- }), {
41576
- default: withCtx(() => [
41577
- createVNode(_sfc_main$19, {
41578
- nodeItem: nodeItem.value,
41579
- modelValue: nodeItem.value.value,
41580
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => nodeItem.value.value = $event),
41581
- onValueChange: _cache[8] || (_cache[8] = ($event) => unref(renderValueChange)($event))
41582
- }, null, 8, ["nodeItem", "modelValue"])
40676
+ }, 8, ["modelValue"]))
40677
+ ])
41583
40678
  ]),
41584
40679
  _: 1
41585
- }, 16, ["createFormItem", "childType"])) : createCommentVNode("", true)
41586
- ], 64)) : createCommentVNode("", true);
41587
- };
41588
- }
41589
- });
41590
- const DynamicRenderInner = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-77f43620"]]);
41591
- const inner = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41592
- __proto__: null,
41593
- default: DynamicRenderInner
41594
- }, Symbol.toStringTag, { value: "Module" }));
41595
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
41596
- __name: "form",
41597
- props: /* @__PURE__ */ mergeModels({
41598
- isRoot: { type: Boolean }
41599
- }, {
41600
- "nodeItem": { default: () => {
41601
- return reactive([]);
41602
- } },
41603
- "nodeItemModifiers": {}
41604
- }),
41605
- emits: ["update:nodeItem"],
41606
- setup(__props) {
41607
- const dyComponent = ref();
41608
- const props = __props;
41609
- const nodeItem = useModel$1(__props, "nodeItem");
41610
- const { setValue } = useProps();
41611
- const { isMobile, getNodeValue, getCurrNode, componentProps } = useRender(props, nodeItem.value);
41612
- useComponentRef(nodeItem.value, dyComponent);
41613
- setValue({
41614
- getCurrNode: () => {
41615
- return getNodeValue(nodeItem.value.children);
41616
- },
41617
- getParentNode: () => {
41618
- return getCurrNode();
41619
- }
41620
- });
41621
- return (_ctx, _cache) => {
41622
- const _component_els_form = resolveComponent("els-form");
41623
- return unref(isMobile) && !_ctx.isRoot ? (openBlock(), createBlock(_component_els_form, mergeProps({
41624
- key: 0,
41625
- modelValue: nodeItem.value.children,
41626
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => nodeItem.value.children = $event)
41627
- }, unref(componentProps), {
41628
- ref_key: "dyComponent",
41629
- ref: dyComponent,
41630
- key: nodeItem.value.keyID
41631
- }), {
41632
- default: withCtx(() => [
41633
- (openBlock(), createBlock(resolveDynamicComponent("van-cell-group"), {
41634
- title: nodeItem.value.keyName
41635
- }, {
41636
- default: withCtx(() => [
41637
- (openBlock(true), createElementBlock(Fragment, null, renderList(nodeItem.value.children, (item, index) => {
41638
- return openBlock(), createBlock(DynamicRenderInner, {
41639
- index,
41640
- nodeItem: item,
41641
- key: item.keyID
41642
- }, null, 8, ["index", "nodeItem"]);
41643
- }), 128))
41644
- ]),
41645
- _: 1
41646
- }, 8, ["title"]))
41647
- ]),
41648
- _: 1
41649
- }, 16, ["modelValue"])) : (openBlock(), createBlock(_component_els_form, mergeProps({
41650
- key: 1,
41651
- modelValue: nodeItem.value.children,
41652
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => nodeItem.value.children = $event)
41653
- }, unref(componentProps), {
41654
- ref_key: "dyComponent",
41655
- ref: dyComponent,
41656
- key: nodeItem.value.keyID
41657
- }), {
41658
- default: withCtx(() => [
41659
- (openBlock(true), createElementBlock(Fragment, null, renderList(nodeItem.value.children, (item, index) => {
41660
- return openBlock(), createBlock(DynamicRenderInner, {
41661
- index,
41662
- nodeItem: item,
41663
- key: item.keyID
41664
- }, null, 8, ["index", "nodeItem"]);
41665
- }), 128))
41666
- ]),
41667
- _: 1
41668
- }, 16, ["modelValue"]));
40680
+ }, 16, ["labelWidth"])
40681
+ ]);
41669
40682
  };
41670
40683
  }
41671
40684
  });
41672
- const DynamicRenderForm = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-21101a89"]]);
41673
- const form = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41674
- __proto__: null,
41675
- default: DynamicRenderForm
41676
- }, Symbol.toStringTag, { value: "Module" }));
40685
+ const DynamicRender = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-fd3b4cba"]]);
41677
40686
  const _hoisted_1$X = { class: "els-node els-dynamic-render" };
41678
40687
  const _hoisted_2$Q = { class: "els-dynamic-render-inner" };
41679
40688
  const _sfc_main$13 = /* @__PURE__ */ defineComponent({
41680
40689
  ...{
41681
- name: "ElsDynamicRender"
40690
+ name: "ElsDynamicRenderAsync"
41682
40691
  },
41683
- __name: "render",
40692
+ __name: "renderAsync",
41684
40693
  props: renderProps,
41685
40694
  emits: ["update:modelValue"],
41686
40695
  setup(__props, { expose: __expose, emit: __emit }) {
40696
+ const DynamicRenderInnerAsync = defineAsyncComponent(() => {
40697
+ return import("./inner-CQJTTdiD.js").then((n) => n.i);
40698
+ });
40699
+ const DynamicRenderFormAsync = defineAsyncComponent(() => {
40700
+ return import("./inner-CQJTTdiD.js").then((n) => n.f);
40701
+ });
41687
40702
  const props = __props;
41688
40703
  const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
40704
+ const emits = __emit;
41689
40705
  const idataTypes = getValue2("dataTypeData", null);
41690
- const attrs = useAttrs();
41691
40706
  const icomponentTypes = getValue2("componentData", null);
41692
40707
  const renderData = ref([]);
41693
40708
  const valueData = ref({});
41694
40709
  const refsData = ref({});
41695
40710
  const currDynamicDataType = ref([]);
41696
- const {
41697
- currModelValue,
41698
- returnModelValue
41699
- } = useModel(props);
41700
40711
  if (idataTypes) {
41701
40712
  currDynamicDataType.value.push(...idataTypes);
41702
40713
  } else {
@@ -41732,11 +40743,11 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
41732
40743
  }
41733
40744
  }, { deep: true, immediate: true });
41734
40745
  function initData() {
41735
- if (currModelValue.value) {
41736
- if (typeof currModelValue.value == "string") {
41737
- valueData.value = JSON.parse(currModelValue.value);
40746
+ if (props.modelValue) {
40747
+ if (typeof props.modelValue == "string") {
40748
+ valueData.value = JSON.parse(props.modelValue);
41738
40749
  } else {
41739
- valueData.value = currModelValue.value;
40750
+ valueData.value = props.modelValue;
41740
40751
  }
41741
40752
  }
41742
40753
  let currData = {};
@@ -41749,7 +40760,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
41749
40760
  initShowConfig(currData, props.showConfig);
41750
40761
  dynamicHandler.recoverData(currData, valueData.value);
41751
40762
  renderData.value.length = 0;
41752
- renderData.value.push(...currData.filter((ele) => ele.isShow));
40763
+ renderData.value.push(...currData.filter((ele) => ele.isShow == 1));
41753
40764
  }
41754
40765
  function initShowConfig(data, showConfigData) {
41755
40766
  if (showConfigData) {
@@ -41777,11 +40788,11 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
41777
40788
  function handleReturnResult() {
41778
40789
  if (props.config) {
41779
40790
  const currData = dynamicHandler.result(renderData.value);
41780
- if (typeof currModelValue.value == "object") {
41781
- returnModelValue(currData);
40791
+ if (typeof props.modelValue == "object") {
40792
+ emits("update:modelValue", currData);
41782
40793
  return;
41783
40794
  }
41784
- returnModelValue(JSON.stringify(currData));
40795
+ emits("update:modelValue", JSON.stringify(currData));
41785
40796
  }
41786
40797
  }
41787
40798
  function getCurrNodeValueData() {
@@ -41800,9 +40811,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
41800
40811
  function getContainerValue(item) {
41801
40812
  const currData = {};
41802
40813
  item.children.forEach((cele) => {
41803
- if (cele.componentGroup === "Container" && cele.dataType === "Object" && cele.keyCode) {
41804
- currData[cele.keyCode] = getContainerValue(cele);
41805
- } else if (cele.componentGroup === "Container") {
40814
+ if (cele.componentGroup === "Container") {
41806
40815
  Object.assign(currData, getContainerValue(cele));
41807
40816
  } else if (cele.keyCode) {
41808
40817
  currData[cele.keyCode] = cele;
@@ -41810,29 +40819,19 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
41810
40819
  });
41811
40820
  return currData;
41812
40821
  }
41813
- const getArrayNodeValue = function(data) {
41814
- const currData = [];
41815
- data.forEach((ele) => {
41816
- currData.push(getNodeValue(ele));
41817
- });
41818
- return currData;
41819
- };
41820
40822
  const getNodeValue = function(data) {
41821
40823
  let currData = {};
41822
40824
  data.forEach((ele) => {
41823
- if (ele.componentGroup === "Container" && ele.dataType === "Object" && ele.keyCode) {
41824
- currData[ele.keyCode] = getContainerValue(ele);
41825
- } else if (ele.componentGroup === "Container") {
40825
+ if (ele.componentGroup === "Container") {
41826
40826
  Object.assign(currData, getContainerValue(ele));
41827
- } else if (ele.keyCode) {
40827
+ } else {
41828
40828
  currData[ele.keyCode] = ele;
41829
40829
  }
41830
40830
  });
41831
40831
  return currData;
41832
40832
  };
41833
40833
  const getCurrNode = function() {
41834
- const result = getNodeValue(renderData.value);
41835
- return result;
40834
+ return getNodeValue(renderData.value);
41836
40835
  };
41837
40836
  function setComponentRef(id, childRef) {
41838
40837
  refsData.value[id] = childRef;
@@ -41853,9 +40852,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
41853
40852
  removeComponentRef,
41854
40853
  getCurrNodeValueData,
41855
40854
  getCurrNode,
41856
- getRootNode: getCurrNode,
41857
40855
  getNodeValue,
41858
- getArrayNodeValue,
41859
40856
  getResult: (data) => {
41860
40857
  return dynamicHandler.result(data);
41861
40858
  }
@@ -41865,44 +40862,52 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
41865
40862
  });
41866
40863
  return (_ctx, _cache) => {
41867
40864
  const _component_els_form = resolveComponent("els-form");
40865
+ const _component_el_skeleton = resolveComponent("el-skeleton");
41868
40866
  const _component_ElsFormNode = resolveComponent("ElsFormNode");
41869
40867
  return openBlock(), createElementBlock("div", _hoisted_1$X, [
41870
- createVNode(_component_ElsFormNode, mergeProps(Object.assign({}, unref(attrs), unref(formNodeProps)), {
41871
- labelWidth: _ctx.label === "" || _ctx.label === void 0 ? "0" : void 0
41872
- }), {
40868
+ createVNode(_component_ElsFormNode, mergeProps(unref(formNodeProps), { labelWidth: "0px" }), {
41873
40869
  default: withCtx(() => [
41874
40870
  createElementVNode("div", _hoisted_2$Q, [
41875
- renderData.value && renderData.value.length && renderData.value[0].componentTypeName === "Form" ? (openBlock(), createBlock(DynamicRenderForm, {
41876
- key: 0,
41877
- nodeItem: renderData.value[0],
41878
- isRoot: true
41879
- }, null, 8, ["nodeItem"])) : (openBlock(), createBlock(_component_els_form, {
41880
- key: 1,
41881
- modelValue: renderData.value,
41882
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => renderData.value = $event)
41883
- }, {
40871
+ (openBlock(), createBlock(Suspense, null, {
41884
40872
  default: withCtx(() => [
41885
- (openBlock(true), createElementBlock(Fragment, null, renderList(renderData.value, (item, index) => {
41886
- return openBlock(), createBlock(DynamicRenderInner, {
41887
- index,
41888
- nodeItem: item,
41889
- key: item.keyID
41890
- }, null, 8, ["index", "nodeItem"]);
41891
- }), 128))
40873
+ createElementVNode("div", null, [
40874
+ renderData.value && renderData.value.length && renderData.value[0].componentTypeName === "Form" ? (openBlock(), createBlock(unref(DynamicRenderFormAsync), {
40875
+ key: 0,
40876
+ isRoot: true,
40877
+ nodeItem: renderData.value[0]
40878
+ }, null, 8, ["nodeItem"])) : (openBlock(), createBlock(_component_els_form, {
40879
+ key: 1,
40880
+ modelValue: renderData.value,
40881
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => renderData.value = $event)
40882
+ }, {
40883
+ default: withCtx(() => [
40884
+ (openBlock(true), createElementBlock(Fragment, null, renderList(renderData.value, (item, index) => {
40885
+ return openBlock(), createBlock(unref(DynamicRenderInnerAsync), {
40886
+ index,
40887
+ nodeItem: item
40888
+ }, null, 8, ["index", "nodeItem"]);
40889
+ }), 256))
40890
+ ]),
40891
+ _: 1
40892
+ }, 8, ["modelValue"]))
40893
+ ])
40894
+ ]),
40895
+ fallback: withCtx(() => [
40896
+ createVNode(_component_el_skeleton, { animated: "" })
41892
40897
  ]),
41893
40898
  _: 1
41894
- }, 8, ["modelValue"]))
40899
+ }))
41895
40900
  ])
41896
40901
  ]),
41897
40902
  _: 1
41898
- }, 16, ["labelWidth"])
40903
+ }, 16)
41899
40904
  ]);
41900
40905
  };
41901
40906
  }
41902
40907
  });
41903
- const DynamicRender = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-2944b7e0"]]);
40908
+ const DynamicRenderAsync = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-957795fa"]]);
41904
40909
  const ElsRender = withInstall(DynamicRender);
41905
- const ElsRenderAsync = withInstall(ElsDynamicRenderAsync);
40910
+ const ElsRenderAsync = withInstall(DynamicRenderAsync);
41906
40911
  const _sfc_main$12 = {};
41907
40912
  const _hoisted_1$W = {
41908
40913
  width: "24",
@@ -43353,7 +42358,273 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
43353
42358
  };
43354
42359
  }
43355
42360
  });
43356
- const DynamicDesignerViewBaseSetting = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-84fcf89f"]]);
42361
+ const DynamicDesignerViewBaseSetting = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-ef71bfd4"]]);
42362
+ function useDesigner(props, nodeItem) {
42363
+ return useRender(props, nodeItem, void 0, void 0, true);
42364
+ }
42365
+ function useRender(props, nodeItem, modelValue = void 0, slotValue = void 0, isDesigner = false) {
42366
+ const { getValue: getValue2 } = useProps();
42367
+ const componentData = getValue2("componentData", []);
42368
+ const isMobile = getValue2("isMobile", false);
42369
+ const getRootNode = getValue2("getRootNode", () => {
42370
+ return {};
42371
+ });
42372
+ const getCurrNode = getValue2("getCurrNode", () => {
42373
+ return {};
42374
+ });
42375
+ const getParentNode = getValue2("getParentNode", () => {
42376
+ return {};
42377
+ });
42378
+ const getNodeValue = getValue2("getNodeValue", () => {
42379
+ return {};
42380
+ });
42381
+ const getArrayNodeValue = getValue2("getArrayNodeValue", () => {
42382
+ return [];
42383
+ });
42384
+ const getGlobalData = getValue2("getGlobalData", () => {
42385
+ return {};
42386
+ });
42387
+ const refsData = getValue2("refsData", {});
42388
+ const getFormPropIndex = getValue2("getFormPropIndex", () => {
42389
+ return "";
42390
+ });
42391
+ let slotRootHasDefault = false;
42392
+ const defaultSlot = nodeItem.slots ? nodeItem.slots.find((ele) => ele.name === "default") : void 0;
42393
+ if (defaultSlot) {
42394
+ if (defaultSlot.children.length > 0 && defaultSlot.children.some((ele) => ele.keyCode === "default")) {
42395
+ slotRootHasDefault = true;
42396
+ }
42397
+ }
42398
+ const componentProps = computed(() => {
42399
+ if (!nodeItem || !nodeItem.config) {
42400
+ return {};
42401
+ }
42402
+ const itemConfig = nodeItem.config;
42403
+ let baseProps = { "style": itemConfig.advancedConfig.style ?? "" };
42404
+ if (nodeItem.componentName === "div") {
42405
+ Object.keys(itemConfig.baseConfig).forEach((key) => {
42406
+ if (itemConfig.baseConfig[key] !== "") {
42407
+ baseProps.style += `;${key}:${itemConfig.baseConfig[key]}`;
42408
+ }
42409
+ });
42410
+ return baseProps;
42411
+ }
42412
+ if (itemConfig.advancedConfig.disabled) {
42413
+ baseProps["disabled"] = renderDisabled();
42414
+ }
42415
+ const currControl = componentData.find((ele) => ele.value == nodeItem.componentType);
42416
+ if (currControl == null ? void 0 : currControl.defaultPropertys) {
42417
+ Object.assign(baseProps, currControl.defaultPropertys, itemConfig.baseConfig);
42418
+ utils.removeEmptyProp(baseProps);
42419
+ utils.setDefaultPropertys(baseProps, currControl.defaultPropertys);
42420
+ } else {
42421
+ Object.assign(baseProps, itemConfig.baseConfig);
42422
+ utils.removeEmptyProp(baseProps);
42423
+ }
42424
+ if (["ElsSelect", "ElsRadio", "ElsCheckBox", "ElsCascader"].includes(nodeItem.componentName)) {
42425
+ if (!baseProps.valueType) {
42426
+ if (nodeItem.dataTypeName == "Number" || nodeItem.arrayDataTypeName == "Number") {
42427
+ baseProps.valueType = "Number";
42428
+ } else if (nodeItem.dataTypeName == "Bool" || nodeItem.arrayDataTypeName == "Bool") {
42429
+ baseProps.valueType = "Bool";
42430
+ }
42431
+ }
42432
+ }
42433
+ if (nodeItem.componentTypeName == "Option") {
42434
+ baseProps["label"] = nodeItem.config.baseConfig.label || nodeItem.keyName;
42435
+ baseProps["value"] = nodeItem.config.baseConfig.value || nodeItem.keyID;
42436
+ } else if (nodeItem.componentTypeName === "CollapseItem") {
42437
+ baseProps["title"] = nodeItem.config.baseConfig.title || "请设置标题";
42438
+ baseProps["name"] = nodeItem.config.baseConfig.name || nodeItem.keyID;
42439
+ } else if (nodeItem.componentTypeName == "Table") {
42440
+ baseProps["tagId"] = nodeItem.keyID;
42441
+ } else if (nodeItem.componentTypeName == "Caption") {
42442
+ baseProps["title"] = nodeItem.config.baseConfig.title || nodeItem.keyName;
42443
+ }
42444
+ renderProps2(baseProps);
42445
+ delete baseProps.innerContent;
42446
+ return baseProps;
42447
+ });
42448
+ const formProps2 = computed(() => {
42449
+ var _a;
42450
+ if (!nodeItem || !nodeItem.config) {
42451
+ return {};
42452
+ }
42453
+ const itemConfig = nodeItem.config;
42454
+ let baseProps = {};
42455
+ const currControl = componentData.find((ele) => ele.value == nodeItem.componentType);
42456
+ if (currControl == null ? void 0 : currControl.defaultPropertys) {
42457
+ baseProps = { ...itemConfig.formConfig };
42458
+ utils.removeEmptyProp(baseProps);
42459
+ }
42460
+ if (nodeItem.dataTypeName == "None" || ((_a = nodeItem.config.baseConfig) == null ? void 0 : _a.componentName) == "ElsCaption" || nodeItem.componentTypeName === "Row") {
42461
+ baseProps.labelWidth = "0px";
42462
+ } else if (nodeItem.dataTypeName == "Array" && nodeItem.arrayDataTypeName == "Object") {
42463
+ delete baseProps.labelWidth;
42464
+ }
42465
+ if (nodeItem.required) {
42466
+ baseProps["required"] = true;
42467
+ }
42468
+ if (nodeItem.keyCode) {
42469
+ baseProps["prop"] = nodeItem.keyCode;
42470
+ }
42471
+ if (nodeItem.description) {
42472
+ baseProps["tip"] = nodeItem.description;
42473
+ }
42474
+ if (props.index !== void 0 && props.index > -1) {
42475
+ const currPropsIndex = getFormPropIndex();
42476
+ baseProps["prop"] = currPropsIndex + `[${props.index}].value`;
42477
+ } else {
42478
+ baseProps["prop"] = nodeItem.keyCode;
42479
+ }
42480
+ baseProps["label"] = nodeItem.keyName;
42481
+ renderProps2(baseProps);
42482
+ return baseProps;
42483
+ });
42484
+ function handleGetCurrNode() {
42485
+ if (props.arrayIndex > -1) {
42486
+ return getCurrNode()[props.arrayIndex];
42487
+ }
42488
+ return getCurrNode();
42489
+ }
42490
+ function renderContent(content) {
42491
+ try {
42492
+ let currContent = content;
42493
+ if (!currContent.startsWith(":")) {
42494
+ return currContent;
42495
+ }
42496
+ currContent = currContent.substring(1);
42497
+ if (!currContent) {
42498
+ return "";
42499
+ }
42500
+ if (isDesigner) {
42501
+ return "属性计算";
42502
+ }
42503
+ let currEvent = new Function("globalData,rootNode,parentNode,currNode,utils", currContent.indexOf("return") > -1 ? currContent : `return ${currContent}`);
42504
+ return currEvent(getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), utils);
42505
+ } catch (err) {
42506
+ console.error(err);
42507
+ console.log("RenderContent异常");
42508
+ console.log(content);
42509
+ return "加载异常";
42510
+ }
42511
+ }
42512
+ function renderEvent(eventExpress) {
42513
+ if (isDesigner) {
42514
+ return "事件计算";
42515
+ }
42516
+ try {
42517
+ let currEvent = new Function("refs,globalData,rootNode,parentNode,currNode,currValue,dataType,slotRootHasDefault,slotValue,utils", eventExpress);
42518
+ return currEvent(refsData.value, getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), modelValue, nodeItem == null ? void 0 : nodeItem.dataType, slotRootHasDefault, slotValue.value, utils);
42519
+ } catch (err) {
42520
+ console.log("RenderEvent异常");
42521
+ console.log(eventExpress);
42522
+ return "加载异常";
42523
+ }
42524
+ }
42525
+ function renderProps2(baseProps) {
42526
+ Object.keys(baseProps).forEach((key) => {
42527
+ if (key.startsWith("event")) {
42528
+ const eventExpress = baseProps[key];
42529
+ baseProps[key.replace("event", "on")] = () => {
42530
+ try {
42531
+ return renderEvent(eventExpress);
42532
+ } catch (err) {
42533
+ console.error(err);
42534
+ }
42535
+ };
42536
+ delete baseProps[key];
42537
+ } else if (key.startsWith("function")) {
42538
+ const eventExpress = baseProps[key];
42539
+ baseProps[key.replace("function", "")] = () => {
42540
+ try {
42541
+ return renderEvent(eventExpress);
42542
+ } catch (err) {
42543
+ console.error(err);
42544
+ }
42545
+ };
42546
+ delete baseProps[key];
42547
+ } else {
42548
+ if (typeof baseProps[key] === "string" && baseProps[key].startsWith(":")) {
42549
+ baseProps[key] = renderContent(baseProps[key]);
42550
+ }
42551
+ }
42552
+ });
42553
+ return baseProps;
42554
+ }
42555
+ function renderIf() {
42556
+ try {
42557
+ if (nodeItem.config.advancedConfig && nodeItem.config.advancedConfig.vif) {
42558
+ let currEvent = new Function("globalData,rootNode,parentNode,currNode,utils", "return " + nodeItem.config.advancedConfig.vif);
42559
+ const isShow = currEvent(getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), utils);
42560
+ nodeItem.isShow = isShow;
42561
+ return isShow;
42562
+ }
42563
+ } catch (err) {
42564
+ console.error(err);
42565
+ }
42566
+ return true;
42567
+ }
42568
+ function renderDisabled() {
42569
+ try {
42570
+ if (nodeItem.config.advancedConfig && nodeItem.config.advancedConfig.disabled) {
42571
+ let currEvent = new Function("globalData,rootNode,parentNode,currNode,utils", "return " + nodeItem.config.advancedConfig.disabled);
42572
+ return currEvent(getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), utils);
42573
+ }
42574
+ } catch (err) {
42575
+ console.error(err);
42576
+ debugger;
42577
+ }
42578
+ return false;
42579
+ }
42580
+ function renderValueChange(val) {
42581
+ try {
42582
+ if (nodeItem.config.advancedConfig && nodeItem.config.advancedConfig.eventChange) {
42583
+ let currEvent = new Function("val,globalData,rootNode,parentNode,currNode,utils", nodeItem.config.advancedConfig.eventChange);
42584
+ return currEvent(val, getGlobalData(), getRootNode(), getParentNode(), handleGetCurrNode(), utils);
42585
+ }
42586
+ } catch (err) {
42587
+ console.log("ValueCahnge异常");
42588
+ console.log(nodeItem.config.advancedConfig.eventChange);
42589
+ }
42590
+ }
42591
+ return {
42592
+ isMobile,
42593
+ componentProps,
42594
+ formProps: formProps2,
42595
+ getRootNode,
42596
+ getParentNode,
42597
+ getNodeValue,
42598
+ getArrayNodeValue,
42599
+ getGlobalData,
42600
+ getCurrNode: handleGetCurrNode,
42601
+ renderProps: renderProps2,
42602
+ renderContent,
42603
+ renderEvent,
42604
+ renderIf,
42605
+ renderValueChange,
42606
+ renderDisabled
42607
+ };
42608
+ }
42609
+ function useComponentRef(nodeItem, dyComponent) {
42610
+ const { getValue: getValue2 } = useProps();
42611
+ const setComponentRef = getValue2("setComponentRef", () => {
42612
+ return {};
42613
+ });
42614
+ const removeComponentRef = getValue2("removeComponentRef", () => {
42615
+ return {};
42616
+ });
42617
+ onMounted(() => {
42618
+ if (nodeItem.keyID && dyComponent) {
42619
+ setComponentRef(nodeItem.keyID, dyComponent.value);
42620
+ }
42621
+ });
42622
+ onUnmounted(() => {
42623
+ if (nodeItem.keyID) {
42624
+ removeComponentRef(nodeItem.keyID);
42625
+ }
42626
+ });
42627
+ }
43357
42628
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
43358
42629
  ...{
43359
42630
  inheritAttrs: false
@@ -43655,7 +42926,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
43655
42926
  };
43656
42927
  }
43657
42928
  });
43658
- const DynamicDesignerViewWrap = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-c71304d5"]]);
42929
+ const DynamicDesignerViewWrap = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-2524d5fb"]]);
43659
42930
  const _hoisted_1$e = ["innerHTML"];
43660
42931
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
43661
42932
  ...{
@@ -43840,7 +43111,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
43840
43111
  };
43841
43112
  }
43842
43113
  });
43843
- const DynamicDesignerViewInner = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-3eb98d32"]]);
43114
+ const DynamicDesignerViewInner = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ed80d52a"]]);
43844
43115
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
43845
43116
  __name: "form",
43846
43117
  props: /* @__PURE__ */ mergeModels({
@@ -44202,7 +43473,7 @@ const useDesign = defineStore("dynamic-design", () => {
44202
43473
  clear
44203
43474
  };
44204
43475
  });
44205
- const _withScopeId = (n) => (pushScopeId("data-v-3fff1023"), n = n(), popScopeId(), n);
43476
+ const _withScopeId = (n) => (pushScopeId("data-v-89c3fdd7"), n = n(), popScopeId(), n);
44206
43477
  const _hoisted_1$c = {
44207
43478
  style: { "display": "flex", "background": "#f8f8f8" },
44208
43479
  class: "els-dynamic-d-view"
@@ -45232,7 +44503,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
45232
44503
  ref: "scroll"
45233
44504
  }, {
45234
44505
  default: withCtx(() => [
45235
- createVNode(ElsDynamicRenderAsync, {
44506
+ createVNode(DynamicRenderAsync, {
45236
44507
  modelValue: currSelectItem.value.config.baseConfig,
45237
44508
  "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => currSelectItem.value.config.baseConfig = $event),
45238
44509
  globalData: currSelectItem.value,
@@ -45259,7 +44530,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
45259
44530
  ref: "scroll"
45260
44531
  }, {
45261
44532
  default: withCtx(() => [
45262
- createVNode(ElsDynamicRenderAsync, {
44533
+ createVNode(DynamicRenderAsync, {
45263
44534
  modelValue: currSelectItem.value.config.arrayConfig,
45264
44535
  "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => currSelectItem.value.config.arrayConfig = $event),
45265
44536
  defaultValueConfig: { "Number": void 0, "Bool": void 0 },
@@ -45285,7 +44556,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
45285
44556
  ref: "scroll"
45286
44557
  }, {
45287
44558
  default: withCtx(() => [
45288
- createVNode(ElsDynamicRenderAsync, {
44559
+ createVNode(DynamicRenderAsync, {
45289
44560
  modelValue: currSelectItem.value.config.formConfig,
45290
44561
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => currSelectItem.value.config.formConfig = $event),
45291
44562
  defaultValueConfig: { "Number": void 0, "Bool": void 0 },
@@ -45310,7 +44581,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
45310
44581
  ref: "scroll"
45311
44582
  }, {
45312
44583
  default: withCtx(() => [
45313
- createVNode(ElsDynamicRenderAsync, {
44584
+ createVNode(DynamicRenderAsync, {
45314
44585
  modelValue: currSelectItem.value.config.advancedConfig,
45315
44586
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => currSelectItem.value.config.advancedConfig = $event),
45316
44587
  isMobile: false,
@@ -45394,7 +44665,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
45394
44665
  };
45395
44666
  }
45396
44667
  });
45397
- const DesignerView = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-3fff1023"]]);
44668
+ const DesignerView = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-89c3fdd7"]]);
45398
44669
  const ElsDesignerView = withInstall(DesignerView);
45399
44670
  (function(Prism2) {
45400
44671
  var string = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
@@ -46201,31 +45472,31 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
46201
45472
  }
46202
45473
  onMounted(() => {
46203
45474
  if (props.language === "json") {
46204
- const currModule = import("./mode-json-BMCcxkSL.js").then((n) => n.m);
45475
+ const currModule = import("./mode-json-B1SG_SOV.js").then((n) => n.m);
46205
45476
  currModule.then((res) => {
46206
45477
  ace.config.setModuleUrl("ace/mode/json", res);
46207
45478
  init();
46208
45479
  });
46209
45480
  } else if (props.language === "javascript") {
46210
- const currModule = import("./mode-javascript-CftGwKZl.js").then((n) => n.m);
45481
+ const currModule = import("./mode-javascript-D7RSWWTa.js").then((n) => n.m);
46211
45482
  currModule.then((res) => {
46212
45483
  ace.config.setModuleUrl("ace/mode/javascript", res);
46213
45484
  init();
46214
45485
  });
46215
45486
  } else if (props.language === "csharp") {
46216
- const currModule = import("./mode-csharp-B0VfPAlW.js").then((n) => n.m);
45487
+ const currModule = import("./mode-csharp-BnmwCKto.js").then((n) => n.m);
46217
45488
  currModule.then((res) => {
46218
45489
  ace.config.setModuleUrl("ace/mode/csharp", res);
46219
45490
  init();
46220
45491
  });
46221
45492
  } else if (props.language === "mysql") {
46222
- const currModule = import("./mode-mysql-D6zJjR-k.js").then((n) => n.m);
45493
+ const currModule = import("./mode-mysql-DlOuNUT7.js").then((n) => n.m);
46223
45494
  currModule.then((res) => {
46224
45495
  ace.config.setModuleUrl("ace/mode/mysql", res);
46225
45496
  init();
46226
45497
  });
46227
45498
  } else if (props.language === "css") {
46228
- const currModule = import("./mode-css-C10iQrgP.js").then((n) => n.m);
45499
+ const currModule = import("./mode-css-Bj6fAIyz.js").then((n) => n.m);
46229
45500
  currModule.then((res) => {
46230
45501
  ace.config.setModuleUrl("ace/mode/css", res);
46231
45502
  init();
@@ -46640,7 +45911,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
46640
45911
  };
46641
45912
  }
46642
45913
  });
46643
- const JsonEditor = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-19833e7c"]]);
45914
+ const JsonEditor = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-713d8976"]]);
46644
45915
  const ElsJsonEditor = withInstall(JsonEditor);
46645
45916
  const _hoisted_1$7 = { class: "els-workpain" };
46646
45917
  const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("span", { class: "el-form-suffix-content" }, "天", -1);
@@ -49553,6 +48824,14 @@ const stampBadgeProps = buildProps({
49553
48824
  }
49554
48825
  });
49555
48826
  const ElsStampBadge = withInstall(StampBadge);
48827
+ const loadAsyncComponent = (loader) => defineAsyncComponent({
48828
+ loader,
48829
+ delay: 1e3
48830
+ });
48831
+ const loadSkeletonAsyncComponent = (loader) => defineAsyncComponent({
48832
+ loader,
48833
+ delay: 1e3
48834
+ });
49556
48835
  const components = [
49557
48836
  ElsInput,
49558
48837
  ElsSelect,
@@ -49619,7 +48898,6 @@ const components = [
49619
48898
  ElsMdPreview,
49620
48899
  ElsUEditor,
49621
48900
  ElsRender,
49622
- ElsRenderAsync,
49623
48901
  ElsInputNumber,
49624
48902
  ElsJsonViewer,
49625
48903
  ElsMdEditor,
@@ -49646,152 +48924,154 @@ const ElementLess = {
49646
48924
  }
49647
48925
  };
49648
48926
  export {
49649
- menuProps as $,
49650
- ElsCol as A,
49651
- ElsForm as B,
49652
- formProps as C,
49653
- DynamicDesignerInner as D,
49654
- ElsDynamicRenderAsync as E,
49655
- ElsFormQuery as F,
49656
- formQueryProps as G,
49657
- ElsFormItem as H,
49658
- formItemProps as I,
49659
- ElsTable as J,
49660
- tableProps as K,
49661
- ElsColumn as L,
49662
- ElsColumnBool as M,
49663
- ElsColumnCheckbox as N,
49664
- ElsColumnEnum as O,
48927
+ treeProps as $,
48928
+ optionGroupProps as A,
48929
+ ElsRow as B,
48930
+ ElsCol as C,
48931
+ DynamicRenderAsync as D,
48932
+ ElementLess as E,
48933
+ ElsForm as F,
48934
+ formProps as G,
48935
+ ElsFormQuery as H,
48936
+ formQueryProps as I,
48937
+ ElsFormItem as J,
48938
+ formItemProps as K,
48939
+ ElsTable as L,
48940
+ tableProps as M,
48941
+ ElsColumn as N,
48942
+ ElsColumnBool as O,
49665
48943
  ProxyElsMessage as P,
49666
- ElsColumnExpand as Q,
49667
- ElsColumnHeader as R,
49668
- ElsColumnImage as S,
49669
- ElsColumnOperate as T,
49670
- ElsColumnSelect as U,
49671
- tableColumnProps as V,
49672
- ElsTreeSelect as W,
49673
- ElsTree as X,
49674
- treeProps as Y,
49675
- ElsMenu as Z,
48944
+ ElsColumnCheckbox as Q,
48945
+ ElsColumnEnum as R,
48946
+ ElsColumnExpand as S,
48947
+ ElsColumnHeader as T,
48948
+ ElsColumnImage as U,
48949
+ ElsColumnOperate as V,
48950
+ ElsColumnSelect as W,
48951
+ tableColumnProps as X,
48952
+ ElsTreeSelect as Y,
48953
+ ElsTree as Z,
49676
48954
  _export_sfc as _,
49677
- utils as a,
49678
- ElsRender as a$,
49679
- menuEmits as a0,
49680
- ElsMenuItem as a1,
49681
- menuItemProps as a2,
49682
- ElsMenuSub as a3,
49683
- ElsSwitch as a4,
49684
- switchProps as a5,
49685
- ElsImage as a6,
49686
- imageProps as a7,
49687
- ElsImageViewer as a8,
49688
- imageViewerProps as a9,
49689
- ElsCollapseTransition as aA,
49690
- collapseTransitionProps as aB,
49691
- ElsTabs as aC,
49692
- tabsProps as aD,
49693
- ElsColorPicker as aE,
49694
- colorPickerProps as aF,
49695
- ElsMenuContext as aG,
49696
- menuContextProps as aH,
49697
- ElsMenuDropdown as aI,
49698
- menuDropdownProps as aJ,
49699
- ElsMenuTool as aK,
49700
- menuToolProps as aL,
49701
- ElsMdPreview as aM,
49702
- ElsCaption as aN,
49703
- captionProps as aO,
49704
- ElsDataModal as aP,
49705
- dataModalProps as aQ,
49706
- ElsButtonSelect as aR,
49707
- ElsButtonSearch as aS,
49708
- ElsButtonExport as aT,
49709
- ElsList as aU,
49710
- listProps as aV,
49711
- ElsTip as aW,
49712
- tipProps as aX,
49713
- ElsFormNode as aY,
49714
- ElsDynamicDesigner as aZ,
49715
- designerProps as a_,
49716
- ElsAutocomplete as aa,
49717
- autocompleteProps as ab,
49718
- ElsCascader as ac,
49719
- cascaderProps as ad,
49720
- ElsCascaderPanel as ae,
49721
- ElsDialog as af,
49722
- dialogProps as ag,
49723
- ElsDrawer as ah,
49724
- drawerProps as ai,
49725
- ElsDropdown as aj,
49726
- ElsDropdownGroup as ak,
49727
- dropdownProps as al,
49728
- ElsSlider as am,
49729
- sliderProps as an,
49730
- ElsInputNumber as ao,
49731
- inputNumberProps as ap,
49732
- ElsUpload as aq,
49733
- uploadProps as ar,
49734
- ElsTimePicker as as,
49735
- timePickerProps as at,
49736
- ElsTimePickerRange as au,
49737
- timePickerRangeProps as av,
49738
- ElsDatePicker as aw,
49739
- datePickerProps as ax,
49740
- ElsDatePickerRange as ay,
49741
- datePickerRangeProps as az,
49742
- property_array as b,
49743
- ElsRenderAsync as b0,
49744
- renderProps as b1,
49745
- ElsContainer as b2,
49746
- containerProps as b3,
49747
- ElsDesignerView as b4,
49748
- designerViewProps as b5,
49749
- ElsHighlight as b6,
49750
- ElsUEditor as b7,
49751
- uEditorProps as b8,
49752
- ElsAceEditor as b9,
49753
- aceEditorProps as ba,
49754
- ElsMdEditor as bb,
49755
- mdEditorProps as bc,
49756
- ElsWangEditor as bd,
49757
- wangEditorProps as be,
49758
- ElsJsonViewer as bf,
49759
- jsonViewerProps as bg,
49760
- ElsJsonEditor as bh,
49761
- jsonEditorProps as bi,
49762
- ElsWorkPlan as bj,
49763
- ElsCron as bk,
49764
- ElsWorkFlow as bl,
49765
- workFlowProps as bm,
49766
- ElsStampBadge as bn,
49767
- stampBadgeProps as bo,
49768
- createAxiosInstance as bp,
49769
- getAxiosInstance as bq,
49770
- setJwtToken as br,
49771
- loadAsyncComponent as bs,
49772
- loadSkeletonAsyncComponent as bt,
49773
- property_formItem as c,
49774
- property_advanced as d,
49775
- ElementLess as e,
49776
- ElsInput as f,
48955
+ useRender as a,
48956
+ ElsDynamicDesigner as a$,
48957
+ ElsMenu as a0,
48958
+ menuProps as a1,
48959
+ menuEmits as a2,
48960
+ ElsMenuItem as a3,
48961
+ menuItemProps as a4,
48962
+ ElsMenuSub as a5,
48963
+ ElsSwitch as a6,
48964
+ switchProps as a7,
48965
+ ElsImage as a8,
48966
+ imageProps as a9,
48967
+ ElsDatePickerRange as aA,
48968
+ datePickerRangeProps as aB,
48969
+ ElsCollapseTransition as aC,
48970
+ collapseTransitionProps as aD,
48971
+ ElsTabs as aE,
48972
+ tabsProps as aF,
48973
+ ElsColorPicker as aG,
48974
+ colorPickerProps as aH,
48975
+ ElsMenuContext as aI,
48976
+ menuContextProps as aJ,
48977
+ ElsMenuDropdown as aK,
48978
+ menuDropdownProps as aL,
48979
+ ElsMenuTool as aM,
48980
+ menuToolProps as aN,
48981
+ ElsMdPreview as aO,
48982
+ ElsCaption as aP,
48983
+ captionProps as aQ,
48984
+ ElsDataModal as aR,
48985
+ dataModalProps as aS,
48986
+ ElsButtonSelect as aT,
48987
+ ElsButtonSearch as aU,
48988
+ ElsButtonExport as aV,
48989
+ ElsList as aW,
48990
+ listProps as aX,
48991
+ ElsTip as aY,
48992
+ tipProps as aZ,
48993
+ ElsFormNode as a_,
48994
+ ElsImageViewer as aa,
48995
+ imageViewerProps as ab,
48996
+ ElsAutocomplete as ac,
48997
+ autocompleteProps as ad,
48998
+ ElsCascader as ae,
48999
+ cascaderProps as af,
49000
+ ElsCascaderPanel as ag,
49001
+ ElsDialog as ah,
49002
+ dialogProps as ai,
49003
+ ElsDrawer as aj,
49004
+ drawerProps as ak,
49005
+ ElsDropdown as al,
49006
+ ElsDropdownGroup as am,
49007
+ dropdownProps as an,
49008
+ ElsSlider as ao,
49009
+ sliderProps as ap,
49010
+ ElsInputNumber as aq,
49011
+ inputNumberProps as ar,
49012
+ ElsUpload as as,
49013
+ uploadProps as at,
49014
+ ElsTimePicker as au,
49015
+ timePickerProps as av,
49016
+ ElsTimePickerRange as aw,
49017
+ timePickerRangeProps as ax,
49018
+ ElsDatePicker as ay,
49019
+ datePickerProps as az,
49020
+ utils as b,
49021
+ designerProps as b0,
49022
+ ElsRender as b1,
49023
+ ElsRenderAsync as b2,
49024
+ renderProps as b3,
49025
+ ElsContainer as b4,
49026
+ containerProps as b5,
49027
+ ElsDesignerView as b6,
49028
+ designerViewProps as b7,
49029
+ ElsHighlight as b8,
49030
+ ElsUEditor as b9,
49031
+ uEditorProps as ba,
49032
+ ElsAceEditor as bb,
49033
+ aceEditorProps as bc,
49034
+ ElsMdEditor as bd,
49035
+ mdEditorProps as be,
49036
+ ElsWangEditor as bf,
49037
+ wangEditorProps as bg,
49038
+ ElsJsonViewer as bh,
49039
+ jsonViewerProps as bi,
49040
+ ElsJsonEditor as bj,
49041
+ jsonEditorProps as bk,
49042
+ ElsWorkPlan as bl,
49043
+ ElsCron as bm,
49044
+ ElsWorkFlow as bn,
49045
+ workFlowProps as bo,
49046
+ ElsStampBadge as bp,
49047
+ stampBadgeProps as bq,
49048
+ createAxiosInstance as br,
49049
+ getAxiosInstance as bs,
49050
+ setJwtToken as bt,
49051
+ loadAsyncComponent as bu,
49052
+ loadSkeletonAsyncComponent as bv,
49053
+ useComponentRef as c,
49054
+ DynamicDesignerInner as d,
49055
+ property_array as e,
49056
+ property_formItem as f,
49777
49057
  getDefaultExportFromCjs as g,
49778
- ElsTextarea as h,
49779
- inputProps as i,
49780
- ElsInputRange as j,
49781
- inputRangeProps as k,
49782
- ElsSelect as l,
49783
- ElsRadio as m,
49784
- ElsCheckbox as n,
49785
- checkboxProps as o,
49058
+ property_advanced as h,
49059
+ ElsInput as i,
49060
+ inputProps as j,
49061
+ ElsTextarea as k,
49062
+ ElsInputRange as l,
49063
+ inputRangeProps as m,
49064
+ ElsSelect as n,
49065
+ ElsRadio as o,
49786
49066
  property_arrayAndObject as p,
49787
- ElsCheckboxButton as q,
49067
+ ElsCheckbox as q,
49788
49068
  radioProps as r,
49789
49069
  selectProps as s,
49790
- ElsRadioButton as t,
49070
+ checkboxProps as t,
49791
49071
  useProps as u,
49792
- ElsOption as v,
49793
- optionProps as w,
49794
- ElsOptionGroup as x,
49795
- optionGroupProps as y,
49796
- ElsRow as z
49072
+ ElsCheckboxButton as v,
49073
+ ElsRadioButton as w,
49074
+ ElsOption as x,
49075
+ optionProps as y,
49076
+ ElsOptionGroup as z
49797
49077
  };