@supersoniks/concorde 3.1.56 → 3.1.58

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.
Files changed (175) hide show
  1. package/build-infos.json +1 -1
  2. package/concorde-core.bundle.js +54 -41
  3. package/concorde-core.es.js +310 -269
  4. package/dist/concorde-core.bundle.js +54 -41
  5. package/dist/concorde-core.es.js +310 -269
  6. package/docs/assets/index-D9bBwsCn.js +4537 -0
  7. package/docs/assets/index-DCRPZO3x.css +1 -0
  8. package/docs/css/docs.css +0 -0
  9. package/docs/fonts/ClashGrotesk-Bold.eot +0 -0
  10. package/docs/fonts/ClashGrotesk-Bold.ttf +0 -0
  11. package/docs/fonts/ClashGrotesk-Bold.woff +0 -0
  12. package/docs/fonts/ClashGrotesk-Bold.woff2 +0 -0
  13. package/docs/fonts/ClashGrotesk-Extralight.eot +0 -0
  14. package/docs/fonts/ClashGrotesk-Extralight.ttf +0 -0
  15. package/docs/fonts/ClashGrotesk-Extralight.woff +0 -0
  16. package/docs/fonts/ClashGrotesk-Extralight.woff2 +0 -0
  17. package/docs/fonts/ClashGrotesk-Light.eot +0 -0
  18. package/docs/fonts/ClashGrotesk-Light.ttf +0 -0
  19. package/docs/fonts/ClashGrotesk-Light.woff +0 -0
  20. package/docs/fonts/ClashGrotesk-Light.woff2 +0 -0
  21. package/docs/fonts/ClashGrotesk-Medium.eot +0 -0
  22. package/docs/fonts/ClashGrotesk-Medium.ttf +0 -0
  23. package/docs/fonts/ClashGrotesk-Medium.woff +0 -0
  24. package/docs/fonts/ClashGrotesk-Medium.woff2 +0 -0
  25. package/docs/fonts/ClashGrotesk-Regular.eot +0 -0
  26. package/docs/fonts/ClashGrotesk-Regular.ttf +0 -0
  27. package/docs/fonts/ClashGrotesk-Regular.woff +0 -0
  28. package/docs/fonts/ClashGrotesk-Regular.woff2 +0 -0
  29. package/docs/fonts/ClashGrotesk-Semibold.eot +0 -0
  30. package/docs/fonts/ClashGrotesk-Semibold.ttf +0 -0
  31. package/docs/fonts/ClashGrotesk-Semibold.woff +0 -0
  32. package/docs/fonts/ClashGrotesk-Semibold.woff2 +0 -0
  33. package/docs/fonts/ClashGrotesk-Variable.eot +0 -0
  34. package/docs/fonts/ClashGrotesk-Variable.ttf +0 -0
  35. package/docs/fonts/ClashGrotesk-Variable.woff +0 -0
  36. package/docs/fonts/ClashGrotesk-Variable.woff2 +0 -0
  37. package/docs/img/concorde-icon.svg +5 -0
  38. package/docs/img/concorde-logo.svg +1 -0
  39. package/docs/img/concorde.png +0 -0
  40. package/docs/img/concorde_def.png +0 -0
  41. package/docs/img/concorde_seuil.png.webp +0 -0
  42. package/docs/img/concorde_seuil_invert.png +0 -0
  43. package/docs/img/paul_metrand.jpg +0 -0
  44. package/docs/img/paul_metrand_xs.jpg +0 -0
  45. package/docs/index.html +93 -0
  46. package/docs/src/core/components/functional/date/date.md +290 -0
  47. package/docs/src/core/components/functional/fetch/fetch.md +117 -0
  48. package/docs/src/core/components/functional/if/if.md +16 -0
  49. package/docs/src/core/components/functional/list/list.md +199 -0
  50. package/docs/src/core/components/functional/mix/mix.md +41 -0
  51. package/docs/src/core/components/functional/queue/queue.md +87 -0
  52. package/docs/src/core/components/functional/router/router.md +108 -0
  53. package/docs/src/core/components/functional/sdui/default-library.json +108 -0
  54. package/docs/src/core/components/functional/sdui/example.json +99 -0
  55. package/docs/src/core/components/functional/sdui/sdui.md +356 -0
  56. package/docs/src/core/components/functional/states/states.md +87 -0
  57. package/docs/src/core/components/functional/submit/submit.md +83 -0
  58. package/docs/src/core/components/functional/subscriber/subscriber.md +91 -0
  59. package/docs/src/core/components/functional/value/value.md +35 -0
  60. package/docs/src/core/components/ui/alert/alert.md +121 -0
  61. package/docs/src/core/components/ui/alert-messages/alert-messages.md +0 -0
  62. package/docs/src/core/components/ui/badge/badge.md +127 -0
  63. package/docs/src/core/components/ui/button/button.md +182 -0
  64. package/docs/src/core/components/ui/captcha/captcha.md +12 -0
  65. package/docs/src/core/components/ui/card/card.md +97 -0
  66. package/docs/src/core/components/ui/divider/divider.md +35 -0
  67. package/docs/src/core/components/ui/form/checkbox/checkbox.md +94 -0
  68. package/docs/src/core/components/ui/form/fieldset/fieldset.md +129 -0
  69. package/docs/src/core/components/ui/form/form-actions/form-actions.md +77 -0
  70. package/docs/src/core/components/ui/form/form-layout/form-layout.md +44 -0
  71. package/docs/src/core/components/ui/form/input/input.md +167 -0
  72. package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +130 -0
  73. package/docs/src/core/components/ui/form/radio/radio.md +84 -0
  74. package/docs/src/core/components/ui/form/select/select.md +97 -0
  75. package/docs/src/core/components/ui/form/switch/switch.md +84 -0
  76. package/docs/src/core/components/ui/form/textarea/textarea.md +65 -0
  77. package/docs/src/core/components/ui/group/group.md +75 -0
  78. package/docs/src/core/components/ui/icon/icon.md +125 -0
  79. package/docs/src/core/components/ui/icon/icons.json +1 -0
  80. package/docs/src/core/components/ui/image/image.md +107 -0
  81. package/docs/src/core/components/ui/link/link.md +43 -0
  82. package/docs/src/core/components/ui/loader/loader.md +67 -0
  83. package/docs/src/core/components/ui/menu/menu.md +288 -0
  84. package/docs/src/core/components/ui/modal/modal.md +123 -0
  85. package/docs/src/core/components/ui/pop/pop.md +79 -0
  86. package/docs/src/core/components/ui/progress/progress.md +63 -0
  87. package/docs/src/core/components/ui/table/table.md +455 -0
  88. package/docs/src/core/components/ui/tooltip/tooltip.md +82 -0
  89. package/docs/src/docs/_core-concept/overview.md +57 -0
  90. package/docs/src/docs/_core-concept/subscriber.md +76 -0
  91. package/docs/src/docs/_getting-started/concorde-outside.md +143 -0
  92. package/docs/src/docs/_getting-started/create-a-component.md +137 -0
  93. package/docs/src/docs/_getting-started/my-first-subscriber.md +174 -0
  94. package/docs/src/docs/_getting-started/pubsub.md +150 -0
  95. package/docs/src/docs/_getting-started/start.md +39 -0
  96. package/docs/src/docs/_getting-started/theming.md +91 -0
  97. package/docs/src/docs/search/docs-search.json +3902 -0
  98. package/docs/src/tag-list.json +1 -0
  99. package/docs/src/tsconfig-model.json +23 -0
  100. package/docs/src/tsconfig.json +835 -0
  101. package/docs/svg/regular/plane.svg +1 -0
  102. package/docs/svg/solid/plane.svg +1 -0
  103. package/index.html +0 -0
  104. package/package.json +1 -1
  105. package/php/get-challenge.php +34 -0
  106. package/php/some-service.php +42 -0
  107. package/scripts/create-search.js +0 -0
  108. package/src/core/components/functional/date/date.ts +0 -0
  109. package/src/core/components/functional/functional.ts +0 -0
  110. package/src/core/components/functional/list/list.ts +72 -2
  111. package/src/core/components/functional/queue/queue.ts +19 -11
  112. package/src/core/components/functional/submit/submit.ts +0 -0
  113. package/src/core/components/functional/translation/translation.ts +0 -0
  114. package/src/core/components/ui/_css/scroll.ts +0 -0
  115. package/src/core/components/ui/_css/shadow.ts +0 -0
  116. package/src/core/components/ui/_css/size.ts +0 -0
  117. package/src/core/components/ui/_css/type.ts +0 -0
  118. package/src/core/components/ui/alert/alert.ts +0 -0
  119. package/src/core/components/ui/alert-messages/alert-messages.md +0 -0
  120. package/src/core/components/ui/button/button.ts +0 -0
  121. package/src/core/components/ui/captcha/captcha.md +0 -0
  122. package/src/core/components/ui/card/card-footer.ts +0 -0
  123. package/src/core/components/ui/card/card-header-descripton.ts +0 -0
  124. package/src/core/components/ui/card/card-header.ts +0 -0
  125. package/src/core/components/ui/card/card-main.ts +0 -0
  126. package/src/core/components/ui/card/card.md +0 -0
  127. package/src/core/components/ui/card/card.ts +0 -0
  128. package/src/core/components/ui/divider/divider.ts +0 -0
  129. package/src/core/components/ui/form/checkbox/checkbox.ts +0 -0
  130. package/src/core/components/ui/form/css/form-control.ts +8 -0
  131. package/src/core/components/ui/form/fieldset/legend-description.ts +0 -0
  132. package/src/core/components/ui/form/fieldset/legend.ts +0 -0
  133. package/src/core/components/ui/form/input/input.md +0 -0
  134. package/src/core/components/ui/form/input/input.ts +7 -0
  135. package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +0 -0
  136. package/src/core/components/ui/form/radio/radio.ts +0 -0
  137. package/src/core/components/ui/form/select/select.ts +0 -0
  138. package/src/core/components/ui/form/switch/switch.md +0 -0
  139. package/src/core/components/ui/form/textarea/textarea.ts +0 -0
  140. package/src/core/components/ui/icon/icons.ts +0 -0
  141. package/src/core/components/ui/loader/loader.md +0 -0
  142. package/src/core/components/ui/loader/loader.ts +0 -0
  143. package/src/core/components/ui/loader/styles/fixed.ts +0 -0
  144. package/src/core/components/ui/loader/styles/inline.ts +0 -0
  145. package/src/core/components/ui/modal/modal-actions.ts +0 -0
  146. package/src/core/components/ui/modal/modal-subtitle.ts +0 -0
  147. package/src/core/components/ui/modal/modal-title.ts +0 -0
  148. package/src/core/components/ui/modal/modal.md +0 -0
  149. package/src/core/components/ui/modal/modal.ts +0 -0
  150. package/src/core/components/ui/pop/pop.ts +0 -0
  151. package/src/core/components/ui/progress/progress.ts +0 -0
  152. package/src/core/components/ui/table/table-tbody.ts +0 -0
  153. package/src/core/components/ui/table/table-th.ts +0 -0
  154. package/src/core/components/ui/table/table.ts +0 -0
  155. package/src/core/components/ui/theme/theme-collection/core-variables.ts +0 -0
  156. package/src/core/components/ui/theme/theme-collection/light.ts +0 -0
  157. package/src/core/components/ui/theme/theme.ts +0 -0
  158. package/src/core/components/ui/toast/toast-item.ts +0 -0
  159. package/src/core/components/ui/tooltip/tooltip.ts +0 -0
  160. package/src/core/components/ui/ui.ts +0 -0
  161. package/src/core/directives/DataProvider.ts +0 -0
  162. package/src/core/directives/Wording.ts +0 -0
  163. package/src/core/mixins/Fetcher.ts +30 -24
  164. package/src/core/mixins/FormElement.ts +0 -0
  165. package/src/core/mixins/Subscriber.ts +0 -0
  166. package/src/core/utils/Utils.ts +0 -0
  167. package/src/docs/header/header.ts +0 -0
  168. package/src/docs/layout.ts +0 -0
  169. package/src/docs/navigation/navigation.ts +0 -0
  170. package/src/docs/search/docs-search.json +0 -0
  171. package/src/docs/search/search.ts +0 -0
  172. package/src/docs/tailwind/css/tailwind.css +0 -0
  173. package/src/index.ts +0 -0
  174. package/tailwind.config.js +0 -0
  175. package/vite.config.mts +0 -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 Jan 24 2025 10:56:46 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);
