@web-utils/component 4.0.13 → 4.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.
Files changed (171) hide show
  1. package/address-input/index.mjs +15 -13
  2. package/card/index.mjs +20 -18
  3. package/carousel/index.mjs +12 -10
  4. package/chat/index.mjs +56 -45
  5. package/chunk-file-uploader/index.mjs +378 -36
  6. package/chunk-file-uploader/style.css +1 -1
  7. package/chunks/{ElementTaskConfig.Bko0kgTp.mjs → ElementTaskConfig.AvBOzAni.mjs} +63 -55
  8. package/chunks/FormItem.Bhsy_O2B.mjs +372 -0
  9. package/chunks/FyForm.DriwCJ7b.mjs +765 -0
  10. package/chunks/SignalAndMessage.BpjOoKhK.mjs +92 -0
  11. package/chunks/SubTablePlus.BH0IIv3X.mjs +270 -0
  12. package/chunks/TableColumn.BzivvXMF.mjs +337 -0
  13. package/chunks/{confirmable-mixin.B2TtLAdk.mjs → confirmable-mixin.BFZb6pcK.mjs} +1 -1
  14. package/chunks/{dataformat.CpqOeGBl.mjs → dataformat.DJoNBlmI.mjs} +6 -6
  15. package/chunks/{dic.Dkl-leRW.mjs → dic.BinnDitI.mjs} +9 -9
  16. package/chunks/{event.9aDS6jcw.mjs → event.DSlcqYHL.mjs} +2 -2
  17. package/chunks/{form-input.CvFdwlEV.mjs → form-input.BtS_J5a2.mjs} +2 -2
  18. package/chunks/{index.9OxHjTIE.mjs → index.CIfe3UB3.mjs} +2 -2
  19. package/chunks/{index.B2TRddqf.mjs → index.Cn7aq-Et.mjs} +8 -8
  20. package/chunks/{init.DAsXSoLW.mjs → init.xOlFpTyZ.mjs} +2 -2
  21. package/chunks/{util.DqFv_pWg.mjs → util.DI42t5GU.mjs} +22 -22
  22. package/color-picker/index.mjs +101 -22
  23. package/confirm-button/index.mjs +1 -1
  24. package/confirmable/index.mjs +1 -1
  25. package/data-box/index.mjs +15 -12
  26. package/data-card/index.mjs +12 -10
  27. package/data-card-text/index.mjs +12 -10
  28. package/data-display/index.mjs +17 -15
  29. package/data-icons/index.mjs +16 -13
  30. package/data-imgtext/index.mjs +18 -15
  31. package/data-operatext/index.mjs +16 -14
  32. package/data-panel/index.mjs +16 -13
  33. package/data-pay/index.mjs +20 -16
  34. package/data-price/index.mjs +16 -14
  35. package/data-progress/index.mjs +17 -13
  36. package/data-rotate/index.mjs +15 -12
  37. package/data-table-picker/index.mjs +18 -15
  38. package/data-tabs/index.mjs +15 -12
  39. package/dialog-form/index.mjs +18 -16
  40. package/dynamic-table/index.mjs +30 -25
  41. package/editable-progress/index.mjs +11 -9
  42. package/editable-tree/index.mjs +56 -52
  43. package/egd-collapse-item/index.mjs +9 -9
  44. package/element-dialog/index.mjs +23 -22
  45. package/flex-column/index.mjs +1 -1
  46. package/flex-item/index.mjs +1 -1
  47. package/flex-row/index.mjs +1 -1
  48. package/flow/index.mjs +11 -10
  49. package/flow-designer/index.mjs +1973 -699
  50. package/flow-designer/style.css +1 -1
  51. package/flow-node/index.mjs +1 -1
  52. package/flow-viewer/index.mjs +9 -9
  53. package/form-block/index.mjs +34 -32
  54. package/form-cascader/index.mjs +24 -23
  55. package/form-checkbox/index.mjs +17 -16
  56. package/form-checkbox-group/index.mjs +23 -20
  57. package/form-checkbox-group/style.css +1 -1
  58. package/form-date-picker/index.mjs +20 -18
  59. package/form-holder/index.mjs +14 -13
  60. package/form-input/index.mjs +15 -14
  61. package/form-input-cron-expression/index.mjs +22 -19
  62. package/form-input-email/index.mjs +16 -15
  63. package/form-input-id-card/index.mjs +13 -12
  64. package/form-input-number/index.mjs +17 -16
  65. package/form-input-phone-number/index.mjs +22 -21
  66. package/form-input-tag/index.mjs +15 -14
  67. package/form-input-time/index.mjs +15 -14
  68. package/form-item/index.mjs +3 -140
  69. package/form-item-group/index.mjs +31 -28
  70. package/form-radio-group/index.mjs +28 -27
  71. package/form-radio-group/style.css +1 -1
  72. package/form-select/index.mjs +23 -21
  73. package/form-switch/index.mjs +17 -16
  74. package/form-table/index.mjs +17 -16
  75. package/form-table-plus/index.mjs +22 -21
  76. package/form-textarea/index.mjs +16 -15
  77. package/form-tree-select/index.mjs +15 -14
  78. package/form-tree-select-multiple/index.mjs +15 -14
  79. package/form-view/index.mjs +39 -35
  80. package/fy-array/index.mjs +37 -33
  81. package/fy-cascader/index.mjs +17 -16
  82. package/fy-checkbox/index.mjs +13 -11
  83. package/fy-code/index.mjs +10 -10
  84. package/fy-curd/index.mjs +1147 -1123
  85. package/fy-date/index.mjs +11 -10
  86. package/fy-draggable/index.mjs +10 -9
  87. package/fy-dynamic/index.mjs +25 -22
  88. package/fy-empty/index.mjs +1 -1
  89. package/fy-form/index.mjs +15 -638
  90. package/fy-form-design/index.mjs +1165 -1127
  91. package/fy-input/index.mjs +14 -12
  92. package/fy-input-color/index.mjs +15 -13
  93. package/fy-input-icon/index.mjs +23 -20
  94. package/fy-input-map/index.mjs +31 -28
  95. package/fy-input-number/index.mjs +10 -9
  96. package/fy-input-table/index.mjs +22 -18
  97. package/fy-input-tree/index.mjs +37 -33
  98. package/fy-progress/index.mjs +10 -9
  99. package/fy-radio/index.mjs +16 -15
  100. package/fy-rate/index.mjs +11 -10
  101. package/fy-select/index.mjs +29 -25
  102. package/fy-slider/index.mjs +12 -11
  103. package/fy-switch/index.mjs +10 -9
  104. package/fy-tabs/index.mjs +17 -15
  105. package/fy-time/index.mjs +1 -1
  106. package/fy-title/index.mjs +1 -1
  107. package/fy-tree/index.mjs +24 -18
  108. package/fy-u-editor/index.mjs +1 -1
  109. package/fy-upload/index.mjs +76 -74
  110. package/guide-steps/index.mjs +13 -11
  111. package/iframe-window/index.mjs +10 -9
  112. package/image-cropper/index.mjs +30 -28
  113. package/image-preview/index.mjs +14 -12
  114. package/index.mjs +72 -72
  115. package/input-number/index.mjs +14 -13
  116. package/input-number-range/index.mjs +12 -11
  117. package/license/index.mjs +1 -1
  118. package/login/index.mjs +26 -21
  119. package/nav-bar/index.mjs +10 -9
  120. package/notice/index.mjs +10 -9
  121. package/package.json +1 -1
  122. package/page-index/index.mjs +13 -12
  123. package/page-index-top/index.mjs +28 -23
  124. package/page-skeleton/index.mjs +14 -14
  125. package/page-skeleton-new/index.mjs +9 -8
  126. package/pageable-table/index.mjs +182 -172
  127. package/pageable-table/style.css +1 -1
  128. package/pageable-view/index.mjs +16 -15
  129. package/picker-table-view/index.mjs +58 -49
  130. package/present-view/index.mjs +39 -35
  131. package/record-video/index.mjs +1 -1
  132. package/resize-observer/index.mjs +1 -1
  133. package/search/index.mjs +22 -20
  134. package/search-popover/index.mjs +1 -1
  135. package/sign/index.mjs +1 -1
  136. package/skeleton-panel/index.mjs +10 -9
  137. package/split-pane/index.mjs +37 -36
  138. package/static-pageable-table/index.mjs +13 -11
  139. package/sub-table/index.mjs +49 -36
  140. package/sub-table-plus/index.mjs +18 -229
  141. package/swiper/index.mjs +12 -11
  142. package/table-column/index.mjs +3 -223
  143. package/table-view/index.mjs +60 -52
  144. package/tabs-view/index.mjs +19 -17
  145. package/tag-render/index.mjs +18 -16
  146. package/text-ellipsis/index.mjs +10 -9
  147. package/toolbar/index.mjs +14 -13
  148. package/toolbar-button/index.mjs +14 -13
  149. package/verify/index.mjs +1 -1
  150. package/vue-cron/index.mjs +267 -259
  151. package/watermark/index.mjs +1 -1
  152. package/web-types.json +1 -1
  153. package/x-input-tag/index.mjs +24 -21
  154. package/chunks/ElementBaseInfo.ZADwixb5.mjs +0 -125
  155. package/chunks/ElementForm.CQ3PN5qj.mjs +0 -223
  156. package/chunks/ElementListeners.De_PRuIm.mjs +0 -215
  157. package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +0 -181
  158. package/chunks/ElementOtherConfig.B1NfMTYh.mjs +0 -60
  159. package/chunks/ElementProperties.CosfDrlW.mjs +0 -112
  160. package/chunks/FlowCondition.Y6qEYi1T.mjs +0 -102
  161. package/chunks/FormTemp.BQxO5IQq.mjs +0 -123
  162. package/chunks/SignalAndMessage.Bb5PFX0N.mjs +0 -85
  163. package/chunks/UserTaskListeners.Bv3BDfEI.mjs +0 -169
  164. package/chunks/core.0Exl13Mz.mjs +0 -54
  165. package/chunks/dictionary.DGt59Ir7.mjs +0 -68
  166. package/chunks/form-item.LWjePsPa.mjs +0 -233
  167. package/chunks/sub-table-plus-props.BVsD71hT.mjs +0 -30
  168. package/chunks/utilSelf.Csq1766E.mjs +0 -48
  169. package/chunks/utils.DRcxC1Fb.mjs +0 -60
  170. package/element-listeners/style.css +0 -1
  171. package/element-multi-instance/style.css +0 -1
