@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.
- package/address-input/index.mjs +20 -57
- package/affix/index.mjs +26 -47
- package/aside-menu/index.mjs +18 -43
- package/avatar/index.mjs +27 -49
- package/awesome-button/index.mjs +35 -43
- package/capsule-tab/index.mjs +16 -34
- package/card/index.mjs +21 -76
- package/carousel/index.mjs +14 -49
- package/chat/index.mjs +104 -414
- package/chunk-file-uploader/index.mjs +21 -38
- package/chunks/FormTemp.aa57efb4.mjs +125 -0
- package/code-mirror-editor/index.mjs +69 -79
- package/color-picker/index.mjs +29 -60
- package/comment/index.mjs +17 -48
- package/confirm-button/index.mjs +11 -19
- package/confirmable/index.mjs +12 -20
- package/context-menu/index.mjs +42 -144
- package/count-up/index.mjs +18 -25
- package/custom-scrollbar/index.mjs +13 -22
- package/data-box/index.mjs +15 -66
- package/data-card/index.mjs +16 -65
- package/data-cardtext/index.mjs +16 -52
- package/data-display/index.mjs +18 -62
- package/data-icons/index.mjs +16 -68
- package/data-imgtext/index.mjs +18 -79
- package/data-operatext/index.mjs +18 -75
- package/data-panel/index.mjs +16 -63
- package/data-pay/index.mjs +20 -122
- package/data-price/index.mjs +18 -60
- package/data-progress/index.mjs +16 -67
- package/data-rotate/index.mjs +16 -66
- package/data-table-picker/index.mjs +25 -88
- package/data-tabs/index.mjs +16 -64
- package/dialog-form/index.mjs +48 -94
- package/dynamic-table/index.mjs +43 -127
- package/e-charts/index.mjs +21 -34
- package/easy-popup/index.mjs +35 -61
- package/editable-progress/index.mjs +22 -77
- package/editable-tree/index.mjs +235 -546
- package/egd-collapse/index.mjs +13 -26
- package/egd-collapse-item/index.mjs +27 -87
- package/element-dialog/index.mjs +69 -133
- package/empty-view/index.mjs +13 -33
- package/error-view/index.mjs +14 -34
- package/flex-column/index.mjs +15 -23
- package/flex-item/index.mjs +18 -26
- package/flex-row/index.mjs +23 -31
- package/flex-scroller/index.mjs +16 -27
- package/flow/index.mjs +70 -110
- package/flow-designer/index.mjs +1215 -4804
- package/flow-node/index.mjs +15 -51
- package/flow-viewer/index.mjs +64 -89
- package/form-block/index.mjs +43 -62
- package/form-button/index.mjs +10 -18
- package/form-cascader/index.mjs +49 -100
- package/form-checkbox-group/index.mjs +43 -110
- package/form-date-picker/index.mjs +51 -97
- package/form-holder/index.mjs +25 -42
- package/form-input/index.mjs +40 -90
- package/form-input-email/index.mjs +35 -79
- package/form-input-id-card/index.mjs +40 -87
- package/form-input-number/index.mjs +42 -102
- package/form-input-phone-number/index.mjs +34 -75
- package/form-input-tag/index.mjs +31 -73
- package/form-input-time/index.mjs +42 -87
- package/form-item/index.mjs +70 -89
- package/form-item-config-provider/index.mjs +12 -20
- package/form-item-group/index.mjs +46 -65
- package/form-radio-group/index.mjs +50 -108
- package/form-select/index.mjs +44 -95
- package/form-switch/index.mjs +38 -85
- package/form-textarea/index.mjs +31 -75
- package/form-view/index.mjs +112 -260
- package/fy-array/index.mjs +35 -121
- package/fy-article/index.mjs +12 -43
- package/fy-cascader/index.mjs +26 -67
- package/fy-checkbox/index.mjs +27 -77
- package/fy-code/index.mjs +19 -33
- package/fy-curd/index.mjs +810 -2017
- package/fy-date/index.mjs +18 -59
- package/fy-draggable/index.mjs +81 -140
- package/fy-dynamic/index.mjs +85 -204
- package/fy-empty/index.mjs +14 -35
- package/fy-form/index.mjs +254 -571
- package/fy-form-design/index.mjs +1489 -6084
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +34 -104
- package/fy-input-color/index.mjs +22 -67
- package/fy-input-icon/index.mjs +37 -122
- package/fy-input-map/index.mjs +57 -149
- package/fy-input-number/index.mjs +18 -53
- package/fy-input-table/index.mjs +36 -102
- package/fy-input-tree/index.mjs +51 -138
- package/fy-progress/index.mjs +12 -31
- package/fy-radio/index.mjs +20 -51
- package/fy-rate/index.mjs +18 -51
- package/fy-select/index.mjs +49 -134
- package/fy-slider/index.mjs +19 -52
- package/fy-switch/index.mjs +18 -48
- package/fy-tabs/index.mjs +19 -51
- package/fy-time/index.mjs +22 -62
- package/fy-title/index.mjs +14 -25
- package/fy-tree/index.mjs +74 -216
- package/fy-u-editor/index.mjs +50 -64
- package/fy-upload/index.mjs +167 -338
- package/guide-steps/index.mjs +33 -53
- package/highlight-j-s/index.mjs +13 -27
- package/icon-card/index.mjs +12 -36
- package/icon-temp/index.mjs +12 -34
- package/iframe-window/index.mjs +13 -40
- package/image-cropper/index.mjs +46 -171
- package/image-preview/index.mjs +54 -168
- package/image-viewer/index.mjs +24 -50
- package/index.css +1 -0
- package/index.mjs +3973 -501
- package/input-number/index.mjs +84 -173
- package/input-number-range/index.mjs +20 -70
- package/j-s-x-component/index.mjs +3 -3
- package/keep-view-alive/index.mjs +47 -55
- package/keyboard/index.mjs +100 -113
- package/license/index.mjs +34 -51
- package/loading-view/index.mjs +14 -34
- package/login/index.mjs +33 -161
- package/monaco-editor/index.mjs +13 -21
- package/name-avatar/index.mjs +13 -32
- package/nav-bar/index.mjs +12 -31
- package/not-implement/index.mjs +14 -25
- package/notice/index.mjs +32 -80
- package/package.json +1 -1
- package/page/index.mjs +11 -23
- package/page-header/index.mjs +16 -37
- package/page-index/index.mjs +42 -93
- package/page-index-top/index.mjs +42 -84
- package/page-skeleton/index.mjs +24 -39
- package/page-skeleton-new/index.mjs +21 -68
- package/pageable-table/index.mjs +105 -227
- package/pageable-view/index.mjs +30 -83
- package/photo-swipe/index.mjs +62 -87
- package/present-view/index.mjs +114 -267
- package/queue/index.mjs +14 -29
- package/record-video/index.mjs +29 -66
- package/resize-observer/index.mjs +18 -30
- package/search/index.mjs +47 -81
- package/search-popover/index.mjs +57 -329
- package/sign/index.mjs +43 -60
- package/sign-panel/index.mjs +40 -151
- package/skeleton/index.mjs +18 -44
- package/split-pane/index.mjs +45 -129
- package/stateful/index.mjs +18 -26
- package/static-pageable-table/index.mjs +18 -44
- package/swiper/index.mjs +53 -94
- package/tab/index.mjs +13 -39
- package/tab-item/index.mjs +23 -37
- package/table-column/index.mjs +27 -35
- package/table-view/index.mjs +89 -209
- package/tag-render/index.mjs +34 -69
- package/text-ellipsis/index.mjs +22 -47
- package/tinymce-editor/index.mjs +174 -285
- package/toolbar/index.mjs +21 -42
- package/toolbar-button/index.mjs +25 -54
- package/verify/index.mjs +16 -29
- package/vue-cron/index.mjs +272 -1089
- package/vue-qr-code/index.mjs +19 -27
- package/vue-quill-editor/index.mjs +15 -27
- package/vue-tags-input/index.mjs +104 -224
- package/vue-tree-select/index.mjs +595 -742
- package/vue-video-player/index.mjs +42 -57
- package/watermark/index.mjs +27 -35
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +50 -112
- package/chunks/FormTemp.7f91629d.mjs +0 -165
- /package/chunks/{vueComponentNormalizer.446f5dc4.mjs → _plugin-vue2_normalizer.446f5dc4.mjs} +0 -0
package/form-select/index.mjs
CHANGED
|
@@ -1,84 +1,24 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
for (var t in
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var t of
|
|
9
|
-
|
|
10
|
-
return
|
|
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
|
|
13
|
-
import { f
|
|
14
|
-
import
|
|
15
|
-
import { d as
|
|
16
|
-
import { n as
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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: [
|
|
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
|
|
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(
|
|
144
|
-
this.$emit("input",
|
|
83
|
+
emitInput(l) {
|
|
84
|
+
this.$emit("input", l);
|
|
145
85
|
}
|
|
146
86
|
}
|
|
147
|
-
}
|
|
148
|
-
var
|
|
149
|
-
|
|
150
|
-
|
|
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
|
-
|
|
108
|
+
null,
|
|
154
109
|
null,
|
|
155
110
|
null,
|
|
156
111
|
null
|
|
157
112
|
);
|
|
158
|
-
|
|
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
|
-
|
|
115
|
+
I as default
|
|
167
116
|
};
|
package/form-switch/index.mjs
CHANGED
|
@@ -1,77 +1,23 @@
|
|
|
1
|
-
var
|
|
1
|
+
var i = Object.defineProperty;
|
|
2
2
|
var o = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var l = (e, t
|
|
5
|
-
for (var
|
|
6
|
-
|
|
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
|
|
9
|
-
|
|
10
|
-
return
|
|
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
|
|
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
|
|
15
|
-
import { n as
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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: [
|
|
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
|
|
28
|
+
return m(n(n({}, d(this.$attrs)), this.$props), _);
|
|
83
29
|
}
|
|
84
30
|
},
|
|
85
31
|
methods: {
|
|
86
|
-
emitInput(
|
|
87
|
-
this.$emit("input",
|
|
32
|
+
emitInput(r) {
|
|
33
|
+
this.$emit("input", r);
|
|
88
34
|
}
|
|
89
35
|
}
|
|
90
|
-
}
|
|
91
|
-
var
|
|
92
|
-
|
|
93
|
-
|
|
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
|
-
|
|
55
|
+
null,
|
|
97
56
|
null,
|
|
98
57
|
null,
|
|
99
58
|
null
|
|
100
59
|
);
|
|
101
|
-
|
|
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
|
-
|
|
62
|
+
w as default
|
|
110
63
|
};
|
package/form-textarea/index.mjs
CHANGED
|
@@ -1,70 +1,23 @@
|
|
|
1
|
-
var
|
|
1
|
+
var i = Object.defineProperty;
|
|
2
2
|
var l = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var s = (
|
|
5
|
-
for (var r in
|
|
6
|
-
|
|
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(
|
|
9
|
-
|
|
10
|
-
return
|
|
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
|
|
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
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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: [
|
|
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
|
|
45
|
+
return f(n(n({}, d(this.$attrs)), this.$props), _);
|
|
93
46
|
}
|
|
94
47
|
}
|
|
95
|
-
}
|
|
96
|
-
var
|
|
97
|
-
|
|
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
|
-
|
|
63
|
+
null,
|
|
102
64
|
null,
|
|
103
65
|
null,
|
|
104
66
|
null
|
|
105
67
|
);
|
|
106
|
-
|
|
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
|
-
|
|
70
|
+
z as default
|
|
115
71
|
};
|