@supersoniks/concorde 3.2.6 → 3.2.8
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/build-infos.json +1 -1
- package/concorde-core.bundle.js +77 -77
- package/concorde-core.es.js +402 -372
- package/dist/concorde-core.bundle.js +77 -77
- package/dist/concorde-core.es.js +402 -372
- package/package.json +1 -1
- package/src/core/components/functional/queue/queue.demo.ts +0 -0
- package/src/core/components/functional/sdui/sdui.ts +47 -22
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +9 -1
- package/src/core/components/ui/tooltip/tooltip.ts +67 -2
- package/src/core/decorators/Subscriber.ts +0 -0
- package/src/core/mixins/Fetcher.ts +17 -8
- package/src/core/utils/HTML.ts +2 -0
- package/src/core/utils/PublisherProxy.ts +0 -0
- package/src/core/utils/api.ts +7 -0
- package/src/decorators.ts +0 -0
- package/src/docs.ts +0 -0
- package/src/tsconfig-model.json +0 -0
- package/src/tsconfig.json +0 -0
- package/src/tsconfig.tsbuildinfo +0 -0
- package/templates-test.html +0 -0
package/concorde-core.es.js
CHANGED
|
@@ -55,7 +55,7 @@ let J = class Et {
|
|
|
55
55
|
const h = Et.getAncestorAttributeValue(
|
|
56
56
|
t,
|
|
57
57
|
"credentials"
|
|
58
|
-
) || void 0, u = t.getAttribute("cache"), d = t.hasAttribute("blockUntilDone");
|
|
58
|
+
) || void 0, u = t.getAttribute("cache"), d = t.hasAttribute("blockUntilDone"), g = t.hasAttribute("keepAlive");
|
|
59
59
|
return {
|
|
60
60
|
serviceURL: e,
|
|
61
61
|
token: i,
|
|
@@ -66,7 +66,8 @@ let J = class Et {
|
|
|
66
66
|
addHTTPResponse: s,
|
|
67
67
|
credentials: h,
|
|
68
68
|
cache: u,
|
|
69
|
-
blockUntilDone: d
|
|
69
|
+
blockUntilDone: d,
|
|
70
|
+
keepAlive: g
|
|
70
71
|
};
|
|
71
72
|
}
|
|
72
73
|
/**
|
|
@@ -556,7 +557,7 @@ let T = (L = class {
|
|
|
556
557
|
const h = await new Response(l.readable).arrayBuffer();
|
|
557
558
|
return new TextDecoder().decode(h);
|
|
558
559
|
}
|
|
559
|
-
}, L.buildDate = "
|
|
560
|
+
}, L.buildDate = "Fri Dec 12 2025 10:15:38 GMT+0100 (Central European Standard Time)", L.changed = !1, L.saving = !1, L.saveId = 0, L.instance = null, L.instances = /* @__PURE__ */ new Map(), L.modifiedCollectore = [], L);
|
|
560
561
|
if (typeof window < "u") {
|
|
561
562
|
const r = window;
|
|
562
563
|
r[ms + "PublisherManager"] = r[ms + "PublisherManager"] || T;
|
|
@@ -941,7 +942,7 @@ let tt = class Bt {
|
|
|
941
942
|
return Bt.getURLSearchArray(t, "").join("&");
|
|
942
943
|
}
|
|
943
944
|
};
|
|
944
|
-
const
|
|
945
|
+
const ut = tt.traverseDotNotation;
|
|
945
946
|
/**
|
|
946
947
|
* @license
|
|
947
948
|
* Copyright 2017 Google LLC
|
|
@@ -999,7 +1000,7 @@ const Br = (r) => new pr(typeof r == "string" ? r : r + "", void 0, fi), P = (r,
|
|
|
999
1000
|
* Copyright 2017 Google LLC
|
|
1000
1001
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1001
1002
|
*/
|
|
1002
|
-
const { is: Hr, defineProperty:
|
|
1003
|
+
const { is: Hr, defineProperty: Kr, getOwnPropertyDescriptor: Wr, getOwnPropertyNames: Yr, getOwnPropertySymbols: Zr, getPrototypeOf: Xr } = Object, ks = globalThis, ji = ks.trustedTypes, Gr = ji ? ji.emptyScript : "", Qr = ks.reactiveElementPolyfillSupport, Be = (r, t) => r, gs = { toAttribute(r, t) {
|
|
1003
1004
|
switch (t) {
|
|
1004
1005
|
case Boolean:
|
|
1005
1006
|
r = r ? Gr : null;
|
|
@@ -1039,11 +1040,11 @@ let _e = class extends HTMLElement {
|
|
|
1039
1040
|
static createProperty(t, i = Fi) {
|
|
1040
1041
|
if (i.state && (i.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((i = Object.create(i)).wrapped = !0), this.elementProperties.set(t, i), !i.noAccessor) {
|
|
1041
1042
|
const s = Symbol(), e = this.getPropertyDescriptor(t, s, i);
|
|
1042
|
-
e !== void 0 &&
|
|
1043
|
+
e !== void 0 && Kr(this.prototype, t, e);
|
|
1043
1044
|
}
|
|
1044
1045
|
}
|
|
1045
1046
|
static getPropertyDescriptor(t, i, s) {
|
|
1046
|
-
const { get: e, set: o } =
|
|
1047
|
+
const { get: e, set: o } = Wr(this.prototype, t) ?? { get() {
|
|
1047
1048
|
return this[i];
|
|
1048
1049
|
}, set(n) {
|
|
1049
1050
|
this[i] = n;
|
|
@@ -1262,7 +1263,7 @@ const gi = (r, t, i) => (i.configurable = !0, i.enumerable = !0, Reflect.decorat
|
|
|
1262
1263
|
* Copyright 2017 Google LLC
|
|
1263
1264
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1264
1265
|
*/
|
|
1265
|
-
function
|
|
1266
|
+
function ee(r, t) {
|
|
1266
1267
|
return (i, s, e) => {
|
|
1267
1268
|
const o = (n) => n.renderRoot?.querySelector(r) ?? null;
|
|
1268
1269
|
return gi(i, s, { get() {
|
|
@@ -1302,9 +1303,9 @@ function dt(r) {
|
|
|
1302
1303
|
* Copyright 2017 Google LLC
|
|
1303
1304
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1304
1305
|
*/
|
|
1305
|
-
const bi = globalThis, bs = bi.trustedTypes, zi = bs ? bs.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ur = "$lit$", Yt = `lit$${Math.random().toFixed(9).slice(2)}$`, fr = "?" + Yt, eo = `<${fr}>`,
|
|
1306
|
-
\f\r]`, je = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ri = /-->/g, Ui = />/g,
|
|
1307
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Vi = /'/g, Bi = /"/g, mr = /^(?:script|style|textarea|title)$/i, io = (r) => (t, ...i) => ({ _$litType$: r, strings: t, values: i }), m = io(1), wt = Symbol.for("lit-noChange"), C = Symbol.for("lit-nothing"), qi = /* @__PURE__ */ new WeakMap(),
|
|
1306
|
+
const bi = globalThis, bs = bi.trustedTypes, zi = bs ? bs.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ur = "$lit$", Yt = `lit$${Math.random().toFixed(9).slice(2)}$`, fr = "?" + Yt, eo = `<${fr}>`, de = document, Ke = () => de.createComment(""), We = (r) => r === null || typeof r != "object" && typeof r != "function", vi = Array.isArray, so = (r) => vi(r) || typeof r?.[Symbol.iterator] == "function", zs = `[
|
|
1307
|
+
\f\r]`, je = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ri = /-->/g, Ui = />/g, ne = RegExp(`>|${zs}(?:([^\\s"'>=/]+)(${zs}*=${zs}*(?:[^
|
|
1308
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Vi = /'/g, Bi = /"/g, mr = /^(?:script|style|textarea|title)$/i, io = (r) => (t, ...i) => ({ _$litType$: r, strings: t, values: i }), m = io(1), wt = Symbol.for("lit-noChange"), C = Symbol.for("lit-nothing"), qi = /* @__PURE__ */ new WeakMap(), he = de.createTreeWalker(de, 129);
|
|
1308
1309
|
function gr(r, t) {
|
|
1309
1310
|
if (!vi(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1310
1311
|
return zi !== void 0 ? zi.createHTML(t) : t;
|
|
@@ -1315,8 +1316,8 @@ const ro = (r, t) => {
|
|
|
1315
1316
|
for (let l = 0; l < i; l++) {
|
|
1316
1317
|
const c = r[l];
|
|
1317
1318
|
let h, u, d = -1, g = 0;
|
|
1318
|
-
for (; g < c.length && (n.lastIndex = g, u = n.exec(c), u !== null); ) g = n.lastIndex, n === je ? u[1] === "!--" ? n = Ri : u[1] !== void 0 ? n = Ui : u[2] !== void 0 ? (mr.test(u[2]) && (e = RegExp("</" + u[2], "g")), n =
|
|
1319
|
-
const v = n ===
|
|
1319
|
+
for (; g < c.length && (n.lastIndex = g, u = n.exec(c), u !== null); ) g = n.lastIndex, n === je ? u[1] === "!--" ? n = Ri : u[1] !== void 0 ? n = Ui : u[2] !== void 0 ? (mr.test(u[2]) && (e = RegExp("</" + u[2], "g")), n = ne) : u[3] !== void 0 && (n = ne) : n === ne ? u[0] === ">" ? (n = e ?? je, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, h = u[1], n = u[3] === void 0 ? ne : u[3] === '"' ? Bi : Vi) : n === Bi || n === Vi ? n = ne : n === Ri || n === Ui ? n = je : (n = ne, e = void 0);
|
|
1320
|
+
const v = n === ne && r[l + 1].startsWith("/>") ? " " : "";
|
|
1320
1321
|
o += n === je ? c + eo : d >= 0 ? (s.push(h), c.slice(0, d) + ur + c.slice(d) + Yt + v) : c + Yt + (d === -2 ? l : v);
|
|
1321
1322
|
}
|
|
1322
1323
|
return [gr(r, o + (r[i] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
|
@@ -1327,11 +1328,11 @@ let Hs = class br {
|
|
|
1327
1328
|
this.parts = [];
|
|
1328
1329
|
let o = 0, n = 0;
|
|
1329
1330
|
const l = t.length - 1, c = this.parts, [h, u] = ro(t, i);
|
|
1330
|
-
if (this.el = br.createElement(h, s),
|
|
1331
|
+
if (this.el = br.createElement(h, s), he.currentNode = this.el.content, i === 2 || i === 3) {
|
|
1331
1332
|
const d = this.el.content.firstChild;
|
|
1332
1333
|
d.replaceWith(...d.childNodes);
|
|
1333
1334
|
}
|
|
1334
|
-
for (; (e =
|
|
1335
|
+
for (; (e = he.nextNode()) !== null && c.length < l; ) {
|
|
1335
1336
|
if (e.nodeType === 1) {
|
|
1336
1337
|
if (e.hasAttributes()) for (const d of e.getAttributeNames()) if (d.endsWith(ur)) {
|
|
1337
1338
|
const g = u[n++], v = e.getAttribute(d).split(Yt), b = /([.?@])?(.*)/.exec(g);
|
|
@@ -1341,8 +1342,8 @@ let Hs = class br {
|
|
|
1341
1342
|
const d = e.textContent.split(Yt), g = d.length - 1;
|
|
1342
1343
|
if (g > 0) {
|
|
1343
1344
|
e.textContent = bs ? bs.emptyScript : "";
|
|
1344
|
-
for (let v = 0; v < g; v++) e.append(d[v],
|
|
1345
|
-
e.append(d[g],
|
|
1345
|
+
for (let v = 0; v < g; v++) e.append(d[v], Ke()), he.nextNode(), c.push({ type: 2, index: ++o });
|
|
1346
|
+
e.append(d[g], Ke());
|
|
1346
1347
|
}
|
|
1347
1348
|
}
|
|
1348
1349
|
} else if (e.nodeType === 8) if (e.data === fr) c.push({ type: 2, index: o });
|
|
@@ -1354,14 +1355,14 @@ let Hs = class br {
|
|
|
1354
1355
|
}
|
|
1355
1356
|
}
|
|
1356
1357
|
static createElement(t, i) {
|
|
1357
|
-
const s =
|
|
1358
|
+
const s = de.createElement("template");
|
|
1358
1359
|
return s.innerHTML = t, s;
|
|
1359
1360
|
}
|
|
1360
1361
|
};
|
|
1361
1362
|
function $e(r, t, i = r, s) {
|
|
1362
1363
|
if (t === wt) return t;
|
|
1363
1364
|
let e = s !== void 0 ? i._$Co?.[s] : i._$Cl;
|
|
1364
|
-
const o =
|
|
1365
|
+
const o = We(t) ? void 0 : t._$litDirective$;
|
|
1365
1366
|
return e?.constructor !== o && (e?._$AO?.(!1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, i, s)), s !== void 0 ? (i._$Co ??= [])[s] = e : i._$Cl = e), e !== void 0 && (t = $e(r, e._$AS(r, t.values), e, s)), t;
|
|
1366
1367
|
}
|
|
1367
1368
|
let oo = class {
|
|
@@ -1375,17 +1376,17 @@ let oo = class {
|
|
|
1375
1376
|
return this._$AM._$AU;
|
|
1376
1377
|
}
|
|
1377
1378
|
u(t) {
|
|
1378
|
-
const { el: { content: i }, parts: s } = this._$AD, e = (t?.creationScope ??
|
|
1379
|
-
|
|
1380
|
-
let o =
|
|
1379
|
+
const { el: { content: i }, parts: s } = this._$AD, e = (t?.creationScope ?? de).importNode(i, !0);
|
|
1380
|
+
he.currentNode = e;
|
|
1381
|
+
let o = he.nextNode(), n = 0, l = 0, c = s[0];
|
|
1381
1382
|
for (; c !== void 0; ) {
|
|
1382
1383
|
if (n === c.index) {
|
|
1383
1384
|
let h;
|
|
1384
1385
|
c.type === 2 ? h = new Oe(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new co(o, this, t)), this._$AV.push(h), c = s[++l];
|
|
1385
1386
|
}
|
|
1386
|
-
n !== c?.index && (o =
|
|
1387
|
+
n !== c?.index && (o = he.nextNode(), n++);
|
|
1387
1388
|
}
|
|
1388
|
-
return
|
|
1389
|
+
return he.currentNode = de, e;
|
|
1389
1390
|
}
|
|
1390
1391
|
p(t) {
|
|
1391
1392
|
let i = 0;
|
|
@@ -1411,7 +1412,7 @@ class Oe {
|
|
|
1411
1412
|
return this._$AB;
|
|
1412
1413
|
}
|
|
1413
1414
|
_$AI(t, i = this) {
|
|
1414
|
-
t = $e(this, t, i),
|
|
1415
|
+
t = $e(this, t, i), We(t) ? t === C || t == null || t === "" ? (this._$AH !== C && this._$AR(), this._$AH = C) : t !== this._$AH && t !== wt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : so(t) ? this.k(t) : this._(t);
|
|
1415
1416
|
}
|
|
1416
1417
|
O(t) {
|
|
1417
1418
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1420,7 +1421,7 @@ class Oe {
|
|
|
1420
1421
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
1421
1422
|
}
|
|
1422
1423
|
_(t) {
|
|
1423
|
-
this._$AH !== C &&
|
|
1424
|
+
this._$AH !== C && We(this._$AH) ? this._$AA.nextSibling.data = t : this.T(de.createTextNode(t)), this._$AH = t;
|
|
1424
1425
|
}
|
|
1425
1426
|
$(t) {
|
|
1426
1427
|
const { values: i, _$litType$: s } = t, e = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = Hs.createElement(gr(s.h, s.h[0]), this.options)), s);
|
|
@@ -1438,7 +1439,7 @@ class Oe {
|
|
|
1438
1439
|
vi(this._$AH) || (this._$AH = [], this._$AR());
|
|
1439
1440
|
const i = this._$AH;
|
|
1440
1441
|
let s, e = 0;
|
|
1441
|
-
for (const o of t) e === i.length ? i.push(s = new Oe(this.O(
|
|
1442
|
+
for (const o of t) e === i.length ? i.push(s = new Oe(this.O(Ke()), this.O(Ke()), this, this.options)) : s = i[e], s._$AI(o), e++;
|
|
1442
1443
|
e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
|
|
1443
1444
|
}
|
|
1444
1445
|
_$AR(t = this._$AA.nextSibling, i) {
|
|
@@ -1464,11 +1465,11 @@ class Os {
|
|
|
1464
1465
|
_$AI(t, i = this, s, e) {
|
|
1465
1466
|
const o = this.strings;
|
|
1466
1467
|
let n = !1;
|
|
1467
|
-
if (o === void 0) t = $e(this, t, i, 0), n = !
|
|
1468
|
+
if (o === void 0) t = $e(this, t, i, 0), n = !We(t) || t !== this._$AH && t !== wt, n && (this._$AH = t);
|
|
1468
1469
|
else {
|
|
1469
1470
|
const l = t;
|
|
1470
1471
|
let c, h;
|
|
1471
|
-
for (t = o[0], c = 0; c < o.length - 1; c++) h = $e(this, l[s + c], i, c), h === wt && (h = this._$AH[c]), n ||= !
|
|
1472
|
+
for (t = o[0], c = 0; c < o.length - 1; c++) h = $e(this, l[s + c], i, c), h === wt && (h = this._$AH[c]), n ||= !We(h) || h !== this._$AH[c], h === C ? t = C : t !== C && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
|
|
1472
1473
|
}
|
|
1473
1474
|
n && !e && this.j(t);
|
|
1474
1475
|
}
|
|
@@ -1523,7 +1524,7 @@ const uo = (r, t, i) => {
|
|
|
1523
1524
|
let e = s._$litPart$;
|
|
1524
1525
|
if (e === void 0) {
|
|
1525
1526
|
const o = i?.renderBefore ?? null;
|
|
1526
|
-
s._$litPart$ = e = new Oe(t.insertBefore(
|
|
1527
|
+
s._$litPart$ = e = new Oe(t.insertBefore(Ke(), o), o, void 0, i ?? {});
|
|
1527
1528
|
}
|
|
1528
1529
|
return e._$AI(r), e;
|
|
1529
1530
|
};
|
|
@@ -1552,7 +1553,7 @@ const { I: fo } = ho, mo = (r) => r.strings === void 0, Hi = () => document.crea
|
|
|
1552
1553
|
}
|
|
1553
1554
|
}
|
|
1554
1555
|
return i;
|
|
1555
|
-
},
|
|
1556
|
+
}, ae = (r, t, i = r) => (r._$AI(t, i), r), go = {}, bo = (r, t = go) => r._$AH = t, vo = (r) => r._$AH, Rs = (r) => {
|
|
1556
1557
|
r._$AR(), r._$AA.remove();
|
|
1557
1558
|
};
|
|
1558
1559
|
/**
|
|
@@ -1560,7 +1561,7 @@ const { I: fo } = ho, mo = (r) => r.strings === void 0, Hi = () => document.crea
|
|
|
1560
1561
|
* Copyright 2017 Google LLC
|
|
1561
1562
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1562
1563
|
*/
|
|
1563
|
-
const be = { ATTRIBUTE: 1, CHILD: 2 },
|
|
1564
|
+
const be = { ATTRIBUTE: 1, CHILD: 2 }, se = (r) => (...t) => ({ _$litDirective$: r, values: t });
|
|
1564
1565
|
let De = class {
|
|
1565
1566
|
constructor(t) {
|
|
1566
1567
|
}
|
|
@@ -1719,7 +1720,7 @@ class Po extends yi {
|
|
|
1719
1720
|
this.observable && this.subscribe(this.observable);
|
|
1720
1721
|
}
|
|
1721
1722
|
}
|
|
1722
|
-
const yr =
|
|
1723
|
+
const yr = se(Po), $o = yr, Co = yr, So = (r) => Ds(r).values().next().value?.get(), wr = (r, t) => {
|
|
1723
1724
|
const i = Ds(r).values().next().value;
|
|
1724
1725
|
if (t !== void 0 && i) {
|
|
1725
1726
|
const s = i.get();
|
|
@@ -1730,7 +1731,7 @@ const yr = ee(Po), $o = yr, Co = yr, So = (r) => Ds(r).values().next().value?.ge
|
|
|
1730
1731
|
Ds(r).values().next().value?.set(t);
|
|
1731
1732
|
}, F = class F {
|
|
1732
1733
|
constructor(t) {
|
|
1733
|
-
this.addHTTPResponse = !1, this.cache = "default", this.isServiceSimulated = !1, this.blockUntilDone = !1, this.serviceURL = t.serviceURL, this.blockUntilDone = t.blockUntilDone || !1, this.serviceURL == "publisher://" && (this.isServiceSimulated = !0), this.serviceURL || (this.serviceURL = document.location.origin), this.userName = t.userName, this.password = t.password, t.token && (this.token = t.token), this.tokenProvider = t.tokenProvider, this.authToken = t.authToken, this.addHTTPResponse = t.addHTTPResponse || !1, this.credentials = t.credentials, this.cache = t.cache || "default";
|
|
1734
|
+
this.addHTTPResponse = !1, this.cache = "default", this.isServiceSimulated = !1, this.blockUntilDone = !1, this.keepAlive = !1, this.serviceURL = t.serviceURL, this.blockUntilDone = t.blockUntilDone || !1, this.serviceURL == "publisher://" && (this.isServiceSimulated = !0), this.serviceURL || (this.serviceURL = document.location.origin), this.userName = t.userName, this.password = t.password, t.token && (this.token = t.token), this.tokenProvider = t.tokenProvider, this.authToken = t.authToken, this.addHTTPResponse = t.addHTTPResponse || !1, this.credentials = t.credentials, this.cache = t.cache || "default", this.keepAlive = t.keepAlive || !1;
|
|
1734
1735
|
}
|
|
1735
1736
|
set token(t) {
|
|
1736
1737
|
if (this._token = t, !t) {
|
|
@@ -1796,7 +1797,8 @@ const yr = ee(Po), $o = yr, Co = yr, So = (r) => Ds(r).values().next().value?.ge
|
|
|
1796
1797
|
}),
|
|
1797
1798
|
{
|
|
1798
1799
|
headers: t,
|
|
1799
|
-
credentials: this.credentials
|
|
1800
|
+
credentials: this.credentials,
|
|
1801
|
+
keepalive: this.keepAlive
|
|
1800
1802
|
}
|
|
1801
1803
|
);
|
|
1802
1804
|
try {
|
|
@@ -1875,7 +1877,8 @@ const yr = ee(Po), $o = yr, Co = yr, So = (r) => Ds(r).values().next().value?.ge
|
|
|
1875
1877
|
const d = await fetch(n, {
|
|
1876
1878
|
headers: o,
|
|
1877
1879
|
credentials: this.credentials,
|
|
1878
|
-
cache: this.cache
|
|
1880
|
+
cache: this.cache,
|
|
1881
|
+
keepalive: this.keepAlive
|
|
1879
1882
|
}), g = await this.handleResult(d, e);
|
|
1880
1883
|
u(g);
|
|
1881
1884
|
} catch {
|
|
@@ -1923,7 +1926,8 @@ const yr = ee(Po), $o = yr, Co = yr, So = (r) => Ds(r).values().next().value?.ge
|
|
|
1923
1926
|
headers: n,
|
|
1924
1927
|
credentials: this.credentials,
|
|
1925
1928
|
method: s,
|
|
1926
|
-
body: JSON.stringify(i)
|
|
1929
|
+
body: JSON.stringify(i),
|
|
1930
|
+
keepalive: this.keepAlive
|
|
1927
1931
|
});
|
|
1928
1932
|
return await this.handleResult(l, o);
|
|
1929
1933
|
}
|
|
@@ -1945,7 +1949,8 @@ const yr = ee(Po), $o = yr, Co = yr, So = (r) => Ds(r).values().next().value?.ge
|
|
|
1945
1949
|
headers: n,
|
|
1946
1950
|
credentials: this.credentials,
|
|
1947
1951
|
method: s,
|
|
1948
|
-
body: l
|
|
1952
|
+
body: l,
|
|
1953
|
+
keepalive: this.keepAlive
|
|
1949
1954
|
});
|
|
1950
1955
|
return await this.handleResult(h, o);
|
|
1951
1956
|
}
|
|
@@ -1986,7 +1991,7 @@ const Oo = async (r, t) => {
|
|
|
1986
1991
|
* Copyright 2017 Google LLC
|
|
1987
1992
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1988
1993
|
*/
|
|
1989
|
-
let
|
|
1994
|
+
let Ks = class extends De {
|
|
1990
1995
|
constructor(t) {
|
|
1991
1996
|
if (super(t), this.it = C, t.type !== be.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
1992
1997
|
}
|
|
@@ -2000,8 +2005,8 @@ let Ws = class extends De {
|
|
|
2000
2005
|
return i.raw = i, this._t = { _$litType$: this.constructor.resultType, strings: i, values: [] };
|
|
2001
2006
|
}
|
|
2002
2007
|
};
|
|
2003
|
-
|
|
2004
|
-
const z =
|
|
2008
|
+
Ks.directiveName = "unsafeHTML", Ks.resultType = 1;
|
|
2009
|
+
const z = se(Ks), Ws = /* @__PURE__ */ new Map(), Ki = (r) => {
|
|
2005
2010
|
if (!r) return null;
|
|
2006
2011
|
const t = J.getApiConfiguration(r), i = J.getAncestorAttributeValue(
|
|
2007
2012
|
r,
|
|
@@ -2015,7 +2020,7 @@ const z = ee(Ws), Ks = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2015
2020
|
wordingVersionProvider: s
|
|
2016
2021
|
};
|
|
2017
2022
|
let o = null;
|
|
2018
|
-
for (const [n, l] of
|
|
2023
|
+
for (const [n, l] of Ws)
|
|
2019
2024
|
if (tt.deepEqual(n, e)) {
|
|
2020
2025
|
o = l;
|
|
2021
2026
|
break;
|
|
@@ -2028,8 +2033,8 @@ const z = ee(Ws), Ks = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2028
2033
|
callIndex: 0,
|
|
2029
2034
|
wordingVersionProvider: s,
|
|
2030
2035
|
apiCallKey: e
|
|
2031
|
-
},
|
|
2032
|
-
},
|
|
2036
|
+
}, Ws.set(e, o)), o;
|
|
2037
|
+
}, Wi = "", V = class V extends yi {
|
|
2033
2038
|
/* eslint-disable @typescript-eslint/no-explicit-any*/
|
|
2034
2039
|
constructor(t) {
|
|
2035
2040
|
super(t), this.useUnsafeHTML = !1, this.onAssign = (i) => {
|
|
@@ -2049,7 +2054,7 @@ const z = ee(Ws), Ks = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2049
2054
|
V.firstCall = !1, di(V.reloadWordings);
|
|
2050
2055
|
const u = Object.keys(V.publisher.get());
|
|
2051
2056
|
for (const d of u)
|
|
2052
|
-
V.publisher.get()[d] ===
|
|
2057
|
+
V.publisher.get()[d] === Wi && delete V.publisher[d];
|
|
2053
2058
|
}
|
|
2054
2059
|
if (t) {
|
|
2055
2060
|
const u = J.getAncestorAttributeValue(
|
|
@@ -2061,7 +2066,7 @@ const z = ee(Ws), Ks = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2061
2066
|
);
|
|
2062
2067
|
}
|
|
2063
2068
|
let o = V.publisher.get()["wording_" + i] != null;
|
|
2064
|
-
const n = e ||
|
|
2069
|
+
const n = e || Ki(t);
|
|
2065
2070
|
if (!n) return;
|
|
2066
2071
|
if (o && i !== "") {
|
|
2067
2072
|
n.translatedKeys.add(i);
|
|
@@ -2077,7 +2082,7 @@ const z = ee(Ws), Ks = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2077
2082
|
}
|
|
2078
2083
|
const h = n.api;
|
|
2079
2084
|
window.queueMicrotask(async () => {
|
|
2080
|
-
if (o = V.publisher["wording_" + i].get() != null, !o && i !== "" && (n.keysToTranslate.add(i), V.publisher["wording_" + i] =
|
|
2085
|
+
if (o = V.publisher["wording_" + i].get() != null, !o && i !== "" && (n.keysToTranslate.add(i), V.publisher["wording_" + i] = Wi), l !== n.callIndex) return;
|
|
2081
2086
|
const u = Array.from(n.keysToTranslate);
|
|
2082
2087
|
if (!u.length) return;
|
|
2083
2088
|
const d = c.split("?"), g = d.shift(), v = (d.length > 0 ? d.join("?") + "&" : "") + "labels[]=" + u.join("&labels[]="), b = g + "?" + v;
|
|
@@ -2091,12 +2096,12 @@ const z = ee(Ws), Ks = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2091
2096
|
});
|
|
2092
2097
|
}
|
|
2093
2098
|
static reloadWordings() {
|
|
2094
|
-
for (const t of
|
|
2099
|
+
for (const t of Ws.values())
|
|
2095
2100
|
t.keysToTranslate = new Set(t.translatedKeys), t.keysToTranslate.size > 0 && V.callApi(null, "", !1, t);
|
|
2096
2101
|
}
|
|
2097
2102
|
//check if the wording version has changed
|
|
2098
2103
|
static handleVersionProvider(t) {
|
|
2099
|
-
const i =
|
|
2104
|
+
const i = Ki(t), s = (o) => {
|
|
2100
2105
|
};
|
|
2101
2106
|
if (!i) return s;
|
|
2102
2107
|
if (V.versionProviderHandlers.has(i))
|
|
@@ -2138,7 +2143,7 @@ V.publisher = T.get("sonic-wording", {
|
|
|
2138
2143
|
localStorageMode: "enabled"
|
|
2139
2144
|
}), V.firstCall = !0, V.versionProviderHandlers = /* @__PURE__ */ new Map();
|
|
2140
2145
|
let xe = V;
|
|
2141
|
-
const Do =
|
|
2146
|
+
const Do = se(xe), Lo = Do;
|
|
2142
2147
|
var Eo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, Dt = (r, t, i, s) => {
|
|
2143
2148
|
for (var e = s > 1 ? void 0 : s ? No(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
2144
2149
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
@@ -2339,7 +2344,7 @@ const Je = (r) => {
|
|
|
2339
2344
|
a({ type: Array })
|
|
2340
2345
|
], t.prototype, "templates"), t;
|
|
2341
2346
|
};
|
|
2342
|
-
var Mo = Object.defineProperty, jo = Object.getOwnPropertyDescriptor,
|
|
2347
|
+
var Mo = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, W = (r, t, i, s) => {
|
|
2343
2348
|
for (var e = s > 1 ? void 0 : s ? jo(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
2344
2349
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
2345
2350
|
return s && e && Mo(t, i, e), e;
|
|
@@ -2436,70 +2441,70 @@ let R = class extends G(Je(w)) {
|
|
|
2436
2441
|
}
|
|
2437
2442
|
};
|
|
2438
2443
|
R.dateCompnents = /* @__PURE__ */ new Set();
|
|
2439
|
-
|
|
2444
|
+
W([
|
|
2440
2445
|
a()
|
|
2441
2446
|
], R.prototype, "wording_billet_periode_validite", 1);
|
|
2442
|
-
|
|
2447
|
+
W([
|
|
2443
2448
|
a({ type: Boolean })
|
|
2444
2449
|
], R.prototype, "designMode", 2);
|
|
2445
|
-
|
|
2450
|
+
W([
|
|
2446
2451
|
a({ type: String })
|
|
2447
2452
|
], R.prototype, "time_zone", 2);
|
|
2448
|
-
|
|
2453
|
+
W([
|
|
2449
2454
|
a({ type: Number })
|
|
2450
2455
|
], R.prototype, "date", 2);
|
|
2451
|
-
|
|
2456
|
+
W([
|
|
2452
2457
|
a({ type: String })
|
|
2453
2458
|
], R.prototype, "date_string", 2);
|
|
2454
|
-
|
|
2459
|
+
W([
|
|
2455
2460
|
a({ type: String })
|
|
2456
2461
|
], R.prototype, "start_date_string", 2);
|
|
2457
|
-
|
|
2462
|
+
W([
|
|
2458
2463
|
a({ type: String })
|
|
2459
2464
|
], R.prototype, "end_date_string", 2);
|
|
2460
|
-
|
|
2465
|
+
W([
|
|
2461
2466
|
a({ type: Number })
|
|
2462
2467
|
], R.prototype, "start_date", 2);
|
|
2463
|
-
|
|
2468
|
+
W([
|
|
2464
2469
|
a({ type: Number })
|
|
2465
2470
|
], R.prototype, "end_date", 2);
|
|
2466
|
-
|
|
2471
|
+
W([
|
|
2467
2472
|
a({ type: Boolean })
|
|
2468
2473
|
], R.prototype, "hide_hours", 2);
|
|
2469
|
-
|
|
2474
|
+
W([
|
|
2470
2475
|
a({ type: String })
|
|
2471
2476
|
], R.prototype, "era", 2);
|
|
2472
|
-
|
|
2477
|
+
W([
|
|
2473
2478
|
a({ type: String })
|
|
2474
2479
|
], R.prototype, "year", 2);
|
|
2475
|
-
|
|
2480
|
+
W([
|
|
2476
2481
|
a({ type: String })
|
|
2477
2482
|
], R.prototype, "month", 2);
|
|
2478
|
-
|
|
2483
|
+
W([
|
|
2479
2484
|
a({ type: String })
|
|
2480
2485
|
], R.prototype, "day", 2);
|
|
2481
|
-
|
|
2486
|
+
W([
|
|
2482
2487
|
a({ type: String })
|
|
2483
2488
|
], R.prototype, "weekday", 2);
|
|
2484
|
-
|
|
2489
|
+
W([
|
|
2485
2490
|
a({ type: String })
|
|
2486
2491
|
], R.prototype, "hour", 2);
|
|
2487
|
-
|
|
2492
|
+
W([
|
|
2488
2493
|
a({ type: Boolean })
|
|
2489
2494
|
], R.prototype, "hour12", 2);
|
|
2490
|
-
|
|
2495
|
+
W([
|
|
2491
2496
|
a({ type: String })
|
|
2492
2497
|
], R.prototype, "minute", 2);
|
|
2493
|
-
|
|
2498
|
+
W([
|
|
2494
2499
|
a({ type: String })
|
|
2495
2500
|
], R.prototype, "language", 2);
|
|
2496
|
-
|
|
2501
|
+
W([
|
|
2497
2502
|
a({ type: Boolean })
|
|
2498
2503
|
], R.prototype, "renderIf", 2);
|
|
2499
|
-
|
|
2504
|
+
W([
|
|
2500
2505
|
a({ type: Boolean })
|
|
2501
2506
|
], R.prototype, "now", 2);
|
|
2502
|
-
R =
|
|
2507
|
+
R = W([
|
|
2503
2508
|
_(Fo)
|
|
2504
2509
|
], R);
|
|
2505
2510
|
var H;
|
|
@@ -2583,7 +2588,7 @@ let et = (H = class {
|
|
|
2583
2588
|
* Copyright 2018 Google LLC
|
|
2584
2589
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2585
2590
|
*/
|
|
2586
|
-
const xr = "important", zo = " !" + xr,
|
|
2591
|
+
const xr = "important", zo = " !" + xr, ft = se(class extends De {
|
|
2587
2592
|
constructor(r) {
|
|
2588
2593
|
if (super(r), r.type !== be.ATTRIBUTE || r.name !== "style" || r.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
2589
2594
|
}
|
|
@@ -2644,11 +2649,11 @@ const ds = /* @__PURE__ */ new Map(), Le = (r) => {
|
|
|
2644
2649
|
}
|
|
2645
2650
|
setFormPublisherValue(s) {
|
|
2646
2651
|
const e = this.getFormPublisher();
|
|
2647
|
-
e &&
|
|
2652
|
+
e && ut(e, this.name).set(s);
|
|
2648
2653
|
}
|
|
2649
2654
|
getFormPublisherValue() {
|
|
2650
2655
|
const s = this.getFormPublisher();
|
|
2651
|
-
return s ?
|
|
2656
|
+
return s ? ut(s, this.name).get() : null;
|
|
2652
2657
|
}
|
|
2653
2658
|
/**
|
|
2654
2659
|
* Mise en forme de la valeur fournie au formPublisher associé au composant
|
|
@@ -2680,13 +2685,13 @@ const ds = /* @__PURE__ */ new Map(), Le = (r) => {
|
|
|
2680
2685
|
initPublisher() {
|
|
2681
2686
|
let s = this.getFormPublisher();
|
|
2682
2687
|
const e = this.hasAncestorAttribute("initFromPublisher") && this._name && this.getFormPublisherValue() ? this.getFormPublisherValue() : this.getAttribute("value");
|
|
2683
|
-
this._name && this.publisher &&
|
|
2688
|
+
this._name && this.publisher && ut(this.publisher, this._name).offAssign(
|
|
2684
2689
|
this.onValueAssign
|
|
2685
|
-
), this._name && s &&
|
|
2690
|
+
), this._name && s && ut(s, this._name).offAssign(
|
|
2686
2691
|
this.onFormValueAssign
|
|
2687
|
-
), super.initPublisher(), this.name || (this._name = this.getAttribute("name")), this.value || (this._value = this.getAttribute("value")), this.publisher && this._name &&
|
|
2692
|
+
), super.initPublisher(), this.name || (this._name = this.getAttribute("name")), this.value || (this._value = this.getAttribute("value")), this.publisher && this._name && ut(this.publisher, this._name).onAssign(
|
|
2688
2693
|
this.onValueAssign
|
|
2689
|
-
), s = this.getFormPublisher(), this._name && s && (
|
|
2694
|
+
), s = this.getFormPublisher(), this._name && s && (ut(s, this._name).onAssign(
|
|
2690
2695
|
this.onFormValueAssign
|
|
2691
2696
|
), s.onFormInvalidate(this.onFormDataInValidate)), this.updateDataValue(), e && (this.value = e);
|
|
2692
2697
|
}
|
|
@@ -2753,11 +2758,11 @@ const ds = /* @__PURE__ */ new Map(), Le = (r) => {
|
|
|
2753
2758
|
this.value = null;
|
|
2754
2759
|
}
|
|
2755
2760
|
disconnectedCallback() {
|
|
2756
|
-
this.unsetOnDisconnect() && this.unset(), super.disconnectedCallback(), this._name && this.publisher &&
|
|
2761
|
+
this.unsetOnDisconnect() && this.unset(), super.disconnectedCallback(), this._name && this.publisher && ut(this.publisher, this._name).offAssign(
|
|
2757
2762
|
this.onValueAssign
|
|
2758
2763
|
);
|
|
2759
2764
|
const s = this.getFormPublisher();
|
|
2760
|
-
this._name && s && (
|
|
2765
|
+
this._name && s && (ut(s, this._name).offAssign(
|
|
2761
2766
|
this.onFormValueAssign
|
|
2762
2767
|
), s.offFormInvalidate(this.onFormDataInValidate));
|
|
2763
2768
|
}
|
|
@@ -2784,7 +2789,7 @@ const ds = /* @__PURE__ */ new Map(), Le = (r) => {
|
|
|
2784
2789
|
a()
|
|
2785
2790
|
], t.prototype, "value", 1), t;
|
|
2786
2791
|
};
|
|
2787
|
-
let Vo = class
|
|
2792
|
+
let Vo = class ce {
|
|
2788
2793
|
/**
|
|
2789
2794
|
* Vérifie si les deux tableaux ont le même contenu
|
|
2790
2795
|
*/
|
|
@@ -2831,7 +2836,7 @@ let Vo = class le {
|
|
|
2831
2836
|
})
|
|
2832
2837
|
}),
|
|
2833
2838
|
value: () => ({
|
|
2834
|
-
forKey: (i) =>
|
|
2839
|
+
forKey: (i) => ce.from(t.map((s) => s[i]))
|
|
2835
2840
|
}),
|
|
2836
2841
|
copy: () => ({
|
|
2837
2842
|
fromKey: (i) => ({
|
|
@@ -2843,8 +2848,8 @@ let Vo = class le {
|
|
|
2843
2848
|
})
|
|
2844
2849
|
})
|
|
2845
2850
|
}),
|
|
2846
|
-
map: (i) =>
|
|
2847
|
-
filter: (i) =>
|
|
2851
|
+
map: (i) => ce.from(t.map(i)),
|
|
2852
|
+
filter: (i) => ce.from(t.filter(i)),
|
|
2848
2853
|
find: (i) => t.find(i),
|
|
2849
2854
|
some: (i) => t.some(i),
|
|
2850
2855
|
every: (i) => t.every(i),
|
|
@@ -2861,14 +2866,14 @@ let Vo = class le {
|
|
|
2861
2866
|
}
|
|
2862
2867
|
s[e.get(n)].items.push(o);
|
|
2863
2868
|
}
|
|
2864
|
-
return
|
|
2869
|
+
return ce.from(s);
|
|
2865
2870
|
}
|
|
2866
2871
|
}),
|
|
2867
2872
|
without: () => ({
|
|
2868
2873
|
duplicates: () => ({
|
|
2869
2874
|
forKey: (i) => {
|
|
2870
2875
|
const s = [...new Set(t.map((e) => e[i]))];
|
|
2871
|
-
return
|
|
2876
|
+
return ce.from(
|
|
2872
2877
|
s.map(
|
|
2873
2878
|
(e) => t.find((o) => o[i] == e)
|
|
2874
2879
|
)
|
|
@@ -2879,7 +2884,7 @@ let Vo = class le {
|
|
|
2879
2884
|
havingSameValue: () => ({
|
|
2880
2885
|
forKey: (s) => {
|
|
2881
2886
|
const e = (o, n) => (l) => o[n] != l[n];
|
|
2882
|
-
return
|
|
2887
|
+
return ce.from(
|
|
2883
2888
|
t.filter(
|
|
2884
2889
|
(o) => i.every(
|
|
2885
2890
|
e(o, s)
|
|
@@ -2943,13 +2948,13 @@ function Ho() {
|
|
|
2943
2948
|
}, s.sequence = function() {
|
|
2944
2949
|
var p;
|
|
2945
2950
|
return p = 1 <= arguments.length ? i.call(arguments, 0) : [], function(f) {
|
|
2946
|
-
var y, A, k, q, Z,
|
|
2947
|
-
for (y = -1, A = p.length,
|
|
2951
|
+
var y, A, k, q, Z, nt;
|
|
2952
|
+
for (y = -1, A = p.length, nt = [], q = f; ++y < A; ) {
|
|
2948
2953
|
if (k = p[y], Z = k(q), Z == null)
|
|
2949
2954
|
return;
|
|
2950
|
-
|
|
2955
|
+
nt.push(Z.value), q = Z.rest;
|
|
2951
2956
|
}
|
|
2952
|
-
return new s.Result(
|
|
2957
|
+
return new s.Result(nt, q);
|
|
2953
2958
|
};
|
|
2954
2959
|
}, s.pick = function() {
|
|
2955
2960
|
var p, f;
|
|
@@ -2970,11 +2975,11 @@ function Ho() {
|
|
|
2970
2975
|
return f == null && (f = p()), f(y);
|
|
2971
2976
|
};
|
|
2972
2977
|
}, s.baseMany = function(p, f, y, A, k) {
|
|
2973
|
-
var q, Z,
|
|
2974
|
-
for (
|
|
2975
|
-
y ? Me += Z.value : Me.push(Z.value),
|
|
2978
|
+
var q, Z, nt, Me;
|
|
2979
|
+
for (nt = k, Me = y ? "" : []; !(f != null && (q = f(nt), q != null) || (Z = p(nt), Z == null)); )
|
|
2980
|
+
y ? Me += Z.value : Me.push(Z.value), nt = Z.rest;
|
|
2976
2981
|
if (!(A && Me.length === 0))
|
|
2977
|
-
return new s.Result(Me,
|
|
2982
|
+
return new s.Result(Me, nt);
|
|
2978
2983
|
}, s.many1 = function(p) {
|
|
2979
2984
|
return function(f) {
|
|
2980
2985
|
return s.baseMany(p, null, !1, !0, f);
|
|
@@ -3043,18 +3048,18 @@ function Ho() {
|
|
|
3043
3048
|
return n(p.value);
|
|
3044
3049
|
}
|
|
3045
3050
|
}, g = function(p, f, y, A) {
|
|
3046
|
-
var k, q, Z,
|
|
3047
|
-
if (A == null && (A = !1),
|
|
3051
|
+
var k, q, Z, nt;
|
|
3052
|
+
if (A == null && (A = !1), nt = p[f], nt == null) {
|
|
3048
3053
|
if (A)
|
|
3049
3054
|
throw new Error("no values provided for key `" + f + "`");
|
|
3050
3055
|
return;
|
|
3051
3056
|
}
|
|
3052
|
-
if (k = y[f] || 0, q = Array.isArray(
|
|
3057
|
+
if (k = y[f] || 0, q = Array.isArray(nt) ? nt.length - 1 : 0, k > q) {
|
|
3053
3058
|
if (A)
|
|
3054
3059
|
throw new Error("too few values provided for key `" + f + "`");
|
|
3055
3060
|
return;
|
|
3056
3061
|
}
|
|
3057
|
-
return Z = Array.isArray(
|
|
3062
|
+
return Z = Array.isArray(nt) ? nt[k] : nt, A && (y[f] = k + 1), Z;
|
|
3058
3063
|
}, o = function(p, f, y) {
|
|
3059
3064
|
var A, k;
|
|
3060
3065
|
if (Array.isArray(p)) {
|
|
@@ -3136,11 +3141,11 @@ function Ho() {
|
|
|
3136
3141
|
});
|
|
3137
3142
|
})(Ue, Ue.exports)), Ue.exports;
|
|
3138
3143
|
}
|
|
3139
|
-
var
|
|
3140
|
-
const qt = /* @__PURE__ */ Bo(
|
|
3144
|
+
var Ko = Ho();
|
|
3145
|
+
const qt = /* @__PURE__ */ Bo(Ko), Wo = Rr, Yo = Vo, Zo = As, Xo = fs, Zt = J, Go = et, ts = tt, Qo = He, st = T, Jo = Ce, tn = qt;
|
|
3141
3146
|
window["concorde-utils"] = window["concorde-utils"] || {};
|
|
3142
3147
|
window["concorde-utils"] = {
|
|
3143
|
-
Utils:
|
|
3148
|
+
Utils: Wo,
|
|
3144
3149
|
Arrays: Yo,
|
|
3145
3150
|
DataBindObserver: Zo,
|
|
3146
3151
|
Format: Xo,
|
|
@@ -3403,7 +3408,7 @@ let M = class extends _i(Le(G(w))) {
|
|
|
3403
3408
|
<button
|
|
3404
3409
|
part="button"
|
|
3405
3410
|
class=${this.hasPrefix || this.hasSuffix ? "has-prefix-or-suffix" : ""}
|
|
3406
|
-
style=${
|
|
3411
|
+
style=${ft(r)}
|
|
3407
3412
|
aria-controls=${$(this.ariaControls)}
|
|
3408
3413
|
aria-expanded=${$(this.sonicAriaExpanded)}
|
|
3409
3414
|
aria-label=${$(this.ariaLabel)}
|
|
@@ -3900,7 +3905,7 @@ const Zi = (r, t, i) => {
|
|
|
3900
3905
|
const s = /* @__PURE__ */ new Map();
|
|
3901
3906
|
for (let e = t; e <= i; e++) s.set(r[e], e);
|
|
3902
3907
|
return s;
|
|
3903
|
-
}, Ls =
|
|
3908
|
+
}, Ls = se(class extends De {
|
|
3904
3909
|
constructor(r) {
|
|
3905
3910
|
if (super(r), r.type !== be.CHILD) throw Error("repeat() can only be used in text expressions");
|
|
3906
3911
|
}
|
|
@@ -3922,22 +3927,22 @@ const Zi = (r, t, i) => {
|
|
|
3922
3927
|
let h, u, d = 0, g = e.length - 1, v = 0, b = o.length - 1;
|
|
3923
3928
|
for (; d <= g && v <= b; ) if (e[d] === null) d++;
|
|
3924
3929
|
else if (e[g] === null) g--;
|
|
3925
|
-
else if (l[d] === n[v]) c[v] =
|
|
3926
|
-
else if (l[g] === n[b]) c[b] =
|
|
3927
|
-
else if (l[d] === n[b]) c[b] =
|
|
3928
|
-
else if (l[g] === n[v]) c[v] =
|
|
3930
|
+
else if (l[d] === n[v]) c[v] = ae(e[d], o[v]), d++, v++;
|
|
3931
|
+
else if (l[g] === n[b]) c[b] = ae(e[g], o[b]), g--, b--;
|
|
3932
|
+
else if (l[d] === n[b]) c[b] = ae(e[d], o[b]), Fe(r, c[b + 1], e[d]), d++, b--;
|
|
3933
|
+
else if (l[g] === n[v]) c[v] = ae(e[g], o[v]), Fe(r, e[d], e[g]), g--, v++;
|
|
3929
3934
|
else if (h === void 0 && (h = Zi(n, v, b), u = Zi(l, d, g)), h.has(l[d])) if (h.has(l[g])) {
|
|
3930
3935
|
const x = u.get(n[v]), S = x !== void 0 ? e[x] : null;
|
|
3931
3936
|
if (S === null) {
|
|
3932
3937
|
const E = Fe(r, e[d]);
|
|
3933
|
-
|
|
3934
|
-
} else c[v] =
|
|
3938
|
+
ae(E, o[v]), c[v] = E;
|
|
3939
|
+
} else c[v] = ae(S, o[v]), Fe(r, e[d], S), e[x] = null;
|
|
3935
3940
|
v++;
|
|
3936
3941
|
} else Rs(e[g]), g--;
|
|
3937
3942
|
else Rs(e[d]), d++;
|
|
3938
3943
|
for (; v <= b; ) {
|
|
3939
3944
|
const x = Fe(r, c[b + 1]);
|
|
3940
|
-
|
|
3945
|
+
ae(x, o[v]), c[v++] = x;
|
|
3941
3946
|
}
|
|
3942
3947
|
for (; d <= g; ) {
|
|
3943
3948
|
const x = e[d++];
|
|
@@ -4132,7 +4137,7 @@ class hn extends yi {
|
|
|
4132
4137
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, i);
|
|
4133
4138
|
}
|
|
4134
4139
|
}
|
|
4135
|
-
const dn =
|
|
4140
|
+
const dn = se(hn), pn = { cancel: `<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4136
4141
|
<path d="M6.75827 17.2426L12.0009 12M17.2435 6.75736L12.0009 12M12.0009 12L6.75827 6.75736M12.0009 12L17.2435 17.2426" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4137
4142
|
</svg>
|
|
4138
4143
|
`, "check-circled-outline": `<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -4259,7 +4264,7 @@ var gn = Object.defineProperty, bn = Object.getOwnPropertyDescriptor, es = (r, t
|
|
|
4259
4264
|
return s && e && gn(t, i, e), e;
|
|
4260
4265
|
};
|
|
4261
4266
|
const vn = "sonic-icon";
|
|
4262
|
-
let
|
|
4267
|
+
let pe = class extends w {
|
|
4263
4268
|
constructor() {
|
|
4264
4269
|
super(...arguments), this.iconText = "", this.name = "", this.prefix = "", this.library = "";
|
|
4265
4270
|
}
|
|
@@ -4280,7 +4285,7 @@ let de = class extends w {
|
|
|
4280
4285
|
return this.iconText ? this.iconText : C;
|
|
4281
4286
|
}
|
|
4282
4287
|
};
|
|
4283
|
-
|
|
4288
|
+
pe.styles = P`
|
|
4284
4289
|
:host {
|
|
4285
4290
|
line-height: 0.1em;
|
|
4286
4291
|
width: fit-content;
|
|
@@ -4333,19 +4338,19 @@ de.styles = P`
|
|
|
4333
4338
|
`;
|
|
4334
4339
|
es([
|
|
4335
4340
|
D()
|
|
4336
|
-
],
|
|
4341
|
+
], pe.prototype, "iconText", 2);
|
|
4337
4342
|
es([
|
|
4338
4343
|
a({ type: String })
|
|
4339
|
-
],
|
|
4344
|
+
], pe.prototype, "name", 2);
|
|
4340
4345
|
es([
|
|
4341
4346
|
a({ type: String })
|
|
4342
|
-
],
|
|
4347
|
+
], pe.prototype, "prefix", 2);
|
|
4343
4348
|
es([
|
|
4344
4349
|
a({ type: String })
|
|
4345
|
-
],
|
|
4346
|
-
|
|
4350
|
+
], pe.prototype, "library", 2);
|
|
4351
|
+
pe = es([
|
|
4347
4352
|
_(vn)
|
|
4348
|
-
],
|
|
4353
|
+
], pe);
|
|
4349
4354
|
const ss = P`
|
|
4350
4355
|
.custom-scroll {
|
|
4351
4356
|
overflow: auto !important;
|
|
@@ -4990,7 +4995,7 @@ let O = class extends w {
|
|
|
4990
4995
|
zIndex: "10000",
|
|
4991
4996
|
maxWidth: "64ch",
|
|
4992
4997
|
flexDirection: "column-reverse"
|
|
4993
|
-
}), O.handleExistingToastDelegation(), this.toasts ? m`<div style=${
|
|
4998
|
+
}), O.handleExistingToastDelegation(), this.toasts ? m`<div style=${ft(i)}>
|
|
4994
4999
|
${Ls(
|
|
4995
5000
|
this.toasts,
|
|
4996
5001
|
(s) => s.id,
|
|
@@ -5164,7 +5169,7 @@ di(async () => {
|
|
|
5164
5169
|
const xi = (r, t) => {
|
|
5165
5170
|
class i extends r {
|
|
5166
5171
|
constructor(...e) {
|
|
5167
|
-
super(), this.api = null, this.key = "", this.isFirstLoad = !0, this.isLoading = !1, this.iObserver = null, this.isFetchEnabled = !0, this.fetchedData = null, this._endPoint = "", this.noErrorsRecordings = !1, this.requestId = 0, this.refetchEveryMs = 0, this.
|
|
5172
|
+
super(), this.api = null, this.key = "", this.isFirstLoad = !0, this.isLoading = !1, this.iObserver = null, this.isFetchEnabled = !0, this.fetchedData = null, this._endPoint = "", this.noErrorsRecordings = !1, this.requestId = 0, this.refetchEveryMs = 0, this._isFetching = !1, this._mustRefetch = !1, this.dataProvider = "";
|
|
5168
5173
|
}
|
|
5169
5174
|
get props() {
|
|
5170
5175
|
return super.props;
|
|
@@ -5179,10 +5184,10 @@ const xi = (r, t) => {
|
|
|
5179
5184
|
return this._endPoint;
|
|
5180
5185
|
}
|
|
5181
5186
|
handleStartFetching() {
|
|
5182
|
-
return this.
|
|
5187
|
+
return this._isFetching ? (this._mustRefetch = !0, "fetching") : (this._isFetching = !0, "okToFetch");
|
|
5183
5188
|
}
|
|
5184
5189
|
handleEndFetching() {
|
|
5185
|
-
this.
|
|
5190
|
+
this._isFetching = !1, this._mustRefetch && (this._mustRefetch = !1, this._fetchData());
|
|
5186
5191
|
}
|
|
5187
5192
|
/**
|
|
5188
5193
|
*
|
|
@@ -5284,7 +5289,7 @@ const xi = (r, t) => {
|
|
|
5284
5289
|
a({ type: Number })
|
|
5285
5290
|
], i.prototype, "refetchEveryMs", 2), i;
|
|
5286
5291
|
};
|
|
5287
|
-
var Fn = Object.defineProperty, zn = Object.getOwnPropertyDescriptor,
|
|
5292
|
+
var Fn = Object.defineProperty, zn = Object.getOwnPropertyDescriptor, le = (r, t, i, s) => {
|
|
5288
5293
|
for (var e = s > 1 ? void 0 : s ? zn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5289
5294
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
5290
5295
|
return s && e && Fn(t, i, e), e;
|
|
@@ -5319,29 +5324,29 @@ const Es = (r) => {
|
|
|
5319
5324
|
this.hasAttribute("label") && !this.forceAutoFill && (s = this.getAttribute("label")), this._label = s, this.requestUpdate();
|
|
5320
5325
|
}
|
|
5321
5326
|
}
|
|
5322
|
-
return
|
|
5327
|
+
return le([
|
|
5323
5328
|
a()
|
|
5324
|
-
], t.prototype, "forceAutoFill", 2),
|
|
5329
|
+
], t.prototype, "forceAutoFill", 2), le([
|
|
5325
5330
|
a({ type: String })
|
|
5326
|
-
], t.prototype, "type", 1),
|
|
5331
|
+
], t.prototype, "type", 1), le([
|
|
5327
5332
|
a()
|
|
5328
|
-
], t.prototype, "description", 1),
|
|
5333
|
+
], t.prototype, "description", 1), le([
|
|
5329
5334
|
a()
|
|
5330
|
-
], t.prototype, "label", 1),
|
|
5335
|
+
], t.prototype, "label", 1), le([
|
|
5331
5336
|
a({ type: String, reflect: !0 })
|
|
5332
|
-
], t.prototype, "status", 2),
|
|
5337
|
+
], t.prototype, "status", 2), le([
|
|
5333
5338
|
a({ type: Number })
|
|
5334
|
-
], t.prototype, "tabindex", 2),
|
|
5339
|
+
], t.prototype, "tabindex", 2), le([
|
|
5335
5340
|
a({ type: String })
|
|
5336
5341
|
], t.prototype, "autocomplete", 2), t;
|
|
5337
|
-
}, $r = xi, Rn = _i, Cr = Le, Sr = Es,
|
|
5342
|
+
}, $r = xi, Rn = _i, Cr = Le, Sr = Es, ie = G, Pi = Je;
|
|
5338
5343
|
window["concorde-mixins"] = window["concorde-mixins"] || {};
|
|
5339
5344
|
window["concorde-mixins"] = {
|
|
5340
5345
|
Fetcher: $r,
|
|
5341
5346
|
FormCheckable: Rn,
|
|
5342
5347
|
FormElement: Cr,
|
|
5343
5348
|
FormInput: Sr,
|
|
5344
|
-
Subscriber:
|
|
5349
|
+
Subscriber: ie,
|
|
5345
5350
|
TemplatesContainer: Pi
|
|
5346
5351
|
};
|
|
5347
5352
|
/**
|
|
@@ -5349,7 +5354,7 @@ window["concorde-mixins"] = {
|
|
|
5349
5354
|
* Copyright 2020 Google LLC
|
|
5350
5355
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5351
5356
|
*/
|
|
5352
|
-
const Nt =
|
|
5357
|
+
const Nt = se(class extends De {
|
|
5353
5358
|
constructor(r) {
|
|
5354
5359
|
if (super(r), r.type !== be.CHILD) throw Error("templateContent can only be used in child bindings");
|
|
5355
5360
|
}
|
|
@@ -5398,7 +5403,7 @@ var qn = Object.defineProperty, Hn = Object.getOwnPropertyDescriptor, kr = (r, t
|
|
|
5398
5403
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
5399
5404
|
return s && e && qn(t, i, e), e;
|
|
5400
5405
|
};
|
|
5401
|
-
const
|
|
5406
|
+
const Kn = "sonic-if";
|
|
5402
5407
|
let _s = class extends w {
|
|
5403
5408
|
constructor() {
|
|
5404
5409
|
super(...arguments), this.condition = !1;
|
|
@@ -5416,9 +5421,9 @@ kr([
|
|
|
5416
5421
|
a({ type: Boolean })
|
|
5417
5422
|
], _s.prototype, "condition", 2);
|
|
5418
5423
|
_s = kr([
|
|
5419
|
-
_(
|
|
5424
|
+
_(Kn)
|
|
5420
5425
|
], _s);
|
|
5421
|
-
const
|
|
5426
|
+
const Wn = P`
|
|
5422
5427
|
:host([align="left"]) .sonic-loader--inline {
|
|
5423
5428
|
margin-left: 0;
|
|
5424
5429
|
}
|
|
@@ -5545,17 +5550,17 @@ var Zn = Object.defineProperty, Xn = Object.getOwnPropertyDescriptor, $i = (r, t
|
|
|
5545
5550
|
return s && e && Zn(t, i, e), e;
|
|
5546
5551
|
};
|
|
5547
5552
|
const Gn = "sonic-loader";
|
|
5548
|
-
let
|
|
5553
|
+
let at = class extends w {
|
|
5549
5554
|
constructor() {
|
|
5550
5555
|
super(...arguments), this.mode = "fixed", this.noDelay = !1;
|
|
5551
5556
|
}
|
|
5552
5557
|
static show(r) {
|
|
5553
|
-
|
|
5554
|
-
const t =
|
|
5555
|
-
r || (r = {}), r.mode && t.setAttribute("mode", r.mode), r.noDelay && t.setAttribute("noDelay", ""), r.container || (r.container = yt.getPopContainer(), r.mode = "fixed"), r.container.appendChild(t),
|
|
5558
|
+
at.loader || (at.loader = document.createElement("sonic-loader"));
|
|
5559
|
+
const t = at.loader;
|
|
5560
|
+
r || (r = {}), r.mode && t.setAttribute("mode", r.mode), r.noDelay && t.setAttribute("noDelay", ""), r.container || (r.container = yt.getPopContainer(), r.mode = "fixed"), r.container.appendChild(t), at.callCounter++;
|
|
5556
5561
|
}
|
|
5557
5562
|
static hide() {
|
|
5558
|
-
|
|
5563
|
+
at.callCounter--, !(at.callCounter > 0) && at.loader && at.loader.remove();
|
|
5559
5564
|
}
|
|
5560
5565
|
render() {
|
|
5561
5566
|
return m`<div
|
|
@@ -5568,8 +5573,8 @@ let nt = class extends w {
|
|
|
5568
5573
|
</div>`;
|
|
5569
5574
|
}
|
|
5570
5575
|
};
|
|
5571
|
-
|
|
5572
|
-
|
|
5576
|
+
at.styles = [
|
|
5577
|
+
Wn,
|
|
5573
5578
|
Yn,
|
|
5574
5579
|
P`
|
|
5575
5580
|
:host {
|
|
@@ -5601,16 +5606,16 @@ nt.styles = [
|
|
|
5601
5606
|
}
|
|
5602
5607
|
`
|
|
5603
5608
|
];
|
|
5604
|
-
|
|
5609
|
+
at.callCounter = 0;
|
|
5605
5610
|
$i([
|
|
5606
5611
|
a({ type: String })
|
|
5607
|
-
],
|
|
5612
|
+
], at.prototype, "mode", 2);
|
|
5608
5613
|
$i([
|
|
5609
5614
|
a({ type: Boolean })
|
|
5610
|
-
],
|
|
5611
|
-
|
|
5615
|
+
], at.prototype, "noDelay", 2);
|
|
5616
|
+
at = $i([
|
|
5612
5617
|
_(Gn)
|
|
5613
|
-
],
|
|
5618
|
+
], at);
|
|
5614
5619
|
var Qn = Object.getOwnPropertyDescriptor, Jn = (r, t, i, s) => {
|
|
5615
5620
|
for (var e = s > 1 ? void 0 : s ? Qn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5616
5621
|
(n = r[o]) && (e = n(e) || e);
|
|
@@ -5845,7 +5850,7 @@ function* Or(r, t) {
|
|
|
5845
5850
|
for (const s of r) yield t(s, i++);
|
|
5846
5851
|
}
|
|
5847
5852
|
}
|
|
5848
|
-
var ra = Object.defineProperty, oa = Object.getOwnPropertyDescriptor,
|
|
5853
|
+
var ra = Object.defineProperty, oa = Object.getOwnPropertyDescriptor, ot = (r, t, i, s) => {
|
|
5849
5854
|
for (var e = s > 1 ? void 0 : s ? oa(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5850
5855
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
5851
5856
|
return s && e && ra(t, i, e), e;
|
|
@@ -5989,58 +5994,58 @@ let X = class extends G(w) {
|
|
|
5989
5994
|
}
|
|
5990
5995
|
};
|
|
5991
5996
|
X.instanceCounter = 0;
|
|
5992
|
-
|
|
5997
|
+
ot([
|
|
5993
5998
|
a({ type: Array })
|
|
5994
5999
|
], X.prototype, "templates", 2);
|
|
5995
|
-
|
|
6000
|
+
ot([
|
|
5996
6001
|
a({ type: Function })
|
|
5997
6002
|
], X.prototype, "items", 2);
|
|
5998
|
-
|
|
6003
|
+
ot([
|
|
5999
6004
|
a({ type: Function })
|
|
6000
6005
|
], X.prototype, "noItems", 2);
|
|
6001
|
-
|
|
6006
|
+
ot([
|
|
6002
6007
|
a({ type: Function })
|
|
6003
6008
|
], X.prototype, "skeleton", 2);
|
|
6004
|
-
|
|
6009
|
+
ot([
|
|
6005
6010
|
a({ type: Object })
|
|
6006
6011
|
], X.prototype, "itemPropertyMap", 2);
|
|
6007
|
-
|
|
6012
|
+
ot([
|
|
6008
6013
|
a()
|
|
6009
6014
|
], X.prototype, "cache", 2);
|
|
6010
|
-
|
|
6015
|
+
ot([
|
|
6011
6016
|
a()
|
|
6012
6017
|
], X.prototype, "targetRequestDuration", 2);
|
|
6013
|
-
|
|
6018
|
+
ot([
|
|
6014
6019
|
a()
|
|
6015
6020
|
], X.prototype, "limit", 2);
|
|
6016
|
-
|
|
6021
|
+
ot([
|
|
6017
6022
|
a()
|
|
6018
6023
|
], X.prototype, "lazyBoundsRatio", 2);
|
|
6019
|
-
|
|
6024
|
+
ot([
|
|
6020
6025
|
a()
|
|
6021
6026
|
], X.prototype, "offset", 2);
|
|
6022
|
-
|
|
6027
|
+
ot([
|
|
6023
6028
|
a()
|
|
6024
6029
|
], X.prototype, "resultCount", 2);
|
|
6025
|
-
|
|
6030
|
+
ot([
|
|
6026
6031
|
a({ type: Boolean })
|
|
6027
6032
|
], X.prototype, "noLazyload", 2);
|
|
6028
|
-
|
|
6033
|
+
ot([
|
|
6029
6034
|
a({ type: String })
|
|
6030
6035
|
], X.prototype, "loader", 2);
|
|
6031
|
-
|
|
6036
|
+
ot([
|
|
6032
6037
|
a()
|
|
6033
6038
|
], X.prototype, "filteredFields", 2);
|
|
6034
|
-
|
|
6039
|
+
ot([
|
|
6035
6040
|
a({ type: String })
|
|
6036
6041
|
], X.prototype, "dataProviderExpression", 2);
|
|
6037
|
-
|
|
6042
|
+
ot([
|
|
6038
6043
|
a({ type: Boolean })
|
|
6039
6044
|
], X.prototype, "invalidateOnPageShow", 2);
|
|
6040
|
-
|
|
6045
|
+
ot([
|
|
6041
6046
|
a({ type: String })
|
|
6042
6047
|
], X.prototype, "idKey", 2);
|
|
6043
|
-
X =
|
|
6048
|
+
X = ot([
|
|
6044
6049
|
_(na)
|
|
6045
6050
|
], X);
|
|
6046
6051
|
var aa = Object.defineProperty, la = Object.getOwnPropertyDescriptor, Ee = (r, t, i, s) => {
|
|
@@ -6058,7 +6063,7 @@ let Xt = class extends G(w) {
|
|
|
6058
6063
|
this.getAncestorAttributeValue("formDataProvider")
|
|
6059
6064
|
);
|
|
6060
6065
|
if (t.isFormValid = !0, t.invalidateForm(), !t.isFormValid.get()) return;
|
|
6061
|
-
if (this.disabled = !0,
|
|
6066
|
+
if (this.disabled = !0, at.show(), t.isFormValid, this.hasAttribute("native")) {
|
|
6062
6067
|
this.submitNativeForm();
|
|
6063
6068
|
return;
|
|
6064
6069
|
}
|
|
@@ -6102,7 +6107,7 @@ let Xt = class extends G(w) {
|
|
|
6102
6107
|
h = await this.api?.post(d, b, c);
|
|
6103
6108
|
break;
|
|
6104
6109
|
}
|
|
6105
|
-
|
|
6110
|
+
at.hide(), h ? h._sonic_http_response_ && !h._sonic_http_response_.ok && Object.keys(h).length === 1 && (h.messages = [{ content: "Network Error", status: "error" }]) : h = {
|
|
6106
6111
|
messages: [{ content: "Network Error", status: "error" }]
|
|
6107
6112
|
};
|
|
6108
6113
|
const x = this.getAncestorAttributeValue(
|
|
@@ -6137,7 +6142,7 @@ let Xt = class extends G(w) {
|
|
|
6137
6142
|
if (v) {
|
|
6138
6143
|
v.captchaToken = "request_token";
|
|
6139
6144
|
const b = (x) => {
|
|
6140
|
-
x != "request_token" ? (g(), v.captchaToken.offAssign(b)) : (
|
|
6145
|
+
x != "request_token" ? (g(), v.captchaToken.offAssign(b)) : (at.hide(), this.disabled = !1);
|
|
6141
6146
|
};
|
|
6142
6147
|
v.captchaToken.onAssign(b);
|
|
6143
6148
|
} else
|
|
@@ -6528,7 +6533,7 @@ const Ca = { tagName: "sonic-checkbox" }, Sa = { tagName: "sonic-input", attribu
|
|
|
6528
6533
|
sameValueHelper: Ba,
|
|
6529
6534
|
divider: qa
|
|
6530
6535
|
};
|
|
6531
|
-
class
|
|
6536
|
+
class Ka {
|
|
6532
6537
|
/**
|
|
6533
6538
|
* Tranform un SDUIDescriptor via une SDUITransformDescription
|
|
6534
6539
|
* Attention fonction non pure : la sduiDescriptor est modifiée en place.
|
|
@@ -6673,13 +6678,13 @@ class Wa {
|
|
|
6673
6678
|
}));
|
|
6674
6679
|
}
|
|
6675
6680
|
}
|
|
6676
|
-
var
|
|
6681
|
+
var Wa = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, Ci = (r, t, i, s) => {
|
|
6677
6682
|
for (var e = s > 1 ? void 0 : s ? Ya(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6678
6683
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6679
|
-
return s && e &&
|
|
6684
|
+
return s && e && Wa(t, i, e), e;
|
|
6680
6685
|
};
|
|
6681
6686
|
const Za = "sonic-sdui";
|
|
6682
|
-
let xs = class extends $r(
|
|
6687
|
+
let xs = class extends $r(ie(w)) {
|
|
6683
6688
|
constructor() {
|
|
6684
6689
|
super(...arguments), this.sduiDescriptor = {};
|
|
6685
6690
|
}
|
|
@@ -6731,7 +6736,7 @@ let xs = class extends $r(se(w)) {
|
|
|
6731
6736
|
async transformSDUIDescriptor() {
|
|
6732
6737
|
if (!this.hasAttribute("transformation")) return;
|
|
6733
6738
|
const t = await (await fetch(this.getAttribute("transformation"))).json();
|
|
6734
|
-
await new
|
|
6739
|
+
await new Ka().transform(this.sduiDescriptor, t);
|
|
6735
6740
|
}
|
|
6736
6741
|
/**
|
|
6737
6742
|
* Charge la library à utiliser
|
|
@@ -6748,7 +6753,10 @@ let xs = class extends $r(se(w)) {
|
|
|
6748
6753
|
if (this.removeChildren(), !this.sduiDescriptor) return;
|
|
6749
6754
|
let r = this.sduiDescriptor.nodes;
|
|
6750
6755
|
r || (r = []);
|
|
6751
|
-
const t = {
|
|
6756
|
+
const t = {
|
|
6757
|
+
tagName: "sonic-toast-message-subscriber",
|
|
6758
|
+
attributes: {}
|
|
6759
|
+
};
|
|
6752
6760
|
this.messagesKey && (t.attributes = { subDataProvider: this.messagesKey }), r.push(t), r.forEach((i) => this.appendChild(this.parseChild(i)));
|
|
6753
6761
|
}
|
|
6754
6762
|
/**
|
|
@@ -6791,7 +6799,9 @@ let xs = class extends $r(se(w)) {
|
|
|
6791
6799
|
handleLibrary(r, t) {
|
|
6792
6800
|
let i, s;
|
|
6793
6801
|
if (r.libraryKey && this.sduiDescriptor.library) {
|
|
6794
|
-
i = this.parseChild(
|
|
6802
|
+
i = this.parseChild(
|
|
6803
|
+
this.sduiDescriptor.library[r.libraryKey] || { tagName: "div" }
|
|
6804
|
+
);
|
|
6795
6805
|
const e = (this.sduiDescriptor.library[r.libraryKey] || {}).contentElementSelector;
|
|
6796
6806
|
e && (s = i.querySelector(e));
|
|
6797
6807
|
} else i = document.createElement(t);
|
|
@@ -6840,7 +6850,7 @@ var Xa = Object.defineProperty, Ga = Object.getOwnPropertyDescriptor, Lr = (r, t
|
|
|
6840
6850
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6841
6851
|
return s && e && Xa(t, i, e), e;
|
|
6842
6852
|
};
|
|
6843
|
-
let Ps = class extends
|
|
6853
|
+
let Ps = class extends ie(w) {
|
|
6844
6854
|
constructor() {
|
|
6845
6855
|
super(...arguments), this._composition = {}, this.listeners = [];
|
|
6846
6856
|
}
|
|
@@ -6918,7 +6928,7 @@ var Qa = Object.getOwnPropertyDescriptor, Ja = (r, t, i, s) => {
|
|
|
6918
6928
|
return e;
|
|
6919
6929
|
};
|
|
6920
6930
|
const tl = "sonic-value";
|
|
6921
|
-
let lr = class extends
|
|
6931
|
+
let lr = class extends ie(w) {
|
|
6922
6932
|
connectedCallback() {
|
|
6923
6933
|
this.setAttribute("subDataProvider", this.getAttribute("key")), super.connectedCallback();
|
|
6924
6934
|
}
|
|
@@ -6956,7 +6966,7 @@ var rl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, os = (r, t
|
|
|
6956
6966
|
return s && e && rl(t, i, e), e;
|
|
6957
6967
|
};
|
|
6958
6968
|
const nl = "sonic-badge";
|
|
6959
|
-
let
|
|
6969
|
+
let ue = class extends w {
|
|
6960
6970
|
constructor() {
|
|
6961
6971
|
super(...arguments), this.type = "default", this.variant = "default", this.ellipsis = !1;
|
|
6962
6972
|
}
|
|
@@ -6968,7 +6978,7 @@ let pe = class extends w {
|
|
|
6968
6978
|
`;
|
|
6969
6979
|
}
|
|
6970
6980
|
};
|
|
6971
|
-
|
|
6981
|
+
ue.styles = [
|
|
6972
6982
|
Mt,
|
|
6973
6983
|
P`
|
|
6974
6984
|
:host {
|
|
@@ -7114,19 +7124,19 @@ pe.styles = [
|
|
|
7114
7124
|
];
|
|
7115
7125
|
os([
|
|
7116
7126
|
a({ type: String, reflect: !0 })
|
|
7117
|
-
],
|
|
7127
|
+
], ue.prototype, "type", 2);
|
|
7118
7128
|
os([
|
|
7119
7129
|
a({ type: String, reflect: !0 })
|
|
7120
|
-
],
|
|
7130
|
+
], ue.prototype, "variant", 2);
|
|
7121
7131
|
os([
|
|
7122
7132
|
a({ type: String, reflect: !0 })
|
|
7123
|
-
],
|
|
7133
|
+
], ue.prototype, "size", 2);
|
|
7124
7134
|
os([
|
|
7125
7135
|
a({ type: Boolean, reflect: !0 })
|
|
7126
|
-
],
|
|
7127
|
-
|
|
7136
|
+
], ue.prototype, "ellipsis", 2);
|
|
7137
|
+
ue = os([
|
|
7128
7138
|
_(nl)
|
|
7129
|
-
],
|
|
7139
|
+
], ue);
|
|
7130
7140
|
class al {
|
|
7131
7141
|
static fixBlankLink(t) {
|
|
7132
7142
|
const s = typeof require > "u" || typeof process != "object" ? null : require("electron");
|
|
@@ -7761,7 +7771,7 @@ const fl = P`
|
|
|
7761
7771
|
* Copyright 2018 Google LLC
|
|
7762
7772
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7763
7773
|
*/
|
|
7764
|
-
const ki =
|
|
7774
|
+
const ki = se(class extends De {
|
|
7765
7775
|
constructor(r) {
|
|
7766
7776
|
if (super(r), r.type !== be.ATTRIBUTE || r.name !== "class" || r.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
7767
7777
|
}
|
|
@@ -8023,7 +8033,7 @@ U([
|
|
|
8023
8033
|
dt({ slot: "prefix", flatten: !0 })
|
|
8024
8034
|
], j.prototype, "slotPrefixNodes", 2);
|
|
8025
8035
|
U([
|
|
8026
|
-
|
|
8036
|
+
ee("input")
|
|
8027
8037
|
], j.prototype, "input", 2);
|
|
8028
8038
|
U([
|
|
8029
8039
|
D()
|
|
@@ -8236,10 +8246,10 @@ jt([
|
|
|
8236
8246
|
D()
|
|
8237
8247
|
], it.prototype, "open", 2);
|
|
8238
8248
|
jt([
|
|
8239
|
-
|
|
8249
|
+
ee("slot:not([name=content])")
|
|
8240
8250
|
], it.prototype, "popBtn", 2);
|
|
8241
8251
|
jt([
|
|
8242
|
-
|
|
8252
|
+
ee("slot[name=content]")
|
|
8243
8253
|
], it.prototype, "popContent", 2);
|
|
8244
8254
|
jt([
|
|
8245
8255
|
a({ type: Boolean })
|
|
@@ -8314,13 +8324,13 @@ class Nr {
|
|
|
8314
8324
|
this.u.disconnect();
|
|
8315
8325
|
}
|
|
8316
8326
|
}
|
|
8317
|
-
var $l = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor,
|
|
8327
|
+
var $l = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, pt = (r, t, i, s) => {
|
|
8318
8328
|
for (var e = s > 1 ? void 0 : s ? Cl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8319
8329
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8320
8330
|
return s && e && $l(t, i, e), e;
|
|
8321
8331
|
};
|
|
8322
|
-
let
|
|
8323
|
-
Sr(Cr(
|
|
8332
|
+
let rt = class extends Pi(
|
|
8333
|
+
Sr(Cr(ie(w)))
|
|
8324
8334
|
) {
|
|
8325
8335
|
constructor() {
|
|
8326
8336
|
super(...arguments), this.size = "md", this.placeholder = "", this.filteredFields = "", this.readonly = null, this.dataProviderExpression = "", this.minSearchLength = 0, this.key = "", this.searchParameter = "", this.propertyName = "", this.hasInputPrefix = !1, this._resizeController = new Nr(this, {}), this.isPopVisible = !1, this.searchDataProvider = "", this.initSearchDataProvider = "", this.queueDataProvider = "", this.initQueueDataProvider = "", this.lastValidSearch = "", this.updateSearchParameter = (r) => {
|
|
@@ -8368,7 +8378,7 @@ let at = class extends Pi(
|
|
|
8368
8378
|
const r = this.searchParameter || this.name, t = this.getAncestorAttributeValue("formDataProvider"), i = t + "__" + this.name + "__autocomplete";
|
|
8369
8379
|
this.initSearchDataProvider = `${i}_init_search__`, this.initQueueDataProvider = `${i}_init_queue__`, this.searchDataProvider = `${i}_search__`, this.queueDataProvider = `${i}_queue__`;
|
|
8370
8380
|
const s = st.get;
|
|
8371
|
-
this.searchPublisher = s(this.searchDataProvider)[r], this.formValuePublisher =
|
|
8381
|
+
this.searchPublisher = s(this.searchDataProvider)[r], this.formValuePublisher = ut(
|
|
8372
8382
|
s(t),
|
|
8373
8383
|
this.name
|
|
8374
8384
|
), this.countPublisher = s(this.queueDataProvider).resultCount, this.initCountPublisher = s(
|
|
@@ -8413,9 +8423,12 @@ let at = class extends Pi(
|
|
|
8413
8423
|
getInputValue() {
|
|
8414
8424
|
return this.isSearchParameter() ? this.searchPublisher?.get() : this.lastValidSearch;
|
|
8415
8425
|
}
|
|
8426
|
+
handleFocus() {
|
|
8427
|
+
this.popElement.show();
|
|
8428
|
+
}
|
|
8416
8429
|
render() {
|
|
8417
8430
|
return m`
|
|
8418
|
-
<sonic-pop
|
|
8431
|
+
<sonic-pop manual style="display:block;" @hide=${this.handleHide}>
|
|
8419
8432
|
<sonic-input
|
|
8420
8433
|
class="form-element"
|
|
8421
8434
|
dataProvider="${this.initSearchDataProvider + Math.random()}"
|
|
@@ -8433,6 +8446,7 @@ let at = class extends Pi(
|
|
|
8433
8446
|
clearable
|
|
8434
8447
|
inlineContent
|
|
8435
8448
|
size=${this.size}
|
|
8449
|
+
@focus=${this.handleFocus}
|
|
8436
8450
|
value=${$(this.getInputValue())}
|
|
8437
8451
|
>
|
|
8438
8452
|
<slot
|
|
@@ -8481,7 +8495,7 @@ let at = class extends Pi(
|
|
|
8481
8495
|
`;
|
|
8482
8496
|
}
|
|
8483
8497
|
};
|
|
8484
|
-
|
|
8498
|
+
rt.styles = [
|
|
8485
8499
|
ss,
|
|
8486
8500
|
P`
|
|
8487
8501
|
:host {
|
|
@@ -8506,58 +8520,61 @@ at.styles = [
|
|
|
8506
8520
|
}
|
|
8507
8521
|
`
|
|
8508
8522
|
];
|
|
8509
|
-
|
|
8523
|
+
pt([
|
|
8510
8524
|
a({ type: String })
|
|
8511
|
-
],
|
|
8512
|
-
|
|
8525
|
+
], rt.prototype, "size", 2);
|
|
8526
|
+
pt([
|
|
8513
8527
|
a({ type: String })
|
|
8514
|
-
],
|
|
8515
|
-
|
|
8528
|
+
], rt.prototype, "placeholder", 2);
|
|
8529
|
+
pt([
|
|
8516
8530
|
a()
|
|
8517
|
-
],
|
|
8518
|
-
|
|
8531
|
+
], rt.prototype, "filteredFields", 2);
|
|
8532
|
+
pt([
|
|
8519
8533
|
a({ type: Boolean, reflect: !0 })
|
|
8520
|
-
],
|
|
8521
|
-
|
|
8534
|
+
], rt.prototype, "readonly", 2);
|
|
8535
|
+
pt([
|
|
8522
8536
|
a({ type: String })
|
|
8523
|
-
],
|
|
8524
|
-
|
|
8537
|
+
], rt.prototype, "dataProviderExpression", 2);
|
|
8538
|
+
pt([
|
|
8525
8539
|
a({ type: Number })
|
|
8526
|
-
],
|
|
8527
|
-
|
|
8540
|
+
], rt.prototype, "minSearchLength", 2);
|
|
8541
|
+
pt([
|
|
8528
8542
|
a({ type: Boolean })
|
|
8529
|
-
],
|
|
8530
|
-
|
|
8543
|
+
], rt.prototype, "select", 2);
|
|
8544
|
+
pt([
|
|
8531
8545
|
a({ type: String })
|
|
8532
|
-
],
|
|
8533
|
-
|
|
8546
|
+
], rt.prototype, "key", 2);
|
|
8547
|
+
pt([
|
|
8534
8548
|
a({ type: String })
|
|
8535
|
-
],
|
|
8536
|
-
|
|
8549
|
+
], rt.prototype, "searchParameter", 2);
|
|
8550
|
+
pt([
|
|
8537
8551
|
a({ type: String })
|
|
8538
|
-
],
|
|
8539
|
-
|
|
8552
|
+
], rt.prototype, "propertyName", 2);
|
|
8553
|
+
pt([
|
|
8540
8554
|
dt({ slot: "prefix", flatten: !0 })
|
|
8541
|
-
],
|
|
8542
|
-
|
|
8555
|
+
], rt.prototype, "slotInputPrefixNodes", 2);
|
|
8556
|
+
pt([
|
|
8543
8557
|
D()
|
|
8544
|
-
],
|
|
8545
|
-
|
|
8558
|
+
], rt.prototype, "hasInputPrefix", 2);
|
|
8559
|
+
pt([
|
|
8560
|
+
ee("sonic-pop")
|
|
8561
|
+
], rt.prototype, "popElement", 2);
|
|
8562
|
+
pt([
|
|
8546
8563
|
D()
|
|
8547
|
-
],
|
|
8548
|
-
|
|
8564
|
+
], rt.prototype, "isPopVisible", 2);
|
|
8565
|
+
pt([
|
|
8549
8566
|
D()
|
|
8550
|
-
],
|
|
8551
|
-
|
|
8567
|
+
], rt.prototype, "lastValidSearch", 2);
|
|
8568
|
+
rt = pt([
|
|
8552
8569
|
_("sonic-input-autocomplete")
|
|
8553
|
-
],
|
|
8570
|
+
], rt);
|
|
8554
8571
|
var Sl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, gt = (r, t, i, s) => {
|
|
8555
8572
|
for (var e = s > 1 ? void 0 : s ? Al(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8556
8573
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8557
8574
|
return s && e && Sl(t, i, e), e;
|
|
8558
8575
|
};
|
|
8559
8576
|
const kl = "sonic-password-helper";
|
|
8560
|
-
let lt = class extends
|
|
8577
|
+
let lt = class extends ie(w) {
|
|
8561
8578
|
constructor() {
|
|
8562
8579
|
super(...arguments), this.minChars = 8, this.hasNoChar = !0, this.hasEnoughChars = !1, this.hasMinuscule = !1, this.hasMajuscule = !1, this.hasNumber = !1, this.hasSpecialChar = !1, this.wording_password_helper_decription = "Le mot de passe doit contenir au moins :", this.wording_password_helper_min_length = "8 caractères", this.wording_password_helper_lower_case = "1 minuscule", this.wording_password_helper_upper_case = "1 majuscule", this.wording_password_helper_number = "1 chiffre", this.wording_password_helper_special_char = "1 caractère spécial";
|
|
8563
8580
|
}
|
|
@@ -8648,7 +8665,7 @@ var Ol = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, ve = (r, t
|
|
|
8648
8665
|
return s && e && Ol(t, i, e), e;
|
|
8649
8666
|
};
|
|
8650
8667
|
const Ll = "sonic-same-value-helper";
|
|
8651
|
-
let Jt = class extends
|
|
8668
|
+
let Jt = class extends ie(w) {
|
|
8652
8669
|
constructor() {
|
|
8653
8670
|
super(...arguments), this.descriptionWhenEqual = "Correspondance : oui", this.descriptionWhenNotEqual = "Correspondance : non", this.areEqual = !1, this.hasNoChar = !0;
|
|
8654
8671
|
}
|
|
@@ -8658,10 +8675,10 @@ let Jt = class extends se(w) {
|
|
|
8658
8675
|
this.getAncestorAttributeValue("formDataProvider")
|
|
8659
8676
|
);
|
|
8660
8677
|
this.name && this.sameValueAs && (this.checkValue = (t) => {
|
|
8661
|
-
t ? this.hasNoChar = t.length == 0 : this.hasNoChar = !0, this.name && this.sameValueAs && (this.areEqual =
|
|
8662
|
-
},
|
|
8678
|
+
t ? this.hasNoChar = t.length == 0 : this.hasNoChar = !0, this.name && this.sameValueAs && (this.areEqual = ut(r, this.name).get() == ut(r, this.sameValueAs).get());
|
|
8679
|
+
}, ut(r, this.name).onAssign(
|
|
8663
8680
|
this.checkValue
|
|
8664
|
-
),
|
|
8681
|
+
), ut(r, this.sameValueAs).onAssign(
|
|
8665
8682
|
this.checkValue
|
|
8666
8683
|
));
|
|
8667
8684
|
}
|
|
@@ -8670,9 +8687,9 @@ let Jt = class extends se(w) {
|
|
|
8670
8687
|
const r = st.get(
|
|
8671
8688
|
this.getAncestorAttributeValue("formDataProvider")
|
|
8672
8689
|
);
|
|
8673
|
-
|
|
8690
|
+
ut(r, this.name).offAssign(
|
|
8674
8691
|
this.checkValue
|
|
8675
|
-
),
|
|
8692
|
+
), ut(r, this.sameValueAs).offAssign(
|
|
8676
8693
|
this.checkValue
|
|
8677
8694
|
);
|
|
8678
8695
|
}
|
|
@@ -8708,13 +8725,13 @@ ve([
|
|
|
8708
8725
|
Jt = ve([
|
|
8709
8726
|
_(Ll)
|
|
8710
8727
|
], Jt);
|
|
8711
|
-
var El = Object.defineProperty, Nl = Object.getOwnPropertyDescriptor,
|
|
8728
|
+
var El = Object.defineProperty, Nl = Object.getOwnPropertyDescriptor, Wt = (r, t, i, s) => {
|
|
8712
8729
|
for (var e = s > 1 ? void 0 : s ? Nl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8713
8730
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8714
8731
|
return s && e && El(t, i, e), e;
|
|
8715
8732
|
};
|
|
8716
8733
|
const Tl = "sonic-checkbox";
|
|
8717
|
-
let
|
|
8734
|
+
let mt = class extends _i(
|
|
8718
8735
|
Es(Le(G(w)))
|
|
8719
8736
|
) {
|
|
8720
8737
|
constructor() {
|
|
@@ -8764,7 +8781,7 @@ let ft = class extends _i(
|
|
|
8764
8781
|
`;
|
|
8765
8782
|
}
|
|
8766
8783
|
};
|
|
8767
|
-
|
|
8784
|
+
mt.styles = [
|
|
8768
8785
|
Mt,
|
|
8769
8786
|
P`
|
|
8770
8787
|
:host {
|
|
@@ -8890,40 +8907,40 @@ ft.styles = [
|
|
|
8890
8907
|
}
|
|
8891
8908
|
`
|
|
8892
8909
|
];
|
|
8893
|
-
|
|
8910
|
+
Wt([
|
|
8894
8911
|
a({ type: Boolean, reflect: !0 })
|
|
8895
|
-
],
|
|
8896
|
-
|
|
8912
|
+
], mt.prototype, "touched", 2);
|
|
8913
|
+
Wt([
|
|
8897
8914
|
a({ type: String })
|
|
8898
|
-
],
|
|
8899
|
-
|
|
8915
|
+
], mt.prototype, "iconName", 2);
|
|
8916
|
+
Wt([
|
|
8900
8917
|
a({ type: String })
|
|
8901
|
-
],
|
|
8902
|
-
|
|
8918
|
+
], mt.prototype, "indeterminateIconName", 2);
|
|
8919
|
+
Wt([
|
|
8903
8920
|
a({ type: Boolean })
|
|
8904
|
-
],
|
|
8905
|
-
|
|
8921
|
+
], mt.prototype, "showAsIndeterminate", 2);
|
|
8922
|
+
Wt([
|
|
8906
8923
|
a({ type: Boolean })
|
|
8907
|
-
],
|
|
8908
|
-
|
|
8924
|
+
], mt.prototype, "hasDescription", 2);
|
|
8925
|
+
Wt([
|
|
8909
8926
|
a({ type: Boolean })
|
|
8910
|
-
],
|
|
8911
|
-
|
|
8927
|
+
], mt.prototype, "hasLabel", 2);
|
|
8928
|
+
Wt([
|
|
8912
8929
|
dt({ flatten: !0 })
|
|
8913
|
-
],
|
|
8914
|
-
|
|
8930
|
+
], mt.prototype, "slotLabelNodes", 2);
|
|
8931
|
+
Wt([
|
|
8915
8932
|
dt({ slot: "description", flatten: !0 })
|
|
8916
|
-
],
|
|
8917
|
-
|
|
8933
|
+
], mt.prototype, "slotDescriptionNodes", 2);
|
|
8934
|
+
mt = Wt([
|
|
8918
8935
|
_(Tl)
|
|
8919
|
-
],
|
|
8936
|
+
], mt);
|
|
8920
8937
|
var Il = Object.getOwnPropertyDescriptor, Ml = (r, t, i, s) => {
|
|
8921
8938
|
for (var e = s > 1 ? void 0 : s ? Il(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8922
8939
|
(n = r[o]) && (e = n(e) || e);
|
|
8923
8940
|
return e;
|
|
8924
8941
|
};
|
|
8925
8942
|
const jl = "sonic-radio";
|
|
8926
|
-
let Gs = class extends
|
|
8943
|
+
let Gs = class extends mt {
|
|
8927
8944
|
constructor() {
|
|
8928
8945
|
super(), this.radio = !0;
|
|
8929
8946
|
}
|
|
@@ -8936,7 +8953,7 @@ let Gs = class extends ft {
|
|
|
8936
8953
|
}
|
|
8937
8954
|
};
|
|
8938
8955
|
Gs.styles = [
|
|
8939
|
-
|
|
8956
|
+
mt.styles,
|
|
8940
8957
|
P`
|
|
8941
8958
|
:host input {
|
|
8942
8959
|
border-radius: 50%;
|
|
@@ -8964,13 +8981,13 @@ var Fl = Object.getOwnPropertyDescriptor, zl = (r, t, i, s) => {
|
|
|
8964
8981
|
return e;
|
|
8965
8982
|
};
|
|
8966
8983
|
const Rl = "sonic-switch";
|
|
8967
|
-
let Qs = class extends
|
|
8984
|
+
let Qs = class extends mt {
|
|
8968
8985
|
constructor() {
|
|
8969
8986
|
super(), this.unique = !0;
|
|
8970
8987
|
}
|
|
8971
8988
|
};
|
|
8972
8989
|
Qs.styles = [
|
|
8973
|
-
|
|
8990
|
+
mt.styles,
|
|
8974
8991
|
P`
|
|
8975
8992
|
sonic-icon {
|
|
8976
8993
|
display: none;
|
|
@@ -9047,7 +9064,7 @@ var Ul = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, Q = (r, t,
|
|
|
9047
9064
|
return s && e && Ul(t, i, e), e;
|
|
9048
9065
|
};
|
|
9049
9066
|
const Bl = "sonic-select";
|
|
9050
|
-
let
|
|
9067
|
+
let K = class extends Le(G(w)) {
|
|
9051
9068
|
constructor() {
|
|
9052
9069
|
super(...arguments), this.valueKey = "value", this.wordingKey = "wording", this.multiple = !1, this.status = "default", this._options = [], this.hasDoneFirstUpdate = !1, this._value = "", this.updateOptions = () => {
|
|
9053
9070
|
const r = this.querySelectorAll(
|
|
@@ -9179,7 +9196,7 @@ let W = class extends Le(G(w)) {
|
|
|
9179
9196
|
`;
|
|
9180
9197
|
}
|
|
9181
9198
|
};
|
|
9182
|
-
|
|
9199
|
+
K.styles = [
|
|
9183
9200
|
Mt,
|
|
9184
9201
|
Ai,
|
|
9185
9202
|
Ts,
|
|
@@ -9241,70 +9258,70 @@ W.styles = [
|
|
|
9241
9258
|
];
|
|
9242
9259
|
Q([
|
|
9243
9260
|
a({ type: String })
|
|
9244
|
-
],
|
|
9261
|
+
], K.prototype, "valueKey", 2);
|
|
9245
9262
|
Q([
|
|
9246
9263
|
a({ type: String })
|
|
9247
|
-
],
|
|
9264
|
+
], K.prototype, "wordingKey", 2);
|
|
9248
9265
|
Q([
|
|
9249
9266
|
a({ type: Boolean })
|
|
9250
|
-
],
|
|
9267
|
+
], K.prototype, "multiple", 2);
|
|
9251
9268
|
Q([
|
|
9252
9269
|
a({ type: String, reflect: !0 })
|
|
9253
|
-
],
|
|
9270
|
+
], K.prototype, "size", 2);
|
|
9254
9271
|
Q([
|
|
9255
9272
|
a({ type: Number })
|
|
9256
|
-
],
|
|
9273
|
+
], K.prototype, "selectSize", 2);
|
|
9257
9274
|
Q([
|
|
9258
9275
|
a({ type: String, reflect: !0 })
|
|
9259
|
-
],
|
|
9276
|
+
], K.prototype, "status", 2);
|
|
9260
9277
|
Q([
|
|
9261
9278
|
a({ type: Array })
|
|
9262
|
-
],
|
|
9279
|
+
], K.prototype, "options", 1);
|
|
9263
9280
|
Q([
|
|
9264
9281
|
a({ reflect: !0 })
|
|
9265
|
-
],
|
|
9282
|
+
], K.prototype, "value", 1);
|
|
9266
9283
|
Q([
|
|
9267
9284
|
a({ type: Boolean })
|
|
9268
|
-
],
|
|
9285
|
+
], K.prototype, "forceAutoFill", 2);
|
|
9269
9286
|
Q([
|
|
9270
9287
|
a()
|
|
9271
|
-
],
|
|
9288
|
+
], K.prototype, "description", 1);
|
|
9272
9289
|
Q([
|
|
9273
9290
|
a()
|
|
9274
|
-
],
|
|
9291
|
+
], K.prototype, "label", 1);
|
|
9275
9292
|
Q([
|
|
9276
9293
|
dt({ slot: "label", flatten: !0 })
|
|
9277
|
-
],
|
|
9294
|
+
], K.prototype, "slotLabelNodes", 2);
|
|
9278
9295
|
Q([
|
|
9279
9296
|
dt({ slot: "description", flatten: !0 })
|
|
9280
|
-
],
|
|
9297
|
+
], K.prototype, "slotDescriptionNodes", 2);
|
|
9281
9298
|
Q([
|
|
9282
9299
|
dt({ slot: "suffix", flatten: !0 })
|
|
9283
|
-
],
|
|
9300
|
+
], K.prototype, "slotSuffixNodes", 2);
|
|
9284
9301
|
Q([
|
|
9285
9302
|
dt({ slot: "prefix", flatten: !0 })
|
|
9286
|
-
],
|
|
9303
|
+
], K.prototype, "slotPrefixNodes", 2);
|
|
9287
9304
|
Q([
|
|
9288
9305
|
D()
|
|
9289
|
-
],
|
|
9306
|
+
], K.prototype, "hasDescription", 2);
|
|
9290
9307
|
Q([
|
|
9291
9308
|
D()
|
|
9292
|
-
],
|
|
9309
|
+
], K.prototype, "hasLabel", 2);
|
|
9293
9310
|
Q([
|
|
9294
9311
|
D()
|
|
9295
|
-
],
|
|
9312
|
+
], K.prototype, "hasSuffix", 2);
|
|
9296
9313
|
Q([
|
|
9297
9314
|
D()
|
|
9298
|
-
],
|
|
9299
|
-
|
|
9315
|
+
], K.prototype, "hasPrefix", 2);
|
|
9316
|
+
K = Q([
|
|
9300
9317
|
_(Bl)
|
|
9301
|
-
],
|
|
9318
|
+
], K);
|
|
9302
9319
|
var ql = Object.defineProperty, Hl = Object.getOwnPropertyDescriptor, bt = (r, t, i, s) => {
|
|
9303
9320
|
for (var e = s > 1 ? void 0 : s ? Hl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9304
9321
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
9305
9322
|
return s && e && ql(t, i, e), e;
|
|
9306
9323
|
};
|
|
9307
|
-
const
|
|
9324
|
+
const Kl = "sonic-textarea";
|
|
9308
9325
|
let ct = class extends Es(Le(G(w))) {
|
|
9309
9326
|
constructor() {
|
|
9310
9327
|
super(...arguments), this.size = "md", this.readonly = !1, this.resize = "vertical", this.hasDescription = !1, this.hasLabel = !1;
|
|
@@ -9365,7 +9382,7 @@ let ct = class extends Es(Le(G(w))) {
|
|
|
9365
9382
|
class="form-element textarea custom-scroll"
|
|
9366
9383
|
aria-label=${$(this.ariaLabel)}
|
|
9367
9384
|
aria-labelledby=${$(this.ariaLabelledby)}
|
|
9368
|
-
style=${
|
|
9385
|
+
style=${ft(r)}
|
|
9369
9386
|
>
|
|
9370
9387
|
${this.value}</textarea
|
|
9371
9388
|
>
|
|
@@ -9433,10 +9450,10 @@ bt([
|
|
|
9433
9450
|
D()
|
|
9434
9451
|
], ct.prototype, "hasLabel", 2);
|
|
9435
9452
|
ct = bt([
|
|
9436
|
-
_(
|
|
9453
|
+
_(Kl)
|
|
9437
9454
|
], ct);
|
|
9438
|
-
var
|
|
9439
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
9455
|
+
var Wl = Object.getOwnPropertyDescriptor, Yl = (r, t, i, s) => {
|
|
9456
|
+
for (var e = s > 1 ? void 0 : s ? Wl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9440
9457
|
(n = r[o]) && (e = n(e) || e);
|
|
9441
9458
|
return e;
|
|
9442
9459
|
};
|
|
@@ -9774,7 +9791,7 @@ let Xe = class extends w {
|
|
|
9774
9791
|
flexDirection: this.direction,
|
|
9775
9792
|
justifyContent: this.justify
|
|
9776
9793
|
};
|
|
9777
|
-
return m`<slot style=${
|
|
9794
|
+
return m`<slot style=${ft(r)}></slot>`;
|
|
9778
9795
|
}
|
|
9779
9796
|
};
|
|
9780
9797
|
Xe.styles = [
|
|
@@ -9798,7 +9815,7 @@ Di([
|
|
|
9798
9815
|
Xe = Di([
|
|
9799
9816
|
_(nc)
|
|
9800
9817
|
], Xe);
|
|
9801
|
-
var ac = Object.defineProperty, lc = Object.getOwnPropertyDescriptor,
|
|
9818
|
+
var ac = Object.defineProperty, lc = Object.getOwnPropertyDescriptor, re = (r, t, i, s) => {
|
|
9802
9819
|
for (var e = s > 1 ? void 0 : s ? lc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9803
9820
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
9804
9821
|
return s && e && ac(t, i, e), e;
|
|
@@ -9839,7 +9856,7 @@ let Tt = class extends w {
|
|
|
9839
9856
|
@slotchange=${this.hasSlotOrProps}
|
|
9840
9857
|
></slot
|
|
9841
9858
|
></span>
|
|
9842
|
-
<slot class="main-slot" style=${
|
|
9859
|
+
<slot class="main-slot" style=${ft(r)}></slot>
|
|
9843
9860
|
<slot
|
|
9844
9861
|
name="description"
|
|
9845
9862
|
@slotchange=${this.hasSlotOrProps}
|
|
@@ -9875,28 +9892,28 @@ Tt.styles = [
|
|
|
9875
9892
|
}
|
|
9876
9893
|
`
|
|
9877
9894
|
];
|
|
9878
|
-
|
|
9895
|
+
re([
|
|
9879
9896
|
a({ type: String })
|
|
9880
9897
|
], Tt.prototype, "alignItems", 2);
|
|
9881
|
-
|
|
9898
|
+
re([
|
|
9882
9899
|
a({ type: String })
|
|
9883
9900
|
], Tt.prototype, "label", 2);
|
|
9884
|
-
|
|
9901
|
+
re([
|
|
9885
9902
|
a({ type: String })
|
|
9886
9903
|
], Tt.prototype, "description", 2);
|
|
9887
|
-
|
|
9904
|
+
re([
|
|
9888
9905
|
dt({ slot: "label", flatten: !0 })
|
|
9889
9906
|
], Tt.prototype, "slotLabelNodes", 2);
|
|
9890
|
-
|
|
9907
|
+
re([
|
|
9891
9908
|
dt({ slot: "description", flatten: !0 })
|
|
9892
9909
|
], Tt.prototype, "slotDescriptionNodes", 2);
|
|
9893
|
-
|
|
9910
|
+
re([
|
|
9894
9911
|
D()
|
|
9895
9912
|
], Tt.prototype, "hasDescription", 2);
|
|
9896
|
-
|
|
9913
|
+
re([
|
|
9897
9914
|
D()
|
|
9898
9915
|
], Tt.prototype, "hasLabel", 2);
|
|
9899
|
-
Tt =
|
|
9916
|
+
Tt = re([
|
|
9900
9917
|
_(cc)
|
|
9901
9918
|
], Tt);
|
|
9902
9919
|
var hc = Object.defineProperty, dc = Object.getOwnPropertyDescriptor, zt = (r, t, i, s) => {
|
|
@@ -9932,7 +9949,7 @@ let $t = class extends w {
|
|
|
9932
9949
|
src="${this.src}"
|
|
9933
9950
|
loading="${this.loading}"
|
|
9934
9951
|
alt="${this.alt}"
|
|
9935
|
-
style=${
|
|
9952
|
+
style=${ft(r)}
|
|
9936
9953
|
/></picture>
|
|
9937
9954
|
</div>`;
|
|
9938
9955
|
}
|
|
@@ -10152,19 +10169,19 @@ let ht = class extends w {
|
|
|
10152
10169
|
return m`<menu
|
|
10153
10170
|
part="menu"
|
|
10154
10171
|
class="shadowable"
|
|
10155
|
-
style=${
|
|
10172
|
+
style=${ft(r)}
|
|
10156
10173
|
>
|
|
10157
10174
|
<slot
|
|
10158
10175
|
@slotchange=${this.mainSlotChange}
|
|
10159
10176
|
id="menu-content"
|
|
10160
|
-
style=${
|
|
10177
|
+
style=${ft(i)}
|
|
10161
10178
|
></slot>
|
|
10162
10179
|
<sonic-pop
|
|
10163
|
-
style=${
|
|
10180
|
+
style=${ft(s)}
|
|
10164
10181
|
class=${this.hasMoreElements ? "" : "hidden"}
|
|
10165
10182
|
>
|
|
10166
10183
|
<sonic-menu-item
|
|
10167
|
-
style=${
|
|
10184
|
+
style=${ft(e)}
|
|
10168
10185
|
class="more-btn"
|
|
10169
10186
|
shape=${this.moreShape}
|
|
10170
10187
|
align="center"
|
|
@@ -10340,10 +10357,10 @@ vt([
|
|
|
10340
10357
|
a({ type: String })
|
|
10341
10358
|
], ht.prototype, "minWidth", 2);
|
|
10342
10359
|
vt([
|
|
10343
|
-
|
|
10360
|
+
ee("menu")
|
|
10344
10361
|
], ht.prototype, "menu", 2);
|
|
10345
10362
|
vt([
|
|
10346
|
-
|
|
10363
|
+
ee("#menu-content")
|
|
10347
10364
|
], ht.prototype, "menuContent", 2);
|
|
10348
10365
|
vt([
|
|
10349
10366
|
ke({ selector: "*" })
|
|
@@ -10595,14 +10612,14 @@ let I = class extends G(w) {
|
|
|
10595
10612
|
<div
|
|
10596
10613
|
id="backdrop"
|
|
10597
10614
|
@click=${this.handleOverlayClick}
|
|
10598
|
-
style=${
|
|
10615
|
+
style=${ft(t)}
|
|
10599
10616
|
></div>
|
|
10600
10617
|
<dialog
|
|
10601
10618
|
id="modal"
|
|
10602
10619
|
part="modal"
|
|
10603
10620
|
class="custom-scroll"
|
|
10604
10621
|
aria-modal="true"
|
|
10605
|
-
style=${
|
|
10622
|
+
style=${ft(r)}
|
|
10606
10623
|
>
|
|
10607
10624
|
${this._animationState !== "hidden" ? m`<div id="modal-content">
|
|
10608
10625
|
${!this.forceAction && !this.noCloseButton ? m`<sonic-modal-close
|
|
@@ -10911,7 +10928,7 @@ Y([
|
|
|
10911
10928
|
a({ type: String })
|
|
10912
10929
|
], I.prototype, "closeButtonType", 2);
|
|
10913
10930
|
Y([
|
|
10914
|
-
|
|
10931
|
+
ee("#modal")
|
|
10915
10932
|
], I.prototype, "_modalElement", 2);
|
|
10916
10933
|
Y([
|
|
10917
10934
|
a({ type: Boolean })
|
|
@@ -11108,7 +11125,7 @@ var jc = Object.defineProperty, Fc = Object.getOwnPropertyDescriptor, ns = (r, t
|
|
|
11108
11125
|
return s && e && jc(t, i, e), e;
|
|
11109
11126
|
};
|
|
11110
11127
|
const zc = "sonic-alert-messages";
|
|
11111
|
-
let
|
|
11128
|
+
let fe = class extends G(w) {
|
|
11112
11129
|
constructor() {
|
|
11113
11130
|
super(...arguments), this.size = "md", this.background = !1, this.noIcon = !1, this.messages = [];
|
|
11114
11131
|
}
|
|
@@ -11124,7 +11141,7 @@ let ue = class extends G(w) {
|
|
|
11124
11141
|
</div>` : C;
|
|
11125
11142
|
}
|
|
11126
11143
|
};
|
|
11127
|
-
|
|
11144
|
+
fe.styles = [
|
|
11128
11145
|
P`
|
|
11129
11146
|
.container {
|
|
11130
11147
|
display: grid;
|
|
@@ -11136,19 +11153,19 @@ ue.styles = [
|
|
|
11136
11153
|
];
|
|
11137
11154
|
ns([
|
|
11138
11155
|
a({ type: String })
|
|
11139
|
-
],
|
|
11156
|
+
], fe.prototype, "size", 2);
|
|
11140
11157
|
ns([
|
|
11141
11158
|
a({ type: Boolean })
|
|
11142
|
-
],
|
|
11159
|
+
], fe.prototype, "background", 2);
|
|
11143
11160
|
ns([
|
|
11144
11161
|
a({ type: Boolean })
|
|
11145
|
-
],
|
|
11162
|
+
], fe.prototype, "noIcon", 2);
|
|
11146
11163
|
ns([
|
|
11147
11164
|
a({ type: Array })
|
|
11148
|
-
],
|
|
11149
|
-
|
|
11165
|
+
], fe.prototype, "messages", 2);
|
|
11166
|
+
fe = ns([
|
|
11150
11167
|
_(zc)
|
|
11151
|
-
],
|
|
11168
|
+
], fe);
|
|
11152
11169
|
var Rc = Object.defineProperty, Uc = Object.getOwnPropertyDescriptor, Mr = (r, t, i, s) => {
|
|
11153
11170
|
for (var e = s > 1 ? void 0 : s ? Uc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11154
11171
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
@@ -11183,16 +11200,30 @@ var Bc = Object.defineProperty, qc = Object.getOwnPropertyDescriptor, as = (r, t
|
|
|
11183
11200
|
return s && e && Bc(t, i, e), e;
|
|
11184
11201
|
};
|
|
11185
11202
|
const Hc = "sonic-tooltip";
|
|
11186
|
-
let
|
|
11203
|
+
let me = class extends w {
|
|
11187
11204
|
constructor() {
|
|
11188
|
-
super(
|
|
11205
|
+
super(), this.label = "", this.disabled = !1, this.focusable = !1, this.lastKeyWasTab = !1, this.handleKeyDown = (r) => {
|
|
11206
|
+
r.key === "Tab" && (this.lastKeyWasTab = !0);
|
|
11207
|
+
}, this.handleMouseDown = () => {
|
|
11208
|
+
this.lastKeyWasTab = !1, this.classList.remove("keyboard-focus");
|
|
11209
|
+
}, this.handleFocusIn = () => {
|
|
11210
|
+
this.lastKeyWasTab && this.classList.add("keyboard-focus"), this.lastKeyWasTab = !1;
|
|
11211
|
+
}, this.handleFocusOut = () => {
|
|
11212
|
+
this.classList.remove("keyboard-focus"), this.lastKeyWasTab = !1;
|
|
11213
|
+
}, this.boundHandleKeyDown = this.handleKeyDown.bind(this), this.boundHandleMouseDown = this.handleMouseDown.bind(this);
|
|
11214
|
+
}
|
|
11215
|
+
connectedCallback() {
|
|
11216
|
+
super.connectedCallback(), this.addEventListener("focusin", this.handleFocusIn), this.addEventListener("focusout", this.handleFocusOut), document.addEventListener("keydown", this.boundHandleKeyDown, !0), document.addEventListener("mousedown", this.boundHandleMouseDown, !0);
|
|
11217
|
+
}
|
|
11218
|
+
disconnectedCallback() {
|
|
11219
|
+
super.disconnectedCallback(), this.removeEventListener("focusin", this.handleFocusIn), this.removeEventListener("focusout", this.handleFocusOut), document.removeEventListener("keydown", this.boundHandleKeyDown, !0), document.removeEventListener("mousedown", this.boundHandleMouseDown, !0);
|
|
11189
11220
|
}
|
|
11190
11221
|
willUpdate(r) {
|
|
11191
11222
|
if (r.has("disabled")) {
|
|
11192
11223
|
const t = r.get("disabled") === !0;
|
|
11193
|
-
this.disabled ? this.setAttribute("tabindex", "-1") : !this.disabled && t && this.removeAttribute("tabindex");
|
|
11224
|
+
this.disabled ? (this.setAttribute("tabindex", "-1"), this.classList.remove("keyboard-focus")) : !this.disabled && t && (this.focusable ? this.setAttribute("tabindex", "0") : this.removeAttribute("tabindex"));
|
|
11194
11225
|
}
|
|
11195
|
-
super.willUpdate(r);
|
|
11226
|
+
r.has("focusable") && (this.focusable && !this.disabled ? this.setAttribute("tabindex", "0") : !this.focusable && !this.disabled && this.removeAttribute("tabindex")), super.willUpdate(r);
|
|
11196
11227
|
}
|
|
11197
11228
|
render() {
|
|
11198
11229
|
const r = this.disabled || this.label == "" ? "disabled" : "";
|
|
@@ -11204,7 +11235,7 @@ let fe = class extends w {
|
|
|
11204
11235
|
</div>`;
|
|
11205
11236
|
}
|
|
11206
11237
|
};
|
|
11207
|
-
|
|
11238
|
+
me.styles = [
|
|
11208
11239
|
P`
|
|
11209
11240
|
:host {
|
|
11210
11241
|
position: relative;
|
|
@@ -11237,9 +11268,8 @@ fe.styles = [
|
|
|
11237
11268
|
will-change: opacity, transform;
|
|
11238
11269
|
}
|
|
11239
11270
|
|
|
11240
|
-
/* désactive au focus-within cause persistance du tooltip au clic */
|
|
11241
|
-
/* :host(:focus-within) .tooltip:before, */
|
|
11242
11271
|
:host(:focus-visible) .tooltip:before,
|
|
11272
|
+
:host(.keyboard-focus) .tooltip:before,
|
|
11243
11273
|
.tooltip:hover:before {
|
|
11244
11274
|
opacity: 1;
|
|
11245
11275
|
scale: 1;
|
|
@@ -11316,23 +11346,23 @@ fe.styles = [
|
|
|
11316
11346
|
];
|
|
11317
11347
|
as([
|
|
11318
11348
|
a({ type: String })
|
|
11319
|
-
],
|
|
11349
|
+
], me.prototype, "label", 2);
|
|
11320
11350
|
as([
|
|
11321
11351
|
a({ type: String, reflect: !0 })
|
|
11322
|
-
],
|
|
11352
|
+
], me.prototype, "placement", 2);
|
|
11323
11353
|
as([
|
|
11324
11354
|
a({ type: Boolean })
|
|
11325
|
-
],
|
|
11355
|
+
], me.prototype, "disabled", 2);
|
|
11326
11356
|
as([
|
|
11327
11357
|
a({ type: Boolean })
|
|
11328
|
-
],
|
|
11329
|
-
|
|
11358
|
+
], me.prototype, "focusable", 2);
|
|
11359
|
+
me = as([
|
|
11330
11360
|
_(Hc)
|
|
11331
|
-
],
|
|
11332
|
-
var
|
|
11333
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
11361
|
+
], me);
|
|
11362
|
+
var Kc = Object.defineProperty, Wc = Object.getOwnPropertyDescriptor, Ut = (r, t, i, s) => {
|
|
11363
|
+
for (var e = s > 1 ? void 0 : s ? Wc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11334
11364
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11335
|
-
return s && e &&
|
|
11365
|
+
return s && e && Kc(t, i, e), e;
|
|
11336
11366
|
};
|
|
11337
11367
|
const Yc = "sonic-divider";
|
|
11338
11368
|
let St = class extends w {
|
|
@@ -11488,7 +11518,7 @@ Ut([
|
|
|
11488
11518
|
dt({ flatten: !0 })
|
|
11489
11519
|
], St.prototype, "slotNodes", 2);
|
|
11490
11520
|
Ut([
|
|
11491
|
-
|
|
11521
|
+
ee("div")
|
|
11492
11522
|
], St.prototype, "divider", 2);
|
|
11493
11523
|
Ut([
|
|
11494
11524
|
a({ type: String })
|
|
@@ -11800,7 +11830,7 @@ var dh = Object.defineProperty, ph = Object.getOwnPropertyDescriptor, ls = (r, t
|
|
|
11800
11830
|
return s && e && dh(t, i, e), e;
|
|
11801
11831
|
};
|
|
11802
11832
|
const uh = "sonic-tr";
|
|
11803
|
-
let
|
|
11833
|
+
let ge = class extends G(w) {
|
|
11804
11834
|
constructor() {
|
|
11805
11835
|
super(...arguments), this._metadata_ = {};
|
|
11806
11836
|
}
|
|
@@ -11811,7 +11841,7 @@ let me = class extends G(w) {
|
|
|
11811
11841
|
return m`<slot></slot>`;
|
|
11812
11842
|
}
|
|
11813
11843
|
};
|
|
11814
|
-
|
|
11844
|
+
ge.styles = [
|
|
11815
11845
|
Ei,
|
|
11816
11846
|
P`
|
|
11817
11847
|
:host {
|
|
@@ -11835,26 +11865,26 @@ me.styles = [
|
|
|
11835
11865
|
];
|
|
11836
11866
|
ls([
|
|
11837
11867
|
a({ type: Object })
|
|
11838
|
-
],
|
|
11868
|
+
], ge.prototype, "_metadata_", 2);
|
|
11839
11869
|
ls([
|
|
11840
11870
|
a({ type: Boolean, reflect: !0 })
|
|
11841
|
-
],
|
|
11871
|
+
], ge.prototype, "even", 2);
|
|
11842
11872
|
ls([
|
|
11843
11873
|
a({ type: Boolean, reflect: !0 })
|
|
11844
|
-
],
|
|
11874
|
+
], ge.prototype, "odd", 2);
|
|
11845
11875
|
ls([
|
|
11846
11876
|
a({ type: Boolean, reflect: !0 })
|
|
11847
|
-
],
|
|
11848
|
-
|
|
11877
|
+
], ge.prototype, "last", 2);
|
|
11878
|
+
ge = ls([
|
|
11849
11879
|
_(uh)
|
|
11850
|
-
],
|
|
11880
|
+
], ge);
|
|
11851
11881
|
var fh = Object.defineProperty, mh = Object.getOwnPropertyDescriptor, we = (r, t, i, s) => {
|
|
11852
11882
|
for (var e = s > 1 ? void 0 : s ? mh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11853
11883
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11854
11884
|
return s && e && fh(t, i, e), e;
|
|
11855
11885
|
};
|
|
11856
11886
|
const gh = "sonic-th";
|
|
11857
|
-
let
|
|
11887
|
+
let Kt = class extends w {
|
|
11858
11888
|
render() {
|
|
11859
11889
|
const r = {
|
|
11860
11890
|
textAlign: this.align,
|
|
@@ -11864,7 +11894,7 @@ let Wt = class extends w {
|
|
|
11864
11894
|
};
|
|
11865
11895
|
return m`<th
|
|
11866
11896
|
part="th"
|
|
11867
|
-
style=${
|
|
11897
|
+
style=${ft(r)}
|
|
11868
11898
|
colspan=${$(this.colSpan)}
|
|
11869
11899
|
rowspan=${$(this.rowSpan)}
|
|
11870
11900
|
>
|
|
@@ -11872,7 +11902,7 @@ let Wt = class extends w {
|
|
|
11872
11902
|
</th> `;
|
|
11873
11903
|
}
|
|
11874
11904
|
};
|
|
11875
|
-
|
|
11905
|
+
Kt.styles = [
|
|
11876
11906
|
Ei,
|
|
11877
11907
|
P`
|
|
11878
11908
|
:host {
|
|
@@ -11901,26 +11931,26 @@ Wt.styles = [
|
|
|
11901
11931
|
];
|
|
11902
11932
|
we([
|
|
11903
11933
|
a({ type: Number })
|
|
11904
|
-
],
|
|
11934
|
+
], Kt.prototype, "colSpan", 2);
|
|
11905
11935
|
we([
|
|
11906
11936
|
a({ type: Number })
|
|
11907
|
-
],
|
|
11937
|
+
], Kt.prototype, "rowSpan", 2);
|
|
11908
11938
|
we([
|
|
11909
11939
|
a({ type: String })
|
|
11910
|
-
],
|
|
11940
|
+
], Kt.prototype, "align", 2);
|
|
11911
11941
|
we([
|
|
11912
11942
|
a({ type: String })
|
|
11913
|
-
],
|
|
11943
|
+
], Kt.prototype, "minWidth", 2);
|
|
11914
11944
|
we([
|
|
11915
11945
|
a({ type: String })
|
|
11916
|
-
],
|
|
11946
|
+
], Kt.prototype, "maxWidth", 2);
|
|
11917
11947
|
we([
|
|
11918
11948
|
a({ type: String })
|
|
11919
|
-
],
|
|
11920
|
-
|
|
11949
|
+
], Kt.prototype, "width", 2);
|
|
11950
|
+
Kt = we([
|
|
11921
11951
|
_(gh)
|
|
11922
|
-
],
|
|
11923
|
-
var bh = Object.defineProperty, vh = Object.getOwnPropertyDescriptor,
|
|
11952
|
+
], Kt);
|
|
11953
|
+
var bh = Object.defineProperty, vh = Object.getOwnPropertyDescriptor, oe = (r, t, i, s) => {
|
|
11924
11954
|
for (var e = s > 1 ? void 0 : s ? vh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11925
11955
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11926
11956
|
return s && e && bh(t, i, e), e;
|
|
@@ -11935,7 +11965,7 @@ let It = class extends w {
|
|
|
11935
11965
|
maxWidth: this.maxWidth,
|
|
11936
11966
|
width: this.width
|
|
11937
11967
|
};
|
|
11938
|
-
return m`<td part="td" style=${
|
|
11968
|
+
return m`<td part="td" style=${ft(r)} colspan=${$(this.colSpan)} rowspan=${$(this.rowSpan)}>
|
|
11939
11969
|
<slot></slot>
|
|
11940
11970
|
</td>`;
|
|
11941
11971
|
}
|
|
@@ -11957,28 +11987,28 @@ It.styles = [
|
|
|
11957
11987
|
}
|
|
11958
11988
|
`
|
|
11959
11989
|
];
|
|
11960
|
-
|
|
11990
|
+
oe([
|
|
11961
11991
|
a({ type: Number })
|
|
11962
11992
|
], It.prototype, "colSpan", 2);
|
|
11963
|
-
|
|
11993
|
+
oe([
|
|
11964
11994
|
a({ type: Number })
|
|
11965
11995
|
], It.prototype, "rowSpan", 2);
|
|
11966
|
-
|
|
11996
|
+
oe([
|
|
11967
11997
|
a({ type: String })
|
|
11968
11998
|
], It.prototype, "align", 2);
|
|
11969
|
-
|
|
11999
|
+
oe([
|
|
11970
12000
|
a({ type: String })
|
|
11971
12001
|
], It.prototype, "vAlign", 2);
|
|
11972
|
-
|
|
12002
|
+
oe([
|
|
11973
12003
|
a({ type: String })
|
|
11974
12004
|
], It.prototype, "minWidth", 2);
|
|
11975
|
-
|
|
12005
|
+
oe([
|
|
11976
12006
|
a({ type: String })
|
|
11977
12007
|
], It.prototype, "maxWidth", 2);
|
|
11978
|
-
|
|
12008
|
+
oe([
|
|
11979
12009
|
a({ type: String })
|
|
11980
12010
|
], It.prototype, "width", 2);
|
|
11981
|
-
It =
|
|
12011
|
+
It = oe([
|
|
11982
12012
|
_(yh)
|
|
11983
12013
|
], It);
|
|
11984
12014
|
var wh = Object.getOwnPropertyDescriptor, _h = (r, t, i, s) => {
|
|
@@ -12099,7 +12129,7 @@ let te = class extends w {
|
|
|
12099
12129
|
return m`
|
|
12100
12130
|
<div
|
|
12101
12131
|
class="table-container ${this.noCustomScroll ? "" : "custom-scroll"}"
|
|
12102
|
-
style=${
|
|
12132
|
+
style=${ft(r)}
|
|
12103
12133
|
>
|
|
12104
12134
|
<div class="table">
|
|
12105
12135
|
<slot></slot>
|
|
@@ -12434,7 +12464,7 @@ var Rh = Object.defineProperty, Uh = Object.getOwnPropertyDescriptor, js = (r, t
|
|
|
12434
12464
|
const Vh = "supersoniks_altcha", Bh = "Si2\\]X8M4!n9DCLd";
|
|
12435
12465
|
let hr = !1;
|
|
12436
12466
|
const qh = "sonic-captcha";
|
|
12437
|
-
let Ae = class extends
|
|
12467
|
+
let Ae = class extends ie(w) {
|
|
12438
12468
|
constructor() {
|
|
12439
12469
|
super(...arguments), this.key = "", this.action = null, this.zIndex = 9999, this.onCaptchaTokenChanged = (r) => {
|
|
12440
12470
|
r == "request_token" && (this.formPublisher && (this.formPublisher.captchaToken = ""), this.requestToken());
|
|
@@ -12552,12 +12582,12 @@ window.queueMicrotask = window.queueMicrotask || function(r) {
|
|
|
12552
12582
|
function Hh(r) {
|
|
12553
12583
|
this.__connectedCallbackCalls__ || (this.__connectedCallbackCalls__ = /* @__PURE__ */ new Set()), this.__connectedCallbackCalls__.add(r);
|
|
12554
12584
|
}
|
|
12555
|
-
function
|
|
12585
|
+
function Kh(r) {
|
|
12556
12586
|
this.__disconnectedCallbackCalls__ || (this.__disconnectedCallbackCalls__ = /* @__PURE__ */ new Set()), this.__disconnectedCallbackCalls__.add(r);
|
|
12557
12587
|
}
|
|
12558
12588
|
function zr(r) {
|
|
12559
12589
|
if (r.__is__setSubscribable__) return;
|
|
12560
|
-
r.__is__setSubscribable__ = !0, r.__onConnected__ = Hh, r.__onDisconnected__ =
|
|
12590
|
+
r.__is__setSubscribable__ = !0, r.__onConnected__ = Hh, r.__onDisconnected__ = Kh;
|
|
12561
12591
|
const t = r.connectedCallback;
|
|
12562
12592
|
r.connectedCallback = function() {
|
|
12563
12593
|
t.call(this), this.__connectedCallbackCalls__ && this.__connectedCallbackCalls__.forEach((s) => s(this));
|
|
@@ -12567,7 +12597,7 @@ function zr(r) {
|
|
|
12567
12597
|
i.call(this), this.__disconnectedCallbackCalls__ && this.__disconnectedCallbackCalls__.forEach((s) => s(this));
|
|
12568
12598
|
};
|
|
12569
12599
|
}
|
|
12570
|
-
function
|
|
12600
|
+
function Wh(r) {
|
|
12571
12601
|
const t = r.split(".");
|
|
12572
12602
|
if (t.length == 0)
|
|
12573
12603
|
return function() {
|
|
@@ -12614,7 +12644,7 @@ function Yh(...r) {
|
|
|
12614
12644
|
}
|
|
12615
12645
|
window["concorde-decorator-subscriber"] = window["concorde-decorator-subscriber"] || {};
|
|
12616
12646
|
window["concorde-decorator-subscriber"] = {
|
|
12617
|
-
bind:
|
|
12647
|
+
bind: Wh,
|
|
12618
12648
|
onAssing: Yh
|
|
12619
12649
|
};
|
|
12620
12650
|
window["concorde-directives-data-provider"] = window["concorde-directives-data-provider"] || {};
|