@web-utils/component 4.0.13 → 4.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/address-input/index.mjs +15 -13
  2. package/card/index.mjs +20 -18
  3. package/carousel/index.mjs +12 -10
  4. package/chat/index.mjs +56 -45
  5. package/chunk-file-uploader/index.mjs +378 -36
  6. package/chunk-file-uploader/style.css +1 -1
  7. package/chunks/{ElementTaskConfig.Bko0kgTp.mjs → ElementTaskConfig.AvBOzAni.mjs} +63 -55
  8. package/chunks/FormItem.Bhsy_O2B.mjs +372 -0
  9. package/chunks/FyForm.DriwCJ7b.mjs +765 -0
  10. package/chunks/SignalAndMessage.BpjOoKhK.mjs +92 -0
  11. package/chunks/SubTablePlus.BH0IIv3X.mjs +270 -0
  12. package/chunks/TableColumn.BzivvXMF.mjs +337 -0
  13. package/chunks/{confirmable-mixin.B2TtLAdk.mjs → confirmable-mixin.BFZb6pcK.mjs} +1 -1
  14. package/chunks/{dataformat.CpqOeGBl.mjs → dataformat.DJoNBlmI.mjs} +6 -6
  15. package/chunks/{dic.Dkl-leRW.mjs → dic.BinnDitI.mjs} +9 -9
  16. package/chunks/{event.9aDS6jcw.mjs → event.DSlcqYHL.mjs} +2 -2
  17. package/chunks/{form-input.CvFdwlEV.mjs → form-input.BtS_J5a2.mjs} +2 -2
  18. package/chunks/{index.9OxHjTIE.mjs → index.CIfe3UB3.mjs} +2 -2
  19. package/chunks/{index.B2TRddqf.mjs → index.Cn7aq-Et.mjs} +8 -8
  20. package/chunks/{init.DAsXSoLW.mjs → init.xOlFpTyZ.mjs} +2 -2
  21. package/chunks/{util.DqFv_pWg.mjs → util.DI42t5GU.mjs} +22 -22
  22. package/color-picker/index.mjs +101 -22
  23. package/confirm-button/index.mjs +1 -1
  24. package/confirmable/index.mjs +1 -1
  25. package/data-box/index.mjs +15 -12
  26. package/data-card/index.mjs +12 -10
  27. package/data-card-text/index.mjs +12 -10
  28. package/data-display/index.mjs +17 -15
  29. package/data-icons/index.mjs +16 -13
  30. package/data-imgtext/index.mjs +18 -15
  31. package/data-operatext/index.mjs +16 -14
  32. package/data-panel/index.mjs +16 -13
  33. package/data-pay/index.mjs +20 -16
  34. package/data-price/index.mjs +16 -14
  35. package/data-progress/index.mjs +17 -13
  36. package/data-rotate/index.mjs +15 -12
  37. package/data-table-picker/index.mjs +18 -15
  38. package/data-tabs/index.mjs +15 -12
  39. package/dialog-form/index.mjs +18 -16
  40. package/dynamic-table/index.mjs +30 -25
  41. package/editable-progress/index.mjs +11 -9
  42. package/editable-tree/index.mjs +56 -52
  43. package/egd-collapse-item/index.mjs +9 -9
  44. package/element-dialog/index.mjs +23 -22
  45. package/flex-column/index.mjs +1 -1
  46. package/flex-item/index.mjs +1 -1
  47. package/flex-row/index.mjs +1 -1
  48. package/flow/index.mjs +11 -10
  49. package/flow-designer/index.mjs +1973 -699
  50. package/flow-designer/style.css +1 -1
  51. package/flow-node/index.mjs +1 -1
  52. package/flow-viewer/index.mjs +9 -9
  53. package/form-block/index.mjs +34 -32
  54. package/form-cascader/index.mjs +24 -23
  55. package/form-checkbox/index.mjs +17 -16
  56. package/form-checkbox-group/index.mjs +23 -20
  57. package/form-checkbox-group/style.css +1 -1
  58. package/form-date-picker/index.mjs +20 -18
  59. package/form-holder/index.mjs +14 -13
  60. package/form-input/index.mjs +15 -14
  61. package/form-input-cron-expression/index.mjs +22 -19
  62. package/form-input-email/index.mjs +16 -15
  63. package/form-input-id-card/index.mjs +13 -12
  64. package/form-input-number/index.mjs +17 -16
  65. package/form-input-phone-number/index.mjs +22 -21
  66. package/form-input-tag/index.mjs +15 -14
  67. package/form-input-time/index.mjs +15 -14
  68. package/form-item/index.mjs +3 -140
  69. package/form-item-group/index.mjs +31 -28
  70. package/form-radio-group/index.mjs +28 -27
  71. package/form-radio-group/style.css +1 -1
  72. package/form-select/index.mjs +23 -21
  73. package/form-switch/index.mjs +17 -16
  74. package/form-table/index.mjs +17 -16
  75. package/form-table-plus/index.mjs +22 -21
  76. package/form-textarea/index.mjs +16 -15
  77. package/form-tree-select/index.mjs +15 -14
  78. package/form-tree-select-multiple/index.mjs +15 -14
  79. package/form-view/index.mjs +39 -35
  80. package/fy-array/index.mjs +37 -33
  81. package/fy-cascader/index.mjs +17 -16
  82. package/fy-checkbox/index.mjs +13 -11
  83. package/fy-code/index.mjs +10 -10
  84. package/fy-curd/index.mjs +1147 -1123
  85. package/fy-date/index.mjs +11 -10
  86. package/fy-draggable/index.mjs +10 -9
  87. package/fy-dynamic/index.mjs +25 -22
  88. package/fy-empty/index.mjs +1 -1
  89. package/fy-form/index.mjs +15 -638
  90. package/fy-form-design/index.mjs +1165 -1127
  91. package/fy-input/index.mjs +14 -12
  92. package/fy-input-color/index.mjs +15 -13
  93. package/fy-input-icon/index.mjs +23 -20
  94. package/fy-input-map/index.mjs +31 -28
  95. package/fy-input-number/index.mjs +10 -9
  96. package/fy-input-table/index.mjs +22 -18
  97. package/fy-input-tree/index.mjs +37 -33
  98. package/fy-progress/index.mjs +10 -9
  99. package/fy-radio/index.mjs +16 -15
  100. package/fy-rate/index.mjs +11 -10
  101. package/fy-select/index.mjs +29 -25
  102. package/fy-slider/index.mjs +12 -11
  103. package/fy-switch/index.mjs +10 -9
  104. package/fy-tabs/index.mjs +17 -15
  105. package/fy-time/index.mjs +1 -1
  106. package/fy-title/index.mjs +1 -1
  107. package/fy-tree/index.mjs +24 -18
  108. package/fy-u-editor/index.mjs +1 -1
  109. package/fy-upload/index.mjs +76 -74
  110. package/guide-steps/index.mjs +13 -11
  111. package/iframe-window/index.mjs +10 -9
  112. package/image-cropper/index.mjs +30 -28
  113. package/image-preview/index.mjs +14 -12
  114. package/index.mjs +72 -72
  115. package/input-number/index.mjs +14 -13
  116. package/input-number-range/index.mjs +12 -11
  117. package/license/index.mjs +1 -1
  118. package/login/index.mjs +26 -21
  119. package/nav-bar/index.mjs +10 -9
  120. package/notice/index.mjs +10 -9
  121. package/package.json +1 -1
  122. package/page-index/index.mjs +13 -12
  123. package/page-index-top/index.mjs +28 -23
  124. package/page-skeleton/index.mjs +14 -14
  125. package/page-skeleton-new/index.mjs +9 -8
  126. package/pageable-table/index.mjs +182 -172
  127. package/pageable-table/style.css +1 -1
  128. package/pageable-view/index.mjs +16 -15
  129. package/picker-table-view/index.mjs +58 -49
  130. package/present-view/index.mjs +39 -35
  131. package/record-video/index.mjs +1 -1
  132. package/resize-observer/index.mjs +1 -1
  133. package/search/index.mjs +22 -20
  134. package/search-popover/index.mjs +1 -1
  135. package/sign/index.mjs +1 -1
  136. package/skeleton-panel/index.mjs +10 -9
  137. package/split-pane/index.mjs +37 -36
  138. package/static-pageable-table/index.mjs +13 -11
  139. package/sub-table/index.mjs +49 -36
  140. package/sub-table-plus/index.mjs +18 -229
  141. package/swiper/index.mjs +12 -11
  142. package/table-column/index.mjs +3 -223
  143. package/table-view/index.mjs +60 -52
  144. package/tabs-view/index.mjs +19 -17
  145. package/tag-render/index.mjs +18 -16
  146. package/text-ellipsis/index.mjs +10 -9
  147. package/toolbar/index.mjs +14 -13
  148. package/toolbar-button/index.mjs +14 -13
  149. package/verify/index.mjs +1 -1
  150. package/vue-cron/index.mjs +267 -259
  151. package/watermark/index.mjs +1 -1
  152. package/web-types.json +1 -1
  153. package/x-input-tag/index.mjs +24 -21
  154. package/chunks/ElementBaseInfo.ZADwixb5.mjs +0 -125
  155. package/chunks/ElementForm.CQ3PN5qj.mjs +0 -223
  156. package/chunks/ElementListeners.De_PRuIm.mjs +0 -215
  157. package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +0 -181
  158. package/chunks/ElementOtherConfig.B1NfMTYh.mjs +0 -60
  159. package/chunks/ElementProperties.CosfDrlW.mjs +0 -112
  160. package/chunks/FlowCondition.Y6qEYi1T.mjs +0 -102
  161. package/chunks/FormTemp.BQxO5IQq.mjs +0 -123
  162. package/chunks/SignalAndMessage.Bb5PFX0N.mjs +0 -85
  163. package/chunks/UserTaskListeners.Bv3BDfEI.mjs +0 -169
  164. package/chunks/core.0Exl13Mz.mjs +0 -54
  165. package/chunks/dictionary.DGt59Ir7.mjs +0 -68
  166. package/chunks/form-item.LWjePsPa.mjs +0 -233
  167. package/chunks/sub-table-plus-props.BVsD71hT.mjs +0 -30
  168. package/chunks/utilSelf.Csq1766E.mjs +0 -48
  169. package/chunks/utils.DRcxC1Fb.mjs +0 -60
  170. package/element-listeners/style.css +0 -1
  171. package/element-multi-instance/style.css +0 -1
