@supersoniks/concorde 4.0.0 → 4.1.0
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 +64 -64
- package/concorde-core.es.js +439 -401
- package/dist/concorde-core.bundle.js +64 -64
- package/dist/concorde-core.es.js +439 -401
- package/package.json +2 -1
- package/src/core/components/ui/icon/icons.ts +5 -1
- package/src/core/decorators/lifecycle.ts +79 -0
- package/src/core/utils/HTML.ts +62 -0
- package/src/decorators.ts +5 -0
- package/src/docs/_misc/wait-for-ancestors.md +160 -0
- package/src/docs/example/decorators-demo.ts +265 -0
- package/src/docs/navigation/navigation.ts +4 -1
- package/src/docs/search/docs-search.json +210 -0
- package/src/tsconfig.json +3 -0
- package/src/tsconfig.tsbuildinfo +1 -1
package/dist/concorde-core.es.js
CHANGED
|
@@ -88,6 +88,44 @@ let Q = class Dt {
|
|
|
88
88
|
static getClosestForm(t) {
|
|
89
89
|
return Dt.getClosestElement(t, "form");
|
|
90
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* Parcourt les ancêtres (parentNode / shadow host) et collecte ceux dont le tagName
|
|
93
|
+
* correspond à l'un des noms fournis (comparaison insensible à la casse).
|
|
94
|
+
* @param node Élément de départ
|
|
95
|
+
* @param tagNames Noms de balises à rechercher (ex: ['sonic-subscriber', 'sonic-sdui'])
|
|
96
|
+
* @returns Tableau des ancêtres correspondants
|
|
97
|
+
*/
|
|
98
|
+
static getAncestorsByTagNames(t, i) {
|
|
99
|
+
const s = new Set(i.map((n) => n.toLowerCase())), e = [];
|
|
100
|
+
let o = t.parentNode || t.host;
|
|
101
|
+
for (; o; )
|
|
102
|
+
o instanceof Element && s.has(o.tagName.toLowerCase()) && e.push(o), o = o.parentNode || o.host;
|
|
103
|
+
return e;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Parcourt les ancêtres (parentNode / shadow host) et collecte ceux qui matchent
|
|
107
|
+
* l'un des sélecteurs CSS fournis (element.matches(selector)).
|
|
108
|
+
* @param node Élément de départ
|
|
109
|
+
* @param selectors Sélecteurs CSS (ex: ['sonic-subscriber', 'sonic-sdui', 'div.container'])
|
|
110
|
+
* @returns Tableau des ancêtres correspondants
|
|
111
|
+
*/
|
|
112
|
+
static getAncestorsBySelectors(t, i) {
|
|
113
|
+
const s = [];
|
|
114
|
+
let e = t.parentNode || t.host;
|
|
115
|
+
for (; e; ) {
|
|
116
|
+
if (e instanceof Element)
|
|
117
|
+
for (const o of i)
|
|
118
|
+
try {
|
|
119
|
+
if (e.matches(o)) {
|
|
120
|
+
s.push(e);
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
} catch {
|
|
124
|
+
}
|
|
125
|
+
e = e.parentNode || e.host;
|
|
126
|
+
}
|
|
127
|
+
return s;
|
|
128
|
+
}
|
|
91
129
|
/**
|
|
92
130
|
* Lance le chargement d'un js et retourne une promise qui resoud à true lorsque le chargement à réussi et à false, sinon.
|
|
93
131
|
* */
|
|
@@ -119,7 +157,7 @@ const mi = (r) => {
|
|
|
119
157
|
};
|
|
120
158
|
i.observe(t, s);
|
|
121
159
|
};
|
|
122
|
-
let
|
|
160
|
+
let bs = class {
|
|
123
161
|
/**
|
|
124
162
|
* Passe le premier caractère de la chaine en majuscule
|
|
125
163
|
*/
|
|
@@ -247,8 +285,8 @@ let ji = br.replace(
|
|
|
247
285
|
/-([a-z])/g,
|
|
248
286
|
(r) => r[1].toUpperCase()
|
|
249
287
|
);
|
|
250
|
-
const
|
|
251
|
-
function
|
|
288
|
+
const gs = ji.charAt(0).toUpperCase() + ji.slice(1);
|
|
289
|
+
function cs(r) {
|
|
252
290
|
return Object.prototype.hasOwnProperty.call(r, "__value");
|
|
253
291
|
}
|
|
254
292
|
function Ve(r) {
|
|
@@ -413,12 +451,12 @@ const Us = xe == "sonic" ? "publisher-proxies-data" : xe + "-publisher-proxies-d
|
|
|
413
451
|
* Assigne une nouvelle valeur au proxy ce qui déclenche la transmission de la donnée en fonction des "écouteurs" associés
|
|
414
452
|
*/
|
|
415
453
|
set(t, i = !1) {
|
|
416
|
-
if (this._value_ === t || this._value_ && t &&
|
|
454
|
+
if (this._value_ === t || this._value_ && t && cs(this._value_) && cs(t) && this._value_.__value === t.__value)
|
|
417
455
|
return !0;
|
|
418
456
|
this._value_ = Ve(t) ? t : { __value: t }, this._cachedGet_ = void 0;
|
|
419
|
-
const s =
|
|
457
|
+
const s = cs(this._value_);
|
|
420
458
|
if (this._parentKey_ && this.parent) {
|
|
421
|
-
const e =
|
|
459
|
+
const e = cs(this._value_) ? this._value_.__value : this._value_;
|
|
422
460
|
if (this.parent?.get() == null && this.parent?.get() == null)
|
|
423
461
|
if (isNaN(Number(this._parentKey_)))
|
|
424
462
|
this.parent.set({ [this._parentKey_]: e });
|
|
@@ -471,11 +509,11 @@ const Us = xe == "sonic" ? "publisher-proxies-data" : xe + "-publisher-proxies-d
|
|
|
471
509
|
}
|
|
472
510
|
};
|
|
473
511
|
Wt.instances = /* @__PURE__ */ new Map(), Wt.instancesCounter = 0;
|
|
474
|
-
let
|
|
475
|
-
const
|
|
512
|
+
let We = Wt;
|
|
513
|
+
const T = class T {
|
|
476
514
|
constructor() {
|
|
477
|
-
if (this.enabledLocaStorageProxies = [], this.publishers = /* @__PURE__ */ new Map(), this.localStorageData = {}, this.isLocalStrorageReady = null, this.initialisedData = [],
|
|
478
|
-
|
|
515
|
+
if (this.enabledLocaStorageProxies = [], this.publishers = /* @__PURE__ */ new Map(), this.localStorageData = {}, this.isLocalStrorageReady = null, this.initialisedData = [], T.instance != null) throw "Singleton / use getInstance";
|
|
516
|
+
T.instance = this, this.isLocalStrorageReady = this.cleanStorageData();
|
|
479
517
|
}
|
|
480
518
|
invalidateAll() {
|
|
481
519
|
this.publishers.forEach((t) => {
|
|
@@ -514,39 +552,39 @@ const N = class N {
|
|
|
514
552
|
*/
|
|
515
553
|
static getInstance(t) {
|
|
516
554
|
if (t) {
|
|
517
|
-
const i =
|
|
555
|
+
const i = T.instances.get(t);
|
|
518
556
|
return i || (console.warn(
|
|
519
557
|
"No PublisherManager instance registered with id:",
|
|
520
558
|
t,
|
|
521
559
|
"creating new one"
|
|
522
|
-
), new
|
|
560
|
+
), new T());
|
|
523
561
|
}
|
|
524
|
-
return
|
|
562
|
+
return T.instance == null ? new T() : T.instance;
|
|
525
563
|
}
|
|
526
564
|
static registerInstance(t, i) {
|
|
527
|
-
|
|
565
|
+
T.instances.has(t) && console.warn(
|
|
528
566
|
"PublisherManager instance already registered with id: ",
|
|
529
567
|
t
|
|
530
|
-
),
|
|
568
|
+
), T.instances.set(t, i);
|
|
531
569
|
}
|
|
532
570
|
/**
|
|
533
571
|
* shortcut static pour obtenir un publisher vias sont id/adresse sans taper getInstance.
|
|
534
572
|
* Si le publisher n'existe pas, il est créé.
|
|
535
573
|
*/
|
|
536
574
|
static get(t, i) {
|
|
537
|
-
return
|
|
575
|
+
return T.getInstance().get(t, i);
|
|
538
576
|
}
|
|
539
577
|
static collectModifiedPublisher() {
|
|
540
|
-
|
|
578
|
+
T.modifiedCollectore.unshift(/* @__PURE__ */ new Set());
|
|
541
579
|
}
|
|
542
580
|
static getModifiedPublishers() {
|
|
543
|
-
return
|
|
581
|
+
return T.modifiedCollectore.shift();
|
|
544
582
|
}
|
|
545
583
|
/**
|
|
546
584
|
* shortcut static pour supprimer un publisher de la liste et appel également delete sur le publisher ce qui le supprime, de même que ses sous publishers
|
|
547
585
|
*/
|
|
548
586
|
static delete(t) {
|
|
549
|
-
return t ?
|
|
587
|
+
return t ? T.getInstance().delete(t) : !1;
|
|
550
588
|
}
|
|
551
589
|
/**
|
|
552
590
|
* Obtenir un publisher vias sont id/adresse
|
|
@@ -588,10 +626,10 @@ const N = class N {
|
|
|
588
626
|
return this.publishers.has(t) ? (this.publishers.delete(t), !0) : !1;
|
|
589
627
|
}
|
|
590
628
|
async saveToLocalStorage(t = 0) {
|
|
591
|
-
if (!(t !==
|
|
629
|
+
if (!(t !== T.saveId && t % 10 != 0))
|
|
592
630
|
try {
|
|
593
|
-
if (!
|
|
594
|
-
|
|
631
|
+
if (!T.changed || T.saving) return;
|
|
632
|
+
T.saving = !0, T.changed = !1;
|
|
595
633
|
const i = Array.from(this.publishers.keys());
|
|
596
634
|
let s = !1;
|
|
597
635
|
for (const e of i) {
|
|
@@ -611,13 +649,13 @@ const N = class N {
|
|
|
611
649
|
);
|
|
612
650
|
localStorage.setItem(Us, e);
|
|
613
651
|
}
|
|
614
|
-
if (
|
|
615
|
-
|
|
616
|
-
const e =
|
|
652
|
+
if (T.saving = !1, T.changed) {
|
|
653
|
+
T.saveId++;
|
|
654
|
+
const e = T.saveId;
|
|
617
655
|
setTimeout(() => this.saveToLocalStorage(e), 1e3);
|
|
618
656
|
}
|
|
619
657
|
} catch {
|
|
620
|
-
|
|
658
|
+
T.saving = !1;
|
|
621
659
|
}
|
|
622
660
|
}
|
|
623
661
|
async compress(t, i) {
|
|
@@ -639,11 +677,11 @@ const N = class N {
|
|
|
639
677
|
return new TextDecoder().decode(h);
|
|
640
678
|
}
|
|
641
679
|
};
|
|
642
|
-
|
|
643
|
-
let k =
|
|
680
|
+
T.buildDate = "Mon Feb 23 2026 15:25:57 GMT+0100 (Central European Standard Time)", T.changed = !1, T.saving = !1, T.saveId = 0, T.instance = null, T.instances = /* @__PURE__ */ new Map(), T.modifiedCollectore = [];
|
|
681
|
+
let k = T;
|
|
644
682
|
if (typeof window < "u") {
|
|
645
683
|
const r = window;
|
|
646
|
-
r[
|
|
684
|
+
r[gs + "PublisherManager"] = r[gs + "PublisherManager"] || k;
|
|
647
685
|
}
|
|
648
686
|
const Wr = /* @__PURE__ */ new Set([
|
|
649
687
|
"invalidate",
|
|
@@ -767,7 +805,7 @@ function Kr(r, t) {
|
|
|
767
805
|
};
|
|
768
806
|
}
|
|
769
807
|
function Ys(r, t = null, i) {
|
|
770
|
-
const s = new
|
|
808
|
+
const s = new We(r, t, i);
|
|
771
809
|
let e = null;
|
|
772
810
|
const o = Kr(s, () => e);
|
|
773
811
|
return e = new Proxy(
|
|
@@ -782,7 +820,7 @@ class Yr extends HTMLElement {
|
|
|
782
820
|
};
|
|
783
821
|
}
|
|
784
822
|
connectedCallback() {
|
|
785
|
-
this.publisherId = this.getAttribute("publisher") || "", this.publisher =
|
|
823
|
+
this.publisherId = this.getAttribute("publisher") || "", this.publisher = We.instances.get(parseInt(this.publisherId)), this.publisher?.onAssign(this.onAssign);
|
|
786
824
|
}
|
|
787
825
|
disconnectedCallback() {
|
|
788
826
|
this.publisher?.offAssign(this.onAssign);
|
|
@@ -814,17 +852,17 @@ const ks = (r) => {
|
|
|
814
852
|
window.addEventListener("pageshow", (r) => {
|
|
815
853
|
r.persisted && k.getInstance().invalidateAll();
|
|
816
854
|
});
|
|
817
|
-
var
|
|
818
|
-
let Ds = (
|
|
855
|
+
var N;
|
|
856
|
+
let Ds = (N = class {
|
|
819
857
|
static disable() {
|
|
820
|
-
this.enabled && (this.enabled = !1, Array.from(
|
|
821
|
-
(t) =>
|
|
858
|
+
this.enabled && (this.enabled = !1, Array.from(N.observedElements.keys()).forEach(
|
|
859
|
+
(t) => N.unObserve(t)
|
|
822
860
|
));
|
|
823
861
|
}
|
|
824
862
|
static observe(t) {
|
|
825
|
-
if (!t || !
|
|
826
|
-
const i = new MutationObserver(
|
|
827
|
-
s.childList = !0, s.subtree = !0, s.attributes = !0, s.attributeFilter = ["data-bind"], i.observe(t, s), t.querySelectorAll("[data-bind]").forEach((e) =>
|
|
863
|
+
if (!t || !N.enabled || N.observedElements.has(t)) return;
|
|
864
|
+
const i = new MutationObserver(N.onMutation), s = {};
|
|
865
|
+
s.childList = !0, s.subtree = !0, s.attributes = !0, s.attributeFilter = ["data-bind"], i.observe(t, s), t.querySelectorAll("[data-bind]").forEach((e) => N.addPublisherListeners(e)), N.observedElements.set(t, i);
|
|
828
866
|
}
|
|
829
867
|
/**
|
|
830
868
|
* Arrêter à observer un élément html.
|
|
@@ -832,13 +870,13 @@ let Ds = (T = class {
|
|
|
832
870
|
static unObserve(t) {
|
|
833
871
|
if (!t) return;
|
|
834
872
|
const i = this.observedElements.get(t);
|
|
835
|
-
i && (i.disconnect(), t.querySelectorAll("[data-bind]").forEach((s) =>
|
|
873
|
+
i && (i.disconnect(), t.querySelectorAll("[data-bind]").forEach((s) => N.removePublisherListeners(s)));
|
|
836
874
|
}
|
|
837
875
|
static onAdded(t) {
|
|
838
|
-
t.hasAttribute && t.hasAttribute("data-bind") &&
|
|
876
|
+
t.hasAttribute && t.hasAttribute("data-bind") && N.addPublisherListeners(t), t.querySelectorAll ? t.querySelectorAll("[data-bind]").forEach((i) => N.addPublisherListeners(i)) : t.childNodes.forEach((i) => N.onAdded(i));
|
|
839
877
|
}
|
|
840
878
|
static onRemoved(t) {
|
|
841
|
-
t.hasAttribute && t.hasAttribute("data-bind") &&
|
|
879
|
+
t.hasAttribute && t.hasAttribute("data-bind") && N.removePublisherListeners(t), t.querySelectorAll ? t.querySelectorAll("[data-bind]").forEach((i) => N.removePublisherListeners(i)) : t.childNodes.forEach((i) => N.onRemoved(i));
|
|
842
880
|
}
|
|
843
881
|
/**
|
|
844
882
|
* Callback appelé par le MutationObserver
|
|
@@ -847,13 +885,13 @@ let Ds = (T = class {
|
|
|
847
885
|
for (const i of t)
|
|
848
886
|
switch (i.type) {
|
|
849
887
|
case "attributes":
|
|
850
|
-
|
|
888
|
+
N.addPublisherListeners(i.target);
|
|
851
889
|
break;
|
|
852
890
|
case "childList":
|
|
853
891
|
i.addedNodes.forEach((s) => {
|
|
854
|
-
|
|
892
|
+
N.onAdded(s);
|
|
855
893
|
}), i.removedNodes.forEach((s) => {
|
|
856
|
-
|
|
894
|
+
N.onRemoved(s);
|
|
857
895
|
});
|
|
858
896
|
break;
|
|
859
897
|
}
|
|
@@ -862,8 +900,8 @@ let Ds = (T = class {
|
|
|
862
900
|
* La liaison avec le publisher supprimée ici.
|
|
863
901
|
*/
|
|
864
902
|
static removePublisherListeners(t) {
|
|
865
|
-
const i =
|
|
866
|
-
i && (
|
|
903
|
+
const i = N.publisherListeners.get(t);
|
|
904
|
+
i && (N.publisherListeners.delete(t), i.forEach((s) => {
|
|
867
905
|
s.publisher?.offAssign(s.onAssign);
|
|
868
906
|
}));
|
|
869
907
|
}
|
|
@@ -896,7 +934,7 @@ let Ds = (T = class {
|
|
|
896
934
|
static getDataBindItems(t) {
|
|
897
935
|
return "attributes" in t ? Array.from(t.attributes).filter((i) => i.name.indexOf("::") == 0).map((i) => ({
|
|
898
936
|
propertyToUpdate: i.name.substring(2).replace(/-((html)|\w)/g, (e) => e.substring(1).toUpperCase()),
|
|
899
|
-
bindedVariablesDescriptor:
|
|
937
|
+
bindedVariablesDescriptor: N.getVariablesDescriptor(i.value)
|
|
900
938
|
})) : [];
|
|
901
939
|
}
|
|
902
940
|
/**
|
|
@@ -919,23 +957,23 @@ let Ds = (T = class {
|
|
|
919
957
|
* TODO Sans doute factoriser
|
|
920
958
|
*/
|
|
921
959
|
static addPublisherListeners(t) {
|
|
922
|
-
|
|
960
|
+
N.removePublisherListeners(t);
|
|
923
961
|
const i = Q.getAncestorAttributeValue(
|
|
924
962
|
t.parentNode || t.host || t,
|
|
925
963
|
"dataProvider"
|
|
926
964
|
);
|
|
927
965
|
if (!i) return;
|
|
928
|
-
const s = k.getInstance().get(i), e =
|
|
966
|
+
const s = k.getInstance().get(i), e = N.getDataBindItems(t), o = [];
|
|
929
967
|
e.forEach((n) => {
|
|
930
968
|
const l = n.bindedVariablesDescriptor, c = n.propertyToUpdate;
|
|
931
969
|
for (const h of l.variables) {
|
|
932
970
|
const u = h;
|
|
933
971
|
let d = s;
|
|
934
|
-
d =
|
|
972
|
+
d = N.getSubPublisher(s, u);
|
|
935
973
|
const g = t, m = {
|
|
936
974
|
publisher: d,
|
|
937
975
|
onAssign: () => {
|
|
938
|
-
const v = l.variables.map((L) =>
|
|
976
|
+
const v = l.variables.map((L) => N.getSubPublisher(s, L)?.get());
|
|
939
977
|
let y = l.expression, P = !1;
|
|
940
978
|
if (v.length == 1 && l.variables[0].join(".") == y.substring(1)) {
|
|
941
979
|
let L = v[0];
|
|
@@ -950,9 +988,9 @@ let Ds = (T = class {
|
|
|
950
988
|
if (y.indexOf("|") != -1) {
|
|
951
989
|
const L = y.indexOf("|");
|
|
952
990
|
if (L == 0)
|
|
953
|
-
y =
|
|
991
|
+
y = bs.js(y.substring(1));
|
|
954
992
|
else {
|
|
955
|
-
const p = y.substring(0, L), f = y.substring(L + 1), w =
|
|
993
|
+
const p = y.substring(0, L), f = y.substring(L + 1), w = bs[p];
|
|
956
994
|
y = P ? "" : w ? w(f) : y;
|
|
957
995
|
}
|
|
958
996
|
} else
|
|
@@ -962,9 +1000,9 @@ let Ds = (T = class {
|
|
|
962
1000
|
};
|
|
963
1001
|
d?.onAssign(m.onAssign), o.push(m);
|
|
964
1002
|
}
|
|
965
|
-
}),
|
|
1003
|
+
}), N.publisherListeners.set(t, o);
|
|
966
1004
|
}
|
|
967
|
-
},
|
|
1005
|
+
}, N.observedElements = /* @__PURE__ */ new Map(), N.enabled = !0, N.publisherListeners = /* @__PURE__ */ new Map(), N);
|
|
968
1006
|
Ds.observe(document.documentElement);
|
|
969
1007
|
window.SonicDataBindObserver || (window.SonicDataBindObserver = Ds);
|
|
970
1008
|
/**
|
|
@@ -982,7 +1020,7 @@ const x = (r) => (t, i) => {
|
|
|
982
1020
|
* Copyright 2019 Google LLC
|
|
983
1021
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
984
1022
|
*/
|
|
985
|
-
const
|
|
1023
|
+
const ps = globalThis, bi = ps.ShadowRoot && (ps.ShadyCSS === void 0 || ps.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, gi = Symbol(), Fi = /* @__PURE__ */ new WeakMap();
|
|
986
1024
|
let vr = class {
|
|
987
1025
|
constructor(t, i, s) {
|
|
988
1026
|
if (this._$cssResult$ = !0, s !== gi) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -1011,7 +1049,7 @@ const Qr = (r) => new vr(typeof r == "string" ? r : r + "", void 0, gi), $ = (r,
|
|
|
1011
1049
|
}, Jr = (r, t) => {
|
|
1012
1050
|
if (bi) r.adoptedStyleSheets = t.map(((i) => i instanceof CSSStyleSheet ? i : i.styleSheet));
|
|
1013
1051
|
else for (const i of t) {
|
|
1014
|
-
const s = document.createElement("style"), e =
|
|
1052
|
+
const s = document.createElement("style"), e = ps.litNonce;
|
|
1015
1053
|
e !== void 0 && s.setAttribute("nonce", e), s.textContent = i.cssText, r.appendChild(s);
|
|
1016
1054
|
}
|
|
1017
1055
|
}, zi = bi ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
|
|
@@ -1024,7 +1062,7 @@ const Qr = (r) => new vr(typeof r == "string" ? r : r + "", void 0, gi), $ = (r,
|
|
|
1024
1062
|
* Copyright 2017 Google LLC
|
|
1025
1063
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1026
1064
|
*/
|
|
1027
|
-
const { is: to, defineProperty: eo, getOwnPropertyDescriptor: so, getOwnPropertyNames: io, getOwnPropertySymbols: ro, getPrototypeOf: oo } = Object, Ls = globalThis, Ri = Ls.trustedTypes, no = Ri ? Ri.emptyScript : "", ao = Ls.reactiveElementPolyfillSupport, Be = (r, t) => r,
|
|
1065
|
+
const { is: to, defineProperty: eo, getOwnPropertyDescriptor: so, getOwnPropertyNames: io, getOwnPropertySymbols: ro, getPrototypeOf: oo } = Object, Ls = globalThis, Ri = Ls.trustedTypes, no = Ri ? Ri.emptyScript : "", ao = Ls.reactiveElementPolyfillSupport, Be = (r, t) => r, vs = { toAttribute(r, t) {
|
|
1028
1066
|
switch (t) {
|
|
1029
1067
|
case Boolean:
|
|
1030
1068
|
r = r ? no : null;
|
|
@@ -1052,7 +1090,7 @@ const { is: to, defineProperty: eo, getOwnPropertyDescriptor: so, getOwnProperty
|
|
|
1052
1090
|
}
|
|
1053
1091
|
}
|
|
1054
1092
|
return i;
|
|
1055
|
-
} }, vi = (r, t) => !to(r, t), Ui = { attribute: !0, type: String, converter:
|
|
1093
|
+
} }, vi = (r, t) => !to(r, t), Ui = { attribute: !0, type: String, converter: vs, reflect: !1, useDefault: !1, hasChanged: vi };
|
|
1056
1094
|
Symbol.metadata ??= Symbol("metadata"), Ls.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
1057
1095
|
let we = class extends HTMLElement {
|
|
1058
1096
|
static addInitializer(t) {
|
|
@@ -1151,14 +1189,14 @@ let we = class extends HTMLElement {
|
|
|
1151
1189
|
_$ET(t, i) {
|
|
1152
1190
|
const s = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, s);
|
|
1153
1191
|
if (e !== void 0 && s.reflect === !0) {
|
|
1154
|
-
const o = (s.converter?.toAttribute !== void 0 ? s.converter :
|
|
1192
|
+
const o = (s.converter?.toAttribute !== void 0 ? s.converter : vs).toAttribute(i, s.type);
|
|
1155
1193
|
this._$Em = t, o == null ? this.removeAttribute(e) : this.setAttribute(e, o), this._$Em = null;
|
|
1156
1194
|
}
|
|
1157
1195
|
}
|
|
1158
1196
|
_$AK(t, i) {
|
|
1159
1197
|
const s = this.constructor, e = s._$Eh.get(t);
|
|
1160
1198
|
if (e !== void 0 && this._$Em !== e) {
|
|
1161
|
-
const o = s.getPropertyOptions(e), n = typeof o.converter == "function" ? { fromAttribute: o.converter } : o.converter?.fromAttribute !== void 0 ? o.converter :
|
|
1199
|
+
const o = s.getPropertyOptions(e), n = typeof o.converter == "function" ? { fromAttribute: o.converter } : o.converter?.fromAttribute !== void 0 ? o.converter : vs;
|
|
1162
1200
|
this._$Em = e;
|
|
1163
1201
|
const l = n.fromAttribute(i, o.type);
|
|
1164
1202
|
this[e] = l ?? this._$Ej?.get(e) ?? l, this._$Em = null;
|
|
@@ -1241,7 +1279,7 @@ we.elementStyles = [], we.shadowRootOptions = { mode: "open" }, we[Be("elementPr
|
|
|
1241
1279
|
* Copyright 2017 Google LLC
|
|
1242
1280
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1243
1281
|
*/
|
|
1244
|
-
const lo = { attribute: !0, type: String, converter:
|
|
1282
|
+
const lo = { attribute: !0, type: String, converter: vs, reflect: !1, hasChanged: vi }, co = (r = lo, t, i) => {
|
|
1245
1283
|
const { kind: s, metadata: e } = i;
|
|
1246
1284
|
let o = globalThis.litPropertyMetadata.get(e);
|
|
1247
1285
|
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") {
|
|
@@ -1327,7 +1365,7 @@ function ht(r) {
|
|
|
1327
1365
|
* Copyright 2017 Google LLC
|
|
1328
1366
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1329
1367
|
*/
|
|
1330
|
-
const wi = globalThis,
|
|
1368
|
+
const wi = globalThis, ys = wi.trustedTypes, Vi = ys ? ys.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, yr = "$lit$", Kt = `lit$${Math.random().toFixed(9).slice(2)}$`, wr = "?" + Kt, ho = `<${wr}>`, he = document, Ke = () => he.createComment(""), Ye = (r) => r === null || typeof r != "object" && typeof r != "function", _i = Array.isArray, uo = (r) => _i(r) || typeof r?.[Symbol.iterator] == "function", Vs = `[
|
|
1331
1369
|
\f\r]`, je = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Bi = /-->/g, qi = />/g, oe = RegExp(`>|${Vs}(?:([^\\s"'>=/]+)(${Vs}*=${Vs}*(?:[^
|
|
1332
1370
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Hi = /'/g, Wi = /"/g, _r = /^(?:script|style|textarea|title)$/i, po = (r) => (t, ...i) => ({ _$litType$: r, strings: t, values: i }), b = po(1), yt = Symbol.for("lit-noChange"), S = Symbol.for("lit-nothing"), Ki = /* @__PURE__ */ new WeakMap(), ce = he.createTreeWalker(he, 129);
|
|
1333
1371
|
function xr(r, t) {
|
|
@@ -1365,9 +1403,9 @@ let Zs = class Pr {
|
|
|
1365
1403
|
if (_r.test(e.tagName)) {
|
|
1366
1404
|
const d = e.textContent.split(Kt), g = d.length - 1;
|
|
1367
1405
|
if (g > 0) {
|
|
1368
|
-
e.textContent =
|
|
1369
|
-
for (let m = 0; m < g; m++) e.append(d[m],
|
|
1370
|
-
e.append(d[g],
|
|
1406
|
+
e.textContent = ys ? ys.emptyScript : "";
|
|
1407
|
+
for (let m = 0; m < g; m++) e.append(d[m], Ke()), ce.nextNode(), c.push({ type: 2, index: ++o });
|
|
1408
|
+
e.append(d[g], Ke());
|
|
1371
1409
|
}
|
|
1372
1410
|
}
|
|
1373
1411
|
} else if (e.nodeType === 8) if (e.data === wr) c.push({ type: 2, index: o });
|
|
@@ -1386,7 +1424,7 @@ let Zs = class Pr {
|
|
|
1386
1424
|
function Pe(r, t, i = r, s) {
|
|
1387
1425
|
if (t === yt) return t;
|
|
1388
1426
|
let e = s !== void 0 ? i._$Co?.[s] : i._$Cl;
|
|
1389
|
-
const o =
|
|
1427
|
+
const o = Ye(t) ? void 0 : t._$litDirective$;
|
|
1390
1428
|
return e?.constructor !== o && (e?._$AO?.(!1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, i, s)), s !== void 0 ? (i._$Co ??= [])[s] = e : i._$Cl = e), e !== void 0 && (t = Pe(r, e._$AS(r, t.values), e, s)), t;
|
|
1391
1429
|
}
|
|
1392
1430
|
let mo = class {
|
|
@@ -1436,7 +1474,7 @@ class ke {
|
|
|
1436
1474
|
return this._$AB;
|
|
1437
1475
|
}
|
|
1438
1476
|
_$AI(t, i = this) {
|
|
1439
|
-
t = Pe(this, t, i),
|
|
1477
|
+
t = Pe(this, t, i), Ye(t) ? t === S || t == null || t === "" ? (this._$AH !== S && this._$AR(), this._$AH = S) : t !== this._$AH && t !== yt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : uo(t) ? this.k(t) : this._(t);
|
|
1440
1478
|
}
|
|
1441
1479
|
O(t) {
|
|
1442
1480
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1445,7 +1483,7 @@ class ke {
|
|
|
1445
1483
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
1446
1484
|
}
|
|
1447
1485
|
_(t) {
|
|
1448
|
-
this._$AH !== S &&
|
|
1486
|
+
this._$AH !== S && Ye(this._$AH) ? this._$AA.nextSibling.data = t : this.T(he.createTextNode(t)), this._$AH = t;
|
|
1449
1487
|
}
|
|
1450
1488
|
$(t) {
|
|
1451
1489
|
const { values: i, _$litType$: s } = t, e = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = Zs.createElement(xr(s.h, s.h[0]), this.options)), s);
|
|
@@ -1463,7 +1501,7 @@ class ke {
|
|
|
1463
1501
|
_i(this._$AH) || (this._$AH = [], this._$AR());
|
|
1464
1502
|
const i = this._$AH;
|
|
1465
1503
|
let s, e = 0;
|
|
1466
|
-
for (const o of t) e === i.length ? i.push(s = new ke(this.O(
|
|
1504
|
+
for (const o of t) e === i.length ? i.push(s = new ke(this.O(Ke()), this.O(Ke()), this, this.options)) : s = i[e], s._$AI(o), e++;
|
|
1467
1505
|
e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
|
|
1468
1506
|
}
|
|
1469
1507
|
_$AR(t = this._$AA.nextSibling, i) {
|
|
@@ -1489,11 +1527,11 @@ class Es {
|
|
|
1489
1527
|
_$AI(t, i = this, s, e) {
|
|
1490
1528
|
const o = this.strings;
|
|
1491
1529
|
let n = !1;
|
|
1492
|
-
if (o === void 0) t = Pe(this, t, i, 0), n = !
|
|
1530
|
+
if (o === void 0) t = Pe(this, t, i, 0), n = !Ye(t) || t !== this._$AH && t !== yt, n && (this._$AH = t);
|
|
1493
1531
|
else {
|
|
1494
1532
|
const l = t;
|
|
1495
1533
|
let c, h;
|
|
1496
|
-
for (t = o[0], c = 0; c < o.length - 1; c++) h = Pe(this, l[s + c], i, c), h === yt && (h = this._$AH[c]), n ||= !
|
|
1534
|
+
for (t = o[0], c = 0; c < o.length - 1; c++) h = Pe(this, l[s + c], i, c), h === yt && (h = this._$AH[c]), n ||= !Ye(h) || h !== this._$AH[c], h === S ? t = S : t !== S && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
|
|
1497
1535
|
}
|
|
1498
1536
|
n && !e && this.j(t);
|
|
1499
1537
|
}
|
|
@@ -1548,7 +1586,7 @@ const xo = (r, t, i) => {
|
|
|
1548
1586
|
let e = s._$litPart$;
|
|
1549
1587
|
if (e === void 0) {
|
|
1550
1588
|
const o = i?.renderBefore ?? null;
|
|
1551
|
-
s._$litPart$ = e = new ke(t.insertBefore(
|
|
1589
|
+
s._$litPart$ = e = new ke(t.insertBefore(Ke(), o), o, void 0, i ?? {});
|
|
1552
1590
|
}
|
|
1553
1591
|
return e._$AI(r), e;
|
|
1554
1592
|
};
|
|
@@ -1612,7 +1650,7 @@ const qe = (r, t) => {
|
|
|
1612
1650
|
if (i === void 0) return !1;
|
|
1613
1651
|
for (const s of i) s._$AO?.(t, !1), qe(s, t);
|
|
1614
1652
|
return !0;
|
|
1615
|
-
},
|
|
1653
|
+
}, ws = (r) => {
|
|
1616
1654
|
let t, i;
|
|
1617
1655
|
do {
|
|
1618
1656
|
if ((t = r._$AM) === void 0) break;
|
|
@@ -1627,12 +1665,12 @@ const qe = (r, t) => {
|
|
|
1627
1665
|
}
|
|
1628
1666
|
};
|
|
1629
1667
|
function ko(r) {
|
|
1630
|
-
this._$AN !== void 0 ? (
|
|
1668
|
+
this._$AN !== void 0 ? (ws(this), this._$AM = r, $r(this)) : this._$AM = r;
|
|
1631
1669
|
}
|
|
1632
1670
|
function Oo(r, t = !1, i = 0) {
|
|
1633
1671
|
const s = this._$AH, e = this._$AN;
|
|
1634
|
-
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),
|
|
1635
|
-
else s != null && (qe(s, !1),
|
|
1672
|
+
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), ws(s[o]);
|
|
1673
|
+
else s != null && (qe(s, !1), ws(s));
|
|
1636
1674
|
else qe(this, r);
|
|
1637
1675
|
}
|
|
1638
1676
|
const Do = (r) => {
|
|
@@ -1646,7 +1684,7 @@ class xi extends Oe {
|
|
|
1646
1684
|
super._$AT(t, i, s), $r(this), this.isConnected = t._$AU;
|
|
1647
1685
|
}
|
|
1648
1686
|
_$AO(t, i = !0) {
|
|
1649
|
-
t !== this.isConnected && (this.isConnected = t, t ? this.reconnected?.() : this.disconnected?.()), i && (qe(this, t),
|
|
1687
|
+
t !== this.isConnected && (this.isConnected = t, t ? this.reconnected?.() : this.disconnected?.()), i && (qe(this, t), ws(this));
|
|
1650
1688
|
}
|
|
1651
1689
|
setValue(t) {
|
|
1652
1690
|
if ($o(this._$Ct)) this._$Ct._$AI(t, this);
|
|
@@ -2104,13 +2142,13 @@ V.publisher = k.get("sonic-wording", {
|
|
|
2104
2142
|
localStorageMode: "enabled"
|
|
2105
2143
|
}), V.firstCall = !0, V.versionProviderHandlers = /* @__PURE__ */ new Map();
|
|
2106
2144
|
let _e = V;
|
|
2107
|
-
const
|
|
2108
|
-
var
|
|
2109
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
2145
|
+
const No = ee(_e), To = No;
|
|
2146
|
+
var Mo = Object.defineProperty, Io = Object.getOwnPropertyDescriptor, kt = (r, t, i, s) => {
|
|
2147
|
+
for (var e = s > 1 ? void 0 : s ? Io(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
2110
2148
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
2111
|
-
return s && e &&
|
|
2149
|
+
return s && e && Mo(t, i, e), e;
|
|
2112
2150
|
};
|
|
2113
|
-
let
|
|
2151
|
+
let hs = !1, qs = /* @__PURE__ */ new Set();
|
|
2114
2152
|
const G = (r, t) => {
|
|
2115
2153
|
var e;
|
|
2116
2154
|
const i = (e = class extends r {
|
|
@@ -2179,11 +2217,11 @@ const G = (r, t) => {
|
|
|
2179
2217
|
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";
|
|
2180
2218
|
}
|
|
2181
2219
|
this.addEventListener("click", (n) => {
|
|
2182
|
-
n.ctrlKey && (n.preventDefault(),
|
|
2220
|
+
n.ctrlKey && (n.preventDefault(), hs = !hs);
|
|
2183
2221
|
}), this.dataProvider && (window[this.dataProvider] = this.publisher), this.addEventListener("mouseover", () => {
|
|
2184
|
-
|
|
2222
|
+
hs || this.removeDebugger(), document.body.appendChild(this.debug), qs.add(this.debug);
|
|
2185
2223
|
}), this.addEventListener("mouseout", () => {
|
|
2186
|
-
|
|
2224
|
+
hs || this.removeDebugger();
|
|
2187
2225
|
}), this.publisher?.onInternalMutation(() => {
|
|
2188
2226
|
this.debug.innerHTML = `🤖 DataProvider : "<b style="font-weight:bold;color:#fff;">${this.dataProvider}</b>"<br>
|
|
2189
2227
|
<div style="font-size:10px;border-top:1px dashed;margin-top:5px;padding-left:23px;opacity:.6;padding-top:5px;">
|
|
@@ -2287,7 +2325,7 @@ var jo = Object.defineProperty, Fo = (r, t, i, s) => {
|
|
|
2287
2325
|
(n = r[o]) && (e = n(t, i, e) || e);
|
|
2288
2326
|
return e && jo(t, i, e), e;
|
|
2289
2327
|
};
|
|
2290
|
-
const
|
|
2328
|
+
const ts = (r) => {
|
|
2291
2329
|
class t extends r {
|
|
2292
2330
|
constructor() {
|
|
2293
2331
|
super(...arguments), this.templates = null, this.templateValueAttribute = "data-value", this.templateList = [], this.templateParts = {}, this.templatePartsList = [];
|
|
@@ -2312,7 +2350,7 @@ var zo = Object.defineProperty, Ro = Object.getOwnPropertyDescriptor, K = (r, t,
|
|
|
2312
2350
|
};
|
|
2313
2351
|
const Uo = "sonic-date";
|
|
2314
2352
|
mi(() => R.updateComponentsLanguage());
|
|
2315
|
-
let R = class extends G(
|
|
2353
|
+
let R = class extends G(ts(_)) {
|
|
2316
2354
|
constructor() {
|
|
2317
2355
|
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();
|
|
2318
2356
|
}
|
|
@@ -2362,7 +2400,7 @@ let R = class extends G(Je(_)) {
|
|
|
2362
2400
|
this.language || this.pageLanguage,
|
|
2363
2401
|
i
|
|
2364
2402
|
).formatToParts(s);
|
|
2365
|
-
return this.designMode && e.forEach((o) => o.value = o.value.replace(/,/g, " ")), e[0].value =
|
|
2403
|
+
return this.designMode && e.forEach((o) => o.value = o.value.replace(/,/g, " ")), e[0].value = bs.ucFirst(e[0].value), e.filter((o) => o.hidden !== !0);
|
|
2366
2404
|
}
|
|
2367
2405
|
dateStringToSeconds(r) {
|
|
2368
2406
|
return new Date(r).getTime() / 1e3;
|
|
@@ -2579,7 +2617,7 @@ var Bo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, Ot = (r, t
|
|
|
2579
2617
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
2580
2618
|
return s && e && Bo(t, i, e), e;
|
|
2581
2619
|
};
|
|
2582
|
-
const
|
|
2620
|
+
const ds = /* @__PURE__ */ new Map(), De = (r) => {
|
|
2583
2621
|
class t extends r {
|
|
2584
2622
|
constructor(...s) {
|
|
2585
2623
|
super(), this.touched = !1, this.error = !1, this.autofocus = !1, this.required = !1, this.forceAutoFill = !1, this.disabled = !1, this.formDataProvider = "", this._name = "", this._value = "", this.onValueAssign = (e) => {
|
|
@@ -2677,11 +2715,11 @@ const hs = /* @__PURE__ */ new Map(), De = (r) => {
|
|
|
2677
2715
|
const e = s.split(" "), o = e[0];
|
|
2678
2716
|
if (!o) return;
|
|
2679
2717
|
for (const l of e) {
|
|
2680
|
-
|
|
2681
|
-
const c =
|
|
2718
|
+
ds.has(l) || ds.set(l, []);
|
|
2719
|
+
const c = ds.get(l);
|
|
2682
2720
|
c?.indexOf(this) == -1 && c.push(this);
|
|
2683
2721
|
}
|
|
2684
|
-
const n =
|
|
2722
|
+
const n = ds.get(o);
|
|
2685
2723
|
this.addEventListener("keydown", (l) => {
|
|
2686
2724
|
const c = l;
|
|
2687
2725
|
if (!["ArrowDown", "ArrowUp"].includes(c.key)) return;
|
|
@@ -2936,11 +2974,11 @@ function Yo() {
|
|
|
2936
2974
|
return f == null && (f = p()), f(w);
|
|
2937
2975
|
};
|
|
2938
2976
|
}, s.baseMany = function(p, f, w, A, O) {
|
|
2939
|
-
var q, Z, ot,
|
|
2940
|
-
for (ot = O,
|
|
2941
|
-
w ?
|
|
2942
|
-
if (!(A &&
|
|
2943
|
-
return new s.Result(
|
|
2977
|
+
var q, Z, ot, Ie;
|
|
2978
|
+
for (ot = O, Ie = w ? "" : []; !(f != null && (q = f(ot), q != null) || (Z = p(ot), Z == null)); )
|
|
2979
|
+
w ? Ie += Z.value : Ie.push(Z.value), ot = Z.rest;
|
|
2980
|
+
if (!(A && Ie.length === 0))
|
|
2981
|
+
return new s.Result(Ie, ot);
|
|
2944
2982
|
}, s.many1 = function(p) {
|
|
2945
2983
|
return function(f) {
|
|
2946
2984
|
return s.baseMany(p, null, !1, !0, f);
|
|
@@ -3103,7 +3141,7 @@ function Yo() {
|
|
|
3103
3141
|
})(Ue, Ue.exports)), Ue.exports;
|
|
3104
3142
|
}
|
|
3105
3143
|
var Zo = Yo();
|
|
3106
|
-
const Vt = /* @__PURE__ */ Wo(Zo), Xo = Hr, Go = Ho, Qo = Ds, Jo =
|
|
3144
|
+
const Vt = /* @__PURE__ */ Wo(Zo), Xo = Hr, Go = Ho, Qo = Ds, Jo = bs, Yt = Q, tn = tt, Le = st, en = $e, sn = Vt;
|
|
3107
3145
|
window["concorde-utils"] = window["concorde-utils"] || {};
|
|
3108
3146
|
window["concorde-utils"] = {
|
|
3109
3147
|
Utils: Xo,
|
|
@@ -3267,7 +3305,7 @@ const $i = (r) => {
|
|
|
3267
3305
|
* Copyright 2018 Google LLC
|
|
3268
3306
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3269
3307
|
*/
|
|
3270
|
-
const C = (r) => r ?? S,
|
|
3308
|
+
const C = (r) => r ?? S, Tt = $`
|
|
3271
3309
|
/*SIZES*/
|
|
3272
3310
|
:host {
|
|
3273
3311
|
--sc-_fs: 1rem;
|
|
@@ -3307,7 +3345,7 @@ var nn = Object.defineProperty, an = Object.getOwnPropertyDescriptor, B = (r, t,
|
|
|
3307
3345
|
return s && e && nn(t, i, e), e;
|
|
3308
3346
|
};
|
|
3309
3347
|
const ln = "sonic-button";
|
|
3310
|
-
let
|
|
3348
|
+
let I = class extends $i(De(G(_))) {
|
|
3311
3349
|
constructor() {
|
|
3312
3350
|
super(...arguments), this.type = "default", this.variant = "default", this.shape = "default", this.direction = "row", this.alignItems = "center", this.justify = "center", this.minWidth = "0", this.icon = !1, this.download = null, this.autoActive = "partial", this.loading = !1, this.hasPrefix = !1, this.hasSuffix = !1, this._href = "", this.goBack = null, this.pushState = !1, this.active = !1, this.autoRepeat = !1, this.pointerDownTime = 0, this.lastRepeatTime = 0, this.isRepeating = !1, this.handleRepeatend = () => {
|
|
3313
3351
|
window.removeEventListener("pointerup", this.handleRepeatend), window.removeEventListener("blur", this.handleRepeatend), this.autoRepeat && (this.isRepeating = !1);
|
|
@@ -3405,8 +3443,8 @@ let M = class extends $i(De(G(_))) {
|
|
|
3405
3443
|
this.hasPrefix = !!this.prefixes?.length, this.hasSuffix = !!this.suffixes?.length;
|
|
3406
3444
|
}
|
|
3407
3445
|
};
|
|
3408
|
-
|
|
3409
|
-
|
|
3446
|
+
I.styles = [
|
|
3447
|
+
Tt,
|
|
3410
3448
|
$`
|
|
3411
3449
|
* {
|
|
3412
3450
|
box-sizing: border-box;
|
|
@@ -3777,85 +3815,85 @@ M.styles = [
|
|
|
3777
3815
|
];
|
|
3778
3816
|
B([
|
|
3779
3817
|
a({ type: String, reflect: !0 })
|
|
3780
|
-
],
|
|
3818
|
+
], I.prototype, "type", 2);
|
|
3781
3819
|
B([
|
|
3782
3820
|
a({ type: String, reflect: !0 })
|
|
3783
|
-
],
|
|
3821
|
+
], I.prototype, "variant", 2);
|
|
3784
3822
|
B([
|
|
3785
3823
|
a({ type: String, reflect: !0 })
|
|
3786
|
-
],
|
|
3824
|
+
], I.prototype, "size", 2);
|
|
3787
3825
|
B([
|
|
3788
3826
|
a({ type: String, reflect: !0 })
|
|
3789
|
-
],
|
|
3827
|
+
], I.prototype, "shape", 2);
|
|
3790
3828
|
B([
|
|
3791
3829
|
a({ type: String })
|
|
3792
|
-
],
|
|
3830
|
+
], I.prototype, "direction", 2);
|
|
3793
3831
|
B([
|
|
3794
3832
|
a({ type: String, reflect: !0 })
|
|
3795
|
-
],
|
|
3833
|
+
], I.prototype, "alignItems", 2);
|
|
3796
3834
|
B([
|
|
3797
3835
|
a({ type: String })
|
|
3798
|
-
],
|
|
3836
|
+
], I.prototype, "justify", 2);
|
|
3799
3837
|
B([
|
|
3800
3838
|
a({ type: String, reflect: !0 })
|
|
3801
|
-
],
|
|
3839
|
+
], I.prototype, "align", 2);
|
|
3802
3840
|
B([
|
|
3803
3841
|
a({ type: String })
|
|
3804
|
-
],
|
|
3842
|
+
], I.prototype, "minWidth", 2);
|
|
3805
3843
|
B([
|
|
3806
3844
|
a({ type: Boolean, reflect: !0 })
|
|
3807
|
-
],
|
|
3845
|
+
], I.prototype, "icon", 2);
|
|
3808
3846
|
B([
|
|
3809
3847
|
a({ type: String })
|
|
3810
|
-
],
|
|
3848
|
+
], I.prototype, "download", 2);
|
|
3811
3849
|
B([
|
|
3812
3850
|
a({ type: String })
|
|
3813
|
-
],
|
|
3851
|
+
], I.prototype, "autoActive", 2);
|
|
3814
3852
|
B([
|
|
3815
3853
|
a({ type: Boolean, reflect: !0 })
|
|
3816
|
-
],
|
|
3854
|
+
], I.prototype, "loading", 2);
|
|
3817
3855
|
B([
|
|
3818
3856
|
E()
|
|
3819
|
-
],
|
|
3857
|
+
], I.prototype, "hasPrefix", 2);
|
|
3820
3858
|
B([
|
|
3821
3859
|
E()
|
|
3822
|
-
],
|
|
3860
|
+
], I.prototype, "hasSuffix", 2);
|
|
3823
3861
|
B([
|
|
3824
3862
|
Ae({ flatten: !0, slot: "prefix" })
|
|
3825
|
-
],
|
|
3863
|
+
], I.prototype, "prefixes", 2);
|
|
3826
3864
|
B([
|
|
3827
3865
|
Ae({ flatten: !0, slot: "suffix" })
|
|
3828
|
-
],
|
|
3866
|
+
], I.prototype, "suffixes", 2);
|
|
3829
3867
|
B([
|
|
3830
3868
|
a({ type: String })
|
|
3831
|
-
],
|
|
3869
|
+
], I.prototype, "target", 2);
|
|
3832
3870
|
B([
|
|
3833
3871
|
a({ type: String })
|
|
3834
|
-
],
|
|
3872
|
+
], I.prototype, "href", 1);
|
|
3835
3873
|
B([
|
|
3836
3874
|
a({ type: String })
|
|
3837
|
-
],
|
|
3875
|
+
], I.prototype, "goBack", 2);
|
|
3838
3876
|
B([
|
|
3839
3877
|
a({ type: Boolean })
|
|
3840
|
-
],
|
|
3878
|
+
], I.prototype, "pushState", 2);
|
|
3841
3879
|
B([
|
|
3842
3880
|
a({ type: Boolean, reflect: !0 })
|
|
3843
|
-
],
|
|
3881
|
+
], I.prototype, "active", 2);
|
|
3844
3882
|
B([
|
|
3845
3883
|
a({ type: Boolean, reflect: !0 })
|
|
3846
|
-
],
|
|
3884
|
+
], I.prototype, "autoRepeat", 2);
|
|
3847
3885
|
B([
|
|
3848
3886
|
a({ type: String, attribute: "data-aria-controls" })
|
|
3849
|
-
],
|
|
3887
|
+
], I.prototype, "ariaControls", 2);
|
|
3850
3888
|
B([
|
|
3851
3889
|
a({ type: Boolean, attribute: "data-aria-expanded" })
|
|
3852
|
-
],
|
|
3890
|
+
], I.prototype, "sonicAriaExpanded", 2);
|
|
3853
3891
|
B([
|
|
3854
3892
|
E()
|
|
3855
|
-
],
|
|
3856
|
-
|
|
3893
|
+
], I.prototype, "location", 2);
|
|
3894
|
+
I = B([
|
|
3857
3895
|
x(ln)
|
|
3858
|
-
],
|
|
3896
|
+
], I);
|
|
3859
3897
|
/**
|
|
3860
3898
|
* @license
|
|
3861
3899
|
* Copyright 2017 Google LLC
|
|
@@ -3865,7 +3903,7 @@ const Qi = (r, t, i) => {
|
|
|
3865
3903
|
const s = /* @__PURE__ */ new Map();
|
|
3866
3904
|
for (let e = t; e <= i; e++) s.set(r[e], e);
|
|
3867
3905
|
return s;
|
|
3868
|
-
},
|
|
3906
|
+
}, Ns = ee(class extends Oe {
|
|
3869
3907
|
constructor(r) {
|
|
3870
3908
|
if (super(r), r.type !== be.CHILD) throw Error("repeat() can only be used in text expressions");
|
|
3871
3909
|
}
|
|
@@ -4135,7 +4173,7 @@ const pn = ee(un), fn = { cancel: `<svg width="24" height="24" stroke-width="1.5
|
|
|
4135
4173
|
</svg>
|
|
4136
4174
|
` }, mn = {
|
|
4137
4175
|
core: fn
|
|
4138
|
-
},
|
|
4176
|
+
}, us = /* @__PURE__ */ new Map(), He = {
|
|
4139
4177
|
heroicons: {
|
|
4140
4178
|
url: "https://cdn.jsdelivr.net/npm/heroicons@2.0.4/24/$prefix/$name.svg",
|
|
4141
4179
|
defaultPrefix: "outline"
|
|
@@ -4161,17 +4199,17 @@ const pn = ee(un), fn = { cancel: `<svg width="24" height="24" stroke-width="1.5
|
|
|
4161
4199
|
};
|
|
4162
4200
|
let or = !1;
|
|
4163
4201
|
function bn() {
|
|
4164
|
-
or || (
|
|
4202
|
+
or || (He.custom.url = document.querySelector("[customIconLibraryPath]")?.getAttribute("customIconLibraryPath") || "", He.custom.defaultPrefix = document.querySelector("[customIconDefaultPrefix]")?.getAttribute("customIconDefaultPrefix") || "", He.custom.url && (or = !0));
|
|
4165
4203
|
}
|
|
4166
|
-
const nr = sessionStorage.getItem("sonicIconsCache"), Rt = nr ? JSON.parse(nr) : { icons: {}, names: [] }, gn = 100,
|
|
4204
|
+
const nr = sessionStorage.getItem("sonicIconsCache"), Rt = nr ? JSON.parse(nr) : { icons: {}, names: [] }, gn = 100, Ii = class Ii {
|
|
4167
4205
|
};
|
|
4168
|
-
|
|
4206
|
+
Ii.default = {
|
|
4169
4207
|
get: async (t) => {
|
|
4170
4208
|
const i = t.library;
|
|
4171
4209
|
if (!t.name) return "";
|
|
4172
4210
|
const s = t.name, e = mn;
|
|
4173
|
-
if (i == "custom" && bn(), i && i in
|
|
4174
|
-
const o =
|
|
4211
|
+
if (i == "custom" && bn(), i && i in He) {
|
|
4212
|
+
const o = He[i], n = t.prefix || o.defaultPrefix || "", l = e[i] || {};
|
|
4175
4213
|
e[i] = l;
|
|
4176
4214
|
const c = n + "-" + s;
|
|
4177
4215
|
if (l[c]) return z(l[c]);
|
|
@@ -4182,7 +4220,7 @@ Mi.default = {
|
|
|
4182
4220
|
return l[c] = d, z(d);
|
|
4183
4221
|
delete Rt.icons[h];
|
|
4184
4222
|
}
|
|
4185
|
-
if (!
|
|
4223
|
+
if (!us.has(h)) {
|
|
4186
4224
|
const d = new Promise(async (g) => {
|
|
4187
4225
|
try {
|
|
4188
4226
|
const m = await fetch(h);
|
|
@@ -4205,10 +4243,10 @@ Mi.default = {
|
|
|
4205
4243
|
Eo(), g("");
|
|
4206
4244
|
}
|
|
4207
4245
|
});
|
|
4208
|
-
|
|
4246
|
+
us.set(h, d);
|
|
4209
4247
|
}
|
|
4210
|
-
const u = await
|
|
4211
|
-
if (
|
|
4248
|
+
const u = await us.get(h);
|
|
4249
|
+
if (us.delete(h), l[c] = u || "", u && /^\s*<svg[\s>]/i.test(u) && (Rt.icons[h] = u, Rt.names.push(h)), Rt.names.length > gn) {
|
|
4212
4250
|
const d = Rt.names.shift();
|
|
4213
4251
|
delete Rt.icons[d];
|
|
4214
4252
|
}
|
|
@@ -4217,8 +4255,8 @@ Mi.default = {
|
|
|
4217
4255
|
return z(e.core[t.name] || "");
|
|
4218
4256
|
}
|
|
4219
4257
|
};
|
|
4220
|
-
let Qs =
|
|
4221
|
-
var vn = Object.defineProperty, yn = Object.getOwnPropertyDescriptor,
|
|
4258
|
+
let Qs = Ii;
|
|
4259
|
+
var vn = Object.defineProperty, yn = Object.getOwnPropertyDescriptor, es = (r, t, i, s) => {
|
|
4222
4260
|
for (var e = s > 1 ? void 0 : s ? yn(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
4223
4261
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
4224
4262
|
return s && e && vn(t, i, e), e;
|
|
@@ -4296,22 +4334,22 @@ de.styles = $`
|
|
|
4296
4334
|
--_sc-icon-size: 2.8em;
|
|
4297
4335
|
}
|
|
4298
4336
|
`;
|
|
4299
|
-
|
|
4337
|
+
es([
|
|
4300
4338
|
E()
|
|
4301
4339
|
], de.prototype, "iconText", 2);
|
|
4302
|
-
|
|
4340
|
+
es([
|
|
4303
4341
|
a({ type: String })
|
|
4304
4342
|
], de.prototype, "name", 2);
|
|
4305
|
-
|
|
4343
|
+
es([
|
|
4306
4344
|
a({ type: String })
|
|
4307
4345
|
], de.prototype, "prefix", 2);
|
|
4308
|
-
|
|
4346
|
+
es([
|
|
4309
4347
|
a({ type: String })
|
|
4310
4348
|
], de.prototype, "library", 2);
|
|
4311
|
-
de =
|
|
4349
|
+
de = es([
|
|
4312
4350
|
x(wn)
|
|
4313
4351
|
], de);
|
|
4314
|
-
const
|
|
4352
|
+
const ss = $`
|
|
4315
4353
|
.custom-scroll {
|
|
4316
4354
|
overflow: auto !important;
|
|
4317
4355
|
overflow-y: overlay !important;
|
|
@@ -4451,7 +4489,7 @@ let wt = class extends _ {
|
|
|
4451
4489
|
}
|
|
4452
4490
|
};
|
|
4453
4491
|
wt.styles = [
|
|
4454
|
-
|
|
4492
|
+
ss,
|
|
4455
4493
|
$`
|
|
4456
4494
|
* {
|
|
4457
4495
|
box-sizing: border-box;
|
|
@@ -4803,7 +4841,7 @@ const Cn = $`
|
|
|
4803
4841
|
}
|
|
4804
4842
|
}
|
|
4805
4843
|
`;
|
|
4806
|
-
var kn = Object.defineProperty, On = Object.getOwnPropertyDescriptor,
|
|
4844
|
+
var kn = Object.defineProperty, On = Object.getOwnPropertyDescriptor, is = (r, t, i, s) => {
|
|
4807
4845
|
for (var e = s > 1 ? void 0 : s ? On(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
4808
4846
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
4809
4847
|
return s && e && kn(t, i, e), e;
|
|
@@ -4909,19 +4947,19 @@ vt.styles = [
|
|
|
4909
4947
|
}
|
|
4910
4948
|
`
|
|
4911
4949
|
];
|
|
4912
|
-
|
|
4950
|
+
is([
|
|
4913
4951
|
a({ type: String, reflect: !0 })
|
|
4914
4952
|
], vt.prototype, "theme", 2);
|
|
4915
|
-
|
|
4953
|
+
is([
|
|
4916
4954
|
a({ type: Boolean, reflect: !0 })
|
|
4917
4955
|
], vt.prototype, "background", 2);
|
|
4918
|
-
|
|
4956
|
+
is([
|
|
4919
4957
|
a({ type: Boolean, reflect: !0 })
|
|
4920
4958
|
], vt.prototype, "color", 2);
|
|
4921
|
-
|
|
4959
|
+
is([
|
|
4922
4960
|
a({ type: Boolean, reflect: !0 })
|
|
4923
4961
|
], vt.prototype, "font", 2);
|
|
4924
|
-
vt =
|
|
4962
|
+
vt = is([
|
|
4925
4963
|
x(Dn)
|
|
4926
4964
|
], vt);
|
|
4927
4965
|
var Ln = Object.defineProperty, En = Object.getOwnPropertyDescriptor, Sr = (r, t, i, s) => {
|
|
@@ -4929,7 +4967,7 @@ var Ln = Object.defineProperty, En = Object.getOwnPropertyDescriptor, Sr = (r, t
|
|
|
4929
4967
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
4930
4968
|
return s && e && Ln(t, i, e), e;
|
|
4931
4969
|
};
|
|
4932
|
-
const
|
|
4970
|
+
const Nn = "sonic-toast";
|
|
4933
4971
|
let D = class extends _ {
|
|
4934
4972
|
constructor() {
|
|
4935
4973
|
super(...arguments), this.toasts = [];
|
|
@@ -4956,7 +4994,7 @@ let D = class extends _ {
|
|
|
4956
4994
|
maxWidth: "64ch",
|
|
4957
4995
|
flexDirection: "column-reverse"
|
|
4958
4996
|
}), D.handleExistingToastDelegation(), this.toasts ? b`<div style=${pt(i)}>
|
|
4959
|
-
${
|
|
4997
|
+
${Ns(
|
|
4960
4998
|
this.toasts,
|
|
4961
4999
|
(s) => s.id,
|
|
4962
5000
|
(s) => b`
|
|
@@ -5092,10 +5130,10 @@ Sr([
|
|
|
5092
5130
|
a({ type: Array })
|
|
5093
5131
|
], D.prototype, "toasts", 2);
|
|
5094
5132
|
D = Sr([
|
|
5095
|
-
x(
|
|
5133
|
+
x(Nn)
|
|
5096
5134
|
], D);
|
|
5097
|
-
typeof window < "u" && (window[
|
|
5098
|
-
function
|
|
5135
|
+
typeof window < "u" && (window[gs + "Toast"] = window[gs + "Toast"] || D);
|
|
5136
|
+
function Tn() {
|
|
5099
5137
|
const r = (i) => {
|
|
5100
5138
|
i.data.type == "querySonicToastAvailability" && i.source.postMessage({ type: "sonicToastAvailable" }, "*"), i.data.type == "removeItemsByStatus" && D.removeItemsByStatus(i.data.status), i.data.type == "removeTemporaryItems" && D.removeTemporaryItems(), i.data.type == "sonicToastAvailable" && (D.delegateToasts = !0, D.handleExistingToastDelegation()), i.data.type == "addToasts" && (D.getInstance().toasts = [
|
|
5101
5139
|
...D.getInstance().toasts,
|
|
@@ -5106,11 +5144,11 @@ function Nn() {
|
|
|
5106
5144
|
for (const i of document.querySelectorAll("iframe"))
|
|
5107
5145
|
i.contentWindow?.postMessage({ type: "sonicToastAvailable" }, "*");
|
|
5108
5146
|
}
|
|
5109
|
-
|
|
5110
|
-
var
|
|
5111
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
5147
|
+
Tn();
|
|
5148
|
+
var Mn = Object.defineProperty, In = Object.getOwnPropertyDescriptor, Re = (r, t, i, s) => {
|
|
5149
|
+
for (var e = s > 1 ? void 0 : s ? In(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5112
5150
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
5113
|
-
return s && e &&
|
|
5151
|
+
return s && e && Mn(t, i, e), e;
|
|
5114
5152
|
};
|
|
5115
5153
|
const jn = /* @__PURE__ */ new Set(), Fn = /* @__PURE__ */ new Set(), zn = (r) => {
|
|
5116
5154
|
for (const t of Fn)
|
|
@@ -5254,7 +5292,7 @@ var Rn = Object.defineProperty, Un = Object.getOwnPropertyDescriptor, ae = (r, t
|
|
|
5254
5292
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
5255
5293
|
return s && e && Rn(t, i, e), e;
|
|
5256
5294
|
};
|
|
5257
|
-
const
|
|
5295
|
+
const Ts = (r) => {
|
|
5258
5296
|
class t extends r {
|
|
5259
5297
|
constructor(...s) {
|
|
5260
5298
|
super(), this.forceAutoFill = !1, this._type = "text", this.status = "default";
|
|
@@ -5299,7 +5337,7 @@ const Ns = (r) => {
|
|
|
5299
5337
|
], t.prototype, "tabindex", 2), ae([
|
|
5300
5338
|
a({ type: String })
|
|
5301
5339
|
], t.prototype, "autocomplete", 2), t;
|
|
5302
|
-
}, Ar = Ci, Vn = $i, kr = De, Or =
|
|
5340
|
+
}, Ar = Ci, Vn = $i, kr = De, Or = Ts, se = G, Si = ts;
|
|
5303
5341
|
window["concorde-mixins"] = window["concorde-mixins"] || {};
|
|
5304
5342
|
window["concorde-mixins"] = {
|
|
5305
5343
|
Fetcher: Ar,
|
|
@@ -5605,7 +5643,7 @@ var ia = Object.defineProperty, ra = Object.getOwnPropertyDescriptor, At = (r, t
|
|
|
5605
5643
|
return s && e && ia(t, i, e), e;
|
|
5606
5644
|
};
|
|
5607
5645
|
const oa = "sonic-list";
|
|
5608
|
-
let _t = class extends Ci(G(
|
|
5646
|
+
let _t = class extends Ci(G(ts(_))) {
|
|
5609
5647
|
constructor() {
|
|
5610
5648
|
super(...arguments), this.templateKey = "template", this.idKey = "id", this.limit = Number.POSITIVE_INFINITY, this.offset = 0, this.loadingSize = { width: 0, height: 0 };
|
|
5611
5649
|
}
|
|
@@ -6168,13 +6206,13 @@ Ee([
|
|
|
6168
6206
|
Zt = Ee([
|
|
6169
6207
|
x(da)
|
|
6170
6208
|
], Zt);
|
|
6171
|
-
var ua = Object.defineProperty, pa = Object.getOwnPropertyDescriptor,
|
|
6209
|
+
var ua = Object.defineProperty, pa = Object.getOwnPropertyDescriptor, rs = (r, t, i, s) => {
|
|
6172
6210
|
for (var e = s > 1 ? void 0 : s ? pa(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6173
6211
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6174
6212
|
return s && e && ua(t, i, e), e;
|
|
6175
6213
|
};
|
|
6176
6214
|
const fa = "sonic-router";
|
|
6177
|
-
let Ce = class extends
|
|
6215
|
+
let Ce = class extends ts(_) {
|
|
6178
6216
|
constructor() {
|
|
6179
6217
|
super(...arguments), this.templateValueAttribute = "data-route", this._location = document.location.href.replace(
|
|
6180
6218
|
document.location.origin,
|
|
@@ -6257,7 +6295,7 @@ let Ce = class extends Je(_) {
|
|
|
6257
6295
|
);
|
|
6258
6296
|
i && t.push(i);
|
|
6259
6297
|
}
|
|
6260
|
-
return b`${
|
|
6298
|
+
return b`${Ns(
|
|
6261
6299
|
t,
|
|
6262
6300
|
(i, s) => s + (/* @__PURE__ */ new Date()).getTime(),
|
|
6263
6301
|
(i) => {
|
|
@@ -6287,19 +6325,19 @@ let Ce = class extends Je(_) {
|
|
|
6287
6325
|
)}`;
|
|
6288
6326
|
}
|
|
6289
6327
|
};
|
|
6290
|
-
|
|
6328
|
+
rs([
|
|
6291
6329
|
a({ type: String })
|
|
6292
6330
|
], Ce.prototype, "fallBackRoute", 2);
|
|
6293
|
-
|
|
6331
|
+
rs([
|
|
6294
6332
|
a({ type: Object })
|
|
6295
6333
|
], Ce.prototype, "routes", 2);
|
|
6296
|
-
|
|
6334
|
+
rs([
|
|
6297
6335
|
a({ type: String })
|
|
6298
6336
|
], Ce.prototype, "basePath", 2);
|
|
6299
|
-
|
|
6337
|
+
rs([
|
|
6300
6338
|
a()
|
|
6301
6339
|
], Ce.prototype, "location", 1);
|
|
6302
|
-
Ce =
|
|
6340
|
+
Ce = rs([
|
|
6303
6341
|
x(fa)
|
|
6304
6342
|
], Ce);
|
|
6305
6343
|
var ma = Object.getOwnPropertyDescriptor, ba = (r, t, i, s) => {
|
|
@@ -6328,13 +6366,13 @@ let cr = class extends G(_) {
|
|
|
6328
6366
|
cr = ba([
|
|
6329
6367
|
x(ga)
|
|
6330
6368
|
], cr);
|
|
6331
|
-
var va = Object.defineProperty, ya = Object.getOwnPropertyDescriptor,
|
|
6369
|
+
var va = Object.defineProperty, ya = Object.getOwnPropertyDescriptor, Ms = (r, t, i, s) => {
|
|
6332
6370
|
for (var e = s > 1 ? void 0 : s ? ya(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6333
6371
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6334
6372
|
return s && e && va(t, i, e), e;
|
|
6335
6373
|
};
|
|
6336
6374
|
const wa = "sonic-states";
|
|
6337
|
-
let
|
|
6375
|
+
let Ze = class extends G(ts(_)) {
|
|
6338
6376
|
constructor() {
|
|
6339
6377
|
super(...arguments), this.state = "", this.inverted = !1, this.statePath = "", this.onStateAssign = (r) => {
|
|
6340
6378
|
this.state = r, this.requestUpdate();
|
|
@@ -6392,7 +6430,7 @@ let Ye = class extends G(Je(_)) {
|
|
|
6392
6430
|
l.names.length > 0 && l.match(o) && (s.setAttribute("mode", "patternMatching"), i.push(s));
|
|
6393
6431
|
}
|
|
6394
6432
|
}
|
|
6395
|
-
return b`${
|
|
6433
|
+
return b`${Ns(
|
|
6396
6434
|
i,
|
|
6397
6435
|
(s, e) => e + (/* @__PURE__ */ new Date()).getTime(),
|
|
6398
6436
|
(s) => {
|
|
@@ -6422,18 +6460,18 @@ let Ye = class extends G(Je(_)) {
|
|
|
6422
6460
|
)}`;
|
|
6423
6461
|
}
|
|
6424
6462
|
};
|
|
6425
|
-
|
|
6463
|
+
Ms([
|
|
6426
6464
|
a()
|
|
6427
|
-
],
|
|
6428
|
-
|
|
6465
|
+
], Ze.prototype, "state", 2);
|
|
6466
|
+
Ms([
|
|
6429
6467
|
a({ type: Boolean, reflect: !0 })
|
|
6430
|
-
],
|
|
6431
|
-
|
|
6468
|
+
], Ze.prototype, "inverted", 2);
|
|
6469
|
+
Ms([
|
|
6432
6470
|
a({ type: Object })
|
|
6433
|
-
],
|
|
6434
|
-
|
|
6471
|
+
], Ze.prototype, "states", 2);
|
|
6472
|
+
Ze = Ms([
|
|
6435
6473
|
x(wa)
|
|
6436
|
-
],
|
|
6474
|
+
], Ze);
|
|
6437
6475
|
var _a = Object.getOwnPropertyDescriptor, xa = (r, t, i, s) => {
|
|
6438
6476
|
for (var e = s > 1 ? void 0 : s ? _a(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6439
6477
|
(n = r[o]) && (e = n(e) || e);
|
|
@@ -6451,7 +6489,7 @@ let hr = class extends _ {
|
|
|
6451
6489
|
hr = xa([
|
|
6452
6490
|
x(Pa)
|
|
6453
6491
|
], hr);
|
|
6454
|
-
var $a = Object.defineProperty, Ca = Object.getOwnPropertyDescriptor,
|
|
6492
|
+
var $a = Object.defineProperty, Ca = Object.getOwnPropertyDescriptor, Nr = (r, t, i, s) => {
|
|
6455
6493
|
for (var e = s > 1 ? void 0 : s ? Ca(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6456
6494
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6457
6495
|
return s && e && $a(t, i, e), e;
|
|
@@ -6465,23 +6503,23 @@ let ti = class extends G(_) {
|
|
|
6465
6503
|
return b`<div>${this.text}</div>`;
|
|
6466
6504
|
}
|
|
6467
6505
|
};
|
|
6468
|
-
|
|
6506
|
+
Nr([
|
|
6469
6507
|
a()
|
|
6470
6508
|
], ti.prototype, "text", 2);
|
|
6471
|
-
ti =
|
|
6509
|
+
ti = Nr([
|
|
6472
6510
|
x(Sa)
|
|
6473
6511
|
], ti);
|
|
6474
|
-
const Aa = { tagName: "sonic-checkbox" }, ka = { tagName: "sonic-input", attributes: { type: "date" } }, Oa = { tagName: "sonic-fieldset", nodes: [{ libraryKey: "formLayout" }], contentElementSelector: "sonic-form-layout" }, Da = { tagName: "sonic-input", attributes: { variant: "ghost", type: "file" } }, La = { tagName: "sonic-input", attributes: { type: "password" } }, Ea = { tagName: "sonic-radio" },
|
|
6512
|
+
const Aa = { tagName: "sonic-checkbox" }, ka = { tagName: "sonic-input", attributes: { type: "date" } }, Oa = { tagName: "sonic-fieldset", nodes: [{ libraryKey: "formLayout" }], contentElementSelector: "sonic-form-layout" }, Da = { tagName: "sonic-input", attributes: { variant: "ghost", type: "file" } }, La = { tagName: "sonic-input", attributes: { type: "password" } }, Ea = { tagName: "sonic-radio" }, Na = { tagName: "sonic-select" }, Ta = { tagName: "sonic-textarea" }, Ma = { tagName: "sonic-input", attributes: { type: "text" } }, Ia = { tagName: "sonic-input", attributes: { type: "hidden" } }, ja = { tagName: "sonic-button" }, Fa = { tagName: "sonic-submit", attributes: { onEnterKey: !0 } }, za = { tagName: "sonic-submit", attributes: { onClick: !0 }, contentElementSelector: "sonic-button", nodes: [{ libraryKey: "button", attributes: { type: "success" }, nodes: [{ tagName: "sonic-icon", attributes: { name: "check", slot: "prefix" } }] }] }, Ra = { tagName: "sonic-input", attributes: { type: "email" } }, Ua = { tagName: "div", attributes: { class: "form-item-container" } }, Va = { tagName: "sonic-form-layout" }, Ba = { tagName: "sonic-form-actions" }, qa = { tagName: "sonic-password-helper" }, Ha = { tagName: "sonic-same-value-helper" }, Wa = { tagName: "sonic-divider" }, Ka = {
|
|
6475
6513
|
checkbox: Aa,
|
|
6476
6514
|
date: ka,
|
|
6477
6515
|
fieldset: Oa,
|
|
6478
6516
|
managed_file: Da,
|
|
6479
6517
|
password: La,
|
|
6480
6518
|
radio: Ea,
|
|
6481
|
-
select:
|
|
6482
|
-
textarea:
|
|
6483
|
-
textfield:
|
|
6484
|
-
hidden:
|
|
6519
|
+
select: Na,
|
|
6520
|
+
textarea: Ta,
|
|
6521
|
+
textfield: Ma,
|
|
6522
|
+
hidden: Ia,
|
|
6485
6523
|
button: ja,
|
|
6486
6524
|
form: Fa,
|
|
6487
6525
|
submit: za,
|
|
@@ -6805,7 +6843,7 @@ ki([
|
|
|
6805
6843
|
Ps = ki([
|
|
6806
6844
|
x(Ga)
|
|
6807
6845
|
], Ps);
|
|
6808
|
-
var Qa = Object.defineProperty, Ja = Object.getOwnPropertyDescriptor,
|
|
6846
|
+
var Qa = Object.defineProperty, Ja = Object.getOwnPropertyDescriptor, Tr = (r, t, i, s) => {
|
|
6809
6847
|
for (var e = s > 1 ? void 0 : s ? Ja(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6810
6848
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6811
6849
|
return s && e && Qa(t, i, e), e;
|
|
@@ -6853,7 +6891,7 @@ let $s = class extends se(_) {
|
|
|
6853
6891
|
this.listeners.push(l), n.onAssign(l.subscriber), t._proxies_.set(i, n);
|
|
6854
6892
|
} else {
|
|
6855
6893
|
this.publisher[i] = {};
|
|
6856
|
-
const e = new
|
|
6894
|
+
const e = new We({}, t);
|
|
6857
6895
|
t._proxies_.set(i, e);
|
|
6858
6896
|
const o = {
|
|
6859
6897
|
publisher: e,
|
|
@@ -6876,10 +6914,10 @@ $s.styles = [
|
|
|
6876
6914
|
}
|
|
6877
6915
|
`
|
|
6878
6916
|
];
|
|
6879
|
-
|
|
6917
|
+
Tr([
|
|
6880
6918
|
a({ type: Object })
|
|
6881
6919
|
], $s.prototype, "composition", 1);
|
|
6882
|
-
$s =
|
|
6920
|
+
$s = Tr([
|
|
6883
6921
|
x("sonic-mix")
|
|
6884
6922
|
], $s);
|
|
6885
6923
|
var tl = Object.getOwnPropertyDescriptor, el = (r, t, i, s) => {
|
|
@@ -6908,7 +6946,7 @@ var il = Object.defineProperty, rl = Object.getOwnPropertyDescriptor, Oi = (r, t
|
|
|
6908
6946
|
const ol = "sonic-t";
|
|
6909
6947
|
let Cs = class extends _ {
|
|
6910
6948
|
render() {
|
|
6911
|
-
return this.key ? b`${
|
|
6949
|
+
return this.key ? b`${To(this.key, this.unsafeHTML)}` : S;
|
|
6912
6950
|
}
|
|
6913
6951
|
};
|
|
6914
6952
|
Oi([
|
|
@@ -6920,7 +6958,7 @@ Oi([
|
|
|
6920
6958
|
Cs = Oi([
|
|
6921
6959
|
x(ol)
|
|
6922
6960
|
], Cs);
|
|
6923
|
-
var nl = Object.defineProperty, al = Object.getOwnPropertyDescriptor,
|
|
6961
|
+
var nl = Object.defineProperty, al = Object.getOwnPropertyDescriptor, os = (r, t, i, s) => {
|
|
6924
6962
|
for (var e = s > 1 ? void 0 : s ? al(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6925
6963
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
6926
6964
|
return s && e && nl(t, i, e), e;
|
|
@@ -6939,7 +6977,7 @@ let ue = class extends _ {
|
|
|
6939
6977
|
}
|
|
6940
6978
|
};
|
|
6941
6979
|
ue.styles = [
|
|
6942
|
-
|
|
6980
|
+
Tt,
|
|
6943
6981
|
$`
|
|
6944
6982
|
:host {
|
|
6945
6983
|
--sc-badge-gap: 0.3em;
|
|
@@ -7082,19 +7120,19 @@ ue.styles = [
|
|
|
7082
7120
|
}
|
|
7083
7121
|
`
|
|
7084
7122
|
];
|
|
7085
|
-
|
|
7123
|
+
os([
|
|
7086
7124
|
a({ type: String, reflect: !0 })
|
|
7087
7125
|
], ue.prototype, "type", 2);
|
|
7088
|
-
|
|
7126
|
+
os([
|
|
7089
7127
|
a({ type: String, reflect: !0 })
|
|
7090
7128
|
], ue.prototype, "variant", 2);
|
|
7091
|
-
|
|
7129
|
+
os([
|
|
7092
7130
|
a({ type: String, reflect: !0 })
|
|
7093
7131
|
], ue.prototype, "size", 2);
|
|
7094
|
-
|
|
7132
|
+
os([
|
|
7095
7133
|
a({ type: Boolean, reflect: !0 })
|
|
7096
7134
|
], ue.prototype, "ellipsis", 2);
|
|
7097
|
-
ue =
|
|
7135
|
+
ue = os([
|
|
7098
7136
|
x(ll)
|
|
7099
7137
|
], ue);
|
|
7100
7138
|
class cl {
|
|
@@ -7105,7 +7143,7 @@ class cl {
|
|
|
7105
7143
|
});
|
|
7106
7144
|
}
|
|
7107
7145
|
}
|
|
7108
|
-
var hl = Object.defineProperty, dl = Object.getOwnPropertyDescriptor,
|
|
7146
|
+
var hl = Object.defineProperty, dl = Object.getOwnPropertyDescriptor, Ne = (r, t, i, s) => {
|
|
7109
7147
|
for (var e = s > 1 ? void 0 : s ? dl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
7110
7148
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
7111
7149
|
return s && e && hl(t, i, e), e;
|
|
@@ -7166,25 +7204,25 @@ Xt.styles = [
|
|
|
7166
7204
|
}
|
|
7167
7205
|
`
|
|
7168
7206
|
];
|
|
7169
|
-
|
|
7207
|
+
Ne([
|
|
7170
7208
|
a({ type: String })
|
|
7171
7209
|
], Xt.prototype, "href", 2);
|
|
7172
|
-
|
|
7210
|
+
Ne([
|
|
7173
7211
|
a({ type: String, attribute: "data-aria-label" })
|
|
7174
7212
|
], Xt.prototype, "ariaLabel", 2);
|
|
7175
|
-
|
|
7213
|
+
Ne([
|
|
7176
7214
|
a({ type: String })
|
|
7177
7215
|
], Xt.prototype, "autoActive", 2);
|
|
7178
|
-
|
|
7216
|
+
Ne([
|
|
7179
7217
|
a({ type: String })
|
|
7180
7218
|
], Xt.prototype, "target", 1);
|
|
7181
|
-
|
|
7219
|
+
Ne([
|
|
7182
7220
|
a({ type: Boolean })
|
|
7183
7221
|
], Xt.prototype, "pushState", 2);
|
|
7184
|
-
Xt =
|
|
7222
|
+
Xt = Ne([
|
|
7185
7223
|
x(ul)
|
|
7186
7224
|
], Xt);
|
|
7187
|
-
var pl = Object.defineProperty, fl = Object.getOwnPropertyDescriptor,
|
|
7225
|
+
var pl = Object.defineProperty, fl = Object.getOwnPropertyDescriptor, Te = (r, t, i, s) => {
|
|
7188
7226
|
for (var e = s > 1 ? void 0 : s ? fl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
7189
7227
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
7190
7228
|
return s && e && pl(t, i, e), e;
|
|
@@ -7205,7 +7243,7 @@ let Gt = class extends _ {
|
|
|
7205
7243
|
}
|
|
7206
7244
|
};
|
|
7207
7245
|
Gt.styles = [
|
|
7208
|
-
|
|
7246
|
+
Tt,
|
|
7209
7247
|
$`
|
|
7210
7248
|
:host {
|
|
7211
7249
|
--sc-progress-bg: var(
|
|
@@ -7320,22 +7358,22 @@ Gt.styles = [
|
|
|
7320
7358
|
}
|
|
7321
7359
|
`
|
|
7322
7360
|
];
|
|
7323
|
-
|
|
7361
|
+
Te([
|
|
7324
7362
|
a({ type: Number })
|
|
7325
7363
|
], Gt.prototype, "value", 2);
|
|
7326
|
-
|
|
7364
|
+
Te([
|
|
7327
7365
|
a({ type: Number })
|
|
7328
7366
|
], Gt.prototype, "max", 2);
|
|
7329
|
-
|
|
7367
|
+
Te([
|
|
7330
7368
|
a({ type: Boolean })
|
|
7331
7369
|
], Gt.prototype, "invert", 2);
|
|
7332
|
-
|
|
7370
|
+
Te([
|
|
7333
7371
|
a({ type: String, reflect: !0 })
|
|
7334
7372
|
], Gt.prototype, "type", 2);
|
|
7335
|
-
|
|
7373
|
+
Te([
|
|
7336
7374
|
a({ type: String, reflect: !0 })
|
|
7337
7375
|
], Gt.prototype, "size", 2);
|
|
7338
|
-
Gt =
|
|
7376
|
+
Gt = Te([
|
|
7339
7377
|
x(ml)
|
|
7340
7378
|
], Gt);
|
|
7341
7379
|
const bl = $`
|
|
@@ -7349,7 +7387,7 @@ const bl = $`
|
|
|
7349
7387
|
:host([inlineContent]) .has-suffix .password-toggle {
|
|
7350
7388
|
margin-right: 0;
|
|
7351
7389
|
}
|
|
7352
|
-
`,
|
|
7390
|
+
`, Is = $`
|
|
7353
7391
|
:host {
|
|
7354
7392
|
--sc-label-fs: var(--sc-_fs, 1rem);
|
|
7355
7393
|
--sc-label-fw: var(--sc-label-font-weight, 500);
|
|
@@ -7759,7 +7797,7 @@ var gl = Object.defineProperty, vl = Object.getOwnPropertyDescriptor, U = (r, t,
|
|
|
7759
7797
|
return s && e && gl(t, i, e), e;
|
|
7760
7798
|
};
|
|
7761
7799
|
const yl = "sonic-input";
|
|
7762
|
-
let j = class extends
|
|
7800
|
+
let j = class extends Ts(De(G(_))) {
|
|
7763
7801
|
constructor() {
|
|
7764
7802
|
super(...arguments), this.readonly = !1, this.inlineContent = !1, this.disableInlineContentFocus = !1, this.showPasswordToggle = !1, this.autoActive = !1, this.active = !1, this.hasDescription = !1, this.hasLabel = !1, this.hasSuffix = !1, this.hasPrefix = !1, this.isPassword = !1;
|
|
7765
7803
|
}
|
|
@@ -7914,9 +7952,9 @@ let j = class extends Ns(De(G(_))) {
|
|
|
7914
7952
|
}
|
|
7915
7953
|
};
|
|
7916
7954
|
j.styles = [
|
|
7917
|
-
|
|
7955
|
+
Tt,
|
|
7918
7956
|
Di,
|
|
7919
|
-
|
|
7957
|
+
Is,
|
|
7920
7958
|
js,
|
|
7921
7959
|
bl,
|
|
7922
7960
|
$`
|
|
@@ -8013,7 +8051,7 @@ U([
|
|
|
8013
8051
|
j = U([
|
|
8014
8052
|
x(yl)
|
|
8015
8053
|
], j);
|
|
8016
|
-
const
|
|
8054
|
+
const Mr = $`
|
|
8017
8055
|
/*OMBRE*/
|
|
8018
8056
|
:host([shadow]) .shadowable,
|
|
8019
8057
|
:host([shadow="md"]) .shadowable,
|
|
@@ -8033,7 +8071,7 @@ const Ir = $`
|
|
|
8033
8071
|
box-shadow: none;
|
|
8034
8072
|
}
|
|
8035
8073
|
`;
|
|
8036
|
-
var wl = Object.defineProperty, _l = Object.getOwnPropertyDescriptor,
|
|
8074
|
+
var wl = Object.defineProperty, _l = Object.getOwnPropertyDescriptor, Mt = (r, t, i, s) => {
|
|
8037
8075
|
for (var e = s > 1 ? void 0 : s ? _l(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8038
8076
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8039
8077
|
return s && e && wl(t, i, e), e;
|
|
@@ -8200,36 +8238,36 @@ et.styles = [
|
|
|
8200
8238
|
vertical-align: baseline;
|
|
8201
8239
|
}
|
|
8202
8240
|
`,
|
|
8203
|
-
|
|
8241
|
+
Mr
|
|
8204
8242
|
];
|
|
8205
|
-
|
|
8243
|
+
Mt([
|
|
8206
8244
|
E()
|
|
8207
8245
|
], et.prototype, "open", 2);
|
|
8208
|
-
|
|
8246
|
+
Mt([
|
|
8209
8247
|
te("slot:not([name=content])")
|
|
8210
8248
|
], et.prototype, "popBtn", 2);
|
|
8211
|
-
|
|
8249
|
+
Mt([
|
|
8212
8250
|
te("slot[name=content]")
|
|
8213
8251
|
], et.prototype, "popContent", 2);
|
|
8214
|
-
|
|
8252
|
+
Mt([
|
|
8215
8253
|
a({ type: Boolean })
|
|
8216
8254
|
], et.prototype, "noToggle", 2);
|
|
8217
|
-
|
|
8255
|
+
Mt([
|
|
8218
8256
|
a({ type: Boolean, reflect: !0 })
|
|
8219
8257
|
], et.prototype, "inline", 2);
|
|
8220
|
-
|
|
8258
|
+
Mt([
|
|
8221
8259
|
a({ type: Boolean })
|
|
8222
8260
|
], et.prototype, "manual", 2);
|
|
8223
|
-
|
|
8261
|
+
Mt([
|
|
8224
8262
|
a({ type: String, reflect: !0 })
|
|
8225
8263
|
], et.prototype, "shadow", 2);
|
|
8226
|
-
|
|
8264
|
+
Mt([
|
|
8227
8265
|
a({ type: String })
|
|
8228
8266
|
], et.prototype, "placement", 2);
|
|
8229
|
-
|
|
8267
|
+
Mt([
|
|
8230
8268
|
E()
|
|
8231
8269
|
], et.prototype, "triggerElement", 2);
|
|
8232
|
-
et =
|
|
8270
|
+
et = Mt([
|
|
8233
8271
|
x(xl)
|
|
8234
8272
|
], et);
|
|
8235
8273
|
var Pl = Object.getOwnPropertyDescriptor, $l = (r, t, i, s) => {
|
|
@@ -8238,7 +8276,7 @@ var Pl = Object.getOwnPropertyDescriptor, $l = (r, t, i, s) => {
|
|
|
8238
8276
|
return e;
|
|
8239
8277
|
};
|
|
8240
8278
|
const Cl = "sonic-menu-item";
|
|
8241
|
-
let ur = class extends
|
|
8279
|
+
let ur = class extends I {
|
|
8242
8280
|
constructor() {
|
|
8243
8281
|
super();
|
|
8244
8282
|
}
|
|
@@ -8256,7 +8294,7 @@ ur = $l([
|
|
|
8256
8294
|
* Copyright 2021 Google LLC
|
|
8257
8295
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8258
8296
|
*/
|
|
8259
|
-
class
|
|
8297
|
+
class Ir {
|
|
8260
8298
|
constructor(t, { target: i, config: s, callback: e, skipInitial: o }) {
|
|
8261
8299
|
this.t = /* @__PURE__ */ new Set(), this.o = !1, this.i = !1, this.h = t, i !== null && this.t.add(i ?? t), this.l = s, this.o = o ?? this.o, this.callback = e, window.ResizeObserver ? (this.u = new ResizeObserver(((n) => {
|
|
8262
8300
|
this.handleChanges(n), this.h.requestUpdate();
|
|
@@ -8293,7 +8331,7 @@ let it = class extends Si(
|
|
|
8293
8331
|
Or(kr(se(_)))
|
|
8294
8332
|
) {
|
|
8295
8333
|
constructor() {
|
|
8296
|
-
super(...arguments), this.size = "md", this.placeholder = "", this.filteredFields = "", this.readonly = null, this.dataProviderExpression = "", this.minSearchLength = 0, this.key = "", this.searchParameter = "", this.propertyName = "", this.hasInputPrefix = !1, this._resizeController = new
|
|
8334
|
+
super(...arguments), this.size = "md", this.placeholder = "", this.filteredFields = "", this.readonly = null, this.dataProviderExpression = "", this.minSearchLength = 0, this.key = "", this.searchParameter = "", this.propertyName = "", this.hasInputPrefix = !1, this._resizeController = new Ir(this, {}), this.isPopVisible = !1, this.searchDataProvider = "", this.initSearchDataProvider = "", this.queueDataProvider = "", this.initQueueDataProvider = "", this.lastValidSearch = "", this.updateSearchParameter = (r) => {
|
|
8297
8335
|
if (r == "" && this.isSearchParameter()) {
|
|
8298
8336
|
this.lastValidSearch = "";
|
|
8299
8337
|
return;
|
|
@@ -8469,7 +8507,7 @@ let it = class extends Si(
|
|
|
8469
8507
|
}
|
|
8470
8508
|
};
|
|
8471
8509
|
it.styles = [
|
|
8472
|
-
|
|
8510
|
+
ss,
|
|
8473
8511
|
$`
|
|
8474
8512
|
:host {
|
|
8475
8513
|
display: block;
|
|
@@ -8637,7 +8675,7 @@ var Ll = Object.defineProperty, El = Object.getOwnPropertyDescriptor, ge = (r, t
|
|
|
8637
8675
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8638
8676
|
return s && e && Ll(t, i, e), e;
|
|
8639
8677
|
};
|
|
8640
|
-
const
|
|
8678
|
+
const Nl = "sonic-same-value-helper";
|
|
8641
8679
|
let Qt = class extends se(_) {
|
|
8642
8680
|
constructor() {
|
|
8643
8681
|
super(...arguments), this.descriptionWhenEqual = "Correspondance : oui", this.descriptionWhenNotEqual = "Correspondance : non", this.areEqual = !1, this.hasNoChar = !0;
|
|
@@ -8696,16 +8734,16 @@ ge([
|
|
|
8696
8734
|
E()
|
|
8697
8735
|
], Qt.prototype, "hasNoChar", 2);
|
|
8698
8736
|
Qt = ge([
|
|
8699
|
-
x(
|
|
8737
|
+
x(Nl)
|
|
8700
8738
|
], Qt);
|
|
8701
|
-
var
|
|
8702
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
8739
|
+
var Tl = Object.defineProperty, Ml = Object.getOwnPropertyDescriptor, Ht = (r, t, i, s) => {
|
|
8740
|
+
for (var e = s > 1 ? void 0 : s ? Ml(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8703
8741
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
8704
|
-
return s && e &&
|
|
8742
|
+
return s && e && Tl(t, i, e), e;
|
|
8705
8743
|
};
|
|
8706
|
-
const
|
|
8744
|
+
const Il = "sonic-checkbox";
|
|
8707
8745
|
let ft = class extends $i(
|
|
8708
|
-
|
|
8746
|
+
Ts(De(G(_)))
|
|
8709
8747
|
) {
|
|
8710
8748
|
constructor() {
|
|
8711
8749
|
super(...arguments), this.touched = !1, this.iconName = "check", this.indeterminateIconName = "minus-small", this.showAsIndeterminate = !1, this.hasDescription = !1, this.hasLabel = !1;
|
|
@@ -8755,7 +8793,7 @@ let ft = class extends $i(
|
|
|
8755
8793
|
}
|
|
8756
8794
|
};
|
|
8757
8795
|
ft.styles = [
|
|
8758
|
-
|
|
8796
|
+
Tt,
|
|
8759
8797
|
$`
|
|
8760
8798
|
:host {
|
|
8761
8799
|
--sc-checkbox-border-width: var(--sc-form-border-width);
|
|
@@ -8905,7 +8943,7 @@ Ht([
|
|
|
8905
8943
|
ht({ slot: "description", flatten: !0 })
|
|
8906
8944
|
], ft.prototype, "slotDescriptionNodes", 2);
|
|
8907
8945
|
ft = Ht([
|
|
8908
|
-
x(
|
|
8946
|
+
x(Il)
|
|
8909
8947
|
], ft);
|
|
8910
8948
|
var jl = Object.getOwnPropertyDescriptor, Fl = (r, t, i, s) => {
|
|
8911
8949
|
for (var e = s > 1 ? void 0 : s ? jl(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
@@ -9136,7 +9174,7 @@ let W = class extends De(G(_)) {
|
|
|
9136
9174
|
aria-label=${C(this.ariaLabel)}
|
|
9137
9175
|
aria-labelledby=${C(this.ariaLabelledby)}
|
|
9138
9176
|
>
|
|
9139
|
-
${
|
|
9177
|
+
${Ns(
|
|
9140
9178
|
this.options,
|
|
9141
9179
|
(t) => t[this.valueKey],
|
|
9142
9180
|
(t) => {
|
|
@@ -9170,9 +9208,9 @@ let W = class extends De(G(_)) {
|
|
|
9170
9208
|
}
|
|
9171
9209
|
};
|
|
9172
9210
|
W.styles = [
|
|
9173
|
-
|
|
9211
|
+
Tt,
|
|
9174
9212
|
Di,
|
|
9175
|
-
|
|
9213
|
+
Is,
|
|
9176
9214
|
js,
|
|
9177
9215
|
$`
|
|
9178
9216
|
.form-element {
|
|
@@ -9295,7 +9333,7 @@ var Wl = Object.defineProperty, Kl = Object.getOwnPropertyDescriptor, bt = (r, t
|
|
|
9295
9333
|
return s && e && Wl(t, i, e), e;
|
|
9296
9334
|
};
|
|
9297
9335
|
const Yl = "sonic-textarea";
|
|
9298
|
-
let lt = class extends
|
|
9336
|
+
let lt = class extends Ts(De(G(_))) {
|
|
9299
9337
|
constructor() {
|
|
9300
9338
|
super(...arguments), this.size = "md", this.readonly = !1, this.resize = "vertical", this.hasDescription = !1, this.hasLabel = !1;
|
|
9301
9339
|
}
|
|
@@ -9371,11 +9409,11 @@ ${this.value}</textarea
|
|
|
9371
9409
|
}
|
|
9372
9410
|
};
|
|
9373
9411
|
lt.styles = [
|
|
9374
|
-
|
|
9412
|
+
Tt,
|
|
9375
9413
|
Di,
|
|
9376
|
-
|
|
9414
|
+
Is,
|
|
9377
9415
|
js,
|
|
9378
|
-
|
|
9416
|
+
ss,
|
|
9379
9417
|
$`
|
|
9380
9418
|
textarea {
|
|
9381
9419
|
overflow-y: auto !important;
|
|
@@ -9569,7 +9607,7 @@ ve([
|
|
|
9569
9607
|
Bt = ve([
|
|
9570
9608
|
x(Jl)
|
|
9571
9609
|
], Bt);
|
|
9572
|
-
var tc = Object.defineProperty, ec = Object.getOwnPropertyDescriptor,
|
|
9610
|
+
var tc = Object.defineProperty, ec = Object.getOwnPropertyDescriptor, It = (r, t, i, s) => {
|
|
9573
9611
|
for (var e = s > 1 ? void 0 : s ? ec(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9574
9612
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
9575
9613
|
return s && e && tc(t, i, e), e;
|
|
@@ -9647,34 +9685,34 @@ xt.styles = [
|
|
|
9647
9685
|
}
|
|
9648
9686
|
`
|
|
9649
9687
|
];
|
|
9650
|
-
|
|
9688
|
+
It([
|
|
9651
9689
|
a({ type: Boolean, reflect: !0 })
|
|
9652
9690
|
], xt.prototype, "disabled", 2);
|
|
9653
|
-
|
|
9691
|
+
It([
|
|
9654
9692
|
a({ type: String })
|
|
9655
9693
|
], xt.prototype, "form", 2);
|
|
9656
|
-
|
|
9694
|
+
It([
|
|
9657
9695
|
a({ type: String })
|
|
9658
9696
|
], xt.prototype, "label", 2);
|
|
9659
|
-
|
|
9697
|
+
It([
|
|
9660
9698
|
a({ type: String })
|
|
9661
9699
|
], xt.prototype, "description", 2);
|
|
9662
|
-
|
|
9700
|
+
It([
|
|
9663
9701
|
a({ type: String })
|
|
9664
9702
|
], xt.prototype, "iconName", 2);
|
|
9665
|
-
|
|
9703
|
+
It([
|
|
9666
9704
|
a({ type: String })
|
|
9667
9705
|
], xt.prototype, "iconLibrary", 2);
|
|
9668
|
-
|
|
9706
|
+
It([
|
|
9669
9707
|
a({ type: String })
|
|
9670
9708
|
], xt.prototype, "iconPrefix", 2);
|
|
9671
|
-
|
|
9709
|
+
It([
|
|
9672
9710
|
a({ type: Boolean, reflect: !0 })
|
|
9673
9711
|
], xt.prototype, "tight", 2);
|
|
9674
|
-
|
|
9712
|
+
It([
|
|
9675
9713
|
a({ type: String, reflect: !0 })
|
|
9676
9714
|
], xt.prototype, "variant", 2);
|
|
9677
|
-
xt =
|
|
9715
|
+
xt = It([
|
|
9678
9716
|
x(sc)
|
|
9679
9717
|
], xt);
|
|
9680
9718
|
var ic = Object.defineProperty, rc = Object.getOwnPropertyDescriptor, Ei = (r, t, i, s) => {
|
|
@@ -9683,9 +9721,9 @@ var ic = Object.defineProperty, rc = Object.getOwnPropertyDescriptor, Ei = (r, t
|
|
|
9683
9721
|
return s && e && ic(t, i, e), e;
|
|
9684
9722
|
};
|
|
9685
9723
|
const oc = "sonic-form-layout";
|
|
9686
|
-
let
|
|
9724
|
+
let Xe = class extends G(_) {
|
|
9687
9725
|
constructor() {
|
|
9688
|
-
super(...arguments), this._resizeController = new
|
|
9726
|
+
super(...arguments), this._resizeController = new Ir(this, {}), this.oneFormElement = !1;
|
|
9689
9727
|
}
|
|
9690
9728
|
onSlotChange() {
|
|
9691
9729
|
let r = this.slottedElements;
|
|
@@ -9702,7 +9740,7 @@ let Ze = class extends G(_) {
|
|
|
9702
9740
|
</div>`;
|
|
9703
9741
|
}
|
|
9704
9742
|
};
|
|
9705
|
-
|
|
9743
|
+
Xe.styles = [
|
|
9706
9744
|
$`
|
|
9707
9745
|
:host {
|
|
9708
9746
|
display: block;
|
|
@@ -9742,20 +9780,20 @@ Ze.styles = [
|
|
|
9742
9780
|
];
|
|
9743
9781
|
Ei([
|
|
9744
9782
|
Ae({ flatten: !0 })
|
|
9745
|
-
],
|
|
9783
|
+
], Xe.prototype, "slottedElements", 2);
|
|
9746
9784
|
Ei([
|
|
9747
9785
|
a({ type: Boolean })
|
|
9748
|
-
],
|
|
9749
|
-
|
|
9786
|
+
], Xe.prototype, "oneFormElement", 2);
|
|
9787
|
+
Xe = Ei([
|
|
9750
9788
|
x(oc)
|
|
9751
|
-
],
|
|
9752
|
-
var nc = Object.defineProperty, ac = Object.getOwnPropertyDescriptor,
|
|
9789
|
+
], Xe);
|
|
9790
|
+
var nc = Object.defineProperty, ac = Object.getOwnPropertyDescriptor, Ni = (r, t, i, s) => {
|
|
9753
9791
|
for (var e = s > 1 ? void 0 : s ? ac(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9754
9792
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
9755
9793
|
return s && e && nc(t, i, e), e;
|
|
9756
9794
|
};
|
|
9757
9795
|
const lc = "sonic-form-actions";
|
|
9758
|
-
let
|
|
9796
|
+
let Ge = class extends _ {
|
|
9759
9797
|
constructor() {
|
|
9760
9798
|
super(...arguments), this.direction = "row", this.justify = "flex-start";
|
|
9761
9799
|
}
|
|
@@ -9767,7 +9805,7 @@ let Xe = class extends _ {
|
|
|
9767
9805
|
return b`<slot style=${pt(r)}></slot>`;
|
|
9768
9806
|
}
|
|
9769
9807
|
};
|
|
9770
|
-
|
|
9808
|
+
Ge.styles = [
|
|
9771
9809
|
$`
|
|
9772
9810
|
:host {
|
|
9773
9811
|
display: block;
|
|
@@ -9779,15 +9817,15 @@ Xe.styles = [
|
|
|
9779
9817
|
}
|
|
9780
9818
|
`
|
|
9781
9819
|
];
|
|
9782
|
-
|
|
9820
|
+
Ni([
|
|
9783
9821
|
a({ type: String })
|
|
9784
|
-
],
|
|
9785
|
-
|
|
9822
|
+
], Ge.prototype, "direction", 2);
|
|
9823
|
+
Ni([
|
|
9786
9824
|
a({ type: String })
|
|
9787
|
-
],
|
|
9788
|
-
|
|
9825
|
+
], Ge.prototype, "justify", 2);
|
|
9826
|
+
Ge = Ni([
|
|
9789
9827
|
x(lc)
|
|
9790
|
-
],
|
|
9828
|
+
], Ge);
|
|
9791
9829
|
var cc = Object.defineProperty, hc = Object.getOwnPropertyDescriptor, ie = (r, t, i, s) => {
|
|
9792
9830
|
for (var e = s > 1 ? void 0 : s ? hc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9793
9831
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
@@ -9840,8 +9878,8 @@ let Et = class extends _ {
|
|
|
9840
9878
|
}
|
|
9841
9879
|
};
|
|
9842
9880
|
Et.styles = [
|
|
9843
|
-
|
|
9844
|
-
|
|
9881
|
+
Tt,
|
|
9882
|
+
Is,
|
|
9845
9883
|
js,
|
|
9846
9884
|
$`
|
|
9847
9885
|
:host {
|
|
@@ -10303,7 +10341,7 @@ ct.styles = [
|
|
|
10303
10341
|
);
|
|
10304
10342
|
}
|
|
10305
10343
|
`,
|
|
10306
|
-
|
|
10344
|
+
Mr
|
|
10307
10345
|
];
|
|
10308
10346
|
gt([
|
|
10309
10347
|
a({ type: String, reflect: !0 })
|
|
@@ -10390,7 +10428,7 @@ var _c = Object.defineProperty, xc = Object.getOwnPropertyDescriptor, Fs = (r, t
|
|
|
10390
10428
|
return s && e && _c(t, i, e), e;
|
|
10391
10429
|
};
|
|
10392
10430
|
const Pc = "sonic-modal-close";
|
|
10393
|
-
let
|
|
10431
|
+
let Qe = class extends _ {
|
|
10394
10432
|
constructor() {
|
|
10395
10433
|
super(...arguments), this.translation = {
|
|
10396
10434
|
fr: "Fermer la fenêtre",
|
|
@@ -10420,16 +10458,16 @@ let Ge = class extends _ {
|
|
|
10420
10458
|
};
|
|
10421
10459
|
Fs([
|
|
10422
10460
|
a()
|
|
10423
|
-
],
|
|
10461
|
+
], Qe.prototype, "translation", 2);
|
|
10424
10462
|
Fs([
|
|
10425
10463
|
a()
|
|
10426
|
-
],
|
|
10464
|
+
], Qe.prototype, "reset", 2);
|
|
10427
10465
|
Fs([
|
|
10428
10466
|
a()
|
|
10429
|
-
],
|
|
10430
|
-
|
|
10467
|
+
], Qe.prototype, "type", 2);
|
|
10468
|
+
Qe = Fs([
|
|
10431
10469
|
x(Pc)
|
|
10432
|
-
],
|
|
10470
|
+
], Qe);
|
|
10433
10471
|
var $c = Object.getOwnPropertyDescriptor, Cc = (r, t, i, s) => {
|
|
10434
10472
|
for (var e = s > 1 ? void 0 : s ? $c(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10435
10473
|
(n = r[o]) && (e = n(e) || e);
|
|
@@ -10511,13 +10549,13 @@ ni.styles = [
|
|
|
10511
10549
|
ni = Lc([
|
|
10512
10550
|
x(Ec)
|
|
10513
10551
|
], ni);
|
|
10514
|
-
var
|
|
10515
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
10552
|
+
var Nc = Object.defineProperty, Tc = Object.getOwnPropertyDescriptor, Y = (r, t, i, s) => {
|
|
10553
|
+
for (var e = s > 1 ? void 0 : s ? Tc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10516
10554
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
10517
|
-
return s && e &&
|
|
10555
|
+
return s && e && Nc(t, i, e), e;
|
|
10518
10556
|
};
|
|
10519
10557
|
const Fr = "sonic-modal";
|
|
10520
|
-
let
|
|
10558
|
+
let M = class extends G(_) {
|
|
10521
10559
|
constructor() {
|
|
10522
10560
|
super(...arguments), this.forceAction = !1, this.noCloseButton = !1, this.removeOnHide = !1, this.removeHashOnHide = !1, this.align = "left", this.maxWidth = "min(100vw, 40rem)", this.maxHeight = "90vh", this.width = "100%", this.height = "fit-content", this.effect = "slide", this.fullScreen = !1, this.visible = !1, this.closeOnLocationChange = !1, this.location = "", this._animationState = "hidden", this._animationConfig = {
|
|
10523
10561
|
quartOut: "cubic-bezier(0.165, 0.84, 0.44, 1)",
|
|
@@ -10535,10 +10573,10 @@ let I = class extends G(_) {
|
|
|
10535
10573
|
}), t;
|
|
10536
10574
|
}
|
|
10537
10575
|
connectedCallback() {
|
|
10538
|
-
|
|
10576
|
+
M.modals.push(this), tt.onChange(this), super.connectedCallback();
|
|
10539
10577
|
}
|
|
10540
10578
|
disconnectedCallback() {
|
|
10541
|
-
tt.offChange(this),
|
|
10579
|
+
tt.offChange(this), M.modals.splice(M.modals.indexOf(this), 1), this.removeEventListener("keydown", this.handleEscape), super.disconnectedCallback();
|
|
10542
10580
|
}
|
|
10543
10581
|
firstUpdated() {
|
|
10544
10582
|
this.addEventListener("keydown", this.handleEscape);
|
|
@@ -10639,7 +10677,7 @@ let I = class extends G(_) {
|
|
|
10639
10677
|
}
|
|
10640
10678
|
// Hide and remove all modals
|
|
10641
10679
|
static disposeAll() {
|
|
10642
|
-
|
|
10680
|
+
M.modals.forEach((r) => {
|
|
10643
10681
|
r.dispose();
|
|
10644
10682
|
});
|
|
10645
10683
|
}
|
|
@@ -10647,7 +10685,7 @@ let I = class extends G(_) {
|
|
|
10647
10685
|
handleEscape(r) {
|
|
10648
10686
|
if (r.key === "Escape") {
|
|
10649
10687
|
r.preventDefault();
|
|
10650
|
-
const t =
|
|
10688
|
+
const t = M.modals.filter(
|
|
10651
10689
|
(i) => i._animationState !== "hidden" && !i.forceAction
|
|
10652
10690
|
);
|
|
10653
10691
|
t.length > 0 && t[t.length - 1].hide();
|
|
@@ -10694,8 +10732,8 @@ let I = class extends G(_) {
|
|
|
10694
10732
|
});
|
|
10695
10733
|
}
|
|
10696
10734
|
};
|
|
10697
|
-
|
|
10698
|
-
|
|
10735
|
+
M.styles = [
|
|
10736
|
+
ss,
|
|
10699
10737
|
$`
|
|
10700
10738
|
:host {
|
|
10701
10739
|
--sc-modal-py: 2.5rem;
|
|
@@ -10848,78 +10886,78 @@ I.styles = [
|
|
|
10848
10886
|
}
|
|
10849
10887
|
`
|
|
10850
10888
|
];
|
|
10851
|
-
|
|
10889
|
+
M.modals = [];
|
|
10852
10890
|
Y([
|
|
10853
10891
|
a({ type: Boolean })
|
|
10854
|
-
],
|
|
10892
|
+
], M.prototype, "forceAction", 2);
|
|
10855
10893
|
Y([
|
|
10856
10894
|
a({ type: Boolean })
|
|
10857
|
-
],
|
|
10895
|
+
], M.prototype, "noCloseButton", 2);
|
|
10858
10896
|
Y([
|
|
10859
10897
|
a({ type: Boolean })
|
|
10860
|
-
],
|
|
10898
|
+
], M.prototype, "removeOnHide", 2);
|
|
10861
10899
|
Y([
|
|
10862
10900
|
a({ type: Boolean })
|
|
10863
|
-
],
|
|
10901
|
+
], M.prototype, "removeHashOnHide", 2);
|
|
10864
10902
|
Y([
|
|
10865
10903
|
a({ type: String, reflect: !0 })
|
|
10866
|
-
],
|
|
10904
|
+
], M.prototype, "align", 2);
|
|
10867
10905
|
Y([
|
|
10868
10906
|
a({ type: String })
|
|
10869
|
-
],
|
|
10907
|
+
], M.prototype, "paddingX", 2);
|
|
10870
10908
|
Y([
|
|
10871
10909
|
a({ type: String })
|
|
10872
|
-
],
|
|
10910
|
+
], M.prototype, "paddingY", 2);
|
|
10873
10911
|
Y([
|
|
10874
10912
|
a({ type: String })
|
|
10875
|
-
],
|
|
10913
|
+
], M.prototype, "maxWidth", 2);
|
|
10876
10914
|
Y([
|
|
10877
10915
|
a({ type: String })
|
|
10878
|
-
],
|
|
10916
|
+
], M.prototype, "maxHeight", 2);
|
|
10879
10917
|
Y([
|
|
10880
10918
|
a({ type: String })
|
|
10881
|
-
],
|
|
10919
|
+
], M.prototype, "zIndex", 2);
|
|
10882
10920
|
Y([
|
|
10883
10921
|
a({ type: String })
|
|
10884
|
-
],
|
|
10922
|
+
], M.prototype, "width", 2);
|
|
10885
10923
|
Y([
|
|
10886
10924
|
a({ type: String })
|
|
10887
|
-
],
|
|
10925
|
+
], M.prototype, "height", 2);
|
|
10888
10926
|
Y([
|
|
10889
10927
|
a({ type: String })
|
|
10890
|
-
],
|
|
10928
|
+
], M.prototype, "effect", 2);
|
|
10891
10929
|
Y([
|
|
10892
10930
|
a({ type: Object })
|
|
10893
|
-
],
|
|
10931
|
+
], M.prototype, "options", 2);
|
|
10894
10932
|
Y([
|
|
10895
10933
|
a({ type: Boolean, reflect: !0 })
|
|
10896
|
-
],
|
|
10934
|
+
], M.prototype, "fullScreen", 2);
|
|
10897
10935
|
Y([
|
|
10898
10936
|
a({ type: Boolean, reflect: !0 })
|
|
10899
|
-
],
|
|
10937
|
+
], M.prototype, "visible", 2);
|
|
10900
10938
|
Y([
|
|
10901
10939
|
a({ type: String })
|
|
10902
|
-
],
|
|
10940
|
+
], M.prototype, "closeButtonType", 2);
|
|
10903
10941
|
Y([
|
|
10904
10942
|
te("#modal")
|
|
10905
|
-
],
|
|
10943
|
+
], M.prototype, "_modalElement", 2);
|
|
10906
10944
|
Y([
|
|
10907
10945
|
a({ type: Boolean })
|
|
10908
|
-
],
|
|
10946
|
+
], M.prototype, "closeOnLocationChange", 2);
|
|
10909
10947
|
Y([
|
|
10910
10948
|
E()
|
|
10911
|
-
],
|
|
10949
|
+
], M.prototype, "location", 2);
|
|
10912
10950
|
Y([
|
|
10913
10951
|
E()
|
|
10914
|
-
],
|
|
10915
|
-
|
|
10952
|
+
], M.prototype, "_animationState", 2);
|
|
10953
|
+
M = Y([
|
|
10916
10954
|
x(Fr)
|
|
10917
|
-
],
|
|
10918
|
-
typeof window < "u" && (window.SonicModal =
|
|
10919
|
-
var
|
|
10920
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
10955
|
+
], M);
|
|
10956
|
+
typeof window < "u" && (window.SonicModal = M);
|
|
10957
|
+
var Mc = Object.defineProperty, Ic = Object.getOwnPropertyDescriptor, Ft = (r, t, i, s) => {
|
|
10958
|
+
for (var e = s > 1 ? void 0 : s ? Ic(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10921
10959
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
10922
|
-
return s && e &&
|
|
10960
|
+
return s && e && Mc(t, i, e), e;
|
|
10923
10961
|
};
|
|
10924
10962
|
const jc = {
|
|
10925
10963
|
warning: "warning-circled-outline",
|
|
@@ -10972,7 +11010,7 @@ let $t = class extends _ {
|
|
|
10972
11010
|
}
|
|
10973
11011
|
};
|
|
10974
11012
|
$t.styles = [
|
|
10975
|
-
|
|
11013
|
+
Tt,
|
|
10976
11014
|
$`
|
|
10977
11015
|
:host {
|
|
10978
11016
|
--sc_color: var(--sc-base-content, #000);
|
|
@@ -11092,7 +11130,7 @@ Ft([
|
|
|
11092
11130
|
$t = Ft([
|
|
11093
11131
|
x(Fc)
|
|
11094
11132
|
], $t);
|
|
11095
|
-
var zc = Object.defineProperty, Rc = Object.getOwnPropertyDescriptor,
|
|
11133
|
+
var zc = Object.defineProperty, Rc = Object.getOwnPropertyDescriptor, ns = (r, t, i, s) => {
|
|
11096
11134
|
for (var e = s > 1 ? void 0 : s ? Rc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11097
11135
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11098
11136
|
return s && e && zc(t, i, e), e;
|
|
@@ -11124,19 +11162,19 @@ pe.styles = [
|
|
|
11124
11162
|
}
|
|
11125
11163
|
`
|
|
11126
11164
|
];
|
|
11127
|
-
|
|
11165
|
+
ns([
|
|
11128
11166
|
a({ type: String })
|
|
11129
11167
|
], pe.prototype, "size", 2);
|
|
11130
|
-
|
|
11168
|
+
ns([
|
|
11131
11169
|
a({ type: Boolean })
|
|
11132
11170
|
], pe.prototype, "background", 2);
|
|
11133
|
-
|
|
11171
|
+
ns([
|
|
11134
11172
|
a({ type: Boolean })
|
|
11135
11173
|
], pe.prototype, "noIcon", 2);
|
|
11136
|
-
|
|
11174
|
+
ns([
|
|
11137
11175
|
a({ type: Array })
|
|
11138
11176
|
], pe.prototype, "messages", 2);
|
|
11139
|
-
pe =
|
|
11177
|
+
pe = ns([
|
|
11140
11178
|
x(Uc)
|
|
11141
11179
|
], pe);
|
|
11142
11180
|
var Vc = Object.defineProperty, Bc = Object.getOwnPropertyDescriptor, zr = (r, t, i, s) => {
|
|
@@ -11167,7 +11205,7 @@ zr([
|
|
|
11167
11205
|
ai = zr([
|
|
11168
11206
|
x(qc)
|
|
11169
11207
|
], ai);
|
|
11170
|
-
var Hc = Object.defineProperty, Wc = Object.getOwnPropertyDescriptor,
|
|
11208
|
+
var Hc = Object.defineProperty, Wc = Object.getOwnPropertyDescriptor, as = (r, t, i, s) => {
|
|
11171
11209
|
for (var e = s > 1 ? void 0 : s ? Wc(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11172
11210
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11173
11211
|
return s && e && Hc(t, i, e), e;
|
|
@@ -11317,19 +11355,19 @@ fe.styles = [
|
|
|
11317
11355
|
}
|
|
11318
11356
|
`
|
|
11319
11357
|
];
|
|
11320
|
-
|
|
11358
|
+
as([
|
|
11321
11359
|
a({ type: String })
|
|
11322
11360
|
], fe.prototype, "label", 2);
|
|
11323
|
-
|
|
11361
|
+
as([
|
|
11324
11362
|
a({ type: String, reflect: !0 })
|
|
11325
11363
|
], fe.prototype, "placement", 2);
|
|
11326
|
-
|
|
11364
|
+
as([
|
|
11327
11365
|
a({ type: Boolean })
|
|
11328
11366
|
], fe.prototype, "disabled", 2);
|
|
11329
|
-
|
|
11367
|
+
as([
|
|
11330
11368
|
a({ type: Boolean })
|
|
11331
11369
|
], fe.prototype, "focusable", 2);
|
|
11332
|
-
fe =
|
|
11370
|
+
fe = as([
|
|
11333
11371
|
x(Kc)
|
|
11334
11372
|
], fe);
|
|
11335
11373
|
var Yc = Object.defineProperty, Zc = Object.getOwnPropertyDescriptor, zt = (r, t, i, s) => {
|
|
@@ -11542,13 +11580,13 @@ li.styles = [
|
|
|
11542
11580
|
li = Qc([
|
|
11543
11581
|
x(Jc)
|
|
11544
11582
|
], li);
|
|
11545
|
-
var th = Object.defineProperty, eh = Object.getOwnPropertyDescriptor,
|
|
11583
|
+
var th = Object.defineProperty, eh = Object.getOwnPropertyDescriptor, Ti = (r, t, i, s) => {
|
|
11546
11584
|
for (var e = s > 1 ? void 0 : s ? eh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11547
11585
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11548
11586
|
return s && e && th(t, i, e), e;
|
|
11549
11587
|
};
|
|
11550
11588
|
const sh = "sonic-card-header";
|
|
11551
|
-
let
|
|
11589
|
+
let Je = class extends _ {
|
|
11552
11590
|
render() {
|
|
11553
11591
|
return b`
|
|
11554
11592
|
<div class="header-content">
|
|
@@ -11562,7 +11600,7 @@ let Qe = class extends _ {
|
|
|
11562
11600
|
`;
|
|
11563
11601
|
}
|
|
11564
11602
|
};
|
|
11565
|
-
|
|
11603
|
+
Je.styles = [
|
|
11566
11604
|
$`
|
|
11567
11605
|
:host {
|
|
11568
11606
|
--sc-card-header-mb: 1.35rem;
|
|
@@ -11603,15 +11641,15 @@ Qe.styles = [
|
|
|
11603
11641
|
}
|
|
11604
11642
|
`
|
|
11605
11643
|
];
|
|
11606
|
-
|
|
11644
|
+
Ti([
|
|
11607
11645
|
a()
|
|
11608
|
-
],
|
|
11609
|
-
|
|
11646
|
+
], Je.prototype, "label", 2);
|
|
11647
|
+
Ti([
|
|
11610
11648
|
a()
|
|
11611
|
-
],
|
|
11612
|
-
|
|
11649
|
+
], Je.prototype, "description", 2);
|
|
11650
|
+
Je = Ti([
|
|
11613
11651
|
x(sh)
|
|
11614
|
-
],
|
|
11652
|
+
], Je);
|
|
11615
11653
|
var ih = Object.getOwnPropertyDescriptor, rh = (r, t, i, s) => {
|
|
11616
11654
|
for (var e = s > 1 ? void 0 : s ? ih(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11617
11655
|
(n = r[o]) && (e = n(e) || e);
|
|
@@ -11654,7 +11692,7 @@ hi.styles = [
|
|
|
11654
11692
|
hi = ah([
|
|
11655
11693
|
x(lh)
|
|
11656
11694
|
], hi);
|
|
11657
|
-
const
|
|
11695
|
+
const Mi = $`
|
|
11658
11696
|
:host {
|
|
11659
11697
|
--sc-_color: inherit;
|
|
11660
11698
|
color: var(--sc-_color);
|
|
@@ -11797,7 +11835,7 @@ Rr([
|
|
|
11797
11835
|
As = Rr([
|
|
11798
11836
|
x(uh)
|
|
11799
11837
|
], As);
|
|
11800
|
-
var ph = Object.defineProperty, fh = Object.getOwnPropertyDescriptor,
|
|
11838
|
+
var ph = Object.defineProperty, fh = Object.getOwnPropertyDescriptor, ls = (r, t, i, s) => {
|
|
11801
11839
|
for (var e = s > 1 ? void 0 : s ? fh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11802
11840
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
11803
11841
|
return s && e && ph(t, i, e), e;
|
|
@@ -11815,7 +11853,7 @@ let me = class extends G(_) {
|
|
|
11815
11853
|
}
|
|
11816
11854
|
};
|
|
11817
11855
|
me.styles = [
|
|
11818
|
-
|
|
11856
|
+
Mi,
|
|
11819
11857
|
$`
|
|
11820
11858
|
:host {
|
|
11821
11859
|
display: table-row;
|
|
@@ -11836,19 +11874,19 @@ me.styles = [
|
|
|
11836
11874
|
}
|
|
11837
11875
|
`
|
|
11838
11876
|
];
|
|
11839
|
-
|
|
11877
|
+
ls([
|
|
11840
11878
|
a({ type: Object })
|
|
11841
11879
|
], me.prototype, "_metadata_", 2);
|
|
11842
|
-
|
|
11880
|
+
ls([
|
|
11843
11881
|
a({ type: Boolean, reflect: !0 })
|
|
11844
11882
|
], me.prototype, "even", 2);
|
|
11845
|
-
|
|
11883
|
+
ls([
|
|
11846
11884
|
a({ type: Boolean, reflect: !0 })
|
|
11847
11885
|
], me.prototype, "odd", 2);
|
|
11848
|
-
|
|
11886
|
+
ls([
|
|
11849
11887
|
a({ type: Boolean, reflect: !0 })
|
|
11850
11888
|
], me.prototype, "last", 2);
|
|
11851
|
-
me =
|
|
11889
|
+
me = ls([
|
|
11852
11890
|
x(mh)
|
|
11853
11891
|
], me);
|
|
11854
11892
|
var bh = Object.defineProperty, gh = Object.getOwnPropertyDescriptor, ye = (r, t, i, s) => {
|
|
@@ -11876,7 +11914,7 @@ let qt = class extends _ {
|
|
|
11876
11914
|
}
|
|
11877
11915
|
};
|
|
11878
11916
|
qt.styles = [
|
|
11879
|
-
|
|
11917
|
+
Mi,
|
|
11880
11918
|
$`
|
|
11881
11919
|
:host {
|
|
11882
11920
|
display: contents;
|
|
@@ -11929,7 +11967,7 @@ var yh = Object.defineProperty, wh = Object.getOwnPropertyDescriptor, re = (r, t
|
|
|
11929
11967
|
return s && e && yh(t, i, e), e;
|
|
11930
11968
|
};
|
|
11931
11969
|
const _h = "sonic-td";
|
|
11932
|
-
let
|
|
11970
|
+
let Nt = class extends _ {
|
|
11933
11971
|
render() {
|
|
11934
11972
|
const r = {
|
|
11935
11973
|
textAlign: this.align,
|
|
@@ -11943,8 +11981,8 @@ let Tt = class extends _ {
|
|
|
11943
11981
|
</td>`;
|
|
11944
11982
|
}
|
|
11945
11983
|
};
|
|
11946
|
-
|
|
11947
|
-
|
|
11984
|
+
Nt.styles = [
|
|
11985
|
+
Mi,
|
|
11948
11986
|
$`
|
|
11949
11987
|
:host {
|
|
11950
11988
|
display: contents;
|
|
@@ -11962,28 +12000,28 @@ Tt.styles = [
|
|
|
11962
12000
|
];
|
|
11963
12001
|
re([
|
|
11964
12002
|
a({ type: Number })
|
|
11965
|
-
],
|
|
12003
|
+
], Nt.prototype, "colSpan", 2);
|
|
11966
12004
|
re([
|
|
11967
12005
|
a({ type: Number })
|
|
11968
|
-
],
|
|
12006
|
+
], Nt.prototype, "rowSpan", 2);
|
|
11969
12007
|
re([
|
|
11970
12008
|
a({ type: String })
|
|
11971
|
-
],
|
|
12009
|
+
], Nt.prototype, "align", 2);
|
|
11972
12010
|
re([
|
|
11973
12011
|
a({ type: String })
|
|
11974
|
-
],
|
|
12012
|
+
], Nt.prototype, "vAlign", 2);
|
|
11975
12013
|
re([
|
|
11976
12014
|
a({ type: String })
|
|
11977
|
-
],
|
|
12015
|
+
], Nt.prototype, "minWidth", 2);
|
|
11978
12016
|
re([
|
|
11979
12017
|
a({ type: String })
|
|
11980
|
-
],
|
|
12018
|
+
], Nt.prototype, "maxWidth", 2);
|
|
11981
12019
|
re([
|
|
11982
12020
|
a({ type: String })
|
|
11983
|
-
],
|
|
11984
|
-
|
|
12021
|
+
], Nt.prototype, "width", 2);
|
|
12022
|
+
Nt = re([
|
|
11985
12023
|
x(_h)
|
|
11986
|
-
],
|
|
12024
|
+
], Nt);
|
|
11987
12025
|
var xh = Object.getOwnPropertyDescriptor, Ph = (r, t, i, s) => {
|
|
11988
12026
|
for (var e = s > 1 ? void 0 : s ? xh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11989
12027
|
(n = r[o]) && (e = n(e) || e);
|
|
@@ -12069,7 +12107,7 @@ var Lh = Object.getOwnPropertyDescriptor, Eh = (r, t, i, s) => {
|
|
|
12069
12107
|
(n = r[o]) && (e = n(e) || e);
|
|
12070
12108
|
return e;
|
|
12071
12109
|
};
|
|
12072
|
-
const
|
|
12110
|
+
const Nh = "sonic-caption";
|
|
12073
12111
|
let fi = class extends _ {
|
|
12074
12112
|
render() {
|
|
12075
12113
|
return b`<slot></slot>`;
|
|
@@ -12086,14 +12124,14 @@ fi.styles = [
|
|
|
12086
12124
|
`
|
|
12087
12125
|
];
|
|
12088
12126
|
fi = Eh([
|
|
12089
|
-
x(
|
|
12127
|
+
x(Nh)
|
|
12090
12128
|
], fi);
|
|
12091
|
-
var
|
|
12092
|
-
for (var e = s > 1 ? void 0 : s ?
|
|
12129
|
+
var Th = Object.defineProperty, Mh = Object.getOwnPropertyDescriptor, Me = (r, t, i, s) => {
|
|
12130
|
+
for (var e = s > 1 ? void 0 : s ? Mh(t, i) : t, o = r.length - 1, n; o >= 0; o--)
|
|
12093
12131
|
(n = r[o]) && (e = (s ? n(t, i, e) : n(e)) || e);
|
|
12094
|
-
return s && e &&
|
|
12132
|
+
return s && e && Th(t, i, e), e;
|
|
12095
12133
|
};
|
|
12096
|
-
const
|
|
12134
|
+
const Ih = "sonic-table";
|
|
12097
12135
|
let Jt = class extends _ {
|
|
12098
12136
|
render() {
|
|
12099
12137
|
const r = {
|
|
@@ -12112,8 +12150,8 @@ let Jt = class extends _ {
|
|
|
12112
12150
|
}
|
|
12113
12151
|
};
|
|
12114
12152
|
Jt.styles = [
|
|
12115
|
-
|
|
12116
|
-
|
|
12153
|
+
ss,
|
|
12154
|
+
Tt,
|
|
12117
12155
|
$`
|
|
12118
12156
|
:host {
|
|
12119
12157
|
--sc-table-fw: var(--sc-font-weight-base, 400);
|
|
@@ -12161,23 +12199,23 @@ Jt.styles = [
|
|
|
12161
12199
|
}
|
|
12162
12200
|
`
|
|
12163
12201
|
];
|
|
12164
|
-
|
|
12202
|
+
Me([
|
|
12165
12203
|
a({ type: String, reflect: !0 })
|
|
12166
12204
|
], Jt.prototype, "size", 2);
|
|
12167
|
-
|
|
12205
|
+
Me([
|
|
12168
12206
|
a({ type: Boolean, reflect: !0 })
|
|
12169
12207
|
], Jt.prototype, "bordered", 2);
|
|
12170
|
-
|
|
12208
|
+
Me([
|
|
12171
12209
|
a({ type: Boolean, reflect: !0 })
|
|
12172
12210
|
], Jt.prototype, "rounded", 2);
|
|
12173
|
-
|
|
12211
|
+
Me([
|
|
12174
12212
|
a({ type: Boolean, reflect: !0 })
|
|
12175
12213
|
], Jt.prototype, "noCustomScroll", 2);
|
|
12176
|
-
|
|
12214
|
+
Me([
|
|
12177
12215
|
a({ type: String })
|
|
12178
12216
|
], Jt.prototype, "maxHeight", 2);
|
|
12179
|
-
Jt =
|
|
12180
|
-
x(
|
|
12217
|
+
Jt = Me([
|
|
12218
|
+
x(Ih)
|
|
12181
12219
|
], Jt);
|
|
12182
12220
|
const Ur = "AES-CBC", jh = 256;
|
|
12183
12221
|
async function Fh() {
|
|
@@ -12574,16 +12612,16 @@ function Rs(r) {
|
|
|
12574
12612
|
);
|
|
12575
12613
|
};
|
|
12576
12614
|
}
|
|
12577
|
-
const
|
|
12615
|
+
const fs = Symbol("__bindDynamicWatcherStore__"), fr = Symbol("__bindDynamicWillUpdateHooked__");
|
|
12578
12616
|
function Zh(r, t, i) {
|
|
12579
12617
|
const s = String(t);
|
|
12580
|
-
Xh(r), r[
|
|
12618
|
+
Xh(r), r[fs] || Object.defineProperty(r, fs, {
|
|
12581
12619
|
value: /* @__PURE__ */ new Map(),
|
|
12582
12620
|
enumerable: !1,
|
|
12583
12621
|
configurable: !1,
|
|
12584
12622
|
writable: !1
|
|
12585
12623
|
});
|
|
12586
|
-
const e = r[
|
|
12624
|
+
const e = r[fs];
|
|
12587
12625
|
e.has(s) || e.set(s, /* @__PURE__ */ new Set());
|
|
12588
12626
|
const o = e.get(s);
|
|
12589
12627
|
return o.add(i), () => {
|
|
@@ -12598,7 +12636,7 @@ function Xh(r) {
|
|
|
12598
12636
|
"willUpdate"
|
|
12599
12637
|
) ? t.willUpdate : Object.getPrototypeOf(t)?.willUpdate;
|
|
12600
12638
|
t.willUpdate = function(s) {
|
|
12601
|
-
const e = this[
|
|
12639
|
+
const e = this[fs];
|
|
12602
12640
|
e && e.size > 0 && (s && s.size > 0 ? s.forEach((o, n) => {
|
|
12603
12641
|
const l = e.get(String(n));
|
|
12604
12642
|
l && l.forEach((c) => c());
|
|
@@ -12728,18 +12766,18 @@ function ed(r, t) {
|
|
|
12728
12766
|
});
|
|
12729
12767
|
};
|
|
12730
12768
|
}
|
|
12731
|
-
const
|
|
12769
|
+
const ms = Symbol("__onAssignDynamicWatcherStore__"), mr = Symbol(
|
|
12732
12770
|
"__onAssignDynamicWillUpdateHooked__"
|
|
12733
12771
|
);
|
|
12734
12772
|
function sd(r, t, i) {
|
|
12735
12773
|
const s = String(t);
|
|
12736
|
-
id(r), r[
|
|
12774
|
+
id(r), r[ms] || Object.defineProperty(r, ms, {
|
|
12737
12775
|
value: /* @__PURE__ */ new Map(),
|
|
12738
12776
|
enumerable: !1,
|
|
12739
12777
|
configurable: !1,
|
|
12740
12778
|
writable: !1
|
|
12741
12779
|
});
|
|
12742
|
-
const e = r[
|
|
12780
|
+
const e = r[ms];
|
|
12743
12781
|
e.has(s) || e.set(s, /* @__PURE__ */ new Set());
|
|
12744
12782
|
const o = e.get(s);
|
|
12745
12783
|
return o.add(i), () => {
|
|
@@ -12754,7 +12792,7 @@ function id(r) {
|
|
|
12754
12792
|
"willUpdate"
|
|
12755
12793
|
) ? t.willUpdate : Object.getPrototypeOf(t)?.willUpdate;
|
|
12756
12794
|
t.willUpdate = function(s) {
|
|
12757
|
-
const e = this[
|
|
12795
|
+
const e = this[ms];
|
|
12758
12796
|
e && e.size > 0 && (s && s.size > 0 ? s.forEach((o, n) => {
|
|
12759
12797
|
const l = e.get(String(n));
|
|
12760
12798
|
l && l.forEach((c) => c());
|
|
@@ -13001,7 +13039,7 @@ window["concorde-directives-data-provider"] = {
|
|
|
13001
13039
|
get: Zr,
|
|
13002
13040
|
set: Gr
|
|
13003
13041
|
};
|
|
13004
|
-
const md = D, bd =
|
|
13042
|
+
const md = D, bd = M;
|
|
13005
13043
|
window["concorde-components"] = window["concorde-components"] || {};
|
|
13006
13044
|
window["concorde-components"] = {
|
|
13007
13045
|
SonicToast: md,
|