@web-utils/component 4.0.7 → 4.0.9

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 (94) hide show
  1. package/chat/index.mjs +3 -2
  2. package/chunks/FormTemp.Bu2VCxUh.mjs +2 -2
  3. package/chunks/{configComponents.Bkix1pFY.mjs → configComponents.CpKi15WN.mjs} +16 -13
  4. package/chunks/{dictionary.Dq1KRI7k.mjs → dictionary.3O-Io7Vh.mjs} +1 -1
  5. package/chunks/index.BmYCjxZQ.mjs +47 -0
  6. package/confirm-button/index.mjs +14 -9
  7. package/confirmable/index.mjs +13 -8
  8. package/data-display/index.mjs +1 -1
  9. package/data-table-picker/index.mjs +10 -8
  10. package/editable-tree/index.mjs +3 -2
  11. package/element-dialog/index.mjs +3 -2
  12. package/flex-column/index.mjs +6 -5
  13. package/flex-item/index.mjs +6 -5
  14. package/flex-row/index.mjs +3 -2
  15. package/flow/index.mjs +3 -2
  16. package/flow-designer/index.mjs +2 -2
  17. package/flow-node/index.mjs +4 -3
  18. package/flow-viewer/index.mjs +2 -2
  19. package/form-button/index.mjs +1 -1
  20. package/form-cascader/index.mjs +17 -13
  21. package/form-checkbox/index.mjs +12 -7
  22. package/form-checkbox-group/index.mjs +14 -9
  23. package/form-date-picker/index.mjs +10 -5
  24. package/form-holder/index.mjs +5 -4
  25. package/form-input/index.mjs +11 -6
  26. package/form-input-cron-expression/index.mjs +13 -8
  27. package/form-input-email/index.mjs +17 -12
  28. package/form-input-id-card/index.mjs +19 -15
  29. package/form-input-number/index.mjs +23 -16
  30. package/form-input-phone-number/index.mjs +12 -8
  31. package/form-input-tag/index.mjs +12 -7
  32. package/form-input-time/index.mjs +7 -2
  33. package/form-item/index.mjs +6 -2
  34. package/form-radio-group/index.mjs +12 -7
  35. package/form-select/index.mjs +6 -2
  36. package/form-switch/index.mjs +12 -7
  37. package/form-table/index.mjs +28 -22
  38. package/form-table-plus/index.mjs +14 -10
  39. package/form-textarea/index.mjs +11 -6
  40. package/form-tree-select/index.mjs +17 -9
  41. package/form-tree-select-multiple/index.mjs +19 -11
  42. package/form-view/index.mjs +2 -2
  43. package/fy-array/index.mjs +5 -2
  44. package/fy-cascader/index.mjs +17 -13
  45. package/fy-checkbox/index.mjs +23 -19
  46. package/fy-code/index.mjs +10 -9
  47. package/fy-curd/index.mjs +6 -4
  48. package/fy-date/index.mjs +9 -5
  49. package/fy-draggable/index.mjs +3 -2
  50. package/fy-dynamic/index.mjs +14 -11
  51. package/fy-empty/index.mjs +4 -3
  52. package/fy-form/index.mjs +5 -2
  53. package/fy-form-design/index.mjs +4 -4
  54. package/fy-input/index.mjs +14 -10
  55. package/fy-input-color/index.mjs +15 -11
  56. package/fy-input-icon/index.mjs +10 -6
  57. package/fy-input-map/index.mjs +8 -5
  58. package/fy-input-number/index.mjs +16 -12
  59. package/fy-input-table/index.mjs +5 -2
  60. package/fy-input-tree/index.mjs +5 -2
  61. package/fy-radio/index.mjs +13 -9
  62. package/fy-rate/index.mjs +11 -7
  63. package/fy-select/index.mjs +4 -2
  64. package/fy-slider/index.mjs +10 -7
  65. package/fy-switch/index.mjs +9 -5
  66. package/fy-time/index.mjs +6 -3
  67. package/fy-title/index.mjs +16 -12
  68. package/fy-u-editor/index.mjs +3 -2
  69. package/fy-upload/index.mjs +4 -2
  70. package/image-cropper/index.mjs +3 -2
  71. package/index.mjs +555 -617
  72. package/license/index.mjs +3 -2
  73. package/package.json +1 -1
  74. package/page-skeleton/index.mjs +6 -6
  75. package/pageable-table/index.mjs +6 -3
  76. package/pageable-view/index.mjs +7 -6
  77. package/photo-swipe/index.mjs +15 -56
  78. package/picker-table-view/index.mjs +24 -23
  79. package/present-view/index.mjs +2 -2
  80. package/record-video/index.mjs +11 -10
  81. package/resize-observer/index.mjs +3 -2
  82. package/search/index.mjs +4 -2
  83. package/sign/index.mjs +3 -2
  84. package/split-pane/index.mjs +2 -2
  85. package/swiper/index.mjs +2 -2
  86. package/table-column/index.mjs +6 -3
  87. package/table-view/index.mjs +4 -3
  88. package/tabs-view/index.mjs +1 -1
  89. package/text-ellipsis/index.mjs +3 -2
  90. package/toolbar/index.mjs +4 -3
  91. package/toolbar-button/index.mjs +4 -3
  92. package/verify/index.mjs +8 -7
  93. package/watermark/index.mjs +15 -14
  94. package/web-types.json +1 -1
