@hortiview/shared-components 2.4.0 → 2.6.0

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 (102) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{AlertBanner-75jjene1.js → AlertBanner-JnX0tJGC.js} +9 -9
  3. package/dist/{BigLoadingSpinner-BbXMCKpm.js → BigLoadingSpinner-chQoiNY9.js} +1 -1
  4. package/dist/{GenericCard-BFYKwkzI.js → GenericCard-c9yuyN3m.js} +3 -3
  5. package/dist/ListAreaService-BY6ZTds9.js +124 -0
  6. package/dist/{OfflineView-BW19N4Cu.js → OfflineView-HbuDPpQL.js} +3 -3
  7. package/dist/{_MapCache-B75yWNNd.js → _MapCache-B75dXJyg.js} +2 -2
  8. package/dist/_baseIsEqual-CZNn3LMM.js +241 -0
  9. package/dist/_getAllKeys-tc1bcd1W.js +86 -0
  10. package/dist/{_getTag-BCf9b56Z.js → _getTag-DYHrLaIw.js} +2 -2
  11. package/dist/_setToString-Do1lSQTZ.js +2034 -0
  12. package/dist/assets/ListAreaService.css +1 -1
  13. package/dist/components/AlertBanner/AlertBanner.js +4 -4
  14. package/dist/components/AlertBanner/AlertBanner.test.js +1 -1
  15. package/dist/components/AlertBanner/LinkBanner.js +3 -3
  16. package/dist/components/BaseView/BaseView.d.ts +5 -1
  17. package/dist/components/BaseView/BaseView.js +32 -29
  18. package/dist/components/BasicHeading/BasicHeading.js +2 -2
  19. package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
  20. package/dist/components/BlockView/BlockView.js +1 -1
  21. package/dist/components/ChipCard/ChipCard.js +4 -4
  22. package/dist/components/ContextMenu/ContextMenu.js +3 -3
  23. package/dist/components/DeleteModal/DeleteModal.js +4 -4
  24. package/dist/components/DetailContentWrapper/DetailContentWrapper.js +1 -1
  25. package/dist/components/Disclaimer/Disclaimer.js +3 -3
  26. package/dist/components/EmptyView/EmptyView.js +4 -4
  27. package/dist/components/Filter/Filter.js +17 -16
  28. package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +1 -1
  29. package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +4 -4
  30. package/dist/components/FormComponents/FormNumber/CustomTextField.js +13 -12
  31. package/dist/components/FormComponents/FormRadio/FormRadio.js +1 -1
  32. package/dist/components/FormComponents/FormSelect/FormSelect.d.ts +1 -2
  33. package/dist/components/FormComponents/FormSelect/FormSelect.js +1 -1
  34. package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +2 -2
  35. package/dist/components/FormComponents/FormSlider/FormSlider.js +4 -4
  36. package/dist/components/FormComponents/FormText/FormText.js +2 -2
  37. package/dist/components/FormComponents/FormToggle/FormToggle.js +3 -3
  38. package/dist/components/GenericTable/GenericTable.js +1399 -1425
  39. package/dist/components/GenericTable/Mobile/GenericCard.js +4 -4
  40. package/dist/components/GenericTable/Mobile/GenericCard.test.js +1 -1
  41. package/dist/components/GenericTable/Mobile/GenericCardList.js +4 -4
  42. package/dist/components/HashTabView/HashTabView.js +6 -6
  43. package/dist/components/HeaderFilter/HeaderFilter.js +1 -1
  44. package/dist/components/HealthCheckFailed/HealthCheckFailed.js +4 -4
  45. package/dist/components/Iconify/Iconify.js +2 -2
  46. package/dist/components/InfoGroup/InfoGroup.js +3 -3
  47. package/dist/components/ListArea/ListArea.js +36 -35
  48. package/dist/components/ListArea/ListArea.test.js +14 -9
  49. package/dist/components/ListArea/ListAreaService.js +9 -7
  50. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +2 -2
  51. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +1 -1
  52. package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +6 -6
  53. package/dist/components/Modal/Modal.js +108 -97
  54. package/dist/components/ModulePadding/ModulePadding.js +9 -8
  55. package/dist/components/OfflineView/OfflineView.js +4 -4
  56. package/dist/components/OfflineView/OfflineView.test.js +1 -1
  57. package/dist/components/OnboardingBanner/OnboardingBanner.js +7 -7
  58. package/dist/components/OverflowTooltip/OverflowTooltip.js +1 -1
  59. package/dist/components/OverflowTooltip/OverflowTooltip.test.js +1 -1
  60. package/dist/components/SearchBar/SearchBar.js +2 -2
  61. package/dist/components/Select/Select.js +1 -1
  62. package/dist/components/Stepper/Stepper.js +1 -1
  63. package/dist/components/Stepper/components/StepperButton.js +1 -1
  64. package/dist/components/Stepper/components/StepperHeader.js +2 -2
  65. package/dist/components/Stepper/components/StepperIndicator.js +1 -1
  66. package/dist/{get-DFv1gXfq.js → get-B8c-T4F8.js} +1 -1
  67. package/dist/{get-7ACccM2X.js → get-C7KpEkVs.js} +1 -1
  68. package/dist/hooks/useHelperText.js +1 -1
  69. package/dist/{index.es-D54RuMc_.js → index.es--yyG47az.js} +2 -2
  70. package/dist/{index.es-DKDgy7Kt.js → index.es-6c1Xbl0N.js} +1 -1
  71. package/dist/{index.es-BWgXLqXn.js → index.es-BTc2I5pe.js} +2 -2
  72. package/dist/{index.es-BtjV0oNv.js → index.es-Bf149BSP.js} +4 -4
  73. package/dist/{index.es-CoFul5zR.js → index.es-BoWmBoqO.js} +8 -8
  74. package/dist/{index.es-CiqbARoC.js → index.es-Bx1E5MPK.js} +4 -4
  75. package/dist/{index.es-fnFnw2P1.js → index.es-CPqaUyn3.js} +10 -10
  76. package/dist/{index.es-25EARqhH.js → index.es-CUuzYysw.js} +4 -4
  77. package/dist/{index.es-DntoATwO.js → index.es-CbBdaRO2.js} +2 -2
  78. package/dist/{index.es-8GOVkuo-.js → index.es-CqgVUhln.js} +3 -3
  79. package/dist/{index.es-BNHI3ZIK.js → index.es-CzUKBF7E.js} +10 -10
  80. package/dist/{index.es-D-CKRzIB.js → index.es-D-ph6ImM.js} +1 -1
  81. package/dist/{index.es-6TJ1S8Jr.js → index.es-DDo_AHL0.js} +7 -7
  82. package/dist/{index.es-3043KTnb.js → index.es-DErA6zWG.js} +2 -2
  83. package/dist/{index.es-h2lMdt7G.js → index.es-DF11ERDs.js} +2 -2
  84. package/dist/{index.es-B-_jXDuz.js → index.es-DMGNht46.js} +1 -1
  85. package/dist/{index.es-Dvj_qpAp.js → index.es-DOX4XTz_.js} +2 -2
  86. package/dist/index.es-DlzwTKbh.js +311 -0
  87. package/dist/{index.es-CL_Heu1n.js → index.es-DxDU9C_B.js} +1 -1
  88. package/dist/{index.es-0lQcz8m1.js → index.es-Kg9soDed.js} +3 -3
  89. package/dist/{index.es-41ztjcFT.js → index.es-U5-b20Gv.js} +4 -4
  90. package/dist/{index.es-BvrQnJ3j.js → index.es-oOD85ZwA.js} +4 -4
  91. package/dist/{index.es-D6N-XWHe.js → index.es-zQBuWUgU.js} +2 -2
  92. package/dist/{isEmpty-B4GG2s-V.js → isEmpty-DsdC9UUD.js} +2 -2
  93. package/dist/main.d.ts +4 -4
  94. package/dist/main.js +2 -2
  95. package/dist/omit-1Eom1PmQ.js +366 -0
  96. package/dist/{orderBy-Bd48bw88.js → orderBy-CyjsW2ET.js} +31 -30
  97. package/dist/types/ListElement.d.ts +23 -9
  98. package/package.json +1 -1
  99. package/dist/ListAreaService-BVtuBN0K.js +0 -110
  100. package/dist/_baseIsEqual-D0Dsajdb.js +0 -317
  101. package/dist/identity-DLWZln-X.js +0 -1763
  102. package/dist/index.es-da0cf7oE.js +0 -569
