@tsiky/components-r19 1.6.19 → 1.6.21

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/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsx as s, jsxs as g, Fragment as Oe } from "react/jsx-runtime";
2
2
  import * as J from "react";
3
3
  import ee, { useState as V, useRef as U, useEffect as R, createContext as Ge, useContext as le, useCallback as Re, memo as je, useLayoutEffect as HA, useId as aC, useInsertionEffect as d$, useMemo as ve, Children as DA, isValidElement as BA, Fragment as l$, createElement as RA, forwardRef as Ti, Component as FA, useImperativeHandle as OA } from "react";
4
- import { c as a, M as $o, I as EA, a as Ui, g as UA, R as WA, B as GA, C as ZA, X as KA, Y as XA, T as YA, b as JA } from "./SimpleBarChart-BThP_rnS.js";
5
- import { P as Sve, S as $ve } from "./SimpleBarChart-BThP_rnS.js";
4
+ import { c as a, M as $o, I as EA, a as Ui, g as UA, R as WA, B as GA, C as ZA, X as KA, Y as XA, T as YA, b as JA } from "./SimpleBarChart-CCePRx-C.js";
5
+ import { P as Sve, S as $ve } from "./SimpleBarChart-CCePRx-C.js";
6
6
  import { createPortal as h$ } from "react-dom";