559
+ }, k.buildDate = "Tue Feb 11 2025 15:32:56 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;
@@ -1775,26 +1775,26 @@ const ro = Pe(an), ln = ro, cn = ro, hn = (r) => {
1775
1775
  }, dn = oo, no = oo, pn = (r, t) => {
1776
1776
  var s;
1777
1777
  (s = Ws(r).values().next().value) == null || s.set(t);
1778
- }, F = class F {
1778
+ }, z = class z {
1779
1779
  constructor(t) {
1780
1780
  this.addHTTPResponse = !1, this.cache = "default", this.isServiceSimulated = !1, this.blockUntilDone = !1, this.serviceURL = t.serviceURL, this.blockUntilDone = t.blockUntilDone || !1, this.serviceURL == "publisher://" && (this.isServiceSimulated = !0), this.serviceURL || (this.serviceURL = document.location.origin), this.userName = t.userName, this.password = t.password, t.token && (this.token = t.token), this.tokenProvider = t.tokenProvider, this.authToken = t.authToken, this.addHTTPResponse = t.addHTTPResponse || !1, this.credentials = t.credentials, this.cache = t.cache || "default";
1781
1781
  }
1782
1782
  set token(t) {
1783
1783
  if (this._token = t, !t) {
1784
- F.tokens.delete(this.serviceURL);
1784
+ z.tokens.delete(this.serviceURL);
1785
1785
  return;
1786
1786
  }
1787
- F.invalidTokens.includes(t) || F.tokens.set(this.serviceURL, t);
1787
+ z.invalidTokens.includes(t) || z.tokens.set(this.serviceURL, t);
1788
1788
  }
1789
1789
  get token() {
1790
- return F.invalidTokens.includes(this._token) ? F.tokens.get(this.serviceURL) : this._token;
1790
+ return z.invalidTokens.includes(this._token) ? z.tokens.get(this.serviceURL) : this._token;
1791
1791
  }
1792
1792
  handleInvalidToken(t) {
1793
- t && (F.invalidTokens.includes(t) || (F.invalidTokens.push(t), this.token = null));
1793
+ t && (z.invalidTokens.includes(t) || (z.invalidTokens.push(t), this.token = null));
1794
1794
  }
1795
1795
  async handleResult(t, s) {
1796
1796
  var a;
1797
- F.firstCallDoneFlags.set(this.serviceURL, "done"), this.lastResult = t;
1797
+ z.firstCallDoneFlags.set(this.serviceURL, "done"), this.lastResult = t;
1798
1798
  const i = (a = t.headers.get("content-type")) == null ? void 0 : a.toLowerCase(), e = t.status;
1799
1799
  let o = {};
1800
1800
  if (!i || i.indexOf("text/") == 0)
@@ -1805,7 +1805,7 @@ const ro = Pe(an), ln = ro, cn = ro, hn = (r) => {
1805
1805
  } catch {
1806
1806
  o = {};
1807
1807
  }
1808
- 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](
1808
+ this.addHTTPResponse && tt.isObject(o) && (o._sonic_http_response_ = t), e === 498 && !z.failledTokenUpdates.has(this.serviceURL) && (this.handleInvalidToken(this.token), s.apiMethod === "get" ? o = await this[s.apiMethod](
1809
1809
  s.path,
1810
1810
  s.additionalHeaders
1811
1811
  ) : o = await this[s.apiMethod](
@@ -1825,8 +1825,8 @@ const ro = Pe(an), ln = ro, cn = ro, hn = (r) => {
1825
1825
  */
1826
1826
  async auth() {
1827
1827
  if (this.token) return;
1828
- if (F.tokens.has(this.serviceURL)) {
1829
- this.token = F.tokens.get(this.serviceURL);
1828
+ if (z.tokens.has(this.serviceURL)) {
1829
+ this.token = z.tokens.get(this.serviceURL);
1830
1830
  return;
1831
1831
  }
1832
1832
  if (!this.tokenProvider) return;
@@ -1849,9 +1849,9 @@ const ro = Pe(an), ln = ro, cn = ro, hn = (r) => {
1849
1849
  );
1850
1850
  try {
1851
1851
  const o = await e.json();
1852
- o.token ? this.token = o.token : F.failledTokenUpdates.set(this.serviceURL, !0);
1852
+ o.token ? this.token = o.token : z.failledTokenUpdates.set(this.serviceURL, !0);
1853
1853
  } catch {
1854
- F.failledTokenUpdates.set(this.serviceURL, !0);
1854
+ z.failledTokenUpdates.set(this.serviceURL, !0);
1855
1855
  }
1856
1856
  }
1857
1857
  /**
@@ -1890,12 +1890,12 @@ const ro = Pe(an), ln = ro, cn = ro, hn = (r) => {
1890
1890
  */
1891
1891
  firstCallDone() {
1892
1892
  return new Promise((t) => {
1893
- if (!F.firstCallDoneFlags.has(this.serviceURL))
1894
- F.firstCallDoneFlags.set(this.serviceURL, "loading"), t(!0);
1893
+ if (!z.firstCallDoneFlags.has(this.serviceURL))
1894
+ z.firstCallDoneFlags.set(this.serviceURL, "loading"), t(!0);
1895
1895
  else {
1896
1896
  const s = () => {
1897
1897
  [void 0, "loading"].includes(
1898
- F.firstCallDoneFlags.get(this.serviceURL)
1898
+ z.firstCallDoneFlags.get(this.serviceURL)
1899
1899
  ) ? window.requestAnimationFrame(s) : t(!0);
1900
1900
  };
1901
1901
  s();
@@ -1903,7 +1903,7 @@ const ro = Pe(an), ln = ro, cn = ro, hn = (r) => {
1903
1903
  });
1904
1904
  }
1905
1905
  async get(t, s) {
1906
- await this.firstCallDone(), this.blockUntilDone && F.firstCallDoneFlags.set(this.serviceURL, "loading");
1906
+ await this.firstCallDone(), this.blockUntilDone && z.firstCallDoneFlags.set(this.serviceURL, "loading");
1907
1907
  const i = /dataProvider\((.*?)\)(.*?)$/;
1908
1908
  if (i.test(t)) {
1909
1909
  const h = t.match(i);
@@ -1918,7 +1918,7 @@ const ro = Pe(an), ln = ro, cn = ro, hn = (r) => {
1918
1918
  url: n,
1919
1919
  headers: o
1920
1920
  });
1921
- if (!F.loadingGetPromises.has(a)) {
1921
+ if (!z.loadingGetPromises.has(a)) {
1922
1922
  const h = new Promise(async (d) => {
1923
1923
  try {
1924
1924
  const p = await fetch(n, {
@@ -1931,10 +1931,10 @@ const ro = Pe(an), ln = ro, cn = ro, hn = (r) => {
1931
1931
  d(null);
1932
1932
  }
1933
1933
  });
1934
- F.loadingGetPromises.set(a, h);
1934
+ z.loadingGetPromises.set(a, h);
1935
1935
  }
1936
- const c = await F.loadingGetPromises.get(a);
1937
- return F.loadingGetPromises.delete(a), c;
1936
+ const c = await z.loadingGetPromises.get(a);
1937
+ return z.loadingGetPromises.delete(a), c;
1938
1938
  }
1939
1939
  /**
1940
1940
  * Création du header, avec authentification si besoin
@@ -2023,8 +2023,8 @@ const ro = Pe(an), ln = ro, cn = ro, hn = (r) => {
2023
2023
  return this.send(t, s, "delete", i);
2024
2024
  }
2025
2025
  };
2026
- F.loadingGetPromises = /* @__PURE__ */ new Map(), F.tokens = /* @__PURE__ */ new Map(), F.invalidTokens = [], F.failledTokenUpdates = /* @__PURE__ */ new Map(), F.firstCallDoneFlags = /* @__PURE__ */ new Map();
2027
- let Ne = F;
2026
+ z.loadingGetPromises = /* @__PURE__ */ new Map(), z.tokens = /* @__PURE__ */ new Map(), z.invalidTokens = [], z.failledTokenUpdates = /* @__PURE__ */ new Map(), z.firstCallDoneFlags = /* @__PURE__ */ new Map();
2027
+ let Ne = z;
2028
2028
  J.getApiConfiguration(
2029
2029
  document.body || document.documentElement
2030
2030
  );
@@ -2050,7 +2050,7 @@ let ui = class extends Ie {
2050
2050
  }
2051
2051
  };
2052
2052
  ui.directiveName = "unsafeHTML", ui.resultType = 1;
2053
- const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
2053
+ const R = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
2054
2054
  if (!r) return null;
2055
2055
  const t = J.getApiConfiguration(r), s = J.getAncestorAttributeValue(
2056
2056
  r,
@@ -2078,27 +2078,27 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
2078
2078
  wordingVersionProvider: i,
2079
2079
  apiCallKey: e
2080
2080
  }, fi.set(e, o)), o;
2081
- }, vr = "", H = class H extends io {
2081
+ }, vr = "", B = class B extends io {
2082
2082
  /* eslint-disable @typescript-eslint/no-explicit-any*/
2083
2083
  constructor(t) {
2084
2084
  super(t), this.useUnsafeHTML = !1, this.onAssign = (s) => {
2085
- const i = this.useUnsafeHTML ? z(s) : s;
2085
+ const i = this.useUnsafeHTML ? R(s) : s;
2086
2086
  this.setValue(i);
2087
2087
  }, this.node = t.options.host;
2088
2088
  }
2089
2089
  unsubscribe() {
2090
- H.publisher["wording_" + this.key].offAssign(this.onAssign);
2090
+ B.publisher["wording_" + this.key].offAssign(this.onAssign);
2091
2091
  }
2092
2092
  /* eslint-enable @typescript-eslint/no-explicit-any*/
2093
2093
  render(t, s = !1) {
2094
2094
  return this.useUnsafeHTML = s, this.key !== t && (this.key = t, this.isConnected && this.subscribe(t)), _t;
2095
2095
  }
2096
2096
  static async callApi(t, s, i = !0, e) {
2097
- if (await T.getInstance().isLocalStrorageReady, H.firstCall) {
2098
- H.firstCall = !1, Ni(H.reloadWordings);
2099
- const d = Object.keys(H.publisher.get());
2097
+ if (await T.getInstance().isLocalStrorageReady, B.firstCall) {
2098
+ B.firstCall = !1, Ni(B.reloadWordings);
2099
+ const d = Object.keys(B.publisher.get());
2100
2100
  for (const p of d)
2101
- H.publisher.get()[p] === vr && delete H.publisher[p];
2101
+ B.publisher.get()[p] === vr && delete B.publisher[p];
2102
2102
  }
2103
2103
  if (t) {
2104
2104
  const d = J.getAncestorAttributeValue(
@@ -2106,10 +2106,10 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
2106
2106
  "wordingVersionProvider"
2107
2107
  );
2108
2108
  d && no(d).onAssign(
2109
- H.handleVersionProvider(t)
2109
+ B.handleVersionProvider(t)
2110
2110
  );
2111
2111
  }
2112
- let o = H.publisher.get()["wording_" + s] != null;
2112
+ let o = B.publisher.get()["wording_" + s] != null;
2113
2113
  const n = e || br(t);
2114
2114
  if (!n) return;
2115
2115
  if (o && s !== "") {
@@ -2120,13 +2120,13 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
2120
2120
  const a = n.callIndex, c = n.wordingProvider ?? "";
2121
2121
  if (!c && i) {
2122
2122
  window.setTimeout(async () => {
2123
- H.callApi(null, s, !1, n);
2123
+ B.callApi(null, s, !1, n);
2124
2124
  }, 1e3);
2125
2125
  return;
2126
2126
  }
2127
2127
  const h = n.api;
2128
2128
  window.queueMicrotask(async () => {
2129
- if (o = H.publisher["wording_" + s].get() != null, !o && s !== "" && (n.keysToTranslate.add(s), H.publisher["wording_" + s] = vr), a !== n.callIndex) return;
2129
+ if (o = B.publisher["wording_" + s].get() != null, !o && s !== "" && (n.keysToTranslate.add(s), B.publisher["wording_" + s] = vr), a !== n.callIndex) return;
2130
2130
  const d = Array.from(n.keysToTranslate);
2131
2131
  if (!d.length) return;
2132
2132
  const p = c.split("?"), g = p.shift(), b = (p.length > 0 ? p.join("?") + "&" : "") + "labels[]=" + d.join("&labels[]="), v = g + "?" + b;
@@ -2136,23 +2136,23 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
2136
2136
  ]), n.keysToTranslate.clear();
2137
2137
  const P = await h.get(v);
2138
2138
  for (const S in P)
2139
- H.publisher["wording_" + S] = P[S];
2139
+ B.publisher["wording_" + S] = P[S];
2140
2140
  });
2141
2141
  }
2142
2142
  static reloadWordings() {
2143
2143
  for (const t of fi.values())
2144
- t.keysToTranslate = new Set(t.translatedKeys), t.keysToTranslate.size > 0 && H.callApi(null, "", !1, t);
2144
+ t.keysToTranslate = new Set(t.translatedKeys), t.keysToTranslate.size > 0 && B.callApi(null, "", !1, t);
2145
2145
  }
2146
2146
  //check if the wording version has changed
2147
2147
  static handleVersionProvider(t) {
2148
2148
  const s = br(t), i = (o) => {
2149
2149
  };
2150
2150
  if (!s) return i;
2151
- if (H.versionProviderHandlers.has(s))
2152
- return H.versionProviderHandlers.get(s) || i;
2151
+ if (B.versionProviderHandlers.has(s))
2152
+ return B.versionProviderHandlers.get(s) || i;
2153
2153
  const e = function(o) {
2154
2154
  if (!s.wordingVersionProvider) return;
2155
- const a = H.publisher.get().__wording_versions__ ?? [];
2155
+ const a = B.publisher.get().__wording_versions__ ?? [];
2156
2156
  if (o == null) return;
2157
2157
  const c = a.find(
2158
2158
  (h) => h.serviceURL === s.api.serviceURL
@@ -2160,9 +2160,9 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
2160
2160
  serviceURL: s.api.serviceURL,
2161
2161
  version: 0
2162
2162
  };
2163
- a.includes(c) || a.push(c), o !== c.version && (c.version = o, H.publisher.set({ __wording_versions__: a }), H.reloadWordings());
2163
+ a.includes(c) || a.push(c), o !== c.version && (c.version = o, B.publisher.set({ __wording_versions__: a }), B.reloadWordings());
2164
2164
  };
2165
- return H.versionProviderHandlers.set(
2165
+ return B.versionProviderHandlers.set(
2166
2166
  s,
2167
2167
  e
2168
2168
  ), e;
@@ -2170,7 +2170,7 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
2170
2170
  // Subscribes to the key, calling the directive's asynchronous
2171
2171
  // setValue API each time the value changes
2172
2172
  subscribe(t) {
2173
- this.unsubscribe(), H.publisher["wording_" + t].onAssign(this.onAssign), H.callApi(this.node, t);
2173
+ this.unsubscribe(), B.publisher["wording_" + t].onAssign(this.onAssign), B.callApi(this.node, t);
2174
2174
  }
2175
2175
  // When the directive is disconnected from the DOM, unsubscribe to ensure
2176
2176
  // the directive instance can be garbage collected
@@ -2183,10 +2183,10 @@ const z = Pe(ui), fi = /* @__PURE__ */ new Map(), br = (r) => {
2183
2183
  this.key && this.subscribe(this.key);
2184
2184
  }
2185
2185
  };
2186
- H.publisher = T.get("sonic-wording", {
2186
+ B.publisher = T.get("sonic-wording", {
2187
2187
  localStorageMode: "enabled"
2188
- }), H.firstCall = !0, H.versionProviderHandlers = /* @__PURE__ */ new Map();
2189
- let Le = H;
2188
+ }), B.firstCall = !0, B.versionProviderHandlers = /* @__PURE__ */ new Map();
2189
+ let Le = B;
2190
2190
  const un = Pe(Le), fn = un;
2191
2191
  var mn = Object.defineProperty, gn = Object.getOwnPropertyDescriptor, Dt = (r, t, s, i) => {
2192
2192
  for (var e = i > 1 ? void 0 : i ? gn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
@@ -2394,13 +2394,13 @@ var yn = Object.defineProperty, _n = Object.getOwnPropertyDescriptor, Z = (r, t,
2394
2394
  return i && e && yn(t, s, e), e;
2395
2395
  };
2396
2396
  const wn = "sonic-date";
2397
- Ni(() => R.updateComponentsLanguage());
2398
- let R = class extends G(cs(_)) {
2397
+ Ni(() => U.updateComponentsLanguage());
2398
+ let U = class extends G(cs(_)) {
2399
2399
  constructor() {
2400
2400
  super(...arguments), this.pageLanguage = "fr", this.duAu = [], this._wording_billet_periode_validite = "", this.designMode = null, this.time_zone = null, this.date = null, this.date_string = null, this.start_date_string = null, this.end_date_string = null, this.start_date = 0, this.computedStartDate = 0, this.end_date = 0, this.computedEndDate = 0, this.hide_hours = !1, this.era = "", this.year = "numeric", this.month = "short", this.day = "2-digit", this.weekday = "short", this.hour = "2-digit", this.hour12 = !1, this.minute = "2-digit", this.language = "", this.renderIf = !0, this.now = !1, this.startDateObject = /* @__PURE__ */ new Date(), this.endDateObject = /* @__PURE__ */ new Date();
2401
2401
  }
2402
2402
  static updateComponentsLanguage() {
2403
- R.dateCompnents.forEach(
2403
+ U.dateCompnents.forEach(
2404
2404
  (r) => r.pageLanguage = J.getLanguage()
2405
2405
  );
2406
2406
  }
@@ -2412,10 +2412,10 @@ let R = class extends G(cs(_)) {
2412
2412
  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();
2413
2413
  }
2414
2414
  connectedCallback() {
2415
- 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();
2415
+ this.hasAttribute("wording_billet_periode_validite") || (this.wording_billet_periode_validite = "Du %s au %s"), this.pageLanguage = J.getLanguage(), U.dateCompnents.add(this), super.connectedCallback();
2416
2416
  }
2417
2417
  disconnectedCallback() {
2418
- super.disconnectedCallback(), R.dateCompnents.delete(this);
2418
+ super.disconnectedCallback(), U.dateCompnents.delete(this);
2419
2419
  }
2420
2420
  /**
2421
2421
  * Retourne un tableau des différentes parties de la date en fonction des options données, de la date de début et de fin.
@@ -2472,7 +2472,7 @@ let R = class extends G(cs(_)) {
2472
2472
  this.computedEndDate,
2473
2473
  r
2474
2474
  );
2475
- return z(
2475
+ return R(
2476
2476
  `${t.map((s) => {
2477
2477
  const i = this.templateParts[s.type];
2478
2478
  if (i) {
@@ -2485,73 +2485,73 @@ let R = class extends G(cs(_)) {
2485
2485
  );
2486
2486
  }
2487
2487
  };
2488
- R.dateCompnents = /* @__PURE__ */ new Set();
2488
+ U.dateCompnents = /* @__PURE__ */ new Set();
2489
2489
  Z([
2490
2490
  l()
2491
- ], R.prototype, "wording_billet_periode_validite", 1);
2491
+ ], U.prototype, "wording_billet_periode_validite", 1);
2492
2492
  Z([
2493
2493
  l({ type: Boolean })
2494
- ], R.prototype, "designMode", 2);
2494
+ ], U.prototype, "designMode", 2);
2495
2495
  Z([
2496
2496
  l({ type: String })
2497
- ], R.prototype, "time_zone", 2);
2497
+ ], U.prototype, "time_zone", 2);
2498
2498
  Z([
2499
2499
  l({ type: Number })
2500
- ], R.prototype, "date", 2);
2500
+ ], U.prototype, "date", 2);
2501
2501
  Z([
2502
2502
  l({ type: String })
2503
- ], R.prototype, "date_string", 2);
2503
+ ], U.prototype, "date_string", 2);
2504
2504
  Z([
2505
2505
  l({ type: String })
2506
- ], R.prototype, "start_date_string", 2);
2506
+ ], U.prototype, "start_date_string", 2);
2507
2507
  Z([
2508
2508
  l({ type: String })
2509
- ], R.prototype, "end_date_string", 2);
2509
+ ], U.prototype, "end_date_string", 2);
2510
2510
  Z([
2511
2511
  l({ type: Number })
2512
- ], R.prototype, "start_date", 2);
2512
+ ], U.prototype, "start_date", 2);
2513
2513
  Z([
2514
2514
  l({ type: Number })
2515
- ], R.prototype, "end_date", 2);
2515
+ ], U.prototype, "end_date", 2);
2516
2516
  Z([
2517
2517
  l({ type: Boolean })
2518
- ], R.prototype, "hide_hours", 2);
2518
+ ], U.prototype, "hide_hours", 2);
2519
2519
  Z([
2520
2520
  l({ type: String })
2521
- ], R.prototype, "era", 2);
2521
+ ], U.prototype, "era", 2);
2522
2522
  Z([
2523
2523
  l({ type: String })
2524
- ], R.prototype, "year", 2);
2524
+ ], U.prototype, "year", 2);
2525
2525
  Z([
2526
2526
  l({ type: String })
2527
- ], R.prototype, "month", 2);
2527
+ ], U.prototype, "month", 2);
2528
2528
  Z([
2529
2529
  l({ type: String })
2530
- ], R.prototype, "day", 2);
2530
+ ], U.prototype, "day", 2);
2531
2531
  Z([
2532
2532
  l({ type: String })
2533
- ], R.prototype, "weekday", 2);
2533
+ ], U.prototype, "weekday", 2);
2534
2534
  Z([
2535
2535
  l({ type: String })
2536
- ], R.prototype, "hour", 2);
2536
+ ], U.prototype, "hour", 2);
2537
2537
  Z([
2538
2538
  l({ type: Boolean })
2539
- ], R.prototype, "hour12", 2);
2539
+ ], U.prototype, "hour12", 2);
2540
2540
  Z([
2541
2541
  l({ type: String })
2542
- ], R.prototype, "minute", 2);
2542
+ ], U.prototype, "minute", 2);
2543
2543
  Z([
2544
2544
  l({ type: String })
2545
- ], R.prototype, "language", 2);
2545
+ ], U.prototype, "language", 2);
2546
2546
  Z([
2547
2547
  l({ type: Boolean })
2548
- ], R.prototype, "renderIf", 2);
2548
+ ], U.prototype, "renderIf", 2);
2549
2549
  Z([
2550
2550
  l({ type: Boolean })
2551
- ], R.prototype, "now", 2);
2552
- R = Z([
2551
+ ], U.prototype, "now", 2);
2552
+ U = Z([
2553
2553
  w(wn)
2554
- ], R);
2554
+ ], U);
2555
2555
  var t, K;
