@erplora/outfitkit 0.1.29 → 0.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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-invoice/ok-invoice.print.test.d.ts +1 -0
- package/dist/ok-data-table.js +84 -53
- package/dist/ok-invoice.js +31 -0
- package/dist/outfitkit.bundle.js +606 -558
- 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: qa, getOwnPropertyDescriptor: Na, 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
|
-
} },
|
|
76
|
+
} }, qo = (n, e) => !Ra(n, e), gi = { attribute: !0, type: String, converter: eo, reflect: !1, useDefault: !1, hasChanged: qo };
|
|
77
77
|
Symbol.metadata ??= Symbol("metadata"), oo.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
78
78
|
let Rt = class extends HTMLElement {
|
|
79
79
|
static addInitializer(e) {
|
|
@@ -85,7 +85,7 @@ 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 && qa(this.prototype, e, r);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
static getPropertyDescriptor(e, t, o) {
|
|
@@ -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?.());
|
|
@@ -188,7 +188,7 @@ let Rt = class extends HTMLElement {
|
|
|
188
188
|
requestUpdate(e, t, o, r = !1, i) {
|
|
189
189
|
if (e !== void 0) {
|
|
190
190
|
const a = this.constructor;
|
|
191
|
-
if (r === !1 && (i = this[e]), o ??= a.getPropertyOptions(e), !((o.hasChanged ??
|
|
191
|
+
if (r === !1 && (i = this[e]), o ??= a.getPropertyOptions(e), !((o.hasChanged ?? qo)(i, t) || o.useDefault && o.reflect && i === this._$Ej?.get(e) && !this.hasAttribute(a._$Eu(e, o)))) return;
|
|
192
192
|
this.C(e, t, o);
|
|
193
193
|
}
|
|
194
194
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -256,20 +256,20 @@ 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
|
|
265
|
+
const No = globalThis, xi = (n) => n, to = No.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;
|
|
271
271
|
}
|
|
272
|
-
const
|
|
272
|
+
const qi = (n, e) => {
|
|
273
273
|
const t = n.length - 1, o = [];
|
|
274
274
|
let r, i = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", a = vr;
|
|
275
275
|
for (let d = 0; d < t; d++) {
|
|
@@ -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
|
};
|
|
@@ -286,7 +286,7 @@ class $r {
|
|
|
286
286
|
let r;
|
|
287
287
|
this.parts = [];
|
|
288
288
|
let i = 0, a = 0;
|
|
289
|
-
const d = e.length - 1, c = this.parts, [u, h] =
|
|
289
|
+
const d = e.length - 1, c = this.parts, [u, h] = qi(e, t);
|
|
290
290
|
if (this.el = $r.createElement(u, o), lt.currentNode = this.el.content, t === 2 || t === 3) {
|
|
291
291
|
const p = this.el.content.firstChild;
|
|
292
292
|
p.replaceWith(...p.childNodes);
|
|
@@ -324,7 +324,7 @@ function dt(n, e, t = n, o) {
|
|
|
324
324
|
const i = wr(e) ? void 0 : e._$litDirective$;
|
|
325
325
|
return r?.constructor !== i && (r?._$AO?.(!1), i === void 0 ? r = void 0 : (r = new i(n), r._$AT(n, t, o)), o !== void 0 ? (t._$Co ??= [])[o] = r : t._$Cl = r), r !== void 0 && (e = dt(n, r._$AS(n, e.values), r, o)), e;
|
|
326
326
|
}
|
|
327
|
-
class
|
|
327
|
+
class Ni {
|
|
328
328
|
constructor(e, t) {
|
|
329
329
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
|
330
330
|
}
|
|
@@ -341,7 +341,7 @@ class qi {
|
|
|
341
341
|
for (; c !== void 0; ) {
|
|
342
342
|
if (a === c.index) {
|
|
343
343
|
let u;
|
|
344
|
-
c.type === 2 ? u = new
|
|
344
|
+
c.type === 2 ? u = new qt(i, i.nextSibling, this, e) : c.type === 1 ? u = new c.ctor(i, c.name, c.strings, this, e) : c.type === 6 && (u = new Ki(i, this, e)), this._$AV.push(u), c = o[++d];
|
|
345
345
|
}
|
|
346
346
|
a !== c?.index && (i = lt.nextNode(), a++);
|
|
347
347
|
}
|
|
@@ -352,7 +352,7 @@ class qi {
|
|
|
352
352
|
for (const o of this._$AV) o !== void 0 && (o.strings !== void 0 ? (o._$AI(e, o, t), t += o.strings.length - 2) : o._$AI(e[t])), t++;
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
|
-
class
|
|
355
|
+
class qt {
|
|
356
356
|
get _$AU() {
|
|
357
357
|
return this._$AM?._$AU ?? this._$Cv;
|
|
358
358
|
}
|
|
@@ -386,7 +386,7 @@ class Nt {
|
|
|
386
386
|
const { values: t, _$litType$: o } = e, r = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = $r.createElement(Ri(o.h, o.h[0]), this.options)), o);
|
|
387
387
|
if (this._$AH?._$AD === r) this._$AH.p(t);
|
|
388
388
|
else {
|
|
389
|
-
const i = new
|
|
389
|
+
const i = new Ni(r, this), a = i.u(this.options);
|
|
390
390
|
i.p(t), this.T(a), this._$AH = i;
|
|
391
391
|
}
|
|
392
392
|
}
|
|
@@ -398,7 +398,7 @@ class Nt {
|
|
|
398
398
|
Ho(this._$AH) || (this._$AH = [], this._$AR());
|
|
399
399
|
const t = this._$AH;
|
|
400
400
|
let o, r = 0;
|
|
401
|
-
for (const i of e) r === t.length ? t.push(o = new
|
|
401
|
+
for (const i of e) r === t.length ? t.push(o = new qt(this.O(kr()), this.O(kr()), this, this.options)) : o = t[r], o._$AI(i), r++;
|
|
402
402
|
r < t.length && (this._$AR(o && o._$AB.nextSibling, r), t.length = r);
|
|
403
403
|
}
|
|
404
404
|
_$AR(e = this._$AA.nextSibling, t) {
|
|
@@ -476,14 +476,14 @@ 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: qi, R: Ni, D: Bi, V: dt, I: qt, H: zr, N: Vi, U: Hi, B: Ui, F: Ki }, Ga = No.litHtmlPolyfillSupport;
|
|
480
|
+
Ga?.($r, qt), (No.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$;
|
|
484
484
|
if (r === void 0) {
|
|
485
485
|
const i = t?.renderBefore ?? null;
|
|
486
|
-
o._$litPart$ = r = new
|
|
486
|
+
o._$litPart$ = r = new qt(e.insertBefore(kr(), i), i, void 0, t ?? {});
|
|
487
487
|
}
|
|
488
488
|
return r._$AI(n), r;
|
|
489
489
|
};
|
|
@@ -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: qo }, 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);
|
|
@@ -630,11 +630,11 @@ function B(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>', 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="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>', 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(qs), ma = S(Ns), 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,16 +2751,16 @@ 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
|
};
|
|
2746
|
-
class
|
|
2763
|
+
class Nt extends g {
|
|
2747
2764
|
constructor() {
|
|
2748
2765
|
super(...arguments), this.nodes = [], this.selectable = !1, this.activeId = "", this.labels = {}, this.expandedIds = /* @__PURE__ */ new Set(), this.seeded = !1;
|
|
2749
2766
|
}
|
|
@@ -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) {
|
|
@@ -2955,26 +2972,26 @@ class qt extends g {
|
|
|
2955
2972
|
}
|
|
2956
2973
|
Sr([
|
|
2957
2974
|
l({ attribute: !1 })
|
|
2958
|
-
],
|
|
2975
|
+
], Nt.prototype, "nodes", 2);
|
|
2959
2976
|
Sr([
|
|
2960
2977
|
l({ type: Boolean })
|
|
2961
|
-
],
|
|
2978
|
+
], Nt.prototype, "selectable", 2);
|
|
2962
2979
|
Sr([
|
|
2963
2980
|
l({ attribute: "active-id" })
|
|
2964
|
-
],
|
|
2981
|
+
], Nt.prototype, "activeId", 2);
|
|
2965
2982
|
Sr([
|
|
2966
2983
|
l({ attribute: !1 })
|
|
2967
|
-
],
|
|
2984
|
+
], Nt.prototype, "labels", 2);
|
|
2968
2985
|
Sr([
|
|
2969
2986
|
v()
|
|
2970
|
-
],
|
|
2971
|
-
k("ok-tree",
|
|
2972
|
-
var
|
|
2973
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
2987
|
+
], Nt.prototype, "expandedIds", 2);
|
|
2988
|
+
k("ok-tree", Nt);
|
|
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, qn = Object.getOwnPropertyDescriptor, vt = (n, e, t, o) => {
|
|
4348
|
+
for (var r = o > 1 ? void 0 : o ? qn(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 Nn = {
|
|
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 { ...Nn, ...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,16 +6038,16 @@ 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
|
};
|
|
6033
|
-
class
|
|
6050
|
+
class qe extends g {
|
|
6034
6051
|
constructor() {
|
|
6035
6052
|
super(...arguments), this.value = [], this.placeholder = "", this.labels = {}, this.draft = "", this.open = !1, this.activeIndex = -1, this.onDocClick = (e) => {
|
|
6036
6053
|
this.open && (e.composedPath().includes(this) || this.close());
|
|
@@ -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() {
|
|
@@ -6311,32 +6328,32 @@ class Ne extends g {
|
|
|
6311
6328
|
}
|
|
6312
6329
|
gt([
|
|
6313
6330
|
l({ attribute: !1 })
|
|
6314
|
-
],
|
|
6331
|
+
], qe.prototype, "value", 2);
|
|
6315
6332
|
gt([
|
|
6316
6333
|
l()
|
|
6317
|
-
],
|
|
6334
|
+
], qe.prototype, "placeholder", 2);
|
|
6318
6335
|
gt([
|
|
6319
6336
|
l({ attribute: !1 })
|
|
6320
|
-
],
|
|
6337
|
+
], qe.prototype, "suggestions", 2);
|
|
6321
6338
|
gt([
|
|
6322
6339
|
l({ attribute: !1 })
|
|
6323
|
-
],
|
|
6340
|
+
], qe.prototype, "labels", 2);
|
|
6324
6341
|
gt([
|
|
6325
6342
|
v()
|
|
6326
|
-
],
|
|
6343
|
+
], qe.prototype, "draft", 2);
|
|
6327
6344
|
gt([
|
|
6328
6345
|
v()
|
|
6329
|
-
],
|
|
6346
|
+
], qe.prototype, "open", 2);
|
|
6330
6347
|
gt([
|
|
6331
6348
|
v()
|
|
6332
|
-
],
|
|
6333
|
-
k("ok-tag-input",
|
|
6334
|
-
var
|
|
6335
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
6349
|
+
], qe.prototype, "activeIndex", 2);
|
|
6350
|
+
k("ok-tag-input", qe);
|
|
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() {
|
|
@@ -6672,12 +6689,12 @@ 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, Ne = (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) {
|
|
@@ -6859,35 +6876,35 @@ class xe extends g {
|
|
|
6859
6876
|
`;
|
|
6860
6877
|
}
|
|
6861
6878
|
}
|
|
6862
|
-
|
|
6879
|
+
Ne([
|
|
6863
6880
|
l({ type: String })
|
|
6864
6881
|
], xe.prototype, "value", 2);
|
|
6865
|
-
|
|
6882
|
+
Ne([
|
|
6866
6883
|
l({ type: Number })
|
|
6867
6884
|
], xe.prototype, "length", 2);
|
|
6868
|
-
|
|
6885
|
+
Ne([
|
|
6869
6886
|
l({ type: Boolean })
|
|
6870
6887
|
], xe.prototype, "masked", 2);
|
|
6871
|
-
|
|
6888
|
+
Ne([
|
|
6872
6889
|
l({ type: Boolean })
|
|
6873
6890
|
], xe.prototype, "dots", 2);
|
|
6874
|
-
|
|
6891
|
+
Ne([
|
|
6875
6892
|
l({ type: Boolean })
|
|
6876
6893
|
], xe.prototype, "error", 2);
|
|
6877
|
-
|
|
6894
|
+
Ne([
|
|
6878
6895
|
l({ type: String, attribute: "secondary-icon" })
|
|
6879
6896
|
], xe.prototype, "secondaryIcon", 2);
|
|
6880
|
-
|
|
6897
|
+
Ne([
|
|
6881
6898
|
l({ type: String, attribute: "secondary-label" })
|
|
6882
6899
|
], xe.prototype, "secondaryLabel", 2);
|
|
6883
|
-
|
|
6900
|
+
Ne([
|
|
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) {
|
|
@@ -7561,10 +7578,10 @@ 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() {
|
|
@@ -7963,12 +7980,12 @@ $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();
|
|
@@ -9285,12 +9302,12 @@ 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);
|
|
@@ -9481,10 +9498,10 @@ 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 ql(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 Nl(n, e) {
|
|
9527
|
+
const t = ql(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;
|
|
@@ -9777,9 +9794,9 @@ function Xl(n, e, t) {
|
|
|
9777
9794
|
p.put(f[x], 8), x ^= 1;
|
|
9778
9795
|
const $ = new Uint8Array(c);
|
|
9779
9796
|
for (let D = 0; D < c; D++) {
|
|
9780
|
-
let
|
|
9781
|
-
for (let zo = 0; zo < 8; zo++)
|
|
9782
|
-
$[D] =
|
|
9797
|
+
let N = 0;
|
|
9798
|
+
for (let zo = 0; zo < 8; zo++) N = N << 1 | p.bits[D * 8 + zo];
|
|
9799
|
+
$[D] = N;
|
|
9783
9800
|
}
|
|
9784
9801
|
const M = [], w = [];
|
|
9785
9802
|
let C = 0;
|
|
@@ -9787,19 +9804,19 @@ function Xl(n, e, t) {
|
|
|
9787
9804
|
for (let D = 0; D < r[1]; D++) E.push([r[2]]);
|
|
9788
9805
|
for (let D = 0; D < r[3]; D++) E.push([r[4]]);
|
|
9789
9806
|
for (const [D] of E) {
|
|
9790
|
-
const
|
|
9791
|
-
C += D, M.push(
|
|
9807
|
+
const N = $.slice(C, C + D);
|
|
9808
|
+
C += D, M.push(N), w.push(Nl(N, i));
|
|
9792
9809
|
}
|
|
9793
9810
|
const P = new Uint8Array(o);
|
|
9794
9811
|
let j = 0;
|
|
9795
9812
|
const K = Math.max(...M.map((D) => D.length));
|
|
9796
9813
|
for (let D = 0; D < K; D++)
|
|
9797
|
-
for (const
|
|
9814
|
+
for (const N of M) D < N.length && (P[j++] = N[D]);
|
|
9798
9815
|
for (let D = 0; D < i; D++)
|
|
9799
|
-
for (const
|
|
9816
|
+
for (const N of w) P[j++] = N[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) => {
|
|
@@ -9807,8 +9824,8 @@ function Gl(n, e, t) {
|
|
|
9807
9824
|
for (let P = -1; P <= 7; P++) {
|
|
9808
9825
|
const j = w + E, K = C + P;
|
|
9809
9826
|
if (j < 0 || j >= o || K < 0 || K >= o) continue;
|
|
9810
|
-
const D = E >= 0 && E <= 6 && (P === 0 || P === 6) || P >= 0 && P <= 6 && (E === 0 || E === 6),
|
|
9811
|
-
a(j, K, D ||
|
|
9827
|
+
const D = E >= 0 && E <= 6 && (P === 0 || P === 6) || P >= 0 && P <= 6 && (E === 0 || E === 6), N = E >= 2 && E <= 4 && P >= 2 && P <= 4;
|
|
9828
|
+
a(j, K, D || N ? 1 : 0);
|
|
9812
9829
|
}
|
|
9813
9830
|
};
|
|
9814
9831
|
d(0, 0), d(0, o - 7), d(o - 7, 0);
|
|
@@ -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() {
|
|
@@ -10278,12 +10295,12 @@ $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() {
|
|
@@ -10600,12 +10617,12 @@ 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.",
|
|
@@ -11015,10 +11032,41 @@ class vo extends g {
|
|
|
11015
11032
|
.qr-note { font-size: 8px; max-width: 36mm; text-align: center; color: var(--muted); word-break: break-word; }
|
|
11016
11033
|
.legal { margin-top: 8mm; padding-top: 3mm; border-top: 1px solid var(--rule); font-size: 9px; color: var(--muted); white-space: pre-line; text-align: center; }
|
|
11017
11034
|
.empty { padding: 12mm; text-align: center; color: #999; font-style: italic; }
|
|
11035
|
+
|
|
11036
|
+
/* ── Papel ──────────────────────────────────────────────────────────────────────────────
|
|
11037
|
+
Una factura es un documento fiscal: acaba impresa, y en pantalla y en papel no se
|
|
11038
|
+
comporta igual. Lo que hay aquí resuelve lo que rompe al imprimir.
|
|
11039
|
+
|
|
11040
|
+
NOTA: aquí NO va \`@page\` (tamaño y márgenes del folio). Es una at-rule de DOCUMENTO y
|
|
11041
|
+
dentro de un shadow root se IGNORA en silencio; la pone quien monta el documento —en el
|
|
11042
|
+
Hub, \`lib/print.ts\` al escribir el iframe aislado. */
|
|
11043
|
+
@media print {
|
|
11044
|
+
.sheet {
|
|
11045
|
+
/* En papel el ancho lo manda \`@page\`; forzar 210mm aquí provoca una segunda página
|
|
11046
|
+
en blanco cuando el navegador ya ha restado los márgenes. */
|
|
11047
|
+
width: auto;
|
|
11048
|
+
max-width: none;
|
|
11049
|
+
padding: 0;
|
|
11050
|
+
}
|
|
11051
|
+
/* Fondos y sombras: en pantalla ayudan a leer, en papel gastan tóner y salen sucios en
|
|
11052
|
+
láser monocroma. Se sustituye el relleno del bloque de receptor por un filete. */
|
|
11053
|
+
.bill-to {
|
|
11054
|
+
background: transparent;
|
|
11055
|
+
border: 1px solid var(--rule);
|
|
11056
|
+
}
|
|
11057
|
+
/* Que las cabeceras de la tabla se repitan en cada folio: una factura larga sin esto deja
|
|
11058
|
+
las columnas sin rotular a partir de la página 2. */
|
|
11059
|
+
table.lines thead { display: table-header-group; }
|
|
11060
|
+
table.lines tbody tr { break-inside: avoid; page-break-inside: avoid; }
|
|
11061
|
+
/* Los bloques que se leen como una unidad no se parten a la mitad. */
|
|
11062
|
+
.summary, .foot, .legal, .bill-to { break-inside: avoid; page-break-inside: avoid; }
|
|
11063
|
+
/* El total y el QR son lo que se comprueba de un vistazo: no deben quedar huérfanos. */
|
|
11064
|
+
.summary { break-before: avoid; page-break-before: avoid; }
|
|
11065
|
+
}
|
|
11018
11066
|
`;
|
|
11019
11067
|
}
|
|
11020
11068
|
get t() {
|
|
11021
|
-
return { ...
|
|
11069
|
+
return { ...bc, ...this.labels };
|
|
11022
11070
|
}
|
|
11023
11071
|
cur() {
|
|
11024
11072
|
return this.invoice?.currency ?? "€";
|
|
@@ -11132,10 +11180,10 @@ ni([
|
|
|
11132
11180
|
l({ attribute: !1 })
|
|
11133
11181
|
], vo.prototype, "labels", 2);
|
|
11134
11182
|
k("ok-invoice", vo);
|
|
11135
|
-
var
|
|
11136
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
11183
|
+
var fc = Object.defineProperty, gc = Object.getOwnPropertyDescriptor, Da = (n, e, t, o) => {
|
|
11184
|
+
for (var r = o > 1 ? void 0 : o ? gc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
11137
11185
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
11138
|
-
return o && r &&
|
|
11186
|
+
return o && r && fc(e, t, r), r;
|
|
11139
11187
|
};
|
|
11140
11188
|
class li extends g {
|
|
11141
11189
|
constructor() {
|
|
@@ -11360,19 +11408,19 @@ class li extends g {
|
|
|
11360
11408
|
</ul>`;
|
|
11361
11409
|
}
|
|
11362
11410
|
}
|
|
11363
|
-
|
|
11411
|
+
Da([
|
|
11364
11412
|
l({ attribute: !1 })
|
|
11365
11413
|
], li.prototype, "items", 2);
|
|
11366
|
-
|
|
11414
|
+
Da([
|
|
11367
11415
|
l()
|
|
11368
11416
|
], li.prototype, "align", 2);
|
|
11369
11417
|
k("ok-timeline", li);
|
|
11370
|
-
var
|
|
11371
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
11418
|
+
var xc = Object.defineProperty, yc = Object.getOwnPropertyDescriptor, Xt = (n, e, t, o) => {
|
|
11419
|
+
for (var r = o > 1 ? void 0 : o ? yc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
11372
11420
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
11373
|
-
return o && r &&
|
|
11421
|
+
return o && r && xc(e, t, r), r;
|
|
11374
11422
|
};
|
|
11375
|
-
const
|
|
11423
|
+
const kc = {
|
|
11376
11424
|
decrement: "Decrease",
|
|
11377
11425
|
increment: "Increase"
|
|
11378
11426
|
};
|
|
@@ -11456,7 +11504,7 @@ class St extends g {
|
|
|
11456
11504
|
}
|
|
11457
11505
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
11458
11506
|
get t() {
|
|
11459
|
-
return { ...
|
|
11507
|
+
return { ...kc, ...this.labels };
|
|
11460
11508
|
}
|
|
11461
11509
|
// Recorta `n` al rango [min, max] respetando los límites definidos.
|
|
11462
11510
|
clamp(e) {
|
|
@@ -11550,12 +11598,12 @@ Xt([
|
|
|
11550
11598
|
l({ attribute: !1 })
|
|
11551
11599
|
], St.prototype, "labels", 2);
|
|
11552
11600
|
k("ok-qty-stepper", St);
|
|
11553
|
-
var
|
|
11554
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
11601
|
+
var wc = Object.defineProperty, $c = Object.getOwnPropertyDescriptor, Xe = (n, e, t, o) => {
|
|
11602
|
+
for (var r = o > 1 ? void 0 : o ? $c(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
11555
11603
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
11556
|
-
return o && r &&
|
|
11604
|
+
return o && r && wc(e, t, r), r;
|
|
11557
11605
|
};
|
|
11558
|
-
const
|
|
11606
|
+
const Cc = {
|
|
11559
11607
|
searchPlaceholder: "Search command…",
|
|
11560
11608
|
dialogLabel: "Command palette",
|
|
11561
11609
|
escHint: "Esc",
|
|
@@ -11778,7 +11826,7 @@ class Ce extends g {
|
|
|
11778
11826
|
}
|
|
11779
11827
|
/** Textos efectivos (defaults inglés + overrides). */
|
|
11780
11828
|
get t() {
|
|
11781
|
-
return { ...
|
|
11829
|
+
return { ...Cc, ...this.labels };
|
|
11782
11830
|
}
|
|
11783
11831
|
/** Placeholder efectivo: prop explícita o el de labels. */
|
|
11784
11832
|
get effectivePlaceholder() {
|
|
@@ -11952,10 +12000,10 @@ Xe([
|
|
|
11952
12000
|
B(".search input")
|
|
11953
12001
|
], Ce.prototype, "searchInput", 2);
|
|
11954
12002
|
k("ok-command-palette", Ce);
|
|
11955
|
-
var
|
|
11956
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
12003
|
+
var zc = Object.defineProperty, _c = Object.getOwnPropertyDescriptor, Gt = (n, e, t, o) => {
|
|
12004
|
+
for (var r = o > 1 ? void 0 : o ? _c(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
11957
12005
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
11958
|
-
return o && r &&
|
|
12006
|
+
return o && r && zc(e, t, r), r;
|
|
11959
12007
|
};
|
|
11960
12008
|
class Et extends g {
|
|
11961
12009
|
constructor() {
|
|
@@ -12134,12 +12182,12 @@ Gt([
|
|
|
12134
12182
|
B(".top input")
|
|
12135
12183
|
], Et.prototype, "input", 2);
|
|
12136
12184
|
k("ok-spotlight-search", Et);
|
|
12137
|
-
var
|
|
12138
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
12185
|
+
var Sc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor, ze = (n, e, t, o) => {
|
|
12186
|
+
for (var r = o > 1 ? void 0 : o ? Ec(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
12139
12187
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
12140
|
-
return o && r &&
|
|
12188
|
+
return o && r && Sc(e, t, r), r;
|
|
12141
12189
|
};
|
|
12142
|
-
const
|
|
12190
|
+
const Pc = [
|
|
12143
12191
|
"#3880ff",
|
|
12144
12192
|
// primary
|
|
12145
12193
|
"#3dc2ff",
|
|
@@ -12200,14 +12248,14 @@ function Mo(n) {
|
|
|
12200
12248
|
const e = Zr(n);
|
|
12201
12249
|
return e ? gr(e) : null;
|
|
12202
12250
|
}
|
|
12203
|
-
const
|
|
12251
|
+
const Oc = {
|
|
12204
12252
|
triggerLabel: "Select color",
|
|
12205
12253
|
panelLabel: "Color picker",
|
|
12206
12254
|
hexLabel: "Hex value"
|
|
12207
12255
|
};
|
|
12208
12256
|
class le extends g {
|
|
12209
12257
|
constructor() {
|
|
12210
|
-
super(...arguments), this.value = "#3880ff", this.presets =
|
|
12258
|
+
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
12259
|
e.composedPath().includes(this) || this.close();
|
|
12212
12260
|
}, this.onKeydown = (e) => {
|
|
12213
12261
|
e.key === "Escape" && this.close();
|
|
@@ -12418,7 +12466,7 @@ class le extends g {
|
|
|
12418
12466
|
}
|
|
12419
12467
|
// Textos efectivos: defaults inglés sobreescritos por los pasados desde fuera.
|
|
12420
12468
|
get t() {
|
|
12421
|
-
return { ...
|
|
12469
|
+
return { ...Oc, ...this.labels };
|
|
12422
12470
|
}
|
|
12423
12471
|
// Sincroniza el estado HSV interno desde la prop `value` (al conectar y en cambios externos).
|
|
12424
12472
|
syncFromValue() {
|
|
@@ -12605,10 +12653,10 @@ ze([
|
|
|
12605
12653
|
v()
|
|
12606
12654
|
], le.prototype, "hexInvalid", 2);
|
|
12607
12655
|
k("ok-color-picker", le);
|
|
12608
|
-
var
|
|
12609
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
12656
|
+
var Mc = Object.defineProperty, Ac = Object.getOwnPropertyDescriptor, _e = (n, e, t, o) => {
|
|
12657
|
+
for (var r = o > 1 ? void 0 : o ? Ac(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
12610
12658
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
12611
|
-
return o && r &&
|
|
12659
|
+
return o && r && Mc(e, t, r), r;
|
|
12612
12660
|
};
|
|
12613
12661
|
class ce extends g {
|
|
12614
12662
|
constructor() {
|
|
@@ -12759,10 +12807,10 @@ _e([
|
|
|
12759
12807
|
v()
|
|
12760
12808
|
], ce.prototype, "imgFailed", 2);
|
|
12761
12809
|
k("ok-avatar", ce);
|
|
12762
|
-
var
|
|
12763
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
12810
|
+
var Dc = Object.defineProperty, jc = Object.getOwnPropertyDescriptor, Dr = (n, e, t, o) => {
|
|
12811
|
+
for (var r = o > 1 ? void 0 : o ? jc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
12764
12812
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
12765
|
-
return o && r &&
|
|
12813
|
+
return o && r && Dc(e, t, r), r;
|
|
12766
12814
|
};
|
|
12767
12815
|
class Zt extends g {
|
|
12768
12816
|
constructor() {
|
|
@@ -12869,10 +12917,10 @@ Dr([
|
|
|
12869
12917
|
l({ type: String, reflect: !0 })
|
|
12870
12918
|
], Zt.prototype, "size", 2);
|
|
12871
12919
|
k("ok-status-pill", Zt);
|
|
12872
|
-
var
|
|
12873
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
12920
|
+
var Lc = Object.defineProperty, Ic = Object.getOwnPropertyDescriptor, Ge = (n, e, t, o) => {
|
|
12921
|
+
for (var r = o > 1 ? void 0 : o ? Ic(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
12874
12922
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
12875
|
-
return o && r &&
|
|
12923
|
+
return o && r && Lc(e, t, r), r;
|
|
12876
12924
|
};
|
|
12877
12925
|
class Se extends g {
|
|
12878
12926
|
constructor() {
|
|
@@ -13053,10 +13101,10 @@ Ge([
|
|
|
13053
13101
|
v()
|
|
13054
13102
|
], Se.prototype, "hasExtra", 2);
|
|
13055
13103
|
k("ok-page-header", Se);
|
|
13056
|
-
var
|
|
13057
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13104
|
+
var Tc = Object.defineProperty, Bc = Object.getOwnPropertyDescriptor, ci = (n, e, t, o) => {
|
|
13105
|
+
for (var r = o > 1 ? void 0 : o ? Bc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13058
13106
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13059
|
-
return o && r &&
|
|
13107
|
+
return o && r && Tc(e, t, r), r;
|
|
13060
13108
|
};
|
|
13061
13109
|
class bo extends g {
|
|
13062
13110
|
constructor() {
|
|
@@ -13101,10 +13149,10 @@ ci([
|
|
|
13101
13149
|
l()
|
|
13102
13150
|
], bo.prototype, "gap", 2);
|
|
13103
13151
|
k("ok-bento", bo);
|
|
13104
|
-
var
|
|
13105
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13152
|
+
var Fc = Object.defineProperty, Rc = Object.getOwnPropertyDescriptor, Ee = (n, e, t, o) => {
|
|
13153
|
+
for (var r = o > 1 ? void 0 : o ? Rc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13106
13154
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13107
|
-
return o && r &&
|
|
13155
|
+
return o && r && Fc(e, t, r), r;
|
|
13108
13156
|
};
|
|
13109
13157
|
class de extends g {
|
|
13110
13158
|
constructor() {
|
|
@@ -13257,10 +13305,10 @@ Ee([
|
|
|
13257
13305
|
l()
|
|
13258
13306
|
], de.prototype, "heading", 2);
|
|
13259
13307
|
k("ok-bento-item", de);
|
|
13260
|
-
var
|
|
13261
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13308
|
+
var qc = Object.defineProperty, Nc = Object.getOwnPropertyDescriptor, di = (n, e, t, o) => {
|
|
13309
|
+
for (var r = o > 1 ? void 0 : o ? Nc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13262
13310
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13263
|
-
return o && r &&
|
|
13311
|
+
return o && r && qc(e, t, r), r;
|
|
13264
13312
|
};
|
|
13265
13313
|
class fo extends g {
|
|
13266
13314
|
constructor() {
|
|
@@ -13328,10 +13376,10 @@ di([
|
|
|
13328
13376
|
l({ type: Boolean })
|
|
13329
13377
|
], fo.prototype, "once", 2);
|
|
13330
13378
|
k("ok-reveal", fo);
|
|
13331
|
-
var
|
|
13332
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13379
|
+
var Uc = Object.defineProperty, Vc = Object.getOwnPropertyDescriptor, jr = (n, e, t, o) => {
|
|
13380
|
+
for (var r = o > 1 ? void 0 : o ? Vc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13333
13381
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13334
|
-
return o && r &&
|
|
13382
|
+
return o && r && Uc(e, t, r), r;
|
|
13335
13383
|
};
|
|
13336
13384
|
class Qt extends g {
|
|
13337
13385
|
constructor() {
|
|
@@ -13468,12 +13516,12 @@ jr([
|
|
|
13468
13516
|
l({ type: Boolean, reflect: !0 })
|
|
13469
13517
|
], Qt.prototype, "glass", 2);
|
|
13470
13518
|
k("ok-feature-card", Qt);
|
|
13471
|
-
var
|
|
13472
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13519
|
+
var Hc = Object.defineProperty, Kc = Object.getOwnPropertyDescriptor, Ze = (n, e, t, o) => {
|
|
13520
|
+
for (var r = o > 1 ? void 0 : o ? Kc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13473
13521
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13474
|
-
return o && r &&
|
|
13522
|
+
return o && r && Hc(e, t, r), r;
|
|
13475
13523
|
};
|
|
13476
|
-
const
|
|
13524
|
+
const Yc = {
|
|
13477
13525
|
popular: "Popular"
|
|
13478
13526
|
};
|
|
13479
13527
|
class Pe extends g {
|
|
@@ -13592,7 +13640,7 @@ class Pe extends g {
|
|
|
13592
13640
|
`;
|
|
13593
13641
|
}
|
|
13594
13642
|
get t() {
|
|
13595
|
-
return { ...
|
|
13643
|
+
return { ...Yc, ...this.labels };
|
|
13596
13644
|
}
|
|
13597
13645
|
render() {
|
|
13598
13646
|
const e = this.badge ?? (this.featured ? this.t.popular : "");
|
|
@@ -13638,10 +13686,10 @@ Ze([
|
|
|
13638
13686
|
l({ attribute: !1 })
|
|
13639
13687
|
], Pe.prototype, "labels", 2);
|
|
13640
13688
|
k("ok-pricing-card", Pe);
|
|
13641
|
-
var
|
|
13642
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13689
|
+
var Wc = Object.defineProperty, Xc = Object.getOwnPropertyDescriptor, Jt = (n, e, t, o) => {
|
|
13690
|
+
for (var r = o > 1 ? void 0 : o ? Xc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13643
13691
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13644
|
-
return o && r &&
|
|
13692
|
+
return o && r && Wc(e, t, r), r;
|
|
13645
13693
|
};
|
|
13646
13694
|
class Pt extends g {
|
|
13647
13695
|
static {
|
|
@@ -13805,10 +13853,10 @@ Jt([
|
|
|
13805
13853
|
l()
|
|
13806
13854
|
], Pt.prototype, "href", 2);
|
|
13807
13855
|
k("ok-product-card", Pt);
|
|
13808
|
-
var
|
|
13809
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13856
|
+
var Gc = Object.defineProperty, Zc = Object.getOwnPropertyDescriptor, ja = (n, e, t, o) => {
|
|
13857
|
+
for (var r = o > 1 ? void 0 : o ? Zc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13810
13858
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13811
|
-
return o && r &&
|
|
13859
|
+
return o && r && Gc(e, t, r), r;
|
|
13812
13860
|
};
|
|
13813
13861
|
class pi extends g {
|
|
13814
13862
|
constructor() {
|
|
@@ -13879,17 +13927,17 @@ class pi extends g {
|
|
|
13879
13927
|
`;
|
|
13880
13928
|
}
|
|
13881
13929
|
}
|
|
13882
|
-
|
|
13930
|
+
ja([
|
|
13883
13931
|
l()
|
|
13884
13932
|
], pi.prototype, "label", 2);
|
|
13885
|
-
|
|
13933
|
+
ja([
|
|
13886
13934
|
l({ type: Boolean, reflect: !0 })
|
|
13887
13935
|
], pi.prototype, "marquee", 2);
|
|
13888
13936
|
k("ok-logo-cloud", pi);
|
|
13889
|
-
var
|
|
13890
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13937
|
+
var Qc = Object.defineProperty, Jc = Object.getOwnPropertyDescriptor, Lr = (n, e, t, o) => {
|
|
13938
|
+
for (var r = o > 1 ? void 0 : o ? Jc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13891
13939
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13892
|
-
return o && r &&
|
|
13940
|
+
return o && r && Qc(e, t, r), r;
|
|
13893
13941
|
};
|
|
13894
13942
|
class er extends g {
|
|
13895
13943
|
constructor() {
|
|
@@ -14009,10 +14057,10 @@ Lr([
|
|
|
14009
14057
|
l({ type: Boolean, reflect: !0 })
|
|
14010
14058
|
], er.prototype, "glass", 2);
|
|
14011
14059
|
k("ok-testimonial", er);
|
|
14012
|
-
var
|
|
14013
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14060
|
+
var ed = Object.defineProperty, td = Object.getOwnPropertyDescriptor, go = (n, e, t, o) => {
|
|
14061
|
+
for (var r = o > 1 ? void 0 : o ? td(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14014
14062
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14015
|
-
return o && r &&
|
|
14063
|
+
return o && r && ed(e, t, r), r;
|
|
14016
14064
|
};
|
|
14017
14065
|
class Ir extends g {
|
|
14018
14066
|
constructor() {
|
|
@@ -14164,12 +14212,12 @@ go([
|
|
|
14164
14212
|
l({ reflect: !0 })
|
|
14165
14213
|
], Ir.prototype, "variant", 2);
|
|
14166
14214
|
k("ok-cta-band", Ir);
|
|
14167
|
-
var
|
|
14168
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14215
|
+
var rd = Object.defineProperty, od = Object.getOwnPropertyDescriptor, xo = (n, e, t, o) => {
|
|
14216
|
+
for (var r = o > 1 ? void 0 : o ? od(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14169
14217
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14170
|
-
return o && r &&
|
|
14218
|
+
return o && r && rd(e, t, r), r;
|
|
14171
14219
|
};
|
|
14172
|
-
const
|
|
14220
|
+
const id = {
|
|
14173
14221
|
language: "Language"
|
|
14174
14222
|
};
|
|
14175
14223
|
class Tr extends g {
|
|
@@ -14263,7 +14311,7 @@ class Tr extends g {
|
|
|
14263
14311
|
`;
|
|
14264
14312
|
}
|
|
14265
14313
|
get t() {
|
|
14266
|
-
return { ...
|
|
14314
|
+
return { ...id, ...this.labels };
|
|
14267
14315
|
}
|
|
14268
14316
|
connectedCallback() {
|
|
14269
14317
|
super.connectedCallback(), document.addEventListener("click", this.onDocClick), document.addEventListener("keydown", this.onKeydown);
|
|
@@ -14328,17 +14376,17 @@ xo([
|
|
|
14328
14376
|
v()
|
|
14329
14377
|
], Tr.prototype, "currentLabel", 2);
|
|
14330
14378
|
k("ok-language-select", Tr);
|
|
14331
|
-
var
|
|
14332
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14379
|
+
var ad = Object.defineProperty, sd = Object.getOwnPropertyDescriptor, Br = (n, e, t, o) => {
|
|
14380
|
+
for (var r = o > 1 ? void 0 : o ? sd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14333
14381
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14334
|
-
return o && r &&
|
|
14382
|
+
return o && r && ad(e, t, r), r;
|
|
14335
14383
|
};
|
|
14336
|
-
const
|
|
14384
|
+
const nd = {
|
|
14337
14385
|
menu: "Menu",
|
|
14338
14386
|
close: "Close"
|
|
14339
|
-
},
|
|
14387
|
+
}, ld = "(max-width: 800px)";
|
|
14340
14388
|
let Ai = !1;
|
|
14341
|
-
function
|
|
14389
|
+
function cd() {
|
|
14342
14390
|
if (Ai) return;
|
|
14343
14391
|
Ai = !0;
|
|
14344
14392
|
const n = new CSSStyleSheet();
|
|
@@ -14515,10 +14563,10 @@ class tr extends g {
|
|
|
14515
14563
|
`;
|
|
14516
14564
|
}
|
|
14517
14565
|
get t() {
|
|
14518
|
-
return { ...
|
|
14566
|
+
return { ...nd, ...this.labels };
|
|
14519
14567
|
}
|
|
14520
14568
|
connectedCallback() {
|
|
14521
|
-
super.connectedCallback(), this.mq = window.matchMedia(
|
|
14569
|
+
super.connectedCallback(), this.mq = window.matchMedia(ld), this.isMobile = this.mq.matches, this.mq.addEventListener("change", this.onMqChange);
|
|
14522
14570
|
}
|
|
14523
14571
|
disconnectedCallback() {
|
|
14524
14572
|
super.disconnectedCallback(), this.mq?.removeEventListener("change", this.onMqChange), this.mq = null, this.restoreNodes(), this.modal?.remove(), this.modal = null;
|
|
@@ -14546,7 +14594,7 @@ class tr extends g {
|
|
|
14546
14594
|
}
|
|
14547
14595
|
async presentPanel() {
|
|
14548
14596
|
if (this.isMobile) {
|
|
14549
|
-
if (
|
|
14597
|
+
if (cd(), this.modal || (this.modal = this.buildModal()), this.movedNodes.length === 0 && this.linksHost && this.actionsHost)
|
|
14550
14598
|
for (const e of Array.from(this.children)) {
|
|
14551
14599
|
const t = e.getAttribute("slot");
|
|
14552
14600
|
t !== "brand" && (this.movedNodes.push(e), (t === "actions" ? this.actionsHost : this.linksHost).appendChild(e));
|
|
@@ -14599,7 +14647,7 @@ Br([
|
|
|
14599
14647
|
v()
|
|
14600
14648
|
], tr.prototype, "isMobile", 2);
|
|
14601
14649
|
k("ok-navbar", tr);
|
|
14602
|
-
class
|
|
14650
|
+
class dd extends g {
|
|
14603
14651
|
static {
|
|
14604
14652
|
this.styles = y`
|
|
14605
14653
|
:host {
|
|
@@ -14660,11 +14708,11 @@ class ld extends g {
|
|
|
14660
14708
|
`;
|
|
14661
14709
|
}
|
|
14662
14710
|
}
|
|
14663
|
-
k("ok-footer",
|
|
14664
|
-
var
|
|
14665
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14711
|
+
k("ok-footer", dd);
|
|
14712
|
+
var pd = Object.defineProperty, hd = Object.getOwnPropertyDescriptor, rr = (n, e, t, o) => {
|
|
14713
|
+
for (var r = o > 1 ? void 0 : o ? hd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14666
14714
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14667
|
-
return o && r &&
|
|
14715
|
+
return o && r && pd(e, t, r), r;
|
|
14668
14716
|
};
|
|
14669
14717
|
class Ot extends g {
|
|
14670
14718
|
constructor() {
|
|
@@ -14873,10 +14921,10 @@ rr([
|
|
|
14873
14921
|
v()
|
|
14874
14922
|
], Ot.prototype, "hasMedia", 2);
|
|
14875
14923
|
k("ok-hero", Ot);
|
|
14876
|
-
var
|
|
14877
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14924
|
+
var ud = Object.defineProperty, md = Object.getOwnPropertyDescriptor, Oe = (n, e, t, o) => {
|
|
14925
|
+
for (var r = o > 1 ? void 0 : o ? md(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14878
14926
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14879
|
-
return o && r &&
|
|
14927
|
+
return o && r && ud(e, t, r), r;
|
|
14880
14928
|
};
|
|
14881
14929
|
class pe extends g {
|
|
14882
14930
|
constructor() {
|
|
@@ -15183,10 +15231,10 @@ Oe([
|
|
|
15183
15231
|
l()
|
|
15184
15232
|
], pe.prototype, "label", 2);
|
|
15185
15233
|
k("ok-pagination", pe);
|
|
15186
|
-
var
|
|
15187
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15234
|
+
var vd = Object.defineProperty, bd = Object.getOwnPropertyDescriptor, Z = (n, e, t, o) => {
|
|
15235
|
+
for (var r = o > 1 ? void 0 : o ? bd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
15188
15236
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
15189
|
-
return o && r &&
|
|
15237
|
+
return o && r && vd(e, t, r), r;
|
|
15190
15238
|
};
|
|
15191
15239
|
class Y extends g {
|
|
15192
15240
|
constructor() {
|
|
@@ -15516,10 +15564,10 @@ Z([
|
|
|
15516
15564
|
l()
|
|
15517
15565
|
], Y.prototype, "unit", 2);
|
|
15518
15566
|
k("ok-gauge", Y);
|
|
15519
|
-
var
|
|
15520
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15567
|
+
var fd = Object.defineProperty, gd = Object.getOwnPropertyDescriptor, Qe = (n, e, t, o) => {
|
|
15568
|
+
for (var r = o > 1 ? void 0 : o ? gd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
15521
15569
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
15522
|
-
return o && r &&
|
|
15570
|
+
return o && r && fd(e, t, r), r;
|
|
15523
15571
|
};
|
|
15524
15572
|
class Me extends g {
|
|
15525
15573
|
constructor() {
|
|
@@ -15783,10 +15831,10 @@ Qe([
|
|
|
15783
15831
|
l()
|
|
15784
15832
|
], Me.prototype, "endpointLabel", 2);
|
|
15785
15833
|
k("ok-chart", Me);
|
|
15786
|
-
var
|
|
15787
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15834
|
+
var xd = Object.defineProperty, yd = Object.getOwnPropertyDescriptor, Mt = (n, e, t, o) => {
|
|
15835
|
+
for (var r = o > 1 ? void 0 : o ? yd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
15788
15836
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
15789
|
-
return o && r &&
|
|
15837
|
+
return o && r && xd(e, t, r), r;
|
|
15790
15838
|
};
|
|
15791
15839
|
const Di = [
|
|
15792
15840
|
"var(--ok-primary, var(--ion-color-primary, #3880ff))",
|
|
@@ -16021,10 +16069,10 @@ Mt([
|
|
|
16021
16069
|
l({ attribute: "legend-side" })
|
|
16022
16070
|
], Je.prototype, "legendSide", 2);
|
|
16023
16071
|
k("ok-donut", Je);
|
|
16024
|
-
var
|
|
16025
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16072
|
+
var kd = Object.defineProperty, wd = Object.getOwnPropertyDescriptor, or = (n, e, t, o) => {
|
|
16073
|
+
for (var r = o > 1 ? void 0 : o ? wd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16026
16074
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16027
|
-
return o && r &&
|
|
16075
|
+
return o && r && kd(e, t, r), r;
|
|
16028
16076
|
};
|
|
16029
16077
|
const ji = [
|
|
16030
16078
|
"Ene",
|
|
@@ -16262,10 +16310,10 @@ or([
|
|
|
16262
16310
|
l({ type: Boolean })
|
|
16263
16311
|
], At.prototype, "legend", 2);
|
|
16264
16312
|
k("ok-heatmap", At);
|
|
16265
|
-
var
|
|
16266
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16313
|
+
var $d = Object.defineProperty, Cd = Object.getOwnPropertyDescriptor, hi = (n, e, t, o) => {
|
|
16314
|
+
for (var r = o > 1 ? void 0 : o ? Cd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16267
16315
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16268
|
-
return o && r &&
|
|
16316
|
+
return o && r && $d(e, t, r), r;
|
|
16269
16317
|
};
|
|
16270
16318
|
class yo extends g {
|
|
16271
16319
|
constructor() {
|
|
@@ -16424,12 +16472,12 @@ hi([
|
|
|
16424
16472
|
l({ type: Number, attribute: "min-width" })
|
|
16425
16473
|
], yo.prototype, "minWidth", 2);
|
|
16426
16474
|
k("ok-funnel", yo);
|
|
16427
|
-
var
|
|
16428
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16475
|
+
var zd = Object.defineProperty, _d = Object.getOwnPropertyDescriptor, Fr = (n, e, t, o) => {
|
|
16476
|
+
for (var r = o > 1 ? void 0 : o ? _d(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16429
16477
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16430
|
-
return o && r &&
|
|
16478
|
+
return o && r && zd(e, t, r), r;
|
|
16431
16479
|
};
|
|
16432
|
-
const
|
|
16480
|
+
const Sd = /* @__PURE__ */ new Set(["brand", "leaf", "warn", "info", "danger"]);
|
|
16433
16481
|
class ir extends g {
|
|
16434
16482
|
constructor() {
|
|
16435
16483
|
super(...arguments), this.items = [], this.valueFormat = "number", this.locale = "", this.currency = "EUR";
|
|
@@ -16530,7 +16578,7 @@ class ir extends g {
|
|
|
16530
16578
|
}
|
|
16531
16579
|
// Devuelve el background CSS del relleno según el color del ítem.
|
|
16532
16580
|
fillColor(e) {
|
|
16533
|
-
return e ?
|
|
16581
|
+
return e ? Sd.has(e) ? `var(--bar-${e})` : e : "var(--bar-brand)";
|
|
16534
16582
|
}
|
|
16535
16583
|
// Formatea el valor según value-format usando Intl nativo.
|
|
16536
16584
|
formatValue(e) {
|
|
@@ -16615,11 +16663,11 @@ class To extends Go {
|
|
|
16615
16663
|
}
|
|
16616
16664
|
}
|
|
16617
16665
|
To.directiveName = "unsafeHTML", To.resultType = 1;
|
|
16618
|
-
const
|
|
16619
|
-
var
|
|
16620
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16666
|
+
const Ed = Xo(To);
|
|
16667
|
+
var Pd = Object.defineProperty, Od = Object.getOwnPropertyDescriptor, ko = (n, e, t, o) => {
|
|
16668
|
+
for (var r = o > 1 ? void 0 : o ? Od(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16621
16669
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16622
|
-
return o && r &&
|
|
16670
|
+
return o && r && Pd(e, t, r), r;
|
|
16623
16671
|
};
|
|
16624
16672
|
class Rr extends g {
|
|
16625
16673
|
constructor() {
|
|
@@ -16717,7 +16765,7 @@ class Rr extends g {
|
|
|
16717
16765
|
}
|
|
16718
16766
|
renderValue(e) {
|
|
16719
16767
|
const t = e.value;
|
|
16720
|
-
return t == null || t === "" ? s`<dd class="value empty">${this.placeholder}</dd>` : e.html ? s`<dd class="value">${
|
|
16768
|
+
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
16769
|
}
|
|
16722
16770
|
render() {
|
|
16723
16771
|
const e = this.items ?? [];
|
|
@@ -16748,10 +16796,10 @@ ko([
|
|
|
16748
16796
|
l()
|
|
16749
16797
|
], Rr.prototype, "placeholder", 2);
|
|
16750
16798
|
k("ok-detail-list", Rr);
|
|
16751
|
-
var
|
|
16752
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16799
|
+
var Md = Object.defineProperty, Ad = Object.getOwnPropertyDescriptor, qr = (n, e, t, o) => {
|
|
16800
|
+
for (var r = o > 1 ? void 0 : o ? Ad(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16753
16801
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16754
|
-
return o && r &&
|
|
16802
|
+
return o && r && Md(e, t, r), r;
|
|
16755
16803
|
};
|
|
16756
16804
|
class ar extends g {
|
|
16757
16805
|
constructor() {
|
|
@@ -16836,26 +16884,26 @@ class ar extends g {
|
|
|
16836
16884
|
`;
|
|
16837
16885
|
}
|
|
16838
16886
|
}
|
|
16839
|
-
|
|
16887
|
+
qr([
|
|
16840
16888
|
l()
|
|
16841
16889
|
], ar.prototype, "icon", 2);
|
|
16842
|
-
|
|
16890
|
+
qr([
|
|
16843
16891
|
l({ reflect: !0 })
|
|
16844
16892
|
], ar.prototype, "color", 2);
|
|
16845
|
-
|
|
16893
|
+
qr([
|
|
16846
16894
|
l({ reflect: !0 })
|
|
16847
16895
|
], ar.prototype, "size", 2);
|
|
16848
|
-
|
|
16896
|
+
qr([
|
|
16849
16897
|
l({ reflect: !0 })
|
|
16850
16898
|
], ar.prototype, "shape", 2);
|
|
16851
|
-
|
|
16899
|
+
qr([
|
|
16852
16900
|
l()
|
|
16853
16901
|
], ar.prototype, "label", 2);
|
|
16854
16902
|
k("ok-icon-tile", ar);
|
|
16855
|
-
var
|
|
16856
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16903
|
+
var Dd = Object.defineProperty, jd = Object.getOwnPropertyDescriptor, Nr = (n, e, t, o) => {
|
|
16904
|
+
for (var r = o > 1 ? void 0 : o ? jd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16857
16905
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16858
|
-
return o && r &&
|
|
16906
|
+
return o && r && Dd(e, t, r), r;
|
|
16859
16907
|
};
|
|
16860
16908
|
class sr extends g {
|
|
16861
16909
|
constructor() {
|
|
@@ -16984,28 +17032,28 @@ class sr extends g {
|
|
|
16984
17032
|
`;
|
|
16985
17033
|
}
|
|
16986
17034
|
}
|
|
16987
|
-
|
|
17035
|
+
Nr([
|
|
16988
17036
|
l({ reflect: !0 })
|
|
16989
17037
|
], sr.prototype, "tone", 2);
|
|
16990
|
-
|
|
17038
|
+
Nr([
|
|
16991
17039
|
l({ reflect: !0 })
|
|
16992
17040
|
], sr.prototype, "size", 2);
|
|
16993
|
-
|
|
17041
|
+
Nr([
|
|
16994
17042
|
l({ type: Boolean, reflect: !0 })
|
|
16995
17043
|
], sr.prototype, "pulse", 2);
|
|
16996
|
-
|
|
17044
|
+
Nr([
|
|
16997
17045
|
l()
|
|
16998
17046
|
], sr.prototype, "label", 2);
|
|
16999
|
-
|
|
17047
|
+
Nr([
|
|
17000
17048
|
l({ type: Boolean, attribute: "show-label" })
|
|
17001
17049
|
], sr.prototype, "showLabel", 2);
|
|
17002
17050
|
k("ok-status-dot", sr);
|
|
17003
|
-
var
|
|
17004
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
17051
|
+
var Ld = Object.defineProperty, Id = Object.getOwnPropertyDescriptor, ui = (n, e, t, o) => {
|
|
17052
|
+
for (var r = o > 1 ? void 0 : o ? Id(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
17005
17053
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
17006
|
-
return o && r &&
|
|
17054
|
+
return o && r && Ld(e, t, r), r;
|
|
17007
17055
|
};
|
|
17008
|
-
const
|
|
17056
|
+
const Td = /* @__PURE__ */ new Set(["cmd", "command", "ctrl", "control", "shift", "alt", "option", "opt", "meta", "win", "super"]), Bd = {
|
|
17009
17057
|
cmd: "⌘",
|
|
17010
17058
|
command: "⌘",
|
|
17011
17059
|
meta: "⌘",
|
|
@@ -17113,11 +17161,11 @@ class wo extends g {
|
|
|
17113
17161
|
}
|
|
17114
17162
|
// ¿Es una tecla modificadora?
|
|
17115
17163
|
isMod(e) {
|
|
17116
|
-
return
|
|
17164
|
+
return Td.has(e.toLowerCase());
|
|
17117
17165
|
}
|
|
17118
17166
|
// Etiqueta visible: glifo bonito si existe, si no la tecla tal cual (en mayúscula si es 1 char).
|
|
17119
17167
|
label(e) {
|
|
17120
|
-
const t =
|
|
17168
|
+
const t = Bd[e.toLowerCase()];
|
|
17121
17169
|
return t || (e.length === 1 ? e.toUpperCase() : e);
|
|
17122
17170
|
}
|
|
17123
17171
|
render() {
|
|
@@ -17142,14 +17190,14 @@ ui([
|
|
|
17142
17190
|
l({ type: Boolean })
|
|
17143
17191
|
], wo.prototype, "combo", 2);
|
|
17144
17192
|
k("ok-kbd", wo);
|
|
17145
|
-
function
|
|
17193
|
+
function La(n, e, t = {}) {
|
|
17146
17194
|
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
17195
|
return { end: u, above: h };
|
|
17148
17196
|
}
|
|
17149
|
-
var
|
|
17150
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
17197
|
+
var Fd = Object.defineProperty, Rd = Object.getOwnPropertyDescriptor, he = (n, e, t, o) => {
|
|
17198
|
+
for (var r = o > 1 ? void 0 : o ? Rd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
17151
17199
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
17152
|
-
return o && r &&
|
|
17200
|
+
return o && r && Fd(e, t, r), r;
|
|
17153
17201
|
};
|
|
17154
17202
|
class Q extends g {
|
|
17155
17203
|
constructor() {
|
|
@@ -17482,7 +17530,7 @@ class Q extends g {
|
|
|
17482
17530
|
if (this.trigger === "context") return;
|
|
17483
17531
|
const e = this.renderRoot.querySelector(".panel");
|
|
17484
17532
|
if (!e) return;
|
|
17485
|
-
const t =
|
|
17533
|
+
const t = La(this, e, { gap: 4 });
|
|
17486
17534
|
this.flipEnd = t.end, this.flipAbove = t.above;
|
|
17487
17535
|
}
|
|
17488
17536
|
// Activa una entrada hoja: emite ok-select y cierra. Submenús/divisores/secciones no aplican.
|
|
@@ -17592,12 +17640,12 @@ he([
|
|
|
17592
17640
|
v()
|
|
17593
17641
|
], Q.prototype, "openSub", 2);
|
|
17594
17642
|
k("ok-menu", Q);
|
|
17595
|
-
var
|
|
17596
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
17643
|
+
var qd = Object.defineProperty, Nd = Object.getOwnPropertyDescriptor, I = (n, e, t, o) => {
|
|
17644
|
+
for (var r = o > 1 ? void 0 : o ? Nd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
17597
17645
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
17598
|
-
return o && r &&
|
|
17646
|
+
return o && r && qd(e, t, r), r;
|
|
17599
17647
|
};
|
|
17600
|
-
const
|
|
17648
|
+
const Ud = {
|
|
17601
17649
|
card: "Preview"
|
|
17602
17650
|
};
|
|
17603
17651
|
class L extends g {
|
|
@@ -17823,7 +17871,7 @@ class L extends g {
|
|
|
17823
17871
|
}
|
|
17824
17872
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
17825
17873
|
get t() {
|
|
17826
|
-
return { ...
|
|
17874
|
+
return { ...Ud, ...this.labels };
|
|
17827
17875
|
}
|
|
17828
17876
|
disconnectedCallback() {
|
|
17829
17877
|
super.disconnectedCallback(), this.clearTimers();
|
|
@@ -17864,7 +17912,7 @@ class L extends g {
|
|
|
17864
17912
|
anchor() {
|
|
17865
17913
|
const e = this.triggerEl, t = this.cardEl;
|
|
17866
17914
|
if (!e || !t) return;
|
|
17867
|
-
const { end: o, above: r } =
|
|
17915
|
+
const { end: o, above: r } = La(e, t, { gap: 8, margin: 12 });
|
|
17868
17916
|
this.end = o, this.above = this.placement === "top" && !this.fitsBelow() || r;
|
|
17869
17917
|
}
|
|
17870
17918
|
// ¿Cabe la tarjeta debajo del disparador dentro del viewport?
|
|
@@ -18008,17 +18056,17 @@ I([
|
|
|
18008
18056
|
B(".trigger")
|
|
18009
18057
|
], L.prototype, "triggerEl", 2);
|
|
18010
18058
|
k("ok-hover-card", L);
|
|
18011
|
-
var
|
|
18012
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
18059
|
+
var Vd = Object.defineProperty, Hd = Object.getOwnPropertyDescriptor, nr = (n, e, t, o) => {
|
|
18060
|
+
for (var r = o > 1 ? void 0 : o ? Hd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
18013
18061
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
18014
|
-
return o && r &&
|
|
18062
|
+
return o && r && Vd(e, t, r), r;
|
|
18015
18063
|
};
|
|
18016
|
-
const
|
|
18064
|
+
const Kd = {
|
|
18017
18065
|
markAllRead: "Mark all read",
|
|
18018
18066
|
close: "Close",
|
|
18019
18067
|
emptyTitle: "All caught up",
|
|
18020
18068
|
emptyText: "No notifications to show."
|
|
18021
|
-
},
|
|
18069
|
+
}, 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
18070
|
class Dt extends g {
|
|
18023
18071
|
constructor() {
|
|
18024
18072
|
super(...arguments), this.items = [], this.filters = [], this.open = !1, this.title = "Notifications", this.labels = {}, this.onKeydown = (e) => {
|
|
@@ -18370,7 +18418,7 @@ class Dt extends g {
|
|
|
18370
18418
|
}
|
|
18371
18419
|
// Textos efectivos.
|
|
18372
18420
|
get t() {
|
|
18373
|
-
return { ...
|
|
18421
|
+
return { ...Kd, ...this.labels };
|
|
18374
18422
|
}
|
|
18375
18423
|
// Contador derivado de no-leídas.
|
|
18376
18424
|
get unreadCount() {
|
|
@@ -18418,7 +18466,7 @@ class Dt extends g {
|
|
|
18418
18466
|
);
|
|
18419
18467
|
}
|
|
18420
18468
|
renderAvatar(e) {
|
|
18421
|
-
const t = e.icon ??
|
|
18469
|
+
const t = e.icon ?? Yd;
|
|
18422
18470
|
return s`<span class="avatar ${e.variant ?? ""}" aria-hidden="true">
|
|
18423
18471
|
${this.isResolvedSvg(t) ? (
|
|
18424
18472
|
// SVG resuelto: lo pinta ion-icon vía prop `icon`.
|
|
@@ -18523,12 +18571,12 @@ nr([
|
|
|
18523
18571
|
l({ attribute: !1 })
|
|
18524
18572
|
], Dt.prototype, "labels", 2);
|
|
18525
18573
|
k("ok-notification-center", Dt);
|
|
18526
|
-
var
|
|
18527
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
18574
|
+
var Wd = Object.defineProperty, Xd = Object.getOwnPropertyDescriptor, lr = (n, e, t, o) => {
|
|
18575
|
+
for (var r = o > 1 ? void 0 : o ? Xd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
18528
18576
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
18529
|
-
return o && r &&
|
|
18577
|
+
return o && r && Wd(e, t, r), r;
|
|
18530
18578
|
};
|
|
18531
|
-
const
|
|
18579
|
+
const Gd = {
|
|
18532
18580
|
prev: "Back",
|
|
18533
18581
|
next: "Next",
|
|
18534
18582
|
finish: "Done",
|
|
@@ -18753,7 +18801,7 @@ class jt extends g {
|
|
|
18753
18801
|
}
|
|
18754
18802
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
18755
18803
|
get t() {
|
|
18756
|
-
return { ...
|
|
18804
|
+
return { ...Gd, ...this.labels };
|
|
18757
18805
|
}
|
|
18758
18806
|
get step() {
|
|
18759
18807
|
return this.steps[this.current];
|
|
@@ -18937,10 +18985,10 @@ lr([
|
|
|
18937
18985
|
v()
|
|
18938
18986
|
], jt.prototype, "bubble", 2);
|
|
18939
18987
|
k("ok-coachmark", jt);
|
|
18940
|
-
var
|
|
18941
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
18988
|
+
var Zd = Object.defineProperty, Qd = Object.getOwnPropertyDescriptor, et = (n, e, t, o) => {
|
|
18989
|
+
for (var r = o > 1 ? void 0 : o ? Qd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
18942
18990
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
18943
|
-
return o && r &&
|
|
18991
|
+
return o && r && Zd(e, t, r), r;
|
|
18944
18992
|
};
|
|
18945
18993
|
class Ae extends g {
|
|
18946
18994
|
constructor() {
|
|
@@ -19144,12 +19192,12 @@ et([
|
|
|
19144
19192
|
l()
|
|
19145
19193
|
], Ae.prototype, "icon", 2);
|
|
19146
19194
|
k("ok-select-card", Ae);
|
|
19147
|
-
var
|
|
19148
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
19195
|
+
var Jd = Object.defineProperty, ep = Object.getOwnPropertyDescriptor, Ur = (n, e, t, o) => {
|
|
19196
|
+
for (var r = o > 1 ? void 0 : o ? ep(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
19149
19197
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
19150
|
-
return o && r &&
|
|
19198
|
+
return o && r && Jd(e, t, r), r;
|
|
19151
19199
|
};
|
|
19152
|
-
const
|
|
19200
|
+
const tp = [
|
|
19153
19201
|
{ id: "erplora", label: "ERPlora", brand: "#1496D6" },
|
|
19154
19202
|
{ id: "terracotta", label: "Terracotta", brand: "#E8552A" },
|
|
19155
19203
|
{ id: "corporate", label: "Corporate", brand: "#0F3F9C" },
|
|
@@ -19158,7 +19206,7 @@ const Jd = [
|
|
|
19158
19206
|
{ id: "ocean", label: "Ocean", brand: "#008CBD" },
|
|
19159
19207
|
{ id: "violet", label: "Violet", brand: "#742AD9" }
|
|
19160
19208
|
];
|
|
19161
|
-
const
|
|
19209
|
+
const rp = {
|
|
19162
19210
|
palette: "Theme palette",
|
|
19163
19211
|
mode: "Appearance",
|
|
19164
19212
|
system: "System",
|
|
@@ -19167,7 +19215,7 @@ const ep = {
|
|
|
19167
19215
|
};
|
|
19168
19216
|
class cr extends g {
|
|
19169
19217
|
constructor() {
|
|
19170
|
-
super(...arguments), this.palette = "erplora", this.mode = "system", this.hideMode = !1, this.palettes =
|
|
19218
|
+
super(...arguments), this.palette = "erplora", this.mode = "system", this.hideMode = !1, this.palettes = tp, this.labels = {};
|
|
19171
19219
|
}
|
|
19172
19220
|
static {
|
|
19173
19221
|
this.styles = y`
|
|
@@ -19262,7 +19310,7 @@ class cr extends g {
|
|
|
19262
19310
|
`;
|
|
19263
19311
|
}
|
|
19264
19312
|
get t() {
|
|
19265
|
-
return { ...
|
|
19313
|
+
return { ...rp, ...this.labels };
|
|
19266
19314
|
}
|
|
19267
19315
|
emitChange() {
|
|
19268
19316
|
this.dispatchEvent(
|
|
@@ -19340,10 +19388,10 @@ Ur([
|
|
|
19340
19388
|
l({ attribute: !1 })
|
|
19341
19389
|
], cr.prototype, "labels", 2);
|
|
19342
19390
|
k("ok-theme-picker", cr);
|
|
19343
|
-
var
|
|
19344
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
19391
|
+
var op = Object.defineProperty, ip = Object.getOwnPropertyDescriptor, U = (n, e, t, o) => {
|
|
19392
|
+
for (var r = o > 1 ? void 0 : o ? ip(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
19345
19393
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
19346
|
-
return o && r &&
|
|
19394
|
+
return o && r && op(e, t, r), r;
|
|
19347
19395
|
};
|
|
19348
19396
|
class R extends g {
|
|
19349
19397
|
constructor() {
|
|
@@ -19847,10 +19895,10 @@ U([
|
|
|
19847
19895
|
v()
|
|
19848
19896
|
], R.prototype, "remaining", 2);
|
|
19849
19897
|
k("ok-error-page", R);
|
|
19850
|
-
var
|
|
19851
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
19898
|
+
var ap = Object.defineProperty, sp = Object.getOwnPropertyDescriptor, Lt = (n, e, t, o) => {
|
|
19899
|
+
for (var r = o > 1 ? void 0 : o ? sp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
19852
19900
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
19853
|
-
return o && r &&
|
|
19901
|
+
return o && r && ap(e, t, r), r;
|
|
19854
19902
|
};
|
|
19855
19903
|
class tt extends g {
|
|
19856
19904
|
constructor() {
|
|
@@ -20081,10 +20129,10 @@ Lt([
|
|
|
20081
20129
|
l({ type: Boolean })
|
|
20082
20130
|
], tt.prototype, "removable", 2);
|
|
20083
20131
|
k("ok-file-item", tt);
|
|
20084
|
-
var
|
|
20085
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
20132
|
+
var np = Object.defineProperty, lp = Object.getOwnPropertyDescriptor, ue = (n, e, t, o) => {
|
|
20133
|
+
for (var r = o > 1 ? void 0 : o ? lp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
20086
20134
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
20087
|
-
return o && r &&
|
|
20135
|
+
return o && r && np(e, t, r), r;
|
|
20088
20136
|
};
|
|
20089
20137
|
const J = class re extends g {
|
|
20090
20138
|
constructor() {
|
|
@@ -20577,12 +20625,12 @@ ue([
|
|
|
20577
20625
|
ue([
|
|
20578
20626
|
B(".content")
|
|
20579
20627
|
], J.prototype, "contentEl", 2);
|
|
20580
|
-
let
|
|
20581
|
-
k("ok-rich-text",
|
|
20582
|
-
var
|
|
20583
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
20628
|
+
let cp = J;
|
|
20629
|
+
k("ok-rich-text", cp);
|
|
20630
|
+
var dp = Object.defineProperty, pp = Object.getOwnPropertyDescriptor, Vr = (n, e, t, o) => {
|
|
20631
|
+
for (var r = o > 1 ? void 0 : o ? pp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
20584
20632
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
20585
|
-
return o && r &&
|
|
20633
|
+
return o && r && dp(e, t, r), r;
|
|
20586
20634
|
};
|
|
20587
20635
|
class dr extends g {
|
|
20588
20636
|
constructor() {
|
|
@@ -20750,10 +20798,10 @@ Vr([
|
|
|
20750
20798
|
v()
|
|
20751
20799
|
], dr.prototype, "copied", 2);
|
|
20752
20800
|
k("ok-code", dr);
|
|
20753
|
-
var
|
|
20754
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
20801
|
+
var hp = Object.defineProperty, up = Object.getOwnPropertyDescriptor, $o = (n, e, t, o) => {
|
|
20802
|
+
for (var r = o > 1 ? void 0 : o ? up(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
20755
20803
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
20756
|
-
return o && r &&
|
|
20804
|
+
return o && r && hp(e, t, r), r;
|
|
20757
20805
|
};
|
|
20758
20806
|
const Hr = class je extends g {
|
|
20759
20807
|
constructor() {
|
|
@@ -21042,12 +21090,12 @@ $o([
|
|
|
21042
21090
|
$o([
|
|
21043
21091
|
v()
|
|
21044
21092
|
], Hr.prototype, "collapsed", 2);
|
|
21045
|
-
let
|
|
21046
|
-
k("ok-json-viewer",
|
|
21047
|
-
var
|
|
21048
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21093
|
+
let mp = Hr;
|
|
21094
|
+
k("ok-json-viewer", mp);
|
|
21095
|
+
var vp = Object.defineProperty, bp = Object.getOwnPropertyDescriptor, Ia = (n, e, t, o) => {
|
|
21096
|
+
for (var r = o > 1 ? void 0 : o ? bp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
21049
21097
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
21050
|
-
return o && r &&
|
|
21098
|
+
return o && r && vp(e, t, r), r;
|
|
21051
21099
|
};
|
|
21052
21100
|
const mi = class Qr extends g {
|
|
21053
21101
|
constructor() {
|
|
@@ -21213,20 +21261,20 @@ const mi = class Qr extends g {
|
|
|
21213
21261
|
`;
|
|
21214
21262
|
}
|
|
21215
21263
|
};
|
|
21216
|
-
|
|
21264
|
+
Ia([
|
|
21217
21265
|
l({ attribute: !1 })
|
|
21218
21266
|
], mi.prototype, "lines", 2);
|
|
21219
|
-
|
|
21267
|
+
Ia([
|
|
21220
21268
|
l()
|
|
21221
21269
|
], mi.prototype, "raw", 2);
|
|
21222
|
-
let
|
|
21223
|
-
k("ok-diff",
|
|
21224
|
-
var
|
|
21225
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21270
|
+
let fp = mi;
|
|
21271
|
+
k("ok-diff", fp);
|
|
21272
|
+
var gp = Object.defineProperty, xp = Object.getOwnPropertyDescriptor, It = (n, e, t, o) => {
|
|
21273
|
+
for (var r = o > 1 ? void 0 : o ? xp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
21226
21274
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
21227
|
-
return o && r &&
|
|
21275
|
+
return o && r && gp(e, t, r), r;
|
|
21228
21276
|
};
|
|
21229
|
-
const
|
|
21277
|
+
const yp = [
|
|
21230
21278
|
"1234567890".split("").map((n) => ({ base: n })),
|
|
21231
21279
|
[..."qwertyuiop".split("").map((n) => ({ base: n })), { base: "", label: "⌫", kind: "del" }],
|
|
21232
21280
|
"asdfghjkl".split("").map((n) => ({ base: n })),
|
|
@@ -21243,7 +21291,7 @@ const gp = [
|
|
|
21243
21291
|
{ base: " ", label: "espacio", kind: "space" },
|
|
21244
21292
|
{ base: "@", label: "@", kind: "mod" }
|
|
21245
21293
|
]
|
|
21246
|
-
],
|
|
21294
|
+
], kp = [
|
|
21247
21295
|
"1234567890".split("").map((n) => ({ base: n })),
|
|
21248
21296
|
"@#$_&-+()/".split("").map((n) => ({ base: n })),
|
|
21249
21297
|
[
|
|
@@ -21258,7 +21306,7 @@ const gp = [
|
|
|
21258
21306
|
{ base: `
|
|
21259
21307
|
`, label: "↵", kind: "enter" }
|
|
21260
21308
|
]
|
|
21261
|
-
],
|
|
21309
|
+
], wp = [
|
|
21262
21310
|
[{ base: "1" }, { base: "2" }, { base: "3" }],
|
|
21263
21311
|
[{ base: "4" }, { base: "5" }, { base: "6" }],
|
|
21264
21312
|
[{ base: "7" }, { base: "8" }, { base: "9" }],
|
|
@@ -21488,11 +21536,11 @@ class rt extends g {
|
|
|
21488
21536
|
get rows() {
|
|
21489
21537
|
switch (this.activeLayout) {
|
|
21490
21538
|
case "numeric":
|
|
21491
|
-
return
|
|
21539
|
+
return wp;
|
|
21492
21540
|
case "symbol":
|
|
21493
|
-
return
|
|
21541
|
+
return kp;
|
|
21494
21542
|
default:
|
|
21495
|
-
return
|
|
21543
|
+
return yp;
|
|
21496
21544
|
}
|
|
21497
21545
|
}
|
|
21498
21546
|
emit(e, t) {
|
|
@@ -21592,12 +21640,12 @@ It([
|
|
|
21592
21640
|
v()
|
|
21593
21641
|
], rt.prototype, "activeLayout", 2);
|
|
21594
21642
|
k("ok-keyboard", rt);
|
|
21595
|
-
var
|
|
21596
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21643
|
+
var $p = Object.defineProperty, Cp = Object.getOwnPropertyDescriptor, pr = (n, e, t, o) => {
|
|
21644
|
+
for (var r = o > 1 ? void 0 : o ? Cp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
21597
21645
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
21598
|
-
return o && r &&
|
|
21646
|
+
return o && r && $p(e, t, r), r;
|
|
21599
21647
|
};
|
|
21600
|
-
const
|
|
21648
|
+
const zp = [
|
|
21601
21649
|
{ label: "AC", kind: "fn", wide: !0 },
|
|
21602
21650
|
{ label: "⌫", kind: "fn" },
|
|
21603
21651
|
{ label: "÷", kind: "op", op: "/" },
|
|
@@ -21616,7 +21664,7 @@ const $p = [
|
|
|
21616
21664
|
{ label: "0", kind: "digit", wide: !0 },
|
|
21617
21665
|
{ label: ".", kind: "dot" },
|
|
21618
21666
|
{ label: "=", kind: "equals" }
|
|
21619
|
-
],
|
|
21667
|
+
], _p = {
|
|
21620
21668
|
"+": "+",
|
|
21621
21669
|
"-": "−",
|
|
21622
21670
|
"*": "×",
|
|
@@ -21803,7 +21851,7 @@ class Tt extends g {
|
|
|
21803
21851
|
</div>
|
|
21804
21852
|
</div>
|
|
21805
21853
|
<div class="keys">
|
|
21806
|
-
${
|
|
21854
|
+
${zp.map((e) => this._renderKey(e))}
|
|
21807
21855
|
</div>
|
|
21808
21856
|
</div>
|
|
21809
21857
|
`;
|
|
@@ -21901,7 +21949,7 @@ class Tt extends g {
|
|
|
21901
21949
|
default:
|
|
21902
21950
|
o = e;
|
|
21903
21951
|
}
|
|
21904
|
-
const r = this._op ?
|
|
21952
|
+
const r = this._op ? _p[this._op] : "";
|
|
21905
21953
|
this._prev = this._op ? `${t} ${r} ${e} =` : "";
|
|
21906
21954
|
const i = Number.isFinite(o) ? +o.toFixed(8) : 0;
|
|
21907
21955
|
this._op = "", this._stored = 0, this._justEvaluated = !0, this._setDisplay(String(i));
|
|
@@ -21956,12 +22004,12 @@ pr([
|
|
|
21956
22004
|
v()
|
|
21957
22005
|
], Tt.prototype, "_justEvaluated", 2);
|
|
21958
22006
|
k("ok-calculator", Tt);
|
|
21959
|
-
var
|
|
21960
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
22007
|
+
var Sp = Object.defineProperty, Ep = Object.getOwnPropertyDescriptor, V = (n, e, t, o) => {
|
|
22008
|
+
for (var r = o > 1 ? void 0 : o ? Ep(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
21961
22009
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
21962
|
-
return o && r &&
|
|
22010
|
+
return o && r && Sp(e, t, r), r;
|
|
21963
22011
|
};
|
|
21964
|
-
class
|
|
22012
|
+
class q extends g {
|
|
21965
22013
|
constructor() {
|
|
21966
22014
|
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
22015
|
this.lightboxOpen = !1;
|
|
@@ -22348,48 +22396,48 @@ class N extends g {
|
|
|
22348
22396
|
}
|
|
22349
22397
|
V([
|
|
22350
22398
|
l()
|
|
22351
|
-
],
|
|
22399
|
+
], q.prototype, "src", 2);
|
|
22352
22400
|
V([
|
|
22353
22401
|
l()
|
|
22354
|
-
],
|
|
22402
|
+
], q.prototype, "alt", 2);
|
|
22355
22403
|
V([
|
|
22356
22404
|
l({ reflect: !0 })
|
|
22357
|
-
],
|
|
22405
|
+
], q.prototype, "ratio", 2);
|
|
22358
22406
|
V([
|
|
22359
22407
|
l()
|
|
22360
|
-
],
|
|
22408
|
+
], q.prototype, "caption", 2);
|
|
22361
22409
|
V([
|
|
22362
22410
|
l({ reflect: !0 })
|
|
22363
|
-
],
|
|
22411
|
+
], q.prototype, "radius", 2);
|
|
22364
22412
|
V([
|
|
22365
22413
|
l({ reflect: !0 })
|
|
22366
|
-
],
|
|
22414
|
+
], q.prototype, "zoom", 2);
|
|
22367
22415
|
V([
|
|
22368
22416
|
l({ attribute: "placeholder-text" })
|
|
22369
|
-
],
|
|
22417
|
+
], q.prototype, "placeholderText", 2);
|
|
22370
22418
|
V([
|
|
22371
22419
|
v()
|
|
22372
|
-
],
|
|
22420
|
+
], q.prototype, "loaded", 2);
|
|
22373
22421
|
V([
|
|
22374
22422
|
v()
|
|
22375
|
-
],
|
|
22423
|
+
], q.prototype, "errored", 2);
|
|
22376
22424
|
V([
|
|
22377
22425
|
v()
|
|
22378
|
-
],
|
|
22426
|
+
], q.prototype, "zooming", 2);
|
|
22379
22427
|
V([
|
|
22380
22428
|
v()
|
|
22381
|
-
],
|
|
22429
|
+
], q.prototype, "lightboxOpen", 2);
|
|
22382
22430
|
V([
|
|
22383
22431
|
v()
|
|
22384
|
-
],
|
|
22432
|
+
], q.prototype, "lensX", 2);
|
|
22385
22433
|
V([
|
|
22386
22434
|
v()
|
|
22387
|
-
],
|
|
22388
|
-
k("ok-image",
|
|
22389
|
-
var
|
|
22390
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
22435
|
+
], q.prototype, "lensY", 2);
|
|
22436
|
+
k("ok-image", q);
|
|
22437
|
+
var Pp = Object.defineProperty, Op = Object.getOwnPropertyDescriptor, Kr = (n, e, t, o) => {
|
|
22438
|
+
for (var r = o > 1 ? void 0 : o ? Op(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
22391
22439
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
22392
|
-
return o && r &&
|
|
22440
|
+
return o && r && Pp(e, t, r), r;
|
|
22393
22441
|
};
|
|
22394
22442
|
class hr extends g {
|
|
22395
22443
|
constructor() {
|
|
@@ -22629,7 +22677,7 @@ class hr extends g {
|
|
|
22629
22677
|
@keydown=${(a) => {
|
|
22630
22678
|
(a.key === "Enter" || a.key === " ") && this.toggle(e, t, a);
|
|
22631
22679
|
}}
|
|
22632
|
-
>${
|
|
22680
|
+
>${Mp}</span
|
|
22633
22681
|
>` : null}
|
|
22634
22682
|
</button>
|
|
22635
22683
|
`;
|
|
@@ -22653,17 +22701,17 @@ Kr([
|
|
|
22653
22701
|
Kr([
|
|
22654
22702
|
l({ type: Number, reflect: !0 })
|
|
22655
22703
|
], hr.prototype, "columns", 2);
|
|
22656
|
-
const
|
|
22704
|
+
const Mp = s`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
22657
22705
|
stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
22658
22706
|
<path d="M5 13l4 4L19 7" />
|
|
22659
22707
|
</svg>`;
|
|
22660
22708
|
k("ok-gallery", hr);
|
|
22661
|
-
var
|
|
22662
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
22709
|
+
var Ap = Object.defineProperty, Dp = Object.getOwnPropertyDescriptor, Yr = (n, e, t, o) => {
|
|
22710
|
+
for (var r = o > 1 ? void 0 : o ? Dp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
22663
22711
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
22664
|
-
return o && r &&
|
|
22712
|
+
return o && r && Ap(e, t, r), r;
|
|
22665
22713
|
};
|
|
22666
|
-
const
|
|
22714
|
+
const jp = {
|
|
22667
22715
|
prev: "Previous",
|
|
22668
22716
|
next: "Next",
|
|
22669
22717
|
close: "Close",
|
|
@@ -22904,7 +22952,7 @@ class ur extends g {
|
|
|
22904
22952
|
}
|
|
22905
22953
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
22906
22954
|
get t() {
|
|
22907
|
-
return { ...
|
|
22955
|
+
return { ...jp, ...this.labels };
|
|
22908
22956
|
}
|
|
22909
22957
|
disconnectedCallback() {
|
|
22910
22958
|
super.disconnectedCallback(), this.unbind();
|
|
@@ -23086,10 +23134,10 @@ Yr([
|
|
|
23086
23134
|
v()
|
|
23087
23135
|
], ur.prototype, "shown", 2);
|
|
23088
23136
|
k("ok-lightbox", ur);
|
|
23089
|
-
var
|
|
23090
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
23137
|
+
var Lp = Object.defineProperty, Ip = Object.getOwnPropertyDescriptor, mr = (n, e, t, o) => {
|
|
23138
|
+
for (var r = o > 1 ? void 0 : o ? Ip(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
23091
23139
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
23092
|
-
return o && r &&
|
|
23140
|
+
return o && r && Lp(e, t, r), r;
|
|
23093
23141
|
};
|
|
23094
23142
|
const Ao = [
|
|
23095
23143
|
{ key: "free", label: "Libre", ratio: null },
|
|
@@ -23395,10 +23443,10 @@ mr([
|
|
|
23395
23443
|
v()
|
|
23396
23444
|
], Bt.prototype, "rect", 2);
|
|
23397
23445
|
k("ok-cropper", Bt);
|
|
23398
|
-
var
|
|
23399
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
23446
|
+
var Tp = Object.defineProperty, Bp = Object.getOwnPropertyDescriptor, Ft = (n, e, t, o) => {
|
|
23447
|
+
for (var r = o > 1 ? void 0 : o ? Bp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
23400
23448
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
23401
|
-
return o && r &&
|
|
23449
|
+
return o && r && Tp(e, t, r), r;
|
|
23402
23450
|
};
|
|
23403
23451
|
class ot extends g {
|
|
23404
23452
|
constructor() {
|
|
@@ -23637,10 +23685,10 @@ Ft([
|
|
|
23637
23685
|
v()
|
|
23638
23686
|
], ot.prototype, "_size", 2);
|
|
23639
23687
|
k("ok-splitter", ot);
|
|
23640
|
-
var
|
|
23641
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
23688
|
+
var Fp = Object.defineProperty, Rp = Object.getOwnPropertyDescriptor, me = (n, e, t, o) => {
|
|
23689
|
+
for (var r = o > 1 ? void 0 : o ? Rp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
23642
23690
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
23643
|
-
return o && r &&
|
|
23691
|
+
return o && r && Fp(e, t, r), r;
|
|
23644
23692
|
};
|
|
23645
23693
|
class ee extends g {
|
|
23646
23694
|
constructor() {
|
|
@@ -23974,10 +24022,10 @@ me([
|
|
|
23974
24022
|
l()
|
|
23975
24023
|
], ee.prototype, "size", 2);
|
|
23976
24024
|
k("ok-loyalty-card", ee);
|
|
23977
|
-
var
|
|
23978
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
24025
|
+
var qp = Object.defineProperty, Np = Object.getOwnPropertyDescriptor, W = (n, e, t, o) => {
|
|
24026
|
+
for (var r = o > 1 ? void 0 : o ? Np(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
23979
24027
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
23980
|
-
return o && r &&
|
|
24028
|
+
return o && r && qp(e, t, r), r;
|
|
23981
24029
|
};
|
|
23982
24030
|
class H extends g {
|
|
23983
24031
|
constructor() {
|
|
@@ -24337,10 +24385,10 @@ W([
|
|
|
24337
24385
|
l({ attribute: !1 })
|
|
24338
24386
|
], H.prototype, "attendees", 2);
|
|
24339
24387
|
k("ok-event-card", H);
|
|
24340
|
-
var
|
|
24341
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
24388
|
+
var Up = Object.defineProperty, Vp = Object.getOwnPropertyDescriptor, Co = (n, e, t, o) => {
|
|
24389
|
+
for (var r = o > 1 ? void 0 : o ? Vp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
24342
24390
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
24343
|
-
return o && r &&
|
|
24391
|
+
return o && r && Up(e, t, r), r;
|
|
24344
24392
|
};
|
|
24345
24393
|
const Wr = class Bo extends g {
|
|
24346
24394
|
constructor() {
|
|
@@ -24473,14 +24521,14 @@ Co([
|
|
|
24473
24521
|
Co([
|
|
24474
24522
|
l({ type: Number })
|
|
24475
24523
|
], Wr.prototype, "overlap", 2);
|
|
24476
|
-
let
|
|
24477
|
-
k("ok-avatar-group",
|
|
24478
|
-
var
|
|
24479
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
24524
|
+
let Hp = Wr;
|
|
24525
|
+
k("ok-avatar-group", Hp);
|
|
24526
|
+
var Kp = Object.defineProperty, Yp = Object.getOwnPropertyDescriptor, it = (n, e, t, o) => {
|
|
24527
|
+
for (var r = o > 1 ? void 0 : o ? Yp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
24480
24528
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
24481
|
-
return o && r &&
|
|
24529
|
+
return o && r && Kp(e, t, r), r;
|
|
24482
24530
|
};
|
|
24483
|
-
const nt = 184, Jr = 120,
|
|
24531
|
+
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
24532
|
class De extends g {
|
|
24485
24533
|
constructor() {
|
|
24486
24534
|
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 +24805,7 @@ class De extends g {
|
|
|
24757
24805
|
const p = this.collapsed.has(u) ? [] : u.children ?? [];
|
|
24758
24806
|
let b;
|
|
24759
24807
|
if (!p.length)
|
|
24760
|
-
b = r *
|
|
24808
|
+
b = r * Xp, r += 1;
|
|
24761
24809
|
else {
|
|
24762
24810
|
const x = p.map(($) => a($, h + 1));
|
|
24763
24811
|
b = (x[0].x + x[x.length - 1].x) / 2;
|
|
@@ -24770,7 +24818,7 @@ class De extends g {
|
|
|
24770
24818
|
for (const u of t) {
|
|
24771
24819
|
const h = this.collapsed.has(u.node) ? [] : u.node.children ?? [];
|
|
24772
24820
|
if (!h.length) continue;
|
|
24773
|
-
const p = h.map((w) => o.get(w)), b = u.x + nt / 2, f = u.y + Jr, x = f +
|
|
24821
|
+
const p = h.map((w) => o.get(w)), b = u.x + nt / 2, f = u.y + Jr, x = f + Ta / 2;
|
|
24774
24822
|
d.push(`M${b},${f}L${b},${x}`);
|
|
24775
24823
|
const $ = p[0].x + nt / 2, M = p[p.length - 1].x + nt / 2;
|
|
24776
24824
|
p.length > 1 && d.push(`M${$},${x}L${M},${x}`);
|
|
@@ -24987,12 +25035,12 @@ it([
|
|
|
24987
25035
|
v()
|
|
24988
25036
|
], De.prototype, "collapsed", 2);
|
|
24989
25037
|
k("ok-org-chart", De);
|
|
24990
|
-
var
|
|
24991
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
25038
|
+
var Gp = Object.defineProperty, Zp = Object.getOwnPropertyDescriptor, F = (n, e, t, o) => {
|
|
25039
|
+
for (var r = o > 1 ? void 0 : o ? Zp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
24992
25040
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
24993
|
-
return o && r &&
|
|
25041
|
+
return o && r && Gp(e, t, r), r;
|
|
24994
25042
|
};
|
|
24995
|
-
const
|
|
25043
|
+
const Qp = {
|
|
24996
25044
|
upload: "Subir archivo",
|
|
24997
25045
|
import: "Importar",
|
|
24998
25046
|
search: "Buscar archivos…",
|
|
@@ -25625,7 +25673,7 @@ class T extends g {
|
|
|
25625
25673
|
}
|
|
25626
25674
|
// Textos efectivos.
|
|
25627
25675
|
get t() {
|
|
25628
|
-
return { ...
|
|
25676
|
+
return { ...Qp, ...this.labels };
|
|
25629
25677
|
}
|
|
25630
25678
|
// Siembra: expande todas las carpetas con hijos la primera vez.
|
|
25631
25679
|
seedExpanded(e) {
|