@@ -1,17 +1,17 @@
1
1
  import { jsxs as ft, jsx as C, Fragment as pt } from "react/jsx-runtime";
2
- import { G as z } from "../../index.es-DntoATwO.js";
3
- import { I as it } from "../../index.es-0lQcz8m1.js";
4
- import { _ as ht, c as B, P as s } from "../../identity-DLWZln-X.js";
5
- import d, { forwardRef as gt, useRef as et, useImperativeHandle as _t, useState as nt, useEffect as _, useCallback as j, useMemo as Y } from "react";
6
- import { i as Et, c as b, a as Ct } from "../../index.es-da0cf7oE.js";
7
- import { b as at, c as ot, d as St } from "../../tslib.es6-BDCynO9F.js";
8
- import { M as vt, a as yt } from "../../component-neHBNHRu.js";
9
- import { M as Ot, c as Tt, m as At } from "../../component-DsB0poTj.js";
10
- import { A as bt } from "../../animationframe-EMBh6XeO.js";
11
- import { P as Dt } from "../../index.es-D-CKRzIB.js";
12
- import { b as It } from "../../index.es-D54RuMc_.js";
13
- import { Iconify as Nt } from "../Iconify/Iconify.js";
14
- import { O as Lt } from "../../OfflineView-BW19N4Cu.js";
2
+ import { G as z } from "../../index.es-CbBdaRO2.js";
3
+ import { I as it } from "../../index.es-Kg9soDed.js";
4
+ import { _ as ht, c as B, P as s } from "../../_setToString-Do1lSQTZ.js";
5
+ import d, { forwardRef as gt, useRef as et, useImperativeHandle as _t, useState as nt, useEffect as E, useCallback as j, useMemo as Y, Fragment as Et } from "react";
6
+ import { i as Ct, c as b, a as St } from "../../index.es-DlzwTKbh.js";
7
+ import { b as at, c as ot, d as vt } from "../../tslib.es6-BDCynO9F.js";
8
+ import { M as yt, a as Ot } from "../../component-neHBNHRu.js";
9
+ import { M as Tt, c as At, m as bt } from "../../component-DsB0poTj.js";
10
+ import { A as Dt } from "../../animationframe-EMBh6XeO.js";
11
+ import { P as It } from "../../index.es-D-ph6ImM.js";
12
+ import { b as Nt } from "../../index.es--yyG47az.js";
13
+ import { Iconify as Lt } from "../Iconify/Iconify.js";
14
+ import { O as Ft } from "../../OfflineView-HbuDPpQL.js";
15
15
  import '../../assets/Modal.css';/**
16
16
  * @license
17
17
  * Copyright 2016 Google Inc.
@@ -34,19 +34,19 @@ import '../../assets/Modal.css';/**
34
34
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
35
35
  * THE SOFTWARE.
36
36
  */
