@iress-oss/ids-components 0.0.1-dev.5 → 0.0.1-dev.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/dist/{FieldAppendToLabel-CnSsFR-r.js → FieldAppendToLabel-CVrB7qEZ.js} +1 -1
  2. package/dist/{LoadingSuspense-CjQp8lLW.js → LoadingSuspense-CwngxeYy.js} +407 -405
  3. package/dist/components/Alert/Alert.js +1 -1
  4. package/dist/components/Alert/index.js +1 -1
  5. package/dist/components/Autocomplete/Autocomplete.js +1 -1
  6. package/dist/components/Autocomplete/index.js +1 -1
  7. package/dist/components/Button/Button.js +1 -1
  8. package/dist/components/Button/CloseButton/CloseButton.js +1 -1
  9. package/dist/components/Button/index.js +1 -1
  10. package/dist/components/ButtonGroup/ButtonGroup.js +1 -1
  11. package/dist/components/Checkbox/Checkbox.js +1 -1
  12. package/dist/components/Checkbox/helpers/mapCheckboxGroupOptions.js +1 -1
  13. package/dist/components/Checkbox/index.js +1 -1
  14. package/dist/components/Combobox/Combobox.js +1 -1
  15. package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +1 -1
  16. package/dist/components/Combobox/components/ComboboxResults.js +1 -1
  17. package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +1 -1
  18. package/dist/components/Combobox/index.js +1 -1
  19. package/dist/components/Field/Field.js +1 -1
  20. package/dist/components/Field/FieldGroup/FieldGroup.js +1 -1
  21. package/dist/components/Field/components/FieldAppendToLabel.js +2 -2
  22. package/dist/components/Filter/Filter.js +1 -1
  23. package/dist/components/Filter/components/FilterResetButton.js +1 -1
  24. package/dist/components/Filter/components/FilterSearch.js +1 -1
  25. package/dist/components/Filter/index.js +1 -1
  26. package/dist/components/Form/Form.js +1 -1
  27. package/dist/components/Form/FormField/FormField.js +1 -1
  28. package/dist/components/Form/FormField/FormFieldset.js +1 -1
  29. package/dist/components/Form/HookForm/HookForm.js +1 -1
  30. package/dist/components/Form/index.js +1 -1
  31. package/dist/components/Hide/Hide.js +1 -1
  32. package/dist/components/Hide/helpers/composeHideClasses.js +1 -1
  33. package/dist/components/Hide/index.js +1 -1
  34. package/dist/components/Icon/Icon.js +1 -1
  35. package/dist/components/Icon/index.js +1 -1
  36. package/dist/components/Inline/Inline.js +1 -1
  37. package/dist/components/Inline/index.js +1 -1
  38. package/dist/components/Input/Input.js +1 -1
  39. package/dist/components/Input/index.js +1 -1
  40. package/dist/components/InputCurrency/InputCurrency.js +1 -1
  41. package/dist/components/InputCurrency/index.js +1 -1
  42. package/dist/components/Menu/MenuDivider/MenuDivider.js +1 -1
  43. package/dist/components/Menu/MenuHeading/MenuHeading.js +1 -1
  44. package/dist/components/Menu/MenuItem/MenuItem.js +1 -1
  45. package/dist/components/Menu/MenuText/MenuText.js +1 -1
  46. package/dist/components/Menu/helpers/mapMenuItems.js +1 -1
  47. package/dist/components/Menu/index.js +1 -1
  48. package/dist/components/Modal/Modal.js +1 -1
  49. package/dist/components/Modal/index.js +1 -1
  50. package/dist/components/Navbar/Navbar.js +1 -1
  51. package/dist/components/Navbar/components/HomeLinkContent.js +1 -1
  52. package/dist/components/Navbar/components/NavbarLogo.js +1 -1
  53. package/dist/components/Navbar/index.js +1 -1
  54. package/dist/components/Radio/Radio.js +1 -1
  55. package/dist/components/Radio/helpers/mapRadioGroupOptions.js +1 -1
  56. package/dist/components/Radio/index.js +1 -1
  57. package/dist/components/Readonly/Readonly.js +1 -1
  58. package/dist/components/Readonly/index.js +1 -1
  59. package/dist/components/RichSelect/RichSelect.js +1 -1
  60. package/dist/components/RichSelect/SelectBody/SelectBody.js +1 -1
  61. package/dist/components/RichSelect/SelectCreate/SelectCreate.js +1 -1
  62. package/dist/components/RichSelect/SelectHeading/SelectHeading.js +1 -1
  63. package/dist/components/RichSelect/SelectLabel/SelectLabel.js +1 -1
  64. package/dist/components/RichSelect/SelectMenu/SelectMenu.js +1 -1
  65. package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +1 -1
  66. package/dist/components/RichSelect/SelectSearch/SelectSearch.js +1 -1
  67. package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +1 -1
  68. package/dist/components/RichSelect/SelectTags/SelectTags.js +1 -1
  69. package/dist/components/RichSelect/components/SelectActivator.js +1 -1
  70. package/dist/components/RichSelect/components/SelectOptions.js +1 -1
  71. package/dist/components/RichSelect/index.js +1 -1
  72. package/dist/components/Row/Row.js +1 -1
  73. package/dist/components/Row/index.js +1 -1
  74. package/dist/components/Select/Select.js +1 -1
  75. package/dist/components/Select/components/SelectReadonly.js +1 -1
  76. package/dist/components/Select/helpers/mapSelectOptions.js +1 -1
  77. package/dist/components/Select/helpers/nodesToSelectOptions.js +1 -1
  78. package/dist/components/Select/index.js +1 -1
  79. package/dist/components/Slideout/Slideout.js +1 -1
  80. package/dist/components/Slideout/components/SlideoutInner.js +1 -1
  81. package/dist/components/Slideout/index.js +1 -1
  82. package/dist/components/Slider/Slider.js +1 -1
  83. package/dist/components/Slider/index.js +1 -1
  84. package/dist/components/Spinner/Spinner.js +1 -1
  85. package/dist/components/Spinner/index.js +1 -1
  86. package/dist/components/Table/Table.js +1 -1
  87. package/dist/components/Table/TableBody/TableBody.js +1 -1
  88. package/dist/components/Table/components/TableHeader.js +1 -1
  89. package/dist/components/Table/components/TableHeaderCell.js +1 -1
  90. package/dist/components/Table/components/TableSortButton.js +1 -1
  91. package/dist/components/Table/index.js +1 -1
  92. package/dist/components/Tag/Tag.js +1 -1
  93. package/dist/components/Tag/TagInput/TagInput.js +1 -1
  94. package/dist/components/Tag/components/TagListInput/TagListInput.js +1 -1
  95. package/dist/components/Tag/index.js +1 -1
  96. package/dist/components/Toaster/Toast/Toast.js +1 -1
  97. package/dist/components/Toaster/Toast/ToastAnimated.js +1 -1
  98. package/dist/components/Toaster/Toast/ToastIcon.js +1 -1
  99. package/dist/components/Toaster/Toaster.js +1 -1
  100. package/dist/components/Toaster/ToasterProvider.js +1 -1
  101. package/dist/components/Toaster/hooks/useToaster.js +1 -1
  102. package/dist/components/Toaster/index.js +1 -1
  103. package/dist/main.js +1 -1
  104. package/dist/patterns/Loading/Loading.js +1 -1
  105. package/dist/patterns/Loading/LoadingSuspense.js +1 -1
  106. package/dist/patterns/Loading/components/ComponentLoading.js +1 -1
  107. package/dist/patterns/Loading/components/DefaultLoading.js +1 -1
  108. package/dist/patterns/Loading/components/PageLoading.js +1 -1
  109. package/dist/patterns/Loading/components/ValidateLoading.js +1 -1
  110. package/dist/patterns/Loading/index.js +1 -1
  111. package/package.json +1 -1
@@ -3,13 +3,13 @@ import * as hn from "react";
3
3
  import ee, { forwardRef as re, useRef as me, useState as X, useMemo as Ie, useImperativeHandle as Be, useId as vs, useCallback as Ae, useEffect as te, createElement as fr, useContext as gs, cloneElement as mr, createContext as pn, Suspense as Os } from "react";
4
4
  import { StartUpLoading as vn } from "./patterns/Loading/components/StartUpLoading.js";
5
5
  import { c as $ } from "./index-2QXL0WYc.js";
6
- import { IconSpin as gn, IconSize as hr, IconFlip as yn, IconRotate as bn, IconSet as _n } from "./components/Icon/Icon.types.js";
7
- import { ALERT_ICONS as xn } from "./components/Alert/Alert.types.js";
8
- import { TextMode as Sn, HeadingLevel as ys, SystemValidationStatus as Nn, GlobalCSSClass as G, TextFieldType as wn, FormElementWidth as bs, Breakpoint as pr, DisplayMode as In, GutterSize as _s, HorizontalAlign as vr, VerticalAlign as gr, ModalSize as kn, PaddingSize as yr } from "./enums.js";
6
+ import { IconSpin as gn, IconSize as hr, IconFlip as yn, IconRotate as bn, IconSet as xn } from "./components/Icon/Icon.types.js";
7
+ import { ALERT_ICONS as _n } from "./components/Alert/Alert.types.js";
8
+ import { TextMode as Sn, HeadingLevel as ys, SystemValidationStatus as Nn, GlobalCSSClass as G, TextFieldType as wn, FormElementWidth as bs, Breakpoint as pr, DisplayMode as In, GutterSize as xs, HorizontalAlign as vr, VerticalAlign as gr, ModalSize as kn, PaddingSize as yr } from "./enums.js";
9
9
  import { IressText as Pe } from "./components/Text/Text.js";
10
10
  import { propagateTestid as T } from "./helpers/utility/propagateTestid.js";
11
11
  import { HeadingWithDeprecatedFallback as br } from "./components/HeadingWithDeprecatedFallback/HeadingWithDeprecatedFallback.js";
12
- import { s as Bt, A as xs } from "./AutocompleteNoResults-ImNh0dmJ.js";
12
+ import { s as Bt, A as _s } from "./AutocompleteNoResults-ImNh0dmJ.js";
13
13
  import { IressPopover as Ss } from "./components/Popover/Popover.js";
14
14
  import "./components/Popover/PopoverProvider.js";
15
15
  import { IressInputPopover as Xt } from "./components/Popover/InputPopover/InputPopover.js";
@@ -17,7 +17,7 @@ import { getFormControlValueAsString as yt } from "./helpers/form/getFormControl
17
17
  import { ClearButton as Fn } from "./components/Input/ClearButton/ClearButton.js";
18
18
  import { b as is, I as An } from "./InputBase-LsLk3nX1.js";
19
19
  import { InputMode as $n } from "./components/Input/Input.types.js";
20
- import { useControlledState as _t } from "./hooks/useControlledState.js";
20
+ import { useControlledState as xt } from "./hooks/useControlledState.js";
21
21
  import "./fuzzysort-eoXOpoo6.js";
22
22
  import "./components/Badge/Badge.js";
23
23
  import { ButtonMode as Vn, ButtonType as Rn, ButtonCssClass as Te } from "./components/Button/Button.types.js";
@@ -31,7 +31,7 @@ import { CheckboxGroupContext as Mn } from "./components/CheckboxGroup/CheckboxG
31
31
  import { toArray as Se } from "./helpers/formatting/toArray.js";
32
32
  import "./components/CheckboxGroup/CheckboxGroup.js";
33
33
  import { IressCol as St } from "./components/Col/Col.js";
34
- import { s as rt, C as _r } from "./ComboboxHiddenInput-BVhoQtv3.js";
34
+ import { s as rt, C as xr } from "./ComboboxHiddenInput-BVhoQtv3.js";
35
35
  import { useRichSelectState as Jt } from "./components/RichSelect/hooks/useRichSelectState.js";
36
36
  import { useAutocompleteSearch as Dt } from "./components/Autocomplete/hooks/useAutocompleteSearch.js";
37
37
  import { useIdIfNeeded as Oe } from "./hooks/useIdIfNeeded.js";
@@ -42,7 +42,7 @@ import { FormValidationSummary as Tn } from "./components/Form/components/FormVa
42
42
  import { InlineCssClass as pt } from "./components/Inline/Inline.types.js";
43
43
  import { getResponsiveLayoutModifiers as ws } from "./helpers/responsive/getResponsiveLayoutModifiers.js";
44
44
  import { formatCurrency as En } from "./helpers/formatting/formatCurrency.js";
45
- import { IressMenu as xr } from "./components/Menu/Menu.js";
45
+ import { IressMenu as _r } from "./components/Menu/Menu.js";
46
46
  import "./components/Menu/MenuProvider.js";
47
47
  import { s as tt } from "./MenuItem.module-3aqP1ZMw.js";
48
48
  import { useMenu as Sr } from "./components/Menu/hooks/useMenu.js";
@@ -68,7 +68,7 @@ import { S as Pn, s as jn } from "./SelectControl-BJo08wJN.js";
68
68
  import { IressSelectOption as Ws } from "./components/Select/SelectOption/SelectOption.js";
69
69
  import { getValueAsEvent as ke } from "./helpers/form/getValueAsEvent.js";
70
70
  import { getFormControlValueAsStringIfDefined as bt } from "./helpers/form/getFormControlValueAsStringIfDefined.js";
71
- import { IressSkeleton as xe } from "./components/Skeleton/Skeleton.js";
71
+ import { IressSkeleton as _e } from "./components/Skeleton/Skeleton.js";
72
72
  import "./components/SkipLink/SkipLink.js";
73
73
  import { SlideoutMode as Qn, SlideoutPosition as Kn, SlideoutSize as Yn } from "./components/Slideout/Slideout.types.js";
74
74
  import { useIDSProvidedSlideout as Xn } from "./components/Slideout/hooks/useIDSProvidedSlideout.js";
@@ -110,9 +110,9 @@ import { l as Ce } from "./Loading.module-C58kTwE4.js";
110
110
  import { useShouldRenderLoading as yi } from "./patterns/Loading/hooks/useShouldRenderLoading.js";
111
111
  import { IressContainer as cs } from "./components/Container/Container.js";
112
112
  import { LongLoading as bi } from "./patterns/Loading/components/LongLoading.js";