2556
2556
  let ot = (K = class {
2557
2557
  static listen() {
@@ -2972,9 +2972,9 @@ var mi = { exports: {} };
2972
2972
  }, P = function(u) {
2973
2973
  return new RegExp(u.toString() + "|").exec("").length - 1;
2974
2974
  }, b = function(u, f) {
2975
- var y, C, O, E, V;
2975
+ var y, C, O, E, H;
2976
2976
  for (E = {}, y = -1, O = u.length; ++y < O; )
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);
2977
+ C = u[y], H = f[y], H != null && (E[C] != null ? (Array.isArray(E[C]) || (E[C] = [E[C]]), E[C].push(H)) : E[C] = H);
2978
2978
  return E;
2979
2979
  }, i = {}, i.Result = function(u, f) {
2980
2980
  this.value = u, this.rest = f;
@@ -2995,11 +2995,11 @@ var mi = { exports: {} };
2995
2995
  }, i.sequence = function() {
2996
2996
  var u;
2997
2997
  return u = 1 <= arguments.length ? s.call(arguments, 0) : [], function(f) {
2998
- var y, C, O, E, V, W;
2998
+ var y, C, O, E, H, W;
2999
2999
  for (y = -1, C = u.length, W = [], E = f; ++y < C; ) {
3000
- if (O = u[y], V = O(E), V == null)
3000
+ if (O = u[y], H = O(E), H == null)
3001
3001
  return;
3002
- W.push(V.value), E = V.rest;
3002
+ W.push(H.value), E = H.rest;
3003
3003
  }
3004
3004
  return new i.Result(W, E);
3005
3005
  };
@@ -3022,9 +3022,9 @@ var mi = { exports: {} };
3022
3022
  return f == null && (f = u()), f(y);
3023
3023
  };
3024
3024
  }, i.baseMany = function(u, f, y, C, O) {
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
+ var E, H, W, St;
3026
+ for (W = O, St = y ? "" : []; !(f != null && (E = f(W), E != null) || (H = u(W), H == null)); )
3027
+ y ? St += H.value : St.push(H.value), W = H.rest;
3028
3028
  if (!(C && St.length === 0))
3029
3029
  return new i.Result(St, W);
3030
3030
  }, i.many1 = function(u) {
@@ -3095,7 +3095,7 @@ var mi = { exports: {} };
3095
3095
  return n(u.value);
3096
3096
  }
