@open-xamu-co/ui-components-vue 3.1.0-next.9 → 4.0.0-next.1
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/CHANGELOG.md +468 -0
- package/dist/components/action/Button.stories.d.ts +8 -14
- package/dist/components/action/Button.vue.d.ts +11 -11
- package/dist/components/action/ButtonLink.stories.d.ts +4 -10
- package/dist/components/action/ButtonLink.vue.d.ts +17 -19
- package/dist/components/action/ButtonToggle.stories.d.ts +6 -10
- package/dist/components/action/ButtonToggle.vue.d.ts +7 -11
- package/dist/components/action/Link.stories.d.ts +4 -10
- package/dist/components/action/Link.vue.d.ts +7 -11
- package/dist/components/base/Action.vue.d.ts +7 -11
- package/dist/components/base/Box.vue.d.ts +13 -11
- package/dist/components/base/BrowserOnly.vue.d.ts +9 -12
- package/dist/components/base/ErrorBoundary.vue.d.ts +17 -15
- package/dist/components/base/Img.vue.d.ts +16 -56
- package/dist/components/base/Input.vue.d.ts +13 -15
- package/dist/components/base/Select.vue.d.ts +2 -1
- package/dist/components/base/Wrapper.vue.d.ts +12 -15
- package/dist/components/box/Action.stories.d.ts +4 -11
- package/dist/components/box/Action.vue.d.ts +3 -2
- package/dist/components/box/Message.stories.d.ts +4 -10
- package/dist/components/box/Message.vue.d.ts +7 -11
- package/dist/components/collapse/Simple.stories.d.ts +4 -11
- package/dist/components/collapse/Simple.vue.d.ts +7 -11
- package/dist/components/dropdown/Simple.stories.d.ts +4 -8
- package/dist/components/dropdown/Simple.vue.d.ts +37 -41
- package/dist/components/form/Input.stories.d.ts +3 -2
- package/dist/components/form/Input.vue.d.ts +2 -1
- package/dist/components/form/InputCountriesAPI.vue.d.ts +11 -19
- package/dist/components/form/InputLoop.vue.d.ts +12 -7
- package/dist/components/form/InputNValues.vue.d.ts +13 -6
- package/dist/components/form/InputOptions.vue.d.ts +19 -23
- package/dist/components/form/Simple.stories.d.ts +9 -5
- package/dist/components/form/Simple.vue.d.ts +17 -11
- package/dist/components/form/Stages.stories.d.ts +8 -69
- package/dist/components/form/Stages.vue.d.ts +29 -28
- package/dist/components/icon/Fa.stories.d.ts +4 -10
- package/dist/components/icon/Fa.vue.d.ts +2 -1
- package/dist/components/icon/Simple.stories.d.ts +4 -8
- package/dist/components/icon/Simple.vue.d.ts +7 -11
- package/dist/components/input/Color.stories.d.ts +4 -8
- package/dist/components/input/Color.vue.d.ts +11 -2
- package/dist/components/input/File.stories.d.ts +4 -10
- package/dist/components/input/File.vue.d.ts +6 -1
- package/dist/components/input/Text.stories.d.ts +4 -11
- package/dist/components/input/Text.vue.d.ts +2 -1
- package/dist/components/input/Toggle.stories.d.ts +4 -10
- package/dist/components/input/Toggle.vue.d.ts +9 -13
- package/dist/components/loader/Content.stories.d.ts +4 -8
- package/dist/components/loader/Content.vue.d.ts +7 -11
- package/dist/components/loader/ContentFetch.stories.d.ts +5 -8
- package/dist/components/loader/ContentFetch.vue.d.ts +19 -11
- package/dist/components/loader/Simple.stories.d.ts +4 -8
- package/dist/components/loader/Simple.vue.d.ts +7 -11
- package/dist/components/modal/Simple.stories.d.ts +5 -8
- package/dist/components/modal/Simple.vue.d.ts +53 -53
- package/dist/components/pagination/Content.stories.d.ts +4 -7
- package/dist/components/pagination/Content.vue.d.ts +29 -12
- package/dist/components/pagination/ContentTable.stories.d.ts +6 -8
- package/dist/components/pagination/ContentTable.vue.d.ts +62 -25
- package/dist/components/pagination/Simple.stories.d.ts +5 -8
- package/dist/components/pagination/Simple.vue.d.ts +12 -7
- package/dist/components/select/Choice.stories.d.ts +6 -11
- package/dist/components/select/Choice.vue.d.ts +2 -1
- package/dist/components/select/Filter.stories.d.ts +5 -11
- package/dist/components/select/Filter.vue.d.ts +2 -1
- package/dist/components/select/Simple.stories.d.ts +4 -11
- package/dist/components/select/Simple.vue.d.ts +2 -1
- package/dist/components/slider/Simple.stories.d.ts +4 -8
- package/dist/components/slider/Simple.vue.d.ts +50 -0
- package/dist/components/table/Body.vue.d.ts +33 -21
- package/dist/components/table/HeadActions.vue.d.ts +31 -0
- package/dist/components/table/HeadContent.vue.d.ts +22 -0
- package/dist/components/table/Simple.stories.d.ts +9 -33
- package/dist/components/table/Simple.vue.d.ts +43 -28
- package/dist/components/value/Complex.stories.d.ts +4 -8
- package/dist/components/value/Complex.vue.d.ts +2 -1
- package/dist/components/value/List.stories.d.ts +4 -27
- package/dist/components/value/List.vue.d.ts +2 -12
- package/dist/components/value/Simple.stories.d.ts +5 -10
- package/dist/components/value/Simple.vue.d.ts +10 -5
- package/dist/composables/theme.d.ts +8 -1
- package/dist/composables/utils.d.ts +2 -1
- package/dist/index-Bbn-n1yC.js +7098 -0
- package/dist/index-CyI1yZlR.cjs +4 -0
- package/dist/index.cjs +1 -0
- package/dist/index.js +45 -1
- package/dist/plugin.cjs +1 -0
- package/dist/plugin.js +902 -1
- package/dist/theme-CChhGSbE.cjs +1 -0
- package/dist/theme-DWMJmaKP.js +83 -0
- package/dist/theme.cjs +1 -0
- package/dist/theme.js +7 -1
- package/dist/types/plugin.d.ts +9 -1
- package/dist/types/props.d.ts +60 -17
- package/dist/types/storybook.d.ts +10 -0
- package/package.json +40 -31
- package/dist/components/table/Head.vue.d.ts +0 -25
- package/dist/index-BtJc7cX1.js +0 -4
- package/dist/index-DTG4ktcY.mjs +0 -6753
- package/dist/index.mjs +0 -45
- package/dist/plugin.mjs +0 -874
- package/dist/screens/DropdownWithToggle.stories.d.ts +0 -11
- package/dist/screens/DropdownWithToggle.vue.d.ts +0 -2
- package/dist/screens/FormWithFetch.stories.d.ts +0 -11
- package/dist/screens/FormWithFetch.vue.d.ts +0 -2
- package/dist/screens/ModalWithFormStages.stories.d.ts +0 -11
- package/dist/screens/ModalWithFormStages.vue.d.ts +0 -2
- package/dist/screens/ModalWithToggle.stories.d.ts +0 -11
- package/dist/screens/ModalWithToggle.vue.d.ts +0 -2
- package/dist/screens/PaginationContentWithTable.stories.d.ts +0 -11
- package/dist/screens/PaginationContentWithTable.vue.d.ts +0 -8
- package/dist/screens/TableWithNestedTable.stories.d.ts +0 -11
- package/dist/screens/TableWithNestedTable.vue.d.ts +0 -8
- package/dist/theme-DSVG59vT.js +0 -1
- package/dist/theme-DVpUQx-w.mjs +0 -78
- package/dist/theme.mjs +0 -7
package/dist/plugin.mjs
DELETED
|
@@ -1,874 +0,0 @@
|
|
|
1
|
-
import { defineCustomElement as Qe } from "vue";
|
|
2
|
-
import { c as He, a as Ke, u as Xe, b as Je } from "./index-DTG4ktcY.mjs";
|
|
3
|
-
import { componentNames as Ze } from "@open-xamu-co/ui-common-enums";
|
|
4
|
-
var et = He(function(e, t, r) {
|
|
5
|
-
return t = t.toLowerCase(), e + (r ? Ke(t) : t);
|
|
6
|
-
});
|
|
7
|
-
function tt() {
|
|
8
|
-
this.__data__ = [], this.size = 0;
|
|
9
|
-
}
|
|
10
|
-
function Oe(e, t) {
|
|
11
|
-
return e === t || e !== e && t !== t;
|
|
12
|
-
}
|
|
13
|
-
function E(e, t) {
|
|
14
|
-
for (var r = e.length; r--; )
|
|
15
|
-
if (Oe(e[r][0], t))
|
|
16
|
-
return r;
|
|
17
|
-
return -1;
|
|
18
|
-
}
|
|
19
|
-
var rt = Array.prototype, nt = rt.splice;
|
|
20
|
-
function ot(e) {
|
|
21
|
-
var t = this.__data__, r = E(t, e);
|
|
22
|
-
if (r < 0)
|
|
23
|
-
return !1;
|
|
24
|
-
var n = t.length - 1;
|
|
25
|
-
return r == n ? t.pop() : nt.call(t, r, 1), --this.size, !0;
|
|
26
|
-
}
|
|
27
|
-
function at(e) {
|
|
28
|
-
var t = this.__data__, r = E(t, e);
|
|
29
|
-
return r < 0 ? void 0 : t[r][1];
|
|
30
|
-
}
|
|
31
|
-
function it(e) {
|
|
32
|
-
return E(this.__data__, e) > -1;
|
|
33
|
-
}
|
|
34
|
-
function lt(e, t) {
|
|
35
|
-
var r = this.__data__, n = E(r, e);
|
|
36
|
-
return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
|
|
37
|
-
}
|
|
38
|
-
function b(e) {
|
|
39
|
-
var t = -1, r = e == null ? 0 : e.length;
|
|
40
|
-
for (this.clear(); ++t < r; ) {
|
|
41
|
-
var n = e[t];
|
|
42
|
-
this.set(n[0], n[1]);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
b.prototype.clear = tt;
|
|
46
|
-
b.prototype.delete = ot;
|
|
47
|
-
b.prototype.get = at;
|
|
48
|
-
b.prototype.has = it;
|
|
49
|
-
b.prototype.set = lt;
|
|
50
|
-
var Ae = typeof global == "object" && global && global.Object === Object && global, ct = typeof self == "object" && self && self.Object === Object && self, p = Ae || ct || Function("return this")(), _ = p.Symbol, Se = Object.prototype, ut = Se.hasOwnProperty, st = Se.toString, C = _ ? _.toStringTag : void 0;
|
|
51
|
-
function ft(e) {
|
|
52
|
-
var t = ut.call(e, C), r = e[C];
|
|
53
|
-
try {
|
|
54
|
-
e[C] = void 0;
|
|
55
|
-
var n = !0;
|
|
56
|
-
} catch {
|
|
57
|
-
}
|
|
58
|
-
var o = st.call(e);
|
|
59
|
-
return n && (t ? e[C] = r : delete e[C]), o;
|
|
60
|
-
}
|
|
61
|
-
var _t = Object.prototype, pt = _t.toString;
|
|
62
|
-
function dt(e) {
|
|
63
|
-
return pt.call(e);
|
|
64
|
-
}
|
|
65
|
-
var bt = "[object Null]", ht = "[object Undefined]", X = _ ? _.toStringTag : void 0;
|
|
66
|
-
function g(e) {
|
|
67
|
-
return e == null ? e === void 0 ? ht : bt : X && X in Object(e) ? ft(e) : dt(e);
|
|
68
|
-
}
|
|
69
|
-
function F(e) {
|
|
70
|
-
var t = typeof e;
|
|
71
|
-
return e != null && (t == "object" || t == "function");
|
|
72
|
-
}
|
|
73
|
-
var vt = "[object AsyncFunction]", mt = "[object Function]", yt = "[object GeneratorFunction]", gt = "[object Proxy]";
|
|
74
|
-
function xe(e) {
|
|
75
|
-
if (!F(e))
|
|
76
|
-
return !1;
|
|
77
|
-
var t = g(e);
|
|
78
|
-
return t == mt || t == yt || t == vt || t == gt;
|
|
79
|
-
}
|
|
80
|
-
var I = p["__core-js_shared__"], J = function() {
|
|
81
|
-
var e = /[^.]+$/.exec(I && I.keys && I.keys.IE_PROTO || "");
|
|
82
|
-
return e ? "Symbol(src)_1." + e : "";
|
|
83
|
-
}();
|
|
84
|
-
function jt(e) {
|
|
85
|
-
return !!J && J in e;
|
|
86
|
-
}
|
|
87
|
-
var wt = Function.prototype, $t = wt.toString;
|
|
88
|
-
function j(e) {
|
|
89
|
-
if (e != null) {
|
|
90
|
-
try {
|
|
91
|
-
return $t.call(e);
|
|
92
|
-
} catch {
|
|
93
|
-
}
|
|
94
|
-
try {
|
|
95
|
-
return e + "";
|
|
96
|
-
} catch {
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
return "";
|
|
100
|
-
}
|
|
101
|
-
var Ot = /[\\^$.*+?()[\]{}|]/g, At = /^\[object .+?Constructor\]$/, St = Function.prototype, xt = Object.prototype, Ct = St.toString, Tt = xt.hasOwnProperty, Pt = RegExp(
|
|
102
|
-
"^" + Ct.call(Tt).replace(Ot, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
103
|
-
);
|
|
104
|
-
function zt(e) {
|
|
105
|
-
if (!F(e) || jt(e))
|
|
106
|
-
return !1;
|
|
107
|
-
var t = xe(e) ? Pt : At;
|
|
108
|
-
return t.test(j(e));
|
|
109
|
-
}
|
|
110
|
-
function kt(e, t) {
|
|
111
|
-
return e?.[t];
|
|
112
|
-
}
|
|
113
|
-
function w(e, t) {
|
|
114
|
-
var r = kt(e, t);
|
|
115
|
-
return zt(r) ? r : void 0;
|
|
116
|
-
}
|
|
117
|
-
var P = w(p, "Map"), z = w(Object, "create");
|
|
118
|
-
function Dt() {
|
|
119
|
-
this.__data__ = z ? z(null) : {}, this.size = 0;
|
|
120
|
-
}
|
|
121
|
-
function Et(e) {
|
|
122
|
-
var t = this.has(e) && delete this.__data__[e];
|
|
123
|
-
return this.size -= t ? 1 : 0, t;
|
|
124
|
-
}
|
|
125
|
-
var Ft = "__lodash_hash_undefined__", Ut = Object.prototype, It = Ut.hasOwnProperty;
|
|
126
|
-
function Lt(e) {
|
|
127
|
-
var t = this.__data__;
|
|
128
|
-
if (z) {
|
|
129
|
-
var r = t[e];
|
|
130
|
-
return r === Ft ? void 0 : r;
|
|
131
|
-
}
|
|
132
|
-
return It.call(t, e) ? t[e] : void 0;
|
|
133
|
-
}
|
|
134
|
-
var Mt = Object.prototype, qt = Mt.hasOwnProperty;
|
|
135
|
-
function Nt(e) {
|
|
136
|
-
var t = this.__data__;
|
|
137
|
-
return z ? t[e] !== void 0 : qt.call(t, e);
|
|
138
|
-
}
|
|
139
|
-
var Rt = "__lodash_hash_undefined__";
|
|
140
|
-
function Bt(e, t) {
|
|
141
|
-
var r = this.__data__;
|
|
142
|
-
return this.size += this.has(e) ? 0 : 1, r[e] = z && t === void 0 ? Rt : t, this;
|
|
143
|
-
}
|
|
144
|
-
function y(e) {
|
|
145
|
-
var t = -1, r = e == null ? 0 : e.length;
|
|
146
|
-
for (this.clear(); ++t < r; ) {
|
|
147
|
-
var n = e[t];
|
|
148
|
-
this.set(n[0], n[1]);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
y.prototype.clear = Dt;
|
|
152
|
-
y.prototype.delete = Et;
|
|
153
|
-
y.prototype.get = Lt;
|
|
154
|
-
y.prototype.has = Nt;
|
|
155
|
-
y.prototype.set = Bt;
|
|
156
|
-
function Vt() {
|
|
157
|
-
this.size = 0, this.__data__ = {
|
|
158
|
-
hash: new y(),
|
|
159
|
-
map: new (P || b)(),
|
|
160
|
-
string: new y()
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
function Wt(e) {
|
|
164
|
-
var t = typeof e;
|
|
165
|
-
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
166
|
-
}
|
|
167
|
-
function U(e, t) {
|
|
168
|
-
var r = e.__data__;
|
|
169
|
-
return Wt(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
170
|
-
}
|
|
171
|
-
function Yt(e) {
|
|
172
|
-
var t = U(this, e).delete(e);
|
|
173
|
-
return this.size -= t ? 1 : 0, t;
|
|
174
|
-
}
|
|
175
|
-
function Gt(e) {
|
|
176
|
-
return U(this, e).get(e);
|
|
177
|
-
}
|
|
178
|
-
function Qt(e) {
|
|
179
|
-
return U(this, e).has(e);
|
|
180
|
-
}
|
|
181
|
-
function Ht(e, t) {
|
|
182
|
-
var r = U(this, e), n = r.size;
|
|
183
|
-
return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
|
|
184
|
-
}
|
|
185
|
-
function v(e) {
|
|
186
|
-
var t = -1, r = e == null ? 0 : e.length;
|
|
187
|
-
for (this.clear(); ++t < r; ) {
|
|
188
|
-
var n = e[t];
|
|
189
|
-
this.set(n[0], n[1]);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
v.prototype.clear = Vt;
|
|
193
|
-
v.prototype.delete = Yt;
|
|
194
|
-
v.prototype.get = Gt;
|
|
195
|
-
v.prototype.has = Qt;
|
|
196
|
-
v.prototype.set = Ht;
|
|
197
|
-
var $ = Array.isArray;
|
|
198
|
-
function Kt(e, t) {
|
|
199
|
-
for (var r = -1, n = Array(e); ++r < e; )
|
|
200
|
-
n[r] = t(r);
|
|
201
|
-
return n;
|
|
202
|
-
}
|
|
203
|
-
function O(e) {
|
|
204
|
-
return e != null && typeof e == "object";
|
|
205
|
-
}
|
|
206
|
-
var Xt = "[object Arguments]";
|
|
207
|
-
function Z(e) {
|
|
208
|
-
return O(e) && g(e) == Xt;
|
|
209
|
-
}
|
|
210
|
-
var Ce = Object.prototype, Jt = Ce.hasOwnProperty, Zt = Ce.propertyIsEnumerable, Te = Z(/* @__PURE__ */ function() {
|
|
211
|
-
return arguments;
|
|
212
|
-
}()) ? Z : function(e) {
|
|
213
|
-
return O(e) && Jt.call(e, "callee") && !Zt.call(e, "callee");
|
|
214
|
-
};
|
|
215
|
-
function er() {
|
|
216
|
-
return !1;
|
|
217
|
-
}
|
|
218
|
-
var Pe = typeof exports == "object" && exports && !exports.nodeType && exports, ee = Pe && typeof module == "object" && module && !module.nodeType && module, tr = ee && ee.exports === Pe, te = tr ? p.Buffer : void 0, rr = te ? te.isBuffer : void 0, ze = rr || er, nr = 9007199254740991, or = /^(?:0|[1-9]\d*)$/;
|
|
219
|
-
function ar(e, t) {
|
|
220
|
-
var r = typeof e;
|
|
221
|
-
return t = t ?? nr, !!t && (r == "number" || r != "symbol" && or.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
222
|
-
}
|
|
223
|
-
var ir = 9007199254740991;
|
|
224
|
-
function ke(e) {
|
|
225
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ir;
|
|
226
|
-
}
|
|
227
|
-
var lr = "[object Arguments]", cr = "[object Array]", ur = "[object Boolean]", sr = "[object Date]", fr = "[object Error]", _r = "[object Function]", pr = "[object Map]", dr = "[object Number]", br = "[object Object]", hr = "[object RegExp]", vr = "[object Set]", mr = "[object String]", yr = "[object WeakMap]", gr = "[object ArrayBuffer]", jr = "[object DataView]", wr = "[object Float32Array]", $r = "[object Float64Array]", Or = "[object Int8Array]", Ar = "[object Int16Array]", Sr = "[object Int32Array]", xr = "[object Uint8Array]", Cr = "[object Uint8ClampedArray]", Tr = "[object Uint16Array]", Pr = "[object Uint32Array]", c = {};
|
|
228
|
-
c[wr] = c[$r] = c[Or] = c[Ar] = c[Sr] = c[xr] = c[Cr] = c[Tr] = c[Pr] = !0;
|
|
229
|
-
c[lr] = c[cr] = c[gr] = c[ur] = c[jr] = c[sr] = c[fr] = c[_r] = c[pr] = c[dr] = c[br] = c[hr] = c[vr] = c[mr] = c[yr] = !1;
|
|
230
|
-
function zr(e) {
|
|
231
|
-
return O(e) && ke(e.length) && !!c[g(e)];
|
|
232
|
-
}
|
|
233
|
-
function B(e) {
|
|
234
|
-
return function(t) {
|
|
235
|
-
return e(t);
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
var De = typeof exports == "object" && exports && !exports.nodeType && exports, T = De && typeof module == "object" && module && !module.nodeType && module, kr = T && T.exports === De, L = kr && Ae.process, S = function() {
|
|
239
|
-
try {
|
|
240
|
-
var e = T && T.require && T.require("util").types;
|
|
241
|
-
return e || L && L.binding && L.binding("util");
|
|
242
|
-
} catch {
|
|
243
|
-
}
|
|
244
|
-
}(), re = S && S.isTypedArray, Dr = re ? B(re) : zr;
|
|
245
|
-
function Er(e, t) {
|
|
246
|
-
var r = $(e), n = !r && Te(e), o = !r && !n && ze(e), a = !r && !n && !o && Dr(e), i = r || n || o || a, u = i ? Kt(e.length, String) : [], s = u.length;
|
|
247
|
-
for (var f in e)
|
|
248
|
-
!(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
249
|
-
(f == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
250
|
-
o && (f == "offset" || f == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
251
|
-
a && (f == "buffer" || f == "byteLength" || f == "byteOffset") || // Skip index properties.
|
|
252
|
-
ar(f, s))) && u.push(f);
|
|
253
|
-
return u;
|
|
254
|
-
}
|
|
255
|
-
var Fr = Object.prototype;
|
|
256
|
-
function Ur(e) {
|
|
257
|
-
var t = e && e.constructor, r = typeof t == "function" && t.prototype || Fr;
|
|
258
|
-
return e === r;
|
|
259
|
-
}
|
|
260
|
-
function Ir(e, t) {
|
|
261
|
-
return function(r) {
|
|
262
|
-
return e(t(r));
|
|
263
|
-
};
|
|
264
|
-
}
|
|
265
|
-
function Lr(e) {
|
|
266
|
-
return e != null && ke(e.length) && !xe(e);
|
|
267
|
-
}
|
|
268
|
-
var D = function() {
|
|
269
|
-
try {
|
|
270
|
-
var e = w(Object, "defineProperty");
|
|
271
|
-
return e({}, "", {}), e;
|
|
272
|
-
} catch {
|
|
273
|
-
}
|
|
274
|
-
}();
|
|
275
|
-
function Ee(e, t, r) {
|
|
276
|
-
t == "__proto__" && D ? D(e, t, {
|
|
277
|
-
configurable: !0,
|
|
278
|
-
enumerable: !0,
|
|
279
|
-
value: r,
|
|
280
|
-
writable: !0
|
|
281
|
-
}) : e[t] = r;
|
|
282
|
-
}
|
|
283
|
-
var Mr = Object.prototype, qr = Mr.hasOwnProperty;
|
|
284
|
-
function Fe(e, t, r) {
|
|
285
|
-
var n = e[t];
|
|
286
|
-
(!(qr.call(e, t) && Oe(n, r)) || r === void 0 && !(t in e)) && Ee(e, t, r);
|
|
287
|
-
}
|
|
288
|
-
function Nr(e, t, r, n) {
|
|
289
|
-
var o = !r;
|
|
290
|
-
r || (r = {});
|
|
291
|
-
for (var a = -1, i = t.length; ++a < i; ) {
|
|
292
|
-
var u = t[a], s = void 0;
|
|
293
|
-
s === void 0 && (s = e[u]), o ? Ee(r, u, s) : Fe(r, u, s);
|
|
294
|
-
}
|
|
295
|
-
return r;
|
|
296
|
-
}
|
|
297
|
-
function Rr(e) {
|
|
298
|
-
return e;
|
|
299
|
-
}
|
|
300
|
-
function Br(e, t, r) {
|
|
301
|
-
switch (r.length) {
|
|
302
|
-
case 0:
|
|
303
|
-
return e.call(t);
|
|
304
|
-
case 1:
|
|
305
|
-
return e.call(t, r[0]);
|
|
306
|
-
case 2:
|
|
307
|
-
return e.call(t, r[0], r[1]);
|
|
308
|
-
case 3:
|
|
309
|
-
return e.call(t, r[0], r[1], r[2]);
|
|
310
|
-
}
|
|
311
|
-
return e.apply(t, r);
|
|
312
|
-
}
|
|
313
|
-
var ne = Math.max;
|
|
314
|
-
function Vr(e, t, r) {
|
|
315
|
-
return t = ne(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
316
|
-
for (var n = arguments, o = -1, a = ne(n.length - t, 0), i = Array(a); ++o < a; )
|
|
317
|
-
i[o] = n[t + o];
|
|
318
|
-
o = -1;
|
|
319
|
-
for (var u = Array(t + 1); ++o < t; )
|
|
320
|
-
u[o] = n[o];
|
|
321
|
-
return u[t] = r(i), Br(e, this, u);
|
|
322
|
-
};
|
|
323
|
-
}
|
|
324
|
-
function Wr(e) {
|
|
325
|
-
return function() {
|
|
326
|
-
return e;
|
|
327
|
-
};
|
|
328
|
-
}
|
|
329
|
-
var Yr = D ? function(e, t) {
|
|
330
|
-
return D(e, "toString", {
|
|
331
|
-
configurable: !0,
|
|
332
|
-
enumerable: !1,
|
|
333
|
-
value: Wr(t),
|
|
334
|
-
writable: !0
|
|
335
|
-
});
|
|
336
|
-
} : Rr, Gr = 800, Qr = 16, Hr = Date.now;
|
|
337
|
-
function Kr(e) {
|
|
338
|
-
var t = 0, r = 0;
|
|
339
|
-
return function() {
|
|
340
|
-
var n = Hr(), o = Qr - (n - r);
|
|
341
|
-
if (r = n, o > 0) {
|
|
342
|
-
if (++t >= Gr)
|
|
343
|
-
return arguments[0];
|
|
344
|
-
} else
|
|
345
|
-
t = 0;
|
|
346
|
-
return e.apply(void 0, arguments);
|
|
347
|
-
};
|
|
348
|
-
}
|
|
349
|
-
var Xr = Kr(Yr);
|
|
350
|
-
function Jr(e) {
|
|
351
|
-
var t = [];
|
|
352
|
-
if (e != null)
|
|
353
|
-
for (var r in Object(e))
|
|
354
|
-
t.push(r);
|
|
355
|
-
return t;
|
|
356
|
-
}
|
|
357
|
-
var Zr = Object.prototype, en = Zr.hasOwnProperty;
|
|
358
|
-
function tn(e) {
|
|
359
|
-
if (!F(e))
|
|
360
|
-
return Jr(e);
|
|
361
|
-
var t = Ur(e), r = [];
|
|
362
|
-
for (var n in e)
|
|
363
|
-
n == "constructor" && (t || !en.call(e, n)) || r.push(n);
|
|
364
|
-
return r;
|
|
365
|
-
}
|
|
366
|
-
function rn(e) {
|
|
367
|
-
return Lr(e) ? Er(e) : tn(e);
|
|
368
|
-
}
|
|
369
|
-
var Ue = Ir(Object.getPrototypeOf, Object), nn = "[object Object]", on = Function.prototype, an = Object.prototype, Ie = on.toString, ln = an.hasOwnProperty, cn = Ie.call(Object);
|
|
370
|
-
function un(e) {
|
|
371
|
-
if (!O(e) || g(e) != nn)
|
|
372
|
-
return !1;
|
|
373
|
-
var t = Ue(e);
|
|
374
|
-
if (t === null)
|
|
375
|
-
return !0;
|
|
376
|
-
var r = ln.call(t, "constructor") && t.constructor;
|
|
377
|
-
return typeof r == "function" && r instanceof r && Ie.call(r) == cn;
|
|
378
|
-
}
|
|
379
|
-
function Le(e, t) {
|
|
380
|
-
for (var r = -1, n = e == null ? 0 : e.length, o = Array(n); ++r < n; )
|
|
381
|
-
o[r] = t(e[r], r, e);
|
|
382
|
-
return o;
|
|
383
|
-
}
|
|
384
|
-
var sn = "[object Symbol]";
|
|
385
|
-
function V(e) {
|
|
386
|
-
return typeof e == "symbol" || O(e) && g(e) == sn;
|
|
387
|
-
}
|
|
388
|
-
var oe = _ ? _.prototype : void 0, ae = oe ? oe.toString : void 0;
|
|
389
|
-
function Me(e) {
|
|
390
|
-
if (typeof e == "string")
|
|
391
|
-
return e;
|
|
392
|
-
if ($(e))
|
|
393
|
-
return Le(e, Me) + "";
|
|
394
|
-
if (V(e))
|
|
395
|
-
return ae ? ae.call(e) : "";
|
|
396
|
-
var t = e + "";
|
|
397
|
-
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
398
|
-
}
|
|
399
|
-
function fn(e) {
|
|
400
|
-
return e == null ? "" : Me(e);
|
|
401
|
-
}
|
|
402
|
-
var _n = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, pn = /^\w*$/;
|
|
403
|
-
function dn(e, t) {
|
|
404
|
-
if ($(e))
|
|
405
|
-
return !1;
|
|
406
|
-
var r = typeof e;
|
|
407
|
-
return r == "number" || r == "symbol" || r == "boolean" || e == null || V(e) ? !0 : pn.test(e) || !_n.test(e) || t != null && e in Object(t);
|
|
408
|
-
}
|
|
409
|
-
var bn = "Expected a function";
|
|
410
|
-
function W(e, t) {
|
|
411
|
-
if (typeof e != "function" || t != null && typeof t != "function")
|
|
412
|
-
throw new TypeError(bn);
|
|
413
|
-
var r = function() {
|
|
414
|
-
var n = arguments, o = t ? t.apply(this, n) : n[0], a = r.cache;
|
|
415
|
-
if (a.has(o))
|
|
416
|
-
return a.get(o);
|
|
417
|
-
var i = e.apply(this, n);
|
|
418
|
-
return r.cache = a.set(o, i) || a, i;
|
|
419
|
-
};
|
|
420
|
-
return r.cache = new (W.Cache || v)(), r;
|
|
421
|
-
}
|
|
422
|
-
W.Cache = v;
|
|
423
|
-
var hn = 500;
|
|
424
|
-
function vn(e) {
|
|
425
|
-
var t = W(e, function(n) {
|
|
426
|
-
return r.size === hn && r.clear(), n;
|
|
427
|
-
}), r = t.cache;
|
|
428
|
-
return t;
|
|
429
|
-
}
|
|
430
|
-
var mn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, yn = /\\(\\)?/g, gn = vn(function(e) {
|
|
431
|
-
var t = [];
|
|
432
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(mn, function(r, n, o, a) {
|
|
433
|
-
t.push(o ? a.replace(yn, "$1") : n || r);
|
|
434
|
-
}), t;
|
|
435
|
-
});
|
|
436
|
-
function Y(e, t) {
|
|
437
|
-
return $(e) ? e : dn(e, t) ? [e] : gn(fn(e));
|
|
438
|
-
}
|
|
439
|
-
function qe(e) {
|
|
440
|
-
if (typeof e == "string" || V(e))
|
|
441
|
-
return e;
|
|
442
|
-
var t = e + "";
|
|
443
|
-
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
444
|
-
}
|
|
445
|
-
function jn(e, t) {
|
|
446
|
-
t = Y(t, e);
|
|
447
|
-
for (var r = 0, n = t.length; e != null && r < n; )
|
|
448
|
-
e = e[qe(t[r++])];
|
|
449
|
-
return r && r == n ? e : void 0;
|
|
450
|
-
}
|
|
451
|
-
function wn(e, t, r) {
|
|
452
|
-
var n = -1, o = e.length;
|
|
453
|
-
t < 0 && (t = -t > o ? 0 : o + t), r = r > o ? o : r, r < 0 && (r += o), o = t > r ? 0 : r - t >>> 0, t >>>= 0;
|
|
454
|
-
for (var a = Array(o); ++n < o; )
|
|
455
|
-
a[n] = e[n + t];
|
|
456
|
-
return a;
|
|
457
|
-
}
|
|
458
|
-
function $n() {
|
|
459
|
-
this.__data__ = new b(), this.size = 0;
|
|
460
|
-
}
|
|
461
|
-
function On(e) {
|
|
462
|
-
var t = this.__data__, r = t.delete(e);
|
|
463
|
-
return this.size = t.size, r;
|
|
464
|
-
}
|
|
465
|
-
function An(e) {
|
|
466
|
-
return this.__data__.get(e);
|
|
467
|
-
}
|
|
468
|
-
function Sn(e) {
|
|
469
|
-
return this.__data__.has(e);
|
|
470
|
-
}
|
|
471
|
-
var xn = 200;
|
|
472
|
-
function Cn(e, t) {
|
|
473
|
-
var r = this.__data__;
|
|
474
|
-
if (r instanceof b) {
|
|
475
|
-
var n = r.__data__;
|
|
476
|
-
if (!P || n.length < xn - 1)
|
|
477
|
-
return n.push([e, t]), this.size = ++r.size, this;
|
|
478
|
-
r = this.__data__ = new v(n);
|
|
479
|
-
}
|
|
480
|
-
return r.set(e, t), this.size = r.size, this;
|
|
481
|
-
}
|
|
482
|
-
function x(e) {
|
|
483
|
-
var t = this.__data__ = new b(e);
|
|
484
|
-
this.size = t.size;
|
|
485
|
-
}
|
|
486
|
-
x.prototype.clear = $n;
|
|
487
|
-
x.prototype.delete = On;
|
|
488
|
-
x.prototype.get = An;
|
|
489
|
-
x.prototype.has = Sn;
|
|
490
|
-
x.prototype.set = Cn;
|
|
491
|
-
var ie = p.Uint8Array;
|
|
492
|
-
function G(e, t) {
|
|
493
|
-
for (var r = -1, n = t.length, o = e.length; ++r < n; )
|
|
494
|
-
e[o + r] = t[r];
|
|
495
|
-
return e;
|
|
496
|
-
}
|
|
497
|
-
function Tn(e, t, r) {
|
|
498
|
-
var n = t(e);
|
|
499
|
-
return $(e) ? n : G(n, r(e));
|
|
500
|
-
}
|
|
501
|
-
function Pn(e, t) {
|
|
502
|
-
for (var r = -1, n = e == null ? 0 : e.length, o = 0, a = []; ++r < n; ) {
|
|
503
|
-
var i = e[r];
|
|
504
|
-
t(i, r, e) && (a[o++] = i);
|
|
505
|
-
}
|
|
506
|
-
return a;
|
|
507
|
-
}
|
|
508
|
-
function Ne() {
|
|
509
|
-
return [];
|
|
510
|
-
}
|
|
511
|
-
var zn = Object.prototype, kn = zn.propertyIsEnumerable, le = Object.getOwnPropertySymbols, Dn = le ? function(e) {
|
|
512
|
-
return e == null ? [] : (e = Object(e), Pn(le(e), function(t) {
|
|
513
|
-
return kn.call(e, t);
|
|
514
|
-
}));
|
|
515
|
-
} : Ne, M = w(p, "DataView"), q = w(p, "Promise"), N = w(p, "Set"), R = w(p, "WeakMap"), ce = "[object Map]", En = "[object Object]", ue = "[object Promise]", se = "[object Set]", fe = "[object WeakMap]", _e = "[object DataView]", Fn = j(M), Un = j(P), In = j(q), Ln = j(N), Mn = j(R), d = g;
|
|
516
|
-
(M && d(new M(new ArrayBuffer(1))) != _e || P && d(new P()) != ce || q && d(q.resolve()) != ue || N && d(new N()) != se || R && d(new R()) != fe) && (d = function(e) {
|
|
517
|
-
var t = g(e), r = t == En ? e.constructor : void 0, n = r ? j(r) : "";
|
|
518
|
-
if (n)
|
|
519
|
-
switch (n) {
|
|
520
|
-
case Fn:
|
|
521
|
-
return _e;
|
|
522
|
-
case Un:
|
|
523
|
-
return ce;
|
|
524
|
-
case In:
|
|
525
|
-
return ue;
|
|
526
|
-
case Ln:
|
|
527
|
-
return se;
|
|
528
|
-
case Mn:
|
|
529
|
-
return fe;
|
|
530
|
-
}
|
|
531
|
-
return t;
|
|
532
|
-
});
|
|
533
|
-
function qn(e, t) {
|
|
534
|
-
for (var r = -1, n = e == null ? 0 : e.length; ++r < n && t(e[r], r, e) !== !1; )
|
|
535
|
-
;
|
|
536
|
-
return e;
|
|
537
|
-
}
|
|
538
|
-
var Re = typeof exports == "object" && exports && !exports.nodeType && exports, pe = Re && typeof module == "object" && module && !module.nodeType && module, Nn = pe && pe.exports === Re, de = Nn ? p.Buffer : void 0;
|
|
539
|
-
de && de.allocUnsafe;
|
|
540
|
-
function Rn(e, t) {
|
|
541
|
-
return e.slice();
|
|
542
|
-
}
|
|
543
|
-
var Bn = Object.getOwnPropertySymbols, Vn = Bn ? function(e) {
|
|
544
|
-
for (var t = []; e; )
|
|
545
|
-
G(t, Dn(e)), e = Ue(e);
|
|
546
|
-
return t;
|
|
547
|
-
} : Ne;
|
|
548
|
-
function Be(e) {
|
|
549
|
-
return Tn(e, rn, Vn);
|
|
550
|
-
}
|
|
551
|
-
var Wn = Object.prototype, Yn = Wn.hasOwnProperty;
|
|
552
|
-
function Gn(e) {
|
|
553
|
-
var t = e.length, r = new e.constructor(t);
|
|
554
|
-
return t && typeof e[0] == "string" && Yn.call(e, "index") && (r.index = e.index, r.input = e.input), r;
|
|
555
|
-
}
|
|
556
|
-
function Q(e) {
|
|
557
|
-
var t = new e.constructor(e.byteLength);
|
|
558
|
-
return new ie(t).set(new ie(e)), t;
|
|
559
|
-
}
|
|
560
|
-
function Qn(e, t) {
|
|
561
|
-
var r = Q(e.buffer);
|
|
562
|
-
return new e.constructor(r, e.byteOffset, e.byteLength);
|
|
563
|
-
}
|
|
564
|
-
var Hn = /\w*$/;
|
|
565
|
-
function Kn(e) {
|
|
566
|
-
var t = new e.constructor(e.source, Hn.exec(e));
|
|
567
|
-
return t.lastIndex = e.lastIndex, t;
|
|
568
|
-
}
|
|
569
|
-
var be = _ ? _.prototype : void 0, he = be ? be.valueOf : void 0;
|
|
570
|
-
function Xn(e) {
|
|
571
|
-
return he ? Object(he.call(e)) : {};
|
|
572
|
-
}
|
|
573
|
-
function Jn(e, t) {
|
|
574
|
-
var r = Q(e.buffer);
|
|
575
|
-
return new e.constructor(r, e.byteOffset, e.length);
|
|
576
|
-
}
|
|
577
|
-
var Zn = "[object Boolean]", eo = "[object Date]", to = "[object Map]", ro = "[object Number]", no = "[object RegExp]", oo = "[object Set]", ao = "[object String]", io = "[object Symbol]", lo = "[object ArrayBuffer]", co = "[object DataView]", uo = "[object Float32Array]", so = "[object Float64Array]", fo = "[object Int8Array]", _o = "[object Int16Array]", po = "[object Int32Array]", bo = "[object Uint8Array]", ho = "[object Uint8ClampedArray]", vo = "[object Uint16Array]", mo = "[object Uint32Array]";
|
|
578
|
-
function yo(e, t, r) {
|
|
579
|
-
var n = e.constructor;
|
|
580
|
-
switch (t) {
|
|
581
|
-
case lo:
|
|
582
|
-
return Q(e);
|
|
583
|
-
case Zn:
|
|
584
|
-
case eo:
|
|
585
|
-
return new n(+e);
|
|
586
|
-
case co:
|
|
587
|
-
return Qn(e);
|
|
588
|
-
case uo:
|
|
589
|
-
case so:
|
|
590
|
-
case fo:
|
|
591
|
-
case _o:
|
|
592
|
-
case po:
|
|
593
|
-
case bo:
|
|
594
|
-
case ho:
|
|
595
|
-
case vo:
|
|
596
|
-
case mo:
|
|
597
|
-
return Jn(e);
|
|
598
|
-
case to:
|
|
599
|
-
return new n();
|
|
600
|
-
case ro:
|
|
601
|
-
case ao:
|
|
602
|
-
return new n(e);
|
|
603
|
-
case no:
|
|
604
|
-
return Kn(e);
|
|
605
|
-
case oo:
|
|
606
|
-
return new n();
|
|
607
|
-
case io:
|
|
608
|
-
return Xn(e);
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
var go = "[object Map]";
|
|
612
|
-
function jo(e) {
|
|
613
|
-
return O(e) && d(e) == go;
|
|
614
|
-
}
|
|
615
|
-
var ve = S && S.isMap, wo = ve ? B(ve) : jo, $o = "[object Set]";
|
|
616
|
-
function Oo(e) {
|
|
617
|
-
return O(e) && d(e) == $o;
|
|
618
|
-
}
|
|
619
|
-
var me = S && S.isSet, Ao = me ? B(me) : Oo, Ve = "[object Arguments]", So = "[object Array]", xo = "[object Boolean]", Co = "[object Date]", To = "[object Error]", We = "[object Function]", Po = "[object GeneratorFunction]", zo = "[object Map]", ko = "[object Number]", Ye = "[object Object]", Do = "[object RegExp]", Eo = "[object Set]", Fo = "[object String]", Uo = "[object Symbol]", Io = "[object WeakMap]", Lo = "[object ArrayBuffer]", Mo = "[object DataView]", qo = "[object Float32Array]", No = "[object Float64Array]", Ro = "[object Int8Array]", Bo = "[object Int16Array]", Vo = "[object Int32Array]", Wo = "[object Uint8Array]", Yo = "[object Uint8ClampedArray]", Go = "[object Uint16Array]", Qo = "[object Uint32Array]", l = {};
|
|
620
|
-
l[Ve] = l[So] = l[Lo] = l[Mo] = l[xo] = l[Co] = l[qo] = l[No] = l[Ro] = l[Bo] = l[Vo] = l[zo] = l[ko] = l[Ye] = l[Do] = l[Eo] = l[Fo] = l[Uo] = l[Wo] = l[Yo] = l[Go] = l[Qo] = !0;
|
|
621
|
-
l[To] = l[We] = l[Io] = !1;
|
|
622
|
-
function k(e, t, r, n, o, a) {
|
|
623
|
-
var i;
|
|
624
|
-
if (r && (i = o ? r(e, n, o, a) : r(e)), i !== void 0)
|
|
625
|
-
return i;
|
|
626
|
-
if (!F(e))
|
|
627
|
-
return e;
|
|
628
|
-
var u = $(e);
|
|
629
|
-
if (u)
|
|
630
|
-
i = Gn(e);
|
|
631
|
-
else {
|
|
632
|
-
var s = d(e), f = s == We || s == Po;
|
|
633
|
-
if (ze(e))
|
|
634
|
-
return Rn(e);
|
|
635
|
-
if (s == Ye || s == Ve || f && !o)
|
|
636
|
-
i = {};
|
|
637
|
-
else {
|
|
638
|
-
if (!l[s])
|
|
639
|
-
return o ? e : {};
|
|
640
|
-
i = yo(e, s);
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
a || (a = new x());
|
|
644
|
-
var H = a.get(e);
|
|
645
|
-
if (H)
|
|
646
|
-
return H;
|
|
647
|
-
a.set(e, i), Ao(e) ? e.forEach(function(h) {
|
|
648
|
-
i.add(k(h, t, r, h, e, a));
|
|
649
|
-
}) : wo(e) && e.forEach(function(h, m) {
|
|
650
|
-
i.set(m, k(h, t, r, m, e, a));
|
|
651
|
-
});
|
|
652
|
-
var Ge = Be, K = u ? void 0 : Ge(e);
|
|
653
|
-
return qn(K || e, function(h, m) {
|
|
654
|
-
K && (m = h, h = e[m]), Fe(i, m, k(h, t, r, m, e, a));
|
|
655
|
-
}), i;
|
|
656
|
-
}
|
|
657
|
-
function Ho(e) {
|
|
658
|
-
var t = e == null ? 0 : e.length;
|
|
659
|
-
return t ? e[t - 1] : void 0;
|
|
660
|
-
}
|
|
661
|
-
function Ko(e, t) {
|
|
662
|
-
return t.length < 2 ? e : jn(e, wn(t, 0, -1));
|
|
663
|
-
}
|
|
664
|
-
function Xo(e, t) {
|
|
665
|
-
return t = Y(t, e), e = Ko(e, t), e == null || delete e[qe(Ho(t))];
|
|
666
|
-
}
|
|
667
|
-
function Jo(e) {
|
|
668
|
-
return un(e) ? void 0 : e;
|
|
669
|
-
}
|
|
670
|
-
var ye = _ ? _.isConcatSpreadable : void 0;
|
|
671
|
-
function Zo(e) {
|
|
672
|
-
return $(e) || Te(e) || !!(ye && e && e[ye]);
|
|
673
|
-
}
|
|
674
|
-
function ea(e, t, r, n, o) {
|
|
675
|
-
var a = -1, i = e.length;
|
|
676
|
-
for (r || (r = Zo), o || (o = []); ++a < i; ) {
|
|
677
|
-
var u = e[a];
|
|
678
|
-
r(u) ? G(o, u) : o[o.length] = u;
|
|
679
|
-
}
|
|
680
|
-
return o;
|
|
681
|
-
}
|
|
682
|
-
function ta(e) {
|
|
683
|
-
var t = e == null ? 0 : e.length;
|
|
684
|
-
return t ? ea(e) : [];
|
|
685
|
-
}
|
|
686
|
-
function ra(e) {
|
|
687
|
-
return Xr(Vr(e, void 0, ta), e + "");
|
|
688
|
-
}
|
|
689
|
-
var na = 1, oa = 2, aa = 4, A = ra(function(e, t) {
|
|
690
|
-
var r = {};
|
|
691
|
-
if (e == null)
|
|
692
|
-
return r;
|
|
693
|
-
var n = !1;
|
|
694
|
-
t = Le(t, function(a) {
|
|
695
|
-
return a = Y(a, e), n || (n = a.length > 1), a;
|
|
696
|
-
}), Nr(e, Be(e), r), n && (r = k(r, na | oa | aa, Jo));
|
|
697
|
-
for (var o = t.length; o--; )
|
|
698
|
-
Xo(r, t[o]);
|
|
699
|
-
return r;
|
|
700
|
-
});
|
|
701
|
-
const ge = {
|
|
702
|
-
yes: "Yes",
|
|
703
|
-
no: "No",
|
|
704
|
-
increase: "increase",
|
|
705
|
-
decrease: "Decrease",
|
|
706
|
-
could_not_get_data: "Couldn't get the data",
|
|
707
|
-
nothing_to_show: "Nothing to show",
|
|
708
|
-
loading: "Loading...",
|
|
709
|
-
close: "Close",
|
|
710
|
-
ok: "Ok",
|
|
711
|
-
see_value: "See value",
|
|
712
|
-
see_name: 'See: "{name}"',
|
|
713
|
-
add: "Add",
|
|
714
|
-
clear: "Clear",
|
|
715
|
-
required_verification: "* Required. The information provided will be verified.",
|
|
716
|
-
previous: "Previous",
|
|
717
|
-
next: "Next",
|
|
718
|
-
send: "Send",
|
|
719
|
-
delete: "Select to delete | Delete | Delete {count}",
|
|
720
|
-
delete_all: "Delete all",
|
|
721
|
-
pick: "Pick",
|
|
722
|
-
refresh: "Refresh",
|
|
723
|
-
render_error: "Couldn't render the contents due to an unknown error",
|
|
724
|
-
swal: {
|
|
725
|
-
cancel: "Cancel",
|
|
726
|
-
continue: "Continue",
|
|
727
|
-
error: "Error!",
|
|
728
|
-
error_message: "Something went wrong!",
|
|
729
|
-
connection_error: "Connection error!",
|
|
730
|
-
connection_error_message: "The server is not responding. Please check your network or try again later",
|
|
731
|
-
connection_error_confirm: "Retry",
|
|
732
|
-
incomplete_data: "Incomplete data",
|
|
733
|
-
incomplete_data_message: "Fill the data acorddinly",
|
|
734
|
-
dont_close_window: "Don't close this window while we finish the task"
|
|
735
|
-
}
|
|
736
|
-
}, je = {
|
|
737
|
-
select_selected: "Selected",
|
|
738
|
-
select_placeholder: "--SELECT--",
|
|
739
|
-
select_restablish_field: "Restablish field",
|
|
740
|
-
select_filter_options: "Type or Double click for options",
|
|
741
|
-
file_one_of_amount: "{count} of {amount}",
|
|
742
|
-
file_delete_files: "Delete file | Delete files",
|
|
743
|
-
file_thumb: "Thumbnail",
|
|
744
|
-
file_choose_file: "Choose a file | Choose files",
|
|
745
|
-
file_or_drop_files_here: "Or drop it here | Or drop them here",
|
|
746
|
-
file_max_file_size_mb: "maximum {size}MB per file",
|
|
747
|
-
file_drop_files_here: "Drop file here | Drop files here",
|
|
748
|
-
file_completed: "Completed",
|
|
749
|
-
file_loading_files: "Loading file... | Loading files...",
|
|
750
|
-
swal: {
|
|
751
|
-
file_limit: "File limit",
|
|
752
|
-
file_limit_text: "This field only allows {amount} file | This field only allows {amount} files",
|
|
753
|
-
file_wrong_format_image: "Wrong format",
|
|
754
|
-
file_wrong_format_image_text: "This field only allows image files",
|
|
755
|
-
file_too_big: "File too big",
|
|
756
|
-
file_too_big_text: "The file exceeds the allowed size",
|
|
757
|
-
file_unknown_error: "Something went wrong",
|
|
758
|
-
file_unknown_error_text: "There was an error uploding the files, try again later"
|
|
759
|
-
}
|
|
760
|
-
}, we = {
|
|
761
|
-
modal_taking_too_long: "Taking too long?",
|
|
762
|
-
swal: {
|
|
763
|
-
modal_unauthorized: "Unauthorized",
|
|
764
|
-
modal_unauthorized_text: "You are not allowed to perform this action"
|
|
765
|
-
}
|
|
766
|
-
}, ia = {
|
|
767
|
-
form_required_options: "Options are required",
|
|
768
|
-
form_requires_n_values: "No values are required | A value is required | {count} values are required",
|
|
769
|
-
form_loading_countries: "Loading countries...",
|
|
770
|
-
form_country: "Look for country",
|
|
771
|
-
form_state: "Look for state",
|
|
772
|
-
form_city: "Look for city",
|
|
773
|
-
form_desired_password: "Desired password",
|
|
774
|
-
form_confirm_password: "Confirm password",
|
|
775
|
-
form_check_password: "Check password",
|
|
776
|
-
form_password: "Password",
|
|
777
|
-
form_email: "E-mail address",
|
|
778
|
-
form_phone_line: "Phone line",
|
|
779
|
-
form_cellphone: "Cellphone number",
|
|
780
|
-
form_id_number: "ID number",
|
|
781
|
-
form_complete_the_field: "Complete the field",
|
|
782
|
-
form_location: "Location",
|
|
783
|
-
form_invalid_field: "This field is invalid, fill it properly",
|
|
784
|
-
form_required_field: "This field is required and can't be empty",
|
|
785
|
-
form_use_valid_email: "You should use a valid E-mail address",
|
|
786
|
-
form_use_valid_phone: "Too short. Use a valid phone number",
|
|
787
|
-
form_use_valid_cellphone: "You should use a valid cellphone number",
|
|
788
|
-
form_unmatching_passwords: "The passwords are unmatching",
|
|
789
|
-
form_invalid_data: "Invalid data",
|
|
790
|
-
form_no_values: "No values",
|
|
791
|
-
form_new_value: "New value"
|
|
792
|
-
// swal: {},
|
|
793
|
-
}, $e = {
|
|
794
|
-
table_see_values: "See {name}",
|
|
795
|
-
table_see_name: 'See: "{name}"',
|
|
796
|
-
table_hide_name: 'Hide: "{name}"',
|
|
797
|
-
table_create_new: "Create new",
|
|
798
|
-
table_create_new_name: 'Create new "{name}"',
|
|
799
|
-
table_quantity: "Quantity: {count}",
|
|
800
|
-
table_modify: "Modify",
|
|
801
|
-
table_select: "Select",
|
|
802
|
-
table_select_all: "Select all",
|
|
803
|
-
table_update: "Update",
|
|
804
|
-
table_update_name: 'Update: "{name}"',
|
|
805
|
-
table_delete: "Delete",
|
|
806
|
-
table_delete_name: 'Delete: "{name}"',
|
|
807
|
-
table_showing_name: 'Showing: "{name}"',
|
|
808
|
-
table_sort_by_name: 'Sort by: "{name}"',
|
|
809
|
-
table_duplicate: "Duplicate",
|
|
810
|
-
table_options: "Options",
|
|
811
|
-
table_open_url: "Open URL",
|
|
812
|
-
table_hide_all: "Hide all",
|
|
813
|
-
table_show_all: "Show all",
|
|
814
|
-
swal: {
|
|
815
|
-
table_delete_node_title: "Are you sure you want to delete this element?",
|
|
816
|
-
table_delete_node_disclaimer: "Remember that you wont be able to recover this element data and you will lost all of your work",
|
|
817
|
-
table_deleted: "Successfull deletion",
|
|
818
|
-
table_delete_nodes_title: "Are you sure you want to delete this element? | Are you sure you want to delete these {count} elements?",
|
|
819
|
-
table_delete_nodes_disclaimer: "Remember that you wont be able to recover these elements data and you will lost all of your work",
|
|
820
|
-
table_possibly_not_deleted: "The item may not have been deleted | The items may not have been deleted",
|
|
821
|
-
table_updated: "Successfull update",
|
|
822
|
-
table_possibly_not_updated: "The item may not have been updated | The items may not have been updated",
|
|
823
|
-
table_created: "Successfull create",
|
|
824
|
-
table_possibly_not_created: "The item may not have been created | The items may not have been created",
|
|
825
|
-
table_cloned: "Successfull cloning",
|
|
826
|
-
table_possibly_not_cloned: "The item may not have been cloned | The items may not have been cloned"
|
|
827
|
-
}
|
|
828
|
-
}, la = {
|
|
829
|
-
pagination_items: "No items | Single item | {count} items",
|
|
830
|
-
pagination_pages: "No pages | Single page | {count} pages"
|
|
831
|
-
// swal: {},
|
|
832
|
-
}, ca = {
|
|
833
|
-
...A(ge, "swal"),
|
|
834
|
-
...A(je, "swal"),
|
|
835
|
-
...A(we, "swal"),
|
|
836
|
-
...A(ia, "swal"),
|
|
837
|
-
...A($e, "swal"),
|
|
838
|
-
...A(la, "swal"),
|
|
839
|
-
swal: {
|
|
840
|
-
...ge.swal,
|
|
841
|
-
...je.swal,
|
|
842
|
-
...we.swal,
|
|
843
|
-
// ...localeForm.swal,
|
|
844
|
-
...$e.swal
|
|
845
|
-
// ...localePagination.swal,
|
|
846
|
-
}
|
|
847
|
-
}, _a = {
|
|
848
|
-
install(e, t) {
|
|
849
|
-
t = {
|
|
850
|
-
// Set plugin defaults
|
|
851
|
-
globalComponents: !0,
|
|
852
|
-
componentPrefix: "xamu",
|
|
853
|
-
mediaQueryPixels: { laptop: 1080, tablet: 768, mobile: 576 },
|
|
854
|
-
locale: ca,
|
|
855
|
-
lang: "en",
|
|
856
|
-
first: 10,
|
|
857
|
-
// override defaults
|
|
858
|
-
...t
|
|
859
|
-
};
|
|
860
|
-
const { globalComponents: r, componentPrefix: n, webComponents: o } = t;
|
|
861
|
-
if (e.provide("xamu", t), !r) return;
|
|
862
|
-
(Array.isArray(r) ? r : Ze).forEach((i) => {
|
|
863
|
-
const u = Xe(et(n)) + i, s = Je[i];
|
|
864
|
-
if (o) {
|
|
865
|
-
const f = Qe(s);
|
|
866
|
-
customElements.define(u, f);
|
|
867
|
-
} else
|
|
868
|
-
e.component(u, s);
|
|
869
|
-
});
|
|
870
|
-
}
|
|
871
|
-
};
|
|
872
|
-
export {
|
|
873
|
-
_a as XamuPlugin
|
|
874
|
-
};
|