@@ -1,8 +1,13 @@
1
1
  import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import { f as s } from "../chunks/form-pick.BFTIVn_i.mjs";
3
3
  import { toDate as a } from "@web-utils/integrations/dayjs";
4
- import { d as l, n as o } from "../chunks/index.B2TRddqf.mjs";
4
+ import { d as o, n as l } from "../chunks/index.B2TRddqf.mjs";
5
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";
6
11
  const u = [
7
12
  "type",
8
13
  "timeArrowControl",
@@ -92,9 +97,9 @@ const u = [
92
97
  return this.year ? "yyyy" : this.month || this.monthRange ? "yyyy-MM" : this.week ? "yyyy 第 WW 周" : this.dateTime || this.dateTimeRange ? "yyyy-MM-dd HH:mm:ss" : "yyyy-MM-dd";
93
98
  },
94
99
  inputProps() {
95
- return l(
100
+ return o(
96
101
  {
97
- ...o(this.$attrs),
102
+ ...l(this.$attrs),
98
103
  ...this.$props,
99
104
  valueFormat: this.week ? "yyyy-MM-dd" : this.valueFormat || this.fat,
100
105
  format: this.format || this.fat,
@@ -137,7 +142,7 @@ var h = function() {
137
142
  null,
138
143
  null
139
144
  );
140
- const P = f.exports;
145
+ const b = f.exports;
141
146
  export {
142
- P as default
147
+ b as default
143
148
  };
@@ -1,6 +1,7 @@
1
1
  import { animate as o, warning as l } from "@web-utils/core";
2
2
  import { e as a } from "../chunks/index.B2TRddqf.mjs";
3
3
  import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
+ import "async-validator";
4
5
  const s = {
5
6
  name: "FormHolder",
6
7
  inject: {
@@ -95,15 +96,15 @@ const s = {
95
96
  var n = function() {
96
97
  var e = this, t = e._self._c;
97
98
  return t("ElForm", { ref: "form", class: ["clear-fix", { "red-form": e.tableForm }], attrs: { model: e.model, size: e.size, "show-message": e.showMessage, disabled: e.disabled, "label-width": e.tableForm ? "0px" : e.labelWidth, "label-position": e.labelPosition } }, [e.tableForm ? [e._t("top"), t("FormRedTable", { class: { "hide-error-message": e.tableForm }, attrs: { columns: e.columns, "col-count": e.colCount } }, [e._t("default"), e.showAdvice ? t("FormAdvice", { attrs: { "label-colspan": e.commentLabelColspan, "value-colspan": e.commentValueColspan } }) : e._e()], 2), e._t("bottom"), t("div", { staticClass: "red-form-footer" }, [e._t("footer")], 2)] : [e._t("default")]], 2);
98
- }, d = [], m = /* @__PURE__ */ i(
99
+ }, m = [], d = /* @__PURE__ */ i(
99
100
  s,
100
101
  n,
101
- d,
102
+ m,
102
103
  !1,
103
104
  null,
104
105
  null
105
106
  );
106
- const h = m.exports;
107
+ const b = d.exports;
107
108
  export {
108
- h as default
109
+ b as default
109
110
  };
@@ -1,7 +1,12 @@
1
1
  import { f as i } from "../chunks/form-input.CvFdwlEV.mjs";
2
2
  import o from "element-ui/lib/input";
3
- import { c as a, v as s, d as l, n as u } from "../chunks/index.B2TRddqf.mjs";
4
- import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
+ import { c as a, v as s, d as p, n as l } 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";
5
10
  const c = a(o).filter((t) => !["value", "placeholder", "disabled", "suffixIcon"].includes(t)), d = {
6
11
  name: "FormInput",
7
12
  mixins: [i],
@@ -28,7 +33,7 @@ const c = a(o).filter((t) => !["value", "placeholder", "disabled", "suffixIcon"]
28
33
  },
29
34
  computed: {
30
35
  inputProps() {
31
- return l({ ...u(this.$attrs), ...this.$props }, c);
36
+ return p({ ...l(this.$attrs), ...this.$props }, c);
32
37
  }
33
38
  },
34
39
  watch: {
@@ -73,7 +78,7 @@ var f = function() {
73
78
  }, proxy: !0 }, { key: "tips", fn: function() {
74
79
  return [e._t("tips")];
75
80
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
76
- }, m = [], _ = /* @__PURE__ */ p(
81
+ }, m = [], _ = /* @__PURE__ */ u(
77
82
  d,
78
83
  f,
79
84
  m,
@@ -81,7 +86,7 @@ var f = function() {
81
86
  null,
82
87
  null
83
88
  );
84
- const k = _.exports;
89
+ const S = _.exports;
85
90
  export {
86
- k as default
91
+ S as default
87
92
  };
@@ -1,7 +1,12 @@
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 u, n as i } from "../chunks/index.B2TRddqf.mjs";
4
- import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
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";
5
10
  const c = a(s).filter((o) => !["value", "placeholder", "disabled"].includes(o)), d = {
6
11
  name: "FormInputCronExpression",
7
12
  mixins: [n],
@@ -24,7 +29,7 @@ const c = a(s).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
24
29
  },
25
30
  computed: {
26
31
  inputProps() {
27
- return u({ ...i(this.$attrs), ...this.$props }, c);
32
+ return i({ ...p(this.$attrs), ...this.$props }, c);
28
33
  }
29
34
  },
30
35
  watch: {
@@ -38,7 +43,7 @@ const c = a(s).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
38
43
  }
39
44
  }
40
45
  };
41
- var f = function() {
46
+ var m = function() {
42
47
  var e = this, r = e._self._c;
43
48
  return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled, "validate-status": "" }, scopedSlots: e._u([{ key: "default", fn: function() {
44
49
  return [e._t("default", function() {
@@ -63,15 +68,15 @@ var f = function() {
63
68
  }, proxy: !0 }, { key: "tips", fn: function() {
64
69
  return [e._t("tips")];
65
70
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
66
- }, m = [], _ = /* @__PURE__ */ p(
71
+ }, f = [], _ = /* @__PURE__ */ u(
67
72
  d,
68
- f,
69
73
  m,
74
+ f,
70
75
  !1,
71
76
  null,
72
77
  null
73
78
  );
74
- const x = _.exports;
79
+ const C = _.exports;
75
80
  export {
76
- x as default
81
+ C as default
77
82
  };
@@ -1,11 +1,16 @@
1
- import { f as o } from "../chunks/form-input.CvFdwlEV.mjs";
1
+ import { f as n } 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 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 = {
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 = {
7
12
  name: "FormInputEmail",
8
- mixins: [o],
13
+ mixins: [n],
9
14
  props: {
10
15
  value: String,
11
16
  maxLength: {
@@ -15,7 +20,7 @@ const m = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
15
20
  },
16
21
  computed: {
17
22
  inputProps() {
18
- return u({ ...i(this.$attrs), ...this.$props }, m);
23
+ return i({ ...p(this.$attrs), ...this.$props }, u);
19
24
  }
20
25
  },
21
26
  methods: {
@@ -30,15 +35,15 @@ const m = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
30
35
  }
31
36
  };
32
37
  var f = function() {
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))];
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))];
36
41
  }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
37
42
  return [e._t("error", null, { error: r })];
38
43
  } }, { key: "label", fn: function() {
39
44
  return [e._t("label")];
40
45
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
41
- }, c = [], _ = /* @__PURE__ */ p(
46
+ }, c = [], _ = /* @__PURE__ */ m(
42
47
  d,
43
48
  f,
44
49
  c,
@@ -46,7 +51,7 @@ var f = function() {
46
51
  null,
47
52
  null
48
53
  );
49
- const I = _.exports;
54
+ const k = _.exports;
50
55
  export {
51
- I as default
56
+ k as default
52
57
  };
@@ -1,8 +1,12 @@
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 u } from "../chunks/index.B2TRddqf.mjs";
5
- import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
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";
6
10
  const m = l(a).filter((o) => !["value", "placeholder", "disabled"].includes(o)), d = {
7
11
  name: "FormInputIdCard",
8
12
  mixins: [s],
@@ -15,7 +19,7 @@ const m = l(a).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
15
19
  },
16
20
  computed: {
17
21
  inputProps() {
18
- return i({ ...u(this.$attrs), ...this.$props }, m);
22
+ return i({ ...p(this.$attrs), ...this.$props }, m);
19
23
  }
20
24
  },
21
25
  methods: {
@@ -31,17 +35,17 @@ const m = l(a).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
31
35
  }
32
36
  };
33
37
  var f = function() {
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()];
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()];
41
45
  } }, { key: "label", fn: function() {
42
- return [e._t("label")];
43
- }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
44
- }, c = [], _ = /* @__PURE__ */ p(
46
+ return [r._t("label")];
47
+ }, proxy: !0 }], null, !0) }, "FormItem", r.formItemProps, !1));
48
+ }, c = [], _ = /* @__PURE__ */ u(
45
49
  d,
46
50
  f,
47
51
  c,
@@ -49,7 +53,7 @@ var f = function() {
49
53
  null,
50
54
  null
51
55
  );
52
- const g = _.exports;
56
+ const $ = _.exports;
53
57
  export {
54
- g as default
58
+ $ as default
55
59
  };
@@ -1,15 +1,22 @@
1
- import { f as p } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import u from "../input-number/index.mjs";
1
+ import { f as u } from "../chunks/form-input.CvFdwlEV.mjs";
2
+ import p from "../input-number/index.mjs";
3
3
  import { d as s, n as l } from "../chunks/index.B2TRddqf.mjs";
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 });
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 });
9
16
  });
