@web-utils/component 4.0.9 → 4.0.10

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 (99) hide show
  1. package/chat/index.mjs +2 -3
  2. package/chunks/{FormTemp.Bu2VCxUh.mjs → FormTemp.BQxO5IQq.mjs} +1 -1
  3. package/chunks/MonacoEditor.D31t4FTy.mjs +327 -0
  4. package/chunks/PhotoSwipe.BunkqqPu.mjs +80 -0
  5. package/chunks/{configComponents.CpKi15WN.mjs → configComponents.DQaqUQFs.mjs} +4 -4
  6. package/chunks/{core.DJEgjQW6.mjs → core.0Exl13Mz.mjs} +3 -3
  7. package/chunks/{dictionary.3O-Io7Vh.mjs → dictionary.C6NmC-bT.mjs} +16 -16
  8. package/confirm-button/index.mjs +9 -14
  9. package/confirmable/index.mjs +8 -13
  10. package/data-display/index.mjs +1 -1
  11. package/data-table-picker/index.mjs +8 -10
  12. package/editable-tree/index.mjs +2 -3
  13. package/element-dialog/index.mjs +2 -3
  14. package/flex-column/index.mjs +5 -6
  15. package/flex-item/index.mjs +5 -6
  16. package/flex-row/index.mjs +2 -3
  17. package/flow/index.mjs +2 -3
  18. package/flow-designer/index.mjs +1 -1
  19. package/flow-node/index.mjs +3 -4
  20. package/flow-viewer/index.mjs +1 -1
  21. package/form-button/index.mjs +1 -1
  22. package/form-cascader/index.mjs +13 -17
  23. package/form-checkbox/index.mjs +7 -12
  24. package/form-checkbox-group/index.mjs +9 -14
  25. package/form-date-picker/index.mjs +5 -10
  26. package/form-holder/index.mjs +4 -5
  27. package/form-input/index.mjs +6 -11
  28. package/form-input-cron-expression/index.mjs +8 -13
  29. package/form-input-email/index.mjs +12 -17
  30. package/form-input-id-card/index.mjs +15 -19
  31. package/form-input-number/index.mjs +16 -23
  32. package/form-input-phone-number/index.mjs +8 -12
  33. package/form-input-tag/index.mjs +7 -12
  34. package/form-input-time/index.mjs +2 -7
  35. package/form-item/index.mjs +2 -6
  36. package/form-radio-group/index.mjs +7 -12
  37. package/form-select/index.mjs +2 -6
  38. package/form-switch/index.mjs +7 -12
  39. package/form-table/index.mjs +22 -28
  40. package/form-table-plus/index.mjs +10 -14
  41. package/form-textarea/index.mjs +6 -11
  42. package/form-tree-select/index.mjs +9 -17
  43. package/form-tree-select-multiple/index.mjs +11 -19
  44. package/form-view/index.mjs +1 -1
  45. package/fy-array/index.mjs +2 -5
  46. package/fy-cascader/index.mjs +13 -17
  47. package/fy-checkbox/index.mjs +19 -23
  48. package/fy-code/index.mjs +9 -10
  49. package/fy-curd/index.mjs +4 -6
  50. package/fy-date/index.mjs +5 -9
  51. package/fy-draggable/index.mjs +2 -3
  52. package/fy-dynamic/index.mjs +11 -14
  53. package/fy-empty/index.mjs +3 -4
  54. package/fy-form/index.mjs +3 -6
  55. package/fy-form-design/index.mjs +13 -14
  56. package/fy-input/index.mjs +10 -14
  57. package/fy-input-color/index.mjs +11 -15
  58. package/fy-input-icon/index.mjs +5 -9
  59. package/fy-input-map/index.mjs +5 -8
  60. package/fy-input-number/index.mjs +12 -16
  61. package/fy-input-table/index.mjs +2 -5
  62. package/fy-input-tree/index.mjs +2 -5
  63. package/fy-radio/index.mjs +9 -13
  64. package/fy-rate/index.mjs +7 -11
  65. package/fy-select/index.mjs +2 -4
  66. package/fy-slider/index.mjs +7 -10
  67. package/fy-switch/index.mjs +5 -9
  68. package/fy-time/index.mjs +3 -6
  69. package/fy-title/index.mjs +12 -16
  70. package/fy-u-editor/index.mjs +2 -3
  71. package/fy-upload/index.mjs +2 -4
  72. package/image-cropper/index.mjs +2 -3
  73. package/index.mjs +369 -545
  74. package/license/index.mjs +2 -3
  75. package/monaco-editor/index.mjs +5 -205
  76. package/package.json +1 -1
  77. package/page-skeleton/index.mjs +3 -3
  78. package/pageable-table/index.mjs +3 -6
  79. package/pageable-view/index.mjs +6 -7
  80. package/photo-swipe/index.mjs +3 -36
  81. package/picker-table-view/index.mjs +23 -24
  82. package/present-view/index.mjs +1 -1
  83. package/record-video/index.mjs +10 -11
  84. package/resize-observer/index.mjs +2 -3
  85. package/search/index.mjs +2 -4
  86. package/sign/index.mjs +2 -3
  87. package/split-pane/index.mjs +1 -1
  88. package/swiper/index.mjs +1 -1
  89. package/table-column/index.mjs +4 -7
  90. package/table-view/index.mjs +4 -5
  91. package/tabs-view/index.mjs +1 -1
  92. package/text-ellipsis/index.mjs +2 -3
  93. package/toolbar/index.mjs +3 -4
  94. package/toolbar-button/index.mjs +3 -4
  95. package/verify/index.mjs +7 -8
  96. package/watermark/index.mjs +14 -15
  97. package/web-types.json +1 -1
  98. package/chunks/index.BmYCjxZQ.mjs +0 -47
  99. package/chunks/json-beautifier.Bp3GslGm.mjs +0 -123
