@web-utils/component 2.8.5 → 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.
@@ -1,17 +1,17 @@
1
- var u = Object.defineProperty;
1
+ var p = Object.defineProperty;
2
2
  var i = Object.getOwnPropertySymbols;
3
- var p = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
4
- var s = (e, t, o) => t in e ? u(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, n = (e, t) => {
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
- p.call(t, o) && s(e, o, t[o]);
6
+ c.call(t, o) && s(e, o, t[o]);
7
7
  if (i)
8
8
  for (var o of i(t))
9
- c.call(t, o) && s(e, o, t[o]);
9
+ f.call(t, o) && s(e, o, t[o]);
10
10
  return e;
11
11
  };
12
- import { f } from "../chunks/form-input-mixin.124653d9.mjs";
13
- import { f as h } from "../chunks/form-pick-mixin.61ad06b2.mjs";
14
- import d from "element-ui/lib/radio-group";
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(d.props).filter((e) => !["value", "placeholder", "disabled"].includes(e)), K = {
90
+ const g = Object.keys(a.props || a.default.props).filter((e) => !["value", "placeholder", "disabled"].includes(e)), K = {
91
91
  name: "FormRadioGroup",
92
- mixins: [f, h],
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
- }, a = {};
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 a)
174
- this[t] = a[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;
@@ -1,19 +1,19 @@
1
- var u = Object.defineProperty;
1
+ var p = Object.defineProperty;
2
2
  var s = Object.getOwnPropertySymbols;
3
- var p = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
4
- var o = (e, r, t) => r in e ? u(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, n = (e, r) => {
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
- p.call(r, t) && o(e, t, r[t]);
6
+ c.call(r, t) && o(e, t, r[t]);
7
7
  if (s)
8
8
  for (var t of s(r))
9
- c.call(r, t) && o(e, t, r[t]);
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.124653d9.mjs";
13
- import { f } from "../chunks/form-pick-mixin.61ad06b2.mjs";
14
- import m from "element-ui/lib/select";
15
- import { d as y, n as _ } from "../chunks/index.57f871af.mjs";
16
- import { n as d } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
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(m.props).filter((e) => !["value", "placeholder", "disabled"].includes(e)), g = {
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, f],
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({}, _(this.$attrs)), this.$props), K);
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
- }, a = {};
146
- var S = /* @__PURE__ */ d(
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 a)
158
- this[r] = a[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;
@@ -1,16 +1,16 @@
1
- var a = Object.defineProperty;
1
+ var p = Object.defineProperty;
2
2
  var o = Object.getOwnPropertySymbols;
3
- var p = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
4
- var l = (e, t, r) => t in e ? a(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, n = (e, t) => {
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
- p.call(t, r) && l(e, r, t[r]);
6
+ c.call(t, r) && l(e, r, t[r]);
7
7
  if (o)
8
8
  for (var r of o(t))
9
- c.call(t, r) && l(e, r, t[r]);
9
+ m.call(t, r) && l(e, r, t[r]);
10
10
  return e;
11
11
  };
12
- import { f as m } from "../chunks/form-input-mixin.124653d9.mjs";
13
- import d from "element-ui/lib/switch";
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(u) {
56
- var i = u.error;
55
+ fn: function(i) {
56
+ var a = i.error;
57
57
  return [e._t("error", null, {
58
- error: i
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(d.props).filter((e) => !["value", "placeholder", "disabled"].includes(e)), S = {
70
+ const b = Object.keys(s.props || s.default.props).filter((e) => !["value", "placeholder", "disabled"].includes(e)), S = {
71
71
  name: "FormSwitch",
72
- mixins: [m],
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
- }, s = {};
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 s)
101
- this[t] = s[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;
@@ -1,17 +1,17 @@
1
- var u = Object.defineProperty;
1
+ var p = Object.defineProperty;
2
2
  var l = Object.getOwnPropertySymbols;
3
- var p = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
4
- var s = (e, t, r) => t in e ? u(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, n = (e, t) => {
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
- p.call(t, r) && s(e, r, t[r]);
6
+ m.call(t, r) && s(e, r, t[r]);
7
7
  if (l)
8
8
  for (var r of l(t))
9
- m.call(t, r) && s(e, r, t[r]);
9
+ c.call(t, r) && s(e, r, t[r]);
10
10
  return e;
11
11
  };
12
- import { f as c } from "../chunks/form-input-mixin.124653d9.mjs";
13
- import { d as f, n as d } from "../chunks/index.57f871af.mjs";
14
- import _ from "element-ui/lib/input";
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(_.props).filter((e) => !["value", "placeholder", "type", "rows", "resize", "showWordLimit", "maxLength", "maxlength"].includes(e)), b = {
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: [c],
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 f(n(n({}, d(this.$attrs)), this.$props), v);
90
+ return d(n(n({}, _(this.$attrs)), this.$props), v);
91
91
  }
92
92
  }
93
- }, a = {};
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 a)
106
- this[t] = a[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;