@web-utils/component 2.8.6 → 2.8.7
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/card/style.css +1 -1
- package/chunks/{form-input-mixin.124653d9.mjs → form-input-mixin.4632ad36.mjs} +1 -1
- package/chunks/{form-item-mixin.135b60df.mjs → form-item-mixin.ad148e7b.mjs} +10 -10
- package/{fy-dialog-form → dialog-form}/style.css +0 -0
- package/form-cascader/index.mjs +19 -19
- package/form-checkbox-group/index.mjs +17 -17
- package/form-date-picker/index.mjs +1 -1
- package/form-input/index.mjs +14 -14
- package/form-input-email/index.mjs +16 -16
- package/form-input-id-card/index.mjs +13 -13
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.mjs +18 -18
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.mjs +14 -14
- package/form-item/index.mjs +1 -1
- package/form-radio-group/index.mjs +13 -13
- package/form-select/index.mjs +17 -17
- package/form-switch/index.mjs +15 -15
- package/form-textarea/index.mjs +14 -14
- package/index.mjs +515 -393
- package/package.json +1 -1
- package/web-types.json +20804 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
1
|
+
var p = Object.defineProperty;
|
|
2
2
|
var i = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var s = (e, t, o) => t in e ?
|
|
3
|
+
var c = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var s = (e, t, o) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, n = (e, t) => {
|
|
5
5
|
for (var o in t || (t = {}))
|
|
6
|
-
|
|
6
|
+
c.call(t, o) && s(e, o, t[o]);
|
|
7
7
|
if (i)
|
|
8
8
|
for (var o of i(t))
|
|
9
|
-
|
|
9
|
+
f.call(t, o) && s(e, o, t[o]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f as
|
|
14
|
-
import
|
|
12
|
+
import { f as h } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
|
+
import { f as d } from "../chunks/form-pick-mixin.61ad06b2.mjs";
|
|
14
|
+
import a from "element-ui/lib/radio-group";
|
|
15
15
|
import { d as y, n as m } from "../chunks/index.57f871af.mjs";
|
|
16
16
|
import { n as _ } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
17
17
|
var v = function() {
|
|
@@ -87,9 +87,9 @@ var v = function() {
|
|
|
87
87
|
}], null, !0)
|
|
88
88
|
}, "FormItem", e.formItemProps, !1));
|
|
89
89
|
}, b = [];
|
|
90
|
-
const g = Object.keys(
|
|
90
|
+
const g = Object.keys(a.props || a.default.props).filter((e) => !["value", "placeholder", "disabled"].includes(e)), K = {
|
|
91
91
|
name: "FormRadioGroup",
|
|
92
|
-
mixins: [
|
|
92
|
+
mixins: [h, d],
|
|
93
93
|
props: {
|
|
94
94
|
options: {
|
|
95
95
|
type: Array,
|
|
@@ -158,7 +158,7 @@ const g = Object.keys(d.props).filter((e) => !["value", "placeholder", "disabled
|
|
|
158
158
|
this.value === e[this.valueKey] ? this.emitInput(null) : this.emitInput(e[this.valueKey]);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
},
|
|
161
|
+
}, u = {};
|
|
162
162
|
var w = /* @__PURE__ */ _(
|
|
163
163
|
K,
|
|
164
164
|
v,
|
|
@@ -170,8 +170,8 @@ var w = /* @__PURE__ */ _(
|
|
|
170
170
|
null
|
|
171
171
|
);
|
|
172
172
|
function B(e) {
|
|
173
|
-
for (let t in
|
|
174
|
-
this[t] =
|
|
173
|
+
for (let t in u)
|
|
174
|
+
this[t] = u[t];
|
|
175
175
|
}
|
|
176
176
|
const G = /* @__PURE__ */ function() {
|
|
177
177
|
return w.exports;
|
package/form-select/index.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
var
|
|
1
|
+
var p = Object.defineProperty;
|
|
2
2
|
var s = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var o = (e, r, t) => r in e ?
|
|
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
5
|
for (var t in r || (r = {}))
|
|
6
|
-
|
|
6
|
+
c.call(r, t) && o(e, t, r[t]);
|
|
7
7
|
if (s)
|
|
8
8
|
for (var t of s(r))
|
|
9
|
-
|
|
9
|
+
f.call(r, t) && o(e, t, r[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f as h } from "../chunks/form-input-mixin.
|
|
13
|
-
import { f } from "../chunks/form-pick-mixin.61ad06b2.mjs";
|
|
14
|
-
import
|
|
15
|
-
import { d as y, n as
|
|
16
|
-
import { n as
|
|
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
17
|
var v = function() {
|
|
18
18
|
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
19
19
|
return t("FormItem", e._b({
|
|
@@ -74,9 +74,9 @@ var v = function() {
|
|
|
74
74
|
}], null, !0)
|
|
75
75
|
}, "FormItem", e.formItemProps, !1));
|
|
76
76
|
}, b = [];
|
|
77
|
-
const K = Object.keys(
|
|
77
|
+
const K = Object.keys(a.props || a.default.props).filter((e) => !["value", "placeholder", "disabled"].includes(e)), g = {
|
|
78
78
|
name: "FormSelect",
|
|
79
|
-
mixins: [h,
|
|
79
|
+
mixins: [h, m],
|
|
80
80
|
props: {
|
|
81
81
|
options: {
|
|
82
82
|
type: Array,
|
|
@@ -113,7 +113,7 @@ const K = Object.keys(m.props).filter((e) => !["value", "placeholder", "disabled
|
|
|
113
113
|
return this.classic ? "value" : this.valueProp;
|
|
114
114
|
},
|
|
115
115
|
inputProps() {
|
|
116
|
-
return y(n(n({},
|
|
116
|
+
return y(n(n({}, d(this.$attrs)), this.$props), K);
|
|
117
117
|
},
|
|
118
118
|
innerOptions() {
|
|
119
119
|
return this.gender ? [
|
|
@@ -142,8 +142,8 @@ const K = Object.keys(m.props).filter((e) => !["value", "placeholder", "disabled
|
|
|
142
142
|
this.$emit("input", e);
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
},
|
|
146
|
-
var S = /* @__PURE__ */
|
|
145
|
+
}, u = {};
|
|
146
|
+
var S = /* @__PURE__ */ _(
|
|
147
147
|
g,
|
|
148
148
|
v,
|
|
149
149
|
b,
|
|
@@ -154,8 +154,8 @@ var S = /* @__PURE__ */ d(
|
|
|
154
154
|
null
|
|
155
155
|
);
|
|
156
156
|
function P(e) {
|
|
157
|
-
for (let r in
|
|
158
|
-
this[r] =
|
|
157
|
+
for (let r in u)
|
|
158
|
+
this[r] = u[r];
|
|
159
159
|
}
|
|
160
160
|
const F = /* @__PURE__ */ function() {
|
|
161
161
|
return S.exports;
|
package/form-switch/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
1
|
+
var p = Object.defineProperty;
|
|
2
2
|
var o = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var l = (e, t, r) => t in e ?
|
|
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
5
|
for (var r in t || (t = {}))
|
|
6
|
-
|
|
6
|
+
c.call(t, r) && l(e, r, t[r]);
|
|
7
7
|
if (o)
|
|
8
8
|
for (var r of o(t))
|
|
9
|
-
|
|
9
|
+
m.call(t, r) && l(e, r, t[r]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f as
|
|
13
|
-
import
|
|
12
|
+
import { f as d } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
|
+
import s from "element-ui/lib/switch";
|
|
14
14
|
import { d as f, n as _ } from "../chunks/index.57f871af.mjs";
|
|
15
15
|
import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
16
16
|
var h = function() {
|
|
@@ -52,10 +52,10 @@ var h = function() {
|
|
|
52
52
|
proxy: !0
|
|
53
53
|
}, {
|
|
54
54
|
key: "error",
|
|
55
|
-
fn: function(
|
|
56
|
-
var
|
|
55
|
+
fn: function(i) {
|
|
56
|
+
var a = i.error;
|
|
57
57
|
return [e._t("error", null, {
|
|
58
|
-
error:
|
|
58
|
+
error: a
|
|
59
59
|
})];
|
|
60
60
|
}
|
|
61
61
|
}, {
|
|
@@ -67,9 +67,9 @@ var h = function() {
|
|
|
67
67
|
}], null, !0)
|
|
68
68
|
}, "FormItem", e.formItemProps, !1));
|
|
69
69
|
}, y = [];
|
|
70
|
-
const b = Object.keys(
|
|
70
|
+
const b = Object.keys(s.props || s.default.props).filter((e) => !["value", "placeholder", "disabled"].includes(e)), S = {
|
|
71
71
|
name: "FormSwitch",
|
|
72
|
-
mixins: [
|
|
72
|
+
mixins: [d],
|
|
73
73
|
props: {
|
|
74
74
|
value: {
|
|
75
75
|
type: [String, Number, Boolean]
|
|
@@ -85,7 +85,7 @@ const b = Object.keys(d.props).filter((e) => !["value", "placeholder", "disabled
|
|
|
85
85
|
this.$emit("input", e);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
},
|
|
88
|
+
}, u = {};
|
|
89
89
|
var x = /* @__PURE__ */ v(
|
|
90
90
|
S,
|
|
91
91
|
h,
|
|
@@ -97,8 +97,8 @@ var x = /* @__PURE__ */ v(
|
|
|
97
97
|
null
|
|
98
98
|
);
|
|
99
99
|
function I(e) {
|
|
100
|
-
for (let t in
|
|
101
|
-
this[t] =
|
|
100
|
+
for (let t in u)
|
|
101
|
+
this[t] = u[t];
|
|
102
102
|
}
|
|
103
103
|
const E = /* @__PURE__ */ function() {
|
|
104
104
|
return x.exports;
|
package/form-textarea/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
1
|
+
var p = Object.defineProperty;
|
|
2
2
|
var l = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var s = (e, t, r) => t in e ?
|
|
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
5
|
for (var r in t || (t = {}))
|
|
6
|
-
|
|
6
|
+
m.call(t, r) && s(e, r, t[r]);
|
|
7
7
|
if (l)
|
|
8
8
|
for (var r of l(t))
|
|
9
|
-
|
|
9
|
+
c.call(t, r) && s(e, r, t[r]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { f
|
|
13
|
-
import { d
|
|
14
|
-
import
|
|
12
|
+
import { f } from "../chunks/form-input-mixin.4632ad36.mjs";
|
|
13
|
+
import { d, n as _ } from "../chunks/index.57f871af.mjs";
|
|
14
|
+
import a from "element-ui/lib/input";
|
|
15
15
|
import { n as h } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
16
16
|
var x = function() {
|
|
17
17
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
@@ -60,9 +60,9 @@ var x = function() {
|
|
|
60
60
|
}], null, !0)
|
|
61
61
|
}, "FormItem", e.formItemProps, !1));
|
|
62
62
|
}, y = [];
|
|
63
|
-
const v = Object.keys(
|
|
63
|
+
const v = Object.keys(a.props || a.default.props).filter((e) => !["value", "placeholder", "type", "rows", "resize", "showWordLimit", "maxLength", "maxlength"].includes(e)), b = {
|
|
64
64
|
name: "FormTextarea",
|
|
65
|
-
mixins: [
|
|
65
|
+
mixins: [f],
|
|
66
66
|
props: {
|
|
67
67
|
value: {
|
|
68
68
|
type: [String, Number]
|
|
@@ -87,10 +87,10 @@ const v = Object.keys(_.props).filter((e) => !["value", "placeholder", "type", "
|
|
|
87
87
|
},
|
|
88
88
|
computed: {
|
|
89
89
|
inputProps() {
|
|
90
|
-
return
|
|
90
|
+
return d(n(n({}, _(this.$attrs)), this.$props), v);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
},
|
|
93
|
+
}, u = {};
|
|
94
94
|
var g = /* @__PURE__ */ h(
|
|
95
95
|
b,
|
|
96
96
|
x,
|
|
@@ -102,8 +102,8 @@ var g = /* @__PURE__ */ h(
|
|
|
102
102
|
null
|
|
103
103
|
);
|
|
104
104
|
function w(e) {
|
|
105
|
-
for (let t in
|
|
106
|
-
this[t] =
|
|
105
|
+
for (let t in u)
|
|
106
|
+
this[t] = u[t];
|
|
107
107
|
}
|
|
108
108
|
const F = /* @__PURE__ */ function() {
|
|
109
109
|
return g.exports;
|