3097
3097
  }, g = function(u, f, y, C) {
3098
- var O, E, V, W;
3098
+ var O, E, H, W;
3099
3099
  if (C == null && (C = !1), W = u[f], W == null) {
3100
3100
  if (C)
3101
3101
  throw new Error("no values provided for key `" + f + "`");
@@ -3106,7 +3106,7 @@ var mi = { exports: {} };
3106
3106
  throw new Error("too few values provided for key `" + f + "`");
3107
3107
  return;
3108
3108
  }
3109
- return V = Array.isArray(W) ? W[O] : W, C && (y[f] = O + 1), V;
3109
+ return H = Array.isArray(W) ? W[O] : W, C && (y[f] = O + 1), H;
3110
3110
  }, o = function(u, f, y) {
3111
3111
  var C, O;
3112
3112
  if (Array.isArray(u)) {
@@ -3141,7 +3141,7 @@ var mi = { exports: {} };
3141
3141
  return o(u.value, f, y) ? D(u.value, f, y) : "";
3142
3142
  }
3143
3143
  }, e = function(u, f) {
3144
- var y, C, O, E, V;
3144
+ var y, C, O, E, H;
3145
3145
  if (u instanceof e) {
3146
3146
  this.isRegex = u.isRegex, this.regex = u.regex, this.ast = u.ast, this.names = u.names;
3147
3147
  return;
@@ -3160,7 +3160,7 @@ var mi = { exports: {} };
3160
3160
  }
3161
3161
  if (u === "")
3162
3162
  throw new Error("argument must not be the empty string");
3163
- if (V = u.replace(/\s+/g, ""), V !== u)
3163
+ if (H = u.replace(/\s+/g, ""), H !== u)
3164
3164
  throw new Error("argument must not contain whitespace");
3165
3165
  if (C = {
3166
3166
  escapeChar: (f != null ? f.escapeChar : void 0) || d.escapeChar,
@@ -3388,7 +3388,7 @@ const $ = (r) => r ?? A, Mt = x`
3388
3388
  --sc-_fs: 1em;
3389
3389
  }
3390
3390
  `;
3391
- var zn = Object.defineProperty, Rn = Object.getOwnPropertyDescriptor, B = (r, t, s, i) => {
3391
+ var zn = Object.defineProperty, Rn = Object.getOwnPropertyDescriptor, q = (r, t, s, i) => {
3392
3392
  for (var e = i > 1 ? void 0 : i ? Rn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
3393
3393
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
3394
3394
  return i && e && zn(t, s, e), e;
@@ -3859,85 +3859,85 @@ I.styles = [
3859
3859
  }
3860
3860
  `
3861
3861
  ];
3862
- B([
3862
+ q([
3863
3863
  l({ type: String, reflect: !0 })
3864
3864
  ], I.prototype, "type", 2);
3865
- B([
3865
+ q([
3866
3866
  l({ type: String, reflect: !0 })
3867
3867
  ], I.prototype, "variant", 2);
3868
- B([
3868
+ q([
3869
3869
  l({ type: String, reflect: !0 })
3870
3870
  ], I.prototype, "size", 2);
3871
- B([
3871
+ q([
3872
3872
  l({ type: String, reflect: !0 })
3873
3873
  ], I.prototype, "shape", 2);
3874
- B([
3874
+ q([
3875
3875
  l({ type: String })
3876
3876
  ], I.prototype, "direction", 2);
3877
- B([
3877
+ q([
3878
3878
  l({ type: String, reflect: !0 })
3879
3879
  ], I.prototype, "alignItems", 2);
3880
- B([
3880
+ q([
3881
3881
  l({ type: String })
3882
3882
  ], I.prototype, "justify", 2);
3883
- B([
3883
+ q([
3884
3884
  l({ type: String, reflect: !0 })
3885
3885
  ], I.prototype, "align", 2);
3886
- B([
3886
+ q([
3887
3887
  l({ type: String })
3888
3888
  ], I.prototype, "minWidth", 2);
3889
- B([
3889
+ q([
3890
3890
  l({ type: Boolean, reflect: !0 })
3891
3891
  ], I.prototype, "icon", 2);
3892
- B([
3892
+ q([
3893
3893
  l({ type: String })
3894
3894
  ], I.prototype, "download", 2);
3895
- B([
3895
+ q([
3896
3896
  l({ type: String })
3897
3897
  ], I.prototype, "autoActive", 2);
3898
- B([
3898
+ q([
3899
3899
  l({ type: Boolean, reflect: !0 })
3900
3900
  ], I.prototype, "loading", 2);
3901
- B([
3901
+ q([
3902
3902
  M()
3903
3903
  ], I.prototype, "hasPrefix", 2);
3904
- B([
3904
+ q([
3905
3905
  M()
3906
3906
  ], I.prototype, "hasSuffix", 2);
3907
- B([
3907
+ q([
3908
3908
  xe({ flatten: !0, slot: "prefix" })
3909
3909
  ], I.prototype, "prefixes", 2);
3910
- B([
3910
+ q([
3911
3911
  xe({ flatten: !0, slot: "suffix" })
3912
3912
  ], I.prototype, "suffixes", 2);
3913
- B([
3913
+ q([
3914
3914
  l({ type: String })
3915
3915
  ], I.prototype, "target", 2);
3916
- B([
3916
+ q([
3917
3917
  l({ type: String })
3918
3918
  ], I.prototype, "href", 1);
3919
- B([
3919
+ q([
3920
3920
  l({ type: String })
3921
3921
  ], I.prototype, "goBack", 2);
3922
- B([
3922
+ q([
3923
3923
  l({ type: Boolean })
3924
3924
  ], I.prototype, "pushState", 2);
3925
- B([
3925
+ q([
3926
3926
  l({ type: Boolean, reflect: !0 })
3927
3927
  ], I.prototype, "active", 2);
3928
- B([
3928
+ q([
3929
3929
  l({ type: Boolean, reflect: !0 })
3930
3930
  ], I.prototype, "autoRepeat", 2);
3931
- B([
3931
+ q([
3932
3932
  l({ type: String, attribute: "data-aria-controls" })
3933
3933
  ], I.prototype, "ariaControls", 2);
3934
- B([
3934
+ q([
3935
3935
  l({ type: Boolean, attribute: "data-aria-expanded" })
3936
3936
  ], I.prototype, "sonicAriaExpanded", 2);
3937
- B([
3937
+ q([
3938
3938
  M()
3939
3939
  ], I.prototype, "location", 2);
3940
- I = B([
3940
+ I = q([
3941
3941
  w(Un)
3942
3942
  ], I);
3943
3943
  /**
@@ -4596,10 +4596,10 @@ ir.default = {
4596
4596
  const o = Ns[s], n = t.prefix || o.defaultPrefix || "", a = e[s] || {};
4597
4597
  e[s] = a;
4598
4598
  const c = n + "-" + i;
4599
- if (a[c]) return z(a[c]);
4599
+ if (a[c]) return R(a[c]);
4600
4600
  const h = (o.url || "").replace("$prefix", n).replace("$name", i);
4601
4601
  if (Wt.icons[h])
4602
- return a[c] = Wt.icons[h], z(Wt.icons[h]);
4602
+ return a[c] = Wt.icons[h], R(Wt.icons[h]);
4603
4603
  if (!$s.has(h)) {
4604
4604
  const p = new Promise(async (g) => {
4605
4605
  try {
@@ -4625,9 +4625,9 @@ ir.default = {
4625
4625
  const p = Wt.names.shift();
4626
4626
  delete Wt.icons[p];
4627
4627
  }
4628
- return sessionStorage.setItem("sonicIconsCache", JSON.stringify(Wt)), z(d);
4628
+ return sessionStorage.setItem("sonicIconsCache", JSON.stringify(Wt)), R(d);
4629
4629
  }
4630
- return z(e.core[t.name] || "");
4630
+ return R(e.core[t.name] || "");
4631
4631
  }
4632
4632
  };
4633
4633
  let gi = ir;
@@ -4788,7 +4788,7 @@ let $t = class extends _ {
4788
4788
 
4789
4789
  <div class="sonic-toast-text">
4790
4790
  ${this.title ? m`<div class="sonic-toast-title">${this.title}</div>` : ""}
4791
- ${this.text ? z(this.text) : ""}
4791
+ ${this.text ? R(this.text) : ""}
4792
4792
  <slot></slot>
4793
4793
  </div>
4794
4794
 
@@ -5359,7 +5359,7 @@ let N = class extends _ {
5359
5359
  })}
5360
5360
  >
5361
5361
  <!-- Le texte est passé dans le slot et non pas en propriété pour contrer des problèmatiques de shadow-dom et d'appel exterieur (exemple: fancybox) -->
5362
- ${i.text ? z(i.text) : ""}
5362
+ ${i.text ? R(i.text) : ""}
5363
5363
  </sonic-toast-item>
5364
5364
  `
5365
5365
  )}
@@ -5463,17 +5463,15 @@ const ka = /* @__PURE__ */ new Set(), La = /* @__PURE__ */ new Set(), Ea = (r) =
5463
5463
  t(r);
5464
5464
  }, bi = /* @__PURE__ */ new Set();
5465
5465
  let di = 0;
5466
- Ni(
5467
- async () => {
5468
- di++;
5469
- const r = di, t = Array.from(bi);
5470
- for (; t.length > 0; ) {
5471
- if (r != di) return;
5472
- const s = t.splice(0, 4);
5473
- await Promise.all(s.map((i) => i._fetchData()));
5474
- }
5466
+ Ni(async () => {
5467
+ di++;
5468
+ const r = di, t = Array.from(bi);
5469
+ for (; t.length > 0; ) {
5470
+ if (r != di) return;
5471
+ const s = t.splice(0, 4);
5472
+ await Promise.all(s.map((i) => i._fetchData()));
5475
5473
  }
5476
- );
5474
+ });
5477
5475
  const Bi = (r, t) => {
5478
5476
  class s extends r {
5479
5477
  constructor(...e) {
@@ -5542,42 +5540,37 @@ const Bi = (r, t) => {
5542
5540
  handleLazyLoad() {
5543
5541
  if (!this.lazyLoad)
5544
5542
  return;
5545
- const e = this.getBoundingClientRect();
5546
- if (e.x < window.innerWidth && e.right > 0 && e.y < window.innerHeight && e.right > 0) {
5547
- this._fetchData();
5548
- return;
5549
- }
5550
- const o = parseFloat(
5543
+ const e = parseFloat(
5551
5544
  this.getAttribute("lazyBoundsRatio") || "1"
5552
- ), n = {
5545
+ ), o = {
5553
5546
  root: null,
5554
5547
  rootMargin: Math.max(
5555
- window.innerWidth * o,
5556
- window.innerHeight * o
5548
+ window.innerWidth * e,
5549
+ window.innerHeight * e
5557
5550
  ) + "px",
5558
5551
  threshold: 0.9
5559
5552
  };
5560
5553
  this.iObserver = new IntersectionObserver(
5561
- (h) => this.onIntersection(h),
5562
- n
5554
+ (c) => this.onIntersection(c),
5555
+ o
5563
5556
  );
5564
- let c = [...(this.shadowRoot ? this.shadowRoot : this).children].filter(
5565
- (h) => h.nodeName.toLowerCase() != "style"
5557
+ let a = [...(this.shadowRoot ? this.shadowRoot : this).children].filter(
5558
+ (c) => c.nodeName.toLowerCase() != "style"
5566
5559
  )[0];
5567
- if ((c == null ? void 0 : c.nodeName.toLocaleLowerCase()) == "slot" && (c = [...c.children].filter(
5568
- (h) => h.nodeName.toLowerCase() != "style"
5569
- )[0]), !c || c.nodeName.toLocaleLowerCase() == "template") {
5570
- c = document.createElement("span");
5571
- const h = c.style;
5572
- h.pointerEvents = "none", this.lazyLoadSpan = c, this.appendChild(c);
5560
+ if ((a == null ? void 0 : a.nodeName.toLocaleLowerCase()) == "slot" && (a = [...a.children].filter(
5561
+ (c) => c.nodeName.toLowerCase() != "style"
5562
+ )[0]), !a || a.nodeName.toLocaleLowerCase() == "template") {
5563
+ a = document.createElement("div");
5564
+ const c = a.style;
5565
+ c.pointerEvents = "none", c.width = "1px", c.height = "1px", this.lazyLoadPlaceHolder = a, this.appendChild(a);
5573
5566
  }
5574
- c ? this.iObserver.observe(c) : this.isFirstLoad && this._fetchData();
5567
+ a ? this.iObserver.observe(a) : this.isFirstLoad && this._fetchData();
5575
5568
  }
5576
5569
  onIntersection(e) {
5577
5570
  var o, n;
5578
5571
  for (const a of e)
5579
5572
  if (a.isIntersecting && this.isFirstLoad) {
5580
- this._fetchData(), (o = this.lazyLoadSpan) == null || o.remove(), this.lazyLoadSpan = void 0, (n = this.iObserver) == null || n.disconnect();
5573
+ this._fetchData(), (o = this.lazyLoadPlaceHolder) == null || o.remove(), this.lazyLoadPlaceHolder = void 0, (n = this.iObserver) == null || n.disconnect();
5581
5574
  break;
5582
5575
  }
5583
5576
  }
@@ -5953,7 +5946,7 @@ var Xa = Object.defineProperty, Qa = Object.getOwnPropertyDescriptor, Ae = (r, t
5953
5946
  const Ja = "sonic-list";
5954
5947
  let Zt = class extends Bi(G(cs(_))) {
5955
5948
  constructor() {
5956
- super(...arguments), this.templateKey = "template", this.idKey = "id", this.limit = Number.POSITIVE_INFINITY, this.offset = 0;
5949
+ super(...arguments), this.templateKey = "template", this.idKey = "id", this.limit = Number.POSITIVE_INFINITY, this.offset = 0, this.loadingSize = { width: 0, height: 0 };
5957
5950
  }
5958
5951
  connectedCallback() {
5959
5952
  this.noShadowDom = "", this.defferedDebug = this.hasAttribute("debug") || null, this.isFetchEnabled = this.hasAttribute("fetch"), this.isFetchEnabled && (this.isLoading = !0), super.connectedCallback();
@@ -5971,7 +5964,7 @@ let Zt = class extends Bi(G(cs(_))) {
5971
5964
  return this.isLoading && r ? Et(r) : A;
5972
5965
  }
5973
5966
  renderLoadingState() {
5974
- return m`${this.renderSkeleton()} ${this.renderLoader()}`;
5967
+ return m`${this.renderSkeleton()} ${this.renderLoader()} `;
5975
5968
  }
5976
5969
  renderNoResultState() {
5977
5970
  return m` <div
@@ -5994,7 +5987,40 @@ let Zt = class extends Bi(G(cs(_))) {
5994
5987
  const t = r._sonic_http_response_, s = this.hasAttribute("extractValues");
5995
5988
  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;
5996
5989
  }
5990
+ updated(r) {
5991
+ window.requestAnimationFrame(() => {
5992
+ if (!this.isLoading) {
5993
+ this.style.setProperty("--list-loader-height-display", "none");
5994
+ return;
5995
+ }
5996
+ this.style.setProperty("--list-loader-height-display", "block"), this.loadingSize = this.getDisplayContentsSize(this);
5997
+ }), super.updated(r);
5998
+ }
5999
+ getAllRenderableElements(r) {
6000
+ let t = [];
6001
+ function s(i) {
6002
+ if (i.nodeType === Node.ELEMENT_NODE) {
6003
+ const e = i.getBoundingClientRect();
6004
+ (e.width > 0 || e.height > 0) && t.push(i), i.childNodes.forEach(s), i.shadowRoot && i.shadowRoot.childNodes.forEach(s);
6005
+ }
6006
+ }
6007
+ return s(r), t;
6008
+ }
6009
+ getDisplayContentsSize(r) {
6010
+ const t = this.getAllRenderableElements(r);
6011
+ if (t.length === 0) return { width: 0, height: 0 };
6012
+ const s = t.map((a) => a.getBoundingClientRect()), i = Math.min(...s.map((a) => a.left)), e = Math.max(...s.map((a) => a.right)), o = Math.min(...s.map((a) => a.top)), n = Math.max(...s.map((a) => a.bottom));
6013
+ return { width: e - i, height: n - o };
6014
+ }
5997
6015
  render() {
6016
+ return m`
6017
+ ${this.renderContent()}
6018
+ <div
6019
+ style="grid-column: 1 / -1;min-height:${this.isLoading ? 0 : this.loadingSize.height}px; width:0;float:left;display: var(--list-loader-height-display);"
6020
+ ></div>
6021
+ `;
6022
+ }
6023
+ renderContent() {
5998
6024
  if (this.isLoading && !Array.isArray(this.props)) return this.renderLoadingState();
5999
6025
  if (typeof this.props == "string") return this.renderNoResultState();
6000
6026
  if (!tt.isObject(this.props)) return m`<div></div>`;
@@ -6096,7 +6122,6 @@ let it = class extends G(_) {
6096
6122
  T.delete(a);
6097
6123
  this.listDataProviders = [], clearTimeout(this.filterTimeoutId), this.filterTimeoutId = setTimeout(
6098
6124
  async () => {
6099
- this.storeScrollPosition();
6100
6125
  const a = this.resultCount;
6101
6126
  this.props = null, this.requestId++, this.resultCount = a, await T.getInstance().isLocalStrorageReady, window.requestAnimationFrame(() => this.next());
6102
6127
  },
@@ -6128,12 +6153,15 @@ let it = class extends G(_) {
6128
6153
  this.filterPublisher = T.getInstance().get(r), (t = this.filterPublisher) == null || t.onInternalMutation(this.updateFilteredContent);
6129
6154
  }
6130
6155
  storeScrollPosition() {
6131
- this.storedScrollX = window.scrollX, this.storedScrollY = window.scrollY;
6156
+ this.isSafari() && (this.storedScrollX = window.scrollX, this.storedScrollY = window.scrollY);
6157
+ }
6158
+ isSafari() {
6159
+ return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
6132
6160
  }
6133
6161
  updated(r) {
6134
- (Math.abs(this.storedScrollX - window.scrollX) > 10 || Math.abs(this.storedScrollY - window.scrollY) > 10) && window.scrollTo(this.storedScrollX, this.storedScrollY), window.requestAnimationFrame(() => {
6162
+ this.isSafari() && ((Math.abs(this.storedScrollX - window.scrollX) > 10 || Math.abs(this.storedScrollY - window.scrollY) > 10) && window.scrollTo(this.storedScrollX, this.storedScrollY), window.requestAnimationFrame(() => {
6135
6163
  (Math.abs(this.storedScrollX - window.scrollX) > 10 || Math.abs(this.storedScrollY - window.scrollY) > 10) && window.scrollTo(this.storedScrollX, this.storedScrollY);
6136
- }), super.updated(r);
6164
+ })), super.updated(r);
6137
6165
  }
6138
6166
  resetDuration() {
6139
6167
  this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime();
@@ -6179,9 +6207,8 @@ let it = class extends G(_) {
6179
6207
  d.resultCount = this.resultCount, d.lastFetchedData = (r == null ? void 0 : r.detail.fetchedData) || {}, this.props = d, this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime();
6180
6208
  }
6181
6209
  render() {
6182
- if (!Array.isArray(this.props))
6210
+ if (this.storeScrollPosition(), !Array.isArray(this.props))
6183
6211
  return A;
6184
- this.storeScrollPosition();
6185
6212
  let r = !this.noLazyload;
6186
6213
  return this.props.length == 1 && (r = !1), this.style.display = "block", m`
6187
6214
  ${$o(this.props, (t, s) => {
@@ -6289,7 +6316,7 @@ let Gt = class extends G(_) {
6289
6316
  const d = this.getAncestorAttributeValue("dataProvider"), p = this.endPoint || d;
6290
6317
  rt.show();
6291
6318
  const g = async () => {
6292
- var f, y, C, O, E, V, W, St;
6319
+ var f, y, C, O, E, H, W, St;
6293
6320
  if (e)
6294
6321
  h = await ((f = this.api) == null ? void 0 : f.submitFormData(
6295
6322
  p,
@@ -6317,7 +6344,7 @@ let Gt = class extends G(_) {
6317
6344
  h = await ((E = this.api) == null ? void 0 : E.get(p + No, c));
6318
6345
  break;
6319
6346
  default:
6320
- h = await ((V = this.api) == null ? void 0 : V.post(p, o, c));
6347
+ h = await ((H = this.api) == null ? void 0 : H.post(p, o, c));
6321
6348
  break;
6322
6349
  }
6323
6350
  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" }] };
@@ -7157,7 +7184,7 @@ let Rr = class extends ee(_) {
7157
7184
  this.setAttribute("subDataProvider", this.getAttribute("key")), super.connectedCallback();
7158
7185
  }
7159
7186
  render() {
7160
- return typeof this.props == "object" || this.props === void 0 ? m`<slot name="prefix"></slot><slot></slot><slot name="suffix"></slot>` : m`${z(this.props.toString())}<slot name="prefix"></slot><slot></slot
7187
+ return typeof this.props == "object" || this.props === void 0 ? m`<slot name="prefix"></slot><slot></slot><slot name="suffix"></slot>` : m`${R(this.props.toString())}<slot name="prefix"></slot><slot></slot
7161
7188
  ><slot name="suffix"></slot>`;
7162
7189
  }
7163
7190
  };
@@ -7883,6 +7910,14 @@ const uc = x`
7883
7910
  :host([touched][required]) :not(:focus):valid + .select-chevron {
7884
7911
  --sc-input-c: var(--sc-success, var(--sc-base-content, #000));
7885
7912
  }
7913
+ /*active*/
7914
+ :host([active]) {
7915
+ --sc-input-b-color: var(--sc-primary, var(--sc-base-content, #000));
7916
+ --sc-input-c: var(--sc-primary, var(--sc-base-content, #000));
7917
+ }
7918
+ :host([active]) .select-chevron {
7919
+ --sc-input-c: var(--sc-primary, var(--sc-base-content, #000));
7920
+ }
7886
7921
 
7887
7922
  /*Input COLOR*/
7888
7923
  :host([type="color"]) .form-element {
@@ -8009,15 +8044,15 @@ const Qi = Pe(class extends Ie {
8009
8044
  return _t;
8010
8045
  }
8011
8046
  });
8012
- var fc = Object.defineProperty, mc = Object.getOwnPropertyDescriptor, q = (r, t, s, i) => {
8047
+ var fc = Object.defineProperty, mc = Object.getOwnPropertyDescriptor, V = (r, t, s, i) => {
8013
8048
  for (var e = i > 1 ? void 0 : i ? mc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
8014
8049
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
8015
8050
  return i && e && fc(t, s, e), e;
8016
8051
  };
8017
8052
  const gc = "sonic-input";
8018
- let U = class extends Gs(je(G(_))) {
8053
+ let j = class extends Gs(je(G(_))) {
8019
8054
  constructor() {
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;
8055
+ super(...arguments), this.readonly = !1, this.inlineContent = !1, this.disableInlineContentFocus = !1, this.showPasswordToggle = !1, this.autoActive = !1, this.active = !1, this.hasDescription = !1, this.hasLabel = !1, this.hasSuffix = !1, this.hasPrefix = !1, this.isPassword = !1;
8021
8056
  }
8022
8057
  connectedCallback() {
8023
8058
  if (super.connectedCallback(), this.hasSlotOrProps(), this.hasAttribute("sameValueAs")) {
@@ -8039,7 +8074,7 @@ let U = class extends Gs(je(G(_))) {
8039
8074
  return r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
8040
8075
  }
8041
8076
  willUpdate(r) {
8042
- this.hasSlotOrProps(), super.willUpdate(r);
8077
+ this.hasSlotOrProps(), this.autoActive && r.has("value") && (this.active = !!this.value), super.willUpdate(r);
8043
8078
  }
8044
8079
  setSelectionRange(r, t) {
8045
8080
  this.input.setSelectionRange(r, t);
@@ -8075,7 +8110,7 @@ let U = class extends Gs(je(G(_))) {
8075
8110
  };
8076
8111
  return m`
8077
8112
  <label for="${this.id || "form-element"}" class="${this.hasLabel ? "form-label" : "hidden"}"
8078
- >${this.label ? z(
8113
+ >${this.label ? R(
8079
8114
  this.label
8080
8115
  /*+ labelStarSuffix*/
8081
8116
  ) : ""}<slot
@@ -8140,13 +8175,13 @@ let U = class extends Gs(je(G(_))) {
8140
8175
  name="description"
8141
8176
  @slotchange=${this.hasSlotOrProps}
8142
8177
  class="${this.hasDescription ? "form-description" : "hidden"}"
8143
- >${this.description ? m`${z(this.description)}` : A}</slot>
8178
+ >${this.description ? m`${R(this.description)}` : A}</slot>
8144
8179
  <slot name="list"></slot>
8145
8180
  </div>
8146
8181
  `;
8147
8182
  }
8148
8183
  };
8149
- U.styles = [
8184
+ j.styles = [
8150
8185
  Mt,
8151
8186
  Xi,
8152
8187
  Xs,
@@ -8162,84 +8197,90 @@ U.styles = [
8162
8197
  }
8163
8198
  `
8164
8199
  ];
8165
- q([
8200
+ V([
8166
8201
  l({ type: String, reflect: !0 })
8167
- ], U.prototype, "size", 2);
8168
- q([
8202
+ ], j.prototype, "size", 2);
8203
+ V([
8169
8204
  l({ type: String })
8170
- ], U.prototype, "inputmode", 2);
8171
- q([
8205
+ ], j.prototype, "inputmode", 2);
8206
+ V([
8172
8207
  l({ type: String })
8173
- ], U.prototype, "list", 2);
8174
- q([
8208
+ ], j.prototype, "list", 2);
8209
+ V([
8175
8210
  l({ type: String })
8176
- ], U.prototype, "placeholder", 2);
8177
- q([
8211
+ ], j.prototype, "placeholder", 2);
8212
+ V([
8178
8213
  l({ type: String })
8179
- ], U.prototype, "pattern", 2);
8180
- q([
8214
+ ], j.prototype, "pattern", 2);
8215
+ V([
8181
8216
  l({ type: String })
8182
- ], U.prototype, "min", 2);
8183
- q([
8217
+ ], j.prototype, "min", 2);
8218
+ V([
8184
8219
  l({ type: String })
8185
- ], U.prototype, "max", 2);
8186
- q([
8220
+ ], j.prototype, "max", 2);
8221
+ V([
8187
8222
  l({ type: Boolean })
8188
- ], U.prototype, "readonly", 2);
8189
- q([
8223
+ ], j.prototype, "readonly", 2);
8224
+ V([
8190
8225
  l({ type: Number })
8191
- ], U.prototype, "step", 2);
8192
- q([
8226
+ ], j.prototype, "step", 2);
8227
+ V([
8193
8228
  l({ type: Number })
8194
- ], U.prototype, "minlength", 2);
8195
- q([
8229
+ ], j.prototype, "minlength", 2);
8230
+ V([
8196
8231
  l({ type: Number })
8197
- ], U.prototype, "maxlength", 2);
8198
- q([
8232
+ ], j.prototype, "maxlength", 2);
8233
+ V([
8199
8234
  l({ type: String })
8200
- ], U.prototype, "src", 2);
8201
- q([
8235
+ ], j.prototype, "src", 2);
8236
+ V([
8202
8237
  l({ type: Boolean, reflect: !0 })
8203
- ], U.prototype, "inlineContent", 2);
8204
- q([
8238
+ ], j.prototype, "inlineContent", 2);
8239
+ V([
8205
8240
  l({ type: Boolean })
8206
- ], U.prototype, "disableInlineContentFocus", 2);
8207
- q([
8241
+ ], j.prototype, "disableInlineContentFocus", 2);
8242
+ V([
8208
8243
  l({ type: Boolean })
8209
- ], U.prototype, "showPasswordToggle", 2);
8210
- q([
8244
+ ], j.prototype, "showPasswordToggle", 2);
8245
+ V([
8246
+ l({ type: Boolean })
8247
+ ], j.prototype, "autoActive", 2);
8248
+ V([
8249
+ l({ type: Boolean, reflect: !0 })
8250
+ ], j.prototype, "active", 2);
8251
+ V([
8211
8252
  ht({ slot: "label", flatten: !0 })
8212
- ], U.prototype, "slotLabelNodes", 2);
8213
- q([
8253
+ ], j.prototype, "slotLabelNodes", 2);
8254
+ V([
8214
8255
  ht({ slot: "description", flatten: !0 })
8215
- ], U.prototype, "slotDescriptionNodes", 2);
8216
- q([
8256
+ ], j.prototype, "slotDescriptionNodes", 2);
8257
+ V([
8217
8258
  ht({ slot: "suffix", flatten: !0 })
8218
- ], U.prototype, "slotSuffixNodes", 2);
8219
- q([
8259
+ ], j.prototype, "slotSuffixNodes", 2);
8260
+ V([
8220
8261
  ht({ slot: "prefix", flatten: !0 })
8221
- ], U.prototype, "slotPrefixNodes", 2);
8222
- q([
8262
+ ], j.prototype, "slotPrefixNodes", 2);
8263
+ V([
8223
8264
  $e("input")
8224
- ], U.prototype, "input", 2);
8225
- q([
8265
+ ], j.prototype, "input", 2);
8266
+ V([
8226
8267
  M()
8227
- ], U.prototype, "hasDescription", 2);
8228
- q([
8268
+ ], j.prototype, "hasDescription", 2);
8269
+ V([
8229
8270
  M()
8230
- ], U.prototype, "hasLabel", 2);
8231
- q([
8271
+ ], j.prototype, "hasLabel", 2);
8272
+ V([
8232
8273
  M()
8233
- ], U.prototype, "hasSuffix", 2);
8234
- q([
8274
+ ], j.prototype, "hasSuffix", 2);
8275
+ V([
8235
8276
  M()
8236
- ], U.prototype, "hasPrefix", 2);
8237
- q([
8277
+ ], j.prototype, "hasPrefix", 2);
8278
+ V([
8238
8279
  M()
8239
- ], U.prototype, "isPassword", 2);
8240
- U = q([
8280
+ ], j.prototype, "isPassword", 2);
8281
+ j = V([
8241
8282
  w(gc)
8242
- ], U);
8283
+ ], j);
8243
8284
  const Ao = x`
8244
8285
  /*OMBRE*/
8245
8286
  :host([shadow]) .shadowable,
@@ -8326,7 +8367,7 @@ let nt = class extends _ {
8326
8367
  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));
8327
8368
  }
8328
8369
  computePosition(r) {
8329
- var E, V, W, St;
8370
+ var E, H, W, St;
8330
8371
  const t = r.split(" "), s = t[0];
8331
8372
  let i = t[1], e = (E = this.popContent) == null ? void 0 : E.getBoundingClientRect();
8332
8373
  const o = 5, n = this.getBoundingClientRect(), a = J.getScrollableAncestor(
@@ -8357,7 +8398,7 @@ let nt = class extends _ {
8357
8398
  this.lastContentX += P - e.x, this.lastContentY += S - e.y, Object.assign(this.popContent.style, {
8358
8399
  left: `${this.lastContentX}px`,
8359
8400
  top: `${this.lastContentY}px`
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, {
8401
+ }), e = (H = this.popContent) == null ? void 0 : H.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, {
8361
8402
  left: `${this.lastContentX}px`,
8362
8403
  top: `${this.lastContentY}px`
8363
8404
  }), 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, {
@@ -8870,7 +8911,7 @@ let Jt = class extends ee(_) {
8870
8911
  render() {
8871
8912
  return this.hasNoChar ? A : m`
8872
8913
  <span>
8873
- ${this.areEqual ? z(this.descriptionWhenEqual) : z(this.descriptionWhenNotEqual)}
8914
+ ${this.areEqual ? R(this.descriptionWhenEqual) : R(this.descriptionWhenNotEqual)}
8874
8915
  </span>
8875
8916
  `;
8876
8917
  }
@@ -8941,12 +8982,12 @@ let pt = class extends Vi(
8941
8982
  </span>
8942
8983
 
8943
8984
  <div class="checkbox-text ${!this.hasDescription && !this.hasLabel ? "hidden" : "checkbox-text"}">
8944
- ${this.label ? z(
8985
+ ${this.label ? R(
8945
8986
  this.label
8946
8987
  /*+ labelStarSuffix*/
8947
8988
  ) : ""}
8948
8989
  <slot @slotchange=${this.hasSlotOrProps}></slot>
8949
- <slot @slotchange=${this.hasSlotOrProps} name="description" class="${this.hasDescription ? "description" : "hidden"} ">${this.description ? m`${z(this.description)}` : ""}</slot>
8990
+ <slot @slotchange=${this.hasSlotOrProps} name="description" class="${this.hasDescription ? "description" : "hidden"} ">${this.description ? m`${R(this.description)}` : ""}</slot>
8950
8991
  </div>
8951
8992
  </label>
8952
8993
  </label>
@@ -9306,7 +9347,7 @@ let Y = class extends je(G(_)) {
9306
9347
  <label
9307
9348
  for="form-element"
9308
9349
  class="${this.hasLabel ? "form-label" : "hidden"}"
9309
- >${this.label ? z(
9350
+ >${this.label ? R(
9310
9351
  this.label
9311
9352
  /*+ labelStarSuffix*/
9312
9353
  ) : ""}<slot
@@ -9361,7 +9402,7 @@ let Y = class extends je(G(_)) {
9361
9402
  name="description"
9362
9403
  @slotchange=${this.hasSlotOrProps}
9363
9404
  class="${this.hasDescription ? "form-description" : "hidden"}"
9364
- >${this.description ? m`${z(this.description)}` : ""}</slot
9405
+ >${this.description ? m`${R(this.description)}` : ""}</slot
9365
9406
  >
9366
9407
  `;
9367
9408
  }
@@ -9515,7 +9556,7 @@ let ct = class extends Gs(je(G(_))) {
9515
9556
  <label
9516
9557
  for="${this.id || "form-element"}"
9517
9558
  class="${this.hasLabel ? "form-label" : "hidden"}"
9518
- >${this.label ? z(
9559
+ >${this.label ? R(
9519
9560
  this.label
9520
9561
  /*+ labelStarSuffix*/
9521
9562
  ) : ""}<slot
@@ -9556,7 +9597,7 @@ ${this.value}</textarea
9556
9597
  name="description"
9557
9598
  @slotchange=${this.hasSlotOrProps}
9558
9599
  class="${this.hasDescription ? "form-description" : "hidden"}"
9559
- >${this.description ? m`${z(this.description)}` : ""}</slot
9600
+ >${this.description ? m`${R(this.description)}` : ""}</slot
9560
9601
  >
9561
9602
  `;
9562
9603
  }
@@ -9675,9 +9716,9 @@ let Ht = class extends _ {
9675
9716
  </div>` : ""}
9676
9717
 
9677
9718
  <div class="legend-content">
9678
- ${z(this.label ? this.label : "")}
9719
+ ${R(this.label ? this.label : "")}
9679
9720
  ${this.description ? m`<sonic-legend-description
9680
- >${z(this.description)}</sonic-legend-description
9721
+ >${R(this.description)}</sonic-legend-description
9681
9722
  >` : ""}
9682
9723
  <slot></slot>
9683
9724
  </div>
@@ -10000,7 +10041,7 @@ let Nt = class extends _ {
10000
10041
  alignItems: this.alignItems
10001
10042
  };
10002
10043
  return m`<span class="${this.hasLabel ? "form-label" : "hidden"}"
10003
- >${this.label ? z(
10044
+ >${this.label ? R(
10004
10045
  this.label
10005
10046
  /*+ labelStarSuffix*/
10006
10047
  ) : ""}<slot
@@ -10014,7 +10055,7 @@ let Nt = class extends _ {
10014
10055
  @slotchange=${this.hasSlotOrProps}
10015
10056
  class="${this.hasDescription ? "form-description" : "hidden"}"
10016
10057
  >
10017
- ${this.description ? m`${z(this.description)}` : ""}
10058
+ ${this.description ? m`${R(this.description)}` : ""}
10018
10059
  </slot>`;
10019
10060
  }
10020
10061
  };
@@ -10633,7 +10674,7 @@ var jh = Object.defineProperty, Fh = Object.getOwnPropertyDescriptor, et = (r, t
10633
10674
  return i && e && jh(t, s, e), e;
10634
10675
  };
10635
10676
  const Do = "sonic-modal";
10636
- let j = class extends G(_) {
10677
+ let F = class extends G(_) {
10637
10678
  constructor() {
10638
10679
  super(...arguments), this.forceAction = !1, this.removeOnHide = !1, this.removeHashOnHide = !1, this.align = "left", this.padding = "var(--sc-modal-py) var(--sc-modal-px)", this.maxWidth = "var(--sc-modal-max-w) ", this.maxHeight = "var(--sc-modal-max-h) ", this.width = "100%", this.height = "auto", this.zIndex = "var(--sc-modal-z-index)", this.fullScreen = !1, this.visible = !1;
10639
10680
  }
@@ -10642,10 +10683,10 @@ let j = class extends G(_) {
10642
10683
  return t.options = r, r.removeHashOnHide === !0 && t.setAttribute("removeHashOnHide", "true"), r.removeOnHide === !0 && t.setAttribute("removeOnHide", "true"), r.maxWidth && (t.maxWidth = r == null ? void 0 : r.maxWidth), r.width && (t.width = r == null ? void 0 : r.width), r.maxHeight && (t.maxHeight = r == null ? void 0 : r.maxHeight), r.height && (t.height = r == null ? void 0 : r.height), r.forceAction && (t.forceAction = !0), r.fullScreen && (t.fullScreen = r == null ? void 0 : r.fullScreen), r.effect && (t.effect = r == null ? void 0 : r.effect), r.paddingX && t.style.setProperty("--sc-modal-px", r == null ? void 0 : r.paddingX), r.paddingY && t.style.setProperty("--sc-modal-py", r == null ? void 0 : r.paddingY), r.zIndex && t.style.setProperty("--sc-modal-z-index", r == null ? void 0 : r.zIndex), yt.getPopContainer().appendChild(t), t.show(), t;
10643
10684
  }
10644
10685
  connectedCallback() {
10645
- j.modals.push(this), super.connectedCallback(), this.handleFullsceen();
10686
+ F.modals.push(this), super.connectedCallback(), this.handleFullsceen();
10646
10687
  }
10647
10688
  disconnectedCallback() {
10648
- j.modals.splice(j.modals.indexOf(this), 1), super.disconnectedCallback();
10689
+ F.modals.splice(F.modals.indexOf(this), 1), super.disconnectedCallback();
10649
10690
  }
10650
10691
  updated() {
10651
10692
  const r = this;
@@ -10744,7 +10785,7 @@ let j = class extends G(_) {
10744
10785
  const t = (i = this.options) == null ? void 0 : i[r];
10745
10786
  if (!t) return A;
10746
10787
  let s;
10747
- switch (t instanceof Object ? s = t : s = z(t), r) {
10788
+ switch (t instanceof Object ? s = t : s = R(t), r) {
10748
10789
  case "title":
10749
10790
  return m`<sonic-modal-title>${s}</sonic-modal-title>`;
10750
10791
  case "subtitle":
@@ -10773,12 +10814,12 @@ let j = class extends G(_) {
10773
10814
  this.hide(), this.remove();
10774
10815
  }
10775
10816
  static disposeAll() {
10776
- j.modals.forEach((r) => {
10817
+ F.modals.forEach((r) => {
10777
10818
  r.dispose();
10778
10819
  });
10779
10820
  }
10780
10821
  handleEscape(r) {
10781
- r.key === "Escape" && j.modals.forEach((t) => {
10822
+ r.key === "Escape" && F.modals.forEach((t) => {
10782
10823
  t.forceAction || t.hide();
10783
10824
  });
10784
10825
  }
@@ -10786,7 +10827,7 @@ let j = class extends G(_) {
10786
10827
  this.fullScreen && (this.width = "100%", this.height = "100%", this.maxWidth = "none", this.maxHeight = "none");
10787
10828
  }
10788
10829
  };
10789
- j.styles = [
10830
+ F.styles = [
10790
10831
  ps,
10791
10832
  x`
10792
10833
  :host {
@@ -10909,65 +10950,65 @@ j.styles = [
10909
10950
  }
10910
10951
  `
10911
10952
  ];
10912
- j.modals = [];
10953
+ F.modals = [];
10913
10954
  et([
10914
10955
  l({ type: Boolean })
10915
- ], j.prototype, "forceAction", 2);
10956
+ ], F.prototype, "forceAction", 2);
10916
10957
  et([
10917
10958
  l({ type: Boolean })
10918
- ], j.prototype, "removeOnHide", 2);
10959
+ ], F.prototype, "removeOnHide", 2);
10919
10960
  et([
10920
10961
  l({ type: Boolean })
10921
- ], j.prototype, "removeHashOnHide", 2);
10962
+ ], F.prototype, "removeHashOnHide", 2);
10922
10963
  et([
10923
10964
  l({ type: String, reflect: !0 })
10924
- ], j.prototype, "align", 2);
10965
+ ], F.prototype, "align", 2);
10925
10966
  et([
10926
10967
  l({ type: String })
10927
- ], j.prototype, "padding", 2);
10968
+ ], F.prototype, "padding", 2);
10928
10969
  et([
10929
10970
  l({ type: String })
10930
- ], j.prototype, "maxWidth", 2);
10971
+ ], F.prototype, "maxWidth", 2);
10931
10972
  et([
10932
10973
  l({ type: String })
10933
- ], j.prototype, "maxHeight", 2);
10974
+ ], F.prototype, "maxHeight", 2);
10934
10975
  et([
10935
10976
  l({ type: String })
10936
- ], j.prototype, "width", 2);
10977
+ ], F.prototype, "width", 2);
10937
10978
  et([
10938
10979
  l({ type: String })
10939
- ], j.prototype, "height", 2);
10980
+ ], F.prototype, "height", 2);
10940
10981
  et([
10941
10982
  l({ type: String })
10942
- ], j.prototype, "zIndex", 2);
10983
+ ], F.prototype, "zIndex", 2);
10943
10984
  et([
10944
10985
  l({ type: String })
10945
- ], j.prototype, "effect", 2);
10986
+ ], F.prototype, "effect", 2);
10946
10987
  et([
10947
10988
  l({ type: Object })
10948
- ], j.prototype, "options", 2);
10989
+ ], F.prototype, "options", 2);
10949
10990
  et([
10950
10991
  l({ type: Boolean, reflect: !0 })
10951
- ], j.prototype, "fullScreen", 2);
10992
+ ], F.prototype, "fullScreen", 2);
10952
10993
  et([
10953
10994
  l({ type: Boolean, reflect: !0 })
10954
- ], j.prototype, "visible", 2);
10995
+ ], F.prototype, "visible", 2);
10955
10996
  et([
10956
10997
  l({ type: Object })
10957
- ], j.prototype, "animation", 2);
10998
+ ], F.prototype, "animation", 2);
10958
10999
  et([
10959
11000
  $e(".modal-wrapper")
10960
- ], j.prototype, "modalWrapper", 2);
11001
+ ], F.prototype, "modalWrapper", 2);
10961
11002
  et([
10962
11003
  $e(".modal")
10963
- ], j.prototype, "modalElement", 2);
11004
+ ], F.prototype, "modalElement", 2);
10964
11005
  et([
10965
11006
  xe({ selector: "sonic-modal-close" })
10966
- ], j.prototype, "closeBtn", 2);
10967
- j = et([
11007
+ ], F.prototype, "closeBtn", 2);
11008
+ F = et([
10968
11009
  w(Do)
10969
- ], j);
10970
- typeof window < "u" && (window.SonicModal = j);
11010
+ ], F);
11011
+ typeof window < "u" && (window.SonicModal = F);
10971
11012
  var zh = Object.defineProperty, Rh = Object.getOwnPropertyDescriptor, zt = (r, t, s, i) => {
10972
11013
  for (var e = i > 1 ? void 0 : i ? Rh(t, s) : t, o = r.length - 1, n; o >= 0; o--)
10973
11014
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
@@ -10999,7 +11040,7 @@ let At = class extends _ {
10999
11040
  </div>`}</slot
11000
11041
  >
11001
11042
  <div class="content">
11002
- ${this.label ? m`<span class="label">${z(this.label)}</span>` : A}
11043
+ ${this.label ? m`<span class="label">${R(this.label)}</span>` : A}
11003
11044
  <div>${this.text}<slot></slot></div>
11004
11045
  </div>
11005
11046
  ${this.dismissible ? m`<sonic-button
@@ -11377,7 +11418,7 @@ let Ct = class extends _ {
11377
11418
  render() {
11378
11419
  return m`<div part="divider">
11379
11420
  <span class="text"
11380
- >${z(this.label ? this.label : "")}<slot></slot
11421
+ >${R(this.label ? this.label : "")}<slot></slot
11381
11422
  ></span>
11382
11423
  </div>`;
11383
11424
  }
@@ -11581,9 +11622,9 @@ let ns = class extends _ {
11581
11622
  render() {
11582
11623
  return m`
11583
11624
  <div class="header-content">
11584
- ${z(this.label)}
11625
+ ${R(this.label)}
11585
11626
  ${this.description ? m`<sonic-card-header-description
11586
- >${z(this.description)}</sonic-card-header-description
11627
+ >${R(this.description)}</sonic-card-header-description
11587
11628
  >` : A}
11588
11629
  <slot></slot>
11589
11630
  </div>
@@ -12354,7 +12395,7 @@ window["concorde-directives-data-provider"] = {
12354
12395
  get: hn,
12355
12396
  set: pn
12356
12397
  };
12357
- const ep = N, sp = j;
12398
+ const ep = N, sp = F;
12358
12399
  window["concorde-components"] = window["concorde-components"] || {};
12359
12400
  window["concorde-components"] = {
12360
12401
  SonicToast: ep,