@supersoniks/concorde 4.1.0 → 4.2.1
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 +68 -68
- package/concorde-core.es.js +458 -456
- package/dist/concorde-core.bundle.js +68 -68
- package/dist/concorde-core.es.js +458 -456
- package/docs/assets/{index-BTo6ly4d.js → index-B0IJ9I_B.js} +418 -320
- package/docs/assets/{index-B669R8JF.css → index-B3QHEJTV.css} +1 -1
- package/docs/index.html +2 -2
- package/docs/src/docs/_misc/bind.md +74 -0
- package/docs/src/docs/_misc/key.md +135 -0
- package/docs/src/docs/_misc/on-assign.md +5 -5
- package/docs/src/docs/_misc/wait-for-ancestors.md +160 -0
- package/docs/src/docs/search/docs-search.json +590 -0
- package/docs/src/tsconfig-model.json +1 -1
- package/docs/src/tsconfig.json +324 -314
- package/package.json +1 -4
- package/scripts/pre-build.mjs +0 -0
- package/src/core/components/functional/example/example.ts +0 -0
- package/src/core/components/ui/captcha/captcha.ts +12 -6
- package/src/core/utils/PublisherProxy.ts +8 -6
- package/src/core/utils/route.ts +21 -3
- package/src/tsconfig.json +0 -9
- package/src/tsconfig.tsbuildinfo +1 -1
- package/vite.config.mts +0 -0
- package/README.md +0 -163
- package/php/get-challenge.php +0 -34
- package/php/some-service.php +0 -42
- package/src/core/components/ui/modal/modal.stories.ts +0 -140
package/dist/concorde-core.es.js
CHANGED
|
@@ -289,12 +289,12 @@ const gs = ji.charAt(0).toUpperCase() + ji.slice(1);
|
|
|
289
289
|
function cs(r) {
|
|
290
290
|
return Object.prototype.hasOwnProperty.call(r, "__value");
|
|
291
291
|
}
|
|
292
|
-
function
|
|
293
|
-
return typeof r == "object" && r
|
|
292
|
+
function Wt(r) {
|
|
293
|
+
return typeof r == "object" && r !== null;
|
|
294
294
|
}
|
|
295
|
-
let
|
|
296
|
-
typeof __SONIC_PREFIX__ > "u" && (
|
|
297
|
-
const Us =
|
|
295
|
+
let Pe = "sonic";
|
|
296
|
+
typeof __SONIC_PREFIX__ > "u" && (Pe = "sonic");
|
|
297
|
+
const Us = Pe == "sonic" ? "publisher-proxies-data" : Pe + "-publisher-proxies-data", Kt = class Kt {
|
|
298
298
|
constructor(t, i, s) {
|
|
299
299
|
for (this._proxies_ = /* @__PURE__ */ new Map(), this._is_savable_ = !1, this._expiration_delay_ = 1e3 * 60 * 60 * 12, this._invalidate_on_page_show_ = !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 = i || null, this._parentKey_ = s, this.root = this, this._instanceCounter_ = 0; this.root.parent; )
|
|
300
300
|
this.root = this.root.parent;
|
|
@@ -306,7 +306,7 @@ const Us = xe == "sonic" ? "publisher-proxies-data" : xe + "-publisher-proxies-d
|
|
|
306
306
|
delete() {
|
|
307
307
|
for (const t in this._proxies_.keys())
|
|
308
308
|
t != "_parent_" && this._proxies_.get(t)?.delete();
|
|
309
|
-
this._invalidateListeners_.clear(), this._formInvalidateListeners_.clear(), this._assignListeners_.clear(), this._mutationListeners_.clear(), this._fillListeners_.clear(), this._templateFillListeners_.clear(), this._proxies_.clear(),
|
|
309
|
+
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_);
|
|
310
310
|
}
|
|
311
311
|
/**
|
|
312
312
|
* Utile pour savoir si quelque chose est en écoute d'une modification sur le proxy via une des methodes associées
|
|
@@ -451,9 +451,9 @@ const Us = xe == "sonic" ? "publisher-proxies-data" : xe + "-publisher-proxies-d
|
|
|
451
451
|
* Assigne une nouvelle valeur au proxy ce qui déclenche la transmission de la donnée en fonction des "écouteurs" associés
|
|
452
452
|
*/
|
|
453
453
|
set(t, i = !1) {
|
|
454
|
-
if (this._value_ === t || this._value_ && t && cs(this._value_) && cs(t) && this._value_.__value === t.__value)
|
|
454
|
+
if (this._value_ === t || Wt(this._value_) && Wt(t) && t && cs(this._value_) && cs(t) && this._value_.__value === t.__value || !Wt(t) && t === this._value_.__value)
|
|
455
455
|
return !0;
|
|
456
|
-
this._value_ =
|
|
456
|
+
this._value_ = Wt(t) ? t : { __value: t }, this._cachedGet_ = void 0;
|
|
457
457
|
const s = cs(this._value_);
|
|
458
458
|
if (this._parentKey_ && this.parent) {
|
|
459
459
|
const e = cs(this._value_) ? this._value_.__value : this._value_;
|
|
@@ -482,9 +482,9 @@ const Us = xe == "sonic" ? "publisher-proxies-data" : xe + "-publisher-proxies-d
|
|
|
482
482
|
}), this._publishAssignement_(), this.parent && this._parentKey_ && this.parent._publishDynamicFilling_(
|
|
483
483
|
this._parentKey_,
|
|
484
484
|
this._value_
|
|
485
|
-
),
|
|
485
|
+
), Wt(this._value_))
|
|
486
486
|
for (const e in this._value_) {
|
|
487
|
-
const o = t[e], l =
|
|
487
|
+
const o = t[e], l = Wt(o) ? o : { __value: o };
|
|
488
488
|
if (!this._proxies_.has(e)) {
|
|
489
489
|
this._publishDynamicFilling_(e, o);
|
|
490
490
|
continue;
|
|
@@ -505,11 +505,11 @@ const Us = xe == "sonic" ? "publisher-proxies-data" : xe + "-publisher-proxies-d
|
|
|
505
505
|
* retourner le webcomponent auquel le proxy est associé
|
|
506
506
|
*/
|
|
507
507
|
get $tag() {
|
|
508
|
-
return this._instanceCounter_ || (
|
|
508
|
+
return this._instanceCounter_ || (Kt.instancesCounter++, this._instanceCounter_ = Kt.instancesCounter), Kt.instances.set(this._instanceCounter_, this), "<" + Pe + '-publisher-proxy publisher="' + this._instanceCounter_ + '"></' + Pe + "-publisher-proxy>";
|
|
509
509
|
}
|
|
510
510
|
};
|
|
511
|
-
|
|
512
|
-
let We =
|
|
511
|
+
Kt.instances = /* @__PURE__ */ new Map(), Kt.instancesCounter = 0;
|
|
512
|
+
let We = Kt;
|
|
513
513
|
const T = class T {
|
|
514
514
|
constructor() {
|
|
515
515
|
if (this.enabledLocaStorageProxies = [], this.publishers = /* @__PURE__ */ new Map(), this.localStorageData = {}, this.isLocalStrorageReady = null, this.initialisedData = [], T.instance != null) throw "Singleton / use getInstance";
|
|
@@ -677,7 +677,7 @@ const T = class T {
|
|
|
677
677
|
return new TextDecoder().decode(h);
|
|
678
678
|
}
|
|
679
679
|
};
|
|
680
|
-
T.buildDate = "
|
|
680
|
+
T.buildDate = "Fri Apr 10 2026 16:29:04 GMT+0200 (Central European Summer Time)", T.changed = !1, T.saving = !1, T.saveId = 0, T.instance = null, T.instances = /* @__PURE__ */ new Map(), T.modifiedCollectore = [];
|
|
681
681
|
let k = T;
|
|
682
682
|
if (typeof window < "u") {
|
|
683
683
|
const r = window;
|
|
@@ -741,7 +741,7 @@ function Kr(r, t) {
|
|
|
741
741
|
return () => t().get();
|
|
742
742
|
if (!r._proxies_.has(s)) {
|
|
743
743
|
const e = r._value_[s], o = Ys(
|
|
744
|
-
|
|
744
|
+
Wt(e) ? e : { __value: e },
|
|
745
745
|
r,
|
|
746
746
|
s
|
|
747
747
|
);
|
|
@@ -776,7 +776,7 @@ function Kr(r, t) {
|
|
|
776
776
|
);
|
|
777
777
|
n._proxies_.set("_parent_", t()), r._proxies_.set(s, n);
|
|
778
778
|
}
|
|
779
|
-
return r._value_[s] !== e && (r._value_[s] = e, r._publishDynamicFilling_(s, e), r._proxies_.get(s)?.set(
|
|
779
|
+
return r._value_[s] !== e && (r._value_[s] = e, r._publishDynamicFilling_(s, e), r._proxies_.get(s)?.set(Wt(e) ? e : { __value: e })), !0;
|
|
780
780
|
},
|
|
781
781
|
/**
|
|
782
782
|
* Autres propriétés classiques d'un objet implémentées par le proxy
|
|
@@ -828,7 +828,7 @@ class Yr extends HTMLElement {
|
|
|
828
828
|
}
|
|
829
829
|
try {
|
|
830
830
|
customElements.define(
|
|
831
|
-
|
|
831
|
+
Pe + "-publisher-proxy",
|
|
832
832
|
Yr
|
|
833
833
|
);
|
|
834
834
|
} catch {
|
|
@@ -1092,7 +1092,7 @@ const { is: to, defineProperty: eo, getOwnPropertyDescriptor: so, getOwnProperty
|
|
|
1092
1092
|
return i;
|
|
1093
1093
|
} }, vi = (r, t) => !to(r, t), Ui = { attribute: !0, type: String, converter: vs, reflect: !1, useDefault: !1, hasChanged: vi };
|
|
1094
1094
|
Symbol.metadata ??= Symbol("metadata"), Ls.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
1095
|
-
let
|
|
1095
|
+
let _e = class extends HTMLElement {
|
|
1096
1096
|
static addInitializer(t) {
|
|
1097
1097
|
this._$Ei(), (this.l ??= []).push(t);
|
|
1098
1098
|
}
|
|
@@ -1273,7 +1273,7 @@ let we = class extends HTMLElement {
|
|
|
1273
1273
|
firstUpdated(t) {
|
|
1274
1274
|
}
|
|
1275
1275
|
};
|
|
1276
|
-
|
|
1276
|
+
_e.elementStyles = [], _e.shadowRootOptions = { mode: "open" }, _e[Be("elementProperties")] = /* @__PURE__ */ new Map(), _e[Be("finalized")] = /* @__PURE__ */ new Map(), ao?.({ ReactiveElement: _e }), (Ls.reactiveElementVersions ??= []).push("2.1.1");
|
|
1277
1277
|
/**
|
|
1278
1278
|
* @license
|
|
1279
1279
|
* Copyright 2017 Google LLC
|
|
@@ -1325,7 +1325,7 @@ const yi = (r, t, i) => (i.configurable = !0, i.enumerable = !0, Reflect.decorat
|
|
|
1325
1325
|
* Copyright 2017 Google LLC
|
|
1326
1326
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1327
1327
|
*/
|
|
1328
|
-
function
|
|
1328
|
+
function ee(r, t) {
|
|
1329
1329
|
return (i, s, e) => {
|
|
1330
1330
|
const o = (n) => n.renderRoot?.querySelector(r) ?? null;
|
|
1331
1331
|
return yi(i, s, { get() {
|
|
@@ -1338,7 +1338,7 @@ function te(r, t) {
|
|
|
1338
1338
|
* Copyright 2021 Google LLC
|
|
1339
1339
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1340
1340
|
*/
|
|
1341
|
-
function
|
|
1341
|
+
function ke(r) {
|
|
1342
1342
|
return (t, i) => {
|
|
1343
1343
|
const { slot: s, selector: e } = r ?? {}, o = "slot" + (s ? `[name=${s}]` : ":not([name])");
|
|
1344
1344
|
return yi(t, i, { get() {
|
|
@@ -1365,22 +1365,22 @@ function ht(r) {
|
|
|
1365
1365
|
* Copyright 2017 Google LLC
|
|
1366
1366
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1367
1367
|
*/
|
|
1368
|
-
const wi = globalThis, ys = wi.trustedTypes, Vi = ys ? ys.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, yr = "$lit$",
|
|
1369
|
-
\f\r]`,
|
|
1370
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Hi = /'/g, Wi = /"/g, _r = /^(?:script|style|textarea|title)$/i, po = (r) => (t, ...i) => ({ _$litType$: r, strings: t, values: i }), b = po(1), yt = Symbol.for("lit-noChange"), S = Symbol.for("lit-nothing"), Ki = /* @__PURE__ */ new WeakMap(),
|
|
1368
|
+
const wi = globalThis, ys = wi.trustedTypes, Vi = ys ? ys.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, yr = "$lit$", Yt = `lit$${Math.random().toFixed(9).slice(2)}$`, wr = "?" + Yt, ho = `<${wr}>`, de = document, Ke = () => de.createComment(""), Ye = (r) => r === null || typeof r != "object" && typeof r != "function", _i = Array.isArray, uo = (r) => _i(r) || typeof r?.[Symbol.iterator] == "function", Vs = `[
|
|
1369
|
+
\f\r]`, Fe = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Bi = /-->/g, qi = />/g, ne = RegExp(`>|${Vs}(?:([^\\s"'>=/]+)(${Vs}*=${Vs}*(?:[^
|
|
1370
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Hi = /'/g, Wi = /"/g, _r = /^(?:script|style|textarea|title)$/i, po = (r) => (t, ...i) => ({ _$litType$: r, strings: t, values: i }), b = po(1), yt = Symbol.for("lit-noChange"), S = Symbol.for("lit-nothing"), Ki = /* @__PURE__ */ new WeakMap(), he = de.createTreeWalker(de, 129);
|
|
1371
1371
|
function xr(r, t) {
|
|
1372
1372
|
if (!_i(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1373
1373
|
return Vi !== void 0 ? Vi.createHTML(t) : t;
|
|
1374
1374
|
}
|
|
1375
1375
|
const fo = (r, t) => {
|
|
1376
1376
|
const i = r.length - 1, s = [];
|
|
1377
|
-
let e, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n =
|
|
1377
|
+
let e, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = Fe;
|
|
1378
1378
|
for (let l = 0; l < i; l++) {
|
|
1379
1379
|
const c = r[l];
|
|
1380
1380
|
let h, u, d = -1, g = 0;
|
|
1381
|
-
for (; g < c.length && (n.lastIndex = g, u = n.exec(c), u !== null); ) g = n.lastIndex, n ===
|
|
1382
|
-
const m = n ===
|
|
1383
|
-
o += n ===
|
|
1381
|
+
for (; g < c.length && (n.lastIndex = g, u = n.exec(c), u !== null); ) g = n.lastIndex, n === Fe ? u[1] === "!--" ? n = Bi : u[1] !== void 0 ? n = qi : u[2] !== void 0 ? (_r.test(u[2]) && (e = RegExp("</" + u[2], "g")), n = ne) : u[3] !== void 0 && (n = ne) : n === ne ? u[0] === ">" ? (n = e ?? Fe, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, h = u[1], n = u[3] === void 0 ? ne : u[3] === '"' ? Wi : Hi) : n === Wi || n === Hi ? n = ne : n === Bi || n === qi ? n = Fe : (n = ne, e = void 0);
|
|
1382
|
+
const m = n === ne && r[l + 1].startsWith("/>") ? " " : "";
|
|
1383
|
+
o += n === Fe ? c + ho : d >= 0 ? (s.push(h), c.slice(0, d) + yr + c.slice(d) + Yt + m) : c + Yt + (d === -2 ? l : m);
|
|
1384
1384
|
}
|
|
1385
1385
|
return [xr(r, o + (r[i] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
|
1386
1386
|
};
|
|
@@ -1390,42 +1390,42 @@ let Zs = class Pr {
|
|
|
1390
1390
|
this.parts = [];
|
|
1391
1391
|
let o = 0, n = 0;
|
|
1392
1392
|
const l = t.length - 1, c = this.parts, [h, u] = fo(t, i);
|
|
1393
|
-
if (this.el = Pr.createElement(h, s),
|
|
1393
|
+
if (this.el = Pr.createElement(h, s), he.currentNode = this.el.content, i === 2 || i === 3) {
|
|
1394
1394
|
const d = this.el.content.firstChild;
|
|
1395
1395
|
d.replaceWith(...d.childNodes);
|
|
1396
1396
|
}
|
|
1397
|
-
for (; (e =
|
|
1397
|
+
for (; (e = he.nextNode()) !== null && c.length < l; ) {
|
|
1398
1398
|
if (e.nodeType === 1) {
|
|
1399
1399
|
if (e.hasAttributes()) for (const d of e.getAttributeNames()) if (d.endsWith(yr)) {
|
|
1400
|
-
const g = u[n++], m = e.getAttribute(d).split(
|
|
1400
|
+
const g = u[n++], m = e.getAttribute(d).split(Yt), v = /([.?@])?(.*)/.exec(g);
|
|
1401
1401
|
c.push({ type: 1, index: o, name: v[2], strings: m, ctor: v[1] === "." ? bo : v[1] === "?" ? go : v[1] === "@" ? vo : Es }), e.removeAttribute(d);
|
|
1402
|
-
} else d.startsWith(
|
|
1402
|
+
} else d.startsWith(Yt) && (c.push({ type: 6, index: o }), e.removeAttribute(d));
|
|
1403
1403
|
if (_r.test(e.tagName)) {
|
|
1404
|
-
const d = e.textContent.split(
|
|
1404
|
+
const d = e.textContent.split(Yt), g = d.length - 1;
|
|
1405
1405
|
if (g > 0) {
|
|
1406
1406
|
e.textContent = ys ? ys.emptyScript : "";
|
|
1407
|
-
for (let m = 0; m < g; m++) e.append(d[m], Ke()),
|
|
1407
|
+
for (let m = 0; m < g; m++) e.append(d[m], Ke()), he.nextNode(), c.push({ type: 2, index: ++o });
|
|
1408
1408
|
e.append(d[g], Ke());
|
|
1409
1409
|
}
|
|
1410
1410
|
}
|
|
1411
1411
|
} else if (e.nodeType === 8) if (e.data === wr) c.push({ type: 2, index: o });
|
|
1412
1412
|
else {
|
|
1413
1413
|
let d = -1;
|
|
1414
|
-
for (; (d = e.data.indexOf(
|
|
1414
|
+
for (; (d = e.data.indexOf(Yt, d + 1)) !== -1; ) c.push({ type: 7, index: o }), d += Yt.length - 1;
|
|
1415
1415
|
}
|
|
1416
1416
|
o++;
|
|
1417
1417
|
}
|
|
1418
1418
|
}
|
|
1419
1419
|
static createElement(t, i) {
|
|
1420
|
-
const s =
|
|
1420
|
+
const s = de.createElement("template");
|
|
1421
1421
|
return s.innerHTML = t, s;
|
|
1422
1422
|
}
|
|
1423
1423
|
};
|
|
1424
|
-
function
|
|
1424
|
+
function $e(r, t, i = r, s) {
|
|
1425
1425
|
if (t === yt) return t;
|
|
1426
1426
|
let e = s !== void 0 ? i._$Co?.[s] : i._$Cl;
|
|
1427
1427
|
const o = Ye(t) ? void 0 : t._$litDirective$;
|
|
1428
|
-
return e?.constructor !== o && (e?._$AO?.(!1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, i, s)), s !== void 0 ? (i._$Co ??= [])[s] = e : i._$Cl = e), e !== void 0 && (t =
|
|
1428
|
+
return e?.constructor !== o && (e?._$AO?.(!1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, i, s)), s !== void 0 ? (i._$Co ??= [])[s] = e : i._$Cl = e), e !== void 0 && (t = $e(r, e._$AS(r, t.values), e, s)), t;
|
|
1429
1429
|
}
|
|
1430
1430
|
let mo = class {
|
|
1431
1431
|
constructor(t, i) {
|
|
@@ -1438,24 +1438,24 @@ let mo = class {
|
|
|
1438
1438
|
return this._$AM._$AU;
|
|
1439
1439
|
}
|
|
1440
1440
|
u(t) {
|
|
1441
|
-
const { el: { content: i }, parts: s } = this._$AD, e = (t?.creationScope ??
|
|
1442
|
-
|
|
1443
|
-
let o =
|
|
1441
|
+
const { el: { content: i }, parts: s } = this._$AD, e = (t?.creationScope ?? de).importNode(i, !0);
|
|
1442
|
+
he.currentNode = e;
|
|
1443
|
+
let o = he.nextNode(), n = 0, l = 0, c = s[0];
|
|
1444
1444
|
for (; c !== void 0; ) {
|
|
1445
1445
|
if (n === c.index) {
|
|
1446
1446
|
let h;
|
|
1447
|
-
c.type === 2 ? h = new
|
|
1447
|
+
c.type === 2 ? h = new Oe(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new yo(o, this, t)), this._$AV.push(h), c = s[++l];
|
|
1448
1448
|
}
|
|
1449
|
-
n !== c?.index && (o =
|
|
1449
|
+
n !== c?.index && (o = he.nextNode(), n++);
|
|
1450
1450
|
}
|
|
1451
|
-
return
|
|
1451
|
+
return he.currentNode = de, e;
|
|
1452
1452
|
}
|
|
1453
1453
|
p(t) {
|
|
1454
1454
|
let i = 0;
|
|
1455
1455
|
for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
|
|
1456
1456
|
}
|
|
1457
1457
|
};
|
|
1458
|
-
class
|
|
1458
|
+
class Oe {
|
|
1459
1459
|
get _$AU() {
|
|
1460
1460
|
return this._$AM?._$AU ?? this._$Cv;
|
|
1461
1461
|
}
|
|
@@ -1474,7 +1474,7 @@ class ke {
|
|
|
1474
1474
|
return this._$AB;
|
|
1475
1475
|
}
|
|
1476
1476
|
_$AI(t, i = this) {
|
|
1477
|
-
t =
|
|
1477
|
+
t = $e(this, t, i), Ye(t) ? t === S || t == null || t === "" ? (this._$AH !== S && this._$AR(), this._$AH = S) : t !== this._$AH && t !== yt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : uo(t) ? this.k(t) : this._(t);
|
|
1478
1478
|
}
|
|
1479
1479
|
O(t) {
|
|
1480
1480
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1483,7 +1483,7 @@ class ke {
|
|
|
1483
1483
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
1484
1484
|
}
|
|
1485
1485
|
_(t) {
|
|
1486
|
-
this._$AH !== S && Ye(this._$AH) ? this._$AA.nextSibling.data = t : this.T(
|
|
1486
|
+
this._$AH !== S && Ye(this._$AH) ? this._$AA.nextSibling.data = t : this.T(de.createTextNode(t)), this._$AH = t;
|
|
1487
1487
|
}
|
|
1488
1488
|
$(t) {
|
|
1489
1489
|
const { values: i, _$litType$: s } = t, e = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = Zs.createElement(xr(s.h, s.h[0]), this.options)), s);
|
|
@@ -1501,7 +1501,7 @@ class ke {
|
|
|
1501
1501
|
_i(this._$AH) || (this._$AH = [], this._$AR());
|
|
1502
1502
|
const i = this._$AH;
|
|
1503
1503
|
let s, e = 0;
|
|
1504
|
-
for (const o of t) e === i.length ? i.push(s = new
|
|
1504
|
+
for (const o of t) e === i.length ? i.push(s = new Oe(this.O(Ke()), this.O(Ke()), this, this.options)) : s = i[e], s._$AI(o), e++;
|
|
1505
1505
|
e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
|
|
1506
1506
|
}
|
|
1507
1507
|
_$AR(t = this._$AA.nextSibling, i) {
|
|
@@ -1527,11 +1527,11 @@ class Es {
|
|
|
1527
1527
|
_$AI(t, i = this, s, e) {
|
|
1528
1528
|
const o = this.strings;
|
|
1529
1529
|
let n = !1;
|
|
1530
|
-
if (o === void 0) t =
|
|
1530
|
+
if (o === void 0) t = $e(this, t, i, 0), n = !Ye(t) || t !== this._$AH && t !== yt, n && (this._$AH = t);
|
|
1531
1531
|
else {
|
|
1532
1532
|
const l = t;
|
|
1533
1533
|
let c, h;
|
|
1534
|
-
for (t = o[0], c = 0; c < o.length - 1; c++) h =
|
|
1534
|
+
for (t = o[0], c = 0; c < o.length - 1; c++) h = $e(this, l[s + c], i, c), h === yt && (h = this._$AH[c]), n ||= !Ye(h) || h !== this._$AH[c], h === S ? t = S : t !== S && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
|
|
1535
1535
|
}
|
|
1536
1536
|
n && !e && this.j(t);
|
|
1537
1537
|
}
|
|
@@ -1560,7 +1560,7 @@ class vo extends Es {
|
|
|
1560
1560
|
super(t, i, s, e, o), this.type = 5;
|
|
1561
1561
|
}
|
|
1562
1562
|
_$AI(t, i = this) {
|
|
1563
|
-
if ((t =
|
|
1563
|
+
if ((t = $e(this, t, i, 0) ?? S) === yt) return;
|
|
1564
1564
|
const s = this._$AH, e = t === S && s !== S || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== S && (s === S || e);
|
|
1565
1565
|
e && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
1566
1566
|
}
|
|
@@ -1576,17 +1576,17 @@ class yo {
|
|
|
1576
1576
|
return this._$AM._$AU;
|
|
1577
1577
|
}
|
|
1578
1578
|
_$AI(t) {
|
|
1579
|
-
|
|
1579
|
+
$e(this, t);
|
|
1580
1580
|
}
|
|
1581
1581
|
}
|
|
1582
|
-
const wo = { I:
|
|
1583
|
-
_o?.(Zs,
|
|
1582
|
+
const wo = { I: Oe }, _o = wi.litHtmlPolyfillSupport;
|
|
1583
|
+
_o?.(Zs, Oe), (wi.litHtmlVersions ??= []).push("3.3.1");
|
|
1584
1584
|
const xo = (r, t, i) => {
|
|
1585
1585
|
const s = i?.renderBefore ?? t;
|
|
1586
1586
|
let e = s._$litPart$;
|
|
1587
1587
|
if (e === void 0) {
|
|
1588
1588
|
const o = i?.renderBefore ?? null;
|
|
1589
|
-
s._$litPart$ = e = new
|
|
1589
|
+
s._$litPart$ = e = new Oe(t.insertBefore(Ke(), o), o, void 0, i ?? {});
|
|
1590
1590
|
}
|
|
1591
1591
|
return e._$AI(r), e;
|
|
1592
1592
|
};
|
|
@@ -1595,7 +1595,7 @@ const xo = (r, t, i) => {
|
|
|
1595
1595
|
* Copyright 2020 Google LLC
|
|
1596
1596
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1597
1597
|
*/
|
|
1598
|
-
const { I: Po } = wo, $o = (r) => r.strings === void 0, Yi = () => document.createComment(""),
|
|
1598
|
+
const { I: Po } = wo, $o = (r) => r.strings === void 0, Yi = () => document.createComment(""), ze = (r, t, i) => {
|
|
1599
1599
|
const s = r._$AA.parentNode, e = t === void 0 ? r._$AB : t._$AA;
|
|
1600
1600
|
if (i === void 0) {
|
|
1601
1601
|
const o = s.insertBefore(Yi(), e), n = s.insertBefore(Yi(), e);
|
|
@@ -1615,7 +1615,7 @@ const { I: Po } = wo, $o = (r) => r.strings === void 0, Yi = () => document.crea
|
|
|
1615
1615
|
}
|
|
1616
1616
|
}
|
|
1617
1617
|
return i;
|
|
1618
|
-
},
|
|
1618
|
+
}, ae = (r, t, i = r) => (r._$AI(t, i), r), Co = {}, So = (r, t = Co) => r._$AH = t, Ao = (r) => r._$AH, Bs = (r) => {
|
|
1619
1619
|
r._$AR(), r._$AA.remove();
|
|
1620
1620
|
};
|
|
1621
1621
|
/**
|
|
@@ -1623,8 +1623,8 @@ const { I: Po } = wo, $o = (r) => r.strings === void 0, Yi = () => document.crea
|
|
|
1623
1623
|
* Copyright 2017 Google LLC
|
|
1624
1624
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1625
1625
|
*/
|
|
1626
|
-
const
|
|
1627
|
-
let
|
|
1626
|
+
const ge = { ATTRIBUTE: 1, CHILD: 2 }, se = (r) => (...t) => ({ _$litDirective$: r, values: t });
|
|
1627
|
+
let De = class {
|
|
1628
1628
|
constructor(t) {
|
|
1629
1629
|
}
|
|
1630
1630
|
get _$AU() {
|
|
@@ -1674,9 +1674,9 @@ function Oo(r, t = !1, i = 0) {
|
|
|
1674
1674
|
else qe(this, r);
|
|
1675
1675
|
}
|
|
1676
1676
|
const Do = (r) => {
|
|
1677
|
-
r.type ==
|
|
1677
|
+
r.type == ge.CHILD && (r._$AP ??= Oo, r._$AQ ??= ko);
|
|
1678
1678
|
};
|
|
1679
|
-
class xi extends
|
|
1679
|
+
class xi extends De {
|
|
1680
1680
|
constructor() {
|
|
1681
1681
|
super(...arguments), this._$AN = void 0;
|
|
1682
1682
|
}
|
|
@@ -1704,7 +1704,7 @@ class xi extends Oe {
|
|
|
1704
1704
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1705
1705
|
*/
|
|
1706
1706
|
const Pi = globalThis;
|
|
1707
|
-
let _ = class extends
|
|
1707
|
+
let _ = class extends _e {
|
|
1708
1708
|
constructor() {
|
|
1709
1709
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
1710
1710
|
}
|
|
@@ -1979,7 +1979,7 @@ const F = class F {
|
|
|
1979
1979
|
}
|
|
1980
1980
|
};
|
|
1981
1981
|
F.loadingGetPromises = /* @__PURE__ */ new Map(), F.tokens = /* @__PURE__ */ new Map(), F.invalidTokens = [], F.failledTokenUpdates = /* @__PURE__ */ new Map(), F.firstCallDoneFlags = /* @__PURE__ */ new Map();
|
|
1982
|
-
let
|
|
1982
|
+
let Ce = F;
|
|
1983
1983
|
Q.getApiConfiguration(
|
|
1984
1984
|
document.body || document.documentElement
|
|
1985
1985
|
);
|
|
@@ -1990,9 +1990,9 @@ const Eo = async (r, t) => {
|
|
|
1990
1990
|
* Copyright 2017 Google LLC
|
|
1991
1991
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1992
1992
|
*/
|
|
1993
|
-
let Xs = class extends
|
|
1993
|
+
let Xs = class extends De {
|
|
1994
1994
|
constructor(t) {
|
|
1995
|
-
if (super(t), this.it = S, t.type !==
|
|
1995
|
+
if (super(t), this.it = S, t.type !== ge.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
1996
1996
|
}
|
|
1997
1997
|
render(t) {
|
|
1998
1998
|
if (t === S || t == null) return this._t = void 0, this.it = t;
|
|
@@ -2005,7 +2005,7 @@ let Xs = class extends Oe {
|
|
|
2005
2005
|
}
|
|
2006
2006
|
};
|
|
2007
2007
|
Xs.directiveName = "unsafeHTML", Xs.resultType = 1;
|
|
2008
|
-
const z =
|
|
2008
|
+
const z = se(Xs), Gs = /* @__PURE__ */ new Map(), Zi = (r) => {
|
|
2009
2009
|
if (!r) return null;
|
|
2010
2010
|
const t = Q.getApiConfiguration(r), i = Q.getAncestorAttributeValue(
|
|
2011
2011
|
r,
|
|
@@ -2025,7 +2025,7 @@ const z = ee(Xs), Gs = /* @__PURE__ */ new Map(), Zi = (r) => {
|
|
|
2025
2025
|
break;
|
|
2026
2026
|
}
|
|
2027
2027
|
return o || (o = {
|
|
2028
|
-
api: new
|
|
2028
|
+
api: new Ce(t),
|
|
2029
2029
|
keysToTranslate: /* @__PURE__ */ new Set(),
|
|
2030
2030
|
translatedKeys: /* @__PURE__ */ new Set(),
|
|
2031
2031
|
wordingProvider: i,
|
|
@@ -2141,12 +2141,12 @@ const z = ee(Xs), Gs = /* @__PURE__ */ new Map(), Zi = (r) => {
|
|
|
2141
2141
|
V.publisher = k.get("sonic-wording", {
|
|
2142
2142
|
localStorageMode: "enabled"
|
|
2143
2143
|
}), V.firstCall = !0, V.versionProviderHandlers = /* @__PURE__ */ new Map();
|
|
2144
|
-
let
|
|
2145
|
-
const No =
|
|
2146
|
-
var
|
|
2147
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
2144
|
+
let xe = V;
|
|
2145
|
+
const No = se(xe), To = No;
|
|
2146
|
+
var Io = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, kt = (r, t, i, s) => {
|
|
2147
|
+
for (var e = s > 1 ? void 0 : s ? Mo(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
2148
2148
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
2149
|
-
return s && e &&
|
|
2149
|
+
return s && e && Io(t, i, e), e;
|
|
2150
2150
|
};
|
|
2151
2151
|
let hs = !1, qs = /* @__PURE__ */ new Set();
|
|
2152
2152
|
const G = (r, t) => {
|
|
@@ -2207,7 +2207,7 @@ const G = (r, t) => {
|
|
|
2207
2207
|
this.initPublisher(), this.addDebugger(), super.connectedCallback();
|
|
2208
2208
|
}
|
|
2209
2209
|
disconnectedCallback() {
|
|
2210
|
-
this.removeDebugger(), super.disconnectedCallback(), this.publisher && (this.publisher.stopTemplateFilling(this), this.publisher.offInternalMutation(this.requestUpdate)),
|
|
2210
|
+
this.removeDebugger(), super.disconnectedCallback(), this.publisher && (this.publisher.stopTemplateFilling(this), this.publisher.offInternalMutation(this.requestUpdate)), xe.publisher.stopTemplateFilling(this), this.onAssign && this.publisher?.offAssign(this.onAssign);
|
|
2211
2211
|
}
|
|
2212
2212
|
addDebugger() {
|
|
2213
2213
|
if (this.hasAttribute("debug") && !this.defferedDebug) {
|
|
@@ -2258,8 +2258,8 @@ const G = (r, t) => {
|
|
|
2258
2258
|
async initWording() {
|
|
2259
2259
|
const n = Object.getOwnPropertyNames(this.constructor.prototype);
|
|
2260
2260
|
for (const l of n)
|
|
2261
|
-
l.indexOf("wording_") == 0 &&
|
|
2262
|
-
|
|
2261
|
+
l.indexOf("wording_") == 0 && xe.callApi(this, l.substring(8));
|
|
2262
|
+
xe.publisher.startTemplateFilling(this);
|
|
2263
2263
|
}
|
|
2264
2264
|
/**
|
|
2265
2265
|
*
|
|
@@ -2587,9 +2587,9 @@ let tt = (H = class {
|
|
|
2587
2587
|
* Copyright 2018 Google LLC
|
|
2588
2588
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2589
2589
|
*/
|
|
2590
|
-
const Cr = "important", Vo = " !" + Cr, pt =
|
|
2590
|
+
const Cr = "important", Vo = " !" + Cr, pt = se(class extends De {
|
|
2591
2591
|
constructor(r) {
|
|
2592
|
-
if (super(r), r.type !==
|
|
2592
|
+
if (super(r), r.type !== ge.ATTRIBUTE || r.name !== "style" || r.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
2593
2593
|
}
|
|
2594
2594
|
render(r) {
|
|
2595
2595
|
return Object.keys(r).reduce(((t, i) => {
|
|
@@ -2617,7 +2617,7 @@ var Bo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, Ot = (r, t
|
|
|
2617
2617
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
2618
2618
|
return s && e && Bo(t, i, e), e;
|
|
2619
2619
|
};
|
|
2620
|
-
const ds = /* @__PURE__ */ new Map(),
|
|
2620
|
+
const ds = /* @__PURE__ */ new Map(), Le = (r) => {
|
|
2621
2621
|
class t extends r {
|
|
2622
2622
|
constructor(...s) {
|
|
2623
2623
|
super(), this.touched = !1, this.error = !1, this.autofocus = !1, this.required = !1, this.forceAutoFill = !1, this.disabled = !1, this.formDataProvider = "", this._name = "", this._value = "", this.onValueAssign = (e) => {
|
|
@@ -2788,7 +2788,7 @@ const ds = /* @__PURE__ */ new Map(), De = (r) => {
|
|
|
2788
2788
|
a()
|
|
2789
2789
|
], t.prototype, "value", 1), t;
|
|
2790
2790
|
};
|
|
2791
|
-
let Ho = class
|
|
2791
|
+
let Ho = class ce {
|
|
2792
2792
|
/**
|
|
2793
2793
|
* Vérifie si les deux tableaux ont le même contenu
|
|
2794
2794
|
*/
|
|
@@ -2835,7 +2835,7 @@ let Ho = class le {
|
|
|
2835
2835
|
})
|
|
2836
2836
|
}),
|
|
2837
2837
|
value: () => ({
|
|
2838
|
-
forKey: (i) =>
|
|
2838
|
+
forKey: (i) => ce.from(t.map((s) => s[i]))
|
|
2839
2839
|
}),
|
|
2840
2840
|
copy: () => ({
|
|
2841
2841
|
fromKey: (i) => ({
|
|
@@ -2847,8 +2847,8 @@ let Ho = class le {
|
|
|
2847
2847
|
})
|
|
2848
2848
|
})
|
|
2849
2849
|
}),
|
|
2850
|
-
map: (i) =>
|
|
2851
|
-
filter: (i) =>
|
|
2850
|
+
map: (i) => ce.from(t.map(i)),
|
|
2851
|
+
filter: (i) => ce.from(t.filter(i)),
|
|
2852
2852
|
find: (i) => t.find(i),
|
|
2853
2853
|
some: (i) => t.some(i),
|
|
2854
2854
|
every: (i) => t.every(i),
|
|
@@ -2865,14 +2865,14 @@ let Ho = class le {
|
|
|
2865
2865
|
}
|
|
2866
2866
|
s[e.get(n)].items.push(o);
|
|
2867
2867
|
}
|
|
2868
|
-
return
|
|
2868
|
+
return ce.from(s);
|
|
2869
2869
|
}
|
|
2870
2870
|
}),
|
|
2871
2871
|
without: () => ({
|
|
2872
2872
|
duplicates: () => ({
|
|
2873
2873
|
forKey: (i) => {
|
|
2874
2874
|
const s = [...new Set(t.map((e) => e[i]))];
|
|
2875
|
-
return
|
|
2875
|
+
return ce.from(
|
|
2876
2876
|
s.map(
|
|
2877
2877
|
(e) => t.find((o) => o[i] == e)
|
|
2878
2878
|
)
|
|
@@ -2883,7 +2883,7 @@ let Ho = class le {
|
|
|
2883
2883
|
havingSameValue: () => ({
|
|
2884
2884
|
forKey: (s) => {
|
|
2885
2885
|
const e = (o, n) => (l) => o[n] != l[n];
|
|
2886
|
-
return
|
|
2886
|
+
return ce.from(
|
|
2887
2887
|
t.filter(
|
|
2888
2888
|
(o) => i.every(
|
|
2889
2889
|
e(o, s)
|
|
@@ -2901,7 +2901,7 @@ let Ho = class le {
|
|
|
2901
2901
|
function Wo(r) {
|
|
2902
2902
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
2903
2903
|
}
|
|
2904
|
-
var
|
|
2904
|
+
var Ve = { exports: {} }, Ko = Ve.exports, Gi;
|
|
2905
2905
|
function Yo() {
|
|
2906
2906
|
return Gi || (Gi = 1, (function(r, t) {
|
|
2907
2907
|
var i = [].slice;
|
|
@@ -2974,11 +2974,11 @@ function Yo() {
|
|
|
2974
2974
|
return f == null && (f = p()), f(w);
|
|
2975
2975
|
};
|
|
2976
2976
|
}, s.baseMany = function(p, f, w, A, O) {
|
|
2977
|
-
var q, Z, ot,
|
|
2978
|
-
for (ot = O,
|
|
2979
|
-
w ?
|
|
2980
|
-
if (!(A &&
|
|
2981
|
-
return new s.Result(
|
|
2977
|
+
var q, Z, ot, je;
|
|
2978
|
+
for (ot = O, je = w ? "" : []; !(f != null && (q = f(ot), q != null) || (Z = p(ot), Z == null)); )
|
|
2979
|
+
w ? je += Z.value : je.push(Z.value), ot = Z.rest;
|
|
2980
|
+
if (!(A && je.length === 0))
|
|
2981
|
+
return new s.Result(je, ot);
|
|
2982
2982
|
}, s.many1 = function(p) {
|
|
2983
2983
|
return function(f) {
|
|
2984
2984
|
return s.baseMany(p, null, !1, !0, f);
|
|
@@ -3138,24 +3138,24 @@ function Yo() {
|
|
|
3138
3138
|
return L(this.ast, p, {});
|
|
3139
3139
|
}, e.escapeForRegex = d, e.concatMap = h, e.stringConcatMap = P, e.regexGroupCount = y, e.keysAndValuesToObject = m, e.P = s, e.newParser = v, e.defaultOptions = u, e.astNodeToRegexString = l, e.astNodeToNames = n, e.getParam = g, e.astNodeContainsSegmentsForProvidedParams = o, e.stringify = L, e;
|
|
3140
3140
|
});
|
|
3141
|
-
})(
|
|
3141
|
+
})(Ve, Ve.exports)), Ve.exports;
|
|
3142
3142
|
}
|
|
3143
3143
|
var Zo = Yo();
|
|
3144
|
-
const Vt = /* @__PURE__ */ Wo(Zo), Xo = Hr, Go = Ho, Qo = Ds, Jo = bs,
|
|
3144
|
+
const Vt = /* @__PURE__ */ Wo(Zo), Xo = Hr, Go = Ho, Qo = Ds, Jo = bs, Zt = Q, tn = tt, Ee = st, en = Ce, sn = Vt;
|
|
3145
3145
|
window["concorde-utils"] = window["concorde-utils"] || {};
|
|
3146
3146
|
window["concorde-utils"] = {
|
|
3147
3147
|
Utils: Xo,
|
|
3148
3148
|
Arrays: Go,
|
|
3149
3149
|
DataBindObserver: Qo,
|
|
3150
3150
|
Format: Jo,
|
|
3151
|
-
HTML:
|
|
3151
|
+
HTML: Zt,
|
|
3152
3152
|
LocationHandler: tn,
|
|
3153
|
-
Objects:
|
|
3153
|
+
Objects: Ee,
|
|
3154
3154
|
PublisherManager: k,
|
|
3155
3155
|
api: en,
|
|
3156
3156
|
URLPattern: sn
|
|
3157
3157
|
};
|
|
3158
|
-
var rn = Object.defineProperty, on = Object.getOwnPropertyDescriptor,
|
|
3158
|
+
var rn = Object.defineProperty, on = Object.getOwnPropertyDescriptor, Re = (r, t, i, s) => {
|
|
3159
3159
|
for (var e = s > 1 ? void 0 : s ? on(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
3160
3160
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
3161
3161
|
return s && e && rn(t, i, e), e;
|
|
@@ -3288,15 +3288,15 @@ const $i = (r) => {
|
|
|
3288
3288
|
])), this.hasAttribute("checked") && (!this.publisher || this.publisher.get().checked !== !1) && setTimeout(() => this.checked = !0, 1);
|
|
3289
3289
|
}
|
|
3290
3290
|
}
|
|
3291
|
-
return
|
|
3291
|
+
return Re([
|
|
3292
3292
|
a()
|
|
3293
|
-
], t.prototype, "value", 1),
|
|
3293
|
+
], t.prototype, "value", 1), Re([
|
|
3294
3294
|
a()
|
|
3295
|
-
], t.prototype, "forceAutoFill", 2),
|
|
3295
|
+
], t.prototype, "forceAutoFill", 2), Re([
|
|
3296
3296
|
a({ type: Boolean })
|
|
3297
|
-
], t.prototype, "unique", 2),
|
|
3297
|
+
], t.prototype, "unique", 2), Re([
|
|
3298
3298
|
a({ type: Boolean })
|
|
3299
|
-
], t.prototype, "radio", 2),
|
|
3299
|
+
], t.prototype, "radio", 2), Re([
|
|
3300
3300
|
a()
|
|
3301
3301
|
], t.prototype, "checked", 1), t;
|
|
3302
3302
|
};
|
|
@@ -3345,7 +3345,7 @@ var nn = Object.defineProperty, an = Object.getOwnPropertyDescriptor, B = (r, t,
|
|
|
3345
3345
|
return s && e && nn(t, i, e), e;
|
|
3346
3346
|
};
|
|
3347
3347
|
const ln = "sonic-button";
|
|
3348
|
-
let
|
|
3348
|
+
let M = class extends $i(Le(G(_))) {
|
|
3349
3349
|
constructor() {
|
|
3350
3350
|
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 = () => {
|
|
3351
3351
|
window.removeEventListener("pointerup", this.handleRepeatend), window.removeEventListener("blur", this.handleRepeatend), this.autoRepeat && (this.isRepeating = !1);
|
|
@@ -3443,7 +3443,7 @@ let I = class extends $i(De(G(_))) {
|
|
|
3443
3443
|
this.hasPrefix = !!this.prefixes?.length, this.hasSuffix = !!this.suffixes?.length;
|
|
3444
3444
|
}
|
|
3445
3445
|
};
|
|
3446
|
-
|
|
3446
|
+
M.styles = [
|
|
3447
3447
|
Tt,
|
|
3448
3448
|
$`
|
|
3449
3449
|
* {
|
|
@@ -3815,85 +3815,85 @@ I.styles = [
|
|
|
3815
3815
|
];
|
|
3816
3816
|
B([
|
|
3817
3817
|
a({ type: String, reflect: !0 })
|
|
3818
|
-
],
|
|
3818
|
+
], M.prototype, "type", 2);
|
|
3819
3819
|
B([
|
|
3820
3820
|
a({ type: String, reflect: !0 })
|
|
3821
|
-
],
|
|
3821
|
+
], M.prototype, "variant", 2);
|
|
3822
3822
|
B([
|
|
3823
3823
|
a({ type: String, reflect: !0 })
|
|
3824
|
-
],
|
|
3824
|
+
], M.prototype, "size", 2);
|
|
3825
3825
|
B([
|
|
3826
3826
|
a({ type: String, reflect: !0 })
|
|
3827
|
-
],
|
|
3827
|
+
], M.prototype, "shape", 2);
|
|
3828
3828
|
B([
|
|
3829
3829
|
a({ type: String })
|
|
3830
|
-
],
|
|
3830
|
+
], M.prototype, "direction", 2);
|
|
3831
3831
|
B([
|
|
3832
3832
|
a({ type: String, reflect: !0 })
|
|
3833
|
-
],
|
|
3833
|
+
], M.prototype, "alignItems", 2);
|
|
3834
3834
|
B([
|
|
3835
3835
|
a({ type: String })
|
|
3836
|
-
],
|
|
3836
|
+
], M.prototype, "justify", 2);
|
|
3837
3837
|
B([
|
|
3838
3838
|
a({ type: String, reflect: !0 })
|
|
3839
|
-
],
|
|
3839
|
+
], M.prototype, "align", 2);
|
|
3840
3840
|
B([
|
|
3841
3841
|
a({ type: String })
|
|
3842
|
-
],
|
|
3842
|
+
], M.prototype, "minWidth", 2);
|
|
3843
3843
|
B([
|
|
3844
3844
|
a({ type: Boolean, reflect: !0 })
|
|
3845
|
-
],
|
|
3845
|
+
], M.prototype, "icon", 2);
|
|
3846
3846
|
B([
|
|
3847
3847
|
a({ type: String })
|
|
3848
|
-
],
|
|
3848
|
+
], M.prototype, "download", 2);
|
|
3849
3849
|
B([
|
|
3850
3850
|
a({ type: String })
|
|
3851
|
-
],
|
|
3851
|
+
], M.prototype, "autoActive", 2);
|
|
3852
3852
|
B([
|
|
3853
3853
|
a({ type: Boolean, reflect: !0 })
|
|
3854
|
-
],
|
|
3854
|
+
], M.prototype, "loading", 2);
|
|
3855
3855
|
B([
|
|
3856
3856
|
E()
|
|
3857
|
-
],
|
|
3857
|
+
], M.prototype, "hasPrefix", 2);
|
|
3858
3858
|
B([
|
|
3859
3859
|
E()
|
|
3860
|
-
],
|
|
3860
|
+
], M.prototype, "hasSuffix", 2);
|
|
3861
3861
|
B([
|
|
3862
|
-
|
|
3863
|
-
],
|
|
3862
|
+
ke({ flatten: !0, slot: "prefix" })
|
|
3863
|
+
], M.prototype, "prefixes", 2);
|
|
3864
3864
|
B([
|
|
3865
|
-
|
|
3866
|
-
],
|
|
3865
|
+
ke({ flatten: !0, slot: "suffix" })
|
|
3866
|
+
], M.prototype, "suffixes", 2);
|
|
3867
3867
|
B([
|
|
3868
3868
|
a({ type: String })
|
|
3869
|
-
],
|
|
3869
|
+
], M.prototype, "target", 2);
|
|
3870
3870
|
B([
|
|
3871
3871
|
a({ type: String })
|
|
3872
|
-
],
|
|
3872
|
+
], M.prototype, "href", 1);
|
|
3873
3873
|
B([
|
|
3874
3874
|
a({ type: String })
|
|
3875
|
-
],
|
|
3875
|
+
], M.prototype, "goBack", 2);
|
|
3876
3876
|
B([
|
|
3877
3877
|
a({ type: Boolean })
|
|
3878
|
-
],
|
|
3878
|
+
], M.prototype, "pushState", 2);
|
|
3879
3879
|
B([
|
|
3880
3880
|
a({ type: Boolean, reflect: !0 })
|
|
3881
|
-
],
|
|
3881
|
+
], M.prototype, "active", 2);
|
|
3882
3882
|
B([
|
|
3883
3883
|
a({ type: Boolean, reflect: !0 })
|
|
3884
|
-
],
|
|
3884
|
+
], M.prototype, "autoRepeat", 2);
|
|
3885
3885
|
B([
|
|
3886
3886
|
a({ type: String, attribute: "data-aria-controls" })
|
|
3887
|
-
],
|
|
3887
|
+
], M.prototype, "ariaControls", 2);
|
|
3888
3888
|
B([
|
|
3889
3889
|
a({ type: Boolean, attribute: "data-aria-expanded" })
|
|
3890
|
-
],
|
|
3890
|
+
], M.prototype, "sonicAriaExpanded", 2);
|
|
3891
3891
|
B([
|
|
3892
3892
|
E()
|
|
3893
|
-
],
|
|
3894
|
-
|
|
3893
|
+
], M.prototype, "location", 2);
|
|
3894
|
+
M = B([
|
|
3895
3895
|
x(ln)
|
|
3896
|
-
],
|
|
3896
|
+
], M);
|
|
3897
3897
|
/**
|
|
3898
3898
|
* @license
|
|
3899
3899
|
* Copyright 2017 Google LLC
|
|
@@ -3903,9 +3903,9 @@ const Qi = (r, t, i) => {
|
|
|
3903
3903
|
const s = /* @__PURE__ */ new Map();
|
|
3904
3904
|
for (let e = t; e <= i; e++) s.set(r[e], e);
|
|
3905
3905
|
return s;
|
|
3906
|
-
}, Ns =
|
|
3906
|
+
}, Ns = se(class extends De {
|
|
3907
3907
|
constructor(r) {
|
|
3908
|
-
if (super(r), r.type !==
|
|
3908
|
+
if (super(r), r.type !== ge.CHILD) throw Error("repeat() can only be used in text expressions");
|
|
3909
3909
|
}
|
|
3910
3910
|
dt(r, t, i) {
|
|
3911
3911
|
let s;
|
|
@@ -3925,22 +3925,22 @@ const Qi = (r, t, i) => {
|
|
|
3925
3925
|
let h, u, d = 0, g = e.length - 1, m = 0, v = o.length - 1;
|
|
3926
3926
|
for (; d <= g && m <= v; ) if (e[d] === null) d++;
|
|
3927
3927
|
else if (e[g] === null) g--;
|
|
3928
|
-
else if (l[d] === n[m]) c[m] =
|
|
3929
|
-
else if (l[g] === n[v]) c[v] =
|
|
3930
|
-
else if (l[d] === n[v]) c[v] =
|
|
3931
|
-
else if (l[g] === n[m]) c[m] =
|
|
3928
|
+
else if (l[d] === n[m]) c[m] = ae(e[d], o[m]), d++, m++;
|
|
3929
|
+
else if (l[g] === n[v]) c[v] = ae(e[g], o[v]), g--, v--;
|
|
3930
|
+
else if (l[d] === n[v]) c[v] = ae(e[d], o[v]), ze(r, c[v + 1], e[d]), d++, v--;
|
|
3931
|
+
else if (l[g] === n[m]) c[m] = ae(e[g], o[m]), ze(r, e[d], e[g]), g--, m++;
|
|
3932
3932
|
else if (h === void 0 && (h = Qi(n, m, v), u = Qi(l, d, g)), h.has(l[d])) if (h.has(l[g])) {
|
|
3933
3933
|
const y = u.get(n[m]), P = y !== void 0 ? e[y] : null;
|
|
3934
3934
|
if (P === null) {
|
|
3935
|
-
const L =
|
|
3936
|
-
|
|
3937
|
-
} else c[m] =
|
|
3935
|
+
const L = ze(r, e[d]);
|
|
3936
|
+
ae(L, o[m]), c[m] = L;
|
|
3937
|
+
} else c[m] = ae(P, o[m]), ze(r, e[d], P), e[y] = null;
|
|
3938
3938
|
m++;
|
|
3939
3939
|
} else Bs(e[g]), g--;
|
|
3940
3940
|
else Bs(e[d]), d++;
|
|
3941
3941
|
for (; m <= v; ) {
|
|
3942
|
-
const y =
|
|
3943
|
-
|
|
3942
|
+
const y = ze(r, c[v + 1]);
|
|
3943
|
+
ae(y, o[m]), c[m++] = y;
|
|
3944
3944
|
}
|
|
3945
3945
|
for (; d <= g; ) {
|
|
3946
3946
|
const y = e[d++];
|
|
@@ -3975,7 +3975,7 @@ const Hs = /* @__PURE__ */ new Map(), tr = /* @__PURE__ */ new WeakSet(), er = (
|
|
|
3975
3975
|
} }, hn = { duration: 333, easing: "ease-in-out" }, dn = ["left", "top", "width", "height", "opacity", "color", "background"], rr = /* @__PURE__ */ new WeakMap();
|
|
3976
3976
|
class un extends xi {
|
|
3977
3977
|
constructor(t) {
|
|
3978
|
-
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type ===
|
|
3978
|
+
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === ge.CHILD) throw Error("The `animate` directive must be used in attribute position.");
|
|
3979
3979
|
this.createFinished();
|
|
3980
3980
|
}
|
|
3981
3981
|
createFinished() {
|
|
@@ -4135,7 +4135,7 @@ class un extends xi {
|
|
|
4135
4135
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, i);
|
|
4136
4136
|
}
|
|
4137
4137
|
}
|
|
4138
|
-
const pn =
|
|
4138
|
+
const pn = se(un), fn = { cancel: `<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4139
4139
|
<path d="M6.75827 17.2426L12.0009 12M17.2435 6.75736L12.0009 12M12.0009 12L6.75827 6.75736M12.0009 12L17.2435 17.2426" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4140
4140
|
</svg>
|
|
4141
4141
|
`, "check-circled-outline": `<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -4201,9 +4201,9 @@ let or = !1;
|
|
|
4201
4201
|
function bn() {
|
|
4202
4202
|
or || (He.custom.url = document.querySelector("[customIconLibraryPath]")?.getAttribute("customIconLibraryPath") || "", He.custom.defaultPrefix = document.querySelector("[customIconDefaultPrefix]")?.getAttribute("customIconDefaultPrefix") || "", He.custom.url && (or = !0));
|
|
4203
4203
|
}
|
|
4204
|
-
const nr = sessionStorage.getItem("sonicIconsCache"), Rt = nr ? JSON.parse(nr) : { icons: {}, names: [] }, gn = 100,
|
|
4204
|
+
const nr = sessionStorage.getItem("sonicIconsCache"), Rt = nr ? JSON.parse(nr) : { icons: {}, names: [] }, gn = 100, Mi = class Mi {
|
|
4205
4205
|
};
|
|
4206
|
-
|
|
4206
|
+
Mi.default = {
|
|
4207
4207
|
get: async (t) => {
|
|
4208
4208
|
const i = t.library;
|
|
4209
4209
|
if (!t.name) return "";
|
|
@@ -4255,14 +4255,14 @@ Ii.default = {
|
|
|
4255
4255
|
return z(e.core[t.name] || "");
|
|
4256
4256
|
}
|
|
4257
4257
|
};
|
|
4258
|
-
let Qs =
|
|
4258
|
+
let Qs = Mi;
|
|
4259
4259
|
var vn = Object.defineProperty, yn = Object.getOwnPropertyDescriptor, es = (r, t, i, s) => {
|
|
4260
4260
|
for (var e = s > 1 ? void 0 : s ? yn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
4261
4261
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
4262
4262
|
return s && e && vn(t, i, e), e;
|
|
4263
4263
|
};
|
|
4264
4264
|
const wn = "sonic-icon";
|
|
4265
|
-
let
|
|
4265
|
+
let ue = class extends _ {
|
|
4266
4266
|
constructor() {
|
|
4267
4267
|
super(...arguments), this.iconText = "", this.name = "", this.prefix = "", this.library = "";
|
|
4268
4268
|
}
|
|
@@ -4283,7 +4283,7 @@ let de = class extends _ {
|
|
|
4283
4283
|
return this.iconText ? this.iconText : S;
|
|
4284
4284
|
}
|
|
4285
4285
|
};
|
|
4286
|
-
|
|
4286
|
+
ue.styles = $`
|
|
4287
4287
|
:host {
|
|
4288
4288
|
line-height: 0.1em;
|
|
4289
4289
|
width: fit-content;
|
|
@@ -4336,19 +4336,19 @@ de.styles = $`
|
|
|
4336
4336
|
`;
|
|
4337
4337
|
es([
|
|
4338
4338
|
E()
|
|
4339
|
-
],
|
|
4339
|
+
], ue.prototype, "iconText", 2);
|
|
4340
4340
|
es([
|
|
4341
4341
|
a({ type: String })
|
|
4342
|
-
],
|
|
4342
|
+
], ue.prototype, "name", 2);
|
|
4343
4343
|
es([
|
|
4344
4344
|
a({ type: String })
|
|
4345
|
-
],
|
|
4345
|
+
], ue.prototype, "prefix", 2);
|
|
4346
4346
|
es([
|
|
4347
4347
|
a({ type: String })
|
|
4348
|
-
],
|
|
4349
|
-
|
|
4348
|
+
], ue.prototype, "library", 2);
|
|
4349
|
+
ue = es([
|
|
4350
4350
|
x(wn)
|
|
4351
|
-
],
|
|
4351
|
+
], ue);
|
|
4352
4352
|
const ss = $`
|
|
4353
4353
|
.custom-scroll {
|
|
4354
4354
|
overflow: auto !important;
|
|
@@ -4470,7 +4470,7 @@ let wt = class extends _ {
|
|
|
4470
4470
|
</div>`;
|
|
4471
4471
|
}
|
|
4472
4472
|
hide() {
|
|
4473
|
-
if (
|
|
4473
|
+
if (Zt.getClosestElement(this, "sonic-toast") || (this.visible = !1), this.dismissForever) {
|
|
4474
4474
|
const r = localStorage.getItem("sonic-toast-dismissed") || "{}", t = JSON.parse(r);
|
|
4475
4475
|
t[this.id] = !0, localStorage.setItem(
|
|
4476
4476
|
"sonic-toast-dismissed",
|
|
@@ -5145,10 +5145,10 @@ function Tn() {
|
|
|
5145
5145
|
i.contentWindow?.postMessage({ type: "sonicToastAvailable" }, "*");
|
|
5146
5146
|
}
|
|
5147
5147
|
Tn();
|
|
5148
|
-
var
|
|
5149
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
5148
|
+
var In = Object.defineProperty, Mn = Object.getOwnPropertyDescriptor, Ue = (r, t, i, s) => {
|
|
5149
|
+
for (var e = s > 1 ? void 0 : s ? Mn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5150
5150
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
5151
|
-
return s && e &&
|
|
5151
|
+
return s && e && In(t, i, e), e;
|
|
5152
5152
|
};
|
|
5153
5153
|
const jn = /* @__PURE__ */ new Set(), Fn = /* @__PURE__ */ new Set(), zn = (r) => {
|
|
5154
5154
|
for (const t of Fn)
|
|
@@ -5194,7 +5194,7 @@ const Ci = (r, t) => {
|
|
|
5194
5194
|
* Un Toast est affiché si le chargement échoue
|
|
5195
5195
|
*/
|
|
5196
5196
|
async _fetchData() {
|
|
5197
|
-
if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new
|
|
5197
|
+
if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new Ce(this.getApiConfiguration()), !this.api) || (this.dispatchEvent(new CustomEvent("loading", { detail: this })), this.getAttribute("localStorage") === "enabled" && await k.getInstance().isLocalStrorageReady, !this.isConnected)) return;
|
|
5198
5198
|
const e = k.getInstance().get(this.getAncestorAttributeValue("headersDataProvider")).get();
|
|
5199
5199
|
if (this.isLoading = !0, st.isObject(this.props) && Object.keys(this.props || {}).length > 0 && this.isFirstLoad && window.requestAnimationFrame(() => {
|
|
5200
5200
|
this.dispatchEvent(new CustomEvent("load", { detail: this })), this.isFirstLoad = !1, this.isLoading = !1;
|
|
@@ -5275,19 +5275,19 @@ const Ci = (r, t) => {
|
|
|
5275
5275
|
}
|
|
5276
5276
|
}
|
|
5277
5277
|
}
|
|
5278
|
-
return
|
|
5278
|
+
return Ue([
|
|
5279
5279
|
a()
|
|
5280
|
-
], i.prototype, "noErrorsRecordings", 2),
|
|
5280
|
+
], i.prototype, "noErrorsRecordings", 2), Ue([
|
|
5281
5281
|
a()
|
|
5282
|
-
], i.prototype, "props", 1),
|
|
5282
|
+
], i.prototype, "props", 1), Ue([
|
|
5283
5283
|
a({ type: String })
|
|
5284
|
-
], i.prototype, "endPoint", 1),
|
|
5284
|
+
], i.prototype, "endPoint", 1), Ue([
|
|
5285
5285
|
a()
|
|
5286
|
-
], i.prototype, "requestId", 2),
|
|
5286
|
+
], i.prototype, "requestId", 2), Ue([
|
|
5287
5287
|
a({ type: Number })
|
|
5288
5288
|
], i.prototype, "refetchEveryMs", 2), i;
|
|
5289
5289
|
};
|
|
5290
|
-
var Rn = Object.defineProperty, Un = Object.getOwnPropertyDescriptor,
|
|
5290
|
+
var Rn = Object.defineProperty, Un = Object.getOwnPropertyDescriptor, le = (r, t, i, s) => {
|
|
5291
5291
|
for (var e = s > 1 ? void 0 : s ? Un(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5292
5292
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
5293
5293
|
return s && e && Rn(t, i, e), e;
|
|
@@ -5322,29 +5322,29 @@ const Ts = (r) => {
|
|
|
5322
5322
|
this.hasAttribute("label") && !this.forceAutoFill && (s = this.getAttribute("label")), this._label = s, this.requestUpdate();
|
|
5323
5323
|
}
|
|
5324
5324
|
}
|
|
5325
|
-
return
|
|
5325
|
+
return le([
|
|
5326
5326
|
a()
|
|
5327
|
-
], t.prototype, "forceAutoFill", 2),
|
|
5327
|
+
], t.prototype, "forceAutoFill", 2), le([
|
|
5328
5328
|
a({ type: String })
|
|
5329
|
-
], t.prototype, "type", 1),
|
|
5329
|
+
], t.prototype, "type", 1), le([
|
|
5330
5330
|
a()
|
|
5331
|
-
], t.prototype, "description", 1),
|
|
5331
|
+
], t.prototype, "description", 1), le([
|
|
5332
5332
|
a()
|
|
5333
|
-
], t.prototype, "label", 1),
|
|
5333
|
+
], t.prototype, "label", 1), le([
|
|
5334
5334
|
a({ type: String, reflect: !0 })
|
|
5335
|
-
], t.prototype, "status", 2),
|
|
5335
|
+
], t.prototype, "status", 2), le([
|
|
5336
5336
|
a({ type: Number })
|
|
5337
|
-
], t.prototype, "tabindex", 2),
|
|
5337
|
+
], t.prototype, "tabindex", 2), le([
|
|
5338
5338
|
a({ type: String })
|
|
5339
5339
|
], t.prototype, "autocomplete", 2), t;
|
|
5340
|
-
}, Ar = Ci, Vn = $i, kr =
|
|
5340
|
+
}, Ar = Ci, Vn = $i, kr = Le, Or = Ts, ie = G, Si = ts;
|
|
5341
5341
|
window["concorde-mixins"] = window["concorde-mixins"] || {};
|
|
5342
5342
|
window["concorde-mixins"] = {
|
|
5343
5343
|
Fetcher: Ar,
|
|
5344
5344
|
FormCheckable: Vn,
|
|
5345
5345
|
FormElement: kr,
|
|
5346
5346
|
FormInput: Or,
|
|
5347
|
-
Subscriber:
|
|
5347
|
+
Subscriber: ie,
|
|
5348
5348
|
TemplatesContainer: Si
|
|
5349
5349
|
};
|
|
5350
5350
|
/**
|
|
@@ -5352,9 +5352,9 @@ window["concorde-mixins"] = {
|
|
|
5352
5352
|
* Copyright 2020 Google LLC
|
|
5353
5353
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5354
5354
|
*/
|
|
5355
|
-
const Lt =
|
|
5355
|
+
const Lt = se(class extends De {
|
|
5356
5356
|
constructor(r) {
|
|
5357
|
-
if (super(r), r.type !==
|
|
5357
|
+
if (super(r), r.type !== ge.CHILD) throw Error("templateContent can only be used in child bindings");
|
|
5358
5358
|
}
|
|
5359
5359
|
render(r) {
|
|
5360
5360
|
return this.vt === r ? yt : (this.vt = r, document.importNode(r.content, !0));
|
|
@@ -5887,7 +5887,7 @@ let X = class extends G(_) {
|
|
|
5887
5887
|
async connectedCallback() {
|
|
5888
5888
|
this.instanceId = X.instanceCounter++, this.localStorage = this.getAttribute("localStorage") || this.localStorage, this.filterTimeoutMs = parseInt(
|
|
5889
5889
|
this.getAttribute("filterTimeoutMs") || "400"
|
|
5890
|
-
), 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 =
|
|
5890
|
+
), 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 = Zt.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), this.storeScrollPosition(), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await k.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
|
|
5891
5891
|
this.querySelectorAll("template")
|
|
5892
5892
|
)), this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime(), this.configFilter();
|
|
5893
5893
|
}
|
|
@@ -6046,13 +6046,13 @@ rt([
|
|
|
6046
6046
|
X = rt([
|
|
6047
6047
|
x(la)
|
|
6048
6048
|
], X);
|
|
6049
|
-
var ca = Object.defineProperty, ha = Object.getOwnPropertyDescriptor,
|
|
6049
|
+
var ca = Object.defineProperty, ha = Object.getOwnPropertyDescriptor, Ne = (r, t, i, s) => {
|
|
6050
6050
|
for (var e = s > 1 ? void 0 : s ? ha(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6051
6051
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6052
6052
|
return s && e && ca(t, i, e), e;
|
|
6053
6053
|
};
|
|
6054
6054
|
const da = "sonic-submit";
|
|
6055
|
-
let
|
|
6055
|
+
let Xt = class extends G(_) {
|
|
6056
6056
|
constructor() {
|
|
6057
6057
|
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) => {
|
|
6058
6058
|
if (this.disabled || r instanceof KeyboardEvent && r.key !== "Enter") return;
|
|
@@ -6148,10 +6148,10 @@ let Zt = class extends G(_) {
|
|
|
6148
6148
|
};
|
|
6149
6149
|
}
|
|
6150
6150
|
connectedCallback() {
|
|
6151
|
-
this.hasAttribute("onClick") && this.addEventListener("click", this.submit), this.hasAttribute("onEnterKey") && this.addEventListener("keydown", this.submit), super.connectedCallback(), this.api = new
|
|
6151
|
+
this.hasAttribute("onClick") && this.addEventListener("click", this.submit), this.hasAttribute("onEnterKey") && this.addEventListener("keydown", this.submit), super.connectedCallback(), this.api = new Ce(this.getApiConfiguration());
|
|
6152
6152
|
}
|
|
6153
6153
|
submitNativeForm() {
|
|
6154
|
-
const r =
|
|
6154
|
+
const r = Zt.getClosestForm(this);
|
|
6155
6155
|
if (!r) return;
|
|
6156
6156
|
const t = this.getAncestorAttributeValue("formDataProvider"), i = { ...k.get(t).get() };
|
|
6157
6157
|
delete i.needsCaptchaValidation;
|
|
@@ -6181,38 +6181,38 @@ let Zt = class extends G(_) {
|
|
|
6181
6181
|
return b`<div ?data-disabled=${this.disabled}><slot></slot></div>`;
|
|
6182
6182
|
}
|
|
6183
6183
|
};
|
|
6184
|
-
|
|
6184
|
+
Xt.styles = $`
|
|
6185
6185
|
[data-disabled] {
|
|
6186
6186
|
opacity: 0.3;
|
|
6187
6187
|
pointer-events: none;
|
|
6188
6188
|
user-select: none;
|
|
6189
6189
|
}
|
|
6190
6190
|
`;
|
|
6191
|
-
|
|
6191
|
+
Ne([
|
|
6192
6192
|
a({ type: String })
|
|
6193
|
-
],
|
|
6194
|
-
|
|
6193
|
+
], Xt.prototype, "submitResultKey", 2);
|
|
6194
|
+
Ne([
|
|
6195
6195
|
a({ type: Boolean })
|
|
6196
|
-
],
|
|
6197
|
-
|
|
6196
|
+
], Xt.prototype, "disabled", 2);
|
|
6197
|
+
Ne([
|
|
6198
6198
|
a({ type: String })
|
|
6199
|
-
],
|
|
6200
|
-
|
|
6199
|
+
], Xt.prototype, "endPoint", 2);
|
|
6200
|
+
Ne([
|
|
6201
6201
|
a()
|
|
6202
|
-
],
|
|
6203
|
-
|
|
6202
|
+
], Xt.prototype, "name", 2);
|
|
6203
|
+
Ne([
|
|
6204
6204
|
a()
|
|
6205
|
-
],
|
|
6206
|
-
|
|
6205
|
+
], Xt.prototype, "value", 2);
|
|
6206
|
+
Xt = Ne([
|
|
6207
6207
|
x(da)
|
|
6208
|
-
],
|
|
6208
|
+
], Xt);
|
|
6209
6209
|
var ua = Object.defineProperty, pa = Object.getOwnPropertyDescriptor, rs = (r, t, i, s) => {
|
|
6210
6210
|
for (var e = s > 1 ? void 0 : s ? pa(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6211
6211
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6212
6212
|
return s && e && ua(t, i, e), e;
|
|
6213
6213
|
};
|
|
6214
6214
|
const fa = "sonic-router";
|
|
6215
|
-
let
|
|
6215
|
+
let Se = class extends ts(_) {
|
|
6216
6216
|
constructor() {
|
|
6217
6217
|
super(...arguments), this.templateValueAttribute = "data-route", this._location = document.location.href.replace(
|
|
6218
6218
|
document.location.origin,
|
|
@@ -6327,19 +6327,19 @@ let Ce = class extends ts(_) {
|
|
|
6327
6327
|
};
|
|
6328
6328
|
rs([
|
|
6329
6329
|
a({ type: String })
|
|
6330
|
-
],
|
|
6330
|
+
], Se.prototype, "fallBackRoute", 2);
|
|
6331
6331
|
rs([
|
|
6332
6332
|
a({ type: Object })
|
|
6333
|
-
],
|
|
6333
|
+
], Se.prototype, "routes", 2);
|
|
6334
6334
|
rs([
|
|
6335
6335
|
a({ type: String })
|
|
6336
|
-
],
|
|
6336
|
+
], Se.prototype, "basePath", 2);
|
|
6337
6337
|
rs([
|
|
6338
6338
|
a()
|
|
6339
|
-
],
|
|
6340
|
-
|
|
6339
|
+
], Se.prototype, "location", 1);
|
|
6340
|
+
Se = rs([
|
|
6341
6341
|
x(fa)
|
|
6342
|
-
],
|
|
6342
|
+
], Se);
|
|
6343
6343
|
var ma = Object.getOwnPropertyDescriptor, ba = (r, t, i, s) => {
|
|
6344
6344
|
for (var e = s > 1 ? void 0 : s ? ma(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6345
6345
|
(n = r[o]) && (e = n(e) || e);
|
|
@@ -6366,7 +6366,7 @@ let cr = class extends G(_) {
|
|
|
6366
6366
|
cr = ba([
|
|
6367
6367
|
x(ga)
|
|
6368
6368
|
], cr);
|
|
6369
|
-
var va = Object.defineProperty, ya = Object.getOwnPropertyDescriptor,
|
|
6369
|
+
var va = Object.defineProperty, ya = Object.getOwnPropertyDescriptor, Is = (r, t, i, s) => {
|
|
6370
6370
|
for (var e = s > 1 ? void 0 : s ? ya(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6371
6371
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6372
6372
|
return s && e && va(t, i, e), e;
|
|
@@ -6460,16 +6460,16 @@ let Ze = class extends G(ts(_)) {
|
|
|
6460
6460
|
)}`;
|
|
6461
6461
|
}
|
|
6462
6462
|
};
|
|
6463
|
-
|
|
6463
|
+
Is([
|
|
6464
6464
|
a()
|
|
6465
6465
|
], Ze.prototype, "state", 2);
|
|
6466
|
-
|
|
6466
|
+
Is([
|
|
6467
6467
|
a({ type: Boolean, reflect: !0 })
|
|
6468
6468
|
], Ze.prototype, "inverted", 2);
|
|
6469
|
-
|
|
6469
|
+
Is([
|
|
6470
6470
|
a({ type: Object })
|
|
6471
6471
|
], Ze.prototype, "states", 2);
|
|
6472
|
-
Ze =
|
|
6472
|
+
Ze = Is([
|
|
6473
6473
|
x(wa)
|
|
6474
6474
|
], Ze);
|
|
6475
6475
|
var _a = Object.getOwnPropertyDescriptor, xa = (r, t, i, s) => {
|
|
@@ -6509,7 +6509,7 @@ Nr([
|
|
|
6509
6509
|
ti = Nr([
|
|
6510
6510
|
x(Sa)
|
|
6511
6511
|
], ti);
|
|
6512
|
-
const Aa = { tagName: "sonic-checkbox" }, ka = { tagName: "sonic-input", attributes: { type: "date" } }, Oa = { tagName: "sonic-fieldset", nodes: [{ libraryKey: "formLayout" }], contentElementSelector: "sonic-form-layout" }, Da = { tagName: "sonic-input", attributes: { variant: "ghost", type: "file" } }, La = { tagName: "sonic-input", attributes: { type: "password" } }, Ea = { tagName: "sonic-radio" }, Na = { tagName: "sonic-select" }, Ta = { tagName: "sonic-textarea" },
|
|
6512
|
+
const Aa = { tagName: "sonic-checkbox" }, ka = { tagName: "sonic-input", attributes: { type: "date" } }, Oa = { tagName: "sonic-fieldset", nodes: [{ libraryKey: "formLayout" }], contentElementSelector: "sonic-form-layout" }, Da = { tagName: "sonic-input", attributes: { variant: "ghost", type: "file" } }, La = { tagName: "sonic-input", attributes: { type: "password" } }, Ea = { tagName: "sonic-radio" }, Na = { tagName: "sonic-select" }, Ta = { tagName: "sonic-textarea" }, Ia = { tagName: "sonic-input", attributes: { type: "text" } }, Ma = { tagName: "sonic-input", attributes: { type: "hidden" } }, ja = { tagName: "sonic-button" }, Fa = { tagName: "sonic-submit", attributes: { onEnterKey: !0 } }, za = { tagName: "sonic-submit", attributes: { onClick: !0 }, contentElementSelector: "sonic-button", nodes: [{ libraryKey: "button", attributes: { type: "success" }, nodes: [{ tagName: "sonic-icon", attributes: { name: "check", slot: "prefix" } }] }] }, Ra = { tagName: "sonic-input", attributes: { type: "email" } }, Ua = { tagName: "div", attributes: { class: "form-item-container" } }, Va = { tagName: "sonic-form-layout" }, Ba = { tagName: "sonic-form-actions" }, qa = { tagName: "sonic-password-helper" }, Ha = { tagName: "sonic-same-value-helper" }, Wa = { tagName: "sonic-divider" }, Ka = {
|
|
6513
6513
|
checkbox: Aa,
|
|
6514
6514
|
date: ka,
|
|
6515
6515
|
fieldset: Oa,
|
|
@@ -6518,8 +6518,8 @@ const Aa = { tagName: "sonic-checkbox" }, ka = { tagName: "sonic-input", attribu
|
|
|
6518
6518
|
radio: Ea,
|
|
6519
6519
|
select: Na,
|
|
6520
6520
|
textarea: Ta,
|
|
6521
|
-
textfield:
|
|
6522
|
-
hidden:
|
|
6521
|
+
textfield: Ia,
|
|
6522
|
+
hidden: Ma,
|
|
6523
6523
|
button: ja,
|
|
6524
6524
|
form: Fa,
|
|
6525
6525
|
submit: za,
|
|
@@ -6682,7 +6682,7 @@ var Za = Object.defineProperty, Xa = Object.getOwnPropertyDescriptor, ki = (r, t
|
|
|
6682
6682
|
return s && e && Za(t, i, e), e;
|
|
6683
6683
|
};
|
|
6684
6684
|
const Ga = "sonic-sdui";
|
|
6685
|
-
let Ps = class extends Ar(
|
|
6685
|
+
let Ps = class extends Ar(ie(_)) {
|
|
6686
6686
|
constructor() {
|
|
6687
6687
|
super(...arguments), this.sduiDescriptor = {};
|
|
6688
6688
|
}
|
|
@@ -6723,9 +6723,9 @@ let Ps = class extends Ar(se(_)) {
|
|
|
6723
6723
|
loadAssets() {
|
|
6724
6724
|
if (this.sduiDescriptor) {
|
|
6725
6725
|
if (this.sduiDescriptor.js)
|
|
6726
|
-
for (const r of this.sduiDescriptor.js)
|
|
6726
|
+
for (const r of this.sduiDescriptor.js) Zt.loadJS(r);
|
|
6727
6727
|
if (this.sduiDescriptor.css)
|
|
6728
|
-
for (const r of this.sduiDescriptor.css)
|
|
6728
|
+
for (const r of this.sduiDescriptor.css) Zt.loadCSS(r);
|
|
6729
6729
|
}
|
|
6730
6730
|
}
|
|
6731
6731
|
/**
|
|
@@ -6811,7 +6811,7 @@ let Ps = class extends Ar(se(_)) {
|
|
|
6811
6811
|
handleAttributes(r, t) {
|
|
6812
6812
|
const i = r.attributes;
|
|
6813
6813
|
for (const s in i) {
|
|
6814
|
-
const e = i[s], o =
|
|
6814
|
+
const e = i[s], o = Ee.isObject(e) ? JSON.stringify(e) : e;
|
|
6815
6815
|
t.setAttribute(s, o);
|
|
6816
6816
|
}
|
|
6817
6817
|
}
|
|
@@ -6848,7 +6848,7 @@ var Qa = Object.defineProperty, Ja = Object.getOwnPropertyDescriptor, Tr = (r, t
|
|
|
6848
6848
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6849
6849
|
return s && e && Qa(t, i, e), e;
|
|
6850
6850
|
};
|
|
6851
|
-
let $s = class extends
|
|
6851
|
+
let $s = class extends ie(_) {
|
|
6852
6852
|
constructor() {
|
|
6853
6853
|
super(...arguments), this._composition = {}, this.listeners = [];
|
|
6854
6854
|
}
|
|
@@ -6881,7 +6881,7 @@ let $s = class extends se(_) {
|
|
|
6881
6881
|
const e = s.split("."), o = e.shift();
|
|
6882
6882
|
if (!o) continue;
|
|
6883
6883
|
let n = k.get(o);
|
|
6884
|
-
n =
|
|
6884
|
+
n = Ee.traverse(n, e);
|
|
6885
6885
|
const l = {
|
|
6886
6886
|
publisher: n,
|
|
6887
6887
|
subscriber: (c) => {
|
|
@@ -6926,7 +6926,7 @@ var tl = Object.getOwnPropertyDescriptor, el = (r, t, i, s) => {
|
|
|
6926
6926
|
return e;
|
|
6927
6927
|
};
|
|
6928
6928
|
const sl = "sonic-value";
|
|
6929
|
-
let dr = class extends
|
|
6929
|
+
let dr = class extends ie(_) {
|
|
6930
6930
|
connectedCallback() {
|
|
6931
6931
|
this.setAttribute("subDataProvider", this.getAttribute("key")), super.connectedCallback();
|
|
6932
6932
|
}
|
|
@@ -6964,7 +6964,7 @@ var nl = Object.defineProperty, al = Object.getOwnPropertyDescriptor, os = (r, t
|
|
|
6964
6964
|
return s && e && nl(t, i, e), e;
|
|
6965
6965
|
};
|
|
6966
6966
|
const ll = "sonic-badge";
|
|
6967
|
-
let
|
|
6967
|
+
let pe = class extends _ {
|
|
6968
6968
|
constructor() {
|
|
6969
6969
|
super(...arguments), this.type = "default", this.variant = "default", this.ellipsis = !1;
|
|
6970
6970
|
}
|
|
@@ -6976,7 +6976,7 @@ let ue = class extends _ {
|
|
|
6976
6976
|
`;
|
|
6977
6977
|
}
|
|
6978
6978
|
};
|
|
6979
|
-
|
|
6979
|
+
pe.styles = [
|
|
6980
6980
|
Tt,
|
|
6981
6981
|
$`
|
|
6982
6982
|
:host {
|
|
@@ -7122,19 +7122,19 @@ ue.styles = [
|
|
|
7122
7122
|
];
|
|
7123
7123
|
os([
|
|
7124
7124
|
a({ type: String, reflect: !0 })
|
|
7125
|
-
],
|
|
7125
|
+
], pe.prototype, "type", 2);
|
|
7126
7126
|
os([
|
|
7127
7127
|
a({ type: String, reflect: !0 })
|
|
7128
|
-
],
|
|
7128
|
+
], pe.prototype, "variant", 2);
|
|
7129
7129
|
os([
|
|
7130
7130
|
a({ type: String, reflect: !0 })
|
|
7131
|
-
],
|
|
7131
|
+
], pe.prototype, "size", 2);
|
|
7132
7132
|
os([
|
|
7133
7133
|
a({ type: Boolean, reflect: !0 })
|
|
7134
|
-
],
|
|
7135
|
-
|
|
7134
|
+
], pe.prototype, "ellipsis", 2);
|
|
7135
|
+
pe = os([
|
|
7136
7136
|
x(ll)
|
|
7137
|
-
],
|
|
7137
|
+
], pe);
|
|
7138
7138
|
class cl {
|
|
7139
7139
|
static fixBlankLink(t) {
|
|
7140
7140
|
const s = typeof require > "u" || typeof process != "object" ? null : require("electron");
|
|
@@ -7143,13 +7143,13 @@ class cl {
|
|
|
7143
7143
|
});
|
|
7144
7144
|
}
|
|
7145
7145
|
}
|
|
7146
|
-
var hl = Object.defineProperty, dl = Object.getOwnPropertyDescriptor,
|
|
7146
|
+
var hl = Object.defineProperty, dl = Object.getOwnPropertyDescriptor, Te = (r, t, i, s) => {
|
|
7147
7147
|
for (var e = s > 1 ? void 0 : s ? dl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
7148
7148
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
7149
7149
|
return s && e && hl(t, i, e), e;
|
|
7150
7150
|
};
|
|
7151
7151
|
const ul = "sonic-link";
|
|
7152
|
-
let
|
|
7152
|
+
let Gt = class extends _ {
|
|
7153
7153
|
constructor() {
|
|
7154
7154
|
super(...arguments), this.href = "", this._location = "", this.ariaLabel = null, this.autoActive = "partial", this._target = null, this.pushState = null;
|
|
7155
7155
|
}
|
|
@@ -7195,7 +7195,7 @@ let Xt = class extends _ {
|
|
|
7195
7195
|
` : b`<slot></slot>`;
|
|
7196
7196
|
}
|
|
7197
7197
|
};
|
|
7198
|
-
|
|
7198
|
+
Gt.styles = [
|
|
7199
7199
|
$`
|
|
7200
7200
|
a {
|
|
7201
7201
|
color: inherit;
|
|
@@ -7204,31 +7204,31 @@ Xt.styles = [
|
|
|
7204
7204
|
}
|
|
7205
7205
|
`
|
|
7206
7206
|
];
|
|
7207
|
-
|
|
7207
|
+
Te([
|
|
7208
7208
|
a({ type: String })
|
|
7209
|
-
],
|
|
7210
|
-
|
|
7209
|
+
], Gt.prototype, "href", 2);
|
|
7210
|
+
Te([
|
|
7211
7211
|
a({ type: String, attribute: "data-aria-label" })
|
|
7212
|
-
],
|
|
7213
|
-
|
|
7212
|
+
], Gt.prototype, "ariaLabel", 2);
|
|
7213
|
+
Te([
|
|
7214
7214
|
a({ type: String })
|
|
7215
|
-
],
|
|
7216
|
-
|
|
7215
|
+
], Gt.prototype, "autoActive", 2);
|
|
7216
|
+
Te([
|
|
7217
7217
|
a({ type: String })
|
|
7218
|
-
],
|
|
7219
|
-
|
|
7218
|
+
], Gt.prototype, "target", 1);
|
|
7219
|
+
Te([
|
|
7220
7220
|
a({ type: Boolean })
|
|
7221
|
-
],
|
|
7222
|
-
|
|
7221
|
+
], Gt.prototype, "pushState", 2);
|
|
7222
|
+
Gt = Te([
|
|
7223
7223
|
x(ul)
|
|
7224
|
-
],
|
|
7225
|
-
var pl = Object.defineProperty, fl = Object.getOwnPropertyDescriptor,
|
|
7224
|
+
], Gt);
|
|
7225
|
+
var pl = Object.defineProperty, fl = Object.getOwnPropertyDescriptor, Ie = (r, t, i, s) => {
|
|
7226
7226
|
for (var e = s > 1 ? void 0 : s ? fl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
7227
7227
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
7228
7228
|
return s && e && pl(t, i, e), e;
|
|
7229
7229
|
};
|
|
7230
7230
|
const ml = "sonic-progress";
|
|
7231
|
-
let
|
|
7231
|
+
let Qt = class extends _ {
|
|
7232
7232
|
constructor() {
|
|
7233
7233
|
super(...arguments), this.max = 100, this.invert = !1, this.type = "default";
|
|
7234
7234
|
}
|
|
@@ -7242,7 +7242,7 @@ let Gt = class extends _ {
|
|
|
7242
7242
|
`;
|
|
7243
7243
|
}
|
|
7244
7244
|
};
|
|
7245
|
-
|
|
7245
|
+
Qt.styles = [
|
|
7246
7246
|
Tt,
|
|
7247
7247
|
$`
|
|
7248
7248
|
:host {
|
|
@@ -7358,24 +7358,24 @@ Gt.styles = [
|
|
|
7358
7358
|
}
|
|
7359
7359
|
`
|
|
7360
7360
|
];
|
|
7361
|
-
|
|
7361
|
+
Ie([
|
|
7362
7362
|
a({ type: Number })
|
|
7363
|
-
],
|
|
7364
|
-
|
|
7363
|
+
], Qt.prototype, "value", 2);
|
|
7364
|
+
Ie([
|
|
7365
7365
|
a({ type: Number })
|
|
7366
|
-
],
|
|
7367
|
-
|
|
7366
|
+
], Qt.prototype, "max", 2);
|
|
7367
|
+
Ie([
|
|
7368
7368
|
a({ type: Boolean })
|
|
7369
|
-
],
|
|
7370
|
-
|
|
7369
|
+
], Qt.prototype, "invert", 2);
|
|
7370
|
+
Ie([
|
|
7371
7371
|
a({ type: String, reflect: !0 })
|
|
7372
|
-
],
|
|
7373
|
-
|
|
7372
|
+
], Qt.prototype, "type", 2);
|
|
7373
|
+
Ie([
|
|
7374
7374
|
a({ type: String, reflect: !0 })
|
|
7375
|
-
],
|
|
7376
|
-
|
|
7375
|
+
], Qt.prototype, "size", 2);
|
|
7376
|
+
Qt = Ie([
|
|
7377
7377
|
x(ml)
|
|
7378
|
-
],
|
|
7378
|
+
], Qt);
|
|
7379
7379
|
const bl = $`
|
|
7380
7380
|
.password-toggle {
|
|
7381
7381
|
color: var(--sc-input-c);
|
|
@@ -7387,7 +7387,7 @@ const bl = $`
|
|
|
7387
7387
|
:host([inlineContent]) .has-suffix .password-toggle {
|
|
7388
7388
|
margin-right: 0;
|
|
7389
7389
|
}
|
|
7390
|
-
`,
|
|
7390
|
+
`, Ms = $`
|
|
7391
7391
|
:host {
|
|
7392
7392
|
--sc-label-fs: var(--sc-_fs, 1rem);
|
|
7393
7393
|
--sc-label-fw: var(--sc-label-font-weight, 500);
|
|
@@ -7769,9 +7769,9 @@ const bl = $`
|
|
|
7769
7769
|
* Copyright 2018 Google LLC
|
|
7770
7770
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7771
7771
|
*/
|
|
7772
|
-
const Li =
|
|
7772
|
+
const Li = se(class extends De {
|
|
7773
7773
|
constructor(r) {
|
|
7774
|
-
if (super(r), r.type !==
|
|
7774
|
+
if (super(r), r.type !== ge.ATTRIBUTE || r.name !== "class" || r.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
7775
7775
|
}
|
|
7776
7776
|
render(r) {
|
|
7777
7777
|
return " " + Object.keys(r).filter(((t) => r[t])).join(" ") + " ";
|
|
@@ -7797,7 +7797,7 @@ var gl = Object.defineProperty, vl = Object.getOwnPropertyDescriptor, U = (r, t,
|
|
|
7797
7797
|
return s && e && gl(t, i, e), e;
|
|
7798
7798
|
};
|
|
7799
7799
|
const yl = "sonic-input";
|
|
7800
|
-
let j = class extends Ts(
|
|
7800
|
+
let j = class extends Ts(Le(G(_))) {
|
|
7801
7801
|
constructor() {
|
|
7802
7802
|
super(...arguments), this.readonly = !1, this.inlineContent = !1, this.disableInlineContentFocus = !1, this.showPasswordToggle = !1, this.autoActive = !1, this.active = !1, this.hasDescription = !1, this.hasLabel = !1, this.hasSuffix = !1, this.hasPrefix = !1, this.isPassword = !1;
|
|
7803
7803
|
}
|
|
@@ -7954,7 +7954,7 @@ let j = class extends Ts(De(G(_))) {
|
|
|
7954
7954
|
j.styles = [
|
|
7955
7955
|
Tt,
|
|
7956
7956
|
Di,
|
|
7957
|
-
|
|
7957
|
+
Ms,
|
|
7958
7958
|
js,
|
|
7959
7959
|
bl,
|
|
7960
7960
|
$`
|
|
@@ -8031,7 +8031,7 @@ U([
|
|
|
8031
8031
|
ht({ slot: "prefix", flatten: !0 })
|
|
8032
8032
|
], j.prototype, "slotPrefixNodes", 2);
|
|
8033
8033
|
U([
|
|
8034
|
-
|
|
8034
|
+
ee("input")
|
|
8035
8035
|
], j.prototype, "input", 2);
|
|
8036
8036
|
U([
|
|
8037
8037
|
E()
|
|
@@ -8051,7 +8051,7 @@ U([
|
|
|
8051
8051
|
j = U([
|
|
8052
8052
|
x(yl)
|
|
8053
8053
|
], j);
|
|
8054
|
-
const
|
|
8054
|
+
const Ir = $`
|
|
8055
8055
|
/*OMBRE*/
|
|
8056
8056
|
:host([shadow]) .shadowable,
|
|
8057
8057
|
:host([shadow="md"]) .shadowable,
|
|
@@ -8071,7 +8071,7 @@ const Mr = $`
|
|
|
8071
8071
|
box-shadow: none;
|
|
8072
8072
|
}
|
|
8073
8073
|
`;
|
|
8074
|
-
var wl = Object.defineProperty, _l = Object.getOwnPropertyDescriptor,
|
|
8074
|
+
var wl = Object.defineProperty, _l = Object.getOwnPropertyDescriptor, It = (r, t, i, s) => {
|
|
8075
8075
|
for (var e = s > 1 ? void 0 : s ? _l(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8076
8076
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8077
8077
|
return s && e && wl(t, i, e), e;
|
|
@@ -8238,36 +8238,36 @@ et.styles = [
|
|
|
8238
8238
|
vertical-align: baseline;
|
|
8239
8239
|
}
|
|
8240
8240
|
`,
|
|
8241
|
-
|
|
8241
|
+
Ir
|
|
8242
8242
|
];
|
|
8243
|
-
|
|
8243
|
+
It([
|
|
8244
8244
|
E()
|
|
8245
8245
|
], et.prototype, "open", 2);
|
|
8246
|
-
|
|
8247
|
-
|
|
8246
|
+
It([
|
|
8247
|
+
ee("slot:not([name=content])")
|
|
8248
8248
|
], et.prototype, "popBtn", 2);
|
|
8249
|
-
|
|
8250
|
-
|
|
8249
|
+
It([
|
|
8250
|
+
ee("slot[name=content]")
|
|
8251
8251
|
], et.prototype, "popContent", 2);
|
|
8252
|
-
|
|
8252
|
+
It([
|
|
8253
8253
|
a({ type: Boolean })
|
|
8254
8254
|
], et.prototype, "noToggle", 2);
|
|
8255
|
-
|
|
8255
|
+
It([
|
|
8256
8256
|
a({ type: Boolean, reflect: !0 })
|
|
8257
8257
|
], et.prototype, "inline", 2);
|
|
8258
|
-
|
|
8258
|
+
It([
|
|
8259
8259
|
a({ type: Boolean })
|
|
8260
8260
|
], et.prototype, "manual", 2);
|
|
8261
|
-
|
|
8261
|
+
It([
|
|
8262
8262
|
a({ type: String, reflect: !0 })
|
|
8263
8263
|
], et.prototype, "shadow", 2);
|
|
8264
|
-
|
|
8264
|
+
It([
|
|
8265
8265
|
a({ type: String })
|
|
8266
8266
|
], et.prototype, "placement", 2);
|
|
8267
|
-
|
|
8267
|
+
It([
|
|
8268
8268
|
E()
|
|
8269
8269
|
], et.prototype, "triggerElement", 2);
|
|
8270
|
-
et =
|
|
8270
|
+
et = It([
|
|
8271
8271
|
x(xl)
|
|
8272
8272
|
], et);
|
|
8273
8273
|
var Pl = Object.getOwnPropertyDescriptor, $l = (r, t, i, s) => {
|
|
@@ -8276,7 +8276,7 @@ var Pl = Object.getOwnPropertyDescriptor, $l = (r, t, i, s) => {
|
|
|
8276
8276
|
return e;
|
|
8277
8277
|
};
|
|
8278
8278
|
const Cl = "sonic-menu-item";
|
|
8279
|
-
let ur = class extends
|
|
8279
|
+
let ur = class extends M {
|
|
8280
8280
|
constructor() {
|
|
8281
8281
|
super();
|
|
8282
8282
|
}
|
|
@@ -8294,7 +8294,7 @@ ur = $l([
|
|
|
8294
8294
|
* Copyright 2021 Google LLC
|
|
8295
8295
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8296
8296
|
*/
|
|
8297
|
-
class
|
|
8297
|
+
class Mr {
|
|
8298
8298
|
constructor(t, { target: i, config: s, callback: e, skipInitial: o }) {
|
|
8299
8299
|
this.t = /* @__PURE__ */ new Set(), this.o = !1, this.i = !1, this.h = t, i !== null && this.t.add(i ?? t), this.l = s, this.o = o ?? this.o, this.callback = e, window.ResizeObserver ? (this.u = new ResizeObserver(((n) => {
|
|
8300
8300
|
this.handleChanges(n), this.h.requestUpdate();
|
|
@@ -8328,10 +8328,10 @@ var Sl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, dt = (r, t
|
|
|
8328
8328
|
return s && e && Sl(t, i, e), e;
|
|
8329
8329
|
};
|
|
8330
8330
|
let it = class extends Si(
|
|
8331
|
-
Or(kr(
|
|
8331
|
+
Or(kr(ie(_)))
|
|
8332
8332
|
) {
|
|
8333
8333
|
constructor() {
|
|
8334
|
-
super(...arguments), this.size = "md", this.placeholder = "", this.filteredFields = "", this.readonly = null, this.dataProviderExpression = "", this.minSearchLength = 0, this.key = "", this.searchParameter = "", this.propertyName = "", this.hasInputPrefix = !1, this._resizeController = new
|
|
8334
|
+
super(...arguments), this.size = "md", this.placeholder = "", this.filteredFields = "", this.readonly = null, this.dataProviderExpression = "", this.minSearchLength = 0, this.key = "", this.searchParameter = "", this.propertyName = "", this.hasInputPrefix = !1, this._resizeController = new Mr(this, {}), this.isPopVisible = !1, this.searchDataProvider = "", this.initSearchDataProvider = "", this.queueDataProvider = "", this.initQueueDataProvider = "", this.lastValidSearch = "", this.updateSearchParameter = (r) => {
|
|
8335
8335
|
if (r == "" && this.isSearchParameter()) {
|
|
8336
8336
|
this.lastValidSearch = "";
|
|
8337
8337
|
return;
|
|
@@ -8568,7 +8568,7 @@ dt([
|
|
|
8568
8568
|
E()
|
|
8569
8569
|
], it.prototype, "hasInputPrefix", 2);
|
|
8570
8570
|
dt([
|
|
8571
|
-
|
|
8571
|
+
ee("sonic-pop")
|
|
8572
8572
|
], it.prototype, "popElement", 2);
|
|
8573
8573
|
dt([
|
|
8574
8574
|
E()
|
|
@@ -8585,7 +8585,7 @@ var kl = Object.defineProperty, Ol = Object.getOwnPropertyDescriptor, mt = (r, t
|
|
|
8585
8585
|
return s && e && kl(t, i, e), e;
|
|
8586
8586
|
};
|
|
8587
8587
|
const Dl = "sonic-password-helper";
|
|
8588
|
-
let at = class extends
|
|
8588
|
+
let at = class extends ie(_) {
|
|
8589
8589
|
constructor() {
|
|
8590
8590
|
super(...arguments), this.minChars = 8, this.hasNoChar = !0, this.hasEnoughChars = !1, this.hasMinuscule = !1, this.hasMajuscule = !1, this.hasNumber = !1, this.hasSpecialChar = !1, this.wording_password_helper_decription = "Le mot de passe doit contenir au moins :", this.wording_password_helper_min_length = "8 caractères", this.wording_password_helper_lower_case = "1 minuscule", this.wording_password_helper_upper_case = "1 majuscule", this.wording_password_helper_number = "1 chiffre", this.wording_password_helper_special_char = "1 caractère spécial";
|
|
8591
8591
|
}
|
|
@@ -8670,13 +8670,13 @@ mt([
|
|
|
8670
8670
|
at = mt([
|
|
8671
8671
|
x(Dl)
|
|
8672
8672
|
], at);
|
|
8673
|
-
var Ll = Object.defineProperty, El = Object.getOwnPropertyDescriptor,
|
|
8673
|
+
var Ll = Object.defineProperty, El = Object.getOwnPropertyDescriptor, ve = (r, t, i, s) => {
|
|
8674
8674
|
for (var e = s > 1 ? void 0 : s ? El(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8675
8675
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8676
8676
|
return s && e && Ll(t, i, e), e;
|
|
8677
8677
|
};
|
|
8678
8678
|
const Nl = "sonic-same-value-helper";
|
|
8679
|
-
let
|
|
8679
|
+
let Jt = class extends ie(_) {
|
|
8680
8680
|
constructor() {
|
|
8681
8681
|
super(...arguments), this.descriptionWhenEqual = "Correspondance : oui", this.descriptionWhenNotEqual = "Correspondance : non", this.areEqual = !1, this.hasNoChar = !0;
|
|
8682
8682
|
}
|
|
@@ -8715,35 +8715,35 @@ let Qt = class extends se(_) {
|
|
|
8715
8715
|
`;
|
|
8716
8716
|
}
|
|
8717
8717
|
};
|
|
8718
|
-
|
|
8718
|
+
ve([
|
|
8719
8719
|
a()
|
|
8720
|
-
],
|
|
8721
|
-
|
|
8720
|
+
], Jt.prototype, "name", 2);
|
|
8721
|
+
ve([
|
|
8722
8722
|
a()
|
|
8723
|
-
],
|
|
8724
|
-
|
|
8723
|
+
], Jt.prototype, "sameValueAs", 2);
|
|
8724
|
+
ve([
|
|
8725
8725
|
a()
|
|
8726
|
-
],
|
|
8727
|
-
|
|
8726
|
+
], Jt.prototype, "descriptionWhenEqual", 2);
|
|
8727
|
+
ve([
|
|
8728
8728
|
a()
|
|
8729
|
-
],
|
|
8730
|
-
|
|
8729
|
+
], Jt.prototype, "descriptionWhenNotEqual", 2);
|
|
8730
|
+
ve([
|
|
8731
8731
|
E()
|
|
8732
|
-
],
|
|
8733
|
-
|
|
8732
|
+
], Jt.prototype, "areEqual", 2);
|
|
8733
|
+
ve([
|
|
8734
8734
|
E()
|
|
8735
|
-
],
|
|
8736
|
-
|
|
8735
|
+
], Jt.prototype, "hasNoChar", 2);
|
|
8736
|
+
Jt = ve([
|
|
8737
8737
|
x(Nl)
|
|
8738
|
-
],
|
|
8739
|
-
var Tl = Object.defineProperty,
|
|
8740
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
8738
|
+
], Jt);
|
|
8739
|
+
var Tl = Object.defineProperty, Il = Object.getOwnPropertyDescriptor, Ht = (r, t, i, s) => {
|
|
8740
|
+
for (var e = s > 1 ? void 0 : s ? Il(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8741
8741
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8742
8742
|
return s && e && Tl(t, i, e), e;
|
|
8743
8743
|
};
|
|
8744
|
-
const
|
|
8744
|
+
const Ml = "sonic-checkbox";
|
|
8745
8745
|
let ft = class extends $i(
|
|
8746
|
-
Ts(
|
|
8746
|
+
Ts(Le(G(_)))
|
|
8747
8747
|
) {
|
|
8748
8748
|
constructor() {
|
|
8749
8749
|
super(...arguments), this.touched = !1, this.iconName = "check", this.indeterminateIconName = "minus-small", this.showAsIndeterminate = !1, this.hasDescription = !1, this.hasLabel = !1;
|
|
@@ -8943,7 +8943,7 @@ Ht([
|
|
|
8943
8943
|
ht({ slot: "description", flatten: !0 })
|
|
8944
8944
|
], ft.prototype, "slotDescriptionNodes", 2);
|
|
8945
8945
|
ft = Ht([
|
|
8946
|
-
x(
|
|
8946
|
+
x(Ml)
|
|
8947
8947
|
], ft);
|
|
8948
8948
|
var jl = Object.getOwnPropertyDescriptor, Fl = (r, t, i, s) => {
|
|
8949
8949
|
for (var e = s > 1 ? void 0 : s ? jl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
@@ -9075,7 +9075,7 @@ var Bl = Object.defineProperty, ql = Object.getOwnPropertyDescriptor, J = (r, t,
|
|
|
9075
9075
|
return s && e && Bl(t, i, e), e;
|
|
9076
9076
|
};
|
|
9077
9077
|
const Hl = "sonic-select";
|
|
9078
|
-
let W = class extends
|
|
9078
|
+
let W = class extends Le(G(_)) {
|
|
9079
9079
|
constructor() {
|
|
9080
9080
|
super(...arguments), this.valueKey = "value", this.wordingKey = "wording", this.multiple = !1, this.status = "default", this._options = [], this.hasDoneFirstUpdate = !1, this._value = "", this.updateOptions = () => {
|
|
9081
9081
|
const r = this.querySelectorAll(
|
|
@@ -9210,7 +9210,7 @@ let W = class extends De(G(_)) {
|
|
|
9210
9210
|
W.styles = [
|
|
9211
9211
|
Tt,
|
|
9212
9212
|
Di,
|
|
9213
|
-
|
|
9213
|
+
Ms,
|
|
9214
9214
|
js,
|
|
9215
9215
|
$`
|
|
9216
9216
|
.form-element {
|
|
@@ -9333,7 +9333,7 @@ var Wl = Object.defineProperty, Kl = Object.getOwnPropertyDescriptor, bt = (r, t
|
|
|
9333
9333
|
return s && e && Wl(t, i, e), e;
|
|
9334
9334
|
};
|
|
9335
9335
|
const Yl = "sonic-textarea";
|
|
9336
|
-
let lt = class extends Ts(
|
|
9336
|
+
let lt = class extends Ts(Le(G(_))) {
|
|
9337
9337
|
constructor() {
|
|
9338
9338
|
super(...arguments), this.size = "md", this.readonly = !1, this.resize = "vertical", this.hasDescription = !1, this.hasLabel = !1;
|
|
9339
9339
|
}
|
|
@@ -9411,7 +9411,7 @@ ${this.value}</textarea
|
|
|
9411
9411
|
lt.styles = [
|
|
9412
9412
|
Tt,
|
|
9413
9413
|
Di,
|
|
9414
|
-
|
|
9414
|
+
Ms,
|
|
9415
9415
|
js,
|
|
9416
9416
|
ss,
|
|
9417
9417
|
$`
|
|
@@ -9496,7 +9496,7 @@ ii.styles = [
|
|
|
9496
9496
|
ii = Xl([
|
|
9497
9497
|
x("sonic-legend-description")
|
|
9498
9498
|
], ii);
|
|
9499
|
-
var Gl = Object.defineProperty, Ql = Object.getOwnPropertyDescriptor,
|
|
9499
|
+
var Gl = Object.defineProperty, Ql = Object.getOwnPropertyDescriptor, ye = (r, t, i, s) => {
|
|
9500
9500
|
for (var e = s > 1 ? void 0 : s ? Ql(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9501
9501
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
9502
9502
|
return s && e && Gl(t, i, e), e;
|
|
@@ -9586,28 +9586,28 @@ Bt.styles = [
|
|
|
9586
9586
|
}
|
|
9587
9587
|
`
|
|
9588
9588
|
];
|
|
9589
|
-
|
|
9589
|
+
ye([
|
|
9590
9590
|
a({ type: Boolean })
|
|
9591
9591
|
], Bt.prototype, "forceAutoFill", 2);
|
|
9592
|
-
|
|
9592
|
+
ye([
|
|
9593
9593
|
a()
|
|
9594
9594
|
], Bt.prototype, "description", 1);
|
|
9595
|
-
|
|
9595
|
+
ye([
|
|
9596
9596
|
a()
|
|
9597
9597
|
], Bt.prototype, "label", 1);
|
|
9598
|
-
|
|
9598
|
+
ye([
|
|
9599
9599
|
a({ type: String })
|
|
9600
9600
|
], Bt.prototype, "iconName", 2);
|
|
9601
|
-
|
|
9601
|
+
ye([
|
|
9602
9602
|
a({ type: String })
|
|
9603
9603
|
], Bt.prototype, "iconLibrary", 2);
|
|
9604
|
-
|
|
9604
|
+
ye([
|
|
9605
9605
|
a({ type: String })
|
|
9606
9606
|
], Bt.prototype, "iconPrefix", 2);
|
|
9607
|
-
Bt =
|
|
9607
|
+
Bt = ye([
|
|
9608
9608
|
x(Jl)
|
|
9609
9609
|
], Bt);
|
|
9610
|
-
var tc = Object.defineProperty, ec = Object.getOwnPropertyDescriptor,
|
|
9610
|
+
var tc = Object.defineProperty, ec = Object.getOwnPropertyDescriptor, Mt = (r, t, i, s) => {
|
|
9611
9611
|
for (var e = s > 1 ? void 0 : s ? ec(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9612
9612
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
9613
9613
|
return s && e && tc(t, i, e), e;
|
|
@@ -9685,34 +9685,34 @@ xt.styles = [
|
|
|
9685
9685
|
}
|
|
9686
9686
|
`
|
|
9687
9687
|
];
|
|
9688
|
-
|
|
9688
|
+
Mt([
|
|
9689
9689
|
a({ type: Boolean, reflect: !0 })
|
|
9690
9690
|
], xt.prototype, "disabled", 2);
|
|
9691
|
-
|
|
9691
|
+
Mt([
|
|
9692
9692
|
a({ type: String })
|
|
9693
9693
|
], xt.prototype, "form", 2);
|
|
9694
|
-
|
|
9694
|
+
Mt([
|
|
9695
9695
|
a({ type: String })
|
|
9696
9696
|
], xt.prototype, "label", 2);
|
|
9697
|
-
|
|
9697
|
+
Mt([
|
|
9698
9698
|
a({ type: String })
|
|
9699
9699
|
], xt.prototype, "description", 2);
|
|
9700
|
-
|
|
9700
|
+
Mt([
|
|
9701
9701
|
a({ type: String })
|
|
9702
9702
|
], xt.prototype, "iconName", 2);
|
|
9703
|
-
|
|
9703
|
+
Mt([
|
|
9704
9704
|
a({ type: String })
|
|
9705
9705
|
], xt.prototype, "iconLibrary", 2);
|
|
9706
|
-
|
|
9706
|
+
Mt([
|
|
9707
9707
|
a({ type: String })
|
|
9708
9708
|
], xt.prototype, "iconPrefix", 2);
|
|
9709
|
-
|
|
9709
|
+
Mt([
|
|
9710
9710
|
a({ type: Boolean, reflect: !0 })
|
|
9711
9711
|
], xt.prototype, "tight", 2);
|
|
9712
|
-
|
|
9712
|
+
Mt([
|
|
9713
9713
|
a({ type: String, reflect: !0 })
|
|
9714
9714
|
], xt.prototype, "variant", 2);
|
|
9715
|
-
xt =
|
|
9715
|
+
xt = Mt([
|
|
9716
9716
|
x(sc)
|
|
9717
9717
|
], xt);
|
|
9718
9718
|
var ic = Object.defineProperty, rc = Object.getOwnPropertyDescriptor, Ei = (r, t, i, s) => {
|
|
@@ -9723,7 +9723,7 @@ var ic = Object.defineProperty, rc = Object.getOwnPropertyDescriptor, Ei = (r, t
|
|
|
9723
9723
|
const oc = "sonic-form-layout";
|
|
9724
9724
|
let Xe = class extends G(_) {
|
|
9725
9725
|
constructor() {
|
|
9726
|
-
super(...arguments), this._resizeController = new
|
|
9726
|
+
super(...arguments), this._resizeController = new Mr(this, {}), this.oneFormElement = !1;
|
|
9727
9727
|
}
|
|
9728
9728
|
onSlotChange() {
|
|
9729
9729
|
let r = this.slottedElements;
|
|
@@ -9779,7 +9779,7 @@ Xe.styles = [
|
|
|
9779
9779
|
`
|
|
9780
9780
|
];
|
|
9781
9781
|
Ei([
|
|
9782
|
-
|
|
9782
|
+
ke({ flatten: !0 })
|
|
9783
9783
|
], Xe.prototype, "slottedElements", 2);
|
|
9784
9784
|
Ei([
|
|
9785
9785
|
a({ type: Boolean })
|
|
@@ -9826,7 +9826,7 @@ Ni([
|
|
|
9826
9826
|
Ge = Ni([
|
|
9827
9827
|
x(lc)
|
|
9828
9828
|
], Ge);
|
|
9829
|
-
var cc = Object.defineProperty, hc = Object.getOwnPropertyDescriptor,
|
|
9829
|
+
var cc = Object.defineProperty, hc = Object.getOwnPropertyDescriptor, re = (r, t, i, s) => {
|
|
9830
9830
|
for (var e = s > 1 ? void 0 : s ? hc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9831
9831
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
9832
9832
|
return s && e && cc(t, i, e), e;
|
|
@@ -9879,7 +9879,7 @@ let Et = class extends _ {
|
|
|
9879
9879
|
};
|
|
9880
9880
|
Et.styles = [
|
|
9881
9881
|
Tt,
|
|
9882
|
-
|
|
9882
|
+
Ms,
|
|
9883
9883
|
js,
|
|
9884
9884
|
$`
|
|
9885
9885
|
:host {
|
|
@@ -9903,28 +9903,28 @@ Et.styles = [
|
|
|
9903
9903
|
}
|
|
9904
9904
|
`
|
|
9905
9905
|
];
|
|
9906
|
-
|
|
9906
|
+
re([
|
|
9907
9907
|
a({ type: String })
|
|
9908
9908
|
], Et.prototype, "alignItems", 2);
|
|
9909
|
-
|
|
9909
|
+
re([
|
|
9910
9910
|
a({ type: String })
|
|
9911
9911
|
], Et.prototype, "label", 2);
|
|
9912
|
-
|
|
9912
|
+
re([
|
|
9913
9913
|
a({ type: String })
|
|
9914
9914
|
], Et.prototype, "description", 2);
|
|
9915
|
-
|
|
9915
|
+
re([
|
|
9916
9916
|
ht({ slot: "label", flatten: !0 })
|
|
9917
9917
|
], Et.prototype, "slotLabelNodes", 2);
|
|
9918
|
-
|
|
9918
|
+
re([
|
|
9919
9919
|
ht({ slot: "description", flatten: !0 })
|
|
9920
9920
|
], Et.prototype, "slotDescriptionNodes", 2);
|
|
9921
|
-
|
|
9921
|
+
re([
|
|
9922
9922
|
E()
|
|
9923
9923
|
], Et.prototype, "hasDescription", 2);
|
|
9924
|
-
|
|
9924
|
+
re([
|
|
9925
9925
|
E()
|
|
9926
9926
|
], Et.prototype, "hasLabel", 2);
|
|
9927
|
-
Et =
|
|
9927
|
+
Et = re([
|
|
9928
9928
|
x(dc)
|
|
9929
9929
|
], Et);
|
|
9930
9930
|
var uc = Object.defineProperty, pc = Object.getOwnPropertyDescriptor, jt = (r, t, i, s) => {
|
|
@@ -10341,7 +10341,7 @@ ct.styles = [
|
|
|
10341
10341
|
);
|
|
10342
10342
|
}
|
|
10343
10343
|
`,
|
|
10344
|
-
|
|
10344
|
+
Ir
|
|
10345
10345
|
];
|
|
10346
10346
|
gt([
|
|
10347
10347
|
a({ type: String, reflect: !0 })
|
|
@@ -10368,16 +10368,16 @@ gt([
|
|
|
10368
10368
|
a({ type: String })
|
|
10369
10369
|
], ct.prototype, "minWidth", 2);
|
|
10370
10370
|
gt([
|
|
10371
|
-
|
|
10371
|
+
ee("menu")
|
|
10372
10372
|
], ct.prototype, "menu", 2);
|
|
10373
10373
|
gt([
|
|
10374
|
-
|
|
10374
|
+
ee("#menu-content")
|
|
10375
10375
|
], ct.prototype, "menuContent", 2);
|
|
10376
10376
|
gt([
|
|
10377
|
-
|
|
10377
|
+
ke({ selector: "*" })
|
|
10378
10378
|
], ct.prototype, "menuChildren", 2);
|
|
10379
10379
|
gt([
|
|
10380
|
-
|
|
10380
|
+
ke({ slot: "more", selector: "*" })
|
|
10381
10381
|
], ct.prototype, "moreElements", 2);
|
|
10382
10382
|
gt([
|
|
10383
10383
|
E()
|
|
@@ -10395,7 +10395,7 @@ let Ss = class extends _ {
|
|
|
10395
10395
|
firstUpdated(r) {
|
|
10396
10396
|
this.buttons?.forEach((t) => {
|
|
10397
10397
|
t.hasAttribute("hideModal") && t.addEventListener("click", () => {
|
|
10398
|
-
|
|
10398
|
+
Zt.getClosestElement(
|
|
10399
10399
|
this,
|
|
10400
10400
|
"sonic-modal"
|
|
10401
10401
|
)?.hide();
|
|
@@ -10417,7 +10417,7 @@ Ss.styles = [
|
|
|
10417
10417
|
`
|
|
10418
10418
|
];
|
|
10419
10419
|
jr([
|
|
10420
|
-
|
|
10420
|
+
ke({ selector: "sonic-button" })
|
|
10421
10421
|
], Ss.prototype, "buttons", 2);
|
|
10422
10422
|
Ss = jr([
|
|
10423
10423
|
x(wc)
|
|
@@ -10555,7 +10555,7 @@ var Nc = Object.defineProperty, Tc = Object.getOwnPropertyDescriptor, Y = (r, t,
|
|
|
10555
10555
|
return s && e && Nc(t, i, e), e;
|
|
10556
10556
|
};
|
|
10557
10557
|
const Fr = "sonic-modal";
|
|
10558
|
-
let
|
|
10558
|
+
let I = class extends G(_) {
|
|
10559
10559
|
constructor() {
|
|
10560
10560
|
super(...arguments), this.forceAction = !1, this.noCloseButton = !1, this.removeOnHide = !1, this.removeHashOnHide = !1, this.align = "left", this.maxWidth = "min(100vw, 40rem)", this.maxHeight = "90vh", this.width = "100%", this.height = "fit-content", this.effect = "slide", this.fullScreen = !1, this.visible = !1, this.closeOnLocationChange = !1, this.location = "", this._animationState = "hidden", this._animationConfig = {
|
|
10561
10561
|
quartOut: "cubic-bezier(0.165, 0.84, 0.44, 1)",
|
|
@@ -10573,10 +10573,10 @@ let M = class extends G(_) {
|
|
|
10573
10573
|
}), t;
|
|
10574
10574
|
}
|
|
10575
10575
|
connectedCallback() {
|
|
10576
|
-
|
|
10576
|
+
I.modals.push(this), tt.onChange(this), super.connectedCallback();
|
|
10577
10577
|
}
|
|
10578
10578
|
disconnectedCallback() {
|
|
10579
|
-
tt.offChange(this),
|
|
10579
|
+
tt.offChange(this), I.modals.splice(I.modals.indexOf(this), 1), this.removeEventListener("keydown", this.handleEscape), super.disconnectedCallback();
|
|
10580
10580
|
}
|
|
10581
10581
|
firstUpdated() {
|
|
10582
10582
|
this.addEventListener("keydown", this.handleEscape);
|
|
@@ -10677,7 +10677,7 @@ let M = class extends G(_) {
|
|
|
10677
10677
|
}
|
|
10678
10678
|
// Hide and remove all modals
|
|
10679
10679
|
static disposeAll() {
|
|
10680
|
-
|
|
10680
|
+
I.modals.forEach((r) => {
|
|
10681
10681
|
r.dispose();
|
|
10682
10682
|
});
|
|
10683
10683
|
}
|
|
@@ -10685,7 +10685,7 @@ let M = class extends G(_) {
|
|
|
10685
10685
|
handleEscape(r) {
|
|
10686
10686
|
if (r.key === "Escape") {
|
|
10687
10687
|
r.preventDefault();
|
|
10688
|
-
const t =
|
|
10688
|
+
const t = I.modals.filter(
|
|
10689
10689
|
(i) => i._animationState !== "hidden" && !i.forceAction
|
|
10690
10690
|
);
|
|
10691
10691
|
t.length > 0 && t[t.length - 1].hide();
|
|
@@ -10732,7 +10732,7 @@ let M = class extends G(_) {
|
|
|
10732
10732
|
});
|
|
10733
10733
|
}
|
|
10734
10734
|
};
|
|
10735
|
-
|
|
10735
|
+
I.styles = [
|
|
10736
10736
|
ss,
|
|
10737
10737
|
$`
|
|
10738
10738
|
:host {
|
|
@@ -10886,78 +10886,78 @@ M.styles = [
|
|
|
10886
10886
|
}
|
|
10887
10887
|
`
|
|
10888
10888
|
];
|
|
10889
|
-
|
|
10889
|
+
I.modals = [];
|
|
10890
10890
|
Y([
|
|
10891
10891
|
a({ type: Boolean })
|
|
10892
|
-
],
|
|
10892
|
+
], I.prototype, "forceAction", 2);
|
|
10893
10893
|
Y([
|
|
10894
10894
|
a({ type: Boolean })
|
|
10895
|
-
],
|
|
10895
|
+
], I.prototype, "noCloseButton", 2);
|
|
10896
10896
|
Y([
|
|
10897
10897
|
a({ type: Boolean })
|
|
10898
|
-
],
|
|
10898
|
+
], I.prototype, "removeOnHide", 2);
|
|
10899
10899
|
Y([
|
|
10900
10900
|
a({ type: Boolean })
|
|
10901
|
-
],
|
|
10901
|
+
], I.prototype, "removeHashOnHide", 2);
|
|
10902
10902
|
Y([
|
|
10903
10903
|
a({ type: String, reflect: !0 })
|
|
10904
|
-
],
|
|
10904
|
+
], I.prototype, "align", 2);
|
|
10905
10905
|
Y([
|
|
10906
10906
|
a({ type: String })
|
|
10907
|
-
],
|
|
10907
|
+
], I.prototype, "paddingX", 2);
|
|
10908
10908
|
Y([
|
|
10909
10909
|
a({ type: String })
|
|
10910
|
-
],
|
|
10910
|
+
], I.prototype, "paddingY", 2);
|
|
10911
10911
|
Y([
|
|
10912
10912
|
a({ type: String })
|
|
10913
|
-
],
|
|
10913
|
+
], I.prototype, "maxWidth", 2);
|
|
10914
10914
|
Y([
|
|
10915
10915
|
a({ type: String })
|
|
10916
|
-
],
|
|
10916
|
+
], I.prototype, "maxHeight", 2);
|
|
10917
10917
|
Y([
|
|
10918
10918
|
a({ type: String })
|
|
10919
|
-
],
|
|
10919
|
+
], I.prototype, "zIndex", 2);
|
|
10920
10920
|
Y([
|
|
10921
10921
|
a({ type: String })
|
|
10922
|
-
],
|
|
10922
|
+
], I.prototype, "width", 2);
|
|
10923
10923
|
Y([
|
|
10924
10924
|
a({ type: String })
|
|
10925
|
-
],
|
|
10925
|
+
], I.prototype, "height", 2);
|
|
10926
10926
|
Y([
|
|
10927
10927
|
a({ type: String })
|
|
10928
|
-
],
|
|
10928
|
+
], I.prototype, "effect", 2);
|
|
10929
10929
|
Y([
|
|
10930
10930
|
a({ type: Object })
|
|
10931
|
-
],
|
|
10931
|
+
], I.prototype, "options", 2);
|
|
10932
10932
|
Y([
|
|
10933
10933
|
a({ type: Boolean, reflect: !0 })
|
|
10934
|
-
],
|
|
10934
|
+
], I.prototype, "fullScreen", 2);
|
|
10935
10935
|
Y([
|
|
10936
10936
|
a({ type: Boolean, reflect: !0 })
|
|
10937
|
-
],
|
|
10937
|
+
], I.prototype, "visible", 2);
|
|
10938
10938
|
Y([
|
|
10939
10939
|
a({ type: String })
|
|
10940
|
-
],
|
|
10940
|
+
], I.prototype, "closeButtonType", 2);
|
|
10941
10941
|
Y([
|
|
10942
|
-
|
|
10943
|
-
],
|
|
10942
|
+
ee("#modal")
|
|
10943
|
+
], I.prototype, "_modalElement", 2);
|
|
10944
10944
|
Y([
|
|
10945
10945
|
a({ type: Boolean })
|
|
10946
|
-
],
|
|
10946
|
+
], I.prototype, "closeOnLocationChange", 2);
|
|
10947
10947
|
Y([
|
|
10948
10948
|
E()
|
|
10949
|
-
],
|
|
10949
|
+
], I.prototype, "location", 2);
|
|
10950
10950
|
Y([
|
|
10951
10951
|
E()
|
|
10952
|
-
],
|
|
10953
|
-
|
|
10952
|
+
], I.prototype, "_animationState", 2);
|
|
10953
|
+
I = Y([
|
|
10954
10954
|
x(Fr)
|
|
10955
|
-
],
|
|
10956
|
-
typeof window < "u" && (window.SonicModal =
|
|
10957
|
-
var
|
|
10958
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
10955
|
+
], I);
|
|
10956
|
+
typeof window < "u" && (window.SonicModal = I);
|
|
10957
|
+
var Ic = Object.defineProperty, Mc = Object.getOwnPropertyDescriptor, Ft = (r, t, i, s) => {
|
|
10958
|
+
for (var e = s > 1 ? void 0 : s ? Mc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10959
10959
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
10960
|
-
return s && e &&
|
|
10960
|
+
return s && e && Ic(t, i, e), e;
|
|
10961
10961
|
};
|
|
10962
10962
|
const jc = {
|
|
10963
10963
|
warning: "warning-circled-outline",
|
|
@@ -11136,7 +11136,7 @@ var zc = Object.defineProperty, Rc = Object.getOwnPropertyDescriptor, ns = (r, t
|
|
|
11136
11136
|
return s && e && zc(t, i, e), e;
|
|
11137
11137
|
};
|
|
11138
11138
|
const Uc = "sonic-alert-messages";
|
|
11139
|
-
let
|
|
11139
|
+
let fe = class extends G(_) {
|
|
11140
11140
|
constructor() {
|
|
11141
11141
|
super(...arguments), this.size = "md", this.background = !1, this.noIcon = !1, this.messages = [];
|
|
11142
11142
|
}
|
|
@@ -11152,7 +11152,7 @@ let pe = class extends G(_) {
|
|
|
11152
11152
|
</div>` : S;
|
|
11153
11153
|
}
|
|
11154
11154
|
};
|
|
11155
|
-
|
|
11155
|
+
fe.styles = [
|
|
11156
11156
|
$`
|
|
11157
11157
|
.container {
|
|
11158
11158
|
display: grid;
|
|
@@ -11164,19 +11164,19 @@ pe.styles = [
|
|
|
11164
11164
|
];
|
|
11165
11165
|
ns([
|
|
11166
11166
|
a({ type: String })
|
|
11167
|
-
],
|
|
11167
|
+
], fe.prototype, "size", 2);
|
|
11168
11168
|
ns([
|
|
11169
11169
|
a({ type: Boolean })
|
|
11170
|
-
],
|
|
11170
|
+
], fe.prototype, "background", 2);
|
|
11171
11171
|
ns([
|
|
11172
11172
|
a({ type: Boolean })
|
|
11173
|
-
],
|
|
11173
|
+
], fe.prototype, "noIcon", 2);
|
|
11174
11174
|
ns([
|
|
11175
11175
|
a({ type: Array })
|
|
11176
|
-
],
|
|
11177
|
-
|
|
11176
|
+
], fe.prototype, "messages", 2);
|
|
11177
|
+
fe = ns([
|
|
11178
11178
|
x(Uc)
|
|
11179
|
-
],
|
|
11179
|
+
], fe);
|
|
11180
11180
|
var Vc = Object.defineProperty, Bc = Object.getOwnPropertyDescriptor, zr = (r, t, i, s) => {
|
|
11181
11181
|
for (var e = s > 1 ? void 0 : s ? Bc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11182
11182
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
@@ -11211,7 +11211,7 @@ var Hc = Object.defineProperty, Wc = Object.getOwnPropertyDescriptor, as = (r, t
|
|
|
11211
11211
|
return s && e && Hc(t, i, e), e;
|
|
11212
11212
|
};
|
|
11213
11213
|
const Kc = "sonic-tooltip";
|
|
11214
|
-
let
|
|
11214
|
+
let me = class extends _ {
|
|
11215
11215
|
constructor() {
|
|
11216
11216
|
super(), this.label = "", this.disabled = !1, this.focusable = !1, this.lastKeyWasTab = !1, this.handleKeyDown = (r) => {
|
|
11217
11217
|
r.key === "Tab" && (this.lastKeyWasTab = !0);
|
|
@@ -11246,7 +11246,7 @@ let fe = class extends _ {
|
|
|
11246
11246
|
</div>`;
|
|
11247
11247
|
}
|
|
11248
11248
|
};
|
|
11249
|
-
|
|
11249
|
+
me.styles = [
|
|
11250
11250
|
$`
|
|
11251
11251
|
:host {
|
|
11252
11252
|
position: relative;
|
|
@@ -11357,19 +11357,19 @@ fe.styles = [
|
|
|
11357
11357
|
];
|
|
11358
11358
|
as([
|
|
11359
11359
|
a({ type: String })
|
|
11360
|
-
],
|
|
11360
|
+
], me.prototype, "label", 2);
|
|
11361
11361
|
as([
|
|
11362
11362
|
a({ type: String, reflect: !0 })
|
|
11363
|
-
],
|
|
11363
|
+
], me.prototype, "placement", 2);
|
|
11364
11364
|
as([
|
|
11365
11365
|
a({ type: Boolean })
|
|
11366
|
-
],
|
|
11366
|
+
], me.prototype, "disabled", 2);
|
|
11367
11367
|
as([
|
|
11368
11368
|
a({ type: Boolean })
|
|
11369
|
-
],
|
|
11370
|
-
|
|
11369
|
+
], me.prototype, "focusable", 2);
|
|
11370
|
+
me = as([
|
|
11371
11371
|
x(Kc)
|
|
11372
|
-
],
|
|
11372
|
+
], me);
|
|
11373
11373
|
var Yc = Object.defineProperty, Zc = Object.getOwnPropertyDescriptor, zt = (r, t, i, s) => {
|
|
11374
11374
|
for (var e = s > 1 ? void 0 : s ? Zc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11375
11375
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
@@ -11529,7 +11529,7 @@ zt([
|
|
|
11529
11529
|
ht({ flatten: !0 })
|
|
11530
11530
|
], Ct.prototype, "slotNodes", 2);
|
|
11531
11531
|
zt([
|
|
11532
|
-
|
|
11532
|
+
ee("div")
|
|
11533
11533
|
], Ct.prototype, "divider", 2);
|
|
11534
11534
|
zt([
|
|
11535
11535
|
a({ type: String })
|
|
@@ -11692,7 +11692,7 @@ hi.styles = [
|
|
|
11692
11692
|
hi = ah([
|
|
11693
11693
|
x(lh)
|
|
11694
11694
|
], hi);
|
|
11695
|
-
const
|
|
11695
|
+
const Ii = $`
|
|
11696
11696
|
:host {
|
|
11697
11697
|
--sc-_color: inherit;
|
|
11698
11698
|
color: var(--sc-_color);
|
|
@@ -11841,7 +11841,7 @@ var ph = Object.defineProperty, fh = Object.getOwnPropertyDescriptor, ls = (r, t
|
|
|
11841
11841
|
return s && e && ph(t, i, e), e;
|
|
11842
11842
|
};
|
|
11843
11843
|
const mh = "sonic-tr";
|
|
11844
|
-
let
|
|
11844
|
+
let be = class extends G(_) {
|
|
11845
11845
|
constructor() {
|
|
11846
11846
|
super(...arguments), this._metadata_ = {};
|
|
11847
11847
|
}
|
|
@@ -11852,8 +11852,8 @@ let me = class extends G(_) {
|
|
|
11852
11852
|
return b`<slot></slot>`;
|
|
11853
11853
|
}
|
|
11854
11854
|
};
|
|
11855
|
-
|
|
11856
|
-
|
|
11855
|
+
be.styles = [
|
|
11856
|
+
Ii,
|
|
11857
11857
|
$`
|
|
11858
11858
|
:host {
|
|
11859
11859
|
display: table-row;
|
|
@@ -11876,20 +11876,20 @@ me.styles = [
|
|
|
11876
11876
|
];
|
|
11877
11877
|
ls([
|
|
11878
11878
|
a({ type: Object })
|
|
11879
|
-
],
|
|
11879
|
+
], be.prototype, "_metadata_", 2);
|
|
11880
11880
|
ls([
|
|
11881
11881
|
a({ type: Boolean, reflect: !0 })
|
|
11882
|
-
],
|
|
11882
|
+
], be.prototype, "even", 2);
|
|
11883
11883
|
ls([
|
|
11884
11884
|
a({ type: Boolean, reflect: !0 })
|
|
11885
|
-
],
|
|
11885
|
+
], be.prototype, "odd", 2);
|
|
11886
11886
|
ls([
|
|
11887
11887
|
a({ type: Boolean, reflect: !0 })
|
|
11888
|
-
],
|
|
11889
|
-
|
|
11888
|
+
], be.prototype, "last", 2);
|
|
11889
|
+
be = ls([
|
|
11890
11890
|
x(mh)
|
|
11891
|
-
],
|
|
11892
|
-
var bh = Object.defineProperty, gh = Object.getOwnPropertyDescriptor,
|
|
11891
|
+
], be);
|
|
11892
|
+
var bh = Object.defineProperty, gh = Object.getOwnPropertyDescriptor, we = (r, t, i, s) => {
|
|
11893
11893
|
for (var e = s > 1 ? void 0 : s ? gh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11894
11894
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11895
11895
|
return s && e && bh(t, i, e), e;
|
|
@@ -11914,7 +11914,7 @@ let qt = class extends _ {
|
|
|
11914
11914
|
}
|
|
11915
11915
|
};
|
|
11916
11916
|
qt.styles = [
|
|
11917
|
-
|
|
11917
|
+
Ii,
|
|
11918
11918
|
$`
|
|
11919
11919
|
:host {
|
|
11920
11920
|
display: contents;
|
|
@@ -11940,28 +11940,28 @@ qt.styles = [
|
|
|
11940
11940
|
}
|
|
11941
11941
|
`
|
|
11942
11942
|
];
|
|
11943
|
-
|
|
11943
|
+
we([
|
|
11944
11944
|
a({ type: Number })
|
|
11945
11945
|
], qt.prototype, "colSpan", 2);
|
|
11946
|
-
|
|
11946
|
+
we([
|
|
11947
11947
|
a({ type: Number })
|
|
11948
11948
|
], qt.prototype, "rowSpan", 2);
|
|
11949
|
-
|
|
11949
|
+
we([
|
|
11950
11950
|
a({ type: String })
|
|
11951
11951
|
], qt.prototype, "align", 2);
|
|
11952
|
-
|
|
11952
|
+
we([
|
|
11953
11953
|
a({ type: String })
|
|
11954
11954
|
], qt.prototype, "minWidth", 2);
|
|
11955
|
-
|
|
11955
|
+
we([
|
|
11956
11956
|
a({ type: String })
|
|
11957
11957
|
], qt.prototype, "maxWidth", 2);
|
|
11958
|
-
|
|
11958
|
+
we([
|
|
11959
11959
|
a({ type: String })
|
|
11960
11960
|
], qt.prototype, "width", 2);
|
|
11961
|
-
qt =
|
|
11961
|
+
qt = we([
|
|
11962
11962
|
x(vh)
|
|
11963
11963
|
], qt);
|
|
11964
|
-
var yh = Object.defineProperty, wh = Object.getOwnPropertyDescriptor,
|
|
11964
|
+
var yh = Object.defineProperty, wh = Object.getOwnPropertyDescriptor, oe = (r, t, i, s) => {
|
|
11965
11965
|
for (var e = s > 1 ? void 0 : s ? wh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11966
11966
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11967
11967
|
return s && e && yh(t, i, e), e;
|
|
@@ -11982,7 +11982,7 @@ let Nt = class extends _ {
|
|
|
11982
11982
|
}
|
|
11983
11983
|
};
|
|
11984
11984
|
Nt.styles = [
|
|
11985
|
-
|
|
11985
|
+
Ii,
|
|
11986
11986
|
$`
|
|
11987
11987
|
:host {
|
|
11988
11988
|
display: contents;
|
|
@@ -11998,28 +11998,28 @@ Nt.styles = [
|
|
|
11998
11998
|
}
|
|
11999
11999
|
`
|
|
12000
12000
|
];
|
|
12001
|
-
|
|
12001
|
+
oe([
|
|
12002
12002
|
a({ type: Number })
|
|
12003
12003
|
], Nt.prototype, "colSpan", 2);
|
|
12004
|
-
|
|
12004
|
+
oe([
|
|
12005
12005
|
a({ type: Number })
|
|
12006
12006
|
], Nt.prototype, "rowSpan", 2);
|
|
12007
|
-
|
|
12007
|
+
oe([
|
|
12008
12008
|
a({ type: String })
|
|
12009
12009
|
], Nt.prototype, "align", 2);
|
|
12010
|
-
|
|
12010
|
+
oe([
|
|
12011
12011
|
a({ type: String })
|
|
12012
12012
|
], Nt.prototype, "vAlign", 2);
|
|
12013
|
-
|
|
12013
|
+
oe([
|
|
12014
12014
|
a({ type: String })
|
|
12015
12015
|
], Nt.prototype, "minWidth", 2);
|
|
12016
|
-
|
|
12016
|
+
oe([
|
|
12017
12017
|
a({ type: String })
|
|
12018
12018
|
], Nt.prototype, "maxWidth", 2);
|
|
12019
|
-
|
|
12019
|
+
oe([
|
|
12020
12020
|
a({ type: String })
|
|
12021
12021
|
], Nt.prototype, "width", 2);
|
|
12022
|
-
Nt =
|
|
12022
|
+
Nt = oe([
|
|
12023
12023
|
x(_h)
|
|
12024
12024
|
], Nt);
|
|
12025
12025
|
var xh = Object.getOwnPropertyDescriptor, Ph = (r, t, i, s) => {
|
|
@@ -12126,13 +12126,13 @@ fi.styles = [
|
|
|
12126
12126
|
fi = Eh([
|
|
12127
12127
|
x(Nh)
|
|
12128
12128
|
], fi);
|
|
12129
|
-
var Th = Object.defineProperty,
|
|
12130
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
12129
|
+
var Th = Object.defineProperty, Ih = Object.getOwnPropertyDescriptor, Me = (r, t, i, s) => {
|
|
12130
|
+
for (var e = s > 1 ? void 0 : s ? Ih(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
12131
12131
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
12132
12132
|
return s && e && Th(t, i, e), e;
|
|
12133
12133
|
};
|
|
12134
|
-
const
|
|
12135
|
-
let
|
|
12134
|
+
const Mh = "sonic-table";
|
|
12135
|
+
let te = class extends _ {
|
|
12136
12136
|
render() {
|
|
12137
12137
|
const r = {
|
|
12138
12138
|
maxHeight: this.maxHeight
|
|
@@ -12149,7 +12149,7 @@ let Jt = class extends _ {
|
|
|
12149
12149
|
`;
|
|
12150
12150
|
}
|
|
12151
12151
|
};
|
|
12152
|
-
|
|
12152
|
+
te.styles = [
|
|
12153
12153
|
ss,
|
|
12154
12154
|
Tt,
|
|
12155
12155
|
$`
|
|
@@ -12201,22 +12201,22 @@ Jt.styles = [
|
|
|
12201
12201
|
];
|
|
12202
12202
|
Me([
|
|
12203
12203
|
a({ type: String, reflect: !0 })
|
|
12204
|
-
],
|
|
12204
|
+
], te.prototype, "size", 2);
|
|
12205
12205
|
Me([
|
|
12206
12206
|
a({ type: Boolean, reflect: !0 })
|
|
12207
|
-
],
|
|
12207
|
+
], te.prototype, "bordered", 2);
|
|
12208
12208
|
Me([
|
|
12209
12209
|
a({ type: Boolean, reflect: !0 })
|
|
12210
|
-
],
|
|
12210
|
+
], te.prototype, "rounded", 2);
|
|
12211
12211
|
Me([
|
|
12212
12212
|
a({ type: Boolean, reflect: !0 })
|
|
12213
|
-
],
|
|
12213
|
+
], te.prototype, "noCustomScroll", 2);
|
|
12214
12214
|
Me([
|
|
12215
12215
|
a({ type: String })
|
|
12216
|
-
],
|
|
12217
|
-
|
|
12218
|
-
x(
|
|
12219
|
-
],
|
|
12216
|
+
], te.prototype, "maxHeight", 2);
|
|
12217
|
+
te = Me([
|
|
12218
|
+
x(Mh)
|
|
12219
|
+
], te);
|
|
12220
12220
|
const Ur = "AES-CBC", jh = 256;
|
|
12221
12221
|
async function Fh() {
|
|
12222
12222
|
return crypto.subtle.generateKey(
|
|
@@ -12475,7 +12475,7 @@ var Vh = Object.defineProperty, Bh = Object.getOwnPropertyDescriptor, zs = (r, t
|
|
|
12475
12475
|
const qh = "supersoniks_altcha", Hh = "Si2\\]X8M4!n9DCLd";
|
|
12476
12476
|
let pr = !1;
|
|
12477
12477
|
const Wh = "sonic-captcha";
|
|
12478
|
-
let
|
|
12478
|
+
let Ae = class extends ie(_) {
|
|
12479
12479
|
constructor() {
|
|
12480
12480
|
super(...arguments), this.key = "", this.action = null, this.zIndex = 9999, this.onCaptchaTokenChanged = (r) => {
|
|
12481
12481
|
r == "request_token" && (this.formPublisher && this.formPublisher.captchaToken.set(""), this.requestToken());
|
|
@@ -12485,7 +12485,7 @@ let Se = class extends se(_) {
|
|
|
12485
12485
|
if (document.location.protocol.includes("https")) {
|
|
12486
12486
|
if (!pr) {
|
|
12487
12487
|
const r = document.createElement("script");
|
|
12488
|
-
r.type = "module", this.setAttribute("async", ""), this.setAttribute("defer", ""), r.src = "https://
|
|
12488
|
+
r.type = "module", this.setAttribute("async", ""), this.setAttribute("defer", ""), r.src = "https://cdn.jsdelivr.net/gh/altcha-org/altcha/dist/altcha.min.js", pr = !0, document.head.appendChild(r);
|
|
12489
12489
|
}
|
|
12490
12490
|
this.generateEncryptedKey(), super.connectedCallback(), this.formPublisher = Os(
|
|
12491
12491
|
this.getAncestorAttributeValue("headersDataProvider") ?? this.getAncestorAttributeValue("formDataProvider")
|
|
@@ -12504,7 +12504,9 @@ let Se = class extends se(_) {
|
|
|
12504
12504
|
const r = this.shadowRoot.querySelector("form");
|
|
12505
12505
|
if (!r) return;
|
|
12506
12506
|
const t = new FormData(r);
|
|
12507
|
-
this.formPublisher.captchaKey.set(this.key), this.formPublisher.captchaToken.set(
|
|
12507
|
+
this.formPublisher.captchaKey.set(this.key), this.formPublisher.captchaToken.set(
|
|
12508
|
+
t.get("altcha")?.toString() || ""
|
|
12509
|
+
);
|
|
12508
12510
|
}
|
|
12509
12511
|
async generateEncryptedKey() {
|
|
12510
12512
|
if (this.key) return;
|
|
@@ -12514,7 +12516,7 @@ let Se = class extends se(_) {
|
|
|
12514
12516
|
render() {
|
|
12515
12517
|
if (!this.key)
|
|
12516
12518
|
return S;
|
|
12517
|
-
const t =
|
|
12519
|
+
const t = Zt.getLanguage().match("^fr\\b") ? {
|
|
12518
12520
|
aria: "Visitez altcha.org",
|
|
12519
12521
|
error: "La vérification a échoué, réessayez plus tard.",
|
|
12520
12522
|
expired: "La vérification a expiré, réessayez.",
|
|
@@ -12548,7 +12550,7 @@ let Se = class extends se(_) {
|
|
|
12548
12550
|
`;
|
|
12549
12551
|
}
|
|
12550
12552
|
};
|
|
12551
|
-
|
|
12553
|
+
Ae.styles = [
|
|
12552
12554
|
Uh,
|
|
12553
12555
|
$`
|
|
12554
12556
|
:host {
|
|
@@ -12573,16 +12575,16 @@ Se.styles = [
|
|
|
12573
12575
|
];
|
|
12574
12576
|
zs([
|
|
12575
12577
|
a()
|
|
12576
|
-
],
|
|
12578
|
+
], Ae.prototype, "key", 2);
|
|
12577
12579
|
zs([
|
|
12578
12580
|
a()
|
|
12579
|
-
],
|
|
12581
|
+
], Ae.prototype, "action", 2);
|
|
12580
12582
|
zs([
|
|
12581
12583
|
a({ type: Number })
|
|
12582
|
-
],
|
|
12583
|
-
|
|
12584
|
+
], Ae.prototype, "zIndex", 2);
|
|
12585
|
+
Ae = zs([
|
|
12584
12586
|
x(Wh)
|
|
12585
|
-
],
|
|
12587
|
+
], Ae);
|
|
12586
12588
|
window.queueMicrotask = window.queueMicrotask || function(r) {
|
|
12587
12589
|
Promise.resolve().then(r).catch(
|
|
12588
12590
|
(t) => setTimeout(() => {
|
|
@@ -12688,7 +12690,7 @@ function td(r) {
|
|
|
12688
12690
|
const i = t.shift() || "";
|
|
12689
12691
|
if (!i) return null;
|
|
12690
12692
|
let s = k.get(i);
|
|
12691
|
-
return s ? (s =
|
|
12693
|
+
return s ? (s = Ee.traverse(s, t), s) : null;
|
|
12692
12694
|
}
|
|
12693
12695
|
function ed(r, t) {
|
|
12694
12696
|
const i = t?.reflect ?? !1, s = Gh(r), e = s.length > 0;
|
|
@@ -12844,7 +12846,7 @@ function ad(r) {
|
|
|
12844
12846
|
const i = t.shift() || "";
|
|
12845
12847
|
if (!i) return null;
|
|
12846
12848
|
let s = k.get(i);
|
|
12847
|
-
return s ? (s =
|
|
12849
|
+
return s ? (s = Ee.traverse(s, t), s) : null;
|
|
12848
12850
|
}
|
|
12849
12851
|
function ld(...r) {
|
|
12850
12852
|
const t = r.map((i) => {
|
|
@@ -12967,7 +12969,7 @@ function hd(r) {
|
|
|
12967
12969
|
continue;
|
|
12968
12970
|
const e = s.shift() || "";
|
|
12969
12971
|
let o = k.get(e);
|
|
12970
|
-
o =
|
|
12972
|
+
o = Ee.traverse(o, s), t.__onConnected__((n) => {
|
|
12971
12973
|
o.startTemplateFilling(n);
|
|
12972
12974
|
}), t.__onDisconnected__(() => {
|
|
12973
12975
|
});
|
|
@@ -13029,7 +13031,7 @@ class ud extends xi {
|
|
|
13029
13031
|
this.observable && this.subscribe(this.observable);
|
|
13030
13032
|
}
|
|
13031
13033
|
}
|
|
13032
|
-
const qr =
|
|
13034
|
+
const qr = se(ud), pd = qr, fd = qr;
|
|
13033
13035
|
window["concorde-directives-data-provider"] = window["concorde-directives-data-provider"] || {};
|
|
13034
13036
|
window["concorde-directives-data-provider"] = {
|
|
13035
13037
|
dp: Os,
|
|
@@ -13039,7 +13041,7 @@ window["concorde-directives-data-provider"] = {
|
|
|
13039
13041
|
get: Zr,
|
|
13040
13042
|
set: Gr
|
|
13041
13043
|
};
|
|
13042
|
-
const md = D, bd =
|
|
13044
|
+
const md = D, bd = I;
|
|
13043
13045
|
window["concorde-components"] = window["concorde-components"] || {};
|
|
13044
13046
|
window["concorde-components"] = {
|
|
13045
13047
|
SonicToast: md,
|