@zealicsolutions/web-ui 0.2.143 → 0.2.267
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 +34 -34
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/src/atoms/Avatar/Avatar.d.ts +0 -1
- package/dist/cjs/src/atoms/Avatar/Avatar.stories.d.ts +0 -1
- package/dist/cjs/src/atoms/Buttons/Buttons.stories.d.ts +7 -4
- package/dist/cjs/src/atoms/Buttons/IconButton.d.ts +0 -1
- package/dist/cjs/src/atoms/Buttons/TextButton.d.ts +16 -8
- package/dist/cjs/src/atoms/Checkbox/Checkbox.d.ts +9 -10
- package/dist/cjs/src/atoms/Checkbox/Checkbox.stories.d.ts +1 -2
- package/dist/cjs/src/atoms/Circle/Circle.d.ts +0 -1
- package/dist/cjs/src/atoms/Circle/Circle.stories.d.ts +0 -1
- package/dist/cjs/src/atoms/CircularIndicator/CircularIndicator.d.ts +0 -1
- package/dist/cjs/src/atoms/CircularIndicator/CircularIndicator.stories.d.ts +0 -1
- package/dist/cjs/src/atoms/HorizontalButtons/HorizontalButtons.d.ts +0 -1
- package/dist/cjs/src/atoms/HorizontalButtons/HorizontalButtons.stories.d.ts +0 -1
- package/dist/cjs/src/atoms/Icon/Icon.d.ts +0 -1
- package/dist/cjs/src/atoms/Icon/Icon.stories.d.ts +0 -1
- package/dist/cjs/src/atoms/Input/Input.d.ts +17 -15
- package/dist/cjs/src/atoms/Input/Input.stories.d.ts +27 -1
- package/dist/cjs/src/atoms/Input/helpers.d.ts +32 -6
- package/dist/cjs/src/atoms/Paddings/Paddings.d.ts +3 -3
- package/dist/cjs/src/atoms/RadioButtons/RadioButtons.d.ts +0 -1
- package/dist/cjs/src/atoms/RadioButtons/RadioButtons.stories.d.ts +0 -1
- package/dist/cjs/src/atoms/RadioButtons/RadioOption.d.ts +0 -1
- package/dist/cjs/src/atoms/RadioButtons/helpers.d.ts +2 -0
- package/dist/cjs/src/atoms/RadioButtons/styles.d.ts +1 -0
- package/dist/cjs/src/atoms/RegularImage/RegularImage.d.ts +5 -5
- package/dist/cjs/src/atoms/RegularImage/RegularImage.stories.d.ts +1 -1
- package/dist/cjs/src/atoms/RichTextViewer/RichTextViewer.d.ts +11 -5
- package/dist/cjs/src/atoms/RichTextViewer/components/EditorElement.d.ts +4 -2
- package/dist/cjs/src/atoms/RichTextViewer/components/Leaf.d.ts +0 -1
- package/dist/cjs/src/atoms/Select/Select.d.ts +2 -3
- package/dist/cjs/src/atoms/Select/Select.stories.d.ts +1 -2
- package/dist/cjs/src/atoms/Select/styles.d.ts +1 -0
- package/dist/cjs/src/atoms/Tab/Tab.d.ts +1 -1
- package/dist/cjs/src/atoms/Tab/Tab.stories.d.ts +1 -1
- package/dist/cjs/src/atoms/Tab/styles.d.ts +0 -1
- package/dist/cjs/src/atoms/TextWrapper/TextWrapper.d.ts +1 -0
- package/dist/cjs/src/atoms/TextWrapper/TextWrapper.stories.d.ts +0 -1
- package/dist/cjs/src/atoms/Toast/ToastContent.d.ts +0 -1
- package/dist/cjs/src/atoms/Tooltip/Tooltip.d.ts +0 -1
- package/dist/cjs/src/atoms/ValidationTag/ValidationTag.d.ts +0 -1
- package/dist/cjs/src/atoms/ValidationTag/ValidationTag.stories.d.ts +0 -1
- package/dist/cjs/src/constants/params.d.ts +8 -0
- package/dist/cjs/src/containers/Container.d.ts +83 -3
- package/dist/cjs/src/containers/Container.stories.d.ts +2 -1
- package/dist/cjs/src/containers/FormContainer.d.ts +3 -1
- package/dist/cjs/src/containers/FormOrganismItem.d.ts +11 -0
- package/dist/cjs/src/containers/FormStepContainer.d.ts +9 -0
- package/dist/cjs/src/containers/MoleculeItem.d.ts +5 -6
- package/dist/cjs/src/containers/OrganismItem.d.ts +11 -4
- package/dist/cjs/src/containers/helpers.d.ts +5 -1
- package/dist/cjs/src/containers/hooks/index.d.ts +3 -0
- package/dist/cjs/src/containers/hooks/useCheckCondition.d.ts +16 -0
- package/dist/cjs/src/containers/hooks/useCheckCondition.test.d.ts +1 -0
- package/dist/cjs/src/containers/hooks/useFormOrganismItem.d.ts +3 -0
- package/dist/cjs/src/containers/hooks/useSetFormData.d.ts +10 -0
- package/dist/cjs/src/containers/hooks/useStateListenerValue.d.ts +18 -0
- package/dist/cjs/src/containers/hooks/useStateModifierHandler.d.ts +7 -0
- package/dist/cjs/src/containers/hooks/useStateViewModifierHandler.d.ts +2 -0
- package/dist/cjs/src/containers/index.d.ts +2 -1
- package/dist/cjs/src/containers/mock-data.d.ts +1151 -2
- package/dist/cjs/src/containers/styles.d.ts +32 -6
- package/dist/cjs/src/containers/types/moleculeTypes.d.ts +200 -43
- package/dist/cjs/src/containers/types/types.d.ts +107 -15
- package/dist/cjs/src/contexts/AccountButtonContext/AccountButtonContext.d.ts +14 -0
- package/dist/cjs/src/contexts/AccountButtonContext/AccountButtonContextProvider.d.ts +9 -0
- package/dist/cjs/src/contexts/ButtonActionsContext/ButtonActionsContext.d.ts +2 -1
- package/dist/cjs/src/contexts/ButtonActionsContext/ButtonActionsContextProvider.d.ts +18 -3
- package/dist/cjs/src/contexts/FormStepContext/FormStepContext.d.ts +13 -0
- package/dist/cjs/src/contexts/FormStepContext/FormStepContextProvider.d.ts +5 -0
- package/dist/cjs/src/contexts/FormStepContext/utils.d.ts +2 -0
- package/dist/cjs/src/contexts/OrganismContext/OrganismContext.d.ts +33 -0
- package/dist/cjs/src/contexts/OrganismContext/OrganismContextProvider.d.ts +31 -0
- package/dist/cjs/src/contexts/OrganismContext/utils.d.ts +5 -0
- package/dist/cjs/src/contexts/StateContext/StateContext.d.ts +7 -0
- package/dist/cjs/src/contexts/StateContext/StateContextProvider.d.ts +7 -0
- package/dist/cjs/src/contexts/hooks/index.d.ts +6 -0
- package/dist/cjs/src/contexts/hooks/useAccountButtonContext.d.ts +6 -0
- package/dist/cjs/src/contexts/hooks/useFormStepContext.d.ts +1 -0
- package/dist/cjs/src/contexts/hooks/useOrganismContext.d.ts +1 -0
- package/dist/cjs/src/contexts/hooks/useStateContext.d.ts +1 -0
- package/dist/cjs/src/contexts/index.d.ts +6 -0
- package/dist/cjs/src/fieldsConfiguration/mock.d.ts +2 -0
- package/dist/cjs/src/fieldsConfiguration/types.d.ts +2 -2
- package/dist/cjs/src/helpers/styles.d.ts +1 -1
- package/dist/cjs/src/helpers/utils.d.ts +13 -0
- package/dist/cjs/src/helpers/validations.d.ts +9 -1
- package/dist/cjs/src/icons/ArrowRight.d.ts +0 -1
- package/dist/cjs/src/icons/Bell.d.ts +0 -1
- package/dist/cjs/src/icons/Bookmark.d.ts +0 -1
- package/dist/cjs/src/icons/CaretDown.d.ts +0 -1
- package/dist/cjs/src/icons/CaretLeft.d.ts +0 -1
- package/dist/cjs/src/icons/CaretRight.d.ts +0 -1
- package/dist/cjs/src/icons/CaretUp.d.ts +0 -1
- package/dist/cjs/src/icons/Check.d.ts +0 -1
- package/dist/cjs/src/icons/Close.d.ts +0 -1
- package/dist/cjs/src/icons/Edit.d.ts +0 -1
- package/dist/cjs/src/icons/Filter.d.ts +0 -1
- package/dist/cjs/src/icons/Hide.d.ts +0 -1
- package/dist/cjs/src/icons/Info.d.ts +0 -1
- package/dist/cjs/src/icons/InfoBoxIcon.d.ts +0 -1
- package/dist/cjs/src/icons/Mail.d.ts +0 -1
- package/dist/cjs/src/icons/Menu.d.ts +0 -1
- package/dist/cjs/src/icons/Minus.d.ts +0 -1
- package/dist/cjs/src/icons/Mobile.d.ts +0 -1
- package/dist/cjs/src/icons/Play.d.ts +0 -1
- package/dist/cjs/src/icons/Save.d.ts +0 -1
- package/dist/cjs/src/icons/Search.d.ts +0 -1
- package/dist/cjs/src/icons/View.d.ts +0 -1
- package/dist/cjs/src/icons/Warning.d.ts +0 -1
- package/dist/cjs/src/molecules/Alert/Alert.d.ts +0 -1
- package/dist/cjs/src/molecules/Alert/Alert.stories.d.ts +0 -1
- package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +5 -3
- package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.stories.d.ts +1 -2
- package/dist/cjs/src/molecules/BottomNavBarItem/BottomNavBarItem.d.ts +1 -1
- package/dist/cjs/src/molecules/BottomNavBarItem/BottomNavBarItem.stories.d.ts +1 -2
- package/dist/cjs/src/molecules/Button/Button.d.ts +32 -26
- package/dist/cjs/src/molecules/Button/Button.stories.d.ts +1 -2
- package/dist/cjs/src/molecules/Caruser/Carousel.d.ts +3 -1
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.d.ts +12 -4
- package/dist/cjs/src/molecules/CheckboxField/CheckboxField.stories.d.ts +10 -3
- package/dist/cjs/src/molecules/CheckboxField/CheckboxGroup.d.ts +0 -1
- package/dist/cjs/src/molecules/CheckboxField/CheckboxGroup.stories.d.ts +32 -0
- package/dist/cjs/src/molecules/Checklist/Checklist.d.ts +26 -0
- package/dist/cjs/src/molecules/Checklist/Checklist.stories.d.ts +8 -0
- package/dist/cjs/src/molecules/Columns/Column.d.ts +1 -2
- package/dist/cjs/src/molecules/Columns/ColumnImage.d.ts +0 -1
- package/dist/cjs/src/molecules/Columns/Columns.stories.d.ts +0 -1
- package/dist/cjs/src/molecules/Columns/styles.d.ts +8 -5
- package/dist/cjs/src/molecules/Columns/useAnnotationCircle.d.ts +0 -1
- package/dist/cjs/src/molecules/Consent/Consent.d.ts +27 -0
- package/dist/cjs/src/{organisms → molecules}/Consent/Consent.stories.d.ts +2 -3
- package/dist/{esm/src/organisms → cjs/src/molecules}/Consent/ConsentCapture.d.ts +2 -2
- package/dist/cjs/src/molecules/Consent/ConsentMolecule.d.ts +11 -0
- package/dist/{esm/src/organisms → cjs/src/molecules}/Consent/consentMock.d.ts +2 -2
- package/dist/cjs/src/molecules/CustomValidation/CustomValidation.d.ts +4 -2
- package/dist/cjs/src/molecules/CustomValidation/CustomValidation.stories.d.ts +1 -2
- package/dist/cjs/src/molecules/Drawer/Drawer.d.ts +1 -1
- package/dist/cjs/src/molecules/Drawer/Drawer.stories.d.ts +1 -1
- package/dist/cjs/src/molecules/Drawer/styles.d.ts +4 -2
- package/dist/cjs/src/molecules/EmphasizedText/EmphasizedText.d.ts +0 -1
- package/dist/cjs/src/molecules/EmphasizedText/EmphasizedText.stories.d.ts +0 -1
- package/dist/cjs/src/molecules/FeedContentHeader/FeedContentHeader.d.ts +0 -1
- package/dist/cjs/src/molecules/FeedContentHeader/FeedContentHeader.stories.d.ts +0 -1
- package/dist/cjs/src/molecules/FieldLabels/FieldLabels.d.ts +2 -3
- package/dist/cjs/src/molecules/FieldLabels/FieldLabels.stories.d.ts +0 -1
- package/dist/cjs/src/molecules/FieldMapper/FieldMapper.d.ts +0 -1
- package/dist/cjs/src/molecules/FieldSection/FieldSection.d.ts +0 -1
- package/dist/cjs/src/molecules/FieldSection/FieldSection.stories.d.ts +0 -1
- package/dist/cjs/src/molecules/HeroImage/HeroImage.d.ts +0 -1
- package/dist/cjs/src/molecules/HeroImage/HeroImage.stories.d.ts +0 -1
- package/dist/cjs/src/molecules/HorizontalButtonsField/HorizontalButtonsField.d.ts +0 -1
- package/dist/cjs/src/molecules/HorizontalButtonsField/HorizontalButtonsField.stories.d.ts +0 -1
- package/dist/cjs/src/molecules/Image/Image.d.ts +8 -4
- package/dist/cjs/src/molecules/Image/Image.stories.d.ts +1 -2
- package/dist/cjs/src/molecules/InputField/InputField.d.ts +9 -4
- package/dist/cjs/src/molecules/InputField/InputField.stories.d.ts +33 -3
- package/dist/cjs/src/molecules/Link/Link.d.ts +13 -0
- package/dist/cjs/src/molecules/Link/Link.stories.d.ts +8 -0
- package/dist/cjs/src/molecules/MenuItems/MenuItem.d.ts +20 -0
- package/dist/cjs/src/molecules/MenuItems/MenuItems.d.ts +7 -8
- package/dist/cjs/src/molecules/MenuItems/MenuItems.stories.d.ts +1 -2
- package/dist/cjs/src/molecules/MenuNavigation/MenuNavigation.d.ts +4 -2
- package/dist/cjs/src/molecules/MenuNavigation/MenuNavigation.stories.d.ts +1 -2
- package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.d.ts +25 -0
- package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +8 -0
- package/dist/cjs/src/molecules/PdfDocument/PdfDocument.d.ts +0 -1
- package/dist/cjs/src/molecules/PdfDocument/PdfDocument.stories.d.ts +0 -1
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.d.ts +18 -4
- package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +9 -3
- package/dist/cjs/src/molecules/SelectField/SelectField.d.ts +8 -2
- package/dist/cjs/src/molecules/SelectField/SelectField.stories.d.ts +7 -3
- package/dist/cjs/src/molecules/SelectableInfoCard/BaseSelectable.d.ts +0 -1
- package/dist/cjs/src/molecules/SelectableInfoCard/SelectableCardGroup.d.ts +0 -1
- package/dist/cjs/src/molecules/SelectableInfoCard/SelectableInfoCard.stories.d.ts +0 -1
- package/dist/cjs/src/molecules/SelectableInfoCard/styles.d.ts +0 -1
- package/dist/cjs/src/molecules/SettingsSelectionField/SettingsSelectionField.d.ts +0 -1
- package/dist/cjs/src/molecules/SettingsSelectionField/SettingsSelectionField.stories.d.ts +0 -1
- package/dist/cjs/src/molecules/Stepper/Step.d.ts +4 -9
- package/dist/cjs/src/molecules/Stepper/Stepper.d.ts +10 -11
- package/dist/cjs/src/molecules/Stepper/Stepper.stories.d.ts +8 -0
- package/dist/cjs/src/molecules/Stepper/styles.d.ts +1 -1
- package/dist/cjs/src/molecules/TabGroup/TabGroup.d.ts +7 -3
- package/dist/cjs/src/molecules/TabGroup/TabGroup.stories.d.ts +1 -2
- package/dist/cjs/src/molecules/TabGroup/styles.d.ts +1 -1
- package/dist/cjs/src/molecules/TextMolecule/TextMolecule.d.ts +5 -3
- package/dist/cjs/src/molecules/TextMolecule/TextMolecule.stories.d.ts +1 -2
- package/dist/cjs/src/molecules/Video/Video.d.ts +10 -2
- package/dist/cjs/src/molecules/Video/Video.stories.d.ts +1 -2
- package/dist/cjs/src/molecules/ZealUIModal/ZealUIModal.d.ts +6 -3
- package/dist/cjs/src/molecules/ZealUIModal/ZealUIModal.stories.d.ts +1 -2
- package/dist/cjs/src/molecules/index.d.ts +3 -0
- package/dist/cjs/src/organisms/AccountInformation/AccountInformation.d.ts +0 -1
- package/dist/cjs/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +1 -2
- package/dist/cjs/src/organisms/AcquisitionForm/AcquisitionForm.stories.d.ts +2 -3
- package/dist/cjs/src/organisms/Body/Body.d.ts +0 -1
- package/dist/cjs/src/organisms/Body/Body.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.d.ts +0 -1
- package/dist/cjs/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/DynamicContentZone/DynamicContentZone.d.ts +0 -1
- package/dist/cjs/src/organisms/DynamicContentZone/DynamicContentZone.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/FeedContent/FeedContent.d.ts +0 -1
- package/dist/cjs/src/organisms/FeedContent/FeedContent.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/FeedContent/components/BackToFeedButton.d.ts +0 -1
- package/dist/cjs/src/organisms/FeedContent/components/ExpandedContent.d.ts +0 -1
- package/dist/cjs/src/organisms/FeedContent/components/FullWidthContentTemplate.d.ts +0 -1
- package/dist/cjs/src/organisms/FeedContent/components/StandardContentTemplate.d.ts +0 -1
- package/dist/cjs/src/organisms/FeedContent/styles.d.ts +1 -1
- package/dist/cjs/src/organisms/FeedContentContainer/FeedContentContainer.d.ts +0 -1
- package/dist/cjs/src/organisms/FeedContentContainer/FeedContentContainer.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/Footer/Footer.d.ts +0 -1
- package/dist/cjs/src/organisms/Footer/Footer.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/Footer/FooterA.d.ts +0 -1
- package/dist/cjs/src/organisms/Footer/FooterB.d.ts +0 -1
- package/dist/cjs/src/organisms/Footer/FooterC.d.ts +0 -1
- package/dist/cjs/src/organisms/Footer/FooterD.d.ts +0 -1
- package/dist/cjs/src/organisms/Footer/shared.d.ts +0 -1
- package/dist/cjs/src/organisms/Footer/styles.d.ts +1 -1
- package/dist/cjs/src/organisms/ForgotPasswordForm/ForgotPasswordForm.d.ts +0 -1
- package/dist/cjs/src/organisms/ForgotPasswordForm/ForgotPasswordForm.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/Header/Header.d.ts +0 -1
- package/dist/cjs/src/organisms/Header/Header.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/Header/HeaderA.d.ts +0 -1
- package/dist/cjs/src/organisms/Header/HeaderB.d.ts +0 -1
- package/dist/cjs/src/organisms/Header/HeaderC.d.ts +0 -1
- package/dist/cjs/src/organisms/Header/HeaderD.d.ts +0 -1
- package/dist/cjs/src/organisms/Header/HeaderMobileNavigation.d.ts +0 -1
- package/dist/cjs/src/organisms/Header/styles.d.ts +0 -1
- package/dist/cjs/src/organisms/HeroSlider/HeroSlider.d.ts +0 -1
- package/dist/cjs/src/organisms/HeroSlider/HeroSlider.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/ISI/ISI.d.ts +0 -1
- package/dist/cjs/src/organisms/ISI/ISI.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/ISI/ISIA.d.ts +0 -1
- package/dist/cjs/src/organisms/LoginForm/LoginForm.d.ts +1 -2
- package/dist/cjs/src/organisms/LoginForm/LoginForm.stories.d.ts +2 -3
- package/dist/cjs/src/organisms/ProcessTracker/ProcessTracker.d.ts +2 -3
- package/dist/cjs/src/organisms/ProcessTracker/ProcessTracker.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/ProfileInformation/ProfileInformation.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/SetPasswordForm/SetPasswordForm.d.ts +0 -1
- package/dist/cjs/src/organisms/SetPasswordForm/SetPasswordForm.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/SubscribePanel/SubscribePanel.d.ts +0 -1
- package/dist/cjs/src/organisms/SubscribePanel/SubscribePanel.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/SubscribePanel/SubscribePanelA.d.ts +0 -1
- package/dist/cjs/src/organisms/SubscribePanel/SubscribePanelB.d.ts +0 -1
- package/dist/cjs/src/organisms/TwoFactorAuth/TwoFactorAuth.d.ts +0 -1
- package/dist/cjs/src/organisms/TwoFactorAuth/TwoFactorAuth.stories.d.ts +0 -1
- package/dist/cjs/src/organisms/index.d.ts +0 -1
- package/dist/cjs/src/templates/DefaultTemplate/DefaultTemplate.stories.d.ts +0 -1
- package/dist/cjs/src/templates/DefaultTemplate/mockProps.d.ts +0 -1
- package/dist/esm/index.js +34 -34
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/atoms/Avatar/Avatar.d.ts +0 -1
- package/dist/esm/src/atoms/Avatar/Avatar.stories.d.ts +0 -1
- package/dist/esm/src/atoms/Buttons/Buttons.stories.d.ts +7 -4
- package/dist/esm/src/atoms/Buttons/IconButton.d.ts +0 -1
- package/dist/esm/src/atoms/Buttons/TextButton.d.ts +16 -8
- package/dist/esm/src/atoms/Checkbox/Checkbox.d.ts +9 -10
- package/dist/esm/src/atoms/Checkbox/Checkbox.stories.d.ts +1 -2
- package/dist/esm/src/atoms/Circle/Circle.d.ts +0 -1
- package/dist/esm/src/atoms/Circle/Circle.stories.d.ts +0 -1
- package/dist/esm/src/atoms/CircularIndicator/CircularIndicator.d.ts +0 -1
- package/dist/esm/src/atoms/CircularIndicator/CircularIndicator.stories.d.ts +0 -1
- package/dist/esm/src/atoms/HorizontalButtons/HorizontalButtons.d.ts +0 -1
- package/dist/esm/src/atoms/HorizontalButtons/HorizontalButtons.stories.d.ts +0 -1
- package/dist/esm/src/atoms/Icon/Icon.d.ts +0 -1
- package/dist/esm/src/atoms/Icon/Icon.stories.d.ts +0 -1
- package/dist/esm/src/atoms/Input/Input.d.ts +17 -15
- package/dist/esm/src/atoms/Input/Input.stories.d.ts +27 -1
- package/dist/esm/src/atoms/Input/helpers.d.ts +32 -6
- package/dist/esm/src/atoms/Paddings/Paddings.d.ts +3 -3
- package/dist/esm/src/atoms/RadioButtons/RadioButtons.d.ts +0 -1
- package/dist/esm/src/atoms/RadioButtons/RadioButtons.stories.d.ts +0 -1
- package/dist/esm/src/atoms/RadioButtons/RadioOption.d.ts +0 -1
- package/dist/esm/src/atoms/RadioButtons/helpers.d.ts +2 -0
- package/dist/esm/src/atoms/RadioButtons/styles.d.ts +1 -0
- package/dist/esm/src/atoms/RegularImage/RegularImage.d.ts +5 -5
- package/dist/esm/src/atoms/RegularImage/RegularImage.stories.d.ts +1 -1
- package/dist/esm/src/atoms/RichTextViewer/RichTextViewer.d.ts +11 -5
- package/dist/esm/src/atoms/RichTextViewer/components/EditorElement.d.ts +4 -2
- package/dist/esm/src/atoms/RichTextViewer/components/Leaf.d.ts +0 -1
- package/dist/esm/src/atoms/Select/Select.d.ts +2 -3
- package/dist/esm/src/atoms/Select/Select.stories.d.ts +1 -2
- package/dist/esm/src/atoms/Select/styles.d.ts +1 -0
- package/dist/esm/src/atoms/Tab/Tab.d.ts +1 -1
- package/dist/esm/src/atoms/Tab/Tab.stories.d.ts +1 -1
- package/dist/esm/src/atoms/Tab/styles.d.ts +0 -1
- package/dist/esm/src/atoms/TextWrapper/TextWrapper.d.ts +1 -0
- package/dist/esm/src/atoms/TextWrapper/TextWrapper.stories.d.ts +0 -1
- package/dist/esm/src/atoms/Toast/ToastContent.d.ts +0 -1
- package/dist/esm/src/atoms/Tooltip/Tooltip.d.ts +0 -1
- package/dist/esm/src/atoms/ValidationTag/ValidationTag.d.ts +0 -1
- package/dist/esm/src/atoms/ValidationTag/ValidationTag.stories.d.ts +0 -1
- package/dist/esm/src/constants/params.d.ts +8 -0
- package/dist/esm/src/containers/Container.d.ts +83 -3
- package/dist/esm/src/containers/Container.stories.d.ts +2 -1
- package/dist/esm/src/containers/FormContainer.d.ts +3 -1
- package/dist/esm/src/containers/FormOrganismItem.d.ts +11 -0
- package/dist/esm/src/containers/FormStepContainer.d.ts +9 -0
- package/dist/esm/src/containers/MoleculeItem.d.ts +5 -6
- package/dist/esm/src/containers/OrganismItem.d.ts +11 -4
- package/dist/esm/src/containers/helpers.d.ts +5 -1
- package/dist/esm/src/containers/hooks/index.d.ts +3 -0
- package/dist/esm/src/containers/hooks/useCheckCondition.d.ts +16 -0
- package/dist/esm/src/containers/hooks/useCheckCondition.test.d.ts +1 -0
- package/dist/esm/src/containers/hooks/useFormOrganismItem.d.ts +3 -0
- package/dist/esm/src/containers/hooks/useSetFormData.d.ts +10 -0
- package/dist/esm/src/containers/hooks/useStateListenerValue.d.ts +18 -0
- package/dist/esm/src/containers/hooks/useStateModifierHandler.d.ts +7 -0
- package/dist/esm/src/containers/hooks/useStateViewModifierHandler.d.ts +2 -0
- package/dist/esm/src/containers/index.d.ts +2 -1
- package/dist/esm/src/containers/mock-data.d.ts +1151 -2
- package/dist/esm/src/containers/styles.d.ts +32 -6
- package/dist/esm/src/containers/types/moleculeTypes.d.ts +200 -43
- package/dist/esm/src/containers/types/types.d.ts +107 -15
- package/dist/esm/src/contexts/AccountButtonContext/AccountButtonContext.d.ts +14 -0
- package/dist/esm/src/contexts/AccountButtonContext/AccountButtonContextProvider.d.ts +9 -0
- package/dist/esm/src/contexts/ButtonActionsContext/ButtonActionsContext.d.ts +2 -1
- package/dist/esm/src/contexts/ButtonActionsContext/ButtonActionsContextProvider.d.ts +18 -3
- package/dist/esm/src/contexts/FormStepContext/FormStepContext.d.ts +13 -0
- package/dist/esm/src/contexts/FormStepContext/FormStepContextProvider.d.ts +5 -0
- package/dist/esm/src/contexts/FormStepContext/utils.d.ts +2 -0
- package/dist/esm/src/contexts/OrganismContext/OrganismContext.d.ts +33 -0
- package/dist/esm/src/contexts/OrganismContext/OrganismContextProvider.d.ts +31 -0
- package/dist/esm/src/contexts/OrganismContext/utils.d.ts +5 -0
- package/dist/esm/src/contexts/StateContext/StateContext.d.ts +7 -0
- package/dist/esm/src/contexts/StateContext/StateContextProvider.d.ts +7 -0
- package/dist/esm/src/contexts/hooks/index.d.ts +6 -0
- package/dist/esm/src/contexts/hooks/useAccountButtonContext.d.ts +6 -0
- package/dist/esm/src/contexts/hooks/useFormStepContext.d.ts +1 -0
- package/dist/esm/src/contexts/hooks/useOrganismContext.d.ts +1 -0
- package/dist/esm/src/contexts/hooks/useStateContext.d.ts +1 -0
- package/dist/esm/src/contexts/index.d.ts +6 -0
- package/dist/esm/src/fieldsConfiguration/mock.d.ts +2 -0
- package/dist/esm/src/fieldsConfiguration/types.d.ts +2 -2
- package/dist/esm/src/helpers/styles.d.ts +1 -1
- package/dist/esm/src/helpers/utils.d.ts +13 -0
- package/dist/esm/src/helpers/validations.d.ts +9 -1
- package/dist/esm/src/icons/ArrowRight.d.ts +0 -1
- package/dist/esm/src/icons/Bell.d.ts +0 -1
- package/dist/esm/src/icons/Bookmark.d.ts +0 -1
- package/dist/esm/src/icons/CaretDown.d.ts +0 -1
- package/dist/esm/src/icons/CaretLeft.d.ts +0 -1
- package/dist/esm/src/icons/CaretRight.d.ts +0 -1
- package/dist/esm/src/icons/CaretUp.d.ts +0 -1
- package/dist/esm/src/icons/Check.d.ts +0 -1
- package/dist/esm/src/icons/Close.d.ts +0 -1
- package/dist/esm/src/icons/Edit.d.ts +0 -1
- package/dist/esm/src/icons/Filter.d.ts +0 -1
- package/dist/esm/src/icons/Hide.d.ts +0 -1
- package/dist/esm/src/icons/Info.d.ts +0 -1
- package/dist/esm/src/icons/InfoBoxIcon.d.ts +0 -1
- package/dist/esm/src/icons/Mail.d.ts +0 -1
- package/dist/esm/src/icons/Menu.d.ts +0 -1
- package/dist/esm/src/icons/Minus.d.ts +0 -1
- package/dist/esm/src/icons/Mobile.d.ts +0 -1
- package/dist/esm/src/icons/Play.d.ts +0 -1
- package/dist/esm/src/icons/Save.d.ts +0 -1
- package/dist/esm/src/icons/Search.d.ts +0 -1
- package/dist/esm/src/icons/View.d.ts +0 -1
- package/dist/esm/src/icons/Warning.d.ts +0 -1
- package/dist/esm/src/molecules/Alert/Alert.d.ts +0 -1
- package/dist/esm/src/molecules/Alert/Alert.stories.d.ts +0 -1
- package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +5 -3
- package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.stories.d.ts +1 -2
- package/dist/esm/src/molecules/BottomNavBarItem/BottomNavBarItem.d.ts +1 -1
- package/dist/esm/src/molecules/BottomNavBarItem/BottomNavBarItem.stories.d.ts +1 -2
- package/dist/esm/src/molecules/Button/Button.d.ts +32 -26
- package/dist/esm/src/molecules/Button/Button.stories.d.ts +1 -2
- package/dist/esm/src/molecules/Caruser/Carousel.d.ts +3 -1
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.d.ts +12 -4
- package/dist/esm/src/molecules/CheckboxField/CheckboxField.stories.d.ts +10 -3
- package/dist/esm/src/molecules/CheckboxField/CheckboxGroup.d.ts +0 -1
- package/dist/esm/src/molecules/CheckboxField/CheckboxGroup.stories.d.ts +32 -0
- package/dist/esm/src/molecules/Checklist/Checklist.d.ts +26 -0
- package/dist/esm/src/molecules/Checklist/Checklist.stories.d.ts +8 -0
- package/dist/esm/src/molecules/Columns/Column.d.ts +1 -2
- package/dist/esm/src/molecules/Columns/ColumnImage.d.ts +0 -1
- package/dist/esm/src/molecules/Columns/Columns.stories.d.ts +0 -1
- package/dist/esm/src/molecules/Columns/styles.d.ts +8 -5
- package/dist/esm/src/molecules/Columns/useAnnotationCircle.d.ts +0 -1
- package/dist/esm/src/molecules/Consent/Consent.d.ts +27 -0
- package/dist/esm/src/{organisms → molecules}/Consent/Consent.stories.d.ts +2 -3
- package/dist/{cjs/src/organisms → esm/src/molecules}/Consent/ConsentCapture.d.ts +2 -2
- package/dist/esm/src/molecules/Consent/ConsentMolecule.d.ts +11 -0
- package/dist/{cjs/src/organisms → esm/src/molecules}/Consent/consentMock.d.ts +2 -2
- package/dist/esm/src/molecules/CustomValidation/CustomValidation.d.ts +4 -2
- package/dist/esm/src/molecules/CustomValidation/CustomValidation.stories.d.ts +1 -2
- package/dist/esm/src/molecules/Drawer/Drawer.d.ts +1 -1
- package/dist/esm/src/molecules/Drawer/Drawer.stories.d.ts +1 -1
- package/dist/esm/src/molecules/Drawer/styles.d.ts +4 -2
- package/dist/esm/src/molecules/EmphasizedText/EmphasizedText.d.ts +0 -1
- package/dist/esm/src/molecules/EmphasizedText/EmphasizedText.stories.d.ts +0 -1
- package/dist/esm/src/molecules/FeedContentHeader/FeedContentHeader.d.ts +0 -1
- package/dist/esm/src/molecules/FeedContentHeader/FeedContentHeader.stories.d.ts +0 -1
- package/dist/esm/src/molecules/FieldLabels/FieldLabels.d.ts +2 -3
- package/dist/esm/src/molecules/FieldLabels/FieldLabels.stories.d.ts +0 -1
- package/dist/esm/src/molecules/FieldMapper/FieldMapper.d.ts +0 -1
- package/dist/esm/src/molecules/FieldSection/FieldSection.d.ts +0 -1
- package/dist/esm/src/molecules/FieldSection/FieldSection.stories.d.ts +0 -1
- package/dist/esm/src/molecules/HeroImage/HeroImage.d.ts +0 -1
- package/dist/esm/src/molecules/HeroImage/HeroImage.stories.d.ts +0 -1
- package/dist/esm/src/molecules/HorizontalButtonsField/HorizontalButtonsField.d.ts +0 -1
- package/dist/esm/src/molecules/HorizontalButtonsField/HorizontalButtonsField.stories.d.ts +0 -1
- package/dist/esm/src/molecules/Image/Image.d.ts +8 -4
- package/dist/esm/src/molecules/Image/Image.stories.d.ts +1 -2
- package/dist/esm/src/molecules/InputField/InputField.d.ts +9 -4
- package/dist/esm/src/molecules/InputField/InputField.stories.d.ts +33 -3
- package/dist/esm/src/molecules/Link/Link.d.ts +13 -0
- package/dist/esm/src/molecules/Link/Link.stories.d.ts +8 -0
- package/dist/esm/src/molecules/MenuItems/MenuItem.d.ts +20 -0
- package/dist/esm/src/molecules/MenuItems/MenuItems.d.ts +7 -8
- package/dist/esm/src/molecules/MenuItems/MenuItems.stories.d.ts +1 -2
- package/dist/esm/src/molecules/MenuNavigation/MenuNavigation.d.ts +4 -2
- package/dist/esm/src/molecules/MenuNavigation/MenuNavigation.stories.d.ts +1 -2
- package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.d.ts +25 -0
- package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +8 -0
- package/dist/esm/src/molecules/PdfDocument/PdfDocument.d.ts +0 -1
- package/dist/esm/src/molecules/PdfDocument/PdfDocument.stories.d.ts +0 -1
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.d.ts +18 -4
- package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +9 -3
- package/dist/esm/src/molecules/SelectField/SelectField.d.ts +8 -2
- package/dist/esm/src/molecules/SelectField/SelectField.stories.d.ts +7 -3
- package/dist/esm/src/molecules/SelectableInfoCard/BaseSelectable.d.ts +0 -1
- package/dist/esm/src/molecules/SelectableInfoCard/SelectableCardGroup.d.ts +0 -1
- package/dist/esm/src/molecules/SelectableInfoCard/SelectableInfoCard.stories.d.ts +0 -1
- package/dist/esm/src/molecules/SelectableInfoCard/styles.d.ts +0 -1
- package/dist/esm/src/molecules/SettingsSelectionField/SettingsSelectionField.d.ts +0 -1
- package/dist/esm/src/molecules/SettingsSelectionField/SettingsSelectionField.stories.d.ts +0 -1
- package/dist/esm/src/molecules/Stepper/Step.d.ts +4 -9
- package/dist/esm/src/molecules/Stepper/Stepper.d.ts +10 -11
- package/dist/esm/src/molecules/Stepper/Stepper.stories.d.ts +8 -0
- package/dist/esm/src/molecules/Stepper/styles.d.ts +1 -1
- package/dist/esm/src/molecules/TabGroup/TabGroup.d.ts +7 -3
- package/dist/esm/src/molecules/TabGroup/TabGroup.stories.d.ts +1 -2
- package/dist/esm/src/molecules/TabGroup/styles.d.ts +1 -1
- package/dist/esm/src/molecules/TextMolecule/TextMolecule.d.ts +5 -3
- package/dist/esm/src/molecules/TextMolecule/TextMolecule.stories.d.ts +1 -2
- package/dist/esm/src/molecules/Video/Video.d.ts +10 -2
- package/dist/esm/src/molecules/Video/Video.stories.d.ts +1 -2
- package/dist/esm/src/molecules/ZealUIModal/ZealUIModal.d.ts +6 -3
- package/dist/esm/src/molecules/ZealUIModal/ZealUIModal.stories.d.ts +1 -2
- package/dist/esm/src/molecules/index.d.ts +3 -0
- package/dist/esm/src/organisms/AccountInformation/AccountInformation.d.ts +0 -1
- package/dist/esm/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +1 -2
- package/dist/esm/src/organisms/AcquisitionForm/AcquisitionForm.stories.d.ts +2 -3
- package/dist/esm/src/organisms/Body/Body.d.ts +0 -1
- package/dist/esm/src/organisms/Body/Body.stories.d.ts +0 -1
- package/dist/esm/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.d.ts +0 -1
- package/dist/esm/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.stories.d.ts +0 -1
- package/dist/esm/src/organisms/DynamicContentZone/DynamicContentZone.d.ts +0 -1
- package/dist/esm/src/organisms/DynamicContentZone/DynamicContentZone.stories.d.ts +0 -1
- package/dist/esm/src/organisms/FeedContent/FeedContent.d.ts +0 -1
- package/dist/esm/src/organisms/FeedContent/FeedContent.stories.d.ts +0 -1
- package/dist/esm/src/organisms/FeedContent/components/BackToFeedButton.d.ts +0 -1
- package/dist/esm/src/organisms/FeedContent/components/ExpandedContent.d.ts +0 -1
- package/dist/esm/src/organisms/FeedContent/components/FullWidthContentTemplate.d.ts +0 -1
- package/dist/esm/src/organisms/FeedContent/components/StandardContentTemplate.d.ts +0 -1
- package/dist/esm/src/organisms/FeedContent/styles.d.ts +1 -1
- package/dist/esm/src/organisms/FeedContentContainer/FeedContentContainer.d.ts +0 -1
- package/dist/esm/src/organisms/FeedContentContainer/FeedContentContainer.stories.d.ts +0 -1
- package/dist/esm/src/organisms/Footer/Footer.d.ts +0 -1
- package/dist/esm/src/organisms/Footer/Footer.stories.d.ts +0 -1
- package/dist/esm/src/organisms/Footer/FooterA.d.ts +0 -1
- package/dist/esm/src/organisms/Footer/FooterB.d.ts +0 -1
- package/dist/esm/src/organisms/Footer/FooterC.d.ts +0 -1
- package/dist/esm/src/organisms/Footer/FooterD.d.ts +0 -1
- package/dist/esm/src/organisms/Footer/shared.d.ts +0 -1
- package/dist/esm/src/organisms/Footer/styles.d.ts +1 -1
- package/dist/esm/src/organisms/ForgotPasswordForm/ForgotPasswordForm.d.ts +0 -1
- package/dist/esm/src/organisms/ForgotPasswordForm/ForgotPasswordForm.stories.d.ts +0 -1
- package/dist/esm/src/organisms/Header/Header.d.ts +0 -1
- package/dist/esm/src/organisms/Header/Header.stories.d.ts +0 -1
- package/dist/esm/src/organisms/Header/HeaderA.d.ts +0 -1
- package/dist/esm/src/organisms/Header/HeaderB.d.ts +0 -1
- package/dist/esm/src/organisms/Header/HeaderC.d.ts +0 -1
- package/dist/esm/src/organisms/Header/HeaderD.d.ts +0 -1
- package/dist/esm/src/organisms/Header/HeaderMobileNavigation.d.ts +0 -1
- package/dist/esm/src/organisms/Header/styles.d.ts +0 -1
- package/dist/esm/src/organisms/HeroSlider/HeroSlider.d.ts +0 -1
- package/dist/esm/src/organisms/HeroSlider/HeroSlider.stories.d.ts +0 -1
- package/dist/esm/src/organisms/ISI/ISI.d.ts +0 -1
- package/dist/esm/src/organisms/ISI/ISI.stories.d.ts +0 -1
- package/dist/esm/src/organisms/ISI/ISIA.d.ts +0 -1
- package/dist/esm/src/organisms/LoginForm/LoginForm.d.ts +1 -2
- package/dist/esm/src/organisms/LoginForm/LoginForm.stories.d.ts +2 -3
- package/dist/esm/src/organisms/ProcessTracker/ProcessTracker.d.ts +2 -3
- package/dist/esm/src/organisms/ProcessTracker/ProcessTracker.stories.d.ts +0 -1
- package/dist/esm/src/organisms/ProfileInformation/ProfileInformation.stories.d.ts +0 -1
- package/dist/esm/src/organisms/SetPasswordForm/SetPasswordForm.d.ts +0 -1
- package/dist/esm/src/organisms/SetPasswordForm/SetPasswordForm.stories.d.ts +0 -1
- package/dist/esm/src/organisms/SubscribePanel/SubscribePanel.d.ts +0 -1
- package/dist/esm/src/organisms/SubscribePanel/SubscribePanel.stories.d.ts +0 -1
- package/dist/esm/src/organisms/SubscribePanel/SubscribePanelA.d.ts +0 -1
- package/dist/esm/src/organisms/SubscribePanel/SubscribePanelB.d.ts +0 -1
- package/dist/esm/src/organisms/TwoFactorAuth/TwoFactorAuth.d.ts +0 -1
- package/dist/esm/src/organisms/TwoFactorAuth/TwoFactorAuth.stories.d.ts +0 -1
- package/dist/esm/src/organisms/index.d.ts +0 -1
- package/dist/esm/src/templates/DefaultTemplate/DefaultTemplate.stories.d.ts +0 -1
- package/dist/esm/src/templates/DefaultTemplate/mockProps.d.ts +0 -1
- package/dist/index.d.ts +992 -397
- package/package.json +74 -70
- package/dist/cjs/src/organisms/Consent/Consent.d.ts +0 -11
- package/dist/esm/src/organisms/Consent/Consent.d.ts +0 -11
package/dist/index.d.ts
CHANGED
@@ -1,47 +1,54 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import * as
|
3
|
-
import
|
2
|
+
import * as react from 'react';
|
3
|
+
import react__default, { PropsWithChildren, ReactNode, Dispatch, SetStateAction, MouseEvent, CSSProperties as CSSProperties$1, ComponentType, KeyboardEvent } from 'react';
|
4
4
|
import * as styled_components from 'styled-components';
|
5
5
|
import { CSSProperties, DefaultTheme } from 'styled-components';
|
6
|
+
import * as theme from 'theme';
|
6
7
|
import { ThemeColors as ThemeColors$1, SizesTypes as SizesTypes$1, FontSizesTypes as FontSizesTypes$2 } from 'theme';
|
7
8
|
import * as typescript from 'typescript';
|
8
|
-
import { StylesType, AnyObject, Callback as Callback$1,
|
9
|
+
import { StylesType, AnyObject as AnyObject$1, Callback as Callback$1, Nullable, StrictUnion, OverrideStyles, StyledTransientProps } from 'typescript';
|
9
10
|
import { RefCallBack, Control as Control$1, ControllerProps as ControllerProps$1 } from 'react-hook-form/dist/types';
|
10
11
|
import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
|
12
|
+
import * as containers from 'containers';
|
13
|
+
import { ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1, FormStateType as FormStateType$1, ProcessTrackerStatus as ProcessTrackerStatus$1, MoleculeTypes as MoleculeTypes$1, ContainerType as ContainerType$1, MetadataType as MetadataType$1, StateConfigType as StateConfigType$1, ConditionConfig as ConditionConfig$1, ConfigurationItemInfo as ConfigurationItemInfo$1, ProcessStep as ProcessStep$1, MetadataStateConfig as MetadataStateConfig$1 } from 'containers';
|
11
14
|
import { FieldTypes as FieldTypes$1, UIFields as UIFields$1, InputFieldTypes as InputFieldTypes$1 } from 'fieldsConfiguration/types';
|
12
15
|
import { ThemeColors as ThemeColors$2, FontSizesTypes as FontSizesTypes$1, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
|
13
|
-
import * as react_hook_form from 'react-hook-form';
|
14
|
-
import { ControllerProps, DeepPartial, FieldValues, FormState, Control, UseFormReturn, ValidationMode } from 'react-hook-form';
|
15
16
|
import * as atoms from 'atoms';
|
16
|
-
import { SelectOption as SelectOption$1, TextProps as TextProps$1, IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, AvatarProps as AvatarProps$1, TabProps as TabProps$1,
|
17
|
-
import {
|
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';
|
18
23
|
import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
|
19
24
|
import { WithGoogleMapProps } from 'react-google-maps/lib/withGoogleMap';
|
20
25
|
import { WithScriptjsProps } from 'react-google-maps/lib/withScriptjs';
|
26
|
+
import { Descendant } from 'slate';
|
21
27
|
import { RadioGroup, DrawerProps as DrawerProps$1, ModalProps } from '@mui/material';
|
22
|
-
import { UIFields as UIFields$2, UIField as UIField$1 } from 'fieldsConfiguration';
|
28
|
+
import { UIFields as UIFields$2, InputFieldTypes as InputFieldTypes$2, UIField as UIField$1 } from 'fieldsConfiguration';
|
23
29
|
import { SetPasswordFields, MaxRuleValidation, MinRuleValidation } from 'organisms/SetPasswordForm/types';
|
24
|
-
import { ConsentProps as ConsentProps$
|
25
|
-
import { ConsentProps as ConsentProps$2 } from 'organisms/Consent/Consent';
|
30
|
+
import { ConsentProps as ConsentProps$2 } from 'molecules/Consent/Consent';
|
26
31
|
import { FooterAProps } from 'organisms/Footer/FooterA';
|
27
32
|
import { FooterBProps } from 'organisms/Footer/FooterB';
|
28
33
|
import { FooterCProps } from 'organisms/Footer/FooterC';
|
29
34
|
import { FooterDProps } from 'organisms/Footer/FooterD';
|
35
|
+
import { FilteredFeedContentType as FilteredFeedContentType$1, HeroSliderProps as HeroSliderProps$1, ProcessTrackerProps as ProcessTrackerProps$1, ConsentProps as ConsentProps$3 } from 'organisms';
|
30
36
|
import { FeedContentContainerProps as FeedContentContainerProps$1 } from 'organisms/FeedContentContainer/FeedContentContainer';
|
31
37
|
import { SubscribePanelProps as SubscribePanelProps$1 } from 'organisms/SubscribePanel/type';
|
32
38
|
import { ISIAProps } from 'organisms/ISI/ISIA';
|
33
39
|
import { HeaderAProps as HeaderAProps$1 } from 'organisms/Header/HeaderA';
|
34
40
|
import { FeedContentProps as FeedContentProps$1, FeedContentTemplateTypes as FeedContentTemplateTypes$1 } from 'organisms/FeedContent/types';
|
35
41
|
import { AlertProps as AlertProps$2 } from 'molecules/Alert/Alert';
|
42
|
+
import { PasswordFields, PasswordRuleValidation } from 'molecules/PasswordSetup/PasswordSetup';
|
36
43
|
import { LoginFields as LoginFields$1 } from 'organisms/LoginForm/types';
|
37
44
|
import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewerContext/types';
|
38
45
|
import * as contexts_MlrRichTextViewerContext_MlrRichTextViewerContext from 'contexts/MlrRichTextViewerContext/MlrRichTextViewerContext';
|
39
46
|
import * as contexts_ButtonActionsContext_ButtonActionsContext from 'contexts/ButtonActionsContext/ButtonActionsContext';
|
40
|
-
import { ContainerComponentProps as ContainerComponentProps$1, ContainerProps as ContainerProps$1, Molecule as Molecule$1 } from 'containers';
|
41
47
|
export * from 'helpers/constants';
|
42
|
-
import {
|
48
|
+
import { CustomDescendant } from 'atoms/RichTextViewer/types';
|
49
|
+
import { ConsentCaptureProps } from 'molecules/Consent/ConsentCapture';
|
43
50
|
import * as containers_types_types from 'containers/types/types';
|
44
|
-
import { ContainerProps as ContainerProps$2 } from 'containers/types/types';
|
51
|
+
import { ContainerProps as ContainerProps$1, ContainerComponentProps as ContainerComponentProps$2 } from 'containers/types/types';
|
45
52
|
|
46
53
|
declare type TouchableOpacityProps = PropsWithChildren<{
|
47
54
|
activeOpacity?: number;
|
@@ -53,7 +60,7 @@ declare const TouchableOpacity: styled_components.StyledComponent<"div", styled_
|
|
53
60
|
withoutOpacityEffect?: boolean | undefined;
|
54
61
|
disabled?: boolean | undefined;
|
55
62
|
} & {
|
56
|
-
children?:
|
63
|
+
children?: react.ReactNode;
|
57
64
|
}, never>;
|
58
65
|
|
59
66
|
declare type CheckboxInternalConfigProps = Partial<{
|
@@ -70,21 +77,21 @@ declare type CheckboxProps = {
|
|
70
77
|
id: string;
|
71
78
|
onClick: (id: string) => void;
|
72
79
|
label: string;
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
internalConfig
|
80
|
-
}
|
81
|
-
declare const Checkbox: ({ id, onClick, label, isError, disabled, isEditMode, isSelected, isRichText, internalConfig, }: CheckboxProps) => JSX.Element;
|
80
|
+
isError?: boolean;
|
81
|
+
disabled?: boolean;
|
82
|
+
isEditMode?: boolean;
|
83
|
+
isSelected?: boolean;
|
84
|
+
isRichText?: boolean;
|
85
|
+
notInteractable?: boolean;
|
86
|
+
internalConfig?: CheckboxInternalConfigProps;
|
87
|
+
};
|
88
|
+
declare const Checkbox: ({ id, onClick, label, isError, disabled, isEditMode, isSelected, isRichText, notInteractable, internalConfig, }: CheckboxProps) => JSX.Element;
|
82
89
|
|
83
90
|
declare type SelectOption = {
|
84
91
|
id: string;
|
85
92
|
label: string;
|
86
93
|
value?: string;
|
87
|
-
config?: AnyObject;
|
94
|
+
config?: AnyObject$1;
|
88
95
|
};
|
89
96
|
declare type SelectInternalConfigurationOptions = {
|
90
97
|
placeholderTextColor: ThemeColors$1 | string;
|
@@ -110,11 +117,610 @@ declare type SelectProps = Partial<{
|
|
110
117
|
selectInternalConfig: SelectInternalConfigurationOptions;
|
111
118
|
isRichText: boolean;
|
112
119
|
}>;
|
113
|
-
declare const Select: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, selectInternalConfig, isRichText, }: SelectProps) => JSX.Element;
|
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
|
+
};
|
297
|
+
interface DataConnectionAttributes {
|
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;
|
114
720
|
|
115
721
|
declare const getFieldPlaceholder: (type: FieldTypes$1, title?: string) => string;
|
116
722
|
|
117
|
-
declare type InputFieldTypes = '
|
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';
|
118
724
|
declare type FieldTypes = 'input' | 'select' | 'checkbox';
|
119
725
|
declare type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
|
120
726
|
name: T;
|
@@ -146,6 +752,7 @@ declare const getFieldsFromFieldSections: <T extends object>(sections: Pick<Fiel
|
|
146
752
|
|
147
753
|
declare const acquisitionFormMockFields: UIFields$1<Record<string, string>>;
|
148
754
|
declare const setPasswordMockFields: UIFields$1<SetPasswordFields>;
|
755
|
+
declare const passwordMockFields: UIFields$1<PasswordFields>;
|
149
756
|
declare const loginMockFields: UIFields$1<LoginFields$1>;
|
150
757
|
declare const sectionMockFields: UIFields$1<Record<string, string>>;
|
151
758
|
declare const profileInformationMockForm: {
|
@@ -153,11 +760,11 @@ declare const profileInformationMockForm: {
|
|
153
760
|
fields: UIFields$1<Record<string, string>>;
|
154
761
|
}[];
|
155
762
|
|
156
|
-
declare type MaskConfig =
|
157
|
-
maskPlaceholder
|
158
|
-
|
159
|
-
|
160
|
-
}
|
763
|
+
declare type MaskConfig = {
|
764
|
+
maskPlaceholder?: string;
|
765
|
+
maskPattern?: Array<string | RegExp>;
|
766
|
+
dataModelFieldType: DataModelFieldFormatCodeTypes;
|
767
|
+
};
|
161
768
|
|
162
769
|
declare type InputFieldInternalConfigProps = Partial<{
|
163
770
|
textColor: ThemeColors$2 | string;
|
@@ -173,22 +780,23 @@ declare type InputIconProps = {
|
|
173
780
|
name: IconNames$1;
|
174
781
|
onClick?: Callback$1;
|
175
782
|
};
|
176
|
-
declare type InputProps = {
|
177
|
-
value
|
178
|
-
leftIcon
|
179
|
-
rightIcon
|
180
|
-
onBlur
|
181
|
-
type
|
182
|
-
placeholder
|
183
|
-
disabled
|
184
|
-
isEditMode
|
185
|
-
isError
|
186
|
-
maxLength
|
187
|
-
onChange
|
188
|
-
onKeyDown
|
189
|
-
internalConfig
|
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;
|
190
797
|
config?: MaskConfig;
|
191
|
-
|
798
|
+
state: FormStateType$1;
|
799
|
+
}>;
|
192
800
|
declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, internalConfig, config, ...rest }: InputProps) => JSX.Element;
|
193
801
|
|
194
802
|
declare type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
|
@@ -204,6 +812,7 @@ declare type TextProps = {
|
|
204
812
|
textAlign?: TextAlign;
|
205
813
|
behaveAs?: 'text' | 'button';
|
206
814
|
seoTag?: SeoTags;
|
815
|
+
htmlElementId?: string;
|
207
816
|
};
|
208
817
|
declare type TextWrapperProps = PropsWithChildren<TextProps>;
|
209
818
|
declare const TextWrapper: ({ children, seoTag, ...textProps }: TextWrapperProps) => JSX.Element;
|
@@ -266,7 +875,7 @@ declare type RegularImageProps = {
|
|
266
875
|
width: number | string;
|
267
876
|
height: number | string;
|
268
877
|
onClick: Callback$1;
|
269
|
-
cornerRadius: number;
|
878
|
+
cornerRadius: SizesTypes$1 | number;
|
270
879
|
}> & OverrideStyles;
|
271
880
|
declare const RegularImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, {
|
272
881
|
src: string;
|
@@ -275,7 +884,7 @@ declare const RegularImage: styled_components.StyledComponent<"img", styled_comp
|
|
275
884
|
width: number | string;
|
276
885
|
height: number | string;
|
277
886
|
onClick: Callback$1;
|
278
|
-
cornerRadius: number;
|
887
|
+
cornerRadius: SizesTypes$1 | number;
|
279
888
|
}> & OverrideStyles, never>;
|
280
889
|
declare const BackgroundImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, {
|
281
890
|
src: string;
|
@@ -284,17 +893,24 @@ declare const BackgroundImage: styled_components.StyledComponent<"img", styled_c
|
|
284
893
|
width: number | string;
|
285
894
|
height: number | string;
|
286
895
|
onClick: Callback$1;
|
287
|
-
cornerRadius: number;
|
896
|
+
cornerRadius: SizesTypes$1 | number;
|
288
897
|
}> & OverrideStyles, never>;
|
289
898
|
|
290
|
-
declare type
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
}
|
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>;
|
298
914
|
|
299
915
|
declare type ValidationTagStatus = 'DEFAULT' | 'ERROR' | 'SUCCESS';
|
300
916
|
declare type ValidationTagProps = {
|
@@ -348,11 +964,11 @@ declare type AvatarProps = {
|
|
348
964
|
};
|
349
965
|
declare const Avatar: ({ size, withShadow, label, backgroundColor, onPress, content: { initials, iconName, imageUrl }, textConfig: { color, font }, }: AvatarProps) => JSX.Element;
|
350
966
|
|
351
|
-
declare type
|
967
|
+
declare type PaddingProps = {
|
352
968
|
padding: SizesTypes$1 | number;
|
353
969
|
};
|
354
|
-
declare const HorizontalPadding: styled_components.StyledComponent<"div", styled_components.DefaultTheme,
|
355
|
-
declare const VerticalPadding: styled_components.StyledComponent<"div", styled_components.DefaultTheme,
|
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>;
|
356
972
|
|
357
973
|
declare type DividerProps = {
|
358
974
|
type?: 'horizontal' | 'vertical';
|
@@ -370,10 +986,11 @@ declare type MapPosition = {
|
|
370
986
|
declare type GoogleMapProps = {
|
371
987
|
position: MapPosition;
|
372
988
|
} & WithScriptjsProps & WithGoogleMapProps;
|
373
|
-
declare const GoogleMap:
|
989
|
+
declare const GoogleMap: react__default.ComponentClass<{
|
374
990
|
position: MapPosition;
|
375
991
|
} & WithScriptjsProps & WithGoogleMapProps, any>;
|
376
992
|
|
993
|
+
declare const defaultValue: Descendant[];
|
377
994
|
declare const MATRIX_MESSAGE_ELEMENT_ID = "matrix-message";
|
378
995
|
declare const COMMUNICATION_LINK_ELEMENT_ID = "communication-link";
|
379
996
|
declare const MATRIX_MESSAGE_DATA_ID = "matrix-message-id";
|
@@ -384,10 +1001,15 @@ declare type RichTextEditorProps = Partial<{
|
|
384
1001
|
font: FontSizesTypes$2;
|
385
1002
|
color: ThemeColors$1 | string;
|
386
1003
|
textStyles: StylesType;
|
387
|
-
numberOfLines
|
388
|
-
extraTextProps
|
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;
|
389
1011
|
}>;
|
390
|
-
declare const RichTextViewer: ({ value, color, textStyles,
|
1012
|
+
declare const RichTextViewer: ({ value, font, color, textStyles, numberOfLines, extraTextProps, renderElementWrapperComponent, renderElementWrapperProps, htmlElementId, moleculeId, isTrigger, }: RichTextEditorProps) => JSX.Element;
|
391
1013
|
|
392
1014
|
declare type RadioButtonInternalConfigProps = Partial<{
|
393
1015
|
selectedRadioOptionBackgroundColor: ThemeColors$1 | string;
|
@@ -482,7 +1104,7 @@ declare type TabProps<T = string, K = string> = {
|
|
482
1104
|
vertical: boolean;
|
483
1105
|
isActive: boolean;
|
484
1106
|
onClick: (key: T) => void;
|
485
|
-
options: MenuItem
|
1107
|
+
options: MenuItem<K>[];
|
486
1108
|
onOptionClick: (optionKey: K) => void;
|
487
1109
|
tabTheme: TabTheme;
|
488
1110
|
divider: boolean;
|
@@ -494,7 +1116,7 @@ declare type TabProps<T = string, K = string> = {
|
|
494
1116
|
selectedTabIndicatorColor: ThemeColors$1 | string;
|
495
1117
|
styles: StylesType;
|
496
1118
|
}>;
|
497
|
-
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:
|
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;
|
498
1120
|
declare const Tab: <T, K>(props: {
|
499
1121
|
tabKey: T;
|
500
1122
|
text: string;
|
@@ -503,7 +1125,7 @@ declare const Tab: <T, K>(props: {
|
|
503
1125
|
vertical: boolean;
|
504
1126
|
isActive: boolean;
|
505
1127
|
onClick: (key: T) => void;
|
506
|
-
options: MenuItem
|
1128
|
+
options: MenuItem<K_1>[];
|
507
1129
|
onOptionClick: (optionKey: K) => void;
|
508
1130
|
tabTheme: TabTheme;
|
509
1131
|
divider: boolean;
|
@@ -515,7 +1137,7 @@ declare const Tab: <T, K>(props: {
|
|
515
1137
|
selectedTabIndicatorColor: ThemeColors$1 | string;
|
516
1138
|
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
517
1139
|
}> & {
|
518
|
-
ref?:
|
1140
|
+
ref?: react__default.ForwardedRef<TabElement> | undefined;
|
519
1141
|
}) => ReturnType<typeof ZealTab>;
|
520
1142
|
|
521
1143
|
declare type SetPasswordRuleValidation = {
|
@@ -706,36 +1328,9 @@ declare type HeaderProps<T = string> = (HeaderAProps<T> & {
|
|
706
1328
|
type: 'header_c';
|
707
1329
|
}) | (HeaderDProps & {
|
708
1330
|
type: 'header_d';
|
709
|
-
});
|
710
|
-
declare const Header: <T extends string | number>(props: HeaderProps<T>) => JSX.Element;
|
711
|
-
|
712
|
-
declare type ButtonCaptureProps = {
|
713
|
-
type: 'button';
|
714
|
-
acceptButton: ButtonProps$1;
|
715
|
-
denyButton: ButtonProps$1;
|
716
|
-
};
|
717
|
-
declare type RadioButtonsCaptureProps<T extends string> = {
|
718
|
-
type: 'radioButton';
|
719
|
-
acceptValue: T;
|
720
|
-
} & RadioButtonsProps$1<T>;
|
721
|
-
declare type CheckboxCaptureProps = {
|
722
|
-
type: 'checkbox';
|
723
|
-
label: string;
|
724
|
-
value: boolean;
|
725
|
-
onChange: (value: boolean) => void;
|
726
|
-
};
|
727
|
-
declare type ConsentCaptureProps<T extends string = string> = ButtonCaptureProps | RadioButtonsCaptureProps<T> | CheckboxCaptureProps;
|
728
|
-
|
729
|
-
declare type ConsentProps<T extends string = string> = {
|
730
|
-
text: string;
|
731
|
-
isRequired?: boolean;
|
732
|
-
consentCaptureProps: ConsentCaptureProps<T>;
|
733
|
-
containerStyles?: CSSProperties;
|
734
|
-
clearStyles?: boolean;
|
735
|
-
};
|
736
|
-
declare const Consent: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: ConsentProps<T>) => JSX.Element;
|
1331
|
+
});
|
1332
|
+
declare const Header: <T extends string | number>(props: HeaderProps<T>) => JSX.Element;
|
737
1333
|
|
738
|
-
declare type ProcessTrackerStatus = 'complete' | 'incomplete' | 'in_progress';
|
739
1334
|
declare type ProcessTrackerProps = {
|
740
1335
|
title?: Nullable<string>;
|
741
1336
|
description?: Nullable<string>;
|
@@ -743,7 +1338,7 @@ declare type ProcessTrackerProps = {
|
|
743
1338
|
statuses?: {
|
744
1339
|
title: string;
|
745
1340
|
description: string;
|
746
|
-
status: ProcessTrackerStatus;
|
1341
|
+
status: ProcessTrackerStatus$1;
|
747
1342
|
}[];
|
748
1343
|
currentStep?: number;
|
749
1344
|
style?: CSSProperties;
|
@@ -834,7 +1429,7 @@ interface Helpers {
|
|
834
1429
|
}
|
835
1430
|
declare const useStep: (maxStep: number) => [number, Helpers];
|
836
1431
|
|
837
|
-
declare const useRequiredConsentsAcceptedValues: (consents: ConsentProps$
|
1432
|
+
declare const useRequiredConsentsAcceptedValues: (consents: ConsentProps$3[]) => boolean;
|
838
1433
|
|
839
1434
|
declare const defaultTheme: DefaultTheme;
|
840
1435
|
|
@@ -878,7 +1473,7 @@ declare type MlrRichTextViewerContextType = {
|
|
878
1473
|
showAnnotations: boolean;
|
879
1474
|
annotationsList: AnnotationsList$1;
|
880
1475
|
};
|
881
|
-
declare const MlrRichTextViewerContext:
|
1476
|
+
declare const MlrRichTextViewerContext: react.Context<MlrRichTextViewerContextType>;
|
882
1477
|
|
883
1478
|
declare type AnnotationsList = {
|
884
1479
|
tags: {
|
@@ -904,21 +1499,127 @@ declare type ButtonActionsContextType = {
|
|
904
1499
|
actionContent?: ContainerComponentProps$1;
|
905
1500
|
setActionContent: Dispatch<SetStateAction<ContainerComponentProps$1>>;
|
906
1501
|
isModalVisible: boolean;
|
907
|
-
setModalVisible: Dispatch<SetStateAction<boolean>>;
|
908
1502
|
isDrawerVisible: boolean;
|
909
1503
|
setDrawerVisible: Dispatch<SetStateAction<boolean>>;
|
1504
|
+
setActivePopUpById: (id: string) => void;
|
1505
|
+
onCloseModal: (id: string) => void;
|
910
1506
|
};
|
911
|
-
declare const ButtonActionsContext:
|
1507
|
+
declare const ButtonActionsContext: react.Context<ButtonActionsContextType>;
|
912
1508
|
|
1509
|
+
declare type PopupPropsType = {
|
1510
|
+
id: string;
|
1511
|
+
config: {
|
1512
|
+
styles?: AnyObject$1;
|
1513
|
+
size?: 'large' | 'medium';
|
1514
|
+
withCloseIcon?: boolean;
|
1515
|
+
};
|
1516
|
+
content: {
|
1517
|
+
embedded?: (ContainerComponentProps$1 | Molecule$1)[];
|
1518
|
+
isi?: ContainerComponentProps$1 | Molecule$1;
|
1519
|
+
};
|
1520
|
+
};
|
913
1521
|
declare type ButtonActionsProviderProps = PropsWithChildren<Partial<{
|
914
1522
|
actionContent: ContainerComponentProps$1;
|
915
1523
|
setActionContent: Dispatch<SetStateAction<ContainerComponentProps$1>>;
|
916
1524
|
isModalVisible: boolean;
|
917
|
-
setModalVisible: Dispatch<SetStateAction<boolean>>;
|
918
1525
|
setDrawerVisible: Dispatch<SetStateAction<boolean>>;
|
919
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;
|
1563
|
+
|
1564
|
+
declare type OrganismContextType = {
|
1565
|
+
items: (ContainerComponentProps$1 | Molecule$1)[];
|
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;
|
1588
|
+
};
|
1589
|
+
declare const OrganismContext: react.Context<OrganismContextType>;
|
1590
|
+
|
1591
|
+
declare type AccountButtonContextType = Partial<{
|
1592
|
+
userInitials: string;
|
1593
|
+
logOutHandler: Callback$1;
|
1594
|
+
goToAccountInfo: Callback$1;
|
1595
|
+
username: string;
|
1596
|
+
}>;
|
1597
|
+
declare const AccountButtonContext: react.Context<Partial<{
|
1598
|
+
userInitials: string;
|
1599
|
+
logOutHandler: Callback$1;
|
1600
|
+
goToAccountInfo: Callback$1;
|
1601
|
+
username: string;
|
920
1602
|
}>>;
|
921
|
-
|
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;
|
1615
|
+
};
|
1616
|
+
declare const StateContext: react.Context<StateContextType>;
|
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;
|
922
1623
|
|
923
1624
|
declare type FieldRuleLabelTypes = 'OPTIONAL' | 'REQUIRED';
|
924
1625
|
declare type LabelInternalConfig = {
|
@@ -953,7 +1654,7 @@ declare type FieldLabelsProps = {
|
|
953
1654
|
tooltipText?: string;
|
954
1655
|
isError?: boolean;
|
955
1656
|
isTooltipVisible?: boolean;
|
956
|
-
ruleLabel?: FieldRuleLabelTypes
|
1657
|
+
ruleLabel?: Nullable<FieldRuleLabelTypes>;
|
957
1658
|
labelInternalConfig?: LabelInternalConfig;
|
958
1659
|
ruleLabelInternalConfig?: RuleLabelInternalConfig;
|
959
1660
|
tooltipInternalConfig?: TooltipInternalConfig;
|
@@ -971,8 +1672,13 @@ declare type InputFieldProps = Partial<{
|
|
971
1672
|
inputProps: InputProps$1;
|
972
1673
|
styles: StylesType;
|
973
1674
|
labelsProps: FieldLabelsProps;
|
1675
|
+
conditionConfig: ConditionConfig$1;
|
1676
|
+
state: FormStateType$1;
|
1677
|
+
formData: AnyObject$1;
|
1678
|
+
htmlElementId: string;
|
1679
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
974
1680
|
}>;
|
975
|
-
declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, }: InputFieldProps) => JSX.Element;
|
1681
|
+
declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, configurationItemInfo, }: InputFieldProps) => JSX.Element | null;
|
976
1682
|
|
977
1683
|
declare type FieldMapperProps<T extends object> = {
|
978
1684
|
field: UIField$1<keyof T>;
|
@@ -1006,8 +1712,16 @@ declare type CheckboxFieldProps = Partial<{
|
|
1006
1712
|
required: boolean;
|
1007
1713
|
optional: boolean;
|
1008
1714
|
wrapperStyles: StylesType;
|
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;
|
1009
1723
|
}>;
|
1010
|
-
declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, }: CheckboxFieldProps) => JSX.Element;
|
1724
|
+
declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: CheckboxFieldProps) => JSX.Element | null;
|
1011
1725
|
|
1012
1726
|
declare type CheckboxGroupProps = Partial<{
|
1013
1727
|
ref: RefCallBack;
|
@@ -1027,8 +1741,13 @@ declare type SelectFieldProps = Partial<{
|
|
1027
1741
|
optional: boolean;
|
1028
1742
|
defaultValue: string;
|
1029
1743
|
styles: StylesType;
|
1744
|
+
conditionConfig: ConditionConfig$1;
|
1745
|
+
state: FormStateType$1;
|
1746
|
+
formData: AnyObject$1;
|
1747
|
+
htmlElementId: string;
|
1748
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
1030
1749
|
}>;
|
1031
|
-
declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, }: SelectFieldProps) => JSX.Element;
|
1750
|
+
declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, conditionConfig, formData, state, htmlElementId, configurationItemInfo, }: SelectFieldProps) => JSX.Element | null;
|
1032
1751
|
|
1033
1752
|
declare type CustomValidationRule<T = string> = {
|
1034
1753
|
text: string;
|
@@ -1039,8 +1758,10 @@ declare type CustomValidationProps<T = string> = {
|
|
1039
1758
|
value: T;
|
1040
1759
|
isSubmitted?: boolean;
|
1041
1760
|
rules: CustomValidationRule<T>[];
|
1761
|
+
spacer?: number;
|
1762
|
+
validationState?: FormStateType$1;
|
1042
1763
|
};
|
1043
|
-
declare const CustomValidation: <T extends string = string>({ rules, value, isSubmitted, label, }: CustomValidationProps<T>) => JSX.Element;
|
1764
|
+
declare const CustomValidation: <T extends string = string>({ rules, value, isSubmitted, label, spacer, validationState, }: CustomValidationProps<T>) => JSX.Element;
|
1044
1765
|
|
1045
1766
|
declare type BaseSelectableProps<T> = {
|
1046
1767
|
iconName: IconNames$2;
|
@@ -1077,13 +1798,14 @@ declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeadi
|
|
1077
1798
|
declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
|
1078
1799
|
declare type DrawerProps = DrawerProps$1 & {
|
1079
1800
|
anchor: Anchor;
|
1080
|
-
padding?: SizesTypes$2 | number;
|
1801
|
+
padding?: SizesTypes$2 | number | string;
|
1081
1802
|
height?: number | string;
|
1082
1803
|
width?: number | string;
|
1804
|
+
withCloseIcon?: boolean;
|
1083
1805
|
closeIconColor?: ThemeColors$2 | string;
|
1084
1806
|
};
|
1085
1807
|
|
1086
|
-
declare const Drawer: ({ children, closeIconColor, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
|
1808
|
+
declare const Drawer: ({ children, closeIconColor, withCloseIcon, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
|
1087
1809
|
|
1088
1810
|
declare type ColumnsTemplateKeys = 'horizontal' | 'card' | 'with_image';
|
1089
1811
|
|
@@ -1101,23 +1823,36 @@ declare type ColumnItem = {
|
|
1101
1823
|
};
|
1102
1824
|
declare const Columns: ({ columns, containerStyles, template }: ColumnsProps) => JSX.Element;
|
1103
1825
|
|
1104
|
-
declare type
|
1826
|
+
declare type MenuItemType<T> = {
|
1105
1827
|
id: T;
|
1106
1828
|
title: string;
|
1107
|
-
|
1829
|
+
active?: boolean;
|
1830
|
+
onClick: (id: T) => void;
|
1831
|
+
options?: MenuItemType<T>[];
|
1832
|
+
divider?: boolean;
|
1833
|
+
disabled?: boolean;
|
1834
|
+
itemColor?: string;
|
1835
|
+
activeItemColor?: string;
|
1108
1836
|
};
|
1837
|
+
|
1109
1838
|
declare type MenuItemsProps<T> = {
|
1110
1839
|
title?: string;
|
1840
|
+
options?: MenuItemType<T>[];
|
1841
|
+
activeKey?: T;
|
1842
|
+
itemColor?: string;
|
1843
|
+
menuTheme?: 'light' | 'dark';
|
1111
1844
|
onItemPress?: (id: T) => void;
|
1112
|
-
|
1845
|
+
activeItemColor?: string;
|
1113
1846
|
};
|
1114
|
-
declare const MenuItems: <T extends string | number>({ title, onItemPress,
|
1847
|
+
declare const MenuItems: <T extends string | number>({ title, options, activeKey, itemColor, menuTheme, onItemPress, activeItemColor, }: MenuItemsProps<T>) => JSX.Element;
|
1115
1848
|
|
1116
|
-
declare type
|
1849
|
+
declare type AvatarDropdownMenuConfigType = 'log-out' | 'account-information';
|
1850
|
+
declare type AvatarDropdownProps<T = string> = {
|
1117
1851
|
avatarProps: AvatarProps$1;
|
1118
1852
|
menuConfig: MenuItemsProps<T>;
|
1853
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
1119
1854
|
};
|
1120
|
-
declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
|
1855
|
+
declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, configurationItemInfo, }: AvatarDropdownProps<T>) => JSX.Element;
|
1121
1856
|
|
1122
1857
|
declare type TabType<T = string, K = string> = Pick<TabProps$1<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>;
|
1123
1858
|
declare type AdditionalTabContainerProps = {
|
@@ -1141,8 +1876,12 @@ declare type TabGroupProps<T = string, K = string> = {
|
|
1141
1876
|
selectedTabIndicatorColor?: ThemeColors$2 | string;
|
1142
1877
|
wide?: AdditionalTabContainerProps;
|
1143
1878
|
compact?: AdditionalTabContainerProps;
|
1879
|
+
isMobile?: boolean;
|
1880
|
+
htmlElementId?: string;
|
1881
|
+
menuIconColor?: string;
|
1882
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
1144
1883
|
};
|
1145
|
-
declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, ...props }: TabGroupProps<T, K>) => JSX.Element;
|
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;
|
1146
1885
|
|
1147
1886
|
declare type FieldSectionProps<T extends object> = {
|
1148
1887
|
label: string;
|
@@ -1154,8 +1893,10 @@ declare const FieldSection: <T extends object>({ fields, label, isEditMode, cont
|
|
1154
1893
|
|
1155
1894
|
declare type MenuNavigationProps<T> = {
|
1156
1895
|
menuConfig: MenuItemsProps<T>;
|
1896
|
+
customIconType?: IconNames$2;
|
1897
|
+
menuIconColor?: string;
|
1157
1898
|
};
|
1158
|
-
declare const MenuNavigation: <T extends string | number>({ menuConfig, }: MenuNavigationProps<T>) => JSX.Element;
|
1899
|
+
declare const MenuNavigation: <T extends string | number>({ menuConfig, customIconType, menuIconColor, }: MenuNavigationProps<T>) => JSX.Element;
|
1159
1900
|
declare const CaretIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
1160
1901
|
isOpen: boolean;
|
1161
1902
|
}, never>;
|
@@ -1178,8 +1919,15 @@ declare type RadioButtonFieldProps<T extends string> = Partial<{
|
|
1178
1919
|
defaultValue: string;
|
1179
1920
|
radioButtonsProps: RadioButtonsProps$1<T>;
|
1180
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;
|
1181
1929
|
}>;
|
1182
|
-
declare const RadioButtonField: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, }: Partial<{
|
1930
|
+
declare const RadioButtonField: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, conditionConfig, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: Partial<{
|
1183
1931
|
name: string;
|
1184
1932
|
rules: ControllerProps$1['rules'];
|
1185
1933
|
styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
@@ -1221,7 +1969,14 @@ declare const RadioButtonField: <T extends string>({ name, rules, styles, contro
|
|
1221
1969
|
buttonOptionSpacing: SizesTypes;
|
1222
1970
|
radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
|
1223
1971
|
}>;
|
1224
|
-
|
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;
|
1225
1980
|
|
1226
1981
|
declare type AlertProps = {
|
1227
1982
|
style?: CSSProperties;
|
@@ -1241,17 +1996,17 @@ declare type AlertProps = {
|
|
1241
1996
|
};
|
1242
1997
|
declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, containerStyles, isMobile, ...props }: AlertProps) => JSX.Element;
|
1243
1998
|
|
1244
|
-
declare type
|
1999
|
+
declare type ProcessTrackerOrientation = 'horizontal' | 'vertical';
|
1245
2000
|
declare type StepperProps = {
|
1246
|
-
steps:
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
2001
|
+
steps: ProcessStep$1[];
|
2002
|
+
orientation: ProcessTrackerOrientation;
|
2003
|
+
htmlElementId?: string;
|
2004
|
+
metadata: MetadataType$1;
|
2005
|
+
isMobile?: boolean;
|
2006
|
+
isOnClickDisabled?: boolean;
|
2007
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
1253
2008
|
};
|
1254
|
-
declare const Stepper: ({ steps, orientation,
|
2009
|
+
declare const Stepper: ({ steps, orientation, htmlElementId, metadata, isMobile, isOnClickDisabled, configurationItemInfo, }: StepperProps) => JSX.Element | null;
|
1255
2010
|
|
1256
2011
|
declare type PdfDocumentProps = {
|
1257
2012
|
source: string;
|
@@ -1287,8 +2042,6 @@ declare type ToggleFieldProps = {
|
|
1287
2042
|
};
|
1288
2043
|
declare const HorizontalButtonsField: ({ name, title, control, description, horizontalButtonsProps, }: ToggleFieldProps) => JSX.Element;
|
1289
2044
|
|
1290
|
-
declare type Callback = () => void;
|
1291
|
-
|
1292
2045
|
declare type BottomNaVBarItemProps = {
|
1293
2046
|
name: string;
|
1294
2047
|
icon: ComponentType<Omit<IconProps$1, 'name'>>;
|
@@ -1296,19 +2049,26 @@ declare type BottomNaVBarItemProps = {
|
|
1296
2049
|
activeColor: string;
|
1297
2050
|
onNavigate: Callback;
|
1298
2051
|
};
|
1299
|
-
declare const BottomNavBarItem: ({ name, icon
|
2052
|
+
declare const BottomNavBarItem: ({ name, icon, active, activeColor, onNavigate, }: BottomNaVBarItemProps) => JSX.Element;
|
1300
2053
|
|
1301
2054
|
declare type VideoProps = {
|
1302
2055
|
src: string;
|
1303
2056
|
} & Partial<{
|
1304
2057
|
width: number;
|
2058
|
+
height: number;
|
1305
2059
|
autoplay: boolean;
|
1306
2060
|
enableCoverImage: boolean;
|
1307
2061
|
coverImageSrc: string;
|
1308
2062
|
style: CSSProperties;
|
2063
|
+
styles: StylesType;
|
1309
2064
|
template: FeedContentTemplateTypes$1;
|
2065
|
+
htmlElementId: string;
|
2066
|
+
moleculeId: string;
|
2067
|
+
isTrigger: boolean;
|
2068
|
+
isOnClickDisabled: boolean;
|
2069
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
1310
2070
|
}>;
|
1311
|
-
declare const Video: ({ style, src, width, template, autoplay, enableCoverImage, coverImageSrc, }: VideoProps) => JSX.Element;
|
2071
|
+
declare const Video: ({ style, src, width, height, template, autoplay, enableCoverImage, coverImageSrc, styles, htmlElementId, isTrigger, moleculeId, isOnClickDisabled, configurationItemInfo, }: VideoProps) => JSX.Element | null;
|
1312
2072
|
|
1313
2073
|
declare type ImageProps = {
|
1314
2074
|
src: string;
|
@@ -1319,16 +2079,21 @@ declare type ImageProps = {
|
|
1319
2079
|
onClick: Callback$1;
|
1320
2080
|
width: number;
|
1321
2081
|
height: number;
|
1322
|
-
cornerRadius: number;
|
2082
|
+
cornerRadius: SizesTypes$1 | number;
|
1323
2083
|
behaveAs: 'background' | 'regular';
|
1324
2084
|
styles: StylesType;
|
2085
|
+
metadata: MetadataType$1;
|
2086
|
+
htmlElementId: string;
|
2087
|
+
configurationItemInfo: ConfigurationItemInfo$1;
|
1325
2088
|
}>;
|
1326
|
-
declare const Image: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, }: ImageProps) => JSX.Element;
|
2089
|
+
declare const Image: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, htmlElementId, metadata, configurationItemInfo, }: ImageProps) => JSX.Element | null;
|
1327
2090
|
|
1328
2091
|
declare type CarouselProps = {
|
1329
2092
|
children: JSX.Element[];
|
2093
|
+
autoplay?: boolean;
|
2094
|
+
autoplayDuration?: number;
|
1330
2095
|
};
|
1331
|
-
declare const Carousel: ({ children }: PropsWithChildren<CarouselProps>) => JSX.Element;
|
2096
|
+
declare const Carousel: ({ children, autoplay, autoplayDuration, }: PropsWithChildren<CarouselProps>) => JSX.Element;
|
1332
2097
|
declare const Wrapper: styled_components.StyledComponent<"section", styled_components.DefaultTheme, {}, never>;
|
1333
2098
|
declare const SlidesWrapper: styled_components.StyledComponent<"ul", styled_components.DefaultTheme, {
|
1334
2099
|
translateX: number;
|
@@ -1352,36 +2117,39 @@ declare type TextMoleculeProps = Partial<{
|
|
1352
2117
|
isRichText: boolean;
|
1353
2118
|
styles: StylesType;
|
1354
2119
|
textAlign: 'center' | 'right' | 'left';
|
2120
|
+
htmlElementId: string;
|
2121
|
+
configurationItemInfo: ConfigurationItemInfo$1;
|
1355
2122
|
}> & Pick<TextProps$1, 'seoTag' | 'numberOfLines'>;
|
1356
|
-
declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
|
2123
|
+
declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, htmlElementId, configurationItemInfo, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
|
1357
2124
|
|
1358
2125
|
declare type ButtonVariant = 'primary' | 'secondary' | 'text' | 'custom';
|
1359
2126
|
declare type ButtonType = 'button' | 'submit' | 'reset';
|
1360
|
-
declare type BaseButtonProps = PropsWithChildren<{
|
1361
|
-
onClick
|
1362
|
-
variant
|
1363
|
-
disabled
|
1364
|
-
state
|
1365
|
-
fullWidth
|
1366
|
-
size
|
1367
|
-
buttonFont
|
1368
|
-
textColor
|
1369
|
-
textSize
|
1370
|
-
horizontalPadding
|
1371
|
-
verticalPadding
|
1372
|
-
buttonColor
|
1373
|
-
buttonStroke
|
1374
|
-
cornerRadius
|
1375
|
-
hoverButtonColor
|
1376
|
-
hoverStrokeColor
|
1377
|
-
inactiveButtonColor
|
1378
|
-
inactiveStrokeColor
|
1379
|
-
inactiveTextColor
|
1380
|
-
styles
|
1381
|
-
colorTheme
|
1382
|
-
href
|
1383
|
-
type
|
1384
|
-
}
|
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
|
+
href: string;
|
2150
|
+
type: ButtonType;
|
2151
|
+
}>>;
|
2152
|
+
declare const baseButtonAllowedConfigurations: string[];
|
1385
2153
|
declare type ButtonProps = BaseButtonProps & {
|
1386
2154
|
fullWidth?: boolean;
|
1387
2155
|
text?: string;
|
@@ -1391,264 +2159,91 @@ declare type ButtonProps = BaseButtonProps & {
|
|
1391
2159
|
isRichText?: boolean;
|
1392
2160
|
containerStyle?: StylesType;
|
1393
2161
|
buttonStyle?: StylesType;
|
2162
|
+
stateConfig?: MetadataStateConfig$1[];
|
2163
|
+
htmlElementId?: string;
|
2164
|
+
metadata?: MetadataType$1;
|
2165
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
1394
2166
|
};
|
1395
|
-
declare const Button: ({ text
|
2167
|
+
declare const Button: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, metadata, configurationItemInfo, ...props }: ButtonProps) => JSX.Element | null;
|
1396
2168
|
|
1397
2169
|
declare type ZealUIModalProps = PropsWithChildren<Pick<ModalProps, 'open'>> & {
|
1398
2170
|
padding?: number | string;
|
1399
2171
|
wrapperStyles?: CSSProperties;
|
1400
2172
|
onKeyDown?: <T extends HTMLElement>(event: KeyboardEvent<T>) => void;
|
1401
2173
|
modalStyles?: CSSProperties;
|
1402
|
-
|
2174
|
+
size?: string;
|
2175
|
+
popupId: string;
|
2176
|
+
onClose: () => void;
|
2177
|
+
withCloseIcon?: boolean;
|
1403
2178
|
};
|
1404
|
-
declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, ...rest }: ZealUIModalProps) => JSX.Element;
|
2179
|
+
declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, size, popupId, withCloseIcon, ...rest }: ZealUIModalProps) => JSX.Element;
|
1405
2180
|
declare const ModalWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, OverrideStyles, never>;
|
1406
2181
|
declare const IconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
1407
2182
|
activeOpacity?: number | undefined;
|
1408
2183
|
withoutOpacityEffect?: boolean | undefined;
|
1409
2184
|
disabled?: boolean | undefined;
|
1410
2185
|
} & {
|
1411
|
-
children?:
|
2186
|
+
children?: react__default.ReactNode;
|
1412
2187
|
}, never>;
|
1413
2188
|
|
1414
|
-
declare
|
1415
|
-
declare
|
1416
|
-
|
1417
|
-
|
1418
|
-
declare type DownloadFile = {
|
1419
|
-
url: string;
|
2189
|
+
declare type ConsentCaptureMethod = 'button' | 'radioButton' | 'checkbox';
|
2190
|
+
declare type DefaultSelectionType = 'confirmation' | 'rejection';
|
2191
|
+
declare type ConsentType = {
|
2192
|
+
id: string;
|
1420
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;
|
1421
2204
|
};
|
1422
|
-
declare type
|
1423
|
-
declare type PopupDrawerAction = ContainerComponentProps;
|
1424
|
-
declare type DownloadAction = DownloadFile;
|
1425
|
-
declare type SubmitAction = AnyObject;
|
1426
|
-
declare type CancelAction = AnyObject;
|
1427
|
-
declare type ResetAction = AnyObject;
|
1428
|
-
declare type DestroyAction = AnyObject;
|
1429
|
-
declare type Action = {
|
1430
|
-
type: ActionTypes;
|
1431
|
-
} & Partial<{
|
1432
|
-
link: LinkAction;
|
1433
|
-
popup: PopupDrawerAction;
|
1434
|
-
drawer: PopupDrawerAction;
|
1435
|
-
download: DownloadAction;
|
1436
|
-
submit: SubmitAction;
|
1437
|
-
cancel: CancelAction;
|
1438
|
-
reset: ResetAction;
|
1439
|
-
destroy: DestroyAction;
|
1440
|
-
}>;
|
1441
|
-
declare type ImageAttributes = {
|
1442
|
-
attributeType: 'image';
|
1443
|
-
imageSource: string;
|
1444
|
-
};
|
1445
|
-
interface TextAttributes {
|
1446
|
-
id?: string;
|
1447
|
-
attributeType: 'text';
|
1448
|
-
isRichText: boolean;
|
2205
|
+
declare type ConsentProps<T extends string = string> = {
|
1449
2206
|
text: string;
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
}
|
1455
|
-
interface ActionAttributes {
|
1456
|
-
attributeType: 'action';
|
1457
|
-
action: Action;
|
1458
|
-
}
|
1459
|
-
interface LinkAttributes {
|
1460
|
-
id: string;
|
1461
|
-
attributeType: 'link';
|
1462
|
-
type: 'internalLink' | 'externalLink';
|
1463
|
-
internalLink: Nullable<string>;
|
1464
|
-
externalLink: Nullable<string>;
|
1465
|
-
name: string;
|
1466
|
-
}
|
1467
|
-
interface SelectAttributes {
|
1468
|
-
id?: string;
|
1469
|
-
attributeType: 'select';
|
1470
|
-
value: string;
|
1471
|
-
options: SelectOption$1[];
|
1472
|
-
}
|
1473
|
-
interface BooleanAttributes {
|
1474
|
-
attributeType: 'boolean';
|
1475
|
-
value: boolean;
|
1476
|
-
}
|
1477
|
-
interface IterableAttributes {
|
1478
|
-
attributeType: 'iterable';
|
1479
|
-
options: SelectOption$1[];
|
1480
|
-
}
|
1481
|
-
declare type MoleculeTypes = 'image' | 'text' | 'button' | 'video' | 'header_tab_group' | 'input_field' | 'select_field' | 'radio_button_field' | 'checkbox_field';
|
1482
|
-
interface BaseMolecule {
|
1483
|
-
id: string;
|
1484
|
-
instance: 'molecule';
|
1485
|
-
type: MoleculeTypes;
|
1486
|
-
metadata?: AnyObject;
|
1487
|
-
}
|
1488
|
-
interface ImageMolecule extends BaseMolecule {
|
1489
|
-
type: 'image';
|
1490
|
-
attributes: {
|
1491
|
-
image: ImageAttributes;
|
1492
|
-
altText: Omit<TextAttributes, 'isRichText'>;
|
1493
|
-
link: LinkAttributes;
|
1494
|
-
};
|
1495
|
-
config: {
|
1496
|
-
props: Omit<ImageProps$1, 'src' | 'link' | 'altText'>;
|
1497
|
-
};
|
1498
|
-
}
|
1499
|
-
interface TextMoleculeType extends BaseMolecule {
|
1500
|
-
type: 'text';
|
1501
|
-
attributes: {
|
1502
|
-
text: TextAttributes;
|
1503
|
-
seoStyle: SelectAttributes;
|
1504
|
-
};
|
1505
|
-
config: {
|
1506
|
-
props: TextMoleculeProps$1;
|
1507
|
-
};
|
1508
|
-
}
|
1509
|
-
interface ButtonMolecule extends BaseMolecule {
|
1510
|
-
type: 'button';
|
1511
|
-
attributes: {
|
1512
|
-
title: TextAttributes;
|
1513
|
-
action: ActionAttributes;
|
1514
|
-
};
|
1515
|
-
config: {
|
1516
|
-
props: Partial<Omit<ButtonProps$1, 'disabled' | 'children' | 'link' | 'text' | 'onClick' | 'elementId'>>;
|
1517
|
-
};
|
1518
|
-
}
|
1519
|
-
interface VideoMolecule extends BaseMolecule {
|
1520
|
-
type: 'video';
|
1521
|
-
attributes: {
|
1522
|
-
video: VideoAttributes;
|
1523
|
-
altText: Omit<TextAttributes, 'isRichText'>;
|
1524
|
-
autoPlayVideo: BooleanAttributes;
|
1525
|
-
enableCoverImage: BooleanAttributes;
|
1526
|
-
coverImage: ImageAttributes;
|
1527
|
-
};
|
1528
|
-
config: {
|
1529
|
-
props: Partial<{
|
1530
|
-
width: number;
|
1531
|
-
styles: CSSProperties;
|
1532
|
-
}>;
|
1533
|
-
};
|
1534
|
-
}
|
1535
|
-
interface TabGroupMolecule extends BaseMolecule {
|
1536
|
-
type: 'header_tab_group';
|
1537
|
-
config: {
|
1538
|
-
props: TabGroupProps$1;
|
1539
|
-
wide: AdditionalTabContainerProps$1;
|
1540
|
-
compact: AdditionalTabContainerProps$1;
|
1541
|
-
};
|
1542
|
-
}
|
1543
|
-
interface TextInputMolecule extends BaseMolecule {
|
1544
|
-
type: 'input_field';
|
1545
|
-
attributes: {
|
1546
|
-
label: TextAttributes;
|
1547
|
-
required: BooleanAttributes;
|
1548
|
-
inputType: SelectAttributes;
|
1549
|
-
};
|
1550
|
-
config: {
|
1551
|
-
props: Partial<{
|
1552
|
-
state: 'default' | 'error';
|
1553
|
-
} & InputFieldProps$1>;
|
1554
|
-
};
|
1555
|
-
}
|
1556
|
-
interface SelectFieldMolecule extends BaseMolecule {
|
1557
|
-
type: 'select_field';
|
1558
|
-
attributes: {
|
1559
|
-
label: TextAttributes;
|
1560
|
-
required: BooleanAttributes;
|
1561
|
-
options: IterableAttributes;
|
1562
|
-
};
|
1563
|
-
config: {
|
1564
|
-
props: Partial<{
|
1565
|
-
state: 'default' | 'error';
|
1566
|
-
} & SelectFieldProps$1>;
|
1567
|
-
};
|
1568
|
-
}
|
1569
|
-
interface RadioButtonFieldMolecule extends BaseMolecule {
|
1570
|
-
type: 'radio_button_field';
|
1571
|
-
attributes: {
|
1572
|
-
label: TextAttributes;
|
1573
|
-
required: BooleanAttributes;
|
1574
|
-
options: IterableAttributes;
|
1575
|
-
};
|
1576
|
-
config: {
|
1577
|
-
props: Partial<{
|
1578
|
-
state: 'default' | 'error';
|
1579
|
-
} & RadioButtonFieldProps$1<string>>;
|
1580
|
-
};
|
1581
|
-
}
|
1582
|
-
interface CheckboxFieldMolecule extends BaseMolecule {
|
1583
|
-
type: 'checkbox_field';
|
1584
|
-
attributes: {
|
1585
|
-
label: TextAttributes;
|
1586
|
-
required: BooleanAttributes;
|
1587
|
-
options: IterableAttributes;
|
1588
|
-
};
|
1589
|
-
config: {
|
1590
|
-
props: Partial<{
|
1591
|
-
state: 'default' | 'error';
|
1592
|
-
} & CheckboxFieldProps$1>;
|
1593
|
-
};
|
1594
|
-
}
|
1595
|
-
declare type Molecule = StrictUnion<ImageMolecule | TextMoleculeType | ButtonMolecule | VideoMolecule | TabGroupMolecule | TextInputMolecule | SelectFieldMolecule | RadioButtonFieldMolecule | CheckboxFieldMolecule> & {
|
1596
|
-
form?: UseFormReturn<any>;
|
2207
|
+
isRequired?: boolean;
|
2208
|
+
consentCaptureProps: ConsentCaptureProps<T>;
|
2209
|
+
containerStyles?: CSSProperties;
|
2210
|
+
clearStyles?: boolean;
|
1597
2211
|
};
|
2212
|
+
declare const Consent: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: ConsentProps<T>) => JSX.Element;
|
1598
2213
|
|
1599
|
-
declare type
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
mode: keyof ValidationMode;
|
1609
|
-
};
|
1610
|
-
}>;
|
1611
|
-
declare type AdditionalContainerProps = Partial<{
|
1612
|
-
containerStyle: CSSProperties;
|
1613
|
-
containerProps: ContainerPropsType;
|
2214
|
+
declare type LinkProps = Omit<TextButtonProps$1, 'children'> & Partial<{
|
2215
|
+
text: string;
|
2216
|
+
isRichText: boolean;
|
2217
|
+
href: string;
|
2218
|
+
htmlElementId: string;
|
2219
|
+
moleculeId: string;
|
2220
|
+
isTrigger: boolean;
|
2221
|
+
onExternalLink?: () => void;
|
2222
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
1614
2223
|
}>;
|
1615
|
-
declare
|
1616
|
-
|
1617
|
-
|
1618
|
-
compact: AdditionalContainerProps;
|
1619
|
-
props: ContainerPropsType;
|
1620
|
-
}>>;
|
1621
|
-
declare type ContainerComponentProps = {
|
2224
|
+
declare const Link: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, configurationItemInfo, ...props }: LinkProps) => JSX.Element | null;
|
2225
|
+
|
2226
|
+
declare type ChecklistItem = {
|
1622
2227
|
id: string;
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1629
|
-
props?: ContainerPropsType;
|
2228
|
+
isChecked: boolean;
|
2229
|
+
eventId: Nullable<string>;
|
2230
|
+
type: 'user_interactive' | 'system_controlled';
|
2231
|
+
label: {
|
2232
|
+
text: string;
|
2233
|
+
isRichText: boolean;
|
1630
2234
|
};
|
1631
|
-
tabsProps?: Pick<TabGroupProps$1, 'tabs' | 'activeTabKey' | 'onTabChange'>;
|
1632
|
-
metadata?: AnyObject;
|
1633
|
-
attributes?: AnyObject;
|
1634
|
-
containerLibraryId?: string;
|
1635
2235
|
};
|
1636
|
-
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
2236
|
+
declare type ChecklistProps = {
|
2237
|
+
items: ChecklistItem[];
|
2238
|
+
props?: {
|
2239
|
+
gap?: SizesTypes$1;
|
2240
|
+
} & CheckboxInternalConfigProps$1;
|
2241
|
+
configurationItemInfo?: ConfigurationItemInfo$1;
|
2242
|
+
metadata: MetadataType$1;
|
2243
|
+
};
|
2244
|
+
declare const Checklist: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, metadata, }: ChecklistProps) => JSX.Element;
|
2245
|
+
declare const ChecklistWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
2246
|
+
$gap: SizesTypes$1;
|
1647
2247
|
}, never>;
|
1648
2248
|
|
1649
|
-
|
1650
|
-
item: ContainerComponentProps$1 | Molecule$1;
|
1651
|
-
tabsProps?: Pick<TabGroupProps$1<string, string>, "tabs" | "activeTabKey" | "onTabChange"> | undefined;
|
1652
|
-
}) => JSX.Element | null;
|
1653
|
-
|
1654
|
-
export { AcquisitionForm, AcquisitionFormProps, ActionAttributes, ActionTypes, AdditionalContainerProps, AdditionalTabContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMolecule, ButtonProps, ButtonType, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, Checkbox, CheckboxField, CheckboxFieldMolecule, CheckboxFieldProps, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CheckboxesProps, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColumnItem, Columns, ColumnsProps, Consent, ConsentProps, Container, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerType, ContainerWrapper, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, DownloadFile, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, ErrorText, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, HorizontalPaddingProps, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconWrapper, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, IterableAttributes, LabelInternalConfig, LinkAttributes, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItem, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismItem, OrientationType, PdfDocument, PdfDocumentProps, ProcessTracker, ProcessTrackerProps, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldMolecule, RadioButtonFieldProps, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, Select, SelectAttributes, SelectField, SelectFieldMolecule, SelectFieldProps, SelectInternalConfigurationOptions, SelectOption, SelectProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, Slide, SlidesWrapper, Spacer, SpacerProps, Spinner, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextInputMolecule, TextMolecule, TextMoleculeProps, TextMoleculeType, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipInternalConfig, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, Wrapper, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, acquisitionFormMockFields, defaultTheme, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useButtonActionsContext, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|
2249
|
+
export { AccountButtonContext, AccountButtonContextType, AccountButtonMolecule, AccountButtonProvider, AccountButtonProviderProps, AcquisitionForm, AcquisitionFormProps, ActionAttributes, ActionEventType, ActionTypes, AdditionalContainerProps, AdditionalTabContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownMenuConfigType, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMolecule, ButtonProps, ButtonType, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, Checkbox, CheckboxField, CheckboxFieldMolecule, CheckboxFieldProps, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CheckboxesProps, Checklist, ChecklistAttributes, ChecklistItem, ChecklistProps, ChecklistWrapper, ChecklistsMolecule, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorAttributes, ColumnItem, Columns, ColumnsProps, ConditionConfig, ConditionConfigAttributes, ConditionCriteria, ConfigurationItem, ConfigurationItemInfo, Consent, ConsentCaptureMethod, ConsentFieldMolecule, ConsentProps, ConsentType, Container, ContainerAlignItemsType, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CriteriaType, CustomValidation, CustomValidationProps, CustomValidationRule, DataConnectionAttributes, DataConnectionValues, DataModelFieldFormat, DataModelFieldFormatCodeTypes, DataModelFieldFormatValueTypes, DefaultSelectionType, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, DownloadFile, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, ErrorText, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, FormContainerProps, FormDataStateConfig, FormOrganismItem, FormStateType, FormStepContainerProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconWrapper, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, IterableAttributes, LabelInternalConfig, Link, LinkAttributes, LinkMolecule, LinkProps, LinkVariant, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MetadataStateConfig, MetadataType, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismContext, OrganismContextProvider, OrganismContextProviderProps, OrganismContextType, OrganismItem, OrganismItemProps, OrientationType, OrientationTypeLabel, Padding, PaddingProps, PaddingVariants, PasswordSetupMolecule, PdfDocument, PdfDocumentProps, PopupPropsType, ProcessStep, ProcessStepsAttributes, ProcessStepsMoleculeType, ProcessTracker, ProcessTrackerOrientation, ProcessTrackerProps, ProcessTrackerStateValue, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldMolecule, RadioButtonFieldProps, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, SegmentationType, Select, SelectAttributes, SelectField, SelectFieldMolecule, SelectFieldProps, SelectInternalConfigurationOptions, SelectOption, SelectProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, SlateValueChildType, Slide, SliderProps, SlidesWrapper, Spacer, SpacerProps, Spinner, StateActionType, StateConfigType, StateContext, StateContextProvider, StateContextProviderProps, StateContextType, StateEventType, StateListenerConfigType, StateModifierConfigType, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextInputMolecule, TextMolecule, TextMoleculeProps, TextMoleculeType, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipInternalConfig, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, WrappedContainerType, Wrapper, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, acquisitionFormMockFields, baseButtonAllowedConfigurations, defaultTheme, defaultValue, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, passwordMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useButtonActionsContext, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
|