@web-utils/component 4.0.15 → 4.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/address-input/index.mjs +13 -15
  2. package/card/index.mjs +18 -20
  3. package/carousel/index.mjs +10 -12
  4. package/chat/index.mjs +45 -56
  5. package/chunk-file-uploader/index.mjs +36 -378
  6. package/chunk-file-uploader/style.css +1 -1
  7. package/chunks/ElementBaseInfo.ZADwixb5.mjs +125 -0
  8. package/chunks/ElementForm.CQ3PN5qj.mjs +223 -0
  9. package/chunks/ElementListeners.De_PRuIm.mjs +215 -0
  10. package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +181 -0
  11. package/chunks/ElementOtherConfig.B1NfMTYh.mjs +60 -0
  12. package/chunks/ElementProperties.CosfDrlW.mjs +112 -0
  13. package/chunks/{ElementTaskConfig.AvBOzAni.mjs → ElementTaskConfig.Bko0kgTp.mjs} +55 -63
  14. package/chunks/FlowCondition.Y6qEYi1T.mjs +102 -0
  15. package/chunks/FormTemp.BQxO5IQq.mjs +123 -0
  16. package/chunks/SignalAndMessage.Bb5PFX0N.mjs +85 -0
  17. package/chunks/UserTaskListeners.Bv3BDfEI.mjs +169 -0
  18. package/chunks/{confirmable-mixin.BFZb6pcK.mjs → confirmable-mixin.B2TtLAdk.mjs} +1 -1
  19. package/chunks/core.0Exl13Mz.mjs +54 -0
  20. package/chunks/{dataformat.DJoNBlmI.mjs → dataformat.CpqOeGBl.mjs} +6 -6
  21. package/chunks/{dic.BinnDitI.mjs → dic.Dkl-leRW.mjs} +9 -9
  22. package/chunks/dictionary.DGt59Ir7.mjs +68 -0
  23. package/chunks/{event.DSlcqYHL.mjs → event.9aDS6jcw.mjs} +2 -2
  24. package/chunks/{form-input.BtS_J5a2.mjs → form-input.CvFdwlEV.mjs} +2 -2
  25. package/chunks/form-item.LWjePsPa.mjs +233 -0
  26. package/chunks/{index.CIfe3UB3.mjs → index.9OxHjTIE.mjs} +2 -2
  27. package/chunks/{index.Cn7aq-Et.mjs → index.B2TRddqf.mjs} +8 -8
  28. package/chunks/{init.xOlFpTyZ.mjs → init.DAsXSoLW.mjs} +2 -2
  29. package/chunks/sub-table-plus-props.BVsD71hT.mjs +30 -0
  30. package/chunks/{util.DI42t5GU.mjs → util.DqFv_pWg.mjs} +22 -22
  31. package/chunks/utilSelf.Csq1766E.mjs +48 -0
  32. package/chunks/utils.DRcxC1Fb.mjs +60 -0
  33. package/color-picker/index.mjs +22 -101
  34. package/confirm-button/index.mjs +1 -1
  35. package/confirmable/index.mjs +1 -1
  36. package/data-box/index.mjs +12 -15
  37. package/data-card/index.mjs +10 -12
  38. package/data-card-text/index.mjs +10 -12
  39. package/data-display/index.mjs +15 -17
  40. package/data-icons/index.mjs +13 -16
  41. package/data-imgtext/index.mjs +15 -18
  42. package/data-operatext/index.mjs +14 -16
  43. package/data-panel/index.mjs +13 -16
  44. package/data-pay/index.mjs +16 -20
  45. package/data-price/index.mjs +14 -16
  46. package/data-progress/index.mjs +13 -17
  47. package/data-rotate/index.mjs +12 -15
  48. package/data-table-picker/index.mjs +15 -18
  49. package/data-tabs/index.mjs +12 -15
  50. package/dialog-form/index.mjs +16 -18
  51. package/dynamic-table/index.mjs +25 -30
  52. package/editable-progress/index.mjs +9 -11
  53. package/editable-tree/index.mjs +52 -56
  54. package/egd-collapse-item/index.mjs +9 -9
  55. package/element-dialog/index.mjs +22 -23
  56. package/element-listeners/style.css +1 -0
  57. package/element-multi-instance/style.css +1 -0
  58. package/flex-column/index.mjs +1 -1
  59. package/flex-item/index.mjs +1 -1
  60. package/flex-row/index.mjs +1 -1
  61. package/flow/index.mjs +10 -11
  62. package/flow-designer/index.mjs +699 -1973
  63. package/flow-designer/style.css +1 -1
  64. package/flow-node/index.mjs +1 -1
  65. package/flow-viewer/index.mjs +9 -9
  66. package/form-block/index.mjs +32 -34
  67. package/form-cascader/index.mjs +23 -24
  68. package/form-checkbox/index.mjs +16 -17
  69. package/form-checkbox-group/index.mjs +20 -23
  70. package/form-date-picker/index.mjs +18 -20
  71. package/form-holder/index.mjs +13 -14
  72. package/form-input/index.mjs +14 -15
  73. package/form-input-cron-expression/index.mjs +19 -22
  74. package/form-input-email/index.mjs +15 -16
  75. package/form-input-id-card/index.mjs +12 -13
  76. package/form-input-number/index.mjs +16 -17
  77. package/form-input-phone-number/index.mjs +21 -22
  78. package/form-input-tag/index.mjs +14 -15
  79. package/form-input-time/index.mjs +14 -15
  80. package/form-item/index.mjs +140 -3
  81. package/form-item-group/index.mjs +28 -31
  82. package/form-radio-group/index.mjs +27 -28
  83. package/form-select/index.mjs +21 -23
  84. package/form-switch/index.mjs +16 -17
  85. package/form-table/index.mjs +16 -17
  86. package/form-table-plus/index.mjs +21 -22
  87. package/form-textarea/index.mjs +15 -16
  88. package/form-tree-select/index.mjs +14 -15
  89. package/form-tree-select-multiple/index.mjs +14 -15
  90. package/form-view/index.mjs +35 -39
  91. package/fy-array/index.mjs +33 -37
  92. package/fy-cascader/index.mjs +16 -17
  93. package/fy-checkbox/index.mjs +11 -13
  94. package/fy-code/index.mjs +10 -10
  95. package/fy-curd/index.mjs +1128 -1152
  96. package/fy-date/index.mjs +10 -11
  97. package/fy-draggable/index.mjs +9 -10
  98. package/fy-dynamic/index.mjs +22 -25
  99. package/fy-empty/index.mjs +1 -1
  100. package/fy-form/index.mjs +638 -15
  101. package/fy-form-design/index.mjs +1307 -1345
  102. package/fy-from/crud/zh.d.ts +6 -6
  103. package/fy-input/index.mjs +12 -14
  104. package/fy-input-color/index.mjs +13 -15
  105. package/fy-input-icon/index.mjs +20 -23
  106. package/fy-input-map/index.mjs +28 -31
  107. package/fy-input-number/index.mjs +9 -10
  108. package/fy-input-table/index.mjs +18 -22
  109. package/fy-input-tree/index.mjs +33 -37
  110. package/fy-progress/index.mjs +9 -10
  111. package/fy-radio/index.mjs +15 -16
  112. package/fy-rate/index.mjs +10 -11
  113. package/fy-select/index.mjs +25 -29
  114. package/fy-slider/index.mjs +11 -12
  115. package/fy-switch/index.mjs +9 -10
  116. package/fy-tabs/index.mjs +15 -17
  117. package/fy-time/index.mjs +1 -1
  118. package/fy-title/index.mjs +1 -1
  119. package/fy-tree/index.mjs +18 -24
  120. package/fy-u-editor/index.mjs +1 -1
  121. package/fy-upload/index.mjs +74 -76
  122. package/guide-steps/index.mjs +11 -13
  123. package/iframe-window/index.mjs +9 -10
  124. package/image-cropper/index.mjs +28 -30
  125. package/image-preview/index.mjs +12 -14
  126. package/index.mjs +72 -72
  127. package/input-number/index.mjs +13 -14
  128. package/input-number-range/index.mjs +11 -12
  129. package/license/index.mjs +1 -1
  130. package/login/index.mjs +21 -26
  131. package/nav-bar/index.mjs +9 -10
  132. package/notice/index.mjs +9 -10
  133. package/package.json +1 -1
  134. package/page-index/index.mjs +12 -13
  135. package/page-index-top/index.mjs +23 -28
  136. package/page-skeleton/index.mjs +14 -14
  137. package/page-skeleton-new/index.mjs +8 -9
  138. package/pageable-table/index.mjs +172 -182
  139. package/pageable-view/index.mjs +15 -16
  140. package/picker-table-view/index.mjs +49 -58
  141. package/present-view/index.mjs +35 -39
  142. package/record-video/index.mjs +1 -1
  143. package/resize-observer/index.mjs +1 -1
  144. package/search/index.mjs +20 -22
  145. package/search-popover/index.mjs +1 -1
  146. package/sign/index.mjs +1 -1
  147. package/skeleton-panel/index.mjs +9 -10
  148. package/split-pane/index.mjs +36 -37
  149. package/static-pageable-table/index.mjs +11 -13
  150. package/sub-table/index.mjs +36 -49
  151. package/sub-table-plus/index.mjs +229 -18
  152. package/swiper/index.mjs +11 -12
  153. package/table-column/index.mjs +223 -3
  154. package/table-view/index.mjs +52 -60
  155. package/tabs-view/index.mjs +17 -19
  156. package/tag-render/index.mjs +16 -18
  157. package/text-ellipsis/index.mjs +9 -10
  158. package/toolbar/index.mjs +13 -14
  159. package/toolbar-button/index.mjs +13 -14
  160. package/verify/index.mjs +1 -1
  161. package/vue-cron/index.mjs +259 -267
  162. package/watermark/index.mjs +1 -1
  163. package/web-types.json +1 -1
  164. package/x-input-tag/index.mjs +21 -24
  165. package/chunks/FormItem.Bhsy_O2B.mjs +0 -372
  166. package/chunks/FyForm.DriwCJ7b.mjs +0 -765
  167. package/chunks/SignalAndMessage.BpjOoKhK.mjs +0 -92
  168. package/chunks/SubTablePlus.BH0IIv3X.mjs +0 -270
  169. package/chunks/TableColumn.BzivvXMF.mjs +0 -337
