@erplora/outfitkit 0.1.28 → 0.1.30
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/README.md +1 -1
- package/dist/components/ok-data-table/mobile-card-switch.test.d.ts +1 -0
- package/dist/components/ok-data-table/ok-data-table.d.ts +3 -0
- package/dist/components/ok-file-manager/ok-file-manager.d.ts +32 -0
- package/dist/components/ok-file-manager/ok-file-manager.test.d.ts +1 -0
- package/dist/ok-data-table.js +84 -53
- package/dist/ok-file-manager.js +100 -25
- package/dist/outfitkit.bundle.js +685 -594
- package/package.json +1 -1
package/dist/outfitkit.bundle.js
CHANGED
|
@@ -22,14 +22,14 @@ let Ti = class {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
const
|
|
25
|
+
const Ba = (n) => new Ti(typeof n == "string" ? n : n + "", void 0, Ro), y = (n, ...e) => {
|
|
26
26
|
const t = n.length === 1 ? n[0] : e.reduce((o, r, i) => o + ((a) => {
|
|
27
27
|
if (a._$cssResult$ === !0) return a.cssText;
|
|
28
28
|
if (typeof a == "number") return a;
|
|
29
29
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + a + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
30
30
|
})(r) + n[i + 1], n[0]);
|
|
31
31
|
return new Ti(t, n, Ro);
|
|
32
|
-
},
|
|
32
|
+
}, Fa = (n, e) => {
|
|
33
33
|
if (Fo) n.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
|
34
34
|
else for (const t of e) {
|
|
35
35
|
const o = document.createElement("style"), r = Xr.litNonce;
|
|
@@ -38,17 +38,17 @@ const Ta = (n) => new Ti(typeof n == "string" ? n : n + "", void 0, Ro), y = (n,
|
|
|
38
38
|
}, bi = Fo ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((e) => {
|
|
39
39
|
let t = "";
|
|
40
40
|
for (const o of e.cssRules) t += o.cssText;
|
|
41
|
-
return
|
|
41
|
+
return Ba(t);
|
|
42
42
|
})(n) : n;
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is:
|
|
48
|
+
const { is: Ra, defineProperty: Na, getOwnPropertyDescriptor: qa, getOwnPropertyNames: Ua, getOwnPropertySymbols: Va, getPrototypeOf: Ha } = Object, oo = globalThis, fi = oo.trustedTypes, Ka = fi ? fi.emptyScript : "", Ya = oo.reactiveElementPolyfillSupport, xr = (n, e) => n, eo = { toAttribute(n, e) {
|
|
49
49
|
switch (e) {
|
|
50
50
|
case Boolean:
|
|
51
|
-
n = n ?
|
|
51
|
+
n = n ? Ka : null;
|
|
52
52
|
break;
|
|
53
53
|
case Object:
|
|
54
54
|
case Array:
|
|
@@ -73,7 +73,7 @@ const { is: Fa, defineProperty: Ra, getOwnPropertyDescriptor: Na, getOwnProperty
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return t;
|
|
76
|
-
} }, No = (n, e) => !
|
|
76
|
+
} }, No = (n, e) => !Ra(n, e), gi = { attribute: !0, type: String, converter: eo, reflect: !1, useDefault: !1, hasChanged: No };
|
|
77
77
|
Symbol.metadata ??= Symbol("metadata"), oo.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
78
78
|
let Rt = class extends HTMLElement {
|
|
79
79
|
static addInitializer(e) {
|
|
@@ -85,11 +85,11 @@ let Rt = class extends HTMLElement {
|
|
|
85
85
|
static createProperty(e, t = gi) {
|
|
86
86
|
if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
|
|
87
87
|
const o = Symbol(), r = this.getPropertyDescriptor(e, o, t);
|
|
88
|
-
r !== void 0 &&
|
|
88
|
+
r !== void 0 && Na(this.prototype, e, r);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
static getPropertyDescriptor(e, t, o) {
|
|
92
|
-
const { get: r, set: i } =
|
|
92
|
+
const { get: r, set: i } = qa(this.prototype, e) ?? { get() {
|
|
93
93
|
return this[t];
|
|
94
94
|
}, set(a) {
|
|
95
95
|
this[t] = a;
|
|
@@ -104,13 +104,13 @@ let Rt = class extends HTMLElement {
|
|
|
104
104
|
}
|
|
105
105
|
static _$Ei() {
|
|
106
106
|
if (this.hasOwnProperty(xr("elementProperties"))) return;
|
|
107
|
-
const e =
|
|
107
|
+
const e = Ha(this);
|
|
108
108
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
109
109
|
}
|
|
110
110
|
static finalize() {
|
|
111
111
|
if (this.hasOwnProperty(xr("finalized"))) return;
|
|
112
112
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(xr("properties"))) {
|
|
113
|
-
const t = this.properties, o = [...
|
|
113
|
+
const t = this.properties, o = [...Ua(t), ...Va(t)];
|
|
114
114
|
for (const r of o) this.createProperty(r, t[r]);
|
|
115
115
|
}
|
|
116
116
|
const e = this[Symbol.metadata];
|
|
@@ -156,7 +156,7 @@ let Rt = class extends HTMLElement {
|
|
|
156
156
|
}
|
|
157
157
|
createRenderRoot() {
|
|
158
158
|
const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
159
|
-
return
|
|
159
|
+
return Fa(e, this.constructor.elementStyles), e;
|
|
160
160
|
}
|
|
161
161
|
connectedCallback() {
|
|
162
162
|
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((e) => e.hostConnected?.());
|
|
@@ -256,15 +256,15 @@ let Rt = class extends HTMLElement {
|
|
|
256
256
|
firstUpdated(e) {
|
|
257
257
|
}
|
|
258
258
|
};
|
|
259
|
-
Rt.elementStyles = [], Rt.shadowRootOptions = { mode: "open" }, Rt[xr("elementProperties")] = /* @__PURE__ */ new Map(), Rt[xr("finalized")] = /* @__PURE__ */ new Map(),
|
|
259
|
+
Rt.elementStyles = [], Rt.shadowRootOptions = { mode: "open" }, Rt[xr("elementProperties")] = /* @__PURE__ */ new Map(), Rt[xr("finalized")] = /* @__PURE__ */ new Map(), Ya?.({ ReactiveElement: Rt }), (oo.reactiveElementVersions ??= []).push("2.1.2");
|
|
260
260
|
/**
|
|
261
261
|
* @license
|
|
262
262
|
* Copyright 2017 Google LLC
|
|
263
263
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
264
264
|
*/
|
|
265
|
-
const qo = globalThis, xi = (n) => n, to = qo.trustedTypes, yi = to ? to.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, Uo = "$lit$", ve = `lit$${Math.random().toFixed(9).slice(2)}$`, Vo = "?" + ve,
|
|
265
|
+
const qo = globalThis, xi = (n) => n, to = qo.trustedTypes, yi = to ? to.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, Uo = "$lit$", ve = `lit$${Math.random().toFixed(9).slice(2)}$`, Vo = "?" + ve, Wa = `<${Vo}>`, ct = document, kr = () => ct.createComment(""), wr = (n) => n === null || typeof n != "object" && typeof n != "function", Ho = Array.isArray, Bi = (n) => Ho(n) || typeof n?.[Symbol.iterator] == "function", _o = `[
|
|
266
266
|
\f\r]`, vr = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ki = /-->/g, wi = />/g, at = RegExp(`>|${_o}(?:([^\\s"'>=/]+)(${_o}*=${_o}*(?:[^
|
|
267
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), $i = /'/g, Ci = /"/g, Fi = /^(?:script|style|textarea|title)$/i, Ko = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), s = Ko(1), O = Ko(2),
|
|
267
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), $i = /'/g, Ci = /"/g, Fi = /^(?:script|style|textarea|title)$/i, Ko = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), s = Ko(1), O = Ko(2), th = Ko(3), be = Symbol.for("lit-noChange"), m = Symbol.for("lit-nothing"), zi = /* @__PURE__ */ new WeakMap(), lt = ct.createTreeWalker(ct, 129);
|
|
268
268
|
function Ri(n, e) {
|
|
269
269
|
if (!Ho(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
270
270
|
return yi !== void 0 ? yi.createHTML(e) : e;
|
|
@@ -277,7 +277,7 @@ const Ni = (n, e) => {
|
|
|
277
277
|
let u, h, p = -1, b = 0;
|
|
278
278
|
for (; b < c.length && (a.lastIndex = b, h = a.exec(c), h !== null); ) b = a.lastIndex, a === vr ? h[1] === "!--" ? a = ki : h[1] !== void 0 ? a = wi : h[2] !== void 0 ? (Fi.test(h[2]) && (r = RegExp("</" + h[2], "g")), a = at) : h[3] !== void 0 && (a = at) : a === at ? h[0] === ">" ? (a = r ?? vr, p = -1) : h[1] === void 0 ? p = -2 : (p = a.lastIndex - h[2].length, u = h[1], a = h[3] === void 0 ? at : h[3] === '"' ? Ci : $i) : a === Ci || a === $i ? a = at : a === ki || a === wi ? a = vr : (a = at, r = void 0);
|
|
279
279
|
const f = a === at && n[d + 1].startsWith("/>") ? " " : "";
|
|
280
|
-
i += a === vr ? c +
|
|
280
|
+
i += a === vr ? c + Wa : p >= 0 ? (o.push(u), c.slice(0, p) + Uo + c.slice(p) + ve + f) : c + ve + (p === -2 ? d : f);
|
|
281
281
|
}
|
|
282
282
|
return [Ri(n, i + (n[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), o];
|
|
283
283
|
};
|
|
@@ -476,8 +476,8 @@ class Ki {
|
|
|
476
476
|
dt(this, e);
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
|
-
const
|
|
480
|
-
|
|
479
|
+
const Xa = { M: Uo, P: ve, A: Vo, C: 1, L: Ni, R: qi, D: Bi, V: dt, I: Nt, H: zr, N: Vi, U: Hi, B: Ui, F: Ki }, Ga = qo.litHtmlPolyfillSupport;
|
|
480
|
+
Ga?.($r, Nt), (qo.litHtmlVersions ??= []).push("3.3.3");
|
|
481
481
|
const io = (n, e, t) => {
|
|
482
482
|
const o = t?.renderBefore ?? e;
|
|
483
483
|
let r = o._$litPart$;
|
|
@@ -516,8 +516,8 @@ let g = class extends Rt {
|
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
518
|
g._$litElement$ = !0, g.finalized = !0, Yo.litElementHydrateSupport?.({ LitElement: g });
|
|
519
|
-
const
|
|
520
|
-
|
|
519
|
+
const Za = Yo.litElementPolyfillSupport;
|
|
520
|
+
Za?.({ LitElement: g });
|
|
521
521
|
(Yo.litElementVersions ??= []).push("4.2.2");
|
|
522
522
|
/**
|
|
523
523
|
* @license
|
|
@@ -534,7 +534,7 @@ Ga?.({ LitElement: g });
|
|
|
534
534
|
* Copyright 2017 Google LLC
|
|
535
535
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
536
536
|
*/
|
|
537
|
-
const
|
|
537
|
+
const Qa = { attribute: !0, type: String, converter: eo, reflect: !1, hasChanged: No }, Ja = (n = Qa, e, t) => {
|
|
538
538
|
const { kind: o, metadata: r } = t;
|
|
539
539
|
let i = globalThis.litPropertyMetadata.get(r);
|
|
540
540
|
if (i === void 0 && globalThis.litPropertyMetadata.set(r, i = /* @__PURE__ */ new Map()), o === "setter" && ((n = Object.create(n)).wrapped = !0), i.set(t.name, n), o === "accessor") {
|
|
@@ -556,7 +556,7 @@ const Za = { attribute: !0, type: String, converter: eo, reflect: !1, hasChanged
|
|
|
556
556
|
throw Error("Unsupported decorator location: " + o);
|
|
557
557
|
};
|
|
558
558
|
function l(n) {
|
|
559
|
-
return (e, t) => typeof t == "object" ?
|
|
559
|
+
return (e, t) => typeof t == "object" ? Ja(n, e, t) : ((o, r, i) => {
|
|
560
560
|
const a = r.hasOwnProperty(i);
|
|
561
561
|
return r.constructor.createProperty(i, o), a ? Object.getOwnPropertyDescriptor(r, i) : void 0;
|
|
562
562
|
})(n, e, t);
|
|
@@ -585,7 +585,7 @@ const _i = (n, e, t) => (t.configurable = !0, t.enumerable = !0, Reflect.decorat
|
|
|
585
585
|
* Copyright 2017 Google LLC
|
|
586
586
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
587
587
|
*/
|
|
588
|
-
function
|
|
588
|
+
function B(n, e) {
|
|
589
589
|
return (t, o, r) => {
|
|
590
590
|
const i = (a) => a.renderRoot?.querySelector(n) ?? null;
|
|
591
591
|
if (e) {
|
|
@@ -630,11 +630,11 @@ function T(n, e) {
|
|
|
630
630
|
function k(n, e) {
|
|
631
631
|
typeof customElements < "u" && !customElements.get(n) && customElements.define(n, e);
|
|
632
632
|
}
|
|
633
|
-
const
|
|
634
|
-
function
|
|
633
|
+
const es = "outfitkit", ts = "kv";
|
|
634
|
+
function rs() {
|
|
635
635
|
return typeof indexedDB < "u" && indexedDB !== null;
|
|
636
636
|
}
|
|
637
|
-
function
|
|
637
|
+
function os() {
|
|
638
638
|
return {
|
|
639
639
|
getAll: () => Promise.resolve([]),
|
|
640
640
|
set: () => Promise.resolve(),
|
|
@@ -647,8 +647,8 @@ function br(n) {
|
|
|
647
647
|
n.onsuccess = () => e(n.result), n.onerror = () => t(n.error);
|
|
648
648
|
});
|
|
649
649
|
}
|
|
650
|
-
function
|
|
651
|
-
if (!
|
|
650
|
+
function is(n = es, e = ts) {
|
|
651
|
+
if (!rs()) return os();
|
|
652
652
|
let t = null;
|
|
653
653
|
function o() {
|
|
654
654
|
return t || (t = new Promise((i, a) => {
|
|
@@ -710,7 +710,7 @@ function os(n = Ja, e = es) {
|
|
|
710
710
|
};
|
|
711
711
|
}
|
|
712
712
|
function Yi(n = {}) {
|
|
713
|
-
const e =
|
|
713
|
+
const e = is(n.name, n.storeName), t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set();
|
|
714
714
|
let i = Promise.resolve();
|
|
715
715
|
function a(h) {
|
|
716
716
|
i = i.then(h).catch(() => {
|
|
@@ -775,11 +775,11 @@ function Yi(n = {}) {
|
|
|
775
775
|
};
|
|
776
776
|
return u;
|
|
777
777
|
}
|
|
778
|
-
const
|
|
779
|
-
var
|
|
780
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
778
|
+
const oh = Yi();
|
|
779
|
+
var as = Object.defineProperty, ss = Object.getOwnPropertyDescriptor, ns = (n, e, t, o) => {
|
|
780
|
+
for (var r = o > 1 ? void 0 : o ? ss(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
781
781
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
782
|
-
return o && r &&
|
|
782
|
+
return o && r && as(e, t, r), r;
|
|
783
783
|
};
|
|
784
784
|
class Wi extends g {
|
|
785
785
|
static {
|
|
@@ -836,7 +836,7 @@ class Wi extends g {
|
|
|
836
836
|
return s`<slot></slot>`;
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
|
-
|
|
839
|
+
ns([
|
|
840
840
|
l()
|
|
841
841
|
], Wi.prototype, "name", 2);
|
|
842
842
|
k("ok-store", Wi);
|
|
@@ -867,12 +867,12 @@ let Go = class {
|
|
|
867
867
|
* Copyright 2020 Google LLC
|
|
868
868
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
869
869
|
*/
|
|
870
|
-
const { I:
|
|
870
|
+
const { I: ls } = Xa, Si = (n) => n;
|
|
871
871
|
const Ei = () => document.createComment(""), fr = (n, e, t) => {
|
|
872
872
|
const o = n._$AA.parentNode, r = e === void 0 ? n._$AB : e._$AA;
|
|
873
873
|
if (t === void 0) {
|
|
874
874
|
const i = o.insertBefore(Ei(), r), a = o.insertBefore(Ei(), r);
|
|
875
|
-
t = new
|
|
875
|
+
t = new ls(i, a, n, n.options);
|
|
876
876
|
} else {
|
|
877
877
|
const i = t._$AB.nextSibling, a = t._$AM, d = a !== n;
|
|
878
878
|
if (d) {
|
|
@@ -888,7 +888,7 @@ const Ei = () => document.createComment(""), fr = (n, e, t) => {
|
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
890
|
return t;
|
|
891
|
-
}, st = (n, e, t = n) => (n._$AI(e, t), n),
|
|
891
|
+
}, st = (n, e, t = n) => (n._$AI(e, t), n), cs = {}, ds = (n, e = cs) => n._$AH = e, ps = (n) => n._$AH, So = (n) => {
|
|
892
892
|
n._$AR(), n._$AA.remove();
|
|
893
893
|
};
|
|
894
894
|
/**
|
|
@@ -916,7 +916,7 @@ const Pi = (n, e, t) => {
|
|
|
916
916
|
return this.dt(n, e, t).values;
|
|
917
917
|
}
|
|
918
918
|
update(n, [e, t, o]) {
|
|
919
|
-
const r =
|
|
919
|
+
const r = ps(n), { values: i, keys: a } = this.dt(e, t, o);
|
|
920
920
|
if (!Array.isArray(r)) return this.ut = a, i;
|
|
921
921
|
const d = this.ut ??= [], c = [];
|
|
922
922
|
let u, h, p = 0, b = r.length - 1, f = 0, x = i.length - 1;
|
|
@@ -943,7 +943,7 @@ const Pi = (n, e, t) => {
|
|
|
943
943
|
const $ = r[p++];
|
|
944
944
|
$ !== null && So($);
|
|
945
945
|
}
|
|
946
|
-
return this.ut = a,
|
|
946
|
+
return this.ut = a, ds(n, c), be;
|
|
947
947
|
}
|
|
948
948
|
});
|
|
949
949
|
/**
|
|
@@ -951,7 +951,7 @@ const Pi = (n, e, t) => {
|
|
|
951
951
|
* Copyright 2018 Google LLC
|
|
952
952
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
953
953
|
*/
|
|
954
|
-
const Xi = "important",
|
|
954
|
+
const Xi = "important", hs = " !" + Xi, Oi = Xo(class extends Go {
|
|
955
955
|
constructor(n) {
|
|
956
956
|
if (super(n), n.type !== Wo.ATTRIBUTE || n.name !== "style" || n.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
957
957
|
}
|
|
@@ -969,14 +969,14 @@ const Xi = "important", ps = " !" + Xi, Oi = Xo(class extends Go {
|
|
|
969
969
|
const r = e[o];
|
|
970
970
|
if (r != null) {
|
|
971
971
|
this.ft.add(o);
|
|
972
|
-
const i = typeof r == "string" && r.endsWith(
|
|
972
|
+
const i = typeof r == "string" && r.endsWith(hs);
|
|
973
973
|
o.includes("-") || i ? t.setProperty(o, i ? r.slice(0, -11) : r, i ? Xi : "") : t[o] = r;
|
|
974
974
|
}
|
|
975
975
|
}
|
|
976
976
|
return be;
|
|
977
977
|
}
|
|
978
|
-
}),
|
|
979
|
-
function
|
|
978
|
+
}), us = "\uFEFF";
|
|
979
|
+
function ms(n) {
|
|
980
980
|
let e;
|
|
981
981
|
try {
|
|
982
982
|
e = new TextDecoder("utf-8", { fatal: !0 }).decode(n);
|
|
@@ -985,11 +985,11 @@ function us(n) {
|
|
|
985
985
|
}
|
|
986
986
|
return e.charCodeAt(0) === 65279 ? e.slice(1) : e;
|
|
987
987
|
}
|
|
988
|
-
const ms = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 112v288m144-144H112"/></svg>', vs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="currentColor" d="M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48m0 319.91a20 20 0 1 1 20-20a20 20 0 0 1-20 20m21.72-201.15l-5.74 122a16 16 0 0 1-32 0l-5.74-121.94v-.05a21.74 21.74 0 1 1 43.44 0Z"/></svg>', bs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192s192-86 192-192Z"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M250.26 166.05L256 288l5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 6"/><path fill="currentColor" d="M256 367.91a20 20 0 1 1 20-20a20 20 0 0 1-20 20"/></svg>', fs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><rect width="80" height="80" x="64" y="64" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="216" y="64" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="368" y="64" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="64" y="216" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="216" y="216" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="368" y="216" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="64" y="368" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="216" y="368" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="368" y="368" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/></svg>', gs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M80 152v256a40.12 40.12 0 0 0 40 40h272a40.12 40.12 0 0 0 40-40V152"/><rect width="416" height="80" x="48" y="64" fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" rx="28" ry="28"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m320 304l-64 64l-64-64m64 41.89V224"/></svg>', xs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M448 256L272 88v96C103.57 184 64 304.77 64 424c48.61-62.24 91.6-96 208-96v96Z"/></svg>', ys = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M240 424v-96c116.4 0 159.39 33.76 208 96c0-119.23-39.57-240-208-240V88L64 256Z"/></svg>', ks = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M135.19 390.14a28.8 28.8 0 0 0 21.68 9.86h246.26A29 29 0 0 0 432 371.13V140.87A29 29 0 0 0 403.13 112H156.87a28.84 28.84 0 0 0-21.67 9.84L46.33 256l88.86 134.11Z"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M336.67 192.33L206.66 322.34m130.01 0L206.66 192.33m130.01 0L206.66 322.34m130.01 0L206.66 192.33"/></svg>', ws = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><rect width="416" height="384" x="48" y="80" fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" rx="48"/><circle cx="296" cy="232" r="24" fill="currentColor"/><circle cx="376" cy="232" r="24" fill="currentColor"/><circle cx="296" cy="312" r="24" fill="currentColor"/><circle cx="376" cy="312" r="24" fill="currentColor"/><circle cx="136" cy="312" r="24" fill="currentColor"/><circle cx="216" cy="312" r="24" fill="currentColor"/><circle cx="136" cy="392" r="24" fill="currentColor"/><circle cx="216" cy="392" r="24" fill="currentColor"/><circle cx="296" cy="392" r="24" fill="currentColor"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M128 48v32m256-32v32"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M464 160H48"/></svg>', $s = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="currentColor" d="M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48m108.25 138.29l-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32l122.59-145.91a16 16 0 0 1 24.5 20.58"/></svg>', Cs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M416 128L192 384l-96-96"/></svg>', zs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M328 112L184 256l144 144"/></svg>', _s = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M328 112L184 256l144 144"/></svg>', Ss = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="m112 184l144 144l144-144"/></svg>', Es = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="m184 112l144 144l-144 144"/></svg>', Ps = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="m184 112l144 144l-144 144"/></svg>', Os = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="m112 328l144-144l144 144"/></svg>', Ms = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="currentColor" d="m289.94 256l95-95A24 24 0 0 0 351 127l-95 95l-95-95a24 24 0 0 0-34 34l95 95l-95 95a24 24 0 1 0 34 34l95-95l95 95a24 24 0 0 0 34-34Z"/></svg>', As = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M368 368L144 144m224 0L144 368"/></svg>', Ds = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m320 255.79l-64-64l-64 64m64 192.42V207.79"/></svg>', js = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M384 224v184a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V168a40 40 0 0 1 40-40h167.48"/><path fill="currentColor" d="M459.94 53.25a16.06 16.06 0 0 0-23.22-.56L424.35 65a8 8 0 0 0 0 11.31l11.34 11.32a8 8 0 0 0 11.34 0l12.06-12c6.1-6.09 6.67-16.01.85-22.38M399.34 90L218.82 270.2a9 9 0 0 0-2.31 3.93L208.16 299a3.91 3.91 0 0 0 4.86 4.86l24.85-8.35a9 9 0 0 0 3.93-2.31L422 112.66a9 9 0 0 0 0-12.66l-9.95-10a9 9 0 0 0-12.71 0"/></svg>', Ls = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M208 64h66.75a32 32 0 0 1 22.62 9.37l141.26 141.26a32 32 0 0 1 9.37 22.62V432a48 48 0 0 1-48 48H192a48 48 0 0 1-48-48V304"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M288 72v120a32 32 0 0 0 32 32h120"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M160 80v152a23.69 23.69 0 0 1-24 24c-12 0-24-9.1-24-24V88c0-30.59 16.57-56 48-56s48 24.8 48 55.38v138.75c0 43-27.82 77.87-72 77.87s-72-34.86-72-77.87V144"/></svg>', Is = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M416 221.25V416a48 48 0 0 1-48 48H144a48 48 0 0 1-48-48V96a48 48 0 0 1 48-48h98.75a32 32 0 0 1 22.62 9.37l141.26 141.26a32 32 0 0 1 9.37 22.62Z"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 56v120a32 32 0 0 0 32 32h120"/></svg>', Ts = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M416 221.25V416a48 48 0 0 1-48 48H144a48 48 0 0 1-48-48V96a48 48 0 0 1 48-48h98.75a32 32 0 0 1 22.62 9.37l141.26 141.26a32 32 0 0 1 9.37 22.62Z"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 56v120a32 32 0 0 0 32 32h120m-232 80h160m-160 80h160"/></svg>', Bs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M336 176h40a40 40 0 0 1 40 40v208a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V216a40 40 0 0 1 40-40h40"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m176 272l80 80l80-80M256 48v288"/></svg>', Fs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><circle cx="256" cy="256" r="48" fill="currentColor"/><circle cx="256" cy="416" r="48" fill="currentColor"/><circle cx="256" cy="96" r="48" fill="currentColor"/></svg>', Rs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M432 320v112H320m101.8-10.23L304 304M80 192V80h112M90.2 90.23L208 208M320 80h112v112M421.77 90.2L304 208M192 432H80V320m10.23 101.8L208 304"/></svg>', Ns = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M384 80H128c-26 0-43 14-48 40L48 272v112a48.14 48.14 0 0 0 48 48h320a48.14 48.14 0 0 0 48-48V272l-32-152c-5-27-23-40-48-40Z"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M48 272h144m128 0h144m-272 0a64 64 0 0 0 128 0"/></svg>', qs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M64 192v-72a40 40 0 0 1 40-40h75.89a40 40 0 0 1 22.19 6.72l27.84 18.56a40 40 0 0 0 22.19 6.72H408a40 40 0 0 1 40 40v40"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M479.9 226.55L463.68 392a40 40 0 0 1-39.93 40H88.25a40 40 0 0 1-39.93-40L32.1 226.55A32 32 0 0 1 64 192h384.1a32 32 0 0 1 31.8 34.55"/></svg>', Us = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="currentColor" d="M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200s200-89.72 200-200S366.28 56 256 56m0 82a26 26 0 1 1-26 26a26 26 0 0 1 26-26m48 226h-88a16 16 0 0 1 0-32h28v-88h-16a16 16 0 0 1 0-32h32a16 16 0 0 1 16 16v104h28a16 16 0 0 1 0 32"/></svg>', Vs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M80 160h352M80 256h352M80 352h352"/></svg>', Hs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M128.51 204.59q-.37 6.15-.37 12.76C128.14 304 110 320 84.33 351.43C73.69 364.45 83 384 101.62 384H320m94.5-48.7c-18.48-23.45-30.62-47.05-30.62-118c0-79.3-40.52-107.57-73.88-121.3c-4.43-1.82-8.6-6-9.95-10.55C294.21 65.54 277.82 48 256 48s-38.2 17.55-44 37.47c-1.35 4.6-5.52 8.71-10 10.53a150 150 0 0 0-18 8.79M320 384v16a64 64 0 0 1-128 0v-16"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M448 448L64 64"/></svg>', Ks = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M384 224v184a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V168a40 40 0 0 1 40-40h167.48M336 64h112v112M224 288L440 72"/></svg>', Ys = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M112 111v290c0 17.44 17 28.52 31 20.16l247.9-148.37c12.12-7.25 12.12-26.33 0-33.58L143 90.84c-14-8.36-31 2.72-31 20.16Z"/></svg>', Ws = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M400 256H112"/></svg>', Xs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64Z"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M338.29 338.29L448 448"/></svg>', Gs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="currentColor" d="m476.59 227.05l-.16-.07L49.35 49.84A23.56 23.56 0 0 0 27.14 52A24.65 24.65 0 0 0 16 72.59v113.29a24 24 0 0 0 19.52 23.57l232.93 43.07a4 4 0 0 1 0 7.86L35.53 303.45A24 24 0 0 0 16 327v113.31A23.57 23.57 0 0 0 26.59 460a23.94 23.94 0 0 0 13.22 4a24.55 24.55 0 0 0 9.52-1.93L476.4 285.94l.19-.09a32 32 0 0 0 0-58.8"/></svg>', Zs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M464 208L352 96L240 208m112-94.87V416M48 304l112 112l112-112m-112 94V96"/></svg>', Qs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m112 112l20 320c.95 18.49 14.4 32 32 32h184c17.67 0 30.87-13.51 32-32l20-320"/><path fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M80 112h352"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M192 112V72h0a23.93 23.93 0 0 1 24-24h80a23.93 23.93 0 0 1 24 24h0v40m-64 64v224m-72-224l8 224m136-224l-8 224"/></svg>', Js = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M352 368h112V256"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m48 144l121.37 121.37a32 32 0 0 0 45.26 0l50.74-50.74a32 32 0 0 1 45.26 0L448 352"/></svg>', en = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M352 144h112v112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m48 368l121.37-121.37a32 32 0 0 1 45.26 0l50.74 50.74a32 32 0 0 0 45.26 0L448 160"/></svg>', tn = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M126 192H56a8 8 0 0 0-8 8v112a8 8 0 0 0 8 8h69.65a15.93 15.93 0 0 1 10.14 3.54l91.47 74.89A8 8 0 0 0 240 392V120a8 8 0 0 0-12.74-6.43l-91.47 74.89A15 15 0 0 1 126 192m194 128c9.74-19.38 16-40.84 16-64c0-23.48-6-44.42-16-64m48 176c19.48-33.92 32-64.06 32-112s-12-77.74-32-112m48 272c30-46 48-91.43 48-160s-18-113-48-160"/></svg>', rn = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M189.65 192H120a8 8 0 0 0-8 8v112a8 8 0 0 0 8 8h69.65a16 16 0 0 1 10.14 3.63l91.47 75a8 8 0 0 0 12.74-6.46V119.83a8 8 0 0 0-12.74-6.44l-91.47 75a16 16 0 0 1-10.14 3.61M384 320c9.74-19.41 16-40.81 16-64c0-23.51-6-44.4-16-64"/></svg>', on = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M416 432L64 80"/><path fill="currentColor" d="M224 136.92v33.8a4 4 0 0 0 1.17 2.82l24 24a4 4 0 0 0 6.83-2.82v-74.15a24.53 24.53 0 0 0-12.67-21.72a23.91 23.91 0 0 0-25.55 1.83a8 8 0 0 0-.66.51l-31.94 26.15a4 4 0 0 0-.29 5.92l17.05 17.06a4 4 0 0 0 5.37.26Zm0 238.16l-78.07-63.92a32 32 0 0 0-20.28-7.16H64v-96h50.72a4 4 0 0 0 2.82-6.83l-24-24a4 4 0 0 0-2.82-1.17H56a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h69.76l91.36 74.8a8 8 0 0 0 .66.51a23.93 23.93 0 0 0 25.85 1.69A24.49 24.49 0 0 0 256 391.45v-50.17a4 4 0 0 0-1.17-2.82l-24-24a4 4 0 0 0-6.83 2.82ZM352 256c0-24.56-5.81-47.88-17.75-71.27a16 16 0 0 0-28.5 14.54C315.34 218.06 320 236.62 320 256q0 4-.31 8.13a8 8 0 0 0 2.32 6.25l19.66 19.67a4 4 0 0 0 6.75-2A147 147 0 0 0 352 256m64 0c0-51.19-13.08-83.89-34.18-120.06a16 16 0 0 0-27.64 16.12C373.07 184.44 384 211.83 384 256c0 23.83-3.29 42.88-9.37 60.65a8 8 0 0 0 1.9 8.26l16.77 16.76a4 4 0 0 0 6.52-1.27C410.09 315.88 416 289.91 416 256"/><path fill="currentColor" d="M480 256c0-74.26-20.19-121.11-50.51-168.61a16 16 0 1 0-27 17.22C429.82 147.38 448 189.5 448 256c0 47.45-8.9 82.12-23.59 113a4 4 0 0 0 .77 4.55L443 391.39a4 4 0 0 0 6.4-1C470.88 348.22 480 307 480 256"/></svg>', an = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="currentColor" d="M449.07 399.08L278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17m-198.6-1.83a20 20 0 1 1 20-20a20 20 0 0 1-20 20m21.72-201.15l-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7Z"/></svg>';
|
|
988
|
+
const vs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 112v288m144-144H112"/></svg>', bs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="currentColor" d="M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48m0 319.91a20 20 0 1 1 20-20a20 20 0 0 1-20 20m21.72-201.15l-5.74 122a16 16 0 0 1-32 0l-5.74-121.94v-.05a21.74 21.74 0 1 1 43.44 0Z"/></svg>', fs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192s192-86 192-192Z"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M250.26 166.05L256 288l5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 6"/><path fill="currentColor" d="M256 367.91a20 20 0 1 1 20-20a20 20 0 0 1-20 20"/></svg>', gs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><rect width="80" height="80" x="64" y="64" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="216" y="64" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="368" y="64" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="64" y="216" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="216" y="216" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="368" y="216" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="64" y="368" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="216" y="368" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/><rect width="80" height="80" x="368" y="368" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" rx="40" ry="40"/></svg>', xs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M80 152v256a40.12 40.12 0 0 0 40 40h272a40.12 40.12 0 0 0 40-40V152"/><rect width="416" height="80" x="48" y="64" fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" rx="28" ry="28"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m320 304l-64 64l-64-64m64 41.89V224"/></svg>', ys = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M448 256L272 88v96C103.57 184 64 304.77 64 424c48.61-62.24 91.6-96 208-96v96Z"/></svg>', ks = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M240 424v-96c116.4 0 159.39 33.76 208 96c0-119.23-39.57-240-208-240V88L64 256Z"/></svg>', ws = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M135.19 390.14a28.8 28.8 0 0 0 21.68 9.86h246.26A29 29 0 0 0 432 371.13V140.87A29 29 0 0 0 403.13 112H156.87a28.84 28.84 0 0 0-21.67 9.84L46.33 256l88.86 134.11Z"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M336.67 192.33L206.66 322.34m130.01 0L206.66 192.33m130.01 0L206.66 322.34m130.01 0L206.66 192.33"/></svg>', $s = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><rect width="416" height="384" x="48" y="80" fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" rx="48"/><circle cx="296" cy="232" r="24" fill="currentColor"/><circle cx="376" cy="232" r="24" fill="currentColor"/><circle cx="296" cy="312" r="24" fill="currentColor"/><circle cx="376" cy="312" r="24" fill="currentColor"/><circle cx="136" cy="312" r="24" fill="currentColor"/><circle cx="216" cy="312" r="24" fill="currentColor"/><circle cx="136" cy="392" r="24" fill="currentColor"/><circle cx="216" cy="392" r="24" fill="currentColor"/><circle cx="296" cy="392" r="24" fill="currentColor"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M128 48v32m256-32v32"/><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M464 160H48"/></svg>', Cs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="currentColor" d="M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208s208-93.31 208-208S370.69 48 256 48m108.25 138.29l-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32l122.59-145.91a16 16 0 0 1 24.5 20.58"/></svg>', zs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M416 128L192 384l-96-96"/></svg>', _s = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M328 112L184 256l144 144"/></svg>', Ss = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M328 112L184 256l144 144"/></svg>', Es = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="m112 184l144 144l144-144"/></svg>', Ps = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="m184 112l144 144l-144 144"/></svg>', Os = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="m184 112l144 144l-144 144"/></svg>', Ms = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="m112 328l144-144l144 144"/></svg>', As = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="currentColor" d="m289.94 256l95-95A24 24 0 0 0 351 127l-95 95l-95-95a24 24 0 0 0-34 34l95 95l-95 95a24 24 0 1 0 34 34l95-95l95 95a24 24 0 0 0 34-34Z"/></svg>', Ds = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M368 368L144 144m224 0L144 368"/></svg>', js = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M320 367.79h76c55 0 100-29.21 100-83.6s-53-81.47-96-83.6c-8.89-85.06-71-136.8-144-136.8c-69 0-113.44 45.79-128 91.2c-60 5.7-112 43.88-112 106.4s54 106.4 120 106.4h56"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m320 255.79l-64-64l-64 64m64 192.42V207.79"/></svg>', Ls = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M384 224v184a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V168a40 40 0 0 1 40-40h167.48"/><path fill="currentColor" d="M459.94 53.25a16.06 16.06 0 0 0-23.22-.56L424.35 65a8 8 0 0 0 0 11.31l11.34 11.32a8 8 0 0 0 11.34 0l12.06-12c6.1-6.09 6.67-16.01.85-22.38M399.34 90L218.82 270.2a9 9 0 0 0-2.31 3.93L208.16 299a3.91 3.91 0 0 0 4.86 4.86l24.85-8.35a9 9 0 0 0 3.93-2.31L422 112.66a9 9 0 0 0 0-12.66l-9.95-10a9 9 0 0 0-12.71 0"/></svg>', Is = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M208 64h66.75a32 32 0 0 1 22.62 9.37l141.26 141.26a32 32 0 0 1 9.37 22.62V432a48 48 0 0 1-48 48H192a48 48 0 0 1-48-48V304"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M288 72v120a32 32 0 0 0 32 32h120"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M160 80v152a23.69 23.69 0 0 1-24 24c-12 0-24-9.1-24-24V88c0-30.59 16.57-56 48-56s48 24.8 48 55.38v138.75c0 43-27.82 77.87-72 77.87s-72-34.86-72-77.87V144"/></svg>', Ts = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M416 221.25V416a48 48 0 0 1-48 48H144a48 48 0 0 1-48-48V96a48 48 0 0 1 48-48h98.75a32 32 0 0 1 22.62 9.37l141.26 141.26a32 32 0 0 1 9.37 22.62Z"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 56v120a32 32 0 0 0 32 32h120"/></svg>', Bs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M416 221.25V416a48 48 0 0 1-48 48H144a48 48 0 0 1-48-48V96a48 48 0 0 1 48-48h98.75a32 32 0 0 1 22.62 9.37l141.26 141.26a32 32 0 0 1 9.37 22.62Z"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 56v120a32 32 0 0 0 32 32h120m-232 80h160m-160 80h160"/></svg>', Fs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M336 176h40a40 40 0 0 1 40 40v208a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V216a40 40 0 0 1 40-40h40"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m176 272l80 80l80-80M256 48v288"/></svg>', Rs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><circle cx="256" cy="256" r="48" fill="currentColor"/><circle cx="256" cy="416" r="48" fill="currentColor"/><circle cx="256" cy="96" r="48" fill="currentColor"/></svg>', Ns = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M432 320v112H320m101.8-10.23L304 304M80 192V80h112M90.2 90.23L208 208M320 80h112v112M421.77 90.2L304 208M192 432H80V320m10.23 101.8L208 304"/></svg>', qs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32" d="M384 80H128c-26 0-43 14-48 40L48 272v112a48.14 48.14 0 0 0 48 48h320a48.14 48.14 0 0 0 48-48V272l-32-152c-5-27-23-40-48-40Z"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M48 272h144m128 0h144m-272 0a64 64 0 0 0 128 0"/></svg>', Us = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M64 192v-72a40 40 0 0 1 40-40h75.89a40 40 0 0 1 22.19 6.72l27.84 18.56a40 40 0 0 0 22.19 6.72H408a40 40 0 0 1 40 40v40"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M479.9 226.55L463.68 392a40 40 0 0 1-39.93 40H88.25a40 40 0 0 1-39.93-40L32.1 226.55A32 32 0 0 1 64 192h384.1a32 32 0 0 1 31.8 34.55"/></svg>', Vs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="currentColor" d="M256 56C145.72 56 56 145.72 56 256s89.72 200 200 200s200-89.72 200-200S366.28 56 256 56m0 82a26 26 0 1 1-26 26a26 26 0 0 1 26-26m48 226h-88a16 16 0 0 1 0-32h28v-88h-16a16 16 0 0 1 0-32h32a16 16 0 0 1 16 16v104h28a16 16 0 0 1 0 32"/></svg>', Hs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M80 160h352M80 256h352M80 352h352"/></svg>', Ks = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M128.51 204.59q-.37 6.15-.37 12.76C128.14 304 110 320 84.33 351.43C73.69 364.45 83 384 101.62 384H320m94.5-48.7c-18.48-23.45-30.62-47.05-30.62-118c0-79.3-40.52-107.57-73.88-121.3c-4.43-1.82-8.6-6-9.95-10.55C294.21 65.54 277.82 48 256 48s-38.2 17.55-44 37.47c-1.35 4.6-5.52 8.71-10 10.53a150 150 0 0 0-18 8.79M320 384v16a64 64 0 0 1-128 0v-16"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M448 448L64 64"/></svg>', Ys = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M384 224v184a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V168a40 40 0 0 1 40-40h167.48M336 64h112v112M224 288L440 72"/></svg>', Ws = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M112 111v290c0 17.44 17 28.52 31 20.16l247.9-148.37c12.12-7.25 12.12-26.33 0-33.58L143 90.84c-14-8.36-31 2.72-31 20.16Z"/></svg>', Xs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M400 256H112"/></svg>', Gs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32" d="M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64Z"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M338.29 338.29L448 448"/></svg>', Zs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="currentColor" d="m476.59 227.05l-.16-.07L49.35 49.84A23.56 23.56 0 0 0 27.14 52A24.65 24.65 0 0 0 16 72.59v113.29a24 24 0 0 0 19.52 23.57l232.93 43.07a4 4 0 0 1 0 7.86L35.53 303.45A24 24 0 0 0 16 327v113.31A23.57 23.57 0 0 0 26.59 460a23.94 23.94 0 0 0 13.22 4a24.55 24.55 0 0 0 9.52-1.93L476.4 285.94l.19-.09a32 32 0 0 0 0-58.8"/></svg>', Qs = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M464 208L352 96L240 208m112-94.87V416M48 304l112 112l112-112m-112 94V96"/></svg>', Js = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m112 112l20 320c.95 18.49 14.4 32 32 32h184c17.67 0 30.87-13.51 32-32l20-320"/><path fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M80 112h352"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M192 112V72h0a23.93 23.93 0 0 1 24-24h80a23.93 23.93 0 0 1 24 24h0v40m-64 64v224m-72-224l8 224m136-224l-8 224"/></svg>', en = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M352 368h112V256"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m48 144l121.37 121.37a32 32 0 0 0 45.26 0l50.74-50.74a32 32 0 0 1 45.26 0L448 352"/></svg>', tn = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M352 144h112v112"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m48 368l121.37-121.37a32 32 0 0 1 45.26 0l50.74 50.74a32 32 0 0 0 45.26 0L448 160"/></svg>', rn = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M126 192H56a8 8 0 0 0-8 8v112a8 8 0 0 0 8 8h69.65a15.93 15.93 0 0 1 10.14 3.54l91.47 74.89A8 8 0 0 0 240 392V120a8 8 0 0 0-12.74-6.43l-91.47 74.89A15 15 0 0 1 126 192m194 128c9.74-19.38 16-40.84 16-64c0-23.48-6-44.42-16-64m48 176c19.48-33.92 32-64.06 32-112s-12-77.74-32-112m48 272c30-46 48-91.43 48-160s-18-113-48-160"/></svg>', on = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M189.65 192H120a8 8 0 0 0-8 8v112a8 8 0 0 0 8 8h69.65a16 16 0 0 1 10.14 3.63l91.47 75a8 8 0 0 0 12.74-6.46V119.83a8 8 0 0 0-12.74-6.44l-91.47 75a16 16 0 0 1-10.14 3.61M384 320c9.74-19.41 16-40.81 16-64c0-23.51-6-44.4-16-64"/></svg>', an = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M416 432L64 80"/><path fill="currentColor" d="M224 136.92v33.8a4 4 0 0 0 1.17 2.82l24 24a4 4 0 0 0 6.83-2.82v-74.15a24.53 24.53 0 0 0-12.67-21.72a23.91 23.91 0 0 0-25.55 1.83a8 8 0 0 0-.66.51l-31.94 26.15a4 4 0 0 0-.29 5.92l17.05 17.06a4 4 0 0 0 5.37.26Zm0 238.16l-78.07-63.92a32 32 0 0 0-20.28-7.16H64v-96h50.72a4 4 0 0 0 2.82-6.83l-24-24a4 4 0 0 0-2.82-1.17H56a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h69.76l91.36 74.8a8 8 0 0 0 .66.51a23.93 23.93 0 0 0 25.85 1.69A24.49 24.49 0 0 0 256 391.45v-50.17a4 4 0 0 0-1.17-2.82l-24-24a4 4 0 0 0-6.83 2.82ZM352 256c0-24.56-5.81-47.88-17.75-71.27a16 16 0 0 0-28.5 14.54C315.34 218.06 320 236.62 320 256q0 4-.31 8.13a8 8 0 0 0 2.32 6.25l19.66 19.67a4 4 0 0 0 6.75-2A147 147 0 0 0 352 256m64 0c0-51.19-13.08-83.89-34.18-120.06a16 16 0 0 0-27.64 16.12C373.07 184.44 384 211.83 384 256c0 23.83-3.29 42.88-9.37 60.65a8 8 0 0 0 1.9 8.26l16.77 16.76a4 4 0 0 0 6.52-1.27C410.09 315.88 416 289.91 416 256"/><path fill="currentColor" d="M480 256c0-74.26-20.19-121.11-50.51-168.61a16 16 0 1 0-27 17.22C429.82 147.38 448 189.5 448 256c0 47.45-8.9 82.12-23.59 113a4 4 0 0 0 .77 4.55L443 391.39a4 4 0 0 0 6.4-1C470.88 348.22 480 307 480 256"/></svg>', sn = '<svg viewBox="0 0 512 512" width="1.2em" height="1.2em" ><path fill="currentColor" d="M449.07 399.08L278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17m-198.6-1.83a20 20 0 1 1 20-20a20 20 0 0 1-20 20m21.72-201.15l-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7Z"/></svg>';
|
|
989
989
|
function S(n) {
|
|
990
990
|
return `data:image/svg+xml;utf8,${n}`;
|
|
991
991
|
}
|
|
992
|
-
const Gi = S(
|
|
992
|
+
const Gi = S(vs), Zi = S(bs), Qi = S(fs), Ji = S(gs), ea = S(xs), ta = S(ys), ra = S(ks), oa = S(ws), ia = S($s), aa = S(Cs), sa = S(zs), Zo = S(_s), _r = S(Ss), ao = S(Es), na = S(Ps), X = S(Os), la = S(Ms), ro = S(As), pt = S(Ds), ca = S(js), da = S(Ls), pa = S(Is), ha = S(Ts), ua = S(Bs), so = S(Fs), Qo = S(Rs), Jo = S(Ns), ma = S(qs), va = S(Us), Lo = S(Vs), ba = S(Hs), fa = S(Ks), ga = S(Ys), xa = S(Ws), ei = S(Xs), ti = S(Gs), ya = S(Zs), ka = S(Qs), ri = S(Js), wa = S(en), $a = S(tn), Ca = S(rn), za = S(on), _a = S(an), Sa = S(sn), nn = {
|
|
993
993
|
add: Gi,
|
|
994
994
|
"alert-circle": Zi,
|
|
995
995
|
"alert-circle-outline": Qi,
|
|
@@ -1039,14 +1039,14 @@ const Gi = S(ms), Zi = S(vs), Qi = S(bs), Ji = S(fs), ea = S(gs), ta = S(xs), ra
|
|
|
1039
1039
|
function A(n) {
|
|
1040
1040
|
if (!n) return;
|
|
1041
1041
|
const e = n.trimStart();
|
|
1042
|
-
return e.startsWith("<svg") ? S(e) :
|
|
1042
|
+
return e.startsWith("<svg") ? S(e) : nn[n] ?? n;
|
|
1043
1043
|
}
|
|
1044
|
-
var
|
|
1045
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
1044
|
+
var ln = Object.defineProperty, cn = Object.getOwnPropertyDescriptor, _ = (n, e, t, o) => {
|
|
1045
|
+
for (var r = o > 1 ? void 0 : o ? cn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
1046
1046
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
1047
|
-
return o && r &&
|
|
1047
|
+
return o && r && ln(e, t, r), r;
|
|
1048
1048
|
};
|
|
1049
|
-
const
|
|
1049
|
+
const dn = {
|
|
1050
1050
|
search: "Search…",
|
|
1051
1051
|
empty: "No results",
|
|
1052
1052
|
filters: "Filters",
|
|
@@ -1081,7 +1081,7 @@ const cn = {
|
|
|
1081
1081
|
showing: "Showing {from}–{to} of",
|
|
1082
1082
|
recordSingular: "record",
|
|
1083
1083
|
recordPlural: "records"
|
|
1084
|
-
},
|
|
1084
|
+
}, pn = {
|
|
1085
1085
|
search: "Buscar…",
|
|
1086
1086
|
empty: "Sin resultados",
|
|
1087
1087
|
filters: "Filtros",
|
|
@@ -1116,10 +1116,9 @@ const cn = {
|
|
|
1116
1116
|
showing: "Mostrando {from}–{to} de",
|
|
1117
1117
|
recordSingular: "registro",
|
|
1118
1118
|
recordPlural: "registros"
|
|
1119
|
-
}
|
|
1120
|
-
class z extends g {
|
|
1119
|
+
}, z = class Ea extends g {
|
|
1121
1120
|
constructor() {
|
|
1122
|
-
super(...arguments), this.columns = [], this.rows = [], this.searchKeys = [], this.rowKeyField = "id", this.pageSize = 10, this.labels = {}, this.actions = [], this.addable = !1, this.pageSizeOptions = [10, 25, 50, 100], this.fill = !1, this.columnPicker = !0, this.csv = !1, this.csvName = "export.csv", this.serverSide = !1, this.total = 0, this.page = 0, this.searchable = !1, this.sortDir = "asc", this.title = "", this.views = !1, this.exportable = !1, this.importable = !1, this.columnSelector = !1, this.selectable = !1, this.inlineFilters = !1, this.menuActions = [], this.q = "", this.clientPage = 0, this.clientPageSize = 0, this.clientSort = "", this.clientSortDir = "asc", this.clientFilters = {}, this.filterDraft = {}, this.panel = "none", this.viewMode = "table", this.hiddenKeys = /* @__PURE__ */ new Set(), this.internalSelection = /* @__PURE__ */ new Set(), this.menuOpen = !1, this.onLocaleChanged = () => this.requestUpdate(), this.onSearch = (e) => {
|
|
1121
|
+
super(...arguments), this.columns = [], this.rows = [], this.searchKeys = [], this.rowKeyField = "id", this.pageSize = 10, this.labels = {}, this.actions = [], this.addable = !1, this.pageSizeOptions = [10, 25, 50, 100], this.fill = !1, this.columnPicker = !0, this.csv = !1, this.csvName = "export.csv", this.serverSide = !1, this.total = 0, this.page = 0, this.searchable = !1, this.sortDir = "asc", this.title = "", this.views = !1, this.exportable = !1, this.importable = !1, this.columnSelector = !1, this.selectable = !1, this.inlineFilters = !1, this.menuActions = [], this.q = "", this.clientPage = 0, this.clientPageSize = 0, this.clientSort = "", this.clientSortDir = "asc", this.clientFilters = {}, this.filterDraft = {}, this.panel = "none", this.viewMode = "table", this.isMobile = !1, this.hiddenKeys = /* @__PURE__ */ new Set(), this.internalSelection = /* @__PURE__ */ new Set(), this.menuOpen = !1, this.onLocaleChanged = () => this.requestUpdate(), this.onSearch = (e) => {
|
|
1123
1122
|
const t = e.target.value ?? "";
|
|
1124
1123
|
this.serverSide ? this.emit("searchChange", t) : (this.q = t, this.clientPage = 0);
|
|
1125
1124
|
};
|
|
@@ -1356,15 +1355,29 @@ class z extends g {
|
|
|
1356
1355
|
ion-button { --box-shadow: none; }
|
|
1357
1356
|
`;
|
|
1358
1357
|
}
|
|
1358
|
+
static {
|
|
1359
|
+
this.MOBILE_BREAKPOINT = 640;
|
|
1360
|
+
}
|
|
1359
1361
|
connectedCallback() {
|
|
1360
|
-
super.connectedCallback(), typeof window < "u" && window.addEventListener("erplora:locale-changed", this.onLocaleChanged)
|
|
1362
|
+
if (super.connectedCallback(), typeof window < "u" && window.addEventListener("erplora:locale-changed", this.onLocaleChanged), typeof window < "u" && typeof window.matchMedia == "function") {
|
|
1363
|
+
this.mq = window.matchMedia(`(max-width: ${Ea.MOBILE_BREAKPOINT}px)`), this.isMobile = this.mq.matches;
|
|
1364
|
+
const e = (t) => {
|
|
1365
|
+
const o = "matches" in t ? t.matches : this.mq?.matches ?? !1;
|
|
1366
|
+
this.isMobile !== o && (this.isMobile = o, o && this.cardViewEnabled ? this.viewMode = "cards" : !o && this.viewMode === "cards" && (this.viewMode = "table"));
|
|
1367
|
+
};
|
|
1368
|
+
this.mq.addEventListener("change", e), this._mqHandler = e;
|
|
1369
|
+
}
|
|
1361
1370
|
}
|
|
1362
1371
|
disconnectedCallback() {
|
|
1363
|
-
typeof window < "u" && window.removeEventListener("erplora:locale-changed", this.onLocaleChanged),
|
|
1372
|
+
if (typeof window < "u" && window.removeEventListener("erplora:locale-changed", this.onLocaleChanged), this.mq) {
|
|
1373
|
+
const e = this._mqHandler;
|
|
1374
|
+
e && this.mq.removeEventListener("change", e), this.mq = void 0;
|
|
1375
|
+
}
|
|
1376
|
+
super.disconnectedCallback();
|
|
1364
1377
|
}
|
|
1365
1378
|
// ── i18n: idioma del documento ← overrides explícitos de `.labels` ─────────────────────────
|
|
1366
1379
|
get t() {
|
|
1367
|
-
return { ...(typeof document > "u" ? "en" : document.documentElement.lang.toLowerCase()).startsWith("es") ?
|
|
1380
|
+
return { ...(typeof document > "u" ? "en" : document.documentElement.lang.toLowerCase()).startsWith("es") ? pn : dn, ...this.labels };
|
|
1368
1381
|
}
|
|
1369
1382
|
/** Placeholder efectivo del buscador (prop explícita → label i18n → default inglés). */
|
|
1370
1383
|
get effSearchPlaceholder() {
|
|
@@ -1429,7 +1442,7 @@ class z extends g {
|
|
|
1429
1442
|
/** Exporta las filas a CSV (cabeceras = column.key). Si no hay filas, exporta solo la estructura. */
|
|
1430
1443
|
exportCsv() {
|
|
1431
1444
|
const e = this.columns, t = e.map((c) => this.csvEscape(c.key)).join(","), o = this.rows.map((c) => e.map((u) => this.csvEscape(c[u.key])).join(",")), r = [t, ...o].join(`\r
|
|
1432
|
-
`), i = new Blob([
|
|
1445
|
+
`), i = new Blob([us + r], { type: "text/csv;charset=utf-8" }), a = URL.createObjectURL(i), d = document.createElement("a");
|
|
1433
1446
|
d.href = a, d.download = this.csvName, d.click(), URL.revokeObjectURL(a), this.emit("csvExport", { rows: this.rows.length }), this.emit("export", { rows: this.rows.length });
|
|
1434
1447
|
}
|
|
1435
1448
|
parseCsv(e) {
|
|
@@ -1448,7 +1461,7 @@ class z extends g {
|
|
|
1448
1461
|
async onImportFile(e) {
|
|
1449
1462
|
const t = e.target, o = t.files?.[0];
|
|
1450
1463
|
if (!o) return;
|
|
1451
|
-
const r =
|
|
1464
|
+
const r = ms(await o.arrayBuffer()), { headers: i, rows: a } = this.parseCsv(r);
|
|
1452
1465
|
this.emit("csvImport", { headers: i, rows: a }), this.emit("import", { headers: i, rows: a }), t.value = "";
|
|
1453
1466
|
}
|
|
1454
1467
|
toggle(e) {
|
|
@@ -1628,7 +1641,7 @@ class z extends g {
|
|
|
1628
1641
|
// forma robusta de arrancar en tarjetas sin depender de fijar `viewMode` por referencia (que
|
|
1629
1642
|
// falla si la tabla monta detrás de un `v-if`/loading y el ref aún es null).
|
|
1630
1643
|
firstUpdated() {
|
|
1631
|
-
this.defaultView === "cards" && this.cardViewEnabled ? this.viewMode = "cards" : this.defaultView === "table" && (this.viewMode = "table");
|
|
1644
|
+
this.isMobile && this.cardViewEnabled ? this.viewMode = "cards" : this.defaultView === "cards" && this.cardViewEnabled ? this.viewMode = "cards" : this.defaultView === "table" && (this.viewMode = "table");
|
|
1632
1645
|
}
|
|
1633
1646
|
setViewMode(e) {
|
|
1634
1647
|
this.viewMode !== e && (this.viewMode = e, this.emit("viewChange", e));
|
|
@@ -2062,7 +2075,7 @@ class z extends g {
|
|
|
2062
2075
|
</div>
|
|
2063
2076
|
`;
|
|
2064
2077
|
}
|
|
2065
|
-
}
|
|
2078
|
+
};
|
|
2066
2079
|
_([
|
|
2067
2080
|
l({ attribute: !1 })
|
|
2068
2081
|
], z.prototype, "columns", 2);
|
|
@@ -2201,6 +2214,9 @@ _([
|
|
|
2201
2214
|
_([
|
|
2202
2215
|
v()
|
|
2203
2216
|
], z.prototype, "viewMode", 2);
|
|
2217
|
+
_([
|
|
2218
|
+
v()
|
|
2219
|
+
], z.prototype, "isMobile", 2);
|
|
2204
2220
|
_([
|
|
2205
2221
|
v()
|
|
2206
2222
|
], z.prototype, "hiddenKeys", 2);
|
|
@@ -2210,13 +2226,14 @@ _([
|
|
|
2210
2226
|
_([
|
|
2211
2227
|
v()
|
|
2212
2228
|
], z.prototype, "menuOpen", 2);
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2229
|
+
let hn = z;
|
|
2230
|
+
k("ok-data-table", hn);
|
|
2231
|
+
var un = Object.defineProperty, mn = Object.getOwnPropertyDescriptor, ht = (n, e, t, o) => {
|
|
2232
|
+
for (var r = o > 1 ? void 0 : o ? mn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
2216
2233
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
2217
|
-
return o && r &&
|
|
2234
|
+
return o && r && un(e, t, r), r;
|
|
2218
2235
|
};
|
|
2219
|
-
const
|
|
2236
|
+
const vn = {
|
|
2220
2237
|
compose: "Compose",
|
|
2221
2238
|
searchPlaceholder: "Search mail…",
|
|
2222
2239
|
unread: "Unread",
|
|
@@ -2515,7 +2532,7 @@ class Le extends g {
|
|
|
2515
2532
|
}
|
|
2516
2533
|
/** Textos efectivos (defaults inglés + overrides). */
|
|
2517
2534
|
get t() {
|
|
2518
|
-
return { ...
|
|
2535
|
+
return { ...vn, ...this.labels };
|
|
2519
2536
|
}
|
|
2520
2537
|
emit(e, t) {
|
|
2521
2538
|
this.dispatchEvent(new CustomEvent(e, { detail: t, bubbles: !0, composed: !0 }));
|
|
@@ -2734,12 +2751,12 @@ ht([
|
|
|
2734
2751
|
v()
|
|
2735
2752
|
], Le.prototype, "q", 2);
|
|
2736
2753
|
k("ok-mail", Le);
|
|
2737
|
-
var
|
|
2738
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
2754
|
+
var bn = Object.defineProperty, fn = Object.getOwnPropertyDescriptor, Sr = (n, e, t, o) => {
|
|
2755
|
+
for (var r = o > 1 ? void 0 : o ? fn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
2739
2756
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
2740
|
-
return o && r &&
|
|
2757
|
+
return o && r && bn(e, t, r), r;
|
|
2741
2758
|
};
|
|
2742
|
-
const
|
|
2759
|
+
const gn = {
|
|
2743
2760
|
expand: "Expand",
|
|
2744
2761
|
collapse: "Collapse"
|
|
2745
2762
|
};
|
|
@@ -2881,7 +2898,7 @@ class qt extends g {
|
|
|
2881
2898
|
}
|
|
2882
2899
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
2883
2900
|
get t() {
|
|
2884
|
-
return { ...
|
|
2901
|
+
return { ...gn, ...this.labels };
|
|
2885
2902
|
}
|
|
2886
2903
|
// Siembra el estado de expansión a partir del campo `expanded` de cada nodo (una sola vez).
|
|
2887
2904
|
seedExpanded(e) {
|
|
@@ -2969,12 +2986,12 @@ Sr([
|
|
|
2969
2986
|
v()
|
|
2970
2987
|
], qt.prototype, "expandedIds", 2);
|
|
2971
2988
|
k("ok-tree", qt);
|
|
2972
|
-
var
|
|
2973
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
2989
|
+
var xn = Object.defineProperty, yn = Object.getOwnPropertyDescriptor, ut = (n, e, t, o) => {
|
|
2990
|
+
for (var r = o > 1 ? void 0 : o ? yn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
2974
2991
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
2975
|
-
return o && r &&
|
|
2992
|
+
return o && r && xn(e, t, r), r;
|
|
2976
2993
|
};
|
|
2977
|
-
const
|
|
2994
|
+
const kn = {
|
|
2978
2995
|
dismiss: "Dismiss"
|
|
2979
2996
|
};
|
|
2980
2997
|
class Ie extends g {
|
|
@@ -3104,7 +3121,7 @@ class Ie extends g {
|
|
|
3104
3121
|
}
|
|
3105
3122
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
3106
3123
|
get t() {
|
|
3107
|
-
return { ...
|
|
3124
|
+
return { ...kn, ...this.labels };
|
|
3108
3125
|
}
|
|
3109
3126
|
// Icono por defecto según el tono (overridable por la prop `icon`).
|
|
3110
3127
|
defaultIcon() {
|
|
@@ -3173,10 +3190,10 @@ ut([
|
|
|
3173
3190
|
v()
|
|
3174
3191
|
], Ie.prototype, "hasActions", 2);
|
|
3175
3192
|
k("ok-inline-feedback", Ie);
|
|
3176
|
-
var
|
|
3177
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
3193
|
+
var wn = Object.defineProperty, $n = Object.getOwnPropertyDescriptor, oi = (n, e, t, o) => {
|
|
3194
|
+
for (var r = o > 1 ? void 0 : o ? $n(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
3178
3195
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
3179
|
-
return o && r &&
|
|
3196
|
+
return o && r && wn(e, t, r), r;
|
|
3180
3197
|
};
|
|
3181
3198
|
class no extends g {
|
|
3182
3199
|
constructor() {
|
|
@@ -3266,10 +3283,10 @@ oi([
|
|
|
3266
3283
|
l()
|
|
3267
3284
|
], no.prototype, "message", 2);
|
|
3268
3285
|
k("ok-empty-state", no);
|
|
3269
|
-
var
|
|
3270
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
3286
|
+
var Cn = Object.defineProperty, zn = Object.getOwnPropertyDescriptor, Er = (n, e, t, o) => {
|
|
3287
|
+
for (var r = o > 1 ? void 0 : o ? zn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
3271
3288
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
3272
|
-
return o && r &&
|
|
3289
|
+
return o && r && Cn(e, t, r), r;
|
|
3273
3290
|
};
|
|
3274
3291
|
class Ut extends g {
|
|
3275
3292
|
constructor() {
|
|
@@ -3400,10 +3417,10 @@ Er([
|
|
|
3400
3417
|
l()
|
|
3401
3418
|
], Ut.prototype, "icon", 2);
|
|
3402
3419
|
k("ok-kpi", Ut);
|
|
3403
|
-
var
|
|
3404
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
3420
|
+
var _n = Object.defineProperty, Sn = Object.getOwnPropertyDescriptor, ii = (n, e, t, o) => {
|
|
3421
|
+
for (var r = o > 1 ? void 0 : o ? Sn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
3405
3422
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
3406
|
-
return o && r &&
|
|
3423
|
+
return o && r && _n(e, t, r), r;
|
|
3407
3424
|
};
|
|
3408
3425
|
class lo extends g {
|
|
3409
3426
|
static {
|
|
@@ -3467,12 +3484,12 @@ ii([
|
|
|
3467
3484
|
l()
|
|
3468
3485
|
], lo.prototype, "hint", 2);
|
|
3469
3486
|
k("ok-stat", lo);
|
|
3470
|
-
var
|
|
3471
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
3487
|
+
var En = Object.defineProperty, Pn = Object.getOwnPropertyDescriptor, ai = (n, e, t, o) => {
|
|
3488
|
+
for (var r = o > 1 ? void 0 : o ? Pn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
3472
3489
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
3473
|
-
return o && r &&
|
|
3490
|
+
return o && r && En(e, t, r), r;
|
|
3474
3491
|
};
|
|
3475
|
-
const
|
|
3492
|
+
const On = {
|
|
3476
3493
|
stepCount: "Step {n} of {total}"
|
|
3477
3494
|
};
|
|
3478
3495
|
class co extends g {
|
|
@@ -3683,7 +3700,7 @@ class co extends g {
|
|
|
3683
3700
|
}
|
|
3684
3701
|
/** Textos efectivos: defaults INGLÉS mezclados con los del consumidor. */
|
|
3685
3702
|
get t() {
|
|
3686
|
-
return { ...
|
|
3703
|
+
return { ...On, ...this.labels };
|
|
3687
3704
|
}
|
|
3688
3705
|
/** Emite ok-step-select al pulsar un paso. */
|
|
3689
3706
|
_select(e) {
|
|
@@ -3750,10 +3767,10 @@ ai([
|
|
|
3750
3767
|
l({ attribute: !1 })
|
|
3751
3768
|
], co.prototype, "labels", 2);
|
|
3752
3769
|
k("ok-stepper", co);
|
|
3753
|
-
var
|
|
3754
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
3770
|
+
var Mn = Object.defineProperty, An = Object.getOwnPropertyDescriptor, Pr = (n, e, t, o) => {
|
|
3771
|
+
for (var r = o > 1 ? void 0 : o ? An(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
3755
3772
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
3756
|
-
return o && r &&
|
|
3773
|
+
return o && r && Mn(e, t, r), r;
|
|
3757
3774
|
};
|
|
3758
3775
|
class Vt extends g {
|
|
3759
3776
|
constructor() {
|
|
@@ -3882,12 +3899,12 @@ Pr([
|
|
|
3882
3899
|
l()
|
|
3883
3900
|
], Vt.prototype, "finishLabel", 2);
|
|
3884
3901
|
k("ok-wizard", Vt);
|
|
3885
|
-
var
|
|
3886
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
3902
|
+
var Dn = Object.defineProperty, jn = Object.getOwnPropertyDescriptor, mt = (n, e, t, o) => {
|
|
3903
|
+
for (var r = o > 1 ? void 0 : o ? jn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
3887
3904
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
3888
|
-
return o && r &&
|
|
3905
|
+
return o && r && Dn(e, t, r), r;
|
|
3889
3906
|
};
|
|
3890
|
-
const
|
|
3907
|
+
const Ln = {
|
|
3891
3908
|
customize: "Customize panel",
|
|
3892
3909
|
close: "Close",
|
|
3893
3910
|
presets: "Start from a preset",
|
|
@@ -3917,7 +3934,7 @@ class Te extends g {
|
|
|
3917
3934
|
`;
|
|
3918
3935
|
}
|
|
3919
3936
|
get t() {
|
|
3920
|
-
return { ...
|
|
3937
|
+
return { ...Ln, ...this.labels };
|
|
3921
3938
|
}
|
|
3922
3939
|
get byId() {
|
|
3923
3940
|
return new Map(this.widgets.map((e) => [e.id, e]));
|
|
@@ -4074,12 +4091,12 @@ mt([
|
|
|
4074
4091
|
v()
|
|
4075
4092
|
], Te.prototype, "initialized", 2);
|
|
4076
4093
|
k("ok-widget-board", Te);
|
|
4077
|
-
var
|
|
4078
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
4094
|
+
var In = Object.defineProperty, Tn = Object.getOwnPropertyDescriptor, fe = (n, e, t, o) => {
|
|
4095
|
+
for (var r = o > 1 ? void 0 : o ? Tn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
4079
4096
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
4080
|
-
return o && r &&
|
|
4097
|
+
return o && r && In(e, t, r), r;
|
|
4081
4098
|
};
|
|
4082
|
-
const
|
|
4099
|
+
const Bn = {
|
|
4083
4100
|
nameLabel: "Name",
|
|
4084
4101
|
emailLabel: "Email",
|
|
4085
4102
|
subjectLabel: "Subject (optional)",
|
|
@@ -4091,7 +4108,7 @@ const In = {
|
|
|
4091
4108
|
errorMessageRequired: "Message is required.",
|
|
4092
4109
|
errorSendFailed: "Could not send. Please try again.",
|
|
4093
4110
|
errorNetwork: "Could not send. Check your connection."
|
|
4094
|
-
}, oe = class
|
|
4111
|
+
}, oe = class Pa extends g {
|
|
4095
4112
|
constructor() {
|
|
4096
4113
|
super(...arguments), this.submitLabel = "Send", this.successMessage = "Thanks! We’ll get back to you soon.", this.labels = {}, this.values = { name: "", email: "", subject: "", message: "" }, this.errors = {}, this.sent = !1, this.sending = !1;
|
|
4097
4114
|
}
|
|
@@ -4177,7 +4194,7 @@ const In = {
|
|
|
4177
4194
|
}
|
|
4178
4195
|
// Textos efectivos: defaults inglés sobreescritos por los pasados desde fuera.
|
|
4179
4196
|
get t() {
|
|
4180
|
-
return { ...
|
|
4197
|
+
return { ...Bn, ...this.labels };
|
|
4181
4198
|
}
|
|
4182
4199
|
static {
|
|
4183
4200
|
this.EMAIL_RE = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
@@ -4195,7 +4212,7 @@ const In = {
|
|
|
4195
4212
|
// Valida requeridos + patrón email. Devuelve true si todo es válido.
|
|
4196
4213
|
validate() {
|
|
4197
4214
|
const e = {}, { name: t, email: o, message: r } = this.values;
|
|
4198
|
-
return t.trim() || (e.name = this.t.errorNameRequired), o.trim() ?
|
|
4215
|
+
return t.trim() || (e.name = this.t.errorNameRequired), o.trim() ? Pa.EMAIL_RE.test(o.trim()) || (e.email = this.t.errorEmailInvalid) : e.email = this.t.errorEmailRequired, r.trim() || (e.message = this.t.errorMessageRequired), this.errors = e, Object.keys(e).length === 0;
|
|
4199
4216
|
}
|
|
4200
4217
|
async onSubmit(e) {
|
|
4201
4218
|
if (e.preventDefault(), this.sending || !this.validate()) return;
|
|
@@ -4325,14 +4342,14 @@ fe([
|
|
|
4325
4342
|
fe([
|
|
4326
4343
|
v()
|
|
4327
4344
|
], oe.prototype, "sending", 2);
|
|
4328
|
-
let
|
|
4329
|
-
k("ok-contact-form",
|
|
4330
|
-
var
|
|
4331
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
4345
|
+
let Fn = oe;
|
|
4346
|
+
k("ok-contact-form", Fn);
|
|
4347
|
+
var Rn = Object.defineProperty, Nn = Object.getOwnPropertyDescriptor, vt = (n, e, t, o) => {
|
|
4348
|
+
for (var r = o > 1 ? void 0 : o ? Nn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
4332
4349
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
4333
|
-
return o && r &&
|
|
4350
|
+
return o && r && Rn(e, t, r), r;
|
|
4334
4351
|
};
|
|
4335
|
-
const
|
|
4352
|
+
const qn = {
|
|
4336
4353
|
month: "Month",
|
|
4337
4354
|
agenda: "Agenda",
|
|
4338
4355
|
more: "+{n} more",
|
|
@@ -4617,7 +4634,7 @@ class Be extends g {
|
|
|
4617
4634
|
}
|
|
4618
4635
|
/** Textos efectivos: defaults INGLÉS mezclados con los del consumidor. */
|
|
4619
4636
|
get t() {
|
|
4620
|
-
return { ...
|
|
4637
|
+
return { ...qn, ...this.labels };
|
|
4621
4638
|
}
|
|
4622
4639
|
// Nombres cortos de los días (Lun–Dom) según el locale actual.
|
|
4623
4640
|
weekdays() {
|
|
@@ -4819,12 +4836,12 @@ vt([
|
|
|
4819
4836
|
v()
|
|
4820
4837
|
], Be.prototype, "cursor", 2);
|
|
4821
4838
|
k("ok-calendar", Be);
|
|
4822
|
-
var
|
|
4823
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
4839
|
+
var Un = Object.defineProperty, Vn = Object.getOwnPropertyDescriptor, bt = (n, e, t, o) => {
|
|
4840
|
+
for (var r = o > 1 ? void 0 : o ? Vn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
4824
4841
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
4825
|
-
return o && r &&
|
|
4842
|
+
return o && r && Un(e, t, r), r;
|
|
4826
4843
|
};
|
|
4827
|
-
const
|
|
4844
|
+
const Hn = {
|
|
4828
4845
|
empty: "No cards"
|
|
4829
4846
|
};
|
|
4830
4847
|
class Fe extends g {
|
|
@@ -5037,7 +5054,7 @@ class Fe extends g {
|
|
|
5037
5054
|
`;
|
|
5038
5055
|
}
|
|
5039
5056
|
get t() {
|
|
5040
|
-
return { ...
|
|
5057
|
+
return { ...Hn, ...this.labels };
|
|
5041
5058
|
}
|
|
5042
5059
|
// Clona en profundidad (solo los niveles que reordenamos) la prop hacia el estado interno.
|
|
5043
5060
|
syncFromProp() {
|
|
@@ -5187,12 +5204,12 @@ bt([
|
|
|
5187
5204
|
v()
|
|
5188
5205
|
], Fe.prototype, "overAfter", 2);
|
|
5189
5206
|
k("ok-kanban", Fe);
|
|
5190
|
-
var
|
|
5191
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
5207
|
+
var Kn = Object.defineProperty, Yn = Object.getOwnPropertyDescriptor, po = (n, e, t, o) => {
|
|
5208
|
+
for (var r = o > 1 ? void 0 : o ? Yn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
5192
5209
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
5193
|
-
return o && r &&
|
|
5210
|
+
return o && r && Kn(e, t, r), r;
|
|
5194
5211
|
};
|
|
5195
|
-
const
|
|
5212
|
+
const Wn = {
|
|
5196
5213
|
apps: "Apps",
|
|
5197
5214
|
empty: "No apps",
|
|
5198
5215
|
close: "Close"
|
|
@@ -5414,7 +5431,7 @@ class Or extends g {
|
|
|
5414
5431
|
}
|
|
5415
5432
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
5416
5433
|
get t() {
|
|
5417
|
-
return { ...
|
|
5434
|
+
return { ...Wn, ...this.labels };
|
|
5418
5435
|
}
|
|
5419
5436
|
disconnectedCallback() {
|
|
5420
5437
|
super.disconnectedCallback(), this.unbind();
|
|
@@ -5546,12 +5563,12 @@ po([
|
|
|
5546
5563
|
v()
|
|
5547
5564
|
], Or.prototype, "shown", 2);
|
|
5548
5565
|
k("ok-app-launcher", Or);
|
|
5549
|
-
var
|
|
5550
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
5566
|
+
var Xn = Object.defineProperty, Gn = Object.getOwnPropertyDescriptor, Ht = (n, e, t, o) => {
|
|
5567
|
+
for (var r = o > 1 ? void 0 : o ? Gn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
5551
5568
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
5552
|
-
return o && r &&
|
|
5569
|
+
return o && r && Xn(e, t, r), r;
|
|
5553
5570
|
};
|
|
5554
|
-
const
|
|
5571
|
+
const Zn = {
|
|
5555
5572
|
more: "More actions",
|
|
5556
5573
|
menu: "Actions",
|
|
5557
5574
|
empty: "No actions"
|
|
@@ -5672,7 +5689,7 @@ class ft extends g {
|
|
|
5672
5689
|
}
|
|
5673
5690
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
5674
5691
|
get t() {
|
|
5675
|
-
return { ...
|
|
5692
|
+
return { ...Zn, ...this.labels };
|
|
5676
5693
|
}
|
|
5677
5694
|
disconnectedCallback() {
|
|
5678
5695
|
super.disconnectedCallback(), this.unbind();
|
|
@@ -5769,12 +5786,12 @@ Ht([
|
|
|
5769
5786
|
v()
|
|
5770
5787
|
], ft.prototype, "open", 2);
|
|
5771
5788
|
k("ok-split-button", ft);
|
|
5772
|
-
var
|
|
5773
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
5789
|
+
var Qn = Object.defineProperty, Jn = Object.getOwnPropertyDescriptor, Re = (n, e, t, o) => {
|
|
5790
|
+
for (var r = o > 1 ? void 0 : o ? Jn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
5774
5791
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
5775
|
-
return o && r &&
|
|
5792
|
+
return o && r && Qn(e, t, r), r;
|
|
5776
5793
|
};
|
|
5777
|
-
const
|
|
5794
|
+
const el = {
|
|
5778
5795
|
placeholder: "Search…",
|
|
5779
5796
|
empty: "No results"
|
|
5780
5797
|
};
|
|
@@ -5895,7 +5912,7 @@ class ge extends g {
|
|
|
5895
5912
|
}
|
|
5896
5913
|
// Textos efectivos: defaults inglés sobreescritos por los pasados desde fuera.
|
|
5897
5914
|
get t() {
|
|
5898
|
-
return { ...
|
|
5915
|
+
return { ...el, ...this.labels };
|
|
5899
5916
|
}
|
|
5900
5917
|
// Placeholder efectivo: prop explícita si se pasó, si no el de los labels.
|
|
5901
5918
|
get effectivePlaceholder() {
|
|
@@ -6021,12 +6038,12 @@ Re([
|
|
|
6021
6038
|
v()
|
|
6022
6039
|
], ge.prototype, "activeIndex", 2);
|
|
6023
6040
|
k("ok-combo", ge);
|
|
6024
|
-
var
|
|
6025
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
6041
|
+
var tl = Object.defineProperty, rl = Object.getOwnPropertyDescriptor, gt = (n, e, t, o) => {
|
|
6042
|
+
for (var r = o > 1 ? void 0 : o ? rl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
6026
6043
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
6027
|
-
return o && r &&
|
|
6044
|
+
return o && r && tl(e, t, r), r;
|
|
6028
6045
|
};
|
|
6029
|
-
const
|
|
6046
|
+
const ol = {
|
|
6030
6047
|
placeholder: "Add tag…",
|
|
6031
6048
|
removeLabel: "Remove {tag}"
|
|
6032
6049
|
};
|
|
@@ -6189,7 +6206,7 @@ class Ne extends g {
|
|
|
6189
6206
|
}
|
|
6190
6207
|
// Textos efectivos: defaults inglés sobreescritos por los pasados desde fuera.
|
|
6191
6208
|
get t() {
|
|
6192
|
-
return { ...
|
|
6209
|
+
return { ...ol, ...this.labels };
|
|
6193
6210
|
}
|
|
6194
6211
|
// Placeholder efectivo: prop explícita si se pasó, si no el de los labels.
|
|
6195
6212
|
get effectivePlaceholder() {
|
|
@@ -6331,12 +6348,12 @@ gt([
|
|
|
6331
6348
|
v()
|
|
6332
6349
|
], Ne.prototype, "activeIndex", 2);
|
|
6333
6350
|
k("ok-tag-input", Ne);
|
|
6334
|
-
var
|
|
6335
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
6351
|
+
var il = Object.defineProperty, al = Object.getOwnPropertyDescriptor, Kt = (n, e, t, o) => {
|
|
6352
|
+
for (var r = o > 1 ? void 0 : o ? al(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
6336
6353
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
6337
|
-
return o && r &&
|
|
6354
|
+
return o && r && il(e, t, r), r;
|
|
6338
6355
|
};
|
|
6339
|
-
const
|
|
6356
|
+
const sl = {
|
|
6340
6357
|
starLabel: (n, e) => `${n} of ${e}`
|
|
6341
6358
|
};
|
|
6342
6359
|
class xt extends g {
|
|
@@ -6420,7 +6437,7 @@ class xt extends g {
|
|
|
6420
6437
|
}
|
|
6421
6438
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
6422
6439
|
get t() {
|
|
6423
|
-
return { ...
|
|
6440
|
+
return { ...sl, ...this.labels };
|
|
6424
6441
|
}
|
|
6425
6442
|
// Valor efectivo a pintar: el de hover si lo hay, si no el real.
|
|
6426
6443
|
get displayValue() {
|
|
@@ -6508,12 +6525,12 @@ Kt([
|
|
|
6508
6525
|
v()
|
|
6509
6526
|
], xt.prototype, "hoverValue", 2);
|
|
6510
6527
|
k("ok-rating", xt);
|
|
6511
|
-
var
|
|
6512
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
6528
|
+
var nl = Object.defineProperty, ll = Object.getOwnPropertyDescriptor, ho = (n, e, t, o) => {
|
|
6529
|
+
for (var r = o > 1 ? void 0 : o ? ll(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
6513
6530
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
6514
|
-
return o && r &&
|
|
6531
|
+
return o && r && nl(e, t, r), r;
|
|
6515
6532
|
};
|
|
6516
|
-
const
|
|
6533
|
+
const cl = {
|
|
6517
6534
|
digitLabel: (n, e) => `Digit ${n} of ${e}`
|
|
6518
6535
|
};
|
|
6519
6536
|
class Mr extends g {
|
|
@@ -6571,7 +6588,7 @@ class Mr extends g {
|
|
|
6571
6588
|
}
|
|
6572
6589
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
6573
6590
|
get t() {
|
|
6574
|
-
return { ...
|
|
6591
|
+
return { ...cl, ...this.labels };
|
|
6575
6592
|
}
|
|
6576
6593
|
// Devuelve los inputs del shadow en orden.
|
|
6577
6594
|
get inputs() {
|
|
@@ -6669,15 +6686,15 @@ ho([
|
|
|
6669
6686
|
l({ attribute: !1 })
|
|
6670
6687
|
], Mr.prototype, "labels", 2);
|
|
6671
6688
|
ho([
|
|
6672
|
-
|
|
6689
|
+
B("input")
|
|
6673
6690
|
], Mr.prototype, "firstInput", 2);
|
|
6674
6691
|
k("ok-otp", Mr);
|
|
6675
|
-
var
|
|
6676
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
6692
|
+
var dl = Object.defineProperty, pl = Object.getOwnPropertyDescriptor, qe = (n, e, t, o) => {
|
|
6693
|
+
for (var r = o > 1 ? void 0 : o ? pl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
6677
6694
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
6678
|
-
return o && r &&
|
|
6695
|
+
return o && r && dl(e, t, r), r;
|
|
6679
6696
|
};
|
|
6680
|
-
const
|
|
6697
|
+
const hl = {
|
|
6681
6698
|
keypad: "Number pad",
|
|
6682
6699
|
backspace: "Delete"
|
|
6683
6700
|
};
|
|
@@ -6781,7 +6798,7 @@ class xe extends g {
|
|
|
6781
6798
|
}
|
|
6782
6799
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
6783
6800
|
get t() {
|
|
6784
|
-
return { ...
|
|
6801
|
+
return { ...hl, ...this.labels };
|
|
6785
6802
|
}
|
|
6786
6803
|
// Añade un dígito (respetando `length`) y emite eventos.
|
|
6787
6804
|
press(e) {
|
|
@@ -6884,10 +6901,10 @@ qe([
|
|
|
6884
6901
|
l({ attribute: !1 })
|
|
6885
6902
|
], xe.prototype, "labels", 2);
|
|
6886
6903
|
k("ok-pinpad", xe);
|
|
6887
|
-
var
|
|
6888
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
6904
|
+
var ul = Object.defineProperty, ml = Object.getOwnPropertyDescriptor, yt = (n, e, t, o) => {
|
|
6905
|
+
for (var r = o > 1 ? void 0 : o ? ml(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
6889
6906
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
6890
|
-
return o && r &&
|
|
6907
|
+
return o && r && ul(e, t, r), r;
|
|
6891
6908
|
};
|
|
6892
6909
|
class Ue extends g {
|
|
6893
6910
|
constructor() {
|
|
@@ -7022,15 +7039,15 @@ yt([
|
|
|
7022
7039
|
v()
|
|
7023
7040
|
], Ue.prototype, "focused", 2);
|
|
7024
7041
|
k("ok-currency", Ue);
|
|
7025
|
-
var
|
|
7026
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
7042
|
+
var vl = Object.defineProperty, bl = Object.getOwnPropertyDescriptor, kt = (n, e, t, o) => {
|
|
7043
|
+
for (var r = o > 1 ? void 0 : o ? bl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
7027
7044
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
7028
|
-
return o && r &&
|
|
7045
|
+
return o && r && vl(e, t, r), r;
|
|
7029
7046
|
};
|
|
7030
|
-
const
|
|
7047
|
+
const fl = {
|
|
7031
7048
|
country: "Country",
|
|
7032
7049
|
number: "Phone number"
|
|
7033
|
-
}, Ve = class
|
|
7050
|
+
}, Ve = class Oa extends g {
|
|
7034
7051
|
constructor() {
|
|
7035
7052
|
super(...arguments), this.value = "", this.country = "ES", this.placeholder = "", this.labels = {}, this.number = "";
|
|
7036
7053
|
}
|
|
@@ -7112,7 +7129,7 @@ const vl = {
|
|
|
7112
7129
|
];
|
|
7113
7130
|
}
|
|
7114
7131
|
get t() {
|
|
7115
|
-
return { ...
|
|
7132
|
+
return { ...fl, ...this.labels };
|
|
7116
7133
|
}
|
|
7117
7134
|
// Sincroniza el número interno con la prop `value` (filtrando a dígitos).
|
|
7118
7135
|
willUpdate(e) {
|
|
@@ -7120,7 +7137,7 @@ const vl = {
|
|
|
7120
7137
|
}
|
|
7121
7138
|
// Lista efectiva de países.
|
|
7122
7139
|
get list() {
|
|
7123
|
-
return this.countries?.length ? this.countries :
|
|
7140
|
+
return this.countries?.length ? this.countries : Oa.DEFAULT_COUNTRIES;
|
|
7124
7141
|
}
|
|
7125
7142
|
// País actualmente seleccionado (fallback al primero de la lista).
|
|
7126
7143
|
get current() {
|
|
@@ -7224,14 +7241,14 @@ kt([
|
|
|
7224
7241
|
kt([
|
|
7225
7242
|
v()
|
|
7226
7243
|
], Ve.prototype, "number", 2);
|
|
7227
|
-
let
|
|
7228
|
-
k("ok-phone",
|
|
7229
|
-
var
|
|
7230
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
7244
|
+
let gl = Ve;
|
|
7245
|
+
k("ok-phone", gl);
|
|
7246
|
+
var xl = Object.defineProperty, yl = Object.getOwnPropertyDescriptor, ye = (n, e, t, o) => {
|
|
7247
|
+
for (var r = o > 1 ? void 0 : o ? yl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
7231
7248
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
7232
|
-
return o && r &&
|
|
7249
|
+
return o && r && xl(e, t, r), r;
|
|
7233
7250
|
};
|
|
7234
|
-
const
|
|
7251
|
+
const kl = {
|
|
7235
7252
|
title: "Drag & drop files here or {browse}",
|
|
7236
7253
|
browse: "browse",
|
|
7237
7254
|
errorType: "“{name}” is not an accepted file type.",
|
|
@@ -7401,7 +7418,7 @@ class ie extends g {
|
|
|
7401
7418
|
}
|
|
7402
7419
|
// Textos efectivos: defaults inglés sobreescritos por los pasados desde fuera.
|
|
7403
7420
|
get t() {
|
|
7404
|
-
return { ...
|
|
7421
|
+
return { ...kl, ...this.labels };
|
|
7405
7422
|
}
|
|
7406
7423
|
// Formatea bytes a una etiqueta legible (B, KB, MB…).
|
|
7407
7424
|
formatSize(e) {
|
|
@@ -7558,13 +7575,13 @@ ye([
|
|
|
7558
7575
|
v()
|
|
7559
7576
|
], ie.prototype, "error", 2);
|
|
7560
7577
|
ye([
|
|
7561
|
-
|
|
7578
|
+
B('input[type="file"]')
|
|
7562
7579
|
], ie.prototype, "input", 2);
|
|
7563
7580
|
k("ok-dropzone", ie);
|
|
7564
|
-
var
|
|
7565
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
7581
|
+
var wl = Object.defineProperty, $l = Object.getOwnPropertyDescriptor, Yt = (n, e, t, o) => {
|
|
7582
|
+
for (var r = o > 1 ? void 0 : o ? $l(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
7566
7583
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
7567
|
-
return o && r &&
|
|
7584
|
+
return o && r && wl(e, t, r), r;
|
|
7568
7585
|
};
|
|
7569
7586
|
class wt extends g {
|
|
7570
7587
|
constructor() {
|
|
@@ -7672,12 +7689,12 @@ Yt([
|
|
|
7672
7689
|
l({ type: Boolean })
|
|
7673
7690
|
], wt.prototype, "filled", 2);
|
|
7674
7691
|
k("ok-sparkline", wt);
|
|
7675
|
-
var
|
|
7676
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
7692
|
+
var Cl = Object.defineProperty, zl = Object.getOwnPropertyDescriptor, $t = (n, e, t, o) => {
|
|
7693
|
+
for (var r = o > 1 ? void 0 : o ? zl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
7677
7694
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
7678
|
-
return o && r &&
|
|
7695
|
+
return o && r && Cl(e, t, r), r;
|
|
7679
7696
|
};
|
|
7680
|
-
const
|
|
7697
|
+
const _l = {
|
|
7681
7698
|
composerPlaceholder: "Type a message…",
|
|
7682
7699
|
send: "Send"
|
|
7683
7700
|
};
|
|
@@ -7859,7 +7876,7 @@ class He extends g {
|
|
|
7859
7876
|
}
|
|
7860
7877
|
/** Textos efectivos (defaults inglés + overrides). */
|
|
7861
7878
|
get t() {
|
|
7862
|
-
return { ...
|
|
7879
|
+
return { ..._l, ...this.labels };
|
|
7863
7880
|
}
|
|
7864
7881
|
/** Placeholder efectivo: prop explícita o el de labels. */
|
|
7865
7882
|
get effectivePlaceholder() {
|
|
@@ -7957,18 +7974,18 @@ $t([
|
|
|
7957
7974
|
l({ attribute: !1 })
|
|
7958
7975
|
], He.prototype, "labels", 2);
|
|
7959
7976
|
$t([
|
|
7960
|
-
|
|
7977
|
+
B(".log")
|
|
7961
7978
|
], He.prototype, "logEl", 2);
|
|
7962
7979
|
$t([
|
|
7963
|
-
|
|
7980
|
+
B("ion-textarea")
|
|
7964
7981
|
], He.prototype, "textareaEl", 2);
|
|
7965
7982
|
k("ok-chat", He);
|
|
7966
|
-
var
|
|
7967
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
7983
|
+
var Sl = Object.defineProperty, El = Object.getOwnPropertyDescriptor, ke = (n, e, t, o) => {
|
|
7984
|
+
for (var r = o > 1 ? void 0 : o ? El(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
7968
7985
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
7969
|
-
return o && r &&
|
|
7986
|
+
return o && r && Sl(e, t, r), r;
|
|
7970
7987
|
};
|
|
7971
|
-
const
|
|
7988
|
+
const Pl = {
|
|
7972
7989
|
prevDay: "Previous day",
|
|
7973
7990
|
nextDay: "Next day",
|
|
7974
7991
|
empty: "No resources to display."
|
|
@@ -8240,7 +8257,7 @@ class ae extends g {
|
|
|
8240
8257
|
}
|
|
8241
8258
|
/** Textos efectivos: defaults INGLÉS mezclados con los del consumidor. */
|
|
8242
8259
|
get t() {
|
|
8243
|
-
return { ...
|
|
8260
|
+
return { ...Pl, ...this.labels };
|
|
8244
8261
|
}
|
|
8245
8262
|
// ── Helpers de fecha ──────────────────────────────────────────
|
|
8246
8263
|
// Convierte una `Date` a clave local `YYYY-MM-DD`.
|
|
@@ -8438,12 +8455,12 @@ ke([
|
|
|
8438
8455
|
v()
|
|
8439
8456
|
], ae.prototype, "cursor", 2);
|
|
8440
8457
|
k("ok-scheduler", ae);
|
|
8441
|
-
var
|
|
8442
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
8458
|
+
var Ol = Object.defineProperty, Ml = Object.getOwnPropertyDescriptor, Ke = (n, e, t, o) => {
|
|
8459
|
+
for (var r = o > 1 ? void 0 : o ? Ml(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
8443
8460
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
8444
|
-
return o && r &&
|
|
8461
|
+
return o && r && Ol(e, t, r), r;
|
|
8445
8462
|
};
|
|
8446
|
-
const
|
|
8463
|
+
const Al = {
|
|
8447
8464
|
menu: "Menu"
|
|
8448
8465
|
};
|
|
8449
8466
|
class we extends g {
|
|
@@ -8743,7 +8760,7 @@ class we extends g {
|
|
|
8743
8760
|
}
|
|
8744
8761
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
8745
8762
|
get t() {
|
|
8746
|
-
return { ...
|
|
8763
|
+
return { ...Al, ...this.labels };
|
|
8747
8764
|
}
|
|
8748
8765
|
connectedCallback() {
|
|
8749
8766
|
super.connectedCallback(), typeof ResizeObserver < "u" && (this.ro = new ResizeObserver((e) => {
|
|
@@ -8989,12 +9006,12 @@ Ke([
|
|
|
8989
9006
|
v()
|
|
8990
9007
|
], we.prototype, "isMobile", 2);
|
|
8991
9008
|
k("ok-menubar", we);
|
|
8992
|
-
var
|
|
8993
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
9009
|
+
var Dl = Object.defineProperty, jl = Object.getOwnPropertyDescriptor, Ct = (n, e, t, o) => {
|
|
9010
|
+
for (var r = o > 1 ? void 0 : o ? jl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
8994
9011
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
8995
|
-
return o && r &&
|
|
9012
|
+
return o && r && Dl(e, t, r), r;
|
|
8996
9013
|
};
|
|
8997
|
-
const
|
|
9014
|
+
const Ll = {
|
|
8998
9015
|
previous: "Previous",
|
|
8999
9016
|
next: "Next",
|
|
9000
9017
|
goToSlide: "Go to slide {n}"
|
|
@@ -9139,7 +9156,7 @@ class Ye extends g {
|
|
|
9139
9156
|
`;
|
|
9140
9157
|
}
|
|
9141
9158
|
get t() {
|
|
9142
|
-
return { ...
|
|
9159
|
+
return { ...Ll, ...this.labels };
|
|
9143
9160
|
}
|
|
9144
9161
|
disconnectedCallback() {
|
|
9145
9162
|
super.disconnectedCallback(), this.stopAutoplay();
|
|
@@ -9282,15 +9299,15 @@ Ct([
|
|
|
9282
9299
|
v()
|
|
9283
9300
|
], Ye.prototype, "slottedCount", 2);
|
|
9284
9301
|
Ct([
|
|
9285
|
-
|
|
9302
|
+
B(".track")
|
|
9286
9303
|
], Ye.prototype, "trackEl", 2);
|
|
9287
9304
|
k("ok-carousel", Ye);
|
|
9288
|
-
var
|
|
9289
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
9305
|
+
var Il = Object.defineProperty, Tl = Object.getOwnPropertyDescriptor, zt = (n, e, t, o) => {
|
|
9306
|
+
for (var r = o > 1 ? void 0 : o ? Tl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
9290
9307
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
9291
|
-
return o && r &&
|
|
9308
|
+
return o && r && Il(e, t, r), r;
|
|
9292
9309
|
};
|
|
9293
|
-
const
|
|
9310
|
+
const Bl = {
|
|
9294
9311
|
clear: "Clear",
|
|
9295
9312
|
export: "Export",
|
|
9296
9313
|
exportFilename: "signature.png"
|
|
@@ -9349,7 +9366,7 @@ class We extends g {
|
|
|
9349
9366
|
`;
|
|
9350
9367
|
}
|
|
9351
9368
|
get t() {
|
|
9352
|
-
return { ...
|
|
9369
|
+
return { ...Bl, ...this.labels };
|
|
9353
9370
|
}
|
|
9354
9371
|
firstUpdated() {
|
|
9355
9372
|
this.ctx = this.canvas.getContext("2d"), this.setupCanvas(), this.ro = new ResizeObserver(() => this.setupCanvas(!0)), this.ro.observe(this.canvas);
|
|
@@ -9478,13 +9495,13 @@ zt([
|
|
|
9478
9495
|
l({ attribute: !1 })
|
|
9479
9496
|
], We.prototype, "labels", 2);
|
|
9480
9497
|
zt([
|
|
9481
|
-
|
|
9498
|
+
B("canvas")
|
|
9482
9499
|
], We.prototype, "canvas", 2);
|
|
9483
9500
|
k("ok-signature", We);
|
|
9484
|
-
var
|
|
9485
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
9501
|
+
var Fl = Object.defineProperty, Rl = Object.getOwnPropertyDescriptor, Wt = (n, e, t, o) => {
|
|
9502
|
+
for (var r = o > 1 ? void 0 : o ? Rl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
9486
9503
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
9487
|
-
return o && r &&
|
|
9504
|
+
return o && r && Fl(e, t, r), r;
|
|
9488
9505
|
};
|
|
9489
9506
|
const yr = new Uint8Array(512), Io = new Uint8Array(256);
|
|
9490
9507
|
(() => {
|
|
@@ -9493,31 +9510,31 @@ const yr = new Uint8Array(512), Io = new Uint8Array(256);
|
|
|
9493
9510
|
yr[e] = n, Io[n] = e, n <<= 1, n & 256 && (n ^= 285);
|
|
9494
9511
|
for (let e = 255; e < 512; e++) yr[e] = yr[e - 255];
|
|
9495
9512
|
})();
|
|
9496
|
-
function
|
|
9513
|
+
function Ma(n, e) {
|
|
9497
9514
|
return n === 0 || e === 0 ? 0 : yr[Io[n] + Io[e]];
|
|
9498
9515
|
}
|
|
9499
|
-
function
|
|
9516
|
+
function Nl(n) {
|
|
9500
9517
|
let e = new Uint8Array([1]);
|
|
9501
9518
|
for (let t = 0; t < n; t++) {
|
|
9502
9519
|
const o = new Uint8Array(e.length + 1);
|
|
9503
9520
|
for (let r = 0; r < e.length; r++)
|
|
9504
|
-
o[r] ^= e[r], o[r + 1] ^=
|
|
9521
|
+
o[r] ^= e[r], o[r + 1] ^= Ma(e[r], yr[t]);
|
|
9505
9522
|
e = o;
|
|
9506
9523
|
}
|
|
9507
9524
|
return e;
|
|
9508
9525
|
}
|
|
9509
|
-
function
|
|
9510
|
-
const t =
|
|
9526
|
+
function ql(n, e) {
|
|
9527
|
+
const t = Nl(e), o = new Uint8Array(n.length + e);
|
|
9511
9528
|
o.set(n);
|
|
9512
9529
|
for (let r = 0; r < n.length; r++) {
|
|
9513
9530
|
const i = o[r];
|
|
9514
9531
|
if (i !== 0)
|
|
9515
9532
|
for (let a = 0; a < t.length; a++)
|
|
9516
|
-
o[r + a] ^=
|
|
9533
|
+
o[r + a] ^= Ma(t[a], i);
|
|
9517
9534
|
}
|
|
9518
9535
|
return o.slice(n.length);
|
|
9519
9536
|
}
|
|
9520
|
-
const
|
|
9537
|
+
const Aa = ["L", "M", "Q", "H"], Ul = [
|
|
9521
9538
|
26,
|
|
9522
9539
|
44,
|
|
9523
9540
|
70,
|
|
@@ -9558,7 +9575,7 @@ const Ma = ["L", "M", "Q", "H"], Nl = [
|
|
|
9558
9575
|
3362,
|
|
9559
9576
|
3532,
|
|
9560
9577
|
3706
|
|
9561
|
-
],
|
|
9578
|
+
], Vl = [
|
|
9562
9579
|
/* v1 */
|
|
9563
9580
|
[[7, 1, 19, 0, 0], [10, 1, 16, 0, 0], [13, 1, 13, 0, 0], [17, 1, 9, 0, 0]],
|
|
9564
9581
|
/* v2 */
|
|
@@ -9639,7 +9656,7 @@ const Ma = ["L", "M", "Q", "H"], Nl = [
|
|
|
9639
9656
|
[[30, 20, 117, 4, 118], [28, 40, 47, 7, 48], [30, 43, 24, 22, 25], [30, 10, 15, 67, 16]],
|
|
9640
9657
|
/* v40 */
|
|
9641
9658
|
[[30, 19, 118, 6, 119], [28, 18, 47, 31, 48], [30, 34, 24, 34, 25], [30, 20, 15, 61, 16]]
|
|
9642
|
-
],
|
|
9659
|
+
], Hl = [
|
|
9643
9660
|
[],
|
|
9644
9661
|
[6, 18],
|
|
9645
9662
|
[6, 22],
|
|
@@ -9680,7 +9697,7 @@ const Ma = ["L", "M", "Q", "H"], Nl = [
|
|
|
9680
9697
|
[6, 32, 58, 84, 110, 136, 162],
|
|
9681
9698
|
[6, 26, 54, 82, 110, 138, 166],
|
|
9682
9699
|
[6, 30, 58, 86, 114, 142, 170]
|
|
9683
|
-
],
|
|
9700
|
+
], Kl = [
|
|
9684
9701
|
31892,
|
|
9685
9702
|
34236,
|
|
9686
9703
|
39577,
|
|
@@ -9715,7 +9732,7 @@ const Ma = ["L", "M", "Q", "H"], Nl = [
|
|
|
9715
9732
|
158308,
|
|
9716
9733
|
161089,
|
|
9717
9734
|
167017
|
|
9718
|
-
],
|
|
9735
|
+
], Yl = [
|
|
9719
9736
|
21522,
|
|
9720
9737
|
20773,
|
|
9721
9738
|
24188,
|
|
@@ -9748,8 +9765,8 @@ const Ma = ["L", "M", "Q", "H"], Nl = [
|
|
|
9748
9765
|
8579,
|
|
9749
9766
|
11994,
|
|
9750
9767
|
11245
|
|
9751
|
-
],
|
|
9752
|
-
class
|
|
9768
|
+
], Wl = { L: 1, M: 0, Q: 3, H: 2 };
|
|
9769
|
+
class Xl {
|
|
9753
9770
|
constructor() {
|
|
9754
9771
|
this.bits = [];
|
|
9755
9772
|
}
|
|
@@ -9761,11 +9778,11 @@ class Yl {
|
|
|
9761
9778
|
return this.bits.length;
|
|
9762
9779
|
}
|
|
9763
9780
|
}
|
|
9764
|
-
function
|
|
9781
|
+
function Gl(n) {
|
|
9765
9782
|
return n <= 9 ? 8 : 16;
|
|
9766
9783
|
}
|
|
9767
|
-
function
|
|
9768
|
-
const o =
|
|
9784
|
+
function Zl(n, e, t) {
|
|
9785
|
+
const o = Ul[e - 1], r = Vl[e - 1][Aa.indexOf(t)], i = r[0], a = r[1] + r[3], d = i * a, c = o - d, u = c * 8, h = Gl(e), p = new Xl();
|
|
9769
9786
|
p.put(4, 4), p.put(n.length, h);
|
|
9770
9787
|
for (const D of n) p.put(D, 8);
|
|
9771
9788
|
if (p.length > u) return null;
|
|
@@ -9788,7 +9805,7 @@ function Xl(n, e, t) {
|
|
|
9788
9805
|
for (let D = 0; D < r[3]; D++) E.push([r[4]]);
|
|
9789
9806
|
for (const [D] of E) {
|
|
9790
9807
|
const q = $.slice(C, C + D);
|
|
9791
|
-
C += D, M.push(q), w.push(
|
|
9808
|
+
C += D, M.push(q), w.push(ql(q, i));
|
|
9792
9809
|
}
|
|
9793
9810
|
const P = new Uint8Array(o);
|
|
9794
9811
|
let j = 0;
|
|
@@ -9799,7 +9816,7 @@ function Xl(n, e, t) {
|
|
|
9799
9816
|
for (const q of w) P[j++] = q[D];
|
|
9800
9817
|
return P;
|
|
9801
9818
|
}
|
|
9802
|
-
function
|
|
9819
|
+
function Ql(n, e, t) {
|
|
9803
9820
|
const o = e * 4 + 17, r = Array.from({ length: o }, () => new Array(o).fill(null)), i = Array.from({ length: o }, () => new Array(o).fill(!1)), a = (w, C, E, P = !0) => {
|
|
9804
9821
|
r[w][C] = E, P && (i[w][C] = !0);
|
|
9805
9822
|
}, d = (w, C) => {
|
|
@@ -9816,7 +9833,7 @@ function Gl(n, e, t) {
|
|
|
9816
9833
|
const C = w % 2 === 0 ? 1 : 0;
|
|
9817
9834
|
a(6, w, C), a(w, 6, C);
|
|
9818
9835
|
}
|
|
9819
|
-
const c =
|
|
9836
|
+
const c = Hl[e - 1];
|
|
9820
9837
|
for (const w of c)
|
|
9821
9838
|
for (const C of c)
|
|
9822
9839
|
if (!i[w][C])
|
|
@@ -9866,27 +9883,27 @@ function Gl(n, e, t) {
|
|
|
9866
9883
|
let K = r[P][j] === 1;
|
|
9867
9884
|
!i[P][j] && f[w](P, j) && (K = !K), C[P][j] = K;
|
|
9868
9885
|
}
|
|
9869
|
-
|
|
9870
|
-
const E =
|
|
9886
|
+
Jl(C, i, e, t, w);
|
|
9887
|
+
const E = ec(C);
|
|
9871
9888
|
E < $ && ($ = E, x = w, M = C);
|
|
9872
9889
|
}
|
|
9873
9890
|
return M;
|
|
9874
9891
|
}
|
|
9875
|
-
function
|
|
9876
|
-
const i = n.length, a =
|
|
9892
|
+
function Jl(n, e, t, o, r) {
|
|
9893
|
+
const i = n.length, a = Yl[Wl[o] << 3 | r];
|
|
9877
9894
|
for (let d = 0; d < 15; d++) {
|
|
9878
9895
|
const c = (a >> d & 1) === 1;
|
|
9879
9896
|
d < 6 ? n[d][8] = c : d === 6 ? n[7][8] = c : d === 7 ? n[8][8] = c : d === 8 ? n[8][7] = c : n[8][14 - d] = c, d < 8 ? n[8][i - 1 - d] = c : n[i - 15 + d][8] = c;
|
|
9880
9897
|
}
|
|
9881
9898
|
if (n[i - 8][8] = !0, t >= 7) {
|
|
9882
|
-
const d =
|
|
9899
|
+
const d = Kl[t - 7];
|
|
9883
9900
|
for (let c = 0; c < 18; c++) {
|
|
9884
9901
|
const u = (d >> c & 1) === 1, h = Math.floor(c / 3), p = c % 3;
|
|
9885
9902
|
n[h][i - 11 + p] = u, n[i - 11 + p][h] = u;
|
|
9886
9903
|
}
|
|
9887
9904
|
}
|
|
9888
9905
|
}
|
|
9889
|
-
function
|
|
9906
|
+
function ec(n) {
|
|
9890
9907
|
const e = n.length;
|
|
9891
9908
|
let t = 0;
|
|
9892
9909
|
const o = (h) => {
|
|
@@ -9923,11 +9940,11 @@ function Ql(n) {
|
|
|
9923
9940
|
const c = d * 100 / (e * e), u = Math.floor(Math.abs(c - 50) / 5);
|
|
9924
9941
|
return t += u * 10, t;
|
|
9925
9942
|
}
|
|
9926
|
-
function
|
|
9943
|
+
function tc(n, e) {
|
|
9927
9944
|
const t = new TextEncoder().encode(n);
|
|
9928
9945
|
for (let o = 1; o <= 40; o++) {
|
|
9929
|
-
const r =
|
|
9930
|
-
if (r) return
|
|
9946
|
+
const r = Zl(t, o, e);
|
|
9947
|
+
if (r) return Ql(r, o, e);
|
|
9931
9948
|
}
|
|
9932
9949
|
return null;
|
|
9933
9950
|
}
|
|
@@ -9962,7 +9979,7 @@ class _t extends g {
|
|
|
9962
9979
|
}
|
|
9963
9980
|
render() {
|
|
9964
9981
|
if (!this.value) return s``;
|
|
9965
|
-
const e =
|
|
9982
|
+
const e = Aa.includes(this.ec) ? this.ec : "M", t = tc(this.value, e);
|
|
9966
9983
|
if (!t) return s``;
|
|
9967
9984
|
const o = t.length, r = Math.max(0, Math.floor(this.margin)), i = o + r * 2;
|
|
9968
9985
|
let a = "";
|
|
@@ -10006,12 +10023,12 @@ Wt([
|
|
|
10006
10023
|
l({ type: Number })
|
|
10007
10024
|
], _t.prototype, "margin", 2);
|
|
10008
10025
|
k("ok-qr", _t);
|
|
10009
|
-
var
|
|
10010
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
10026
|
+
var rc = Object.defineProperty, oc = Object.getOwnPropertyDescriptor, $e = (n, e, t, o) => {
|
|
10027
|
+
for (var r = o > 1 ? void 0 : o ? oc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
10011
10028
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
10012
|
-
return o && r &&
|
|
10029
|
+
return o && r && rc(e, t, r), r;
|
|
10013
10030
|
};
|
|
10014
|
-
const
|
|
10031
|
+
const ic = {
|
|
10015
10032
|
play: "Play",
|
|
10016
10033
|
pause: "Pause",
|
|
10017
10034
|
mute: "Mute",
|
|
@@ -10129,7 +10146,7 @@ class se extends g {
|
|
|
10129
10146
|
`;
|
|
10130
10147
|
}
|
|
10131
10148
|
get t() {
|
|
10132
|
-
return { ...
|
|
10149
|
+
return { ...ic, ...this.labels };
|
|
10133
10150
|
}
|
|
10134
10151
|
// Alterna play/pausa sobre el elemento nativo.
|
|
10135
10152
|
togglePlay() {
|
|
@@ -10275,15 +10292,15 @@ $e([
|
|
|
10275
10292
|
v()
|
|
10276
10293
|
], se.prototype, "muted", 2);
|
|
10277
10294
|
$e([
|
|
10278
|
-
|
|
10295
|
+
B("audio")
|
|
10279
10296
|
], se.prototype, "audioEl", 2);
|
|
10280
10297
|
k("ok-audio", se);
|
|
10281
|
-
var
|
|
10282
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
10298
|
+
var ac = Object.defineProperty, sc = Object.getOwnPropertyDescriptor, ne = (n, e, t, o) => {
|
|
10299
|
+
for (var r = o > 1 ? void 0 : o ? sc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
10283
10300
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
10284
|
-
return o && r &&
|
|
10301
|
+
return o && r && ac(e, t, r), r;
|
|
10285
10302
|
};
|
|
10286
|
-
const
|
|
10303
|
+
const nc = {
|
|
10287
10304
|
play: "Play",
|
|
10288
10305
|
pause: "Pause",
|
|
10289
10306
|
mute: "Mute",
|
|
@@ -10431,7 +10448,7 @@ class G extends g {
|
|
|
10431
10448
|
`;
|
|
10432
10449
|
}
|
|
10433
10450
|
get t() {
|
|
10434
|
-
return { ...
|
|
10451
|
+
return { ...nc, ...this.labels };
|
|
10435
10452
|
}
|
|
10436
10453
|
// Alterna play/pausa sobre el elemento nativo.
|
|
10437
10454
|
togglePlay() {
|
|
@@ -10594,18 +10611,18 @@ ne([
|
|
|
10594
10611
|
v()
|
|
10595
10612
|
], G.prototype, "muted", 2);
|
|
10596
10613
|
ne([
|
|
10597
|
-
|
|
10614
|
+
B("video")
|
|
10598
10615
|
], G.prototype, "videoEl", 2);
|
|
10599
10616
|
ne([
|
|
10600
|
-
|
|
10617
|
+
B(".stage")
|
|
10601
10618
|
], G.prototype, "stageEl", 2);
|
|
10602
10619
|
k("ok-video", G);
|
|
10603
|
-
var
|
|
10604
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
10620
|
+
var lc = Object.defineProperty, cc = Object.getOwnPropertyDescriptor, uo = (n, e, t, o) => {
|
|
10621
|
+
for (var r = o > 1 ? void 0 : o ? cc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
10605
10622
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
10606
|
-
return o && r &&
|
|
10623
|
+
return o && r && lc(e, t, r), r;
|
|
10607
10624
|
};
|
|
10608
|
-
const
|
|
10625
|
+
const dc = {
|
|
10609
10626
|
documentTitle: "PDF document",
|
|
10610
10627
|
open: "Open",
|
|
10611
10628
|
openAria: "Open or download PDF",
|
|
@@ -10695,7 +10712,7 @@ class Ar extends g {
|
|
|
10695
10712
|
`;
|
|
10696
10713
|
}
|
|
10697
10714
|
get t() {
|
|
10698
|
-
return { ...
|
|
10715
|
+
return { ...dc, ...this.labels };
|
|
10699
10716
|
}
|
|
10700
10717
|
// Abre el PDF en una pestaña nueva (descarga / vista a pantalla completa del navegador).
|
|
10701
10718
|
open() {
|
|
@@ -10746,12 +10763,12 @@ uo([
|
|
|
10746
10763
|
l({ attribute: !1 })
|
|
10747
10764
|
], Ar.prototype, "labels", 2);
|
|
10748
10765
|
k("ok-pdf", Ar);
|
|
10749
|
-
var
|
|
10750
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
10766
|
+
var pc = Object.defineProperty, hc = Object.getOwnPropertyDescriptor, si = (n, e, t, o) => {
|
|
10767
|
+
for (var r = o > 1 ? void 0 : o ? hc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
10751
10768
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
10752
|
-
return o && r &&
|
|
10769
|
+
return o && r && pc(e, t, r), r;
|
|
10753
10770
|
};
|
|
10754
|
-
const
|
|
10771
|
+
const uc = {
|
|
10755
10772
|
empty: "No receipt data.",
|
|
10756
10773
|
phone: "Tel.",
|
|
10757
10774
|
receipt: "Receipt",
|
|
@@ -10820,7 +10837,7 @@ class mo extends g {
|
|
|
10820
10837
|
`;
|
|
10821
10838
|
}
|
|
10822
10839
|
get t() {
|
|
10823
|
-
return { ...
|
|
10840
|
+
return { ...uc, ...this.labels };
|
|
10824
10841
|
}
|
|
10825
10842
|
cur() {
|
|
10826
10843
|
return this.receipt?.currency ?? "€";
|
|
@@ -10923,12 +10940,12 @@ si([
|
|
|
10923
10940
|
l({ attribute: !1 })
|
|
10924
10941
|
], mo.prototype, "labels", 2);
|
|
10925
10942
|
k("ok-receipt", mo);
|
|
10926
|
-
var
|
|
10927
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
10943
|
+
var mc = Object.defineProperty, vc = Object.getOwnPropertyDescriptor, ni = (n, e, t, o) => {
|
|
10944
|
+
for (var r = o > 1 ? void 0 : o ? vc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
10928
10945
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
10929
|
-
return o && r &&
|
|
10946
|
+
return o && r && mc(e, t, r), r;
|
|
10930
10947
|
};
|
|
10931
|
-
const
|
|
10948
|
+
const bc = {
|
|
10932
10949
|
empty: "No invoice data.",
|
|
10933
10950
|
invoice: "Invoice",
|
|
10934
10951
|
number: "No.",
|
|
@@ -11018,7 +11035,7 @@ class vo extends g {
|
|
|
11018
11035
|
`;
|
|
11019
11036
|
}
|
|
11020
11037
|
get t() {
|
|
11021
|
-
return { ...
|
|
11038
|
+
return { ...bc, ...this.labels };
|
|
11022
11039
|
}
|
|
11023
11040
|
cur() {
|
|
11024
11041
|
return this.invoice?.currency ?? "€";
|
|
@@ -11132,10 +11149,10 @@ ni([
|
|
|
11132
11149
|
l({ attribute: !1 })
|
|
11133
11150
|
], vo.prototype, "labels", 2);
|
|
11134
11151
|
k("ok-invoice", vo);
|
|
11135
|
-
var
|
|
11136
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
11152
|
+
var fc = Object.defineProperty, gc = Object.getOwnPropertyDescriptor, Da = (n, e, t, o) => {
|
|
11153
|
+
for (var r = o > 1 ? void 0 : o ? gc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
11137
11154
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
11138
|
-
return o && r &&
|
|
11155
|
+
return o && r && fc(e, t, r), r;
|
|
11139
11156
|
};
|
|
11140
11157
|
class li extends g {
|
|
11141
11158
|
constructor() {
|
|
@@ -11360,19 +11377,19 @@ class li extends g {
|
|
|
11360
11377
|
</ul>`;
|
|
11361
11378
|
}
|
|
11362
11379
|
}
|
|
11363
|
-
|
|
11380
|
+
Da([
|
|
11364
11381
|
l({ attribute: !1 })
|
|
11365
11382
|
], li.prototype, "items", 2);
|
|
11366
|
-
|
|
11383
|
+
Da([
|
|
11367
11384
|
l()
|
|
11368
11385
|
], li.prototype, "align", 2);
|
|
11369
11386
|
k("ok-timeline", li);
|
|
11370
|
-
var
|
|
11371
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
11387
|
+
var xc = Object.defineProperty, yc = Object.getOwnPropertyDescriptor, Xt = (n, e, t, o) => {
|
|
11388
|
+
for (var r = o > 1 ? void 0 : o ? yc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
11372
11389
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
11373
|
-
return o && r &&
|
|
11390
|
+
return o && r && xc(e, t, r), r;
|
|
11374
11391
|
};
|
|
11375
|
-
const
|
|
11392
|
+
const kc = {
|
|
11376
11393
|
decrement: "Decrease",
|
|
11377
11394
|
increment: "Increase"
|
|
11378
11395
|
};
|
|
@@ -11456,7 +11473,7 @@ class St extends g {
|
|
|
11456
11473
|
}
|
|
11457
11474
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
11458
11475
|
get t() {
|
|
11459
|
-
return { ...
|
|
11476
|
+
return { ...kc, ...this.labels };
|
|
11460
11477
|
}
|
|
11461
11478
|
// Recorta `n` al rango [min, max] respetando los límites definidos.
|
|
11462
11479
|
clamp(e) {
|
|
@@ -11550,12 +11567,12 @@ Xt([
|
|
|
11550
11567
|
l({ attribute: !1 })
|
|
11551
11568
|
], St.prototype, "labels", 2);
|
|
11552
11569
|
k("ok-qty-stepper", St);
|
|
11553
|
-
var
|
|
11554
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
11570
|
+
var wc = Object.defineProperty, $c = Object.getOwnPropertyDescriptor, Xe = (n, e, t, o) => {
|
|
11571
|
+
for (var r = o > 1 ? void 0 : o ? $c(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
11555
11572
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
11556
|
-
return o && r &&
|
|
11573
|
+
return o && r && wc(e, t, r), r;
|
|
11557
11574
|
};
|
|
11558
|
-
const
|
|
11575
|
+
const Cc = {
|
|
11559
11576
|
searchPlaceholder: "Search command…",
|
|
11560
11577
|
dialogLabel: "Command palette",
|
|
11561
11578
|
escHint: "Esc",
|
|
@@ -11778,7 +11795,7 @@ class Ce extends g {
|
|
|
11778
11795
|
}
|
|
11779
11796
|
/** Textos efectivos (defaults inglés + overrides). */
|
|
11780
11797
|
get t() {
|
|
11781
|
-
return { ...
|
|
11798
|
+
return { ...Cc, ...this.labels };
|
|
11782
11799
|
}
|
|
11783
11800
|
/** Placeholder efectivo: prop explícita o el de labels. */
|
|
11784
11801
|
get effectivePlaceholder() {
|
|
@@ -11949,13 +11966,13 @@ Xe([
|
|
|
11949
11966
|
v()
|
|
11950
11967
|
], Ce.prototype, "activeIndex", 2);
|
|
11951
11968
|
Xe([
|
|
11952
|
-
|
|
11969
|
+
B(".search input")
|
|
11953
11970
|
], Ce.prototype, "searchInput", 2);
|
|
11954
11971
|
k("ok-command-palette", Ce);
|
|
11955
|
-
var
|
|
11956
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
11972
|
+
var zc = Object.defineProperty, _c = Object.getOwnPropertyDescriptor, Gt = (n, e, t, o) => {
|
|
11973
|
+
for (var r = o > 1 ? void 0 : o ? _c(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
11957
11974
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
11958
|
-
return o && r &&
|
|
11975
|
+
return o && r && zc(e, t, r), r;
|
|
11959
11976
|
};
|
|
11960
11977
|
class Et extends g {
|
|
11961
11978
|
constructor() {
|
|
@@ -12131,15 +12148,15 @@ Gt([
|
|
|
12131
12148
|
l({ attribute: "trigger-label" })
|
|
12132
12149
|
], Et.prototype, "triggerLabel", 2);
|
|
12133
12150
|
Gt([
|
|
12134
|
-
|
|
12151
|
+
B(".top input")
|
|
12135
12152
|
], Et.prototype, "input", 2);
|
|
12136
12153
|
k("ok-spotlight-search", Et);
|
|
12137
|
-
var
|
|
12138
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
12154
|
+
var Sc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor, ze = (n, e, t, o) => {
|
|
12155
|
+
for (var r = o > 1 ? void 0 : o ? Ec(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
12139
12156
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
12140
|
-
return o && r &&
|
|
12157
|
+
return o && r && Sc(e, t, r), r;
|
|
12141
12158
|
};
|
|
12142
|
-
const
|
|
12159
|
+
const Pc = [
|
|
12143
12160
|
"#3880ff",
|
|
12144
12161
|
// primary
|
|
12145
12162
|
"#3dc2ff",
|
|
@@ -12200,14 +12217,14 @@ function Mo(n) {
|
|
|
12200
12217
|
const e = Zr(n);
|
|
12201
12218
|
return e ? gr(e) : null;
|
|
12202
12219
|
}
|
|
12203
|
-
const
|
|
12220
|
+
const Oc = {
|
|
12204
12221
|
triggerLabel: "Select color",
|
|
12205
12222
|
panelLabel: "Color picker",
|
|
12206
12223
|
hexLabel: "Hex value"
|
|
12207
12224
|
};
|
|
12208
12225
|
class le extends g {
|
|
12209
12226
|
constructor() {
|
|
12210
|
-
super(...arguments), this.value = "#3880ff", this.presets =
|
|
12227
|
+
super(...arguments), this.value = "#3880ff", this.presets = Pc, this.labels = {}, this.open = !1, this.h = 0, this.s = 0, this.v = 0, this.hexInput = "#3880ff", this.hexInvalid = !1, this.dragging = null, this.onDocClick = (e) => {
|
|
12211
12228
|
e.composedPath().includes(this) || this.close();
|
|
12212
12229
|
}, this.onKeydown = (e) => {
|
|
12213
12230
|
e.key === "Escape" && this.close();
|
|
@@ -12418,7 +12435,7 @@ class le extends g {
|
|
|
12418
12435
|
}
|
|
12419
12436
|
// Textos efectivos: defaults inglés sobreescritos por los pasados desde fuera.
|
|
12420
12437
|
get t() {
|
|
12421
|
-
return { ...
|
|
12438
|
+
return { ...Oc, ...this.labels };
|
|
12422
12439
|
}
|
|
12423
12440
|
// Sincroniza el estado HSV interno desde la prop `value` (al conectar y en cambios externos).
|
|
12424
12441
|
syncFromValue() {
|
|
@@ -12605,10 +12622,10 @@ ze([
|
|
|
12605
12622
|
v()
|
|
12606
12623
|
], le.prototype, "hexInvalid", 2);
|
|
12607
12624
|
k("ok-color-picker", le);
|
|
12608
|
-
var
|
|
12609
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
12625
|
+
var Mc = Object.defineProperty, Ac = Object.getOwnPropertyDescriptor, _e = (n, e, t, o) => {
|
|
12626
|
+
for (var r = o > 1 ? void 0 : o ? Ac(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
12610
12627
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
12611
|
-
return o && r &&
|
|
12628
|
+
return o && r && Mc(e, t, r), r;
|
|
12612
12629
|
};
|
|
12613
12630
|
class ce extends g {
|
|
12614
12631
|
constructor() {
|
|
@@ -12759,10 +12776,10 @@ _e([
|
|
|
12759
12776
|
v()
|
|
12760
12777
|
], ce.prototype, "imgFailed", 2);
|
|
12761
12778
|
k("ok-avatar", ce);
|
|
12762
|
-
var
|
|
12763
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
12779
|
+
var Dc = Object.defineProperty, jc = Object.getOwnPropertyDescriptor, Dr = (n, e, t, o) => {
|
|
12780
|
+
for (var r = o > 1 ? void 0 : o ? jc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
12764
12781
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
12765
|
-
return o && r &&
|
|
12782
|
+
return o && r && Dc(e, t, r), r;
|
|
12766
12783
|
};
|
|
12767
12784
|
class Zt extends g {
|
|
12768
12785
|
constructor() {
|
|
@@ -12869,10 +12886,10 @@ Dr([
|
|
|
12869
12886
|
l({ type: String, reflect: !0 })
|
|
12870
12887
|
], Zt.prototype, "size", 2);
|
|
12871
12888
|
k("ok-status-pill", Zt);
|
|
12872
|
-
var
|
|
12873
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
12889
|
+
var Lc = Object.defineProperty, Ic = Object.getOwnPropertyDescriptor, Ge = (n, e, t, o) => {
|
|
12890
|
+
for (var r = o > 1 ? void 0 : o ? Ic(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
12874
12891
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
12875
|
-
return o && r &&
|
|
12892
|
+
return o && r && Lc(e, t, r), r;
|
|
12876
12893
|
};
|
|
12877
12894
|
class Se extends g {
|
|
12878
12895
|
constructor() {
|
|
@@ -13053,10 +13070,10 @@ Ge([
|
|
|
13053
13070
|
v()
|
|
13054
13071
|
], Se.prototype, "hasExtra", 2);
|
|
13055
13072
|
k("ok-page-header", Se);
|
|
13056
|
-
var
|
|
13057
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13073
|
+
var Tc = Object.defineProperty, Bc = Object.getOwnPropertyDescriptor, ci = (n, e, t, o) => {
|
|
13074
|
+
for (var r = o > 1 ? void 0 : o ? Bc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13058
13075
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13059
|
-
return o && r &&
|
|
13076
|
+
return o && r && Tc(e, t, r), r;
|
|
13060
13077
|
};
|
|
13061
13078
|
class bo extends g {
|
|
13062
13079
|
constructor() {
|
|
@@ -13101,10 +13118,10 @@ ci([
|
|
|
13101
13118
|
l()
|
|
13102
13119
|
], bo.prototype, "gap", 2);
|
|
13103
13120
|
k("ok-bento", bo);
|
|
13104
|
-
var
|
|
13105
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13121
|
+
var Fc = Object.defineProperty, Rc = Object.getOwnPropertyDescriptor, Ee = (n, e, t, o) => {
|
|
13122
|
+
for (var r = o > 1 ? void 0 : o ? Rc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13106
13123
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13107
|
-
return o && r &&
|
|
13124
|
+
return o && r && Fc(e, t, r), r;
|
|
13108
13125
|
};
|
|
13109
13126
|
class de extends g {
|
|
13110
13127
|
constructor() {
|
|
@@ -13257,10 +13274,10 @@ Ee([
|
|
|
13257
13274
|
l()
|
|
13258
13275
|
], de.prototype, "heading", 2);
|
|
13259
13276
|
k("ok-bento-item", de);
|
|
13260
|
-
var
|
|
13261
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13277
|
+
var Nc = Object.defineProperty, qc = Object.getOwnPropertyDescriptor, di = (n, e, t, o) => {
|
|
13278
|
+
for (var r = o > 1 ? void 0 : o ? qc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13262
13279
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13263
|
-
return o && r &&
|
|
13280
|
+
return o && r && Nc(e, t, r), r;
|
|
13264
13281
|
};
|
|
13265
13282
|
class fo extends g {
|
|
13266
13283
|
constructor() {
|
|
@@ -13328,10 +13345,10 @@ di([
|
|
|
13328
13345
|
l({ type: Boolean })
|
|
13329
13346
|
], fo.prototype, "once", 2);
|
|
13330
13347
|
k("ok-reveal", fo);
|
|
13331
|
-
var
|
|
13332
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13348
|
+
var Uc = Object.defineProperty, Vc = Object.getOwnPropertyDescriptor, jr = (n, e, t, o) => {
|
|
13349
|
+
for (var r = o > 1 ? void 0 : o ? Vc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13333
13350
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13334
|
-
return o && r &&
|
|
13351
|
+
return o && r && Uc(e, t, r), r;
|
|
13335
13352
|
};
|
|
13336
13353
|
class Qt extends g {
|
|
13337
13354
|
constructor() {
|
|
@@ -13468,12 +13485,12 @@ jr([
|
|
|
13468
13485
|
l({ type: Boolean, reflect: !0 })
|
|
13469
13486
|
], Qt.prototype, "glass", 2);
|
|
13470
13487
|
k("ok-feature-card", Qt);
|
|
13471
|
-
var
|
|
13472
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13488
|
+
var Hc = Object.defineProperty, Kc = Object.getOwnPropertyDescriptor, Ze = (n, e, t, o) => {
|
|
13489
|
+
for (var r = o > 1 ? void 0 : o ? Kc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13473
13490
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13474
|
-
return o && r &&
|
|
13491
|
+
return o && r && Hc(e, t, r), r;
|
|
13475
13492
|
};
|
|
13476
|
-
const
|
|
13493
|
+
const Yc = {
|
|
13477
13494
|
popular: "Popular"
|
|
13478
13495
|
};
|
|
13479
13496
|
class Pe extends g {
|
|
@@ -13592,7 +13609,7 @@ class Pe extends g {
|
|
|
13592
13609
|
`;
|
|
13593
13610
|
}
|
|
13594
13611
|
get t() {
|
|
13595
|
-
return { ...
|
|
13612
|
+
return { ...Yc, ...this.labels };
|
|
13596
13613
|
}
|
|
13597
13614
|
render() {
|
|
13598
13615
|
const e = this.badge ?? (this.featured ? this.t.popular : "");
|
|
@@ -13638,10 +13655,10 @@ Ze([
|
|
|
13638
13655
|
l({ attribute: !1 })
|
|
13639
13656
|
], Pe.prototype, "labels", 2);
|
|
13640
13657
|
k("ok-pricing-card", Pe);
|
|
13641
|
-
var
|
|
13642
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13658
|
+
var Wc = Object.defineProperty, Xc = Object.getOwnPropertyDescriptor, Jt = (n, e, t, o) => {
|
|
13659
|
+
for (var r = o > 1 ? void 0 : o ? Xc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13643
13660
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13644
|
-
return o && r &&
|
|
13661
|
+
return o && r && Wc(e, t, r), r;
|
|
13645
13662
|
};
|
|
13646
13663
|
class Pt extends g {
|
|
13647
13664
|
static {
|
|
@@ -13805,10 +13822,10 @@ Jt([
|
|
|
13805
13822
|
l()
|
|
13806
13823
|
], Pt.prototype, "href", 2);
|
|
13807
13824
|
k("ok-product-card", Pt);
|
|
13808
|
-
var
|
|
13809
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13825
|
+
var Gc = Object.defineProperty, Zc = Object.getOwnPropertyDescriptor, ja = (n, e, t, o) => {
|
|
13826
|
+
for (var r = o > 1 ? void 0 : o ? Zc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13810
13827
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13811
|
-
return o && r &&
|
|
13828
|
+
return o && r && Gc(e, t, r), r;
|
|
13812
13829
|
};
|
|
13813
13830
|
class pi extends g {
|
|
13814
13831
|
constructor() {
|
|
@@ -13879,17 +13896,17 @@ class pi extends g {
|
|
|
13879
13896
|
`;
|
|
13880
13897
|
}
|
|
13881
13898
|
}
|
|
13882
|
-
|
|
13899
|
+
ja([
|
|
13883
13900
|
l()
|
|
13884
13901
|
], pi.prototype, "label", 2);
|
|
13885
|
-
|
|
13902
|
+
ja([
|
|
13886
13903
|
l({ type: Boolean, reflect: !0 })
|
|
13887
13904
|
], pi.prototype, "marquee", 2);
|
|
13888
13905
|
k("ok-logo-cloud", pi);
|
|
13889
|
-
var
|
|
13890
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13906
|
+
var Qc = Object.defineProperty, Jc = Object.getOwnPropertyDescriptor, Lr = (n, e, t, o) => {
|
|
13907
|
+
for (var r = o > 1 ? void 0 : o ? Jc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13891
13908
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13892
|
-
return o && r &&
|
|
13909
|
+
return o && r && Qc(e, t, r), r;
|
|
13893
13910
|
};
|
|
13894
13911
|
class er extends g {
|
|
13895
13912
|
constructor() {
|
|
@@ -14009,10 +14026,10 @@ Lr([
|
|
|
14009
14026
|
l({ type: Boolean, reflect: !0 })
|
|
14010
14027
|
], er.prototype, "glass", 2);
|
|
14011
14028
|
k("ok-testimonial", er);
|
|
14012
|
-
var
|
|
14013
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14029
|
+
var ed = Object.defineProperty, td = Object.getOwnPropertyDescriptor, go = (n, e, t, o) => {
|
|
14030
|
+
for (var r = o > 1 ? void 0 : o ? td(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14014
14031
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14015
|
-
return o && r &&
|
|
14032
|
+
return o && r && ed(e, t, r), r;
|
|
14016
14033
|
};
|
|
14017
14034
|
class Ir extends g {
|
|
14018
14035
|
constructor() {
|
|
@@ -14164,12 +14181,12 @@ go([
|
|
|
14164
14181
|
l({ reflect: !0 })
|
|
14165
14182
|
], Ir.prototype, "variant", 2);
|
|
14166
14183
|
k("ok-cta-band", Ir);
|
|
14167
|
-
var
|
|
14168
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14184
|
+
var rd = Object.defineProperty, od = Object.getOwnPropertyDescriptor, xo = (n, e, t, o) => {
|
|
14185
|
+
for (var r = o > 1 ? void 0 : o ? od(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14169
14186
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14170
|
-
return o && r &&
|
|
14187
|
+
return o && r && rd(e, t, r), r;
|
|
14171
14188
|
};
|
|
14172
|
-
const
|
|
14189
|
+
const id = {
|
|
14173
14190
|
language: "Language"
|
|
14174
14191
|
};
|
|
14175
14192
|
class Tr extends g {
|
|
@@ -14263,7 +14280,7 @@ class Tr extends g {
|
|
|
14263
14280
|
`;
|
|
14264
14281
|
}
|
|
14265
14282
|
get t() {
|
|
14266
|
-
return { ...
|
|
14283
|
+
return { ...id, ...this.labels };
|
|
14267
14284
|
}
|
|
14268
14285
|
connectedCallback() {
|
|
14269
14286
|
super.connectedCallback(), document.addEventListener("click", this.onDocClick), document.addEventListener("keydown", this.onKeydown);
|
|
@@ -14328,17 +14345,17 @@ xo([
|
|
|
14328
14345
|
v()
|
|
14329
14346
|
], Tr.prototype, "currentLabel", 2);
|
|
14330
14347
|
k("ok-language-select", Tr);
|
|
14331
|
-
var
|
|
14332
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14348
|
+
var ad = Object.defineProperty, sd = Object.getOwnPropertyDescriptor, Br = (n, e, t, o) => {
|
|
14349
|
+
for (var r = o > 1 ? void 0 : o ? sd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14333
14350
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14334
|
-
return o && r &&
|
|
14351
|
+
return o && r && ad(e, t, r), r;
|
|
14335
14352
|
};
|
|
14336
|
-
const
|
|
14353
|
+
const nd = {
|
|
14337
14354
|
menu: "Menu",
|
|
14338
14355
|
close: "Close"
|
|
14339
|
-
},
|
|
14356
|
+
}, ld = "(max-width: 800px)";
|
|
14340
14357
|
let Ai = !1;
|
|
14341
|
-
function
|
|
14358
|
+
function cd() {
|
|
14342
14359
|
if (Ai) return;
|
|
14343
14360
|
Ai = !0;
|
|
14344
14361
|
const n = new CSSStyleSheet();
|
|
@@ -14515,10 +14532,10 @@ class tr extends g {
|
|
|
14515
14532
|
`;
|
|
14516
14533
|
}
|
|
14517
14534
|
get t() {
|
|
14518
|
-
return { ...
|
|
14535
|
+
return { ...nd, ...this.labels };
|
|
14519
14536
|
}
|
|
14520
14537
|
connectedCallback() {
|
|
14521
|
-
super.connectedCallback(), this.mq = window.matchMedia(
|
|
14538
|
+
super.connectedCallback(), this.mq = window.matchMedia(ld), this.isMobile = this.mq.matches, this.mq.addEventListener("change", this.onMqChange);
|
|
14522
14539
|
}
|
|
14523
14540
|
disconnectedCallback() {
|
|
14524
14541
|
super.disconnectedCallback(), this.mq?.removeEventListener("change", this.onMqChange), this.mq = null, this.restoreNodes(), this.modal?.remove(), this.modal = null;
|
|
@@ -14546,7 +14563,7 @@ class tr extends g {
|
|
|
14546
14563
|
}
|
|
14547
14564
|
async presentPanel() {
|
|
14548
14565
|
if (this.isMobile) {
|
|
14549
|
-
if (
|
|
14566
|
+
if (cd(), this.modal || (this.modal = this.buildModal()), this.movedNodes.length === 0 && this.linksHost && this.actionsHost)
|
|
14550
14567
|
for (const e of Array.from(this.children)) {
|
|
14551
14568
|
const t = e.getAttribute("slot");
|
|
14552
14569
|
t !== "brand" && (this.movedNodes.push(e), (t === "actions" ? this.actionsHost : this.linksHost).appendChild(e));
|
|
@@ -14599,7 +14616,7 @@ Br([
|
|
|
14599
14616
|
v()
|
|
14600
14617
|
], tr.prototype, "isMobile", 2);
|
|
14601
14618
|
k("ok-navbar", tr);
|
|
14602
|
-
class
|
|
14619
|
+
class dd extends g {
|
|
14603
14620
|
static {
|
|
14604
14621
|
this.styles = y`
|
|
14605
14622
|
:host {
|
|
@@ -14660,11 +14677,11 @@ class ld extends g {
|
|
|
14660
14677
|
`;
|
|
14661
14678
|
}
|
|
14662
14679
|
}
|
|
14663
|
-
k("ok-footer",
|
|
14664
|
-
var
|
|
14665
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14680
|
+
k("ok-footer", dd);
|
|
14681
|
+
var pd = Object.defineProperty, hd = Object.getOwnPropertyDescriptor, rr = (n, e, t, o) => {
|
|
14682
|
+
for (var r = o > 1 ? void 0 : o ? hd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14666
14683
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14667
|
-
return o && r &&
|
|
14684
|
+
return o && r && pd(e, t, r), r;
|
|
14668
14685
|
};
|
|
14669
14686
|
class Ot extends g {
|
|
14670
14687
|
constructor() {
|
|
@@ -14873,10 +14890,10 @@ rr([
|
|
|
14873
14890
|
v()
|
|
14874
14891
|
], Ot.prototype, "hasMedia", 2);
|
|
14875
14892
|
k("ok-hero", Ot);
|
|
14876
|
-
var
|
|
14877
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14893
|
+
var ud = Object.defineProperty, md = Object.getOwnPropertyDescriptor, Oe = (n, e, t, o) => {
|
|
14894
|
+
for (var r = o > 1 ? void 0 : o ? md(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14878
14895
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14879
|
-
return o && r &&
|
|
14896
|
+
return o && r && ud(e, t, r), r;
|
|
14880
14897
|
};
|
|
14881
14898
|
class pe extends g {
|
|
14882
14899
|
constructor() {
|
|
@@ -15183,10 +15200,10 @@ Oe([
|
|
|
15183
15200
|
l()
|
|
15184
15201
|
], pe.prototype, "label", 2);
|
|
15185
15202
|
k("ok-pagination", pe);
|
|
15186
|
-
var
|
|
15187
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15203
|
+
var vd = Object.defineProperty, bd = Object.getOwnPropertyDescriptor, Z = (n, e, t, o) => {
|
|
15204
|
+
for (var r = o > 1 ? void 0 : o ? bd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
15188
15205
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
15189
|
-
return o && r &&
|
|
15206
|
+
return o && r && vd(e, t, r), r;
|
|
15190
15207
|
};
|
|
15191
15208
|
class Y extends g {
|
|
15192
15209
|
constructor() {
|
|
@@ -15516,10 +15533,10 @@ Z([
|
|
|
15516
15533
|
l()
|
|
15517
15534
|
], Y.prototype, "unit", 2);
|
|
15518
15535
|
k("ok-gauge", Y);
|
|
15519
|
-
var
|
|
15520
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15536
|
+
var fd = Object.defineProperty, gd = Object.getOwnPropertyDescriptor, Qe = (n, e, t, o) => {
|
|
15537
|
+
for (var r = o > 1 ? void 0 : o ? gd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
15521
15538
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
15522
|
-
return o && r &&
|
|
15539
|
+
return o && r && fd(e, t, r), r;
|
|
15523
15540
|
};
|
|
15524
15541
|
class Me extends g {
|
|
15525
15542
|
constructor() {
|
|
@@ -15783,10 +15800,10 @@ Qe([
|
|
|
15783
15800
|
l()
|
|
15784
15801
|
], Me.prototype, "endpointLabel", 2);
|
|
15785
15802
|
k("ok-chart", Me);
|
|
15786
|
-
var
|
|
15787
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15803
|
+
var xd = Object.defineProperty, yd = Object.getOwnPropertyDescriptor, Mt = (n, e, t, o) => {
|
|
15804
|
+
for (var r = o > 1 ? void 0 : o ? yd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
15788
15805
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
15789
|
-
return o && r &&
|
|
15806
|
+
return o && r && xd(e, t, r), r;
|
|
15790
15807
|
};
|
|
15791
15808
|
const Di = [
|
|
15792
15809
|
"var(--ok-primary, var(--ion-color-primary, #3880ff))",
|
|
@@ -16021,10 +16038,10 @@ Mt([
|
|
|
16021
16038
|
l({ attribute: "legend-side" })
|
|
16022
16039
|
], Je.prototype, "legendSide", 2);
|
|
16023
16040
|
k("ok-donut", Je);
|
|
16024
|
-
var
|
|
16025
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16041
|
+
var kd = Object.defineProperty, wd = Object.getOwnPropertyDescriptor, or = (n, e, t, o) => {
|
|
16042
|
+
for (var r = o > 1 ? void 0 : o ? wd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16026
16043
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16027
|
-
return o && r &&
|
|
16044
|
+
return o && r && kd(e, t, r), r;
|
|
16028
16045
|
};
|
|
16029
16046
|
const ji = [
|
|
16030
16047
|
"Ene",
|
|
@@ -16262,10 +16279,10 @@ or([
|
|
|
16262
16279
|
l({ type: Boolean })
|
|
16263
16280
|
], At.prototype, "legend", 2);
|
|
16264
16281
|
k("ok-heatmap", At);
|
|
16265
|
-
var
|
|
16266
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16282
|
+
var $d = Object.defineProperty, Cd = Object.getOwnPropertyDescriptor, hi = (n, e, t, o) => {
|
|
16283
|
+
for (var r = o > 1 ? void 0 : o ? Cd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16267
16284
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16268
|
-
return o && r &&
|
|
16285
|
+
return o && r && $d(e, t, r), r;
|
|
16269
16286
|
};
|
|
16270
16287
|
class yo extends g {
|
|
16271
16288
|
constructor() {
|
|
@@ -16424,12 +16441,12 @@ hi([
|
|
|
16424
16441
|
l({ type: Number, attribute: "min-width" })
|
|
16425
16442
|
], yo.prototype, "minWidth", 2);
|
|
16426
16443
|
k("ok-funnel", yo);
|
|
16427
|
-
var
|
|
16428
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16444
|
+
var zd = Object.defineProperty, _d = Object.getOwnPropertyDescriptor, Fr = (n, e, t, o) => {
|
|
16445
|
+
for (var r = o > 1 ? void 0 : o ? _d(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16429
16446
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16430
|
-
return o && r &&
|
|
16447
|
+
return o && r && zd(e, t, r), r;
|
|
16431
16448
|
};
|
|
16432
|
-
const
|
|
16449
|
+
const Sd = /* @__PURE__ */ new Set(["brand", "leaf", "warn", "info", "danger"]);
|
|
16433
16450
|
class ir extends g {
|
|
16434
16451
|
constructor() {
|
|
16435
16452
|
super(...arguments), this.items = [], this.valueFormat = "number", this.locale = "", this.currency = "EUR";
|
|
@@ -16530,7 +16547,7 @@ class ir extends g {
|
|
|
16530
16547
|
}
|
|
16531
16548
|
// Devuelve el background CSS del relleno según el color del ítem.
|
|
16532
16549
|
fillColor(e) {
|
|
16533
|
-
return e ?
|
|
16550
|
+
return e ? Sd.has(e) ? `var(--bar-${e})` : e : "var(--bar-brand)";
|
|
16534
16551
|
}
|
|
16535
16552
|
// Formatea el valor según value-format usando Intl nativo.
|
|
16536
16553
|
formatValue(e) {
|
|
@@ -16615,11 +16632,11 @@ class To extends Go {
|
|
|
16615
16632
|
}
|
|
16616
16633
|
}
|
|
16617
16634
|
To.directiveName = "unsafeHTML", To.resultType = 1;
|
|
16618
|
-
const
|
|
16619
|
-
var
|
|
16620
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16635
|
+
const Ed = Xo(To);
|
|
16636
|
+
var Pd = Object.defineProperty, Od = Object.getOwnPropertyDescriptor, ko = (n, e, t, o) => {
|
|
16637
|
+
for (var r = o > 1 ? void 0 : o ? Od(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16621
16638
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16622
|
-
return o && r &&
|
|
16639
|
+
return o && r && Pd(e, t, r), r;
|
|
16623
16640
|
};
|
|
16624
16641
|
class Rr extends g {
|
|
16625
16642
|
constructor() {
|
|
@@ -16717,7 +16734,7 @@ class Rr extends g {
|
|
|
16717
16734
|
}
|
|
16718
16735
|
renderValue(e) {
|
|
16719
16736
|
const t = e.value;
|
|
16720
|
-
return t == null || t === "" ? s`<dd class="value empty">${this.placeholder}</dd>` : e.html ? s`<dd class="value">${
|
|
16737
|
+
return t == null || t === "" ? s`<dd class="value empty">${this.placeholder}</dd>` : e.html ? s`<dd class="value">${Ed(t)}</dd>` : s`<dd class="value">${t}</dd>`;
|
|
16721
16738
|
}
|
|
16722
16739
|
render() {
|
|
16723
16740
|
const e = this.items ?? [];
|
|
@@ -16748,10 +16765,10 @@ ko([
|
|
|
16748
16765
|
l()
|
|
16749
16766
|
], Rr.prototype, "placeholder", 2);
|
|
16750
16767
|
k("ok-detail-list", Rr);
|
|
16751
|
-
var
|
|
16752
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16768
|
+
var Md = Object.defineProperty, Ad = Object.getOwnPropertyDescriptor, Nr = (n, e, t, o) => {
|
|
16769
|
+
for (var r = o > 1 ? void 0 : o ? Ad(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16753
16770
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16754
|
-
return o && r &&
|
|
16771
|
+
return o && r && Md(e, t, r), r;
|
|
16755
16772
|
};
|
|
16756
16773
|
class ar extends g {
|
|
16757
16774
|
constructor() {
|
|
@@ -16852,10 +16869,10 @@ Nr([
|
|
|
16852
16869
|
l()
|
|
16853
16870
|
], ar.prototype, "label", 2);
|
|
16854
16871
|
k("ok-icon-tile", ar);
|
|
16855
|
-
var
|
|
16856
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16872
|
+
var Dd = Object.defineProperty, jd = Object.getOwnPropertyDescriptor, qr = (n, e, t, o) => {
|
|
16873
|
+
for (var r = o > 1 ? void 0 : o ? jd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16857
16874
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16858
|
-
return o && r &&
|
|
16875
|
+
return o && r && Dd(e, t, r), r;
|
|
16859
16876
|
};
|
|
16860
16877
|
class sr extends g {
|
|
16861
16878
|
constructor() {
|
|
@@ -17000,12 +17017,12 @@ qr([
|
|
|
17000
17017
|
l({ type: Boolean, attribute: "show-label" })
|
|
17001
17018
|
], sr.prototype, "showLabel", 2);
|
|
17002
17019
|
k("ok-status-dot", sr);
|
|
17003
|
-
var
|
|
17004
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
17020
|
+
var Ld = Object.defineProperty, Id = Object.getOwnPropertyDescriptor, ui = (n, e, t, o) => {
|
|
17021
|
+
for (var r = o > 1 ? void 0 : o ? Id(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
17005
17022
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
17006
|
-
return o && r &&
|
|
17023
|
+
return o && r && Ld(e, t, r), r;
|
|
17007
17024
|
};
|
|
17008
|
-
const
|
|
17025
|
+
const Td = /* @__PURE__ */ new Set(["cmd", "command", "ctrl", "control", "shift", "alt", "option", "opt", "meta", "win", "super"]), Bd = {
|
|
17009
17026
|
cmd: "⌘",
|
|
17010
17027
|
command: "⌘",
|
|
17011
17028
|
meta: "⌘",
|
|
@@ -17113,11 +17130,11 @@ class wo extends g {
|
|
|
17113
17130
|
}
|
|
17114
17131
|
// ¿Es una tecla modificadora?
|
|
17115
17132
|
isMod(e) {
|
|
17116
|
-
return
|
|
17133
|
+
return Td.has(e.toLowerCase());
|
|
17117
17134
|
}
|
|
17118
17135
|
// Etiqueta visible: glifo bonito si existe, si no la tecla tal cual (en mayúscula si es 1 char).
|
|
17119
17136
|
label(e) {
|
|
17120
|
-
const t =
|
|
17137
|
+
const t = Bd[e.toLowerCase()];
|
|
17121
17138
|
return t || (e.length === 1 ? e.toUpperCase() : e);
|
|
17122
17139
|
}
|
|
17123
17140
|
render() {
|
|
@@ -17142,14 +17159,14 @@ ui([
|
|
|
17142
17159
|
l({ type: Boolean })
|
|
17143
17160
|
], wo.prototype, "combo", 2);
|
|
17144
17161
|
k("ok-kbd", wo);
|
|
17145
|
-
function
|
|
17162
|
+
function La(n, e, t = {}) {
|
|
17146
17163
|
const o = t.gap ?? 8, r = t.margin ?? 8, i = n.getBoundingClientRect(), a = e.getBoundingClientRect(), d = window.innerWidth, c = window.innerHeight, u = i.left + a.width > d - r && i.right - a.width >= r, h = i.bottom + o + a.height > c - r && i.top - o - a.height >= r;
|
|
17147
17164
|
return { end: u, above: h };
|
|
17148
17165
|
}
|
|
17149
|
-
var
|
|
17150
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
17166
|
+
var Fd = Object.defineProperty, Rd = Object.getOwnPropertyDescriptor, he = (n, e, t, o) => {
|
|
17167
|
+
for (var r = o > 1 ? void 0 : o ? Rd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
17151
17168
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
17152
|
-
return o && r &&
|
|
17169
|
+
return o && r && Fd(e, t, r), r;
|
|
17153
17170
|
};
|
|
17154
17171
|
class Q extends g {
|
|
17155
17172
|
constructor() {
|
|
@@ -17482,7 +17499,7 @@ class Q extends g {
|
|
|
17482
17499
|
if (this.trigger === "context") return;
|
|
17483
17500
|
const e = this.renderRoot.querySelector(".panel");
|
|
17484
17501
|
if (!e) return;
|
|
17485
|
-
const t =
|
|
17502
|
+
const t = La(this, e, { gap: 4 });
|
|
17486
17503
|
this.flipEnd = t.end, this.flipAbove = t.above;
|
|
17487
17504
|
}
|
|
17488
17505
|
// Activa una entrada hoja: emite ok-select y cierra. Submenús/divisores/secciones no aplican.
|
|
@@ -17592,12 +17609,12 @@ he([
|
|
|
17592
17609
|
v()
|
|
17593
17610
|
], Q.prototype, "openSub", 2);
|
|
17594
17611
|
k("ok-menu", Q);
|
|
17595
|
-
var
|
|
17596
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
17612
|
+
var Nd = Object.defineProperty, qd = Object.getOwnPropertyDescriptor, I = (n, e, t, o) => {
|
|
17613
|
+
for (var r = o > 1 ? void 0 : o ? qd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
17597
17614
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
17598
|
-
return o && r &&
|
|
17615
|
+
return o && r && Nd(e, t, r), r;
|
|
17599
17616
|
};
|
|
17600
|
-
const
|
|
17617
|
+
const Ud = {
|
|
17601
17618
|
card: "Preview"
|
|
17602
17619
|
};
|
|
17603
17620
|
class L extends g {
|
|
@@ -17823,7 +17840,7 @@ class L extends g {
|
|
|
17823
17840
|
}
|
|
17824
17841
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
17825
17842
|
get t() {
|
|
17826
|
-
return { ...
|
|
17843
|
+
return { ...Ud, ...this.labels };
|
|
17827
17844
|
}
|
|
17828
17845
|
disconnectedCallback() {
|
|
17829
17846
|
super.disconnectedCallback(), this.clearTimers();
|
|
@@ -17864,7 +17881,7 @@ class L extends g {
|
|
|
17864
17881
|
anchor() {
|
|
17865
17882
|
const e = this.triggerEl, t = this.cardEl;
|
|
17866
17883
|
if (!e || !t) return;
|
|
17867
|
-
const { end: o, above: r } =
|
|
17884
|
+
const { end: o, above: r } = La(e, t, { gap: 8, margin: 12 });
|
|
17868
17885
|
this.end = o, this.above = this.placement === "top" && !this.fitsBelow() || r;
|
|
17869
17886
|
}
|
|
17870
17887
|
// ¿Cabe la tarjeta debajo del disparador dentro del viewport?
|
|
@@ -18002,23 +18019,23 @@ I([
|
|
|
18002
18019
|
v()
|
|
18003
18020
|
], L.prototype, "above", 2);
|
|
18004
18021
|
I([
|
|
18005
|
-
|
|
18022
|
+
B(".card")
|
|
18006
18023
|
], L.prototype, "cardEl", 2);
|
|
18007
18024
|
I([
|
|
18008
|
-
|
|
18025
|
+
B(".trigger")
|
|
18009
18026
|
], L.prototype, "triggerEl", 2);
|
|
18010
18027
|
k("ok-hover-card", L);
|
|
18011
|
-
var
|
|
18012
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
18028
|
+
var Vd = Object.defineProperty, Hd = Object.getOwnPropertyDescriptor, nr = (n, e, t, o) => {
|
|
18029
|
+
for (var r = o > 1 ? void 0 : o ? Hd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
18013
18030
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
18014
|
-
return o && r &&
|
|
18031
|
+
return o && r && Vd(e, t, r), r;
|
|
18015
18032
|
};
|
|
18016
|
-
const
|
|
18033
|
+
const Kd = {
|
|
18017
18034
|
markAllRead: "Mark all read",
|
|
18018
18035
|
close: "Close",
|
|
18019
18036
|
emptyTitle: "All caught up",
|
|
18020
18037
|
emptyText: "No notifications to show."
|
|
18021
|
-
},
|
|
18038
|
+
}, Yd = '<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg>';
|
|
18022
18039
|
class Dt extends g {
|
|
18023
18040
|
constructor() {
|
|
18024
18041
|
super(...arguments), this.items = [], this.filters = [], this.open = !1, this.title = "Notifications", this.labels = {}, this.onKeydown = (e) => {
|
|
@@ -18370,7 +18387,7 @@ class Dt extends g {
|
|
|
18370
18387
|
}
|
|
18371
18388
|
// Textos efectivos.
|
|
18372
18389
|
get t() {
|
|
18373
|
-
return { ...
|
|
18390
|
+
return { ...Kd, ...this.labels };
|
|
18374
18391
|
}
|
|
18375
18392
|
// Contador derivado de no-leídas.
|
|
18376
18393
|
get unreadCount() {
|
|
@@ -18418,7 +18435,7 @@ class Dt extends g {
|
|
|
18418
18435
|
);
|
|
18419
18436
|
}
|
|
18420
18437
|
renderAvatar(e) {
|
|
18421
|
-
const t = e.icon ??
|
|
18438
|
+
const t = e.icon ?? Yd;
|
|
18422
18439
|
return s`<span class="avatar ${e.variant ?? ""}" aria-hidden="true">
|
|
18423
18440
|
${this.isResolvedSvg(t) ? (
|
|
18424
18441
|
// SVG resuelto: lo pinta ion-icon vía prop `icon`.
|
|
@@ -18523,12 +18540,12 @@ nr([
|
|
|
18523
18540
|
l({ attribute: !1 })
|
|
18524
18541
|
], Dt.prototype, "labels", 2);
|
|
18525
18542
|
k("ok-notification-center", Dt);
|
|
18526
|
-
var
|
|
18527
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
18543
|
+
var Wd = Object.defineProperty, Xd = Object.getOwnPropertyDescriptor, lr = (n, e, t, o) => {
|
|
18544
|
+
for (var r = o > 1 ? void 0 : o ? Xd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
18528
18545
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
18529
|
-
return o && r &&
|
|
18546
|
+
return o && r && Wd(e, t, r), r;
|
|
18530
18547
|
};
|
|
18531
|
-
const
|
|
18548
|
+
const Gd = {
|
|
18532
18549
|
prev: "Back",
|
|
18533
18550
|
next: "Next",
|
|
18534
18551
|
finish: "Done",
|
|
@@ -18753,7 +18770,7 @@ class jt extends g {
|
|
|
18753
18770
|
}
|
|
18754
18771
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
18755
18772
|
get t() {
|
|
18756
|
-
return { ...
|
|
18773
|
+
return { ...Gd, ...this.labels };
|
|
18757
18774
|
}
|
|
18758
18775
|
get step() {
|
|
18759
18776
|
return this.steps[this.current];
|
|
@@ -18937,10 +18954,10 @@ lr([
|
|
|
18937
18954
|
v()
|
|
18938
18955
|
], jt.prototype, "bubble", 2);
|
|
18939
18956
|
k("ok-coachmark", jt);
|
|
18940
|
-
var
|
|
18941
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
18957
|
+
var Zd = Object.defineProperty, Qd = Object.getOwnPropertyDescriptor, et = (n, e, t, o) => {
|
|
18958
|
+
for (var r = o > 1 ? void 0 : o ? Qd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
18942
18959
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
18943
|
-
return o && r &&
|
|
18960
|
+
return o && r && Zd(e, t, r), r;
|
|
18944
18961
|
};
|
|
18945
18962
|
class Ae extends g {
|
|
18946
18963
|
constructor() {
|
|
@@ -19144,12 +19161,12 @@ et([
|
|
|
19144
19161
|
l()
|
|
19145
19162
|
], Ae.prototype, "icon", 2);
|
|
19146
19163
|
k("ok-select-card", Ae);
|
|
19147
|
-
var
|
|
19148
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
19164
|
+
var Jd = Object.defineProperty, ep = Object.getOwnPropertyDescriptor, Ur = (n, e, t, o) => {
|
|
19165
|
+
for (var r = o > 1 ? void 0 : o ? ep(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
19149
19166
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
19150
|
-
return o && r &&
|
|
19167
|
+
return o && r && Jd(e, t, r), r;
|
|
19151
19168
|
};
|
|
19152
|
-
const
|
|
19169
|
+
const tp = [
|
|
19153
19170
|
{ id: "erplora", label: "ERPlora", brand: "#1496D6" },
|
|
19154
19171
|
{ id: "terracotta", label: "Terracotta", brand: "#E8552A" },
|
|
19155
19172
|
{ id: "corporate", label: "Corporate", brand: "#0F3F9C" },
|
|
@@ -19158,7 +19175,7 @@ const Jd = [
|
|
|
19158
19175
|
{ id: "ocean", label: "Ocean", brand: "#008CBD" },
|
|
19159
19176
|
{ id: "violet", label: "Violet", brand: "#742AD9" }
|
|
19160
19177
|
];
|
|
19161
|
-
const
|
|
19178
|
+
const rp = {
|
|
19162
19179
|
palette: "Theme palette",
|
|
19163
19180
|
mode: "Appearance",
|
|
19164
19181
|
system: "System",
|
|
@@ -19167,7 +19184,7 @@ const ep = {
|
|
|
19167
19184
|
};
|
|
19168
19185
|
class cr extends g {
|
|
19169
19186
|
constructor() {
|
|
19170
|
-
super(...arguments), this.palette = "erplora", this.mode = "system", this.hideMode = !1, this.palettes =
|
|
19187
|
+
super(...arguments), this.palette = "erplora", this.mode = "system", this.hideMode = !1, this.palettes = tp, this.labels = {};
|
|
19171
19188
|
}
|
|
19172
19189
|
static {
|
|
19173
19190
|
this.styles = y`
|
|
@@ -19262,7 +19279,7 @@ class cr extends g {
|
|
|
19262
19279
|
`;
|
|
19263
19280
|
}
|
|
19264
19281
|
get t() {
|
|
19265
|
-
return { ...
|
|
19282
|
+
return { ...rp, ...this.labels };
|
|
19266
19283
|
}
|
|
19267
19284
|
emitChange() {
|
|
19268
19285
|
this.dispatchEvent(
|
|
@@ -19340,12 +19357,12 @@ Ur([
|
|
|
19340
19357
|
l({ attribute: !1 })
|
|
19341
19358
|
], cr.prototype, "labels", 2);
|
|
19342
19359
|
k("ok-theme-picker", cr);
|
|
19343
|
-
var
|
|
19344
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
19360
|
+
var op = Object.defineProperty, ip = Object.getOwnPropertyDescriptor, U = (n, e, t, o) => {
|
|
19361
|
+
for (var r = o > 1 ? void 0 : o ? ip(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
19345
19362
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
19346
|
-
return o && r &&
|
|
19363
|
+
return o && r && op(e, t, r), r;
|
|
19347
19364
|
};
|
|
19348
|
-
class
|
|
19365
|
+
class R extends g {
|
|
19349
19366
|
constructor() {
|
|
19350
19367
|
super(...arguments), this.title = "", this.variant = "info", this.mode = "http", this.shortcuts = [], this.checks = [], this.detailsLabel = "Detalles técnicos", this.retryLabel = "Reintentando en", this.retrySeconds = 0, this.remaining = 0, this.initialSeconds = 0;
|
|
19351
19368
|
}
|
|
@@ -19809,48 +19826,48 @@ class F extends g {
|
|
|
19809
19826
|
}
|
|
19810
19827
|
U([
|
|
19811
19828
|
l()
|
|
19812
|
-
],
|
|
19829
|
+
], R.prototype, "code", 2);
|
|
19813
19830
|
U([
|
|
19814
19831
|
l()
|
|
19815
|
-
],
|
|
19832
|
+
], R.prototype, "title", 2);
|
|
19816
19833
|
U([
|
|
19817
19834
|
l()
|
|
19818
|
-
],
|
|
19835
|
+
], R.prototype, "message", 2);
|
|
19819
19836
|
U([
|
|
19820
19837
|
l({ reflect: !0 })
|
|
19821
|
-
],
|
|
19838
|
+
], R.prototype, "variant", 2);
|
|
19822
19839
|
U([
|
|
19823
19840
|
l({ reflect: !0 })
|
|
19824
|
-
],
|
|
19841
|
+
], R.prototype, "mode", 2);
|
|
19825
19842
|
U([
|
|
19826
19843
|
l({ attribute: !1 })
|
|
19827
|
-
],
|
|
19844
|
+
], R.prototype, "shortcuts", 2);
|
|
19828
19845
|
U([
|
|
19829
19846
|
l({ attribute: !1 })
|
|
19830
|
-
],
|
|
19847
|
+
], R.prototype, "checks", 2);
|
|
19831
19848
|
U([
|
|
19832
19849
|
l()
|
|
19833
|
-
],
|
|
19850
|
+
], R.prototype, "trace", 2);
|
|
19834
19851
|
U([
|
|
19835
19852
|
l({ attribute: "details-label" })
|
|
19836
|
-
],
|
|
19853
|
+
], R.prototype, "detailsLabel", 2);
|
|
19837
19854
|
U([
|
|
19838
19855
|
l()
|
|
19839
|
-
],
|
|
19856
|
+
], R.prototype, "meta", 2);
|
|
19840
19857
|
U([
|
|
19841
19858
|
l({ attribute: "retry-label" })
|
|
19842
|
-
],
|
|
19859
|
+
], R.prototype, "retryLabel", 2);
|
|
19843
19860
|
U([
|
|
19844
19861
|
l({ type: Number, attribute: "retry-seconds" })
|
|
19845
|
-
],
|
|
19862
|
+
], R.prototype, "retrySeconds", 2);
|
|
19846
19863
|
U([
|
|
19847
19864
|
v()
|
|
19848
|
-
],
|
|
19849
|
-
k("ok-error-page",
|
|
19850
|
-
var
|
|
19851
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
19865
|
+
], R.prototype, "remaining", 2);
|
|
19866
|
+
k("ok-error-page", R);
|
|
19867
|
+
var ap = Object.defineProperty, sp = Object.getOwnPropertyDescriptor, Lt = (n, e, t, o) => {
|
|
19868
|
+
for (var r = o > 1 ? void 0 : o ? sp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
19852
19869
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
19853
|
-
return o && r &&
|
|
19870
|
+
return o && r && ap(e, t, r), r;
|
|
19854
19871
|
};
|
|
19855
19872
|
class tt extends g {
|
|
19856
19873
|
constructor() {
|
|
@@ -20081,10 +20098,10 @@ Lt([
|
|
|
20081
20098
|
l({ type: Boolean })
|
|
20082
20099
|
], tt.prototype, "removable", 2);
|
|
20083
20100
|
k("ok-file-item", tt);
|
|
20084
|
-
var
|
|
20085
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
20101
|
+
var np = Object.defineProperty, lp = Object.getOwnPropertyDescriptor, ue = (n, e, t, o) => {
|
|
20102
|
+
for (var r = o > 1 ? void 0 : o ? lp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
20086
20103
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
20087
|
-
return o && r &&
|
|
20104
|
+
return o && r && np(e, t, r), r;
|
|
20088
20105
|
};
|
|
20089
20106
|
const J = class re extends g {
|
|
20090
20107
|
constructor() {
|
|
@@ -20575,14 +20592,14 @@ ue([
|
|
|
20575
20592
|
v()
|
|
20576
20593
|
], J.prototype, "words", 2);
|
|
20577
20594
|
ue([
|
|
20578
|
-
|
|
20595
|
+
B(".content")
|
|
20579
20596
|
], J.prototype, "contentEl", 2);
|
|
20580
|
-
let
|
|
20581
|
-
k("ok-rich-text",
|
|
20582
|
-
var
|
|
20583
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
20597
|
+
let cp = J;
|
|
20598
|
+
k("ok-rich-text", cp);
|
|
20599
|
+
var dp = Object.defineProperty, pp = Object.getOwnPropertyDescriptor, Vr = (n, e, t, o) => {
|
|
20600
|
+
for (var r = o > 1 ? void 0 : o ? pp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
20584
20601
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
20585
|
-
return o && r &&
|
|
20602
|
+
return o && r && dp(e, t, r), r;
|
|
20586
20603
|
};
|
|
20587
20604
|
class dr extends g {
|
|
20588
20605
|
constructor() {
|
|
@@ -20750,10 +20767,10 @@ Vr([
|
|
|
20750
20767
|
v()
|
|
20751
20768
|
], dr.prototype, "copied", 2);
|
|
20752
20769
|
k("ok-code", dr);
|
|
20753
|
-
var
|
|
20754
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
20770
|
+
var hp = Object.defineProperty, up = Object.getOwnPropertyDescriptor, $o = (n, e, t, o) => {
|
|
20771
|
+
for (var r = o > 1 ? void 0 : o ? up(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
20755
20772
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
20756
|
-
return o && r &&
|
|
20773
|
+
return o && r && hp(e, t, r), r;
|
|
20757
20774
|
};
|
|
20758
20775
|
const Hr = class je extends g {
|
|
20759
20776
|
constructor() {
|
|
@@ -21042,12 +21059,12 @@ $o([
|
|
|
21042
21059
|
$o([
|
|
21043
21060
|
v()
|
|
21044
21061
|
], Hr.prototype, "collapsed", 2);
|
|
21045
|
-
let
|
|
21046
|
-
k("ok-json-viewer",
|
|
21047
|
-
var
|
|
21048
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21062
|
+
let mp = Hr;
|
|
21063
|
+
k("ok-json-viewer", mp);
|
|
21064
|
+
var vp = Object.defineProperty, bp = Object.getOwnPropertyDescriptor, Ia = (n, e, t, o) => {
|
|
21065
|
+
for (var r = o > 1 ? void 0 : o ? bp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
21049
21066
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
21050
|
-
return o && r &&
|
|
21067
|
+
return o && r && vp(e, t, r), r;
|
|
21051
21068
|
};
|
|
21052
21069
|
const mi = class Qr extends g {
|
|
21053
21070
|
constructor() {
|
|
@@ -21213,20 +21230,20 @@ const mi = class Qr extends g {
|
|
|
21213
21230
|
`;
|
|
21214
21231
|
}
|
|
21215
21232
|
};
|
|
21216
|
-
|
|
21233
|
+
Ia([
|
|
21217
21234
|
l({ attribute: !1 })
|
|
21218
21235
|
], mi.prototype, "lines", 2);
|
|
21219
|
-
|
|
21236
|
+
Ia([
|
|
21220
21237
|
l()
|
|
21221
21238
|
], mi.prototype, "raw", 2);
|
|
21222
|
-
let
|
|
21223
|
-
k("ok-diff",
|
|
21224
|
-
var
|
|
21225
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21239
|
+
let fp = mi;
|
|
21240
|
+
k("ok-diff", fp);
|
|
21241
|
+
var gp = Object.defineProperty, xp = Object.getOwnPropertyDescriptor, It = (n, e, t, o) => {
|
|
21242
|
+
for (var r = o > 1 ? void 0 : o ? xp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
21226
21243
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
21227
|
-
return o && r &&
|
|
21244
|
+
return o && r && gp(e, t, r), r;
|
|
21228
21245
|
};
|
|
21229
|
-
const
|
|
21246
|
+
const yp = [
|
|
21230
21247
|
"1234567890".split("").map((n) => ({ base: n })),
|
|
21231
21248
|
[..."qwertyuiop".split("").map((n) => ({ base: n })), { base: "", label: "⌫", kind: "del" }],
|
|
21232
21249
|
"asdfghjkl".split("").map((n) => ({ base: n })),
|
|
@@ -21243,7 +21260,7 @@ const gp = [
|
|
|
21243
21260
|
{ base: " ", label: "espacio", kind: "space" },
|
|
21244
21261
|
{ base: "@", label: "@", kind: "mod" }
|
|
21245
21262
|
]
|
|
21246
|
-
],
|
|
21263
|
+
], kp = [
|
|
21247
21264
|
"1234567890".split("").map((n) => ({ base: n })),
|
|
21248
21265
|
"@#$_&-+()/".split("").map((n) => ({ base: n })),
|
|
21249
21266
|
[
|
|
@@ -21258,7 +21275,7 @@ const gp = [
|
|
|
21258
21275
|
{ base: `
|
|
21259
21276
|
`, label: "↵", kind: "enter" }
|
|
21260
21277
|
]
|
|
21261
|
-
],
|
|
21278
|
+
], wp = [
|
|
21262
21279
|
[{ base: "1" }, { base: "2" }, { base: "3" }],
|
|
21263
21280
|
[{ base: "4" }, { base: "5" }, { base: "6" }],
|
|
21264
21281
|
[{ base: "7" }, { base: "8" }, { base: "9" }],
|
|
@@ -21488,11 +21505,11 @@ class rt extends g {
|
|
|
21488
21505
|
get rows() {
|
|
21489
21506
|
switch (this.activeLayout) {
|
|
21490
21507
|
case "numeric":
|
|
21491
|
-
return
|
|
21508
|
+
return wp;
|
|
21492
21509
|
case "symbol":
|
|
21493
|
-
return
|
|
21510
|
+
return kp;
|
|
21494
21511
|
default:
|
|
21495
|
-
return
|
|
21512
|
+
return yp;
|
|
21496
21513
|
}
|
|
21497
21514
|
}
|
|
21498
21515
|
emit(e, t) {
|
|
@@ -21592,12 +21609,12 @@ It([
|
|
|
21592
21609
|
v()
|
|
21593
21610
|
], rt.prototype, "activeLayout", 2);
|
|
21594
21611
|
k("ok-keyboard", rt);
|
|
21595
|
-
var
|
|
21596
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21612
|
+
var $p = Object.defineProperty, Cp = Object.getOwnPropertyDescriptor, pr = (n, e, t, o) => {
|
|
21613
|
+
for (var r = o > 1 ? void 0 : o ? Cp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
21597
21614
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
21598
|
-
return o && r &&
|
|
21615
|
+
return o && r && $p(e, t, r), r;
|
|
21599
21616
|
};
|
|
21600
|
-
const
|
|
21617
|
+
const zp = [
|
|
21601
21618
|
{ label: "AC", kind: "fn", wide: !0 },
|
|
21602
21619
|
{ label: "⌫", kind: "fn" },
|
|
21603
21620
|
{ label: "÷", kind: "op", op: "/" },
|
|
@@ -21616,7 +21633,7 @@ const $p = [
|
|
|
21616
21633
|
{ label: "0", kind: "digit", wide: !0 },
|
|
21617
21634
|
{ label: ".", kind: "dot" },
|
|
21618
21635
|
{ label: "=", kind: "equals" }
|
|
21619
|
-
],
|
|
21636
|
+
], _p = {
|
|
21620
21637
|
"+": "+",
|
|
21621
21638
|
"-": "−",
|
|
21622
21639
|
"*": "×",
|
|
@@ -21803,7 +21820,7 @@ class Tt extends g {
|
|
|
21803
21820
|
</div>
|
|
21804
21821
|
</div>
|
|
21805
21822
|
<div class="keys">
|
|
21806
|
-
${
|
|
21823
|
+
${zp.map((e) => this._renderKey(e))}
|
|
21807
21824
|
</div>
|
|
21808
21825
|
</div>
|
|
21809
21826
|
`;
|
|
@@ -21901,7 +21918,7 @@ class Tt extends g {
|
|
|
21901
21918
|
default:
|
|
21902
21919
|
o = e;
|
|
21903
21920
|
}
|
|
21904
|
-
const r = this._op ?
|
|
21921
|
+
const r = this._op ? _p[this._op] : "";
|
|
21905
21922
|
this._prev = this._op ? `${t} ${r} ${e} =` : "";
|
|
21906
21923
|
const i = Number.isFinite(o) ? +o.toFixed(8) : 0;
|
|
21907
21924
|
this._op = "", this._stored = 0, this._justEvaluated = !0, this._setDisplay(String(i));
|
|
@@ -21956,12 +21973,12 @@ pr([
|
|
|
21956
21973
|
v()
|
|
21957
21974
|
], Tt.prototype, "_justEvaluated", 2);
|
|
21958
21975
|
k("ok-calculator", Tt);
|
|
21959
|
-
var
|
|
21960
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21976
|
+
var Sp = Object.defineProperty, Ep = Object.getOwnPropertyDescriptor, V = (n, e, t, o) => {
|
|
21977
|
+
for (var r = o > 1 ? void 0 : o ? Ep(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
21961
21978
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
21962
|
-
return o && r &&
|
|
21979
|
+
return o && r && Sp(e, t, r), r;
|
|
21963
21980
|
};
|
|
21964
|
-
class
|
|
21981
|
+
class N extends g {
|
|
21965
21982
|
constructor() {
|
|
21966
21983
|
super(...arguments), this.src = "", this.alt = "", this.ratio = "16:9", this.radius = "md", this.zoom = "none", this.placeholderText = "cargando…", this.loaded = !1, this.errored = !1, this.zooming = !1, this.lightboxOpen = !1, this.lensX = 50, this.lensY = 50, this.closeLightbox = () => {
|
|
21967
21984
|
this.lightboxOpen = !1;
|
|
@@ -22348,48 +22365,48 @@ class R extends g {
|
|
|
22348
22365
|
}
|
|
22349
22366
|
V([
|
|
22350
22367
|
l()
|
|
22351
|
-
],
|
|
22368
|
+
], N.prototype, "src", 2);
|
|
22352
22369
|
V([
|
|
22353
22370
|
l()
|
|
22354
|
-
],
|
|
22371
|
+
], N.prototype, "alt", 2);
|
|
22355
22372
|
V([
|
|
22356
22373
|
l({ reflect: !0 })
|
|
22357
|
-
],
|
|
22374
|
+
], N.prototype, "ratio", 2);
|
|
22358
22375
|
V([
|
|
22359
22376
|
l()
|
|
22360
|
-
],
|
|
22377
|
+
], N.prototype, "caption", 2);
|
|
22361
22378
|
V([
|
|
22362
22379
|
l({ reflect: !0 })
|
|
22363
|
-
],
|
|
22380
|
+
], N.prototype, "radius", 2);
|
|
22364
22381
|
V([
|
|
22365
22382
|
l({ reflect: !0 })
|
|
22366
|
-
],
|
|
22383
|
+
], N.prototype, "zoom", 2);
|
|
22367
22384
|
V([
|
|
22368
22385
|
l({ attribute: "placeholder-text" })
|
|
22369
|
-
],
|
|
22386
|
+
], N.prototype, "placeholderText", 2);
|
|
22370
22387
|
V([
|
|
22371
22388
|
v()
|
|
22372
|
-
],
|
|
22389
|
+
], N.prototype, "loaded", 2);
|
|
22373
22390
|
V([
|
|
22374
22391
|
v()
|
|
22375
|
-
],
|
|
22392
|
+
], N.prototype, "errored", 2);
|
|
22376
22393
|
V([
|
|
22377
22394
|
v()
|
|
22378
|
-
],
|
|
22395
|
+
], N.prototype, "zooming", 2);
|
|
22379
22396
|
V([
|
|
22380
22397
|
v()
|
|
22381
|
-
],
|
|
22398
|
+
], N.prototype, "lightboxOpen", 2);
|
|
22382
22399
|
V([
|
|
22383
22400
|
v()
|
|
22384
|
-
],
|
|
22401
|
+
], N.prototype, "lensX", 2);
|
|
22385
22402
|
V([
|
|
22386
22403
|
v()
|
|
22387
|
-
],
|
|
22388
|
-
k("ok-image",
|
|
22389
|
-
var
|
|
22390
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
22404
|
+
], N.prototype, "lensY", 2);
|
|
22405
|
+
k("ok-image", N);
|
|
22406
|
+
var Pp = Object.defineProperty, Op = Object.getOwnPropertyDescriptor, Kr = (n, e, t, o) => {
|
|
22407
|
+
for (var r = o > 1 ? void 0 : o ? Op(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
22391
22408
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
22392
|
-
return o && r &&
|
|
22409
|
+
return o && r && Pp(e, t, r), r;
|
|
22393
22410
|
};
|
|
22394
22411
|
class hr extends g {
|
|
22395
22412
|
constructor() {
|
|
@@ -22629,7 +22646,7 @@ class hr extends g {
|
|
|
22629
22646
|
@keydown=${(a) => {
|
|
22630
22647
|
(a.key === "Enter" || a.key === " ") && this.toggle(e, t, a);
|
|
22631
22648
|
}}
|
|
22632
|
-
>${
|
|
22649
|
+
>${Mp}</span
|
|
22633
22650
|
>` : null}
|
|
22634
22651
|
</button>
|
|
22635
22652
|
`;
|
|
@@ -22653,17 +22670,17 @@ Kr([
|
|
|
22653
22670
|
Kr([
|
|
22654
22671
|
l({ type: Number, reflect: !0 })
|
|
22655
22672
|
], hr.prototype, "columns", 2);
|
|
22656
|
-
const
|
|
22673
|
+
const Mp = s`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
22657
22674
|
stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
22658
22675
|
<path d="M5 13l4 4L19 7" />
|
|
22659
22676
|
</svg>`;
|
|
22660
22677
|
k("ok-gallery", hr);
|
|
22661
|
-
var
|
|
22662
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
22678
|
+
var Ap = Object.defineProperty, Dp = Object.getOwnPropertyDescriptor, Yr = (n, e, t, o) => {
|
|
22679
|
+
for (var r = o > 1 ? void 0 : o ? Dp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
22663
22680
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
22664
|
-
return o && r &&
|
|
22681
|
+
return o && r && Ap(e, t, r), r;
|
|
22665
22682
|
};
|
|
22666
|
-
const
|
|
22683
|
+
const jp = {
|
|
22667
22684
|
prev: "Previous",
|
|
22668
22685
|
next: "Next",
|
|
22669
22686
|
close: "Close",
|
|
@@ -22904,7 +22921,7 @@ class ur extends g {
|
|
|
22904
22921
|
}
|
|
22905
22922
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
22906
22923
|
get t() {
|
|
22907
|
-
return { ...
|
|
22924
|
+
return { ...jp, ...this.labels };
|
|
22908
22925
|
}
|
|
22909
22926
|
disconnectedCallback() {
|
|
22910
22927
|
super.disconnectedCallback(), this.unbind();
|
|
@@ -23086,10 +23103,10 @@ Yr([
|
|
|
23086
23103
|
v()
|
|
23087
23104
|
], ur.prototype, "shown", 2);
|
|
23088
23105
|
k("ok-lightbox", ur);
|
|
23089
|
-
var
|
|
23090
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
23106
|
+
var Lp = Object.defineProperty, Ip = Object.getOwnPropertyDescriptor, mr = (n, e, t, o) => {
|
|
23107
|
+
for (var r = o > 1 ? void 0 : o ? Ip(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
23091
23108
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
23092
|
-
return o && r &&
|
|
23109
|
+
return o && r && Lp(e, t, r), r;
|
|
23093
23110
|
};
|
|
23094
23111
|
const Ao = [
|
|
23095
23112
|
{ key: "free", label: "Libre", ratio: null },
|
|
@@ -23395,10 +23412,10 @@ mr([
|
|
|
23395
23412
|
v()
|
|
23396
23413
|
], Bt.prototype, "rect", 2);
|
|
23397
23414
|
k("ok-cropper", Bt);
|
|
23398
|
-
var
|
|
23399
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
23415
|
+
var Tp = Object.defineProperty, Bp = Object.getOwnPropertyDescriptor, Ft = (n, e, t, o) => {
|
|
23416
|
+
for (var r = o > 1 ? void 0 : o ? Bp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
23400
23417
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
23401
|
-
return o && r &&
|
|
23418
|
+
return o && r && Tp(e, t, r), r;
|
|
23402
23419
|
};
|
|
23403
23420
|
class ot extends g {
|
|
23404
23421
|
constructor() {
|
|
@@ -23637,10 +23654,10 @@ Ft([
|
|
|
23637
23654
|
v()
|
|
23638
23655
|
], ot.prototype, "_size", 2);
|
|
23639
23656
|
k("ok-splitter", ot);
|
|
23640
|
-
var
|
|
23641
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
23657
|
+
var Fp = Object.defineProperty, Rp = Object.getOwnPropertyDescriptor, me = (n, e, t, o) => {
|
|
23658
|
+
for (var r = o > 1 ? void 0 : o ? Rp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
23642
23659
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
23643
|
-
return o && r &&
|
|
23660
|
+
return o && r && Fp(e, t, r), r;
|
|
23644
23661
|
};
|
|
23645
23662
|
class ee extends g {
|
|
23646
23663
|
constructor() {
|
|
@@ -23974,10 +23991,10 @@ me([
|
|
|
23974
23991
|
l()
|
|
23975
23992
|
], ee.prototype, "size", 2);
|
|
23976
23993
|
k("ok-loyalty-card", ee);
|
|
23977
|
-
var
|
|
23978
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
23994
|
+
var Np = Object.defineProperty, qp = Object.getOwnPropertyDescriptor, W = (n, e, t, o) => {
|
|
23995
|
+
for (var r = o > 1 ? void 0 : o ? qp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
23979
23996
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
23980
|
-
return o && r &&
|
|
23997
|
+
return o && r && Np(e, t, r), r;
|
|
23981
23998
|
};
|
|
23982
23999
|
class H extends g {
|
|
23983
24000
|
constructor() {
|
|
@@ -24337,10 +24354,10 @@ W([
|
|
|
24337
24354
|
l({ attribute: !1 })
|
|
24338
24355
|
], H.prototype, "attendees", 2);
|
|
24339
24356
|
k("ok-event-card", H);
|
|
24340
|
-
var
|
|
24341
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
24357
|
+
var Up = Object.defineProperty, Vp = Object.getOwnPropertyDescriptor, Co = (n, e, t, o) => {
|
|
24358
|
+
for (var r = o > 1 ? void 0 : o ? Vp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
24342
24359
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
24343
|
-
return o && r &&
|
|
24360
|
+
return o && r && Up(e, t, r), r;
|
|
24344
24361
|
};
|
|
24345
24362
|
const Wr = class Bo extends g {
|
|
24346
24363
|
constructor() {
|
|
@@ -24473,14 +24490,14 @@ Co([
|
|
|
24473
24490
|
Co([
|
|
24474
24491
|
l({ type: Number })
|
|
24475
24492
|
], Wr.prototype, "overlap", 2);
|
|
24476
|
-
let
|
|
24477
|
-
k("ok-avatar-group",
|
|
24478
|
-
var
|
|
24479
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
24493
|
+
let Hp = Wr;
|
|
24494
|
+
k("ok-avatar-group", Hp);
|
|
24495
|
+
var Kp = Object.defineProperty, Yp = Object.getOwnPropertyDescriptor, it = (n, e, t, o) => {
|
|
24496
|
+
for (var r = o > 1 ? void 0 : o ? Yp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
24480
24497
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
24481
|
-
return o && r &&
|
|
24498
|
+
return o && r && Kp(e, t, r), r;
|
|
24482
24499
|
};
|
|
24483
|
-
const nt = 184, Jr = 120,
|
|
24500
|
+
const nt = 184, Jr = 120, Wp = 28, Ta = 56, Xp = nt + Wp, Li = Jr + Ta, Do = (n, e, t) => Math.min(t, Math.max(e, n)), jo = 0.2, Ii = 2.5;
|
|
24484
24501
|
class De extends g {
|
|
24485
24502
|
constructor() {
|
|
24486
24503
|
super(...arguments), this.root = null, this.maxAvatars = 3, this.height = 460, this.tx = 0, this.ty = 0, this.k = 1, this.grabbing = !1, this.collapsed = /* @__PURE__ */ new Set(), this.contentW = 0, this.contentH = 0, this.fitted = !1, this.pointers = /* @__PURE__ */ new Map(), this.panStart = null, this.pinchStart = null, this.wrapEl = null, this.ro = null, this.userMoved = !1, this.onWheel = (e) => {
|
|
@@ -24757,7 +24774,7 @@ class De extends g {
|
|
|
24757
24774
|
const p = this.collapsed.has(u) ? [] : u.children ?? [];
|
|
24758
24775
|
let b;
|
|
24759
24776
|
if (!p.length)
|
|
24760
|
-
b = r *
|
|
24777
|
+
b = r * Xp, r += 1;
|
|
24761
24778
|
else {
|
|
24762
24779
|
const x = p.map(($) => a($, h + 1));
|
|
24763
24780
|
b = (x[0].x + x[x.length - 1].x) / 2;
|
|
@@ -24770,7 +24787,7 @@ class De extends g {
|
|
|
24770
24787
|
for (const u of t) {
|
|
24771
24788
|
const h = this.collapsed.has(u.node) ? [] : u.node.children ?? [];
|
|
24772
24789
|
if (!h.length) continue;
|
|
24773
|
-
const p = h.map((w) => o.get(w)), b = u.x + nt / 2, f = u.y + Jr, x = f +
|
|
24790
|
+
const p = h.map((w) => o.get(w)), b = u.x + nt / 2, f = u.y + Jr, x = f + Ta / 2;
|
|
24774
24791
|
d.push(`M${b},${f}L${b},${x}`);
|
|
24775
24792
|
const $ = p[0].x + nt / 2, M = p[p.length - 1].x + nt / 2;
|
|
24776
24793
|
p.length > 1 && d.push(`M${$},${x}L${M},${x}`);
|
|
@@ -24987,12 +25004,12 @@ it([
|
|
|
24987
25004
|
v()
|
|
24988
25005
|
], De.prototype, "collapsed", 2);
|
|
24989
25006
|
k("ok-org-chart", De);
|
|
24990
|
-
var
|
|
24991
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
25007
|
+
var Gp = Object.defineProperty, Zp = Object.getOwnPropertyDescriptor, F = (n, e, t, o) => {
|
|
25008
|
+
for (var r = o > 1 ? void 0 : o ? Zp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
24992
25009
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
24993
|
-
return o && r &&
|
|
25010
|
+
return o && r && Gp(e, t, r), r;
|
|
24994
25011
|
};
|
|
24995
|
-
const
|
|
25012
|
+
const Qp = {
|
|
24996
25013
|
upload: "Subir archivo",
|
|
24997
25014
|
import: "Importar",
|
|
24998
25015
|
search: "Buscar archivos…",
|
|
@@ -25003,9 +25020,12 @@ const Gp = {
|
|
|
25003
25020
|
delete: "Eliminar",
|
|
25004
25021
|
open: "Abrir",
|
|
25005
25022
|
newFolder: "Nueva carpeta",
|
|
25023
|
+
rename: "Renombrar",
|
|
25024
|
+
renameFolder: "Renombrar carpeta",
|
|
25025
|
+
deleteFolder: "Eliminar carpeta",
|
|
25006
25026
|
noLimit: "Sin límite"
|
|
25007
25027
|
};
|
|
25008
|
-
class
|
|
25028
|
+
class T extends g {
|
|
25009
25029
|
constructor() {
|
|
25010
25030
|
super(...arguments), this.folders = [], this.files = [], this.path = [], this.selected = "", this.view = "grid", this.title = "", this.searchable = !0, this.uploadable = !0, this.loading = !1, this.labels = {}, this.expandedIds = /* @__PURE__ */ new Set(), this.dragging = !1, this.seeded = !1;
|
|
25011
25031
|
}
|
|
@@ -25513,6 +25533,11 @@ class B extends g {
|
|
|
25513
25533
|
.action.danger:hover {
|
|
25514
25534
|
color: var(--danger);
|
|
25515
25535
|
}
|
|
25536
|
+
/* Borrar la carpeta actual: se tiñe al pasar por encima, igual que el borrado de un fichero. */
|
|
25537
|
+
.tbtn.danger:hover {
|
|
25538
|
+
color: var(--danger);
|
|
25539
|
+
border-color: var(--danger);
|
|
25540
|
+
}
|
|
25516
25541
|
.action svg {
|
|
25517
25542
|
width: 15px;
|
|
25518
25543
|
height: 15px;
|
|
@@ -25612,9 +25637,12 @@ class B extends g {
|
|
|
25612
25637
|
}
|
|
25613
25638
|
`;
|
|
25614
25639
|
}
|
|
25640
|
+
can(e) {
|
|
25641
|
+
return this.policy ? this.policy[e] : !0;
|
|
25642
|
+
}
|
|
25615
25643
|
// Textos efectivos.
|
|
25616
25644
|
get t() {
|
|
25617
|
-
return { ...
|
|
25645
|
+
return { ...Qp, ...this.labels };
|
|
25618
25646
|
}
|
|
25619
25647
|
// Siembra: expande todas las carpetas con hijos la primera vez.
|
|
25620
25648
|
seedExpanded(e) {
|
|
@@ -25635,7 +25663,21 @@ class B extends g {
|
|
|
25635
25663
|
this.emit("ok-download", { id: e.id, url: e.url });
|
|
25636
25664
|
}
|
|
25637
25665
|
deleteFile(e) {
|
|
25638
|
-
this.emit("ok-delete", { id: e });
|
|
25666
|
+
this.emit("ok-delete", { id: e, kind: "file" });
|
|
25667
|
+
}
|
|
25668
|
+
/** Renombrar un fichero. Se manda el nombre actual para que el host lo proponga en su diálogo. */
|
|
25669
|
+
renameFile(e) {
|
|
25670
|
+
this.emit("ok-rename", { id: e.id, name: e.name, kind: "file" });
|
|
25671
|
+
}
|
|
25672
|
+
/** Etiqueta de la carpeta actual (para proponerla como nombre al renombrar). */
|
|
25673
|
+
get currentFolderLabel() {
|
|
25674
|
+
return this.path[this.path.length - 1]?.label ?? this.selected.split("/").pop() ?? "";
|
|
25675
|
+
}
|
|
25676
|
+
renameCurrentFolder() {
|
|
25677
|
+
this.emit("ok-rename", { id: this.selected, name: this.currentFolderLabel, kind: "folder" });
|
|
25678
|
+
}
|
|
25679
|
+
deleteCurrentFolder() {
|
|
25680
|
+
this.emit("ok-delete", { id: this.selected, kind: "folder" });
|
|
25639
25681
|
}
|
|
25640
25682
|
createFolder() {
|
|
25641
25683
|
this.emit("ok-create-folder", { parent: this.selected });
|
|
@@ -25811,23 +25853,47 @@ class B extends g {
|
|
|
25811
25853
|
</button>
|
|
25812
25854
|
</div>
|
|
25813
25855
|
|
|
25814
|
-
|
|
25815
|
-
|
|
25816
|
-
|
|
25817
|
-
|
|
25818
|
-
|
|
25819
|
-
|
|
25820
|
-
|
|
25821
|
-
|
|
25822
|
-
|
|
25823
|
-
|
|
25824
|
-
|
|
25825
|
-
|
|
25826
|
-
|
|
25856
|
+
${this.selected && this.can("rename") ? s`<button
|
|
25857
|
+
type="button"
|
|
25858
|
+
class="tbtn icon"
|
|
25859
|
+
data-act="rename-folder"
|
|
25860
|
+
aria-label=${this.t.renameFolder}
|
|
25861
|
+
title=${this.t.renameFolder}
|
|
25862
|
+
@click=${() => this.renameCurrentFolder()}
|
|
25863
|
+
>
|
|
25864
|
+
${this.iconRename}
|
|
25865
|
+
</button>` : ""}
|
|
25866
|
+
|
|
25867
|
+
${this.selected && this.can("delete") ? s`<button
|
|
25868
|
+
type="button"
|
|
25869
|
+
class="tbtn icon danger"
|
|
25870
|
+
data-act="delete-folder"
|
|
25871
|
+
aria-label=${this.t.deleteFolder}
|
|
25872
|
+
title=${this.t.deleteFolder}
|
|
25873
|
+
@click=${() => this.deleteCurrentFolder()}
|
|
25874
|
+
>
|
|
25875
|
+
${this.iconDelete}
|
|
25876
|
+
</button>` : ""}
|
|
25877
|
+
|
|
25878
|
+
${this.can("upload") ? s`<button
|
|
25879
|
+
type="button"
|
|
25880
|
+
class="tbtn icon"
|
|
25881
|
+
data-act="new-folder"
|
|
25882
|
+
aria-label=${this.t.newFolder}
|
|
25883
|
+
title=${this.t.newFolder}
|
|
25884
|
+
@click=${() => this.createFolder()}
|
|
25885
|
+
>
|
|
25886
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
25887
|
+
stroke-linecap="round" stroke-linejoin="round">
|
|
25888
|
+
<path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" />
|
|
25889
|
+
<path d="M12 11v6M9 14h6" />
|
|
25890
|
+
</svg>
|
|
25891
|
+
</button>` : ""}
|
|
25827
25892
|
|
|
25828
|
-
${this.uploadable ? s`<button
|
|
25893
|
+
${this.uploadable && this.can("upload") ? s`<button
|
|
25829
25894
|
type="button"
|
|
25830
25895
|
class="tbtn primary icon"
|
|
25896
|
+
data-act="upload"
|
|
25831
25897
|
aria-label=${this.t.upload}
|
|
25832
25898
|
title=${this.t.upload}
|
|
25833
25899
|
@click=${() => this.openPicker()}
|
|
@@ -25854,17 +25920,25 @@ class B extends g {
|
|
|
25854
25920
|
<polyline points="7 10 12 15 17 10" /><line x1="12" y1="15" x2="12" y2="3" />
|
|
25855
25921
|
</svg>`;
|
|
25856
25922
|
}
|
|
25923
|
+
get iconRename() {
|
|
25924
|
+
return s`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
25925
|
+
stroke-linecap="round" stroke-linejoin="round">
|
|
25926
|
+
<path d="M12 20h9" /><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z" />
|
|
25927
|
+
</svg>`;
|
|
25928
|
+
}
|
|
25857
25929
|
get iconDelete() {
|
|
25858
25930
|
return s`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
|
|
25859
25931
|
stroke-linecap="round" stroke-linejoin="round">
|
|
25860
25932
|
<path d="M3 6h18M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" />
|
|
25861
25933
|
</svg>`;
|
|
25862
25934
|
}
|
|
25863
|
-
// Acciones de un archivo
|
|
25935
|
+
// Acciones de un archivo, reutilizadas en grid y lista. Abrir y descargar SIEMPRE se ofrecen;
|
|
25936
|
+
// renombrar y borrar solo si la política de la carpeta los concede.
|
|
25864
25937
|
fileActions(e) {
|
|
25865
25938
|
return s`<button
|
|
25866
25939
|
type="button"
|
|
25867
25940
|
class="action"
|
|
25941
|
+
data-act="open"
|
|
25868
25942
|
aria-label=${this.t.open}
|
|
25869
25943
|
title=${this.t.open}
|
|
25870
25944
|
@click=${(t) => {
|
|
@@ -25876,6 +25950,7 @@ class B extends g {
|
|
|
25876
25950
|
<button
|
|
25877
25951
|
type="button"
|
|
25878
25952
|
class="action"
|
|
25953
|
+
data-act="download"
|
|
25879
25954
|
aria-label=${this.t.download}
|
|
25880
25955
|
title=${this.t.download}
|
|
25881
25956
|
@click=${(t) => {
|
|
@@ -25884,17 +25959,30 @@ class B extends g {
|
|
|
25884
25959
|
>
|
|
25885
25960
|
${this.iconDownload}
|
|
25886
25961
|
</button>
|
|
25887
|
-
|
|
25888
|
-
|
|
25889
|
-
|
|
25890
|
-
|
|
25891
|
-
|
|
25892
|
-
|
|
25962
|
+
${this.can("rename") ? s`<button
|
|
25963
|
+
type="button"
|
|
25964
|
+
class="action"
|
|
25965
|
+
data-act="rename-file"
|
|
25966
|
+
aria-label=${this.t.rename}
|
|
25967
|
+
title=${this.t.rename}
|
|
25968
|
+
@click=${(t) => {
|
|
25969
|
+
t.stopPropagation(), this.renameFile(e);
|
|
25970
|
+
}}
|
|
25971
|
+
>
|
|
25972
|
+
${this.iconRename}
|
|
25973
|
+
</button>` : ""}
|
|
25974
|
+
${this.can("delete") ? s`<button
|
|
25975
|
+
type="button"
|
|
25976
|
+
class="action danger"
|
|
25977
|
+
data-act="delete-file"
|
|
25978
|
+
aria-label=${this.t.delete}
|
|
25979
|
+
title=${this.t.delete}
|
|
25980
|
+
@click=${(t) => {
|
|
25893
25981
|
t.stopPropagation(), this.deleteFile(e.id);
|
|
25894
25982
|
}}
|
|
25895
|
-
|
|
25896
|
-
|
|
25897
|
-
|
|
25983
|
+
>
|
|
25984
|
+
${this.iconDelete}
|
|
25985
|
+
</button>` : ""}`;
|
|
25898
25986
|
}
|
|
25899
25987
|
// ---- Render del contenido (grid/lista/vacío/loading) ----
|
|
25900
25988
|
renderContent() {
|
|
@@ -25991,46 +26079,49 @@ class B extends g {
|
|
|
25991
26079
|
<input type="file" multiple @change=${this.onPicked} />`;
|
|
25992
26080
|
}
|
|
25993
26081
|
}
|
|
25994
|
-
|
|
26082
|
+
F([
|
|
25995
26083
|
l({ attribute: !1 })
|
|
25996
|
-
],
|
|
25997
|
-
|
|
26084
|
+
], T.prototype, "folders", 2);
|
|
26085
|
+
F([
|
|
25998
26086
|
l({ attribute: !1 })
|
|
25999
|
-
],
|
|
26000
|
-
|
|
26087
|
+
], T.prototype, "files", 2);
|
|
26088
|
+
F([
|
|
26001
26089
|
l({ attribute: !1 })
|
|
26002
|
-
],
|
|
26003
|
-
|
|
26090
|
+
], T.prototype, "path", 2);
|
|
26091
|
+
F([
|
|
26004
26092
|
l()
|
|
26005
|
-
],
|
|
26006
|
-
|
|
26093
|
+
], T.prototype, "selected", 2);
|
|
26094
|
+
F([
|
|
26007
26095
|
l()
|
|
26008
|
-
],
|
|
26009
|
-
|
|
26096
|
+
], T.prototype, "view", 2);
|
|
26097
|
+
F([
|
|
26010
26098
|
l({ attribute: !1 })
|
|
26011
|
-
],
|
|
26012
|
-
|
|
26099
|
+
], T.prototype, "quota", 2);
|
|
26100
|
+
F([
|
|
26013
26101
|
l()
|
|
26014
|
-
],
|
|
26015
|
-
|
|
26102
|
+
], T.prototype, "title", 2);
|
|
26103
|
+
F([
|
|
26016
26104
|
l({ type: Boolean })
|
|
26017
|
-
],
|
|
26018
|
-
|
|
26105
|
+
], T.prototype, "searchable", 2);
|
|
26106
|
+
F([
|
|
26019
26107
|
l({ type: Boolean })
|
|
26020
|
-
],
|
|
26021
|
-
|
|
26108
|
+
], T.prototype, "uploadable", 2);
|
|
26109
|
+
F([
|
|
26110
|
+
l({ attribute: !1 })
|
|
26111
|
+
], T.prototype, "policy", 2);
|
|
26112
|
+
F([
|
|
26022
26113
|
l({ type: Boolean })
|
|
26023
|
-
],
|
|
26024
|
-
|
|
26114
|
+
], T.prototype, "loading", 2);
|
|
26115
|
+
F([
|
|
26025
26116
|
l({ attribute: !1 })
|
|
26026
|
-
],
|
|
26027
|
-
|
|
26117
|
+
], T.prototype, "labels", 2);
|
|
26118
|
+
F([
|
|
26028
26119
|
v()
|
|
26029
|
-
],
|
|
26030
|
-
|
|
26120
|
+
], T.prototype, "expandedIds", 2);
|
|
26121
|
+
F([
|
|
26031
26122
|
v()
|
|
26032
|
-
],
|
|
26033
|
-
|
|
26034
|
-
|
|
26035
|
-
],
|
|
26036
|
-
k("ok-file-manager",
|
|
26123
|
+
], T.prototype, "dragging", 2);
|
|
26124
|
+
F([
|
|
26125
|
+
B('input[type="file"]')
|
|
26126
|
+
], T.prototype, "fileInput", 2);
|
|
26127
|
+
k("ok-file-manager", T);
|