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