@geotab/zenith 3.1.1-beta.0 → 3.1.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/advancedGroupsFilter/advancedGroupsFilter.d.ts +1 -1
- package/dist/advancedGroupsFilter/advancedGroupsFilterForm.js +2 -2
- package/dist/advancedGroupsFilter/advancedGroupsFilterFormHelper.d.ts +1 -1
- package/dist/advancedGroupsFilter/advancedGroupsFilterFormHelper.js +2 -2
- package/dist/advancedGroupsFilter/advancedGroupsFilterFormSection.d.ts +1 -1
- package/dist/advancedGroupsFilter/advancedGroupsFilterFormSection.js +2 -2
- package/dist/advancedGroupsFilter/advancedGroupsFilterHelper.d.ts +2 -2
- package/dist/advancedGroupsFilter/advancedGroupsFilterHelper.js +1 -1
- package/dist/banner/banner.d.ts +2 -1
- package/dist/banner/banner.js +5 -3
- package/dist/banner/bannerMultipLine.d.ts +2 -1
- package/dist/banner/bannerMultipLine.js +2 -2
- package/dist/banner/bannerSingleLine.d.ts +2 -1
- package/dist/banner/bannerSingleLine.js +2 -2
- package/dist/button/button.d.ts +5 -3
- package/dist/button/button.js +4 -3
- package/dist/card/card.d.ts +2 -2
- package/dist/card/card.js +3 -1
- package/dist/card/components/cardButton/cardButton.d.ts +4 -3
- package/dist/card/components/cardButton/cardButton.js +2 -2
- package/dist/checkboxListWithAction/checkboxListWithAction.d.ts +1 -1
- package/dist/comboboxSelected/comboboxSelected.js +1 -1
- package/dist/commonHelpers/getAriaAttributes.d.ts +1 -0
- package/dist/commonHelpers/getAriaAttributes.js +16 -0
- package/dist/commonHelpers/hooks/useFormField.d.ts +8 -0
- package/dist/commonHelpers/hooks/useFormField.js +19 -0
- package/dist/commonHelpers/hooks/useFormFieldValues/getRuleValue.d.ts +2 -0
- package/dist/commonHelpers/hooks/useFormFieldValues/getRuleValue.js +13 -0
- package/dist/commonHelpers/hooks/useFormFieldValues/useFormFieldValues.d.ts +13 -0
- package/dist/commonHelpers/hooks/useFormFieldValues/useFormFieldValues.js +52 -0
- package/dist/commonHelpers/isFormItem.d.ts +2 -0
- package/dist/commonHelpers/isFormItem.js +5 -0
- package/dist/commonHelpers/loading.d.ts +6 -0
- package/dist/commonHelpers/loading.js +5 -0
- package/dist/commonHelpers/types/exclusive.d.ts +3 -0
- package/dist/commonHelpers/types/without.d.ts +3 -0
- package/dist/commonHelpers/zenComponent.d.ts +17 -0
- package/dist/dateInput/dateInput.d.ts +8 -22
- package/dist/dateInput/dateInput.js +20 -113
- package/dist/dateInputInner/dateInputInnerControlBlock.js +4 -1
- package/dist/dateInputRaw/dateInputRaw.d.ts +9 -0
- package/dist/dateInputRaw/dateInputRaw.js +134 -0
- package/dist/dateInputRaw/types.d.ts +32 -0
- package/dist/{dateInput → dateInputRaw/utils}/getLabel.js +1 -1
- package/dist/dateRange/dateRange.d.ts +10 -41
- package/dist/dateRange/dateRange.js +19 -259
- package/dist/dateRange/dateRangeUtils.d.ts +1 -38
- package/dist/dateRange/dateRangeUtils.js +15 -293
- package/dist/dateRangeRaw/dateRangeRaw.d.ts +45 -0
- package/dist/dateRangeRaw/dateRangeRaw.js +276 -0
- package/dist/dateRangeRaw/types.d.ts +48 -0
- package/dist/dateRangeRaw/types.js +2 -0
- package/dist/{dateRange → dateRangeRaw}/utils/areMapsEqual.d.ts +1 -1
- package/dist/dateRangeRaw/utils/dateRangeUtils.d.ts +38 -0
- package/dist/dateRangeRaw/utils/dateRangeUtils.js +295 -0
- package/dist/dateRangeRaw/utils/parseLabel.d.ts +2 -0
- package/dist/dateRangeRaw/utils/parseLabel.js +15 -0
- package/dist/divider/divider.d.ts +7 -0
- package/dist/divider/divider.js +7 -0
- package/dist/dropdown/dropdown.d.ts +21 -108
- package/dist/dropdown/dropdown.js +27 -494
- package/dist/dropdown/dropdownPopup.d.ts +4 -34
- package/dist/dropdown/dropdownPopup.js +2 -32
- package/dist/dropdown/dropdownTrigger.d.ts +2 -25
- package/dist/dropdown/dropdownTrigger.js +3 -30
- package/dist/{dropdown → dropdownRaw}/dropdownHelper.d.ts +15 -14
- package/dist/{dropdown → dropdownRaw}/dropdownHelper.js +1 -1
- package/dist/dropdownRaw/dropdownPopup.d.ts +34 -0
- package/dist/dropdownRaw/dropdownPopup.js +35 -0
- package/dist/dropdownRaw/dropdownRaw.d.ts +6 -0
- package/dist/dropdownRaw/dropdownRaw.js +541 -0
- package/{esm/dropdown → dist/dropdownRaw}/dropdownSearchableTrigger.d.ts +3 -1
- package/dist/{dropdown → dropdownRaw}/dropdownSearchableTrigger.js +5 -2
- package/dist/dropdownRaw/dropdownTestData.d.ts +65 -0
- package/dist/dropdownRaw/dropdownTestData.js +1093 -0
- package/dist/dropdownRaw/dropdownTrigger.d.ts +27 -0
- package/dist/dropdownRaw/dropdownTrigger.js +31 -0
- package/{esm/dropdown → dist/dropdownRaw}/stateReducer/stateAction.d.ts +4 -4
- package/dist/dropdownRaw/stateReducer/stateAction.js +2 -0
- package/dist/{dropdown → dropdownRaw}/stateReducer/stateReducer.d.ts +5 -5
- package/dist/{dropdown → dropdownRaw}/stateReducer/stateReducer.js +2 -2
- package/dist/{dropdown → dropdownRaw}/stateReducer/stateReducerHelper.d.ts +2 -2
- package/dist/dropdownRaw/types.d.ts +133 -0
- package/dist/dropdownRaw/types.js +2 -0
- package/dist/dropdownRaw/utils/getSelectedValues.d.ts +2 -0
- package/dist/dropdownRaw/utils/getSelectedValues.js +5 -0
- package/dist/filterButton/filterButton.d.ts +3 -1
- package/dist/filterButton/filterButton.js +2 -2
- package/dist/filters/components/filtersDropdown.d.ts +4 -2
- package/dist/filters/components/filtersGroups.d.ts +1 -1
- package/dist/filters/components/filtersItem.d.ts +1 -1
- package/dist/filters/components/filtersSidePanelDropdown.js +2 -2
- package/dist/filters/components/filtersSidePanelRange.js +1 -1
- package/dist/filters/filtersHelper.js +3 -3
- package/dist/filtersBar/components/filtersBarDropdown/filtersBarDropdown.js +2 -2
- package/dist/filtersBar/components/filtersBarGroupsFilter/filtersBarGroupsFilter.d.ts +1 -1
- package/dist/filtersBar/components/filtersBarRange/filtersBarRange.js +1 -1
- package/dist/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelDropdownWithCheckbox/filtersBarSidePanelDropdownWithCheckbox.js +1 -1
- package/dist/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +2 -2
- package/dist/formField/components/formFieldBanner.d.ts +6 -0
- package/dist/formField/components/formFieldBanner.js +9 -0
- package/dist/formField/components/formFieldSkeleton.d.ts +6 -0
- package/dist/formField/components/formFieldSkeleton.js +5 -0
- package/dist/formField/components/formFieldWithLabel.d.ts +10 -0
- package/dist/formField/components/formFieldWithLabel.js +12 -0
- package/dist/formField/components/formFieldWithoutLabel.d.ts +8 -0
- package/dist/formField/components/formFieldWithoutLabel.js +12 -0
- package/dist/formField/formField.d.ts +34 -6
- package/dist/formField/formField.js +60 -7
- package/dist/formField/hooks/useAssistive.d.ts +12 -0
- package/dist/formField/hooks/useAssistive.js +18 -0
- package/dist/formField/hooks/useBanner.d.ts +8 -0
- package/dist/formField/hooks/useBanner.js +27 -0
- package/dist/formField/hooks/useDisabled.d.ts +15 -0
- package/dist/formField/hooks/useDisabled.js +22 -0
- package/dist/formField/hooks/useError.d.ts +18 -0
- package/dist/formField/hooks/useError.js +49 -0
- package/dist/formField/hooks/useLoading.d.ts +2 -0
- package/dist/formField/hooks/useLoading.js +19 -0
- package/dist/formField/hooks/useReadonly.d.ts +1 -0
- package/dist/formField/hooks/useReadonly.js +10 -0
- package/dist/formField/hooks/useSkeleton.d.ts +3 -0
- package/dist/formField/hooks/useSkeleton.js +13 -0
- package/dist/formField/hooks/useTrailing.d.ts +12 -0
- package/dist/formField/hooks/useTrailing.js +18 -0
- package/dist/formField/hooks/useWidth.d.ts +8 -0
- package/dist/formField/hooks/useWidth.js +11 -0
- package/dist/formField/utils/getFormFieldBanner.d.ts +2 -0
- package/dist/formField/utils/getFormFieldBanner.js +20 -0
- package/dist/formField/utils/rangeRawLabelCheck.d.ts +1 -0
- package/dist/formField/utils/rangeRawLabelCheck.js +14 -0
- package/dist/formGroup/components/customRow/customRow.d.ts +7 -0
- package/dist/formGroup/components/customRow/customRow.js +7 -0
- package/dist/formGroup/components/formGroupList.d.ts +5 -0
- package/dist/formGroup/components/formGroupList.js +6 -0
- package/dist/formGroup/components/formGroupToggle.d.ts +15 -0
- package/dist/formGroup/components/formGroupToggle.js +6 -0
- package/dist/formGroup/components/list.d.ts +6 -0
- package/dist/formGroup/components/list.js +19 -0
- package/dist/formGroup/components/listToggle/listToggle.d.ts +1 -0
- package/dist/formGroup/components/listToggle/listToggle.js +29 -0
- package/dist/formGroup/components/oneRow.d.ts +6 -0
- package/dist/formGroup/components/oneRow.js +15 -0
- package/dist/formGroup/components/reviewListToggle/reviewListToggle.d.ts +8 -0
- package/dist/formGroup/components/reviewListToggle/reviewListToggle.js +16 -0
- package/dist/formGroup/components/reviewTextControl.d.ts +9 -0
- package/dist/formGroup/components/reviewTextControl.js +7 -0
- package/dist/formGroup/components/row.d.ts +5 -0
- package/dist/formGroup/components/row.js +38 -0
- package/dist/formGroup/components/twoRows.d.ts +6 -0
- package/dist/formGroup/components/twoRows.js +15 -0
- package/dist/formGroup/formGroup.d.ts +13 -0
- package/dist/formGroup/formGroup.js +72 -0
- package/dist/formGroup/hooks/listHooks/useControlClasses.d.ts +2 -0
- package/dist/formGroup/hooks/listHooks/useControlClasses.js +54 -0
- package/dist/formGroup/hooks/listHooks/useControls.d.ts +2 -0
- package/dist/formGroup/hooks/listHooks/useControls.js +17 -0
- package/dist/formGroup/hooks/listHooks/useElementsState.d.ts +3 -0
- package/dist/formGroup/hooks/listHooks/useElementsState.js +38 -0
- package/dist/formGroup/hooks/listHooks/useLabelClasses.d.ts +2 -0
- package/dist/formGroup/hooks/listHooks/useLabelClasses.js +38 -0
- package/dist/formGroup/hooks/listHooks/useStateToElements.d.ts +3 -0
- package/dist/formGroup/hooks/listHooks/useStateToElements.js +27 -0
- package/dist/formGroup/hooks/rowHooks/useControlClasses.d.ts +2 -0
- package/dist/formGroup/hooks/rowHooks/useControlClasses.js +31 -0
- package/dist/formGroup/hooks/rowHooks/useControls.d.ts +2 -0
- package/dist/formGroup/hooks/rowHooks/useControls.js +15 -0
- package/dist/formGroup/hooks/rowHooks/useInitializeState.d.ts +3 -0
- package/dist/formGroup/hooks/rowHooks/useInitializeState.js +15 -0
- package/dist/formGroup/hooks/rowHooks/useLabelClasses.d.ts +2 -0
- package/dist/formGroup/hooks/rowHooks/useLabelClasses.js +28 -0
- package/dist/formGroup/hooks/useCustomRow.d.ts +4 -0
- package/dist/formGroup/hooks/useCustomRow.js +92 -0
- package/dist/formGroup/hooks/useElements.d.ts +4 -0
- package/dist/formGroup/hooks/useElements.js +24 -0
- package/dist/formGroup/hooks/useLabelAlign.d.ts +2 -0
- package/dist/formGroup/hooks/useLabelAlign.js +14 -0
- package/dist/formGroup/hooks/useMode.d.ts +2 -0
- package/dist/formGroup/hooks/useMode.js +12 -0
- package/dist/formGroup/hooks/useRowElements.d.ts +14 -0
- package/dist/formGroup/hooks/useRowElements.js +24 -0
- package/dist/formGroup/hooks/useSectionType.d.ts +2 -0
- package/dist/formGroup/hooks/useSectionType.js +12 -0
- package/dist/formGroup/hooks/useToggle.d.ts +1 -0
- package/dist/formGroup/hooks/useToggle.js +25 -0
- package/dist/formGroup/hooks/useToggleList.d.ts +9 -0
- package/dist/formGroup/hooks/useToggleList.js +24 -0
- package/dist/formGroup/types.d.ts +53 -0
- package/dist/formGroup/types.js +2 -0
- package/dist/formGroup/utils/applyControlClasses.d.ts +2 -0
- package/dist/formGroup/utils/applyControlClasses.js +51 -0
- package/dist/formGroup/utils/applyCustomControlClasses.d.ts +12 -0
- package/dist/formGroup/utils/applyCustomControlClasses.js +31 -0
- package/dist/formGroup/utils/applyCustomLabelClasses.d.ts +12 -0
- package/dist/formGroup/utils/applyCustomLabelClasses.js +20 -0
- package/dist/formGroup/utils/formGroupProvider.d.ts +9 -0
- package/dist/formGroup/utils/formGroupProvider.js +8 -0
- package/dist/formGroup/utils/getControlClasses/getControlClasses.d.ts +6 -0
- package/dist/formGroup/utils/getControlClasses/getControlClasses.js +79 -0
- package/dist/formGroup/utils/getControlClasses/getModalSectionClasses.d.ts +2 -0
- package/dist/formGroup/utils/getControlClasses/getModalSectionClasses.js +8 -0
- package/dist/formGroup/utils/getControlClasses/getOneLabelOneControlClasses.d.ts +6 -0
- package/dist/formGroup/utils/getControlClasses/getOneLabelOneControlClasses.js +25 -0
- package/dist/formGroup/utils/getControlClasses/getOneLabelTwoControlsClasses.d.ts +7 -0
- package/dist/formGroup/utils/getControlClasses/getOneLabelTwoControlsClasses.js +53 -0
- package/dist/formGroup/utils/getControlClasses/getTwoLabelsOneControlClasses.d.ts +6 -0
- package/dist/formGroup/utils/getControlClasses/getTwoLabelsOneControlClasses.js +25 -0
- package/dist/formGroup/utils/getControlClasses/getTwoLabelsTwoControlsClasses.d.ts +6 -0
- package/dist/formGroup/utils/getControlClasses/getTwoLabelsTwoControlsClasses.js +28 -0
- package/dist/formGroup/utils/getControlClasses/getZeroLabelOneControlClasses.d.ts +3 -0
- package/dist/formGroup/utils/getControlClasses/getZeroLabelOneControlClasses.js +16 -0
- package/dist/formGroup/utils/getControlClasses/types.d.ts +4 -0
- package/dist/formGroup/utils/getControlClasses/types.js +2 -0
- package/dist/formGroup/utils/getControlListClasses/getControlListClasses.d.ts +4 -0
- package/dist/formGroup/utils/getControlListClasses/getControlListClasses.js +46 -0
- package/dist/formGroup/utils/getControlListClasses/getOneLabelOneControlClasses.d.ts +7 -0
- package/dist/formGroup/utils/getControlListClasses/getOneLabelOneControlClasses.js +64 -0
- package/dist/formGroup/utils/getControlListClasses/getOneLabelTwoControlsClasses.d.ts +7 -0
- package/dist/formGroup/utils/getControlListClasses/getOneLabelTwoControlsClasses.js +44 -0
- package/dist/formGroup/utils/getControlListClasses/getTwoLabelsTwoControlsClasses.d.ts +6 -0
- package/dist/formGroup/utils/getControlListClasses/getTwoLabelsTwoControlsClasses.js +39 -0
- package/dist/formGroup/utils/getControlListClasses/getZeroLabelOneControlClasses.d.ts +5 -0
- package/dist/formGroup/utils/getControlListClasses/getZeroLabelOneControlClasses.js +18 -0
- package/dist/formGroup/utils/getControlListClasses/getZeroLabelsTwoControls.d.ts +2 -0
- package/dist/formGroup/utils/getControlListClasses/getZeroLabelsTwoControls.js +17 -0
- package/dist/formGroup/utils/getControlNode.d.ts +1 -0
- package/dist/formGroup/utils/getControlNode.js +6 -0
- package/dist/formGroup/utils/getControls.d.ts +5 -0
- package/dist/formGroup/utils/getControls.js +26 -0
- package/dist/formGroup/utils/getElementsControl.d.ts +5 -0
- package/dist/formGroup/utils/getElementsControl.js +37 -0
- package/dist/formGroup/utils/getLabelClasses/getLabelClasses.d.ts +6 -0
- package/dist/formGroup/utils/getLabelClasses/getLabelClasses.js +65 -0
- package/dist/formGroup/utils/getLabelClasses/getModalSectionClasses.d.ts +2 -0
- package/dist/formGroup/utils/getLabelClasses/getModalSectionClasses.js +8 -0
- package/dist/formGroup/utils/getLabelClasses/getOneLabelOneControlClasses.d.ts +4 -0
- package/dist/formGroup/utils/getLabelClasses/getOneLabelOneControlClasses.js +24 -0
- package/dist/formGroup/utils/getLabelClasses/getOneLabelTwoControlsClasses.d.ts +4 -0
- package/dist/formGroup/utils/getLabelClasses/getOneLabelTwoControlsClasses.js +50 -0
- package/dist/formGroup/utils/getLabelClasses/getReviewOrInlineEditClasses.d.ts +2 -0
- package/dist/formGroup/utils/getLabelClasses/getReviewOrInlineEditClasses.js +31 -0
- package/dist/formGroup/utils/getLabelClasses/getTwoLabelsOneControlClasses.d.ts +4 -0
- package/dist/formGroup/utils/getLabelClasses/getTwoLabelsOneControlClasses.js +28 -0
- package/dist/formGroup/utils/getLabelClasses/getTwoLabelsTwoControlsClasses.d.ts +4 -0
- package/dist/formGroup/utils/getLabelClasses/getTwoLabelsTwoControlsClasses.js +28 -0
- package/dist/formGroup/utils/getLabelClasses/getZeroLabelClasses.d.ts +2 -0
- package/dist/formGroup/utils/getLabelClasses/getZeroLabelClasses.js +8 -0
- package/dist/formGroup/utils/getLabelClasses/types.d.ts +4 -0
- package/dist/formGroup/utils/getLabelClasses/types.js +2 -0
- package/dist/formGroup/utils/getLabelListClasses/getLabelListClasses.d.ts +7 -0
- package/dist/formGroup/utils/getLabelListClasses/getLabelListClasses.js +34 -0
- package/dist/formGroup/utils/getLabelListClasses/getOneLabelOneControlClasses.d.ts +6 -0
- package/dist/formGroup/utils/getLabelListClasses/getOneLabelOneControlClasses.js +48 -0
- package/dist/formGroup/utils/getLabelListClasses/getOneLabelTwoControlsClasses.d.ts +7 -0
- package/dist/formGroup/utils/getLabelListClasses/getOneLabelTwoControlsClasses.js +29 -0
- package/dist/formGroup/utils/getLabelListClasses/getOneLabelZeroControlsClasses.d.ts +4 -0
- package/dist/formGroup/utils/getLabelListClasses/getOneLabelZeroControlsClasses.js +17 -0
- package/dist/formGroup/utils/getLabelListClasses/getTwoLabelsTwoControlsClasses.d.ts +5 -0
- package/dist/formGroup/utils/getLabelListClasses/getTwoLabelsTwoControlsClasses.js +35 -0
- package/dist/formGroup/utils/getLabelNode.d.ts +1 -0
- package/dist/formGroup/utils/getLabelNode.js +6 -0
- package/dist/formGroup/utils/getListClasses.d.ts +3 -0
- package/dist/formGroup/utils/getListClasses.js +31 -0
- package/dist/formGroup/utils/getToggleClasses.d.ts +3 -0
- package/dist/formGroup/utils/getToggleClasses.js +17 -0
- package/dist/formGroup/utils/getTotalState.d.ts +2 -0
- package/dist/formGroup/utils/getTotalState.js +23 -0
- package/dist/formGroup/utils/hasCustomWidthControl.d.ts +2 -0
- package/dist/formGroup/utils/hasCustomWidthControl.js +11 -0
- package/dist/formGroup/utils/hasWidthProp.d.ts +2 -0
- package/dist/formGroup/utils/hasWidthProp.js +14 -0
- package/dist/formGroup/utils/initializeState.d.ts +12 -0
- package/dist/formGroup/utils/initializeState.js +43 -0
- package/dist/formGroup/utils/isFormLabel.d.ts +3 -0
- package/dist/formGroup/utils/isFormLabel.js +6 -0
- package/dist/formGroup/utils/isTopAlign.d.ts +3 -0
- package/dist/formGroup/utils/isTopAlign.js +9 -0
- package/dist/formGroup/utils/isTwoRowsStructure.d.ts +3 -0
- package/dist/formGroup/utils/isTwoRowsStructure.js +29 -0
- package/dist/formGroupItem/formGroupItem.d.ts +8 -0
- package/dist/formGroupItem/formGroupItem.js +13 -0
- package/dist/formLayout/components/column/column.d.ts +7 -0
- package/dist/formLayout/components/column/column.js +7 -0
- package/dist/formLayout/components/columnTitle/formLayoutColumnTitle.d.ts +9 -0
- package/dist/formLayout/components/columnTitle/formLayoutColumnTitle.js +7 -0
- package/dist/formLayout/components/customColumns.d.ts +9 -0
- package/dist/formLayout/components/customColumns.js +37 -0
- package/dist/formLayout/components/formLayoutSecondary.d.ts +7 -0
- package/dist/formLayout/components/formLayoutSecondary.js +7 -0
- package/dist/formLayout/components/formLayoutTitle.d.ts +7 -0
- package/dist/formLayout/components/formLayoutTitle.js +7 -0
- package/dist/formLayout/components/getLayoutColumns.d.ts +1 -0
- package/dist/formLayout/components/getLayoutColumns.js +39 -0
- package/dist/formLayout/components/layoutColumn/layoutColum.d.ts +6 -0
- package/dist/formLayout/components/layoutColumn/layoutColum.js +6 -0
- package/dist/formLayout/components/oneColumnGrid.d.ts +2 -0
- package/dist/formLayout/components/oneColumnGrid.js +28 -0
- package/dist/formLayout/components/twoColumnsGrid.d.ts +2 -0
- package/dist/formLayout/components/twoColumnsGrid.js +28 -0
- package/dist/formLayout/components/useCustomColumns.d.ts +11 -0
- package/dist/formLayout/components/useCustomColumns.js +60 -0
- package/dist/formLayout/formLayout.d.ts +7 -0
- package/dist/formLayout/formLayout.js +43 -0
- package/dist/formLayout/hooks/getStepperLayout.d.ts +2 -0
- package/dist/formLayout/hooks/getStepperLayout.js +23 -0
- package/dist/formLayout/hooks/useColumns.d.ts +1 -0
- package/dist/formLayout/hooks/useColumns.js +10 -0
- package/dist/formLayout/hooks/useComponents.d.ts +8 -0
- package/dist/formLayout/hooks/useComponents.js +43 -0
- package/dist/formLayout/hooks/useError.d.ts +6 -0
- package/dist/formLayout/hooks/useError.js +24 -0
- package/dist/formLayout/hooks/useFormButtons.d.ts +11 -0
- package/dist/formLayout/hooks/useFormButtons.js +39 -0
- package/dist/formLayout/hooks/useLayoutColumns.d.ts +1 -0
- package/dist/formLayout/hooks/useLayoutColumns.js +10 -0
- package/dist/formLayout/hooks/useLoading.d.ts +5 -0
- package/dist/formLayout/hooks/useLoading.js +16 -0
- package/dist/formLayout/types.d.ts +32 -0
- package/dist/formLayout/types.js +2 -0
- package/dist/formLayout/utils/applyGridPropsOneColumn.d.ts +1 -0
- package/dist/formLayout/utils/applyGridPropsOneColumn.js +18 -0
- package/dist/formLayout/utils/applyGridPropsStatic.d.ts +1 -0
- package/dist/formLayout/utils/applyGridPropsStatic.js +46 -0
- package/dist/formLayout/utils/applyGridPropsTwoColumns/applyFirstColumn.d.ts +2 -0
- package/dist/formLayout/utils/applyGridPropsTwoColumns/applyFirstColumn.js +18 -0
- package/dist/formLayout/utils/applyGridPropsTwoColumns/applyGridPropsTwoColumns.d.ts +2 -0
- package/dist/formLayout/utils/applyGridPropsTwoColumns/applyGridPropsTwoColumns.js +24 -0
- package/dist/formLayout/utils/applyGridPropsTwoColumns/applySecondColumn.d.ts +2 -0
- package/dist/formLayout/utils/applyGridPropsTwoColumns/applySecondColumn.js +20 -0
- package/dist/formLayout/utils/applyLayoutPosition/applyLayoutPosition.d.ts +1 -0
- package/dist/formLayout/utils/applyLayoutPosition/applyLayoutPosition.js +118 -0
- package/dist/formLayout/utils/attachHeadings.d.ts +1 -0
- package/dist/formLayout/utils/attachHeadings.js +31 -0
- package/dist/formLayout/utils/attachSeparators.d.ts +4 -0
- package/dist/formLayout/utils/attachSeparators.js +32 -0
- package/dist/formLayout/utils/attachStepper.d.ts +3 -0
- package/dist/formLayout/utils/attachStepper.js +23 -0
- package/dist/formLayout/utils/formLayoutProvider.d.ts +7 -0
- package/dist/formLayout/utils/formLayoutProvider.js +14 -0
- package/dist/formLayout/utils/getAllowedComponents.d.ts +6 -0
- package/dist/formLayout/utils/getAllowedComponents.js +22 -0
- package/dist/formLayout/utils/getChildrenWithCustomColumns.d.ts +2 -0
- package/dist/formLayout/utils/getChildrenWithCustomColumns.js +74 -0
- package/dist/formLayout/utils/getComponentsWithClasses.d.ts +3 -0
- package/dist/formLayout/utils/getComponentsWithClasses.js +27 -0
- package/dist/formLayout/utils/getFilteredComponents.d.ts +4 -0
- package/dist/formLayout/utils/getFilteredComponents.js +25 -0
- package/dist/formLayout/utils/getFormSection.d.ts +2 -0
- package/dist/formLayout/utils/getFormSection.js +25 -0
- package/dist/formLayout/utils/hasStepper.d.ts +2 -0
- package/dist/formLayout/utils/hasStepper.js +5 -0
- package/dist/formLayout/utils/isCustomFormSection.d.ts +3 -0
- package/dist/formLayout/utils/isCustomFormSection.js +6 -0
- package/dist/formLayout/utils/isStaticElement.d.ts +1 -0
- package/dist/formLayout/utils/isStaticElement.js +19 -0
- package/dist/formSection/components/actions.d.ts +5 -0
- package/dist/formSection/components/actions.js +5 -0
- package/dist/formSection/components/additional.d.ts +5 -0
- package/dist/formSection/components/additional.js +5 -0
- package/dist/formSection/components/additionalSection.d.ts +9 -0
- package/dist/formSection/components/additionalSection.js +32 -0
- package/dist/formSection/components/formSectionButton.d.ts +5 -0
- package/dist/formSection/components/formSectionButton.js +21 -0
- package/dist/formSection/components/formSectionCard.d.ts +4 -0
- package/dist/formSection/components/formSectionCard.js +53 -0
- package/dist/formSection/components/formSectionDefault.d.ts +3 -0
- package/dist/formSection/components/formSectionDefault.js +20 -0
- package/dist/formSection/components/formSectionDefaultTitle.d.ts +7 -0
- package/dist/formSection/components/formSectionDefaultTitle.js +7 -0
- package/dist/formSection/components/formSectionInner.d.ts +7 -0
- package/dist/formSection/components/formSectionInner.js +59 -0
- package/dist/formSection/components/formSectionModal.d.ts +3 -0
- package/dist/formSection/components/formSectionModal.js +9 -0
- package/dist/formSection/formSection.d.ts +12 -0
- package/dist/formSection/formSection.js +48 -0
- package/dist/formSection/hooks/useError.d.ts +7 -0
- package/dist/formSection/hooks/useError.js +32 -0
- package/dist/formSection/hooks/useLoading.d.ts +5 -0
- package/dist/formSection/hooks/useLoading.js +22 -0
- package/dist/formSection/types.d.ts +35 -0
- package/dist/formSection/types.js +4 -0
- package/dist/formSection/utils/formSectionProvider.d.ts +11 -0
- package/dist/formSection/utils/formSectionProvider.js +13 -0
- package/dist/formSection/utils/getClassName.d.ts +4 -0
- package/dist/formSection/utils/getClassName.js +12 -0
- package/dist/formSection/utils/isFormSection.d.ts +4 -0
- package/dist/formSection/utils/isFormSection.js +5 -0
- package/dist/formSection/utils/isModalSection.d.ts +2 -0
- package/dist/formSection/utils/isModalSection.js +8 -0
- package/dist/formStepper/formStepper.js +1 -1
- package/dist/formStepper/hooks/useFormStepper.d.ts +6 -0
- package/dist/formStepper/hooks/useFormStepper.js +24 -0
- package/dist/formStepperButtons/formStepperButtons.js +3 -1
- package/dist/gridLayout/gridLayout.js +2 -1
- package/dist/gridLayout/hooks/useGridClasses.d.ts +10 -1
- package/dist/gridLayout/hooks/useGridClasses.js +28 -9
- package/dist/gridLayout/utils/adaptGridState.d.ts +2 -2
- package/dist/gridLayout/utils/adaptGridState.js +7 -8
- package/dist/gridLayout/utils/adjustGridState.d.ts +2 -2
- package/dist/gridLayout/utils/adjustGridState.js +13 -14
- package/dist/gridLayout/utils/constants.d.ts +1 -0
- package/dist/gridLayout/utils/constants.js +2 -1
- package/dist/gridLayout/utils/convertClassesToState.d.ts +2 -0
- package/dist/gridLayout/utils/convertClassesToState.js +48 -0
- package/dist/gridLayout/utils/convertStateToClasses.d.ts +2 -1
- package/dist/gridLayout/utils/convertStateToClasses.js +3 -3
- package/dist/gridLayout/utils/fillGridState.d.ts +2 -2
- package/dist/gridLayout/utils/fillGridState.js +6 -7
- package/dist/gridLayout/utils/filterGridProps.d.ts +2 -0
- package/dist/gridLayout/utils/filterGridProps.js +19 -0
- package/dist/gridLayout/utils/getAllowedComponent.js +15 -1
- package/dist/gridLayout/utils/getGridPositionClasses.d.ts +1 -0
- package/dist/gridLayout/utils/getGridPositionClasses.js +12 -0
- package/dist/gridLayout/utils/getGridWidthClasses.d.ts +1 -0
- package/dist/gridLayout/utils/getGridWidthClasses.js +19 -0
- package/dist/gridLayout/utils/gridLayoutProvider.d.ts +9 -0
- package/dist/gridLayout/utils/gridLayoutProvider.js +16 -0
- package/dist/gridLayout/utils/hasGridClasses.d.ts +2 -0
- package/dist/gridLayout/utils/hasGridClasses.js +12 -0
- package/dist/gridLayout/utils/isGridItem.d.ts +1 -1
- package/dist/gridLayout/utils/isGridItem.js +3 -0
- package/dist/gridLayout/utils/removeSameTypeClasses.d.ts +1 -0
- package/dist/gridLayout/utils/removeSameTypeClasses.js +42 -0
- package/dist/gridLayout/utils/updateGridStateFromClassNames.d.ts +2 -2
- package/dist/gridLayout/utils/updateGridStateFromClassNames.js +13 -13
- package/dist/gridLayout/utils/updateGridStateFromProps.d.ts +2 -2
- package/dist/gridLayout/utils/updateGridStateFromProps.js +7 -8
- package/dist/gridLayout/utils/updateGridStateWithDefaultValues.js +4 -0
- package/dist/groupButton/groupButton.d.ts +8 -14
- package/dist/groupButton/groupButton.js +17 -36
- package/dist/groupButtonRaw/components/groupButtonOption.d.ts +11 -0
- package/dist/groupButtonRaw/components/groupButtonOption.js +12 -0
- package/dist/groupButtonRaw/groupButtonRaw.d.ts +7 -0
- package/dist/groupButtonRaw/groupButtonRaw.js +27 -0
- package/dist/groupButtonRaw/types.d.ts +26 -0
- package/dist/groupButtonRaw/types.js +2 -0
- package/dist/groupsFilter/groupsFilter.d.ts +7 -21
- package/dist/groupsFilter/groupsFilter.js +20 -327
- package/dist/groupsFilter/groupsFilterInterfaces.d.ts +16 -78
- package/dist/groupsFilter/groupsFilterInterfaces.js +3 -19
- package/{esm/groupsFilter → dist/groupsFilterRaw}/groupsFilterCommon.d.ts +1 -1
- package/{esm/groupsFilter → dist/groupsFilterRaw}/groupsFilterCounter.d.ts +1 -1
- package/dist/groupsFilterRaw/groupsFilterInterfaces.d.ts +91 -0
- package/dist/groupsFilterRaw/groupsFilterInterfaces.js +22 -0
- package/dist/groupsFilterRaw/groupsFilterRaw.d.ts +37 -0
- package/dist/groupsFilterRaw/groupsFilterRaw.js +356 -0
- package/dist/groupsFilterRaw/groupsFilterTestData.d.ts +37 -0
- package/dist/groupsFilterRaw/groupsFilterTestData.js +76 -0
- package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterTrigger.d.ts +3 -2
- package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterTrigger.js +2 -2
- package/dist/groupsFilterRaw/stateReducer/stateAction.js +2 -0
- package/dist/groupsFilterRaw/testData.d.ts +26 -0
- package/dist/groupsFilterRaw/testData.js +32995 -0
- package/dist/groupsFilterRaw/types.d.ts +37 -0
- package/dist/groupsFilterRaw/types.js +5 -0
- package/dist/groupsFilterRaw/uiStateReducer/uiStateAction.js +2 -0
- package/dist/index.css +6956 -6629
- package/dist/index.d.ts +77 -20
- package/dist/index.js +136 -22
- package/dist/inputAdornments/inputAdornments.d.ts +2 -1
- package/dist/inputAdornments/inputAdornments.js +2 -2
- package/dist/radioGroup/radioGroup.d.ts +8 -19
- package/dist/radioGroup/radioGroup.js +16 -73
- package/dist/radioGroupRaw/radioGroupRaw.d.ts +7 -0
- package/dist/radioGroupRaw/radioGroupRaw.js +91 -0
- package/dist/radioGroupRaw/types.d.ts +25 -0
- package/dist/radioGroupRaw/types.js +2 -0
- package/dist/range/range.d.ts +11 -27
- package/dist/range/range.js +19 -146
- package/{esm/range → dist/rangeRaw/components}/rangeField.d.ts +1 -1
- package/dist/{range → rangeRaw/components}/rangeField.js +3 -3
- package/dist/rangeRaw/rangeRaw.d.ts +10 -0
- package/dist/rangeRaw/rangeRaw.js +173 -0
- package/dist/rangeRaw/types.d.ts +35 -0
- package/dist/rangeRaw/types.js +2 -0
- package/dist/{range → rangeRaw/utils}/rangeHelper.d.ts +1 -1
- package/dist/searchInput/searchInput.d.ts +5 -4
- package/dist/searchInput/searchInput.js +5 -15
- package/dist/searchInputRaw/searchInputRaw.d.ts +3 -20
- package/dist/searchInputRaw/searchInputRaw.js +9 -2
- package/dist/searchInputRaw/types.d.ts +33 -0
- package/dist/searchInputRaw/types.js +2 -0
- package/dist/select/select.d.ts +9 -4
- package/dist/select/select.js +18 -2
- package/dist/selectField/selectField.d.ts +4 -4
- package/dist/selectRaw/selectRaw.d.ts +3 -16
- package/dist/selectRaw/selectRaw.js +18 -11
- package/dist/selectRaw/types.d.ts +30 -0
- package/dist/selectRaw/types.js +2 -0
- package/dist/stepper/stepper.d.ts +5 -4
- package/dist/stepperRaw/stepperRaw.d.ts +3 -17
- package/dist/stepperRaw/stepperRaw.js +17 -9
- package/dist/stepperRaw/types.d.ts +26 -0
- package/dist/stepperRaw/types.js +2 -0
- package/dist/textInput/textInput.d.ts +5 -4
- package/dist/textInput/textInput.js +5 -15
- package/dist/textInputRaw/textInputRaw.d.ts +3 -23
- package/dist/textInputRaw/textInputRaw.js +9 -1
- package/dist/textInputRaw/types.d.ts +36 -0
- package/dist/textInputRaw/types.js +2 -0
- package/dist/textarea/textarea.d.ts +5 -4
- package/dist/textarea/textarea.js +5 -3
- package/dist/textareaRaw/textareaRaw.d.ts +3 -22
- package/dist/textareaRaw/textareaRaw.js +10 -3
- package/dist/textareaRaw/types.d.ts +31 -0
- package/dist/textareaRaw/types.js +2 -0
- package/dist/timePicker/timePicker.d.ts +9 -13
- package/dist/timePicker/timePicker.js +20 -60
- package/dist/timePickerRaw/timePickerRaw.d.ts +10 -0
- package/dist/timePickerRaw/timePickerRaw.js +79 -0
- package/dist/timePickerRaw/types.d.ts +26 -0
- package/dist/timePickerRaw/types.js +2 -0
- package/dist/toggleButton/toggleButton.d.ts +8 -10
- package/dist/toggleButton/toggleButton.js +17 -11
- package/dist/toggleButtonRaw/toggleButtonRaw.d.ts +3 -0
- package/dist/toggleButtonRaw/toggleButtonRaw.js +54 -0
- package/dist/toggleButtonRaw/types.d.ts +26 -0
- package/dist/toggleButtonRaw/types.js +2 -0
- package/dist/tooltipInfo/tooltipInfo.d.ts +7 -0
- package/dist/tooltipInfo/tooltipInfo.js +15 -0
- package/dist/utils/formatDate.d.ts +1 -1
- package/dist/utils/localization/translations/cs-json.d.ts +3 -0
- package/dist/utils/localization/translations/cs-json.js +4 -1
- package/dist/utils/localization/translations/de-json.d.ts +3 -0
- package/dist/utils/localization/translations/de-json.js +4 -1
- package/dist/utils/localization/translations/en-json.d.ts +12 -0
- package/dist/utils/localization/translations/en-json.js +13 -1
- package/dist/utils/localization/translations/es-json.d.ts +3 -0
- package/dist/utils/localization/translations/es-json.js +4 -1
- package/dist/utils/localization/translations/fr-FR-json.d.ts +3 -0
- package/dist/utils/localization/translations/fr-FR-json.js +4 -1
- package/dist/utils/localization/translations/fr-json.d.ts +3 -0
- package/dist/utils/localization/translations/fr-json.js +4 -1
- package/dist/utils/localization/translations/id-json.d.ts +3 -0
- package/dist/utils/localization/translations/id-json.js +4 -1
- package/dist/utils/localization/translations/it-json.d.ts +3 -0
- package/dist/utils/localization/translations/it-json.js +4 -1
- package/dist/utils/localization/translations/ja-json.d.ts +3 -0
- package/dist/utils/localization/translations/ja-json.js +4 -1
- package/dist/utils/localization/translations/ko-KR-json.d.ts +3 -0
- package/dist/utils/localization/translations/ko-KR-json.js +4 -1
- package/dist/utils/localization/translations/ms-json.d.ts +3 -0
- package/dist/utils/localization/translations/ms-json.js +4 -1
- package/dist/utils/localization/translations/nl-json.d.ts +3 -0
- package/dist/utils/localization/translations/nl-json.js +4 -1
- package/dist/utils/localization/translations/pl-json.d.ts +3 -0
- package/dist/utils/localization/translations/pl-json.js +4 -1
- package/dist/utils/localization/translations/pt-BR-json.d.ts +3 -0
- package/dist/utils/localization/translations/pt-BR-json.js +4 -1
- package/dist/utils/localization/translations/sv-json.d.ts +3 -0
- package/dist/utils/localization/translations/sv-json.js +4 -1
- package/dist/utils/localization/translations/th-json.d.ts +3 -0
- package/dist/utils/localization/translations/th-json.js +4 -1
- package/dist/utils/localization/translations/tr-json.d.ts +3 -0
- package/dist/utils/localization/translations/tr-json.js +4 -1
- package/dist/utils/localization/translations/zh-Hans-json.d.ts +3 -0
- package/dist/utils/localization/translations/zh-Hans-json.js +4 -1
- package/dist/utils/localization/translations/zh-TW-json.d.ts +3 -0
- package/dist/utils/localization/translations/zh-TW-json.js +4 -1
- package/esm/advancedGroupsFilter/advancedGroupsFilter.d.ts +1 -1
- package/esm/advancedGroupsFilter/advancedGroupsFilterForm.js +2 -2
- package/esm/advancedGroupsFilter/advancedGroupsFilterFormHelper.d.ts +1 -1
- package/esm/advancedGroupsFilter/advancedGroupsFilterFormHelper.js +2 -2
- package/esm/advancedGroupsFilter/advancedGroupsFilterFormSection.d.ts +1 -1
- package/esm/advancedGroupsFilter/advancedGroupsFilterFormSection.js +2 -2
- package/esm/advancedGroupsFilter/advancedGroupsFilterHelper.d.ts +2 -2
- package/esm/advancedGroupsFilter/advancedGroupsFilterHelper.js +1 -1
- package/esm/banner/banner.d.ts +2 -1
- package/esm/banner/banner.js +5 -3
- package/esm/banner/bannerMultipLine.d.ts +2 -1
- package/esm/banner/bannerMultipLine.js +2 -2
- package/esm/banner/bannerSingleLine.d.ts +2 -1
- package/esm/banner/bannerSingleLine.js +2 -2
- package/esm/button/button.d.ts +5 -3
- package/esm/button/button.js +4 -3
- package/esm/card/card.d.ts +2 -2
- package/esm/card/card.js +3 -1
- package/esm/card/components/cardButton/cardButton.d.ts +4 -3
- package/esm/card/components/cardButton/cardButton.js +2 -2
- package/esm/checkboxListWithAction/checkboxListWithAction.d.ts +1 -1
- package/esm/comboboxSelected/comboboxSelected.js +1 -1
- package/esm/commonHelpers/getAriaAttributes.d.ts +1 -0
- package/esm/commonHelpers/getAriaAttributes.js +12 -0
- package/esm/commonHelpers/hooks/useFormField.d.ts +8 -0
- package/esm/commonHelpers/hooks/useFormField.js +15 -0
- package/esm/commonHelpers/hooks/useFormFieldValues/getRuleValue.d.ts +2 -0
- package/esm/commonHelpers/hooks/useFormFieldValues/getRuleValue.js +9 -0
- package/esm/commonHelpers/hooks/useFormFieldValues/useFormFieldValues.d.ts +13 -0
- package/esm/commonHelpers/hooks/useFormFieldValues/useFormFieldValues.js +48 -0
- package/esm/commonHelpers/isFormItem.d.ts +2 -0
- package/esm/commonHelpers/isFormItem.js +1 -0
- package/esm/commonHelpers/loading.d.ts +6 -0
- package/esm/commonHelpers/loading.js +1 -0
- package/esm/commonHelpers/types/exclusive.d.ts +3 -0
- package/esm/commonHelpers/types/without.d.ts +3 -0
- package/esm/commonHelpers/zenComponent.d.ts +17 -0
- package/esm/dateInput/dateInput.d.ts +8 -22
- package/esm/dateInput/dateInput.js +20 -113
- package/esm/dateInputInner/dateInputInnerControlBlock.js +4 -1
- package/esm/dateInputRaw/dateInputRaw.d.ts +9 -0
- package/esm/dateInputRaw/dateInputRaw.js +130 -0
- package/esm/dateInputRaw/types.d.ts +32 -0
- package/esm/{dateInput → dateInputRaw/utils}/getLabel.js +1 -1
- package/esm/dateRange/dateRange.d.ts +10 -41
- package/esm/dateRange/dateRange.js +18 -258
- package/esm/dateRange/dateRangeUtils.d.ts +1 -38
- package/esm/dateRange/dateRangeUtils.js +1 -275
- package/esm/dateRangeRaw/dateRangeRaw.d.ts +45 -0
- package/esm/dateRangeRaw/dateRangeRaw.js +272 -0
- package/esm/dateRangeRaw/types.d.ts +48 -0
- package/esm/dateRangeRaw/types.js +1 -0
- package/esm/{dateRange → dateRangeRaw}/utils/areMapsEqual.d.ts +1 -1
- package/esm/dateRangeRaw/utils/dateRangeUtils.d.ts +38 -0
- package/esm/dateRangeRaw/utils/dateRangeUtils.js +275 -0
- package/esm/dateRangeRaw/utils/parseLabel.d.ts +2 -0
- package/esm/dateRangeRaw/utils/parseLabel.js +11 -0
- package/esm/divider/divider.d.ts +7 -0
- package/esm/divider/divider.js +3 -0
- package/esm/dropdown/dropdown.d.ts +21 -108
- package/esm/dropdown/dropdown.js +28 -495
- package/esm/dropdown/dropdownPopup.d.ts +4 -34
- package/esm/dropdown/dropdownPopup.js +2 -31
- package/esm/dropdown/dropdownTrigger.d.ts +2 -25
- package/esm/dropdown/dropdownTrigger.js +2 -28
- package/esm/{dropdown → dropdownRaw}/dropdownHelper.d.ts +15 -14
- package/esm/{dropdown → dropdownRaw}/dropdownHelper.js +1 -1
- package/esm/dropdownRaw/dropdownPopup.d.ts +34 -0
- package/esm/dropdownRaw/dropdownPopup.js +31 -0
- package/esm/dropdownRaw/dropdownRaw.d.ts +6 -0
- package/esm/dropdownRaw/dropdownRaw.js +537 -0
- package/{dist/dropdown → esm/dropdownRaw}/dropdownSearchableTrigger.d.ts +3 -1
- package/esm/dropdownRaw/dropdownSearchableTrigger.js +59 -0
- package/esm/dropdownRaw/dropdownTestData.d.ts +65 -0
- package/esm/dropdownRaw/dropdownTestData.js +1090 -0
- package/esm/dropdownRaw/dropdownTrigger.d.ts +27 -0
- package/esm/dropdownRaw/dropdownTrigger.js +27 -0
- package/{dist/dropdown → esm/dropdownRaw}/stateReducer/stateAction.d.ts +4 -4
- package/esm/dropdownRaw/stateReducer/stateAction.js +1 -0
- package/esm/{dropdown → dropdownRaw}/stateReducer/stateReducer.d.ts +5 -5
- package/esm/{dropdown → dropdownRaw}/stateReducer/stateReducer.js +2 -2
- package/esm/{dropdown → dropdownRaw}/stateReducer/stateReducerHelper.d.ts +2 -2
- package/esm/dropdownRaw/types.d.ts +133 -0
- package/esm/dropdownRaw/types.js +1 -0
- package/esm/dropdownRaw/utils/getSelectedValues.d.ts +2 -0
- package/esm/dropdownRaw/utils/getSelectedValues.js +1 -0
- package/esm/filterButton/filterButton.d.ts +3 -1
- package/esm/filterButton/filterButton.js +2 -2
- package/esm/filters/components/filtersDropdown.d.ts +4 -2
- package/esm/filters/components/filtersGroups.d.ts +1 -1
- package/esm/filters/components/filtersItem.d.ts +1 -1
- package/esm/filters/components/filtersSidePanelDropdown.js +2 -2
- package/esm/filters/components/filtersSidePanelRange.js +1 -1
- package/esm/filters/filtersHelper.js +1 -1
- package/esm/filtersBar/components/filtersBarDropdown/filtersBarDropdown.js +2 -2
- package/esm/filtersBar/components/filtersBarGroupsFilter/filtersBarGroupsFilter.d.ts +1 -1
- package/esm/filtersBar/components/filtersBarRange/filtersBarRange.js +1 -1
- package/esm/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelDropdownWithCheckbox/filtersBarSidePanelDropdownWithCheckbox.js +1 -1
- package/esm/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +2 -2
- package/esm/formField/components/formFieldBanner.d.ts +6 -0
- package/esm/formField/components/formFieldBanner.js +5 -0
- package/esm/formField/components/formFieldSkeleton.d.ts +6 -0
- package/esm/formField/components/formFieldSkeleton.js +1 -0
- package/esm/formField/components/formFieldWithLabel.d.ts +10 -0
- package/esm/formField/components/formFieldWithLabel.js +8 -0
- package/esm/formField/components/formFieldWithoutLabel.d.ts +8 -0
- package/esm/formField/components/formFieldWithoutLabel.js +8 -0
- package/esm/formField/formField.d.ts +34 -6
- package/esm/formField/formField.js +61 -8
- package/esm/formField/hooks/useAssistive.d.ts +12 -0
- package/esm/formField/hooks/useAssistive.js +14 -0
- package/esm/formField/hooks/useBanner.d.ts +8 -0
- package/esm/formField/hooks/useBanner.js +23 -0
- package/esm/formField/hooks/useDisabled.d.ts +15 -0
- package/esm/formField/hooks/useDisabled.js +18 -0
- package/esm/formField/hooks/useError.d.ts +18 -0
- package/esm/formField/hooks/useError.js +45 -0
- package/esm/formField/hooks/useLoading.d.ts +2 -0
- package/esm/formField/hooks/useLoading.js +15 -0
- package/esm/formField/hooks/useReadonly.d.ts +1 -0
- package/esm/formField/hooks/useReadonly.js +6 -0
- package/esm/formField/hooks/useSkeleton.d.ts +3 -0
- package/esm/formField/hooks/useSkeleton.js +9 -0
- package/esm/formField/hooks/useTrailing.d.ts +12 -0
- package/esm/formField/hooks/useTrailing.js +14 -0
- package/esm/formField/hooks/useWidth.d.ts +8 -0
- package/esm/formField/hooks/useWidth.js +7 -0
- package/esm/formField/utils/getFormFieldBanner.d.ts +2 -0
- package/esm/formField/utils/getFormFieldBanner.js +13 -0
- package/esm/formField/utils/rangeRawLabelCheck.d.ts +1 -0
- package/esm/formField/utils/rangeRawLabelCheck.js +10 -0
- package/esm/formGroup/components/customRow/customRow.d.ts +7 -0
- package/esm/formGroup/components/customRow/customRow.js +3 -0
- package/esm/formGroup/components/formGroupList.d.ts +5 -0
- package/esm/formGroup/components/formGroupList.js +2 -0
- package/esm/formGroup/components/formGroupToggle.d.ts +15 -0
- package/esm/formGroup/components/formGroupToggle.js +2 -0
- package/esm/formGroup/components/list.d.ts +6 -0
- package/esm/formGroup/components/list.js +15 -0
- package/esm/formGroup/components/listToggle/listToggle.d.ts +1 -0
- package/esm/formGroup/components/listToggle/listToggle.js +25 -0
- package/esm/formGroup/components/oneRow.d.ts +6 -0
- package/esm/formGroup/components/oneRow.js +11 -0
- package/esm/formGroup/components/reviewListToggle/reviewListToggle.d.ts +8 -0
- package/esm/formGroup/components/reviewListToggle/reviewListToggle.js +12 -0
- package/esm/formGroup/components/reviewTextControl.d.ts +9 -0
- package/esm/formGroup/components/reviewTextControl.js +3 -0
- package/esm/formGroup/components/row.d.ts +5 -0
- package/esm/formGroup/components/row.js +34 -0
- package/esm/formGroup/components/twoRows.d.ts +6 -0
- package/esm/formGroup/components/twoRows.js +11 -0
- package/esm/formGroup/formGroup.d.ts +13 -0
- package/esm/formGroup/formGroup.js +45 -0
- package/esm/formGroup/hooks/listHooks/useControlClasses.d.ts +2 -0
- package/esm/formGroup/hooks/listHooks/useControlClasses.js +50 -0
- package/esm/formGroup/hooks/listHooks/useControls.d.ts +2 -0
- package/esm/formGroup/hooks/listHooks/useControls.js +13 -0
- package/esm/formGroup/hooks/listHooks/useElementsState.d.ts +3 -0
- package/esm/formGroup/hooks/listHooks/useElementsState.js +31 -0
- package/esm/formGroup/hooks/listHooks/useLabelClasses.d.ts +2 -0
- package/esm/formGroup/hooks/listHooks/useLabelClasses.js +34 -0
- package/esm/formGroup/hooks/listHooks/useStateToElements.d.ts +3 -0
- package/esm/formGroup/hooks/listHooks/useStateToElements.js +23 -0
- package/esm/formGroup/hooks/rowHooks/useControlClasses.d.ts +2 -0
- package/esm/formGroup/hooks/rowHooks/useControlClasses.js +27 -0
- package/esm/formGroup/hooks/rowHooks/useControls.d.ts +2 -0
- package/esm/formGroup/hooks/rowHooks/useControls.js +11 -0
- package/esm/formGroup/hooks/rowHooks/useInitializeState.d.ts +3 -0
- package/esm/formGroup/hooks/rowHooks/useInitializeState.js +11 -0
- package/esm/formGroup/hooks/rowHooks/useLabelClasses.d.ts +2 -0
- package/esm/formGroup/hooks/rowHooks/useLabelClasses.js +24 -0
- package/esm/formGroup/hooks/useCustomRow.d.ts +4 -0
- package/esm/formGroup/hooks/useCustomRow.js +88 -0
- package/esm/formGroup/hooks/useElements.d.ts +4 -0
- package/esm/formGroup/hooks/useElements.js +19 -0
- package/esm/formGroup/hooks/useLabelAlign.d.ts +2 -0
- package/esm/formGroup/hooks/useLabelAlign.js +10 -0
- package/esm/formGroup/hooks/useMode.d.ts +2 -0
- package/esm/formGroup/hooks/useMode.js +8 -0
- package/esm/formGroup/hooks/useRowElements.d.ts +14 -0
- package/esm/formGroup/hooks/useRowElements.js +20 -0
- package/esm/formGroup/hooks/useSectionType.d.ts +2 -0
- package/esm/formGroup/hooks/useSectionType.js +8 -0
- package/esm/formGroup/hooks/useToggle.d.ts +1 -0
- package/esm/formGroup/hooks/useToggle.js +21 -0
- package/esm/formGroup/hooks/useToggleList.d.ts +9 -0
- package/esm/formGroup/hooks/useToggleList.js +20 -0
- package/esm/formGroup/types.d.ts +53 -0
- package/esm/formGroup/types.js +1 -0
- package/esm/formGroup/utils/applyControlClasses.d.ts +2 -0
- package/esm/formGroup/utils/applyControlClasses.js +47 -0
- package/esm/formGroup/utils/applyCustomControlClasses.d.ts +12 -0
- package/esm/formGroup/utils/applyCustomControlClasses.js +27 -0
- package/esm/formGroup/utils/applyCustomLabelClasses.d.ts +12 -0
- package/esm/formGroup/utils/applyCustomLabelClasses.js +16 -0
- package/esm/formGroup/utils/formGroupProvider.d.ts +9 -0
- package/esm/formGroup/utils/formGroupProvider.js +4 -0
- package/esm/formGroup/utils/getControlClasses/getControlClasses.d.ts +6 -0
- package/esm/formGroup/utils/getControlClasses/getControlClasses.js +75 -0
- package/esm/formGroup/utils/getControlClasses/getModalSectionClasses.d.ts +2 -0
- package/esm/formGroup/utils/getControlClasses/getModalSectionClasses.js +4 -0
- package/esm/formGroup/utils/getControlClasses/getOneLabelOneControlClasses.d.ts +6 -0
- package/esm/formGroup/utils/getControlClasses/getOneLabelOneControlClasses.js +21 -0
- package/esm/formGroup/utils/getControlClasses/getOneLabelTwoControlsClasses.d.ts +7 -0
- package/esm/formGroup/utils/getControlClasses/getOneLabelTwoControlsClasses.js +49 -0
- package/esm/formGroup/utils/getControlClasses/getTwoLabelsOneControlClasses.d.ts +6 -0
- package/esm/formGroup/utils/getControlClasses/getTwoLabelsOneControlClasses.js +21 -0
- package/esm/formGroup/utils/getControlClasses/getTwoLabelsTwoControlsClasses.d.ts +6 -0
- package/esm/formGroup/utils/getControlClasses/getTwoLabelsTwoControlsClasses.js +24 -0
- package/esm/formGroup/utils/getControlClasses/getZeroLabelOneControlClasses.d.ts +3 -0
- package/esm/formGroup/utils/getControlClasses/getZeroLabelOneControlClasses.js +12 -0
- package/esm/formGroup/utils/getControlClasses/types.d.ts +4 -0
- package/esm/formGroup/utils/getControlClasses/types.js +1 -0
- package/esm/formGroup/utils/getControlListClasses/getControlListClasses.d.ts +4 -0
- package/esm/formGroup/utils/getControlListClasses/getControlListClasses.js +42 -0
- package/esm/formGroup/utils/getControlListClasses/getOneLabelOneControlClasses.d.ts +7 -0
- package/esm/formGroup/utils/getControlListClasses/getOneLabelOneControlClasses.js +60 -0
- package/esm/formGroup/utils/getControlListClasses/getOneLabelTwoControlsClasses.d.ts +7 -0
- package/esm/formGroup/utils/getControlListClasses/getOneLabelTwoControlsClasses.js +40 -0
- package/esm/formGroup/utils/getControlListClasses/getTwoLabelsTwoControlsClasses.d.ts +6 -0
- package/esm/formGroup/utils/getControlListClasses/getTwoLabelsTwoControlsClasses.js +35 -0
- package/esm/formGroup/utils/getControlListClasses/getZeroLabelOneControlClasses.d.ts +5 -0
- package/esm/formGroup/utils/getControlListClasses/getZeroLabelOneControlClasses.js +14 -0
- package/esm/formGroup/utils/getControlListClasses/getZeroLabelsTwoControls.d.ts +2 -0
- package/esm/formGroup/utils/getControlListClasses/getZeroLabelsTwoControls.js +13 -0
- package/esm/formGroup/utils/getControlNode.d.ts +1 -0
- package/esm/formGroup/utils/getControlNode.js +2 -0
- package/esm/formGroup/utils/getControls.d.ts +5 -0
- package/esm/formGroup/utils/getControls.js +22 -0
- package/esm/formGroup/utils/getElementsControl.d.ts +5 -0
- package/esm/formGroup/utils/getElementsControl.js +33 -0
- package/esm/formGroup/utils/getLabelClasses/getLabelClasses.d.ts +6 -0
- package/esm/formGroup/utils/getLabelClasses/getLabelClasses.js +61 -0
- package/esm/formGroup/utils/getLabelClasses/getModalSectionClasses.d.ts +2 -0
- package/esm/formGroup/utils/getLabelClasses/getModalSectionClasses.js +4 -0
- package/esm/formGroup/utils/getLabelClasses/getOneLabelOneControlClasses.d.ts +4 -0
- package/esm/formGroup/utils/getLabelClasses/getOneLabelOneControlClasses.js +20 -0
- package/esm/formGroup/utils/getLabelClasses/getOneLabelTwoControlsClasses.d.ts +4 -0
- package/esm/formGroup/utils/getLabelClasses/getOneLabelTwoControlsClasses.js +46 -0
- package/esm/formGroup/utils/getLabelClasses/getReviewOrInlineEditClasses.d.ts +2 -0
- package/esm/formGroup/utils/getLabelClasses/getReviewOrInlineEditClasses.js +27 -0
- package/esm/formGroup/utils/getLabelClasses/getTwoLabelsOneControlClasses.d.ts +4 -0
- package/esm/formGroup/utils/getLabelClasses/getTwoLabelsOneControlClasses.js +24 -0
- package/esm/formGroup/utils/getLabelClasses/getTwoLabelsTwoControlsClasses.d.ts +4 -0
- package/esm/formGroup/utils/getLabelClasses/getTwoLabelsTwoControlsClasses.js +24 -0
- package/esm/formGroup/utils/getLabelClasses/getZeroLabelClasses.d.ts +2 -0
- package/esm/formGroup/utils/getLabelClasses/getZeroLabelClasses.js +4 -0
- package/esm/formGroup/utils/getLabelClasses/types.d.ts +4 -0
- package/esm/formGroup/utils/getLabelClasses/types.js +1 -0
- package/esm/formGroup/utils/getLabelListClasses/getLabelListClasses.d.ts +7 -0
- package/esm/formGroup/utils/getLabelListClasses/getLabelListClasses.js +30 -0
- package/esm/formGroup/utils/getLabelListClasses/getOneLabelOneControlClasses.d.ts +6 -0
- package/esm/formGroup/utils/getLabelListClasses/getOneLabelOneControlClasses.js +44 -0
- package/esm/formGroup/utils/getLabelListClasses/getOneLabelTwoControlsClasses.d.ts +7 -0
- package/esm/formGroup/utils/getLabelListClasses/getOneLabelTwoControlsClasses.js +25 -0
- package/esm/formGroup/utils/getLabelListClasses/getOneLabelZeroControlsClasses.d.ts +4 -0
- package/esm/formGroup/utils/getLabelListClasses/getOneLabelZeroControlsClasses.js +13 -0
- package/esm/formGroup/utils/getLabelListClasses/getTwoLabelsTwoControlsClasses.d.ts +5 -0
- package/esm/formGroup/utils/getLabelListClasses/getTwoLabelsTwoControlsClasses.js +31 -0
- package/esm/formGroup/utils/getLabelNode.d.ts +1 -0
- package/esm/formGroup/utils/getLabelNode.js +2 -0
- package/esm/formGroup/utils/getListClasses.d.ts +3 -0
- package/esm/formGroup/utils/getListClasses.js +27 -0
- package/esm/formGroup/utils/getToggleClasses.d.ts +3 -0
- package/esm/formGroup/utils/getToggleClasses.js +13 -0
- package/esm/formGroup/utils/getTotalState.d.ts +2 -0
- package/esm/formGroup/utils/getTotalState.js +19 -0
- package/esm/formGroup/utils/hasCustomWidthControl.d.ts +2 -0
- package/esm/formGroup/utils/hasCustomWidthControl.js +7 -0
- package/esm/formGroup/utils/hasWidthProp.d.ts +2 -0
- package/esm/formGroup/utils/hasWidthProp.js +7 -0
- package/esm/formGroup/utils/initializeState.d.ts +12 -0
- package/esm/formGroup/utils/initializeState.js +36 -0
- package/esm/formGroup/utils/isFormLabel.d.ts +3 -0
- package/esm/formGroup/utils/isFormLabel.js +2 -0
- package/esm/formGroup/utils/isTopAlign.d.ts +3 -0
- package/esm/formGroup/utils/isTopAlign.js +5 -0
- package/esm/formGroup/utils/isTwoRowsStructure.d.ts +3 -0
- package/esm/formGroup/utils/isTwoRowsStructure.js +25 -0
- package/esm/formGroupItem/formGroupItem.d.ts +8 -0
- package/esm/formGroupItem/formGroupItem.js +9 -0
- package/esm/formLayout/components/column/column.d.ts +7 -0
- package/esm/formLayout/components/column/column.js +3 -0
- package/esm/formLayout/components/columnTitle/formLayoutColumnTitle.d.ts +9 -0
- package/esm/formLayout/components/columnTitle/formLayoutColumnTitle.js +3 -0
- package/esm/formLayout/components/customColumns.d.ts +9 -0
- package/esm/formLayout/components/customColumns.js +33 -0
- package/esm/formLayout/components/formLayoutSecondary.d.ts +7 -0
- package/esm/formLayout/components/formLayoutSecondary.js +3 -0
- package/esm/formLayout/components/formLayoutTitle.d.ts +7 -0
- package/esm/formLayout/components/formLayoutTitle.js +3 -0
- package/esm/formLayout/components/getLayoutColumns.d.ts +1 -0
- package/esm/formLayout/components/getLayoutColumns.js +35 -0
- package/esm/formLayout/components/layoutColumn/layoutColum.d.ts +6 -0
- package/esm/formLayout/components/layoutColumn/layoutColum.js +2 -0
- package/esm/formLayout/components/oneColumnGrid.d.ts +2 -0
- package/esm/formLayout/components/oneColumnGrid.js +24 -0
- package/esm/formLayout/components/twoColumnsGrid.d.ts +2 -0
- package/esm/formLayout/components/twoColumnsGrid.js +24 -0
- package/esm/formLayout/components/useCustomColumns.d.ts +11 -0
- package/esm/formLayout/components/useCustomColumns.js +53 -0
- package/esm/formLayout/formLayout.d.ts +7 -0
- package/esm/formLayout/formLayout.js +39 -0
- package/esm/formLayout/hooks/getStepperLayout.d.ts +2 -0
- package/esm/formLayout/hooks/getStepperLayout.js +19 -0
- package/esm/formLayout/hooks/useColumns.d.ts +1 -0
- package/esm/formLayout/hooks/useColumns.js +6 -0
- package/esm/formLayout/hooks/useComponents.d.ts +8 -0
- package/esm/formLayout/hooks/useComponents.js +36 -0
- package/esm/formLayout/hooks/useError.d.ts +6 -0
- package/esm/formLayout/hooks/useError.js +20 -0
- package/esm/formLayout/hooks/useFormButtons.d.ts +11 -0
- package/esm/formLayout/hooks/useFormButtons.js +35 -0
- package/esm/formLayout/hooks/useLayoutColumns.d.ts +1 -0
- package/esm/formLayout/hooks/useLayoutColumns.js +6 -0
- package/esm/formLayout/hooks/useLoading.d.ts +5 -0
- package/esm/formLayout/hooks/useLoading.js +12 -0
- package/esm/formLayout/types.d.ts +32 -0
- package/esm/formLayout/types.js +1 -0
- package/esm/formLayout/utils/applyGridPropsOneColumn.d.ts +1 -0
- package/esm/formLayout/utils/applyGridPropsOneColumn.js +14 -0
- package/esm/formLayout/utils/applyGridPropsStatic.d.ts +1 -0
- package/esm/formLayout/utils/applyGridPropsStatic.js +42 -0
- package/esm/formLayout/utils/applyGridPropsTwoColumns/applyFirstColumn.d.ts +2 -0
- package/esm/formLayout/utils/applyGridPropsTwoColumns/applyFirstColumn.js +14 -0
- package/esm/formLayout/utils/applyGridPropsTwoColumns/applyGridPropsTwoColumns.d.ts +2 -0
- package/esm/formLayout/utils/applyGridPropsTwoColumns/applyGridPropsTwoColumns.js +20 -0
- package/esm/formLayout/utils/applyGridPropsTwoColumns/applySecondColumn.d.ts +2 -0
- package/esm/formLayout/utils/applyGridPropsTwoColumns/applySecondColumn.js +16 -0
- package/esm/formLayout/utils/applyLayoutPosition/applyLayoutPosition.d.ts +1 -0
- package/esm/formLayout/utils/applyLayoutPosition/applyLayoutPosition.js +114 -0
- package/esm/formLayout/utils/attachHeadings.d.ts +1 -0
- package/esm/formLayout/utils/attachHeadings.js +27 -0
- package/esm/formLayout/utils/attachSeparators.d.ts +4 -0
- package/esm/formLayout/utils/attachSeparators.js +28 -0
- package/esm/formLayout/utils/attachStepper.d.ts +3 -0
- package/esm/formLayout/utils/attachStepper.js +19 -0
- package/esm/formLayout/utils/formLayoutProvider.d.ts +7 -0
- package/esm/formLayout/utils/formLayoutProvider.js +10 -0
- package/esm/formLayout/utils/getAllowedComponents.d.ts +6 -0
- package/esm/formLayout/utils/getAllowedComponents.js +15 -0
- package/esm/formLayout/utils/getChildrenWithCustomColumns.d.ts +2 -0
- package/esm/formLayout/utils/getChildrenWithCustomColumns.js +70 -0
- package/esm/formLayout/utils/getComponentsWithClasses.d.ts +3 -0
- package/esm/formLayout/utils/getComponentsWithClasses.js +23 -0
- package/esm/formLayout/utils/getFilteredComponents.d.ts +4 -0
- package/esm/formLayout/utils/getFilteredComponents.js +21 -0
- package/esm/formLayout/utils/getFormSection.d.ts +2 -0
- package/esm/formLayout/utils/getFormSection.js +18 -0
- package/esm/formLayout/utils/hasStepper.d.ts +2 -0
- package/esm/formLayout/utils/hasStepper.js +1 -0
- package/esm/formLayout/utils/isCustomFormSection.d.ts +3 -0
- package/esm/formLayout/utils/isCustomFormSection.js +2 -0
- package/esm/formLayout/utils/isStaticElement.d.ts +1 -0
- package/esm/formLayout/utils/isStaticElement.js +15 -0
- package/esm/formSection/components/actions.d.ts +5 -0
- package/esm/formSection/components/actions.js +1 -0
- package/esm/formSection/components/additional.d.ts +5 -0
- package/esm/formSection/components/additional.js +1 -0
- package/esm/formSection/components/additionalSection.d.ts +9 -0
- package/esm/formSection/components/additionalSection.js +28 -0
- package/esm/formSection/components/formSectionButton.d.ts +5 -0
- package/esm/formSection/components/formSectionButton.js +17 -0
- package/esm/formSection/components/formSectionCard.d.ts +4 -0
- package/esm/formSection/components/formSectionCard.js +46 -0
- package/esm/formSection/components/formSectionDefault.d.ts +3 -0
- package/esm/formSection/components/formSectionDefault.js +13 -0
- package/esm/formSection/components/formSectionDefaultTitle.d.ts +7 -0
- package/esm/formSection/components/formSectionDefaultTitle.js +3 -0
- package/esm/formSection/components/formSectionInner.d.ts +7 -0
- package/esm/formSection/components/formSectionInner.js +55 -0
- package/esm/formSection/components/formSectionModal.d.ts +3 -0
- package/esm/formSection/components/formSectionModal.js +5 -0
- package/esm/formSection/formSection.d.ts +12 -0
- package/esm/formSection/formSection.js +44 -0
- package/esm/formSection/hooks/useError.d.ts +7 -0
- package/esm/formSection/hooks/useError.js +28 -0
- package/esm/formSection/hooks/useLoading.d.ts +5 -0
- package/esm/formSection/hooks/useLoading.js +18 -0
- package/esm/formSection/types.d.ts +35 -0
- package/esm/formSection/types.js +1 -0
- package/esm/formSection/utils/formSectionProvider.d.ts +11 -0
- package/esm/formSection/utils/formSectionProvider.js +9 -0
- package/esm/formSection/utils/getClassName.d.ts +4 -0
- package/esm/formSection/utils/getClassName.js +8 -0
- package/esm/formSection/utils/isFormSection.d.ts +4 -0
- package/esm/formSection/utils/isFormSection.js +1 -0
- package/esm/formSection/utils/isModalSection.d.ts +2 -0
- package/esm/formSection/utils/isModalSection.js +4 -0
- package/esm/formStepper/formStepper.js +1 -1
- package/esm/formStepper/hooks/useFormStepper.d.ts +6 -0
- package/esm/formStepper/hooks/useFormStepper.js +20 -0
- package/esm/formStepperButtons/formStepperButtons.js +3 -1
- package/esm/gridLayout/gridLayout.js +2 -1
- package/esm/gridLayout/hooks/useGridClasses.d.ts +10 -1
- package/esm/gridLayout/hooks/useGridClasses.js +28 -9
- package/esm/gridLayout/utils/adaptGridState.d.ts +2 -2
- package/esm/gridLayout/utils/adaptGridState.js +7 -8
- package/esm/gridLayout/utils/adjustGridState.d.ts +2 -2
- package/esm/gridLayout/utils/adjustGridState.js +13 -14
- package/esm/gridLayout/utils/constants.d.ts +1 -0
- package/esm/gridLayout/utils/constants.js +1 -0
- package/esm/gridLayout/utils/convertClassesToState.d.ts +2 -0
- package/esm/gridLayout/utils/convertClassesToState.js +44 -0
- package/esm/gridLayout/utils/convertStateToClasses.d.ts +2 -1
- package/esm/gridLayout/utils/convertStateToClasses.js +3 -3
- package/esm/gridLayout/utils/fillGridState.d.ts +2 -2
- package/esm/gridLayout/utils/fillGridState.js +6 -7
- package/esm/gridLayout/utils/filterGridProps.d.ts +2 -0
- package/esm/gridLayout/utils/filterGridProps.js +15 -0
- package/esm/gridLayout/utils/getAllowedComponent.js +15 -1
- package/esm/gridLayout/utils/getGridPositionClasses.d.ts +1 -0
- package/esm/gridLayout/utils/getGridPositionClasses.js +8 -0
- package/esm/gridLayout/utils/getGridWidthClasses.d.ts +1 -0
- package/esm/gridLayout/utils/getGridWidthClasses.js +15 -0
- package/esm/gridLayout/utils/gridLayoutProvider.d.ts +9 -0
- package/esm/gridLayout/utils/gridLayoutProvider.js +12 -0
- package/esm/gridLayout/utils/hasGridClasses.d.ts +2 -0
- package/esm/gridLayout/utils/hasGridClasses.js +8 -0
- package/esm/gridLayout/utils/isGridItem.d.ts +1 -1
- package/esm/gridLayout/utils/isGridItem.js +3 -0
- package/esm/gridLayout/utils/removeSameTypeClasses.d.ts +1 -0
- package/esm/gridLayout/utils/removeSameTypeClasses.js +38 -0
- package/esm/gridLayout/utils/updateGridStateFromClassNames.d.ts +2 -2
- package/esm/gridLayout/utils/updateGridStateFromClassNames.js +14 -14
- package/esm/gridLayout/utils/updateGridStateFromProps.d.ts +2 -2
- package/esm/gridLayout/utils/updateGridStateFromProps.js +7 -8
- package/esm/gridLayout/utils/updateGridStateWithDefaultValues.js +4 -0
- package/esm/groupButton/groupButton.d.ts +8 -14
- package/esm/groupButton/groupButton.js +18 -14
- package/esm/groupButtonRaw/components/groupButtonOption.d.ts +11 -0
- package/esm/groupButtonRaw/components/groupButtonOption.js +8 -0
- package/esm/groupButtonRaw/groupButtonRaw.d.ts +7 -0
- package/esm/groupButtonRaw/groupButtonRaw.js +23 -0
- package/esm/groupButtonRaw/types.d.ts +26 -0
- package/esm/groupButtonRaw/types.js +1 -0
- package/esm/groupsFilter/groupsFilter.d.ts +7 -21
- package/esm/groupsFilter/groupsFilter.js +20 -327
- package/esm/groupsFilter/groupsFilterInterfaces.d.ts +16 -78
- package/esm/groupsFilter/groupsFilterInterfaces.js +2 -20
- package/{dist/groupsFilter → esm/groupsFilterRaw}/groupsFilterCommon.d.ts +1 -1
- package/{dist/groupsFilter → esm/groupsFilterRaw}/groupsFilterCounter.d.ts +1 -1
- package/esm/groupsFilterRaw/groupsFilterInterfaces.d.ts +91 -0
- package/esm/groupsFilterRaw/groupsFilterInterfaces.js +20 -0
- package/esm/groupsFilterRaw/groupsFilterRaw.d.ts +37 -0
- package/esm/groupsFilterRaw/groupsFilterRaw.js +352 -0
- package/esm/groupsFilterRaw/groupsFilterTestData.d.ts +37 -0
- package/esm/groupsFilterRaw/groupsFilterTestData.js +73 -0
- package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterTrigger.d.ts +3 -2
- package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterTrigger.js +2 -2
- package/esm/groupsFilterRaw/stateReducer/stateAction.js +1 -0
- package/esm/groupsFilterRaw/testData.d.ts +26 -0
- package/esm/groupsFilterRaw/testData.js +32990 -0
- package/esm/groupsFilterRaw/types.d.ts +37 -0
- package/esm/groupsFilterRaw/types.js +2 -0
- package/esm/groupsFilterRaw/uiStateReducer/uiStateAction.js +1 -0
- package/esm/index.d.ts +77 -20
- package/esm/index.js +61 -7
- package/esm/inputAdornments/inputAdornments.d.ts +2 -1
- package/esm/inputAdornments/inputAdornments.js +2 -2
- package/esm/radioGroup/radioGroup.d.ts +8 -19
- package/esm/radioGroup/radioGroup.js +17 -51
- package/esm/radioGroupRaw/radioGroupRaw.d.ts +7 -0
- package/esm/radioGroupRaw/radioGroupRaw.js +64 -0
- package/esm/radioGroupRaw/types.d.ts +25 -0
- package/esm/radioGroupRaw/types.js +1 -0
- package/esm/range/range.d.ts +11 -27
- package/esm/range/range.js +19 -146
- package/{dist/range → esm/rangeRaw/components}/rangeField.d.ts +1 -1
- package/esm/{range → rangeRaw/components}/rangeField.js +3 -3
- package/esm/rangeRaw/rangeRaw.d.ts +10 -0
- package/esm/rangeRaw/rangeRaw.js +169 -0
- package/esm/rangeRaw/types.d.ts +35 -0
- package/esm/rangeRaw/types.js +1 -0
- package/esm/{range → rangeRaw/utils}/rangeHelper.d.ts +1 -1
- package/esm/searchInput/searchInput.d.ts +5 -4
- package/esm/searchInput/searchInput.js +5 -15
- package/esm/searchInputRaw/searchInputRaw.d.ts +3 -20
- package/esm/searchInputRaw/searchInputRaw.js +9 -2
- package/esm/searchInputRaw/types.d.ts +33 -0
- package/esm/searchInputRaw/types.js +1 -0
- package/esm/select/select.d.ts +9 -4
- package/esm/select/select.js +17 -2
- package/esm/selectField/selectField.d.ts +4 -4
- package/esm/selectRaw/selectRaw.d.ts +3 -16
- package/esm/selectRaw/selectRaw.js +18 -11
- package/esm/selectRaw/types.d.ts +30 -0
- package/esm/selectRaw/types.js +1 -0
- package/esm/stepper/stepper.d.ts +5 -4
- package/esm/stepperRaw/stepperRaw.d.ts +3 -17
- package/esm/stepperRaw/stepperRaw.js +17 -9
- package/esm/stepperRaw/types.d.ts +26 -0
- package/esm/stepperRaw/types.js +1 -0
- package/esm/textInput/textInput.d.ts +5 -4
- package/esm/textInput/textInput.js +5 -15
- package/esm/textInputRaw/textInputRaw.d.ts +3 -23
- package/esm/textInputRaw/textInputRaw.js +9 -1
- package/esm/textInputRaw/types.d.ts +36 -0
- package/esm/textInputRaw/types.js +1 -0
- package/esm/textarea/textarea.d.ts +5 -4
- package/esm/textarea/textarea.js +5 -3
- package/esm/textareaRaw/textareaRaw.d.ts +3 -22
- package/esm/textareaRaw/textareaRaw.js +10 -3
- package/esm/textareaRaw/types.d.ts +31 -0
- package/esm/textareaRaw/types.js +1 -0
- package/esm/timePicker/timePicker.d.ts +9 -13
- package/esm/timePicker/timePicker.js +20 -60
- package/esm/timePickerRaw/timePickerRaw.d.ts +10 -0
- package/esm/timePickerRaw/timePickerRaw.js +75 -0
- package/esm/timePickerRaw/types.d.ts +26 -0
- package/esm/timePickerRaw/types.js +1 -0
- package/esm/toggleButton/toggleButton.d.ts +8 -10
- package/esm/toggleButton/toggleButton.js +18 -12
- package/esm/toggleButtonRaw/toggleButtonRaw.d.ts +3 -0
- package/esm/toggleButtonRaw/toggleButtonRaw.js +27 -0
- package/esm/toggleButtonRaw/types.d.ts +26 -0
- package/esm/toggleButtonRaw/types.js +1 -0
- package/esm/tooltipInfo/tooltipInfo.d.ts +7 -0
- package/esm/tooltipInfo/tooltipInfo.js +11 -0
- package/esm/utils/formatDate.d.ts +1 -1
- package/esm/utils/localization/translations/cs-json.d.ts +3 -0
- package/esm/utils/localization/translations/cs-json.js +4 -1
- package/esm/utils/localization/translations/de-json.d.ts +3 -0
- package/esm/utils/localization/translations/de-json.js +4 -1
- package/esm/utils/localization/translations/en-json.d.ts +12 -0
- package/esm/utils/localization/translations/en-json.js +13 -1
- package/esm/utils/localization/translations/es-json.d.ts +3 -0
- package/esm/utils/localization/translations/es-json.js +4 -1
- package/esm/utils/localization/translations/fr-FR-json.d.ts +3 -0
- package/esm/utils/localization/translations/fr-FR-json.js +4 -1
- package/esm/utils/localization/translations/fr-json.d.ts +3 -0
- package/esm/utils/localization/translations/fr-json.js +4 -1
- package/esm/utils/localization/translations/id-json.d.ts +3 -0
- package/esm/utils/localization/translations/id-json.js +4 -1
- package/esm/utils/localization/translations/it-json.d.ts +3 -0
- package/esm/utils/localization/translations/it-json.js +4 -1
- package/esm/utils/localization/translations/ja-json.d.ts +3 -0
- package/esm/utils/localization/translations/ja-json.js +4 -1
- package/esm/utils/localization/translations/ko-KR-json.d.ts +3 -0
- package/esm/utils/localization/translations/ko-KR-json.js +4 -1
- package/esm/utils/localization/translations/ms-json.d.ts +3 -0
- package/esm/utils/localization/translations/ms-json.js +4 -1
- package/esm/utils/localization/translations/nl-json.d.ts +3 -0
- package/esm/utils/localization/translations/nl-json.js +4 -1
- package/esm/utils/localization/translations/pl-json.d.ts +3 -0
- package/esm/utils/localization/translations/pl-json.js +4 -1
- package/esm/utils/localization/translations/pt-BR-json.d.ts +3 -0
- package/esm/utils/localization/translations/pt-BR-json.js +4 -1
- package/esm/utils/localization/translations/sv-json.d.ts +3 -0
- package/esm/utils/localization/translations/sv-json.js +4 -1
- package/esm/utils/localization/translations/th-json.d.ts +3 -0
- package/esm/utils/localization/translations/th-json.js +4 -1
- package/esm/utils/localization/translations/tr-json.d.ts +3 -0
- package/esm/utils/localization/translations/tr-json.js +4 -1
- package/esm/utils/localization/translations/zh-Hans-json.d.ts +3 -0
- package/esm/utils/localization/translations/zh-Hans-json.js +4 -1
- package/esm/utils/localization/translations/zh-TW-json.d.ts +3 -0
- package/esm/utils/localization/translations/zh-TW-json.js +4 -1
- package/package.json +5 -4
- package/esm/dropdown/dropdownSearchableTrigger.js +0 -56
- /package/dist/{dropdown/stateReducer/stateAction.js → commonHelpers/types/exclusive.js} +0 -0
- /package/dist/{groupsFilter/stateReducer/stateAction.js → commonHelpers/types/without.js} +0 -0
- /package/dist/{groupsFilter/uiStateReducer/uiStateAction.js → dateInputRaw/types.js} +0 -0
- /package/dist/{dateInput → dateInputRaw/utils}/cutSeconds.d.ts +0 -0
- /package/dist/{dateInput → dateInputRaw/utils}/cutSeconds.js +0 -0
- /package/dist/{dateInput → dateInputRaw/utils}/getLabel.d.ts +0 -0
- /package/dist/{dateRange → dateRangeRaw}/utils/areMapsEqual.js +0 -0
- /package/dist/{dropdown → dropdownRaw}/dropdownList.d.ts +0 -0
- /package/dist/{dropdown → dropdownRaw}/dropdownList.js +0 -0
- /package/dist/{dropdown → dropdownRaw}/stateReducer/stateActionType.d.ts +0 -0
- /package/dist/{dropdown → dropdownRaw}/stateReducer/stateActionType.js +0 -0
- /package/dist/{dropdown → dropdownRaw}/stateReducer/stateReducerHelper.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterAdjustmentState.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterAdjustmentState.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterAdvancedValue.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterAdvancedValue.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterBox.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterBox.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterCommon.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterCounter.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterCurrentlySelectedState.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterCurrentlySelectedState.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterHelper.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterHelper.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterInitialState.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterInitialState.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterLabelBox.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterLabelBox.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterMenu.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterMenu.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterStatesHelper.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsFilterStatesHelper.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsHelper.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/groupsHelper.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateAction.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateActionType.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateActionType.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducer.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducer.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducerHelper.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducerHelper.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateAction.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateActionType.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateActionType.js +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateReducer.d.ts +0 -0
- /package/dist/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateReducer.js +0 -0
- /package/dist/{range → rangeRaw/utils}/rangeHelper.js +0 -0
- /package/dist/{timePicker → timePickerRaw}/components/timeSelect/timeSelect.d.ts +0 -0
- /package/dist/{timePicker → timePickerRaw}/components/timeSelect/timeSelect.js +0 -0
- /package/dist/{timePicker → timePickerRaw}/timePickerUtils.d.ts +0 -0
- /package/dist/{timePicker → timePickerRaw}/timePickerUtils.js +0 -0
- /package/esm/{dropdown/stateReducer/stateAction.js → commonHelpers/types/exclusive.js} +0 -0
- /package/esm/{groupsFilter/stateReducer/stateAction.js → commonHelpers/types/without.js} +0 -0
- /package/esm/{groupsFilter/uiStateReducer/uiStateAction.js → dateInputRaw/types.js} +0 -0
- /package/esm/{dateInput → dateInputRaw/utils}/cutSeconds.d.ts +0 -0
- /package/esm/{dateInput → dateInputRaw/utils}/cutSeconds.js +0 -0
- /package/esm/{dateInput → dateInputRaw/utils}/getLabel.d.ts +0 -0
- /package/esm/{dateRange → dateRangeRaw}/utils/areMapsEqual.js +0 -0
- /package/esm/{dropdown → dropdownRaw}/dropdownList.d.ts +0 -0
- /package/esm/{dropdown → dropdownRaw}/dropdownList.js +0 -0
- /package/esm/{dropdown → dropdownRaw}/stateReducer/stateActionType.d.ts +0 -0
- /package/esm/{dropdown → dropdownRaw}/stateReducer/stateActionType.js +0 -0
- /package/esm/{dropdown → dropdownRaw}/stateReducer/stateReducerHelper.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterAdjustmentState.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterAdjustmentState.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterAdvancedValue.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterAdvancedValue.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterBox.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterBox.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterCommon.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterCounter.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterCurrentlySelectedState.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterCurrentlySelectedState.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterHelper.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterHelper.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterInitialState.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterInitialState.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterLabelBox.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterLabelBox.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterMenu.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterMenu.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterStatesHelper.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsFilterStatesHelper.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsHelper.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/groupsHelper.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateAction.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateActionType.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateActionType.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducer.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducer.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducerHelper.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/stateReducer/stateReducerHelper.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateAction.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateActionType.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateActionType.js +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateReducer.d.ts +0 -0
- /package/esm/{groupsFilter → groupsFilterRaw}/uiStateReducer/uiStateReducer.js +0 -0
- /package/esm/{range → rangeRaw/utils}/rangeHelper.js +0 -0
- /package/esm/{timePicker → timePickerRaw}/components/timeSelect/timeSelect.d.ts +0 -0
- /package/esm/{timePicker → timePickerRaw}/components/timeSelect/timeSelect.js +0 -0
- /package/esm/{timePicker → timePickerRaw}/timePickerUtils.d.ts +0 -0
- /package/esm/{timePicker → timePickerRaw}/timePickerUtils.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import "./advancedGroupsFilter.less";
|
|
3
|
-
import { IFilterState } from "../
|
|
3
|
+
import { IFilterState } from "../groupsFilterRaw/groupsFilterInterfaces";
|
|
4
4
|
import { IZenComponentProps } from "../commonHelpers/zenComponent";
|
|
5
5
|
import { IDropdownItem } from "../dropdown/dropdown";
|
|
6
6
|
export interface IAdvancedGroupsFilter extends IZenComponentProps {
|
|
@@ -4,8 +4,8 @@ exports.TRANSLATIONS = exports.AdvancedGroupsFilterForm = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const textIconButton_1 = require("../textIconButton/textIconButton");
|
|
6
6
|
const advancedGroupsFilterFormSection_1 = require("./advancedGroupsFilterFormSection");
|
|
7
|
-
const groupsHelper_1 = require("../
|
|
8
|
-
const groupsFilterInterfaces_1 = require("../
|
|
7
|
+
const groupsHelper_1 = require("../groupsFilterRaw/groupsHelper");
|
|
8
|
+
const groupsFilterInterfaces_1 = require("../groupsFilterRaw/groupsFilterInterfaces");
|
|
9
9
|
const iconPlus_1 = require("../icons/iconPlus");
|
|
10
10
|
const useLanguage_1 = require("../utils/localization/useLanguage");
|
|
11
11
|
const AdvancedGroupsFilterForm = ({ state, onStateChange, getData, errorHandler, dataItems, tooltipText }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFilterState, RelationOperator } from "../
|
|
1
|
+
import { IFilterState, RelationOperator } from "../groupsFilterRaw/groupsFilterInterfaces";
|
|
2
2
|
export interface ICurrentAdvancedState {
|
|
3
3
|
sectionState: IFilterState;
|
|
4
4
|
interSectionRelation: RelationOperator;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.prepareToFilterState = exports.prepareCurrentFilterState = void 0;
|
|
4
|
-
const groupsHelper_1 = require("../
|
|
5
|
-
const groupsFilterInterfaces_1 = require("../
|
|
4
|
+
const groupsHelper_1 = require("../groupsFilterRaw/groupsHelper");
|
|
5
|
+
const groupsFilterInterfaces_1 = require("../groupsFilterRaw/groupsFilterInterfaces");
|
|
6
6
|
const advancedGroupsFilterHelper_1 = require("./advancedGroupsFilterHelper");
|
|
7
7
|
const prepareCurrentFilterState = (state) => {
|
|
8
8
|
if (!state) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { IFilterState, RelationOperator } from "../
|
|
2
|
+
import { IFilterState, RelationOperator } from "../groupsFilterRaw/groupsFilterInterfaces";
|
|
3
3
|
import { IZenComponentProps } from "../commonHelpers/zenComponent";
|
|
4
4
|
import { IDropdownItem } from "../dropdown/dropdown";
|
|
5
5
|
export interface IAdvancedGroupsFilterFormSection extends IZenComponentProps {
|
|
@@ -27,12 +27,12 @@ exports.TRANSLATIONS = exports.AdvancedGroupsFilterFormSection = void 0;
|
|
|
27
27
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
28
|
const react_1 = __importStar(require("react"));
|
|
29
29
|
const groupButton_1 = require("../groupButton/groupButton");
|
|
30
|
-
const groupsFilterInterfaces_1 = require("../
|
|
30
|
+
const groupsFilterInterfaces_1 = require("../groupsFilterRaw/groupsFilterInterfaces");
|
|
31
31
|
const advancedGroupsFilterSectionTooltip_1 = require("./advancedGroupsFilterSectionTooltip");
|
|
32
32
|
const dropdown_1 = require("../dropdown/dropdown");
|
|
33
33
|
const comboboxSelected_1 = require("../comboboxSelected/comboboxSelected");
|
|
34
34
|
const advancedGroupsFilterHelper_1 = require("./advancedGroupsFilterHelper");
|
|
35
|
-
const groupsHelper_1 = require("../
|
|
35
|
+
const groupsHelper_1 = require("../groupsFilterRaw/groupsHelper");
|
|
36
36
|
const useLanguage_1 = require("../utils/localization/useLanguage");
|
|
37
37
|
const focusableSelector_1 = require("../utils/focusableSelector");
|
|
38
38
|
const useMobile_1 = require("../commonHelpers/hooks/useMobile");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFilterState, ILeafStateItem, RelationOperator } from "../
|
|
1
|
+
import { IFilterState, ILeafStateItem, RelationOperator } from "../groupsFilterRaw/groupsFilterInterfaces";
|
|
2
2
|
import { IEntityWithId } from "../commonHelpers/entity";
|
|
3
3
|
import { IDropdownItem } from "../dropdown/dropdown";
|
|
4
4
|
interface ISelectedNode {
|
|
@@ -10,7 +10,7 @@ interface ISelectedNode {
|
|
|
10
10
|
export declare const getCurrentSelectionFromIds: (items: IEntityWithId[], comboArr: IDropdownItem[]) => {
|
|
11
11
|
id: string;
|
|
12
12
|
name: string | undefined;
|
|
13
|
-
color: import("../
|
|
13
|
+
color: import("../groupsFilterRaw/groupsFilterInterfaces").IColor | undefined;
|
|
14
14
|
}[];
|
|
15
15
|
export interface ISectionState {
|
|
16
16
|
interSectionRelation: RelationOperator;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isFilterStateLeafItem = exports.getCurrentSelectionFromIds = void 0;
|
|
4
|
-
const groupsHelper_1 = require("../
|
|
4
|
+
const groupsHelper_1 = require("../groupsFilterRaw/groupsHelper");
|
|
5
5
|
const getCurrentSelectionFromIds = (items, comboArr) => items.map((item) => {
|
|
6
6
|
const currentItem = comboArr.find((comboItem) => comboItem.id === item.id);
|
|
7
7
|
return currentItem ? { id: currentItem.id, name: currentItem.name, color: currentItem.color } : { id: item.id, name: item.id, color: undefined };
|
package/dist/banner/banner.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import "./banner.less";
|
|
3
3
|
import { TBannerSize } from "./bannerUtils";
|
|
4
|
+
import { IZenIdComponentProps } from "../commonHelpers/zenComponent";
|
|
4
5
|
export interface IBannerAction {
|
|
5
6
|
link?: string;
|
|
6
7
|
target?: React.HTMLAttributeAnchorTarget;
|
|
@@ -8,7 +9,7 @@ export interface IBannerAction {
|
|
|
8
9
|
text: string;
|
|
9
10
|
}
|
|
10
11
|
export type BannerType = "error" | "info" | "success" | "warning";
|
|
11
|
-
export interface IBanner {
|
|
12
|
+
export interface IBanner extends Partial<IZenIdComponentProps> {
|
|
12
13
|
className?: string;
|
|
13
14
|
children: React.ReactNode;
|
|
14
15
|
header?: string;
|
package/dist/banner/banner.js
CHANGED
|
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const bannerSingleLine_1 = require("./bannerSingleLine");
|
|
6
6
|
const bannerMultipLine_1 = require("./bannerMultipLine");
|
|
7
7
|
const useMobile_1 = require("../commonHelpers/hooks/useMobile");
|
|
8
|
-
const Banner = ({ children, header, type = "warning", icon, action, size, onClose, multiline, role = "status", ariaAtomic = "true", ariaLive = "polite", primaryAction, className }) => {
|
|
8
|
+
const Banner = ({ children, header, type = "warning", icon, action, size, onClose, multiline, role = "status", ariaAtomic = "true", ariaLive = "polite", primaryAction, className, id }) => {
|
|
9
9
|
const isMobile = (0, useMobile_1.useMobile)();
|
|
10
10
|
const isMultiline = multiline === undefined ? isMobile : multiline;
|
|
11
11
|
return isMultiline ? (0, jsx_runtime_1.jsx)(bannerMultipLine_1.BannerMultiline, { children,
|
|
@@ -19,7 +19,8 @@ const Banner = ({ children, header, type = "warning", icon, action, size, onClos
|
|
|
19
19
|
ariaAtomic,
|
|
20
20
|
ariaLive,
|
|
21
21
|
primaryAction,
|
|
22
|
-
className
|
|
22
|
+
className,
|
|
23
|
+
id }) : (0, jsx_runtime_1.jsx)(bannerSingleLine_1.BannerSingleLine, { children,
|
|
23
24
|
header,
|
|
24
25
|
type,
|
|
25
26
|
size,
|
|
@@ -30,6 +31,7 @@ const Banner = ({ children, header, type = "warning", icon, action, size, onClos
|
|
|
30
31
|
ariaAtomic,
|
|
31
32
|
ariaLive,
|
|
32
33
|
primaryAction,
|
|
33
|
-
className
|
|
34
|
+
className,
|
|
35
|
+
id });
|
|
34
36
|
};
|
|
35
37
|
exports.Banner = Banner;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
import "./banner.less";
|
|
3
3
|
import { TBannerSize } from "./bannerUtils";
|
|
4
4
|
import { IBannerAction } from "./banner";
|
|
5
|
+
import { IZenIdComponentProps } from "../commonHelpers/zenComponent";
|
|
5
6
|
export type BannerType = "error" | "info" | "success" | "warning" | "upsell";
|
|
6
|
-
export interface IBanner {
|
|
7
|
+
export interface IBanner extends Partial<IZenIdComponentProps> {
|
|
7
8
|
className?: string;
|
|
8
9
|
children: React.ReactNode;
|
|
9
10
|
header?: string;
|
|
@@ -15,7 +15,7 @@ const button_1 = require("../button/button");
|
|
|
15
15
|
const useDriveClassName_1 = require("../utils/theme/useDriveClassName");
|
|
16
16
|
const react_1 = require("react");
|
|
17
17
|
const useNodeText_1 = require("../utils/useNodeText");
|
|
18
|
-
const BannerMultiline = ({ children, header, type = "warning", icon, action, onClose, role, ariaAtomic, ariaLive, size = bannerUtils_1.DEFAULT_BANNER_SIZE, primaryAction, className = "" }) => {
|
|
18
|
+
const BannerMultiline = ({ children, header, type = "warning", icon, action, onClose, role, ariaAtomic, ariaLive, size = bannerUtils_1.DEFAULT_BANNER_SIZE, primaryAction, id, className = "" }) => {
|
|
19
19
|
const bannerOptions = (0, bannerUtils_1.getBannerOptions)(type);
|
|
20
20
|
const { translate } = (0, useLanguage_1.useLanguage)();
|
|
21
21
|
const bannerBlockClassName = (0, useDriveClassName_1.useDriveClassName)("zen-banner__block");
|
|
@@ -33,6 +33,6 @@ const BannerMultiline = ({ children, header, type = "warning", icon, action, onC
|
|
|
33
33
|
"zen-banner__block--multiline",
|
|
34
34
|
"zen-banner__block--" + size
|
|
35
35
|
]);
|
|
36
|
-
return (0, jsx_runtime_1.jsx)("div", { className: blockClassNames, role: role, "aria-atomic": ariaAtomic, "aria-live": ariaLive, children: (0, jsx_runtime_1.jsxs)("div", { className: (0, classNames_1.classNames)(["zen-banner__content", "zen-banner__content--multiline", `zen-banner__content--${size}`]), children: [header && (0, jsx_runtime_1.jsxs)("div", { className: "zen-banner__multiline-container", children: [(0, jsx_runtime_1.jsxs)("div", { className: "zen-banner__header-container", children: [icon && header && (0, jsx_runtime_1.jsx)(typeIcon_1.default, { type: type }), header && (0, jsx_runtime_1.jsx)("div", { className: (0, classNames_1.classNames)(["zen-banner__header", bannerHeaderClassName || ""]), children: header })] }), onClose && (0, jsx_runtime_1.jsx)("button", { type: "button", className: (0, classNames_1.classNames)(["zen-banner__close-button", closeButtonClassName || ""]), onClick: onClose, title: translate("Close"), "aria-label": translate("Close"), children: (0, jsx_runtime_1.jsx)(iconClose_1.IconClose, { size: bannerHeaderClassName ? "huge" : "large" }) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "zen-banner__message-container", children: [icon && !header && (0, jsx_runtime_1.jsx)(typeIcon_1.default, { className: "zen-banner__icon-block--top-gap", type: type }), (0, jsx_runtime_1.jsx)("div", { ref: contentRef, title: text, className: (0, classNames_1.classNames)(["zen-banner__message", `zen-banner__message--${size}`, "zen-banner__message--multiline", bannerMessageClassName || ""]), children: children }), onClose && !header && (0, jsx_runtime_1.jsx)("button", { type: "button", className: "zen-banner__close-button zen-banner__close-button--top-gap", onClick: onClose, title: translate("Close"), "aria-label": translate("Close"), children: (0, jsx_runtime_1.jsx)(iconClose_1.IconClose, { size: bannerHeaderClassName ? "huge" : "large" }) })] }), (action || primaryAction) && (0, jsx_runtime_1.jsxs)("div", { className: "zen-banner__action zen-banner__action--multiline", children: [action && (0, jsx_runtime_1.jsx)(button_1.Button, { className: linkClasses, type: buttonType_1.ButtonType.Tertiary, link: action.link, target: action.target, onClick: action.onClick, children: action.text }), primaryAction && (0, jsx_runtime_1.jsx)(button_1.Button, { className: linkClasses, type: buttonType_1.ButtonType.Primary, link: primaryAction.link, target: primaryAction.target, onClick: primaryAction.onClick, children: primaryAction.text })] })] }) });
|
|
36
|
+
return (0, jsx_runtime_1.jsx)("div", { id: id, className: blockClassNames, role: role, "aria-atomic": ariaAtomic, "aria-live": ariaLive, children: (0, jsx_runtime_1.jsxs)("div", { className: (0, classNames_1.classNames)(["zen-banner__content", "zen-banner__content--multiline", `zen-banner__content--${size}`]), children: [header && (0, jsx_runtime_1.jsxs)("div", { className: "zen-banner__multiline-container", children: [(0, jsx_runtime_1.jsxs)("div", { className: "zen-banner__header-container", children: [icon && header && (0, jsx_runtime_1.jsx)(typeIcon_1.default, { type: type }), header && (0, jsx_runtime_1.jsx)("div", { className: (0, classNames_1.classNames)(["zen-banner__header", bannerHeaderClassName || ""]), children: header })] }), onClose && (0, jsx_runtime_1.jsx)("button", { type: "button", className: (0, classNames_1.classNames)(["zen-banner__close-button", closeButtonClassName || ""]), onClick: onClose, title: translate("Close"), "aria-label": translate("Close"), children: (0, jsx_runtime_1.jsx)(iconClose_1.IconClose, { size: bannerHeaderClassName ? "huge" : "large" }) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "zen-banner__message-container", children: [icon && !header && (0, jsx_runtime_1.jsx)(typeIcon_1.default, { className: "zen-banner__icon-block--top-gap", type: type }), (0, jsx_runtime_1.jsx)("div", { ref: contentRef, title: text, className: (0, classNames_1.classNames)(["zen-banner__message", `zen-banner__message--${size}`, "zen-banner__message--multiline", bannerMessageClassName || ""]), children: children }), onClose && !header && (0, jsx_runtime_1.jsx)("button", { type: "button", className: "zen-banner__close-button zen-banner__close-button--top-gap", onClick: onClose, title: translate("Close"), "aria-label": translate("Close"), children: (0, jsx_runtime_1.jsx)(iconClose_1.IconClose, { size: bannerHeaderClassName ? "huge" : "large" }) })] }), (action || primaryAction) && (0, jsx_runtime_1.jsxs)("div", { className: "zen-banner__action zen-banner__action--multiline", children: [action && (0, jsx_runtime_1.jsx)(button_1.Button, { className: linkClasses, type: buttonType_1.ButtonType.Tertiary, link: action.link, target: action.target, onClick: action.onClick, children: action.text }), primaryAction && (0, jsx_runtime_1.jsx)(button_1.Button, { className: linkClasses, type: buttonType_1.ButtonType.Primary, link: primaryAction.link, target: primaryAction.target, onClick: primaryAction.onClick, children: primaryAction.text })] })] }) });
|
|
37
37
|
};
|
|
38
38
|
exports.BannerMultiline = BannerMultiline;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
import "./banner.less";
|
|
3
3
|
import { TBannerSize } from "./bannerUtils";
|
|
4
4
|
import { IBannerAction } from "./banner";
|
|
5
|
+
import { IZenIdComponentProps } from "../commonHelpers/zenComponent";
|
|
5
6
|
export type BannerType = "error" | "info" | "success" | "warning" | "upsell";
|
|
6
|
-
export interface IBanner {
|
|
7
|
+
export interface IBanner extends Partial<IZenIdComponentProps> {
|
|
7
8
|
className?: string;
|
|
8
9
|
children: React.ReactNode;
|
|
9
10
|
header?: string;
|
|
@@ -16,7 +16,7 @@ const useDriveClassName_1 = require("../utils/theme/useDriveClassName");
|
|
|
16
16
|
const useMobile_1 = require("../commonHelpers/hooks/useMobile");
|
|
17
17
|
const react_1 = require("react");
|
|
18
18
|
const useNodeText_1 = require("../utils/useNodeText");
|
|
19
|
-
const BannerSingleLine = ({ children, header, type = "warning", icon, action, onClose, size = bannerUtils_1.DEFAULT_BANNER_SIZE, role, ariaAtomic, ariaLive, className, primaryAction }) => {
|
|
19
|
+
const BannerSingleLine = ({ children, header, type = "warning", icon, action, onClose, size = bannerUtils_1.DEFAULT_BANNER_SIZE, role, ariaAtomic, ariaLive, className, primaryAction, id }) => {
|
|
20
20
|
const bannerOptions = (0, bannerUtils_1.getBannerOptions)(type);
|
|
21
21
|
const { translate } = (0, useLanguage_1.useLanguage)();
|
|
22
22
|
const bannerHeaderClassName = (0, useDriveClassName_1.useDriveClassName)("zen-banner__header");
|
|
@@ -27,6 +27,6 @@ const BannerSingleLine = ({ children, header, type = "warning", icon, action, on
|
|
|
27
27
|
const text = (0, useNodeText_1.useNodeText)(contentRef);
|
|
28
28
|
const linkClasses = (0, classNames_1.classNames)(["zen-banner__link", "zen-banner__link--" + type]);
|
|
29
29
|
const blockClassNames = (0, classNames_1.classNames)(["zen-banner", "zen-banner__block", bannerOptions.blockClassName, className || "", "zen-banner__block--" + size]);
|
|
30
|
-
return (0, jsx_runtime_1.jsxs)("div", { className: blockClassNames, role: role, "aria-atomic": ariaAtomic, "aria-live": ariaLive, children: [(0, jsx_runtime_1.jsxs)("div", { className: (0, classNames_1.classNames)(["zen-banner__content", `zen-banner__content--${size}`]), children: [icon && (0, jsx_runtime_1.jsx)(typeIcon_1.default, { type: type }), header && (0, jsx_runtime_1.jsx)("div", { className: (0, classNames_1.classNames)(["zen-banner__header", bannerHeaderClassName || ""]), children: header }), (0, jsx_runtime_1.jsx)("div", { className: (0, classNames_1.classNames)(["zen-banner__message", bannerMessageClassName || "", isMobile ? "zen-banner__message--mobile" : ""]), ref: contentRef, title: text, children: children }), (action || primaryAction) && (0, jsx_runtime_1.jsxs)("div", { className: "zen-banner__action", children: [action && (0, jsx_runtime_1.jsx)(button_1.Button, { className: linkClasses, type: buttonType_1.ButtonType.Tertiary, link: action.link, target: action.target, onClick: action.onClick, children: action.text }), primaryAction && (0, jsx_runtime_1.jsx)(button_1.Button, { className: linkClasses, type: buttonType_1.ButtonType.Primary, link: primaryAction.link, target: primaryAction.target, onClick: primaryAction.onClick, children: primaryAction.text })] })] }), onClose && (0, jsx_runtime_1.jsx)("button", { type: "button", className: (0, classNames_1.classNames)(["zen-banner__close-button", closeButtonClassName || ""]), onClick: onClose, title: translate("Close"), "aria-label": translate("Close"), children: (0, jsx_runtime_1.jsx)(iconClose_1.IconClose, { size: bannerHeaderClassName ? "huge" : "large" }) })] });
|
|
30
|
+
return (0, jsx_runtime_1.jsxs)("div", { id: id, className: blockClassNames, role: role, "aria-atomic": ariaAtomic, "aria-live": ariaLive, children: [(0, jsx_runtime_1.jsxs)("div", { className: (0, classNames_1.classNames)(["zen-banner__content", `zen-banner__content--${size}`]), children: [icon && (0, jsx_runtime_1.jsx)(typeIcon_1.default, { type: type }), header && (0, jsx_runtime_1.jsx)("div", { className: (0, classNames_1.classNames)(["zen-banner__header", bannerHeaderClassName || ""]), children: header }), (0, jsx_runtime_1.jsx)("div", { className: (0, classNames_1.classNames)(["zen-banner__message", bannerMessageClassName || "", isMobile ? "zen-banner__message--mobile" : ""]), ref: contentRef, title: text, children: children }), (action || primaryAction) && (0, jsx_runtime_1.jsxs)("div", { className: "zen-banner__action", children: [action && (0, jsx_runtime_1.jsx)(button_1.Button, { className: linkClasses, type: buttonType_1.ButtonType.Tertiary, link: action.link, target: action.target, onClick: action.onClick, children: action.text }), primaryAction && (0, jsx_runtime_1.jsx)(button_1.Button, { className: linkClasses, type: buttonType_1.ButtonType.Primary, link: primaryAction.link, target: primaryAction.target, onClick: primaryAction.onClick, children: primaryAction.text })] })] }), onClose && (0, jsx_runtime_1.jsx)("button", { type: "button", className: (0, classNames_1.classNames)(["zen-banner__close-button", closeButtonClassName || ""]), onClick: onClose, title: translate("Close"), "aria-label": translate("Close"), children: (0, jsx_runtime_1.jsx)(iconClose_1.IconClose, { size: bannerHeaderClassName ? "huge" : "large" }) })] });
|
|
31
31
|
};
|
|
32
32
|
exports.BannerSingleLine = BannerSingleLine;
|
package/dist/button/button.d.ts
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { TButton, THTMLButtonType } from "./buttonType";
|
|
3
3
|
import "./button.less";
|
|
4
|
-
import { IZenComponentProps } from "../commonHelpers/zenComponent";
|
|
4
|
+
import { IZenComponentProps, IZenGridItem } from "../commonHelpers/zenComponent";
|
|
5
5
|
import { Ref } from "react";
|
|
6
|
-
export interface IButton extends IZenComponentProps {
|
|
6
|
+
export interface IButton extends IZenComponentProps, IZenGridItem {
|
|
7
7
|
id?: string;
|
|
8
|
+
name?: string;
|
|
8
9
|
title?: string;
|
|
9
10
|
type?: TButton;
|
|
10
11
|
disabled?: boolean;
|
|
11
12
|
onClick?: React.MouseEventHandler;
|
|
13
|
+
onBlur?: React.FocusEventHandler;
|
|
12
14
|
onMouseOver?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
13
15
|
onMouseOut?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
14
16
|
onMouseDown?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
@@ -22,6 +24,6 @@ export interface IButton extends IZenComponentProps {
|
|
|
22
24
|
ref?: Ref<HTMLButtonElement | null>;
|
|
23
25
|
}
|
|
24
26
|
export declare const Button: {
|
|
25
|
-
({ className, type, disabled, id, title, onClick, onMouseOver, onMouseOut, onMouseDown, onMouseUp, onKeyDown, onKeyUp, children, link, target, htmlType, rel, ref, ...other }: IButton): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
({ className, type, disabled, id, title, onClick, onMouseOver, onMouseOut, onMouseDown, onMouseUp, onKeyDown, onKeyUp, children, link, target, htmlType, rel, ref, name, onBlur, ...other }: IButton): import("react/jsx-runtime").JSX.Element;
|
|
26
28
|
displayName: string;
|
|
27
29
|
};
|
package/dist/button/button.js
CHANGED
|
@@ -16,9 +16,10 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
16
16
|
const buttonType_1 = require("./buttonType");
|
|
17
17
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
18
18
|
const useDriveClassName_1 = require("../utils/theme/useDriveClassName");
|
|
19
|
+
const filterGridProps_1 = require("../gridLayout/utils/filterGridProps");
|
|
19
20
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
20
21
|
const Button = (_a) => {
|
|
21
|
-
var { className, type, disabled, id, title, onClick, onMouseOver, onMouseOut, onMouseDown, onMouseUp, onKeyDown, onKeyUp, children, link, target, htmlType, rel, ref } = _a, other = __rest(_a, ["className", "type", "disabled", "id", "title", "onClick", "onMouseOver", "onMouseOut", "onMouseDown", "onMouseUp", "onKeyDown", "onKeyUp", "children", "link", "target", "htmlType", "rel", "ref"]);
|
|
22
|
+
var { className, type, disabled, id, title, onClick, onMouseOver, onMouseOut, onMouseDown, onMouseUp, onKeyDown, onKeyUp, children, link, target, htmlType, rel, ref, name, onBlur } = _a, other = __rest(_a, ["className", "type", "disabled", "id", "title", "onClick", "onMouseOver", "onMouseOut", "onMouseDown", "onMouseUp", "onKeyDown", "onKeyUp", "children", "link", "target", "htmlType", "rel", "ref", "name", "onBlur"]);
|
|
22
23
|
const modifierClassName = type && type !== buttonType_1.ButtonType.Secondary ? `zen-button--${type}` : "";
|
|
23
24
|
const disabledClassName = disabled ? "zen-button--disabled" : "";
|
|
24
25
|
const driveClasses = (0, useDriveClassName_1.useDriveClassName)("zen-button");
|
|
@@ -35,9 +36,9 @@ const Button = (_a) => {
|
|
|
35
36
|
])
|
|
36
37
|
};
|
|
37
38
|
if (link) {
|
|
38
|
-
return (0, jsx_runtime_1.jsx)("a", Object.assign({ role: "link", rel: rel, target: target, href: disabled ? undefined : link, "aria-disabled": disabled, onKeyDown: onKeyDown, onKeyUp: onKeyUp, onMouseOver: onMouseOver, onMouseOut: onMouseOut, onClick: onClick }, commonArgs, other, { children: children }));
|
|
39
|
+
return (0, jsx_runtime_1.jsx)("a", Object.assign({ role: "link", rel: rel, target: target, href: disabled ? undefined : link, "aria-disabled": disabled, onKeyDown: onKeyDown, onKeyUp: onKeyUp, onMouseOver: onMouseOver, onMouseOut: onMouseOut, onClick: onClick }, commonArgs, (0, filterGridProps_1.filterGridProps)(other), { children: children }));
|
|
39
40
|
}
|
|
40
|
-
return (0, jsx_runtime_1.jsx)("button", Object.assign({ onClick: onClick, onMouseOver: onMouseOver, onMouseOut: onMouseOut, onMouseDown: onMouseDown, onMouseUp: onMouseUp, onKeyDown: onKeyDown, onKeyUp: onKeyUp, ref: ref, type: htmlType, disabled: disabled }, commonArgs, other, { children: children }));
|
|
41
|
+
return (0, jsx_runtime_1.jsx)("button", Object.assign({ name: name, onBlur: onBlur, onClick: onClick, onMouseOver: onMouseOver, onMouseOut: onMouseOut, onMouseDown: onMouseDown, onMouseUp: onMouseUp, onKeyDown: onKeyDown, onKeyUp: onKeyUp, ref: ref, type: htmlType, disabled: disabled }, commonArgs, (0, filterGridProps_1.filterGridProps)(other), { children: children }));
|
|
41
42
|
};
|
|
42
43
|
exports.Button = Button;
|
|
43
44
|
exports.Button.displayName = "Button";
|
package/dist/card/card.d.ts
CHANGED
|
@@ -7,11 +7,11 @@ import { IContent } from "./components/content";
|
|
|
7
7
|
import "./card.less";
|
|
8
8
|
import { TAlignment } from "../absolute/absolute";
|
|
9
9
|
import { TooltipSize } from "../tooltip/tooltip";
|
|
10
|
-
import { IZenComponentProps, IZenGridItem } from "../commonHelpers/zenComponent";
|
|
10
|
+
import { IZenComponentProps, IZenFormLayoutItem, IZenGridItem } from "../commonHelpers/zenComponent";
|
|
11
11
|
import { ICardButton } from "./components/cardButton/cardButton";
|
|
12
12
|
import { IIcon } from "../icons/icon";
|
|
13
13
|
export declare const DEFAULT_CARD_SIZE: TContainerSize;
|
|
14
|
-
export interface ICard extends IZenComponentProps, IZenGridItem {
|
|
14
|
+
export interface ICard extends IZenComponentProps, IZenGridItem, IZenFormLayoutItem {
|
|
15
15
|
size?: TContainerSize | IAbsoluteSize;
|
|
16
16
|
/**
|
|
17
17
|
* @deprecated
|
package/dist/card/card.js
CHANGED
|
@@ -53,6 +53,8 @@ const button_1 = require("../button/button");
|
|
|
53
53
|
const favoriteButton_1 = require("../favoriteButton/favoriteButton");
|
|
54
54
|
const getIconFromStatus_1 = require("./helpers/getIconFromStatus");
|
|
55
55
|
const getIconTypeFromStatus_1 = require("./helpers/getIconTypeFromStatus");
|
|
56
|
+
const isFormSection_1 = require("../formSection/utils/isFormSection");
|
|
57
|
+
// import { FormSection } from "../formSection/formSection";
|
|
56
58
|
exports.DEFAULT_CARD_SIZE = "S";
|
|
57
59
|
// eslint-disable-next-line @typescript-eslint/naming-convention, react/prop-types
|
|
58
60
|
const Card =
|
|
@@ -97,7 +99,7 @@ const Card =
|
|
|
97
99
|
acts.push(actionChildren);
|
|
98
100
|
}
|
|
99
101
|
}
|
|
100
|
-
if (el.type === exports.Card.Content) {
|
|
102
|
+
if (el.type === exports.Card.Content || (0, isFormSection_1.isFormSection)(el)) {
|
|
101
103
|
cnt.push(el);
|
|
102
104
|
}
|
|
103
105
|
});
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
1
|
+
import { FC, HTMLAttributeAnchorTarget } from "react";
|
|
2
2
|
import { IZenIdComponentProps } from "../../../commonHelpers/zenComponent";
|
|
3
3
|
import { IIcon } from "../../../icons/icon";
|
|
4
4
|
import "./cardButton.less";
|
|
5
5
|
export interface ICardButton extends IZenIdComponentProps {
|
|
6
6
|
name: string;
|
|
7
7
|
icon?: FC<IIcon>;
|
|
8
|
-
link?: string;
|
|
9
|
-
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
10
8
|
disabled?: boolean;
|
|
11
9
|
inContextMenu?: boolean;
|
|
10
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
11
|
+
link?: string;
|
|
12
|
+
target?: HTMLAttributeAnchorTarget;
|
|
12
13
|
}
|
|
13
14
|
export declare const CardButton: FC<ICardButton>;
|
|
@@ -11,7 +11,7 @@ const iconChevronTopSmall_1 = require("../../../icons/iconChevronTopSmall");
|
|
|
11
11
|
const menu_1 = require("../../../menu/menu");
|
|
12
12
|
const useDriveClassName_1 = require("../../../utils/theme/useDriveClassName");
|
|
13
13
|
const useDrive_1 = require("../../../utils/theme/useDrive");
|
|
14
|
-
const CardButton = ({ children, disabled = false, icon, name, onClick, link, className }) => {
|
|
14
|
+
const CardButton = ({ children, disabled = false, icon, name, onClick, link, className, target: linkTarget }) => {
|
|
15
15
|
const [isOpen, setIsOpen] = (0, react_1.useState)(false);
|
|
16
16
|
const triggerRef = (0, react_1.useRef)(null);
|
|
17
17
|
const content = [];
|
|
@@ -30,7 +30,7 @@ const CardButton = ({ children, disabled = false, icon, name, onClick, link, cla
|
|
|
30
30
|
}
|
|
31
31
|
onClick === null || onClick === void 0 ? void 0 : onClick(...args);
|
|
32
32
|
};
|
|
33
|
-
const renderLink = () => (0, jsx_runtime_1.jsxs)(button_1.Button, { disabled: disabled, type: "tertiary", link: link, title: name, className: (0, classNames_1.classNames)([className || "", "zen-card-button", "zen-caption", cardButtonDriveClasses || ""]), children: [icon && (0, react_1.createElement)(icon, { size: isDrive ? "huge" : "large", className: "zen-caption__pre-content" }), (0, jsx_runtime_1.jsx)("span", { className: "zen-caption__content", children: name })] });
|
|
33
|
+
const renderLink = () => (0, jsx_runtime_1.jsxs)(button_1.Button, { disabled: disabled, type: "tertiary", link: link, target: linkTarget, title: name, className: (0, classNames_1.classNames)([className || "", "zen-card-button", "zen-caption", cardButtonDriveClasses || ""]), children: [icon && (0, react_1.createElement)(icon, { size: isDrive ? "huge" : "large", className: "zen-caption__pre-content" }), (0, jsx_runtime_1.jsx)("span", { className: "zen-caption__content", children: name })] });
|
|
34
34
|
const renderButton = () => {
|
|
35
35
|
const trigger = (0, jsx_runtime_1.jsxs)(button_1.Button, { htmlType: "button", ref: triggerRef, disabled: disabled, type: "tertiary", onClick: onButtonClickHandler, title: name, className: (0, classNames_1.classNames)([className || "", "zen-card-button", "zen-caption", cardButtonDriveClasses || ""]), children: [icon && (0, react_1.createElement)(icon, { size: isDrive ? "huge" : "large", className: "zen-caption__pre-content" }), (0, jsx_runtime_1.jsx)("span", { className: "zen-caption__content", children: name }), !!content.length && (isOpen ? (0, jsx_runtime_1.jsx)(iconChevronTopSmall_1.IconChevronTopSmall, { size: isDrive ? "huge" : "large", className: "zen-caption__post-content" }) : (0, jsx_runtime_1.jsx)(iconChevronDownSmall_1.IconChevronDownSmall, { size: isDrive ? "huge" : "large", className: "zen-caption__post-content" }))] });
|
|
36
36
|
return content.length ? (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [trigger, (0, jsx_runtime_1.jsx)(controlledMenu_1.ControlledMenu, { title: name, isOpen: isOpen, setIsOpen: setIsOpen, triggerRef: triggerRef, children: content })] }) : trigger;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./checkboxListWithAction.less";
|
|
3
3
|
import { IZenComponentProps } from "../commonHelpers/zenComponent";
|
|
4
|
-
import { IColor } from "../
|
|
4
|
+
import { IColor } from "../groupsFilterRaw/groupsFilterInterfaces";
|
|
5
5
|
export interface ICheckboxListWithActionOption {
|
|
6
6
|
label: string;
|
|
7
7
|
title?: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TRANSLATIONS = exports.ComboboxSelected = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const groupsHelper_1 = require("../
|
|
5
|
+
const groupsHelper_1 = require("../groupsFilterRaw/groupsHelper");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
7
|
const useLanguage_1 = require("../utils/localization/useLanguage");
|
|
8
8
|
const pill_1 = require("../pill/pill");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getAriaAttributes: (props?: object) => {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAriaAttributes = void 0;
|
|
4
|
+
const getAriaAttributes = (props) => {
|
|
5
|
+
if (!props) {
|
|
6
|
+
return {};
|
|
7
|
+
}
|
|
8
|
+
const ariaAttributes = {};
|
|
9
|
+
for (const [key, value] of Object.entries(props)) {
|
|
10
|
+
if (key.startsWith("aria-")) {
|
|
11
|
+
ariaAttributes[key] = value;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
return ariaAttributes;
|
|
15
|
+
};
|
|
16
|
+
exports.getAriaAttributes = getAriaAttributes;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UseControllerProps } from "react-hook-form";
|
|
2
|
+
export declare const useFormField: (controller?: UseControllerProps) => {
|
|
3
|
+
field: null;
|
|
4
|
+
fieldState: null;
|
|
5
|
+
} | {
|
|
6
|
+
field: import("react-hook-form").ControllerRenderProps<import("react-hook-form").FieldValues, string>;
|
|
7
|
+
fieldState: import("react-hook-form").ControllerFieldState;
|
|
8
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useFormField = void 0;
|
|
4
|
+
const react_hook_form_1 = require("react-hook-form");
|
|
5
|
+
const useFormField = (controller) => {
|
|
6
|
+
// TODO: how to replace it?
|
|
7
|
+
const { control: controlInner } = (0, react_hook_form_1.useForm)();
|
|
8
|
+
const { control, name, defaultValue, rules } = controller || {};
|
|
9
|
+
const nameInner = name || "";
|
|
10
|
+
const { field, fieldState } = (0, react_hook_form_1.useController)({ name: nameInner, control: control || controlInner, defaultValue, rules });
|
|
11
|
+
if (!control || !name) {
|
|
12
|
+
return {
|
|
13
|
+
field: null,
|
|
14
|
+
fieldState: null
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
return { field, fieldState };
|
|
18
|
+
};
|
|
19
|
+
exports.useFormField = useFormField;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ValidationRule, ValidationValueMessage } from "react-hook-form";
|
|
2
|
+
export declare const getRuleValue: (rule?: ValidationRule | ValidationValueMessage) => string | number | boolean | RegExp | ValidationValueMessage<import("react-hook-form").ValidationValue> | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuleValue = void 0;
|
|
4
|
+
const getRuleValue = (rule) => {
|
|
5
|
+
if (!rule) {
|
|
6
|
+
return undefined;
|
|
7
|
+
}
|
|
8
|
+
if (rule.value) {
|
|
9
|
+
return rule.value;
|
|
10
|
+
}
|
|
11
|
+
return rule;
|
|
12
|
+
};
|
|
13
|
+
exports.getRuleValue = getRuleValue;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RegisterOptions, UseControllerProps } from "react-hook-form";
|
|
2
|
+
interface IRegisterOptions extends Partial<Pick<RegisterOptions, "required" | "min" | "max" | "maxLength" | "minLength" | "value" | "onChange" | "onBlur" | "disabled">> {
|
|
3
|
+
}
|
|
4
|
+
export interface IRulesProps extends IRegisterOptions {
|
|
5
|
+
name?: string;
|
|
6
|
+
pattern?: RegExp | string;
|
|
7
|
+
}
|
|
8
|
+
interface IUseFormFieldValues extends IRegisterOptions {
|
|
9
|
+
name?: string;
|
|
10
|
+
pattern?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const useFormFieldValues: (controller?: UseControllerProps, props?: IRulesProps) => IUseFormFieldValues;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// RegisterOptions:
|
|
3
|
+
// required: Message | ValidationRule<boolean>;
|
|
4
|
+
// min: ValidationRule<number | string>;
|
|
5
|
+
// max: ValidationRule<number | string>;
|
|
6
|
+
// maxLength: ValidationRule<number>;
|
|
7
|
+
// minLength: ValidationRule<number>;
|
|
8
|
+
// validate: Validate<FieldPathValue<TFieldValues, TFieldName>, TFieldValues> | Record<string, Validate<FieldPathValue<TFieldValues, TFieldName>, TFieldValues>>;
|
|
9
|
+
// value: FieldPathValue<TFieldValues, TFieldName>;
|
|
10
|
+
// setValueAs: (value: any) => any;
|
|
11
|
+
// shouldUnregister?: boolean;
|
|
12
|
+
// onChange?: (event: any) => void;
|
|
13
|
+
// onBlur?: (event: any) => void;
|
|
14
|
+
// disabled: boolean;
|
|
15
|
+
// deps: FieldPath<TFieldValues> | FieldPath<TFieldValues>[];
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.useFormFieldValues = void 0;
|
|
18
|
+
const useFormField_1 = require("../useFormField");
|
|
19
|
+
const getRuleValue_1 = require("./getRuleValue");
|
|
20
|
+
const useFormFieldValues = (controller, props) => {
|
|
21
|
+
var _a, _b, _c, _d, _e, _f;
|
|
22
|
+
const { field } = (0, useFormField_1.useFormField)(controller);
|
|
23
|
+
if (!field) {
|
|
24
|
+
return {
|
|
25
|
+
required: props === null || props === void 0 ? void 0 : props.required,
|
|
26
|
+
min: props === null || props === void 0 ? void 0 : props.min,
|
|
27
|
+
max: props === null || props === void 0 ? void 0 : props.max,
|
|
28
|
+
maxLength: props === null || props === void 0 ? void 0 : props.maxLength,
|
|
29
|
+
minLength: props === null || props === void 0 ? void 0 : props.minLength,
|
|
30
|
+
value: props === null || props === void 0 ? void 0 : props.value,
|
|
31
|
+
onChange: props === null || props === void 0 ? void 0 : props.onChange,
|
|
32
|
+
onBlur: props === null || props === void 0 ? void 0 : props.onBlur,
|
|
33
|
+
disabled: props === null || props === void 0 ? void 0 : props.disabled,
|
|
34
|
+
name: props === null || props === void 0 ? void 0 : props.name,
|
|
35
|
+
pattern: props === null || props === void 0 ? void 0 : props.pattern
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
value: field.value,
|
|
40
|
+
onChange: field.onChange,
|
|
41
|
+
onBlur: field.onBlur,
|
|
42
|
+
disabled: controller === null || controller === void 0 ? void 0 : controller.disabled,
|
|
43
|
+
name: field.name,
|
|
44
|
+
required: (0, getRuleValue_1.getRuleValue)((_a = controller === null || controller === void 0 ? void 0 : controller.rules) === null || _a === void 0 ? void 0 : _a.required),
|
|
45
|
+
min: (0, getRuleValue_1.getRuleValue)((_b = controller === null || controller === void 0 ? void 0 : controller.rules) === null || _b === void 0 ? void 0 : _b.min),
|
|
46
|
+
max: (0, getRuleValue_1.getRuleValue)((_c = controller === null || controller === void 0 ? void 0 : controller.rules) === null || _c === void 0 ? void 0 : _c.max),
|
|
47
|
+
maxLength: (0, getRuleValue_1.getRuleValue)((_d = controller === null || controller === void 0 ? void 0 : controller.rules) === null || _d === void 0 ? void 0 : _d.maxLength),
|
|
48
|
+
pattern: (0, getRuleValue_1.getRuleValue)((_e = controller === null || controller === void 0 ? void 0 : controller.rules) === null || _e === void 0 ? void 0 : _e.pattern),
|
|
49
|
+
minLength: (0, getRuleValue_1.getRuleValue)((_f = controller === null || controller === void 0 ? void 0 : controller.rules) === null || _f === void 0 ? void 0 : _f.minLength)
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
exports.useFormFieldValues = useFormFieldValues;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
+
import { UseControllerProps } from "react-hook-form";
|
|
2
3
|
export interface IZenComponentProps extends PropsWithChildren {
|
|
3
4
|
className?: string;
|
|
4
5
|
}
|
|
@@ -73,5 +74,21 @@ export interface IZenGridItem extends Partial<Pick<IZenIdComponentProps, "classN
|
|
|
73
74
|
@see `gridLayout/gridLayout.tsx`
|
|
74
75
|
*/
|
|
75
76
|
gridSm?: TMobileColumns;
|
|
77
|
+
/**
|
|
78
|
+
@param gridFitContent - If true, grid width classes won't be applied and the item will take the space according to its content.
|
|
79
|
+
|
|
80
|
+
Can be applied if used as a part of `Grid` component.
|
|
81
|
+
@see `gridLayout/gridLayout.tsx`
|
|
82
|
+
*/
|
|
83
|
+
gridFitContent?: boolean;
|
|
84
|
+
}
|
|
85
|
+
export interface IZenFormLayoutItem {
|
|
86
|
+
/**
|
|
87
|
+
@param position - applies the order of the item in the FormLayout. Works only for single column layout.
|
|
88
|
+
*/
|
|
89
|
+
layoutPosition?: number;
|
|
90
|
+
}
|
|
91
|
+
export interface IReactFormItemController {
|
|
92
|
+
controller?: UseControllerProps<any, any>;
|
|
76
93
|
}
|
|
77
94
|
export {};
|
|
@@ -1,24 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
export interface IDateInput extends
|
|
6
|
-
defaultValue?: string;
|
|
7
|
-
value: string | undefined;
|
|
8
|
-
onChange: (value: string | undefined) => void;
|
|
9
|
-
className?: string;
|
|
10
|
-
classNamePopup?: string;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
dropDownTitle?: string;
|
|
13
|
-
id?: string;
|
|
14
|
-
timeSelect?: boolean;
|
|
15
|
-
disableFutureDates?: boolean;
|
|
16
|
-
disablePastDates?: boolean;
|
|
17
|
-
disableDatesBefore?: string;
|
|
18
|
-
disableDatesAfter?: string;
|
|
19
|
-
error?: string;
|
|
20
|
-
requireSelection?: boolean;
|
|
21
|
-
buttonLabel?: string;
|
|
1
|
+
import { TFormFieldComponentProps } from "../formField/formField";
|
|
2
|
+
import { IDateInputRaw } from "../dateInputRaw/dateInputRaw";
|
|
3
|
+
import { TDateInputRaw } from "../dateInputRaw/types";
|
|
4
|
+
type TFormInput = TFormFieldComponentProps<TDateInputRaw>;
|
|
5
|
+
export interface IDateInput extends IDateInputRaw {
|
|
22
6
|
}
|
|
23
|
-
export
|
|
7
|
+
export type TDateInput = Omit<TFormFieldComponentProps<TFormInput>, "counter" | "ref">;
|
|
8
|
+
export declare const DateInput: ({ ...props }: TDateInput) => import("react/jsx-runtime").JSX.Element;
|
|
24
9
|
export declare const TRANSLATIONS: string[];
|
|
10
|
+
export {};
|