10
- const m = Object.keys(t).filter((e) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(e)), f = {
17
+ const a = Object.keys(n).filter((e) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(e)), f = {
11
18
  name: "FormInputNumber",
12
- mixins: [p],
19
+ mixins: [u],
13
20
  props: {
14
21
  value: [Number, String],
15
22
  max: {
@@ -32,14 +39,14 @@ const m = Object.keys(t).filter((e) => !["value", "placeholder", "disabled", "pr
32
39
  },
33
40
  computed: {
34
41
  inputProps() {
35
- return s({ ...l(this.$attrs), ...this.$props }, m);
42
+ return s({ ...l(this.$attrs), ...this.$props }, a);
36
43
  }
37
44
  }
38
45
  };
39
46
  var c = function() {
40
47
  var r = this, o = r._self._c;
41
48
  return o("FormItem", r._b({ attrs: { rules: r.computeRules, disabled: r.inputDisabled }, scopedSlots: r._u([{ key: "default", 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() {
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() {
43
50
  return [r._t("append", function() {
44
51
  return [r.append ? [r._v(" " + r._s(r.append) + " ")] : r._e()];
45
52
  })];
@@ -50,12 +57,12 @@ var c = function() {
50
57
  }, proxy: !0 }, { key: "suffix", fn: function() {
51
58
  return [r._t("suffix")];
52
59
  }, proxy: !0 }], null, !0) }, "InputNumber", r.inputProps, !1), r.listeners))];
53
- }, proxy: !0 }, { key: "error", fn: function({ error: n }) {
54
- return [r._t("error", null, { error: n })];
60
+ }, proxy: !0 }, { key: "error", fn: function({ error: t }) {
61
+ return [r._t("error", null, { error: t })];
55
62
  } }, { key: "label", fn: function() {
56
63
  return [r._t("label")];
57
64
  }, proxy: !0 }], null, !0) }, "FormItem", r.formItemProps, !1));
