@supersoniks/concorde 3.1.44 → 3.1.46
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 +11 -11
- package/concorde-core.es.js +88 -81
- package/dist/concorde-core.bundle.js +11 -11
- package/dist/concorde-core.es.js +88 -81
- package/docs/assets/index-CnxgssIs.js +4433 -0
- package/docs/assets/index-DCqvoAAf.css +1 -0
- package/docs/css/docs.css +0 -0
- package/docs/fonts/ClashGrotesk-Bold.eot +0 -0
- package/docs/fonts/ClashGrotesk-Bold.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Bold.woff +0 -0
- package/docs/fonts/ClashGrotesk-Bold.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.eot +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.woff +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Light.eot +0 -0
- package/docs/fonts/ClashGrotesk-Light.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Light.woff +0 -0
- package/docs/fonts/ClashGrotesk-Light.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Medium.eot +0 -0
- package/docs/fonts/ClashGrotesk-Medium.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Medium.woff +0 -0
- package/docs/fonts/ClashGrotesk-Medium.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Regular.eot +0 -0
- package/docs/fonts/ClashGrotesk-Regular.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Regular.woff +0 -0
- package/docs/fonts/ClashGrotesk-Regular.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.eot +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.woff +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Variable.eot +0 -0
- package/docs/fonts/ClashGrotesk-Variable.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Variable.woff +0 -0
- package/docs/fonts/ClashGrotesk-Variable.woff2 +0 -0
- package/docs/img/concorde-icon.svg +5 -0
- package/docs/img/concorde-logo.svg +1 -0
- package/docs/img/concorde.png +0 -0
- package/docs/img/concorde_def.png +0 -0
- package/docs/img/concorde_seuil.png.webp +0 -0
- package/docs/img/concorde_seuil_invert.png +0 -0
- package/docs/img/paul_metrand.jpg +0 -0
- package/docs/img/paul_metrand_xs.jpg +0 -0
- package/docs/index.html +93 -0
- package/docs/src/core/components/functional/date/date.md +290 -0
- package/docs/src/core/components/functional/fetch/fetch.md +117 -0
- package/docs/src/core/components/functional/if/if.md +16 -0
- package/docs/src/core/components/functional/list/list.md +199 -0
- package/docs/src/core/components/functional/mix/mix.md +41 -0
- package/docs/src/core/components/functional/queue/queue.md +87 -0
- package/docs/src/core/components/functional/router/router.md +112 -0
- package/docs/src/core/components/functional/sdui/default-library.json +108 -0
- package/docs/src/core/components/functional/sdui/example.json +99 -0
- package/docs/src/core/components/functional/sdui/sdui.md +356 -0
- package/docs/src/core/components/functional/states/states.md +87 -0
- package/docs/src/core/components/functional/submit/submit.md +83 -0
- package/docs/src/core/components/functional/subscriber/subscriber.md +91 -0
- package/docs/src/core/components/functional/value/value.md +35 -0
- package/docs/src/core/components/ui/alert/alert.md +121 -0
- package/docs/src/core/components/ui/badge/badge.md +102 -0
- package/docs/src/core/components/ui/button/button.md +184 -0
- package/docs/src/core/components/ui/captcha/captcha.md +12 -0
- package/docs/src/core/components/ui/card/card.md +96 -0
- package/docs/src/core/components/ui/divider/divider.md +35 -0
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +96 -0
- package/docs/src/core/components/ui/form/fieldset/fieldset.md +129 -0
- package/docs/src/core/components/ui/form/form-actions/form-actions.md +77 -0
- package/docs/src/core/components/ui/form/form-layout/form-layout.md +43 -0
- package/docs/src/core/components/ui/form/input/input.md +168 -0
- package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +130 -0
- package/docs/src/core/components/ui/form/radio/radio.md +86 -0
- package/docs/src/core/components/ui/form/select/select.md +99 -0
- package/docs/src/core/components/ui/form/textarea/textarea.md +65 -0
- package/docs/src/core/components/ui/group/group.md +75 -0
- package/docs/src/core/components/ui/icon/icon.md +125 -0
- package/docs/src/core/components/ui/icon/icons.json +1 -0
- package/docs/src/core/components/ui/image/image.md +107 -0
- package/docs/src/core/components/ui/link/link.md +43 -0
- package/docs/src/core/components/ui/loader/loader.md +37 -0
- package/docs/src/core/components/ui/menu/menu.md +288 -0
- package/docs/src/core/components/ui/modal/modal.md +123 -0
- package/docs/src/core/components/ui/pop/pop.md +79 -0
- package/docs/src/core/components/ui/progress/progress.md +63 -0
- package/docs/src/core/components/ui/table/table.md +455 -0
- package/docs/src/core/components/ui/tooltip/tooltip.md +82 -0
- package/docs/src/docs/_core-concept/overview.md +57 -0
- package/docs/src/docs/_core-concept/subscriber.md +76 -0
- package/docs/src/docs/_getting-started/concorde-outside.md +143 -0
- package/docs/src/docs/_getting-started/create-a-component.md +137 -0
- package/docs/src/docs/_getting-started/my-first-subscriber.md +174 -0
- package/docs/src/docs/_getting-started/pubsub.md +150 -0
- package/docs/src/docs/_getting-started/start.md +39 -0
- package/docs/src/docs/_getting-started/theming.md +91 -0
- package/docs/src/docs/search/docs-search.json +3887 -0
- package/docs/src/tag-list.json +1 -0
- package/docs/src/tsconfig-model.json +23 -0
- package/docs/src/tsconfig.json +808 -0
- package/docs/svg/regular/plane.svg +1 -0
- package/docs/svg/solid/plane.svg +1 -0
- package/index.html +0 -0
- package/package.json +1 -1
- package/scripts/pre-build.mjs +0 -0
- package/scripts/pre-publish.mjs +0 -0
- package/src/core/_types/types.ts +0 -0
- package/src/core/components/functional/queue/queue.ts +22 -15
- package/src/core/components/functional/router/router.md +0 -0
- package/src/core/components/functional/router/router.ts +0 -0
- package/src/core/components/functional/sonic-scope/sonic-scope.ts +0 -0
- package/src/core/components/functional/states/states.md +0 -0
- package/src/core/components/functional/states/states.ts +0 -0
- package/src/core/components/functional/submit/submit.md +0 -0
- package/src/core/components/functional/submit/submit.ts +0 -0
- package/src/core/components/ui/alert/alert.md +0 -0
- package/src/core/components/ui/alert-messages/alert-messages.ts +0 -0
- package/src/core/components/ui/badge/badge.md +0 -0
- package/src/core/components/ui/form/checkbox/checkbox.md +0 -0
- package/src/core/components/ui/form/fieldset/fieldset.ts +0 -0
- package/src/core/components/ui/form/input/password-helper.ts +0 -0
- package/src/core/components/ui/form/input/same-value-helper.ts +0 -0
- package/src/core/components/ui/form/radio/radio.md +0 -0
- package/src/core/components/ui/form/select/select.md +0 -0
- package/src/core/components/ui/group/group.ts +0 -0
- package/src/core/components/ui/image/image.ts +0 -0
- package/src/core/components/ui/menu/menu.ts +0 -0
- package/src/core/components/ui/modal/modal.md +0 -0
- package/src/core/components/ui/theme/theme-collection/dark.ts +0 -0
- package/src/core/components/ui/toast/message-subscriber.ts +0 -0
- package/src/core/components/ui/toast/toast.ts +0 -0
- package/src/core/components/ui/ui.ts +0 -0
- package/src/core/core.ts +0 -0
- package/src/core/mixins/FormCheckable.ts +0 -0
- package/src/core/mixins/Subscriber.ts +0 -0
- package/src/core/utils/HTML.ts +0 -0
- package/src/core/utils/LocationHandler.ts +0 -0
- package/src/core/utils/Objects.ts +0 -0
- package/src/core/utils/PublisherProxy.ts +0 -0
- package/src/core/utils/Utils.ts +5 -5
- package/src/core/utils/api.ts +46 -0
- package/src/core/utils/route.ts +0 -0
- package/src/docs/docs.ts +0 -0
- package/src/docs/search/docs-search.json +0 -0
- package/src/docs/search/page.ts +0 -0
- package/src/tsconfig-model.json +0 -0
- package/vite/config.js +0 -0
package/dist/concorde-core.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
let
|
|
1
|
+
let J = class Lt {
|
|
2
2
|
/**
|
|
3
3
|
* retourne la langue de la page courante telle que défini via l'attribut lang de la balise html
|
|
4
4
|
*/
|
|
@@ -130,7 +130,7 @@ let As = class {
|
|
|
130
130
|
return typeof t != "string" ? t : t.charAt(0).toUpperCase() + t.substring(1);
|
|
131
131
|
}
|
|
132
132
|
static minutesDuration(t, s = "", i = "long") {
|
|
133
|
-
s || (s =
|
|
133
|
+
s || (s = J.getLanguage());
|
|
134
134
|
const e = (h, d) => [Math.floor(h / d), h % d];
|
|
135
135
|
function o(h, d, p) {
|
|
136
136
|
return new Intl.NumberFormat(h, { style: "unit", unit: d, unitDisplay: p }).format;
|
|
@@ -473,7 +473,7 @@ let T = (k = class {
|
|
|
473
473
|
async setLocalData(t, s) {
|
|
474
474
|
var i;
|
|
475
475
|
await this.isLocalStrorageReady, t.set(
|
|
476
|
-
((i = this.localStorageData[s + "¤lang_" +
|
|
476
|
+
((i = this.localStorageData[s + "¤lang_" + J.getLanguage()]) == null ? void 0 : i.data) || t.get()
|
|
477
477
|
);
|
|
478
478
|
}
|
|
479
479
|
get(t, s) {
|
|
@@ -517,7 +517,7 @@ let T = (k = class {
|
|
|
517
517
|
const o = this.publishers.get(e);
|
|
518
518
|
if (!(o != null && o._is_savable_)) continue;
|
|
519
519
|
const n = o == null ? void 0 : o.get();
|
|
520
|
-
n && (this.localStorageData[e + "¤lang_" +
|
|
520
|
+
n && (this.localStorageData[e + "¤lang_" + J.getLanguage()] = {
|
|
521
521
|
lastModifiationMS: (/* @__PURE__ */ new Date()).getTime(),
|
|
522
522
|
data: n
|
|
523
523
|
}, i = !0);
|
|
@@ -556,7 +556,7 @@ let T = (k = class {
|
|
|
556
556
|
const h = await new Response(a.readable).arrayBuffer();
|
|
557
557
|
return new TextDecoder().decode(h);
|
|
558
558
|
}
|
|
559
|
-
}, k.buildDate = "Fri Nov 15 2024
|
|
559
|
+
}, k.buildDate = "Fri Nov 15 2024 15:26:12 GMT+0100 (Central European Standard Time)", k.changed = !1, k.saving = !1, k.saveId = 0, k.instance = null, k.instances = /* @__PURE__ */ new Map(), k.modifiedCollectore = [], k);
|
|
560
560
|
if (typeof window < "u") {
|
|
561
561
|
const r = window;
|
|
562
562
|
r[Cs + "PublisherManager"] = r[Cs + "PublisherManager"] || T;
|
|
@@ -809,7 +809,7 @@ let Bs = (L = class {
|
|
|
809
809
|
*/
|
|
810
810
|
static addPublisherListeners(t) {
|
|
811
811
|
L.removePublisherListeners(t);
|
|
812
|
-
const s =
|
|
812
|
+
const s = J.getAncestorAttributeValue(
|
|
813
813
|
t.parentNode || t.host || t,
|
|
814
814
|
"dataProvider"
|
|
815
815
|
);
|
|
@@ -859,7 +859,7 @@ let Bs = (L = class {
|
|
|
859
859
|
}, L.observedElements = /* @__PURE__ */ new Map(), L.enabled = !0, L.publisherListeners = /* @__PURE__ */ new Map(), L);
|
|
860
860
|
Bs.observe(document.documentElement);
|
|
861
861
|
window.SonicDataBindObserver || (window.SonicDataBindObserver = Bs);
|
|
862
|
-
let
|
|
862
|
+
let tt = class Ut {
|
|
863
863
|
/**
|
|
864
864
|
* Effectue une comparaison d'égalité non profonde entre deux objets.
|
|
865
865
|
*/
|
|
@@ -940,7 +940,7 @@ let J = class Ut {
|
|
|
940
940
|
return Ut.getURLSearchArray(t, "").join("&");
|
|
941
941
|
}
|
|
942
942
|
};
|
|
943
|
-
const dt =
|
|
943
|
+
const dt = tt.traverseDotNotation;
|
|
944
944
|
/**
|
|
945
945
|
* @license
|
|
946
946
|
* Copyright 2017 Google LLC
|
|
@@ -1714,7 +1714,7 @@ function Ws(r) {
|
|
|
1714
1714
|
if (typeof r == "string") {
|
|
1715
1715
|
const t = r.split("."), s = t.shift() || "";
|
|
1716
1716
|
let i = T.get(s);
|
|
1717
|
-
i =
|
|
1717
|
+
i = tt.traverse(i, t);
|
|
1718
1718
|
const e = /* @__PURE__ */ new Set();
|
|
1719
1719
|
return e.add(i), e;
|
|
1720
1720
|
}
|
|
@@ -1766,7 +1766,7 @@ const io = Pe(on), nn = io, an = io, ln = (r) => {
|
|
|
1766
1766
|
const s = Ws(r).values().next().value;
|
|
1767
1767
|
if (t !== void 0 && s) {
|
|
1768
1768
|
const i = s.get();
|
|
1769
|
-
|
|
1769
|
+
tt.isEmpty(i) && s.set(t);
|
|
1770
1770
|
}
|
|
1771
1771
|
return s;
|
|
1772
1772
|
}, cn = ro, oo = ro, hn = (r, t) => {
|
|
@@ -1802,7 +1802,7 @@ const io = Pe(on), nn = io, an = io, ln = (r) => {
|
|
|
1802
1802
|
} catch {
|
|
1803
1803
|
o = {};
|
|
1804
1804
|
}
|
|
1805
|
-
this.addHTTPResponse &&
|
|
1805
|
+
this.addHTTPResponse && tt.isObject(o) && (o._sonic_http_response_ = t), e === 498 && !F.failledTokenUpdates.has(this.serviceURL) && (this.handleInvalidToken(this.token), s.apiMethod === "get" ? o = await this[s.apiMethod](
|
|
1806
1806
|
s.path,
|
|
1807
1807
|
s.additionalHeaders
|
|
1808
1808
|
) : o = await this[s.apiMethod](
|
|
@@ -1940,7 +1940,7 @@ const io = Pe(on), nn = io, an = io, ln = (r) => {
|
|
|
1940
1940
|
async createHeaders(t) {
|
|
1941
1941
|
await this.auth();
|
|
1942
1942
|
const s = {};
|
|
1943
|
-
return this.token && (s.Authorization = "Bearer " + this.token), s["Accept-Language"] =
|
|
1943
|
+
return this.token && (s.Authorization = "Bearer " + this.token), s["Accept-Language"] = J.getLanguage(), t && Object.assign(s, t), s;
|
|
1944
1944
|
}
|
|
1945
1945
|
/**
|
|
1946
1946
|
* Concatène le serviceURL et le endpoint donné en paramètre
|
|
@@ -2022,6 +2022,9 @@ const io = Pe(on), nn = io, an = io, ln = (r) => {
|
|
|
2022
2022
|
};
|
|
2023
2023
|
F.loadingGetPromises = /* @__PURE__ */ new Map(), F.tokens = /* @__PURE__ */ new Map(), F.invalidTokens = [], F.failledTokenUpdates = /* @__PURE__ */ new Map(), F.firstCallDoneFlags = /* @__PURE__ */ new Map();
|
|
2024
2024
|
let Ne = F;
|
|
2025
|
+
J.getApiConfiguration(
|
|
2026
|
+
document.body || document.documentElement
|
|
2027
|
+
);
|
|
2025
2028
|
/**
|
|
2026
2029
|
* @license
|
|
2027
2030
|
* Copyright 2017 Google LLC
|
|
@@ -2044,10 +2047,10 @@ let ui = class extends Ie {
|
|
|
2044
2047
|
ui.directiveName = "unsafeHTML", ui.resultType = 1;
|
|
2045
2048
|
const z = Pe(ui), fi = /* @__PURE__ */ new Map(), mr = (r) => {
|
|
2046
2049
|
if (!r) return null;
|
|
2047
|
-
const t =
|
|
2050
|
+
const t = J.getApiConfiguration(r), s = J.getAncestorAttributeValue(
|
|
2048
2051
|
r,
|
|
2049
2052
|
"wordingProvider"
|
|
2050
|
-
), i =
|
|
2053
|
+
), i = J.getAncestorAttributeValue(
|
|
2051
2054
|
r,
|
|
2052
2055
|
"wordingVersionProvider"
|
|
2053
2056
|
), e = {
|
|
@@ -2057,7 +2060,7 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), mr = (r) => {
|
|
|
2057
2060
|
};
|
|
2058
2061
|
let o = null;
|
|
2059
2062
|
for (const [n, a] of fi)
|
|
2060
|
-
if (
|
|
2063
|
+
if (tt.deepEqual(n, e)) {
|
|
2061
2064
|
o = a;
|
|
2062
2065
|
break;
|
|
2063
2066
|
}
|
|
@@ -2093,7 +2096,7 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), mr = (r) => {
|
|
|
2093
2096
|
V.publisher.get()[p] === br && delete V.publisher[p];
|
|
2094
2097
|
}
|
|
2095
2098
|
if (t) {
|
|
2096
|
-
const d =
|
|
2099
|
+
const d = J.getAncestorAttributeValue(
|
|
2097
2100
|
t,
|
|
2098
2101
|
"wordingVersionProvider"
|
|
2099
2102
|
);
|
|
@@ -2208,7 +2211,7 @@ const G = (r, t) => {
|
|
|
2208
2211
|
* @returns valeur de l'attribut ou null si l'attribut n'est pas trouvé
|
|
2209
2212
|
*/
|
|
2210
2213
|
getAncestorAttributeValue(n) {
|
|
2211
|
-
return
|
|
2214
|
+
return J.getAncestorAttributeValue(this, n);
|
|
2212
2215
|
}
|
|
2213
2216
|
get props() {
|
|
2214
2217
|
return this._props !== null || !this.publisher ? this._props : this.publisher.get();
|
|
@@ -2287,7 +2290,7 @@ const G = (r, t) => {
|
|
|
2287
2290
|
* A voir si on le bouge dans un utilitaire
|
|
2288
2291
|
*/
|
|
2289
2292
|
getApiConfiguration() {
|
|
2290
|
-
return
|
|
2293
|
+
return J.getApiConfiguration(this);
|
|
2291
2294
|
}
|
|
2292
2295
|
/**
|
|
2293
2296
|
* Initialise le remplisage automatique des traductions / du wording
|
|
@@ -2327,7 +2330,7 @@ const G = (r, t) => {
|
|
|
2327
2330
|
const h = this.getAttribute(
|
|
2328
2331
|
"subDataProvider"
|
|
2329
2332
|
);
|
|
2330
|
-
this.dataProvider = a + "/" + h, c =
|
|
2333
|
+
this.dataProvider = a + "/" + h, c = tt.traverse(c, h.split(".")), n.set(this.dataProvider, c), this.publisher = c;
|
|
2331
2334
|
}
|
|
2332
2335
|
this.publisher = c;
|
|
2333
2336
|
}
|
|
@@ -2393,7 +2396,7 @@ let R = class extends G(cs(_)) {
|
|
|
2393
2396
|
}
|
|
2394
2397
|
static updateComponentsLanguage() {
|
|
2395
2398
|
R.dateCompnents.forEach(
|
|
2396
|
-
(r) => r.pageLanguage =
|
|
2399
|
+
(r) => r.pageLanguage = J.getLanguage()
|
|
2397
2400
|
);
|
|
2398
2401
|
}
|
|
2399
2402
|
get wording_billet_periode_validite() {
|
|
@@ -2404,7 +2407,7 @@ let R = class extends G(cs(_)) {
|
|
|
2404
2407
|
r || (r = "Du %s au %s"), this._wording_billet_periode_validite = r, this.duAu = (t = this.wording_billet_periode_validite) == null ? void 0 : t.split("%s").map((s) => s.trim()), this.duAu.pop(), this.requestUpdate();
|
|
2405
2408
|
}
|
|
2406
2409
|
connectedCallback() {
|
|
2407
|
-
this.hasAttribute("wording_billet_periode_validite") || (this.wording_billet_periode_validite = "Du %s au %s"), this.pageLanguage =
|
|
2410
|
+
this.hasAttribute("wording_billet_periode_validite") || (this.wording_billet_periode_validite = "Du %s au %s"), this.pageLanguage = J.getLanguage(), R.dateCompnents.add(this), super.connectedCallback();
|
|
2408
2411
|
}
|
|
2409
2412
|
disconnectedCallback() {
|
|
2410
2413
|
super.disconnectedCallback(), R.dateCompnents.delete(this);
|
|
@@ -2713,7 +2716,7 @@ const ws = /* @__PURE__ */ new Map(), je = (r) => {
|
|
|
2713
2716
|
return this._value;
|
|
2714
2717
|
}
|
|
2715
2718
|
set value(i) {
|
|
2716
|
-
i == null && (i = ""),
|
|
2719
|
+
i == null && (i = ""), tt.isObject(i) && Object.prototype.hasOwnProperty.call(i, "__value") && i._value == null && (i = ""), this._value != i && (this._value = i, this.updateDataValue(), this.requestUpdate());
|
|
2717
2720
|
}
|
|
2718
2721
|
initPublisher() {
|
|
2719
2722
|
let i = this.getFormPublisher();
|
|
@@ -3175,7 +3178,7 @@ var gi = { exports: {} };
|
|
|
3175
3178
|
});
|
|
3176
3179
|
})(gi, gi.exports);
|
|
3177
3180
|
var Cn = gi.exports;
|
|
3178
|
-
const pe = /* @__PURE__ */ An(Cn), Sn = Eo, On = xn, Dn = Bs, kn = As, ge =
|
|
3181
|
+
const pe = /* @__PURE__ */ An(Cn), Sn = Eo, On = xn, Dn = Bs, kn = As, ge = J, Ln = ot, hs = tt, En = Xe, st = T, Nn = Ne, Tn = pe;
|
|
3179
3182
|
window["concorde-utils"] = window["concorde-utils"] || {};
|
|
3180
3183
|
window["concorde-utils"] = {
|
|
3181
3184
|
Utils: Sn,
|
|
@@ -3186,7 +3189,7 @@ window["concorde-utils"] = {
|
|
|
3186
3189
|
LocationHandler: Ln,
|
|
3187
3190
|
Objects: hs,
|
|
3188
3191
|
PublisherProxy: En,
|
|
3189
|
-
PublisherManager:
|
|
3192
|
+
PublisherManager: st,
|
|
3190
3193
|
api: Nn,
|
|
3191
3194
|
URLPattern: Tn
|
|
3192
3195
|
};
|
|
@@ -3297,7 +3300,7 @@ const Ui = (r) => {
|
|
|
3297
3300
|
getCheckAllPublisher() {
|
|
3298
3301
|
this.formDataProvider || (this.formDataProvider = this.getAncestorAttributeValue("formDataProvider"));
|
|
3299
3302
|
const i = this.formDataProvider, e = this.getAttribute("name");
|
|
3300
|
-
return !i || !e ? null :
|
|
3303
|
+
return !i || !e ? null : st.get(
|
|
3301
3304
|
i + "/" + e + "/_available_values_"
|
|
3302
3305
|
);
|
|
3303
3306
|
}
|
|
@@ -3400,7 +3403,7 @@ let I = class extends Ui(je(G(_))) {
|
|
|
3400
3403
|
}
|
|
3401
3404
|
handleChange(r) {
|
|
3402
3405
|
if (!((r == null ? void 0 : r.type) == "click" && this.autoRepeat) && (super.handleChange(), (this.pushState || this.goBack !== null) && (r == null || r.preventDefault(), r == null || r.stopPropagation(), ot.changeFromComponent(this)), this.hasAttribute("reset"))) {
|
|
3403
|
-
const t = this.getAttribute("reset"), s = t ?
|
|
3406
|
+
const t = this.getAttribute("reset"), s = t ? st.get(t) : this.getFormPublisher();
|
|
3404
3407
|
s && s.set({});
|
|
3405
3408
|
}
|
|
3406
3409
|
}
|
|
@@ -5178,7 +5181,7 @@ let vt = class extends _ {
|
|
|
5178
5181
|
variables: this.getCssVariables(),
|
|
5179
5182
|
fonts: s
|
|
5180
5183
|
};
|
|
5181
|
-
(e =
|
|
5184
|
+
(e = st.get("sonic-theme")) == null || e.set(i), document.querySelectorAll("iframe").forEach(
|
|
5182
5185
|
(o) => {
|
|
5183
5186
|
var n;
|
|
5184
5187
|
return (n = o.contentWindow) == null ? void 0 : n.postMessage(
|
|
@@ -5385,7 +5388,7 @@ let N = class extends _ {
|
|
|
5385
5388
|
for (const c of s.toasts) {
|
|
5386
5389
|
const h = { ...c };
|
|
5387
5390
|
if (a.id = h.id = 0, /*!currentToast.preserve && */
|
|
5388
|
-
|
|
5391
|
+
tt.shallowEqual(a, h))
|
|
5389
5392
|
return null;
|
|
5390
5393
|
}
|
|
5391
5394
|
}
|
|
@@ -5412,7 +5415,7 @@ let N = class extends _ {
|
|
|
5412
5415
|
}
|
|
5413
5416
|
// Remove Toast
|
|
5414
5417
|
removeItem(t) {
|
|
5415
|
-
t && (this.toasts = this.toasts.filter((s) => (s = { ...s }, delete s.id, !
|
|
5418
|
+
t && (this.toasts = this.toasts.filter((s) => (s = { ...s }, delete s.id, !tt.shallowEqual(s, t, !1))));
|
|
5416
5419
|
}
|
|
5417
5420
|
};
|
|
5418
5421
|
N.delegateToasts = !1;
|
|
@@ -5481,9 +5484,9 @@ const Hi = (r, t) => {
|
|
|
5481
5484
|
* Un Toast est affiché si le chargement échoue
|
|
5482
5485
|
*/
|
|
5483
5486
|
async _fetchData() {
|
|
5484
|
-
if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new Ne(this.getApiConfiguration()), !this.api) || (this.dispatchEvent(new CustomEvent("loading", { detail: this })), this.getAttribute("localStorage") === "enabled" && await
|
|
5485
|
-
const e =
|
|
5486
|
-
this.isLoading = !0,
|
|
5487
|
+
if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new Ne(this.getApiConfiguration()), !this.api) || (this.dispatchEvent(new CustomEvent("loading", { detail: this })), this.getAttribute("localStorage") === "enabled" && await st.getInstance().isLocalStrorageReady, !this.isConnected)) return;
|
|
5488
|
+
const e = st.getInstance().get(this.getAncestorAttributeValue("headersDataProvider")).get();
|
|
5489
|
+
this.isLoading = !0, tt.isObject(this.props) && Object.keys(this.props || {}).length > 0 && this.isFirstLoad && window.requestAnimationFrame(() => {
|
|
5487
5490
|
this.dispatchEvent(new CustomEvent("load", { detail: this })), this.isFirstLoad = !1, this.isLoading = !1;
|
|
5488
5491
|
});
|
|
5489
5492
|
let o = await this.api.get(
|
|
@@ -5502,11 +5505,11 @@ const Hi = (r, t) => {
|
|
|
5502
5505
|
}
|
|
5503
5506
|
if (this.key) {
|
|
5504
5507
|
const n = o._sonic_http_response_, a = this.key.split(".");
|
|
5505
|
-
o =
|
|
5508
|
+
o = tt.traverse(
|
|
5506
5509
|
o,
|
|
5507
5510
|
a,
|
|
5508
5511
|
this.hasAttribute("preserveOtherKeys")
|
|
5509
|
-
), o &&
|
|
5512
|
+
), o && tt.isObject(o) && n && (o._sonic_http_response_ = n);
|
|
5510
5513
|
}
|
|
5511
5514
|
this.props = o, this.dispatchEvent(new CustomEvent("load", { detail: this })), this.isFirstLoad = !1, this.isLoading = !1, this.refetchEveryMs && this.isConnected && (this.refetchTimeOutId = setTimeout(
|
|
5512
5515
|
() => this._fetchData(),
|
|
@@ -5975,12 +5978,12 @@ let Zt = class extends Hi(G(cs(_))) {
|
|
|
5975
5978
|
if (r == null)
|
|
5976
5979
|
return null;
|
|
5977
5980
|
const t = r._sonic_http_response_, s = this.hasAttribute("extractValues");
|
|
5978
|
-
return Array.isArray(r) || (s ? r = Object.entries(r).map(([i, e]) => ({ key: i, value: e })) :
|
|
5981
|
+
return Array.isArray(r) || (s ? r = Object.entries(r).map(([i, e]) => ({ key: i, value: e })) : tt.isObject(r) && Object.keys(r).length > 0 && (!t || t.ok) ? r = [r] : r = []), r = r.filter((i) => i != null), t && (r._sonic_http_response_ = t), r;
|
|
5979
5982
|
}
|
|
5980
5983
|
render() {
|
|
5981
5984
|
if (this.isLoading && !Array.isArray(this.props)) return this.renderLoadingState();
|
|
5982
5985
|
if (typeof this.props == "string") return this.renderNoResultState();
|
|
5983
|
-
if (!
|
|
5986
|
+
if (!tt.isObject(this.props)) return g`<div></div>`;
|
|
5984
5987
|
const i = this.formatProps();
|
|
5985
5988
|
if (((i == null ? void 0 : i.length) || 0) == 0 && this.templateParts["no-item"])
|
|
5986
5989
|
return Et(this.templateParts["no-item"]);
|
|
@@ -6079,13 +6082,14 @@ let it = class extends G(_) {
|
|
|
6079
6082
|
T.delete(a);
|
|
6080
6083
|
this.listDataProviders = [], clearTimeout(this.filterTimeoutId), this.filterTimeoutId = setTimeout(
|
|
6081
6084
|
async () => {
|
|
6085
|
+
this.storeScrollPosition();
|
|
6082
6086
|
const a = this.resultCount;
|
|
6083
6087
|
this.props = null, this.requestId++, this.resultCount = a, await T.getInstance().isLocalStrorageReady, window.requestAnimationFrame(() => this.next());
|
|
6084
6088
|
},
|
|
6085
6089
|
this.isFirstRequest ? 0 : this.filterTimeoutMs
|
|
6086
6090
|
), this.isFirstRequest = !1;
|
|
6087
6091
|
}
|
|
6088
|
-
}, this.dataProviderExpression = "", this.idKey = "id", this.listDataProviders = [], this.nextHadEvent = !1, this.
|
|
6092
|
+
}, this.dataProviderExpression = "", this.idKey = "id", this.listDataProviders = [], this.nextHadEvent = !1, this.storedScrollY = 0, this.storedScrollX = 0;
|
|
6089
6093
|
}
|
|
6090
6094
|
disconnectedCallback() {
|
|
6091
6095
|
var r;
|
|
@@ -6096,7 +6100,7 @@ let it = class extends G(_) {
|
|
|
6096
6100
|
async connectedCallback() {
|
|
6097
6101
|
this.instanceId = it.instanceCounter++, this.localStorage = this.getAttribute("localStorage") || this.localStorage, this.filterTimeoutMs = parseInt(
|
|
6098
6102
|
this.getAttribute("filterTimeoutMs") || "400"
|
|
6099
|
-
), this.removeAttribute("localStorage"), this.noShadowDom = "", this.defferedDebug = this.hasAttribute("debug") || null, this.dataProvider || (this.dataProvider = this.dataProviderExpression || "sonic-queue-" + this.instanceId + "-" + Math.random().toString(36).substring(7)), this.dataProviderExpression || (this.dataProviderExpression = ge.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await T.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
|
|
6103
|
+
), this.removeAttribute("localStorage"), this.noShadowDom = "", this.defferedDebug = this.hasAttribute("debug") || null, this.dataProvider || (this.dataProvider = this.dataProviderExpression || "sonic-queue-" + this.instanceId + "-" + Math.random().toString(36).substring(7)), this.dataProviderExpression || (this.dataProviderExpression = ge.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), this.storeScrollPosition(), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await T.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
|
|
6100
6104
|
this.querySelectorAll("template")
|
|
6101
6105
|
)), this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime(), this.configFilter();
|
|
6102
6106
|
}
|
|
@@ -6109,9 +6113,12 @@ let it = class extends G(_) {
|
|
|
6109
6113
|
}
|
|
6110
6114
|
this.filterPublisher = T.getInstance().get(r), (t = this.filterPublisher) == null || t.onInternalMutation(this.updateFilteredContent);
|
|
6111
6115
|
}
|
|
6116
|
+
storeScrollPosition() {
|
|
6117
|
+
this.storedScrollX = window.scrollX, this.storedScrollY = window.scrollY;
|
|
6118
|
+
}
|
|
6112
6119
|
updated(r) {
|
|
6113
|
-
(Math.abs(this.
|
|
6114
|
-
(Math.abs(this.
|
|
6120
|
+
(Math.abs(this.storedScrollX - window.scrollX) > 10 || Math.abs(this.storedScrollY - window.scrollY) > 10) && window.scrollTo(this.storedScrollX, this.storedScrollY), window.requestAnimationFrame(() => {
|
|
6121
|
+
(Math.abs(this.storedScrollX - window.scrollX) > 10 || Math.abs(this.storedScrollY - window.scrollY) > 10) && window.scrollTo(this.storedScrollX, this.storedScrollY);
|
|
6115
6122
|
}), super.updated(r);
|
|
6116
6123
|
}
|
|
6117
6124
|
resetDuration() {
|
|
@@ -6160,7 +6167,7 @@ let it = class extends G(_) {
|
|
|
6160
6167
|
render() {
|
|
6161
6168
|
if (!Array.isArray(this.props))
|
|
6162
6169
|
return A;
|
|
6163
|
-
this.
|
|
6170
|
+
this.storeScrollPosition();
|
|
6164
6171
|
let r = !this.noLazyload;
|
|
6165
6172
|
return this.props.length == 1 && (r = !1), this.style.display = "block", g`
|
|
6166
6173
|
${_o(this.props, (t, s) => {
|
|
@@ -6307,7 +6314,7 @@ let Gt = class extends G(_) {
|
|
|
6307
6314
|
(vs) => T.get(vs).set({})
|
|
6308
6315
|
);
|
|
6309
6316
|
const S = this.hasAttribute("usernameKey") ? this.getAttribute("usernameKey") : "username", D = this.hasAttribute("passwordKey") ? this.getAttribute("passwordKey") : "password";
|
|
6310
|
-
(St = (W = this.api) == null ? void 0 : W.lastResult) != null && St.ok && o[S] && o[D] && this.saveCredentials(o[S], o[D]), this.submitResultKey && (h =
|
|
6317
|
+
(St = (W = this.api) == null ? void 0 : W.lastResult) != null && St.ok && o[S] && o[D] && this.saveCredentials(o[S], o[D]), this.submitResultKey && (h = tt.traverse(
|
|
6311
6318
|
h,
|
|
6312
6319
|
this.submitResultKey.split("."),
|
|
6313
6320
|
!0
|
|
@@ -6498,8 +6505,8 @@ let jr = class extends G(_) {
|
|
|
6498
6505
|
return;
|
|
6499
6506
|
}
|
|
6500
6507
|
if (!this.props) return;
|
|
6501
|
-
const r = this.getAttribute("onData").split("."), t =
|
|
6502
|
-
t && !(
|
|
6508
|
+
const r = this.getAttribute("onData").split("."), t = tt.traverse(this.props, r);
|
|
6509
|
+
t && !(tt.isObject(t) && t) && ot.changeFromComponent(this);
|
|
6503
6510
|
}
|
|
6504
6511
|
};
|
|
6505
6512
|
jr = cl([
|
|
@@ -6533,7 +6540,7 @@ let js = class extends G(cs(_)) {
|
|
|
6533
6540
|
render() {
|
|
6534
6541
|
const r = [];
|
|
6535
6542
|
let t = this.state;
|
|
6536
|
-
(!Array.isArray(t) &&
|
|
6543
|
+
(!Array.isArray(t) && tt.isObject(t) || t === void 0) && (t = "");
|
|
6537
6544
|
for (const s of this.templatePartsList) {
|
|
6538
6545
|
let i = s.getAttribute(this.templateValueAttribute), e = t;
|
|
6539
6546
|
if (this.inverted && (e = i, i = t), i == "" && (i = this.inverted ? ".*?" : "^$"), new RegExp(i).test(e + ""))
|
|
@@ -7085,7 +7092,7 @@ let zs = class extends ee(_) {
|
|
|
7085
7092
|
if (typeof i == "string") {
|
|
7086
7093
|
const e = i.split("."), o = e.shift();
|
|
7087
7094
|
if (!o) continue;
|
|
7088
|
-
let n =
|
|
7095
|
+
let n = st.get(o);
|
|
7089
7096
|
n = hs.traverse(n, e);
|
|
7090
7097
|
const a = {
|
|
7091
7098
|
publisher: n,
|
|
@@ -8262,7 +8269,7 @@ let nt = class extends _ {
|
|
|
8262
8269
|
this.resetZindexes(), this.open = !1, this.popContent.setAttribute("tabindex", "-1"), this.positioningRuns = !1, this.dispatchEvent(new CustomEvent("hide"));
|
|
8263
8270
|
}
|
|
8264
8271
|
setMaxZindex() {
|
|
8265
|
-
|
|
8272
|
+
J.everyAncestors(this, (r) => {
|
|
8266
8273
|
const t = r;
|
|
8267
8274
|
if (!t.className) return !0;
|
|
8268
8275
|
if ([...t.classList].includes("@container")) {
|
|
@@ -8284,7 +8291,7 @@ let nt = class extends _ {
|
|
|
8284
8291
|
nt.pops.forEach((i) => {
|
|
8285
8292
|
const e = t.includes(i), o = t.includes(
|
|
8286
8293
|
i.querySelector('[slot="content"]')
|
|
8287
|
-
), n =
|
|
8294
|
+
), n = J.getAncestorAttributeValue(s, "data-on-select") === "keep";
|
|
8288
8295
|
r.type == "pointerdown" && e || r.type == "click" && (e && n || !o) || i.hide();
|
|
8289
8296
|
});
|
|
8290
8297
|
}
|
|
@@ -8304,7 +8311,7 @@ let nt = class extends _ {
|
|
|
8304
8311
|
var E, U, W, St;
|
|
8305
8312
|
const t = r.split(" "), s = t[0];
|
|
8306
8313
|
let i = t[1], e = (E = this.popContent) == null ? void 0 : E.getBoundingClientRect();
|
|
8307
|
-
const o = 5, n = this.getBoundingClientRect(), a =
|
|
8314
|
+
const o = 5, n = this.getBoundingClientRect(), a = J.getScrollableAncestor(
|
|
8308
8315
|
this.popContent
|
|
8309
8316
|
), c = a == null ? void 0 : a.getBoundingClientRect(), h = Math.max(0, (c == null ? void 0 : c.left) || 0) + o, d = Math.max(0, (c == null ? void 0 : c.top) || 0) + o, p = Math.min(
|
|
8310
8317
|
window.innerWidth,
|
|
@@ -8541,18 +8548,18 @@ let at = class extends Bi(
|
|
|
8541
8548
|
super.connectedCallback();
|
|
8542
8549
|
const r = this.searchParameter || this.name, t = this.getAncestorAttributeValue("formDataProvider"), s = t + "__" + this.name + "__autocomplete";
|
|
8543
8550
|
this.initSearchDataProvider = `${s}_init_search__`, this.initQueueDataProvider = `${s}_init_queue__`, this.searchDataProvider = `${s}_search__`, this.queueDataProvider = `${s}_queue__`;
|
|
8544
|
-
const i =
|
|
8551
|
+
const i = st.get;
|
|
8545
8552
|
this.searchPublisher = i(this.searchDataProvider)[r], this.formValuePublisher = dt(
|
|
8546
8553
|
i(t),
|
|
8547
8554
|
this.name
|
|
8548
8555
|
), this.countPublisher = i(this.queueDataProvider).resultCount, this.initCountPublisher = i(
|
|
8549
8556
|
this.initQueueDataProvider
|
|
8550
|
-
).resultCount, this.value && (
|
|
8557
|
+
).resultCount, this.value && (st.get(this.initSearchDataProvider)[this.name] = this.value), (e = this.initCountPublisher) == null || e.onAssign(this.initSearchParameter), (o = this.formValuePublisher) == null || o.onAssign(this.updateSearchParameter), (n = this.countPublisher) == null || n.onAssign(this.updateActiveSelection), (a = this.searchPublisher) == null || a.onAssign(this.updatePopContentVisibility);
|
|
8551
8558
|
}
|
|
8552
8559
|
disconnectedCallback() {
|
|
8553
8560
|
var t, s, i, e;
|
|
8554
8561
|
super.disconnectedCallback(), (t = this.initCountPublisher) == null || t.offAssign(this.initSearchParameter), (s = this.formValuePublisher) == null || s.offAssign(this.updateSearchParameter), (i = this.countPublisher) == null || i.offAssign(this.updateActiveSelection);
|
|
8555
|
-
const r =
|
|
8562
|
+
const r = st.get;
|
|
8556
8563
|
r(this.initSearchDataProvider).delete(), r(this.initQueueDataProvider).delete(), r(this.searchDataProvider).delete(), r(this.queueDataProvider).delete(), (e = this.searchPublisher) == null || e.offAssign(this.updatePopContentVisibility);
|
|
8557
8564
|
}
|
|
8558
8565
|
/**
|
|
@@ -8563,11 +8570,11 @@ let at = class extends Bi(
|
|
|
8563
8570
|
* @return bool|undefined True if item found, false otherwise, undefined if result is not a list
|
|
8564
8571
|
*/
|
|
8565
8572
|
queryQueueListItem(r, t, s) {
|
|
8566
|
-
const i =
|
|
8573
|
+
const i = st.get(r);
|
|
8567
8574
|
let e, o = i.get();
|
|
8568
8575
|
if (!o || !Array.isArray(o) || !o.length) return !1;
|
|
8569
8576
|
for (const n of o) {
|
|
8570
|
-
let a =
|
|
8577
|
+
let a = st.get(n.dataProvider).get();
|
|
8571
8578
|
if (Array.isArray(a) && (e = a.find(t), e))
|
|
8572
8579
|
break;
|
|
8573
8580
|
}
|
|
@@ -8727,10 +8734,10 @@ let lt = class extends ee(_) {
|
|
|
8727
8734
|
connectedCallback() {
|
|
8728
8735
|
super.connectedCallback(), this.name && (this.checkValue = (t) => {
|
|
8729
8736
|
t ? (this.hasNoChar = t.length == 0, this.hasEnoughChars = t.length > this.minChars) : (this.hasNoChar = !0, this.hasEnoughChars = !1), this.hasMinuscule = /[a-z]/.test(t), this.hasMajuscule = /[A-Z]/.test(t), this.hasNumber = /[0-9]/.test(t), this.hasSpecialChar = /[!"#$%&'()*+,\-./:;<=>?@[\]^_`{|}~]/.test(t);
|
|
8730
|
-
},
|
|
8737
|
+
}, st.get(this.getAncestorAttributeValue("formDataProvider"))[this.name].onAssign(this.checkValue));
|
|
8731
8738
|
}
|
|
8732
8739
|
disconnectedCallback() {
|
|
8733
|
-
this.checkValue && this.name &&
|
|
8740
|
+
this.checkValue && this.name && st.get(this.getAncestorAttributeValue("formDataProvider"))[this.name].offAssign(this.checkValue), super.disconnectedCallback();
|
|
8734
8741
|
}
|
|
8735
8742
|
getIcon(t) {
|
|
8736
8743
|
return t ? g`<sonic-icon library="heroicons" name="face-smile"></sonic-icon>` : g`<sonic-icon library="heroicons" name="x-mark"></sonic-icon>`;
|
|
@@ -8817,7 +8824,7 @@ let Jt = class extends ee(_) {
|
|
|
8817
8824
|
}
|
|
8818
8825
|
connectedCallback() {
|
|
8819
8826
|
super.connectedCallback();
|
|
8820
|
-
const r =
|
|
8827
|
+
const r = st.get(
|
|
8821
8828
|
this.getAncestorAttributeValue("formDataProvider")
|
|
8822
8829
|
);
|
|
8823
8830
|
this.name && this.sameValueAs && (this.checkValue = (t) => {
|
|
@@ -8830,7 +8837,7 @@ let Jt = class extends ee(_) {
|
|
|
8830
8837
|
}
|
|
8831
8838
|
disconnectedCallback() {
|
|
8832
8839
|
if (this.checkValue && this.name && this.sameValueAs) {
|
|
8833
|
-
const r =
|
|
8840
|
+
const r = st.get(
|
|
8834
8841
|
this.getAncestorAttributeValue("formDataProvider")
|
|
8835
8842
|
);
|
|
8836
8843
|
dt(r, this.name).offAssign(
|
|
@@ -10416,7 +10423,7 @@ let Vs = class extends _ {
|
|
|
10416
10423
|
></sonic-button>`;
|
|
10417
10424
|
}
|
|
10418
10425
|
handleClick() {
|
|
10419
|
-
|
|
10426
|
+
J.getClosestElement(this, "sonic-modal").hide();
|
|
10420
10427
|
}
|
|
10421
10428
|
};
|
|
10422
10429
|
Vs.styles = [
|
|
@@ -10521,7 +10528,7 @@ xi.styles = [
|
|
|
10521
10528
|
xi = Dh([
|
|
10522
10529
|
w(kh)
|
|
10523
10530
|
], xi);
|
|
10524
|
-
var Lh = Object.defineProperty, Eh = Object.getOwnPropertyDescriptor,
|
|
10531
|
+
var Lh = Object.defineProperty, Eh = Object.getOwnPropertyDescriptor, et = (r, t, s, i) => {
|
|
10525
10532
|
for (var e = i > 1 ? void 0 : i ? Eh(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10526
10533
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
10527
10534
|
return i && e && Lh(t, s, e), e;
|
|
@@ -10657,7 +10664,7 @@ let j = class extends G(_) {
|
|
|
10657
10664
|
}
|
|
10658
10665
|
hide() {
|
|
10659
10666
|
var r;
|
|
10660
|
-
this.visible = !1, (r = this.modalElement) == null || r.setAttribute("tabindex", "-1"), this.dispatchEvent(new CustomEvent("hide")), this.hasAttribute("resetDataProviderOnHide") &&
|
|
10667
|
+
this.visible = !1, (r = this.modalElement) == null || r.setAttribute("tabindex", "-1"), this.dispatchEvent(new CustomEvent("hide")), this.hasAttribute("resetDataProviderOnHide") && st.get(this.getAttribute("resetDataProviderOnHide")).set(
|
|
10661
10668
|
{}
|
|
10662
10669
|
), setTimeout(() => {
|
|
10663
10670
|
this.removeHashOnHide && window.history.replaceState({}, "", window.location.pathname), this.removeOnHide && this.remove(), this.dispatchEvent(new CustomEvent("hidden"));
|
|
@@ -10804,61 +10811,61 @@ j.styles = [
|
|
|
10804
10811
|
`
|
|
10805
10812
|
];
|
|
10806
10813
|
j.modals = [];
|
|
10807
|
-
|
|
10814
|
+
et([
|
|
10808
10815
|
l({ type: Boolean })
|
|
10809
10816
|
], j.prototype, "forceAction", 2);
|
|
10810
|
-
|
|
10817
|
+
et([
|
|
10811
10818
|
l({ type: Boolean })
|
|
10812
10819
|
], j.prototype, "removeOnHide", 2);
|
|
10813
|
-
|
|
10820
|
+
et([
|
|
10814
10821
|
l({ type: Boolean })
|
|
10815
10822
|
], j.prototype, "removeHashOnHide", 2);
|
|
10816
|
-
|
|
10823
|
+
et([
|
|
10817
10824
|
l({ type: String, reflect: !0 })
|
|
10818
10825
|
], j.prototype, "align", 2);
|
|
10819
|
-
|
|
10826
|
+
et([
|
|
10820
10827
|
l({ type: String })
|
|
10821
10828
|
], j.prototype, "padding", 2);
|
|
10822
|
-
|
|
10829
|
+
et([
|
|
10823
10830
|
l({ type: String })
|
|
10824
10831
|
], j.prototype, "maxWidth", 2);
|
|
10825
|
-
|
|
10832
|
+
et([
|
|
10826
10833
|
l({ type: String })
|
|
10827
10834
|
], j.prototype, "maxHeight", 2);
|
|
10828
|
-
|
|
10835
|
+
et([
|
|
10829
10836
|
l({ type: String })
|
|
10830
10837
|
], j.prototype, "width", 2);
|
|
10831
|
-
|
|
10838
|
+
et([
|
|
10832
10839
|
l({ type: String })
|
|
10833
10840
|
], j.prototype, "height", 2);
|
|
10834
|
-
|
|
10841
|
+
et([
|
|
10835
10842
|
l({ type: String })
|
|
10836
10843
|
], j.prototype, "zIndex", 2);
|
|
10837
|
-
|
|
10844
|
+
et([
|
|
10838
10845
|
l({ type: String })
|
|
10839
10846
|
], j.prototype, "effect", 2);
|
|
10840
|
-
|
|
10847
|
+
et([
|
|
10841
10848
|
l({ type: Object })
|
|
10842
10849
|
], j.prototype, "options", 2);
|
|
10843
|
-
|
|
10850
|
+
et([
|
|
10844
10851
|
l({ type: Boolean, reflect: !0 })
|
|
10845
10852
|
], j.prototype, "fullScreen", 2);
|
|
10846
|
-
|
|
10853
|
+
et([
|
|
10847
10854
|
l({ type: Boolean, reflect: !0 })
|
|
10848
10855
|
], j.prototype, "visible", 2);
|
|
10849
|
-
|
|
10856
|
+
et([
|
|
10850
10857
|
l({ type: Object })
|
|
10851
10858
|
], j.prototype, "animation", 2);
|
|
10852
|
-
|
|
10859
|
+
et([
|
|
10853
10860
|
$e(".modal-wrapper")
|
|
10854
10861
|
], j.prototype, "modalWrapper", 2);
|
|
10855
|
-
|
|
10862
|
+
et([
|
|
10856
10863
|
$e(".modal")
|
|
10857
10864
|
], j.prototype, "modalElement", 2);
|
|
10858
|
-
|
|
10865
|
+
et([
|
|
10859
10866
|
xe({ selector: "sonic-modal-close" })
|
|
10860
10867
|
], j.prototype, "closeBtn", 2);
|
|
10861
|
-
j =
|
|
10868
|
+
j = et([
|
|
10862
10869
|
w(So)
|
|
10863
10870
|
], j);
|
|
10864
10871
|
typeof window < "u" && (window.SonicModal = j);
|
|
@@ -12116,7 +12123,7 @@ let as = class extends ee(_) {
|
|
|
12116
12123
|
const r = document.createElement("script");
|
|
12117
12124
|
r.src = "https://www.google.com/recaptcha/api.js?render=" + this.key, r.id = "captcha-" + this.key, document.head.appendChild(r);
|
|
12118
12125
|
}
|
|
12119
|
-
if (super.connectedCallback(), this.formPublisher =
|
|
12126
|
+
if (super.connectedCallback(), this.formPublisher = st.get(
|
|
12120
12127
|
this.getAncestorAttributeValue("headersDataProvider") ?? this.getAncestorAttributeValue("formDataProvider")
|
|
12121
12128
|
), !document.getElementById("concorde-recaptcha-css")) {
|
|
12122
12129
|
const r = document.createElement("style");
|