@web-utils/component 4.0.9 → 4.0.11

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 (89) hide show
  1. package/chat/index.mjs +2 -3
  2. package/chunks/FormTemp.Bu2VCxUh.mjs +2 -2
  3. package/confirm-button/index.mjs +9 -14
  4. package/confirmable/index.mjs +8 -13
  5. package/data-display/index.mjs +1 -1
  6. package/data-table-picker/index.mjs +8 -10
  7. package/editable-tree/index.mjs +2 -3
  8. package/element-dialog/index.mjs +2 -3
  9. package/flex-column/index.mjs +5 -6
  10. package/flex-item/index.mjs +5 -6
  11. package/flex-row/index.mjs +2 -3
  12. package/flow/index.mjs +2 -3
  13. package/flow-designer/index.mjs +2 -2
  14. package/flow-node/index.mjs +3 -4
  15. package/flow-viewer/index.mjs +2 -2
  16. package/form-button/index.mjs +1 -1
  17. package/form-cascader/index.mjs +13 -17
  18. package/form-checkbox/index.mjs +7 -12
  19. package/form-checkbox-group/index.mjs +9 -14
  20. package/form-date-picker/index.mjs +5 -10
  21. package/form-holder/index.mjs +4 -5
  22. package/form-input/index.mjs +6 -11
  23. package/form-input-cron-expression/index.mjs +8 -13
  24. package/form-input-email/index.mjs +12 -17
  25. package/form-input-id-card/index.mjs +15 -19
  26. package/form-input-number/index.mjs +16 -23
  27. package/form-input-phone-number/index.mjs +8 -12
  28. package/form-input-tag/index.mjs +7 -12
  29. package/form-input-time/index.mjs +2 -7
  30. package/form-item/index.mjs +2 -6
  31. package/form-radio-group/index.mjs +7 -12
  32. package/form-select/index.mjs +2 -6
  33. package/form-switch/index.mjs +7 -12
  34. package/form-table/index.mjs +22 -28
  35. package/form-table-plus/index.mjs +10 -14
  36. package/form-textarea/index.mjs +6 -11
  37. package/form-tree-select/index.mjs +9 -17
  38. package/form-tree-select-multiple/index.mjs +11 -19
  39. package/form-view/index.mjs +2 -2
  40. package/fy-array/index.mjs +2 -5
  41. package/fy-cascader/index.mjs +13 -17
  42. package/fy-checkbox/index.mjs +19 -23
  43. package/fy-code/index.mjs +9 -10
  44. package/fy-curd/index.mjs +4 -6
  45. package/fy-date/index.mjs +5 -9
  46. package/fy-draggable/index.mjs +2 -3
  47. package/fy-dynamic/index.mjs +11 -14
  48. package/fy-empty/index.mjs +3 -4
  49. package/fy-form/index.mjs +2 -5
  50. package/fy-form-design/index.mjs +4 -4
  51. package/fy-input/index.mjs +10 -14
  52. package/fy-input-color/index.mjs +11 -15
  53. package/fy-input-icon/index.mjs +6 -10
  54. package/fy-input-map/index.mjs +5 -8
  55. package/fy-input-number/index.mjs +12 -16
  56. package/fy-input-table/index.mjs +2 -5
  57. package/fy-input-tree/index.mjs +2 -5
  58. package/fy-radio/index.mjs +9 -13
  59. package/fy-rate/index.mjs +7 -11
  60. package/fy-select/index.mjs +2 -4
  61. package/fy-slider/index.mjs +7 -10
  62. package/fy-switch/index.mjs +5 -9
  63. package/fy-time/index.mjs +3 -6
  64. package/fy-title/index.mjs +12 -16
  65. package/fy-u-editor/index.mjs +2 -3
  66. package/fy-upload/index.mjs +2 -4
  67. package/image-cropper/index.mjs +2 -3
  68. package/license/index.mjs +2 -3
  69. package/package.json +1 -1
  70. package/page-skeleton/index.mjs +6 -6
  71. package/pageable-table/index.mjs +2 -5
  72. package/pageable-view/index.mjs +6 -7
  73. package/photo-swipe/index.mjs +5 -7
  74. package/picker-table-view/index.mjs +23 -24
  75. package/present-view/index.mjs +2 -2
  76. package/record-video/index.mjs +10 -11
  77. package/resize-observer/index.mjs +2 -3
  78. package/search/index.mjs +2 -4
  79. package/sign/index.mjs +2 -3
  80. package/split-pane/index.mjs +2 -2
  81. package/swiper/index.mjs +2 -2
  82. package/table-column/index.mjs +2 -5
  83. package/table-view/index.mjs +2 -3
  84. package/text-ellipsis/index.mjs +2 -3
  85. package/toolbar/index.mjs +2 -3
  86. package/toolbar-button/index.mjs +2 -3
  87. package/verify/index.mjs +7 -8
  88. package/watermark/index.mjs +14 -15
  89. package/web-types.json +1 -1
