@web-utils/component 3.0.6 → 3.1.0

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 (172) hide show
  1. package/address-input/index.mjs +20 -57
  2. package/affix/index.mjs +26 -47
  3. package/aside-menu/index.mjs +18 -43
  4. package/avatar/index.mjs +27 -49
  5. package/awesome-button/index.mjs +35 -43
  6. package/capsule-tab/index.mjs +16 -34
  7. package/card/index.mjs +21 -76
  8. package/carousel/index.mjs +14 -49
  9. package/chat/index.mjs +104 -414
  10. package/chunk-file-uploader/index.mjs +21 -38
  11. package/chunks/FormTemp.aa57efb4.mjs +125 -0
  12. package/code-mirror-editor/index.mjs +69 -79
  13. package/color-picker/index.mjs +29 -60
  14. package/comment/index.mjs +17 -48
  15. package/confirm-button/index.mjs +11 -19
  16. package/confirmable/index.mjs +12 -20
  17. package/context-menu/index.mjs +42 -144
  18. package/count-up/index.mjs +18 -25
  19. package/custom-scrollbar/index.mjs +13 -22
  20. package/data-box/index.mjs +15 -66
  21. package/data-card/index.mjs +16 -65
  22. package/data-cardtext/index.mjs +16 -52
  23. package/data-display/index.mjs +18 -62
  24. package/data-icons/index.mjs +16 -68
  25. package/data-imgtext/index.mjs +18 -79
  26. package/data-operatext/index.mjs +18 -75
  27. package/data-panel/index.mjs +16 -63
  28. package/data-pay/index.mjs +20 -122
  29. package/data-price/index.mjs +18 -60
  30. package/data-progress/index.mjs +16 -67
  31. package/data-rotate/index.mjs +16 -66
  32. package/data-table-picker/index.mjs +25 -88
  33. package/data-tabs/index.mjs +16 -64
  34. package/dialog-form/index.mjs +48 -94
  35. package/dynamic-table/index.mjs +43 -127
  36. package/e-charts/index.mjs +21 -34
  37. package/easy-popup/index.mjs +35 -61
  38. package/editable-progress/index.mjs +22 -77
  39. package/editable-tree/index.mjs +235 -546
  40. package/egd-collapse/index.mjs +13 -26
  41. package/egd-collapse-item/index.mjs +27 -87
  42. package/element-dialog/index.mjs +69 -133
  43. package/empty-view/index.mjs +13 -33
  44. package/error-view/index.mjs +14 -34
  45. package/flex-column/index.mjs +15 -23
  46. package/flex-item/index.mjs +18 -26
  47. package/flex-row/index.mjs +23 -31
  48. package/flex-scroller/index.mjs +16 -27
  49. package/flow/index.mjs +70 -110
  50. package/flow-designer/index.mjs +1215 -4804
  51. package/flow-node/index.mjs +15 -51
  52. package/flow-viewer/index.mjs +64 -89
  53. package/form-block/index.mjs +43 -62
  54. package/form-button/index.mjs +10 -18
  55. package/form-cascader/index.mjs +49 -100
  56. package/form-checkbox-group/index.mjs +43 -110
  57. package/form-date-picker/index.mjs +51 -97
  58. package/form-holder/index.mjs +25 -42
  59. package/form-input/index.mjs +40 -90
  60. package/form-input-email/index.mjs +35 -79
  61. package/form-input-id-card/index.mjs +40 -87
  62. package/form-input-number/index.mjs +42 -102
  63. package/form-input-phone-number/index.mjs +34 -75
  64. package/form-input-tag/index.mjs +31 -73
  65. package/form-input-time/index.mjs +42 -87
  66. package/form-item/index.mjs +70 -89
  67. package/form-item-config-provider/index.mjs +12 -20
  68. package/form-item-group/index.mjs +46 -65
  69. package/form-radio-group/index.mjs +50 -108
  70. package/form-select/index.mjs +44 -95
  71. package/form-switch/index.mjs +38 -85
  72. package/form-textarea/index.mjs +31 -75
  73. package/form-view/index.mjs +112 -260
  74. package/fy-array/index.mjs +35 -121
  75. package/fy-article/index.mjs +12 -43
  76. package/fy-cascader/index.mjs +26 -67
  77. package/fy-checkbox/index.mjs +27 -77
  78. package/fy-code/index.mjs +19 -33
  79. package/fy-curd/index.mjs +810 -2017
  80. package/fy-date/index.mjs +18 -59
  81. package/fy-draggable/index.mjs +81 -140
  82. package/fy-dynamic/index.mjs +85 -204
  83. package/fy-empty/index.mjs +14 -35
  84. package/fy-form/index.mjs +254 -571
  85. package/fy-form-design/index.mjs +1489 -6084
  86. package/fy-form-design/style.css +1 -1
  87. package/fy-input/index.mjs +34 -104
  88. package/fy-input-color/index.mjs +22 -67
  89. package/fy-input-icon/index.mjs +37 -122
  90. package/fy-input-map/index.mjs +57 -149
  91. package/fy-input-number/index.mjs +18 -53
  92. package/fy-input-table/index.mjs +36 -102
  93. package/fy-input-tree/index.mjs +51 -138
  94. package/fy-progress/index.mjs +12 -31
  95. package/fy-radio/index.mjs +20 -51
  96. package/fy-rate/index.mjs +18 -51
  97. package/fy-select/index.mjs +49 -134
  98. package/fy-slider/index.mjs +19 -52
  99. package/fy-switch/index.mjs +18 -48
  100. package/fy-tabs/index.mjs +19 -51
  101. package/fy-time/index.mjs +22 -62
  102. package/fy-title/index.mjs +14 -25
  103. package/fy-tree/index.mjs +74 -216
  104. package/fy-u-editor/index.mjs +50 -64
  105. package/fy-upload/index.mjs +167 -338
  106. package/guide-steps/index.mjs +33 -53
  107. package/highlight-j-s/index.mjs +13 -27
  108. package/icon-card/index.mjs +12 -36
  109. package/icon-temp/index.mjs +12 -34
  110. package/iframe-window/index.mjs +13 -40
  111. package/image-cropper/index.mjs +46 -171
  112. package/image-preview/index.mjs +54 -168
  113. package/image-viewer/index.mjs +24 -50
  114. package/index.css +1 -0
  115. package/index.mjs +3973 -501
  116. package/input-number/index.mjs +84 -173
  117. package/input-number-range/index.mjs +20 -70
  118. package/j-s-x-component/index.mjs +3 -3
  119. package/keep-view-alive/index.mjs +47 -55
  120. package/keyboard/index.mjs +100 -113
  121. package/license/index.mjs +34 -51
  122. package/loading-view/index.mjs +14 -34
  123. package/login/index.mjs +33 -161
  124. package/monaco-editor/index.mjs +13 -21
  125. package/name-avatar/index.mjs +13 -32
  126. package/nav-bar/index.mjs +12 -31
  127. package/not-implement/index.mjs +14 -25
  128. package/notice/index.mjs +32 -80
  129. package/package.json +1 -1
  130. package/page/index.mjs +11 -23
  131. package/page-header/index.mjs +16 -37
  132. package/page-index/index.mjs +42 -93
  133. package/page-index-top/index.mjs +42 -84
  134. package/page-skeleton/index.mjs +24 -39
  135. package/page-skeleton-new/index.mjs +21 -68
  136. package/pageable-table/index.mjs +105 -227
  137. package/pageable-view/index.mjs +30 -83
  138. package/photo-swipe/index.mjs +62 -87
  139. package/present-view/index.mjs +114 -267
  140. package/queue/index.mjs +14 -29
  141. package/record-video/index.mjs +29 -66
  142. package/resize-observer/index.mjs +18 -30
  143. package/search/index.mjs +47 -81
  144. package/search-popover/index.mjs +57 -329
  145. package/sign/index.mjs +43 -60
  146. package/sign-panel/index.mjs +40 -151
  147. package/skeleton/index.mjs +18 -44
  148. package/split-pane/index.mjs +45 -129
  149. package/stateful/index.mjs +18 -26
  150. package/static-pageable-table/index.mjs +18 -44
  151. package/swiper/index.mjs +53 -94
  152. package/tab/index.mjs +13 -39
  153. package/tab-item/index.mjs +23 -37
  154. package/table-column/index.mjs +27 -35
  155. package/table-view/index.mjs +89 -209
  156. package/tag-render/index.mjs +34 -69
  157. package/text-ellipsis/index.mjs +22 -47
  158. package/tinymce-editor/index.mjs +174 -285
  159. package/toolbar/index.mjs +21 -42
  160. package/toolbar-button/index.mjs +25 -54
  161. package/verify/index.mjs +16 -29
  162. package/vue-cron/index.mjs +272 -1089
  163. package/vue-qr-code/index.mjs +19 -27
  164. package/vue-quill-editor/index.mjs +15 -27
  165. package/vue-tags-input/index.mjs +104 -224
  166. package/vue-tree-select/index.mjs +595 -742
  167. package/vue-video-player/index.mjs +42 -57
  168. package/watermark/index.mjs +27 -35
  169. package/web-types.json +1 -1
  170. package/x-input-tag/index.mjs +50 -112
  171. package/chunks/FormTemp.7f91629d.mjs +0 -165
  172. /package/chunks/{vueComponentNormalizer.446f5dc4.mjs → _plugin-vue2_normalizer.446f5dc4.mjs} +0 -0
