@evercam/ui 0.0.35 → 0.0.36
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/dist/index.mjs +48 -57
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -82,17 +82,17 @@ function V(e, t, r, o, s, l, i, b) {
|
|
|
82
82
|
var Pe = function() {
|
|
83
83
|
var t = this, r = t._self._c;
|
|
84
84
|
return r("span", { staticClass: "e-badge", class: t.badgeClasses }, [t.showText ? r("span", [t._v(t._s(t.text))]) : t._e()]);
|
|
85
|
-
},
|
|
85
|
+
}, ze = [], Ae = /* @__PURE__ */ V(
|
|
86
86
|
Oe,
|
|
87
87
|
Pe,
|
|
88
|
-
|
|
88
|
+
ze,
|
|
89
89
|
!1,
|
|
90
90
|
null,
|
|
91
91
|
null,
|
|
92
92
|
null,
|
|
93
93
|
null
|
|
94
94
|
);
|
|
95
|
-
const se =
|
|
95
|
+
const se = Ae.exports, Fe = W.extend({
|
|
96
96
|
name: "EAvatar",
|
|
97
97
|
components: {
|
|
98
98
|
Badge: se
|
|
@@ -152,7 +152,7 @@ var Te = function() {
|
|
|
152
152
|
return [r("Badge", { attrs: { text: t.badgeText, color: t.badgeColor, size: t.badgeSize } })];
|
|
153
153
|
})], 2) : t._e()], 2);
|
|
154
154
|
}, je = [], Le = /* @__PURE__ */ V(
|
|
155
|
-
|
|
155
|
+
Fe,
|
|
156
156
|
Te,
|
|
157
157
|
je,
|
|
158
158
|
!1,
|
|
@@ -396,8 +396,8 @@ var ce = {};
|
|
|
396
396
|
];
|
|
397
397
|
}
|
|
398
398
|
})(ce);
|
|
399
|
-
var Q = {}, H = {}, ee = { exports: {} },
|
|
400
|
-
return { isColorSupported: !1, reset:
|
|
399
|
+
var Q = {}, H = {}, ee = { exports: {} }, A = String, de = function() {
|
|
400
|
+
return { isColorSupported: !1, reset: A, bold: A, dim: A, italic: A, underline: A, inverse: A, hidden: A, strikethrough: A, black: A, red: A, green: A, yellow: A, blue: A, magenta: A, cyan: A, white: A, gray: A, bgBlack: A, bgRed: A, bgGreen: A, bgYellow: A, bgBlue: A, bgMagenta: A, bgCyan: A, bgWhite: A };
|
|
401
401
|
};
|
|
402
402
|
ee.exports = de();
|
|
403
403
|
ee.exports.createColors = de;
|
|
@@ -910,8 +910,8 @@ var ge = {}, G = {};
|
|
|
910
910
|
return g.future === "all" || ((k = (h = g == null || (S = g.future) === null || S === void 0 ? void 0 : S[d]) !== null && h !== void 0 ? h : l[d]) !== null && k !== void 0 ? k : !1);
|
|
911
911
|
}
|
|
912
912
|
if (i.experimental.includes(d)) {
|
|
913
|
-
var O,
|
|
914
|
-
return g.experimental === "all" || ((T = (
|
|
913
|
+
var O, F, T;
|
|
914
|
+
return g.experimental === "all" || ((T = (F = g == null || (O = g.experimental) === null || O === void 0 ? void 0 : O[d]) !== null && F !== void 0 ? F : l[d]) !== null && T !== void 0 ? T : !1);
|
|
915
915
|
}
|
|
916
916
|
return !1;
|
|
917
917
|
}
|
|
@@ -1043,8 +1043,8 @@ var ge = {}, G = {};
|
|
|
1043
1043
|
})(),
|
|
1044
1044
|
extract: (() => {
|
|
1045
1045
|
let n = (() => {
|
|
1046
|
-
var d, S, h, k, O,
|
|
1047
|
-
return !((d = i.purge) === null || d === void 0) && d.extract ? i.purge.extract : !((S = i.content) === null || S === void 0) && S.extract ? i.content.extract : !((h = i.purge) === null || h === void 0 || (k = h.extract) === null || k === void 0) && k.DEFAULT ? i.purge.extract.DEFAULT : !((O = i.content) === null || O === void 0 || (
|
|
1046
|
+
var d, S, h, k, O, F, T, z, j, L;
|
|
1047
|
+
return !((d = i.purge) === null || d === void 0) && d.extract ? i.purge.extract : !((S = i.content) === null || S === void 0) && S.extract ? i.content.extract : !((h = i.purge) === null || h === void 0 || (k = h.extract) === null || k === void 0) && k.DEFAULT ? i.purge.extract.DEFAULT : !((O = i.content) === null || O === void 0 || (F = O.extract) === null || F === void 0) && F.DEFAULT ? i.content.extract.DEFAULT : !((T = i.purge) === null || T === void 0 || (z = T.options) === null || z === void 0) && z.extractors ? i.purge.options.extractors : !((j = i.content) === null || j === void 0 || (L = j.options) === null || L === void 0) && L.extractors ? i.content.options.extractors : {};
|
|
1048
1048
|
})(), p = {}, g = (() => {
|
|
1049
1049
|
var d, S, h, k;
|
|
1050
1050
|
if (!((d = i.purge) === null || d === void 0 || (S = d.options) === null || S === void 0) && S.defaultExtractor)
|
|
@@ -1909,7 +1909,7 @@ var te = {}, re = {}, xe = {};
|
|
|
1909
1909
|
}
|
|
1910
1910
|
let s = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, l = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, i = /(?:\d+|\d*\.\d+)%?/, b = /(?:\s*,\s*|\s+)/, a = /\s*[,/]\s*/, n = /var\(--(?:[^ )]*?)\)/, p = new RegExp(`^(rgba?)\\(\\s*(${i.source}|${n.source})(?:${b.source}(${i.source}|${n.source}))?(?:${b.source}(${i.source}|${n.source}))?(?:${a.source}(${i.source}|${n.source}))?\\s*\\)$`), g = new RegExp(`^(hsla?)\\(\\s*((?:${i.source})(?:deg|rad|grad|turn)?|${n.source})(?:${b.source}(${i.source}|${n.source}))?(?:${b.source}(${i.source}|${n.source}))?(?:${a.source}(${i.source}|${n.source}))?\\s*\\)$`);
|
|
1911
1911
|
function d(h, { loose: k = !1 } = {}) {
|
|
1912
|
-
var O,
|
|
1912
|
+
var O, F;
|
|
1913
1913
|
if (typeof h != "string")
|
|
1914
1914
|
return null;
|
|
1915
1915
|
if (h = h.trim(), h === "transparent")
|
|
@@ -1947,8 +1947,8 @@ var te = {}, re = {}, xe = {};
|
|
|
1947
1947
|
].map((R) => R.toString()),
|
|
1948
1948
|
alpha: T[4] ? (parseInt(T[4], 16) / 255).toString() : void 0
|
|
1949
1949
|
};
|
|
1950
|
-
var
|
|
1951
|
-
let j = (
|
|
1950
|
+
var z;
|
|
1951
|
+
let j = (z = h.match(p)) !== null && z !== void 0 ? z : h.match(g);
|
|
1952
1952
|
if (j === null)
|
|
1953
1953
|
return null;
|
|
1954
1954
|
let L = [
|
|
@@ -1965,12 +1965,12 @@ var te = {}, re = {}, xe = {};
|
|
|
1965
1965
|
} : !k && L.length !== 3 || L.length < 3 && !L.some((R) => /^var\(.*?\)$/.test(R)) ? null : {
|
|
1966
1966
|
mode: j[1],
|
|
1967
1967
|
color: L,
|
|
1968
|
-
alpha: (O = j[5]) === null || O === void 0 || (
|
|
1968
|
+
alpha: (O = j[5]) === null || O === void 0 || (F = O.toString) === null || F === void 0 ? void 0 : F.call(O)
|
|
1969
1969
|
};
|
|
1970
1970
|
}
|
|
1971
1971
|
function S({ mode: h, color: k, alpha: O }) {
|
|
1972
|
-
let
|
|
1973
|
-
return h === "rgba" || h === "hsla" ? `${h}(${k.join(", ")}${
|
|
1972
|
+
let F = O !== void 0;
|
|
1973
|
+
return h === "rgba" || h === "hsla" ? `${h}(${k.join(", ")}${F ? `, ${O}` : ""})` : `${h}(${k.join(" ")}${F ? ` / ${O}` : ""})`;
|
|
1974
1974
|
}
|
|
1975
1975
|
})(re);
|
|
1976
1976
|
(function(e) {
|
|
@@ -2136,7 +2136,7 @@ var ne = {}, _e = {}, X = {};
|
|
|
2136
2136
|
return T;
|
|
2137
2137
|
},
|
|
2138
2138
|
shadow: function() {
|
|
2139
|
-
return
|
|
2139
|
+
return z;
|
|
2140
2140
|
},
|
|
2141
2141
|
color: function() {
|
|
2142
2142
|
return j;
|
|
@@ -2228,15 +2228,15 @@ var ne = {}, _e = {}, X = {};
|
|
|
2228
2228
|
function O(u) {
|
|
2229
2229
|
return u === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${k}$`).test(u) || i(u);
|
|
2230
2230
|
}
|
|
2231
|
-
let
|
|
2231
|
+
let F = /* @__PURE__ */ new Set([
|
|
2232
2232
|
"thin",
|
|
2233
2233
|
"medium",
|
|
2234
2234
|
"thick"
|
|
2235
2235
|
]);
|
|
2236
2236
|
function T(u) {
|
|
2237
|
-
return
|
|
2237
|
+
return F.has(u);
|
|
2238
2238
|
}
|
|
2239
|
-
function
|
|
2239
|
+
function z(u) {
|
|
2240
2240
|
let x = (0, o.parseBoxShadowValue)(n(u));
|
|
2241
2241
|
for (let P of x)
|
|
2242
2242
|
if (!P.valid)
|
|
@@ -2371,7 +2371,7 @@ var we = {};
|
|
|
2371
2371
|
return k;
|
|
2372
2372
|
},
|
|
2373
2373
|
asColor: function() {
|
|
2374
|
-
return
|
|
2374
|
+
return F;
|
|
2375
2375
|
},
|
|
2376
2376
|
asLookupValue: function() {
|
|
2377
2377
|
return T;
|
|
@@ -2444,7 +2444,7 @@ var we = {};
|
|
|
2444
2444
|
function O(m) {
|
|
2445
2445
|
return (0, s.normalize)(m.slice(1, -1));
|
|
2446
2446
|
}
|
|
2447
|
-
function
|
|
2447
|
+
function F(m, E = {}, { tailwindConfig: _ = {} } = {}) {
|
|
2448
2448
|
var c;
|
|
2449
2449
|
if (((c = E.values) === null || c === void 0 ? void 0 : c[m]) !== void 0) {
|
|
2450
2450
|
var y;
|
|
@@ -2464,28 +2464,28 @@ var we = {};
|
|
|
2464
2464
|
var _;
|
|
2465
2465
|
return (_ = E.values) === null || _ === void 0 ? void 0 : _[m];
|
|
2466
2466
|
}
|
|
2467
|
-
function
|
|
2467
|
+
function z(m) {
|
|
2468
2468
|
return (E, _) => d(E, _, {
|
|
2469
2469
|
validate: m
|
|
2470
2470
|
});
|
|
2471
2471
|
}
|
|
2472
2472
|
let j = {
|
|
2473
2473
|
any: d,
|
|
2474
|
-
color:
|
|
2475
|
-
url:
|
|
2476
|
-
image:
|
|
2477
|
-
length:
|
|
2478
|
-
percentage:
|
|
2479
|
-
position:
|
|
2474
|
+
color: F,
|
|
2475
|
+
url: z(s.url),
|
|
2476
|
+
image: z(s.image),
|
|
2477
|
+
length: z(s.length),
|
|
2478
|
+
percentage: z(s.percentage),
|
|
2479
|
+
position: z(s.position),
|
|
2480
2480
|
lookup: T,
|
|
2481
|
-
"generic-name":
|
|
2482
|
-
"family-name":
|
|
2483
|
-
number:
|
|
2484
|
-
"line-width":
|
|
2485
|
-
"absolute-size":
|
|
2486
|
-
"relative-size":
|
|
2487
|
-
shadow:
|
|
2488
|
-
size:
|
|
2481
|
+
"generic-name": z(s.genericName),
|
|
2482
|
+
"family-name": z(s.familyName),
|
|
2483
|
+
number: z(s.number),
|
|
2484
|
+
"line-width": z(s.lineWidth),
|
|
2485
|
+
"absolute-size": z(s.absoluteSize),
|
|
2486
|
+
"relative-size": z(s.relativeSize),
|
|
2487
|
+
shadow: z(s.shadow),
|
|
2488
|
+
size: z(i.backgroundSize)
|
|
2489
2489
|
}, L = Object.keys(j);
|
|
2490
2490
|
function R(m, E) {
|
|
2491
2491
|
let _ = m.indexOf(E);
|
|
@@ -2603,7 +2603,7 @@ var Se = {};
|
|
|
2603
2603
|
}), {});
|
|
2604
2604
|
}
|
|
2605
2605
|
};
|
|
2606
|
-
function
|
|
2606
|
+
function F(c, ...y) {
|
|
2607
2607
|
return h(c) ? c(...y) : c;
|
|
2608
2608
|
}
|
|
2609
2609
|
function T(c) {
|
|
@@ -2617,7 +2617,7 @@ var Se = {};
|
|
|
2617
2617
|
f
|
|
2618
2618
|
]), {});
|
|
2619
2619
|
}
|
|
2620
|
-
function
|
|
2620
|
+
function z(c) {
|
|
2621
2621
|
return {
|
|
2622
2622
|
...c.reduce((y, v) => (0, l.defaults)(y, v), {}),
|
|
2623
2623
|
// In order to resolve n config objects, we combine all of their `extend` properties
|
|
@@ -2640,7 +2640,7 @@ var Se = {};
|
|
|
2640
2640
|
return k(y, c, (v, f) => !h(v) && !f.some(h) ? k({}, v, ...f, j) : (C, u) => k({}, ...[
|
|
2641
2641
|
v,
|
|
2642
2642
|
...f
|
|
2643
|
-
].map((x) =>
|
|
2643
|
+
].map((x) => F(x, C, u)), j));
|
|
2644
2644
|
}
|
|
2645
2645
|
function* R(c) {
|
|
2646
2646
|
let y = (0, i.toPath)(c);
|
|
@@ -2720,7 +2720,7 @@ var Se = {};
|
|
|
2720
2720
|
];
|
|
2721
2721
|
var v, f;
|
|
2722
2722
|
return (0, b.normalizeConfig)((0, l.defaults)({
|
|
2723
|
-
theme: B(L(
|
|
2723
|
+
theme: B(L(z(y.map((C) => (v = C == null ? void 0 : C.theme) !== null && v !== void 0 ? v : {})))),
|
|
2724
2724
|
corePlugins: m(y.map((C) => C.corePlugins)),
|
|
2725
2725
|
plugins: E(c.map((C) => (f = C == null ? void 0 : C.plugins) !== null && f !== void 0 ? f : []))
|
|
2726
2726
|
}, ...y));
|
|
@@ -3950,7 +3950,7 @@ const Be = {
|
|
|
3950
3950
|
D.success,
|
|
3951
3951
|
D.primary,
|
|
3952
3952
|
D.default
|
|
3953
|
-
],
|
|
3953
|
+
], zt = [
|
|
3954
3954
|
"play",
|
|
3955
3955
|
"pause",
|
|
3956
3956
|
"ended",
|
|
@@ -4622,7 +4622,7 @@ const vt = W.extend({
|
|
|
4622
4622
|
size: {
|
|
4623
4623
|
type: String,
|
|
4624
4624
|
validator: function(e) {
|
|
4625
|
-
return
|
|
4625
|
+
return ["small", "big", "normal"].includes(e);
|
|
4626
4626
|
},
|
|
4627
4627
|
default: "normal"
|
|
4628
4628
|
},
|
|
@@ -4645,16 +4645,7 @@ const vt = W.extend({
|
|
|
4645
4645
|
return e = e === "ad" ? "andorra" : e, `f-${e}`;
|
|
4646
4646
|
},
|
|
4647
4647
|
flagMargin() {
|
|
4648
|
-
|
|
4649
|
-
case "small":
|
|
4650
|
-
return "small-flag";
|
|
4651
|
-
case "normal":
|
|
4652
|
-
return "normal-flag";
|
|
4653
|
-
case "big":
|
|
4654
|
-
return "big-flag";
|
|
4655
|
-
default:
|
|
4656
|
-
return "normal-flag";
|
|
4657
|
-
}
|
|
4648
|
+
return ["small", "big", "normal"].includes(this.size) ? `${this.size}-flag` : "normal-flag";
|
|
4658
4649
|
}
|
|
4659
4650
|
}
|
|
4660
4651
|
});
|
|
@@ -4667,7 +4658,7 @@ var xt = function() {
|
|
|
4667
4658
|
_t,
|
|
4668
4659
|
!1,
|
|
4669
4660
|
null,
|
|
4670
|
-
"
|
|
4661
|
+
"113d7c3e",
|
|
4671
4662
|
null,
|
|
4672
4663
|
null
|
|
4673
4664
|
);
|
|
@@ -4702,7 +4693,7 @@ const St = wt.exports, Ct = {
|
|
|
4702
4693
|
ECol: dt,
|
|
4703
4694
|
EVideoPlayer: bt,
|
|
4704
4695
|
ECountryFlag: St
|
|
4705
|
-
},
|
|
4696
|
+
}, At = {
|
|
4706
4697
|
install(e) {
|
|
4707
4698
|
Object.keys(ae).forEach((t) => {
|
|
4708
4699
|
e.component(t, ae[t]);
|
|
@@ -4725,14 +4716,14 @@ export {
|
|
|
4725
4716
|
Je as EIcon,
|
|
4726
4717
|
st as ERow,
|
|
4727
4718
|
ke as ESpinner,
|
|
4728
|
-
|
|
4719
|
+
zt as EVENTS,
|
|
4729
4720
|
bt as EVideoPlayer,
|
|
4730
4721
|
He as IconSizes,
|
|
4731
4722
|
Ct as ResizeObserverDirective,
|
|
4732
4723
|
w as Size,
|
|
4733
4724
|
Ie as TextSizes,
|
|
4734
4725
|
ae as components,
|
|
4735
|
-
|
|
4726
|
+
At as default,
|
|
4736
4727
|
pt as exitFullScreen,
|
|
4737
4728
|
Ee as fullConfig,
|
|
4738
4729
|
$e as isFullScreen,
|