37
- function Ft(i, e, t) {
37
+ function Rt(i, e, t) {
38
38
  return e(i, { initialFocusEl: t });
39
39
  }
40
- function Rt(i) {
40
+ function Bt(i) {
41
41
  return i ? i.scrollHeight > i.offsetHeight : !1;
42
42
  }
43
- function Bt(i) {
43
+ function wt(i) {
44
44
  return i ? i.scrollTop === 0 : !1;
45
45
  }
46
- function wt(i) {
46
+ function Mt(i) {
47
47
  return i ? Math.ceil(i.scrollHeight - i.scrollTop) === i.clientHeight : !1;
48
48
  }
49
- function Mt(i) {
49
+ function kt(i) {
50
50
  var e = /* @__PURE__ */ new Set();
51
51
  return [].forEach.call(i, function(t) {
52
52
  return e.add(t.offsetTop);
@@ -74,7 +74,7 @@ function Mt(i) {
74
74
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
75
75
  * THE SOFTWARE.
76
76
  */
77
- var q = "mdc-dom-focus-sentinel", kt = (
77
+ var q = "mdc-dom-focus-sentinel", Ht = (
78
78
  /** @class */
79
79
  function() {
80
80
  function i(e, t) {
@@ -106,8 +106,8 @@ var q = "mdc-dom-focus-sentinel", kt = (
106
106
  return t.filter(function(n) {
107
107
  var o = n.getAttribute("aria-disabled") === "true" || n.getAttribute("disabled") != null || n.getAttribute("hidden") != null || n.getAttribute("aria-hidden") === "true", a = n.tabIndex >= 0 && n.getBoundingClientRect().width > 0 && !n.classList.contains(q) && !o, f = !1;
108
108
  if (a) {
109
- var p = getComputedStyle(n);
110
- f = p.display === "none" || p.visibility === "hidden";
109
+ var h = getComputedStyle(n);
110
+ f = h.display === "none" || h.visibility === "hidden";
111
111
  }
112
112
  return a && !f;
113
113
  });
@@ -228,7 +228,7 @@ var rt = (
228
228
  at(e, i);
229
229
  function e(t) {
230
230
  var n = i.call(this, ot(ot({}, e.defaultAdapter), t)) || this;
231
- return n.dialogOpen = !1, n.isFullscreen = !1, n.animationFrame = 0, n.animationTimer = 0, n.escapeKeyAction = v.CLOSE_ACTION, n.scrimClickAction = v.CLOSE_ACTION, n.autoStackButtons = !0, n.areButtonsStacked = !1, n.suppressDefaultPressSelector = v.SUPPRESS_DEFAULT_PRESS_SELECTOR, n.animFrame = new bt(), n.contentScrollHandler = function() {
231
+ return n.dialogOpen = !1, n.isFullscreen = !1, n.animationFrame = 0, n.animationTimer = 0, n.escapeKeyAction = v.CLOSE_ACTION, n.scrimClickAction = v.CLOSE_ACTION, n.autoStackButtons = !0, n.areButtonsStacked = !1, n.suppressDefaultPressSelector = v.SUPPRESS_DEFAULT_PRESS_SELECTOR, n.animFrame = new Dt(), n.contentScrollHandler = function() {
232
232
  n.handleScrollEvent();
233
233
  }, n.windowResizeHandler = function() {
234
234
  n.layout();
@@ -410,7 +410,7 @@ var rt = (
410
410
  }, e.prototype.toggleScrollDividerFooter = function() {
411
411
  this.adapter.isScrollableContentAtBottom() ? this.adapter.hasClass(r.SCROLL_DIVIDER_FOOTER) && this.adapter.removeClass(r.SCROLL_DIVIDER_FOOTER) : this.adapter.addClass(r.SCROLL_DIVIDER_FOOTER);
412
412
  }, e;
413
- }(vt)
413
+ }(yt)
414
414
  );
415
415
  /**
416
416
  * @license
@@ -434,7 +434,7 @@ var rt = (
434
434
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
435
435
  * THE SOFTWARE.
436
436
  */
437
- var u = rt.strings, Ht = (
437
+ var u = rt.strings, Pt = (
438
438
  /** @class */
439
439
  function(i) {
440
440
  at(e, i);
@@ -478,30 +478,30 @@ var u = rt.strings, Ht = (
478
478
  return new e(t);
479
479
  }, e.prototype.initialize = function(t) {
480
480
  var n, o;
481
- t === void 0 && (t = function(h, E) {
482
- return new kt(h, E);
481
+ t === void 0 && (t = function(g, p) {
482
+ return new Ht(g, p);
483
483
  });
484
484
  var a = this.root.querySelector(u.CONTAINER_SELECTOR);
485
485
  if (!a)
486
486
  throw new Error("Dialog component requires a " + u.CONTAINER_SELECTOR + " container element");
487
487
  this.container = a, this.content = this.root.querySelector(u.CONTENT_SELECTOR), this.buttons = [].slice.call(this.root.querySelectorAll(u.BUTTON_SELECTOR)), this.defaultButton = this.root.querySelector("[" + u.BUTTON_DEFAULT_ATTRIBUTE + "]"), this.focusTrapFactory = t, this.buttonRipples = [];
488
488
  try {
489
- for (var f = St(this.buttons), p = f.next(); !p.done; p = f.next()) {
490
- var S = p.value;
491
- this.buttonRipples.push(new Ot(S));
489
+ for (var f = vt(this.buttons), h = f.next(); !h.done; h = f.next()) {
490
+ var S = h.value;
491
+ this.buttonRipples.push(new Tt(S));
492
492
  }
493
- } catch (h) {
494
- n = { error: h };
493
+ } catch (g) {
494
+ n = { error: g };
495
495
  } finally {
496
496
  try {
497
- p && !p.done && (o = f.return) && o.call(f);
497
+ h && !h.done && (o = f.return) && o.call(f);
498
498
  } finally {
499
499
  if (n) throw n.error;
500
500
  }
501
501
  }
502
502
  }, e.prototype.initialSyncWithDOM = function() {
503
503
  var t = this;
504
- this.focusTrap = Ft(this.container, this.focusTrapFactory, this.getInitialFocusEl() || void 0), this.handleClick = this.foundation.handleClick.bind(this.foundation), this.handleKeydown = this.foundation.handleKeydown.bind(this.foundation), this.handleDocumentKeydown = this.foundation.handleDocumentKeydown.bind(this.foundation), this.handleOpening = function() {
504
+ this.focusTrap = Rt(this.container, this.focusTrapFactory, this.getInitialFocusEl() || void 0), this.handleClick = this.foundation.handleClick.bind(this.foundation), this.handleKeydown = this.foundation.handleKeydown.bind(this.foundation), this.handleDocumentKeydown = this.foundation.handleDocumentKeydown.bind(this.foundation), this.handleOpening = function() {
505
505
  document.addEventListener("keydown", t.handleDocumentKeydown);
506
506
  }, this.handleClosing = function() {
507
507
  document.removeEventListener("keydown", t.handleDocumentKeydown);
@@ -525,18 +525,18 @@ var u = rt.strings, Ht = (
525
525
  return t.root.classList.add(o);
526
526
  },
527
527
  areButtonsStacked: function() {
528
- return Mt(t.buttons);
528
+ return kt(t.buttons);
529
529
  },
530
530
  clickDefaultButton: function() {
531
531
  t.defaultButton && t.defaultButton.click();
532
532
  },
533
533
  eventTargetMatches: function(o, a) {
534
- return o ? At(o, a) : !1;
534
+ return o ? bt(o, a) : !1;
535
535
  },
536
536
  getActionFromEvent: function(o) {
537
537
  if (!o.target)
538
538
  return "";
539
- var a = Tt(o.target, "[" + u.ACTION_ATTRIBUTE + "]");
539
+ var a = At(o.target, "[" + u.ACTION_ATTRIBUTE + "]");
540
540
  return a && a.getAttribute(u.ACTION_ATTRIBUTE);
541
541
  },
542
542
  getInitialFocusEl: function() {
@@ -546,7 +546,7 @@ var u = rt.strings, Ht = (
546
546
  return t.root.classList.contains(o);
547
547
  },
548
548
  isContentScrollable: function() {
549
- return Rt(t.content);
549
+ return Bt(t.content);
550
550
  },
551
551
  notifyClosed: function(o) {
552
552
  return t.emit(u.CLOSED_EVENT, o ? { action: o } : {});
@@ -584,10 +584,10 @@ var u = rt.strings, Ht = (
584
584
  t.content instanceof HTMLElement && t.content.removeEventListener(o, a);
585
585
  },
586
586
  isScrollableContentAtTop: function() {
587
- return Bt(t.content);
587
+ return wt(t.content);
588
588
  },
589
589
  isScrollableContentAtBottom: function() {
590
- return wt(t.content);
590
+ return Mt(t.content);
591
591
  },
592
592
  registerWindowEventHandler: function(o, a) {
593
593
  window.addEventListener(o, a);
@@ -600,9 +600,9 @@ var u = rt.strings, Ht = (
600
600
  }, e.prototype.getInitialFocusEl = function() {
601
601
  return this.root.querySelector("[" + u.INITIAL_FOCUS_ATTRIBUTE + "]");
602
602
  }, e;
603
- }(yt)
603
+ }(Ot)
604
604
  );
605
- const Pt = {
605
+ const Ut = {
606
606
  /**
607
607
  * An action button that will not automatically trigger a dismiss or accept. It is meant to be used only in certain circumstances where more control of the modal is required such as validating forms. If primaryButton is sent with actionButton, actionButton will be ignored.
608
608
  *
@@ -765,7 +765,7 @@ const Pt = {
765
765
  * Defaults to **null**.
766
766
  */
767
767
  title: s.string
768
- }, Ut = {
768
+ }, xt = {
769
769
  actionButton: null,
770
770
  backButton: null,
771
771
  badge: void 0,
@@ -796,17 +796,17 @@ const Pt = {
796
796
  badge: o,
797
797
  backButton: a,
798
798
  children: f,
799
- className: p,
799
+ className: h,
800
800
  content: S,
801
- defaultButton: h,
802
- dismissiveButton: E,
801
+ defaultButton: g,
802
+ dismissiveButton: p,
803
803
  footerSupplemental: y,
804
804
  headerActions: J,
805
805
  hideCloseIcon: H,
806
806
  indicator: st,
807
807
  initialFocus: O,
808
808
  mobileStackedButtons: P,
809
- modalSize: g,
809
+ modalSize: _,
810
810
  nextButton: T,
811
811
  noActions: A,
812
812
  onClose: U,
@@ -824,38 +824,38 @@ const Pt = {
824
824
  } = i, N = et(), l = et();
825
825
  _t(e, () => N.current, []);
826
826
  const [W, ct] = nt(), [V, dt] = nt(() => T || a);
827
- _(() => {
827
+ E(() => {
828
828
  dt(T || a);
829
829
  }, [T, a]);
830
830
  const L = j(() => {
831
831
  ct(window.innerWidth <= 600);
832
832
  }, []);
833
- _(() => (L(), window.addEventListener("resize", L), () => {
833
+ E(() => (L(), window.addEventListener("resize", L), () => {
834
834
  window.removeEventListener("resize", L);
835
- }), [L]), _(() => (l.current = Ht.attachTo(N.current), () => {
835
+ }), [L]), E(() => (l.current = Pt.attachTo(N.current), () => {
836
836
  l.current.destroy();
837
- }), [l, N]), _(() => {
837
+ }), [l, N]), E(() => {
838
838
  l.current.foundation.setAutoStackButtons(P);
839
- }, [P]), _(() => {
839
+ }, [P]), E(() => {
840
840
  A && (l.current.foundation.adapter.trapFocus = () => {
841
841
  });
842
- }, [A]), _(() => {
842
+ }, [A]), E(() => {
843
843
  l.current.scrimClickAction = G ? "" : "close", l.current.escapeKeyAction = G ? "" : "close";
844
844
  }, [G]);
845
845
  const F = j((m) => {
846
846
  U && U(m);
847
847
  }, [U]), R = j((m) => {
848
- K && Et(K), x && x(m);
848
+ K && Ct(K), x && x(m);
849
849
  }, [K, x]);
850
- _(() => (l.current.unlisten("MDCDialog: opening", D), l.current.listen("MDCDialog: opening", D), () => {
850
+ E(() => (l.current.unlisten("MDCDialog: opening", D), l.current.listen("MDCDialog: opening", D), () => {
851
851
  l.current.unlisten("MDCDialog: opening", D);
852
- }), [l, D]), _(() => (l.current.unlisten("MDCDialog:opened", I), l.current.listen("MDCDialog:opened", I), () => {
852
+ }), [l, D]), E(() => (l.current.unlisten("MDCDialog:opened", I), l.current.listen("MDCDialog:opened", I), () => {
853
853
  l.current.unlisten("MDCDialog:opened", I);
854
- }), [l, I]), _(() => (l.current.unlisten("MDCDialog:closing", F), l.current.listen("MDCDialog:closing", F), () => {
854
+ }), [l, I]), E(() => (l.current.unlisten("MDCDialog:closing", F), l.current.listen("MDCDialog:closing", F), () => {
855
855
  l.current.unlisten("MDCDialog:closing", F);
856
- }), [l, F]), _(() => (l.current.unlisten("MDCDialog:closed", R), l.current.listen("MDCDialog:closed", R), () => {
856
+ }), [l, F]), E(() => (l.current.unlisten("MDCDialog:closed", R), l.current.listen("MDCDialog:closed", R), () => {
857
857
  l.current.unlisten("MDCDialog:closed", R);
858
- }), [l, R]), _(() => {
858
+ }), [l, R]), E(() => {
859
859
  Q ? l.current.open() : l.current.close();
860
860
  }, [l, Q]);
861
861
  const ut = Y(() => () => {
@@ -864,27 +864,27 @@ const Pt = {
864
864
  elevation: t?.props.elevation !== "default" ? t?.props.elevation : "flat",
865
865
  variant: t?.props.variant || "filled"
866
866
  };
867
- return h === "action" && (m["data-mdc-dialog-button-default"] = !0), O === "action" && (m["data-mdc-dialog-initial-focus"] = !0), m;
868
- }, [t?.props.elevation, t?.props.variant, h, O]), mt = Y(() => () => {
867
+ return g === "action" && (m["data-mdc-dialog-button-default"] = !0), O === "action" && (m["data-mdc-dialog-initial-focus"] = !0), m;
868
+ }, [t?.props.elevation, t?.props.variant, g, O]), mt = Y(() => () => {
869
869
  const m = {
870
870
  className: "lmnt-modal__button mdc-dialog__button",
871
871
  "data-mdc-dialog-action": X ? "" : "accept",
872
872
  elevation: c?.props.elevation !== "default" ? c?.props.elevation : "flat",
873
873
  variant: c?.props.variant || "filled"
874
874
  };
875
- return h === "primary" && (m["data-mdc-dialog-button-default"] = !0), O === "primary" && (m["data-mdc-dialog-initial-focus"] = !0), m;
876
- }, [X, h, O, c?.props.elevation, c?.props.variant]);
875
+ return g === "primary" && (m["data-mdc-dialog-button-default"] = !0), O === "primary" && (m["data-mdc-dialog-initial-focus"] = !0), m;
876
+ }, [X, g, O, c?.props.elevation, c?.props.variant]);
877
877
  return /* @__PURE__ */ d.createElement("aside", ht({
878
878
  ref: N,
879
- className: B("lmnt", "lmnt-modal", "mdc-dialog", Z && "lmnt-modal--scrollable mdc-dialog--scrollable", p),
879
+ className: B("lmnt", "lmnt-modal", "mdc-dialog", Z && "lmnt-modal--scrollable mdc-dialog--scrollable", h),
880
880
  role: "alertdialog"
881
881
  }, lt), /* @__PURE__ */ d.createElement("div", {
882
- className: B("lmnt-modal__container", "mdc-dialog__container", g === "fullscreen" && "mdc-dialog--fullscreen", g === "max" && "lmnt-modal__max", g === "xlarge" && "lmnt-modal__xl", g === "large" && "lmnt-modal__lg", g === "medium" && "lmnt-modal__md", g === "small" && "lmnt-modal__sm", (g === "mobile" || W) && "lmnt-modal__mobile", g === "dialog" && "lmnt-modal__dialog", A && "lmnt-modal-no-actions")
882
+ className: B("lmnt-modal__container", "mdc-dialog__container", _ === "fullscreen" && "mdc-dialog--fullscreen", _ === "max" && "lmnt-modal__max", _ === "xlarge" && "lmnt-modal__xl", _ === "large" && "lmnt-modal__lg", _ === "medium" && "lmnt-modal__md", _ === "small" && "lmnt-modal__sm", (_ === "mobile" || W) && "lmnt-modal__mobile", _ === "dialog" && "lmnt-modal__dialog", A && "lmnt-modal-no-actions")
883
883
  }, /* @__PURE__ */ d.createElement("div", {
884
884
  className: "lmnt-modal__surface mdc-dialog__surface"
885
885
  }, /* @__PURE__ */ d.createElement("header", {
886
- className: B("lmnt-modal__title", "mdc-dialog__title", (g === "dialog" || H) && "lmnt-modal_title-hide-close-icon", n && "lmnt-modal_title-actionsIcons", Z && "lmnt-modal__title-scrollable", (H || g === "dialog" || A) && "lmnt-modal--no-close-icon")
887
- }, !H && g !== "dialog" && !A && /* @__PURE__ */ d.createElement(it, {
886
+ className: B("lmnt-modal__title", "mdc-dialog__title", (_ === "dialog" || H) && "lmnt-modal_title-hide-close-icon", n && "lmnt-modal_title-actionsIcons", Z && "lmnt-modal__title-scrollable", (H || _ === "dialog" || A) && "lmnt-modal--no-close-icon")
887
+ }, !H && _ !== "dialog" && !A && /* @__PURE__ */ d.createElement(it, {
888
888
  className: "mdc-icon-button material-icons mdc-dialog__close",
889
889
  "data-mdc-dialog-action": "close",
890
890
  icon: "clear"
@@ -897,22 +897,22 @@ const Pt = {
897
897
  }
898
898
  }, o)), (S || f) && /* @__PURE__ */ d.createElement("section", {
899
899
  className: "lmnt-modal__content mdc-dialog__content"
900
- }, S || f), st, (t || a || E || T || c || y) && /* @__PURE__ */ d.createElement("footer", {
900
+ }, S || f), st, (t || a || p || T || c || y) && /* @__PURE__ */ d.createElement("footer", {
901
901
  className: B("lmnt-modal__actions", "mdc-dialog__actions", W && "lmnt-dialog__actions__mobile", y && "lmnt-modal__actions--supplemental-btn", W && P && "lmnt-modal_actions-mobile-stacked")
902
902
  }, !V && y && /* @__PURE__ */ d.createElement("div", {
903
903
  className: "lmnt-dialog__actions__supplemental"
904
904
  }, b(y, () => {
905
905
  const m = {};
906
- return h === "footerSupplemental" && (m["data-mdc-dialog-button-default"] = !0), O === "footerSupplemental" && (m["data-mdc-dialog-initial-focus"] = !0), m;
907
- })), !V && (t || E || c) && /* @__PURE__ */ d.createElement("div", {
906
+ return g === "footerSupplemental" && (m["data-mdc-dialog-button-default"] = !0), O === "footerSupplemental" && (m["data-mdc-dialog-initial-focus"] = !0), m;
907
+ })), !V && (t || p || c) && /* @__PURE__ */ d.createElement("div", {
908
908
  className: "lmnt-dialog__actions__right-align lmnt-modal_actions_button"
909
- }, E && b(E, {
909
+ }, p && b(p, {
910
910
  variant: "text",
911
911
  className: "lmnt-modal__button mdc-dialog__button",
912
912
  "data-mdc-dialog-action": "close"
913
913
  }), t && !c && b(t, ut), c && b(c, mt)), V && /* @__PURE__ */ d.createElement("div", {
914
914
  className: "lmnt-modal_actions_button lmnt-dialog__actions__directional"
915
- }, /* @__PURE__ */ d.createElement("div", null, Ct(a, "lmnt-modal__button")), /* @__PURE__ */ d.createElement("div", null, b(T, {
915
+ }, /* @__PURE__ */ d.createElement("div", null, St(a, "lmnt-modal__button")), /* @__PURE__ */ d.createElement("div", null, b(T, {
916
916
  className: "lmnt-modal__button",
917
917
  "data-mdc-dialog-initial-focus": !0
918
918
  })))))), /* @__PURE__ */ d.createElement("div", {
@@ -920,14 +920,14 @@ const Pt = {
920
920
  }));
921
921
  });
922
922
  k.displayName = "Modal";
923
- k.propTypes = Pt;
924
- k.defaultProps = Ut;
925
- const xt = "_modal_fr8bw_1", Gt = "_title_fr8bw_6", Kt = "_titleWithoutCloseIcon_fr8bw_18", Wt = "_closeButton_fr8bw_22", w = {
926
- modal: xt,
927
- title: Gt,
928
- titleWithoutCloseIcon: Kt,
929
- closeButton: Wt
930
- }, ie = ({
923
+ k.propTypes = Ut;
924
+ k.defaultProps = xt;
925
+ const Gt = "_modal_fr8bw_1", Kt = "_title_fr8bw_6", Wt = "_titleWithoutCloseIcon_fr8bw_18", Vt = "_closeButton_fr8bw_22", w = {
926
+ modal: Gt,
927
+ title: Kt,
928
+ titleWithoutCloseIcon: Wt,
929
+ closeButton: Vt
930
+ }, ae = ({
931
931
  onClose: i,
932
932
  title: e,
933
933
  headerActions: t,
@@ -935,23 +935,34 @@ const xt = "_modal_fr8bw_1", Gt = "_title_fr8bw_6", Kt = "_titleWithoutCloseIcon
935
935
  leadingIcon: o,
936
936
  isOnline: a = !0,
937
937
  offlineViewProps: f,
938
- children: p,
938
+ children: h,
939
939
  ...S
940
940
  }) => {
941
- const h = Y(() => {
942
- const E = /* @__PURE__ */ ft(z, { primaryAlign: "center", secondaryAlign: "center", children: [
943
- !n && /* @__PURE__ */ C(it, { icon: "close", onClick: () => i?.(), type: "button", className: w.closeButton }),
944
- o ? /* @__PURE__ */ C(Dt, { customPadding: "0.25rem 0 0 0.75rem", children: /* @__PURE__ */ C(Nt, { icon: o }) }) : /* @__PURE__ */ C(pt, {}),
945
- /* @__PURE__ */ C(
946
- It,
947
- {
948
- level: 6,
949
- className: n && !o ? w.titleWithoutCloseIcon : "",
950
- children: e
951
- }
952
- )
953
- ] }, "base-group");
954
- return t ? Array.isArray(t) ? [E, /* @__PURE__ */ C(z, { children: t }, "action-group")] : [E, t] : E;
941
+ const g = Y(() => {
942
+ const p = {
943
+ id: "base",
944
+ action: /* @__PURE__ */ ft(z, { primaryAlign: "center", secondaryAlign: "center", children: [
945
+ !n && /* @__PURE__ */ C(
946
+ it,
947
+ {
948
+ icon: "close",
949
+ onClick: () => i?.(),
950
+ type: "button",
951
+ className: w.closeButton
952
+ }
953
+ ),
954
+ o ? /* @__PURE__ */ C(It, { customPadding: "0.25rem 0 0 0.75rem", children: /* @__PURE__ */ C(Lt, { icon: o }) }) : /* @__PURE__ */ C(pt, {}),
955
+ /* @__PURE__ */ C(
956
+ Nt,
957
+ {
958
+ level: 6,
959
+ className: n && !o ? w.titleWithoutCloseIcon : "",
960
+ children: e
961
+ }
962
+ )
963
+ ] }, "base-group")
964
+ };
965
+ return t ? Array.isArray(t) ? [p, { id: "action-group", action: /* @__PURE__ */ C(z, { children: t }, "action-group") }] : [p, { id: "action", action: t }] : [p];
955
966
  }, [t, n, o, i, e]);
956
967
  return /* @__PURE__ */ C(
957
968
  k,
@@ -960,12 +971,12 @@ const xt = "_modal_fr8bw_1", Gt = "_title_fr8bw_6", Kt = "_titleWithoutCloseIcon
960
971
  "data-testid": "modal",
961
972
  className: `${w.modal} ${w.title} ${S.className ?? ""}`,
962
973
  hideCloseIcon: !0,
963
- headerActions: /* @__PURE__ */ C(z, { primaryAlign: "space-between", secondaryAlign: "center", children: h }, "header-group"),
974
+ headerActions: /* @__PURE__ */ C(z, { primaryAlign: "space-between", secondaryAlign: "center", children: g.map((p) => /* @__PURE__ */ C(Et, { children: p.action }, p.id)) }, "header-group"),
964
975
  preventClose: !0,
965
- children: a ? p : /* @__PURE__ */ C(Lt, { ...f })
976
+ children: a ? h : /* @__PURE__ */ C(Ft, { ...f })
966
977
  }
967
978
  );
968
979
  };
969
980
  export {
970
- ie as Modal
981
+ ae as Modal
971
982
  };
@@ -1,17 +1,18 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { P as r } from "../../index.es-D-CKRzIB.js";
3
- import "../../isEmpty-B4GG2s-V.js";
2
+ import { P as r } from "../../index.es-D-ph6ImM.js";
3
+ import "../../isEmpty-DsdC9UUD.js";
4
4
  import "react";
5
- import { u as d } from "../../useBreakpoints-MzTZ0tCT.js";
5
+ import { u as m } from "../../useBreakpoints-MzTZ0tCT.js";
6
6
  import "../../react-tooltip.min-DSY6KDqS.js";
7
- import "../../orderBy-Bd48bw88.js";
7
+ import "../../orderBy-CyjsW2ET.js";
8
8
  import "../../uniqueId-NU3-C36A.js";
9
9
  import "react-hook-form";
10
- import "../../get-DFv1gXfq.js";
10
+ import "../../get-B8c-T4F8.js";
11
+ import "../../omit-1Eom1PmQ.js";
11
12
  import "../../isArray-Dub1wGJM.js";
12
13
  import "../../isString-BW9UHONv.js";
13
- const k = ({ children: o }) => {
14
- const { isDesktop: t } = d();
14
+ const x = ({ children: o }) => {
15
+ const { isDesktop: t } = m();
15
16
  return /* @__PURE__ */ i(
16
17
  r,
17
18
  {
@@ -23,5 +24,5 @@ const k = ({ children: o }) => {
23
24
  );
24
25
  };
25
26
  export {
26
- k as ModulePadding
27
+ x as ModulePadding
27
28
  };
@@ -1,9 +1,9 @@
1
1
  import "react/jsx-runtime";
2
- import "../../index.es-DntoATwO.js";
2
+ import "../../index.es-CbBdaRO2.js";
3
3
  import "../Iconify/Iconify.js";
4
- import "../../index.es-D54RuMc_.js";
5
- import { O as f } from "../../OfflineView-BW19N4Cu.js";
6
- import "../../index.es-CiqbARoC.js";
4
+ import "../../index.es--yyG47az.js";
5
+ import { O as f } from "../../OfflineView-HbuDPpQL.js";
6
+ import "../../index.es-Bx1E5MPK.js";
7
7
  export {
8
8
  f as OfflineView
9
9
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { a as n, s as t, f as u } from "../../react.esm-CX1WJ2Pp.js";
3
- import { s as r, O as i } from "../../OfflineView-BW19N4Cu.js";
3
+ import { s as r, O as i } from "../../OfflineView-HbuDPpQL.js";
4
4
  import { d as B, t as l, g as e, a as c } from "../../vi.CjhMlMwf-CKxPQtd6.js";
5
5
  B("OfflineView", () => {
6
6
  l("should render OfflineView with title and subtitle", () => {
@@ -1,11 +1,11 @@
1
1
  import { jsx as o, jsxs as r } from "react/jsx-runtime";
2
- import { G as a } from "../../index.es-DntoATwO.js";
3
- import { I as m } from "../../index.es-0lQcz8m1.js";
4
- import { B as b } from "../../index.es-CiqbARoC.js";
5
- import { b as h, T as u } from "../../index.es-D54RuMc_.js";
6
- import { E as g } from "../../index.es-h2lMdt7G.js";
7
- import { G as f, a as v, b as i } from "../../index.es-Dvj_qpAp.js";
8
- import { I as y } from "../../index.es-3043KTnb.js";
2
+ import { G as a } from "../../index.es-CbBdaRO2.js";
3
+ import { I as m } from "../../index.es-Kg9soDed.js";
4
+ import { B as b } from "../../index.es-Bx1E5MPK.js";
5
+ import { b as h, T as u } from "../../index.es--yyG47az.js";
6
+ import { E as g } from "../../index.es-DF11ERDs.js";
7
+ import { G as f, a as v, b as i } from "../../index.es-DOX4XTz_.js";
8
+ import { I as y } from "../../index.es-DErA6zWG.js";
9
9
  import { u as C } from "../../useBreakpoints-MzTZ0tCT.js";
10
10
  import '../../assets/OnboardingBanner.css';const G = "_elevation_5dfyt_1", k = {
11
11
  elevation: G
@@ -1,5 +1,5 @@
1
1
  import { jsxs as c, Fragment as m, jsx as s } from "react/jsx-runtime";
2
- import { T as p } from "../../index.es-D54RuMc_.js";
2
+ import { T as p } from "../../index.es--yyG47az.js";
3
3
  import { useState as d, useMemo as h, cloneElement as f } from "react";
4
4
  import { M as w } from "../../react-tooltip.min-DSY6KDqS.js";
5
5
  import { hasChildWithGreaterWidth as W } from "./OverflowTooltipService.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { b as n } from "../../index.es-D54RuMc_.js";
2
+ import { b as n } from "../../index.es--yyG47az.js";
3
3
  import { a as i, s as e, w as s } from "../../react.esm-CX1WJ2Pp.js";
4
4
  import { u as a } from "../../index-I7uTh4Tr.js";
5
5
  import { OverflowTooltip as c } from "./OverflowTooltip.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { I as i } from "../../index.es-0lQcz8m1.js";
3
- import { T as l } from "../../index.es-25EARqhH.js";
2
+ import { I as i } from "../../index.es-Kg9soDed.js";
3
+ import { T as l } from "../../index.es-CUuzYysw.js";
4
4
  import '../../assets/SearchBar.css';const u = "_searchbar_gnvwc_1", b = {
5
5
  searchbar: u
6
6
  }, p = ({
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { S as f } from "../../index.es-BNHI3ZIK.js";
2
+ import { S as f } from "../../index.es-CzUKBF7E.js";
3
3
  import { useEffect as n } from "react";
4
4
  import { u as S } from "../../uniqueId-NU3-C36A.js";
5
5
  import '../../assets/Select.css';const p = "_customPortal_8wq49_1", $ = "_customSelect_8wq49_7", r = {
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
- import { G as o } from "../../index.es-DntoATwO.js";
2
+ import { G as o } from "../../index.es-CbBdaRO2.js";
3
3
  import { useMemo as m } from "react";
4
4
  import { StepperPreviousButton as c, StepperNextButton as u } from "./components/StepperButton.js";
5
5
  import { StepperHeader as f } from "./components/StepperHeader.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { B as s } from "../../../index.es-CiqbARoC.js";
2
+ import { B as s } from "../../../index.es-Bx1E5MPK.js";
3
3
  import { useMemo as c } from "react";
4
4
  import { s as i } from "../../../stepper.module-HuqmDJPj.js";
5
5
  const $ = ({
@@ -1,6 +1,6 @@
1
1
  import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
- import { G as o } from "../../../index.es-DntoATwO.js";
3
- import { T as p } from "../../../index.es-D54RuMc_.js";
2
+ import { G as o } from "../../../index.es-CbBdaRO2.js";
3
+ import { T as p } from "../../../index.es--yyG47az.js";
4
4
  import { s as i } from "../../../stepper.module-HuqmDJPj.js";
5
5
  import { StepperIndicator as s } from "./StepperIndicator.js";
6
6
  const f = ({ steps: e, currentStep: r }) => /* @__PURE__ */ a(
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { G as p } from "../../../index.es-DntoATwO.js";
2
+ import { G as p } from "../../../index.es-CbBdaRO2.js";
3
3
  import { s as e } from "../../../stepper.module-HuqmDJPj.js";
4
4
  const m = ({ steps: a, currentStep: i }) => /* @__PURE__ */ r(p, { gap: "dense", "data-testid": "stepper-indicator", children: a.map((t, o) => /* @__PURE__ */ r(
5
5
  "div",
@@ -1,5 +1,5 @@
1
1
  import { g as r } from "./_commonjsHelpers-BkfeUUK-.js";
2
- import { r as t } from "./get-7ACccM2X.js";
2
+ import { r as t } from "./get-C7KpEkVs.js";
3
3
  var o = t();
4
4
  const a = /* @__PURE__ */ r(o);
5
5
  export {
@@ -1,6 +1,6 @@
1
1
  import { r as T } from "./isArray-DN9s620O.js";
2
2
  import { a as E, r as b } from "./toString-CrgB_7Pe.js";
3
- import { c as G } from "./_MapCache-B75yWNNd.js";
3
+ import { c as G } from "./_MapCache-B75dXJyg.js";
4
4
  var c, q;
5
5
  function I() {
6
6
  if (q) return c;
@@ -1,4 +1,4 @@
1
- import { g as l } from "../get-DFv1gXfq.js";
1
+ import { g as l } from "../get-B8c-T4F8.js";
2
2
  import { useMemo as u } from "react";
3
3
  import { useFormContext as p } from "react-hook-form";
4
4
  const v = ({
@@ -1,6 +1,6 @@
1
- import { c as k, _ as s, P as e } from "./identity-DLWZln-X.js";
1
+ import { c as k, _ as s, P as e } from "./_setToString-Do1lSQTZ.js";
2
2
  import i, { forwardRef as u, useRef as x, useImperativeHandle as b, useEffect as I } from "react";
3
- import { b as m, g as $ } from "./index.es-da0cf7oE.js";
3
+ import { b as m, g as $ } from "./index.es-DlzwTKbh.js";
4
4
  import { c as S } from "./tslib.es6-BDCynO9F.js";
5
5
  function _(c) {
6
6
  return c.toLowerCase();
@@ -1,5 +1,5 @@
1
1
  import { forwardRef as f, useRef as i, useImperativeHandle as s, useEffect as l } from "react";
2
- import { P as r } from "./identity-DLWZln-X.js";
2
+ import { P as r } from "./_setToString-Do1lSQTZ.js";
3
3
  import { M as R } from "./component-DsB0poTj.js";
4
4
  const a = {
5
5
  /**
@@ -1,6 +1,6 @@
1
- import { c as D, _ as I, P as r } from "./identity-DLWZln-X.js";
1
+ import { c as D, _ as I, P as r } from "./_setToString-Do1lSQTZ.js";
2
2
  import N, { forwardRef as P, useRef as T, useImperativeHandle as H } from "react";
3
- import { d as e } from "./index.es-da0cf7oE.js";
3
+ import { d as e } from "./index.es-DlzwTKbh.js";
4
4
  const _ = {
5
5
  /**
6
6
  * The css class name to be passed through to the component markup.