@@ -1,20 +1,21 @@
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 = {
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 = {
8
9
  name: "FormTablePlus",
9
- mixins: [p, u],
10
+ mixins: [m, u],
10
11
  bus: {
11
12
  reloadTableView(r) {
12
13
  if (this._viewIds)
13
- if (a(r) || m(r)) {
14
+ if (a(r) || _(r)) {
14
15
  let e = r;
15
- a(e) && (e = e.split(",")), this._viewIds.some((l) => e.includes(l)) && (b.call(this.$parent || {}, "reloadTableView"), this.reloadTable());
16
+ a(e) && (e = e.split(",")), this._viewIds.some((l) => e.includes(l)) && (w.call(this.$parent || {}, "reloadTableView"), this.reloadTable());
16
17
  } else
17
- _.call(this.$parent || {}, "`viewId`的类型必须是字符串或数组");
18
+ y.call(this.$parent || {}, "`viewId`的类型必须是字符串或数组");
18
19
  }
19
20
  },
20
21
  props: {
@@ -30,7 +31,7 @@ const k = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled
30
31
  },
31
32
  computed: {
32
33
  inputProps() {
33
- return i({ ...h(this.$attrs), ...this.$props }, k);
34
+ return i({ ...b(this.$attrs), ...this.$props }, P);
34
35
  },
35
36
  listeners() {
36
37
  const r = i(this.$listeners, "input", !1);
@@ -55,7 +56,7 @@ const k = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled
55
56
  addRow() {
56
57
  this.$router.push(s(this.formPath));
57
58
  },
58
- validateRow: w,
59
+ validateRow: k,
59
60
  getRequireRule() {
60
61
  return this.fetchApi ? {
61
62
  required: !0,
@@ -66,10 +67,10 @@ const k = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled
66
67
  }
67
68
  }
68
69
  };
69
- var P = function() {
70
+ var g = function() {
70
71
  var e = this, l = e._self._c;
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) {
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) {
73
74
  return { key: t.prop, fn: function({ row: o, column: n, index: d, prop: f, required: c }) {
74
75
  return [e._t(t.prop, null, { row: o, column: n, index: d, prop: f, required: c })];
75
76
  } };
@@ -95,15 +96,15 @@ var P = function() {
95
96
  } }, { key: "label", fn: function() {
96
97
  return [e._t("label")];
97
98
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
98
- }, R = [], g = /* @__PURE__ */ y(
99
- v,
100
- P,
99
+ }, $ = [], I = /* @__PURE__ */ v(
101
100
  R,
101
+ g,
102
+ $,
102
103
  !1,
103
104
  null,
104
105
  null
105
106
  );
106
- const F = g.exports;
107
+ const A = I.exports;
107
108
  export {
108
- F as default
109
+ A as default
109
110
  };
@@ -1,12 +1,13 @@
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(
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(
6
7
  (o) => !["value", "placeholder", "type", "rows", "resize", "showWordLimit", "maxLength", "maxlength"].includes(o)
7
- ), m = {
8
+ ), f = {
8
9
  name: "FormTextarea",
9
- mixins: [n],
10
+ mixins: [a],
10
11
  props: {
11
12
  value: [String, Number],
12
13
  rows: {
@@ -30,28 +31,28 @@ const p = a(i).filter(
30
31
  },
31
32
  computed: {
32
33
  inputProps() {
33
- return s({ ...l(this.$attrs), ...this.$props }, p);
34
+ return i({ ...u(this.$attrs), ...this.$props }, m);
34
35
  }
35
36
  }
36
37
  };
37
- var f = function() {
38
+ var c = function() {
38
39
  var e = this, t = e._self._c;
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))];
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))];
41
42
  }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
42
43
  return [e._t("error", null, { error: r })];
43
44
  } }, { key: "label", fn: function() {
44
45
  return [e._t("label")];
45
46
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
46
- }, c = [], d = /* @__PURE__ */ u(
47
- m,
47
+ }, d = [], _ = /* @__PURE__ */ p(
48
48
  f,
49
49
  c,
50
+ d,
50
51
  !1,
51
52
  null,
52
53
  null
53
54
  );
54
- const b = d.exports;
55
+ const v = _.exports;
55
56
  export {
56
- b as default
57
+ v as default
57
58
  };
@@ -1,10 +1,11 @@
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 = {
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 = {
6
7
  name: "FormTreeSelect",
7
- mixins: [n],
8
+ mixins: [s],
8
9
  props: {
9
10
  value: [String, Number, Array],
10
11
  multiple: Boolean,
@@ -17,12 +18,12 @@ const p = Object.keys(o.mixins[0].props).filter((r) => !["value", "placeholder",
17
18
  },
18
19
  computed: {
19
20
  inputProps() {
20
- return a({ ...i(this.$attrs), ...this.$props }, p);
21
+ return i({ ...o(this.$attrs), ...this.$props }, p);
21
22
  }
22
23
  },
23
24
  watch: {
24
25
  async value(r) {
25
- this.isValidValue = await s(this.prop, r, this.computeRules);
26
+ this.isValidValue = await a(this.prop, r, this.computeRules);
26
27
  }
27
28
  },
28
29
  methods: {
@@ -39,9 +40,9 @@ const p = Object.keys(o.mixins[0].props).filter((r) => !["value", "placeholder",
39
40
  }
40
41
  }
41
42
  };
42
- var c = function() {
43
+ var f = function() {
43
44
  var e = this, l = e._self._c;
44
- return l("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
45
+ return l(n, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
45
46
  return [e._t("default", function() {
46
47
  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 }) {
47
48
  return [e._t("value-label", function() {
@@ -58,15 +59,15 @@ var c = function() {
58
59
  }, proxy: !0 }, { key: "tips", fn: function() {
59
60
  return [e._t("tips")];
60
61
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
61
- }, d = [], f = /* @__PURE__ */ u(
62
- m,
62
+ }, d = [], _ = /* @__PURE__ */ m(
63
63
  c,
64
+ f,
64
65
  d,
65
66
  !1,
66
67
  null,
67
68
  null
68
69
  );
69
- const y = f.exports;
70
+ const V = _.exports;
70
71
  export {
71
- y as default
72
+ V as default
72
73
  };
@@ -1,10 +1,11 @@
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 = {
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 = {
6
7
  name: "FormTreeSelectMultiple",
7
- mixins: [n],
8
+ mixins: [s],
8
9
  props: {
9
10
  value: Array
10
11
  },
@@ -15,12 +16,12 @@ const c = Object.keys(o.mixins[0].props).filter((t) => !["value", "placeholder",
15
16
  },
16
17
  computed: {
17
18
  inputProps() {
18
- return a({ ...i(this.$attrs), ...this.$props }, c);
19
+ return i({ ...o(this.$attrs), ...this.$props }, d);
19
20
  }
20
21
  },
21
22
  watch: {
22
23
  async value(t) {
23
- this.isValidValue = await s(this.prop, t, this.computeRules);
24
+ this.isValidValue = await a(this.prop, t, this.computeRules);
24
25
  }
25
26
  },
26
27
  methods: {
@@ -45,9 +46,9 @@ const c = Object.keys(o.mixins[0].props).filter((t) => !["value", "placeholder",
45
46
  }
46
47
  }
47
48
  };
48
- var p = function() {
49
+ var m = function() {
49
50
  var e = this, l = e._self._c;
50
- return l("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
51
+ return l(n, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
51
52
  return [e._t("default", function() {
52
53
  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 }) {
53
54
  return [e._t("value-label", function() {
@@ -64,15 +65,15 @@ var p = function() {
64
65
  }, proxy: !0 }, { key: "tips", fn: function() {
65
66
  return [e._t("tips")];
66
67
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
67
- }, m = [], f = /* @__PURE__ */ u(
68
- d,
68
+ }, f = [], _ = /* @__PURE__ */ c(
69
69
  p,
70
70
  m,
71
+ f,
71
72
  !1,
72
73
  null,
73
74
  null
74
75
  );
75
- const y = f.exports;
76
+ const V = _.exports;
76
77
  export {
77
- y as default
78
+ V as default
78
79
  };
@@ -1,9 +1,13 @@
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";
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";
4
8
  import "../resize-observer/style.css";
5
- import { n as v } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- const f = [
9
+ import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
10
+ const m = [
7
11
  "back",
8
12
  "create",
9
13
  "save",
@@ -23,17 +27,17 @@ const f = [
23
27
  "disabled",
24
28
  "reload",
25
29
  "slot"
26
- ], _ = f.map((o) => `${o}-down`), g = ["back", "withdraw", "edit"], c = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], l = (o, t) => {
30
+ ], x = m.map((o) => `${o}-down`), $ = ["back", "withdraw", "edit"], u = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], a = (o, t) => {
27
31
  if (o.classList.contains(t))
28
32
  return o;
29
33
  let e = o.parentNode;
30
34
  for (; e && !e.classList.contains(t); )
31
35
  e = e.parentNode;
32
36
  return e.classList.contains(t) ? e : null;
33
- }, w = {
37
+ }, S = {
34
38
  name: "FormView",
35
39
  components: {
36
- ResizeObserver: b
40
+ ResizeObserver: d
37
41
  },
38
42
  inject: {
39
43
  flowContext: {
@@ -84,31 +88,31 @@ const f = [
84
88
  },
85
89
  computed: {
86
90
  isFormLoading() {
87
- return this.loading || a(this.$parent, "isFormLoaded") ? !this.$parent.isFormLoaded : !1;
91
+ return this.loading || f(this.$parent, "isFormLoaded") ? !this.$parent.isFormLoaded : !1;
88
92
  },
89
93
  toolbarProps() {
90
94
  var r;
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;
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;
93
97
  },
94
98
  toolbarButtons() {
95
- return this.toolbarProps.buttons.filter((o) => !c.includes(o) && o.indexOf(":down") < 0).map((o) => o.replace(":up", ""));
99
+ return this.toolbarProps.buttons.filter((o) => !u.includes(o) && o.indexOf(":down") < 0).map((o) => o.replace(":up", ""));
96
100
  },
97
101
  footerBarButtons() {
98
- let o = this.toolbarProps.buttons.filter((t) => !g.includes(t) && (c.includes(t) || t.indexOf(":down") > -1)).map((t) => t.replace(":down", ""));
102
+ let o = this.toolbarProps.buttons.filter((t) => !$.includes(t) && (u.includes(t) || t.indexOf(":down") > -1)).map((t) => t.replace(":down", ""));
99
103
  return o = o || [], this.$parent.isEnabled && !o.includes("cancel") && o.push("cancel"), o;
100
104
  }
101
105
  },
102
106
  created() {
103
107
  this.$on("FormView.addGroup", (o) => {
104
108
  o && (this.activeIndex === -1 && (this.activeIndex = 0), this.groups.push(o), this.groups = this.groups.sort((t, e) => {
105
- const r = l(t.$el, "form-card"), s = l(e.$el, "form-card");
109
+ const r = a(t.$el, "form-card"), s = a(e.$el, "form-card");
106
110
  if (r === s) {
107
111
  const i = [].indexOf.call(t.$el.parentNode.children, t.$el), n = [].indexOf.call(e.$el.parentNode.children, e.$el);
108
112
  return i - n;
109
113
  } else {
110
- const i = l(r, "form-scroller"), n = [].indexOf.call(i.children, r), u = [].indexOf.call(i.children, s);
111
- return n - u;
114
+ const i = a(r, "form-scroller"), n = [].indexOf.call(i.children, r), h = [].indexOf.call(i.children, s);
115
+ return n - h;
112
116
  }
113
117
  }), o.active && (this.activeIndex = this.groups.indexOf(o), this.navItemClick(o, this.activeIndex)));
114
118
  }), this.$on("FormView.removeGroup", (o) => {
@@ -123,10 +127,10 @@ const f = [
123
127
  },
124
128
  methods: {
125
129
  getToolbarSlotKeys() {
126
- return Object.keys(this.$scopedSlots).filter((o) => f.includes(o));
130
+ return Object.keys(this.$scopedSlots).filter((o) => m.includes(o));
127
131
  },
128
132
  getFooterSlotKeys() {
129
- return Object.keys(this.$scopedSlots).filter((o) => _.includes(o));
133
+ return Object.keys(this.$scopedSlots).filter((o) => x.includes(o));
130
134
  },
131
135
  getFooterSlotKey(o) {
132
136
  return o.replace("-down", "");
@@ -135,18 +139,18 @@ const f = [
135
139
  this.showNav = o > 1500;
136
140
  },
137
141
  onEdit() {
138
- !this.toolbarListeners.edit && a(this.$parent, "disabled") && (this.$parent.disabled = !1);
142
+ !this.toolbarListeners.edit && f(this.$parent, "disabled") && (this.$parent.disabled = !1);
139
143
  },
140
144
  async navItemClick(o, t) {
141
145
  this.showNav && (await this.$nextTick(), this.activeFormItemGroup(o, t), o.expand || o.open());
142
146
  },
143
147
  activeFormItemGroup(o, t) {
144
- this.$refs.formScroller.scrollTop = o.$el.offsetTop - 10, m(o.$el, "breathe-indicator-animation"), this.tryByClick = !0, this.activeIndex = t;
148
+ this.$refs.formScroller.scrollTop = o.$el.offsetTop - 10, _(o.$el, "breathe-indicator-animation"), this.tryByClick = !0, this.activeIndex = t;
145
149
  },
146
150
  tryActive() {
147
151
  if (this.showNav) {
148
152
  for (let o = 0; o < this.groups.length; o++)
149
- if (d(this.groups[o].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
153
+ if (v(this.groups[o].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
150
154
  this.activeIndex = o;
151
155
  break;
152
156
  }
@@ -160,10 +164,10 @@ const f = [
160
164
  }
161
165
  }
162
166
  };
163
- var y = function() {
167
+ var F = function() {
164
168
  var t = this, e = t._self._c;
165
169
  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() {
166
- return [e("Toolbar", t._g(t._b({ on: { edit: t.onEdit }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r }) {
170
+ return [e(l, t._g(t._b({ on: { edit: t.onEdit }, scopedSlots: t._u([{ key: "default", fn: function({ buttons: r }) {
167
171
  return [t._t("toolbar-button", null, { buttons: r })];
168
172
  } }, t._l(t.getToolbarSlotKeys(), function(r) {
169
173
  return { key: r, fn: function() {
@@ -173,35 +177,35 @@ var y = function() {
173
177
  return [t._t("toolbar-right")];
174
178
  }, proxy: !0 }], null, !0) }, "Toolbar", { ...t.toolbarProps, buttons: t.toolbarButtons }, !1), t.toolbarListeners))];
175
179
  })], 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() {
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 }) {
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 }) {
178
182
  return [t._t("footer-button", null, { buttons: r, footer: s })];
179
183
  } }, t._l(t.getFooterSlotKeys(), function(r) {
180
184
  return { key: t.getFooterSlotKey(r), fn: function() {
181
185
  return [t._t(r)];
182
186
  }, proxy: !0 };
183
187
  })], 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() {
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 }) {
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 }) {
186
190
  return [t._t("footer-button", null, { buttons: r, footer: s })];
187
191
  } }, t._l(t.getFooterSlotKeys(), function(r) {
188
192
  return { key: t.getFooterSlotKey(r), fn: function() {
189
193
  return [t._t(r)];
190
194
  }, proxy: !0 };
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) {
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) {
192
196
  return e("li", { key: r.blockTitle, class: ["form-nav-item", { active: t.activeIndex === s }], on: { click: function(i) {
193
197
  return t.navItemClick(r, s);
194
198
  } } }, [t._v(" " + t._s(r.blockTitle) + " ")]);
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,
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,
200
204
  !1,
201
205
  null,
202
206
  null
203
207
  );
204
- const L = $.exports;
208
+ const P = B.exports;
205
209
  export {
206
- L as default
210
+ P as default
207
211
  };
@@ -1,9 +1,13 @@
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 = {
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 _ = {
5
9
  name: "FyArray",
6
- mixins: [a, l],
10
+ mixins: [p, u],
7
11
  props: {
8
12
  fileType: String,
9
13
  alone: Boolean,
@@ -25,46 +29,46 @@ const p = {
25
29
  }
26
30
  },
27
31
  methods: {
28
- isMediaType(i) {
29
- return o(i, this.fileType);
32
+ isMediaType(r) {
33
+ return m(r, this.fileType);
30
34
  },
31
- add(i) {
32
- this.text.splice(i + 1, 0, "");
35
+ add(r) {
36
+ this.text.splice(r + 1, 0, "");
33
37
  },
34
- remove(i) {
35
- this.text.splice(i, 1);
38
+ remove(r) {
39
+ this.text.splice(r, 1);
36
40
  },
37
41
  openImg() {
38
- this.text.map((i) => ({ thumbUrl: i, url: i, type: this.fileType }));
42
+ this.text.map((r) => ({ thumbUrl: r, url: r, type: this.fileType }));
39
43
  }
40
44
  }
41
45
  };
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);
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);
57
61
  } } })]], 2)]);
58
62
  })], 2);
59
- }, d = [], m = /* @__PURE__ */ c(
60
- p,
61
- u,
62
- d,
63
+ }, f = [], v = /* @__PURE__ */ d(
64
+ _,
65
+ y,
66
+ f,
63
67
  !1,
64
68
  null,
65
69
  null
66
70
  );
67
- const v = m.exports;
71
+ const T = v.exports;
68
72
  export {
69
- v as default
73
+ T as default
70
74
  };
@@ -1,8 +1,9 @@
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 = {
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 = {
4
5
  name: "FyCascader",
5
- mixins: [p, d],
6
+ mixins: [u, d],
6
7
  props: {
7
8
  checkStrictly: {
8
9
  type: Boolean,
@@ -52,39 +53,39 @@ const h = {
52
53
  lazy: this.lazy,
53
54
  lazyLoad: (r, e) => {
54
55
  var l;
55
- const a = (t) => {
56
+ const t = (a) => {
56
57
  const n = (o, i, c) => {
57
58
  o.forEach((s) => {
58
59
  s[this.valueKey] === i ? s[this.childrenKey] = c : s[this.childrenKey] && n(s[this.childrenKey]);
59
60
  });
60
61
  };
61
- n(this.dic, r[this.valueKey], t), e(t);
62
+ n(this.dic, r[this.valueKey], a), e(a);
62
63
  };
63
- (l = this.lazyLoad) == null || l.call(this, r, a);
64
+ (l = this.lazyLoad) == null || l.call(this, r, t);
64
65
  },
65
66
  expandTrigger: this.expandTrigger
66
67
  };
67
68
  }
68
69
  }
69
70
  };
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) {
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) {
73
74
  return e.handleClick.apply(null, arguments);
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]))])];
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]))])];
76
77
  } }], null, !0), model: { value: e.text, callback: function(l) {
77
78
  e.text = l;
78
79
  }, expression: "text" } });
79
- }, y = [], m = /* @__PURE__ */ u(
80
- h,
80
+ }, m = [], _ = /* @__PURE__ */ h(
81
81
  f,
82
82
  y,
83
+ m,
83
84
  !1,
84
85
  null,
85
86
  null
86
87
  );
87
- const b = m.exports;
88
+ const x = _.exports;
88
89
  export {
89
- b as default
90
+ x as default
90
91
  };