@web-utils/component 4.0.15 → 4.0.16

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