@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 +1 @@
1
- ._fullWidth_zewqs_1{width:100%}._mainElevation_zewqs_5{background:var(--lmnt-theme-background);border-radius:.5rem;width:100%}._searchbar_zewqs_11 div{border:none}._searchbar_zewqs_11 button{margin-right:.5rem}._roundedBottom_zewqs_19{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}._primaryText_zewqs_24 [class*=mdc-list-item__primary-text]{display:none!important}._list_zewqs_28{padding-top:0;padding-bottom:0;overflow-y:auto}._list_zewqs_28 [class*=mdc-list-item__overline-text]{margin-bottom:-2.25rem}._list_zewqs_28::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 .25rem rgba(0,0,0,.2);border-radius:.5rem;margin-right:.25rem;background-color:var(--lmnt-theme-background)}._list_zewqs_28::-webkit-scrollbar{width:.5rem;background-color:var(--lmnt-theme-background)}._list_zewqs_28::-webkit-scrollbar-thumb{border-radius:.5rem;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:var(--lmnt-theme-primary-on-surface)}._listItem_zewqs_56{border-bottom:.0775rem solid var(--lmnt-utility-gray-surface)}._listItem_zewqs_56 i:not(._trailingIcon_zewqs_60){color:var(--lmnt-theme-on-surface-inactive)}._listItem_zewqs_56 i._trailingIcon_zewqs_60{color:var(--lmnt-theme-on-surface-disabled)}._listItem_zewqs_56 [class^=mdc-list-item__start]{margin:0 1rem!important;align-self:center!important}._groupedListItem_zewqs_72{height:4.5rem!important}._iconColor_zewqs_76{color:var(--lmnt-theme-on-surface-disabled)!important}._overlineTitle_zewqs_80 [class*=mdc-list-item__overline-text]{color:var(--lmnt-theme-on-surface-inactive)!important;line-height:1rem!important}._noOverlineTitle_zewqs_85 [class*=mdc-list-item__secondary-text] [class*=lmnt-group]{margin-top:-.875rem}._truncate_zewqs_89{display:-webkit-box!important;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-width:100%;word-break:break-all}._truncateOverlineText_zewqs_100{margin-bottom:-1rem!important;margin-top:-1rem!important}
1
+ ._fullWidth_v1ae9_1{width:100%}._mainElevation_v1ae9_5{background:var(--lmnt-theme-background);border-radius:.5rem;width:100%}._searchbar_v1ae9_11 div{border:none}._searchbar_v1ae9_11 button{margin-right:.5rem}._roundedBottom_v1ae9_19{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}._primaryText_v1ae9_24 [class*=mdc-list-item__primary-text]{display:none!important}._list_v1ae9_28{padding-top:0;padding-bottom:0;overflow-y:auto}._list_v1ae9_28 [class*=mdc-list-item__overline-text]{margin-bottom:-2.25rem}._list_v1ae9_28::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 .25rem rgba(0,0,0,.2);border-radius:.5rem;margin-right:.25rem;background-color:var(--lmnt-theme-background)}._list_v1ae9_28::-webkit-scrollbar{width:.5rem;background-color:var(--lmnt-theme-background)}._list_v1ae9_28::-webkit-scrollbar-thumb{border-radius:.5rem;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:var(--lmnt-theme-primary-on-surface)}._listItem_v1ae9_56{border-bottom:.0775rem solid var(--lmnt-utility-gray-surface)}._listItem_v1ae9_56 i:not(._trailingIcon_v1ae9_60){color:var(--lmnt-theme-on-surface-inactive)}._listItem_v1ae9_56 i._trailingIcon_v1ae9_60{color:var(--lmnt-theme-on-surface-disabled)}._listItem_v1ae9_56 [class^=mdc-list-item__start]{margin:0 1rem!important;align-self:center!important}._groupedListItem_v1ae9_72{height:4.5rem!important}._noGroupHeaderMargin_v1ae9_76 h3{margin:0}._indentGroupedElement_v1ae9_80{padding-left:2.5rem!important}._isNotSelected_v1ae9_84 [class*=mdc-list-item__ripple]:before{opacity:inherit!important;background-color:inherit!important}._isSelected_v1ae9_89 [class*=mdc-list-item__ripple]:before{opacity:.2!important;background-color:var(--lmnt-theme-primary)!important}._iconColor_v1ae9_94{color:var(--lmnt-theme-on-surface-disabled)!important}._overlineTitle_v1ae9_98 [class*=mdc-list-item__overline-text]{color:var(--lmnt-theme-on-surface-inactive)!important;line-height:1rem!important}._noOverlineTitle_v1ae9_103 [class*=mdc-list-item__secondary-text] [class*=lmnt-group]{margin-top:-.875rem}._truncate_v1ae9_107{display:-webkit-box!important;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-width:100%;word-break:break-all}._truncateOverlineText_v1ae9_118{margin-bottom:-1rem!important;margin-top:-1rem!important}
@@ -1,8 +1,8 @@
1
1
  import "react/jsx-runtime";
