@supersoniks/concorde 3.2.0 → 3.2.2
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 +101 -101
- package/concorde-core.es.js +187 -182
- package/dist/concorde-core.bundle.js +101 -101
- package/dist/concorde-core.es.js +187 -182
- package/index.html +0 -0
- package/package.json +1 -1
- package/scripts/create-search.js +0 -0
- package/scripts/generate-routes.js +0 -0
- package/src/core/_types/types.ts +0 -0
- package/src/core/components/functional/date/date.ts +0 -0
- package/src/core/components/functional/functional.ts +0 -0
- package/src/core/components/functional/if/if.md +0 -0
- package/src/core/components/functional/if/if.test.ts +0 -0
- package/src/core/components/functional/list/list.spec.ts +0 -0
- package/src/core/components/functional/queue/queue.demo.ts +0 -0
- package/src/core/components/functional/router/router.demo.ts +0 -0
- package/src/core/components/functional/router/router.md +0 -0
- package/src/core/components/functional/router/router.spec.ts +0 -0
- package/src/core/components/functional/router/router.ts +0 -0
- package/src/core/components/functional/sonic-scope/sonic-scope.ts +0 -0
- package/src/core/components/functional/states/states.demo.ts +0 -0
- package/src/core/components/functional/states/states.md +0 -0
- package/src/core/components/functional/states/states.spec.ts +0 -0
- package/src/core/components/functional/states/states.ts +0 -0
- package/src/core/components/functional/submit/submit.ts +0 -0
- package/src/core/components/functional/translation/translation.ts +0 -0
- package/src/core/components/ui/_css/scroll.ts +0 -0
- package/src/core/components/ui/_css/shadow.ts +0 -0
- package/src/core/components/ui/_css/size.ts +0 -0
- package/src/core/components/ui/_css/type.ts +0 -0
- package/src/core/components/ui/alert/alert.md +0 -0
- package/src/core/components/ui/alert/alert.ts +0 -0
- package/src/core/components/ui/alert-messages/alert-messages.md +0 -0
- package/src/core/components/ui/badge/badge.md +0 -0
- package/src/core/components/ui/badge/badge.ts +0 -0
- package/src/core/components/ui/button/button.md +0 -0
- package/src/core/components/ui/button/button.ts +0 -0
- package/src/core/components/ui/captcha/captcha.md +0 -0
- package/src/core/components/ui/captcha/captcha.ts +0 -0
- package/src/core/components/ui/card/card-footer.ts +0 -0
- package/src/core/components/ui/card/card-header-descripton.ts +0 -0
- package/src/core/components/ui/card/card-header.ts +0 -0
- package/src/core/components/ui/card/card-main.ts +0 -0
- package/src/core/components/ui/card/card.md +0 -0
- package/src/core/components/ui/card/card.ts +0 -0
- package/src/core/components/ui/divider/divider.ts +0 -0
- package/src/core/components/ui/form/checkbox/checkbox.md +0 -0
- package/src/core/components/ui/form/checkbox/checkbox.ts +0 -0
- package/src/core/components/ui/form/css/form-control.ts +0 -0
- package/src/core/components/ui/form/fieldset/fieldset.ts +0 -0
- package/src/core/components/ui/form/fieldset/legend-description.ts +0 -0
- package/src/core/components/ui/form/fieldset/legend.ts +0 -0
- package/src/core/components/ui/form/form-layout/form-layout.md +0 -0
- package/src/core/components/ui/form/input/input.md +0 -0
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -0
- package/src/core/components/ui/form/radio/radio.md +0 -0
- package/src/core/components/ui/form/radio/radio.ts +0 -0
- package/src/core/components/ui/form/select/select.md +0 -0
- package/src/core/components/ui/form/switch/switch.md +0 -0
- package/src/core/components/ui/form/switch/switch.ts +0 -0
- package/src/core/components/ui/form/textarea/textarea.ts +0 -0
- package/src/core/components/ui/icon/icons.ts +14 -3
- package/src/core/components/ui/image/image.md +0 -0
- package/src/core/components/ui/image/image.ts +0 -0
- package/src/core/components/ui/loader/loader.md +0 -0
- package/src/core/components/ui/loader/loader.ts +0 -0
- package/src/core/components/ui/loader/styles/fixed.ts +0 -0
- package/src/core/components/ui/loader/styles/inline.ts +0 -0
- package/src/core/components/ui/menu/menu.ts +0 -0
- package/src/core/components/ui/modal/modal-actions.ts +0 -0
- package/src/core/components/ui/modal/modal-close.ts +0 -0
- package/src/core/components/ui/modal/modal-subtitle.ts +0 -0
- package/src/core/components/ui/modal/modal-title.ts +0 -0
- package/src/core/components/ui/modal/modal.md +0 -0
- package/src/core/components/ui/pop/pop.md +0 -0
- package/src/core/components/ui/progress/progress.ts +0 -0
- package/src/core/components/ui/table/table-tbody.ts +0 -0
- package/src/core/components/ui/table/table-th.ts +0 -0
- package/src/core/components/ui/table/table.ts +0 -0
- package/src/core/components/ui/theme/theme-collection/core-variables.ts +0 -0
- package/src/core/components/ui/theme/theme-collection/dark.ts +0 -0
- package/src/core/components/ui/theme/theme-collection/light.ts +0 -0
- package/src/core/components/ui/theme/theme.ts +0 -0
- package/src/core/components/ui/toast/toast-item.ts +0 -0
- package/src/core/components/ui/tooltip/tooltip.ts +0 -0
- package/src/core/components/ui/ui.ts +0 -0
- package/src/core/directives/DataProvider.ts +0 -0
- package/src/core/directives/Wording.ts +0 -0
- package/src/core/mixins/Fetcher.ts +0 -0
- package/src/core/mixins/FormCheckable.ts +0 -0
- package/src/core/mixins/TemplatesContainer.ts +0 -0
- package/src/core/utils/HTML.ts +0 -0
- package/src/core/utils/LocationHandler.ts +0 -0
- package/src/core/utils/Objects.ts +0 -0
- package/src/core/utils/Utils.ts +0 -0
- package/src/core/utils/api.ts +0 -0
- package/src/core/utils/route.spec.ts +0 -0
- package/src/core/utils/route.ts +0 -0
- package/src/docs/code.ts +0 -0
- package/src/docs/docs.ts +0 -0
- package/src/docs/header/header.ts +0 -0
- package/src/docs/layout.ts +0 -0
- package/src/docs/navigation/navigation.ts +0 -0
- package/src/docs/search/docs-search.json +0 -0
- package/src/docs/search/markdown-renderer.ts +0 -0
- package/src/docs/search/page.ts +0 -0
- package/src/docs/search/search.ts +0 -0
- package/src/docs/tailwind/css/tailwind.css +0 -0
- package/src/docs/tailwind/css.d.ts +0 -0
- package/src/index.ts +0 -0
- package/src/test-utils/TestUtils.ts +0 -0
- package/src/tsconfig-model.json +0 -0
- package/src/tsconfig.json +294 -294
- package/tailwind.config.js +0 -0
- package/templates-test.html +0 -0
- package/vite/config.js +0 -0
- package/docs/assets/index-C0K6xugr.css +0 -1
- package/docs/assets/index-Dgl1lJQo.js +0 -4861
- package/docs/css/docs.css +0 -0
- package/docs/fonts/ClashGrotesk-Bold.eot +0 -0
- package/docs/fonts/ClashGrotesk-Bold.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Bold.woff +0 -0
- package/docs/fonts/ClashGrotesk-Bold.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.eot +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.woff +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Light.eot +0 -0
- package/docs/fonts/ClashGrotesk-Light.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Light.woff +0 -0
- package/docs/fonts/ClashGrotesk-Light.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Medium.eot +0 -0
- package/docs/fonts/ClashGrotesk-Medium.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Medium.woff +0 -0
- package/docs/fonts/ClashGrotesk-Medium.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Regular.eot +0 -0
- package/docs/fonts/ClashGrotesk-Regular.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Regular.woff +0 -0
- package/docs/fonts/ClashGrotesk-Regular.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.eot +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.woff +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Variable.eot +0 -0
- package/docs/fonts/ClashGrotesk-Variable.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Variable.woff +0 -0
- package/docs/fonts/ClashGrotesk-Variable.woff2 +0 -0
- package/docs/img/concorde-icon.svg +0 -5
- package/docs/img/concorde-logo.svg +0 -1
- package/docs/img/concorde.png +0 -0
- package/docs/img/concorde_def.png +0 -0
- package/docs/img/concorde_seuil.png.webp +0 -0
- package/docs/img/concorde_seuil_invert.png +0 -0
- package/docs/img/paul_metrand.jpg +0 -0
- package/docs/img/paul_metrand_xs.jpg +0 -0
- package/docs/index.html +0 -93
- package/docs/src/core/components/functional/date/date.md +0 -290
- package/docs/src/core/components/functional/fetch/fetch.md +0 -117
- package/docs/src/core/components/functional/if/if.md +0 -16
- package/docs/src/core/components/functional/list/list.md +0 -199
- package/docs/src/core/components/functional/mix/mix.md +0 -41
- package/docs/src/core/components/functional/queue/queue.md +0 -87
- package/docs/src/core/components/functional/router/router.md +0 -129
- package/docs/src/core/components/functional/sdui/default-library.json +0 -108
- package/docs/src/core/components/functional/sdui/example.json +0 -99
- package/docs/src/core/components/functional/sdui/sdui.md +0 -356
- package/docs/src/core/components/functional/states/states.md +0 -87
- package/docs/src/core/components/functional/submit/submit.md +0 -83
- package/docs/src/core/components/functional/subscriber/subscriber.md +0 -91
- package/docs/src/core/components/functional/value/value.md +0 -35
- package/docs/src/core/components/ui/alert/alert.md +0 -121
- package/docs/src/core/components/ui/alert-messages/alert-messages.md +0 -0
- package/docs/src/core/components/ui/badge/badge.md +0 -127
- package/docs/src/core/components/ui/button/button.md +0 -182
- package/docs/src/core/components/ui/captcha/captcha.md +0 -24
- package/docs/src/core/components/ui/card/card.md +0 -97
- package/docs/src/core/components/ui/divider/divider.md +0 -35
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +0 -104
- package/docs/src/core/components/ui/form/fieldset/fieldset.md +0 -129
- package/docs/src/core/components/ui/form/form-actions/form-actions.md +0 -77
- package/docs/src/core/components/ui/form/form-layout/form-layout.md +0 -44
- package/docs/src/core/components/ui/form/input/input.md +0 -167
- package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -131
- package/docs/src/core/components/ui/form/radio/radio.md +0 -84
- package/docs/src/core/components/ui/form/select/select.md +0 -97
- package/docs/src/core/components/ui/form/switch/switch.md +0 -84
- package/docs/src/core/components/ui/form/textarea/textarea.md +0 -65
- package/docs/src/core/components/ui/group/group.md +0 -75
- package/docs/src/core/components/ui/icon/icon.md +0 -125
- package/docs/src/core/components/ui/icon/icons.json +0 -1
- package/docs/src/core/components/ui/image/image.md +0 -107
- package/docs/src/core/components/ui/link/link.md +0 -43
- package/docs/src/core/components/ui/loader/loader.md +0 -67
- package/docs/src/core/components/ui/menu/menu.md +0 -288
- package/docs/src/core/components/ui/modal/modal.md +0 -123
- package/docs/src/core/components/ui/pop/pop.md +0 -96
- package/docs/src/core/components/ui/progress/progress.md +0 -63
- package/docs/src/core/components/ui/table/table.md +0 -455
- package/docs/src/core/components/ui/tooltip/tooltip.md +0 -82
- package/docs/src/docs/_core-concept/overview.md +0 -57
- package/docs/src/docs/_core-concept/subscriber.md +0 -76
- package/docs/src/docs/_getting-started/concorde-outside.md +0 -143
- package/docs/src/docs/_getting-started/create-a-component.md +0 -137
- package/docs/src/docs/_getting-started/my-first-subscriber.md +0 -174
- package/docs/src/docs/_getting-started/pubsub.md +0 -150
- package/docs/src/docs/_getting-started/start.md +0 -39
- package/docs/src/docs/_getting-started/theming.md +0 -91
- package/docs/src/docs/search/docs-search.json +0 -3917
- package/docs/src/tag-list.json +0 -1
- package/docs/src/tsconfig-model.json +0 -23
- package/docs/src/tsconfig.json +0 -918
- package/docs/svg/regular/plane.svg +0 -1
- package/docs/svg/solid/plane.svg +0 -1
- package/php/get-challenge.php +0 -34
- package/php/some-service.php +0 -42
package/concorde-core.es.js
CHANGED
|
@@ -556,7 +556,7 @@ let T = (D = class {
|
|
|
556
556
|
const h = await new Response(l.readable).arrayBuffer();
|
|
557
557
|
return new TextDecoder().decode(h);
|
|
558
558
|
}
|
|
559
|
-
}, D.buildDate = "
|
|
559
|
+
}, D.buildDate = "Tue Oct 07 2025 12:59:57 GMT+0200 (heure d’été d’Europe centrale)", D.changed = !1, D.saving = !1, D.saveId = 0, D.instance = null, D.instances = /* @__PURE__ */ new Map(), D.modifiedCollectore = [], D);
|
|
560
560
|
if (typeof window < "u") {
|
|
561
561
|
const r = window;
|
|
562
562
|
r[fs + "PublisherManager"] = r[fs + "PublisherManager"] || T;
|
|
@@ -829,8 +829,8 @@ let As = (N = class {
|
|
|
829
829
|
publisher: d,
|
|
830
830
|
onAssign: () => {
|
|
831
831
|
const b = l.variables.map((E) => N.getSubPublisher(s, E)?.get());
|
|
832
|
-
let
|
|
833
|
-
if (b.length == 1 && l.variables[0].join(".") ==
|
|
832
|
+
let x = l.expression, C = !1;
|
|
833
|
+
if (b.length == 1 && l.variables[0].join(".") == x.substring(1)) {
|
|
834
834
|
let E = b[0];
|
|
835
835
|
E === null && (E = ""), m[c] = E;
|
|
836
836
|
return;
|
|
@@ -838,19 +838,19 @@ let As = (N = class {
|
|
|
838
838
|
for (let E = 0; E < b.length; E++) {
|
|
839
839
|
let p = b[E];
|
|
840
840
|
const u = l.variables[E];
|
|
841
|
-
p === null && (
|
|
841
|
+
p === null && (C = !0, p = void 0), x = x.replace("$" + u.join("."), p);
|
|
842
842
|
}
|
|
843
|
-
if (
|
|
844
|
-
const E =
|
|
843
|
+
if (x.indexOf("|") != -1) {
|
|
844
|
+
const E = x.indexOf("|");
|
|
845
845
|
if (E == 0)
|
|
846
|
-
|
|
846
|
+
x = us.js(x.substring(1));
|
|
847
847
|
else {
|
|
848
|
-
const p =
|
|
849
|
-
|
|
848
|
+
const p = x.substring(0, E), u = x.substring(E + 1), y = us[p];
|
|
849
|
+
x = C ? "" : y ? y(u) : x;
|
|
850
850
|
}
|
|
851
851
|
} else
|
|
852
|
-
|
|
853
|
-
m[c] =
|
|
852
|
+
x = C ? "" : x;
|
|
853
|
+
m[c] = x;
|
|
854
854
|
}
|
|
855
855
|
};
|
|
856
856
|
d?.onAssign(v.onAssign), o.push(v);
|
|
@@ -976,7 +976,7 @@ let pr = class {
|
|
|
976
976
|
return this.cssText;
|
|
977
977
|
}
|
|
978
978
|
};
|
|
979
|
-
const Br = (r) => new pr(typeof r == "string" ? r : r + "", void 0, ui),
|
|
979
|
+
const Br = (r) => new pr(typeof r == "string" ? r : r + "", void 0, ui), P = (r, ...t) => {
|
|
980
980
|
const i = r.length === 1 ? r[0] : t.reduce(((s, e, o) => s + ((n) => {
|
|
981
981
|
if (n._$cssResult$ === !0) return n.cssText;
|
|
982
982
|
if (typeof n == "number") return n;
|
|
@@ -1304,7 +1304,7 @@ function ht(r) {
|
|
|
1304
1304
|
*/
|
|
1305
1305
|
const mi = globalThis, ms = mi.trustedTypes, zi = ms ? ms.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ur = "$lit$", Yt = `lit$${Math.random().toFixed(9).slice(2)}$`, fr = "?" + Yt, eo = `<${fr}>`, he = document, We = () => he.createComment(""), Ke = (r) => r === null || typeof r != "object" && typeof r != "function", bi = Array.isArray, so = (r) => bi(r) || typeof r?.[Symbol.iterator] == "function", Fs = `[
|
|
1306
1306
|
\f\r]`, je = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ri = /-->/g, Ui = />/g, oe = RegExp(`>|${Fs}(?:([^\\s"'>=/]+)(${Fs}*=${Fs}*(?:[^
|
|
1307
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Vi = /'/g, Bi = /"/g, gr = /^(?:script|style|textarea|title)$/i, io = (r) => (t, ...i) => ({ _$litType$: r, strings: t, values: i }), g = io(1), yt = Symbol.for("lit-noChange"),
|
|
1307
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Vi = /'/g, Bi = /"/g, gr = /^(?:script|style|textarea|title)$/i, io = (r) => (t, ...i) => ({ _$litType$: r, strings: t, values: i }), g = io(1), yt = Symbol.for("lit-noChange"), S = Symbol.for("lit-nothing"), qi = /* @__PURE__ */ new WeakMap(), ce = he.createTreeWalker(he, 129);
|
|
1308
1308
|
function mr(r, t) {
|
|
1309
1309
|
if (!bi(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1310
1310
|
return zi !== void 0 ? zi.createHTML(t) : t;
|
|
@@ -1397,7 +1397,7 @@ class Oe {
|
|
|
1397
1397
|
return this._$AM?._$AU ?? this._$Cv;
|
|
1398
1398
|
}
|
|
1399
1399
|
constructor(t, i, s, e) {
|
|
1400
|
-
this.type = 2, this._$AH =
|
|
1400
|
+
this.type = 2, this._$AH = S, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = e?.isConnected ?? !0;
|
|
1401
1401
|
}
|
|
1402
1402
|
get parentNode() {
|
|
1403
1403
|
let t = this._$AA.parentNode;
|
|
@@ -1411,7 +1411,7 @@ class Oe {
|
|
|
1411
1411
|
return this._$AB;
|
|
1412
1412
|
}
|
|
1413
1413
|
_$AI(t, i = this) {
|
|
1414
|
-
t = Pe(this, t, i), Ke(t) ? t ===
|
|
1414
|
+
t = Pe(this, t, i), Ke(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) : so(t) ? this.k(t) : this._(t);
|
|
1415
1415
|
}
|
|
1416
1416
|
O(t) {
|
|
1417
1417
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1420,7 +1420,7 @@ class Oe {
|
|
|
1420
1420
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
1421
1421
|
}
|
|
1422
1422
|
_(t) {
|
|
1423
|
-
this._$AH !==
|
|
1423
|
+
this._$AH !== S && Ke(this._$AH) ? this._$AA.nextSibling.data = t : this.T(he.createTextNode(t)), this._$AH = t;
|
|
1424
1424
|
}
|
|
1425
1425
|
$(t) {
|
|
1426
1426
|
const { values: i, _$litType$: s } = t, e = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = qs.createElement(mr(s.h, s.h[0]), this.options)), s);
|
|
@@ -1459,7 +1459,7 @@ class Os {
|
|
|
1459
1459
|
return this._$AM._$AU;
|
|
1460
1460
|
}
|
|
1461
1461
|
constructor(t, i, s, e, o) {
|
|
1462
|
-
this.type = 1, this._$AH =
|
|
1462
|
+
this.type = 1, this._$AH = S, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = S;
|
|
1463
1463
|
}
|
|
1464
1464
|
_$AI(t, i = this, s, e) {
|
|
1465
1465
|
const o = this.strings;
|
|
@@ -1468,12 +1468,12 @@ class Os {
|
|
|
1468
1468
|
else {
|
|
1469
1469
|
const l = t;
|
|
1470
1470
|
let c, h;
|
|
1471
|
-
for (t = o[0], c = 0; c < o.length - 1; c++) h = Pe(this, l[s + c], i, c), h === yt && (h = this._$AH[c]), n ||= !Ke(h) || h !== this._$AH[c], h ===
|
|
1471
|
+
for (t = o[0], c = 0; c < o.length - 1; c++) h = Pe(this, l[s + c], i, c), h === yt && (h = this._$AH[c]), n ||= !Ke(h) || h !== this._$AH[c], h === S ? t = S : t !== S && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
|
|
1472
1472
|
}
|
|
1473
1473
|
n && !e && this.j(t);
|
|
1474
1474
|
}
|
|
1475
1475
|
j(t) {
|
|
1476
|
-
t ===
|
|
1476
|
+
t === S ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
1477
1477
|
}
|
|
1478
1478
|
}
|
|
1479
1479
|
class no extends Os {
|
|
@@ -1481,7 +1481,7 @@ class no extends Os {
|
|
|
1481
1481
|
super(...arguments), this.type = 3;
|
|
1482
1482
|
}
|
|
1483
1483
|
j(t) {
|
|
1484
|
-
this.element[this.name] = t ===
|
|
1484
|
+
this.element[this.name] = t === S ? void 0 : t;
|
|
1485
1485
|
}
|
|
1486
1486
|
}
|
|
1487
1487
|
class ao extends Os {
|
|
@@ -1489,7 +1489,7 @@ class ao extends Os {
|
|
|
1489
1489
|
super(...arguments), this.type = 4;
|
|
1490
1490
|
}
|
|
1491
1491
|
j(t) {
|
|
1492
|
-
this.element.toggleAttribute(this.name, !!t && t !==
|
|
1492
|
+
this.element.toggleAttribute(this.name, !!t && t !== S);
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
1495
|
class lo extends Os {
|
|
@@ -1497,8 +1497,8 @@ class lo extends Os {
|
|
|
1497
1497
|
super(t, i, s, e, o), this.type = 5;
|
|
1498
1498
|
}
|
|
1499
1499
|
_$AI(t, i = this) {
|
|
1500
|
-
if ((t = Pe(this, t, i, 0) ??
|
|
1501
|
-
const s = this._$AH, e = t ===
|
|
1500
|
+
if ((t = Pe(this, t, i, 0) ?? S) === yt) return;
|
|
1501
|
+
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);
|
|
1502
1502
|
e && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
1503
1503
|
}
|
|
1504
1504
|
handleEvent(t) {
|
|
@@ -1825,13 +1825,13 @@ const yr = ee(Po), $o = yr, Co = yr, So = (r) => Ds(r).values().next().value?.ge
|
|
|
1825
1825
|
for (const [d, m] of e.entries()) {
|
|
1826
1826
|
const v = m.split(",").map((b) => b.trim());
|
|
1827
1827
|
for (const b of v)
|
|
1828
|
-
for (const
|
|
1829
|
-
if (typeof
|
|
1830
|
-
isNaN(+
|
|
1828
|
+
for (const x of n)
|
|
1829
|
+
if (typeof x != "object")
|
|
1830
|
+
isNaN(+x) ? x.toString().toLowerCase().includes(m.toLowerCase()) && l.push(x) : x === m && l.push(x);
|
|
1831
1831
|
else {
|
|
1832
|
-
const
|
|
1833
|
-
if (!
|
|
1834
|
-
isNaN(+
|
|
1832
|
+
const C = x;
|
|
1833
|
+
if (!C[d]) continue;
|
|
1834
|
+
isNaN(+C[d]) ? C[d]?.toString().toLowerCase().includes(b.toLowerCase()) && l.push(x) : C[d] === b && l.push(x);
|
|
1835
1835
|
}
|
|
1836
1836
|
}
|
|
1837
1837
|
return l.slice(h, h + c);
|
|
@@ -1988,10 +1988,10 @@ const Oo = async (r, t) => {
|
|
|
1988
1988
|
*/
|
|
1989
1989
|
let Hs = class extends De {
|
|
1990
1990
|
constructor(t) {
|
|
1991
|
-
if (super(t), this.it =
|
|
1991
|
+
if (super(t), this.it = S, t.type !== me.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
1992
1992
|
}
|
|
1993
1993
|
render(t) {
|
|
1994
|
-
if (t ===
|
|
1994
|
+
if (t === S || t == null) return this._t = void 0, this.it = t;
|
|
1995
1995
|
if (t === yt) return t;
|
|
1996
1996
|
if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
1997
1997
|
if (t === this.it) return this._t;
|
|
@@ -2085,9 +2085,9 @@ const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2085
2085
|
...n.translatedKeys,
|
|
2086
2086
|
...n.keysToTranslate
|
|
2087
2087
|
]), n.keysToTranslate.clear();
|
|
2088
|
-
const
|
|
2089
|
-
for (const
|
|
2090
|
-
V.publisher["wording_" +
|
|
2088
|
+
const x = await h.get(b);
|
|
2089
|
+
for (const C in x)
|
|
2090
|
+
V.publisher["wording_" + C] = x[C];
|
|
2091
2091
|
});
|
|
2092
2092
|
}
|
|
2093
2093
|
static reloadWordings() {
|
|
@@ -2409,7 +2409,7 @@ let R = class extends Z(Qe(w)) {
|
|
|
2409
2409
|
}
|
|
2410
2410
|
render() {
|
|
2411
2411
|
if (!this.renderIf || !this.computedStartDate && !this.now && !this.computedEndDate)
|
|
2412
|
-
return
|
|
2412
|
+
return S;
|
|
2413
2413
|
const r = {
|
|
2414
2414
|
year: this.year || "numeric",
|
|
2415
2415
|
month: this.month || "short",
|
|
@@ -2539,8 +2539,8 @@ let et = (H = class {
|
|
|
2539
2539
|
static changeFromComponent(t) {
|
|
2540
2540
|
const i = t.goBack, s = document.referrer;
|
|
2541
2541
|
if (i != null) {
|
|
2542
|
-
const h = document.location.origin, f = (i || h).toString(), m = s.indexOf("http") == 0 ? new URL(s).origin != h : !1, v = s == "", b = history.length < 3,
|
|
2543
|
-
if (m &&
|
|
2542
|
+
const h = document.location.origin, f = (i || h).toString(), m = s.indexOf("http") == 0 ? new URL(s).origin != h : !1, v = s == "", b = history.length < 3, x = v && b, C = f != document.location.href;
|
|
2543
|
+
if (m && C || x) {
|
|
2544
2544
|
const p = history.state || {};
|
|
2545
2545
|
p.concorde = p.concorde || {}, p.concorde.hasDoneHistoryBack = !0, history.pushState(p, document.title), history.back(), document.location.replace(f);
|
|
2546
2546
|
} else
|
|
@@ -2722,8 +2722,8 @@ const hs = /* @__PURE__ */ new Map(), Le = (r) => {
|
|
|
2722
2722
|
const h = "input:not([disabled]), button:not([disabled]), select:not([disabled]), textarea:not([disabled])", f = n?.filter((v) => {
|
|
2723
2723
|
const b = v.shadowRoot?.querySelector(h);
|
|
2724
2724
|
if (!b) return !1;
|
|
2725
|
-
const
|
|
2726
|
-
return
|
|
2725
|
+
const x = window.getComputedStyle(b);
|
|
2726
|
+
return x.display !== "none" && x.display !== "" && x.pointerEvents != "none" && x.visibility !== "hidden" && b.getBoundingClientRect().width > 0;
|
|
2727
2727
|
});
|
|
2728
2728
|
let d = null;
|
|
2729
2729
|
if (c.key == "ArrowDown" && f) {
|
|
@@ -2904,7 +2904,7 @@ function Ho() {
|
|
|
2904
2904
|
(function(s, e) {
|
|
2905
2905
|
return t !== null ? r.exports = e() : s.UrlPattern = e();
|
|
2906
2906
|
})(qo, function() {
|
|
2907
|
-
var s, e, o, n, l, c, h, f, d, m, v, b,
|
|
2907
|
+
var s, e, o, n, l, c, h, f, d, m, v, b, x, C, E;
|
|
2908
2908
|
return d = function(p) {
|
|
2909
2909
|
return p.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
2910
2910
|
}, h = function(p, u) {
|
|
@@ -2912,12 +2912,12 @@ function Ho() {
|
|
|
2912
2912
|
for (k = [], y = -1, A = p.length; ++y < A; )
|
|
2913
2913
|
k = k.concat(u(p[y]));
|
|
2914
2914
|
return k;
|
|
2915
|
-
},
|
|
2915
|
+
}, C = function(p, u) {
|
|
2916
2916
|
var y, A, k;
|
|
2917
2917
|
for (k = "", y = -1, A = p.length; ++y < A; )
|
|
2918
2918
|
k += u(p[y]);
|
|
2919
2919
|
return k;
|
|
2920
|
-
},
|
|
2920
|
+
}, x = function(p) {
|
|
2921
2921
|
return new RegExp(p.toString() + "|").exec("").length - 1;
|
|
2922
2922
|
}, v = function(p, u) {
|
|
2923
2923
|
var y, A, k, q, Y;
|
|
@@ -3014,7 +3014,7 @@ function Ho() {
|
|
|
3014
3014
|
wildcardChar: "*"
|
|
3015
3015
|
}, c = function(p, u) {
|
|
3016
3016
|
if (Array.isArray(p))
|
|
3017
|
-
return
|
|
3017
|
+
return C(p, function(y) {
|
|
3018
3018
|
return c(y, u);
|
|
3019
3019
|
});
|
|
3020
3020
|
switch (p.tag) {
|
|
@@ -3075,7 +3075,7 @@ function Ho() {
|
|
|
3075
3075
|
}
|
|
3076
3076
|
}, E = function(p, u, y) {
|
|
3077
3077
|
if (Array.isArray(p))
|
|
3078
|
-
return
|
|
3078
|
+
return C(p, function(A) {
|
|
3079
3079
|
return E(A, u, y);
|
|
3080
3080
|
});
|
|
3081
3081
|
switch (p.tag) {
|
|
@@ -3100,7 +3100,7 @@ function Ho() {
|
|
|
3100
3100
|
if (this.regex = p, u != null) {
|
|
3101
3101
|
if (!Array.isArray(u))
|
|
3102
3102
|
throw new Error("if first argument is a regex the second argument may be an array of group names but you provided something else");
|
|
3103
|
-
if (y =
|
|
3103
|
+
if (y = x(this.regex), u.length !== y)
|
|
3104
3104
|
throw new Error("regex contains " + y + " groups but array of group names contains " + u.length);
|
|
3105
3105
|
this.names = u;
|
|
3106
3106
|
}
|
|
@@ -3132,7 +3132,7 @@ function Ho() {
|
|
|
3132
3132
|
if (p !== Object(p))
|
|
3133
3133
|
throw new Error("argument must be an object or undefined");
|
|
3134
3134
|
return E(this.ast, p, {});
|
|
3135
|
-
}, e.escapeForRegex = d, e.concatMap = h, e.stringConcatMap =
|
|
3135
|
+
}, e.escapeForRegex = d, e.concatMap = h, e.stringConcatMap = C, e.regexGroupCount = x, e.keysAndValuesToObject = v, e.P = s, e.newParser = b, e.defaultOptions = f, e.astNodeToRegexString = l, e.astNodeToNames = n, e.getParam = m, e.astNodeContainsSegmentsForProvidedParams = o, e.stringify = E, e;
|
|
3136
3136
|
});
|
|
3137
3137
|
})(Ue, Ue.exports)), Ue.exports;
|
|
3138
3138
|
}
|
|
@@ -3302,7 +3302,7 @@ const wi = (r) => {
|
|
|
3302
3302
|
* Copyright 2018 Google LLC
|
|
3303
3303
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3304
3304
|
*/
|
|
3305
|
-
const $ = (r) => r ??
|
|
3305
|
+
const $ = (r) => r ?? S, Mt = P`
|
|
3306
3306
|
/*SIZES*/
|
|
3307
3307
|
:host {
|
|
3308
3308
|
--sc-_fs: 1rem;
|
|
@@ -3442,7 +3442,7 @@ let I = class extends wi(Le(Z(w))) {
|
|
|
3442
3442
|
};
|
|
3443
3443
|
I.styles = [
|
|
3444
3444
|
Mt,
|
|
3445
|
-
|
|
3445
|
+
P`
|
|
3446
3446
|
* {
|
|
3447
3447
|
box-sizing: border-box;
|
|
3448
3448
|
}
|
|
@@ -3927,21 +3927,21 @@ const Xi = (r, t, i) => {
|
|
|
3927
3927
|
else if (l[d] === n[b]) c[b] = ne(e[d], o[b]), Fe(r, c[b + 1], e[d]), d++, b--;
|
|
3928
3928
|
else if (l[m] === n[v]) c[v] = ne(e[m], o[v]), Fe(r, e[d], e[m]), m--, v++;
|
|
3929
3929
|
else if (h === void 0 && (h = Xi(n, v, b), f = Xi(l, d, m)), h.has(l[d])) if (h.has(l[m])) {
|
|
3930
|
-
const
|
|
3931
|
-
if (
|
|
3930
|
+
const x = f.get(n[v]), C = x !== void 0 ? e[x] : null;
|
|
3931
|
+
if (C === null) {
|
|
3932
3932
|
const E = Fe(r, e[d]);
|
|
3933
3933
|
ne(E, o[v]), c[v] = E;
|
|
3934
|
-
} else c[v] = ne(
|
|
3934
|
+
} else c[v] = ne(C, o[v]), Fe(r, e[d], C), e[x] = null;
|
|
3935
3935
|
v++;
|
|
3936
3936
|
} else zs(e[m]), m--;
|
|
3937
3937
|
else zs(e[d]), d++;
|
|
3938
3938
|
for (; v <= b; ) {
|
|
3939
|
-
const
|
|
3940
|
-
ne(
|
|
3939
|
+
const x = Fe(r, c[b + 1]);
|
|
3940
|
+
ne(x, o[v]), c[v++] = x;
|
|
3941
3941
|
}
|
|
3942
3942
|
for (; d <= m; ) {
|
|
3943
|
-
const
|
|
3944
|
-
|
|
3943
|
+
const x = e[d++];
|
|
3944
|
+
x !== null && zs(x);
|
|
3945
3945
|
}
|
|
3946
3946
|
return this.ut = n, bo(r, c), yt;
|
|
3947
3947
|
}
|
|
@@ -3984,7 +3984,7 @@ class hn extends vi {
|
|
|
3984
3984
|
this.l?.(), this.l = void 0;
|
|
3985
3985
|
}
|
|
3986
3986
|
render(t) {
|
|
3987
|
-
return
|
|
3987
|
+
return S;
|
|
3988
3988
|
}
|
|
3989
3989
|
getController() {
|
|
3990
3990
|
return an.get(this.u);
|
|
@@ -4218,12 +4218,17 @@ Ni.default = {
|
|
|
4218
4218
|
try {
|
|
4219
4219
|
const v = await fetch(h);
|
|
4220
4220
|
if (!v.ok) {
|
|
4221
|
-
m(
|
|
4221
|
+
m("");
|
|
4222
4222
|
return;
|
|
4223
4223
|
}
|
|
4224
4224
|
try {
|
|
4225
|
-
const b =
|
|
4226
|
-
|
|
4225
|
+
const b = v.headers.get("content-type") || "";
|
|
4226
|
+
if (!b.includes("image/svg+xml") && !b.includes("svg")) {
|
|
4227
|
+
m("");
|
|
4228
|
+
return;
|
|
4229
|
+
}
|
|
4230
|
+
const x = await v.text(), C = /^\s*<svg[\s>]/i.test(x);
|
|
4231
|
+
m(C ? x : "");
|
|
4227
4232
|
} catch {
|
|
4228
4233
|
m(null);
|
|
4229
4234
|
}
|
|
@@ -4268,10 +4273,10 @@ let de = class extends w {
|
|
|
4268
4273
|
(r.has("name") || r.has("prefix") || r.has("library")) && this.updateIcon(), super.willUpdate(r);
|
|
4269
4274
|
}
|
|
4270
4275
|
render() {
|
|
4271
|
-
return this.iconText ? this.iconText :
|
|
4276
|
+
return this.iconText ? this.iconText : S;
|
|
4272
4277
|
}
|
|
4273
4278
|
};
|
|
4274
|
-
de.styles =
|
|
4279
|
+
de.styles = P`
|
|
4275
4280
|
:host {
|
|
4276
4281
|
line-height: 0.1em;
|
|
4277
4282
|
width: fit-content;
|
|
@@ -4337,7 +4342,7 @@ ts([
|
|
|
4337
4342
|
de = ts([
|
|
4338
4343
|
_(vn)
|
|
4339
4344
|
], de);
|
|
4340
|
-
const es =
|
|
4345
|
+
const es = P`
|
|
4341
4346
|
.custom-scroll {
|
|
4342
4347
|
overflow: auto !important;
|
|
4343
4348
|
overflow-y: overlay !important;
|
|
@@ -4381,7 +4386,7 @@ let _t = class extends w {
|
|
|
4381
4386
|
if (this.dismissForever) {
|
|
4382
4387
|
const r = localStorage.getItem("sonic-toast-dismissed") || "{}";
|
|
4383
4388
|
if (JSON.parse(r)[this.id])
|
|
4384
|
-
return
|
|
4389
|
+
return S;
|
|
4385
4390
|
}
|
|
4386
4391
|
return this.visible ? g`<div
|
|
4387
4392
|
class="sonic-toast ${this.status} ${this.ghost ? "ghost" : ""}"
|
|
@@ -4411,7 +4416,7 @@ let _t = class extends w {
|
|
|
4411
4416
|
|
|
4412
4417
|
${this.preserve ? "" : this.autoHide()}
|
|
4413
4418
|
</div>
|
|
4414
|
-
</div>` :
|
|
4419
|
+
</div>` : S;
|
|
4415
4420
|
}
|
|
4416
4421
|
hide() {
|
|
4417
4422
|
if (Xt.getClosestElement(this, "sonic-toast") || (this.visible = !1), this.dismissForever) {
|
|
@@ -4434,7 +4439,7 @@ let _t = class extends w {
|
|
|
4434
4439
|
};
|
|
4435
4440
|
_t.styles = [
|
|
4436
4441
|
es,
|
|
4437
|
-
|
|
4442
|
+
P`
|
|
4438
4443
|
* {
|
|
4439
4444
|
box-sizing: border-box;
|
|
4440
4445
|
}
|
|
@@ -4646,7 +4651,7 @@ It([
|
|
|
4646
4651
|
_t = It([
|
|
4647
4652
|
_(xn)
|
|
4648
4653
|
], _t);
|
|
4649
|
-
const Pn =
|
|
4654
|
+
const Pn = P`
|
|
4650
4655
|
:host {
|
|
4651
4656
|
/* POLICES */
|
|
4652
4657
|
/*
|
|
@@ -4717,7 +4722,7 @@ const Pn = x`
|
|
|
4717
4722
|
--sc-contrast-content: #fff;
|
|
4718
4723
|
--sc-contrast: #000000;
|
|
4719
4724
|
}
|
|
4720
|
-
`, $n =
|
|
4725
|
+
`, $n = P`
|
|
4721
4726
|
:host([theme="light"]) {
|
|
4722
4727
|
/*Boutons*/
|
|
4723
4728
|
--sc-primary: var(--sc-base-800);
|
|
@@ -4746,7 +4751,7 @@ const Pn = x`
|
|
|
4746
4751
|
--sc-base-900: #0f172a;
|
|
4747
4752
|
--sc-base-content: var(--sc-base-700);
|
|
4748
4753
|
}
|
|
4749
|
-
`, rr =
|
|
4754
|
+
`, rr = P`
|
|
4750
4755
|
--sc-primary: var(--sc-dark-primary, var(--sc-base-700));
|
|
4751
4756
|
--sc-info: var(--sc-dark-info, #3abff8);
|
|
4752
4757
|
--sc-danger: var(--sc-dark-danger, #f87272);
|
|
@@ -4771,7 +4776,7 @@ const Pn = x`
|
|
|
4771
4776
|
--sc-base-800: var(--sc-dark-base-800, #d9dce0);
|
|
4772
4777
|
--sc-base-900: var(--sc-dark-base-900, #e5e7eb);
|
|
4773
4778
|
--sc-base-content: var(--sc-dark-base-content, #e5e7eb);
|
|
4774
|
-
`, Cn =
|
|
4779
|
+
`, Cn = P`
|
|
4775
4780
|
:host([theme="dark"]) {
|
|
4776
4781
|
${rr}
|
|
4777
4782
|
}
|
|
@@ -4854,7 +4859,7 @@ vt.styles = [
|
|
|
4854
4859
|
$n,
|
|
4855
4860
|
Cn,
|
|
4856
4861
|
Pn,
|
|
4857
|
-
|
|
4862
|
+
P`
|
|
4858
4863
|
:host([color]) {
|
|
4859
4864
|
color: var(--sc-base-content, #000);
|
|
4860
4865
|
}
|
|
@@ -4976,7 +4981,7 @@ let O = class extends w {
|
|
|
4976
4981
|
</sonic-toast-item>
|
|
4977
4982
|
`
|
|
4978
4983
|
)}
|
|
4979
|
-
</div>` :
|
|
4984
|
+
</div>` : S;
|
|
4980
4985
|
}
|
|
4981
4986
|
static removeAll() {
|
|
4982
4987
|
if (O.delegateToasts) {
|
|
@@ -5298,23 +5303,23 @@ var Un = Object.defineProperty, Vn = Object.getOwnPropertyDescriptor, Ar = (r, t
|
|
|
5298
5303
|
const Bn = "sonic-fetch";
|
|
5299
5304
|
let ys = class extends _i(Z(xi(w))) {
|
|
5300
5305
|
renderLoader() {
|
|
5301
|
-
if (!(this.isLoading && this.loader !== void 0)) return
|
|
5306
|
+
if (!(this.isLoading && this.loader !== void 0)) return S;
|
|
5302
5307
|
const r = this.loader === !0 || this.loader === "" ? "fixed" : this.loader;
|
|
5303
5308
|
return g`<sonic-loader mode=${r}></sonic-loader>`;
|
|
5304
5309
|
}
|
|
5305
5310
|
renderSkeleton() {
|
|
5306
5311
|
const r = this.templateParts.skeleton;
|
|
5307
|
-
return this.isLoading && r ? Et(r) :
|
|
5312
|
+
return this.isLoading && r ? Et(r) : S;
|
|
5308
5313
|
}
|
|
5309
5314
|
render() {
|
|
5310
5315
|
return g`
|
|
5311
5316
|
${this.renderSkeleton()} ${this.renderLoader()}
|
|
5312
|
-
${this.isLoading ?
|
|
5317
|
+
${this.isLoading ? S : g`<slot></slot>`}
|
|
5313
5318
|
`;
|
|
5314
5319
|
}
|
|
5315
5320
|
};
|
|
5316
5321
|
ys.styles = [
|
|
5317
|
-
|
|
5322
|
+
P`
|
|
5318
5323
|
:host {
|
|
5319
5324
|
display: contents;
|
|
5320
5325
|
}
|
|
@@ -5337,10 +5342,10 @@ let ws = class extends w {
|
|
|
5337
5342
|
super(...arguments), this.condition = !1;
|
|
5338
5343
|
}
|
|
5339
5344
|
render() {
|
|
5340
|
-
return this.condition ? g` <slot></slot> ` :
|
|
5345
|
+
return this.condition ? g` <slot></slot> ` : S;
|
|
5341
5346
|
}
|
|
5342
5347
|
};
|
|
5343
|
-
ws.styles =
|
|
5348
|
+
ws.styles = P`
|
|
5344
5349
|
:host {
|
|
5345
5350
|
display: contents;
|
|
5346
5351
|
}
|
|
@@ -5351,7 +5356,7 @@ kr([
|
|
|
5351
5356
|
ws = kr([
|
|
5352
5357
|
_(Wn)
|
|
5353
5358
|
], ws);
|
|
5354
|
-
const Kn =
|
|
5359
|
+
const Kn = P`
|
|
5355
5360
|
:host([align="left"]) .sonic-loader--inline {
|
|
5356
5361
|
margin-left: 0;
|
|
5357
5362
|
}
|
|
@@ -5418,7 +5423,7 @@ const Kn = x`
|
|
|
5418
5423
|
transform: translate(24px, 0);
|
|
5419
5424
|
}
|
|
5420
5425
|
}
|
|
5421
|
-
`, Yn =
|
|
5426
|
+
`, Yn = P`
|
|
5422
5427
|
@keyframes sonic-loader--fixed {
|
|
5423
5428
|
0% {
|
|
5424
5429
|
transform: scale(0);
|
|
@@ -5504,7 +5509,7 @@ let nt = class extends w {
|
|
|
5504
5509
|
nt.styles = [
|
|
5505
5510
|
Kn,
|
|
5506
5511
|
Yn,
|
|
5507
|
-
|
|
5512
|
+
P`
|
|
5508
5513
|
:host {
|
|
5509
5514
|
--sc-_loader-bg: var(--sc-primary, currentColor);
|
|
5510
5515
|
pointer-events: none;
|
|
@@ -5591,7 +5596,7 @@ let xt = class extends _i(Z(Qe(w))) {
|
|
|
5591
5596
|
super.disconnectedCallback();
|
|
5592
5597
|
}
|
|
5593
5598
|
renderLoader() {
|
|
5594
|
-
if (!(this.isLoading && this.loader !== void 0) || this.templateParts.skeleton) return
|
|
5599
|
+
if (!(this.isLoading && this.loader !== void 0) || this.templateParts.skeleton) return S;
|
|
5595
5600
|
const t = this.loader === !0 || this.loader === "" ? "fixed" : this.loader;
|
|
5596
5601
|
return g`<sonic-loader mode=${t}></sonic-loader>`;
|
|
5597
5602
|
}
|
|
@@ -5599,13 +5604,13 @@ let xt = class extends _i(Z(Qe(w))) {
|
|
|
5599
5604
|
if (this.skeleton)
|
|
5600
5605
|
return this.skeleton();
|
|
5601
5606
|
const r = this.templateParts.skeleton;
|
|
5602
|
-
return this.isLoading && r ? Et(r) :
|
|
5607
|
+
return this.isLoading && r ? Et(r) : S;
|
|
5603
5608
|
}
|
|
5604
5609
|
renderSeparator() {
|
|
5605
5610
|
if (this.separator)
|
|
5606
5611
|
return this.separator();
|
|
5607
5612
|
const r = this.templateParts.separator;
|
|
5608
|
-
return r ? Et(r) :
|
|
5613
|
+
return r ? Et(r) : S;
|
|
5609
5614
|
}
|
|
5610
5615
|
renderLoadingState() {
|
|
5611
5616
|
return g`${this.renderSkeleton()} ${this.renderLoader()} `;
|
|
@@ -5690,24 +5695,24 @@ let xt = class extends _i(Z(Qe(w))) {
|
|
|
5690
5695
|
const n = this.hasAttribute("extractValues"), l = this.renderSeparator(), c = s?.length || 0, h = s?.slice(this.offset, this.offset + this.limit);
|
|
5691
5696
|
return g`
|
|
5692
5697
|
${h?.map((f, d) => {
|
|
5693
|
-
if (f == null) return
|
|
5698
|
+
if (f == null) return S;
|
|
5694
5699
|
let m = d, v = null;
|
|
5695
5700
|
if (typeof f == "object" && !Array.isArray(f)) {
|
|
5696
5701
|
n && (m = f?.key);
|
|
5697
5702
|
const u = f[this.templateKey];
|
|
5698
5703
|
u && typeof u == "string" && (v = this.templateParts[u]);
|
|
5699
5704
|
}
|
|
5700
|
-
if (m == "_sonic_http_response_" || typeof m != "string" && typeof m != "number") return
|
|
5701
|
-
const b = d >= c - 1,
|
|
5705
|
+
if (m == "_sonic_http_response_" || typeof m != "string" && typeof m != "number") return S;
|
|
5706
|
+
const b = d >= c - 1, x = d % 2, C = this.publisher[m], E = {
|
|
5702
5707
|
key: m,
|
|
5703
|
-
even:
|
|
5704
|
-
odd:
|
|
5708
|
+
even: x == 0,
|
|
5709
|
+
odd: x == 1,
|
|
5705
5710
|
onlyChild: c == 1,
|
|
5706
5711
|
firstChild: d == 0,
|
|
5707
5712
|
lastChild: b
|
|
5708
5713
|
};
|
|
5709
|
-
|
|
5710
|
-
...
|
|
5714
|
+
C._key_ = m + "", C._metadata_ = {
|
|
5715
|
+
...C._metadata_.get(),
|
|
5711
5716
|
...E
|
|
5712
5717
|
};
|
|
5713
5718
|
const p = this.handleProgrammaticTemplates(
|
|
@@ -5715,18 +5720,18 @@ let xt = class extends _i(Z(Qe(w))) {
|
|
|
5715
5720
|
E,
|
|
5716
5721
|
m
|
|
5717
5722
|
);
|
|
5718
|
-
return p ? g`${p}${b ?
|
|
5723
|
+
return p ? g`${p}${b ? S : l}` : (o++, v && (o = -1), g`
|
|
5719
5724
|
<sonic-subscriber
|
|
5720
5725
|
?debug=${this.defferedDebug === !0}
|
|
5721
5726
|
.bindPublisher=${function() {
|
|
5722
|
-
return
|
|
5727
|
+
return C;
|
|
5723
5728
|
}}
|
|
5724
5729
|
.propertyMap?=${this.itemPropertyMap}
|
|
5725
5730
|
dataProvider="${this.dataProvider}/list-item/${m}"
|
|
5726
5731
|
>
|
|
5727
5732
|
${Et(v || this.templateList[o % e])}
|
|
5728
5733
|
</sonic-subscriber>
|
|
5729
|
-
${b ?
|
|
5734
|
+
${b ? S : l}
|
|
5730
5735
|
`);
|
|
5731
5736
|
})}
|
|
5732
5737
|
`;
|
|
@@ -5884,7 +5889,7 @@ let X = class extends Z(w) {
|
|
|
5884
5889
|
}
|
|
5885
5890
|
render() {
|
|
5886
5891
|
if (this.storeScrollPosition(), !Array.isArray(this.props))
|
|
5887
|
-
return
|
|
5892
|
+
return S;
|
|
5888
5893
|
let r = !this.noLazyload;
|
|
5889
5894
|
return this.props.length == 1 && (r = !1), this.style.display = "block", g`
|
|
5890
5895
|
${Or(this.props, (t, i) => {
|
|
@@ -6038,15 +6043,15 @@ let Zt = class extends Z(w) {
|
|
|
6038
6043
|
nt.hide(), h ? h._sonic_http_response_ && !h._sonic_http_response_.ok && Object.keys(h).length === 1 && (h.messages = [{ content: "Network Error", status: "error" }]) : h = {
|
|
6039
6044
|
messages: [{ content: "Network Error", status: "error" }]
|
|
6040
6045
|
};
|
|
6041
|
-
const
|
|
6046
|
+
const x = this.getAncestorAttributeValue(
|
|
6042
6047
|
"clearedDataOnSuccess"
|
|
6043
6048
|
);
|
|
6044
|
-
|
|
6049
|
+
x && x.split(" ").forEach(
|
|
6045
6050
|
(u) => T.get(u).set({})
|
|
6046
6051
|
);
|
|
6047
|
-
const
|
|
6048
|
-
this.api?.lastResult?.ok && b[
|
|
6049
|
-
b[
|
|
6052
|
+
const C = this.hasAttribute("usernameKey") ? this.getAttribute("usernameKey") : "username", E = this.hasAttribute("passwordKey") ? this.getAttribute("passwordKey") : "password";
|
|
6053
|
+
this.api?.lastResult?.ok && b[C] && b[E] && this.saveCredentials(
|
|
6054
|
+
b[C],
|
|
6050
6055
|
b[E]
|
|
6051
6056
|
), this.submitResultKey && (h = tt.traverse(
|
|
6052
6057
|
h,
|
|
@@ -6069,8 +6074,8 @@ let Zt = class extends Z(w) {
|
|
|
6069
6074
|
);
|
|
6070
6075
|
if (v) {
|
|
6071
6076
|
v.captchaToken = "request_token";
|
|
6072
|
-
const b = (
|
|
6073
|
-
|
|
6077
|
+
const b = (x) => {
|
|
6078
|
+
x != "request_token" ? (m(), v.captchaToken.offAssign(b)) : (nt.hide(), this.disabled = !1);
|
|
6074
6079
|
};
|
|
6075
6080
|
v.captchaToken.onAssign(b);
|
|
6076
6081
|
} else
|
|
@@ -6111,7 +6116,7 @@ let Zt = class extends Z(w) {
|
|
|
6111
6116
|
return g`<div ?data-disabled=${this.disabled}><slot></slot></div>`;
|
|
6112
6117
|
}
|
|
6113
6118
|
};
|
|
6114
|
-
Zt.styles =
|
|
6119
|
+
Zt.styles = P`
|
|
6115
6120
|
[data-disabled] {
|
|
6116
6121
|
opacity: 0.3;
|
|
6117
6122
|
pointer-events: none;
|
|
@@ -6833,7 +6838,7 @@ let xs = class extends se(w) {
|
|
|
6833
6838
|
}
|
|
6834
6839
|
};
|
|
6835
6840
|
xs.styles = [
|
|
6836
|
-
|
|
6841
|
+
P`
|
|
6837
6842
|
:host {
|
|
6838
6843
|
display: contents;
|
|
6839
6844
|
}
|
|
@@ -6871,7 +6876,7 @@ var el = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, Ci = (r, t
|
|
|
6871
6876
|
const il = "sonic-t";
|
|
6872
6877
|
let Ps = class extends w {
|
|
6873
6878
|
render() {
|
|
6874
|
-
return this.key ? g`${Lo(this.key, this.unsafeHTML)}` :
|
|
6879
|
+
return this.key ? g`${Lo(this.key, this.unsafeHTML)}` : S;
|
|
6875
6880
|
}
|
|
6876
6881
|
};
|
|
6877
6882
|
Ci([
|
|
@@ -6903,7 +6908,7 @@ let pe = class extends w {
|
|
|
6903
6908
|
};
|
|
6904
6909
|
pe.styles = [
|
|
6905
6910
|
Mt,
|
|
6906
|
-
|
|
6911
|
+
P`
|
|
6907
6912
|
:host {
|
|
6908
6913
|
--sc-badge-gap: 0.3em;
|
|
6909
6914
|
--sc-badge-py: 0.35em;
|
|
@@ -7111,7 +7116,7 @@ let Gt = class extends w {
|
|
|
7111
7116
|
return this.href ? g`
|
|
7112
7117
|
<a
|
|
7113
7118
|
href="${this.href}"
|
|
7114
|
-
aria-label=${this.ariaLabel ||
|
|
7119
|
+
aria-label=${this.ariaLabel || S}
|
|
7115
7120
|
target=${$(this.target)}
|
|
7116
7121
|
@click=${this.pushState ? this.handlePushState : null}
|
|
7117
7122
|
>
|
|
@@ -7121,7 +7126,7 @@ let Gt = class extends w {
|
|
|
7121
7126
|
}
|
|
7122
7127
|
};
|
|
7123
7128
|
Gt.styles = [
|
|
7124
|
-
|
|
7129
|
+
P`
|
|
7125
7130
|
a {
|
|
7126
7131
|
color: inherit;
|
|
7127
7132
|
text-decoration: none;
|
|
@@ -7169,7 +7174,7 @@ let Qt = class extends w {
|
|
|
7169
7174
|
};
|
|
7170
7175
|
Qt.styles = [
|
|
7171
7176
|
Mt,
|
|
7172
|
-
|
|
7177
|
+
P`
|
|
7173
7178
|
:host {
|
|
7174
7179
|
--sc-progress-bg: var(
|
|
7175
7180
|
--sc-input-bg,
|
|
@@ -7301,7 +7306,7 @@ Te([
|
|
|
7301
7306
|
Qt = Te([
|
|
7302
7307
|
_(ul)
|
|
7303
7308
|
], Qt);
|
|
7304
|
-
const fl =
|
|
7309
|
+
const fl = P`
|
|
7305
7310
|
.password-toggle {
|
|
7306
7311
|
color: var(--sc-input-c);
|
|
7307
7312
|
font-size: var(--sc-input-fs);
|
|
@@ -7312,7 +7317,7 @@ const fl = x`
|
|
|
7312
7317
|
:host([inlineContent]) .has-suffix .password-toggle {
|
|
7313
7318
|
margin-right: 0;
|
|
7314
7319
|
}
|
|
7315
|
-
`, Ts =
|
|
7320
|
+
`, Ts = P`
|
|
7316
7321
|
:host {
|
|
7317
7322
|
--sc-label-fs: var(--sc-_fs, 1rem);
|
|
7318
7323
|
--sc-label-fw: var(--sc-label-font-weight, 500);
|
|
@@ -7326,14 +7331,14 @@ const fl = x`
|
|
|
7326
7331
|
margin-bottom: 0.22em;
|
|
7327
7332
|
display: block;
|
|
7328
7333
|
}
|
|
7329
|
-
`, Ms =
|
|
7334
|
+
`, Ms = P`
|
|
7330
7335
|
.form-description {
|
|
7331
7336
|
color: var(--sc-base-400, var(--sc-base-content, #000));
|
|
7332
7337
|
font-size: 0.85em;
|
|
7333
7338
|
margin-top: 0.2em;
|
|
7334
7339
|
display: block;
|
|
7335
7340
|
}
|
|
7336
|
-
`, Si =
|
|
7341
|
+
`, Si = P`
|
|
7337
7342
|
* {
|
|
7338
7343
|
box-sizing: border-box;
|
|
7339
7344
|
}
|
|
@@ -7870,7 +7875,7 @@ let j = class extends Es(Le(Z(w))) {
|
|
|
7870
7875
|
name="description"
|
|
7871
7876
|
@slotchange=${this.hasSlotOrProps}
|
|
7872
7877
|
class="${this.hasDescription ? "form-description" : "hidden"}"
|
|
7873
|
-
>${this.description ? g`${z(this.description)}` :
|
|
7878
|
+
>${this.description ? g`${z(this.description)}` : S}</slot>
|
|
7874
7879
|
<slot name="list"></slot>
|
|
7875
7880
|
</div>
|
|
7876
7881
|
`;
|
|
@@ -7882,7 +7887,7 @@ j.styles = [
|
|
|
7882
7887
|
Ts,
|
|
7883
7888
|
Ms,
|
|
7884
7889
|
fl,
|
|
7885
|
-
|
|
7890
|
+
P`
|
|
7886
7891
|
:host([type="hidden"]) {
|
|
7887
7892
|
appearance: none !important;
|
|
7888
7893
|
display: none !important;
|
|
@@ -7976,7 +7981,7 @@ U([
|
|
|
7976
7981
|
j = U([
|
|
7977
7982
|
_(bl)
|
|
7978
7983
|
], j);
|
|
7979
|
-
const Er =
|
|
7984
|
+
const Er = P`
|
|
7980
7985
|
/*OMBRE*/
|
|
7981
7986
|
:host([shadow]) .shadowable,
|
|
7982
7987
|
:host([shadow="md"]) .shadowable,
|
|
@@ -8078,32 +8083,32 @@ let it = class extends w {
|
|
|
8078
8083
|
window.innerHeight,
|
|
8079
8084
|
l?.bottom || window.innerHeight
|
|
8080
8085
|
) - e, m = o.left, v = o.top;
|
|
8081
|
-
let b = m,
|
|
8082
|
-
const E = v -
|
|
8086
|
+
let b = m, x = v, C = this.popContent?.getBoundingClientRect();
|
|
8087
|
+
const E = v - C.height, p = m - C.width, u = m + o.width, y = v + o.height, A = m + (o.width - C.width) * 0.5, k = v + (o.height - C.height) * 0.5;
|
|
8083
8088
|
switch (i) {
|
|
8084
8089
|
case "bottom":
|
|
8085
|
-
|
|
8090
|
+
x = y, s == "center" && (b = A);
|
|
8086
8091
|
break;
|
|
8087
8092
|
case "top":
|
|
8088
|
-
|
|
8093
|
+
x = E, s == "center" && (b = A);
|
|
8089
8094
|
break;
|
|
8090
8095
|
case "left":
|
|
8091
|
-
b = p, s == "center" && (
|
|
8096
|
+
b = p, s == "center" && (x = k);
|
|
8092
8097
|
break;
|
|
8093
8098
|
case "right":
|
|
8094
|
-
b = u, s == "center" && (
|
|
8099
|
+
b = u, s == "center" && (x = k);
|
|
8095
8100
|
break;
|
|
8096
8101
|
}
|
|
8097
|
-
this.lastContentX += b -
|
|
8102
|
+
this.lastContentX += b - C.x, this.lastContentY += x - C.y, Object.assign(this.popContent.style, {
|
|
8098
8103
|
left: `${this.lastContentX}px`,
|
|
8099
8104
|
top: `${this.lastContentY}px`
|
|
8100
|
-
}),
|
|
8105
|
+
}), C = this.popContent?.getBoundingClientRect(), C.x < c && i == "left" && (b = u), C.y < h && i == "top" && (x = y), C.x + C.width > f && i == "right" && (b = p), C.y + C.height > d && i == "bottom" && (x = E), this.lastContentX += b - C.x, this.lastContentY += x - C.y, Object.assign(this.popContent.style, {
|
|
8101
8106
|
left: `${this.lastContentX}px`,
|
|
8102
8107
|
top: `${this.lastContentY}px`
|
|
8103
|
-
}),
|
|
8108
|
+
}), C = this.popContent?.getBoundingClientRect(), C.x < c && (this.lastContentX += c - C.x), C.y < h && (this.lastContentY += h - C.y), Object.assign(this.popContent.style, {
|
|
8104
8109
|
left: `${this.lastContentX}px`,
|
|
8105
8110
|
top: `${this.lastContentY}px`
|
|
8106
|
-
}),
|
|
8111
|
+
}), C = this.popContent?.getBoundingClientRect(), C.x + C.width > f && (this.lastContentX += f - (C.x + C.width)), C.y + C.height > d && (this.lastContentY += d - (C.y + C.height)), Object.assign(this.popContent.style, {
|
|
8107
8112
|
left: `${this.lastContentX}px`,
|
|
8108
8113
|
top: `${this.lastContentY}px`
|
|
8109
8114
|
});
|
|
@@ -8130,7 +8135,7 @@ let it = class extends w {
|
|
|
8130
8135
|
};
|
|
8131
8136
|
it.pops = /* @__PURE__ */ new Set();
|
|
8132
8137
|
it.styles = [
|
|
8133
|
-
|
|
8138
|
+
P`
|
|
8134
8139
|
:host {
|
|
8135
8140
|
display: inline-block;
|
|
8136
8141
|
vertical-align: middle;
|
|
@@ -8381,7 +8386,7 @@ let at = class extends xi(
|
|
|
8381
8386
|
name="nav-arrow-down"
|
|
8382
8387
|
.size=${this.size}
|
|
8383
8388
|
></sonic-icon>
|
|
8384
|
-
` :
|
|
8389
|
+
` : S}
|
|
8385
8390
|
</sonic-input>
|
|
8386
8391
|
<sonic-menu
|
|
8387
8392
|
slot="content"
|
|
@@ -8416,7 +8421,7 @@ let at = class extends xi(
|
|
|
8416
8421
|
};
|
|
8417
8422
|
at.styles = [
|
|
8418
8423
|
es,
|
|
8419
|
-
|
|
8424
|
+
P`
|
|
8420
8425
|
:host {
|
|
8421
8426
|
display: block;
|
|
8422
8427
|
}
|
|
@@ -8506,7 +8511,7 @@ let lt = class extends se(w) {
|
|
|
8506
8511
|
return t ? g`<sonic-icon library="heroicons" name="face-smile"></sonic-icon>` : g`<sonic-icon library="heroicons" name="x-mark"></sonic-icon>`;
|
|
8507
8512
|
}
|
|
8508
8513
|
render() {
|
|
8509
|
-
return this.hasNoChar ?
|
|
8514
|
+
return this.hasNoChar ? S : g`
|
|
8510
8515
|
<div>${this.wording_password_helper_decription}</div>
|
|
8511
8516
|
<div>
|
|
8512
8517
|
${this.getIcon(this.hasEnoughChars)}
|
|
@@ -8613,7 +8618,7 @@ let Jt = class extends se(w) {
|
|
|
8613
8618
|
}
|
|
8614
8619
|
//TODO Multilangue
|
|
8615
8620
|
render() {
|
|
8616
|
-
return this.hasNoChar ?
|
|
8621
|
+
return this.hasNoChar ? S : g`
|
|
8617
8622
|
<span>
|
|
8618
8623
|
${this.areEqual ? z(this.descriptionWhenEqual) : z(this.descriptionWhenNotEqual)}
|
|
8619
8624
|
</span>
|
|
@@ -8699,7 +8704,7 @@ let pt = class extends wi(
|
|
|
8699
8704
|
};
|
|
8700
8705
|
pt.styles = [
|
|
8701
8706
|
Mt,
|
|
8702
|
-
|
|
8707
|
+
P`
|
|
8703
8708
|
:host {
|
|
8704
8709
|
--sc-checkbox-border-width: var(--sc-form-border-width);
|
|
8705
8710
|
--sc-checkbox-border-color: var(
|
|
@@ -8866,7 +8871,7 @@ let Zs = class extends pt {
|
|
|
8866
8871
|
};
|
|
8867
8872
|
Zs.styles = [
|
|
8868
8873
|
pt.styles,
|
|
8869
|
-
|
|
8874
|
+
P`
|
|
8870
8875
|
:host input {
|
|
8871
8876
|
border-radius: 50%;
|
|
8872
8877
|
}
|
|
@@ -8900,7 +8905,7 @@ let Gs = class extends pt {
|
|
|
8900
8905
|
};
|
|
8901
8906
|
Gs.styles = [
|
|
8902
8907
|
pt.styles,
|
|
8903
|
-
|
|
8908
|
+
P`
|
|
8904
8909
|
sonic-icon {
|
|
8905
8910
|
display: none;
|
|
8906
8911
|
}
|
|
@@ -9113,7 +9118,7 @@ W.styles = [
|
|
|
9113
9118
|
Si,
|
|
9114
9119
|
Ts,
|
|
9115
9120
|
Ms,
|
|
9116
|
-
|
|
9121
|
+
P`
|
|
9117
9122
|
.form-element {
|
|
9118
9123
|
appearance: none;
|
|
9119
9124
|
white-space: nowrap;
|
|
@@ -9315,7 +9320,7 @@ ct.styles = [
|
|
|
9315
9320
|
Ts,
|
|
9316
9321
|
Ms,
|
|
9317
9322
|
es,
|
|
9318
|
-
|
|
9323
|
+
P`
|
|
9319
9324
|
textarea {
|
|
9320
9325
|
overflow-y: auto !important;
|
|
9321
9326
|
font-size: inherit;
|
|
@@ -9375,7 +9380,7 @@ let Qs = class extends w {
|
|
|
9375
9380
|
}
|
|
9376
9381
|
};
|
|
9377
9382
|
Qs.styles = [
|
|
9378
|
-
|
|
9383
|
+
P`
|
|
9379
9384
|
:host {
|
|
9380
9385
|
font-size: 1.15rem;
|
|
9381
9386
|
line-height: 1.2;
|
|
@@ -9441,7 +9446,7 @@ let qt = class extends w {
|
|
|
9441
9446
|
}
|
|
9442
9447
|
};
|
|
9443
9448
|
qt.styles = [
|
|
9444
|
-
|
|
9449
|
+
P`
|
|
9445
9450
|
:host {
|
|
9446
9451
|
--sc-legend-font-size: 1.5rem;
|
|
9447
9452
|
--sc-legend-font-weight: var(--sc-font-weight-base, 400);
|
|
@@ -9529,13 +9534,13 @@ let Pt = class extends Z(w) {
|
|
|
9529
9534
|
iconName=${$(this.iconName)}
|
|
9530
9535
|
iconPrefix=${$(this.iconPrefix)}
|
|
9531
9536
|
iconLibrary=${$(this.iconLibrary)}
|
|
9532
|
-
></sonic-legend>` :
|
|
9537
|
+
></sonic-legend>` : S}
|
|
9533
9538
|
<slot></slot>
|
|
9534
9539
|
</fieldset>`;
|
|
9535
9540
|
}
|
|
9536
9541
|
};
|
|
9537
9542
|
Pt.styles = [
|
|
9538
|
-
|
|
9543
|
+
P`
|
|
9539
9544
|
:host {
|
|
9540
9545
|
--sc-fieldset-mt: 0;
|
|
9541
9546
|
--sc-fieldset-mb: 1rem;
|
|
@@ -9642,7 +9647,7 @@ let Xe = class extends Z(w) {
|
|
|
9642
9647
|
}
|
|
9643
9648
|
};
|
|
9644
9649
|
Xe.styles = [
|
|
9645
|
-
|
|
9650
|
+
P`
|
|
9646
9651
|
:host {
|
|
9647
9652
|
display: block;
|
|
9648
9653
|
}
|
|
@@ -9707,7 +9712,7 @@ let Ze = class extends w {
|
|
|
9707
9712
|
}
|
|
9708
9713
|
};
|
|
9709
9714
|
Ze.styles = [
|
|
9710
|
-
|
|
9715
|
+
P`
|
|
9711
9716
|
:host {
|
|
9712
9717
|
display: block;
|
|
9713
9718
|
}
|
|
@@ -9782,7 +9787,7 @@ Nt.styles = [
|
|
|
9782
9787
|
Mt,
|
|
9783
9788
|
Ts,
|
|
9784
9789
|
Ms,
|
|
9785
|
-
|
|
9790
|
+
P`
|
|
9786
9791
|
:host {
|
|
9787
9792
|
display: inline-block;
|
|
9788
9793
|
vertical-align: middle;
|
|
@@ -9867,7 +9872,7 @@ let $t = class extends w {
|
|
|
9867
9872
|
}
|
|
9868
9873
|
};
|
|
9869
9874
|
$t.styles = [
|
|
9870
|
-
|
|
9875
|
+
P`
|
|
9871
9876
|
:host {
|
|
9872
9877
|
--sc-img-radius: 0;
|
|
9873
9878
|
--sc-img-bg: var(--sc-placeholder-bg, rgba(12, 12, 12, 0.05));
|
|
@@ -10068,7 +10073,7 @@ let ut = class extends w {
|
|
|
10068
10073
|
}
|
|
10069
10074
|
};
|
|
10070
10075
|
ut.styles = [
|
|
10071
|
-
|
|
10076
|
+
P`
|
|
10072
10077
|
:host {
|
|
10073
10078
|
display: block;
|
|
10074
10079
|
--sc-menu-gap: 0.15rem;
|
|
@@ -10249,7 +10254,7 @@ let $s = class extends w {
|
|
|
10249
10254
|
}
|
|
10250
10255
|
};
|
|
10251
10256
|
$s.styles = [
|
|
10252
|
-
|
|
10257
|
+
P`
|
|
10253
10258
|
:host {
|
|
10254
10259
|
display: flex;
|
|
10255
10260
|
gap: 0.5rem;
|
|
@@ -10317,7 +10322,7 @@ let Js = class extends w {
|
|
|
10317
10322
|
}
|
|
10318
10323
|
};
|
|
10319
10324
|
Js.styles = [
|
|
10320
|
-
|
|
10325
|
+
P`
|
|
10321
10326
|
:host {
|
|
10322
10327
|
display: block;
|
|
10323
10328
|
width: 100%;
|
|
@@ -10339,7 +10344,7 @@ let ti = class extends w {
|
|
|
10339
10344
|
}
|
|
10340
10345
|
};
|
|
10341
10346
|
ti.styles = [
|
|
10342
|
-
|
|
10347
|
+
P`
|
|
10343
10348
|
:host {
|
|
10344
10349
|
font-size: 1.25rem;
|
|
10345
10350
|
display: block;
|
|
@@ -10368,7 +10373,7 @@ let ei = class extends w {
|
|
|
10368
10373
|
}
|
|
10369
10374
|
};
|
|
10370
10375
|
ei.styles = [
|
|
10371
|
-
|
|
10376
|
+
P`
|
|
10372
10377
|
:host {
|
|
10373
10378
|
font-weight: bold;
|
|
10374
10379
|
font-size: 1.5rem;
|
|
@@ -10470,17 +10475,17 @@ let M = class extends Z(w) {
|
|
|
10470
10475
|
style=${mt(r)}
|
|
10471
10476
|
>
|
|
10472
10477
|
${this._animationState !== "hidden" ? g`<div id="modal-content">
|
|
10473
|
-
${!this.forceAction && !this.noCloseButton ? g`<sonic-modal-close></sonic-modal-close>` :
|
|
10478
|
+
${!this.forceAction && !this.noCloseButton ? g`<sonic-modal-close></sonic-modal-close>` : S}
|
|
10474
10479
|
${this.modalFragment("title")} ${this.modalFragment("subtitle")}
|
|
10475
10480
|
${this.modalFragment("content")} ${this.modalFragment("actions")}
|
|
10476
10481
|
<slot></slot>
|
|
10477
|
-
</div>` :
|
|
10482
|
+
</div>` : S}
|
|
10478
10483
|
</dialog>
|
|
10479
10484
|
`;
|
|
10480
10485
|
}
|
|
10481
10486
|
modalFragment(r) {
|
|
10482
10487
|
const t = this.options?.[r];
|
|
10483
|
-
if (!t) return
|
|
10488
|
+
if (!t) return S;
|
|
10484
10489
|
let i;
|
|
10485
10490
|
switch (t instanceof Object ? i = t : i = z(t), r) {
|
|
10486
10491
|
case "title":
|
|
@@ -10492,7 +10497,7 @@ let M = class extends Z(w) {
|
|
|
10492
10497
|
case "actions":
|
|
10493
10498
|
return g`<sonic-modal-actions>${i}</sonic-modal-actions>`;
|
|
10494
10499
|
default:
|
|
10495
|
-
return
|
|
10500
|
+
return S;
|
|
10496
10501
|
}
|
|
10497
10502
|
}
|
|
10498
10503
|
// Show the modal
|
|
@@ -10568,7 +10573,7 @@ let M = class extends Z(w) {
|
|
|
10568
10573
|
};
|
|
10569
10574
|
M.styles = [
|
|
10570
10575
|
es,
|
|
10571
|
-
|
|
10576
|
+
P`
|
|
10572
10577
|
:host {
|
|
10573
10578
|
--sc-modal-py: 2.5rem;
|
|
10574
10579
|
--sc-modal-px: 1.5rem;
|
|
@@ -10795,12 +10800,12 @@ let Ct = class extends w {
|
|
|
10795
10800
|
render() {
|
|
10796
10801
|
return g`
|
|
10797
10802
|
<slot name="icon" class="${this.noIcon ? "hidden" : ""}"
|
|
10798
|
-
>${this.noIcon ?
|
|
10803
|
+
>${this.noIcon ? S : g`<div>
|
|
10799
10804
|
${this.status && g`<sonic-icon name=${Mc[this.status]}></sonic-icon>`}
|
|
10800
10805
|
</div>`}</slot
|
|
10801
10806
|
>
|
|
10802
10807
|
<div class="content">
|
|
10803
|
-
${this.label ? g`<span class="label">${z(this.label)}</span>` :
|
|
10808
|
+
${this.label ? g`<span class="label">${z(this.label)}</span>` : S}
|
|
10804
10809
|
<div>${this.text}<slot></slot></div>
|
|
10805
10810
|
</div>
|
|
10806
10811
|
${this.dismissible ? g`<sonic-button
|
|
@@ -10811,7 +10816,7 @@ let Ct = class extends w {
|
|
|
10811
10816
|
icon
|
|
10812
10817
|
>
|
|
10813
10818
|
<sonic-icon name="cancel"></sonic-icon>
|
|
10814
|
-
</sonic-button>` :
|
|
10819
|
+
</sonic-button>` : S}
|
|
10815
10820
|
`;
|
|
10816
10821
|
}
|
|
10817
10822
|
close() {
|
|
@@ -10826,7 +10831,7 @@ let Ct = class extends w {
|
|
|
10826
10831
|
};
|
|
10827
10832
|
Ct.styles = [
|
|
10828
10833
|
Mt,
|
|
10829
|
-
|
|
10834
|
+
P`
|
|
10830
10835
|
:host {
|
|
10831
10836
|
--sc_color: var(--sc-base-content, #000);
|
|
10832
10837
|
--sc_rounded: var(--sc-rounded);
|
|
@@ -10963,12 +10968,12 @@ let ue = class extends Z(w) {
|
|
|
10963
10968
|
size=${this.size}
|
|
10964
10969
|
?noIcon=${this.noIcon}
|
|
10965
10970
|
?background=${this.background}
|
|
10966
|
-
></sonic-alert>` :
|
|
10967
|
-
</div>` :
|
|
10971
|
+
></sonic-alert>` : S)}
|
|
10972
|
+
</div>` : S;
|
|
10968
10973
|
}
|
|
10969
10974
|
};
|
|
10970
10975
|
ue.styles = [
|
|
10971
|
-
|
|
10976
|
+
P`
|
|
10972
10977
|
.container {
|
|
10973
10978
|
display: grid;
|
|
10974
10979
|
gap: 0.5em;
|
|
@@ -11011,7 +11016,7 @@ let si = class extends Z(w) {
|
|
|
11011
11016
|
});
|
|
11012
11017
|
}
|
|
11013
11018
|
render() {
|
|
11014
|
-
return
|
|
11019
|
+
return S;
|
|
11015
11020
|
}
|
|
11016
11021
|
};
|
|
11017
11022
|
Ir([
|
|
@@ -11048,7 +11053,7 @@ let fe = class extends w {
|
|
|
11048
11053
|
}
|
|
11049
11054
|
};
|
|
11050
11055
|
fe.styles = [
|
|
11051
|
-
|
|
11056
|
+
P`
|
|
11052
11057
|
:host {
|
|
11053
11058
|
position: relative;
|
|
11054
11059
|
display: inline-flex;
|
|
@@ -11194,7 +11199,7 @@ let St = class extends w {
|
|
|
11194
11199
|
}
|
|
11195
11200
|
};
|
|
11196
11201
|
St.styles = [
|
|
11197
|
-
|
|
11202
|
+
P`
|
|
11198
11203
|
:host {
|
|
11199
11204
|
--sc-divider-my: 0.5rem;
|
|
11200
11205
|
--sc-divider-mx: 0;
|
|
@@ -11369,7 +11374,7 @@ let ii = class extends w {
|
|
|
11369
11374
|
}
|
|
11370
11375
|
};
|
|
11371
11376
|
ii.styles = [
|
|
11372
|
-
|
|
11377
|
+
P`
|
|
11373
11378
|
:host() {
|
|
11374
11379
|
display: block;
|
|
11375
11380
|
font-size: 0.7em;
|
|
@@ -11395,7 +11400,7 @@ let Ge = class extends w {
|
|
|
11395
11400
|
${z(this.label)}
|
|
11396
11401
|
${this.description ? g`<sonic-card-header-description
|
|
11397
11402
|
>${z(this.description)}</sonic-card-header-description
|
|
11398
|
-
>` :
|
|
11403
|
+
>` : S}
|
|
11399
11404
|
<slot></slot>
|
|
11400
11405
|
</div>
|
|
11401
11406
|
<slot name="suffix"></slot>
|
|
@@ -11403,7 +11408,7 @@ let Ge = class extends w {
|
|
|
11403
11408
|
}
|
|
11404
11409
|
};
|
|
11405
11410
|
Ge.styles = [
|
|
11406
|
-
|
|
11411
|
+
P`
|
|
11407
11412
|
:host {
|
|
11408
11413
|
--sc-card-header-mb: 1.35rem;
|
|
11409
11414
|
--sc-card-header-font-size: 1.875rem;
|
|
@@ -11464,7 +11469,7 @@ let ri = class extends w {
|
|
|
11464
11469
|
}
|
|
11465
11470
|
};
|
|
11466
11471
|
ri.styles = [
|
|
11467
|
-
|
|
11472
|
+
P`
|
|
11468
11473
|
:host {
|
|
11469
11474
|
display: block;
|
|
11470
11475
|
}
|
|
@@ -11485,7 +11490,7 @@ let oi = class extends w {
|
|
|
11485
11490
|
}
|
|
11486
11491
|
};
|
|
11487
11492
|
oi.styles = [
|
|
11488
|
-
|
|
11493
|
+
P`
|
|
11489
11494
|
:host {
|
|
11490
11495
|
display: block;
|
|
11491
11496
|
}
|
|
@@ -11494,7 +11499,7 @@ oi.styles = [
|
|
|
11494
11499
|
oi = oh([
|
|
11495
11500
|
_(nh)
|
|
11496
11501
|
], oi);
|
|
11497
|
-
const Ei =
|
|
11502
|
+
const Ei = P`
|
|
11498
11503
|
:host {
|
|
11499
11504
|
--sc-_color: inherit;
|
|
11500
11505
|
color: var(--sc-_color);
|
|
@@ -11519,7 +11524,7 @@ const Ei = x`
|
|
|
11519
11524
|
.inherit-color {
|
|
11520
11525
|
color: var(--sc-_color);
|
|
11521
11526
|
}
|
|
11522
|
-
`, ah =
|
|
11527
|
+
`, ah = P`
|
|
11523
11528
|
:host {
|
|
11524
11529
|
--sc-_color: inherit;
|
|
11525
11530
|
--sc-_bg: inherit;
|
|
@@ -11599,7 +11604,7 @@ let Ss = class extends w {
|
|
|
11599
11604
|
};
|
|
11600
11605
|
Ss.styles = [
|
|
11601
11606
|
ah,
|
|
11602
|
-
|
|
11607
|
+
P`
|
|
11603
11608
|
* {
|
|
11604
11609
|
box-sizing: border-box;
|
|
11605
11610
|
}
|
|
@@ -11656,7 +11661,7 @@ let ge = class extends Z(w) {
|
|
|
11656
11661
|
};
|
|
11657
11662
|
ge.styles = [
|
|
11658
11663
|
Ei,
|
|
11659
|
-
|
|
11664
|
+
P`
|
|
11660
11665
|
:host {
|
|
11661
11666
|
display: table-row;
|
|
11662
11667
|
}
|
|
@@ -11717,7 +11722,7 @@ let Ht = class extends w {
|
|
|
11717
11722
|
};
|
|
11718
11723
|
Ht.styles = [
|
|
11719
11724
|
Ei,
|
|
11720
|
-
|
|
11725
|
+
P`
|
|
11721
11726
|
:host {
|
|
11722
11727
|
display: contents;
|
|
11723
11728
|
background: var(--sc-table-bg);
|
|
@@ -11785,7 +11790,7 @@ let Tt = class extends w {
|
|
|
11785
11790
|
};
|
|
11786
11791
|
Tt.styles = [
|
|
11787
11792
|
Ei,
|
|
11788
|
-
|
|
11793
|
+
P`
|
|
11789
11794
|
:host {
|
|
11790
11795
|
display: contents;
|
|
11791
11796
|
}
|
|
@@ -11836,7 +11841,7 @@ let ni = class extends w {
|
|
|
11836
11841
|
}
|
|
11837
11842
|
};
|
|
11838
11843
|
ni.styles = [
|
|
11839
|
-
|
|
11844
|
+
P`
|
|
11840
11845
|
:host {
|
|
11841
11846
|
display: table-header-group;
|
|
11842
11847
|
}
|
|
@@ -11859,7 +11864,7 @@ let ai = class extends w {
|
|
|
11859
11864
|
}
|
|
11860
11865
|
};
|
|
11861
11866
|
ai.styles = [
|
|
11862
|
-
|
|
11867
|
+
P`
|
|
11863
11868
|
:host {
|
|
11864
11869
|
display: table-row-group;
|
|
11865
11870
|
}
|
|
@@ -11895,7 +11900,7 @@ let li = class extends w {
|
|
|
11895
11900
|
}
|
|
11896
11901
|
};
|
|
11897
11902
|
li.styles = [
|
|
11898
|
-
|
|
11903
|
+
P`
|
|
11899
11904
|
:host {
|
|
11900
11905
|
display: contents;
|
|
11901
11906
|
}
|
|
@@ -11916,7 +11921,7 @@ let ci = class extends w {
|
|
|
11916
11921
|
}
|
|
11917
11922
|
};
|
|
11918
11923
|
ci.styles = [
|
|
11919
|
-
|
|
11924
|
+
P`
|
|
11920
11925
|
:host {
|
|
11921
11926
|
display: table-caption;
|
|
11922
11927
|
font-size: 0.75rem;
|
|
@@ -11954,7 +11959,7 @@ let te = class extends w {
|
|
|
11954
11959
|
te.styles = [
|
|
11955
11960
|
es,
|
|
11956
11961
|
Mt,
|
|
11957
|
-
|
|
11962
|
+
P`
|
|
11958
11963
|
:host {
|
|
11959
11964
|
--sc-table-fw: var(--sc-font-weight-base, 400);
|
|
11960
11965
|
--sc-table-fst: var(--sc-font-style-base, normal);
|
|
@@ -12045,7 +12050,7 @@ async function Fh(r, t, i) {
|
|
|
12045
12050
|
);
|
|
12046
12051
|
return jh(e);
|
|
12047
12052
|
}
|
|
12048
|
-
const zh =
|
|
12053
|
+
const zh = P`
|
|
12049
12054
|
@keyframes altcha-spinner {
|
|
12050
12055
|
to {
|
|
12051
12056
|
transform: rotate(360deg);
|
|
@@ -12315,7 +12320,7 @@ let Se = class extends se(w) {
|
|
|
12315
12320
|
}
|
|
12316
12321
|
render() {
|
|
12317
12322
|
if (!this.key)
|
|
12318
|
-
return
|
|
12323
|
+
return S;
|
|
12319
12324
|
const t = Xt.getLanguage().match("^fr\\b") ? {
|
|
12320
12325
|
aria: "Visitez altcha.org",
|
|
12321
12326
|
error: "La vérification a échoué, réessayez plus tard.",
|
|
@@ -12352,7 +12357,7 @@ let Se = class extends se(w) {
|
|
|
12352
12357
|
};
|
|
12353
12358
|
Se.styles = [
|
|
12354
12359
|
zh,
|
|
12355
|
-
|
|
12360
|
+
P`
|
|
12356
12361
|
:host {
|
|
12357
12362
|
--altcha-border-width: var(--sc-border-width, 1px);
|
|
12358
12363
|
--altcha-border-radius: var(--sc-rounded);
|