@agregio-solutions/design-system 1.45.0 → 1.45.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.
@@ -22027,42 +22027,103 @@ function uC({
22027
22027
  }
22028
22028
  const QB = y.forwardRef(
22029
22029
  ({ children: e, ...t }, n) => /* @__PURE__ */ m(bv, { ...t, ref: n, children: e })
22030
- ), aC = F.div`
22030
+ ), aC = F.span`
22031
+ align-items: center;
22032
+ background-color: var(--color-content-neutral-secondary);
22033
+ border-radius: var(--spacing-xxs);
22034
+ color: var(--color-content-neutral-primary-reversed);
22035
+ display: inline-flex;
22036
+ font-weight: 700;
22037
+ gap: var(--spacing-xs);
22038
+ padding: var(--spacing-xs) var(--spacing-xxs) var(--spacing-xs)
22039
+ var(--spacing-xs);
22040
+
22041
+ &[data-size="small"] {
22042
+ font-size: ${Q.xxSmall};
22043
+ line-height: ${le.xxSmall};
22044
+ }
22045
+
22046
+ &[data-size="medium"] {
22047
+ font-size: ${Q.extraSmall};
22048
+ line-height: ${le.extraSmall};
22049
+ }
22050
+ `, iC = F.button`
22051
+ all: unset;
22052
+ cursor: pointer;
22053
+ display: flex;
22054
+ align-items: center;
22055
+
22056
+ &:focus-visible {
22057
+ outline: 2px solid var(--color-background-highlight-focus);
22058
+ border-radius: var(--radius-rounded);
22059
+ }
22060
+ `, oC = F(De)`
22061
+ color: var(--color-content-neutral-primary-reversed);
22062
+
22063
+ &[data-size="small"] {
22064
+ width: ${Q.small};
22065
+ }
22066
+
22067
+ &[data-size="medium"] {
22068
+ width: ${Q.large};
22069
+ }
22070
+ `, lC = ({ value: e, size: t = "medium", onClose: n }) => {
22071
+ const r = it(sC);
22072
+ return /* @__PURE__ */ q(aC, { "data-size": t, children: [
22073
+ /* @__PURE__ */ m("span", { children: e }),
22074
+ /* @__PURE__ */ m(
22075
+ iC,
22076
+ {
22077
+ type: "button",
22078
+ onClick: n,
22079
+ "aria-label": `${r.close} ${e}`,
22080
+ children: /* @__PURE__ */ m(oC, { name: "close", "data-size": t })
22081
+ }
22082
+ )
22083
+ ] });
22084
+ }, sC = {
22085
+ en: {
22086
+ close: "Close"
22087
+ },
22088
+ fr: {
22089
+ close: "Fermer"
22090
+ }
22091
+ }, dC = F.div`
22031
22092
  display: flex;
22032
22093
  column-gap: var(--spacing-xxs);
22033
22094
  font-size: ${Q.small};
22034
22095
  line-height: ${le.small};
22035
22096
  font-weight: 700;
22036
22097
  color: var(--color-content-neutral-primary);
22037
- `, iC = F.span`
22098
+ `, cC = F.span`
22038
22099
  color: var(--color-content-message-negative-darker);
22039
- `, oC = F.label``, lC = F(De)`
22100
+ `, fC = F.label``, pC = F(De)`
22040
22101
  font-size: ${le.small};
22041
22102
  `;
22042
- function sC({
22103
+ function mC({
22043
22104
  htmlForId: e,
22044
22105
  required: t,
22045
22106
  label: n,
22046
22107
  labelIconRight: r,
22047
22108
  ...u
22048
22109
  }) {
22049
- return /* @__PURE__ */ q(aC, { ...u, className: Nl("Label", u.className), children: [
22050
- !!t && /* @__PURE__ */ m(iC, { title: "Required", "aria-hidden": "true", children: "*" }),
22051
- /* @__PURE__ */ m(oC, { htmlFor: e, children: n }),
22052
- !!r && /* @__PURE__ */ m(lC, { name: r })
22110
+ return /* @__PURE__ */ q(dC, { ...u, className: Nl("Label", u.className), children: [
22111
+ !!t && /* @__PURE__ */ m(cC, { title: "Required", "aria-hidden": "true", children: "*" }),
22112
+ /* @__PURE__ */ m(fC, { htmlFor: e, children: n }),
22113
+ !!r && /* @__PURE__ */ m(pC, { name: r })
22053
22114
  ] });
22054
22115
  }
22055
- const dC = F.div`
22116
+ const hC = F.div`
22056
22117
  display: flex;
22057
22118
  flex-direction: column;
22058
22119
  align-items: flex-start;
22059
22120
  row-gap: var(--spacing-xs);
22060
- `, cC = F.div`
22121
+ `, gC = F.div`
22061
22122
  font-size: ${Q.extraSmall};
22062
22123
  line-height: ${le.extraSmall};
22063
22124
  font-weight: 400;
22064
22125
  color: var(--color-content-neutral-secondary);
22065
- `, fC = F.div`
22126
+ `, bC = F.div`
22066
22127
  display: flex;
22067
22128
  align-items: center;
22068
22129
  column-gap: var(--spacing-xxs);
@@ -22081,7 +22142,7 @@ const dC = F.div`
22081
22142
  &[data-nature="positive"] {
22082
22143
  color: var(--color-content-message-positive-darker);
22083
22144
  }
22084
- `, pC = F(De)`
22145
+ `, vC = F(De)`
22085
22146
  font-size: ${le.xxSmall};
22086
22147
  `;
22087
22148
  function Ao({
@@ -22090,12 +22151,12 @@ function Ao({
22090
22151
  nature: n = "default"
22091
22152
  }) {
22092
22153
  return /* @__PURE__ */ q(
22093
- fC,
22154
+ bC,
22094
22155
  {
22095
22156
  "data-nature": n,
22096
22157
  role: n === "negative" ? "alert" : void 0,
22097
22158
  children: [
22098
- !!e && /* @__PURE__ */ m(pC, { name: e }),
22159
+ !!e && /* @__PURE__ */ m(vC, { name: e }),
22099
22160
  t
22100
22161
  ]
22101
22162
  }
@@ -22116,9 +22177,9 @@ const on = y.forwardRef(
22116
22177
  successHelperText: d,
22117
22178
  errorHelperText: f,
22118
22179
  ...p
22119
- }, c) => /* @__PURE__ */ q(dC, { ref: c, ...p, children: [
22180
+ }, c) => /* @__PURE__ */ q(hC, { ref: c, ...p, children: [
22120
22181
  !!n && /* @__PURE__ */ m(
22121
- sC,
22182
+ mC,
22122
22183
  {
22123
22184
  htmlForId: e,
22124
22185
  label: n,
@@ -22126,7 +22187,7 @@ const on = y.forwardRef(
22126
22187
  required: t
22127
22188
  }
22128
22189
  ),
22129
- !!u && /* @__PURE__ */ m(cC, { children: u }),
22190
+ !!u && /* @__PURE__ */ m(gC, { children: u }),
22130
22191
  o,
22131
22192
  !!f && /* @__PURE__ */ m(
22132
22193
  Ao,
@@ -22153,13 +22214,13 @@ const on = y.forwardRef(
22153
22214
  }
22154
22215
  )
22155
22216
  ] })
22156
- ), mC = F(Lv)`
22217
+ ), yC = F(Lv)`
22157
22218
  &[data-fullwidth="true"] {
22158
22219
  width: 100%;
22159
22220
  }
22160
- `, hC = F.div`
22221
+ `, $C = F.div`
22161
22222
  position: relative;
22162
- `, gC = F(Le)`
22223
+ `, CC = F(Le)`
22163
22224
  position: absolute;
22164
22225
  top: 0;
22165
22226
  right: 0;
@@ -22168,7 +22229,7 @@ const on = y.forwardRef(
22168
22229
  background-color: transparent !important;
22169
22230
  outline: none !important;
22170
22231
  box-shadow: none !important;
22171
- `, bC = F(nr)``, vC = F(Pi)`
22232
+ `, DC = F(nr)``, xC = F(Pi)`
22172
22233
  ${Nu};
22173
22234
  z-index: var(--z-index-dropdown);
22174
22235
  outline: none;
@@ -22288,7 +22349,7 @@ const fp = F(Ts).withConfig({
22288
22349
  required: e.required
22289
22350
  };
22290
22351
  return /* @__PURE__ */ m(on, { ...u, children: /* @__PURE__ */ q(
22291
- mC,
22352
+ yC,
22292
22353
  {
22293
22354
  id: e.id,
22294
22355
  isDisabled: e.disabled,
@@ -22308,7 +22369,7 @@ const fp = F(Ts).withConfig({
22308
22369
  items: e.items,
22309
22370
  defaultItems: e.defaultItems,
22310
22371
  children: [
22311
- /* @__PURE__ */ q(hC, { children: [
22372
+ /* @__PURE__ */ q($C, { children: [
22312
22373
  /* @__PURE__ */ m(
22313
22374
  fp,
22314
22375
  {
@@ -22319,9 +22380,9 @@ const fp = F(Ts).withConfig({
22319
22380
  hasIcon: !0
22320
22381
  }
22321
22382
  ),
22322
- /* @__PURE__ */ m(gC, { iconLeft: "expand_more", mode: "tertiary" })
22383
+ /* @__PURE__ */ m(CC, { iconLeft: "expand_more", mode: "tertiary" })
22323
22384
  ] }),
22324
- /* @__PURE__ */ m(bC, { offset: 4, placement: "bottom", children: /* @__PURE__ */ m(vC, { children: (a) => /* @__PURE__ */ m(Mr, { ...a }) }) })
22385
+ /* @__PURE__ */ m(DC, { offset: 4, placement: "bottom", children: /* @__PURE__ */ m(xC, { children: (a) => /* @__PURE__ */ m(Mr, { ...a }) }) })
22325
22386
  ]
22326
22387
  }
22327
22388
  ) });
@@ -22337,21 +22398,21 @@ const fp = F(Ts).withConfig({
22337
22398
  * @license MIT
22338
22399
  */
22339
22400
  function Vc(e, t) {
22340
- return e ? yC(e) ? /* @__PURE__ */ Fl.createElement(e, t) : e : null;
22401
+ return e ? EC(e) ? /* @__PURE__ */ Fl.createElement(e, t) : e : null;
22341
22402
  }
22342
- function yC(e) {
22343
- return $C(e) || typeof e == "function" || CC(e);
22403
+ function EC(e) {
22404
+ return wC(e) || typeof e == "function" || BC(e);
22344
22405
  }
22345
- function $C(e) {
22406
+ function wC(e) {
22346
22407
  return typeof e == "function" && (() => {
22347
22408
  const t = Object.getPrototypeOf(e);
22348
22409
  return t.prototype && t.prototype.isReactComponent;
22349
22410
  })();
22350
22411
  }
22351
- function CC(e) {
22412
+ function BC(e) {
22352
22413
  return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
22353
22414
  }
22354
- const DC = F.tr`
22415
+ const kC = F.tr`
22355
22416
  background-color: var(--color-content-neutral-primary-reversed);
22356
22417
 
22357
22418
  &[data-depth="1"] {
@@ -22362,14 +22423,14 @@ const DC = F.tr`
22362
22423
  background-color: var(--color-content-action-action-lighter);