@@ -1,21 +1,20 @@
1
- import { S as u, a as p } from "../chunks/SubTablePlus.BH0IIv3X.mjs";
2
- import { F as h } from "../chunks/FormItem.Bhsy_O2B.mjs";
3
- import { f as m } from "../chunks/form-input.BtS_J5a2.mjs";
4
- import { j as s, h as i, n as b } from "../chunks/index.Cn7aq-Et.mjs";
5
- import { isString as a, isArray as _, trace as w, warning as y } from "@web-utils/core";
6
- import { a as k } from "../chunks/form-validate.CVarNHKX.mjs";
7
- import { n as v } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
8
- const P = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), R = {
1
+ import { f as p } from "../chunks/form-input.CvFdwlEV.mjs";
2
+ import { h as s, d as i, n as h } from "../chunks/index.B2TRddqf.mjs";
3
+ import { S as u } from "../chunks/sub-table-plus-props.BVsD71hT.mjs";
4
+ import { isString as a, isArray as m, trace as b, warning as _ } from "@web-utils/core";
5
+ import { a as w } from "../chunks/form-validate.CVarNHKX.mjs";
6
+ import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
7
+ const k = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), v = {
9
8
  name: "FormTablePlus",
10
- mixins: [m, u],
9
+ mixins: [p, u],
11
10
  bus: {
12
11
  reloadTableView(r) {
13
12
  if (this._viewIds)
14
- if (a(r) || _(r)) {
13
+ if (a(r) || m(r)) {
15
14
  let e = r;
16
- a(e) && (e = e.split(",")), this._viewIds.some((l) => e.includes(l)) && (w.call(this.$parent || {}, "reloadTableView"), this.reloadTable());
15
+ a(e) && (e = e.split(",")), this._viewIds.some((l) => e.includes(l)) && (b.call(this.$parent || {}, "reloadTableView"), this.reloadTable());
17
16
  } else
18
- y.call(this.$parent || {}, "`viewId`的类型必须是字符串或数组");
17
+ _.call(this.$parent || {}, "`viewId`的类型必须是字符串或数组");
19
18
  }
20
19
  },
21
20
  props: {
@@ -31,7 +30,7 @@ const P = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled
31
30
  },
32
31
  computed: {
33
32
  inputProps() {
34
- return i({ ...b(this.$attrs), ...this.$props }, P);
33
+ return i({ ...h(this.$attrs), ...this.$props }, k);
35
34
  },
36
35
  listeners() {
37
36
  const r = i(this.$listeners, "input", !1);
@@ -56,7 +55,7 @@ const P = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled
56
55
  addRow() {
57
56
  this.$router.push(s(this.formPath));
58
57
  },
59
- validateRow: k,
58
+ validateRow: w,
60
59
  getRequireRule() {
61
60
  return this.fetchApi ? {
62
61
  required: !0,
@@ -67,10 +66,10 @@ const P = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled
67
66
  }
68
67
  }
69
68
  };
70
- var g = function() {
69
+ var P = function() {
71
70
  var e = this, l = e._self._c;
72
- return l(h, e._b({ attrs: { block: e.block, rules: e.computeRules, "prefix-add": "", disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
73
- return [l(p, e._g(e._b({ ref: "table", class: { "is-readonly": e.readonly }, attrs: { value: e.value, prop: e.prop, "fetch-api": e.fetchApi, "on-row-db-click": e.onRowDbClick, columns: e.columns, "show-message": e.showMessage, readonly: e.readonly, disabled: e.inputDisabled, "toolbar-menus": e.toolbarMenus, "handle-menus": e.handleMenus, "bottom-add-button": e.bottomAddButton, placeholder: e.computePlaceholder, descs: e.descs, "page-size": e.pageSize }, on: { input: (t) => e.$emit("input", t) }, scopedSlots: e._u([e._l(e.columns, function(t) {
71
+ return l("FormItem", e._b({ attrs: { block: e.block, rules: e.computeRules, "prefix-add": "", disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
72
+ return [l("SubTablePlus", e._g(e._b({ ref: "table", class: { "is-readonly": e.readonly }, attrs: { value: e.value, prop: e.prop, "fetch-api": e.fetchApi, "on-row-db-click": e.onRowDbClick, columns: e.columns, "show-message": e.showMessage, readonly: e.readonly, disabled: e.inputDisabled, "toolbar-menus": e.toolbarMenus, "handle-menus": e.handleMenus, "bottom-add-button": e.bottomAddButton, placeholder: e.computePlaceholder, descs: e.descs, "page-size": e.pageSize }, on: { input: (t) => e.$emit("input", t) }, scopedSlots: e._u([e._l(e.columns, function(t) {
74
73
  return { key: t.prop, fn: function({ row: o, column: n, index: d, prop: f, required: c }) {
75
74
  return [e._t(t.prop, null, { row: o, column: n, index: d, prop: f, required: c })];
76
75
  } };
@@ -96,15 +95,15 @@ var g = function() {
96
95
  } }, { key: "label", fn: function() {
97
96
  return [e._t("label")];
98
97
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
99
- }, $ = [], I = /* @__PURE__ */ v(
98
+ }, R = [], g = /* @__PURE__ */ y(
99
+ v,
100
+ P,
100
101
  R,
101
- g,
102
- $,
103
102
  !1,
104
103
  null,
105
104
  null
106
105
  );
107
- const A = I.exports;
106
+ const F = g.exports;
108
107
  export {
109
- A as default
108
+ F as default
110
109
  };
@@ -1,13 +1,12 @@
1
- import n from "element-ui/lib/input";
2
- import { F as s } from "../chunks/FormItem.Bhsy_O2B.mjs";
3
- import { f as a } from "../chunks/form-input.BtS_J5a2.mjs";
4
- import { e as l, h as i, n as u } from "../chunks/index.Cn7aq-Et.mjs";
5
- import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- const m = l(n).filter(
1
+ import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
+ import { c as a, d as s, n as l } from "../chunks/index.B2TRddqf.mjs";
3
+ import i from "element-ui/lib/input";
4
+ import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
+ const p = a(i).filter(
7
6
  (o) => !["value", "placeholder", "type", "rows", "resize", "showWordLimit", "maxLength", "maxlength"].includes(o)
8
- ), f = {
7
+ ), m = {
9
8
  name: "FormTextarea",
10
- mixins: [a],
9
+ mixins: [n],
11
10
  props: {
12
11
  value: [String, Number],
13
12
  rows: {
@@ -31,28 +30,28 @@ const m = l(n).filter(
31
30
  },
32
31
  computed: {
33
32
  inputProps() {
34
- return i({ ...u(this.$attrs), ...this.$props }, m);
33
+ return s({ ...l(this.$attrs), ...this.$props }, p);
35
34
  }
36
35
  }
37
36
  };
38
- var c = function() {
37
+ var f = function() {
39
38
  var e = this, t = e._self._c;
40
- return t(s, e._b({ attrs: { block: e.block, rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
41
- return [e.formView.printing ? t("div", { staticStyle: { "line-height": "1.5" } }, [e._v(" " + e._s(e.value) + " ")]) : t(n, e._g(e._b({ ref: "textarea", attrs: { value: e.value, type: "textarea", rows: e.rows, autosize: e.autosize, resize: e.resize ? null : "none", "show-word-limit": e.showWordLimit, disabled: e.inputDisabled, maxlength: e.maxLength, placeholder: e.computePlaceholder }, on: { input: (r) => e.$emit("input", r) } }, "ElInput", e.inputProps, !1), e.listeners))];
39
+ return t("FormItem", e._b({ attrs: { block: e.block, rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
40
+ return [e.formView.printing ? t("div", { staticStyle: { "line-height": "1.5" } }, [e._v(" " + e._s(e.value) + " ")]) : t("ElInput", e._g(e._b({ ref: "textarea", attrs: { value: e.value, type: "textarea", rows: e.rows, autosize: e.autosize, resize: e.resize ? null : "none", "show-word-limit": e.showWordLimit, disabled: e.inputDisabled, maxlength: e.maxLength, placeholder: e.computePlaceholder }, on: { input: (r) => e.$emit("input", r) } }, "ElInput", e.inputProps, !1), e.listeners))];
42
41
  }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
43
42
  return [e._t("error", null, { error: r })];
44
43
  } }, { key: "label", fn: function() {
45
44
  return [e._t("label")];
46
45
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
47
- }, d = [], _ = /* @__PURE__ */ p(
46
+ }, c = [], d = /* @__PURE__ */ u(
47
+ m,
48
48
  f,
49
49
  c,
50
- d,
51
50
  !1,
52
51
  null,
53
52
  null
54
53
  );
55
- const v = _.exports;
54
+ const b = d.exports;
56
55
  export {
57
- v as default
56
+ b as default
58
57
  };
@@ -1,11 +1,10 @@
1
- import { F as n } from "../chunks/FormItem.Bhsy_O2B.mjs";
2
- import { f as s } from "../chunks/form-input.BtS_J5a2.mjs";
3
- import { v as a, h as i, n as o } from "../chunks/index.Cn7aq-Et.mjs";
4
- import u from "../vue-tree-select/index.mjs";
5
- import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- const p = Object.keys(u.mixins[0].props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), c = {
1
+ import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
+ import { v as s, d as a, n as i } from "../chunks/index.B2TRddqf.mjs";
3
+ import o from "../vue-tree-select/index.mjs";
4
+ import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
+ const p = Object.keys(o.mixins[0].props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), m = {
7
6
  name: "FormTreeSelect",
8
- mixins: [s],
7
+ mixins: [n],
9
8
  props: {
10
9
  value: [String, Number, Array],
11
10
  multiple: Boolean,
@@ -18,12 +17,12 @@ const p = Object.keys(u.mixins[0].props).filter((r) => !["value", "placeholder",
18
17
  },
19
18
  computed: {
20
19
  inputProps() {
21
- return i({ ...o(this.$attrs), ...this.$props }, p);
20
+ return a({ ...i(this.$attrs), ...this.$props }, p);
22
21
  }
23
22
  },
24
23
  watch: {
25
24
  async value(r) {
26
- this.isValidValue = await a(this.prop, r, this.computeRules);
25
+ this.isValidValue = await s(this.prop, r, this.computeRules);
27
26
  }
28
27
  },
29
28
  methods: {
@@ -40,9 +39,9 @@ const p = Object.keys(u.mixins[0].props).filter((r) => !["value", "placeholder",
40
39
  }
41
40
  }
42
41
  };
43
- var f = function() {
42
+ var c = function() {
44
43
  var e = this, l = e._self._c;
45
- return l(n, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
44
+ return l("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
46
45
  return [e._t("default", function() {
47
46
  return [l("VueTreeSelect", e._g(e._b({ class: ["form-tree-select", { "is-readonly": e.readonly }], attrs: { value: e.value, readonly: e.readonly, disabled: e.inputDisabled, multiple: e.multiple, "default-expand-level": 1, placeholder: e.inputDisabled ? "" : e.computePlaceholder, normalizer: e.normalizer }, on: { input: e.emitInput }, scopedSlots: e._u([{ key: "value-label", fn: function({ node: t }) {
48
47
  return [e._t("value-label", function() {
@@ -59,15 +58,15 @@ var f = function() {
59
58
  }, proxy: !0 }, { key: "tips", fn: function() {
60
59
  return [e._t("tips")];
61
60
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
62
- }, d = [], _ = /* @__PURE__ */ m(
61
+ }, d = [], f = /* @__PURE__ */ u(
62
+ m,
63
63
  c,
64
- f,
65
64
  d,
66
65
  !1,
67
66
  null,
68
67
  null
69
68
  );
70
- const V = _.exports;
69
+ const y = f.exports;
71
70
  export {
72
- V as default
71
+ y as default
73
72
  };
@@ -1,11 +1,10 @@
1
- import { F as n } from "../chunks/FormItem.Bhsy_O2B.mjs";
2
- import { f as s } from "../chunks/form-input.BtS_J5a2.mjs";
3
- import { v as a, h as i, n as o } from "../chunks/index.Cn7aq-Et.mjs";
4
- import u from "../vue-tree-select/index.mjs";
5
- import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- const d = Object.keys(u.mixins[0].props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), p = {
1
+ import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
+ import { v as s, d as a, n as i } from "../chunks/index.B2TRddqf.mjs";
3
+ import o from "../vue-tree-select/index.mjs";
4
+ import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
+ const c = Object.keys(o.mixins[0].props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
7
6
  name: "FormTreeSelectMultiple",
8
- mixins: [s],
7
+ mixins: [n],
9
8
  props: {
10
9
  value: Array
11
10
  },
@@ -16,12 +15,12 @@ const d = Object.keys(u.mixins[0].props).filter((t) => !["value", "placeholder",
16
15
  },
17
16
  computed: {
18
17
  inputProps() {
19
- return i({ ...o(this.$attrs), ...this.$props }, d);
18
+ return a({ ...i(this.$attrs), ...this.$props }, c);
20
19
  }
21
20
  },
22
21
  watch: {
23
22
  async value(t) {
24
- this.isValidValue = await a(this.prop, t, this.computeRules);
23
+ this.isValidValue = await s(this.prop, t, this.computeRules);
25
24
  }
26
25
  },
27
26
  methods: {
@@ -46,9 +45,9 @@ const d = Object.keys(u.mixins[0].props).filter((t) => !["value", "placeholder",
46
45
  }
47
46
  }
48
47
  };
49
- var m = function() {
48
+ var p = function() {
50
49
  var e = this, l = e._self._c;
51
- return l(n, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
50
+ return l("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
52
51
  return [e._t("default", function() {
53
52
  return [l("VueTreeSelect", e._g(e._b({ class: ["form-tree-select", { "is-readonly": e.readonly }], attrs: { value: e.value, readonly: e.readonly, disabled: e.inputDisabled, "default-expand-level": 0, placeholder: e.inputDisabled ? "" : e.computePlaceholder, normalizer: e.normalizer }, on: { input: e.emitInput, select: e.nodeSelect, deselect: e.nodeCancelSelect }, scopedSlots: e._u([{ key: "value-label", fn: function({ node: r }) {
54
53
  return [e._t("value-label", function() {
@@ -65,15 +64,15 @@ var m = function() {
65
64
  }, proxy: !0 }, { key: "tips", fn: function() {
66
65
  return [e._t("tips")];
67
66
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
68
- }, f = [], _ = /* @__PURE__ */ c(
67
+ }, m = [], f = /* @__PURE__ */ u(
68
+ d,
69
69
  p,
70
70
  m,
71
- f,
72
71
  !1,
73
72
  null,
74
73
  null
75
74
  );
76
- const V = _.exports;
75
+ const y = f.exports;
77
76
  export {
78
- V as default
77
+ y as default
79
78
  };
@@ -1,13 +1,9 @@
1
- import p from "../loading-view/index.mjs";
2
- import d from "../resize-observer/index.mjs";
3
- import b from "../form-item-group/index.mjs";
4
- import l from "../toolbar/index.mjs";
5
- import c from "../empty-view/index.mjs";
6
- import { isInContainer as v, animate as _, hasOwn as f, toStringArray as g } from "@web-utils/core";
7
- import { merge as w } from "@web-utils/integrations/lodash";
1
+ import { isInContainer as d, animate as m, hasOwn as a, toStringArray as h } from "@web-utils/core";
2
+ import { merge as p } from "@web-utils/integrations/lodash";
3
+ import b from "../resize-observer/index.mjs";
8
4
  import "../resize-observer/style.css";
9
- import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
10
- const m = [
5
+ import { n as v } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
+ const f = [
11
7
  "back",
12
8
  "create",
13
9
  "save",
@@ -27,17 +23,17 @@ const m = [
27
23
  "disabled",
28
24
  "reload",
29
25
  "slot"
30
- ], x = m.map((o) => `${o}-down`), $ = ["back", "withdraw", "edit"], u = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], a = (o, t) => {
26
+ ], _ = f.map((o) => `${o}-down`), g = ["back", "withdraw", "edit"], c = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], l = (o, t) => {
31
27
  if (o.classList.contains(t))
32
28
  return o;
33
29
  let e = o.parentNode;
34
30
  for (; e && !e.classList.contains(t); )
35
31
  e = e.parentNode;
36
32
  return e.classList.contains(t) ? e : null;
37
- }, S = {
33
+ }, w = {
38
34
  name: "FormView",
39
35
  components: {
40
- ResizeObserver: d
36
+ ResizeObserver: b
41
37
  },
42
38
  inject: {
43
39
  flowContext: {
@@ -88,31 +84,31 @@ const m = [
88
84
  },
89
85
  computed: {
90
86
  isFormLoading() {
91
- return this.loading || f(this.$parent, "isFormLoaded") ? !this.$parent.isFormLoaded : !1;
87
+ return this.loading || a(this.$parent, "isFormLoaded") ? !this.$parent.isFormLoaded : !1;
92
88
  },
93
89
  toolbarProps() {
94
90
  var r;
95
- const o = {}, t = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, e = w({}, this.toolbarAttrs, o);
96
- return e.buttons = t || ["back"], e.buttons = g(e.buttons), e;
91
+ const o = {}, t = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, e = p({}, this.toolbarAttrs, o);
92
+ return e.buttons = t || ["back"], e.buttons = h(e.buttons), e;
97
93
  },
98
94
  toolbarButtons() {
99
- return this.toolbarProps.buttons.filter((o) => !u.includes(o) && o.indexOf(":down") < 0).map((o) => o.replace(":up", ""));
95
+ return this.toolbarProps.buttons.filter((o) => !c.includes(o) && o.indexOf(":down") < 0).map((o) => o.replace(":up", ""));
100
96
  },
101
97
  footerBarButtons() {
102
- let o = this.toolbarProps.buttons.filter((t) => !$.includes(t) && (u.includes(t) || t.indexOf(":down") > -1)).map((t) => t.replace(":down", ""));
98
+ let o = this.toolbarProps.buttons.filter((t) => !g.includes(t) && (c.includes(t) || t.indexOf(":down") > -1)).map((t) => t.replace(":down", ""));
103
99
  return o = o || [], this.$parent.isEnabled && !o.includes("cancel") && o.push("cancel"), o;
104
100
  }
105
101
  },
106
102
  created() {
107
103
  this.$on("FormView.addGroup", (o) => {
108
104
  o && (this.activeIndex === -1 && (this.activeIndex = 0), this.groups.push(o), this.groups = this.groups.sort((t, e) => {
109
- const r = a(t.$el, "form-card"), s = a(e.$el, "form-card");
105
+ const r = l(t.$el, "form-card"), s = l(e.$el, "form-card");
110
106
  if (r === s) {
111
107
  const i = [].indexOf.call(t.$el.parentNode.children, t.$el), n = [].indexOf.call(e.$el.parentNode.children, e.$el);
112
108
  return i - n;
113
109
  } else {
114
- const i = a(r, "form-scroller"), n = [].indexOf.call(i.children, r), h = [].indexOf.call(i.children, s);
115
- return n - h;
110
+ const i = l(r, "form-scroller"), n = [].indexOf.call(i.children, r), u = [].indexOf.call(i.children, s);
111
+ return n - u;
116
112
  }
117
113
  }), o.active && (this.activeIndex = this.groups.indexOf(o), this.navItemClick(o, this.activeIndex)));
118
114
  }), this.$on("FormView.removeGroup", (o) => {
@@ -127,10 +123,10 @@ const m = [
127
123
  },
128
124
  methods: {
129
125
  getToolbarSlotKeys() {
130
- return Object.keys(this.$scopedSlots).filter((o) => m.includes(o));
126
+ return Object.keys(this.$scopedSlots).filter((o) => f.includes(o));
131
127
  },
132
128
  getFooterSlotKeys() {
133
- return Object.keys(this.$scopedSlots).filter((o) => x.includes(o));
129
+ return Object.keys(this.$scopedSlots).filter((o) => _.includes(o));
134
130
  },
135
131
  getFooterSlotKey(o) {
136
132
  return o.replace("-down", "");
@@ -139,18 +135,18 @@ const m = [
139
135
  this.showNav = o > 1500;
140
136
  },
141
137
  onEdit() {
142
- !this.toolbarListeners.edit && f(this.$parent, "disabled") && (this.$parent.disabled = !1);
138
+ !this.toolbarListeners.edit && a(this.$parent, "disabled") && (this.$parent.disabled = !1);
143
139
  },
144
140
  async navItemClick(o, t) {
145
141
  this.showNav && (await this.$nextTick(), this.activeFormItemGroup(o, t), o.expand || o.open());
146
142
  },
147
143
  activeFormItemGroup(o, t) {
148
- this.$refs.formScroller.scrollTop = o.$el.offsetTop - 10, _(o.$el, "breathe-indicator-animation"), this.tryByClick = !0, this.activeIndex = t;
144
+ this.$refs.formScroller.scrollTop = o.$el.offsetTop - 10, m(o.$el, "breathe-indicator-animation"), this.tryByClick = !0, this.activeIndex = t;
149
145
  },
150
146
  tryActive() {
151
147
  if (this.showNav) {
152
148
  for (let o = 0; o < this.groups.length; o++)
153
- if (v(this.groups[o].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
149
+ if (d(this.groups[o].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
154
150
  this.activeIndex = o;
155
151
  break;
156
152
  }
@@ -164,10 +160,10 @@ const m = [
164
160
  }
165
161
  }
166
162
  };
167
- var F = function() {
163
+ var y = function() {
168
164
  var t = this, e = t._self._c;
169
165
  return e("div", { class: ["form-view", t.className] }, [t.showToolbar ? e("div", { directives: [{ name: "show", rawName: "v-show", value: !t.isFormLoading, expression: "!isFormLoading" }], staticClass: "form-view-toolbar" }, [t._t("form-view-toolbar", function() {
170
- return [e(l, t._g(t._b({ on: { edit: t.onEdit }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r }) {
166
+ return [e("Toolbar", t._g(t._b({ on: { edit: t.onEdit }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r }) {
171
167
  return [t._t("toolbar-button", null, { buttons: r })];
172
168
  } }, t._l(t.getToolbarSlotKeys(), function(r) {
173
169
  return { key: r, fn: function() {
@@ -177,35 +173,35 @@ var F = function() {
177
173
  return [t._t("toolbar-right")];
178
174
  }, proxy: !0 }], null, !0) }, "Toolbar", { ...t.toolbarProps, buttons: t.toolbarButtons }, !1), t.toolbarListeners))];
179
175
  })], 2) : t._e(), e("div", { directives: [{ name: "show", rawName: "v-show", value: !t.isFormLoading, expression: "!isFormLoading" }], staticClass: "form-scroller-wrapper" }, [e("div", { ref: "formScroller", class: ["form-scroller", t.contentClass], on: { scroll: t.onFormScroll } }, [t.notForm ? e("div", { staticClass: "not-form", style: { width: t.formWidth } }, [t.title ? e("div", { staticClass: "form-view-title" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), t._t("default", function() {
180
- return [e(c, { attrs: { "empty-tips": "请添加表单内容" } })];
181
- }), t.footerBarButtons.length ? e(l, t._g(t._b({ attrs: { footer: "" }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r, footer: s }) {
176
+ return [e("EmptyView", { attrs: { "empty-tips": "请添加表单内容" } })];
177
+ }), t.footerBarButtons.length ? e("Toolbar", t._g(t._b({ attrs: { footer: "" }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r, footer: s }) {
182
178
  return [t._t("footer-button", null, { buttons: r, footer: s })];
183
179
  } }, t._l(t.getFooterSlotKeys(), function(r) {
184
180
  return { key: t.getFooterSlotKey(r), fn: function() {
185
181
  return [t._t(r)];
186
182
  }, proxy: !0 };
187
183
  })], null, !0) }, "Toolbar", { ...t.toolbarProps, buttons: t.footerBarButtons }, !1), t.toolbarListeners)) : t._e(), t.$scopedSlots["form-bottom"] ? t._t("form-bottom") : t._e()], 2) : e("div", { class: ["form-card", { "un-limit": t.unLimit }], style: { width: `calc(${t.formWidth} + 40px)` } }, [e("div", { staticClass: "form-content" }, [t.title ? e("div", { staticClass: "form-view-title" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), t._t("default", function() {
188
- return [e(c, { attrs: { "empty-tips": "请添加表单内容" } })];
189
- }), t.footerBarButtons.length ? e(l, t._g(t._b({ attrs: { footer: "" }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r, footer: s }) {
184
+ return [e("EmptyView", { attrs: { "empty-tips": "请添加表单内容" } })];
185
+ }), t.footerBarButtons.length ? e("Toolbar", t._g(t._b({ attrs: { footer: "" }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r, footer: s }) {
190
186
  return [t._t("footer-button", null, { buttons: r, footer: s })];
191
187
  } }, t._l(t.getFooterSlotKeys(), function(r) {
192
188
  return { key: t.getFooterSlotKey(r), fn: function() {
193
189
  return [t._t(r)];
194
190
  }, proxy: !0 };
195
- })], null, !0) }, "Toolbar", { ...t.toolbarProps, buttons: t.footerBarButtons }, !1), t.toolbarListeners)) : t._e()], 2)]), t.$scopedSlots["form-bottom"] || t.$parent.$options.flowForm && t.flowContext.logs.length ? e("div", { class: ["form-card", { "un-limit": t.unLimit }], staticStyle: { "min-height": "0" }, style: { width: `calc(${t.formWidth} + 40px)` } }, [e("div", { staticClass: "form-content" }, [t.$parent.$options.flowForm && t.flowContext.logs.length ? e(b, { attrs: { "block-title": "流程日志" } }, [e("FlowLog", { staticClass: "flow-log", attrs: { fetch: !1, "show-title": !1, "business-key": t.$parent.bizKey } })], 1) : t._e(), t._t("form-bottom")], 2)]) : t._e()]), e(d, { on: { notify: t.onFormResize } })], 1), t.formNav && !t.isFormLoading && t.showNav && t.groups.length ? e("div", { staticClass: "form-nav" }, [e("div", { staticClass: "form-nav-header" }, [t._v("表单导航")]), e("ul", { staticClass: "form-nav-list" }, t._l(t.groups, function(r, s) {
191
+ })], null, !0) }, "Toolbar", { ...t.toolbarProps, buttons: t.footerBarButtons }, !1), t.toolbarListeners)) : t._e()], 2)]), t.$scopedSlots["form-bottom"] || t.$parent.$options.flowForm && t.flowContext.logs.length ? e("div", { class: ["form-card", { "un-limit": t.unLimit }], staticStyle: { "min-height": "0" }, style: { width: `calc(${t.formWidth} + 40px)` } }, [e("div", { staticClass: "form-content" }, [t.$parent.$options.flowForm && t.flowContext.logs.length ? e("FormItemGroup", { attrs: { "block-title": "流程日志" } }, [e("FlowLog", { staticClass: "flow-log", attrs: { fetch: !1, "show-title": !1, "business-key": t.$parent.bizKey } })], 1) : t._e(), t._t("form-bottom")], 2)]) : t._e()]), e("ResizeObserver", { on: { notify: t.onFormResize } })], 1), t.formNav && !t.isFormLoading && t.showNav && t.groups.length ? e("div", { staticClass: "form-nav" }, [e("div", { staticClass: "form-nav-header" }, [t._v("表单导航")]), e("ul", { staticClass: "form-nav-list" }, t._l(t.groups, function(r, s) {
196
192
  return e("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(i) {
197
193
  return t.navItemClick(r, s);
198
194
  } } }, [t._v(" " + t._s(r.blockTitle) + " ")]);
199
- }), 0)]) : t._e(), t.isFormLoading ? e(p, { attrs: { "icon-size": "34px", "font-size": "16px" } }) : t._e()], 1);
200
- }, k = [], B = /* @__PURE__ */ y(
201
- S,
202
- F,
203
- k,
195
+ }), 0)]) : t._e(), t.isFormLoading ? e("LoadingView", { attrs: { "icon-size": "34px", "font-size": "16px" } }) : t._e()], 1);
196
+ }, x = [], $ = /* @__PURE__ */ v(
197
+ w,
198
+ y,
199
+ x,
204
200
  !1,
205
201
  null,
206
202
  null
207
203
  );
208
- const P = B.exports;
204
+ const L = $.exports;
209
205
  export {
210
- P as default
206
+ L as default
211
207
  };
@@ -1,13 +1,9 @@
1
- import o from "element-ui/lib/button";
2
- import a from "element-ui/lib/input";
3
- import l from "element-ui/lib/link";
4
- import c from "element-ui/lib/tooltip";
5
- import { p, e as u } from "../chunks/event.DSlcqYHL.mjs";
6
- import { v as m } from "../chunks/util.DI42t5GU.mjs";
7
- import { n as d } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
8
- const _ = {
1
+ import { p as a, e as l } from "../chunks/event.9aDS6jcw.mjs";
2
+ import { i as o } from "../chunks/util.DqFv_pWg.mjs";
3
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
+ const p = {
9
5
  name: "FyArray",
10
- mixins: [p, u],
6
+ mixins: [a, l],
11
7
  props: {
12
8
  fileType: String,
13
9
  alone: Boolean,
@@ -29,46 +25,46 @@ const _ = {
29
25
  }
30
26
  },
31
27
  methods: {
32
- isMediaType(r) {
33
- return m(r, this.fileType);
28
+ isMediaType(i) {
29
+ return o(i, this.fileType);
34
30
  },
35
- add(r) {
36
- this.text.splice(r + 1, 0, "");
31
+ add(i) {
32
+ this.text.splice(i + 1, 0, "");
37
33
  },
38
- remove(r) {
39
- this.text.splice(r, 1);
34
+ remove(i) {
35
+ this.text.splice(i, 1);
40
36
  },
41
37
  openImg() {
42
- this.text.map((r) => ({ thumbUrl: r, url: r, type: this.fileType }));
38
+ this.text.map((i) => ({ thumbUrl: i, url: i, type: this.fileType }));
43
39
  }
44
40
  }
45
41
  };
46
- var y = function() {
47
- var e = this, t = e._self._c;
48
- return t("div", { staticClass: "avue-array" }, [e.text ? t(o, { attrs: { type: "primary", icon: "el-icon-plus", circle: "", size: e.size, disabled: e.disabled }, on: { click: function(i) {
49
- return e.add();
50
- } } }) : e._e(), e._l(e.text, function(i, n) {
51
- return t("div", { key: n, staticClass: "avue-array__item" }, [t("div", { staticClass: "avue-array__input" }, [t(c, { attrs: { placement: "bottom", disabled: !e.isImg && !e.isUrl || !!i }, scopedSlots: e._u([{ key: "content", fn: function() {
52
- return [t("div", [e.isImg ? t(e.isMediaType(i), { tag: "Component", staticStyle: { width: "200px" }, attrs: { src: i, controls: "controls" }, on: { click: function(s) {
53
- return e.openImg(n);
54
- } } }) : e.isUrl ? t(l, { attrs: { type: "primary", href: i, target: e.target } }, [e._v(" " + e._s(i) + " ")]) : e._e()], 1)];
55
- }, proxy: !0 }], null, !0) }, [t(a, { attrs: { size: e.size, placeholder: e.placeholder, disabled: e.disabled }, model: { value: e.text[n], callback: function(s) {
56
- e.$set(e.text, n, s);
57
- }, expression: "text[index]" } })], 1), e.disabled || e.readonly || e.alone ? e._e() : [e.isLimit ? e._e() : t(o, { attrs: { type: "primary", icon: "el-icon-plus", circle: "", size: e.size, disabled: e.disabled }, on: { click: function(s) {
58
- return e.add(n);
59
- } } }), t(o, { attrs: { type: "danger", icon: "el-icon-minus", circle: "", size: e.size, disabled: e.disabled }, on: { click: function(s) {
60
- return e.remove(n);
42
+ var u = function() {
43
+ var t = this, e = t._self._c;
44
+ return e("div", { staticClass: "avue-array" }, [t.text ? e("ElButton", { attrs: { type: "primary", icon: "el-icon-plus", circle: "", size: t.size, disabled: t.disabled }, on: { click: function(r) {
45
+ return t.add();
46
+ } } }) : t._e(), t._l(t.text, function(r, s) {
47
+ return e("div", { key: s, staticClass: "avue-array__item" }, [e("div", { staticClass: "avue-array__input" }, [e("ElTooltip", { attrs: { placement: "bottom", disabled: !t.isImg && !t.isUrl || !!r }, scopedSlots: t._u([{ key: "content", fn: function() {
48
+ return [e("div", [t.isImg ? e(t.isMediaType(r), { tag: "Component", staticStyle: { width: "200px" }, attrs: { src: r, controls: "controls" }, on: { click: function(n) {
49
+ return t.openImg(s);
50
+ } } }) : t.isUrl ? e("ElLink", { attrs: { type: "primary", href: r, target: t.target } }, [t._v(" " + t._s(r) + " ")]) : t._e()], 1)];
51
+ }, proxy: !0 }], null, !0) }, [e("ElInput", { attrs: { size: t.size, placeholder: t.placeholder, disabled: t.disabled }, model: { value: t.text[s], callback: function(n) {
52
+ t.$set(t.text, s, n);
53
+ }, expression: "text[index]" } })], 1), t.disabled || t.readonly || t.alone ? t._e() : [t.isLimit ? t._e() : e("ElButton", { attrs: { type: "primary", icon: "el-icon-plus", circle: "", size: t.size, disabled: t.disabled }, on: { click: function(n) {
54
+ return t.add(s);
55
+ } } }), e("ElButton", { attrs: { type: "danger", icon: "el-icon-minus", circle: "", size: t.size, disabled: t.disabled }, on: { click: function(n) {
56
+ return t.remove(s);
61
57
  } } })]], 2)]);
62
58
  })], 2);
63
- }, f = [], v = /* @__PURE__ */ d(
64
- _,
65
- y,
66
- f,
59
+ }, d = [], m = /* @__PURE__ */ c(
60
+ p,
61
+ u,
62
+ d,
67
63
  !1,
68
64
  null,
69
65
  null
70
66
  );
71
- const T = v.exports;
67
+ const v = m.exports;
72
68
  export {
73
- T as default
69
+ v as default
74
70
  };
@@ -1,9 +1,8 @@
1
- import p from "element-ui/lib/cascader";
2
- import { p as u, e as d } from "../chunks/event.DSlcqYHL.mjs";
3
- import { n as h } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
- const f = {
1
+ import { p, e as d } from "../chunks/event.9aDS6jcw.mjs";
2
+ import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
+ const h = {
5
4
  name: "FyCascader",
6
- mixins: [u, d],
5
+ mixins: [p, d],
7
6
  props: {
8
7
  checkStrictly: {
9
8
  type: Boolean,
@@ -53,39 +52,39 @@ const f = {
53
52
  lazy: this.lazy,
54
53
  lazyLoad: (r, e) => {
55
54
  var l;
56
- const t = (a) => {
55
+ const a = (t) => {
57
56
  const n = (o, i, c) => {
58
57
  o.forEach((s) => {
59
58
  s[this.valueKey] === i ? s[this.childrenKey] = c : s[this.childrenKey] && n(s[this.childrenKey]);
60
59
  });
61
60
  };
62
- n(this.dic, r[this.valueKey], a), e(a);
61
+ n(this.dic, r[this.valueKey], t), e(t);
63
62
  };
64
- (l = this.lazyLoad) == null || l.call(this, r, t);
63
+ (l = this.lazyLoad) == null || l.call(this, r, a);
65
64
  },
66
65
  expandTrigger: this.expandTrigger
67
66
  };
68
67
  }
69
68
  }
70
69
  };
71
- var y = function() {
72
- var e = this, t = e._self._c;
73
- return t(p, { attrs: { options: e.dic, placeholder: e.placeholder, props: e.allProps, size: e.size, clearable: e.clearableVal, "show-all-levels": e.showAllLevels, filterable: e.filterable, "popper-class": e.popperClass, separator: e.separator, disabled: e.disabled, "collapse-tags": e.tags }, on: { focus: e.handleFocus, blur: e.handleBlur }, nativeOn: { click: function(l) {
70
+ var f = function() {
71
+ var e = this, a = e._self._c;
72
+ return a("ElCascader", { attrs: { options: e.dic, placeholder: e.placeholder, props: e.allProps, size: e.size, clearable: e.clearableVal, "show-all-levels": e.showAllLevels, filterable: e.filterable, "popper-class": e.popperClass, separator: e.separator, disabled: e.disabled, "collapse-tags": e.tags }, on: { focus: e.handleFocus, blur: e.handleBlur }, nativeOn: { click: function(l) {
74
73
  return e.handleClick.apply(null, arguments);
75
- } }, scopedSlots: e._u([{ key: "default", fn: function({ data: l, node: a }) {
76
- return [e.$scopedSlots.default ? e._t("default", null, { data: l, node: a }) : t("span", [e._v(e._s(l[e.labelKey]))])];
74
+ } }, scopedSlots: e._u([{ key: "default", fn: function({ data: l, node: t }) {
75
+ return [e.$scopedSlots.default ? e._t("default", null, { data: l, node: t }) : a("span", [e._v(e._s(l[e.labelKey]))])];
77
76
  } }], null, !0), model: { value: e.text, callback: function(l) {
78
77
  e.text = l;
79
78
  }, expression: "text" } });
80
- }, m = [], _ = /* @__PURE__ */ h(
79
+ }, y = [], m = /* @__PURE__ */ u(
80
+ h,
81
81
  f,
82
82
  y,
83
- m,
84
83
  !1,
85
84
  null,
86
85
  null
87
86
  );
88
- const x = _.exports;
87
+ const b = m.exports;
89
88
  export {
90
- x as default
89
+ b as default
91
90
  };