@supersoniks/concorde 3.1.33 → 3.1.35
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 +66 -66
- package/concorde-core.es.js +462 -451
- package/dist/concorde-core.bundle.js +66 -66
- package/dist/concorde-core.es.js +462 -451
- package/package.json +1 -1
- package/src/core/components/functional/queue/queue.ts +34 -2
- package/src/core/mixins/Subscriber.ts +23 -6
package/dist/concorde-core.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
let et = class
|
|
1
|
+
let et = class Dt {
|
|
2
2
|
/**
|
|
3
3
|
* retourne la langue de la page courante telle que défini via l'attribut lang de la balise html
|
|
4
4
|
*/
|
|
@@ -54,11 +54,11 @@ let et = class Ot {
|
|
|
54
54
|
* Utilisée pour la configuration du wording / de la traduction ainsi que par le mixin fetcher par exemple
|
|
55
55
|
*/
|
|
56
56
|
static getApiConfiguration(t) {
|
|
57
|
-
const s =
|
|
57
|
+
const s = Dt.getAncestorAttributeValue(t, "token"), i = Dt.getAncestorAttributeValue(t, "addHTTPResponse") != null, e = Dt.getAncestorAttributeValue(t, "serviceURL");
|
|
58
58
|
let o = null, n = null;
|
|
59
|
-
const a =
|
|
60
|
-
s || (o =
|
|
61
|
-
const h =
|
|
59
|
+
const a = Dt.getAncestorAttributeValue(t, "tokenProvider"), c = Dt.getAncestorAttributeValue(t, "eventsApiToken");
|
|
60
|
+
s || (o = Dt.getAncestorAttributeValue(t, "userName"), n = Dt.getAncestorAttributeValue(t, "password"));
|
|
61
|
+
const h = Dt.getAncestorAttributeValue(
|
|
62
62
|
t,
|
|
63
63
|
"credentials"
|
|
64
64
|
) || void 0, d = t.getAttribute("cache"), f = t.hasAttribute("blockUntilDone");
|
|
@@ -91,7 +91,7 @@ let et = class Ot {
|
|
|
91
91
|
* @returns valeur de l'attribut ou null si l'attribut n'est pas trouvé
|
|
92
92
|
*/
|
|
93
93
|
static getClosestForm(t) {
|
|
94
|
-
return
|
|
94
|
+
return Dt.getClosestElement(t, "form");
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
* Lance le chargement d'un js et retourne une promise qui resoud à true lorsque le chargement à réussi et à false, sinon.
|
|
@@ -153,7 +153,7 @@ let fs = class {
|
|
|
153
153
|
return "";
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
},
|
|
156
|
+
}, Zr = class {
|
|
157
157
|
static async queueTaskPromise() {
|
|
158
158
|
return new Promise((t) => {
|
|
159
159
|
window.queueMicrotask(() => t(null));
|
|
@@ -183,8 +183,8 @@ function Fe(r) {
|
|
|
183
183
|
let Se = "sonic";
|
|
184
184
|
typeof __SONIC_PREFIX__ > "u" && (Se = "sonic" + Math.floor(Math.random() * 1e6));
|
|
185
185
|
const Is = Se == "sonic" ? "publisher-proxies-data" : Se + "-publisher-proxies-data";
|
|
186
|
-
var
|
|
187
|
-
let di = (
|
|
186
|
+
var kt;
|
|
187
|
+
let di = (kt = class {
|
|
188
188
|
constructor(t, s, i) {
|
|
189
189
|
for (this._proxies_ = /* @__PURE__ */ new Map(), this._is_savable_ = !1, this._invalidateListeners_ = /* @__PURE__ */ new Set(), this._formInvalidateListeners_ = /* @__PURE__ */ new Set(), this._assignListeners_ = /* @__PURE__ */ new Set(), this._mutationListeners_ = /* @__PURE__ */ new Set(), this._fillListeners_ = /* @__PURE__ */ new Set(), this._templateFillListeners_ = /* @__PURE__ */ new Set(), this._lockInternalMutationPublishing_ = !1, this._instanceCounter_ = 0, this._assignmentId_ = 0, this._value_ = t, this.parent = s || null, this._parentKey_ = i, this.root = this, this._instanceCounter_ = 0; this.root.parent; )
|
|
190
190
|
this.root = this.root.parent;
|
|
@@ -197,7 +197,7 @@ let di = (Dt = class {
|
|
|
197
197
|
var t;
|
|
198
198
|
for (const s in this._proxies_.keys())
|
|
199
199
|
s != "_parent_" && ((t = this._proxies_.get(s)) == null || t.delete());
|
|
200
|
-
this._invalidateListeners_.clear(), this._formInvalidateListeners_.clear(), this._assignListeners_.clear(), this._mutationListeners_.clear(), this._fillListeners_.clear(), this._templateFillListeners_.clear(), this._proxies_.clear(),
|
|
200
|
+
this._invalidateListeners_.clear(), this._formInvalidateListeners_.clear(), this._assignListeners_.clear(), this._mutationListeners_.clear(), this._fillListeners_.clear(), this._templateFillListeners_.clear(), this._proxies_.clear(), kt.instances.delete(this._instanceCounter_);
|
|
201
201
|
}
|
|
202
202
|
/**
|
|
203
203
|
* Utile pour savoir si quelque chose est en écoute d'une modification sur le proxy via une des methodes associées
|
|
@@ -208,11 +208,11 @@ let di = (Dt = class {
|
|
|
208
208
|
_publishInternalMutation_(t = !1) {
|
|
209
209
|
if (this._mutationListeners_.forEach(
|
|
210
210
|
(s) => s()
|
|
211
|
-
), this._is_savable_ && !
|
|
212
|
-
|
|
213
|
-
const s =
|
|
211
|
+
), this._is_savable_ && !M.changed) {
|
|
212
|
+
M.changed = !0, M.saveId++;
|
|
213
|
+
const s = M.saveId;
|
|
214
214
|
setTimeout(
|
|
215
|
-
() =>
|
|
215
|
+
() => M.getInstance().saveToLocalStorage(s),
|
|
216
216
|
1e3
|
|
217
217
|
);
|
|
218
218
|
}
|
|
@@ -387,7 +387,7 @@ let di = (Dt = class {
|
|
|
387
387
|
get() {
|
|
388
388
|
if (this._cachedGet_ !== void 0)
|
|
389
389
|
return this._cachedGet_;
|
|
390
|
-
if (
|
|
390
|
+
if (M.modifiedCollectore.length > 0 && M.modifiedCollectore[0].add(this), Object.prototype.hasOwnProperty.call(this._value_, "__value")) {
|
|
391
391
|
const t = this._value_.__value;
|
|
392
392
|
return this._cachedGet_ = t ?? null;
|
|
393
393
|
}
|
|
@@ -397,11 +397,11 @@ let di = (Dt = class {
|
|
|
397
397
|
* retourner le webcomponent auquel le proxy est associé
|
|
398
398
|
*/
|
|
399
399
|
get $tag() {
|
|
400
|
-
return this._instanceCounter_ || (
|
|
400
|
+
return this._instanceCounter_ || (kt.instancesCounter++, this._instanceCounter_ = kt.instancesCounter), kt.instances.set(this._instanceCounter_, this), "<" + Se + '-publisher-proxy publisher="' + this._instanceCounter_ + '"></' + Se + "-publisher-proxy>";
|
|
401
401
|
}
|
|
402
|
-
},
|
|
402
|
+
}, kt.instances = /* @__PURE__ */ new Map(), kt.instancesCounter = 0, kt);
|
|
403
403
|
var k;
|
|
404
|
-
let
|
|
404
|
+
let M = (k = class {
|
|
405
405
|
constructor() {
|
|
406
406
|
if (this.enabledLocaStorageProxies = [], this.publishers = /* @__PURE__ */ new Map(), this.localStorageData = {}, this.isLocalStrorageReady = null, this.initialisedData = [], k.instance != null)
|
|
407
407
|
throw "Singleton / use getInstance";
|
|
@@ -563,10 +563,10 @@ let T = (k = class {
|
|
|
563
563
|
const h = await new Response(a.readable).arrayBuffer();
|
|
564
564
|
return new TextDecoder().decode(h);
|
|
565
565
|
}
|
|
566
|
-
}, k.buildDate = "
|
|
566
|
+
}, k.buildDate = "Fri Sep 20 2024 12:54:05 GMT+0200 (Central European Summer Time)", k.changed = !1, k.saving = !1, k.saveId = 0, k.instance = null, k.instances = /* @__PURE__ */ new Map(), k.modifiedCollectore = [], k);
|
|
567
567
|
if (typeof window < "u") {
|
|
568
568
|
const r = window;
|
|
569
|
-
r[gs + "PublisherManager"] = r[gs + "PublisherManager"] ||
|
|
569
|
+
r[gs + "PublisherManager"] = r[gs + "PublisherManager"] || M;
|
|
570
570
|
}
|
|
571
571
|
const Gr = /* @__PURE__ */ new Set([
|
|
572
572
|
"invalidate",
|
|
@@ -827,7 +827,7 @@ let Ds = (E = class {
|
|
|
827
827
|
);
|
|
828
828
|
if (!s)
|
|
829
829
|
return;
|
|
830
|
-
const i =
|
|
830
|
+
const i = M.getInstance().get(s), e = E.getDataBindItems(t), o = [];
|
|
831
831
|
e.forEach((n) => {
|
|
832
832
|
const a = n.bindedVariablesDescriptor, c = n.propertyToUpdate;
|
|
833
833
|
for (const h of a.variables) {
|
|
@@ -1296,7 +1296,7 @@ function l(r) {
|
|
|
1296
1296
|
* Copyright 2017 Google LLC
|
|
1297
1297
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1298
1298
|
*/
|
|
1299
|
-
function
|
|
1299
|
+
function T(r) {
|
|
1300
1300
|
return l({ ...r, state: !0, attribute: !1 });
|
|
1301
1301
|
}
|
|
1302
1302
|
/**
|
|
@@ -1356,9 +1356,9 @@ function ct(r) {
|
|
|
1356
1356
|
* Copyright 2017 Google LLC
|
|
1357
1357
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1358
1358
|
*/
|
|
1359
|
-
const Re = globalThis, bs = Re.trustedTypes, Ri = bs ? bs.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, mi = "$lit$", Ut = `lit$${Math.random().toFixed(9).slice(2)}$`, bi = "?" + Ut, co = `<${bi}>`, ce = document,
|
|
1359
|
+
const Re = globalThis, bs = Re.trustedTypes, Ri = bs ? bs.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, mi = "$lit$", Ut = `lit$${Math.random().toFixed(9).slice(2)}$`, bi = "?" + Ut, co = `<${bi}>`, ce = document, qe = () => ce.createComment(""), He = (r) => r === null || typeof r != "object" && typeof r != "function", vi = Array.isArray, br = (r) => vi(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", zs = `[
|
|
1360
1360
|
\f\r]`, Me = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ui = /-->/g, Vi = />/g, ie = RegExp(`>|${zs}(?:([^\\s"'>=/]+)(${zs}*=${zs}*(?:[^
|
|
1361
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Bi = /'/g,
|
|
1361
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Bi = /'/g, qi = /"/g, vr = /^(?:script|style|textarea|title)$/i, ho = (r) => (t, ...s) => ({ _$litType$: r, strings: t, values: s }), g = ho(1), vt = Symbol.for("lit-noChange"), C = Symbol.for("lit-nothing"), Hi = /* @__PURE__ */ new WeakMap(), ae = ce.createTreeWalker(ce, 129);
|
|
1362
1362
|
function yr(r, t) {
|
|
1363
1363
|
if (!vi(r) || !r.hasOwnProperty("raw"))
|
|
1364
1364
|
throw Error("invalid template strings array");
|
|
@@ -1371,7 +1371,7 @@ const wr = (r, t) => {
|
|
|
1371
1371
|
const c = r[a];
|
|
1372
1372
|
let h, d, f = -1, m = 0;
|
|
1373
1373
|
for (; m < c.length && (n.lastIndex = m, d = n.exec(c), d !== null); )
|
|
1374
|
-
m = n.lastIndex, n === Me ? d[1] === "!--" ? n = Ui : d[1] !== void 0 ? n = Vi : d[2] !== void 0 ? (vr.test(d[2]) && (e = RegExp("</" + d[2], "g")), n = ie) : d[3] !== void 0 && (n = ie) : n === ie ? d[0] === ">" ? (n = e ?? Me, f = -1) : d[1] === void 0 ? f = -2 : (f = n.lastIndex - d[2].length, h = d[1], n = d[3] === void 0 ? ie : d[3] === '"' ?
|
|
1374
|
+
m = n.lastIndex, n === Me ? d[1] === "!--" ? n = Ui : d[1] !== void 0 ? n = Vi : d[2] !== void 0 ? (vr.test(d[2]) && (e = RegExp("</" + d[2], "g")), n = ie) : d[3] !== void 0 && (n = ie) : n === ie ? d[0] === ">" ? (n = e ?? Me, f = -1) : d[1] === void 0 ? f = -2 : (f = n.lastIndex - d[2].length, h = d[1], n = d[3] === void 0 ? ie : d[3] === '"' ? qi : Bi) : n === qi || n === Bi ? n = ie : n === Ui || n === Vi ? n = Me : (n = ie, e = void 0);
|
|
1375
1375
|
const b = n === ie && r[a + 1].startsWith("/>") ? " " : "";
|
|
1376
1376
|
o += n === Me ? c + co : f >= 0 ? (i.push(h), c.slice(0, f) + mi + c.slice(f) + Ut + b) : c + Ut + (f === -2 ? a : b);
|
|
1377
1377
|
}
|
|
@@ -1401,8 +1401,8 @@ class We {
|
|
|
1401
1401
|
if (m > 0) {
|
|
1402
1402
|
e.textContent = bs ? bs.emptyScript : "";
|
|
1403
1403
|
for (let b = 0; b < m; b++)
|
|
1404
|
-
e.append(f[b],
|
|
1405
|
-
e.append(f[m],
|
|
1404
|
+
e.append(f[b], qe()), ae.nextNode(), c.push({ type: 2, index: ++o });
|
|
1405
|
+
e.append(f[m], qe());
|
|
1406
1406
|
}
|
|
1407
1407
|
}
|
|
1408
1408
|
} else if (e.nodeType === 8)
|
|
@@ -1426,7 +1426,7 @@ function he(r, t, s = r, i) {
|
|
|
1426
1426
|
if (t === vt)
|
|
1427
1427
|
return t;
|
|
1428
1428
|
let e = i !== void 0 ? (n = s.o) == null ? void 0 : n[i] : s.l;
|
|
1429
|
-
const o =
|
|
1429
|
+
const o = He(t) ? void 0 : t._$litDirective$;
|
|
1430
1430
|
return (e == null ? void 0 : e.constructor) !== o && ((a = e == null ? void 0 : e._$AO) == null || a.call(e, !1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, s, i)), i !== void 0 ? (s.o ?? (s.o = []))[i] = e : s.l = e), e !== void 0 && (t = he(r, e._$AS(r, t.values), e, i)), t;
|
|
1431
1431
|
}
|
|
1432
1432
|
let _r = class {
|
|
@@ -1477,7 +1477,7 @@ let _r = class {
|
|
|
1477
1477
|
return this._$AB;
|
|
1478
1478
|
}
|
|
1479
1479
|
_$AI(t, s = this) {
|
|
1480
|
-
t = he(this, t, s),
|
|
1480
|
+
t = he(this, t, s), He(t) ? t === C || t == null || t === "" ? (this._$AH !== C && this._$AR(), this._$AH = C) : t !== this._$AH && t !== vt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : br(t) ? this.k(t) : this._(t);
|
|
1481
1481
|
}
|
|
1482
1482
|
O(t) {
|
|
1483
1483
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1486,7 +1486,7 @@ let _r = class {
|
|
|
1486
1486
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
1487
1487
|
}
|
|
1488
1488
|
_(t) {
|
|
1489
|
-
this._$AH !== C &&
|
|
1489
|
+
this._$AH !== C && He(this._$AH) ? this._$AA.nextSibling.data = t : this.T(ce.createTextNode(t)), this._$AH = t;
|
|
1490
1490
|
}
|
|
1491
1491
|
$(t) {
|
|
1492
1492
|
var o;
|
|
@@ -1499,15 +1499,15 @@ let _r = class {
|
|
|
1499
1499
|
}
|
|
1500
1500
|
}
|
|
1501
1501
|
_$AC(t) {
|
|
1502
|
-
let s =
|
|
1503
|
-
return s === void 0 &&
|
|
1502
|
+
let s = Hi.get(t.strings);
|
|
1503
|
+
return s === void 0 && Hi.set(t.strings, s = new We(t)), s;
|
|
1504
1504
|
}
|
|
1505
1505
|
k(t) {
|
|
1506
1506
|
vi(this._$AH) || (this._$AH = [], this._$AR());
|
|
1507
1507
|
const s = this._$AH;
|
|
1508
1508
|
let i, e = 0;
|
|
1509
1509
|
for (const o of t)
|
|
1510
|
-
e === s.length ? s.push(i = new xr(this.O(
|
|
1510
|
+
e === s.length ? s.push(i = new xr(this.O(qe()), this.O(qe()), this, this.options)) : i = s[e], i._$AI(o), e++;
|
|
1511
1511
|
e < s.length && (this._$AR(i && i._$AB.nextSibling, e), s.length = e);
|
|
1512
1512
|
}
|
|
1513
1513
|
_$AR(t = this._$AA.nextSibling, s) {
|
|
@@ -1536,12 +1536,12 @@ class Qe {
|
|
|
1536
1536
|
const o = this.strings;
|
|
1537
1537
|
let n = !1;
|
|
1538
1538
|
if (o === void 0)
|
|
1539
|
-
t = he(this, t, s, 0), n = !
|
|
1539
|
+
t = he(this, t, s, 0), n = !He(t) || t !== this._$AH && t !== vt, n && (this._$AH = t);
|
|
1540
1540
|
else {
|
|
1541
1541
|
const a = t;
|
|
1542
1542
|
let c, h;
|
|
1543
1543
|
for (t = o[0], c = 0; c < o.length - 1; c++)
|
|
1544
|
-
h = he(this, a[i + c], s, c), h === vt && (h = this._$AH[c]), n || (n = !
|
|
1544
|
+
h = he(this, a[i + c], s, c), h === vt && (h = this._$AH[c]), n || (n = !He(h) || h !== this._$AH[c]), h === C ? t = C : t !== C && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
|
|
1545
1545
|
}
|
|
1546
1546
|
n && !e && this.j(t);
|
|
1547
1547
|
}
|
|
@@ -1598,7 +1598,7 @@ const uo = (r, t, s) => {
|
|
|
1598
1598
|
let e = i._$litPart$;
|
|
1599
1599
|
if (e === void 0) {
|
|
1600
1600
|
const o = (s == null ? void 0 : s.renderBefore) ?? null;
|
|
1601
|
-
i._$litPart$ = e = new ks(t.insertBefore(
|
|
1601
|
+
i._$litPart$ = e = new ks(t.insertBefore(qe(), o), o, void 0, s ?? {});
|
|
1602
1602
|
}
|
|
1603
1603
|
return e._$AI(r), e;
|
|
1604
1604
|
};
|
|
@@ -1770,11 +1770,11 @@ Vs == null || Vs({ LitElement: w });
|
|
|
1770
1770
|
function Ls(r) {
|
|
1771
1771
|
if (typeof r == "function") {
|
|
1772
1772
|
const t = r;
|
|
1773
|
-
return
|
|
1773
|
+
return M.collectModifiedPublisher(), t(), M.getModifiedPublishers() || /* @__PURE__ */ new Set();
|
|
1774
1774
|
}
|
|
1775
1775
|
if (typeof r == "string") {
|
|
1776
1776
|
const t = r.split("."), s = t.shift() || "";
|
|
1777
|
-
let i =
|
|
1777
|
+
let i = M.get(s);
|
|
1778
1778
|
i = X.traverse(i, t);
|
|
1779
1779
|
const e = /* @__PURE__ */ new Set();
|
|
1780
1780
|
return e.add(i), e;
|
|
@@ -1915,7 +1915,7 @@ const Or = we(xo), Po = Or, $o = Or, Co = (r) => Ls(r).values().next().value.get
|
|
|
1915
1915
|
*/
|
|
1916
1916
|
async localGet(t, s) {
|
|
1917
1917
|
var f;
|
|
1918
|
-
const i =
|
|
1918
|
+
const i = M.get(t), e = new URLSearchParams(s.split("?")[1] || ""), o = i.get();
|
|
1919
1919
|
let n = [];
|
|
1920
1920
|
Array.isArray(o) ? n = o : n = [o];
|
|
1921
1921
|
const a = [];
|
|
@@ -2104,7 +2104,7 @@ class Ks extends De {
|
|
|
2104
2104
|
}
|
|
2105
2105
|
}
|
|
2106
2106
|
Ks.directiveName = "unsafeHTML", Ks.resultType = 1;
|
|
2107
|
-
const z = we(Ks),
|
|
2107
|
+
const z = we(Ks), Ys = /* @__PURE__ */ new Map(), Ki = (r) => {
|
|
2108
2108
|
if (!r)
|
|
2109
2109
|
return null;
|
|
2110
2110
|
const t = et.getApiConfiguration(r), s = et.getAncestorAttributeValue(
|
|
@@ -2119,7 +2119,7 @@ const z = we(Ks), Zs = /* @__PURE__ */ new Map(), Ki = (r) => {
|
|
|
2119
2119
|
wordingVersionProvider: i
|
|
2120
2120
|
};
|
|
2121
2121
|
let o = null;
|
|
2122
|
-
for (const [n, a] of
|
|
2122
|
+
for (const [n, a] of Ys)
|
|
2123
2123
|
if (X.deepEqual(n, e)) {
|
|
2124
2124
|
o = a;
|
|
2125
2125
|
break;
|
|
@@ -2132,8 +2132,8 @@ const z = we(Ks), Zs = /* @__PURE__ */ new Map(), Ki = (r) => {
|
|
|
2132
2132
|
callIndex: 0,
|
|
2133
2133
|
wordingVersionProvider: i,
|
|
2134
2134
|
apiCallKey: e
|
|
2135
|
-
},
|
|
2136
|
-
},
|
|
2135
|
+
}, Ys.set(e, o)), o;
|
|
2136
|
+
}, Yi = "", V = class V extends yi {
|
|
2137
2137
|
/* eslint-disable @typescript-eslint/no-explicit-any*/
|
|
2138
2138
|
constructor(t) {
|
|
2139
2139
|
super(t), this.useUnsafeHTML = !1, this.onAssign = (s) => {
|
|
@@ -2149,11 +2149,11 @@ const z = we(Ks), Zs = /* @__PURE__ */ new Map(), Ki = (r) => {
|
|
|
2149
2149
|
return this.useUnsafeHTML = s, this.key !== t && (this.key = t, this.isConnected && this.subscribe(t)), vt;
|
|
2150
2150
|
}
|
|
2151
2151
|
static async callApi(t, s, i = !0, e) {
|
|
2152
|
-
if (await
|
|
2152
|
+
if (await M.getInstance().isLocalStrorageReady, V.firstCall) {
|
|
2153
2153
|
V.firstCall = !1, hi(V.reloadWordings);
|
|
2154
2154
|
const d = Object.keys(V.publisher.get());
|
|
2155
2155
|
for (const f of d)
|
|
2156
|
-
V.publisher.get()[f] ===
|
|
2156
|
+
V.publisher.get()[f] === Yi && delete V.publisher[f];
|
|
2157
2157
|
}
|
|
2158
2158
|
if (t) {
|
|
2159
2159
|
const d = et.getAncestorAttributeValue(
|
|
@@ -2182,7 +2182,7 @@ const z = we(Ks), Zs = /* @__PURE__ */ new Map(), Ki = (r) => {
|
|
|
2182
2182
|
}
|
|
2183
2183
|
const h = n.api;
|
|
2184
2184
|
window.queueMicrotask(async () => {
|
|
2185
|
-
if (o = V.publisher["wording_" + s].get() != null, !o && s !== "" && (n.keysToTranslate.add(s), V.publisher["wording_" + s] =
|
|
2185
|
+
if (o = V.publisher["wording_" + s].get() != null, !o && s !== "" && (n.keysToTranslate.add(s), V.publisher["wording_" + s] = Yi), a !== n.callIndex)
|
|
2186
2186
|
return;
|
|
2187
2187
|
const d = Array.from(n.keysToTranslate);
|
|
2188
2188
|
if (!d.length)
|
|
@@ -2198,7 +2198,7 @@ const z = we(Ks), Zs = /* @__PURE__ */ new Map(), Ki = (r) => {
|
|
|
2198
2198
|
});
|
|
2199
2199
|
}
|
|
2200
2200
|
static reloadWordings() {
|
|
2201
|
-
for (const t of
|
|
2201
|
+
for (const t of Ys.values())
|
|
2202
2202
|
t.keysToTranslate = new Set(t.translatedKeys), t.keysToTranslate.size > 0 && V.callApi(null, "", !1, t);
|
|
2203
2203
|
}
|
|
2204
2204
|
//check if the wording version has changed
|
|
@@ -2243,21 +2243,21 @@ const z = we(Ks), Zs = /* @__PURE__ */ new Map(), Ki = (r) => {
|
|
|
2243
2243
|
this.key && this.subscribe(this.key);
|
|
2244
2244
|
}
|
|
2245
2245
|
};
|
|
2246
|
-
V.publisher =
|
|
2246
|
+
V.publisher = M.get("sonic-wording", {
|
|
2247
2247
|
localStorageMode: "enabled"
|
|
2248
2248
|
}), V.firstCall = !0, V.versionProviderHandlers = /* @__PURE__ */ new Map();
|
|
2249
2249
|
let Ve = V;
|
|
2250
|
-
var Oo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor,
|
|
2250
|
+
var Oo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, St = (r, t, s, i) => {
|
|
2251
2251
|
for (var e = i > 1 ? void 0 : i ? Do(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
2252
2252
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
2253
2253
|
return i && e && Oo(t, s, e), e;
|
|
2254
2254
|
};
|
|
2255
2255
|
let cs = !1, Bs = /* @__PURE__ */ new Set();
|
|
2256
|
-
const
|
|
2256
|
+
const Y = (r, t) => {
|
|
2257
2257
|
var e;
|
|
2258
2258
|
const s = (e = class extends r {
|
|
2259
2259
|
constructor(...n) {
|
|
2260
|
-
super(), this.collectDependenciesVersion = 0, this.displayContents = !1, this.noAutoFill = !1, this.forceAutoFill = !1, this.renderOnPropsInternalChange = !1, this.noShadowDom = null, this.propertyMap = null, this.title = "", this.dataProvider = null, this.bindPublisher = null, this._props = null, this.defferedDebug = null, this.debug = null, this.onAssign = (a) => {
|
|
2260
|
+
super(), this.collectDependenciesVersion = 0, this.displayContents = !1, this.noAutoFill = !1, this.forceAutoFill = !1, this.renderOnPropsInternalChange = !1, this.noShadowDom = null, this.propertyMap = null, this.title = "", this.dataProvider = null, this.bindPublisher = null, this._props = null, this.shouldRenderLazy = !0, this.defferedDebug = null, this.debug = null, this.onAssign = (a) => {
|
|
2261
2261
|
this.props = a;
|
|
2262
2262
|
};
|
|
2263
2263
|
}
|
|
@@ -2301,14 +2301,14 @@ const Z = (r, t) => {
|
|
|
2301
2301
|
const c = new IntersectionObserver((h) => {
|
|
2302
2302
|
for (const d of h)
|
|
2303
2303
|
if (a && d.isIntersecting) {
|
|
2304
|
-
|
|
2304
|
+
a = !1, c.disconnect(), this.initWording(), this.shouldRenderLazy = !1, this.startPublisher();
|
|
2305
2305
|
break;
|
|
2306
2306
|
}
|
|
2307
2307
|
}, n);
|
|
2308
2308
|
c.observe(this);
|
|
2309
2309
|
} else
|
|
2310
|
-
this.initWording(), this.
|
|
2311
|
-
super.connectedCallback();
|
|
2310
|
+
this.initWording(), this.shouldRenderLazy = !1;
|
|
2311
|
+
this.initPublisher(), this.addDebugger(), super.connectedCallback();
|
|
2312
2312
|
}
|
|
2313
2313
|
disconnectedCallback() {
|
|
2314
2314
|
var n;
|
|
@@ -2383,7 +2383,7 @@ const Z = (r, t) => {
|
|
|
2383
2383
|
if (!document)
|
|
2384
2384
|
return;
|
|
2385
2385
|
this.publisher && (this.publisher.stopTemplateFilling(this), this.publisher.offInternalMutation(this.requestUpdate), this.onAssign && this.publisher.offAssign(this.onAssign));
|
|
2386
|
-
const n =
|
|
2386
|
+
const n = M.getInstance();
|
|
2387
2387
|
this.dataProvider || (this.dataProvider = this.getAncestorAttributeValue("dataProvider"));
|
|
2388
2388
|
let a = this.dataProvider;
|
|
2389
2389
|
if (!a && this._props && (this.dataProvider = a = "__subscriber__" + e.instanceCounter), a) {
|
|
@@ -2399,28 +2399,33 @@ const Z = (r, t) => {
|
|
|
2399
2399
|
}
|
|
2400
2400
|
this.publisher = c;
|
|
2401
2401
|
}
|
|
2402
|
+
this.hasAttribute("lazyRendering") || this.startPublisher();
|
|
2403
|
+
}
|
|
2404
|
+
startPublisher() {
|
|
2402
2405
|
this.publisher && (this._props && this.publisher.set(this._props), this.noAutoFill || this.publisher.startTemplateFilling(this), this.renderOnPropsInternalChange && this.publisher.onInternalMutation(this.requestUpdate), this.publisher.onAssign(this.onAssign));
|
|
2403
2406
|
}
|
|
2404
2407
|
}, e.instanceCounter = 0, e);
|
|
2405
|
-
return
|
|
2408
|
+
return St([
|
|
2406
2409
|
l({ type: Number })
|
|
2407
|
-
], s.prototype, "collectDependenciesVersion", 2),
|
|
2410
|
+
], s.prototype, "collectDependenciesVersion", 2), St([
|
|
2408
2411
|
l({ type: Boolean })
|
|
2409
|
-
], s.prototype, "displayContents", 2),
|
|
2412
|
+
], s.prototype, "displayContents", 2), St([
|
|
2410
2413
|
l({ type: Boolean })
|
|
2411
|
-
], s.prototype, "noAutoFill", 2),
|
|
2414
|
+
], s.prototype, "noAutoFill", 2), St([
|
|
2412
2415
|
l({ type: Boolean })
|
|
2413
|
-
], s.prototype, "forceAutoFill", 2),
|
|
2416
|
+
], s.prototype, "forceAutoFill", 2), St([
|
|
2414
2417
|
l({ type: Object })
|
|
2415
|
-
], s.prototype, "propertyMap", 2),
|
|
2418
|
+
], s.prototype, "propertyMap", 2), St([
|
|
2416
2419
|
l({ type: String, attribute: "data-title" })
|
|
2417
|
-
], s.prototype, "title", 2),
|
|
2420
|
+
], s.prototype, "title", 2), St([
|
|
2418
2421
|
l({ reflect: !0 })
|
|
2419
|
-
], s.prototype, "dataProvider", 2),
|
|
2422
|
+
], s.prototype, "dataProvider", 2), St([
|
|
2420
2423
|
l()
|
|
2421
|
-
], s.prototype, "bindPublisher", 2),
|
|
2424
|
+
], s.prototype, "bindPublisher", 2), St([
|
|
2422
2425
|
l()
|
|
2423
|
-
], s.prototype, "props", 1),
|
|
2426
|
+
], s.prototype, "props", 1), St([
|
|
2427
|
+
T()
|
|
2428
|
+
], s.prototype, "shouldRenderLazy", 2), s;
|
|
2424
2429
|
};
|
|
2425
2430
|
var ko = Object.defineProperty, Lo = (r, t, s, i) => {
|
|
2426
2431
|
for (var e = void 0, o = r.length - 1, n; o >= 0; o--)
|
|
@@ -2443,14 +2448,14 @@ const Xe = (r) => {
|
|
|
2443
2448
|
l({ type: Array })
|
|
2444
2449
|
], t.prototype, "templates"), t;
|
|
2445
2450
|
};
|
|
2446
|
-
var Eo = Object.defineProperty, No = Object.getOwnPropertyDescriptor,
|
|
2451
|
+
var Eo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, Z = (r, t, s, i) => {
|
|
2447
2452
|
for (var e = i > 1 ? void 0 : i ? No(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
2448
2453
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
2449
2454
|
return i && e && Eo(t, s, e), e;
|
|
2450
2455
|
};
|
|
2451
2456
|
const To = "sonic-date";
|
|
2452
2457
|
hi(() => R.updateComponentsLanguage());
|
|
2453
|
-
let R = class extends
|
|
2458
|
+
let R = class extends Y(Xe(w)) {
|
|
2454
2459
|
constructor() {
|
|
2455
2460
|
super(...arguments), this.pageLanguage = "fr", this.duAu = [], this._wording_billet_periode_validite = "", this.designMode = null, this.time_zone = null, this.date = null, this.date_string = null, this.start_date_string = null, this.end_date_string = null, this.start_date = 0, this.hide_hours = !1, this.end_date = 0, this.era = "", this.year = "numeric", this.month = "short", this.day = "2-digit", this.weekday = "short", this.hour = "2-digit", this.hour12 = !1, this.minute = "2-digit", this.language = "", this.renderIf = !0, this.now = !1, this.startDateObject = /* @__PURE__ */ new Date(), this.endDateObject = /* @__PURE__ */ new Date();
|
|
2456
2461
|
}
|
|
@@ -2533,70 +2538,70 @@ let R = class extends Z(Xe(w)) {
|
|
|
2533
2538
|
}
|
|
2534
2539
|
};
|
|
2535
2540
|
R.dateCompnents = /* @__PURE__ */ new Set();
|
|
2536
|
-
|
|
2541
|
+
Z([
|
|
2537
2542
|
l()
|
|
2538
2543
|
], R.prototype, "wording_billet_periode_validite", 1);
|
|
2539
|
-
|
|
2544
|
+
Z([
|
|
2540
2545
|
l({ type: Boolean })
|
|
2541
2546
|
], R.prototype, "designMode", 2);
|
|
2542
|
-
|
|
2547
|
+
Z([
|
|
2543
2548
|
l({ type: String })
|
|
2544
2549
|
], R.prototype, "time_zone", 2);
|
|
2545
|
-
|
|
2550
|
+
Z([
|
|
2546
2551
|
l({ type: Number })
|
|
2547
2552
|
], R.prototype, "date", 2);
|
|
2548
|
-
|
|
2553
|
+
Z([
|
|
2549
2554
|
l({ type: String })
|
|
2550
2555
|
], R.prototype, "date_string", 2);
|
|
2551
|
-
|
|
2556
|
+
Z([
|
|
2552
2557
|
l({ type: String })
|
|
2553
2558
|
], R.prototype, "start_date_string", 2);
|
|
2554
|
-
|
|
2559
|
+
Z([
|
|
2555
2560
|
l({ type: String })
|
|
2556
2561
|
], R.prototype, "end_date_string", 2);
|
|
2557
|
-
|
|
2562
|
+
Z([
|
|
2558
2563
|
l({ type: Number })
|
|
2559
2564
|
], R.prototype, "start_date", 2);
|
|
2560
|
-
|
|
2565
|
+
Z([
|
|
2561
2566
|
l({ type: Boolean })
|
|
2562
2567
|
], R.prototype, "hide_hours", 2);
|
|
2563
|
-
|
|
2568
|
+
Z([
|
|
2564
2569
|
l({ type: Number })
|
|
2565
2570
|
], R.prototype, "end_date", 2);
|
|
2566
|
-
|
|
2571
|
+
Z([
|
|
2567
2572
|
l({ type: String })
|
|
2568
2573
|
], R.prototype, "era", 2);
|
|
2569
|
-
|
|
2574
|
+
Z([
|
|
2570
2575
|
l({ type: String })
|
|
2571
2576
|
], R.prototype, "year", 2);
|
|
2572
|
-
|
|
2577
|
+
Z([
|
|
2573
2578
|
l({ type: String })
|
|
2574
2579
|
], R.prototype, "month", 2);
|
|
2575
|
-
|
|
2580
|
+
Z([
|
|
2576
2581
|
l({ type: String })
|
|
2577
2582
|
], R.prototype, "day", 2);
|
|
2578
|
-
|
|
2583
|
+
Z([
|
|
2579
2584
|
l({ type: String })
|
|
2580
2585
|
], R.prototype, "weekday", 2);
|
|
2581
|
-
|
|
2586
|
+
Z([
|
|
2582
2587
|
l({ type: String })
|
|
2583
2588
|
], R.prototype, "hour", 2);
|
|
2584
|
-
|
|
2589
|
+
Z([
|
|
2585
2590
|
l({ type: Boolean })
|
|
2586
2591
|
], R.prototype, "hour12", 2);
|
|
2587
|
-
|
|
2592
|
+
Z([
|
|
2588
2593
|
l({ type: String })
|
|
2589
2594
|
], R.prototype, "minute", 2);
|
|
2590
|
-
|
|
2595
|
+
Z([
|
|
2591
2596
|
l({ type: String })
|
|
2592
2597
|
], R.prototype, "language", 2);
|
|
2593
|
-
|
|
2598
|
+
Z([
|
|
2594
2599
|
l({ type: Boolean })
|
|
2595
2600
|
], R.prototype, "renderIf", 2);
|
|
2596
|
-
|
|
2601
|
+
Z([
|
|
2597
2602
|
l({ type: Boolean })
|
|
2598
2603
|
], R.prototype, "now", 2);
|
|
2599
|
-
R =
|
|
2604
|
+
R = Z([
|
|
2600
2605
|
_(To)
|
|
2601
2606
|
], R);
|
|
2602
2607
|
var t, G;
|
|
@@ -2713,7 +2718,7 @@ const Lr = "important", Mo = " !" + Lr, ut = we(class extends De {
|
|
|
2713
2718
|
return vt;
|
|
2714
2719
|
}
|
|
2715
2720
|
});
|
|
2716
|
-
var jo = Object.defineProperty, Io = Object.getOwnPropertyDescriptor,
|
|
2721
|
+
var jo = Object.defineProperty, Io = Object.getOwnPropertyDescriptor, Ot = (r, t, s, i) => {
|
|
2717
2722
|
for (var e = i > 1 ? void 0 : i ? Io(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
2718
2723
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
2719
2724
|
return i && e && jo(t, s, e), e;
|
|
@@ -2742,7 +2747,7 @@ const hs = /* @__PURE__ */ new Map(), ke = (r) => {
|
|
|
2742
2747
|
this.getAttribute("name") && this.getFormPublisher() && (this.setFormPublisherValue(this.getValueForFormPublisher()), this.setFormValueFromPublisher(this.getFormPublisherValue()));
|
|
2743
2748
|
}
|
|
2744
2749
|
getFormPublisher() {
|
|
2745
|
-
return this.formDataProvider || (this.formDataProvider = this.getAncestorAttributeValue("formDataProvider")), this.formDataProvider ?
|
|
2750
|
+
return this.formDataProvider || (this.formDataProvider = this.getAncestorAttributeValue("formDataProvider")), this.formDataProvider ? M.get(this.formDataProvider) : null;
|
|
2746
2751
|
}
|
|
2747
2752
|
setFormPublisherValue(i) {
|
|
2748
2753
|
const e = this.getFormPublisher();
|
|
@@ -2869,25 +2874,25 @@ const hs = /* @__PURE__ */ new Map(), ke = (r) => {
|
|
|
2869
2874
|
), i.offFormInvalidate(this.onFormDataInValidate));
|
|
2870
2875
|
}
|
|
2871
2876
|
}
|
|
2872
|
-
return
|
|
2877
|
+
return Ot([
|
|
2873
2878
|
l({ type: Boolean, reflect: !0 })
|
|
2874
|
-
], t.prototype, "touched", 2),
|
|
2879
|
+
], t.prototype, "touched", 2), Ot([
|
|
2875
2880
|
l({ type: Boolean })
|
|
2876
|
-
], t.prototype, "error", 2),
|
|
2881
|
+
], t.prototype, "error", 2), Ot([
|
|
2877
2882
|
l({ type: Boolean })
|
|
2878
|
-
], t.prototype, "autofocus", 2),
|
|
2883
|
+
], t.prototype, "autofocus", 2), Ot([
|
|
2879
2884
|
l({ type: Boolean })
|
|
2880
|
-
], t.prototype, "required", 2),
|
|
2885
|
+
], t.prototype, "required", 2), Ot([
|
|
2881
2886
|
l({ type: Boolean })
|
|
2882
|
-
], t.prototype, "forceAutoFill", 2),
|
|
2887
|
+
], t.prototype, "forceAutoFill", 2), Ot([
|
|
2883
2888
|
l({ type: Boolean })
|
|
2884
|
-
], t.prototype, "disabled", 2),
|
|
2889
|
+
], t.prototype, "disabled", 2), Ot([
|
|
2885
2890
|
l({ type: String, attribute: "data-aria-label" })
|
|
2886
|
-
], t.prototype, "ariaLabel", 2),
|
|
2891
|
+
], t.prototype, "ariaLabel", 2), Ot([
|
|
2887
2892
|
l({ type: String, attribute: "data-aria-labelledby" })
|
|
2888
|
-
], t.prototype, "ariaLabelledby", 2),
|
|
2893
|
+
], t.prototype, "ariaLabelledby", 2), Ot([
|
|
2889
2894
|
l()
|
|
2890
|
-
], t.prototype, "name", 1),
|
|
2895
|
+
], t.prototype, "name", 1), Ot([
|
|
2891
2896
|
l()
|
|
2892
2897
|
], t.prototype, "value", 1), t;
|
|
2893
2898
|
};
|
|
@@ -3006,7 +3011,7 @@ var zo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
3006
3011
|
function Ro(r) {
|
|
3007
3012
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
3008
3013
|
}
|
|
3009
|
-
var
|
|
3014
|
+
var Zs = { exports: {} };
|
|
3010
3015
|
(function(r, t) {
|
|
3011
3016
|
var s = [].slice;
|
|
3012
3017
|
(function(i, e) {
|
|
@@ -3242,22 +3247,22 @@ var Ys = { exports: {} };
|
|
|
3242
3247
|
return D(this.ast, p, {});
|
|
3243
3248
|
}, e.escapeForRegex = f, e.concatMap = h, e.stringConcatMap = S, e.regexGroupCount = P, e.keysAndValuesToObject = b, e.P = i, e.newParser = v, e.defaultOptions = d, e.astNodeToRegexString = a, e.astNodeToNames = n, e.getParam = m, e.astNodeContainsSegmentsForProvidedParams = o, e.stringify = D, e;
|
|
3244
3249
|
});
|
|
3245
|
-
})(
|
|
3246
|
-
var Uo =
|
|
3247
|
-
const le = /* @__PURE__ */ Ro(Uo), Vo =
|
|
3250
|
+
})(Zs, Zs.exports);
|
|
3251
|
+
var Uo = Zs.exports;
|
|
3252
|
+
const le = /* @__PURE__ */ Ro(Uo), Vo = Zr, Bo = Fo, qo = Ds, Ho = fs, de = et, Wo = rt, Je = X, Ko = Be, tt = M, Yo = Oe, Zo = le;
|
|
3248
3253
|
window["concorde-utils"] = window["concorde-utils"] || {};
|
|
3249
3254
|
window["concorde-utils"] = {
|
|
3250
3255
|
Utils: Vo,
|
|
3251
3256
|
Arrays: Bo,
|
|
3252
|
-
DataBindObserver:
|
|
3253
|
-
Format:
|
|
3257
|
+
DataBindObserver: qo,
|
|
3258
|
+
Format: Ho,
|
|
3254
3259
|
HTML: de,
|
|
3255
3260
|
LocationHandler: Wo,
|
|
3256
3261
|
Objects: Je,
|
|
3257
3262
|
PublisherProxy: Ko,
|
|
3258
3263
|
PublisherManager: tt,
|
|
3259
|
-
api:
|
|
3260
|
-
URLPattern:
|
|
3264
|
+
api: Yo,
|
|
3265
|
+
URLPattern: Zo
|
|
3261
3266
|
};
|
|
3262
3267
|
var Go = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, Ce = (r, t, s, i) => {
|
|
3263
3268
|
for (var e = i > 1 ? void 0 : i ? Qo(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
@@ -3412,7 +3417,7 @@ const wi = (r) => {
|
|
|
3412
3417
|
* Copyright 2018 Google LLC
|
|
3413
3418
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3414
3419
|
*/
|
|
3415
|
-
const x = (r) => r ?? C,
|
|
3420
|
+
const x = (r) => r ?? C, Tt = $`
|
|
3416
3421
|
/*SIZES*/
|
|
3417
3422
|
:host {
|
|
3418
3423
|
--sc-fs: 1rem;
|
|
@@ -3446,13 +3451,13 @@ const x = (r) => r ?? C, Nt = $`
|
|
|
3446
3451
|
--sc-fs: 1em;
|
|
3447
3452
|
}
|
|
3448
3453
|
`;
|
|
3449
|
-
var Xo = Object.defineProperty, Jo = Object.getOwnPropertyDescriptor,
|
|
3454
|
+
var Xo = Object.defineProperty, Jo = Object.getOwnPropertyDescriptor, q = (r, t, s, i) => {
|
|
3450
3455
|
for (var e = i > 1 ? void 0 : i ? Jo(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
3451
3456
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
3452
3457
|
return i && e && Xo(t, s, e), e;
|
|
3453
3458
|
};
|
|
3454
3459
|
const tn = "sonic-button";
|
|
3455
|
-
let
|
|
3460
|
+
let j = class extends wi(ke(Y(w))) {
|
|
3456
3461
|
constructor() {
|
|
3457
3462
|
super(...arguments), this.type = "default", this.variant = "default", this.shape = "default", this.direction = "row", this.alignItems = "center", this.justify = "center", this.minWidth = "0", this.icon = !1, this.download = null, this.autoActive = "partial", this.loading = !1, this.hasPrefix = !1, this.hasSuffix = !1, this._href = "", this.goBack = null, this.pushState = !1, this.active = !1, this.autoRepeat = !1, this.pointerDownTime = 0, this.lastRepeatTime = 0, this.isRepeating = !1, this.handleRepeatend = () => {
|
|
3458
3463
|
window.removeEventListener("pointerup", this.handleRepeatend), window.removeEventListener("blur", this.handleRepeatend), this.autoRepeat && (this.isRepeating = !1);
|
|
@@ -3551,8 +3556,8 @@ let M = class extends wi(ke(Z(w))) {
|
|
|
3551
3556
|
this.hasPrefix = !!((r = this.prefixes) != null && r.length), this.hasSuffix = !!((t = this.suffixes) != null && t.length);
|
|
3552
3557
|
}
|
|
3553
3558
|
};
|
|
3554
|
-
|
|
3555
|
-
|
|
3559
|
+
j.styles = [
|
|
3560
|
+
Tt,
|
|
3556
3561
|
$`
|
|
3557
3562
|
* {
|
|
3558
3563
|
box-sizing: border-box;
|
|
@@ -3905,93 +3910,93 @@ M.styles = [
|
|
|
3905
3910
|
}
|
|
3906
3911
|
`
|
|
3907
3912
|
];
|
|
3908
|
-
|
|
3913
|
+
q([
|
|
3909
3914
|
l({ type: String, reflect: !0 })
|
|
3910
|
-
],
|
|
3911
|
-
|
|
3915
|
+
], j.prototype, "type", 2);
|
|
3916
|
+
q([
|
|
3912
3917
|
l({ type: String, reflect: !0 })
|
|
3913
|
-
],
|
|
3914
|
-
|
|
3918
|
+
], j.prototype, "variant", 2);
|
|
3919
|
+
q([
|
|
3915
3920
|
l({ type: String, reflect: !0 })
|
|
3916
|
-
],
|
|
3917
|
-
|
|
3921
|
+
], j.prototype, "size", 2);
|
|
3922
|
+
q([
|
|
3918
3923
|
l({ type: String, reflect: !0 })
|
|
3919
|
-
],
|
|
3920
|
-
|
|
3924
|
+
], j.prototype, "shape", 2);
|
|
3925
|
+
q([
|
|
3921
3926
|
l({ type: String })
|
|
3922
|
-
],
|
|
3923
|
-
|
|
3927
|
+
], j.prototype, "direction", 2);
|
|
3928
|
+
q([
|
|
3924
3929
|
l({ type: String, reflect: !0 })
|
|
3925
|
-
],
|
|
3926
|
-
|
|
3930
|
+
], j.prototype, "alignItems", 2);
|
|
3931
|
+
q([
|
|
3927
3932
|
l({ type: String })
|
|
3928
|
-
],
|
|
3929
|
-
|
|
3933
|
+
], j.prototype, "justify", 2);
|
|
3934
|
+
q([
|
|
3930
3935
|
l({ type: String, reflect: !0 })
|
|
3931
|
-
],
|
|
3932
|
-
|
|
3936
|
+
], j.prototype, "align", 2);
|
|
3937
|
+
q([
|
|
3933
3938
|
l({ type: String })
|
|
3934
|
-
],
|
|
3935
|
-
|
|
3939
|
+
], j.prototype, "minWidth", 2);
|
|
3940
|
+
q([
|
|
3936
3941
|
l({ type: Boolean, reflect: !0 })
|
|
3937
|
-
],
|
|
3938
|
-
|
|
3942
|
+
], j.prototype, "icon", 2);
|
|
3943
|
+
q([
|
|
3939
3944
|
l({ type: String })
|
|
3940
|
-
],
|
|
3941
|
-
|
|
3945
|
+
], j.prototype, "download", 2);
|
|
3946
|
+
q([
|
|
3942
3947
|
l({ type: String })
|
|
3943
|
-
],
|
|
3944
|
-
|
|
3948
|
+
], j.prototype, "autoActive", 2);
|
|
3949
|
+
q([
|
|
3945
3950
|
l({ type: Boolean, reflect: !0 })
|
|
3946
|
-
],
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
],
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
],
|
|
3953
|
-
|
|
3951
|
+
], j.prototype, "loading", 2);
|
|
3952
|
+
q([
|
|
3953
|
+
T()
|
|
3954
|
+
], j.prototype, "hasPrefix", 2);
|
|
3955
|
+
q([
|
|
3956
|
+
T()
|
|
3957
|
+
], j.prototype, "hasSuffix", 2);
|
|
3958
|
+
q([
|
|
3954
3959
|
ve({ flatten: !0, slot: "prefix" })
|
|
3955
|
-
],
|
|
3956
|
-
|
|
3960
|
+
], j.prototype, "prefixes", 2);
|
|
3961
|
+
q([
|
|
3957
3962
|
ve({ flatten: !0, slot: "suffix" })
|
|
3958
|
-
],
|
|
3959
|
-
|
|
3963
|
+
], j.prototype, "suffixes", 2);
|
|
3964
|
+
q([
|
|
3960
3965
|
l({ type: String })
|
|
3961
|
-
],
|
|
3962
|
-
|
|
3966
|
+
], j.prototype, "target", 2);
|
|
3967
|
+
q([
|
|
3963
3968
|
l({ type: String })
|
|
3964
|
-
],
|
|
3965
|
-
|
|
3969
|
+
], j.prototype, "href", 1);
|
|
3970
|
+
q([
|
|
3966
3971
|
l({ type: String })
|
|
3967
|
-
],
|
|
3968
|
-
|
|
3972
|
+
], j.prototype, "goBack", 2);
|
|
3973
|
+
q([
|
|
3969
3974
|
l({ type: Boolean })
|
|
3970
|
-
],
|
|
3971
|
-
|
|
3975
|
+
], j.prototype, "pushState", 2);
|
|
3976
|
+
q([
|
|
3972
3977
|
l({ type: Boolean, reflect: !0 })
|
|
3973
|
-
],
|
|
3974
|
-
|
|
3978
|
+
], j.prototype, "active", 2);
|
|
3979
|
+
q([
|
|
3975
3980
|
l({ type: Boolean, reflect: !0 })
|
|
3976
|
-
],
|
|
3977
|
-
|
|
3981
|
+
], j.prototype, "autoRepeat", 2);
|
|
3982
|
+
q([
|
|
3978
3983
|
l({ type: String, attribute: "data-aria-controls" })
|
|
3979
|
-
],
|
|
3980
|
-
|
|
3984
|
+
], j.prototype, "ariaControls", 2);
|
|
3985
|
+
q([
|
|
3981
3986
|
l({ type: Boolean, attribute: "data-aria-expanded" })
|
|
3982
|
-
],
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
],
|
|
3986
|
-
|
|
3987
|
+
], j.prototype, "sonicAriaExpanded", 2);
|
|
3988
|
+
q([
|
|
3989
|
+
T()
|
|
3990
|
+
], j.prototype, "location", 2);
|
|
3991
|
+
j = q([
|
|
3987
3992
|
_(tn)
|
|
3988
|
-
],
|
|
3993
|
+
], j);
|
|
3989
3994
|
/**
|
|
3990
3995
|
* @license
|
|
3991
3996
|
* Copyright 2017 Google LLC
|
|
3992
3997
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3993
3998
|
*/
|
|
3994
|
-
const
|
|
3999
|
+
const Zi = (r, t, s) => {
|
|
3995
4000
|
const i = /* @__PURE__ */ new Map();
|
|
3996
4001
|
for (let e = t; e <= s; e++)
|
|
3997
4002
|
i.set(r[e], e);
|
|
@@ -4032,7 +4037,7 @@ const Yi = (r, t, s) => {
|
|
|
4032
4037
|
c[v] = re(e[f], o[v]), je(r, c[v + 1], e[f]), f++, v--;
|
|
4033
4038
|
else if (a[m] === n[b])
|
|
4034
4039
|
c[b] = re(e[m], o[b]), je(r, e[f], e[m]), m--, b++;
|
|
4035
|
-
else if (h === void 0 && (h =
|
|
4040
|
+
else if (h === void 0 && (h = Zi(n, b, v), d = Zi(a, f, m)), h.has(a[f]))
|
|
4036
4041
|
if (h.has(a[m])) {
|
|
4037
4042
|
const P = d.get(n[b]), S = P !== void 0 ? e[P] : null;
|
|
4038
4043
|
if (S === null) {
|
|
@@ -4057,13 +4062,13 @@ const Yi = (r, t, s) => {
|
|
|
4057
4062
|
}
|
|
4058
4063
|
}), en = /* @__PURE__ */ new WeakMap();
|
|
4059
4064
|
let Gi = 0;
|
|
4060
|
-
const
|
|
4065
|
+
const qs = /* @__PURE__ */ new Map(), Qi = /* @__PURE__ */ new WeakSet(), Xi = () => new Promise((r) => requestAnimationFrame(r)), Ji = [{ opacity: 0 }], tr = [{ opacity: 0 }, { opacity: 1 }], er = (r, t) => {
|
|
4061
4066
|
const s = r - t;
|
|
4062
4067
|
return s === 0 ? void 0 : s;
|
|
4063
4068
|
}, sr = (r, t) => {
|
|
4064
4069
|
const s = r / t;
|
|
4065
4070
|
return s === 1 ? void 0 : s;
|
|
4066
|
-
},
|
|
4071
|
+
}, Hs = { left: (r, t) => {
|
|
4067
4072
|
const s = er(r, t);
|
|
4068
4073
|
return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateX(${s}px)` };
|
|
4069
4074
|
}, top: (r, t) => {
|
|
@@ -4119,7 +4124,7 @@ class on extends yi {
|
|
|
4119
4124
|
m() {
|
|
4120
4125
|
const t = {}, s = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
|
|
4121
4126
|
return this.options.properties.forEach((e) => {
|
|
4122
|
-
const o = s[e] ?? (
|
|
4127
|
+
const o = s[e] ?? (Hs[e] ? void 0 : i[e]), n = Number(o);
|
|
4123
4128
|
t[e] = isNaN(n) ? o + "" : n;
|
|
4124
4129
|
}), t;
|
|
4125
4130
|
}
|
|
@@ -4147,9 +4152,9 @@ class on extends yi {
|
|
|
4147
4152
|
const { from: o, to: n } = this.N(this.A, e, s);
|
|
4148
4153
|
this.log("measured", [this.A, e, o, n]), t = this.calculateKeyframes(o, n);
|
|
4149
4154
|
} else {
|
|
4150
|
-
const o =
|
|
4155
|
+
const o = qs.get(this.options.inId);
|
|
4151
4156
|
if (o) {
|
|
4152
|
-
|
|
4157
|
+
qs.delete(this.options.inId);
|
|
4153
4158
|
const { from: n, to: a } = this.N(o, e, s);
|
|
4154
4159
|
t = this.calculateKeyframes(n, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Gi++, t.forEach((c) => c.zIndex = Gi);
|
|
4155
4160
|
} else
|
|
@@ -4168,7 +4173,7 @@ class on extends yi {
|
|
|
4168
4173
|
}
|
|
4169
4174
|
async disconnected() {
|
|
4170
4175
|
var s;
|
|
4171
|
-
if (!this.h || (this.options.id !== void 0 &&
|
|
4176
|
+
if (!this.h || (this.options.id !== void 0 && qs.set(this.options.id, this.A), this.options.out === void 0))
|
|
4172
4177
|
return;
|
|
4173
4178
|
if (this.prepare(), await Xi(), (s = this.i) == null ? void 0 : s.isConnected) {
|
|
4174
4179
|
const i = this.o && this.o.parentNode === this.i ? this.o : null;
|
|
@@ -4225,8 +4230,8 @@ class on extends yi {
|
|
|
4225
4230
|
const a = {};
|
|
4226
4231
|
for (const c in s) {
|
|
4227
4232
|
const h = t[c], d = s[c];
|
|
4228
|
-
if (c in
|
|
4229
|
-
const f =
|
|
4233
|
+
if (c in Hs) {
|
|
4234
|
+
const f = Hs[c];
|
|
4230
4235
|
if (h === void 0 || d === void 0)
|
|
4231
4236
|
continue;
|
|
4232
4237
|
const m = f(h, d);
|
|
@@ -4338,7 +4343,7 @@ function ln() {
|
|
|
4338
4343
|
var r, t;
|
|
4339
4344
|
rr || (rr = !0, ys.custom.url = ((r = document.querySelector("[customIconLibraryPath]")) == null ? void 0 : r.getAttribute("customIconLibraryPath")) || "", ys.custom.defaultPrefix = ((t = document.querySelector("[customIconDefaultPrefix]")) == null ? void 0 : t.getAttribute("customIconDefaultPrefix")) || "");
|
|
4340
4345
|
}
|
|
4341
|
-
const or = sessionStorage.getItem("sonicIconsCache"),
|
|
4346
|
+
const or = sessionStorage.getItem("sonicIconsCache"), Ht = or ? JSON.parse(or) : { icons: {}, names: [] }, cn = 100, Ni = class Ni {
|
|
4342
4347
|
};
|
|
4343
4348
|
Ni.default = {
|
|
4344
4349
|
get: async (t) => {
|
|
@@ -4353,8 +4358,8 @@ Ni.default = {
|
|
|
4353
4358
|
if (a[c])
|
|
4354
4359
|
return z(a[c]);
|
|
4355
4360
|
const h = (o.url || "").replace("$prefix", n).replace("$name", i);
|
|
4356
|
-
if (
|
|
4357
|
-
return a[c] =
|
|
4361
|
+
if (Ht.icons[h])
|
|
4362
|
+
return a[c] = Ht.icons[h], z(Ht.icons[h]);
|
|
4358
4363
|
if (!ds.has(h)) {
|
|
4359
4364
|
const f = new Promise(async (m) => {
|
|
4360
4365
|
const b = await fetch(h);
|
|
@@ -4372,11 +4377,11 @@ Ni.default = {
|
|
|
4372
4377
|
ds.set(h, f);
|
|
4373
4378
|
}
|
|
4374
4379
|
const d = await ds.get(h);
|
|
4375
|
-
if (ds.delete(h), a[c] = d || "",
|
|
4376
|
-
const f =
|
|
4377
|
-
delete
|
|
4380
|
+
if (ds.delete(h), a[c] = d || "", Ht.icons[h] = d || "", Ht.names.length > cn) {
|
|
4381
|
+
const f = Ht.names.shift();
|
|
4382
|
+
delete Ht.icons[f];
|
|
4378
4383
|
}
|
|
4379
|
-
return sessionStorage.setItem("sonicIconsCache", JSON.stringify(
|
|
4384
|
+
return sessionStorage.setItem("sonicIconsCache", JSON.stringify(Ht)), z(d);
|
|
4380
4385
|
}
|
|
4381
4386
|
return z(e.core[t.name] || "");
|
|
4382
4387
|
}
|
|
@@ -4457,7 +4462,7 @@ pe.styles = $`
|
|
|
4457
4462
|
}
|
|
4458
4463
|
`;
|
|
4459
4464
|
ts([
|
|
4460
|
-
|
|
4465
|
+
T()
|
|
4461
4466
|
], pe.prototype, "iconText", 2);
|
|
4462
4467
|
ts([
|
|
4463
4468
|
l({ type: String })
|
|
@@ -4494,7 +4499,7 @@ const es = $`
|
|
|
4494
4499
|
}
|
|
4495
4500
|
}
|
|
4496
4501
|
`;
|
|
4497
|
-
var un = Object.defineProperty, fn = Object.getOwnPropertyDescriptor,
|
|
4502
|
+
var un = Object.defineProperty, fn = Object.getOwnPropertyDescriptor, Mt = (r, t, s, i) => {
|
|
4498
4503
|
for (var e = i > 1 ? void 0 : i ? fn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
4499
4504
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
4500
4505
|
return i && e && un(t, s, e), e;
|
|
@@ -4748,34 +4753,34 @@ _t.styles = [
|
|
|
4748
4753
|
}
|
|
4749
4754
|
`
|
|
4750
4755
|
];
|
|
4751
|
-
|
|
4756
|
+
Mt([
|
|
4752
4757
|
l({ type: String })
|
|
4753
4758
|
], _t.prototype, "title", 2);
|
|
4754
|
-
|
|
4759
|
+
Mt([
|
|
4755
4760
|
l({ type: String })
|
|
4756
4761
|
], _t.prototype, "id", 2);
|
|
4757
|
-
|
|
4762
|
+
Mt([
|
|
4758
4763
|
l({ type: String })
|
|
4759
4764
|
], _t.prototype, "text", 2);
|
|
4760
|
-
|
|
4765
|
+
Mt([
|
|
4761
4766
|
l({ type: String })
|
|
4762
4767
|
], _t.prototype, "status", 2);
|
|
4763
|
-
|
|
4768
|
+
Mt([
|
|
4764
4769
|
l({ type: Boolean })
|
|
4765
4770
|
], _t.prototype, "ghost", 2);
|
|
4766
|
-
|
|
4771
|
+
Mt([
|
|
4767
4772
|
l({ type: Boolean })
|
|
4768
4773
|
], _t.prototype, "preserve", 2);
|
|
4769
|
-
|
|
4774
|
+
Mt([
|
|
4770
4775
|
l({ type: Boolean })
|
|
4771
4776
|
], _t.prototype, "dismissForever", 2);
|
|
4772
|
-
|
|
4777
|
+
Mt([
|
|
4773
4778
|
l({ type: String })
|
|
4774
4779
|
], _t.prototype, "maxHeight", 2);
|
|
4775
|
-
|
|
4776
|
-
|
|
4780
|
+
Mt([
|
|
4781
|
+
T()
|
|
4777
4782
|
], _t.prototype, "visible", 2);
|
|
4778
|
-
_t =
|
|
4783
|
+
_t = Mt([
|
|
4779
4784
|
_(mn)
|
|
4780
4785
|
], _t);
|
|
4781
4786
|
const bn = $`
|
|
@@ -5404,7 +5409,7 @@ const Ns = (r) => {
|
|
|
5404
5409
|
], t.prototype, "tabindex", 2), oe([
|
|
5405
5410
|
l({ type: String })
|
|
5406
5411
|
], t.prototype, "autocomplete", 2), t;
|
|
5407
|
-
}, Nr = _i, Tn = wi, Tr = ke, Mr = Ns, Jt =
|
|
5412
|
+
}, Nr = _i, Tn = wi, Tr = ke, Mr = Ns, Jt = Y, xi = Xe;
|
|
5408
5413
|
window["concorde-mixins"] = window["concorde-mixins"] || {};
|
|
5409
5414
|
window["concorde-mixins"] = {
|
|
5410
5415
|
Fetcher: Nr,
|
|
@@ -5419,7 +5424,7 @@ window["concorde-mixins"] = {
|
|
|
5419
5424
|
* Copyright 2020 Google LLC
|
|
5420
5425
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5421
5426
|
*/
|
|
5422
|
-
const
|
|
5427
|
+
const Lt = we(class extends De {
|
|
5423
5428
|
constructor(r) {
|
|
5424
5429
|
if (super(r), r.type !== ye.CHILD)
|
|
5425
5430
|
throw Error("templateContent can only be used in child bindings");
|
|
@@ -5434,7 +5439,7 @@ var Mn = Object.defineProperty, jn = Object.getOwnPropertyDescriptor, jr = (r, t
|
|
|
5434
5439
|
return i && e && Mn(t, s, e), e;
|
|
5435
5440
|
};
|
|
5436
5441
|
const In = "sonic-fetch";
|
|
5437
|
-
let ws = class extends _i(
|
|
5442
|
+
let ws = class extends _i(Y(xi(w))) {
|
|
5438
5443
|
renderLoader() {
|
|
5439
5444
|
if (!(this.isLoading && this.loader !== void 0))
|
|
5440
5445
|
return C;
|
|
@@ -5443,7 +5448,7 @@ let ws = class extends _i(Z(xi(w))) {
|
|
|
5443
5448
|
}
|
|
5444
5449
|
renderSkeleton() {
|
|
5445
5450
|
const r = this.templateParts.skeleton;
|
|
5446
|
-
return this.isLoading && r ?
|
|
5451
|
+
return this.isLoading && r ? Lt(r) : C;
|
|
5447
5452
|
}
|
|
5448
5453
|
render() {
|
|
5449
5454
|
return g`
|
|
@@ -5613,12 +5618,12 @@ const Un = $`
|
|
|
5613
5618
|
}
|
|
5614
5619
|
|
|
5615
5620
|
`;
|
|
5616
|
-
var Bn = Object.defineProperty,
|
|
5617
|
-
for (var e = i > 1 ? void 0 : i ?
|
|
5621
|
+
var Bn = Object.defineProperty, qn = Object.getOwnPropertyDescriptor, Pi = (r, t, s, i) => {
|
|
5622
|
+
for (var e = i > 1 ? void 0 : i ? qn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5618
5623
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
5619
5624
|
return i && e && Bn(t, s, e), e;
|
|
5620
5625
|
};
|
|
5621
|
-
const
|
|
5626
|
+
const Hn = "sonic-loader";
|
|
5622
5627
|
let it = class extends w {
|
|
5623
5628
|
constructor() {
|
|
5624
5629
|
super(...arguments), this.mode = "fixed", this.noDelay = !1;
|
|
@@ -5677,15 +5682,15 @@ Pi([
|
|
|
5677
5682
|
l({ type: Boolean })
|
|
5678
5683
|
], it.prototype, "noDelay", 2);
|
|
5679
5684
|
it = Pi([
|
|
5680
|
-
_(
|
|
5685
|
+
_(Hn)
|
|
5681
5686
|
], it);
|
|
5682
|
-
var Wn = Object.defineProperty, Kn = Object.getOwnPropertyDescriptor,
|
|
5687
|
+
var Wn = Object.defineProperty, Kn = Object.getOwnPropertyDescriptor, Yn = (r, t, s, i) => {
|
|
5683
5688
|
for (var e = i > 1 ? void 0 : i ? Kn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5684
5689
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
5685
5690
|
return i && e && Wn(t, s, e), e;
|
|
5686
5691
|
};
|
|
5687
|
-
const
|
|
5688
|
-
let ar = class extends
|
|
5692
|
+
const Zn = "sonic-subscriber";
|
|
5693
|
+
let ar = class extends Y(w) {
|
|
5689
5694
|
constructor() {
|
|
5690
5695
|
super(...arguments), this.noAutofill = !0;
|
|
5691
5696
|
}
|
|
@@ -5699,8 +5704,8 @@ let ar = class extends Z(w) {
|
|
|
5699
5704
|
return g`<slot></slot> `;
|
|
5700
5705
|
}
|
|
5701
5706
|
};
|
|
5702
|
-
ar =
|
|
5703
|
-
_(
|
|
5707
|
+
ar = Yn([
|
|
5708
|
+
_(Zn)
|
|
5704
5709
|
], ar);
|
|
5705
5710
|
var Gn = Object.defineProperty, Qn = Object.getOwnPropertyDescriptor, _e = (r, t, s, i) => {
|
|
5706
5711
|
for (var e = i > 1 ? void 0 : i ? Qn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
@@ -5708,7 +5713,7 @@ var Gn = Object.defineProperty, Qn = Object.getOwnPropertyDescriptor, _e = (r, t
|
|
|
5708
5713
|
return i && e && Gn(t, s, e), e;
|
|
5709
5714
|
};
|
|
5710
5715
|
const Xn = "sonic-list";
|
|
5711
|
-
let Kt = class extends _i(
|
|
5716
|
+
let Kt = class extends _i(Y(Xe(w))) {
|
|
5712
5717
|
constructor() {
|
|
5713
5718
|
super(...arguments), this.templateKey = "template", this.idKey = "id", this.limit = Number.POSITIVE_INFINITY, this.offset = 0;
|
|
5714
5719
|
}
|
|
@@ -5726,7 +5731,7 @@ let Kt = class extends _i(Z(Xe(w))) {
|
|
|
5726
5731
|
}
|
|
5727
5732
|
renderSkeleton() {
|
|
5728
5733
|
const r = this.templateParts.skeleton;
|
|
5729
|
-
return this.isLoading && r ?
|
|
5734
|
+
return this.isLoading && r ? Lt(r) : C;
|
|
5730
5735
|
}
|
|
5731
5736
|
renderLoadingState() {
|
|
5732
5737
|
return g`${this.renderSkeleton()} ${this.renderLoader()}`;
|
|
@@ -5761,7 +5766,7 @@ let Kt = class extends _i(Z(Xe(w))) {
|
|
|
5761
5766
|
return g`<div></div>`;
|
|
5762
5767
|
const i = this.formatProps();
|
|
5763
5768
|
if (((i == null ? void 0 : i.length) || 0) == 0 && this.templateParts["no-item"])
|
|
5764
|
-
return
|
|
5769
|
+
return Lt(this.templateParts["no-item"]);
|
|
5765
5770
|
const e = this.templateList.length;
|
|
5766
5771
|
let o = -1;
|
|
5767
5772
|
const n = this.hasAttribute("extractValues"), a = this.templateParts.separator, c = (i == null ? void 0 : i.length) || 0, h = i == null ? void 0 : i.slice(this.offset, this.offset + this.limit);
|
|
@@ -5795,9 +5800,9 @@ let Kt = class extends _i(Z(Xe(w))) {
|
|
|
5795
5800
|
.propertyMap?=${this.itemPropertyMap}
|
|
5796
5801
|
dataProvider="${this.dataProvider}/list-item/${b}"
|
|
5797
5802
|
>
|
|
5798
|
-
${
|
|
5803
|
+
${Lt(m || this.templateList[o % e])}
|
|
5799
5804
|
</sonic-subscriber>
|
|
5800
|
-
${a && !v ?
|
|
5805
|
+
${a && !v ? Lt(a) : C}
|
|
5801
5806
|
`;
|
|
5802
5807
|
})}
|
|
5803
5808
|
`;
|
|
@@ -5842,7 +5847,7 @@ var Jn = Object.defineProperty, ta = Object.getOwnPropertyDescriptor, ft = (r, t
|
|
|
5842
5847
|
return i && e && Jn(t, s, e), e;
|
|
5843
5848
|
};
|
|
5844
5849
|
const ea = "sonic-queue";
|
|
5845
|
-
let st = class extends
|
|
5850
|
+
let st = class extends Y(w) {
|
|
5846
5851
|
constructor() {
|
|
5847
5852
|
super(...arguments), this.templates = null, this.lastRequestTime = 0, this.key = "", this.itemPropertyMap = null, this.cache = "default", this.targetRequestDuration = 500, this.limit = 5, this.lazyBoundsRatio = 1, this.offset = 0, this.resultCount = 0, this.noLazyload = !1, this.loader = "inline", this.filteredFields = "", this.instanceId = 0, this.localStorage = "disabled", this.filterPublisher = null, this.filterTimeoutMs = 400, this.searchHash = "", this.requestId = 0, this.isFirstRequest = !0, this.updateFilteredContent = () => {
|
|
5848
5853
|
var n;
|
|
@@ -5857,27 +5862,27 @@ let st = class extends Z(w) {
|
|
|
5857
5862
|
if (!(o == this.searchHash && !this.isFirstRequest)) {
|
|
5858
5863
|
this.searchHash = o;
|
|
5859
5864
|
for (const a of this.listDataProviders)
|
|
5860
|
-
|
|
5865
|
+
M.delete(a);
|
|
5861
5866
|
this.listDataProviders = [], clearTimeout(this.filterTimeoutId), this.filterTimeoutId = setTimeout(
|
|
5862
5867
|
async () => {
|
|
5863
5868
|
const a = this.resultCount;
|
|
5864
|
-
this.props = null, this.requestId++, this.resultCount = a, await
|
|
5869
|
+
this.props = null, this.requestId++, this.resultCount = a, await M.getInstance().isLocalStrorageReady, window.requestAnimationFrame(() => this.next());
|
|
5865
5870
|
},
|
|
5866
5871
|
this.isFirstRequest ? 0 : this.filterTimeoutMs
|
|
5867
5872
|
), this.isFirstRequest = !1;
|
|
5868
5873
|
}
|
|
5869
|
-
}, this.dataProviderExpression = "", this.idKey = "id", this.listDataProviders = [], this.nextHadEvent = !1;
|
|
5874
|
+
}, this.dataProviderExpression = "", this.idKey = "id", this.listDataProviders = [], this.nextHadEvent = !1, this.scrollY = 0, this.scrollX = 0;
|
|
5870
5875
|
}
|
|
5871
5876
|
disconnectedCallback() {
|
|
5872
5877
|
var r;
|
|
5873
5878
|
for (const t of this.listDataProviders)
|
|
5874
|
-
|
|
5879
|
+
M.delete(t), this.listDataProviders = [];
|
|
5875
5880
|
(r = this.filterPublisher) == null || r.offInternalMutation(this.updateFilteredContent), this.props = null, this.limit = 5, this.offset = 0, this.resultCount = 0, this.searchHash = "", this.requestId = 0, this.isFirstRequest = !0, this.nextHadEvent = !1, this.publisher.set({}), super.disconnectedCallback();
|
|
5876
5881
|
}
|
|
5877
5882
|
async connectedCallback() {
|
|
5878
5883
|
this.instanceId = st.instanceCounter++, this.localStorage = this.getAttribute("localStorage") || this.localStorage, this.filterTimeoutMs = parseInt(
|
|
5879
5884
|
this.getAttribute("filterTimeoutMs") || "400"
|
|
5880
|
-
), this.removeAttribute("localStorage"), this.noShadowDom = "", this.defferedDebug = this.hasAttribute("debug") || null, this.dataProvider || (this.dataProvider = this.dataProviderExpression || "sonic-queue-" + this.instanceId + "-" + Math.random().toString(36).substring(7)), this.dataProviderExpression || (this.dataProviderExpression = de.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await
|
|
5885
|
+
), this.removeAttribute("localStorage"), this.noShadowDom = "", this.defferedDebug = this.hasAttribute("debug") || null, this.dataProvider || (this.dataProvider = this.dataProviderExpression || "sonic-queue-" + this.instanceId + "-" + Math.random().toString(36).substring(7)), this.dataProviderExpression || (this.dataProviderExpression = de.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await M.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
|
|
5881
5886
|
this.querySelectorAll("template")
|
|
5882
5887
|
)), this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime(), this.configFilter();
|
|
5883
5888
|
}
|
|
@@ -5888,7 +5893,12 @@ let st = class extends Z(w) {
|
|
|
5888
5893
|
this.next();
|
|
5889
5894
|
return;
|
|
5890
5895
|
}
|
|
5891
|
-
this.filterPublisher =
|
|
5896
|
+
this.filterPublisher = M.getInstance().get(r), (t = this.filterPublisher) == null || t.onInternalMutation(this.updateFilteredContent);
|
|
5897
|
+
}
|
|
5898
|
+
updated(r) {
|
|
5899
|
+
(Math.abs(this.scrollX - window.scrollX) > 10 || Math.abs(this.scrollY - window.scrollY) > 10) && window.scrollTo(this.scrollX, this.scrollY), window.requestAnimationFrame(() => {
|
|
5900
|
+
(Math.abs(this.scrollX - window.scrollX) > 10 || Math.abs(this.scrollY - window.scrollY) > 10) && window.scrollTo(this.scrollX, this.scrollY);
|
|
5901
|
+
}), super.updated(r);
|
|
5892
5902
|
}
|
|
5893
5903
|
resetDuration() {
|
|
5894
5904
|
this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime();
|
|
@@ -5937,8 +5947,9 @@ let st = class extends Z(w) {
|
|
|
5937
5947
|
render() {
|
|
5938
5948
|
if (!Array.isArray(this.props))
|
|
5939
5949
|
return C;
|
|
5950
|
+
this.scrollX = window.scrollX, this.scrollY = window.scrollY;
|
|
5940
5951
|
let r = !this.noLazyload;
|
|
5941
|
-
return this.props.length == 1 && (r = !1), g`
|
|
5952
|
+
return this.props.length == 1 && (r = !1), this.style.display = "block", g`
|
|
5942
5953
|
${Fr(this.props, (t, s) => {
|
|
5943
5954
|
var e;
|
|
5944
5955
|
const i = s == 0 ? this.templates : (e = this.templates) == null ? void 0 : e.filter(
|
|
@@ -6019,14 +6030,14 @@ var sa = Object.defineProperty, ia = Object.getOwnPropertyDescriptor, Le = (r, t
|
|
|
6019
6030
|
return i && e && sa(t, s, e), e;
|
|
6020
6031
|
};
|
|
6021
6032
|
const ra = "sonic-submit";
|
|
6022
|
-
let
|
|
6033
|
+
let Yt = class extends Y(w) {
|
|
6023
6034
|
constructor() {
|
|
6024
6035
|
super(...arguments), this.submitResultKey = null, this.disabled = !1, this.endPoint = null, this.name = "", this.value = "", this.api = null, this.clickTimeStamp = 0, this.submit = async (r) => {
|
|
6025
6036
|
var v;
|
|
6026
6037
|
if (this.disabled || r instanceof KeyboardEvent && r.key !== "Enter")
|
|
6027
6038
|
return;
|
|
6028
6039
|
r instanceof MouseEvent && r.stopPropagation();
|
|
6029
|
-
const t =
|
|
6040
|
+
const t = M.getInstance().get(
|
|
6030
6041
|
this.getAncestorAttributeValue("formDataProvider")
|
|
6031
6042
|
);
|
|
6032
6043
|
if (t.isFormValid = !0, t.invalidateForm(), !t.isFormValid.get())
|
|
@@ -6039,7 +6050,7 @@ let Zt = class extends Z(w) {
|
|
|
6039
6050
|
delete o.isFormValid;
|
|
6040
6051
|
const n = this.getAncestorAttributeValue(
|
|
6041
6052
|
"headersDataProvider"
|
|
6042
|
-
), a = n ?
|
|
6053
|
+
), a = n ? M.getInstance().get(n) : null;
|
|
6043
6054
|
let c = {};
|
|
6044
6055
|
a && (c = a.get());
|
|
6045
6056
|
let h = null;
|
|
@@ -6070,8 +6081,8 @@ let Zt = class extends Z(w) {
|
|
|
6070
6081
|
if (o)
|
|
6071
6082
|
for (const Ti in o)
|
|
6072
6083
|
as.append(Ti, o[Ti]);
|
|
6073
|
-
const
|
|
6074
|
-
h = await ((L = this.api) == null ? void 0 : L.get(f +
|
|
6084
|
+
const Yr = "?" + as.toString();
|
|
6085
|
+
h = await ((L = this.api) == null ? void 0 : L.get(f + Yr, c));
|
|
6075
6086
|
break;
|
|
6076
6087
|
default:
|
|
6077
6088
|
h = await ((U = this.api) == null ? void 0 : U.post(f, o, c));
|
|
@@ -6082,7 +6093,7 @@ let Zt = class extends Z(w) {
|
|
|
6082
6093
|
"clearedDataOnSuccess"
|
|
6083
6094
|
);
|
|
6084
6095
|
P && P.split(" ").forEach(
|
|
6085
|
-
(as) =>
|
|
6096
|
+
(as) => M.get(as).set({})
|
|
6086
6097
|
);
|
|
6087
6098
|
const S = this.hasAttribute("usernameKey") ? this.getAttribute("usernameKey") : "username", D = this.hasAttribute("passwordKey") ? this.getAttribute("passwordKey") : "password";
|
|
6088
6099
|
(At = (W = this.api) == null ? void 0 : W.lastResult) != null && At.ok && o[S] && o[D] && this.saveCredentials(o[S], o[D]), this.submitResultKey && (h = X.traverse(
|
|
@@ -6093,7 +6104,7 @@ let Zt = class extends Z(w) {
|
|
|
6093
6104
|
const p = this.getAncestorAttributeValue(
|
|
6094
6105
|
"submitResultDataProvider"
|
|
6095
6106
|
);
|
|
6096
|
-
p &&
|
|
6107
|
+
p && M.get(p).set(h), this.disabled = !1, this.dispatchEvent(
|
|
6097
6108
|
new CustomEvent("submit", {
|
|
6098
6109
|
detail: h,
|
|
6099
6110
|
bubbles: !0,
|
|
@@ -6118,7 +6129,7 @@ let Zt = class extends Z(w) {
|
|
|
6118
6129
|
const r = de.getClosestForm(this);
|
|
6119
6130
|
if (!r)
|
|
6120
6131
|
return;
|
|
6121
|
-
const t = this.getAncestorAttributeValue("formDataProvider"), s =
|
|
6132
|
+
const t = this.getAncestorAttributeValue("formDataProvider"), s = M.get(t).get();
|
|
6122
6133
|
for (const e in s) {
|
|
6123
6134
|
if (e == "isFormValid")
|
|
6124
6135
|
continue;
|
|
@@ -6146,7 +6157,7 @@ let Zt = class extends Z(w) {
|
|
|
6146
6157
|
return g`<div ?data-disabled=${this.disabled}><slot></slot></div>`;
|
|
6147
6158
|
}
|
|
6148
6159
|
};
|
|
6149
|
-
|
|
6160
|
+
Yt.styles = $`
|
|
6150
6161
|
[data-disabled] {
|
|
6151
6162
|
opacity: 0.3;
|
|
6152
6163
|
pointer-events: none;
|
|
@@ -6155,29 +6166,29 @@ Zt.styles = $`
|
|
|
6155
6166
|
`;
|
|
6156
6167
|
Le([
|
|
6157
6168
|
l({ type: String })
|
|
6158
|
-
],
|
|
6169
|
+
], Yt.prototype, "submitResultKey", 2);
|
|
6159
6170
|
Le([
|
|
6160
6171
|
l({ type: Boolean })
|
|
6161
|
-
],
|
|
6172
|
+
], Yt.prototype, "disabled", 2);
|
|
6162
6173
|
Le([
|
|
6163
6174
|
l({ type: String })
|
|
6164
|
-
],
|
|
6175
|
+
], Yt.prototype, "endPoint", 2);
|
|
6165
6176
|
Le([
|
|
6166
6177
|
l()
|
|
6167
|
-
],
|
|
6178
|
+
], Yt.prototype, "name", 2);
|
|
6168
6179
|
Le([
|
|
6169
6180
|
l()
|
|
6170
|
-
],
|
|
6171
|
-
|
|
6181
|
+
], Yt.prototype, "value", 2);
|
|
6182
|
+
Yt = Le([
|
|
6172
6183
|
_(ra)
|
|
6173
|
-
],
|
|
6184
|
+
], Yt);
|
|
6174
6185
|
var oa = Object.defineProperty, na = Object.getOwnPropertyDescriptor, $i = (r, t, s, i) => {
|
|
6175
6186
|
for (var e = i > 1 ? void 0 : i ? na(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6176
6187
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
6177
6188
|
return i && e && oa(t, s, e), e;
|
|
6178
6189
|
};
|
|
6179
6190
|
const aa = "sonic-router";
|
|
6180
|
-
let xs = class extends
|
|
6191
|
+
let xs = class extends Y(Xe(w)) {
|
|
6181
6192
|
constructor() {
|
|
6182
6193
|
super(...arguments), this.templateValueAttribute = "data-route", this._location = document.location.href.replace(
|
|
6183
6194
|
document.location.origin,
|
|
@@ -6239,10 +6250,10 @@ let xs = class extends Z(Xe(w)) {
|
|
|
6239
6250
|
style="display:contents"
|
|
6240
6251
|
dataProvider="${i}"
|
|
6241
6252
|
>
|
|
6242
|
-
${
|
|
6253
|
+
${Lt(t)}
|
|
6243
6254
|
</div>`;
|
|
6244
6255
|
}
|
|
6245
|
-
return
|
|
6256
|
+
return Lt(t);
|
|
6246
6257
|
}
|
|
6247
6258
|
)}`;
|
|
6248
6259
|
}
|
|
@@ -6262,7 +6273,7 @@ var la = Object.defineProperty, ca = Object.getOwnPropertyDescriptor, ha = (r, t
|
|
|
6262
6273
|
return i && e && la(t, s, e), e;
|
|
6263
6274
|
};
|
|
6264
6275
|
const da = "sonic-redirect";
|
|
6265
|
-
let lr = class extends
|
|
6276
|
+
let lr = class extends Y(w) {
|
|
6266
6277
|
connectedCallback() {
|
|
6267
6278
|
this.noShadowDom = "", this.style.display = "none", super.connectedCallback(), this.udpateCallBack = () => this.update(), this.publisher && this.publisher.onInternalMutation(this.udpateCallBack);
|
|
6268
6279
|
}
|
|
@@ -6289,7 +6300,7 @@ var pa = Object.defineProperty, ua = Object.getOwnPropertyDescriptor, Ci = (r, t
|
|
|
6289
6300
|
return i && e && pa(t, s, e), e;
|
|
6290
6301
|
};
|
|
6291
6302
|
const fa = "sonic-states";
|
|
6292
|
-
let Ps = class extends
|
|
6303
|
+
let Ps = class extends Y(Xe(w)) {
|
|
6293
6304
|
constructor() {
|
|
6294
6305
|
super(...arguments), this.state = "", this.inverted = !1, this.statePath = "", this.onStateAssign = (r) => {
|
|
6295
6306
|
this.state = r, this.requestUpdate();
|
|
@@ -6344,10 +6355,10 @@ let Ps = class extends Z(Xe(w)) {
|
|
|
6344
6355
|
style="display:contents"
|
|
6345
6356
|
dataProvider="${o}"
|
|
6346
6357
|
>
|
|
6347
|
-
${
|
|
6358
|
+
${Lt(s)}
|
|
6348
6359
|
</div>`;
|
|
6349
6360
|
}
|
|
6350
|
-
return
|
|
6361
|
+
return Lt(s);
|
|
6351
6362
|
}
|
|
6352
6363
|
)}`;
|
|
6353
6364
|
}
|
|
@@ -6384,7 +6395,7 @@ var ya = Object.defineProperty, wa = Object.getOwnPropertyDescriptor, zr = (r, t
|
|
|
6384
6395
|
return i && e && ya(t, s, e), e;
|
|
6385
6396
|
};
|
|
6386
6397
|
const _a = "sonic-example";
|
|
6387
|
-
let Xs = class extends
|
|
6398
|
+
let Xs = class extends Y(w) {
|
|
6388
6399
|
constructor() {
|
|
6389
6400
|
super(...arguments), this.text = "Example";
|
|
6390
6401
|
}
|
|
@@ -6667,10 +6678,10 @@ class Ba {
|
|
|
6667
6678
|
}));
|
|
6668
6679
|
}
|
|
6669
6680
|
}
|
|
6670
|
-
var
|
|
6671
|
-
for (var e = i > 1 ? void 0 : i ?
|
|
6681
|
+
var qa = Object.defineProperty, Ha = Object.getOwnPropertyDescriptor, Ai = (r, t, s, i) => {
|
|
6682
|
+
for (var e = i > 1 ? void 0 : i ? Ha(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6672
6683
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
6673
|
-
return i && e &&
|
|
6684
|
+
return i && e && qa(t, s, e), e;
|
|
6674
6685
|
};
|
|
6675
6686
|
const Wa = "sonic-sdui";
|
|
6676
6687
|
let $s = class extends Nr(Jt(w)) {
|
|
@@ -6839,8 +6850,8 @@ Ai([
|
|
|
6839
6850
|
$s = Ai([
|
|
6840
6851
|
_(Wa)
|
|
6841
6852
|
], $s);
|
|
6842
|
-
var Ka = Object.defineProperty,
|
|
6843
|
-
for (var e = i > 1 ? void 0 : i ?
|
|
6853
|
+
var Ka = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, Rr = (r, t, s, i) => {
|
|
6854
|
+
for (var e = i > 1 ? void 0 : i ? Ya(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6844
6855
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
6845
6856
|
return i && e && Ka(t, s, e), e;
|
|
6846
6857
|
};
|
|
@@ -6917,10 +6928,10 @@ Rr([
|
|
|
6917
6928
|
Cs = Rr([
|
|
6918
6929
|
_("sonic-mix")
|
|
6919
6930
|
], Cs);
|
|
6920
|
-
var
|
|
6931
|
+
var Za = Object.defineProperty, Ga = Object.getOwnPropertyDescriptor, Qa = (r, t, s, i) => {
|
|
6921
6932
|
for (var e = i > 1 ? void 0 : i ? Ga(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6922
6933
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
6923
|
-
return i && e &&
|
|
6934
|
+
return i && e && Za(t, s, e), e;
|
|
6924
6935
|
};
|
|
6925
6936
|
const Xa = "sonic-value";
|
|
6926
6937
|
let hr = class extends Jt(w) {
|
|
@@ -6954,7 +6965,7 @@ let ue = class extends w {
|
|
|
6954
6965
|
}
|
|
6955
6966
|
};
|
|
6956
6967
|
ue.styles = [
|
|
6957
|
-
|
|
6968
|
+
Tt,
|
|
6958
6969
|
$`
|
|
6959
6970
|
:host {
|
|
6960
6971
|
--sc-badge-gap: 0.3em;
|
|
@@ -7132,7 +7143,7 @@ var il = Object.defineProperty, rl = Object.getOwnPropertyDescriptor, Ee = (r, t
|
|
|
7132
7143
|
return i && e && il(t, s, e), e;
|
|
7133
7144
|
};
|
|
7134
7145
|
const ol = "sonic-link";
|
|
7135
|
-
let
|
|
7146
|
+
let Zt = class extends w {
|
|
7136
7147
|
constructor() {
|
|
7137
7148
|
super(...arguments), this.href = "", this._location = "", this.ariaLabel = null, this.autoActive = "partial", this._target = null, this.pushState = null;
|
|
7138
7149
|
}
|
|
@@ -7179,7 +7190,7 @@ let Yt = class extends w {
|
|
|
7179
7190
|
` : g`<slot></slot>`;
|
|
7180
7191
|
}
|
|
7181
7192
|
};
|
|
7182
|
-
|
|
7193
|
+
Zt.styles = [
|
|
7183
7194
|
$`
|
|
7184
7195
|
a {
|
|
7185
7196
|
color: inherit;
|
|
@@ -7190,22 +7201,22 @@ Yt.styles = [
|
|
|
7190
7201
|
];
|
|
7191
7202
|
Ee([
|
|
7192
7203
|
l({ type: String })
|
|
7193
|
-
],
|
|
7204
|
+
], Zt.prototype, "href", 2);
|
|
7194
7205
|
Ee([
|
|
7195
7206
|
l({ type: String, attribute: "data-aria-label" })
|
|
7196
|
-
],
|
|
7207
|
+
], Zt.prototype, "ariaLabel", 2);
|
|
7197
7208
|
Ee([
|
|
7198
7209
|
l({ type: String })
|
|
7199
|
-
],
|
|
7210
|
+
], Zt.prototype, "autoActive", 2);
|
|
7200
7211
|
Ee([
|
|
7201
7212
|
l({ type: String })
|
|
7202
|
-
],
|
|
7213
|
+
], Zt.prototype, "target", 1);
|
|
7203
7214
|
Ee([
|
|
7204
7215
|
l({ type: Boolean })
|
|
7205
|
-
],
|
|
7206
|
-
|
|
7216
|
+
], Zt.prototype, "pushState", 2);
|
|
7217
|
+
Zt = Ee([
|
|
7207
7218
|
_(ol)
|
|
7208
|
-
],
|
|
7219
|
+
], Zt);
|
|
7209
7220
|
var nl = Object.defineProperty, al = Object.getOwnPropertyDescriptor, Ne = (r, t, s, i) => {
|
|
7210
7221
|
for (var e = i > 1 ? void 0 : i ? al(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
7211
7222
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
@@ -7227,7 +7238,7 @@ let Gt = class extends w {
|
|
|
7227
7238
|
}
|
|
7228
7239
|
};
|
|
7229
7240
|
Gt.styles = [
|
|
7230
|
-
|
|
7241
|
+
Tt,
|
|
7231
7242
|
$`
|
|
7232
7243
|
:host {
|
|
7233
7244
|
--sc-progress-bg: var(--sc-input-bg, var(--sc-base-100, #f5f5f5));
|
|
@@ -7770,13 +7781,13 @@ const Oi = we(class extends De {
|
|
|
7770
7781
|
return vt;
|
|
7771
7782
|
}
|
|
7772
7783
|
});
|
|
7773
|
-
var hl = Object.defineProperty, dl = Object.getOwnPropertyDescriptor,
|
|
7784
|
+
var hl = Object.defineProperty, dl = Object.getOwnPropertyDescriptor, H = (r, t, s, i) => {
|
|
7774
7785
|
for (var e = i > 1 ? void 0 : i ? dl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
7775
7786
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
7776
7787
|
return i && e && hl(t, s, e), e;
|
|
7777
7788
|
};
|
|
7778
7789
|
const pl = "sonic-input";
|
|
7779
|
-
let B = class extends Ns(ke(
|
|
7790
|
+
let B = class extends Ns(ke(Y(w))) {
|
|
7780
7791
|
constructor() {
|
|
7781
7792
|
super(...arguments), this.readonly = !1, this.inlineContent = !1, this.disableInlineContentFocus = !1, this.showPasswordToggle = !1, this.hasDescription = !1, this.hasLabel = !1, this.hasSuffix = !1, this.hasPrefix = !1, this.isPassword = !1;
|
|
7782
7793
|
}
|
|
@@ -7909,7 +7920,7 @@ let B = class extends Ns(ke(Z(w))) {
|
|
|
7909
7920
|
}
|
|
7910
7921
|
};
|
|
7911
7922
|
B.styles = [
|
|
7912
|
-
|
|
7923
|
+
Tt,
|
|
7913
7924
|
Si,
|
|
7914
7925
|
Ts,
|
|
7915
7926
|
Ms,
|
|
@@ -7924,79 +7935,79 @@ B.styles = [
|
|
|
7924
7935
|
}
|
|
7925
7936
|
`
|
|
7926
7937
|
];
|
|
7927
|
-
|
|
7938
|
+
H([
|
|
7928
7939
|
l({ type: String, reflect: !0 })
|
|
7929
7940
|
], B.prototype, "size", 2);
|
|
7930
|
-
|
|
7941
|
+
H([
|
|
7931
7942
|
l({ type: String })
|
|
7932
7943
|
], B.prototype, "list", 2);
|
|
7933
|
-
|
|
7944
|
+
H([
|
|
7934
7945
|
l({ type: String })
|
|
7935
7946
|
], B.prototype, "placeholder", 2);
|
|
7936
|
-
|
|
7947
|
+
H([
|
|
7937
7948
|
l({ type: String })
|
|
7938
7949
|
], B.prototype, "pattern", 2);
|
|
7939
|
-
|
|
7950
|
+
H([
|
|
7940
7951
|
l({ type: String })
|
|
7941
7952
|
], B.prototype, "min", 2);
|
|
7942
|
-
|
|
7953
|
+
H([
|
|
7943
7954
|
l({ type: String })
|
|
7944
7955
|
], B.prototype, "max", 2);
|
|
7945
|
-
|
|
7956
|
+
H([
|
|
7946
7957
|
l({ type: Boolean })
|
|
7947
7958
|
], B.prototype, "readonly", 2);
|
|
7948
|
-
|
|
7959
|
+
H([
|
|
7949
7960
|
l({ type: Number })
|
|
7950
7961
|
], B.prototype, "step", 2);
|
|
7951
|
-
|
|
7962
|
+
H([
|
|
7952
7963
|
l({ type: Number })
|
|
7953
7964
|
], B.prototype, "minlength", 2);
|
|
7954
|
-
|
|
7965
|
+
H([
|
|
7955
7966
|
l({ type: Number })
|
|
7956
7967
|
], B.prototype, "maxlength", 2);
|
|
7957
|
-
|
|
7968
|
+
H([
|
|
7958
7969
|
l({ type: String })
|
|
7959
7970
|
], B.prototype, "src", 2);
|
|
7960
|
-
|
|
7971
|
+
H([
|
|
7961
7972
|
l({ type: Boolean, reflect: !0 })
|
|
7962
7973
|
], B.prototype, "inlineContent", 2);
|
|
7963
|
-
|
|
7974
|
+
H([
|
|
7964
7975
|
l({ type: Boolean })
|
|
7965
7976
|
], B.prototype, "disableInlineContentFocus", 2);
|
|
7966
|
-
|
|
7977
|
+
H([
|
|
7967
7978
|
l({ type: Boolean })
|
|
7968
7979
|
], B.prototype, "showPasswordToggle", 2);
|
|
7969
|
-
|
|
7980
|
+
H([
|
|
7970
7981
|
ct({ slot: "label", flatten: !0 })
|
|
7971
7982
|
], B.prototype, "slotLabelNodes", 2);
|
|
7972
|
-
|
|
7983
|
+
H([
|
|
7973
7984
|
ct({ slot: "description", flatten: !0 })
|
|
7974
7985
|
], B.prototype, "slotDescriptionNodes", 2);
|
|
7975
|
-
|
|
7986
|
+
H([
|
|
7976
7987
|
ct({ slot: "suffix", flatten: !0 })
|
|
7977
7988
|
], B.prototype, "slotSuffixNodes", 2);
|
|
7978
|
-
|
|
7989
|
+
H([
|
|
7979
7990
|
ct({ slot: "prefix", flatten: !0 })
|
|
7980
7991
|
], B.prototype, "slotPrefixNodes", 2);
|
|
7981
|
-
|
|
7992
|
+
H([
|
|
7982
7993
|
be("input")
|
|
7983
7994
|
], B.prototype, "input", 2);
|
|
7984
|
-
|
|
7985
|
-
|
|
7995
|
+
H([
|
|
7996
|
+
T()
|
|
7986
7997
|
], B.prototype, "hasDescription", 2);
|
|
7987
|
-
|
|
7988
|
-
|
|
7998
|
+
H([
|
|
7999
|
+
T()
|
|
7989
8000
|
], B.prototype, "hasLabel", 2);
|
|
7990
|
-
|
|
7991
|
-
|
|
8001
|
+
H([
|
|
8002
|
+
T()
|
|
7992
8003
|
], B.prototype, "hasSuffix", 2);
|
|
7993
|
-
|
|
7994
|
-
|
|
8004
|
+
H([
|
|
8005
|
+
T()
|
|
7995
8006
|
], B.prototype, "hasPrefix", 2);
|
|
7996
|
-
|
|
7997
|
-
|
|
8007
|
+
H([
|
|
8008
|
+
T()
|
|
7998
8009
|
], B.prototype, "isPassword", 2);
|
|
7999
|
-
B =
|
|
8010
|
+
B = H([
|
|
8000
8011
|
_(pl)
|
|
8001
8012
|
], B);
|
|
8002
8013
|
var ul = Object.defineProperty, fl = Object.getOwnPropertyDescriptor, te = (r, t, s, i) => {
|
|
@@ -8183,7 +8194,7 @@ ot.styles = [
|
|
|
8183
8194
|
`
|
|
8184
8195
|
];
|
|
8185
8196
|
te([
|
|
8186
|
-
|
|
8197
|
+
T()
|
|
8187
8198
|
], ot.prototype, "open", 2);
|
|
8188
8199
|
te([
|
|
8189
8200
|
be("slot:not([name=content])")
|
|
@@ -8212,7 +8223,7 @@ var ml = Object.defineProperty, bl = Object.getOwnPropertyDescriptor, vl = (r, t
|
|
|
8212
8223
|
return i && e && ml(t, s, e), e;
|
|
8213
8224
|
};
|
|
8214
8225
|
const yl = "sonic-menu-item";
|
|
8215
|
-
let dr = class extends
|
|
8226
|
+
let dr = class extends j {
|
|
8216
8227
|
constructor() {
|
|
8217
8228
|
super();
|
|
8218
8229
|
}
|
|
@@ -8482,10 +8493,10 @@ gt([
|
|
|
8482
8493
|
ct({ slot: "prefix", flatten: !0 })
|
|
8483
8494
|
], nt.prototype, "slotInputPrefixNodes", 2);
|
|
8484
8495
|
gt([
|
|
8485
|
-
|
|
8496
|
+
T()
|
|
8486
8497
|
], nt.prototype, "hasInputPrefix", 2);
|
|
8487
8498
|
gt([
|
|
8488
|
-
|
|
8499
|
+
T()
|
|
8489
8500
|
], nt.prototype, "isPopVisible", 2);
|
|
8490
8501
|
nt = gt([
|
|
8491
8502
|
_("sonic-input-autocomplete")
|
|
@@ -8543,22 +8554,22 @@ pt([
|
|
|
8543
8554
|
l()
|
|
8544
8555
|
], at.prototype, "minChars", 2);
|
|
8545
8556
|
pt([
|
|
8546
|
-
|
|
8557
|
+
T()
|
|
8547
8558
|
], at.prototype, "hasNoChar", 2);
|
|
8548
8559
|
pt([
|
|
8549
|
-
|
|
8560
|
+
T()
|
|
8550
8561
|
], at.prototype, "hasEnoughChars", 2);
|
|
8551
8562
|
pt([
|
|
8552
|
-
|
|
8563
|
+
T()
|
|
8553
8564
|
], at.prototype, "hasMinuscule", 2);
|
|
8554
8565
|
pt([
|
|
8555
|
-
|
|
8566
|
+
T()
|
|
8556
8567
|
], at.prototype, "hasMajuscule", 2);
|
|
8557
8568
|
pt([
|
|
8558
|
-
|
|
8569
|
+
T()
|
|
8559
8570
|
], at.prototype, "hasNumber", 2);
|
|
8560
8571
|
pt([
|
|
8561
|
-
|
|
8572
|
+
T()
|
|
8562
8573
|
], at.prototype, "hasSpecialChar", 2);
|
|
8563
8574
|
pt([
|
|
8564
8575
|
l()
|
|
@@ -8639,22 +8650,22 @@ xe([
|
|
|
8639
8650
|
l()
|
|
8640
8651
|
], Qt.prototype, "descriptionWhenNotEqual", 2);
|
|
8641
8652
|
xe([
|
|
8642
|
-
|
|
8653
|
+
T()
|
|
8643
8654
|
], Qt.prototype, "areEqual", 2);
|
|
8644
8655
|
xe([
|
|
8645
|
-
|
|
8656
|
+
T()
|
|
8646
8657
|
], Qt.prototype, "hasNoChar", 2);
|
|
8647
8658
|
Qt = xe([
|
|
8648
8659
|
_(Sl)
|
|
8649
8660
|
], Qt);
|
|
8650
|
-
var Ol = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor,
|
|
8661
|
+
var Ol = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, qt = (r, t, s, i) => {
|
|
8651
8662
|
for (var e = i > 1 ? void 0 : i ? Dl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8652
8663
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
8653
8664
|
return i && e && Ol(t, s, e), e;
|
|
8654
8665
|
};
|
|
8655
8666
|
const kl = "sonic-checkbox";
|
|
8656
8667
|
let yt = class extends wi(
|
|
8657
|
-
Ns(ke(
|
|
8668
|
+
Ns(ke(Y(w)))
|
|
8658
8669
|
) {
|
|
8659
8670
|
constructor() {
|
|
8660
8671
|
super(...arguments), this.touched = !1, this.iconName = "check", this.indeterminateIconName = "minus-small", this.showAsIndeterminate = !1, this.hasDescription = !1, this.hasLabel = !1;
|
|
@@ -8705,7 +8716,7 @@ let yt = class extends wi(
|
|
|
8705
8716
|
}
|
|
8706
8717
|
};
|
|
8707
8718
|
yt.styles = [
|
|
8708
|
-
|
|
8719
|
+
Tt,
|
|
8709
8720
|
$`
|
|
8710
8721
|
:host {
|
|
8711
8722
|
--sc-checkbox-border-width: var(--sc-form-border-width);
|
|
@@ -8834,31 +8845,31 @@ yt.styles = [
|
|
|
8834
8845
|
*/
|
|
8835
8846
|
`
|
|
8836
8847
|
];
|
|
8837
|
-
|
|
8848
|
+
qt([
|
|
8838
8849
|
l({ type: Boolean, reflect: !0 })
|
|
8839
8850
|
], yt.prototype, "touched", 2);
|
|
8840
|
-
|
|
8851
|
+
qt([
|
|
8841
8852
|
l({ type: String })
|
|
8842
8853
|
], yt.prototype, "iconName", 2);
|
|
8843
|
-
|
|
8854
|
+
qt([
|
|
8844
8855
|
l({ type: String })
|
|
8845
8856
|
], yt.prototype, "indeterminateIconName", 2);
|
|
8846
|
-
|
|
8857
|
+
qt([
|
|
8847
8858
|
l({ type: Boolean })
|
|
8848
8859
|
], yt.prototype, "showAsIndeterminate", 2);
|
|
8849
|
-
|
|
8860
|
+
qt([
|
|
8850
8861
|
l({ type: Boolean })
|
|
8851
8862
|
], yt.prototype, "hasDescription", 2);
|
|
8852
|
-
|
|
8863
|
+
qt([
|
|
8853
8864
|
l({ type: Boolean })
|
|
8854
8865
|
], yt.prototype, "hasLabel", 2);
|
|
8855
|
-
|
|
8866
|
+
qt([
|
|
8856
8867
|
ct({ flatten: !0 })
|
|
8857
8868
|
], yt.prototype, "slotLabelNodes", 2);
|
|
8858
|
-
|
|
8869
|
+
qt([
|
|
8859
8870
|
ct({ slot: "description", flatten: !0 })
|
|
8860
8871
|
], yt.prototype, "slotDescriptionNodes", 2);
|
|
8861
|
-
yt =
|
|
8872
|
+
yt = qt([
|
|
8862
8873
|
_(kl)
|
|
8863
8874
|
], yt);
|
|
8864
8875
|
var Ll = Object.defineProperty, El = Object.getOwnPropertyDescriptor, Nl = (r, t, s, i) => {
|
|
@@ -8902,7 +8913,7 @@ var Ml = Object.defineProperty, jl = Object.getOwnPropertyDescriptor, Q = (r, t,
|
|
|
8902
8913
|
return i && e && Ml(t, s, e), e;
|
|
8903
8914
|
};
|
|
8904
8915
|
const Il = "sonic-select";
|
|
8905
|
-
let K = class extends ke(
|
|
8916
|
+
let K = class extends ke(Y(w)) {
|
|
8906
8917
|
constructor() {
|
|
8907
8918
|
super(...arguments), this.valueKey = "value", this.wordingKey = "wording", this.multiple = !1, this.status = "default", this._options = [], this.hasDoneFirstUpdate = !1, this._value = "", this.updateOptions = () => {
|
|
8908
8919
|
const r = this.querySelectorAll(
|
|
@@ -9038,7 +9049,7 @@ let K = class extends ke(Z(w)) {
|
|
|
9038
9049
|
}
|
|
9039
9050
|
};
|
|
9040
9051
|
K.styles = [
|
|
9041
|
-
|
|
9052
|
+
Tt,
|
|
9042
9053
|
Si,
|
|
9043
9054
|
Ts,
|
|
9044
9055
|
Ms,
|
|
@@ -9135,16 +9146,16 @@ Q([
|
|
|
9135
9146
|
ct({ slot: "prefix", flatten: !0 })
|
|
9136
9147
|
], K.prototype, "slotPrefixNodes", 2);
|
|
9137
9148
|
Q([
|
|
9138
|
-
|
|
9149
|
+
T()
|
|
9139
9150
|
], K.prototype, "hasDescription", 2);
|
|
9140
9151
|
Q([
|
|
9141
|
-
|
|
9152
|
+
T()
|
|
9142
9153
|
], K.prototype, "hasLabel", 2);
|
|
9143
9154
|
Q([
|
|
9144
|
-
|
|
9155
|
+
T()
|
|
9145
9156
|
], K.prototype, "hasSuffix", 2);
|
|
9146
9157
|
Q([
|
|
9147
|
-
|
|
9158
|
+
T()
|
|
9148
9159
|
], K.prototype, "hasPrefix", 2);
|
|
9149
9160
|
K = Q([
|
|
9150
9161
|
_(Il)
|
|
@@ -9155,7 +9166,7 @@ var Fl = Object.defineProperty, zl = Object.getOwnPropertyDescriptor, mt = (r, t
|
|
|
9155
9166
|
return i && e && Fl(t, s, e), e;
|
|
9156
9167
|
};
|
|
9157
9168
|
const Rl = "sonic-textarea";
|
|
9158
|
-
let lt = class extends Ns(ke(
|
|
9169
|
+
let lt = class extends Ns(ke(Y(w))) {
|
|
9159
9170
|
constructor() {
|
|
9160
9171
|
super(...arguments), this.size = "md", this.readonly = !1, this.hasDescription = !1, this.hasLabel = !1;
|
|
9161
9172
|
}
|
|
@@ -9234,7 +9245,7 @@ ${this.value}</textarea
|
|
|
9234
9245
|
}
|
|
9235
9246
|
};
|
|
9236
9247
|
lt.styles = [
|
|
9237
|
-
|
|
9248
|
+
Tt,
|
|
9238
9249
|
Si,
|
|
9239
9250
|
Ts,
|
|
9240
9251
|
Ms,
|
|
@@ -9280,10 +9291,10 @@ mt([
|
|
|
9280
9291
|
ct({ slot: "description", flatten: !0 })
|
|
9281
9292
|
], lt.prototype, "slotDescriptionNodes", 2);
|
|
9282
9293
|
mt([
|
|
9283
|
-
|
|
9294
|
+
T()
|
|
9284
9295
|
], lt.prototype, "hasDescription", 2);
|
|
9285
9296
|
mt([
|
|
9286
|
-
|
|
9297
|
+
T()
|
|
9287
9298
|
], lt.prototype, "hasLabel", 2);
|
|
9288
9299
|
lt = mt([
|
|
9289
9300
|
_(Rl)
|
|
@@ -9314,10 +9325,10 @@ ti.styles = [
|
|
|
9314
9325
|
ti = Bl([
|
|
9315
9326
|
_("sonic-legend-description")
|
|
9316
9327
|
], ti);
|
|
9317
|
-
var
|
|
9318
|
-
for (var e = i > 1 ? void 0 : i ?
|
|
9328
|
+
var ql = Object.defineProperty, Hl = Object.getOwnPropertyDescriptor, Pe = (r, t, s, i) => {
|
|
9329
|
+
for (var e = i > 1 ? void 0 : i ? Hl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9319
9330
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
9320
|
-
return i && e &&
|
|
9331
|
+
return i && e && ql(t, s, e), e;
|
|
9321
9332
|
};
|
|
9322
9333
|
const Wl = "sonic-legend";
|
|
9323
9334
|
let Vt = class extends w {
|
|
@@ -9410,13 +9421,13 @@ Pe([
|
|
|
9410
9421
|
Vt = Pe([
|
|
9411
9422
|
_(Wl)
|
|
9412
9423
|
], Vt);
|
|
9413
|
-
var Kl = Object.defineProperty,
|
|
9414
|
-
for (var e = i > 1 ? void 0 : i ?
|
|
9424
|
+
var Kl = Object.defineProperty, Yl = Object.getOwnPropertyDescriptor, jt = (r, t, s, i) => {
|
|
9425
|
+
for (var e = i > 1 ? void 0 : i ? Yl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9415
9426
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
9416
9427
|
return i && e && Kl(t, s, e), e;
|
|
9417
9428
|
};
|
|
9418
|
-
const
|
|
9419
|
-
let xt = class extends
|
|
9429
|
+
const Zl = "sonic-fieldset";
|
|
9430
|
+
let xt = class extends Y(w) {
|
|
9420
9431
|
constructor() {
|
|
9421
9432
|
super(...arguments), this.disabled = !1, this.variant = "default";
|
|
9422
9433
|
}
|
|
@@ -9488,35 +9499,35 @@ xt.styles = [
|
|
|
9488
9499
|
}
|
|
9489
9500
|
`
|
|
9490
9501
|
];
|
|
9491
|
-
|
|
9502
|
+
jt([
|
|
9492
9503
|
l({ type: Boolean, reflect: !0 })
|
|
9493
9504
|
], xt.prototype, "disabled", 2);
|
|
9494
|
-
|
|
9505
|
+
jt([
|
|
9495
9506
|
l({ type: String })
|
|
9496
9507
|
], xt.prototype, "form", 2);
|
|
9497
|
-
|
|
9508
|
+
jt([
|
|
9498
9509
|
l({ type: String })
|
|
9499
9510
|
], xt.prototype, "label", 2);
|
|
9500
|
-
|
|
9511
|
+
jt([
|
|
9501
9512
|
l({ type: String })
|
|
9502
9513
|
], xt.prototype, "description", 2);
|
|
9503
|
-
|
|
9514
|
+
jt([
|
|
9504
9515
|
l({ type: String })
|
|
9505
9516
|
], xt.prototype, "iconName", 2);
|
|
9506
|
-
|
|
9517
|
+
jt([
|
|
9507
9518
|
l({ type: String })
|
|
9508
9519
|
], xt.prototype, "iconLibrary", 2);
|
|
9509
|
-
|
|
9520
|
+
jt([
|
|
9510
9521
|
l({ type: String })
|
|
9511
9522
|
], xt.prototype, "iconPrefix", 2);
|
|
9512
|
-
|
|
9523
|
+
jt([
|
|
9513
9524
|
l({ type: Boolean, reflect: !0 })
|
|
9514
9525
|
], xt.prototype, "tight", 2);
|
|
9515
|
-
|
|
9526
|
+
jt([
|
|
9516
9527
|
l({ type: String, reflect: !0 })
|
|
9517
9528
|
], xt.prototype, "variant", 2);
|
|
9518
|
-
xt =
|
|
9519
|
-
_(
|
|
9529
|
+
xt = jt([
|
|
9530
|
+
_(Zl)
|
|
9520
9531
|
], xt);
|
|
9521
9532
|
var Gl = Object.defineProperty, Ql = Object.getOwnPropertyDescriptor, Di = (r, t, s, i) => {
|
|
9522
9533
|
for (var e = i > 1 ? void 0 : i ? Ql(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
@@ -9524,7 +9535,7 @@ var Gl = Object.defineProperty, Ql = Object.getOwnPropertyDescriptor, Di = (r, t
|
|
|
9524
9535
|
return i && e && Gl(t, s, e), e;
|
|
9525
9536
|
};
|
|
9526
9537
|
const Xl = "sonic-form-layout";
|
|
9527
|
-
let Ke = class extends
|
|
9538
|
+
let Ke = class extends Y(w) {
|
|
9528
9539
|
constructor() {
|
|
9529
9540
|
super(...arguments), this._resizeController = new Ur(this, {}), this.oneFormElement = !1;
|
|
9530
9541
|
}
|
|
@@ -9596,7 +9607,7 @@ var Jl = Object.defineProperty, tc = Object.getOwnPropertyDescriptor, ki = (r, t
|
|
|
9596
9607
|
return i && e && Jl(t, s, e), e;
|
|
9597
9608
|
};
|
|
9598
9609
|
const ec = "sonic-form-actions";
|
|
9599
|
-
let
|
|
9610
|
+
let Ye = class extends w {
|
|
9600
9611
|
constructor() {
|
|
9601
9612
|
super(...arguments), this.direction = "row", this.justify = "flex-start";
|
|
9602
9613
|
}
|
|
@@ -9608,7 +9619,7 @@ let Ze = class extends w {
|
|
|
9608
9619
|
return g`<slot style=${ut(r)}></slot>`;
|
|
9609
9620
|
}
|
|
9610
9621
|
};
|
|
9611
|
-
|
|
9622
|
+
Ye.styles = [
|
|
9612
9623
|
$`
|
|
9613
9624
|
:host {
|
|
9614
9625
|
display: block;
|
|
@@ -9622,20 +9633,20 @@ Ze.styles = [
|
|
|
9622
9633
|
];
|
|
9623
9634
|
ki([
|
|
9624
9635
|
l({ type: String })
|
|
9625
|
-
],
|
|
9636
|
+
], Ye.prototype, "direction", 2);
|
|
9626
9637
|
ki([
|
|
9627
9638
|
l({ type: String })
|
|
9628
|
-
],
|
|
9629
|
-
|
|
9639
|
+
], Ye.prototype, "justify", 2);
|
|
9640
|
+
Ye = ki([
|
|
9630
9641
|
_(ec)
|
|
9631
|
-
],
|
|
9642
|
+
], Ye);
|
|
9632
9643
|
var sc = Object.defineProperty, ic = Object.getOwnPropertyDescriptor, ee = (r, t, s, i) => {
|
|
9633
9644
|
for (var e = i > 1 ? void 0 : i ? ic(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9634
9645
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
9635
9646
|
return i && e && sc(t, s, e), e;
|
|
9636
9647
|
};
|
|
9637
9648
|
const rc = "sonic-group";
|
|
9638
|
-
let
|
|
9649
|
+
let Et = class extends w {
|
|
9639
9650
|
constructor() {
|
|
9640
9651
|
super(...arguments), this.alignItems = "center", this.hasDescription = !1, this.hasLabel = !1;
|
|
9641
9652
|
}
|
|
@@ -9681,8 +9692,8 @@ let Lt = class extends w {
|
|
|
9681
9692
|
</slot>`;
|
|
9682
9693
|
}
|
|
9683
9694
|
};
|
|
9684
|
-
|
|
9685
|
-
|
|
9695
|
+
Et.styles = [
|
|
9696
|
+
Tt,
|
|
9686
9697
|
Ts,
|
|
9687
9698
|
Ms,
|
|
9688
9699
|
$`
|
|
@@ -9709,29 +9720,29 @@ Lt.styles = [
|
|
|
9709
9720
|
];
|
|
9710
9721
|
ee([
|
|
9711
9722
|
l({ type: String })
|
|
9712
|
-
],
|
|
9723
|
+
], Et.prototype, "alignItems", 2);
|
|
9713
9724
|
ee([
|
|
9714
9725
|
l({ type: String })
|
|
9715
|
-
],
|
|
9726
|
+
], Et.prototype, "label", 2);
|
|
9716
9727
|
ee([
|
|
9717
9728
|
l({ type: String })
|
|
9718
|
-
],
|
|
9729
|
+
], Et.prototype, "description", 2);
|
|
9719
9730
|
ee([
|
|
9720
9731
|
ct({ slot: "label", flatten: !0 })
|
|
9721
|
-
],
|
|
9732
|
+
], Et.prototype, "slotLabelNodes", 2);
|
|
9722
9733
|
ee([
|
|
9723
9734
|
ct({ slot: "description", flatten: !0 })
|
|
9724
|
-
],
|
|
9735
|
+
], Et.prototype, "slotDescriptionNodes", 2);
|
|
9725
9736
|
ee([
|
|
9726
|
-
|
|
9727
|
-
],
|
|
9737
|
+
T()
|
|
9738
|
+
], Et.prototype, "hasDescription", 2);
|
|
9728
9739
|
ee([
|
|
9729
|
-
|
|
9730
|
-
],
|
|
9731
|
-
|
|
9740
|
+
T()
|
|
9741
|
+
], Et.prototype, "hasLabel", 2);
|
|
9742
|
+
Et = ee([
|
|
9732
9743
|
_(rc)
|
|
9733
|
-
],
|
|
9734
|
-
var oc = Object.defineProperty, nc = Object.getOwnPropertyDescriptor,
|
|
9744
|
+
], Et);
|
|
9745
|
+
var oc = Object.defineProperty, nc = Object.getOwnPropertyDescriptor, It = (r, t, s, i) => {
|
|
9735
9746
|
for (var e = i > 1 ? void 0 : i ? nc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9736
9747
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
9737
9748
|
return i && e && oc(t, s, e), e;
|
|
@@ -9842,34 +9853,34 @@ Pt.styles = [
|
|
|
9842
9853
|
}
|
|
9843
9854
|
`
|
|
9844
9855
|
];
|
|
9845
|
-
|
|
9856
|
+
It([
|
|
9846
9857
|
l({ type: String })
|
|
9847
9858
|
], Pt.prototype, "rounded", 2);
|
|
9848
|
-
|
|
9859
|
+
It([
|
|
9849
9860
|
l({ type: String })
|
|
9850
9861
|
], Pt.prototype, "src", 2);
|
|
9851
|
-
|
|
9862
|
+
It([
|
|
9852
9863
|
l({ type: String })
|
|
9853
9864
|
], Pt.prototype, "alt", 2);
|
|
9854
|
-
|
|
9865
|
+
It([
|
|
9855
9866
|
l({ type: String })
|
|
9856
9867
|
], Pt.prototype, "loading", 2);
|
|
9857
|
-
|
|
9868
|
+
It([
|
|
9858
9869
|
l({ type: String, reflect: !0 })
|
|
9859
9870
|
], Pt.prototype, "transition", 2);
|
|
9860
|
-
|
|
9871
|
+
It([
|
|
9861
9872
|
l({ type: String })
|
|
9862
9873
|
], Pt.prototype, "ratio", 2);
|
|
9863
|
-
|
|
9874
|
+
It([
|
|
9864
9875
|
l({ type: String })
|
|
9865
9876
|
], Pt.prototype, "objectPosition", 2);
|
|
9866
|
-
|
|
9877
|
+
It([
|
|
9867
9878
|
l({ type: String })
|
|
9868
9879
|
], Pt.prototype, "imageRendering", 2);
|
|
9869
|
-
|
|
9880
|
+
It([
|
|
9870
9881
|
l({ type: Boolean, reflect: !0 })
|
|
9871
9882
|
], Pt.prototype, "cover", 2);
|
|
9872
|
-
Pt =
|
|
9883
|
+
Pt = It([
|
|
9873
9884
|
_(ac)
|
|
9874
9885
|
], Pt);
|
|
9875
9886
|
var lc = Object.defineProperty, cc = Object.getOwnPropertyDescriptor, wt = (r, t, s, i) => {
|
|
@@ -10142,7 +10153,7 @@ wt([
|
|
|
10142
10153
|
ve({ slot: "more", selector: "*" })
|
|
10143
10154
|
], dt.prototype, "moreElements", 2);
|
|
10144
10155
|
wt([
|
|
10145
|
-
|
|
10156
|
+
T()
|
|
10146
10157
|
], dt.prototype, "hasMoreElements", 2);
|
|
10147
10158
|
dt = wt([
|
|
10148
10159
|
_(hc)
|
|
@@ -10302,13 +10313,13 @@ var Dc = Object.defineProperty, kc = Object.getOwnPropertyDescriptor, J = (r, t,
|
|
|
10302
10313
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
10303
10314
|
return i && e && Dc(t, s, e), e;
|
|
10304
10315
|
};
|
|
10305
|
-
const
|
|
10306
|
-
let I = class extends
|
|
10316
|
+
const qr = "sonic-modal";
|
|
10317
|
+
let I = class extends Y(w) {
|
|
10307
10318
|
constructor() {
|
|
10308
10319
|
super(...arguments), this.forceAction = !1, this.removeOnHide = !1, this.removeHashOnHide = !1, this.align = "left", this.padding = "var(--sc-modal-py) var(--sc-modal-px)", this.maxWidth = "var(--sc-modal-max-w) ", this.maxHeight = "var(--sc-modal-max-h) ", this.width = "100%", this.height = "auto", this.zIndex = "var(--sc-modal-z-index)", this.fullScreen = !1, this.visible = !1;
|
|
10309
10320
|
}
|
|
10310
10321
|
static create(r) {
|
|
10311
|
-
const t = document.createElement(
|
|
10322
|
+
const t = document.createElement(qr);
|
|
10312
10323
|
return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.maxWidth && (t.maxWidth = r == null ? void 0 : r.maxWidth), r.width && (t.width = r == null ? void 0 : r.width), r.maxHeight && (t.maxHeight = r == null ? void 0 : r.maxHeight), r.height && (t.height = r == null ? void 0 : r.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r == null ? void 0 : r.fullScreen), r.effect && (t.effect = r == null ? void 0 : r.effect), r.paddingX && t.style.setProperty("--sc-modal-px", r == null ? void 0 : r.paddingX), r.paddingY && t.style.setProperty("--sc-modal-py", r == null ? void 0 : r.paddingY), r.zIndex && t.style.setProperty("--sc-modal-z-index", r == null ? void 0 : r.zIndex), bt.getPopContainer().appendChild(t), t.show(), t;
|
|
10313
10324
|
}
|
|
10314
10325
|
connectedCallback() {
|
|
@@ -10634,10 +10645,10 @@ J([
|
|
|
10634
10645
|
ve({ selector: "sonic-modal-close" })
|
|
10635
10646
|
], I.prototype, "closeBtn", 2);
|
|
10636
10647
|
I = J([
|
|
10637
|
-
_(
|
|
10648
|
+
_(qr)
|
|
10638
10649
|
], I);
|
|
10639
10650
|
typeof window < "u" && (window.SonicModal = I);
|
|
10640
|
-
var Lc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor,
|
|
10651
|
+
var Lc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor, Ft = (r, t, s, i) => {
|
|
10641
10652
|
for (var e = i > 1 ? void 0 : i ? Ec(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10642
10653
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
10643
10654
|
return i && e && Lc(t, s, e), e;
|
|
@@ -10680,7 +10691,7 @@ let $t = class extends w {
|
|
|
10680
10691
|
}
|
|
10681
10692
|
};
|
|
10682
10693
|
$t.styles = [
|
|
10683
|
-
|
|
10694
|
+
Tt,
|
|
10684
10695
|
$`
|
|
10685
10696
|
:host {
|
|
10686
10697
|
--sc-alert-color: var(--sc-base-content);
|
|
@@ -10775,34 +10786,34 @@ $t.styles = [
|
|
|
10775
10786
|
}
|
|
10776
10787
|
`
|
|
10777
10788
|
];
|
|
10778
|
-
|
|
10789
|
+
Ft([
|
|
10779
10790
|
l({ type: String })
|
|
10780
10791
|
], $t.prototype, "label", 2);
|
|
10781
|
-
|
|
10792
|
+
Ft([
|
|
10782
10793
|
l({ type: Boolean, reflect: !0 })
|
|
10783
10794
|
], $t.prototype, "noIcon", 2);
|
|
10784
|
-
|
|
10795
|
+
Ft([
|
|
10785
10796
|
l({ type: String })
|
|
10786
10797
|
], $t.prototype, "text", 2);
|
|
10787
|
-
|
|
10798
|
+
Ft([
|
|
10788
10799
|
l({ type: String })
|
|
10789
10800
|
], $t.prototype, "id", 2);
|
|
10790
|
-
|
|
10801
|
+
Ft([
|
|
10791
10802
|
l({ type: String, reflect: !0 })
|
|
10792
10803
|
], $t.prototype, "size", 2);
|
|
10793
|
-
|
|
10804
|
+
Ft([
|
|
10794
10805
|
l({ type: Boolean, reflect: !0 })
|
|
10795
10806
|
], $t.prototype, "dismissible", 2);
|
|
10796
|
-
|
|
10807
|
+
Ft([
|
|
10797
10808
|
l({ type: Boolean, reflect: !0 })
|
|
10798
10809
|
], $t.prototype, "background", 2);
|
|
10799
|
-
|
|
10810
|
+
Ft([
|
|
10800
10811
|
l({ type: String, reflect: !0 })
|
|
10801
10812
|
], $t.prototype, "status", 2);
|
|
10802
|
-
|
|
10813
|
+
Ft([
|
|
10803
10814
|
l({ type: Boolean, reflect: !0 })
|
|
10804
10815
|
], $t.prototype, "dismissForever", 2);
|
|
10805
|
-
$t =
|
|
10816
|
+
$t = Ft([
|
|
10806
10817
|
_(Tc)
|
|
10807
10818
|
], $t);
|
|
10808
10819
|
var Mc = Object.defineProperty, jc = Object.getOwnPropertyDescriptor, rs = (r, t, s, i) => {
|
|
@@ -10811,7 +10822,7 @@ var Mc = Object.defineProperty, jc = Object.getOwnPropertyDescriptor, rs = (r, t
|
|
|
10811
10822
|
return i && e && Mc(t, s, e), e;
|
|
10812
10823
|
};
|
|
10813
10824
|
const Ic = "sonic-alert-messages";
|
|
10814
|
-
let fe = class extends
|
|
10825
|
+
let fe = class extends Y(w) {
|
|
10815
10826
|
constructor() {
|
|
10816
10827
|
super(...arguments), this.size = "md", this.background = !1, this.noIcon = !1, this.messages = [];
|
|
10817
10828
|
}
|
|
@@ -10853,13 +10864,13 @@ rs([
|
|
|
10853
10864
|
fe = rs([
|
|
10854
10865
|
_(Ic)
|
|
10855
10866
|
], fe);
|
|
10856
|
-
var Fc = Object.defineProperty, zc = Object.getOwnPropertyDescriptor,
|
|
10867
|
+
var Fc = Object.defineProperty, zc = Object.getOwnPropertyDescriptor, Hr = (r, t, s, i) => {
|
|
10857
10868
|
for (var e = i > 1 ? void 0 : i ? zc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10858
10869
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
10859
10870
|
return i && e && Fc(t, s, e), e;
|
|
10860
10871
|
};
|
|
10861
10872
|
const Rc = "sonic-toast-message-subscriber";
|
|
10862
|
-
let ri = class extends
|
|
10873
|
+
let ri = class extends Y(w) {
|
|
10863
10874
|
constructor() {
|
|
10864
10875
|
super(...arguments), this._messages = [];
|
|
10865
10876
|
}
|
|
@@ -10875,10 +10886,10 @@ let ri = class extends Z(w) {
|
|
|
10875
10886
|
return C;
|
|
10876
10887
|
}
|
|
10877
10888
|
};
|
|
10878
|
-
|
|
10889
|
+
Hr([
|
|
10879
10890
|
l({ type: Array })
|
|
10880
10891
|
], ri.prototype, "messages", 1);
|
|
10881
|
-
ri =
|
|
10892
|
+
ri = Hr([
|
|
10882
10893
|
_(Rc)
|
|
10883
10894
|
], ri);
|
|
10884
10895
|
var Uc = Object.defineProperty, Vc = Object.getOwnPropertyDescriptor, os = (r, t, s, i) => {
|
|
@@ -11021,10 +11032,10 @@ os([
|
|
|
11021
11032
|
ge = os([
|
|
11022
11033
|
_(Bc)
|
|
11023
11034
|
], ge);
|
|
11024
|
-
var
|
|
11025
|
-
for (var e = i > 1 ? void 0 : i ?
|
|
11035
|
+
var qc = Object.defineProperty, Hc = Object.getOwnPropertyDescriptor, zt = (r, t, s, i) => {
|
|
11036
|
+
for (var e = i > 1 ? void 0 : i ? Hc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11026
11037
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
11027
|
-
return i && e &&
|
|
11038
|
+
return i && e && qc(t, s, e), e;
|
|
11028
11039
|
};
|
|
11029
11040
|
const Wc = "sonic-divider";
|
|
11030
11041
|
let Ct = class extends w {
|
|
@@ -11170,38 +11181,38 @@ Ct.styles = [
|
|
|
11170
11181
|
}
|
|
11171
11182
|
`
|
|
11172
11183
|
];
|
|
11173
|
-
|
|
11184
|
+
zt([
|
|
11174
11185
|
ct({ flatten: !0 })
|
|
11175
11186
|
], Ct.prototype, "slotNodes", 2);
|
|
11176
|
-
|
|
11187
|
+
zt([
|
|
11177
11188
|
be("div")
|
|
11178
11189
|
], Ct.prototype, "divider", 2);
|
|
11179
|
-
|
|
11190
|
+
zt([
|
|
11180
11191
|
l({ type: String })
|
|
11181
11192
|
], Ct.prototype, "label", 2);
|
|
11182
|
-
|
|
11193
|
+
zt([
|
|
11183
11194
|
l({ type: String, reflect: !0 })
|
|
11184
11195
|
], Ct.prototype, "size", 2);
|
|
11185
|
-
|
|
11196
|
+
zt([
|
|
11186
11197
|
l({ type: String, reflect: !0 })
|
|
11187
11198
|
], Ct.prototype, "align", 2);
|
|
11188
|
-
|
|
11199
|
+
zt([
|
|
11189
11200
|
l({ type: Boolean, reflect: !0 })
|
|
11190
11201
|
], Ct.prototype, "vertical", 2);
|
|
11191
|
-
|
|
11202
|
+
zt([
|
|
11192
11203
|
l({ type: Boolean, reflect: !0 })
|
|
11193
11204
|
], Ct.prototype, "noMargin", 2);
|
|
11194
|
-
|
|
11205
|
+
zt([
|
|
11195
11206
|
l({ type: Boolean, reflect: !0 })
|
|
11196
11207
|
], Ct.prototype, "dashed", 2);
|
|
11197
|
-
|
|
11208
|
+
zt([
|
|
11198
11209
|
l({ type: Boolean, reflect: !0 })
|
|
11199
11210
|
], Ct.prototype, "dotted", 2);
|
|
11200
|
-
Ct =
|
|
11211
|
+
Ct = zt([
|
|
11201
11212
|
_(Wc)
|
|
11202
11213
|
], Ct);
|
|
11203
|
-
var Kc = Object.defineProperty,
|
|
11204
|
-
for (var e = i > 1 ? void 0 : i ?
|
|
11214
|
+
var Kc = Object.defineProperty, Yc = Object.getOwnPropertyDescriptor, Zc = (r, t, s, i) => {
|
|
11215
|
+
for (var e = i > 1 ? void 0 : i ? Yc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11205
11216
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
11206
11217
|
return i && e && Kc(t, s, e), e;
|
|
11207
11218
|
};
|
|
@@ -11225,7 +11236,7 @@ oi.styles = [
|
|
|
11225
11236
|
}
|
|
11226
11237
|
`
|
|
11227
11238
|
];
|
|
11228
|
-
oi =
|
|
11239
|
+
oi = Zc([
|
|
11229
11240
|
_(Gc)
|
|
11230
11241
|
], oi);
|
|
11231
11242
|
var Qc = Object.defineProperty, Xc = Object.getOwnPropertyDescriptor, Li = (r, t, s, i) => {
|
|
@@ -11234,7 +11245,7 @@ var Qc = Object.defineProperty, Xc = Object.getOwnPropertyDescriptor, Li = (r, t
|
|
|
11234
11245
|
return i && e && Qc(t, s, e), e;
|
|
11235
11246
|
};
|
|
11236
11247
|
const Jc = "sonic-card-header";
|
|
11237
|
-
let
|
|
11248
|
+
let Ze = class extends w {
|
|
11238
11249
|
render() {
|
|
11239
11250
|
return g`
|
|
11240
11251
|
<div class="header">
|
|
@@ -11248,7 +11259,7 @@ let Ye = class extends w {
|
|
|
11248
11259
|
`;
|
|
11249
11260
|
}
|
|
11250
11261
|
};
|
|
11251
|
-
|
|
11262
|
+
Ze.styles = [
|
|
11252
11263
|
$`
|
|
11253
11264
|
:host {
|
|
11254
11265
|
--sc-card-header-mb: 1.35rem;
|
|
@@ -11286,13 +11297,13 @@ Ye.styles = [
|
|
|
11286
11297
|
];
|
|
11287
11298
|
Li([
|
|
11288
11299
|
l()
|
|
11289
|
-
],
|
|
11300
|
+
], Ze.prototype, "label", 2);
|
|
11290
11301
|
Li([
|
|
11291
11302
|
l()
|
|
11292
|
-
],
|
|
11293
|
-
|
|
11303
|
+
], Ze.prototype, "description", 2);
|
|
11304
|
+
Ze = Li([
|
|
11294
11305
|
_(Jc)
|
|
11295
|
-
],
|
|
11306
|
+
], Ze);
|
|
11296
11307
|
var th = Object.defineProperty, eh = Object.getOwnPropertyDescriptor, sh = (r, t, s, i) => {
|
|
11297
11308
|
for (var e = i > 1 ? void 0 : i ? eh(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11298
11309
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
@@ -11505,7 +11516,7 @@ var dh = Object.defineProperty, ph = Object.getOwnPropertyDescriptor, ns = (r, t
|
|
|
11505
11516
|
return i && e && dh(t, s, e), e;
|
|
11506
11517
|
};
|
|
11507
11518
|
const uh = "sonic-tr";
|
|
11508
|
-
let me = class extends
|
|
11519
|
+
let me = class extends Y(w) {
|
|
11509
11520
|
constructor() {
|
|
11510
11521
|
super(...arguments), this._metadata_ = {};
|
|
11511
11522
|
}
|
|
@@ -11625,7 +11636,7 @@ var bh = Object.defineProperty, vh = Object.getOwnPropertyDescriptor, se = (r, t
|
|
|
11625
11636
|
return i && e && bh(t, s, e), e;
|
|
11626
11637
|
};
|
|
11627
11638
|
const yh = "sonic-td";
|
|
11628
|
-
let
|
|
11639
|
+
let Nt = class extends w {
|
|
11629
11640
|
render() {
|
|
11630
11641
|
const r = {
|
|
11631
11642
|
textAlign: this.align,
|
|
@@ -11639,7 +11650,7 @@ let Et = class extends w {
|
|
|
11639
11650
|
</td>`;
|
|
11640
11651
|
}
|
|
11641
11652
|
};
|
|
11642
|
-
|
|
11653
|
+
Nt.styles = [
|
|
11643
11654
|
Ei,
|
|
11644
11655
|
$`
|
|
11645
11656
|
:host {
|
|
@@ -11658,28 +11669,28 @@ Et.styles = [
|
|
|
11658
11669
|
];
|
|
11659
11670
|
se([
|
|
11660
11671
|
l({ type: Number })
|
|
11661
|
-
],
|
|
11672
|
+
], Nt.prototype, "colSpan", 2);
|
|
11662
11673
|
se([
|
|
11663
11674
|
l({ type: Number })
|
|
11664
|
-
],
|
|
11675
|
+
], Nt.prototype, "rowSpan", 2);
|
|
11665
11676
|
se([
|
|
11666
11677
|
l({ type: String })
|
|
11667
|
-
],
|
|
11678
|
+
], Nt.prototype, "align", 2);
|
|
11668
11679
|
se([
|
|
11669
11680
|
l({ type: String })
|
|
11670
|
-
],
|
|
11681
|
+
], Nt.prototype, "vAlign", 2);
|
|
11671
11682
|
se([
|
|
11672
11683
|
l({ type: String })
|
|
11673
|
-
],
|
|
11684
|
+
], Nt.prototype, "minWidth", 2);
|
|
11674
11685
|
se([
|
|
11675
11686
|
l({ type: String })
|
|
11676
|
-
],
|
|
11687
|
+
], Nt.prototype, "maxWidth", 2);
|
|
11677
11688
|
se([
|
|
11678
11689
|
l({ type: String })
|
|
11679
|
-
],
|
|
11680
|
-
|
|
11690
|
+
], Nt.prototype, "width", 2);
|
|
11691
|
+
Nt = se([
|
|
11681
11692
|
_(yh)
|
|
11682
|
-
],
|
|
11693
|
+
], Nt);
|
|
11683
11694
|
var wh = Object.defineProperty, _h = Object.getOwnPropertyDescriptor, xh = (r, t, s, i) => {
|
|
11684
11695
|
for (var e = i > 1 ? void 0 : i ? _h(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11685
11696
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
@@ -11808,7 +11819,7 @@ let Xt = class extends w {
|
|
|
11808
11819
|
};
|
|
11809
11820
|
Xt.styles = [
|
|
11810
11821
|
es,
|
|
11811
|
-
|
|
11822
|
+
Tt,
|
|
11812
11823
|
$`
|
|
11813
11824
|
:host {
|
|
11814
11825
|
--sc-table-fw: var(--sc-font-weight-base);
|
|
@@ -11955,13 +11966,13 @@ function Kr(r) {
|
|
|
11955
11966
|
s.call(this), this.__disconnectedCallbackCalls__ && this.__disconnectedCallbackCalls__.forEach((i) => i(this));
|
|
11956
11967
|
};
|
|
11957
11968
|
}
|
|
11958
|
-
function
|
|
11969
|
+
function qh(r) {
|
|
11959
11970
|
const t = r.split(".");
|
|
11960
11971
|
if (t.length == 0)
|
|
11961
11972
|
return function() {
|
|
11962
11973
|
};
|
|
11963
11974
|
const s = t.shift() || "";
|
|
11964
|
-
let i =
|
|
11975
|
+
let i = M.get(s);
|
|
11965
11976
|
return i = Je.traverse(i, t), function(e, o) {
|
|
11966
11977
|
if (!e)
|
|
11967
11978
|
return;
|
|
@@ -11975,14 +11986,14 @@ function Hh(r) {
|
|
|
11975
11986
|
});
|
|
11976
11987
|
};
|
|
11977
11988
|
}
|
|
11978
|
-
function
|
|
11989
|
+
function Hh(...r) {
|
|
11979
11990
|
const t = [], s = [];
|
|
11980
11991
|
for (let i = 0; i < r.length; i++) {
|
|
11981
11992
|
const o = r[i].split(".");
|
|
11982
11993
|
if (o.length == 0)
|
|
11983
11994
|
continue;
|
|
11984
11995
|
const n = o.shift() || "";
|
|
11985
|
-
let a =
|
|
11996
|
+
let a = M.get(n);
|
|
11986
11997
|
a = Je.traverse(a, o);
|
|
11987
11998
|
const c = /* @__PURE__ */ new Set(), h = (d) => {
|
|
11988
11999
|
t[i] = d, t.filter((f) => f !== null).length == r.length && c.forEach((f) => f(...t));
|
|
@@ -12003,8 +12014,8 @@ function qh(...r) {
|
|
|
12003
12014
|
}
|
|
12004
12015
|
window["concorde-decorator-subscriber"] = window["concorde-decorator-subscriber"] || {};
|
|
12005
12016
|
window["concorde-decorator-subscriber"] = {
|
|
12006
|
-
bind:
|
|
12007
|
-
onAssing:
|
|
12017
|
+
bind: qh,
|
|
12018
|
+
onAssing: Hh
|
|
12008
12019
|
};
|
|
12009
12020
|
window["concorde-directives-data-provider"] = window["concorde-directives-data-provider"] || {};
|
|
12010
12021
|
window["concorde-directives-data-provider"] = {
|
|
@@ -12021,6 +12032,6 @@ window["concorde-components"] = {
|
|
|
12021
12032
|
SonicToast: Wh,
|
|
12022
12033
|
SonicModal: Kh
|
|
12023
12034
|
};
|
|
12024
|
-
const
|
|
12025
|
-
|
|
12035
|
+
const Yh = window;
|
|
12036
|
+
Yh.concordeIsLoaded = !0;
|
|
12026
12037
|
window.dispatchEvent(new CustomEvent("concorde-loaded"));
|