22363
22424
  }
22364
22425
  `;
22365
- function xC({
22426
+ function SC({
22366
22427
  children: e,
22367
22428
  depth: t = 0,
22368
22429
  ...n
22369
22430
  }) {
22370
- return /* @__PURE__ */ m(DC, { ...n, "data-depth": t, children: e });
22431
+ return /* @__PURE__ */ m(kC, { ...n, "data-depth": t, children: e });
22371
22432
  }
22372
- const EC = F(tp)`
22433
+ const PC = F(tp)`
22373
22434
  &[data-fullwidth="true"] {
22374
22435
  width: 100%;
22375
22436
  }
@@ -22438,7 +22499,7 @@ const EC = F(tp)`
22438
22499
  &[data-nature="positive"] {
22439
22500
  outline-color: var(--color-content-message-positive-darker);
22440
22501
  }
22441
- `, wC = dy, Oc = F(De)`
22502
+ `, AC = dy, Oc = F(De)`
22442
22503
  flex: none;
22443
22504
  font-size: ${Q.large};
22444
22505
  color: var(--color-content-neutral-tertiary);
@@ -22451,12 +22512,12 @@ const EC = F(tp)`
22451
22512
  z-index: var(--z-index-dropdown);
22452
22513
  outline: none;
22453
22514
  width: var(--trigger-width);
22454
- `, BC = F.span`
22515
+ `, FC = F.span`
22455
22516
  display: flex;
22456
22517
  align-items: center;
22457
22518
  column-gap: var(--spacing-xs);
22458
22519
  `;
