@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,13 +1,13 @@
|
|
|
1
|
-
import { _ as w,
|
|
2
|
-
import
|
|
1
|
+
import { _ as w, c as x, a as L, P as i, b as Y, d as Te } from "./index-_-9ybP20.js";
|
|
2
|
+
import { _ as Le, a as Z, b as Pe, c as Ae, d as ae, e as ee, f as $e } from "./defineProperty-SoB5opr-.js";
|
|
3
|
+
import { P as De, _ as te } from "./index.es-CNrSvjAv.js";
|
|
4
|
+
import { _ as se } from "./slicedToArray-C2Ed3239.js";
|
|
5
|
+
import { e as le, u as Re, _ as ne, i as ke, c as xe } from "./index.es-DRC-9PLs.js";
|
|
6
|
+
import c, { forwardRef as M, useState as de, useRef as N, useImperativeHandle as B, useMemo as Fe, useCallback as H, useEffect as P, Fragment as oe } from "react";
|
|
7
|
+
import { c as He } from "./index.es-LckFzDz-.js";
|
|
3
8
|
import { b as j, c as S } from "./tslib.es6-BDCynO9F.js";
|
|
4
|
-
import { M as
|
|
5
|
-
import { e as
|
|
6
|
-
import { _ as Ae, a as ee, b as $e, c as De, d as de, e as te, f as Re } from "./defineProperty-SoB5opr-.js";
|
|
7
|
-
import { P as ke, _ as ne } from "./index.es-CNrSvjAv.js";
|
|
8
|
-
import { _ as ce } from "./slicedToArray-C2Ed3239.js";
|
|
9
|
-
import { e as ue, u as xe, _ as oe, i as Fe, c as He } from "./index.es-DRC-9PLs.js";
|
|
10
|
-
import { c as Ie } from "./index.es-LckFzDz-.js";
|
|
9
|
+
import { M as ce, a as ue } from "./component-By6nyiBU.js";
|
|
10
|
+
import { e as Ie } from "./component-9vrShqiY.js";
|
|
11
11
|
var Se = {
|
|
12
12
|
LABEL_FLOAT_ABOVE: "mdc-floating-label--float-above",
|
|
13
13
|
LABEL_REQUIRED: "mdc-floating-label--required",
|
|
@@ -70,7 +70,7 @@ var pe = (
|
|
|
70
70
|
var e = t.cssClasses.LABEL_SHAKE;
|
|
71
71
|
this.adapter.removeClass(e);
|
|
72
72
|
}, t;
|
|
73
|
-
})(
|
|
73
|
+
})(ce)
|
|
74
74
|
);
|
|
75
75
|
var we = (
|
|
76
76
|
/** @class */
|
|
@@ -98,7 +98,7 @@ var we = (
|
|
|
98
98
|
return e.root.classList.remove(r);
|
|
99
99
|
},
|
|
100
100
|
getWidth: function() {
|
|
101
|
-
return
|
|
101
|
+
return Ie(e.root);
|
|
102
102
|
},
|
|
103
103
|
registerInteractionHandler: function(r, a) {
|
|
104
104
|
return e.listen(r, a);
|
|
@@ -109,7 +109,7 @@ var we = (
|
|
|
109
109
|
};
|
|
110
110
|
return new pe(o);
|
|
111
111
|
}, t;
|
|
112
|
-
})(
|
|
112
|
+
})(ue)
|
|
113
113
|
);
|
|
114
114
|
var fe = {
|
|
115
115
|
NOTCH_ELEMENT_SELECTOR: ".mdc-notched-outline__notch"
|
|
@@ -171,7 +171,7 @@ var Me = (
|
|
|
171
171
|
var e = t.cssClasses.OUTLINE_NOTCHED;
|
|
172
172
|
this.adapter.removeClass(e), this.adapter.removeNotchWidthProperty();
|
|
173
173
|
}, t;
|
|
174
|
-
})(
|
|
174
|
+
})(ce)
|
|
175
175
|
);
|
|
176
176
|
var Be = (
|
|
177
177
|
/** @class */
|
|
@@ -209,124 +209,8 @@ var Be = (
|
|
|
209
209
|
};
|
|
210
210
|
return new Me(o);
|
|
211
211
|
}, t;
|
|
212
|
-
})(
|
|
212
|
+
})(ue)
|
|
213
213
|
), je = {
|
|
214
|
-
/**
|
|
215
|
-
* Content to be rendered inside the label. Expects a string, though accepts any valid markup.
|
|
216
|
-
*
|
|
217
|
-
* Defaults to **null**.
|
|
218
|
-
*/
|
|
219
|
-
children: i.node.isRequired,
|
|
220
|
-
/**
|
|
221
|
-
* The css class name to be passed through to the component markup.
|
|
222
|
-
*
|
|
223
|
-
* Defaults to **undefined**.
|
|
224
|
-
*/
|
|
225
|
-
className: i.string,
|
|
226
|
-
/**
|
|
227
|
-
* The label will appear in the floating state.
|
|
228
|
-
*
|
|
229
|
-
* Defaults to **false**.
|
|
230
|
-
*/
|
|
231
|
-
float: i.bool,
|
|
232
|
-
/**
|
|
233
|
-
* The id of the component to trigger on active
|
|
234
|
-
*
|
|
235
|
-
* Defaults to **empty string**.
|
|
236
|
-
*/
|
|
237
|
-
htmlFor: i.string,
|
|
238
|
-
/**
|
|
239
|
-
* The label will shake briefly when set.
|
|
240
|
-
*
|
|
241
|
-
* Defaults to **false**.
|
|
242
|
-
*/
|
|
243
|
-
shake: i.bool
|
|
244
|
-
}, We = {
|
|
245
|
-
children: null,
|
|
246
|
-
className: void 0
|
|
247
|
-
}, Ue = ["children", "htmlFor", "shake", "float", "className", "style"], U = We, he = /* @__PURE__ */ M(function(n, t) {
|
|
248
|
-
var e = n.children, o = e === void 0 ? U.children : e, r = n.htmlFor, a = r === void 0 ? "" : r, u = n.shake, _ = u === void 0 ? !1 : u, p = n.float, f = p === void 0 ? !1 : p, h = n.className, y = h === void 0 ? U.className : h, g = n.style, s = g === void 0 ? U.style : g, d = w(n, Ue), E = N(), C = o, b = N();
|
|
249
|
-
return B(t, function() {
|
|
250
|
-
return b.current;
|
|
251
|
-
}, []), P(function() {
|
|
252
|
-
return E.current = we.attachTo(b.current), function() {
|
|
253
|
-
E.current.destroy();
|
|
254
|
-
};
|
|
255
|
-
}), P(function() {
|
|
256
|
-
E.current.float(f);
|
|
257
|
-
}, [f]), /* @__PURE__ */ c.createElement("label", L({
|
|
258
|
-
ref: b,
|
|
259
|
-
htmlFor: a,
|
|
260
|
-
className: x("lmnt", "mdc-floating-label", f && "mdc-floating-label--float-above", _ && "mdc-floating-label--shake", y)
|
|
261
|
-
}, d, {
|
|
262
|
-
style: s
|
|
263
|
-
}), C);
|
|
264
|
-
});
|
|
265
|
-
he.displayName = "FloatingLabel";
|
|
266
|
-
he.propTypes = je;
|
|
267
|
-
var qe = {
|
|
268
|
-
/**
|
|
269
|
-
* Content to be rendered inside the notched outline. Accepts a string.
|
|
270
|
-
*
|
|
271
|
-
* Defaults to **null**.
|
|
272
|
-
*/
|
|
273
|
-
children: i.node,
|
|
274
|
-
/**
|
|
275
|
-
* The css class name to be passed through to the component markup.
|
|
276
|
-
*
|
|
277
|
-
* Defaults to **undefined**.
|
|
278
|
-
*/
|
|
279
|
-
className: i.string,
|
|
280
|
-
/**
|
|
281
|
-
* Determines if the notch is opened or closed.
|
|
282
|
-
*
|
|
283
|
-
* Defaults to **undefined**.
|
|
284
|
-
*/
|
|
285
|
-
closed: i.bool,
|
|
286
|
-
/**
|
|
287
|
-
* Keep the outline, but prevent the notch (and label from showing up).
|
|
288
|
-
*
|
|
289
|
-
* Defaults to **undefined**.
|
|
290
|
-
*/
|
|
291
|
-
outlineOnly: i.bool,
|
|
292
|
-
/**
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
* Defaults to **null**.
|
|
296
|
-
*/
|
|
297
|
-
width: i.number
|
|
298
|
-
}, Ke = {
|
|
299
|
-
children: null,
|
|
300
|
-
className: void 0,
|
|
301
|
-
closed: void 0,
|
|
302
|
-
outlineOnly: void 0,
|
|
303
|
-
width: null
|
|
304
|
-
}, Ge = ["closed", "className", "children", "outlineOnly", "width"], R = Ke, me = /* @__PURE__ */ M(function(n, t) {
|
|
305
|
-
var e = n.closed, o = e === void 0 ? R.closed : e, r = n.className, a = r === void 0 ? R.className : r, u = n.children, _ = u === void 0 ? R.children : u, p = n.outlineOnly, f = p === void 0 ? R.outlineOnly : p, h = n.width, y = h === void 0 ? R.width : h, g = w(n, Ge), s = N(), d = N();
|
|
306
|
-
return B(t, function() {
|
|
307
|
-
return s.current;
|
|
308
|
-
}, []), P(function() {
|
|
309
|
-
return d.current = Be.attachTo(s.current), function() {
|
|
310
|
-
d.current.destroy();
|
|
311
|
-
};
|
|
312
|
-
}, []), P(function() {
|
|
313
|
-
o !== void 0 && (o ? d.current.closeNotch() : d.current.notch());
|
|
314
|
-
}, [o]), P(function() {
|
|
315
|
-
y ? d.current.foundation.adapter.setNotchWidthProperty(y) : d.current.foundation.adapter.removeNotchWidthProperty();
|
|
316
|
-
}, [y]), /* @__PURE__ */ c.createElement("div", L({
|
|
317
|
-
className: x("lmnt", "mdc-notched-outline", a),
|
|
318
|
-
ref: s
|
|
319
|
-
}, g), /* @__PURE__ */ c.createElement("div", {
|
|
320
|
-
className: "mdc-notched-outline__leading"
|
|
321
|
-
}), !f && /* @__PURE__ */ c.createElement("div", {
|
|
322
|
-
className: "mdc-notched-outline__notch"
|
|
323
|
-
}, _), /* @__PURE__ */ c.createElement("div", {
|
|
324
|
-
className: "mdc-notched-outline__trailing"
|
|
325
|
-
}));
|
|
326
|
-
});
|
|
327
|
-
me.displayName = "NotchedOutline";
|
|
328
|
-
me.propTypes = qe;
|
|
329
|
-
var Qe = {
|
|
330
214
|
/**
|
|
331
215
|
* Accepts any valid markup. This will be rendered before any value set with the `text` prop. For most use-cases use `text`.
|
|
332
216
|
*
|
|
@@ -393,7 +277,7 @@ var Qe = {
|
|
|
393
277
|
* Defaults to **null**.
|
|
394
278
|
*/
|
|
395
279
|
triggerProps: i.object
|
|
396
|
-
},
|
|
280
|
+
}, We = {
|
|
397
281
|
children: void 0,
|
|
398
282
|
className: void 0,
|
|
399
283
|
containerType: "inline",
|
|
@@ -405,7 +289,7 @@ var Qe = {
|
|
|
405
289
|
text: null,
|
|
406
290
|
tooltipProps: null,
|
|
407
291
|
triggerProps: null
|
|
408
|
-
},
|
|
292
|
+
}, Ue = {
|
|
409
293
|
/**
|
|
410
294
|
* The css class name to be passed through to the component markup.
|
|
411
295
|
*
|
|
@@ -436,23 +320,23 @@ var Qe = {
|
|
|
436
320
|
* Defaults to **null**.
|
|
437
321
|
*/
|
|
438
322
|
text: i.oneOfType([i.string, i.func, i.node]).isRequired
|
|
439
|
-
},
|
|
323
|
+
}, qe = {
|
|
440
324
|
className: void 0,
|
|
441
325
|
hoisted: !1,
|
|
442
326
|
id: void 0,
|
|
443
327
|
portalContainer: "document.body",
|
|
444
328
|
text: null
|
|
445
|
-
},
|
|
446
|
-
var e = n.className, o = e === void 0 ?
|
|
447
|
-
return _ ||
|
|
448
|
-
}), d =
|
|
329
|
+
}, Ke = ["className", "hoisted", "id", "portalContainer", "text"], R = qe, K = /* @__PURE__ */ M(function(n, t) {
|
|
330
|
+
var e = n.className, o = e === void 0 ? R.className : e, r = n.hoisted, a = r === void 0 ? R.hoisted : r, u = n.id, _ = u === void 0 ? R.id : u, p = n.portalContainer, f = p === void 0 ? R.portalContainer : p, h = n.text, y = h === void 0 ? R.text : h, g = w(n, Ke), s = de(function() {
|
|
331
|
+
return _ || le();
|
|
332
|
+
}), d = se(s, 1), E = d[0], C = N();
|
|
449
333
|
B(t, function() {
|
|
450
334
|
return C.current;
|
|
451
335
|
}, []);
|
|
452
|
-
var b =
|
|
336
|
+
var b = Fe(function() {
|
|
453
337
|
return x(["lmnt", o, "lmnt-tooltip__text-content", "mdc-typography--caption"]);
|
|
454
338
|
}, [o]);
|
|
455
|
-
return /* @__PURE__ */ c.createElement(
|
|
339
|
+
return /* @__PURE__ */ c.createElement(De, {
|
|
456
340
|
disabled: !a,
|
|
457
341
|
container: f
|
|
458
342
|
}, /* @__PURE__ */ c.createElement("div", L({
|
|
@@ -464,14 +348,14 @@ var Qe = {
|
|
|
464
348
|
}), y));
|
|
465
349
|
});
|
|
466
350
|
K.displayName = "TooltipText";
|
|
467
|
-
K.propTypes =
|
|
468
|
-
var
|
|
351
|
+
K.propTypes = Ue;
|
|
352
|
+
var Ge = ["children", "className", "containerType", "hoisted", "id", "onClick", "portalContainer", "position", "text", "tooltipProps", "triggerProps"];
|
|
469
353
|
function ie(n, t) {
|
|
470
354
|
var e = Te(n);
|
|
471
|
-
if (
|
|
472
|
-
var o =
|
|
473
|
-
t && (o =
|
|
474
|
-
return
|
|
355
|
+
if (ee) {
|
|
356
|
+
var o = ee(n);
|
|
357
|
+
t && (o = $e(o).call(o, function(r) {
|
|
358
|
+
return ae(n, r).enumerable;
|
|
475
359
|
})), e.push.apply(e, o);
|
|
476
360
|
}
|
|
477
361
|
return e;
|
|
@@ -480,35 +364,35 @@ function I(n) {
|
|
|
480
364
|
for (var t = 1; t < arguments.length; t++) {
|
|
481
365
|
var e, o, r = arguments[t] != null ? arguments[t] : {};
|
|
482
366
|
t % 2 ? Y(e = ie(Object(r), !0)).call(e, function(a) {
|
|
483
|
-
|
|
484
|
-
}) :
|
|
485
|
-
|
|
367
|
+
Le(n, a, r[a]);
|
|
368
|
+
}) : Z ? Pe(n, Z(r)) : Y(o = ie(Object(r))).call(o, function(a) {
|
|
369
|
+
Ae(n, a, ae(r, a));
|
|
486
370
|
});
|
|
487
371
|
}
|
|
488
372
|
return n;
|
|
489
373
|
}
|
|
490
|
-
var v =
|
|
374
|
+
var v = We, Qe = function(t) {
|
|
491
375
|
var e = t.children, o = t.idActual;
|
|
492
376
|
if (!e) return null;
|
|
493
|
-
var r = e ===
|
|
377
|
+
var r = e === oe || e?.type === oe;
|
|
494
378
|
return typeof e == "string" || r ? /* @__PURE__ */ c.createElement("span", {
|
|
495
379
|
"aria-describedby": o
|
|
496
|
-
}, e) :
|
|
380
|
+
}, e) : xe(e, {
|
|
497
381
|
"aria-describedby": o
|
|
498
382
|
});
|
|
499
|
-
},
|
|
500
|
-
var e = n.children, o = e === void 0 ? v.children : e, r = n.className, a = r === void 0 ? v.className : r, u = n.containerType, _ = u === void 0 ? v.containerType : u, p = n.hoisted, f = p === void 0 ? v.hoisted : p, h = n.id, y = h === void 0 ? v.id : h, g = n.onClick, s = g === void 0 ? v.onClick : g, d = n.portalContainer, E = d === void 0 ? v.portalContainer : d, C = n.position, b = C === void 0 ? v.position : C, G = n.text, A = G === void 0 ? v.text : G, Q = n.tooltipProps, ye = Q === void 0 ? v.tooltipProps : Q, V = n.triggerProps, ge = V === void 0 ? v.triggerProps : V, _e = w(n,
|
|
383
|
+
}, he = /* @__PURE__ */ M(function(n, t) {
|
|
384
|
+
var e = n.children, o = e === void 0 ? v.children : e, r = n.className, a = r === void 0 ? v.className : r, u = n.containerType, _ = u === void 0 ? v.containerType : u, p = n.hoisted, f = p === void 0 ? v.hoisted : p, h = n.id, y = h === void 0 ? v.id : h, g = n.onClick, s = g === void 0 ? v.onClick : g, d = n.portalContainer, E = d === void 0 ? v.portalContainer : d, C = n.position, b = C === void 0 ? v.position : C, G = n.text, A = G === void 0 ? v.text : G, Q = n.tooltipProps, ye = Q === void 0 ? v.tooltipProps : Q, V = n.triggerProps, ge = V === void 0 ? v.triggerProps : V, _e = w(n, Ge), W = N(), O = N(), $ = N();
|
|
501
385
|
B(t, function() {
|
|
502
386
|
return O.current;
|
|
503
387
|
}, []);
|
|
504
|
-
var be =
|
|
505
|
-
return y ||
|
|
506
|
-
}), Ne =
|
|
388
|
+
var be = de(function() {
|
|
389
|
+
return y || le();
|
|
390
|
+
}), Ne = se(be, 1), F = Ne[0], Ee = H(function() {
|
|
507
391
|
s?.();
|
|
508
392
|
}, [s]), Ce = H(function(l) {
|
|
509
393
|
l.key === "Enter" && s?.();
|
|
510
394
|
}, [s]);
|
|
511
|
-
|
|
395
|
+
Re(function() {
|
|
512
396
|
var l = [{
|
|
513
397
|
name: "flip",
|
|
514
398
|
options: {
|
|
@@ -529,7 +413,7 @@ var v = Ve, Ze = function(t) {
|
|
|
529
413
|
options: {
|
|
530
414
|
offset: [0, 12]
|
|
531
415
|
}
|
|
532
|
-
}), W.current && O.current && ($.current =
|
|
416
|
+
}), W.current && O.current && ($.current = He(W.current, O.current, {
|
|
533
417
|
placement: b,
|
|
534
418
|
modifiers: l
|
|
535
419
|
})), function() {
|
|
@@ -542,7 +426,7 @@ var v = Ve, Ze = function(t) {
|
|
|
542
426
|
(l = O.current) === null || l === void 0 || l.setAttribute("data-show", ""), (m = $.current) === null || m === void 0 || m.setOptions(function(D) {
|
|
543
427
|
var X;
|
|
544
428
|
return I(I({}, D), {}, {
|
|
545
|
-
modifiers:
|
|
429
|
+
modifiers: ne(X = []).call(X, te(D.modifiers), [{
|
|
546
430
|
name: "eventListeners",
|
|
547
431
|
enabled: !0
|
|
548
432
|
}])
|
|
@@ -553,7 +437,7 @@ var v = Ve, Ze = function(t) {
|
|
|
553
437
|
(l = O.current) === null || l === void 0 || l.removeAttribute("data-show"), (m = $.current) === null || m === void 0 || m.setOptions(function(T) {
|
|
554
438
|
var D;
|
|
555
439
|
return I(I({}, T), {}, {
|
|
556
|
-
modifiers:
|
|
440
|
+
modifiers: ne(D = []).call(D, te(T.modifiers), [{
|
|
557
441
|
name: "eventListeners",
|
|
558
442
|
enabled: !1
|
|
559
443
|
}])
|
|
@@ -562,7 +446,7 @@ var v = Ve, Ze = function(t) {
|
|
|
562
446
|
}, []);
|
|
563
447
|
P(function() {
|
|
564
448
|
var l = "Tooltips should only include short text for additional context and should not exceed three lines visually. (Toolitip ID ".concat(F, ").");
|
|
565
|
-
A && A.length > 100 &&
|
|
449
|
+
A && A.length > 100 && ke(l);
|
|
566
450
|
}, [A, F]);
|
|
567
451
|
var Oe = s ? {
|
|
568
452
|
tabIndex: 0,
|
|
@@ -580,7 +464,7 @@ var v = Ve, Ze = function(t) {
|
|
|
580
464
|
onFocus: z,
|
|
581
465
|
onMouseLeave: J,
|
|
582
466
|
onBlur: J
|
|
583
|
-
}), /* @__PURE__ */ c.createElement(
|
|
467
|
+
}), /* @__PURE__ */ c.createElement(Qe, {
|
|
584
468
|
idActual: F
|
|
585
469
|
}, o)), A && /* @__PURE__ */ c.createElement(K, L({
|
|
586
470
|
hoisted: f,
|
|
@@ -593,12 +477,128 @@ var v = Ve, Ze = function(t) {
|
|
|
593
477
|
text: A
|
|
594
478
|
})));
|
|
595
479
|
});
|
|
596
|
-
|
|
597
|
-
|
|
480
|
+
he.displayName = "Tooltip";
|
|
481
|
+
he.propTypes = je;
|
|
482
|
+
var Ve = {
|
|
483
|
+
/**
|
|
484
|
+
* Content to be rendered inside the label. Expects a string, though accepts any valid markup.
|
|
485
|
+
*
|
|
486
|
+
* Defaults to **null**.
|
|
487
|
+
*/
|
|
488
|
+
children: i.node.isRequired,
|
|
489
|
+
/**
|
|
490
|
+
* The css class name to be passed through to the component markup.
|
|
491
|
+
*
|
|
492
|
+
* Defaults to **undefined**.
|
|
493
|
+
*/
|
|
494
|
+
className: i.string,
|
|
495
|
+
/**
|
|
496
|
+
* The label will appear in the floating state.
|
|
497
|
+
*
|
|
498
|
+
* Defaults to **false**.
|
|
499
|
+
*/
|
|
500
|
+
float: i.bool,
|
|
501
|
+
/**
|
|
502
|
+
* The id of the component to trigger on active
|
|
503
|
+
*
|
|
504
|
+
* Defaults to **empty string**.
|
|
505
|
+
*/
|
|
506
|
+
htmlFor: i.string,
|
|
507
|
+
/**
|
|
508
|
+
* The label will shake briefly when set.
|
|
509
|
+
*
|
|
510
|
+
* Defaults to **false**.
|
|
511
|
+
*/
|
|
512
|
+
shake: i.bool
|
|
513
|
+
}, ze = {
|
|
514
|
+
children: null,
|
|
515
|
+
className: void 0
|
|
516
|
+
}, Je = ["children", "htmlFor", "shake", "float", "className", "style"], U = ze, me = /* @__PURE__ */ M(function(n, t) {
|
|
517
|
+
var e = n.children, o = e === void 0 ? U.children : e, r = n.htmlFor, a = r === void 0 ? "" : r, u = n.shake, _ = u === void 0 ? !1 : u, p = n.float, f = p === void 0 ? !1 : p, h = n.className, y = h === void 0 ? U.className : h, g = n.style, s = g === void 0 ? U.style : g, d = w(n, Je), E = N(), C = o, b = N();
|
|
518
|
+
return B(t, function() {
|
|
519
|
+
return b.current;
|
|
520
|
+
}, []), P(function() {
|
|
521
|
+
return E.current = we.attachTo(b.current), function() {
|
|
522
|
+
E.current.destroy();
|
|
523
|
+
};
|
|
524
|
+
}), P(function() {
|
|
525
|
+
E.current.float(f);
|
|
526
|
+
}, [f]), /* @__PURE__ */ c.createElement("label", L({
|
|
527
|
+
ref: b,
|
|
528
|
+
htmlFor: a,
|
|
529
|
+
className: x("lmnt", "mdc-floating-label", f && "mdc-floating-label--float-above", _ && "mdc-floating-label--shake", y)
|
|
530
|
+
}, d, {
|
|
531
|
+
style: s
|
|
532
|
+
}), C);
|
|
533
|
+
});
|
|
534
|
+
me.displayName = "FloatingLabel";
|
|
535
|
+
me.propTypes = Ve;
|
|
536
|
+
var Xe = {
|
|
537
|
+
/**
|
|
538
|
+
* Content to be rendered inside the notched outline. Accepts a string.
|
|
539
|
+
*
|
|
540
|
+
* Defaults to **null**.
|
|
541
|
+
*/
|
|
542
|
+
children: i.node,
|
|
543
|
+
/**
|
|
544
|
+
* The css class name to be passed through to the component markup.
|
|
545
|
+
*
|
|
546
|
+
* Defaults to **undefined**.
|
|
547
|
+
*/
|
|
548
|
+
className: i.string,
|
|
549
|
+
/**
|
|
550
|
+
* Determines if the notch is opened or closed.
|
|
551
|
+
*
|
|
552
|
+
* Defaults to **undefined**.
|
|
553
|
+
*/
|
|
554
|
+
closed: i.bool,
|
|
555
|
+
/**
|
|
556
|
+
* Keep the outline, but prevent the notch (and label from showing up).
|
|
557
|
+
*
|
|
558
|
+
* Defaults to **undefined**.
|
|
559
|
+
*/
|
|
560
|
+
outlineOnly: i.bool,
|
|
561
|
+
/**
|
|
562
|
+
*
|
|
563
|
+
*
|
|
564
|
+
* Defaults to **null**.
|
|
565
|
+
*/
|
|
566
|
+
width: i.number
|
|
567
|
+
}, Ye = {
|
|
568
|
+
children: null,
|
|
569
|
+
className: void 0,
|
|
570
|
+
closed: void 0,
|
|
571
|
+
outlineOnly: void 0,
|
|
572
|
+
width: null
|
|
573
|
+
}, Ze = ["closed", "className", "children", "outlineOnly", "width"], k = Ye, ve = /* @__PURE__ */ M(function(n, t) {
|
|
574
|
+
var e = n.closed, o = e === void 0 ? k.closed : e, r = n.className, a = r === void 0 ? k.className : r, u = n.children, _ = u === void 0 ? k.children : u, p = n.outlineOnly, f = p === void 0 ? k.outlineOnly : p, h = n.width, y = h === void 0 ? k.width : h, g = w(n, Ze), s = N(), d = N();
|
|
575
|
+
return B(t, function() {
|
|
576
|
+
return s.current;
|
|
577
|
+
}, []), P(function() {
|
|
578
|
+
return d.current = Be.attachTo(s.current), function() {
|
|
579
|
+
d.current.destroy();
|
|
580
|
+
};
|
|
581
|
+
}, []), P(function() {
|
|
582
|
+
o !== void 0 && (o ? d.current.closeNotch() : d.current.notch());
|
|
583
|
+
}, [o]), P(function() {
|
|
584
|
+
y ? d.current.foundation.adapter.setNotchWidthProperty(y) : d.current.foundation.adapter.removeNotchWidthProperty();
|
|
585
|
+
}, [y]), /* @__PURE__ */ c.createElement("div", L({
|
|
586
|
+
className: x("lmnt", "mdc-notched-outline", a),
|
|
587
|
+
ref: s
|
|
588
|
+
}, g), /* @__PURE__ */ c.createElement("div", {
|
|
589
|
+
className: "mdc-notched-outline__leading"
|
|
590
|
+
}), !f && /* @__PURE__ */ c.createElement("div", {
|
|
591
|
+
className: "mdc-notched-outline__notch"
|
|
592
|
+
}, _), /* @__PURE__ */ c.createElement("div", {
|
|
593
|
+
className: "mdc-notched-outline__trailing"
|
|
594
|
+
}));
|
|
595
|
+
});
|
|
596
|
+
ve.displayName = "NotchedOutline";
|
|
597
|
+
ve.propTypes = Xe;
|
|
598
598
|
export {
|
|
599
|
-
|
|
599
|
+
me as F,
|
|
600
600
|
we as M,
|
|
601
|
-
|
|
601
|
+
ve as N,
|
|
602
602
|
K as T,
|
|
603
603
|
Be as a
|
|
604
604
|
};
|
|
@@ -4,13 +4,13 @@ import { _ as Z } from "./slicedToArray-C2Ed3239.js";
|
|
|
4
4
|
import { _ as Oa } from "./parse-int-BYd7r_4n.js";
|
|
5
5
|
import { H as Yr, e as En, u as Wn, _ as Tn, w as _r, v as $r, k as Yt, q as Xa, d as at } from "./index.es-DRC-9PLs.js";
|
|
6
6
|
import H, { forwardRef as $a, useContext as Ur, useState as J, useRef as st, useMemo as ia, useCallback as ae, useEffect as xe, useImperativeHandle as Ua, cloneElement as Hn } from "react";
|
|
7
|
-
import { a as Nr } from "./index.es-
|
|
8
|
-
import { I as Va } from "./index.es-
|
|
9
|
-
import { e as Na, f as Er, g as _, h as $, i as M, j as O, k as f, b as h, S as ka } from "./index.es-
|
|
7
|
+
import { a as Nr } from "./index.es-CdZp67J9.js";
|
|
8
|
+
import { I as Va } from "./index.es-BwhRJBEH.js";
|
|
9
|
+
import { e as Na, f as Er, g as _, h as $, i as M, j as O, k as f, b as h, S as ka } from "./index.es-74LdeLp0.js";
|
|
10
10
|
import { _ as Ka, P as Fn } from "./index.es-CNrSvjAv.js";
|
|
11
11
|
import { _ as In } from "./find-OaLSg5iu.js";
|
|
12
12
|
import { c as Wr, I as Hr, _ as Mn } from "./index.es-LckFzDz-.js";
|
|
13
|
-
import { T as Fr } from "./index.es-
|
|
13
|
+
import { T as Fr } from "./index.es-CJIPOFSz.js";
|
|
14
14
|
function ee(i) {
|
|
15
15
|
if (i === null || i === !0 || i === !1)
|
|
16
16
|
return NaN;
|
|
@@ -4,11 +4,11 @@ import { _ as St } from "./index.es-CNrSvjAv.js";
|
|
|
4
4
|
import { _ as M } from "./slicedToArray-C2Ed3239.js";
|
|
5
5
|
import { e as Ee, w as Un, _ as Vt, c as Gt, d as P, r as qn } from "./index.es-DRC-9PLs.js";
|
|
6
6
|
import d, { forwardRef as Ae, useRef as O, useImperativeHandle as zt, useEffect as v, useState as j, useMemo as Wn, useCallback as Dt } from "react";
|
|
7
|
-
import { M as Xn, a as Gn, N as zn, F as Ht, T as Yn } from "./index.es-
|
|
7
|
+
import { M as Xn, a as Gn, N as zn, F as Ht, T as Yn } from "./index.es-ByqU-v6T.js";
|
|
8
8
|
import { b as A, c as f } from "./tslib.es6-BDCynO9F.js";
|
|
9
9
|
import { M as ne, a as ie } from "./component-By6nyiBU.js";
|
|
10
10
|
import { c as Kn, I as Yt } from "./index.es-LckFzDz-.js";
|
|
11
|
-
import { a as he, M as wt, m as Jn, b as Qn } from "./component-
|
|
11
|
+
import { a as he, M as wt, m as Jn, b as Qn } from "./component-9vrShqiY.js";
|
|
12
12
|
var $ = {
|
|
13
13
|
LINE_RIPPLE_ACTIVE: "mdc-line-ripple--active",
|
|
14
14
|
LINE_RIPPLE_DEACTIVATING: "mdc-line-ripple--deactivating"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef as R, useRef as m, useImperativeHandle as s, useEffect as v } from "react";
|
|
2
2
|
import { P as o } from "./index-_-9ybP20.js";
|
|
3
|
-
import { M as b } from "./component-
|
|
3
|
+
import { M as b } from "./component-9vrShqiY.js";
|
|
4
4
|
var h = {
|
|
5
5
|
/**
|
|
6
6
|
* Content to be rendered inside the component.
|
|
@@ -5,7 +5,7 @@ import { F as ne } from "./index.es-CTKwa3Es.js";
|
|
|
5
5
|
import { e as ae, d as re } from "./index.es-DRC-9PLs.js";
|
|
6
6
|
import { b as x, c as m, _ as ie, a as oe } from "./tslib.es6-BDCynO9F.js";
|
|
7
7
|
import { M as se, a as de } from "./component-By6nyiBU.js";
|
|
8
|
-
import { M as H, a as M, m as ce, b as le } from "./component-
|
|
8
|
+
import { M as H, a as M, m as ce, b as le } from "./component-9vrShqiY.js";
|
|
9
9
|
var u = {
|
|
10
10
|
/** Class used for a switch that is in the "checked" (on) position. */
|
|
11
11
|
CHECKED: "mdc-switch--checked",
|
|
@@ -3,9 +3,9 @@ import { _ as ee, a as M, b as ae, c as re, d as j, e as U, f as te } from "./de
|
|
|
3
3
|
import { _ as pe } from "./slicedToArray-C2Ed3239.js";
|
|
4
4
|
import m, { useLayoutEffect as Ie, useEffect as ge, useState as Y, useMemo as q, forwardRef as $, useRef as H, useImperativeHandle as z, createContext as we } from "react";
|
|
5
5
|
import { b as ue, r as le } from "./index.es-DRC-9PLs.js";
|
|
6
|
-
import { B as Ee } from "./index.es-
|
|
6
|
+
import { B as Ee } from "./index.es-B9C7vzr4.js";
|
|
7
7
|
import { I as De } from "./index.es-LckFzDz-.js";
|
|
8
|
-
import { I as Re } from "./index.es-
|
|
8
|
+
import { I as Re } from "./index.es-BwhRJBEH.js";
|
|
9
9
|
import { D as Se } from "./index.es-0SkNh4dU.js";
|
|
10
10
|
import { G as Me } from "./index.es-BE1XL1dD.js";
|
|
11
11
|
import { _ as ie } from "./includes-CSD_V_RY.js";
|
|
@@ -47,28 +47,31 @@ export { AvailableCustomIcons } from './enums/AvailableCustomIcons';
|
|
|
47
47
|
export { ThemeColor } from './enums/ThemeColor';
|
|
48
48
|
export { useBreakpoints } from './hooks/useBreakpoints';
|
|
49
49
|
export { useContainerWidth } from './hooks/useContainerWidth';
|
|
50
|
-
export {
|
|
50
|
+
export { useDesktopBreakpoints } from './hooks/useDesktopBreakpoints';
|
|
51
|
+
export { capitalizeFirstLetters, flattenObjectToString, getFormattedDateTime, getNumberAsLocaleString, trimLeadingAndTrailingSpaces } from './services/UtilService';
|
|
52
|
+
export type { AllowedButtonProps } from './components/AllowedButton/AllowedButton';
|
|
53
|
+
export type { AllowedIconButtonProps } from './components/AllowedIconButton/AllowedIconButton';
|
|
51
54
|
export type { ActionProps } from './components/ContextMenu/ContextMenu';
|
|
52
|
-
export type { FormSelectOption, FormSelectProps
|
|
55
|
+
export type { FormSelectOption, FormSelectProps } from './components/FormComponents/FormSelect/FormSelect';
|
|
53
56
|
export type { FormTextProps } from './components/FormComponents/FormText/FormText';
|
|
54
57
|
export type { InfoCardProps } from './components/InfoCard/InfoCard';
|
|
55
58
|
export type { FieldItem } from './components/InfoGroup/InfoGroup';
|
|
56
59
|
export type { LoadingSpinnerProps } from './components/LoadingSpinner/Default/LoadingSpinner';
|
|
57
60
|
export { StepperStyle } from './components/Stepper/stepperStyles';
|
|
58
|
-
export type { Step, StepperBaseProps, StepperButtonProps, StepperProps
|
|
61
|
+
export type { Step, StepperBaseProps, StepperButtonProps, StepperProps } from './components/Stepper/stepperTypes';
|
|
59
62
|
export type { FilterData, FilterOption, FilterSelection } from './types/Filter';
|
|
60
63
|
export type { CellTemplate, CellTemplateProps, TableLayoutProps } from './types/GenericTable';
|
|
61
64
|
export type { HashTab } from './types/HashTab';
|
|
62
65
|
export type { BaseListElement, ListElement } from './types/ListElement';
|
|
63
66
|
export { DATE_FORMAT, DATE_TIME_FORMAT, TIME_FORMAT } from './types/Time';
|
|
64
|
-
export { AVAILABLE_COUNTRY_KEYS, AVAILABLE_LOCALES, ENGLISH_LANGUAGE_ID, GERMAN_LANGUAGE_ID, LANGUAGE_CODES_MAPPER, LANGUAGE_ID_MAPPER, SPANISH_LANGUAGE_ID, TURKISH_LANGUAGE_ID
|
|
67
|
+
export { AVAILABLE_COUNTRY_KEYS, AVAILABLE_LOCALES, ENGLISH_LANGUAGE_ID, GERMAN_LANGUAGE_ID, LANGUAGE_CODES_MAPPER, LANGUAGE_ID_MAPPER, SPANISH_LANGUAGE_ID, TURKISH_LANGUAGE_ID } from './types/Languages';
|
|
65
68
|
export type { AVAILABLE_LANGUAGE_CODES, LANGUAGE_COUNTRY_CODES } from './types/Languages';
|
|
66
69
|
export { Allowed } from './components/Allowed/Allowed';
|
|
67
70
|
export { AllowedButton } from './components/AllowedButton/AllowedButton';
|
|
68
71
|
export { AllowedIconButton } from './components/AllowedIconButton/AllowedIconButton';
|
|
69
|
-
export { getPermissionsFromModulePermissionToken, useIsAllowed
|
|
72
|
+
export { getPermissionsFromModulePermissionToken, useIsAllowed } from './components/PermissionChecks/PermissionService';
|
|
70
73
|
export type { IsAllowedProps } from './components/PermissionChecks/PermissionService';
|
|
71
74
|
export { SharedComponentsPermissionProvider } from './components/SharedComponentsPermissionProvider/SharedComponentsPermissionProvider';
|
|
72
75
|
export { createPermissionWrapper, renderWithPermissions } from './test-utils';
|
|
73
76
|
export { HVMainPermissions } from './types/Permission';
|
|
74
|
-
export type { HVPermissions, ModulePermissionTokenParsed, PermissionsByEntity
|
|
77
|
+
export type { HVPermissions, ModulePermissionTokenParsed, PermissionsByEntity } from './types/Permission';
|