7
7
  const QA = "_button_1kuwt_2", ez = "_primary_1kuwt_21", tz = "_secondary_1kuwt_26", az = "_accent_1kuwt_31", nz = "_outline_1kuwt_36", oz = "_success_1kuwt_41", iz = "_danger_1kuwt_46", cz = "_warning_1kuwt_51", rz = "_info_1kuwt_56", sz = "_sm_1kuwt_62", dz = "_md_1kuwt_67", lz = "_lg_1kuwt_72", Ze = {
8
8
  button: QA,
@@ -31422,9 +31422,9 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31422
31422
  className: "language-select",
31423
31423
  value: w.value ?? "",
31424
31424
  onChange: ($) => {
31425
- const D = $.target.value;
31425
+ const H = $.target.value;
31426
31426
  try {
31427
- w.onChange(D);
31427
+ w.onChange(H);
31428
31428
  } catch (B) {
31429
31429
  console.error("select onChange error", B);
31430
31430
  }
@@ -31468,26 +31468,26 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31468
31468
  const [v, x] = V([]);
31469
31469
  R(() => {
31470
31470
  const b = ($) => {
31471
- const D = [];
31471
+ const H = [];
31472
31472
  return ee.Children.forEach($, (B) => {
31473
- Array.isArray(B) ? D.push(...b(B)) : ee.isValidElement(B) && D.push(B);
31474
- }), D;
31473
+ Array.isArray(B) ? H.push(...b(B)) : ee.isValidElement(B) && H.push(B);
31474
+ }), H;
31475
31475
  }, A = b(e).filter(($) => ee.isValidElement($)).map(($) => {
31476
- let D = "";
31476
+ let H = "";
31477
31477
  const B = $.props;
31478
- return D = [
31478
+ return H = [
31479
31479
  B.xs ? `grid-xs-${B.xs}` : "",
31480
31480
  B.sm ? `grid-sm-${B.sm}` : "",
31481
31481
  B.md ? `grid-md-${B.md}` : "",
31482
31482
  B.lg ? `grid-lg-${B.lg}` : "",
31483
31483
  B.xl ? `grid-xl-${B.xl}` : "",
31484
31484
  B.className ? B.className : ""
31485
- ].join(" ").trim(), { node: $, classes: D };
31485
+ ].join(" ").trim(), { node: $, classes: H };
31486
31486
  });
31487
31487
  let N = A;
31488
- f && f.length > 0 && (N = A.map(($, D) => ({
31488
+ f && f.length > 0 && (N = A.map(($, H) => ({
31489
31489
  ...$,
31490
- node: A[f[D]]?.node ?? $.node
31490
+ node: A[f[H]]?.node ?? $.node
31491
31491
  }))), x(N);
31492
31492
  }, [e]);
31493
31493
  const I = (b, S) => {
@@ -31500,22 +31500,22 @@ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31500
31500
  if (t && N !== u)
31501
31501
  return;
31502
31502
  const $ = [...v];
31503
- let D = -1, B = -1;
31503
+ let H = -1, B = -1;
31504
31504
  if ($.forEach((q, j) => {
31505
31505
  if (ee.isValidElement(q.node)) {
31506
31506
  const F = q.node.props;
31507
- F.uniqueKey === S && (D = j), F.uniqueKey === A && (B = j);
31507
+ F.uniqueKey === S && (H = j), F.uniqueKey === A && (B = j);
31508
31508
  }
31509
- }), D === -1 || B === -1)
31509
+ }), H === -1 || B === -1)
31510
31510
  return;
31511
31511
  const P = $[B].node;
31512
31512
  $[B] = {
31513
31513
  ...$[B],
31514
- node: $[D].node
31515
- }, $[D] = {
31516
- ...$[D],
31514
+ node: $[H].node
31515
+ }, $[H] = {
31516
+ ...$[H],
31517
31517
  node: P
31518
- }, x($), typeof k == "function" && k(B, D);
31518
+ }, x($), typeof k == "function" && k(B, H);
31519
31519
  }, w = o ? [
31520
31520
  i ? `grid-xs-${i}` : "",
31521
31521
  c ? `grid-sm-${c}` : "",
@@ -35384,7 +35384,7 @@ function ale(e) {
35384
35384
  const A = Array.isArray(x) ? x : [x];
35385
35385
  let N = A.reduce(i(M), {});
35386
35386
  L === !1 && (N = {});
35387
- const { prevResolvedValues: $ = {} } = v, D = {
35387
+ const { prevResolvedValues: $ = {} } = v, H = {
35388
35388
  ...$,
35389
35389
  ...N
35390
35390
  }, B = (j) => {
@@ -35392,21 +35392,21 @@ function ale(e) {
35392
35392
  const F = e.getValue(j);
35393
35393
  F && (F.liveStyle = !1);
35394
35394
  };
35395
- for (const j in D) {
35395
+ for (const j in H) {
35396
35396
  const F = N[j], K = $[j];
35397
35397
  if (m.hasOwnProperty(j))
35398
35398
  continue;
35399
- let H = !1;
35400
- KL(F) && KL(K) ? H = !jq(F, K) : H = F !== K, H ? F != null ? B(j) : y.add(j) : F !== void 0 && y.has(j) ? B(j) : v.protectedKeys[j] = !0;
35399
+ let D = !1;
35400
+ KL(F) && KL(K) ? D = !jq(F, K) : D = F !== K, D ? F != null ? B(j) : y.add(j) : F !== void 0 && y.has(j) ? B(j) : v.protectedKeys[j] = !0;
35401
35401
  }
35402
35402
  v.prevProp = x, v.prevResolvedValues = N, v.isActive && (m = { ...m, ...N }), o && e.blockInitialAnimation && (b = !1);
35403
35403
  const P = C && w;
35404
35404
  b && (!P || S) && u.push(...A.map((j) => {
35405
35405
  const F = { type: M };
35406
35406
  if (typeof j == "string" && o && !P && e.manuallyAnimateOnMount && e.parent) {
35407
- const { parent: K } = e, H = Xo(K, j);
35408
- if (K.enteringChildren && H) {
35409
- const { delayChildren: O } = H.transition || {};
35407
+ const { parent: K } = e, D = Xo(K, j);
35408
+ if (K.enteringChildren && D) {
35409
+ const { delayChildren: O } = D.transition || {};
35410
35410
  F.delay = Pq(K.enteringChildren, e, O);
35411
35411
  }
35412
35412
  }
@@ -38603,16 +38603,16 @@ function eye() {
38603
38603
  case k:
38604
38604
  return C == w + "";
38605
38605
  case u:
38606
- var D = i;
38606
+ var H = i;
38607
38607
  case f:
38608
38608
  var B = S & r;
38609
- if (D || (D = c), C.size != w.size && !B)
38609
+ if (H || (H = c), C.size != w.size && !B)
38610
38610
  return !1;
38611
38611
  var P = $.get(C);
38612
38612
  if (P)
38613
38613
  return P == w;
38614
38614
  S |= d, $.set(C, w);
38615
- var q = o(D(C), D(w), S, A, N, $);
38615
+ var q = o(H(C), H(w), S, A, N, $);
38616
38616
  return $.delete(C), q;
38617
38617
  case _:
38618
38618
  if (I)
@@ -38769,8 +38769,8 @@ function hye() {
38769
38769
  SS = 1;
38770
38770
  var e = kw(), t = lA(), n = gw(), o = "[object Arguments]", i = "[object Array]", c = "[object Boolean]", r = "[object Date]", d = "[object Error]", l = "[object Function]", h = "[object Map]", p = "[object Number]", u = "[object Object]", y = "[object RegExp]", m = "[object Set]", f = "[object String]", k = "[object WeakMap]", _ = "[object ArrayBuffer]", M = "[object DataView]", v = "[object Float32Array]", x = "[object Float64Array]", I = "[object Int8Array]", L = "[object Int16Array]", C = "[object Int32Array]", w = "[object Uint8Array]", b = "[object Uint8ClampedArray]", S = "[object Uint16Array]", A = "[object Uint32Array]", N = {};
38771
38771
  N[v] = N[x] = N[I] = N[L] = N[C] = N[w] = N[b] = N[S] = N[A] = !0, N[o] = N[i] = N[_] = N[c] = N[M] = N[r] = N[d] = N[l] = N[h] = N[p] = N[u] = N[y] = N[m] = N[f] = N[k] = !1;
38772
- function $(D) {
38773
- return n(D) && t(D.length) && !!N[e(D)];
38772
+ function $(H) {
38773
+ return n(H) && t(H.length) && !!N[e(H)];
38774
38774
  }
38775
38775
  return iL = $, iL;
38776
38776
  }
@@ -39004,9 +39004,9 @@ function Nye() {
39004
39004
  if (N && !S)
39005
39005
  return I || (I = new e()), L || d(k) ? t(k, _, M, v, x, I) : n(k, _, w, M, v, x, I);
39006
39006
  if (!(M & l)) {
39007
- var $ = S && m.call(k, "__wrapped__"), D = A && m.call(_, "__wrapped__");
39008
- if ($ || D) {
39009
- var B = $ ? k.value() : k, P = D ? _.value() : _;
39007
+ var $ = S && m.call(k, "__wrapped__"), H = A && m.call(_, "__wrapped__");
39008
+ if ($ || H) {
39009
+ var B = $ ? k.value() : k, P = H ? _.value() : _;
39010
39010
  return I || (I = new e()), x(B, P, M, v, I);
39011
39011
  }
39012
39012
  }
@@ -39056,8 +39056,8 @@ const Aye = /* @__PURE__ */ UA(qye), Vge = ({
39056
39056
  const N = e.fields.find(($) => $.name === b);
39057
39057
  if (N) {
39058
39058
  const $ = eC(S, N);
39059
- y((D) => ({
39060
- ...D,
39059
+ y((H) => ({
39060
+ ...H,
39061
39061
  [b]: $.isValid ? "" : $.error
39062
39062
  }));
39063
39063
  }
@@ -39839,7 +39839,7 @@ const l5e = ({ value: e }) => e, h5e = ({ value: e }) => ee.createElement(
39839
39839
  }
39840
39840
  let q = [];
39841
39841
  P && Array.isArray(P) && P.length > 0 ? q = P : x && x.length > 0 ? q = x : q = N(), n?.(q), o?.(q);
39842
- }, D = () => {
39842
+ }, H = () => {
39843
39843
  d?.(!1), typeof r != "boolean" && M(!1);
39844
39844
  }, B = () => {
39845
39845
  w(), n?.([]), o?.([]);
@@ -39922,7 +39922,7 @@ const l5e = ({ value: e }) => e, h5e = ({ value: e }) => ee.createElement(
39922
39922
  "button",
39923
39923
  {
39924
39924
  className: z.cancelButton,
39925
- onClick: D,
39925
+ onClick: H,
39926
39926
  type: "button",
39927
39927
  disabled: k,
39928
39928
  children: y
@@ -40269,7 +40269,7 @@ const l5e = ({ value: e }) => e, h5e = ({ value: e }) => ee.createElement(
40269
40269
  sortLoading: N = !1,
40270
40270
  totalCount: $ = null
40271
40271
  }) => {
40272
- const [D, B] = V({ key: null, direction: "asc" }), [P, q] = V(n.currentPage ?? 1), [j, F] = V(n.pageSize ?? 10), [K, H] = V(!1), O = U(null), [te, ce] = V([]), xe = u ? d : te, mt = u ? [] : te;
40272
+ const [H, B] = V({ key: null, direction: "asc" }), [P, q] = V(n.currentPage ?? 1), [j, F] = V(n.pageSize ?? 10), [K, D] = V(!1), O = U(null), [te, ce] = V([]), xe = u ? d : te, mt = u ? [] : te;
40273
40273
  R(() => {
40274
40274
  const X = n.currentPage ?? 1, Fi = n.pageSize ?? 10;
40275
40275
  X !== P && q(X), Fi !== j && F(Fi);
@@ -40278,7 +40278,7 @@ const l5e = ({ value: e }) => e, h5e = ({ value: e }) => ee.createElement(
40278
40278
  t,
40279
40279
  e,
40280
40280
  i,
40281
- D,
40281
+ H,
40282
40282
  P,
40283
40283
  j,
40284
40284
  mt
@@ -40303,12 +40303,12 @@ const l5e = ({ value: e }) => e, h5e = ({ value: e }) => ee.createElement(
40303
40303
  }, Ae = (X) => {
40304
40304
  B(X), p?.(X);
40305
40305
  }, He = (X) => {
40306
- H(X), !X && O.current && O.current.style.setProperty("--filters-panel-height", "0px");
40306
+ D(X), !X && O.current && O.current.style.setProperty("--filters-panel-height", "0px");
40307
40307
  };
40308
40308
  R(() => {
40309
- (xe?.length ?? 0) > 0 && H(!0);
40309
+ (xe?.length ?? 0) > 0 && D(!0);
40310
40310
  }, [xe]), R(() => {
40311
- r.length > 0 && xe.length > 0 && H(!0);
40311
+ r.length > 0 && xe.length > 0 && D(!0);
40312
40312
  }, [r.length, xe.length]);
40313
40313
  const ne = (xe?.length ?? 0) > 0 && x ? x : v;
40314
40314
  return /* @__PURE__ */ g(
@@ -40329,7 +40329,7 @@ const l5e = ({ value: e }) => e, h5e = ({ value: e }) => ee.createElement(
40329
40329
  columns: e,
40330
40330
  onSort: Ae,
40331
40331
  label: I,
40332
- sortConfig: D,
40332
+ sortConfig: H,
40333
40333
  loading: N
40334
40334
  }
40335
40335
  ),
@@ -40873,7 +40873,7 @@ const N5e = "_mpRoot_31595_1", S5e = "_mpHeader_31595_22", $5e = "_mpTitle_31595
40873
40873
  summaryCardWidth: S,
40874
40874
  summaryCardHeight: A,
40875
40875
  summaryCardStyle: N
40876
- } = e, $ = n === "vertical", D = {
40876
+ } = e, $ = n === "vertical", H = {
40877
40877
  "--mp-accent": c,
40878
40878
  "--mp-accent-soft": _ke(c, 0.08),
40879
40879
  "--mp-bg-primary": v
@@ -40893,15 +40893,15 @@ const N5e = "_mpRoot_31595_1", S5e = "_mpHeader_31595_22", $5e = "_mpTitle_31595
40893
40893
  alignItems: "stretch",
40894
40894
  width: "100%"
40895
40895
  } : void 0) ?? {}, ...x ?? {} };
40896
- return /* @__PURE__ */ g("div", { className: B, style: D, "aria-busy": p, children: [
40896
+ return /* @__PURE__ */ g("div", { className: B, style: H, "aria-busy": p, children: [
40897
40897
  d && /* @__PURE__ */ s(QS, { title: d }),
40898
40898
  /* @__PURE__ */ s("div", { className: G.mpSummaryInner, children: /* @__PURE__ */ s(
40899
40899
  "div",
40900
40900
  {
40901
40901
  className: `${q} ${I ?? ""}`,
40902
40902
  style: F,
40903
- children: t.length === 0 ? /* @__PURE__ */ s("div", { className: G.mpEmpty, children: u }) : t.map((K, H) => {
40904
- const O = K.bgColor ?? f[H % f.length], te = K.borderColor ?? k[H % k.length], ce = K.valueColor ?? _[H % _.length];
40903
+ children: t.length === 0 ? /* @__PURE__ */ s("div", { className: G.mpEmpty, children: u }) : t.map((K, D) => {
40904
+ const O = K.bgColor ?? f[D % f.length], te = K.borderColor ?? k[D % k.length], ce = K.valueColor ?? _[D % _.length];
40905
40905
  return P ? /* @__PURE__ */ s(
40906
40906
  "div",
40907
40907
  {
@@ -40911,7 +40911,7 @@ const N5e = "_mpRoot_31595_1", S5e = "_mpHeader_31595_22", $5e = "_mpTitle_31595
40911
40911
  height: A ?? void 0,
40912
40912
  ...N ?? {}
40913
40913
  },
40914
- children: P(K, H)
40914
+ children: P(K, D)
40915
40915
  },
40916
40916
  K.id
40917
40917
  ) : /* @__PURE__ */ s(
@@ -40934,7 +40934,7 @@ const N5e = "_mpRoot_31595_1", S5e = "_mpHeader_31595_22", $5e = "_mpTitle_31595
40934
40934
  ) })
40935
40935
  ] });
40936
40936
  }
40937
- return /* @__PURE__ */ g("div", { className: B, style: D, "aria-busy": p, children: [
40937
+ return /* @__PURE__ */ g("div", { className: B, style: H, "aria-busy": p, children: [
40938
40938
  d && /* @__PURE__ */ s(QS, { title: d }),
40939
40939
  /* @__PURE__ */ s("div", { className: G.mpList, style: x, children: p ? /* @__PURE__ */ s("div", { className: G.mpEmpty, children: "Chargement…" }) : t.length === 0 ? /* @__PURE__ */ s("div", { className: G.mpEmpty, children: u }) : t.map((q) => {
40940
40940
  const j = r ? {
@@ -41706,16 +41706,16 @@ const Nke = "_container_1pfsp_1", Ske = "_title_1pfsp_8", o$ = {
41706
41706
  draggable: l = !1,
41707
41707
  checkDuplicateLocal: h
41708
41708
  }) => {
41709
- const [p, u] = V(!1), [y, m] = V(""), [f, k] = V(null), [_, M] = V(""), [v, x] = V(""), [I, L] = V(!1), [C, w] = V(!1), [b, S] = V(null), [A, N] = V(!1), $ = t.map((H) => H.language), D = n.filter((H) => !$.includes(H.code)), B = () => {
41709
+ const [p, u] = V(!1), [y, m] = V(""), [f, k] = V(null), [_, M] = V(""), [v, x] = V(""), [I, L] = V(!1), [C, w] = V(!1), [b, S] = V(null), [A, N] = V(!1), $ = t.map((D) => D.language), H = n.filter((D) => !$.includes(D.code)), B = () => {
41710
41710
  y && v.trim() && (d?.(e, y, v.trim()), m(""), x(""), u(!1));
41711
- }, P = (H, O) => {
41712
- k(H), M(O);
41713
- }, q = (H) => {
41714
- c?.(e, H, _), k(null), M("");
41711
+ }, P = (D, O) => {
41712
+ k(D), M(O);
41713
+ }, q = (D) => {
41714
+ c?.(e, D, _), k(null), M("");
41715
41715
  }, j = () => {
41716
41716
  k(null), M("");
41717
- }, F = async (H) => {
41718
- const O = H.name?.trim();
41717
+ }, F = async (D) => {
41718
+ const O = D.name?.trim();
41719
41719
  if (O) {
41720
41720
  if (S(null), N(!1), O === e || !i)
41721
41721
  return L(!1), "ok";
@@ -41734,8 +41734,8 @@ const Nke = "_container_1pfsp_1", Ske = "_title_1pfsp_8", o$ = {
41734
41734
  console.error("Erreur handleRenameSave:", te), S("Erreur lors du renommage.");
41735
41735
  }
41736
41736
  }
41737
- }, K = (H, O) => {
41738
- if (H !== "name") return;
41737
+ }, K = (D, O) => {
41738
+ if (D !== "name") return;
41739
41739
  const te = O.trim();
41740
41740
  S(null), N(!1), te && typeof h == "function" && (h(te, e) ? (S("Une clé existe déjà dans ce module."), N(!0)) : (S(null), N(!1)));
41741
41741
  };
@@ -41762,8 +41762,8 @@ const Nke = "_container_1pfsp_1", Ske = "_title_1pfsp_8", o$ = {
41762
41762
  "button",
41763
41763
  {
41764
41764
  className: "action-button",
41765
- onClick: (H) => {
41766
- H.stopPropagation(), L(!0);
41765
+ onClick: (D) => {
41766
+ D.stopPropagation(), L(!0);
41767
41767
  },
41768
41768
  title: "Renommer la clé",
41769
41769
  children: /* @__PURE__ */ s(gt, { className: "action-icon" })
@@ -41772,8 +41772,8 @@ const Nke = "_container_1pfsp_1", Ske = "_title_1pfsp_8", o$ = {
41772
41772
  /* @__PURE__ */ s(
41773
41773
  "button",
41774
41774
  {
41775
- onClick: (H) => {
41776
- H.stopPropagation(), o?.(e);
41775
+ onClick: (D) => {
41776
+ D.stopPropagation(), o?.(e);
41777
41777
  },
41778
41778
  className: "action-button delete",
41779
41779
  title: "Supprimer la clé",
@@ -41783,9 +41783,9 @@ const Nke = "_container_1pfsp_1", Ske = "_title_1pfsp_8", o$ = {
41783
41783
  ] })
41784
41784
  ] }),
41785
41785
  /* @__PURE__ */ s("div", { className: `translations-container ${C ? "" : "expanded"}`, children: !l && /* @__PURE__ */ g(Oe, { children: [
41786
- t.map((H) => /* @__PURE__ */ g("div", { className: "translation-row", children: [
41787
- /* @__PURE__ */ s("div", { className: "language-code", children: H.language }),
41788
- /* @__PURE__ */ s("div", { className: "translation-content", children: f === H.language ? /* @__PURE__ */ g(Oe, { children: [
41786
+ t.map((D) => /* @__PURE__ */ g("div", { className: "translation-row", children: [
41787
+ /* @__PURE__ */ s("div", { className: "language-code", children: D.language }),
41788
+ /* @__PURE__ */ s("div", { className: "translation-content", children: f === D.language ? /* @__PURE__ */ g(Oe, { children: [
41789
41789
  /* @__PURE__ */ s(
41790
41790
  "input",
41791
41791
  {
@@ -41795,14 +41795,14 @@ const Nke = "_container_1pfsp_1", Ske = "_title_1pfsp_8", o$ = {
41795
41795
  className: "edit-input",
41796
41796
  autoFocus: !0,
41797
41797
  onKeyDown: (O) => {
41798
- O.key === "Enter" && q(H.language), O.key === "Escape" && j();
41798
+ O.key === "Enter" && q(D.language), O.key === "Escape" && j();
41799
41799
  }
41800
41800
  }
41801
41801
  ),
41802
41802
  /* @__PURE__ */ s(
41803
41803
  "button",
41804
41804
  {
41805
- onClick: () => q(H.language),
41805
+ onClick: () => q(D.language),
41806
41806
  className: "save-button",
41807
41807
  disabled: !_.trim(),
41808
41808
  children: "Enregistrer"
@@ -41810,11 +41810,11 @@ const Nke = "_container_1pfsp_1", Ske = "_title_1pfsp_8", o$ = {
41810
41810
  ),
41811
41811
  /* @__PURE__ */ s("button", { onClick: j, className: "cancel-button", children: /* @__PURE__ */ s(it, { className: "action-icon" }) })
41812
41812
  ] }) : /* @__PURE__ */ g(Oe, { children: [
41813
- /* @__PURE__ */ s("span", { className: "translation-text", title: H.value, children: H.value }),
41813
+ /* @__PURE__ */ s("span", { className: "translation-text", title: D.value, children: D.value }),
41814
41814
  /* @__PURE__ */ s(
41815
41815
  "button",
41816
41816
  {
41817
- onClick: () => P(H.language, H.value),
41817
+ onClick: () => P(D.language, D.value),
41818
41818
  className: "edit-button",
41819
41819
  title: "Éditer la traduction",
41820
41820
  children: /* @__PURE__ */ s(gt, { className: "action-icon" })
@@ -41823,14 +41823,14 @@ const Nke = "_container_1pfsp_1", Ske = "_title_1pfsp_8", o$ = {
41823
41823
  /* @__PURE__ */ s(
41824
41824
  "button",
41825
41825
  {
41826
- onClick: () => r?.(e, H.language),
41826
+ onClick: () => r?.(e, D.language),
41827
41827
  className: "delete-translation-button",
41828
41828
  title: "Supprimer la traduction",
41829
41829
  children: /* @__PURE__ */ s(it, { className: "action-icon" })
41830
41830
  }
41831
41831
  )
41832
41832
  ] }) })
41833
- ] }, H.language)),
41833
+ ] }, D.language)),
41834
41834
  p ? /* @__PURE__ */ g("div", { className: "add-language-row", children: [
41835
41835
  /* @__PURE__ */ s("div", { className: "language-code", children: "+" }),
41836
41836
  /* @__PURE__ */ g("div", { className: "add-language-content", children: [
@@ -41838,16 +41838,16 @@ const Nke = "_container_1pfsp_1", Ske = "_title_1pfsp_8", o$ = {
41838
41838
  "select",
41839
41839
  {
41840
41840
  value: y,
41841
- onChange: (H) => m(H.target.value),
41841
+ onChange: (D) => m(D.target.value),
41842
41842
  className: "language-select",
41843
41843
  children: [
41844
41844
  /* @__PURE__ */ s("option", { value: "", children: "Sélectionnez la langue" }),
41845
- D.map((H) => /* @__PURE__ */ g("option", { value: H.code, children: [
41846
- H.name,
41845
+ H.map((D) => /* @__PURE__ */ g("option", { value: D.code, children: [
41846
+ D.name,
41847
41847
  " (",
41848
- H.code,
41848
+ D.code,
41849
41849
  ")"
41850
- ] }, H.code))
41850
+ ] }, D.code))
41851
41851
  ]
41852
41852
  }
41853
41853
  ) }),
@@ -41856,11 +41856,11 @@ const Nke = "_container_1pfsp_1", Ske = "_title_1pfsp_8", o$ = {
41856
41856
  {
41857
41857
  type: "text",
41858
41858
  value: v,
41859
- onChange: (H) => x(H.target.value),
41859
+ onChange: (D) => x(D.target.value),
41860
41860
  placeholder: "Entrez la traduction...",
41861
41861
  className: "translation-input",
41862
- onKeyDown: (H) => {
41863
- H.key === "Enter" && B(), H.key === "Escape" && (u(!1), m(""), x(""));
41862
+ onKeyDown: (D) => {
41863
+ D.key === "Enter" && B(), D.key === "Escape" && (u(!1), m(""), x(""));
41864
41864
  }
41865
41865
  }
41866
41866
  ),
@@ -41889,7 +41889,7 @@ const Nke = "_container_1pfsp_1", Ske = "_title_1pfsp_8", o$ = {
41889
41889
  {
41890
41890
  onClick: () => u(!0),
41891
41891
  className: "show-add-button",
41892
- disabled: D.length === 0,
41892
+ disabled: H.length === 0,
41893
41893
  children: [
41894
41894
  /* @__PURE__ */ s("span", { className: "plus-icon", children: "+" }),
41895
41895
  "Ajouter une langue"
@@ -42346,12 +42346,12 @@ const Xge = ({
42346
42346
  hideConfirmation: o,
42347
42347
  handleConfirm: i
42348
42348
  };
42349
- }, u3e = "_container_1c0ep_1", y3e = "_selectButton_1c0ep_11", k3e = "_disabled_1c0ep_39", m3e = "_error_1c0ep_59", f3e = "_outline_1c0ep_87", g3e = "_filled_1c0ep_107", v3e = "_sm_1c0ep_125", M3e = "_md_1c0ep_135", _3e = "_lg_1c0ep_145", x3e = "_buttonContent_1c0ep_155", w3e = "_label_1c0ep_169", b3e = "_placeholder_1c0ep_185", L3e = "_iconsContainer_1c0ep_193", C3e = "_loadingSpinner_1c0ep_209", I3e = "_spin_1c0ep_1", N3e = "_arrowIcon_1c0ep_249", S3e = "_arrowIconOpen_1c0ep_265", $3e = "_dropdown_1c0ep_273", q3e = "_searchContainer_1c0ep_303", A3e = "_searchInput_1c0ep_311", z3e = "_optionsList_1c0ep_353", V3e = "_noResults_1c0ep_363", P3e = "_option_1c0ep_353", j3e = "_optionHighlighted_1c0ep_407", T3e = "_optionSelected_1c0ep_417", H3e = "_optionDisabled_1c0ep_429", D3e = "_optionLabel_1c0ep_439", B3e = "_checkIcon_1c0ep_453", R3e = "_widthFull_1c0ep_469", F3e = "_width64_1c0ep_477", O3e = "_width80_1c0ep_485", E3e = "_width96_1c0ep_493", ie = {
42349
+ }, u3e = "_container_ciuhs_1", y3e = "_selectButton_ciuhs_11", k3e = "_disabled_ciuhs_37", m3e = "_error_ciuhs_57", f3e = "_outline_ciuhs_85", g3e = "_filled_ciuhs_105", v3e = "_sm_ciuhs_123", M3e = "_md_ciuhs_133", _3e = "_lg_ciuhs_143", x3e = "_buttonContent_ciuhs_153", w3e = "_label_ciuhs_167", b3e = "_placeholder_ciuhs_183", L3e = "_iconsContainer_ciuhs_191", C3e = "_loadingSpinner_ciuhs_207", I3e = "_spin_ciuhs_1", N3e = "_arrowIcon_ciuhs_247", S3e = "_arrowIconOpen_ciuhs_263", $3e = "_dropdown_ciuhs_271", q3e = "_searchContainer_ciuhs_301", A3e = "_searchInput_ciuhs_309", z3e = "_optionsList_ciuhs_357", V3e = "_noResults_ciuhs_367", P3e = "_option_ciuhs_357", j3e = "_optionHighlighted_ciuhs_411", T3e = "_optionSelected_ciuhs_421", H3e = "_optionDisabled_ciuhs_433", D3e = "_optionLabel_ciuhs_443", B3e = "_checkIcon_ciuhs_457", R3e = "_widthFull_ciuhs_473", F3e = "_width64_ciuhs_481", O3e = "_width80_ciuhs_489", E3e = "_width96_ciuhs_497", ie = {
42350
42350
  container: u3e,
42351
42351
  selectButton: y3e,
42352
42352
  disabled: k3e,
42353
42353
  error: m3e,
42354
- default: "_default_1c0ep_77",
42354
+ default: "_default_ciuhs_75",
42355
42355
  outline: f3e,
42356
42356
  filled: g3e,
42357
42357
  sm: v3e,
@@ -42493,6 +42493,7 @@ const Xge = ({
42493
42493
  /* @__PURE__ */ s("div", { className: ie.searchContainer, children: /* @__PURE__ */ s(
42494
42494
  "input",
42495
42495
  {
42496
+ id: "search",
42496
42497
  ref: M,
42497
42498
  type: "text",
42498
42499
  value: m,
@@ -42935,11 +42936,11 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
42935
42936
  ...h !== void 0 ? { height: h } : {},
42936
42937
  ...o !== void 0 ? { backgroundColor: o } : {},
42937
42938
  ...N
42938
- }, D = `${Qe.board} ${Qe[r]} ${p}`;
42939
+ }, H = `${Qe.board} ${Qe[r]} ${p}`;
42939
42940
  return /* @__PURE__ */ g(
42940
42941
  "div",
42941
42942
  {
42942
- className: D,
42943
+ className: H,
42943
42944
  onClick: C,
42944
42945
  style: d !== void 0 ? { ...$, "--ds-value-scale": d } : $,
42945
42946
  children: [
@@ -43342,7 +43343,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43342
43343
  style: C,
43343
43344
  className: w = ""
43344
43345
  }) => {
43345
- const { user: b } = bt(), S = e || b, { currentTheme: A, switchTheme: N } = nC(), $ = U(null), D = U(null), [B, P] = V(!1), [q, j] = V({}), F = ve(() => {
43346
+ const { user: b } = bt(), S = e || b, { currentTheme: A, switchTheme: N } = nC(), $ = U(null), H = U(null), [B, P] = V(!1), [q, j] = V({}), F = ve(() => {
43346
43347
  const Y = [], Q = ({ variant: Ie }) => Ie === "sun" ? /* @__PURE__ */ s(
43347
43348
  "svg",
43348
43349
  {
@@ -43405,7 +43406,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43405
43406
  i,
43406
43407
  c,
43407
43408
  N
43408
- ]), K = v ?? F, H = () => {
43409
+ ]), K = v ?? F, D = () => {
43409
43410
  if (!$.current) {
43410
43411
  P((Y) => !Y);
43411
43412
  return;
@@ -43438,9 +43439,9 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43438
43439
  window.removeEventListener("resize", Y), window.removeEventListener("orientationchange", Y);
43439
43440
  };
43440
43441
  }, [B, I]), R(() => {
43441
- if (!B || !$.current || !D.current) return;
43442
+ if (!B || !$.current || !H.current) return;
43442
43443
  const Y = () => {
43443
- const pe = $.current.getBoundingClientRect(), Ie = D.current.getBoundingClientRect(), fe = I?.x ?? 0, qe = I?.y ?? 0;
43444
+ const pe = $.current.getBoundingClientRect(), Ie = H.current.getBoundingClientRect(), fe = I?.x ?? 0, qe = I?.y ?? 0;
43444
43445
  j((ue) => ue.left !== void 0 && ue.top !== void 0 && ue.left >= pe.right - 1 ? {
43445
43446
  top: pe.bottom - Ie.height + qe,
43446
43447
  left: ue.left + fe
@@ -43587,7 +43588,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43587
43588
  userSelect: "none",
43588
43589
  ...C
43589
43590
  },
43590
- onClick: H,
43591
+ onClick: D,
43591
43592
  role: "button",
43592
43593
  tabIndex: 0,
43593
43594
  children: /* @__PURE__ */ s("div", { style: { display: "flex", alignItems: "center", gap: u, flex: 1, minWidth: 0 }, children: /* @__PURE__ */ s($e, {}) })
@@ -43596,7 +43597,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43596
43597
  /* @__PURE__ */ s(
43597
43598
  mme,
43598
43599
  {
43599
- ref: D,
43600
+ ref: H,
43600
43601
  isVisible: B,
43601
43602
  onClose: () => P(!1),
43602
43603
  items: K,
@@ -43720,7 +43721,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43720
43721
  className: N = "",
43721
43722
  width: $ = "280px"
43722
43723
  }) => {
43723
- const D = bt(), B = D.activeNav, P = D.setActiveNav, q = D.user, j = S.user || q;
43724
+ const H = bt(), B = H.activeNav, P = H.setActiveNav, q = H.user, j = S.user || q;
43724
43725
  return /* @__PURE__ */ g(
43725
43726
  "div",
43726
43727
  {
@@ -43750,13 +43751,13 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43750
43751
  children: F.title
43751
43752
  }
43752
43753
  ),
43753
- /* @__PURE__ */ s("div", { className: ft.sectionItems, style: { gap: c }, children: F.items.map((H) => /* @__PURE__ */ s(
43754
+ /* @__PURE__ */ s("div", { className: ft.sectionItems, style: { gap: c }, children: F.items.map((D) => /* @__PURE__ */ s(
43754
43755
  yA,
43755
43756
  {
43756
- ...H,
43757
- isActive: H.isActive === null ? H.isActive : B === H.id,
43757
+ ...D,
43758
+ isActive: D.isActive === null ? D.isActive : B === D.id,
43758
43759
  onClick: () => {
43759
- H.onClick && H.onClick(), H.isActive == null && P(H.id);
43760
+ D.onClick && D.onClick(), D.isActive == null && P(D.id);
43760
43761
  },
43761
43762
  highlightColor: d,
43762
43763
  activeColor: d,
@@ -43769,7 +43770,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43769
43770
  color: M,
43770
43771
  style: u
43771
43772
  },
43772
- H.id
43773
+ D.id
43773
43774
  )) })
43774
43775
  ] }, K)) })
43775
43776
  ] }),
@@ -43967,13 +43968,13 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43967
43968
  countFontWeight: A,
43968
43969
  navContainerClassName: N,
43969
43970
  navContainerStyle: $,
43970
- rightContentClassName: D,
43971
+ rightContentClassName: H,
43971
43972
  rightContentStyle: B,
43972
43973
  rightActions: P,
43973
43974
  activeSwitcherColor: q,
43974
43975
  inactiveSwitcherColor: j
43975
43976
  }) => {
43976
- const { activeSubNav: F, setActiveSubNav: K, navCounts: H } = bt();
43977
+ const { activeSubNav: F, setActiveSubNav: K, navCounts: D } = bt();
43977
43978
  return /* @__PURE__ */ g(
43978
43979
  "div",
43979
43980
  {
@@ -43995,7 +43996,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
43995
43996
  className: `${CL.navContainer} ${N || ""}`,
43996
43997
  style: { gap: l, ...$ },
43997
43998
  children: e.map((O) => {
43998
- const te = O.count !== void 0 ? O.count : H[O.id], ce = F === O.id || O.isActive;
43999
+ const te = O.count !== void 0 ? O.count : D[O.id], ce = F === O.id || O.isActive;
43999
44000
  return /* @__PURE__ */ s(
44000
44001
  Tme,
44001
44002
  {
@@ -44029,7 +44030,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44029
44030
  /* @__PURE__ */ g(
44030
44031
  "div",
44031
44032
  {
44032
- className: `${CL.rightContent} ${D || ""}`,
44033
+ className: `${CL.rightContent} ${H || ""}`,
44033
44034
  style: { gap: h, ...B },
44034
44035
  children: [
44035
44036
  _ && /* @__PURE__ */ s(
@@ -44178,17 +44179,23 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44178
44179
  tableState: o,
44179
44180
  handleSort: c
44180
44181
  };
44181
- }, Fme = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "#FFF", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z" })), Ome = je(Fme), Eme = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "#FFF", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z" })), Ume = je(Eme), Wme = ({ columns: e, sortBy: t, sortOrder: n, onSort: o }) => /* @__PURE__ */ s("thead", { children: /* @__PURE__ */ s("tr", { children: e.map((i, c) => {
44182
- const r = t === i.key, d = !!i.sortable;
44182
+ }, Fme = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "#FFF", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z" })), Ome = je(Fme), Eme = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "#FFF", viewBox: "0 -960 960 960", ...e }, /* @__PURE__ */ J.createElement("path", { d: "M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z" })), Ume = je(Eme), Wme = ({
44183
+ columns: e,
44184
+ sortBy: t,
44185
+ sortOrder: n,
44186
+ onSort: o,
44187
+ removeLabelSpan: i = !1
44188
+ }) => /* @__PURE__ */ s("thead", { children: /* @__PURE__ */ s("tr", { children: e.map((c, r) => {
44189
+ const d = t === c.key, l = !!c.sortable;
44183
44190
  return /* @__PURE__ */ s(
44184
44191
  "th",
44185
44192
  {
44186
- className: `${i.className || ""}${d ? " sortable" : ""}`,
44187
- style: { width: i.width, textAlign: i.align || "left" },
44188
- onClick: () => d && o(String(i.key)),
44189
- children: /* @__PURE__ */ g("div", { className: `th-content ${i.align ? `align-${i.align}` : ""}`, children: [
44190
- /* @__PURE__ */ s("span", { children: i.label }),
44191
- d && /* @__PURE__ */ s(
44193
+ className: `${c.className || ""}${l ? " sortable" : ""}`,
44194
+ style: { width: c.width, textAlign: c.align || "left" },
44195
+ onClick: () => l && o(String(c.key)),
44196
+ children: /* @__PURE__ */ g("div", { className: `th-content ${c.align ? `align-${c.align}` : ""}`, children: [
44197
+ i ? c.label : /* @__PURE__ */ s("span", { children: c.label }),
44198
+ l && /* @__PURE__ */ s(
44192
44199
  "span",
44193
44200
  {
44194
44201
  className: "sort-icon-container",
@@ -44196,7 +44203,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44196
44203
  display: "inline-flex",
44197
44204
  alignItems: "center"
44198
44205
  },
44199
- children: r && n === "asc" ? /* @__PURE__ */ s(
44206
+ children: d && n === "asc" ? /* @__PURE__ */ s(
44200
44207
  Ume,
44201
44208
  {
44202
44209
  width: 16,
@@ -44215,7 +44222,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44215
44222
  style: {
44216
44223
  // matches header text (primary)
44217
44224
  fill: "currentColor",
44218
- opacity: r ? 1 : 0.5,
44225
+ opacity: d ? 1 : 0.5,
44219
44226
  // slightly more visible than before against color?
44220
44227
  transition: "all 0.2s ease"
44221
44228
  }
@@ -44225,7 +44232,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44225
44232
  )
44226
44233
  ] })
44227
44234
  },
44228
- String(i.key) || c
44235
+ String(c.key) || r
44229
44236
  );
44230
44237
  }) }) }), Gme = ({
44231
44238
  data: e,
@@ -44396,31 +44403,32 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44396
44403
  style: M,
44397
44404
  rowStyle: v,
44398
44405
  onRowClick: x,
44399
- rowClassName: I
44406
+ rowClassName: I,
44407
+ removeLabelSpan: L = !1
44400
44408
  }) => {
44401
- const L = ee.useMemo(
44409
+ const C = ee.useMemo(
44402
44410
  () => ({
44403
44411
  ...u
44404
44412
  }),
44405
44413
  [u]
44406
- ), C = ee.useRef(null);
44414
+ ), w = ee.useRef(null);
44407
44415
  ee.useEffect(() => {
44408
44416
  if (!m || !y || !f || n) return;
44409
- const $ = new IntersectionObserver(
44410
- (D) => {
44411
- D[0].isIntersecting && y();
44417
+ const H = new IntersectionObserver(
44418
+ (B) => {
44419
+ B[0].isIntersecting && y();
44412
44420
  },
44413
44421
  { threshold: 0.1 }
44414
44422
  );
44415
- return C.current && $.observe(C.current), () => $.disconnect();
44423
+ return w.current && H.observe(w.current), () => H.disconnect();
44416
44424
  }, [m, y, f, n]);
44417
- const { tableState: w, handleSort: b } = Rme({
44425
+ const { tableState: b, handleSort: S } = Rme({
44418
44426
  initialSortBy: null,
44419
44427
  onSortChange: c
44420
- }), S = (k?.sortBy !== void 0 ? k.sortBy : w.sortBy) ?? void 0, A = k?.sortOrder !== void 0 ? k.sortOrder : w.sortOrder, N = ($) => {
44421
- const D = S, B = A;
44422
- let P = "asc";
44423
- D === $ && (P = B === "asc" ? "desc" : "asc"), k?.sortBy !== void 0 ? c($, P) : b($);
44428
+ }), A = (k?.sortBy !== void 0 ? k.sortBy : b.sortBy) ?? void 0, N = k?.sortOrder !== void 0 ? k.sortOrder : b.sortOrder, $ = (H) => {
44429
+ const B = A, P = N;
44430
+ let q = "asc";
44431
+ B === H && (q = P === "asc" ? "desc" : "asc"), k?.sortBy !== void 0 ? c(H, q) : S(H);
44424
44432
  };
44425
44433
  return /* @__PURE__ */ g("div", { className: `table-container ${_ || ""}`, style: M, children: [
44426
44434
  /* @__PURE__ */ g(
@@ -44450,29 +44458,30 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44450
44458
  Wme,
44451
44459
  {
44452
44460
  columns: t,
44453
- sortBy: S,
44454
- sortOrder: A,
44455
- onSort: N
44461
+ sortBy: A,
44462
+ sortOrder: N,
44463
+ onSort: $,
44464
+ removeLabelSpan: L
44456
44465
  }
44457
44466
  ),
44458
44467
  /* @__PURE__ */ s(
44459
44468
  Gme,
44460
44469
  {
44461
44470
  data: e,
44462
- columns: t.map(($) => ({
44463
- ...$,
44464
- render: $.render ? (D) => $.render(D, {}) : void 0
44471
+ columns: t.map((H) => ({
44472
+ ...H,
44473
+ render: H.render ? (B) => H.render(B, {}) : void 0
44465
44474
  })),
44466
44475
  rowKey: r,
44467
44476
  onRowClick: x,
44468
44477
  isLoading: n,
44469
- text: L,
44478
+ text: C,
44470
44479
  rowStyle: typeof v == "function" ? v : v ? () => v : void 0,
44471
44480
  rowClassName: I
44472
44481
  }
44473
44482
  )
44474
44483
  ] }),
44475
- m && /* @__PURE__ */ s("div", { ref: C, style: { height: 20, margin: 10 } })
44484
+ m && /* @__PURE__ */ s("div", { ref: w, style: { height: 20, margin: 10 } })
44476
44485
  ] })
44477
44486
  ]
44478
44487
  }
@@ -44482,7 +44491,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44482
44491
  {
44483
44492
  state: o,
44484
44493
  onPaginationChange: i,
44485
- text: L,
44494
+ text: C,
44486
44495
  onLoadMore: y,
44487
44496
  infiniteScroll: m,
44488
44497
  hasMore: f,
@@ -44575,14 +44584,14 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44575
44584
  labelColor: A,
44576
44585
  placeholderColor: N,
44577
44586
  borderRadius: $ = "var(--radius-content)",
44578
- borderWidth: D = "0.0625rem",
44587
+ borderWidth: H = "0.0625rem",
44579
44588
  boxShadow: B = "0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",
44580
44589
  transitionDuration: P = "0.2s",
44581
44590
  transitionTiming: q = "ease",
44582
44591
  dateCellSize: j = "2.5rem",
44583
44592
  headerTextColor: F = "#6c757d",
44584
44593
  weekdayTextColor: K = "#6c757d",
44585
- currentMonthDateColor: H = "#212529",
44594
+ currentMonthDateColor: D = "#212529",
44586
44595
  otherMonthDateColor: O = "#adb5bd",
44587
44596
  selectedDateBgColor: te = "#00A6D9",
44588
44597
  selectedDateTextColor: ce = "#ffffff",
@@ -44707,14 +44716,14 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44707
44716
  borderColor: d ? S || "#dc3545" : x || "#dee2e6",
44708
44717
  color: I || "#212529",
44709
44718
  borderRadius: $,
44710
- borderWidth: D,
44719
+ borderWidth: H,
44711
44720
  fontWeight: M,
44712
44721
  transition: `all ${P} ${q}`
44713
44722
  }, $A = {
44714
44723
  backgroundColor: L || "#ffffff",
44715
44724
  maxHeight: p,
44716
44725
  borderRadius: $,
44717
- borderWidth: D,
44726
+ borderWidth: H,
44718
44727
  boxShadow: B,
44719
44728
  transition: `opacity ${P} ${q}, transform ${P} ${q}`,
44720
44729
  position: "fixed",
@@ -44926,7 +44935,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
44926
44935
  style: {
44927
44936
  width: j,
44928
44937
  height: j,
44929
- color: Me ? ce : Ei ? H : O,
44938
+ color: Me ? ce : Ei ? D : O,
44930
44939
  backgroundColor: Me ? te : "transparent"
44931
44940
  },
44932
44941
  onMouseEnter: (ii) => {
@@ -45070,7 +45079,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45070
45079
  labelColor: N,
45071
45080
  placeholderColor: $,
45072
45081
  // Bordures et ombres
45073
- border: D,
45082
+ border: H,
45074
45083
  borderRadius: B = "var(--select-border-radius, 0.5rem)",
45075
45084
  borderWidth: P = "var(--select-border-width, 0.0625rem)",
45076
45085
  boxShadow: q = "var(--select-box-shadow, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1))",
@@ -45079,7 +45088,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45079
45088
  transitionTiming: F = "var(--select-transition-timing, ease)",
45080
45089
  // Scrollbars
45081
45090
  scrollbarWidth: K = "var(--select-scrollbar-width, 0.375rem)",
45082
- scrollbarTrackColor: H = "var(--select-scrollbar-track-color, #f1f1f1)",
45091
+ scrollbarTrackColor: D = "var(--select-scrollbar-track-color, #f1f1f1)",
45083
45092
  scrollbarThumbColor: O = "var(--select-scrollbar-thumb-color, #c1c1c1)",
45084
45093
  width: te,
45085
45094
  dropdownPosition: ce = "bottom",
@@ -45116,7 +45125,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45116
45125
  height: h,
45117
45126
  padding: p,
45118
45127
  backgroundColor: x || "var(--select-button-bg-color, #ffffff)",
45119
- border: D,
45128
+ border: H,
45120
45129
  borderColor: l ? A || "var(--select-error-color, #dc3545)" : I || "var(--select-button-border-color, #dee2e6)",
45121
45130
  color: L || "var(--select-button-text-color, #212529)",
45122
45131
  borderRadius: B,
@@ -45158,7 +45167,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45158
45167
  gap: v
45159
45168
  }, Ue = {
45160
45169
  "--scrollbar-width": K,
45161
- "--scrollbar-track-color": H,
45170
+ "--scrollbar-track-color": D,
45162
45171
  "--scrollbar-thumb-color": O
45163
45172
  };
45164
45173
  return /* @__PURE__ */ g(
@@ -45335,7 +45344,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45335
45344
  b,
45336
45345
  w && /* @__PURE__ */ s("div", { style: { marginLeft: "auto" }, children: w })
45337
45346
  ] });
45338
- }, ofe = "_container_2a42t_31", ife = "_disabled_2a42t_51", cfe = "_predStyle_2a42t_63", rfe = "_realStyle_2a42t_71", sfe = "_predGap_2a42t_79", dfe = "_realGap_2a42t_87", lfe = "_big_2a42t_97", hfe = "_medium_2a42t_105", pfe = "_iconWrapper_2a42t_115", ufe = "_predRelative_2a42t_135", yfe = "_realRelative_2a42t_143", kfe = "_iconImg_2a42t_151", mfe = "_content_2a42t_167", ffe = "_header_2a42t_185", gfe = "_predJustify_2a42t_197", vfe = "_realJustify_2a42t_205", Mfe = "_predHeaderLineHeight_2a42t_231", _fe = "_realHeaderLineHeight_2a42t_239", xfe = "_title_2a42t_257", wfe = "_titleBlack_2a42t_287", bfe = "_titleWhite_2a42t_295", Lfe = "_subtitle_2a42t_305", Cfe = "_valueRowHorizontal_2a42t_325", Ife = "_valueRowVertical_2a42t_341", Nfe = "_singleValue_2a42t_359", Sfe = "_primaryRow_2a42t_367", $fe = "_maxBadge_2a42t_381", qfe = "_valuePrimary_2a42t_405", Afe = "_valuePrimaryBlack_2a42t_419", zfe = "_valuePrimaryWhite_2a42t_427", Vfe = "_valueSlash_2a42t_437", Pfe = "_valueSecondary_2a42t_451", jfe = "_valueSecondaryBlue_2a42t_463", Tfe = "_valueSecondaryWhite_2a42t_471", Hfe = "_valueSecondaryBlack_2a42t_479", Dfe = "_valueStacked_2a42t_489", Bfe = "_stackedTop_2a42t_507", Rfe = "_stackedBottom_2a42t_509", re = {
45347
+ }, ofe = "_container_1h28m_31", ife = "_disabled_1h28m_51", cfe = "_predStyle_1h28m_63", rfe = "_realStyle_1h28m_71", sfe = "_predGap_1h28m_79", dfe = "_realGap_1h28m_87", lfe = "_big_1h28m_97", hfe = "_medium_1h28m_105", pfe = "_iconWrapper_1h28m_115", ufe = "_predRelative_1h28m_135", yfe = "_realRelative_1h28m_143", kfe = "_iconImg_1h28m_151", mfe = "_content_1h28m_167", ffe = "_header_1h28m_185", gfe = "_predJustify_1h28m_197", vfe = "_realJustify_1h28m_205", Mfe = "_predHeaderLineHeight_1h28m_231", _fe = "_realHeaderLineHeight_1h28m_239", xfe = "_title_1h28m_257", wfe = "_titleBlack_1h28m_287", bfe = "_titleWhite_1h28m_295", Lfe = "_subtitle_1h28m_305", Cfe = "_valueRowHorizontal_1h28m_325", Ife = "_valueRowVertical_1h28m_341", Nfe = "_singleValue_1h28m_359", Sfe = "_primaryRow_1h28m_367", $fe = "_maxBadge_1h28m_381", qfe = "_valuePrimary_1h28m_405", Afe = "_valuePrimaryBlack_1h28m_419", zfe = "_valuePrimaryWhite_1h28m_427", Vfe = "_valueSlash_1h28m_437", Pfe = "_valueSecondary_1h28m_451", jfe = "_valueSecondaryBlue_1h28m_463", Tfe = "_valueSecondaryWhite_1h28m_471", Hfe = "_valueSecondaryBlack_1h28m_479", Dfe = "_valueStacked_1h28m_489", Bfe = "_stackedTop_1h28m_507", Rfe = "_stackedBottom_1h28m_509", re = {
45339
45348
  container: ofe,
45340
45349
  disabled: ife,
45341
45350
  predStyle: cfe,
@@ -45404,16 +45413,16 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45404
45413
  justifyContent: A = "",
45405
45414
  headerLineHeight: N = "",
45406
45415
  headerMinHeight: $ = "",
45407
- contentSpace: D = ""
45416
+ contentSpace: H = ""
45408
45417
  }) => {
45409
- const B = o !== void 0 ? o : !!n, P = `${re.container} ${re[r]} ${re[u]} ${b ? re.disabled : ""}`, q = l === "white" ? re.valuePrimaryWhite : re.valuePrimaryBlack, j = l === "blue" ? re.valueSecondaryBlue : l === "white" ? re.valueSecondaryWhite : re.valueSecondaryBlack, F = (ce) => ce === void 0 ? void 0 : typeof ce == "number" ? `${ce}px` : ce, K = (ce) => ce === void 0 ? void 0 : ce, H = y === "vertical", O = c != null && c !== "" && c !== "-" && c !== "—", te = H ? re.valueRowVertical : re.valueRowHorizontal;
45418
+ const B = o !== void 0 ? o : !!n, P = `${re.container} ${re[r]} ${re[u]} ${b ? re.disabled : ""}`, q = l === "white" ? re.valuePrimaryWhite : re.valuePrimaryBlack, j = l === "blue" ? re.valueSecondaryBlue : l === "white" ? re.valueSecondaryWhite : re.valueSecondaryBlack, F = (ce) => ce === void 0 ? void 0 : typeof ce == "number" ? `${ce}px` : ce, K = (ce) => ce === void 0 ? void 0 : ce, D = y === "vertical", O = c != null && c !== "" && c !== "-" && c !== "—", te = D ? re.valueRowVertical : re.valueRowHorizontal;
45410
45419
  return /* @__PURE__ */ g("div", { className: `${P} ${p}`, style: { backgroundColor: C }, children: [
45411
45420
  e && /* @__PURE__ */ s("div", { className: `${re.iconWrapper} ${re[S]}`, children: e }),
45412
45421
  /* @__PURE__ */ g(
45413
45422
  "div",
45414
45423
  {
45415
45424
  className: `${re.content} ${re[w]} ${O ? "" : re.singleValue} content-indicator-v2`,
45416
- style: { justifyContent: D },
45425
+ style: { justifyContent: H },
45417
45426
  children: [
45418
45427
  /* @__PURE__ */ s(
45419
45428
  "div",
@@ -45454,7 +45463,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45454
45463
  className: `${re.valuePrimary} ${q}`,
45455
45464
  style: {
45456
45465
  fontSize: F(
45457
- v || (!O && H ? "1.75rem" : void 0)
45466
+ v || (!O && D ? "1.75rem" : void 0)
45458
45467
  ),
45459
45468
  fontWeight: K(x),
45460
45469
  color: h || void 0
@@ -45464,7 +45473,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45464
45473
  )
45465
45474
  ] }),
45466
45475
  O && /* @__PURE__ */ g(Oe, { children: [
45467
- !H && /* @__PURE__ */ s(
45476
+ !D && /* @__PURE__ */ s(
45468
45477
  "span",
45469
45478
  {
45470
45479
  className: re.valueSlash,
@@ -45546,12 +45555,12 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45546
45555
  /* @__PURE__ */ s(
45547
45556
  "span",
45548
45557
  {
45549
- className: Be.genre,
45558
+ className: `${Be.genre} genre-info-banner`,
45550
45559
  style: { color: "#ffffff", background: m, fontSize: f },
45551
45560
  children: t ?? "--"
45552
45561
  }
45553
45562
  ),
45554
- /* @__PURE__ */ s("span", { className: Be.gravite, children: n ?? "--" })
45563
+ /* @__PURE__ */ s("span", { className: `${Be.gravite} gravite-info-banner`, children: n ?? "--" })
45555
45564
  ] }),
45556
45565
  /* @__PURE__ */ s("div", { className: Be.orientationContainer, children: /* @__PURE__ */ s("div", { className: Be.service, style: { color: h }, children: r ?? "--" }) }),
45557
45566
  /* @__PURE__ */ g("div", { className: Be.roomBedContainer, children: [
@@ -45563,7 +45572,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45563
45572
  d ? /* @__PURE__ */ s(
45564
45573
  "div",
45565
45574
  {
45566
- className: Be.status,
45575
+ className: `${Be.status} status-info-banner`,
45567
45576
  style: {
45568
45577
  color: u,
45569
45578
  backgroundColor: y
@@ -45889,10 +45898,10 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45889
45898
  k(!0), L.length > 0 && M(L[0].toUpperCase()), x("");
45890
45899
  }, $ = () => {
45891
45900
  _ && v.trim() && (o(_, v.trim()), k(!1), M(""), x(""));
45892
- }, D = () => {
45901
+ }, H = () => {
45893
45902
  k(!1), M(""), x("");
45894
45903
  }, B = (P) => {
45895
- P.key === "Enter" ? $() : P.key === "Escape" && D();
45904
+ P.key === "Enter" ? $() : P.key === "Escape" && H();
45896
45905
  };
45897
45906
  return /* @__PURE__ */ g("div", { className: "translation-key-v2", children: [
45898
45907
  /* @__PURE__ */ g("div", { className: "header", children: [
@@ -45962,7 +45971,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
45962
45971
  ),
45963
45972
  /* @__PURE__ */ g("div", { className: "add-actions", children: [
45964
45973
  /* @__PURE__ */ s(mi, { size: 18, className: "action-icon confirm", onClick: $ }),
45965
- /* @__PURE__ */ s(it, { size: 18, className: "action-icon cancel", onClick: D })
45974
+ /* @__PURE__ */ s(it, { size: 18, className: "action-icon cancel", onClick: H })
45966
45975
  ] })
45967
45976
  ] }) : L.length > 0 && /* @__PURE__ */ g("button", { className: "add-translation-btn", onClick: N, children: [
45968
45977
  /* @__PURE__ */ s(Ko, { size: 16 }),
@@ -46215,9 +46224,9 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46215
46224
  }
46216
46225
  C.length > I.current.length && M(null);
46217
46226
  const q = () => {
46218
- const H = f.current, O = k.current;
46219
- if (!H || !O) return;
46220
- const te = O.getBoundingClientRect().width, ce = O.querySelector(`.${ae.actions}`), xe = ce ? ce.getBoundingClientRect().width : 80, mt = 56, we = c ? 80 : 0, $e = 16, Y = Array.from(H.querySelectorAll(`.${ae.tag}`));
46227
+ const D = f.current, O = k.current;
46228
+ if (!D || !O) return;
46229
+ const te = O.getBoundingClientRect().width, ce = O.querySelector(`.${ae.actions}`), xe = ce ? ce.getBoundingClientRect().width : 80, mt = 56, we = c ? 80 : 0, $e = 16, Y = Array.from(D.querySelectorAll(`.${ae.tag}`));
46221
46230
  Y.length === C.length && (I.current = Y.map((ke) => {
46222
46231
  const Ae = ke.getBoundingClientRect(), He = ke.scrollWidth;
46223
46232
  return Math.max(Ae.width, He, ke.offsetWidth || 0);
@@ -46268,7 +46277,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46268
46277
  o(j), u(""), M(null), h(!1);
46269
46278
  }, N = (q) => {
46270
46279
  q.preventDefault(), q.stopPropagation(), x((j) => !j);
46271
- }, $ = _ != null && _ < C.length ? C.slice(_) : [], D = (q, j) => {
46280
+ }, $ = _ != null && _ < C.length ? C.slice(_) : [], H = (q, j) => {
46272
46281
  j.stopPropagation();
46273
46282
  const F = C.filter((K) => K.value !== q);
46274
46283
  o(F);
@@ -46301,7 +46310,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46301
46310
  {
46302
46311
  type: "button",
46303
46312
  className: ae.removeBtn,
46304
- onClick: (F) => D(q.value, F),
46313
+ onClick: (F) => H(q.value, F),
46305
46314
  "aria-label": `Supprimer ${q.label}`,
46306
46315
  children: /* @__PURE__ */ s("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "currentColor", children: /* @__PURE__ */ s(
46307
46316
  "path",
@@ -46321,7 +46330,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46321
46330
  {
46322
46331
  type: "button",
46323
46332
  className: ae.removeBtn,
46324
- onClick: (F) => D(q.value, F),
46333
+ onClick: (F) => H(q.value, F),
46325
46334
  "aria-label": `Supprimer ${q.label}`,
46326
46335
  children: /* @__PURE__ */ s("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "currentColor", children: /* @__PURE__ */ s(
46327
46336
  "path",
@@ -46373,7 +46382,7 @@ const l6e = (e) => /* @__PURE__ */ J.createElement("svg", { xmlns: "http://www.w
46373
46382
  type: "button",
46374
46383
  className: ae.overflowDropdownItemRemove,
46375
46384
  onClick: (F) => {
46376
- F.stopPropagation(), D(q.value, F);
46385
+ F.stopPropagation(), H(q.value, F);
46377
46386
  },
46378
46387
  "aria-label": `Supprimer ${q.label}`,
46379
46388
  children: /* @__PURE__ */ s("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "currentColor", children: /* @__PURE__ */ s(