@@ -1,10 +1,11 @@
1
- import { f as i } from "../chunks/form-input.CvFdwlEV.mjs";
2
1
  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";
5
- const c = a(o).filter((t) => !["value", "placeholder", "disabled", "suffixIcon"].includes(t)), d = {
2
+ import { F as i } from "../chunks/FormItem.Bhsy_O2B.mjs";
3
+ import { f as a } from "../chunks/form-input.BtS_J5a2.mjs";
4
+ import { e as s, v as l, h as p, n as u } from "../chunks/index.Cn7aq-Et.mjs";
5
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
+ const d = s(o).filter((t) => !["value", "placeholder", "disabled", "suffixIcon"].includes(t)), f = {
6
7
  name: "FormInput",
7
- mixins: [i],
8
+ mixins: [a],
8
9
  props: {
9
10
  value: [String, Number],
10
11
  readonlyGrey: {
@@ -28,12 +29,12 @@ const c = a(o).filter((t) => !["value", "placeholder", "disabled", "suffixIcon"]
28
29
  },
29
30
  computed: {
30
31
  inputProps() {
31
- return l({ ...u(this.$attrs), ...this.$props }, c);
32
+ return p({ ...u(this.$attrs), ...this.$props }, d);
32
33
  }
33
34
  },
34
35
  watch: {
35
36
  async value(t) {
36
- this.isValidValue = await s(this.prop, t, this.computeRules);
37
+ this.isValidValue = await l(this.prop, t, this.computeRules);
37
38
  }
38
39
  },
39
40
  methods: {
@@ -48,11 +49,11 @@ const c = a(o).filter((t) => !["value", "placeholder", "disabled", "suffixIcon"]
48
49
  }
49
50
  }
50
51
  };
51
- var f = function() {
52
+ var m = function() {
52
53
  var e = this, n = e._self._c;
53
- return n("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
54
+ return n(i, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
54
55
  return [e._t("default", function() {
55
- return [n("ElInput", e._g(e._b({ ref: "input", class: { "is-readonly": e.readonlyGrey && e.readonly && !e.picker, "el-input-cursor-pointer": e.picker && !e.inputDisabled }, attrs: { value: e.value, readonly: e.readonly || e.picker, maxlength: e.maxLength, disabled: e.inputDisabled, "suffix-icon": e.picker ? "el-icon-search" : e.suffixIcon, clearable: "", placeholder: e.inputDisabled ? "" : e.computePlaceholder }, on: { clear: e.clear, input: e.emitInput }, nativeOn: { click: function(r) {
56
+ return [n(o, e._g(e._b({ ref: "input", class: { "is-readonly": e.readonlyGrey && e.readonly && !e.picker, "el-input-cursor-pointer": e.picker && !e.inputDisabled }, attrs: { value: e.value, readonly: e.readonly || e.picker, maxlength: e.maxLength, disabled: e.inputDisabled, "suffix-icon": e.picker ? "el-icon-search" : e.suffixIcon, clearable: "", placeholder: e.inputDisabled ? "" : e.computePlaceholder }, on: { clear: e.clear, input: e.emitInput }, nativeOn: { click: function(r) {
56
57
  return r.preventDefault(), e.onInputClick.apply(null, arguments);
57
58
  } }, scopedSlots: e._u([{ key: "prepend", fn: function() {
58
59
  return [e._t("prepend", function() {
@@ -73,15 +74,15 @@ var f = function() {
73
74
  }, proxy: !0 }, { key: "tips", fn: function() {
74
75
  return [e._t("tips")];
75
76
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
76
- }, m = [], _ = /* @__PURE__ */ p(
77
- d,
77
+ }, _ = [], y = /* @__PURE__ */ c(
78
78
  f,
79
79
  m,
80
+ _,
80
81
  !1,
81
82
  null,
82
83
  null
83
84
  );
84
- const k = _.exports;
85
+ const I = y.exports;
85
86
  export {
86
- k as default
87
+ I as default
87
88
  };
@@ -1,10 +1,13 @@
1
- import { f as n } from "../chunks/form-input.CvFdwlEV.mjs";
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";
5
- const c = a(s).filter((o) => !["value", "placeholder", "disabled"].includes(o)), d = {
1
+ import s from "../vue-cron/index.mjs";
2
+ import n from "element-ui/lib/input";
3
+ import a from "element-ui/lib/popover";
4
+ import { F as l } from "../chunks/FormItem.Bhsy_O2B.mjs";
5
+ import { f as i } from "../chunks/form-input.BtS_J5a2.mjs";
6
+ import { e as u, v as p, h as c, n as m } from "../chunks/index.Cn7aq-Et.mjs";
7
+ import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
8
+ const d = u(n).filter((o) => !["value", "placeholder", "disabled"].includes(o)), _ = {
6
9
  name: "FormInputCronExpression",
7
- mixins: [n],
10
+ mixins: [i],
8
11
  props: {
9
12
  value: [String, Number],
10
13
  readonlyGrey: {
@@ -24,12 +27,12 @@ const c = a(s).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
24
27
  },
25
28
  computed: {
26
29
  inputProps() {
27
- return u({ ...i(this.$attrs), ...this.$props }, c);
30
+ return c({ ...m(this.$attrs), ...this.$props }, d);
28
31
  }
29
32
  },
30
33
  watch: {
31
34
  async value(o) {
32
- this.isValidValue = await l(this.prop, o, this.computeRules);
35
+ this.isValidValue = await p(this.prop, o, this.computeRules);
33
36
  }
34
37
  },
35
38
  methods: {
@@ -38,19 +41,19 @@ const c = a(s).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
38
41
  }
39
42
  }
40
43
  };
41
- var f = function() {
44
+ var v = function() {
42
45
  var e = this, r = e._self._c;
43
- return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled, "validate-status": "" }, scopedSlots: e._u([{ key: "default", fn: function() {
46
+ return r(l, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled, "validate-status": "" }, scopedSlots: e._u([{ key: "default", fn: function() {
44
47
  return [e._t("default", function() {
45
- return [r("div", { staticClass: "cron" }, [r("ElPopover", { attrs: { "popper-class": "cron-popover" }, scopedSlots: e._u([{ key: "reference", fn: function() {
46
- return [r("ElInput", e._g(e._b({ class: { "is-readonly": e.readonlyGrey && e.readonly }, attrs: { value: e.value, readonly: e.readonly, maxlength: e.maxLength, disabled: e.inputDisabled, placeholder: e.inputDisabled ? "" : e.computePlaceholder }, on: { click: function(t) {
48
+ return [r("div", { staticClass: "cron" }, [r(a, { attrs: { "popper-class": "cron-popover" }, scopedSlots: e._u([{ key: "reference", fn: function() {
49
+ return [r(n, e._g(e._b({ class: { "is-readonly": e.readonlyGrey && e.readonly }, attrs: { value: e.value, readonly: e.readonly, maxlength: e.maxLength, disabled: e.inputDisabled, placeholder: e.inputDisabled ? "" : e.computePlaceholder }, on: { click: function(t) {
47
50
  e.cronPopover = !0;
48
51
  } }, scopedSlots: e._u([{ key: "append", fn: function() {
49
52
  return [e._t("append")];
50
53
  }, proxy: !0 }], null, !0) }, "ElInput", e.inputProps, !1), e.listeners))];
51
54
  }, proxy: !0 }]), model: { value: e.cronPopover, callback: function(t) {
52
55
  e.cronPopover = t;
53
- }, expression: "cronPopover" } }, [e.cronPopover ? r("VueCron", { attrs: { i18n: "cn", expression: e.value }, on: { change: e.emitInput, close: function(t) {
56
+ }, expression: "cronPopover" } }, [e.cronPopover ? r(s, { attrs: { i18n: "cn", expression: e.value }, on: { change: e.emitInput, close: function(t) {
54
57
  e.cronPopover = !1;
55
58
  } } }) : e._e()], 1)], 1), e.isValidValue && e.$slots.warn ? r("div", { staticClass: "el-form-item__warn" }, [e._t("warn")], 2) : e._e()];
56
59
  })];
@@ -63,15 +66,15 @@ var f = function() {
63
66
  }, proxy: !0 }, { key: "tips", fn: function() {
64
67
  return [e._t("tips")];
65
68
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
66
- }, m = [], _ = /* @__PURE__ */ p(
67
- d,
68
- f,
69
- m,
69
+ }, y = [], h = /* @__PURE__ */ f(
70
+ _,
71
+ v,
72
+ y,
70
73
  !1,
71
74
  null,
72
75
  null
73
76
  );
74
- const x = _.exports;
77
+ const $ = h.exports;
75
78
  export {
76
- x as default
79
+ $ as default
77
80
  };
@@ -1,11 +1,12 @@
1
- import { f as o } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { v as l } from "../chunks/form-validate.CVarNHKX.mjs";
3
- import a from "element-ui/lib/input";
4
- import { c as s, d as u, n as i } from "../chunks/index.B2TRddqf.mjs";
1
+ import o from "element-ui/lib/input";
2
+ import { F as a } from "../chunks/FormItem.Bhsy_O2B.mjs";
3
+ import { f as l } from "../chunks/form-input.BtS_J5a2.mjs";
4
+ import { v as s } from "../chunks/form-validate.CVarNHKX.mjs";
5
+ import { e as i, h as u, n as m } from "../chunks/index.Cn7aq-Et.mjs";
5
6
  import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- const m = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
7
+ const d = i(o).filter((t) => !["value", "placeholder", "disabled"].includes(t)), f = {
7
8
  name: "FormInputEmail",
8
- mixins: [o],
9
+ mixins: [l],
9
10
  props: {
10
11
  value: String,
11
12
  maxLength: {
@@ -15,38 +16,38 @@ const m = s(a).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
15
16
  },
16
17
  computed: {
17
18
  inputProps() {
18
- return u({ ...i(this.$attrs), ...this.$props }, m);
19
+ return u({ ...m(this.$attrs), ...this.$props }, d);
19
20
  }
20
21
  },
21
22
  methods: {
22
23
  getRules() {
23
24
  return [
24
25
  {
25
- validator: l,
26
+ validator: s,
26
27
  message: "请输入正确的邮箱!"
27
28
  }
28
29
  ];
29
30
  }
30
31
  }
31
32
  };
32
- var f = function() {
33
+ var c = function() {
33
34
  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))];
35
+ return n(a, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
36
+ return [n(o, 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
37
  }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
37
38
  return [e._t("error", null, { error: r })];
38
39
  } }, { key: "label", fn: function() {
39
40
  return [e._t("label")];
40
41
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
41
- }, c = [], _ = /* @__PURE__ */ p(
42
- d,
42
+ }, _ = [], v = /* @__PURE__ */ p(
43
43
  f,
44
44
  c,
45
+ _,
45
46
  !1,
46
47
  null,
47
48
  null
48
49
  );
49
- const I = _.exports;
50
+ const P = v.exports;
50
51
  export {
51
- I as default
52
+ P as default
52
53
  };
@@ -1,11 +1,12 @@
1
- import { f as s } from "../chunks/form-input.CvFdwlEV.mjs";
1
+ import s from "element-ui/lib/input";
2
+ import { F as a } from "../chunks/FormItem.Bhsy_O2B.mjs";
3
+ import { f as l } from "../chunks/form-input.BtS_J5a2.mjs";
2
4
  import { validateIdCard as n } from "@web-utils/core";
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 { e as i, h as u, n as m } from "../chunks/index.Cn7aq-Et.mjs";
5
6
  import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- const m = l(a).filter((o) => !["value", "placeholder", "disabled"].includes(o)), d = {
7
+ const d = i(s).filter((o) => !["value", "placeholder", "disabled"].includes(o)), _ = {
7
8
  name: "FormInputIdCard",
8
- mixins: [s],
9
+ mixins: [l],
9
10
  props: {
10
11
  value: String,
11
12
  maxLength: {
@@ -15,7 +16,7 @@ const m = l(a).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
15
16
  },
16
17
  computed: {
17
18
  inputProps() {
18
- return i({ ...u(this.$attrs), ...this.$props }, m);
19
+ return u({ ...m(this.$attrs), ...this.$props }, d);
19
20
  }
20
21
  },
21
22
  methods: {
@@ -32,8 +33,8 @@ const m = l(a).filter((o) => !["value", "placeholder", "disabled"].includes(o)),
32
33
  };
33
34
  var f = function() {
34
35
  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()];
36
+ return t(a, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
37
+ return [t(s, 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
38
  }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
38
39
  return [e.$scopedSlots.error && e.$scopedSlots.error(r) ? t("div", { staticClass: "el-form-item__error" }, [e._t("error", function() {
39
40
  return [e._v(e._s(r))];
@@ -41,15 +42,15 @@ var f = function() {
41
42
  } }, { key: "label", fn: function() {
42
43
  return [e._t("label")];
43
44
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
44
- }, c = [], _ = /* @__PURE__ */ p(
45
- d,
45
+ }, c = [], v = /* @__PURE__ */ p(
46
+ _,
46
47
  f,
47
48
  c,
48
49
  !1,
49
50
  null,
50
51
  null
51
52
  );
52
- const g = _.exports;
53
+ const C = v.exports;
53
54
  export {
54
- g as default
55
+ C as default
55
56
  };
@@ -1,13 +1,14 @@
1
- import { f as p } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import u from "../input-number/index.mjs";
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";
1
+ import o from "../input-number/index.mjs";
2
+ import { F as s } from "../chunks/FormItem.Bhsy_O2B.mjs";
3
+ import { f as p } from "../chunks/form-input.BtS_J5a2.mjs";
4
+ import { h as l, n as a } from "../chunks/index.Cn7aq-Et.mjs";
5
+ import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
6
  let t = {};
6
- const i = u.mixins;
7
- i && [...i, u].forEach((e) => {
7
+ const u = o.mixins;
8
+ u && [...u, o].forEach((e) => {
8
9
  e.props && (t = { ...t, ...e.props });
9
10
  });
10
- const m = Object.keys(t).filter((e) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(e)), f = {
11
+ const f = Object.keys(t).filter((e) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(e)), c = {
11
12
  name: "FormInputNumber",
12
13
  mixins: [p],
13
14
  props: {
@@ -32,14 +33,14 @@ const m = Object.keys(t).filter((e) => !["value", "placeholder", "disabled", "pr
32
33
  },
33
34
  computed: {
34
35
  inputProps() {
35
- return s({ ...l(this.$attrs), ...this.$props }, m);
36
+ return l({ ...a(this.$attrs), ...this.$props }, f);
36
37
  }
37
38
  }
38
39
  };
39
- var c = function() {
40
- var r = this, o = r._self._c;
41
- 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() {
40
+ var d = function() {
41
+ var r = this, i = r._self._c;
42
+ return i(s, r._b({ attrs: { rules: r.computeRules, disabled: r.inputDisabled }, scopedSlots: r._u([{ key: "default", fn: function() {
43
+ return [i(o, 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() {
43
44
  return [r._t("append", function() {
44
45
  return [r.append ? [r._v(" " + r._s(r.append) + " ")] : r._e()];
45
46
  })];
@@ -55,15 +56,15 @@ var c = function() {
55
56
  } }, { key: "label", fn: function() {
56
57
  return [r._t("label")];
57
58
  }, proxy: !0 }], null, !0) }, "FormItem", r.formItemProps, !1));
58
- }, d = [], _ = /* @__PURE__ */ a(
59
- f,
59
+ }, _ = [], y = /* @__PURE__ */ m(
60
60
  c,
61
61
  d,
62
+ _,
62
63
  !1,
63
64
  null,
64
65
  null
65
66
  );
66
- const v = _.exports;
67
+ const k = y.exports;
67
68
  export {
68
- v as default
69
+ k as default
69
70
  };
@@ -1,11 +1,12 @@
1
- import { f as o } from "../chunks/form-input.CvFdwlEV.mjs";
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";
1
+ import n from "element-ui/lib/input";
2
+ import { F as s } from "../chunks/FormItem.Bhsy_O2B.mjs";
3
+ import { f as l } from "../chunks/form-input.BtS_J5a2.mjs";
4
+ import { validatePhoneNum as a } from "@web-utils/core";
5
+ import { e as i, h as u, n as m } from "../chunks/index.Cn7aq-Et.mjs";
5
6
  import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
- const m = l(i).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
7
+ const f = i(n).filter((r) => !["value", "placeholder", "disabled"].includes(r)), d = {
7
8
  name: "FormInputPhoneNumber",
8
- mixins: [o],
9
+ mixins: [l],
9
10
  props: {
10
11
  value: String,
11
12
  maxLength: {
@@ -15,43 +16,43 @@ const m = l(i).filter((t) => !["value", "placeholder", "disabled"].includes(t)),
15
16
  },
16
17
  computed: {
17
18
  inputProps() {
18
- return a({ ...u(this.$attrs), ...this.$props }, m);
19
+ return u({ ...m(this.$attrs), ...this.$props }, f);
19
20
  }
20
21
  },
21
22
  methods: {
22
23
  getRules() {
23
24
  return [
24
25
  {
25
- validator: (t, e, r) => {
26
- e && e.indexOf("*") > -1 && e.length === 11 ? r() : s(t, e, r);
26
+ validator: (r, e, t) => {
27
+ e && e.indexOf("*") > -1 && e.length === 11 ? t() : a(r, e, t);
27
28
  },
28
29
  message: "请输入正确的手机号码!"
29
30
  }
30
31
  ];
31
32
  },
32
- emitInput(t) {
33
- this.$emit("input", t);
33
+ emitInput(r) {
34
+ this.$emit("input", r);
34
35
  }
35
36
  }
36
37
  };
37
- var f = function() {
38
- var e = this, r = e._self._c;
39
- return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
40
- return [r("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: e.emitInput } }, "ElInput", e.inputProps, !1), e.listeners))];
41
- }, proxy: !0 }, { key: "error", fn: function({ error: n }) {
42
- return [e._t("error", null, { error: n })];
38
+ var _ = function() {
39
+ var e = this, t = e._self._c;
40
+ return t(s, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
41
+ return [t(n, 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: e.emitInput } }, "ElInput", e.inputProps, !1), e.listeners))];
42
+ }, proxy: !0 }, { key: "error", fn: function({ error: o }) {
43
+ return [e._t("error", null, { error: o })];
43
44
  } }, { key: "label", fn: function() {
44
45
  return [e._t("label")];
45
46
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
46
- }, c = [], _ = /* @__PURE__ */ p(
47
+ }, c = [], h = /* @__PURE__ */ p(
47
48
  d,
48
- f,
49
+ _,
49
50
  c,
50
51
  !1,
51
52
  null,
52
53
  null
53
54
  );
54
- const P = _.exports;
55
+ const v = h.exports;
55
56
  export {
56
- P as default
57
+ v as default
57
58
  };
@@ -1,10 +1,11 @@
1
- import { f as a } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import { d as n, n as l } from "../chunks/index.B2TRddqf.mjs";
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 = {
1
+ import a from "../x-input-tag/index.mjs";
2
+ import { F as n } from "../chunks/FormItem.Bhsy_O2B.mjs";
3
+ import { f as l } from "../chunks/form-input.BtS_J5a2.mjs";
4
+ import { h as u, n as s } from "../chunks/index.Cn7aq-Et.mjs";
5
+ import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
+ const i = Object.keys(a.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), d = {
6
7
  name: "FormInputTag",
7
- mixins: [a],
8
+ mixins: [l],
8
9
  props: {
9
10
  value: [Array, String],
10
11
  block: {
@@ -35,28 +36,28 @@ const p = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled
35
36
  },
36
37
  computed: {
37
38
  inputProps() {
38
- return n({ ...l(this.$attrs), ...this.$props }, p);
39
+ return u({ ...s(this.$attrs), ...this.$props }, i);
39
40
  }
40
41
  }
41
42
  };
42
- var d = function() {
43
+ var c = function() {
43
44
  var e = this, o = e._self._c;
44
- return o("FormItem", e._b({ attrs: { block: e.block, rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
45
- return [o("XInputTag", e._g(e._b({ attrs: { value: e.value, query: e.query, type: e.type, readonly: e.readonly, disabled: e.inputDisabled, "object-mode": e.objectMode, "boundary-selector": e.boundarySelector, placeholder: e.computePlaceholder, "array-mode": e.arrayMode, separator: e.separator }, on: { input: (r) => e.$emit("input", r) } }, "XInputTag", e.inputProps, !1), e.listeners))];
45
+ return o(n, e._b({ attrs: { block: e.block, rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
46
+ return [o(a, e._g(e._b({ attrs: { value: e.value, query: e.query, type: e.type, readonly: e.readonly, disabled: e.inputDisabled, "object-mode": e.objectMode, "boundary-selector": e.boundarySelector, placeholder: e.computePlaceholder, "array-mode": e.arrayMode, separator: e.separator }, on: { input: (r) => e.$emit("input", r) } }, "XInputTag", e.inputProps, !1), e.listeners))];
46
47
  }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
47
48
  return [e._t("error", null, { error: r })];
48
49
  } }, { key: "label", fn: function() {
49
50
  return [e._t("label")];
50
51
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
51
- }, c = [], f = /* @__PURE__ */ s(
52
- i,
52
+ }, m = [], f = /* @__PURE__ */ p(
53
53
  d,
54
54
  c,
55
+ m,
55
56
  !1,
56
57
  null,
57
58
  null
58
59
  );
59
- const g = f.exports;
60
+ const I = f.exports;
60
61
  export {
61
- g as default
62
+ I as default
62
63
  };
@@ -1,10 +1,11 @@
1
- import { f as a } from "../chunks/form-input.CvFdwlEV.mjs";
2
- import o from "element-ui/lib/time-picker";
3
- import { c as i, d as l, n as s } from "../chunks/index.B2TRddqf.mjs";
4
- import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
- const p = i(o).filter((r) => !["value", "placeholder", "disabled"].includes(r)), u = {
1
+ import a from "element-ui/lib/time-picker";
2
+ import { F as o } from "../chunks/FormItem.Bhsy_O2B.mjs";
3
+ import { f as i } from "../chunks/form-input.BtS_J5a2.mjs";
4
+ import { e as l, h as s, n as m } from "../chunks/index.Cn7aq-Et.mjs";
5
+ import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
+ const u = l(a).filter((r) => !["value", "placeholder", "disabled"].includes(r)), f = {
6
7
  name: "FormInputTime",
7
- mixins: [a],
8
+ mixins: [i],
8
9
  props: {
9
10
  range: Boolean,
10
11
  format: {
@@ -39,14 +40,14 @@ const p = i(o).filter((r) => !["value", "placeholder", "disabled"].includes(r)),
39
40
  return "请选择";
40
41
  },
41
42
  inputProps() {
42
- return l({ ...s(this.$attrs), ...this.$props }, p);
43
+ return s({ ...m(this.$attrs), ...this.$props }, u);
43
44
  }
44
45
  }
45
46
  };
46
- var f = function() {
47
+ var d = function() {
47
48
  var e = this, n = e._self._c;
48
- return n("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
49
- return [n("ElTimePicker", e._g(e._b({ staticStyle: { width: "100%" }, attrs: { "is-range": e.range, value: e.value, disabled: e.inputDisabled, format: e.format, "value-format": e.valueFormat || e.format, clearable: "", "picker-options": {
49
+ return n(o, e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
50
+ return [n(a, e._g(e._b({ staticStyle: { width: "100%" }, attrs: { "is-range": e.range, value: e.value, disabled: e.inputDisabled, format: e.format, "value-format": e.valueFormat || e.format, clearable: "", "picker-options": {
50
51
  start: e.start,
51
52
  end: e.end,
52
53
  step: e.step,
@@ -59,15 +60,15 @@ var f = function() {
59
60
  } }, { key: "label", fn: function() {
60
61
  return [e._t("label")];
61
62
  }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
62
- }, c = [], d = /* @__PURE__ */ m(
63
- u,
63
+ }, c = [], _ = /* @__PURE__ */ p(
64
64
  f,
65
+ d,
65
66
  c,
66
67
  !1,
67
68
  null,
68
69
  null
69
70
  );
70
- const v = d.exports;
71
+ const S = _.exports;
71
72
  export {
72
- v as default
73
+ S as default
73
74
  };