@hortiview/shared-components 2.26.0 → 2.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/{AlertBanner-BFzaGOer.js → AlertBanner-C9TvBTkH.js} +3 -3
  3. package/dist/{GenericCard-grpa3KJR.js → GenericCard-2v0lBsVu.js} +3 -3
  4. package/dist/{ListAreaService-B0x97Jin.js → ListAreaService-PaN1DrXf.js} +5 -5
  5. package/dist/assets/BlockView.css +1 -1
  6. package/dist/assets/FormSelect.css +1 -1
  7. package/dist/components/AlertBanner/AlertBanner.js +4 -4
  8. package/dist/components/AlertBanner/LinkBanner.js +3 -3
  9. package/dist/components/AllowedButton/AllowedButton.js +1 -1
  10. package/dist/components/AllowedIconButton/AllowedIconButton.js +1 -1
  11. package/dist/components/BaseView/BaseView.js +4 -4
  12. package/dist/components/BasicHeading/BasicHeading.js +4 -4
  13. package/dist/components/BlockView/BlockView.d.ts +8 -2
  14. package/dist/components/BlockView/BlockView.js +71 -68
  15. package/dist/components/ButtonCard/ButtonCard.js +3 -3
  16. package/dist/components/ChipCard/ChipCard.js +10 -10
  17. package/dist/components/ConfirmationModal/ConfirmationModal.js +3 -3
  18. package/dist/components/ContextMenu/ContextMenu.js +3 -3
  19. package/dist/components/DeleteModal/DeleteModal.js +4 -4
  20. package/dist/components/DetailContentWrapper/DetailContentWrapper.js +1 -1
  21. package/dist/components/Disclaimer/Disclaimer.js +3 -3
  22. package/dist/components/EmptyView/EmptyView.js +3 -3
  23. package/dist/components/ErrorBanner/ErrorBanner.js +5 -5
  24. package/dist/components/Filter/Filter.js +6 -6
  25. package/dist/components/FloatingActionButton/FloatingActionButton.js +3 -3
  26. package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +1 -1
  27. package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +4 -4
  28. package/dist/components/FormComponents/FormNumber/CustomTextField.js +1 -1
  29. package/dist/components/FormComponents/FormRadio/FormRadio.js +1 -1
  30. package/dist/components/FormComponents/FormSelect/FormSelect.js +104 -99
  31. package/dist/components/FormComponents/FormSelect/FormSelectService.d.ts +34 -0
  32. package/dist/components/FormComponents/FormSelect/FormSelectService.js +20 -0
  33. package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +2 -2
  34. package/dist/components/FormComponents/FormSlider/FormSlider.js +6 -6
  35. package/dist/components/FormComponents/FormText/FormText.js +2 -2
  36. package/dist/components/FormComponents/FormToggle/FormToggle.js +3 -3
  37. package/dist/components/GenericTable/GenericTable.js +5349 -5409
  38. package/dist/components/GenericTable/Mobile/GenericCard.js +4 -4
  39. package/dist/components/GenericTable/Mobile/GenericCardList.js +4 -4
  40. package/dist/components/HashTabView/HashTabView.js +6 -6
  41. package/dist/components/HeaderFilter/HeaderFilter.js +1 -1
  42. package/dist/components/Iconify/Iconify.js +1 -1
  43. package/dist/components/InfoCard/InfoCard.js +4 -4
  44. package/dist/components/InfoGroup/InfoGroup.js +3 -3
  45. package/dist/components/ListArea/ListArea.js +5 -5
  46. package/dist/components/ListArea/ListAreaService.js +6 -6
  47. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +1 -1
  48. package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +5 -5
  49. package/dist/components/Modal/Modal.js +150 -142
  50. package/dist/components/ModulePadding/ModulePadding.js +1 -1
  51. package/dist/components/OfflineView/OfflineView.js +3 -3
  52. package/dist/components/OnboardingBanner/OnboardingBanner.js +7 -7
  53. package/dist/components/OverflowTooltip/OverflowTooltip.js +1 -1
  54. package/dist/components/SearchBar/SearchBar.js +2 -2
  55. package/dist/components/Select/Select.js +1 -1
  56. package/dist/components/Stepper/Stepper.js +1 -1
  57. package/dist/components/Stepper/components/StepperButton.js +1 -1
  58. package/dist/components/Stepper/components/StepperHeader.js +2 -2
  59. package/dist/components/Stepper/components/StepperItem.js +2 -2
  60. package/dist/{defineProperty-B7N9EBBI.js → defineProperty-SoB5opr-.js} +51 -51
  61. package/dist/{es.string.iterator-DBx2A42F.js → es.string.iterator-BrOvr7F6.js} +78 -78
  62. package/dist/{find-eU9ab_u7.js → find-OaLSg5iu.js} +35 -35
  63. package/dist/includes-CSD_V_RY.js +112 -0
  64. package/dist/{index-Df2FYN-K.js → index-_-9ybP20.js} +76 -76
  65. package/dist/{index.es-C27R5Xae.js → index.es-0SkNh4dU.js} +2 -2
  66. package/dist/{index.es-B19PQgzU.js → index.es-B1cewJEy.js} +4 -4
  67. package/dist/{index.es-Z0aF-7Cn.js → index.es-BE1XL1dD.js} +3 -3
  68. package/dist/{index.es-BcnmoCEg.js → index.es-BSaDtduL.js} +6 -6
  69. package/dist/{index.es-Ci3O23C_.js → index.es-BVW2k-5y.js} +4 -4
  70. package/dist/index.es-BZkGOjEo.js +383 -0
  71. package/dist/{index.es-Cr1PSTyq.js → index.es-C2ejWpji.js} +3 -3
  72. package/dist/{index.es-DgncYOqO.js → index.es-C8AExypY.js} +2 -2
  73. package/dist/{index.es-BOvO8moE.js → index.es-CNrSvjAv.js} +5 -6
  74. package/dist/{index.es-l_3PNohs.js → index.es-CTKwa3Es.js} +1 -1
  75. package/dist/{index.es-BwafUoK3.js → index.es-CVPUG1pf.js} +785 -781
  76. package/dist/index.es-CpPnZRt7.js +604 -0
  77. package/dist/{index.es-DHoIQ8lu.js → index.es-CwgwR6SB.js} +1 -1
  78. package/dist/{index.es-BOG3_7IM.js → index.es-DHL1mFb3.js} +249 -317
  79. package/dist/{index.es-DHnCVuQ8.js → index.es-DPGGEmi5.js} +5 -5
  80. package/dist/{index.es-C6I3L4U4.js → index.es-DRC-9PLs.js} +43 -43
  81. package/dist/{index.es-C2IOpX7R.js → index.es-DVgCBhVx.js} +3020 -2798
  82. package/dist/{index.es-B9BUXRQn.js → index.es-DsOSfaF5.js} +39 -39
  83. package/dist/{index.es-DUrjyxNI.js → index.es-EXzC8zuP.js} +2 -2
  84. package/dist/index.es-LckFzDz-.js +1069 -0
  85. package/dist/{index.es-DdeCB7LW.js → index.es-Pc5KKhcb.js} +1 -1
  86. package/dist/{index.es-Cg57snrN.js → index.es-_PSuLbjQ.js} +15 -16
  87. package/dist/{index.es-DhlgTSuU.js → index.es-eZDofmng.js} +10 -13
  88. package/dist/{keyboard-DbG3oyPU.js → keyboard-DQ9O_Ke1.js} +21 -21
  89. package/dist/main.js +1 -1
  90. package/dist/{map-ZSVweMI1.js → map-BErBeya5.js} +85 -85
  91. package/dist/parse-int-BYd7r_4n.js +47 -0
  92. package/dist/{slicedToArray-DC6VAZtW.js → slicedToArray-C2Ed3239.js} +67 -67
  93. package/dist/string-trim-v5pkXsl2.js +32 -0
  94. package/package.json +4 -4
  95. package/dist/correct-is-regexp-logic-BJ-OWRrn.js +0 -44
  96. package/dist/index.es-CkB4776y.js +0 -391
  97. package/dist/index.es-D1iB_QlE.js +0 -608
  98. package/dist/index.es-DEBGoIKX.js +0 -1061
  99. package/dist/parse-int-CGpIXMGa.js +0 -75
