@erplora/outfitkit 0.1.26 → 0.1.27
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/locale-defaults.test.d.ts +1 -0
- package/dist/components/ok-data-table/ok-data-table.d.ts +6 -2
- package/dist/layout.css +135 -1
- package/dist/ok-data-table.js +61 -2
- package/dist/ok-navbar.js +33 -11
- package/dist/outfitkit.bundle.js +641 -569
- package/package.json +1 -1
package/dist/outfitkit.bundle.js
CHANGED
|
@@ -264,7 +264,7 @@ Rt.elementStyles = [], Rt.shadowRootOptions = { mode: "open" }, Rt[xr("elementPr
|
|
|
264
264
|
*/
|
|
265
265
|
const qo = globalThis, xi = (n) => n, to = qo.trustedTypes, yi = to ? to.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, Uo = "$lit$", ve = `lit$${Math.random().toFixed(9).slice(2)}$`, Vo = "?" + ve, Ya = `<${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,
|
|
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), Jp = 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;
|
|
@@ -275,7 +275,7 @@ const Ni = (n, e) => {
|
|
|
275
275
|
for (let d = 0; d < t; d++) {
|
|
276
276
|
const c = n[d];
|
|
277
277
|
let u, h, p = -1, b = 0;
|
|
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] === '"' ?
|
|
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
280
|
i += a === vr ? c + Ya : p >= 0 ? (o.push(u), c.slice(0, p) + Uo + c.slice(p) + ve + f) : c + ve + (p === -2 ? d : f);
|
|
281
281
|
}
|
|
@@ -295,7 +295,7 @@ class $r {
|
|
|
295
295
|
if (r.nodeType === 1) {
|
|
296
296
|
if (r.hasAttributes()) for (const p of r.getAttributeNames()) if (p.endsWith(Uo)) {
|
|
297
297
|
const b = h[a++], f = r.getAttribute(p).split(ve), x = /([.?@])?(.*)/.exec(b);
|
|
298
|
-
c.push({ type: 1, index: i, name: x[2], strings: f, ctor: x[1] === "." ? Ui : x[1] === "?" ? Vi : x[1] === "@" ? Hi :
|
|
298
|
+
c.push({ type: 1, index: i, name: x[2], strings: f, ctor: x[1] === "." ? Ui : x[1] === "?" ? Vi : x[1] === "@" ? Hi : zr }), r.removeAttribute(p);
|
|
299
299
|
} else p.startsWith(ve) && (c.push({ type: 6, index: i }), r.removeAttribute(p));
|
|
300
300
|
if (Fi.test(r.tagName)) {
|
|
301
301
|
const p = r.textContent.split(ve), b = p.length - 1;
|
|
@@ -391,8 +391,8 @@ class Nt {
|
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
_$AC(e) {
|
|
394
|
-
let t =
|
|
395
|
-
return t === void 0 &&
|
|
394
|
+
let t = zi.get(e.strings);
|
|
395
|
+
return t === void 0 && zi.set(e.strings, t = new $r(e)), t;
|
|
396
396
|
}
|
|
397
397
|
k(e) {
|
|
398
398
|
Ho(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -411,7 +411,7 @@ class Nt {
|
|
|
411
411
|
this._$AM === void 0 && (this._$Cv = e, this._$AP?.(e));
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
class
|
|
414
|
+
class zr {
|
|
415
415
|
get tagName() {
|
|
416
416
|
return this.element.tagName;
|
|
417
417
|
}
|
|
@@ -436,7 +436,7 @@ class Cr {
|
|
|
436
436
|
e === m ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
class Ui extends
|
|
439
|
+
class Ui extends zr {
|
|
440
440
|
constructor() {
|
|
441
441
|
super(...arguments), this.type = 3;
|
|
442
442
|
}
|
|
@@ -444,7 +444,7 @@ class Ui extends Cr {
|
|
|
444
444
|
this.element[this.name] = e === m ? void 0 : e;
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
class Vi extends
|
|
447
|
+
class Vi extends zr {
|
|
448
448
|
constructor() {
|
|
449
449
|
super(...arguments), this.type = 4;
|
|
450
450
|
}
|
|
@@ -452,7 +452,7 @@ class Vi extends Cr {
|
|
|
452
452
|
this.element.toggleAttribute(this.name, !!e && e !== m);
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
|
-
class Hi extends
|
|
455
|
+
class Hi extends zr {
|
|
456
456
|
constructor(e, t, o, r, i) {
|
|
457
457
|
super(e, t, o, r, i), this.type = 5;
|
|
458
458
|
}
|
|
@@ -476,7 +476,7 @@ class Ki {
|
|
|
476
476
|
dt(this, e);
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
|
-
const Wa = { M: Uo, P: ve, A: Vo, C: 1, L: Ni, R: qi, D: Bi, V: dt, I: Nt, H:
|
|
479
|
+
const Wa = { M: Uo, P: ve, A: Vo, C: 1, L: Ni, R: qi, D: Bi, V: dt, I: Nt, H: zr, N: Vi, U: Hi, B: Ui, F: Ki }, Xa = qo.litHtmlPolyfillSupport;
|
|
480
480
|
Xa?.($r, Nt), (qo.litHtmlVersions ??= []).push("3.3.3");
|
|
481
481
|
const io = (n, e, t) => {
|
|
482
482
|
const o = t?.renderBefore ?? e;
|
|
@@ -775,7 +775,7 @@ function Yi(n = {}) {
|
|
|
775
775
|
};
|
|
776
776
|
return u;
|
|
777
777
|
}
|
|
778
|
-
const
|
|
778
|
+
const th = Yi();
|
|
779
779
|
var is = Object.defineProperty, as = Object.getOwnPropertyDescriptor, ss = (n, e, t, o) => {
|
|
780
780
|
for (var r = o > 1 ? void 0 : o ? as(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);
|
|
@@ -900,7 +900,7 @@ const Pi = (n, e, t) => {
|
|
|
900
900
|
const o = /* @__PURE__ */ new Map();
|
|
901
901
|
for (let r = e; r <= t; r++) o.set(n[r], r);
|
|
902
902
|
return o;
|
|
903
|
-
},
|
|
903
|
+
}, Cr = Xo(class extends Go {
|
|
904
904
|
constructor(n) {
|
|
905
905
|
if (super(n), n.type !== Wo.CHILD) throw Error("repeat() can only be used in text expressions");
|
|
906
906
|
}
|
|
@@ -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>', 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>', 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="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 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>';
|
|
989
989
|
function S(n) {
|
|
990
990
|
return `data:image/svg+xml;utf8,${n}`;
|
|
991
991
|
}
|
|
992
|
-
const Gi = S(ms), Zi = S(vs), Qi = S(bs), Ji = S(fs), ea = S(gs), ta = S(xs), ra = S(ys), oa = S(ks), ia = S(ws), aa = S($s), sa = S(
|
|
992
|
+
const Gi = S(ms), Zi = S(vs), Qi = S(bs), Ji = S(fs), ea = S(gs), ta = S(xs), ra = S(ys), oa = S(ks), ia = S(ws), aa = S($s), sa = S(Cs), Zo = S(zs), _r = S(_s), ao = S(Ss), na = S(Es), X = S(Ps), la = S(Os), ro = S(Ms), pt = S(As), ca = S(Ds), da = S(js), pa = S(Ls), ha = S(Is), ua = S(Ts), so = S(Bs), Qo = S(Fs), Jo = S(Rs), ma = S(Ns), va = S(qs), Lo = S(Us), ba = S(Vs), fa = S(Hs), ga = S(Ks), xa = S(Ys), ei = S(Ws), ti = S(Xs), ya = S(Gs), ka = S(Zs), ri = S(Qs), wa = S(Js), $a = S(en), Ca = S(tn), za = S(rn), _a = S(on), Sa = S(an), sn = {
|
|
993
993
|
add: Gi,
|
|
994
994
|
"alert-circle": Zi,
|
|
995
995
|
"alert-circle-outline": Qi,
|
|
@@ -1031,8 +1031,8 @@ const Gi = S(ms), Zi = S(vs), Qi = S(bs), Ji = S(fs), ea = S(gs), ta = S(xs), ra
|
|
|
1031
1031
|
"trash-outline": ri,
|
|
1032
1032
|
"trending-down": wa,
|
|
1033
1033
|
"trending-up": $a,
|
|
1034
|
-
"volume-high-outline":
|
|
1035
|
-
"volume-low-outline":
|
|
1034
|
+
"volume-high-outline": Ca,
|
|
1035
|
+
"volume-low-outline": za,
|
|
1036
1036
|
"volume-mute-outline": _a,
|
|
1037
1037
|
warning: Sa
|
|
1038
1038
|
};
|
|
@@ -1081,10 +1081,45 @@ const cn = {
|
|
|
1081
1081
|
showing: "Showing {from}–{to} of",
|
|
1082
1082
|
recordSingular: "record",
|
|
1083
1083
|
recordPlural: "records"
|
|
1084
|
+
}, dn = {
|
|
1085
|
+
search: "Buscar…",
|
|
1086
|
+
empty: "Sin resultados",
|
|
1087
|
+
filters: "Filtros",
|
|
1088
|
+
clear: "Limpiar",
|
|
1089
|
+
apply: "Aplicar",
|
|
1090
|
+
selected: "{n} seleccionados",
|
|
1091
|
+
importCsv: "Importar CSV",
|
|
1092
|
+
exportCsv: "Exportar CSV",
|
|
1093
|
+
add: "Añadir",
|
|
1094
|
+
moreActions: "Más acciones",
|
|
1095
|
+
rowsPerPage: "Filas por página",
|
|
1096
|
+
perPageShort: "{n} / pág.",
|
|
1097
|
+
viewList: "Vista lista",
|
|
1098
|
+
viewCards: "Vista tarjetas",
|
|
1099
|
+
columnsVisible: "Columnas visibles",
|
|
1100
|
+
columns: "Columnas",
|
|
1101
|
+
actions: "Acciones",
|
|
1102
|
+
close: "Cerrar",
|
|
1103
|
+
newRecord: "Nuevo",
|
|
1104
|
+
form: "Formulario",
|
|
1105
|
+
filterPlaceholder: "Filtrar…",
|
|
1106
|
+
from: "Desde",
|
|
1107
|
+
to: "Hasta",
|
|
1108
|
+
fromOf: "{label} desde",
|
|
1109
|
+
toOf: "{label} hasta",
|
|
1110
|
+
gte: "≥",
|
|
1111
|
+
lte: "≤",
|
|
1112
|
+
noValues: "Sin valores",
|
|
1113
|
+
selectAll: "Seleccionar todo",
|
|
1114
|
+
selectRow: "Seleccionar fila",
|
|
1115
|
+
select: "Seleccionar",
|
|
1116
|
+
showing: "Mostrando {from}–{to} de",
|
|
1117
|
+
recordSingular: "registro",
|
|
1118
|
+
recordPlural: "registros"
|
|
1084
1119
|
};
|
|
1085
|
-
class
|
|
1120
|
+
class z extends g {
|
|
1086
1121
|
constructor() {
|
|
1087
|
-
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.onSearch = (e) => {
|
|
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) => {
|
|
1088
1123
|
const t = e.target.value ?? "";
|
|
1089
1124
|
this.serverSide ? this.emit("searchChange", t) : (this.q = t, this.clientPage = 0);
|
|
1090
1125
|
};
|
|
@@ -1294,6 +1329,13 @@ class C extends g {
|
|
|
1294
1329
|
.empty .empty-ic { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 999px; background: var(--header-background); font-size: 26px; }
|
|
1295
1330
|
|
|
1296
1331
|
.actions { display: flex; gap: 0.25rem; justify-content: flex-end; }
|
|
1332
|
+
/* Las acciones de fila son icon-only y de tamaño small en escritorio. En tablet/móvil se
|
|
1333
|
+
* amplía el host completo (no solo el icono) para que el área táctil alcance 44×44 px. */
|
|
1334
|
+
@media (pointer: coarse), (max-width: 834px) {
|
|
1335
|
+
.actions ion-button { min-width: 44px; min-height: 44px; margin: 0; }
|
|
1336
|
+
.toolbtn { width: 44px; height: 44px; }
|
|
1337
|
+
.pager .nav ion-button { min-width: 44px; min-height: 44px; margin: 0; }
|
|
1338
|
+
}
|
|
1297
1339
|
/* Spinner de acción en curso (loading): contenido dentro del ion-button small (Ionic lo fija
|
|
1298
1340
|
* a 28px en el :host, por eso width/height y no font-size). Cubre tabla y tarjetas: los
|
|
1299
1341
|
* botones de fila siempre van dentro de .actions. */
|
|
@@ -1314,9 +1356,15 @@ class C extends g {
|
|
|
1314
1356
|
ion-button { --box-shadow: none; }
|
|
1315
1357
|
`;
|
|
1316
1358
|
}
|
|
1317
|
-
|
|
1359
|
+
connectedCallback() {
|
|
1360
|
+
super.connectedCallback(), typeof window < "u" && window.addEventListener("erplora:locale-changed", this.onLocaleChanged);
|
|
1361
|
+
}
|
|
1362
|
+
disconnectedCallback() {
|
|
1363
|
+
typeof window < "u" && window.removeEventListener("erplora:locale-changed", this.onLocaleChanged), super.disconnectedCallback();
|
|
1364
|
+
}
|
|
1365
|
+
// ── i18n: idioma del documento ← overrides explícitos de `.labels` ─────────────────────────
|
|
1318
1366
|
get t() {
|
|
1319
|
-
return { ...cn, ...this.labels };
|
|
1367
|
+
return { ...(typeof document > "u" ? "en" : document.documentElement.lang.toLowerCase()).startsWith("es") ? dn : cn, ...this.labels };
|
|
1320
1368
|
}
|
|
1321
1369
|
/** Placeholder efectivo del buscador (prop explícita → label i18n → default inglés). */
|
|
1322
1370
|
get effSearchPlaceholder() {
|
|
@@ -1714,6 +1762,8 @@ class C extends g {
|
|
|
1714
1762
|
color=${t.color ?? "medium"}
|
|
1715
1763
|
?disabled=${r}
|
|
1716
1764
|
aria-disabled=${r ? "true" : m}
|
|
1765
|
+
aria-label=${t.label}
|
|
1766
|
+
title=${t.label}
|
|
1717
1767
|
@click=${() => this.emit("rowAction", { actionId: t.id, row: e })}
|
|
1718
1768
|
>
|
|
1719
1769
|
${o ? s`<ion-spinner slot="icon-only" name="dots"></ion-spinner>` : t.icon ? s`<ion-icon slot="icon-only" .icon=${A(t.icon)}></ion-icon>` : t.label}
|
|
@@ -1960,7 +2010,7 @@ class C extends g {
|
|
|
1960
2010
|
</div>
|
|
1961
2011
|
|
|
1962
2012
|
<!-- Filas -->
|
|
1963
|
-
${
|
|
2013
|
+
${Cr(
|
|
1964
2014
|
e,
|
|
1965
2015
|
(a) => this.keyOf(a),
|
|
1966
2016
|
(a) => {
|
|
@@ -1985,7 +2035,7 @@ class C extends g {
|
|
|
1985
2035
|
const t = !!this.cardTitle || !!this.cardIcon || this.selectable;
|
|
1986
2036
|
return s`
|
|
1987
2037
|
<div class="cards-grid">
|
|
1988
|
-
${
|
|
2038
|
+
${Cr(
|
|
1989
2039
|
e,
|
|
1990
2040
|
(o) => this.keyOf(o),
|
|
1991
2041
|
(o) => {
|
|
@@ -2015,158 +2065,158 @@ class C extends g {
|
|
|
2015
2065
|
}
|
|
2016
2066
|
_([
|
|
2017
2067
|
l({ attribute: !1 })
|
|
2018
|
-
],
|
|
2068
|
+
], z.prototype, "columns", 2);
|
|
2019
2069
|
_([
|
|
2020
2070
|
l({ attribute: !1 })
|
|
2021
|
-
],
|
|
2071
|
+
], z.prototype, "rows", 2);
|
|
2022
2072
|
_([
|
|
2023
2073
|
l({ attribute: !1 })
|
|
2024
|
-
],
|
|
2074
|
+
], z.prototype, "searchKeys", 2);
|
|
2025
2075
|
_([
|
|
2026
2076
|
l({ attribute: "row-key-field" })
|
|
2027
|
-
],
|
|
2077
|
+
], z.prototype, "rowKeyField", 2);
|
|
2028
2078
|
_([
|
|
2029
2079
|
l({ attribute: !1 })
|
|
2030
|
-
],
|
|
2080
|
+
], z.prototype, "rowKey", 2);
|
|
2031
2081
|
_([
|
|
2032
2082
|
l({ type: Number, attribute: "page-size" })
|
|
2033
|
-
],
|
|
2083
|
+
], z.prototype, "pageSize", 2);
|
|
2034
2084
|
_([
|
|
2035
2085
|
l({ attribute: "empty-message" })
|
|
2036
|
-
],
|
|
2086
|
+
], z.prototype, "emptyMessage", 2);
|
|
2037
2087
|
_([
|
|
2038
2088
|
l({ attribute: "search-placeholder" })
|
|
2039
|
-
],
|
|
2089
|
+
], z.prototype, "searchPlaceholder", 2);
|
|
2040
2090
|
_([
|
|
2041
2091
|
l({ attribute: !1 })
|
|
2042
|
-
],
|
|
2092
|
+
], z.prototype, "labels", 2);
|
|
2043
2093
|
_([
|
|
2044
2094
|
l({ attribute: !1 })
|
|
2045
|
-
],
|
|
2095
|
+
], z.prototype, "actions", 2);
|
|
2046
2096
|
_([
|
|
2047
2097
|
l({ type: Boolean })
|
|
2048
|
-
],
|
|
2098
|
+
], z.prototype, "addable", 2);
|
|
2049
2099
|
_([
|
|
2050
2100
|
l({ attribute: !1 })
|
|
2051
|
-
],
|
|
2101
|
+
], z.prototype, "pageSizeOptions", 2);
|
|
2052
2102
|
_([
|
|
2053
2103
|
l({ type: Boolean, reflect: !0 })
|
|
2054
|
-
],
|
|
2104
|
+
], z.prototype, "fill", 2);
|
|
2055
2105
|
_([
|
|
2056
2106
|
l({ type: Boolean, attribute: "column-picker" })
|
|
2057
|
-
],
|
|
2107
|
+
], z.prototype, "columnPicker", 2);
|
|
2058
2108
|
_([
|
|
2059
2109
|
l({ type: Boolean })
|
|
2060
|
-
],
|
|
2110
|
+
], z.prototype, "csv", 2);
|
|
2061
2111
|
_([
|
|
2062
2112
|
l({ attribute: "csv-name" })
|
|
2063
|
-
],
|
|
2113
|
+
], z.prototype, "csvName", 2);
|
|
2064
2114
|
_([
|
|
2065
2115
|
l({ type: Boolean, attribute: "server-side" })
|
|
2066
|
-
],
|
|
2116
|
+
], z.prototype, "serverSide", 2);
|
|
2067
2117
|
_([
|
|
2068
2118
|
l({ type: Number })
|
|
2069
|
-
],
|
|
2119
|
+
], z.prototype, "total", 2);
|
|
2070
2120
|
_([
|
|
2071
2121
|
l({ type: Number })
|
|
2072
|
-
],
|
|
2122
|
+
], z.prototype, "page", 2);
|
|
2073
2123
|
_([
|
|
2074
2124
|
l({ type: Boolean })
|
|
2075
|
-
],
|
|
2125
|
+
], z.prototype, "searchable", 2);
|
|
2076
2126
|
_([
|
|
2077
2127
|
l({ type: String })
|
|
2078
|
-
],
|
|
2128
|
+
], z.prototype, "sort", 2);
|
|
2079
2129
|
_([
|
|
2080
2130
|
l({ attribute: "sort-dir" })
|
|
2081
|
-
],
|
|
2131
|
+
], z.prototype, "sortDir", 2);
|
|
2082
2132
|
_([
|
|
2083
2133
|
l()
|
|
2084
|
-
],
|
|
2134
|
+
], z.prototype, "title", 2);
|
|
2085
2135
|
_([
|
|
2086
2136
|
l({ attribute: !1 })
|
|
2087
|
-
],
|
|
2137
|
+
], z.prototype, "views", 2);
|
|
2088
2138
|
_([
|
|
2089
2139
|
l({ attribute: "default-view" })
|
|
2090
|
-
],
|
|
2140
|
+
], z.prototype, "defaultView", 2);
|
|
2091
2141
|
_([
|
|
2092
2142
|
l({ type: Boolean })
|
|
2093
|
-
],
|
|
2143
|
+
], z.prototype, "exportable", 2);
|
|
2094
2144
|
_([
|
|
2095
2145
|
l({ type: Boolean })
|
|
2096
|
-
],
|
|
2146
|
+
], z.prototype, "importable", 2);
|
|
2097
2147
|
_([
|
|
2098
2148
|
l({ type: Boolean, attribute: "column-selector" })
|
|
2099
|
-
],
|
|
2149
|
+
], z.prototype, "columnSelector", 2);
|
|
2100
2150
|
_([
|
|
2101
2151
|
l({ attribute: !1 })
|
|
2102
|
-
],
|
|
2152
|
+
], z.prototype, "pageSizes", 2);
|
|
2103
2153
|
_([
|
|
2104
2154
|
l({ type: Boolean })
|
|
2105
|
-
],
|
|
2155
|
+
], z.prototype, "selectable", 2);
|
|
2106
2156
|
_([
|
|
2107
2157
|
l({ attribute: !1 })
|
|
2108
|
-
],
|
|
2158
|
+
], z.prototype, "selectedKeys", 2);
|
|
2109
2159
|
_([
|
|
2110
2160
|
l({ attribute: !1 })
|
|
2111
|
-
],
|
|
2161
|
+
], z.prototype, "primaryAction", 2);
|
|
2112
2162
|
_([
|
|
2113
2163
|
l({ type: Boolean })
|
|
2114
|
-
],
|
|
2164
|
+
], z.prototype, "inlineFilters", 2);
|
|
2115
2165
|
_([
|
|
2116
2166
|
l({ attribute: !1 })
|
|
2117
|
-
],
|
|
2167
|
+
], z.prototype, "menuActions", 2);
|
|
2118
2168
|
_([
|
|
2119
2169
|
l({ attribute: !1 })
|
|
2120
|
-
],
|
|
2170
|
+
], z.prototype, "cardTitle", 2);
|
|
2121
2171
|
_([
|
|
2122
2172
|
l({ attribute: !1 })
|
|
2123
|
-
],
|
|
2173
|
+
], z.prototype, "cardIcon", 2);
|
|
2124
2174
|
_([
|
|
2125
2175
|
l({ attribute: !1 })
|
|
2126
|
-
],
|
|
2176
|
+
], z.prototype, "renderCard", 2);
|
|
2127
2177
|
_([
|
|
2128
2178
|
v()
|
|
2129
|
-
],
|
|
2179
|
+
], z.prototype, "q", 2);
|
|
2130
2180
|
_([
|
|
2131
2181
|
v()
|
|
2132
|
-
],
|
|
2182
|
+
], z.prototype, "clientPage", 2);
|
|
2133
2183
|
_([
|
|
2134
2184
|
v()
|
|
2135
|
-
],
|
|
2185
|
+
], z.prototype, "clientPageSize", 2);
|
|
2136
2186
|
_([
|
|
2137
2187
|
v()
|
|
2138
|
-
],
|
|
2188
|
+
], z.prototype, "clientSort", 2);
|
|
2139
2189
|
_([
|
|
2140
2190
|
v()
|
|
2141
|
-
],
|
|
2191
|
+
], z.prototype, "clientSortDir", 2);
|
|
2142
2192
|
_([
|
|
2143
2193
|
v()
|
|
2144
|
-
],
|
|
2194
|
+
], z.prototype, "clientFilters", 2);
|
|
2145
2195
|
_([
|
|
2146
2196
|
v()
|
|
2147
|
-
],
|
|
2197
|
+
], z.prototype, "filterDraft", 2);
|
|
2148
2198
|
_([
|
|
2149
2199
|
v()
|
|
2150
|
-
],
|
|
2200
|
+
], z.prototype, "panel", 2);
|
|
2151
2201
|
_([
|
|
2152
2202
|
v()
|
|
2153
|
-
],
|
|
2203
|
+
], z.prototype, "viewMode", 2);
|
|
2154
2204
|
_([
|
|
2155
2205
|
v()
|
|
2156
|
-
],
|
|
2206
|
+
], z.prototype, "hiddenKeys", 2);
|
|
2157
2207
|
_([
|
|
2158
2208
|
v()
|
|
2159
|
-
],
|
|
2209
|
+
], z.prototype, "internalSelection", 2);
|
|
2160
2210
|
_([
|
|
2161
2211
|
v()
|
|
2162
|
-
],
|
|
2163
|
-
k("ok-data-table",
|
|
2164
|
-
var
|
|
2165
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
2212
|
+
], z.prototype, "menuOpen", 2);
|
|
2213
|
+
k("ok-data-table", z);
|
|
2214
|
+
var pn = Object.defineProperty, hn = Object.getOwnPropertyDescriptor, ht = (n, e, t, o) => {
|
|
2215
|
+
for (var r = o > 1 ? void 0 : o ? hn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
2166
2216
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
2167
|
-
return o && r &&
|
|
2217
|
+
return o && r && pn(e, t, r), r;
|
|
2168
2218
|
};
|
|
2169
|
-
const
|
|
2219
|
+
const un = {
|
|
2170
2220
|
compose: "Compose",
|
|
2171
2221
|
searchPlaceholder: "Search mail…",
|
|
2172
2222
|
unread: "Unread",
|
|
@@ -2465,7 +2515,7 @@ class Le extends g {
|
|
|
2465
2515
|
}
|
|
2466
2516
|
/** Textos efectivos (defaults inglés + overrides). */
|
|
2467
2517
|
get t() {
|
|
2468
|
-
return { ...
|
|
2518
|
+
return { ...un, ...this.labels };
|
|
2469
2519
|
}
|
|
2470
2520
|
emit(e, t) {
|
|
2471
2521
|
this.dispatchEvent(new CustomEvent(e, { detail: t, bubbles: !0, composed: !0 }));
|
|
@@ -2535,7 +2585,7 @@ class Le extends g {
|
|
|
2535
2585
|
renderTabs() {
|
|
2536
2586
|
return s`
|
|
2537
2587
|
<nav class="tabs" role="tablist">
|
|
2538
|
-
${
|
|
2588
|
+
${Cr(
|
|
2539
2589
|
this.folders,
|
|
2540
2590
|
(e) => e.id,
|
|
2541
2591
|
(e) => s`
|
|
@@ -2560,7 +2610,7 @@ class Le extends g {
|
|
|
2560
2610
|
return s`
|
|
2561
2611
|
<section class="list">
|
|
2562
2612
|
<div class="msg-list">
|
|
2563
|
-
${e.length === 0 ? s`<div class="empty-wrap"><ok-empty-state icon="mail-outline" heading=${this.t.noMessages}></ok-empty-state></div>` :
|
|
2613
|
+
${e.length === 0 ? s`<div class="empty-wrap"><ok-empty-state icon="mail-outline" heading=${this.t.noMessages}></ok-empty-state></div>` : Cr(
|
|
2564
2614
|
e,
|
|
2565
2615
|
(t) => t.id,
|
|
2566
2616
|
(t) => {
|
|
@@ -2684,12 +2734,12 @@ ht([
|
|
|
2684
2734
|
v()
|
|
2685
2735
|
], Le.prototype, "q", 2);
|
|
2686
2736
|
k("ok-mail", Le);
|
|
2687
|
-
var
|
|
2688
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
2737
|
+
var mn = Object.defineProperty, vn = Object.getOwnPropertyDescriptor, Sr = (n, e, t, o) => {
|
|
2738
|
+
for (var r = o > 1 ? void 0 : o ? vn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
2689
2739
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
2690
|
-
return o && r &&
|
|
2740
|
+
return o && r && mn(e, t, r), r;
|
|
2691
2741
|
};
|
|
2692
|
-
const
|
|
2742
|
+
const bn = {
|
|
2693
2743
|
expand: "Expand",
|
|
2694
2744
|
collapse: "Collapse"
|
|
2695
2745
|
};
|
|
@@ -2831,7 +2881,7 @@ class qt extends g {
|
|
|
2831
2881
|
}
|
|
2832
2882
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
2833
2883
|
get t() {
|
|
2834
|
-
return { ...
|
|
2884
|
+
return { ...bn, ...this.labels };
|
|
2835
2885
|
}
|
|
2836
2886
|
// Siembra el estado de expansión a partir del campo `expanded` de cada nodo (una sola vez).
|
|
2837
2887
|
seedExpanded(e) {
|
|
@@ -2919,12 +2969,12 @@ Sr([
|
|
|
2919
2969
|
v()
|
|
2920
2970
|
], qt.prototype, "expandedIds", 2);
|
|
2921
2971
|
k("ok-tree", qt);
|
|
2922
|
-
var
|
|
2923
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
2972
|
+
var fn = Object.defineProperty, gn = Object.getOwnPropertyDescriptor, ut = (n, e, t, o) => {
|
|
2973
|
+
for (var r = o > 1 ? void 0 : o ? gn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
2924
2974
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
2925
|
-
return o && r &&
|
|
2975
|
+
return o && r && fn(e, t, r), r;
|
|
2926
2976
|
};
|
|
2927
|
-
const
|
|
2977
|
+
const xn = {
|
|
2928
2978
|
dismiss: "Dismiss"
|
|
2929
2979
|
};
|
|
2930
2980
|
class Ie extends g {
|
|
@@ -3054,7 +3104,7 @@ class Ie extends g {
|
|
|
3054
3104
|
}
|
|
3055
3105
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
3056
3106
|
get t() {
|
|
3057
|
-
return { ...
|
|
3107
|
+
return { ...xn, ...this.labels };
|
|
3058
3108
|
}
|
|
3059
3109
|
// Icono por defecto según el tono (overridable por la prop `icon`).
|
|
3060
3110
|
defaultIcon() {
|
|
@@ -3123,10 +3173,10 @@ ut([
|
|
|
3123
3173
|
v()
|
|
3124
3174
|
], Ie.prototype, "hasActions", 2);
|
|
3125
3175
|
k("ok-inline-feedback", Ie);
|
|
3126
|
-
var
|
|
3127
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
3176
|
+
var yn = Object.defineProperty, kn = Object.getOwnPropertyDescriptor, oi = (n, e, t, o) => {
|
|
3177
|
+
for (var r = o > 1 ? void 0 : o ? kn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
3128
3178
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
3129
|
-
return o && r &&
|
|
3179
|
+
return o && r && yn(e, t, r), r;
|
|
3130
3180
|
};
|
|
3131
3181
|
class no extends g {
|
|
3132
3182
|
constructor() {
|
|
@@ -3216,10 +3266,10 @@ oi([
|
|
|
3216
3266
|
l()
|
|
3217
3267
|
], no.prototype, "message", 2);
|
|
3218
3268
|
k("ok-empty-state", no);
|
|
3219
|
-
var
|
|
3220
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
3269
|
+
var wn = Object.defineProperty, $n = Object.getOwnPropertyDescriptor, Er = (n, e, t, o) => {
|
|
3270
|
+
for (var r = o > 1 ? void 0 : o ? $n(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
3221
3271
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
3222
|
-
return o && r &&
|
|
3272
|
+
return o && r && wn(e, t, r), r;
|
|
3223
3273
|
};
|
|
3224
3274
|
class Ut extends g {
|
|
3225
3275
|
constructor() {
|
|
@@ -3350,10 +3400,10 @@ Er([
|
|
|
3350
3400
|
l()
|
|
3351
3401
|
], Ut.prototype, "icon", 2);
|
|
3352
3402
|
k("ok-kpi", Ut);
|
|
3353
|
-
var
|
|
3403
|
+
var Cn = Object.defineProperty, zn = Object.getOwnPropertyDescriptor, ii = (n, e, t, o) => {
|
|
3354
3404
|
for (var r = o > 1 ? void 0 : o ? zn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
3355
3405
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
3356
|
-
return o && r &&
|
|
3406
|
+
return o && r && Cn(e, t, r), r;
|
|
3357
3407
|
};
|
|
3358
3408
|
class lo extends g {
|
|
3359
3409
|
static {
|
|
@@ -3417,12 +3467,12 @@ ii([
|
|
|
3417
3467
|
l()
|
|
3418
3468
|
], lo.prototype, "hint", 2);
|
|
3419
3469
|
k("ok-stat", lo);
|
|
3420
|
-
var
|
|
3421
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
3470
|
+
var _n = Object.defineProperty, Sn = Object.getOwnPropertyDescriptor, ai = (n, e, t, o) => {
|
|
3471
|
+
for (var r = o > 1 ? void 0 : o ? Sn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
3422
3472
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
3423
|
-
return o && r &&
|
|
3473
|
+
return o && r && _n(e, t, r), r;
|
|
3424
3474
|
};
|
|
3425
|
-
const
|
|
3475
|
+
const En = {
|
|
3426
3476
|
stepCount: "Step {n} of {total}"
|
|
3427
3477
|
};
|
|
3428
3478
|
class co extends g {
|
|
@@ -3633,7 +3683,7 @@ class co extends g {
|
|
|
3633
3683
|
}
|
|
3634
3684
|
/** Textos efectivos: defaults INGLÉS mezclados con los del consumidor. */
|
|
3635
3685
|
get t() {
|
|
3636
|
-
return { ...
|
|
3686
|
+
return { ...En, ...this.labels };
|
|
3637
3687
|
}
|
|
3638
3688
|
/** Emite ok-step-select al pulsar un paso. */
|
|
3639
3689
|
_select(e) {
|
|
@@ -3700,10 +3750,10 @@ ai([
|
|
|
3700
3750
|
l({ attribute: !1 })
|
|
3701
3751
|
], co.prototype, "labels", 2);
|
|
3702
3752
|
k("ok-stepper", co);
|
|
3703
|
-
var
|
|
3704
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
3753
|
+
var Pn = Object.defineProperty, On = Object.getOwnPropertyDescriptor, Pr = (n, e, t, o) => {
|
|
3754
|
+
for (var r = o > 1 ? void 0 : o ? On(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
3705
3755
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
3706
|
-
return o && r &&
|
|
3756
|
+
return o && r && Pn(e, t, r), r;
|
|
3707
3757
|
};
|
|
3708
3758
|
class Vt extends g {
|
|
3709
3759
|
constructor() {
|
|
@@ -3832,12 +3882,12 @@ Pr([
|
|
|
3832
3882
|
l()
|
|
3833
3883
|
], Vt.prototype, "finishLabel", 2);
|
|
3834
3884
|
k("ok-wizard", Vt);
|
|
3835
|
-
var
|
|
3836
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
3885
|
+
var Mn = Object.defineProperty, An = Object.getOwnPropertyDescriptor, mt = (n, e, t, o) => {
|
|
3886
|
+
for (var r = o > 1 ? void 0 : o ? An(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
3837
3887
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
3838
|
-
return o && r &&
|
|
3888
|
+
return o && r && Mn(e, t, r), r;
|
|
3839
3889
|
};
|
|
3840
|
-
const
|
|
3890
|
+
const Dn = {
|
|
3841
3891
|
customize: "Customize panel",
|
|
3842
3892
|
close: "Close",
|
|
3843
3893
|
presets: "Start from a preset",
|
|
@@ -3867,7 +3917,7 @@ class Te extends g {
|
|
|
3867
3917
|
`;
|
|
3868
3918
|
}
|
|
3869
3919
|
get t() {
|
|
3870
|
-
return { ...
|
|
3920
|
+
return { ...Dn, ...this.labels };
|
|
3871
3921
|
}
|
|
3872
3922
|
get byId() {
|
|
3873
3923
|
return new Map(this.widgets.map((e) => [e.id, e]));
|
|
@@ -3908,7 +3958,7 @@ class Te extends g {
|
|
|
3908
3958
|
</ion-button>` : m}
|
|
3909
3959
|
</div>
|
|
3910
3960
|
<div class="grid">
|
|
3911
|
-
${e.length ?
|
|
3961
|
+
${e.length ? Cr(
|
|
3912
3962
|
e,
|
|
3913
3963
|
(t) => t,
|
|
3914
3964
|
(t) => {
|
|
@@ -4024,12 +4074,12 @@ mt([
|
|
|
4024
4074
|
v()
|
|
4025
4075
|
], Te.prototype, "initialized", 2);
|
|
4026
4076
|
k("ok-widget-board", Te);
|
|
4027
|
-
var
|
|
4028
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
4077
|
+
var jn = Object.defineProperty, Ln = Object.getOwnPropertyDescriptor, fe = (n, e, t, o) => {
|
|
4078
|
+
for (var r = o > 1 ? void 0 : o ? Ln(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
4029
4079
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
4030
|
-
return o && r &&
|
|
4080
|
+
return o && r && jn(e, t, r), r;
|
|
4031
4081
|
};
|
|
4032
|
-
const
|
|
4082
|
+
const In = {
|
|
4033
4083
|
nameLabel: "Name",
|
|
4034
4084
|
emailLabel: "Email",
|
|
4035
4085
|
subjectLabel: "Subject (optional)",
|
|
@@ -4127,7 +4177,7 @@ const Ln = {
|
|
|
4127
4177
|
}
|
|
4128
4178
|
// Textos efectivos: defaults inglés sobreescritos por los pasados desde fuera.
|
|
4129
4179
|
get t() {
|
|
4130
|
-
return { ...
|
|
4180
|
+
return { ...In, ...this.labels };
|
|
4131
4181
|
}
|
|
4132
4182
|
static {
|
|
4133
4183
|
this.EMAIL_RE = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
@@ -4275,14 +4325,14 @@ fe([
|
|
|
4275
4325
|
fe([
|
|
4276
4326
|
v()
|
|
4277
4327
|
], oe.prototype, "sending", 2);
|
|
4278
|
-
let
|
|
4279
|
-
k("ok-contact-form",
|
|
4280
|
-
var
|
|
4281
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
4328
|
+
let Tn = oe;
|
|
4329
|
+
k("ok-contact-form", Tn);
|
|
4330
|
+
var Bn = Object.defineProperty, Fn = Object.getOwnPropertyDescriptor, vt = (n, e, t, o) => {
|
|
4331
|
+
for (var r = o > 1 ? void 0 : o ? Fn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
4282
4332
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
4283
|
-
return o && r &&
|
|
4333
|
+
return o && r && Bn(e, t, r), r;
|
|
4284
4334
|
};
|
|
4285
|
-
const
|
|
4335
|
+
const Rn = {
|
|
4286
4336
|
month: "Month",
|
|
4287
4337
|
agenda: "Agenda",
|
|
4288
4338
|
more: "+{n} more",
|
|
@@ -4567,7 +4617,7 @@ class Be extends g {
|
|
|
4567
4617
|
}
|
|
4568
4618
|
/** Textos efectivos: defaults INGLÉS mezclados con los del consumidor. */
|
|
4569
4619
|
get t() {
|
|
4570
|
-
return { ...
|
|
4620
|
+
return { ...Rn, ...this.labels };
|
|
4571
4621
|
}
|
|
4572
4622
|
// Nombres cortos de los días (Lun–Dom) según el locale actual.
|
|
4573
4623
|
weekdays() {
|
|
@@ -4769,12 +4819,12 @@ vt([
|
|
|
4769
4819
|
v()
|
|
4770
4820
|
], Be.prototype, "cursor", 2);
|
|
4771
4821
|
k("ok-calendar", Be);
|
|
4772
|
-
var
|
|
4773
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
4822
|
+
var Nn = Object.defineProperty, qn = Object.getOwnPropertyDescriptor, bt = (n, e, t, o) => {
|
|
4823
|
+
for (var r = o > 1 ? void 0 : o ? qn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
4774
4824
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
4775
|
-
return o && r &&
|
|
4825
|
+
return o && r && Nn(e, t, r), r;
|
|
4776
4826
|
};
|
|
4777
|
-
const
|
|
4827
|
+
const Un = {
|
|
4778
4828
|
empty: "No cards"
|
|
4779
4829
|
};
|
|
4780
4830
|
class Fe extends g {
|
|
@@ -4987,7 +5037,7 @@ class Fe extends g {
|
|
|
4987
5037
|
`;
|
|
4988
5038
|
}
|
|
4989
5039
|
get t() {
|
|
4990
|
-
return { ...
|
|
5040
|
+
return { ...Un, ...this.labels };
|
|
4991
5041
|
}
|
|
4992
5042
|
// Clona en profundidad (solo los niveles que reordenamos) la prop hacia el estado interno.
|
|
4993
5043
|
syncFromProp() {
|
|
@@ -5137,12 +5187,12 @@ bt([
|
|
|
5137
5187
|
v()
|
|
5138
5188
|
], Fe.prototype, "overAfter", 2);
|
|
5139
5189
|
k("ok-kanban", Fe);
|
|
5140
|
-
var
|
|
5141
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
5190
|
+
var Vn = Object.defineProperty, Hn = Object.getOwnPropertyDescriptor, po = (n, e, t, o) => {
|
|
5191
|
+
for (var r = o > 1 ? void 0 : o ? Hn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
5142
5192
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
5143
|
-
return o && r &&
|
|
5193
|
+
return o && r && Vn(e, t, r), r;
|
|
5144
5194
|
};
|
|
5145
|
-
const
|
|
5195
|
+
const Kn = {
|
|
5146
5196
|
apps: "Apps",
|
|
5147
5197
|
empty: "No apps",
|
|
5148
5198
|
close: "Close"
|
|
@@ -5364,7 +5414,7 @@ class Or extends g {
|
|
|
5364
5414
|
}
|
|
5365
5415
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
5366
5416
|
get t() {
|
|
5367
|
-
return { ...
|
|
5417
|
+
return { ...Kn, ...this.labels };
|
|
5368
5418
|
}
|
|
5369
5419
|
disconnectedCallback() {
|
|
5370
5420
|
super.disconnectedCallback(), this.unbind();
|
|
@@ -5496,12 +5546,12 @@ po([
|
|
|
5496
5546
|
v()
|
|
5497
5547
|
], Or.prototype, "shown", 2);
|
|
5498
5548
|
k("ok-app-launcher", Or);
|
|
5499
|
-
var
|
|
5500
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
5549
|
+
var Yn = Object.defineProperty, Wn = Object.getOwnPropertyDescriptor, Ht = (n, e, t, o) => {
|
|
5550
|
+
for (var r = o > 1 ? void 0 : o ? Wn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
5501
5551
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
5502
|
-
return o && r &&
|
|
5552
|
+
return o && r && Yn(e, t, r), r;
|
|
5503
5553
|
};
|
|
5504
|
-
const
|
|
5554
|
+
const Xn = {
|
|
5505
5555
|
more: "More actions",
|
|
5506
5556
|
menu: "Actions",
|
|
5507
5557
|
empty: "No actions"
|
|
@@ -5622,7 +5672,7 @@ class ft extends g {
|
|
|
5622
5672
|
}
|
|
5623
5673
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
5624
5674
|
get t() {
|
|
5625
|
-
return { ...
|
|
5675
|
+
return { ...Xn, ...this.labels };
|
|
5626
5676
|
}
|
|
5627
5677
|
disconnectedCallback() {
|
|
5628
5678
|
super.disconnectedCallback(), this.unbind();
|
|
@@ -5719,12 +5769,12 @@ Ht([
|
|
|
5719
5769
|
v()
|
|
5720
5770
|
], ft.prototype, "open", 2);
|
|
5721
5771
|
k("ok-split-button", ft);
|
|
5722
|
-
var
|
|
5723
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
5772
|
+
var Gn = Object.defineProperty, Zn = Object.getOwnPropertyDescriptor, Re = (n, e, t, o) => {
|
|
5773
|
+
for (var r = o > 1 ? void 0 : o ? Zn(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
5724
5774
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
5725
|
-
return o && r &&
|
|
5775
|
+
return o && r && Gn(e, t, r), r;
|
|
5726
5776
|
};
|
|
5727
|
-
const
|
|
5777
|
+
const Qn = {
|
|
5728
5778
|
placeholder: "Search…",
|
|
5729
5779
|
empty: "No results"
|
|
5730
5780
|
};
|
|
@@ -5845,7 +5895,7 @@ class ge extends g {
|
|
|
5845
5895
|
}
|
|
5846
5896
|
// Textos efectivos: defaults inglés sobreescritos por los pasados desde fuera.
|
|
5847
5897
|
get t() {
|
|
5848
|
-
return { ...
|
|
5898
|
+
return { ...Qn, ...this.labels };
|
|
5849
5899
|
}
|
|
5850
5900
|
// Placeholder efectivo: prop explícita si se pasó, si no el de los labels.
|
|
5851
5901
|
get effectivePlaceholder() {
|
|
@@ -5971,12 +6021,12 @@ Re([
|
|
|
5971
6021
|
v()
|
|
5972
6022
|
], ge.prototype, "activeIndex", 2);
|
|
5973
6023
|
k("ok-combo", ge);
|
|
5974
|
-
var
|
|
5975
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
6024
|
+
var Jn = Object.defineProperty, el = Object.getOwnPropertyDescriptor, gt = (n, e, t, o) => {
|
|
6025
|
+
for (var r = o > 1 ? void 0 : o ? el(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
5976
6026
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
5977
|
-
return o && r &&
|
|
6027
|
+
return o && r && Jn(e, t, r), r;
|
|
5978
6028
|
};
|
|
5979
|
-
const
|
|
6029
|
+
const tl = {
|
|
5980
6030
|
placeholder: "Add tag…",
|
|
5981
6031
|
removeLabel: "Remove {tag}"
|
|
5982
6032
|
};
|
|
@@ -6139,7 +6189,7 @@ class Ne extends g {
|
|
|
6139
6189
|
}
|
|
6140
6190
|
// Textos efectivos: defaults inglés sobreescritos por los pasados desde fuera.
|
|
6141
6191
|
get t() {
|
|
6142
|
-
return { ...
|
|
6192
|
+
return { ...tl, ...this.labels };
|
|
6143
6193
|
}
|
|
6144
6194
|
// Placeholder efectivo: prop explícita si se pasó, si no el de los labels.
|
|
6145
6195
|
get effectivePlaceholder() {
|
|
@@ -6281,12 +6331,12 @@ gt([
|
|
|
6281
6331
|
v()
|
|
6282
6332
|
], Ne.prototype, "activeIndex", 2);
|
|
6283
6333
|
k("ok-tag-input", Ne);
|
|
6284
|
-
var
|
|
6285
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
6334
|
+
var rl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, Kt = (n, e, t, o) => {
|
|
6335
|
+
for (var r = o > 1 ? void 0 : o ? ol(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
6286
6336
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
6287
|
-
return o && r &&
|
|
6337
|
+
return o && r && rl(e, t, r), r;
|
|
6288
6338
|
};
|
|
6289
|
-
const
|
|
6339
|
+
const il = {
|
|
6290
6340
|
starLabel: (n, e) => `${n} of ${e}`
|
|
6291
6341
|
};
|
|
6292
6342
|
class xt extends g {
|
|
@@ -6370,7 +6420,7 @@ class xt extends g {
|
|
|
6370
6420
|
}
|
|
6371
6421
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
6372
6422
|
get t() {
|
|
6373
|
-
return { ...
|
|
6423
|
+
return { ...il, ...this.labels };
|
|
6374
6424
|
}
|
|
6375
6425
|
// Valor efectivo a pintar: el de hover si lo hay, si no el real.
|
|
6376
6426
|
get displayValue() {
|
|
@@ -6458,12 +6508,12 @@ Kt([
|
|
|
6458
6508
|
v()
|
|
6459
6509
|
], xt.prototype, "hoverValue", 2);
|
|
6460
6510
|
k("ok-rating", xt);
|
|
6461
|
-
var
|
|
6462
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
6511
|
+
var al = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, ho = (n, e, t, o) => {
|
|
6512
|
+
for (var r = o > 1 ? void 0 : o ? sl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
6463
6513
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
6464
|
-
return o && r &&
|
|
6514
|
+
return o && r && al(e, t, r), r;
|
|
6465
6515
|
};
|
|
6466
|
-
const
|
|
6516
|
+
const nl = {
|
|
6467
6517
|
digitLabel: (n, e) => `Digit ${n} of ${e}`
|
|
6468
6518
|
};
|
|
6469
6519
|
class Mr extends g {
|
|
@@ -6521,7 +6571,7 @@ class Mr extends g {
|
|
|
6521
6571
|
}
|
|
6522
6572
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
6523
6573
|
get t() {
|
|
6524
|
-
return { ...
|
|
6574
|
+
return { ...nl, ...this.labels };
|
|
6525
6575
|
}
|
|
6526
6576
|
// Devuelve los inputs del shadow en orden.
|
|
6527
6577
|
get inputs() {
|
|
@@ -6622,12 +6672,12 @@ ho([
|
|
|
6622
6672
|
T("input")
|
|
6623
6673
|
], Mr.prototype, "firstInput", 2);
|
|
6624
6674
|
k("ok-otp", Mr);
|
|
6625
|
-
var
|
|
6626
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
6675
|
+
var ll = Object.defineProperty, cl = Object.getOwnPropertyDescriptor, qe = (n, e, t, o) => {
|
|
6676
|
+
for (var r = o > 1 ? void 0 : o ? cl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
6627
6677
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
6628
|
-
return o && r &&
|
|
6678
|
+
return o && r && ll(e, t, r), r;
|
|
6629
6679
|
};
|
|
6630
|
-
const
|
|
6680
|
+
const dl = {
|
|
6631
6681
|
keypad: "Number pad",
|
|
6632
6682
|
backspace: "Delete"
|
|
6633
6683
|
};
|
|
@@ -6731,7 +6781,7 @@ class xe extends g {
|
|
|
6731
6781
|
}
|
|
6732
6782
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
6733
6783
|
get t() {
|
|
6734
|
-
return { ...
|
|
6784
|
+
return { ...dl, ...this.labels };
|
|
6735
6785
|
}
|
|
6736
6786
|
// Añade un dígito (respetando `length`) y emite eventos.
|
|
6737
6787
|
press(e) {
|
|
@@ -6834,10 +6884,10 @@ qe([
|
|
|
6834
6884
|
l({ attribute: !1 })
|
|
6835
6885
|
], xe.prototype, "labels", 2);
|
|
6836
6886
|
k("ok-pinpad", xe);
|
|
6837
|
-
var
|
|
6838
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
6887
|
+
var pl = Object.defineProperty, hl = Object.getOwnPropertyDescriptor, yt = (n, e, t, o) => {
|
|
6888
|
+
for (var r = o > 1 ? void 0 : o ? hl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
6839
6889
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
6840
|
-
return o && r &&
|
|
6890
|
+
return o && r && pl(e, t, r), r;
|
|
6841
6891
|
};
|
|
6842
6892
|
class Ue extends g {
|
|
6843
6893
|
constructor() {
|
|
@@ -6972,12 +7022,12 @@ yt([
|
|
|
6972
7022
|
v()
|
|
6973
7023
|
], Ue.prototype, "focused", 2);
|
|
6974
7024
|
k("ok-currency", Ue);
|
|
6975
|
-
var
|
|
6976
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
7025
|
+
var ul = Object.defineProperty, ml = Object.getOwnPropertyDescriptor, kt = (n, e, t, o) => {
|
|
7026
|
+
for (var r = o > 1 ? void 0 : o ? ml(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
6977
7027
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
6978
|
-
return o && r &&
|
|
7028
|
+
return o && r && ul(e, t, r), r;
|
|
6979
7029
|
};
|
|
6980
|
-
const
|
|
7030
|
+
const vl = {
|
|
6981
7031
|
country: "Country",
|
|
6982
7032
|
number: "Phone number"
|
|
6983
7033
|
}, Ve = class Pa extends g {
|
|
@@ -7062,7 +7112,7 @@ const ml = {
|
|
|
7062
7112
|
];
|
|
7063
7113
|
}
|
|
7064
7114
|
get t() {
|
|
7065
|
-
return { ...
|
|
7115
|
+
return { ...vl, ...this.labels };
|
|
7066
7116
|
}
|
|
7067
7117
|
// Sincroniza el número interno con la prop `value` (filtrando a dígitos).
|
|
7068
7118
|
willUpdate(e) {
|
|
@@ -7174,14 +7224,14 @@ kt([
|
|
|
7174
7224
|
kt([
|
|
7175
7225
|
v()
|
|
7176
7226
|
], Ve.prototype, "number", 2);
|
|
7177
|
-
let
|
|
7178
|
-
k("ok-phone",
|
|
7179
|
-
var
|
|
7180
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
7227
|
+
let bl = Ve;
|
|
7228
|
+
k("ok-phone", bl);
|
|
7229
|
+
var fl = Object.defineProperty, gl = Object.getOwnPropertyDescriptor, ye = (n, e, t, o) => {
|
|
7230
|
+
for (var r = o > 1 ? void 0 : o ? gl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
7181
7231
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
7182
|
-
return o && r &&
|
|
7232
|
+
return o && r && fl(e, t, r), r;
|
|
7183
7233
|
};
|
|
7184
|
-
const
|
|
7234
|
+
const xl = {
|
|
7185
7235
|
title: "Drag & drop files here or {browse}",
|
|
7186
7236
|
browse: "browse",
|
|
7187
7237
|
errorType: "“{name}” is not an accepted file type.",
|
|
@@ -7351,7 +7401,7 @@ class ie extends g {
|
|
|
7351
7401
|
}
|
|
7352
7402
|
// Textos efectivos: defaults inglés sobreescritos por los pasados desde fuera.
|
|
7353
7403
|
get t() {
|
|
7354
|
-
return { ...
|
|
7404
|
+
return { ...xl, ...this.labels };
|
|
7355
7405
|
}
|
|
7356
7406
|
// Formatea bytes a una etiqueta legible (B, KB, MB…).
|
|
7357
7407
|
formatSize(e) {
|
|
@@ -7511,10 +7561,10 @@ ye([
|
|
|
7511
7561
|
T('input[type="file"]')
|
|
7512
7562
|
], ie.prototype, "input", 2);
|
|
7513
7563
|
k("ok-dropzone", ie);
|
|
7514
|
-
var
|
|
7515
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
7564
|
+
var yl = Object.defineProperty, kl = Object.getOwnPropertyDescriptor, Yt = (n, e, t, o) => {
|
|
7565
|
+
for (var r = o > 1 ? void 0 : o ? kl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
7516
7566
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
7517
|
-
return o && r &&
|
|
7567
|
+
return o && r && yl(e, t, r), r;
|
|
7518
7568
|
};
|
|
7519
7569
|
class wt extends g {
|
|
7520
7570
|
constructor() {
|
|
@@ -7622,12 +7672,12 @@ Yt([
|
|
|
7622
7672
|
l({ type: Boolean })
|
|
7623
7673
|
], wt.prototype, "filled", 2);
|
|
7624
7674
|
k("ok-sparkline", wt);
|
|
7625
|
-
var
|
|
7626
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
7675
|
+
var wl = Object.defineProperty, $l = Object.getOwnPropertyDescriptor, $t = (n, e, t, o) => {
|
|
7676
|
+
for (var r = o > 1 ? void 0 : o ? $l(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
7627
7677
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
7628
|
-
return o && r &&
|
|
7678
|
+
return o && r && wl(e, t, r), r;
|
|
7629
7679
|
};
|
|
7630
|
-
const
|
|
7680
|
+
const Cl = {
|
|
7631
7681
|
composerPlaceholder: "Type a message…",
|
|
7632
7682
|
send: "Send"
|
|
7633
7683
|
};
|
|
@@ -7809,7 +7859,7 @@ class He extends g {
|
|
|
7809
7859
|
}
|
|
7810
7860
|
/** Textos efectivos (defaults inglés + overrides). */
|
|
7811
7861
|
get t() {
|
|
7812
|
-
return {
|
|
7862
|
+
return { ...Cl, ...this.labels };
|
|
7813
7863
|
}
|
|
7814
7864
|
/** Placeholder efectivo: prop explícita o el de labels. */
|
|
7815
7865
|
get effectivePlaceholder() {
|
|
@@ -7913,12 +7963,12 @@ $t([
|
|
|
7913
7963
|
T("ion-textarea")
|
|
7914
7964
|
], He.prototype, "textareaEl", 2);
|
|
7915
7965
|
k("ok-chat", He);
|
|
7916
|
-
var zl = Object.defineProperty,
|
|
7917
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
7966
|
+
var zl = Object.defineProperty, _l = Object.getOwnPropertyDescriptor, ke = (n, e, t, o) => {
|
|
7967
|
+
for (var r = o > 1 ? void 0 : o ? _l(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
7918
7968
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
7919
7969
|
return o && r && zl(e, t, r), r;
|
|
7920
7970
|
};
|
|
7921
|
-
const
|
|
7971
|
+
const Sl = {
|
|
7922
7972
|
prevDay: "Previous day",
|
|
7923
7973
|
nextDay: "Next day",
|
|
7924
7974
|
empty: "No resources to display."
|
|
@@ -8190,7 +8240,7 @@ class ae extends g {
|
|
|
8190
8240
|
}
|
|
8191
8241
|
/** Textos efectivos: defaults INGLÉS mezclados con los del consumidor. */
|
|
8192
8242
|
get t() {
|
|
8193
|
-
return { ...
|
|
8243
|
+
return { ...Sl, ...this.labels };
|
|
8194
8244
|
}
|
|
8195
8245
|
// ── Helpers de fecha ──────────────────────────────────────────
|
|
8196
8246
|
// Convierte una `Date` a clave local `YYYY-MM-DD`.
|
|
@@ -8388,12 +8438,12 @@ ke([
|
|
|
8388
8438
|
v()
|
|
8389
8439
|
], ae.prototype, "cursor", 2);
|
|
8390
8440
|
k("ok-scheduler", ae);
|
|
8391
|
-
var
|
|
8392
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
8441
|
+
var El = Object.defineProperty, Pl = Object.getOwnPropertyDescriptor, Ke = (n, e, t, o) => {
|
|
8442
|
+
for (var r = o > 1 ? void 0 : o ? Pl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
8393
8443
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
8394
|
-
return o && r &&
|
|
8444
|
+
return o && r && El(e, t, r), r;
|
|
8395
8445
|
};
|
|
8396
|
-
const
|
|
8446
|
+
const Ol = {
|
|
8397
8447
|
menu: "Menu"
|
|
8398
8448
|
};
|
|
8399
8449
|
class we extends g {
|
|
@@ -8693,7 +8743,7 @@ class we extends g {
|
|
|
8693
8743
|
}
|
|
8694
8744
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
8695
8745
|
get t() {
|
|
8696
|
-
return { ...
|
|
8746
|
+
return { ...Ol, ...this.labels };
|
|
8697
8747
|
}
|
|
8698
8748
|
connectedCallback() {
|
|
8699
8749
|
super.connectedCallback(), typeof ResizeObserver < "u" && (this.ro = new ResizeObserver((e) => {
|
|
@@ -8939,12 +8989,12 @@ Ke([
|
|
|
8939
8989
|
v()
|
|
8940
8990
|
], we.prototype, "isMobile", 2);
|
|
8941
8991
|
k("ok-menubar", we);
|
|
8942
|
-
var
|
|
8943
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
8992
|
+
var Ml = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, Ct = (n, e, t, o) => {
|
|
8993
|
+
for (var r = o > 1 ? void 0 : o ? Al(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
8944
8994
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
8945
|
-
return o && r &&
|
|
8995
|
+
return o && r && Ml(e, t, r), r;
|
|
8946
8996
|
};
|
|
8947
|
-
const
|
|
8997
|
+
const Dl = {
|
|
8948
8998
|
previous: "Previous",
|
|
8949
8999
|
next: "Next",
|
|
8950
9000
|
goToSlide: "Go to slide {n}"
|
|
@@ -9089,7 +9139,7 @@ class Ye extends g {
|
|
|
9089
9139
|
`;
|
|
9090
9140
|
}
|
|
9091
9141
|
get t() {
|
|
9092
|
-
return { ...
|
|
9142
|
+
return { ...Dl, ...this.labels };
|
|
9093
9143
|
}
|
|
9094
9144
|
disconnectedCallback() {
|
|
9095
9145
|
super.disconnectedCallback(), this.stopAutoplay();
|
|
@@ -9213,34 +9263,34 @@ class Ye extends g {
|
|
|
9213
9263
|
return s`${e}`;
|
|
9214
9264
|
}
|
|
9215
9265
|
}
|
|
9216
|
-
|
|
9266
|
+
Ct([
|
|
9217
9267
|
l({ attribute: !1 })
|
|
9218
9268
|
], Ye.prototype, "slides", 2);
|
|
9219
|
-
|
|
9269
|
+
Ct([
|
|
9220
9270
|
l({ type: Number })
|
|
9221
9271
|
], Ye.prototype, "index", 2);
|
|
9222
|
-
|
|
9272
|
+
Ct([
|
|
9223
9273
|
l({ type: Number })
|
|
9224
9274
|
], Ye.prototype, "autoplay", 2);
|
|
9225
|
-
|
|
9275
|
+
Ct([
|
|
9226
9276
|
l({ type: Boolean })
|
|
9227
9277
|
], Ye.prototype, "loop", 2);
|
|
9228
|
-
|
|
9278
|
+
Ct([
|
|
9229
9279
|
l({ attribute: !1 })
|
|
9230
9280
|
], Ye.prototype, "labels", 2);
|
|
9231
|
-
|
|
9281
|
+
Ct([
|
|
9232
9282
|
v()
|
|
9233
9283
|
], Ye.prototype, "slottedCount", 2);
|
|
9234
|
-
|
|
9284
|
+
Ct([
|
|
9235
9285
|
T(".track")
|
|
9236
9286
|
], Ye.prototype, "trackEl", 2);
|
|
9237
9287
|
k("ok-carousel", Ye);
|
|
9238
|
-
var
|
|
9239
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
9288
|
+
var jl = Object.defineProperty, Ll = Object.getOwnPropertyDescriptor, zt = (n, e, t, o) => {
|
|
9289
|
+
for (var r = o > 1 ? void 0 : o ? Ll(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
9240
9290
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
9241
|
-
return o && r &&
|
|
9291
|
+
return o && r && jl(e, t, r), r;
|
|
9242
9292
|
};
|
|
9243
|
-
const
|
|
9293
|
+
const Il = {
|
|
9244
9294
|
clear: "Clear",
|
|
9245
9295
|
export: "Export",
|
|
9246
9296
|
exportFilename: "signature.png"
|
|
@@ -9299,7 +9349,7 @@ class We extends g {
|
|
|
9299
9349
|
`;
|
|
9300
9350
|
}
|
|
9301
9351
|
get t() {
|
|
9302
|
-
return { ...
|
|
9352
|
+
return { ...Il, ...this.labels };
|
|
9303
9353
|
}
|
|
9304
9354
|
firstUpdated() {
|
|
9305
9355
|
this.ctx = this.canvas.getContext("2d"), this.setupCanvas(), this.ro = new ResizeObserver(() => this.setupCanvas(!0)), this.ro.observe(this.canvas);
|
|
@@ -9409,32 +9459,32 @@ class We extends g {
|
|
|
9409
9459
|
t.href = e, t.download = this.t.exportFilename, t.click();
|
|
9410
9460
|
}
|
|
9411
9461
|
}
|
|
9412
|
-
|
|
9462
|
+
zt([
|
|
9413
9463
|
l({ attribute: "pen-color" })
|
|
9414
9464
|
], We.prototype, "penColor", 2);
|
|
9415
|
-
|
|
9465
|
+
zt([
|
|
9416
9466
|
l({ type: Number, attribute: "line-width" })
|
|
9417
9467
|
], We.prototype, "lineWidth", 2);
|
|
9418
|
-
|
|
9468
|
+
zt([
|
|
9419
9469
|
l()
|
|
9420
9470
|
], We.prototype, "background", 2);
|
|
9421
|
-
|
|
9471
|
+
zt([
|
|
9422
9472
|
l({ type: Number })
|
|
9423
9473
|
], We.prototype, "height", 2);
|
|
9424
|
-
|
|
9474
|
+
zt([
|
|
9425
9475
|
l({ type: Boolean, attribute: "show-export" })
|
|
9426
9476
|
], We.prototype, "showExport", 2);
|
|
9427
|
-
|
|
9477
|
+
zt([
|
|
9428
9478
|
l({ attribute: !1 })
|
|
9429
9479
|
], We.prototype, "labels", 2);
|
|
9430
|
-
|
|
9480
|
+
zt([
|
|
9431
9481
|
T("canvas")
|
|
9432
9482
|
], We.prototype, "canvas", 2);
|
|
9433
9483
|
k("ok-signature", We);
|
|
9434
|
-
var
|
|
9435
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
9484
|
+
var Tl = Object.defineProperty, Bl = Object.getOwnPropertyDescriptor, Wt = (n, e, t, o) => {
|
|
9485
|
+
for (var r = o > 1 ? void 0 : o ? Bl(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
9436
9486
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
9437
|
-
return o && r &&
|
|
9487
|
+
return o && r && Tl(e, t, r), r;
|
|
9438
9488
|
};
|
|
9439
9489
|
const yr = new Uint8Array(512), Io = new Uint8Array(256);
|
|
9440
9490
|
(() => {
|
|
@@ -9446,7 +9496,7 @@ const yr = new Uint8Array(512), Io = new Uint8Array(256);
|
|
|
9446
9496
|
function Oa(n, e) {
|
|
9447
9497
|
return n === 0 || e === 0 ? 0 : yr[Io[n] + Io[e]];
|
|
9448
9498
|
}
|
|
9449
|
-
function
|
|
9499
|
+
function Fl(n) {
|
|
9450
9500
|
let e = new Uint8Array([1]);
|
|
9451
9501
|
for (let t = 0; t < n; t++) {
|
|
9452
9502
|
const o = new Uint8Array(e.length + 1);
|
|
@@ -9456,8 +9506,8 @@ function Bl(n) {
|
|
|
9456
9506
|
}
|
|
9457
9507
|
return e;
|
|
9458
9508
|
}
|
|
9459
|
-
function
|
|
9460
|
-
const t =
|
|
9509
|
+
function Rl(n, e) {
|
|
9510
|
+
const t = Fl(e), o = new Uint8Array(n.length + e);
|
|
9461
9511
|
o.set(n);
|
|
9462
9512
|
for (let r = 0; r < n.length; r++) {
|
|
9463
9513
|
const i = o[r];
|
|
@@ -9467,7 +9517,7 @@ function Fl(n, e) {
|
|
|
9467
9517
|
}
|
|
9468
9518
|
return o.slice(n.length);
|
|
9469
9519
|
}
|
|
9470
|
-
const Ma = ["L", "M", "Q", "H"],
|
|
9520
|
+
const Ma = ["L", "M", "Q", "H"], Nl = [
|
|
9471
9521
|
26,
|
|
9472
9522
|
44,
|
|
9473
9523
|
70,
|
|
@@ -9508,7 +9558,7 @@ const Ma = ["L", "M", "Q", "H"], Rl = [
|
|
|
9508
9558
|
3362,
|
|
9509
9559
|
3532,
|
|
9510
9560
|
3706
|
|
9511
|
-
],
|
|
9561
|
+
], ql = [
|
|
9512
9562
|
/* v1 */
|
|
9513
9563
|
[[7, 1, 19, 0, 0], [10, 1, 16, 0, 0], [13, 1, 13, 0, 0], [17, 1, 9, 0, 0]],
|
|
9514
9564
|
/* v2 */
|
|
@@ -9589,7 +9639,7 @@ const Ma = ["L", "M", "Q", "H"], Rl = [
|
|
|
9589
9639
|
[[30, 20, 117, 4, 118], [28, 40, 47, 7, 48], [30, 43, 24, 22, 25], [30, 10, 15, 67, 16]],
|
|
9590
9640
|
/* v40 */
|
|
9591
9641
|
[[30, 19, 118, 6, 119], [28, 18, 47, 31, 48], [30, 34, 24, 34, 25], [30, 20, 15, 61, 16]]
|
|
9592
|
-
],
|
|
9642
|
+
], Ul = [
|
|
9593
9643
|
[],
|
|
9594
9644
|
[6, 18],
|
|
9595
9645
|
[6, 22],
|
|
@@ -9630,7 +9680,7 @@ const Ma = ["L", "M", "Q", "H"], Rl = [
|
|
|
9630
9680
|
[6, 32, 58, 84, 110, 136, 162],
|
|
9631
9681
|
[6, 26, 54, 82, 110, 138, 166],
|
|
9632
9682
|
[6, 30, 58, 86, 114, 142, 170]
|
|
9633
|
-
],
|
|
9683
|
+
], Vl = [
|
|
9634
9684
|
31892,
|
|
9635
9685
|
34236,
|
|
9636
9686
|
39577,
|
|
@@ -9665,7 +9715,7 @@ const Ma = ["L", "M", "Q", "H"], Rl = [
|
|
|
9665
9715
|
158308,
|
|
9666
9716
|
161089,
|
|
9667
9717
|
167017
|
|
9668
|
-
],
|
|
9718
|
+
], Hl = [
|
|
9669
9719
|
21522,
|
|
9670
9720
|
20773,
|
|
9671
9721
|
24188,
|
|
@@ -9698,8 +9748,8 @@ const Ma = ["L", "M", "Q", "H"], Rl = [
|
|
|
9698
9748
|
8579,
|
|
9699
9749
|
11994,
|
|
9700
9750
|
11245
|
|
9701
|
-
],
|
|
9702
|
-
class
|
|
9751
|
+
], Kl = { L: 1, M: 0, Q: 3, H: 2 };
|
|
9752
|
+
class Yl {
|
|
9703
9753
|
constructor() {
|
|
9704
9754
|
this.bits = [];
|
|
9705
9755
|
}
|
|
@@ -9711,11 +9761,11 @@ class Kl {
|
|
|
9711
9761
|
return this.bits.length;
|
|
9712
9762
|
}
|
|
9713
9763
|
}
|
|
9714
|
-
function
|
|
9764
|
+
function Wl(n) {
|
|
9715
9765
|
return n <= 9 ? 8 : 16;
|
|
9716
9766
|
}
|
|
9717
|
-
function
|
|
9718
|
-
const o =
|
|
9767
|
+
function Xl(n, e, t) {
|
|
9768
|
+
const o = Nl[e - 1], r = ql[e - 1][Ma.indexOf(t)], i = r[0], a = r[1] + r[3], d = i * a, c = o - d, u = c * 8, h = Wl(e), p = new Yl();
|
|
9719
9769
|
p.put(4, 4), p.put(n.length, h);
|
|
9720
9770
|
for (const D of n) p.put(D, 8);
|
|
9721
9771
|
if (p.length > u) return null;
|
|
@@ -9728,17 +9778,17 @@ function Wl(n, e, t) {
|
|
|
9728
9778
|
const $ = new Uint8Array(c);
|
|
9729
9779
|
for (let D = 0; D < c; D++) {
|
|
9730
9780
|
let q = 0;
|
|
9731
|
-
for (let
|
|
9781
|
+
for (let zo = 0; zo < 8; zo++) q = q << 1 | p.bits[D * 8 + zo];
|
|
9732
9782
|
$[D] = q;
|
|
9733
9783
|
}
|
|
9734
9784
|
const M = [], w = [];
|
|
9735
|
-
let
|
|
9785
|
+
let C = 0;
|
|
9736
9786
|
const E = [];
|
|
9737
9787
|
for (let D = 0; D < r[1]; D++) E.push([r[2]]);
|
|
9738
9788
|
for (let D = 0; D < r[3]; D++) E.push([r[4]]);
|
|
9739
9789
|
for (const [D] of E) {
|
|
9740
|
-
const q = $.slice(
|
|
9741
|
-
|
|
9790
|
+
const q = $.slice(C, C + D);
|
|
9791
|
+
C += D, M.push(q), w.push(Rl(q, i));
|
|
9742
9792
|
}
|
|
9743
9793
|
const P = new Uint8Array(o);
|
|
9744
9794
|
let j = 0;
|
|
@@ -9749,13 +9799,13 @@ function Wl(n, e, t) {
|
|
|
9749
9799
|
for (const q of w) P[j++] = q[D];
|
|
9750
9800
|
return P;
|
|
9751
9801
|
}
|
|
9752
|
-
function
|
|
9753
|
-
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,
|
|
9754
|
-
r[w][
|
|
9755
|
-
}, d = (w,
|
|
9802
|
+
function Gl(n, e, t) {
|
|
9803
|
+
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
|
+
r[w][C] = E, P && (i[w][C] = !0);
|
|
9805
|
+
}, d = (w, C) => {
|
|
9756
9806
|
for (let E = -1; E <= 7; E++)
|
|
9757
9807
|
for (let P = -1; P <= 7; P++) {
|
|
9758
|
-
const j = w + E, K =
|
|
9808
|
+
const j = w + E, K = C + P;
|
|
9759
9809
|
if (j < 0 || j >= o || K < 0 || K >= o) continue;
|
|
9760
9810
|
const D = E >= 0 && E <= 6 && (P === 0 || P === 6) || P >= 0 && P <= 6 && (E === 0 || E === 6), q = E >= 2 && E <= 4 && P >= 2 && P <= 4;
|
|
9761
9811
|
a(j, K, D || q ? 1 : 0);
|
|
@@ -9763,17 +9813,17 @@ function Xl(n, e, t) {
|
|
|
9763
9813
|
};
|
|
9764
9814
|
d(0, 0), d(0, o - 7), d(o - 7, 0);
|
|
9765
9815
|
for (let w = 8; w < o - 8; w++) {
|
|
9766
|
-
const
|
|
9767
|
-
a(6, w,
|
|
9816
|
+
const C = w % 2 === 0 ? 1 : 0;
|
|
9817
|
+
a(6, w, C), a(w, 6, C);
|
|
9768
9818
|
}
|
|
9769
|
-
const c =
|
|
9819
|
+
const c = Ul[e - 1];
|
|
9770
9820
|
for (const w of c)
|
|
9771
|
-
for (const
|
|
9772
|
-
if (!i[w][
|
|
9821
|
+
for (const C of c)
|
|
9822
|
+
if (!i[w][C])
|
|
9773
9823
|
for (let E = -2; E <= 2; E++)
|
|
9774
9824
|
for (let P = -2; P <= 2; P++) {
|
|
9775
9825
|
const j = Math.max(Math.abs(E), Math.abs(P));
|
|
9776
|
-
a(w + E,
|
|
9826
|
+
a(w + E, C + P, j === 1 ? 0 : 1);
|
|
9777
9827
|
}
|
|
9778
9828
|
a(o - 8, 8, 1);
|
|
9779
9829
|
for (let w = 0; w < 9; w++)
|
|
@@ -9782,15 +9832,15 @@ function Xl(n, e, t) {
|
|
|
9782
9832
|
i[8][o - 1 - w] = !0, i[o - 1 - w][8] = !0;
|
|
9783
9833
|
if (i[8][8] = !0, i[8][7] = !0, i[7][8] = !0, e >= 7)
|
|
9784
9834
|
for (let w = 0; w < 6; w++)
|
|
9785
|
-
for (let
|
|
9786
|
-
i[w][o - 11 +
|
|
9835
|
+
for (let C = 0; C < 3; C++)
|
|
9836
|
+
i[w][o - 11 + C] = !0, i[o - 11 + C][w] = !0;
|
|
9787
9837
|
let u = 0;
|
|
9788
9838
|
const h = n.length * 8, p = (w) => w < h ? n[w >> 3] >> 7 - (w & 7) & 1 : 0;
|
|
9789
9839
|
let b = !0;
|
|
9790
9840
|
for (let w = o - 1; w > 0; w -= 2) {
|
|
9791
9841
|
w === 6 && w--;
|
|
9792
|
-
for (let
|
|
9793
|
-
const E = b ? o - 1 -
|
|
9842
|
+
for (let C = 0; C < o; C++) {
|
|
9843
|
+
const E = b ? o - 1 - C : C;
|
|
9794
9844
|
for (let P = 0; P < 2; P++) {
|
|
9795
9845
|
const j = w - P;
|
|
9796
9846
|
i[E][j] || r[E][j] !== null || (r[E][j] = p(u), u++);
|
|
@@ -9799,44 +9849,44 @@ function Xl(n, e, t) {
|
|
|
9799
9849
|
b = !b;
|
|
9800
9850
|
}
|
|
9801
9851
|
const f = [
|
|
9802
|
-
(w,
|
|
9852
|
+
(w, C) => (w + C) % 2 === 0,
|
|
9803
9853
|
(w) => w % 2 === 0,
|
|
9804
|
-
(w,
|
|
9805
|
-
(w,
|
|
9806
|
-
(w,
|
|
9807
|
-
(w,
|
|
9808
|
-
(w,
|
|
9809
|
-
(w,
|
|
9854
|
+
(w, C) => C % 3 === 0,
|
|
9855
|
+
(w, C) => (w + C) % 3 === 0,
|
|
9856
|
+
(w, C) => (Math.floor(w / 2) + Math.floor(C / 3)) % 2 === 0,
|
|
9857
|
+
(w, C) => w * C % 2 + w * C % 3 === 0,
|
|
9858
|
+
(w, C) => (w * C % 2 + w * C % 3) % 2 === 0,
|
|
9859
|
+
(w, C) => ((w + C) % 2 + w * C % 3) % 2 === 0
|
|
9810
9860
|
];
|
|
9811
9861
|
let x = 0, $ = 1 / 0, M = [];
|
|
9812
9862
|
for (let w = 0; w < 8; w++) {
|
|
9813
|
-
const
|
|
9863
|
+
const C = Array.from({ length: o }, () => new Array(o).fill(!1));
|
|
9814
9864
|
for (let P = 0; P < o; P++)
|
|
9815
9865
|
for (let j = 0; j < o; j++) {
|
|
9816
9866
|
let K = r[P][j] === 1;
|
|
9817
|
-
!i[P][j] && f[w](P, j) && (K = !K),
|
|
9867
|
+
!i[P][j] && f[w](P, j) && (K = !K), C[P][j] = K;
|
|
9818
9868
|
}
|
|
9819
|
-
|
|
9820
|
-
const E =
|
|
9821
|
-
E < $ && ($ = E, x = w, M =
|
|
9869
|
+
Zl(C, i, e, t, w);
|
|
9870
|
+
const E = Ql(C);
|
|
9871
|
+
E < $ && ($ = E, x = w, M = C);
|
|
9822
9872
|
}
|
|
9823
9873
|
return M;
|
|
9824
9874
|
}
|
|
9825
|
-
function
|
|
9826
|
-
const i = n.length, a =
|
|
9875
|
+
function Zl(n, e, t, o, r) {
|
|
9876
|
+
const i = n.length, a = Hl[Kl[o] << 3 | r];
|
|
9827
9877
|
for (let d = 0; d < 15; d++) {
|
|
9828
9878
|
const c = (a >> d & 1) === 1;
|
|
9829
9879
|
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;
|
|
9830
9880
|
}
|
|
9831
9881
|
if (n[i - 8][8] = !0, t >= 7) {
|
|
9832
|
-
const d =
|
|
9882
|
+
const d = Vl[t - 7];
|
|
9833
9883
|
for (let c = 0; c < 18; c++) {
|
|
9834
9884
|
const u = (d >> c & 1) === 1, h = Math.floor(c / 3), p = c % 3;
|
|
9835
9885
|
n[h][i - 11 + p] = u, n[i - 11 + p][h] = u;
|
|
9836
9886
|
}
|
|
9837
9887
|
}
|
|
9838
9888
|
}
|
|
9839
|
-
function
|
|
9889
|
+
function Ql(n) {
|
|
9840
9890
|
const e = n.length;
|
|
9841
9891
|
let t = 0;
|
|
9842
9892
|
const o = (h) => {
|
|
@@ -9873,11 +9923,11 @@ function Zl(n) {
|
|
|
9873
9923
|
const c = d * 100 / (e * e), u = Math.floor(Math.abs(c - 50) / 5);
|
|
9874
9924
|
return t += u * 10, t;
|
|
9875
9925
|
}
|
|
9876
|
-
function
|
|
9926
|
+
function Jl(n, e) {
|
|
9877
9927
|
const t = new TextEncoder().encode(n);
|
|
9878
9928
|
for (let o = 1; o <= 40; o++) {
|
|
9879
|
-
const r =
|
|
9880
|
-
if (r) return
|
|
9929
|
+
const r = Xl(t, o, e);
|
|
9930
|
+
if (r) return Gl(r, o, e);
|
|
9881
9931
|
}
|
|
9882
9932
|
return null;
|
|
9883
9933
|
}
|
|
@@ -9912,7 +9962,7 @@ class _t extends g {
|
|
|
9912
9962
|
}
|
|
9913
9963
|
render() {
|
|
9914
9964
|
if (!this.value) return s``;
|
|
9915
|
-
const e = Ma.includes(this.ec) ? this.ec : "M", t =
|
|
9965
|
+
const e = Ma.includes(this.ec) ? this.ec : "M", t = Jl(this.value, e);
|
|
9916
9966
|
if (!t) return s``;
|
|
9917
9967
|
const o = t.length, r = Math.max(0, Math.floor(this.margin)), i = o + r * 2;
|
|
9918
9968
|
let a = "";
|
|
@@ -9956,12 +10006,12 @@ Wt([
|
|
|
9956
10006
|
l({ type: Number })
|
|
9957
10007
|
], _t.prototype, "margin", 2);
|
|
9958
10008
|
k("ok-qr", _t);
|
|
9959
|
-
var
|
|
9960
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
10009
|
+
var ec = Object.defineProperty, tc = Object.getOwnPropertyDescriptor, $e = (n, e, t, o) => {
|
|
10010
|
+
for (var r = o > 1 ? void 0 : o ? tc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
9961
10011
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
9962
|
-
return o && r &&
|
|
10012
|
+
return o && r && ec(e, t, r), r;
|
|
9963
10013
|
};
|
|
9964
|
-
const
|
|
10014
|
+
const rc = {
|
|
9965
10015
|
play: "Play",
|
|
9966
10016
|
pause: "Pause",
|
|
9967
10017
|
mute: "Mute",
|
|
@@ -10079,7 +10129,7 @@ class se extends g {
|
|
|
10079
10129
|
`;
|
|
10080
10130
|
}
|
|
10081
10131
|
get t() {
|
|
10082
|
-
return { ...
|
|
10132
|
+
return { ...rc, ...this.labels };
|
|
10083
10133
|
}
|
|
10084
10134
|
// Alterna play/pausa sobre el elemento nativo.
|
|
10085
10135
|
togglePlay() {
|
|
@@ -10142,7 +10192,7 @@ class se extends g {
|
|
|
10142
10192
|
return `${t}:${o.toString().padStart(2, "0")}`;
|
|
10143
10193
|
}
|
|
10144
10194
|
render() {
|
|
10145
|
-
const e = this.duration ? this.current / this.duration * 100 : 0, t = this.muted || this.volume === 0 ? _a : this.volume < 0.5 ?
|
|
10195
|
+
const e = this.duration ? this.current / this.duration * 100 : 0, t = this.muted || this.volume === 0 ? _a : this.volume < 0.5 ? za : Ca;
|
|
10146
10196
|
return s`
|
|
10147
10197
|
<div class="player">
|
|
10148
10198
|
${this.title ? s`<div class="title">${this.title}</div>` : ""}
|
|
@@ -10228,12 +10278,12 @@ $e([
|
|
|
10228
10278
|
T("audio")
|
|
10229
10279
|
], se.prototype, "audioEl", 2);
|
|
10230
10280
|
k("ok-audio", se);
|
|
10231
|
-
var
|
|
10232
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
10281
|
+
var oc = Object.defineProperty, ic = Object.getOwnPropertyDescriptor, ne = (n, e, t, o) => {
|
|
10282
|
+
for (var r = o > 1 ? void 0 : o ? ic(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
10233
10283
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
10234
|
-
return o && r &&
|
|
10284
|
+
return o && r && oc(e, t, r), r;
|
|
10235
10285
|
};
|
|
10236
|
-
const
|
|
10286
|
+
const ac = {
|
|
10237
10287
|
play: "Play",
|
|
10238
10288
|
pause: "Pause",
|
|
10239
10289
|
mute: "Mute",
|
|
@@ -10381,7 +10431,7 @@ class G extends g {
|
|
|
10381
10431
|
`;
|
|
10382
10432
|
}
|
|
10383
10433
|
get t() {
|
|
10384
|
-
return { ...
|
|
10434
|
+
return { ...ac, ...this.labels };
|
|
10385
10435
|
}
|
|
10386
10436
|
// Alterna play/pausa sobre el elemento nativo.
|
|
10387
10437
|
togglePlay() {
|
|
@@ -10550,12 +10600,12 @@ ne([
|
|
|
10550
10600
|
T(".stage")
|
|
10551
10601
|
], G.prototype, "stageEl", 2);
|
|
10552
10602
|
k("ok-video", G);
|
|
10553
|
-
var
|
|
10554
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
10603
|
+
var sc = Object.defineProperty, nc = Object.getOwnPropertyDescriptor, uo = (n, e, t, o) => {
|
|
10604
|
+
for (var r = o > 1 ? void 0 : o ? nc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
10555
10605
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
10556
|
-
return o && r &&
|
|
10606
|
+
return o && r && sc(e, t, r), r;
|
|
10557
10607
|
};
|
|
10558
|
-
const
|
|
10608
|
+
const lc = {
|
|
10559
10609
|
documentTitle: "PDF document",
|
|
10560
10610
|
open: "Open",
|
|
10561
10611
|
openAria: "Open or download PDF",
|
|
@@ -10645,7 +10695,7 @@ class Ar extends g {
|
|
|
10645
10695
|
`;
|
|
10646
10696
|
}
|
|
10647
10697
|
get t() {
|
|
10648
|
-
return { ...
|
|
10698
|
+
return { ...lc, ...this.labels };
|
|
10649
10699
|
}
|
|
10650
10700
|
// Abre el PDF en una pestaña nueva (descarga / vista a pantalla completa del navegador).
|
|
10651
10701
|
open() {
|
|
@@ -10696,12 +10746,12 @@ uo([
|
|
|
10696
10746
|
l({ attribute: !1 })
|
|
10697
10747
|
], Ar.prototype, "labels", 2);
|
|
10698
10748
|
k("ok-pdf", Ar);
|
|
10699
|
-
var
|
|
10700
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
10749
|
+
var cc = Object.defineProperty, dc = Object.getOwnPropertyDescriptor, si = (n, e, t, o) => {
|
|
10750
|
+
for (var r = o > 1 ? void 0 : o ? dc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
10701
10751
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
10702
|
-
return o && r &&
|
|
10752
|
+
return o && r && cc(e, t, r), r;
|
|
10703
10753
|
};
|
|
10704
|
-
const
|
|
10754
|
+
const pc = {
|
|
10705
10755
|
empty: "No receipt data.",
|
|
10706
10756
|
phone: "Tel.",
|
|
10707
10757
|
receipt: "Receipt",
|
|
@@ -10770,7 +10820,7 @@ class mo extends g {
|
|
|
10770
10820
|
`;
|
|
10771
10821
|
}
|
|
10772
10822
|
get t() {
|
|
10773
|
-
return { ...
|
|
10823
|
+
return { ...pc, ...this.labels };
|
|
10774
10824
|
}
|
|
10775
10825
|
cur() {
|
|
10776
10826
|
return this.receipt?.currency ?? "€";
|
|
@@ -10873,12 +10923,12 @@ si([
|
|
|
10873
10923
|
l({ attribute: !1 })
|
|
10874
10924
|
], mo.prototype, "labels", 2);
|
|
10875
10925
|
k("ok-receipt", mo);
|
|
10876
|
-
var
|
|
10877
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
10926
|
+
var hc = Object.defineProperty, uc = Object.getOwnPropertyDescriptor, ni = (n, e, t, o) => {
|
|
10927
|
+
for (var r = o > 1 ? void 0 : o ? uc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
10878
10928
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
10879
|
-
return o && r &&
|
|
10929
|
+
return o && r && hc(e, t, r), r;
|
|
10880
10930
|
};
|
|
10881
|
-
const
|
|
10931
|
+
const mc = {
|
|
10882
10932
|
empty: "No invoice data.",
|
|
10883
10933
|
invoice: "Invoice",
|
|
10884
10934
|
number: "No.",
|
|
@@ -10968,7 +11018,7 @@ class vo extends g {
|
|
|
10968
11018
|
`;
|
|
10969
11019
|
}
|
|
10970
11020
|
get t() {
|
|
10971
|
-
return { ...
|
|
11021
|
+
return { ...mc, ...this.labels };
|
|
10972
11022
|
}
|
|
10973
11023
|
cur() {
|
|
10974
11024
|
return this.invoice?.currency ?? "€";
|
|
@@ -11082,10 +11132,10 @@ ni([
|
|
|
11082
11132
|
l({ attribute: !1 })
|
|
11083
11133
|
], vo.prototype, "labels", 2);
|
|
11084
11134
|
k("ok-invoice", vo);
|
|
11085
|
-
var
|
|
11086
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
11135
|
+
var vc = Object.defineProperty, bc = Object.getOwnPropertyDescriptor, Aa = (n, e, t, o) => {
|
|
11136
|
+
for (var r = o > 1 ? void 0 : o ? bc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
11087
11137
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
11088
|
-
return o && r &&
|
|
11138
|
+
return o && r && vc(e, t, r), r;
|
|
11089
11139
|
};
|
|
11090
11140
|
class li extends g {
|
|
11091
11141
|
constructor() {
|
|
@@ -11317,12 +11367,12 @@ Aa([
|
|
|
11317
11367
|
l()
|
|
11318
11368
|
], li.prototype, "align", 2);
|
|
11319
11369
|
k("ok-timeline", li);
|
|
11320
|
-
var
|
|
11321
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
11370
|
+
var fc = Object.defineProperty, gc = Object.getOwnPropertyDescriptor, Xt = (n, e, t, o) => {
|
|
11371
|
+
for (var r = o > 1 ? void 0 : o ? gc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
11322
11372
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
11323
|
-
return o && r &&
|
|
11373
|
+
return o && r && fc(e, t, r), r;
|
|
11324
11374
|
};
|
|
11325
|
-
const
|
|
11375
|
+
const xc = {
|
|
11326
11376
|
decrement: "Decrease",
|
|
11327
11377
|
increment: "Increase"
|
|
11328
11378
|
};
|
|
@@ -11406,7 +11456,7 @@ class St extends g {
|
|
|
11406
11456
|
}
|
|
11407
11457
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
11408
11458
|
get t() {
|
|
11409
|
-
return { ...
|
|
11459
|
+
return { ...xc, ...this.labels };
|
|
11410
11460
|
}
|
|
11411
11461
|
// Recorta `n` al rango [min, max] respetando los límites definidos.
|
|
11412
11462
|
clamp(e) {
|
|
@@ -11500,18 +11550,18 @@ Xt([
|
|
|
11500
11550
|
l({ attribute: !1 })
|
|
11501
11551
|
], St.prototype, "labels", 2);
|
|
11502
11552
|
k("ok-qty-stepper", St);
|
|
11503
|
-
var
|
|
11504
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
11553
|
+
var yc = Object.defineProperty, kc = Object.getOwnPropertyDescriptor, Xe = (n, e, t, o) => {
|
|
11554
|
+
for (var r = o > 1 ? void 0 : o ? kc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
11505
11555
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
11506
|
-
return o && r &&
|
|
11556
|
+
return o && r && yc(e, t, r), r;
|
|
11507
11557
|
};
|
|
11508
|
-
const
|
|
11558
|
+
const wc = {
|
|
11509
11559
|
searchPlaceholder: "Search command…",
|
|
11510
11560
|
dialogLabel: "Command palette",
|
|
11511
11561
|
escHint: "Esc",
|
|
11512
11562
|
noMatches: "No matches"
|
|
11513
11563
|
};
|
|
11514
|
-
class
|
|
11564
|
+
class Ce extends g {
|
|
11515
11565
|
constructor() {
|
|
11516
11566
|
super(...arguments), this.commands = [], this.open = !1, this.placeholder = "", this.hotkey = !0, this.labels = {}, this.queryText = "", this.activeIndex = 0, this.onGlobalKey = (e) => {
|
|
11517
11567
|
(e.metaKey || e.ctrlKey) && (e.key === "k" || e.key === "K") && (e.preventDefault(), this.toggle());
|
|
@@ -11728,7 +11778,7 @@ class ze extends g {
|
|
|
11728
11778
|
}
|
|
11729
11779
|
/** Textos efectivos (defaults inglés + overrides). */
|
|
11730
11780
|
get t() {
|
|
11731
|
-
return { ...
|
|
11781
|
+
return { ...wc, ...this.labels };
|
|
11732
11782
|
}
|
|
11733
11783
|
/** Placeholder efectivo: prop explícita o el de labels. */
|
|
11734
11784
|
get effectivePlaceholder() {
|
|
@@ -11879,33 +11929,33 @@ class ze extends g {
|
|
|
11879
11929
|
}
|
|
11880
11930
|
Xe([
|
|
11881
11931
|
l({ attribute: !1 })
|
|
11882
|
-
],
|
|
11932
|
+
], Ce.prototype, "commands", 2);
|
|
11883
11933
|
Xe([
|
|
11884
11934
|
l({ type: Boolean, reflect: !0 })
|
|
11885
|
-
],
|
|
11935
|
+
], Ce.prototype, "open", 2);
|
|
11886
11936
|
Xe([
|
|
11887
11937
|
l()
|
|
11888
|
-
],
|
|
11938
|
+
], Ce.prototype, "placeholder", 2);
|
|
11889
11939
|
Xe([
|
|
11890
11940
|
l({ type: Boolean })
|
|
11891
|
-
],
|
|
11941
|
+
], Ce.prototype, "hotkey", 2);
|
|
11892
11942
|
Xe([
|
|
11893
11943
|
l({ attribute: !1 })
|
|
11894
|
-
],
|
|
11944
|
+
], Ce.prototype, "labels", 2);
|
|
11895
11945
|
Xe([
|
|
11896
11946
|
v()
|
|
11897
|
-
],
|
|
11947
|
+
], Ce.prototype, "queryText", 2);
|
|
11898
11948
|
Xe([
|
|
11899
11949
|
v()
|
|
11900
|
-
],
|
|
11950
|
+
], Ce.prototype, "activeIndex", 2);
|
|
11901
11951
|
Xe([
|
|
11902
11952
|
T(".search input")
|
|
11903
|
-
],
|
|
11904
|
-
k("ok-command-palette",
|
|
11905
|
-
var
|
|
11906
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
11953
|
+
], Ce.prototype, "searchInput", 2);
|
|
11954
|
+
k("ok-command-palette", Ce);
|
|
11955
|
+
var $c = Object.defineProperty, Cc = Object.getOwnPropertyDescriptor, Gt = (n, e, t, o) => {
|
|
11956
|
+
for (var r = o > 1 ? void 0 : o ? Cc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
11907
11957
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
11908
|
-
return o && r &&
|
|
11958
|
+
return o && r && $c(e, t, r), r;
|
|
11909
11959
|
};
|
|
11910
11960
|
class Et extends g {
|
|
11911
11961
|
constructor() {
|
|
@@ -12084,12 +12134,12 @@ Gt([
|
|
|
12084
12134
|
T(".top input")
|
|
12085
12135
|
], Et.prototype, "input", 2);
|
|
12086
12136
|
k("ok-spotlight-search", Et);
|
|
12087
|
-
var zc = Object.defineProperty,
|
|
12088
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
12137
|
+
var zc = Object.defineProperty, _c = Object.getOwnPropertyDescriptor, ze = (n, e, t, o) => {
|
|
12138
|
+
for (var r = o > 1 ? void 0 : o ? _c(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
12089
12139
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
12090
12140
|
return o && r && zc(e, t, r), r;
|
|
12091
12141
|
};
|
|
12092
|
-
const
|
|
12142
|
+
const Sc = [
|
|
12093
12143
|
"#3880ff",
|
|
12094
12144
|
// primary
|
|
12095
12145
|
"#3dc2ff",
|
|
@@ -12150,14 +12200,14 @@ function Mo(n) {
|
|
|
12150
12200
|
const e = Zr(n);
|
|
12151
12201
|
return e ? gr(e) : null;
|
|
12152
12202
|
}
|
|
12153
|
-
const
|
|
12203
|
+
const Ec = {
|
|
12154
12204
|
triggerLabel: "Select color",
|
|
12155
12205
|
panelLabel: "Color picker",
|
|
12156
12206
|
hexLabel: "Hex value"
|
|
12157
12207
|
};
|
|
12158
12208
|
class le extends g {
|
|
12159
12209
|
constructor() {
|
|
12160
|
-
super(...arguments), this.value = "#3880ff", this.presets =
|
|
12210
|
+
super(...arguments), this.value = "#3880ff", this.presets = Sc, 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) => {
|
|
12161
12211
|
e.composedPath().includes(this) || this.close();
|
|
12162
12212
|
}, this.onKeydown = (e) => {
|
|
12163
12213
|
e.key === "Escape" && this.close();
|
|
@@ -12368,7 +12418,7 @@ class le extends g {
|
|
|
12368
12418
|
}
|
|
12369
12419
|
// Textos efectivos: defaults inglés sobreescritos por los pasados desde fuera.
|
|
12370
12420
|
get t() {
|
|
12371
|
-
return { ...
|
|
12421
|
+
return { ...Ec, ...this.labels };
|
|
12372
12422
|
}
|
|
12373
12423
|
// Sincroniza el estado HSV interno desde la prop `value` (al conectar y en cambios externos).
|
|
12374
12424
|
syncFromValue() {
|
|
@@ -12527,38 +12577,38 @@ class le extends g {
|
|
|
12527
12577
|
`;
|
|
12528
12578
|
}
|
|
12529
12579
|
}
|
|
12530
|
-
|
|
12580
|
+
ze([
|
|
12531
12581
|
l({ type: String })
|
|
12532
12582
|
], le.prototype, "value", 2);
|
|
12533
|
-
|
|
12583
|
+
ze([
|
|
12534
12584
|
l({ attribute: !1 })
|
|
12535
12585
|
], le.prototype, "presets", 2);
|
|
12536
|
-
|
|
12586
|
+
ze([
|
|
12537
12587
|
l({ attribute: !1 })
|
|
12538
12588
|
], le.prototype, "labels", 2);
|
|
12539
|
-
|
|
12589
|
+
ze([
|
|
12540
12590
|
v()
|
|
12541
12591
|
], le.prototype, "open", 2);
|
|
12542
|
-
|
|
12592
|
+
ze([
|
|
12543
12593
|
v()
|
|
12544
12594
|
], le.prototype, "h", 2);
|
|
12545
|
-
|
|
12595
|
+
ze([
|
|
12546
12596
|
v()
|
|
12547
12597
|
], le.prototype, "s", 2);
|
|
12548
|
-
|
|
12598
|
+
ze([
|
|
12549
12599
|
v()
|
|
12550
12600
|
], le.prototype, "v", 2);
|
|
12551
|
-
|
|
12601
|
+
ze([
|
|
12552
12602
|
v()
|
|
12553
12603
|
], le.prototype, "hexInput", 2);
|
|
12554
|
-
|
|
12604
|
+
ze([
|
|
12555
12605
|
v()
|
|
12556
12606
|
], le.prototype, "hexInvalid", 2);
|
|
12557
12607
|
k("ok-color-picker", le);
|
|
12558
|
-
var
|
|
12559
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
12608
|
+
var Pc = Object.defineProperty, Oc = Object.getOwnPropertyDescriptor, _e = (n, e, t, o) => {
|
|
12609
|
+
for (var r = o > 1 ? void 0 : o ? Oc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
12560
12610
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
12561
|
-
return o && r &&
|
|
12611
|
+
return o && r && Pc(e, t, r), r;
|
|
12562
12612
|
};
|
|
12563
12613
|
class ce extends g {
|
|
12564
12614
|
constructor() {
|
|
@@ -12709,10 +12759,10 @@ _e([
|
|
|
12709
12759
|
v()
|
|
12710
12760
|
], ce.prototype, "imgFailed", 2);
|
|
12711
12761
|
k("ok-avatar", ce);
|
|
12712
|
-
var
|
|
12713
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
12762
|
+
var Mc = Object.defineProperty, Ac = Object.getOwnPropertyDescriptor, Dr = (n, e, t, o) => {
|
|
12763
|
+
for (var r = o > 1 ? void 0 : o ? Ac(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
12714
12764
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
12715
|
-
return o && r &&
|
|
12765
|
+
return o && r && Mc(e, t, r), r;
|
|
12716
12766
|
};
|
|
12717
12767
|
class Zt extends g {
|
|
12718
12768
|
constructor() {
|
|
@@ -12819,10 +12869,10 @@ Dr([
|
|
|
12819
12869
|
l({ type: String, reflect: !0 })
|
|
12820
12870
|
], Zt.prototype, "size", 2);
|
|
12821
12871
|
k("ok-status-pill", Zt);
|
|
12822
|
-
var
|
|
12823
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
12872
|
+
var Dc = Object.defineProperty, jc = Object.getOwnPropertyDescriptor, Ge = (n, e, t, o) => {
|
|
12873
|
+
for (var r = o > 1 ? void 0 : o ? jc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
12824
12874
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
12825
|
-
return o && r &&
|
|
12875
|
+
return o && r && Dc(e, t, r), r;
|
|
12826
12876
|
};
|
|
12827
12877
|
class Se extends g {
|
|
12828
12878
|
constructor() {
|
|
@@ -13003,10 +13053,10 @@ Ge([
|
|
|
13003
13053
|
v()
|
|
13004
13054
|
], Se.prototype, "hasExtra", 2);
|
|
13005
13055
|
k("ok-page-header", Se);
|
|
13006
|
-
var
|
|
13007
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13056
|
+
var Lc = Object.defineProperty, Ic = Object.getOwnPropertyDescriptor, ci = (n, e, t, o) => {
|
|
13057
|
+
for (var r = o > 1 ? void 0 : o ? Ic(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13008
13058
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13009
|
-
return o && r &&
|
|
13059
|
+
return o && r && Lc(e, t, r), r;
|
|
13010
13060
|
};
|
|
13011
13061
|
class bo extends g {
|
|
13012
13062
|
constructor() {
|
|
@@ -13051,10 +13101,10 @@ ci([
|
|
|
13051
13101
|
l()
|
|
13052
13102
|
], bo.prototype, "gap", 2);
|
|
13053
13103
|
k("ok-bento", bo);
|
|
13054
|
-
var
|
|
13055
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13104
|
+
var Tc = Object.defineProperty, Bc = Object.getOwnPropertyDescriptor, Ee = (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--)
|
|
13056
13106
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13057
|
-
return o && r &&
|
|
13107
|
+
return o && r && Tc(e, t, r), r;
|
|
13058
13108
|
};
|
|
13059
13109
|
class de extends g {
|
|
13060
13110
|
constructor() {
|
|
@@ -13207,10 +13257,10 @@ Ee([
|
|
|
13207
13257
|
l()
|
|
13208
13258
|
], de.prototype, "heading", 2);
|
|
13209
13259
|
k("ok-bento-item", de);
|
|
13210
|
-
var
|
|
13211
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13260
|
+
var Fc = Object.defineProperty, Rc = Object.getOwnPropertyDescriptor, di = (n, e, t, o) => {
|
|
13261
|
+
for (var r = o > 1 ? void 0 : o ? Rc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13212
13262
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13213
|
-
return o && r &&
|
|
13263
|
+
return o && r && Fc(e, t, r), r;
|
|
13214
13264
|
};
|
|
13215
13265
|
class fo extends g {
|
|
13216
13266
|
constructor() {
|
|
@@ -13278,10 +13328,10 @@ di([
|
|
|
13278
13328
|
l({ type: Boolean })
|
|
13279
13329
|
], fo.prototype, "once", 2);
|
|
13280
13330
|
k("ok-reveal", fo);
|
|
13281
|
-
var
|
|
13282
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13331
|
+
var Nc = Object.defineProperty, qc = Object.getOwnPropertyDescriptor, jr = (n, e, t, o) => {
|
|
13332
|
+
for (var r = o > 1 ? void 0 : o ? qc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13283
13333
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13284
|
-
return o && r &&
|
|
13334
|
+
return o && r && Nc(e, t, r), r;
|
|
13285
13335
|
};
|
|
13286
13336
|
class Qt extends g {
|
|
13287
13337
|
constructor() {
|
|
@@ -13418,12 +13468,12 @@ jr([
|
|
|
13418
13468
|
l({ type: Boolean, reflect: !0 })
|
|
13419
13469
|
], Qt.prototype, "glass", 2);
|
|
13420
13470
|
k("ok-feature-card", Qt);
|
|
13421
|
-
var
|
|
13422
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13471
|
+
var Uc = Object.defineProperty, Vc = Object.getOwnPropertyDescriptor, Ze = (n, e, t, o) => {
|
|
13472
|
+
for (var r = o > 1 ? void 0 : o ? Vc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13423
13473
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13424
|
-
return o && r &&
|
|
13474
|
+
return o && r && Uc(e, t, r), r;
|
|
13425
13475
|
};
|
|
13426
|
-
const
|
|
13476
|
+
const Hc = {
|
|
13427
13477
|
popular: "Popular"
|
|
13428
13478
|
};
|
|
13429
13479
|
class Pe extends g {
|
|
@@ -13542,7 +13592,7 @@ class Pe extends g {
|
|
|
13542
13592
|
`;
|
|
13543
13593
|
}
|
|
13544
13594
|
get t() {
|
|
13545
|
-
return { ...
|
|
13595
|
+
return { ...Hc, ...this.labels };
|
|
13546
13596
|
}
|
|
13547
13597
|
render() {
|
|
13548
13598
|
const e = this.badge ?? (this.featured ? this.t.popular : "");
|
|
@@ -13588,10 +13638,10 @@ Ze([
|
|
|
13588
13638
|
l({ attribute: !1 })
|
|
13589
13639
|
], Pe.prototype, "labels", 2);
|
|
13590
13640
|
k("ok-pricing-card", Pe);
|
|
13591
|
-
var
|
|
13592
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13641
|
+
var Kc = Object.defineProperty, Yc = Object.getOwnPropertyDescriptor, Jt = (n, e, t, o) => {
|
|
13642
|
+
for (var r = o > 1 ? void 0 : o ? Yc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13593
13643
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13594
|
-
return o && r &&
|
|
13644
|
+
return o && r && Kc(e, t, r), r;
|
|
13595
13645
|
};
|
|
13596
13646
|
class Pt extends g {
|
|
13597
13647
|
static {
|
|
@@ -13755,10 +13805,10 @@ Jt([
|
|
|
13755
13805
|
l()
|
|
13756
13806
|
], Pt.prototype, "href", 2);
|
|
13757
13807
|
k("ok-product-card", Pt);
|
|
13758
|
-
var
|
|
13759
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13808
|
+
var Wc = Object.defineProperty, Xc = Object.getOwnPropertyDescriptor, Da = (n, e, t, o) => {
|
|
13809
|
+
for (var r = o > 1 ? void 0 : o ? Xc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13760
13810
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13761
|
-
return o && r &&
|
|
13811
|
+
return o && r && Wc(e, t, r), r;
|
|
13762
13812
|
};
|
|
13763
13813
|
class pi extends g {
|
|
13764
13814
|
constructor() {
|
|
@@ -13836,10 +13886,10 @@ Da([
|
|
|
13836
13886
|
l({ type: Boolean, reflect: !0 })
|
|
13837
13887
|
], pi.prototype, "marquee", 2);
|
|
13838
13888
|
k("ok-logo-cloud", pi);
|
|
13839
|
-
var
|
|
13840
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
13889
|
+
var Gc = Object.defineProperty, Zc = Object.getOwnPropertyDescriptor, Lr = (n, e, t, o) => {
|
|
13890
|
+
for (var r = o > 1 ? void 0 : o ? Zc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13841
13891
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13842
|
-
return o && r &&
|
|
13892
|
+
return o && r && Gc(e, t, r), r;
|
|
13843
13893
|
};
|
|
13844
13894
|
class er extends g {
|
|
13845
13895
|
constructor() {
|
|
@@ -13959,10 +14009,10 @@ Lr([
|
|
|
13959
14009
|
l({ type: Boolean, reflect: !0 })
|
|
13960
14010
|
], er.prototype, "glass", 2);
|
|
13961
14011
|
k("ok-testimonial", er);
|
|
13962
|
-
var
|
|
13963
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14012
|
+
var Qc = Object.defineProperty, Jc = Object.getOwnPropertyDescriptor, go = (n, e, t, o) => {
|
|
14013
|
+
for (var r = o > 1 ? void 0 : o ? Jc(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
13964
14014
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
13965
|
-
return o && r &&
|
|
14015
|
+
return o && r && Qc(e, t, r), r;
|
|
13966
14016
|
};
|
|
13967
14017
|
class Ir extends g {
|
|
13968
14018
|
constructor() {
|
|
@@ -14085,12 +14135,12 @@ go([
|
|
|
14085
14135
|
l({ reflect: !0 })
|
|
14086
14136
|
], Ir.prototype, "variant", 2);
|
|
14087
14137
|
k("ok-cta-band", Ir);
|
|
14088
|
-
var
|
|
14089
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14138
|
+
var ed = Object.defineProperty, td = Object.getOwnPropertyDescriptor, xo = (n, e, t, o) => {
|
|
14139
|
+
for (var r = o > 1 ? void 0 : o ? td(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14090
14140
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14091
|
-
return o && r &&
|
|
14141
|
+
return o && r && ed(e, t, r), r;
|
|
14092
14142
|
};
|
|
14093
|
-
const
|
|
14143
|
+
const rd = {
|
|
14094
14144
|
language: "Language"
|
|
14095
14145
|
};
|
|
14096
14146
|
class Tr extends g {
|
|
@@ -14184,7 +14234,7 @@ class Tr extends g {
|
|
|
14184
14234
|
`;
|
|
14185
14235
|
}
|
|
14186
14236
|
get t() {
|
|
14187
|
-
return { ...
|
|
14237
|
+
return { ...rd, ...this.labels };
|
|
14188
14238
|
}
|
|
14189
14239
|
connectedCallback() {
|
|
14190
14240
|
super.connectedCallback(), document.addEventListener("click", this.onDocClick), document.addEventListener("keydown", this.onKeydown);
|
|
@@ -14249,23 +14299,23 @@ xo([
|
|
|
14249
14299
|
v()
|
|
14250
14300
|
], Tr.prototype, "currentLabel", 2);
|
|
14251
14301
|
k("ok-language-select", Tr);
|
|
14252
|
-
var
|
|
14253
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14302
|
+
var od = Object.defineProperty, id = Object.getOwnPropertyDescriptor, Br = (n, e, t, o) => {
|
|
14303
|
+
for (var r = o > 1 ? void 0 : o ? id(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14254
14304
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14255
|
-
return o && r &&
|
|
14305
|
+
return o && r && od(e, t, r), r;
|
|
14256
14306
|
};
|
|
14257
|
-
const
|
|
14307
|
+
const ad = {
|
|
14258
14308
|
menu: "Menu",
|
|
14259
14309
|
close: "Close"
|
|
14260
|
-
},
|
|
14310
|
+
}, sd = "(max-width: 800px)";
|
|
14261
14311
|
let Ai = !1;
|
|
14262
|
-
function
|
|
14312
|
+
function nd() {
|
|
14263
14313
|
if (Ai) return;
|
|
14264
14314
|
Ai = !0;
|
|
14265
14315
|
const n = new CSSStyleSheet();
|
|
14266
14316
|
n.replaceSync(`
|
|
14267
14317
|
ion-modal.ok-navbar-modal {
|
|
14268
|
-
--width: var(--ok-navbar-panel-width, min(
|
|
14318
|
+
--width: var(--ok-navbar-panel-width, min(20rem, 86vw));
|
|
14269
14319
|
--height: 100%;
|
|
14270
14320
|
--border-radius: 0;
|
|
14271
14321
|
--background: var(--ok-surface, var(--ion-card-background, #ffffff));
|
|
@@ -14282,17 +14332,26 @@ function sd() {
|
|
|
14282
14332
|
overflow-y: auto;
|
|
14283
14333
|
display: flex;
|
|
14284
14334
|
flex-direction: column;
|
|
14285
|
-
padding: 0.5rem var(--ok-spacing, var(--ion-padding,
|
|
14335
|
+
padding: 0.5rem var(--ok-spacing, var(--ion-padding, 1rem)) max(var(--ok-spacing, var(--ion-padding, 1rem)), env(safe-area-inset-bottom));
|
|
14286
14336
|
background: var(--ok-surface, var(--ion-card-background, #ffffff));
|
|
14287
14337
|
color: var(--ok-text, var(--ion-text-color, #1c1b17));
|
|
14288
14338
|
font-family: var(--ok-font, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);
|
|
14289
14339
|
}
|
|
14290
|
-
.ok-navbar-modal .ok-navbar-panel-head {
|
|
14340
|
+
.ok-navbar-modal .ok-navbar-panel-head {
|
|
14341
|
+
display: flex;
|
|
14342
|
+
justify-content: flex-end;
|
|
14343
|
+
min-height: 2.75rem;
|
|
14344
|
+
}
|
|
14291
14345
|
.ok-navbar-modal .ok-navbar-close {
|
|
14292
14346
|
background: none;
|
|
14293
14347
|
border: 0;
|
|
14294
14348
|
cursor: pointer;
|
|
14295
|
-
|
|
14349
|
+
width: 2.75rem;
|
|
14350
|
+
height: 2.75rem;
|
|
14351
|
+
padding: 0;
|
|
14352
|
+
display: grid;
|
|
14353
|
+
place-items: center;
|
|
14354
|
+
border-radius: var(--ok-radius-md, var(--ion-border-radius, 0.5rem));
|
|
14296
14355
|
color: inherit;
|
|
14297
14356
|
}
|
|
14298
14357
|
.ok-navbar-modal .ok-navbar-close span { display: block; width: 22px; height: 2px; position: relative; }
|
|
@@ -14311,11 +14370,13 @@ function sd() {
|
|
|
14311
14370
|
.ok-navbar-modal .ok-navbar-close span::after { transform: rotate(-45deg); }
|
|
14312
14371
|
.ok-navbar-modal .ok-navbar-links { display: flex; flex-direction: column; }
|
|
14313
14372
|
.ok-navbar-modal .ok-navbar-links a {
|
|
14314
|
-
|
|
14315
|
-
|
|
14373
|
+
min-height: 3.25rem;
|
|
14374
|
+
display: flex;
|
|
14375
|
+
align-items: center;
|
|
14376
|
+
padding-inline: 0.25rem;
|
|
14316
14377
|
color: inherit;
|
|
14317
14378
|
text-decoration: none;
|
|
14318
|
-
font-size:
|
|
14379
|
+
font-size: 1rem;
|
|
14319
14380
|
border-top: 1px solid var(--ok-border-soft, rgba(var(--ion-text-color-rgb, 24, 24, 27), 0.07));
|
|
14320
14381
|
}
|
|
14321
14382
|
.ok-navbar-modal .ok-navbar-links a:first-child { border-top: 0; }
|
|
@@ -14325,11 +14386,15 @@ function sd() {
|
|
|
14325
14386
|
flex-direction: column;
|
|
14326
14387
|
align-items: stretch;
|
|
14327
14388
|
gap: 0.6rem;
|
|
14328
|
-
margin-top:
|
|
14389
|
+
margin-top: auto;
|
|
14329
14390
|
padding-top: 1.25rem;
|
|
14330
14391
|
border-top: 1px solid var(--ok-border, rgba(var(--ion-text-color-rgb, 24, 24, 27), 0.12));
|
|
14331
14392
|
}
|
|
14332
|
-
.ok-navbar-modal .ok-navbar-actions ion-button {
|
|
14393
|
+
.ok-navbar-modal .ok-navbar-actions ion-button {
|
|
14394
|
+
width: 100%;
|
|
14395
|
+
min-height: 2.75rem;
|
|
14396
|
+
margin: 0;
|
|
14397
|
+
}
|
|
14333
14398
|
`), document.adoptedStyleSheets = [...document.adoptedStyleSheets, n];
|
|
14334
14399
|
}
|
|
14335
14400
|
class tr extends g {
|
|
@@ -14391,11 +14456,15 @@ class tr extends g {
|
|
|
14391
14456
|
}
|
|
14392
14457
|
|
|
14393
14458
|
.burger {
|
|
14394
|
-
|
|
14459
|
+
width: 2.75rem;
|
|
14460
|
+
height: 2.75rem;
|
|
14461
|
+
display: grid;
|
|
14462
|
+
place-items: center;
|
|
14395
14463
|
background: none;
|
|
14396
14464
|
border: 0;
|
|
14397
14465
|
cursor: pointer;
|
|
14398
|
-
padding: 0
|
|
14466
|
+
padding: 0;
|
|
14467
|
+
border-radius: var(--ok-radius-md, var(--ion-border-radius, 0.5rem));
|
|
14399
14468
|
color: var(--color);
|
|
14400
14469
|
/* Micro-interacción: feedback sutil al presionar el burger. */
|
|
14401
14470
|
transition: background-color var(--ok-transition, 150ms ease), color var(--ok-transition, 150ms ease), border-color var(--ok-transition, 150ms ease), box-shadow var(--ok-transition, 150ms ease), transform 120ms ease;
|
|
@@ -14411,13 +14480,16 @@ class tr extends g {
|
|
|
14411
14480
|
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
|
|
14412
14481
|
.burger span::before { top: -7px; }
|
|
14413
14482
|
.burger span::after { top: 7px; }
|
|
14483
|
+
@media (max-width: 800px) {
|
|
14484
|
+
.bar { padding-block: 0.25rem; }
|
|
14485
|
+
}
|
|
14414
14486
|
`;
|
|
14415
14487
|
}
|
|
14416
14488
|
get t() {
|
|
14417
|
-
return { ...
|
|
14489
|
+
return { ...ad, ...this.labels };
|
|
14418
14490
|
}
|
|
14419
14491
|
connectedCallback() {
|
|
14420
|
-
super.connectedCallback(), this.mq = window.matchMedia(
|
|
14492
|
+
super.connectedCallback(), this.mq = window.matchMedia(sd), this.isMobile = this.mq.matches, this.mq.addEventListener("change", this.onMqChange);
|
|
14421
14493
|
}
|
|
14422
14494
|
disconnectedCallback() {
|
|
14423
14495
|
super.disconnectedCallback(), this.mq?.removeEventListener("change", this.onMqChange), this.mq = null, this.restoreNodes(), this.modal?.remove(), this.modal = null;
|
|
@@ -14445,7 +14517,7 @@ class tr extends g {
|
|
|
14445
14517
|
}
|
|
14446
14518
|
async presentPanel() {
|
|
14447
14519
|
if (this.isMobile) {
|
|
14448
|
-
if (
|
|
14520
|
+
if (nd(), this.modal || (this.modal = this.buildModal()), this.movedNodes.length === 0 && this.linksHost && this.actionsHost)
|
|
14449
14521
|
for (const e of Array.from(this.children)) {
|
|
14450
14522
|
const t = e.getAttribute("slot");
|
|
14451
14523
|
t !== "brand" && (this.movedNodes.push(e), (t === "actions" ? this.actionsHost : this.linksHost).appendChild(e));
|
|
@@ -14498,7 +14570,7 @@ Br([
|
|
|
14498
14570
|
v()
|
|
14499
14571
|
], tr.prototype, "isMobile", 2);
|
|
14500
14572
|
k("ok-navbar", tr);
|
|
14501
|
-
class
|
|
14573
|
+
class ld extends g {
|
|
14502
14574
|
static {
|
|
14503
14575
|
this.styles = y`
|
|
14504
14576
|
:host {
|
|
@@ -14559,11 +14631,11 @@ class nd extends g {
|
|
|
14559
14631
|
`;
|
|
14560
14632
|
}
|
|
14561
14633
|
}
|
|
14562
|
-
k("ok-footer",
|
|
14563
|
-
var
|
|
14564
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14634
|
+
k("ok-footer", ld);
|
|
14635
|
+
var cd = Object.defineProperty, dd = Object.getOwnPropertyDescriptor, rr = (n, e, t, o) => {
|
|
14636
|
+
for (var r = o > 1 ? void 0 : o ? dd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14565
14637
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14566
|
-
return o && r &&
|
|
14638
|
+
return o && r && cd(e, t, r), r;
|
|
14567
14639
|
};
|
|
14568
14640
|
class Ot extends g {
|
|
14569
14641
|
constructor() {
|
|
@@ -14772,10 +14844,10 @@ rr([
|
|
|
14772
14844
|
v()
|
|
14773
14845
|
], Ot.prototype, "hasMedia", 2);
|
|
14774
14846
|
k("ok-hero", Ot);
|
|
14775
|
-
var
|
|
14776
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
14847
|
+
var pd = Object.defineProperty, hd = Object.getOwnPropertyDescriptor, Oe = (n, e, t, o) => {
|
|
14848
|
+
for (var r = o > 1 ? void 0 : o ? hd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
14777
14849
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
14778
|
-
return o && r &&
|
|
14850
|
+
return o && r && pd(e, t, r), r;
|
|
14779
14851
|
};
|
|
14780
14852
|
class pe extends g {
|
|
14781
14853
|
constructor() {
|
|
@@ -15082,10 +15154,10 @@ Oe([
|
|
|
15082
15154
|
l()
|
|
15083
15155
|
], pe.prototype, "label", 2);
|
|
15084
15156
|
k("ok-pagination", pe);
|
|
15085
|
-
var
|
|
15086
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15157
|
+
var ud = Object.defineProperty, md = Object.getOwnPropertyDescriptor, Z = (n, e, t, o) => {
|
|
15158
|
+
for (var r = o > 1 ? void 0 : o ? md(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
15087
15159
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
15088
|
-
return o && r &&
|
|
15160
|
+
return o && r && ud(e, t, r), r;
|
|
15089
15161
|
};
|
|
15090
15162
|
class Y extends g {
|
|
15091
15163
|
constructor() {
|
|
@@ -15415,10 +15487,10 @@ Z([
|
|
|
15415
15487
|
l()
|
|
15416
15488
|
], Y.prototype, "unit", 2);
|
|
15417
15489
|
k("ok-gauge", Y);
|
|
15418
|
-
var
|
|
15419
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15490
|
+
var vd = Object.defineProperty, bd = Object.getOwnPropertyDescriptor, Qe = (n, e, t, o) => {
|
|
15491
|
+
for (var r = o > 1 ? void 0 : o ? bd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
15420
15492
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
15421
|
-
return o && r &&
|
|
15493
|
+
return o && r && vd(e, t, r), r;
|
|
15422
15494
|
};
|
|
15423
15495
|
class Me extends g {
|
|
15424
15496
|
constructor() {
|
|
@@ -15612,12 +15684,12 @@ class Me extends g {
|
|
|
15612
15684
|
e.forEach((b, f) => {
|
|
15613
15685
|
const x = b.data?.[p];
|
|
15614
15686
|
if (x == null) return;
|
|
15615
|
-
const $ = o.left + p * i + (i - d) / 2 + f * u, M = this.yAt(x), w = Math.min(M, r),
|
|
15687
|
+
const $ = o.left + p * i + (i - d) / 2 + f * u, M = this.yAt(x), w = Math.min(M, r), C = Math.max(Math.abs(r - M), 0.5), E = this.seriesColor(b);
|
|
15616
15688
|
h.push(O`<rect
|
|
15617
15689
|
x=${$ + 0.5}
|
|
15618
15690
|
y=${w}
|
|
15619
15691
|
width=${Math.max(u - 1, 1)}
|
|
15620
|
-
height=${
|
|
15692
|
+
height=${C}
|
|
15621
15693
|
rx="2"
|
|
15622
15694
|
fill=${E}
|
|
15623
15695
|
/>`);
|
|
@@ -15682,10 +15754,10 @@ Qe([
|
|
|
15682
15754
|
l()
|
|
15683
15755
|
], Me.prototype, "endpointLabel", 2);
|
|
15684
15756
|
k("ok-chart", Me);
|
|
15685
|
-
var
|
|
15686
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15757
|
+
var fd = Object.defineProperty, gd = Object.getOwnPropertyDescriptor, Mt = (n, e, t, o) => {
|
|
15758
|
+
for (var r = o > 1 ? void 0 : o ? gd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
15687
15759
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
15688
|
-
return o && r &&
|
|
15760
|
+
return o && r && fd(e, t, r), r;
|
|
15689
15761
|
};
|
|
15690
15762
|
const Di = [
|
|
15691
15763
|
"var(--ok-primary, var(--ion-color-primary, #3880ff))",
|
|
@@ -15808,10 +15880,10 @@ class Je extends g {
|
|
|
15808
15880
|
renderChart() {
|
|
15809
15881
|
const e = this.size, t = e / 2, o = e / 2, r = this.thickness <= 0, i = this.total, a = this.slices ?? [], d = r ? 0 : this.thickness, c = r ? e / 2 : (e - d) / 2, u = 2 * Math.PI * c, h = e / 2, p = e / 4, b = 2 * Math.PI * p;
|
|
15810
15882
|
let f = 0;
|
|
15811
|
-
const x = a.map((
|
|
15812
|
-
const j = (i > 0 ? Math.max(0,
|
|
15883
|
+
const x = a.map((C, E) => {
|
|
15884
|
+
const j = (i > 0 ? Math.max(0, C.value) / i : 0) * (r ? b : u), K = -f;
|
|
15813
15885
|
f += j;
|
|
15814
|
-
const D = this.colorAt(
|
|
15886
|
+
const D = this.colorAt(C, E);
|
|
15815
15887
|
return r ? O`<circle
|
|
15816
15888
|
class="pie"
|
|
15817
15889
|
cx=${t}
|
|
@@ -15920,10 +15992,10 @@ Mt([
|
|
|
15920
15992
|
l({ attribute: "legend-side" })
|
|
15921
15993
|
], Je.prototype, "legendSide", 2);
|
|
15922
15994
|
k("ok-donut", Je);
|
|
15923
|
-
var
|
|
15924
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
15995
|
+
var xd = Object.defineProperty, yd = Object.getOwnPropertyDescriptor, or = (n, e, t, o) => {
|
|
15996
|
+
for (var r = o > 1 ? void 0 : o ? yd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
15925
15997
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
15926
|
-
return o && r &&
|
|
15998
|
+
return o && r && xd(e, t, r), r;
|
|
15927
15999
|
};
|
|
15928
16000
|
const ji = [
|
|
15929
16001
|
"Ene",
|
|
@@ -16161,10 +16233,10 @@ or([
|
|
|
16161
16233
|
l({ type: Boolean })
|
|
16162
16234
|
], At.prototype, "legend", 2);
|
|
16163
16235
|
k("ok-heatmap", At);
|
|
16164
|
-
var
|
|
16165
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16236
|
+
var kd = Object.defineProperty, wd = Object.getOwnPropertyDescriptor, hi = (n, e, t, o) => {
|
|
16237
|
+
for (var r = o > 1 ? void 0 : o ? wd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16166
16238
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16167
|
-
return o && r &&
|
|
16239
|
+
return o && r && kd(e, t, r), r;
|
|
16168
16240
|
};
|
|
16169
16241
|
class yo extends g {
|
|
16170
16242
|
constructor() {
|
|
@@ -16323,10 +16395,10 @@ hi([
|
|
|
16323
16395
|
l({ type: Number, attribute: "min-width" })
|
|
16324
16396
|
], yo.prototype, "minWidth", 2);
|
|
16325
16397
|
k("ok-funnel", yo);
|
|
16326
|
-
var
|
|
16327
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16398
|
+
var $d = Object.defineProperty, Cd = Object.getOwnPropertyDescriptor, Fr = (n, e, t, o) => {
|
|
16399
|
+
for (var r = o > 1 ? void 0 : o ? Cd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16328
16400
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16329
|
-
return o && r &&
|
|
16401
|
+
return o && r && $d(e, t, r), r;
|
|
16330
16402
|
};
|
|
16331
16403
|
const zd = /* @__PURE__ */ new Set(["brand", "leaf", "warn", "info", "danger"]);
|
|
16332
16404
|
class ir extends g {
|
|
@@ -16514,11 +16586,11 @@ class To extends Go {
|
|
|
16514
16586
|
}
|
|
16515
16587
|
}
|
|
16516
16588
|
To.directiveName = "unsafeHTML", To.resultType = 1;
|
|
16517
|
-
const
|
|
16518
|
-
var
|
|
16519
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16589
|
+
const _d = Xo(To);
|
|
16590
|
+
var Sd = Object.defineProperty, Ed = Object.getOwnPropertyDescriptor, ko = (n, e, t, o) => {
|
|
16591
|
+
for (var r = o > 1 ? void 0 : o ? Ed(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16520
16592
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16521
|
-
return o && r &&
|
|
16593
|
+
return o && r && Sd(e, t, r), r;
|
|
16522
16594
|
};
|
|
16523
16595
|
class Rr extends g {
|
|
16524
16596
|
constructor() {
|
|
@@ -16616,7 +16688,7 @@ class Rr extends g {
|
|
|
16616
16688
|
}
|
|
16617
16689
|
renderValue(e) {
|
|
16618
16690
|
const t = e.value;
|
|
16619
|
-
return t == null || t === "" ? s`<dd class="value empty">${this.placeholder}</dd>` : e.html ? s`<dd class="value">${
|
|
16691
|
+
return t == null || t === "" ? s`<dd class="value empty">${this.placeholder}</dd>` : e.html ? s`<dd class="value">${_d(t)}</dd>` : s`<dd class="value">${t}</dd>`;
|
|
16620
16692
|
}
|
|
16621
16693
|
render() {
|
|
16622
16694
|
const e = this.items ?? [];
|
|
@@ -16647,10 +16719,10 @@ ko([
|
|
|
16647
16719
|
l()
|
|
16648
16720
|
], Rr.prototype, "placeholder", 2);
|
|
16649
16721
|
k("ok-detail-list", Rr);
|
|
16650
|
-
var
|
|
16651
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16722
|
+
var Pd = Object.defineProperty, Od = Object.getOwnPropertyDescriptor, Nr = (n, e, t, o) => {
|
|
16723
|
+
for (var r = o > 1 ? void 0 : o ? Od(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16652
16724
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16653
|
-
return o && r &&
|
|
16725
|
+
return o && r && Pd(e, t, r), r;
|
|
16654
16726
|
};
|
|
16655
16727
|
class ar extends g {
|
|
16656
16728
|
constructor() {
|
|
@@ -16751,10 +16823,10 @@ Nr([
|
|
|
16751
16823
|
l()
|
|
16752
16824
|
], ar.prototype, "label", 2);
|
|
16753
16825
|
k("ok-icon-tile", ar);
|
|
16754
|
-
var
|
|
16755
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16826
|
+
var Md = Object.defineProperty, Ad = Object.getOwnPropertyDescriptor, qr = (n, e, t, o) => {
|
|
16827
|
+
for (var r = o > 1 ? void 0 : o ? Ad(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16756
16828
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16757
|
-
return o && r &&
|
|
16829
|
+
return o && r && Md(e, t, r), r;
|
|
16758
16830
|
};
|
|
16759
16831
|
class sr extends g {
|
|
16760
16832
|
constructor() {
|
|
@@ -16899,12 +16971,12 @@ qr([
|
|
|
16899
16971
|
l({ type: Boolean, attribute: "show-label" })
|
|
16900
16972
|
], sr.prototype, "showLabel", 2);
|
|
16901
16973
|
k("ok-status-dot", sr);
|
|
16902
|
-
var
|
|
16903
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
16974
|
+
var Dd = Object.defineProperty, jd = Object.getOwnPropertyDescriptor, ui = (n, e, t, o) => {
|
|
16975
|
+
for (var r = o > 1 ? void 0 : o ? jd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
16904
16976
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
16905
|
-
return o && r &&
|
|
16977
|
+
return o && r && Dd(e, t, r), r;
|
|
16906
16978
|
};
|
|
16907
|
-
const
|
|
16979
|
+
const Ld = /* @__PURE__ */ new Set(["cmd", "command", "ctrl", "control", "shift", "alt", "option", "opt", "meta", "win", "super"]), Id = {
|
|
16908
16980
|
cmd: "⌘",
|
|
16909
16981
|
command: "⌘",
|
|
16910
16982
|
meta: "⌘",
|
|
@@ -17012,11 +17084,11 @@ class wo extends g {
|
|
|
17012
17084
|
}
|
|
17013
17085
|
// ¿Es una tecla modificadora?
|
|
17014
17086
|
isMod(e) {
|
|
17015
|
-
return
|
|
17087
|
+
return Ld.has(e.toLowerCase());
|
|
17016
17088
|
}
|
|
17017
17089
|
// Etiqueta visible: glifo bonito si existe, si no la tecla tal cual (en mayúscula si es 1 char).
|
|
17018
17090
|
label(e) {
|
|
17019
|
-
const t =
|
|
17091
|
+
const t = Id[e.toLowerCase()];
|
|
17020
17092
|
return t || (e.length === 1 ? e.toUpperCase() : e);
|
|
17021
17093
|
}
|
|
17022
17094
|
render() {
|
|
@@ -17045,10 +17117,10 @@ function ja(n, e, t = {}) {
|
|
|
17045
17117
|
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;
|
|
17046
17118
|
return { end: u, above: h };
|
|
17047
17119
|
}
|
|
17048
|
-
var
|
|
17049
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
17120
|
+
var Td = Object.defineProperty, Bd = Object.getOwnPropertyDescriptor, he = (n, e, t, o) => {
|
|
17121
|
+
for (var r = o > 1 ? void 0 : o ? Bd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
17050
17122
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
17051
|
-
return o && r &&
|
|
17123
|
+
return o && r && Td(e, t, r), r;
|
|
17052
17124
|
};
|
|
17053
17125
|
class Q extends g {
|
|
17054
17126
|
constructor() {
|
|
@@ -17491,12 +17563,12 @@ he([
|
|
|
17491
17563
|
v()
|
|
17492
17564
|
], Q.prototype, "openSub", 2);
|
|
17493
17565
|
k("ok-menu", Q);
|
|
17494
|
-
var
|
|
17495
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
17566
|
+
var Fd = Object.defineProperty, Rd = Object.getOwnPropertyDescriptor, I = (n, e, t, o) => {
|
|
17567
|
+
for (var r = o > 1 ? void 0 : o ? Rd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
17496
17568
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
17497
|
-
return o && r &&
|
|
17569
|
+
return o && r && Fd(e, t, r), r;
|
|
17498
17570
|
};
|
|
17499
|
-
const
|
|
17571
|
+
const Nd = {
|
|
17500
17572
|
card: "Preview"
|
|
17501
17573
|
};
|
|
17502
17574
|
class L extends g {
|
|
@@ -17722,7 +17794,7 @@ class L extends g {
|
|
|
17722
17794
|
}
|
|
17723
17795
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
17724
17796
|
get t() {
|
|
17725
|
-
return { ...
|
|
17797
|
+
return { ...Nd, ...this.labels };
|
|
17726
17798
|
}
|
|
17727
17799
|
disconnectedCallback() {
|
|
17728
17800
|
super.disconnectedCallback(), this.clearTimers();
|
|
@@ -17907,17 +17979,17 @@ I([
|
|
|
17907
17979
|
T(".trigger")
|
|
17908
17980
|
], L.prototype, "triggerEl", 2);
|
|
17909
17981
|
k("ok-hover-card", L);
|
|
17910
|
-
var
|
|
17911
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
17982
|
+
var qd = Object.defineProperty, Ud = Object.getOwnPropertyDescriptor, nr = (n, e, t, o) => {
|
|
17983
|
+
for (var r = o > 1 ? void 0 : o ? Ud(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
17912
17984
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
17913
|
-
return o && r &&
|
|
17985
|
+
return o && r && qd(e, t, r), r;
|
|
17914
17986
|
};
|
|
17915
|
-
const
|
|
17987
|
+
const Vd = {
|
|
17916
17988
|
markAllRead: "Mark all read",
|
|
17917
17989
|
close: "Close",
|
|
17918
17990
|
emptyTitle: "All caught up",
|
|
17919
17991
|
emptyText: "No notifications to show."
|
|
17920
|
-
},
|
|
17992
|
+
}, Hd = '<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>';
|
|
17921
17993
|
class Dt extends g {
|
|
17922
17994
|
constructor() {
|
|
17923
17995
|
super(...arguments), this.items = [], this.filters = [], this.open = !1, this.title = "Notifications", this.labels = {}, this.onKeydown = (e) => {
|
|
@@ -18269,7 +18341,7 @@ class Dt extends g {
|
|
|
18269
18341
|
}
|
|
18270
18342
|
// Textos efectivos.
|
|
18271
18343
|
get t() {
|
|
18272
|
-
return { ...
|
|
18344
|
+
return { ...Vd, ...this.labels };
|
|
18273
18345
|
}
|
|
18274
18346
|
// Contador derivado de no-leídas.
|
|
18275
18347
|
get unreadCount() {
|
|
@@ -18317,7 +18389,7 @@ class Dt extends g {
|
|
|
18317
18389
|
);
|
|
18318
18390
|
}
|
|
18319
18391
|
renderAvatar(e) {
|
|
18320
|
-
const t = e.icon ??
|
|
18392
|
+
const t = e.icon ?? Hd;
|
|
18321
18393
|
return s`<span class="avatar ${e.variant ?? ""}" aria-hidden="true">
|
|
18322
18394
|
${this.isResolvedSvg(t) ? (
|
|
18323
18395
|
// SVG resuelto: lo pinta ion-icon vía prop `icon`.
|
|
@@ -18422,12 +18494,12 @@ nr([
|
|
|
18422
18494
|
l({ attribute: !1 })
|
|
18423
18495
|
], Dt.prototype, "labels", 2);
|
|
18424
18496
|
k("ok-notification-center", Dt);
|
|
18425
|
-
var
|
|
18426
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
18497
|
+
var Kd = Object.defineProperty, Yd = Object.getOwnPropertyDescriptor, lr = (n, e, t, o) => {
|
|
18498
|
+
for (var r = o > 1 ? void 0 : o ? Yd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
18427
18499
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
18428
|
-
return o && r &&
|
|
18500
|
+
return o && r && Kd(e, t, r), r;
|
|
18429
18501
|
};
|
|
18430
|
-
const
|
|
18502
|
+
const Wd = {
|
|
18431
18503
|
prev: "Back",
|
|
18432
18504
|
next: "Next",
|
|
18433
18505
|
finish: "Done",
|
|
@@ -18652,7 +18724,7 @@ class jt extends g {
|
|
|
18652
18724
|
}
|
|
18653
18725
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
18654
18726
|
get t() {
|
|
18655
|
-
return { ...
|
|
18727
|
+
return { ...Wd, ...this.labels };
|
|
18656
18728
|
}
|
|
18657
18729
|
get step() {
|
|
18658
18730
|
return this.steps[this.current];
|
|
@@ -18836,10 +18908,10 @@ lr([
|
|
|
18836
18908
|
v()
|
|
18837
18909
|
], jt.prototype, "bubble", 2);
|
|
18838
18910
|
k("ok-coachmark", jt);
|
|
18839
|
-
var
|
|
18840
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
18911
|
+
var Xd = Object.defineProperty, Gd = Object.getOwnPropertyDescriptor, et = (n, e, t, o) => {
|
|
18912
|
+
for (var r = o > 1 ? void 0 : o ? Gd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
18841
18913
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
18842
|
-
return o && r &&
|
|
18914
|
+
return o && r && Xd(e, t, r), r;
|
|
18843
18915
|
};
|
|
18844
18916
|
class Ae extends g {
|
|
18845
18917
|
constructor() {
|
|
@@ -19043,12 +19115,12 @@ et([
|
|
|
19043
19115
|
l()
|
|
19044
19116
|
], Ae.prototype, "icon", 2);
|
|
19045
19117
|
k("ok-select-card", Ae);
|
|
19046
|
-
var
|
|
19047
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
19118
|
+
var Zd = Object.defineProperty, Qd = Object.getOwnPropertyDescriptor, Ur = (n, e, t, o) => {
|
|
19119
|
+
for (var r = o > 1 ? void 0 : o ? Qd(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
19048
19120
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
19049
|
-
return o && r &&
|
|
19121
|
+
return o && r && Zd(e, t, r), r;
|
|
19050
19122
|
};
|
|
19051
|
-
const
|
|
19123
|
+
const Jd = [
|
|
19052
19124
|
{ id: "erplora", label: "ERPlora", brand: "#1496D6" },
|
|
19053
19125
|
{ id: "terracotta", label: "Terracotta", brand: "#E8552A" },
|
|
19054
19126
|
{ id: "corporate", label: "Corporate", brand: "#0F3F9C" },
|
|
@@ -19057,7 +19129,7 @@ const Qd = [
|
|
|
19057
19129
|
{ id: "ocean", label: "Ocean", brand: "#008CBD" },
|
|
19058
19130
|
{ id: "violet", label: "Violet", brand: "#742AD9" }
|
|
19059
19131
|
];
|
|
19060
|
-
const
|
|
19132
|
+
const ep = {
|
|
19061
19133
|
palette: "Theme palette",
|
|
19062
19134
|
mode: "Appearance",
|
|
19063
19135
|
system: "System",
|
|
@@ -19066,7 +19138,7 @@ const Jd = {
|
|
|
19066
19138
|
};
|
|
19067
19139
|
class cr extends g {
|
|
19068
19140
|
constructor() {
|
|
19069
|
-
super(...arguments), this.palette = "erplora", this.mode = "system", this.hideMode = !1, this.palettes =
|
|
19141
|
+
super(...arguments), this.palette = "erplora", this.mode = "system", this.hideMode = !1, this.palettes = Jd, this.labels = {};
|
|
19070
19142
|
}
|
|
19071
19143
|
static {
|
|
19072
19144
|
this.styles = y`
|
|
@@ -19161,7 +19233,7 @@ class cr extends g {
|
|
|
19161
19233
|
`;
|
|
19162
19234
|
}
|
|
19163
19235
|
get t() {
|
|
19164
|
-
return { ...
|
|
19236
|
+
return { ...ep, ...this.labels };
|
|
19165
19237
|
}
|
|
19166
19238
|
emitChange() {
|
|
19167
19239
|
this.dispatchEvent(
|
|
@@ -19239,10 +19311,10 @@ Ur([
|
|
|
19239
19311
|
l({ attribute: !1 })
|
|
19240
19312
|
], cr.prototype, "labels", 2);
|
|
19241
19313
|
k("ok-theme-picker", cr);
|
|
19242
|
-
var
|
|
19243
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
19314
|
+
var tp = Object.defineProperty, rp = Object.getOwnPropertyDescriptor, U = (n, e, t, o) => {
|
|
19315
|
+
for (var r = o > 1 ? void 0 : o ? rp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
19244
19316
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
19245
|
-
return o && r &&
|
|
19317
|
+
return o && r && tp(e, t, r), r;
|
|
19246
19318
|
};
|
|
19247
19319
|
class F extends g {
|
|
19248
19320
|
constructor() {
|
|
@@ -19746,10 +19818,10 @@ U([
|
|
|
19746
19818
|
v()
|
|
19747
19819
|
], F.prototype, "remaining", 2);
|
|
19748
19820
|
k("ok-error-page", F);
|
|
19749
|
-
var
|
|
19750
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
19821
|
+
var op = Object.defineProperty, ip = Object.getOwnPropertyDescriptor, Lt = (n, e, t, o) => {
|
|
19822
|
+
for (var r = o > 1 ? void 0 : o ? ip(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
19751
19823
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
19752
|
-
return o && r &&
|
|
19824
|
+
return o && r && op(e, t, r), r;
|
|
19753
19825
|
};
|
|
19754
19826
|
class tt extends g {
|
|
19755
19827
|
constructor() {
|
|
@@ -19980,10 +20052,10 @@ Lt([
|
|
|
19980
20052
|
l({ type: Boolean })
|
|
19981
20053
|
], tt.prototype, "removable", 2);
|
|
19982
20054
|
k("ok-file-item", tt);
|
|
19983
|
-
var
|
|
19984
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
20055
|
+
var ap = Object.defineProperty, sp = Object.getOwnPropertyDescriptor, ue = (n, e, t, o) => {
|
|
20056
|
+
for (var r = o > 1 ? void 0 : o ? sp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
19985
20057
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
19986
|
-
return o && r &&
|
|
20058
|
+
return o && r && ap(e, t, r), r;
|
|
19987
20059
|
};
|
|
19988
20060
|
const J = class re extends g {
|
|
19989
20061
|
constructor() {
|
|
@@ -20476,12 +20548,12 @@ ue([
|
|
|
20476
20548
|
ue([
|
|
20477
20549
|
T(".content")
|
|
20478
20550
|
], J.prototype, "contentEl", 2);
|
|
20479
|
-
let
|
|
20480
|
-
k("ok-rich-text",
|
|
20481
|
-
var
|
|
20482
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
20551
|
+
let np = J;
|
|
20552
|
+
k("ok-rich-text", np);
|
|
20553
|
+
var lp = Object.defineProperty, cp = Object.getOwnPropertyDescriptor, Vr = (n, e, t, o) => {
|
|
20554
|
+
for (var r = o > 1 ? void 0 : o ? cp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
20483
20555
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
20484
|
-
return o && r &&
|
|
20556
|
+
return o && r && lp(e, t, r), r;
|
|
20485
20557
|
};
|
|
20486
20558
|
class dr extends g {
|
|
20487
20559
|
constructor() {
|
|
@@ -20649,10 +20721,10 @@ Vr([
|
|
|
20649
20721
|
v()
|
|
20650
20722
|
], dr.prototype, "copied", 2);
|
|
20651
20723
|
k("ok-code", dr);
|
|
20652
|
-
var
|
|
20653
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
20724
|
+
var dp = Object.defineProperty, pp = Object.getOwnPropertyDescriptor, $o = (n, e, t, o) => {
|
|
20725
|
+
for (var r = o > 1 ? void 0 : o ? pp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
20654
20726
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
20655
|
-
return o && r &&
|
|
20727
|
+
return o && r && dp(e, t, r), r;
|
|
20656
20728
|
};
|
|
20657
20729
|
const Hr = class je extends g {
|
|
20658
20730
|
constructor() {
|
|
@@ -20941,12 +21013,12 @@ $o([
|
|
|
20941
21013
|
$o([
|
|
20942
21014
|
v()
|
|
20943
21015
|
], Hr.prototype, "collapsed", 2);
|
|
20944
|
-
let
|
|
20945
|
-
k("ok-json-viewer",
|
|
20946
|
-
var
|
|
20947
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21016
|
+
let hp = Hr;
|
|
21017
|
+
k("ok-json-viewer", hp);
|
|
21018
|
+
var up = Object.defineProperty, mp = Object.getOwnPropertyDescriptor, La = (n, e, t, o) => {
|
|
21019
|
+
for (var r = o > 1 ? void 0 : o ? mp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
20948
21020
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
20949
|
-
return o && r &&
|
|
21021
|
+
return o && r && up(e, t, r), r;
|
|
20950
21022
|
};
|
|
20951
21023
|
const mi = class Qr extends g {
|
|
20952
21024
|
constructor() {
|
|
@@ -21118,14 +21190,14 @@ La([
|
|
|
21118
21190
|
La([
|
|
21119
21191
|
l()
|
|
21120
21192
|
], mi.prototype, "raw", 2);
|
|
21121
|
-
let
|
|
21122
|
-
k("ok-diff",
|
|
21123
|
-
var
|
|
21124
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21193
|
+
let vp = mi;
|
|
21194
|
+
k("ok-diff", vp);
|
|
21195
|
+
var bp = Object.defineProperty, fp = Object.getOwnPropertyDescriptor, It = (n, e, t, o) => {
|
|
21196
|
+
for (var r = o > 1 ? void 0 : o ? fp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
21125
21197
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
21126
|
-
return o && r &&
|
|
21198
|
+
return o && r && bp(e, t, r), r;
|
|
21127
21199
|
};
|
|
21128
|
-
const
|
|
21200
|
+
const gp = [
|
|
21129
21201
|
"1234567890".split("").map((n) => ({ base: n })),
|
|
21130
21202
|
[..."qwertyuiop".split("").map((n) => ({ base: n })), { base: "", label: "⌫", kind: "del" }],
|
|
21131
21203
|
"asdfghjkl".split("").map((n) => ({ base: n })),
|
|
@@ -21142,7 +21214,7 @@ const fp = [
|
|
|
21142
21214
|
{ base: " ", label: "espacio", kind: "space" },
|
|
21143
21215
|
{ base: "@", label: "@", kind: "mod" }
|
|
21144
21216
|
]
|
|
21145
|
-
],
|
|
21217
|
+
], xp = [
|
|
21146
21218
|
"1234567890".split("").map((n) => ({ base: n })),
|
|
21147
21219
|
"@#$_&-+()/".split("").map((n) => ({ base: n })),
|
|
21148
21220
|
[
|
|
@@ -21157,7 +21229,7 @@ const fp = [
|
|
|
21157
21229
|
{ base: `
|
|
21158
21230
|
`, label: "↵", kind: "enter" }
|
|
21159
21231
|
]
|
|
21160
|
-
],
|
|
21232
|
+
], yp = [
|
|
21161
21233
|
[{ base: "1" }, { base: "2" }, { base: "3" }],
|
|
21162
21234
|
[{ base: "4" }, { base: "5" }, { base: "6" }],
|
|
21163
21235
|
[{ base: "7" }, { base: "8" }, { base: "9" }],
|
|
@@ -21387,11 +21459,11 @@ class rt extends g {
|
|
|
21387
21459
|
get rows() {
|
|
21388
21460
|
switch (this.activeLayout) {
|
|
21389
21461
|
case "numeric":
|
|
21390
|
-
return
|
|
21462
|
+
return yp;
|
|
21391
21463
|
case "symbol":
|
|
21392
|
-
return
|
|
21464
|
+
return xp;
|
|
21393
21465
|
default:
|
|
21394
|
-
return
|
|
21466
|
+
return gp;
|
|
21395
21467
|
}
|
|
21396
21468
|
}
|
|
21397
21469
|
emit(e, t) {
|
|
@@ -21491,12 +21563,12 @@ It([
|
|
|
21491
21563
|
v()
|
|
21492
21564
|
], rt.prototype, "activeLayout", 2);
|
|
21493
21565
|
k("ok-keyboard", rt);
|
|
21494
|
-
var
|
|
21495
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21566
|
+
var kp = Object.defineProperty, wp = Object.getOwnPropertyDescriptor, pr = (n, e, t, o) => {
|
|
21567
|
+
for (var r = o > 1 ? void 0 : o ? wp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
21496
21568
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
21497
|
-
return o && r &&
|
|
21569
|
+
return o && r && kp(e, t, r), r;
|
|
21498
21570
|
};
|
|
21499
|
-
const
|
|
21571
|
+
const $p = [
|
|
21500
21572
|
{ label: "AC", kind: "fn", wide: !0 },
|
|
21501
21573
|
{ label: "⌫", kind: "fn" },
|
|
21502
21574
|
{ label: "÷", kind: "op", op: "/" },
|
|
@@ -21515,7 +21587,7 @@ const wp = [
|
|
|
21515
21587
|
{ label: "0", kind: "digit", wide: !0 },
|
|
21516
21588
|
{ label: ".", kind: "dot" },
|
|
21517
21589
|
{ label: "=", kind: "equals" }
|
|
21518
|
-
],
|
|
21590
|
+
], Cp = {
|
|
21519
21591
|
"+": "+",
|
|
21520
21592
|
"-": "−",
|
|
21521
21593
|
"*": "×",
|
|
@@ -21702,7 +21774,7 @@ class Tt extends g {
|
|
|
21702
21774
|
</div>
|
|
21703
21775
|
</div>
|
|
21704
21776
|
<div class="keys">
|
|
21705
|
-
${
|
|
21777
|
+
${$p.map((e) => this._renderKey(e))}
|
|
21706
21778
|
</div>
|
|
21707
21779
|
</div>
|
|
21708
21780
|
`;
|
|
@@ -21800,7 +21872,7 @@ class Tt extends g {
|
|
|
21800
21872
|
default:
|
|
21801
21873
|
o = e;
|
|
21802
21874
|
}
|
|
21803
|
-
const r = this._op ?
|
|
21875
|
+
const r = this._op ? Cp[this._op] : "";
|
|
21804
21876
|
this._prev = this._op ? `${t} ${r} ${e} =` : "";
|
|
21805
21877
|
const i = Number.isFinite(o) ? +o.toFixed(8) : 0;
|
|
21806
21878
|
this._op = "", this._stored = 0, this._justEvaluated = !0, this._setDisplay(String(i));
|
|
@@ -21855,8 +21927,8 @@ pr([
|
|
|
21855
21927
|
v()
|
|
21856
21928
|
], Tt.prototype, "_justEvaluated", 2);
|
|
21857
21929
|
k("ok-calculator", Tt);
|
|
21858
|
-
var zp = Object.defineProperty,
|
|
21859
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
21930
|
+
var zp = Object.defineProperty, _p = Object.getOwnPropertyDescriptor, V = (n, e, t, o) => {
|
|
21931
|
+
for (var r = o > 1 ? void 0 : o ? _p(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
21860
21932
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
21861
21933
|
return o && r && zp(e, t, r), r;
|
|
21862
21934
|
};
|
|
@@ -22285,10 +22357,10 @@ V([
|
|
|
22285
22357
|
v()
|
|
22286
22358
|
], R.prototype, "lensY", 2);
|
|
22287
22359
|
k("ok-image", R);
|
|
22288
|
-
var
|
|
22289
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
22360
|
+
var Sp = Object.defineProperty, Ep = Object.getOwnPropertyDescriptor, Kr = (n, e, t, o) => {
|
|
22361
|
+
for (var r = o > 1 ? void 0 : o ? Ep(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
22290
22362
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
22291
|
-
return o && r &&
|
|
22363
|
+
return o && r && Sp(e, t, r), r;
|
|
22292
22364
|
};
|
|
22293
22365
|
class hr extends g {
|
|
22294
22366
|
constructor() {
|
|
@@ -22528,7 +22600,7 @@ class hr extends g {
|
|
|
22528
22600
|
@keydown=${(a) => {
|
|
22529
22601
|
(a.key === "Enter" || a.key === " ") && this.toggle(e, t, a);
|
|
22530
22602
|
}}
|
|
22531
|
-
>${
|
|
22603
|
+
>${Pp}</span
|
|
22532
22604
|
>` : null}
|
|
22533
22605
|
</button>
|
|
22534
22606
|
`;
|
|
@@ -22552,17 +22624,17 @@ Kr([
|
|
|
22552
22624
|
Kr([
|
|
22553
22625
|
l({ type: Number, reflect: !0 })
|
|
22554
22626
|
], hr.prototype, "columns", 2);
|
|
22555
|
-
const
|
|
22627
|
+
const Pp = s`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
22556
22628
|
stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
|
22557
22629
|
<path d="M5 13l4 4L19 7" />
|
|
22558
22630
|
</svg>`;
|
|
22559
22631
|
k("ok-gallery", hr);
|
|
22560
|
-
var
|
|
22561
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
22632
|
+
var Op = Object.defineProperty, Mp = Object.getOwnPropertyDescriptor, Yr = (n, e, t, o) => {
|
|
22633
|
+
for (var r = o > 1 ? void 0 : o ? Mp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
22562
22634
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
22563
|
-
return o && r &&
|
|
22635
|
+
return o && r && Op(e, t, r), r;
|
|
22564
22636
|
};
|
|
22565
|
-
const
|
|
22637
|
+
const Ap = {
|
|
22566
22638
|
prev: "Previous",
|
|
22567
22639
|
next: "Next",
|
|
22568
22640
|
close: "Close",
|
|
@@ -22803,7 +22875,7 @@ class ur extends g {
|
|
|
22803
22875
|
}
|
|
22804
22876
|
// Textos efectivos: defaults en inglés + overrides del consumidor.
|
|
22805
22877
|
get t() {
|
|
22806
|
-
return { ...
|
|
22878
|
+
return { ...Ap, ...this.labels };
|
|
22807
22879
|
}
|
|
22808
22880
|
disconnectedCallback() {
|
|
22809
22881
|
super.disconnectedCallback(), this.unbind();
|
|
@@ -22985,10 +23057,10 @@ Yr([
|
|
|
22985
23057
|
v()
|
|
22986
23058
|
], ur.prototype, "shown", 2);
|
|
22987
23059
|
k("ok-lightbox", ur);
|
|
22988
|
-
var
|
|
22989
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
23060
|
+
var Dp = Object.defineProperty, jp = Object.getOwnPropertyDescriptor, mr = (n, e, t, o) => {
|
|
23061
|
+
for (var r = o > 1 ? void 0 : o ? jp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
22990
23062
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
22991
|
-
return o && r &&
|
|
23063
|
+
return o && r && Dp(e, t, r), r;
|
|
22992
23064
|
};
|
|
22993
23065
|
const Ao = [
|
|
22994
23066
|
{ key: "free", label: "Libre", ratio: null },
|
|
@@ -23189,8 +23261,8 @@ class Bt extends g {
|
|
|
23189
23261
|
const b = Ao.find((f) => f.key === this.aspect);
|
|
23190
23262
|
if (b && b.ratio != null) {
|
|
23191
23263
|
const f = this.vpAspect(), x = p.width * f / b.ratio, $ = r === "tl" || r === "tr", M = r === "tr" || r === "br";
|
|
23192
|
-
let w = M ? u - p.width : i,
|
|
23193
|
-
(
|
|
23264
|
+
let w = M ? u - p.width : i, C = $ ? h - x : a, E = x, P = p.width;
|
|
23265
|
+
(C < 0 || C + E > 100) && (E = Math.min($ ? h : 100 - C, 100), P = E * b.ratio / f, w = M ? u - P : i, C = $ ? h - E : a), p = { x: w, y: C, width: P, height: E };
|
|
23194
23266
|
}
|
|
23195
23267
|
return this.clampRect(p);
|
|
23196
23268
|
}
|
|
@@ -23294,10 +23366,10 @@ mr([
|
|
|
23294
23366
|
v()
|
|
23295
23367
|
], Bt.prototype, "rect", 2);
|
|
23296
23368
|
k("ok-cropper", Bt);
|
|
23297
|
-
var
|
|
23298
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
23369
|
+
var Lp = Object.defineProperty, Ip = Object.getOwnPropertyDescriptor, Ft = (n, e, t, o) => {
|
|
23370
|
+
for (var r = o > 1 ? void 0 : o ? Ip(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
23299
23371
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
23300
|
-
return o && r &&
|
|
23372
|
+
return o && r && Lp(e, t, r), r;
|
|
23301
23373
|
};
|
|
23302
23374
|
class ot extends g {
|
|
23303
23375
|
constructor() {
|
|
@@ -23536,10 +23608,10 @@ Ft([
|
|
|
23536
23608
|
v()
|
|
23537
23609
|
], ot.prototype, "_size", 2);
|
|
23538
23610
|
k("ok-splitter", ot);
|
|
23539
|
-
var
|
|
23540
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
23611
|
+
var Tp = Object.defineProperty, Bp = Object.getOwnPropertyDescriptor, me = (n, e, t, o) => {
|
|
23612
|
+
for (var r = o > 1 ? void 0 : o ? Bp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
23541
23613
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
23542
|
-
return o && r &&
|
|
23614
|
+
return o && r && Tp(e, t, r), r;
|
|
23543
23615
|
};
|
|
23544
23616
|
class ee extends g {
|
|
23545
23617
|
constructor() {
|
|
@@ -23873,10 +23945,10 @@ me([
|
|
|
23873
23945
|
l()
|
|
23874
23946
|
], ee.prototype, "size", 2);
|
|
23875
23947
|
k("ok-loyalty-card", ee);
|
|
23876
|
-
var
|
|
23877
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
23948
|
+
var Fp = Object.defineProperty, Rp = Object.getOwnPropertyDescriptor, W = (n, e, t, o) => {
|
|
23949
|
+
for (var r = o > 1 ? void 0 : o ? Rp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
23878
23950
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
23879
|
-
return o && r &&
|
|
23951
|
+
return o && r && Fp(e, t, r), r;
|
|
23880
23952
|
};
|
|
23881
23953
|
class H extends g {
|
|
23882
23954
|
constructor() {
|
|
@@ -24236,10 +24308,10 @@ W([
|
|
|
24236
24308
|
l({ attribute: !1 })
|
|
24237
24309
|
], H.prototype, "attendees", 2);
|
|
24238
24310
|
k("ok-event-card", H);
|
|
24239
|
-
var
|
|
24240
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
24311
|
+
var Np = Object.defineProperty, qp = Object.getOwnPropertyDescriptor, Co = (n, e, t, o) => {
|
|
24312
|
+
for (var r = o > 1 ? void 0 : o ? qp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
24241
24313
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
24242
|
-
return o && r &&
|
|
24314
|
+
return o && r && Np(e, t, r), r;
|
|
24243
24315
|
};
|
|
24244
24316
|
const Wr = class Bo extends g {
|
|
24245
24317
|
constructor() {
|
|
@@ -24360,26 +24432,26 @@ const Wr = class Bo extends g {
|
|
|
24360
24432
|
`;
|
|
24361
24433
|
}
|
|
24362
24434
|
};
|
|
24363
|
-
|
|
24435
|
+
Co([
|
|
24364
24436
|
l({ attribute: !1 })
|
|
24365
24437
|
], Wr.prototype, "avatars", 2);
|
|
24366
|
-
|
|
24438
|
+
Co([
|
|
24367
24439
|
l({ type: Number })
|
|
24368
24440
|
], Wr.prototype, "max", 2);
|
|
24369
|
-
|
|
24441
|
+
Co([
|
|
24370
24442
|
l({ reflect: !0 })
|
|
24371
24443
|
], Wr.prototype, "size", 2);
|
|
24372
|
-
|
|
24444
|
+
Co([
|
|
24373
24445
|
l({ type: Number })
|
|
24374
24446
|
], Wr.prototype, "overlap", 2);
|
|
24375
|
-
let
|
|
24376
|
-
k("ok-avatar-group",
|
|
24377
|
-
var
|
|
24378
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
24447
|
+
let Up = Wr;
|
|
24448
|
+
k("ok-avatar-group", Up);
|
|
24449
|
+
var Vp = Object.defineProperty, Hp = Object.getOwnPropertyDescriptor, it = (n, e, t, o) => {
|
|
24450
|
+
for (var r = o > 1 ? void 0 : o ? Hp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
24379
24451
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
24380
|
-
return o && r &&
|
|
24452
|
+
return o && r && Vp(e, t, r), r;
|
|
24381
24453
|
};
|
|
24382
|
-
const nt = 184, Jr = 120,
|
|
24454
|
+
const nt = 184, Jr = 120, Kp = 28, Ia = 56, Yp = nt + Kp, Li = Jr + Ia, Do = (n, e, t) => Math.min(t, Math.max(e, n)), jo = 0.2, Ii = 2.5;
|
|
24383
24455
|
class De extends g {
|
|
24384
24456
|
constructor() {
|
|
24385
24457
|
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) => {
|
|
@@ -24656,7 +24728,7 @@ class De extends g {
|
|
|
24656
24728
|
const p = this.collapsed.has(u) ? [] : u.children ?? [];
|
|
24657
24729
|
let b;
|
|
24658
24730
|
if (!p.length)
|
|
24659
|
-
b = r *
|
|
24731
|
+
b = r * Yp, r += 1;
|
|
24660
24732
|
else {
|
|
24661
24733
|
const x = p.map(($) => a($, h + 1));
|
|
24662
24734
|
b = (x[0].x + x[x.length - 1].x) / 2;
|
|
@@ -24674,8 +24746,8 @@ class De extends g {
|
|
|
24674
24746
|
const $ = p[0].x + nt / 2, M = p[p.length - 1].x + nt / 2;
|
|
24675
24747
|
p.length > 1 && d.push(`M${$},${x}L${M},${x}`);
|
|
24676
24748
|
for (const w of p) {
|
|
24677
|
-
const
|
|
24678
|
-
d.push(`M${
|
|
24749
|
+
const C = w.x + nt / 2;
|
|
24750
|
+
d.push(`M${C},${x}L${C},${w.y}`);
|
|
24679
24751
|
}
|
|
24680
24752
|
}
|
|
24681
24753
|
const c = t.reduce((u, h) => Math.max(u, h.x), 0);
|
|
@@ -24886,12 +24958,12 @@ it([
|
|
|
24886
24958
|
v()
|
|
24887
24959
|
], De.prototype, "collapsed", 2);
|
|
24888
24960
|
k("ok-org-chart", De);
|
|
24889
|
-
var
|
|
24890
|
-
for (var r = o > 1 ? void 0 : o ?
|
|
24961
|
+
var Wp = Object.defineProperty, Xp = Object.getOwnPropertyDescriptor, N = (n, e, t, o) => {
|
|
24962
|
+
for (var r = o > 1 ? void 0 : o ? Xp(e, t) : e, i = n.length - 1, a; i >= 0; i--)
|
|
24891
24963
|
(a = n[i]) && (r = (o ? a(e, t, r) : a(r)) || r);
|
|
24892
|
-
return o && r &&
|
|
24964
|
+
return o && r && Wp(e, t, r), r;
|
|
24893
24965
|
};
|
|
24894
|
-
const
|
|
24966
|
+
const Gp = {
|
|
24895
24967
|
upload: "Subir archivo",
|
|
24896
24968
|
import: "Importar",
|
|
24897
24969
|
search: "Buscar archivos…",
|
|
@@ -25513,7 +25585,7 @@ class B extends g {
|
|
|
25513
25585
|
}
|
|
25514
25586
|
// Textos efectivos.
|
|
25515
25587
|
get t() {
|
|
25516
|
-
return { ...
|
|
25588
|
+
return { ...Gp, ...this.labels };
|
|
25517
25589
|
}
|
|
25518
25590
|
// Siembra: expande todas las carpetas con hijos la primera vez.
|
|
25519
25591
|
seedExpanded(e) {
|