@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,84 +1,24 @@
1
- var p = Object.defineProperty;
2
- var s = Object.getOwnPropertySymbols;
3
- var c = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
4
- var o = (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) && o(e, t, r[t]);
7
- if (s)
8
- for (var t of s(r))
9
- f.call(r, t) && o(e, t, r[t]);
10
- return e;
1
+ var a = Object.defineProperty;
2
+ var n = Object.getOwnPropertySymbols;
3
+ var u = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
4
+ var s = (l, e, t) => e in l ? a(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, i = (l, e) => {
5
+ for (var t in e || (e = {}))
6
+ u.call(e, t) && s(l, t, e[t]);
7
+ if (n)
8
+ for (var t of n(e))
9
+ p.call(e, t) && s(l, t, e[t]);
10
+ return l;
11
11
  };
12
- import { f as h } from "../chunks/form-input-mixin.4632ad36.mjs";
13
- import { f as m } from "../chunks/form-pick-mixin.61ad06b2.mjs";
14
- import a from "element-ui/lib/select";
15
- import { d as y, n as d } from "../chunks/index.57f871af.mjs";
16
- import { n as _ } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
17
- var v = function() {
18
- var e = this, r = e.$createElement, t = e._self._c || r;
19
- return t("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 [t("ElSelect", e._g(e._b({
28
- attrs: {
29
- value: e.value,
30
- filterable: e.filterable,
31
- placeholder: e.inputDisabled ? "--" : e.computePlaceholder,
32
- disabled: e.inputDisabled
33
- },
34
- on: {
35
- input: e.emitInput
36
- }
37
- }, "ElSelect", e.inputProps, !1), e.listeners), e._l(e.innerOptions, function(l) {
38
- return t("ElOption", {
39
- key: l[e.valueKey],
40
- attrs: {
41
- value: l[e.valueKey],
42
- label: l[e.labelKey]
43
- }
44
- });
45
- }), 1), e.$slots.warn ? t("div", {
46
- staticClass: "el-form-item__warn"
47
- }, [e._t("warn")], 2) : e._e()];
48
- },
49
- proxy: !0
50
- }, {
51
- key: "error",
52
- fn: function(l) {
53
- var i = l.error;
54
- return [e.$scopedSlots.error && e.$scopedSlots.error(i) ? t("div", {
55
- staticClass: "el-form-item__error"
56
- }, [e._t("error", function() {
57
- return [e._v(" " + e._s(i) + " ")];
58
- }, {
59
- error: i
60
- })], 2) : e._e()];
61
- }
62
- }, {
63
- key: "label",
64
- fn: function() {
65
- return [e._t("label")];
66
- },
67
- proxy: !0
68
- }, {
69
- key: "below",
70
- fn: function() {
71
- return [e._t("below")];
72
- },
73
- proxy: !0
74
- }], null, !0)
75
- }, "FormItem", e.formItemProps, !1));
76
- }, b = [];
77
- const K = Object.keys(a.props || a.default.props).filter(
78
- (e) => !["value", "placeholder", "disabled"].includes(e)
79
- ), g = {
12
+ import { f as c } from "../chunks/form-input-mixin.4632ad36.mjs";
13
+ import { f } from "../chunks/form-pick-mixin.61ad06b2.mjs";
14
+ import o from "element-ui/lib/select";
15
+ import { d as h, n as m } from "../chunks/index.57f871af.mjs";
16
+ import { n as y } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
17
+ const d = Object.keys(o.props || o.default.props).filter(
18
+ (l) => !["value", "placeholder", "disabled"].includes(l)
19
+ ), _ = {
80
20
  name: "FormSelect",
81
- mixins: [h, m],
21
+ mixins: [c, f],
82
22
  props: {
83
23
  options: {
84
24
  type: Array,
@@ -115,7 +55,7 @@ const K = Object.keys(a.props || a.default.props).filter(
115
55
  return this.classic ? "value" : this.valueProp;
116
56
  },
117
57
  inputProps() {
118
- return y(n(n({}, d(this.$attrs)), this.$props), K);
58
+ return h(i(i({}, m(this.$attrs)), this.$props), d);
119
59
  },
120
60
  innerOptions() {
121
61
  return this.gender ? [
@@ -140,28 +80,37 @@ const K = Object.keys(a.props || a.default.props).filter(
140
80
  }
141
81
  },
142
82
  methods: {
143
- emitInput(e) {
144
- this.$emit("input", e);
83
+ emitInput(l) {
84
+ this.$emit("input", l);
145
85
  }
146
86
  }
147
- }, u = {};
148
- var S = /* @__PURE__ */ _(
149
- g,
150
- v,
87
+ };
88
+ var b = function() {
89
+ var e = this, t = e._self._c;
90
+ return t("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
91
+ return [t("ElSelect", e._g(e._b({ attrs: { value: e.value, filterable: e.filterable, placeholder: e.inputDisabled ? "--" : e.computePlaceholder, disabled: e.inputDisabled }, on: { input: e.emitInput } }, "ElSelect", e.inputProps, !1), e.listeners), e._l(e.innerOptions, function(r) {
92
+ return t("ElOption", { key: r[e.valueKey], attrs: { value: r[e.valueKey], label: r[e.labelKey] } });
93
+ }), 1), e.$slots.warn ? t("div", { staticClass: "el-form-item__warn" }, [e._t("warn")], 2) : e._e()];
94
+ }, proxy: !0 }, { key: "error", fn: function({ error: r }) {
95
+ return [e.$scopedSlots.error && e.$scopedSlots.error(r) ? t("div", { staticClass: "el-form-item__error" }, [e._t("error", function() {
96
+ return [e._v(" " + e._s(r) + " ")];
97
+ }, { error: r })], 2) : e._e()];
98
+ } }, { key: "label", fn: function() {
99
+ return [e._t("label")];
100
+ }, proxy: !0 }, { key: "below", fn: function() {
101
+ return [e._t("below")];
102
+ }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
103
+ }, v = [], K = /* @__PURE__ */ y(
104
+ _,
151
105
  b,
106
+ v,
152
107
  !1,
153
- P,
108
+ null,
154
109
  null,
155
110
  null,
156
111
  null
157
112
  );
158
- function P(e) {
159
- for (let r in u)
160
- this[r] = u[r];
161
- }
162
- const F = /* @__PURE__ */ function() {
163
- return S.exports;
164
- }();
113
+ const I = K.exports;
165
114
  export {
166
- F as default
115
+ I as default
167
116
  };
@@ -1,77 +1,23 @@
1
- var p = Object.defineProperty;
1
+ var i = Object.defineProperty;
2
2
  var o = Object.getOwnPropertySymbols;
3
- var c = Object.prototype.hasOwnProperty, m = 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
- c.call(t, r) && l(e, r, t[r]);
3
+ var a = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
4
+ var l = (r, e, t) => e in r ? i(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, n = (r, e) => {
5
+ for (var t in e || (e = {}))
6
+ a.call(e, t) && l(r, t, e[t]);
7
7
  if (o)
8
- for (var r of o(t))
9
- m.call(t, r) && l(e, r, t[r]);
10
- return e;
8
+ for (var t of o(e))
9
+ p.call(e, t) && l(r, t, e[t]);
10
+ return r;
11
11
  };
12
- import { f as d } from "../chunks/form-input-mixin.4632ad36.mjs";
12
+ import { f as c } from "../chunks/form-input-mixin.4632ad36.mjs";
13
13
  import s from "element-ui/lib/switch";
14
- import { d as f, n as _ } from "../chunks/index.57f871af.mjs";
15
- import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
16
- var h = 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 [e._t("default", function() {
27
- return [r("ElSwitch", e._g(e._b({
28
- class: {
29
- "is-readonly": e.readonly
30
- },
31
- attrs: {
32
- "active-value": "Y",
33
- "inactive-value": "N",
34
- value: e.value,
35
- readonly: e.readonly,
36
- disabled: e.inputDisabled,
37
- placeholder: e.computePlaceholder
38
- },
39
- on: {
40
- input: e.emitInput
41
- },
42
- scopedSlots: e._u([{
43
- key: "append",
44
- fn: function() {
45
- return [e._t("append")];
46
- },
47
- proxy: !0
48
- }], null, !0)
49
- }, "ElSwitch", e.inputProps, !1), e.listeners))];
50
- })];
51
- },
52
- proxy: !0
53
- }, {
54
- key: "error",
55
- fn: function(i) {
56
- var a = i.error;
57
- return [e._t("error", null, {
58
- error: a
59
- })];
60
- }
61
- }, {
62
- key: "label",
63
- fn: function() {
64
- return [e._t("label")];
65
- },
66
- proxy: !0
67
- }], null, !0)
68
- }, "FormItem", e.formItemProps, !1));
69
- }, y = [];
70
- const b = Object.keys(s.props || s.default.props).filter(
71
- (e) => !["value", "placeholder", "disabled"].includes(e)
72
- ), S = {
14
+ import { d as m, n as d } from "../chunks/index.57f871af.mjs";
15
+ import { n as f } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
16
+ const _ = Object.keys(s.props || s.default.props).filter(
17
+ (r) => !["value", "placeholder", "disabled"].includes(r)
18
+ ), y = {
73
19
  name: "FormSwitch",
74
- mixins: [d],
20
+ mixins: [c],
75
21
  props: {
76
22
  value: {
77
23
  type: [String, Number, Boolean]
@@ -79,32 +25,39 @@ const b = Object.keys(s.props || s.default.props).filter(
79
25
  },
80
26
  computed: {
81
27
  inputProps() {
82
- return f(n(n({}, _(this.$attrs)), this.$props), b);
28
+ return m(n(n({}, d(this.$attrs)), this.$props), _);
83
29
  }
84
30
  },
85
31
  methods: {
86
- emitInput(e) {
87
- this.$emit("input", e);
32
+ emitInput(r) {
33
+ this.$emit("input", r);
88
34
  }
89
35
  }
90
- }, u = {};
91
- var x = /* @__PURE__ */ v(
92
- S,
93
- h,
36
+ };
37
+ var h = function() {
38
+ var e = this, t = e._self._c;
39
+ return t("FormItem", e._b({ attrs: { rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
40
+ return [e._t("default", function() {
41
+ return [t("ElSwitch", e._g(e._b({ class: { "is-readonly": e.readonly }, attrs: { "active-value": "Y", "inactive-value": "N", value: e.value, readonly: e.readonly, disabled: e.inputDisabled, placeholder: e.computePlaceholder }, on: { input: e.emitInput }, scopedSlots: e._u([{ key: "append", fn: function() {
42
+ return [e._t("append")];
43
+ }, proxy: !0 }], null, !0) }, "ElSwitch", e.inputProps, !1), e.listeners))];
44
+ })];
45
+ }, proxy: !0 }, { key: "error", fn: function({ error: u }) {
46
+ return [e._t("error", null, { error: u })];
47
+ } }, { key: "label", fn: function() {
48
+ return [e._t("label")];
49
+ }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
50
+ }, v = [], b = /* @__PURE__ */ f(
94
51
  y,
52
+ h,
53
+ v,
95
54
  !1,
96
- I,
55
+ null,
97
56
  null,
98
57
  null,
99
58
  null
100
59
  );
101
- function I(e) {
102
- for (let t in u)
103
- this[t] = u[t];
104
- }
105
- const E = /* @__PURE__ */ function() {
106
- return x.exports;
107
- }();
60
+ const w = b.exports;
108
61
  export {
109
- E as default
62
+ w as default
110
63
  };
@@ -1,70 +1,23 @@
1
- var p = Object.defineProperty;
1
+ var i = Object.defineProperty;
2
2
  var l = Object.getOwnPropertySymbols;
3
- var m = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
4
- var s = (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) && s(e, r, t[r]);
3
+ var u = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
4
+ var s = (t, e, r) => e in t ? i(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, n = (t, e) => {
5
+ for (var r in e || (e = {}))
6
+ u.call(e, r) && s(t, r, e[r]);
7
7
  if (l)
8
- for (var r of l(t))
9
- c.call(t, r) && s(e, r, t[r]);
10
- return e;
8
+ for (var r of l(e))
9
+ p.call(e, r) && s(t, r, e[r]);
10
+ return t;
11
11
  };
12
- import { f } from "../chunks/form-input-mixin.4632ad36.mjs";
13
- import { d, n as _ } from "../chunks/index.57f871af.mjs";
12
+ import { f as m } from "../chunks/form-input-mixin.4632ad36.mjs";
13
+ import { d as f, n as d } from "../chunks/index.57f871af.mjs";
14
14
  import a from "element-ui/lib/input";
15
- import { n as h } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
16
- var x = function() {
17
- var e = this, t = e.$createElement, r = e._self._c || t;
18
- return r("FormItem", e._b({
19
- attrs: {
20
- block: e.block,
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
- attrs: {
29
- value: e.value,
30
- type: "textarea",
31
- rows: e.rows,
32
- resize: e.resize ? null : "none",
33
- "show-word-limit": e.showWordLimit,
34
- disabled: e.inputDisabled,
35
- maxlength: e.maxLength,
36
- placeholder: e.computePlaceholder
37
- },
38
- on: {
39
- input: function(o) {
40
- return e.$emit("input", o);
41
- }
42
- }
43
- }, "ElInput", e.inputProps, !1), e.listeners))];
44
- },
45
- proxy: !0
46
- }, {
47
- key: "error",
48
- fn: function(o) {
49
- var i = o.error;
50
- return [e._t("error", null, {
51
- error: i
52
- })];
53
- }
54
- }, {
55
- key: "label",
56
- fn: function() {
57
- return [e._t("label")];
58
- },
59
- proxy: !0
60
- }], null, !0)
61
- }, "FormItem", e.formItemProps, !1));
62
- }, y = [];
63
- const v = Object.keys(a.props || a.default.props).filter(
64
- (e) => !["value", "placeholder", "type", "rows", "resize", "showWordLimit", "maxLength", "maxlength"].includes(e)
65
- ), b = {
15
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
16
+ const _ = Object.keys(a.props || a.default.props).filter(
17
+ (t) => !["value", "placeholder", "type", "rows", "resize", "showWordLimit", "maxLength", "maxlength"].includes(t)
18
+ ), h = {
66
19
  name: "FormTextarea",
67
- mixins: [f],
20
+ mixins: [m],
68
21
  props: {
69
22
  value: {
70
23
  type: [String, Number]
@@ -89,27 +42,30 @@ const v = Object.keys(a.props || a.default.props).filter(
89
42
  },
90
43
  computed: {
91
44
  inputProps() {
92
- return d(n(n({}, _(this.$attrs)), this.$props), v);
45
+ return f(n(n({}, d(this.$attrs)), this.$props), _);
93
46
  }
94
47
  }
95
- }, u = {};
96
- var g = /* @__PURE__ */ h(
97
- b,
48
+ };
49
+ var x = function() {
50
+ var e = this, r = e._self._c;
51
+ return r("FormItem", e._b({ attrs: { block: e.block, rules: e.computeRules, disabled: e.inputDisabled }, scopedSlots: e._u([{ key: "default", fn: function() {
52
+ return [r("ElInput", e._g(e._b({ attrs: { value: e.value, type: "textarea", rows: e.rows, resize: e.resize ? null : "none", "show-word-limit": e.showWordLimit, disabled: e.inputDisabled, maxlength: e.maxLength, placeholder: e.computePlaceholder }, on: { input: (o) => e.$emit("input", o) } }, "ElInput", e.inputProps, !1), e.listeners))];
53
+ }, proxy: !0 }, { key: "error", fn: function({ error: o }) {
54
+ return [e._t("error", null, { error: o })];
55
+ } }, { key: "label", fn: function() {
56
+ return [e._t("label")];
57
+ }, proxy: !0 }], null, !0) }, "FormItem", e.formItemProps, !1));
58
+ }, y = [], b = /* @__PURE__ */ c(
59
+ h,
98
60
  x,
99
61
  y,
100
62
  !1,
101
- w,
63
+ null,
102
64
  null,
103
65
  null,
104
66
  null
105
67
  );
106
- function w(e) {
107
- for (let t in u)
108
- this[t] = u[t];
109
- }
110
- const F = /* @__PURE__ */ function() {
111
- return g.exports;
112
- }();
68
+ const z = b.exports;
113
69
  export {
114
- F as default
70
+ z as default
115
71
  };