package/CHANGELOG.md CHANGED
@@ -1,3 +1,26 @@
1
+ ## [2.26.2](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.26.1...v2.26.2) (2026-05-26)
2
+
3
+ ### Code Refactoring
4
+
5
+ * adjust BlockView size props, minor styling achanges ([c2dca99](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/c2dca9979c41025c00a14330094aea081cc44c23)), closes [#20844](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/issues/20844)
6
+
7
+ ## [2.26.1](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.26.0...v2.26.1) (2026-05-22)
8
+
9
+ ### Bug Fixes
10
+
11
+ * add permission provider to broken stories ([6677f7f](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/6677f7fb9cfc4b5e256ea16fce429b95348f55d0))
12
+ * add workaround for element bug on textKey = 'value' and multiSelect = true ([4926a72](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/4926a726b75b422f6f7bd8cacf71b86565d32b14))
13
+ * fix search functionality on multi select component ([5a01163](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/5a011636eeef5c5296d2959a1307425256fed706))
14
+
15
+ ### Code Refactoring
16
+
17
+ * improve title and label of FormSelect story ([29d6f78](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/29d6f780eefce628d459af1d7773b79a0af553dd))
18
+
19
+ ### Styles
20
+
21
+ * improve positioning of search cursor in multi select ([d71bff9](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/d71bff9f3abda3a3a3466bb16850b67f3aa11bfc))
22
+ * improve stories by adding width ([de089f8](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/de089f84d720f6bd47b1b22900259f007d6b1a1e))
23
+
1
24
  ## [2.26.0](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.25.0...v2.26.0) (2026-05-11)
2
25
 
3
26
  ### Features
@@ -1,7 +1,7 @@
1
1
  import { jsx as n, Fragment as t, jsxs as l } from "react/jsx-runtime";
2
- import { G as _ } from "./index.es-Z0aF-7Cn.js";
3
- import { I as m } from "./index.es-DEBGoIKX.js";
4
- import { T as d } from "./index.es-DUrjyxNI.js";
2
+ import { G as _ } from "./index.es-BE1XL1dD.js";
3
+ import { I as m } from "./index.es-LckFzDz-.js";
4
+ import { T as d } from "./index.es-EXzC8zuP.js";
5
5
  import './assets/AlertBanner.css';const g = "_messageContainer_2hnjr_1", h = "_info_2hnjr_9", f = "_danger_2hnjr_14", p = "_success_2hnjr_19", u = "_warning_2hnjr_24", j = "_closeIcon_2hnjr_29", y = "_linkBanner_2hnjr_34", s = {
6
6
  messageContainer: g,
7
7
  info: h,
@@ -1,7 +1,7 @@
1
1
  import { jsx as r, jsxs as s, Fragment as h } from "react/jsx-runtime";
2
- import { C, a as y, b as T, c as g, d as v } from "./index.es-BOG3_7IM.js";
3
- import { G as m, a as u, b as l } from "./index.es-Cr1PSTyq.js";
4
- import { c as f } from "./index.es-DUrjyxNI.js";
2
+ import { C, a as y, b as T, c as g, d as v } from "./index.es-DHL1mFb3.js";
3
+ import { G as m, a as u, b as l } from "./index.es-C2ejWpji.js";
4
+ import { c as f } from "./index.es-EXzC8zuP.js";
5
5
  import { useMemo as b } from "react";
6
6
  import { OverflowTooltip as c } from "./components/OverflowTooltip/OverflowTooltip.js";
7
7
  import './assets/GenericCard.css';const x = "_cardTitle_1w5we_1", B = "_cardBody_1w5we_5", N = "_cardContent_1w5we_10", $ = "_row_1w5we_14", G = "_font_1w5we_18", k = "_fontHeader_1w5we_23", H = "_title_1w5we_27", S = "_emptyContainer_1w5we_33", W = "_empty_1w5we_33", A = "_fullWidth_1w5we_45", i = {
@@ -1,9 +1,9 @@
1
1
  import { jsx as r, jsxs as G } from "react/jsx-runtime";
2
- import { G as S } from "./index.es-Z0aF-7Cn.js";
3
- import { I as b } from "./index.es-DEBGoIKX.js";
4
- import { P as O } from "./index.es-DgncYOqO.js";
5
- import { e as k, c as L, T as $ } from "./index.es-DUrjyxNI.js";
6
- import { c as A } from "./index-Df2FYN-K.js";
2
+ import { G as S } from "./index.es-BE1XL1dD.js";
3
+ import { I as b } from "./index.es-LckFzDz-.js";
4
+ import { P as O } from "./index.es-C8AExypY.js";
5
+ import { e as k, c as L, T as $ } from "./index.es-EXzC8zuP.js";
6
+ import { c as A } from "./index-_-9ybP20.js";
7
7
  import { Iconify as j } from "./components/Iconify/Iconify.js";
8
8
  import { AvailableCustomIcons as H } from "./enums/AvailableCustomIcons.js";
9
9
  import './assets/ListAreaService.css';const M = "_fullWidth_1w7l3_1", P = "_mainElevation_1w7l3_6", R = "_searchBarLine_1w7l3_13", W = "_searchbar_1w7l3_17", q = "_roundedBottom_1w7l3_21", z = "_primaryText_1w7l3_26", D = "_list_1w7l3_30", F = "_listItem_1w7l3_41", J = "_isSelected_1w7l3_65", K = "_noGroupHeaderMargin_1w7l3_74", Q = "_indentGroupedElement_1w7l3_78", U = "_isNotSelected_1w7l3_82", V = "_iconColor_1w7l3_92", X = "_overlineTitle_1w7l3_96", Y = "_noOverlineTitle_1w7l3_101", Z = "_truncate_1w7l3_105", ee = "_truncateOverlineText_1w7l3_116", te = "_hasNoRoundedEdges_1w7l3_121", oe = "_hideArrowIcon_1w7l3_125", t = {
@@ -1 +1 @@
1
- ._grid_gfk3g_1{display:flex;padding-bottom:0;flex-direction:column;justify-content:center;align-items:center;gap:1rem;align-self:stretch}._blockLayout_gfk3g_11{padding:.5rem;gap:.5rem;display:flex;flex-direction:column;border-radius:.5rem;background:var(--lmnt-theme-secondary-100);width:15rem;height:15rem}._blockRow_gfk3g_22{display:flex;flex-direction:row;gap:.5rem;height:100%;align-self:stretch}._block_gfk3g_11{flex:auto;border-radius:.25rem;background:var(--lmnt-theme-secondary);align-items:center;display:flex;justify-content:center;position:relative}._block_gfk3g_11._active_gfk3g_41{background:var(--lmnt-theme-primary);margin:-2px}._block_gfk3g_11._error_gfk3g_46{border:2px solid var(--lmnt-theme-danger);background:var(--lmnt-theme-danger-50);margin:-2px}._block_gfk3g_11._empty_gfk3g_52{background:var(--lmnt-theme-secondary-200);cursor:default}._activeBlock_gfk3g_57{background:var(--lmnt-theme-primary)}._block_gfk3g_11._clickable_gfk3g_61{cursor:pointer}._blockText_gfk3g_65{display:flex;justify-content:center;position:absolute;width:1vw;height:1vh;align-items:center;color:var(--lmnt-theme-on-primary)}._emptyLayout_gfk3g_75{display:flex;justify-content:center;align-items:center;background:var(--lmnt-theme-surface-variant);border-radius:.5rem}
1
+ ._grid_otqrz_1{display:flex;padding-bottom:0;flex-direction:column;justify-content:center;align-items:center;gap:1rem;align-self:stretch;height:100%}._blockLayout_otqrz_13{padding:.5rem;gap:.5rem;display:flex;flex-direction:column;border-radius:.5rem;background:var(--lmnt-theme-secondary-100)}._absoluteSize_otqrz_22{height:15rem;width:15rem}._relativeSize_otqrz_27{height:70%;width:50%;max-height:50vh;max-width:50vw;min-height:10rem;min-width:10rem}._relativeSize_otqrz_27._mobile_otqrz_38{height:70%;width:60%;max-height:50vh;max-width:75vw}._blockRow_otqrz_46{display:flex;flex-direction:row;gap:.5rem;height:100%;align-self:stretch}._block_otqrz_13{flex:auto;justify-content:center;border-radius:.25rem;background:var(--lmnt-theme-secondary);align-items:center;display:flex;position:relative;-webkit-tap-highlight-color:transparent;transition:background .2s ease-in-out,box-shadow .2s ease-in-out,transform .2s ease-in-out}._block_otqrz_13._clickable_otqrz_70{cursor:pointer}._block_otqrz_13._empty_otqrz_74{background:var(--lmnt-theme-secondary-200);cursor:default}._block_otqrz_13._active_otqrz_79{background:var(--lmnt-theme-primary)}._block_otqrz_13._error_otqrz_83{box-shadow:inset 0 0 0 3px var(--lmnt-theme-danger)}._block_otqrz_13._hoverEffects_otqrz_87._active_otqrz_79:hover{background:var(--lmnt-theme-primary-600)}._block_otqrz_13._hoverEffects_otqrz_87._clickable_otqrz_70:hover:not(._active_otqrz_79){background:var(--lmnt-theme-secondary-500)}._block_otqrz_13._hoverEffects_otqrz_87._clickable_otqrz_70:hover{transform:scale(1.02)}._blockText_otqrz_99{display:flex;justify-content:center;position:absolute;width:1vw;height:1vh;align-items:center;color:var(--lmnt-theme-on-primary)}._emptyLayout_otqrz_109{display:flex;justify-content:center;align-items:center;background:var(--lmnt-theme-surface-variant);border-radius:.5rem}
@@ -1 +1 @@
1
- ._invalidHelperText_zh2wu_1+*[class*=mdc-select-helper-text]{color:var(--lmnt-theme-danger)!important}._invalidBorder_zh2wu_5 *[class*=mdc-notched-outline]{border-color:var(--lmnt-theme-danger)!important}._invalidPlaceholder_zh2wu_9 *[class*=lmnt-select-label]{color:var(--lmnt-theme-danger)!important}._invalidDropdownIcon_zh2wu_13 *[class*=mdc-select__dropdown-icon]{fill:var(--lmnt-theme-danger)!important}._formSelectContainer_zh2wu_18{display:flex;flex-wrap:wrap;width:100%}._formSelectContainer_zh2wu_18>*[class*=lmnt-select-container]{flex-direction:column}._formSelectContainer_zh2wu_18 *[class*=mdc-select-helper-text]{color:var(--lmnt-helper-text-color);align-self:flex-start}._formSelectContainer_zh2wu_18 *[class*=lmnt__multi-value__label]{overflow:visible}._formSelect_zh2wu_18 *[class*=lmnt-select-menu]{z-index:2001}._formSelect_zh2wu_18 div[class*=mdc-notched-outline__leading]{border-radius:.25rem 0 0 .25rem!important}._formSelect_zh2wu_18 div[class*=mdc-notched-outline__trailing]{border-radius:0 .25rem .25rem 0!important}._multiText_zh2wu_53 *[class*=lmnt-select-value-container]{white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis;display:block!important;padding:1.125rem 0!important}._tooltip_zh2wu_62{z-index:42}._disabled_zh2wu_67+*[class*=mdc-select-helper-text]{color:var(--lmnt-theme-on-surface-disabled)}[id*=select-container][class*=top] [class*=mdc-menu-surface--open]{bottom:0}[id*=select-container][class*=bottom] [class*=mdc-menu-surface--open]{top:0}
1
+ ._invalidHelperText_qt5tp_1+*[class*=mdc-select-helper-text]{color:var(--lmnt-theme-danger)!important}._invalidBorder_qt5tp_5 *[class*=mdc-notched-outline]{border-color:var(--lmnt-theme-danger)!important}._invalidPlaceholder_qt5tp_9 *[class*=lmnt-select-label]{color:var(--lmnt-theme-danger)!important}._invalidDropdownIcon_qt5tp_13 *[class*=mdc-select__dropdown-icon]{fill:var(--lmnt-theme-danger)!important}._formSelectContainer_qt5tp_18{display:flex;flex-wrap:wrap;width:100%}._formSelectContainer_qt5tp_18>*[class*=lmnt-select-container]{flex-direction:column}._formSelectContainer_qt5tp_18 *[class*=mdc-select-helper-text]{color:var(--lmnt-helper-text-color);align-self:flex-start}._formSelectContainer_qt5tp_18 *[class*=lmnt__multi-value__label]{overflow:visible}._formSelect_qt5tp_18 *[class*=lmnt-select-menu]{z-index:2001}._formSelect_qt5tp_18._isSearchable_qt5tp_44 div[class*=lmnt__input-container] input[class*=lmnt__input]{padding-top:0!important}._formSelect_qt5tp_18._isSearchable_qt5tp_44._isMultiSelect_qt5tp_49._hasSelection_qt5tp_49 div[class*=lmnt__input-container] input[class*=lmnt__input]{padding-left:.5rem!important}._formSelect_qt5tp_18 div[class*=mdc-notched-outline__leading]{border-radius:.25rem 0 0 .25rem!important}._formSelect_qt5tp_18 div[class*=mdc-notched-outline__trailing]{border-radius:0 .25rem .25rem 0!important}._tooltip_qt5tp_64{z-index:42}._disabled_qt5tp_69+*[class*=mdc-select-helper-text]{color:var(--lmnt-theme-on-surface-disabled)}[id*=select-container][class*=top] [class*=mdc-menu-surface--open]{bottom:0}[id*=select-container][class*=bottom] [class*=mdc-menu-surface--open]{top:0}
@@ -1,8 +1,8 @@
1
1
  import "react/jsx-runtime";
2
- import "../../index.es-Z0aF-7Cn.js";
3
- import "../../index.es-DEBGoIKX.js";
4
- import "../../index.es-DUrjyxNI.js";
5
- import { A as e } from "../../AlertBanner-BFzaGOer.js";
2
+ import "../../index.es-BE1XL1dD.js";
3
+ import "../../index.es-LckFzDz-.js";
4
+ import "../../index.es-EXzC8zuP.js";
5
+ import { A as e } from "../../AlertBanner-C9TvBTkH.js";
6
6
  export {
7
7
  e as AlertBanner
8
8
  };
@@ -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-Z0aF-7Cn.js";
3
- import { T as s } from "../../index.es-DUrjyxNI.js";
2
+ import { G as l } from "../../index.es-BE1XL1dD.js";
3
+ import { T as s } from "../../index.es-EXzC8zuP.js";
4
4
  import { Iconify as p } from "../Iconify/Iconify.js";
5
- import { A as m, s as c } from "../../AlertBanner-BFzaGOer.js";
5
+ import { A as m, s as c } from "../../AlertBanner-C9TvBTkH.js";
6
6
  const g = ({
7
7
  text: n,
8
8
  color: o = "info",
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { B as l } from "../../index.es-B19PQgzU.js";
2
+ import { B as l } from "../../index.es-B1cewJEy.js";
3
3
  import { Allowed as s } from "../Allowed/Allowed.js";
4
4
  import { LoadingSpinner as a } from "../LoadingSpinner/Default/LoadingSpinner.js";
5
5
  const c = ({
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { I as m } from "../../index.es-CkB4776y.js";
2
+ import { I as m } from "../../index.es-BZkGOjEo.js";
3
3
  import { Allowed as l } from "../Allowed/Allowed.js";
4
4
  const f = ({
5
5
  "data-testid": o,
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as l, jsxs as n } from "react/jsx-runtime";
2
- import { D as $ } from "../../index.es-C27R5Xae.js";
3
- import { G as a } from "../../index.es-Z0aF-7Cn.js";
4
- import { P as M } from "../../index.es-DgncYOqO.js";
5
- import { c as v } from "../../index-Df2FYN-K.js";
2
+ import { D as $ } from "../../index.es-0SkNh4dU.js";
3
+ import { G as a } from "../../index.es-BE1XL1dD.js";
4
+ import { P as M } from "../../index.es-C8AExypY.js";
5
+ import { c as v } from "../../index-_-9ybP20.js";
6
6
  import { useMemo as d } from "react";
7
7
  import { BasicHeading as D } from "../BasicHeading/BasicHeading.js";
8
8
  import { EmptyView as P } from "../EmptyView/EmptyView.js";
@@ -1,8 +1,8 @@
1
1
  import { jsxs as o, jsx as n } from "react/jsx-runtime";
2
- import { G as t } from "../../index.es-Z0aF-7Cn.js";
3
- import { I as A } from "../../index.es-DEBGoIKX.js";
4
- import { b as I, T as z } from "../../index.es-DUrjyxNI.js";
5
- import { c as m } from "../../index-Df2FYN-K.js";
2
+ import { G as t } from "../../index.es-BE1XL1dD.js";
3
+ import { I as A } from "../../index.es-LckFzDz-.js";
4
+ import { b as I, T as z } from "../../index.es-EXzC8zuP.js";
5
+ import { c as m } from "../../index-_-9ybP20.js";
6
6
  import { Iconify as H } from "../Iconify/Iconify.js";
7
7
  import { AvailableCustomIcons as q } from "../../enums/AvailableCustomIcons.js";
8
8
  import { useBreakpoints as w } from "../../hooks/useBreakpoints.js";
@@ -47,9 +47,15 @@ type BlockViewProps<T extends Block & {
47
47
  */
48
48
  clickable?: boolean;
49
49
  /**
50
- * the size of the block in rem (default is 15x15)
50
+ * Set the size for the block view
51
+ * @remarks
52
+ * - 'absolute' - For containers without fixed dimensions (size depending on content) </br>Uses: { height: '15rem', width: '15rem' }
53
+ * - 'relative' - For containers with fixed size constraints (like modals with fixed dimensions) </br>Uses: { height: '70%', width: '50%' }
54
+ * - IMPORTANT: For 'relative' the parent container of the BlockView needs to have a fixed height and width. Otherwise you'll run into css issues
55
+ *
56
+ * @default 'absolute'
51
57
  */
52
- size?: number;
58
+ size?: 'absolute' | 'relative';
53
59
  /**
54
60
  * the title of the block view, shown when `hideText` is false
55
61
  */
@@ -1,95 +1,98 @@
1
- import { jsxs as f, jsx as o, Fragment as v } from "react/jsx-runtime";
2
- import { c as D, b as S, a as F } from "../../index.es-DUrjyxNI.js";
3
- import { c as M } from "../../index-Df2FYN-K.js";
4
- import { useState as V, useEffect as q, useMemo as G } from "react";
1
+ import { jsxs as z, jsx as o, Fragment as q } from "react/jsx-runtime";
2
+ import { c as A, b as F, a as M } from "../../index.es-EXzC8zuP.js";
3
+ import { c as h } from "../../index-_-9ybP20.js";
4
+ import { useState as V, useEffect as $, useMemo as G } from "react";
5
5
  import { getBlockNumberByDto as H } from "../../services/BlockService.js";
6
- import '../../assets/BlockView.css';const I = "_grid_gfk3g_1", J = "_blockLayout_gfk3g_11", K = "_blockRow_gfk3g_22", O = "_block_gfk3g_11", P = "_active_gfk3g_41", Q = "_error_gfk3g_46", U = "_empty_gfk3g_52", W = "_activeBlock_gfk3g_57", X = "_clickable_gfk3g_61", Y = "_blockText_gfk3g_65", Z = "_emptyLayout_gfk3g_75", t = {
7
- grid: I,
8
- blockLayout: J,
9
- blockRow: K,
10
- block: O,
11
- active: P,
12
- error: Q,
13
- empty: U,
14
- activeBlock: W,
6
+ import { useBreakpoints as I } from "../../hooks/useBreakpoints.js";
7
+ import '../../assets/BlockView.css';const J = "_grid_otqrz_1", K = "_blockLayout_otqrz_13", O = "_absoluteSize_otqrz_22", P = "_relativeSize_otqrz_27", Q = "_mobile_otqrz_38", U = "_blockRow_otqrz_46", W = "_block_otqrz_13", X = "_clickable_otqrz_70", Y = "_empty_otqrz_74", Z = "_active_otqrz_79", j = "_error_otqrz_83", tt = "_hoverEffects_otqrz_87", ot = "_blockText_otqrz_99", et = "_emptyLayout_otqrz_109", t = {
8
+ grid: J,
9
+ blockLayout: K,
10
+ absoluteSize: O,
11
+ relativeSize: P,
12
+ mobile: Q,
13
+ blockRow: U,
14
+ block: W,
15
15
  clickable: X,
16
- blockText: Y,
17
- emptyLayout: Z
18
- }, rt = ({
16
+ empty: Y,
17
+ active: Z,
18
+ error: j,
19
+ hoverEffects: tt,
20
+ blockText: ot,
21
+ emptyLayout: et
22
+ }, bt = ({
19
23
  rows: e,
20
- columns: c,
21
- hideText: h = !1,
22
- hideBlockCountText: w = !1,
23
- errorBlocks: N = [],
24
+ columns: r,
25
+ hideText: w = !1,
26
+ hideBlockCountText: N = !1,
27
+ errorBlocks: g = [],
24
28
  showNumbers: x = !0,
25
- clickable: b = !0,
26
- size: _ = 15,
27
- onClick: u = null,
28
- currentBlock: a,
29
- activeBlocks: g,
29
+ clickable: d = !1,
30
+ size: k = "absolute",
31
+ onClick: p = null,
32
+ currentBlock: s,
33
+ activeBlocks: v,
30
34
  blocks: m,
31
- blockViewTitle: L,
32
- blockLabel: T,
33
- emptyViewTitle: B
35
+ blockViewTitle: S,
36
+ blockLabel: E,
37
+ emptyViewTitle: L
34
38
  }) => {
35
- const [C, y] = V(0);
36
- q(() => {
37
- if (!a) return;
38
- const l = H(a, c);
39
- y(l);
40
- }, [a, c]);
41
- const E = G(() => e * c, [e, c]), R = (l) => {
42
- u && u(l, a ?? void 0);
43
- }, $ = ({ row: l, column: r }) => m.length === 0 ? !0 : m.some((d) => d.position?.row === l && d.position?.column === r), p = !e && !c;
44
- return /* @__PURE__ */ f("div", { "data-testid": "block-view-container", className: t.grid, children: [
45
- !h && /* @__PURE__ */ o(D, { level: 1, bold: !0, className: t.black, children: L }),
39
+ const [T, y] = V(0), { isDesktop: f } = I();
40
+ $(() => {
41
+ if (!s) return;
42
+ const c = H(s, r);
43
+ y(c);
44
+ }, [s, r]);
45
+ const C = G(() => e * r, [e, r]), R = (c) => {
46
+ p && p(c, s ?? void 0);
47
+ }, B = ({ row: c, column: i }) => m.length === 0 ? !0 : m.some((u) => u.position?.row === c && u.position?.column === i), _ = !e && !r;
48
+ return /* @__PURE__ */ z("div", { "data-testid": "block-view-container", className: t.grid, children: [
49
+ !w && /* @__PURE__ */ o(A, { level: 1, bold: !0, className: t.black, children: S }),
46
50
  /* @__PURE__ */ o(
47
51
  "div",
48
52
  {
49
53
  "data-testid": "block-view-layout",
50
- className: p ? t.emptyLayout : t.blockLayout,
51
- style: { width: `${_}rem`, height: `${_}rem` },
52
- children: p ? /* @__PURE__ */ o(j, { emptyViewTitle: B }) : /* @__PURE__ */ o(v, { children: Array.from({ length: e }).map((l, r) => /* @__PURE__ */ o("div", { "data-testid": "block-view-row", className: t.blockRow, children: Array.from({ length: c }).map((d, s) => {
53
- const i = c * r + s + 1, n = $({ row: r + 1, column: s + 1 }), A = M(
54
+ className: h(
55
+ _ && t.emptyLayout,
56
+ !_ && t.blockLayout,
57
+ k === "absolute" && t.absoluteSize,
58
+ k === "relative" && t.relativeSize,
59
+ !f && t.mobile
60
+ ),
61
+ children: _ ? /* @__PURE__ */ o(rt, { emptyViewTitle: L }) : /* @__PURE__ */ o(q, { children: Array.from({ length: e }).map((c, i) => /* @__PURE__ */ o("div", { "data-testid": "block-view-row", className: t.blockRow, children: Array.from({ length: r }).map((u, a) => {
62
+ const l = r * i + a + 1, n = B({ row: i + 1, column: a + 1 }), D = h(
54
63
  t.block,
55
- b && n && t.clickable,
56
- C === i && t.active,
64
+ f && t.hoverEffects,
65
+ d && n && t.clickable,
66
+ T === l && t.active,
57
67
  !n && t.empty,
58
- N.includes(i) && t.error,
59
- g && m.some(
60
- (k) => k.id && g.includes(k.id) && k.position?.row === r + 1 && k.position?.column === s + 1
61
- ) && t.activeBlock
68
+ g.includes(l) && t.error,
69
+ v && m.some(
70
+ (b) => b.id && v.includes(b.id) && b.position?.row === i + 1 && b.position?.column === a + 1
71
+ ) && t.active
62
72
  );
63
73
  return /* @__PURE__ */ o(
64
74
  "div",
65
75
  {
66
76
  "data-testid": "block-view-block",
67
- className: A,
68
- id: `block${i}`,
69
- onClick: b && n ? () => {
70
- y(i), R({ row: r + 1, column: s + 1 });
77
+ className: D,
78
+ id: `block${l}`,
79
+ onClick: d && n ? () => {
80
+ y(l), R({ row: i + 1, column: a + 1 });
71
81
  } : void 0,
72
- children: x && n && /* @__PURE__ */ o(
73
- "div",
74
- {
75
- "data-testid": "block-view-block-number",
76
- className: t.blockText,
77
- children: i
78
- }
79
- )
82
+ children: x && n && /* @__PURE__ */ o("div", { "data-testid": "block-view-block-number", className: t.blockText, children: l })
80
83
  },
81
- i
84
+ l
82
85
  );
83
- }) }, r)) })
86
+ }) }, i)) })
84
87
  }
85
88
  ),
86
- !w && /* @__PURE__ */ f(S, { themeColor: "primary", level: 6, children: [
87
- E,
89
+ !N && /* @__PURE__ */ z(F, { themeColor: "primary", level: 6, children: [
90
+ C,
88
91
  " ",
89
- T
92
+ E
90
93
  ] })
91
94
  ] });
92
- }, j = ({ emptyViewTitle: e }) => e ? /* @__PURE__ */ o(F, { bold: !0, children: e }) : /* @__PURE__ */ o(v, {});
95
+ }, rt = ({ emptyViewTitle: e }) => e ? /* @__PURE__ */ o(M, { bold: !0, children: e }) : /* @__PURE__ */ o(q, {});
93
96
  export {
94
- rt as BlockView
97
+ bt as BlockView
95
98
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as i } from "react/jsx-runtime";
2
- import { B as m } from "../../index.es-B19PQgzU.js";
3
- import { G as a } from "../../index.es-Z0aF-7Cn.js";
4
- import { d } from "../../index.es-DUrjyxNI.js";
2
+ import { B as m } from "../../index.es-B1cewJEy.js";
3
+ import { G as a } from "../../index.es-BE1XL1dD.js";
4
+ import { d } from "../../index.es-EXzC8zuP.js";
5
5
  import { Iconify as u } from "../Iconify/Iconify.js";
6
6
  import { Allowed as p } from "../Allowed/Allowed.js";
7
7
  import '../../assets/ButtonCard.css';const b = "_buttonCard_1fv6b_1", f = "_noInteraction_1fv6b_12", h = "_iconContainer_1fv6b_16", y = "_centerText_1fv6b_43", n = {
@@ -1,19 +1,19 @@
1
1
  import { jsx as Xt } from "react/jsx-runtime";
2
- import { o as Qe, e as Ze, i as ti, C as ei } from "../../index.es-BOG3_7IM.js";
3
- import { _ as ie, a as Le, c as Zt, b as kt, d as Pe, P as c } from "../../index-Df2FYN-K.js";
4
- import { f as Yt, _ as Ke, a as wt, b as Me, c as ke, d as Ut, g as Ye, e as xt } from "../../defineProperty-B7N9EBBI.js";
5
- import { _ as Ie, a as ii } from "../../find-eU9ab_u7.js";
6
- import { _ as Mt, a as ni, b as oi } from "../../map-ZSVweMI1.js";
2
+ import { o as Qe, e as Ze, i as ti, C as ei } from "../../index.es-DHL1mFb3.js";
3
+ import { _ as ie, a as Le, c as Zt, b as kt, d as Pe, P as c } from "../../index-_-9ybP20.js";
4
+ import { f as Yt, _ as Ke, a as wt, b as Me, c as ke, d as Ut, g as Ye, e as xt } from "../../defineProperty-SoB5opr-.js";
5
+ import { _ as Ie, a as ii } from "../../find-OaLSg5iu.js";
6
+ import { _ as Mt, a as ni, b as oi } from "../../map-BErBeya5.js";
7
7
  import { g as we } from "../../_commonjsHelpers-ByX85dGu.js";
8
- import { a as ri } from "../../es.string.iterator-DBx2A42F.js";
9
- import { k as ai, _ as Et } from "../../slicedToArray-DC6VAZtW.js";
10
- import { k as vt, u as ci, l as si, e as li, i as di } from "../../index.es-C6I3L4U4.js";
11
- import { n as ui, i as pi, K as P, _ as hi } from "../../keyboard-DbG3oyPU.js";
8
+ import { a as ri } from "../../es.string.iterator-BrOvr7F6.js";
9
+ import { k as ai, _ as Et } from "../../slicedToArray-C2Ed3239.js";
10
+ import { k as vt, u as ci, l as si, e as li, i as di } from "../../index.es-DRC-9PLs.js";
11
+ import { n as ui, i as pi, K as P, _ as hi } from "../../keyboard-DQ9O_Ke1.js";
12
12
  import E, { useEffect as ne, useState as yt, useMemo as te, useCallback as g, useRef as xe, forwardRef as fi, useImperativeHandle as _i } from "react";
13
13
  import { e as Ci, c as N, b as et } from "../../tslib.es6-BDCynO9F.js";
14
14
  import { M as oe, a as re } from "../../component-By6nyiBU.js";
15
15
  import { M as $t, b as $e } from "../../component-DYpB_4EP.js";
16
- import { I as ve } from "../../index.es-DEBGoIKX.js";
16
+ import { I as ve } from "../../index.es-LckFzDz-.js";
17
17
  import { OverflowTooltip as Ii } from "../OverflowTooltip/OverflowTooltip.js";
18
18
  import '../../assets/ChipCard.css';var vi = ti ? window : null, Ee = function(o) {
19
19
  return !!o.addEventListener;
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
- import { B as s } from "../../index.es-B19PQgzU.js";
3
- import { G as o } from "../../index.es-Z0aF-7Cn.js";
4
- import { T as c } from "../../index.es-DUrjyxNI.js";
2
+ import { B as s } from "../../index.es-B1cewJEy.js";
3
+ import { G as o } from "../../index.es-BE1XL1dD.js";
4
+ import { T as c } from "../../index.es-EXzC8zuP.js";
5
5
  import { useBreakpoints as C } from "../../hooks/useBreakpoints.js";
6
6
  import { Iconify as B } from "../Iconify/Iconify.js";
7
7
  import { Modal as H } from "../Modal/Modal.js";
@@ -1,8 +1,8 @@
1
1
  import { jsx as i, jsxs as M } from "react/jsx-runtime";
2
- import { I as k } from "../../index.es-CkB4776y.js";
3
- import { M as v, L as w, a as x, b as C } from "../../index.es-Cg57snrN.js";
2
+ import { I as k } from "../../index.es-BZkGOjEo.js";
3
+ import { M as v, L as w, a as x, b as C } from "../../index.es-_PSuLbjQ.js";
4
4
  import { useState as g, useCallback as T, useEffect as I, useMemo as b, Fragment as A, useRef as L, useLayoutEffect as B } from "react";
5
- import { c as V } from "../../index-Df2FYN-K.js";
5
+ import { c as V } from "../../index-_-9ybP20.js";
6
6
  import { u as z } from "../../uniqueId-CJo-XRQb.js";
7
7
  import { OfflineView as H } from "../OfflineView/OfflineView.js";
8
8
  import { useIsAllowed as N } from "../PermissionChecks/PermissionService.js";
@@ -1,8 +1,8 @@
1
1
  import { jsx as o, jsxs as b, Fragment as c } from "react/jsx-runtime";
2
- import { B as f } from "../../index.es-B19PQgzU.js";
3
- import { G as m } from "../../index.es-Z0aF-7Cn.js";
4
- import { I as S } from "../../index.es-DEBGoIKX.js";
5
- import { T as i } from "../../index.es-DUrjyxNI.js";
2
+ import { B as f } from "../../index.es-B1cewJEy.js";
3
+ import { G as m } from "../../index.es-BE1XL1dD.js";
4
+ import { I as S } from "../../index.es-LckFzDz-.js";
5
+ import { T as i } from "../../index.es-EXzC8zuP.js";
6
6
  import { u as N } from "../../uniqueId-CJo-XRQb.js";
7
7
  import { AvailableCustomIcons as O } from "../../enums/AvailableCustomIcons.js";
8
8
  import { useBreakpoints as x } from "../../hooks/useBreakpoints.js";
@@ -1,5 +1,5 @@
1
1
  import { jsxs as i, jsx as r, Fragment as a } from "react/jsx-runtime";
2
- import { G as m } from "../../index.es-Z0aF-7Cn.js";
2
+ import { G as m } from "../../index.es-BE1XL1dD.js";
3
3
  import { BasicHeading as s } from "../BasicHeading/BasicHeading.js";
4
4
  import '../../assets/DetailContentWrapper.css';const f = "_formContainer_gf66t_1", c = {
5
5
  formContainer: f
@@ -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-Z0aF-7Cn.js";
3
- import { I as t } from "../../index.es-DEBGoIKX.js";
4
- import { c as m, T as d } from "../../index.es-DUrjyxNI.js";
2
+ import { G as n } from "../../index.es-BE1XL1dD.js";
3
+ import { I as t } from "../../index.es-LckFzDz-.js";
4
+ import { c as m, T as d } from "../../index.es-EXzC8zuP.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,7 +1,7 @@
1
1
  import { jsx as t, jsxs as d, Fragment as u } from "react/jsx-runtime";
2
- import { G as y } from "../../index.es-Z0aF-7Cn.js";
3
- import { a as l } from "../../index.es-DUrjyxNI.js";
4
- import { c as _ } from "../../index-Df2FYN-K.js";
2
+ import { G as y } from "../../index.es-BE1XL1dD.js";
3
+ import { a as l } from "../../index.es-EXzC8zuP.js";
4
+ import { c as _ } from "../../index-_-9ybP20.js";
5
5
  import { Iconify as f } from "../Iconify/Iconify.js";
6
6
  import "react";
7
7
  import "../../react-tooltip.min-Dkz5ltCC.js";
@@ -1,9 +1,9 @@
1
1
  import { jsx as r, jsxs as o } from "react/jsx-runtime";
2
- import { B as c } from "../../index.es-B19PQgzU.js";
3
- import { G as t } from "../../index.es-Z0aF-7Cn.js";
4
- import { P as f } from "../../index.es-DgncYOqO.js";
5
- import { T as u, a as b } from "../../index.es-DUrjyxNI.js";
6
- import { c as h } from "../../index-Df2FYN-K.js";
2
+ import { B as c } from "../../index.es-B1cewJEy.js";
3
+ import { G as t } from "../../index.es-BE1XL1dD.js";
4
+ import { P as f } from "../../index.es-C8AExypY.js";
5
+ import { T as u, a as b } from "../../index.es-EXzC8zuP.js";
6
+ import { c as h } from "../../index-_-9ybP20.js";
7
7
  import { useContainerWidth as B } from "../../hooks/useContainerWidth.js";
8
8
  import { Iconify as g } from "../Iconify/Iconify.js";
9
9
  import '../../assets/ErrorBanner.css';const y = "_bannerPadding_1ka2b_1", _ = "_bottomBorder_1ka2b_7", P = "_standaloneBorder_1ka2b_12", s = {
@@ -1,10 +1,10 @@
1
1
  import { jsx as e, jsxs as B, Fragment as D } from "react/jsx-runtime";
2
- import { N as z } from "../../index.es-Cg57snrN.js";
3
- import { B as _ } from "../../index.es-B19PQgzU.js";
4
- import { G as v } from "../../index.es-Z0aF-7Cn.js";
5
- import { I as W } from "../../index.es-CkB4776y.js";
6
- import { S as j } from "../../index.es-Ci3O23C_.js";
7
- import { c as G } from "../../index-Df2FYN-K.js";
2
+ import { N as z } from "../../index.es-_PSuLbjQ.js";
3
+ import { B as _ } from "../../index.es-B1cewJEy.js";
4
+ import { G as v } from "../../index.es-BE1XL1dD.js";
5
+ import { I as W } from "../../index.es-BZkGOjEo.js";
6
+ import { S as j } from "../../index.es-BVW2k-5y.js";
7
+ import { c as G } from "../../index-_-9ybP20.js";
8
8
  import { useState as b } from "react";
9
9
  import { Iconify as H } from "../Iconify/Iconify.js";
10
10
  import { useBreakpoints as F } from "../../hooks/useBreakpoints.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as n, jsxs as M, Fragment as z } from "react/jsx-runtime";
2
- import { I as F } from "../../index.es-CkB4776y.js";
3
- import { M as j, L as D, a as k, b as H } from "../../index.es-Cg57snrN.js";
4
- import { c as r } from "../../index-Df2FYN-K.js";
2
+ import { I as F } from "../../index.es-BZkGOjEo.js";
3
+ import { M as j, L as D, a as k, b as H } from "../../index.es-_PSuLbjQ.js";
4
+ import { c as r } from "../../index-_-9ybP20.js";
5
5
  import { useState as E, useCallback as w, useEffect as G, useMemo as f, Fragment as J } from "react";
6
6
  import { createPortal as d } from "react-dom";
7
7
  import { useBreakpoints as K } from "../../hooks/useBreakpoints.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { C as m } from "../../../index.es-BcnmoCEg.js";
2
+ import { C as m } from "../../../index.es-BSaDtduL.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 x, jsxs as ye } from "react/jsx-runtime";
2
- import { B as wa } from "../../../index.es-B19PQgzU.js";
3
- import { b as u, a as o, c as d, d as s, r as ya, s as Pe, t as M, m as W, l as j, f as D, e as C, g as Pa, D as ka } from "../../../index.es-BwafUoK3.js";
4
- import { D as Ma } from "../../../index.es-C27R5Xae.js";
5
- import { P as $a } from "../../../index.es-DgncYOqO.js";
2
+ import { B as wa } from "../../../index.es-B1cewJEy.js";
3
+ import { b as u, a as o, c as d, d as s, r as ya, s as Pe, t as M, m as W, l as j, f as D, e as C, g as Pa, D as ka } from "../../../index.es-CVPUG1pf.js";
4
+ import { D as Ma } from "../../../index.es-0SkNh4dU.js";
5
+ import { P as $a } from "../../../index.es-C8AExypY.js";
6
6
  import { useMemo as T, useState as Wa } from "react";
7
7
  import { useFormContext as ja, Controller as Da } from "react-hook-form";
8
8
  import { useHelperText as za } from "../../../hooks/useHelperText.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { T as u } from "../../../index.es-B9BUXRQn.js";
2
+ import { T as u } from "../../../index.es-DsOSfaF5.js";
3
3
  import { g } from "../../../get-CBFiuc3f.js";
4
4
  import { o as f } from "../../../omit-BWQrFyQ-.js";
5
5
  import { useMemo as v } from "react";
@@ -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-DHnCVuQ8.js";
2
+ import { R as d } from "../../../index.es-DPGGEmi5.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) => {