58
- }, d = [], _ = /* @__PURE__ */ a(
65
+ }, d = [], _ = /* @__PURE__ */ m(
59
66
  f,
60
67
  c,
61
68
  d,
@@ -63,7 +70,7 @@ var c = function() {
63
70
  null,
64
71
  null
65
72
  );
66
- const v = _.exports;
73
+ const g = _.exports;
67
74
  export {
68
- v as default
75
+ g as default
69
76
  };
@@ -1,9 +1,13 @@
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 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 = {
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 = {
7
11
  name: "FormInputPhoneNumber",
8
12
  mixins: [o],
9
13
  props: {
@@ -15,7 +19,7 @@ const m = l(i).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
15
19
  },
16
20
  computed: {
17
21
  inputProps() {
18
- return a({ ...u(this.$attrs), ...this.$props }, m);
22
+ return i({ ...a(this.$attrs), ...this.$props }, m);
19
23
  }
20
24
  },
21
25
  methods: {
@@ -43,7 +47,7 @@ var f = function() {
43
47
  } }, { key: "label", fn: function() {
44
48
  return [e._t("label")];
45
49
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
46
- }, c = [], _ = /* @__PURE__ */ p(
50
+ }, c = [], _ = /* @__PURE__ */ u(
47
51
  d,
48
52
  f,
49
53
  c,
@@ -51,7 +55,7 @@ var f = function() {
51
55
  null,
52
56
  null
53
57
  );
54
- const P = _.exports;
58
+ const N = _.exports;
55
59
  export {
56
- P as default
60
+ N as default
57
61
  };
@@ -1,8 +1,13 @@
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 s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- const p = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), i = {
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 = {
6
11
  name: "FormInputTag",
7
12
  mixins: [a],
8
13
  props: {
@@ -35,7 +40,7 @@ const p = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled
35
40
  },
36
41
  computed: {
37
42
  inputProps() {
38
- return n({ ...l(this.$attrs), ...this.$props }, p);
43
+ return n({ ...l(this.$attrs), ...this.$props }, s);
39
44
  }
40
45
  }
41
46
  };
@@ -48,15 +53,15 @@ var d = function() {
48
53
  } }, { key: "label", fn: function() {
49
54
  return [e._t("label")];
50
55
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
51
- }, c = [], f = /* @__PURE__ */ s(
56
+ }, m = [], c = /* @__PURE__ */ p(
52
57
  i,
53
58
  d,
54
- c,
59
+ m,
55
60
  !1,
56
61
  null,
57
62
  null
58
63
  );
59
- const g = f.exports;
64
+ const h = c.exports;
60
65
  export {
61
- g as default
66
+ h as default
62
67
  };
@@ -2,6 +2,11 @@ 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";
5
10
  const p = i(o).filter((r) => !["value", "placeholder", "disabled"].includes(r)), u = {
6
11
  name: "FormInputTime",
7
12
  mixins: [a],
@@ -67,7 +72,7 @@ var f = function() {
67
72
  null,
68
73
  null
69
74
  );
70
- const v = d.exports;
75
+ const x = d.exports;
71
76
  export {
72
- v as default
77
+ x as default
73
78
  };
@@ -2,6 +2,10 @@ 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";
5
9
  const N = {
6
10
  name: "FormItem",
7
11
  mixins: [B],
@@ -136,7 +140,7 @@ var G = /* @__PURE__ */ L(
136
140
  null,
137
141
  null
138
142
  );
139
- const U = G.exports;
143
+ const $ = G.exports;
140
144
  export {
141
- U as default
145
+ $ as default
142
146
  };
@@ -1,10 +1,15 @@
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 u, n as p } from "../chunks/index.B2TRddqf.mjs";
4
+ import { c as s, d as p, n as u } 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
- const f = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)), h = {
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 = {
8
13
  name: "FormRadioGroup",
9
14
  mixins: [n, l, d],
10
15
  props: {
@@ -52,7 +57,7 @@ const f = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
52
57
  return "请选择";
53
58
  },
54
59
  inputProps() {
55
- return u({ ...p(this.$attrs), ...this.$props }, f);
60
+ return p({ ...u(this.$attrs), ...this.$props }, f);
56
61
  },
57
62
  labelKey() {
58
63
  return this.classic ? "label" : this.labelProp;
@@ -91,7 +96,7 @@ const f = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
91
96
  }
92
97
  }
93
98
  };
94
- var m = function() {
99
+ var h = function() {
95
100
  var e = this, r = e._self._c;
96
101
  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() {
97
102
  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) {
@@ -109,14 +114,14 @@ var m = function() {
109
114
  return [e._t("below")];
110
115
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
111
116
  }, y = [], g = /* @__PURE__ */ c(
112
- h,
113
117
  m,
118
+ h,
114
119
  y,
115
120
  !1,
116
121
  null,
117
122
  null
118
123
  );
119
- const P = g.exports;
124
+ const F = g.exports;
120
125
  export {
121
- P as default
126
+ F as default
122
127
  };
@@ -5,6 +5,10 @@ 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";
8
12
  const b = p(a).filter((e) => !["value", "placeholder", "disabled"].includes(e)), y = {
9
13
  name: "FormSelect",
10
14
  mixins: [o, l, n],
@@ -173,7 +177,7 @@ var _ = function() {
173
177
  null,
174
178
  null
175
179
  );
176
- const k = v.exports;
180
+ const I = v.exports;
177
181
  export {
178
- k as default
182
+ I as default
179
183
  };
@@ -1,8 +1,13 @@
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 u, n as i } from "../chunks/index.B2TRddqf.mjs";
3
+ import { c as a, d as i, n as u } from "../chunks/index.B2TRddqf.mjs";
4
4
  import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- const p = a(l).filter((t) => !["value", "placeholder", "disabled"].includes(t)), c = {
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 = {
6
11
  name: "FormSwitch",
7
12
  mixins: [o],
8
13
  props: {
@@ -18,7 +23,7 @@ const p = a(l).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
18
23
  },
19
24
  computed: {
20
25
  inputProps() {
21
- return u({ ...i(this.$attrs), ...this.$props }, p);
26
+ return i({ ...u(this.$attrs), ...this.$props }, p);
22
27
  }
23
28
  },
24
29
  methods: {
@@ -27,7 +32,7 @@ const p = a(l).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
27
32
  }
28
33
  }
29
34
  };
30
- var m = function() {
35
+ var c = function() {
31
36
  var e = this, r = e._self._c;
32
37
  return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
33
38
  return [e._t("default", function() {
@@ -41,14 +46,14 @@ var m = function() {
41
46
  return [e._t("label")];
42
47
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
43
48
  }, d = [], f = /* @__PURE__ */ s(
44
- c,
45
49
  m,
50
+ c,
46
51
  d,
47
52
  !1,
48
53
  null,
49
54
  null
50
55
  );
51
- const b = f.exports;
56
+ const g = f.exports;
52
57
  export {
53
- b as default
58
+ g as default
54
59
  };