@evercam/ui 0.0.25 → 0.0.26
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 +136 -166
- 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/components/EVideoPlayer.vue.d.ts +0 -8
- package/dist/src/index.d.ts +0 -8
- package/dist/style.css +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
var w = /* @__PURE__ */ ((e) => (e.dot = "dot", e.xs = "xs", e.sm = "sm", e.md = "base", e.base = "base", e.lg = "lg", e.xl = "xl", e["2xl"] = "2xl", e["3xl"] = "3xl", e["4xl"] = "4xl", e["5xl"] = "5xl", e["6xl"] = "6xl", e["7xl"] = "7xl", e["8xl"] = "8xl", e["9xl"] = "9xl", e))(w || {}),
|
|
3
|
-
const
|
|
1
|
+
import W from "vue";
|
|
2
|
+
var w = /* @__PURE__ */ ((e) => (e.dot = "dot", e.xs = "xs", e.sm = "sm", e.md = "base", e.base = "base", e.lg = "lg", e.xl = "xl", e["2xl"] = "2xl", e["3xl"] = "3xl", e["4xl"] = "4xl", e["5xl"] = "5xl", e["6xl"] = "6xl", e["7xl"] = "7xl", e["8xl"] = "8xl", e["9xl"] = "9xl", e))(w || {}), D = /* @__PURE__ */ ((e) => (e.warning = "warning", e.error = "error", e.info = "info", e.success = "success", e.primary = "primary", e.brand = "brand", e.default = "default", e))(D || {});
|
|
3
|
+
const $e = W.extend({
|
|
4
4
|
name: "EBadge",
|
|
5
5
|
props: {
|
|
6
6
|
text: {
|
|
@@ -9,7 +9,7 @@ const Pe = V.extend({
|
|
|
9
9
|
},
|
|
10
10
|
color: {
|
|
11
11
|
type: String,
|
|
12
|
-
default:
|
|
12
|
+
default: D.default
|
|
13
13
|
},
|
|
14
14
|
size: {
|
|
15
15
|
type: String,
|
|
@@ -19,12 +19,12 @@ const Pe = V.extend({
|
|
|
19
19
|
data() {
|
|
20
20
|
return {
|
|
21
21
|
colors: {
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
22
|
+
[D.error]: "e-bg-rose-500 e-text-white",
|
|
23
|
+
[D.info]: "e-bg-cyan-500 e-text-white",
|
|
24
|
+
[D.warning]: "e-bg-amber-500 e-text-white",
|
|
25
|
+
[D.primary]: "e-bg-sky-500 e-text-white",
|
|
26
|
+
[D.default]: "e-bg-slate-300 e-text-white",
|
|
27
|
+
[D.success]: "e-bg-lime-500 e-text-white"
|
|
28
28
|
},
|
|
29
29
|
sizes: {
|
|
30
30
|
[w.dot]: "e-w-2 e-h-2",
|
|
@@ -38,7 +38,7 @@ const Pe = V.extend({
|
|
|
38
38
|
},
|
|
39
39
|
computed: {
|
|
40
40
|
badgeClasses() {
|
|
41
|
-
const e = this.colors[this.color] || this.colors[
|
|
41
|
+
const e = this.colors[this.color] || this.colors[D.default], t = this.sizes[this.size] || this.sizes[w.md];
|
|
42
42
|
return [
|
|
43
43
|
"e-flex e-items-center e-justify-center e-rounded-full",
|
|
44
44
|
e,
|
|
@@ -50,7 +50,7 @@ const Pe = V.extend({
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
|
-
function
|
|
53
|
+
function V(e, t, r, o, s, l, i, b) {
|
|
54
54
|
var a = typeof e == "function" ? e.options : e;
|
|
55
55
|
t && (a.render = t, a.staticRenderFns = r, a._compiled = !0), o && (a.functional = !0), l && (a._scopeId = "data-v-" + l);
|
|
56
56
|
var n;
|
|
@@ -82,8 +82,8 @@ function W(e, t, r, o, s, l, i, b) {
|
|
|
82
82
|
var Oe = 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
|
-
}, Ae = [], Fe = /* @__PURE__ */
|
|
86
|
-
|
|
85
|
+
}, Ae = [], Fe = /* @__PURE__ */ V(
|
|
86
|
+
$e,
|
|
87
87
|
Oe,
|
|
88
88
|
Ae,
|
|
89
89
|
!1,
|
|
@@ -92,7 +92,7 @@ var Oe = function() {
|
|
|
92
92
|
null,
|
|
93
93
|
null
|
|
94
94
|
);
|
|
95
|
-
const se = Fe.exports, ze =
|
|
95
|
+
const se = Fe.exports, ze = W.extend({
|
|
96
96
|
name: "EAvatar",
|
|
97
97
|
components: {
|
|
98
98
|
Badge: se
|
|
@@ -108,7 +108,7 @@ const se = Fe.exports, ze = V.extend({
|
|
|
108
108
|
},
|
|
109
109
|
badgeColor: {
|
|
110
110
|
type: String,
|
|
111
|
-
default:
|
|
111
|
+
default: D.error
|
|
112
112
|
},
|
|
113
113
|
badgeText: {
|
|
114
114
|
type: String,
|
|
@@ -151,7 +151,7 @@ var Te = function() {
|
|
|
151
151
|
}), t.showBadge ? r("div", { staticClass: "e-avatar__badge e-absolute e-top-0 e-right-0" }, [t._t("badge", function() {
|
|
152
152
|
return [r("Badge", { attrs: { text: t.badgeText, color: t.badgeColor, size: t.badgeSize } })];
|
|
153
153
|
})], 2) : t._e()], 2);
|
|
154
|
-
}, je = [],
|
|
154
|
+
}, je = [], Le = /* @__PURE__ */ V(
|
|
155
155
|
ze,
|
|
156
156
|
Te,
|
|
157
157
|
je,
|
|
@@ -161,8 +161,8 @@ var Te = function() {
|
|
|
161
161
|
null,
|
|
162
162
|
null
|
|
163
163
|
);
|
|
164
|
-
const
|
|
165
|
-
function
|
|
164
|
+
const De = Le.exports;
|
|
165
|
+
function Me(e) {
|
|
166
166
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
167
167
|
}
|
|
168
168
|
var oe = {}, le = {}, Z = {};
|
|
@@ -906,12 +906,12 @@ var ge = {}, G = {};
|
|
|
906
906
|
};
|
|
907
907
|
function b(g, d) {
|
|
908
908
|
if (i.future.includes(d)) {
|
|
909
|
-
var S, h,
|
|
910
|
-
return g.future === "all" || ((
|
|
909
|
+
var S, h, E;
|
|
910
|
+
return g.future === "all" || ((E = (h = g == null || (S = g.future) === null || S === void 0 ? void 0 : S[d]) !== null && h !== void 0 ? h : l[d]) !== null && E !== void 0 ? E : !1);
|
|
911
911
|
}
|
|
912
912
|
if (i.experimental.includes(d)) {
|
|
913
|
-
var
|
|
914
|
-
return g.experimental === "all" || ((T = (z = g == null || (
|
|
913
|
+
var $, z, T;
|
|
914
|
+
return g.experimental === "all" || ((T = (z = g == null || ($ = g.experimental) === null || $ === void 0 ? void 0 : $[d]) !== null && z !== void 0 ? z : l[d]) !== null && T !== void 0 ? T : !1);
|
|
915
915
|
}
|
|
916
916
|
return !1;
|
|
917
917
|
}
|
|
@@ -1043,13 +1043,13 @@ var ge = {}, G = {};
|
|
|
1043
1043
|
})(),
|
|
1044
1044
|
extract: (() => {
|
|
1045
1045
|
let n = (() => {
|
|
1046
|
-
var d, S, h, $,
|
|
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 || (
|
|
1046
|
+
var d, S, h, E, $, z, T, A, 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 || (E = h.extract) === null || E === void 0) && E.DEFAULT ? i.purge.extract.DEFAULT : !(($ = i.content) === null || $ === void 0 || (z = $.extract) === null || z === void 0) && z.DEFAULT ? i.content.extract.DEFAULT : !((T = i.purge) === null || T === void 0 || (A = T.options) === null || A === void 0) && A.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
|
-
var d, S, h,
|
|
1049
|
+
var d, S, h, E;
|
|
1050
1050
|
if (!((d = i.purge) === null || d === void 0 || (S = d.options) === null || S === void 0) && S.defaultExtractor)
|
|
1051
1051
|
return i.purge.options.defaultExtractor;
|
|
1052
|
-
if (!((h = i.content) === null || h === void 0 || (
|
|
1052
|
+
if (!((h = i.content) === null || h === void 0 || (E = h.options) === null || E === void 0) && E.defaultExtractor)
|
|
1053
1053
|
return i.content.options.defaultExtractor;
|
|
1054
1054
|
})();
|
|
1055
1055
|
if (g !== void 0 && (p.DEFAULT = g), typeof n == "function")
|
|
@@ -1064,8 +1064,8 @@ var ge = {}, G = {};
|
|
|
1064
1064
|
})(),
|
|
1065
1065
|
transform: (() => {
|
|
1066
1066
|
let n = (() => {
|
|
1067
|
-
var g, d, S, h,
|
|
1068
|
-
return !((g = i.purge) === null || g === void 0) && g.transform ? i.purge.transform : !((d = i.content) === null || d === void 0) && d.transform ? i.content.transform : !((S = i.purge) === null || S === void 0 || (h = S.transform) === null || h === void 0) && h.DEFAULT ? i.purge.transform.DEFAULT : !((
|
|
1067
|
+
var g, d, S, h, E, $;
|
|
1068
|
+
return !((g = i.purge) === null || g === void 0) && g.transform ? i.purge.transform : !((d = i.content) === null || d === void 0) && d.transform ? i.content.transform : !((S = i.purge) === null || S === void 0 || (h = S.transform) === null || h === void 0) && h.DEFAULT ? i.purge.transform.DEFAULT : !((E = i.content) === null || E === void 0 || ($ = E.transform) === null || $ === void 0) && $.DEFAULT ? i.content.transform.DEFAULT : {};
|
|
1069
1069
|
})(), p = {};
|
|
1070
1070
|
return typeof n == "function" && (p.DEFAULT = n), typeof n == "object" && n !== null && Object.assign(p, n), p;
|
|
1071
1071
|
})()
|
|
@@ -1886,11 +1886,11 @@ var te = {}, re = {}, xe = {};
|
|
|
1886
1886
|
Object.defineProperty(e, "__esModule", {
|
|
1887
1887
|
value: !0
|
|
1888
1888
|
});
|
|
1889
|
-
function t(h,
|
|
1890
|
-
for (var
|
|
1891
|
-
Object.defineProperty(h,
|
|
1889
|
+
function t(h, E) {
|
|
1890
|
+
for (var $ in E)
|
|
1891
|
+
Object.defineProperty(h, $, {
|
|
1892
1892
|
enumerable: !0,
|
|
1893
|
-
get: $
|
|
1893
|
+
get: E[$]
|
|
1894
1894
|
});
|
|
1895
1895
|
}
|
|
1896
1896
|
t(e, {
|
|
@@ -1908,8 +1908,8 @@ var te = {}, re = {}, xe = {};
|
|
|
1908
1908
|
};
|
|
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
|
-
function d(h, { loose:
|
|
1912
|
-
var
|
|
1911
|
+
function d(h, { loose: E = !1 } = {}) {
|
|
1912
|
+
var $, z;
|
|
1913
1913
|
if (typeof h != "string")
|
|
1914
1914
|
return null;
|
|
1915
1915
|
if (h = h.trim(), h === "transparent")
|
|
@@ -1951,26 +1951,26 @@ var te = {}, re = {}, xe = {};
|
|
|
1951
1951
|
let j = (A = h.match(p)) !== null && A !== void 0 ? A : h.match(g);
|
|
1952
1952
|
if (j === null)
|
|
1953
1953
|
return null;
|
|
1954
|
-
let
|
|
1954
|
+
let L = [
|
|
1955
1955
|
j[2],
|
|
1956
1956
|
j[3],
|
|
1957
1957
|
j[4]
|
|
1958
1958
|
].filter(Boolean).map((R) => R.toString());
|
|
1959
|
-
return
|
|
1959
|
+
return L.length === 2 && L[0].startsWith("var(") ? {
|
|
1960
1960
|
mode: j[1],
|
|
1961
1961
|
color: [
|
|
1962
|
-
|
|
1962
|
+
L[0]
|
|
1963
1963
|
],
|
|
1964
|
-
alpha:
|
|
1965
|
-
} :
|
|
1964
|
+
alpha: L[1]
|
|
1965
|
+
} : !E && L.length !== 3 || L.length < 3 && !L.some((R) => /^var\(.*?\)$/.test(R)) ? null : {
|
|
1966
1966
|
mode: j[1],
|
|
1967
|
-
color:
|
|
1968
|
-
alpha: (
|
|
1967
|
+
color: L,
|
|
1968
|
+
alpha: ($ = j[5]) === null || $ === void 0 || (z = $.toString) === null || z === void 0 ? void 0 : z.call($)
|
|
1969
1969
|
};
|
|
1970
1970
|
}
|
|
1971
|
-
function S({ mode: h, color:
|
|
1972
|
-
let z =
|
|
1973
|
-
return h === "rgba" || h === "hsla" ? `${h}(${
|
|
1971
|
+
function S({ mode: h, color: E, alpha: $ }) {
|
|
1972
|
+
let z = $ !== void 0;
|
|
1973
|
+
return h === "rgba" || h === "hsla" ? `${h}(${E.join(", ")}${z ? `, ${$}` : ""})` : `${h}(${E.join(" ")}${z ? ` / ${$}` : ""})`;
|
|
1974
1974
|
}
|
|
1975
1975
|
})(re);
|
|
1976
1976
|
(function(e) {
|
|
@@ -2089,8 +2089,8 @@ var ne = {}, _e = {}, X = {};
|
|
|
2089
2089
|
let g = p.trim(), d = {
|
|
2090
2090
|
raw: g
|
|
2091
2091
|
}, S = g.split(s), h = /* @__PURE__ */ new Set();
|
|
2092
|
-
for (let
|
|
2093
|
-
l.lastIndex = 0, !h.has("KEYWORD") && o.has(
|
|
2092
|
+
for (let E of S)
|
|
2093
|
+
l.lastIndex = 0, !h.has("KEYWORD") && o.has(E) ? (d.keyword = E, h.add("KEYWORD")) : l.test(E) ? h.has("X") ? h.has("Y") ? h.has("BLUR") ? h.has("SPREAD") || (d.spread = E, h.add("SPREAD")) : (d.blur = E, h.add("BLUR")) : (d.y = E, h.add("Y")) : (d.x = E, h.add("X")) : d.color ? (d.unknown || (d.unknown = []), d.unknown.push(E)) : d.color = E;
|
|
2094
2094
|
return d.valid = d.x !== void 0 && d.y !== void 0, d;
|
|
2095
2095
|
});
|
|
2096
2096
|
}
|
|
@@ -2130,7 +2130,7 @@ var ne = {}, _e = {}, X = {};
|
|
|
2130
2130
|
return S;
|
|
2131
2131
|
},
|
|
2132
2132
|
length: function() {
|
|
2133
|
-
return
|
|
2133
|
+
return $;
|
|
2134
2134
|
},
|
|
2135
2135
|
lineWidth: function() {
|
|
2136
2136
|
return T;
|
|
@@ -2142,7 +2142,7 @@ var ne = {}, _e = {}, X = {};
|
|
|
2142
2142
|
return j;
|
|
2143
2143
|
},
|
|
2144
2144
|
image: function() {
|
|
2145
|
-
return
|
|
2145
|
+
return L;
|
|
2146
2146
|
},
|
|
2147
2147
|
gradient: function() {
|
|
2148
2148
|
return B;
|
|
@@ -2175,12 +2175,12 @@ var ne = {}, _e = {}, X = {};
|
|
|
2175
2175
|
}
|
|
2176
2176
|
const b = "--tw-placeholder", a = new RegExp(b, "g");
|
|
2177
2177
|
function n(u, x = !0) {
|
|
2178
|
-
return u.startsWith("--") ? `var(${u})` : u.includes("url(") ? u.split(/(url\(.*?\))/g).filter(Boolean).map((O) => /^url\(.*?\)$/.test(O) ? O : n(O, !1)).join("") : (u = u.replace(/([^\\])_+/g, (O,
|
|
2178
|
+
return u.startsWith("--") ? `var(${u})` : u.includes("url(") ? u.split(/(url\(.*?\))/g).filter(Boolean).map((O) => /^url\(.*?\)$/.test(O) ? O : n(O, !1)).join("") : (u = u.replace(/([^\\])_+/g, (O, P) => P + " ".repeat(O.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), x && (u = u.trim()), u = p(u), u);
|
|
2179
2179
|
}
|
|
2180
2180
|
function p(u) {
|
|
2181
2181
|
return u.replace(/(calc|min|max|clamp)\(.+\)/g, (x) => {
|
|
2182
2182
|
let O = [];
|
|
2183
|
-
return x.replace(/var\((--.+?)[,)]/g, (
|
|
2183
|
+
return x.replace(/var\((--.+?)[,)]/g, (P, I) => (O.push(I), P.replace(I, b))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(a, () => O.shift());
|
|
2184
2184
|
});
|
|
2185
2185
|
}
|
|
2186
2186
|
function g(u) {
|
|
@@ -2192,7 +2192,7 @@ var ne = {}, _e = {}, X = {};
|
|
|
2192
2192
|
function S(u) {
|
|
2193
2193
|
return u.endsWith("%") && d(u.slice(0, -1)) || i(u);
|
|
2194
2194
|
}
|
|
2195
|
-
let
|
|
2195
|
+
let E = `(?:${[
|
|
2196
2196
|
"cm",
|
|
2197
2197
|
"mm",
|
|
2198
2198
|
"Q",
|
|
@@ -2225,8 +2225,8 @@ var ne = {}, _e = {}, X = {};
|
|
|
2225
2225
|
"cqmin",
|
|
2226
2226
|
"cqmax"
|
|
2227
2227
|
].join("|")})`;
|
|
2228
|
-
function
|
|
2229
|
-
return u === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${
|
|
2228
|
+
function $(u) {
|
|
2229
|
+
return u === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${E}$`).test(u) || i(u);
|
|
2230
2230
|
}
|
|
2231
2231
|
let z = /* @__PURE__ */ new Set([
|
|
2232
2232
|
"thin",
|
|
@@ -2245,18 +2245,18 @@ var ne = {}, _e = {}, X = {};
|
|
|
2245
2245
|
}
|
|
2246
2246
|
function j(u) {
|
|
2247
2247
|
let x = 0;
|
|
2248
|
-
return (0, s.splitAtTopLevelOnly)(u, "_").every((
|
|
2248
|
+
return (0, s.splitAtTopLevelOnly)(u, "_").every((P) => (P = n(P), P.startsWith("var(") ? !0 : (0, r.parseColor)(P, {
|
|
2249
2249
|
loose: !0
|
|
2250
2250
|
}) !== null ? (x++, !0) : !1)) ? x > 0 : !1;
|
|
2251
2251
|
}
|
|
2252
|
-
function
|
|
2252
|
+
function L(u) {
|
|
2253
2253
|
let x = 0;
|
|
2254
|
-
return (0, s.splitAtTopLevelOnly)(u, ",").every((
|
|
2254
|
+
return (0, s.splitAtTopLevelOnly)(u, ",").every((P) => (P = n(P), P.startsWith("var(") ? !0 : g(P) || B(P) || [
|
|
2255
2255
|
"element(",
|
|
2256
2256
|
"image(",
|
|
2257
2257
|
"cross-fade(",
|
|
2258
2258
|
"image-set("
|
|
2259
|
-
].some((I) =>
|
|
2259
|
+
].some((I) => P.startsWith(I)) ? (x++, !0) : !1)) ? x > 0 : !1;
|
|
2260
2260
|
}
|
|
2261
2261
|
let R = /* @__PURE__ */ new Set([
|
|
2262
2262
|
"conic-gradient",
|
|
@@ -2282,11 +2282,11 @@ var ne = {}, _e = {}, X = {};
|
|
|
2282
2282
|
]);
|
|
2283
2283
|
function m(u) {
|
|
2284
2284
|
let x = 0;
|
|
2285
|
-
return (0, s.splitAtTopLevelOnly)(u, "_").every((
|
|
2285
|
+
return (0, s.splitAtTopLevelOnly)(u, "_").every((P) => (P = n(P), P.startsWith("var(") ? !0 : N.has(P) || $(P) || S(P) ? (x++, !0) : !1)) ? x > 0 : !1;
|
|
2286
2286
|
}
|
|
2287
2287
|
function k(u) {
|
|
2288
2288
|
let x = 0;
|
|
2289
|
-
return (0, s.splitAtTopLevelOnly)(u, ",").every((
|
|
2289
|
+
return (0, s.splitAtTopLevelOnly)(u, ",").every((P) => (P = n(P), P.startsWith("var(") ? !0 : P.includes(" ") && !/(['"])([^"']+)\1/g.test(P) || /^\d/g.test(P) ? !1 : (x++, !0))) ? x > 0 : !1;
|
|
2290
2290
|
}
|
|
2291
2291
|
let _ = /* @__PURE__ */ new Set([
|
|
2292
2292
|
"serif",
|
|
@@ -2368,7 +2368,7 @@ var we = {};
|
|
|
2368
2368
|
return d;
|
|
2369
2369
|
},
|
|
2370
2370
|
parseColorFormat: function() {
|
|
2371
|
-
return
|
|
2371
|
+
return E;
|
|
2372
2372
|
},
|
|
2373
2373
|
asColor: function() {
|
|
2374
2374
|
return z;
|
|
@@ -2434,27 +2434,27 @@ var we = {};
|
|
|
2434
2434
|
m.slice(k + 1)
|
|
2435
2435
|
];
|
|
2436
2436
|
}
|
|
2437
|
-
function
|
|
2437
|
+
function E(m) {
|
|
2438
2438
|
if (typeof m == "string" && m.includes("<alpha-value>")) {
|
|
2439
2439
|
let k = m;
|
|
2440
2440
|
return ({ opacityValue: _ = 1 }) => k.replace("<alpha-value>", _);
|
|
2441
2441
|
}
|
|
2442
2442
|
return m;
|
|
2443
2443
|
}
|
|
2444
|
-
function
|
|
2444
|
+
function $(m) {
|
|
2445
2445
|
return (0, s.normalize)(m.slice(1, -1));
|
|
2446
2446
|
}
|
|
2447
2447
|
function z(m, k = {}, { tailwindConfig: _ = {} } = {}) {
|
|
2448
2448
|
var c;
|
|
2449
2449
|
if (((c = k.values) === null || c === void 0 ? void 0 : c[m]) !== void 0) {
|
|
2450
2450
|
var y;
|
|
2451
|
-
return
|
|
2451
|
+
return E((y = k.values) === null || y === void 0 ? void 0 : y[m]);
|
|
2452
2452
|
}
|
|
2453
2453
|
let [v, f] = h(m);
|
|
2454
2454
|
if (f !== void 0) {
|
|
2455
2455
|
var C, u, x, O;
|
|
2456
|
-
let
|
|
2457
|
-
return
|
|
2456
|
+
let P = (O = (C = k.values) === null || C === void 0 ? void 0 : C[v]) !== null && O !== void 0 ? O : S(v) ? v.slice(1, -1) : void 0;
|
|
2457
|
+
return P === void 0 ? void 0 : (P = E(P), S(f) ? (0, o.withAlphaValue)(P, $(f)) : ((u = _.theme) === null || u === void 0 || (x = u.opacity) === null || x === void 0 ? void 0 : x[f]) === void 0 ? void 0 : (0, o.withAlphaValue)(P, _.theme.opacity[f]));
|
|
2458
2458
|
}
|
|
2459
2459
|
return d(m, k, {
|
|
2460
2460
|
validate: s.color
|
|
@@ -2486,7 +2486,7 @@ var we = {};
|
|
|
2486
2486
|
"relative-size": A(s.relativeSize),
|
|
2487
2487
|
shadow: A(s.shadow),
|
|
2488
2488
|
size: A(i.backgroundSize)
|
|
2489
|
-
},
|
|
2489
|
+
}, L = Object.keys(j);
|
|
2490
2490
|
function R(m, k) {
|
|
2491
2491
|
let _ = m.indexOf(k);
|
|
2492
2492
|
return _ === -1 ? [
|
|
@@ -2514,9 +2514,9 @@ var we = {};
|
|
|
2514
2514
|
let v = k.slice(1, -1), [f, C] = R(v, ":");
|
|
2515
2515
|
if (!/^[\w-_]+$/g.test(f))
|
|
2516
2516
|
C = v;
|
|
2517
|
-
else if (f !== void 0 && !
|
|
2517
|
+
else if (f !== void 0 && !L.includes(f))
|
|
2518
2518
|
return [];
|
|
2519
|
-
if (C.length > 0 &&
|
|
2519
|
+
if (C.length > 0 && L.includes(f))
|
|
2520
2520
|
return [
|
|
2521
2521
|
d(`[${C}]`, _),
|
|
2522
2522
|
f,
|
|
@@ -2533,14 +2533,14 @@ var we = {};
|
|
|
2533
2533
|
if (y && _.modifiers != null && (_.modifiers === "any" || typeof _.modifiers == "object" && (f && S(f) || f in _.modifiers)) || (v = k, f = void 0), f !== void 0 && v === "" && (v = "DEFAULT"), f !== void 0 && typeof _.modifiers == "object") {
|
|
2534
2534
|
var u, x;
|
|
2535
2535
|
let O = (x = (u = _.modifiers) === null || u === void 0 ? void 0 : u[f]) !== null && x !== void 0 ? x : null;
|
|
2536
|
-
O !== null ? f = O : S(f) && (f =
|
|
2536
|
+
O !== null ? f = O : S(f) && (f = $(f));
|
|
2537
2537
|
}
|
|
2538
2538
|
for (let { type: O } of m != null ? m : []) {
|
|
2539
|
-
let
|
|
2539
|
+
let P = j[O](v, _, {
|
|
2540
2540
|
tailwindConfig: c
|
|
2541
2541
|
});
|
|
2542
|
-
|
|
2543
|
-
|
|
2542
|
+
P !== void 0 && (yield [
|
|
2543
|
+
P,
|
|
2544
2544
|
O,
|
|
2545
2545
|
f != null ? f : null
|
|
2546
2546
|
]);
|
|
@@ -2579,16 +2579,16 @@ var Se = {};
|
|
|
2579
2579
|
function h(c) {
|
|
2580
2580
|
return typeof c == "function";
|
|
2581
2581
|
}
|
|
2582
|
-
function
|
|
2582
|
+
function E(c, ...y) {
|
|
2583
2583
|
let v = y.pop();
|
|
2584
2584
|
for (let f of y)
|
|
2585
2585
|
for (let C in f) {
|
|
2586
2586
|
let u = v(c[C], f[C]);
|
|
2587
|
-
u === void 0 ? (0, a.default)(c[C]) && (0, a.default)(f[C]) ? c[C] =
|
|
2587
|
+
u === void 0 ? (0, a.default)(c[C]) && (0, a.default)(f[C]) ? c[C] = E({}, c[C], f[C], v) : c[C] = f[C] : c[C] = u;
|
|
2588
2588
|
}
|
|
2589
2589
|
return c;
|
|
2590
2590
|
}
|
|
2591
|
-
const
|
|
2591
|
+
const $ = {
|
|
2592
2592
|
colors: s.default,
|
|
2593
2593
|
negative(c) {
|
|
2594
2594
|
return Object.keys(c).filter((y) => c[y] !== "0").reduce((y, v) => {
|
|
@@ -2607,7 +2607,7 @@ var Se = {};
|
|
|
2607
2607
|
return h(c) ? c(...y) : c;
|
|
2608
2608
|
}
|
|
2609
2609
|
function T(c) {
|
|
2610
|
-
return c.reduce((y, { extend: v }) =>
|
|
2610
|
+
return c.reduce((y, { extend: v }) => E(y, v, (f, C) => f === void 0 ? [
|
|
2611
2611
|
C
|
|
2612
2612
|
] : Array.isArray(f) ? [
|
|
2613
2613
|
C,
|
|
@@ -2636,8 +2636,8 @@ var Se = {};
|
|
|
2636
2636
|
if (Array.isArray(y))
|
|
2637
2637
|
return y;
|
|
2638
2638
|
}
|
|
2639
|
-
function
|
|
2640
|
-
return
|
|
2639
|
+
function L({ extend: c, ...y }) {
|
|
2640
|
+
return E(y, c, (v, f) => !h(v) && !f.some(h) ? E({}, v, ...f, j) : (C, u) => E({}, ...[
|
|
2641
2641
|
v,
|
|
2642
2642
|
...f
|
|
2643
2643
|
].map((x) => z(x, C, u)), j));
|
|
@@ -2657,7 +2657,7 @@ var Se = {};
|
|
|
2657
2657
|
for (const C of R(v)) {
|
|
2658
2658
|
let u = 0, x = c;
|
|
2659
2659
|
for (; x != null && u < C.length; )
|
|
2660
|
-
x = x[C[u++]], x = h(x) && (C.alpha === void 0 || u <= C.length - 1) ? x(y,
|
|
2660
|
+
x = x[C[u++]], x = h(x) && (C.alpha === void 0 || u <= C.length - 1) ? x(y, $) : x;
|
|
2661
2661
|
if (x !== void 0) {
|
|
2662
2662
|
if (C.alpha !== void 0) {
|
|
2663
2663
|
let O = (0, p.parseColorFormat)(x);
|
|
@@ -2670,8 +2670,8 @@ var Se = {};
|
|
|
2670
2670
|
};
|
|
2671
2671
|
return Object.assign(y, {
|
|
2672
2672
|
theme: y,
|
|
2673
|
-
|
|
2674
|
-
}), Object.keys(c).reduce((v, f) => (v[f] = h(c[f]) ? c[f](y,
|
|
2673
|
+
...$
|
|
2674
|
+
}), Object.keys(c).reduce((v, f) => (v[f] = h(c[f]) ? c[f](y, $) : c[f], v), {});
|
|
2675
2675
|
}
|
|
2676
2676
|
function N(c) {
|
|
2677
2677
|
let y = [];
|
|
@@ -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(
|
|
2723
|
+
theme: B(L(A(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: k(c.map((C) => (f = C == null ? void 0 : C.plugins) !== null && f !== void 0 ? f : []))
|
|
2726
2726
|
}, ...y));
|
|
@@ -3789,7 +3789,7 @@ var Ce = {}, Re = {
|
|
|
3789
3789
|
})(oe);
|
|
3790
3790
|
let Y = oe;
|
|
3791
3791
|
var Ne = (Y.__esModule ? Y : { default: Y }).default;
|
|
3792
|
-
const Ue = /* @__PURE__ */
|
|
3792
|
+
const Ue = /* @__PURE__ */ Me(Ne);
|
|
3793
3793
|
let K = Q;
|
|
3794
3794
|
var U = (K.__esModule ? K : { default: K }).default;
|
|
3795
3795
|
const Be = {
|
|
@@ -3803,7 +3803,7 @@ const Be = {
|
|
|
3803
3803
|
700: "#770D11",
|
|
3804
3804
|
800: "#4E090B",
|
|
3805
3805
|
900: "#290506"
|
|
3806
|
-
},
|
|
3806
|
+
}, M = {
|
|
3807
3807
|
onprimary: U.white,
|
|
3808
3808
|
warning: U.amber,
|
|
3809
3809
|
error: U.rose,
|
|
@@ -3811,34 +3811,34 @@ const Be = {
|
|
|
3811
3811
|
success: U.lime,
|
|
3812
3812
|
primary: U.sky,
|
|
3813
3813
|
brand: Be
|
|
3814
|
-
},
|
|
3815
|
-
...
|
|
3814
|
+
}, We = {
|
|
3815
|
+
...M,
|
|
3816
3816
|
// Warning
|
|
3817
|
-
warning:
|
|
3818
|
-
"warning-darken":
|
|
3819
|
-
"warning-lighten":
|
|
3817
|
+
warning: M.warning[500],
|
|
3818
|
+
"warning-darken": M.warning[600],
|
|
3819
|
+
"warning-lighten": M.warning[400],
|
|
3820
3820
|
// Success
|
|
3821
|
-
success:
|
|
3822
|
-
"success-darken":
|
|
3823
|
-
"success-lighten":
|
|
3821
|
+
success: M.success[500],
|
|
3822
|
+
"success-darken": M.success[600],
|
|
3823
|
+
"success-lighten": M.success[400],
|
|
3824
3824
|
// Error
|
|
3825
|
-
error:
|
|
3826
|
-
"error-darken":
|
|
3827
|
-
"error-lighten":
|
|
3825
|
+
error: M.error[500],
|
|
3826
|
+
"error-darken": M.error[600],
|
|
3827
|
+
"error-lighten": M.error[400],
|
|
3828
3828
|
// Info
|
|
3829
|
-
info:
|
|
3830
|
-
"info-darken":
|
|
3831
|
-
"info-lighten":
|
|
3829
|
+
info: M.info[500],
|
|
3830
|
+
"info-darken": M.info[600],
|
|
3831
|
+
"info-lighten": M.info[400],
|
|
3832
3832
|
// Primary
|
|
3833
|
-
primary:
|
|
3834
|
-
"primary-darken":
|
|
3835
|
-
"primary-lighten":
|
|
3833
|
+
primary: M.primary[500],
|
|
3834
|
+
"primary-darken": M.primary[600],
|
|
3835
|
+
"primary-lighten": M.primary[400],
|
|
3836
3836
|
// Surfaces
|
|
3837
3837
|
onsurface: U.slate[500],
|
|
3838
3838
|
onbackground: U.slate[700],
|
|
3839
3839
|
surface: U.slate[50],
|
|
3840
3840
|
background: U.white
|
|
3841
|
-
},
|
|
3841
|
+
}, Ve = {
|
|
3842
3842
|
prefix: "e-",
|
|
3843
3843
|
corePlugins: {
|
|
3844
3844
|
preflight: !1
|
|
@@ -3846,7 +3846,7 @@ const Be = {
|
|
|
3846
3846
|
content: ["./src/**/*.{html,js,vue,ts}"],
|
|
3847
3847
|
theme: {
|
|
3848
3848
|
extend: {
|
|
3849
|
-
colors:
|
|
3849
|
+
colors: We,
|
|
3850
3850
|
maxWidth: {
|
|
3851
3851
|
"1/12": "8.333333333%",
|
|
3852
3852
|
"2/12": "16.666666666%",
|
|
@@ -3914,7 +3914,7 @@ const Be = {
|
|
|
3914
3914
|
pattern: /e-content-(around|baseline|between|center|end|evenly|normal|start|stretch)/
|
|
3915
3915
|
}
|
|
3916
3916
|
]
|
|
3917
|
-
}, ke = Ue(
|
|
3917
|
+
}, ke = Ue(Ve), Ie = ke.theme.fontSize, qe = ke.theme.colors, xt = [
|
|
3918
3918
|
w.dot,
|
|
3919
3919
|
w.xs,
|
|
3920
3920
|
w.sm,
|
|
@@ -3944,12 +3944,12 @@ const Be = {
|
|
|
3944
3944
|
w["8xl"],
|
|
3945
3945
|
w["9xl"]
|
|
3946
3946
|
], wt = [
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3947
|
+
D.warning,
|
|
3948
|
+
D.error,
|
|
3949
|
+
D.info,
|
|
3950
|
+
D.success,
|
|
3951
|
+
D.primary,
|
|
3952
|
+
D.default
|
|
3953
3953
|
], St = [
|
|
3954
3954
|
"play",
|
|
3955
3955
|
"pause",
|
|
@@ -3961,7 +3961,7 @@ const Be = {
|
|
|
3961
3961
|
"canplay",
|
|
3962
3962
|
"canplaythrough",
|
|
3963
3963
|
"statechanged"
|
|
3964
|
-
], Ge =
|
|
3964
|
+
], Ge = W.extend({
|
|
3965
3965
|
name: "EIcon",
|
|
3966
3966
|
props: {
|
|
3967
3967
|
icon: {
|
|
@@ -3970,7 +3970,7 @@ const Be = {
|
|
|
3970
3970
|
},
|
|
3971
3971
|
color: {
|
|
3972
3972
|
type: String,
|
|
3973
|
-
default:
|
|
3973
|
+
default: D.default
|
|
3974
3974
|
},
|
|
3975
3975
|
size: {
|
|
3976
3976
|
type: String,
|
|
@@ -3999,7 +3999,7 @@ const Be = {
|
|
|
3999
3999
|
var Xe = function() {
|
|
4000
4000
|
var t = this, r = t._self._c;
|
|
4001
4001
|
return r("div", { staticClass: "e-icon" }, [r("i", { class: t.iconClasses })]);
|
|
4002
|
-
}, Ye = [], Ke = /* @__PURE__ */
|
|
4002
|
+
}, Ye = [], Ke = /* @__PURE__ */ V(
|
|
4003
4003
|
Ge,
|
|
4004
4004
|
Xe,
|
|
4005
4005
|
Ye,
|
|
@@ -4009,7 +4009,7 @@ var Xe = function() {
|
|
|
4009
4009
|
null,
|
|
4010
4010
|
null
|
|
4011
4011
|
);
|
|
4012
|
-
const Je = Ke.exports, Ze =
|
|
4012
|
+
const Je = Ke.exports, Ze = W.extend({
|
|
4013
4013
|
name: "ESpinner",
|
|
4014
4014
|
props: {
|
|
4015
4015
|
dark: {
|
|
@@ -4077,7 +4077,7 @@ var Qe = function() {
|
|
|
4077
4077
|
"e-spinner--dark": t.dark,
|
|
4078
4078
|
"e-spinner--grey": !t.color
|
|
4079
4079
|
}, style: { opacity: t.opacity }, attrs: { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1629.32 1608.86", width: t.computedSize, height: t.computedSize } }, [r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(0), attrs: { d: "m1254.12,591.61C992.01,401.11,439.78,0,439.78,0h601.2c14.3,0,48.95,9.02,62.54,38.01,55.27,117.88,111.32,235.46,170.48,351.43,33.16,70.9-8.99,170.35-19.87,202.16" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(1), attrs: { d: "m1404.65,131.67c-29.37,89.94-55.8,170.95-82.25,251.93-4.05.87-8.1,1.73-12.15,2.61-40.61-83.95-81.21-167.9-123.12-254.54h217.51Z" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(2), attrs: { d: "m1129.06,1093.51c100.75-307.98,312.75-956.75,312.75-956.75,0,0,180.36,558.53,184.75,572.14,4.39,13.59,6.45,49.34-16.96,71.19-95.21,88.81-189.88,178.28-282.06,270.2-57.29,53.34-164.86,43.8-198.48,43.21" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(3), attrs: { d: "m1342.3,1083.06c66.6-63.43,133.22-126.86,207.93-197.98,21.51,73.55,40.3,137.81,60.64,207.37h-263.35c-1.75-3.13-3.48-6.27-5.22-9.39" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(4), attrs: { d: "m610.27,1137.17c324.03-.53,1006.55-1.85,1006.55-1.85,0,0-474.19,345.83-485.74,354.25-11.55,8.42-44.87,21.56-72.94,6.14-114.11-62.68-228.69-124.66-344.81-183.5-68.56-37.76-93.12-142.93-103.06-175.04" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(5), attrs: { d: "m938.58,1468.29c-62.81,42.58-118.35,80.24-180.28,122.23-28.35-87.22-54.62-168.03-80.89-248.86,2.62-2.92,5.26-5.85,7.9-8.76,81.89,43.78,163.79,87.56,253.26,135.39" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(6), attrs: { d: "m413.07,652.86c101.35,307.77,314.99,956,314.99,956,0,0-476.23-343.04-487.83-351.39-11.58-8.36-34.44-35.93-28.52-67.4,24.07-127.96,47.3-256.13,67.09-384.8,14.54-76.9,106.84-132.96,134.28-152.42" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(7), attrs: { d: "m197.48,1068.8c-62.36-47.73-115.99-88.79-176.78-135.33,75.54-54.91,146.18-106.24,216.83-157.57,3.73,2.24,7.45,4.47,11.19,6.71-16.36,91.3-32.7,182.61-51.25,286.19" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(8), attrs: { d: "m813.58,314.41C551.63,505.15,0,907.07,0,907.07c0,0,180.68-558.4,185.09-572.01,4.39-13.59,23.65-43.78,55.41-47.8,129.19-16.29,258.32-33.41,386.86-53.99,77.67-9.72,159.3,60.97,186.22,81.13" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(9), attrs: { d: "m635.14,199.78c-91.99,12.38-183.97,24.77-288.07,38.76,25.77-73.18,48.3-137.14,73.8-209.53,76.56,55.41,147.27,106.58,217.97,157.75-1.23,4.34-2.46,8.68-3.69,13.02" } })]);
|
|
4080
|
-
}, et = [], tt = /* @__PURE__ */
|
|
4080
|
+
}, et = [], tt = /* @__PURE__ */ V(
|
|
4081
4081
|
Ze,
|
|
4082
4082
|
Qe,
|
|
4083
4083
|
et,
|
|
@@ -4087,7 +4087,7 @@ var Qe = function() {
|
|
|
4087
4087
|
null,
|
|
4088
4088
|
null
|
|
4089
4089
|
);
|
|
4090
|
-
const
|
|
4090
|
+
const Ee = tt.exports, rt = W.extend({
|
|
4091
4091
|
props: {
|
|
4092
4092
|
align: {
|
|
4093
4093
|
type: String,
|
|
@@ -4150,7 +4150,7 @@ const $e = tt.exports, rt = V.extend({
|
|
|
4150
4150
|
var nt = function() {
|
|
4151
4151
|
var t = this, r = t._self._c;
|
|
4152
4152
|
return t._self._setupProxy, r("div", { staticClass: "e-row e-flex e-flex-wrap", class: t.rowClasses }, [t._t("default")], 2);
|
|
4153
|
-
}, it = [], at = /* @__PURE__ */
|
|
4153
|
+
}, it = [], at = /* @__PURE__ */ V(
|
|
4154
4154
|
rt,
|
|
4155
4155
|
nt,
|
|
4156
4156
|
it,
|
|
@@ -4160,7 +4160,7 @@ var nt = function() {
|
|
|
4160
4160
|
null,
|
|
4161
4161
|
null
|
|
4162
4162
|
);
|
|
4163
|
-
const st = at.exports, ot =
|
|
4163
|
+
const st = at.exports, ot = W.extend({
|
|
4164
4164
|
props: {
|
|
4165
4165
|
alignSelf: {
|
|
4166
4166
|
type: String,
|
|
@@ -4267,7 +4267,7 @@ const st = at.exports, ot = V.extend({
|
|
|
4267
4267
|
var lt = function() {
|
|
4268
4268
|
var t = this, r = t._self._c;
|
|
4269
4269
|
return r("div", { staticClass: "e-col", class: t.colClasses }, [t._t("default")], 2);
|
|
4270
|
-
}, ut = [], ct = /* @__PURE__ */
|
|
4270
|
+
}, ut = [], ct = /* @__PURE__ */ V(
|
|
4271
4271
|
ot,
|
|
4272
4272
|
lt,
|
|
4273
4273
|
ut,
|
|
@@ -4278,11 +4278,11 @@ var lt = function() {
|
|
|
4278
4278
|
null
|
|
4279
4279
|
);
|
|
4280
4280
|
const dt = ct.exports;
|
|
4281
|
-
function
|
|
4281
|
+
function Pe() {
|
|
4282
4282
|
return !!(document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement);
|
|
4283
4283
|
}
|
|
4284
4284
|
function ft(e) {
|
|
4285
|
-
if (
|
|
4285
|
+
if (Pe())
|
|
4286
4286
|
return new Promise((t) => t());
|
|
4287
4287
|
if (e.requestFullscreen)
|
|
4288
4288
|
return e == null ? void 0 : e.requestFullscreen();
|
|
@@ -4294,7 +4294,7 @@ function ft(e) {
|
|
|
4294
4294
|
return e == null ? void 0 : e.msRequestFullscreen();
|
|
4295
4295
|
}
|
|
4296
4296
|
function pt() {
|
|
4297
|
-
if (!
|
|
4297
|
+
if (!Pe())
|
|
4298
4298
|
return new Promise((e) => e());
|
|
4299
4299
|
if (document.exitFullscreen)
|
|
4300
4300
|
return document.exitFullscreen();
|
|
@@ -4323,10 +4323,10 @@ const J = new Intl.NumberFormat(void 0, {
|
|
|
4323
4323
|
return o === 0 ? `${r}:${J.format(t)}` : `${o}:${J.format(
|
|
4324
4324
|
r
|
|
4325
4325
|
)}:${J.format(t)}`;
|
|
4326
|
-
}, mt =
|
|
4326
|
+
}, mt = W.extend({
|
|
4327
4327
|
name: "VideoPlayer",
|
|
4328
4328
|
components: {
|
|
4329
|
-
ESpinner:
|
|
4329
|
+
ESpinner: Ee
|
|
4330
4330
|
},
|
|
4331
4331
|
props: {
|
|
4332
4332
|
sources: {
|
|
@@ -4346,7 +4346,6 @@ const J = new Intl.NumberFormat(void 0, {
|
|
|
4346
4346
|
return {
|
|
4347
4347
|
playing: !1,
|
|
4348
4348
|
percentagePlayed: 0,
|
|
4349
|
-
videoMuted: !1,
|
|
4350
4349
|
videoLength: "0:00",
|
|
4351
4350
|
duration: 0,
|
|
4352
4351
|
videoDuration: 0,
|
|
@@ -4354,7 +4353,6 @@ const J = new Intl.NumberFormat(void 0, {
|
|
|
4354
4353
|
realtime: 0,
|
|
4355
4354
|
isScrubbing: !1,
|
|
4356
4355
|
wasPaused: !1,
|
|
4357
|
-
volume: 1,
|
|
4358
4356
|
isFullscreen: !1,
|
|
4359
4357
|
isFinished: !1,
|
|
4360
4358
|
isLoading: !0
|
|
@@ -4417,7 +4415,7 @@ const J = new Intl.NumberFormat(void 0, {
|
|
|
4417
4415
|
},
|
|
4418
4416
|
initializePlayer() {
|
|
4419
4417
|
const e = this.$refs.player;
|
|
4420
|
-
e && (e.
|
|
4418
|
+
e && (e.autoplay && this.setPlaying(!0), document.addEventListener("mouseup", (t) => {
|
|
4421
4419
|
this.isScrubbing && this.toggleScrubbing(t);
|
|
4422
4420
|
}), document.addEventListener("keydown", this.handleKeyDown));
|
|
4423
4421
|
},
|
|
@@ -4474,13 +4472,6 @@ const J = new Intl.NumberFormat(void 0, {
|
|
|
4474
4472
|
return;
|
|
4475
4473
|
e.play() !== void 0 && e.play().then(() => this.setPlaying(!0)).catch(console.error);
|
|
4476
4474
|
},
|
|
4477
|
-
handleVolumeChange(e) {
|
|
4478
|
-
const t = this.$refs.player, r = e.target;
|
|
4479
|
-
t.volume = Number(r.value), t.muted = Number(r.value) === 0, this.setVolume(Number(r.value)), this.setMuted(Number(r.value) === 0);
|
|
4480
|
-
},
|
|
4481
|
-
setVolume(e) {
|
|
4482
|
-
this.volume = e;
|
|
4483
|
-
},
|
|
4484
4475
|
pause() {
|
|
4485
4476
|
const e = this.$refs.player;
|
|
4486
4477
|
e && (e.pause(), this.setPlaying(!1));
|
|
@@ -4501,20 +4492,6 @@ const J = new Intl.NumberFormat(void 0, {
|
|
|
4501
4492
|
convertTimeToDuration(e) {
|
|
4502
4493
|
return [parseInt(e / 60 % 60, 10), parseInt(e % 60, 10)].join(":").replace(/\b(\d)\b/g, "0$1");
|
|
4503
4494
|
},
|
|
4504
|
-
mute() {
|
|
4505
|
-
const e = this.$refs.player;
|
|
4506
|
-
e && (e.muted = !0, this.setMuted(!0));
|
|
4507
|
-
},
|
|
4508
|
-
unmute() {
|
|
4509
|
-
const e = this.$refs.player;
|
|
4510
|
-
e && (e.muted = !1, this.setMuted(!1));
|
|
4511
|
-
},
|
|
4512
|
-
toggleMute() {
|
|
4513
|
-
this.videoMuted ? this.unmute() : this.mute();
|
|
4514
|
-
},
|
|
4515
|
-
setMuted(e) {
|
|
4516
|
-
this.videoMuted = e;
|
|
4517
|
-
},
|
|
4518
4495
|
closeFullscreenMode() {
|
|
4519
4496
|
document.fullscreenElement && (pt().then(() => {
|
|
4520
4497
|
this.isFullscreen = !1, console.log("Exited fullscreen");
|
|
@@ -4594,9 +4571,6 @@ const J = new Intl.NumberFormat(void 0, {
|
|
|
4594
4571
|
case "f":
|
|
4595
4572
|
this.openFullscreenMode(), this.isFullscreen = !0;
|
|
4596
4573
|
break;
|
|
4597
|
-
case "m":
|
|
4598
|
-
this.toggleMute();
|
|
4599
|
-
break;
|
|
4600
4574
|
}
|
|
4601
4575
|
}
|
|
4602
4576
|
}
|
|
@@ -4605,35 +4579,31 @@ var gt = function() {
|
|
|
4605
4579
|
var t = this, r = t._self._c;
|
|
4606
4580
|
return r("div", { ref: "videoContainer", staticClass: "video-container paused", attrs: { "data-volume-level": "high" } }, [r("video", t._g(t._b({ ref: "player", attrs: { controls: !1, preload: "auto" }, on: { ended: t.handleEnded, click: t.togglePlay, loadedmetadata: t.getDuration, timeupdate: t.handleTimeUpdate, loadeddata: t.handleLoading } }, "video", t.videoOptions, !1), t.videoListeners), t._l(t.hasMultipleSources ? t.sources : [{ src: t.sources }], function(o) {
|
|
4607
4581
|
return r("source", { key: o.src, attrs: { src: o.src, type: o.type } });
|
|
4608
|
-
}), 0), t.isLoading ? r("div", { staticClass: "spinner-container" }, [r("ESpinner", { attrs: { size: "9xl", opacity: "0.6", dark: !0 } })], 1) : t._e(), r("div", { class: ["video-controls-container", t.withControls] }, [r("div", { staticClass: "controls" }, [r("button", { ref: "playPauseBtn", staticClass: "play-pause-btn fa-
|
|
4582
|
+
}), 0), t.isLoading ? r("div", { staticClass: "spinner-container" }, [r("ESpinner", { attrs: { size: "9xl", opacity: "0.6", dark: !0 } })], 1) : t._e(), r("div", { class: ["video-controls-container", t.withControls] }, [r("div", { staticClass: "controls" }, [r("button", { ref: "playPauseBtn", staticClass: "play-pause-btn fa-lg fa-solid", class: {
|
|
4609
4583
|
"fa-play": !t.playing,
|
|
4610
4584
|
"fa-pause": t.playing
|
|
4611
|
-
}, attrs: { title: t.playing ? "pause" : "play" }, on: { click: t.togglePlay } }), r("div", { staticClass: "
|
|
4612
|
-
"fa-volume": t.volume > 0.5 && !t.videoMuted,
|
|
4613
|
-
"fa-volume-low": t.volume <= 0.5 && !t.videoMuted,
|
|
4614
|
-
"fa-volume-slash": t.videoMuted
|
|
4615
|
-
}, attrs: { title: t.videoMuted ? "Unmute" : "Mute" }, on: { click: t.toggleMute } }), r("input", { ref: "volumeSlider", staticClass: "volume-slider", attrs: { type: "range", min: "0", max: "1", step: "any" }, domProps: { value: t.volume }, on: { input: t.handleVolumeChange } })]), r("div", { staticClass: "duration-container" }, [r("div", { ref: "currentTimeElem", staticClass: "current-time" }, [t._v(" " + t._s(t.currentTime) + " ")]), t._v(" / "), r("div", { ref: "totalTimeElem", staticClass: "total-time" }, [t._v(t._s(t.videoLength))])]), r("div", { ref: "timelineContainer", staticClass: "timeline-container", on: { mousemove: t.handleTimelineUpdate, mousedown: t.toggleScrubbing } }, [t._m(0)]), r("button", { ref: "fullScreenBtn", staticClass: "full-screen-btn fa-solid", class: {
|
|
4585
|
+
}, attrs: { title: t.playing ? "pause" : "play" }, on: { click: t.togglePlay } }), r("div", { staticClass: "duration-container" }, [r("div", { ref: "currentTimeElem", staticClass: "current-time" }, [t._v(" " + t._s(t.currentTime) + " ")]), t._v(" / "), r("div", { ref: "totalTimeElem", staticClass: "total-time" }, [t._v(t._s(t.videoLength))])]), r("div", { ref: "timelineContainer", staticClass: "timeline-container", on: { mousemove: t.handleTimelineUpdate, mousedown: t.toggleScrubbing } }, [t._m(0)]), r("button", { ref: "fullScreenBtn", staticClass: "full-screen-btn fa-solid", class: {
|
|
4616
4586
|
"fa-expand": !t.isFullscreen,
|
|
4617
4587
|
"fa-compress": t.isFullscreen
|
|
4618
4588
|
}, on: { click: t.toggleFullscreenMode } })])])]);
|
|
4619
4589
|
}, ht = [function() {
|
|
4620
4590
|
var e = this, t = e._self._c;
|
|
4621
4591
|
return t("div", { staticClass: "timeline" }, [t("div", { staticClass: "thumb-indicator" })]);
|
|
4622
|
-
}], yt = /* @__PURE__ */
|
|
4592
|
+
}], yt = /* @__PURE__ */ V(
|
|
4623
4593
|
mt,
|
|
4624
4594
|
gt,
|
|
4625
4595
|
ht,
|
|
4626
4596
|
!1,
|
|
4627
4597
|
null,
|
|
4628
|
-
"
|
|
4598
|
+
"e5c1c90c",
|
|
4629
4599
|
null,
|
|
4630
4600
|
null
|
|
4631
4601
|
);
|
|
4632
4602
|
const bt = yt.exports, ae = {
|
|
4633
|
-
EAvatar:
|
|
4603
|
+
EAvatar: De,
|
|
4634
4604
|
EBadge: se,
|
|
4635
4605
|
EIcon: Je,
|
|
4636
|
-
ESpinner:
|
|
4606
|
+
ESpinner: Ee,
|
|
4637
4607
|
ERow: st,
|
|
4638
4608
|
ECol: dt,
|
|
4639
4609
|
EVideoPlayer: bt
|
|
@@ -4648,14 +4618,14 @@ export {
|
|
|
4648
4618
|
_t as AvatarSizes,
|
|
4649
4619
|
wt as BadgeColors,
|
|
4650
4620
|
xt as BadgeSizes,
|
|
4651
|
-
|
|
4621
|
+
D as BaseColor,
|
|
4652
4622
|
qe as Colors,
|
|
4653
|
-
|
|
4623
|
+
De as EAvatar,
|
|
4654
4624
|
se as EBadge,
|
|
4655
4625
|
dt as ECol,
|
|
4656
4626
|
Je as EIcon,
|
|
4657
4627
|
st as ERow,
|
|
4658
|
-
|
|
4628
|
+
Ee as ESpinner,
|
|
4659
4629
|
St as EVENTS,
|
|
4660
4630
|
bt as EVideoPlayer,
|
|
4661
4631
|
He as IconSizes,
|
|
@@ -4665,7 +4635,7 @@ export {
|
|
|
4665
4635
|
Ct as default,
|
|
4666
4636
|
pt as exitFullScreen,
|
|
4667
4637
|
ke as fullConfig,
|
|
4668
|
-
|
|
4638
|
+
Pe as isFullScreen,
|
|
4669
4639
|
ft as makeFullScreen
|
|
4670
4640
|
};
|
|
4671
4641
|
//# sourceMappingURL=index.mjs.map
|