@supersoniks/concorde 3.1.52 → 3.1.53
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 +10 -9
- package/concorde-core.es.js +214 -210
- package/dist/concorde-core.bundle.js +10 -9
- package/dist/concorde-core.es.js +214 -210
- package/docs/assets/index-CcoMn1RV.js +4465 -0
- package/docs/assets/index-D0m8hkmQ.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 +108 -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 +127 -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 +97 -0
- package/docs/src/core/components/ui/divider/divider.md +35 -0
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +94 -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 +167 -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 +84 -0
- package/docs/src/core/components/ui/form/select/select.md +97 -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 +67 -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 +826 -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/components/functional/if/if.md +0 -0
- package/src/core/components/functional/queue/queue.ts +0 -0
- 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/button/button.md +0 -0
- package/src/core/components/ui/captcha/captcha.ts +0 -0
- package/src/core/components/ui/divider/divider.ts +1 -1
- 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/form-layout/form-layout.md +0 -0
- package/src/core/components/ui/form/input/input.ts +2 -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/icon/icons.ts +0 -0
- package/src/core/components/ui/image/image.md +0 -0
- package/src/core/components/ui/image/image.ts +0 -0
- package/src/core/components/ui/menu/menu.ts +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/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 +51 -43
- package/src/core/utils/Utils.ts +0 -0
- package/src/core/utils/route.ts +0 -0
- package/src/docs/code.ts +0 -0
- package/src/docs/docs.ts +0 -0
- package/src/docs/search/markdown-renderer.ts +0 -0
- package/src/docs/search/page.ts +0 -0
- package/src/tsconfig-model.json +0 -0
- package/vite/config.js +0 -0
package/concorde-core.es.js
CHANGED
|
@@ -170,10 +170,7 @@ let or = Hr.replace(
|
|
|
170
170
|
);
|
|
171
171
|
const Cs = or.charAt(0).toUpperCase() + or.slice(1);
|
|
172
172
|
function ys(r) {
|
|
173
|
-
return Object.prototype.hasOwnProperty.call(
|
|
174
|
-
r,
|
|
175
|
-
"__value"
|
|
176
|
-
);
|
|
173
|
+
return Object.prototype.hasOwnProperty.call(r, "__value");
|
|
177
174
|
}
|
|
178
175
|
function We(r) {
|
|
179
176
|
return typeof r == "object" && r != null;
|
|
@@ -184,7 +181,7 @@ const ti = Ee == "sonic" ? "publisher-proxies-data" : Ee + "-publisher-proxies-d
|
|
|
184
181
|
var Ot;
|
|
185
182
|
let Ti = (Ot = class {
|
|
186
183
|
constructor(t, s, i) {
|
|
187
|
-
for (this._proxies_ = /* @__PURE__ */ new Map(), this._is_savable_ = !1, this._invalidateListeners_ = /* @__PURE__ */ new Set(), this._formInvalidateListeners_ = /* @__PURE__ */ new Set(), this._assignListeners_ = /* @__PURE__ */ new Set(), this._mutationListeners_ = /* @__PURE__ */ new Set(), this._fillListeners_ = /* @__PURE__ */ new Set(), this._templateFillListeners_ = /* @__PURE__ */ new Set(), this._lockInternalMutationPublishing_ = !1, this._instanceCounter_ = 0, this._assignmentId_ = 0, this._value_ = t, this.parent = s || null, this._parentKey_ = i, this.root = this, this._instanceCounter_ = 0; this.root.parent; )
|
|
184
|
+
for (this._proxies_ = /* @__PURE__ */ new Map(), this._is_savable_ = !1, this._expiration_delay_ = 1e3 * 60 * 60 * 12, this._invalidateListeners_ = /* @__PURE__ */ new Set(), this._formInvalidateListeners_ = /* @__PURE__ */ new Set(), this._assignListeners_ = /* @__PURE__ */ new Set(), this._mutationListeners_ = /* @__PURE__ */ new Set(), this._fillListeners_ = /* @__PURE__ */ new Set(), this._templateFillListeners_ = /* @__PURE__ */ new Set(), this._lockInternalMutationPublishing_ = !1, this._instanceCounter_ = 0, this._assignmentId_ = 0, this._value_ = t, this.parent = s || null, this._parentKey_ = i, this.root = this, this._instanceCounter_ = 0; this.root.parent; )
|
|
188
185
|
this.root = this.root.parent;
|
|
189
186
|
}
|
|
190
187
|
/**
|
|
@@ -415,9 +412,11 @@ let T = (k = class {
|
|
|
415
412
|
}
|
|
416
413
|
else
|
|
417
414
|
i = await this.compress("{}", "gzip"), localStorage.setItem(ti, i), this.localStorageData = {};
|
|
418
|
-
const o =
|
|
419
|
-
for (const n in this.localStorageData)
|
|
420
|
-
this.localStorageData[n]
|
|
415
|
+
const o = 1e3 * 60 * 60 * 12;
|
|
416
|
+
for (const n in this.localStorageData) {
|
|
417
|
+
const a = this.localStorageData[n], c = (/* @__PURE__ */ new Date()).getTime() - (a.expirationDelayMs || o);
|
|
418
|
+
a.lastModifiationMS < c && delete this.localStorageData[n];
|
|
419
|
+
}
|
|
421
420
|
t(!0);
|
|
422
421
|
} catch {
|
|
423
422
|
window.requestAnimationFrame(() => {
|
|
@@ -483,7 +482,7 @@ let T = (k = class {
|
|
|
483
482
|
this.set(t, n);
|
|
484
483
|
}
|
|
485
484
|
const e = this.publishers.get(t);
|
|
486
|
-
return i && this.initialisedData.indexOf(t) === -1 && (e._is_savable_ = !0, this.initialisedData.push(t), this.setLocalData(e, t)), this.publishers.get(t);
|
|
485
|
+
return i && this.initialisedData.indexOf(t) === -1 && (s != null && s.expirationDelayMs && (e._expiration_delay_ = s.expirationDelayMs), e._is_savable_ = !0, this.initialisedData.push(t), this.setLocalData(e, t)), this.publishers.get(t);
|
|
487
486
|
}
|
|
488
487
|
/**
|
|
489
488
|
* Remplace un publisher pour l'id fourni par un autre.
|
|
@@ -519,6 +518,7 @@ let T = (k = class {
|
|
|
519
518
|
const n = o == null ? void 0 : o.get();
|
|
520
519
|
n && (this.localStorageData[e + "¤lang_" + J.getLanguage()] = {
|
|
521
520
|
lastModifiationMS: (/* @__PURE__ */ new Date()).getTime(),
|
|
521
|
+
expirationDelayMs: o._expiration_delay_,
|
|
522
522
|
data: n
|
|
523
523
|
}, i = !0);
|
|
524
524
|
}
|
|
@@ -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 = "
|
|
559
|
+
}, k.buildDate = "Tue Dec 17 2024 18:27:05 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;
|
|
@@ -599,6 +599,7 @@ const Mo = /* @__PURE__ */ new Set([
|
|
|
599
599
|
"_parentKey_",
|
|
600
600
|
"_value_",
|
|
601
601
|
"_is_savable_",
|
|
602
|
+
"_expiration_delay_",
|
|
602
603
|
"_lockInternalMutationPublishing_",
|
|
603
604
|
"_instanceCounter_",
|
|
604
605
|
"_assignmentId_"
|
|
@@ -640,6 +641,8 @@ class Qe extends Ti {
|
|
|
640
641
|
return o._assignmentId_ = a, !0;
|
|
641
642
|
if (n == "_is_savable_")
|
|
642
643
|
return o._is_savable_ = a, !0;
|
|
644
|
+
if (n == "_expiration_delay_")
|
|
645
|
+
return o._expiration_delay_ = a, !0;
|
|
643
646
|
if (n == "_instanceCounter_")
|
|
644
647
|
return o._instanceCounter_ = a, !0;
|
|
645
648
|
if (!o._proxies_.has(n)) {
|
|
@@ -975,7 +978,7 @@ let Br = class {
|
|
|
975
978
|
return this.cssText;
|
|
976
979
|
}
|
|
977
980
|
};
|
|
978
|
-
const jo = (r) => new Br(typeof r == "string" ? r : r + "", void 0, Ii),
|
|
981
|
+
const jo = (r) => new Br(typeof r == "string" ? r : r + "", void 0, Ii), x = (r, ...t) => {
|
|
979
982
|
const s = r.length === 1 ? r[0] : t.reduce((i, e, o) => i + ((n) => {
|
|
980
983
|
if (n._$cssResult$ === !0) return n.cssText;
|
|
981
984
|
if (typeof n == "number") return n;
|
|
@@ -2075,7 +2078,7 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
|
|
|
2075
2078
|
wordingVersionProvider: i,
|
|
2076
2079
|
apiCallKey: e
|
|
2077
2080
|
}, fi.set(e, o)), o;
|
|
2078
|
-
}, vr = "",
|
|
2081
|
+
}, vr = "", H = class H extends io {
|
|
2079
2082
|
/* eslint-disable @typescript-eslint/no-explicit-any*/
|
|
2080
2083
|
constructor(t) {
|
|
2081
2084
|
super(t), this.useUnsafeHTML = !1, this.onAssign = (s) => {
|
|
@@ -2084,18 +2087,18 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
|
|
|
2084
2087
|
}, this.node = t.options.host;
|
|
2085
2088
|
}
|
|
2086
2089
|
unsubscribe() {
|
|
2087
|
-
|
|
2090
|
+
H.publisher["wording_" + this.key].offAssign(this.onAssign);
|
|
2088
2091
|
}
|
|
2089
2092
|
/* eslint-enable @typescript-eslint/no-explicit-any*/
|
|
2090
2093
|
render(t, s = !1) {
|
|
2091
2094
|
return this.useUnsafeHTML = s, this.key !== t && (this.key = t, this.isConnected && this.subscribe(t)), _t;
|
|
2092
2095
|
}
|
|
2093
2096
|
static async callApi(t, s, i = !0, e) {
|
|
2094
|
-
if (await T.getInstance().isLocalStrorageReady,
|
|
2095
|
-
|
|
2096
|
-
const d = Object.keys(
|
|
2097
|
+
if (await T.getInstance().isLocalStrorageReady, H.firstCall) {
|
|
2098
|
+
H.firstCall = !1, Ni(H.reloadWordings);
|
|
2099
|
+
const d = Object.keys(H.publisher.get());
|
|
2097
2100
|
for (const p of d)
|
|
2098
|
-
|
|
2101
|
+
H.publisher.get()[p] === vr && delete H.publisher[p];
|
|
2099
2102
|
}
|
|
2100
2103
|
if (t) {
|
|
2101
2104
|
const d = J.getAncestorAttributeValue(
|
|
@@ -2103,10 +2106,10 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
|
|
|
2103
2106
|
"wordingVersionProvider"
|
|
2104
2107
|
);
|
|
2105
2108
|
d && no(d).onAssign(
|
|
2106
|
-
|
|
2109
|
+
H.handleVersionProvider(t)
|
|
2107
2110
|
);
|
|
2108
2111
|
}
|
|
2109
|
-
let o =
|
|
2112
|
+
let o = H.publisher.get()["wording_" + s] != null;
|
|
2110
2113
|
const n = e || br(t);
|
|
2111
2114
|
if (!n) return;
|
|
2112
2115
|
if (o && s !== "") {
|
|
@@ -2117,13 +2120,13 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
|
|
|
2117
2120
|
const a = n.callIndex, c = n.wordingProvider ?? "";
|
|
2118
2121
|
if (!c && i) {
|
|
2119
2122
|
window.setTimeout(async () => {
|
|
2120
|
-
|
|
2123
|
+
H.callApi(null, s, !1, n);
|
|
2121
2124
|
}, 1e3);
|
|
2122
2125
|
return;
|
|
2123
2126
|
}
|
|
2124
2127
|
const h = n.api;
|
|
2125
2128
|
window.queueMicrotask(async () => {
|
|
2126
|
-
if (o =
|
|
2129
|
+
if (o = H.publisher["wording_" + s].get() != null, !o && s !== "" && (n.keysToTranslate.add(s), H.publisher["wording_" + s] = vr), a !== n.callIndex) return;
|
|
2127
2130
|
const d = Array.from(n.keysToTranslate);
|
|
2128
2131
|
if (!d.length) return;
|
|
2129
2132
|
const p = c.split("?"), g = p.shift(), b = (p.length > 0 ? p.join("?") + "&" : "") + "labels[]=" + d.join("&labels[]="), v = g + "?" + b;
|
|
@@ -2133,23 +2136,23 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
|
|
|
2133
2136
|
]), n.keysToTranslate.clear();
|
|
2134
2137
|
const P = await h.get(v);
|
|
2135
2138
|
for (const S in P)
|
|
2136
|
-
|
|
2139
|
+
H.publisher["wording_" + S] = P[S];
|
|
2137
2140
|
});
|
|
2138
2141
|
}
|
|
2139
2142
|
static reloadWordings() {
|
|
2140
2143
|
for (const t of fi.values())
|
|
2141
|
-
t.keysToTranslate = new Set(t.translatedKeys), t.keysToTranslate.size > 0 &&
|
|
2144
|
+
t.keysToTranslate = new Set(t.translatedKeys), t.keysToTranslate.size > 0 && H.callApi(null, "", !1, t);
|
|
2142
2145
|
}
|
|
2143
2146
|
//check if the wording version has changed
|
|
2144
2147
|
static handleVersionProvider(t) {
|
|
2145
2148
|
const s = br(t), i = (o) => {
|
|
2146
2149
|
};
|
|
2147
2150
|
if (!s) return i;
|
|
2148
|
-
if (
|
|
2149
|
-
return
|
|
2151
|
+
if (H.versionProviderHandlers.has(s))
|
|
2152
|
+
return H.versionProviderHandlers.get(s) || i;
|
|
2150
2153
|
const e = function(o) {
|
|
2151
2154
|
if (!s.wordingVersionProvider) return;
|
|
2152
|
-
const a =
|
|
2155
|
+
const a = H.publisher.get().__wording_versions__ ?? [];
|
|
2153
2156
|
if (o == null) return;
|
|
2154
2157
|
const c = a.find(
|
|
2155
2158
|
(h) => h.serviceURL === s.api.serviceURL
|
|
@@ -2157,9 +2160,9 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
|
|
|
2157
2160
|
serviceURL: s.api.serviceURL,
|
|
2158
2161
|
version: 0
|
|
2159
2162
|
};
|
|
2160
|
-
a.includes(c) || a.push(c), o !== c.version && (c.version = o,
|
|
2163
|
+
a.includes(c) || a.push(c), o !== c.version && (c.version = o, H.publisher.set({ __wording_versions__: a }), H.reloadWordings());
|
|
2161
2164
|
};
|
|
2162
|
-
return
|
|
2165
|
+
return H.versionProviderHandlers.set(
|
|
2163
2166
|
s,
|
|
2164
2167
|
e
|
|
2165
2168
|
), e;
|
|
@@ -2167,7 +2170,7 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
|
|
|
2167
2170
|
// Subscribes to the key, calling the directive's asynchronous
|
|
2168
2171
|
// setValue API each time the value changes
|
|
2169
2172
|
subscribe(t) {
|
|
2170
|
-
this.unsubscribe(),
|
|
2173
|
+
this.unsubscribe(), H.publisher["wording_" + t].onAssign(this.onAssign), H.callApi(this.node, t);
|
|
2171
2174
|
}
|
|
2172
2175
|
// When the directive is disconnected from the DOM, unsubscribe to ensure
|
|
2173
2176
|
// the directive instance can be garbage collected
|
|
@@ -2180,10 +2183,10 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
|
|
|
2180
2183
|
this.key && this.subscribe(this.key);
|
|
2181
2184
|
}
|
|
2182
2185
|
};
|
|
2183
|
-
|
|
2186
|
+
H.publisher = T.get("sonic-wording", {
|
|
2184
2187
|
localStorageMode: "enabled"
|
|
2185
|
-
}),
|
|
2186
|
-
let Le =
|
|
2188
|
+
}), H.firstCall = !0, H.versionProviderHandlers = /* @__PURE__ */ new Map();
|
|
2189
|
+
let Le = H;
|
|
2187
2190
|
const un = Pe(Le), fn = un;
|
|
2188
2191
|
var mn = Object.defineProperty, gn = Object.getOwnPropertyDescriptor, Dt = (r, t, s, i) => {
|
|
2189
2192
|
for (var e = i > 1 ? void 0 : i ? gn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
@@ -2969,9 +2972,9 @@ var mi = { exports: {} };
|
|
|
2969
2972
|
}, P = function(u) {
|
|
2970
2973
|
return new RegExp(u.toString() + "|").exec("").length - 1;
|
|
2971
2974
|
}, b = function(u, f) {
|
|
2972
|
-
var y, C, O, E,
|
|
2975
|
+
var y, C, O, E, V;
|
|
2973
2976
|
for (E = {}, y = -1, O = u.length; ++y < O; )
|
|
2974
|
-
C = u[y],
|
|
2977
|
+
C = u[y], V = f[y], V != null && (E[C] != null ? (Array.isArray(E[C]) || (E[C] = [E[C]]), E[C].push(V)) : E[C] = V);
|
|
2975
2978
|
return E;
|
|
2976
2979
|
}, i = {}, i.Result = function(u, f) {
|
|
2977
2980
|
this.value = u, this.rest = f;
|
|
@@ -2992,11 +2995,11 @@ var mi = { exports: {} };
|
|
|
2992
2995
|
}, i.sequence = function() {
|
|
2993
2996
|
var u;
|
|
2994
2997
|
return u = 1 <= arguments.length ? s.call(arguments, 0) : [], function(f) {
|
|
2995
|
-
var y, C, O, E,
|
|
2998
|
+
var y, C, O, E, V, W;
|
|
2996
2999
|
for (y = -1, C = u.length, W = [], E = f; ++y < C; ) {
|
|
2997
|
-
if (O = u[y],
|
|
3000
|
+
if (O = u[y], V = O(E), V == null)
|
|
2998
3001
|
return;
|
|
2999
|
-
W.push(
|
|
3002
|
+
W.push(V.value), E = V.rest;
|
|
3000
3003
|
}
|
|
3001
3004
|
return new i.Result(W, E);
|
|
3002
3005
|
};
|
|
@@ -3019,9 +3022,9 @@ var mi = { exports: {} };
|
|
|
3019
3022
|
return f == null && (f = u()), f(y);
|
|
3020
3023
|
};
|
|
3021
3024
|
}, i.baseMany = function(u, f, y, C, O) {
|
|
3022
|
-
var E,
|
|
3023
|
-
for (W = O, St = y ? "" : []; !(f != null && (E = f(W), E != null) || (
|
|
3024
|
-
y ? St +=
|
|
3025
|
+
var E, V, W, St;
|
|
3026
|
+
for (W = O, St = y ? "" : []; !(f != null && (E = f(W), E != null) || (V = u(W), V == null)); )
|
|
3027
|
+
y ? St += V.value : St.push(V.value), W = V.rest;
|
|
3025
3028
|
if (!(C && St.length === 0))
|
|
3026
3029
|
return new i.Result(St, W);
|
|
3027
3030
|
}, i.many1 = function(u) {
|
|
@@ -3092,7 +3095,7 @@ var mi = { exports: {} };
|
|
|
3092
3095
|
return n(u.value);
|
|
3093
3096
|
}
|
|
3094
3097
|
}, g = function(u, f, y, C) {
|
|
3095
|
-
var O, E,
|
|
3098
|
+
var O, E, V, W;
|
|
3096
3099
|
if (C == null && (C = !1), W = u[f], W == null) {
|
|
3097
3100
|
if (C)
|
|
3098
3101
|
throw new Error("no values provided for key `" + f + "`");
|
|
@@ -3103,7 +3106,7 @@ var mi = { exports: {} };
|
|
|
3103
3106
|
throw new Error("too few values provided for key `" + f + "`");
|
|
3104
3107
|
return;
|
|
3105
3108
|
}
|
|
3106
|
-
return
|
|
3109
|
+
return V = Array.isArray(W) ? W[O] : W, C && (y[f] = O + 1), V;
|
|
3107
3110
|
}, o = function(u, f, y) {
|
|
3108
3111
|
var C, O;
|
|
3109
3112
|
if (Array.isArray(u)) {
|
|
@@ -3138,7 +3141,7 @@ var mi = { exports: {} };
|
|
|
3138
3141
|
return o(u.value, f, y) ? D(u.value, f, y) : "";
|
|
3139
3142
|
}
|
|
3140
3143
|
}, e = function(u, f) {
|
|
3141
|
-
var y, C, O, E,
|
|
3144
|
+
var y, C, O, E, V;
|
|
3142
3145
|
if (u instanceof e) {
|
|
3143
3146
|
this.isRegex = u.isRegex, this.regex = u.regex, this.ast = u.ast, this.names = u.names;
|
|
3144
3147
|
return;
|
|
@@ -3157,7 +3160,7 @@ var mi = { exports: {} };
|
|
|
3157
3160
|
}
|
|
3158
3161
|
if (u === "")
|
|
3159
3162
|
throw new Error("argument must not be the empty string");
|
|
3160
|
-
if (
|
|
3163
|
+
if (V = u.replace(/\s+/g, ""), V !== u)
|
|
3161
3164
|
throw new Error("argument must not contain whitespace");
|
|
3162
3165
|
if (C = {
|
|
3163
3166
|
escapeChar: (f != null ? f.escapeChar : void 0) || d.escapeChar,
|
|
@@ -3351,7 +3354,7 @@ const Vi = (r) => {
|
|
|
3351
3354
|
* Copyright 2018 Google LLC
|
|
3352
3355
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3353
3356
|
*/
|
|
3354
|
-
const
|
|
3357
|
+
const $ = (r) => r ?? A, Mt = x`
|
|
3355
3358
|
/*SIZES*/
|
|
3356
3359
|
:host {
|
|
3357
3360
|
--sc-_fs: 1rem;
|
|
@@ -3453,10 +3456,10 @@ let I = class extends Vi(je(G(_))) {
|
|
|
3453
3456
|
part="button"
|
|
3454
3457
|
class=${this.hasPrefix || this.hasSuffix ? "has-prefix-or-suffix" : ""}
|
|
3455
3458
|
style=${mt(r)}
|
|
3456
|
-
aria-controls=${
|
|
3457
|
-
aria-expanded=${
|
|
3458
|
-
aria-label=${
|
|
3459
|
-
aria-labelledby=${
|
|
3459
|
+
aria-controls=${$(this.ariaControls)}
|
|
3460
|
+
aria-expanded=${$(this.sonicAriaExpanded)}
|
|
3461
|
+
aria-label=${$(this.ariaLabel)}
|
|
3462
|
+
aria-labelledby=${$(this.ariaLabelledby)}
|
|
3460
3463
|
@click=${this.handleChange}
|
|
3461
3464
|
@pointerdown=${this.handleRepeatStart}
|
|
3462
3465
|
>
|
|
@@ -3476,10 +3479,10 @@ let I = class extends Vi(je(G(_))) {
|
|
|
3476
3479
|
`;
|
|
3477
3480
|
return this.href ? m`<a
|
|
3478
3481
|
href="${this.href}"
|
|
3479
|
-
download=${
|
|
3480
|
-
target=${
|
|
3481
|
-
aria-label=${
|
|
3482
|
-
aria-labelledby=${
|
|
3482
|
+
download=${$(this.download)}
|
|
3483
|
+
target=${$(this.target)}
|
|
3484
|
+
aria-label=${$(this.ariaLabel)}
|
|
3485
|
+
aria-labelledby=${$(this.ariaLabelledby)}
|
|
3483
3486
|
@click=${this.pushState || this.goBack !== null ? this.handleNavigation : null}
|
|
3484
3487
|
>${t}</a
|
|
3485
3488
|
>` : m`${t}`;
|
|
@@ -3491,7 +3494,7 @@ let I = class extends Vi(je(G(_))) {
|
|
|
3491
3494
|
};
|
|
3492
3495
|
I.styles = [
|
|
3493
3496
|
Mt,
|
|
3494
|
-
|
|
3497
|
+
x`
|
|
3495
3498
|
* {
|
|
3496
3499
|
box-sizing: border-box;
|
|
3497
3500
|
}
|
|
@@ -4652,7 +4655,7 @@ let be = class extends _ {
|
|
|
4652
4655
|
return this.iconText ? this.iconText : A;
|
|
4653
4656
|
}
|
|
4654
4657
|
};
|
|
4655
|
-
be.styles =
|
|
4658
|
+
be.styles = x`
|
|
4656
4659
|
:host {
|
|
4657
4660
|
line-height: 0.1em;
|
|
4658
4661
|
width: fit-content;
|
|
@@ -4717,7 +4720,7 @@ ds([
|
|
|
4717
4720
|
be = ds([
|
|
4718
4721
|
w(ua)
|
|
4719
4722
|
], be);
|
|
4720
|
-
const ps =
|
|
4723
|
+
const ps = x`
|
|
4721
4724
|
.custom-scroll {
|
|
4722
4725
|
overflow: auto !important;
|
|
4723
4726
|
overflow-y: overlay !important;
|
|
@@ -4814,7 +4817,7 @@ let $t = class extends _ {
|
|
|
4814
4817
|
};
|
|
4815
4818
|
$t.styles = [
|
|
4816
4819
|
ps,
|
|
4817
|
-
|
|
4820
|
+
x`
|
|
4818
4821
|
* {
|
|
4819
4822
|
box-sizing: border-box;
|
|
4820
4823
|
}
|
|
@@ -5026,7 +5029,7 @@ It([
|
|
|
5026
5029
|
$t = It([
|
|
5027
5030
|
w(ba)
|
|
5028
5031
|
], $t);
|
|
5029
|
-
const va =
|
|
5032
|
+
const va = x`
|
|
5030
5033
|
:host {
|
|
5031
5034
|
/* POLICES */
|
|
5032
5035
|
/*
|
|
@@ -5097,7 +5100,7 @@ const va = $`
|
|
|
5097
5100
|
--sc-contrast-content: #fff;
|
|
5098
5101
|
--sc-contrast: #000000;
|
|
5099
5102
|
}
|
|
5100
|
-
`, ya =
|
|
5103
|
+
`, ya = x`
|
|
5101
5104
|
:host([theme="light"]) {
|
|
5102
5105
|
/*Boutons*/
|
|
5103
5106
|
--sc-primary: var(--sc-base-800);
|
|
@@ -5126,7 +5129,7 @@ const va = $`
|
|
|
5126
5129
|
--sc-base-900: #0f172a;
|
|
5127
5130
|
--sc-base-content: var(--sc-base-700);
|
|
5128
5131
|
}
|
|
5129
|
-
`, Ir =
|
|
5132
|
+
`, Ir = x`
|
|
5130
5133
|
--sc-primary: var(--sc-dark-primary, var(--sc-base-700));
|
|
5131
5134
|
--sc-info: var(--sc-dark-info, #3abff8);
|
|
5132
5135
|
--sc-danger: var(--sc-dark-danger, #f87272);
|
|
@@ -5151,7 +5154,7 @@ const va = $`
|
|
|
5151
5154
|
--sc-base-800: var(--sc-dark-base-800, #d9dce0);
|
|
5152
5155
|
--sc-base-900: var(--sc-dark-base-900, #e5e7eb);
|
|
5153
5156
|
--sc-base-content: var(--sc-dark-base-content, #e5e7eb);
|
|
5154
|
-
`, _a =
|
|
5157
|
+
`, _a = x`
|
|
5155
5158
|
:host([theme="dark"]) {
|
|
5156
5159
|
${Ir}
|
|
5157
5160
|
}
|
|
@@ -5238,7 +5241,7 @@ yt.styles = [
|
|
|
5238
5241
|
ya,
|
|
5239
5242
|
_a,
|
|
5240
5243
|
va,
|
|
5241
|
-
|
|
5244
|
+
x`
|
|
5242
5245
|
:host([color]) {
|
|
5243
5246
|
color: var(--sc-base-content, #000);
|
|
5244
5247
|
}
|
|
@@ -5325,12 +5328,12 @@ let N = class extends _ {
|
|
|
5325
5328
|
(i) => m`
|
|
5326
5329
|
<sonic-toast-item
|
|
5327
5330
|
maxHeight=${t ? "none" : "10rem"}
|
|
5328
|
-
status=${
|
|
5329
|
-
title=${
|
|
5331
|
+
status=${$(i.status)}
|
|
5332
|
+
title=${$(i.title)}
|
|
5330
5333
|
?ghost=${i.ghost}
|
|
5331
5334
|
?dismissForever=${i.dismissForever}
|
|
5332
5335
|
?preserve=${i.preserve}
|
|
5333
|
-
id=${
|
|
5336
|
+
id=${$(i.id)}
|
|
5334
5337
|
@hide=${() => this.removeItem(i)}
|
|
5335
5338
|
${Ps({
|
|
5336
5339
|
keyframeOptions: {
|
|
@@ -5689,7 +5692,7 @@ let Ts = class extends Bi(G(qi(_))) {
|
|
|
5689
5692
|
}
|
|
5690
5693
|
};
|
|
5691
5694
|
Ts.styles = [
|
|
5692
|
-
|
|
5695
|
+
x`
|
|
5693
5696
|
:host {
|
|
5694
5697
|
display: contents;
|
|
5695
5698
|
}
|
|
@@ -5715,7 +5718,7 @@ let Ms = class extends _ {
|
|
|
5715
5718
|
return this.condition ? m` <slot></slot> ` : A;
|
|
5716
5719
|
}
|
|
5717
5720
|
};
|
|
5718
|
-
Ms.styles =
|
|
5721
|
+
Ms.styles = x`
|
|
5719
5722
|
:host {
|
|
5720
5723
|
display: contents;
|
|
5721
5724
|
}
|
|
@@ -5726,7 +5729,7 @@ wo([
|
|
|
5726
5729
|
Ms = wo([
|
|
5727
5730
|
w(Ua)
|
|
5728
5731
|
], Ms);
|
|
5729
|
-
const Va =
|
|
5732
|
+
const Va = x`
|
|
5730
5733
|
:host([align="left"]) .sonic-loader--inline {
|
|
5731
5734
|
margin-left: 0;
|
|
5732
5735
|
}
|
|
@@ -5793,7 +5796,7 @@ const Va = $`
|
|
|
5793
5796
|
transform: translate(24px, 0);
|
|
5794
5797
|
}
|
|
5795
5798
|
}
|
|
5796
|
-
`, Ha =
|
|
5799
|
+
`, Ha = x`
|
|
5797
5800
|
@keyframes sonic-loader--fixed {
|
|
5798
5801
|
0% {
|
|
5799
5802
|
transform: scale(0);
|
|
@@ -5879,7 +5882,7 @@ let rt = class extends _ {
|
|
|
5879
5882
|
rt.styles = [
|
|
5880
5883
|
Va,
|
|
5881
5884
|
Ha,
|
|
5882
|
-
|
|
5885
|
+
x`
|
|
5883
5886
|
:host {
|
|
5884
5887
|
--sc-_loader-bg: var(--sc-primary, currentColor);
|
|
5885
5888
|
pointer-events: none;
|
|
@@ -6286,7 +6289,7 @@ let Gt = class extends G(_) {
|
|
|
6286
6289
|
const d = this.getAncestorAttributeValue("dataProvider"), p = this.endPoint || d;
|
|
6287
6290
|
rt.show();
|
|
6288
6291
|
const g = async () => {
|
|
6289
|
-
var f, y, C, O, E,
|
|
6292
|
+
var f, y, C, O, E, V, W, St;
|
|
6290
6293
|
if (e)
|
|
6291
6294
|
h = await ((f = this.api) == null ? void 0 : f.submitFormData(
|
|
6292
6295
|
p,
|
|
@@ -6314,7 +6317,7 @@ let Gt = class extends G(_) {
|
|
|
6314
6317
|
h = await ((E = this.api) == null ? void 0 : E.get(p + No, c));
|
|
6315
6318
|
break;
|
|
6316
6319
|
default:
|
|
6317
|
-
h = await ((
|
|
6320
|
+
h = await ((V = this.api) == null ? void 0 : V.post(p, o, c));
|
|
6318
6321
|
break;
|
|
6319
6322
|
}
|
|
6320
6323
|
rt.hide(), h ? h._sonic_http_response_ && !h._sonic_http_response_.ok && Object.keys(h).length === 1 && (h.messages = [{ content: "Network Error", status: "error" }]) : h = { messages: [{ content: "Network Error", status: "error" }] };
|
|
@@ -6384,7 +6387,7 @@ let Gt = class extends G(_) {
|
|
|
6384
6387
|
return m`<div ?data-disabled=${this.disabled}><slot></slot></div>`;
|
|
6385
6388
|
}
|
|
6386
6389
|
};
|
|
6387
|
-
Gt.styles =
|
|
6390
|
+
Gt.styles = x`
|
|
6388
6391
|
[data-disabled] {
|
|
6389
6392
|
opacity: 0.3;
|
|
6390
6393
|
pointer-events: none;
|
|
@@ -7131,7 +7134,7 @@ let zs = class extends ee(_) {
|
|
|
7131
7134
|
}
|
|
7132
7135
|
};
|
|
7133
7136
|
zs.styles = [
|
|
7134
|
-
|
|
7137
|
+
x`
|
|
7135
7138
|
:host {
|
|
7136
7139
|
display: contents;
|
|
7137
7140
|
}
|
|
@@ -7201,7 +7204,7 @@ let ve = class extends _ {
|
|
|
7201
7204
|
};
|
|
7202
7205
|
ve.styles = [
|
|
7203
7206
|
Mt,
|
|
7204
|
-
|
|
7207
|
+
x`
|
|
7205
7208
|
:host {
|
|
7206
7209
|
--sc-badge-gap: 0.3em;
|
|
7207
7210
|
--sc-badge-py: 0.35em;
|
|
@@ -7411,7 +7414,7 @@ let Xt = class extends _ {
|
|
|
7411
7414
|
<a
|
|
7412
7415
|
href="${this.href}"
|
|
7413
7416
|
aria-label=${this.ariaLabel || A}
|
|
7414
|
-
target=${
|
|
7417
|
+
target=${$(this.target)}
|
|
7415
7418
|
@click=${this.pushState ? this.handlePushState : null}
|
|
7416
7419
|
>
|
|
7417
7420
|
<slot></slot>
|
|
@@ -7420,7 +7423,7 @@ let Xt = class extends _ {
|
|
|
7420
7423
|
}
|
|
7421
7424
|
};
|
|
7422
7425
|
Xt.styles = [
|
|
7423
|
-
|
|
7426
|
+
x`
|
|
7424
7427
|
a {
|
|
7425
7428
|
color: inherit;
|
|
7426
7429
|
text-decoration: none;
|
|
@@ -7458,7 +7461,7 @@ let Qt = class extends _ {
|
|
|
7458
7461
|
}
|
|
7459
7462
|
render() {
|
|
7460
7463
|
return m`
|
|
7461
|
-
<progress value=${
|
|
7464
|
+
<progress value=${$(this.value)} max=${this.max}></progress>
|
|
7462
7465
|
<div class="slot-container">
|
|
7463
7466
|
<slot></slot>
|
|
7464
7467
|
<slot name="remaining"></slot>
|
|
@@ -7468,7 +7471,7 @@ let Qt = class extends _ {
|
|
|
7468
7471
|
};
|
|
7469
7472
|
Qt.styles = [
|
|
7470
7473
|
Mt,
|
|
7471
|
-
|
|
7474
|
+
x`
|
|
7472
7475
|
:host {
|
|
7473
7476
|
--sc-progress-bg: var(
|
|
7474
7477
|
--sc-input-bg,
|
|
@@ -7599,7 +7602,7 @@ Re([
|
|
|
7599
7602
|
Qt = Re([
|
|
7600
7603
|
w(pc)
|
|
7601
7604
|
], Qt);
|
|
7602
|
-
const uc =
|
|
7605
|
+
const uc = x`
|
|
7603
7606
|
.password-toggle {
|
|
7604
7607
|
color: var(--sc-input-c);
|
|
7605
7608
|
font-size: var(--sc-input-fs);
|
|
@@ -7610,7 +7613,7 @@ const uc = $`
|
|
|
7610
7613
|
:host([inlineContent]) .has-suffix .password-toggle {
|
|
7611
7614
|
margin-right: 0;
|
|
7612
7615
|
}
|
|
7613
|
-
`, Xs =
|
|
7616
|
+
`, Xs = x`
|
|
7614
7617
|
:host {
|
|
7615
7618
|
--sc-label-fs: var(--sc-_fs, 1rem);
|
|
7616
7619
|
--sc-label-fw: var(--sc-label-font-weight, 500);
|
|
@@ -7624,14 +7627,14 @@ const uc = $`
|
|
|
7624
7627
|
margin-bottom: 0.22em;
|
|
7625
7628
|
display: block;
|
|
7626
7629
|
}
|
|
7627
|
-
`, Qs =
|
|
7630
|
+
`, Qs = x`
|
|
7628
7631
|
.form-description {
|
|
7629
7632
|
color: var(--sc-base-400, var(--sc-base-content, #000));
|
|
7630
7633
|
font-size: 0.85em;
|
|
7631
7634
|
margin-top: 0.2em;
|
|
7632
7635
|
display: block;
|
|
7633
7636
|
}
|
|
7634
|
-
`, Xi =
|
|
7637
|
+
`, Xi = x`
|
|
7635
7638
|
* {
|
|
7636
7639
|
box-sizing: border-box;
|
|
7637
7640
|
}
|
|
@@ -8012,7 +8015,7 @@ var fc = Object.defineProperty, mc = Object.getOwnPropertyDescriptor, q = (r, t,
|
|
|
8012
8015
|
return i && e && fc(t, s, e), e;
|
|
8013
8016
|
};
|
|
8014
8017
|
const gc = "sonic-input";
|
|
8015
|
-
let
|
|
8018
|
+
let U = class extends Gs(je(G(_))) {
|
|
8016
8019
|
constructor() {
|
|
8017
8020
|
super(...arguments), this.readonly = !1, this.inlineContent = !1, this.disableInlineContentFocus = !1, this.showPasswordToggle = !1, this.hasDescription = !1, this.hasLabel = !1, this.hasSuffix = !1, this.hasPrefix = !1, this.isPassword = !1;
|
|
8018
8021
|
}
|
|
@@ -8089,29 +8092,30 @@ let H = class extends Gs(je(G(_))) {
|
|
|
8089
8092
|
<input
|
|
8090
8093
|
data-form-element
|
|
8091
8094
|
part="input"
|
|
8092
|
-
id=${
|
|
8095
|
+
id=${$(this.id || "form-element")}
|
|
8093
8096
|
part="input"
|
|
8094
8097
|
class="form-element input"
|
|
8095
8098
|
@input=${this.handleChange}
|
|
8096
8099
|
@blur=${this.handleBlur}
|
|
8097
8100
|
type=${this.type}
|
|
8098
|
-
disabled=${
|
|
8101
|
+
disabled=${$(this.disabled)}
|
|
8099
8102
|
?readonly=${this.readonly}
|
|
8100
8103
|
?autofocus=${this.autofocus}
|
|
8101
|
-
list=${
|
|
8102
|
-
tabindex=${
|
|
8103
|
-
pattern=${
|
|
8104
|
-
min=${
|
|
8105
|
-
max=${
|
|
8106
|
-
step=${
|
|
8107
|
-
|
|
8108
|
-
|
|
8109
|
-
|
|
8110
|
-
|
|
8104
|
+
list=${$(this.list)}
|
|
8105
|
+
tabindex=${$(this.tabindex)}
|
|
8106
|
+
pattern=${$(this.pattern)}
|
|
8107
|
+
min=${$(this.min)}
|
|
8108
|
+
max=${$(this.max)}
|
|
8109
|
+
step=${$(this.step)}
|
|
8110
|
+
inputmode=${$(this.inputmode)}
|
|
8111
|
+
src=${$(this.src)}
|
|
8112
|
+
minlength=${$(this.minlength)}
|
|
8113
|
+
maxlength=${$(this.maxlength)}
|
|
8114
|
+
placeholder=${$(this.placeholder)}
|
|
8111
8115
|
?required=${this.required}
|
|
8112
|
-
autocomplete=${
|
|
8113
|
-
aria-label=${
|
|
8114
|
-
aria-labelledby=${
|
|
8116
|
+
autocomplete=${$(this.autocomplete)}
|
|
8117
|
+
aria-label=${$(this.ariaLabel)}
|
|
8118
|
+
aria-labelledby=${$(this.ariaLabelledby)}
|
|
8115
8119
|
.name=${this.name}
|
|
8116
8120
|
.value=${this.value}
|
|
8117
8121
|
/>
|
|
@@ -8142,13 +8146,13 @@ let H = class extends Gs(je(G(_))) {
|
|
|
8142
8146
|
`;
|
|
8143
8147
|
}
|
|
8144
8148
|
};
|
|
8145
|
-
|
|
8149
|
+
U.styles = [
|
|
8146
8150
|
Mt,
|
|
8147
8151
|
Xi,
|
|
8148
8152
|
Xs,
|
|
8149
8153
|
Qs,
|
|
8150
8154
|
uc,
|
|
8151
|
-
|
|
8155
|
+
x`
|
|
8152
8156
|
:host([type="hidden"]) {
|
|
8153
8157
|
appearance: none !important;
|
|
8154
8158
|
display: none !important;
|
|
@@ -8160,80 +8164,83 @@ H.styles = [
|
|
|
8160
8164
|
];
|
|
8161
8165
|
q([
|
|
8162
8166
|
l({ type: String, reflect: !0 })
|
|
8163
|
-
],
|
|
8167
|
+
], U.prototype, "size", 2);
|
|
8168
|
+
q([
|
|
8169
|
+
l({ type: String })
|
|
8170
|
+
], U.prototype, "inputmode", 2);
|
|
8164
8171
|
q([
|
|
8165
8172
|
l({ type: String })
|
|
8166
|
-
],
|
|
8173
|
+
], U.prototype, "list", 2);
|
|
8167
8174
|
q([
|
|
8168
8175
|
l({ type: String })
|
|
8169
|
-
],
|
|
8176
|
+
], U.prototype, "placeholder", 2);
|
|
8170
8177
|
q([
|
|
8171
8178
|
l({ type: String })
|
|
8172
|
-
],
|
|
8179
|
+
], U.prototype, "pattern", 2);
|
|
8173
8180
|
q([
|
|
8174
8181
|
l({ type: String })
|
|
8175
|
-
],
|
|
8182
|
+
], U.prototype, "min", 2);
|
|
8176
8183
|
q([
|
|
8177
8184
|
l({ type: String })
|
|
8178
|
-
],
|
|
8185
|
+
], U.prototype, "max", 2);
|
|
8179
8186
|
q([
|
|
8180
8187
|
l({ type: Boolean })
|
|
8181
|
-
],
|
|
8188
|
+
], U.prototype, "readonly", 2);
|
|
8182
8189
|
q([
|
|
8183
8190
|
l({ type: Number })
|
|
8184
|
-
],
|
|
8191
|
+
], U.prototype, "step", 2);
|
|
8185
8192
|
q([
|
|
8186
8193
|
l({ type: Number })
|
|
8187
|
-
],
|
|
8194
|
+
], U.prototype, "minlength", 2);
|
|
8188
8195
|
q([
|
|
8189
8196
|
l({ type: Number })
|
|
8190
|
-
],
|
|
8197
|
+
], U.prototype, "maxlength", 2);
|
|
8191
8198
|
q([
|
|
8192
8199
|
l({ type: String })
|
|
8193
|
-
],
|
|
8200
|
+
], U.prototype, "src", 2);
|
|
8194
8201
|
q([
|
|
8195
8202
|
l({ type: Boolean, reflect: !0 })
|
|
8196
|
-
],
|
|
8203
|
+
], U.prototype, "inlineContent", 2);
|
|
8197
8204
|
q([
|
|
8198
8205
|
l({ type: Boolean })
|
|
8199
|
-
],
|
|
8206
|
+
], U.prototype, "disableInlineContentFocus", 2);
|
|
8200
8207
|
q([
|
|
8201
8208
|
l({ type: Boolean })
|
|
8202
|
-
],
|
|
8209
|
+
], U.prototype, "showPasswordToggle", 2);
|
|
8203
8210
|
q([
|
|
8204
8211
|
ht({ slot: "label", flatten: !0 })
|
|
8205
|
-
],
|
|
8212
|
+
], U.prototype, "slotLabelNodes", 2);
|
|
8206
8213
|
q([
|
|
8207
8214
|
ht({ slot: "description", flatten: !0 })
|
|
8208
|
-
],
|
|
8215
|
+
], U.prototype, "slotDescriptionNodes", 2);
|
|
8209
8216
|
q([
|
|
8210
8217
|
ht({ slot: "suffix", flatten: !0 })
|
|
8211
|
-
],
|
|
8218
|
+
], U.prototype, "slotSuffixNodes", 2);
|
|
8212
8219
|
q([
|
|
8213
8220
|
ht({ slot: "prefix", flatten: !0 })
|
|
8214
|
-
],
|
|
8221
|
+
], U.prototype, "slotPrefixNodes", 2);
|
|
8215
8222
|
q([
|
|
8216
8223
|
$e("input")
|
|
8217
|
-
],
|
|
8224
|
+
], U.prototype, "input", 2);
|
|
8218
8225
|
q([
|
|
8219
8226
|
M()
|
|
8220
|
-
],
|
|
8227
|
+
], U.prototype, "hasDescription", 2);
|
|
8221
8228
|
q([
|
|
8222
8229
|
M()
|
|
8223
|
-
],
|
|
8230
|
+
], U.prototype, "hasLabel", 2);
|
|
8224
8231
|
q([
|
|
8225
8232
|
M()
|
|
8226
|
-
],
|
|
8233
|
+
], U.prototype, "hasSuffix", 2);
|
|
8227
8234
|
q([
|
|
8228
8235
|
M()
|
|
8229
|
-
],
|
|
8236
|
+
], U.prototype, "hasPrefix", 2);
|
|
8230
8237
|
q([
|
|
8231
8238
|
M()
|
|
8232
|
-
],
|
|
8233
|
-
|
|
8239
|
+
], U.prototype, "isPassword", 2);
|
|
8240
|
+
U = q([
|
|
8234
8241
|
w(gc)
|
|
8235
|
-
],
|
|
8236
|
-
const Ao =
|
|
8242
|
+
], U);
|
|
8243
|
+
const Ao = x`
|
|
8237
8244
|
/*OMBRE*/
|
|
8238
8245
|
:host([shadow]) .shadowable,
|
|
8239
8246
|
:host([shadow="md"]) .shadowable,
|
|
@@ -8319,7 +8326,7 @@ let nt = class extends _ {
|
|
|
8319
8326
|
this.popContent && this.resizeObserver.unobserve(this.popContent), super.disconnectedCallback(), nt.pops.delete(this), nt.pops.size == 0 && (document.removeEventListener("pointerdown", this._handleClosePop), document.removeEventListener("click", this._handleClosePop));
|
|
8320
8327
|
}
|
|
8321
8328
|
computePosition(r) {
|
|
8322
|
-
var E,
|
|
8329
|
+
var E, V, W, St;
|
|
8323
8330
|
const t = r.split(" "), s = t[0];
|
|
8324
8331
|
let i = t[1], e = (E = this.popContent) == null ? void 0 : E.getBoundingClientRect();
|
|
8325
8332
|
const o = 5, n = this.getBoundingClientRect(), a = J.getScrollableAncestor(
|
|
@@ -8350,7 +8357,7 @@ let nt = class extends _ {
|
|
|
8350
8357
|
this.lastContentX += P - e.x, this.lastContentY += S - e.y, Object.assign(this.popContent.style, {
|
|
8351
8358
|
left: `${this.lastContentX}px`,
|
|
8352
8359
|
top: `${this.lastContentY}px`
|
|
8353
|
-
}), e = (
|
|
8360
|
+
}), e = (V = this.popContent) == null ? void 0 : V.getBoundingClientRect(), e.x < h && s == "left" && (P = f), e.y < d && s == "top" && (S = y), e.x + e.width > p && s == "right" && (P = u), e.y + e.height > g && s == "bottom" && (S = D), this.lastContentX += P - e.x, this.lastContentY += S - e.y, Object.assign(this.popContent.style, {
|
|
8354
8361
|
left: `${this.lastContentX}px`,
|
|
8355
8362
|
top: `${this.lastContentY}px`
|
|
8356
8363
|
}), e = (W = this.popContent) == null ? void 0 : W.getBoundingClientRect(), e.x < h && (this.lastContentX += h - e.x), e.y < d && (this.lastContentY += d - e.y), Object.assign(this.popContent.style, {
|
|
@@ -8381,7 +8388,7 @@ let nt = class extends _ {
|
|
|
8381
8388
|
};
|
|
8382
8389
|
nt.pops = /* @__PURE__ */ new Set();
|
|
8383
8390
|
nt.styles = [
|
|
8384
|
-
|
|
8391
|
+
x`
|
|
8385
8392
|
:host {
|
|
8386
8393
|
display: inline-block;
|
|
8387
8394
|
vertical-align: middle;
|
|
@@ -8615,16 +8622,16 @@ let at = class extends qi(
|
|
|
8615
8622
|
formDataProvider="${this.searchDataProvider}"
|
|
8616
8623
|
type="search"
|
|
8617
8624
|
data-keyboard-nav="${this.getAttribute("data-keyboard-nav") || ""}"
|
|
8618
|
-
label="${
|
|
8619
|
-
description="${
|
|
8620
|
-
name="${
|
|
8621
|
-
placeholder="${
|
|
8625
|
+
label="${$(this.label)}"
|
|
8626
|
+
description="${$(this.description)}"
|
|
8627
|
+
name="${$(this.searchParameter || this.name)}"
|
|
8628
|
+
placeholder="${$(this.placeholder)}"
|
|
8622
8629
|
?readonly="${this.readonly}"
|
|
8623
8630
|
autocomplete="off"
|
|
8624
8631
|
clearable
|
|
8625
8632
|
inlineContent
|
|
8626
8633
|
size=${this.size}
|
|
8627
|
-
value="${
|
|
8634
|
+
value="${$(((r = this.searchPublisher) == null ? void 0 : r.get()) || this.value)}"
|
|
8628
8635
|
>
|
|
8629
8636
|
<slot
|
|
8630
8637
|
name="prefix"
|
|
@@ -8674,7 +8681,7 @@ let at = class extends qi(
|
|
|
8674
8681
|
};
|
|
8675
8682
|
at.styles = [
|
|
8676
8683
|
ps,
|
|
8677
|
-
|
|
8684
|
+
x`
|
|
8678
8685
|
:host {
|
|
8679
8686
|
display: block;
|
|
8680
8687
|
}
|
|
@@ -8922,13 +8929,13 @@ let pt = class extends Vi(
|
|
|
8922
8929
|
@blur=${this.handleBlur}
|
|
8923
8930
|
?required=${this.required}
|
|
8924
8931
|
?data-indeterminate=${this.showAsIndeterminate}
|
|
8925
|
-
.disabled=${
|
|
8926
|
-
.checked=${
|
|
8932
|
+
.disabled=${$(this.disabled)}
|
|
8933
|
+
.checked=${$(this.checked)}
|
|
8927
8934
|
.name=${this.name}
|
|
8928
8935
|
.value=${this.value}
|
|
8929
8936
|
?autofocus=${this.autofocus}
|
|
8930
|
-
aria-label=${
|
|
8931
|
-
aria-labelledby=${
|
|
8937
|
+
aria-label=${$(this.ariaLabel)}
|
|
8938
|
+
aria-labelledby=${$(this.ariaLabelledby)}
|
|
8932
8939
|
/>
|
|
8933
8940
|
<sonic-icon name="${this.checked == "indeterminate" || this.showAsIndeterminate ? this.indeterminateIconName : this.iconName}" class="sc-input-icon"></sonic-icon>
|
|
8934
8941
|
</span>
|
|
@@ -8948,7 +8955,7 @@ let pt = class extends Vi(
|
|
|
8948
8955
|
};
|
|
8949
8956
|
pt.styles = [
|
|
8950
8957
|
Mt,
|
|
8951
|
-
|
|
8958
|
+
x`
|
|
8952
8959
|
:host {
|
|
8953
8960
|
--sc-checkbox-border-width: var(--sc-form-border-width);
|
|
8954
8961
|
--sc-checkbox-border-color: var(
|
|
@@ -9115,7 +9122,7 @@ let yi = class extends pt {
|
|
|
9115
9122
|
};
|
|
9116
9123
|
yi.styles = [
|
|
9117
9124
|
pt.styles,
|
|
9118
|
-
|
|
9125
|
+
x`
|
|
9119
9126
|
:host input {
|
|
9120
9127
|
border-radius: 50%;
|
|
9121
9128
|
}
|
|
@@ -9143,13 +9150,10 @@ var zc = Object.defineProperty, Rc = Object.getOwnPropertyDescriptor, Uc = (r, t
|
|
|
9143
9150
|
};
|
|
9144
9151
|
const Vc = "sonic-switch";
|
|
9145
9152
|
let _i = class extends pt {
|
|
9146
|
-
constructor() {
|
|
9147
|
-
super(), this.unique = !0;
|
|
9148
|
-
}
|
|
9149
9153
|
};
|
|
9150
9154
|
_i.styles = [
|
|
9151
9155
|
pt.styles,
|
|
9152
|
-
|
|
9156
|
+
x`
|
|
9153
9157
|
sonic-icon {
|
|
9154
9158
|
display: none;
|
|
9155
9159
|
}
|
|
@@ -9319,12 +9323,12 @@ let Y = class extends je(G(_)) {
|
|
|
9319
9323
|
?disabled=${this.disabled}
|
|
9320
9324
|
?required=${this.required}
|
|
9321
9325
|
?multiple=${this.multiple}
|
|
9322
|
-
size=${
|
|
9326
|
+
size=${$(this.selectSize)}
|
|
9323
9327
|
?autofocus=${this.autofocus}
|
|
9324
9328
|
.value="${this.value}"
|
|
9325
9329
|
class="form-element"
|
|
9326
|
-
aria-label=${
|
|
9327
|
-
aria-labelledby=${
|
|
9330
|
+
aria-label=${$(this.ariaLabel)}
|
|
9331
|
+
aria-labelledby=${$(this.ariaLabelledby)}
|
|
9328
9332
|
>
|
|
9329
9333
|
${Ks(
|
|
9330
9334
|
this.options,
|
|
@@ -9364,7 +9368,7 @@ Y.styles = [
|
|
|
9364
9368
|
Xi,
|
|
9365
9369
|
Xs,
|
|
9366
9370
|
Qs,
|
|
9367
|
-
|
|
9371
|
+
x`
|
|
9368
9372
|
.form-element {
|
|
9369
9373
|
appearance: none;
|
|
9370
9374
|
}
|
|
@@ -9523,22 +9527,22 @@ let ct = class extends Gs(je(G(_))) {
|
|
|
9523
9527
|
id="${this.id || "form-element"}"
|
|
9524
9528
|
@input=${this.handleChange}
|
|
9525
9529
|
@blur=${this.handleBlur}
|
|
9526
|
-
disabled=${
|
|
9530
|
+
disabled=${$(this.disabled)}
|
|
9527
9531
|
?required=${this.required}
|
|
9528
9532
|
?autofocus=${this.autofocus}
|
|
9529
|
-
rows=${
|
|
9530
|
-
cols=${
|
|
9531
|
-
maxlength=${
|
|
9532
|
-
minlength=${
|
|
9533
|
+
rows=${$(this.rows)}
|
|
9534
|
+
cols=${$(this.cols)}
|
|
9535
|
+
maxlength=${$(this.maxlength)}
|
|
9536
|
+
minlength=${$(this.minlength)}
|
|
9533
9537
|
?readonly=${this.readonly}
|
|
9534
|
-
spellcheck=${
|
|
9535
|
-
autocomplete=${
|
|
9536
|
-
tabindex=${
|
|
9537
|
-
wrap=${
|
|
9538
|
+
spellcheck=${$(this.spellcheck)}
|
|
9539
|
+
autocomplete=${$(this.autocomplete)}
|
|
9540
|
+
tabindex=${$(this.tabindex)}
|
|
9541
|
+
wrap=${$(this.wrap)}
|
|
9538
9542
|
placeholder="${this.placeholder}"
|
|
9539
9543
|
class="form-element textarea custom-scroll"
|
|
9540
|
-
aria-label=${
|
|
9541
|
-
aria-labelledby=${
|
|
9544
|
+
aria-label=${$(this.ariaLabel)}
|
|
9545
|
+
aria-labelledby=${$(this.ariaLabelledby)}
|
|
9542
9546
|
style=${mt(r)}
|
|
9543
9547
|
>
|
|
9544
9548
|
${this.value}</textarea
|
|
@@ -9560,7 +9564,7 @@ ct.styles = [
|
|
|
9560
9564
|
Xs,
|
|
9561
9565
|
Qs,
|
|
9562
9566
|
ps,
|
|
9563
|
-
|
|
9567
|
+
x`
|
|
9564
9568
|
textarea {
|
|
9565
9569
|
overflow-y: auto !important;
|
|
9566
9570
|
font-size: inherit;
|
|
@@ -9620,7 +9624,7 @@ let wi = class extends _ {
|
|
|
9620
9624
|
}
|
|
9621
9625
|
};
|
|
9622
9626
|
wi.styles = [
|
|
9623
|
-
|
|
9627
|
+
x`
|
|
9624
9628
|
:host {
|
|
9625
9629
|
font-size: 1.15rem;
|
|
9626
9630
|
line-height: 1.2;
|
|
@@ -9662,8 +9666,8 @@ let Ht = class extends _ {
|
|
|
9662
9666
|
${this.iconName ? m`<div class="icon">
|
|
9663
9667
|
<sonic-icon
|
|
9664
9668
|
name=${this.iconName}
|
|
9665
|
-
prefix=${
|
|
9666
|
-
library=${
|
|
9669
|
+
prefix=${$(this.iconPrefix)}
|
|
9670
|
+
library=${$(this.iconLibrary)}
|
|
9667
9671
|
></sonic-icon>
|
|
9668
9672
|
</div>` : ""}
|
|
9669
9673
|
|
|
@@ -9679,7 +9683,7 @@ let Ht = class extends _ {
|
|
|
9679
9683
|
}
|
|
9680
9684
|
};
|
|
9681
9685
|
Ht.styles = [
|
|
9682
|
-
|
|
9686
|
+
x`
|
|
9683
9687
|
:host {
|
|
9684
9688
|
--sc-legend-font-size: 1.5rem;
|
|
9685
9689
|
--sc-legend-font-weight: var(--sc-font-weight-base, 400);
|
|
@@ -9752,22 +9756,22 @@ let xt = class extends G(_) {
|
|
|
9752
9756
|
}
|
|
9753
9757
|
render() {
|
|
9754
9758
|
return m`<fieldset
|
|
9755
|
-
form="${
|
|
9759
|
+
form="${$(this.form)}"
|
|
9756
9760
|
?disabled="${this.disabled}"
|
|
9757
9761
|
>
|
|
9758
9762
|
${this.label ? m` <sonic-legend
|
|
9759
|
-
label=${
|
|
9760
|
-
description=${
|
|
9761
|
-
iconName=${
|
|
9762
|
-
iconPrefix=${
|
|
9763
|
-
iconLibrary=${
|
|
9763
|
+
label=${$(this.label)}
|
|
9764
|
+
description=${$(this.description)}
|
|
9765
|
+
iconName=${$(this.iconName)}
|
|
9766
|
+
iconPrefix=${$(this.iconPrefix)}
|
|
9767
|
+
iconLibrary=${$(this.iconLibrary)}
|
|
9764
9768
|
></sonic-legend>` : A}
|
|
9765
9769
|
<slot></slot>
|
|
9766
9770
|
</fieldset>`;
|
|
9767
9771
|
}
|
|
9768
9772
|
};
|
|
9769
9773
|
xt.styles = [
|
|
9770
|
-
|
|
9774
|
+
x`
|
|
9771
9775
|
:host {
|
|
9772
9776
|
--sc-fieldset-mt: 0;
|
|
9773
9777
|
--sc-fieldset-mb: 1rem;
|
|
@@ -9874,7 +9878,7 @@ let rs = class extends G(_) {
|
|
|
9874
9878
|
}
|
|
9875
9879
|
};
|
|
9876
9880
|
rs.styles = [
|
|
9877
|
-
|
|
9881
|
+
x`
|
|
9878
9882
|
:host {
|
|
9879
9883
|
display: block;
|
|
9880
9884
|
}
|
|
@@ -9939,7 +9943,7 @@ let os = class extends _ {
|
|
|
9939
9943
|
}
|
|
9940
9944
|
};
|
|
9941
9945
|
os.styles = [
|
|
9942
|
-
|
|
9946
|
+
x`
|
|
9943
9947
|
:host {
|
|
9944
9948
|
display: block;
|
|
9945
9949
|
}
|
|
@@ -10015,7 +10019,7 @@ Nt.styles = [
|
|
|
10015
10019
|
Mt,
|
|
10016
10020
|
Xs,
|
|
10017
10021
|
Qs,
|
|
10018
|
-
|
|
10022
|
+
x`
|
|
10019
10023
|
:host {
|
|
10020
10024
|
display: inline-block;
|
|
10021
10025
|
vertical-align: middle;
|
|
@@ -10101,7 +10105,7 @@ let Pt = class extends _ {
|
|
|
10101
10105
|
}
|
|
10102
10106
|
};
|
|
10103
10107
|
Pt.styles = [
|
|
10104
|
-
|
|
10108
|
+
x`
|
|
10105
10109
|
:host {
|
|
10106
10110
|
--sc-img-radius: 0;
|
|
10107
10111
|
--sc-img-bg: var(--sc-placeholder-bg, rgba(12, 12, 12, 0.05));
|
|
@@ -10304,7 +10308,7 @@ let ut = class extends _ {
|
|
|
10304
10308
|
}
|
|
10305
10309
|
};
|
|
10306
10310
|
ut.styles = [
|
|
10307
|
-
|
|
10311
|
+
x`
|
|
10308
10312
|
:host {
|
|
10309
10313
|
display: block;
|
|
10310
10314
|
--sc-menu-gap: 0.15rem;
|
|
@@ -10487,7 +10491,7 @@ let Us = class extends _ {
|
|
|
10487
10491
|
}
|
|
10488
10492
|
};
|
|
10489
10493
|
Us.styles = [
|
|
10490
|
-
|
|
10494
|
+
x`
|
|
10491
10495
|
:host {
|
|
10492
10496
|
display: flex;
|
|
10493
10497
|
gap: 0.5rem;
|
|
@@ -10510,7 +10514,7 @@ var $h = Object.defineProperty, xh = Object.getOwnPropertyDescriptor, Oo = (r, t
|
|
|
10510
10514
|
const Ph = "sonic-modal-close";
|
|
10511
10515
|
let Vs = class extends _ {
|
|
10512
10516
|
render() {
|
|
10513
|
-
return m`<sonic-button reset=${
|
|
10517
|
+
return m`<sonic-button reset=${$(this.reset)} shape="circle" @click=${this.handleClick}
|
|
10514
10518
|
><sonic-icon name="cancel" size="lg"></sonic-icon
|
|
10515
10519
|
></sonic-button>`;
|
|
10516
10520
|
}
|
|
@@ -10519,7 +10523,7 @@ let Vs = class extends _ {
|
|
|
10519
10523
|
}
|
|
10520
10524
|
};
|
|
10521
10525
|
Vs.styles = [
|
|
10522
|
-
|
|
10526
|
+
x`
|
|
10523
10527
|
:host {
|
|
10524
10528
|
position: sticky;
|
|
10525
10529
|
display: block;
|
|
@@ -10550,7 +10554,7 @@ let $i = class extends _ {
|
|
|
10550
10554
|
}
|
|
10551
10555
|
};
|
|
10552
10556
|
$i.styles = [
|
|
10553
|
-
|
|
10557
|
+
x`
|
|
10554
10558
|
:host {
|
|
10555
10559
|
display: block;
|
|
10556
10560
|
width: 100%;
|
|
@@ -10572,7 +10576,7 @@ let xi = class extends _ {
|
|
|
10572
10576
|
}
|
|
10573
10577
|
};
|
|
10574
10578
|
xi.styles = [
|
|
10575
|
-
|
|
10579
|
+
x`
|
|
10576
10580
|
:host {
|
|
10577
10581
|
font-size: 1.1rem;
|
|
10578
10582
|
display: block;
|
|
@@ -10602,7 +10606,7 @@ let Pi = class extends _ {
|
|
|
10602
10606
|
}
|
|
10603
10607
|
};
|
|
10604
10608
|
Pi.styles = [
|
|
10605
|
-
|
|
10609
|
+
x`
|
|
10606
10610
|
:host {
|
|
10607
10611
|
font-weight: bold;
|
|
10608
10612
|
font-size: 1.5rem;
|
|
@@ -10781,7 +10785,7 @@ let j = class extends G(_) {
|
|
|
10781
10785
|
};
|
|
10782
10786
|
j.styles = [
|
|
10783
10787
|
ps,
|
|
10784
|
-
|
|
10788
|
+
x`
|
|
10785
10789
|
:host {
|
|
10786
10790
|
--sc-modal-py: 2.5rem;
|
|
10787
10791
|
--sc-modal-px: 1.5rem;
|
|
@@ -11018,7 +11022,7 @@ let At = class extends _ {
|
|
|
11018
11022
|
};
|
|
11019
11023
|
At.styles = [
|
|
11020
11024
|
Mt,
|
|
11021
|
-
|
|
11025
|
+
x`
|
|
11022
11026
|
:host {
|
|
11023
11027
|
--sc_color: var(--sc-base-content, #000);
|
|
11024
11028
|
--sc_rounded: var(--sc-rounded);
|
|
@@ -11152,7 +11156,7 @@ let ye = class extends G(_) {
|
|
|
11152
11156
|
return (r = this.messages) != null && r.length ? m`<div class="container">
|
|
11153
11157
|
${$o(this.messages, (t) => t.type == "public" ? m`<sonic-alert
|
|
11154
11158
|
status=${t.status || "default"}
|
|
11155
|
-
text=${
|
|
11159
|
+
text=${$(t.content)}
|
|
11156
11160
|
size=${this.size}
|
|
11157
11161
|
?noIcon=${this.noIcon}
|
|
11158
11162
|
?background=${this.background}
|
|
@@ -11161,7 +11165,7 @@ let ye = class extends G(_) {
|
|
|
11161
11165
|
}
|
|
11162
11166
|
};
|
|
11163
11167
|
ye.styles = [
|
|
11164
|
-
|
|
11168
|
+
x`
|
|
11165
11169
|
.container {
|
|
11166
11170
|
display: grid;
|
|
11167
11171
|
gap: 0.5em;
|
|
@@ -11237,7 +11241,7 @@ let _e = class extends _ {
|
|
|
11237
11241
|
}
|
|
11238
11242
|
};
|
|
11239
11243
|
_e.styles = [
|
|
11240
|
-
|
|
11244
|
+
x`
|
|
11241
11245
|
:host {
|
|
11242
11246
|
position: relative;
|
|
11243
11247
|
display: inline-flex;
|
|
@@ -11376,8 +11380,8 @@ let Ct = class extends _ {
|
|
|
11376
11380
|
}
|
|
11377
11381
|
};
|
|
11378
11382
|
Ct.styles = [
|
|
11379
|
-
|
|
11380
|
-
:host {
|
|
11383
|
+
x`
|
|
11384
|
+
:host {
|
|
11381
11385
|
--sc-divider-my: 0.5rem;
|
|
11382
11386
|
--sc-divider-mx: 0;
|
|
11383
11387
|
--sc-divider-border-width: max(
|
|
@@ -11551,7 +11555,7 @@ let Ci = class extends _ {
|
|
|
11551
11555
|
}
|
|
11552
11556
|
};
|
|
11553
11557
|
Ci.styles = [
|
|
11554
|
-
|
|
11558
|
+
x`
|
|
11555
11559
|
:host() {
|
|
11556
11560
|
display: block;
|
|
11557
11561
|
font-size: 0.7em;
|
|
@@ -11585,7 +11589,7 @@ let ns = class extends _ {
|
|
|
11585
11589
|
}
|
|
11586
11590
|
};
|
|
11587
11591
|
ns.styles = [
|
|
11588
|
-
|
|
11592
|
+
x`
|
|
11589
11593
|
:host {
|
|
11590
11594
|
--sc-card-header-mb: 1.35rem;
|
|
11591
11595
|
--sc-card-header-font-size: 1.875rem;
|
|
@@ -11646,7 +11650,7 @@ let Si = class extends _ {
|
|
|
11646
11650
|
}
|
|
11647
11651
|
};
|
|
11648
11652
|
Si.styles = [
|
|
11649
|
-
|
|
11653
|
+
x`
|
|
11650
11654
|
:host {
|
|
11651
11655
|
display: block;
|
|
11652
11656
|
}
|
|
@@ -11667,7 +11671,7 @@ let Oi = class extends _ {
|
|
|
11667
11671
|
}
|
|
11668
11672
|
};
|
|
11669
11673
|
Oi.styles = [
|
|
11670
|
-
|
|
11674
|
+
x`
|
|
11671
11675
|
:host {
|
|
11672
11676
|
display: block;
|
|
11673
11677
|
}
|
|
@@ -11676,7 +11680,7 @@ Oi.styles = [
|
|
|
11676
11680
|
Oi = fd([
|
|
11677
11681
|
w(md)
|
|
11678
11682
|
], Oi);
|
|
11679
|
-
const sr =
|
|
11683
|
+
const sr = x`
|
|
11680
11684
|
:host {
|
|
11681
11685
|
--sc-_color: inherit;
|
|
11682
11686
|
color: var(--sc-_color);
|
|
@@ -11701,7 +11705,7 @@ const sr = $`
|
|
|
11701
11705
|
.inherit-color {
|
|
11702
11706
|
color: var(--sc-_color);
|
|
11703
11707
|
}
|
|
11704
|
-
`, gd =
|
|
11708
|
+
`, gd = x`
|
|
11705
11709
|
:host {
|
|
11706
11710
|
--sc-_color: inherit;
|
|
11707
11711
|
--sc-_bg: inherit;
|
|
@@ -11781,7 +11785,7 @@ let Hs = class extends _ {
|
|
|
11781
11785
|
};
|
|
11782
11786
|
Hs.styles = [
|
|
11783
11787
|
gd,
|
|
11784
|
-
|
|
11788
|
+
x`
|
|
11785
11789
|
* {
|
|
11786
11790
|
box-sizing: border-box;
|
|
11787
11791
|
}
|
|
@@ -11838,7 +11842,7 @@ let we = class extends G(_) {
|
|
|
11838
11842
|
};
|
|
11839
11843
|
we.styles = [
|
|
11840
11844
|
sr,
|
|
11841
|
-
|
|
11845
|
+
x`
|
|
11842
11846
|
:host {
|
|
11843
11847
|
display: table-row;
|
|
11844
11848
|
}
|
|
@@ -11890,8 +11894,8 @@ let Bt = class extends _ {
|
|
|
11890
11894
|
return m`<th
|
|
11891
11895
|
part="th"
|
|
11892
11896
|
style=${mt(r)}
|
|
11893
|
-
colspan=${
|
|
11894
|
-
rowspan=${
|
|
11897
|
+
colspan=${$(this.colSpan)}
|
|
11898
|
+
rowspan=${$(this.rowSpan)}
|
|
11895
11899
|
>
|
|
11896
11900
|
<slot></slot>
|
|
11897
11901
|
</th> `;
|
|
@@ -11899,7 +11903,7 @@ let Bt = class extends _ {
|
|
|
11899
11903
|
};
|
|
11900
11904
|
Bt.styles = [
|
|
11901
11905
|
sr,
|
|
11902
|
-
|
|
11906
|
+
x`
|
|
11903
11907
|
:host {
|
|
11904
11908
|
display: contents;
|
|
11905
11909
|
background: var(--sc-table-bg);
|
|
@@ -11960,14 +11964,14 @@ let Tt = class extends _ {
|
|
|
11960
11964
|
maxWidth: this.maxWidth,
|
|
11961
11965
|
width: this.width
|
|
11962
11966
|
};
|
|
11963
|
-
return m`<td part="td" style=${mt(r)} colspan=${
|
|
11967
|
+
return m`<td part="td" style=${mt(r)} colspan=${$(this.colSpan)} rowspan=${$(this.rowSpan)}>
|
|
11964
11968
|
<slot></slot>
|
|
11965
11969
|
</td>`;
|
|
11966
11970
|
}
|
|
11967
11971
|
};
|
|
11968
11972
|
Tt.styles = [
|
|
11969
11973
|
sr,
|
|
11970
|
-
|
|
11974
|
+
x`
|
|
11971
11975
|
:host {
|
|
11972
11976
|
display: contents;
|
|
11973
11977
|
}
|
|
@@ -12018,7 +12022,7 @@ let Di = class extends _ {
|
|
|
12018
12022
|
}
|
|
12019
12023
|
};
|
|
12020
12024
|
Di.styles = [
|
|
12021
|
-
|
|
12025
|
+
x`
|
|
12022
12026
|
:host {
|
|
12023
12027
|
display: table-header-group;
|
|
12024
12028
|
}
|
|
@@ -12041,7 +12045,7 @@ let ki = class extends _ {
|
|
|
12041
12045
|
}
|
|
12042
12046
|
};
|
|
12043
12047
|
ki.styles = [
|
|
12044
|
-
|
|
12048
|
+
x`
|
|
12045
12049
|
:host {
|
|
12046
12050
|
display: table-row-group;
|
|
12047
12051
|
}
|
|
@@ -12077,7 +12081,7 @@ let Li = class extends _ {
|
|
|
12077
12081
|
}
|
|
12078
12082
|
};
|
|
12079
12083
|
Li.styles = [
|
|
12080
|
-
|
|
12084
|
+
x`
|
|
12081
12085
|
:host {
|
|
12082
12086
|
display: contents;
|
|
12083
12087
|
}
|
|
@@ -12098,7 +12102,7 @@ let Ei = class extends _ {
|
|
|
12098
12102
|
}
|
|
12099
12103
|
};
|
|
12100
12104
|
Ei.styles = [
|
|
12101
|
-
|
|
12105
|
+
x`
|
|
12102
12106
|
:host {
|
|
12103
12107
|
display: table-caption;
|
|
12104
12108
|
font-size: 0.75rem;
|
|
@@ -12136,7 +12140,7 @@ let te = class extends _ {
|
|
|
12136
12140
|
te.styles = [
|
|
12137
12141
|
ps,
|
|
12138
12142
|
Mt,
|
|
12139
|
-
|
|
12143
|
+
x`
|
|
12140
12144
|
:host {
|
|
12141
12145
|
--sc-table-fw: var(--sc-font-weight-base, 400);
|
|
12142
12146
|
--sc-table-fst: var(--sc-font-style-base, normal);
|