@@ -1,94 +1,23 @@
1
- var l = Object.defineProperty;
1
+ var p = Object.defineProperty;
2
2
  var o = Object.getOwnPropertySymbols;
3
- var a = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
4
- var i = (e, r, t) => r in e ? l(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, u = (e, r) => {
5
- for (var t in r || (r = {}))
6
- a.call(r, t) && i(e, t, r[t]);
3
+ var s = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
4
+ var i = (r, e, t) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, u = (r, e) => {
5
+ for (var t in e || (e = {}))
6
+ s.call(e, t) && i(r, t, e[t]);
7
7
  if (o)
8
- for (var t of o(r))
9
- m.call(r, t) && i(e, t, r[t]);
10
- return e;
8
+ for (var t of o(e))
9
+ l.call(e, t) && i(r, t, e[t]);
10
+ return r;
11
11
  };
12
- import { f } from "../chunks/form-input-mixin.4632ad36.mjs";
13
- import { d as c, n as _ } from "../chunks/index.57f871af.mjs";
14
- import { i as d } from "../chunks/input-number-mixin.41a066be.mjs";
15
- import { n as y } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
16
- var b = function() {
17
- var e = this, r = e.$createElement, t = e._self._c || r;
18
- return t("FormItem", e._b({
19
- attrs: {
20
- rules: e.computeRules,
21
- disabled: e.inputDisabled
22
- },
23
- scopedSlots: e._u([{
24
- key: "default",
25
- fn: function() {
26
- return [t("InputNumber", e._g(e._b({
27
- staticClass: "form-input-number",
28
- attrs: {
29
- value: e.value,
30
- controls: !1,
31
- precision: e.precision,
32
- max: e.max,
33
- min: e.min,
34
- placeholder: e.computePlaceholder,
35
- disabled: e.inputDisabled
36
- },
37
- on: {
38
- input: function(n) {
39
- return e.$emit("input", n);
40
- }
41
- },
42
- scopedSlots: e._u([{
43
- key: "append",
44
- fn: function() {
45
- return [e._t("append")];
46
- },
47
- proxy: !0
48
- }, {
49
- key: "prefix",
50
- fn: function() {
51
- return [e._t("prefix")];
52
- },
53
- proxy: !0
54
- }, {
55
- key: "prepend",
56
- fn: function() {
57
- return [e._t("prepend")];
58
- },
59
- proxy: !0
60
- }, {
61
- key: "suffix",
62
- fn: function() {
63
- return [e._t("suffix")];
64
- },
65
- proxy: !0
66
- }], null, !0)
67
- }, "InputNumber", e.inputProps, !1), e.listeners))];
68
- },
69
- proxy: !0
70
- }, {
71
- key: "error",
72
- fn: function(n) {
73
- var p = n.error;
74
- return [e._t("error", null, {
75
- error: p
76
- })];
77
- }
78
- }, {
79
- key: "label",
80
- fn: function() {
81
- return [e._t("label")];
82
- },
83
- proxy: !0
84
- }], null, !0)
85
- }, "FormItem", e.formItemProps, !1));
86
- }, x = [];
87
- const v = Object.keys(d.props).filter(
88
- (e) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(e)
89
- ), I = {
12
+ import { f as a } from "../chunks/form-input-mixin.4632ad36.mjs";
13
+ import { d as m, n as f } from "../chunks/index.57f871af.mjs";
14
+ import { i as c } from "../chunks/input-number-mixin.41a066be.mjs";
15
+ import { n as _ } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
16
+ const d = Object.keys(c.props).filter(
17
+ (r) => !["value", "placeholder", "disabled", "precision", "max", "min"].includes(r)
18
+ ), y = {
90
19
  name: "FormInputNumber",
91
- mixins: [f],
20
+ mixins: [a],
92
21
  props: {
93
22
  value: {
94
23
  type: [String, Number]
@@ -103,34 +32,45 @@ const v = Object.keys(d.props).filter(
103
32
  },
104
33
  precision: {
105
34
  type: Number,
106
- validator(e) {
107
- return e >= 0 && e === parseInt(e, 10);
35
+ validator(r) {
36
+ return r >= 0 && r === parseInt(r, 10);
108
37
  }
109
38
  }
110
39
  },
111
40
  computed: {
112
41
  inputProps() {
113
- return c(u(u({}, _(this.$attrs)), this.$props), v);
42
+ return m(u(u({}, f(this.$attrs)), this.$props), d);
114
43
  }
115
44
  }
116
- }, s = {};
117
- var N = /* @__PURE__ */ y(
118
- I,
45
+ };
46
+ var b = function() {
47
+ var e = this, t = e._self._c;
48
+ return t("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
49
+ return [t("InputNumber", e._g(e._b({ staticClass: "form-input-number", attrs: { value: e.value, controls: !1, precision: e.precision, max: e.max, min: e.min, placeholder: e.computePlaceholder, disabled: e.inputDisabled }, on: { input: (n) => e.$emit("input", n) }, scopedSlots: e._u([{ key: "append", fn: function() {
50
+ return [e._t("append")];
51
+ }, proxy: !0 }, { key: "prefix", fn: function() {
52
+ return [e._t("prefix")];
53
+ }, proxy: !0 }, { key: "prepend", fn: function() {
54
+ return [e._t("prepend")];
55
+ }, proxy: !0 }, { key: "suffix", fn: function() {
56
+ return [e._t("suffix")];
57
+ }, proxy: !0 }], null, !0) }, "InputNumber", e.inputProps, !1), e.listeners))];
58
+ }, proxy: !0 }, { key: "error", fn: function({ error: n }) {
59
+ return [e._t("error", null, { error: n })];
60
+ } }, { key: "label", fn: function() {
61
+ return [e._t("label")];
62
+ }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
63
+ }, x = [], I = /* @__PURE__ */ _(
64
+ y,
119
65
  b,
120
66
  x,
121
67
  !1,
122
- h,
68
+ null,
123
69
  null,
124
70
  null,
125
71
  null
126
72
  );
127
- function h(e) {
128
- for (let r in s)
129
- this[r] = s[r];
130
- }
131
- const g = /* @__PURE__ */ function() {
132
- return N.exports;
133
- }();
73
+ const P = I.exports;
134
74
  export {
135
- g as default
75
+ P as default
136
76
  };
@@ -1,68 +1,24 @@
1
- var p = Object.defineProperty;
1
+ var a = Object.defineProperty;
2
2
  var o = Object.getOwnPropertySymbols;
3
- var m = Object.prototype.hasOwnProperty, d = Object.prototype.propertyIsEnumerable;
4
- var l = (e, t, r) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, n = (e, t) => {
5
- for (var r in t || (t = {}))
6
- m.call(t, r) && l(e, r, t[r]);
3
+ var i = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
4
+ var l = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, n = (t, e) => {
5
+ for (var r in e || (e = {}))
6
+ i.call(e, r) && l(t, r, e[r]);
7
7
  if (o)
8
- for (var r of o(t))
9
- d.call(t, r) && l(e, r, t[r]);
10
- return e;
8
+ for (var r of o(e))
9
+ p.call(e, r) && l(t, r, e[r]);
10
+ return t;
11
11
  };
12
- import { f as c } from "../chunks/form-input-mixin.4632ad36.mjs";
13
- import { validatePhoneNum as f } from "@web-utils/core";
14
- import { d as _, n as h } from "../chunks/index.57f871af.mjs";
12
+ import { f as m } from "../chunks/form-input-mixin.4632ad36.mjs";
13
+ import { validatePhoneNum as d } from "@web-utils/core";
14
+ import { d as f, n as c } from "../chunks/index.57f871af.mjs";
15
15
  import s from "element-ui/lib/input";
16
- import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
17
- var y = function() {
18
- var e = this, t = e.$createElement, r = e._self._c || t;
19
- return r("FormItem", e._b({
20
- attrs: {
21
- rules: e.computeRules,
22
- disabled: e.inputDisabled
23
- },
24
- scopedSlots: e._u([{
25
- key: "default",
26
- fn: function() {
27
- return [r("ElInput", e._g(e._b({
28
- class: {
29
- "is-readonly": e.readonly
30
- },
31
- attrs: {
32
- value: e.value,
33
- readonly: e.readonly,
34
- maxlength: e.maxLength,
35
- disabled: e.inputDisabled,
36
- placeholder: e.computePlaceholder
37
- },
38
- on: {
39
- input: e.emitInput
40
- }
41
- }, "ElInput", e.inputProps, !1), e.listeners))];
42
- },
43
- proxy: !0
44
- }, {
45
- key: "error",
46
- fn: function(a) {
47
- var i = a.error;
48
- return [e._t("error", null, {
49
- error: i
50
- })];
51
- }
52
- }, {
53
- key: "label",
54
- fn: function() {
55
- return [e._t("label")];
56
- },
57
- proxy: !0
58
- }], null, !0)
59
- }, "FormItem", e.formItemProps, !1));
60
- }, b = [];
61
- const I = Object.keys(s.props || s.default.props).filter(
62
- (e) => !["value", "placeholder", "disabled"].includes(e)
63
- ), x = {
16
+ import { n as _ } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
17
+ const h = Object.keys(s.props || s.default.props).filter(
18
+ (t) => !["value", "placeholder", "disabled"].includes(t)
19
+ ), y = {
64
20
  name: "FormInputPhoneNumber",
65
- mixins: [c],
21
+ mixins: [m],
66
22
  props: {
67
23
  value: {
68
24
  type: String
@@ -74,40 +30,43 @@ const I = Object.keys(s.props || s.default.props).filter(
74
30
  },
75
31
  computed: {
76
32
  inputProps() {
77
- return _(n(n({}, h(this.$attrs)), this.$props), I);
33
+ return f(n(n({}, c(this.$attrs)), this.$props), h);
78
34
  }
79
35
  },
80
36
  methods: {
81
37
  getRules() {
82
38
  return [
83
39
  {
84
- validator: f,
40
+ validator: d,
85
41
  message: "请输入正确的手机号码!"
86
42
  }
87
43
  ];
88
44
  },
89
- emitInput(e) {
90
- this.$emit("input", e);
45
+ emitInput(t) {
46
+ this.$emit("input", t);
91
47
  }
92
48
  }
93
- }, u = {};
94
- var P = /* @__PURE__ */ v(
95
- x,
49
+ };
50
+ var b = function() {
51
+ var e = this, r = e._self._c;
52
+ return r("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
53
+ 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))];
54
+ }, proxy: !0 }, { key: "error", fn: function({ error: u }) {
55
+ return [e._t("error", null, { error: u })];
56
+ } }, { key: "label", fn: function() {
57
+ return [e._t("label")];
58
+ }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
59
+ }, v = [], I = /* @__PURE__ */ _(
96
60
  y,
97
61
  b,
62
+ v,
98
63
  !1,
99
- g,
64
+ null,
100
65
  null,
101
66
  null,
102
67
  null
103
68
  );
104
- function g(e) {
105
- for (let t in u)
106
- this[t] = u[t];
107
- }
108
- const R = /* @__PURE__ */ function() {
109
- return P.exports;
110
- }();
69
+ const R = I.exports;
111
70
  export {
112
71
  R as default
113
72
  };
@@ -1,70 +1,25 @@
1
- var p = Object.defineProperty;
1
+ var s = Object.defineProperty;
2
2
  var a = Object.getOwnPropertySymbols;
3
- var c = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
4
- var l = (e, r, t) => r in e ? p(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, n = (e, r) => {
5
- for (var t in r || (r = {}))
6
- c.call(r, t) && l(e, t, r[t]);
3
+ var p = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
4
+ var l = (t, e, r) => e in t ? s(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, n = (t, e) => {
5
+ for (var r in e || (e = {}))
6
+ p.call(e, r) && l(t, r, e[r]);
7
7
  if (a)
8
- for (var t of a(r))
9
- m.call(r, t) && l(e, t, r[t]);
10
- return e;
8
+ for (var r of a(e))
9
+ i.call(e, r) && l(t, r, e[r]);
10
+ return t;
11
11
  };
12
- import { f as d } from "../chunks/form-input-mixin.4632ad36.mjs";
13
- import { d as f, n as _ } from "../chunks/index.57f871af.mjs";
14
- import s from "@web-utils/component/x-input-tag";
12
+ import { f as m } from "../chunks/form-input-mixin.4632ad36.mjs";
13
+ import { d, n as c } from "../chunks/index.57f871af.mjs";
14
+ import u from "@web-utils/component/x-input-tag";
15
15
  import "@web-utils/component/x-input-tag/style.css";
16
- import { n as y } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
17
- var b = function() {
18
- var e = this, r = e.$createElement, t = e._self._c || r;
19
- return t("FormItem", e._b({
20
- attrs: {
21
- block: e.block,
22
- rules: e.computeRules,
23
- disabled: e.inputDisabled
24
- },
25
- scopedSlots: e._u([{
26
- key: "default",
27
- fn: function() {
28
- return [t("XInputTag", e._g(e._b({
29
- attrs: {
30
- value: e.value,
31
- readonly: e.readonly,
32
- disabled: e.inputDisabled,
33
- placeholder: e.computePlaceholder,
34
- "array-mode": e.arrayMode,
35
- "object-mode": e.objectMode
36
- },
37
- on: {
38
- input: function(o) {
39
- return e.$emit("input", o);
40
- }
41
- }
42
- }, "XInputTag", e.inputProps, !1), e.listeners))];
43
- },
44
- proxy: !0
45
- }, {
46
- key: "error",
47
- fn: function(o) {
48
- var i = o.error;
49
- return [e._t("error", null, {
50
- error: i
51
- })];
52
- }
53
- }, {
54
- key: "label",
55
- fn: function() {
56
- return [e._t("label")];
57
- },
58
- proxy: !0
59
- }], null, !0)
60
- }, "FormItem", e.formItemProps, !1));
61
- }, v = [];
62
- const I = Object.keys(s.props).filter((e) => !["value", "placeholder", "disabled"].includes(e)), h = {
16
+ import { n as f } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
17
+ const _ = Object.keys(u.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), b = {
63
18
  name: "FormInputTag",
64
19
  components: {
65
- XInputTag: s
20
+ XInputTag: u
66
21
  },
67
- mixins: [d],
22
+ mixins: [m],
68
23
  props: {
69
24
  value: [Array, String],
70
25
  block: {
@@ -82,27 +37,30 @@ const I = Object.keys(s.props).filter((e) => !["value", "placeholder", "disabled
82
37
  },
83
38
  computed: {
84
39
  inputProps() {
85
- return f(n(n({}, _(this.$attrs)), this.$props), I);
40
+ return d(n(n({}, c(this.$attrs)), this.$props), _);
86
41
  }
87
42
  }
88
- }, u = {};
89
- var g = /* @__PURE__ */ y(
90
- h,
43
+ };
44
+ var y = function() {
45
+ var e = this, r = e._self._c;
46
+ return r("FormItem", e._b({ attrs: { block: e.block, rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
47
+ return [r("XInputTag", e._g(e._b({ attrs: { value: e.value, readonly: e.readonly, disabled: e.inputDisabled, placeholder: e.computePlaceholder, "array-mode": e.arrayMode, "object-mode": e.objectMode }, on: { input: (o) => e.$emit("input", o) } }, "XInputTag", e.inputProps, !1), e.listeners))];
48
+ }, proxy: !0 }, { key: "error", fn: function({ error: o }) {
49
+ return [e._t("error", null, { error: o })];
50
+ } }, { key: "label", fn: function() {
51
+ return [e._t("label")];
52
+ }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
53
+ }, v = [], I = /* @__PURE__ */ f(
91
54
  b,
55
+ y,
92
56
  v,
93
57
  !1,
94
- k,
58
+ null,
95
59
  null,
96
60
  null,
97
61
  null
98
62
  );
99
- function k(e) {
100
- for (let r in u)
101
- this[r] = u[r];
102
- }
103
- const B = /* @__PURE__ */ function() {
104
- return g.exports;
105
- }();
63
+ const M = I.exports;
106
64
  export {
107
- B as default
65
+ M as default
108
66
  };
@@ -1,78 +1,23 @@
1
- var m = Object.defineProperty;
2
- var o = Object.getOwnPropertySymbols;
3
- var p = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
4
- var i = (e, t, r) => t in e ? m(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, a = (e, t) => {
5
- for (var r in t || (t = {}))
6
- p.call(t, r) && i(e, r, t[r]);
7
- if (o)
8
- for (var r of o(t))
9
- c.call(t, r) && i(e, r, t[r]);
10
- return e;
1
+ var s = Object.defineProperty;
2
+ var l = Object.getOwnPropertySymbols;
3
+ var m = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
4
+ var i = (r, e, t) => e in r ? s(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, a = (r, e) => {
5
+ for (var t in e || (e = {}))
6
+ m.call(e, t) && i(r, t, e[t]);
7
+ if (l)
8
+ for (var t of l(e))
9
+ p.call(e, t) && i(r, t, e[t]);
10
+ return r;
11
11
  };
12
- import { f } from "../chunks/form-input-mixin.4632ad36.mjs";
13
- import l from "element-ui/lib/time-picker";
14
- import { d, n as _ } from "../chunks/index.57f871af.mjs";
15
- import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
16
- var y = function() {
17
- var e = this, t = e.$createElement, r = e._self._c || t;
18
- return r("FormItem", e._b({
19
- attrs: {
20
- rules: e.computeRules,
21
- disabled: e.inputDisabled
22
- },
23
- scopedSlots: e._u([{
24
- key: "default",
25
- fn: function() {
26
- return [r("ElTimePicker", e._g(e._b({
27
- attrs: {
28
- "is-range": e.range,
29
- value: e.value,
30
- disabled: e.inputDisabled,
31
- format: e.format,
32
- "value-format": e.valueFormat || e.format,
33
- clearable: "",
34
- "picker-options": {
35
- start: e.start,
36
- end: e.end,
37
- step: e.step,
38
- minTime: e.minTime,
39
- maxTime: e.maxTime,
40
- selectableRange: e.selectableRange
41
- },
42
- "start-placeholder": "开始时间",
43
- "end-placeholder": "结束时间",
44
- placeholder: e.computePlaceholder
45
- },
46
- on: {
47
- input: function(n) {
48
- return e.$emit("input", n);
49
- }
50
- }
51
- }, "ElTimePicker", e.inputProps, !1), e.listeners))];
52
- },
53
- proxy: !0
54
- }, {
55
- key: "error",
56
- fn: function(n) {
57
- var u = n.error;
58
- return [e._t("error", null, {
59
- error: u
60
- })];
61
- }
62
- }, {
63
- key: "label",
64
- fn: function() {
65
- return [e._t("label")];
66
- },
67
- proxy: !0
68
- }], null, !0)
69
- }, "FormItem", e.formItemProps, !1));
70
- }, g = [];
71
- const b = Object.keys(l.props || l.default.props).filter(
72
- (e) => !["value", "placeholder", "disabled"].includes(e)
73
- ), x = {
12
+ import { f as u } from "../chunks/form-input-mixin.4632ad36.mjs";
13
+ import o from "element-ui/lib/time-picker";
14
+ import { d as f, n as d } from "../chunks/index.57f871af.mjs";
15
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
16
+ const _ = Object.keys(o.props || o.default.props).filter(
17
+ (r) => !["value", "placeholder", "disabled"].includes(r)
18
+ ), g = {
74
19
  name: "FormInputTime",
75
- mixins: [f],
20
+ mixins: [u],
76
21
  props: {
77
22
  range: Boolean,
78
23
  format: {
@@ -111,27 +56,37 @@ const b = Object.keys(l.props || l.default.props).filter(
111
56
  return "请选择";
112
57
  },
113
58
  inputProps() {
114
- return d(a(a({}, _(this.$attrs)), this.$props), b);
59
+ return f(a(a({}, d(this.$attrs)), this.$props), _);
115
60
  }
116
61
  }
117
- }, s = {};
118
- var T = /* @__PURE__ */ v(
119
- x,
120
- y,
62
+ };
63
+ var y = function() {
64
+ var e = this, t = e._self._c;
65
+ return t("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
66
+ return [t("ElTimePicker", e._g(e._b({ attrs: { "is-range": e.range, value: e.value, disabled: e.inputDisabled, format: e.format, "value-format": e.valueFormat || e.format, clearable: "", "picker-options": {
67
+ start: e.start,
68
+ end: e.end,
69
+ step: e.step,
70
+ minTime: e.minTime,
71
+ maxTime: e.maxTime,
72
+ selectableRange: e.selectableRange
73
+ }, "start-placeholder": "开始时间", "end-placeholder": "结束时间", placeholder: e.computePlaceholder }, on: { input: (n) => e.$emit("input", n) } }, "ElTimePicker", e.inputProps, !1), e.listeners))];
74
+ }, proxy: !0 }, { key: "error", fn: function({ error: n }) {
75
+ return [e._t("error", null, { error: n })];
76
+ } }, { key: "label", fn: function() {
77
+ return [e._t("label")];
78
+ }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
79
+ }, b = [], v = /* @__PURE__ */ c(
121
80
  g,
81
+ y,
82
+ b,
122
83
  !1,
123
- h,
84
+ null,
124
85
  null,
125
86
  null,
126
87
  null
127
88
  );
128
- function h(e) {
129
- for (let t in s)
130
- this[t] = s[t];
131
- }
132
- const R = /* @__PURE__ */ function() {
133
- return T.exports;
134
- }();
89
+ const k = v.exports;
135
90
  export {
136
- R as default
91
+ k as default
137
92
  };