@choosemycompany/ui 0.15.0 → 0.15.2

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,4 +1,4 @@
1
- import { defineComponent as b, mergeModels as K, useModel as ne, computed as S, useSlots as Xt, createElementBlock as h, openBlock as L, normalizeClass as F, createCommentVNode as z, createElementVNode as I, toDisplayString as k, renderSlot as N, withDirectives as xe, unref as T, vModelDynamic as Qt, ref as W, shallowRef as yt, onMounted as vt, watch as wt, onUnmounted as xt, h as Q, nextTick as Wt, createBlock as J, Fragment as Z, renderList as U, useId as _e, createVNode as O, withCtx as Xe, vModelCheckbox as _t, createStaticVNode as Se, withModifiers as Ae, resolveDynamicComponent as Yt, vModelSelect as Jt, isRef as e0, watchEffect as t0, createTextVNode as n0, withKeys as ce } from "vue";
1
+ import { defineComponent as F, mergeModels as K, useModel as ne, computed as S, useSlots as Xt, createElementBlock as h, openBlock as L, normalizeClass as b, createCommentVNode as z, createElementVNode as I, toDisplayString as k, renderSlot as G, withDirectives as xe, unref as A, vModelDynamic as Qt, ref as W, shallowRef as yt, onMounted as vt, watch as wt, onUnmounted as xt, h as Q, nextTick as Wt, createBlock as J, Fragment as Z, renderList as U, useId as _e, createVNode as O, withCtx as Xe, vModelCheckbox as _t, createStaticVNode as Se, withModifiers as Ae, resolveDynamicComponent as Yt, vModelSelect as Jt, isRef as e0, watchEffect as t0, createTextVNode as n0, withKeys as ge } from "vue";
2
2
  import './assets/index.css';const St = {
3
3
  small: "small",
4
4
  medium: "medium"
@@ -7,7 +7,7 @@ import './assets/index.css';const St = {
7
7
  number: "number",
8
8
  date: "date",
9
9
  search: "search"
10
- }, ge = {
10
+ }, de = {
11
11
  outlined: "outlined",
12
12
  filled: "filled",
13
13
  underline: "underline"
@@ -17,7 +17,7 @@ import './assets/index.css';const St = {
17
17
  }, l0 = { class: "input__wrapper" }, i0 = ["id", "type", "placeholder", "required", "disabled", "aria-invalid", "min", "max"], s0 = {
18
18
  key: 2,
19
19
  class: "input__error-message"
20
- }, a0 = /* @__PURE__ */ b({
20
+ }, a0 = /* @__PURE__ */ F({
21
21
  name: "CmcInput",
22
22
  __name: "CmcInput",
23
23
  props: /* @__PURE__ */ K({
@@ -28,7 +28,7 @@ import './assets/index.css';const St = {
28
28
  disabled: { type: Boolean, default: !1 },
29
29
  errorMessage: {},
30
30
  type: { default: be.text },
31
- variant: { default: ge.underline },
31
+ variant: { default: de.underline },
32
32
  size: { default: St.medium },
33
33
  description: {},
34
34
  min: {},
@@ -45,14 +45,14 @@ import './assets/index.css';const St = {
45
45
  "input--required": t.required,
46
46
  "input--disabled": t.disabled,
47
47
  "input--error": l.value,
48
- "input--outlined": t.variant === ge.outlined,
49
- "input--underline": t.variant === ge.underline,
50
- "input--filled": t.variant === ge.filled,
48
+ "input--outlined": t.variant === de.outlined,
49
+ "input--underline": t.variant === de.underline,
50
+ "input--filled": t.variant === de.filled,
51
51
  "input--with-right-slot": a.value,
52
52
  "input--with-left-slot": u.value
53
53
  }));
54
54
  return (f, d) => (L(), h("div", {
55
- class: F(g.value)
55
+ class: b(g.value)
56
56
  }, [
57
57
  t.label ? (L(), h("label", {
58
58
  key: 0,
@@ -61,7 +61,7 @@ import './assets/index.css';const St = {
61
61
  }, k(t.label), 9, o0)) : z("", !0),
62
62
  t.description ? (L(), h("div", r0, k(t.description), 1)) : z("", !0),
63
63
  I("div", l0, [
64
- N(f.$slots, "left", {}, void 0, !0),
64
+ G(f.$slots, "left", {}, void 0, !0),
65
65
  xe(I("input", {
66
66
  "onUpdate:modelValue": d[0] || (d[0] = (c) => r.value = c),
67
67
  id: t.id,
@@ -70,13 +70,13 @@ import './assets/index.css';const St = {
70
70
  required: t.required,
71
71
  disabled: t.disabled,
72
72
  "aria-invalid": i.value,
73
- min: t.type === T(be).number ? t.min : void 0,
74
- max: t.type === T(be).number ? t.max : void 0,
73
+ min: t.type === A(be).number ? t.min : void 0,
74
+ max: t.type === A(be).number ? t.max : void 0,
75
75
  onBlur: d[1] || (d[1] = (c) => o("update:modelValue", r.value))
76
76
  }, null, 40, i0), [
77
77
  [Qt, r.value]
78
78
  ]),
79
- N(f.$slots, "right", {}, void 0, !0)
79
+ G(f.$slots, "right", {}, void 0, !0)
80
80
  ]),
81
81
  l.value ? (L(), h("div", s0, k(t.errorMessage), 1)) : z("", !0)
82
82
  ], 2));
@@ -102,7 +102,7 @@ import './assets/index.css';const St = {
102
102
  prefix: a,
103
103
  name: s
104
104
  };
105
- return n && !Le(u) ? null : u;
105
+ return n && !he(u) ? null : u;
106
106
  }
107
107
  const l = r[0], i = l.split("-");
108
108
  if (i.length > 1) {
@@ -111,7 +111,7 @@ import './assets/index.css';const St = {
111
111
  prefix: i.shift(),
112
112
  name: i.join("-")
113
113
  };
114
- return n && !Le(s) ? null : s;
114
+ return n && !he(s) ? null : s;
115
115
  }
116
116
  if (t && o === "") {
117
117
  const s = {
@@ -119,10 +119,10 @@ import './assets/index.css';const St = {
119
119
  prefix: "",
120
120
  name: l
121
121
  };
122
- return n && !Le(s, t) ? null : s;
122
+ return n && !he(s, t) ? null : s;
123
123
  }
124
124
  return null;
125
- }, Le = (e, n) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
125
+ }, he = (e, n) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
126
126
  // Check name: cannot be empty
127
127
  ((n && e.prefix === "" || e.prefix) && e.name) : !1, $t = Object.freeze(
128
128
  {
@@ -268,19 +268,19 @@ function p0(e, n, t) {
268
268
  }
269
269
  return !1;
270
270
  }
271
- let ue = !1;
271
+ let ce = !1;
272
272
  function Pt(e) {
273
- return typeof e == "boolean" && (ue = e), ue;
273
+ return typeof e == "boolean" && (ce = e), ce;
274
274
  }
275
275
  function C0(e) {
276
- const n = typeof e == "string" ? Me(e, !0, ue) : e;
276
+ const n = typeof e == "string" ? Me(e, !0, ce) : e;
277
277
  if (n) {
278
278
  const t = te(n.provider, n.prefix), o = n.name;
279
279
  return t.icons[o] || (t.missing.has(o) ? null : void 0);
280
280
  }
281
281
  }
282
282
  function m0(e, n) {
283
- const t = Me(e, !0, ue);
283
+ const t = Me(e, !0, ce);
284
284
  if (!t)
285
285
  return !1;
286
286
  const o = te(t.provider, t.prefix);
@@ -289,14 +289,14 @@ function m0(e, n) {
289
289
  function L0(e, n) {
290
290
  if (typeof e != "object")
291
291
  return !1;
292
- if (typeof n != "string" && (n = e.provider || ""), ue && !n && !e.prefix) {
292
+ if (typeof n != "string" && (n = e.provider || ""), ce && !n && !e.prefix) {
293
293
  let r = !1;
294
294
  return Ft(e) && (e.prefix = "", bt(e, (l, i) => {
295
295
  m0(l, i) && (r = !0);
296
296
  })), r;
297
297
  }
298
298
  const t = e.prefix;
299
- if (!Le({
299
+ if (!he({
300
300
  prefix: t,
301
301
  name: "a"
302
302
  }))
@@ -476,11 +476,11 @@ function Qe(e) {
476
476
  const We = /* @__PURE__ */ Object.create(null), oe = [
477
477
  "https://api.simplesvg.com",
478
478
  "https://api.unisvg.com"
479
- ], he = [];
479
+ ], ye = [];
480
480
  for (; oe.length > 0; )
481
- oe.length === 1 || Math.random() > 0.5 ? he.push(oe.shift()) : he.push(oe.pop());
481
+ oe.length === 1 || Math.random() > 0.5 ? ye.push(oe.shift()) : ye.push(oe.pop());
482
482
  We[""] = Qe({
483
- resources: ["https://api.iconify.design"].concat(he)
483
+ resources: ["https://api.iconify.design"].concat(ye)
484
484
  });
485
485
  function I0(e, n) {
486
486
  const t = Qe(n);
@@ -743,7 +743,7 @@ function N0(e, n, t, o) {
743
743
  }
744
744
  function R(M, E, q) {
745
745
  const ee = E !== "success";
746
- switch (d = d.filter((G) => G !== M), a) {
746
+ switch (d = d.filter((H) => H !== M), a) {
747
747
  case "pending":
748
748
  break;
749
749
  case "failed":
@@ -762,11 +762,11 @@ function N0(e, n, t, o) {
762
762
  return;
763
763
  }
764
764
  if (p(), _(), !e.random) {
765
- const G = e.resources.indexOf(M.resource);
766
- G !== -1 && G !== e.index && (e.index = G);
765
+ const H = e.resources.indexOf(M.resource);
766
+ H !== -1 && H !== e.index && (e.index = H);
767
767
  }
768
- a = "completed", c.forEach((G) => {
769
- G(q);
768
+ a = "completed", c.forEach((H) => {
769
+ H(q);
770
770
  });
771
771
  }
772
772
  function P() {
@@ -1074,10 +1074,10 @@ for (const e in dt) {
1074
1074
  for (const t in gt)
1075
1075
  n[e + t] = gt[t];
1076
1076
  }
1077
- const ye = {};
1077
+ const ve = {};
1078
1078
  ["horizontal", "vertical"].forEach((e) => {
1079
1079
  const n = e.slice(0, 1) + "Flip";
1080
- ye[e + "-flip"] = n, ye[e.slice(0, 1) + "-flip"] = n, ye[e + "Flip"] = n;
1080
+ ve[e + "-flip"] = n, ve[e.slice(0, 1) + "-flip"] = n, ve[e + "Flip"] = n;
1081
1081
  });
1082
1082
  function ft(e) {
1083
1083
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
@@ -1119,7 +1119,7 @@ const pt = (e, n) => {
1119
1119
  m !== !0 && m !== "true" && delete o["aria-hidden"];
1120
1120
  break;
1121
1121
  default: {
1122
- const y = ye[C];
1122
+ const y = ve[C];
1123
1123
  y ? (m === !0 || m === "true" || m === 1) && (t[y] = !0) : ct[C] === void 0 && (o[C] = m);
1124
1124
  }
1125
1125
  }
@@ -1184,7 +1184,7 @@ if (typeof document < "u" && typeof window < "u") {
1184
1184
  const an = {
1185
1185
  ...Re,
1186
1186
  body: ""
1187
- }, un = b((e, { emit: n }) => {
1187
+ }, un = F((e, { emit: n }) => {
1188
1188
  const t = W(null);
1189
1189
  function o() {
1190
1190
  t.value && (t.value.abort?.(), t.value = null);
@@ -1291,7 +1291,7 @@ const an = {
1291
1291
  primary: "primary",
1292
1292
  secondary: "secondary",
1293
1293
  light: "light"
1294
- }, cn = /* @__PURE__ */ b({
1294
+ }, cn = /* @__PURE__ */ F({
1295
1295
  name: "CmcIcon",
1296
1296
  __name: "CmcIcon",
1297
1297
  props: {
@@ -1303,12 +1303,12 @@ const an = {
1303
1303
  "cmc-icon": !0,
1304
1304
  [`cmc-icon--${n.color}`]: n.color
1305
1305
  })), o = S(() => Ct[n.name]);
1306
- return (r, l) => (L(), J(T(un), {
1307
- class: F(t.value),
1306
+ return (r, l) => (L(), J(A(un), {
1307
+ class: b(t.value),
1308
1308
  icon: o.value
1309
1309
  }, null, 8, ["class", "icon"]));
1310
1310
  }
1311
- }), Y = /* @__PURE__ */ $(cn, [["__scopeId", "data-v-3d2e1b1f"]]), gn = { key: 1 }, dn = /* @__PURE__ */ b({
1311
+ }), Y = /* @__PURE__ */ $(cn, [["__scopeId", "data-v-3d2e1b1f"]]), gn = { key: 1 }, dn = /* @__PURE__ */ F({
1312
1312
  __name: "HighlightText",
1313
1313
  props: {
1314
1314
  text: {},
@@ -1341,7 +1341,7 @@ const an = {
1341
1341
  return (o, r) => (L(!0), h(Z, null, U(t(n.text, n.searchTerm), (l, i) => (L(), h(Z, { key: i }, [
1342
1342
  l.isHighlighted ? (L(), h("span", {
1343
1343
  key: 0,
1344
- class: F(["highlight__match", e.highlightClass])
1344
+ class: b(["highlight__match", e.highlightClass])
1345
1345
  }, k(l.text), 3)) : (L(), h("span", gn, k(l.text), 1))
1346
1346
  ], 64))), 128));
1347
1347
  }
@@ -1352,7 +1352,7 @@ const an = {
1352
1352
  }, Cn = { key: 1 }, mn = ["onClick"], Ln = {
1353
1353
  key: 2,
1354
1354
  class: "autocomplete__list--no-results"
1355
- }, hn = /* @__PURE__ */ b({
1355
+ }, hn = /* @__PURE__ */ F({
1356
1356
  name: "CmcAutocomplete",
1357
1357
  __name: "CmcAutocomplete",
1358
1358
  props: /* @__PURE__ */ K({
@@ -1401,7 +1401,7 @@ const an = {
1401
1401
  return (y, x) => (L(), h("div", {
1402
1402
  ref_key: "autocompleteRef",
1403
1403
  ref: s,
1404
- class: F(C.value),
1404
+ class: b(C.value),
1405
1405
  onKeydown: d
1406
1406
  }, [
1407
1407
  O(Mt, {
@@ -1419,7 +1419,7 @@ const an = {
1419
1419
  }, {
1420
1420
  right: Xe(() => [
1421
1421
  O(Y, {
1422
- class: F(m.value),
1422
+ class: b(m.value),
1423
1423
  "aria-hidden": "true",
1424
1424
  color: "light",
1425
1425
  name: "chevronDown",
@@ -1459,7 +1459,7 @@ const an = {
1459
1459
  }, wn = {
1460
1460
  small: "small",
1461
1461
  medium: "medium"
1462
- }, xn = ["disabled"], _n = { class: "button__icon" }, Sn = /* @__PURE__ */ b({
1462
+ }, xn = ["disabled"], _n = { class: "button__icon" }, Sn = /* @__PURE__ */ F({
1463
1463
  name: "CmcButton",
1464
1464
  __name: "CmcButton",
1465
1465
  props: {
@@ -1483,7 +1483,7 @@ const an = {
1483
1483
  };
1484
1484
  return (s, a) => (L(), h("button", {
1485
1485
  type: "button",
1486
- class: F(r.value),
1486
+ class: b(r.value),
1487
1487
  onClick: i,
1488
1488
  disabled: t.disabled
1489
1489
  }, [
@@ -1493,12 +1493,12 @@ const an = {
1493
1493
  name: l()
1494
1494
  }, null, 8, ["name"])) : z("", !0)
1495
1495
  ]),
1496
- N(s.$slots, "default", {}, void 0, !0)
1496
+ G(s.$slots, "default", {}, void 0, !0)
1497
1497
  ], 10, xn));
1498
1498
  }
1499
1499
  }), Jo = /* @__PURE__ */ $(Sn, [["__scopeId", "data-v-d1e66acd"]]), Ot = {
1500
1500
  medium: "medium"
1501
- }, Mn = /* @__PURE__ */ b({
1501
+ }, Mn = /* @__PURE__ */ F({
1502
1502
  name: "CmcButtonGroup",
1503
1503
  __name: "CmcButtonGroup",
1504
1504
  props: {
@@ -1510,9 +1510,9 @@ const an = {
1510
1510
  [`button-group-gap--${n.gap}`]: !0
1511
1511
  }));
1512
1512
  return (o, r) => (L(), h("div", {
1513
- class: F(t.value)
1513
+ class: b(t.value)
1514
1514
  }, [
1515
- N(o.$slots, "default", {}, void 0, !0)
1515
+ G(o.$slots, "default", {}, void 0, !0)
1516
1516
  ], 2));
1517
1517
  }
1518
1518
  }), Rn = /* @__PURE__ */ $(Mn, [["__scopeId", "data-v-e9a8f405"]]), $n = ` <svg
@@ -1797,7 +1797,7 @@ const an = {
1797
1797
  </g>
1798
1798
  </g>
1799
1799
  </svg>
1800
- `, H = {
1800
+ `, B = {
1801
1801
  employees: "employees",
1802
1802
  trainees: "trainees",
1803
1803
  candidates: "candidates",
@@ -1810,11 +1810,11 @@ const an = {
1810
1810
  silver: "silver",
1811
1811
  gold: "gold",
1812
1812
  platinum: "platinum"
1813
- }, bn = "#0302F5", Fn = "#E6007E", In = "#FC435C", Pn = "#19BAA3", zn = "#009FE3", Vn = "#739099", kn = "#82368C", En = ["innerHTML"], er = /* @__PURE__ */ b({
1813
+ }, bn = "#0302F5", Fn = "#E6007E", In = "#FC435C", Pn = "#19BAA3", zn = "#009FE3", Vn = "#739099", kn = "#82368C", En = ["innerHTML"], er = /* @__PURE__ */ F({
1814
1814
  name: "CmcCertificate",
1815
1815
  __name: "CmcCertificate",
1816
1816
  props: {
1817
- primaryType: { default: H.employees },
1817
+ primaryType: { default: B.employees },
1818
1818
  rank: { default: le.bronze },
1819
1819
  period: { default: 2026 },
1820
1820
  country: { default: "France" },
@@ -1844,16 +1844,16 @@ const an = {
1844
1844
  className: "rank-platinum"
1845
1845
  }
1846
1846
  }, o = {
1847
- [H.employees]: bn,
1848
- [H.candidates]: Pn,
1849
- [H.trainees]: In,
1850
- [H.clients]: Vn,
1851
- [H.shareholders]: kn,
1852
- [H.students]: Fn,
1853
- [H.suppliers]: zn
1847
+ [B.employees]: bn,
1848
+ [B.candidates]: Pn,
1849
+ [B.trainees]: In,
1850
+ [B.clients]: Vn,
1851
+ [B.shareholders]: kn,
1852
+ [B.students]: Fn,
1853
+ [B.suppliers]: zn
1854
1854
  }, r = S(() => o[n.primaryType]), l = S(() => {
1855
1855
  let i = $n;
1856
- if (n.primaryType === H.employees) {
1856
+ if (n.primaryType === B.employees) {
1857
1857
  i = i.replace(/separator-2"/g, 'separator-2" style="opacity:0"').replace(
1858
1858
  /class="background-circle-rank" opacity="0"/g,
1859
1859
  'class="background-circle-rank"'
@@ -1891,7 +1891,7 @@ function On(e, n) {
1891
1891
  }, null, -1)
1892
1892
  ])]);
1893
1893
  }
1894
- const An = /* @__PURE__ */ $(Zn, [["render", On]]), Tn = ["id", "disabled", "required"], Gn = /* @__PURE__ */ b({
1894
+ const An = /* @__PURE__ */ $(Zn, [["render", On]]), Tn = ["id", "disabled", "required"], Gn = /* @__PURE__ */ F({
1895
1895
  name: "CmcCheckbox",
1896
1896
  __name: "CmcCheckbox",
1897
1897
  props: /* @__PURE__ */ K({
@@ -1910,7 +1910,7 @@ const An = /* @__PURE__ */ $(Zn, [["render", On]]), Tn = ["id", "disabled", "req
1910
1910
  "checkbox--required": n.required
1911
1911
  }));
1912
1912
  return (l, i) => (L(), h("div", {
1913
- class: F(r.value)
1913
+ class: b(r.value)
1914
1914
  }, [
1915
1915
  xe(I("input", {
1916
1916
  "onUpdate:modelValue": i[0] || (i[0] = (s) => t.value = s),
@@ -1928,11 +1928,12 @@ const An = /* @__PURE__ */ $(Zn, [["render", On]]), Tn = ["id", "disabled", "req
1928
1928
  })) : z("", !0)
1929
1929
  ], 2));
1930
1930
  }
1931
- }), tr = /* @__PURE__ */ $(Gn, [["__scopeId", "data-v-b4e66a74"]]), ve = {
1931
+ }), tr = /* @__PURE__ */ $(Gn, [["__scopeId", "data-v-b4e66a74"]]), se = {
1932
1932
  h1: "h1",
1933
1933
  h2: "h2",
1934
- h3: "h3"
1935
- }, Hn = /* @__PURE__ */ b({
1934
+ h3: "h3",
1935
+ h4: "h4"
1936
+ }, Hn = /* @__PURE__ */ F({
1936
1937
  name: "CmcHeading",
1937
1938
  __name: "CmcHeading",
1938
1939
  props: {
@@ -1944,27 +1945,33 @@ const An = /* @__PURE__ */ $(Zn, [["render", On]]), Tn = ["id", "disabled", "req
1944
1945
  [`heading-${n.level}`]: !0
1945
1946
  }));
1946
1947
  return (o, r) => (L(), h(Z, null, [
1947
- T(ve).h1 === n.level ? (L(), h("h1", {
1948
+ A(se).h1 === n.level ? (L(), h("h1", {
1948
1949
  key: 0,
1949
- class: F(t.value)
1950
+ class: b(t.value)
1950
1951
  }, [
1951
- N(o.$slots, "default", {}, void 0, !0)
1952
+ G(o.$slots, "default", {}, void 0, !0)
1952
1953
  ], 2)) : z("", !0),
1953
- T(ve).h2 === n.level ? (L(), h("h2", {
1954
+ A(se).h2 === n.level ? (L(), h("h2", {
1954
1955
  key: 1,
1955
- class: F(t.value)
1956
+ class: b(t.value)
1956
1957
  }, [
1957
- N(o.$slots, "default", {}, void 0, !0)
1958
+ G(o.$slots, "default", {}, void 0, !0)
1958
1959
  ], 2)) : z("", !0),
1959
- T(ve).h3 === n.level ? (L(), h("h3", {
1960
+ A(se).h3 === n.level ? (L(), h("h3", {
1960
1961
  key: 2,
1961
- class: F(t.value)
1962
+ class: b(t.value)
1962
1963
  }, [
1963
- N(o.$slots, "default", {}, void 0, !0)
1964
+ G(o.$slots, "default", {}, void 0, !0)
1965
+ ], 2)) : z("", !0),
1966
+ A(se).h4 === n.level ? (L(), h("h4", {
1967
+ key: 3,
1968
+ class: b(t.value)
1969
+ }, [
1970
+ G(o.$slots, "default", {}, void 0, !0)
1964
1971
  ], 2)) : z("", !0)
1965
1972
  ], 64));
1966
1973
  }
1967
- }), Bn = /* @__PURE__ */ $(Hn, [["__scopeId", "data-v-be07be05"]]), Nn = "https://cmc-ui-assets.s3.fr-par.scw.cloud/", Un = ["src"], qn = /* @__PURE__ */ b({
1974
+ }), Bn = /* @__PURE__ */ $(Hn, [["__scopeId", "data-v-13ea1463"]]), Nn = "https://cmc-ui-assets.s3.fr-par.scw.cloud/", Un = ["src"], qn = /* @__PURE__ */ F({
1968
1975
  name: "CmcLoading",
1969
1976
  __name: "CmcLoading",
1970
1977
  setup(e) {
@@ -1972,7 +1979,7 @@ const An = /* @__PURE__ */ $(Zn, [["render", On]]), Tn = ["id", "disabled", "req
1972
1979
  loading: !0
1973
1980
  }));
1974
1981
  return (o, r) => (L(), h("img", {
1975
- class: F(t.value),
1982
+ class: b(t.value),
1976
1983
  alt: "CMC Logo Loader",
1977
1984
  src: n.value
1978
1985
  }, null, 10, Un));
@@ -2025,7 +2032,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
2025
2032
  fr_FR_white: e1,
2026
2033
  en_US_color: r1,
2027
2034
  en_US_white: a1
2028
- }, f1 = ["href"], p1 = /* @__PURE__ */ b({
2035
+ }, f1 = ["href"], p1 = /* @__PURE__ */ F({
2029
2036
  name: "CmcLogo",
2030
2037
  __name: "CmcLogo",
2031
2038
  props: {
@@ -2044,7 +2051,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
2044
2051
  };
2045
2052
  return (a, u) => (L(), h("a", {
2046
2053
  href: t.href,
2047
- class: F(r.value),
2054
+ class: b(r.value),
2048
2055
  onClick: Ae(s, ["prevent"])
2049
2056
  }, [
2050
2057
  (L(), J(Yt(i.value)))
@@ -2053,7 +2060,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
2053
2060
  }), or = /* @__PURE__ */ $(p1, [["__scopeId", "data-v-cc384ddd"]]), C1 = { class: "pagination" }, m1 = ["disabled"], L1 = ["onClick"], h1 = {
2054
2061
  key: 1,
2055
2062
  class: "pagination__ellipsis"
2056
- }, y1 = ["disabled"], v1 = 2, w1 = /* @__PURE__ */ b({
2063
+ }, y1 = ["disabled"], v1 = 2, w1 = /* @__PURE__ */ F({
2057
2064
  name: "CmcPagination",
2058
2065
  __name: "CmcPagination",
2059
2066
  props: {
@@ -2091,7 +2098,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
2091
2098
  };
2092
2099
  return (d, c) => (L(), h("nav", C1, [
2093
2100
  I("button", {
2094
- class: F(["pagination__page-button", { "is-invisible": !a.value }]),
2101
+ class: b(["pagination__page-button", { "is-invisible": !a.value }]),
2095
2102
  disabled: !a.value,
2096
2103
  "aria-label": "Page précédente",
2097
2104
  onClick: g
@@ -2099,19 +2106,19 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
2099
2106
  (L(!0), h(Z, null, U(s.value, (p, C) => (L(), h(Z, { key: C }, [
2100
2107
  typeof p == "number" ? (L(), h("button", {
2101
2108
  key: 0,
2102
- class: F(["pagination__page-button", { "is-active": p === l() }]),
2109
+ class: b(["pagination__page-button", { "is-active": p === l() }]),
2103
2110
  onClick: () => o("update:currentPage", p)
2104
2111
  }, k(p), 11, L1)) : (L(), h("span", h1, "…"))
2105
2112
  ], 64))), 128)),
2106
2113
  I("button", {
2107
- class: F(["pagination__page-button", { "is-invisible": !u.value }]),
2114
+ class: b(["pagination__page-button", { "is-invisible": !u.value }]),
2108
2115
  disabled: !u.value,
2109
2116
  "aria-label": "Page suivante",
2110
2117
  onClick: f
2111
2118
  }, " › ", 10, y1)
2112
2119
  ]));
2113
2120
  }
2114
- }), x1 = /* @__PURE__ */ $(w1, [["__scopeId", "data-v-8be37a19"]]), _1 = /* @__PURE__ */ b({
2121
+ }), x1 = /* @__PURE__ */ $(w1, [["__scopeId", "data-v-8be37a19"]]), _1 = /* @__PURE__ */ F({
2115
2122
  name: "CmcSearch",
2116
2123
  __name: "CmcSearch",
2117
2124
  props: /* @__PURE__ */ K({
@@ -2130,7 +2137,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
2130
2137
  n.variant ? `search-bar--${n.variant}` : null
2131
2138
  ]), r = _e(), l = S(() => `cmc-search-${r}`);
2132
2139
  return (i, s) => (L(), h("div", {
2133
- class: F(o.value),
2140
+ class: b(o.value),
2134
2141
  role: "search"
2135
2142
  }, [
2136
2143
  O(Mt, {
@@ -2155,7 +2162,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
2155
2162
  }, 8, ["id", "modelValue", "placeholder", "size", "variant"])
2156
2163
  ], 2));
2157
2164
  }
2158
- }), rr = /* @__PURE__ */ $(_1, [["__scopeId", "data-v-e1ba89eb"]]), de = {
2165
+ }), rr = /* @__PURE__ */ $(_1, [["__scopeId", "data-v-e1ba89eb"]]), fe = {
2159
2166
  outlined: "outlined",
2160
2167
  filled: "filled",
2161
2168
  underline: "underline"
@@ -2169,7 +2176,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
2169
2176
  }, F1 = ["value", "disabled"], I1 = {
2170
2177
  key: 2,
2171
2178
  class: "select__error-wrapper"
2172
- }, P1 = /* @__PURE__ */ b({
2179
+ }, P1 = /* @__PURE__ */ F({
2173
2180
  name: "CmcSelect",
2174
2181
  __name: "CmcSelect",
2175
2182
  props: /* @__PURE__ */ K({
@@ -2180,7 +2187,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
2180
2187
  required: { type: Boolean, default: !1 },
2181
2188
  disabled: { type: Boolean, default: !1 },
2182
2189
  errorMessage: {},
2183
- variant: { default: de.outlined },
2190
+ variant: { default: fe.outlined },
2184
2191
  description: {}
2185
2192
  }, {
2186
2193
  modelValue: { default: "" },
@@ -2192,12 +2199,12 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
2192
2199
  select: !0,
2193
2200
  "select--disabled": n.disabled,
2194
2201
  "select--error": o.value,
2195
- "select--outlined": n.variant === de.outlined,
2196
- "select--underline": n.variant === de.underline,
2197
- "select--filled": n.variant === de.filled
2202
+ "select--outlined": n.variant === fe.outlined,
2203
+ "select--underline": n.variant === fe.underline,
2204
+ "select--filled": n.variant === fe.filled
2198
2205
  }));
2199
2206
  return (l, i) => (L(), h("div", {
2200
- class: F(r.value)
2207
+ class: b(r.value)
2201
2208
  }, [
2202
2209
  e.label ? (L(), h("label", {
2203
2210
  key: 0,
@@ -2236,7 +2243,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
2236
2243
  success: "success",
2237
2244
  danger: "danger",
2238
2245
  warning: "warning"
2239
- }, V1 = { class: "status__label" }, k1 = /* @__PURE__ */ b({
2246
+ }, V1 = { class: "status__label" }, k1 = /* @__PURE__ */ F({
2240
2247
  name: "CmcStatus",
2241
2248
  __name: "CmcStatus",
2242
2249
  props: {
@@ -2249,7 +2256,7 @@ const a1 = /* @__PURE__ */ $(l1, [["render", s1]]), u1 = {
2249
2256
  [`status--${n.status}`]: !0
2250
2257
  }));
2251
2258
  return (o, r) => (L(), h("div", {
2252
- class: F(t.value)
2259
+ class: b(t.value)
2253
2260
  }, [
2254
2261
  r[0] || (r[0] = I("span", { class: "status__dot" }, null, -1)),
2255
2262
  I("span", V1, k(n.text), 1)
@@ -2425,15 +2432,15 @@ const A1 = {
2425
2432
  e.getHeaderGroups = v(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, t, o, r) => {
2426
2433
  var l, i;
2427
2434
  const s = (l = o?.map((f) => t.find((d) => d.id === f)).filter(Boolean)) != null ? l : [], a = (i = r?.map((f) => t.find((d) => d.id === f)).filter(Boolean)) != null ? i : [], u = t.filter((f) => !(o != null && o.includes(f.id)) && !(r != null && r.includes(f.id)));
2428
- return fe(n, [...s, ...u, ...a], e);
2429
- }, w(e.options, V, "getHeaderGroups")), e.getCenterHeaderGroups = v(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, t, o, r) => (t = t.filter((l) => !(o != null && o.includes(l.id)) && !(r != null && r.includes(l.id))), fe(n, t, e, "center")), w(e.options, V, "getCenterHeaderGroups")), e.getLeftHeaderGroups = v(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (n, t, o) => {
2435
+ return pe(n, [...s, ...u, ...a], e);
2436
+ }, w(e.options, V, "getHeaderGroups")), e.getCenterHeaderGroups = v(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, t, o, r) => (t = t.filter((l) => !(o != null && o.includes(l.id)) && !(r != null && r.includes(l.id))), pe(n, t, e, "center")), w(e.options, V, "getCenterHeaderGroups")), e.getLeftHeaderGroups = v(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (n, t, o) => {
2430
2437
  var r;
2431
2438
  const l = (r = o?.map((i) => t.find((s) => s.id === i)).filter(Boolean)) != null ? r : [];
2432
- return fe(n, l, e, "left");
2439
+ return pe(n, l, e, "left");
2433
2440
  }, w(e.options, V, "getLeftHeaderGroups")), e.getRightHeaderGroups = v(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.right], (n, t, o) => {
2434
2441
  var r;
2435
2442
  const l = (r = o?.map((i) => t.find((s) => s.id === i)).filter(Boolean)) != null ? r : [];
2436
- return fe(n, l, e, "right");
2443
+ return pe(n, l, e, "right");
2437
2444
  }, w(e.options, V, "getRightHeaderGroups")), e.getFooterGroups = v(() => [e.getHeaderGroups()], (n) => [...n].reverse(), w(e.options, V, "getFooterGroups")), e.getLeftFooterGroups = v(() => [e.getLeftHeaderGroups()], (n) => [...n].reverse(), w(e.options, V, "getLeftFooterGroups")), e.getCenterFooterGroups = v(() => [e.getCenterHeaderGroups()], (n) => [...n].reverse(), w(e.options, V, "getCenterFooterGroups")), e.getRightFooterGroups = v(() => [e.getRightHeaderGroups()], (n) => [...n].reverse(), w(e.options, V, "getRightFooterGroups")), e.getFlatHeaders = v(() => [e.getHeaderGroups()], (n) => n.map((t) => t.headers).flat(), w(e.options, V, "getFlatHeaders")), e.getLeftFlatHeaders = v(() => [e.getLeftHeaderGroups()], (n) => n.map((t) => t.headers).flat(), w(e.options, V, "getLeftFlatHeaders")), e.getCenterFlatHeaders = v(() => [e.getCenterHeaderGroups()], (n) => n.map((t) => t.headers).flat(), w(e.options, V, "getCenterFlatHeaders")), e.getRightFlatHeaders = v(() => [e.getRightHeaderGroups()], (n) => n.map((t) => t.headers).flat(), w(e.options, V, "getRightFlatHeaders")), e.getCenterLeafHeaders = v(() => [e.getCenterFlatHeaders()], (n) => n.filter((t) => {
2438
2445
  var o;
2439
2446
  return !((o = t.subHeaders) != null && o.length);
@@ -2449,7 +2456,7 @@ const A1 = {
2449
2456
  }, w(e.options, V, "getLeafHeaders"));
2450
2457
  }
2451
2458
  };
2452
- function fe(e, n, t, o) {
2459
+ function pe(e, n, t, o) {
2453
2460
  var r, l;
2454
2461
  let i = 0;
2455
2462
  const s = function(d, c) {
@@ -2564,36 +2571,36 @@ const T1 = (e, n, t, o, r, l, i) => {
2564
2571
  const l = t == null || (o = t.toString()) == null ? void 0 : o.toLowerCase();
2565
2572
  return !!(!((r = e.getValue(n)) == null || (r = r.toString()) == null || (r = r.toLowerCase()) == null) && r.includes(l));
2566
2573
  };
2567
- At.autoRemove = (e) => A(e);
2574
+ At.autoRemove = (e) => T(e);
2568
2575
  const Tt = (e, n, t) => {
2569
2576
  var o;
2570
2577
  return !!(!((o = e.getValue(n)) == null || (o = o.toString()) == null) && o.includes(t));
2571
2578
  };
2572
- Tt.autoRemove = (e) => A(e);
2579
+ Tt.autoRemove = (e) => T(e);
2573
2580
  const Gt = (e, n, t) => {
2574
2581
  var o;
2575
2582
  return ((o = e.getValue(n)) == null || (o = o.toString()) == null ? void 0 : o.toLowerCase()) === t?.toLowerCase();
2576
2583
  };
2577
- Gt.autoRemove = (e) => A(e);
2584
+ Gt.autoRemove = (e) => T(e);
2578
2585
  const Ht = (e, n, t) => {
2579
2586
  var o;
2580
2587
  return (o = e.getValue(n)) == null ? void 0 : o.includes(t);
2581
2588
  };
2582
- Ht.autoRemove = (e) => A(e);
2589
+ Ht.autoRemove = (e) => T(e);
2583
2590
  const Bt = (e, n, t) => !t.some((o) => {
2584
2591
  var r;
2585
2592
  return !((r = e.getValue(n)) != null && r.includes(o));
2586
2593
  });
2587
- Bt.autoRemove = (e) => A(e) || !(e != null && e.length);
2594
+ Bt.autoRemove = (e) => T(e) || !(e != null && e.length);
2588
2595
  const Nt = (e, n, t) => t.some((o) => {
2589
2596
  var r;
2590
2597
  return (r = e.getValue(n)) == null ? void 0 : r.includes(o);
2591
2598
  });
2592
- Nt.autoRemove = (e) => A(e) || !(e != null && e.length);
2599
+ Nt.autoRemove = (e) => T(e) || !(e != null && e.length);
2593
2600
  const Ut = (e, n, t) => e.getValue(n) === t;
2594
- Ut.autoRemove = (e) => A(e);
2601
+ Ut.autoRemove = (e) => T(e);
2595
2602
  const qt = (e, n, t) => e.getValue(n) == t;
2596
- qt.autoRemove = (e) => A(e);
2603
+ qt.autoRemove = (e) => T(e);
2597
2604
  const Je = (e, n, t) => {
2598
2605
  let [o, r] = t;
2599
2606
  const l = e.getValue(n);
@@ -2607,8 +2614,8 @@ Je.resolveFilterValue = (e) => {
2607
2614
  }
2608
2615
  return [l, i];
2609
2616
  };
2610
- Je.autoRemove = (e) => A(e) || A(e[0]) && A(e[1]);
2611
- const B = {
2617
+ Je.autoRemove = (e) => T(e) || T(e[0]) && T(e[1]);
2618
+ const N = {
2612
2619
  includesString: At,
2613
2620
  includesStringSensitive: Tt,
2614
2621
  equalsString: Gt,
@@ -2619,7 +2626,7 @@ const B = {
2619
2626
  weakEquals: qt,
2620
2627
  inNumberRange: Je
2621
2628
  };
2622
- function A(e) {
2629
+ function T(e) {
2623
2630
  return e == null || e === "";
2624
2631
  }
2625
2632
  const H1 = {
@@ -2638,12 +2645,12 @@ const H1 = {
2638
2645
  createColumn: (e, n) => {
2639
2646
  e.getAutoFilterFn = () => {
2640
2647
  const t = n.getCoreRowModel().flatRows[0], o = t?.getValue(e.id);
2641
- return typeof o == "string" ? B.includesString : typeof o == "number" ? B.inNumberRange : typeof o == "boolean" || o !== null && typeof o == "object" ? B.equals : Array.isArray(o) ? B.arrIncludes : B.weakEquals;
2648
+ return typeof o == "string" ? N.includesString : typeof o == "number" ? N.inNumberRange : typeof o == "boolean" || o !== null && typeof o == "object" ? N.equals : Array.isArray(o) ? N.arrIncludes : N.weakEquals;
2642
2649
  }, e.getFilterFn = () => {
2643
2650
  var t, o;
2644
2651
  return $e(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
2645
2652
  // @ts-ignore
2646
- (t = (o = n.options.filterFns) == null ? void 0 : o[e.columnDef.filterFn]) != null ? t : B[e.columnDef.filterFn]
2653
+ (t = (o = n.options.filterFns) == null ? void 0 : o[e.columnDef.filterFn]) != null ? t : N[e.columnDef.filterFn]
2647
2654
  );
2648
2655
  }, e.getCanFilter = () => {
2649
2656
  var t, o, r;
@@ -2829,12 +2836,12 @@ const eo = {
2829
2836
  onColumnOrderChange: D("columnOrder", e)
2830
2837
  }),
2831
2838
  createColumn: (e, n) => {
2832
- e.getIndex = v((t) => [ae(n, t)], (t) => t.findIndex((o) => o.id === e.id), w(n.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (t) => {
2839
+ e.getIndex = v((t) => [ue(n, t)], (t) => t.findIndex((o) => o.id === e.id), w(n.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (t) => {
2833
2840
  var o;
2834
- return ((o = ae(n, t)[0]) == null ? void 0 : o.id) === e.id;
2841
+ return ((o = ue(n, t)[0]) == null ? void 0 : o.id) === e.id;
2835
2842
  }, e.getIsLastColumn = (t) => {
2836
2843
  var o;
2837
- const r = ae(n, t);
2844
+ const r = ue(n, t);
2838
2845
  return ((o = r[r.length - 1]) == null ? void 0 : o.id) === e.id;
2839
2846
  };
2840
2847
  },
@@ -2940,7 +2947,7 @@ const eo = {
2940
2947
  function no(e) {
2941
2948
  return e || (typeof document < "u" ? document : null);
2942
2949
  }
2943
- const pe = {
2950
+ const Ce = {
2944
2951
  size: 150,
2945
2952
  minSize: 20,
2946
2953
  maxSize: Number.MAX_SAFE_INTEGER
@@ -2952,7 +2959,7 @@ const pe = {
2952
2959
  isResizingColumn: !1,
2953
2960
  columnSizingStart: []
2954
2961
  }), oo = {
2955
- getDefaultColumnDef: () => pe,
2962
+ getDefaultColumnDef: () => Ce,
2956
2963
  getInitialState: (e) => ({
2957
2964
  columnSizing: {},
2958
2965
  columnSizingInfo: Ve(),
@@ -2968,8 +2975,8 @@ const pe = {
2968
2975
  e.getSize = () => {
2969
2976
  var t, o, r;
2970
2977
  const l = n.getState().columnSizing[e.id];
2971
- return Math.min(Math.max((t = e.columnDef.minSize) != null ? t : pe.minSize, (o = l ?? e.columnDef.size) != null ? o : pe.size), (r = e.columnDef.maxSize) != null ? r : pe.maxSize);
2972
- }, e.getStart = v((t) => [t, ae(n, t), n.getState().columnSizing], (t, o) => o.slice(0, e.getIndex(t)).reduce((r, l) => r + l.getSize(), 0), w(n.options, "debugColumns", "getStart")), e.getAfter = v((t) => [t, ae(n, t), n.getState().columnSizing], (t, o) => o.slice(e.getIndex(t) + 1).reduce((r, l) => r + l.getSize(), 0), w(n.options, "debugColumns", "getAfter")), e.resetSize = () => {
2978
+ return Math.min(Math.max((t = e.columnDef.minSize) != null ? t : Ce.minSize, (o = l ?? e.columnDef.size) != null ? o : Ce.size), (r = e.columnDef.maxSize) != null ? r : Ce.maxSize);
2979
+ }, e.getStart = v((t) => [t, ue(n, t), n.getState().columnSizing], (t, o) => o.slice(0, e.getIndex(t)).reduce((r, l) => r + l.getSize(), 0), w(n.options, "debugColumns", "getStart")), e.getAfter = v((t) => [t, ue(n, t), n.getState().columnSizing], (t, o) => o.slice(e.getIndex(t) + 1).reduce((r, l) => r + l.getSize(), 0), w(n.options, "debugColumns", "getAfter")), e.resetSize = () => {
2973
2980
  n.setColumnSizing((t) => {
2974
2981
  let {
2975
2982
  [e.id]: o,
@@ -3010,8 +3017,8 @@ const pe = {
3010
3017
  var R, P;
3011
3018
  const M = n.options.columnResizeDirection === "rtl" ? -1 : 1, E = (x - ((R = _?.startOffset) != null ? R : 0)) * M, q = Math.max(E / ((P = _?.startSize) != null ? P : 0), -0.999999);
3012
3019
  return _.columnSizingStart.forEach((ee) => {
3013
- let [G, nt] = ee;
3014
- u[G] = Math.round(Math.max(nt + nt * q, 0) * 100) / 100;
3020
+ let [H, nt] = ee;
3021
+ u[H] = Math.round(Math.max(nt + nt * q, 0) * 100) / 100;
3015
3022
  }), {
3016
3023
  ..._,
3017
3024
  deltaOffset: E,
@@ -3079,9 +3086,9 @@ const pe = {
3079
3086
  };
3080
3087
  }
3081
3088
  };
3082
- let Ce = null;
3089
+ let me = null;
3083
3090
  function ro() {
3084
- if (typeof Ce == "boolean") return Ce;
3091
+ if (typeof me == "boolean") return me;
3085
3092
  let e = !1;
3086
3093
  try {
3087
3094
  const n = {
@@ -3094,7 +3101,7 @@ function ro() {
3094
3101
  } catch {
3095
3102
  e = !1;
3096
3103
  }
3097
- return Ce = e, Ce;
3104
+ return me = e, me;
3098
3105
  }
3099
3106
  function ke(e) {
3100
3107
  return e.type === "touchstart";
@@ -3144,7 +3151,7 @@ const lo = {
3144
3151
  };
3145
3152
  }
3146
3153
  };
3147
- function ae(e, n) {
3154
+ function ue(e, n) {
3148
3155
  return n ? n === "center" ? e.getCenterVisibleLeafColumns() : n === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
3149
3156
  }
3150
3157
  const io = {
@@ -3175,12 +3182,12 @@ const io = {
3175
3182
  };
3176
3183
  },
3177
3184
  createTable: (e) => {
3178
- e.getGlobalAutoFilterFn = () => B.includesString, e.getGlobalFilterFn = () => {
3185
+ e.getGlobalAutoFilterFn = () => N.includesString, e.getGlobalFilterFn = () => {
3179
3186
  var n, t;
3180
3187
  const {
3181
3188
  globalFilterFn: o
3182
3189
  } = e.options;
3183
- return $e(o) ? o : o === "auto" ? e.getGlobalAutoFilterFn() : (n = (t = e.options.filterFns) == null ? void 0 : t[o]) != null ? n : B[o];
3190
+ return $e(o) ? o : o === "auto" ? e.getGlobalAutoFilterFn() : (n = (t = e.options.filterFns) == null ? void 0 : t[o]) != null ? n : N[o];
3184
3191
  }, e.setGlobalFilter = (n) => {
3185
3192
  e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(n);
3186
3193
  }, e.resetGlobalFilter = (n) => {
@@ -3950,7 +3957,7 @@ function _o() {
3950
3957
  *
3951
3958
  * @license MIT
3952
3959
  */
3953
- function me() {
3960
+ function Le() {
3954
3961
  return !0;
3955
3962
  }
3956
3963
  const So = Symbol("merge-proxy"), Mo = {
@@ -3960,8 +3967,8 @@ const So = Symbol("merge-proxy"), Mo = {
3960
3967
  has(e, n) {
3961
3968
  return e.has(n);
3962
3969
  },
3963
- set: me,
3964
- deleteProperty: me,
3970
+ set: Le,
3971
+ deleteProperty: Le,
3965
3972
  getOwnPropertyDescriptor(e, n) {
3966
3973
  return {
3967
3974
  configurable: !0,
@@ -3969,8 +3976,8 @@ const So = Symbol("merge-proxy"), Mo = {
3969
3976
  get() {
3970
3977
  return e.get(n);
3971
3978
  },
3972
- set: me,
3973
- deleteProperty: me
3979
+ set: Le,
3980
+ deleteProperty: Le
3974
3981
  };
3975
3982
  },
3976
3983
  ownKeys(e) {
@@ -3980,7 +3987,7 @@ const So = Symbol("merge-proxy"), Mo = {
3980
3987
  function Oe(e) {
3981
3988
  return "value" in e ? e.value : e;
3982
3989
  }
3983
- function se() {
3990
+ function ae() {
3984
3991
  for (var e = arguments.length, n = new Array(e), t = 0; t < e; t++)
3985
3992
  n[t] = arguments[t];
3986
3993
  return new Proxy({
@@ -4002,17 +4009,17 @@ function se() {
4002
4009
  }
4003
4010
  }, Mo);
4004
4011
  }
4005
- const Kt = b({
4012
+ const Kt = F({
4006
4013
  props: ["render", "props"],
4007
4014
  setup: (e) => () => typeof e.render == "function" || typeof e.render == "object" ? Q(e.render, e.props) : e.render
4008
4015
  });
4009
4016
  function ht(e) {
4010
- return se(e, {
4011
- data: T(e.data)
4017
+ return ae(e, {
4018
+ data: A(e.data)
4012
4019
  });
4013
4020
  }
4014
4021
  function Ro(e) {
4015
- const n = e0(e.data), t = se({
4022
+ const n = e0(e.data), t = ae({
4016
4023
  state: {},
4017
4024
  // Dummy state
4018
4025
  onStateChange: () => {
@@ -4023,7 +4030,7 @@ function Ro(e) {
4023
4030
  return n ? {
4024
4031
  ...l,
4025
4032
  ...i
4026
- } : se(l, i);
4033
+ } : ae(l, i);
4027
4034
  }
4028
4035
  }, n ? ht(e) : e), o = wo(t);
4029
4036
  if (n) {
@@ -4044,11 +4051,11 @@ function Ro(e) {
4044
4051
  const s = new Proxy({}, {
4045
4052
  get: (a, u) => r.value[u]
4046
4053
  });
4047
- return se(l, n ? ht(e) : e, {
4054
+ return ae(l, n ? ht(e) : e, {
4048
4055
  // merge the initialState and `options.state`
4049
4056
  // create a new proxy on each `setOptions` call
4050
4057
  // and get the value from state on each property access
4051
- state: se(s, (i = e.state) != null ? i : {}),
4058
+ state: ae(s, (i = e.state) != null ? i : {}),
4052
4059
  // Similarly, we'll maintain both our internal state and any user-provided
4053
4060
  // state.
4054
4061
  onStateChange: (a) => {
@@ -4058,7 +4065,7 @@ function Ro(e) {
4058
4065
  });
4059
4066
  }), o;
4060
4067
  }
4061
- const $o = ["aria-sort"], bo = /* @__PURE__ */ b({
4068
+ const $o = ["aria-sort"], bo = /* @__PURE__ */ F({
4062
4069
  __name: "CmcTableHeader",
4063
4070
  props: {
4064
4071
  headerGroups: {}
@@ -4077,7 +4084,7 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ b({
4077
4084
  "aria-sort": n(l),
4078
4085
  scope: "col"
4079
4086
  }, [
4080
- l.isPlaceholder ? z("", !0) : (L(), J(T(Kt), {
4087
+ l.isPlaceholder ? z("", !0) : (L(), J(A(Kt), {
4081
4088
  key: 0,
4082
4089
  props: l.getContext(),
4083
4090
  render: l.column.columnDef.header
@@ -4086,7 +4093,7 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ b({
4086
4093
  ]))), 128))
4087
4094
  ]));
4088
4095
  }
4089
- }), Fo = /* @__PURE__ */ $(bo, [["__scopeId", "data-v-9eba66c8"]]), Io = { key: 0 }, Po = { key: 1 }, zo = ["colspan"], Vo = /* @__PURE__ */ b({
4096
+ }), Fo = /* @__PURE__ */ $(bo, [["__scopeId", "data-v-9eba66c8"]]), Io = { key: 0 }, Po = { key: 1 }, zo = ["colspan"], Vo = /* @__PURE__ */ F({
4090
4097
  __name: "CmcTableBody",
4091
4098
  props: {
4092
4099
  rows: {},
@@ -4101,7 +4108,7 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ b({
4101
4108
  (L(!0), h(Z, null, U(o.getVisibleCells(), (r) => (L(), h("td", {
4102
4109
  key: r.id
4103
4110
  }, [
4104
- O(T(Kt), {
4111
+ O(A(Kt), {
4105
4112
  props: r.getContext(),
4106
4113
  render: r.column.columnDef.cell
4107
4114
  }, null, 8, ["props", "render"])
@@ -4113,14 +4120,14 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ b({
4113
4120
  colspan: e.leafColCount,
4114
4121
  class: "td__empty"
4115
4122
  }, [
4116
- N(n.$slots, "empty", {}, () => [
4123
+ G(n.$slots, "empty", {}, () => [
4117
4124
  n0(k(e.emptyText), 1)
4118
4125
  ], !0)
4119
4126
  ], 8, zo)
4120
4127
  ])
4121
4128
  ]));
4122
4129
  }
4123
- }), ko = /* @__PURE__ */ $(Vo, [["__scopeId", "data-v-f962b8ac"]]), Eo = /* @__PURE__ */ b({
4130
+ }), ko = /* @__PURE__ */ $(Vo, [["__scopeId", "data-v-f962b8ac"]]), Eo = /* @__PURE__ */ F({
4124
4131
  __name: "CmcTable",
4125
4132
  props: {
4126
4133
  rows: { default: () => [] },
@@ -4174,7 +4181,7 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ b({
4174
4181
  }, null, 8, ["rows", "emptyText", "leafColCount"])
4175
4182
  ]));
4176
4183
  }
4177
- }), Zo = /* @__PURE__ */ $(Eo, [["__scopeId", "data-v-b5d0ccaf"]]), Do = { class: "table__pagination" }, Oo = 10, Ao = /* @__PURE__ */ b({
4184
+ }), Zo = /* @__PURE__ */ $(Eo, [["__scopeId", "data-v-b5d0ccaf"]]), Do = { class: "table__pagination" }, Oo = 10, Ao = /* @__PURE__ */ F({
4178
4185
  __name: "CmcTablePagination",
4179
4186
  props: {
4180
4187
  itemsPerPage: { default: Oo },
@@ -4207,16 +4214,16 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ b({
4207
4214
  }, null, 8, ["currentPage", "itemsPerPage", "totalItems"])
4208
4215
  ]));
4209
4216
  }
4210
- }), sr = /* @__PURE__ */ $(Ao, [["__scopeId", "data-v-a2a0b05e"]]), ar = /* @__PURE__ */ b({
4217
+ }), sr = /* @__PURE__ */ $(Ao, [["__scopeId", "data-v-a2a0b05e"]]), ar = /* @__PURE__ */ F({
4211
4218
  name: "CmcTitle",
4212
4219
  __name: "CmcTitle",
4213
4220
  setup(e) {
4214
4221
  return (n, t) => (L(), h(Z, null, [
4215
4222
  O(Bn, {
4216
- level: T(ve).h1
4223
+ level: A(se).h1
4217
4224
  }, {
4218
4225
  default: Xe(() => [
4219
- N(n.$slots, "default")
4226
+ G(n.$slots, "default")
4220
4227
  ]),
4221
4228
  _: 3
4222
4229
  }, 8, ["level"]),
@@ -4225,7 +4232,7 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ b({
4225
4232
  }
4226
4233
  }), To = {
4227
4234
  medium: "medium"
4228
- }, Go = ["id", "disabled", "required"], Ho = ["for"], Bo = /* @__PURE__ */ b({
4235
+ }, Go = ["id", "disabled", "required"], Ho = ["for"], Bo = /* @__PURE__ */ F({
4229
4236
  name: "CmcToggle",
4230
4237
  __name: "CmcToggle",
4231
4238
  props: /* @__PURE__ */ K({
@@ -4247,7 +4254,7 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ b({
4247
4254
  "toggle--checked": t.value
4248
4255
  }));
4249
4256
  return (l, i) => (L(), h("div", {
4250
- class: F(r.value)
4257
+ class: b(r.value)
4251
4258
  }, [
4252
4259
  xe(I("input", {
4253
4260
  id: o.value,
@@ -4273,7 +4280,7 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ b({
4273
4280
  }, qo = { class: "wizard__label" }, jo = ["tabindex", "onClick", "onKeydown"], Ko = {
4274
4281
  key: 0,
4275
4282
  class: "wizard__separator"
4276
- }, Xo = /* @__PURE__ */ b({
4283
+ }, Xo = /* @__PURE__ */ F({
4277
4284
  name: "CmcWizard",
4278
4285
  __name: "CmcWizard",
4279
4286
  props: {
@@ -4297,18 +4304,18 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ b({
4297
4304
  "wizard__label-text--upcoming": g(f)
4298
4305
  }), a = (f) => f < t.current, u = (f) => f === t.current, g = (f) => !a(f) && !u(f);
4299
4306
  return (f, d) => (L(), h("div", {
4300
- class: F(["wizard", { "wizard--clickable": e.clickable }]),
4307
+ class: b(["wizard", { "wizard--clickable": e.clickable }]),
4301
4308
  role: "list"
4302
4309
  }, [
4303
4310
  (L(!0), h(Z, null, U(e.steps, (c, p) => (L(), h(Z, { key: p }, [
4304
4311
  I("div", {
4305
- class: F(["wizard__step", i(p)]),
4312
+ class: b(["wizard__step", i(p)]),
4306
4313
  "aria-current": u(p) ? "step" : void 0,
4307
4314
  "aria-label": `step-${p + 1} : ${c.label}`,
4308
4315
  onClick: (C) => l(p),
4309
4316
  onKeydown: [
4310
- ce((C) => l(p), ["enter"]),
4311
- ce(Ae((C) => l(p), ["prevent"]), ["space"])
4317
+ ge((C) => l(p), ["enter"]),
4318
+ ge(Ae((C) => l(p), ["prevent"]), ["space"])
4312
4319
  ]
4313
4320
  }, [
4314
4321
  a(p) ? (L(), J(Y, {
@@ -4319,12 +4326,12 @@ const $o = ["aria-sort"], bo = /* @__PURE__ */ b({
4319
4326
  ], 42, No),
4320
4327
  I("div", qo, [
4321
4328
  I("span", {
4322
- class: F(["wizard__label-text", s(p)]),
4329
+ class: b(["wizard__label-text", s(p)]),
4323
4330
  tabindex: e.clickable ? 0 : -1,
4324
4331
  onClick: (C) => l(p),
4325
4332
  onKeydown: [
4326
- ce((C) => l(p), ["enter"]),
4327
- ce(Ae((C) => l(p), ["prevent"]), ["space"])
4333
+ ge((C) => l(p), ["enter"]),
4334
+ ge(Ae((C) => l(p), ["prevent"]), ["space"])
4328
4335
  ]
4329
4336
  }, k(c.label), 43, jo)
4330
4337
  ]),
@@ -4356,14 +4363,14 @@ export {
4356
4363
  yn as buttonKindOptions,
4357
4364
  wn as buttonSizeOptions,
4358
4365
  vn as buttonVariantOptions,
4359
- ve as headingLevelOptions,
4366
+ se as headingLevelOptions,
4360
4367
  Wo as iconColorOptions,
4361
4368
  Ct as iconNameOptions,
4362
4369
  St as inputSizeOptions,
4363
4370
  be as inputTypeOptions,
4364
- ge as inputVariantOptions,
4365
- H as primaryTypeOptions,
4371
+ de as inputVariantOptions,
4372
+ B as primaryTypeOptions,
4366
4373
  le as rankOptions,
4367
- de as selectVariantOptions,
4374
+ fe as selectVariantOptions,
4368
4375
  z1 as statusOptions
4369
4376
  };