@@ -1,22 +1,15 @@
1
- import { f as u } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import p from "../input-number/index.mjs";
1
+ import { f as p } from "../chunks/form-input.CvFdwlEV.mjs";
2
+ import u from "../input-number/index.mjs";
3
3
  import { d as s, n as l } from "../chunks/index.B2TRddqf.mjs";
4
- import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "element-ui/src/mixins/focus";
9
- import "element-ui/src/directives/repeat-click";
10
- import "@web-utils/core";
11
- import "async-validator";
12
- let n = {};
13
- const i = p.mixins;
14
- i && [...i, p].forEach((e) => {
15
- e.props && (n = { ...n, ...e.props });
4
+ import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
+ let t = {};
6
+ const i = u.mixins;
7
+ i && [...i, u].forEach((e) => {
8
+ e.props && (t = { ...t, ...e.props });
16
9
  });
17
- const a = Object.keys(n).filter((e) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(e)), f = {
10
+ const m = Object.keys(t).filter((e) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(e)), f = {
18
11
  name: "FormInputNumber",
19
- mixins: [u],
12
+ mixins: [p],
20
13
  props: {
21
14
  value: [Number, String],
22
15
  max: {
@@ -39,14 +32,14 @@ const a = Object.keys(n).filter((e) => !["value", "placeholder", "disabled", "pr
39
32
  },
40
33
  computed: {
41
34
  inputProps() {
42
- return s({ ...l(this.$attrs), ...this.$props }, a);
35
+ return s({ ...l(this.$attrs), ...this.$props }, m);
43
36
  }
44
37
  }
45
38
  };
46
39
  var c = function() {
47
40
  var r = this, o = r._self._c;
48
41
  return o("FormItem", r._b({ attrs: { rules: r.computeRules, disabled: r.inputDisabled }, scopedSlots: r._u([{ key: "default", fn: function() {
49
- return [o("InputNumber", r._g(r._b({ staticClass: "form-input-number", attrs: { value: r.value !== null && r.value !== "" ? r.value : void 0, controls: r.controls, precision: r.precision, max: r.max, "controls-position": r.controlsPosition, min: r.min, placeholder: r.computePlaceholder, disabled: r.inputDisabled }, on: { input: (t) => r.$emit("input", t) }, scopedSlots: r._u([{ key: "append", fn: function() {
42
+ return [o("InputNumber", r._g(r._b({ staticClass: "form-input-number", attrs: { value: r.value !== null && r.value !== "" ? r.value : void 0, controls: r.controls, precision: r.precision, max: r.max, "controls-position": r.controlsPosition, min: r.min, placeholder: r.computePlaceholder, disabled: r.inputDisabled }, on: { input: (n) => r.$emit("input", n) }, scopedSlots: r._u([{ key: "append", fn: function() {
50
43
  return [r._t("append", function() {
51
44
  return [r.append ? [r._v(" " + r._s(r.append) + " ")] : r._e()];
52
45
  })];
@@ -57,12 +50,12 @@ var c = function() {
57
50
  }, proxy: !0 }, { key: "suffix", fn: function() {
58
51
  return [r._t("suffix")];
59
52
  }, proxy: !0 }], null, !0) }, "InputNumber", r.inputProps, !1), r.listeners))];
60
- }, proxy: !0 }, { key: "error", fn: function({ error: t }) {
61
- return [r._t("error", null, { error: t })];
53
+ }, proxy: !0 }, { key: "error", fn: function({ error: n }) {
54
+ return [r._t("error", null, { error: n })];
62
55
  } }, { key: "label", fn: function() {
63
56
  return [r._t("label")];
64
57
  }, proxy: !0 }], null, !0) }, "FormItem", r.formItemProps, !1));
65
- }, d = [], _ = /* @__PURE__ */ m(
58
+ }, d = [], _ = /* @__PURE__ */ a(
66
59
  f,
67
60
  c,
68
61
  d,
@@ -70,7 +63,7 @@ var c = function() {
70
63
  null,
71
64
  null
72
65
  );
73
- const g = _.exports;
66
+ const v = _.exports;
74
67
  export {
75
- g as default
68
+ v as default
76
69
  };
@@ -1,13 +1,9 @@
1
1
  import { f as o } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import { validatePhoneNum as s } from "@web-utils/core";
3
- import { c as l, d as i, n as a } from "../chunks/index.B2TRddqf.mjs";
4
- import p from "element-ui/lib/input";
5
- import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- import "../chunks/form-item.LWjePsPa.mjs";
7
- import "element-ui/lib/col";
8
- import "element-ui/lib/form-item";
9
- import "async-validator";
10
- const m = l(p).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
3
+ import { c as l, d as a, n as u } from "../chunks/index.B2TRddqf.mjs";
4
+ import i from "element-ui/lib/input";
5
+ import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
+ const m = l(i).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
11
7
  name: "FormInputPhoneNumber",
12
8
  mixins: [o],
13
9
  props: {
@@ -19,7 +15,7 @@ const m = l(p).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
19
15
  },
20
16
  computed: {
21
17
  inputProps() {
22
- return i({ ...a(this.$attrs), ...this.$props }, m);
18
+ return a({ ...u(this.$attrs), ...this.$props }, m);
23
19
  }
24
20
  },
25
21
  methods: {
@@ -47,7 +43,7 @@ var f = function() {
47
43
  } }, { key: "label", fn: function() {
48
44
  return [e._t("label")];
49
45
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
50
- }, c = [], _ = /* @__PURE__ */ u(
46
+ }, c = [], _ = /* @__PURE__ */ p(
51
47
  d,
52
48
  f,
53
49
  c,
@@ -55,7 +51,7 @@ var f = function() {
55
51
  null,
56
52
  null
57
53
  );
58
- const N = _.exports;
54
+ const P = _.exports;
59
55
  export {
60
- N as default
56
+ P as default
61
57
  };
@@ -1,13 +1,8 @@
1
1
  import { f as a } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import { d as n, n as l } from "../chunks/index.B2TRddqf.mjs";
3
3
  import u from "../x-input-tag/index.mjs";
4
- import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "@web-utils/core";
9
- import "async-validator";
10
- const s = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), i = {
4
+ import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
+ const p = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), i = {
11
6
  name: "FormInputTag",
12
7
  mixins: [a],
13
8
  props: {
@@ -40,7 +35,7 @@ const s = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled
40
35
  },
41
36
  computed: {
42
37
  inputProps() {
43
- return n({ ...l(this.$attrs), ...this.$props }, s);
38
+ return n({ ...l(this.$attrs), ...this.$props }, p);
44
39
  }
45
40
  }
46
41
  };
@@ -53,15 +48,15 @@ var d = function() {
53
48
  } }, { key: "label", fn: function() {
54
49
  return [e._t("label")];
55
50
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
56
- }, m = [], c = /* @__PURE__ */ p(
51
+ }, c = [], f = /* @__PURE__ */ s(
57
52
  i,
58
53
  d,
59
- m,
54
+ c,
60
55
  !1,
61
56
  null,
62
57
  null
63
58
  );
64
- const h = c.exports;
59
+ const g = f.exports;
65
60
  export {
66
- h as default
61
+ g as default
67
62
  };
@@ -2,11 +2,6 @@ import { f as a } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import o from "element-ui/lib/time-picker";
3
3
  import { c as i, d as l, n as s } from "../chunks/index.B2TRddqf.mjs";
4
4
  import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "@web-utils/core";
9
- import "async-validator";
10
5
  const p = i(o).filter((r) => !["value", "placeholder", "disabled"].includes(r)), u = {
11
6
  name: "FormInputTime",
12
7
  mixins: [a],
@@ -72,7 +67,7 @@ var f = function() {
72
67
  null,
73
68
  null
74
69
  );
75
- const x = d.exports;
70
+ const v = d.exports;
76
71
  export {
77
- x as default
72
+ v as default
78
73
  };
@@ -2,10 +2,6 @@ import { h as m } from "vue";
2
2
  import { f as B } from "../chunks/form-item.LWjePsPa.mjs";
3
3
  import { hasOwn as I, isDef as D } from "@web-utils/core";
4
4
  import { n as L } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/index.B2TRddqf.mjs";
6
- import "async-validator";
7
- import "element-ui/lib/col";
8
- import "element-ui/lib/form-item";
9
5
  const N = {
10
6
  name: "FormItem",
11
7
  mixins: [B],
@@ -140,7 +136,7 @@ var G = /* @__PURE__ */ L(
140
136
  null,
141
137
  null
142
138
  );
143
- const $ = G.exports;
139
+ const U = G.exports;
144
140
  export {
145
- $ as default
141
+ U as default
146
142
  };
@@ -1,15 +1,10 @@
1
1
  import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import { f as l } from "../chunks/form-pick.BFTIVn_i.mjs";
3
3
  import a from "element-ui/lib/radio-group";
4
- import { c as s, d as p, n as u } from "../chunks/index.B2TRddqf.mjs";
4
+ import { c as s, d as u, n as p } from "../chunks/index.B2TRddqf.mjs";
5
5
  import { d } from "../chunks/dictionary.DqiP9x2m.mjs";
6
6
  import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
7
- import "../chunks/form-item.LWjePsPa.mjs";
8
- import "element-ui/lib/col";
9
- import "element-ui/lib/form-item";
10
- import "@web-utils/core";
11
- import "async-validator";
12
- const f = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)), m = {
7
+ const f = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)), h = {
13
8
  name: "FormRadioGroup",
14
9
  mixins: [n, l, d],
15
10
  props: {
@@ -57,7 +52,7 @@ const f = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
57
52
  return "请选择";
58
53
  },
59
54
  inputProps() {
60
- return p({ ...u(this.$attrs), ...this.$props }, f);
55
+ return u({ ...p(this.$attrs), ...this.$props }, f);
61
56
  },
62
57
  labelKey() {
63
58
  return this.classic ? "label" : this.labelProp;
@@ -96,7 +91,7 @@ const f = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
96
91
  }
97
92
  }
98
93
  };
99
- var h = function() {
94
+ var m = function() {
100
95
  var e = this, r = e._self._c;
101
96
  return r("FormItem", e._b({ class: ["form-radio-group", { "form-radio-group-row": e.fillRow, inline: e.inline }, e.ellipsis ? "form-radio-group-row-ellipsis" : "form-radio-group-row-break-word"], attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
102
97
  return [r("ElRadioGroup", e._g(e._b({ class: { "over-flow": e.overFlow }, attrs: { value: e.value, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (o) => e.$emit("input", o) } }, "ElRadioGroup", e.inputProps, !1), e.listeners), [e.allowCancel ? e._l(e.innerOptions, function(o) {
@@ -114,14 +109,14 @@ var h = function() {
114
109
  return [e._t("below")];
115
110
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
116
111
  }, y = [], g = /* @__PURE__ */ c(
117
- m,
118
112
  h,
113
+ m,
119
114
  y,
120
115
  !1,
121
116
  null,
122
117
  null
123
118
  );
124
- const F = g.exports;
119
+ const P = g.exports;
125
120
  export {
126
- F as default
121
+ P as default
127
122
  };
@@ -5,10 +5,6 @@ import a from "element-ui/lib/select";
5
5
  import { c as p, d as u, n as h } from "../chunks/index.B2TRddqf.mjs";
6
6
  import { isString as m, isPlainObject as f, isNumber as c } from "@web-utils/core";
7
7
  import { n as d } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
8
- import "../chunks/form-item.LWjePsPa.mjs";
9
- import "element-ui/lib/col";
10
- import "element-ui/lib/form-item";
11
- import "async-validator";
12
8
  const b = p(a).filter((e) => !["value", "placeholder", "disabled"].includes(e)), y = {
13
9
  name: "FormSelect",
14
10
  mixins: [o, l, n],
@@ -177,7 +173,7 @@ var _ = function() {
177
173
  null,
178
174
  null
179
175
  );
180
- const I = v.exports;
176
+ const k = v.exports;
181
177
  export {
182
- I as default
178
+ k as default
183
179
  };
@@ -1,13 +1,8 @@
1
1
  import { f as o } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import l from "element-ui/lib/switch";
3
- import { c as a, d as i, n as u } from "../chunks/index.B2TRddqf.mjs";
3
+ import { c as a, d as u, n as i } from "../chunks/index.B2TRddqf.mjs";
4
4
  import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "@web-utils/core";
9
- import "async-validator";
10
- const p = a(l).filter((t) => !["value", "placeholder", "disabled"].includes(t)), m = {
5
+ const p = a(l).filter((t) => !["value", "placeholder", "disabled"].includes(t)), c = {
11
6
  name: "FormSwitch",
12
7
  mixins: [o],
13
8
  props: {
@@ -23,7 +18,7 @@ const p = a(l).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
23
18
  },
24
19
  computed: {
25
20
  inputProps() {
26
- return i({ ...u(this.$attrs), ...this.$props }, p);
21
+ return u({ ...i(this.$attrs), ...this.$props }, p);
27
22
  }
28
23
  },
29
24
  methods: {
@@ -32,7 +27,7 @@ const p = a(l).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
32
27
  }
33
28
  }
34
29
  };
35
- var c = function() {
30
+ var m = function() {
36
31
  var e = this, r = e._self._c;
37
32
  return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
38
33
  return [e._t("default", function() {
@@ -46,14 +41,14 @@ var c = function() {
46
41
  return [e._t("label")];
47
42
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
48
43
  }, d = [], f = /* @__PURE__ */ s(
49
- m,
50
44
  c,
45
+ m,
51
46
  d,
52
47
  !1,
53
48
  null,
54
49
  null
55
50
  );
56
- const g = f.exports;
51
+ const b = f.exports;
57
52
  export {
58
- g as default
53
+ b as default
59
54
  };
@@ -1,14 +1,8 @@
1
1
  import { f as a } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import { d as s, n as d } from "../chunks/index.B2TRddqf.mjs";
3
3
  import m from "../sub-table/index.mjs";
4
- import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "@web-utils/core";
9
- import "async-validator";
10
- import "@web-utils/integrations/lodash";
11
- const p = Object.keys(m.props).filter((l) => !["value", "placeholder", "disabled"].includes(l)), c = {
4
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
+ const i = Object.keys(m.props).filter((l) => !["value", "placeholder", "disabled"].includes(l)), p = {
12
6
  name: "FormTable",
13
7
  mixins: [a],
14
8
  emits: ["add-row"],
@@ -45,7 +39,7 @@ const p = Object.keys(m.props).filter((l) => !["value", "placeholder", "disabled
45
39
  },
46
40
  computed: {
47
41
  inputProps() {
48
- return s({ ...d(this.$attrs), ...this.$props }, p);
42
+ return s({ ...d(this.$attrs), ...this.$props }, i);
49
43
  }
50
44
  },
51
45
  methods: {
@@ -57,35 +51,35 @@ const p = Object.keys(m.props).filter((l) => !["value", "placeholder", "disabled
57
51
  var f = function() {
58
52
  var e = this, r = e._self._c;
59
53
  return r("FormItem", e._b({ attrs: { block: e.block, rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
60
- return [r("SubTable", e._g(e._b({ class: { "is-readonly": e.readonly }, attrs: { status: e.status, value: e.value, prop: e.prop, editable: e.editable, columns: e.columns, readonly: e.readonly, "allow-empty": e.allowEmpty, disabled: e.inputDisabled, "handle-column": e.handleColumn, "show-handle-column-add-button": e.showHandleColumnAddButton, "show-empty-add-button": e.showEmptyAddButton, placeholder: e.computePlaceholder }, on: { "selection-change": e.onSelectionChange, input: (o) => e.$emit("input", o) }, scopedSlots: e._u([e._l(e.columns, function(o) {
61
- return { key: o.prop, fn: function({ row: t, column: n, index: u }) {
62
- return [e._t(o.prop, null, { row: t, column: n, index: u })];
54
+ return [r("SubTable", e._g(e._b({ class: { "is-readonly": e.readonly }, attrs: { status: e.status, value: e.value, prop: e.prop, editable: e.editable, columns: e.columns, readonly: e.readonly, "allow-empty": e.allowEmpty, disabled: e.inputDisabled, "handle-column": e.handleColumn, "show-handle-column-add-button": e.showHandleColumnAddButton, "show-empty-add-button": e.showEmptyAddButton, placeholder: e.computePlaceholder }, on: { "selection-change": e.onSelectionChange, input: (n) => e.$emit("input", n) }, scopedSlots: e._u([e._l(e.columns, function(n) {
55
+ return { key: n.prop, fn: function({ row: o, column: t, index: u }) {
56
+ return [e._t(n.prop, null, { row: o, column: t, index: u })];
63
57
  } };
64
- }), { key: "columns", fn: function({ columns: o }) {
65
- return [e._t("columns", null, { columns: o })];
66
- } }, { key: "handle", fn: function({ add: o, remove: t }) {
67
- return [e._t("handle", null, { add: o, remove: t })];
68
- } }, { key: "tag", fn: function({ column: o, row: t, $index: n }) {
69
- return [e._t("tag", null, { row: t, column: o, index: n })];
70
- } }, { key: "handle-column-header", fn: function({ column: o, $index: t }) {
71
- return [e._t("handle-column-header", null, { column: o, index: t })];
72
- } }, { key: "toolbar", fn: function({ addRow: o, delRow: t, refresh: n }) {
73
- return [e._t("toolbar", null, { addRow: o, delRow: t, refresh: n })];
58
+ }), { key: "columns", fn: function({ columns: n }) {
59
+ return [e._t("columns", null, { columns: n })];
60
+ } }, { key: "handle", fn: function({ add: n, remove: o }) {
61
+ return [e._t("handle", null, { add: n, remove: o })];
62
+ } }, { key: "tag", fn: function({ column: n, row: o, $index: t }) {
63
+ return [e._t("tag", null, { row: o, column: n, index: t })];
64
+ } }, { key: "handle-column-header", fn: function({ column: n, $index: o }) {
65
+ return [e._t("handle-column-header", null, { column: n, index: o })];
66
+ } }, { key: "toolbar", fn: function({ addRow: n, delRow: o, refresh: t }) {
67
+ return [e._t("toolbar", null, { addRow: n, delRow: o, refresh: t })];
74
68
  } }], null, !0) }, "SubTable", e.inputProps, !1), e.listeners))];
75
- }, proxy: !0 }, { key: "error", fn: function({ error: o }) {
76
- return [e._t("error", null, { error: o })];
69
+ }, proxy: !0 }, { key: "error", fn: function({ error: n }) {
70
+ return [e._t("error", null, { error: n })];
77
71
  } }, { key: "label", fn: function() {
78
72
  return [e._t("label")];
79
73
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
80
- }, y = [], b = /* @__PURE__ */ i(
81
- c,
74
+ }, y = [], b = /* @__PURE__ */ c(
75
+ p,
82
76
  f,
83
77
  y,
84
78
  !1,
85
79
  null,
86
80
  null
87
81
  );
88
- const A = b.exports;
82
+ const B = b.exports;
89
83
  export {
90
- A as default
84
+ B as default
91
85
  };
@@ -1,20 +1,16 @@
1
- import { f as c } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { h as s, d as i, n as m } from "../chunks/index.B2TRddqf.mjs";
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
3
  import { S as u } from "../chunks/sub-table-plus-props.BVsD71hT.mjs";
4
- import { isString as a, isArray as h, trace as b, warning as _ } from "@web-utils/core";
4
+ import { isString as a, isArray as m, trace as b, warning as _ } from "@web-utils/core";
5
5
  import { a as w } from "../chunks/form-validate.CVarNHKX.mjs";
6
6
  import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
7
- import "../chunks/form-item.LWjePsPa.mjs";
8
- import "element-ui/lib/col";
9
- import "element-ui/lib/form-item";
10
- import "async-validator";
11
7
  const k = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), v = {
12
8
  name: "FormTablePlus",
13
- mixins: [c, u],
9
+ mixins: [p, u],
14
10
  bus: {
15
11
  reloadTableView(r) {
16
12
  if (this._viewIds)
17
- if (a(r) || h(r)) {
13
+ if (a(r) || m(r)) {
18
14
  let e = r;
19
15
  a(e) && (e = e.split(",")), this._viewIds.some((l) => e.includes(l)) && (b.call(this.$parent || {}, "reloadTableView"), this.reloadTable());
20
16
  } else
@@ -34,7 +30,7 @@ const k = Object.keys(u.props).filter((r) => !["value", "placeholder", "disabled
34
30
  },
35
31
  computed: {
36
32
  inputProps() {
37
- return i({ ...m(this.$attrs), ...this.$props }, k);
33
+ return i({ ...h(this.$attrs), ...this.$props }, k);
38
34
  },
39
35
  listeners() {
40
36
  const r = i(this.$listeners, "input", !1);
@@ -74,8 +70,8 @@ var P = function() {
74
70
  var e = this, l = e._self._c;
75
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() {
76
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) {
77
- return { key: t.prop, fn: function({ row: o, column: n, index: d, prop: p, required: f }) {
78
- return [e._t(t.prop, null, { row: o, column: n, index: d, prop: p, required: f })];
73
+ return { key: t.prop, fn: function({ row: o, column: n, index: d, prop: f, required: c }) {
74
+ return [e._t(t.prop, null, { row: o, column: n, index: d, prop: f, required: c })];
79
75
  } };
80
76
  }), { key: "columns", fn: function({ columns: t }) {
81
77
  return [e._t("columns", null, { columns: t })];
@@ -107,7 +103,7 @@ var P = function() {
107
103
  null,
108
104
  null
109
105
  );
110
- const q = g.exports;
106
+ const F = g.exports;
111
107
  export {
112
- q as default
108
+ F as default
113
109
  };
@@ -1,13 +1,8 @@
1
1
  import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { c as i, d as a, n as s } from "../chunks/index.B2TRddqf.mjs";
3
- import l from "element-ui/lib/input";
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
4
  import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "@web-utils/core";
9
- import "async-validator";
10
- const p = i(l).filter(
5
+ const p = a(i).filter(
11
6
  (o) => !["value", "placeholder", "type", "rows", "resize", "showWordLimit", "maxLength", "maxlength"].includes(o)
12
7
  ), m = {
13
8
  name: "FormTextarea",
@@ -35,7 +30,7 @@ const p = i(l).filter(
35
30
  },
36
31
  computed: {
37
32
  inputProps() {
38
- return a({ ...s(this.$attrs), ...this.$props }, p);
33
+ return s({ ...l(this.$attrs), ...this.$props }, p);
39
34
  }
40
35
  }
41
36
  };
@@ -56,7 +51,7 @@ var f = function() {
56
51
  null,
57
52
  null
58
53
  );
59
- const I = d.exports;
54
+ const b = d.exports;
60
55
  export {
61
- I as default
56
+ b as default
62
57
  };
@@ -1,18 +1,10 @@
1
- import { f as i } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { v as n, d as s, n as o } from "../chunks/index.B2TRddqf.mjs";
3
- import a from "../vue-tree-select/index.mjs";
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
4
  import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "@web-utils/core";
9
- import "async-validator";
10
- import "vue";
11
- import "lodash-es";
12
- import "../chunks/helper.BiMLcEEk.mjs";
13
- const p = Object.keys(a.mixins[0].props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), m = {
5
+ const p = Object.keys(o.mixins[0].props).filter((r) => !["value", "placeholder", "disabled"].includes(r)), m = {
14
6
  name: "FormTreeSelect",
15
- mixins: [i],
7
+ mixins: [n],
16
8
  props: {
17
9
  value: [String, Number, Array],
18
10
  multiple: Boolean,
@@ -25,12 +17,12 @@ const p = Object.keys(a.mixins[0].props).filter((r) => !["value", "placeholder",
25
17
  },
26
18
  computed: {
27
19
  inputProps() {
28
- return s({ ...o(this.$attrs), ...this.$props }, p);
20
+ return a({ ...i(this.$attrs), ...this.$props }, p);
29
21
  }
30
22
  },
31
23
  watch: {
32
24
  async value(r) {
33
- this.isValidValue = await n(this.prop, r, this.computeRules);
25
+ this.isValidValue = await s(this.prop, r, this.computeRules);
34
26
  }
35
27
  },
36
28
  methods: {
@@ -74,7 +66,7 @@ var c = function() {
74
66
  null,
75
67
  null
76
68
  );
77
- const $ = f.exports;
69
+ const y = f.exports;
78
70
  export {
79
- $ as default
71
+ y as default
80
72
  };
@@ -1,18 +1,10 @@
1
- import { f as i } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { v as n, d as s, n as o } from "../chunks/index.B2TRddqf.mjs";
3
- import a from "../vue-tree-select/index.mjs";
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
4
  import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- import "../chunks/form-item.LWjePsPa.mjs";
6
- import "element-ui/lib/col";
7
- import "element-ui/lib/form-item";
8
- import "@web-utils/core";
9
- import "async-validator";
10
- import "vue";
11
- import "lodash-es";
12
- import "../chunks/helper.BiMLcEEk.mjs";
13
- const p = Object.keys(a.mixins[0].props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), c = {
5
+ const c = Object.keys(o.mixins[0].props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
14
6
  name: "FormTreeSelectMultiple",
15
- mixins: [i],
7
+ mixins: [n],
16
8
  props: {
17
9
  value: Array
18
10
  },
@@ -23,12 +15,12 @@ const p = Object.keys(a.mixins[0].props).filter((t) => !["value", "placeholder",
23
15
  },
24
16
  computed: {
25
17
  inputProps() {
26
- return s({ ...o(this.$attrs), ...this.$props }, p);
18
+ return a({ ...i(this.$attrs), ...this.$props }, c);
27
19
  }
28
20
  },
29
21
  watch: {
30
22
  async value(t) {
31
- this.isValidValue = await n(this.prop, t, this.computeRules);
23
+ this.isValidValue = await s(this.prop, t, this.computeRules);
32
24
  }
33
25
  },
34
26
  methods: {
@@ -53,7 +45,7 @@ const p = Object.keys(a.mixins[0].props).filter((t) => !["value", "placeholder",
53
45
  }
54
46
  }
55
47
  };
56
- var d = function() {
48
+ var p = function() {
57
49
  var e = this, l = e._self._c;
58
50
  return l("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
59
51
  return [e._t("default", function() {
@@ -73,14 +65,14 @@ var d = function() {
73
65
  return [e._t("tips")];
74
66
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
75
67
  }, m = [], f = /* @__PURE__ */ u(
76
- c,
77
68
  d,
69
+ p,
78
70
  m,
79
71
  !1,
80
72
  null,
81
73
  null
82
74
  );
83
- const $ = f.exports;
75
+ const y = f.exports;
84
76
  export {
85
- $ as default
77
+ y as default
86
78
  };
@@ -1,6 +1,6 @@
1
1
  import { isInContainer as d, animate as m, hasOwn as a, toStringArray as h } from "@web-utils/core";
2
2
  import { merge as p } from "@web-utils/integrations/lodash";
3
- import b from "./resize-observer/index.mjs";
3
+ import b from "../resize-observer/index.mjs";
4
4
  import "./resize-observer/style.css";
5
5
  import { n as v } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
6
  const f = [
@@ -1,9 +1,6 @@
1
1
  import { p as a, e as l } from "../chunks/event.9aDS6jcw.mjs";
2
2
  import { i as o } from "../chunks/util.DqFv_pWg.mjs";
3
3
  import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
- import "../chunks/slot.DXIbhGat.mjs";
5
- import "@web-utils/core";
6
- import "../chunks/dataformat.CpqOeGBl.mjs";
7
4
  const p = {
8
5
  name: "FyArray",
9
6
  mixins: [a, l],
@@ -67,7 +64,7 @@ var u = function() {
67
64
  null,
68
65
  null
69
66
  );
70
- const g = m.exports;
67
+ const v = m.exports;
71
68
  export {
72
- g as default
69
+ v as default
73
70
  };