113
- const _i = "ids-alert-v5131", xi = "ids-alert--icon-v5131", Si = "ids-alert--heading-v5131", Ni = "ids-alert--wrapper-v5131", wi = "ids-alert--footer-v5131", Ii = "ids-alert--danger-v5131", ki = "ids-alert--info-v5131", Fi = "ids-alert--success-v5131", Ai = "ids-alert--warning-v5131", mt = {
114
- alert: _i,
115
- icon: xi,
113
+ const xi = "ids-alert-v5131", _i = "ids-alert--icon-v5131", Si = "ids-alert--heading-v5131", Ni = "ids-alert--wrapper-v5131", wi = "ids-alert--footer-v5131", Ii = "ids-alert--danger-v5131", ki = "ids-alert--info-v5131", Fi = "ids-alert--success-v5131", Ai = "ids-alert--warning-v5131", mt = {
114
+ alert: xi,
115
+ icon: _i,
116
116
  heading: Si,
117
117
  "iress-u-text": "ids-alert--iress-u-text-v5131",
118
118
  wrapper: Ni,
@@ -185,7 +185,7 @@ ae.Spin = gn;
185
185
  ae.Size = hr;
186
186
  ae.Flip = yn;
187
187
  ae.Rotate = bn;
188
- ae.Set = _n;
188
+ ae.Set = xn;
189
189
  ae.Mode = Sn;
190
190
  const Mt = ({
191
191
  children: e,
@@ -208,7 +208,7 @@ const Mt = ({
208
208
  /* @__PURE__ */ a(
209
209
  ae,
210
210
  {
211
- name: xn[o],
211
+ name: _n[o],
212
212
  screenreaderText: `${o}: `,
213
213
  size: "lg",
214
214
  fixedWidth: !0,
@@ -298,7 +298,7 @@ const Ri = "ids-input-v5131", Li = "ids-input--readonly-v5131", Di = "ids-input-
298
298
  [`${G.Width}--${d}`]: d && !(d != null && d.includes("perc")),
299
299
  [is.readonlyAlignRight]: p
300
300
  }
301
- ), _ = bt(i), I = bt(u);
301
+ ), _ = bt(i), k = bt(u);
302
302
  return /* @__PURE__ */ L("div", { className: V, "data-testid": r, style: l, children: [
303
303
  /* @__PURE__ */ L(
304
304
  "div",
@@ -308,7 +308,7 @@ const Ri = "ids-input-v5131", Li = "ids-input--readonly-v5131", Di = "ids-input-
308
308
  }),
309
309
  children: [
310
310
  o && /* @__PURE__ */ a("div", { className: `${ie.addon} ${ie.prepend}`, children: o }),
311
- /* @__PURE__ */ a("div", { className: b, children: s ?? I ?? _ }),
311
+ /* @__PURE__ */ a("div", { className: b, children: s ?? k ?? _ }),
312
312
  /* @__PURE__ */ a("div", { className: ie.internal, children: n && /* @__PURE__ */ a(
313
313
  Ct,
314
314
  {
@@ -327,7 +327,7 @@ const Ri = "ids-input-v5131", Li = "ids-input--readonly-v5131", Di = "ids-input-
327
327
  type: "hidden",
328
328
  ref: g,
329
329
  "data-testid": T(r, "input"),
330
- value: I
330
+ value: k
331
331
  }
332
332
  )
333
333
  ] });
@@ -354,21 +354,21 @@ const Ri = "ids-input-v5131", Li = "ids-input--readonly-v5131", Di = "ids-input-
354
354
  component: "IressInput",
355
355
  defaultValue: i
356
356
  });
357
- const I = me(null), { value: F, setValue: C } = _t({
357
+ const k = me(null), { value: S, setValue: M } = xt({
358
358
  component: "IressInput",
359
359
  defaultValue: i,
360
360
  value: e.value
361
- }), N = yt(F), [H, M] = X(!1), B = Ie(() => y && !H ? y(F) : N, [y, F, N, H]), U = Ie(() => y && !H ? "text" : g, [y, H, g]);
361
+ }), N = yt(S), [H, C] = X(!1), B = Ie(() => y && !H ? y(S) : N, [y, S, N, H]), U = Ie(() => y && !H ? "text" : g, [y, H, g]);
362
362
  if (Be(
363
363
  s,
364
- () => I.current
364
+ () => k.current
365
365
  ), p)
366
366
  return /* @__PURE__ */ a(
367
367
  Je,
368
368
  {
369
369
  ..._,
370
370
  defaultValue: void 0,
371
- value: F,
371
+ value: S,
372
372
  alignRight: b,
373
373
  append: f,
374
374
  className: u,
@@ -377,7 +377,7 @@ const Ri = "ids-input-v5131", Li = "ids-input--readonly-v5131", Di = "ids-input-
377
377
  );
378
378
  const W = (x) => {
379
379
  var E;
380
- C(""), (E = I.current) == null || E.focus();
380
+ M(""), (E = k.current) == null || E.focus();
381
381
  const D = new Event("change", {
382
382
  bubbles: !0
383
383
  });
@@ -387,7 +387,7 @@ const Ri = "ids-input-v5131", Li = "ids-input--readonly-v5131", Di = "ids-input-
387
387
  }), n == null || n(D);
388
388
  }, q = (x) => {
389
389
  const D = x.target.value;
390
- C(D), d == null || d(x, D);
390
+ M(D), d == null || d(x, D);
391
391
  }, A = $(
392
392
  ie.input,
393
393
  u,
@@ -417,14 +417,14 @@ const Ri = "ids-input-v5131", Li = "ids-input--readonly-v5131", Di = "ids-input-
417
417
  onChange: q,
418
418
  onFocus: (...x) => {
419
419
  var D;
420
- M(!0), (D = _ == null ? void 0 : _.onFocus) == null || D.call(_, ...x);
420
+ C(!0), (D = _ == null ? void 0 : _.onFocus) == null || D.call(_, ...x);
421
421
  },
422
422
  onBlur: (...x) => {
423
423
  var D;
424
- M(!1), (D = _ == null ? void 0 : _.onBlur) == null || D.call(_, ...x);
424
+ C(!1), (D = _ == null ? void 0 : _.onBlur) == null || D.call(_, ...x);
425
425
  },
426
426
  type: U,
427
- ref: I
427
+ ref: k
428
428
  }
429
429
  ),
430
430
  /* @__PURE__ */ L("div", { className: ie.internal, children: [
@@ -484,34 +484,34 @@ const ji = "ids-rich-select-v5131", Qi = "ids-rich-select--popover-content-v5131
484
484
  value: g,
485
485
  ...V
486
486
  }, b) => {
487
- const _ = vs(), F = Ln({ value: g ?? (typeof t == "string" || typeof t == "number" || typeof t == "boolean" ? t : void 0) }), C = {
487
+ const _ = vs(), S = Ln({ value: g ?? (typeof t == "string" || typeof t == "number" || typeof t == "boolean" ? t : void 0) }), M = {
488
488
  [Te.Base]: !0,
489
489
  [Te.Fluid]: i === !0,
490
- [`${Te.Mode}--${l}`]: !F,
490
+ [`${Te.Mode}--${l}`]: !S,
491
491
  [Te.NoWrap]: p === !0,
492
492
  [Te.Loading]: o,
493
493
  [`${Te.Fluid}--${i}`]: typeof i == "string"
494
494
  }, N = n === void 0 ? "button" : "a", H = N === "button" ? {
495
495
  type: m,
496
496
  "aria-describedby": o ? _ : void 0
497
- } : { href: n, rel: d, target: u }, M = (B) => {
498
- o || (y == null || y(B), F == null || F.toggle());
497
+ } : { href: n, rel: d, target: u }, C = (B) => {
498
+ o || (y == null || y(B), S == null || S.toggle());
499
499
  };
500
500
  return /* @__PURE__ */ L(
501
501
  N,
502
502
  {
503
503
  className: $(
504
504
  r,
505
- F == null ? void 0 : F.className,
505
+ S == null ? void 0 : S.className,
506
506
  G.FormElement,
507
507
  G.FormElementInner,
508
- C
508
+ M
509
509
  ),
510
510
  ...H,
511
511
  ...s,
512
- ...F == null ? void 0 : F.props,
512
+ ...S == null ? void 0 : S.props,
513
513
  ...V,
514
- onClick: M,
514
+ onClick: C,
515
515
  ref: b,
516
516
  children: [
517
517
  f && /* @__PURE__ */ a(
@@ -661,7 +661,7 @@ const oo = ({
661
661
  p.stopPropagation(), qs(d, p);
662
662
  },
663
663
  onDeactivated: () => i == null ? void 0 : i(!1),
664
- children: /* @__PURE__ */ L(xr, { children: [
664
+ children: /* @__PURE__ */ L(_r, { children: [
665
665
  /* @__PURE__ */ a(hs, { onClick: () => f(!0), children: "Expand all" }),
666
666
  /* @__PURE__ */ a(hs, { onClick: m, children: "Delete all" })
667
667
  ] })
@@ -790,11 +790,11 @@ const oo = ({
790
790
  role: e ? void 0 : "combobox",
791
791
  selected: m
792
792
  }
793
- ), bo = "ids-select-search-v5131", _o = "ids-select-search--content-v5131", Ps = {
793
+ ), bo = "ids-select-search-v5131", xo = "ids-select-search--content-v5131", Ps = {
794
794
  selectSearch: bo,
795
- content: _o
796
- }, xo = "ids-select-body-v5131", So = "ids-select-body--children-v5131", js = {
797
- selectBody: xo,
795
+ content: xo
796
+ }, _o = "ids-select-body-v5131", So = "ids-select-body--children-v5131", js = {
797
+ selectBody: _o,
798
798
  children: So
799
799
  }, No = ({
800
800
  className: e,
@@ -831,7 +831,7 @@ const oo = ({
831
831
  results: r,
832
832
  value: i
833
833
  }) => /* @__PURE__ */ a(
834
- xt,
834
+ _t,
835
835
  {
836
836
  heading: e ? "Search results" : void 0,
837
837
  items: r,
@@ -858,14 +858,16 @@ const oo = ({
858
858
  value: d
859
859
  }) => {
860
860
  const u = Se(d).map(
861
- (b) => {
862
- const { formattedLabel: _, ...I } = b;
863
- return I;
861
+ (S) => {
862
+ const { formattedLabel: M, ...N } = S;
863
+ return N;
864
864
  }
865
865
  ), m = !e && (!!(o != null && o.length) || n && !s), p = !!u.length && t, y = m && p, g = me(null), V = vs();
866
- return te(() => {
866
+ te(() => {
867
867
  f || l == null || l("");
868
- }, [f, l]), /* @__PURE__ */ L(
868
+ }, [f, l]);
869
+ const b = p ? u.length + 1 : 0, k = n && m ? b : p ? 1 : 0;
870
+ return /* @__PURE__ */ L(
869
871
  No,
870
872
  {
871
873
  activator: /* @__PURE__ */ a(
@@ -873,26 +875,26 @@ const oo = ({
873
875
  {
874
876
  "aria-label": "Search",
875
877
  loading: s,
876
- onChange: (b) => l == null ? void 0 : l(b.target.value),
878
+ onChange: (S) => l == null ? void 0 : l(S.target.value),
877
879
  ref: g,
878
880
  placeholder: "Search and select",
879
881
  value: n
880
882
  }
881
883
  ),
882
884
  contentClassName: gt.searchResults,
883
- focusStartIndex: p ? 1 : 0,
885
+ focusStartIndex: k,
884
886
  children: [
885
887
  p && /* @__PURE__ */ a(
886
- xt,
888
+ _t,
887
889
  {
888
890
  "aria-labelledby": V,
889
891
  heading: /* @__PURE__ */ a(
890
892
  Vo,
891
893
  {
892
894
  clearAll: !0,
893
- onClearAll: (b) => {
894
- var _;
895
- i == null || i(b), (_ = g.current) == null || _.focus();
895
+ onClearAll: (S) => {
896
+ var M;
897
+ i == null || i(S), (M = g.current) == null || M.focus();
896
898
  },
897
899
  children: /* @__PURE__ */ L("h2", { id: V, children: [
898
900
  "Selected (",
@@ -939,14 +941,14 @@ const oo = ({
939
941
  show: y,
940
942
  value: g
941
943
  }) => {
942
- const V = typeof o == "function", b = t ?? (V ? [] : o), _ = d.length ? d : b, I = Ae(
943
- (C) => {
944
- p(C), n == null || n(ke(C), C), i || m(!1);
944
+ const V = typeof o == "function", b = t ?? (V ? [] : o), _ = d.length ? d : b, k = Ae(
945
+ (M) => {
946
+ p(M), n == null || n(ke(M), M), i || m(!1);
945
947
  },
946
948
  [m, p, n, i]
947
- ), F = Ae(
948
- (C) => {
949
- C.stopPropagation(), p([]), n == null || n(ke([]), []);
949
+ ), S = Ae(
950
+ (M) => {
951
+ M.stopPropagation(), p([]), n == null || n(ke([]), []);
950
952
  },
951
953
  [p, n]
952
954
  );
@@ -967,8 +969,8 @@ const oo = ({
967
969
  error: s,
968
970
  loading: r,
969
971
  multiSelect: i,
970
- onChange: I,
971
- onClear: F,
972
+ onChange: k,
973
+ onClear: S,
972
974
  query: l,
973
975
  results: d,
974
976
  setQuery: u,
@@ -976,11 +978,11 @@ const oo = ({
976
978
  value: g
977
979
  }
978
980
  ) : /* @__PURE__ */ a(
979
- xt,
981
+ _t,
980
982
  {
981
983
  items: _,
982
984
  multiSelect: i,
983
- onChange: I,
985
+ onChange: k,
984
986
  selected: g,
985
987
  selectedFirst: !0
986
988
  }
@@ -1005,12 +1007,12 @@ const oo = ({
1005
1007
  placeholder: V,
1006
1008
  readonly: b,
1007
1009
  renderHiddenInput: _,
1008
- renderLabel: I,
1009
- renderOptions: F,
1010
- required: C,
1010
+ renderLabel: k,
1011
+ renderOptions: S,
1012
+ required: M,
1011
1013
  type: N,
1012
1014
  value: H,
1013
- width: M = "100perc",
1015
+ width: C = "100perc",
1014
1016
  virtualFocus: B,
1015
1017
  ...U
1016
1018
  }, W) => {
@@ -1079,7 +1081,7 @@ const oo = ({
1079
1081
  multiSelect: d,
1080
1082
  onChange: p,
1081
1083
  placeholder: V,
1082
- renderLabel: I,
1084
+ renderLabel: k,
1083
1085
  setValue: O,
1084
1086
  setShow: A,
1085
1087
  show: q,
@@ -1088,8 +1090,8 @@ const oo = ({
1088
1090
  ),
1089
1091
  align: e,
1090
1092
  className: $(s, gt.richSelect, {
1091
- [G.IgnoreStack]: !!M,
1092
- [`${G.Width}--${M}`]: !!M
1093
+ [G.IgnoreStack]: !!C,
1094
+ [`${G.Width}--${C}`]: !!C
1093
1095
  }),
1094
1096
  contentClassName: gt.popoverContent,
1095
1097
  matchActivatorWidth: !0,
@@ -1113,7 +1115,7 @@ const oo = ({
1113
1115
  onChange: p,
1114
1116
  options: g,
1115
1117
  query: x,
1116
- renderOptions: F,
1118
+ renderOptions: S,
1117
1119
  results: Z,
1118
1120
  setQuery: D,
1119
1121
  setShow: A,
@@ -1133,7 +1135,7 @@ const oo = ({
1133
1135
  getValuesString: P,
1134
1136
  name: f,
1135
1137
  renderHiddenInput: _,
1136
- required: C,
1138
+ required: M,
1137
1139
  value: E,
1138
1140
  ref: Y
1139
1141
  }
@@ -1273,8 +1275,8 @@ const Ro = ({
1273
1275
  value: u
1274
1276
  },
1275
1277
  V
1276
- ), I = me(null);
1277
- return Be(p, () => I.current), Hn(
1278
+ ), k = me(null);
1279
+ return Be(p, () => k.current), Hn(
1278
1280
  /* @__PURE__ */ a(Le, { ...g, ...b, ..._, ...m }),
1279
1281
  y
1280
1282
  );
@@ -1300,7 +1302,7 @@ const Ro = ({
1300
1302
  n && /* @__PURE__ */ a("span", { className: "iress-display--block", children: n })
1301
1303
  ]
1302
1304
  }
1303
- ), xt = ({
1305
+ ), _t = ({
1304
1306
  heading: e,
1305
1307
  hideSelectedItems: s,
1306
1308
  items: t = [],
@@ -1319,10 +1321,10 @@ const Ro = ({
1319
1321
  ), g = Ie(() => {
1320
1322
  let _ = d ? Do(t, f, y) : t;
1321
1323
  if (s) {
1322
- const I = Se(y);
1324
+ const k = Se(y);
1323
1325
  _ = _.filter(
1324
- (F) => !I.includes(
1325
- bt(F.value) ?? F.label
1326
+ (S) => !k.includes(
1327
+ bt(S.value) ?? S.label
1326
1328
  )
1327
1329
  );
1328
1330
  }
@@ -1337,17 +1339,17 @@ const Ro = ({
1337
1339
  d
1338
1340
  ]), V = g.length === 0, b = Ae(
1339
1341
  (_) => {
1340
- const I = Co(
1342
+ const k = Co(
1341
1343
  t,
1342
1344
  f,
1343
1345
  _
1344
1346
  );
1345
- l == null || l(n ? I : I[0]);
1347
+ l == null || l(n ? k : k[0]);
1346
1348
  },
1347
1349
  [t, n, l, f]
1348
1350
  );
1349
1351
  return /* @__PURE__ */ L(
1350
- xr,
1352
+ _r,
1351
1353
  {
1352
1354
  ...u,
1353
1355
  "aria-labelledby": typeof e == "string" ? p : u["aria-labelledby"],
@@ -1357,14 +1359,14 @@ const Ro = ({
1357
1359
  selected: y,
1358
1360
  children: [
1359
1361
  typeof e == "string" ? /* @__PURE__ */ a(Cr, { id: p, children: e }) : e,
1360
- g.map((_, I) => /* @__PURE__ */ fr(
1362
+ g.map((_, k) => /* @__PURE__ */ fr(
1361
1363
  Lo,
1362
1364
  {
1363
1365
  ..._,
1364
1366
  "data-testid": T(u == null ? void 0 : u["data-testid"], "menu-item"),
1365
1367
  key: `${yt(
1366
1368
  _.value ?? _.label
1367
- )}-${I}`
1369
+ )}-${k}`
1368
1370
  }
1369
1371
  )),
1370
1372
  V && (typeof o == "string" ? /* @__PURE__ */ a(As, { children: o }) : o)
@@ -1440,20 +1442,20 @@ const zo = re(
1440
1442
  onFocus: b,
1441
1443
  options: _,
1442
1444
  popoverProps: {
1443
- autoHighlight: I = !1,
1444
- append: F,
1445
- prepend: C,
1445
+ autoHighlight: k = !1,
1446
+ append: S,
1447
+ prepend: M,
1446
1448
  ...N
1447
1449
  } = {},
1448
1450
  readOnly: H,
1449
- value: M,
1451
+ value: C,
1450
1452
  watermark: B = !0,
1451
1453
  ...U
1452
1454
  }, W) => {
1453
- const [q, A] = X(!1), { value: x, setValue: D } = _t({
1455
+ const [q, A] = X(!1), { value: x, setValue: D } = xt({
1454
1456
  component: "IressAutocomplete",
1455
1457
  defaultValue: f,
1456
- value: M
1458
+ value: C
1457
1459
  }), [E, O] = X(!1), { clearError: P, debouncedQuery: Q, error: J, loading: Y, results: K, stopSearch: pe } = Dt({
1458
1460
  debounceThreshold: l,
1459
1461
  initialOptions: u,
@@ -1509,7 +1511,7 @@ const zo = re(
1509
1511
  ref: W
1510
1512
  }
1511
1513
  ),
1512
- autoHighlight: I,
1514
+ autoHighlight: k,
1513
1515
  className: $(
1514
1516
  i,
1515
1517
  N.className,
@@ -1527,9 +1529,9 @@ const zo = re(
1527
1529
  type: "listbox",
1528
1530
  children: [
1529
1531
  Z.showResults && /* @__PURE__ */ L(Xe, { children: [
1530
- C,
1532
+ M,
1531
1533
  /* @__PURE__ */ a(
1532
- xt,
1534
+ _t,
1533
1535
  {
1534
1536
  changeOnBlur: r,
1535
1537
  className: Bt.optionList,
@@ -1541,11 +1543,11 @@ const zo = re(
1541
1543
  selected: { label: Q }
1542
1544
  }
1543
1545
  ),
1544
- F
1546
+ S
1545
1547
  ] }),
1546
1548
  J && d,
1547
1549
  Z.showNoResults && !J && /* @__PURE__ */ a(
1548
- xs,
1550
+ _s,
1549
1551
  {
1550
1552
  noResultsText: y,
1551
1553
  styles: Bt
@@ -1589,21 +1591,21 @@ const Bo = "ids-checkbox--label-v5131", Oo = "ids-checkbox--mark-v5131", Ho = "i
1589
1591
  defaultValue: t,
1590
1592
  message: "Using the `defaultChecked` prop on an `IressCheckbox` inside an `IressForm` component is not supported. Please use the `defaultValue` prop on the `IressFormField`, or use `defaultValues` on the `IressForm` component (recommended) to ensure a single source of truth for your form."
1591
1593
  });
1592
- const V = me(null), b = V.current, _ = vs(), I = o ?? _, [F, C] = X(
1594
+ const V = me(null), b = V.current, _ = vs(), k = o ?? _, [S, M] = X(
1593
1595
  n ?? !1
1594
- ), N = gs(Mn), H = N ? void 0 : t, M = N ? Se(N.value).includes(d) : e, B = (N == null ? void 0 : N.hiddenCheckbox) ?? r, U = (N == null ? void 0 : N.touch) ?? p, W = (N == null ? void 0 : N.readonly) ?? m, q = (N == null ? void 0 : N.name) ?? l, {
1596
+ ), N = gs(Mn), H = N ? void 0 : t, C = N ? Se(N.value).includes(d) : e, B = (N == null ? void 0 : N.hiddenCheckbox) ?? r, U = (N == null ? void 0 : N.touch) ?? p, W = (N == null ? void 0 : N.readonly) ?? m, q = (N == null ? void 0 : N.name) ?? l, {
1595
1597
  value: A,
1596
1598
  setValue: x,
1597
1599
  isControlled: D
1598
- } = _t({
1600
+ } = xt({
1599
1601
  component: "IressCheckbox",
1600
1602
  propName: "checked",
1601
1603
  defaultValue: H,
1602
- value: M
1603
- }), E = D ? n : F, O = Ae(
1604
+ value: C
1605
+ }), E = D ? n : S, O = Ae(
1604
1606
  (P) => {
1605
1607
  var Q;
1606
- D || C(!1), x(P.target.checked), f == null || f(P, d), (Q = N == null ? void 0 : N.onChange) == null || Q.call(N, P, d);
1608
+ D || M(!1), x(P.target.checked), f == null || f(P, d), (Q = N == null ? void 0 : N.onChange) == null || Q.call(N, P, d);
1607
1609
  },
1608
1610
  [N, D, f, x, d]
1609
1611
  );
@@ -1645,7 +1647,7 @@ const Bo = "ids-checkbox--label-v5131", Oo = "ids-checkbox--mark-v5131", Ho = "i
1645
1647
  ...y,
1646
1648
  value: yt(d),
1647
1649
  type: "checkbox",
1648
- id: I,
1650
+ id: k,
1649
1651
  defaultChecked: D ? void 0 : A,
1650
1652
  checked: D ? A : void 0,
1651
1653
  className: $(He.input, G.SROnly),
@@ -1657,7 +1659,7 @@ const Bo = "ids-checkbox--label-v5131", Oo = "ids-checkbox--mark-v5131", Ho = "i
1657
1659
  /* @__PURE__ */ L(
1658
1660
  "label",
1659
1661
  {
1660
- htmlFor: I,
1662
+ htmlFor: k,
1661
1663
  className: $({
1662
1664
  [He.label]: !0
1663
1665
  }),
@@ -1711,7 +1713,7 @@ const $s = ({
1711
1713
  n && /* @__PURE__ */ L(Xe, { children: [
1712
1714
  r,
1713
1715
  /* @__PURE__ */ a(
1714
- xt,
1716
+ _t,
1715
1717
  {
1716
1718
  ...o,
1717
1719
  className: rt.optionList,
@@ -1720,7 +1722,7 @@ const $s = ({
1720
1722
  ),
1721
1723
  e
1722
1724
  ] }),
1723
- i && /* @__PURE__ */ a(xs, { noResultsText: t, styles: rt })
1725
+ i && /* @__PURE__ */ a(_s, { noResultsText: t, styles: rt })
1724
1726
  ] }), Vs = re(
1725
1727
  ({
1726
1728
  append: e = /* @__PURE__ */ a(ae, { name: "search" }),
@@ -1741,13 +1743,13 @@ const $s = ({
1741
1743
  onBlur: V,
1742
1744
  onChange: b,
1743
1745
  onClear: _,
1744
- onFocus: I,
1745
- onKeyDown: F,
1746
- options: C,
1746
+ onFocus: k,
1747
+ onKeyDown: S,
1748
+ options: M,
1747
1749
  popoverProps: {
1748
1750
  append: N,
1749
1751
  prepend: H,
1750
- ...M
1752
+ ...C
1751
1753
  } = {},
1752
1754
  readOnly: B,
1753
1755
  required: U,
@@ -1766,7 +1768,7 @@ const $s = ({
1766
1768
  }), [Z, le] = X(""), [ve, ne] = X(K()), { debouncedQuery: ce, loading: de, results: oe, stopSearch: ue } = Dt({
1767
1769
  debounceThreshold: o,
1768
1770
  initialOptions: u,
1769
- options: C,
1771
+ options: M,
1770
1772
  query: Z
1771
1773
  }), De = Lr({
1772
1774
  debouncedQuery: ce,
@@ -1784,25 +1786,25 @@ const $s = ({
1784
1786
  });
1785
1787
  if (B)
1786
1788
  return /* @__PURE__ */ a(Je, { value: pe(), children: K() });
1787
- const Ne = (w) => {
1788
- const S = w.target.value;
1789
- le(S), ne(S), S || (Y(void 0), b == null || b(ke(void 0), void 0), u && Q(!0));
1790
- }, $e = (w) => {
1791
- _ == null || _(w), le(""), ne(""), Y(void 0), Q(!1);
1792
- }, it = (w) => {
1793
- I == null || I(w), Z || le(ve);
1794
- }, ot = (w) => {
1795
- V == null || V(w), ne(J ? K() : "");
1796
- }, zt = (w) => {
1797
- F == null || F(w), ge.setKeyPressed(w.nativeEvent);
1798
- }, c = (w) => {
1799
- var k;
1800
- const S = (k = Se(w)) == null ? void 0 : k[0];
1801
- Y(S), b == null || b(ke(S), S), ne(S == null ? void 0 : S.label), Q(!1);
1789
+ const Ne = (I) => {
1790
+ const w = I.target.value;
1791
+ le(w), ne(w), w || (Y(void 0), b == null || b(ke(void 0), void 0), u && Q(!0));
1792
+ }, $e = (I) => {
1793
+ _ == null || _(I), le(""), ne(""), Y(void 0), Q(!1);
1794
+ }, it = (I) => {
1795
+ k == null || k(I), Z || le(ve);
1796
+ }, ot = (I) => {
1797
+ V == null || V(I), ne(J ? K() : "");
1798
+ }, zt = (I) => {
1799
+ S == null || S(I), ge.setKeyPressed(I.nativeEvent);
1800
+ }, c = (I) => {
1801
+ var F;
1802
+ const w = (F = Se(I)) == null ? void 0 : F[0];
1803
+ Y(w), b == null || b(ke(w), w), ne(w == null ? void 0 : w.label), Q(!1);
1802
1804
  }, h = () => {
1803
1805
  Q(!1), ue();
1804
- }, v = (w) => {
1805
- w !== null && (ge.setKeyPressed(void 0), ge.highlightQueryByActiveIndex(w));
1806
+ }, v = (I) => {
1807
+ I !== null && (ge.setKeyPressed(void 0), ge.highlightQueryByActiveIndex(I));
1806
1808
  };
1807
1809
  return /* @__PURE__ */ L(
1808
1810
  "div",
@@ -1813,7 +1815,7 @@ const $s = ({
1813
1815
  /* @__PURE__ */ a(
1814
1816
  Xt,
1815
1817
  {
1816
- ...M,
1818
+ ...C,
1817
1819
  activator: /* @__PURE__ */ a(
1818
1820
  Ze,
1819
1821
  {
@@ -1863,7 +1865,7 @@ const $s = ({
1863
1865
  }
1864
1866
  ),
1865
1867
  /* @__PURE__ */ a(
1866
- _r,
1868
+ xr,
1867
1869
  {
1868
1870
  hiddenInputProps: f,
1869
1871
  dataTestId: n,
@@ -1968,7 +1970,7 @@ const Jo = "ids-tag-v5131", Zo = "ids-tag--content-v5131", Ks = {
1968
1970
  );
1969
1971
  return /* @__PURE__ */ a("div", { className: f, ...o, children: e });
1970
1972
  };
1971
- Ge.Gutter = _s;
1973
+ Ge.Gutter = xs;
1972
1974
  Ge.HorizontalAlign = vr;
1973
1975
  Ge.VerticalAlign = gr;
1974
1976
  const aa = ({
@@ -2109,14 +2111,14 @@ const la = re(
2109
2111
  noResultsText: V,
2110
2112
  onChange: b,
2111
2113
  onClear: _,
2112
- options: I,
2114
+ options: k,
2113
2115
  popoverProps: {
2114
- autoHighlight: F = !1,
2115
- append: C,
2116
+ autoHighlight: S = !1,
2117
+ append: M,
2116
2118
  prepend: N,
2117
2119
  ...H
2118
2120
  } = {},
2119
- readOnly: M,
2121
+ readOnly: C,
2120
2122
  required: B,
2121
2123
  selectedOptionsTagText: U = "options selected",
2122
2124
  type: W = "search",
@@ -2142,14 +2144,14 @@ const la = re(
2142
2144
  }), [le, ve] = X(""), { debouncedQuery: ne, loading: ce, results: de, stopSearch: oe } = Dt({
2143
2145
  debounceThreshold: o,
2144
2146
  initialOptions: u,
2145
- options: I,
2147
+ options: k,
2146
2148
  query: le
2147
2149
  }), ue = Lr({
2148
2150
  debouncedQuery: ne,
2149
2151
  loading: ce,
2150
2152
  results: de
2151
2153
  });
2152
- if (M)
2154
+ if (C)
2153
2155
  return /* @__PURE__ */ a(Je, { value: K(), children: Z(", ") });
2154
2156
  const De = (c) => {
2155
2157
  ve(c.target.value);
@@ -2161,9 +2163,9 @@ const la = re(
2161
2163
  b == null || b(ke(h), h), Y(h);
2162
2164
  }
2163
2165
  }, $e = (c) => {
2164
- const h = [], v = Se(c).filter((w) => {
2165
- const S = w.value ?? w.label;
2166
- return h.includes(S) ? !1 : (h.push(S), !0);
2166
+ const h = [], v = Se(c).filter((I) => {
2167
+ const w = I.value ?? I.label;
2168
+ return h.includes(w) ? !1 : (h.push(w), !0);
2167
2169
  });
2168
2170
  b == null || b(ke(v), v), Y(v);
2169
2171
  }, it = (c) => {
@@ -2209,7 +2211,7 @@ const la = re(
2209
2211
  watermark: A
2210
2212
  }
2211
2213
  ),
2212
- autoHighlight: F,
2214
+ autoHighlight: S,
2213
2215
  className: $(r, rt.input),
2214
2216
  contentClassName: rt.popoverContent,
2215
2217
  onActivated: () => Q(!0),
@@ -2220,7 +2222,7 @@ const la = re(
2220
2222
  children: /* @__PURE__ */ a(
2221
2223
  Er,
2222
2224
  {
2223
- append: C,
2225
+ append: M,
2224
2226
  changeOnBlur: t,
2225
2227
  dataTestId: n,
2226
2228
  limitDesktop: m,
@@ -2239,7 +2241,7 @@ const la = re(
2239
2241
  }
2240
2242
  ),
2241
2243
  /* @__PURE__ */ a(
2242
- _r,
2244
+ xr,
2243
2245
  {
2244
2246
  hiddenInputProps: f,
2245
2247
  dataTestId: n,
@@ -2322,7 +2324,7 @@ const Br = re(
2322
2324
  Br.displayName = "FilterResetButton";
2323
2325
  const Ys = {
2324
2326
  align: "bottom-start"
2325
- }, _a = re(
2327
+ }, xa = re(
2326
2328
  ({
2327
2329
  children: e,
2328
2330
  className: s,
@@ -2348,16 +2350,16 @@ const Ys = {
2348
2350
  prepend: b,
2349
2351
  ..._
2350
2352
  } = Ys,
2351
- searchable: I,
2352
- searchNoResultsText: F,
2353
- selectedOptionsText: C,
2353
+ searchable: k,
2354
+ searchNoResultsText: S,
2355
+ selectedOptionsText: M,
2354
2356
  value: N,
2355
2357
  visibleResetButton: H,
2356
- ...M
2358
+ ...C
2357
2359
  }, B) => {
2358
2360
  const U = Oe({ id: n }), W = `${U}-sr-text`, q = me(null), A = Ie(
2359
- () => I ?? typeof g == "function",
2360
- [g, I]
2361
+ () => k ?? typeof g == "function",
2362
+ [g, k]
2361
2363
  ), x = {
2362
2364
  clearable: !0,
2363
2365
  prepend: /* @__PURE__ */ a(ae, { name: "search" }),
@@ -2397,10 +2399,10 @@ const Ys = {
2397
2399
  return /* @__PURE__ */ L(
2398
2400
  "div",
2399
2401
  {
2400
- ...M,
2402
+ ...C,
2401
2403
  className: $(s, Ee.filter, {
2402
2404
  [Ee.multiSelect]: m,
2403
- [Ee.searchable]: I
2405
+ [Ee.searchable]: k
2404
2406
  }),
2405
2407
  "data-testid": t,
2406
2408
  id: U,
@@ -2424,7 +2426,7 @@ const Ys = {
2424
2426
  fi,
2425
2427
  {
2426
2428
  label: u,
2427
- selectedOptionsText: C,
2429
+ selectedOptionsText: M,
2428
2430
  value: E
2429
2431
  }
2430
2432
  ),
@@ -2464,7 +2466,7 @@ const Ys = {
2464
2466
  /* @__PURE__ */ a(Ns, { gutter: "none" })
2465
2467
  ] }),
2466
2468
  de.showResults && /* @__PURE__ */ a(
2467
- xt,
2469
+ _t,
2468
2470
  {
2469
2471
  className: Ee.optionList,
2470
2472
  "data-testid": T(t, "menu"),
@@ -2478,9 +2480,9 @@ const Ys = {
2478
2480
  }
2479
2481
  ),
2480
2482
  de.showNoResults && /* @__PURE__ */ a(
2481
- xs,
2483
+ _s,
2482
2484
  {
2483
- noResultsText: F,
2485
+ noResultsText: S,
2484
2486
  styles: Ee
2485
2487
  }
2486
2488
  ),
@@ -2495,7 +2497,7 @@ const Ys = {
2495
2497
  "data-testid": T(t, "results-sr-text"),
2496
2498
  id: W,
2497
2499
  loading: ne,
2498
- noResultsText: F,
2500
+ noResultsText: S,
2499
2501
  results: ce
2500
2502
  }
2501
2503
  )
@@ -2504,10 +2506,10 @@ const Ys = {
2504
2506
  );
2505
2507
  }
2506
2508
  );
2507
- _a.displayName = "IressFilter";
2509
+ xa.displayName = "IressFilter";
2508
2510
  var Et = (e) => e.type === "checkbox", ut = (e) => e instanceof Date, Fe = (e) => e == null;
2509
2511
  const Or = (e) => typeof e == "object";
2510
- var he = (e) => !Fe(e) && !Array.isArray(e) && Or(e) && !ut(e), Hr = (e) => he(e) && e.target ? Et(e.target) ? e.target.checked : e.target.value : e, xa = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Ur = (e, s) => e.has(xa(s)), Sa = (e) => {
2512
+ var he = (e) => !Fe(e) && !Array.isArray(e) && Or(e) && !ut(e), Hr = (e) => he(e) && e.target ? Et(e.target) ? e.target.checked : e.target.value : e, _a = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Ur = (e, s) => e.has(_a(s)), Sa = (e) => {
2511
2513
  const s = e.constructor && e.constructor.prototype;
2512
2514
  return he(s) && s.hasOwnProperty("isPrototypeOf");
2513
2515
  }, Ls = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
@@ -2798,12 +2800,12 @@ var ht = (e) => he(e) && !Qt(e) ? e : {
2798
2800
  value: e,
2799
2801
  message: ""
2800
2802
  }, sr = async (e, s, t, r, i) => {
2801
- const { ref: n, refs: o, required: l, maxLength: f, minLength: d, min: u, max: m, pattern: p, validate: y, name: g, valueAsNumber: V, mount: b, disabled: _ } = e._f, I = R(s, g);
2803
+ const { ref: n, refs: o, required: l, maxLength: f, minLength: d, min: u, max: m, pattern: p, validate: y, name: g, valueAsNumber: V, mount: b, disabled: _ } = e._f, k = R(s, g);
2802
2804
  if (!b || _)
2803
2805
  return {};
2804
- const F = o ? o[0] : n, C = (A) => {
2805
- r && F.reportValidity && (F.setCustomValidity(Me(A) ? "" : A || ""), F.reportValidity());
2806
- }, N = {}, H = Ts(n), M = Et(n), B = H || M, U = (V || Cs(n)) && fe(n.value) && fe(I) || jt(n) && n.value === "" || I === "" || Array.isArray(I) && !I.length, W = Ia.bind(null, g, t, N), q = (A, x, D, E = je.maxLength, O = je.minLength) => {
2806
+ const S = o ? o[0] : n, M = (A) => {
2807
+ r && S.reportValidity && (S.setCustomValidity(Me(A) ? "" : A || ""), S.reportValidity());
2808
+ }, N = {}, H = Ts(n), C = Et(n), B = H || C, U = (V || Cs(n)) && fe(n.value) && fe(k) || jt(n) && n.value === "" || k === "" || Array.isArray(k) && !k.length, W = Ia.bind(null, g, t, N), q = (A, x, D, E = je.maxLength, O = je.minLength) => {
2807
2809
  const P = A ? x : D;
2808
2810
  N[g] = {
2809
2811
  type: A ? E : O,
@@ -2812,71 +2814,71 @@ var ht = (e) => he(e) && !Qt(e) ? e : {
2812
2814
  ...W(A ? E : O, P)
2813
2815
  };
2814
2816
  };
2815
- if (i ? !Array.isArray(I) || !I.length : l && (!B && (U || Fe(I)) || Me(I) && !I || M && !Xr(o).isValid || H && !Jr(o).isValid)) {
2817
+ if (i ? !Array.isArray(k) || !k.length : l && (!B && (U || Fe(k)) || Me(k) && !k || C && !Xr(o).isValid || H && !Jr(o).isValid)) {
2816
2818
  const { value: A, message: x } = Ot(l) ? { value: !!l, message: l } : ht(l);
2817
2819
  if (A && (N[g] = {
2818
2820
  type: je.required,
2819
2821
  message: x,
2820
- ref: F,
2822
+ ref: S,
2821
2823
  ...W(je.required, x)
2822
2824
  }, !t))
2823
- return C(x), N;
2825
+ return M(x), N;
2824
2826
  }
2825
2827
  if (!U && (!Fe(u) || !Fe(m))) {
2826
2828
  let A, x;
2827
2829
  const D = ht(m), E = ht(u);
2828
- if (!Fe(I) && !isNaN(I)) {
2829
- const O = n.valueAsNumber || I && +I;
2830
+ if (!Fe(k) && !isNaN(k)) {
2831
+ const O = n.valueAsNumber || k && +k;
2830
2832
  Fe(D.value) || (A = O > D.value), Fe(E.value) || (x = O < E.value);
2831
2833
  } else {
2832
- const O = n.valueAsDate || new Date(I), P = (Y) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + Y), Q = n.type == "time", J = n.type == "week";
2833
- qe(D.value) && I && (A = Q ? P(I) > P(D.value) : J ? I > D.value : O > new Date(D.value)), qe(E.value) && I && (x = Q ? P(I) < P(E.value) : J ? I < E.value : O < new Date(E.value));
2834
+ const O = n.valueAsDate || new Date(k), P = (Y) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + Y), Q = n.type == "time", J = n.type == "week";
2835
+ qe(D.value) && k && (A = Q ? P(k) > P(D.value) : J ? k > D.value : O > new Date(D.value)), qe(E.value) && k && (x = Q ? P(k) < P(E.value) : J ? k < E.value : O < new Date(E.value));
2834
2836
  }
2835
2837
  if ((A || x) && (q(!!A, D.message, E.message, je.max, je.min), !t))
2836
- return C(N[g].message), N;
2838
+ return M(N[g].message), N;
2837
2839
  }
2838
- if ((f || d) && !U && (qe(I) || i && Array.isArray(I))) {
2839
- const A = ht(f), x = ht(d), D = !Fe(A.value) && I.length > +A.value, E = !Fe(x.value) && I.length < +x.value;
2840
+ if ((f || d) && !U && (qe(k) || i && Array.isArray(k))) {
2841
+ const A = ht(f), x = ht(d), D = !Fe(A.value) && k.length > +A.value, E = !Fe(x.value) && k.length < +x.value;
2840
2842
  if ((D || E) && (q(D, A.message, x.message), !t))
2841
- return C(N[g].message), N;
2843
+ return M(N[g].message), N;
2842
2844
  }
2843
- if (p && !U && qe(I)) {
2845
+ if (p && !U && qe(k)) {
2844
2846
  const { value: A, message: x } = ht(p);
2845
- if (Qt(A) && !I.match(A) && (N[g] = {
2847
+ if (Qt(A) && !k.match(A) && (N[g] = {
2846
2848
  type: je.pattern,
2847
2849
  message: x,
2848
2850
  ref: n,
2849
2851
  ...W(je.pattern, x)
2850
2852
  }, !t))
2851
- return C(x), N;
2853
+ return M(x), N;
2852
2854
  }
2853
2855
  if (y) {
2854
2856
  if (Ke(y)) {
2855
- const A = await y(I, s), x = tr(A, F);
2857
+ const A = await y(k, s), x = tr(A, S);
2856
2858
  if (x && (N[g] = {
2857
2859
  ...x,
2858
2860
  ...W(je.validate, x.message)
2859
2861
  }, !t))
2860
- return C(x.message), N;
2862
+ return M(x.message), N;
2861
2863
  } else if (he(y)) {
2862
2864
  let A = {};
2863
2865
  for (const x in y) {
2864
2866
  if (!Re(A) && !t)
2865
2867
  break;
2866
- const D = tr(await y[x](I, s), F, x);
2868
+ const D = tr(await y[x](k, s), S, x);
2867
2869
  D && (A = {
2868
2870
  ...D,
2869
2871
  ...W(x, D.message)
2870
- }, C(D.message), t && (N[g] = A));
2872
+ }, M(D.message), t && (N[g] = A));
2871
2873
  }
2872
2874
  if (!Re(A) && (N[g] = {
2873
- ref: F,
2875
+ ref: S,
2874
2876
  ...A
2875
2877
  }, !t))
2876
2878
  return N;
2877
2879
  }
2878
2880
  }
2879
- return C(!0), N;
2881
+ return M(!0), N;
2880
2882
  };
2881
2883
  function Fa(e, s) {
2882
2884
  const t = s.slice(0, -1).length;
@@ -3061,19 +3063,19 @@ function Ta(e = {}) {
3061
3063
  validatingFields: t.validatingFields,
3062
3064
  isValidating: !Re(t.validatingFields)
3063
3065
  }));
3064
- }, I = (c, h = [], v, w, S = !0, k = !0) => {
3065
- if (w && v && !e.disabled) {
3066
- if (o.action = !0, k && Array.isArray(R(r, c))) {
3067
- const z = v(R(r, c), w.argA, w.argB);
3068
- S && se(r, c, z);
3066
+ }, k = (c, h = [], v, I, w = !0, F = !0) => {
3067
+ if (I && v && !e.disabled) {
3068
+ if (o.action = !0, F && Array.isArray(R(r, c))) {
3069
+ const z = v(R(r, c), I.argA, I.argB);
3070
+ w && se(r, c, z);
3069
3071
  }
3070
- if (k && Array.isArray(R(t.errors, c))) {
3071
- const z = v(R(t.errors, c), w.argA, w.argB);
3072
- S && se(t.errors, c, z), Ma(t.errors, c);
3072
+ if (F && Array.isArray(R(t.errors, c))) {
3073
+ const z = v(R(t.errors, c), I.argA, I.argB);
3074
+ w && se(t.errors, c, z), Ma(t.errors, c);
3073
3075
  }
3074
- if (u.touchedFields && k && Array.isArray(R(t.touchedFields, c))) {
3075
- const z = v(R(t.touchedFields, c), w.argA, w.argB);
3076
- S && se(t.touchedFields, c, z);
3076
+ if (u.touchedFields && F && Array.isArray(R(t.touchedFields, c))) {
3077
+ const z = v(R(t.touchedFields, c), I.argA, I.argB);
3078
+ w && se(t.touchedFields, c, z);
3077
3079
  }
3078
3080
  u.dirtyFields && (t.dirtyFields = kt(i, n)), m.state.next({
3079
3081
  name: c,
@@ -3084,46 +3086,46 @@ function Ta(e = {}) {
3084
3086
  });
3085
3087
  } else
3086
3088
  se(n, c, h);
3087
- }, F = (c, h) => {
3089
+ }, S = (c, h) => {
3088
3090
  se(t.errors, c, h), m.state.next({
3089
3091
  errors: t.errors
3090
3092
  });
3091
- }, C = (c) => {
3093
+ }, M = (c) => {
3092
3094
  t.errors = c, m.state.next({
3093
3095
  errors: t.errors,
3094
3096
  isValid: !1
3095
3097
  });
3096
- }, N = (c, h, v, w) => {
3097
- const S = R(r, c);
3098
- if (S) {
3099
- const k = R(n, c, fe(v) ? R(i, c) : v);
3100
- fe(k) || w && w.defaultChecked || h ? se(n, c, h ? k : fs(S._f)) : E(c, k), o.mount && b();
3098
+ }, N = (c, h, v, I) => {
3099
+ const w = R(r, c);
3100
+ if (w) {
3101
+ const F = R(n, c, fe(v) ? R(i, c) : v);
3102
+ fe(F) || I && I.defaultChecked || h ? se(n, c, h ? F : fs(w._f)) : E(c, F), o.mount && b();
3101
3103
  }
3102
- }, H = (c, h, v, w, S) => {
3103
- let k = !1, z = !1;
3104
+ }, H = (c, h, v, I, w) => {
3105
+ let F = !1, z = !1;
3104
3106
  const j = {
3105
3107
  name: c
3106
3108
  };
3107
3109
  if (!e.disabled) {
3108
3110
  const be = !!(R(r, c) && R(r, c)._f && R(r, c)._f.disabled);
3109
- if (!v || w) {
3110
- u.isDirty && (z = t.isDirty, t.isDirty = j.isDirty = A(), k = z !== j.isDirty);
3111
- const _e = be || st(R(i, c), h);
3112
- z = !!(!be && R(t.dirtyFields, c)), _e || be ? ye(t.dirtyFields, c) : se(t.dirtyFields, c, !0), j.dirtyFields = t.dirtyFields, k = k || u.dirtyFields && z !== !_e;
3111
+ if (!v || I) {
3112
+ u.isDirty && (z = t.isDirty, t.isDirty = j.isDirty = A(), F = z !== j.isDirty);
3113
+ const xe = be || st(R(i, c), h);
3114
+ z = !!(!be && R(t.dirtyFields, c)), xe || be ? ye(t.dirtyFields, c) : se(t.dirtyFields, c, !0), j.dirtyFields = t.dirtyFields, F = F || u.dirtyFields && z !== !xe;
3113
3115
  }
3114
3116
  if (v) {
3115
- const _e = R(t.touchedFields, c);
3116
- _e || (se(t.touchedFields, c, v), j.touchedFields = t.touchedFields, k = k || u.touchedFields && _e !== v);
3117
+ const xe = R(t.touchedFields, c);
3118
+ xe || (se(t.touchedFields, c, v), j.touchedFields = t.touchedFields, F = F || u.touchedFields && xe !== v);
3117
3119
  }
3118
- k && S && m.state.next(j);
3120
+ F && w && m.state.next(j);
3119
3121
  }
3120
- return k ? j : {};
3121
- }, M = (c, h, v, w) => {
3122
- const S = R(t.errors, c), k = u.isValid && Me(h) && t.isValid !== h;
3123
- if (e.delayError && v ? (f = V(() => F(c, v)), f(e.delayError)) : (clearTimeout(d), f = null, v ? se(t.errors, c, v) : ye(t.errors, c)), (v ? !st(S, v) : S) || !Re(w) || k) {
3122
+ return F ? j : {};
3123
+ }, C = (c, h, v, I) => {
3124
+ const w = R(t.errors, c), F = u.isValid && Me(h) && t.isValid !== h;
3125
+ if (e.delayError && v ? (f = V(() => S(c, v)), f(e.delayError)) : (clearTimeout(d), f = null, v ? se(t.errors, c, v) : ye(t.errors, c)), (v ? !st(w, v) : w) || !Re(I) || F) {
3124
3126
  const z = {
3125
- ...w,
3126
- ...k && Me(h) ? { isValid: h } : {},
3127
+ ...I,
3128
+ ...F && Me(h) ? { isValid: h } : {},
3127
3129
  errors: t.errors,
3128
3130
  name: c
3129
3131
  };
@@ -3140,8 +3142,8 @@ function Ta(e = {}) {
3140
3142
  const { errors: h } = await B(c);
3141
3143
  if (c)
3142
3144
  for (const v of c) {
3143
- const w = R(h, v);
3144
- w ? se(t.errors, v, w) : ye(t.errors, v);
3145
+ const I = R(h, v);
3146
+ I ? se(t.errors, v, I) : ye(t.errors, v);
3145
3147
  }
3146
3148
  else
3147
3149
  t.errors = h;
@@ -3149,17 +3151,17 @@ function Ta(e = {}) {
3149
3151
  }, W = async (c, h, v = {
3150
3152
  valid: !0
3151
3153
  }) => {
3152
- for (const w in c) {
3153
- const S = c[w];
3154
- if (S) {
3155
- const { _f: k, ...z } = S;
3156
- if (k) {
3157
- const j = l.array.has(k.name), be = S._f && Ra(S._f);
3158
- be && u.validatingFields && _([w], !0);
3159
- const _e = await sr(S, n, g, s.shouldUseNativeValidation && !h, j);
3160
- if (be && u.validatingFields && _([w]), _e[k.name] && (v.valid = !1, h))
3154
+ for (const I in c) {
3155
+ const w = c[I];
3156
+ if (w) {
3157
+ const { _f: F, ...z } = w;
3158
+ if (F) {
3159
+ const j = l.array.has(F.name), be = w._f && Ra(w._f);
3160
+ be && u.validatingFields && _([I], !0);
3161
+ const xe = await sr(w, n, g, s.shouldUseNativeValidation && !h, j);
3162
+ if (be && u.validatingFields && _([I]), xe[F.name] && (v.valid = !1, h))
3161
3163
  break;
3162
- !h && (R(_e, k.name) ? j ? ka(t.errors, _e, k.name) : se(t.errors, k.name, _e[k.name]) : ye(t.errors, k.name));
3164
+ !h && (R(xe, F.name) ? j ? ka(t.errors, xe, F.name) : se(t.errors, F.name, xe[F.name]) : ye(t.errors, F.name));
3163
3165
  }
3164
3166
  !Re(z) && await W(z, h, v);
3165
3167
  }
@@ -3174,46 +3176,46 @@ function Ta(e = {}) {
3174
3176
  }, A = (c, h) => !e.disabled && (c && h && se(n, c, h), !st(K(), i)), x = (c, h, v) => Kr(c, l, {
3175
3177
  ...o.mount ? n : fe(h) ? i : qe(c) ? { [c]: h } : h
3176
3178
  }, v, h), D = (c) => es(R(o.mount ? n : i, c, e.shouldUnregister ? R(i, c, []) : [])), E = (c, h, v = {}) => {
3177
- const w = R(r, c);
3178
- let S = h;
3179
- if (w) {
3180
- const k = w._f;
3181
- k && (!k.disabled && se(n, c, tn(h, k)), S = jt(k.ref) && Fe(h) ? "" : h, Zr(k.ref) ? [...k.ref.options].forEach((z) => z.selected = S.includes(z.value)) : k.refs ? Et(k.ref) ? k.refs.length > 1 ? k.refs.forEach((z) => (!z.defaultChecked || !z.disabled) && (z.checked = Array.isArray(S) ? !!S.find((j) => j === z.value) : S === z.value)) : k.refs[0] && (k.refs[0].checked = !!S) : k.refs.forEach((z) => z.checked = z.value === S) : Cs(k.ref) ? k.ref.value = "" : (k.ref.value = S, k.ref.type || m.values.next({
3179
+ const I = R(r, c);
3180
+ let w = h;
3181
+ if (I) {
3182
+ const F = I._f;
3183
+ F && (!F.disabled && se(n, c, tn(h, F)), w = jt(F.ref) && Fe(h) ? "" : h, Zr(F.ref) ? [...F.ref.options].forEach((z) => z.selected = w.includes(z.value)) : F.refs ? Et(F.ref) ? F.refs.length > 1 ? F.refs.forEach((z) => (!z.defaultChecked || !z.disabled) && (z.checked = Array.isArray(w) ? !!w.find((j) => j === z.value) : w === z.value)) : F.refs[0] && (F.refs[0].checked = !!w) : F.refs.forEach((z) => z.checked = z.value === w) : Cs(F.ref) ? F.ref.value = "" : (F.ref.value = w, F.ref.type || m.values.next({
3182
3184
  name: c,
3183
3185
  values: { ...n }
3184
3186
  })));
3185
3187
  }
3186
- (v.shouldDirty || v.shouldTouch) && H(c, S, v.shouldTouch, v.shouldDirty, !0), v.shouldValidate && Y(c);
3188
+ (v.shouldDirty || v.shouldTouch) && H(c, w, v.shouldTouch, v.shouldDirty, !0), v.shouldValidate && Y(c);
3187
3189
  }, O = (c, h, v) => {
3188
- for (const w in h) {
3189
- const S = h[w], k = `${c}.${w}`, z = R(r, k);
3190
- (l.array.has(c) || he(S) || z && !z._f) && !ut(S) ? O(k, S, v) : E(k, S, v);
3190
+ for (const I in h) {
3191
+ const w = h[I], F = `${c}.${I}`, z = R(r, F);
3192
+ (l.array.has(c) || he(w) || z && !z._f) && !ut(w) ? O(F, w, v) : E(F, w, v);
3191
3193
  }
3192
3194
  }, P = (c, h, v = {}) => {
3193
- const w = R(r, c), S = l.array.has(c), k = Ve(h);
3194
- se(n, c, k), S ? (m.array.next({
3195
+ const I = R(r, c), w = l.array.has(c), F = Ve(h);
3196
+ se(n, c, F), w ? (m.array.next({
3195
3197
  name: c,
3196
3198
  values: { ...n }
3197
3199
  }), (u.isDirty || u.dirtyFields) && v.shouldDirty && m.state.next({
3198
3200
  name: c,
3199
3201
  dirtyFields: kt(i, n),
3200
- isDirty: A(c, k)
3201
- })) : w && !w._f && !Fe(k) ? O(c, k, v) : E(c, k, v), Js(c, l) && m.state.next({ ...t }), m.values.next({
3202
+ isDirty: A(c, F)
3203
+ })) : I && !I._f && !Fe(F) ? O(c, F, v) : E(c, F, v), Js(c, l) && m.state.next({ ...t }), m.values.next({
3202
3204
  name: o.mount ? c : void 0,
3203
3205
  values: { ...n }
3204
3206
  });
3205
3207
  }, Q = async (c) => {
3206
3208
  o.mount = !0;
3207
3209
  const h = c.target;
3208
- let v = h.name, w = !0;
3209
- const S = R(r, v), k = () => h.type ? fs(S._f) : Hr(c), z = (j) => {
3210
- w = Number.isNaN(j) || ut(j) && isNaN(j.getTime()) || st(j, R(n, v, j));
3210
+ let v = h.name, I = !0;
3211
+ const w = R(r, v), F = () => h.type ? fs(w._f) : Hr(c), z = (j) => {
3212
+ I = Number.isNaN(j) || ut(j) && isNaN(j.getTime()) || st(j, R(n, v, j));
3211
3213
  };
3212
- if (S) {
3214
+ if (w) {
3213
3215
  let j, be;
3214
- const _e = k(), at = c.type === Pt.BLUR || c.type === Pt.FOCUS_OUT, un = !La(S._f) && !s.resolver && !R(t.errors, v) && !S._f.deps || Da(at, R(t.touchedFields, v), t.isSubmitted, y, p), rs = Js(v, l, at);
3215
- se(n, v, _e), at ? (S._f.onBlur && S._f.onBlur(c), f && f(0)) : S._f.onChange && S._f.onChange(c);
3216
- const ns = H(v, _e, at, !1), fn = !Re(ns) || rs;
3216
+ const xe = F(), at = c.type === Pt.BLUR || c.type === Pt.FOCUS_OUT, un = !La(w._f) && !s.resolver && !R(t.errors, v) && !w._f.deps || Da(at, R(t.touchedFields, v), t.isSubmitted, y, p), rs = Js(v, l, at);
3217
+ se(n, v, xe), at ? (w._f.onBlur && w._f.onBlur(c), f && f(0)) : w._f.onChange && w._f.onChange(c);
3218
+ const ns = H(v, xe, at, !1), fn = !Re(ns) || rs;
3217
3219
  if (!at && m.values.next({
3218
3220
  name: v,
3219
3221
  type: c.type,
@@ -3222,32 +3224,32 @@ function Ta(e = {}) {
3222
3224
  return u.isValid && (e.mode === "onBlur" ? at && b() : b()), fn && m.state.next({ name: v, ...rs ? {} : ns });
3223
3225
  if (!at && rs && m.state.next({ ...t }), s.resolver) {
3224
3226
  const { errors: zs } = await B([v]);
3225
- if (z(_e), w) {
3227
+ if (z(xe), I) {
3226
3228
  const mn = nr(t.errors, r, v), Bs = nr(zs, r, mn.name || v);
3227
3229
  j = Bs.error, v = Bs.name, be = Re(zs);
3228
3230
  }
3229
3231
  } else
3230
- _([v], !0), j = (await sr(S, n, g, s.shouldUseNativeValidation))[v], _([v]), z(_e), w && (j ? be = !1 : u.isValid && (be = await W(r, !0)));
3231
- w && (S._f.deps && Y(S._f.deps), M(v, be, j, ns));
3232
+ _([v], !0), j = (await sr(w, n, g, s.shouldUseNativeValidation))[v], _([v]), z(xe), I && (j ? be = !1 : u.isValid && (be = await W(r, !0)));
3233
+ I && (w._f.deps && Y(w._f.deps), C(v, be, j, ns));
3232
3234
  }
3233
3235
  }, J = (c, h) => {
3234
3236
  if (R(t.errors, h) && c.focus)
3235
3237
  return c.focus(), 1;
3236
3238
  }, Y = async (c, h = {}) => {
3237
- let v, w;
3238
- const S = Vt(c);
3239
+ let v, I;
3240
+ const w = Vt(c);
3239
3241
  if (s.resolver) {
3240
- const k = await U(fe(c) ? c : S);
3241
- v = Re(k), w = c ? !S.some((z) => R(k, z)) : v;
3242
- } else c ? (w = (await Promise.all(S.map(async (k) => {
3243
- const z = R(r, k);
3244
- return await W(z && z._f ? { [k]: z } : z);
3245
- }))).every(Boolean), !(!w && !t.isValid) && b()) : w = v = await W(r);
3242
+ const F = await U(fe(c) ? c : w);
3243
+ v = Re(F), I = c ? !w.some((z) => R(F, z)) : v;
3244
+ } else c ? (I = (await Promise.all(w.map(async (F) => {
3245
+ const z = R(r, F);
3246
+ return await W(z && z._f ? { [F]: z } : z);
3247
+ }))).every(Boolean), !(!I && !t.isValid) && b()) : I = v = await W(r);
3246
3248
  return m.state.next({
3247
3249
  ...!qe(c) || u.isValid && v !== t.isValid ? {} : { name: c },
3248
3250
  ...s.resolver || !c ? { isValid: v } : {},
3249
3251
  errors: t.errors
3250
- }), h.shouldFocus && !w && Rt(r, J, c ? S : l.mount), w;
3252
+ }), h.shouldFocus && !I && Rt(r, J, c ? w : l.mount), I;
3251
3253
  }, K = (c) => {
3252
3254
  const h = {
3253
3255
  ...o.mount ? n : i
@@ -3264,16 +3266,16 @@ function Ta(e = {}) {
3264
3266
  errors: c ? t.errors : {}
3265
3267
  });
3266
3268
  }, le = (c, h, v) => {
3267
- const w = (R(r, c, { _f: {} })._f || {}).ref, S = R(t.errors, c) || {}, { ref: k, message: z, type: j, ...be } = S;
3269
+ const I = (R(r, c, { _f: {} })._f || {}).ref, w = R(t.errors, c) || {}, { ref: F, message: z, type: j, ...be } = w;
3268
3270
  se(t.errors, c, {
3269
3271
  ...be,
3270
3272
  ...h,
3271
- ref: w
3273
+ ref: I
3272
3274
  }), m.state.next({
3273
3275
  name: c,
3274
3276
  errors: t.errors,
3275
3277
  isValid: !1
3276
- }), v && v.shouldFocus && w && w.focus && w.focus();
3278
+ }), v && v.shouldFocus && I && I.focus && I.focus();
3277
3279
  }, ve = (c, h) => Ke(c) ? m.values.subscribe({
3278
3280
  next: (v) => c(x(void 0, h), v)
3279
3281
  }) : x(c, h, !0), ne = (c, h = {}) => {
@@ -3285,14 +3287,14 @@ function Ta(e = {}) {
3285
3287
  ...t,
3286
3288
  ...h.keepDirty ? { isDirty: A() } : {}
3287
3289
  }), !h.keepIsValid && b();
3288
- }, ce = ({ disabled: c, name: h, field: v, fields: w, value: S }) => {
3290
+ }, ce = ({ disabled: c, name: h, field: v, fields: I, value: w }) => {
3289
3291
  if (Me(c) && o.mount || c) {
3290
- const k = c ? void 0 : fe(S) ? fs(v ? v._f : R(w, h)._f) : S;
3291
- se(n, h, k), H(h, k, !1, !1, !0);
3292
+ const F = c ? void 0 : fe(w) ? fs(v ? v._f : R(I, h)._f) : w;
3293
+ se(n, h, F), H(h, F, !1, !1, !0);
3292
3294
  }
3293
3295
  }, de = (c, h = {}) => {
3294
3296
  let v = R(r, c);
3295
- const w = Me(h.disabled) || Me(e.disabled);
3297
+ const I = Me(h.disabled) || Me(e.disabled);
3296
3298
  return se(r, c, {
3297
3299
  ...v || {},
3298
3300
  _f: {
@@ -3307,7 +3309,7 @@ function Ta(e = {}) {
3307
3309
  name: c,
3308
3310
  value: h.value
3309
3311
  }) : N(c, !0, h.value), {
3310
- ...w ? { disabled: h.disabled || e.disabled } : {},
3312
+ ...I ? { disabled: h.disabled || e.disabled } : {},
3311
3313
  ...s.progressive ? {
3312
3314
  required: !!h.required,
3313
3315
  min: Ft(h.min),
@@ -3319,11 +3321,11 @@ function Ta(e = {}) {
3319
3321
  name: c,
3320
3322
  onChange: Q,
3321
3323
  onBlur: Q,
3322
- ref: (S) => {
3323
- if (S) {
3324
+ ref: (w) => {
3325
+ if (w) {
3324
3326
  de(c, h), v = R(r, c);
3325
- const k = fe(S.value) && S.querySelectorAll && S.querySelectorAll("input,select,textarea")[0] || S, z = $a(k), j = v._f.refs || [];
3326
- if (z ? j.find((be) => be === k) : k === v._f.ref)
3327
+ const F = fe(w.value) && w.querySelectorAll && w.querySelectorAll("input,select,textarea")[0] || w, z = $a(F), j = v._f.refs || [];
3328
+ if (z ? j.find((be) => be === F) : F === v._f.ref)
3327
3329
  return;
3328
3330
  se(r, c, {
3329
3331
  _f: {
@@ -3331,33 +3333,33 @@ function Ta(e = {}) {
3331
3333
  ...z ? {
3332
3334
  refs: [
3333
3335
  ...j.filter(us),
3334
- k,
3336
+ F,
3335
3337
  ...Array.isArray(R(i, c)) ? [{}] : []
3336
3338
  ],
3337
- ref: { type: k.type, name: c }
3338
- } : { ref: k }
3339
+ ref: { type: F.type, name: c }
3340
+ } : { ref: F }
3339
3341
  }
3340
- }), N(c, !1, void 0, k);
3342
+ }), N(c, !1, void 0, F);
3341
3343
  } else
3342
3344
  v = R(r, c, {}), v._f && (v._f.mount = !1), (s.shouldUnregister || h.shouldUnregister) && !(Ur(l.array, c) && o.action) && l.unMount.add(c);
3343
3345
  }
3344
3346
  };
3345
3347
  }, oe = () => s.shouldFocusError && Rt(r, J, l.mount), ue = (c) => {
3346
3348
  Me(c) && (m.state.next({ disabled: c }), Rt(r, (h, v) => {
3347
- const w = R(r, v);
3348
- w && (h.disabled = w._f.disabled || c, Array.isArray(w._f.refs) && w._f.refs.forEach((S) => {
3349
- S.disabled = w._f.disabled || c;
3349
+ const I = R(r, v);
3350
+ I && (h.disabled = I._f.disabled || c, Array.isArray(I._f.refs) && I._f.refs.forEach((w) => {
3351
+ w.disabled = I._f.disabled || c;
3350
3352
  }));
3351
3353
  }, 0, !1));
3352
3354
  }, De = (c, h) => async (v) => {
3353
- let w;
3355
+ let I;
3354
3356
  v && (v.preventDefault && v.preventDefault(), v.persist && v.persist());
3355
- let S = Ve(n);
3357
+ let w = Ve(n);
3356
3358
  if (m.state.next({
3357
3359
  isSubmitting: !0
3358
3360
  }), s.resolver) {
3359
- const { errors: k, values: z } = await B();
3360
- t.errors = k, S = z;
3361
+ const { errors: F, values: z } = await B();
3362
+ t.errors = F, w = z;
3361
3363
  } else
3362
3364
  await W(r);
3363
3365
  if (ye(t.errors, "root"), Re(t.errors)) {
@@ -3365,24 +3367,24 @@ function Ta(e = {}) {
3365
3367
  errors: {}
3366
3368
  });
3367
3369
  try {
3368
- await c(S, v);
3369
- } catch (k) {
3370
- w = k;
3370
+ await c(w, v);
3371
+ } catch (F) {
3372
+ I = F;
3371
3373
  }
3372
3374
  } else
3373
3375
  h && await h({ ...t.errors }, v), oe(), setTimeout(oe);
3374
3376
  if (m.state.next({
3375
3377
  isSubmitted: !0,
3376
3378
  isSubmitting: !1,
3377
- isSubmitSuccessful: Re(t.errors) && !w,
3379
+ isSubmitSuccessful: Re(t.errors) && !I,
3378
3380
  submitCount: t.submitCount + 1,
3379
3381
  errors: t.errors
3380
- }), w)
3381
- throw w;
3382
+ }), I)
3383
+ throw I;
3382
3384
  }, ge = (c, h = {}) => {
3383
3385
  R(r, c) && (fe(h.defaultValue) ? P(c, Ve(R(i, c))) : (P(c, h.defaultValue), se(i, c, Ve(h.defaultValue))), h.keepTouched || ye(t.touchedFields, c), h.keepDirty || (ye(t.dirtyFields, c), t.isDirty = h.defaultValue ? A(c, Ve(R(i, c))) : A()), h.keepError || (ye(t.errors, c), u.isValid && b()), m.state.next({ ...t }));
3384
3386
  }, Ne = (c, h = {}) => {
3385
- const v = c ? Ve(c) : i, w = Ve(v), S = Re(c), k = S ? i : w;
3387
+ const v = c ? Ve(c) : i, I = Ve(v), w = Re(c), F = w ? i : I;
3386
3388
  if (h.keepDefaultValues || (i = v), !h.keepValues) {
3387
3389
  if (h.keepDirtyValues) {
3388
3390
  const z = /* @__PURE__ */ new Set([
@@ -3390,7 +3392,7 @@ function Ta(e = {}) {
3390
3392
  ...Object.keys(kt(i, n))
3391
3393
  ]);
3392
3394
  for (const j of Array.from(z))
3393
- R(t.dirtyFields, j) ? se(k, j, R(n, j)) : P(j, R(k, j));
3395
+ R(t.dirtyFields, j) ? se(F, j, R(n, j)) : P(j, R(F, j));
3394
3396
  } else {
3395
3397
  if (Ls && fe(c))
3396
3398
  for (const z of l.mount) {
@@ -3398,9 +3400,9 @@ function Ta(e = {}) {
3398
3400
  if (j && j._f) {
3399
3401
  const be = Array.isArray(j._f.refs) ? j._f.refs[0] : j._f.ref;
3400
3402
  if (jt(be)) {
3401
- const _e = be.closest("form");
3402
- if (_e) {
3403
- _e.reset();
3403
+ const xe = be.closest("form");
3404
+ if (xe) {
3405
+ xe.reset();
3404
3406
  break;
3405
3407
  }
3406
3408
  }
@@ -3408,10 +3410,10 @@ function Ta(e = {}) {
3408
3410
  }
3409
3411
  r = {};
3410
3412
  }
3411
- n = e.shouldUnregister ? h.keepDefaultValues ? Ve(i) : {} : Ve(k), m.array.next({
3412
- values: { ...k }
3413
+ n = e.shouldUnregister ? h.keepDefaultValues ? Ve(i) : {} : Ve(F), m.array.next({
3414
+ values: { ...F }
3413
3415
  }), m.values.next({
3414
- values: { ...k }
3416
+ values: { ...F }
3415
3417
  });
3416
3418
  }
3417
3419
  l = {
@@ -3423,9 +3425,9 @@ function Ta(e = {}) {
3423
3425
  focus: ""
3424
3426
  }, o.mount = !u.isValid || !!h.keepIsValid || !!h.keepDirtyValues, o.watch = !!e.shouldUnregister, m.state.next({
3425
3427
  submitCount: h.keepSubmitCount ? t.submitCount : 0,
3426
- isDirty: S ? !1 : h.keepDirty ? t.isDirty : !!(h.keepDefaultValues && !st(c, i)),
3428
+ isDirty: w ? !1 : h.keepDirty ? t.isDirty : !!(h.keepDefaultValues && !st(c, i)),
3427
3429
  isSubmitted: h.keepIsSubmitted ? t.isSubmitted : !1,
3428
- dirtyFields: S ? {} : h.keepDirtyValues ? h.keepDefaultValues && n ? kt(i, n) : t.dirtyFields : h.keepDefaultValues && c ? kt(i, c) : h.keepDirty ? t.dirtyFields : {},
3430
+ dirtyFields: w ? {} : h.keepDirtyValues ? h.keepDefaultValues && n ? kt(i, n) : t.dirtyFields : h.keepDefaultValues && c ? kt(i, c) : h.keepDirty ? t.dirtyFields : {},
3429
3431
  touchedFields: h.keepTouched ? t.touchedFields : {},
3430
3432
  errors: h.keepErrors ? t.errors : {},
3431
3433
  isSubmitSuccessful: h.keepIsSubmitSuccessful ? t.isSubmitSuccessful : !1,
@@ -3444,7 +3446,7 @@ function Ta(e = {}) {
3444
3446
  _getDirty: A,
3445
3447
  _updateValid: b,
3446
3448
  _removeUnmounted: q,
3447
- _updateFieldArray: I,
3449
+ _updateFieldArray: k,
3448
3450
  _updateDisabledField: ce,
3449
3451
  _getFieldArray: D,
3450
3452
  _reset: Ne,
@@ -3462,7 +3464,7 @@ function Ta(e = {}) {
3462
3464
  _disableForm: ue,
3463
3465
  _subjects: m,
3464
3466
  _proxyFormState: u,
3465
- _setErrors: C,
3467
+ _setErrors: M,
3466
3468
  get _fields() {
3467
3469
  return r;
3468
3470
  },
@@ -3512,10 +3514,10 @@ function Ta(e = {}) {
3512
3514
  unregister: ne,
3513
3515
  setError: le,
3514
3516
  setFocus: (c, h = {}) => {
3515
- const v = R(r, c), w = v && v._f;
3516
- if (w) {
3517
- const S = w.refs ? w.refs[0] : w.ref;
3518
- S.focus && (S.focus(), h.shouldSelect && S.select());
3517
+ const v = R(r, c), I = v && v._f;
3518
+ if (I) {
3519
+ const w = I.refs ? I.refs[0] : I.ref;
3520
+ w.focus && (w.focus(), h.shouldSelect && w.select());
3519
3521
  }
3520
3522
  },
3521
3523
  getFieldState: pe
@@ -3586,7 +3588,7 @@ const Ea = "ids-form--alert-v5131", za = {
3586
3588
  onError: m,
3587
3589
  ...p
3588
3590
  }, y) => {
3589
- const g = Oe({ id: p.id }), [V, b] = X({}), { handleSubmit: _, reset: I, formState: F } = o, { errors: C, isValid: N } = F, M = !!Object.values(C).length && !f, B = M || e, U = Ae(
3591
+ const g = Oe({ id: p.id }), [V, b] = X({}), { handleSubmit: _, reset: k, formState: S } = o, { errors: M, isValid: N } = S, C = !!Object.values(M).length && !f, B = C || e, U = Ae(
3590
3592
  (x) => {
3591
3593
  _((D) => {
3592
3594
  d == null || d(D);
@@ -3611,7 +3613,7 @@ const Ea = "ids-form--alert-v5131", za = {
3611
3613
  element: (q == null ? void 0 : q.current) ?? void 0,
3612
3614
  api: o,
3613
3615
  submit: () => U(),
3614
- reset: (x) => I(x)
3616
+ reset: (x) => k(x)
3615
3617
  })), te(() => {
3616
3618
  u == null || u(N);
3617
3619
  }, [N, u]);
@@ -3648,7 +3650,7 @@ const Ea = "ids-form--alert-v5131", za = {
3648
3650
  [G.Hidden]: !B
3649
3651
  }),
3650
3652
  children: [
3651
- M ? /* @__PURE__ */ a(
3653
+ C ? /* @__PURE__ */ a(
3652
3654
  Mt,
3653
3655
  {
3654
3656
  status: "danger",
@@ -3671,7 +3673,7 @@ const Ea = "ids-form--alert-v5131", za = {
3671
3673
  "div",
3672
3674
  {
3673
3675
  className: $({
3674
- [G.IgnoreStack]: !M
3676
+ [G.IgnoreStack]: !C
3675
3677
  }),
3676
3678
  children: s
3677
3679
  }
@@ -3807,11 +3809,11 @@ const qa = "ids-modal-v5131", Pa = "ids-modal--backdrop-v5131", ja = "ids-modal-
3807
3809
  show: V,
3808
3810
  size: b = "md",
3809
3811
  static: _,
3810
- style: I,
3811
- ...F
3812
+ style: k,
3813
+ ...S
3812
3814
  }) => {
3813
- const [C, N] = X(n), H = me(240), M = Un(F.id), B = Oe({ id: F.id }), U = `${B}--heading`, W = M.opened || V || C, q = (Z) => {
3814
- M.show(Z), N(Z), y == null || y(Z);
3815
+ const [M, N] = X(n), H = me(240), C = Un(S.id), B = Oe({ id: S.id }), U = `${B}--heading`, W = C.opened || V || M, q = (Z) => {
3816
+ C.show(Z), N(Z), y == null || y(Z);
3815
3817
  }, { context: A } = Is({
3816
3818
  open: W,
3817
3819
  onOpenChange: q
@@ -3824,10 +3826,10 @@ const qa = "ids-modal-v5131", Pa = "ids-modal--backdrop-v5131", ja = "ids-modal-
3824
3826
  }
3825
3827
  });
3826
3828
  te(() => {
3827
- M.opened && V && Zt(
3829
+ C.opened && V && Zt(
3828
3830
  "IressModal: Please use either IressModalProvider for uncontrolled components, or the show prop for controlled components, rather than both. If you use both, the open state of the modal will become unpredictable. If you want to show a modal by default in uncontrolled mode, use the defaultShow prop."
3829
3831
  );
3830
- }, [M.opened, V]), te(() => {
3832
+ }, [C.opened, V]), te(() => {
3831
3833
  var Z, le, ve, ne;
3832
3834
  P === "initial" && ((Z = A.refs.floating) != null && Z.current) && (H.current = $r(
3833
3835
  ((le = window.getComputedStyle(A.refs.floating.current, null)) == null ? void 0 : le.getPropertyValue("--iress-transition-duration")) || ".3s"
@@ -3853,9 +3855,9 @@ const qa = "ids-modal-v5131", Pa = "ids-modal--backdrop-v5131", ja = "ids-modal-
3853
3855
  if (!O) return null;
3854
3856
  const pe = {
3855
3857
  position: "var(--iress-position, fixed)",
3856
- ...I
3858
+ ...k
3857
3859
  };
3858
- return /* @__PURE__ */ a(Ut, { root: r ?? (M == null ? void 0 : M.container), children: /* @__PURE__ */ a(
3860
+ return /* @__PURE__ */ a(Ut, { root: r ?? (C == null ? void 0 : C.container), children: /* @__PURE__ */ a(
3859
3861
  Fr,
3860
3862
  {
3861
3863
  className: $(
@@ -3885,7 +3887,7 @@ const qa = "ids-modal-v5131", Pa = "ids-modal--backdrop-v5131", ja = "ids-modal-
3885
3887
  id: B,
3886
3888
  "data-testid": i,
3887
3889
  "aria-labelledby": K ? U : void 0,
3888
- ...E.getFloatingProps(F),
3890
+ ...E.getFloatingProps(S),
3889
3891
  children: [
3890
3892
  !u && /* @__PURE__ */ a(
3891
3893
  Tt,
@@ -3998,8 +4000,8 @@ const el = ({
3998
4000
  "data-testid": p,
3999
4001
  ...y
4000
4002
  }) => {
4001
- const g = me(null), [V, b] = X(!1), [_, I] = X(!0), [F, C] = X(!0), [N, H] = X({}), M = Ae(() => {
4002
- const x = F, D = {
4003
+ const g = me(null), [V, b] = X(!1), [_, k] = X(!0), [S, M] = X(!0), [N, H] = X({}), C = Ae(() => {
4004
+ const x = S, D = {
4003
4005
  xs: x,
4004
4006
  sm: x,
4005
4007
  md: x,
@@ -4011,13 +4013,13 @@ const el = ({
4011
4013
  for (O in D)
4012
4014
  E && (D[O] = !1), O === i && (E = !0);
4013
4015
  H(D);
4014
- }, [i, F]);
4016
+ }, [i, S]);
4015
4017
  te(() => {
4016
- M(), s && b(!0), u !== "" && d === "" && Zt(
4018
+ C(), s && b(!0), u !== "" && d === "" && Zt(
4017
4019
  "IressNavbar: You've supplied a logo but no alt text, which is a failure of WCAG Level A Success Criterion 1.1.1 - Non-text content. Set the logoAltText prop to add alt text to the logo.",
4018
4020
  "warn"
4019
4021
  );
4020
- }, [M, s, u, d]), te(() => (n && o && B(), () => {
4022
+ }, [C, s, u, d]), te(() => (n && o && B(), () => {
4021
4023
  document.removeEventListener(
4022
4024
  "focus",
4023
4025
  U.bind(g),
@@ -4040,7 +4042,7 @@ const el = ({
4040
4042
  O < 0 && window.scrollBy(0, O);
4041
4043
  }
4042
4044
  }, W = () => {
4043
- C(!F), M();
4045
+ M(!S), C();
4044
4046
  }, A = (() => {
4045
4047
  const x = ["xs", "sm", "md", "lg", "xl", "xxl"], E = x.indexOf(i) + 1;
4046
4048
  return E >= x.length ? {} : {
@@ -4078,7 +4080,7 @@ const el = ({
4078
4080
  ),
4079
4081
  "aria-label": "Toggle navigation",
4080
4082
  "aria-controls": "iress-navbar__nav-slot",
4081
- "aria-expanded": !F,
4083
+ "aria-expanded": !S,
4082
4084
  children: /* @__PURE__ */ a(ae, { name: "bars", size: "2x" })
4083
4085
  }
4084
4086
  ) }),
@@ -4090,7 +4092,7 @@ const el = ({
4090
4092
  logoFound: _,
4091
4093
  logoAltText: d,
4092
4094
  dataTestid: p,
4093
- onError: () => I(!1)
4095
+ onError: () => k(!1)
4094
4096
  }
4095
4097
  ),
4096
4098
  /* @__PURE__ */ L(
@@ -4165,9 +4167,9 @@ const sl = "ids-radio-v5131", rl = "ids-radio--input-v5131", nl = "ids-radio--la
4165
4167
  touch: m,
4166
4168
  ...p
4167
4169
  }, y) => {
4168
- const g = Oe(p), V = gs(qn), b = !!V.onChange, I = b ? V.value === u : e ?? i;
4170
+ const g = Oe(p), V = gs(qn), b = !!V.onChange, k = b ? V.value === u : e ?? i;
4169
4171
  if (b ? V.readonly : f)
4170
- return I ? /* @__PURE__ */ a(
4172
+ return k ? /* @__PURE__ */ a(
4171
4173
  Je,
4172
4174
  {
4173
4175
  ...p,
@@ -4176,7 +4178,7 @@ const sl = "ids-radio-v5131", rl = "ids-radio--input-v5131", nl = "ids-radio--la
4176
4178
  children: s
4177
4179
  }
4178
4180
  ) : null;
4179
- const C = V.name ?? o, N = V.hiddenRadio ?? n, H = V.required ?? d, M = V.touch ?? m;
4181
+ const M = V.name ?? o, N = V.hiddenRadio ?? n, H = V.required ?? d, C = V.touch ?? m;
4180
4182
  return /* @__PURE__ */ L(
4181
4183
  "div",
4182
4184
  {
@@ -4184,7 +4186,7 @@ const sl = "ids-radio-v5131", rl = "ids-radio--input-v5131", nl = "ids-radio--la
4184
4186
  className: $(t, {
4185
4187
  [vt.radio]: !0,
4186
4188
  [vt.hiddenControl]: N,
4187
- [vt.touch]: M
4189
+ [vt.touch]: C
4188
4190
  }),
4189
4191
  children: [
4190
4192
  /* @__PURE__ */ a(
@@ -4193,7 +4195,7 @@ const sl = "ids-radio-v5131", rl = "ids-radio--input-v5131", nl = "ids-radio--la
4193
4195
  ...p,
4194
4196
  type: "radio",
4195
4197
  id: g,
4196
- name: C,
4198
+ name: M,
4197
4199
  ref: y,
4198
4200
  className: vt.input,
4199
4201
  "data-testid": T(r, "input"),
@@ -4202,7 +4204,7 @@ const sl = "ids-radio-v5131", rl = "ids-radio--input-v5131", nl = "ids-radio--la
4202
4204
  l == null || l(B, u), (U = V.onChange) == null || U.call(V, B, u);
4203
4205
  },
4204
4206
  value: String(u),
4205
- checked: I,
4207
+ checked: k,
4206
4208
  required: H
4207
4209
  }
4208
4210
  ),
@@ -4229,7 +4231,7 @@ const sl = "ids-radio-v5131", rl = "ids-radio--input-v5131", nl = "ids-radio--la
4229
4231
  ws(
4230
4232
  Nt.Gutter,
4231
4233
  t,
4232
- _s.None
4234
+ xs.None
4233
4235
  ),
4234
4236
  {
4235
4237
  [Nt.Base]: !0,
@@ -4242,7 +4244,7 @@ const sl = "ids-radio-v5131", rl = "ids-radio--input-v5131", nl = "ids-radio--la
4242
4244
  children: e
4243
4245
  }
4244
4246
  );
4245
- ft.Gutter = _s;
4247
+ ft.Gutter = xs;
4246
4248
  ft.HorizontalAlign = vr;
4247
4249
  ft.VerticalAlign = gr;
4248
4250
  const Yt = (e) => Se(e).reduce(
@@ -4329,7 +4331,7 @@ const dl = ({
4329
4331
  component: "IressSelect",
4330
4332
  defaultValue: o
4331
4333
  });
4332
- const m = Oe(d), p = me(null), { value: y, setValue: g } = _t({
4334
+ const m = Oe(d), p = me(null), { value: y, setValue: g } = xt({
4333
4335
  component: "IressSelect",
4334
4336
  defaultValue: o,
4335
4337
  value: n
@@ -4498,14 +4500,14 @@ function gl(e = null, s, t = null) {
4498
4500
  }
4499
4501
  return e ? r.filter((i) => i.matches(e)) : r;
4500
4502
  }
4501
- const yl = "ids-slideout-v5131", bl = "ids-slideout--backdrop-v5131", _l = "ids-slideout--push-v5131", xl = "ids-slideout--unmounted-v5131", Sl = "ids-slideout--initial-v5131", Nl = "ids-slideout--close-v5131", wl = "ids-slideout--open-v5131", Il = "ids-slideout--right-v5131", kl = "ids-slideout--left-v5131", Fl = "ids-slideout--close-button-v5131", Al = "ids-slideout--content-v5131", $l = "ids-slideout--footer-v5131", We = {
4503
+ const yl = "ids-slideout-v5131", bl = "ids-slideout--backdrop-v5131", xl = "ids-slideout--push-v5131", _l = "ids-slideout--unmounted-v5131", Sl = "ids-slideout--initial-v5131", Nl = "ids-slideout--close-v5131", wl = "ids-slideout--open-v5131", Il = "ids-slideout--right-v5131", kl = "ids-slideout--left-v5131", Fl = "ids-slideout--close-button-v5131", Al = "ids-slideout--content-v5131", $l = "ids-slideout--footer-v5131", We = {
4502
4504
  slideout: yl,
4503
4505
  backdrop: bl,
4504
- push: _l,
4506
+ push: xl,
4505
4507
  "size--sm": "ids-slideout--size--sm-v5131",
4506
4508
  "size--md": "ids-slideout--size--md-v5131",
4507
4509
  "size--lg": "ids-slideout--size--lg-v5131",
4508
- unmounted: xl,
4510
+ unmounted: _l,
4509
4511
  initial: Sl,
4510
4512
  close: Nl,
4511
4513
  open: wl,
@@ -4580,10 +4582,10 @@ const yl = "ids-slideout-v5131", bl = "ids-slideout--backdrop-v5131", _l = "ids-
4580
4582
  position: V = "right",
4581
4583
  show: b,
4582
4584
  size: _ = "sm",
4583
- style: I,
4584
- ...F
4585
+ style: k,
4586
+ ...S
4585
4587
  }) => {
4586
- const [C, N] = X(o), H = me(240), M = me(null), B = Xn(F.id), U = Oe({ id: F.id }), W = `${U}--heading`, q = B.opened || b || C, A = (K, pe, Z) => {
4588
+ const [M, N] = X(o), H = me(240), C = me(null), B = Xn(S.id), U = Oe({ id: S.id }), W = `${U}--heading`, q = B.opened || b || M, A = (K, pe, Z) => {
4587
4589
  B.show(K), N(K), y == null || y(K, Z);
4588
4590
  }, { context: x } = Is({
4589
4591
  open: q,
@@ -4602,23 +4604,23 @@ const yl = "ids-slideout-v5131", bl = "ids-slideout--backdrop-v5131", _l = "ids-
4602
4604
  );
4603
4605
  }, [B.opened, b]), te(() => {
4604
4606
  if (u === "overlay")
4605
- M.current = null;
4607
+ C.current = null;
4606
4608
  else {
4607
4609
  let K;
4608
- typeof l == "string" ? K = ml(l) : l instanceof Element ? K = l : K = l == null ? void 0 : l.current, M.current = K;
4610
+ typeof l == "string" ? K = ml(l) : l instanceof Element ? K = l : K = l == null ? void 0 : l.current, C.current = K;
4609
4611
  }
4610
4612
  return () => {
4611
- M.current = null;
4613
+ C.current = null;
4612
4614
  };
4613
4615
  }, [l, u]), te(() => {
4614
4616
  var K, pe, Z, le, ve, ne, ce, de;
4615
- Q === "initial" && ((K = M == null ? void 0 : M.current) == null || K.classList.add(
4617
+ Q === "initial" && ((K = C == null ? void 0 : C.current) == null || K.classList.add(
4616
4618
  et.slideoutPushElement,
4617
4619
  et[V],
4618
4620
  et[`size--${_}`]
4619
4621
  ), (pe = x.refs.floating) != null && pe.current && (H.current = $r(
4620
4622
  ((Z = window.getComputedStyle(x.refs.floating.current, null)) == null ? void 0 : Z.getPropertyValue("--iress-transition-duration")) || ".3s"
4621
- ))), Q === "open" && (m == null || m(), (ve = (le = x.refs.floating) == null ? void 0 : le.current) == null || ve.focus(), (ne = M == null ? void 0 : M.current) == null || ne.classList.add(et.open)), Q === "close" && (p == null || p(), (ce = M == null ? void 0 : M.current) == null || ce.classList.remove(et.open)), Q === "unmounted" && ((de = M == null ? void 0 : M.current) == null || de.classList.remove(
4623
+ ))), Q === "open" && (m == null || m(), (ve = (le = x.refs.floating) == null ? void 0 : le.current) == null || ve.focus(), (ne = C == null ? void 0 : C.current) == null || ne.classList.add(et.open)), Q === "close" && (p == null || p(), (ce = C == null ? void 0 : C.current) == null || ce.classList.remove(et.open)), Q === "unmounted" && ((de = C == null ? void 0 : C.current) == null || de.classList.remove(
4622
4624
  et.slideoutPushElement,
4623
4625
  et[V],
4624
4626
  et[`size--${_}`]
@@ -4628,7 +4630,7 @@ const yl = "ids-slideout-v5131", bl = "ids-slideout--backdrop-v5131", _l = "ids-
4628
4630
  m,
4629
4631
  p,
4630
4632
  x.refs.floating,
4631
- M,
4633
+ C,
4632
4634
  V,
4633
4635
  _
4634
4636
  ]);
@@ -4654,7 +4656,7 @@ const yl = "ids-slideout-v5131", bl = "ids-slideout--backdrop-v5131", _l = "ids-
4654
4656
  We[`size--${_}`],
4655
4657
  G.IgnoreStack,
4656
4658
  {
4657
- [We.push]: u === "push" && M.current,
4659
+ [We.push]: u === "push" && C.current,
4658
4660
  [`${t}`]: t && !e
4659
4661
  }
4660
4662
  ),
@@ -4666,12 +4668,12 @@ const yl = "ids-slideout-v5131", bl = "ids-slideout--backdrop-v5131", _l = "ids-
4666
4668
  id: U,
4667
4669
  onOpenChange: A,
4668
4670
  padding: g,
4669
- ...O.getFloatingProps(F)
4671
+ ...O.getFloatingProps(S)
4670
4672
  };
4671
4673
  if (e) {
4672
4674
  const K = {
4673
4675
  position: "var(--iress-position, fixed)",
4674
- ...I
4676
+ ...k
4675
4677
  };
4676
4678
  return /* @__PURE__ */ a(Ut, { root: i ?? (B == null ? void 0 : B.container), children: /* @__PURE__ */ a(
4677
4679
  Fr,
@@ -4700,7 +4702,7 @@ const yl = "ids-slideout-v5131", bl = "ids-slideout--backdrop-v5131", _l = "ids-
4700
4702
  or,
4701
4703
  {
4702
4704
  ...Y,
4703
- style: I,
4705
+ style: k,
4704
4706
  "data-testid": n
4705
4707
  }
4706
4708
  ) });
@@ -4734,14 +4736,14 @@ const Ml = (e = 0, s = 10, t = 1) => {
4734
4736
  });
4735
4737
  const g = Oe({ id: p == null ? void 0 : p.id }), b = (typeof u == "boolean" ? Ml(o, n, d) : u ?? []).map(
4736
4738
  (N) => typeof N == "number" ? { value: N } : N
4737
- ), { value: _, setValue: I } = _t({
4739
+ ), { value: _, setValue: k } = xt({
4738
4740
  component: "IressSlider",
4739
4741
  defaultValue: m ? void 0 : s ?? o,
4740
4742
  value: m
4741
- }), F = Ae(() => {
4743
+ }), S = Ae(() => {
4742
4744
  const N = b == null ? void 0 : b.find((H) => H.value === _);
4743
4745
  return r ? r(_ ?? 0, N, f) : (N == null ? void 0 : N.label) ?? _;
4744
- }, [b, r, _, f]), C = Ae(() => {
4746
+ }, [b, r, _, f]), M = Ae(() => {
4745
4747
  const N = Number(((_ ?? 0) - o) * 100 / (n - o));
4746
4748
  return `calc(${N}% + ((var(--iress-thumb-width) / 2) - ${N * 0.285}px))`;
4747
4749
  }, [n, o, _]);
@@ -4751,18 +4753,18 @@ const Ml = (e = 0, s = 10, t = 1) => {
4751
4753
  "data-testid": T(e, "slider"),
4752
4754
  name: p == null ? void 0 : p.name,
4753
4755
  value: _,
4754
- children: F()
4756
+ children: S()
4755
4757
  }
4756
4758
  ) : /* @__PURE__ */ L(
4757
4759
  "div",
4758
4760
  {
4759
4761
  className: $(t, as.slider),
4760
4762
  style: {
4761
- "--iress-thumb-value-offset": C()
4763
+ "--iress-thumb-value-offset": M()
4762
4764
  },
4763
4765
  "data-testid": e,
4764
4766
  children: [
4765
- !i && /* @__PURE__ */ a("output", { className: as.thumbValue, children: F() }),
4767
+ !i && /* @__PURE__ */ a("output", { className: as.thumbValue, children: S() }),
4766
4768
  /* @__PURE__ */ a(
4767
4769
  "input",
4768
4770
  {
@@ -4774,7 +4776,7 @@ const Ml = (e = 0, s = 10, t = 1) => {
4774
4776
  value: _,
4775
4777
  type: "range",
4776
4778
  onChange: (N) => {
4777
- l == null || l(N, Number(N.target.value)), I(Number(N.target.value));
4779
+ l == null || l(N, Number(N.target.value)), k(Number(N.target.value));
4778
4780
  },
4779
4781
  ref: y,
4780
4782
  list: `${g}--markers`,
@@ -4905,7 +4907,7 @@ const El = ({
4905
4907
  "IressTable: Passing columns as an object is deprecated and will be removed in a future version. Please use an array instead.",
4906
4908
  "warn"
4907
4909
  );
4908
- const I = T(n, "thead"), F = T(n, "tbody");
4910
+ const k = T(n, "thead"), S = T(n, "tbody");
4909
4911
  return /* @__PURE__ */ a(
4910
4912
  "div",
4911
4913
  {
@@ -4935,12 +4937,12 @@ const El = ({
4935
4937
  children: e
4936
4938
  }
4937
4939
  ),
4938
- !f && b && /* @__PURE__ */ a("thead", { "data-testid": I, children: /* @__PURE__ */ a(Bl, { tableId: g, testId: I }) }),
4939
- b && /* @__PURE__ */ L("tbody", { "data-testid": F, children: [
4940
+ !f && b && /* @__PURE__ */ a("thead", { "data-testid": k, children: /* @__PURE__ */ a(Bl, { tableId: g, testId: k }) }),
4941
+ b && /* @__PURE__ */ L("tbody", { "data-testid": S, children: [
4940
4942
  /* @__PURE__ */ a(
4941
4943
  ii,
4942
4944
  {
4943
- testId: F,
4945
+ testId: S,
4944
4946
  tableId: g,
4945
4947
  rowProps: u,
4946
4948
  scope: p,
@@ -4969,20 +4971,20 @@ const Hl = re(
4969
4971
  value: l,
4970
4972
  ...f
4971
4973
  }, d) => {
4972
- const [u, m] = X(""), { value: p, setValue: y } = _t({
4974
+ const [u, m] = X(""), { value: p, setValue: y } = xt({
4973
4975
  component: "IressTagInput",
4974
4976
  defaultValue: e,
4975
4977
  value: l
4976
4978
  }), g = Ae(
4977
- (F = "") => {
4978
- if (!F)
4979
+ (S = "") => {
4980
+ if (!S)
4979
4981
  return;
4980
- if (p != null && p.includes(F)) {
4981
- r == null || r(F);
4982
+ if (p != null && p.includes(S)) {
4983
+ r == null || r(S);
4982
4984
  return;
4983
4985
  }
4984
- const C = [...p ?? [], F];
4985
- t == null || t(ke(C), C), y(C);
4986
+ const M = [...p ?? [], S];
4987
+ t == null || t(ke(M), M), y(M);
4986
4988
  },
4987
4989
  [t, r, y, p]
4988
4990
  );
@@ -4990,26 +4992,26 @@ const Hl = re(
4990
4992
  Rs,
4991
4993
  {
4992
4994
  ...f,
4993
- onBlur: (F) => {
4994
- s == null || s(F), g(F.currentTarget.value);
4995
+ onBlur: (S) => {
4996
+ s == null || s(S), g(S.currentTarget.value);
4995
4997
  },
4996
- onChange: (F) => m(F.currentTarget.value),
4997
- onKeyDown: (F) => {
4998
- if (i == null || i(F), F.key === "Backspace" && !u) {
4999
- const C = p == null ? void 0 : p.slice(0, -1);
5000
- t == null || t(ke(C), C), y(C);
5001
- } else if (F.key === "Enter") {
5002
- const C = F.currentTarget;
5003
- g(C.value), m("");
4998
+ onChange: (S) => m(S.currentTarget.value),
4999
+ onKeyDown: (S) => {
5000
+ if (i == null || i(S), S.key === "Backspace" && !u) {
5001
+ const M = p == null ? void 0 : p.slice(0, -1);
5002
+ t == null || t(ke(M), M), y(M);
5003
+ } else if (S.key === "Enter") {
5004
+ const M = S.currentTarget;
5005
+ g(M.value), m("");
5004
5006
  }
5005
5007
  },
5006
- onTagDelete: (F) => {
5007
- n == null || n(F);
5008
- const C = p == null ? void 0 : p.filter((N) => N !== F);
5009
- t == null || t(ke(C), C), y(C);
5008
+ onTagDelete: (S) => {
5009
+ n == null || n(S);
5010
+ const M = p == null ? void 0 : p.filter((N) => N !== S);
5011
+ t == null || t(ke(M), M), y(M);
5010
5012
  },
5011
- onTagDeleteAll: (F) => {
5012
- o == null || o(F), t == null || t(ke([]), []), y([]);
5013
+ onTagDeleteAll: (S) => {
5014
+ o == null || o(S), t == null || t(ke([]), []), y([]);
5013
5015
  },
5014
5016
  ref: d,
5015
5017
  tags: p,
@@ -5391,8 +5393,8 @@ const tc = "ids-toaster-v5131", ar = {
5391
5393
  overlayStrong: yc,
5392
5394
  spinner: bc
5393
5395
  }, cr = {
5394
- chart: /* @__PURE__ */ a(xe, { mode: "rect", height: "250px" })
5395
- }, _c = ({
5396
+ chart: /* @__PURE__ */ a(_e, { mode: "rect", height: "250px" })
5397
+ }, xc = ({
5396
5398
  children: e,
5397
5399
  className: s,
5398
5400
  loaded: t,
@@ -5474,46 +5476,46 @@ const tc = "ids-toaster-v5131", ar = {
5474
5476
  ]
5475
5477
  }
5476
5478
  );
5477
- }, xc = "ids-page-loading--root-v5131", Sc = "ids-page-loading--critical-v5131", Nc = "ids-page-loading--show-critical-v5131", wc = "ids-page-loading--skeleton-v5131", Ic = "ids-page-loading--hide-template-v5131", $t = {
5478
- root: xc,
5479
+ }, _c = "ids-page-loading--root-v5131", Sc = "ids-page-loading--critical-v5131", Nc = "ids-page-loading--show-critical-v5131", wc = "ids-page-loading--skeleton-v5131", Ic = "ids-page-loading--hide-template-v5131", $t = {
5480
+ root: _c,
5479
5481
  critical: Sc,
5480
5482
  showCritical: Nc,
5481
5483
  skeleton: wc,
5482
5484
  hideTemplate: Ic
5483
5485
  }, dr = {
5484
5486
  page: /* @__PURE__ */ a(cs, { children: /* @__PURE__ */ a(ft, { gutter: "lg", verticalAlign: "stretch", children: /* @__PURE__ */ a(St, { children: /* @__PURE__ */ L(ct, { gutter: "md", children: [
5485
- /* @__PURE__ */ a(xe, { textVariant: "h2", width: "75%" }),
5486
- /* @__PURE__ */ a(xe, { mode: "rect", height: "200px" })
5487
+ /* @__PURE__ */ a(_e, { textVariant: "h2", width: "75%" }),
5488
+ /* @__PURE__ */ a(_e, { mode: "rect", height: "200px" })
5487
5489
  ] }) }) }) }),
5488
5490
  form: /* @__PURE__ */ a(cs, { children: /* @__PURE__ */ a(ft, { gutter: "lg", verticalAlign: "stretch", children: /* @__PURE__ */ a(St, { children: /* @__PURE__ */ L(ct, { gutter: "md", children: [
5489
- /* @__PURE__ */ a(xe, { textVariant: "h2", width: "75%" }),
5490
- /* @__PURE__ */ a(xe, { mode: "rect", height: "200px" }),
5491
- /* @__PURE__ */ a(xe, { textVariant: "body", width: "100px" })
5491
+ /* @__PURE__ */ a(_e, { textVariant: "h2", width: "75%" }),
5492
+ /* @__PURE__ */ a(_e, { mode: "rect", height: "200px" }),
5493
+ /* @__PURE__ */ a(_e, { textVariant: "body", width: "100px" })
5492
5494
  ] }) }) }) }),
5493
5495
  dashboard: /* @__PURE__ */ a(cs, { children: /* @__PURE__ */ L(ct, { gutter: "lg", children: [
5494
5496
  /* @__PURE__ */ L(ft, { horizontalAlign: "between", verticalAlign: "middle", children: [
5495
- /* @__PURE__ */ a(xe, { textVariant: "h1", width: "25%" }),
5497
+ /* @__PURE__ */ a(_e, { textVariant: "h1", width: "25%" }),
5496
5498
  /* @__PURE__ */ L(Ge, { gutter: "lg", children: [
5497
- /* @__PURE__ */ a(xe, { textVariant: "lead", width: "200px" }),
5498
- /* @__PURE__ */ a(xe, { textVariant: "lead", width: "200px" })
5499
+ /* @__PURE__ */ a(_e, { textVariant: "lead", width: "200px" }),
5500
+ /* @__PURE__ */ a(_e, { textVariant: "lead", width: "200px" })
5499
5501
  ] })
5500
5502
  ] }),
5501
5503
  /* @__PURE__ */ a(Ns, {}),
5502
5504
  /* @__PURE__ */ L(ft, { gutter: "lg", children: [
5503
5505
  /* @__PURE__ */ a(St, { span: "4", children: /* @__PURE__ */ a(os, { stretch: !0, children: /* @__PURE__ */ L(ct, { gutter: "md", children: [
5504
- /* @__PURE__ */ a(xe, { mode: "rect", height: "300px" }),
5505
- /* @__PURE__ */ a(xe, { textVariant: "h3", width: "75%" }),
5506
- /* @__PURE__ */ a(xe, { textVariant: "body", width: "50%" })
5506
+ /* @__PURE__ */ a(_e, { mode: "rect", height: "300px" }),
5507
+ /* @__PURE__ */ a(_e, { textVariant: "h3", width: "75%" }),
5508
+ /* @__PURE__ */ a(_e, { textVariant: "body", width: "50%" })
5507
5509
  ] }) }) }),
5508
5510
  /* @__PURE__ */ a(St, { span: "4", children: /* @__PURE__ */ a(os, { stretch: !0, children: /* @__PURE__ */ L(ct, { gutter: "md", children: [
5509
- /* @__PURE__ */ a(xe, { mode: "rect", height: "300px" }),
5510
- /* @__PURE__ */ a(xe, { textVariant: "h3", width: "75%" }),
5511
- /* @__PURE__ */ a(xe, { textVariant: "body", width: "50%" })
5511
+ /* @__PURE__ */ a(_e, { mode: "rect", height: "300px" }),
5512
+ /* @__PURE__ */ a(_e, { textVariant: "h3", width: "75%" }),
5513
+ /* @__PURE__ */ a(_e, { textVariant: "body", width: "50%" })
5512
5514
  ] }) }) }),
5513
5515
  /* @__PURE__ */ a(St, { span: "4", children: /* @__PURE__ */ a(os, { stretch: !0, children: /* @__PURE__ */ L(ct, { gutter: "md", children: [
5514
- /* @__PURE__ */ a(xe, { mode: "rect", height: "300px" }),
5515
- /* @__PURE__ */ a(xe, { textVariant: "h3", width: "75%" }),
5516
- /* @__PURE__ */ a(xe, { textVariant: "body", width: "50%" })
5516
+ /* @__PURE__ */ a(_e, { mode: "rect", height: "300px" }),
5517
+ /* @__PURE__ */ a(_e, { textVariant: "h3", width: "75%" }),
5518
+ /* @__PURE__ */ a(_e, { textVariant: "body", width: "50%" })
5517
5519
  ] }) }) })
5518
5520
  ] })
5519
5521
  ] }) })
@@ -5558,7 +5560,7 @@ const tc = "ids-toaster-v5131", ar = {
5558
5560
  ]
5559
5561
  }
5560
5562
  );
5561
- }, Ht = ({ pattern: e, ...s }) => e === "component" ? /* @__PURE__ */ a(_c, { ...s }) : e === "long" ? /* @__PURE__ */ a(bi, { ...s }) : e === "page" ? /* @__PURE__ */ a(kc, { ...s }) : e === "start-up" ? /* @__PURE__ */ a(vn, { ...s }) : e === "validate" ? /* @__PURE__ */ a(mc, { ...s }) : /* @__PURE__ */ a(ac, { ...s });
5563
+ }, Ht = ({ pattern: e, ...s }) => e === "component" ? /* @__PURE__ */ a(xc, { ...s }) : e === "long" ? /* @__PURE__ */ a(bi, { ...s }) : e === "page" ? /* @__PURE__ */ a(kc, { ...s }) : e === "start-up" ? /* @__PURE__ */ a(vn, { ...s }) : e === "validate" ? /* @__PURE__ */ a(mc, { ...s }) : /* @__PURE__ */ a(ac, { ...s });
5562
5564
  Ht.shouldRender = yi;
5563
5565
  const dn = ({
5564
5566
  children: e,
@@ -5653,14 +5655,14 @@ export {
5653
5655
  nc as ae,
5654
5656
  ac as af,
5655
5657
  mc as ag,
5656
- _c as ah,
5658
+ xc as ah,
5657
5659
  kc as ai,
5658
5660
  Le as b,
5659
5661
  Tt as c,
5660
5662
  Xo as d,
5661
5663
  Vs as e,
5662
5664
  la as f,
5663
- _a as g,
5665
+ xa as g,
5664
5666
  Es as h,
5665
5667
  Oa as i,
5666
5668
  Lt as j,
@@ -5679,5 +5681,5 @@ export {
5679
5681
  Ao as w,
5680
5682
  Vo as x,
5681
5683
  oo as y,
5682
- xt as z
5684
+ _t as z
5683
5685
  };