@zealicsolutions/web-ui 0.4.96 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +38 -54
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/assets/index.d.ts +2 -8
- package/dist/cjs/src/atoms/Avatar/Avatar.d.ts +3 -2
- package/dist/cjs/src/atoms/Buttons/Button.d.ts +14 -0
- package/dist/cjs/src/atoms/Buttons/LinkButton.d.ts +20 -0
- package/dist/cjs/src/atoms/Checkbox/Checkbox.d.ts +7 -12
- package/dist/cjs/src/atoms/Icon/Icon.d.ts +12 -23
- package/dist/cjs/src/atoms/Image/Image.d.ts +8 -0
- package/dist/cjs/src/atoms/Input/Input.d.ts +16 -33
- package/dist/cjs/src/atoms/Paddings/Paddings.d.ts +3 -3
- package/dist/cjs/src/atoms/Select/Select.d.ts +3 -34
- package/dist/cjs/src/atoms/Select/styles.d.ts +1 -6
- package/dist/cjs/src/atoms/Select/types.d.ts +13 -0
- package/dist/cjs/src/atoms/TextWrapper/TextWrapper.d.ts +7 -17
- package/dist/cjs/src/atoms/Toast/ToastContent.d.ts +1 -0
- package/dist/cjs/src/atoms/Tooltip/Tooltip.d.ts +4 -6
- package/dist/cjs/src/atoms/ValidationTag/ValidationTag.d.ts +1 -0
- package/dist/cjs/src/atoms/index.d.ts +3 -10
- package/dist/cjs/src/fieldsConfiguration/index.d.ts +0 -1
- package/dist/cjs/src/fieldsConfiguration/mock.d.ts +1 -8
- package/dist/cjs/src/fieldsConfiguration/types.d.ts +11 -14
- package/dist/cjs/src/fieldsConfiguration/utils.d.ts +0 -2
- package/dist/cjs/src/helpers/styles.d.ts +2 -2
- package/dist/cjs/src/hooks/index.d.ts +0 -1
- package/dist/cjs/src/icons/Bell.d.ts +1 -0
- package/dist/cjs/src/icons/CaretDown.d.ts +2 -1
- package/dist/cjs/src/icons/CaretUp.d.ts +1 -0
- package/dist/cjs/src/icons/Check.d.ts +3 -2
- package/dist/cjs/src/icons/Close.d.ts +3 -2
- package/dist/cjs/src/icons/Filter.d.ts +3 -2
- package/dist/cjs/src/icons/Hide.d.ts +2 -1
- package/dist/cjs/src/icons/Info.d.ts +2 -1
- package/dist/cjs/src/icons/InfoBoxIcon.d.ts +1 -0
- package/dist/cjs/src/icons/Mail.d.ts +2 -1
- package/dist/cjs/src/icons/Minus.d.ts +3 -2
- package/dist/cjs/src/icons/Mobile.d.ts +3 -2
- package/dist/cjs/src/icons/View.d.ts +3 -2
- package/dist/cjs/src/icons/Warning.d.ts +2 -1
- package/dist/cjs/src/icons/index.d.ts +0 -9
- package/dist/cjs/src/index.d.ts +2 -5
- package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +4 -6
- package/dist/cjs/src/molecules/Banner/Banner.d.ts +9 -0
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.d.ts +8 -35
- package/dist/cjs/src/molecules/CustomValidation/CustomValidation.d.ts +2 -4
- package/dist/cjs/src/molecules/Drawer/Drawer.d.ts +1 -1
- package/dist/cjs/src/molecules/Drawer/styles.d.ts +1 -19
- package/dist/cjs/src/molecules/FieldLabels/FieldLabels.d.ts +4 -37
- package/dist/cjs/src/molecules/FieldMapper/FieldMapper.d.ts +4 -8
- package/dist/cjs/src/molecules/InfoBox/InfoBox.d.ts +9 -0
- package/dist/cjs/src/molecules/InputField/InputField.d.ts +13 -19
- package/dist/cjs/src/molecules/MenuItems/MenuItems.d.ts +8 -7
- package/dist/cjs/src/molecules/SelectField/SelectField.d.ts +12 -19
- package/dist/cjs/src/molecules/SelectableInfoCard/BaseSelectable.d.ts +2 -1
- package/dist/cjs/src/molecules/SelectableInfoCard/SelectableCardGroup.d.ts +2 -1
- package/dist/cjs/src/molecules/SelectableInfoCard/styles.d.ts +3 -3
- package/dist/cjs/src/molecules/Tab/Tab.d.ts +23 -0
- package/dist/{esm/src/atoms → cjs/src/molecules}/Tab/styles.d.ts +5 -4
- package/dist/cjs/src/molecules/TabGroup/TabGroup.d.ts +6 -27
- package/dist/cjs/src/molecules/TabGroup/styles.d.ts +4 -27
- package/dist/cjs/src/molecules/TabGroup/useTabAnimation.d.ts +3 -2
- package/dist/cjs/src/molecules/index.d.ts +2 -22
- package/dist/cjs/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +3 -13
- package/dist/cjs/src/organisms/ForgotPasswordForm/ForgotPasswordForm.d.ts +1 -0
- package/dist/cjs/src/organisms/Header/Header.d.ts +18 -14
- package/dist/cjs/src/organisms/Header/mock.d.ts +4 -2
- package/dist/cjs/src/organisms/Header/styles.d.ts +2 -3
- package/dist/cjs/src/organisms/LoginForm/LoginForm.d.ts +4 -7
- package/dist/cjs/src/organisms/SetPasswordForm/SetPasswordForm.d.ts +3 -6
- package/dist/cjs/src/organisms/SetPasswordForm/types.d.ts +5 -1
- package/dist/cjs/src/organisms/SetPasswordForm/utils.d.ts +2 -2
- package/dist/cjs/src/organisms/TwoFactorAuth/TwoFactorAuth.d.ts +1 -0
- package/dist/cjs/src/organisms/TwoFactorAuth/constants.d.ts +1 -1
- package/dist/cjs/src/organisms/index.d.ts +1 -13
- package/dist/cjs/src/pages/AuthPage/AuthDrawerContent.d.ts +11 -0
- package/dist/cjs/src/pages/AuthPage/AuthPage.d.ts +10 -0
- package/dist/cjs/src/pages/index.d.ts +1 -0
- package/dist/cjs/src/templates/DefaultTemplate/DefaultTemplate.d.ts +6 -9
- package/dist/cjs/src/templates/MainTemplate/index.d.ts +1 -0
- package/dist/cjs/src/theme/index.d.ts +0 -2
- package/dist/cjs/src/theme/provider.d.ts +1 -4
- package/dist/cjs/src/theme/types.d.ts +3 -13
- package/dist/cjs/src/typescript.d.ts +0 -14
- package/dist/esm/index.js +38 -54
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/assets/index.d.ts +2 -8
- package/dist/esm/src/atoms/Avatar/Avatar.d.ts +3 -2
- package/dist/esm/src/atoms/Buttons/Button.d.ts +14 -0
- package/dist/esm/src/atoms/Buttons/LinkButton.d.ts +20 -0
- package/dist/esm/src/atoms/Checkbox/Checkbox.d.ts +7 -12
- package/dist/esm/src/atoms/Icon/Icon.d.ts +12 -23
- package/dist/esm/src/atoms/Image/Image.d.ts +8 -0
- package/dist/esm/src/atoms/Input/Input.d.ts +16 -33
- package/dist/esm/src/atoms/Paddings/Paddings.d.ts +3 -3
- package/dist/esm/src/atoms/Select/Select.d.ts +3 -34
- package/dist/esm/src/atoms/Select/styles.d.ts +1 -6
- package/dist/esm/src/atoms/Select/types.d.ts +13 -0
- package/dist/esm/src/atoms/TextWrapper/TextWrapper.d.ts +7 -17
- package/dist/esm/src/atoms/Toast/ToastContent.d.ts +1 -0
- package/dist/esm/src/atoms/Tooltip/Tooltip.d.ts +4 -6
- package/dist/esm/src/atoms/ValidationTag/ValidationTag.d.ts +1 -0
- package/dist/esm/src/atoms/index.d.ts +3 -10
- package/dist/esm/src/fieldsConfiguration/index.d.ts +0 -1
- package/dist/esm/src/fieldsConfiguration/mock.d.ts +1 -8
- package/dist/esm/src/fieldsConfiguration/types.d.ts +11 -14
- package/dist/esm/src/fieldsConfiguration/utils.d.ts +0 -2
- package/dist/esm/src/helpers/styles.d.ts +2 -2
- package/dist/esm/src/hooks/index.d.ts +0 -1
- package/dist/esm/src/icons/Bell.d.ts +1 -0
- package/dist/esm/src/icons/CaretDown.d.ts +2 -1
- package/dist/esm/src/icons/CaretUp.d.ts +1 -0
- package/dist/esm/src/icons/Check.d.ts +3 -2
- package/dist/esm/src/icons/Close.d.ts +3 -2
- package/dist/esm/src/icons/Filter.d.ts +3 -2
- package/dist/esm/src/icons/Hide.d.ts +2 -1
- package/dist/esm/src/icons/Info.d.ts +2 -1
- package/dist/esm/src/icons/InfoBoxIcon.d.ts +1 -0
- package/dist/esm/src/icons/Mail.d.ts +2 -1
- package/dist/esm/src/icons/Minus.d.ts +3 -2
- package/dist/esm/src/icons/Mobile.d.ts +3 -2
- package/dist/esm/src/icons/View.d.ts +3 -2
- package/dist/esm/src/icons/Warning.d.ts +2 -1
- package/dist/esm/src/icons/index.d.ts +0 -9
- package/dist/esm/src/index.d.ts +2 -5
- package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +4 -6
- package/dist/esm/src/molecules/Banner/Banner.d.ts +9 -0
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.d.ts +8 -35
- package/dist/esm/src/molecules/CustomValidation/CustomValidation.d.ts +2 -4
- package/dist/esm/src/molecules/Drawer/Drawer.d.ts +1 -1
- package/dist/esm/src/molecules/Drawer/styles.d.ts +1 -19
- package/dist/esm/src/molecules/FieldLabels/FieldLabels.d.ts +4 -37
- package/dist/esm/src/molecules/FieldMapper/FieldMapper.d.ts +4 -8
- package/dist/esm/src/molecules/InfoBox/InfoBox.d.ts +9 -0
- package/dist/esm/src/molecules/InputField/InputField.d.ts +13 -19
- package/dist/esm/src/molecules/MenuItems/MenuItems.d.ts +8 -7
- package/dist/esm/src/molecules/SelectField/SelectField.d.ts +12 -19
- package/dist/esm/src/molecules/SelectableInfoCard/BaseSelectable.d.ts +2 -1
- package/dist/esm/src/molecules/SelectableInfoCard/SelectableCardGroup.d.ts +2 -1
- package/dist/esm/src/molecules/SelectableInfoCard/styles.d.ts +3 -3
- package/dist/esm/src/molecules/Tab/Tab.d.ts +23 -0
- package/dist/{cjs/src/atoms → esm/src/molecules}/Tab/styles.d.ts +5 -4
- package/dist/esm/src/molecules/TabGroup/TabGroup.d.ts +6 -27
- package/dist/esm/src/molecules/TabGroup/styles.d.ts +4 -27
- package/dist/esm/src/molecules/TabGroup/useTabAnimation.d.ts +3 -2
- package/dist/esm/src/molecules/index.d.ts +2 -22
- package/dist/esm/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +3 -13
- package/dist/esm/src/organisms/ForgotPasswordForm/ForgotPasswordForm.d.ts +1 -0
- package/dist/esm/src/organisms/Header/Header.d.ts +18 -14
- package/dist/esm/src/organisms/Header/mock.d.ts +4 -2
- package/dist/esm/src/organisms/Header/styles.d.ts +2 -3
- package/dist/esm/src/organisms/LoginForm/LoginForm.d.ts +4 -7
- package/dist/esm/src/organisms/SetPasswordForm/SetPasswordForm.d.ts +3 -6
- package/dist/esm/src/organisms/SetPasswordForm/types.d.ts +5 -1
- package/dist/esm/src/organisms/SetPasswordForm/utils.d.ts +2 -2
- package/dist/esm/src/organisms/TwoFactorAuth/TwoFactorAuth.d.ts +1 -0
- package/dist/esm/src/organisms/TwoFactorAuth/constants.d.ts +1 -1
- package/dist/esm/src/organisms/index.d.ts +1 -13
- package/dist/esm/src/pages/AuthPage/AuthDrawerContent.d.ts +11 -0
- package/dist/esm/src/pages/AuthPage/AuthPage.d.ts +10 -0
- package/dist/esm/src/pages/index.d.ts +1 -0
- package/dist/esm/src/templates/DefaultTemplate/DefaultTemplate.d.ts +6 -9
- package/dist/esm/src/templates/MainTemplate/index.d.ts +1 -0
- package/dist/esm/src/theme/index.d.ts +0 -2
- package/dist/esm/src/theme/provider.d.ts +1 -4
- package/dist/esm/src/theme/types.d.ts +3 -13
- package/dist/esm/src/typescript.d.ts +0 -14
- package/dist/index.d.ts +341 -2091
- package/package.json +67 -91
- package/dist/cjs/src/atoms/Avatar/Avatar.stories.d.ts +0 -8
- package/dist/cjs/src/atoms/Buttons/Buttons.stories.d.ts +0 -19
- package/dist/cjs/src/atoms/Buttons/IconButton.d.ts +0 -12
- package/dist/cjs/src/atoms/Buttons/TextButton.d.ts +0 -17
- package/dist/cjs/src/atoms/Checkbox/Checkbox.stories.d.ts +0 -8
- package/dist/cjs/src/atoms/Checkbox/helpers.d.ts +0 -2
- package/dist/cjs/src/atoms/Checkbox/types.d.ts +0 -18
- package/dist/cjs/src/atoms/Circle/Circle.d.ts +0 -8
- package/dist/cjs/src/atoms/Circle/Circle.stories.d.ts +0 -8
- package/dist/cjs/src/atoms/CircularIndicator/CircularIndicator.d.ts +0 -8
- package/dist/cjs/src/atoms/CircularIndicator/CircularIndicator.stories.d.ts +0 -8
- package/dist/cjs/src/atoms/GoogleMap/GoogleMap.d.ts +0 -13
- package/dist/cjs/src/atoms/GoogleMap/GoogleMap.stories.d.ts +0 -12
- package/dist/cjs/src/atoms/HorizontalButtons/HorizontalButtons.d.ts +0 -11
- package/dist/cjs/src/atoms/HorizontalButtons/HorizontalButtons.stories.d.ts +0 -8
- package/dist/cjs/src/atoms/Icon/Icon.stories.d.ts +0 -8
- package/dist/cjs/src/atoms/Input/Input.stories.d.ts +0 -35
- package/dist/cjs/src/atoms/Input/helpers.d.ts +0 -44
- package/dist/cjs/src/atoms/RadioButtons/RadioButtons.d.ts +0 -55
- package/dist/cjs/src/atoms/RadioButtons/RadioButtons.stories.d.ts +0 -30
- package/dist/cjs/src/atoms/RadioButtons/RadioOption.d.ts +0 -11
- package/dist/cjs/src/atoms/RadioButtons/helpers.d.ts +0 -17
- package/dist/cjs/src/atoms/RadioButtons/styles.d.ts +0 -10
- package/dist/cjs/src/atoms/RegularImage/RegularImage.d.ts +0 -29
- package/dist/cjs/src/atoms/RegularImage/RegularImage.stories.d.ts +0 -16
- package/dist/cjs/src/atoms/RichTextViewer/RichTextViewer.d.ts +0 -24
- package/dist/cjs/src/atoms/RichTextViewer/components/EditorElement.d.ts +0 -5
- package/dist/cjs/src/atoms/RichTextViewer/components/Leaf.d.ts +0 -2
- package/dist/cjs/src/atoms/RichTextViewer/components/index.d.ts +0 -2
- package/dist/cjs/src/atoms/RichTextViewer/types.d.ts +0 -36
- package/dist/cjs/src/atoms/Select/Select.stories.d.ts +0 -21
- package/dist/cjs/src/atoms/Tab/Tab.d.ts +0 -56
- package/dist/cjs/src/atoms/Tab/Tab.stories.d.ts +0 -31
- package/dist/cjs/src/atoms/Tab/utils.d.ts +0 -4
- package/dist/cjs/src/atoms/TextWrapper/TextWrapper.stories.d.ts +0 -8
- package/dist/cjs/src/atoms/Toast/Toast.stories.d.ts +0 -9
- package/dist/cjs/src/atoms/Tooltip/Tooltip.stories.d.ts +0 -9
- package/dist/cjs/src/atoms/ValidationTag/ValidationTag.stories.d.ts +0 -8
- package/dist/cjs/src/constants/params.d.ts +0 -8
- package/dist/cjs/src/containers/Container.d.ts +0 -84
- package/dist/cjs/src/containers/Container.stories.d.ts +0 -7
- package/dist/cjs/src/containers/FormContainer.d.ts +0 -8
- package/dist/cjs/src/containers/FormOrganismItem.d.ts +0 -11
- package/dist/cjs/src/containers/FormStepContainer.d.ts +0 -9
- package/dist/cjs/src/containers/MoleculeItem.d.ts +0 -8
- package/dist/cjs/src/containers/OrganismItem.d.ts +0 -14
- package/dist/cjs/src/containers/helpers.d.ts +0 -6
- package/dist/cjs/src/containers/hooks/index.d.ts +0 -3
- package/dist/cjs/src/containers/hooks/useCheckCondition.d.ts +0 -16
- package/dist/cjs/src/containers/hooks/useCheckCondition.test.d.ts +0 -1
- package/dist/cjs/src/containers/hooks/useFormOrganismItem.d.ts +0 -3
- package/dist/cjs/src/containers/hooks/useSetFormData.d.ts +0 -10
- package/dist/cjs/src/containers/hooks/useStateListenerValue.d.ts +0 -18
- package/dist/cjs/src/containers/hooks/useStateModifierHandler.d.ts +0 -7
- package/dist/cjs/src/containers/hooks/useStateViewModifierHandler.d.ts +0 -2
- package/dist/cjs/src/containers/index.d.ts +0 -6
- package/dist/cjs/src/containers/mock-data.d.ts +0 -1153
- package/dist/cjs/src/containers/styles.d.ts +0 -38
- package/dist/cjs/src/containers/types/moleculeTypes.d.ts +0 -345
- package/dist/cjs/src/containers/types/types.d.ts +0 -135
- package/dist/cjs/src/contexts/AccountButtonContext/AccountButtonContext.d.ts +0 -14
- package/dist/cjs/src/contexts/AccountButtonContext/AccountButtonContextProvider.d.ts +0 -9
- package/dist/cjs/src/contexts/ButtonActionsContext/ButtonActionsContext.d.ts +0 -12
- package/dist/cjs/src/contexts/ButtonActionsContext/ButtonActionsContextProvider.d.ts +0 -26
- package/dist/cjs/src/contexts/FormStepContext/FormStepContext.d.ts +0 -13
- package/dist/cjs/src/contexts/FormStepContext/FormStepContextProvider.d.ts +0 -5
- package/dist/cjs/src/contexts/FormStepContext/utils.d.ts +0 -2
- package/dist/cjs/src/contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.d.ts +0 -8
- package/dist/cjs/src/contexts/MlrRichTextViewerContext/MlrRichTextViewerProvider.d.ts +0 -8
- package/dist/cjs/src/contexts/MlrRichTextViewerContext/types.d.ts +0 -15
- package/dist/cjs/src/contexts/OrganismContext/OrganismContext.d.ts +0 -33
- package/dist/cjs/src/contexts/OrganismContext/OrganismContextProvider.d.ts +0 -31
- package/dist/cjs/src/contexts/OrganismContext/utils.d.ts +0 -5
- package/dist/cjs/src/contexts/StateContext/StateContext.d.ts +0 -7
- package/dist/cjs/src/contexts/StateContext/StateContextProvider.d.ts +0 -7
- package/dist/cjs/src/contexts/hooks/index.d.ts +0 -6
- package/dist/cjs/src/contexts/hooks/useAccountButtonContext.d.ts +0 -6
- package/dist/cjs/src/contexts/hooks/useButtonActionsContext.d.ts +0 -1
- package/dist/cjs/src/contexts/hooks/useFormStepContext.d.ts +0 -1
- package/dist/cjs/src/contexts/hooks/useMlrRichTextViewerContext.d.ts +0 -1
- package/dist/cjs/src/contexts/hooks/useOrganismContext.d.ts +0 -1
- package/dist/cjs/src/contexts/hooks/useStateContext.d.ts +0 -1
- package/dist/cjs/src/contexts/index.d.ts +0 -13
- package/dist/cjs/src/helpers/constants.d.ts +0 -6
- package/dist/cjs/src/helpers/date.d.ts +0 -3
- package/dist/cjs/src/helpers/slate.d.ts +0 -2
- package/dist/cjs/src/helpers/utils.d.ts +0 -14
- package/dist/cjs/src/helpers/validations.d.ts +0 -23
- package/dist/cjs/src/hooks/useRequiredConsentsAcceptedValues.d.ts +0 -2
- package/dist/cjs/src/icons/ArrowRight.d.ts +0 -2
- package/dist/cjs/src/icons/Bookmark.d.ts +0 -2
- package/dist/cjs/src/icons/CaretLeft.d.ts +0 -2
- package/dist/cjs/src/icons/CaretRight.d.ts +0 -2
- package/dist/cjs/src/icons/Edit.d.ts +0 -2
- package/dist/cjs/src/icons/Menu.d.ts +0 -2
- package/dist/cjs/src/icons/Play.d.ts +0 -2
- package/dist/cjs/src/icons/Save.d.ts +0 -2
- package/dist/cjs/src/icons/Search.d.ts +0 -2
- package/dist/cjs/src/molecules/Alert/Alert.d.ts +0 -20
- package/dist/cjs/src/molecules/Alert/Alert.stories.d.ts +0 -9
- package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/BottomNavBarItem/BottomNavBarItem.d.ts +0 -11
- package/dist/cjs/src/molecules/BottomNavBarItem/BottomNavBarItem.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/Button/Button.d.ts +0 -47
- package/dist/cjs/src/molecules/Button/Button.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/Caruser/Carousel.d.ts +0 -17
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.stories.d.ts +0 -61
- package/dist/cjs/src/molecules/CheckboxField/CheckboxGroup.d.ts +0 -10
- package/dist/cjs/src/molecules/CheckboxField/CheckboxGroup.stories.d.ts +0 -32
- package/dist/cjs/src/molecules/CheckboxField/styles.d.ts +0 -6
- package/dist/cjs/src/molecules/Checklist/Checklist.d.ts +0 -26
- package/dist/cjs/src/molecules/Checklist/Checklist.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/Columns/Column.d.ts +0 -12
- package/dist/cjs/src/molecules/Columns/ColumnImage.d.ts +0 -5
- package/dist/cjs/src/molecules/Columns/Columns.d.ts +0 -16
- package/dist/cjs/src/molecules/Columns/Columns.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/Columns/styles.d.ts +0 -27
- package/dist/cjs/src/molecules/Columns/types.d.ts +0 -5
- package/dist/cjs/src/molecules/Columns/useAnnotationCircle.d.ts +0 -4
- package/dist/cjs/src/molecules/Consent/Consent.d.ts +0 -27
- package/dist/cjs/src/molecules/Consent/Consent.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/Consent/ConsentCapture.d.ts +0 -20
- package/dist/cjs/src/molecules/Consent/ConsentMolecule.d.ts +0 -11
- package/dist/cjs/src/molecules/Consent/consentMock.d.ts +0 -7
- package/dist/cjs/src/molecules/CustomValidation/CustomValidation.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/Drawer/Drawer.stories.d.ts +0 -9
- package/dist/cjs/src/molecules/EmphasizedText/EmphasizedText.d.ts +0 -6
- package/dist/cjs/src/molecules/EmphasizedText/EmphasizedText.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/FeedContentHeader/FeedContentHeader.d.ts +0 -11
- package/dist/cjs/src/molecules/FeedContentHeader/FeedContentHeader.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/FieldLabels/FieldLabels.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/FieldLabels/helpers.d.ts +0 -8
- package/dist/cjs/src/molecules/FieldSection/FieldSection.d.ts +0 -9
- package/dist/cjs/src/molecules/FieldSection/FieldSection.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/HeroImage/HeroImage.d.ts +0 -17
- package/dist/cjs/src/molecules/HeroImage/HeroImage.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/HorizontalButtonsField/HorizontalButtonsField.d.ts +0 -12
- package/dist/cjs/src/molecules/HorizontalButtonsField/HorizontalButtonsField.stories.d.ts +0 -15
- package/dist/cjs/src/molecules/Image/Image.d.ts +0 -20
- package/dist/cjs/src/molecules/Image/Image.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/InputField/InputField.stories.d.ts +0 -66
- package/dist/cjs/src/molecules/Link/Link.d.ts +0 -13
- package/dist/cjs/src/molecules/Link/Link.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/MenuItems/MenuItem.d.ts +0 -20
- package/dist/cjs/src/molecules/MenuItems/MenuItems.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/MenuNavigation/MenuNavigation.d.ts +0 -11
- package/dist/cjs/src/molecules/MenuNavigation/MenuNavigation.stories.d.ts +0 -9
- package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.d.ts +0 -25
- package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/PdfDocument/PdfDocument.d.ts +0 -14
- package/dist/cjs/src/molecules/PdfDocument/PdfDocument.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.d.ts +0 -74
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +0 -74
- package/dist/cjs/src/molecules/SelectField/SelectField.stories.d.ts +0 -53
- package/dist/cjs/src/molecules/SelectableInfoCard/SelectableInfoCard.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/SettingsSelectionField/SettingsSelectionField.d.ts +0 -9
- package/dist/cjs/src/molecules/SettingsSelectionField/SettingsSelectionField.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/Stepper/Step.d.ts +0 -9
- package/dist/cjs/src/molecules/Stepper/Stepper.d.ts +0 -12
- package/dist/cjs/src/molecules/Stepper/Stepper.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/Stepper/styles.d.ts +0 -21
- package/dist/cjs/src/molecules/TabGroup/TabGroup.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/TextMolecule/TextMolecule.d.ts +0 -20
- package/dist/cjs/src/molecules/TextMolecule/TextMolecule.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/Video/Video.d.ts +0 -22
- package/dist/cjs/src/molecules/Video/Video.stories.d.ts +0 -8
- package/dist/cjs/src/molecules/ZealUIModal/ZealUIModal.d.ts +0 -23
- package/dist/cjs/src/molecules/ZealUIModal/ZealUIModal.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/AccountInformation/AccountInformation.d.ts +0 -10
- package/dist/cjs/src/organisms/AcquisitionForm/AcquisitionForm.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/Body/Body.d.ts +0 -14
- package/dist/cjs/src/organisms/Body/Body.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.d.ts +0 -5
- package/dist/cjs/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/DynamicContentZone/DynamicContentZone.d.ts +0 -23
- package/dist/cjs/src/organisms/DynamicContentZone/DynamicContentZone.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/FeedContent/FeedContent.d.ts +0 -2
- package/dist/cjs/src/organisms/FeedContent/FeedContent.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/FeedContent/components/BackToFeedButton.d.ts +0 -2
- package/dist/cjs/src/organisms/FeedContent/components/ExpandedContent.d.ts +0 -2
- package/dist/cjs/src/organisms/FeedContent/components/FullWidthContentTemplate.d.ts +0 -2
- package/dist/cjs/src/organisms/FeedContent/components/StandardContentTemplate.d.ts +0 -2
- package/dist/cjs/src/organisms/FeedContent/constants.d.ts +0 -2
- package/dist/cjs/src/organisms/FeedContent/styles.d.ts +0 -19
- package/dist/cjs/src/organisms/FeedContent/types.d.ts +0 -35
- package/dist/cjs/src/organisms/FeedContent/useSwitchHandler.d.ts +0 -10
- package/dist/cjs/src/organisms/FeedContentContainer/FeedContentContainer.d.ts +0 -10
- package/dist/cjs/src/organisms/FeedContentContainer/FeedContentContainer.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/FeedContentContainer/mocks.d.ts +0 -48
- package/dist/cjs/src/organisms/Footer/Footer.d.ts +0 -6
- package/dist/cjs/src/organisms/Footer/Footer.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/Footer/FooterA.d.ts +0 -12
- package/dist/cjs/src/organisms/Footer/FooterB.d.ts +0 -10
- package/dist/cjs/src/organisms/Footer/FooterC.d.ts +0 -6
- package/dist/cjs/src/organisms/Footer/FooterD.d.ts +0 -15
- package/dist/cjs/src/organisms/Footer/constants.d.ts +0 -1
- package/dist/cjs/src/organisms/Footer/mocks.d.ts +0 -2
- package/dist/cjs/src/organisms/Footer/shared.d.ts +0 -7
- package/dist/cjs/src/organisms/Footer/styles.d.ts +0 -18
- package/dist/cjs/src/organisms/Footer/types.d.ts +0 -10
- package/dist/cjs/src/organisms/ForgotPasswordForm/ForgotPasswordForm.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/Header/Header.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/Header/HeaderA.d.ts +0 -18
- package/dist/cjs/src/organisms/Header/HeaderB.d.ts +0 -3
- package/dist/cjs/src/organisms/Header/HeaderC.d.ts +0 -3
- package/dist/cjs/src/organisms/Header/HeaderD.d.ts +0 -6
- package/dist/cjs/src/organisms/Header/HeaderMobileNavigation.d.ts +0 -3
- package/dist/cjs/src/organisms/HeroSlider/HeroSlider.d.ts +0 -7
- package/dist/cjs/src/organisms/HeroSlider/HeroSlider.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/ISI/ISI.d.ts +0 -3
- package/dist/cjs/src/organisms/ISI/ISI.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/ISI/ISIA.d.ts +0 -6
- package/dist/cjs/src/organisms/LoginForm/LoginForm.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/ProcessTracker/ProcessTracker.d.ts +0 -21
- package/dist/cjs/src/organisms/ProcessTracker/ProcessTracker.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/ProcessTracker/mocks.d.ts +0 -2
- package/dist/cjs/src/organisms/ProfileInformation/ProfileInformation.d.ts +0 -18
- package/dist/cjs/src/organisms/ProfileInformation/ProfileInformation.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/SetPasswordForm/SetPasswordForm.stories.d.ts +0 -8
- package/dist/cjs/src/organisms/SubscribePanel/SubscribePanel.d.ts +0 -2
- package/dist/cjs/src/organisms/SubscribePanel/SubscribePanel.stories.d.ts +0 -10
- package/dist/cjs/src/organisms/SubscribePanel/SubscribePanelA.d.ts +0 -2
- package/dist/cjs/src/organisms/SubscribePanel/SubscribePanelB.d.ts +0 -2
- package/dist/cjs/src/organisms/SubscribePanel/constants.d.ts +0 -4
- package/dist/cjs/src/organisms/SubscribePanel/organism-data.d.ts +0 -2
- package/dist/cjs/src/organisms/SubscribePanel/styles.d.ts +0 -17
- package/dist/cjs/src/organisms/SubscribePanel/type.d.ts +0 -19
- package/dist/cjs/src/organisms/SubscribePanel/useSubscribeHandler.d.ts +0 -5
- package/dist/cjs/src/organisms/TwoFactorAuth/TwoFactorAuth.stories.d.ts +0 -8
- package/dist/cjs/src/templates/DefaultTemplate/DefaultTemplate.stories.d.ts +0 -8
- package/dist/cjs/src/templates/DefaultTemplate/mockProps.d.ts +0 -5
- package/dist/cjs/src/theme/useMediaQuery.d.ts +0 -2
- package/dist/esm/src/atoms/Avatar/Avatar.stories.d.ts +0 -8
- package/dist/esm/src/atoms/Buttons/Buttons.stories.d.ts +0 -19
- package/dist/esm/src/atoms/Buttons/IconButton.d.ts +0 -12
- package/dist/esm/src/atoms/Buttons/TextButton.d.ts +0 -17
- package/dist/esm/src/atoms/Checkbox/Checkbox.stories.d.ts +0 -8
- package/dist/esm/src/atoms/Checkbox/helpers.d.ts +0 -2
- package/dist/esm/src/atoms/Checkbox/types.d.ts +0 -18
- package/dist/esm/src/atoms/Circle/Circle.d.ts +0 -8
- package/dist/esm/src/atoms/Circle/Circle.stories.d.ts +0 -8
- package/dist/esm/src/atoms/CircularIndicator/CircularIndicator.d.ts +0 -8
- package/dist/esm/src/atoms/CircularIndicator/CircularIndicator.stories.d.ts +0 -8
- package/dist/esm/src/atoms/GoogleMap/GoogleMap.d.ts +0 -13
- package/dist/esm/src/atoms/GoogleMap/GoogleMap.stories.d.ts +0 -12
- package/dist/esm/src/atoms/HorizontalButtons/HorizontalButtons.d.ts +0 -11
- package/dist/esm/src/atoms/HorizontalButtons/HorizontalButtons.stories.d.ts +0 -8
- package/dist/esm/src/atoms/Icon/Icon.stories.d.ts +0 -8
- package/dist/esm/src/atoms/Input/Input.stories.d.ts +0 -35
- package/dist/esm/src/atoms/Input/helpers.d.ts +0 -44
- package/dist/esm/src/atoms/RadioButtons/RadioButtons.d.ts +0 -55
- package/dist/esm/src/atoms/RadioButtons/RadioButtons.stories.d.ts +0 -30
- package/dist/esm/src/atoms/RadioButtons/RadioOption.d.ts +0 -11
- package/dist/esm/src/atoms/RadioButtons/helpers.d.ts +0 -17
- package/dist/esm/src/atoms/RadioButtons/styles.d.ts +0 -10
- package/dist/esm/src/atoms/RegularImage/RegularImage.d.ts +0 -29
- package/dist/esm/src/atoms/RegularImage/RegularImage.stories.d.ts +0 -16
- package/dist/esm/src/atoms/RichTextViewer/RichTextViewer.d.ts +0 -24
- package/dist/esm/src/atoms/RichTextViewer/components/EditorElement.d.ts +0 -5
- package/dist/esm/src/atoms/RichTextViewer/components/Leaf.d.ts +0 -2
- package/dist/esm/src/atoms/RichTextViewer/components/index.d.ts +0 -2
- package/dist/esm/src/atoms/RichTextViewer/types.d.ts +0 -36
- package/dist/esm/src/atoms/Select/Select.stories.d.ts +0 -21
- package/dist/esm/src/atoms/Tab/Tab.d.ts +0 -56
- package/dist/esm/src/atoms/Tab/Tab.stories.d.ts +0 -31
- package/dist/esm/src/atoms/Tab/utils.d.ts +0 -4
- package/dist/esm/src/atoms/TextWrapper/TextWrapper.stories.d.ts +0 -8
- package/dist/esm/src/atoms/Toast/Toast.stories.d.ts +0 -9
- package/dist/esm/src/atoms/Tooltip/Tooltip.stories.d.ts +0 -9
- package/dist/esm/src/atoms/ValidationTag/ValidationTag.stories.d.ts +0 -8
- package/dist/esm/src/constants/params.d.ts +0 -8
- package/dist/esm/src/containers/Container.d.ts +0 -84
- package/dist/esm/src/containers/Container.stories.d.ts +0 -7
- package/dist/esm/src/containers/FormContainer.d.ts +0 -8
- package/dist/esm/src/containers/FormOrganismItem.d.ts +0 -11
- package/dist/esm/src/containers/FormStepContainer.d.ts +0 -9
- package/dist/esm/src/containers/MoleculeItem.d.ts +0 -8
- package/dist/esm/src/containers/OrganismItem.d.ts +0 -14
- package/dist/esm/src/containers/helpers.d.ts +0 -6
- package/dist/esm/src/containers/hooks/index.d.ts +0 -3
- package/dist/esm/src/containers/hooks/useCheckCondition.d.ts +0 -16
- package/dist/esm/src/containers/hooks/useCheckCondition.test.d.ts +0 -1
- package/dist/esm/src/containers/hooks/useFormOrganismItem.d.ts +0 -3
- package/dist/esm/src/containers/hooks/useSetFormData.d.ts +0 -10
- package/dist/esm/src/containers/hooks/useStateListenerValue.d.ts +0 -18
- package/dist/esm/src/containers/hooks/useStateModifierHandler.d.ts +0 -7
- package/dist/esm/src/containers/hooks/useStateViewModifierHandler.d.ts +0 -2
- package/dist/esm/src/containers/index.d.ts +0 -6
- package/dist/esm/src/containers/mock-data.d.ts +0 -1153
- package/dist/esm/src/containers/styles.d.ts +0 -38
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +0 -345
- package/dist/esm/src/containers/types/types.d.ts +0 -135
- package/dist/esm/src/contexts/AccountButtonContext/AccountButtonContext.d.ts +0 -14
- package/dist/esm/src/contexts/AccountButtonContext/AccountButtonContextProvider.d.ts +0 -9
- package/dist/esm/src/contexts/ButtonActionsContext/ButtonActionsContext.d.ts +0 -12
- package/dist/esm/src/contexts/ButtonActionsContext/ButtonActionsContextProvider.d.ts +0 -26
- package/dist/esm/src/contexts/FormStepContext/FormStepContext.d.ts +0 -13
- package/dist/esm/src/contexts/FormStepContext/FormStepContextProvider.d.ts +0 -5
- package/dist/esm/src/contexts/FormStepContext/utils.d.ts +0 -2
- package/dist/esm/src/contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.d.ts +0 -8
- package/dist/esm/src/contexts/MlrRichTextViewerContext/MlrRichTextViewerProvider.d.ts +0 -8
- package/dist/esm/src/contexts/MlrRichTextViewerContext/types.d.ts +0 -15
- package/dist/esm/src/contexts/OrganismContext/OrganismContext.d.ts +0 -33
- package/dist/esm/src/contexts/OrganismContext/OrganismContextProvider.d.ts +0 -31
- package/dist/esm/src/contexts/OrganismContext/utils.d.ts +0 -5
- package/dist/esm/src/contexts/StateContext/StateContext.d.ts +0 -7
- package/dist/esm/src/contexts/StateContext/StateContextProvider.d.ts +0 -7
- package/dist/esm/src/contexts/hooks/index.d.ts +0 -6
- package/dist/esm/src/contexts/hooks/useAccountButtonContext.d.ts +0 -6
- package/dist/esm/src/contexts/hooks/useButtonActionsContext.d.ts +0 -1
- package/dist/esm/src/contexts/hooks/useFormStepContext.d.ts +0 -1
- package/dist/esm/src/contexts/hooks/useMlrRichTextViewerContext.d.ts +0 -1
- package/dist/esm/src/contexts/hooks/useOrganismContext.d.ts +0 -1
- package/dist/esm/src/contexts/hooks/useStateContext.d.ts +0 -1
- package/dist/esm/src/contexts/index.d.ts +0 -13
- package/dist/esm/src/helpers/constants.d.ts +0 -6
- package/dist/esm/src/helpers/date.d.ts +0 -3
- package/dist/esm/src/helpers/slate.d.ts +0 -2
- package/dist/esm/src/helpers/utils.d.ts +0 -14
- package/dist/esm/src/helpers/validations.d.ts +0 -23
- package/dist/esm/src/hooks/useRequiredConsentsAcceptedValues.d.ts +0 -2
- package/dist/esm/src/icons/ArrowRight.d.ts +0 -2
- package/dist/esm/src/icons/Bookmark.d.ts +0 -2
- package/dist/esm/src/icons/CaretLeft.d.ts +0 -2
- package/dist/esm/src/icons/CaretRight.d.ts +0 -2
- package/dist/esm/src/icons/Edit.d.ts +0 -2
- package/dist/esm/src/icons/Menu.d.ts +0 -2
- package/dist/esm/src/icons/Play.d.ts +0 -2
- package/dist/esm/src/icons/Save.d.ts +0 -2
- package/dist/esm/src/icons/Search.d.ts +0 -2
- package/dist/esm/src/molecules/Alert/Alert.d.ts +0 -20
- package/dist/esm/src/molecules/Alert/Alert.stories.d.ts +0 -9
- package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.stories.d.ts +0 -8
- package/dist/esm/src/molecules/BottomNavBarItem/BottomNavBarItem.d.ts +0 -11
- package/dist/esm/src/molecules/BottomNavBarItem/BottomNavBarItem.stories.d.ts +0 -8
- package/dist/esm/src/molecules/Button/Button.d.ts +0 -47
- package/dist/esm/src/molecules/Button/Button.stories.d.ts +0 -8
- package/dist/esm/src/molecules/Caruser/Carousel.d.ts +0 -17
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.stories.d.ts +0 -61
- package/dist/esm/src/molecules/CheckboxField/CheckboxGroup.d.ts +0 -10
- package/dist/esm/src/molecules/CheckboxField/CheckboxGroup.stories.d.ts +0 -32
- package/dist/esm/src/molecules/CheckboxField/styles.d.ts +0 -6
- package/dist/esm/src/molecules/Checklist/Checklist.d.ts +0 -26
- package/dist/esm/src/molecules/Checklist/Checklist.stories.d.ts +0 -8
- package/dist/esm/src/molecules/Columns/Column.d.ts +0 -12
- package/dist/esm/src/molecules/Columns/ColumnImage.d.ts +0 -5
- package/dist/esm/src/molecules/Columns/Columns.d.ts +0 -16
- package/dist/esm/src/molecules/Columns/Columns.stories.d.ts +0 -8
- package/dist/esm/src/molecules/Columns/styles.d.ts +0 -27
- package/dist/esm/src/molecules/Columns/types.d.ts +0 -5
- package/dist/esm/src/molecules/Columns/useAnnotationCircle.d.ts +0 -4
- package/dist/esm/src/molecules/Consent/Consent.d.ts +0 -27
- package/dist/esm/src/molecules/Consent/Consent.stories.d.ts +0 -8
- package/dist/esm/src/molecules/Consent/ConsentCapture.d.ts +0 -20
- package/dist/esm/src/molecules/Consent/ConsentMolecule.d.ts +0 -11
- package/dist/esm/src/molecules/Consent/consentMock.d.ts +0 -7
- package/dist/esm/src/molecules/CustomValidation/CustomValidation.stories.d.ts +0 -8
- package/dist/esm/src/molecules/Drawer/Drawer.stories.d.ts +0 -9
- package/dist/esm/src/molecules/EmphasizedText/EmphasizedText.d.ts +0 -6
- package/dist/esm/src/molecules/EmphasizedText/EmphasizedText.stories.d.ts +0 -8
- package/dist/esm/src/molecules/FeedContentHeader/FeedContentHeader.d.ts +0 -11
- package/dist/esm/src/molecules/FeedContentHeader/FeedContentHeader.stories.d.ts +0 -8
- package/dist/esm/src/molecules/FieldLabels/FieldLabels.stories.d.ts +0 -8
- package/dist/esm/src/molecules/FieldLabels/helpers.d.ts +0 -8
- package/dist/esm/src/molecules/FieldSection/FieldSection.d.ts +0 -9
- package/dist/esm/src/molecules/FieldSection/FieldSection.stories.d.ts +0 -8
- package/dist/esm/src/molecules/HeroImage/HeroImage.d.ts +0 -17
- package/dist/esm/src/molecules/HeroImage/HeroImage.stories.d.ts +0 -8
- package/dist/esm/src/molecules/HorizontalButtonsField/HorizontalButtonsField.d.ts +0 -12
- package/dist/esm/src/molecules/HorizontalButtonsField/HorizontalButtonsField.stories.d.ts +0 -15
- package/dist/esm/src/molecules/Image/Image.d.ts +0 -20
- package/dist/esm/src/molecules/Image/Image.stories.d.ts +0 -8
- package/dist/esm/src/molecules/InputField/InputField.stories.d.ts +0 -66
- package/dist/esm/src/molecules/Link/Link.d.ts +0 -13
- package/dist/esm/src/molecules/Link/Link.stories.d.ts +0 -8
- package/dist/esm/src/molecules/MenuItems/MenuItem.d.ts +0 -20
- package/dist/esm/src/molecules/MenuItems/MenuItems.stories.d.ts +0 -8
- package/dist/esm/src/molecules/MenuNavigation/MenuNavigation.d.ts +0 -11
- package/dist/esm/src/molecules/MenuNavigation/MenuNavigation.stories.d.ts +0 -9
- package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.d.ts +0 -25
- package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +0 -8
- package/dist/esm/src/molecules/PdfDocument/PdfDocument.d.ts +0 -14
- package/dist/esm/src/molecules/PdfDocument/PdfDocument.stories.d.ts +0 -8
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.d.ts +0 -74
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +0 -74
- package/dist/esm/src/molecules/SelectField/SelectField.stories.d.ts +0 -53
- package/dist/esm/src/molecules/SelectableInfoCard/SelectableInfoCard.stories.d.ts +0 -8
- package/dist/esm/src/molecules/SettingsSelectionField/SettingsSelectionField.d.ts +0 -9
- package/dist/esm/src/molecules/SettingsSelectionField/SettingsSelectionField.stories.d.ts +0 -8
- package/dist/esm/src/molecules/Stepper/Step.d.ts +0 -9
- package/dist/esm/src/molecules/Stepper/Stepper.d.ts +0 -12
- package/dist/esm/src/molecules/Stepper/Stepper.stories.d.ts +0 -8
- package/dist/esm/src/molecules/Stepper/styles.d.ts +0 -21
- package/dist/esm/src/molecules/TabGroup/TabGroup.stories.d.ts +0 -8
- package/dist/esm/src/molecules/TextMolecule/TextMolecule.d.ts +0 -20
- package/dist/esm/src/molecules/TextMolecule/TextMolecule.stories.d.ts +0 -8
- package/dist/esm/src/molecules/Video/Video.d.ts +0 -22
- package/dist/esm/src/molecules/Video/Video.stories.d.ts +0 -8
- package/dist/esm/src/molecules/ZealUIModal/ZealUIModal.d.ts +0 -23
- package/dist/esm/src/molecules/ZealUIModal/ZealUIModal.stories.d.ts +0 -8
- package/dist/esm/src/organisms/AccountInformation/AccountInformation.d.ts +0 -10
- package/dist/esm/src/organisms/AcquisitionForm/AcquisitionForm.stories.d.ts +0 -8
- package/dist/esm/src/organisms/Body/Body.d.ts +0 -14
- package/dist/esm/src/organisms/Body/Body.stories.d.ts +0 -8
- package/dist/esm/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.d.ts +0 -5
- package/dist/esm/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.stories.d.ts +0 -8
- package/dist/esm/src/organisms/DynamicContentZone/DynamicContentZone.d.ts +0 -23
- package/dist/esm/src/organisms/DynamicContentZone/DynamicContentZone.stories.d.ts +0 -8
- package/dist/esm/src/organisms/FeedContent/FeedContent.d.ts +0 -2
- package/dist/esm/src/organisms/FeedContent/FeedContent.stories.d.ts +0 -8
- package/dist/esm/src/organisms/FeedContent/components/BackToFeedButton.d.ts +0 -2
- package/dist/esm/src/organisms/FeedContent/components/ExpandedContent.d.ts +0 -2
- package/dist/esm/src/organisms/FeedContent/components/FullWidthContentTemplate.d.ts +0 -2
- package/dist/esm/src/organisms/FeedContent/components/StandardContentTemplate.d.ts +0 -2
- package/dist/esm/src/organisms/FeedContent/constants.d.ts +0 -2
- package/dist/esm/src/organisms/FeedContent/styles.d.ts +0 -19
- package/dist/esm/src/organisms/FeedContent/types.d.ts +0 -35
- package/dist/esm/src/organisms/FeedContent/useSwitchHandler.d.ts +0 -10
- package/dist/esm/src/organisms/FeedContentContainer/FeedContentContainer.d.ts +0 -10
- package/dist/esm/src/organisms/FeedContentContainer/FeedContentContainer.stories.d.ts +0 -8
- package/dist/esm/src/organisms/FeedContentContainer/mocks.d.ts +0 -48
- package/dist/esm/src/organisms/Footer/Footer.d.ts +0 -6
- package/dist/esm/src/organisms/Footer/Footer.stories.d.ts +0 -8
- package/dist/esm/src/organisms/Footer/FooterA.d.ts +0 -12
- package/dist/esm/src/organisms/Footer/FooterB.d.ts +0 -10
- package/dist/esm/src/organisms/Footer/FooterC.d.ts +0 -6
- package/dist/esm/src/organisms/Footer/FooterD.d.ts +0 -15
- package/dist/esm/src/organisms/Footer/constants.d.ts +0 -1
- package/dist/esm/src/organisms/Footer/mocks.d.ts +0 -2
- package/dist/esm/src/organisms/Footer/shared.d.ts +0 -7
- package/dist/esm/src/organisms/Footer/styles.d.ts +0 -18
- package/dist/esm/src/organisms/Footer/types.d.ts +0 -10
- package/dist/esm/src/organisms/ForgotPasswordForm/ForgotPasswordForm.stories.d.ts +0 -8
- package/dist/esm/src/organisms/Header/Header.stories.d.ts +0 -8
- package/dist/esm/src/organisms/Header/HeaderA.d.ts +0 -18
- package/dist/esm/src/organisms/Header/HeaderB.d.ts +0 -3
- package/dist/esm/src/organisms/Header/HeaderC.d.ts +0 -3
- package/dist/esm/src/organisms/Header/HeaderD.d.ts +0 -6
- package/dist/esm/src/organisms/Header/HeaderMobileNavigation.d.ts +0 -3
- package/dist/esm/src/organisms/HeroSlider/HeroSlider.d.ts +0 -7
- package/dist/esm/src/organisms/HeroSlider/HeroSlider.stories.d.ts +0 -8
- package/dist/esm/src/organisms/ISI/ISI.d.ts +0 -3
- package/dist/esm/src/organisms/ISI/ISI.stories.d.ts +0 -8
- package/dist/esm/src/organisms/ISI/ISIA.d.ts +0 -6
- package/dist/esm/src/organisms/LoginForm/LoginForm.stories.d.ts +0 -8
- package/dist/esm/src/organisms/ProcessTracker/ProcessTracker.d.ts +0 -21
- package/dist/esm/src/organisms/ProcessTracker/ProcessTracker.stories.d.ts +0 -8
- package/dist/esm/src/organisms/ProcessTracker/mocks.d.ts +0 -2
- package/dist/esm/src/organisms/ProfileInformation/ProfileInformation.d.ts +0 -18
- package/dist/esm/src/organisms/ProfileInformation/ProfileInformation.stories.d.ts +0 -8
- package/dist/esm/src/organisms/SetPasswordForm/SetPasswordForm.stories.d.ts +0 -8
- package/dist/esm/src/organisms/SubscribePanel/SubscribePanel.d.ts +0 -2
- package/dist/esm/src/organisms/SubscribePanel/SubscribePanel.stories.d.ts +0 -10
- package/dist/esm/src/organisms/SubscribePanel/SubscribePanelA.d.ts +0 -2
- package/dist/esm/src/organisms/SubscribePanel/SubscribePanelB.d.ts +0 -2
- package/dist/esm/src/organisms/SubscribePanel/constants.d.ts +0 -4
- package/dist/esm/src/organisms/SubscribePanel/organism-data.d.ts +0 -2
- package/dist/esm/src/organisms/SubscribePanel/styles.d.ts +0 -17
- package/dist/esm/src/organisms/SubscribePanel/type.d.ts +0 -19
- package/dist/esm/src/organisms/SubscribePanel/useSubscribeHandler.d.ts +0 -5
- package/dist/esm/src/organisms/TwoFactorAuth/TwoFactorAuth.stories.d.ts +0 -8
- package/dist/esm/src/templates/DefaultTemplate/DefaultTemplate.stories.d.ts +0 -8
- package/dist/esm/src/templates/DefaultTemplate/mockProps.d.ts +0 -5
- package/dist/esm/src/theme/useMediaQuery.d.ts +0 -2
- /package/dist/cjs/src/{fieldsConfiguration/shared.d.ts → organisms/ForgotPasswordForm/constants.d.ts} +0 -0
- /package/dist/esm/src/{fieldsConfiguration/shared.d.ts → organisms/ForgotPasswordForm/constants.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,54 +1,31 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { Callback, StylesType } from 'typescript';
|
|
2
3
|
import * as react from 'react';
|
|
3
|
-
import
|
|
4
|
+
import { PropsWithChildren, ReactNode, Dispatch, SetStateAction } from 'react';
|
|
4
5
|
import * as styled_components from 'styled-components';
|
|
5
|
-
import {
|
|
6
|
-
import * as theme from 'theme';
|
|
7
|
-
import { ThemeColors as ThemeColors$1, SizesTypes as SizesTypes$1, FontSizesTypes as FontSizesTypes$2 } from 'theme';
|
|
8
|
-
import * as typescript from 'typescript';
|
|
9
|
-
import { StylesType, AnyObject as AnyObject$1, Callback as Callback$1, Nullable, StrictUnion, OverrideStyles, StyledTransientProps } from 'typescript';
|
|
10
|
-
import { RefCallBack, Control as Control$1, ControllerProps as ControllerProps$1 } from 'react-hook-form/dist/types';
|
|
6
|
+
import { DefaultTheme, CSSProperties } from 'styled-components';
|
|
11
7
|
import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { ThemeColors as ThemeColors$2, FontSizesTypes as FontSizesTypes$1, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
|
|
16
|
-
import * as atoms from 'atoms';
|
|
17
|
-
import { SelectOption as SelectOption$1, LinkVariant as LinkVariant$1, TextProps as TextProps$1, IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, AvatarProps as AvatarProps$1, TabProps as TabProps$1, InputProps as InputProps$1, SelectProps as SelectProps$1, RegularImageProps as RegularImageProps$1, TextButtonProps as TextButtonProps$1, TabTheme as TabTheme$1, RadioButtonsProps as RadioButtonsProps$1, RadioButtonInternalConfigProps as RadioButtonInternalConfigProps$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1 } from 'atoms';
|
|
18
|
-
import { ChecklistItem as ChecklistItem$1, ImageProps as ImageProps$1, TextMoleculeProps as TextMoleculeProps$1, ButtonProps as ButtonProps$1, TabGroupProps as TabGroupProps$1, AdditionalTabContainerProps as AdditionalTabContainerProps$1, InputFieldProps as InputFieldProps$1, SelectFieldProps as SelectFieldProps$1, RadioButtonFieldProps as RadioButtonFieldProps$1, CheckboxFieldProps as CheckboxFieldProps$1, ConsentType as ConsentType$1, LinkProps as LinkProps$1, AvatarDropdownProps as AvatarDropdownProps$1, AvatarDropdownMenuConfigType as AvatarDropdownMenuConfigType$1, FieldSectionProps as FieldSectionProps$1, BaseButtonProps as BaseButtonProps$1, MenuItem, ConsentProps as ConsentProps$1, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1, MenuItemsProps as MenuItemsProps$1 } from 'molecules';
|
|
19
|
-
import * as react_hook_form from 'react-hook-form';
|
|
20
|
-
import { UseFormReturn, ValidationMode, ControllerProps, DeepPartial, FieldValues, FormState, Control } from 'react-hook-form';
|
|
21
|
-
import { CheckboxInternalConfigProps as CheckboxInternalConfigProps$1 } from 'atoms/Checkbox/types';
|
|
22
|
-
import { MaskConfig as MaskConfig$1 } from 'atoms/Input/helpers';
|
|
8
|
+
import { InputFieldTypes as InputFieldTypes$1 } from 'fieldsConfiguration/types';
|
|
9
|
+
import { SizesTypes as SizesTypes$1, ThemeColors as ThemeColors$1 } from 'theme/types';
|
|
10
|
+
import { SizesTypes as SizesTypes$2, ThemeColors as ThemeColors$2 } from 'theme';
|
|
23
11
|
import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
import { AlertProps as AlertProps$2 } from 'molecules/Alert/Alert';
|
|
42
|
-
import { PasswordFields, PasswordRuleValidation } from 'molecules/PasswordSetup/PasswordSetup';
|
|
43
|
-
import { LoginFields as LoginFields$1 } from 'organisms/LoginForm/types';
|
|
44
|
-
import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewerContext/types';
|
|
45
|
-
import * as contexts_MlrRichTextViewerContext_MlrRichTextViewerContext from 'contexts/MlrRichTextViewerContext/MlrRichTextViewerContext';
|
|
46
|
-
import * as contexts_ButtonActionsContext_ButtonActionsContext from 'contexts/ButtonActionsContext/ButtonActionsContext';
|
|
47
|
-
export * from 'helpers/constants';
|
|
48
|
-
import { CustomDescendant } from 'atoms/RichTextViewer/types';
|
|
49
|
-
import { ConsentCaptureProps } from 'molecules/Consent/ConsentCapture';
|
|
50
|
-
import * as containers_types_types from 'containers/types/types';
|
|
51
|
-
import { ContainerProps as ContainerProps$1, ContainerComponentProps as ContainerComponentProps$2 } from 'containers/types/types';
|
|
12
|
+
import { Control } from 'react-hook-form/dist/types';
|
|
13
|
+
import { SelectOption as SelectOption$1 } from 'atoms/Select/types';
|
|
14
|
+
import { DrawerProps as DrawerProps$1 } from '@mui/material';
|
|
15
|
+
import { SetPasswordFields, SetPasswordRuleValidation } from 'organisms/SetPasswordForm/types';
|
|
16
|
+
|
|
17
|
+
declare type BaseButtonProps = {
|
|
18
|
+
onClick?: Callback;
|
|
19
|
+
variant?: 'primary' | 'secondary';
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
fullWidth?: boolean;
|
|
22
|
+
};
|
|
23
|
+
declare type ButtonProps = BaseButtonProps & {
|
|
24
|
+
fullWidth?: boolean;
|
|
25
|
+
text?: string;
|
|
26
|
+
loading?: boolean;
|
|
27
|
+
};
|
|
28
|
+
declare const Button: ({ text, onClick, loading, disabled, variant, fullWidth, }: ButtonProps) => JSX.Element;
|
|
52
29
|
|
|
53
30
|
declare type TouchableOpacityProps = PropsWithChildren<{
|
|
54
31
|
activeOpacity?: number;
|
|
@@ -63,1691 +40,263 @@ declare const TouchableOpacity: styled_components.StyledComponent<"div", styled_
|
|
|
63
40
|
children?: react.ReactNode;
|
|
64
41
|
}, never>;
|
|
65
42
|
|
|
66
|
-
declare type
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
buttonPadding: number;
|
|
70
|
-
textPadding: number;
|
|
71
|
-
styles: StylesType;
|
|
72
|
-
wrapperStyles: StylesType;
|
|
73
|
-
buttonOptionSpacing?: SizesTypes$1;
|
|
74
|
-
}>;
|
|
75
|
-
|
|
76
|
-
declare type CheckboxProps = {
|
|
77
|
-
id: string;
|
|
78
|
-
onClick: (id: string) => void;
|
|
79
|
-
label: string;
|
|
80
|
-
isError?: boolean;
|
|
43
|
+
declare type CheckBoxProps = {
|
|
44
|
+
value: boolean;
|
|
45
|
+
onClick: (value: boolean) => void;
|
|
81
46
|
disabled?: boolean;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
isRichText?: boolean;
|
|
85
|
-
notInteractable?: boolean;
|
|
86
|
-
internalConfig?: CheckboxInternalConfigProps;
|
|
47
|
+
error?: boolean;
|
|
48
|
+
label?: string;
|
|
87
49
|
};
|
|
88
|
-
declare const Checkbox: ({
|
|
50
|
+
declare const Checkbox: ({ label, onClick, value, disabled, error }: CheckBoxProps) => JSX.Element;
|
|
89
51
|
|
|
90
52
|
declare type SelectOption = {
|
|
91
53
|
id: string;
|
|
92
54
|
label: string;
|
|
93
|
-
value?: string;
|
|
94
|
-
config?: AnyObject$1;
|
|
95
|
-
};
|
|
96
|
-
declare type SelectInternalConfigurationOptions = {
|
|
97
|
-
placeholderTextColor: ThemeColors$1 | string;
|
|
98
|
-
placeholderTextFontSize: number;
|
|
99
|
-
selectedTextColor: ThemeColors$1 | string;
|
|
100
|
-
selectedTextFontSize: number;
|
|
101
|
-
verticalPadding: number;
|
|
102
|
-
horizontalPadding: number;
|
|
103
|
-
wrapperStyles: StylesType;
|
|
104
|
-
styles: StylesType;
|
|
105
|
-
};
|
|
106
|
-
declare type SelectProps = Partial<{
|
|
107
|
-
ref: RefCallBack;
|
|
108
|
-
onBlur: Callback$1;
|
|
109
|
-
value: string;
|
|
110
|
-
optionsPresentation: boolean;
|
|
111
|
-
onChange: (value: string) => void;
|
|
112
|
-
placeholder: string;
|
|
113
|
-
disabled: boolean;
|
|
114
|
-
options: SelectOption[];
|
|
115
|
-
isError: boolean;
|
|
116
|
-
isEditMode: boolean;
|
|
117
|
-
selectInternalConfig: SelectInternalConfigurationOptions;
|
|
118
|
-
isRichText: boolean;
|
|
119
|
-
}>;
|
|
120
|
-
declare const Select: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, isEditMode, selectInternalConfig, isRichText, }: SelectProps) => JSX.Element;
|
|
121
|
-
|
|
122
|
-
declare const Container: ({ id, type, wide, props, compact, children, metadata, isMobile, }: {
|
|
123
|
-
type: containers.ContainerType;
|
|
124
|
-
metadata: containers.MetadataType;
|
|
125
|
-
} & Partial<{
|
|
126
|
-
containerTemplateType: "row_content_container";
|
|
127
|
-
wide: Partial<{
|
|
128
|
-
containerStyle: styled_components.CSSProperties;
|
|
129
|
-
containerProps: Partial<{
|
|
130
|
-
position: containers.ContainerPositionType;
|
|
131
|
-
alignItems: containers.ContainerAlignItemsType;
|
|
132
|
-
scrollBehaviour: containers.ContainerScrollBehaviourType;
|
|
133
|
-
cornerRadius: number | theme.SizesTypes;
|
|
134
|
-
gap: theme.SizesTypes;
|
|
135
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
136
|
-
paddingTop: theme.SizesTypes;
|
|
137
|
-
paddingBottom: theme.SizesTypes;
|
|
138
|
-
paddingLeft: theme.SizesTypes;
|
|
139
|
-
paddingRight: theme.SizesTypes;
|
|
140
|
-
autoplay: boolean;
|
|
141
|
-
autoplayDuration: number;
|
|
142
|
-
formProps: containers.FormContainerProps;
|
|
143
|
-
formStepProps: containers.FormStepContainerProps;
|
|
144
|
-
border: string;
|
|
145
|
-
activeChildrenIds: string[];
|
|
146
|
-
activeOrganismIds: string[];
|
|
147
|
-
padding: containers.Padding;
|
|
148
|
-
}>;
|
|
149
|
-
}>;
|
|
150
|
-
compact: Partial<{
|
|
151
|
-
containerStyle: styled_components.CSSProperties;
|
|
152
|
-
containerProps: Partial<{
|
|
153
|
-
position: containers.ContainerPositionType;
|
|
154
|
-
alignItems: containers.ContainerAlignItemsType;
|
|
155
|
-
scrollBehaviour: containers.ContainerScrollBehaviourType;
|
|
156
|
-
cornerRadius: number | theme.SizesTypes;
|
|
157
|
-
gap: theme.SizesTypes;
|
|
158
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
159
|
-
paddingTop: theme.SizesTypes;
|
|
160
|
-
paddingBottom: theme.SizesTypes;
|
|
161
|
-
paddingLeft: theme.SizesTypes;
|
|
162
|
-
paddingRight: theme.SizesTypes;
|
|
163
|
-
autoplay: boolean;
|
|
164
|
-
autoplayDuration: number;
|
|
165
|
-
formProps: containers.FormContainerProps;
|
|
166
|
-
formStepProps: containers.FormStepContainerProps;
|
|
167
|
-
border: string;
|
|
168
|
-
activeChildrenIds: string[];
|
|
169
|
-
activeOrganismIds: string[];
|
|
170
|
-
padding: containers.Padding;
|
|
171
|
-
}>;
|
|
172
|
-
}>;
|
|
173
|
-
props: Partial<{
|
|
174
|
-
position: containers.ContainerPositionType;
|
|
175
|
-
alignItems: containers.ContainerAlignItemsType;
|
|
176
|
-
scrollBehaviour: containers.ContainerScrollBehaviourType;
|
|
177
|
-
cornerRadius: number | theme.SizesTypes;
|
|
178
|
-
gap: theme.SizesTypes;
|
|
179
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
180
|
-
paddingTop: theme.SizesTypes;
|
|
181
|
-
paddingBottom: theme.SizesTypes;
|
|
182
|
-
paddingLeft: theme.SizesTypes;
|
|
183
|
-
paddingRight: theme.SizesTypes;
|
|
184
|
-
autoplay: boolean;
|
|
185
|
-
autoplayDuration: number;
|
|
186
|
-
formProps: containers.FormContainerProps;
|
|
187
|
-
formStepProps: containers.FormStepContainerProps;
|
|
188
|
-
border: string;
|
|
189
|
-
activeChildrenIds: string[];
|
|
190
|
-
activeOrganismIds: string[];
|
|
191
|
-
padding: containers.Padding;
|
|
192
|
-
}>;
|
|
193
|
-
isMobile: boolean;
|
|
194
|
-
}> & {
|
|
195
|
-
children?: ReactNode;
|
|
196
|
-
} & {
|
|
197
|
-
id: string;
|
|
198
|
-
}) => JSX.Element | null;
|
|
199
|
-
declare const ContainerComponent: ({ config, tabsProps, id, type, items, metadata, formData, setFormData, isMobile, isConfigurationMode, }: ContainerComponentProps$1 & {
|
|
200
|
-
formData?: AnyObject$1 | undefined;
|
|
201
|
-
setFormData?: Dispatch<SetStateAction<AnyObject$1>> | undefined;
|
|
202
|
-
}) => JSX.Element | null;
|
|
203
|
-
|
|
204
|
-
declare type ActionTypes = 'link' | 'popup' | 'drawer' | 'download' | 'submit' | 'reset' | 'destroy';
|
|
205
|
-
declare type DataModelFieldFormatCodeTypes = 'date' | 'email' | 'string' | 'integer' | 'boolean' | 'numeric' | 'zip_code' | 'phone_number';
|
|
206
|
-
declare type DataModelFieldFormatValueTypes = 'any' | 'text' | 'email' | 'integer' | 'numerical' | 'us_zip_code' | 'phone_number' | 'month_year_date' | 'day_month_year_date' | 'month_day_year_date' | 'year_month_day_date';
|
|
207
|
-
declare type DownloadFile = {
|
|
208
|
-
url: string;
|
|
209
|
-
name: string;
|
|
210
|
-
};
|
|
211
|
-
declare type LinkAction = LinkAttributes;
|
|
212
|
-
declare type PopupDrawerAction = ContainerComponentProps;
|
|
213
|
-
declare type DownloadAction = DownloadFile;
|
|
214
|
-
declare type SubmitAction = AnyObject$1;
|
|
215
|
-
declare type CancelAction = AnyObject$1;
|
|
216
|
-
declare type ResetAction = AnyObject$1;
|
|
217
|
-
declare type DestroyAction = AnyObject$1;
|
|
218
|
-
declare type Action = {
|
|
219
|
-
type: ActionTypes;
|
|
220
|
-
} & Partial<{
|
|
221
|
-
link: LinkAction;
|
|
222
|
-
popup: PopupDrawerAction;
|
|
223
|
-
drawer: PopupDrawerAction;
|
|
224
|
-
download: DownloadAction;
|
|
225
|
-
submit: SubmitAction;
|
|
226
|
-
cancel: CancelAction;
|
|
227
|
-
reset: ResetAction;
|
|
228
|
-
destroy: DestroyAction;
|
|
229
|
-
}>;
|
|
230
|
-
declare type FormStateType = 'default' | 'success' | 'error' | 'format_error' | 'field_error' | 'open_dropdown' | 'match_error';
|
|
231
|
-
declare type ProcessTrackerStatus = 'complete' | 'incomplete' | 'in_progress';
|
|
232
|
-
declare type OrientationType = 'horizontal' | 'vertical';
|
|
233
|
-
declare type OrientationTypeLabel = 'Horizontal' | 'Vertical';
|
|
234
|
-
declare type ProcessStep = {
|
|
235
|
-
id: string;
|
|
236
|
-
title: Partial<TextAttributes>;
|
|
237
|
-
description?: Partial<TextAttributes>;
|
|
238
|
-
status?: ProcessTrackerStatus;
|
|
239
|
-
link?: Partial<LinkAttributes>;
|
|
240
|
-
order: number;
|
|
241
|
-
};
|
|
242
|
-
declare type ImageAttributes = {
|
|
243
|
-
attributeType: 'image';
|
|
244
|
-
imageSource: string;
|
|
245
|
-
};
|
|
246
|
-
interface TextAttributes {
|
|
247
|
-
id?: string;
|
|
248
|
-
attributeType: 'text';
|
|
249
|
-
isRichText?: boolean;
|
|
250
|
-
text: string;
|
|
251
|
-
}
|
|
252
|
-
interface VideoAttributes {
|
|
253
|
-
attributeType: 'video';
|
|
254
|
-
videoSource: string;
|
|
255
|
-
}
|
|
256
|
-
interface ActionAttributes {
|
|
257
|
-
attributeType: 'action';
|
|
258
|
-
action: Action;
|
|
259
|
-
}
|
|
260
|
-
interface LinkAttributes {
|
|
261
|
-
id: string;
|
|
262
|
-
attributeType: 'link';
|
|
263
|
-
type: 'internalLink' | 'externalLink' | 'external_link' | 'internal_link';
|
|
264
|
-
internalLink: Nullable<string>;
|
|
265
|
-
externalLink: Nullable<string>;
|
|
266
|
-
name: string;
|
|
267
|
-
}
|
|
268
|
-
interface SelectAttributes {
|
|
269
|
-
id?: string;
|
|
270
|
-
attributeType: 'select';
|
|
271
|
-
value: string;
|
|
272
|
-
options: SelectOption$1[];
|
|
273
|
-
}
|
|
274
|
-
interface BooleanAttributes {
|
|
275
|
-
attributeType: 'boolean';
|
|
276
|
-
value: boolean;
|
|
277
|
-
}
|
|
278
|
-
interface IterableAttributes {
|
|
279
|
-
attributeType: 'iterable';
|
|
280
|
-
options: SelectOption$1[];
|
|
281
|
-
}
|
|
282
|
-
declare type DataModelFieldFormat = {
|
|
283
|
-
id: string;
|
|
284
|
-
label: string;
|
|
285
|
-
value: DataModelFieldFormatValueTypes;
|
|
286
|
-
code: DataModelFieldFormatCodeTypes;
|
|
287
|
-
config: MaskConfig$1;
|
|
288
|
-
};
|
|
289
|
-
declare type DataConnectionValues = {
|
|
290
|
-
dataFieldName: string;
|
|
291
|
-
dataModelFieldId: string;
|
|
292
|
-
defaultValue?: string;
|
|
293
|
-
entitySubtypeId?: string;
|
|
294
|
-
entitySubtypeName?: string;
|
|
295
|
-
format: DataModelFieldFormat;
|
|
296
55
|
};
|
|
297
|
-
|
|
298
|
-
id: string;
|
|
299
|
-
attributeType: 'data_model_field';
|
|
300
|
-
dataModelField: DataConnectionValues;
|
|
301
|
-
}
|
|
302
|
-
interface ConditionConfigAttributes {
|
|
303
|
-
id: string;
|
|
304
|
-
attributeType: 'condition_config';
|
|
305
|
-
conditionConfig: ConditionConfig;
|
|
306
|
-
}
|
|
307
|
-
interface ColorAttributes {
|
|
308
|
-
attributeType: 'color';
|
|
309
|
-
color: string;
|
|
310
|
-
}
|
|
311
|
-
interface ProcessStepsAttributes {
|
|
312
|
-
orientation: {
|
|
313
|
-
attributeType: 'select';
|
|
314
|
-
options: {
|
|
315
|
-
id: OrientationType;
|
|
316
|
-
label: OrientationTypeLabel;
|
|
317
|
-
}[];
|
|
318
|
-
value: OrientationType;
|
|
319
|
-
};
|
|
320
|
-
processSteps: {
|
|
321
|
-
attributeType: 'process_steps';
|
|
322
|
-
steps: ProcessStep[];
|
|
323
|
-
};
|
|
324
|
-
}
|
|
325
|
-
interface ChecklistAttributes {
|
|
326
|
-
checklist: {
|
|
327
|
-
attributeType: 'checklist';
|
|
328
|
-
items: ChecklistItem$1[];
|
|
329
|
-
};
|
|
330
|
-
}
|
|
331
|
-
declare type MoleculeTypes = 'image' | 'text' | 'button' | 'video' | 'header_tab_group' | 'input_field' | 'select_field' | 'radio_button_field' | 'checkbox_field' | 'consent' | 'link' | 'password_setup_field' | 'account_button' | 'process_steps' | 'checklist';
|
|
332
|
-
interface BaseMolecule {
|
|
333
|
-
id: string;
|
|
334
|
-
type: MoleculeTypes;
|
|
335
|
-
instance: 'molecule';
|
|
336
|
-
metadata: MetadataType;
|
|
337
|
-
moleculeLibraryId: string;
|
|
338
|
-
organismLibraryMoleculeId: string;
|
|
339
|
-
}
|
|
340
|
-
interface ImageMolecule extends BaseMolecule {
|
|
341
|
-
type: 'image';
|
|
342
|
-
attributes: Partial<{
|
|
343
|
-
image: ImageAttributes;
|
|
344
|
-
altText: Omit<TextAttributes, 'isRichText'>;
|
|
345
|
-
link: LinkAttributes;
|
|
346
|
-
}>;
|
|
347
|
-
config: {
|
|
348
|
-
props?: Omit<ImageProps$1, 'src' | 'link' | 'altText'>;
|
|
349
|
-
};
|
|
350
|
-
}
|
|
351
|
-
interface TextMoleculeType extends BaseMolecule {
|
|
352
|
-
type: 'text';
|
|
353
|
-
attributes: Partial<{
|
|
354
|
-
text: TextAttributes;
|
|
355
|
-
seoStyle: SelectAttributes;
|
|
356
|
-
fontVariant: SelectAttributes;
|
|
357
|
-
color: ColorAttributes;
|
|
358
|
-
}>;
|
|
359
|
-
config: {
|
|
360
|
-
props?: TextMoleculeProps$1;
|
|
361
|
-
};
|
|
362
|
-
}
|
|
363
|
-
interface ButtonMolecule extends BaseMolecule {
|
|
364
|
-
type: 'button';
|
|
365
|
-
attributes: Partial<{
|
|
366
|
-
title: TextAttributes;
|
|
367
|
-
action: ActionAttributes;
|
|
368
|
-
}>;
|
|
369
|
-
config: {
|
|
370
|
-
props?: Partial<Omit<ButtonProps$1, 'disabled' | 'children' | 'link' | 'text' | 'onClick' | 'elementId'>>;
|
|
371
|
-
};
|
|
372
|
-
}
|
|
373
|
-
interface VideoMolecule extends BaseMolecule {
|
|
374
|
-
type: 'video';
|
|
375
|
-
attributes: Partial<{
|
|
376
|
-
video: VideoAttributes;
|
|
377
|
-
altText: Omit<TextAttributes, 'isRichText'>;
|
|
378
|
-
autoPlayVideo: BooleanAttributes;
|
|
379
|
-
enableCoverImage: BooleanAttributes;
|
|
380
|
-
coverImage: ImageAttributes;
|
|
381
|
-
}>;
|
|
382
|
-
config: {
|
|
383
|
-
props: Partial<{
|
|
384
|
-
width: number;
|
|
385
|
-
styles: StylesType;
|
|
386
|
-
}>;
|
|
387
|
-
};
|
|
388
|
-
}
|
|
389
|
-
interface TabGroupMolecule extends BaseMolecule {
|
|
390
|
-
type: 'header_tab_group';
|
|
391
|
-
attributes: Partial<{
|
|
392
|
-
tabs: {
|
|
393
|
-
tabKey: string;
|
|
394
|
-
text: string;
|
|
395
|
-
disabled: boolean;
|
|
396
|
-
divider: boolean;
|
|
397
|
-
}[];
|
|
398
|
-
activeTabKey: string;
|
|
399
|
-
attributeType: 'tab_group';
|
|
400
|
-
}>;
|
|
401
|
-
config: {
|
|
402
|
-
props: TabGroupProps$1;
|
|
403
|
-
wide: AdditionalTabContainerProps$1;
|
|
404
|
-
compact: AdditionalTabContainerProps$1;
|
|
405
|
-
};
|
|
406
|
-
}
|
|
407
|
-
interface TextInputMolecule extends BaseMolecule {
|
|
408
|
-
type: 'input_field';
|
|
409
|
-
attributes: Partial<{
|
|
410
|
-
label: TextAttributes;
|
|
411
|
-
required: BooleanAttributes;
|
|
412
|
-
dataModelField: DataConnectionAttributes;
|
|
413
|
-
conditionConfig: ConditionConfigAttributes;
|
|
414
|
-
}>;
|
|
415
|
-
config: {
|
|
416
|
-
props: InputFieldProps$1;
|
|
417
|
-
};
|
|
418
|
-
}
|
|
419
|
-
interface SelectFieldMolecule extends BaseMolecule {
|
|
420
|
-
type: 'select_field';
|
|
421
|
-
attributes: Partial<{
|
|
422
|
-
label: TextAttributes;
|
|
423
|
-
required: BooleanAttributes;
|
|
424
|
-
options: IterableAttributes;
|
|
425
|
-
dataModelField: DataConnectionAttributes;
|
|
426
|
-
conditionConfig: ConditionConfigAttributes;
|
|
427
|
-
}>;
|
|
428
|
-
config: {
|
|
429
|
-
props: SelectFieldProps$1;
|
|
430
|
-
};
|
|
431
|
-
}
|
|
432
|
-
interface RadioButtonFieldMolecule extends BaseMolecule {
|
|
433
|
-
type: 'radio_button_field';
|
|
434
|
-
attributes: Partial<{
|
|
435
|
-
label: TextAttributes;
|
|
436
|
-
required: BooleanAttributes;
|
|
437
|
-
options: IterableAttributes;
|
|
438
|
-
dataModelField: DataConnectionAttributes;
|
|
439
|
-
conditionConfig: ConditionConfigAttributes;
|
|
440
|
-
}>;
|
|
441
|
-
config: {
|
|
442
|
-
props: RadioButtonFieldProps$1<string>;
|
|
443
|
-
};
|
|
444
|
-
}
|
|
445
|
-
interface CheckboxFieldMolecule extends BaseMolecule {
|
|
446
|
-
type: 'checkbox_field';
|
|
447
|
-
attributes: Partial<{
|
|
448
|
-
label: TextAttributes;
|
|
449
|
-
required: BooleanAttributes;
|
|
450
|
-
options: IterableAttributes;
|
|
451
|
-
dataModelField: DataConnectionAttributes;
|
|
452
|
-
conditionConfig: ConditionConfigAttributes;
|
|
453
|
-
}>;
|
|
454
|
-
config: {
|
|
455
|
-
props: CheckboxFieldProps$1;
|
|
456
|
-
};
|
|
457
|
-
}
|
|
458
|
-
interface ConsentFieldMolecule extends BaseMolecule {
|
|
459
|
-
type: 'consent';
|
|
460
|
-
attributes: Partial<{
|
|
461
|
-
consent: Partial<{
|
|
462
|
-
attributeType: 'consent';
|
|
463
|
-
consent: ConsentType$1;
|
|
464
|
-
required: BooleanAttributes;
|
|
465
|
-
}>;
|
|
466
|
-
conditionConfig: ConditionConfigAttributes;
|
|
467
|
-
}>;
|
|
468
|
-
config: {
|
|
469
|
-
props: Partial<{
|
|
470
|
-
state: 'field_error';
|
|
471
|
-
}>;
|
|
472
|
-
};
|
|
473
|
-
}
|
|
474
|
-
interface LinkMolecule extends BaseMolecule {
|
|
475
|
-
type: 'link';
|
|
476
|
-
attributes: {
|
|
477
|
-
text: TextAttributes;
|
|
478
|
-
link: LinkAttributes;
|
|
479
|
-
};
|
|
480
|
-
config: {
|
|
481
|
-
props: Omit<LinkProps$1, '$variant' | '$styles'> & Partial<{
|
|
482
|
-
variant: LinkVariant$1;
|
|
483
|
-
styles: StylesType;
|
|
484
|
-
}>;
|
|
485
|
-
};
|
|
486
|
-
}
|
|
487
|
-
interface PasswordSetupMolecule extends BaseMolecule {
|
|
488
|
-
type: 'password_setup_field';
|
|
489
|
-
attributes: Partial<{
|
|
490
|
-
passwordFieldLabel: TextAttributes;
|
|
491
|
-
reenteredPasswordFieldLabel: TextAttributes;
|
|
492
|
-
passwordFieldRequired: BooleanAttributes;
|
|
493
|
-
reenteredPasswordFieldRequired: BooleanAttributes;
|
|
494
|
-
dataModelField: DataConnectionAttributes;
|
|
495
|
-
}>;
|
|
496
|
-
config: {
|
|
497
|
-
props: {
|
|
498
|
-
validationLabel?: string;
|
|
499
|
-
state?: FormStateType;
|
|
500
|
-
passwordInputProps: InputFieldProps$1;
|
|
501
|
-
reenteredPasswordInputProps: InputFieldProps$1;
|
|
502
|
-
};
|
|
503
|
-
};
|
|
504
|
-
}
|
|
505
|
-
interface AccountButtonMolecule extends BaseMolecule {
|
|
506
|
-
type: 'account_button';
|
|
507
|
-
config: {
|
|
508
|
-
props: AvatarDropdownProps$1<AvatarDropdownMenuConfigType$1>;
|
|
509
|
-
};
|
|
510
|
-
}
|
|
511
|
-
interface ProcessStepsMoleculeType extends BaseMolecule {
|
|
512
|
-
type: 'process_steps';
|
|
513
|
-
organismMoleculeLibraryId: string;
|
|
514
|
-
attributes: ProcessStepsAttributes;
|
|
515
|
-
}
|
|
516
|
-
interface ChecklistsMolecule extends BaseMolecule {
|
|
517
|
-
type: 'checklist';
|
|
518
|
-
config: {
|
|
519
|
-
props: {
|
|
520
|
-
gap: SizesTypes$1;
|
|
521
|
-
} & CheckboxInternalConfigProps$1;
|
|
522
|
-
};
|
|
523
|
-
attributes: ChecklistAttributes;
|
|
524
|
-
}
|
|
525
|
-
declare type Molecule = StrictUnion<ImageMolecule | TextMoleculeType | ButtonMolecule | VideoMolecule | TabGroupMolecule | TextInputMolecule | SelectFieldMolecule | RadioButtonFieldMolecule | CheckboxFieldMolecule | ConsentFieldMolecule | LinkMolecule | PasswordSetupMolecule | AccountButtonMolecule | ProcessStepsMoleculeType | ChecklistsMolecule> & Partial<{
|
|
526
|
-
form: UseFormReturn<any>;
|
|
527
|
-
formData: AnyObject$1;
|
|
528
|
-
setFormData: Dispatch<SetStateAction<AnyObject$1>>;
|
|
529
|
-
}>;
|
|
530
|
-
declare type SlateValueChildType = {
|
|
531
|
-
id: string;
|
|
532
|
-
text: string;
|
|
533
|
-
variable?: {
|
|
534
|
-
dataModelField: DataConnectionValues;
|
|
535
|
-
text: string;
|
|
536
|
-
isStateConfigPresent?: boolean;
|
|
537
|
-
};
|
|
538
|
-
};
|
|
539
|
-
|
|
540
|
-
declare type ContainerType = 'row' | 'column' | 'slider' | 'form' | 'form_step' | 'dynamic';
|
|
541
|
-
declare type ContainerTemplateType = 'row_content_container';
|
|
542
|
-
declare type WrappedContainerType = Extract<ContainerType, 'slider' | 'form' | 'form_step'>;
|
|
543
|
-
declare type ContainerPositionType = 'fixed' | 'sticky' | 'static' | 'relative';
|
|
544
|
-
declare type ContainerAlignItemsType = 'start' | 'center' | 'end' | 'stretch';
|
|
545
|
-
declare type ContainerScrollBehaviourType = 'vertical' | 'horizontal' | 'auto' | 'none';
|
|
546
|
-
declare type StateActionType = 'visible' | 'disabled';
|
|
547
|
-
declare type StateEventType = 'click' | 'view';
|
|
548
|
-
declare type StateListenerConfigType = {
|
|
549
|
-
role: 'stateListener';
|
|
550
|
-
stateKey: string;
|
|
551
|
-
stateValue: string | boolean;
|
|
552
|
-
defaultState: Partial<Record<StateActionType, boolean>>;
|
|
553
|
-
action: Partial<Record<StateActionType, boolean>>;
|
|
554
|
-
};
|
|
555
|
-
declare type StateModifierConfigType = {
|
|
556
|
-
role: 'stateModifier';
|
|
557
|
-
stateKey: string;
|
|
558
|
-
event: StateEventType;
|
|
559
|
-
};
|
|
560
|
-
declare type MetadataStateConfig = StateListenerConfigType | StateModifierConfigType;
|
|
561
|
-
declare type MetadataType = AnyObject$1 & Partial<{
|
|
562
|
-
stateConfig: MetadataStateConfig[];
|
|
563
|
-
referenceName: string;
|
|
564
|
-
isAction: boolean;
|
|
565
|
-
isTrigger: boolean;
|
|
566
|
-
notEditable: boolean;
|
|
567
|
-
hasOwnButton: boolean;
|
|
568
|
-
stateListenerId: string;
|
|
569
|
-
configurationPath: string;
|
|
570
|
-
}>;
|
|
571
|
-
declare type SliderProps = {
|
|
572
|
-
autoplay?: boolean;
|
|
573
|
-
autoplayDuration?: number;
|
|
574
|
-
};
|
|
575
|
-
declare type FormStepContainerProps = {
|
|
576
|
-
formStepName: string;
|
|
577
|
-
order: number;
|
|
578
|
-
conditionConfig: ConditionConfig;
|
|
579
|
-
formStepStyles?: CSSProperties;
|
|
580
|
-
};
|
|
581
|
-
declare type FormContainerProps = {
|
|
582
|
-
mode: keyof ValidationMode;
|
|
583
|
-
};
|
|
584
|
-
declare type PaddingVariants = 'top' | 'right' | 'bottom' | 'left';
|
|
585
|
-
declare type Padding = Record<PaddingVariants, SizesTypes$1 | number> | SizesTypes$1 | string;
|
|
586
|
-
declare type ContainerPropsType = Partial<{
|
|
587
|
-
position: ContainerPositionType;
|
|
588
|
-
alignItems: ContainerAlignItemsType;
|
|
589
|
-
scrollBehaviour: ContainerScrollBehaviourType;
|
|
590
|
-
cornerRadius: SizesTypes$1 | number;
|
|
591
|
-
gap: SizesTypes$1;
|
|
592
|
-
styles: StylesType;
|
|
593
|
-
paddingTop: SizesTypes$1;
|
|
594
|
-
paddingBottom: SizesTypes$1;
|
|
595
|
-
paddingLeft: SizesTypes$1;
|
|
596
|
-
paddingRight: SizesTypes$1;
|
|
597
|
-
autoplay: boolean;
|
|
598
|
-
autoplayDuration: number;
|
|
599
|
-
formProps: FormContainerProps;
|
|
600
|
-
formStepProps: FormStepContainerProps;
|
|
601
|
-
border: string;
|
|
602
|
-
activeChildrenIds: string[];
|
|
603
|
-
activeOrganismIds: string[];
|
|
604
|
-
padding: Padding;
|
|
605
|
-
}>;
|
|
606
|
-
declare type AdditionalContainerProps = Partial<{
|
|
607
|
-
containerStyle: CSSProperties;
|
|
608
|
-
containerProps: ContainerPropsType;
|
|
609
|
-
}>;
|
|
610
|
-
declare type ContainerProps = PropsWithChildren<{
|
|
611
|
-
type: ContainerType;
|
|
612
|
-
metadata: MetadataType;
|
|
613
|
-
} & Partial<{
|
|
614
|
-
containerTemplateType: ContainerTemplateType;
|
|
615
|
-
wide: AdditionalContainerProps;
|
|
616
|
-
compact: AdditionalContainerProps;
|
|
617
|
-
props: ContainerPropsType;
|
|
618
|
-
isMobile: boolean;
|
|
619
|
-
}>>;
|
|
620
|
-
declare type ContainerComponentProps = {
|
|
621
|
-
id: string;
|
|
622
|
-
instance: 'container';
|
|
623
|
-
type: ContainerType;
|
|
624
|
-
items: (ContainerComponentProps | Molecule)[];
|
|
625
|
-
config: Partial<{
|
|
626
|
-
wide: AdditionalContainerProps;
|
|
627
|
-
compact: AdditionalContainerProps;
|
|
628
|
-
props: ContainerPropsType;
|
|
629
|
-
}>;
|
|
630
|
-
tabsProps?: Pick<TabGroupProps$1, 'tabs' | 'activeTabKey' | 'onTabChange'>;
|
|
631
|
-
metadata?: MetadataType;
|
|
632
|
-
attributes?: AnyObject$1;
|
|
633
|
-
containerLibraryId?: string;
|
|
634
|
-
isMobile?: boolean;
|
|
635
|
-
isConfigurationMode?: boolean;
|
|
636
|
-
};
|
|
637
|
-
declare type CriteriaType = 'operator' | 'condition';
|
|
638
|
-
declare type ConditionCriteria = {
|
|
639
|
-
id: string;
|
|
640
|
-
type: CriteriaType;
|
|
641
|
-
operator: string;
|
|
642
|
-
dataFieldId: Nullable<string>;
|
|
643
|
-
subtypeId: Nullable<string>;
|
|
644
|
-
dataFieldName: Nullable<string>;
|
|
645
|
-
dataValue: Nullable<string>;
|
|
646
|
-
connectedTo: Nullable<string>;
|
|
647
|
-
};
|
|
648
|
-
declare type SegmentationType = 'simple' | 'advanced';
|
|
649
|
-
declare type ConditionConfig = Nullable<{
|
|
650
|
-
id: string;
|
|
651
|
-
segmentationType: SegmentationType;
|
|
652
|
-
criteriaList: ConditionCriteria[];
|
|
653
|
-
}>;
|
|
654
|
-
declare type FormDataStateConfig = {
|
|
655
|
-
value?: string | number;
|
|
656
|
-
} & Record<string, {
|
|
657
|
-
value?: string | number;
|
|
658
|
-
}>;
|
|
659
|
-
declare type ActionEventType = Record<string, boolean>;
|
|
660
|
-
declare type ProcessTrackerStateValue = {
|
|
661
|
-
visible?: boolean;
|
|
662
|
-
journeyId: string;
|
|
663
|
-
steps: Pick<ProcessStep, 'id' | 'status' | 'link' | 'order'>[];
|
|
664
|
-
};
|
|
665
|
-
declare type StateConfigType = {
|
|
666
|
-
[stateKey: string]: Nullable<StrictUnion<boolean | string | FormDataStateConfig | ActionEventType | ProcessTrackerStateValue>>;
|
|
667
|
-
};
|
|
668
|
-
|
|
669
|
-
declare type Callback = () => void;
|
|
670
|
-
declare type AnyObject = Record<string, unknown>;
|
|
671
|
-
|
|
672
|
-
declare type ConfigurationItemInfo = {
|
|
673
|
-
$selected?: boolean;
|
|
674
|
-
isConfigurationMode?: boolean;
|
|
675
|
-
onClick?: (e: MouseEvent) => void;
|
|
676
|
-
};
|
|
677
|
-
declare const ContainerWrapper: styled_components.StyledComponent<"div", DefaultTheme, Pick<ContainerProps$1, "type"> & {
|
|
678
|
-
containerProps?: Partial<{
|
|
679
|
-
position: containers_types_types.ContainerPositionType;
|
|
680
|
-
alignItems: containers_types_types.ContainerAlignItemsType;
|
|
681
|
-
scrollBehaviour: containers_types_types.ContainerScrollBehaviourType;
|
|
682
|
-
cornerRadius: number | SizesTypes$1;
|
|
683
|
-
gap: SizesTypes$1;
|
|
684
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, DefaultTheme>>;
|
|
685
|
-
paddingTop: SizesTypes$1;
|
|
686
|
-
paddingBottom: SizesTypes$1;
|
|
687
|
-
paddingLeft: SizesTypes$1;
|
|
688
|
-
paddingRight: SizesTypes$1;
|
|
689
|
-
autoplay: boolean;
|
|
690
|
-
autoplayDuration: number;
|
|
691
|
-
formProps: containers_types_types.FormContainerProps;
|
|
692
|
-
formStepProps: containers_types_types.FormStepContainerProps;
|
|
693
|
-
border: string;
|
|
694
|
-
activeChildrenIds: string[];
|
|
695
|
-
activeOrganismIds: string[];
|
|
696
|
-
padding: containers_types_types.Padding;
|
|
697
|
-
}> | undefined;
|
|
698
|
-
metadata?: AnyObject | undefined;
|
|
699
|
-
}, never>;
|
|
700
|
-
|
|
701
|
-
declare type OrganismItemProps = {
|
|
702
|
-
item: ContainerComponentProps$1 | Molecule$1;
|
|
703
|
-
tabsProps?: Pick<TabGroupProps$1, 'tabs' | 'activeTabKey' | 'onTabChange'>;
|
|
704
|
-
formData?: AnyObject$1;
|
|
705
|
-
setFormData?: Dispatch<SetStateAction<AnyObject$1>>;
|
|
706
|
-
isMobile?: boolean;
|
|
707
|
-
isConfigurationMode?: boolean;
|
|
708
|
-
onConfigurationItemHandler?: (itemPath: string) => void;
|
|
709
|
-
};
|
|
710
|
-
declare const OrganismItem: ({ item, tabsProps, formData, setFormData, isMobile, }: OrganismItemProps) => JSX.Element | null;
|
|
711
|
-
|
|
712
|
-
declare type FormOrganismItemProps = {
|
|
713
|
-
item: ContainerComponentProps$2;
|
|
714
|
-
activeChildrenIds: string[];
|
|
715
|
-
formData?: AnyObject$1;
|
|
716
|
-
setFormData?: Dispatch<SetStateAction<AnyObject$1>>;
|
|
717
|
-
isMobile?: boolean;
|
|
718
|
-
};
|
|
719
|
-
declare const FormOrganismItem: ({ formData, setFormData, isMobile, ...props }: FormOrganismItemProps) => JSX.Element | null;
|
|
720
|
-
|
|
721
|
-
declare const getFieldPlaceholder: (type: FieldTypes$1, title?: string) => string;
|
|
722
|
-
|
|
723
|
-
declare type InputFieldTypes = 'any' | 'text' | 'email' | 'integer' | 'password' | 'username' | 'numerical' | 'us_zip_code' | 'phone_number' | 'month_year_date' | 'day_month_year_date' | 'month_day_year_date' | 'year_month_day_date';
|
|
724
|
-
declare type FieldTypes = 'input' | 'select' | 'checkbox';
|
|
725
|
-
declare type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
|
|
726
|
-
name: T;
|
|
727
|
-
type: FieldTypes;
|
|
56
|
+
declare type SelectProps = {
|
|
728
57
|
value?: string;
|
|
729
|
-
|
|
58
|
+
onChange?: (value: string) => void;
|
|
730
59
|
placeholder?: string;
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
};
|
|
736
|
-
declare type UIInputField = {
|
|
737
|
-
inputType?: InputFieldTypes;
|
|
738
|
-
maxLength?: number;
|
|
739
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
740
|
-
} & InputFieldProps$1;
|
|
741
|
-
declare type UISelectField = {
|
|
742
|
-
options?: SelectOption$1[];
|
|
743
|
-
} & SelectFieldProps$1;
|
|
744
|
-
declare type UICheckboxField = {
|
|
745
|
-
checkboxLabel?: string;
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
options: SelectOption[];
|
|
62
|
+
isError?: boolean;
|
|
63
|
+
isEditMode?: boolean;
|
|
746
64
|
};
|
|
747
|
-
declare type UIFields<T extends object> = UIField<keyof T>[];
|
|
748
|
-
|
|
749
|
-
declare const getInitialValuesFromFields: <T extends object>(fields: UIFields$1<T>) => DeepPartial<T>;
|
|
750
|
-
declare const isFormValid: <T extends FieldValues>(formState: FormState<T>) => boolean;
|
|
751
|
-
declare const getFieldsFromFieldSections: <T extends object>(sections: Pick<FieldSectionProps$1<T>, "fields">[]) => UIFields$1<T>;
|
|
752
|
-
|
|
753
|
-
declare const acquisitionFormMockFields: UIFields$1<Record<string, string>>;
|
|
754
|
-
declare const setPasswordMockFields: UIFields$1<SetPasswordFields>;
|
|
755
|
-
declare const passwordMockFields: UIFields$1<PasswordFields>;
|
|
756
|
-
declare const loginMockFields: UIFields$1<LoginFields$1>;
|
|
757
|
-
declare const sectionMockFields: UIFields$1<Record<string, string>>;
|
|
758
|
-
declare const profileInformationMockForm: {
|
|
759
|
-
label: string;
|
|
760
|
-
fields: UIFields$1<Record<string, string>>;
|
|
761
|
-
}[];
|
|
762
65
|
|
|
763
|
-
declare
|
|
764
|
-
maskPlaceholder?: string;
|
|
765
|
-
maskPattern?: Array<string | RegExp>;
|
|
766
|
-
dataModelFieldType: DataModelFieldFormatCodeTypes;
|
|
767
|
-
};
|
|
66
|
+
declare const Select: ({ onChange, value, placeholder, options, disabled, isError, }: SelectProps) => JSX.Element;
|
|
768
67
|
|
|
769
|
-
declare type InputFieldInternalConfigProps = Partial<{
|
|
770
|
-
textColor: ThemeColors$2 | string;
|
|
771
|
-
textFontSize: number;
|
|
772
|
-
placeholderTextColor: ThemeColors$2 | string;
|
|
773
|
-
placeholderTextFontSize: number;
|
|
774
|
-
verticalPadding: number;
|
|
775
|
-
horizontalPadding: number;
|
|
776
|
-
styles: StylesType;
|
|
777
|
-
wrapperStyles: StylesType;
|
|
778
|
-
}>;
|
|
779
68
|
declare type InputIconProps = {
|
|
780
69
|
name: IconNames$1;
|
|
781
|
-
onClick?: Callback
|
|
782
|
-
};
|
|
783
|
-
declare type InputProps = Partial<{
|
|
784
|
-
value: string;
|
|
785
|
-
leftIcon: InputIconProps;
|
|
786
|
-
rightIcon: InputIconProps;
|
|
787
|
-
onBlur: Callback$1;
|
|
788
|
-
type: InputFieldTypes$1;
|
|
789
|
-
placeholder: string;
|
|
790
|
-
disabled: boolean;
|
|
791
|
-
isEditMode: boolean;
|
|
792
|
-
isError: boolean;
|
|
793
|
-
maxLength: number;
|
|
794
|
-
onChange: (value: string) => void;
|
|
795
|
-
onKeyDown: (event: react__default.KeyboardEvent<HTMLInputElement>) => void;
|
|
796
|
-
internalConfig: InputFieldInternalConfigProps;
|
|
797
|
-
config?: MaskConfig;
|
|
798
|
-
state: FormStateType$1;
|
|
799
|
-
}>;
|
|
800
|
-
declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, internalConfig, config, ...rest }: InputProps) => JSX.Element;
|
|
801
|
-
|
|
802
|
-
declare type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
|
|
803
|
-
declare type TextAlign = 'center' | 'right' | 'left';
|
|
804
|
-
declare type SeoTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
|
|
805
|
-
declare type TextProps = {
|
|
806
|
-
variant: FontSizesTypes$1;
|
|
807
|
-
layout?: 'div' | 'span';
|
|
808
|
-
type?: TextTypes;
|
|
809
|
-
styles?: StylesType;
|
|
810
|
-
color?: ThemeColors$2 | string;
|
|
811
|
-
numberOfLines?: number;
|
|
812
|
-
textAlign?: TextAlign;
|
|
813
|
-
behaveAs?: 'text' | 'button';
|
|
814
|
-
seoTag?: SeoTags;
|
|
815
|
-
htmlElementId?: string;
|
|
816
|
-
};
|
|
817
|
-
declare type TextWrapperProps = PropsWithChildren<TextProps>;
|
|
818
|
-
declare const TextWrapper: ({ children, seoTag, ...textProps }: TextWrapperProps) => JSX.Element;
|
|
819
|
-
declare const ErrorText: ({ text }: {
|
|
820
|
-
text: string;
|
|
821
|
-
}) => JSX.Element;
|
|
822
|
-
|
|
823
|
-
declare type IconProps = {
|
|
824
|
-
name: IconNames;
|
|
825
|
-
size?: number;
|
|
826
|
-
color?: ThemeColors$1 | string;
|
|
827
|
-
fill?: ThemeColors$1 | string;
|
|
828
|
-
pointerEvents?: 'auto' | 'none';
|
|
829
|
-
style?: CSSProperties;
|
|
830
|
-
};
|
|
831
|
-
declare const availableIcons: {
|
|
832
|
-
ArrowRight: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
|
833
|
-
Bell: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
834
|
-
Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
|
835
|
-
CaretDown: ({ color, size, }: Omit<IconProps, "name">) => JSX.Element;
|
|
836
|
-
CaretLeft: ({ color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
|
837
|
-
CaretRight: ({ color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
|
838
|
-
CaretUp: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
|
839
|
-
Check: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
|
840
|
-
Close: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
|
841
|
-
Edit: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
842
|
-
Filter: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
|
843
|
-
Hide: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
|
844
|
-
Info: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
845
|
-
InfoBoxIcon: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
|
846
|
-
Mail: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
847
|
-
Menu: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
848
|
-
Minus: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
|
849
|
-
Mobile: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
|
850
|
-
Play: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
851
|
-
Save: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
852
|
-
Search: ({ size, color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
|
853
|
-
View: ({ color, size, }: Omit<IconProps, "name">) => JSX.Element;
|
|
854
|
-
Warning: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
|
|
855
|
-
};
|
|
856
|
-
declare type IconNames = keyof typeof availableIcons;
|
|
857
|
-
declare const Icon: ({ name, color, ...props }: IconProps) => JSX.Element;
|
|
858
|
-
|
|
859
|
-
declare type SpacerProps = {
|
|
860
|
-
width?: SizesTypes$1 | number;
|
|
861
|
-
height?: SizesTypes$1 | number;
|
|
862
|
-
layout?: 'div' | 'span';
|
|
863
|
-
};
|
|
864
|
-
declare const Spacer: styled_components.StyledComponent<"div", styled_components.DefaultTheme, SpacerProps, never>;
|
|
865
|
-
|
|
866
|
-
declare const Spinner: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
|
867
|
-
color?: ThemeColors$2 | undefined;
|
|
868
|
-
size?: SizesTypes$2 | undefined;
|
|
869
|
-
}, never>;
|
|
870
|
-
|
|
871
|
-
declare type RegularImageProps = {
|
|
872
|
-
src: string;
|
|
873
|
-
} & Partial<{
|
|
874
|
-
alt: string;
|
|
875
|
-
width: number | string;
|
|
876
|
-
height: number | string;
|
|
877
|
-
onClick: Callback$1;
|
|
878
|
-
cornerRadius: SizesTypes$1 | number;
|
|
879
|
-
}> & OverrideStyles;
|
|
880
|
-
declare const RegularImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, {
|
|
881
|
-
src: string;
|
|
882
|
-
} & Partial<{
|
|
883
|
-
alt: string;
|
|
884
|
-
width: number | string;
|
|
885
|
-
height: number | string;
|
|
886
|
-
onClick: Callback$1;
|
|
887
|
-
cornerRadius: SizesTypes$1 | number;
|
|
888
|
-
}> & OverrideStyles, never>;
|
|
889
|
-
declare const BackgroundImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, {
|
|
890
|
-
src: string;
|
|
891
|
-
} & Partial<{
|
|
892
|
-
alt: string;
|
|
893
|
-
width: number | string;
|
|
894
|
-
height: number | string;
|
|
895
|
-
onClick: Callback$1;
|
|
896
|
-
cornerRadius: SizesTypes$1 | number;
|
|
897
|
-
}> & OverrideStyles, never>;
|
|
898
|
-
|
|
899
|
-
declare type LinkVariant = 'link' | 'custom';
|
|
900
|
-
declare type TextButtonProps = Pick<BaseButtonProps$1, 'disabled' | 'onClick' | 'children' | 'colorTheme' | 'size'> & Partial<{
|
|
901
|
-
buttonLink: string;
|
|
902
|
-
elementId: string;
|
|
903
|
-
$styles: StylesType;
|
|
904
|
-
$variant: LinkVariant;
|
|
905
|
-
textColor: string;
|
|
906
|
-
}>;
|
|
907
|
-
declare const TextButton: styled_components.StyledComponent<"a", styled_components.DefaultTheme, Pick<BaseButtonProps$1, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
|
|
908
|
-
buttonLink: string;
|
|
909
|
-
elementId: string;
|
|
910
|
-
$styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
911
|
-
$variant: LinkVariant;
|
|
912
|
-
textColor: string;
|
|
913
|
-
}>, never>;
|
|
914
|
-
|
|
915
|
-
declare type ValidationTagStatus = 'DEFAULT' | 'ERROR' | 'SUCCESS';
|
|
916
|
-
declare type ValidationTagProps = {
|
|
917
|
-
status: ValidationTagStatus;
|
|
918
|
-
text: string;
|
|
919
|
-
};
|
|
920
|
-
declare const ValidationTag: ({ text, status }: ValidationTagProps) => JSX.Element;
|
|
921
|
-
|
|
922
|
-
declare type TooltipProps = Pick<TooltipProps$1, 'overlay' | 'placement' | 'trigger' | 'visible' | 'children'> & {
|
|
923
|
-
styles?: StylesType;
|
|
70
|
+
onClick?: Callback;
|
|
924
71
|
};
|
|
925
|
-
declare
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
duration?: number;
|
|
933
|
-
};
|
|
934
|
-
|
|
935
|
-
declare const toast: ({ message, type, duration }: ToastParams) => void | undefined;
|
|
936
|
-
|
|
937
|
-
declare type HorizontalButtonsProps = {
|
|
938
|
-
selectedButtonId: string;
|
|
939
|
-
buttonOptions: {
|
|
940
|
-
value: string;
|
|
941
|
-
id: string;
|
|
942
|
-
}[];
|
|
943
|
-
onClick: (value: string) => void;
|
|
72
|
+
declare type InputProps = {
|
|
73
|
+
value?: string;
|
|
74
|
+
leftIcon?: InputIconProps;
|
|
75
|
+
rightIcon?: InputIconProps;
|
|
76
|
+
onBlur?: Callback;
|
|
77
|
+
type?: InputFieldTypes$1;
|
|
78
|
+
placeholder?: string;
|
|
944
79
|
disabled?: boolean;
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
withShadow?: boolean;
|
|
952
|
-
label?: string;
|
|
953
|
-
backgroundColor?: ThemeColors$1;
|
|
954
|
-
textConfig?: {
|
|
955
|
-
color?: ThemeColors$1;
|
|
956
|
-
font?: FontSizesTypes$2;
|
|
957
|
-
};
|
|
958
|
-
content: {
|
|
959
|
-
initials?: string;
|
|
960
|
-
iconName?: IconNames;
|
|
961
|
-
imageUrl?: string;
|
|
962
|
-
};
|
|
963
|
-
onPress?: Callback$1;
|
|
964
|
-
};
|
|
965
|
-
declare const Avatar: ({ size, withShadow, label, backgroundColor, onPress, content: { initials, iconName, imageUrl }, textConfig: { color, font }, }: AvatarProps) => JSX.Element;
|
|
966
|
-
|
|
967
|
-
declare type PaddingProps = {
|
|
968
|
-
padding: SizesTypes$1 | number;
|
|
969
|
-
};
|
|
970
|
-
declare const HorizontalPadding: styled_components.StyledComponent<"div", styled_components.DefaultTheme, PaddingProps, never>;
|
|
971
|
-
declare const VerticalPadding: styled_components.StyledComponent<"div", styled_components.DefaultTheme, PaddingProps, never>;
|
|
972
|
-
|
|
973
|
-
declare type DividerProps = {
|
|
974
|
-
type?: 'horizontal' | 'vertical';
|
|
975
|
-
color?: ThemeColors$1 | string;
|
|
976
|
-
marginVertical?: SizesTypes$1 | number;
|
|
977
|
-
marginHorizontal?: SizesTypes$1 | number;
|
|
978
|
-
weight?: number;
|
|
979
|
-
};
|
|
980
|
-
declare const Divider: styled_components.StyledComponent<"div", styled_components.DefaultTheme, DividerProps, never>;
|
|
981
|
-
|
|
982
|
-
declare type MapPosition = {
|
|
983
|
-
lat: number;
|
|
984
|
-
lng: number;
|
|
985
|
-
};
|
|
986
|
-
declare type GoogleMapProps = {
|
|
987
|
-
position: MapPosition;
|
|
988
|
-
} & WithScriptjsProps & WithGoogleMapProps;
|
|
989
|
-
declare const GoogleMap: react__default.ComponentClass<{
|
|
990
|
-
position: MapPosition;
|
|
991
|
-
} & WithScriptjsProps & WithGoogleMapProps, any>;
|
|
992
|
-
|
|
993
|
-
declare const defaultValue: Descendant[];
|
|
994
|
-
declare const MATRIX_MESSAGE_ELEMENT_ID = "matrix-message";
|
|
995
|
-
declare const COMMUNICATION_LINK_ELEMENT_ID = "communication-link";
|
|
996
|
-
declare const MATRIX_MESSAGE_DATA_ID = "matrix-message-id";
|
|
997
|
-
declare const COMMUNICATION_LINK_DATA_URL = "communication-link-url";
|
|
998
|
-
declare const COMMUNICATION_LINK_DATA_TEXT = "communication-link-text";
|
|
999
|
-
declare type RichTextEditorProps = Partial<{
|
|
1000
|
-
value: string;
|
|
1001
|
-
font: FontSizesTypes$2;
|
|
1002
|
-
color: ThemeColors$1 | string;
|
|
1003
|
-
textStyles: StylesType;
|
|
1004
|
-
numberOfLines: number;
|
|
1005
|
-
extraTextProps: TextProps$1;
|
|
1006
|
-
renderElementWrapperComponent: (props: AnyObject$1) => JSX.Element;
|
|
1007
|
-
renderElementWrapperProps: AnyObject$1;
|
|
1008
|
-
htmlElementId: string;
|
|
1009
|
-
moleculeId: string;
|
|
1010
|
-
isTrigger: boolean;
|
|
1011
|
-
}>;
|
|
1012
|
-
declare const RichTextViewer: ({ value, font, color, textStyles, numberOfLines, extraTextProps, renderElementWrapperComponent, renderElementWrapperProps, htmlElementId, moleculeId, isTrigger, }: RichTextEditorProps) => JSX.Element;
|
|
1013
|
-
|
|
1014
|
-
declare type RadioButtonInternalConfigProps = Partial<{
|
|
1015
|
-
selectedRadioOptionBackgroundColor: ThemeColors$1 | string;
|
|
1016
|
-
selectedRadioOptionIndicatorColor: ThemeColors$1 | string;
|
|
1017
|
-
buttonPadding: number;
|
|
1018
|
-
textPadding: number;
|
|
1019
|
-
styles: StylesType;
|
|
1020
|
-
wrapperStyles: StylesType;
|
|
1021
|
-
buttonOptionSpacing: SizesTypes$1;
|
|
1022
|
-
radioGroupWrapperStyles: StylesType;
|
|
1023
|
-
}>;
|
|
1024
|
-
declare type RadioButtonsProps<T extends string> = Partial<{
|
|
1025
|
-
ref: RefCallBack;
|
|
1026
|
-
name: string;
|
|
1027
|
-
value: T;
|
|
1028
|
-
options: SelectOption[];
|
|
1029
|
-
onBlur: Callback$1;
|
|
1030
|
-
onChange: (value: T) => void;
|
|
1031
|
-
isRow: boolean;
|
|
1032
|
-
isError: boolean;
|
|
1033
|
-
disabled: boolean;
|
|
1034
|
-
isEditMode: boolean;
|
|
1035
|
-
isRichText: boolean;
|
|
1036
|
-
internalConfig: RadioButtonInternalConfigProps;
|
|
1037
|
-
}>;
|
|
1038
|
-
declare const RadioButtons: <T extends string>({ ref, name, value, options, onBlur, onChange, isRow, isError, disabled, isEditMode, isRichText, internalConfig, }: Partial<{
|
|
1039
|
-
ref: RefCallBack;
|
|
1040
|
-
name: string;
|
|
1041
|
-
value: T;
|
|
1042
|
-
options: SelectOption[];
|
|
1043
|
-
onBlur: Callback$1;
|
|
1044
|
-
onChange: (value: T) => void;
|
|
1045
|
-
isRow: boolean;
|
|
1046
|
-
isError: boolean;
|
|
1047
|
-
disabled: boolean;
|
|
1048
|
-
isEditMode: boolean;
|
|
1049
|
-
isRichText: boolean;
|
|
1050
|
-
internalConfig: Partial<{
|
|
1051
|
-
selectedRadioOptionBackgroundColor: ThemeColors$1 | string;
|
|
1052
|
-
selectedRadioOptionIndicatorColor: ThemeColors$1 | string;
|
|
1053
|
-
buttonPadding: number;
|
|
1054
|
-
textPadding: number;
|
|
1055
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1056
|
-
wrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1057
|
-
buttonOptionSpacing: SizesTypes$1;
|
|
1058
|
-
radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1059
|
-
}>;
|
|
1060
|
-
}>) => JSX.Element;
|
|
1061
|
-
declare const RadioGroupWrapper: styled_components.StyledComponent<typeof RadioGroup, styled_components.DefaultTheme, StyledTransientProps<{
|
|
1062
|
-
isRow: boolean;
|
|
1063
|
-
}> & OverrideStyles, never>;
|
|
1064
|
-
|
|
1065
|
-
declare type CircleType = 'link' | 'message';
|
|
1066
|
-
declare type CircleBoxProps = {
|
|
1067
|
-
index: number;
|
|
1068
|
-
type: CircleType;
|
|
1069
|
-
};
|
|
1070
|
-
declare const Circle: ({ index, type }: CircleBoxProps) => JSX.Element;
|
|
1071
|
-
declare const CirclesWrapper: styled_components.StyledComponent<"span", styled_components.DefaultTheme, {}, never>;
|
|
1072
|
-
|
|
1073
|
-
declare type CircularIndicatorProps = {
|
|
1074
|
-
active: boolean;
|
|
1075
|
-
activeColor?: ThemeColors$1 | string;
|
|
1076
|
-
inactiveColor?: ThemeColors$1 | string;
|
|
1077
|
-
};
|
|
1078
|
-
declare const CircularIndicator: ({ activeColor, inactiveColor, ...props }: CircularIndicatorProps) => JSX.Element;
|
|
1079
|
-
declare const CircularIndicatorStyledComponent: styled_components.StyledComponent<"span", styled_components.DefaultTheme, CircularIndicatorProps, never>;
|
|
1080
|
-
|
|
1081
|
-
declare type IconButtonProps = {
|
|
1082
|
-
name: IconNames$2;
|
|
1083
|
-
size?: number;
|
|
1084
|
-
onClick: Callback$1;
|
|
1085
|
-
color?: ThemeColors$1 | string;
|
|
1086
|
-
fill?: ThemeColors$1 | string;
|
|
1087
|
-
pointerEvents?: 'auto' | 'none';
|
|
1088
|
-
};
|
|
1089
|
-
declare const IconButton: ({ name, color, onClick, disabled, activeOpacity, withoutOpacityEffect, ...props }: IconButtonProps & TouchableOpacityProps$1) => JSX.Element;
|
|
1090
|
-
|
|
1091
|
-
declare type TabOption<T = string> = {
|
|
1092
|
-
menuText: string;
|
|
1093
|
-
menuKey: T;
|
|
1094
|
-
onMenuClick?: (key: T) => void;
|
|
1095
|
-
isSelected?: boolean;
|
|
1096
|
-
};
|
|
1097
|
-
declare type TabElement = HTMLDivElement | null;
|
|
1098
|
-
declare type TabTheme = 'light' | 'dark';
|
|
1099
|
-
declare type TabProps<T = string, K = string> = {
|
|
1100
|
-
tabKey: T;
|
|
1101
|
-
text: string;
|
|
1102
|
-
} & Partial<{
|
|
1103
|
-
disabled: boolean;
|
|
1104
|
-
vertical: boolean;
|
|
1105
|
-
isActive: boolean;
|
|
1106
|
-
onClick: (key: T) => void;
|
|
1107
|
-
options: MenuItem<K>[];
|
|
1108
|
-
onOptionClick: (optionKey: K) => void;
|
|
1109
|
-
tabTheme: TabTheme;
|
|
1110
|
-
divider: boolean;
|
|
1111
|
-
tabFont: FontSizesTypes$2;
|
|
1112
|
-
textSize: number;
|
|
1113
|
-
tabPadding: SizesTypes$1 | number;
|
|
1114
|
-
defaultTabTextColor: ThemeColors$1 | string;
|
|
1115
|
-
selectedTabTextColor: ThemeColors$1 | string;
|
|
1116
|
-
selectedTabIndicatorColor: ThemeColors$1 | string;
|
|
1117
|
-
styles: StylesType;
|
|
1118
|
-
}>;
|
|
1119
|
-
declare const ZealTab: <T extends string, K extends string>({ options, onClick, text, tabKey, vertical, onOptionClick, tabTheme, tabFont, tabPadding, selectedTabIndicatorColor, textSize, defaultTabTextColor, ...tabProps }: TabProps<T, K>, ref: react__default.ForwardedRef<TabElement>) => JSX.Element;
|
|
1120
|
-
declare const Tab: <T, K>(props: {
|
|
1121
|
-
tabKey: T;
|
|
1122
|
-
text: string;
|
|
1123
|
-
} & Partial<{
|
|
1124
|
-
disabled: boolean;
|
|
1125
|
-
vertical: boolean;
|
|
1126
|
-
isActive: boolean;
|
|
1127
|
-
onClick: (key: T) => void;
|
|
1128
|
-
options: MenuItem<K_1>[];
|
|
1129
|
-
onOptionClick: (optionKey: K) => void;
|
|
1130
|
-
tabTheme: TabTheme;
|
|
1131
|
-
divider: boolean;
|
|
1132
|
-
tabFont: FontSizesTypes$2;
|
|
1133
|
-
textSize: number;
|
|
1134
|
-
tabPadding: SizesTypes$1 | number;
|
|
1135
|
-
defaultTabTextColor: ThemeColors$1 | string;
|
|
1136
|
-
selectedTabTextColor: ThemeColors$1 | string;
|
|
1137
|
-
selectedTabIndicatorColor: ThemeColors$1 | string;
|
|
1138
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1139
|
-
}> & {
|
|
1140
|
-
ref?: react__default.ForwardedRef<TabElement> | undefined;
|
|
1141
|
-
}) => ReturnType<typeof ZealTab>;
|
|
1142
|
-
|
|
1143
|
-
declare type SetPasswordRuleValidation = {
|
|
1144
|
-
label: string;
|
|
1145
|
-
rule: MaxRuleValidation | MinRuleValidation;
|
|
1146
|
-
};
|
|
1147
|
-
declare type SetPasswordFormProps = {
|
|
1148
|
-
fields: UIFields$2<SetPasswordFields>;
|
|
1149
|
-
logoUrl: string;
|
|
1150
|
-
isLoading?: boolean;
|
|
1151
|
-
validations: SetPasswordRuleValidation[];
|
|
1152
|
-
onSubmit: (values: SetPasswordFields) => void;
|
|
1153
|
-
onBack: () => void;
|
|
1154
|
-
};
|
|
1155
|
-
declare const SetPasswordForm: ({ logoUrl, fields, validations, onBack, onSubmit, isLoading, }: SetPasswordFormProps) => JSX.Element;
|
|
1156
|
-
|
|
1157
|
-
declare const showAcceptToastMessage: () => void | undefined;
|
|
1158
|
-
declare type AcquisitionFormProps<T extends object> = {
|
|
1159
|
-
fields: UIFields$2<T>;
|
|
1160
|
-
consents: ConsentProps$1[];
|
|
1161
|
-
logoUrl: string;
|
|
1162
|
-
isLoading?: boolean;
|
|
1163
|
-
isSubmitDisabled?: boolean;
|
|
1164
|
-
title: string;
|
|
1165
|
-
description?: string;
|
|
1166
|
-
buttonText?: string;
|
|
1167
|
-
onSubmit: (values: T) => void;
|
|
1168
|
-
onLinkButtonClick?: Callback$1;
|
|
1169
|
-
showConsentLabel?: boolean;
|
|
1170
|
-
triggerFormInitially?: boolean;
|
|
1171
|
-
isTooltipVisible?: boolean;
|
|
1172
|
-
optionsPresentation?: boolean;
|
|
1173
|
-
};
|
|
1174
|
-
declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, optionsPresentation, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, isTooltipVisible, }: AcquisitionFormProps<T>) => JSX.Element;
|
|
1175
|
-
|
|
1176
|
-
declare type VerificationCodeForm = {
|
|
1177
|
-
code: string;
|
|
1178
|
-
};
|
|
1179
|
-
declare type AuthMethod = 'email' | 'sms';
|
|
1180
|
-
declare type TwoFactorAuthProps = {
|
|
1181
|
-
logoUrl: string;
|
|
1182
|
-
onNext?: (authMethod: AuthMethod) => Promise<void>;
|
|
1183
|
-
onSubmit?: (values: VerificationCodeForm) => void;
|
|
1184
|
-
onBack?: () => void;
|
|
1185
|
-
};
|
|
1186
|
-
declare const TwoFactorAuth: ({ logoUrl, onSubmit, onBack, onNext }: TwoFactorAuthProps) => JSX.Element;
|
|
1187
|
-
|
|
1188
|
-
declare type LoginFields = {
|
|
1189
|
-
email: string;
|
|
1190
|
-
password: string;
|
|
1191
|
-
rememberMe: boolean;
|
|
1192
|
-
};
|
|
1193
|
-
|
|
1194
|
-
declare type LoginFormProps = {
|
|
1195
|
-
fields: UIFields$2<LoginFields>;
|
|
1196
|
-
logoUrl: string;
|
|
1197
|
-
isLoading?: boolean;
|
|
1198
|
-
twoFactorAuthConfig?: {
|
|
1199
|
-
twoFactorShow: boolean;
|
|
1200
|
-
twoFactorAuthProps: TwoFactorAuthProps;
|
|
1201
|
-
};
|
|
1202
|
-
optionsPresentation?: boolean;
|
|
1203
|
-
onSubmit: (values: LoginFields) => void;
|
|
1204
|
-
onSignUpButtonClick?: Callback$1;
|
|
1205
|
-
onForgotPasswordButtonClick?: Callback$1;
|
|
1206
|
-
isTooltipVisible?: boolean;
|
|
1207
|
-
consents: ConsentProps$2[];
|
|
1208
|
-
};
|
|
1209
|
-
declare const LoginForm: ({ logoUrl, fields, isTooltipVisible, onSubmit, optionsPresentation, onSignUpButtonClick, isLoading, twoFactorAuthConfig, consents, onForgotPasswordButtonClick, }: LoginFormProps) => JSX.Element;
|
|
1210
|
-
|
|
1211
|
-
declare type FooterProps = FooterAProps | FooterBProps | FooterCProps | FooterDProps;
|
|
1212
|
-
declare const Footer: (props: FooterProps) => JSX.Element;
|
|
1213
|
-
|
|
1214
|
-
declare type FeedContentTemplateTypes = 'full_width_content' | 'standard_content' | 'auto_play' | '';
|
|
1215
|
-
declare type FeedContentProps = {
|
|
1216
|
-
feedContentType: Omit<FilteredFeedContentType$1, 'all'>;
|
|
1217
|
-
feedContentTemplate: FeedContentTemplateTypes;
|
|
1218
|
-
id?: string;
|
|
1219
|
-
image?: string;
|
|
1220
|
-
video?: string;
|
|
1221
|
-
document?: string;
|
|
1222
|
-
title?: Nullable<string>;
|
|
1223
|
-
description: Nullable<string>;
|
|
1224
|
-
lastUpdated: string;
|
|
1225
|
-
buttonConfig: {
|
|
1226
|
-
disabled?: boolean;
|
|
1227
|
-
onClick?: () => void;
|
|
1228
|
-
};
|
|
1229
|
-
withCloseIcon?: {
|
|
1230
|
-
onClose: Callback$1;
|
|
1231
|
-
};
|
|
1232
|
-
isMobile?: boolean;
|
|
1233
|
-
isExpanded?: boolean;
|
|
1234
|
-
fullWidth?: boolean;
|
|
1235
|
-
fullWidthTemplateContainerStyles?: CSSProperties;
|
|
1236
|
-
showDefaultDocumentStyles?: boolean;
|
|
1237
|
-
destinationLink?: string;
|
|
1238
|
-
onDestinationHandler?: Callback$1;
|
|
1239
|
-
imageStyles?: StylesType;
|
|
1240
|
-
videoStyles?: CSSProperties;
|
|
1241
|
-
isEnabledFavoriting?: boolean;
|
|
1242
|
-
isFavorite?: boolean;
|
|
1243
|
-
onFavoriteClickHandler?: Callback$1;
|
|
1244
|
-
onFavoriteIconClick?: (selectedFeedContent: FeedContentProps) => void;
|
|
1245
|
-
};
|
|
1246
|
-
|
|
1247
|
-
declare const FeedContent: ({ feedContentTemplate, ...props }: FeedContentProps) => JSX.Element;
|
|
1248
|
-
|
|
1249
|
-
declare type FooterContactInfo = {
|
|
1250
|
-
phoneNumber: string;
|
|
1251
|
-
addressLine1: string;
|
|
1252
|
-
addressLine2: string;
|
|
1253
|
-
};
|
|
1254
|
-
declare type FooterLink = {
|
|
1255
|
-
id: string;
|
|
1256
|
-
name: string;
|
|
1257
|
-
location: string;
|
|
1258
|
-
};
|
|
1259
|
-
|
|
1260
|
-
declare type ProfileInformationProps<TabKeys extends string> = {
|
|
1261
|
-
backgroundImageUrl: string;
|
|
1262
|
-
avatarProps: AvatarProps$1;
|
|
1263
|
-
tabs: TabProps$1<string, TabKeys>[];
|
|
1264
|
-
tabContents: Record<TabKeys, () => ReactNode>;
|
|
1265
|
-
initialTabKey: TabKeys;
|
|
1266
|
-
title: string;
|
|
1267
|
-
editIcons?: {
|
|
1268
|
-
isEditMode: boolean;
|
|
1269
|
-
onSave: Callback$1;
|
|
1270
|
-
onEdit: Callback$1;
|
|
1271
|
-
onClose: Callback$1;
|
|
1272
|
-
};
|
|
1273
|
-
};
|
|
1274
|
-
declare const ProfileInformation: <TabKeys extends string>({ avatarProps, backgroundImageUrl, initialTabKey, tabs, title, editIcons, tabContents, }: ProfileInformationProps<TabKeys>) => JSX.Element;
|
|
1275
|
-
|
|
1276
|
-
declare type EmailAddressFields = {
|
|
1277
|
-
email: string;
|
|
1278
|
-
};
|
|
1279
|
-
declare type ForgotPasswordFormProps = {
|
|
1280
|
-
logoUrl: string;
|
|
1281
|
-
isLoading?: boolean;
|
|
1282
|
-
onSubmit?: (values: EmailAddressFields) => void;
|
|
1283
|
-
onBack?: Callback$1;
|
|
1284
|
-
};
|
|
1285
|
-
declare const ForgotPasswordForm: ({ logoUrl, onBack, onSubmit, isLoading, }: ForgotPasswordFormProps) => JSX.Element;
|
|
1286
|
-
|
|
1287
|
-
declare type BodyProps = {
|
|
1288
|
-
elements: {
|
|
1289
|
-
data: (HeroImageProps$1 | HeroSliderProps$1 | SubscribePanelProps$1 | ColumnsProps$1 | EmphasizedTextProps$1 | FeedContentContainerProps$1)[];
|
|
1290
|
-
spacer?: number;
|
|
1291
|
-
};
|
|
1292
|
-
horizontalPaddings?: number;
|
|
1293
|
-
containerStyles?: CSSProperties;
|
|
1294
|
-
};
|
|
1295
|
-
declare const Body: ({ elements, horizontalPaddings, containerStyles, }: BodyProps) => JSX.Element;
|
|
1296
|
-
|
|
1297
|
-
declare type ISIProps = ISIAProps;
|
|
1298
|
-
declare const ISI: (props: ISIProps) => JSX.Element;
|
|
1299
|
-
|
|
1300
|
-
declare type ImportantLink = {
|
|
1301
|
-
text: string;
|
|
1302
|
-
href: string;
|
|
1303
|
-
};
|
|
1304
|
-
declare type HeaderAProps<T = string> = {
|
|
1305
|
-
className?: string;
|
|
1306
|
-
links?: ImportantLink[];
|
|
1307
|
-
logoUrl: string;
|
|
1308
|
-
tabsProps: TabGroupProps$1;
|
|
1309
|
-
onActionButtonClick?: Callback$1;
|
|
1310
|
-
buttonText: string;
|
|
1311
|
-
buttonLink: string;
|
|
1312
|
-
isMobile?: boolean;
|
|
1313
|
-
};
|
|
1314
|
-
|
|
1315
|
-
declare type HeaderBProps<T = string> = Pick<HeaderAProps$1<T>, 'isMobile' | 'logoUrl' | 'tabsProps' | 'buttonText' | 'onActionButtonClick' | 'buttonLink' | 'className'>;
|
|
1316
|
-
|
|
1317
|
-
declare type HeaderCProps<T> = Pick<HeaderAProps$1<T>, 'logoUrl' | 'tabsProps' | 'isMobile' | 'className'>;
|
|
1318
|
-
|
|
1319
|
-
declare type HeaderDProps = {
|
|
1320
|
-
withAvatar: AvatarDropdownProps$1<string>;
|
|
1321
|
-
} & Pick<HeaderAProps$1, 'isMobile' | 'logoUrl' | 'links' | 'tabsProps' | 'className'>;
|
|
1322
|
-
|
|
1323
|
-
declare type HeaderProps<T = string> = (HeaderAProps<T> & {
|
|
1324
|
-
type: 'header_a';
|
|
1325
|
-
}) | (HeaderBProps<T> & {
|
|
1326
|
-
type: 'header_b';
|
|
1327
|
-
}) | (HeaderCProps<T> & {
|
|
1328
|
-
type: 'header_c';
|
|
1329
|
-
}) | (HeaderDProps & {
|
|
1330
|
-
type: 'header_d';
|
|
1331
|
-
});
|
|
1332
|
-
declare const Header: <T extends string | number>(props: HeaderProps<T>) => JSX.Element;
|
|
1333
|
-
|
|
1334
|
-
declare type ProcessTrackerProps = {
|
|
1335
|
-
title?: Nullable<string>;
|
|
1336
|
-
description?: Nullable<string>;
|
|
1337
|
-
isMobile?: boolean;
|
|
1338
|
-
statuses?: {
|
|
1339
|
-
title: string;
|
|
1340
|
-
description: string;
|
|
1341
|
-
status: ProcessTrackerStatus$1;
|
|
1342
|
-
}[];
|
|
1343
|
-
currentStep?: number;
|
|
1344
|
-
style?: CSSProperties;
|
|
1345
|
-
withCloseIcon?: {
|
|
1346
|
-
onClose: Callback$1;
|
|
1347
|
-
};
|
|
1348
|
-
destinationLink?: string;
|
|
1349
|
-
onDestinationHandler?: Callback$1;
|
|
1350
|
-
};
|
|
1351
|
-
declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, withCloseIcon, }: ProcessTrackerProps) => JSX.Element;
|
|
1352
|
-
|
|
1353
|
-
declare type FilteredFeedContentType = 'all' | 'favourite';
|
|
1354
|
-
declare type FeedContentContainerProps = {
|
|
1355
|
-
type: 'feed';
|
|
1356
|
-
feedHeader: Omit<FeedContentHeaderProps$1, 'isMobile'>;
|
|
1357
|
-
feedContent?: Omit<FeedContentProps$1, 'isMobile'>[];
|
|
1358
|
-
isMobile?: boolean;
|
|
1359
|
-
};
|
|
1360
|
-
declare const FeedContentContainer: ({ feedHeader, feedContent, isMobile, }: FeedContentContainerProps) => JSX.Element;
|
|
1361
|
-
|
|
1362
|
-
declare type DynamicElementProps = (AlertProps$1 & {
|
|
1363
|
-
elementType: 'alert';
|
|
1364
|
-
}) | (ProcessTrackerProps$1 & {
|
|
1365
|
-
elementType: 'process_tracker';
|
|
1366
|
-
}) | (FeedContentProps$1 & {
|
|
1367
|
-
elementType: 'feed_content';
|
|
1368
|
-
});
|
|
1369
|
-
declare type SizeProps = SizesTypes$1 | number;
|
|
1370
|
-
declare type DynamicContentZoneProps = {
|
|
1371
|
-
elements: {
|
|
1372
|
-
data: DynamicElementProps[];
|
|
1373
|
-
spacer?: SizeProps;
|
|
1374
|
-
};
|
|
1375
|
-
horizontalPaddings?: SizeProps;
|
|
1376
|
-
containerStyles?: CSSProperties;
|
|
1377
|
-
};
|
|
1378
|
-
declare const DynamicContentZone: ({ elements, horizontalPaddings, containerStyles, }: DynamicContentZoneProps) => JSX.Element;
|
|
1379
|
-
|
|
1380
|
-
declare type BottomNavBarNavigationProps = {
|
|
1381
|
-
navbarItems: BottomNaVBarItemProps$1[];
|
|
1382
|
-
};
|
|
1383
|
-
declare const BottomNavBarNavigation: ({ navbarItems }: BottomNavBarNavigationProps) => JSX.Element;
|
|
1384
|
-
|
|
1385
|
-
declare type HeroSliderProps = {
|
|
1386
|
-
type: 'hero_slides';
|
|
1387
|
-
heroSlides: Omit<HeroImageProps$1, 'type' | 'template'>[];
|
|
1388
|
-
};
|
|
1389
|
-
declare const HeroSlider: ({ heroSlides }: HeroSliderProps) => JSX.Element | null;
|
|
1390
|
-
declare const HeroSliderWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
|
1391
|
-
|
|
1392
|
-
declare type SubscribePanelTemplateKeys = `subscribe_template_${'a' | 'b'}`;
|
|
1393
|
-
declare type SubscribePanelTemplateProps = {
|
|
1394
|
-
title?: string;
|
|
1395
|
-
description?: string;
|
|
1396
|
-
isSubscribing?: boolean;
|
|
1397
|
-
subscribeHandler: Callback$1;
|
|
1398
|
-
isMobile: boolean;
|
|
1399
|
-
control: Control<SubscribePanelForm>;
|
|
1400
|
-
};
|
|
1401
|
-
declare type SubscribePanelProps = Omit<SubscribePanelTemplateProps, 'isMobile' | 'control' | 'subscribeHandler'> & {
|
|
1402
|
-
type: 'subscribe_panel';
|
|
1403
|
-
template: SubscribePanelTemplateKeys;
|
|
1404
|
-
onSubscribe: (email: string) => void;
|
|
1405
|
-
};
|
|
1406
|
-
declare type SubscribePanelForm = {
|
|
1407
|
-
email: string;
|
|
1408
|
-
};
|
|
1409
|
-
|
|
1410
|
-
declare const SubscribePanel: ({ template, onSubscribe, ...props }: SubscribePanelProps) => JSX.Element;
|
|
1411
|
-
|
|
1412
|
-
declare type DefaultTemplateProps = {
|
|
1413
|
-
alerts?: AlertProps$2[];
|
|
1414
|
-
processTracker?: ProcessTrackerProps$1;
|
|
1415
|
-
header: React.ReactNode;
|
|
1416
|
-
feedContent?: React.ReactNode;
|
|
1417
|
-
banner?: React.ReactNode;
|
|
1418
|
-
content?: React.ReactNode;
|
|
1419
|
-
};
|
|
1420
|
-
declare const DefaultTemplate: ({ header, banner, content, alerts, processTracker, feedContent, }: DefaultTemplateProps) => JSX.Element;
|
|
1421
|
-
|
|
1422
|
-
interface Helpers {
|
|
1423
|
-
goToNextStep: () => void;
|
|
1424
|
-
goToPrevStep: () => void;
|
|
1425
|
-
reset: () => void;
|
|
1426
|
-
canGoToNextStep: boolean;
|
|
1427
|
-
canGoToPrevStep: boolean;
|
|
1428
|
-
setStep: Dispatch<SetStateAction<number>>;
|
|
1429
|
-
}
|
|
1430
|
-
declare const useStep: (maxStep: number) => [number, Helpers];
|
|
80
|
+
isEditMode?: boolean;
|
|
81
|
+
isError?: boolean;
|
|
82
|
+
maxLength?: number;
|
|
83
|
+
onChange?: (value: string) => void;
|
|
84
|
+
};
|
|
85
|
+
declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, ...rest }: InputProps) => JSX.Element;
|
|
1431
86
|
|
|
1432
|
-
declare
|
|
87
|
+
declare type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
|
|
88
|
+
declare type TextWrapperProps = {
|
|
89
|
+
children: ReactNode;
|
|
90
|
+
variant: SizesTypes$1;
|
|
91
|
+
layout?: 'div' | 'span';
|
|
92
|
+
type?: TextTypes;
|
|
93
|
+
styles?: StylesType;
|
|
94
|
+
color?: ThemeColors$1 | string;
|
|
95
|
+
};
|
|
96
|
+
declare const TextWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, TextWrapperProps, never>;
|
|
1433
97
|
|
|
1434
98
|
declare const defaultTheme: DefaultTheme;
|
|
1435
99
|
|
|
1436
|
-
declare const ZealThemeProvider: (props: PropsWithChildren<{
|
|
1437
|
-
theme?: DefaultTheme;
|
|
1438
|
-
}>) => JSX.Element;
|
|
100
|
+
declare const ZealThemeProvider: (props: PropsWithChildren<{}>) => JSX.Element;
|
|
1439
101
|
|
|
1440
|
-
declare type ThemeColors = 'primary' | '
|
|
1441
|
-
declare type SizesTypes = '
|
|
1442
|
-
declare type FontSizesTypes = Exclude<SizesTypes, '5XL' | '4XL'>;
|
|
1443
|
-
declare type BreakpointSizesTypes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1444
|
-
declare type FontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
102
|
+
declare type ThemeColors = 'primary' | 'secondary' | 'background' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'indigo' | 'blue' | 'white' | 'black' | 'indigoTint' | 'indigoTint2' | 'success' | 'error' | 'warning';
|
|
103
|
+
declare type SizesTypes = '2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
|
|
1445
104
|
declare type ThemeColorsType = Record<ThemeColors, string>;
|
|
1446
|
-
declare type ThemeTextType = Record<
|
|
105
|
+
declare type ThemeTextType = Record<SizesTypes, {
|
|
1447
106
|
'font-weight': string;
|
|
1448
107
|
'font-size': number;
|
|
1449
108
|
'line-height': number;
|
|
1450
109
|
}>;
|
|
1451
110
|
declare type ThemeSizesType = Record<SizesTypes, number>;
|
|
1452
|
-
declare type ThemeDevicesType = Record<BreakpointSizesTypes, string>;
|
|
1453
|
-
declare type ZealTheme = {
|
|
1454
|
-
colors: ThemeColorsType;
|
|
1455
|
-
fonts: Record<FontSizesTypes, number>;
|
|
1456
|
-
sizes: ThemeSizesType;
|
|
1457
|
-
devices: ThemeDevicesType;
|
|
1458
|
-
};
|
|
1459
111
|
|
|
1460
|
-
declare
|
|
112
|
+
declare type IconProps = {
|
|
113
|
+
name: IconNames;
|
|
114
|
+
size?: number;
|
|
115
|
+
color?: ThemeColors | string;
|
|
116
|
+
pointerEvents?: 'auto' | 'none';
|
|
117
|
+
};
|
|
118
|
+
declare const availableIcons: {
|
|
119
|
+
CaretDown: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
|
120
|
+
CaretUp: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
|
|
121
|
+
Filter: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
122
|
+
Check: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
123
|
+
Info: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
124
|
+
View: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
|
125
|
+
Hide: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
|
126
|
+
Close: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
127
|
+
Minus: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
128
|
+
InfoBoxIcon: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
|
|
129
|
+
Warning: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
130
|
+
Bell: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
131
|
+
Mobile: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
132
|
+
Mail: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
|
|
133
|
+
};
|
|
134
|
+
declare type IconNames = keyof typeof availableIcons;
|
|
135
|
+
declare const Icon: ({ name, color, ...props }: IconProps) => JSX.Element;
|
|
1461
136
|
|
|
1462
|
-
declare
|
|
137
|
+
declare type SpacerProps = {
|
|
138
|
+
width?: SizesTypes$2 | number;
|
|
139
|
+
height?: SizesTypes$2 | number;
|
|
140
|
+
layout?: 'div' | 'span';
|
|
141
|
+
};
|
|
142
|
+
declare const Spacer: styled_components.StyledComponent<"div", styled_components.DefaultTheme, SpacerProps, never>;
|
|
1463
143
|
|
|
1464
|
-
declare
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
}>;
|
|
1469
|
-
declare const MlrRichTextViewerProvider: ({ children, isMLRReview, showAnnotations, annotationsList, }: MlrRichTextViewerProviderProps) => JSX.Element;
|
|
144
|
+
declare const Spinner: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
|
145
|
+
color?: ThemeColors$1 | undefined;
|
|
146
|
+
size?: SizesTypes$1 | undefined;
|
|
147
|
+
}, never>;
|
|
1470
148
|
|
|
1471
|
-
declare type
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
149
|
+
declare type ImageProps = {
|
|
150
|
+
src: string;
|
|
151
|
+
alt?: string;
|
|
152
|
+
styles?: CSSProperties;
|
|
1475
153
|
};
|
|
1476
|
-
declare const
|
|
154
|
+
declare const Image: (props: ImageProps) => JSX.Element;
|
|
1477
155
|
|
|
1478
|
-
declare type
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
156
|
+
declare type LinkButtonProps = PropsWithChildren<{
|
|
157
|
+
activeOpacity?: number;
|
|
158
|
+
withoutOpacityEffect?: boolean;
|
|
159
|
+
disabled?: boolean;
|
|
160
|
+
onClick?: Callback;
|
|
161
|
+
}>;
|
|
162
|
+
declare const LinkButton: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
|
163
|
+
activeOpacity?: number | undefined;
|
|
164
|
+
withoutOpacityEffect?: boolean | undefined;
|
|
165
|
+
disabled?: boolean | undefined;
|
|
166
|
+
} & {
|
|
167
|
+
children?: react.ReactNode;
|
|
168
|
+
} & {
|
|
169
|
+
activeOpacity?: number | undefined;
|
|
170
|
+
withoutOpacityEffect?: boolean | undefined;
|
|
171
|
+
disabled?: boolean | undefined;
|
|
172
|
+
onClick?: Callback | undefined;
|
|
173
|
+
}, never>;
|
|
1493
174
|
|
|
1494
|
-
declare
|
|
175
|
+
declare type ValidationTagStatus = 'DEFAULT' | 'ERROR' | 'SUCCESS';
|
|
176
|
+
declare type ValidationTagProps = {
|
|
177
|
+
status: ValidationTagStatus;
|
|
178
|
+
text: string;
|
|
179
|
+
};
|
|
180
|
+
declare const ValidationTag: ({ text, status }: ValidationTagProps) => JSX.Element;
|
|
1495
181
|
|
|
1496
|
-
declare
|
|
182
|
+
declare type TooltipProps = Pick<TooltipProps$1, 'overlay' | 'placement' | 'trigger' | 'visible' | 'children'>;
|
|
183
|
+
declare const StyleWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
|
184
|
+
declare const Tooltip: ({ trigger, placement, ...props }: TooltipProps) => JSX.Element;
|
|
1497
185
|
|
|
1498
|
-
declare type
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
setDrawerVisible: Dispatch<SetStateAction<boolean>>;
|
|
1504
|
-
setActivePopUpById: (id: string) => void;
|
|
1505
|
-
onCloseModal: (id: string) => void;
|
|
186
|
+
declare type ToastType = 'success' | 'infoTierOne' | 'infoTierTwo' | 'warning' | 'error';
|
|
187
|
+
declare type ToastParams = {
|
|
188
|
+
message: string;
|
|
189
|
+
type?: ToastType;
|
|
190
|
+
duration?: number;
|
|
1506
191
|
};
|
|
1507
|
-
declare const ButtonActionsContext: react.Context<ButtonActionsContextType>;
|
|
1508
192
|
|
|
1509
|
-
declare type
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
193
|
+
declare const toast: ({ message, type, duration }: ToastParams) => void | undefined;
|
|
194
|
+
|
|
195
|
+
declare type AvatarProps = {
|
|
196
|
+
size?: SizesTypes | number;
|
|
197
|
+
withShadow?: boolean;
|
|
198
|
+
label?: string;
|
|
199
|
+
backgroundColor?: ThemeColors;
|
|
200
|
+
textConfig?: {
|
|
201
|
+
color?: ThemeColors;
|
|
202
|
+
font?: SizesTypes;
|
|
1515
203
|
};
|
|
1516
204
|
content: {
|
|
1517
|
-
|
|
1518
|
-
|
|
205
|
+
initials?: string;
|
|
206
|
+
iconName?: IconNames;
|
|
207
|
+
imageUrl?: string;
|
|
1519
208
|
};
|
|
209
|
+
onPress?: Callback;
|
|
1520
210
|
};
|
|
1521
|
-
declare
|
|
1522
|
-
actionContent: ContainerComponentProps$1;
|
|
1523
|
-
setActionContent: Dispatch<SetStateAction<ContainerComponentProps$1>>;
|
|
1524
|
-
isModalVisible: boolean;
|
|
1525
|
-
setDrawerVisible: Dispatch<SetStateAction<boolean>>;
|
|
1526
|
-
isDrawerVisible: boolean;
|
|
1527
|
-
setActivePopUpById: (id: string) => void;
|
|
1528
|
-
onCloseModal: (id: string) => void;
|
|
1529
|
-
popupProps?: PopupPropsType[];
|
|
1530
|
-
}>>;
|
|
1531
|
-
declare const ButtonActionsProvider: ({ children, popupProps }: ButtonActionsProviderProps) => JSX.Element;
|
|
1532
|
-
|
|
1533
|
-
declare type StepItem = ContainerComponentProps$1 | Molecule$1;
|
|
1534
|
-
declare type GroupedStepItemsByStepContainer = Map<string, StepItem[]>;
|
|
1535
|
-
|
|
1536
|
-
declare type ConfigurationItem = {
|
|
1537
|
-
entity: 'container' | 'molecule';
|
|
1538
|
-
entityId: string;
|
|
1539
|
-
organismId: string;
|
|
1540
|
-
entityType: MoleculeTypes$1 | ContainerType$1;
|
|
1541
|
-
entityMetadata: MetadataType$1;
|
|
1542
|
-
organismLibraryMoleculeId?: string;
|
|
1543
|
-
};
|
|
1544
|
-
declare type OrganismContextProviderProps = PropsWithChildren<{
|
|
1545
|
-
organismId: string;
|
|
1546
|
-
} & Partial<{
|
|
1547
|
-
formId: string;
|
|
1548
|
-
editable: boolean;
|
|
1549
|
-
isPreview: boolean;
|
|
1550
|
-
initItems: (ContainerComponentProps$1 | Molecule$1)[];
|
|
1551
|
-
validations: PasswordRuleValidation[];
|
|
1552
|
-
submitHandler: (data: {
|
|
1553
|
-
formId: string;
|
|
1554
|
-
data: AnyObject$1;
|
|
1555
|
-
}) => Promise<void>;
|
|
1556
|
-
isFormInEditMode: boolean;
|
|
1557
|
-
organismMetadata: AnyObject$1;
|
|
1558
|
-
isConfigurationMode: boolean;
|
|
1559
|
-
onConfigurationItemHandler: (itemInfo: ConfigurationItem) => void;
|
|
1560
|
-
selectedConfigurationItemId: string;
|
|
1561
|
-
}>>;
|
|
1562
|
-
declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, organismId, validations, editable, isPreview, isFormInEditMode, organismMetadata, isConfigurationMode, onConfigurationItemHandler, selectedConfigurationItemId, }: OrganismContextProviderProps) => JSX.Element;
|
|
211
|
+
declare const Avatar: ({ size, withShadow, label, backgroundColor, onPress, content: { initials, iconName, imageUrl }, textConfig: { color, font }, }: AvatarProps) => JSX.Element;
|
|
1563
212
|
|
|
1564
|
-
declare type
|
|
1565
|
-
|
|
1566
|
-
groupStepItemsByStepContainer: () => GroupedStepItemsByStepContainer;
|
|
1567
|
-
dateFields: {
|
|
1568
|
-
id: string;
|
|
1569
|
-
dateType: InputFieldTypes$2;
|
|
1570
|
-
}[];
|
|
1571
|
-
setDateFields: Dispatch<SetStateAction<{
|
|
1572
|
-
id: string;
|
|
1573
|
-
dateType: InputFieldTypes$2;
|
|
1574
|
-
}[]>>;
|
|
1575
|
-
formId?: string;
|
|
1576
|
-
isPreview?: boolean;
|
|
1577
|
-
submitHandler?: (data: {
|
|
1578
|
-
formId: string;
|
|
1579
|
-
data: AnyObject$1;
|
|
1580
|
-
}) => Promise<void>;
|
|
1581
|
-
validations?: PasswordRuleValidation[];
|
|
1582
|
-
editable?: boolean;
|
|
1583
|
-
isFormInEditMode?: boolean;
|
|
1584
|
-
isConfigurationMode?: boolean;
|
|
1585
|
-
organismMetadata?: MetadataType$1;
|
|
1586
|
-
onConfigurationItemClicked: (itemInfo?: Omit<ConfigurationItem, 'organismId'>) => void;
|
|
1587
|
-
selectedConfigurationItemId?: string;
|
|
213
|
+
declare type HorizontalPaddingProps = {
|
|
214
|
+
padding: SizesTypes$2 | number;
|
|
1588
215
|
};
|
|
1589
|
-
declare const
|
|
216
|
+
declare const HorizontalPadding: styled_components.StyledComponent<"div", styled_components.DefaultTheme, HorizontalPaddingProps, never>;
|
|
217
|
+
declare const VerticalPadding: styled_components.StyledComponent<"div", styled_components.DefaultTheme, HorizontalPaddingProps, never>;
|
|
1590
218
|
|
|
1591
|
-
declare type
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
declare const AccountButtonContext: react.Context<Partial<{
|
|
1598
|
-
userInitials: string;
|
|
1599
|
-
logOutHandler: Callback$1;
|
|
1600
|
-
goToAccountInfo: Callback$1;
|
|
1601
|
-
username: string;
|
|
1602
|
-
}>>;
|
|
1603
|
-
|
|
1604
|
-
declare type AccountButtonProviderProps = PropsWithChildren<Partial<{
|
|
1605
|
-
userInitials: string;
|
|
1606
|
-
logOutHandler: Callback$1;
|
|
1607
|
-
goToAccountInfo: Callback$1;
|
|
1608
|
-
username: string;
|
|
1609
|
-
}>>;
|
|
1610
|
-
declare const AccountButtonProvider: ({ children, goToAccountInfo, userInitials, logOutHandler, username, }: AccountButtonProviderProps) => JSX.Element;
|
|
1611
|
-
|
|
1612
|
-
declare type StateContextType = {
|
|
1613
|
-
stateConfig: StateConfigType$1;
|
|
1614
|
-
stateHandler?: (updatedStateConfig: StateConfigType$1) => void;
|
|
219
|
+
declare type DividerProps = {
|
|
220
|
+
type?: 'horizontal' | 'vertical';
|
|
221
|
+
color?: ThemeColors$2 | string;
|
|
222
|
+
marginVertical?: SizesTypes$2 | number;
|
|
223
|
+
marginHorizontal?: SizesTypes$2 | number;
|
|
224
|
+
weight?: number;
|
|
1615
225
|
};
|
|
1616
|
-
declare const
|
|
1617
|
-
|
|
1618
|
-
declare type StateContextProviderProps = PropsWithChildren<{
|
|
1619
|
-
initStateConfig: StateConfigType$1;
|
|
1620
|
-
stateHandler?: (updatedStateConfig: StateConfigType$1) => void;
|
|
1621
|
-
}>;
|
|
1622
|
-
declare const StateContextProvider: ({ initStateConfig, children, stateHandler, }: StateContextProviderProps) => JSX.Element;
|
|
226
|
+
declare const Divider: styled_components.StyledComponent<"div", styled_components.DefaultTheme, DividerProps, never>;
|
|
1623
227
|
|
|
1624
228
|
declare type FieldRuleLabelTypes = 'OPTIONAL' | 'REQUIRED';
|
|
1625
|
-
declare type LabelInternalConfig = {
|
|
1626
|
-
fontVariant: FontSizesTypes$2;
|
|
1627
|
-
fontSize: number;
|
|
1628
|
-
fontWeight: string | number;
|
|
1629
|
-
color: ThemeColors$1 | string;
|
|
1630
|
-
padding: string;
|
|
1631
|
-
styles: StylesType;
|
|
1632
|
-
wrapperStyles: StylesType;
|
|
1633
|
-
};
|
|
1634
|
-
declare type RuleLabelInternalConfig = {
|
|
1635
|
-
requiredTextColor: ThemeColors$1 | string;
|
|
1636
|
-
optionalTextColor: ThemeColors$1 | string;
|
|
1637
|
-
padding: string;
|
|
1638
|
-
fontSize: number;
|
|
1639
|
-
styles: StylesType;
|
|
1640
|
-
};
|
|
1641
|
-
declare type TooltipInternalConfig = {
|
|
1642
|
-
fontVariant: FontSizesTypes$2;
|
|
1643
|
-
fontSize: number;
|
|
1644
|
-
fontWeight: string | number;
|
|
1645
|
-
color: ThemeColors$1 | string;
|
|
1646
|
-
padding: string;
|
|
1647
|
-
backgroundColor: ThemeColors$1 | string;
|
|
1648
|
-
iconColor: ThemeColors$1 | string;
|
|
1649
|
-
styles: StylesType;
|
|
1650
|
-
wrapperStyles: StylesType;
|
|
1651
|
-
};
|
|
1652
229
|
declare type FieldLabelsProps = {
|
|
1653
|
-
label
|
|
230
|
+
label: string;
|
|
1654
231
|
tooltipText?: string;
|
|
1655
232
|
isError?: boolean;
|
|
1656
|
-
|
|
1657
|
-
ruleLabel?: Nullable<FieldRuleLabelTypes>;
|
|
1658
|
-
labelInternalConfig?: LabelInternalConfig;
|
|
1659
|
-
ruleLabelInternalConfig?: RuleLabelInternalConfig;
|
|
1660
|
-
tooltipInternalConfig?: TooltipInternalConfig;
|
|
1661
|
-
isRichText?: boolean;
|
|
233
|
+
ruleLabel?: FieldRuleLabelTypes;
|
|
1662
234
|
};
|
|
1663
|
-
declare const FieldLabels: ({ label,
|
|
235
|
+
declare const FieldLabels: ({ label, isError, ruleLabel, tooltipText }: FieldLabelsProps) => JSX.Element;
|
|
1664
236
|
|
|
1665
|
-
declare type InputFieldProps =
|
|
237
|
+
declare type InputFieldProps = {
|
|
1666
238
|
name: string;
|
|
1667
|
-
control
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
239
|
+
control?: Control<any>;
|
|
240
|
+
required?: boolean;
|
|
241
|
+
optional?: boolean;
|
|
242
|
+
defaultValue?: string;
|
|
243
|
+
inputProps: InputProps;
|
|
244
|
+
styles?: CSSProperties;
|
|
245
|
+
labelsProps?: FieldLabelsProps;
|
|
246
|
+
};
|
|
247
|
+
declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, }: InputFieldProps) => JSX.Element;
|
|
248
|
+
|
|
249
|
+
declare type InputFieldTypes = 'number' | 'text' | 'email' | 'password';
|
|
250
|
+
declare type UIField<T = string> = (UIInputField | UISelectField | UICheckboxField) & {
|
|
251
|
+
name: T;
|
|
252
|
+
value?: string;
|
|
253
|
+
label?: string;
|
|
254
|
+
placeholder?: string;
|
|
255
|
+
required?: boolean;
|
|
256
|
+
optional?: boolean;
|
|
257
|
+
tooltip?: string;
|
|
258
|
+
};
|
|
259
|
+
declare type UIInputField = {
|
|
260
|
+
type: 'input';
|
|
261
|
+
inputType?: InputFieldTypes;
|
|
262
|
+
maxLength?: number;
|
|
263
|
+
};
|
|
264
|
+
declare type UISelectField = {
|
|
265
|
+
type: 'select';
|
|
266
|
+
options: SelectOption$1[];
|
|
267
|
+
};
|
|
268
|
+
declare type UICheckboxField = {
|
|
269
|
+
type: 'checkbox';
|
|
270
|
+
checkboxLabel?: string;
|
|
271
|
+
};
|
|
272
|
+
declare type UIFields<T extends object> = UIField<keyof T>[];
|
|
1682
273
|
|
|
1683
274
|
declare type FieldMapperProps<T extends object> = {
|
|
1684
|
-
field: UIField
|
|
1685
|
-
|
|
1686
|
-
control?: Control$1<T>;
|
|
275
|
+
field: UIField<keyof T>;
|
|
276
|
+
control: Control<T>;
|
|
1687
277
|
spacer?: number;
|
|
1688
|
-
isTooltipVisible?: boolean;
|
|
1689
|
-
optionsPresentation?: boolean;
|
|
1690
|
-
styles?: StylesType;
|
|
1691
278
|
};
|
|
1692
|
-
declare const FieldMapper: <T extends object>({ field,
|
|
279
|
+
declare const FieldMapper: <T extends object>({ field, spacer, control, }: FieldMapperProps<T>) => JSX.Element;
|
|
1693
280
|
|
|
1694
|
-
declare type
|
|
1695
|
-
checkboxGroupWrapperStyles: StylesType;
|
|
1696
|
-
checkboxFieldWrapperStyles: StylesType;
|
|
1697
|
-
onChange: (id: string) => void;
|
|
1698
|
-
disabled: boolean;
|
|
1699
|
-
options?: SelectOption$1[];
|
|
1700
|
-
selectedIds?: string[];
|
|
1701
|
-
isError?: boolean;
|
|
1702
|
-
isEditMode?: boolean;
|
|
1703
|
-
isRichText: boolean;
|
|
1704
|
-
internalConfig: CheckboxInternalConfigProps$1;
|
|
1705
|
-
}>;
|
|
1706
|
-
declare type CheckboxFieldProps = Partial<{
|
|
1707
|
-
checkboxesProps: CheckboxesProps;
|
|
1708
|
-
labelsProps: FieldLabelsProps;
|
|
281
|
+
declare type CheckboxFieldProps = {
|
|
1709
282
|
name: string;
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
conditionConfig: ConditionConfig$1;
|
|
1716
|
-
state: FormStateType$1;
|
|
1717
|
-
defaultValue: string[];
|
|
1718
|
-
formData: AnyObject$1;
|
|
1719
|
-
htmlElementId: string;
|
|
1720
|
-
isTrigger?: boolean;
|
|
1721
|
-
moleculeId: string;
|
|
1722
|
-
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1723
|
-
}>;
|
|
1724
|
-
declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: CheckboxFieldProps) => JSX.Element | null;
|
|
1725
|
-
|
|
1726
|
-
declare type CheckboxGroupProps = Partial<{
|
|
1727
|
-
ref: RefCallBack;
|
|
1728
|
-
onBlur: Callback$1;
|
|
1729
|
-
onChange: (checkedIds: string[]) => void;
|
|
1730
|
-
checkboxesProps: CheckboxesProps;
|
|
1731
|
-
}>;
|
|
1732
|
-
declare const CheckboxGroup: ({ ref, onBlur, onChange, checkboxesProps }: CheckboxGroupProps) => JSX.Element;
|
|
283
|
+
control: Control<any>;
|
|
284
|
+
defaultValue?: boolean;
|
|
285
|
+
checkboxProps: Omit<CheckBoxProps, 'error' | 'onClick' | 'value'>;
|
|
286
|
+
};
|
|
287
|
+
declare const CheckboxField: ({ control, name, checkboxProps, defaultValue, }: CheckboxFieldProps) => JSX.Element;
|
|
1733
288
|
|
|
1734
|
-
declare type SelectFieldProps =
|
|
1735
|
-
selectProps: SelectProps
|
|
1736
|
-
labelsProps
|
|
289
|
+
declare type SelectFieldProps = {
|
|
290
|
+
selectProps: SelectProps;
|
|
291
|
+
labelsProps?: FieldLabelsProps;
|
|
1737
292
|
name: string;
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
state: FormStateType$1;
|
|
1746
|
-
formData: AnyObject$1;
|
|
1747
|
-
htmlElementId: string;
|
|
1748
|
-
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1749
|
-
}>;
|
|
1750
|
-
declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, conditionConfig, formData, state, htmlElementId, configurationItemInfo, }: SelectFieldProps) => JSX.Element | null;
|
|
293
|
+
control: Control<any>;
|
|
294
|
+
required?: boolean;
|
|
295
|
+
optional?: boolean;
|
|
296
|
+
defaultValue?: string;
|
|
297
|
+
styles?: CSSProperties;
|
|
298
|
+
};
|
|
299
|
+
declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, }: SelectFieldProps) => JSX.Element;
|
|
1751
300
|
|
|
1752
301
|
declare type CustomValidationRule<T = string> = {
|
|
1753
302
|
text: string;
|
|
@@ -1758,13 +307,11 @@ declare type CustomValidationProps<T = string> = {
|
|
|
1758
307
|
value: T;
|
|
1759
308
|
isSubmitted?: boolean;
|
|
1760
309
|
rules: CustomValidationRule<T>[];
|
|
1761
|
-
spacer?: number;
|
|
1762
|
-
validationState?: FormStateType$1;
|
|
1763
310
|
};
|
|
1764
|
-
declare const CustomValidation: <T extends string = string>({ rules, value, isSubmitted, label,
|
|
311
|
+
declare const CustomValidation: <T extends string = string>({ rules, value, isSubmitted, label, }: CustomValidationProps<T>) => JSX.Element;
|
|
1765
312
|
|
|
1766
313
|
declare type BaseSelectableProps<T> = {
|
|
1767
|
-
iconName: IconNames
|
|
314
|
+
iconName: IconNames;
|
|
1768
315
|
infoText: string;
|
|
1769
316
|
isActive?: boolean;
|
|
1770
317
|
onClick?: (value: T) => void;
|
|
@@ -1774,476 +321,179 @@ declare type BaseSelectableProps<T> = {
|
|
|
1774
321
|
declare type SelectableCardGroupProps<T> = {
|
|
1775
322
|
cards: BaseSelectableProps<T>[];
|
|
1776
323
|
handleChange?: (value: T | undefined) => void;
|
|
1777
|
-
spacing?: SizesTypes
|
|
324
|
+
spacing?: SizesTypes;
|
|
1778
325
|
initialValue?: T;
|
|
1779
326
|
};
|
|
1780
327
|
declare const SelectableCardGroup: <T extends string>({ cards, handleChange, spacing, initialValue, }: SelectableCardGroupProps<T>) => JSX.Element;
|
|
1781
328
|
|
|
1782
|
-
declare type
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
mainHeading: string;
|
|
1788
|
-
subHeading?: string;
|
|
1789
|
-
button?: ButtonProps$1;
|
|
1790
|
-
contentAlignment?: HeroImageAlignment;
|
|
1791
|
-
horizontalPaddings?: number;
|
|
1792
|
-
template?: HeroImageTemplate;
|
|
1793
|
-
isMobile?: boolean;
|
|
1794
|
-
height?: number;
|
|
329
|
+
declare type BannerProps = {
|
|
330
|
+
backgroundImage: ImageProps;
|
|
331
|
+
title: string;
|
|
332
|
+
description?: string;
|
|
333
|
+
button?: ButtonProps;
|
|
1795
334
|
};
|
|
1796
|
-
declare const
|
|
335
|
+
declare const Banner: ({ backgroundImage, button, title, description }: BannerProps) => JSX.Element;
|
|
1797
336
|
|
|
1798
337
|
declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
|
|
1799
338
|
declare type DrawerProps = DrawerProps$1 & {
|
|
1800
339
|
anchor: Anchor;
|
|
1801
|
-
padding?: SizesTypes$2 | number | string;
|
|
1802
|
-
height?: number | string;
|
|
1803
|
-
width?: number | string;
|
|
1804
|
-
withCloseIcon?: boolean;
|
|
1805
|
-
closeIconColor?: ThemeColors$2 | string;
|
|
1806
340
|
};
|
|
1807
341
|
|
|
1808
|
-
declare const Drawer: ({ children,
|
|
1809
|
-
|
|
1810
|
-
declare type ColumnsTemplateKeys = 'horizontal' | 'card' | 'with_image';
|
|
342
|
+
declare const Drawer: ({ children, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
|
|
1811
343
|
|
|
1812
|
-
declare type
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
};
|
|
1818
|
-
declare type ColumnItem = {
|
|
1819
|
-
title?: string;
|
|
1820
|
-
mainContent?: string;
|
|
1821
|
-
button?: TextButtonProps$1;
|
|
1822
|
-
icon: string;
|
|
344
|
+
declare type InfoBoxProps = {
|
|
345
|
+
title: string;
|
|
346
|
+
description?: string;
|
|
347
|
+
linkButton?: LinkButtonProps;
|
|
348
|
+
icon?: IconNames;
|
|
1823
349
|
};
|
|
1824
|
-
declare const
|
|
350
|
+
declare const InfoBox: ({ title, icon, description, linkButton }: InfoBoxProps) => JSX.Element;
|
|
1825
351
|
|
|
1826
|
-
declare type
|
|
352
|
+
declare type MenuItem<T> = {
|
|
1827
353
|
id: T;
|
|
1828
354
|
title: string;
|
|
1829
|
-
|
|
1830
|
-
onClick: (id: T) => void;
|
|
1831
|
-
options?: MenuItemType<T>[];
|
|
1832
|
-
divider?: boolean;
|
|
1833
|
-
disabled?: boolean;
|
|
1834
|
-
itemColor?: string;
|
|
1835
|
-
activeItemColor?: string;
|
|
355
|
+
onClick?: (id: T) => void;
|
|
1836
356
|
};
|
|
1837
|
-
|
|
1838
357
|
declare type MenuItemsProps<T> = {
|
|
1839
358
|
title?: string;
|
|
1840
|
-
options?: MenuItemType<T>[];
|
|
1841
|
-
activeKey?: T;
|
|
1842
|
-
itemColor?: string;
|
|
1843
|
-
menuTheme?: 'light' | 'dark';
|
|
1844
359
|
onItemPress?: (id: T) => void;
|
|
1845
|
-
|
|
360
|
+
options: MenuItem<T>[];
|
|
1846
361
|
};
|
|
1847
|
-
declare const MenuItems: <T extends string | number>({ title,
|
|
362
|
+
declare const MenuItems: <T extends string | number>({ title, onItemPress, options, }: MenuItemsProps<T>) => JSX.Element;
|
|
1848
363
|
|
|
1849
|
-
declare type
|
|
1850
|
-
|
|
1851
|
-
avatarProps: AvatarProps$1;
|
|
364
|
+
declare type AvatarDropdownProps<T> = {
|
|
365
|
+
avatarProps: AvatarProps;
|
|
1852
366
|
menuConfig: MenuItemsProps<T>;
|
|
1853
|
-
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1854
367
|
};
|
|
1855
|
-
declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig,
|
|
368
|
+
declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
|
|
1856
369
|
|
|
1857
|
-
declare type
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
370
|
+
declare type TabProps<T = string, K = string> = {
|
|
371
|
+
tabKey: T;
|
|
372
|
+
text: string;
|
|
373
|
+
disabled?: boolean;
|
|
374
|
+
isActive?: boolean;
|
|
375
|
+
onClick?: (key: T) => void;
|
|
376
|
+
options?: MenuItemsProps<T>[];
|
|
377
|
+
onOptionClick?: (optionKey: K) => void;
|
|
1861
378
|
};
|
|
379
|
+
|
|
1862
380
|
declare type TabGroupProps<T = string, K = string> = {
|
|
1863
|
-
tabs:
|
|
381
|
+
tabs: Pick<TabProps<T>, 'text' | 'tabKey' | 'disabled' | 'options'>[];
|
|
1864
382
|
activeTabKey: T;
|
|
383
|
+
spacing?: SizesTypes$1;
|
|
1865
384
|
onTabChange?: (tabKey: T) => void;
|
|
1866
385
|
onOptionClick?: (optionKey: K) => void;
|
|
1867
|
-
styles?: StylesType;
|
|
1868
|
-
vertical?: boolean;
|
|
1869
|
-
tabTheme?: TabTheme$1;
|
|
1870
|
-
tabFont?: FontSizesTypes$1;
|
|
1871
|
-
textSize?: number;
|
|
1872
|
-
tabPadding?: SizesTypes$2 | number;
|
|
1873
|
-
tabSpacing?: SizesTypes$2;
|
|
1874
|
-
defaultTabTextColor?: ThemeColors$2 | string;
|
|
1875
|
-
selectedTabTextColor?: ThemeColors$2 | string;
|
|
1876
|
-
selectedTabIndicatorColor?: ThemeColors$2 | string;
|
|
1877
|
-
wide?: AdditionalTabContainerProps;
|
|
1878
|
-
compact?: AdditionalTabContainerProps;
|
|
1879
|
-
isMobile?: boolean;
|
|
1880
|
-
htmlElementId?: string;
|
|
1881
|
-
menuIconColor?: string;
|
|
1882
|
-
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1883
|
-
};
|
|
1884
|
-
declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, isMobile, htmlElementId, menuIconColor, configurationItemInfo, ...props }: TabGroupProps<T, K>) => JSX.Element;
|
|
1885
|
-
|
|
1886
|
-
declare type FieldSectionProps<T extends object> = {
|
|
1887
|
-
label: string;
|
|
1888
|
-
control?: Control$1<T>;
|
|
1889
|
-
isEditMode?: boolean;
|
|
1890
|
-
fields: UIFields<T>;
|
|
1891
|
-
};
|
|
1892
|
-
declare const FieldSection: <T extends object>({ fields, label, isEditMode, control, }: FieldSectionProps<T>) => JSX.Element;
|
|
1893
|
-
|
|
1894
|
-
declare type MenuNavigationProps<T> = {
|
|
1895
|
-
menuConfig: MenuItemsProps<T>;
|
|
1896
|
-
customIconType?: IconNames$2;
|
|
1897
|
-
menuIconColor?: string;
|
|
1898
|
-
};
|
|
1899
|
-
declare const MenuNavigation: <T extends string | number>({ menuConfig, customIconType, menuIconColor, }: MenuNavigationProps<T>) => JSX.Element;
|
|
1900
|
-
declare const CaretIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
|
1901
|
-
isOpen: boolean;
|
|
1902
|
-
}, never>;
|
|
1903
|
-
|
|
1904
|
-
declare type EmphasizedTextProps = {
|
|
1905
|
-
type: 'emphasized_text';
|
|
1906
|
-
invertColors: boolean;
|
|
1907
|
-
textContent: string;
|
|
1908
386
|
};
|
|
1909
|
-
declare const
|
|
1910
|
-
|
|
1911
|
-
declare type RadioButtonFieldProps<T extends string> = Partial<{
|
|
1912
|
-
name: string;
|
|
1913
|
-
rules: ControllerProps$1['rules'];
|
|
1914
|
-
styles: StylesType;
|
|
1915
|
-
control: Control$1<any>;
|
|
1916
|
-
optional: boolean;
|
|
1917
|
-
required: boolean;
|
|
1918
|
-
labelsProps: FieldLabelsProps;
|
|
1919
|
-
defaultValue: string;
|
|
1920
|
-
radioButtonsProps: RadioButtonsProps$1<T>;
|
|
1921
|
-
internalConfig: RadioButtonInternalConfigProps$1;
|
|
1922
|
-
conditionConfig: ConditionConfig$1;
|
|
1923
|
-
state: FormStateType$1;
|
|
1924
|
-
formData: AnyObject$1;
|
|
1925
|
-
htmlElementId: string;
|
|
1926
|
-
isTrigger?: boolean;
|
|
1927
|
-
moleculeId: string;
|
|
1928
|
-
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
1929
|
-
}>;
|
|
1930
|
-
declare const RadioButtonField: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, conditionConfig, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: Partial<{
|
|
1931
|
-
name: string;
|
|
1932
|
-
rules: ControllerProps$1['rules'];
|
|
1933
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1934
|
-
control: Control$1<any>;
|
|
1935
|
-
optional: boolean;
|
|
1936
|
-
required: boolean;
|
|
1937
|
-
labelsProps: FieldLabelsProps;
|
|
1938
|
-
defaultValue: string;
|
|
1939
|
-
radioButtonsProps: Partial<{
|
|
1940
|
-
ref: react_hook_form.RefCallBack;
|
|
1941
|
-
name: string;
|
|
1942
|
-
value: T;
|
|
1943
|
-
options: atoms.SelectOption[];
|
|
1944
|
-
onBlur: typescript.Callback;
|
|
1945
|
-
onChange: (value: T) => void;
|
|
1946
|
-
isRow: boolean;
|
|
1947
|
-
isError: boolean;
|
|
1948
|
-
disabled: boolean;
|
|
1949
|
-
isEditMode: boolean;
|
|
1950
|
-
isRichText: boolean;
|
|
1951
|
-
internalConfig: Partial<{
|
|
1952
|
-
selectedRadioOptionBackgroundColor: string;
|
|
1953
|
-
selectedRadioOptionIndicatorColor: string;
|
|
1954
|
-
buttonPadding: number;
|
|
1955
|
-
textPadding: number;
|
|
1956
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1957
|
-
wrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1958
|
-
buttonOptionSpacing: SizesTypes;
|
|
1959
|
-
radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1960
|
-
}>;
|
|
1961
|
-
}>;
|
|
1962
|
-
internalConfig: Partial<{
|
|
1963
|
-
selectedRadioOptionBackgroundColor: string;
|
|
1964
|
-
selectedRadioOptionIndicatorColor: string;
|
|
1965
|
-
buttonPadding: number;
|
|
1966
|
-
textPadding: number;
|
|
1967
|
-
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1968
|
-
wrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1969
|
-
buttonOptionSpacing: SizesTypes;
|
|
1970
|
-
radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
|
1971
|
-
}>;
|
|
1972
|
-
conditionConfig: ConditionConfig$1;
|
|
1973
|
-
state: FormStateType$1;
|
|
1974
|
-
formData: AnyObject$1;
|
|
1975
|
-
htmlElementId: string;
|
|
1976
|
-
isTrigger?: boolean | undefined;
|
|
1977
|
-
moleculeId: string;
|
|
1978
|
-
configurationItemInfo?: ConfigurationItemInfo$1 | undefined;
|
|
1979
|
-
}>) => JSX.Element | null;
|
|
387
|
+
declare const TabGroup: <T extends string, K extends string>({ tabs, spacing, activeTabKey, onTabChange, }: TabGroupProps<T, K>) => JSX.Element;
|
|
1980
388
|
|
|
1981
|
-
declare type
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
fullWidth?: boolean;
|
|
1989
|
-
withCloseIcon?: {
|
|
1990
|
-
onClose: Callback$1;
|
|
1991
|
-
};
|
|
1992
|
-
fontColor?: ThemeColors$1;
|
|
1993
|
-
destinationLink?: string;
|
|
1994
|
-
onDestinationHandler?: Callback$1;
|
|
1995
|
-
containerStyles?: CSSProperties;
|
|
389
|
+
declare type SetPasswordFormProps = {
|
|
390
|
+
fields: UIFields<SetPasswordFields>;
|
|
391
|
+
logoUrl: string;
|
|
392
|
+
isLoading?: boolean;
|
|
393
|
+
validations: SetPasswordRuleValidation[];
|
|
394
|
+
onSubmit: (values: SetPasswordFields) => void;
|
|
395
|
+
onBack: () => void;
|
|
1996
396
|
};
|
|
1997
|
-
declare const
|
|
397
|
+
declare const SetPasswordForm: ({ logoUrl, fields, validations, onBack, onSubmit, isLoading, }: SetPasswordFormProps) => JSX.Element;
|
|
1998
398
|
|
|
1999
|
-
declare type
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
isMobile?: boolean;
|
|
2006
|
-
isOnClickDisabled?: boolean;
|
|
2007
|
-
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
399
|
+
declare type AcquisitionFormProps<T extends object> = {
|
|
400
|
+
fields: UIFields<T>;
|
|
401
|
+
logoUrl: string;
|
|
402
|
+
isLoading?: boolean;
|
|
403
|
+
onSubmit: (values: T) => void;
|
|
404
|
+
onLinkButtonClick?: Callback;
|
|
2008
405
|
};
|
|
2009
|
-
declare const
|
|
406
|
+
declare const AcquisitionForm: <T extends object>({ logoUrl, fields, onSubmit, onLinkButtonClick, isLoading, }: AcquisitionFormProps<T>) => JSX.Element;
|
|
2010
407
|
|
|
2011
|
-
declare type
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
wrapperBackgroundColor: ThemeColors$1 | string;
|
|
2016
|
-
pageNumberColor: ThemeColors$1 | string;
|
|
2017
|
-
pageWidth: number;
|
|
2018
|
-
pageHeight: number;
|
|
2019
|
-
paginationArrowColor: ThemeColors$1 | string;
|
|
2020
|
-
disabledPaginationArrowColor: ThemeColors$1 | string;
|
|
2021
|
-
}>;
|
|
408
|
+
declare type LoginFields = {
|
|
409
|
+
email: string;
|
|
410
|
+
password: string;
|
|
411
|
+
rememberMe: boolean;
|
|
2022
412
|
};
|
|
2023
|
-
declare const PdfDocument: ({ source, isMobile, customDocumentStyles, }: PdfDocumentProps) => JSX.Element;
|
|
2024
|
-
|
|
2025
|
-
declare type FeedTemplateKeys = `feed_${'a' | 'b'}`;
|
|
2026
|
-
declare type FeedContentHeaderProps = {
|
|
2027
|
-
title: string;
|
|
2028
|
-
enableFavoriting?: boolean;
|
|
2029
|
-
templateType: FeedTemplateKeys;
|
|
2030
|
-
isMobile?: boolean;
|
|
2031
|
-
menuConfig: MenuItemsProps$1<FilteredFeedContentType$1>;
|
|
2032
|
-
} & Partial<Omit<InputFieldProps$1, 'labelsProps' | 'required' | 'optional'>>;
|
|
2033
|
-
declare const FeedContentHeader: ({ templateType, title, name, inputProps, isMobile, menuConfig, ...rest }: FeedContentHeaderProps) => JSX.Element;
|
|
2034
413
|
|
|
2035
|
-
declare type
|
|
2036
|
-
|
|
2037
|
-
title: string;
|
|
2038
|
-
control?: Control$1<any>;
|
|
2039
|
-
description?: string;
|
|
2040
|
-
horizontalButtonsProps: HorizontalButtonsProps$1;
|
|
2041
|
-
defaultValue?: string;
|
|
414
|
+
declare type VerificationCodeForm = {
|
|
415
|
+
code: string;
|
|
2042
416
|
};
|
|
2043
|
-
declare
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
activeColor: string;
|
|
2050
|
-
onNavigate: Callback;
|
|
417
|
+
declare type AuthMethod = 'email' | 'sms';
|
|
418
|
+
declare type TwoFactorAuthProps = {
|
|
419
|
+
logoUrl: string;
|
|
420
|
+
onNext?: (authMethod: AuthMethod) => Promise<void>;
|
|
421
|
+
onSubmit?: (values: VerificationCodeForm) => void;
|
|
422
|
+
onBack?: () => void;
|
|
2051
423
|
};
|
|
2052
|
-
declare const
|
|
2053
|
-
|
|
2054
|
-
declare type VideoProps = {
|
|
2055
|
-
src: string;
|
|
2056
|
-
} & Partial<{
|
|
2057
|
-
width: number;
|
|
2058
|
-
height: number;
|
|
2059
|
-
autoplay: boolean;
|
|
2060
|
-
enableCoverImage: boolean;
|
|
2061
|
-
coverImageSrc: string;
|
|
2062
|
-
style: CSSProperties;
|
|
2063
|
-
styles: StylesType;
|
|
2064
|
-
template: FeedContentTemplateTypes$1;
|
|
2065
|
-
htmlElementId: string;
|
|
2066
|
-
moleculeId: string;
|
|
2067
|
-
isTrigger: boolean;
|
|
2068
|
-
isOnClickDisabled: boolean;
|
|
2069
|
-
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
2070
|
-
}>;
|
|
2071
|
-
declare const Video: ({ style, src, width, height, template, autoplay, enableCoverImage, coverImageSrc, styles, htmlElementId, isTrigger, moleculeId, isOnClickDisabled, configurationItemInfo, }: VideoProps) => JSX.Element | null;
|
|
2072
|
-
|
|
2073
|
-
declare type ImageProps = {
|
|
2074
|
-
src: string;
|
|
2075
|
-
} & Partial<{
|
|
2076
|
-
id: string;
|
|
2077
|
-
altText: string;
|
|
2078
|
-
link: string;
|
|
2079
|
-
onClick: Callback$1;
|
|
2080
|
-
width: number;
|
|
2081
|
-
height: number;
|
|
2082
|
-
cornerRadius: SizesTypes$1 | number;
|
|
2083
|
-
behaveAs: 'background' | 'regular';
|
|
2084
|
-
styles: StylesType;
|
|
2085
|
-
metadata: MetadataType$1;
|
|
2086
|
-
htmlElementId: string;
|
|
2087
|
-
configurationItemInfo: ConfigurationItemInfo$1;
|
|
2088
|
-
}>;
|
|
2089
|
-
declare const Image: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, htmlElementId, metadata, configurationItemInfo, }: ImageProps) => JSX.Element | null;
|
|
424
|
+
declare const TwoFactorAuth: ({ logoUrl, onSubmit, onBack, onNext }: TwoFactorAuthProps) => JSX.Element;
|
|
2090
425
|
|
|
2091
|
-
declare type
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
426
|
+
declare type LoginFormProps = {
|
|
427
|
+
fields: UIFields<LoginFields>;
|
|
428
|
+
logoUrl: string;
|
|
429
|
+
isLoading?: boolean;
|
|
430
|
+
twoFactorAuthConfig?: {
|
|
431
|
+
twoFactorShow: boolean;
|
|
432
|
+
twoFactorAuthProps: TwoFactorAuthProps;
|
|
433
|
+
};
|
|
434
|
+
onSubmit: (values: LoginFields) => void;
|
|
435
|
+
onSignUpButtonClick?: Callback;
|
|
436
|
+
onForgotPasswordButtonClick?: Callback;
|
|
2095
437
|
};
|
|
2096
|
-
declare const
|
|
2097
|
-
declare const Wrapper: styled_components.StyledComponent<"section", styled_components.DefaultTheme, {}, never>;
|
|
2098
|
-
declare const SlidesWrapper: styled_components.StyledComponent<"ul", styled_components.DefaultTheme, {
|
|
2099
|
-
translateX: number;
|
|
2100
|
-
}, never>;
|
|
2101
|
-
declare const Slide: styled_components.StyledComponent<"li", styled_components.DefaultTheme, {}, never>;
|
|
2102
|
-
declare const ButtonsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
|
2103
|
-
declare const ArrowIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
|
2104
|
-
arrowSide: 'left' | 'right';
|
|
2105
|
-
}, never>;
|
|
2106
|
-
declare const NavigationDotsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
|
|
438
|
+
declare const LoginForm: ({ logoUrl, fields, onSubmit, onSignUpButtonClick, isLoading, twoFactorAuthConfig, onForgotPasswordButtonClick, }: LoginFormProps) => JSX.Element;
|
|
2107
439
|
|
|
2108
|
-
declare type
|
|
440
|
+
declare type ImportantLink = {
|
|
2109
441
|
text: string;
|
|
2110
|
-
variant: 'base' | 'custom';
|
|
2111
|
-
fontVariant: FontSizesTypes$2;
|
|
2112
|
-
textSize: number;
|
|
2113
|
-
textColor: ThemeColors$1 | string;
|
|
2114
|
-
letterSpacing: number;
|
|
2115
|
-
lineHeight: number;
|
|
2116
|
-
fontWeight: string | number;
|
|
2117
|
-
isRichText: boolean;
|
|
2118
|
-
styles: StylesType;
|
|
2119
|
-
textAlign: 'center' | 'right' | 'left';
|
|
2120
|
-
htmlElementId: string;
|
|
2121
|
-
configurationItemInfo: ConfigurationItemInfo$1;
|
|
2122
|
-
}> & Pick<TextProps$1, 'seoTag' | 'numberOfLines'>;
|
|
2123
|
-
declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, htmlElementId, configurationItemInfo, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
|
|
2124
|
-
|
|
2125
|
-
declare type ButtonVariant = 'primary' | 'secondary' | 'text' | 'custom';
|
|
2126
|
-
declare type ButtonType = 'button' | 'submit' | 'reset';
|
|
2127
|
-
declare type BaseButtonProps = PropsWithChildren<Partial<{
|
|
2128
|
-
onClick: Callback$1;
|
|
2129
|
-
variant: ButtonVariant;
|
|
2130
|
-
disabled: boolean;
|
|
2131
|
-
state: 'disabled' | 'enabled';
|
|
2132
|
-
fullWidth: boolean;
|
|
2133
|
-
size: 'medium' | 'small';
|
|
2134
|
-
buttonFont: FontSizesTypes$2;
|
|
2135
|
-
textColor: ThemeColors$1 | string;
|
|
2136
|
-
textSize: number;
|
|
2137
|
-
horizontalPadding: SizesTypes$1;
|
|
2138
|
-
verticalPadding: SizesTypes$1;
|
|
2139
|
-
buttonColor: ThemeColors$1 | string;
|
|
2140
|
-
buttonStroke: ThemeColors$1 | string;
|
|
2141
|
-
cornerRadius: SizesTypes$1 | number;
|
|
2142
|
-
hoverButtonColor: ThemeColors$1 | string;
|
|
2143
|
-
hoverStrokeColor: ThemeColors$1 | string;
|
|
2144
|
-
inactiveButtonColor: ThemeColors$1 | string;
|
|
2145
|
-
inactiveStrokeColor: ThemeColors$1 | string;
|
|
2146
|
-
inactiveTextColor: ThemeColors$1 | string;
|
|
2147
|
-
styles: StylesType;
|
|
2148
|
-
colorTheme: 'light' | 'dark';
|
|
2149
442
|
href: string;
|
|
2150
|
-
type: ButtonType;
|
|
2151
|
-
}>>;
|
|
2152
|
-
declare const baseButtonAllowedConfigurations: string[];
|
|
2153
|
-
declare type ButtonProps = BaseButtonProps & {
|
|
2154
|
-
fullWidth?: boolean;
|
|
2155
|
-
text?: string;
|
|
2156
|
-
link?: string;
|
|
2157
|
-
elementId?: string;
|
|
2158
|
-
loading?: boolean;
|
|
2159
|
-
isRichText?: boolean;
|
|
2160
|
-
containerStyle?: StylesType;
|
|
2161
|
-
buttonStyle?: StylesType;
|
|
2162
|
-
stateConfig?: MetadataStateConfig$1[];
|
|
2163
|
-
htmlElementId?: string;
|
|
2164
|
-
metadata?: MetadataType$1;
|
|
2165
|
-
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
2166
443
|
};
|
|
2167
|
-
declare
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
popupId: string;
|
|
2176
|
-
onClose: () => void;
|
|
2177
|
-
withCloseIcon?: boolean;
|
|
444
|
+
declare type HeaderProps = {
|
|
445
|
+
links?: ImportantLink[];
|
|
446
|
+
logoUrl: string;
|
|
447
|
+
tabs: TabGroupProps['tabs'];
|
|
448
|
+
withAvatar?: {
|
|
449
|
+
props: AvatarDropdownProps<string>;
|
|
450
|
+
};
|
|
451
|
+
onActionButtonClick?: Callback;
|
|
2178
452
|
};
|
|
2179
|
-
declare const
|
|
2180
|
-
declare const ModalWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, OverrideStyles, never>;
|
|
2181
|
-
declare const IconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
|
2182
|
-
activeOpacity?: number | undefined;
|
|
2183
|
-
withoutOpacityEffect?: boolean | undefined;
|
|
2184
|
-
disabled?: boolean | undefined;
|
|
2185
|
-
} & {
|
|
2186
|
-
children?: react__default.ReactNode;
|
|
2187
|
-
}, never>;
|
|
453
|
+
declare const Header: ({ logoUrl, links, onActionButtonClick, tabs, withAvatar }: HeaderProps) => JSX.Element;
|
|
2188
454
|
|
|
2189
|
-
declare type
|
|
2190
|
-
|
|
2191
|
-
declare type ConsentType = {
|
|
2192
|
-
id: string;
|
|
2193
|
-
name: string;
|
|
2194
|
-
acknowledgment: CustomDescendant[];
|
|
2195
|
-
methodOfCapture: ConsentCaptureMethod;
|
|
2196
|
-
description: string;
|
|
2197
|
-
language: CustomDescendant[];
|
|
2198
|
-
expiration: string;
|
|
2199
|
-
confirmationButtonText: string;
|
|
2200
|
-
rejectionButtonText: string;
|
|
2201
|
-
defaultSelection: DefaultSelectionType;
|
|
2202
|
-
value?: DefaultSelectionType | boolean;
|
|
2203
|
-
isRequired?: boolean;
|
|
455
|
+
declare type EmailAddressFields = {
|
|
456
|
+
email: string;
|
|
2204
457
|
};
|
|
2205
|
-
declare type
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
clearStyles?: boolean;
|
|
458
|
+
declare type ForgotPasswordFormProps = {
|
|
459
|
+
logoUrl: string;
|
|
460
|
+
isLoading?: boolean;
|
|
461
|
+
onSubmit?: (values: EmailAddressFields) => void;
|
|
462
|
+
onBack?: Callback;
|
|
2211
463
|
};
|
|
2212
|
-
declare const
|
|
464
|
+
declare const ForgotPasswordForm: ({ logoUrl, onBack, onSubmit, isLoading, }: ForgotPasswordFormProps) => JSX.Element;
|
|
2213
465
|
|
|
2214
|
-
declare type
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
isTrigger: boolean;
|
|
2221
|
-
onExternalLink?: () => void;
|
|
2222
|
-
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
2223
|
-
}>;
|
|
2224
|
-
declare const Link: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, configurationItemInfo, ...props }: LinkProps) => JSX.Element | null;
|
|
466
|
+
declare type DefaultTemplateProps = {
|
|
467
|
+
header: HeaderProps;
|
|
468
|
+
banner?: BannerProps;
|
|
469
|
+
renderContent: () => JSX.Element;
|
|
470
|
+
};
|
|
471
|
+
declare const DefaultTemplate: ({ banner, header, renderContent }: DefaultTemplateProps) => JSX.Element;
|
|
2225
472
|
|
|
2226
|
-
declare type
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
isRichText: boolean;
|
|
2234
|
-
};
|
|
473
|
+
declare type AuthDrawerContentType = 'sign-up' | 'sign-in' | 'set-password' | 'forgot-password';
|
|
474
|
+
declare type AuthDrawerContentProps = {
|
|
475
|
+
type: AuthDrawerContentType;
|
|
476
|
+
acquisitionFormConfig: AcquisitionFormProps<any>;
|
|
477
|
+
loginFormConfig: LoginFormProps;
|
|
478
|
+
forgotPasswordConfig: ForgotPasswordFormProps;
|
|
479
|
+
setPasswordConfig: SetPasswordFormProps;
|
|
2235
480
|
};
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
configurationItemInfo?: ConfigurationItemInfo$1;
|
|
2242
|
-
metadata: MetadataType$1;
|
|
481
|
+
|
|
482
|
+
declare type RegistrationPageProps = {
|
|
483
|
+
templateConfig: DefaultTemplateProps;
|
|
484
|
+
drawerConfig: Pick<DrawerProps, 'open' | 'onClose'>;
|
|
485
|
+
drawerContentConfig: AuthDrawerContentProps;
|
|
2243
486
|
};
|
|
2244
|
-
declare const
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
487
|
+
declare const AuthPage: ({ templateConfig, drawerContentConfig, drawerConfig, }: RegistrationPageProps) => JSX.Element;
|
|
488
|
+
|
|
489
|
+
interface Helpers {
|
|
490
|
+
goToNextStep: () => void;
|
|
491
|
+
goToPrevStep: () => void;
|
|
492
|
+
reset: () => void;
|
|
493
|
+
canGoToNextStep: boolean;
|
|
494
|
+
canGoToPrevStep: boolean;
|
|
495
|
+
setStep: Dispatch<SetStateAction<number>>;
|
|
496
|
+
}
|
|
497
|
+
declare const useStep: (maxStep: number) => [number, Helpers];
|
|
2248
498
|
|
|
2249
|
-
export {
|
|
499
|
+
export { AcquisitionForm, AcquisitionFormProps, AuthMethod, AuthPage, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, Banner, BannerProps, BaseButtonProps, Button, ButtonProps, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, Drawer, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, ForgotPasswordForm, ForgotPasswordFormProps, Header, HeaderProps, HorizontalPadding, HorizontalPaddingProps, Icon, IconNames, IconProps, Image, ImageProps, InfoBox, InfoBoxProps, Input, InputField, InputFieldProps, InputIconProps, InputProps, LinkButton, LinkButtonProps, LoginForm, LoginFormProps, MenuItem, MenuItems, MenuItemsProps, RegistrationPageProps, Select, SelectField, SelectFieldProps, SelectableCardGroup, SelectableCardGroupProps, SetPasswordForm, SetPasswordFormProps, SizesTypes, Spacer, SpacerProps, Spinner, StyleWrapper, TabGroup, TabGroupProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, ZealThemeProvider, defaultTheme, toast, useStep };
|