22459
- function kC() {
22520
+ function TC() {
22460
22521
  return typeof window.ResizeObserver < "u";
22461
22522
  }
22462
22523
  function pp(e) {
@@ -22464,7 +22525,7 @@ function pp(e) {
22464
22525
  ie(() => {
22465
22526
  const r = t == null ? void 0 : t.current;
22466
22527
  if (r)
22467
- if (kC()) {
22528
+ if (TC()) {
22468
22529
  const u = new window.ResizeObserver((a) => {
22469
22530
  a.length && n();
22470
22531
  });
@@ -22479,7 +22540,7 @@ function pp(e) {
22479
22540
  }
22480
22541
  const Nc = y.forwardRef((e, t) => {
22481
22542
  var d, f;
22482
- const n = it(SC), r = e["aria-label"] ?? String(e.label), u = rr({
22543
+ const n = it(IC), r = e["aria-label"] ?? String(e.label), u = rr({
22483
22544
  nature: e.nature,
22484
22545
  successHelperText: e.successHelperText,
22485
22546
  errorHelperText: e.errorHelperText
@@ -22518,7 +22579,7 @@ const Nc = y.forwardRef((e, t) => {
22518
22579
  isDisabled: e.disabled,
22519
22580
  children: [
22520
22581
  !((d = e.selectedKeys) != null && d.length) && /* @__PURE__ */ m("span", { children: e.placeholder || "" }),
22521
- !!((f = e.selectedKeys) != null && f.length) && /* @__PURE__ */ q(BC, { children: [
22582
+ !!((f = e.selectedKeys) != null && f.length) && /* @__PURE__ */ q(FC, { children: [
22522
22583
  /* @__PURE__ */ m(op, { value: e.selectedKeys.length, nature: "informative" }),
22523
22584
  e.selectedKeys.length === 1 ? ` ${n.itemSelected}` : ` ${n.itemsSelected}`
22524
22585
  ] }),
@@ -22543,7 +22604,7 @@ const Nc = y.forwardRef((e, t) => {
22543
22604
  ]
22544
22605
  }
22545
22606
  ) }) : /* @__PURE__ */ m(on, { ...a, children: /* @__PURE__ */ q(
22546
- EC,
22607
+ PC,
22547
22608
  {
22548
22609
  ref: t,
22549
22610
  id: e.id,
@@ -22570,7 +22631,7 @@ const Nc = y.forwardRef((e, t) => {
22570
22631
  "data-nature": u,
22571
22632
  "data-fullwidth": e.fullWidth,
22572
22633
  children: [
22573
- /* @__PURE__ */ m(wC, { children: (p) => p.isPlaceholder ? e.placeholder || "" : p.selectedText }),
22634
+ /* @__PURE__ */ m(AC, { children: (p) => p.isPlaceholder ? e.placeholder || "" : p.selectedText }),
22574
22635
  /* @__PURE__ */ m(Oc, { name: "expand_more", "data-disabled": e.disabled })
22575
22636
  ]
22576
22637
  }
@@ -22579,7 +22640,7 @@ const Nc = y.forwardRef((e, t) => {
22579
22640
  ]
22580
22641
  }
22581
22642
  ) });
22582
- }), SC = {
22643
+ }), IC = {
22583
22644
  en: {
22584
22645
  itemsSelected: " items selected",
22585
22646
  itemSelected: " item selected",
@@ -22591,10 +22652,10 @@ const Nc = y.forwardRef((e, t) => {
22591
22652
  selectionFor: " sélection pour"
22592
22653
  }
22593
22654
  };
22594
- function PC(e, t) {
22655
+ function RC(e, t) {
22595
22656
  return Array.from({ length: e }, (n, r) => r + 0);
22596
22657
  }
22597
- const AC = F.div`
22658
+ const MC = F.div`
22598
22659
  display: flex;
22599
22660
  align-items: center;
22600
22661
  justify-content: space-between;
@@ -22603,36 +22664,36 @@ const AC = F.div`
22603
22664
  .Label {
22604
22665
  display: none;
22605
22666
  }
22606
- `, FC = F.div`
22667
+ `, VC = F.div`
22607
22668
  display: flex;
22608
22669
  align-items: center;
22609
22670
  justify-content: space-between;
22610
- `, TC = F.div`
22671
+ `, KC = F.div`
22611
22672
  margin-right: var(--spacing-xs);
22612
22673
  color: var(--color-content-neutral-secondary);
22613
22674
  font-size: ${Q.extraSmall};
22614
22675
  font-style: normal;
22615
22676
  font-weight: 400;
22616
22677
  line-height: ${le.extraSmall};
22617
- `, IC = F.div`
22678
+ `, OC = F.div`
22618
22679
  margin-left: var(--spacing-sm);
22619
22680
  color: var(--color-content-neutral-secondary);
22620
22681
  font-size: ${Q.xxSmall};
22621
22682
  font-style: normal;
22622
22683
  font-weight: 400;
22623
22684
  line-height: ${le.xxSmall};
22624
- `, RC = F.div`
22685
+ `, LC = F.div`
22625
22686
  display: flex;
22626
22687
  align-items: center;
22627
22688
  justify-content: space-between;
22628
22689
  column-gap: var(--spacing-sm);
22629
- `, MC = F.div`
22690
+ `, zC = F.div`
22630
22691
  color: var(--color-content-neutral-secondary);
22631
22692
  font-size: ${Q.xxSmall};
22632
22693
  font-style: normal;
22633
22694
  font-weight: 400;
22634
22695
  line-height: ${le.xxSmall};
22635
- `, VC = y.forwardRef(
22696
+ `, NC = y.forwardRef(
22636
22697
  ({
22637
22698
  count: e,
22638
22699
  onPageChange: t,
@@ -22642,7 +22703,7 @@ const AC = F.div`
22642
22703
  onItemsPerPageChange: a,
22643
22704
  ...i
22644
22705
  }, o) => {
22645
- const l = it(KC), s = Z(
22706
+ const l = it(jC), s = Z(
22646
22707
  () => n * u + 1,
22647
22708
  [u, n]
22648
22709
  ), d = Z(
@@ -22655,9 +22716,9 @@ const AC = F.div`
22655
22716
  () => Math.max(f - 1, 0),
22656
22717
  [f]
22657
22718
  );
22658
- return /* @__PURE__ */ q(AC, { ...i, ref: o, children: [
22659
- /* @__PURE__ */ q(FC, { children: [
22660
- /* @__PURE__ */ m(TC, { children: l.itemsPerPage }),
22719
+ return /* @__PURE__ */ q(MC, { ...i, ref: o, children: [
22720
+ /* @__PURE__ */ q(VC, { children: [
22721
+ /* @__PURE__ */ m(KC, { children: l.itemsPerPage }),
22661
22722
  /* @__PURE__ */ m(
22662
22723
  Nc,
22663
22724
  {
@@ -22677,7 +22738,7 @@ const AC = F.div`
22677
22738
  ))
22678
22739
  }
22679
22740
  ),
22680
- /* @__PURE__ */ q(IC, { "data-testid": "table-pagination-items-range", children: [
22741
+ /* @__PURE__ */ q(OC, { "data-testid": "table-pagination-items-range", children: [
22681
22742
  /* @__PURE__ */ m("b", { children: s }),
22682
22743
  " - ",
22683
22744
  /* @__PURE__ */ m("b", { children: d }),
@@ -22689,7 +22750,7 @@ const AC = F.div`
22689
22750
  l.items
22690
22751
  ] })
22691
22752
  ] }),
22692
- /* @__PURE__ */ q(RC, { children: [
22753
+ /* @__PURE__ */ q(LC, { children: [
22693
22754
  /* @__PURE__ */ m(
22694
22755
  Nc,
22695
22756
  {
@@ -22699,7 +22760,7 @@ const AC = F.div`
22699
22760
  value: String(n),
22700
22761
  onChange: (c) => t(Number(c)),
22701
22762
  fullWidth: !0,
22702
- children: PC(f).map((c) => /* @__PURE__ */ m(
22763
+ children: RC(f).map((c) => /* @__PURE__ */ m(
22703
22764
  Mr,
22704
22765
  {
22705
22766
  id: String(c),
@@ -22709,7 +22770,7 @@ const AC = F.div`
22709
22770
  ))
22710
22771
  }
22711
22772
  ),
22712
- /* @__PURE__ */ q(MC, { "data-testid": "table-pagination-pages-range", children: [
22773
+ /* @__PURE__ */ q(zC, { "data-testid": "table-pagination-pages-range", children: [
22713
22774
  l.on,
22714
22775
  " ",
22715
22776
  /* @__PURE__ */ m("b", { children: f }),
@@ -22761,7 +22822,7 @@ const AC = F.div`
22761
22822
  ] })
22762
22823
  ] });
22763
22824
  }
22764
- ), KC = {
22825
+ ), jC = {
22765
22826
  en: {
22766
22827
  itemsPerPage: "Item per page",
22767
22828
  selectItemsPerPage: "Select the number of items per page",
@@ -22788,7 +22849,7 @@ const AC = F.div`
22788
22849
  goToNextPage: "Aller à la page suivante",
22789
22850
  goToLastPage: "Aller à la dernière page"
22790
22851
  }
22791
- }, OC = F.table`
22852
+ }, HC = F.table`
22792
22853
  width: 100%;
22793
22854
  border-collapse: collapse;
22794
22855
  border-spacing: 0;
@@ -22802,21 +22863,21 @@ const AC = F.div`
22802
22863
  }
22803
22864
  }
22804
22865
  `;
22805
- function LC({
22866
+ function _C({
22806
22867
  children: e,
22807
22868
  ...t
22808
22869
  }) {
22809
- return /* @__PURE__ */ m(OC, { ...t, children: e });
22870
+ return /* @__PURE__ */ m(HC, { ...t, children: e });
22810
22871
  }
22811
- const zC = F.div`
22872
+ const ZC = F.div`
22812
22873
  padding: var(--spacing-md);
22813
22874
  text-align: center;
22814
22875
  color: var(--color-content-message-warning);
22815
22876
  background-color: var(--color-content-neutral-primary-reversed);
22816
22877
  `;
22817
- function NC({ withFilters: e }) {
22818
- const t = it(jC);
22819
- return /* @__PURE__ */ q(zC, { children: [
22878
+ function UC({ withFilters: e }) {
22879
+ const t = it(WC);
22880
+ return /* @__PURE__ */ q(ZC, { children: [
22820
22881
  t.noData,
22821
22882
  e && /* @__PURE__ */ q("b", { children: [
22822
22883
  " ",
@@ -22825,7 +22886,7 @@ function NC({ withFilters: e }) {
22825
22886
  "."
22826
22887
  ] });
22827
22888
  }
22828
- const jC = {
22889
+ const WC = {
22829
22890
  en: {
22830
22891
  noData: "Sorry, there is currently no data to display",
22831
22892
  withFilters: "with the active filters"
@@ -22834,10 +22895,10 @@ const jC = {
22834
22895
  noData: "Désolé, il n'y a actuellement aucune donnée à afficher",
22835
22896
  withFilters: "avec les filtres actifs"
22836
22897
  }
22837
- }, HC = F.div`
22898
+ }, GC = F.div`
22838
22899
  overflow-x: auto;
22839
22900
  width: 100%;
22840
- `, _C = F.td`
22901
+ `, qC = F.td`
22841
22902
  padding: var(--spacing-sm);
22842
22903
  `;
22843
22904
  function tk({
@@ -22849,18 +22910,18 @@ function tk({
22849
22910
  var a;
22850
22911
  const u = e.getState().columnFilters.length > 0 || ((a = e.getState().globalFilter) == null ? void 0 : a.length) > 0;
22851
22912
  return /* @__PURE__ */ q("div", { ...r, children: [
22852
- /* @__PURE__ */ m(HC, { children: /* @__PURE__ */ q(LC, { children: [
22913
+ /* @__PURE__ */ m(GC, { children: /* @__PURE__ */ q(_C, { children: [
22853
22914
  /* @__PURE__ */ m("thead", { children: e.getHeaderGroups().map((i) => /* @__PURE__ */ m("tr", { children: i.headers.map((o) => /* @__PURE__ */ m(y.Fragment, { children: Vc(
22854
22915
  o.column.columnDef.header,
22855
22916
  o.getContext()
22856
22917
  ) }, o.id)) }, i.id)) }),
22857
22918
  /* @__PURE__ */ m("tbody", { children: e.getRowModel().rows.map((i) => /* @__PURE__ */ q(Wp, { children: [
22858
- /* @__PURE__ */ m(xC, { depth: i.depth, children: i.getVisibleCells().map((o) => /* @__PURE__ */ m(y.Fragment, { children: Vc(
22919
+ /* @__PURE__ */ m(SC, { depth: i.depth, children: i.getVisibleCells().map((o) => /* @__PURE__ */ m(y.Fragment, { children: Vc(
22859
22920
  o.column.columnDef.cell,
22860
22921
  o.getContext()
22861
22922
  ) }, o.id)) }),
22862
22923
  i.getIsExpanded() && !!n && /* @__PURE__ */ m("tr", { children: /* @__PURE__ */ m(
22863
- _C,
22924
+ qC,
22864
22925
  {
22865
22926
  colSpan: i.getVisibleCells().length,
22866
22927
  children: n({ row: i })
@@ -22868,9 +22929,9 @@ function tk({
22868
22929
  ) })
22869
22930
  ] }, i.id)) })
22870
22931
  ] }) }),
22871
- e.getRowCount() === 0 && /* @__PURE__ */ m(NC, { withFilters: u }),
22932
+ e.getRowCount() === 0 && /* @__PURE__ */ m(UC, { withFilters: u }),
22872
22933
  !!t && /* @__PURE__ */ m(
22873
- VC,
22934
+ NC,
22874
22935
  {
22875
22936
  count: e.getRowCount(),
22876
22937
  onPageChange: e.setPageIndex,
@@ -22882,7 +22943,7 @@ function tk({
22882
22943
  )
22883
22944
  ] });
22884
22945
  }
22885
- const ZC = F.td`
22946
+ const YC = F.td`
22886
22947
  padding: 0;
22887
22948
 
22888
22949
  &[data-border="left"],
@@ -22894,7 +22955,7 @@ const ZC = F.td`
22894
22955
  &[data-border="both"] {
22895
22956
  border-right: 1px solid var(--color-content-neutral-stroke);
22896
22957
  }
22897
- `, UC = F.div`
22958
+ `, JC = F.div`
22898
22959
  display: flex;
22899
22960
  align-items: center;
22900
22961
  column-gap: var(--spacing-xxs);
@@ -22921,7 +22982,7 @@ const ZC = F.td`
22921
22982
  > [data-design-system-component="Checkbox"] {
22922
22983
  padding: 0 !important;
22923
22984
  }
22924
- `, WC = F(De)`
22985
+ `, XC = F(De)`
22925
22986
  display: inline-block;
22926
22987
  font-size: ${Q.large};
22927
22988
  `;
@@ -22932,12 +22993,12 @@ function nk({
22932
22993
  align: r = "left",
22933
22994
  ...u
22934
22995
  }) {
22935
- return /* @__PURE__ */ m(ZC, { ...u, "data-border": n, children: /* @__PURE__ */ q(UC, { "data-align": r, children: [
22936
- !!t && /* @__PURE__ */ m(WC, { name: t }),
22996
+ return /* @__PURE__ */ m(YC, { ...u, "data-border": n, children: /* @__PURE__ */ q(JC, { "data-align": r, children: [
22997
+ !!t && /* @__PURE__ */ m(XC, { name: t }),
22937
22998
  e
22938
22999
  ] }) });
22939
23000
  }
22940
- const GC = F.th`
23001
+ const QC = F.th`
22941
23002
  padding: 0;
22942
23003
  vertical-align: bottom;
22943
23004
  background: var(--color-background-neutral-underground-1);
@@ -22951,7 +23012,7 @@ const GC = F.th`
22951
23012
  &[data-border="both"] {
22952
23013
  border-right: 1px solid var(--color-content-neutral-stroke);
22953
23014
  }
22954
- `, qC = F.div`
23015
+ `, eD = F.div`
22955
23016
  display: flex;
22956
23017
  align-items: center;
22957
23018
  width: 100%;
@@ -22990,7 +23051,7 @@ const GC = F.th`
22990
23051
  ${Bl} {
22991
23052
  color: var(--color-content-neutral-primary);
22992
23053
  }
22993
- `, YC = F(mp)`
23054
+ `, tD = F(mp)`
22994
23055
  height: ${Q.large};
22995
23056
  `;
22996
23057
  function rk({
@@ -23002,11 +23063,11 @@ function rk({
23002
23063
  align: a = "left",
23003
23064
  ...i
23004
23065
  }) {
23005
- return /* @__PURE__ */ m(GC, { ...i, "data-border": u, children: /* @__PURE__ */ q(qC, { "data-align": a, children: [
23066
+ return /* @__PURE__ */ m(QC, { ...i, "data-border": u, children: /* @__PURE__ */ q(eD, { "data-align": a, children: [
23006
23067
  !!t && /* @__PURE__ */ m(Bl, { name: t }),
23007
23068
  /* @__PURE__ */ m(mp, { type: "button", onClick: r, disabled: !r, children: e }),
23008
23069
  !!r && n !== "none" && /* @__PURE__ */ m(
23009
- YC,
23070
+ tD,
23010
23071
  {
23011
23072
  type: "button",
23012
23073
  onClick: r,
@@ -23021,20 +23082,20 @@ function rk({
23021
23082
  )
23022
23083
  ] }) });
23023
23084
  }
23024
- const JC = F(Gv)`
23085
+ const nD = F(Gv)`
23025
23086
  display: flex;
23026
23087
 
23027
23088
  &[data-fullwidth="true"] {
23028
23089
  width: 100%;
23029
23090
  }
23030
- `, XC = F(Fs)`
23091
+ `, rD = F(Fs)`
23031
23092
  display: flex;
23032
23093
  column-gap: var(--spacing-xxs);
23033
23094
 
23034
23095
  &[data-fullwidth="true"] {
23035
23096
  width: 100%;
23036
23097
  }
23037
- `, QC = F(Ks)`
23098
+ `, uD = F(Ks)`
23038
23099
  position: relative;
23039
23100
  display: inline-flex;
23040
23101
  justify-content: flex-start;
@@ -23094,11 +23155,11 @@ const hp = Or`
23094
23155
  table {
23095
23156
  border-collapse: separate;
23096
23157
  }
23097
- `, eD = F(ov)`
23158
+ `, aD = F(ov)`
23098
23159
  ${hp}
23099
- `, tD = F(iv)`
23160
+ `, iD = F(iv)`
23100
23161
  ${hp}
23101
- `, nD = F(lv)`
23162
+ `, oD = F(lv)`
23102
23163
  margin-left: auto;
23103
23164
  margin-right: auto;
23104
23165
  border-spacing: 0 var(--spacing-xs);
@@ -23148,17 +23209,17 @@ const hp = Or`
23148
23209
  );
23149
23210
  }
23150
23211
  }
23151
- `, rD = F.header`
23212
+ `, lD = F.header`
23152
23213
  display: flex;
23153
23214
  align-items: center;
23154
23215
  justify-content: space-between;
23155
23216
  margin-bottom: var(--spacing-xs);
23156
- `, uD = F(Ri)`
23217
+ `, sD = F(Ri)`
23157
23218
  font-size: ${Q.small};
23158
23219
  line-height: ${le.small};
23159
23220
  color: var(--color-content-neutral-secondary);
23160
23221
  font-weight: bold;
23161
- `, aD = F(hv)`
23222
+ `, dD = F(hv)`
23162
23223
  display: flex;
23163
23224
  align-items: center;
23164
23225
  justify-content: center;
@@ -23202,13 +23263,13 @@ const hp = Or`
23202
23263
  }
23203
23264
  `;
23204
23265
  function gp({ mode: e }) {
23205
- return /* @__PURE__ */ q(e === "single" ? tD : eD, { children: [
23206
- /* @__PURE__ */ q(rD, { children: [
23266
+ return /* @__PURE__ */ q(e === "single" ? iD : aD, { children: [
23267
+ /* @__PURE__ */ q(lD, { children: [
23207
23268
  /* @__PURE__ */ m(Le, { iconLeft: "chevron_left", slot: "previous", mode: "tertiary" }),
23208
- /* @__PURE__ */ m(uD, {}),
23269
+ /* @__PURE__ */ m(sD, {}),
23209
23270
  /* @__PURE__ */ m(Le, { iconLeft: "chevron_right", slot: "next", mode: "tertiary" })
23210
23271
  ] }),
23211
- /* @__PURE__ */ m(nD, { "data-mode": e, children: (n) => /* @__PURE__ */ m(aD, { date: n, "data-mode": e }) })
23272
+ /* @__PURE__ */ m(oD, { "data-mode": e, children: (n) => /* @__PURE__ */ m(dD, { date: n, "data-mode": e }) })
23212
23273
  ] });
23213
23274
  }
23214
23275
  const uk = y.forwardRef(
@@ -23238,7 +23299,7 @@ const uk = y.forwardRef(
23238
23299
  ampm: B,
23239
23300
  ...P
23240
23301
  }, b) => {
23241
- const I = it(iD), T = P["aria-label"] ?? String(n), k = rr({
23302
+ const I = it(cD), T = P["aria-label"] ?? String(n), k = rr({
23242
23303
  nature: p,
23243
23304
  successHelperText: s,
23244
23305
  errorHelperText: o
@@ -23258,7 +23319,7 @@ const uk = y.forwardRef(
23258
23319
  }, x = D ? zt("2000-01-01T00:00:00", D) : void 0;
23259
23320
  let A;
23260
23321
  return B === !0 && (A = 12), B === !1 && (A = 24), /* @__PURE__ */ m(on, { ...z, ref: b, children: /* @__PURE__ */ q(
23261
- JC,
23322
+ nD,
23262
23323
  {
23263
23324
  ...P,
23264
23325
  id: t,
@@ -23275,9 +23336,9 @@ const uk = y.forwardRef(
23275
23336
  maxValue: zt(C, D) ?? void 0,
23276
23337
  isDateUnavailable: w ? (j) => w(mu(j)) : void 0,
23277
23338
  children: [
23278
- /* @__PURE__ */ q(XC, { "data-fullwidth": c, children: [
23339
+ /* @__PURE__ */ q(rD, { "data-fullwidth": c, children: [
23279
23340
  /* @__PURE__ */ m(
23280
- QC,
23341
+ uD,
23281
23342
  {
23282
23343
  "data-fullwidth": c,
23283
23344
  "aria-disabled": h,
@@ -23299,27 +23360,27 @@ const uk = y.forwardRef(
23299
23360
  }
23300
23361
  ) });
23301
23362
  }
23302
- ), iD = {
23363
+ ), cD = {
23303
23364
  en: {
23304
23365
  openCalendar: "Open calendar "
23305
23366
  },
23306
23367
  fr: {
23307
23368
  openCalendar: "Ouvrir le calendrier "
23308
23369
  }
23309
- }, oD = F(qv)`
23370
+ }, fD = F(qv)`
23310
23371
  display: flex;
23311
23372
 
23312
23373
  &[data-fullwidth="true"] {
23313
23374
  width: 100%;
23314
23375
  }
23315
- `, lD = F(Fs)`
23376
+ `, pD = F(Fs)`
23316
23377
  display: flex;
23317
23378
  column-gap: var(--spacing-xxs);
23318
23379
 
23319
23380
  &[data-fullwidth="true"] {
23320
23381
  width: 100%;
23321
23382
  }
23322
- `, sD = F.div`
23383
+ `, mD = F.div`
23323
23384
  display: flex;
23324
23385
  align-items: center;
23325
23386
  outline: 1px solid var(--color-content-neutral-stroke);
@@ -23344,7 +23405,7 @@ const uk = y.forwardRef(
23344
23405
  &[data-nature="positive"] {
23345
23406
  outline-color: var(--color-content-message-positive-darker);
23346
23407
  }
23347
- `, dD = F.span`
23408
+ `, hD = F.span`
23348
23409
  display: inline-block;
23349
23410
  margin: 0 var(--spacing-xxs);
23350
23411
  `, jc = F(Ks)`
@@ -23401,7 +23462,7 @@ const uk = y.forwardRef(
23401
23462
  ampm: B,
23402
23463
  ...P
23403
23464
  }, b) => {
23404
- const I = it(cD), T = P["aria-label"] ?? String(n), k = rr({
23465
+ const I = it(gD), T = P["aria-label"] ?? String(n), k = rr({
23405
23466
  nature: p,
23406
23467
  successHelperText: s,
23407
23468
  errorHelperText: o
@@ -23421,7 +23482,7 @@ const uk = y.forwardRef(
23421
23482
  }, x = D && zt("2000-01-01T00:00:00", D) || void 0;
23422
23483
  let A;
23423
23484
  return B === !0 && (A = 12), B === !1 && (A = 24), /* @__PURE__ */ m(on, { ...z, ref: b, children: /* @__PURE__ */ q(
23424
- oD,
23485
+ fD,
23425
23486
  {
23426
23487
  ...P,
23427
23488
  id: t,
@@ -23441,16 +23502,16 @@ const uk = y.forwardRef(
23441
23502
  maxValue: C ? zt(C, D) : void 0,
23442
23503
  isDateUnavailable: w ? (j) => w(mu(j)) : void 0,
23443
23504
  children: [
23444
- /* @__PURE__ */ q(lD, { "data-fullwidth": c, children: [
23505
+ /* @__PURE__ */ q(pD, { "data-fullwidth": c, children: [
23445
23506
  /* @__PURE__ */ q(
23446
- sD,
23507
+ mD,
23447
23508
  {
23448
23509
  "data-disabled": h,
23449
23510
  "data-nature": k,
23450
23511
  "data-fullwidth": c,
23451
23512
  children: [
23452
23513
  /* @__PURE__ */ m(jc, { slot: "start", "aria-disabled": h, children: (j) => /* @__PURE__ */ m(Ya, { segment: j }) }),
23453
- /* @__PURE__ */ m(dD, { "aria-hidden": "true", children: "–" }),
23514
+ /* @__PURE__ */ m(hD, { "aria-hidden": "true", children: "–" }),
23454
23515
  /* @__PURE__ */ m(jc, { slot: "end", "aria-disabled": h, children: (j) => /* @__PURE__ */ m(Ya, { segment: j }) })
23455
23516
  ]
23456
23517
  }
@@ -23469,7 +23530,7 @@ const uk = y.forwardRef(
23469
23530
  }
23470
23531
  ) });
23471
23532
  }
23472
- ), cD = {
23533
+ ), gD = {
23473
23534
  en: {
23474
23535
  openCalendar: "Open calendar "
23475
23536
  },
@@ -23490,7 +23551,7 @@ const _c = Iu`
23490
23551
  `, Zc = Iu`
23491
23552
  from { background: rgba(0 0 0 / 0); }
23492
23553
  to { background: rgba(0 12 51 / 0.7); }
23493
- `, fD = F(Ls)`
23554
+ `, bD = F(Ls)`
23494
23555
  position: fixed;
23495
23556
  z-index: var(--z-index-modal);
23496
23557
  top: 0;
@@ -23513,7 +23574,7 @@ const _c = Iu`
23513
23574
  animation: none;
23514
23575
  }
23515
23576
  }
23516
- `, pD = F(Q7)`
23577
+ `, vD = F(Q7)`
23517
23578
  position: fixed;
23518
23579
  top: 0;
23519
23580
  right: 0;
@@ -23536,12 +23597,12 @@ const _c = Iu`
23536
23597
  animation: none;
23537
23598
  }
23538
23599
  }
23539
- `, mD = F(Fi)`
23600
+ `, yD = F(Fi)`
23540
23601
  outline: none;
23541
23602
  height: 100%;
23542
23603
  display: flex;
23543
23604
  flex-direction: column;
23544
- `, hD = F.header`
23605
+ `, $D = F.header`
23545
23606
  display: flex;
23546
23607
  align-items: center;
23547
23608
  justify-content: space-between;
@@ -23549,20 +23610,20 @@ const _c = Iu`
23549
23610
  var(--spacing-sm);
23550
23611
  gap: var(--spacing-xs);
23551
23612
  background: var(--color-content-action-action-darker);
23552
- `, gD = F(Ri)`
23613
+ `, CD = F(Ri)`
23553
23614
  margin: 0;
23554
23615
  font-size: ${Q.small};
23555
23616
  font-style: normal;
23556
23617
  font-weight: 700;
23557
23618
  line-height: ${le.small};
23558
23619
  color: var(--color-content-neutral-primary-reversed);
23559
- `, bD = F(Le)`
23620
+ `, DD = F(Le)`
23560
23621
  color: var(--color-content-neutral-primary-reversed);
23561
- `, vD = F.section`
23622
+ `, xD = F.section`
23562
23623
  padding: var(--spacing-lg);
23563
23624
  flex: 1;
23564
23625
  overflow-y: auto;
23565
- `, yD = F.footer`
23626
+ `, ED = F.footer`
23566
23627
  display: flex;
23567
23628
  justify-content: flex-end;
23568
23629
  align-items: center;
@@ -23570,7 +23631,7 @@ const _c = Iu`
23570
23631
  gap: var(--spacing-sm);
23571
23632
  border-top: 1px solid var(--color-content-neutral-stroke);
23572
23633
  `;
23573
- function $D({
23634
+ function wD({
23574
23635
  children: e,
23575
23636
  onPrimaryClick: t,
23576
23637
  primaryLabel: n,
@@ -23582,17 +23643,17 @@ function $D({
23582
23643
  isDismissable: l = !0
23583
23644
  }) {
23584
23645
  return /* @__PURE__ */ m(
23585
- fD,
23646
+ bD,
23586
23647
  {
23587
23648
  isOpen: a,
23588
23649
  onOpenChange: i,
23589
23650
  isDismissable: l,
23590
23651
  isKeyboardDismissDisabled: !l,
23591
- children: /* @__PURE__ */ m(pD, { children: /* @__PURE__ */ m(mD, { "aria-label": o, children: ({ close: s }) => /* @__PURE__ */ q(Sr, { children: [
23592
- /* @__PURE__ */ q(hD, { children: [
23593
- /* @__PURE__ */ m(gD, { slot: "title", children: o }),
23652
+ children: /* @__PURE__ */ m(vD, { children: /* @__PURE__ */ m(yD, { "aria-label": o, children: ({ close: s }) => /* @__PURE__ */ q(Sr, { children: [
23653
+ /* @__PURE__ */ q($D, { children: [
23654
+ /* @__PURE__ */ m(CD, { slot: "title", children: o }),
23594
23655
  /* @__PURE__ */ m(
23595
- bD,
23656
+ DD,
23596
23657
  {
23597
23658
  type: "button",
23598
23659
  onClick: s,
@@ -23602,8 +23663,8 @@ function $D({
23602
23663
  }
23603
23664
  )
23604
23665
  ] }),
23605
- /* @__PURE__ */ m(vD, { children: e }),
23606
- /* @__PURE__ */ q(yD, { children: [
23666
+ /* @__PURE__ */ m(xD, { children: e }),
23667
+ /* @__PURE__ */ q(ED, { children: [
23607
23668
  r && u && /* @__PURE__ */ m(
23608
23669
  Le,
23609
23670
  {
@@ -23618,13 +23679,13 @@ function $D({
23618
23679
  }
23619
23680
  );
23620
23681
  }
23621
- const CD = F.li`
23682
+ const BD = F.li`
23622
23683
  display: flex;
23623
23684
  align-items: center;
23624
23685
  column-gap: var(--spacing-sm);
23625
23686
  padding: var(--spacing-xs) 0;
23626
23687
  list-style: none;
23627
- `, DD = F(De)`
23688
+ `, kD = F(De)`
23628
23689
  flex: none;
23629
23690
  font-size: ${Q.large};
23630
23691
  color: var(--color-content-brand-brand-2);
@@ -23632,12 +23693,12 @@ const CD = F.li`
23632
23693
  &[data-is-uploading="true"] {
23633
23694
  color: var(--color-content-neutral-tertiary);
23634
23695
  }
23635
- `, xD = F.div`
23696
+ `, SD = F.div`
23636
23697
  flex: 1;
23637
23698
  max-width: 100%;
23638
23699
  white-space: nowrap;
23639
23700
  overflow: hidden;
23640
- `, ED = F.div`
23701
+ `, PD = F.div`
23641
23702
  color: var(--color-content-neutral-primary);
23642
23703
  font-size: ${Q.extraSmall};
23643
23704
  font-style: normal;
@@ -23646,7 +23707,7 @@ const CD = F.li`
23646
23707
  max-width: 100%;
23647
23708
  text-overflow: ellipsis;
23648
23709
  overflow: hidden;
23649
- `, wD = F.div`
23710
+ `, AD = F.div`
23650
23711
  color: var(--color-content-neutral-secondary);
23651
23712
  font-size: ${Q.xxSmall};
23652
23713
  font-style: normal;
@@ -23656,19 +23717,19 @@ const CD = F.li`
23656
23717
  text-overflow: ellipsis;
23657
23718
  overflow: hidden;
23658
23719
  `;
23659
- function BD({
23720
+ function FD({
23660
23721
  id: e,
23661
23722
  fileName: t,
23662
23723
  fileSize: n,
23663
23724
  isUploading: r,
23664
23725
  onDelete: u
23665
23726
  }) {
23666
- const a = it(kD);
23667
- return /* @__PURE__ */ q(CD, { id: e, children: [
23668
- /* @__PURE__ */ m(DD, { name: "text_snippet", "data-is-uploading": r }),
23669
- /* @__PURE__ */ q(xD, { children: [
23670
- /* @__PURE__ */ m(ED, { title: t, children: t }),
23671
- /* @__PURE__ */ m(wD, { title: n, children: n })
23727
+ const a = it(TD);
23728
+ return /* @__PURE__ */ q(BD, { id: e, children: [
23729
+ /* @__PURE__ */ m(kD, { name: "text_snippet", "data-is-uploading": r }),
23730
+ /* @__PURE__ */ q(SD, { children: [
23731
+ /* @__PURE__ */ m(PD, { title: t, children: t }),
23732
+ /* @__PURE__ */ m(AD, { title: n, children: n })
23672
23733
  ] }),
23673
23734
  /* @__PURE__ */ m(
23674
23735
  Le,
@@ -23682,7 +23743,7 @@ function BD({
23682
23743
  )
23683
23744
  ] });
23684
23745
  }
23685
- const kD = {
23746
+ const TD = {
23686
23747
  en: {
23687
23748
  isLoading: "Loading in progress...",
23688
23749
  delete: "Delete"
@@ -23691,14 +23752,14 @@ const kD = {
23691
23752
  isLoading: "Chargement en cours...",
23692
23753
  delete: "Supprimer"
23693
23754
  }
23694
- }, SD = F.div`
23755
+ }, ID = F.div`
23695
23756
  width: 100%;
23696
23757
  min-width: 313px;
23697
- `, PD = F.ul`
23758
+ `, RD = F.ul`
23698
23759
  list-style: none;
23699
23760
  margin: var(--spacing-xs) 0 0 0;
23700
23761
  padding: 0;
23701
- `, AD = F(ry)`
23762
+ `, MD = F(ry)`
23702
23763
  padding: var(--spacing-xs);
23703
23764
  display: flex;
23704
23765
  align-items: center;
@@ -23725,7 +23786,7 @@ const kD = {
23725
23786
  cursor: not-allowed;
23726
23787
  }
23727
23788
  `;
23728
- function FD(...e) {
23789
+ function VD(...e) {
23729
23790
  return e.length === 2 ? Wc(e[0], e[1]) || null : e.slice(1).reduce(
23730
23791
  (n, r) => Wc(n, r),
23731
23792
  e[0]
@@ -23757,7 +23818,7 @@ const ik = y.forwardRef(
23757
23818
  style: i,
23758
23819
  isDisabled: o = !1
23759
23820
  }, l) => {
23760
- const s = it(TD), d = _(null), f = !!(r != null && r.length) && !n;
23821
+ const s = it(KD), d = _(null), f = !!(r != null && r.length) && !n;
23761
23822
  ie(() => {
23762
23823
  var c;
23763
23824
  u.htmlForId && ((c = d.current) == null || c.setAttribute("id", u.htmlForId));
@@ -23768,12 +23829,12 @@ const ik = y.forwardRef(
23768
23829
  },
23769
23830
  [n, f, e]
23770
23831
  );
23771
- return /* @__PURE__ */ q(SD, { className: a, style: i, children: [
23832
+ return /* @__PURE__ */ q(ID, { className: a, style: i, children: [
23772
23833
  /* @__PURE__ */ m(on, { ...u, children: /* @__PURE__ */ q(
23773
- AD,
23834
+ MD,
23774
23835
  {
23775
23836
  isDisabled: o,
23776
- getDropOperation: (c) => f ? "cancel" : ID(c, t),
23837
+ getDropOperation: (c) => f ? "cancel" : OD(c, t),
23777
23838
  onDrop: async (c) => {
23778
23839
  const h = [], g = c.items.filter((v) => v.kind === "file");
23779
23840
  for (const v of g) h.push(await v.getFile());
@@ -23784,7 +23845,7 @@ const ik = y.forwardRef(
23784
23845
  uy,
23785
23846
  {
23786
23847
  "aria-label": u.label,
23787
- ref: FD(l, d),
23848
+ ref: VD(l, d),
23788
23849
  onSelect: (c) => {
23789
23850
  if (!c)
23790
23851
  return console.error("No file selected");
@@ -23807,10 +23868,10 @@ const ik = y.forwardRef(
23807
23868
  ]
23808
23869
  }
23809
23870
  ) }),
23810
- !!(r != null && r.length) && /* @__PURE__ */ m(PD, { children: r.map((c) => /* @__PURE__ */ m(BD, { ...c }, c.id)) })
23871
+ !!(r != null && r.length) && /* @__PURE__ */ m(RD, { children: r.map((c) => /* @__PURE__ */ m(FD, { ...c }, c.id)) })
23811
23872
  ] });
23812
23873
  }
23813
- ), TD = {
23874
+ ), KD = {
23814
23875
  en: {
23815
23876
  trigger: "Browse",
23816
23877
  dropHere: "Or drop your file here",
@@ -23822,14 +23883,14 @@ const ik = y.forwardRef(
23822
23883
  dropHerePlural: "Ou déposer vos fichiers ici"
23823
23884
  }
23824
23885
  };
23825
- function ID(e, t) {
23886
+ function OD(e, t) {
23826
23887
  if (!(t != null && t.length)) return "copy";
23827
23888
  let n = !1;
23828
23889
  return t.forEach((r) => {
23829
23890
  e.has(r) && (n = !0);
23830
23891
  }), n ? "copy" : "cancel";
23831
23892
  }
23832
- const RD = F.div`
23893
+ const LD = F.div`
23833
23894
  display: inline-flex;
23834
23895
  flex-direction: column;
23835
23896
  row-gap: var(--spacing-xs);
@@ -23837,14 +23898,14 @@ const RD = F.div`
23837
23898
  &[data-fullwidth="true"] {
23838
23899
  width: 100%;
23839
23900
  }
23840
- `, MD = F.div`
23901
+ `, zD = F.div`
23841
23902
  display: inline-block;
23842
23903
  position: relative;
23843
23904
 
23844
23905
  &[data-fullwidth="true"] {
23845
23906
  width: 100%;
23846
23907
  }
23847
- `, VD = F(De)`
23908
+ `, ND = F(De)`
23848
23909
  position: absolute;
23849
23910
  color: var(--color);
23850
23911
  inset-block-end: var(--spacing-xs);
@@ -23867,7 +23928,7 @@ const RD = F.div`
23867
23928
  cursor: not-allowed;
23868
23929
  --color: var(--color-content-neutral-primary);
23869
23930
  }
23870
- `, KD = F.div`
23931
+ `, jD = F.div`
23871
23932
  align-self: flex-end;
23872
23933
  color: var(--color);
23873
23934
  column-gap: var(--spacing-xxs);
@@ -23894,7 +23955,7 @@ const RD = F.div`
23894
23955
  &[data-nature="positive"] {
23895
23956
  --color: var(--color-content-neutral-secondary);
23896
23957
  }
23897
- `, OD = y.forwardRef(
23958
+ `, HD = y.forwardRef(
23898
23959
  ({
23899
23960
  nature: e,
23900
23961
  inputIcon: t,
@@ -23923,7 +23984,7 @@ const RD = F.div`
23923
23984
  nature: e,
23924
23985
  successHelperText: E,
23925
23986
  errorHelperText: C
23926
- }), T = it(LD);
23987
+ }), T = it(_D);
23927
23988
  return /* @__PURE__ */ m(
23928
23989
  on,
23929
23990
  {
@@ -23939,8 +24000,8 @@ const RD = F.div`
23939
24000
  successHelperText: E,
23940
24001
  successHelperTextIcon: $,
23941
24002
  required: l,
23942
- children: /* @__PURE__ */ q(RD, { "data-fullwidth": h, children: [
23943
- /* @__PURE__ */ q(MD, { "data-fullwidth": h, children: [
24003
+ children: /* @__PURE__ */ q(LD, { "data-fullwidth": h, children: [
24004
+ /* @__PURE__ */ q(zD, { "data-fullwidth": h, children: [
23944
24005
  /* @__PURE__ */ m(
23945
24006
  fp,
23946
24007
  {
@@ -23961,7 +24022,7 @@ const RD = F.div`
23961
24022
  }
23962
24023
  ),
23963
24024
  !!t && /* @__PURE__ */ m(
23964
- VD,
24025
+ ND,
23965
24026
  {
23966
24027
  name: t,
23967
24028
  "data-nature": I,
@@ -23970,7 +24031,7 @@ const RD = F.div`
23970
24031
  )
23971
24032
  ] }),
23972
24033
  !!a && typeof s == "string" && /* @__PURE__ */ q(
23973
- KD,
24034
+ jD,
23974
24035
  {
23975
24036
  "data-nature": f ? "disabled" : I,
23976
24037
  children: [
@@ -23986,92 +24047,31 @@ const RD = F.div`
23986
24047
  }
23987
24048
  );
23988
24049
  }
23989
- ), LD = {
24050
+ ), _D = {
23990
24051
  en: {
23991
24052
  characterCounter: "Character counter"
23992
24053
  },
23993
24054
  fr: {
23994
24055
  characterCounter: "Nombre de caractères"
23995
24056
  }
23996
- }, zD = F.div`
24057
+ }, ZD = F.div`
23997
24058
  display: flex;
23998
24059
  flex-direction: column;
23999
24060
  gap: var(--spacing-sm);
24000
24061
  margin-bottom: var(--spacing-sm);
24001
- `, ND = F.div`
24062
+ `, UD = F.div`
24002
24063
  display: flex;
24003
24064
  align-items: flex-end;
24004
24065
  justify-content: flex-end;
24005
24066
  gap: var(--spacing-sm);
24006
- `, jD = F.div`
24067
+ `, WD = F.div`
24007
24068
  display: flex;
24008
24069
  align-items: center;
24009
24070
  justify-content: flex-end;
24010
24071
  gap: var(--spacing-xs);
24011
- `, HD = F(OD)`
24072
+ `, GD = F(HD)`
24012
24073
  width: 284px;
24013
- `, _D = F.span`
24014
- align-items: center;
24015
- background-color: var(--color-content-neutral-secondary);
24016
- border-radius: var(--spacing-xxs);
24017
- color: var(--color-content-neutral-primary-reversed);
24018
- display: inline-flex;
24019
- font-weight: 700;
24020
- gap: var(--spacing-xs);
24021
- padding: var(--spacing-xs) var(--spacing-xxs) var(--spacing-xs)
24022
- var(--spacing-xs);
24023
-
24024
- &[data-size="small"] {
24025
- font-size: ${Q.xxSmall};
24026
- line-height: ${le.xxSmall};
24027
- }
24028
-
24029
- &[data-size="medium"] {
24030
- font-size: ${Q.extraSmall};
24031
- line-height: ${le.extraSmall};
24032
- }
24033
- `, ZD = F.button`
24034
- all: unset;
24035
- cursor: pointer;
24036
- display: flex;
24037
- align-items: center;
24038
-
24039
- &:focus-visible {
24040
- outline: 2px solid var(--color-background-highlight-focus);
24041
- border-radius: var(--radius-rounded);
24042
- }
24043
- `, UD = F(De)`
24044
- color: var(--color-content-neutral-primary-reversed);
24045
-
24046
- &[data-size="small"] {
24047
- width: ${Q.small};
24048
- }
24049
-
24050
- &[data-size="medium"] {
24051
- width: ${Q.large};
24052
- }
24053
- `, WD = ({ value: e, size: t = "medium", onClose: n }) => {
24054
- const r = it(GD);
24055
- return /* @__PURE__ */ q(_D, { "data-size": t, children: [
24056
- /* @__PURE__ */ m("span", { children: e }),
24057
- /* @__PURE__ */ m(
24058
- ZD,
24059
- {
24060
- type: "button",
24061
- onClick: n,
24062
- "aria-label": `${r.close} ${e}`,
24063
- children: /* @__PURE__ */ m(UD, { name: "close", "data-size": t })
24064
- }
24065
- )
24066
- ] });
24067
- }, GD = {
24068
- en: {
24069
- close: "Close"
24070
- },
24071
- fr: {
24072
- close: "Fermer"
24073
- }
24074
- };
24074
+ `;
24075
24075
  function ok({
24076
24076
  extraLeftContent: e,
24077
24077
  extraRightContent: t,
@@ -24101,11 +24101,11 @@ function ok({
24101
24101
  });
24102
24102
  });
24103
24103
  }
24104
- }), /* @__PURE__ */ q(zD, { ...n, children: [
24105
- /* @__PURE__ */ q(ND, { children: [
24104
+ }), /* @__PURE__ */ q(ZD, { ...n, children: [
24105
+ /* @__PURE__ */ q(UD, { children: [
24106
24106
  e,
24107
24107
  !!p && /* @__PURE__ */ m(
24108
- HD,
24108
+ GD,
24109
24109
  {
24110
24110
  "aria-label": i,
24111
24111
  placeholder: o,
@@ -24143,8 +24143,8 @@ function ok({
24143
24143
  ),
24144
24144
  t
24145
24145
  ] }),
24146
- g.length > 0 && /* @__PURE__ */ q(jD, { children: [
24147
- g == null ? void 0 : g.map((v) => /* @__PURE__ */ m(WD, { ...v }, v.value)),
24146
+ g.length > 0 && /* @__PURE__ */ q(WD, { children: [
24147
+ g == null ? void 0 : g.map((v) => /* @__PURE__ */ m(lC, { ...v }, v.value)),
24148
24148
  /* @__PURE__ */ m(
24149
24149
  Le,
24150
24150
  {
@@ -24155,7 +24155,7 @@ function ok({
24155
24155
  )
24156
24156
  ] }),
24157
24157
  /* @__PURE__ */ m(
24158
- $D,
24158
+ wD,
24159
24159
  {
24160
24160
  isOpen: s,
24161
24161
  onOpenChange: d,
@@ -25516,7 +25516,7 @@ const Ux = {
25516
25516
  &[data-navigation-overlay-collapsed="false"] {
25517
25517
  display: block;
25518
25518
  position: fixed;
25519
- width: 100vh;
25519
+ width: 100vw;
25520
25520
  height: 100vh;
25521
25521
  z-index: calc(var(--z-index-fixed) - 1);
25522
25522
  background: rgba(0 12 51 / 0.7);
@@ -29118,22 +29118,23 @@ export {
29118
29118
  Le as Button,
29119
29119
  G$ as Checkbox,
29120
29120
  QB as CheckboxGroup,
29121
+ lC as Chip,
29121
29122
  ek as Combobox,
29122
29123
  tk as DataTable,
29123
29124
  nk as DataTableCell,
29124
29125
  rk as DataTableHeader,
29125
- LC as DataTableRoot,
29126
- xC as DataTableRow,
29126
+ _C as DataTableRoot,
29127
+ SC as DataTableRow,
29127
29128
  uk as DatePicker,
29128
29129
  ak as DateRangePicker,
29129
- $D as Drawer,
29130
+ wD as Drawer,
29130
29131
  q$ as Dropdown,
29131
29132
  ik as FileUpload,
29132
29133
  ok as Filter,
29133
29134
  lk as Header,
29134
29135
  YB as I18nProvider,
29135
29136
  De as Icon,
29136
- sC as Label,
29137
+ mC as Label,
29137
29138
  sk as Link,
29138
29139
  cp as Loader,
29139
29140
  dk as Menu,
@@ -29146,7 +29147,7 @@ export {
29146
29147
  bk as Navigation,
29147
29148
  kl as NavigationItem,
29148
29149
  vk as PageLayout,
29149
- VC as Pagination,
29150
+ NC as Pagination,
29150
29151
  yk as Radio,
29151
29152
  Rk as RouterProvider,
29152
29153
  $k as SegmentedControl,
@@ -29161,7 +29162,7 @@ export {
29161
29162
  kk as TabPanel,
29162
29163
  Sk as Tabs,
29163
29164
  Pk as Tag,
29164
- OD as TextInput,
29165
+ HD as TextInput,
29165
29166
  Ak as TimeField,
29166
29167
  Tk as Toaster,
29167
29168
  Ik as YearMonthPicker,