@hortiview/shared-components 2.18.0 → 2.19.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.
- package/CHANGELOG.md +21 -0
- package/dist/{AlertBanner-aW6joVUm.js → AlertBanner-BFzaGOer.js} +3 -3
- package/dist/{GenericCard-IWX-Bmb_.js → GenericCard-grpa3KJR.js} +3 -3
- package/dist/ListAreaService-Y8wR14Xq.js +126 -0
- package/dist/{_Map-D8db_GOu.js → _Map-BYxTn6ob.js} +1 -1
- package/dist/{_commonjsHelpers-B4e78b8K.js → _commonjsHelpers-ByX85dGu.js} +18 -13
- package/dist/animationframe-CqXArbwZ.js +32 -0
- package/dist/assets/ListAreaService.css +1 -1
- package/dist/assets/LoadingSpinner.css +1 -1
- package/dist/component-By6nyiBU.js +70 -0
- package/dist/{component-DEJuY56h.js → component-DYpB_4EP.js} +1 -111
- package/dist/components/AlertBanner/AlertBanner.js +4 -4
- package/dist/components/AlertBanner/LinkBanner.js +3 -3
- package/dist/components/AllowedButton/AllowedButton.d.ts +1 -1
- package/dist/components/AllowedButton/AllowedButton.js +1 -1
- package/dist/components/AllowedIconButton/AllowedIconButton.d.ts +1 -1
- package/dist/components/AllowedIconButton/AllowedIconButton.js +1 -1
- package/dist/components/BaseView/BaseView.js +14 -14
- package/dist/components/BasicHeading/BasicHeading.js +5 -5
- package/dist/components/BlockView/BlockView.js +2 -2
- package/dist/components/ButtonCard/ButtonCard.js +6 -6
- package/dist/components/ChipCard/ChipCard.js +13 -255
- package/dist/components/ConfirmationModal/ConfirmationModal.js +8 -8
- package/dist/components/ContextMenu/ContextMenu.js +12 -12
- package/dist/components/DeleteModal/DeleteModal.js +25 -25
- package/dist/components/DetailContentWrapper/DetailContentWrapper.js +1 -1
- package/dist/components/Disclaimer/Disclaimer.js +3 -3
- package/dist/components/EmptyView/EmptyView.d.ts +10 -1
- package/dist/components/EmptyView/EmptyView.js +50 -34
- package/dist/components/Filter/Filter.js +15 -15
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +1 -1
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +7 -22
- package/dist/components/FormComponents/FormNumber/CustomTextField.js +3 -3
- package/dist/components/FormComponents/FormNumber/FormNumber.js +1 -1
- package/dist/components/FormComponents/FormRadio/FormRadio.js +1 -1
- package/dist/components/FormComponents/FormSelect/FormSelect.js +4 -4
- package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +2 -2
- package/dist/components/FormComponents/FormSlider/FormSlider.js +10 -98
- package/dist/components/FormComponents/FormText/FormText.js +2 -2
- package/dist/components/FormComponents/FormToggle/FormToggle.js +4 -4
- package/dist/components/FormattedNumberDisplay/FormattedNumberDisplay.js +1 -1
- package/dist/components/GenericTable/GenericTable.js +36 -172
- package/dist/components/GenericTable/GenericTableService.d.ts +4 -1
- package/dist/components/GenericTable/GenericTableService.js +24 -24
- package/dist/components/GenericTable/Mobile/GenericCard.js +4 -4
- package/dist/components/GenericTable/Mobile/GenericCardList.js +4 -4
- package/dist/components/HashTabView/HashTabView.js +10 -428
- package/dist/components/HeaderFilter/HeaderFilter.js +1 -1
- package/dist/components/Iconify/Iconify.js +2 -2
- package/dist/components/InfoCard/InfoCard.js +4 -4
- package/dist/components/InfoGroup/InfoGroup.js +4 -4
- package/dist/components/ListArea/ListArea.d.ts +5 -1
- package/dist/components/ListArea/ListArea.js +39 -36
- package/dist/components/ListArea/ListAreaService.js +6 -6
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +13 -5
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +44 -108
- package/dist/components/Modal/Modal.js +12 -122
- package/dist/components/ModulePadding/ModulePadding.js +11 -11
- package/dist/components/OfflineView/OfflineView.js +45 -7
- package/dist/components/OnboardingBanner/OnboardingBanner.js +8 -8
- package/dist/components/OverflowTooltip/OverflowTooltip.js +2 -2
- package/dist/components/SearchBar/SearchBar.js +2 -2
- package/dist/components/Select/Select.js +2 -2
- package/dist/components/Stepper/Stepper.js +1 -1
- package/dist/components/Stepper/components/StepperButton.js +1 -1
- package/dist/components/Stepper/components/StepperHeader.js +3 -3
- package/dist/components/Stepper/components/StepperItem.js +2 -2
- package/dist/{correct-is-regexp-logic-Y0ToWEjF.js → correct-is-regexp-logic-BJ-OWRrn.js} +1 -1
- package/dist/{defineProperty-BTsGZ3c1.js → defineProperty-B7N9EBBI.js} +3 -3
- package/dist/{es.string.iterator-UszlTFwY.js → es.string.iterator-DBx2A42F.js} +2 -2
- package/dist/{find-CHg-_ooq.js → find-eU9ab_u7.js} +4 -4
- package/dist/{get-DxjPG00Z.js → get-BLvvbtML.js} +3 -3
- package/dist/get-CBFiuc3f.js +7 -0
- package/dist/hooks/useBreakpoints.js +37 -3
- package/dist/hooks/useHelperText.js +1 -1
- package/dist/{identity-BVIVr9qu.js → identity-B0bbReND.js} +4 -4
- package/dist/{index-BcGujPyk.js → index-Df2FYN-K.js} +5 -26
- package/dist/{index.es-B8p8KCdj.js → index.es-B19PQgzU.js} +4 -4
- package/dist/{index.es-BYcQTTL8.js → index.es-B9BUXRQn.js} +9 -339
- package/dist/{index.es-BPv5dCFQ.js → index.es-BOG3_7IM.js} +12 -12
- package/dist/{index.es-DGoBge9W.js → index.es-BOvO8moE.js} +4 -4
- package/dist/{index.es-BoUnovl_.js → index.es-BcnmoCEg.js} +8 -74
- package/dist/{index.es-C32E1Lcb.js → index.es-BwafUoK3.js} +82 -147
- package/dist/{index.es-B1h6DPYp.js → index.es-C27R5Xae.js} +2 -2
- package/dist/{index.es-nwjKmW7-.js → index.es-C2IOpX7R.js} +34 -111
- package/dist/{index.es-Da7ok-B-.js → index.es-C6I3L4U4.js} +2 -2
- package/dist/{index.es-BHvm4m-B.js → index.es-Cg57snrN.js} +19 -261
- package/dist/{index.es-DUTChZks.js → index.es-Ci3O23C_.js} +6 -72
- package/dist/{index.es-t87yNd9Y.js → index.es-CkB4776y.js} +6 -72
- package/dist/{index.es-CeQB6igi.js → index.es-Cr1PSTyq.js} +3 -3
- package/dist/{index.es--C-VLspF.js → index.es-D1iB_QlE.js} +8 -140
- package/dist/{index.es-Dgxrk6xW.js → index.es-DEBGoIKX.js} +2 -2
- package/dist/{index.es-CWyjqoEE.js → index.es-DHnCVuQ8.js} +7 -73
- package/dist/{index.es-Bo-d_yTV.js → index.es-DHoIQ8lu.js} +2 -2
- package/dist/{index.es-SjZ_-d7U.js → index.es-DUrjyxNI.js} +5 -5
- package/dist/{index.es-Cfv794DG.js → index.es-DdeCB7LW.js} +1 -1
- package/dist/{index.es-BanVdXEd.js → index.es-DgncYOqO.js} +2 -2
- package/dist/{index.es-DOnQ26kT.js → index.es-DhlgTSuU.js} +3 -3
- package/dist/{index.es-oxil0uFe.js → index.es-Z0aF-7Cn.js} +3 -6
- package/dist/{index.es-DmRhbgqK.js → index.es-l_3PNohs.js} +2 -68
- package/dist/{isArray-B457bpaW.js → isArray-Ce1Q96lU.js} +1 -1
- package/dist/isArray-olhCpv2e.js +7 -0
- package/dist/{isEmpty-BnfHn4bl.js → isEmpty-l2xQKl4x.js} +3 -3
- package/dist/{isString-DVA49FEo.js → isString-BNdV0Jpg.js} +3 -3
- package/dist/{isTypedArray-DziahYkI.js → isTypedArray-D39qzPYE.js} +2 -2
- package/dist/{keyboard-DiKJoabs.js → keyboard-DbG3oyPU.js} +3 -25
- package/dist/main.js +15 -15
- package/dist/{map-BprzXv4m.js → map-ZSVweMI1.js} +5 -5
- package/dist/{omit-CYY_mIYv.js → omit-BWQrFyQ-.js} +7 -7
- package/dist/{orderBy-DLBJlgdL.js → orderBy-Ce85KqD6.js} +7 -7
- package/dist/{parse-int-D-3oah_F.js → parse-int-CGpIXMGa.js} +2 -2
- package/dist/{react-number-format.es-DzkMiF8j.js → react-number-format.es-pczkQ4lQ.js} +0 -1
- package/dist/{react-tooltip.min-CVsI--2Y.js → react-tooltip.min-Dkz5ltCC.js} +1 -12
- package/dist/{react.esm-Bm0cAgpZ.js → react.esm-DF7i80eN.js} +2471 -2582
- package/dist/services/UtilService.js +9 -9
- package/dist/{slicedToArray-ByMQIs5x.js → slicedToArray-DC6VAZtW.js} +4 -4
- package/dist/test-utils.js +1 -1
- package/dist/{toString-B7FIT8FE.js → toString-D5bEU-DN.js} +1 -1
- package/dist/types/GenericTable.d.ts +3 -3
- package/dist/{uniqueId-BNVTeImh.js → uniqueId-CJo-XRQb.js} +2 -2
- package/dist/{util-DA21pZXj.js → util-CBo-ipCE.js} +0 -22
- package/package.json +2 -2
- package/dist/BigLoadingSpinner-DGj9_Z5J.js +0 -16
- package/dist/ListAreaService-Fsm3-gDM.js +0 -125
- package/dist/OfflineView-CIwV08EQ.js +0 -48
- package/dist/animationframe-BVKDmEXe.js +0 -54
- package/dist/component-Bz_dtX1r.js +0 -114
- package/dist/components/AlertBanner/AlertBanner.test.d.ts +0 -1
- package/dist/components/AlertBanner/AlertBanner.test.js +0 -34
- package/dist/components/AlertBanner/LinkBanner.test.d.ts +0 -1
- package/dist/components/AlertBanner/LinkBanner.test.js +0 -17
- package/dist/components/Allowed/Allowed.test.d.ts +0 -1
- package/dist/components/Allowed/Allowed.test.js +0 -49
- package/dist/components/AllowedButton/AllowedButton.test.d.ts +0 -1
- package/dist/components/AllowedButton/AllowedButton.test.js +0 -126
- package/dist/components/AllowedIconButton/AllowedIconButton.test.d.ts +0 -1
- package/dist/components/AllowedIconButton/AllowedIconButton.test.js +0 -121
- package/dist/components/BaseView/BaseView.test.d.ts +0 -1
- package/dist/components/BaseView/BaseView.test.js +0 -180
- package/dist/components/BasicHeading/BasicHeading.test.d.ts +0 -1
- package/dist/components/BasicHeading/BasicHeading.test.js +0 -36
- package/dist/components/BlockView/BlockView.test.d.ts +0 -1
- package/dist/components/BlockView/BlockView.test.js +0 -47
- package/dist/components/ButtonCard/ButtonCard.test.d.ts +0 -1
- package/dist/components/ButtonCard/ButtonCard.test.js +0 -92
- package/dist/components/ChipCard/ChipCard.test.d.ts +0 -1
- package/dist/components/ChipCard/ChipCard.test.js +0 -25
- package/dist/components/ConfirmationModal/ConfirmationModal.test.d.ts +0 -1
- package/dist/components/ConfirmationModal/ConfirmationModal.test.js +0 -221
- package/dist/components/ContextMenu/ContextMenu.test.d.ts +0 -1
- package/dist/components/ContextMenu/ContextMenu.test.js +0 -96
- package/dist/components/DeleteModal/DeleteModal.test.d.ts +0 -1
- package/dist/components/DeleteModal/DeleteModal.test.js +0 -132
- package/dist/components/Disclaimer/Disclaimer.test.d.ts +0 -1
- package/dist/components/Disclaimer/Disclaimer.test.js +0 -13
- package/dist/components/EmptyView/EmptyView.test.d.ts +0 -1
- package/dist/components/EmptyView/EmptyView.test.js +0 -50
- package/dist/components/Filter/Filter.test.d.ts +0 -1
- package/dist/components/Filter/Filter.test.js +0 -166
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.test.d.ts +0 -1
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.test.js +0 -56
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.test.d.ts +0 -1
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.test.js +0 -56
- package/dist/components/FormComponents/FormNumber/FormNumber.test.d.ts +0 -1
- package/dist/components/FormComponents/FormNumber/FormNumber.test.js +0 -51
- package/dist/components/FormComponents/FormRadio/FormRadio.test.d.ts +0 -1
- package/dist/components/FormComponents/FormRadio/FormRadio.test.js +0 -73
- package/dist/components/FormComponents/FormSelect/FormSelect.test.d.ts +0 -1
- package/dist/components/FormComponents/FormSelect/FormSelect.test.js +0 -226
- package/dist/components/FormComponents/FormSlider/FormSlider.test.d.ts +0 -1
- package/dist/components/FormComponents/FormSlider/FormSlider.test.js +0 -49
- package/dist/components/FormComponents/FormText/FormText.test.d.ts +0 -1
- package/dist/components/FormComponents/FormText/FormText.test.js +0 -113
- package/dist/components/FormComponents/FormToggle/FormToggle.test.d.ts +0 -1
- package/dist/components/FormComponents/FormToggle/FormToggle.test.js +0 -54
- package/dist/components/GenericTable/GenericTable.test.d.ts +0 -1
- package/dist/components/GenericTable/GenericTable.test.js +0 -115
- package/dist/components/GenericTable/Mobile/GenericCard.test.d.ts +0 -1
- package/dist/components/GenericTable/Mobile/GenericCard.test.js +0 -76
- package/dist/components/GenericTable/Mobile/GenericCardList.test.d.ts +0 -1
- package/dist/components/GenericTable/Mobile/GenericCardList.test.js +0 -75
- package/dist/components/HashTabView/HashTabView.test.d.ts +0 -1
- package/dist/components/HashTabView/HashTabView.test.js +0 -31
- package/dist/components/HeaderFilter/HeaderFilter.test.d.ts +0 -1
- package/dist/components/HeaderFilter/HeaderFilter.test.js +0 -46
- package/dist/components/Iconify/Iconify.test.d.ts +0 -1
- package/dist/components/Iconify/Iconify.test.js +0 -28
- package/dist/components/InfoCard/InfoCard.test.d.ts +0 -1
- package/dist/components/InfoCard/InfoCard.test.js +0 -48
- package/dist/components/InfoGroup/InfoGroup.test.d.ts +0 -1
- package/dist/components/InfoGroup/InfoGroup.test.js +0 -40
- package/dist/components/ListArea/ListArea.test.d.ts +0 -1
- package/dist/components/ListArea/ListArea.test.js +0 -110
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.d.ts +0 -1
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +0 -15
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.test.d.ts +0 -1
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.test.js +0 -20
- package/dist/components/ModulePadding/ModulePadding.test.d.ts +0 -1
- package/dist/components/ModulePadding/ModulePadding.test.js +0 -22
- package/dist/components/OfflineView/OfflineView.test.d.ts +0 -1
- package/dist/components/OfflineView/OfflineView.test.js +0 -24
- package/dist/components/OnboardingBanner/OnboardingBanner.test.d.ts +0 -1
- package/dist/components/OnboardingBanner/OnboardingBanner.test.js +0 -72
- package/dist/components/OverflowTooltip/OverflowTooltip.test.d.ts +0 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.test.js +0 -37
- package/dist/components/PermissionChecks/PermissionService.test.d.ts +0 -1
- package/dist/components/PermissionChecks/PermissionService.test.js +0 -91
- package/dist/components/SafeForm/SafeForm.test.d.ts +0 -1
- package/dist/components/SafeForm/SafeForm.test.js +0 -91
- package/dist/components/Scrollbar/scrollbar.test.d.ts +0 -1
- package/dist/components/Scrollbar/scrollbar.test.js +0 -15
- package/dist/components/SearchBar/SearchBar.test.d.ts +0 -1
- package/dist/components/SearchBar/SearchBar.test.js +0 -23
- package/dist/components/Select/Select.test.d.ts +0 -1
- package/dist/components/Select/Select.test.js +0 -28
- package/dist/components/Stepper/Stepper.test.d.ts +0 -1
- package/dist/components/Stepper/Stepper.test.js +0 -342
- package/dist/components/VerticalDivider/VerticalDivider.test.d.ts +0 -1
- package/dist/components/VerticalDivider/VerticalDivider.test.js +0 -15
- package/dist/get-D8IXqiys.js +0 -7
- package/dist/hooks/useBreakpoints.test.d.ts +0 -1
- package/dist/hooks/useBreakpoints.test.js +0 -11
- package/dist/index-BLPBqbdx.js +0 -11025
- package/dist/isArray-BjSPDQ4v.js +0 -7
- package/dist/magic-string.es-uPKorP4O.js +0 -663
- package/dist/services/services.test.d.ts +0 -1
- package/dist/services/services.test.js +0 -106
- package/dist/useBreakpoints-MzTZ0tCT.js +0 -45
- package/dist/vi.bdSIJ99Y-B308Q-4w.js +0 -11963
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [2.19.0](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.18.1...v2.19.0) (2026-03-18)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* add loading state and custom spinner support to EmptyView component ([0bf67d8](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/0bf67d8b4c209a8a7248c68235faa20d9c9d6413))
|
|
6
|
+
* add non-interactive prop to ListArea component and update styles ([7d93cca](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/7d93cca72e59498b38f0f3b1b9512e463b5deb86))
|
|
7
|
+
* add permission handling to row actions ([8d9a9b8](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/8d9a9b88b36ca94c885cbcb543ba4d6c44d50b2d))
|
|
8
|
+
|
|
9
|
+
### Code Refactoring
|
|
10
|
+
|
|
11
|
+
* allowedIconButtonProps to allow the usage of htmlButtonElement props like "type" ([3ff7b1e](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/3ff7b1e2c2ec685c36758069f6030e06c4d0348b))
|
|
12
|
+
* update AllowedButtonProps to include HTML button element props ([0e019e5](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/0e019e5ea019f860d6f667a9d0a3d9f12e9b5d8f))
|
|
13
|
+
* update data handling in GenericTable and GenericTableService components ([0bdb591](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/0bdb5911564efecc8f7861ec6206bdbf0faaf40b))
|
|
14
|
+
* update LoadingSpinner component with new props and styles for centering ([1cde6e4](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/1cde6e4a1e259f37ee37b867e35d6eac649fe56c))
|
|
15
|
+
|
|
16
|
+
## [2.18.1](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.18.0...v2.18.1) (2026-03-10)
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* exclude test files from type definitions and build inputs ([bcac5b0](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/commit/bcac5b07608ddef902551dcec5d48a05351ed458))
|
|
21
|
+
|
|
1
22
|
## [2.18.0](https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared/compare/v2.17.0...v2.18.0) (2026-03-05)
|
|
2
23
|
|
|
3
24
|
### 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-
|
|
3
|
-
import { I as m } from "./index.es-
|
|
4
|
-
import { T as d } from "./index.es-
|
|
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";
|
|
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-
|
|
3
|
-
import { G as m, a as u, b as l } from "./index.es-
|
|
4
|
-
import {
|
|
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";
|
|
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 = {
|
|
@@ -0,0 +1,126 @@
|
|
|
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 O } from "./index.es-DEBGoIKX.js";
|
|
4
|
+
import { P as k } from "./index.es-DgncYOqO.js";
|
|
5
|
+
import { e as $, c as w, T as A } from "./index.es-DUrjyxNI.js";
|
|
6
|
+
import { c as j } from "./index-Df2FYN-K.js";
|
|
7
|
+
import { Iconify as H } from "./components/Iconify/Iconify.js";
|
|
8
|
+
import { AvailableCustomIcons as M } from "./enums/AvailableCustomIcons.js";
|
|
9
|
+
import './assets/ListAreaService.css';const P = "_fullWidth_a185b_1", R = "_mainElevation_a185b_6", W = "_searchbar_a185b_13", L = "_roundedBottom_a185b_21", q = "_primaryText_a185b_26", z = "_list_a185b_30", D = "_listItem_a185b_41", F = "_isSelected_a185b_65", J = "_noGroupHeaderMargin_a185b_74", K = "_indentGroupedElement_a185b_78", Q = "_isNotSelected_a185b_82", U = "_iconColor_a185b_92", V = "_overlineTitle_a185b_96", X = "_noOverlineTitle_a185b_101", Y = "_truncate_a185b_105", Z = "_truncateOverlineText_a185b_116", ee = "_hasNoRoundedEdges_a185b_121", te = "_hideArrowIcon_a185b_125", t = {
|
|
10
|
+
fullWidth: P,
|
|
11
|
+
mainElevation: R,
|
|
12
|
+
searchbar: W,
|
|
13
|
+
roundedBottom: L,
|
|
14
|
+
primaryText: q,
|
|
15
|
+
list: z,
|
|
16
|
+
listItem: D,
|
|
17
|
+
isSelected: F,
|
|
18
|
+
noGroupHeaderMargin: J,
|
|
19
|
+
indentGroupedElement: K,
|
|
20
|
+
isNotSelected: Q,
|
|
21
|
+
iconColor: U,
|
|
22
|
+
overlineTitle: V,
|
|
23
|
+
noOverlineTitle: X,
|
|
24
|
+
truncate: Y,
|
|
25
|
+
truncateOverlineText: Z,
|
|
26
|
+
hasNoRoundedEdges: ee,
|
|
27
|
+
hideArrowIcon: te
|
|
28
|
+
}, _e = (o, a, s, l) => {
|
|
29
|
+
const n = o.reduce((i, c) => {
|
|
30
|
+
const { groupName: e, groupComponent: _, ...d } = c;
|
|
31
|
+
return !e || typeof e != "string" || (i[e] || (i[e] = {
|
|
32
|
+
groupName: _ ?? /* @__PURE__ */ r(k, { children: /* @__PURE__ */ r($, { children: e }) }),
|
|
33
|
+
id: e,
|
|
34
|
+
items: []
|
|
35
|
+
}), i[e].items = [
|
|
36
|
+
...i[e].items,
|
|
37
|
+
b(d, a, s, l)
|
|
38
|
+
]), i;
|
|
39
|
+
}, {});
|
|
40
|
+
return Object.values(n);
|
|
41
|
+
}, ue = (o, a, s, l) => o.map((n) => b(n, a, s, l)), b = (o, a, s, l) => {
|
|
42
|
+
const {
|
|
43
|
+
id: n,
|
|
44
|
+
title: i,
|
|
45
|
+
subTitle: c,
|
|
46
|
+
route: e,
|
|
47
|
+
value: _,
|
|
48
|
+
noNavigation: d,
|
|
49
|
+
disabled: u,
|
|
50
|
+
icon: g,
|
|
51
|
+
iconType: v,
|
|
52
|
+
trailingIcon: h,
|
|
53
|
+
trailingIconType: y,
|
|
54
|
+
actionButton: f,
|
|
55
|
+
onClick: I,
|
|
56
|
+
customTitle: T,
|
|
57
|
+
listItemClassName: N,
|
|
58
|
+
overlineTitle: p,
|
|
59
|
+
"data-testid": x,
|
|
60
|
+
indentElement: E
|
|
61
|
+
} = o, m = a === e, C = j(
|
|
62
|
+
v !== "avatar" && t.listItem,
|
|
63
|
+
s,
|
|
64
|
+
N,
|
|
65
|
+
p ? t.overlineTitle : t.noOverlineTitle,
|
|
66
|
+
E && t.indentGroupedElement,
|
|
67
|
+
m ? t.isSelected : t.isNotSelected
|
|
68
|
+
);
|
|
69
|
+
return {
|
|
70
|
+
id: n,
|
|
71
|
+
key: n,
|
|
72
|
+
select: m,
|
|
73
|
+
primaryText: n,
|
|
74
|
+
secondaryText: /* @__PURE__ */ G(S, { direction: "vertical", gap: "none", children: [
|
|
75
|
+
T ?? /* @__PURE__ */ r(
|
|
76
|
+
w,
|
|
77
|
+
{
|
|
78
|
+
"data-testid": "title",
|
|
79
|
+
level: 1,
|
|
80
|
+
themeColor: m ? "primary" : void 0,
|
|
81
|
+
className: `${t.truncate} lmnt-theme-on-surface-active`,
|
|
82
|
+
children: i
|
|
83
|
+
}
|
|
84
|
+
),
|
|
85
|
+
c && !T ? /* @__PURE__ */ r(
|
|
86
|
+
A,
|
|
87
|
+
{
|
|
88
|
+
"data-testid": "subtitle",
|
|
89
|
+
level: 2,
|
|
90
|
+
themeColor: m ? "primary" : void 0,
|
|
91
|
+
className: `${t.truncate} lmnt-theme-on-surface-inactive`,
|
|
92
|
+
children: c
|
|
93
|
+
}
|
|
94
|
+
) : void 0
|
|
95
|
+
] }),
|
|
96
|
+
overlineText: p ? /* @__PURE__ */ r(
|
|
97
|
+
"span",
|
|
98
|
+
{
|
|
99
|
+
"data-testid": "overline-title",
|
|
100
|
+
className: `${t.truncate} ${t.truncateOverlineText}`,
|
|
101
|
+
children: p
|
|
102
|
+
}
|
|
103
|
+
) : void 0,
|
|
104
|
+
trailingBlock: f ?? h ?? /* @__PURE__ */ r(O, { icon: "arrow_right", className: t.iconColor }),
|
|
105
|
+
leadingBlock: oe(g),
|
|
106
|
+
value: _,
|
|
107
|
+
componentProps: {
|
|
108
|
+
id: n,
|
|
109
|
+
"data-testid": `${x ?? i}-list-item`,
|
|
110
|
+
key: n,
|
|
111
|
+
leadingBlockType: v ?? "icon",
|
|
112
|
+
trailingBlockType: y ?? "icon",
|
|
113
|
+
className: C,
|
|
114
|
+
onClick: (ne, B) => I?.(B),
|
|
115
|
+
tag: u || d ? void 0 : l ?? "a",
|
|
116
|
+
to: u || d ? void 0 : e,
|
|
117
|
+
disabled: u
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
}, oe = (o) => typeof o == "string" && o in M ? /* @__PURE__ */ r(H, { icon: o }) : o;
|
|
121
|
+
export {
|
|
122
|
+
ue as a,
|
|
123
|
+
_e as g,
|
|
124
|
+
b as m,
|
|
125
|
+
t as s
|
|
126
|
+
};
|
|
@@ -1,28 +1,33 @@
|
|
|
1
1
|
var u = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
-
function
|
|
2
|
+
function a(e) {
|
|
3
3
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function f(e) {
|
|
6
6
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
7
|
-
var
|
|
8
|
-
if (typeof
|
|
9
|
-
var t = function
|
|
10
|
-
|
|
7
|
+
var n = e.default;
|
|
8
|
+
if (typeof n == "function") {
|
|
9
|
+
var t = function r() {
|
|
10
|
+
var o = !1;
|
|
11
|
+
try {
|
|
12
|
+
o = this instanceof r;
|
|
13
|
+
} catch {
|
|
14
|
+
}
|
|
15
|
+
return o ? Reflect.construct(n, arguments, this.constructor) : n.apply(this, arguments);
|
|
11
16
|
};
|
|
12
|
-
t.prototype =
|
|
17
|
+
t.prototype = n.prototype;
|
|
13
18
|
} else t = {};
|
|
14
|
-
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(
|
|
15
|
-
var
|
|
16
|
-
Object.defineProperty(t,
|
|
19
|
+
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
|
|
20
|
+
var o = Object.getOwnPropertyDescriptor(e, r);
|
|
21
|
+
Object.defineProperty(t, r, o.get ? o : {
|
|
17
22
|
enumerable: !0,
|
|
18
23
|
get: function() {
|
|
19
|
-
return e[
|
|
24
|
+
return e[r];
|
|
20
25
|
}
|
|
21
26
|
});
|
|
22
27
|
}), t;
|
|
23
28
|
}
|
|
24
29
|
export {
|
|
25
|
-
|
|
30
|
+
f as a,
|
|
26
31
|
u as c,
|
|
27
|
-
|
|
32
|
+
a as g
|
|
28
33
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var o = (
|
|
2
|
+
/** @class */
|
|
3
|
+
(function() {
|
|
4
|
+
function a() {
|
|
5
|
+
this.rafIDs = /* @__PURE__ */ new Map();
|
|
6
|
+
}
|
|
7
|
+
return a.prototype.request = function(t, n) {
|
|
8
|
+
var e = this;
|
|
9
|
+
this.cancel(t);
|
|
10
|
+
var r = requestAnimationFrame(function(i) {
|
|
11
|
+
e.rafIDs.delete(t), n(i);
|
|
12
|
+
});
|
|
13
|
+
this.rafIDs.set(t, r);
|
|
14
|
+
}, a.prototype.cancel = function(t) {
|
|
15
|
+
var n = this.rafIDs.get(t);
|
|
16
|
+
n && (cancelAnimationFrame(n), this.rafIDs.delete(t));
|
|
17
|
+
}, a.prototype.cancelAll = function() {
|
|
18
|
+
var t = this;
|
|
19
|
+
this.rafIDs.forEach(function(n, e) {
|
|
20
|
+
t.cancel(e);
|
|
21
|
+
});
|
|
22
|
+
}, a.prototype.getQueue = function() {
|
|
23
|
+
var t = [];
|
|
24
|
+
return this.rafIDs.forEach(function(n, e) {
|
|
25
|
+
t.push(e);
|
|
26
|
+
}), t;
|
|
27
|
+
}, a;
|
|
28
|
+
})()
|
|
29
|
+
);
|
|
30
|
+
export {
|
|
31
|
+
o as A
|
|
32
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._fullWidth_a185b_1{width:100%;height:100%}._mainElevation_a185b_6{background:var(--lmnt-theme-background);width:100%;height:100%}._searchbar_a185b_13 div{border:none}._searchbar_a185b_13 button{margin-right:.5rem}._roundedBottom_a185b_21{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}._primaryText_a185b_26 [class*=mdc-list-item__primary-text]{display:none!important}._list_a185b_30{padding-top:0;padding-bottom:0;overflow-y:auto;scrollbar-width:thin}._list_a185b_30 [class*=mdc-list-item__overline-text]{margin-bottom:-2.25rem}._listItem_a185b_41:hover{background-color:var(--lmnt-theme-surface-variant)}._listItem_a185b_41 i:not(._trailingIcon_a185b_45){color:var(--lmnt-theme-on-surface-inactive)}._listItem_a185b_41 [class^="lmnt mdc-list-item__end"] i{color:var(--lmnt-theme-on-surface-disabled)}._listItem_a185b_41:focus-within [class^="lmnt mdc-list-item__end"] i{color:var(--lmnt-theme-primary)!important}._listItem_a185b_41 [class^=mdc-list-item__start]{margin:0 1rem!important;align-self:center!important}._listItem_a185b_41:focus [class^=mdc-list-item__start] i{color:var(--lmnt-theme-primary)!important}._listItem_a185b_41._isSelected_a185b_65 i,._listItem_a185b_41[aria-selected=true] i{color:var(--lmnt-theme-primary)!important}._groupedListItem_a185b_70{height:4.5rem!important}._noGroupHeaderMargin_a185b_74 h3{margin:0}._indentGroupedElement_a185b_78{padding-left:2.5rem!important}._isNotSelected_a185b_82 [class*=mdc-list-item__ripple]:before{opacity:inherit!important;background-color:inherit!important}._isSelected_a185b_65 [class*=mdc-list-item__ripple]:before{opacity:.2!important;background-color:var(--lmnt-theme-primary)!important}._iconColor_a185b_92{color:var(--lmnt-theme-on-surface-disabled)!important}._overlineTitle_a185b_96 [class*=mdc-list-item__overline-text]{color:var(--lmnt-theme-on-surface-inactive)!important;line-height:1rem!important}._noOverlineTitle_a185b_101 [class*=mdc-list-item__secondary-text] [class*=lmnt-group]{margin-top:-.875rem}._truncate_a185b_105{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_a185b_116{margin-bottom:-1rem!important;margin-top:-1rem!important}._hasNoRoundedEdges_a185b_121{border-radius:0rem!important}._hideArrowIcon_a185b_125 i{visibility:hidden}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._centered_1aq9c_1{width:100%;height:100%;display:grid;place-items:center}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { _ as r, a as u } from "./tslib.es6-BDCynO9F.js";
|
|
2
|
+
var a = (
|
|
3
|
+
/** @class */
|
|
4
|
+
(function() {
|
|
5
|
+
function t(e) {
|
|
6
|
+
e === void 0 && (e = {}), this.adapter = e;
|
|
7
|
+
}
|
|
8
|
+
return Object.defineProperty(t, "cssClasses", {
|
|
9
|
+
get: function() {
|
|
10
|
+
return {};
|
|
11
|
+
},
|
|
12
|
+
enumerable: !1,
|
|
13
|
+
configurable: !0
|
|
14
|
+
}), Object.defineProperty(t, "strings", {
|
|
15
|
+
get: function() {
|
|
16
|
+
return {};
|
|
17
|
+
},
|
|
18
|
+
enumerable: !1,
|
|
19
|
+
configurable: !0
|
|
20
|
+
}), Object.defineProperty(t, "numbers", {
|
|
21
|
+
get: function() {
|
|
22
|
+
return {};
|
|
23
|
+
},
|
|
24
|
+
enumerable: !1,
|
|
25
|
+
configurable: !0
|
|
26
|
+
}), Object.defineProperty(t, "defaultAdapter", {
|
|
27
|
+
get: function() {
|
|
28
|
+
return {};
|
|
29
|
+
},
|
|
30
|
+
enumerable: !1,
|
|
31
|
+
configurable: !0
|
|
32
|
+
}), t.prototype.init = function() {
|
|
33
|
+
}, t.prototype.destroy = function() {
|
|
34
|
+
}, t;
|
|
35
|
+
})()
|
|
36
|
+
);
|
|
37
|
+
var f = (
|
|
38
|
+
/** @class */
|
|
39
|
+
(function() {
|
|
40
|
+
function t(e, o) {
|
|
41
|
+
for (var n = [], i = 2; i < arguments.length; i++)
|
|
42
|
+
n[i - 2] = arguments[i];
|
|
43
|
+
this.root = e, this.initialize.apply(this, r([], u(n))), this.foundation = o === void 0 ? this.getDefaultFoundation() : o, this.foundation.init(), this.initialSyncWithDOM();
|
|
44
|
+
}
|
|
45
|
+
return t.attachTo = function(e) {
|
|
46
|
+
return new t(e, new a({}));
|
|
47
|
+
}, t.prototype.initialize = function() {
|
|
48
|
+
}, t.prototype.getDefaultFoundation = function() {
|
|
49
|
+
throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class");
|
|
50
|
+
}, t.prototype.initialSyncWithDOM = function() {
|
|
51
|
+
}, t.prototype.destroy = function() {
|
|
52
|
+
this.foundation.destroy();
|
|
53
|
+
}, t.prototype.listen = function(e, o, n) {
|
|
54
|
+
this.root.addEventListener(e, o, n);
|
|
55
|
+
}, t.prototype.unlisten = function(e, o, n) {
|
|
56
|
+
this.root.removeEventListener(e, o, n);
|
|
57
|
+
}, t.prototype.emit = function(e, o, n) {
|
|
58
|
+
n === void 0 && (n = !1);
|
|
59
|
+
var i;
|
|
60
|
+
typeof CustomEvent == "function" ? i = new CustomEvent(e, {
|
|
61
|
+
bubbles: n,
|
|
62
|
+
detail: o
|
|
63
|
+
}) : (i = document.createEvent("CustomEvent"), i.initCustomEvent(e, n, !1, o)), this.root.dispatchEvent(i);
|
|
64
|
+
}, t;
|
|
65
|
+
})()
|
|
66
|
+
);
|
|
67
|
+
export {
|
|
68
|
+
a as M,
|
|
69
|
+
f as a
|
|
70
|
+
};
|
|
@@ -1,27 +1,5 @@
|
|
|
1
1
|
import { b as E, c as v } from "./tslib.es6-BDCynO9F.js";
|
|
2
|
-
import { M as S, a as I } from "./component-
|
|
3
|
-
/**
|
|
4
|
-
* @license
|
|
5
|
-
* Copyright 2018 Google Inc.
|
|
6
|
-
*
|
|
7
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
9
|
-
* in the Software without restriction, including without limitation the rights
|
|
10
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
12
|
-
* furnished to do so, subject to the following conditions:
|
|
13
|
-
*
|
|
14
|
-
* The above copyright notice and this permission notice shall be included in
|
|
15
|
-
* all copies or substantial portions of the Software.
|
|
16
|
-
*
|
|
17
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
23
|
-
* THE SOFTWARE.
|
|
24
|
-
*/
|
|
2
|
+
import { M as S, a as I } from "./component-By6nyiBU.js";
|
|
25
3
|
function b(n, i) {
|
|
26
4
|
if (n.closest)
|
|
27
5
|
return n.closest(i);
|
|
@@ -76,28 +54,6 @@ function V(n, i, t) {
|
|
|
76
54
|
}
|
|
77
55
|
return { x: o, y: u };
|
|
78
56
|
}
|
|
79
|
-
/**
|
|
80
|
-
* @license
|
|
81
|
-
* Copyright 2019 Google Inc.
|
|
82
|
-
*
|
|
83
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
84
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
85
|
-
* in the Software without restriction, including without limitation the rights
|
|
86
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
87
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
88
|
-
* furnished to do so, subject to the following conditions:
|
|
89
|
-
*
|
|
90
|
-
* The above copyright notice and this permission notice shall be included in
|
|
91
|
-
* all copies or substantial portions of the Software.
|
|
92
|
-
*
|
|
93
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
94
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
95
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
96
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
97
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
98
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
99
|
-
* THE SOFTWARE.
|
|
100
|
-
*/
|
|
101
57
|
function p(n) {
|
|
102
58
|
return n === void 0 && (n = window), w(n) ? { passive: !0 } : !1;
|
|
103
59
|
}
|
|
@@ -119,28 +75,6 @@ function w(n) {
|
|
|
119
75
|
}
|
|
120
76
|
return i;
|
|
121
77
|
}
|
|
122
|
-
/**
|
|
123
|
-
* @license
|
|
124
|
-
* Copyright 2016 Google Inc.
|
|
125
|
-
*
|
|
126
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
127
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
128
|
-
* in the Software without restriction, including without limitation the rights
|
|
129
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
130
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
131
|
-
* furnished to do so, subject to the following conditions:
|
|
132
|
-
*
|
|
133
|
-
* The above copyright notice and this permission notice shall be included in
|
|
134
|
-
* all copies or substantial portions of the Software.
|
|
135
|
-
*
|
|
136
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
137
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
138
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
139
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
140
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
141
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
142
|
-
* THE SOFTWARE.
|
|
143
|
-
*/
|
|
144
78
|
var F = {
|
|
145
79
|
// Ripple is a special case where the "root" component is really a "mixin" of sorts,
|
|
146
80
|
// given that it's an 'upgrade' to an existing component. That being said it is the root
|
|
@@ -165,28 +99,6 @@ var F = {
|
|
|
165
99
|
TAP_DELAY_MS: 300
|
|
166
100
|
// Delay between touch and simulated mouse events on touch devices
|
|
167
101
|
};
|
|
168
|
-
/**
|
|
169
|
-
* @license
|
|
170
|
-
* Copyright 2016 Google Inc.
|
|
171
|
-
*
|
|
172
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
173
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
174
|
-
* in the Software without restriction, including without limitation the rights
|
|
175
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
176
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
177
|
-
* furnished to do so, subject to the following conditions:
|
|
178
|
-
*
|
|
179
|
-
* The above copyright notice and this permission notice shall be included in
|
|
180
|
-
* all copies or substantial portions of the Software.
|
|
181
|
-
*
|
|
182
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
183
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
184
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
185
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
186
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
187
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
188
|
-
* THE SOFTWARE.
|
|
189
|
-
*/
|
|
190
102
|
var y = [
|
|
191
103
|
"touchstart",
|
|
192
104
|
"pointerdown",
|
|
@@ -450,28 +362,6 @@ var y = [
|
|
|
450
362
|
}, i;
|
|
451
363
|
})(S)
|
|
452
364
|
);
|
|
453
|
-
/**
|
|
454
|
-
* @license
|
|
455
|
-
* Copyright 2016 Google Inc.
|
|
456
|
-
*
|
|
457
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
458
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
459
|
-
* in the Software without restriction, including without limitation the rights
|
|
460
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
461
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
462
|
-
* furnished to do so, subject to the following conditions:
|
|
463
|
-
*
|
|
464
|
-
* The above copyright notice and this permission notice shall be included in
|
|
465
|
-
* all copies or substantial portions of the Software.
|
|
466
|
-
*
|
|
467
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
468
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
469
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
470
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
471
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
472
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
473
|
-
* THE SOFTWARE.
|
|
474
|
-
*/
|
|
475
365
|
var U = (
|
|
476
366
|
/** @class */
|
|
477
367
|
(function(n) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../index.es-
|
|
3
|
-
import "../../index.es-
|
|
4
|
-
import "../../index.es-
|
|
5
|
-
import { A as e } from "../../AlertBanner-
|
|
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";
|
|
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-
|
|
3
|
-
import { T as s } from "../../index.es-
|
|
2
|
+
import { G as l } from "../../index.es-Z0aF-7Cn.js";
|
|
3
|
+
import { T as s } from "../../index.es-DUrjyxNI.js";
|
|
4
4
|
import { Iconify as p } from "../Iconify/Iconify.js";
|
|
5
|
-
import { A as m, s as c } from "../../AlertBanner-
|
|
5
|
+
import { A as m, s as c } from "../../AlertBanner-BFzaGOer.js";
|
|
6
6
|
const g = ({
|
|
7
7
|
text: n,
|
|
8
8
|
color: o = "info",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ButtonProps } from '@element-public/react-button';
|
|
2
2
|
import { IsAllowedProps } from '../PermissionChecks/PermissionService';
|
|
3
3
|
|
|
4
|
-
export type AllowedButtonProps = Omit<ButtonProps
|
|
4
|
+
export type AllowedButtonProps = Omit<ButtonProps & React.HTMLProps<HTMLButtonElement>, 'buttonSize' | 'variant' | 'type' | 'label' | 'size'> & {
|
|
5
5
|
/**
|
|
6
6
|
* This applies the html button type (button, submit, reset) or the anchor media type when used with the href property.
|
|
7
7
|
* Default: 'button'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { B as r } from "../../index.es-
|
|
2
|
+
import { B as r } from "../../index.es-B19PQgzU.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,7 +1,7 @@
|
|
|
1
1
|
import { IconButtonProps } from '@element-public/react-icon-button';
|
|
2
2
|
import { IsAllowedProps } from '../PermissionChecks/PermissionService';
|
|
3
3
|
|
|
4
|
-
export type AllowedIconButtonProps = Omit<IconButtonProps
|
|
4
|
+
export type AllowedIconButtonProps = Omit<IconButtonProps & React.HTMLProps<HTMLButtonElement>, 'variant' | 'iconType' | 'iconSize' | 'size'> & {
|
|
5
5
|
/**
|
|
6
6
|
* data-testid used for testing.
|
|
7
7
|
*/
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as e, Fragment as d, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { D as V } from "../../index.es-
|
|
3
|
-
import { G as l } from "../../index.es-
|
|
4
|
-
import { P as $ } from "../../index.es-
|
|
5
|
-
import { c as g } from "../../index-
|
|
2
|
+
import { D as V } from "../../index.es-C27R5Xae.js";
|
|
3
|
+
import { G as l } from "../../index.es-Z0aF-7Cn.js";
|
|
4
|
+
import { P as $ } from "../../index.es-DgncYOqO.js";
|
|
5
|
+
import { c as g } from "../../index-Df2FYN-K.js";
|
|
6
6
|
import { useMemo as n } from "react";
|
|
7
7
|
import { BasicHeading as w } from "../BasicHeading/BasicHeading.js";
|
|
8
8
|
import { EmptyView as y } from "../EmptyView/EmptyView.js";
|
|
9
9
|
import { ListArea as F } from "../ListArea/ListArea.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { useScrollableInfo as
|
|
13
|
-
import '../../assets/BaseView.css';const
|
|
14
|
-
fullHeight:
|
|
15
|
-
fullWidth:
|
|
16
|
-
maxWidth:
|
|
17
|
-
list:
|
|
18
|
-
desktopList:
|
|
10
|
+
import { useBreakpoints as M } from "../../hooks/useBreakpoints.js";
|
|
11
|
+
import { OfflineView as P } from "../OfflineView/OfflineView.js";
|
|
12
|
+
import { useScrollableInfo as T } from "./BaseView.service.js";
|
|
13
|
+
import '../../assets/BaseView.css';const q = "_fullHeight_71rfc_1", z = "_fullWidth_71rfc_5", J = "_maxWidth_71rfc_9", K = "_list_71rfc_13", O = "_desktopList_71rfc_22", Q = "_noRoundedCorners_71rfc_27", U = "_detail_71rfc_31", X = "_desktopDetail_71rfc_39", i = {
|
|
14
|
+
fullHeight: q,
|
|
15
|
+
fullWidth: z,
|
|
16
|
+
maxWidth: J,
|
|
17
|
+
list: K,
|
|
18
|
+
desktopList: O,
|
|
19
19
|
noRoundedCorners: Q,
|
|
20
20
|
detail: U,
|
|
21
21
|
desktopDetail: X
|
|
@@ -41,7 +41,7 @@ import '../../assets/BaseView.css';const T = "_fullHeight_71rfc_1", q = "_fullWi
|
|
|
41
41
|
searchPlaceholder: R,
|
|
42
42
|
isGrouped: A = !1
|
|
43
43
|
}) => {
|
|
44
|
-
const { isDesktopNavbar: o } = M(), t = n(() => r.find((a) => a.route === s), [s, r]), C = n(() => r.filter((a) => a.isAllowed !== !1), [r]), I = n(() => h ? t?.component ? t.component : o ? /* @__PURE__ */ e($, { className: i.fullWidth, children: /* @__PURE__ */ e(y, { title: m }) }) : /* @__PURE__ */ e(d, {}) : /* @__PURE__ */ e(
|
|
44
|
+
const { isDesktopNavbar: o } = M(), t = n(() => r.find((a) => a.route === s), [s, r]), C = n(() => r.filter((a) => a.isAllowed !== !1), [r]), I = n(() => h ? t?.component ? t.component : o ? /* @__PURE__ */ e($, { className: i.fullWidth, children: /* @__PURE__ */ e(y, { title: m }) }) : /* @__PURE__ */ e(d, {}) : /* @__PURE__ */ e(P, { ...p, fullWidth: !0 }), [t?.component, m, o, h, p]), { showList: S, showDetail: E } = n(() => o ? { showList: !0, showDetail: !0 } : { showList: !t, showDetail: !!t }, [t, o]), { ref: j, hasScrolled: G } = T([
|
|
45
45
|
s,
|
|
46
46
|
o
|
|
47
47
|
]);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as o, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { G as t } from "../../index.es-
|
|
3
|
-
import { I as A } from "../../index.es-
|
|
4
|
-
import { b as I, T as z } from "../../index.es-
|
|
5
|
-
import { c as m } from "../../index-
|
|
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";
|
|
6
6
|
import { Iconify as H } from "../Iconify/Iconify.js";
|
|
7
7
|
import { AvailableCustomIcons as q } from "../../enums/AvailableCustomIcons.js";
|
|
8
|
-
import {
|
|
8
|
+
import { useBreakpoints as w } from "../../hooks/useBreakpoints.js";
|
|
9
9
|
import { OverflowTooltip as x } from "../OverflowTooltip/OverflowTooltip.js";
|
|
10
10
|
import '../../assets/BasicHeading.css';const C = "_basicHeading_14qaz_1", N = "_inList_14qaz_13", T = "_actions_14qaz_17", B = "_invisible_14qaz_25", L = "_leadingIcon_14qaz_29", W = "_withAvatar_14qaz_33", j = "_iconContainer_14qaz_39", e = {
|
|
11
11
|
basicHeading: C,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as v, jsx as o, Fragment as h } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { c as M } from "../../index-
|
|
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
4
|
import { useState as V, useEffect as q, useMemo as G } from "react";
|
|
5
5
|
import { getBlockNumberByDto as H } from "../../services/BlockService.js";
|
|
6
6
|
import '../../assets/BlockView.css';const I = "_grid_1ym34_1", J = "_blockLayout_1ym34_11", K = "_blockRow_1ym34_22", O = "_block_1ym34_11", P = "_active_1ym34_41", Q = "_error_1ym34_46", U = "_empty_1ym34_52", W = "_activeBlock_1ym34_56", X = "_blockText_1ym34_60", Y = "_emptyLayout_1ym34_70", t = {
|