@hortiview/shared-components 2.27.4 → 2.28.0-alpha.fb31ea7e.1
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/{dist/AlertBanner-C9TvBTkH.js → AlertBanner-2rv7mRmR.js} +1 -1
- package/{dist/GenericCard-2v0lBsVu.js → GenericCard-DglXAprV.js} +6 -6
- package/{dist/ListAreaService-PaN1DrXf.js → ListAreaService-DkGcBcwz.js} +6 -6
- package/{dist/component-DYpB_4EP.js → component-9vrShqiY.js} +37 -37
- package/{dist/components → components}/AlertBanner/AlertBanner.d.ts +1 -1
- package/{dist/components → components}/AlertBanner/AlertBanner.js +2 -2
- package/{dist/components → components}/AlertBanner/LinkBanner.d.ts +1 -2
- package/{dist/components → components}/AlertBanner/LinkBanner.js +2 -2
- package/{dist/components → components}/Allowed/Allowed.d.ts +1 -2
- package/{dist/components → components}/AllowedButton/AllowedButton.d.ts +1 -2
- package/{dist/components → components}/AllowedButton/AllowedButton.js +1 -1
- package/{dist/components → components}/AllowedIconButton/AllowedIconButton.d.ts +1 -2
- package/{dist/components → components}/AllowedIconButton/AllowedIconButton.js +1 -1
- package/{dist/components → components}/BaseView/BaseView.d.ts +1 -2
- package/{dist/components → components}/BaseView/BaseView.js +1 -1
- package/{dist/components → components}/BasicHeading/BasicHeading.d.ts +1 -2
- package/{dist/components → components}/BasicHeading/BasicHeading.js +5 -5
- package/{dist/components → components}/BlockView/BlockView.d.ts +1 -2
- package/{dist/components → components}/BlockView/BlockView.js +2 -2
- package/{dist/components → components}/ButtonCard/ButtonCard.d.ts +1 -2
- package/{dist/components → components}/ButtonCard/ButtonCard.js +5 -5
- package/{dist/components → components}/ChipCard/ChipCard.d.ts +1 -1
- package/{dist/components → components}/ChipCard/ChipCard.js +2 -2
- package/{dist/components → components}/ConfirmationModal/ConfirmationModal.d.ts +1 -2
- package/{dist/components → components}/ConfirmationModal/ConfirmationModal.js +7 -7
- package/{dist/components → components}/ContextMenu/ContextMenu.d.ts +1 -2
- package/{dist/components → components}/ContextMenu/ContextMenu.js +3 -3
- package/{dist/components → components}/DeleteModal/DeleteModal.d.ts +1 -2
- package/{dist/components → components}/DeleteModal/DeleteModal.js +7 -7
- package/{dist/components → components}/DetailContentWrapper/DetailContentWrapper.d.ts +1 -2
- package/{dist/components → components}/Disclaimer/Disclaimer.d.ts +1 -1
- package/{dist/components → components}/Disclaimer/Disclaimer.js +1 -1
- package/{dist/components → components}/EmptyView/EmptyView.d.ts +1 -2
- package/{dist/components → components}/EmptyView/EmptyView.js +5 -5
- package/{dist/components → components}/Filter/Filter.d.ts +1 -2
- package/{dist/components → components}/Filter/Filter.js +9 -9
- package/{dist/components → components}/FloatingActionButton/FloatingActionButton.d.ts +1 -2
- package/{dist/components → components}/FloatingActionButton/FloatingActionButton.js +3 -3
- package/{dist/components → components}/FormComponents/FormCheckBox/FormCheckBox.d.ts +1 -2
- package/{dist/components → components}/FormComponents/FormCheckBox/FormCheckBox.js +1 -1
- package/{dist/components → components}/FormComponents/FormDatePicker/FormDatePicker.d.ts +1 -2
- package/{dist/components → components}/FormComponents/FormDatePicker/FormDatePicker.js +1 -1
- package/{dist/components → components}/FormComponents/FormNumber/CustomTextField.d.ts +1 -2
- package/{dist/components → components}/FormComponents/FormNumber/CustomTextField.js +5 -5
- package/{dist/components → components}/FormComponents/FormNumber/FormNumber.d.ts +1 -2
- package/{dist/components → components}/FormComponents/FormNumber/FormNumber.js +1 -1
- package/{dist/components → components}/FormComponents/FormRadio/FormRadio.d.ts +1 -2
- package/{dist/components → components}/FormComponents/FormRadio/FormRadio.js +1 -1
- package/{dist/components → components}/FormComponents/FormSelect/FormSelect.d.ts +1 -2
- package/{dist/components → components}/FormComponents/FormSelect/FormSelect.js +2 -2
- package/{dist/components → components}/FormComponents/FormSelect/FormSelectService.d.ts +0 -1
- package/{dist/components → components}/FormComponents/FormSelect/SelectTooltipText.d.ts +1 -2
- package/{dist/components → components}/FormComponents/FormSelect/SelectTooltipText.js +1 -1
- package/{dist/components → components}/FormComponents/FormSlider/FormSlider.d.ts +1 -2
- package/{dist/components → components}/FormComponents/FormSlider/FormSlider.js +2 -2
- package/{dist/components → components}/FormComponents/FormText/FormText.d.ts +1 -2
- package/{dist/components → components}/FormComponents/FormText/FormText.js +2 -2
- package/{dist/components → components}/FormComponents/FormToggle/FormToggle.d.ts +1 -2
- package/{dist/components → components}/FormComponents/FormToggle/FormToggle.js +2 -2
- package/{dist/components → components}/FormattedNumberDisplay/FormattedNumberDisplay.d.ts +1 -2
- package/{dist/components → components}/FormattedNumberDisplay/FormattedNumberDisplay.js +1 -1
- package/{dist/components → components}/GenericTable/GenericTable.d.ts +1 -2
- package/{dist/components → components}/GenericTable/GenericTable.js +670 -670
- package/{dist/components → components}/GenericTable/GenericTableService.d.ts +0 -1
- package/{dist/components → components}/GenericTable/Mobile/GenericCard.d.ts +1 -2
- package/{dist/components → components}/GenericTable/Mobile/GenericCard.js +3 -3
- package/{dist/components → components}/GenericTable/Mobile/GenericCardList.d.ts +0 -1
- package/{dist/components → components}/GenericTable/Mobile/GenericCardList.js +2 -2
- package/{dist/components → components}/HashTabView/HashTabView.d.ts +1 -2
- package/{dist/components → components}/HashTabView/HashTabView.js +2 -2
- package/{dist/components → components}/HeaderFilter/HeaderFilter.d.ts +1 -2
- package/{dist/components → components}/HeaderFilter/HeaderFilter.js +1 -1
- package/{dist/components → components}/Iconify/Iconify.d.ts +0 -1
- package/{dist/components → components}/InfoCard/InfoCard.d.ts +1 -1
- package/{dist/components → components}/InfoCard/InfoCard.js +2 -2
- package/{dist/components → components}/InfoGroup/InfoGroup.d.ts +1 -2
- package/{dist/components → components}/InfoGroup/InfoGroup.js +3 -3
- package/{dist/components → components}/ListArea/ListArea.d.ts +1 -2
- package/{dist/components → components}/ListArea/ListArea.js +2 -2
- package/{dist/components → components}/ListArea/ListAreaService.d.ts +4 -5
- package/{dist/components → components}/ListArea/ListAreaService.js +2 -2
- package/{dist/components → components}/LoadingSpinner/Big/BigLoadingSpinner.d.ts +1 -1
- package/{dist/components → components}/LoadingSpinner/Big/BigLoadingSpinner.js +1 -1
- package/{dist/components → components}/LoadingSpinner/Default/LoadingSpinner.d.ts +1 -1
- package/{dist/components → components}/LoadingSpinner/Default/LoadingSpinner.js +6 -6
- package/{dist/components → components}/Modal/Modal.d.ts +1 -2
- package/{dist/components → components}/Modal/Modal.js +3 -3
- package/{dist/components → components}/ModulePadding/ModulePadding.d.ts +1 -2
- package/{dist/components → components}/ModulePadding/ModulePadding.js +7 -7
- package/{dist/components → components}/OfflineView/OfflineView.d.ts +1 -1
- package/{dist/components → components}/OfflineView/OfflineView.js +2 -2
- package/{dist/components → components}/OnboardingBanner/OnboardingBanner.d.ts +1 -2
- package/{dist/components → components}/OnboardingBanner/OnboardingBanner.js +4 -4
- package/{dist/components → components}/OverflowTooltip/OverflowTooltip.d.ts +1 -1
- package/{dist/components → components}/OverflowTooltip/OverflowTooltip.js +2 -2
- package/{dist/components → components}/PermissionChecks/PermissionService.d.ts +0 -1
- package/{dist/components → components}/SafeForm/SafeForm.d.ts +1 -1
- package/{dist/components → components}/SearchBar/SearchBar.d.ts +1 -2
- package/{dist/components → components}/SearchBar/SearchBar.js +2 -2
- package/{dist/components → components}/Select/Select.d.ts +1 -2
- package/{dist/components → components}/Select/Select.js +4 -4
- package/{dist/components → components}/SharedComponentsPermissionProvider/PermissionContext.d.ts +0 -1
- package/{dist/components → components}/SharedComponentsPermissionProvider/SharedComponentsPermissionProvider.d.ts +1 -2
- package/{dist/components → components}/Stepper/Stepper.d.ts +1 -2
- package/{dist/components → components}/Stepper/components/StepperButton.d.ts +2 -3
- package/{dist/components → components}/Stepper/components/StepperButton.js +1 -1
- package/{dist/components → components}/Stepper/components/StepperHeader.d.ts +1 -2
- package/{dist/components → components}/Stepper/components/StepperHeader.js +2 -2
- package/{dist/components → components}/Stepper/components/StepperItem.d.ts +1 -2
- package/{dist/components → components}/Stepper/components/StepperItem.js +1 -1
- package/{dist/components → components}/Stepper/stepperTypes.d.ts +0 -1
- package/{dist/components → components}/TopBarBanner/TopBarBanner.d.ts +1 -1
- package/{dist/components → components}/TopBarBanner/TopBarBanner.js +2 -2
- package/{dist/components → components}/VerticalDivider/VerticalDivider.d.ts +1 -1
- package/{dist/hooks → hooks}/useBreakpoints.d.ts +7 -19
- package/hooks/useBreakpoints.js +6 -0
- package/{dist/hooks → hooks}/useContainerWidth.d.ts +0 -1
- package/hooks/useDesktopBreakpoints.d.ts +19 -0
- package/hooks/useDesktopBreakpoints.js +4 -0
- package/{dist/hooks → hooks}/useHelperText.d.ts +0 -1
- package/{dist/index.es-CxQjsRHK.js → index.es-74LdeLp0.js} +9 -9
- package/{dist/index.es-BSaDtduL.js → index.es-B7KXUg_Y.js} +1 -1
- package/{dist/index.es-B1cewJEy.js → index.es-B9C7vzr4.js} +1 -1
- package/{dist/index.es-_PSuLbjQ.js → index.es-BIgjyLDa.js} +6 -6
- package/{dist/index.es-DPGGEmi5.js → index.es-BTF3Ci4c.js} +1 -1
- package/{dist/index.es-BZkGOjEo.js → index.es-BwhRJBEH.js} +1 -1
- package/{dist/index.es-CpPnZRt7.js → index.es-ByqU-v6T.js} +166 -166
- package/{dist/index.es-BajVPGKH.js → index.es-C2dbad7Y.js} +4 -4
- package/{dist/index.es-5Wxrzmtf.js → index.es-CJIPOFSz.js} +2 -2
- package/{dist/index.es-EXzC8zuP.js → index.es-CdZp67J9.js} +4 -4
- package/{dist/index.es-CwgwR6SB.js → index.es-CduUloMP.js} +1 -1
- package/{dist/index.es-BVW2k-5y.js → index.es-DCWPAtXu.js} +1 -1
- package/{dist/index.es-DHL1mFb3.js → index.es-DglJcc2r.js} +2 -2
- package/{dist/isString-C0tJxuT4.js → isString-LDbI4UeI.js} +1 -1
- package/{dist/main.d.ts → main.d.ts} +9 -6
- package/{dist/main.js → main.js} +61 -60
- package/{dist/omit-BWQrFyQ-.js → omit-DUqu4lDk.js} +196 -203
- package/package.json +12 -91
- package/{dist/react-number-format.es-pczkQ4lQ.js → react-number-format.es-8jxpHyYy.js} +192 -183
- package/react-tooltip.min-DKaGxvdz.js +1411 -0
- package/react.esm-B3AK8zW1.js +15136 -0
- package/{dist/services → services}/BlockService.d.ts +0 -1
- package/{dist/services → services}/NumberService.d.ts +0 -1
- package/{dist/services → services}/UtilService.d.ts +0 -1
- package/{dist/services → services}/UtilService.js +4 -4
- package/{dist/test-utils.d.ts → test-utils.d.ts} +1 -2
- package/{dist/test-utils.js → test-utils.js} +1 -1
- package/{dist/types → types}/GenericTable.d.ts +0 -1
- package/{dist/types → types}/ListElement.d.ts +0 -1
- package/{dist/hooks/useBreakpoints.js → useBreakpoints-DDrM9Cfx.js} +27 -25
- package/CHANGELOG.md +0 -786
- package/README.md +0 -1387
- package/dist/react-tooltip.min-D7xPMD-P.js +0 -1390
- package/dist/react.esm-DF7i80eN.js +0 -13658
- /package/{dist/_Map-BYxTn6ob.js → _Map-BYxTn6ob.js} +0 -0
- /package/{dist/_commonjsHelpers-ByX85dGu.js → _commonjsHelpers-ByX85dGu.js} +0 -0
- /package/{dist/animationframe-CqXArbwZ.js → animationframe-CqXArbwZ.js} +0 -0
- /package/{dist/assets → assets}/AlertBanner.css +0 -0
- /package/{dist/assets → assets}/BaseView.css +0 -0
- /package/{dist/assets → assets}/BasicHeading.css +0 -0
- /package/{dist/assets → assets}/BigLoadingSpinner.css +0 -0
- /package/{dist/assets → assets}/BlockView.css +0 -0
- /package/{dist/assets → assets}/ButtonCard.css +0 -0
- /package/{dist/assets → assets}/ChipCard.css +0 -0
- /package/{dist/assets → assets}/ConfirmationModal.css +0 -0
- /package/{dist/assets → assets}/ContextMenu.css +0 -0
- /package/{dist/assets → assets}/CustomTextField.css +0 -0
- /package/{dist/assets → assets}/DeleteModal.css +0 -0
- /package/{dist/assets → assets}/DetailContentWrapper.css +0 -0
- /package/{dist/assets → assets}/Disclaimer.css +0 -0
- /package/{dist/assets → assets}/EmptyView.css +0 -0
- /package/{dist/assets → assets}/Filter.css +0 -0
- /package/{dist/assets → assets}/FloatingActionButton.css +0 -0
- /package/{dist/assets → assets}/FormCheckBox.css +0 -0
- /package/{dist/assets → assets}/FormDatePicker.css +0 -0
- /package/{dist/assets → assets}/FormSelect.css +0 -0
- /package/{dist/assets → assets}/FormText.css +0 -0
- /package/{dist/assets → assets}/GenericCard.css +0 -0
- /package/{dist/assets → assets}/GenericTable.css +0 -0
- /package/{dist/assets → assets}/HashTabView.css +0 -0
- /package/{dist/assets → assets}/HeaderFilter.css +0 -0
- /package/{dist/assets → assets}/Iconify.css +0 -0
- /package/{dist/assets → assets}/InfoCard.css +0 -0
- /package/{dist/assets → assets}/InfoGroup.css +0 -0
- /package/{dist/assets → assets}/ListAreaService.css +0 -0
- /package/{dist/assets → assets}/LoadingSpinner.css +0 -0
- /package/{dist/assets → assets}/Modal.css +0 -0
- /package/{dist/assets → assets}/ModulePadding.css +0 -0
- /package/{dist/assets → assets}/OfflineView.css +0 -0
- /package/{dist/assets → assets}/OnboardingBanner.css +0 -0
- /package/{dist/assets → assets}/OverflowTooltip.css +0 -0
- /package/{dist/assets → assets}/Scrollbar.css +0 -0
- /package/{dist/assets → assets}/SearchBar.css +0 -0
- /package/{dist/assets → assets}/Select.css +0 -0
- /package/{dist/assets → assets}/TopBarBanner.css +0 -0
- /package/{dist/assets → assets}/VerticalDivider.css +0 -0
- /package/{dist/assets → assets}/stepper.css +0 -0
- /package/{dist/component-By6nyiBU.js → component-By6nyiBU.js} +0 -0
- /package/{dist/components → components}/Allowed/Allowed.js +0 -0
- /package/{dist/components → components}/BaseView/BaseView.service.d.ts +0 -0
- /package/{dist/components → components}/BaseView/BaseView.service.js +0 -0
- /package/{dist/components → components}/DetailContentWrapper/DetailContentWrapper.js +0 -0
- /package/{dist/components → components}/FormComponents/FormDatePicker/FormDatePickerService.d.ts +0 -0
- /package/{dist/components → components}/FormComponents/FormDatePicker/FormDatePickerService.js +0 -0
- /package/{dist/components → components}/FormComponents/FormSelect/FormSelectService.js +0 -0
- /package/{dist/components → components}/GenericTable/GenericTableService.js +0 -0
- /package/{dist/components → components}/Iconify/Iconify.js +0 -0
- /package/{dist/components → components}/OverflowTooltip/OverflowTooltipService.d.ts +0 -0
- /package/{dist/components → components}/OverflowTooltip/OverflowTooltipService.js +0 -0
- /package/{dist/components → components}/PermissionChecks/PermissionService.js +0 -0
- /package/{dist/components → components}/PermissionChecks/mockedPermissions.d.ts +0 -0
- /package/{dist/components → components}/PermissionChecks/mockedPermissions.js +0 -0
- /package/{dist/components → components}/SafeForm/SafeForm.js +0 -0
- /package/{dist/components → components}/Scrollbar/Scrollbar.d.ts +0 -0
- /package/{dist/components → components}/Scrollbar/Scrollbar.js +0 -0
- /package/{dist/components → components}/SharedComponentsPermissionProvider/PermissionContext.js +0 -0
- /package/{dist/components → components}/SharedComponentsPermissionProvider/SharedComponentsPermissionProvider.js +0 -0
- /package/{dist/components → components}/Stepper/Stepper.js +0 -0
- /package/{dist/components → components}/Stepper/stepperStyles.d.ts +0 -0
- /package/{dist/components → components}/Stepper/stepperStyles.js +0 -0
- /package/{dist/components → components}/Stepper/stepperTypes.js +0 -0
- /package/{dist/components → components}/VerticalDivider/VerticalDivider.js +0 -0
- /package/{dist/defineProperty-SoB5opr-.js → defineProperty-SoB5opr-.js} +0 -0
- /package/{dist/enums → enums}/AvailableCustomIcons.d.ts +0 -0
- /package/{dist/enums → enums}/AvailableCustomIcons.js +0 -0
- /package/{dist/enums → enums}/ThemeColor.d.ts +0 -0
- /package/{dist/enums → enums}/ThemeColor.js +0 -0
- /package/{dist/es.string.iterator-BrOvr7F6.js → es.string.iterator-BrOvr7F6.js} +0 -0
- /package/{dist/find-OaLSg5iu.js → find-OaLSg5iu.js} +0 -0
- /package/{dist/get-BLvvbtML.js → get-BLvvbtML.js} +0 -0
- /package/{dist/get-CBFiuc3f.js → get-CBFiuc3f.js} +0 -0
- /package/{dist/hooks → hooks}/useContainerWidth.js +0 -0
- /package/{dist/hooks → hooks}/useHelperText.js +0 -0
- /package/{dist/identity-B0bbReND.js → identity-B0bbReND.js} +0 -0
- /package/{dist/includes-CSD_V_RY.js → includes-CSD_V_RY.js} +0 -0
- /package/{dist/index-CuHybtft.js → index-CuHybtft.js} +0 -0
- /package/{dist/index-_-9ybP20.js → index-_-9ybP20.js} +0 -0
- /package/{dist/index.es-0SkNh4dU.js → index.es-0SkNh4dU.js} +0 -0
- /package/{dist/index.es-BE1XL1dD.js → index.es-BE1XL1dD.js} +0 -0
- /package/{dist/index.es-C2ejWpji.js → index.es-C2ejWpji.js} +0 -0
- /package/{dist/index.es-C8AExypY.js → index.es-C8AExypY.js} +0 -0
- /package/{dist/index.es-CNrSvjAv.js → index.es-CNrSvjAv.js} +0 -0
- /package/{dist/index.es-CTKwa3Es.js → index.es-CTKwa3Es.js} +0 -0
- /package/{dist/index.es-DRC-9PLs.js → index.es-DRC-9PLs.js} +0 -0
- /package/{dist/index.es-LckFzDz-.js → index.es-LckFzDz-.js} +0 -0
- /package/{dist/index.es-Pc5KKhcb.js → index.es-Pc5KKhcb.js} +0 -0
- /package/{dist/index.es-eZDofmng.js → index.es-eZDofmng.js} +0 -0
- /package/{dist/isArray-Ce1Q96lU.js → isArray-Ce1Q96lU.js} +0 -0
- /package/{dist/isArray-olhCpv2e.js → isArray-olhCpv2e.js} +0 -0
- /package/{dist/isEmpty-l2xQKl4x.js → isEmpty-l2xQKl4x.js} +0 -0
- /package/{dist/isTypedArray-D39qzPYE.js → isTypedArray-D39qzPYE.js} +0 -0
- /package/{dist/keyboard-DQ9O_Ke1.js → keyboard-DQ9O_Ke1.js} +0 -0
- /package/{dist/map-BErBeya5.js → map-BErBeya5.js} +0 -0
- /package/{dist/orderBy-Ce85KqD6.js → orderBy-Ce85KqD6.js} +0 -0
- /package/{dist/parse-int-BYd7r_4n.js → parse-int-BYd7r_4n.js} +0 -0
- /package/{dist/services → services}/BlockService.js +0 -0
- /package/{dist/services → services}/NumberService.js +0 -0
- /package/{dist/slicedToArray-C2Ed3239.js → slicedToArray-C2Ed3239.js} +0 -0
- /package/{dist/stepper.module-C_EMu-Fl.js → stepper.module-C_EMu-Fl.js} +0 -0
- /package/{dist/string-trim-v5pkXsl2.js → string-trim-v5pkXsl2.js} +0 -0
- /package/{dist/toString-D5bEU-DN.js → toString-D5bEU-DN.js} +0 -0
- /package/{dist/tslib.es6-BDCynO9F.js → tslib.es6-BDCynO9F.js} +0 -0
- /package/{dist/types → types}/Filter.d.ts +0 -0
- /package/{dist/types → types}/Filter.js +0 -0
- /package/{dist/types → types}/GenericTable.js +0 -0
- /package/{dist/types → types}/HashTab.d.ts +0 -0
- /package/{dist/types → types}/HashTab.js +0 -0
- /package/{dist/types → types}/Languages.d.ts +0 -0
- /package/{dist/types → types}/Languages.js +0 -0
- /package/{dist/types → types}/ListElement.js +0 -0
- /package/{dist/types → types}/Permission.d.ts +0 -0
- /package/{dist/types → types}/Permission.js +0 -0
- /package/{dist/types → types}/Time.d.ts +0 -0
- /package/{dist/types → types}/Time.js +0 -0
- /package/{dist/types → types}/internal/Block.d.ts +0 -0
- /package/{dist/types → types}/internal/Block.js +0 -0
- /package/{dist/types → types}/internal/ChangeValueType.d.ts +0 -0
- /package/{dist/types → types}/internal/ChangeValueType.js +0 -0
- /package/{dist/types → types}/internal/ReactRouterTypes.d.ts +0 -0
- /package/{dist/types → types}/internal/ReactRouterTypes.js +0 -0
- /package/{dist/uniqueId-CJo-XRQb.js → uniqueId-CJo-XRQb.js} +0 -0
- /package/{dist/util-CBo-ipCE.js → util-CBo-ipCE.js} +0 -0
- /package/{dist/vite-env.d.js → vite-env.d.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n, Fragment as t, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { G as _ } from "./index.es-BE1XL1dD.js";
|
|
3
3
|
import { I as m } from "./index.es-LckFzDz-.js";
|
|
4
|
-
import { T as d } from "./index.es-
|
|
4
|
+
import { T as d } from "./index.es-CdZp67J9.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,8 +1,8 @@
|
|
|
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
|
|
4
|
-
import {
|
|
5
|
-
import { useMemo as
|
|
2
|
+
import { C, a as y, b as T, c as g, d as v } from "./index.es-DglJcc2r.js";
|
|
3
|
+
import { G as b, a as m, b as l } from "./index.es-C2ejWpji.js";
|
|
4
|
+
import { b as f } from "./index.es-CdZp67J9.js";
|
|
5
|
+
import { useMemo as u } 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 = {
|
|
8
8
|
cardTitle: x,
|
|
@@ -21,7 +21,7 @@ import './assets/GenericCard.css';const x = "_cardTitle_1w5we_1", B = "_cardBody
|
|
|
21
21
|
tabletCol: 4,
|
|
22
22
|
verticalAlign: "bottom"
|
|
23
23
|
}, q = ({ item: e, columns: t, hiddenColumns: o }) => {
|
|
24
|
-
const d = t.find((a) => a.asCardTitle), w = t.find((a) => a.asCardSubtitle), p =
|
|
24
|
+
const d = t.find((a) => a.asCardTitle), w = t.find((a) => a.asCardSubtitle), p = u(
|
|
25
25
|
() => t.filter(
|
|
26
26
|
(a) => !a.asCardTitle && !a.asCardSubtitle && a.id !== "actions"
|
|
27
27
|
),
|
|
@@ -34,7 +34,7 @@ import './assets/GenericCard.css';const x = "_cardTitle_1w5we_1", B = "_cardBody
|
|
|
34
34
|
"data-testid": `card${d ? "-" + e[d.accessor] : ""}`,
|
|
35
35
|
children: /* @__PURE__ */ s(y, { className: i.cardContent, "data-testid": "card-content", children: [
|
|
36
36
|
/* @__PURE__ */ r(j, { item: e, titleColumn: d, subTitleColumn: w }),
|
|
37
|
-
/* @__PURE__ */ r(T, { className: i.cardBody, "data-testid": "card-body", children: /* @__PURE__ */ r(
|
|
37
|
+
/* @__PURE__ */ r(T, { className: i.cardBody, "data-testid": "card-body", children: /* @__PURE__ */ r(b, { fullHeight: !0, fullWidth: !0, variant: "none", children: p.map((a) => o?.includes(a.id) ? null : /* @__PURE__ */ s(m, { className: i.row, "data-testid": "row", children: [
|
|
38
38
|
/* @__PURE__ */ r(l, { horizontalAlign: "right", ..._, children: /* @__PURE__ */ s(
|
|
39
39
|
f,
|
|
40
40
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import { G
|
|
3
|
-
import { I as
|
|
1
|
+
import { jsx as r, jsxs as b } from "react/jsx-runtime";
|
|
2
|
+
import { G } from "./index.es-BE1XL1dD.js";
|
|
3
|
+
import { I as S } from "./index.es-LckFzDz-.js";
|
|
4
4
|
import { P as O } from "./index.es-C8AExypY.js";
|
|
5
|
-
import {
|
|
5
|
+
import { d as k, b as L, T as $ } from "./index.es-CdZp67J9.js";
|
|
6
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";
|
|
@@ -72,7 +72,7 @@ import './assets/ListAreaService.css';const M = "_fullWidth_1w7l3_1", P = "_main
|
|
|
72
72
|
key: n,
|
|
73
73
|
select: m,
|
|
74
74
|
primaryText: n,
|
|
75
|
-
secondaryText: /* @__PURE__ */ G
|
|
75
|
+
secondaryText: /* @__PURE__ */ b(G, { direction: "vertical", gap: "none", children: [
|
|
76
76
|
T ?? /* @__PURE__ */ r(
|
|
77
77
|
L,
|
|
78
78
|
{
|
|
@@ -102,7 +102,7 @@ import './assets/ListAreaService.css';const M = "_fullWidth_1w7l3_1", P = "_main
|
|
|
102
102
|
children: p
|
|
103
103
|
}
|
|
104
104
|
) : void 0,
|
|
105
|
-
trailingBlock: f ?? w ?? /* @__PURE__ */ r(
|
|
105
|
+
trailingBlock: f ?? w ?? /* @__PURE__ */ r(S, { icon: "arrow_right", className: t.iconColor }),
|
|
106
106
|
leadingBlock: ne(h),
|
|
107
107
|
value: _,
|
|
108
108
|
componentProps: {
|
|
@@ -1,36 +1,7 @@
|
|
|
1
1
|
import { b as E, c as v } from "./tslib.es6-BDCynO9F.js";
|
|
2
2
|
import { M as S, a as I } from "./component-By6nyiBU.js";
|
|
3
|
-
function b(n, i) {
|
|
4
|
-
if (n.closest)
|
|
5
|
-
return n.closest(i);
|
|
6
|
-
for (var t = n; t; ) {
|
|
7
|
-
if (_(t, i))
|
|
8
|
-
return t;
|
|
9
|
-
t = t.parentElement;
|
|
10
|
-
}
|
|
11
|
-
return null;
|
|
12
|
-
}
|
|
13
|
-
function _(n, i) {
|
|
14
|
-
var t = n.matches || n.webkitMatchesSelector || n.msMatchesSelector;
|
|
15
|
-
return t.call(n, i);
|
|
16
|
-
}
|
|
17
|
-
function D(n) {
|
|
18
|
-
var i = n;
|
|
19
|
-
if (i.offsetParent !== null)
|
|
20
|
-
return i.scrollWidth;
|
|
21
|
-
var t = i.cloneNode(!0);
|
|
22
|
-
t.style.setProperty("position", "absolute"), t.style.setProperty("transform", "translate(-9999px, -9999px)"), document.documentElement.appendChild(t);
|
|
23
|
-
var e = t.scrollWidth;
|
|
24
|
-
return document.documentElement.removeChild(t), e;
|
|
25
|
-
}
|
|
26
|
-
const M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27
|
-
__proto__: null,
|
|
28
|
-
closest: b,
|
|
29
|
-
estimateScrollWidth: D,
|
|
30
|
-
matches: _
|
|
31
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
32
3
|
var l;
|
|
33
|
-
function
|
|
4
|
+
function b(n, i) {
|
|
34
5
|
i === void 0 && (i = !1);
|
|
35
6
|
var t = n.CSS, e = l;
|
|
36
7
|
if (typeof l == "boolean" && !i)
|
|
@@ -41,7 +12,7 @@ function R(n, i) {
|
|
|
41
12
|
var r = t.supports("--css-vars", "yes"), s = t.supports("(--css-vars: yes)") && t.supports("color", "#00000000");
|
|
42
13
|
return e = r || s, i || (l = e), e;
|
|
43
14
|
}
|
|
44
|
-
function
|
|
15
|
+
function D(n, i, t) {
|
|
45
16
|
if (!n)
|
|
46
17
|
return { x: 0, y: 0 };
|
|
47
18
|
var e = i.x, a = i.y, r = e + t.left, s = a + t.top, o, u;
|
|
@@ -55,9 +26,9 @@ function V(n, i, t) {
|
|
|
55
26
|
return { x: o, y: u };
|
|
56
27
|
}
|
|
57
28
|
function p(n) {
|
|
58
|
-
return n === void 0 && (n = window),
|
|
29
|
+
return n === void 0 && (n = window), R(n) ? { passive: !0 } : !1;
|
|
59
30
|
}
|
|
60
|
-
function
|
|
31
|
+
function R(n) {
|
|
61
32
|
n === void 0 && (n = window);
|
|
62
33
|
var i = !1;
|
|
63
34
|
try {
|
|
@@ -75,6 +46,35 @@ function w(n) {
|
|
|
75
46
|
}
|
|
76
47
|
return i;
|
|
77
48
|
}
|
|
49
|
+
function V(n, i) {
|
|
50
|
+
if (n.closest)
|
|
51
|
+
return n.closest(i);
|
|
52
|
+
for (var t = n; t; ) {
|
|
53
|
+
if (_(t, i))
|
|
54
|
+
return t;
|
|
55
|
+
t = t.parentElement;
|
|
56
|
+
}
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
function _(n, i) {
|
|
60
|
+
var t = n.matches || n.webkitMatchesSelector || n.msMatchesSelector;
|
|
61
|
+
return t.call(n, i);
|
|
62
|
+
}
|
|
63
|
+
function w(n) {
|
|
64
|
+
var i = n;
|
|
65
|
+
if (i.offsetParent !== null)
|
|
66
|
+
return i.scrollWidth;
|
|
67
|
+
var t = i.cloneNode(!0);
|
|
68
|
+
t.style.setProperty("position", "absolute"), t.style.setProperty("transform", "translate(-9999px, -9999px)"), document.documentElement.appendChild(t);
|
|
69
|
+
var e = t.scrollWidth;
|
|
70
|
+
return document.documentElement.removeChild(t), e;
|
|
71
|
+
}
|
|
72
|
+
const M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
73
|
+
__proto__: null,
|
|
74
|
+
closest: V,
|
|
75
|
+
estimateScrollWidth: w,
|
|
76
|
+
matches: _
|
|
77
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
78
78
|
var F = {
|
|
79
79
|
// Ripple is a special case where the "root" component is really a "mixin" of sorts,
|
|
80
80
|
// given that it's an 'upgrade' to an existing component. That being said it is the root
|
|
@@ -305,7 +305,7 @@ var y = [
|
|
|
305
305
|
}, c);
|
|
306
306
|
}, i.prototype.getFgTranslationCoordinates_ = function() {
|
|
307
307
|
var t = this.activationState_, e = t.activationEvent, a = t.wasActivatedByPointer, r;
|
|
308
|
-
a ? r =
|
|
308
|
+
a ? r = D(e, this.adapter.getWindowPageOffset(), this.adapter.computeBoundingRect()) : r = {
|
|
309
309
|
x: this.frame_.width / 2,
|
|
310
310
|
y: this.frame_.height / 2
|
|
311
311
|
}, r = {
|
|
@@ -380,7 +380,7 @@ var U = (
|
|
|
380
380
|
return t.root.classList.add(e);
|
|
381
381
|
},
|
|
382
382
|
browserSupportsCssVars: function() {
|
|
383
|
-
return
|
|
383
|
+
return b(window);
|
|
384
384
|
},
|
|
385
385
|
computeBoundingRect: function() {
|
|
386
386
|
return t.root.getBoundingClientRect();
|
|
@@ -454,8 +454,8 @@ export {
|
|
|
454
454
|
U as M,
|
|
455
455
|
p as a,
|
|
456
456
|
O as b,
|
|
457
|
-
|
|
458
|
-
|
|
457
|
+
V as c,
|
|
458
|
+
w as e,
|
|
459
459
|
_ as m,
|
|
460
460
|
M as p
|
|
461
461
|
};
|
|
@@ -16,4 +16,4 @@ export type AlertBannerProps = {
|
|
|
16
16
|
*/
|
|
17
17
|
action?: JSX.Element;
|
|
18
18
|
};
|
|
19
|
-
export declare const AlertBanner: ({ text, id, color, isOpen, isBold, onClose, }: AlertBannerProps) => import("react
|
|
19
|
+
export declare const AlertBanner: ({ text, id, color, isOpen, isBold, onClose, }: AlertBannerProps) => import("react").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../index.es-BE1XL1dD.js";
|
|
3
3
|
import "../../index.es-LckFzDz-.js";
|
|
4
|
-
import "../../index.es-
|
|
5
|
-
import { A as e } from "../../AlertBanner-
|
|
4
|
+
import "../../index.es-CdZp67J9.js";
|
|
5
|
+
import { A as e } from "../../AlertBanner-2rv7mRmR.js";
|
|
6
6
|
export {
|
|
7
7
|
e as AlertBanner
|
|
8
8
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AlertBannerProps } from './AlertBanner';
|
|
2
|
-
|
|
3
2
|
/**
|
|
4
3
|
* LinkBanner component, shows an alert banner but with a link as text
|
|
5
4
|
* @param text - The text of the link.
|
|
@@ -18,4 +17,4 @@ export declare const LinkBanner: ({ text, color, isOpen, isBold, url, }: Omit<Al
|
|
|
18
17
|
* the text of the link
|
|
19
18
|
*/
|
|
20
19
|
text: string;
|
|
21
|
-
}) => import("react
|
|
20
|
+
}) => import("react").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import { G as l } from "../../index.es-BE1XL1dD.js";
|
|
3
|
-
import { T as s } from "../../index.es-
|
|
3
|
+
import { T as s } from "../../index.es-CdZp67J9.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-2rv7mRmR.js";
|
|
6
6
|
const g = ({
|
|
7
7
|
text: n,
|
|
8
8
|
color: o = "info",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { IsAllowedProps } from '../PermissionChecks/PermissionService';
|
|
3
|
-
|
|
4
3
|
type AllowedProps = {
|
|
5
4
|
neededPermissions: IsAllowedProps['neededPermissions'];
|
|
6
5
|
entityIds: IsAllowedProps['entityIds'];
|
|
@@ -17,5 +16,5 @@ type AllowedProps = {
|
|
|
17
16
|
* @param disclaimerText - the text to show in the disclaimer (default: 'You are not allowed to see the content of this section.')
|
|
18
17
|
* @returns
|
|
19
18
|
*/
|
|
20
|
-
export declare const Allowed: ({ children, neededPermissions, entityIds, disclaimer, disclaimerText, }: PropsWithChildren<AllowedProps>) => string | number | boolean | import("react
|
|
19
|
+
export declare const Allowed: ({ children, neededPermissions, entityIds, disclaimer, disclaimerText, }: PropsWithChildren<AllowedProps>) => string | number | boolean | import("react").JSX.Element | Iterable<import('react').ReactNode> | null | undefined;
|
|
21
20
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ButtonProps } from '@element-public/react-button';
|
|
2
2
|
import { IsAllowedProps } from '../PermissionChecks/PermissionService';
|
|
3
|
-
|
|
4
3
|
export type AllowedButtonProps = Omit<ButtonProps & React.HTMLProps<HTMLButtonElement>, 'buttonSize' | 'variant' | 'type' | 'label' | 'size'> & {
|
|
5
4
|
/**
|
|
6
5
|
* This applies the html button type (button, submit, reset) or the anchor media type when used with the href property.
|
|
@@ -48,4 +47,4 @@ export type AllowedButtonProps = Omit<ButtonProps & React.HTMLProps<HTMLButtonEl
|
|
|
48
47
|
* @param {AllowedButtonProps} props - Component properties
|
|
49
48
|
* @returns {JSX.Element | null} The button component or null if permissions are not met
|
|
50
49
|
*/
|
|
51
|
-
export declare const AllowedButton: ({ buttonType, variant, "data-testid": testId, label, size, isLoading, ...props }: AllowedButtonProps) => import("react
|
|
50
|
+
export declare const AllowedButton: ({ buttonType, variant, "data-testid": testId, label, size, isLoading, ...props }: AllowedButtonProps) => import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { B as l } from "../../index.es-
|
|
2
|
+
import { B as l } from "../../index.es-B9C7vzr4.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,6 +1,5 @@
|
|
|
1
1
|
import { IconButtonProps } from '@element-public/react-icon-button';
|
|
2
2
|
import { IsAllowedProps } from '../PermissionChecks/PermissionService';
|
|
3
|
-
|
|
4
3
|
export type AllowedIconButtonProps = Omit<IconButtonProps & React.HTMLProps<HTMLButtonElement>, 'variant' | 'iconType' | 'iconSize' | 'size'> & {
|
|
5
4
|
/**
|
|
6
5
|
* data-testid used for testing.
|
|
@@ -40,4 +39,4 @@ export type AllowedIconButtonProps = Omit<IconButtonProps & React.HTMLProps<HTML
|
|
|
40
39
|
* @param {AllowedIconButtonProps} props - Component properties
|
|
41
40
|
* @returns {JSX.Element | null} The icon button component or null if permissions are not met
|
|
42
41
|
*/
|
|
43
|
-
export declare const AllowedIconButton: ({ "data-testid": testId, variant, iconType, size, ...props }: AllowedIconButtonProps) => import("react
|
|
42
|
+
export declare const AllowedIconButton: ({ "data-testid": testId, variant, iconType, size, ...props }: AllowedIconButtonProps) => import("react").JSX.Element;
|
|
@@ -2,7 +2,6 @@ import { BaseListElement } from '../../types/ListElement';
|
|
|
2
2
|
import { LinkProps } from '../../types/internal/ReactRouterTypes';
|
|
3
3
|
import { OfflineViewProps } from '../OfflineView/OfflineView';
|
|
4
4
|
import { FloatingActionButton } from '../FloatingActionButton/FloatingActionButton.tsx';
|
|
5
|
-
|
|
6
5
|
type BaseViewProps = {
|
|
7
6
|
/**
|
|
8
7
|
* elements to be displayed in the list area
|
|
@@ -104,5 +103,5 @@ type BaseViewProps = {
|
|
|
104
103
|
/**
|
|
105
104
|
* `BaseView` is a layout component that displays a main (a list) and a detail section.
|
|
106
105
|
*/
|
|
107
|
-
export declare const BaseView: ({ heading, action, floatingActionButton, hint, elements, emptyText, hasSearch, isSorted, className, withAvatar, listMaxHeight, titleLevel, detailTitleLevel, pathname, basicHeadingIcon, isOnline, offlineViewProps, noRoundedListItemEdges, routerLinkElement, searchPlaceholder, isGrouped, isHeaderVisibleOnMobile, }: BaseViewProps) => import("react
|
|
106
|
+
export declare const BaseView: ({ heading, action, floatingActionButton, hint, elements, emptyText, hasSearch, isSorted, className, withAvatar, listMaxHeight, titleLevel, detailTitleLevel, pathname, basicHeadingIcon, isOnline, offlineViewProps, noRoundedListItemEdges, routerLinkElement, searchPlaceholder, isGrouped, isHeaderVisibleOnMobile, }: BaseViewProps) => import("react").JSX.Element;
|
|
108
107
|
export {};
|
|
@@ -7,7 +7,7 @@ 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";
|
|
9
9
|
import { ListArea as T } from "../ListArea/ListArea.js";
|
|
10
|
-
import {
|
|
10
|
+
import { u as q } from "../../useBreakpoints-DDrM9Cfx.js";
|
|
11
11
|
import { OfflineView as z } from "../OfflineView/OfflineView.js";
|
|
12
12
|
import { useScrollableInfo as J } from "./BaseView.service.js";
|
|
13
13
|
import '../../assets/BaseView.css';const K = "_fullHeight_1yui7_1", O = "_fullWidth_1yui7_5", Q = "_heading_1yui7_9", U = "_list_1yui7_18", X = "_desktopList_1yui7_27", Y = "_noRoundedCorners_1yui7_32", Z = "_detail_1yui7_36", tt = "_desktopDetail_1yui7_44", i = {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
|
|
3
2
|
export type BasicHeadingProps = {
|
|
4
3
|
/**
|
|
5
4
|
* the text content of the heading
|
|
@@ -53,4 +52,4 @@ export type BasicHeadingProps = {
|
|
|
53
52
|
*/
|
|
54
53
|
inList?: boolean;
|
|
55
54
|
};
|
|
56
|
-
export declare const BasicHeading: ({ children, marginBottom, heading, icon, className, subHeading, subHeadingLevel, invisibleButton, level, fontWeight, withAvatar, inList, }: PropsWithChildren<BasicHeadingProps>) => import("react
|
|
55
|
+
export declare const BasicHeading: ({ children, marginBottom, heading, icon, className, subHeading, subHeadingLevel, invisibleButton, level, fontWeight, withAvatar, inList, }: PropsWithChildren<BasicHeadingProps>) => import("react").JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as o, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { G as t } from "../../index.es-BE1XL1dD.js";
|
|
3
3
|
import { I as A } from "../../index.es-LckFzDz-.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as I, T as z } from "../../index.es-CdZp67J9.js";
|
|
5
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
|
-
import {
|
|
8
|
+
import { u as w } from "../../useBreakpoints-DDrM9Cfx.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,
|
|
@@ -37,7 +37,7 @@ import '../../assets/BasicHeading.css';const C = "_basicHeading_14qaz_1", N = "_
|
|
|
37
37
|
withAvatar: u = !1,
|
|
38
38
|
inList: y = !1
|
|
39
39
|
}) => {
|
|
40
|
-
const { isDesktop: d } = w(), v = d ? c : c + 1,
|
|
40
|
+
const { isDesktop: d } = w(), v = d ? c : c + 1, h = l === "bold" ? 500 : l, b = typeof s == "number" ? `${s}px` : "2rem";
|
|
41
41
|
return /* @__PURE__ */ o(
|
|
42
42
|
t,
|
|
43
43
|
{
|
|
@@ -45,7 +45,7 @@ import '../../assets/BasicHeading.css';const C = "_basicHeading_14qaz_1", N = "_
|
|
|
45
45
|
secondaryAlign: "center",
|
|
46
46
|
gap: "none",
|
|
47
47
|
className: m(e.basicHeading, y && e.inList, r),
|
|
48
|
-
style: { marginBottom:
|
|
48
|
+
style: { marginBottom: b },
|
|
49
49
|
"data-testid": "HeaderContainer",
|
|
50
50
|
fullWidth: !0,
|
|
51
51
|
children: [
|
|
@@ -65,7 +65,7 @@ import '../../assets/BasicHeading.css';const C = "_basicHeading_14qaz_1", N = "_
|
|
|
65
65
|
level: v,
|
|
66
66
|
"data-testid": "Header",
|
|
67
67
|
className: r ?? "",
|
|
68
|
-
style: { fontWeight:
|
|
68
|
+
style: { fontWeight: h },
|
|
69
69
|
children: a
|
|
70
70
|
}
|
|
71
71
|
) }),
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Block } from '../../types/internal/Block';
|
|
2
|
-
|
|
3
2
|
type BlockViewProps<T extends Block & {
|
|
4
3
|
id?: string;
|
|
5
4
|
}> = {
|
|
@@ -78,5 +77,5 @@ type BlockViewProps<T extends Block & {
|
|
|
78
77
|
*/
|
|
79
78
|
export declare const BlockView: <T extends Block & {
|
|
80
79
|
id?: string;
|
|
81
|
-
}>({ rows, columns, hideText, hideBlockCountText, errorBlocks, showNumbers, clickable, size, onClick, currentBlock, activeBlocks, blocks, blockViewTitle, blockLabel, emptyViewTitle, }: BlockViewProps<T>) => import("react
|
|
80
|
+
}>({ rows, columns, hideText, hideBlockCountText, errorBlocks, showNumbers, clickable, size, onClick, currentBlock, activeBlocks, blocks, blockViewTitle, blockLabel, emptyViewTitle, }: BlockViewProps<T>) => import("react").JSX.Element;
|
|
82
81
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as z, jsx as o, Fragment as q } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { b as A, c as F, a as M } from "../../index.es-CdZp67J9.js";
|
|
3
3
|
import { c as h } from "../../index-_-9ybP20.js";
|
|
4
4
|
import { useState as V, useEffect as $, useMemo as G } from "react";
|
|
5
5
|
import { getBlockNumberByDto as H } from "../../services/BlockService.js";
|
|
6
|
-
import {
|
|
6
|
+
import { u as I } from "../../useBreakpoints-DDrM9Cfx.js";
|
|
7
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
8
|
grid: J,
|
|
9
9
|
blockLayout: K,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IconifyProps } from '../Iconify/Iconify';
|
|
2
2
|
import { IsAllowedProps } from '../PermissionChecks/PermissionService.tsx';
|
|
3
|
-
|
|
4
3
|
export type ButtonCardProps = {
|
|
5
4
|
/**
|
|
6
5
|
* The label of the card.
|
|
@@ -39,4 +38,4 @@ export type ButtonCardProps = {
|
|
|
39
38
|
* @param entityIds the entity id, the permission is for (FarmOrganizationId, VendorOrganizationId or FarmLocationId).
|
|
40
39
|
* @param permissions the permissions needed to enable the button. If the array is empty, the button is always enabled.
|
|
41
40
|
*/
|
|
42
|
-
export declare const ButtonCard: ({ title, subtitle, icon, onClick, entityIds, permissions, }: ButtonCardProps) => import("react
|
|
41
|
+
export declare const ButtonCard: ({ title, subtitle, icon, onClick, entityIds, permissions, }: ButtonCardProps) => import("react").JSX.Element;
|
|
@@ -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-
|
|
2
|
+
import { B as m } from "../../index.es-B9C7vzr4.js";
|
|
3
3
|
import { G as a } from "../../index.es-BE1XL1dD.js";
|
|
4
|
-
import {
|
|
4
|
+
import { e as c } from "../../index.es-CdZp67J9.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 = {
|
|
@@ -11,7 +11,7 @@ import '../../assets/ButtonCard.css';const b = "_buttonCard_1fv6b_1", f = "_noIn
|
|
|
11
11
|
centerText: y
|
|
12
12
|
}, A = ({
|
|
13
13
|
title: o,
|
|
14
|
-
subtitle:
|
|
14
|
+
subtitle: d,
|
|
15
15
|
icon: r,
|
|
16
16
|
onClick: e,
|
|
17
17
|
entityIds: s,
|
|
@@ -38,8 +38,8 @@ import '../../assets/ButtonCard.css';const b = "_buttonCard_1fv6b_1", f = "_noIn
|
|
|
38
38
|
fullWidth: !0,
|
|
39
39
|
className: n.centerText,
|
|
40
40
|
children: [
|
|
41
|
-
/* @__PURE__ */ t(
|
|
42
|
-
/* @__PURE__ */ t(
|
|
41
|
+
/* @__PURE__ */ t(c, { type: "body1-bold", themeColor: "text-primary-on-light", children: o }),
|
|
42
|
+
/* @__PURE__ */ t(c, { type: "subtitle1", themeColor: "text-secondary-on-background", children: d })
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
45
|
)
|
|
@@ -20,5 +20,5 @@ type ChipCardProps = {
|
|
|
20
20
|
* @param icon the leading icon. The available icons are all material icons.
|
|
21
21
|
* @param className the class name to apply to the component
|
|
22
22
|
*/
|
|
23
|
-
export declare const ChipCard: ({ label, icon, className }: ChipCardProps) => import("react
|
|
23
|
+
export declare const ChipCard: ({ label, icon, className }: ChipCardProps) => import("react").JSX.Element;
|
|
24
24
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
+
import { o as Qe, e as Ze, i as ti, C as ei } from "../../index.es-DglJcc2r.js";
|
|
3
3
|
import { _ as ie, a as Le, c as Zt, b as kt, d as Pe, P as c } from "../../index-_-9ybP20.js";
|
|
4
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
5
|
import { _ as Ie, a as ii } from "../../find-OaLSg5iu.js";
|
|
@@ -12,7 +12,7 @@ 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
|
-
import { M as $t, b as $e } from "../../component-
|
|
15
|
+
import { M as $t, b as $e } from "../../component-9vrShqiY.js";
|
|
16
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) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IconifyProps } from '../Iconify/Iconify';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
|
|
4
3
|
type ConfirmationModalProps = {
|
|
5
4
|
/**
|
|
6
5
|
* The title of the modal.
|
|
@@ -73,5 +72,5 @@ type ConfirmationModalProps = {
|
|
|
73
72
|
* @param onCancel The function to call when the cancel button is clicked.
|
|
74
73
|
* @param isConfirmationDisabled Whether the confirmation button is disabled.
|
|
75
74
|
*/
|
|
76
|
-
export declare const ConfirmationModal: ({ modalTitle, confirmButtonLabel, cancelButtonLabel, label, content, showBulletPoints, icon, iconColor, confirmButtonVariant, isOpen, onConfirm, onCancel, isConfirmationDisabled, }: ConfirmationModalProps) => import("react
|
|
75
|
+
export declare const ConfirmationModal: ({ modalTitle, confirmButtonLabel, cancelButtonLabel, label, content, showBulletPoints, icon, iconColor, confirmButtonVariant, isOpen, onConfirm, onCancel, isConfirmationDisabled, }: ConfirmationModalProps) => import("react").JSX.Element;
|
|
77
76
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { B as s } from "../../index.es-
|
|
2
|
+
import { B as s } from "../../index.es-B9C7vzr4.js";
|
|
3
3
|
import { G as o } from "../../index.es-BE1XL1dD.js";
|
|
4
|
-
import { T as c } from "../../index.es-
|
|
5
|
-
import {
|
|
4
|
+
import { T as c } from "../../index.es-CdZp67J9.js";
|
|
5
|
+
import { u as C } from "../../useBreakpoints-DDrM9Cfx.js";
|
|
6
6
|
import { Iconify as B } from "../Iconify/Iconify.js";
|
|
7
7
|
import { Modal as H } from "../Modal/Modal.js";
|
|
8
8
|
import '../../assets/ConfirmationModal.css';const N = "_bulletPoint_v4va9_1", P = "_modal_v4va9_7", S = "_primary_v4va9_11", j = "_secondary_v4va9_15", z = "_success_v4va9_19", A = "_danger_v4va9_23", G = "_fullHeight_v4va9_27", t = {
|
|
@@ -18,9 +18,9 @@ import '../../assets/ConfirmationModal.css';const N = "_bulletPoint_v4va9_1", P
|
|
|
18
18
|
confirmButtonLabel: d,
|
|
19
19
|
cancelButtonLabel: m,
|
|
20
20
|
label: u,
|
|
21
|
-
content:
|
|
21
|
+
content: a,
|
|
22
22
|
showBulletPoints: p,
|
|
23
|
-
icon:
|
|
23
|
+
icon: n,
|
|
24
24
|
iconColor: v = "primary",
|
|
25
25
|
confirmButtonVariant: _ = "filled",
|
|
26
26
|
isOpen: f,
|
|
@@ -28,7 +28,7 @@ import '../../assets/ConfirmationModal.css';const N = "_bulletPoint_v4va9_1", P
|
|
|
28
28
|
onCancel: l,
|
|
29
29
|
isConfirmationDisabled: g
|
|
30
30
|
}) => {
|
|
31
|
-
const { isDesktop: h } = C(), b = () =>
|
|
31
|
+
const { isDesktop: h } = C(), b = () => a ? /* @__PURE__ */ e(o, { direction: "vertical", gap: "none", children: a.map((x, k) => /* @__PURE__ */ e(
|
|
32
32
|
c,
|
|
33
33
|
{
|
|
34
34
|
level: 2,
|
|
@@ -74,7 +74,7 @@ import '../../assets/ConfirmationModal.css';const N = "_bulletPoint_v4va9_1", P
|
|
|
74
74
|
primaryAlign: "center",
|
|
75
75
|
secondaryAlign: "center",
|
|
76
76
|
children: [
|
|
77
|
-
|
|
77
|
+
n && /* @__PURE__ */ e(B, { icon: n, iconSize: "xlarge", className: t[v] }),
|
|
78
78
|
/* @__PURE__ */ i(o, { direction: "vertical", children: [
|
|
79
79
|
/* @__PURE__ */ e(c, { level: 1, themeColor: "text-primary-on-background", children: u }),
|
|
80
80
|
b()
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ListItemProps } from '@element-public/react-list';
|
|
2
2
|
import { OfflineViewProps } from '../OfflineView/OfflineView';
|
|
3
3
|
import { IsAllowedProps } from '../PermissionChecks/PermissionService.tsx';
|
|
4
|
-
|
|
5
4
|
type ContextMenuProps = {
|
|
6
5
|
/**
|
|
7
6
|
* If not null, the menu will be open
|
|
@@ -67,5 +66,5 @@ export type ActionProps = ListItemProps & {
|
|
|
67
66
|
* @param {OfflineViewProps} offlineViewProps Props forwarded to OfflineView when offline.
|
|
68
67
|
* @returns a context menu with the given actions as ListItems
|
|
69
68
|
*/
|
|
70
|
-
export declare const ContextMenu: ({ triggerOpen, actions, iconOrientation, "data-testid": dataTestId, isOnline, offlineViewProps, }: ContextMenuProps) => import("react
|
|
69
|
+
export declare const ContextMenu: ({ triggerOpen, actions, iconOrientation, "data-testid": dataTestId, isOnline, offlineViewProps, }: ContextMenuProps) => import("react").JSX.Element | null;
|
|
71
70
|
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as i, jsxs as M } from "react/jsx-runtime";
|
|
2
|
-
import { I as k } from "../../index.es-
|
|
3
|
-
import { M as v, L as w, a as x, b as C } from "../../index.es-
|
|
2
|
+
import { I as k } from "../../index.es-BwhRJBEH.js";
|
|
3
|
+
import { M as v, L as w, a as x, b as C } from "../../index.es-BIgjyLDa.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
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";
|
|
9
|
-
import {
|
|
9
|
+
import { u as O } from "../../useBreakpoints-DDrM9Cfx.js";
|
|
10
10
|
import '../../assets/ContextMenu.css';const E = "_menu_52omh_1", R = "_mobile_52omh_7", S = "_desktop_52omh_11", $ = "_icon_52omh_15", j = "_listItem_52omh_19", q = "_offlineViewMargin_52omh_51", D = "_primaryTextTruncated_52omh_55", n = {
|
|
11
11
|
menu: E,
|
|
12
12
|
mobile: R,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OfflineViewProps } from '../OfflineView/OfflineView';
|
|
2
|
-
|
|
3
2
|
type DeleteModalProps = {
|
|
4
3
|
/**
|
|
5
4
|
* The title of the modal.
|
|
@@ -94,5 +93,5 @@ type DeleteModalProps = {
|
|
|
94
93
|
* @prop {Partial} offlineViewProps - Props forwarded to OfflineView when offline.
|
|
95
94
|
* @returns {ReactElement} A modal component for deleting items.
|
|
96
95
|
*/
|
|
97
|
-
export declare const DeleteModal: ({ title, confirmButtonLabel, cancelButtonLabel, deleteHeader, deleteBody, deleteText, icon, isIconCrossedOut, impossibleDeleteHeader, open, setOpen, onDelete, onCancel, isDeletePossible, isDeletePending, isOnline, offlineViewProps, }: DeleteModalProps) => import("react
|
|
96
|
+
export declare const DeleteModal: ({ title, confirmButtonLabel, cancelButtonLabel, deleteHeader, deleteBody, deleteText, icon, isIconCrossedOut, impossibleDeleteHeader, open, setOpen, onDelete, onCancel, isDeletePossible, isDeletePending, isOnline, offlineViewProps, }: DeleteModalProps) => import("react").JSX.Element;
|
|
98
97
|
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as o, jsxs as b, Fragment as c } from "react/jsx-runtime";
|
|
2
|
-
import { B as f } from "../../index.es-
|
|
2
|
+
import { B as f } from "../../index.es-B9C7vzr4.js";
|
|
3
3
|
import { G as m } from "../../index.es-BE1XL1dD.js";
|
|
4
4
|
import { I as S } from "../../index.es-LckFzDz-.js";
|
|
5
|
-
import { T as i } from "../../index.es-
|
|
5
|
+
import { T as i } from "../../index.es-CdZp67J9.js";
|
|
6
6
|
import { u as N } from "../../uniqueId-CJo-XRQb.js";
|
|
7
7
|
import { AvailableCustomIcons as O } from "../../enums/AvailableCustomIcons.js";
|
|
8
|
-
import {
|
|
8
|
+
import { u as x } from "../../useBreakpoints-DDrM9Cfx.js";
|
|
9
9
|
import { Iconify as z } from "../Iconify/Iconify.js";
|
|
10
10
|
import "react";
|
|
11
|
-
import "../../react-tooltip.min-
|
|
11
|
+
import "../../react-tooltip.min-DKaGxvdz.js";
|
|
12
12
|
import "../../orderBy-Ce85KqD6.js";
|
|
13
13
|
import "../../index-CuHybtft.js";
|
|
14
14
|
import "../SharedComponentsPermissionProvider/PermissionContext.js";
|
|
@@ -18,10 +18,10 @@ import { LoadingSpinner as M } from "../LoadingSpinner/Default/LoadingSpinner.js
|
|
|
18
18
|
import "react-hook-form";
|
|
19
19
|
import "../../get-CBFiuc3f.js";
|
|
20
20
|
import "../../isArray-olhCpv2e.js";
|
|
21
|
-
import "../../isString-
|
|
22
|
-
import "../../omit-
|
|
21
|
+
import "../../isString-LDbI4UeI.js";
|
|
22
|
+
import "../../omit-DUqu4lDk.js";
|
|
23
23
|
import "../../types/Time.js";
|
|
24
|
-
import "../../react.esm-
|
|
24
|
+
import "../../react.esm-B3AK8zW1.js";
|
|
25
25
|
import '../../assets/DeleteModal.css';const j = "_bulletPoint_bd412_1", A = "_modal_bd412_7", G = "_colorDanger_bd412_11", q = "_crossedOut_bd412_15", e = {
|
|
26
26
|
bulletPoint: j,
|
|
27
27
|
modal: A,
|