2
- import "../../index.es-DntoATwO.js";
3
- import "../../index.es-3043KTnb.js";
4
- import "../../index.es-D54RuMc_.js";
5
- import { A as e } from "../../AlertBanner-75jjene1.js";
2
+ import "../../index.es-CbBdaRO2.js";
3
+ import "../../index.es-DErA6zWG.js";
4
+ import "../../index.es--yyG47az.js";
5
+ import { A as e } from "../../AlertBanner-JnX0tJGC.js";
6
6
  export {
7
7
  e as AlertBanner
8
8
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, Fragment as m } from "react/jsx-runtime";
2
2
  import { a as t, s } from "../../react.esm-CX1WJ2Pp.js";
3
3
  import { a as o } from "../../useBreakpoints-MzTZ0tCT.js";
4
- import { A as n } from "../../AlertBanner-75jjene1.js";
4
+ import { A as n } from "../../AlertBanner-JnX0tJGC.js";
5
5
  import { d as p, b as c, a as l, t as r, g as a } from "../../vi.CjhMlMwf-CKxPQtd6.js";
6
6
  p("AlertBanner Test", () => {
7
7
  c(() => {
@@ -1,8 +1,8 @@
1
1
  import { jsx as r, jsxs as a } from "react/jsx-runtime";
2
- import { G as l } from "../../index.es-DntoATwO.js";
3
- import { T as s } from "../../index.es-D54RuMc_.js";
2
+ import { G as l } from "../../index.es-CbBdaRO2.js";
3
+ import { T as s } from "../../index.es--yyG47az.js";
4
4
  import { Iconify as p } from "../Iconify/Iconify.js";
5
- import { A as m, s as c } from "../../AlertBanner-75jjene1.js";
5
+ import { A as m, s as c } from "../../AlertBanner-JnX0tJGC.js";
6
6
  const g = ({
7
7
  text: n,
8
8
  color: o = "info",
@@ -7,6 +7,10 @@ type BaseViewProps = {
7
7
  * elements to be displayed in the list area
8
8
  */
9
9
  elements: BaseListElement[];
10
+ /**
11
+ * isGrouped is true if the list should be grouped, @default false
12
+ */
13
+ isGrouped?: boolean;
10
14
  /**
11
15
  * text to be displayed when the list is empty
12
16
  */
@@ -71,5 +75,5 @@ type BaseViewProps = {
71
75
  /**
72
76
  * `BaseView` is a layout component that displays a main (a list) and a detail section.
73
77
  */
74
- export declare const BaseView: ({ heading, action, hint, elements, emptyText, hasSearch, isSorted, className, withAvatar, listMaxHeight, pathname, isOnline, offlineViewProps, routerLinkElement, searchPlaceholder, }: BaseViewProps) => import("react/jsx-runtime").JSX.Element;
78
+ export declare const BaseView: ({ heading, action, hint, elements, emptyText, hasSearch, isSorted, className, withAvatar, listMaxHeight, pathname, isOnline, offlineViewProps, routerLinkElement, searchPlaceholder, isGrouped }: BaseViewProps) => import("react/jsx-runtime").JSX.Element;
75
79
  export {};
@@ -1,63 +1,65 @@
1
1
  import { jsx as i, Fragment as d, jsxs as s } from "react/jsx-runtime";
2
- import { G as r } from "../../index.es-DntoATwO.js";
2
+ import { G as r } from "../../index.es-CbBdaRO2.js";
3
3
  import { useMemo as a } from "react";
4
4
  import { BasicHeading as h } from "../BasicHeading/BasicHeading.js";
5
- import { EmptyView as G } from "../EmptyView/EmptyView.js";
6
- import { ListArea as N } from "../ListArea/ListArea.js";
7
- import { u as A } from "../../useBreakpoints-MzTZ0tCT.js";
5
+ import { EmptyView as N } from "../EmptyView/EmptyView.js";
6
+ import { ListArea as A } from "../ListArea/ListArea.js";
7
+ import { u as H } from "../../useBreakpoints-MzTZ0tCT.js";
8
8
  import { VerticalDivider as V } from "../VerticalDivider/VerticalDivider.js";
9
- import { O as j } from "../../OfflineView-BW19N4Cu.js";
10
- import '../../assets/BaseView.css';const E = "_parentGroup_w7vsz_1", H = "_divider_w7vsz_5", I = "_maxWidth_w7vsz_10", $ = "_desktopList_w7vsz_14", y = "_mobileList_w7vsz_19", F = "_desktopDetail_w7vsz_23", M = "_mobileDetail_w7vsz_28", o = {
9
+ import { O as j } from "../../OfflineView-HbuDPpQL.js";
10
+ import '../../assets/BaseView.css';const E = "_parentGroup_w7vsz_1", I = "_divider_w7vsz_5", $ = "_maxWidth_w7vsz_10", y = "_desktopList_w7vsz_14", F = "_mobileList_w7vsz_19", M = "_desktopDetail_w7vsz_23", O = "_mobileDetail_w7vsz_28", o = {
11
11
  parentGroup: E,
12
- divider: H,
13
- maxWidth: I,
14
- desktopList: $,
15
- mobileList: y,
16
- desktopDetail: F,
17
- mobileDetail: M
18
- }, U = ({
12
+ divider: I,
13
+ maxWidth: $,
14
+ desktopList: y,
15
+ mobileList: F,
16
+ desktopDetail: M,
17
+ mobileDetail: O
18
+ }, X = ({
19
19
  heading: c,
20
20
  action: m = /* @__PURE__ */ i(d, {}),
21
21
  hint: _ = /* @__PURE__ */ i(d, {}),
22
22
  elements: n,
23
- emptyText: p,
23
+ emptyText: u,
24
24
  hasSearch: f = !0,
25
25
  isSorted: b = !0,
26
- className: w,
27
- withAvatar: D = !1,
28
- listMaxHeight: g = "calc(100vh - 200px)",
26
+ className: g,
27
+ withAvatar: w = !1,
28
+ listMaxHeight: D = "calc(100vh - 200px)",
29
29
  pathname: l,
30
- isOnline: u = !0,
30
+ isOnline: p = !0,
31
31
  offlineViewProps: v,
32
32
  routerLinkElement: k,
33
- searchPlaceholder: L
33
+ searchPlaceholder: L,
34
+ isGrouped: x = !1
34
35
  }) => {
35
- const { isDesktopNavbar: e } = A(), t = a(() => n.find((B) => B.route === l), [l, n]), x = a(() => u ? t?.component ?? (e ? /* @__PURE__ */ i(G, { subtitle: p }) : /* @__PURE__ */ i(d, {})) : /* @__PURE__ */ i(j, { ...v, fullWidth: !0 }), [t?.component, p, e, u, v]), W = a(() => e ? !0 : !t, [t, e]), z = a(() => e ? !0 : t, [t, e]);
36
+ const { isDesktopNavbar: e } = H(), t = a(() => n.find((G) => G.route === l), [l, n]), W = a(() => p ? t?.component ?? (e ? /* @__PURE__ */ i(N, { subtitle: u }) : /* @__PURE__ */ i(d, {})) : /* @__PURE__ */ i(j, { ...v, fullWidth: !0 }), [t?.component, u, e, p, v]), z = a(() => e ? !0 : !t, [t, e]), B = a(() => e ? !0 : t, [t, e]);
36
37
  return /* @__PURE__ */ s(
37
38
  r,
38
39
  {
39
40
  "data-testid": "base-view-container",
40
- className: `${o.parentGroup} ${w ?? ""}`,
41
+ className: `${o.parentGroup} ${g ?? ""}`,
41
42
  gap: "none",
42
43
  fullWidth: !0,
43
44
  children: [
44
- W && /* @__PURE__ */ i(r, { gap: "none", className: e ? o.desktopList : o.mobileList, children: /* @__PURE__ */ s(r, { direction: "vertical", fullWidth: !0, gap: e ? "standard" : "dense", children: [
45
+ z && /* @__PURE__ */ i(r, { gap: "none", className: e ? o.desktopList : o.mobileList, children: /* @__PURE__ */ s(r, { direction: "vertical", fullWidth: !0, gap: e ? "standard" : "dense", children: [
45
46
  c && /* @__PURE__ */ i(h, { "data-testid": "heading", heading: c, level: 4, marginBottom: 0, children: m }),
46
47
  _,
47
48
  /* @__PURE__ */ i(
48
- N,
49
+ A,
49
50
  {
50
51
  elements: n,
51
52
  hasSearch: f,
52
- maxHeight: g,
53
+ maxHeight: D,
53
54
  isSorted: b,
54
55
  pathname: l,
55
56
  routerLinkElement: k,
56
- searchPlaceholder: L
57
+ searchPlaceholder: L,
58
+ isGrouped: x
57
59
  }
58
60
  )
59
61
  ] }) }),
60
- z && /* @__PURE__ */ s(
62
+ B && /* @__PURE__ */ s(
61
63
  r,
62
64
  {
63
65
  "data-testid": "details",
@@ -75,11 +77,12 @@ import '../../assets/BaseView.css';const E = "_parentGroup_w7vsz_1", H = "_divid
75
77
  icon: t?.hideIconInDetail === !0 ? void 0 : t?.icon,
76
78
  marginBottom: 0,
77
79
  invisibleButton: t?.detailAction === void 0,
78
- withAvatar: D,
80
+ withAvatar: w,
81
+ subHeading: t?.detailSubTitle,
79
82
  children: t?.detailAction ?? m
80
83
  }
81
84
  ),
82
- x
85
+ W
83
86
  ] })
84
87
  ]
85
88
  }
@@ -89,5 +92,5 @@ import '../../assets/BaseView.css';const E = "_parentGroup_w7vsz_1", H = "_divid
89
92
  );
90
93
  };
91
94
  export {
92
- U as BaseView
95
+ X as BaseView
93
96
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as i } from "react/jsx-runtime";
2
- import { I as u } from "../../index.es-3043KTnb.js";
3
- import { b as y, T as C } from "../../index.es-D54RuMc_.js";
2
+ import { I as u } from "../../index.es-DErA6zWG.js";
3
+ import { b as y, T as C } from "../../index.es--yyG47az.js";
4
4
  import { Iconify as w } from "../Iconify/Iconify.js";
5
5
  import { AvailableCustomIcons as j } from "../../enums/AvailableCustomIcons.js";
6
6
  import { u as I } from "../../useBreakpoints-MzTZ0tCT.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as o, Fragment as c } from "react/jsx-runtime";
2
- import { B as g } from "../../index.es-CiqbARoC.js";
2
+ import { B as g } from "../../index.es-Bx1E5MPK.js";
3
3
  import { a, s as n } from "../../react.esm-CX1WJ2Pp.js";
4
4
  import { BasicHeading as i } from "./BasicHeading.js";
5
5
  import { d as h, t as s, g as e } from "../../vi.CjhMlMwf-CKxPQtd6.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as v, jsx as t, Fragment as h } from "react/jsx-runtime";
2
- import { d as C, b as R, a as B } from "../../index.es-D54RuMc_.js";
2
+ import { d as C, b as R, a as B } from "../../index.es--yyG47az.js";
3
3
  import { useState as A, useEffect as D, useMemo as S } from "react";
4
4
  import { getBlockNumberByDto as F } from "../../services/BlockService.js";
5
5
  import '../../assets/BlockView.css';const M = "_grid_17o13_1", V = "_black_17o13_11", j = "_blockLayout_17o13_15", q = "_blockRow_17o13_26", G = "_block_17o13_15", H = "_active_17o13_45", I = "_error_17o13_51", J = "_empty_17o13_57", K = "_blockText_17o13_61", O = "_emptyLayout_17o13_70", o = {
@@ -1,13 +1,13 @@
1
1
  import { jsx as lt } from "react/jsx-runtime";
2
- import { o as Ut, e as jt, i as qt, C as $t } from "../../index.es-6TJ1S8Jr.js";
3
- import { _ as Kt, c as ut, P as l } from "../../identity-DLWZln-X.js";
2
+ import { o as Ut, e as jt, i as qt, C as $t } from "../../index.es-DDo_AHL0.js";
3
+ import { _ as Kt, c as ut, P as l } from "../../_setToString-Do1lSQTZ.js";
4
4
  import C, { useEffect as ft, useState as $, useMemo as ht, useCallback as I, useRef as Mt, forwardRef as Xt, useImperativeHandle as zt } from "react";
5
- import { u as Jt, f as Qt, h as Zt } from "../../index.es-da0cf7oE.js";
5
+ import { u as Jt, f as Qt, h as Zt } from "../../index.es-DlzwTKbh.js";
6
6
  import { e as te, c as A, b as U } from "../../tslib.es6-BDCynO9F.js";
7
7
  import { M as _t, a as Et } from "../../component-neHBNHRu.js";
8
8
  import { M as et, b as kt } from "../../component-DsB0poTj.js";
9
9
  import { n as ee, i as ie, K as L } from "../../keyboard-Bpt0aBqQ.js";
10
- import { I as Rt } from "../../index.es-3043KTnb.js";
10
+ import { I as Rt } from "../../index.es-DErA6zWG.js";
11
11
  import { g as ne } from "../../_commonjsHelpers-BkfeUUK-.js";
12
12
  import { b as oe } from "../../isArray-DN9s620O.js";
13
13
  import { OverflowTooltip as re } from "../OverflowTooltip/OverflowTooltip.js";
@@ -1,9 +1,9 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { I as _ } from "../../index.es-0lQcz8m1.js";
3
- import { M as k, L as p, a as w } from "../../index.es-fnFnw2P1.js";
2
+ import { I as _ } from "../../index.es-Kg9soDed.js";
3
+ import { M as k, L as p, a as w } from "../../index.es-CPqaUyn3.js";
4
4
  import { useState as I, useCallback as a, useEffect as M } from "react";
5
5
  import { u as x } from "../../uniqueId-NU3-C36A.js";
6
- import { O as C } from "../../OfflineView-BW19N4Cu.js";
6
+ import { O as C } from "../../OfflineView-HbuDPpQL.js";
7
7
  import '../../assets/ContextMenu.css';const v = "_menu_1xwk3_1", y = "_icon_1xwk3_5", V = "_listItem_1xwk3_9", g = "_offlineViewMargin_1xwk3_19", s = {
8
8
  menu: v,
9
9
  icon: y,
@@ -1,8 +1,8 @@
1
1
  import { jsx as o, jsxs as f, Fragment as c } from "react/jsx-runtime";
2
- import { B as p } from "../../index.es-CiqbARoC.js";
3
- import { G as i } from "../../index.es-DntoATwO.js";
4
- import { I } from "../../index.es-3043KTnb.js";
5
- import { T as l } from "../../index.es-D54RuMc_.js";
2
+ import { B as p } from "../../index.es-Bx1E5MPK.js";
3
+ import { G as i } from "../../index.es-CbBdaRO2.js";
4
+ import { I } from "../../index.es-DErA6zWG.js";
5
+ import { T as l } from "../../index.es--yyG47az.js";
6
6
  import { u as N } from "../../uniqueId-NU3-C36A.js";
7
7
  import { AvailableCustomIcons as S } from "../../enums/AvailableCustomIcons.js";
8
8
  import { u as x } from "../../useBreakpoints-MzTZ0tCT.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as e, jsx as r, Fragment as n } from "react/jsx-runtime";
2
- import { G as i } from "../../index.es-DntoATwO.js";
2
+ import { G as i } from "../../index.es-CbBdaRO2.js";
3
3
  import { BasicHeading as a } from "../BasicHeading/BasicHeading.js";
4
4
  import '../../assets/DetailContentWrapper.css';const m = "_formContainer_gf66t_1", s = {
5
5
  formContainer: m
@@ -1,7 +1,7 @@
1
1
  import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
- import { G as n } from "../../index.es-DntoATwO.js";
3
- import { I as t } from "../../index.es-3043KTnb.js";
4
- import { d as m, T as d } from "../../index.es-D54RuMc_.js";
2
+ import { G as n } from "../../index.es-CbBdaRO2.js";
3
+ import { I as t } from "../../index.es-DErA6zWG.js";
4
+ import { d as m, T as d } from "../../index.es--yyG47az.js";
5
5
  import '../../assets/Disclaimer.css';const p = "_disclaimer_1k38t_1", y = "_iconArea_1k38t_7", a = {
6
6
  disclaimer: p,
7
7
  iconArea: y
@@ -1,9 +1,9 @@
1
1
  import { jsx as m, jsxs as $ } from "react/jsx-runtime";
2
- import { G as _ } from "../../index.es-DntoATwO.js";
3
- import { c as P, _ as T, P as e } from "../../identity-DLWZln-X.js";
2
+ import { G as _ } from "../../index.es-CbBdaRO2.js";
3
+ import { c as P, _ as T, P as e } from "../../_setToString-Do1lSQTZ.js";
4
4
  import c, { forwardRef as C, useRef as w, useImperativeHandle as H, useMemo as y } from "react";
5
- import { e as N, T as O } from "../../index.es-D54RuMc_.js";
6
- import { I as B } from "../../index.es-3043KTnb.js";
5
+ import { e as N, T as O } from "../../index.es--yyG47az.js";
6
+ import { I as B } from "../../index.es-DErA6zWG.js";
7
7
  const j = {
8
8
  /**
9
9
  * Aligns the Hero contents.
@@ -1,20 +1,21 @@
1
1
  import { jsx as e, jsxs as b, Fragment as D } from "react/jsx-runtime";
2
- import { N as F } from "../../index.es-fnFnw2P1.js";
3
- import { B as p } from "../../index.es-CiqbARoC.js";
4
- import { G as _ } from "../../index.es-DntoATwO.js";
5
- import { I as W } from "../../index.es-0lQcz8m1.js";
6
- import { S as j } from "../../index.es-8GOVkuo-.js";
2
+ import { N as F } from "../../index.es-CPqaUyn3.js";
3
+ import { B as h } from "../../index.es-Bx1E5MPK.js";
4
+ import { G as _ } from "../../index.es-CbBdaRO2.js";
5
+ import { I as W } from "../../index.es-Kg9soDed.js";
6
+ import { S as j } from "../../index.es-CqgVUhln.js";
7
7
  import { useState as v } from "react";
8
8
  import { Iconify as z } from "../Iconify/Iconify.js";
9
9
  import { u as k } from "../../useBreakpoints-MzTZ0tCT.js";
10
10
  import "../../react-tooltip.min-DSY6KDqS.js";
11
- import "../../orderBy-Bd48bw88.js";
11
+ import "../../orderBy-CyjsW2ET.js";
12
12
  import { SearchBar as G } from "../SearchBar/SearchBar.js";
13
13
  import "../../uniqueId-NU3-C36A.js";
14
14
  import { Modal as H } from "../Modal/Modal.js";
15
15
  import { Select as I } from "../Select/Select.js";
16
16
  import "react-hook-form";
17
- import "../../get-DFv1gXfq.js";
17
+ import "../../get-B8c-T4F8.js";
18
+ import "../../omit-1Eom1PmQ.js";
18
19
  import "../../isArray-Dub1wGJM.js";
19
20
  import "../../isString-BW9UHONv.js";
20
21
  import '../../assets/Filter.css';const K = "_filterButton_qtl7a_1", T = "_relativeParent_qtl7a_6", V = "_filterBadge_qtl7a_10", E = "_dense_qtl7a_17", u = {
@@ -22,7 +23,7 @@ import '../../assets/Filter.css';const K = "_filterButton_qtl7a_1", T = "_relati
22
23
  relativeParent: T,
23
24
  filterBadge: V,
24
25
  dense: E
25
- }, mt = ({
26
+ }, ct = ({
26
27
  clearFilterText: m,
27
28
  closeCallback: s,
28
29
  currentFilter: i,
@@ -31,7 +32,7 @@ import '../../assets/Filter.css';const K = "_filterButton_qtl7a_1", T = "_relati
31
32
  filterModalTitle: t,
32
33
  filters: f,
33
34
  modalCancelButtonText: g,
34
- modalConfirmButtonText: h,
35
+ modalConfirmButtonText: p,
35
36
  useModal: o = !0,
36
37
  selectAllLabel: r,
37
38
  "data-testid": w
@@ -67,9 +68,9 @@ import '../../assets/Filter.css';const K = "_filterButton_qtl7a_1", T = "_relati
67
68
  onClose: x,
68
69
  title: t,
69
70
  modalSize: A ? "small" : "fullscreen",
70
- headerActions: /* @__PURE__ */ e(p, { "data-testid": "filter-clear-button", variant: "text", onClick: O, children: m }),
71
+ headerActions: /* @__PURE__ */ e(h, { "data-testid": "filter-clear-button", variant: "text", onClick: O, children: m }),
71
72
  dismissiveButton: /* @__PURE__ */ e(
72
- p,
73
+ h,
73
74
  {
74
75
  "data-testid": "filter-cancel-button",
75
76
  variant: "outlined",
@@ -77,13 +78,13 @@ import '../../assets/Filter.css';const K = "_filterButton_qtl7a_1", T = "_relati
77
78
  children: g
78
79
  }
79
80
  ),
80
- primaryButton: /* @__PURE__ */ e(p, { "data-testid": "filter-confirm-button", variant: "filled", onClick: x, children: h }),
81
+ primaryButton: /* @__PURE__ */ e(h, { "data-testid": "filter-confirm-button", variant: "filled", onClick: x, children: p }),
81
82
  children: /* @__PURE__ */ e(_, { direction: "vertical", "data-testid": "filter-map-filters", children: N(f, c, S, r) })
82
83
  }
83
84
  )
84
85
  ] }) : /* @__PURE__ */ e(_, { secondaryAlign: "center", fullWidth: !0, children: N(f, c, S, r, !1) });
85
- }, N = (m, s, i, d, a = !0) => m.map(({ id: t, title: f, availableOptions: g, icon: h, type: o }) => /* @__PURE__ */ b(_, { fullWidth: !0, secondaryAlign: "center", "data-testid": `filter-${o}-group-${t}`, children: [
86
- h ? /* @__PURE__ */ e(z, { icon: h, iconSize: "medium" }) : null,
86
+ }, N = (m, s, i, d, a = !0) => m.map(({ id: t, title: f, availableOptions: g, icon: p, type: o }) => /* @__PURE__ */ b(_, { fullWidth: !0, secondaryAlign: "center", "data-testid": `filter-${o}-group-${t}`, children: [
87
+ p ? /* @__PURE__ */ e(z, { icon: p, iconSize: "medium" }) : null,
87
88
  o === "select" && /* @__PURE__ */ e(
88
89
  I,
89
90
  {
@@ -157,7 +158,7 @@ import '../../assets/Filter.css';const K = "_filterButton_qtl7a_1", T = "_relati
157
158
  style: { height: "100%", width: t ? void 0 : "100%" },
158
159
  children: [
159
160
  /* @__PURE__ */ e(
160
- p,
161
+ h,
161
162
  {
162
163
  "data-testid": "filter-button",
163
164
  variant: "outlined",
@@ -183,5 +184,5 @@ import '../../assets/Filter.css';const K = "_filterButton_qtl7a_1", T = "_relati
183
184
  );
184
185
  };
185
186
  export {
186
- mt as Filter
187
+ ct as Filter
187
188
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { C as m } from "../../../index.es-BvrQnJ3j.js";
2
+ import { C as m } from "../../../index.es-oOD85ZwA.js";
3
3
  import { useFormContext as k, Controller as C } from "react-hook-form";
4
4
  import '../../../assets/FormCheckBox.css';const b = "_invalid_1l2r2_1", d = "_checkbox_1l2r2_5", c = {
5
5
  invalid: b,
@@ -1,8 +1,8 @@
1
1
  import { jsx as C, jsxs as pa } from "react/jsx-runtime";
2
- import { B as ba } from "../../../index.es-CiqbARoC.js";
3
- import { b as u, a as o, c as d, d as s, r as wa, s as be, t as M, m as j, l as D, f as z, e as N, g as ya, D as Pa } from "../../../index.es-CoFul5zR.js";
4
- import { D as ka } from "../../../index.es-BWgXLqXn.js";
5
- import { P as Ma } from "../../../index.es-D-CKRzIB.js";
2
+ import { B as ba } from "../../../index.es-Bx1E5MPK.js";
3
+ import { b as u, a as o, c as d, d as s, r as wa, s as be, t as M, m as j, l as D, f as z, e as N, g as ya, D as Pa } from "../../../index.es-BoWmBoqO.js";
4
+ import { D as ka } from "../../../index.es-BTc2I5pe.js";
5
+ import { P as Ma } from "../../../index.es-D-ph6ImM.js";
6
6
  import { useMemo as V, useState as $a } from "react";
7
7
  import { useFormContext as Wa, Controller as ja } from "react-hook-form";
8
8
  import { useHelperText as Da } from "../../../hooks/useHelperText.js";
@@ -1,25 +1,26 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { T as d } from "../../../index.es-25EARqhH.js";
3
- import { g as u } from "../../../get-DFv1gXfq.js";
4
- import { useMemo as g } from "react";
2
+ import { T as d } from "../../../index.es-CUuzYysw.js";
3
+ import { g as u } from "../../../get-B8c-T4F8.js";
4
+ import { o as g } from "../../../omit-1Eom1PmQ.js";
5
+ import { useMemo as f } from "react";
5
6
  import { useFormContext as v } from "react-hook-form";
6
- import '../../../assets/CustomTextField.css';const f = "_invalid_1dsbr_1", c = {
7
- invalid: f
8
- }, T = ({ ...e }) => {
7
+ import '../../../assets/CustomTextField.css';const c = "_invalid_1dsbr_1", s = {
8
+ invalid: c
9
+ }, C = ({ ...e }) => {
9
10
  const {
10
11
  getFieldState: r,
11
12
  formState: { errors: n },
12
13
  trigger: i,
13
- watch: l
14
- } = v(), a = l(e.propertyName), o = g(() => {
14
+ watch: o
15
+ } = v(), a = o(e.propertyName), l = f(() => {
15
16
  if (!(!a || e.value === null))
16
17
  return e.value;
17
18
  }, [a, e.value]);
18
19
  return /* @__PURE__ */ m(
19
20
  d,
20
21
  {
21
- ...e,
22
- value: o,
22
+ ...g(e, ["propertyName", "formOnBlur", "additionalTrigger"]),
23
+ value: l,
23
24
  "data-testid": `numeric-field-${e.propertyName}`,
24
25
  fullWidth: !0,
25
26
  inputMode: "decimal",
@@ -32,10 +33,10 @@ import '../../../assets/CustomTextField.css';const f = "_invalid_1dsbr_1", c = {
32
33
  },
33
34
  valid: !r(e.propertyName).invalid,
34
35
  helperTextPersistent: u(n, e.propertyName) !== void 0 || e.helperTextPersistent,
35
- className: r(e.propertyName).invalid ? c.invalid : ""
36
+ className: r(e.propertyName).invalid ? s.invalid : ""
36
37
  }
37
38
  );
38
39
  };
39
40
  export {
40
- T as CustomTextField
41
+ C as CustomTextField
41
42
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as r, Fragment as m } from "react/jsx-runtime";
2
- import { R as d } from "../../../index.es-BtjV0oNv.js";
2
+ import { R as d } from "../../../index.es-Bf149BSP.js";
3
3
  import { useFormContext as s, Controller as c } from "react-hook-form";
4
4
  const g = ({ propertyName: l, options: t }) => {
5
5
  const { control: n, setValue: o } = s(), u = (a) => {
@@ -5,7 +5,7 @@ import { ExtendedSelectProps } from '../../Select/Select';
5
5
  /**
6
6
  * a generic FormSelector property type. the generic T represents the interface, which is used in the form, like {@link CreateOrganizationDto}
7
7
  */
8
- type FormSelectProps<T extends FieldValues> = Omit<SelectProps, 'className' | 'clearable' | 'disabled' | 'helperTextPersistent' | 'hidden' | 'hoisted' | 'label' | 'menuMaxHeight' | 'multi' | 'multiSelect' | 'options' | 'searchable' | 'textKey' | 'valid' | 'value' | 'valueKey' | 'variant'> & Pick<ExtendedSelectProps, 'portalClassName' | 'data-testid'> & {
8
+ export type FormSelectProps<T extends FieldValues> = Omit<SelectProps, 'className' | 'clearable' | 'disabled' | 'helperTextPersistent' | 'hidden' | 'hoisted' | 'label' | 'menuMaxHeight' | 'multi' | 'multiSelect' | 'options' | 'searchable' | 'textKey' | 'valid' | 'value' | 'valueKey' | 'variant'> & Pick<ExtendedSelectProps, 'portalClassName' | 'data-testid'> & {
9
9
  /** the name of the property in the form */
10
10
  propertyName: Path<T>;
11
11
  /** the label of the select */
@@ -63,4 +63,3 @@ export type FormSelectOption = {
63
63
  * @returns
64
64
  */
65
65
  export declare const FormSelect: <T extends FieldValues>({ propertyName, label, options, multi, disabled, hoisted, hidden, valueKey, textKey, clearable, searchable, noOptionsMessage, rules, menuPosition, ...props }: FormSelectProps<T>) => import("react/jsx-runtime").JSX.Element;
66
- export {};
@@ -1,5 +1,5 @@
1
1
  import { jsx as o, Fragment as g, jsxs as k } from "react/jsx-runtime";
2
- import { g as x } from "../../../get-DFv1gXfq.js";
2
+ import { g as x } from "../../../get-B8c-T4F8.js";
3
3
  import { i as G } from "../../../isArray-Dub1wGJM.js";
4
4
  import { useMemo as z } from "react";
5
5
  import { useFormContext as J, Controller as C } from "react-hook-form";
@@ -1,6 +1,6 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { G as p } from "../../../index.es-DntoATwO.js";
3
- import { T as d } from "../../../index.es-D54RuMc_.js";
2
+ import { G as p } from "../../../index.es-CbBdaRO2.js";
3
+ import { T as d } from "../../../index.es--yyG47az.js";
4
4
  const m = ({ value: r, textKey: t, valueKey: e }) => {
5
5
  if (!(!r || r.length === 0))
6
6
  return Array.isArray(r) ? /* @__PURE__ */ i(p, { "data-testid": "select-tooltip", direction: "vertical", gap: "dense", children: r?.map((o) => /* @__PURE__ */ i(d, { level: 2, children: o[t] }, o[e])) }) : r?.[t];
@@ -1,9 +1,9 @@
1
1
  import { jsx as Y } from "react/jsx-runtime";
2
- import { _ as O, c as F, P as l } from "../../../identity-DLWZln-X.js";
2
+ import { _ as O, c as F, P as l } from "../../../_setToString-Do1lSQTZ.js";
3
3
  import c, { forwardRef as ft, useRef as tt, useImperativeHandle as et, useCallback as B, useEffect as k, useMemo as rt } from "react";
4
- import { I as nt } from "../../../index.es-3043KTnb.js";
5
- import { T as it } from "../../../index.es-25EARqhH.js";
6
- import { c as at } from "../../../index.es-da0cf7oE.js";
4
+ import { I as nt } from "../../../index.es-DErA6zWG.js";
5
+ import { T as it } from "../../../index.es-CUuzYysw.js";
6
+ import { c as at } from "../../../index.es-DlzwTKbh.js";
7
7
  import { b as dt, c as K } from "../../../tslib.es6-BDCynO9F.js";
8
8
  import { M as gt, a as Et } from "../../../component-neHBNHRu.js";
9
9
  import { M as st, a as bt, m as It, b as St } from "../../../component-DsB0poTj.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as t, Fragment as v, jsxs as z } from "react/jsx-runtime";
2
- import { T as M } from "../../../index.es-25EARqhH.js";
3
- import { a as P } from "../../../index.es-D54RuMc_.js";
2
+ import { T as M } from "../../../index.es-CUuzYysw.js";
3
+ import { a as P } from "../../../index.es--yyG47az.js";
4
4
  import { useState as V, useCallback as W, useMemo as m } from "react";
5
5
  import { useFormContext as D, Controller as _ } from "react-hook-form";
6
6
  import { useHelperText as E } from "../../../hooks/useHelperText.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as p } from "react/jsx-runtime";
2
- import { G as d } from "../../../index.es-DntoATwO.js";
3
- import { S as f } from "../../../index.es-8GOVkuo-.js";
4
- import { a as h } from "../../../index.es-D54RuMc_.js";
2
+ import { G as d } from "../../../index.es-CbBdaRO2.js";
3
+ import { S as f } from "../../../index.es-CqgVUhln.js";
4
+ import { a as h } from "../../../index.es--yyG47az.js";
5
5
  import { u as C } from "../../../uniqueId-NU3-C36A.js";
6
6
  import { useEffect as x } from "react";
7
7
  import { useFormContext as T, Controller as y } from "react-hook-form";