@supersoniks/concorde 3.2.3 → 3.2.5
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 +140 -113
- package/concorde-core.es.js +524 -486
- package/dist/concorde-core.bundle.js +140 -113
- package/dist/concorde-core.es.js +524 -486
- package/package.json +1 -1
- package/src/core/components/functional/list/list.demo.ts +0 -0
- package/src/core/components/functional/list/list.ts +0 -0
- package/src/core/components/functional/queue/queue.ts +0 -0
- package/src/core/components/ui/captcha/altchaStyles.ts +0 -0
- package/src/core/components/ui/form/input/input.ts +0 -0
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -0
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +0 -0
- package/src/core/components/ui/form/select/select.ts +0 -0
- package/src/core/components/ui/icon/icon.ts +0 -0
- package/src/core/components/ui/menu/menu.md +0 -0
- package/src/core/components/ui/menu/menu.ts +25 -14
- package/src/core/components/ui/modal/modal-close.ts +5 -1
- package/src/core/components/ui/modal/modal.ts +35 -8
- package/src/core/components/ui/pop/pop.ts +0 -0
- package/src/core/components/ui/toast/toast.ts +0 -0
- package/src/core/mixins/FormElement.ts +0 -0
- package/src/core/utils/PublisherProxy.ts +0 -0
- package/src/core/utils/aesCrypto.ts +0 -0
- package/src/tsconfig.tsbuildinfo +0 -0
- package/test-utils/TestUtils.ts +0 -0
- package/vite.config.mts +0 -0
package/concorde-core.es.js
CHANGED
|
@@ -106,7 +106,7 @@ let J = class Lt {
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
|
-
const
|
|
109
|
+
const di = (r) => {
|
|
110
110
|
const t = document.documentElement, i = new MutationObserver((e) => {
|
|
111
111
|
for (let o of e)
|
|
112
112
|
o.type === "attributes" && o.attributeName === "lang" && r();
|
|
@@ -118,7 +118,7 @@ const hi = (r) => {
|
|
|
118
118
|
};
|
|
119
119
|
i.observe(t, s);
|
|
120
120
|
};
|
|
121
|
-
let
|
|
121
|
+
let fs = class {
|
|
122
122
|
/**
|
|
123
123
|
* Passe le premier caractère de la chaine en majuscule
|
|
124
124
|
*/
|
|
@@ -164,8 +164,8 @@ let Ti = dr.replace(
|
|
|
164
164
|
/-([a-z])/g,
|
|
165
165
|
(r) => r[1].toUpperCase()
|
|
166
166
|
);
|
|
167
|
-
const
|
|
168
|
-
function
|
|
167
|
+
const ms = Ti.charAt(0).toUpperCase() + Ti.slice(1);
|
|
168
|
+
function cs(r) {
|
|
169
169
|
return Object.prototype.hasOwnProperty.call(r, "__value");
|
|
170
170
|
}
|
|
171
171
|
function Ve(r) {
|
|
@@ -173,9 +173,9 @@ function Ve(r) {
|
|
|
173
173
|
}
|
|
174
174
|
let Pe = "sonic";
|
|
175
175
|
typeof __SONIC_PREFIX__ > "u" && (Pe = "sonic");
|
|
176
|
-
const
|
|
176
|
+
const Fs = Pe == "sonic" ? "publisher-proxies-data" : Pe + "-publisher-proxies-data";
|
|
177
177
|
var At;
|
|
178
|
-
let
|
|
178
|
+
let pi = (At = class {
|
|
179
179
|
constructor(t, i, s) {
|
|
180
180
|
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; )
|
|
181
181
|
this.root = this.root.parent;
|
|
@@ -332,12 +332,12 @@ let di = (At = class {
|
|
|
332
332
|
* Assigne une nouvelle valeur au proxy ce qui déclenche la transmission de la donnée en fonction des "écouteurs" associés
|
|
333
333
|
*/
|
|
334
334
|
set(t, i = !1) {
|
|
335
|
-
if (this._value_ === t || this._value_ && t &&
|
|
335
|
+
if (this._value_ === t || this._value_ && t && cs(this._value_) && cs(t) && this._value_.__value === t.__value)
|
|
336
336
|
return !0;
|
|
337
337
|
this._value_ = Ve(t) ? t : { __value: t }, this._cachedGet_ = void 0;
|
|
338
|
-
const s =
|
|
338
|
+
const s = cs(this._value_);
|
|
339
339
|
if (this._parentKey_ && this.parent) {
|
|
340
|
-
const e =
|
|
340
|
+
const e = cs(this._value_) ? this._value_.__value : this._value_;
|
|
341
341
|
if (this.parent?.get() == null && this.parent?.get() == null)
|
|
342
342
|
if (isNaN(Number(this._parentKey_)))
|
|
343
343
|
this.parent.set({ [this._parentKey_]: e });
|
|
@@ -404,7 +404,7 @@ let T = (D = class {
|
|
|
404
404
|
return new Promise((t) => {
|
|
405
405
|
(async () => {
|
|
406
406
|
try {
|
|
407
|
-
let s = localStorage.getItem(
|
|
407
|
+
let s = localStorage.getItem(Fs), e = null;
|
|
408
408
|
if (s && (e = await this.decompress(s, "gzip")), e)
|
|
409
409
|
try {
|
|
410
410
|
this.localStorageData = JSON.parse(e);
|
|
@@ -412,7 +412,7 @@ let T = (D = class {
|
|
|
412
412
|
this.localStorageData = {};
|
|
413
413
|
}
|
|
414
414
|
else
|
|
415
|
-
s = await this.compress("{}", "gzip"), localStorage.setItem(
|
|
415
|
+
s = await this.compress("{}", "gzip"), localStorage.setItem(Fs, s), this.localStorageData = {};
|
|
416
416
|
const o = 1e3 * 60 * 60 * 12;
|
|
417
417
|
for (const n in this.localStorageData) {
|
|
418
418
|
const l = this.localStorageData[n], c = (/* @__PURE__ */ new Date()).getTime() - (l.expirationDelayMs || o);
|
|
@@ -527,7 +527,7 @@ let T = (D = class {
|
|
|
527
527
|
JSON.stringify(this.localStorageData),
|
|
528
528
|
"gzip"
|
|
529
529
|
);
|
|
530
|
-
localStorage.setItem(
|
|
530
|
+
localStorage.setItem(Fs, e);
|
|
531
531
|
}
|
|
532
532
|
if (D.saving = !1, D.changed) {
|
|
533
533
|
D.saveId++;
|
|
@@ -556,10 +556,10 @@ 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 = "Thu Oct 30 2025 10:11:33 GMT+0100 (Central European Standard Time)", 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
|
-
r[
|
|
562
|
+
r[ms + "PublisherManager"] = r[ms + "PublisherManager"] || T;
|
|
563
563
|
}
|
|
564
564
|
const Ur = /* @__PURE__ */ new Set([
|
|
565
565
|
"invalidate",
|
|
@@ -605,7 +605,7 @@ const Ur = /* @__PURE__ */ new Set([
|
|
|
605
605
|
"_assignmentId_",
|
|
606
606
|
"_invalidate_on_page_show_"
|
|
607
607
|
]);
|
|
608
|
-
class He extends
|
|
608
|
+
class He extends pi {
|
|
609
609
|
constructor(t, i = null, s) {
|
|
610
610
|
super(t, i, s);
|
|
611
611
|
const e = new Proxy(this, {
|
|
@@ -691,7 +691,7 @@ class Vr extends HTMLElement {
|
|
|
691
691
|
};
|
|
692
692
|
}
|
|
693
693
|
connectedCallback() {
|
|
694
|
-
this.publisherId = this.getAttribute("publisher") || "", this.publisher =
|
|
694
|
+
this.publisherId = this.getAttribute("publisher") || "", this.publisher = pi.instances.get(parseInt(this.publisherId)), this.publisher?.onAssign(this.onAssign);
|
|
695
695
|
}
|
|
696
696
|
disconnectedCallback() {
|
|
697
697
|
this.publisher?.offAssign(this.onAssign);
|
|
@@ -843,9 +843,9 @@ let As = (N = class {
|
|
|
843
843
|
if (x.indexOf("|") != -1) {
|
|
844
844
|
const E = x.indexOf("|");
|
|
845
845
|
if (E == 0)
|
|
846
|
-
x =
|
|
846
|
+
x = fs.js(x.substring(1));
|
|
847
847
|
else {
|
|
848
|
-
const p = x.substring(0, E), f = x.substring(E + 1), y =
|
|
848
|
+
const p = x.substring(0, E), f = x.substring(E + 1), y = fs[p];
|
|
849
849
|
x = C ? "" : y ? y(f) : x;
|
|
850
850
|
}
|
|
851
851
|
} else
|
|
@@ -957,16 +957,16 @@ const _ = (r) => (t, i) => {
|
|
|
957
957
|
* Copyright 2019 Google LLC
|
|
958
958
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
959
959
|
*/
|
|
960
|
-
const
|
|
960
|
+
const us = globalThis, ui = us.ShadowRoot && (us.ShadyCSS === void 0 || us.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, fi = Symbol(), Mi = /* @__PURE__ */ new WeakMap();
|
|
961
961
|
let pr = class {
|
|
962
962
|
constructor(t, i, s) {
|
|
963
|
-
if (this._$cssResult$ = !0, s !==
|
|
963
|
+
if (this._$cssResult$ = !0, s !== fi) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
964
964
|
this.cssText = t, this.t = i;
|
|
965
965
|
}
|
|
966
966
|
get styleSheet() {
|
|
967
967
|
let t = this.o;
|
|
968
968
|
const i = this.t;
|
|
969
|
-
if (
|
|
969
|
+
if (ui && t === void 0) {
|
|
970
970
|
const s = i !== void 0 && i.length === 1;
|
|
971
971
|
s && (t = Mi.get(i)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && Mi.set(i, t));
|
|
972
972
|
}
|
|
@@ -976,20 +976,20 @@ 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,
|
|
979
|
+
const Br = (r) => new pr(typeof r == "string" ? r : r + "", void 0, fi), 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;
|
|
983
983
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
984
984
|
})(e) + r[o + 1]), r[0]);
|
|
985
|
-
return new pr(i, r,
|
|
985
|
+
return new pr(i, r, fi);
|
|
986
986
|
}, qr = (r, t) => {
|
|
987
|
-
if (
|
|
987
|
+
if (ui) r.adoptedStyleSheets = t.map(((i) => i instanceof CSSStyleSheet ? i : i.styleSheet));
|
|
988
988
|
else for (const i of t) {
|
|
989
|
-
const s = document.createElement("style"), e =
|
|
989
|
+
const s = document.createElement("style"), e = us.litNonce;
|
|
990
990
|
e !== void 0 && s.setAttribute("nonce", e), s.textContent = i.cssText, r.appendChild(s);
|
|
991
991
|
}
|
|
992
|
-
}, Ii =
|
|
992
|
+
}, Ii = ui ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
|
|
993
993
|
let i = "";
|
|
994
994
|
for (const s of t.cssRules) i += s.cssText;
|
|
995
995
|
return Br(i);
|
|
@@ -999,7 +999,7 @@ const Br = (r) => new pr(typeof r == "string" ? r : r + "", void 0, ui), P = (r,
|
|
|
999
999
|
* Copyright 2017 Google LLC
|
|
1000
1000
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1001
1001
|
*/
|
|
1002
|
-
const { is: Hr, defineProperty: Wr, getOwnPropertyDescriptor: Kr, getOwnPropertyNames: Yr, getOwnPropertySymbols:
|
|
1002
|
+
const { is: Hr, defineProperty: Wr, getOwnPropertyDescriptor: Kr, getOwnPropertyNames: Yr, getOwnPropertySymbols: Zr, getPrototypeOf: Xr } = Object, ks = globalThis, ji = ks.trustedTypes, Gr = ji ? ji.emptyScript : "", Qr = ks.reactiveElementPolyfillSupport, Be = (r, t) => r, gs = { toAttribute(r, t) {
|
|
1003
1003
|
switch (t) {
|
|
1004
1004
|
case Boolean:
|
|
1005
1005
|
r = r ? Gr : null;
|
|
@@ -1027,7 +1027,7 @@ const { is: Hr, defineProperty: Wr, getOwnPropertyDescriptor: Kr, getOwnProperty
|
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
1029
1029
|
return i;
|
|
1030
|
-
} },
|
|
1030
|
+
} }, mi = (r, t) => !Hr(r, t), Fi = { attribute: !0, type: String, converter: gs, reflect: !1, useDefault: !1, hasChanged: mi };
|
|
1031
1031
|
Symbol.metadata ??= Symbol("metadata"), ks.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
1032
1032
|
let _e = class extends HTMLElement {
|
|
1033
1033
|
static addInitializer(t) {
|
|
@@ -1058,13 +1058,13 @@ let _e = class extends HTMLElement {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
static _$Ei() {
|
|
1060
1060
|
if (this.hasOwnProperty(Be("elementProperties"))) return;
|
|
1061
|
-
const t =
|
|
1061
|
+
const t = Xr(this);
|
|
1062
1062
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
1063
1063
|
}
|
|
1064
1064
|
static finalize() {
|
|
1065
1065
|
if (this.hasOwnProperty(Be("finalized"))) return;
|
|
1066
1066
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Be("properties"))) {
|
|
1067
|
-
const i = this.properties, s = [...Yr(i), ...
|
|
1067
|
+
const i = this.properties, s = [...Yr(i), ...Zr(i)];
|
|
1068
1068
|
for (const e of s) this.createProperty(e, i[e]);
|
|
1069
1069
|
}
|
|
1070
1070
|
const t = this[Symbol.metadata];
|
|
@@ -1126,14 +1126,14 @@ let _e = class extends HTMLElement {
|
|
|
1126
1126
|
_$ET(t, i) {
|
|
1127
1127
|
const s = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, s);
|
|
1128
1128
|
if (e !== void 0 && s.reflect === !0) {
|
|
1129
|
-
const o = (s.converter?.toAttribute !== void 0 ? s.converter :
|
|
1129
|
+
const o = (s.converter?.toAttribute !== void 0 ? s.converter : gs).toAttribute(i, s.type);
|
|
1130
1130
|
this._$Em = t, o == null ? this.removeAttribute(e) : this.setAttribute(e, o), this._$Em = null;
|
|
1131
1131
|
}
|
|
1132
1132
|
}
|
|
1133
1133
|
_$AK(t, i) {
|
|
1134
1134
|
const s = this.constructor, e = s._$Eh.get(t);
|
|
1135
1135
|
if (e !== void 0 && this._$Em !== e) {
|
|
1136
|
-
const o = s.getPropertyOptions(e), n = typeof o.converter == "function" ? { fromAttribute: o.converter } : o.converter?.fromAttribute !== void 0 ? o.converter :
|
|
1136
|
+
const o = s.getPropertyOptions(e), n = typeof o.converter == "function" ? { fromAttribute: o.converter } : o.converter?.fromAttribute !== void 0 ? o.converter : gs;
|
|
1137
1137
|
this._$Em = e;
|
|
1138
1138
|
const l = n.fromAttribute(i, o.type);
|
|
1139
1139
|
this[e] = l ?? this._$Ej?.get(e) ?? l, this._$Em = null;
|
|
@@ -1142,7 +1142,7 @@ let _e = class extends HTMLElement {
|
|
|
1142
1142
|
requestUpdate(t, i, s) {
|
|
1143
1143
|
if (t !== void 0) {
|
|
1144
1144
|
const e = this.constructor, o = this[t];
|
|
1145
|
-
if (s ??= e.getPropertyOptions(t), !((s.hasChanged ??
|
|
1145
|
+
if (s ??= e.getPropertyOptions(t), !((s.hasChanged ?? mi)(o, i) || s.useDefault && s.reflect && o === this._$Ej?.get(t) && !this.hasAttribute(e._$Eu(t, s)))) return;
|
|
1146
1146
|
this.C(t, i, s);
|
|
1147
1147
|
}
|
|
1148
1148
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -1216,7 +1216,7 @@ _e.elementStyles = [], _e.shadowRootOptions = { mode: "open" }, _e[Be("elementPr
|
|
|
1216
1216
|
* Copyright 2017 Google LLC
|
|
1217
1217
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1218
1218
|
*/
|
|
1219
|
-
const Jr = { attribute: !0, type: String, converter:
|
|
1219
|
+
const Jr = { attribute: !0, type: String, converter: gs, reflect: !1, hasChanged: mi }, to = (r = Jr, t, i) => {
|
|
1220
1220
|
const { kind: s, metadata: e } = i;
|
|
1221
1221
|
let o = globalThis.litPropertyMetadata.get(e);
|
|
1222
1222
|
if (o === void 0 && globalThis.litPropertyMetadata.set(e, o = /* @__PURE__ */ new Map()), s === "setter" && ((r = Object.create(r)).wrapped = !0), o.set(i.name, r), s === "accessor") {
|
|
@@ -1256,7 +1256,7 @@ function L(r) {
|
|
|
1256
1256
|
* Copyright 2017 Google LLC
|
|
1257
1257
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1258
1258
|
*/
|
|
1259
|
-
const
|
|
1259
|
+
const gi = (r, t, i) => (i.configurable = !0, i.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(r, t, i), i);
|
|
1260
1260
|
/**
|
|
1261
1261
|
* @license
|
|
1262
1262
|
* Copyright 2017 Google LLC
|
|
@@ -1265,7 +1265,7 @@ const mi = (r, t, i) => (i.configurable = !0, i.enumerable = !0, Reflect.decorat
|
|
|
1265
1265
|
function ge(r, t) {
|
|
1266
1266
|
return (i, s, e) => {
|
|
1267
1267
|
const o = (n) => n.renderRoot?.querySelector(r) ?? null;
|
|
1268
|
-
return
|
|
1268
|
+
return gi(i, s, { get() {
|
|
1269
1269
|
return o(this);
|
|
1270
1270
|
} });
|
|
1271
1271
|
};
|
|
@@ -1278,7 +1278,7 @@ function ge(r, t) {
|
|
|
1278
1278
|
function ke(r) {
|
|
1279
1279
|
return (t, i) => {
|
|
1280
1280
|
const { slot: s, selector: e } = r ?? {}, o = "slot" + (s ? `[name=${s}]` : ":not([name])");
|
|
1281
|
-
return
|
|
1281
|
+
return gi(t, i, { get() {
|
|
1282
1282
|
const n = this.renderRoot?.querySelector(o), l = n?.assignedElements(r) ?? [];
|
|
1283
1283
|
return e === void 0 ? l : l.filter(((c) => c.matches(e)));
|
|
1284
1284
|
} });
|
|
@@ -1292,7 +1292,7 @@ function ke(r) {
|
|
|
1292
1292
|
function dt(r) {
|
|
1293
1293
|
return (t, i) => {
|
|
1294
1294
|
const { slot: s } = r ?? {}, e = "slot" + (s ? `[name=${s}]` : ":not([name])");
|
|
1295
|
-
return
|
|
1295
|
+
return gi(t, i, { get() {
|
|
1296
1296
|
return this.renderRoot?.querySelector(e)?.assignedNodes(r) ?? [];
|
|
1297
1297
|
} });
|
|
1298
1298
|
};
|
|
@@ -1302,11 +1302,11 @@ function dt(r) {
|
|
|
1302
1302
|
* Copyright 2017 Google LLC
|
|
1303
1303
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1304
1304
|
*/
|
|
1305
|
-
const
|
|
1306
|
-
\f\r]`, je = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ri = /-->/g, Ui = />/g, oe = RegExp(`>|${
|
|
1305
|
+
const bi = globalThis, bs = bi.trustedTypes, zi = bs ? bs.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, ur = "$lit$", Yt = `lit$${Math.random().toFixed(9).slice(2)}$`, fr = "?" + Yt, eo = `<${fr}>`, he = document, We = () => he.createComment(""), Ke = (r) => r === null || typeof r != "object" && typeof r != "function", vi = Array.isArray, so = (r) => vi(r) || typeof r?.[Symbol.iterator] == "function", zs = `[
|
|
1306
|
+
\f\r]`, je = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ri = /-->/g, Ui = />/g, oe = RegExp(`>|${zs}(?:([^\\s"'>=/]+)(${zs}*=${zs}*(?:[^
|
|
1307
1307
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Vi = /'/g, Bi = /"/g, mr = /^(?:script|style|textarea|title)$/i, io = (r) => (t, ...i) => ({ _$litType$: r, strings: t, values: i }), m = io(1), wt = Symbol.for("lit-noChange"), S = Symbol.for("lit-nothing"), qi = /* @__PURE__ */ new WeakMap(), ce = he.createTreeWalker(he, 129);
|
|
1308
1308
|
function gr(r, t) {
|
|
1309
|
-
if (!
|
|
1309
|
+
if (!vi(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1310
1310
|
return zi !== void 0 ? zi.createHTML(t) : t;
|
|
1311
1311
|
}
|
|
1312
1312
|
const ro = (r, t) => {
|
|
@@ -1321,7 +1321,7 @@ const ro = (r, t) => {
|
|
|
1321
1321
|
}
|
|
1322
1322
|
return [gr(r, o + (r[i] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
|
1323
1323
|
};
|
|
1324
|
-
let
|
|
1324
|
+
let Hs = class br {
|
|
1325
1325
|
constructor({ strings: t, _$litType$: i }, s) {
|
|
1326
1326
|
let e;
|
|
1327
1327
|
this.parts = [];
|
|
@@ -1340,7 +1340,7 @@ let qs = class br {
|
|
|
1340
1340
|
if (mr.test(e.tagName)) {
|
|
1341
1341
|
const d = e.textContent.split(Yt), g = d.length - 1;
|
|
1342
1342
|
if (g > 0) {
|
|
1343
|
-
e.textContent =
|
|
1343
|
+
e.textContent = bs ? bs.emptyScript : "";
|
|
1344
1344
|
for (let v = 0; v < g; v++) e.append(d[v], We()), ce.nextNode(), c.push({ type: 2, index: ++o });
|
|
1345
1345
|
e.append(d[g], We());
|
|
1346
1346
|
}
|
|
@@ -1423,7 +1423,7 @@ class Oe {
|
|
|
1423
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
|
-
const { values: i, _$litType$: s } = t, e = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el =
|
|
1426
|
+
const { values: i, _$litType$: s } = t, e = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = Hs.createElement(gr(s.h, s.h[0]), this.options)), s);
|
|
1427
1427
|
if (this._$AH?._$AD === e) this._$AH.p(i);
|
|
1428
1428
|
else {
|
|
1429
1429
|
const o = new oo(e, this), n = o.u(this.options);
|
|
@@ -1432,10 +1432,10 @@ class Oe {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
_$AC(t) {
|
|
1434
1434
|
let i = qi.get(t.strings);
|
|
1435
|
-
return i === void 0 && qi.set(t.strings, i = new
|
|
1435
|
+
return i === void 0 && qi.set(t.strings, i = new Hs(t)), i;
|
|
1436
1436
|
}
|
|
1437
1437
|
k(t) {
|
|
1438
|
-
|
|
1438
|
+
vi(this._$AH) || (this._$AH = [], this._$AR());
|
|
1439
1439
|
const i = this._$AH;
|
|
1440
1440
|
let s, e = 0;
|
|
1441
1441
|
for (const o of t) e === i.length ? i.push(s = new Oe(this.O(We()), this.O(We()), this, this.options)) : s = i[e], s._$AI(o), e++;
|
|
@@ -1516,8 +1516,8 @@ class co {
|
|
|
1516
1516
|
$e(this, t);
|
|
1517
1517
|
}
|
|
1518
1518
|
}
|
|
1519
|
-
const ho = { I: Oe }, po =
|
|
1520
|
-
po?.(
|
|
1519
|
+
const ho = { I: Oe }, po = bi.litHtmlPolyfillSupport;
|
|
1520
|
+
po?.(Hs, Oe), (bi.litHtmlVersions ??= []).push("3.3.1");
|
|
1521
1521
|
const uo = (r, t, i) => {
|
|
1522
1522
|
const s = i?.renderBefore ?? t;
|
|
1523
1523
|
let e = s._$litPart$;
|
|
@@ -1552,7 +1552,7 @@ const { I: fo } = ho, mo = (r) => r.strings === void 0, Hi = () => document.crea
|
|
|
1552
1552
|
}
|
|
1553
1553
|
}
|
|
1554
1554
|
return i;
|
|
1555
|
-
}, ne = (r, t, i = r) => (r._$AI(t, i), r), go = {}, bo = (r, t = go) => r._$AH = t, vo = (r) => r._$AH,
|
|
1555
|
+
}, ne = (r, t, i = r) => (r._$AI(t, i), r), go = {}, bo = (r, t = go) => r._$AH = t, vo = (r) => r._$AH, Rs = (r) => {
|
|
1556
1556
|
r._$AR(), r._$AA.remove();
|
|
1557
1557
|
};
|
|
1558
1558
|
/**
|
|
@@ -1587,7 +1587,7 @@ const qe = (r, t) => {
|
|
|
1587
1587
|
if (i === void 0) return !1;
|
|
1588
1588
|
for (const s of i) s._$AO?.(t, !1), qe(s, t);
|
|
1589
1589
|
return !0;
|
|
1590
|
-
},
|
|
1590
|
+
}, vs = (r) => {
|
|
1591
1591
|
let t, i;
|
|
1592
1592
|
do {
|
|
1593
1593
|
if ((t = r._$AM) === void 0) break;
|
|
@@ -1602,18 +1602,18 @@ const qe = (r, t) => {
|
|
|
1602
1602
|
}
|
|
1603
1603
|
};
|
|
1604
1604
|
function yo(r) {
|
|
1605
|
-
this._$AN !== void 0 ? (
|
|
1605
|
+
this._$AN !== void 0 ? (vs(this), this._$AM = r, vr(this)) : this._$AM = r;
|
|
1606
1606
|
}
|
|
1607
1607
|
function wo(r, t = !1, i = 0) {
|
|
1608
1608
|
const s = this._$AH, e = this._$AN;
|
|
1609
|
-
if (e !== void 0 && e.size !== 0) if (t) if (Array.isArray(s)) for (let o = i; o < s.length; o++) qe(s[o], !1),
|
|
1610
|
-
else s != null && (qe(s, !1),
|
|
1609
|
+
if (e !== void 0 && e.size !== 0) if (t) if (Array.isArray(s)) for (let o = i; o < s.length; o++) qe(s[o], !1), vs(s[o]);
|
|
1610
|
+
else s != null && (qe(s, !1), vs(s));
|
|
1611
1611
|
else qe(this, r);
|
|
1612
1612
|
}
|
|
1613
1613
|
const _o = (r) => {
|
|
1614
1614
|
r.type == be.CHILD && (r._$AP ??= wo, r._$AQ ??= yo);
|
|
1615
1615
|
};
|
|
1616
|
-
class
|
|
1616
|
+
class yi extends De {
|
|
1617
1617
|
constructor() {
|
|
1618
1618
|
super(...arguments), this._$AN = void 0;
|
|
1619
1619
|
}
|
|
@@ -1621,7 +1621,7 @@ class vi extends De {
|
|
|
1621
1621
|
super._$AT(t, i, s), vr(this), this.isConnected = t._$AU;
|
|
1622
1622
|
}
|
|
1623
1623
|
_$AO(t, i = !0) {
|
|
1624
|
-
t !== this.isConnected && (this.isConnected = t, t ? this.reconnected?.() : this.disconnected?.()), i && (qe(this, t),
|
|
1624
|
+
t !== this.isConnected && (this.isConnected = t, t ? this.reconnected?.() : this.disconnected?.()), i && (qe(this, t), vs(this));
|
|
1625
1625
|
}
|
|
1626
1626
|
setValue(t) {
|
|
1627
1627
|
if (mo(this._$Ct)) this._$Ct._$AI(t, this);
|
|
@@ -1640,7 +1640,7 @@ class vi extends De {
|
|
|
1640
1640
|
* Copyright 2017 Google LLC
|
|
1641
1641
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1642
1642
|
*/
|
|
1643
|
-
const
|
|
1643
|
+
const wi = globalThis;
|
|
1644
1644
|
let w = class extends _e {
|
|
1645
1645
|
constructor() {
|
|
1646
1646
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -1663,10 +1663,10 @@ let w = class extends _e {
|
|
|
1663
1663
|
return wt;
|
|
1664
1664
|
}
|
|
1665
1665
|
};
|
|
1666
|
-
w._$litElement$ = !0, w.finalized = !0,
|
|
1667
|
-
const xo =
|
|
1666
|
+
w._$litElement$ = !0, w.finalized = !0, wi.litElementHydrateSupport?.({ LitElement: w });
|
|
1667
|
+
const xo = wi.litElementPolyfillSupport;
|
|
1668
1668
|
xo?.({ LitElement: w });
|
|
1669
|
-
(
|
|
1669
|
+
(wi.litElementVersions ??= []).push("4.2.1");
|
|
1670
1670
|
function Ds(r) {
|
|
1671
1671
|
if (typeof r == "function") {
|
|
1672
1672
|
const t = r;
|
|
@@ -1681,7 +1681,7 @@ function Ds(r) {
|
|
|
1681
1681
|
}
|
|
1682
1682
|
return /* @__PURE__ */ new Set([r]);
|
|
1683
1683
|
}
|
|
1684
|
-
class Po extends
|
|
1684
|
+
class Po extends yi {
|
|
1685
1685
|
/* eslint-disable @typescript-eslint/no-explicit-any*/
|
|
1686
1686
|
constructor(t) {
|
|
1687
1687
|
super(t), this.observables = /* @__PURE__ */ new Set(), this.onAssign = (i) => {
|
|
@@ -1986,7 +1986,7 @@ const Oo = async (r, t) => {
|
|
|
1986
1986
|
* Copyright 2017 Google LLC
|
|
1987
1987
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1988
1988
|
*/
|
|
1989
|
-
let
|
|
1989
|
+
let Ws = class extends De {
|
|
1990
1990
|
constructor(t) {
|
|
1991
1991
|
if (super(t), this.it = S, t.type !== be.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
1992
1992
|
}
|
|
@@ -2000,8 +2000,8 @@ let Hs = class extends De {
|
|
|
2000
2000
|
return i.raw = i, this._t = { _$litType$: this.constructor.resultType, strings: i, values: [] };
|
|
2001
2001
|
}
|
|
2002
2002
|
};
|
|
2003
|
-
|
|
2004
|
-
const z = ee(
|
|
2003
|
+
Ws.directiveName = "unsafeHTML", Ws.resultType = 1;
|
|
2004
|
+
const z = ee(Ws), Ks = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
2005
2005
|
if (!r) return null;
|
|
2006
2006
|
const t = J.getApiConfiguration(r), i = J.getAncestorAttributeValue(
|
|
2007
2007
|
r,
|
|
@@ -2015,7 +2015,7 @@ const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2015
2015
|
wordingVersionProvider: s
|
|
2016
2016
|
};
|
|
2017
2017
|
let o = null;
|
|
2018
|
-
for (const [n, l] of
|
|
2018
|
+
for (const [n, l] of Ks)
|
|
2019
2019
|
if (tt.deepEqual(n, e)) {
|
|
2020
2020
|
o = l;
|
|
2021
2021
|
break;
|
|
@@ -2028,8 +2028,8 @@ const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2028
2028
|
callIndex: 0,
|
|
2029
2029
|
wordingVersionProvider: s,
|
|
2030
2030
|
apiCallKey: e
|
|
2031
|
-
},
|
|
2032
|
-
}, Ki = "", V = class V extends
|
|
2031
|
+
}, Ks.set(e, o)), o;
|
|
2032
|
+
}, Ki = "", V = class V extends yi {
|
|
2033
2033
|
/* eslint-disable @typescript-eslint/no-explicit-any*/
|
|
2034
2034
|
constructor(t) {
|
|
2035
2035
|
super(t), this.useUnsafeHTML = !1, this.onAssign = (i) => {
|
|
@@ -2046,7 +2046,7 @@ const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2046
2046
|
}
|
|
2047
2047
|
static async callApi(t, i, s = !0, e) {
|
|
2048
2048
|
if (await T.getInstance().isLocalStrorageReady, V.firstCall) {
|
|
2049
|
-
V.firstCall = !1,
|
|
2049
|
+
V.firstCall = !1, di(V.reloadWordings);
|
|
2050
2050
|
const u = Object.keys(V.publisher.get());
|
|
2051
2051
|
for (const d of u)
|
|
2052
2052
|
V.publisher.get()[d] === Ki && delete V.publisher[d];
|
|
@@ -2091,7 +2091,7 @@ const z = ee(Hs), Ws = /* @__PURE__ */ new Map(), Wi = (r) => {
|
|
|
2091
2091
|
});
|
|
2092
2092
|
}
|
|
2093
2093
|
static reloadWordings() {
|
|
2094
|
-
for (const t of
|
|
2094
|
+
for (const t of Ks.values())
|
|
2095
2095
|
t.keysToTranslate = new Set(t.translatedKeys), t.keysToTranslate.size > 0 && V.callApi(null, "", !1, t);
|
|
2096
2096
|
}
|
|
2097
2097
|
//check if the wording version has changed
|
|
@@ -2144,8 +2144,8 @@ var Eo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, Ot = (r, t
|
|
|
2144
2144
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
2145
2145
|
return s && e && Eo(t, i, e), e;
|
|
2146
2146
|
};
|
|
2147
|
-
let
|
|
2148
|
-
const
|
|
2147
|
+
let hs = !1, Us = /* @__PURE__ */ new Set();
|
|
2148
|
+
const G = (r, t) => {
|
|
2149
2149
|
var e;
|
|
2150
2150
|
const i = (e = class extends r {
|
|
2151
2151
|
constructor(...n) {
|
|
@@ -2213,11 +2213,11 @@ const Z = (r, t) => {
|
|
|
2213
2213
|
n.position = "fixed", n.top = "0", n.right = "0", n.margin = "auto", n.borderRadius = ".7rem", n.backgroundColor = "#0f1729", n.color = "#c5d4f9", n.padding = "16px 16px", n.margin = "16px 16px", n.boxShadow = "0 10px 30px -18px rgba(0,0,0,.3)", n.overflowY = "auto", n.zIndex = "99999999", n.maxHeight = "calc(100vh - 32px)", n.fontFamily = "Consolas, monospace", n.maxWidth = "min(50vw,25rem)", n.fontSize = "12px", n.minWidth = "300px", n.overflowWrap = "break-word", n.resize = "vertical";
|
|
2214
2214
|
}
|
|
2215
2215
|
this.addEventListener("click", (n) => {
|
|
2216
|
-
n.ctrlKey && (n.preventDefault(),
|
|
2216
|
+
n.ctrlKey && (n.preventDefault(), hs = !hs);
|
|
2217
2217
|
}), this.dataProvider && (window[this.dataProvider] = this.publisher), this.addEventListener("mouseover", () => {
|
|
2218
|
-
|
|
2218
|
+
hs || this.removeDebugger(), document.body.appendChild(this.debug), Us.add(this.debug);
|
|
2219
2219
|
}), this.addEventListener("mouseout", () => {
|
|
2220
|
-
|
|
2220
|
+
hs || this.removeDebugger();
|
|
2221
2221
|
}), this.publisher?.onInternalMutation(() => {
|
|
2222
2222
|
this.debug.innerHTML = `🤖 DataProvider : "<b style="font-weight:bold;color:#fff;">${this.dataProvider}</b>"<br>
|
|
2223
2223
|
<div style="font-size:10px;border-top:1px dashed;margin-top:5px;padding-left:23px;opacity:.6;padding-top:5px;">
|
|
@@ -2233,9 +2233,9 @@ const Z = (r, t) => {
|
|
|
2233
2233
|
}
|
|
2234
2234
|
}
|
|
2235
2235
|
removeDebugger() {
|
|
2236
|
-
|
|
2236
|
+
Us.forEach((n) => {
|
|
2237
2237
|
document.body.contains(n) && document.body.removeChild(n);
|
|
2238
|
-
}),
|
|
2238
|
+
}), Us = /* @__PURE__ */ new Set();
|
|
2239
2239
|
}
|
|
2240
2240
|
/**
|
|
2241
2241
|
* Petite fonction utilitaire pour retourner la configuration a passer à l'utilitaire API
|
|
@@ -2321,7 +2321,7 @@ var To = Object.defineProperty, Mo = (r, t, i, s) => {
|
|
|
2321
2321
|
(n = r[o]) && (e = n(t, i, e) || e);
|
|
2322
2322
|
return e && To(t, i, e), e;
|
|
2323
2323
|
};
|
|
2324
|
-
const
|
|
2324
|
+
const Je = (r) => {
|
|
2325
2325
|
class t extends r {
|
|
2326
2326
|
constructor() {
|
|
2327
2327
|
super(...arguments), this.templates = null, this.templateValueAttribute = "data-value", this.templateList = [], this.templateParts = {}, this.templatePartsList = [];
|
|
@@ -2345,8 +2345,8 @@ var Io = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, K = (r, t,
|
|
|
2345
2345
|
return s && e && Io(t, i, e), e;
|
|
2346
2346
|
};
|
|
2347
2347
|
const Fo = "sonic-date";
|
|
2348
|
-
|
|
2349
|
-
let R = class extends
|
|
2348
|
+
di(() => R.updateComponentsLanguage());
|
|
2349
|
+
let R = class extends G(Je(w)) {
|
|
2350
2350
|
constructor() {
|
|
2351
2351
|
super(...arguments), this.pageLanguage = "fr", this.duAu = [], this._wording_billet_periode_validite = "", this.designMode = null, this.time_zone = null, this.date = null, this.date_string = null, this.start_date_string = null, this.end_date_string = null, this.start_date = 0, this.computedStartDate = 0, this.end_date = 0, this.computedEndDate = 0, this.hide_hours = !1, this.era = "", this.year = "numeric", this.month = "short", this.day = "2-digit", this.weekday = "short", this.hour = "2-digit", this.hour12 = !1, this.minute = "2-digit", this.language = "", this.renderIf = !0, this.now = !1, this.startDateObject = /* @__PURE__ */ new Date(), this.endDateObject = /* @__PURE__ */ new Date();
|
|
2352
2352
|
}
|
|
@@ -2396,7 +2396,7 @@ let R = class extends Z(Qe(w)) {
|
|
|
2396
2396
|
this.language || this.pageLanguage,
|
|
2397
2397
|
i
|
|
2398
2398
|
).formatToParts(s);
|
|
2399
|
-
return this.designMode && e.forEach((o) => o.value = o.value.replace(/,/g, " ")), e[0].value =
|
|
2399
|
+
return this.designMode && e.forEach((o) => o.value = o.value.replace(/,/g, " ")), e[0].value = fs.ucFirst(e[0].value), e.filter((o) => o.hidden !== !0);
|
|
2400
2400
|
}
|
|
2401
2401
|
dateStringToSeconds(r) {
|
|
2402
2402
|
return new Date(r).getTime() / 1e3;
|
|
@@ -2583,7 +2583,7 @@ let et = (H = class {
|
|
|
2583
2583
|
* Copyright 2018 Google LLC
|
|
2584
2584
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2585
2585
|
*/
|
|
2586
|
-
const xr = "important", zo = " !" + xr,
|
|
2586
|
+
const xr = "important", zo = " !" + xr, ut = ee(class extends De {
|
|
2587
2587
|
constructor(r) {
|
|
2588
2588
|
if (super(r), r.type !== be.ATTRIBUTE || r.name !== "style" || r.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
2589
2589
|
}
|
|
@@ -2613,7 +2613,7 @@ var Ro = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, Dt = (r, t
|
|
|
2613
2613
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
2614
2614
|
return s && e && Ro(t, i, e), e;
|
|
2615
2615
|
};
|
|
2616
|
-
const
|
|
2616
|
+
const ds = /* @__PURE__ */ new Map(), Le = (r) => {
|
|
2617
2617
|
class t extends r {
|
|
2618
2618
|
constructor(...s) {
|
|
2619
2619
|
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) => {
|
|
@@ -2711,11 +2711,11 @@ const hs = /* @__PURE__ */ new Map(), Le = (r) => {
|
|
|
2711
2711
|
const e = s.split(" "), o = e[0];
|
|
2712
2712
|
if (!o) return;
|
|
2713
2713
|
for (const l of e) {
|
|
2714
|
-
|
|
2715
|
-
const c =
|
|
2714
|
+
ds.has(l) || ds.set(l, []);
|
|
2715
|
+
const c = ds.get(l);
|
|
2716
2716
|
c?.indexOf(this) == -1 && c.push(this);
|
|
2717
2717
|
}
|
|
2718
|
-
const n =
|
|
2718
|
+
const n = ds.get(o);
|
|
2719
2719
|
this.addEventListener("keydown", (l) => {
|
|
2720
2720
|
const c = l;
|
|
2721
2721
|
if (!["ArrowDown", "ArrowUp"].includes(c.key)) return;
|
|
@@ -2920,9 +2920,9 @@ function Ho() {
|
|
|
2920
2920
|
}, x = function(p) {
|
|
2921
2921
|
return new RegExp(p.toString() + "|").exec("").length - 1;
|
|
2922
2922
|
}, v = function(p, f) {
|
|
2923
|
-
var y, A, k, q,
|
|
2923
|
+
var y, A, k, q, Z;
|
|
2924
2924
|
for (q = {}, y = -1, k = p.length; ++y < k; )
|
|
2925
|
-
A = p[y],
|
|
2925
|
+
A = p[y], Z = f[y], Z != null && (q[A] != null ? (Array.isArray(q[A]) || (q[A] = [q[A]]), q[A].push(Z)) : q[A] = Z);
|
|
2926
2926
|
return q;
|
|
2927
2927
|
}, s = {}, s.Result = function(p, f) {
|
|
2928
2928
|
this.value = p, this.rest = f;
|
|
@@ -2943,11 +2943,11 @@ function Ho() {
|
|
|
2943
2943
|
}, s.sequence = function() {
|
|
2944
2944
|
var p;
|
|
2945
2945
|
return p = 1 <= arguments.length ? i.call(arguments, 0) : [], function(f) {
|
|
2946
|
-
var y, A, k, q,
|
|
2946
|
+
var y, A, k, q, Z, ot;
|
|
2947
2947
|
for (y = -1, A = p.length, ot = [], q = f; ++y < A; ) {
|
|
2948
|
-
if (k = p[y],
|
|
2948
|
+
if (k = p[y], Z = k(q), Z == null)
|
|
2949
2949
|
return;
|
|
2950
|
-
ot.push(
|
|
2950
|
+
ot.push(Z.value), q = Z.rest;
|
|
2951
2951
|
}
|
|
2952
2952
|
return new s.Result(ot, q);
|
|
2953
2953
|
};
|
|
@@ -2970,9 +2970,9 @@ function Ho() {
|
|
|
2970
2970
|
return f == null && (f = p()), f(y);
|
|
2971
2971
|
};
|
|
2972
2972
|
}, s.baseMany = function(p, f, y, A, k) {
|
|
2973
|
-
var q,
|
|
2974
|
-
for (ot = k, Ie = y ? "" : []; !(f != null && (q = f(ot), q != null) || (
|
|
2975
|
-
y ? Ie +=
|
|
2973
|
+
var q, Z, ot, Ie;
|
|
2974
|
+
for (ot = k, Ie = y ? "" : []; !(f != null && (q = f(ot), q != null) || (Z = p(ot), Z == null)); )
|
|
2975
|
+
y ? Ie += Z.value : Ie.push(Z.value), ot = Z.rest;
|
|
2976
2976
|
if (!(A && Ie.length === 0))
|
|
2977
2977
|
return new s.Result(Ie, ot);
|
|
2978
2978
|
}, s.many1 = function(p) {
|
|
@@ -3043,7 +3043,7 @@ function Ho() {
|
|
|
3043
3043
|
return n(p.value);
|
|
3044
3044
|
}
|
|
3045
3045
|
}, g = function(p, f, y, A) {
|
|
3046
|
-
var k, q,
|
|
3046
|
+
var k, q, Z, ot;
|
|
3047
3047
|
if (A == null && (A = !1), ot = p[f], ot == null) {
|
|
3048
3048
|
if (A)
|
|
3049
3049
|
throw new Error("no values provided for key `" + f + "`");
|
|
@@ -3054,7 +3054,7 @@ function Ho() {
|
|
|
3054
3054
|
throw new Error("too few values provided for key `" + f + "`");
|
|
3055
3055
|
return;
|
|
3056
3056
|
}
|
|
3057
|
-
return
|
|
3057
|
+
return Z = Array.isArray(ot) ? ot[k] : ot, A && (y[f] = k + 1), Z;
|
|
3058
3058
|
}, o = function(p, f, y) {
|
|
3059
3059
|
var A, k;
|
|
3060
3060
|
if (Array.isArray(p)) {
|
|
@@ -3089,7 +3089,7 @@ function Ho() {
|
|
|
3089
3089
|
return o(p.value, f, y) ? E(p.value, f, y) : "";
|
|
3090
3090
|
}
|
|
3091
3091
|
}, e = function(p, f) {
|
|
3092
|
-
var y, A, k, q,
|
|
3092
|
+
var y, A, k, q, Z;
|
|
3093
3093
|
if (p instanceof e) {
|
|
3094
3094
|
this.isRegex = p.isRegex, this.regex = p.regex, this.ast = p.ast, this.names = p.names;
|
|
3095
3095
|
return;
|
|
@@ -3108,7 +3108,7 @@ function Ho() {
|
|
|
3108
3108
|
}
|
|
3109
3109
|
if (p === "")
|
|
3110
3110
|
throw new Error("argument must not be the empty string");
|
|
3111
|
-
if (
|
|
3111
|
+
if (Z = p.replace(/\s+/g, ""), Z !== p)
|
|
3112
3112
|
throw new Error("argument must not contain whitespace");
|
|
3113
3113
|
if (A = {
|
|
3114
3114
|
escapeChar: f?.escapeChar || u.escapeChar,
|
|
@@ -3137,16 +3137,16 @@ function Ho() {
|
|
|
3137
3137
|
})(Ue, Ue.exports)), Ue.exports;
|
|
3138
3138
|
}
|
|
3139
3139
|
var Wo = Ho();
|
|
3140
|
-
const qt = /* @__PURE__ */ Bo(Wo), Ko = Rr, Yo = Vo,
|
|
3140
|
+
const qt = /* @__PURE__ */ Bo(Wo), Ko = Rr, Yo = Vo, Zo = As, Xo = fs, Zt = J, Go = et, ts = tt, Qo = He, st = T, Jo = Ce, tn = qt;
|
|
3141
3141
|
window["concorde-utils"] = window["concorde-utils"] || {};
|
|
3142
3142
|
window["concorde-utils"] = {
|
|
3143
3143
|
Utils: Ko,
|
|
3144
3144
|
Arrays: Yo,
|
|
3145
|
-
DataBindObserver:
|
|
3146
|
-
Format:
|
|
3147
|
-
HTML:
|
|
3145
|
+
DataBindObserver: Zo,
|
|
3146
|
+
Format: Xo,
|
|
3147
|
+
HTML: Zt,
|
|
3148
3148
|
LocationHandler: Go,
|
|
3149
|
-
Objects:
|
|
3149
|
+
Objects: ts,
|
|
3150
3150
|
PublisherProxy: Qo,
|
|
3151
3151
|
PublisherManager: st,
|
|
3152
3152
|
api: Jo,
|
|
@@ -3157,7 +3157,7 @@ var en = Object.defineProperty, sn = Object.getOwnPropertyDescriptor, ze = (r, t
|
|
|
3157
3157
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
3158
3158
|
return s && e && en(t, i, e), e;
|
|
3159
3159
|
};
|
|
3160
|
-
const
|
|
3160
|
+
const _i = (r) => {
|
|
3161
3161
|
class t extends r {
|
|
3162
3162
|
constructor() {
|
|
3163
3163
|
super(...arguments), this._value = "", this.forceAutoFill = !1, this.unique = null, this.radio = null, this._checked = null, this.updateAllChecked = () => {
|
|
@@ -3342,7 +3342,7 @@ var rn = Object.defineProperty, on = Object.getOwnPropertyDescriptor, B = (r, t,
|
|
|
3342
3342
|
return s && e && rn(t, i, e), e;
|
|
3343
3343
|
};
|
|
3344
3344
|
const nn = "sonic-button";
|
|
3345
|
-
let I = class extends
|
|
3345
|
+
let I = class extends _i(Le(G(w))) {
|
|
3346
3346
|
constructor() {
|
|
3347
3347
|
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 = () => {
|
|
3348
3348
|
window.removeEventListener("pointerup", this.handleRepeatend), window.removeEventListener("blur", this.handleRepeatend), this.autoRepeat && (this.isRepeating = !1);
|
|
@@ -3403,7 +3403,7 @@ let I = class extends wi(Le(Z(w))) {
|
|
|
3403
3403
|
<button
|
|
3404
3404
|
part="button"
|
|
3405
3405
|
class=${this.hasPrefix || this.hasSuffix ? "has-prefix-or-suffix" : ""}
|
|
3406
|
-
style=${
|
|
3406
|
+
style=${ut(r)}
|
|
3407
3407
|
aria-controls=${$(this.ariaControls)}
|
|
3408
3408
|
aria-expanded=${$(this.sonicAriaExpanded)}
|
|
3409
3409
|
aria-label=${$(this.ariaLabel)}
|
|
@@ -3896,7 +3896,7 @@ I = B([
|
|
|
3896
3896
|
* Copyright 2017 Google LLC
|
|
3897
3897
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3898
3898
|
*/
|
|
3899
|
-
const
|
|
3899
|
+
const Zi = (r, t, i) => {
|
|
3900
3900
|
const s = /* @__PURE__ */ new Map();
|
|
3901
3901
|
for (let e = t; e <= i; e++) s.set(r[e], e);
|
|
3902
3902
|
return s;
|
|
@@ -3926,34 +3926,34 @@ const Xi = (r, t, i) => {
|
|
|
3926
3926
|
else if (l[g] === n[b]) c[b] = ne(e[g], o[b]), g--, b--;
|
|
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[g] === n[v]) c[v] = ne(e[g], o[v]), Fe(r, e[d], e[g]), g--, v++;
|
|
3929
|
-
else if (h === void 0 && (h =
|
|
3929
|
+
else if (h === void 0 && (h = Zi(n, v, b), u = Zi(l, d, g)), h.has(l[d])) if (h.has(l[g])) {
|
|
3930
3930
|
const x = u.get(n[v]), C = x !== void 0 ? e[x] : null;
|
|
3931
3931
|
if (C === null) {
|
|
3932
3932
|
const E = Fe(r, e[d]);
|
|
3933
3933
|
ne(E, o[v]), c[v] = E;
|
|
3934
3934
|
} else c[v] = ne(C, o[v]), Fe(r, e[d], C), e[x] = null;
|
|
3935
3935
|
v++;
|
|
3936
|
-
} else
|
|
3937
|
-
else
|
|
3936
|
+
} else Rs(e[g]), g--;
|
|
3937
|
+
else Rs(e[d]), d++;
|
|
3938
3938
|
for (; v <= b; ) {
|
|
3939
3939
|
const x = Fe(r, c[b + 1]);
|
|
3940
3940
|
ne(x, o[v]), c[v++] = x;
|
|
3941
3941
|
}
|
|
3942
3942
|
for (; d <= g; ) {
|
|
3943
3943
|
const x = e[d++];
|
|
3944
|
-
x !== null &&
|
|
3944
|
+
x !== null && Rs(x);
|
|
3945
3945
|
}
|
|
3946
3946
|
return this.ut = n, bo(r, c), wt;
|
|
3947
3947
|
}
|
|
3948
3948
|
}), an = /* @__PURE__ */ new WeakMap();
|
|
3949
|
-
let
|
|
3950
|
-
const
|
|
3949
|
+
let Xi = 0;
|
|
3950
|
+
const Vs = /* @__PURE__ */ new Map(), Gi = /* @__PURE__ */ new WeakSet(), Qi = () => new Promise(((r) => requestAnimationFrame(r))), Ji = (r, t) => {
|
|
3951
3951
|
const i = r - t;
|
|
3952
3952
|
return i === 0 ? void 0 : i;
|
|
3953
3953
|
}, tr = (r, t) => {
|
|
3954
3954
|
const i = r / t;
|
|
3955
3955
|
return i === 1 ? void 0 : i;
|
|
3956
|
-
},
|
|
3956
|
+
}, Bs = { left: (r, t) => {
|
|
3957
3957
|
const i = Ji(r, t);
|
|
3958
3958
|
return { value: i, transform: i == null || isNaN(i) ? void 0 : `translateX(${i}px)` };
|
|
3959
3959
|
}, top: (r, t) => {
|
|
@@ -3970,7 +3970,7 @@ const Us = /* @__PURE__ */ new Map(), Gi = /* @__PURE__ */ new WeakSet(), Qi = (
|
|
|
3970
3970
|
const s = tr(r, t);
|
|
3971
3971
|
return { value: s, overrideFrom: i, transform: s == null || isNaN(s) ? void 0 : `scaleY(${s})` };
|
|
3972
3972
|
} }, ln = { duration: 333, easing: "ease-in-out" }, cn = ["left", "top", "width", "height", "opacity", "color", "background"], er = /* @__PURE__ */ new WeakMap();
|
|
3973
|
-
class hn extends
|
|
3973
|
+
class hn extends yi {
|
|
3974
3974
|
constructor(t) {
|
|
3975
3975
|
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === be.CHILD) throw Error("The `animate` directive must be used in attribute position.");
|
|
3976
3976
|
this.createFinished();
|
|
@@ -4004,7 +4004,7 @@ class hn extends vi {
|
|
|
4004
4004
|
m() {
|
|
4005
4005
|
const t = {}, i = this.element.getBoundingClientRect(), s = getComputedStyle(this.element);
|
|
4006
4006
|
return this.options.properties.forEach(((e) => {
|
|
4007
|
-
const o = i[e] ?? (
|
|
4007
|
+
const o = i[e] ?? (Bs[e] ? void 0 : s[e]), n = Number(o);
|
|
4008
4008
|
t[e] = isNaN(n) ? o + "" : n;
|
|
4009
4009
|
})), t;
|
|
4010
4010
|
}
|
|
@@ -4029,11 +4029,11 @@ class hn extends vi {
|
|
|
4029
4029
|
const { from: o, to: n } = this.N(this.A, e, i);
|
|
4030
4030
|
this.log("measured", [this.A, e, o, n]), t = this.calculateKeyframes(o, n);
|
|
4031
4031
|
} else {
|
|
4032
|
-
const o =
|
|
4032
|
+
const o = Vs.get(this.options.inId);
|
|
4033
4033
|
if (o) {
|
|
4034
|
-
|
|
4034
|
+
Vs.delete(this.options.inId);
|
|
4035
4035
|
const { from: n, to: l } = this.N(o, e, i);
|
|
4036
|
-
t = this.calculateKeyframes(n, l), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t,
|
|
4036
|
+
t = this.calculateKeyframes(n, l), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Xi++, t.forEach(((c) => c.zIndex = Xi));
|
|
4037
4037
|
} else this.options.in && (t = [...this.options.in, {}]);
|
|
4038
4038
|
}
|
|
4039
4039
|
this.animate(t, s);
|
|
@@ -4047,7 +4047,7 @@ class hn extends vi {
|
|
|
4047
4047
|
reconnected() {
|
|
4048
4048
|
}
|
|
4049
4049
|
async disconnected() {
|
|
4050
|
-
if (!this.h || (this.options.id !== void 0 &&
|
|
4050
|
+
if (!this.h || (this.options.id !== void 0 && Vs.set(this.options.id, this.A), this.options.out === void 0)) return;
|
|
4051
4051
|
if (this.prepare(), await Qi(), this.i?.isConnected) {
|
|
4052
4052
|
const i = this.o && this.o.parentNode === this.i ? this.o : null;
|
|
4053
4053
|
if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
|
|
@@ -4101,8 +4101,8 @@ class hn extends vi {
|
|
|
4101
4101
|
const l = {};
|
|
4102
4102
|
for (const c in i) {
|
|
4103
4103
|
const h = t[c], u = i[c];
|
|
4104
|
-
if (c in
|
|
4105
|
-
const d =
|
|
4104
|
+
if (c in Bs) {
|
|
4105
|
+
const d = Bs[c];
|
|
4106
4106
|
if (h === void 0 || u === void 0) continue;
|
|
4107
4107
|
const g = d(h, u);
|
|
4108
4108
|
g.transform !== void 0 && (l[c] = g.value, n = !0, e.transform = `${e.transform ?? ""} ${g.transform}`, g.overrideFrom !== void 0 && Object.assign(e, g.overrideFrom));
|
|
@@ -4170,7 +4170,7 @@ const dn = ee(hn), pn = { cancel: `<svg width="24" height="24" stroke-width="1.5
|
|
|
4170
4170
|
</svg>
|
|
4171
4171
|
` }, un = {
|
|
4172
4172
|
core: pn
|
|
4173
|
-
},
|
|
4173
|
+
}, ps = /* @__PURE__ */ new Map(), ys = {
|
|
4174
4174
|
heroicons: {
|
|
4175
4175
|
url: "https://cdn.jsdelivr.net/npm/heroicons@2.0.4/24/$prefix/$name.svg",
|
|
4176
4176
|
defaultPrefix: "outline"
|
|
@@ -4196,7 +4196,7 @@ const dn = ee(hn), pn = { cancel: `<svg width="24" height="24" stroke-width="1.5
|
|
|
4196
4196
|
};
|
|
4197
4197
|
let sr = !1;
|
|
4198
4198
|
function fn() {
|
|
4199
|
-
sr || (sr = !0,
|
|
4199
|
+
sr || (sr = !0, ys.custom.url = document.querySelector("[customIconLibraryPath]")?.getAttribute("customIconLibraryPath") || "", ys.custom.defaultPrefix = document.querySelector("[customIconDefaultPrefix]")?.getAttribute("customIconDefaultPrefix") || "");
|
|
4200
4200
|
}
|
|
4201
4201
|
const ir = sessionStorage.getItem("sonicIconsCache"), Vt = ir ? JSON.parse(ir) : { icons: {}, names: [] }, mn = 100, Ni = class Ni {
|
|
4202
4202
|
};
|
|
@@ -4205,8 +4205,8 @@ Ni.default = {
|
|
|
4205
4205
|
const i = t.library;
|
|
4206
4206
|
if (!t.name) return "";
|
|
4207
4207
|
const s = t.name, e = un;
|
|
4208
|
-
if (i == "custom" && fn(), i && i in
|
|
4209
|
-
const o =
|
|
4208
|
+
if (i == "custom" && fn(), i && i in ys) {
|
|
4209
|
+
const o = ys[i], n = t.prefix || o.defaultPrefix || "", l = e[i] || {};
|
|
4210
4210
|
e[i] = l;
|
|
4211
4211
|
const c = n + "-" + s;
|
|
4212
4212
|
if (l[c]) return z(l[c]);
|
|
@@ -4217,7 +4217,7 @@ Ni.default = {
|
|
|
4217
4217
|
return l[c] = d, z(d);
|
|
4218
4218
|
delete Vt.icons[h];
|
|
4219
4219
|
}
|
|
4220
|
-
if (!
|
|
4220
|
+
if (!ps.has(h)) {
|
|
4221
4221
|
const d = new Promise(async (g) => {
|
|
4222
4222
|
try {
|
|
4223
4223
|
const v = await fetch(h);
|
|
@@ -4240,10 +4240,10 @@ Ni.default = {
|
|
|
4240
4240
|
Oo(), g("");
|
|
4241
4241
|
}
|
|
4242
4242
|
});
|
|
4243
|
-
|
|
4243
|
+
ps.set(h, d);
|
|
4244
4244
|
}
|
|
4245
|
-
const u = await
|
|
4246
|
-
if (
|
|
4245
|
+
const u = await ps.get(h);
|
|
4246
|
+
if (ps.delete(h), l[c] = u || "", u && /^\s*<svg[\s>]/i.test(u) && (Vt.icons[h] = u, Vt.names.push(h)), Vt.names.length > mn) {
|
|
4247
4247
|
const d = Vt.names.shift();
|
|
4248
4248
|
delete Vt.icons[d];
|
|
4249
4249
|
}
|
|
@@ -4252,8 +4252,8 @@ Ni.default = {
|
|
|
4252
4252
|
return z(e.core[t.name] || "");
|
|
4253
4253
|
}
|
|
4254
4254
|
};
|
|
4255
|
-
let
|
|
4256
|
-
var gn = Object.defineProperty, bn = Object.getOwnPropertyDescriptor,
|
|
4255
|
+
let Ys = Ni;
|
|
4256
|
+
var gn = Object.defineProperty, bn = Object.getOwnPropertyDescriptor, es = (r, t, i, s) => {
|
|
4257
4257
|
for (var e = s > 1 ? void 0 : s ? bn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
4258
4258
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
4259
4259
|
return s && e && gn(t, i, e), e;
|
|
@@ -4264,7 +4264,7 @@ let de = class extends w {
|
|
|
4264
4264
|
super(...arguments), this.iconText = "", this.name = "", this.prefix = "", this.library = "";
|
|
4265
4265
|
}
|
|
4266
4266
|
async updateIcon() {
|
|
4267
|
-
this.iconText = await
|
|
4267
|
+
this.iconText = await Ys.default.get({
|
|
4268
4268
|
name: this.name,
|
|
4269
4269
|
prefix: this.prefix,
|
|
4270
4270
|
library: this.library
|
|
@@ -4331,22 +4331,22 @@ de.styles = P`
|
|
|
4331
4331
|
--_sc-icon-size: 2.8em;
|
|
4332
4332
|
}
|
|
4333
4333
|
`;
|
|
4334
|
-
|
|
4334
|
+
es([
|
|
4335
4335
|
L()
|
|
4336
4336
|
], de.prototype, "iconText", 2);
|
|
4337
|
-
|
|
4337
|
+
es([
|
|
4338
4338
|
a({ type: String })
|
|
4339
4339
|
], de.prototype, "name", 2);
|
|
4340
|
-
|
|
4340
|
+
es([
|
|
4341
4341
|
a({ type: String })
|
|
4342
4342
|
], de.prototype, "prefix", 2);
|
|
4343
|
-
|
|
4343
|
+
es([
|
|
4344
4344
|
a({ type: String })
|
|
4345
4345
|
], de.prototype, "library", 2);
|
|
4346
|
-
de =
|
|
4346
|
+
de = es([
|
|
4347
4347
|
_(vn)
|
|
4348
4348
|
], de);
|
|
4349
|
-
const
|
|
4349
|
+
const ss = P`
|
|
4350
4350
|
.custom-scroll {
|
|
4351
4351
|
overflow: auto !important;
|
|
4352
4352
|
overflow-y: overlay !important;
|
|
@@ -4423,7 +4423,7 @@ let _t = class extends w {
|
|
|
4423
4423
|
</div>` : S;
|
|
4424
4424
|
}
|
|
4425
4425
|
hide() {
|
|
4426
|
-
if (
|
|
4426
|
+
if (Zt.getClosestElement(this, "sonic-toast") || (this.visible = !1), this.dismissForever) {
|
|
4427
4427
|
const r = localStorage.getItem("sonic-toast-dismissed") || "{}", t = JSON.parse(r);
|
|
4428
4428
|
t[this.id] = !0, localStorage.setItem(
|
|
4429
4429
|
"sonic-toast-dismissed",
|
|
@@ -4442,7 +4442,7 @@ let _t = class extends w {
|
|
|
4442
4442
|
}
|
|
4443
4443
|
};
|
|
4444
4444
|
_t.styles = [
|
|
4445
|
-
|
|
4445
|
+
ss,
|
|
4446
4446
|
P`
|
|
4447
4447
|
* {
|
|
4448
4448
|
box-sizing: border-box;
|
|
@@ -4791,7 +4791,7 @@ const Pn = P`
|
|
|
4791
4791
|
}
|
|
4792
4792
|
}
|
|
4793
4793
|
`;
|
|
4794
|
-
var Sn = Object.defineProperty, An = Object.getOwnPropertyDescriptor,
|
|
4794
|
+
var Sn = Object.defineProperty, An = Object.getOwnPropertyDescriptor, is = (r, t, i, s) => {
|
|
4795
4795
|
for (var e = s > 1 ? void 0 : s ? An(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
4796
4796
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
4797
4797
|
return s && e && Sn(t, i, e), e;
|
|
@@ -4897,19 +4897,19 @@ yt.styles = [
|
|
|
4897
4897
|
}
|
|
4898
4898
|
`
|
|
4899
4899
|
];
|
|
4900
|
-
|
|
4900
|
+
is([
|
|
4901
4901
|
a({ type: String, reflect: !0 })
|
|
4902
4902
|
], yt.prototype, "theme", 2);
|
|
4903
|
-
|
|
4903
|
+
is([
|
|
4904
4904
|
a({ type: Boolean, reflect: !0 })
|
|
4905
4905
|
], yt.prototype, "background", 2);
|
|
4906
|
-
|
|
4906
|
+
is([
|
|
4907
4907
|
a({ type: Boolean, reflect: !0 })
|
|
4908
4908
|
], yt.prototype, "color", 2);
|
|
4909
|
-
|
|
4909
|
+
is([
|
|
4910
4910
|
a({ type: Boolean, reflect: !0 })
|
|
4911
4911
|
], yt.prototype, "font", 2);
|
|
4912
|
-
yt =
|
|
4912
|
+
yt = is([
|
|
4913
4913
|
_(kn)
|
|
4914
4914
|
], yt);
|
|
4915
4915
|
var On = Object.defineProperty, Dn = Object.getOwnPropertyDescriptor, Pr = (r, t, i, s) => {
|
|
@@ -4943,7 +4943,7 @@ let O = class extends w {
|
|
|
4943
4943
|
zIndex: "10000",
|
|
4944
4944
|
maxWidth: "64ch",
|
|
4945
4945
|
flexDirection: "column-reverse"
|
|
4946
|
-
}), O.handleExistingToastDelegation(), this.toasts ? m`<div aria-live="polite" style=${
|
|
4946
|
+
}), O.handleExistingToastDelegation(), this.toasts ? m`<div aria-live="polite" style=${ut(i)}>
|
|
4947
4947
|
${Ls(
|
|
4948
4948
|
this.toasts,
|
|
4949
4949
|
(s) => s.id,
|
|
@@ -5082,7 +5082,7 @@ Pr([
|
|
|
5082
5082
|
O = Pr([
|
|
5083
5083
|
_(Ln)
|
|
5084
5084
|
], O);
|
|
5085
|
-
typeof window < "u" && (window[
|
|
5085
|
+
typeof window < "u" && (window[ms + "Toast"] = window[ms + "Toast"] || O);
|
|
5086
5086
|
function En() {
|
|
5087
5087
|
const r = (i) => {
|
|
5088
5088
|
i.data.type == "querySonicToastAvailability" && i.source.postMessage({ type: "sonicToastAvailable" }, "*"), i.data.type == "removeItemsByStatus" && O.removeItemsByStatus(i.data.status), i.data.type == "removeTemporaryItems" && O.removeTemporaryItems(), i.data.type == "sonicToastAvailable" && (O.delegateToasts = !0, O.handleExistingToastDelegation()), i.data.type == "addToasts" && (O.getInstance().toasts = [
|
|
@@ -5103,18 +5103,18 @@ var Nn = Object.defineProperty, Tn = Object.getOwnPropertyDescriptor, Re = (r, t
|
|
|
5103
5103
|
const Mn = /* @__PURE__ */ new Set(), In = /* @__PURE__ */ new Set(), jn = (r) => {
|
|
5104
5104
|
for (const t of In)
|
|
5105
5105
|
t(r);
|
|
5106
|
-
},
|
|
5107
|
-
let
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
const r =
|
|
5106
|
+
}, Zs = /* @__PURE__ */ new Set();
|
|
5107
|
+
let qs = 0;
|
|
5108
|
+
di(async () => {
|
|
5109
|
+
qs++;
|
|
5110
|
+
const r = qs, t = Array.from(Zs);
|
|
5111
5111
|
for (; t.length > 0; ) {
|
|
5112
|
-
if (r !=
|
|
5112
|
+
if (r != qs) return;
|
|
5113
5113
|
const i = t.splice(0, 4);
|
|
5114
5114
|
await Promise.all(i.map((s) => s._fetchData()));
|
|
5115
5115
|
}
|
|
5116
5116
|
});
|
|
5117
|
-
const
|
|
5117
|
+
const xi = (r, t) => {
|
|
5118
5118
|
class i extends r {
|
|
5119
5119
|
constructor(...e) {
|
|
5120
5120
|
super(), this.api = null, this.key = "", this.isFirstLoad = !0, this.isLoading = !1, this.iObserver = null, this.isFetchEnabled = !0, this.fetchedData = null, this._endPoint = "", this.noErrorsRecordings = !1, this.requestId = 0, this.refetchEveryMs = 0, this.dataProvider = "";
|
|
@@ -5172,10 +5172,10 @@ const _i = (r, t) => {
|
|
|
5172
5172
|
}
|
|
5173
5173
|
}
|
|
5174
5174
|
disconnectedCallback() {
|
|
5175
|
-
super.disconnectedCallback(),
|
|
5175
|
+
super.disconnectedCallback(), Zs.delete(this), this.publisher?.offInvalidate(this.onInvalidate), clearTimeout(this.refetchTimeOutId), this.isFirstLoad = !1;
|
|
5176
5176
|
}
|
|
5177
5177
|
connectedCallback() {
|
|
5178
|
-
this.lazyLoad = this.lazyLoad !== void 0 ? this.lazyLoad : this.hasAttribute("lazyload"),
|
|
5178
|
+
this.lazyLoad = this.lazyLoad !== void 0 ? this.lazyLoad : this.hasAttribute("lazyload"), Zs.add(this), super.connectedCallback(), this.isFetchEnabled && (this.key = this.key != "" ? this.key : this.getAttribute("key"), this.props && this.publisher.set(this.props), this.onInvalidate = () => this._fetchData(), this.publisher?.onInvalidate(this.onInvalidate), this.lazyLoad ? this.handleLazyLoad() : this._fetchData());
|
|
5179
5179
|
}
|
|
5180
5180
|
handleLazyLoad() {
|
|
5181
5181
|
if (!this.lazyLoad)
|
|
@@ -5276,7 +5276,7 @@ const Es = (r) => {
|
|
|
5276
5276
|
], t.prototype, "tabindex", 2), ae([
|
|
5277
5277
|
a({ type: String })
|
|
5278
5278
|
], t.prototype, "autocomplete", 2), t;
|
|
5279
|
-
}, $r =
|
|
5279
|
+
}, $r = xi, Rn = _i, Cr = Le, Sr = Es, se = G, Pi = Je;
|
|
5280
5280
|
window["concorde-mixins"] = window["concorde-mixins"] || {};
|
|
5281
5281
|
window["concorde-mixins"] = {
|
|
5282
5282
|
Fetcher: $r,
|
|
@@ -5284,7 +5284,7 @@ window["concorde-mixins"] = {
|
|
|
5284
5284
|
FormElement: Cr,
|
|
5285
5285
|
FormInput: Sr,
|
|
5286
5286
|
Subscriber: se,
|
|
5287
|
-
TemplatesContainer:
|
|
5287
|
+
TemplatesContainer: Pi
|
|
5288
5288
|
};
|
|
5289
5289
|
/**
|
|
5290
5290
|
* @license
|
|
@@ -5305,7 +5305,7 @@ var Un = Object.defineProperty, Vn = Object.getOwnPropertyDescriptor, Ar = (r, t
|
|
|
5305
5305
|
return s && e && Un(t, i, e), e;
|
|
5306
5306
|
};
|
|
5307
5307
|
const Bn = "sonic-fetch";
|
|
5308
|
-
let
|
|
5308
|
+
let ws = class extends xi(G(Pi(w))) {
|
|
5309
5309
|
renderLoader() {
|
|
5310
5310
|
if (!(this.isLoading && this.loader !== void 0)) return S;
|
|
5311
5311
|
const r = this.loader === !0 || this.loader === "" ? "fixed" : this.loader;
|
|
@@ -5322,7 +5322,7 @@ let ys = class extends _i(Z(xi(w))) {
|
|
|
5322
5322
|
`;
|
|
5323
5323
|
}
|
|
5324
5324
|
};
|
|
5325
|
-
|
|
5325
|
+
ws.styles = [
|
|
5326
5326
|
P`
|
|
5327
5327
|
:host {
|
|
5328
5328
|
display: contents;
|
|
@@ -5331,17 +5331,17 @@ ys.styles = [
|
|
|
5331
5331
|
];
|
|
5332
5332
|
Ar([
|
|
5333
5333
|
a()
|
|
5334
|
-
],
|
|
5335
|
-
|
|
5334
|
+
], ws.prototype, "loader", 2);
|
|
5335
|
+
ws = Ar([
|
|
5336
5336
|
_(Bn)
|
|
5337
|
-
],
|
|
5337
|
+
], ws);
|
|
5338
5338
|
var qn = Object.defineProperty, Hn = Object.getOwnPropertyDescriptor, kr = (r, t, i, s) => {
|
|
5339
5339
|
for (var e = s > 1 ? void 0 : s ? Hn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5340
5340
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
5341
5341
|
return s && e && qn(t, i, e), e;
|
|
5342
5342
|
};
|
|
5343
5343
|
const Wn = "sonic-if";
|
|
5344
|
-
let
|
|
5344
|
+
let _s = class extends w {
|
|
5345
5345
|
constructor() {
|
|
5346
5346
|
super(...arguments), this.condition = !1;
|
|
5347
5347
|
}
|
|
@@ -5349,17 +5349,17 @@ let ws = class extends w {
|
|
|
5349
5349
|
return this.condition ? m` <slot></slot> ` : S;
|
|
5350
5350
|
}
|
|
5351
5351
|
};
|
|
5352
|
-
|
|
5352
|
+
_s.styles = P`
|
|
5353
5353
|
:host {
|
|
5354
5354
|
display: contents;
|
|
5355
5355
|
}
|
|
5356
5356
|
`;
|
|
5357
5357
|
kr([
|
|
5358
5358
|
a({ type: Boolean })
|
|
5359
|
-
],
|
|
5360
|
-
|
|
5359
|
+
], _s.prototype, "condition", 2);
|
|
5360
|
+
_s = kr([
|
|
5361
5361
|
_(Wn)
|
|
5362
|
-
],
|
|
5362
|
+
], _s);
|
|
5363
5363
|
const Kn = P`
|
|
5364
5364
|
:host([align="left"]) .sonic-loader--inline {
|
|
5365
5365
|
margin-left: 0;
|
|
@@ -5481,10 +5481,10 @@ const Kn = P`
|
|
|
5481
5481
|
animation: sonic-loader--fixed 1s 0s linear infinite;
|
|
5482
5482
|
}
|
|
5483
5483
|
`;
|
|
5484
|
-
var
|
|
5485
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
5484
|
+
var Zn = Object.defineProperty, Xn = Object.getOwnPropertyDescriptor, $i = (r, t, i, s) => {
|
|
5485
|
+
for (var e = s > 1 ? void 0 : s ? Xn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5486
5486
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
5487
|
-
return s && e &&
|
|
5487
|
+
return s && e && Zn(t, i, e), e;
|
|
5488
5488
|
};
|
|
5489
5489
|
const Gn = "sonic-loader";
|
|
5490
5490
|
let nt = class extends w {
|
|
@@ -5544,13 +5544,13 @@ nt.styles = [
|
|
|
5544
5544
|
`
|
|
5545
5545
|
];
|
|
5546
5546
|
nt.callCounter = 0;
|
|
5547
|
-
|
|
5547
|
+
$i([
|
|
5548
5548
|
a({ type: String })
|
|
5549
5549
|
], nt.prototype, "mode", 2);
|
|
5550
|
-
|
|
5550
|
+
$i([
|
|
5551
5551
|
a({ type: Boolean })
|
|
5552
5552
|
], nt.prototype, "noDelay", 2);
|
|
5553
|
-
nt =
|
|
5553
|
+
nt = $i([
|
|
5554
5554
|
_(Gn)
|
|
5555
5555
|
], nt);
|
|
5556
5556
|
var Qn = Object.getOwnPropertyDescriptor, Jn = (r, t, i, s) => {
|
|
@@ -5559,7 +5559,7 @@ var Qn = Object.getOwnPropertyDescriptor, Jn = (r, t, i, s) => {
|
|
|
5559
5559
|
return e;
|
|
5560
5560
|
};
|
|
5561
5561
|
const ta = "sonic-subscriber";
|
|
5562
|
-
let or = class extends
|
|
5562
|
+
let or = class extends G(w) {
|
|
5563
5563
|
constructor() {
|
|
5564
5564
|
super(...arguments), this.noAutofill = !0;
|
|
5565
5565
|
}
|
|
@@ -5582,7 +5582,7 @@ var ea = Object.defineProperty, sa = Object.getOwnPropertyDescriptor, kt = (r, t
|
|
|
5582
5582
|
return s && e && ea(t, i, e), e;
|
|
5583
5583
|
};
|
|
5584
5584
|
const ia = "sonic-list";
|
|
5585
|
-
let xt = class extends
|
|
5585
|
+
let xt = class extends xi(G(Je(w))) {
|
|
5586
5586
|
constructor() {
|
|
5587
5587
|
super(...arguments), this.templateKey = "template", this.idKey = "id", this.limit = Number.POSITIVE_INFINITY, this.offset = 0, this.loadingSize = { width: 0, height: 0 };
|
|
5588
5588
|
}
|
|
@@ -5793,7 +5793,7 @@ var ra = Object.defineProperty, oa = Object.getOwnPropertyDescriptor, rt = (r, t
|
|
|
5793
5793
|
return s && e && ra(t, i, e), e;
|
|
5794
5794
|
};
|
|
5795
5795
|
const na = "sonic-queue";
|
|
5796
|
-
let X = class extends
|
|
5796
|
+
let X = class extends G(w) {
|
|
5797
5797
|
constructor() {
|
|
5798
5798
|
super(...arguments), this.templates = null, this.items = null, this.noItems = null, this.skeleton = null, this.lastRequestTime = 0, this.key = "", this.itemPropertyMap = null, this.cache = "default", this.targetRequestDuration = 500, this.limit = 5, this.lazyBoundsRatio = 1, this.offset = 0, this.resultCount = 0, this.noLazyload = !1, this.loader = "inline", this.filteredFields = "", this.instanceId = 0, this.localStorage = "disabled", this.filterPublisher = null, this.filterTimeoutMs = 400, this.searchHash = "", this.requestId = 0, this.isFirstRequest = !0, this.updateFilteredContent = () => {
|
|
5799
5799
|
const t = this.dataProviderExpression.split("?");
|
|
@@ -5826,7 +5826,7 @@ let X = class extends Z(w) {
|
|
|
5826
5826
|
async connectedCallback() {
|
|
5827
5827
|
this.instanceId = X.instanceCounter++, this.localStorage = this.getAttribute("localStorage") || this.localStorage, this.filterTimeoutMs = parseInt(
|
|
5828
5828
|
this.getAttribute("filterTimeoutMs") || "400"
|
|
5829
|
-
), 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 =
|
|
5829
|
+
), 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 T.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
|
|
5830
5830
|
this.querySelectorAll("template")
|
|
5831
5831
|
)), this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime(), this.configFilter();
|
|
5832
5832
|
}
|
|
@@ -5991,7 +5991,7 @@ var aa = Object.defineProperty, la = Object.getOwnPropertyDescriptor, Ee = (r, t
|
|
|
5991
5991
|
return s && e && aa(t, i, e), e;
|
|
5992
5992
|
};
|
|
5993
5993
|
const ca = "sonic-submit";
|
|
5994
|
-
let
|
|
5994
|
+
let Xt = class extends G(w) {
|
|
5995
5995
|
constructor() {
|
|
5996
5996
|
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) => {
|
|
5997
5997
|
if (this.disabled || r instanceof KeyboardEvent && r.key !== "Enter") return;
|
|
@@ -6090,7 +6090,7 @@ let Zt = class extends Z(w) {
|
|
|
6090
6090
|
this.hasAttribute("onClick") && this.addEventListener("click", this.submit), this.hasAttribute("onEnterKey") && this.addEventListener("keydown", this.submit), super.connectedCallback(), this.api = new Ce(this.getApiConfiguration());
|
|
6091
6091
|
}
|
|
6092
6092
|
submitNativeForm() {
|
|
6093
|
-
const r =
|
|
6093
|
+
const r = Zt.getClosestForm(this);
|
|
6094
6094
|
if (!r) return;
|
|
6095
6095
|
const t = this.getAncestorAttributeValue("formDataProvider"), i = { ...T.get(t).get() };
|
|
6096
6096
|
delete i.needsCaptchaValidation;
|
|
@@ -6120,7 +6120,7 @@ let Zt = class extends Z(w) {
|
|
|
6120
6120
|
return m`<div ?data-disabled=${this.disabled}><slot></slot></div>`;
|
|
6121
6121
|
}
|
|
6122
6122
|
};
|
|
6123
|
-
|
|
6123
|
+
Xt.styles = P`
|
|
6124
6124
|
[data-disabled] {
|
|
6125
6125
|
opacity: 0.3;
|
|
6126
6126
|
pointer-events: none;
|
|
@@ -6129,29 +6129,29 @@ Zt.styles = P`
|
|
|
6129
6129
|
`;
|
|
6130
6130
|
Ee([
|
|
6131
6131
|
a({ type: String })
|
|
6132
|
-
],
|
|
6132
|
+
], Xt.prototype, "submitResultKey", 2);
|
|
6133
6133
|
Ee([
|
|
6134
6134
|
a({ type: Boolean })
|
|
6135
|
-
],
|
|
6135
|
+
], Xt.prototype, "disabled", 2);
|
|
6136
6136
|
Ee([
|
|
6137
6137
|
a({ type: String })
|
|
6138
|
-
],
|
|
6138
|
+
], Xt.prototype, "endPoint", 2);
|
|
6139
6139
|
Ee([
|
|
6140
6140
|
a()
|
|
6141
|
-
],
|
|
6141
|
+
], Xt.prototype, "name", 2);
|
|
6142
6142
|
Ee([
|
|
6143
6143
|
a()
|
|
6144
|
-
],
|
|
6145
|
-
|
|
6144
|
+
], Xt.prototype, "value", 2);
|
|
6145
|
+
Xt = Ee([
|
|
6146
6146
|
_(ca)
|
|
6147
|
-
],
|
|
6148
|
-
var ha = Object.defineProperty, da = Object.getOwnPropertyDescriptor,
|
|
6147
|
+
], Xt);
|
|
6148
|
+
var ha = Object.defineProperty, da = Object.getOwnPropertyDescriptor, rs = (r, t, i, s) => {
|
|
6149
6149
|
for (var e = s > 1 ? void 0 : s ? da(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6150
6150
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6151
6151
|
return s && e && ha(t, i, e), e;
|
|
6152
6152
|
};
|
|
6153
6153
|
const pa = "sonic-router";
|
|
6154
|
-
let Se = class extends
|
|
6154
|
+
let Se = class extends Je(w) {
|
|
6155
6155
|
constructor() {
|
|
6156
6156
|
super(...arguments), this.templateValueAttribute = "data-route", this._location = document.location.href.replace(
|
|
6157
6157
|
document.location.origin,
|
|
@@ -6264,19 +6264,19 @@ let Se = class extends Qe(w) {
|
|
|
6264
6264
|
)}`;
|
|
6265
6265
|
}
|
|
6266
6266
|
};
|
|
6267
|
-
|
|
6267
|
+
rs([
|
|
6268
6268
|
a({ type: String })
|
|
6269
6269
|
], Se.prototype, "fallBackRoute", 2);
|
|
6270
|
-
|
|
6270
|
+
rs([
|
|
6271
6271
|
a({ type: Object })
|
|
6272
6272
|
], Se.prototype, "routes", 2);
|
|
6273
|
-
|
|
6273
|
+
rs([
|
|
6274
6274
|
a({ type: String })
|
|
6275
6275
|
], Se.prototype, "basePath", 2);
|
|
6276
|
-
|
|
6276
|
+
rs([
|
|
6277
6277
|
a()
|
|
6278
6278
|
], Se.prototype, "location", 1);
|
|
6279
|
-
Se =
|
|
6279
|
+
Se = rs([
|
|
6280
6280
|
_(pa)
|
|
6281
6281
|
], Se);
|
|
6282
6282
|
var ua = Object.getOwnPropertyDescriptor, fa = (r, t, i, s) => {
|
|
@@ -6285,7 +6285,7 @@ var ua = Object.getOwnPropertyDescriptor, fa = (r, t, i, s) => {
|
|
|
6285
6285
|
return e;
|
|
6286
6286
|
};
|
|
6287
6287
|
const ma = "sonic-redirect";
|
|
6288
|
-
let nr = class extends
|
|
6288
|
+
let nr = class extends G(w) {
|
|
6289
6289
|
connectedCallback() {
|
|
6290
6290
|
this.noShadowDom = "", this.style.display = "none", super.connectedCallback(), this.udpateCallBack = () => this.update(), this.publisher && this.publisher.onInternalMutation(this.udpateCallBack);
|
|
6291
6291
|
}
|
|
@@ -6311,7 +6311,7 @@ var ga = Object.defineProperty, ba = Object.getOwnPropertyDescriptor, Ns = (r, t
|
|
|
6311
6311
|
return s && e && ga(t, i, e), e;
|
|
6312
6312
|
};
|
|
6313
6313
|
const va = "sonic-states";
|
|
6314
|
-
let Ye = class extends
|
|
6314
|
+
let Ye = class extends G(Je(w)) {
|
|
6315
6315
|
constructor() {
|
|
6316
6316
|
super(...arguments), this.state = "", this.inverted = !1, this.statePath = "", this.onStateAssign = (r) => {
|
|
6317
6317
|
this.state = r, this.requestUpdate();
|
|
@@ -6434,7 +6434,7 @@ var xa = Object.defineProperty, Pa = Object.getOwnPropertyDescriptor, Dr = (r, t
|
|
|
6434
6434
|
return s && e && xa(t, i, e), e;
|
|
6435
6435
|
};
|
|
6436
6436
|
const $a = "sonic-example";
|
|
6437
|
-
let Xs = class extends
|
|
6437
|
+
let Xs = class extends G(w) {
|
|
6438
6438
|
constructor() {
|
|
6439
6439
|
super(...arguments), this.text = "Example";
|
|
6440
6440
|
}
|
|
@@ -6615,13 +6615,13 @@ class Wa {
|
|
|
6615
6615
|
}));
|
|
6616
6616
|
}
|
|
6617
6617
|
}
|
|
6618
|
-
var Ka = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor,
|
|
6618
|
+
var Ka = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, Ci = (r, t, i, s) => {
|
|
6619
6619
|
for (var e = s > 1 ? void 0 : s ? Ya(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6620
6620
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6621
6621
|
return s && e && Ka(t, i, e), e;
|
|
6622
6622
|
};
|
|
6623
|
-
const
|
|
6624
|
-
let
|
|
6623
|
+
const Za = "sonic-sdui";
|
|
6624
|
+
let xs = class extends $r(se(w)) {
|
|
6625
6625
|
constructor() {
|
|
6626
6626
|
super(...arguments), this.sduiDescriptor = {};
|
|
6627
6627
|
}
|
|
@@ -6662,9 +6662,9 @@ let _s = class extends $r(se(w)) {
|
|
|
6662
6662
|
loadAssets() {
|
|
6663
6663
|
if (this.sduiDescriptor) {
|
|
6664
6664
|
if (this.sduiDescriptor.js)
|
|
6665
|
-
for (const r of this.sduiDescriptor.js)
|
|
6665
|
+
for (const r of this.sduiDescriptor.js) Zt.loadJS(r);
|
|
6666
6666
|
if (this.sduiDescriptor.css)
|
|
6667
|
-
for (const r of this.sduiDescriptor.css)
|
|
6667
|
+
for (const r of this.sduiDescriptor.css) Zt.loadCSS(r);
|
|
6668
6668
|
}
|
|
6669
6669
|
}
|
|
6670
6670
|
/**
|
|
@@ -6745,7 +6745,7 @@ let _s = class extends $r(se(w)) {
|
|
|
6745
6745
|
handleAttributes(r, t) {
|
|
6746
6746
|
const i = r.attributes;
|
|
6747
6747
|
for (const s in i) {
|
|
6748
|
-
const e = i[s], o =
|
|
6748
|
+
const e = i[s], o = ts.isObject(e) ? JSON.stringify(e) : e;
|
|
6749
6749
|
t.setAttribute(s, o);
|
|
6750
6750
|
}
|
|
6751
6751
|
}
|
|
@@ -6768,21 +6768,21 @@ let _s = class extends $r(se(w)) {
|
|
|
6768
6768
|
} else t && (t.innerHTML += r.innerHTML);
|
|
6769
6769
|
}
|
|
6770
6770
|
};
|
|
6771
|
-
|
|
6771
|
+
Ci([
|
|
6772
6772
|
a()
|
|
6773
|
-
],
|
|
6774
|
-
|
|
6773
|
+
], xs.prototype, "sduiKey", 2);
|
|
6774
|
+
Ci([
|
|
6775
6775
|
a()
|
|
6776
|
-
],
|
|
6777
|
-
|
|
6778
|
-
_(
|
|
6779
|
-
],
|
|
6780
|
-
var
|
|
6776
|
+
], xs.prototype, "messagesKey", 2);
|
|
6777
|
+
xs = Ci([
|
|
6778
|
+
_(Za)
|
|
6779
|
+
], xs);
|
|
6780
|
+
var Xa = Object.defineProperty, Ga = Object.getOwnPropertyDescriptor, Lr = (r, t, i, s) => {
|
|
6781
6781
|
for (var e = s > 1 ? void 0 : s ? Ga(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6782
6782
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6783
|
-
return s && e &&
|
|
6783
|
+
return s && e && Xa(t, i, e), e;
|
|
6784
6784
|
};
|
|
6785
|
-
let
|
|
6785
|
+
let Ps = class extends se(w) {
|
|
6786
6786
|
constructor() {
|
|
6787
6787
|
super(...arguments), this._composition = {}, this.listeners = [];
|
|
6788
6788
|
}
|
|
@@ -6815,7 +6815,7 @@ let xs = class extends se(w) {
|
|
|
6815
6815
|
const e = s.split("."), o = e.shift();
|
|
6816
6816
|
if (!o) continue;
|
|
6817
6817
|
let n = st.get(o);
|
|
6818
|
-
n =
|
|
6818
|
+
n = ts.traverse(n, e);
|
|
6819
6819
|
const l = {
|
|
6820
6820
|
publisher: n,
|
|
6821
6821
|
subscriber: (c) => {
|
|
@@ -6825,7 +6825,7 @@ let xs = class extends se(w) {
|
|
|
6825
6825
|
this.listeners.push(l), n.onAssign(l.subscriber), t._proxies_.set(i, n);
|
|
6826
6826
|
} else {
|
|
6827
6827
|
this.publisher[i] = {};
|
|
6828
|
-
const e = new
|
|
6828
|
+
const e = new pi({}, t);
|
|
6829
6829
|
t._proxies_.set(i, e);
|
|
6830
6830
|
const o = {
|
|
6831
6831
|
publisher: e,
|
|
@@ -6841,7 +6841,7 @@ let xs = class extends se(w) {
|
|
|
6841
6841
|
return m`<slot></slot>`;
|
|
6842
6842
|
}
|
|
6843
6843
|
};
|
|
6844
|
-
|
|
6844
|
+
Ps.styles = [
|
|
6845
6845
|
P`
|
|
6846
6846
|
:host {
|
|
6847
6847
|
display: contents;
|
|
@@ -6850,10 +6850,10 @@ xs.styles = [
|
|
|
6850
6850
|
];
|
|
6851
6851
|
Lr([
|
|
6852
6852
|
a({ type: Object })
|
|
6853
|
-
],
|
|
6854
|
-
|
|
6853
|
+
], Ps.prototype, "composition", 1);
|
|
6854
|
+
Ps = Lr([
|
|
6855
6855
|
_("sonic-mix")
|
|
6856
|
-
],
|
|
6856
|
+
], Ps);
|
|
6857
6857
|
var Qa = Object.getOwnPropertyDescriptor, Ja = (r, t, i, s) => {
|
|
6858
6858
|
for (var e = s > 1 ? void 0 : s ? Qa(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6859
6859
|
(n = r[o]) && (e = n(e) || e);
|
|
@@ -6872,27 +6872,27 @@ let lr = class extends se(w) {
|
|
|
6872
6872
|
lr = Ja([
|
|
6873
6873
|
_(tl)
|
|
6874
6874
|
], lr);
|
|
6875
|
-
var el = Object.defineProperty, sl = Object.getOwnPropertyDescriptor,
|
|
6875
|
+
var el = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, Si = (r, t, i, s) => {
|
|
6876
6876
|
for (var e = s > 1 ? void 0 : s ? sl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6877
6877
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6878
6878
|
return s && e && el(t, i, e), e;
|
|
6879
6879
|
};
|
|
6880
6880
|
const il = "sonic-t";
|
|
6881
|
-
let
|
|
6881
|
+
let $s = class extends w {
|
|
6882
6882
|
render() {
|
|
6883
6883
|
return this.key ? m`${Lo(this.key, this.unsafeHTML)}` : S;
|
|
6884
6884
|
}
|
|
6885
6885
|
};
|
|
6886
|
-
|
|
6886
|
+
Si([
|
|
6887
6887
|
a({ type: String })
|
|
6888
|
-
],
|
|
6889
|
-
|
|
6888
|
+
], $s.prototype, "key", 2);
|
|
6889
|
+
Si([
|
|
6890
6890
|
a({ type: Boolean })
|
|
6891
|
-
],
|
|
6892
|
-
|
|
6891
|
+
], $s.prototype, "unsafeHTML", 2);
|
|
6892
|
+
$s = Si([
|
|
6893
6893
|
_(il)
|
|
6894
|
-
],
|
|
6895
|
-
var rl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor,
|
|
6894
|
+
], $s);
|
|
6895
|
+
var rl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, os = (r, t, i, s) => {
|
|
6896
6896
|
for (var e = s > 1 ? void 0 : s ? ol(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6897
6897
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6898
6898
|
return s && e && rl(t, i, e), e;
|
|
@@ -7054,19 +7054,19 @@ pe.styles = [
|
|
|
7054
7054
|
}
|
|
7055
7055
|
`
|
|
7056
7056
|
];
|
|
7057
|
-
|
|
7057
|
+
os([
|
|
7058
7058
|
a({ type: String, reflect: !0 })
|
|
7059
7059
|
], pe.prototype, "type", 2);
|
|
7060
|
-
|
|
7060
|
+
os([
|
|
7061
7061
|
a({ type: String, reflect: !0 })
|
|
7062
7062
|
], pe.prototype, "variant", 2);
|
|
7063
|
-
|
|
7063
|
+
os([
|
|
7064
7064
|
a({ type: String, reflect: !0 })
|
|
7065
7065
|
], pe.prototype, "size", 2);
|
|
7066
|
-
|
|
7066
|
+
os([
|
|
7067
7067
|
a({ type: Boolean, reflect: !0 })
|
|
7068
7068
|
], pe.prototype, "ellipsis", 2);
|
|
7069
|
-
pe =
|
|
7069
|
+
pe = os([
|
|
7070
7070
|
_(nl)
|
|
7071
7071
|
], pe);
|
|
7072
7072
|
class al {
|
|
@@ -7342,7 +7342,7 @@ const fl = P`
|
|
|
7342
7342
|
margin-top: 0.2em;
|
|
7343
7343
|
display: block;
|
|
7344
7344
|
}
|
|
7345
|
-
`,
|
|
7345
|
+
`, Ai = P`
|
|
7346
7346
|
* {
|
|
7347
7347
|
box-sizing: border-box;
|
|
7348
7348
|
}
|
|
@@ -7703,7 +7703,7 @@ const fl = P`
|
|
|
7703
7703
|
* Copyright 2018 Google LLC
|
|
7704
7704
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7705
7705
|
*/
|
|
7706
|
-
const
|
|
7706
|
+
const ki = ee(class extends De {
|
|
7707
7707
|
constructor(r) {
|
|
7708
7708
|
if (super(r), r.type !== be.ATTRIBUTE || r.name !== "class" || r.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
7709
7709
|
}
|
|
@@ -7731,7 +7731,7 @@ var ml = Object.defineProperty, gl = Object.getOwnPropertyDescriptor, U = (r, t,
|
|
|
7731
7731
|
return s && e && ml(t, i, e), e;
|
|
7732
7732
|
};
|
|
7733
7733
|
const bl = "sonic-input";
|
|
7734
|
-
let j = class extends Es(Le(
|
|
7734
|
+
let j = class extends Es(Le(G(w))) {
|
|
7735
7735
|
constructor() {
|
|
7736
7736
|
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;
|
|
7737
7737
|
}
|
|
@@ -7823,7 +7823,7 @@ let j = class extends Es(Le(Z(w))) {
|
|
|
7823
7823
|
></slot
|
|
7824
7824
|
></label>
|
|
7825
7825
|
|
|
7826
|
-
<div @click=${this.inlineContentFocus} class="form-control ${
|
|
7826
|
+
<div @click=${this.inlineContentFocus} class="form-control ${ki(
|
|
7827
7827
|
r
|
|
7828
7828
|
)}">
|
|
7829
7829
|
<div part="content" class="${this.inlineContent ? "form-element form-element-wrapper" : "contents"}">
|
|
@@ -7887,7 +7887,7 @@ let j = class extends Es(Le(Z(w))) {
|
|
|
7887
7887
|
};
|
|
7888
7888
|
j.styles = [
|
|
7889
7889
|
Mt,
|
|
7890
|
-
|
|
7890
|
+
Ai,
|
|
7891
7891
|
Ts,
|
|
7892
7892
|
Ms,
|
|
7893
7893
|
fl,
|
|
@@ -8256,12 +8256,12 @@ class Nr {
|
|
|
8256
8256
|
this.u.disconnect();
|
|
8257
8257
|
}
|
|
8258
8258
|
}
|
|
8259
|
-
var $l = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor,
|
|
8259
|
+
var $l = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, mt = (r, t, i, s) => {
|
|
8260
8260
|
for (var e = s > 1 ? void 0 : s ? Cl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8261
8261
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8262
8262
|
return s && e && $l(t, i, e), e;
|
|
8263
8263
|
};
|
|
8264
|
-
let at = class extends
|
|
8264
|
+
let at = class extends Pi(
|
|
8265
8265
|
Sr(Cr(se(w)))
|
|
8266
8266
|
) {
|
|
8267
8267
|
constructor() {
|
|
@@ -8424,7 +8424,7 @@ let at = class extends xi(
|
|
|
8424
8424
|
}
|
|
8425
8425
|
};
|
|
8426
8426
|
at.styles = [
|
|
8427
|
-
|
|
8427
|
+
ss,
|
|
8428
8428
|
P`
|
|
8429
8429
|
:host {
|
|
8430
8430
|
display: block;
|
|
@@ -8448,52 +8448,52 @@ at.styles = [
|
|
|
8448
8448
|
}
|
|
8449
8449
|
`
|
|
8450
8450
|
];
|
|
8451
|
-
|
|
8451
|
+
mt([
|
|
8452
8452
|
a({ type: String })
|
|
8453
8453
|
], at.prototype, "size", 2);
|
|
8454
|
-
|
|
8454
|
+
mt([
|
|
8455
8455
|
a({ type: String })
|
|
8456
8456
|
], at.prototype, "placeholder", 2);
|
|
8457
|
-
|
|
8457
|
+
mt([
|
|
8458
8458
|
a()
|
|
8459
8459
|
], at.prototype, "filteredFields", 2);
|
|
8460
|
-
|
|
8460
|
+
mt([
|
|
8461
8461
|
a({ type: Boolean, reflect: !0 })
|
|
8462
8462
|
], at.prototype, "readonly", 2);
|
|
8463
|
-
|
|
8463
|
+
mt([
|
|
8464
8464
|
a({ type: String })
|
|
8465
8465
|
], at.prototype, "dataProviderExpression", 2);
|
|
8466
|
-
|
|
8466
|
+
mt([
|
|
8467
8467
|
a({ type: Number })
|
|
8468
8468
|
], at.prototype, "minSearchLength", 2);
|
|
8469
|
-
|
|
8469
|
+
mt([
|
|
8470
8470
|
a({ type: Boolean })
|
|
8471
8471
|
], at.prototype, "select", 2);
|
|
8472
|
-
|
|
8472
|
+
mt([
|
|
8473
8473
|
a({ type: String })
|
|
8474
8474
|
], at.prototype, "key", 2);
|
|
8475
|
-
|
|
8475
|
+
mt([
|
|
8476
8476
|
a({ type: String })
|
|
8477
8477
|
], at.prototype, "searchParameter", 2);
|
|
8478
|
-
|
|
8478
|
+
mt([
|
|
8479
8479
|
a({ type: String })
|
|
8480
8480
|
], at.prototype, "propertyName", 2);
|
|
8481
|
-
|
|
8481
|
+
mt([
|
|
8482
8482
|
dt({ slot: "prefix", flatten: !0 })
|
|
8483
8483
|
], at.prototype, "slotInputPrefixNodes", 2);
|
|
8484
|
-
|
|
8484
|
+
mt([
|
|
8485
8485
|
L()
|
|
8486
8486
|
], at.prototype, "hasInputPrefix", 2);
|
|
8487
|
-
|
|
8487
|
+
mt([
|
|
8488
8488
|
L()
|
|
8489
8489
|
], at.prototype, "isPopVisible", 2);
|
|
8490
|
-
|
|
8490
|
+
mt([
|
|
8491
8491
|
L()
|
|
8492
8492
|
], at.prototype, "lastValidSearch", 2);
|
|
8493
|
-
at =
|
|
8493
|
+
at = mt([
|
|
8494
8494
|
_("sonic-input-autocomplete")
|
|
8495
8495
|
], at);
|
|
8496
|
-
var Sl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor,
|
|
8496
|
+
var Sl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, gt = (r, t, i, s) => {
|
|
8497
8497
|
for (var e = s > 1 ? void 0 : s ? Al(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8498
8498
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8499
8499
|
return s && e && Sl(t, i, e), e;
|
|
@@ -8539,49 +8539,49 @@ let lt = class extends se(w) {
|
|
|
8539
8539
|
`;
|
|
8540
8540
|
}
|
|
8541
8541
|
};
|
|
8542
|
-
|
|
8542
|
+
gt([
|
|
8543
8543
|
a()
|
|
8544
8544
|
], lt.prototype, "name", 2);
|
|
8545
|
-
|
|
8545
|
+
gt([
|
|
8546
8546
|
a()
|
|
8547
8547
|
], lt.prototype, "minChars", 2);
|
|
8548
|
-
|
|
8548
|
+
gt([
|
|
8549
8549
|
L()
|
|
8550
8550
|
], lt.prototype, "hasNoChar", 2);
|
|
8551
|
-
|
|
8551
|
+
gt([
|
|
8552
8552
|
L()
|
|
8553
8553
|
], lt.prototype, "hasEnoughChars", 2);
|
|
8554
|
-
|
|
8554
|
+
gt([
|
|
8555
8555
|
L()
|
|
8556
8556
|
], lt.prototype, "hasMinuscule", 2);
|
|
8557
|
-
|
|
8557
|
+
gt([
|
|
8558
8558
|
L()
|
|
8559
8559
|
], lt.prototype, "hasMajuscule", 2);
|
|
8560
|
-
|
|
8560
|
+
gt([
|
|
8561
8561
|
L()
|
|
8562
8562
|
], lt.prototype, "hasNumber", 2);
|
|
8563
|
-
|
|
8563
|
+
gt([
|
|
8564
8564
|
L()
|
|
8565
8565
|
], lt.prototype, "hasSpecialChar", 2);
|
|
8566
|
-
|
|
8566
|
+
gt([
|
|
8567
8567
|
a()
|
|
8568
8568
|
], lt.prototype, "wording_password_helper_decription", 2);
|
|
8569
|
-
|
|
8569
|
+
gt([
|
|
8570
8570
|
a()
|
|
8571
8571
|
], lt.prototype, "wording_password_helper_min_length", 2);
|
|
8572
|
-
|
|
8572
|
+
gt([
|
|
8573
8573
|
a()
|
|
8574
8574
|
], lt.prototype, "wording_password_helper_lower_case", 2);
|
|
8575
|
-
|
|
8575
|
+
gt([
|
|
8576
8576
|
a()
|
|
8577
8577
|
], lt.prototype, "wording_password_helper_upper_case", 2);
|
|
8578
|
-
|
|
8578
|
+
gt([
|
|
8579
8579
|
a()
|
|
8580
8580
|
], lt.prototype, "wording_password_helper_number", 2);
|
|
8581
|
-
|
|
8581
|
+
gt([
|
|
8582
8582
|
a()
|
|
8583
8583
|
], lt.prototype, "wording_password_helper_special_char", 2);
|
|
8584
|
-
lt =
|
|
8584
|
+
lt = gt([
|
|
8585
8585
|
_(kl)
|
|
8586
8586
|
], lt);
|
|
8587
8587
|
var Ol = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, ve = (r, t, i, s) => {
|
|
@@ -8656,8 +8656,8 @@ var El = Object.defineProperty, Nl = Object.getOwnPropertyDescriptor, Kt = (r, t
|
|
|
8656
8656
|
return s && e && El(t, i, e), e;
|
|
8657
8657
|
};
|
|
8658
8658
|
const Tl = "sonic-checkbox";
|
|
8659
|
-
let
|
|
8660
|
-
Es(Le(
|
|
8659
|
+
let ft = class extends _i(
|
|
8660
|
+
Es(Le(G(w)))
|
|
8661
8661
|
) {
|
|
8662
8662
|
constructor() {
|
|
8663
8663
|
super(...arguments), this.touched = !1, this.iconName = "check", this.indeterminateIconName = "minus-small", this.showAsIndeterminate = !1, this.hasDescription = !1, this.hasLabel = !1;
|
|
@@ -8706,7 +8706,7 @@ let ut = class extends wi(
|
|
|
8706
8706
|
`;
|
|
8707
8707
|
}
|
|
8708
8708
|
};
|
|
8709
|
-
|
|
8709
|
+
ft.styles = [
|
|
8710
8710
|
Mt,
|
|
8711
8711
|
P`
|
|
8712
8712
|
:host {
|
|
@@ -8834,38 +8834,38 @@ ut.styles = [
|
|
|
8834
8834
|
];
|
|
8835
8835
|
Kt([
|
|
8836
8836
|
a({ type: Boolean, reflect: !0 })
|
|
8837
|
-
],
|
|
8837
|
+
], ft.prototype, "touched", 2);
|
|
8838
8838
|
Kt([
|
|
8839
8839
|
a({ type: String })
|
|
8840
|
-
],
|
|
8840
|
+
], ft.prototype, "iconName", 2);
|
|
8841
8841
|
Kt([
|
|
8842
8842
|
a({ type: String })
|
|
8843
|
-
],
|
|
8843
|
+
], ft.prototype, "indeterminateIconName", 2);
|
|
8844
8844
|
Kt([
|
|
8845
8845
|
a({ type: Boolean })
|
|
8846
|
-
],
|
|
8846
|
+
], ft.prototype, "showAsIndeterminate", 2);
|
|
8847
8847
|
Kt([
|
|
8848
8848
|
a({ type: Boolean })
|
|
8849
|
-
],
|
|
8849
|
+
], ft.prototype, "hasDescription", 2);
|
|
8850
8850
|
Kt([
|
|
8851
8851
|
a({ type: Boolean })
|
|
8852
|
-
],
|
|
8852
|
+
], ft.prototype, "hasLabel", 2);
|
|
8853
8853
|
Kt([
|
|
8854
8854
|
dt({ flatten: !0 })
|
|
8855
|
-
],
|
|
8855
|
+
], ft.prototype, "slotLabelNodes", 2);
|
|
8856
8856
|
Kt([
|
|
8857
8857
|
dt({ slot: "description", flatten: !0 })
|
|
8858
|
-
],
|
|
8859
|
-
|
|
8858
|
+
], ft.prototype, "slotDescriptionNodes", 2);
|
|
8859
|
+
ft = Kt([
|
|
8860
8860
|
_(Tl)
|
|
8861
|
-
],
|
|
8861
|
+
], ft);
|
|
8862
8862
|
var Ml = Object.getOwnPropertyDescriptor, Il = (r, t, i, s) => {
|
|
8863
8863
|
for (var e = s > 1 ? void 0 : s ? Ml(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8864
8864
|
(n = r[o]) && (e = n(e) || e);
|
|
8865
8865
|
return e;
|
|
8866
8866
|
};
|
|
8867
8867
|
const jl = "sonic-radio";
|
|
8868
|
-
let
|
|
8868
|
+
let Gs = class extends ft {
|
|
8869
8869
|
constructor() {
|
|
8870
8870
|
super(), this.radio = !0;
|
|
8871
8871
|
}
|
|
@@ -8873,8 +8873,8 @@ let Zs = class extends ut {
|
|
|
8873
8873
|
super.connectedCallback(), this.type = "radio";
|
|
8874
8874
|
}
|
|
8875
8875
|
};
|
|
8876
|
-
|
|
8877
|
-
|
|
8876
|
+
Gs.styles = [
|
|
8877
|
+
ft.styles,
|
|
8878
8878
|
P`
|
|
8879
8879
|
:host input {
|
|
8880
8880
|
border-radius: 50%;
|
|
@@ -8893,22 +8893,22 @@ Zs.styles = [
|
|
|
8893
8893
|
}
|
|
8894
8894
|
`
|
|
8895
8895
|
];
|
|
8896
|
-
|
|
8896
|
+
Gs = Il([
|
|
8897
8897
|
_(jl)
|
|
8898
|
-
],
|
|
8898
|
+
], Gs);
|
|
8899
8899
|
var Fl = Object.getOwnPropertyDescriptor, zl = (r, t, i, s) => {
|
|
8900
8900
|
for (var e = s > 1 ? void 0 : s ? Fl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8901
8901
|
(n = r[o]) && (e = n(e) || e);
|
|
8902
8902
|
return e;
|
|
8903
8903
|
};
|
|
8904
8904
|
const Rl = "sonic-switch";
|
|
8905
|
-
let
|
|
8905
|
+
let Qs = class extends ft {
|
|
8906
8906
|
constructor() {
|
|
8907
8907
|
super(), this.unique = !0;
|
|
8908
8908
|
}
|
|
8909
8909
|
};
|
|
8910
|
-
|
|
8911
|
-
|
|
8910
|
+
Qs.styles = [
|
|
8911
|
+
ft.styles,
|
|
8912
8912
|
P`
|
|
8913
8913
|
sonic-icon {
|
|
8914
8914
|
display: none;
|
|
@@ -8976,16 +8976,16 @@ Gs.styles = [
|
|
|
8976
8976
|
}
|
|
8977
8977
|
`
|
|
8978
8978
|
];
|
|
8979
|
-
|
|
8979
|
+
Qs = zl([
|
|
8980
8980
|
_(Rl)
|
|
8981
|
-
],
|
|
8981
|
+
], Qs);
|
|
8982
8982
|
var Ul = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, Q = (r, t, i, s) => {
|
|
8983
8983
|
for (var e = s > 1 ? void 0 : s ? Vl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8984
8984
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8985
8985
|
return s && e && Ul(t, i, e), e;
|
|
8986
8986
|
};
|
|
8987
8987
|
const Bl = "sonic-select";
|
|
8988
|
-
let W = class extends Le(
|
|
8988
|
+
let W = class extends Le(G(w)) {
|
|
8989
8989
|
constructor() {
|
|
8990
8990
|
super(...arguments), this.valueKey = "value", this.wordingKey = "wording", this.multiple = !1, this.status = "default", this._options = [], this.hasDoneFirstUpdate = !1, this._value = "", this.updateOptions = () => {
|
|
8991
8991
|
const r = this.querySelectorAll(
|
|
@@ -9066,7 +9066,7 @@ let W = class extends Le(Z(w)) {
|
|
|
9066
9066
|
></slot
|
|
9067
9067
|
></label>
|
|
9068
9068
|
|
|
9069
|
-
<div class="form-control ${
|
|
9069
|
+
<div class="form-control ${ki(r)}">
|
|
9070
9070
|
<slot name="prefix" @slotchange=${this.hasSlotOrProps}></slot>
|
|
9071
9071
|
<div class="form-select-wrapper">
|
|
9072
9072
|
<select
|
|
@@ -9119,7 +9119,7 @@ let W = class extends Le(Z(w)) {
|
|
|
9119
9119
|
};
|
|
9120
9120
|
W.styles = [
|
|
9121
9121
|
Mt,
|
|
9122
|
-
|
|
9122
|
+
Ai,
|
|
9123
9123
|
Ts,
|
|
9124
9124
|
Ms,
|
|
9125
9125
|
P`
|
|
@@ -9243,7 +9243,7 @@ var ql = Object.defineProperty, Hl = Object.getOwnPropertyDescriptor, bt = (r, t
|
|
|
9243
9243
|
return s && e && ql(t, i, e), e;
|
|
9244
9244
|
};
|
|
9245
9245
|
const Wl = "sonic-textarea";
|
|
9246
|
-
let ct = class extends Es(Le(
|
|
9246
|
+
let ct = class extends Es(Le(G(w))) {
|
|
9247
9247
|
constructor() {
|
|
9248
9248
|
super(...arguments), this.size = "md", this.readonly = !1, this.resize = "vertical", this.hasDescription = !1, this.hasLabel = !1;
|
|
9249
9249
|
}
|
|
@@ -9303,7 +9303,7 @@ let ct = class extends Es(Le(Z(w))) {
|
|
|
9303
9303
|
class="form-element textarea custom-scroll"
|
|
9304
9304
|
aria-label=${$(this.ariaLabel)}
|
|
9305
9305
|
aria-labelledby=${$(this.ariaLabelledby)}
|
|
9306
|
-
style=${
|
|
9306
|
+
style=${ut(r)}
|
|
9307
9307
|
>
|
|
9308
9308
|
${this.value}</textarea
|
|
9309
9309
|
>
|
|
@@ -9320,10 +9320,10 @@ ${this.value}</textarea
|
|
|
9320
9320
|
};
|
|
9321
9321
|
ct.styles = [
|
|
9322
9322
|
Mt,
|
|
9323
|
-
|
|
9323
|
+
Ai,
|
|
9324
9324
|
Ts,
|
|
9325
9325
|
Ms,
|
|
9326
|
-
|
|
9326
|
+
ss,
|
|
9327
9327
|
P`
|
|
9328
9328
|
textarea {
|
|
9329
9329
|
overflow-y: auto !important;
|
|
@@ -9378,12 +9378,12 @@ var Kl = Object.getOwnPropertyDescriptor, Yl = (r, t, i, s) => {
|
|
|
9378
9378
|
(n = r[o]) && (e = n(e) || e);
|
|
9379
9379
|
return e;
|
|
9380
9380
|
};
|
|
9381
|
-
let
|
|
9381
|
+
let Js = class extends w {
|
|
9382
9382
|
render() {
|
|
9383
9383
|
return m`<slot></slot>`;
|
|
9384
9384
|
}
|
|
9385
9385
|
};
|
|
9386
|
-
|
|
9386
|
+
Js.styles = [
|
|
9387
9387
|
P`
|
|
9388
9388
|
:host {
|
|
9389
9389
|
font-size: 1.15rem;
|
|
@@ -9403,13 +9403,13 @@ Qs.styles = [
|
|
|
9403
9403
|
}
|
|
9404
9404
|
`
|
|
9405
9405
|
];
|
|
9406
|
-
|
|
9406
|
+
Js = Yl([
|
|
9407
9407
|
_("sonic-legend-description")
|
|
9408
|
-
],
|
|
9409
|
-
var
|
|
9410
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
9408
|
+
], Js);
|
|
9409
|
+
var Zl = Object.defineProperty, Xl = Object.getOwnPropertyDescriptor, ye = (r, t, i, s) => {
|
|
9410
|
+
for (var e = s > 1 ? void 0 : s ? Xl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9411
9411
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
9412
|
-
return s && e &&
|
|
9412
|
+
return s && e && Zl(t, i, e), e;
|
|
9413
9413
|
};
|
|
9414
9414
|
const Gl = "sonic-legend";
|
|
9415
9415
|
let Ht = class extends w {
|
|
@@ -9523,7 +9523,7 @@ var Ql = Object.defineProperty, Jl = Object.getOwnPropertyDescriptor, Ft = (r, t
|
|
|
9523
9523
|
return s && e && Ql(t, i, e), e;
|
|
9524
9524
|
};
|
|
9525
9525
|
const tc = "sonic-fieldset";
|
|
9526
|
-
let Pt = class extends
|
|
9526
|
+
let Pt = class extends G(w) {
|
|
9527
9527
|
constructor() {
|
|
9528
9528
|
super(...arguments), this.disabled = !1, this.variant = "default";
|
|
9529
9529
|
}
|
|
@@ -9625,13 +9625,13 @@ Ft([
|
|
|
9625
9625
|
Pt = Ft([
|
|
9626
9626
|
_(tc)
|
|
9627
9627
|
], Pt);
|
|
9628
|
-
var ec = Object.defineProperty, sc = Object.getOwnPropertyDescriptor,
|
|
9628
|
+
var ec = Object.defineProperty, sc = Object.getOwnPropertyDescriptor, Oi = (r, t, i, s) => {
|
|
9629
9629
|
for (var e = s > 1 ? void 0 : s ? sc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9630
9630
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
9631
9631
|
return s && e && ec(t, i, e), e;
|
|
9632
9632
|
};
|
|
9633
9633
|
const ic = "sonic-form-layout";
|
|
9634
|
-
let
|
|
9634
|
+
let Ze = class extends G(w) {
|
|
9635
9635
|
constructor() {
|
|
9636
9636
|
super(...arguments), this._resizeController = new Nr(this, {}), this.oneFormElement = !1;
|
|
9637
9637
|
}
|
|
@@ -9645,12 +9645,12 @@ let Xe = class extends Z(w) {
|
|
|
9645
9645
|
"cq--md": this.offsetWidth > 440,
|
|
9646
9646
|
"one-form-element": this.oneFormElement
|
|
9647
9647
|
};
|
|
9648
|
-
return m`<div class=${
|
|
9648
|
+
return m`<div class=${ki(r)}>
|
|
9649
9649
|
<slot @slotchange=${this.onSlotChange}></slot>
|
|
9650
9650
|
</div>`;
|
|
9651
9651
|
}
|
|
9652
9652
|
};
|
|
9653
|
-
|
|
9653
|
+
Ze.styles = [
|
|
9654
9654
|
P`
|
|
9655
9655
|
:host {
|
|
9656
9656
|
display: block;
|
|
@@ -9688,22 +9688,22 @@ Xe.styles = [
|
|
|
9688
9688
|
}
|
|
9689
9689
|
`
|
|
9690
9690
|
];
|
|
9691
|
-
|
|
9691
|
+
Oi([
|
|
9692
9692
|
ke({ flatten: !0 })
|
|
9693
|
-
],
|
|
9694
|
-
|
|
9693
|
+
], Ze.prototype, "slottedElements", 2);
|
|
9694
|
+
Oi([
|
|
9695
9695
|
a({ type: Boolean })
|
|
9696
|
-
],
|
|
9697
|
-
|
|
9696
|
+
], Ze.prototype, "oneFormElement", 2);
|
|
9697
|
+
Ze = Oi([
|
|
9698
9698
|
_(ic)
|
|
9699
|
-
],
|
|
9700
|
-
var rc = Object.defineProperty, oc = Object.getOwnPropertyDescriptor,
|
|
9699
|
+
], Ze);
|
|
9700
|
+
var rc = Object.defineProperty, oc = Object.getOwnPropertyDescriptor, Di = (r, t, i, s) => {
|
|
9701
9701
|
for (var e = s > 1 ? void 0 : s ? oc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9702
9702
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
9703
9703
|
return s && e && rc(t, i, e), e;
|
|
9704
9704
|
};
|
|
9705
9705
|
const nc = "sonic-form-actions";
|
|
9706
|
-
let
|
|
9706
|
+
let Xe = class extends w {
|
|
9707
9707
|
constructor() {
|
|
9708
9708
|
super(...arguments), this.direction = "row", this.justify = "flex-start";
|
|
9709
9709
|
}
|
|
@@ -9712,10 +9712,10 @@ let Ze = class extends w {
|
|
|
9712
9712
|
flexDirection: this.direction,
|
|
9713
9713
|
justifyContent: this.justify
|
|
9714
9714
|
};
|
|
9715
|
-
return m`<slot style=${
|
|
9715
|
+
return m`<slot style=${ut(r)}></slot>`;
|
|
9716
9716
|
}
|
|
9717
9717
|
};
|
|
9718
|
-
|
|
9718
|
+
Xe.styles = [
|
|
9719
9719
|
P`
|
|
9720
9720
|
:host {
|
|
9721
9721
|
display: block;
|
|
@@ -9727,15 +9727,15 @@ Ze.styles = [
|
|
|
9727
9727
|
}
|
|
9728
9728
|
`
|
|
9729
9729
|
];
|
|
9730
|
-
|
|
9730
|
+
Di([
|
|
9731
9731
|
a({ type: String })
|
|
9732
|
-
],
|
|
9733
|
-
|
|
9732
|
+
], Xe.prototype, "direction", 2);
|
|
9733
|
+
Di([
|
|
9734
9734
|
a({ type: String })
|
|
9735
|
-
],
|
|
9736
|
-
|
|
9735
|
+
], Xe.prototype, "justify", 2);
|
|
9736
|
+
Xe = Di([
|
|
9737
9737
|
_(nc)
|
|
9738
|
-
],
|
|
9738
|
+
], Xe);
|
|
9739
9739
|
var ac = Object.defineProperty, lc = Object.getOwnPropertyDescriptor, ie = (r, t, i, s) => {
|
|
9740
9740
|
for (var e = s > 1 ? void 0 : s ? lc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9741
9741
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
@@ -9777,7 +9777,7 @@ let Nt = class extends w {
|
|
|
9777
9777
|
@slotchange=${this.hasSlotOrProps}
|
|
9778
9778
|
></slot
|
|
9779
9779
|
></span>
|
|
9780
|
-
<slot class="main-slot" style=${
|
|
9780
|
+
<slot class="main-slot" style=${ut(r)}></slot>
|
|
9781
9781
|
<slot
|
|
9782
9782
|
name="description"
|
|
9783
9783
|
@slotchange=${this.hasSlotOrProps}
|
|
@@ -9870,7 +9870,7 @@ let $t = class extends w {
|
|
|
9870
9870
|
src="${this.src}"
|
|
9871
9871
|
loading="${this.loading}"
|
|
9872
9872
|
alt="${this.alt}"
|
|
9873
|
-
style=${
|
|
9873
|
+
style=${ut(r)}
|
|
9874
9874
|
/></picture>
|
|
9875
9875
|
</div>`;
|
|
9876
9876
|
}
|
|
@@ -10004,12 +10004,15 @@ let ht = class extends w {
|
|
|
10004
10004
|
}
|
|
10005
10005
|
updated(r) {
|
|
10006
10006
|
const t = this.querySelector(".more-btn");
|
|
10007
|
-
this.size && t && t.setAttribute("size", this.size),
|
|
10008
|
-
|
|
10009
|
-
|
|
10007
|
+
this.size && t && t.setAttribute("size", this.size), super.updated(r);
|
|
10008
|
+
}
|
|
10009
|
+
setDividersSize(r) {
|
|
10010
|
+
r.forEach((t) => {
|
|
10011
|
+
t.setAttribute("size", "sm"), this.direction == "row" ? t.style.setProperty("margin", "0 .1rem ") : t.style.setProperty("margin", " 0.1rem 0");
|
|
10012
|
+
});
|
|
10010
10013
|
}
|
|
10011
10014
|
mainSlotChange() {
|
|
10012
|
-
this.setChildrenSize(this.menuChildren), this.updateIsScollable(), this.updateScrollPosition(), this.observeMenuItemsAttributes();
|
|
10015
|
+
this.setChildrenSize(this.menuChildren), this.setDividersSize(this.menuChildren), this.updateIsScollable(), this.updateScrollPosition(), this.observeMenuItemsAttributes();
|
|
10013
10016
|
}
|
|
10014
10017
|
observeMenuItemsAttributes() {
|
|
10015
10018
|
this.attributeObserver?.disconnect(), this.attributeObserver = new MutationObserver(() => {
|
|
@@ -10072,28 +10075,34 @@ let ht = class extends w {
|
|
|
10072
10075
|
render() {
|
|
10073
10076
|
const r = {
|
|
10074
10077
|
minWidth: this.minWidth,
|
|
10075
|
-
flexDirection: this.direction
|
|
10076
|
-
gap: this.gap
|
|
10078
|
+
flexDirection: this.direction
|
|
10077
10079
|
}, t = this.direction == "row", i = {
|
|
10080
|
+
gap: this.gap,
|
|
10081
|
+
flexDirection: this.direction
|
|
10082
|
+
}, s = {
|
|
10078
10083
|
display: "block",
|
|
10079
10084
|
alignSelf: t ? "center" : "flex-start",
|
|
10080
10085
|
justifySelf: "center",
|
|
10081
10086
|
flexDirection: this.direction
|
|
10082
|
-
},
|
|
10087
|
+
}, e = {
|
|
10083
10088
|
marginLeft: t ? "" : ".55em"
|
|
10084
10089
|
};
|
|
10085
10090
|
return m`<menu
|
|
10086
10091
|
part="menu"
|
|
10087
10092
|
class="shadowable"
|
|
10088
|
-
style=${
|
|
10093
|
+
style=${ut(r)}
|
|
10089
10094
|
>
|
|
10090
|
-
<slot
|
|
10095
|
+
<slot
|
|
10096
|
+
@slotchange=${this.mainSlotChange}
|
|
10097
|
+
id="menu-content"
|
|
10098
|
+
style=${ut(i)}
|
|
10099
|
+
></slot>
|
|
10091
10100
|
<sonic-pop
|
|
10092
|
-
style=${
|
|
10101
|
+
style=${ut(s)}
|
|
10093
10102
|
class=${this.hasMoreElements ? "" : "hidden"}
|
|
10094
10103
|
>
|
|
10095
10104
|
<sonic-menu-item
|
|
10096
|
-
style=${
|
|
10105
|
+
style=${ut(e)}
|
|
10097
10106
|
class="more-btn"
|
|
10098
10107
|
shape=${this.moreShape}
|
|
10099
10108
|
align="center"
|
|
@@ -10130,17 +10139,19 @@ ht.styles = [
|
|
|
10130
10139
|
}
|
|
10131
10140
|
|
|
10132
10141
|
/* SCROLLABLE*/
|
|
10142
|
+
#menu-content {
|
|
10143
|
+
display: flex;
|
|
10144
|
+
padding: 0.35em;
|
|
10145
|
+
margin: 0;
|
|
10146
|
+
}
|
|
10147
|
+
|
|
10133
10148
|
:host([scrollable]) #menu-content {
|
|
10134
10149
|
scrollbar-width: none;
|
|
10135
10150
|
max-width: 100%;
|
|
10136
10151
|
-ms-overflow-style: none;
|
|
10137
10152
|
scroll-snap-align: start;
|
|
10138
10153
|
white-space: nowrap;
|
|
10139
|
-
display: flex;
|
|
10140
|
-
gap: var(--sc-menu-gap);
|
|
10141
10154
|
border-radius: min(calc(var(--sc-btn-rounded) * 2), 0.4em);
|
|
10142
|
-
margin: 0;
|
|
10143
|
-
padding: 0.35em;
|
|
10144
10155
|
transition: mask-image 0.15s linear;
|
|
10145
10156
|
}
|
|
10146
10157
|
|
|
@@ -10273,7 +10284,7 @@ vt([
|
|
|
10273
10284
|
ge("#menu-content")
|
|
10274
10285
|
], ht.prototype, "menuContent", 2);
|
|
10275
10286
|
vt([
|
|
10276
|
-
ke({ selector: "
|
|
10287
|
+
ke({ selector: "*" })
|
|
10277
10288
|
], ht.prototype, "menuChildren", 2);
|
|
10278
10289
|
vt([
|
|
10279
10290
|
ke({ slot: "more", selector: "*" })
|
|
@@ -10290,11 +10301,11 @@ var gc = Object.defineProperty, bc = Object.getOwnPropertyDescriptor, Tr = (r, t
|
|
|
10290
10301
|
return s && e && gc(t, i, e), e;
|
|
10291
10302
|
};
|
|
10292
10303
|
const vc = "sonic-modal-actions";
|
|
10293
|
-
let
|
|
10304
|
+
let Cs = class extends w {
|
|
10294
10305
|
firstUpdated(r) {
|
|
10295
10306
|
this.buttons?.forEach((t) => {
|
|
10296
10307
|
t.hasAttribute("hideModal") && t.addEventListener("click", () => {
|
|
10297
|
-
|
|
10308
|
+
Zt.getClosestElement(
|
|
10298
10309
|
this,
|
|
10299
10310
|
"sonic-modal"
|
|
10300
10311
|
)?.hide();
|
|
@@ -10305,7 +10316,7 @@ let $s = class extends w {
|
|
|
10305
10316
|
return m`<slot></slot>`;
|
|
10306
10317
|
}
|
|
10307
10318
|
};
|
|
10308
|
-
|
|
10319
|
+
Cs.styles = [
|
|
10309
10320
|
P`
|
|
10310
10321
|
:host {
|
|
10311
10322
|
display: flex;
|
|
@@ -10317,17 +10328,17 @@ $s.styles = [
|
|
|
10317
10328
|
];
|
|
10318
10329
|
Tr([
|
|
10319
10330
|
ke({ selector: "sonic-button" })
|
|
10320
|
-
],
|
|
10321
|
-
|
|
10331
|
+
], Cs.prototype, "buttons", 2);
|
|
10332
|
+
Cs = Tr([
|
|
10322
10333
|
_(vc)
|
|
10323
|
-
],
|
|
10324
|
-
var yc = Object.defineProperty, wc = Object.getOwnPropertyDescriptor,
|
|
10334
|
+
], Cs);
|
|
10335
|
+
var yc = Object.defineProperty, wc = Object.getOwnPropertyDescriptor, Is = (r, t, i, s) => {
|
|
10325
10336
|
for (var e = s > 1 ? void 0 : s ? wc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10326
10337
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
10327
10338
|
return s && e && yc(t, i, e), e;
|
|
10328
10339
|
};
|
|
10329
10340
|
const _c = "sonic-modal-close";
|
|
10330
|
-
let
|
|
10341
|
+
let Ge = class extends w {
|
|
10331
10342
|
constructor() {
|
|
10332
10343
|
super(...arguments), this.translation = {
|
|
10333
10344
|
fr: "Fermer la fenêtre",
|
|
@@ -10342,10 +10353,12 @@ let Cs = class extends w {
|
|
|
10342
10353
|
}
|
|
10343
10354
|
render() {
|
|
10344
10355
|
return m`<sonic-button
|
|
10345
|
-
|
|
10356
|
+
noAutoFill
|
|
10357
|
+
data-aria-label=${this.translation[this.lang]}
|
|
10346
10358
|
reset=${$(this.reset)}
|
|
10347
10359
|
shape="circle"
|
|
10348
10360
|
@click=${this.handleClick}
|
|
10361
|
+
type=${$(this.type)}
|
|
10349
10362
|
><sonic-icon name="cancel" size="lg"></sonic-icon
|
|
10350
10363
|
></sonic-button>`;
|
|
10351
10364
|
}
|
|
@@ -10353,27 +10366,30 @@ let Cs = class extends w {
|
|
|
10353
10366
|
J.getClosestElement(this, "sonic-modal").hide();
|
|
10354
10367
|
}
|
|
10355
10368
|
};
|
|
10356
|
-
|
|
10369
|
+
Is([
|
|
10357
10370
|
a()
|
|
10358
|
-
],
|
|
10359
|
-
|
|
10371
|
+
], Ge.prototype, "translation", 2);
|
|
10372
|
+
Is([
|
|
10360
10373
|
a()
|
|
10361
|
-
],
|
|
10362
|
-
|
|
10374
|
+
], Ge.prototype, "reset", 2);
|
|
10375
|
+
Is([
|
|
10376
|
+
a()
|
|
10377
|
+
], Ge.prototype, "type", 2);
|
|
10378
|
+
Ge = Is([
|
|
10363
10379
|
_(_c)
|
|
10364
|
-
],
|
|
10380
|
+
], Ge);
|
|
10365
10381
|
var xc = Object.getOwnPropertyDescriptor, Pc = (r, t, i, s) => {
|
|
10366
10382
|
for (var e = s > 1 ? void 0 : s ? xc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10367
10383
|
(n = r[o]) && (e = n(e) || e);
|
|
10368
10384
|
return e;
|
|
10369
10385
|
};
|
|
10370
10386
|
const $c = "sonic-modal-content";
|
|
10371
|
-
let
|
|
10387
|
+
let ti = class extends w {
|
|
10372
10388
|
render() {
|
|
10373
10389
|
return m`<slot></slot>`;
|
|
10374
10390
|
}
|
|
10375
10391
|
};
|
|
10376
|
-
|
|
10392
|
+
ti.styles = [
|
|
10377
10393
|
P`
|
|
10378
10394
|
:host {
|
|
10379
10395
|
display: block;
|
|
@@ -10381,21 +10397,21 @@ Js.styles = [
|
|
|
10381
10397
|
}
|
|
10382
10398
|
`
|
|
10383
10399
|
];
|
|
10384
|
-
|
|
10400
|
+
ti = Pc([
|
|
10385
10401
|
_($c)
|
|
10386
|
-
],
|
|
10402
|
+
], ti);
|
|
10387
10403
|
var Cc = Object.getOwnPropertyDescriptor, Sc = (r, t, i, s) => {
|
|
10388
10404
|
for (var e = s > 1 ? void 0 : s ? Cc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10389
10405
|
(n = r[o]) && (e = n(e) || e);
|
|
10390
10406
|
return e;
|
|
10391
10407
|
};
|
|
10392
10408
|
const Ac = "sonic-modal-subtitle";
|
|
10393
|
-
let
|
|
10409
|
+
let ei = class extends w {
|
|
10394
10410
|
render() {
|
|
10395
10411
|
return m`<slot></slot>`;
|
|
10396
10412
|
}
|
|
10397
10413
|
};
|
|
10398
|
-
|
|
10414
|
+
ei.styles = [
|
|
10399
10415
|
P`
|
|
10400
10416
|
:host {
|
|
10401
10417
|
font-size: 1.25rem;
|
|
@@ -10410,21 +10426,21 @@ ti.styles = [
|
|
|
10410
10426
|
}
|
|
10411
10427
|
`
|
|
10412
10428
|
];
|
|
10413
|
-
|
|
10429
|
+
ei = Sc([
|
|
10414
10430
|
_(Ac)
|
|
10415
|
-
],
|
|
10431
|
+
], ei);
|
|
10416
10432
|
var kc = Object.getOwnPropertyDescriptor, Oc = (r, t, i, s) => {
|
|
10417
10433
|
for (var e = s > 1 ? void 0 : s ? kc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10418
10434
|
(n = r[o]) && (e = n(e) || e);
|
|
10419
10435
|
return e;
|
|
10420
10436
|
};
|
|
10421
10437
|
const Dc = "sonic-modal-title";
|
|
10422
|
-
let
|
|
10438
|
+
let si = class extends w {
|
|
10423
10439
|
render() {
|
|
10424
10440
|
return m`<slot></slot>`;
|
|
10425
10441
|
}
|
|
10426
10442
|
};
|
|
10427
|
-
|
|
10443
|
+
si.styles = [
|
|
10428
10444
|
P`
|
|
10429
10445
|
:host {
|
|
10430
10446
|
font-weight: bold;
|
|
@@ -10440,16 +10456,16 @@ ei.styles = [
|
|
|
10440
10456
|
}
|
|
10441
10457
|
`
|
|
10442
10458
|
];
|
|
10443
|
-
|
|
10459
|
+
si = Oc([
|
|
10444
10460
|
_(Dc)
|
|
10445
|
-
],
|
|
10446
|
-
var Lc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor,
|
|
10461
|
+
], si);
|
|
10462
|
+
var Lc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor, Y = (r, t, i, s) => {
|
|
10447
10463
|
for (var e = s > 1 ? void 0 : s ? Ec(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10448
10464
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
10449
10465
|
return s && e && Lc(t, i, e), e;
|
|
10450
10466
|
};
|
|
10451
10467
|
const Mr = "sonic-modal";
|
|
10452
|
-
let M = class extends
|
|
10468
|
+
let M = class extends G(w) {
|
|
10453
10469
|
constructor() {
|
|
10454
10470
|
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 = {
|
|
10455
10471
|
quartOut: "cubic-bezier(0.165, 0.84, 0.44, 1)",
|
|
@@ -10462,7 +10478,7 @@ let M = class extends Z(w) {
|
|
|
10462
10478
|
}
|
|
10463
10479
|
static create(r) {
|
|
10464
10480
|
const t = document.createElement(Mr);
|
|
10465
|
-
return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.closeOnLocationChange === !0 && t.setAttribute("closeOnLocationChange", "true"), r.maxWidth && (t.maxWidth = r?.maxWidth), r.width && (t.width = r?.width), r.maxHeight && (t.maxHeight = r?.maxHeight), r.height && (t.height = r?.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r?.fullScreen), r.effect && (t.effect = r?.effect), r.noCloseButton && (t.noCloseButton = !0), r.paddingX && (t.paddingX = r?.paddingX), r.paddingY && (t.paddingY = r?.paddingY), r.zIndex && (t.zIndex = r?.zIndex), yt.getPopContainer().appendChild(t), t.updateComplete.then(() => {
|
|
10481
|
+
return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.closeOnLocationChange === !0 && t.setAttribute("closeOnLocationChange", "true"), r.maxWidth && (t.maxWidth = r?.maxWidth), r.width && (t.width = r?.width), r.maxHeight && (t.maxHeight = r?.maxHeight), r.height && (t.height = r?.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r?.fullScreen), r.effect && (t.effect = r?.effect), r.noCloseButton && (t.noCloseButton = !0), r.closeButtonType && (t.closeButtonType = r?.closeButtonType), r.paddingX && (t.paddingX = r?.paddingX), r.paddingY && (t.paddingY = r?.paddingY), r.zIndex && (t.zIndex = r?.zIndex), yt.getPopContainer().appendChild(t), t.updateComplete.then(() => {
|
|
10466
10482
|
t.show();
|
|
10467
10483
|
}), t;
|
|
10468
10484
|
}
|
|
@@ -10517,17 +10533,20 @@ let M = class extends Z(w) {
|
|
|
10517
10533
|
<div
|
|
10518
10534
|
id="backdrop"
|
|
10519
10535
|
@click=${this.handleOverlayClick}
|
|
10520
|
-
style=${
|
|
10536
|
+
style=${ut(t)}
|
|
10521
10537
|
></div>
|
|
10522
10538
|
<dialog
|
|
10523
10539
|
id="modal"
|
|
10524
10540
|
part="modal"
|
|
10525
10541
|
class="custom-scroll"
|
|
10526
10542
|
aria-modal="true"
|
|
10527
|
-
style=${
|
|
10543
|
+
style=${ut(r)}
|
|
10528
10544
|
>
|
|
10529
10545
|
${this._animationState !== "hidden" ? m`<div id="modal-content">
|
|
10530
|
-
${!this.forceAction && !this.noCloseButton ? m`<sonic-modal-close
|
|
10546
|
+
${!this.forceAction && !this.noCloseButton ? m`<sonic-modal-close
|
|
10547
|
+
class="${this._animationState == "visible" ? "animate-in" : "animate-out"}"
|
|
10548
|
+
type=${$(this.closeButtonType)}
|
|
10549
|
+
></sonic-modal-close>` : S}
|
|
10531
10550
|
${this.modalFragment("title")} ${this.modalFragment("subtitle")}
|
|
10532
10551
|
${this.modalFragment("content")} ${this.modalFragment("actions")}
|
|
10533
10552
|
<slot></slot>
|
|
@@ -10624,7 +10643,7 @@ let M = class extends Z(w) {
|
|
|
10624
10643
|
}
|
|
10625
10644
|
};
|
|
10626
10645
|
M.styles = [
|
|
10627
|
-
|
|
10646
|
+
ss,
|
|
10628
10647
|
P`
|
|
10629
10648
|
:host {
|
|
10630
10649
|
--sc-modal-py: 2.5rem;
|
|
@@ -10733,96 +10752,115 @@ M.styles = [
|
|
|
10733
10752
|
/* Close button */
|
|
10734
10753
|
::slotted(sonic-modal-close),
|
|
10735
10754
|
sonic-modal-close {
|
|
10736
|
-
--sc_translate-x: calc(var(--sc-modal-px) - 0.25rem);
|
|
10737
|
-
--sc_translate-y: calc(-1 * var(--sc-modal-py) - 0.25rem);
|
|
10738
10755
|
--sc_top: 0.25rem;
|
|
10739
10756
|
--sc_x: 0.25rem;
|
|
10740
10757
|
position: sticky;
|
|
10741
10758
|
display: block;
|
|
10742
|
-
height: 0;
|
|
10743
10759
|
top: var(--sc_top);
|
|
10744
10760
|
margin-left: auto;
|
|
10761
|
+
margin-bottom: -1rem;
|
|
10745
10762
|
margin-top: calc(-1 * var(--sc-modal-py) - 0.25rem);
|
|
10746
|
-
margin-
|
|
10747
|
-
transform: translateX(var(--sc_translate-x));
|
|
10763
|
+
margin-right: calc(-1 * var(--sc-modal-px) + 0.25rem);
|
|
10748
10764
|
z-index: 20;
|
|
10765
|
+
opacity: 0;
|
|
10766
|
+
transform: scale(0);
|
|
10767
|
+
transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
|
|
10768
|
+
opacity 0.1s linear;
|
|
10769
|
+
transform-origin: center center;
|
|
10770
|
+
display: flex;
|
|
10771
|
+
align-items: center;
|
|
10772
|
+
justify-content: center;
|
|
10749
10773
|
}
|
|
10750
10774
|
:host([align="right"]) ::slotted(sonic-modal-close),
|
|
10751
10775
|
:host([align="right"]) sonic-modal-close {
|
|
10752
10776
|
right: auto;
|
|
10753
10777
|
margin-right: auto;
|
|
10754
|
-
margin-left: 0;
|
|
10755
|
-
transform: translateX(calc(-1 * var(--sc_translate-x)));
|
|
10778
|
+
margin-left: calc(-1 * var(--sc-modal-px) + 0.25rem);
|
|
10756
10779
|
}
|
|
10757
10780
|
|
|
10758
10781
|
/* Border radius */
|
|
10759
10782
|
:host([rounded="none"]) #modal {
|
|
10760
10783
|
--sc-img-radius: 0 !important;
|
|
10761
10784
|
}
|
|
10785
|
+
|
|
10786
|
+
sonic-modal-close.animate-in {
|
|
10787
|
+
transform: scale(1);
|
|
10788
|
+
opacity: 1 !important;
|
|
10789
|
+
transition-delay: 0.2s;
|
|
10790
|
+
}
|
|
10791
|
+
sonic-modal-close.animate-out {
|
|
10792
|
+
opacity: 0 !important;
|
|
10793
|
+
transition-delay: 0s !important;
|
|
10794
|
+
transform: scale(0) !important;
|
|
10795
|
+
transition: 0.2s linear !important;
|
|
10796
|
+
}
|
|
10762
10797
|
`
|
|
10763
10798
|
];
|
|
10764
10799
|
M.modals = [];
|
|
10765
|
-
|
|
10800
|
+
Y([
|
|
10766
10801
|
a({ type: Boolean })
|
|
10767
10802
|
], M.prototype, "forceAction", 2);
|
|
10768
|
-
|
|
10803
|
+
Y([
|
|
10769
10804
|
a({ type: Boolean })
|
|
10770
10805
|
], M.prototype, "noCloseButton", 2);
|
|
10771
|
-
|
|
10806
|
+
Y([
|
|
10772
10807
|
a({ type: Boolean })
|
|
10773
10808
|
], M.prototype, "removeOnHide", 2);
|
|
10774
|
-
|
|
10809
|
+
Y([
|
|
10775
10810
|
a({ type: Boolean })
|
|
10776
10811
|
], M.prototype, "removeHashOnHide", 2);
|
|
10777
|
-
|
|
10812
|
+
Y([
|
|
10778
10813
|
a({ type: String, reflect: !0 })
|
|
10779
10814
|
], M.prototype, "align", 2);
|
|
10780
|
-
|
|
10815
|
+
Y([
|
|
10781
10816
|
a({ type: String })
|
|
10782
10817
|
], M.prototype, "paddingX", 2);
|
|
10783
|
-
|
|
10818
|
+
Y([
|
|
10784
10819
|
a({ type: String })
|
|
10785
10820
|
], M.prototype, "paddingY", 2);
|
|
10786
|
-
|
|
10821
|
+
Y([
|
|
10787
10822
|
a({ type: String })
|
|
10788
10823
|
], M.prototype, "maxWidth", 2);
|
|
10789
|
-
|
|
10824
|
+
Y([
|
|
10790
10825
|
a({ type: String })
|
|
10791
10826
|
], M.prototype, "maxHeight", 2);
|
|
10792
|
-
|
|
10827
|
+
Y([
|
|
10793
10828
|
a({ type: String })
|
|
10794
10829
|
], M.prototype, "zIndex", 2);
|
|
10795
|
-
|
|
10830
|
+
Y([
|
|
10796
10831
|
a({ type: String })
|
|
10797
10832
|
], M.prototype, "width", 2);
|
|
10798
|
-
|
|
10833
|
+
Y([
|
|
10799
10834
|
a({ type: String })
|
|
10800
10835
|
], M.prototype, "height", 2);
|
|
10801
|
-
|
|
10836
|
+
Y([
|
|
10802
10837
|
a({ type: String })
|
|
10803
10838
|
], M.prototype, "effect", 2);
|
|
10804
|
-
|
|
10839
|
+
Y([
|
|
10805
10840
|
a({ type: Object })
|
|
10806
10841
|
], M.prototype, "options", 2);
|
|
10807
|
-
|
|
10842
|
+
Y([
|
|
10808
10843
|
a({ type: Boolean, reflect: !0 })
|
|
10809
10844
|
], M.prototype, "fullScreen", 2);
|
|
10810
|
-
|
|
10845
|
+
Y([
|
|
10811
10846
|
a({ type: Boolean, reflect: !0 })
|
|
10812
10847
|
], M.prototype, "visible", 2);
|
|
10813
|
-
|
|
10848
|
+
Y([
|
|
10849
|
+
a({ type: String })
|
|
10850
|
+
], M.prototype, "closeButtonType", 2);
|
|
10851
|
+
Y([
|
|
10814
10852
|
ge("#modal")
|
|
10815
10853
|
], M.prototype, "_modalElement", 2);
|
|
10816
|
-
|
|
10854
|
+
Y([
|
|
10817
10855
|
a({ type: Boolean })
|
|
10818
10856
|
], M.prototype, "closeOnLocationChange", 2);
|
|
10819
|
-
|
|
10857
|
+
Y([
|
|
10820
10858
|
L()
|
|
10821
10859
|
], M.prototype, "location", 2);
|
|
10822
|
-
|
|
10860
|
+
Y([
|
|
10823
10861
|
L()
|
|
10824
10862
|
], M.prototype, "_animationState", 2);
|
|
10825
|
-
M =
|
|
10863
|
+
M = Y([
|
|
10826
10864
|
_(Mr)
|
|
10827
10865
|
], M);
|
|
10828
10866
|
typeof window < "u" && (window.SonicModal = M);
|
|
@@ -11002,13 +11040,13 @@ Rt([
|
|
|
11002
11040
|
Ct = Rt([
|
|
11003
11041
|
_(Ic)
|
|
11004
11042
|
], Ct);
|
|
11005
|
-
var jc = Object.defineProperty, Fc = Object.getOwnPropertyDescriptor,
|
|
11043
|
+
var jc = Object.defineProperty, Fc = Object.getOwnPropertyDescriptor, ns = (r, t, i, s) => {
|
|
11006
11044
|
for (var e = s > 1 ? void 0 : s ? Fc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11007
11045
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11008
11046
|
return s && e && jc(t, i, e), e;
|
|
11009
11047
|
};
|
|
11010
11048
|
const zc = "sonic-alert-messages";
|
|
11011
|
-
let ue = class extends
|
|
11049
|
+
let ue = class extends G(w) {
|
|
11012
11050
|
constructor() {
|
|
11013
11051
|
super(...arguments), this.size = "md", this.background = !1, this.noIcon = !1, this.messages = [];
|
|
11014
11052
|
}
|
|
@@ -11034,19 +11072,19 @@ ue.styles = [
|
|
|
11034
11072
|
}
|
|
11035
11073
|
`
|
|
11036
11074
|
];
|
|
11037
|
-
|
|
11075
|
+
ns([
|
|
11038
11076
|
a({ type: String })
|
|
11039
11077
|
], ue.prototype, "size", 2);
|
|
11040
|
-
|
|
11078
|
+
ns([
|
|
11041
11079
|
a({ type: Boolean })
|
|
11042
11080
|
], ue.prototype, "background", 2);
|
|
11043
|
-
|
|
11081
|
+
ns([
|
|
11044
11082
|
a({ type: Boolean })
|
|
11045
11083
|
], ue.prototype, "noIcon", 2);
|
|
11046
|
-
|
|
11084
|
+
ns([
|
|
11047
11085
|
a({ type: Array })
|
|
11048
11086
|
], ue.prototype, "messages", 2);
|
|
11049
|
-
ue =
|
|
11087
|
+
ue = ns([
|
|
11050
11088
|
_(zc)
|
|
11051
11089
|
], ue);
|
|
11052
11090
|
var Rc = Object.defineProperty, Uc = Object.getOwnPropertyDescriptor, Ir = (r, t, i, s) => {
|
|
@@ -11055,7 +11093,7 @@ var Rc = Object.defineProperty, Uc = Object.getOwnPropertyDescriptor, Ir = (r, t
|
|
|
11055
11093
|
return s && e && Rc(t, i, e), e;
|
|
11056
11094
|
};
|
|
11057
11095
|
const Vc = "sonic-toast-message-subscriber";
|
|
11058
|
-
let
|
|
11096
|
+
let ii = class extends G(w) {
|
|
11059
11097
|
constructor() {
|
|
11060
11098
|
super(...arguments), this._messages = [];
|
|
11061
11099
|
}
|
|
@@ -11073,11 +11111,11 @@ let si = class extends Z(w) {
|
|
|
11073
11111
|
};
|
|
11074
11112
|
Ir([
|
|
11075
11113
|
a({ type: Array })
|
|
11076
|
-
],
|
|
11077
|
-
|
|
11114
|
+
], ii.prototype, "messages", 1);
|
|
11115
|
+
ii = Ir([
|
|
11078
11116
|
_(Vc)
|
|
11079
|
-
],
|
|
11080
|
-
var Bc = Object.defineProperty, qc = Object.getOwnPropertyDescriptor,
|
|
11117
|
+
], ii);
|
|
11118
|
+
var Bc = Object.defineProperty, qc = Object.getOwnPropertyDescriptor, as = (r, t, i, s) => {
|
|
11081
11119
|
for (var e = s > 1 ? void 0 : s ? qc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11082
11120
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11083
11121
|
return s && e && Bc(t, i, e), e;
|
|
@@ -11214,19 +11252,19 @@ fe.styles = [
|
|
|
11214
11252
|
}
|
|
11215
11253
|
`
|
|
11216
11254
|
];
|
|
11217
|
-
|
|
11255
|
+
as([
|
|
11218
11256
|
a({ type: String })
|
|
11219
11257
|
], fe.prototype, "label", 2);
|
|
11220
|
-
|
|
11258
|
+
as([
|
|
11221
11259
|
a({ type: String, reflect: !0 })
|
|
11222
11260
|
], fe.prototype, "placement", 2);
|
|
11223
|
-
|
|
11261
|
+
as([
|
|
11224
11262
|
a({ type: Boolean })
|
|
11225
11263
|
], fe.prototype, "disabled", 2);
|
|
11226
|
-
|
|
11264
|
+
as([
|
|
11227
11265
|
a({ type: Boolean })
|
|
11228
11266
|
], fe.prototype, "focusable", 2);
|
|
11229
|
-
fe =
|
|
11267
|
+
fe = as([
|
|
11230
11268
|
_(Hc)
|
|
11231
11269
|
], fe);
|
|
11232
11270
|
var Wc = Object.defineProperty, Kc = Object.getOwnPropertyDescriptor, Ut = (r, t, i, s) => {
|
|
@@ -11414,18 +11452,18 @@ Ut([
|
|
|
11414
11452
|
St = Ut([
|
|
11415
11453
|
_(Yc)
|
|
11416
11454
|
], St);
|
|
11417
|
-
var
|
|
11418
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
11455
|
+
var Zc = Object.getOwnPropertyDescriptor, Xc = (r, t, i, s) => {
|
|
11456
|
+
for (var e = s > 1 ? void 0 : s ? Zc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11419
11457
|
(n = r[o]) && (e = n(e) || e);
|
|
11420
11458
|
return e;
|
|
11421
11459
|
};
|
|
11422
11460
|
const Gc = "sonic-card-header-description";
|
|
11423
|
-
let
|
|
11461
|
+
let ri = class extends w {
|
|
11424
11462
|
render() {
|
|
11425
11463
|
return m`<slot></slot>`;
|
|
11426
11464
|
}
|
|
11427
11465
|
};
|
|
11428
|
-
|
|
11466
|
+
ri.styles = [
|
|
11429
11467
|
P`
|
|
11430
11468
|
:host() {
|
|
11431
11469
|
display: block;
|
|
@@ -11436,16 +11474,16 @@ ii.styles = [
|
|
|
11436
11474
|
}
|
|
11437
11475
|
`
|
|
11438
11476
|
];
|
|
11439
|
-
|
|
11477
|
+
ri = Xc([
|
|
11440
11478
|
_(Gc)
|
|
11441
|
-
],
|
|
11479
|
+
], ri);
|
|
11442
11480
|
var Qc = Object.defineProperty, Jc = Object.getOwnPropertyDescriptor, Li = (r, t, i, s) => {
|
|
11443
11481
|
for (var e = s > 1 ? void 0 : s ? Jc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11444
11482
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11445
11483
|
return s && e && Qc(t, i, e), e;
|
|
11446
11484
|
};
|
|
11447
11485
|
const th = "sonic-card-header";
|
|
11448
|
-
let
|
|
11486
|
+
let Qe = class extends w {
|
|
11449
11487
|
render() {
|
|
11450
11488
|
return m`
|
|
11451
11489
|
<div class="header-content">
|
|
@@ -11459,7 +11497,7 @@ let Ge = class extends w {
|
|
|
11459
11497
|
`;
|
|
11460
11498
|
}
|
|
11461
11499
|
};
|
|
11462
|
-
|
|
11500
|
+
Qe.styles = [
|
|
11463
11501
|
P`
|
|
11464
11502
|
:host {
|
|
11465
11503
|
--sc-card-header-mb: 1.35rem;
|
|
@@ -11502,55 +11540,55 @@ Ge.styles = [
|
|
|
11502
11540
|
];
|
|
11503
11541
|
Li([
|
|
11504
11542
|
a()
|
|
11505
|
-
],
|
|
11543
|
+
], Qe.prototype, "label", 2);
|
|
11506
11544
|
Li([
|
|
11507
11545
|
a()
|
|
11508
|
-
],
|
|
11509
|
-
|
|
11546
|
+
], Qe.prototype, "description", 2);
|
|
11547
|
+
Qe = Li([
|
|
11510
11548
|
_(th)
|
|
11511
|
-
],
|
|
11549
|
+
], Qe);
|
|
11512
11550
|
var eh = Object.getOwnPropertyDescriptor, sh = (r, t, i, s) => {
|
|
11513
11551
|
for (var e = s > 1 ? void 0 : s ? eh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11514
11552
|
(n = r[o]) && (e = n(e) || e);
|
|
11515
11553
|
return e;
|
|
11516
11554
|
};
|
|
11517
11555
|
const ih = "sonic-card-main";
|
|
11518
|
-
let
|
|
11556
|
+
let oi = class extends w {
|
|
11519
11557
|
render() {
|
|
11520
11558
|
return m`<slot></slot>`;
|
|
11521
11559
|
}
|
|
11522
11560
|
};
|
|
11523
|
-
|
|
11561
|
+
oi.styles = [
|
|
11524
11562
|
P`
|
|
11525
11563
|
:host {
|
|
11526
11564
|
display: block;
|
|
11527
11565
|
}
|
|
11528
11566
|
`
|
|
11529
11567
|
];
|
|
11530
|
-
|
|
11568
|
+
oi = sh([
|
|
11531
11569
|
_(ih)
|
|
11532
|
-
],
|
|
11570
|
+
], oi);
|
|
11533
11571
|
var rh = Object.getOwnPropertyDescriptor, oh = (r, t, i, s) => {
|
|
11534
11572
|
for (var e = s > 1 ? void 0 : s ? rh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11535
11573
|
(n = r[o]) && (e = n(e) || e);
|
|
11536
11574
|
return e;
|
|
11537
11575
|
};
|
|
11538
11576
|
const nh = "sonic-card-footer";
|
|
11539
|
-
let
|
|
11577
|
+
let ni = class extends w {
|
|
11540
11578
|
render() {
|
|
11541
11579
|
return m` <slot></slot> `;
|
|
11542
11580
|
}
|
|
11543
11581
|
};
|
|
11544
|
-
|
|
11582
|
+
ni.styles = [
|
|
11545
11583
|
P`
|
|
11546
11584
|
:host {
|
|
11547
11585
|
display: block;
|
|
11548
11586
|
}
|
|
11549
11587
|
`
|
|
11550
11588
|
];
|
|
11551
|
-
|
|
11589
|
+
ni = oh([
|
|
11552
11590
|
_(nh)
|
|
11553
|
-
],
|
|
11591
|
+
], ni);
|
|
11554
11592
|
const Ei = P`
|
|
11555
11593
|
:host {
|
|
11556
11594
|
--sc-_color: inherit;
|
|
@@ -11694,13 +11732,13 @@ jr([
|
|
|
11694
11732
|
Ss = jr([
|
|
11695
11733
|
_(hh)
|
|
11696
11734
|
], Ss);
|
|
11697
|
-
var dh = Object.defineProperty, ph = Object.getOwnPropertyDescriptor,
|
|
11735
|
+
var dh = Object.defineProperty, ph = Object.getOwnPropertyDescriptor, ls = (r, t, i, s) => {
|
|
11698
11736
|
for (var e = s > 1 ? void 0 : s ? ph(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11699
11737
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11700
11738
|
return s && e && dh(t, i, e), e;
|
|
11701
11739
|
};
|
|
11702
11740
|
const uh = "sonic-tr";
|
|
11703
|
-
let me = class extends
|
|
11741
|
+
let me = class extends G(w) {
|
|
11704
11742
|
constructor() {
|
|
11705
11743
|
super(...arguments), this._metadata_ = {};
|
|
11706
11744
|
}
|
|
@@ -11733,19 +11771,19 @@ me.styles = [
|
|
|
11733
11771
|
}
|
|
11734
11772
|
`
|
|
11735
11773
|
];
|
|
11736
|
-
|
|
11774
|
+
ls([
|
|
11737
11775
|
a({ type: Object })
|
|
11738
11776
|
], me.prototype, "_metadata_", 2);
|
|
11739
|
-
|
|
11777
|
+
ls([
|
|
11740
11778
|
a({ type: Boolean, reflect: !0 })
|
|
11741
11779
|
], me.prototype, "even", 2);
|
|
11742
|
-
|
|
11780
|
+
ls([
|
|
11743
11781
|
a({ type: Boolean, reflect: !0 })
|
|
11744
11782
|
], me.prototype, "odd", 2);
|
|
11745
|
-
|
|
11783
|
+
ls([
|
|
11746
11784
|
a({ type: Boolean, reflect: !0 })
|
|
11747
11785
|
], me.prototype, "last", 2);
|
|
11748
|
-
me =
|
|
11786
|
+
me = ls([
|
|
11749
11787
|
_(uh)
|
|
11750
11788
|
], me);
|
|
11751
11789
|
var fh = Object.defineProperty, mh = Object.getOwnPropertyDescriptor, we = (r, t, i, s) => {
|
|
@@ -11764,7 +11802,7 @@ let Wt = class extends w {
|
|
|
11764
11802
|
};
|
|
11765
11803
|
return m`<th
|
|
11766
11804
|
part="th"
|
|
11767
|
-
style=${
|
|
11805
|
+
style=${ut(r)}
|
|
11768
11806
|
colspan=${$(this.colSpan)}
|
|
11769
11807
|
rowspan=${$(this.rowSpan)}
|
|
11770
11808
|
>
|
|
@@ -11835,7 +11873,7 @@ let Tt = class extends w {
|
|
|
11835
11873
|
maxWidth: this.maxWidth,
|
|
11836
11874
|
width: this.width
|
|
11837
11875
|
};
|
|
11838
|
-
return m`<td part="td" style=${
|
|
11876
|
+
return m`<td part="td" style=${ut(r)} colspan=${$(this.colSpan)} rowspan=${$(this.rowSpan)}>
|
|
11839
11877
|
<slot></slot>
|
|
11840
11878
|
</td>`;
|
|
11841
11879
|
}
|
|
@@ -11887,35 +11925,35 @@ var wh = Object.getOwnPropertyDescriptor, _h = (r, t, i, s) => {
|
|
|
11887
11925
|
return e;
|
|
11888
11926
|
};
|
|
11889
11927
|
const xh = "sonic-thead";
|
|
11890
|
-
let
|
|
11928
|
+
let ai = class extends w {
|
|
11891
11929
|
render() {
|
|
11892
11930
|
return m`<slot></slot>`;
|
|
11893
11931
|
}
|
|
11894
11932
|
};
|
|
11895
|
-
|
|
11933
|
+
ai.styles = [
|
|
11896
11934
|
P`
|
|
11897
11935
|
:host {
|
|
11898
11936
|
display: table-header-group;
|
|
11899
11937
|
}
|
|
11900
11938
|
`
|
|
11901
11939
|
];
|
|
11902
|
-
|
|
11940
|
+
ai = _h([
|
|
11903
11941
|
_(xh)
|
|
11904
|
-
],
|
|
11942
|
+
], ai);
|
|
11905
11943
|
var Ph = Object.getOwnPropertyDescriptor, $h = (r, t, i, s) => {
|
|
11906
11944
|
for (var e = s > 1 ? void 0 : s ? Ph(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11907
11945
|
(n = r[o]) && (e = n(e) || e);
|
|
11908
11946
|
return e;
|
|
11909
11947
|
};
|
|
11910
11948
|
const Ch = "sonic-tbody";
|
|
11911
|
-
let
|
|
11949
|
+
let li = class extends w {
|
|
11912
11950
|
render() {
|
|
11913
11951
|
return m`<tbody part="tbody">
|
|
11914
11952
|
<slot></slot>
|
|
11915
11953
|
</tbody>`;
|
|
11916
11954
|
}
|
|
11917
11955
|
};
|
|
11918
|
-
|
|
11956
|
+
li.styles = [
|
|
11919
11957
|
P`
|
|
11920
11958
|
:host {
|
|
11921
11959
|
display: table-row-group;
|
|
@@ -11935,44 +11973,44 @@ ai.styles = [
|
|
|
11935
11973
|
}
|
|
11936
11974
|
`
|
|
11937
11975
|
];
|
|
11938
|
-
|
|
11976
|
+
li = $h([
|
|
11939
11977
|
_(Ch)
|
|
11940
|
-
],
|
|
11978
|
+
], li);
|
|
11941
11979
|
var Sh = Object.getOwnPropertyDescriptor, Ah = (r, t, i, s) => {
|
|
11942
11980
|
for (var e = s > 1 ? void 0 : s ? Sh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11943
11981
|
(n = r[o]) && (e = n(e) || e);
|
|
11944
11982
|
return e;
|
|
11945
11983
|
};
|
|
11946
11984
|
const kh = "sonic-tfoot";
|
|
11947
|
-
let
|
|
11985
|
+
let ci = class extends w {
|
|
11948
11986
|
render() {
|
|
11949
11987
|
return m`<tfoot>
|
|
11950
11988
|
<slot></slot>
|
|
11951
11989
|
</tfoot>`;
|
|
11952
11990
|
}
|
|
11953
11991
|
};
|
|
11954
|
-
|
|
11992
|
+
ci.styles = [
|
|
11955
11993
|
P`
|
|
11956
11994
|
:host {
|
|
11957
11995
|
display: contents;
|
|
11958
11996
|
}
|
|
11959
11997
|
`
|
|
11960
11998
|
];
|
|
11961
|
-
|
|
11999
|
+
ci = Ah([
|
|
11962
12000
|
_(kh)
|
|
11963
|
-
],
|
|
12001
|
+
], ci);
|
|
11964
12002
|
var Oh = Object.getOwnPropertyDescriptor, Dh = (r, t, i, s) => {
|
|
11965
12003
|
for (var e = s > 1 ? void 0 : s ? Oh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11966
12004
|
(n = r[o]) && (e = n(e) || e);
|
|
11967
12005
|
return e;
|
|
11968
12006
|
};
|
|
11969
12007
|
const Lh = "sonic-caption";
|
|
11970
|
-
let
|
|
12008
|
+
let hi = class extends w {
|
|
11971
12009
|
render() {
|
|
11972
12010
|
return m`<slot></slot>`;
|
|
11973
12011
|
}
|
|
11974
12012
|
};
|
|
11975
|
-
|
|
12013
|
+
hi.styles = [
|
|
11976
12014
|
P`
|
|
11977
12015
|
:host {
|
|
11978
12016
|
display: table-caption;
|
|
@@ -11982,9 +12020,9 @@ ci.styles = [
|
|
|
11982
12020
|
}
|
|
11983
12021
|
`
|
|
11984
12022
|
];
|
|
11985
|
-
|
|
12023
|
+
hi = Dh([
|
|
11986
12024
|
_(Lh)
|
|
11987
|
-
],
|
|
12025
|
+
], hi);
|
|
11988
12026
|
var Eh = Object.defineProperty, Nh = Object.getOwnPropertyDescriptor, Me = (r, t, i, s) => {
|
|
11989
12027
|
for (var e = s > 1 ? void 0 : s ? Nh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11990
12028
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
@@ -11999,7 +12037,7 @@ let te = class extends w {
|
|
|
11999
12037
|
return m`
|
|
12000
12038
|
<div
|
|
12001
12039
|
class="table-container ${this.noCustomScroll ? "" : "custom-scroll"}"
|
|
12002
|
-
style=${
|
|
12040
|
+
style=${ut(r)}
|
|
12003
12041
|
>
|
|
12004
12042
|
<div class="table">
|
|
12005
12043
|
<slot></slot>
|
|
@@ -12009,7 +12047,7 @@ let te = class extends w {
|
|
|
12009
12047
|
}
|
|
12010
12048
|
};
|
|
12011
12049
|
te.styles = [
|
|
12012
|
-
|
|
12050
|
+
ss,
|
|
12013
12051
|
Mt,
|
|
12014
12052
|
P`
|
|
12015
12053
|
:host {
|
|
@@ -12326,7 +12364,7 @@ const zh = P`
|
|
|
12326
12364
|
transform-origin: center;
|
|
12327
12365
|
}
|
|
12328
12366
|
`;
|
|
12329
|
-
var Rh = Object.defineProperty, Uh = Object.getOwnPropertyDescriptor,
|
|
12367
|
+
var Rh = Object.defineProperty, Uh = Object.getOwnPropertyDescriptor, js = (r, t, i, s) => {
|
|
12330
12368
|
for (var e = s > 1 ? void 0 : s ? Uh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
12331
12369
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
12332
12370
|
return s && e && Rh(t, i, e), e;
|
|
@@ -12373,7 +12411,7 @@ let Ae = class extends se(w) {
|
|
|
12373
12411
|
render() {
|
|
12374
12412
|
if (!this.key)
|
|
12375
12413
|
return S;
|
|
12376
|
-
const t =
|
|
12414
|
+
const t = Zt.getLanguage().match("^fr\\b") ? {
|
|
12377
12415
|
aria: "Visitez altcha.org",
|
|
12378
12416
|
error: "La vérification a échoué, réessayez plus tard.",
|
|
12379
12417
|
expired: "La vérification a expiré, réessayez.",
|
|
@@ -12430,16 +12468,16 @@ Ae.styles = [
|
|
|
12430
12468
|
}
|
|
12431
12469
|
`
|
|
12432
12470
|
];
|
|
12433
|
-
|
|
12471
|
+
js([
|
|
12434
12472
|
a()
|
|
12435
12473
|
], Ae.prototype, "key", 2);
|
|
12436
|
-
|
|
12474
|
+
js([
|
|
12437
12475
|
a()
|
|
12438
12476
|
], Ae.prototype, "action", 2);
|
|
12439
|
-
|
|
12477
|
+
js([
|
|
12440
12478
|
a({ type: Number })
|
|
12441
12479
|
], Ae.prototype, "zIndex", 2);
|
|
12442
|
-
Ae =
|
|
12480
|
+
Ae = js([
|
|
12443
12481
|
_(qh)
|
|
12444
12482
|
], Ae);
|
|
12445
12483
|
window.queueMicrotask = window.queueMicrotask || function(r) {
|
|
@@ -12474,7 +12512,7 @@ function Kh(r) {
|
|
|
12474
12512
|
};
|
|
12475
12513
|
const i = t.shift() || "";
|
|
12476
12514
|
let s = T.get(i);
|
|
12477
|
-
return s =
|
|
12515
|
+
return s = ts.traverse(s, t), function(e, o) {
|
|
12478
12516
|
if (!e) return;
|
|
12479
12517
|
let n;
|
|
12480
12518
|
zr(e), e.__onConnected__((l) => {
|
|
@@ -12494,7 +12532,7 @@ function Yh(...r) {
|
|
|
12494
12532
|
continue;
|
|
12495
12533
|
const n = o.shift() || "";
|
|
12496
12534
|
let l = T.get(n);
|
|
12497
|
-
l =
|
|
12535
|
+
l = ts.traverse(l, o);
|
|
12498
12536
|
const c = /* @__PURE__ */ new Set(), h = (u) => {
|
|
12499
12537
|
t[s] = u, t.filter((d) => d !== null).length == r.length && c.forEach((d) => d(...t));
|
|
12500
12538
|
};
|
|
@@ -12526,11 +12564,11 @@ window["concorde-directives-data-provider"] = {
|
|
|
12526
12564
|
get: So,
|
|
12527
12565
|
set: ko
|
|
12528
12566
|
};
|
|
12529
|
-
const
|
|
12567
|
+
const Zh = O, Xh = M;
|
|
12530
12568
|
window["concorde-components"] = window["concorde-components"] || {};
|
|
12531
12569
|
window["concorde-components"] = {
|
|
12532
|
-
SonicToast:
|
|
12533
|
-
SonicModal:
|
|
12570
|
+
SonicToast: Zh,
|
|
12571
|
+
SonicModal: Xh
|
|
12534
12572
|
};
|
|
12535
12573
|
const Gh = window;
|
|
12536
12574
|
Gh.concordeIsLoaded = !0;
|