@axa-fr/canopee-react 1.0.0-alpha.1089
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +60 -0
- package/dist/client.js +59 -0
- package/dist/distributeur/Accordion/Accordion.d.ts +14 -0
- package/dist/distributeur/Accordion/Accordion.js +18 -0
- package/dist/distributeur/Accordion/AccordionContext.d.ts +1 -0
- package/dist/distributeur/Accordion/AccordionContext.js +2 -0
- package/dist/distributeur/Accordion/Body.d.ts +6 -0
- package/dist/distributeur/Accordion/Body.js +5 -0
- package/dist/distributeur/Accordion/CollapseCard.d.ts +15 -0
- package/dist/distributeur/Accordion/CollapseCard.js +11 -0
- package/dist/distributeur/Accordion/Header.d.ts +17 -0
- package/dist/distributeur/Accordion/Header.js +20 -0
- package/dist/distributeur/Accordion/index.d.ts +3 -0
- package/dist/distributeur/Accordion/index.js +2 -0
- package/dist/distributeur/Action/Action.d.ts +5 -0
- package/dist/distributeur/Action/Action.js +9 -0
- package/dist/distributeur/Button/Button.d.ts +11 -0
- package/dist/distributeur/Button/Button.js +7 -0
- package/dist/distributeur/Card/Card.d.ts +14 -0
- package/dist/distributeur/Card/Card.js +6 -0
- package/dist/distributeur/CardData/CardData.d.ts +15 -0
- package/dist/distributeur/CardData/CardData.js +6 -0
- package/dist/distributeur/CardData/CardDataHeader.d.ts +14 -0
- package/dist/distributeur/CardData/CardDataHeader.js +9 -0
- package/dist/distributeur/Divider/Divider.d.ts +7 -0
- package/dist/distributeur/Divider/Divider.js +10 -0
- package/dist/distributeur/Form/Checkbox/Checkbox.d.ts +23 -0
- package/dist/distributeur/Form/Checkbox/Checkbox.js +30 -0
- package/dist/distributeur/Form/Checkbox/CheckboxInput.d.ts +6 -0
- package/dist/distributeur/Form/Checkbox/CheckboxInput.js +13 -0
- package/dist/distributeur/Form/Checkbox/CheckboxItem.d.ts +10 -0
- package/dist/distributeur/Form/Checkbox/CheckboxItem.js +15 -0
- package/dist/distributeur/Form/Checkbox/CheckboxModes.d.ts +7 -0
- package/dist/distributeur/Form/Checkbox/CheckboxModes.js +8 -0
- package/dist/distributeur/Form/Checkbox/index.d.ts +4 -0
- package/dist/distributeur/Form/Checkbox/index.js +4 -0
- package/dist/distributeur/Form/Choice/Choice.d.ts +14 -0
- package/dist/distributeur/Form/Choice/Choice.js +18 -0
- package/dist/distributeur/Form/Choice/ChoiceInput.d.ts +6 -0
- package/dist/distributeur/Form/Choice/ChoiceInput.js +13 -0
- package/dist/distributeur/Form/Choice/index.d.ts +2 -0
- package/dist/distributeur/Form/Choice/index.js +2 -0
- package/dist/distributeur/Form/Date/Date.d.ts +9 -0
- package/dist/distributeur/Form/Date/Date.js +11 -0
- package/dist/distributeur/Form/Date/DateInput.d.ts +8 -0
- package/dist/distributeur/Form/Date/DateInput.js +9 -0
- package/dist/distributeur/Form/Date/index.d.ts +2 -0
- package/dist/distributeur/Form/Date/index.js +2 -0
- package/dist/distributeur/Form/Experimental/index.d.ts +0 -0
- package/dist/distributeur/Form/Experimental/index.js +1 -0
- package/dist/distributeur/Form/File/File.d.ts +25 -0
- package/dist/distributeur/Form/File/File.js +60 -0
- package/dist/distributeur/Form/File/FileErrors.d.ts +6 -0
- package/dist/distributeur/Form/File/FileErrors.js +5 -0
- package/dist/distributeur/Form/File/FileInput.d.ts +13 -0
- package/dist/distributeur/Form/File/FileInput.js +21 -0
- package/dist/distributeur/Form/File/FileLine.d.ts +9 -0
- package/dist/distributeur/Form/File/FileLine.js +7 -0
- package/dist/distributeur/Form/File/FileTable.d.ts +14 -0
- package/dist/distributeur/Form/File/FileTable.js +9 -0
- package/dist/distributeur/Form/File/constants.d.ts +1 -0
- package/dist/distributeur/Form/File/constants.js +1 -0
- package/dist/distributeur/Form/File/index.d.ts +6 -0
- package/dist/distributeur/Form/File/index.js +5 -0
- package/dist/distributeur/Form/MultiSelect/FormatOptionLabel.d.ts +4 -0
- package/dist/distributeur/Form/MultiSelect/FormatOptionLabel.js +12 -0
- package/dist/distributeur/Form/MultiSelect/MultiSelect.d.ts +23 -0
- package/dist/distributeur/Form/MultiSelect/MultiSelect.js +74 -0
- package/dist/distributeur/Form/MultiSelect/MultiSelectInput.d.ts +7 -0
- package/dist/distributeur/Form/MultiSelect/MultiSelectInput.js +10 -0
- package/dist/distributeur/Form/MultiSelect/NoOptionsMessage.d.ts +3 -0
- package/dist/distributeur/Form/MultiSelect/NoOptionsMessage.js +1 -0
- package/dist/distributeur/Form/MultiSelect/ValueContainer.d.ts +4 -0
- package/dist/distributeur/Form/MultiSelect/ValueContainer.js +20 -0
- package/dist/distributeur/Form/MultiSelect/index.d.ts +2 -0
- package/dist/distributeur/Form/MultiSelect/index.js +2 -0
- package/dist/distributeur/Form/MultiSelect/useMultiSelectStyle.d.ts +5 -0
- package/dist/distributeur/Form/MultiSelect/useMultiSelectStyle.js +81 -0
- package/dist/distributeur/Form/NestedQuestion/NestedQuestion.d.ts +5 -0
- package/dist/distributeur/Form/NestedQuestion/NestedQuestion.js +7 -0
- package/dist/distributeur/Form/Number/Number.d.ts +7 -0
- package/dist/distributeur/Form/Number/Number.js +12 -0
- package/dist/distributeur/Form/Number/NumberInput.d.ts +6 -0
- package/dist/distributeur/Form/Number/NumberInput.js +6 -0
- package/dist/distributeur/Form/Number/index.d.ts +2 -0
- package/dist/distributeur/Form/Number/index.js +2 -0
- package/dist/distributeur/Form/Pass/Pass.d.ts +9 -0
- package/dist/distributeur/Form/Pass/Pass.js +10 -0
- package/dist/distributeur/Form/Pass/PassInput.d.ts +10 -0
- package/dist/distributeur/Form/Pass/PassInput.js +31 -0
- package/dist/distributeur/Form/Pass/index.d.ts +2 -0
- package/dist/distributeur/Form/Pass/index.js +2 -0
- package/dist/distributeur/Form/Radio/Radio.d.ts +25 -0
- package/dist/distributeur/Form/Radio/Radio.js +37 -0
- package/dist/distributeur/Form/Radio/RadioCardGroup.d.ts +9 -0
- package/dist/distributeur/Form/Radio/RadioCardGroup.js +25 -0
- package/dist/distributeur/Form/Radio/RadioInput.d.ts +6 -0
- package/dist/distributeur/Form/Radio/RadioInput.js +11 -0
- package/dist/distributeur/Form/Radio/RadioItem.d.ts +10 -0
- package/dist/distributeur/Form/Radio/RadioItem.js +12 -0
- package/dist/distributeur/Form/Radio/index.d.ts +3 -0
- package/dist/distributeur/Form/Radio/index.js +3 -0
- package/dist/distributeur/Form/Select/Select.d.ts +342 -0
- package/dist/distributeur/Form/Select/Select.js +13 -0
- package/dist/distributeur/Form/Select/SelectBase.d.ts +24 -0
- package/dist/distributeur/Form/Select/SelectBase.js +14 -0
- package/dist/distributeur/Form/Select/SelectDefault.d.ts +9 -0
- package/dist/distributeur/Form/Select/SelectDefault.js +17 -0
- package/dist/distributeur/Form/Select/SelectDefaultWithOptions.d.ts +23 -0
- package/dist/distributeur/Form/Select/SelectDefaultWithOptions.js +39 -0
- package/dist/distributeur/Form/Select/SelectInput.d.ts +378 -0
- package/dist/distributeur/Form/Select/SelectInput.js +9 -0
- package/dist/distributeur/Form/Select/index.d.ts +3 -0
- package/dist/distributeur/Form/Select/index.js +3 -0
- package/dist/distributeur/Form/Slider/Slider.d.ts +27 -0
- package/dist/distributeur/Form/Slider/Slider.js +36 -0
- package/dist/distributeur/Form/Slider/SliderInput.d.ts +9 -0
- package/dist/distributeur/Form/Slider/SliderInput.js +10 -0
- package/dist/distributeur/Form/Slider/index.d.ts +3 -0
- package/dist/distributeur/Form/Slider/index.js +3 -0
- package/dist/distributeur/Form/Text/Text.d.ts +7 -0
- package/dist/distributeur/Form/Text/Text.js +10 -0
- package/dist/distributeur/Form/Text/TextInput.d.ts +6 -0
- package/dist/distributeur/Form/Text/TextInput.js +9 -0
- package/dist/distributeur/Form/Text/index.d.ts +2 -0
- package/dist/distributeur/Form/Text/index.js +2 -0
- package/dist/distributeur/Form/Textarea/Textarea.d.ts +5 -0
- package/dist/distributeur/Form/Textarea/Textarea.js +12 -0
- package/dist/distributeur/Form/Textarea/TextareaInput.d.ts +7 -0
- package/dist/distributeur/Form/Textarea/TextareaInput.js +10 -0
- package/dist/distributeur/Form/Textarea/index.d.ts +2 -0
- package/dist/distributeur/Form/Textarea/index.js +2 -0
- package/dist/distributeur/Form/core/Deprecated/Field.d.ts +21 -0
- package/dist/distributeur/Form/core/Deprecated/Field.js +19 -0
- package/dist/distributeur/Form/core/Deprecated/FieldForm.d.ts +103 -0
- package/dist/distributeur/Form/core/Deprecated/FieldForm.js +162 -0
- package/dist/distributeur/Form/core/Deprecated/FieldInput.d.ts +16 -0
- package/dist/distributeur/Form/core/Deprecated/FieldInput.js +14 -0
- package/dist/distributeur/Form/core/Field.d.ts +80 -0
- package/dist/distributeur/Form/core/Field.js +42 -0
- package/dist/distributeur/Form/core/FieldError.d.ts +8 -0
- package/dist/distributeur/Form/core/FieldError.js +8 -0
- package/dist/distributeur/Form/core/FormClassManager.d.ts +7 -0
- package/dist/distributeur/Form/core/FormClassManager.js +36 -0
- package/dist/distributeur/Form/core/HelpMessage.d.ts +8 -0
- package/dist/distributeur/Form/core/HelpMessage.js +2 -0
- package/dist/distributeur/Form/core/InputList.d.ts +8 -0
- package/dist/distributeur/Form/core/InputList.js +4 -0
- package/dist/distributeur/Form/core/MessageTypes.d.ts +5 -0
- package/dist/distributeur/Form/core/MessageTypes.js +6 -0
- package/dist/distributeur/Form/core/getFirstId.d.ts +2 -0
- package/dist/distributeur/Form/core/getFirstId.js +1 -0
- package/dist/distributeur/Form/core/getOptionClassName.d.ts +1 -0
- package/dist/distributeur/Form/core/getOptionClassName.js +10 -0
- package/dist/distributeur/Form/core/index.d.ts +34 -0
- package/dist/distributeur/Form/core/index.js +13 -0
- package/dist/distributeur/Form/core/useAriaInvalid.d.ts +2 -0
- package/dist/distributeur/Form/core/useAriaInvalid.js +2 -0
- package/dist/distributeur/Form/core/useInputClassModifier.d.ts +4 -0
- package/dist/distributeur/Form/core/useInputClassModifier.js +13 -0
- package/dist/distributeur/Form/core/useOptionsWithId.d.ts +2 -0
- package/dist/distributeur/Form/core/useOptionsWithId.js +13 -0
- package/dist/distributeur/HelpButton/index.d.ts +8 -0
- package/dist/distributeur/HelpButton/index.js +8 -0
- package/dist/distributeur/Layout/Footer/Footer.d.ts +14 -0
- package/dist/distributeur/Layout/Footer/Footer.js +8 -0
- package/dist/distributeur/Layout/Footer/index.d.ts +1 -0
- package/dist/distributeur/Layout/Footer/index.js +1 -0
- package/dist/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.d.ts +39 -0
- package/dist/distributeur/Layout/Header/AnchorNavBar/AnchorNavBar.js +21 -0
- package/dist/distributeur/Layout/Header/Header.d.ts +9 -0
- package/dist/distributeur/Layout/Header/Header.js +10 -0
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.d.ts +17 -0
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.helpers.d.ts +1 -0
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.helpers.js +6 -0
- package/dist/distributeur/Layout/Header/HeaderTitle/HeaderTitle.js +17 -0
- package/dist/distributeur/Layout/Header/Infos/Infos.d.ts +14 -0
- package/dist/distributeur/Layout/Header/Infos/Infos.js +16 -0
- package/dist/distributeur/Layout/Header/MenuTitleWrapper/MenuTitleWrapper.d.ts +11 -0
- package/dist/distributeur/Layout/Header/MenuTitleWrapper/MenuTitleWrapper.js +14 -0
- package/dist/distributeur/Layout/Header/Name/Name.d.ts +16 -0
- package/dist/distributeur/Layout/Header/Name/Name.js +10 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBar.d.ts +12 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBar.helpers.d.ts +1 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBar.helpers.js +12 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBar.js +35 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarBase.d.ts +20 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarBase.js +16 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItem.d.ts +14 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItem.js +54 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.d.ts +10 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.helpers.d.ts +1 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.helpers.js +11 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemBase.js +19 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemLink.d.ts +8 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/NavBarItemLink.js +4 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/index.d.ts +3 -0
- package/dist/distributeur/Layout/Header/NavBar/NavBarItem/index.js +3 -0
- package/dist/distributeur/Layout/Header/NavBar/index.d.ts +5 -0
- package/dist/distributeur/Layout/Header/NavBar/index.js +5 -0
- package/dist/distributeur/Layout/Header/ToggleButton/ToggleButton.d.ts +7 -0
- package/dist/distributeur/Layout/Header/ToggleButton/ToggleButton.js +8 -0
- package/dist/distributeur/Layout/Header/User/InnerUser.d.ts +5 -0
- package/dist/distributeur/Layout/Header/User/InnerUser.js +3 -0
- package/dist/distributeur/Layout/Header/User/User.d.ts +60 -0
- package/dist/distributeur/Layout/Header/User/User.js +10 -0
- package/dist/distributeur/Layout/Header/index.d.ts +9 -0
- package/dist/distributeur/Layout/Header/index.js +8 -0
- package/dist/distributeur/Layout/MainContainer/MainContainer.d.ts +5 -0
- package/dist/distributeur/Layout/MainContainer/MainContainer.js +3 -0
- package/dist/distributeur/Link/CustomLink.d.ts +8 -0
- package/dist/distributeur/Link/CustomLink.js +6 -0
- package/dist/distributeur/Link/Link.d.ts +5 -0
- package/dist/distributeur/Link/Link.js +12 -0
- package/dist/distributeur/Link/LinkAnchor.d.ts +12 -0
- package/dist/distributeur/Link/LinkAnchor.js +12 -0
- package/dist/distributeur/Link/linkClassName.d.ts +1 -0
- package/dist/distributeur/Link/linkClassName.js +1 -0
- package/dist/distributeur/Loader/Loader.d.ts +12 -0
- package/dist/distributeur/Loader/Loader.js +26 -0
- package/dist/distributeur/Messages/Message.d.ts +47 -0
- package/dist/distributeur/Messages/Message.js +43 -0
- package/dist/distributeur/ModalAgent/BooleanModal.d.ts +40 -0
- package/dist/distributeur/ModalAgent/BooleanModal.js +13 -0
- package/dist/distributeur/ModalAgent/Modal.d.ts +25 -0
- package/dist/distributeur/ModalAgent/Modal.js +24 -0
- package/dist/distributeur/ModalAgent/components/Body.d.ts +5 -0
- package/dist/distributeur/ModalAgent/components/Body.js +7 -0
- package/dist/distributeur/ModalAgent/components/Footer.d.ts +5 -0
- package/dist/distributeur/ModalAgent/components/Footer.js +7 -0
- package/dist/distributeur/ModalAgent/components/Header.d.ts +30 -0
- package/dist/distributeur/ModalAgent/components/Header.js +8 -0
- package/dist/distributeur/ModalAgent/components/HeaderBase.d.ts +5 -0
- package/dist/distributeur/ModalAgent/components/HeaderBase.js +7 -0
- package/dist/distributeur/ModalAgent/index.d.ts +7 -0
- package/dist/distributeur/ModalAgent/index.js +7 -0
- package/dist/distributeur/Popover/AnimatedPopover.d.ts +14 -0
- package/dist/distributeur/Popover/AnimatedPopover.js +18 -0
- package/dist/distributeur/Popover/Popover.d.ts +13 -0
- package/dist/distributeur/Popover/Popover.js +8 -0
- package/dist/distributeur/Popover/Popover.types.d.ts +9 -0
- package/dist/distributeur/Popover/Popover.types.js +1 -0
- package/dist/distributeur/Popover/PopoverBase.d.ts +15 -0
- package/dist/distributeur/Popover/PopoverBase.js +8 -0
- package/dist/distributeur/Popover/PopoverClick.d.ts +2 -0
- package/dist/distributeur/Popover/PopoverClick.js +27 -0
- package/dist/distributeur/Popover/PopoverOver.d.ts +2 -0
- package/dist/distributeur/Popover/PopoverOver.js +13 -0
- package/dist/distributeur/Popover/index.d.ts +3 -0
- package/dist/distributeur/Popover/index.js +1 -0
- package/dist/distributeur/Restitution/ArticleRestitution.d.ts +6 -0
- package/dist/distributeur/Restitution/ArticleRestitution.js +6 -0
- package/dist/distributeur/Restitution/HeaderRestitution.d.ts +9 -0
- package/dist/distributeur/Restitution/HeaderRestitution.js +6 -0
- package/dist/distributeur/Restitution/Restitution.d.ts +6 -0
- package/dist/distributeur/Restitution/Restitution.js +6 -0
- package/dist/distributeur/Restitution/RestitutionList.d.ts +6 -0
- package/dist/distributeur/Restitution/RestitutionList.js +4 -0
- package/dist/distributeur/Restitution/SectionRestitution.d.ts +6 -0
- package/dist/distributeur/Restitution/SectionRestitution.js +6 -0
- package/dist/distributeur/Restitution/SectionRestitutionColumn.d.ts +7 -0
- package/dist/distributeur/Restitution/SectionRestitutionColumn.js +7 -0
- package/dist/distributeur/Restitution/SectionRestitutionRow.d.ts +8 -0
- package/dist/distributeur/Restitution/SectionRestitutionRow.js +8 -0
- package/dist/distributeur/Restitution/SectionRestitutionTitle.d.ts +6 -0
- package/dist/distributeur/Restitution/SectionRestitutionTitle.js +6 -0
- package/dist/distributeur/Restitution/index.d.ts +9 -0
- package/dist/distributeur/Restitution/index.js +9 -0
- package/dist/distributeur/Steps/Step.d.ts +8 -0
- package/dist/distributeur/Steps/Step.js +15 -0
- package/dist/distributeur/Steps/StepBase.d.ts +10 -0
- package/dist/distributeur/Steps/StepBase.js +9 -0
- package/dist/distributeur/Steps/StepCurrent.d.ts +5 -0
- package/dist/distributeur/Steps/StepCurrent.js +4 -0
- package/dist/distributeur/Steps/StepDisabled.d.ts +5 -0
- package/dist/distributeur/Steps/StepDisabled.js +4 -0
- package/dist/distributeur/Steps/StepLink.d.ts +10 -0
- package/dist/distributeur/Steps/StepLink.js +7 -0
- package/dist/distributeur/Steps/StepNoLink.d.ts +7 -0
- package/dist/distributeur/Steps/StepNoLink.js +4 -0
- package/dist/distributeur/Steps/Steps.d.ts +8 -0
- package/dist/distributeur/Steps/Steps.js +8 -0
- package/dist/distributeur/Steps/VerticalStep.d.ts +29 -0
- package/dist/distributeur/Steps/VerticalStep.js +22 -0
- package/dist/distributeur/Steps/index.d.ts +5 -0
- package/dist/distributeur/Steps/index.js +5 -0
- package/dist/distributeur/Steps/types.d.ts +8 -0
- package/dist/distributeur/Steps/types.js +1 -0
- package/dist/distributeur/Summary/index.d.ts +9 -0
- package/dist/distributeur/Summary/index.js +11 -0
- package/dist/distributeur/Svg/Svg.d.ts +7 -0
- package/dist/distributeur/Svg/Svg.js +50 -0
- package/dist/distributeur/Svg/index.d.ts +1 -0
- package/dist/distributeur/Svg/index.js +1 -0
- package/dist/distributeur/Svg/svgInjector.d.ts +12 -0
- package/dist/distributeur/Svg/svgInjector.js +28 -0
- package/dist/distributeur/Table/Pagination/Items.d.ts +30 -0
- package/dist/distributeur/Table/Pagination/Items.js +17 -0
- package/dist/distributeur/Table/Pagination/Li.d.ts +11 -0
- package/dist/distributeur/Table/Pagination/Li.js +14 -0
- package/dist/distributeur/Table/Pagination/LiPoint.d.ts +7 -0
- package/dist/distributeur/Table/Pagination/LiPoint.js +8 -0
- package/dist/distributeur/Table/Pagination/Pager.d.ts +41 -0
- package/dist/distributeur/Table/Pagination/Pager.js +16 -0
- package/dist/distributeur/Table/Pagination/PaginationButton.d.ts +13 -0
- package/dist/distributeur/Table/Pagination/PaginationButton.js +14 -0
- package/dist/distributeur/Table/Pagination/Paging.d.ts +15 -0
- package/dist/distributeur/Table/Pagination/Paging.js +21 -0
- package/dist/distributeur/Table/TBody.d.ts +6 -0
- package/dist/distributeur/Table/TBody.js +7 -0
- package/dist/distributeur/Table/THead.d.ts +6 -0
- package/dist/distributeur/Table/THead.js +7 -0
- package/dist/distributeur/Table/Table.d.ts +36 -0
- package/dist/distributeur/Table/Table.js +26 -0
- package/dist/distributeur/Table/Td.d.ts +6 -0
- package/dist/distributeur/Table/Td.js +7 -0
- package/dist/distributeur/Table/Th.d.ts +6 -0
- package/dist/distributeur/Table/Th.js +7 -0
- package/dist/distributeur/Table/Tr.d.ts +6 -0
- package/dist/distributeur/Table/Tr.js +7 -0
- package/dist/distributeur/Table/index.d.ts +9 -0
- package/dist/distributeur/Table/index.js +9 -0
- package/dist/distributeur/Tabs/Tabs.d.ts +8 -0
- package/dist/distributeur/Tabs/Tabs.js +6 -0
- package/dist/distributeur/Tabs/components/Pane.d.ts +8 -0
- package/dist/distributeur/Tabs/components/Pane.js +8 -0
- package/dist/distributeur/Tabs/components/Tab.d.ts +10 -0
- package/dist/distributeur/Tabs/components/Tab.js +4 -0
- package/dist/distributeur/Tabs/components/TabsCore.d.ts +10 -0
- package/dist/distributeur/Tabs/components/TabsCore.js +17 -0
- package/dist/distributeur/Tabs/components/TabsStateless.d.ts +13 -0
- package/dist/distributeur/Tabs/components/TabsStateless.js +11 -0
- package/dist/distributeur/Tabs/components/Title.d.ts +15 -0
- package/dist/distributeur/Tabs/components/Title.js +13 -0
- package/dist/distributeur/Tag/Tag.d.ts +32 -0
- package/dist/distributeur/Tag/Tag.js +32 -0
- package/dist/distributeur/Title/Title.d.ts +11 -0
- package/dist/distributeur/Title/Title.js +10 -0
- package/dist/distributeur/utilities/constants.d.ts +6 -0
- package/dist/distributeur/utilities/constants.js +7 -0
- package/dist/distributeur/utilities/helpers/date.d.ts +1 -0
- package/dist/distributeur/utilities/helpers/date.js +4 -0
- package/dist/distributeur/utilities/helpers/generateId.d.ts +1 -0
- package/dist/distributeur/utilities/helpers/generateId.js +10 -0
- package/dist/distributeur/utilities/helpers/getClassName.d.ts +20 -0
- package/dist/distributeur/utilities/helpers/getClassName.js +24 -0
- package/dist/distributeur/utilities/helpers/getComponentClassName.d.ts +20 -0
- package/dist/distributeur/utilities/helpers/getComponentClassName.js +54 -0
- package/dist/distributeur/utilities/hooks/useIsSmallScreen.d.ts +1 -0
- package/dist/distributeur/utilities/hooks/useIsSmallScreen.js +14 -0
- package/dist/distributeur/utilities.d.ts +3 -0
- package/dist/distributeur/utilities.js +3 -0
- package/dist/distributeur.d.ts +63 -0
- package/dist/distributeur.js +54 -0
- package/dist/prospect-client/Accordion/AccordionApollo.d.ts +4 -0
- package/dist/prospect-client/Accordion/AccordionApollo.js +8 -0
- package/dist/prospect-client/Accordion/AccordionCommon.d.ts +29 -0
- package/dist/prospect-client/Accordion/AccordionCommon.js +17 -0
- package/dist/prospect-client/Accordion/AccordionLF.d.ts +4 -0
- package/dist/prospect-client/Accordion/AccordionLF.js +8 -0
- package/dist/prospect-client/AccordionCore/AccordionCoreApollo.d.ts +3 -0
- package/dist/prospect-client/AccordionCore/AccordionCoreApollo.js +5 -0
- package/dist/prospect-client/AccordionCore/AccordionCoreCommon.d.ts +17 -0
- package/dist/prospect-client/AccordionCore/AccordionCoreCommon.js +22 -0
- package/dist/prospect-client/AccordionCore/AccordionCoreLF.d.ts +3 -0
- package/dist/prospect-client/AccordionCore/AccordionCoreLF.js +5 -0
- package/dist/prospect-client/BasePicture/BasePicture.d.ts +5 -0
- package/dist/prospect-client/BasePicture/BasePicture.js +4 -0
- package/dist/prospect-client/Button/ButtonApollo.d.ts +4 -0
- package/dist/prospect-client/Button/ButtonApollo.js +6 -0
- package/dist/prospect-client/Button/ButtonCommon.d.ts +23 -0
- package/dist/prospect-client/Button/ButtonCommon.js +13 -0
- package/dist/prospect-client/Button/ButtonLF.d.ts +4 -0
- package/dist/prospect-client/Button/ButtonLF.js +6 -0
- package/dist/prospect-client/CardMessage/CardMessageApollo.d.ts +2 -0
- package/dist/prospect-client/CardMessage/CardMessageApollo.js +2 -0
- package/dist/prospect-client/CardMessage/CardMessageCommon.d.ts +14 -0
- package/dist/prospect-client/CardMessage/CardMessageCommon.js +15 -0
- package/dist/prospect-client/CardMessage/CardMessageLF.d.ts +2 -0
- package/dist/prospect-client/CardMessage/CardMessageLF.js +2 -0
- package/dist/prospect-client/ClickIcon/ClickIconApollo.d.ts +2 -0
- package/dist/prospect-client/ClickIcon/ClickIconApollo.js +2 -0
- package/dist/prospect-client/ClickIcon/ClickIconCommon.d.ts +9 -0
- package/dist/prospect-client/ClickIcon/ClickIconCommon.js +3 -0
- package/dist/prospect-client/ClickIcon/ClickIconLF.d.ts +2 -0
- package/dist/prospect-client/ClickIcon/ClickIconLF.js +2 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionApollo.d.ts +4 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionApollo.js +6 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionCommon.d.ts +28 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionCommon.js +10 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionLF.d.ts +5 -0
- package/dist/prospect-client/ContentItemDuoAction/ContentItemDuoActionLF.js +7 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoApollo.d.ts +3 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoApollo.js +5 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.d.ts +33 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCommon.js +28 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCore.d.ts +9 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoCore.js +4 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoLF.d.ts +3 -0
- package/dist/prospect-client/ContentItemMono/ContentItemMonoLF.js +5 -0
- package/dist/prospect-client/DataAgent/DataAgentApollo.d.ts +3 -0
- package/dist/prospect-client/DataAgent/DataAgentApollo.js +7 -0
- package/dist/prospect-client/DataAgent/DataAgentCommon.d.ts +21 -0
- package/dist/prospect-client/DataAgent/DataAgentCommon.js +17 -0
- package/dist/prospect-client/DataAgent/DataAgentLF.d.ts +3 -0
- package/dist/prospect-client/DataAgent/DataAgentLF.js +7 -0
- package/dist/prospect-client/Divider/DividerApollo.d.ts +2 -0
- package/dist/prospect-client/Divider/DividerApollo.js +2 -0
- package/dist/prospect-client/Divider/DividerCommon.d.ts +6 -0
- package/dist/prospect-client/Divider/DividerCommon.js +7 -0
- package/dist/prospect-client/Divider/DividerLF.d.ts +2 -0
- package/dist/prospect-client/Divider/DividerLF.js +2 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxApollo.d.ts +6 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxApollo.js +7 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxCommon.d.ts +35 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxCommon.js +31 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxLF.d.ts +6 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckbox/CardCheckboxLF.js +7 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.d.ts +3 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionApollo.js +6 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon.d.ts +16 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionCommon.js +11 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.d.ts +3 -0
- package/dist/prospect-client/Form/Checkbox/CardCheckboxOption/CardCheckboxOptionLF.js +6 -0
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxApollo.d.ts +2 -0
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxApollo.js +2 -0
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxCommon.d.ts +8 -0
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxCommon.js +4 -0
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxLF.d.ts +2 -0
- package/dist/prospect-client/Form/Checkbox/Checkbox/CheckboxLF.js +2 -0
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextApollo.d.ts +3 -0
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextApollo.js +8 -0
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.d.ts +16 -0
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextCommon.js +11 -0
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextLF.d.ts +3 -0
- package/dist/prospect-client/Form/Checkbox/CheckboxText/CheckboxTextLF.js +8 -0
- package/dist/prospect-client/Form/Dropdown/DropdownApollo.d.ts +3 -0
- package/dist/prospect-client/Form/Dropdown/DropdownApollo.js +6 -0
- package/dist/prospect-client/Form/Dropdown/DropdownCommon.d.ts +26 -0
- package/dist/prospect-client/Form/Dropdown/DropdownCommon.js +13 -0
- package/dist/prospect-client/Form/Dropdown/DropdownLF.d.ts +3 -0
- package/dist/prospect-client/Form/Dropdown/DropdownLF.js +6 -0
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadApollo.d.ts +3 -0
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadApollo.js +7 -0
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadCommon.d.ts +18 -0
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadCommon.js +11 -0
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadLF.d.ts +3 -0
- package/dist/prospect-client/Form/FileUpload/FileUpload/FileUploadLF.js +7 -0
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileApollo.d.ts +4 -0
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileApollo.js +11 -0
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.d.ts +60 -0
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileCommon.js +39 -0
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileLF.d.ts +4 -0
- package/dist/prospect-client/Form/FileUpload/InputFile/InputFileLF.js +9 -0
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileApollo.d.ts +3 -0
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileApollo.js +10 -0
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileCommon.d.ts +54 -0
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileCommon.js +26 -0
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileLF.d.ts +3 -0
- package/dist/prospect-client/Form/FileUpload/ItemFile/ItemFileLF.js +10 -0
- package/dist/prospect-client/Form/InputDate/InputDate.helper.d.ts +8 -0
- package/dist/prospect-client/Form/InputDate/InputDate.helper.js +23 -0
- package/dist/prospect-client/Form/InputDate/InputDateApollo.d.ts +3 -0
- package/dist/prospect-client/Form/InputDate/InputDateApollo.js +8 -0
- package/dist/prospect-client/Form/InputDate/InputDateAtom.d.ts +9 -0
- package/dist/prospect-client/Form/InputDate/InputDateAtom.js +6 -0
- package/dist/prospect-client/Form/InputDate/InputDateCommon.d.ts +27 -0
- package/dist/prospect-client/Form/InputDate/InputDateCommon.js +30 -0
- package/dist/prospect-client/Form/InputDate/InputDateLF.d.ts +3 -0
- package/dist/prospect-client/Form/InputDate/InputDateLF.js +8 -0
- package/dist/prospect-client/Form/InputDate/InputDateTextAtom.d.ts +9 -0
- package/dist/prospect-client/Form/InputDate/InputDateTextAtom.js +16 -0
- package/dist/prospect-client/Form/InputPhone/CountryCodeSelect.d.ts +12 -0
- package/dist/prospect-client/Form/InputPhone/CountryCodeSelect.js +33 -0
- package/dist/prospect-client/Form/InputPhone/InputPhone.types.d.ts +4 -0
- package/dist/prospect-client/Form/InputPhone/InputPhone.types.js +1 -0
- package/dist/prospect-client/Form/InputPhone/InputPhoneApollo.d.ts +3 -0
- package/dist/prospect-client/Form/InputPhone/InputPhoneApollo.js +8 -0
- package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.d.ts +35 -0
- package/dist/prospect-client/Form/InputPhone/InputPhoneCommon.js +32 -0
- package/dist/prospect-client/Form/InputPhone/InputPhoneLF.d.ts +3 -0
- package/dist/prospect-client/Form/InputPhone/InputPhoneLF.js +8 -0
- package/dist/prospect-client/Form/InputPhone/maskFrenchPhoneNumber.d.ts +1 -0
- package/dist/prospect-client/Form/InputPhone/maskFrenchPhoneNumber.js +12 -0
- package/dist/prospect-client/Form/InputText/InputTextApollo.d.ts +3 -0
- package/dist/prospect-client/Form/InputText/InputTextApollo.js +9 -0
- package/dist/prospect-client/Form/InputText/InputTextCommon.d.ts +24 -0
- package/dist/prospect-client/Form/InputText/InputTextCommon.js +14 -0
- package/dist/prospect-client/Form/InputText/InputTextLF.d.ts +3 -0
- package/dist/prospect-client/Form/InputText/InputTextLF.js +9 -0
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomApollo.d.ts +2 -0
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomApollo.js +2 -0
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomCommon.d.ts +10 -0
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomCommon.js +11 -0
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomLF.d.ts +2 -0
- package/dist/prospect-client/Form/InputTextAtom/InputTextAtomLF.js +2 -0
- package/dist/prospect-client/Form/ItemLabel/ItemLabelApollo.d.ts +3 -0
- package/dist/prospect-client/Form/ItemLabel/ItemLabelApollo.js +5 -0
- package/dist/prospect-client/Form/ItemLabel/ItemLabelCommon.d.ts +103 -0
- package/dist/prospect-client/Form/ItemLabel/ItemLabelCommon.js +55 -0
- package/dist/prospect-client/Form/ItemLabel/ItemLabelLF.d.ts +3 -0
- package/dist/prospect-client/Form/ItemLabel/ItemLabelLF.js +5 -0
- package/dist/prospect-client/Form/ItemMessage/ItemMessageApollo.d.ts +2 -0
- package/dist/prospect-client/Form/ItemMessage/ItemMessageApollo.js +2 -0
- package/dist/prospect-client/Form/ItemMessage/ItemMessageCommon.d.ts +13 -0
- package/dist/prospect-client/Form/ItemMessage/ItemMessageCommon.js +23 -0
- package/dist/prospect-client/Form/ItemMessage/ItemMessageLF.d.ts +2 -0
- package/dist/prospect-client/Form/ItemMessage/ItemMessageLF.js +2 -0
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioApollo.d.ts +3 -0
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioApollo.js +6 -0
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioCommon.d.ts +39 -0
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioCommon.js +16 -0
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioLF.d.ts +3 -0
- package/dist/prospect-client/Form/Radio/CardRadio/CardRadioLF.js +6 -0
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionApollo.d.ts +3 -0
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionApollo.js +6 -0
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionCommon.d.ts +50 -0
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionCommon.js +12 -0
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionLF.d.ts +3 -0
- package/dist/prospect-client/Form/Radio/CardRadioOption/CardRadioOptionLF.js +6 -0
- package/dist/prospect-client/Form/Radio/Radio/RadioApollo.d.ts +2 -0
- package/dist/prospect-client/Form/Radio/Radio/RadioApollo.js +2 -0
- package/dist/prospect-client/Form/Radio/Radio/RadioCommon.d.ts +5 -0
- package/dist/prospect-client/Form/Radio/Radio/RadioCommon.js +6 -0
- package/dist/prospect-client/Form/Radio/Radio/RadioLF.d.ts +2 -0
- package/dist/prospect-client/Form/Radio/Radio/RadioLF.js +2 -0
- package/dist/prospect-client/Form/TextArea/TextAreaApollo.d.ts +3 -0
- package/dist/prospect-client/Form/TextArea/TextAreaApollo.js +8 -0
- package/dist/prospect-client/Form/TextArea/TextAreaCommon.d.ts +17 -0
- package/dist/prospect-client/Form/TextArea/TextAreaCommon.js +14 -0
- package/dist/prospect-client/Form/TextArea/TextAreaLF.d.ts +3 -0
- package/dist/prospect-client/Form/TextArea/TextAreaLF.js +8 -0
- package/dist/prospect-client/Grid/DebugGridApollo.d.ts +2 -0
- package/dist/prospect-client/Grid/DebugGridApollo.js +4 -0
- package/dist/prospect-client/Grid/DebugGridCommon.d.ts +11 -0
- package/dist/prospect-client/Grid/DebugGridCommon.js +10 -0
- package/dist/prospect-client/Grid/DebugGridLF.d.ts +2 -0
- package/dist/prospect-client/Grid/DebugGridLF.js +4 -0
- package/dist/prospect-client/Heading/HeadingApollo.d.ts +4 -0
- package/dist/prospect-client/Heading/HeadingApollo.js +5 -0
- package/dist/prospect-client/Heading/HeadingCommon.d.ts +15 -0
- package/dist/prospect-client/Heading/HeadingCommon.js +8 -0
- package/dist/prospect-client/Heading/HeadingLF.d.ts +4 -0
- package/dist/prospect-client/Heading/HeadingLF.js +5 -0
- package/dist/prospect-client/Heading/HeadingWithSubheadings.d.ts +10 -0
- package/dist/prospect-client/Heading/HeadingWithSubheadings.js +2 -0
- package/dist/prospect-client/Heading/types.d.ts +6 -0
- package/dist/prospect-client/Heading/types.js +1 -0
- package/dist/prospect-client/Icon/IconApollo.d.ts +2 -0
- package/dist/prospect-client/Icon/IconApollo.js +2 -0
- package/dist/prospect-client/Icon/IconCommon.d.ts +21 -0
- package/dist/prospect-client/Icon/IconCommon.js +28 -0
- package/dist/prospect-client/Icon/IconLF.d.ts +2 -0
- package/dist/prospect-client/Icon/IconLF.js +2 -0
- package/dist/prospect-client/ItemTabBar/ItemTabBarApollo.d.ts +2 -0
- package/dist/prospect-client/ItemTabBar/ItemTabBarApollo.js +2 -0
- package/dist/prospect-client/ItemTabBar/ItemTabBarCommon.d.ts +6 -0
- package/dist/prospect-client/ItemTabBar/ItemTabBarCommon.js +8 -0
- package/dist/prospect-client/ItemTabBar/ItemTabBarLF.d.ts +2 -0
- package/dist/prospect-client/ItemTabBar/ItemTabBarLF.js +2 -0
- package/dist/prospect-client/Layout/Footer/DynamicIcons.d.ts +4 -0
- package/dist/prospect-client/Layout/Footer/DynamicIcons.js +20 -0
- package/dist/prospect-client/Layout/Footer/FooterApollo.d.ts +2 -0
- package/dist/prospect-client/Layout/Footer/FooterApollo.js +2 -0
- package/dist/prospect-client/Layout/Footer/FooterCommon.d.ts +10 -0
- package/dist/prospect-client/Layout/Footer/FooterCommon.js +14 -0
- package/dist/prospect-client/Layout/Footer/FooterLF.d.ts +2 -0
- package/dist/prospect-client/Layout/Footer/FooterLF.js +2 -0
- package/dist/prospect-client/Layout/Footer/MenuIcons.d.ts +9 -0
- package/dist/prospect-client/Layout/Footer/MenuIcons.js +8 -0
- package/dist/prospect-client/Layout/Footer/MenuLink.d.ts +11 -0
- package/dist/prospect-client/Layout/Footer/MenuLink.js +11 -0
- package/dist/prospect-client/Link/LinkApollo.d.ts +2 -0
- package/dist/prospect-client/Link/LinkApollo.js +2 -0
- package/dist/prospect-client/Link/LinkCommon.d.ts +17 -0
- package/dist/prospect-client/Link/LinkCommon.js +20 -0
- package/dist/prospect-client/Link/LinkLF.d.ts +2 -0
- package/dist/prospect-client/Link/LinkLF.js +2 -0
- package/dist/prospect-client/List/ClickItem/ClickItemApollo.d.ts +4 -0
- package/dist/prospect-client/List/ClickItem/ClickItemApollo.js +8 -0
- package/dist/prospect-client/List/ClickItem/ClickItemCommon.d.ts +15 -0
- package/dist/prospect-client/List/ClickItem/ClickItemCommon.js +31 -0
- package/dist/prospect-client/List/ClickItem/ClickItemLF.d.ts +4 -0
- package/dist/prospect-client/List/ClickItem/ClickItemLF.js +8 -0
- package/dist/prospect-client/List/ClickItem/ClickItemWrapper.d.ts +6 -0
- package/dist/prospect-client/List/ClickItem/ClickItemWrapper.js +7 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentApollo.d.ts +2 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentApollo.js +4 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentCommon.d.ts +14 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentCommon.js +4 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentLF.d.ts +2 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemContentLF.js +4 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixApollo.d.ts +2 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixApollo.js +4 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixCommon.d.ts +14 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixCommon.js +11 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixLF.d.ts +2 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemPrefixLF.js +4 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixApollo.d.ts +2 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixApollo.js +6 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixCommon.d.ts +14 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixCommon.js +14 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixLF.d.ts +2 -0
- package/dist/prospect-client/List/ClickItem/components/ClickItemSuffixLF.js +6 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoApollo.d.ts +3 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoApollo.js +5 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoCommon.d.ts +16 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoCommon.js +13 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoLF.d.ts +3 -0
- package/dist/prospect-client/List/ContentItemDuo/ContentItemDuoLF.js +5 -0
- package/dist/prospect-client/Message/Message.helpers.d.ts +5 -0
- package/dist/prospect-client/Message/Message.helpers.js +7 -0
- package/dist/prospect-client/Message/MessageApollo.d.ts +5 -0
- package/dist/prospect-client/Message/MessageApollo.js +6 -0
- package/dist/prospect-client/Message/MessageCommon.d.ts +25 -0
- package/dist/prospect-client/Message/MessageCommon.js +14 -0
- package/dist/prospect-client/Message/MessageLF.d.ts +5 -0
- package/dist/prospect-client/Message/MessageLF.js +6 -0
- package/dist/prospect-client/Message/constants.d.ts +3 -0
- package/dist/prospect-client/Message/constants.js +19 -0
- package/dist/prospect-client/Message/types.d.ts +1 -0
- package/dist/prospect-client/Message/types.js +1 -0
- package/dist/prospect-client/Modal/ModalApollo.d.ts +8 -0
- package/dist/prospect-client/Modal/ModalApollo.js +13 -0
- package/dist/prospect-client/Modal/ModalCommon.d.ts +10 -0
- package/dist/prospect-client/Modal/ModalCommon.js +8 -0
- package/dist/prospect-client/Modal/ModalLF.d.ts +8 -0
- package/dist/prospect-client/Modal/ModalLF.js +13 -0
- package/dist/prospect-client/Modal/components/ModalCore.d.ts +6 -0
- package/dist/prospect-client/Modal/components/ModalCore.js +7 -0
- package/dist/prospect-client/Modal/components/ModalCoreBody.d.ts +2 -0
- package/dist/prospect-client/Modal/components/ModalCoreBody.js +14 -0
- package/dist/prospect-client/Modal/components/ModalCoreFooterApollo.d.ts +2 -0
- package/dist/prospect-client/Modal/components/ModalCoreFooterApollo.js +4 -0
- package/dist/prospect-client/Modal/components/ModalCoreFooterCommon.d.ts +10 -0
- package/dist/prospect-client/Modal/components/ModalCoreFooterCommon.js +10 -0
- package/dist/prospect-client/Modal/components/ModalCoreFooterLF.d.ts +2 -0
- package/dist/prospect-client/Modal/components/ModalCoreFooterLF.js +4 -0
- package/dist/prospect-client/Modal/components/ModalCoreHeaderApollo.d.ts +2 -0
- package/dist/prospect-client/Modal/components/ModalCoreHeaderApollo.js +5 -0
- package/dist/prospect-client/Modal/components/ModalCoreHeaderCommon.d.ts +13 -0
- package/dist/prospect-client/Modal/components/ModalCoreHeaderCommon.js +4 -0
- package/dist/prospect-client/Modal/components/ModalCoreHeaderLF.d.ts +2 -0
- package/dist/prospect-client/Modal/components/ModalCoreHeaderLF.js +5 -0
- package/dist/prospect-client/Modal/types.d.ts +12 -0
- package/dist/prospect-client/Modal/types.js +1 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationApollo.d.ts +3 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationApollo.js +3 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationCommon.d.ts +10 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationCommon.js +11 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationLF.d.ts +3 -0
- package/dist/prospect-client/Pagination/ItemPagination/ItemPaginationLF.js +3 -0
- package/dist/prospect-client/Pagination/Pagination.helper.d.ts +9 -0
- package/dist/prospect-client/Pagination/Pagination.helper.js +34 -0
- package/dist/prospect-client/Pagination/PaginationApollo.d.ts +4 -0
- package/dist/prospect-client/Pagination/PaginationApollo.js +5 -0
- package/dist/prospect-client/Pagination/PaginationCommon.d.ts +14 -0
- package/dist/prospect-client/Pagination/PaginationCommon.js +20 -0
- package/dist/prospect-client/Pagination/PaginationLF.d.ts +4 -0
- package/dist/prospect-client/Pagination/PaginationLF.js +5 -0
- package/dist/prospect-client/ProgressBar/ProgressBarApollo.d.ts +2 -0
- package/dist/prospect-client/ProgressBar/ProgressBarApollo.js +2 -0
- package/dist/prospect-client/ProgressBar/ProgressBarCommon.d.ts +9 -0
- package/dist/prospect-client/ProgressBar/ProgressBarCommon.js +8 -0
- package/dist/prospect-client/ProgressBar/ProgressBarLF.d.ts +2 -0
- package/dist/prospect-client/ProgressBar/ProgressBarLF.js +2 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupApollo.d.ts +3 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupApollo.js +5 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupCommon.d.ts +18 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupCommon.js +9 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupLF.d.ts +3 -0
- package/dist/prospect-client/ProgressBarGroup/ProgressBarGroupLF.js +5 -0
- package/dist/prospect-client/ProgressBarGroup/useSequentialProgress.d.ts +20 -0
- package/dist/prospect-client/ProgressBarGroup/useSequentialProgress.js +80 -0
- package/dist/prospect-client/Spinner/SpinnerApollo.d.ts +2 -0
- package/dist/prospect-client/Spinner/SpinnerApollo.js +2 -0
- package/dist/prospect-client/Spinner/SpinnerCommon.d.ts +17 -0
- package/dist/prospect-client/Spinner/SpinnerCommon.js +19 -0
- package/dist/prospect-client/Spinner/SpinnerLF.d.ts +2 -0
- package/dist/prospect-client/Spinner/SpinnerLF.js +2 -0
- package/dist/prospect-client/Stepper/StepperApollo.d.ts +3 -0
- package/dist/prospect-client/Stepper/StepperApollo.js +5 -0
- package/dist/prospect-client/Stepper/StepperCommon.d.ts +18 -0
- package/dist/prospect-client/Stepper/StepperCommon.js +8 -0
- package/dist/prospect-client/Stepper/StepperLF.d.ts +3 -0
- package/dist/prospect-client/Stepper/StepperLF.js +5 -0
- package/dist/prospect-client/Svg/Svg.d.ts +11 -0
- package/dist/prospect-client/Svg/Svg.js +54 -0
- package/dist/prospect-client/Svg/svgInjector.d.ts +12 -0
- package/dist/prospect-client/Svg/svgInjector.js +31 -0
- package/dist/prospect-client/TabBar/TabBarApollo.d.ts +4 -0
- package/dist/prospect-client/TabBar/TabBarApollo.js +6 -0
- package/dist/prospect-client/TabBar/TabBarCommon.d.ts +19 -0
- package/dist/prospect-client/TabBar/TabBarCommon.js +48 -0
- package/dist/prospect-client/TabBar/TabBarLF.d.ts +4 -0
- package/dist/prospect-client/TabBar/TabBarLF.js +6 -0
- package/dist/prospect-client/Tag/TagApollo.d.ts +2 -0
- package/dist/prospect-client/Tag/TagApollo.js +2 -0
- package/dist/prospect-client/Tag/TagCommon.d.ts +13 -0
- package/dist/prospect-client/Tag/TagCommon.js +14 -0
- package/dist/prospect-client/Tag/TagLF.d.ts +2 -0
- package/dist/prospect-client/Tag/TagLF.js +2 -0
- package/dist/prospect-client/TimelineVertical/TimelineVerticalApollo.d.ts +4 -0
- package/dist/prospect-client/TimelineVertical/TimelineVerticalApollo.js +5 -0
- package/dist/prospect-client/TimelineVertical/TimelineVerticalCommon.d.ts +7 -0
- package/dist/prospect-client/TimelineVertical/TimelineVerticalCommon.js +3 -0
- package/dist/prospect-client/TimelineVertical/TimelineVerticalLF.d.ts +4 -0
- package/dist/prospect-client/TimelineVertical/TimelineVerticalLF.js +5 -0
- package/dist/prospect-client/TimelineVertical/types.d.ts +5 -0
- package/dist/prospect-client/TimelineVertical/types.js +1 -0
- package/dist/prospect-client/Toggle/ToggleApollo.d.ts +2 -0
- package/dist/prospect-client/Toggle/ToggleApollo.js +2 -0
- package/dist/prospect-client/Toggle/ToggleCommon.d.ts +3 -0
- package/dist/prospect-client/Toggle/ToggleCommon.js +9 -0
- package/dist/prospect-client/Toggle/ToggleLF.d.ts +2 -0
- package/dist/prospect-client/Toggle/ToggleLF.js +2 -0
- package/dist/prospect-client/utilities/constants.d.ts +6 -0
- package/dist/prospect-client/utilities/constants.js +6 -0
- package/dist/prospect-client/utilities/generateId.d.ts +1 -0
- package/dist/prospect-client/utilities/generateId.js +10 -0
- package/dist/prospect-client/utilities/getClassName.d.ts +20 -0
- package/dist/prospect-client/utilities/getClassName.js +24 -0
- package/dist/prospect-client/utilities/getComponentClassName.d.ts +4 -0
- package/dist/prospect-client/utilities/getComponentClassName.js +30 -0
- package/dist/prospect-client/utilities/hook/useHasScroll.d.ts +6 -0
- package/dist/prospect-client/utilities/hook/useHasScroll.js +30 -0
- package/dist/prospect-client/utilities/hook/useIsSmallScreen.d.ts +1 -0
- package/dist/prospect-client/utilities/hook/useIsSmallScreen.js +14 -0
- package/dist/prospect-client/utilities/types/PolymorphicComponent.d.ts +8 -0
- package/dist/prospect-client/utilities/types/PolymorphicComponent.js +1 -0
- package/dist/prospect.d.ts +56 -0
- package/dist/prospect.js +55 -0
- package/package.json +90 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/distributeur/Form/Date/Date.css";
|
|
2
|
+
import { ComponentPropsWithRef } from "react";
|
|
3
|
+
type Props = Omit<ComponentPropsWithRef<"input">, "value"> & {
|
|
4
|
+
classModifier?: string;
|
|
5
|
+
defaultValue?: Date | string;
|
|
6
|
+
value?: Date | string;
|
|
7
|
+
};
|
|
8
|
+
declare const Date: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
9
|
+
export { Date };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/distributeur/Form/Date/Date.css";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { getComponentClassName } from "../../utilities";
|
|
5
|
+
import { formatDateInputValue } from "../../utilities/helpers/date";
|
|
6
|
+
const Date = forwardRef(({ className, classModifier, defaultValue, value, ...otherProps }, ref) => {
|
|
7
|
+
const componentClassName = getComponentClassName(className, classModifier, "af-form__input-date");
|
|
8
|
+
return (_jsx("input", { className: componentClassName, type: "date", defaultValue: formatDateInputValue(defaultValue), value: formatDateInputValue(value), ref: ref, disabled: classModifier?.includes("disabled"), required: classModifier?.includes("required"), ...otherProps }));
|
|
9
|
+
});
|
|
10
|
+
Date.displayName = "Date";
|
|
11
|
+
export { Date };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import { ConsumerFieldProps } from "../core";
|
|
3
|
+
import { Date } from "./Date";
|
|
4
|
+
type Props = ConsumerFieldProps & ComponentProps<typeof Date> & {
|
|
5
|
+
helpMessage?: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
declare const DateInput: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
8
|
+
export { DateInput };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { Field } from "../core";
|
|
4
|
+
import { Date } from "./Date";
|
|
5
|
+
const DateInput = forwardRef(({ children, ...otherProps }, inputRef) => {
|
|
6
|
+
return (_jsx(Field, { ...otherProps, renderInput: ({ id, classModifier, ariaInvalid, errorId, ...props }) => (_jsxs(_Fragment, { children: [_jsx(Date, { id: id, classModifier: classModifier, ref: inputRef, "aria-describedby": errorId, "aria-invalid": ariaInvalid, ...props }), children] })) }));
|
|
7
|
+
});
|
|
8
|
+
DateInput.displayName = "DateInput";
|
|
9
|
+
export { DateInput };
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DropzoneInputProps, DropzoneOptions, FileRejection } from "react-dropzone";
|
|
2
|
+
import { FileActions } from "./constants";
|
|
3
|
+
type Dropzone = DropzoneInputProps & DropzoneOptions;
|
|
4
|
+
type Props = Omit<Dropzone, "onDrop" | "onChange"> & {
|
|
5
|
+
classModifier?: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
onChange: (data: onChangeProps) => void;
|
|
9
|
+
};
|
|
10
|
+
export type FilePreview = File & {
|
|
11
|
+
preview: string;
|
|
12
|
+
};
|
|
13
|
+
export type CustomFile<T = FilePreview> = {
|
|
14
|
+
id: string;
|
|
15
|
+
file: T;
|
|
16
|
+
};
|
|
17
|
+
type onChangeProps = {
|
|
18
|
+
id?: string;
|
|
19
|
+
name?: string;
|
|
20
|
+
fileAction?: FileActions;
|
|
21
|
+
values: CustomFile[];
|
|
22
|
+
errors?: CustomFile<FileRejection>[];
|
|
23
|
+
};
|
|
24
|
+
declare const File: ({ className, classModifier, id, name, disabled, onChange, multiple, maxSize, minSize, accept, readOnly, placeholder, label, icon, ...otherProps }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export { File };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useDropzone, } from "react-dropzone";
|
|
3
|
+
import { useId } from "react";
|
|
4
|
+
import { getComponentClassName } from "../../utilities";
|
|
5
|
+
import { Button } from "../../Button/Button";
|
|
6
|
+
const File = ({ className, classModifier, id, name, disabled, onChange, multiple = true, maxSize = 20000000, minSize = 0, accept, readOnly, placeholder = "Glissez/déposez vos fichiers", label = "Parcourir", icon = "open", ...otherProps }) => {
|
|
7
|
+
const valueId = useId();
|
|
8
|
+
const errorsId = useId();
|
|
9
|
+
const handleOnChange = (acceptedFiles, rejectedFiles) => {
|
|
10
|
+
if (!onChange)
|
|
11
|
+
return;
|
|
12
|
+
const values = acceptedFiles.map((file) => ({
|
|
13
|
+
id: valueId,
|
|
14
|
+
file: {
|
|
15
|
+
...file,
|
|
16
|
+
lastModified: file.lastModified,
|
|
17
|
+
name: file.name,
|
|
18
|
+
type: file.type,
|
|
19
|
+
size: file.size,
|
|
20
|
+
stream: file.stream,
|
|
21
|
+
arrayBuffer: file.arrayBuffer,
|
|
22
|
+
slice: file.slice,
|
|
23
|
+
text: file.text,
|
|
24
|
+
preview: URL.createObjectURL(file),
|
|
25
|
+
},
|
|
26
|
+
}));
|
|
27
|
+
const errors = rejectedFiles.map((error) => ({
|
|
28
|
+
id: errorsId,
|
|
29
|
+
file: {
|
|
30
|
+
errors: error.errors,
|
|
31
|
+
file: {
|
|
32
|
+
...error.file,
|
|
33
|
+
lastModified: error.file.lastModified,
|
|
34
|
+
name: error.file.name,
|
|
35
|
+
type: error.file.type,
|
|
36
|
+
size: error.file.size,
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
}));
|
|
40
|
+
const onChangeProps = {
|
|
41
|
+
values,
|
|
42
|
+
errors,
|
|
43
|
+
name,
|
|
44
|
+
fileAction: "add",
|
|
45
|
+
id,
|
|
46
|
+
};
|
|
47
|
+
onChange(onChangeProps);
|
|
48
|
+
};
|
|
49
|
+
const { getRootProps, getInputProps, open } = useDropzone({
|
|
50
|
+
onDrop: handleOnChange,
|
|
51
|
+
minSize,
|
|
52
|
+
maxSize,
|
|
53
|
+
multiple,
|
|
54
|
+
accept,
|
|
55
|
+
disabled,
|
|
56
|
+
});
|
|
57
|
+
const componentClassName = getComponentClassName(className, classModifier, "af-form__file-input");
|
|
58
|
+
return (_jsxs("div", { className: componentClassName, children: [_jsxs("div", { ...getRootProps({ className: "drop-box" }), children: [_jsx("input", { ...getInputProps({ id, name, readOnly, ...otherProps }) }), _jsx("div", { children: placeholder })] }), _jsx(Button, { className: "af-btn--file", leftIcon: _jsx("i", { className: `glyphicon glyphicon-${icon}` }), onClick: open, disabled: disabled, children: label })] }));
|
|
59
|
+
};
|
|
60
|
+
export { File };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
const FileErrors = ({ errors }) => (_jsxs("div", { className: "af-form__file-errors", children: [_jsx("span", { children: "Le chargement de certains fichiers a \u00E9chou\u00E9 : " }), _jsx("ul", { className: "af-form__file-errors-list", children: errors
|
|
3
|
+
? errors.map((err) => (_jsxs("li", { children: [err.file.name, " (", err.file.size, ")"] }, err.file.name)))
|
|
4
|
+
: null })] }));
|
|
5
|
+
export { FileErrors };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/distributeur/Form/File/File.css";
|
|
2
|
+
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
3
|
+
import { type ConsumerFieldProps } from "../core";
|
|
4
|
+
import { File } from "./File";
|
|
5
|
+
import { FileTable } from "./FileTable";
|
|
6
|
+
type FileProps = ComponentPropsWithoutRef<typeof File>;
|
|
7
|
+
type FileTableProps = ComponentPropsWithoutRef<typeof FileTable>;
|
|
8
|
+
type Props = ConsumerFieldProps & FileProps & Pick<FileTableProps, "values" | "errors"> & {
|
|
9
|
+
fileLabel?: string;
|
|
10
|
+
helpMessage?: ReactNode;
|
|
11
|
+
};
|
|
12
|
+
declare const FileInput: ({ values, id, name, onChange, label, errors, fileLabel, classModifier, children, ...otherFileProps }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export { FileInput };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/distributeur/Form/File/File.css";
|
|
3
|
+
import { useId } from "react";
|
|
4
|
+
import { Field } from "../core";
|
|
5
|
+
import { File } from "./File";
|
|
6
|
+
import { FileTable } from "./FileTable";
|
|
7
|
+
const FileInput = ({ values = [], id, name = "", onChange, label, errors, fileLabel, classModifier, children, ...otherFileProps }) => {
|
|
8
|
+
const onDeleteClick = (selectedId, selectInputId) => {
|
|
9
|
+
const newValues = values.filter((element) => element.id !== selectedId);
|
|
10
|
+
onChange({
|
|
11
|
+
values: newValues,
|
|
12
|
+
name,
|
|
13
|
+
id: selectInputId,
|
|
14
|
+
fileAction: "delete",
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
const generatedId = useId();
|
|
18
|
+
const actualId = id ?? generatedId;
|
|
19
|
+
return (_jsx(Field, { label: label, labelPosition: "top", id: actualId, classNameSuffix: "file", ...otherFileProps, renderInput: ({ classModifier: inputClassModifiers, id: inputId, ariaInvalid, errorId, ...inputProps }) => (_jsxs(_Fragment, { children: [_jsx(File, { id: inputId, name: name, onChange: onChange, classModifier: inputClassModifiers, label: fileLabel, "aria-describedby": errorId, "aria-invalid": ariaInvalid, ...inputProps }), children] })), appendChildren: _jsx(FileTable, { errors: errors, values: values, onClick: (selectedId) => onDeleteClick(selectedId, actualId), classModifier: classModifier }) }));
|
|
20
|
+
};
|
|
21
|
+
export { FileInput };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CustomFile } from "./File";
|
|
2
|
+
type Props = CustomFile & {
|
|
3
|
+
onClick: (id: string) => void;
|
|
4
|
+
className?: string;
|
|
5
|
+
classModifier?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const FileLine: ({ className, classModifier, file, disabled, id, onClick, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { FileLine };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { getComponentClassName } from "../../utilities";
|
|
3
|
+
const FileLine = ({ className, classModifier, file, disabled, id, onClick, }) => {
|
|
4
|
+
const componentClassName = getComponentClassName(className, classModifier, "af-form__file-line");
|
|
5
|
+
return (_jsxs("li", { className: componentClassName, children: [file && file.type && file.type.startsWith("image") ? (_jsx("i", { className: "glyphicon glyphicon-picture" })) : (_jsx("i", { className: "glyphicon glyphicon-file" })), _jsx("span", { children: file.name }), _jsx("span", { children: file.size }), _jsx("button", { disabled: disabled, type: "button", className: "af-link af-link--delete-file", onClick: () => onClick(id), children: _jsx("span", { className: "af-link__text", children: "Supprimer" }) })] }));
|
|
6
|
+
};
|
|
7
|
+
export { FileLine };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import { FileRejection } from "react-dropzone";
|
|
3
|
+
import { FileLine } from "./FileLine";
|
|
4
|
+
import { CustomFile } from "./File";
|
|
5
|
+
type FileLineProps = ComponentPropsWithoutRef<typeof FileLine>;
|
|
6
|
+
type Props = Pick<FileLineProps, "onClick"> & {
|
|
7
|
+
errors?: FileRejection[];
|
|
8
|
+
values?: CustomFile[];
|
|
9
|
+
className?: string;
|
|
10
|
+
classModifier?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const FileTable: ({ errors, values, className, classModifier, disabled, onClick, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export { FileTable };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { FileLine } from "./FileLine";
|
|
3
|
+
import { FileErrors } from "./FileErrors";
|
|
4
|
+
import { getComponentClassName } from "../../utilities";
|
|
5
|
+
const FileTable = ({ errors, values, className, classModifier, disabled, onClick, }) => {
|
|
6
|
+
const componentClassName = getComponentClassName(className, classModifier, "custom-table-file af-file-table");
|
|
7
|
+
return (_jsxs("div", { className: componentClassName, children: [errors && errors.length > 0 ? _jsx(FileErrors, { errors: errors }) : null, values && values.length > 0 ? (_jsx("ul", { className: "af-form__file-list", children: values.map(({ file, id }) => (_jsx(FileLine, { disabled: disabled, file: file, onClick: onClick, id: id }, id))) })) : null] }));
|
|
8
|
+
};
|
|
9
|
+
export { FileTable };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type FileActions = "add" | "delete";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type FormatOptionLabelMeta } from "react-select";
|
|
2
|
+
import { Option } from "./MultiSelect";
|
|
3
|
+
declare const formatOptionLabel: (data: Option, formatOptionLabelMeta: FormatOptionLabelMeta<Option>) => string | import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export { formatOptionLabel };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import classNames from "classnames";
|
|
3
|
+
import checkIcon from "@material-symbols/svg-700/outlined/check.svg";
|
|
4
|
+
import { Svg } from "../../Svg";
|
|
5
|
+
const formatOptionLabel = (data, formatOptionLabelMeta) => {
|
|
6
|
+
if (formatOptionLabelMeta.context === "value") {
|
|
7
|
+
return data.label;
|
|
8
|
+
}
|
|
9
|
+
const isChecked = formatOptionLabelMeta.selectValue.some((selectValue) => data.value === selectValue.value);
|
|
10
|
+
return (_jsxs("div", { className: "react-select__multi-option-label", children: [_jsx("div", { className: "checkbox-indicator", children: _jsx("span", { className: classNames("indicator", { "checkbox-checked": isChecked }), children: isChecked ? _jsx(Svg, { src: checkIcon }) : null }) }), data.label] }));
|
|
11
|
+
};
|
|
12
|
+
export { formatOptionLabel };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/distributeur/Form/MultiSelect/MultiSelect.css";
|
|
2
|
+
import { type GroupBase } from "react-select";
|
|
3
|
+
import { AsyncProps } from "react-select/async";
|
|
4
|
+
type Option = {
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
};
|
|
8
|
+
type Props = Omit<AsyncProps<Option, true, GroupBase<Option>>, "value" | "isDisabled" | "onChange"> & {
|
|
9
|
+
onChange?: (data: onChangeProps) => void;
|
|
10
|
+
values?: string[] | null;
|
|
11
|
+
value?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
selectedLimit?: number;
|
|
14
|
+
selectedLimitLabel?: string;
|
|
15
|
+
};
|
|
16
|
+
type onChangeProps = {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
values?: string[];
|
|
20
|
+
value?: string;
|
|
21
|
+
};
|
|
22
|
+
declare const MultiSelect: ({ id, name, loadOptions, values, options, value, onChange, onBlur, placeholder, className, disabled, loadingMessage, isMulti, selectedLimit, selectedLimitLabel, ...otherProps }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export { MultiSelect, type Option };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/distributeur/Form/MultiSelect/MultiSelect.css";
|
|
3
|
+
import { useId } from "react";
|
|
4
|
+
import Select from "react-select";
|
|
5
|
+
import AsyncSelect from "react-select/async";
|
|
6
|
+
import { formatOptionLabel } from "./FormatOptionLabel";
|
|
7
|
+
import { noOptionsMessage } from "./NoOptionsMessage";
|
|
8
|
+
import { useMultiSelectStyle } from "./useMultiSelectStyle";
|
|
9
|
+
import { ValueContainer } from "./ValueContainer";
|
|
10
|
+
const MultiSelect = ({ id, name, loadOptions, values, options, value, onChange, onBlur, placeholder = "- Sélectionner -", className = "react-select", disabled, loadingMessage = () => "Chargement...", isMulti, selectedLimit, selectedLimitLabel, ...otherProps }) => {
|
|
11
|
+
const { styles } = useMultiSelectStyle();
|
|
12
|
+
const generatedId = useId();
|
|
13
|
+
const inputId = id || generatedId;
|
|
14
|
+
const handleOnChange = (newValue) => {
|
|
15
|
+
if (!onChange)
|
|
16
|
+
return;
|
|
17
|
+
let onChangeProps = {
|
|
18
|
+
name: name ?? "",
|
|
19
|
+
id: inputId,
|
|
20
|
+
};
|
|
21
|
+
if (values) {
|
|
22
|
+
onChangeProps = {
|
|
23
|
+
...onChangeProps,
|
|
24
|
+
values: (newValue || []).map((v) => v.value),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
onChangeProps = {
|
|
29
|
+
...onChangeProps,
|
|
30
|
+
value: newValue?.value,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
onChange(onChangeProps);
|
|
34
|
+
};
|
|
35
|
+
const commonProps = {
|
|
36
|
+
inputId,
|
|
37
|
+
name,
|
|
38
|
+
onChange: handleOnChange,
|
|
39
|
+
onBlur,
|
|
40
|
+
placeholder,
|
|
41
|
+
className,
|
|
42
|
+
isDisabled: disabled,
|
|
43
|
+
options,
|
|
44
|
+
valueKey: "value",
|
|
45
|
+
labelKey: "label",
|
|
46
|
+
styles,
|
|
47
|
+
isMulti,
|
|
48
|
+
noOptionsMessage,
|
|
49
|
+
isClearable: true,
|
|
50
|
+
hideSelectedOptions: false,
|
|
51
|
+
components: { ValueContainer },
|
|
52
|
+
closeMenuOnSelect: !values,
|
|
53
|
+
...otherProps,
|
|
54
|
+
};
|
|
55
|
+
if (values) {
|
|
56
|
+
const newValues = options.filter((opt) => values.includes(opt.value));
|
|
57
|
+
const commonValuesProps = {
|
|
58
|
+
...commonProps,
|
|
59
|
+
value: newValues,
|
|
60
|
+
formatOptionLabel,
|
|
61
|
+
selectedLimit,
|
|
62
|
+
selectedLimitLabel,
|
|
63
|
+
};
|
|
64
|
+
return loadOptions ? (_jsx(AsyncSelect, { ...commonValuesProps, loadOptions: loadOptions, loadingMessage: loadingMessage, isMulti: true })) : (_jsx(Select, { ...commonValuesProps, isMulti: true }));
|
|
65
|
+
}
|
|
66
|
+
const newValue = options.find((o) => o.value === value);
|
|
67
|
+
const commonValueProps = {
|
|
68
|
+
...commonProps,
|
|
69
|
+
multi: false,
|
|
70
|
+
value: newValue,
|
|
71
|
+
};
|
|
72
|
+
return loadOptions ? (_jsx(AsyncSelect, { ...commonValueProps, loadOptions: loadOptions, loadingMessage: loadingMessage })) : (_jsx(Select, { ...commonValueProps }));
|
|
73
|
+
};
|
|
74
|
+
export { MultiSelect };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/distributeur/Form/MultiSelect/MultiSelect.css";
|
|
2
|
+
import { type ComponentProps } from "react";
|
|
3
|
+
import { ConsumerFieldProps } from "../core";
|
|
4
|
+
import { MultiSelect } from "./MultiSelect";
|
|
5
|
+
type Props = ConsumerFieldProps & ComponentProps<typeof MultiSelect>;
|
|
6
|
+
declare const MultiSelectInput: ({ label, children, ...multiSelectProps }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { MultiSelectInput };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/distributeur/Form/MultiSelect/MultiSelect.css";
|
|
3
|
+
import { Field } from "../core";
|
|
4
|
+
import { MultiSelect } from "./MultiSelect";
|
|
5
|
+
const MultiSelectInput = ({ label, children, ...multiSelectProps }) => {
|
|
6
|
+
return (_jsx(Field, { label: label, ...multiSelectProps, classNameSuffix: "select", renderInput: ({ id, ariaInvalid, errorId, ...props }) => {
|
|
7
|
+
return (_jsxs(_Fragment, { children: [_jsx(MultiSelect, { id: id, "aria-invalid": ariaInvalid, "aria-describedby": errorId, ...props }), children] }));
|
|
8
|
+
} }));
|
|
9
|
+
};
|
|
10
|
+
export { MultiSelectInput };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const noOptionsMessage = ({ inputValue }) => `Pas de résultats pour "${inputValue}"`;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type GroupBase, type ValueContainerProps } from "react-select";
|
|
2
|
+
import { Option } from "./MultiSelect";
|
|
3
|
+
declare const ValueContainer: ({ children, ...props }: ValueContainerProps<Option, boolean, GroupBase<Option>>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export { ValueContainer };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { components, } from "react-select";
|
|
4
|
+
const ValueContainer = ({ children, ...props }) => {
|
|
5
|
+
const { selectProps, getStyles, innerProps } = props;
|
|
6
|
+
const { selectedLimit, selectedLimitLabel, value: selectedOptions, isMulti, } = selectProps;
|
|
7
|
+
if (!isMulti) {
|
|
8
|
+
return (_jsx(components.ValueContainer, { ...props, children: children }));
|
|
9
|
+
}
|
|
10
|
+
const [values, input] = children;
|
|
11
|
+
const visibleOptions = React.Children.toArray(values).slice(0, selectedLimit);
|
|
12
|
+
const extraCount = Array.isArray(selectedOptions) && selectedLimit !== undefined
|
|
13
|
+
? selectedOptions.length - selectedLimit
|
|
14
|
+
: 0;
|
|
15
|
+
// On est obligé de sortir le borderRadius ici pour ne pas devoir ajouter un important dans le fichier scss
|
|
16
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
17
|
+
const { borderRadius, ...multiValueLabelStyles } = getStyles("multiValueLabel", props);
|
|
18
|
+
return (_jsxs(components.ValueContainer, { ...props, children: [extraCount > 0 ? (_jsxs(_Fragment, { children: [visibleOptions, _jsxs("div", { ...innerProps, style: multiValueLabelStyles, className: "multi-value-limit", children: ["+ ", extraCount, " ", selectedLimitLabel || ""] })] })) : (values), input] }));
|
|
19
|
+
};
|
|
20
|
+
export { ValueContainer };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export const useMultiSelectStyle = () => {
|
|
2
|
+
// The recommended way to provide custom styles to react-select is to use the styles prop
|
|
3
|
+
// https://react-select.com/styles#the-styles-prop
|
|
4
|
+
const styles = {
|
|
5
|
+
container: () => ({
|
|
6
|
+
width: "100%",
|
|
7
|
+
}),
|
|
8
|
+
control: (provided, state) => ({
|
|
9
|
+
...provided,
|
|
10
|
+
whiteSpace: "normal",
|
|
11
|
+
borderRadius: "0",
|
|
12
|
+
borderColor: state.isFocused ? "var(--axablue80)" : provided.borderColor,
|
|
13
|
+
boxShadow: state.isFocused ? "0" : provided.boxShadow,
|
|
14
|
+
width: "100%",
|
|
15
|
+
cursor: state.isDisabled ? "not-allowed" : "pointer",
|
|
16
|
+
":hover": {
|
|
17
|
+
borderColor: state.isFocused
|
|
18
|
+
? "var(--axablue80)"
|
|
19
|
+
: provided.borderColor,
|
|
20
|
+
},
|
|
21
|
+
}),
|
|
22
|
+
menu: (provided) => ({
|
|
23
|
+
...provided,
|
|
24
|
+
borderRadius: "0",
|
|
25
|
+
}),
|
|
26
|
+
menuList: (provided) => ({
|
|
27
|
+
...provided,
|
|
28
|
+
padding: "0",
|
|
29
|
+
}),
|
|
30
|
+
option: (provided, state) => ({
|
|
31
|
+
...provided,
|
|
32
|
+
backgroundColor: (state.isSelected && !state.isMulti) || state.isFocused
|
|
33
|
+
? "var(--axablue30)"
|
|
34
|
+
: "var(--white)",
|
|
35
|
+
color: state.isSelected || state.isFocused
|
|
36
|
+
? "var(--axablue80)"
|
|
37
|
+
: provided.color,
|
|
38
|
+
cursor: state.isDisabled ? "not-allowed" : "pointer",
|
|
39
|
+
padding: "0.406rem 0.75rem",
|
|
40
|
+
":hover": {
|
|
41
|
+
backgroundColor: "var(--axablue30)",
|
|
42
|
+
color: "var(--axablue80)",
|
|
43
|
+
},
|
|
44
|
+
}),
|
|
45
|
+
singleValue: (provided) => ({
|
|
46
|
+
...provided,
|
|
47
|
+
whiteSpace: "normal",
|
|
48
|
+
}),
|
|
49
|
+
multiValue: (provided) => ({
|
|
50
|
+
...provided,
|
|
51
|
+
whiteSpace: "normal",
|
|
52
|
+
flexDirection: "row-reverse",
|
|
53
|
+
borderRadius: "0.25rem",
|
|
54
|
+
}),
|
|
55
|
+
multiValueLabel: (provided, state) => ({
|
|
56
|
+
...provided,
|
|
57
|
+
whiteSpace: "normal",
|
|
58
|
+
backgroundColor: state.isDisabled
|
|
59
|
+
? provided.backgroundColor
|
|
60
|
+
: "var(--axablue30)",
|
|
61
|
+
color: state.isDisabled ? provided.backgroundColor : "var(--axablue80)",
|
|
62
|
+
padding: "0.125rem 0.375rem 0.125rem 0.375rem",
|
|
63
|
+
borderRadius: "0 0.25rem 0.25rem 0",
|
|
64
|
+
}),
|
|
65
|
+
multiValueRemove: (provided, state) => ({
|
|
66
|
+
...provided,
|
|
67
|
+
backgroundColor: state.isDisabled
|
|
68
|
+
? provided.backgroundColor
|
|
69
|
+
: "var(--axablue30)",
|
|
70
|
+
color: state.isDisabled ? provided.color : "var(--axablue80)",
|
|
71
|
+
// borderRadius: "0.25rem 0 0 0.25rem",
|
|
72
|
+
":hover": {
|
|
73
|
+
backgroundColor: state.isDisabled
|
|
74
|
+
? provided.backgroundColor
|
|
75
|
+
: "var(--axablue40)",
|
|
76
|
+
color: state.isDisabled ? provided.color : "var(--axablue80)",
|
|
77
|
+
},
|
|
78
|
+
}),
|
|
79
|
+
};
|
|
80
|
+
return { styles };
|
|
81
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/distributeur/Form/NestedQuestion/NestedQuestion.css";
|
|
2
|
+
import { PropsWithChildren } from "react";
|
|
3
|
+
export declare const NestedQuestion: ({ children, className, }: {
|
|
4
|
+
className?: string;
|
|
5
|
+
} & PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/distributeur/Form/NestedQuestion/NestedQuestion.css";
|
|
3
|
+
import { getComponentClassName } from "../../utilities";
|
|
4
|
+
export const NestedQuestion = ({ children, className, }) => {
|
|
5
|
+
const componentClassName = getComponentClassName(className, "", "af-form__nested-question");
|
|
6
|
+
return (_jsxs("section", { className: componentClassName, children: [_jsx("div", { className: `${componentClassName}-arrow` }), _jsx("section", { children: children })] }));
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "@axa-fr/canopee-css/distributeur/Form/Text/Text.css";
|
|
2
|
+
import { ComponentPropsWithRef } from "react";
|
|
3
|
+
type Props = Omit<ComponentPropsWithRef<"input">, "type"> & {
|
|
4
|
+
classModifier?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const Number: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
7
|
+
export { Number };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import "@axa-fr/canopee-css/distributeur/Form/Text/Text.css";
|
|
3
|
+
import { forwardRef, useId } from "react";
|
|
4
|
+
import { getComponentClassName } from "../../utilities";
|
|
5
|
+
const Number = forwardRef(({ id, className, classModifier, required, ...otherProps }, inputRef) => {
|
|
6
|
+
const inputUseId = useId();
|
|
7
|
+
const inputId = id ?? inputUseId;
|
|
8
|
+
const componentClassName = getComponentClassName(className, classModifier, "af-form__input-text");
|
|
9
|
+
return (_jsx("input", { className: componentClassName, id: inputId, type: "number", ref: inputRef, required: required || classModifier?.includes("required"), ...otherProps }));
|
|
10
|
+
});
|
|
11
|
+
Number.displayName = "Number";
|
|
12
|
+
export { Number };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from "react";
|
|
2
|
+
import { type ConsumerFieldProps } from "../core";
|
|
3
|
+
import { Number } from "./Number";
|
|
4
|
+
type Props = ConsumerFieldProps & ComponentPropsWithRef<typeof Number>;
|
|
5
|
+
export declare const NumberInput: ({ children, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Field } from "../core";
|
|
3
|
+
import { Number } from "./Number";
|
|
4
|
+
export const NumberInput = ({ children, ...props }) => {
|
|
5
|
+
return (_jsx(Field, { ...props, renderInput: ({ id, classModifier, ariaInvalid, errorId, ...inputProps }) => (_jsxs(_Fragment, { children: [_jsx(Number, { id: id, classModifier: classModifier, "aria-describedby": errorId, "aria-invalid": ariaInvalid, ...inputProps }), children] })) }));
|
|
6
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from "react";
|
|
2
|
+
import "@axa-fr/canopee-css/distributeur/Form/Pass/Pass.css";
|
|
3
|
+
type Props = Omit<ComponentPropsWithRef<"input">, "type" | "role"> & {
|
|
4
|
+
type?: "text" | "password";
|
|
5
|
+
classModifier?: string;
|
|
6
|
+
onToggleType: () => void;
|
|
7
|
+
};
|
|
8
|
+
declare const Pass: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
9
|
+
export { Pass };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { getComponentClassName } from "../../utilities";
|
|
4
|
+
import "@axa-fr/canopee-css/distributeur/Form/Pass/Pass.css";
|
|
5
|
+
const Pass = forwardRef(({ onToggleType, type = "password", className, classModifier, ...inputProps }, inputRef) => {
|
|
6
|
+
const componentClassName = getComponentClassName(className, classModifier, "af-form__pass");
|
|
7
|
+
return (_jsxs("div", { className: componentClassName, children: [_jsx("div", { className: "af-form__pass-strength" }), _jsx("input", { ...inputProps, role: type === "password" ? "password" : "textbox", className: "af-form__input-text", type: type, ref: inputRef, required: classModifier?.includes("required") }), _jsx("button", { className: "af-form__pass-btn", type: "button", "aria-label": "show password", onClick: onToggleType, children: _jsx("i", { className: `glyphicon glyphicon-eye${type === "text" ? "-close" : "-open"}` }) })] }));
|
|
8
|
+
});
|
|
9
|
+
Pass.displayName = "Pass";
|
|
10
|
+
export { Pass };
|