@@ -1,12 +1,7 @@
1
1
  import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import s from "element-ui/lib/input";
3
- import { c as a, v as l, d as i, n as p } from "../chunks/index.B2TRddqf.mjs";
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";
3
+ import { c as a, v as l, d as u, n as i } from "../chunks/index.B2TRddqf.mjs";
4
+ import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
10
5
  const c = a(s).filter((o) => !["value", "placeholder", "disabled"].includes(o)), d = {
11
6
  name: "FormInputCronExpression",
12
7
  mixins: [n],
@@ -29,7 +24,7 @@ const c = a(s).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
29
24
  },
30
25
  computed: {
31
26
  inputProps() {
32
- return i({ ...p(this.$attrs), ...this.$props }, c);
27
+ return u({ ...i(this.$attrs), ...this.$props }, c);
33
28
  }
34
29
  },
35
30
  watch: {
@@ -43,7 +38,7 @@ const c = a(s).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
43
38
  }
44
39
  }
45
40
  };
46
- var m = function() {
41
+ var f = function() {
47
42
  var e = this, r = e._self._c;
48
43
  return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled, "validate-status": "" }, scopedSlots: e._u([{ key: "default", fn: function() {
49
44
  return [e._t("default", function() {
@@ -68,15 +63,15 @@ var m = function() {
68
63
  }, proxy: !0 }, { key: "tips", fn: function() {
69
64
  return [e._t("tips")];
70
65
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
71
- }, f = [], _ = /* @__PURE__ */ u(
66
+ }, m = [], _ = /* @__PURE__ */ p(
72
67
  d,
73
- m,
74
68
  f,
69
+ m,
75
70
  !1,
76
71
  null,
77
72
  null
78
73
  );
79
- const C = _.exports;
74
+ const x = _.exports;
80
75
  export {
81
- C as default
76
+ x as default
82
77
  };
@@ -1,16 +1,11 @@
1
- import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
1
+ import { f as o } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import { v as l } from "../chunks/form-validate.CVarNHKX.mjs";
3
3
  import a from "element-ui/lib/input";
4
- import { c as s, d as i, n as p } from "../chunks/index.B2TRddqf.mjs";
5
- import { n as m } 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 "@web-utils/core";
10
- import "async-validator";
11
- const u = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
4
+ import { c as s, d as u, n as i } from "../chunks/index.B2TRddqf.mjs";
5
+ import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
+ const m = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
12
7
  name: "FormInputEmail",
13
- mixins: [n],
8
+ mixins: [o],
14
9
  props: {
15
10
  value: String,
16
11
  maxLength: {
@@ -20,7 +15,7 @@ const u = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
20
15
  },
21
16
  computed: {
22
17
  inputProps() {
23
- return i({ ...p(this.$attrs), ...this.$props }, u);
18
+ return u({ ...i(this.$attrs), ...this.$props }, m);
24
19
  }
25
20
  },
26
21
  methods: {
@@ -35,15 +30,15 @@ const u = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
35
30
  }
36
31
  };
37
32
  var f = function() {
38
- var e = this, o = e._self._c;
39
- return o("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
40
- return [o("ElInput", e._g(e._b({ class: { "is-readonly": e.readonly }, attrs: { value: e.value, readonly: e.readonly, maxlength: e.maxLength, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (r) => e.$emit("input", r) } }, "ElInput", e.inputProps, !1), e.listeners))];
33
+ var e = this, n = e._self._c;
34
+ return n("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
35
+ return [n("ElInput", e._g(e._b({ class: { "is-readonly": e.readonly }, attrs: { value: e.value, readonly: e.readonly, maxlength: e.maxLength, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (r) => e.$emit("input", r) } }, "ElInput", e.inputProps, !1), e.listeners))];
41
36
  }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
42
37
  return [e._t("error", null, { error: r })];
43
38
  } }, { key: "label", fn: function() {
44
39
  return [e._t("label")];
45
40
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
46
- }, c = [], _ = /* @__PURE__ */ m(
41
+ }, c = [], _ = /* @__PURE__ */ p(
47
42
  d,
48
43
  f,
49
44
  c,
@@ -51,7 +46,7 @@ var f = function() {
51
46
  null,
52
47
  null
53
48
  );
54
- const k = _.exports;
49
+ const I = _.exports;
55
50
  export {
56
- k as default
51
+ I as default
57
52
  };
@@ -1,12 +1,8 @@
1
1
  import { f as s } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import { validateIdCard as n } from "@web-utils/core";
3
3
  import a from "element-ui/lib/input";
4
- import { c as l, d as i, n as p } from "../chunks/index.B2TRddqf.mjs";
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";
4
+ import { c as l, d as i, n as u } from "../chunks/index.B2TRddqf.mjs";
5
+ import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
10
6
  const m = l(a).filter((o) => !["value", "placeholder", "disabled"].includes(o)), d = {
11
7
  name: "FormInputIdCard",
12
8
  mixins: [s],
@@ -19,7 +15,7 @@ const m = l(a).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
19
15
  },
20
16
  computed: {
21
17
  inputProps() {
22
- return i({ ...p(this.$attrs), ...this.$props }, m);
18
+ return i({ ...u(this.$attrs), ...this.$props }, m);
23
19
  }
24
20
  },
25
21
  methods: {
@@ -35,17 +31,17 @@ const m = l(a).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
35
31
  }
36
32
  };
37
33
  var f = function() {
38
- var r = this, t = r._self._c;
39
- return t("FormItem", r._b({ attrs: { rules: r.computeRules, disabled: r.inputDisabled }, scopedSlots: r._u([{ key: "default", fn: function() {
40
- return [t("ElInput", r._g(r._b({ class: { "is-readonly": r.readonly }, attrs: { value: r.value, readonly: r.readonly, maxlength: r.maxLength, disabled: r.inputDisabled, placeholder: r.computePlaceholder }, on: { input: (e) => r.$emit("input", e) } }, "ElInput", r.inputProps, !1), r.listeners)), r.$slots.warn ? t("div", { staticClass: "el-form-item__error" }, [r._t("warn")], 2) : r._e()];
41
- }, proxy: !0 }, { key: "error", fn: function({ error: e }) {
42
- return [r.$scopedSlots.error && r.$scopedSlots.error(e) ? t("div", { staticClass: "el-form-item__error" }, [r._t("error", function() {
43
- return [r._v(r._s(e))];
44
- }, { error: e })], 2) : r._e()];
34
+ var e = this, t = e._self._c;
35
+ return t("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
36
+ return [t("ElInput", e._g(e._b({ class: { "is-readonly": e.readonly }, attrs: { value: e.value, readonly: e.readonly, maxlength: e.maxLength, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: (r) => e.$emit("input", r) } }, "ElInput", e.inputProps, !1), e.listeners)), e.$slots.warn ? t("div", { staticClass: "el-form-item__error" }, [e._t("warn")], 2) : e._e()];
37
+ }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
38
+ return [e.$scopedSlots.error && e.$scopedSlots.error(r) ? t("div", { staticClass: "el-form-item__error" }, [e._t("error", function() {
39
+ return [e._v(e._s(r))];
40
+ }, { error: r })], 2) : e._e()];
45
41
  } }, { key: "label", fn: function() {
46
- return [r._t("label")];
47
- }, proxy: !0 }], null, !0) }, "FormItem", r.formItemProps, !1));
48
- }, c = [], _ = /* @__PURE__ */ u(
42
+ return [e._t("label")];
43
+ }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
44
+ }, c = [], _ = /* @__PURE__ */ p(
49
45
  d,
50
46
  f,
51
47
  c,
@@ -53,7 +49,7 @@ var f = function() {
53
49
  null,
54
50
  null
55
51
  );
56
- const $ = _.exports;
52
+ const g = _.exports;
57
53
  export {
58
- $ as default
54
+ g as default
59
55
  };
@@ -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
  };