@inseefr/lunatic 3.4.5-rc.0 → 3.4.6-rc.0
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/esm/components/Accordion/Accordion.d.ts +7 -0
- package/esm/components/Accordion/Accordion.js +6 -0
- package/esm/components/Accordion/Accordion.js.map +1 -0
- package/esm/components/CheckboxBoolean/CheckboxBoolean.d.ts +10 -0
- package/esm/components/CheckboxBoolean/CheckboxBoolean.js +19 -0
- package/esm/components/CheckboxBoolean/CheckboxBoolean.js.map +1 -0
- package/esm/components/CheckboxBoolean/CheckboxBoolean.spec.d.ts +1 -0
- package/esm/components/CheckboxBoolean/CheckboxBoolean.spec.js +37 -0
- package/esm/components/CheckboxBoolean/CheckboxBoolean.spec.js.map +1 -0
- package/esm/components/CheckboxGroup/CheckboxGroup.d.ts +2 -0
- package/esm/components/CheckboxGroup/CheckboxGroup.js +7 -0
- package/esm/components/CheckboxGroup/CheckboxGroup.js.map +1 -0
- package/esm/components/CheckboxGroup/CustomCheckboxGroup.d.ts +7 -0
- package/esm/components/CheckboxGroup/CustomCheckboxGroup.js +17 -0
- package/esm/components/CheckboxGroup/CustomCheckboxGroup.js.map +1 -0
- package/esm/components/CheckboxGroup/CustomCheckboxGroup.spec.d.ts +1 -0
- package/esm/components/CheckboxGroup/CustomCheckboxGroup.spec.js +45 -0
- package/esm/components/CheckboxGroup/CustomCheckboxGroup.spec.js.map +1 -0
- package/esm/components/CheckboxOne/CheckboxOne.d.ts +5 -0
- package/esm/components/CheckboxOne/CheckboxOne.js +10 -0
- package/esm/components/CheckboxOne/CheckboxOne.js.map +1 -0
- package/esm/components/CheckboxOne/CheckboxOne.spec.d.ts +1 -0
- package/esm/components/CheckboxOne/CheckboxOne.spec.js +24 -0
- package/esm/components/CheckboxOne/CheckboxOne.spec.js.map +1 -0
- package/esm/components/Datepicker/Datepicker.d.ts +9 -0
- package/esm/components/Datepicker/Datepicker.js +66 -0
- package/esm/components/Datepicker/Datepicker.js.map +1 -0
- package/esm/components/Datepicker/Datepicker.spec.d.ts +1 -0
- package/esm/components/Datepicker/Datepicker.spec.js +75 -0
- package/esm/components/Datepicker/Datepicker.spec.js.map +1 -0
- package/esm/components/Datepicker/DatepickerField.d.ts +12 -0
- package/esm/components/Datepicker/DatepickerField.js +13 -0
- package/esm/components/Datepicker/DatepickerField.js.map +1 -0
- package/esm/components/Dropdown/Dropdown.d.ts +9 -0
- package/esm/components/Dropdown/Dropdown.js +15 -0
- package/esm/components/Dropdown/Dropdown.js.map +1 -0
- package/esm/components/Dropdown/Dropdown.spec.d.ts +1 -0
- package/esm/components/Dropdown/Dropdown.spec.js +38 -0
- package/esm/components/Dropdown/Dropdown.spec.js.map +1 -0
- package/esm/components/Dropdown/renderer/SimpleLabelRenderer.d.ts +8 -0
- package/esm/components/Dropdown/renderer/SimpleLabelRenderer.js +19 -0
- package/esm/components/Dropdown/renderer/SimpleLabelRenderer.js.map +1 -0
- package/esm/components/Dropdown/renderer/SimpleOptionRenderer.d.ts +7 -0
- package/esm/components/Dropdown/renderer/SimpleOptionRenderer.js +10 -0
- package/esm/components/Dropdown/renderer/SimpleOptionRenderer.js.map +1 -0
- package/esm/components/Duration/Duration.d.ts +9 -0
- package/esm/components/Duration/Duration.js +34 -0
- package/esm/components/Duration/Duration.js.map +1 -0
- package/esm/components/Duration/durationUtils.d.ts +47 -0
- package/esm/components/Duration/durationUtils.js +26 -0
- package/esm/components/Duration/durationUtils.js.map +1 -0
- package/esm/components/Duration/formatDuration.d.ts +2 -0
- package/esm/components/Duration/formatDuration.js +18 -0
- package/esm/components/Duration/formatDuration.js.map +1 -0
- package/esm/components/Duration/formatDuration.spec.d.ts +1 -0
- package/esm/components/Duration/formatDuration.spec.js +16 -0
- package/esm/components/Duration/formatDuration.spec.js.map +1 -0
- package/esm/components/Duration/getDurationFromValue.d.ts +8 -0
- package/esm/components/Duration/getDurationFromValue.js +36 -0
- package/esm/components/Duration/getDurationFromValue.js.map +1 -0
- package/esm/components/FilterDescription/FilterDescription.d.ts +7 -0
- package/esm/components/FilterDescription/FilterDescription.js +3 -0
- package/esm/components/FilterDescription/FilterDescription.js.map +1 -0
- package/esm/components/FilterDescription/FilterDescription.spec.d.ts +1 -0
- package/esm/components/FilterDescription/FilterDescription.spec.js +16 -0
- package/esm/components/FilterDescription/FilterDescription.spec.js.map +1 -0
- package/esm/components/Input/Input.d.ts +9 -0
- package/esm/components/Input/Input.js +15 -0
- package/esm/components/Input/Input.js.map +1 -0
- package/esm/components/Input/Input.spec.d.ts +1 -0
- package/esm/components/Input/Input.spec.js +52 -0
- package/esm/components/Input/Input.spec.js.map +1 -0
- package/esm/components/InputNumber/InputNumber.d.ts +9 -0
- package/esm/components/InputNumber/InputNumber.js +15 -0
- package/esm/components/InputNumber/InputNumber.js.map +1 -0
- package/esm/components/InputNumber/InputNumber.spec.d.ts +1 -0
- package/esm/components/InputNumber/InputNumber.spec.js +76 -0
- package/esm/components/InputNumber/InputNumber.spec.js.map +1 -0
- package/esm/components/InputNumber/InputNumberThousand.d.ts +14 -0
- package/esm/components/InputNumber/InputNumberThousand.js +20 -0
- package/esm/components/InputNumber/InputNumberThousand.js.map +1 -0
- package/esm/components/Loop/Loop.d.ts +15 -0
- package/esm/components/Loop/Loop.js +56 -0
- package/esm/components/Loop/Loop.js.map +1 -0
- package/esm/components/Loop/constant.d.ts +4 -0
- package/esm/components/Loop/constant.js +10 -0
- package/esm/components/Loop/constant.js.map +1 -0
- package/esm/components/LunaticComponents.d.ts +22 -0
- package/esm/components/LunaticComponents.js +83 -0
- package/esm/components/LunaticComponents.js.map +1 -0
- package/esm/components/PairwiseLinks/PairwiseLinks.d.ts +2 -0
- package/esm/components/PairwiseLinks/PairwiseLinks.js +42 -0
- package/esm/components/PairwiseLinks/PairwiseLinks.js.map +1 -0
- package/esm/components/Question/Question.d.ts +9 -0
- package/esm/components/Question/Question.js +16 -0
- package/esm/components/Question/Question.js.map +1 -0
- package/esm/components/Radio/Radio.d.ts +9 -0
- package/esm/components/Radio/Radio.js +10 -0
- package/esm/components/Radio/Radio.js.map +1 -0
- package/esm/components/RosterForLoop/RosterForLoop.d.ts +5 -0
- package/esm/components/RosterForLoop/RosterForLoop.js +63 -0
- package/esm/components/RosterForLoop/RosterForLoop.js.map +1 -0
- package/esm/components/RosterForLoop/RosterForLoop.spec.d.ts +1 -0
- package/esm/components/RosterForLoop/RosterForLoop.spec.js +28 -0
- package/esm/components/RosterForLoop/RosterForLoop.spec.js.map +1 -0
- package/esm/components/Roundabout/CustomRoundabout.d.ts +16 -0
- package/esm/components/Roundabout/CustomRoundabout.js +31 -0
- package/esm/components/Roundabout/CustomRoundabout.js.map +1 -0
- package/esm/components/Roundabout/Roundabout.d.ts +5 -0
- package/esm/components/Roundabout/Roundabout.js +28 -0
- package/esm/components/Roundabout/Roundabout.js.map +1 -0
- package/esm/components/Roundabout/roundabout.spec.d.ts +1 -0
- package/esm/components/Roundabout/roundabout.spec.js +47 -0
- package/esm/components/Roundabout/roundabout.spec.js.map +1 -0
- package/esm/components/Sequence/Sequence.d.ts +3 -0
- package/esm/components/Sequence/Sequence.js +9 -0
- package/esm/components/Sequence/Sequence.js.map +1 -0
- package/esm/components/Subsequence/Subsequence.d.ts +3 -0
- package/esm/components/Subsequence/Subsequence.js +9 -0
- package/esm/components/Subsequence/Subsequence.js.map +1 -0
- package/esm/components/Subsequence/Subsequence.spec.d.ts +1 -0
- package/esm/components/Subsequence/Subsequence.spec.js +43 -0
- package/esm/components/Subsequence/Subsequence.spec.js.map +1 -0
- package/esm/components/Suggester/CustomSuggester.d.ts +29 -0
- package/esm/components/Suggester/CustomSuggester.js +19 -0
- package/esm/components/Suggester/CustomSuggester.js.map +1 -0
- package/esm/components/Suggester/Suggester.d.ts +2 -0
- package/esm/components/Suggester/Suggester.js +104 -0
- package/esm/components/Suggester/Suggester.js.map +1 -0
- package/esm/components/Suggester/SuggesterNotification.d.ts +9 -0
- package/esm/components/Suggester/SuggesterNotification.js +15 -0
- package/esm/components/Suggester/SuggesterNotification.js.map +1 -0
- package/esm/components/Suggester/SuggesterType.d.ts +5 -0
- package/esm/components/Suggester/SuggesterType.js +2 -0
- package/esm/components/Suggester/SuggesterType.js.map +1 -0
- package/esm/components/Suggester/useSuggestions.d.ts +17 -0
- package/esm/components/Suggester/useSuggestions.js +85 -0
- package/esm/components/Suggester/useSuggestions.js.map +1 -0
- package/esm/components/Summary/Summary.d.ts +25 -0
- package/esm/components/Summary/Summary.js +65 -0
- package/esm/components/Summary/Summary.js.map +1 -0
- package/esm/components/Switch/Switch.d.ts +20 -0
- package/esm/components/Switch/Switch.js +30 -0
- package/esm/components/Switch/Switch.js.map +1 -0
- package/esm/components/Table/Table.d.ts +2 -0
- package/esm/components/Table/Table.js +9 -0
- package/esm/components/Table/Table.js.map +1 -0
- package/esm/components/Text/Text.d.ts +2 -0
- package/esm/components/Text/Text.js +4 -0
- package/esm/components/Text/Text.js.map +1 -0
- package/esm/components/Textarea/Textarea.d.ts +9 -0
- package/esm/components/Textarea/Textarea.js +14 -0
- package/esm/components/Textarea/Textarea.js.map +1 -0
- package/esm/components/Textarea/Textarea.spec.d.ts +1 -0
- package/esm/components/Textarea/Textarea.spec.js +31 -0
- package/esm/components/Textarea/Textarea.spec.js.map +1 -0
- package/esm/components/library.d.ts +73 -0
- package/esm/components/library.js +52 -0
- package/esm/components/library.js.map +1 -0
- package/esm/components/shared/Button/Button.d.ts +14 -0
- package/esm/components/shared/Button/Button.js +13 -0
- package/esm/components/shared/Button/Button.js.map +1 -0
- package/esm/components/shared/Button/Button.spec.d.ts +1 -0
- package/esm/components/shared/Button/Button.spec.js +51 -0
- package/esm/components/shared/Button/Button.spec.js.map +1 -0
- package/esm/components/shared/Button/IconButton.d.ts +6 -0
- package/esm/components/shared/Button/IconButton.js +7 -0
- package/esm/components/shared/Button/IconButton.js.map +1 -0
- package/esm/components/shared/Button/IconButton.spec.d.ts +1 -0
- package/esm/components/shared/Button/IconButton.spec.js +53 -0
- package/esm/components/shared/Button/IconButton.spec.js.map +1 -0
- package/esm/components/shared/Checkbox/CheckboxOption.d.ts +15 -0
- package/esm/components/shared/Checkbox/CheckboxOption.js +26 -0
- package/esm/components/shared/Checkbox/CheckboxOption.js.map +1 -0
- package/esm/components/shared/Checkbox/CheckboxOption.spec.d.ts +1 -0
- package/esm/components/shared/Checkbox/CheckboxOption.spec.js +52 -0
- package/esm/components/shared/Checkbox/CheckboxOption.spec.js.map +1 -0
- package/esm/components/shared/Checkbox/getShortcutKey.d.ts +1 -0
- package/esm/components/shared/Checkbox/getShortcutKey.js +3 -0
- package/esm/components/shared/Checkbox/getShortcutKey.js.map +1 -0
- package/esm/components/shared/Combobox/Combobox.d.ts +25 -0
- package/esm/components/shared/Combobox/Combobox.js +97 -0
- package/esm/components/shared/Combobox/Combobox.js.map +1 -0
- package/esm/components/shared/Combobox/Combobox.stories.d.ts +6 -0
- package/esm/components/shared/Combobox/Combobox.stories.js +47 -0
- package/esm/components/shared/Combobox/Combobox.stories.js.map +1 -0
- package/esm/components/shared/Combobox/ComboboxContainer.d.ts +11 -0
- package/esm/components/shared/Combobox/ComboboxContainer.js +6 -0
- package/esm/components/shared/Combobox/ComboboxContainer.js.map +1 -0
- package/esm/components/shared/Combobox/ComboboxContainer.spec.d.ts +1 -0
- package/esm/components/shared/Combobox/ComboboxContainer.spec.js +24 -0
- package/esm/components/shared/Combobox/ComboboxContainer.spec.js.map +1 -0
- package/esm/components/shared/Combobox/ComboboxContent.d.ts +10 -0
- package/esm/components/shared/Combobox/ComboboxContent.js +35 -0
- package/esm/components/shared/Combobox/ComboboxContent.js.map +1 -0
- package/esm/components/shared/Combobox/ComboboxContentBox.d.ts +7 -0
- package/esm/components/shared/Combobox/ComboboxContentBox.js +7 -0
- package/esm/components/shared/Combobox/ComboboxContentBox.js.map +1 -0
- package/esm/components/shared/Combobox/ComboboxType.d.ts +51 -0
- package/esm/components/shared/Combobox/ComboboxType.js +2 -0
- package/esm/components/shared/Combobox/ComboboxType.js.map +1 -0
- package/esm/components/shared/Combobox/Panel/ComboboxOption.d.ts +7 -0
- package/esm/components/shared/Combobox/Panel/ComboboxOption.js +15 -0
- package/esm/components/shared/Combobox/Panel/ComboboxOption.js.map +1 -0
- package/esm/components/shared/Combobox/Panel/ComboboxOption.spec.d.ts +1 -0
- package/esm/components/shared/Combobox/Panel/ComboboxOption.spec.js +33 -0
- package/esm/components/shared/Combobox/Panel/ComboboxOption.spec.js.map +1 -0
- package/esm/components/shared/Combobox/Panel/ComboboxOptionContainer.d.ts +8 -0
- package/esm/components/shared/Combobox/Panel/ComboboxOptionContainer.js +36 -0
- package/esm/components/shared/Combobox/Panel/ComboboxOptionContainer.js.map +1 -0
- package/esm/components/shared/Combobox/Panel/ComboboxOptionContainer.spec.d.ts +1 -0
- package/esm/components/shared/Combobox/Panel/ComboboxOptionContainer.spec.js +18 -0
- package/esm/components/shared/Combobox/Panel/ComboboxOptionContainer.spec.js.map +1 -0
- package/esm/components/shared/Combobox/Panel/ComboboxPanel.d.ts +5 -0
- package/esm/components/shared/Combobox/Panel/ComboboxPanel.js +30 -0
- package/esm/components/shared/Combobox/Panel/ComboboxPanel.js.map +1 -0
- package/esm/components/shared/Combobox/Panel/ComboboxPanel.spec.d.ts +1 -0
- package/esm/components/shared/Combobox/Panel/ComboboxPanel.spec.js +57 -0
- package/esm/components/shared/Combobox/Panel/ComboboxPanel.spec.js.map +1 -0
- package/esm/components/shared/Combobox/Panel/ComboboxPanelContainer.d.ts +8 -0
- package/esm/components/shared/Combobox/Panel/ComboboxPanelContainer.js +8 -0
- package/esm/components/shared/Combobox/Panel/ComboboxPanelContainer.js.map +1 -0
- package/esm/components/shared/Combobox/Panel/ComboboxPanelContainer.spec.d.ts +1 -0
- package/esm/components/shared/Combobox/Panel/ComboboxPanelContainer.spec.js +31 -0
- package/esm/components/shared/Combobox/Panel/ComboboxPanelContainer.spec.js.map +1 -0
- package/esm/components/shared/Combobox/Selection/ComboboxClearButton.d.ts +8 -0
- package/esm/components/shared/Combobox/Selection/ComboboxClearButton.js +28 -0
- package/esm/components/shared/Combobox/Selection/ComboboxClearButton.js.map +1 -0
- package/esm/components/shared/Combobox/Selection/ComboboxClearButton.spec.d.ts +1 -0
- package/esm/components/shared/Combobox/Selection/ComboboxClearButton.spec.js +53 -0
- package/esm/components/shared/Combobox/Selection/ComboboxClearButton.spec.js.map +1 -0
- package/esm/components/shared/Combobox/Selection/ComboboxInput.d.ts +11 -0
- package/esm/components/shared/Combobox/Selection/ComboboxInput.js +21 -0
- package/esm/components/shared/Combobox/Selection/ComboboxInput.js.map +1 -0
- package/esm/components/shared/Combobox/Selection/ComboboxLabelSelection.d.ts +10 -0
- package/esm/components/shared/Combobox/Selection/ComboboxLabelSelection.js +31 -0
- package/esm/components/shared/Combobox/Selection/ComboboxLabelSelection.js.map +1 -0
- package/esm/components/shared/Combobox/Selection/ComboboxLabelSelection.spec.d.ts +1 -0
- package/esm/components/shared/Combobox/Selection/ComboboxLabelSelection.spec.js +27 -0
- package/esm/components/shared/Combobox/Selection/ComboboxLabelSelection.spec.js.map +1 -0
- package/esm/components/shared/Combobox/Selection/ComboboxSelection.d.ts +6 -0
- package/esm/components/shared/Combobox/Selection/ComboboxSelection.js +18 -0
- package/esm/components/shared/Combobox/Selection/ComboboxSelection.js.map +1 -0
- package/esm/components/shared/Combobox/Selection/ComboboxSelection.spec.d.ts +1 -0
- package/esm/components/shared/Combobox/Selection/ComboboxSelection.spec.js +36 -0
- package/esm/components/shared/Combobox/Selection/ComboboxSelection.spec.js.map +1 -0
- package/esm/components/shared/Combobox/constants.d.ts +9 -0
- package/esm/components/shared/Combobox/constants.js +10 -0
- package/esm/components/shared/Combobox/constants.js.map +1 -0
- package/esm/components/shared/Combobox/index.d.ts +0 -0
- package/esm/components/shared/Combobox/index.js +2 -0
- package/esm/components/shared/Combobox/index.js.map +1 -0
- package/esm/components/shared/ComponentErrors/ComponentErrors.d.ts +14 -0
- package/esm/components/shared/ComponentErrors/ComponentErrors.js +24 -0
- package/esm/components/shared/ComponentErrors/ComponentErrors.js.map +1 -0
- package/esm/components/shared/ComponentErrors/ComponentErrors.spec.d.ts +1 -0
- package/esm/components/shared/ComponentErrors/ComponentErrors.spec.js +40 -0
- package/esm/components/shared/ComponentErrors/ComponentErrors.spec.js.map +1 -0
- package/esm/components/shared/ComponentWrapper.d.ts +25 -0
- package/esm/components/shared/ComponentWrapper.js +28 -0
- package/esm/components/shared/ComponentWrapper.js.map +1 -0
- package/esm/components/shared/Declarations/Declarations.d.ts +16 -0
- package/esm/components/shared/Declarations/Declarations.js +14 -0
- package/esm/components/shared/Declarations/Declarations.js.map +1 -0
- package/esm/components/shared/Declarations/Declarations.spec.d.ts +1 -0
- package/esm/components/shared/Declarations/Declarations.spec.js +66 -0
- package/esm/components/shared/Declarations/Declarations.spec.js.map +1 -0
- package/esm/components/shared/Fieldset/Fieldset.d.ts +9 -0
- package/esm/components/shared/Fieldset/Fieldset.js +28 -0
- package/esm/components/shared/Fieldset/Fieldset.js.map +1 -0
- package/esm/components/shared/Fieldset/Fieldset.spec.d.ts +1 -0
- package/esm/components/shared/Fieldset/Fieldset.spec.js +25 -0
- package/esm/components/shared/Fieldset/Fieldset.spec.js.map +1 -0
- package/esm/components/shared/HOC/slottableComponent.d.ts +101 -0
- package/esm/components/shared/HOC/slottableComponent.js +31 -0
- package/esm/components/shared/HOC/slottableComponent.js.map +1 -0
- package/esm/components/shared/Icons/checkbox-checked-icon.d.ts +2 -0
- package/esm/components/shared/Icons/checkbox-checked-icon.js +6 -0
- package/esm/components/shared/Icons/checkbox-checked-icon.js.map +1 -0
- package/esm/components/shared/Icons/checkbox-disabled-icon.d.ts +2 -0
- package/esm/components/shared/Icons/checkbox-disabled-icon.js +6 -0
- package/esm/components/shared/Icons/checkbox-disabled-icon.js.map +1 -0
- package/esm/components/shared/Icons/checkbox-unchecked-icon.d.ts +2 -0
- package/esm/components/shared/Icons/checkbox-unchecked-icon.js +6 -0
- package/esm/components/shared/Icons/checkbox-unchecked-icon.js.map +1 -0
- package/esm/components/shared/Icons/closed-icon.d.ts +2 -0
- package/esm/components/shared/Icons/closed-icon.js +6 -0
- package/esm/components/shared/Icons/closed-icon.js.map +1 -0
- package/esm/components/shared/Icons/cross-icon.d.ts +2 -0
- package/esm/components/shared/Icons/cross-icon.js +6 -0
- package/esm/components/shared/Icons/cross-icon.js.map +1 -0
- package/esm/components/shared/Icons/icon-props.d.ts +5 -0
- package/esm/components/shared/Icons/icon-props.js +2 -0
- package/esm/components/shared/Icons/icon-props.js.map +1 -0
- package/esm/components/shared/Icons/index.d.ts +10 -0
- package/esm/components/shared/Icons/index.js +11 -0
- package/esm/components/shared/Icons/index.js.map +1 -0
- package/esm/components/shared/Icons/load-icon.d.ts +2 -0
- package/esm/components/shared/Icons/load-icon.js +6 -0
- package/esm/components/shared/Icons/load-icon.js.map +1 -0
- package/esm/components/shared/Icons/lunatic-icon.d.ts +4 -0
- package/esm/components/shared/Icons/lunatic-icon.js +6 -0
- package/esm/components/shared/Icons/lunatic-icon.js.map +1 -0
- package/esm/components/shared/Icons/network-icon.d.ts +2 -0
- package/esm/components/shared/Icons/network-icon.js +6 -0
- package/esm/components/shared/Icons/network-icon.js.map +1 -0
- package/esm/components/shared/Icons/on-drag-icon.d.ts +2 -0
- package/esm/components/shared/Icons/on-drag-icon.js +6 -0
- package/esm/components/shared/Icons/on-drag-icon.js.map +1 -0
- package/esm/components/shared/Icons/opened-icon.d.ts +2 -0
- package/esm/components/shared/Icons/opened-icon.js +6 -0
- package/esm/components/shared/Icons/opened-icon.js.map +1 -0
- package/esm/components/shared/Icons/radio-checked-icon.d.ts +3 -0
- package/esm/components/shared/Icons/radio-checked-icon.js +7 -0
- package/esm/components/shared/Icons/radio-checked-icon.js.map +1 -0
- package/esm/components/shared/Icons/radio-unchecked-icon.d.ts +2 -0
- package/esm/components/shared/Icons/radio-unchecked-icon.js +6 -0
- package/esm/components/shared/Icons/radio-unchecked-icon.js.map +1 -0
- package/esm/components/shared/Label/Label.d.ts +10 -0
- package/esm/components/shared/Label/Label.js +15 -0
- package/esm/components/shared/Label/Label.js.map +1 -0
- package/esm/components/shared/Label/Label.spec.d.ts +1 -0
- package/esm/components/shared/Label/Label.spec.js +19 -0
- package/esm/components/shared/Label/Label.spec.js.map +1 -0
- package/esm/components/shared/LabelDescription.d.ts +7 -0
- package/esm/components/shared/LabelDescription.js +11 -0
- package/esm/components/shared/LabelDescription.js.map +1 -0
- package/esm/components/shared/MDLabel/MDLabel.d.ts +5 -0
- package/esm/components/shared/MDLabel/MDLabel.js +20 -0
- package/esm/components/shared/MDLabel/MDLabel.js.map +1 -0
- package/esm/components/shared/MDLabel/MDLabel.spec.d.ts +1 -0
- package/esm/components/shared/MDLabel/MDLabel.spec.js +107 -0
- package/esm/components/shared/MDLabel/MDLabel.spec.js.map +1 -0
- package/esm/components/shared/MDLabel/MarkdownLink.d.ts +7 -0
- package/esm/components/shared/MDLabel/MarkdownLink.js +14 -0
- package/esm/components/shared/MDLabel/MarkdownLink.js.map +1 -0
- package/esm/components/shared/MDLabel/RouterLink.d.ts +6 -0
- package/esm/components/shared/MDLabel/RouterLink.js +7 -0
- package/esm/components/shared/MDLabel/RouterLink.js.map +1 -0
- package/esm/components/shared/Missing/Missing.d.ts +14 -0
- package/esm/components/shared/Missing/Missing.js +52 -0
- package/esm/components/shared/Missing/Missing.js.map +1 -0
- package/esm/components/shared/Missing/Missing.spec.d.ts +1 -0
- package/esm/components/shared/Missing/Missing.spec.js +45 -0
- package/esm/components/shared/Missing/Missing.spec.js.map +1 -0
- package/esm/components/shared/ModalControls/ModalControls.d.ts +10 -0
- package/esm/components/shared/ModalControls/ModalControls.js +29 -0
- package/esm/components/shared/ModalControls/ModalControls.js.map +1 -0
- package/esm/components/shared/ModalControls/ModalControls.spec.d.ts +1 -0
- package/esm/components/shared/ModalControls/ModalControls.spec.js +61 -0
- package/esm/components/shared/ModalControls/ModalControls.spec.js.map +1 -0
- package/esm/components/shared/Notification.d.ts +8 -0
- package/esm/components/shared/Notification.js +8 -0
- package/esm/components/shared/Notification.js.map +1 -0
- package/esm/components/shared/Radio/RadioGroup.d.ts +7 -0
- package/esm/components/shared/Radio/RadioGroup.js +23 -0
- package/esm/components/shared/Radio/RadioGroup.js.map +1 -0
- package/esm/components/shared/Radio/RadioOption.d.ts +17 -0
- package/esm/components/shared/Radio/RadioOption.js +38 -0
- package/esm/components/shared/Radio/RadioOption.js.map +1 -0
- package/esm/components/shared/Radio/RadioOption.spec.d.ts +1 -0
- package/esm/components/shared/Radio/RadioOption.spec.js +46 -0
- package/esm/components/shared/Radio/RadioOption.spec.js.map +1 -0
- package/esm/components/shared/Table/Table.d.ts +8 -0
- package/esm/components/shared/Table/Table.js +13 -0
- package/esm/components/shared/Table/Table.js.map +1 -0
- package/esm/components/shared/Table/Table.spec.d.ts +1 -0
- package/esm/components/shared/Table/Table.spec.js +15 -0
- package/esm/components/shared/Table/Table.spec.js.map +1 -0
- package/esm/components/shared/Table/TableHeader.d.ts +2 -0
- package/esm/components/shared/Table/TableHeader.js +14 -0
- package/esm/components/shared/Table/TableHeader.js.map +1 -0
- package/esm/components/shared/Table/Tbody.d.ts +6 -0
- package/esm/components/shared/Table/Tbody.js +8 -0
- package/esm/components/shared/Table/Tbody.js.map +1 -0
- package/esm/components/shared/Table/Tbody.spec.d.ts +1 -0
- package/esm/components/shared/Table/Tbody.spec.js +22 -0
- package/esm/components/shared/Table/Tbody.spec.js.map +1 -0
- package/esm/components/shared/Table/Td.d.ts +11 -0
- package/esm/components/shared/Table/Td.js +8 -0
- package/esm/components/shared/Table/Td.js.map +1 -0
- package/esm/components/shared/Table/Td.spec.d.ts +1 -0
- package/esm/components/shared/Table/Td.spec.js +21 -0
- package/esm/components/shared/Table/Td.spec.js.map +1 -0
- package/esm/components/shared/Table/Th.d.ts +10 -0
- package/esm/components/shared/Table/Th.js +8 -0
- package/esm/components/shared/Table/Th.js.map +1 -0
- package/esm/components/shared/Table/Th.spec.d.ts +1 -0
- package/esm/components/shared/Table/Th.spec.js +25 -0
- package/esm/components/shared/Table/Th.spec.js.map +1 -0
- package/esm/components/shared/Table/Thead.d.ts +6 -0
- package/esm/components/shared/Table/Thead.js +8 -0
- package/esm/components/shared/Table/Thead.js.map +1 -0
- package/esm/components/shared/Table/Thead.spec.d.ts +1 -0
- package/esm/components/shared/Table/Thead.spec.js +12 -0
- package/esm/components/shared/Table/Thead.spec.js.map +1 -0
- package/esm/components/shared/Table/Tr.d.ts +7 -0
- package/esm/components/shared/Table/Tr.js +8 -0
- package/esm/components/shared/Table/Tr.js.map +1 -0
- package/esm/components/shared/Table/Tr.spec.d.ts +1 -0
- package/esm/components/shared/Table/Tr.spec.js +19 -0
- package/esm/components/shared/Table/Tr.spec.js.map +1 -0
- package/esm/components/shared/Table/index.d.ts +7 -0
- package/esm/components/shared/Table/index.js +8 -0
- package/esm/components/shared/Table/index.js.map +1 -0
- package/esm/components/type.d.ts +305 -0
- package/esm/components/type.js +2 -0
- package/esm/components/type.js.map +1 -0
- package/esm/constants/component-types.d.ts +1 -0
- package/esm/constants/component-types.js +2 -0
- package/esm/constants/component-types.js.map +1 -0
- package/esm/constants/declarations.d.ts +9 -0
- package/esm/constants/declarations.js +12 -0
- package/esm/constants/declarations.js.map +1 -0
- package/esm/constants/event-types.d.ts +10 -0
- package/esm/constants/event-types.js +13 -0
- package/esm/constants/event-types.js.map +1 -0
- package/esm/constants/index.d.ts +5 -0
- package/esm/constants/index.js +6 -0
- package/esm/constants/index.js.map +1 -0
- package/esm/constants/indexedDBStore.d.ts +21 -0
- package/esm/constants/indexedDBStore.js +19 -0
- package/esm/constants/indexedDBStore.js.map +1 -0
- package/esm/constants/supported-preferences.d.ts +1 -0
- package/esm/constants/supported-preferences.js +10 -0
- package/esm/constants/supported-preferences.js.map +1 -0
- package/esm/constants/value-types.d.ts +5 -0
- package/esm/constants/value-types.js +6 -0
- package/esm/constants/value-types.js.map +1 -0
- package/esm/constants/variable-types.d.ts +2 -0
- package/esm/constants/variable-types.js +5 -0
- package/esm/constants/variable-types.js.map +1 -0
- package/esm/hooks/use-auto-focus.d.ts +6 -0
- package/esm/hooks/use-auto-focus.js +19 -0
- package/esm/hooks/use-auto-focus.js.map +1 -0
- package/esm/hooks/use-track-changes.d.ts +11 -0
- package/esm/hooks/use-track-changes.js +41 -0
- package/esm/hooks/use-track-changes.js.map +1 -0
- package/esm/hooks/use-why-render.d.ts +4 -0
- package/esm/hooks/use-why-render.js +14 -0
- package/esm/hooks/use-why-render.js.map +1 -0
- package/esm/hooks/useDebounce.d.ts +4 -0
- package/esm/hooks/useDebounce.js +24 -0
- package/esm/hooks/useDebounce.js.map +1 -0
- package/esm/hooks/useDocumentEvent.d.ts +2 -0
- package/esm/hooks/useDocumentEvent.js +18 -0
- package/esm/hooks/useDocumentEvent.js.map +1 -0
- package/esm/hooks/useKeyboardKey.d.ts +4 -0
- package/esm/hooks/useKeyboardKey.js +25 -0
- package/esm/hooks/useKeyboardKey.js.map +1 -0
- package/esm/hooks/useListKeyboardHandler.d.ts +11 -0
- package/esm/hooks/useListKeyboardHandler.js +28 -0
- package/esm/hooks/useListKeyboardHandler.js.map +1 -0
- package/esm/hooks/useRefSync.d.ts +4 -0
- package/esm/hooks/useRefSync.js +10 -0
- package/esm/hooks/useRefSync.js.map +1 -0
- package/esm/i18n/build-dictionary.d.ts +24 -0
- package/esm/i18n/build-dictionary.js +37 -0
- package/esm/i18n/build-dictionary.js.map +1 -0
- package/esm/i18n/dictionary.d.ts +57 -0
- package/esm/i18n/dictionary.js +27 -0
- package/esm/i18n/dictionary.js.map +1 -0
- package/esm/i18n/index.d.ts +7 -0
- package/esm/i18n/index.js +13 -0
- package/esm/i18n/index.js.map +1 -0
- package/esm/i18n/inputNumberProps.d.ts +13 -0
- package/esm/i18n/inputNumberProps.js +7 -0
- package/esm/i18n/inputNumberProps.js.map +1 -0
- package/esm/index.d.ts +14 -0
- package/esm/index.js +12 -0
- package/esm/index.js.map +1 -0
- package/esm/tests/setup.d.ts +1 -0
- package/esm/tests/setup.js +18 -0
- package/esm/tests/setup.js.map +1 -0
- package/esm/tests/utils/lunatic.d.ts +19 -0
- package/esm/tests/utils/lunatic.js +31 -0
- package/esm/tests/utils/lunatic.js.map +1 -0
- package/esm/tests/utils/timer.d.ts +1 -0
- package/esm/tests/utils/timer.js +4 -0
- package/esm/tests/utils/timer.js.map +1 -0
- package/esm/tsconfig-esm.tsbuildinfo +1 -0
- package/esm/type.source.d.ts +408 -0
- package/esm/type.source.js +7 -0
- package/esm/type.source.js.map +1 -0
- package/esm/type.utils.d.ts +5 -0
- package/esm/type.utils.js +2 -0
- package/esm/type.utils.js.map +1 -0
- package/esm/use-lunatic/actions.d.ts +50 -0
- package/esm/use-lunatic/actions.js +26 -0
- package/esm/use-lunatic/actions.js.map +1 -0
- package/esm/use-lunatic/commons/check-loops.d.ts +30 -0
- package/esm/use-lunatic/commons/check-loops.js +63 -0
- package/esm/use-lunatic/commons/check-loops.js.map +1 -0
- package/esm/use-lunatic/commons/check-pager.d.ts +5 -0
- package/esm/use-lunatic/commons/check-pager.js +17 -0
- package/esm/use-lunatic/commons/check-pager.js.map +1 -0
- package/esm/use-lunatic/commons/compile-controls.d.ts +9 -0
- package/esm/use-lunatic/commons/compile-controls.js +156 -0
- package/esm/use-lunatic/commons/compile-controls.js.map +1 -0
- package/esm/use-lunatic/commons/component.d.ts +22 -0
- package/esm/use-lunatic/commons/component.js +22 -0
- package/esm/use-lunatic/commons/component.js.map +1 -0
- package/esm/use-lunatic/commons/create-map-pages.d.ts +6 -0
- package/esm/use-lunatic/commons/create-map-pages.js +58 -0
- package/esm/use-lunatic/commons/create-map-pages.js.map +1 -0
- package/esm/use-lunatic/commons/execute-condition-filter.d.ts +3 -0
- package/esm/use-lunatic/commons/execute-condition-filter.js +11 -0
- package/esm/use-lunatic/commons/execute-condition-filter.js.map +1 -0
- package/esm/use-lunatic/commons/fill-components/fill-component-expressions.d.ts +34 -0
- package/esm/use-lunatic/commons/fill-components/fill-component-expressions.js +149 -0
- package/esm/use-lunatic/commons/fill-components/fill-component-expressions.js.map +1 -0
- package/esm/use-lunatic/commons/fill-components/fill-component-expressions.spec.d.ts +1 -0
- package/esm/use-lunatic/commons/fill-components/fill-component-expressions.spec.js +83 -0
- package/esm/use-lunatic/commons/fill-components/fill-component-expressions.spec.js.map +1 -0
- package/esm/use-lunatic/commons/fill-components/fill-components.d.ts +25 -0
- package/esm/use-lunatic/commons/fill-components/fill-components.js +41 -0
- package/esm/use-lunatic/commons/fill-components/fill-components.js.map +1 -0
- package/esm/use-lunatic/commons/get-compatible-vtl-expression.d.ts +7 -0
- package/esm/use-lunatic/commons/get-compatible-vtl-expression.js +19 -0
- package/esm/use-lunatic/commons/get-compatible-vtl-expression.js.map +1 -0
- package/esm/use-lunatic/commons/get-components-from-state.d.ts +5 -0
- package/esm/use-lunatic/commons/get-components-from-state.js +22 -0
- package/esm/use-lunatic/commons/get-components-from-state.js.map +1 -0
- package/esm/use-lunatic/commons/index.d.ts +6 -0
- package/esm/use-lunatic/commons/index.js +7 -0
- package/esm/use-lunatic/commons/index.js.map +1 -0
- package/esm/use-lunatic/commons/is-First-last-page.d.ts +6 -0
- package/esm/use-lunatic/commons/is-First-last-page.js +8 -0
- package/esm/use-lunatic/commons/is-First-last-page.js.map +1 -0
- package/esm/use-lunatic/commons/is-paginated-loop.d.ts +6 -0
- package/esm/use-lunatic/commons/is-paginated-loop.js +5 -0
- package/esm/use-lunatic/commons/is-paginated-loop.js.map +1 -0
- package/esm/use-lunatic/commons/is-roundabout.d.ts +2 -0
- package/esm/use-lunatic/commons/is-roundabout.js +5 -0
- package/esm/use-lunatic/commons/is-roundabout.js.map +1 -0
- package/esm/use-lunatic/commons/page-navigation.d.ts +7 -0
- package/esm/use-lunatic/commons/page-navigation.js +95 -0
- package/esm/use-lunatic/commons/page-navigation.js.map +1 -0
- package/esm/use-lunatic/commons/page-navigation.spec.d.ts +1 -0
- package/esm/use-lunatic/commons/page-navigation.spec.js +136 -0
- package/esm/use-lunatic/commons/page-navigation.spec.js.map +1 -0
- package/esm/use-lunatic/commons/page-tag.d.ts +23 -0
- package/esm/use-lunatic/commons/page-tag.js +56 -0
- package/esm/use-lunatic/commons/page-tag.js.map +1 -0
- package/esm/use-lunatic/commons/page-tag.spec.d.ts +1 -0
- package/esm/use-lunatic/commons/page-tag.spec.js +38 -0
- package/esm/use-lunatic/commons/page-tag.spec.js.map +1 -0
- package/esm/use-lunatic/commons/page.d.ts +11 -0
- package/esm/use-lunatic/commons/page.js +35 -0
- package/esm/use-lunatic/commons/page.js.map +1 -0
- package/esm/use-lunatic/commons/variables/behaviours/cleaning-behaviour.d.ts +7 -0
- package/esm/use-lunatic/commons/variables/behaviours/cleaning-behaviour.js +55 -0
- package/esm/use-lunatic/commons/variables/behaviours/cleaning-behaviour.js.map +1 -0
- package/esm/use-lunatic/commons/variables/behaviours/missing-behaviour.d.ts +7 -0
- package/esm/use-lunatic/commons/variables/behaviours/missing-behaviour.js +26 -0
- package/esm/use-lunatic/commons/variables/behaviours/missing-behaviour.js.map +1 -0
- package/esm/use-lunatic/commons/variables/behaviours/resizing-behaviour.d.ts +7 -0
- package/esm/use-lunatic/commons/variables/behaviours/resizing-behaviour.js +62 -0
- package/esm/use-lunatic/commons/variables/behaviours/resizing-behaviour.js.map +1 -0
- package/esm/use-lunatic/commons/variables/errors.d.ts +19 -0
- package/esm/use-lunatic/commons/variables/errors.js +28 -0
- package/esm/use-lunatic/commons/variables/errors.js.map +1 -0
- package/esm/use-lunatic/commons/variables/get-questionnaire-data.d.ts +3 -0
- package/esm/use-lunatic/commons/variables/get-questionnaire-data.js +53 -0
- package/esm/use-lunatic/commons/variables/get-questionnaire-data.js.map +1 -0
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.d.ts +90 -0
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.js +349 -0
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.js.map +1 -0
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.spec.d.ts +1 -0
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.spec.js +438 -0
- package/esm/use-lunatic/commons/variables/lunatic-variables-store.spec.js.map +1 -0
- package/esm/use-lunatic/hooks/use-loop-variables.d.ts +5 -0
- package/esm/use-lunatic/hooks/use-loop-variables.js +18 -0
- package/esm/use-lunatic/hooks/use-loop-variables.js.map +1 -0
- package/esm/use-lunatic/hooks/use-page-has-response.d.ts +6 -0
- package/esm/use-lunatic/hooks/use-page-has-response.js +89 -0
- package/esm/use-lunatic/hooks/use-page-has-response.js.map +1 -0
- package/esm/use-lunatic/hooks/useOverview.d.ts +16 -0
- package/esm/use-lunatic/hooks/useOverview.js +92 -0
- package/esm/use-lunatic/hooks/useOverview.js.map +1 -0
- package/esm/use-lunatic/hooks/useWarnDepChange.d.ts +6 -0
- package/esm/use-lunatic/hooks/useWarnDepChange.js +17 -0
- package/esm/use-lunatic/hooks/useWarnDepChange.js.map +1 -0
- package/esm/use-lunatic/logger/ConsoleLogger.d.ts +5 -0
- package/esm/use-lunatic/logger/ConsoleLogger.js +12 -0
- package/esm/use-lunatic/logger/ConsoleLogger.js.map +1 -0
- package/esm/use-lunatic/logger/type.d.ts +9 -0
- package/esm/use-lunatic/logger/type.js +2 -0
- package/esm/use-lunatic/logger/type.js.map +1 -0
- package/esm/use-lunatic/lunatic-context.d.ts +28 -0
- package/esm/use-lunatic/lunatic-context.js +44 -0
- package/esm/use-lunatic/lunatic-context.js.map +1 -0
- package/esm/use-lunatic/props/getComponentTypeProps.d.ts +291 -0
- package/esm/use-lunatic/props/getComponentTypeProps.js +165 -0
- package/esm/use-lunatic/props/getComponentTypeProps.js.map +1 -0
- package/esm/use-lunatic/props/propIterations.d.ts +7 -0
- package/esm/use-lunatic/props/propIterations.js +26 -0
- package/esm/use-lunatic/props/propIterations.js.map +1 -0
- package/esm/use-lunatic/props/propMissingResponse.d.ts +9 -0
- package/esm/use-lunatic/props/propMissingResponse.js +13 -0
- package/esm/use-lunatic/props/propMissingResponse.js.map +1 -0
- package/esm/use-lunatic/props/propOptions.d.ts +37 -0
- package/esm/use-lunatic/props/propOptions.js +75 -0
- package/esm/use-lunatic/props/propOptions.js.map +1 -0
- package/esm/use-lunatic/props/propOptions.spec.d.ts +1 -0
- package/esm/use-lunatic/props/propOptions.spec.js +57 -0
- package/esm/use-lunatic/props/propOptions.spec.js.map +1 -0
- package/esm/use-lunatic/props/propValue.d.ts +6 -0
- package/esm/use-lunatic/props/propValue.js +29 -0
- package/esm/use-lunatic/props/propValue.js.map +1 -0
- package/esm/use-lunatic/props/propValue.spec.d.ts +1 -0
- package/esm/use-lunatic/props/propValue.spec.js +54 -0
- package/esm/use-lunatic/props/propValue.spec.js.map +1 -0
- package/esm/use-lunatic/reducer/commons/auto-explore-loop.d.ts +5 -0
- package/esm/use-lunatic/reducer/commons/auto-explore-loop.js +52 -0
- package/esm/use-lunatic/reducer/commons/auto-explore-loop.js.map +1 -0
- package/esm/use-lunatic/reducer/commons/index.d.ts +2 -0
- package/esm/use-lunatic/reducer/commons/index.js +3 -0
- package/esm/use-lunatic/reducer/commons/index.js.map +1 -0
- package/esm/use-lunatic/reducer/commons/resize-array-variable.d.ts +5 -0
- package/esm/use-lunatic/reducer/commons/resize-array-variable.js +21 -0
- package/esm/use-lunatic/reducer/commons/resize-array-variable.js.map +1 -0
- package/esm/use-lunatic/reducer/commons/validate-condition-filter.d.ts +6 -0
- package/esm/use-lunatic/reducer/commons/validate-condition-filter.js +12 -0
- package/esm/use-lunatic/reducer/commons/validate-condition-filter.js.map +1 -0
- package/esm/use-lunatic/reducer/controls/check-base-control.d.ts +2 -0
- package/esm/use-lunatic/reducer/controls/check-base-control.js +35 -0
- package/esm/use-lunatic/reducer/controls/check-base-control.js.map +1 -0
- package/esm/use-lunatic/reducer/controls/check-roundabout-control.d.ts +9 -0
- package/esm/use-lunatic/reducer/controls/check-roundabout-control.js +22 -0
- package/esm/use-lunatic/reducer/controls/check-roundabout-control.js.map +1 -0
- package/esm/use-lunatic/reducer/overview/overviewOnInit.d.ts +6 -0
- package/esm/use-lunatic/reducer/overview/overviewOnInit.js +50 -0
- package/esm/use-lunatic/reducer/overview/overviewOnInit.js.map +1 -0
- package/esm/use-lunatic/reducer/reduce-go-next-page.d.ts +2 -0
- package/esm/use-lunatic/reducer/reduce-go-next-page.js +62 -0
- package/esm/use-lunatic/reducer/reduce-go-next-page.js.map +1 -0
- package/esm/use-lunatic/reducer/reduce-go-previous-page.d.ts +2 -0
- package/esm/use-lunatic/reducer/reduce-go-previous-page.js +31 -0
- package/esm/use-lunatic/reducer/reduce-go-previous-page.js.map +1 -0
- package/esm/use-lunatic/reducer/reduce-go-to-page.d.ts +3 -0
- package/esm/use-lunatic/reducer/reduce-go-to-page.js +55 -0
- package/esm/use-lunatic/reducer/reduce-go-to-page.js.map +1 -0
- package/esm/use-lunatic/reducer/reduce-handle-changes.d.ts +6 -0
- package/esm/use-lunatic/reducer/reduce-handle-changes.js +26 -0
- package/esm/use-lunatic/reducer/reduce-handle-changes.js.map +1 -0
- package/esm/use-lunatic/reducer/reducer.d.ts +3 -0
- package/esm/use-lunatic/reducer/reducer.js +20 -0
- package/esm/use-lunatic/reducer/reducer.js.map +1 -0
- package/esm/use-lunatic/reducer/reducerInitializer.d.ts +14 -0
- package/esm/use-lunatic/reducer/reducerInitializer.js +130 -0
- package/esm/use-lunatic/reducer/reducerInitializer.js.map +1 -0
- package/esm/use-lunatic/replace-component-sequence.d.ts +36 -0
- package/esm/use-lunatic/replace-component-sequence.js +19 -0
- package/esm/use-lunatic/replace-component-sequence.js.map +1 -0
- package/esm/use-lunatic/type.d.ts +166 -0
- package/esm/use-lunatic/type.js +2 -0
- package/esm/use-lunatic/type.js.map +1 -0
- package/esm/use-lunatic/use-lunatic.d.ts +37 -0
- package/esm/use-lunatic/use-lunatic.js +140 -0
- package/esm/use-lunatic/use-lunatic.js.map +1 -0
- package/esm/utils/array.d.ts +32 -0
- package/esm/utils/array.js +107 -0
- package/esm/utils/array.js.map +1 -0
- package/esm/utils/array.spec.d.ts +1 -0
- package/esm/utils/array.spec.js +42 -0
- package/esm/utils/array.spec.js.map +1 -0
- package/esm/utils/constants/alphabet.d.ts +1 -0
- package/esm/utils/constants/alphabet.js +2 -0
- package/esm/utils/constants/alphabet.js.map +1 -0
- package/esm/utils/constants/features.d.ts +4 -0
- package/esm/utils/constants/features.js +5 -0
- package/esm/utils/constants/features.js.map +1 -0
- package/esm/utils/constants/index.d.ts +5 -0
- package/esm/utils/constants/index.js +6 -0
- package/esm/utils/constants/index.js.map +1 -0
- package/esm/utils/constants/links.d.ts +2 -0
- package/esm/utils/constants/links.js +3 -0
- package/esm/utils/constants/links.js.map +1 -0
- package/esm/utils/constants/missing.d.ts +2 -0
- package/esm/utils/constants/missing.js +3 -0
- package/esm/utils/constants/missing.js.map +1 -0
- package/esm/utils/constants/variable-status.d.ts +5 -0
- package/esm/utils/constants/variable-status.js +6 -0
- package/esm/utils/constants/variable-status.js.map +1 -0
- package/esm/utils/constants/variable-types.d.ts +1 -0
- package/esm/utils/constants/variable-types.js +2 -0
- package/esm/utils/constants/variable-types.js.map +1 -0
- package/esm/utils/dom.d.ts +14 -0
- package/esm/utils/dom.js +23 -0
- package/esm/utils/dom.js.map +1 -0
- package/esm/utils/env.d.ts +1 -0
- package/esm/utils/env.js +13 -0
- package/esm/utils/env.js.map +1 -0
- package/esm/utils/function.d.ts +5 -0
- package/esm/utils/function.js +23 -0
- package/esm/utils/function.js.map +1 -0
- package/esm/utils/is-element.d.ts +3 -0
- package/esm/utils/is-element.js +6 -0
- package/esm/utils/is-element.js.map +1 -0
- package/esm/utils/is-object.d.ts +4 -0
- package/esm/utils/is-object.js +7 -0
- package/esm/utils/is-object.js.map +1 -0
- package/esm/utils/logger.d.ts +6 -0
- package/esm/utils/logger.js +15 -0
- package/esm/utils/logger.js.map +1 -0
- package/esm/utils/number.d.ts +9 -0
- package/esm/utils/number.js +32 -0
- package/esm/utils/number.js.map +1 -0
- package/esm/utils/number.spec.d.ts +1 -0
- package/esm/utils/number.spec.js +10 -0
- package/esm/utils/number.spec.js.map +1 -0
- package/esm/utils/object.d.ts +6 -0
- package/esm/utils/object.js +27 -0
- package/esm/utils/object.js.map +1 -0
- package/esm/utils/search/SearchInterface.d.ts +12 -0
- package/esm/utils/search/SearchInterface.js +2 -0
- package/esm/utils/search/SearchInterface.js.map +1 -0
- package/esm/utils/search/SearchMinisearch.d.ts +11 -0
- package/esm/utils/search/SearchMinisearch.js +39 -0
- package/esm/utils/search/SearchMinisearch.js.map +1 -0
- package/esm/utils/search/SuggestersDatabase.d.ts +15 -0
- package/esm/utils/search/SuggestersDatabase.js +38 -0
- package/esm/utils/search/SuggestersDatabase.js.map +1 -0
- package/esm/utils/search/melauto.d.ts +15 -0
- package/esm/utils/search/melauto.js +44 -0
- package/esm/utils/search/melauto.js.map +1 -0
- package/esm/utils/search/tokenizer.d.ts +14 -0
- package/esm/utils/search/tokenizer.js +57 -0
- package/esm/utils/search/tokenizer.js.map +1 -0
- package/esm/utils/to-number.d.ts +4 -0
- package/esm/utils/to-number.js +13 -0
- package/esm/utils/to-number.js.map +1 -0
- package/esm/utils/variables.d.ts +5 -0
- package/esm/utils/variables.js +21 -0
- package/esm/utils/variables.js.map +1 -0
- package/esm/utils/variables.spec.d.ts +1 -0
- package/esm/utils/variables.spec.js +83 -0
- package/esm/utils/variables.spec.js.map +1 -0
- package/esm/utils/vtl.d.ts +14 -0
- package/esm/utils/vtl.js +93 -0
- package/esm/utils/vtl.js.map +1 -0
- package/package.json +750 -2
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Missing } from './Missing/Missing';
|
|
3
|
+
import classnames from 'classnames';
|
|
4
|
+
import { Declarations } from './Declarations/Declarations';
|
|
5
|
+
import { voidFunction } from '../../utils/function';
|
|
6
|
+
/**
|
|
7
|
+
* Wrapper around Lunatic components, handle Declarations and missing buttons
|
|
8
|
+
*
|
|
9
|
+
* ## The structure :
|
|
10
|
+
*
|
|
11
|
+
* |--------------------------|
|
|
12
|
+
* | DeclarationBefore |
|
|
13
|
+
* |__________________________|
|
|
14
|
+
* |--------------------------|
|
|
15
|
+
* | Component |
|
|
16
|
+
* |__________________________|
|
|
17
|
+
* |--------------------------|
|
|
18
|
+
* | Missing Buttons |
|
|
19
|
+
* |__________________________|
|
|
20
|
+
*/
|
|
21
|
+
export function ComponentWrapper(props) {
|
|
22
|
+
const { id, declarations, children, management, handleChanges } = props;
|
|
23
|
+
return (_jsxs(_Fragment, { children: [_jsx(Declarations, { type: "BEFORE_QUESTION_TEXT", declarations: declarations, id: id }), _jsxs("div", { className: "field-container", children: [_jsx("div", { className: classnames({
|
|
24
|
+
'field-with-tooltip': management,
|
|
25
|
+
field: !management,
|
|
26
|
+
}), children: children }), management && _jsx("div", { className: "tooltip" })] }), _jsx(Declarations, { type: "DETACHABLE", declarations: declarations, id: id }), _jsx(Missing, { ...props, handleChanges: handleChanges !== null && handleChanges !== void 0 ? handleChanges : voidFunction })] }));
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=ComponentWrapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComponentWrapper.js","sourceRoot":"","sources":["../../../src/components/shared/ComponentWrapper.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAqBpD;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAAY;IAC5C,MAAM,EAAE,EAAE,EAAE,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IACxE,OAAO,CACN,8BACC,KAAC,YAAY,IACZ,IAAI,EAAC,sBAAsB,EAC3B,YAAY,EAAE,YAAY,EAC1B,EAAE,EAAE,EAAE,GACL,EACF,eAAK,SAAS,EAAC,iBAAiB,aAC/B,cACC,SAAS,EAAE,UAAU,CAAC;4BACrB,oBAAoB,EAAE,UAAU;4BAChC,KAAK,EAAE,CAAC,UAAU;yBAClB,CAAC,YAED,QAAQ,GACJ,EACL,UAAU,IAAI,cAAK,SAAS,EAAC,SAAS,GAAG,IACrC,EACN,KAAC,YAAY,IAAC,IAAI,EAAC,YAAY,EAAC,YAAY,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,GAAI,EACtE,KAAC,OAAO,OAAK,KAAK,EAAE,aAAa,EAAE,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,YAAY,GAAI,IAClE,CACH,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type PropsWithChildren, type ReactNode } from 'react';
|
|
2
|
+
export declare const Declaration: import("react").ComponentType<PropsWithChildren<{
|
|
3
|
+
declarationType: "INSTRUCTION" | "COMMENT" | "HELP" | "CODECARD" | "WARNING" | "STATEMENT";
|
|
4
|
+
}>>;
|
|
5
|
+
type Props = {
|
|
6
|
+
id?: string;
|
|
7
|
+
type?: 'AFTER_QUESTION_TEXT' | 'BEFORE_QUESTION_TEXT' | 'DETACHABLE';
|
|
8
|
+
declarations?: {
|
|
9
|
+
id: string;
|
|
10
|
+
declarationType: 'INSTRUCTION' | 'COMMENT' | 'HELP' | 'CODECARD' | 'WARNING' | 'STATEMENT';
|
|
11
|
+
position: string;
|
|
12
|
+
label: ReactNode;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
export declare const Declarations: import("react").ComponentType<Props>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { slottableComponent } from '../HOC/slottableComponent';
|
|
3
|
+
import classnames from 'classnames';
|
|
4
|
+
export const Declaration = slottableComponent('Declaration', ({ children, declarationType }) => (_jsx("div", { "data-testid": "declaration", className: classnames('declaration-lunatic', `declaration-${declarationType.toLowerCase()}`), children: children })));
|
|
5
|
+
function LunaticDeclarations({ id, type = 'AFTER_QUESTION_TEXT', declarations, }) {
|
|
6
|
+
var _a;
|
|
7
|
+
const filtered = (_a = declarations === null || declarations === void 0 ? void 0 : declarations.filter((d) => d.position === type && d.label)) !== null && _a !== void 0 ? _a : [];
|
|
8
|
+
if (filtered.length === 0) {
|
|
9
|
+
return null;
|
|
10
|
+
}
|
|
11
|
+
return (_jsx("div", { id: `declarations-${id}-${type}`, className: "declarations-lunatic", children: filtered.map(({ id, label, declarationType }) => (_jsx(Declaration, { declarationType: declarationType, children: label }, id))) }));
|
|
12
|
+
}
|
|
13
|
+
export const Declarations = slottableComponent('Declarations', LunaticDeclarations);
|
|
14
|
+
//# sourceMappingURL=Declarations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Declarations.js","sourceRoot":"","sources":["../../../../src/components/shared/Declarations/Declarations.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAU3C,aAAa,EAAE,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,CACnD,6BACa,aAAa,EACzB,SAAS,EAAE,UAAU,CACpB,qBAAqB,EACrB,eAAe,eAAe,CAAC,WAAW,EAAE,EAAE,CAC9C,YAEA,QAAQ,GACJ,CACN,CAAC,CAAC;AAmBH,SAAS,mBAAmB,CAAC,EAC5B,EAAE,EACF,IAAI,GAAG,qBAAqB,EAC5B,YAAY,GACL;;IACP,MAAM,QAAQ,GACb,MAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,CAAC,KAAK,CAAC,mCAAI,EAAE,CAAC;IAEnE,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IACb,CAAC;IAED,OAAO,CACN,cAAK,EAAE,EAAE,gBAAgB,EAAE,IAAI,IAAI,EAAE,EAAE,SAAS,EAAC,sBAAsB,YACrE,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,CACjD,KAAC,WAAW,IAAU,eAAe,EAAE,eAAe,YACpD,KAAK,IADW,EAAE,CAEN,CACd,CAAC,GACG,CACN,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAC7C,cAAc,EACd,mBAAmB,CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Declarations } from './Declarations';
|
|
3
|
+
import { render } from '@testing-library/react';
|
|
4
|
+
import { describe, it, expect } from 'vitest';
|
|
5
|
+
const declarations = [
|
|
6
|
+
{
|
|
7
|
+
id: '1',
|
|
8
|
+
label: 'Declaration 1',
|
|
9
|
+
declarationType: 'COMMENT',
|
|
10
|
+
position: 'AFTER_QUESTION_TEXT',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
id: '2',
|
|
14
|
+
label: 'Declaration 2',
|
|
15
|
+
declarationType: 'COMMENT',
|
|
16
|
+
position: 'BEFORE_QUESTION_TEXT',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
id: '3',
|
|
20
|
+
label: 'Declaration 3',
|
|
21
|
+
declarationType: 'COMMENT',
|
|
22
|
+
position: 'DETACHABLE',
|
|
23
|
+
},
|
|
24
|
+
];
|
|
25
|
+
describe('Declarations component', () => {
|
|
26
|
+
it('renders correctly with filtered Declarations', () => {
|
|
27
|
+
const { getByTestId, getByText } = render(_jsxs("div", { children: [_jsx("div", { "data-testid": `declarations-1-AFTER_QUESTION_TEXT` }), _jsx(Declarations, { id: "1", type: "AFTER_QUESTION_TEXT", declarations: declarations })] }));
|
|
28
|
+
const declarationsElement = getByTestId('declarations-1-AFTER_QUESTION_TEXT');
|
|
29
|
+
expect(declarationsElement.nextElementSibling).toHaveClass('declarations-lunatic');
|
|
30
|
+
const declarationElement = getByText('Declaration 1');
|
|
31
|
+
expect(declarationElement).toBeInTheDocument();
|
|
32
|
+
expect(declarationElement).toHaveClass('declaration-lunatic');
|
|
33
|
+
expect(declarationElement).toHaveClass('declaration-comment');
|
|
34
|
+
});
|
|
35
|
+
it('renders nothing with unfiltered Declarations', () => {
|
|
36
|
+
const declarationstest = [
|
|
37
|
+
{
|
|
38
|
+
id: '3',
|
|
39
|
+
label: 'Declaration 3',
|
|
40
|
+
declarationType: 'COMMENT',
|
|
41
|
+
position: 'DETACHABLE',
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
const { queryByTestId } = render(_jsxs("div", { children: [_jsx("div", { "data-testid": `declarations-1-BEFORE_QUESTION_TEXT` }), _jsx(Declarations, { id: "1", type: "BEFORE_QUESTION_TEXT", declarations: declarationstest })] }));
|
|
45
|
+
const declarationsElement = queryByTestId('declarations-1-BEFORE_QUESTION_TEXT');
|
|
46
|
+
expect(declarationsElement.nextElementSibling).toBeNull();
|
|
47
|
+
});
|
|
48
|
+
it('renders nothing with empty Declarations array', () => {
|
|
49
|
+
const { queryByTestId } = render(_jsxs("div", { children: [_jsx("div", { "data-testid": `declarations-1-DETACHABLE` }), _jsx(Declarations, { id: "1", type: "DETACHABLE", declarations: [] })] }));
|
|
50
|
+
const declarationsElement = queryByTestId('declarations-1-DETACHABLE');
|
|
51
|
+
expect(declarationsElement.nextElementSibling).toBeNull();
|
|
52
|
+
});
|
|
53
|
+
it('renders null with empty Declaration', () => {
|
|
54
|
+
const declarationstest = [
|
|
55
|
+
{
|
|
56
|
+
id: '3',
|
|
57
|
+
label: '',
|
|
58
|
+
declarationType: 'COMMENT',
|
|
59
|
+
position: 'DETACHABLE',
|
|
60
|
+
},
|
|
61
|
+
];
|
|
62
|
+
const { container } = render(_jsx(Declarations, { id: "1", type: "DETACHABLE", declarations: declarationstest }));
|
|
63
|
+
expect(container).toMatchInlineSnapshot(`<div />`);
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
//# sourceMappingURL=Declarations.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Declarations.spec.js","sourceRoot":"","sources":["../../../../src/components/shared/Declarations/Declarations.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAG9C,MAAM,YAAY,GAAG;IACpB;QACC,EAAE,EAAE,GAAG;QACP,KAAK,EAAE,eAAe;QACtB,eAAe,EAAE,SAAS;QAC1B,QAAQ,EAAE,qBAAqB;KAC/B;IACD;QACC,EAAE,EAAE,GAAG;QACP,KAAK,EAAE,eAAe;QACtB,eAAe,EAAE,SAAS;QAC1B,QAAQ,EAAE,sBAAsB;KAChC;IACD;QACC,EAAE,EAAE,GAAG;QACP,KAAK,EAAE,eAAe;QACtB,eAAe,EAAE,SAAS;QAC1B,QAAQ,EAAE,YAAY;KACtB;CAC0C,CAAC;AAE7C,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACvC,EAAE,CAAC,8CAA8C,EAAE,GAAG,EAAE;QACvD,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,GAAG,MAAM,CACxC,0BACC,6BAAkB,oCAAoC,GAAI,EAC1D,KAAC,YAAY,IACZ,EAAE,EAAC,GAAG,EACN,IAAI,EAAC,qBAAqB,EAC1B,YAAY,EAAE,YAAY,GACzB,IACG,CACN,CAAC;QACF,MAAM,mBAAmB,GAAG,WAAW,CACtC,oCAAoC,CACpC,CAAC;QACF,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,CAAC,WAAW,CACzD,sBAAsB,CACtB,CAAC;QACF,MAAM,kBAAkB,GAAG,SAAS,CAAC,eAAe,CAAC,CAAC;QACtD,MAAM,CAAC,kBAAkB,CAAC,CAAC,iBAAiB,EAAE,CAAC;QAC/C,MAAM,CAAC,kBAAkB,CAAC,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;QAC9D,MAAM,CAAC,kBAAkB,CAAC,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;IAC/D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8CAA8C,EAAE,GAAG,EAAE;QACvD,MAAM,gBAAgB,GAAG;YACxB;gBACC,EAAE,EAAE,GAAG;gBACP,KAAK,EAAE,eAAe;gBACtB,eAAe,EAAE,SAAkB;gBACnC,QAAQ,EAAE,YAAY;aACtB;SACD,CAAC;QACF,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAC/B,0BACC,6BAAkB,qCAAqC,GAAI,EAC3D,KAAC,YAAY,IACZ,EAAE,EAAC,GAAG,EACN,IAAI,EAAC,sBAAsB,EAC3B,YAAY,EAAE,gBAAgB,GAC7B,IACG,CACN,CAAC;QACF,MAAM,mBAAmB,GAAG,aAAa,CACxC,qCAAqC,CACpC,CAAC;QACH,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,CAAC,QAAQ,EAAE,CAAC;IAC3D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACxD,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAC/B,0BACC,6BAAkB,2BAA2B,GAAI,EACjD,KAAC,YAAY,IAAC,EAAE,EAAC,GAAG,EAAC,IAAI,EAAC,YAAY,EAAC,YAAY,EAAE,EAAE,GAAI,IACtD,CACN,CAAC;QACF,MAAM,mBAAmB,GAAG,aAAa,CAAC,2BAA2B,CAAE,CAAC;QACxE,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,CAAC,QAAQ,EAAE,CAAC;IAC3D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qCAAqC,EAAE,GAAG,EAAE;QAC9C,MAAM,gBAAgB,GAAG;YACxB;gBACC,EAAE,EAAE,GAAG;gBACP,KAAK,EAAE,EAAE;gBACT,eAAe,EAAE,SAAkB;gBACnC,QAAQ,EAAE,YAAY;aACtB;SACD,CAAC;QACF,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAC3B,KAAC,YAAY,IAAC,EAAE,EAAC,GAAG,EAAC,IAAI,EAAC,YAAY,EAAC,YAAY,EAAE,gBAAgB,GAAI,CACzE,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type PropsWithChildren, type ReactNode } from 'react';
|
|
2
|
+
import type { LunaticBaseProps } from '../../type';
|
|
3
|
+
type Props = PropsWithChildren<{
|
|
4
|
+
legend?: ReactNode;
|
|
5
|
+
description?: LunaticBaseProps['description'];
|
|
6
|
+
className?: string;
|
|
7
|
+
}>;
|
|
8
|
+
export declare const Fieldset: import("react").ComponentType<Props>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
import { slottableComponent } from '../HOC/slottableComponent';
|
|
4
|
+
import { LabelDescription } from '../LabelDescription';
|
|
5
|
+
import { isElement } from '../../../utils/is-element';
|
|
6
|
+
function LunaticFieldset({ children, legend, description, className }) {
|
|
7
|
+
return (_jsxs("fieldset", { className: classnames(className), children: [_jsxs("legend", { children: [labelToReactNode(legend), _jsx(LabelDescription, { value: description })] }), children] }));
|
|
8
|
+
}
|
|
9
|
+
function labelToReactNode(label) {
|
|
10
|
+
if (!label) {
|
|
11
|
+
return '';
|
|
12
|
+
}
|
|
13
|
+
if (typeof label === 'string' ||
|
|
14
|
+
typeof label === 'boolean' ||
|
|
15
|
+
typeof label === 'number') {
|
|
16
|
+
return label;
|
|
17
|
+
}
|
|
18
|
+
if (typeof label === 'object') {
|
|
19
|
+
if (isElement(label))
|
|
20
|
+
return label;
|
|
21
|
+
if ('value' in label && typeof label.value === 'string') {
|
|
22
|
+
return label.value;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return ``;
|
|
26
|
+
}
|
|
27
|
+
export const Fieldset = slottableComponent('Fieldset', LunaticFieldset);
|
|
28
|
+
//# sourceMappingURL=Fieldset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fieldset.js","sourceRoot":"","sources":["../../../../src/components/shared/Fieldset/Fieldset.tsx"],"names":[],"mappings":";AACA,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAQtD,SAAS,eAAe,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,SAAS,EAAS;IAC3E,OAAO,CACN,oBAAU,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC,aACzC,6BACE,gBAAgB,CAAC,MAAM,CAAC,EACzB,KAAC,gBAAgB,IAAC,KAAK,EAAE,WAAW,GAAI,IAChC,EACR,QAAQ,IACC,CACX,CAAC;AACH,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAc;IACvC,IAAI,CAAC,KAAK,EAAE,CAAC;QACZ,OAAO,EAAE,CAAC;IACX,CAAC;IACD,IACC,OAAO,KAAK,KAAK,QAAQ;QACzB,OAAO,KAAK,KAAK,SAAS;QAC1B,OAAO,KAAK,KAAK,QAAQ,EACxB,CAAC;QACF,OAAO,KAAK,CAAC;IACd,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC/B,IAAI,SAAS,CAAC,KAAK,CAAC;YAAE,OAAO,KAAK,CAAC;QACnC,IAAI,OAAO,IAAI,KAAK,IAAI,OAAO,KAAK,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;YACzD,OAAO,KAAK,CAAC,KAAK,CAAC;QACpB,CAAC;IACF,CAAC;IAED,OAAO,EAAE,CAAC;AACX,CAAC;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { render } from '@testing-library/react';
|
|
3
|
+
import { Fieldset } from './Fieldset';
|
|
4
|
+
import { describe, it, expect } from 'vitest';
|
|
5
|
+
describe('Fieldset', () => {
|
|
6
|
+
it('renders the legend text', () => {
|
|
7
|
+
const legendText = 'Example Legend';
|
|
8
|
+
const { getByText } = render(_jsx(Fieldset, { legend: legendText }));
|
|
9
|
+
const legendElement = getByText(legendText);
|
|
10
|
+
expect(legendElement).toBeInTheDocument();
|
|
11
|
+
});
|
|
12
|
+
it('renders the children', () => {
|
|
13
|
+
const childText = 'Example child text';
|
|
14
|
+
const { getByText } = render(_jsx(Fieldset, { children: _jsx("div", { children: childText }) }));
|
|
15
|
+
const childElement = getByText(childText);
|
|
16
|
+
expect(childElement).toBeInTheDocument();
|
|
17
|
+
});
|
|
18
|
+
it('applies the className', () => {
|
|
19
|
+
const className = 'custom-class';
|
|
20
|
+
const { container } = render(_jsx(Fieldset, { className: className }));
|
|
21
|
+
const fieldsetElement = container.querySelector('fieldset');
|
|
22
|
+
expect(fieldsetElement).toHaveClass(className);
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=Fieldset.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fieldset.spec.js","sourceRoot":"","sources":["../../../../src/components/shared/Fieldset/Fieldset.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,yBAAyB,EAAE,GAAG,EAAE;QAClC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,KAAC,QAAQ,IAAC,MAAM,EAAE,UAAU,GAAI,CAAC,CAAC;QAC/D,MAAM,aAAa,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC;QAC5C,MAAM,CAAC,aAAa,CAAC,CAAC,iBAAiB,EAAE,CAAC;IAC3C,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,sBAAsB,EAAE,GAAG,EAAE;QAC/B,MAAM,SAAS,GAAG,oBAAoB,CAAC;QACvC,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAC3B,KAAC,QAAQ,cACR,wBAAM,SAAS,GAAO,GACZ,CACX,CAAC;QACF,MAAM,YAAY,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC;QAC1C,MAAM,CAAC,YAAY,CAAC,CAAC,iBAAiB,EAAE,CAAC;IAC1C,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,uBAAuB,EAAE,GAAG,EAAE;QAChC,MAAM,SAAS,GAAG,cAAc,CAAC;QACjC,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,KAAC,QAAQ,IAAC,SAAS,EAAE,SAAS,GAAI,CAAC,CAAC;QACjE,MAAM,eAAe,GAAG,SAAS,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;QAC5D,MAAM,CAAC,eAAe,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { type ComponentType, type FunctionComponent, type PropsWithChildren } from 'react';
|
|
2
|
+
import type { Subsequence } from '../../Subsequence/Subsequence';
|
|
3
|
+
import type { CustomInput } from '../../Input/Input';
|
|
4
|
+
import type { Declaration, Declarations } from '../Declarations/Declarations';
|
|
5
|
+
import type { Label } from '../Label/Label';
|
|
6
|
+
import type { Table, Tbody, Td, Th, Thead, Tr } from '../Table';
|
|
7
|
+
import type { CustomTextarea } from '../../Textarea/Textarea';
|
|
8
|
+
import type { RadioGroup } from '../Radio/RadioGroup';
|
|
9
|
+
import type { CustomRoundabout } from '../../Roundabout/CustomRoundabout';
|
|
10
|
+
import type { Button } from '../Button/Button';
|
|
11
|
+
import type { CustomCheckboxBoolean } from '../../CheckboxBoolean/CheckboxBoolean';
|
|
12
|
+
import type { CheckboxOption } from '../Checkbox/CheckboxOption';
|
|
13
|
+
import type { CustomDatepicker } from '../../Datepicker/Datepicker';
|
|
14
|
+
import type { CustomDuration } from '../../Duration/Duration';
|
|
15
|
+
import type { Fieldset } from '../Fieldset/Fieldset';
|
|
16
|
+
import type { CustomInputNumber } from '../../InputNumber/InputNumber';
|
|
17
|
+
import type { CustomQuestion } from '../../Question/Question';
|
|
18
|
+
import type { RadioOption } from '../Radio/RadioOption';
|
|
19
|
+
import type { Sequence } from '../../Sequence/Sequence';
|
|
20
|
+
import type { CustomSwitch } from '../../Switch/Switch';
|
|
21
|
+
import type { CustomLoop } from '../../Loop/Loop';
|
|
22
|
+
import type { CustomDropdown } from '../../Dropdown/Dropdown';
|
|
23
|
+
import type { Combobox } from '../Combobox/Combobox';
|
|
24
|
+
import type { ComboboxContainer } from '../Combobox/ComboboxContainer';
|
|
25
|
+
import type { ComboboxContentBox } from '../Combobox/ComboboxContentBox';
|
|
26
|
+
import type { ComboboxOption } from '../Combobox/Panel/ComboboxOption';
|
|
27
|
+
import type { ComboboxPanelContainer } from '../Combobox/Panel/ComboboxPanelContainer';
|
|
28
|
+
import type { ComboboxClearButton } from '../Combobox/Selection/ComboboxClearButton';
|
|
29
|
+
import type { ComboboxLabelSelection } from '../Combobox/Selection/ComboboxLabelSelection';
|
|
30
|
+
import type { SuggesterNotification } from '../../Suggester/SuggesterNotification';
|
|
31
|
+
import type { Radio } from '../../Radio/Radio';
|
|
32
|
+
import type { ComboboxInput } from '../Combobox/Selection/ComboboxInput';
|
|
33
|
+
import type { CustomSuggester } from '../../Suggester/CustomSuggester';
|
|
34
|
+
import type { CustomCheckboxGroup } from '../../CheckboxGroup/CustomCheckboxGroup';
|
|
35
|
+
import type { RouterLink } from '../MDLabel/RouterLink';
|
|
36
|
+
import type { SummaryResponses, SummaryTitle } from '../../Summary/Summary';
|
|
37
|
+
import type { LunaticComponentProps } from '../../type';
|
|
38
|
+
import type { MarkdownLink } from '../MDLabel/MarkdownLink';
|
|
39
|
+
import type { Accordion } from '../../Accordion/Accordion';
|
|
40
|
+
/**
|
|
41
|
+
* Contains the type of every customizable component
|
|
42
|
+
*/
|
|
43
|
+
export type LunaticSlotComponents = {
|
|
44
|
+
Input: typeof CustomInput;
|
|
45
|
+
InputNumber: typeof CustomInputNumber;
|
|
46
|
+
Sequence: typeof Sequence;
|
|
47
|
+
Switch: typeof CustomSwitch;
|
|
48
|
+
Subsequence: typeof Subsequence;
|
|
49
|
+
Textarea: typeof CustomTextarea;
|
|
50
|
+
Datepicker: typeof CustomDatepicker;
|
|
51
|
+
Duration: typeof CustomDuration;
|
|
52
|
+
Question: typeof CustomQuestion;
|
|
53
|
+
Loop: typeof CustomLoop;
|
|
54
|
+
Dropdown: typeof CustomDropdown;
|
|
55
|
+
Radio: typeof Radio;
|
|
56
|
+
Suggester: typeof CustomSuggester;
|
|
57
|
+
CheckboxBoolean: typeof CustomCheckboxBoolean;
|
|
58
|
+
CheckboxGroup: typeof CustomCheckboxGroup;
|
|
59
|
+
CheckboxOption: typeof CheckboxOption;
|
|
60
|
+
RadioGroup: typeof RadioGroup;
|
|
61
|
+
RadioOption: typeof RadioOption;
|
|
62
|
+
Combobox: typeof Combobox;
|
|
63
|
+
ComboboxContainer: typeof ComboboxContainer;
|
|
64
|
+
ComboboxContentBox: typeof ComboboxContentBox;
|
|
65
|
+
ComboboxPanelContainer: typeof ComboboxPanelContainer;
|
|
66
|
+
ComboboxOption: typeof ComboboxOption;
|
|
67
|
+
ComboboxInput: typeof ComboboxInput;
|
|
68
|
+
ComboboxClearButton: typeof ComboboxClearButton;
|
|
69
|
+
ComboboxLabelSelection: typeof ComboboxLabelSelection;
|
|
70
|
+
Roundabout: typeof CustomRoundabout;
|
|
71
|
+
SuggesterNotification: typeof SuggesterNotification;
|
|
72
|
+
SummaryTitle: typeof SummaryTitle;
|
|
73
|
+
SummaryResponses: typeof SummaryResponses;
|
|
74
|
+
Button: typeof Button;
|
|
75
|
+
Label: typeof Label;
|
|
76
|
+
Declarations: typeof Declarations;
|
|
77
|
+
Declaration: typeof Declaration;
|
|
78
|
+
Tr: typeof Tr;
|
|
79
|
+
Td: typeof Td;
|
|
80
|
+
Th: typeof Th;
|
|
81
|
+
Tbody: typeof Tbody;
|
|
82
|
+
Table: typeof Table;
|
|
83
|
+
Thead: typeof Thead;
|
|
84
|
+
Fieldset: typeof Fieldset;
|
|
85
|
+
Notification: typeof Notification;
|
|
86
|
+
RouterLink: typeof RouterLink;
|
|
87
|
+
ComponentWrapper: ComponentType<PropsWithChildren<LunaticComponentProps & {
|
|
88
|
+
index: number;
|
|
89
|
+
}>>;
|
|
90
|
+
MarkdownLink: typeof MarkdownLink;
|
|
91
|
+
Accordion: typeof Accordion;
|
|
92
|
+
};
|
|
93
|
+
export declare const SlotsProvider: ({ slots, children, }: PropsWithChildren<{
|
|
94
|
+
slots?: Partial<LunaticSlotComponents>;
|
|
95
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
96
|
+
/**
|
|
97
|
+
* Create a replaceable version of a component
|
|
98
|
+
*
|
|
99
|
+
* The component can be replaced using the "slots" props on <LunaticComponents>
|
|
100
|
+
*/
|
|
101
|
+
export declare function slottableComponent<T>(name: keyof LunaticSlotComponents, OriginalComponent: FunctionComponent<T>): ComponentType<T>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { createContext, useContext, } from 'react';
|
|
3
|
+
const empty = {};
|
|
4
|
+
const SlotsContext = createContext(empty);
|
|
5
|
+
export const SlotsProvider = ({ slots, children, }) => {
|
|
6
|
+
if (!slots) {
|
|
7
|
+
return _jsx(_Fragment, { children: children });
|
|
8
|
+
}
|
|
9
|
+
return (_jsx(SlotsContext.Provider, { value: slots !== null && slots !== void 0 ? slots : empty, children: children }));
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Create a replaceable version of a component
|
|
13
|
+
*
|
|
14
|
+
* The component can be replaced using the "slots" props on <LunaticComponents>
|
|
15
|
+
*/
|
|
16
|
+
export function slottableComponent(name, OriginalComponent) {
|
|
17
|
+
const DecoratedComponent = (props) => {
|
|
18
|
+
var _a;
|
|
19
|
+
const custom = (_a = useContext(SlotsContext)) !== null && _a !== void 0 ? _a : empty;
|
|
20
|
+
if (custom && name in custom) {
|
|
21
|
+
const SlotComponent = custom[name];
|
|
22
|
+
// @ts-expect-error This is too dynamic
|
|
23
|
+
return _jsx(SlotComponent, { ...props });
|
|
24
|
+
}
|
|
25
|
+
// @ts-expect-error This is too dynamic
|
|
26
|
+
return _jsx(OriginalComponent, { ...props });
|
|
27
|
+
};
|
|
28
|
+
DecoratedComponent.displayName = name;
|
|
29
|
+
return DecoratedComponent;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=slottableComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slottableComponent.js","sourceRoot":"","sources":["../../../../src/components/shared/HOC/slottableComponent.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEN,aAAa,EAGb,UAAU,GACV,MAAM,OAAO,CAAC;AA2Gf,MAAM,KAAK,GAAG,EAAgD,CAAC;AAE/D,MAAM,YAAY,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;AAE1C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAC7B,KAAK,EACL,QAAQ,GACuD,EAAE,EAAE;IACnE,IAAI,CAAC,KAAK,EAAE,CAAC;QACZ,OAAO,4BAAG,QAAQ,GAAI,CAAC;IACxB,CAAC;IACD,OAAO,CACN,KAAC,YAAY,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,KAAK,YAC1C,QAAQ,GACc,CACxB,CAAC;AACH,CAAC,CAAC;AAEF;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CACjC,IAAiC,EACjC,iBAAuC;IAEvC,MAAM,kBAAkB,GAAG,CAAC,KAAQ,EAAE,EAAE;;QACvC,MAAM,MAAM,GAAG,MAAA,UAAU,CAAC,YAAY,CAAC,mCAAI,KAAK,CAAC;QAEjD,IAAI,MAAM,IAAI,IAAI,IAAI,MAAM,EAAE,CAAC;YAC9B,MAAM,aAAa,GAAG,MAAM,CAAC,IAAI,CAAqB,CAAC;YACvD,uCAAuC;YACvC,OAAO,KAAC,aAAa,OAAK,KAAK,GAAI,CAAC;QACrC,CAAC;QAED,uCAAuC;QACvC,OAAO,KAAC,iBAAiB,OAAK,KAAK,GAAI,CAAC;IACzC,CAAC,CAAC;IACF,kBAAkB,CAAC,WAAW,GAAG,IAAI,CAAC;IACtC,OAAO,kBAAkB,CAAC;AAC3B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { LunaticIcon } from './lunatic-icon';
|
|
3
|
+
export function CheckboxCheckedIcon({ className, width = 32, height = 32, }) {
|
|
4
|
+
return (_jsx(LunaticIcon, { className: className, children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, x: "0", y: "0", enableBackground: "new 0 0 32 32", version: "1.1", viewBox: "0 0 32 32", xmlSpace: "preserve", children: [_jsx("path", { d: "M0 0h24v24H0z", fill: "none" }), _jsx("path", { d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })] }) }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=checkbox-checked-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-checked-icon.js","sourceRoot":"","sources":["../../../../src/components/shared/Icons/checkbox-checked-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,mBAAmB,CAAC,EACnC,SAAS,EACT,KAAK,GAAG,EAAE,EACV,MAAM,GAAG,EAAE,GACA;IACX,OAAO,CACN,KAAC,WAAW,IAAC,SAAS,EAAE,SAAS,YAChC,eACC,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,EACL,gBAAgB,EAAC,eAAe,EAChC,OAAO,EAAC,KAAK,EACb,OAAO,EAAC,WAAW,EACnB,QAAQ,EAAC,UAAU,aAEnB,eAAM,CAAC,EAAC,eAAe,EAAC,IAAI,EAAC,MAAM,GAAG,EACtC,eAAM,CAAC,EAAC,qIAAqI,GAAG,IAC3I,GACO,CACd,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { LunaticIcon } from './lunatic-icon';
|
|
3
|
+
export function CheckboxCheckedIcon({ className, width = 32, height = 32, }) {
|
|
4
|
+
return (_jsx(LunaticIcon, { className: className, children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, x: "0", y: "0", enableBackground: "new 0 0 32 32", version: "1.1", viewBox: "0 0 32 32", xmlSpace: "preserve", children: [_jsx("path", { d: "M0 0h24v24H0z", fill: "none" }), _jsx("path", { d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })] }) }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=checkbox-disabled-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-disabled-icon.js","sourceRoot":"","sources":["../../../../src/components/shared/Icons/checkbox-disabled-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,mBAAmB,CAAC,EACnC,SAAS,EACT,KAAK,GAAG,EAAE,EACV,MAAM,GAAG,EAAE,GACA;IACX,OAAO,CACN,KAAC,WAAW,IAAC,SAAS,EAAE,SAAS,YAChC,eACC,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,EACL,gBAAgB,EAAC,eAAe,EAChC,OAAO,EAAC,KAAK,EACb,OAAO,EAAC,WAAW,EACnB,QAAQ,EAAC,UAAU,aAEnB,eAAM,CAAC,EAAC,eAAe,EAAC,IAAI,EAAC,MAAM,GAAG,EACtC,eAAM,CAAC,EAAC,qIAAqI,GAAG,IAC3I,GACO,CACd,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { LunaticIcon } from './lunatic-icon';
|
|
3
|
+
export function CheckboxUncheckedIcon({ className, width = 32, height = 32, }) {
|
|
4
|
+
return (_jsx(LunaticIcon, { className: className, children: _jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, x: "0", y: "0", enableBackground: "new 0 0 32 32", version: "1.1", viewBox: "0 0 32 32", xmlSpace: "preserve", children: [_jsx("path", { d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" }), _jsx("path", { d: "M0 0h24v24H0z", fill: "none" })] }) }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=checkbox-unchecked-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-unchecked-icon.js","sourceRoot":"","sources":["../../../../src/components/shared/Icons/checkbox-unchecked-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,qBAAqB,CAAC,EACrC,SAAS,EACT,KAAK,GAAG,EAAE,EACV,MAAM,GAAG,EAAE,GACA;IACX,OAAO,CACN,KAAC,WAAW,IAAC,SAAS,EAAE,SAAS,YAChC,eACC,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,EACL,gBAAgB,EAAC,eAAe,EAChC,OAAO,EAAC,KAAK,EACb,OAAO,EAAC,WAAW,EACnB,QAAQ,EAAC,UAAU,aAEnB,eAAM,CAAC,EAAC,4FAA4F,GAAG,EACvG,eAAM,CAAC,EAAC,eAAe,EAAC,IAAI,EAAC,MAAM,GAAG,IACjC,GACO,CACd,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { LunaticIcon } from './lunatic-icon';
|
|
3
|
+
export function ClosedIcon({ className, width = 32, height = 32 }) {
|
|
4
|
+
return (_jsx(LunaticIcon, { className: className, children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, x: "0", y: "0", enableBackground: "new 0 0 32 32", version: "1.1", viewBox: "0 0 32 32", xmlSpace: "preserve", children: _jsx("path", { d: "M 25.628748,11.329813 C 25.38152,11.109877 25.088459,11 24.749838,11 H 7.2500941 C 6.9113359,11 6.6184798,11.109877 6.3710468,11.329813 6.1236139,11.549992 6,11.810303 6,12.111233 c 0,0.300869 0.1236139,0.56118 0.3710468,0.781177 l 8.7499062,7.777534 C 15.368659,20.88988 15.661516,21 16,21 c 0.338484,0 0.631614,-0.11012 0.878842,-0.330056 l 8.749906,-7.777595 C 25.875907,12.672413 26,12.412102 26,12.111172 c 0,-0.300869 -0.124093,-0.56118 -0.371252,-0.781359 z" }) }) }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=closed-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"closed-icon.js","sourceRoot":"","sources":["../../../../src/components/shared/Icons/closed-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,UAAU,CAAC,EAAE,SAAS,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAa;IAC3E,OAAO,CACN,KAAC,WAAW,IAAC,SAAS,EAAE,SAAS,YAChC,cACC,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,EACL,gBAAgB,EAAC,eAAe,EAChC,OAAO,EAAC,KAAK,EACb,OAAO,EAAC,WAAW,EACnB,QAAQ,EAAC,UAAU,YAEnB,eAAM,CAAC,EAAC,kdAAkd,GAAQ,GAC7d,GACO,CACd,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { LunaticIcon } from './lunatic-icon';
|
|
3
|
+
export function CrossIcon({ className, width = 32, height = 32 }) {
|
|
4
|
+
return (_jsx(LunaticIcon, { className: className, children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, x: "0", y: "0", enableBackground: "new 0 0 32 32", version: "1.1", viewBox: "0 0 32 32", xmlSpace: "preserve", children: _jsx("path", { d: "M 7.097006,7.0709627 C 6.4710386,7.6950801 6.0348033,8.5167883 6,9.3333333 l 6.666666,6.6666677 -6.6666655,6.666666 C 6.0406655,24.255963 7.7002437,25.930395 9.3333333,26 L 15.999999,19.333334 22.666665,26 C 24.255962,25.95934 25.930393,24.299755 26,22.666667 L 19.333332,16.000001 26,9.3333334 C 25.959335,7.7440359 24.299754,6.069605 22.666665,6 L 15.999999,12.666666 9.3333333,6 C 8.5386853,6.020332 7.7229758,6.4468492 7.097006,7.0709627 Z" }) }) }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=cross-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cross-icon.js","sourceRoot":"","sources":["../../../../src/components/shared/Icons/cross-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,SAAS,CAAC,EAAE,SAAS,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAa;IAC1E,OAAO,CACN,KAAC,WAAW,IAAC,SAAS,EAAE,SAAS,YAChC,cACC,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,EACL,gBAAgB,EAAC,eAAe,EAChC,OAAO,EAAC,KAAK,EACb,OAAO,EAAC,WAAW,EACnB,QAAQ,EAAC,UAAU,YAEnB,eAAM,CAAC,EAAC,6bAA6b,GAAQ,GACxc,GACO,CACd,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-props.js","sourceRoot":"","sources":["../../../../src/components/shared/Icons/icon-props.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { CrossIcon } from './cross-icon';
|
|
2
|
+
export { ClosedIcon } from './closed-icon';
|
|
3
|
+
export { OpenedIcon } from './opened-icon';
|
|
4
|
+
export { LoadIcon } from './load-icon';
|
|
5
|
+
export { NetworkIcon } from './network-icon';
|
|
6
|
+
export { OnDragIcon } from './on-drag-icon';
|
|
7
|
+
export { RadioCheckedIcon } from './radio-checked-icon';
|
|
8
|
+
export { RadioUncheckedIcon } from './radio-unchecked-icon';
|
|
9
|
+
export { CheckboxCheckedIcon } from './checkbox-checked-icon';
|
|
10
|
+
export { CheckboxUncheckedIcon } from './checkbox-unchecked-icon';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { CrossIcon } from './cross-icon';
|
|
2
|
+
export { ClosedIcon } from './closed-icon';
|
|
3
|
+
export { OpenedIcon } from './opened-icon';
|
|
4
|
+
export { LoadIcon } from './load-icon';
|
|
5
|
+
export { NetworkIcon } from './network-icon';
|
|
6
|
+
export { OnDragIcon } from './on-drag-icon';
|
|
7
|
+
export { RadioCheckedIcon } from './radio-checked-icon';
|
|
8
|
+
export { RadioUncheckedIcon } from './radio-unchecked-icon';
|
|
9
|
+
export { CheckboxCheckedIcon } from './checkbox-checked-icon';
|
|
10
|
+
export { CheckboxUncheckedIcon } from './checkbox-unchecked-icon';
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/shared/Icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { LunaticIcon } from './lunatic-icon';
|
|
3
|
+
export function LoadIcon({ className, width = 32, height = 32 }) {
|
|
4
|
+
return (_jsx(LunaticIcon, { className: className, children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, x: "0", y: "0", enableBackground: "new 0 0 32 32", version: "1.1", viewBox: "0 0 32 32", xmlSpace: "preserve", children: _jsx("path", { d: "m 10.628906,5.8808594 c -0.214987,-0.001 -0.42313,0.066105 -0.621094,0.203125 -0.197929,0.13695 -0.3337126,0.3059125 -0.4082026,0.5078125 -0.07434,0.20177 -0.063157,0.3725087 0.033203,0.5117187 L 10.667969,8.5996094 C 7.7654347,10.429719 6.000564,13.619938 6,17.054688 c 0,5.522849 4.477153,10 10,10 5.522847,0 10,-4.477151 10,-10 C 26.000084,13.846958 24.464581,10.867019 21.925781,9 l -2.167969,4.773438 c 0.779895,0.889532 1.238599,2.0462 1.242188,3.28125 0,2.76142 -2.238576,5 -5,5 -2.761424,0 -5,-2.238581 -5,-5 0.0042,-1.793391 0.969178,-3.443679 2.523438,-4.330079 l 1.089843,1.574219 c 0.09638,0.13927 0.25171,0.209318 0.466797,0.210938 0.215229,10e-4 0.421172,-0.06601 0.619141,-0.203125 0.19792,-0.13696 0.333879,-0.305933 0.408203,-0.507813 l 2.626953,-7.1386718 c 0.07422,-0.2019799 0.06311,-0.3725587 -0.0332,-0.5117187 -0.0963,-0.13917 -0.251768,-0.2093975 -0.4668,-0.2109375 z" }) }) }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=load-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"load-icon.js","sourceRoot":"","sources":["../../../../src/components/shared/Icons/load-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAa;IACzE,OAAO,CACN,KAAC,WAAW,IAAC,SAAS,EAAE,SAAS,YAChC,cACC,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,EACL,gBAAgB,EAAC,eAAe,EAChC,OAAO,EAAC,KAAK,EACb,OAAO,EAAC,WAAW,EACnB,QAAQ,EAAC,UAAU,YAEnB,eAAM,CAAC,EAAC,63BAA63B,GAAQ,GACx4B,GACO,CACd,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
export function LunaticIcon({ className, children, }) {
|
|
4
|
+
return _jsx("i", { className: classnames('lunatic-icon', className), children: children });
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=lunatic-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lunatic-icon.js","sourceRoot":"","sources":["../../../../src/components/shared/Icons/lunatic-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;AAGpC,MAAM,UAAU,WAAW,CAAC,EAC3B,SAAS,EACT,QAAQ,GACmC;IAC3C,OAAO,YAAG,SAAS,EAAE,UAAU,CAAC,cAAc,EAAE,SAAS,CAAC,YAAG,QAAQ,GAAK,CAAC;AAC5E,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { LunaticIcon } from './lunatic-icon';
|
|
3
|
+
export function NetworkIcon({ className, width = 32, height = 32 }) {
|
|
4
|
+
return (_jsx(LunaticIcon, { className: className, children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, x: "0", y: "0", enableBackground: "new 0 0 32 32", version: "1.1", viewBox: "0 0 32 32", xmlSpace: "preserve", children: _jsx("path", { d: "M 16.211514,6 C 11.574486,6.008 7.1494292,7.94279 4,11.34621 c 0.067313,0.60594 0.3511557,1.08182 1.0781965,1.29181 2.8398143,-3.15866 6.8857655,-4.96513 11.1333175,-4.9708 4.246875,0.008 8.291469,1.81516 11.12987,4.9742 0.42856,-0.18331 0.899659,-0.21808 1.074753,-1.28833 C 25.269539,7.94895 20.847185,6.00922 16.211514,6 Z m 0,3.33452 c -3.859338,0.004 -7.5270269,1.68269 -10.055121,4.59867 0.082129,0.59595 0.3347147,1.09028 1.0747495,1.2918 2.214919,-2.67556 5.5069425,-4.22502 8.9803715,-4.22664 3.472148,0.004 6.761427,1.5572 8.973481,4.23352 0.574616,-0.21997 1.032388,-0.55661 1.081639,-1.30212 -2.528736,-2.91477 -6.196335,-4.59084 -10.05512,-4.59523 z m -0.0034,3.33101 c -3.084894,0.002 -5.995941,1.42878 -7.8883982,3.86498 0.015118,0.87625 0.5660293,1.08257 1.095416,1.31584 1.5613712,-2.20255 4.0931392,-3.51208 6.7929792,-3.51359 2.700508,0.004 5.231123,1.31845 6.789531,3.52395 0.886465,-0.21657 1.135403,-0.70692 1.098867,-1.31932 -1.891063,-2.43881 -4.802322,-3.8677 -7.888395,-3.87186 z m 0,3.33449 c -2.316849,0.002 -4.46631,1.20748 -5.676888,3.18293 L 16.211554,26 21.884999,19.18982 c -1.2089,-1.97805 -3.358668,-3.18598 -5.676885,-3.1898 z" }) }) }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=network-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network-icon.js","sourceRoot":"","sources":["../../../../src/components/shared/Icons/network-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,WAAW,CAAC,EAAE,SAAS,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAa;IAC5E,OAAO,CACN,KAAC,WAAW,IAAC,SAAS,EAAE,SAAS,YAChC,cACC,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,EACL,gBAAgB,EAAC,eAAe,EAChC,OAAO,EAAC,KAAK,EACb,OAAO,EAAC,WAAW,EACnB,QAAQ,EAAC,UAAU,YAEnB,eAAM,CAAC,EAAC,4oCAA4oC,GAAG,GAClpC,GACO,CACd,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { LunaticIcon } from './lunatic-icon';
|
|
3
|
+
export function OnDragIcon({ className, width = 32, height = 32 }) {
|
|
4
|
+
return (_jsx(LunaticIcon, { className: className, children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, x: "0", y: "0", enableBackground: "new 0 0 32 32", version: "1.1", viewBox: "0 0 32 32", xmlSpace: "preserve", children: _jsx("path", { d: "M 15.998805,0 C 15.791758,0 15.614821,0.068587 15.4636,0.2030911 L 10.109162,4.9578137 C 9.95798,5.0923491 9.884566,5.2516109 9.884566,5.4356753 c 0,0.1840189 0.07342,0.3431857 0.224596,0.4778615 0.151203,0.1345354 0.330468,0.2030913 0.537594,0.2030913 h 4.205182 V 14.854326 H 6.1166281 v -4.202792 c 0,-0.2072 -0.068555,-0.388637 -0.2030912,-0.539983 C 5.7788793,9.9602251 5.6197345,9.8845661 5.4356754,9.8845661 c -0.1840494,0 -0.3432982,0.07566 -0.4778615,0.2269849 L 0.2030911,15.4636 C 0.0685559,15.615109 1.2e-6,15.794159 0,16.001195 0,16.208242 0.068592,16.385179 0.2030911,16.5364 l 4.7547228,5.352049 c 0.1345352,0.151182 0.2937975,0.226985 0.4778615,0.226985 0.1840188,0 0.3431856,-0.07581 0.4778615,-0.226985 0.1345353,-0.151203 0.2030912,-0.328079 0.2030912,-0.535205 v -4.205182 h 8.7353099 v 8.73531 h -4.202794 c -0.207124,0 -0.388779,0.06855 -0.539982,0.203092 -0.151179,0.134675 -0.224596,0.293842 -0.224596,0.477861 0,0.184064 0.07341,0.343326 0.224596,0.477862 L 15.4636,31.796909 C 15.614821,31.931407 15.794147,32 16.001195,32 c 0.207036,-1e-6 0.383696,-0.06855 0.535205,-0.203091 l 5.352049,-4.754722 c 0.151326,-0.134563 0.226985,-0.293813 0.226985,-0.477862 0,-0.184058 -0.07566,-0.343204 -0.226985,-0.477861 -0.151346,-0.134536 -0.337561,-0.203092 -0.544762,-0.203092 h -4.198013 v -8.73531 h 8.737698 v 4.202793 c 0,0.207125 0.06855,0.386391 0.203092,0.537594 0.134675,0.151179 0.293842,0.226985 0.477861,0.226985 0.184064,0 0.343326,-0.0758 0.477862,-0.226985 L 31.796909,16.5364 C 31.931407,16.385179 32,16.205853 32,15.998805 31.999999,15.791768 31.93144,15.615109 31.796909,15.4636 L 27.042187,10.111551 C 26.907624,9.9602251 26.748374,9.8845661 26.564325,9.8845661 c -0.184058,0 -0.343204,0.07566 -0.477861,0.2269849 -0.134536,0.151346 -0.203092,0.335171 -0.203092,0.542372 v 4.200403 H 17.145674 V 6.1166281 h 4.200403 c 0.207201,0 0.391026,-0.068557 0.542372,-0.2030913 0.151326,-0.1346576 0.226985,-0.2938028 0.226985,-0.4778615 0,-0.1840494 -0.07566,-0.3432989 -0.226985,-0.4778616 L 16.5364,0.2030911 C 16.384891,0.0685559 16.205841,1.5e-6 15.998805,0 Z" }) }) }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=on-drag-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"on-drag-icon.js","sourceRoot":"","sources":["../../../../src/components/shared/Icons/on-drag-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,UAAU,CAAC,EAAE,SAAS,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAa;IAC3E,OAAO,CACN,KAAC,WAAW,IAAC,SAAS,EAAE,SAAS,YAChC,cACC,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,EACL,gBAAgB,EAAC,eAAe,EAChC,OAAO,EAAC,KAAK,EACb,OAAO,EAAC,WAAW,EACnB,QAAQ,EAAC,UAAU,YAEnB,eAAM,CAAC,EAAC,4iEAA4iE,GAAG,GACljE,GACO,CACd,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { LunaticIcon } from './lunatic-icon';
|
|
3
|
+
export function OpenedIcon({ className, width = 32, height = 32 }) {
|
|
4
|
+
return (_jsx(LunaticIcon, { className: className, children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: width, height: height, x: "0", y: "0", enableBackground: "new 0 0 32 32", version: "1.1", viewBox: "0 0 32 32", xmlSpace: "preserve", children: _jsx("path", { d: "M 11.329813,6.371252 C 11.109877,6.61848 11,6.911541 11,7.250162 v 17.499744 c 0,0.338758 0.109877,0.631614 0.329813,0.879047 C 11.549992,25.876386 11.810303,26 12.111233,26 c 0.300869,0 0.56118,-0.123614 0.781177,-0.371047 l 7.777534,-8.749906 C 20.88988,16.631341 21,16.338484 21,16 21,15.661516 20.88988,15.368386 20.669944,15.121158 L 12.892349,6.371252 C 12.672413,6.124093 12.412102,6 12.111172,6 11.810303,6 11.549992,6.124093 11.329813,6.371252 Z" }) }) }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=opened-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opened-icon.js","sourceRoot":"","sources":["../../../../src/components/shared/Icons/opened-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,UAAU,UAAU,CAAC,EAAE,SAAS,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAa;IAC3E,OAAO,CACN,KAAC,WAAW,IAAC,SAAS,EAAE,SAAS,YAChC,cACC,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,CAAC,EAAC,GAAG,EACL,CAAC,EAAC,GAAG,EACL,gBAAgB,EAAC,eAAe,EAChC,OAAO,EAAC,KAAK,EACb,OAAO,EAAC,WAAW,EACnB,QAAQ,EAAC,UAAU,YAEnB,eAAM,CAAC,EAAC,wcAAwc,GAAQ,GACnd,GACO,CACd,CAAC;AACH,CAAC"}
|