@pareto-engineering/design-system 5.3.0 → 5.4.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/README.md +54 -0
- package/dist/DatePicker-DHuh_8q6.js +1305 -0
- package/dist/ExposePlainTextPlugin-DeW6mVaE.js +33 -0
- package/dist/FormBuilder-653sa2uJ.js +28728 -0
- package/dist/Lexical-BIl3XjnU.js +8899 -0
- package/dist/LexicalComposerContext-D_q7RDyF.js +56 -0
- package/dist/TreeViewPlugin-BqY3Z-6y.js +2412 -0
- package/dist/YAxis-C5dCrcDo.js +1116 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/assets/AnimatedBlobs.css +1 -0
- package/dist/assets/AreaChart.css +1 -0
- package/dist/assets/BarChart.css +1 -0
- package/dist/assets/BlurOverlay.css +1 -0
- package/dist/assets/CustomLegend.css +1 -0
- package/dist/assets/CustomTooltipContent.css +1 -0
- package/dist/assets/DatePicker.css +1 -0
- package/dist/assets/Description.css +1 -0
- package/dist/assets/DotInfo.css +1 -0
- package/dist/assets/DragAndDrop.css +1 -0
- package/dist/assets/DraggableItem.css +1 -0
- package/dist/assets/Figure.css +1 -0
- package/dist/assets/FormBuilder.css +1 -0
- package/dist/assets/Group.css +1 -0
- package/dist/assets/HamburgerButton.css +1 -0
- package/dist/assets/IconList.css +1 -0
- package/dist/assets/Label.css +1 -0
- package/dist/assets/Label2.css +1 -0
- package/dist/assets/LoadingCircle.css +1 -0
- package/dist/assets/MetaCard.css +1 -0
- package/dist/assets/People.css +1 -0
- package/dist/assets/PieChart.css +1 -0
- package/dist/assets/Popover.css +1 -0
- package/dist/assets/ProgressBar.css +1 -0
- package/dist/assets/Quote.css +1 -0
- package/dist/assets/RadioInput.css +1 -0
- package/dist/assets/Removable.css +1 -0
- package/dist/assets/SVG.css +1 -0
- package/dist/assets/SnapScroller.css +1 -0
- package/dist/assets/SocialMediaShareButton.css +1 -0
- package/dist/assets/Spinner.css +1 -0
- package/dist/assets/TextSteps.css +1 -0
- package/dist/assets/ThroughPutIndicator.css +1 -0
- package/dist/assets/Timestamp.css +1 -0
- package/dist/assets/Tip.css +1 -0
- package/dist/assets/ToggleSwitch.css +1 -0
- package/dist/assets/Tooltip.css +1 -0
- package/dist/assets/XMLEditor.css +1 -0
- package/dist/assets/YlabelsDropDown.css +1 -0
- package/dist/assets/exports.css +0 -0
- package/dist/debounce-Cm69Z_cF.js +209 -0
- package/dist/exports.module-DmUnHWIJ.js +20 -0
- package/dist/generateCategoricalChart-BBPxYd_a.js +15749 -0
- package/dist/index-BUor0nOw.js +12623 -0
- package/dist/index-C_b9PQD8.js +1360 -0
- package/dist/index-CxkFVI6N.js +667 -0
- package/dist/index.js +137 -0
- package/dist/stories/StyleGuide/helpers.js +132 -0
- package/dist/stories/a/AppContext.stories.js +85 -0
- package/dist/stories/a/AreaChart.stories.js +182 -0
- package/dist/stories/a/BarChart.stories.js +173 -0
- package/dist/stories/a/BlurOverlay.stories.js +79 -0
- package/dist/stories/a/ContentTree.stories.js +112 -0
- package/dist/stories/a/Conversation.stories.js +113 -0
- package/dist/stories/a/DatePicker.stories.js +128 -0
- package/dist/stories/a/DotInfo.stories.js +73 -0
- package/dist/stories/a/Figure.stories.js +69 -0
- package/dist/stories/a/HamburgerButton.stories.js +65 -0
- package/dist/stories/a/IconList.stories.js +85 -0
- package/dist/stories/a/Label.stories.js +79 -0
- package/dist/stories/a/LoadingCircle.stories.js +69 -0
- package/dist/stories/a/MetaCard.stories.js +67 -0
- package/dist/stories/a/Notification.stories.js +124 -0
- package/dist/stories/a/NotificationStack.stories.js +102 -0
- package/dist/stories/a/People.stories.js +96 -0
- package/dist/stories/a/PieChart.stories.js +79 -0
- package/dist/stories/a/Popover.stories.js +147 -0
- package/dist/stories/a/ProgressBar.stories.js +86 -0
- package/dist/stories/a/Quote.stories.js +87 -0
- package/dist/stories/a/Removable.stories.js +62 -0
- package/dist/stories/a/SVG.stories.js +155 -0
- package/dist/stories/a/SnapScroller.stories.js +105 -0
- package/dist/stories/a/Spinner.stories.js +62 -0
- package/dist/stories/a/TextSteps.stories.js +57 -0
- package/dist/stories/a/Timestamp.stories.js +92 -0
- package/dist/stories/a/Tip.stories.js +67 -0
- package/dist/stories/a/ToggleSwitch.stories.js +67 -0
- package/dist/stories/a/Tooltip.stories.js +107 -0
- package/dist/stories/a/XMLEditor.stories.js +59 -0
- package/dist/stories/b/Button/Button.stories.js +154 -0
- package/dist/stories/b/Button/Group.stories.js +59 -0
- package/dist/stories/b/Card/Card.stories.js +85 -0
- package/dist/stories/b/Card/Group.stories.js +83 -0
- package/dist/stories/b/Logo.stories.js +69 -0
- package/dist/stories/b/Page.stories.js +94 -0
- package/dist/stories/b/SocialMediaButton.stories.js +95 -0
- package/dist/stories/b/ThemeSelector.stories.js +86 -0
- package/dist/stories/b/Title.stories.js +82 -0
- package/dist/stories/c/Modal.stories.js +76 -0
- package/dist/stories/c/Shortener.stories.js +73 -0
- package/dist/stories/c/SocialMediaShareButton.stories.js +72 -0
- package/dist/stories/colors.js +63 -0
- package/dist/stories/f/Checkbox.stories.js +133 -0
- package/dist/stories/f/ChoicesInput.stories.js +167 -0
- package/dist/stories/f/Description.stories.js +75 -0
- package/dist/stories/f/EditorInput.stories.js +104 -0
- package/dist/stories/f/FileUpload.stories.js +100 -0
- package/dist/stories/f/Label.stories.js +66 -0
- package/dist/stories/f/LinkInput.stories.js +121 -0
- package/dist/stories/f/RadioInput.stories.js +74 -0
- package/dist/stories/f/RatingsInput.stories.js +116 -0
- package/dist/stories/f/SelectInput.stories.js +160 -0
- package/dist/stories/f/TextInput.stories.js +148 -0
- package/dist/stories/f/TextareaInput.stories.js +138 -0
- package/dist/stories/g/DragAndDrop.stories.js +150 -0
- package/dist/stories/g/ExpandableLexicalPreview.stories.js +68 -0
- package/dist/stories/g/FormBuilder.stories.js +140 -0
- package/dist/stories/utils/Router.js +12 -0
- package/dist/stories/utils/generateNodeId.js +7 -0
- package/dist/stories/utils/lorem.js +18 -0
- package/dist/stories/utils/testData.js +66 -0
- package/dist/throttle-BCrS-Wew.js +24 -0
- package/dist/ui/a/AnimatedBlobs/AnimatedBlobs.js +75 -0
- package/dist/ui/a/AnimatedBlobs/index.js +4 -0
- package/dist/ui/a/AnimatedGradient/AnimatedGradient.js +41 -0
- package/dist/ui/a/AnimatedGradient/index.js +4 -0
- package/dist/ui/a/AnimatedGradient/webGIRenderer.js +814 -0
- package/dist/ui/a/AppContext/Context.js +5 -0
- package/dist/ui/a/AppContext/ContextProvider.js +73 -0
- package/dist/ui/a/AppContext/index.js +10 -0
- package/dist/ui/a/AppContext/useApp.js +6 -0
- package/dist/ui/a/AppContext/useTheme.js +25 -0
- package/dist/ui/a/BlurOverlay/BlurOverlay.js +53 -0
- package/dist/ui/a/BlurOverlay/index.js +4 -0
- package/dist/ui/a/Charts/AreaChart/AreaChart.js +697 -0
- package/dist/ui/a/Charts/AreaChart/index.js +4 -0
- package/dist/ui/a/Charts/BarChart/BarChart.js +165 -0
- package/dist/ui/a/Charts/BarChart/index.js +4 -0
- package/dist/ui/a/Charts/Common/CustomLegend/CustomLegend.js +96 -0
- package/dist/ui/a/Charts/Common/CustomLegend/index.js +4 -0
- package/dist/ui/a/Charts/Common/CustomTooltipContent/CustomTooltipContent.js +137 -0
- package/dist/ui/a/Charts/Common/CustomTooltipContent/index.js +4 -0
- package/dist/ui/a/Charts/Common/YLabelsDropDown/YlabelsDropDown.js +107 -0
- package/dist/ui/a/Charts/Common/YLabelsDropDown/index.js +4 -0
- package/dist/ui/a/Charts/Common/index.js +8 -0
- package/dist/ui/a/Charts/PieChart/PieChart.js +1227 -0
- package/dist/ui/a/Charts/PieChart/index.js +4 -0
- package/dist/ui/a/Charts/index.js +8 -0
- package/dist/ui/a/ContentTree/ContentTree.js +10 -0
- package/dist/ui/a/ContentTree/common/Tree/Tree.js +51 -0
- package/dist/ui/a/ContentTree/common/Tree/index.js +4 -0
- package/dist/ui/a/ContentTree/common/index.js +8 -0
- package/dist/ui/a/ContentTree/common/useContentTree.js +44 -0
- package/dist/ui/a/ContentTree/common/useFirstVisibleNode.js +20 -0
- package/dist/ui/a/ContentTree/index.js +4 -0
- package/dist/ui/a/Conversation/Context.js +5 -0
- package/dist/ui/a/Conversation/Conversation.js +51 -0
- package/dist/ui/a/Conversation/common/Message/Message.js +97 -0
- package/dist/ui/a/Conversation/common/Message/index.js +4 -0
- package/dist/ui/a/Conversation/common/index.js +4 -0
- package/dist/ui/a/Conversation/index.js +8 -0
- package/dist/ui/a/Conversation/useConversation.js +6 -0
- package/dist/ui/a/DatePicker/DatePicker.js +9 -0
- package/dist/ui/a/DatePicker/index.js +4 -0
- package/dist/ui/a/DotInfo/DotInfo.js +76 -0
- package/dist/ui/a/DotInfo/index.js +4 -0
- package/dist/ui/a/Figure/Figure.js +59 -0
- package/dist/ui/a/Figure/index.js +4 -0
- package/dist/ui/a/HamburgerButton/HamburgerButton.js +71 -0
- package/dist/ui/a/HamburgerButton/index.js +4 -0
- package/dist/ui/a/IconList/IconList.js +64 -0
- package/dist/ui/a/IconList/common/Item/Item.js +58 -0
- package/dist/ui/a/IconList/common/Item/index.js +4 -0
- package/dist/ui/a/IconList/common/index.js +4 -0
- package/dist/ui/a/IconList/index.js +4 -0
- package/dist/ui/a/Label/Label.js +72 -0
- package/dist/ui/a/Label/index.js +4 -0
- package/dist/ui/a/LoadingCircle/LoadingCircle.js +96 -0
- package/dist/ui/a/LoadingCircle/index.js +4 -0
- package/dist/ui/a/MetaCard/MetaCard.js +54 -0
- package/dist/ui/a/MetaCard/index.js +4 -0
- package/dist/ui/a/Notification/Notification.js +50 -0
- package/dist/ui/a/Notification/index.js +4 -0
- package/dist/ui/a/NotificationStack/NotificationStack.js +8 -0
- package/dist/ui/a/NotificationStack/index.js +4 -0
- package/dist/ui/a/People/People.js +65 -0
- package/dist/ui/a/People/common/Person/Person.js +82 -0
- package/dist/ui/a/People/common/Person/index.js +4 -0
- package/dist/ui/a/People/common/index.js +4 -0
- package/dist/ui/a/People/index.js +4 -0
- package/dist/ui/a/Popover/Popover.js +124 -0
- package/dist/ui/a/Popover/index.js +4 -0
- package/dist/ui/a/ProgressBar/ProgressBar.js +70 -0
- package/dist/ui/a/ProgressBar/index.js +4 -0
- package/dist/ui/a/Quote/Quote.js +73 -0
- package/dist/ui/a/Quote/index.js +4 -0
- package/dist/ui/a/Removable/Removable.js +55 -0
- package/dist/ui/a/Removable/index.js +4 -0
- package/dist/ui/a/SVG/SVG.js +152 -0
- package/dist/ui/a/SVG/common/UseSVG/UseSVG.js +59 -0
- package/dist/ui/a/SVG/common/UseSVG/index.js +4 -0
- package/dist/ui/a/SVG/common/index.js +4 -0
- package/dist/ui/a/SVG/index.js +4 -0
- package/dist/ui/a/SnapScroller/SnapScroller.js +72 -0
- package/dist/ui/a/SnapScroller/index.js +4 -0
- package/dist/ui/a/Spinner/Spinner.js +48 -0
- package/dist/ui/a/Spinner/index.js +4 -0
- package/dist/ui/a/TextSteps/TextSteps.js +58 -0
- package/dist/ui/a/TextSteps/index.js +4 -0
- package/dist/ui/a/ThroughPutIndicator/ThroughPutIndicator.js +57 -0
- package/dist/ui/a/ThroughPutIndicator/index.js +4 -0
- package/dist/ui/a/Timestamp/Timestamp.js +250 -0
- package/dist/ui/a/Timestamp/index.js +4 -0
- package/dist/ui/a/Tip/Tip.js +74 -0
- package/dist/ui/a/Tip/index.js +4 -0
- package/dist/ui/a/ToggleSwitch/ToggleSwitch.js +77 -0
- package/dist/ui/a/ToggleSwitch/index.js +4 -0
- package/dist/ui/a/Tooltip/Tooltip.js +101 -0
- package/dist/ui/a/Tooltip/index.js +4 -0
- package/dist/ui/a/XMLEditor/XMLEditor.js +2447 -0
- package/dist/ui/a/XMLEditor/common/index.js +4 -0
- package/dist/ui/a/XMLEditor/common/theme.js +4 -0
- package/dist/ui/a/XMLEditor/index.js +4 -0
- package/dist/ui/a/index.js +74 -0
- package/dist/ui/b/Button/Button.js +51 -0
- package/dist/ui/b/Button/common/Group/Group.js +48 -0
- package/dist/ui/b/Button/common/Group/index.js +4 -0
- package/dist/ui/b/Button/common/index.js +4 -0
- package/dist/ui/b/Button/index.js +4 -0
- package/dist/ui/b/Card/Card.js +51 -0
- package/dist/ui/b/Card/common/Group/Group.js +50 -0
- package/dist/ui/b/Card/common/Group/index.js +4 -0
- package/dist/ui/b/Card/common/Section/Section.js +54 -0
- package/dist/ui/b/Card/common/Section/index.js +4 -0
- package/dist/ui/b/Card/common/index.js +6 -0
- package/dist/ui/b/Card/index.js +4 -0
- package/dist/ui/b/Logo/Logo.js +39 -0
- package/dist/ui/b/Logo/index.js +4 -0
- package/dist/ui/b/Page/Context.js +5 -0
- package/dist/ui/b/Page/Page.js +42 -0
- package/dist/ui/b/Page/common/PageHelmet/PageHelmet.js +40 -0
- package/dist/ui/b/Page/common/PageHelmet/index.js +4 -0
- package/dist/ui/b/Page/common/Section/Section.js +67 -0
- package/dist/ui/b/Page/common/Section/index.js +4 -0
- package/dist/ui/b/Page/common/index.js +6 -0
- package/dist/ui/b/Page/index.js +8 -0
- package/dist/ui/b/Page/usePage.js +6 -0
- package/dist/ui/b/SocialMediaButton/SocialMediaButton.js +40 -0
- package/dist/ui/b/SocialMediaButton/index.js +4 -0
- package/dist/ui/b/ThemeSelector/ThemeSelector.js +40 -0
- package/dist/ui/b/ThemeSelector/index.js +4 -0
- package/dist/ui/b/Title/Title.js +126 -0
- package/dist/ui/b/Title/index.js +4 -0
- package/dist/ui/b/index.js +13 -0
- package/dist/ui/c/Modal/Modal.js +8 -0
- package/dist/ui/c/Modal/common/ModalHeader/ModalHeader.js +50 -0
- package/dist/ui/c/Modal/common/ModalHeader/index.js +4 -0
- package/dist/ui/c/Modal/common/index.js +4 -0
- package/dist/ui/c/Modal/index.js +4 -0
- package/dist/ui/c/Shortener/Shortener.js +10 -0
- package/dist/ui/c/Shortener/index.js +4 -0
- package/dist/ui/c/SocialMediaShareButton/SocialMediaShareButton.js +80 -0
- package/dist/ui/c/SocialMediaShareButton/index.js +4 -0
- package/dist/ui/c/index.js +7 -0
- package/dist/ui/d/index.js +1 -0
- package/dist/ui/f/FormInput/FormInput.js +9 -0
- package/dist/ui/f/FormInput/index.js +4 -0
- package/dist/ui/f/common/Debugger/Debugger.js +10 -0
- package/dist/ui/f/common/Debugger/index.js +4 -0
- package/dist/ui/f/common/Description/Description.js +62 -0
- package/dist/ui/f/common/Description/index.js +4 -0
- package/dist/ui/f/common/Label/Label.js +74 -0
- package/dist/ui/f/common/Label/index.js +4 -0
- package/dist/ui/f/common/index.js +12 -0
- package/dist/ui/f/common/utils/index.js +6 -0
- package/dist/ui/f/common/utils/lookUpInputValueFromFetchedOptions.js +1039 -0
- package/dist/ui/f/common/utils/validators.js +7 -0
- package/dist/ui/f/fields/Checkbox/Checkbox.js +11 -0
- package/dist/ui/f/fields/Checkbox/index.js +4 -0
- package/dist/ui/f/fields/ChoicesInput/ChoicesInput.js +11 -0
- package/dist/ui/f/fields/ChoicesInput/common/Choice/Choice.js +112 -0
- package/dist/ui/f/fields/ChoicesInput/common/Choice/index.js +4 -0
- package/dist/ui/f/fields/ChoicesInput/common/index.js +4 -0
- package/dist/ui/f/fields/ChoicesInput/index.js +4 -0
- package/dist/ui/f/fields/EditorInput/EditorInput.js +15 -0
- package/dist/ui/f/fields/EditorInput/common/BlockFormatDropDown/BlockFormatDropDown.js +44 -0
- package/dist/ui/f/fields/EditorInput/common/BlockFormatDropDown/index.js +4 -0
- package/dist/ui/f/fields/EditorInput/common/ColorPicker/ColorPicker.js +43 -0
- package/dist/ui/f/fields/EditorInput/common/ColorPicker/index.js +4 -0
- package/dist/ui/f/fields/EditorInput/common/ExposePlainTextPlugin.js +7 -0
- package/dist/ui/f/fields/EditorInput/common/FontSizeDropDown/FontSizeDropDown.js +44 -0
- package/dist/ui/f/fields/EditorInput/common/FontSizeDropDown/index.js +4 -0
- package/dist/ui/f/fields/EditorInput/common/StopPropagationPlugin.js +18 -0
- package/dist/ui/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.js +11 -0
- package/dist/ui/f/fields/EditorInput/common/ToolbarPlugin/index.js +4 -0
- package/dist/ui/f/fields/EditorInput/common/TreeViewPlugin.js +7 -0
- package/dist/ui/f/fields/EditorInput/common/index.js +13 -0
- package/dist/ui/f/fields/EditorInput/index.js +4 -0
- package/dist/ui/f/fields/FileUpload/FileUpload.js +11 -0
- package/dist/ui/f/fields/FileUpload/common/Preview/Preview.js +42 -0
- package/dist/ui/f/fields/FileUpload/common/Preview/index.js +4 -0
- package/dist/ui/f/fields/FileUpload/common/index.js +4 -0
- package/dist/ui/f/fields/FileUpload/index.js +8 -0
- package/dist/ui/f/fields/FileUpload/utils.js +48 -0
- package/dist/ui/f/fields/LatexPreviewInput/LatexPreviewInput.js +10 -0
- package/dist/ui/f/fields/LatexPreviewInput/convertLatexToHtml.js +51108 -0
- package/dist/ui/f/fields/LatexPreviewInput/index.js +6 -0
- package/dist/ui/f/fields/LinkInput/LinkInput.js +11 -0
- package/dist/ui/f/fields/LinkInput/index.js +4 -0
- package/dist/ui/f/fields/QueryChoices/QueryChoices.js +8 -0
- package/dist/ui/f/fields/QueryChoices/index.js +4 -0
- package/dist/ui/f/fields/QueryCombobox/QueryCombobox.js +9 -0
- package/dist/ui/f/fields/QueryCombobox/common/Combobox/Combobox.js +47 -0
- package/dist/ui/f/fields/QueryCombobox/common/Combobox/index.js +4 -0
- package/dist/ui/f/fields/QueryCombobox/common/Menu/Menu.js +78 -0
- package/dist/ui/f/fields/QueryCombobox/common/Menu/index.js +4 -0
- package/dist/ui/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +47 -0
- package/dist/ui/f/fields/QueryCombobox/common/MultipleCombobox/index.js +4 -0
- package/dist/ui/f/fields/QueryCombobox/common/index.js +7 -0
- package/dist/ui/f/fields/QueryCombobox/index.js +4 -0
- package/dist/ui/f/fields/QuerySelect/QuerySelect.js +12 -0
- package/dist/ui/f/fields/QuerySelect/index.js +4 -0
- package/dist/ui/f/fields/RadioInput/RadioInput.js +78 -0
- package/dist/ui/f/fields/RadioInput/index.js +4 -0
- package/dist/ui/f/fields/RatingsInput/RatingsInput.js +11 -0
- package/dist/ui/f/fields/RatingsInput/common/Rating/Rating.js +127 -0
- package/dist/ui/f/fields/RatingsInput/common/Rating/index.js +4 -0
- package/dist/ui/f/fields/RatingsInput/common/index.js +4 -0
- package/dist/ui/f/fields/RatingsInput/index.js +4 -0
- package/dist/ui/f/fields/SelectInput/SelectInput.js +9 -0
- package/dist/ui/f/fields/SelectInput/common/Menu/Menu.js +79 -0
- package/dist/ui/f/fields/SelectInput/common/Menu/index.js +4 -0
- package/dist/ui/f/fields/SelectInput/common/Multiple/Multiple.js +47 -0
- package/dist/ui/f/fields/SelectInput/common/Multiple/index.js +4 -0
- package/dist/ui/f/fields/SelectInput/common/Single/Single.js +44 -0
- package/dist/ui/f/fields/SelectInput/common/Single/index.js +4 -0
- package/dist/ui/f/fields/SelectInput/common/index.js +7 -0
- package/dist/ui/f/fields/SelectInput/index.js +4 -0
- package/dist/ui/f/fields/TextInput/TextInput.js +11 -0
- package/dist/ui/f/fields/TextInput/index.js +4 -0
- package/dist/ui/f/fields/TextareaInput/TextareaInput.js +11 -0
- package/dist/ui/f/fields/TextareaInput/index.js +4 -0
- package/dist/ui/f/fields/ToggleInput/ToggleInput.js +42 -0
- package/dist/ui/f/fields/ToggleInput/index.js +4 -0
- package/dist/ui/f/fields/index.js +25 -0
- package/dist/ui/f/index.js +35 -0
- package/dist/ui/g/DragAndDrop/DragAndDrop.js +89 -0
- package/dist/ui/g/DragAndDrop/common/DraggableItem/DraggableItem.js +64 -0
- package/dist/ui/g/DragAndDrop/common/DraggableItem/index.js +4 -0
- package/dist/ui/g/DragAndDrop/common/index.js +4 -0
- package/dist/ui/g/DragAndDrop/index.js +4 -0
- package/dist/ui/g/ExpandableLexicalPreview/ExpandableLexicalPreview.js +15 -0
- package/dist/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/NewWindowPortal.js +40 -0
- package/dist/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/index.js +4 -0
- package/dist/ui/g/ExpandableLexicalPreview/common/index.js +4 -0
- package/dist/ui/g/ExpandableLexicalPreview/index.js +4 -0
- package/dist/ui/g/FormBuilder/FormBuilder.js +8 -0
- package/dist/ui/g/FormBuilder/common/Builder/Builder.js +13 -0
- package/dist/ui/g/FormBuilder/common/Builder/common/ActionsContainer/ActionsContainer.js +43 -0
- package/dist/ui/g/FormBuilder/common/Builder/common/ActionsContainer/index.js +4 -0
- package/dist/ui/g/FormBuilder/common/Builder/common/InputBuilder/InputBuilder.js +46 -0
- package/dist/ui/g/FormBuilder/common/Builder/common/InputBuilder/index.js +4 -0
- package/dist/ui/g/FormBuilder/common/Builder/common/Section/Section.js +14 -0
- package/dist/ui/g/FormBuilder/common/Builder/common/Section/index.js +4 -0
- package/dist/ui/g/FormBuilder/common/Builder/common/index.js +6 -0
- package/dist/ui/g/FormBuilder/common/Builder/index.js +4 -0
- package/dist/ui/g/FormBuilder/common/Renderer/Renderer.js +15 -0
- package/dist/ui/g/FormBuilder/common/Renderer/common/Section/Section.js +14 -0
- package/dist/ui/g/FormBuilder/common/Renderer/common/Section/index.js +4 -0
- package/dist/ui/g/FormBuilder/common/Renderer/common/index.js +4 -0
- package/dist/ui/g/FormBuilder/common/Renderer/index.js +4 -0
- package/dist/ui/g/FormBuilder/common/index.js +5 -0
- package/dist/ui/g/FormBuilder/index.js +4 -0
- package/dist/ui/g/index.js +7 -0
- package/dist/ui/index.js +137 -0
- package/dist/ui/utils/applyCharacterLimit.js +31 -0
- package/dist/ui/utils/formatting.js +90 -0
- package/dist/ui/utils/hooks/index.js +8 -0
- package/dist/ui/utils/hooks/useDynamicPosition.js +61 -0
- package/dist/ui/utils/hooks/useOutsideClick.js +14 -0
- package/dist/ui/utils/hooks/useWindowSize.js +16 -0
- package/dist/ui/utils/index.js +16 -0
- package/dist/vite.svg +1 -0
- package/package.json +44 -36
- package/.eslintrc.js +0 -3
- package/.storybook/main.js +0 -32
- package/.storybook/preview.js +0 -45
- package/.storybook/webpackFinal.js +0 -68
- package/babel.config.js +0 -55
- package/dist/cjs/a/AnimatedBlobs/AnimatedBlobs.js +0 -89
- package/dist/cjs/a/AnimatedBlobs/index.js +0 -13
- package/dist/cjs/a/AnimatedBlobs/styles.scss +0 -87
- package/dist/cjs/a/AnimatedGradient/AnimatedGradient.js +0 -59
- package/dist/cjs/a/AnimatedGradient/index.js +0 -13
- package/dist/cjs/a/AnimatedGradient/styles.scss +0 -15
- package/dist/cjs/a/AnimatedGradient/webGIRenderer.js +0 -527
- package/dist/cjs/a/AppContext/Context.js +0 -10
- package/dist/cjs/a/AppContext/ContextProvider.js +0 -87
- package/dist/cjs/a/AppContext/index.js +0 -34
- package/dist/cjs/a/AppContext/useApp.js +0 -11
- package/dist/cjs/a/AppContext/useTheme.js +0 -38
- package/dist/cjs/a/BlurOverlay/BlurOverlay.js +0 -58
- package/dist/cjs/a/BlurOverlay/index.js +0 -13
- package/dist/cjs/a/BlurOverlay/styles.scss +0 -33
- package/dist/cjs/a/Charts/AreaChart/AreaChart.js +0 -256
- package/dist/cjs/a/Charts/AreaChart/index.js +0 -13
- package/dist/cjs/a/Charts/AreaChart/styles.scss +0 -70
- package/dist/cjs/a/Charts/BarChart/BarChart.js +0 -138
- package/dist/cjs/a/Charts/BarChart/index.js +0 -13
- package/dist/cjs/a/Charts/BarChart/styles.scss +0 -48
- package/dist/cjs/a/Charts/Common/CustomLegend/CustomLegend.js +0 -106
- package/dist/cjs/a/Charts/Common/CustomLegend/index.js +0 -13
- package/dist/cjs/a/Charts/Common/CustomLegend/styles.scss +0 -75
- package/dist/cjs/a/Charts/Common/CustomTooltipContent/CustomTooltipContent.js +0 -194
- package/dist/cjs/a/Charts/Common/CustomTooltipContent/index.js +0 -13
- package/dist/cjs/a/Charts/Common/CustomTooltipContent/styles.scss +0 -26
- package/dist/cjs/a/Charts/Common/YLabelsDropDown/YlabelsDropDown.js +0 -97
- package/dist/cjs/a/Charts/Common/YLabelsDropDown/index.js +0 -13
- package/dist/cjs/a/Charts/Common/YLabelsDropDown/styles.scss +0 -89
- package/dist/cjs/a/Charts/Common/index.js +0 -26
- package/dist/cjs/a/Charts/PieChart/PieChart.js +0 -130
- package/dist/cjs/a/Charts/PieChart/index.js +0 -13
- package/dist/cjs/a/Charts/PieChart/styles.scss +0 -136
- package/dist/cjs/a/Charts/index.js +0 -26
- package/dist/cjs/a/ContentTree/ContentTree.js +0 -77
- package/dist/cjs/a/ContentTree/common/Tree/Tree.js +0 -111
- package/dist/cjs/a/ContentTree/common/Tree/index.js +0 -13
- package/dist/cjs/a/ContentTree/common/index.js +0 -27
- package/dist/cjs/a/ContentTree/common/useContentTree.js +0 -79
- package/dist/cjs/a/ContentTree/common/useFirstVisibleNode.js +0 -61
- package/dist/cjs/a/ContentTree/index.js +0 -13
- package/dist/cjs/a/ContentTree/styles.scss +0 -56
- package/dist/cjs/a/Conversation/Context.js +0 -10
- package/dist/cjs/a/Conversation/Conversation.js +0 -85
- package/dist/cjs/a/Conversation/common/Message/Message.js +0 -103
- package/dist/cjs/a/Conversation/common/Message/index.js +0 -13
- package/dist/cjs/a/Conversation/common/index.js +0 -12
- package/dist/cjs/a/Conversation/index.js +0 -27
- package/dist/cjs/a/Conversation/styles.scss +0 -86
- package/dist/cjs/a/Conversation/useConversation.js +0 -11
- package/dist/cjs/a/DatePicker/DatePicker.js +0 -162
- package/dist/cjs/a/DatePicker/index.js +0 -13
- package/dist/cjs/a/DatePicker/styles.scss +0 -380
- package/dist/cjs/a/DotInfo/DotInfo.js +0 -86
- package/dist/cjs/a/DotInfo/index.js +0 -13
- package/dist/cjs/a/DotInfo/styles.scss +0 -20
- package/dist/cjs/a/Figure/Figure.js +0 -72
- package/dist/cjs/a/Figure/index.js +0 -13
- package/dist/cjs/a/Figure/styles.scss +0 -19
- package/dist/cjs/a/HamburgerButton/HamburgerButton.js +0 -82
- package/dist/cjs/a/HamburgerButton/index.js +0 -13
- package/dist/cjs/a/HamburgerButton/styles.scss +0 -183
- package/dist/cjs/a/IconList/IconList.js +0 -74
- package/dist/cjs/a/IconList/common/Item/Item.js +0 -72
- package/dist/cjs/a/IconList/common/Item/index.js +0 -13
- package/dist/cjs/a/IconList/common/index.js +0 -12
- package/dist/cjs/a/IconList/index.js +0 -13
- package/dist/cjs/a/IconList/styles.scss +0 -37
- package/dist/cjs/a/Label/Label.js +0 -79
- package/dist/cjs/a/Label/index.js +0 -13
- package/dist/cjs/a/Label/styles.scss +0 -35
- package/dist/cjs/a/LoadingCircle/LoadingCircle.js +0 -102
- package/dist/cjs/a/LoadingCircle/index.js +0 -13
- package/dist/cjs/a/LoadingCircle/styles.scss +0 -47
- package/dist/cjs/a/MetaCard/MetaCard.js +0 -64
- package/dist/cjs/a/MetaCard/index.js +0 -13
- package/dist/cjs/a/MetaCard/styles.scss +0 -45
- package/dist/cjs/a/Notification/Notification.js +0 -113
- package/dist/cjs/a/Notification/index.js +0 -13
- package/dist/cjs/a/Notification/styles.scss +0 -67
- package/dist/cjs/a/NotificationStack/NotificationStack.js +0 -68
- package/dist/cjs/a/NotificationStack/index.js +0 -13
- package/dist/cjs/a/NotificationStack/styles.scss +0 -23
- package/dist/cjs/a/People/People.js +0 -77
- package/dist/cjs/a/People/common/Person/Person.js +0 -88
- package/dist/cjs/a/People/common/Person/index.js +0 -13
- package/dist/cjs/a/People/common/index.js +0 -12
- package/dist/cjs/a/People/index.js +0 -13
- package/dist/cjs/a/People/styles.scss +0 -60
- package/dist/cjs/a/Popover/Popover.js +0 -117
- package/dist/cjs/a/Popover/index.js +0 -13
- package/dist/cjs/a/Popover/styles.scss +0 -34
- package/dist/cjs/a/ProgressBar/ProgressBar.js +0 -81
- package/dist/cjs/a/ProgressBar/index.js +0 -13
- package/dist/cjs/a/ProgressBar/styles.scss +0 -47
- package/dist/cjs/a/Quote/Quote.js +0 -92
- package/dist/cjs/a/Quote/index.js +0 -13
- package/dist/cjs/a/Quote/styles.scss +0 -35
- package/dist/cjs/a/Removable/Removable.js +0 -71
- package/dist/cjs/a/Removable/index.js +0 -13
- package/dist/cjs/a/Removable/styles.scss +0 -33
- package/dist/cjs/a/SVG/SVG.js +0 -133
- package/dist/cjs/a/SVG/common/UseSVG/UseSVG.js +0 -71
- package/dist/cjs/a/SVG/common/UseSVG/index.js +0 -13
- package/dist/cjs/a/SVG/common/index.js +0 -12
- package/dist/cjs/a/SVG/index.js +0 -13
- package/dist/cjs/a/SVG/styles.scss +0 -57
- package/dist/cjs/a/SnapScroller/SnapScroller.js +0 -92
- package/dist/cjs/a/SnapScroller/index.js +0 -13
- package/dist/cjs/a/SnapScroller/styles.scss +0 -77
- package/dist/cjs/a/Spinner/Spinner.js +0 -62
- package/dist/cjs/a/Spinner/index.js +0 -13
- package/dist/cjs/a/Spinner/styles.scss +0 -23
- package/dist/cjs/a/TextSteps/TextSteps.js +0 -67
- package/dist/cjs/a/TextSteps/index.js +0 -13
- package/dist/cjs/a/TextSteps/styles.scss +0 -29
- package/dist/cjs/a/ThroughPutIndicator/ThroughPutIndicator.js +0 -78
- package/dist/cjs/a/ThroughPutIndicator/index.js +0 -13
- package/dist/cjs/a/ThroughPutIndicator/styles.scss +0 -35
- package/dist/cjs/a/Timestamp/Timestamp.js +0 -122
- package/dist/cjs/a/Timestamp/index.js +0 -13
- package/dist/cjs/a/Timestamp/styles.scss +0 -7
- package/dist/cjs/a/Tip/Tip.js +0 -85
- package/dist/cjs/a/Tip/index.js +0 -13
- package/dist/cjs/a/Tip/styles.scss +0 -16
- package/dist/cjs/a/ToggleSwitch/ToggleSwitch.js +0 -87
- package/dist/cjs/a/ToggleSwitch/index.js +0 -13
- package/dist/cjs/a/ToggleSwitch/styles.scss +0 -58
- package/dist/cjs/a/Tooltip/Tooltip.js +0 -104
- package/dist/cjs/a/Tooltip/index.js +0 -13
- package/dist/cjs/a/Tooltip/styles.scss +0 -89
- package/dist/cjs/a/XMLEditor/XMLEditor.js +0 -128
- package/dist/cjs/a/XMLEditor/common/index.js +0 -13
- package/dist/cjs/a/XMLEditor/common/theme.js +0 -186
- package/dist/cjs/a/XMLEditor/index.js +0 -13
- package/dist/cjs/a/XMLEditor/styles.scss +0 -24
- package/dist/cjs/a/index.js +0 -259
- package/dist/cjs/b/Button/Button.js +0 -111
- package/dist/cjs/b/Button/common/Group/Group.js +0 -54
- package/dist/cjs/b/Button/common/Group/index.js +0 -13
- package/dist/cjs/b/Button/common/Group/styles.scss +0 -11
- package/dist/cjs/b/Button/common/index.js +0 -12
- package/dist/cjs/b/Button/index.js +0 -13
- package/dist/cjs/b/Button/styles.scss +0 -173
- package/dist/cjs/b/Card/Card.js +0 -73
- package/dist/cjs/b/Card/common/Group/Group.js +0 -70
- package/dist/cjs/b/Card/common/Group/index.js +0 -13
- package/dist/cjs/b/Card/common/Group/styles.scss +0 -35
- package/dist/cjs/b/Card/common/Section/Section.js +0 -58
- package/dist/cjs/b/Card/common/Section/index.js +0 -13
- package/dist/cjs/b/Card/common/index.js +0 -19
- package/dist/cjs/b/Card/index.js +0 -13
- package/dist/cjs/b/Card/styles.scss +0 -57
- package/dist/cjs/b/Logo/Logo.js +0 -123
- package/dist/cjs/b/Logo/index.js +0 -13
- package/dist/cjs/b/Logo/styles.scss +0 -11
- package/dist/cjs/b/Page/Context.js +0 -10
- package/dist/cjs/b/Page/Page.js +0 -106
- package/dist/cjs/b/Page/common/PageHelmet/PageHelmet.js +0 -186
- package/dist/cjs/b/Page/common/PageHelmet/index.js +0 -13
- package/dist/cjs/b/Page/common/Section/Section.js +0 -66
- package/dist/cjs/b/Page/common/Section/index.js +0 -13
- package/dist/cjs/b/Page/common/index.js +0 -19
- package/dist/cjs/b/Page/index.js +0 -27
- package/dist/cjs/b/Page/styles.scss +0 -38
- package/dist/cjs/b/Page/usePage.js +0 -11
- package/dist/cjs/b/SocialMediaButton/SocialMediaButton.js +0 -116
- package/dist/cjs/b/SocialMediaButton/index.js +0 -13
- package/dist/cjs/b/SocialMediaButton/styles.scss +0 -35
- package/dist/cjs/b/ThemeSelector/ThemeSelector.js +0 -74
- package/dist/cjs/b/ThemeSelector/index.js +0 -13
- package/dist/cjs/b/ThemeSelector/styles.scss +0 -52
- package/dist/cjs/b/Title/Title.js +0 -110
- package/dist/cjs/b/Title/index.js +0 -13
- package/dist/cjs/b/index.js +0 -54
- package/dist/cjs/c/Modal/Modal.js +0 -82
- package/dist/cjs/c/Modal/common/ModalHeader/ModalHeader.js +0 -76
- package/dist/cjs/c/Modal/common/ModalHeader/index.js +0 -13
- package/dist/cjs/c/Modal/common/index.js +0 -12
- package/dist/cjs/c/Modal/index.js +0 -13
- package/dist/cjs/c/Modal/styles.scss +0 -44
- package/dist/cjs/c/Shortener/Shortener.js +0 -102
- package/dist/cjs/c/Shortener/index.js +0 -13
- package/dist/cjs/c/Shortener/styles.scss +0 -7
- package/dist/cjs/c/SocialMediaShareButton/SocialMediaShareButton.js +0 -102
- package/dist/cjs/c/SocialMediaShareButton/index.js +0 -13
- package/dist/cjs/c/SocialMediaShareButton/styles.scss +0 -39
- package/dist/cjs/c/index.js +0 -26
- package/dist/cjs/d/index.js +0 -2
- package/dist/cjs/f/FormInput/FormInput.js +0 -154
- package/dist/cjs/f/FormInput/index.js +0 -13
- package/dist/cjs/f/FormInput/styles.scss +0 -11
- package/dist/cjs/f/common/Debugger/Debugger.js +0 -68
- package/dist/cjs/f/common/Debugger/index.js +0 -13
- package/dist/cjs/f/common/Debugger/styles.scss +0 -12
- package/dist/cjs/f/common/Description/Description.js +0 -75
- package/dist/cjs/f/common/Description/index.js +0 -13
- package/dist/cjs/f/common/Description/styles.scss +0 -9
- package/dist/cjs/f/common/Label/Label.js +0 -82
- package/dist/cjs/f/common/Label/index.js +0 -13
- package/dist/cjs/f/common/Label/styles.scss +0 -9
- package/dist/cjs/f/common/index.js +0 -43
- package/dist/cjs/f/common/utils/index.js +0 -19
- package/dist/cjs/f/common/utils/lookUpInputValueFromFetchedOptions.js +0 -29
- package/dist/cjs/f/common/utils/validators.js +0 -17
- package/dist/cjs/f/fields/Checkbox/Checkbox.js +0 -117
- package/dist/cjs/f/fields/Checkbox/index.js +0 -13
- package/dist/cjs/f/fields/Checkbox/styles.scss +0 -16
- package/dist/cjs/f/fields/ChoicesInput/ChoicesInput.js +0 -151
- package/dist/cjs/f/fields/ChoicesInput/common/Choice/Choice.js +0 -105
- package/dist/cjs/f/fields/ChoicesInput/common/Choice/index.js +0 -13
- package/dist/cjs/f/fields/ChoicesInput/common/index.js +0 -12
- package/dist/cjs/f/fields/ChoicesInput/index.js +0 -13
- package/dist/cjs/f/fields/ChoicesInput/styles.scss +0 -79
- package/dist/cjs/f/fields/EditorInput/EditorInput.js +0 -238
- package/dist/cjs/f/fields/EditorInput/common/BlockFormatDropDown/BlockFormatDropDown.js +0 -256
- package/dist/cjs/f/fields/EditorInput/common/BlockFormatDropDown/index.js +0 -13
- package/dist/cjs/f/fields/EditorInput/common/BlockFormatDropDown/styles.scss +0 -55
- package/dist/cjs/f/fields/EditorInput/common/ColorPicker/ColorPicker.js +0 -98
- package/dist/cjs/f/fields/EditorInput/common/ColorPicker/index.js +0 -13
- package/dist/cjs/f/fields/EditorInput/common/ColorPicker/styles.scss +0 -36
- package/dist/cjs/f/fields/EditorInput/common/ExposePlainTextPlugin.js +0 -47
- package/dist/cjs/f/fields/EditorInput/common/FontSizeDropDown/FontSizeDropDown.js +0 -94
- package/dist/cjs/f/fields/EditorInput/common/FontSizeDropDown/index.js +0 -13
- package/dist/cjs/f/fields/EditorInput/common/FontSizeDropDown/styles.scss +0 -55
- package/dist/cjs/f/fields/EditorInput/common/StopPropagationPlugin.js +0 -25
- package/dist/cjs/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.js +0 -289
- package/dist/cjs/f/fields/EditorInput/common/ToolbarPlugin/index.js +0 -13
- package/dist/cjs/f/fields/EditorInput/common/ToolbarPlugin/styles.scss +0 -56
- package/dist/cjs/f/fields/EditorInput/common/TreeViewPlugin.js +0 -18
- package/dist/cjs/f/fields/EditorInput/common/index.js +0 -55
- package/dist/cjs/f/fields/EditorInput/index.js +0 -13
- package/dist/cjs/f/fields/EditorInput/styles.scss +0 -240
- package/dist/cjs/f/fields/FileUpload/FileUpload.js +0 -248
- package/dist/cjs/f/fields/FileUpload/common/Preview/Preview.js +0 -135
- package/dist/cjs/f/fields/FileUpload/common/Preview/index.js +0 -13
- package/dist/cjs/f/fields/FileUpload/common/Preview/styles.scss +0 -96
- package/dist/cjs/f/fields/FileUpload/common/index.js +0 -12
- package/dist/cjs/f/fields/FileUpload/index.js +0 -32
- package/dist/cjs/f/fields/FileUpload/styles.scss +0 -73
- package/dist/cjs/f/fields/FileUpload/utils.js +0 -48
- package/dist/cjs/f/fields/LatexPreviewInput/LatexPreviewInput.js +0 -78
- package/dist/cjs/f/fields/LatexPreviewInput/convertLatexToHtml.js +0 -46
- package/dist/cjs/f/fields/LatexPreviewInput/index.js +0 -20
- package/dist/cjs/f/fields/LatexPreviewInput/styles.scss +0 -25
- package/dist/cjs/f/fields/LinkInput/LinkInput.js +0 -152
- package/dist/cjs/f/fields/LinkInput/index.js +0 -13
- package/dist/cjs/f/fields/LinkInput/styles.scss +0 -90
- package/dist/cjs/f/fields/QueryChoices/QueryChoices.js +0 -137
- package/dist/cjs/f/fields/QueryChoices/index.js +0 -13
- package/dist/cjs/f/fields/QueryCombobox/QueryCombobox.js +0 -241
- package/dist/cjs/f/fields/QueryCombobox/common/Combobox/Combobox.js +0 -238
- package/dist/cjs/f/fields/QueryCombobox/common/Combobox/index.js +0 -13
- package/dist/cjs/f/fields/QueryCombobox/common/Menu/Menu.js +0 -83
- package/dist/cjs/f/fields/QueryCombobox/common/Menu/index.js +0 -13
- package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +0 -331
- package/dist/cjs/f/fields/QueryCombobox/common/MultipleCombobox/index.js +0 -13
- package/dist/cjs/f/fields/QueryCombobox/common/index.js +0 -26
- package/dist/cjs/f/fields/QueryCombobox/index.js +0 -13
- package/dist/cjs/f/fields/QueryCombobox/styles.scss +0 -134
- package/dist/cjs/f/fields/QuerySelect/QuerySelect.js +0 -198
- package/dist/cjs/f/fields/QuerySelect/index.js +0 -13
- package/dist/cjs/f/fields/RatingsInput/RatingsInput.js +0 -132
- package/dist/cjs/f/fields/RatingsInput/common/Rating/Rating.js +0 -117
- package/dist/cjs/f/fields/RatingsInput/common/Rating/index.js +0 -13
- package/dist/cjs/f/fields/RatingsInput/common/index.js +0 -12
- package/dist/cjs/f/fields/RatingsInput/index.js +0 -13
- package/dist/cjs/f/fields/RatingsInput/styles.scss +0 -48
- package/dist/cjs/f/fields/SelectInput/SelectInput.js +0 -149
- package/dist/cjs/f/fields/SelectInput/common/Menu/Menu.js +0 -83
- package/dist/cjs/f/fields/SelectInput/common/Menu/index.js +0 -13
- package/dist/cjs/f/fields/SelectInput/common/Multiple/Multiple.js +0 -242
- package/dist/cjs/f/fields/SelectInput/common/Multiple/index.js +0 -13
- package/dist/cjs/f/fields/SelectInput/common/Single/Single.js +0 -115
- package/dist/cjs/f/fields/SelectInput/common/Single/index.js +0 -13
- package/dist/cjs/f/fields/SelectInput/common/index.js +0 -26
- package/dist/cjs/f/fields/SelectInput/index.js +0 -13
- package/dist/cjs/f/fields/SelectInput/styles.scss +0 -191
- package/dist/cjs/f/fields/TextInput/TextInput.js +0 -150
- package/dist/cjs/f/fields/TextInput/index.js +0 -13
- package/dist/cjs/f/fields/TextInput/styles.scss +0 -81
- package/dist/cjs/f/fields/TextareaInput/TextareaInput.js +0 -151
- package/dist/cjs/f/fields/TextareaInput/index.js +0 -13
- package/dist/cjs/f/fields/TextareaInput/styles.scss +0 -53
- package/dist/cjs/f/fields/ToggleInput/ToggleInput.js +0 -126
- package/dist/cjs/f/fields/ToggleInput/index.js +0 -13
- package/dist/cjs/f/fields/ToggleInput/styles.scss +0 -22
- package/dist/cjs/f/fields/index.js +0 -127
- package/dist/cjs/f/index.js +0 -39
- package/dist/cjs/form-reset.scss +0 -86
- package/dist/cjs/form.scss +0 -34
- package/dist/cjs/g/DragAndDrop/DragAndDrop.js +0 -104
- package/dist/cjs/g/DragAndDrop/common/DraggableItem/DraggableItem.js +0 -76
- package/dist/cjs/g/DragAndDrop/common/DraggableItem/index.js +0 -13
- package/dist/cjs/g/DragAndDrop/common/DraggableItem/styles.scss +0 -12
- package/dist/cjs/g/DragAndDrop/common/index.js +0 -12
- package/dist/cjs/g/DragAndDrop/index.js +0 -13
- package/dist/cjs/g/DragAndDrop/styles.scss +0 -8
- package/dist/cjs/g/ExpandableLexicalPreview/ExpandableLexicalPreview.js +0 -139
- package/dist/cjs/g/ExpandableLexicalPreview/common/NewWindowPortal/NewWindowPortal.js +0 -79
- package/dist/cjs/g/ExpandableLexicalPreview/common/NewWindowPortal/index.js +0 -13
- package/dist/cjs/g/ExpandableLexicalPreview/common/NewWindowPortal/styles.scss +0 -9
- package/dist/cjs/g/ExpandableLexicalPreview/common/index.js +0 -12
- package/dist/cjs/g/ExpandableLexicalPreview/index.js +0 -13
- package/dist/cjs/g/ExpandableLexicalPreview/styles.scss +0 -33
- package/dist/cjs/g/FormBuilder/FormBuilder.js +0 -127
- package/dist/cjs/g/FormBuilder/common/Builder/Builder.js +0 -193
- package/dist/cjs/g/FormBuilder/common/Builder/common/ActionsContainer/ActionsContainer.js +0 -80
- package/dist/cjs/g/FormBuilder/common/Builder/common/ActionsContainer/index.js +0 -13
- package/dist/cjs/g/FormBuilder/common/Builder/common/ActionsContainer/styles.scss +0 -59
- package/dist/cjs/g/FormBuilder/common/Builder/common/InputBuilder/InputBuilder.js +0 -254
- package/dist/cjs/g/FormBuilder/common/Builder/common/InputBuilder/index.js +0 -13
- package/dist/cjs/g/FormBuilder/common/Builder/common/InputBuilder/styles.scss +0 -169
- package/dist/cjs/g/FormBuilder/common/Builder/common/Section/Section.js +0 -148
- package/dist/cjs/g/FormBuilder/common/Builder/common/Section/index.js +0 -13
- package/dist/cjs/g/FormBuilder/common/Builder/common/Section/styles.scss +0 -71
- package/dist/cjs/g/FormBuilder/common/Builder/common/index.js +0 -26
- package/dist/cjs/g/FormBuilder/common/Builder/index.js +0 -13
- package/dist/cjs/g/FormBuilder/common/Builder/styles.scss +0 -63
- package/dist/cjs/g/FormBuilder/common/Renderer/Renderer.js +0 -194
- package/dist/cjs/g/FormBuilder/common/Renderer/common/Section/Section.js +0 -95
- package/dist/cjs/g/FormBuilder/common/Renderer/common/Section/index.js +0 -13
- package/dist/cjs/g/FormBuilder/common/Renderer/common/index.js +0 -12
- package/dist/cjs/g/FormBuilder/common/Renderer/index.js +0 -13
- package/dist/cjs/g/FormBuilder/common/Renderer/styles.scss +0 -30
- package/dist/cjs/g/FormBuilder/common/index.js +0 -19
- package/dist/cjs/g/FormBuilder/index.js +0 -13
- package/dist/cjs/g/FormBuilder/styles.scss +0 -25
- package/dist/cjs/g/index.js +0 -26
- package/dist/cjs/index.js +0 -93
- package/dist/cjs/test/QueryLoader/QueryLoader.js +0 -36
- package/dist/cjs/test/QueryLoader/__generated__/QueryLoaderHelloQuery.graphql.js +0 -63
- package/dist/cjs/test/QueryLoader/common/PreloadedTestData/PreloadedTestData.js +0 -40
- package/dist/cjs/test/QueryLoader/common/PreloadedTestData/index.js +0 -13
- package/dist/cjs/test/QueryLoader/common/index.js +0 -12
- package/dist/cjs/test/QueryLoader/index.js +0 -13
- package/dist/cjs/test/index.js +0 -12
- package/dist/cjs/utils/applyCharacterLimit.js +0 -75
- package/dist/cjs/utils/formatting.js +0 -128
- package/dist/cjs/utils/hooks/index.js +0 -27
- package/dist/cjs/utils/hooks/useDynamicPosition.js +0 -91
- package/dist/cjs/utils/hooks/useOutsideClick.js +0 -25
- package/dist/cjs/utils/hooks/useWindowSize.js +0 -30
- package/dist/cjs/utils/index.js +0 -62
- package/dist/es/a/AnimatedBlobs/AnimatedBlobs.js +0 -77
- package/dist/es/a/AnimatedBlobs/index.js +0 -1
- package/dist/es/a/AnimatedBlobs/styles.scss +0 -87
- package/dist/es/a/AnimatedGradient/AnimatedGradient.js +0 -49
- package/dist/es/a/AnimatedGradient/index.js +0 -1
- package/dist/es/a/AnimatedGradient/styles.scss +0 -15
- package/dist/es/a/AnimatedGradient/webGIRenderer.js +0 -491
- package/dist/es/a/AppContext/Context.js +0 -2
- package/dist/es/a/AppContext/ContextProvider.js +0 -77
- package/dist/es/a/AppContext/index.js +0 -5
- package/dist/es/a/AppContext/useApp.js +0 -3
- package/dist/es/a/AppContext/useTheme.js +0 -31
- package/dist/es/a/BlurOverlay/BlurOverlay.js +0 -45
- package/dist/es/a/BlurOverlay/index.js +0 -2
- package/dist/es/a/BlurOverlay/styles.scss +0 -33
- package/dist/es/a/Charts/AreaChart/AreaChart.js +0 -246
- package/dist/es/a/Charts/AreaChart/index.js +0 -1
- package/dist/es/a/Charts/AreaChart/styles.scss +0 -70
- package/dist/es/a/Charts/BarChart/BarChart.js +0 -129
- package/dist/es/a/Charts/BarChart/index.js +0 -1
- package/dist/es/a/Charts/BarChart/styles.scss +0 -48
- package/dist/es/a/Charts/Common/CustomLegend/CustomLegend.js +0 -94
- package/dist/es/a/Charts/Common/CustomLegend/index.js +0 -1
- package/dist/es/a/Charts/Common/CustomLegend/styles.scss +0 -75
- package/dist/es/a/Charts/Common/CustomTooltipContent/CustomTooltipContent.js +0 -175
- package/dist/es/a/Charts/Common/CustomTooltipContent/index.js +0 -1
- package/dist/es/a/Charts/Common/CustomTooltipContent/styles.scss +0 -26
- package/dist/es/a/Charts/Common/YLabelsDropDown/YlabelsDropDown.js +0 -86
- package/dist/es/a/Charts/Common/YLabelsDropDown/index.js +0 -1
- package/dist/es/a/Charts/Common/YLabelsDropDown/styles.scss +0 -89
- package/dist/es/a/Charts/Common/index.js +0 -3
- package/dist/es/a/Charts/PieChart/PieChart.js +0 -120
- package/dist/es/a/Charts/PieChart/index.js +0 -1
- package/dist/es/a/Charts/PieChart/styles.scss +0 -136
- package/dist/es/a/Charts/index.js +0 -3
- package/dist/es/a/ContentTree/ContentTree.js +0 -66
- package/dist/es/a/ContentTree/common/Tree/Tree.js +0 -101
- package/dist/es/a/ContentTree/common/Tree/index.js +0 -2
- package/dist/es/a/ContentTree/common/index.js +0 -3
- package/dist/es/a/ContentTree/common/useContentTree.js +0 -73
- package/dist/es/a/ContentTree/common/useFirstVisibleNode.js +0 -54
- package/dist/es/a/ContentTree/index.js +0 -2
- package/dist/es/a/ContentTree/styles.scss +0 -56
- package/dist/es/a/Conversation/Context.js +0 -2
- package/dist/es/a/Conversation/Conversation.js +0 -73
- package/dist/es/a/Conversation/common/Message/Message.js +0 -93
- package/dist/es/a/Conversation/common/Message/index.js +0 -2
- package/dist/es/a/Conversation/common/index.js +0 -1
- package/dist/es/a/Conversation/index.js +0 -4
- package/dist/es/a/Conversation/styles.scss +0 -86
- package/dist/es/a/Conversation/useConversation.js +0 -3
- package/dist/es/a/DatePicker/DatePicker.js +0 -154
- package/dist/es/a/DatePicker/index.js +0 -2
- package/dist/es/a/DatePicker/styles.scss +0 -380
- package/dist/es/a/DotInfo/DotInfo.js +0 -74
- package/dist/es/a/DotInfo/index.js +0 -2
- package/dist/es/a/DotInfo/styles.scss +0 -20
- package/dist/es/a/Figure/Figure.js +0 -60
- package/dist/es/a/Figure/index.js +0 -2
- package/dist/es/a/Figure/styles.scss +0 -19
- package/dist/es/a/HamburgerButton/HamburgerButton.js +0 -72
- package/dist/es/a/HamburgerButton/index.js +0 -2
- package/dist/es/a/HamburgerButton/styles.scss +0 -183
- package/dist/es/a/IconList/IconList.js +0 -64
- package/dist/es/a/IconList/common/Item/Item.js +0 -63
- package/dist/es/a/IconList/common/Item/index.js +0 -2
- package/dist/es/a/IconList/common/index.js +0 -1
- package/dist/es/a/IconList/index.js +0 -2
- package/dist/es/a/IconList/styles.scss +0 -37
- package/dist/es/a/Label/Label.js +0 -69
- package/dist/es/a/Label/index.js +0 -2
- package/dist/es/a/Label/styles.scss +0 -35
- package/dist/es/a/LoadingCircle/LoadingCircle.js +0 -90
- package/dist/es/a/LoadingCircle/index.js +0 -2
- package/dist/es/a/LoadingCircle/styles.scss +0 -47
- package/dist/es/a/MetaCard/MetaCard.js +0 -52
- package/dist/es/a/MetaCard/index.js +0 -1
- package/dist/es/a/MetaCard/styles.scss +0 -45
- package/dist/es/a/Notification/Notification.js +0 -107
- package/dist/es/a/Notification/index.js +0 -1
- package/dist/es/a/Notification/styles.scss +0 -67
- package/dist/es/a/NotificationStack/NotificationStack.js +0 -62
- package/dist/es/a/NotificationStack/index.js +0 -1
- package/dist/es/a/NotificationStack/styles.scss +0 -23
- package/dist/es/a/People/People.js +0 -65
- package/dist/es/a/People/common/Person/Person.js +0 -78
- package/dist/es/a/People/common/Person/index.js +0 -2
- package/dist/es/a/People/common/index.js +0 -1
- package/dist/es/a/People/index.js +0 -2
- package/dist/es/a/People/styles.scss +0 -60
- package/dist/es/a/Popover/Popover.js +0 -106
- package/dist/es/a/Popover/index.js +0 -2
- package/dist/es/a/Popover/styles.scss +0 -34
- package/dist/es/a/ProgressBar/ProgressBar.js +0 -69
- package/dist/es/a/ProgressBar/index.js +0 -2
- package/dist/es/a/ProgressBar/styles.scss +0 -47
- package/dist/es/a/Quote/Quote.js +0 -80
- package/dist/es/a/Quote/index.js +0 -2
- package/dist/es/a/Quote/styles.scss +0 -35
- package/dist/es/a/Removable/Removable.js +0 -59
- package/dist/es/a/Removable/index.js +0 -2
- package/dist/es/a/Removable/styles.scss +0 -33
- package/dist/es/a/SVG/SVG.js +0 -125
- package/dist/es/a/SVG/common/UseSVG/UseSVG.js +0 -59
- package/dist/es/a/SVG/common/UseSVG/index.js +0 -2
- package/dist/es/a/SVG/common/index.js +0 -1
- package/dist/es/a/SVG/index.js +0 -2
- package/dist/es/a/SVG/styles.scss +0 -57
- package/dist/es/a/SnapScroller/SnapScroller.js +0 -82
- package/dist/es/a/SnapScroller/index.js +0 -2
- package/dist/es/a/SnapScroller/styles.scss +0 -77
- package/dist/es/a/Spinner/Spinner.js +0 -50
- package/dist/es/a/Spinner/index.js +0 -2
- package/dist/es/a/Spinner/styles.scss +0 -23
- package/dist/es/a/TextSteps/TextSteps.js +0 -56
- package/dist/es/a/TextSteps/index.js +0 -1
- package/dist/es/a/TextSteps/styles.scss +0 -29
- package/dist/es/a/ThroughPutIndicator/ThroughPutIndicator.js +0 -66
- package/dist/es/a/ThroughPutIndicator/index.js +0 -2
- package/dist/es/a/ThroughPutIndicator/styles.scss +0 -35
- package/dist/es/a/Timestamp/Timestamp.js +0 -112
- package/dist/es/a/Timestamp/index.js +0 -2
- package/dist/es/a/Timestamp/styles.scss +0 -7
- package/dist/es/a/Tip/Tip.js +0 -73
- package/dist/es/a/Tip/index.js +0 -2
- package/dist/es/a/Tip/styles.scss +0 -16
- package/dist/es/a/ToggleSwitch/ToggleSwitch.js +0 -75
- package/dist/es/a/ToggleSwitch/index.js +0 -2
- package/dist/es/a/ToggleSwitch/styles.scss +0 -58
- package/dist/es/a/Tooltip/Tooltip.js +0 -94
- package/dist/es/a/Tooltip/index.js +0 -2
- package/dist/es/a/Tooltip/styles.scss +0 -89
- package/dist/es/a/XMLEditor/XMLEditor.js +0 -117
- package/dist/es/a/XMLEditor/common/index.js +0 -1
- package/dist/es/a/XMLEditor/common/theme.js +0 -180
- package/dist/es/a/XMLEditor/index.js +0 -1
- package/dist/es/a/XMLEditor/styles.scss +0 -24
- package/dist/es/a/index.js +0 -32
- package/dist/es/b/Button/Button.js +0 -105
- package/dist/es/b/Button/common/Group/Group.js +0 -44
- package/dist/es/b/Button/common/Group/index.js +0 -1
- package/dist/es/b/Button/common/Group/styles.scss +0 -11
- package/dist/es/b/Button/common/index.js +0 -1
- package/dist/es/b/Button/index.js +0 -2
- package/dist/es/b/Button/styles.scss +0 -173
- package/dist/es/b/Card/Card.js +0 -61
- package/dist/es/b/Card/common/Group/Group.js +0 -62
- package/dist/es/b/Card/common/Group/index.js +0 -1
- package/dist/es/b/Card/common/Group/styles.scss +0 -35
- package/dist/es/b/Card/common/Section/Section.js +0 -48
- package/dist/es/b/Card/common/Section/index.js +0 -1
- package/dist/es/b/Card/common/index.js +0 -2
- package/dist/es/b/Card/index.js +0 -1
- package/dist/es/b/Card/styles.scss +0 -57
- package/dist/es/b/Logo/Logo.js +0 -113
- package/dist/es/b/Logo/index.js +0 -2
- package/dist/es/b/Logo/styles.scss +0 -11
- package/dist/es/b/Page/Context.js +0 -2
- package/dist/es/b/Page/Page.js +0 -100
- package/dist/es/b/Page/common/PageHelmet/PageHelmet.js +0 -174
- package/dist/es/b/Page/common/PageHelmet/index.js +0 -2
- package/dist/es/b/Page/common/Section/Section.js +0 -59
- package/dist/es/b/Page/common/Section/index.js +0 -2
- package/dist/es/b/Page/common/index.js +0 -2
- package/dist/es/b/Page/index.js +0 -4
- package/dist/es/b/Page/styles.scss +0 -38
- package/dist/es/b/Page/usePage.js +0 -3
- package/dist/es/b/SocialMediaButton/SocialMediaButton.js +0 -108
- package/dist/es/b/SocialMediaButton/index.js +0 -2
- package/dist/es/b/SocialMediaButton/styles.scss +0 -35
- package/dist/es/b/ThemeSelector/ThemeSelector.js +0 -64
- package/dist/es/b/ThemeSelector/index.js +0 -2
- package/dist/es/b/ThemeSelector/styles.scss +0 -52
- package/dist/es/b/Title/Title.js +0 -102
- package/dist/es/b/Title/index.js +0 -2
- package/dist/es/b/index.js +0 -7
- package/dist/es/c/Modal/Modal.js +0 -70
- package/dist/es/c/Modal/common/ModalHeader/ModalHeader.js +0 -64
- package/dist/es/c/Modal/common/ModalHeader/index.js +0 -1
- package/dist/es/c/Modal/common/index.js +0 -1
- package/dist/es/c/Modal/index.js +0 -2
- package/dist/es/c/Modal/styles.scss +0 -44
- package/dist/es/c/Shortener/Shortener.js +0 -91
- package/dist/es/c/Shortener/index.js +0 -2
- package/dist/es/c/Shortener/styles.scss +0 -7
- package/dist/es/c/SocialMediaShareButton/SocialMediaShareButton.js +0 -92
- package/dist/es/c/SocialMediaShareButton/index.js +0 -2
- package/dist/es/c/SocialMediaShareButton/styles.scss +0 -39
- package/dist/es/c/index.js +0 -3
- package/dist/es/d/index.js +0 -1
- package/dist/es/f/FormInput/FormInput.js +0 -146
- package/dist/es/f/FormInput/index.js +0 -2
- package/dist/es/f/FormInput/styles.scss +0 -11
- package/dist/es/f/common/Debugger/Debugger.js +0 -58
- package/dist/es/f/common/Debugger/index.js +0 -2
- package/dist/es/f/common/Debugger/styles.scss +0 -12
- package/dist/es/f/common/Description/Description.js +0 -65
- package/dist/es/f/common/Description/index.js +0 -2
- package/dist/es/f/common/Description/styles.scss +0 -9
- package/dist/es/f/common/Label/Label.js +0 -69
- package/dist/es/f/common/Label/index.js +0 -2
- package/dist/es/f/common/Label/styles.scss +0 -9
- package/dist/es/f/common/index.js +0 -4
- package/dist/es/f/common/utils/index.js +0 -2
- package/dist/es/f/common/utils/lookUpInputValueFromFetchedOptions.js +0 -20
- package/dist/es/f/common/utils/validators.js +0 -10
- package/dist/es/f/fields/Checkbox/Checkbox.js +0 -110
- package/dist/es/f/fields/Checkbox/index.js +0 -2
- package/dist/es/f/fields/Checkbox/styles.scss +0 -16
- package/dist/es/f/fields/ChoicesInput/ChoicesInput.js +0 -143
- package/dist/es/f/fields/ChoicesInput/common/Choice/Choice.js +0 -98
- package/dist/es/f/fields/ChoicesInput/common/Choice/index.js +0 -2
- package/dist/es/f/fields/ChoicesInput/common/index.js +0 -1
- package/dist/es/f/fields/ChoicesInput/index.js +0 -2
- package/dist/es/f/fields/ChoicesInput/styles.scss +0 -79
- package/dist/es/f/fields/EditorInput/EditorInput.js +0 -227
- package/dist/es/f/fields/EditorInput/common/BlockFormatDropDown/BlockFormatDropDown.js +0 -246
- package/dist/es/f/fields/EditorInput/common/BlockFormatDropDown/index.js +0 -2
- package/dist/es/f/fields/EditorInput/common/BlockFormatDropDown/styles.scss +0 -55
- package/dist/es/f/fields/EditorInput/common/ColorPicker/ColorPicker.js +0 -87
- package/dist/es/f/fields/EditorInput/common/ColorPicker/index.js +0 -2
- package/dist/es/f/fields/EditorInput/common/ColorPicker/styles.scss +0 -36
- package/dist/es/f/fields/EditorInput/common/ExposePlainTextPlugin.js +0 -39
- package/dist/es/f/fields/EditorInput/common/FontSizeDropDown/FontSizeDropDown.js +0 -81
- package/dist/es/f/fields/EditorInput/common/FontSizeDropDown/index.js +0 -2
- package/dist/es/f/fields/EditorInput/common/FontSizeDropDown/styles.scss +0 -55
- package/dist/es/f/fields/EditorInput/common/StopPropagationPlugin.js +0 -19
- package/dist/es/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.js +0 -277
- package/dist/es/f/fields/EditorInput/common/ToolbarPlugin/index.js +0 -2
- package/dist/es/f/fields/EditorInput/common/ToolbarPlugin/styles.scss +0 -56
- package/dist/es/f/fields/EditorInput/common/TreeViewPlugin.js +0 -11
- package/dist/es/f/fields/EditorInput/common/index.js +0 -7
- package/dist/es/f/fields/EditorInput/index.js +0 -2
- package/dist/es/f/fields/EditorInput/styles.scss +0 -240
- package/dist/es/f/fields/FileUpload/FileUpload.js +0 -237
- package/dist/es/f/fields/FileUpload/common/Preview/Preview.js +0 -125
- package/dist/es/f/fields/FileUpload/common/Preview/index.js +0 -2
- package/dist/es/f/fields/FileUpload/common/Preview/styles.scss +0 -96
- package/dist/es/f/fields/FileUpload/common/index.js +0 -2
- package/dist/es/f/fields/FileUpload/index.js +0 -3
- package/dist/es/f/fields/FileUpload/styles.scss +0 -73
- package/dist/es/f/fields/FileUpload/utils.js +0 -40
- package/dist/es/f/fields/LatexPreviewInput/LatexPreviewInput.js +0 -70
- package/dist/es/f/fields/LatexPreviewInput/convertLatexToHtml.js +0 -31
- package/dist/es/f/fields/LatexPreviewInput/index.js +0 -3
- package/dist/es/f/fields/LatexPreviewInput/styles.scss +0 -25
- package/dist/es/f/fields/LinkInput/LinkInput.js +0 -146
- package/dist/es/f/fields/LinkInput/index.js +0 -2
- package/dist/es/f/fields/LinkInput/styles.scss +0 -90
- package/dist/es/f/fields/QueryChoices/QueryChoices.js +0 -126
- package/dist/es/f/fields/QueryChoices/index.js +0 -2
- package/dist/es/f/fields/QueryCombobox/QueryCombobox.js +0 -229
- package/dist/es/f/fields/QueryCombobox/common/Combobox/Combobox.js +0 -231
- package/dist/es/f/fields/QueryCombobox/common/Combobox/index.js +0 -2
- package/dist/es/f/fields/QueryCombobox/common/Menu/Menu.js +0 -73
- package/dist/es/f/fields/QueryCombobox/common/Menu/index.js +0 -2
- package/dist/es/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.js +0 -324
- package/dist/es/f/fields/QueryCombobox/common/MultipleCombobox/index.js +0 -2
- package/dist/es/f/fields/QueryCombobox/common/index.js +0 -3
- package/dist/es/f/fields/QueryCombobox/index.js +0 -2
- package/dist/es/f/fields/QueryCombobox/styles.scss +0 -134
- package/dist/es/f/fields/QuerySelect/QuerySelect.js +0 -186
- package/dist/es/f/fields/QuerySelect/index.js +0 -2
- package/dist/es/f/fields/RatingsInput/RatingsInput.js +0 -121
- package/dist/es/f/fields/RatingsInput/common/Rating/Rating.js +0 -109
- package/dist/es/f/fields/RatingsInput/common/Rating/index.js +0 -2
- package/dist/es/f/fields/RatingsInput/common/index.js +0 -1
- package/dist/es/f/fields/RatingsInput/index.js +0 -2
- package/dist/es/f/fields/RatingsInput/styles.scss +0 -48
- package/dist/es/f/fields/SelectInput/SelectInput.js +0 -141
- package/dist/es/f/fields/SelectInput/common/Menu/Menu.js +0 -73
- package/dist/es/f/fields/SelectInput/common/Menu/index.js +0 -2
- package/dist/es/f/fields/SelectInput/common/Multiple/Multiple.js +0 -233
- package/dist/es/f/fields/SelectInput/common/Multiple/index.js +0 -2
- package/dist/es/f/fields/SelectInput/common/Single/Single.js +0 -107
- package/dist/es/f/fields/SelectInput/common/Single/index.js +0 -2
- package/dist/es/f/fields/SelectInput/common/index.js +0 -3
- package/dist/es/f/fields/SelectInput/index.js +0 -2
- package/dist/es/f/fields/SelectInput/styles.scss +0 -191
- package/dist/es/f/fields/TextInput/TextInput.js +0 -144
- package/dist/es/f/fields/TextInput/index.js +0 -2
- package/dist/es/f/fields/TextInput/styles.scss +0 -81
- package/dist/es/f/fields/TextareaInput/TextareaInput.js +0 -145
- package/dist/es/f/fields/TextareaInput/index.js +0 -2
- package/dist/es/f/fields/TextareaInput/styles.scss +0 -53
- package/dist/es/f/fields/ToggleInput/ToggleInput.js +0 -116
- package/dist/es/f/fields/ToggleInput/index.js +0 -2
- package/dist/es/f/fields/ToggleInput/styles.scss +0 -22
- package/dist/es/f/fields/index.js +0 -14
- package/dist/es/f/index.js +0 -3
- package/dist/es/form-reset.scss +0 -86
- package/dist/es/form.scss +0 -34
- package/dist/es/g/DragAndDrop/DragAndDrop.js +0 -95
- package/dist/es/g/DragAndDrop/common/DraggableItem/DraggableItem.js +0 -68
- package/dist/es/g/DragAndDrop/common/DraggableItem/index.js +0 -2
- package/dist/es/g/DragAndDrop/common/DraggableItem/styles.scss +0 -12
- package/dist/es/g/DragAndDrop/common/index.js +0 -1
- package/dist/es/g/DragAndDrop/index.js +0 -2
- package/dist/es/g/DragAndDrop/styles.scss +0 -8
- package/dist/es/g/ExpandableLexicalPreview/ExpandableLexicalPreview.js +0 -128
- package/dist/es/g/ExpandableLexicalPreview/common/NewWindowPortal/NewWindowPortal.js +0 -70
- package/dist/es/g/ExpandableLexicalPreview/common/NewWindowPortal/index.js +0 -2
- package/dist/es/g/ExpandableLexicalPreview/common/NewWindowPortal/styles.scss +0 -9
- package/dist/es/g/ExpandableLexicalPreview/common/index.js +0 -1
- package/dist/es/g/ExpandableLexicalPreview/index.js +0 -2
- package/dist/es/g/ExpandableLexicalPreview/styles.scss +0 -33
- package/dist/es/g/FormBuilder/FormBuilder.js +0 -117
- package/dist/es/g/FormBuilder/common/Builder/Builder.js +0 -178
- package/dist/es/g/FormBuilder/common/Builder/common/ActionsContainer/ActionsContainer.js +0 -70
- package/dist/es/g/FormBuilder/common/Builder/common/ActionsContainer/index.js +0 -2
- package/dist/es/g/FormBuilder/common/Builder/common/ActionsContainer/styles.scss +0 -59
- package/dist/es/g/FormBuilder/common/Builder/common/InputBuilder/InputBuilder.js +0 -241
- package/dist/es/g/FormBuilder/common/Builder/common/InputBuilder/index.js +0 -2
- package/dist/es/g/FormBuilder/common/Builder/common/InputBuilder/styles.scss +0 -169
- package/dist/es/g/FormBuilder/common/Builder/common/Section/Section.js +0 -135
- package/dist/es/g/FormBuilder/common/Builder/common/Section/index.js +0 -2
- package/dist/es/g/FormBuilder/common/Builder/common/Section/styles.scss +0 -71
- package/dist/es/g/FormBuilder/common/Builder/common/index.js +0 -3
- package/dist/es/g/FormBuilder/common/Builder/index.js +0 -2
- package/dist/es/g/FormBuilder/common/Builder/styles.scss +0 -63
- package/dist/es/g/FormBuilder/common/Renderer/Renderer.js +0 -187
- package/dist/es/g/FormBuilder/common/Renderer/common/Section/Section.js +0 -88
- package/dist/es/g/FormBuilder/common/Renderer/common/Section/index.js +0 -2
- package/dist/es/g/FormBuilder/common/Renderer/common/index.js +0 -1
- package/dist/es/g/FormBuilder/common/Renderer/index.js +0 -2
- package/dist/es/g/FormBuilder/common/Renderer/styles.scss +0 -30
- package/dist/es/g/FormBuilder/common/index.js +0 -2
- package/dist/es/g/FormBuilder/index.js +0 -2
- package/dist/es/g/FormBuilder/styles.scss +0 -25
- package/dist/es/g/index.js +0 -3
- package/dist/es/index.js +0 -8
- package/dist/es/test/QueryLoader/QueryLoader.js +0 -30
- package/dist/es/test/QueryLoader/__generated__/QueryLoaderHelloQuery.graphql.js +0 -63
- package/dist/es/test/QueryLoader/common/PreloadedTestData/PreloadedTestData.js +0 -30
- package/dist/es/test/QueryLoader/common/PreloadedTestData/index.js +0 -2
- package/dist/es/test/QueryLoader/common/index.js +0 -1
- package/dist/es/test/QueryLoader/index.js +0 -2
- package/dist/es/test/index.js +0 -1
- package/dist/es/utils/applyCharacterLimit.js +0 -67
- package/dist/es/utils/formatting.js +0 -117
- package/dist/es/utils/hooks/index.js +0 -3
- package/dist/es/utils/hooks/useDynamicPosition.js +0 -83
- package/dist/es/utils/hooks/useOutsideClick.js +0 -19
- package/dist/es/utils/hooks/useWindowSize.js +0 -22
- package/dist/es/utils/index.js +0 -3
- package/jest.config.js +0 -28
- package/src/stories/Introduction.stories.mdx +0 -193
- package/src/stories/StyleGuide/Sprites.stories.mdx +0 -25
- package/src/stories/StyleGuide/ai-icons.stories.mdx +0 -27
- package/src/stories/StyleGuide/colors.stories.mdx +0 -73
- package/src/stories/StyleGuide/cssClasses.stories.mdx +0 -16
- package/src/stories/StyleGuide/helpers.js +0 -64
- package/src/stories/StyleGuide/icons.stories.mdx +0 -29
- package/src/stories/StyleGuide/typography.stories.mdx +0 -55
- package/src/stories/a/AppContext.stories.jsx +0 -44
- package/src/stories/a/AreaChart.stories.jsx +0 -118
- package/src/stories/a/BarChart.stories.jsx +0 -89
- package/src/stories/a/BlurOverlay.stories.jsx +0 -39
- package/src/stories/a/ContentTree.stories.jsx +0 -662
- package/src/stories/a/Conversation.stories.jsx +0 -92
- package/src/stories/a/DatePicker.stories.jsx +0 -96
- package/src/stories/a/DotInfo.stories.jsx +0 -33
- package/src/stories/a/Figure.stories.jsx +0 -26
- package/src/stories/a/HamburgerButton.stories.jsx +0 -27
- package/src/stories/a/IconList.stories.jsx +0 -51
- package/src/stories/a/Label.stories.jsx +0 -49
- package/src/stories/a/LoadingCircle.stories.jsx +0 -28
- package/src/stories/a/MetaCard.stories.jsx +0 -35
- package/src/stories/a/Notification.stories.jsx +0 -86
- package/src/stories/a/NotificationStack.stories.jsx +0 -59
- package/src/stories/a/People.stories.jsx +0 -92
- package/src/stories/a/PieChart.stories.jsx +0 -53
- package/src/stories/a/Popover.stories.jsx +0 -106
- package/src/stories/a/ProgressBar.stories.jsx +0 -84
- package/src/stories/a/Quote.stories.jsx +0 -49
- package/src/stories/a/Removable.stories.jsx +0 -22
- package/src/stories/a/SVG.stories.jsx +0 -97
- package/src/stories/a/SnapScroller.stories.jsx +0 -98
- package/src/stories/a/Spinner.stories.jsx +0 -25
- package/src/stories/a/TextSteps.stories.jsx +0 -19
- package/src/stories/a/Timestamp.stories.jsx +0 -98
- package/src/stories/a/Tip.stories.jsx +0 -29
- package/src/stories/a/ToggleSwitch.stories.jsx +0 -28
- package/src/stories/a/Tooltip.stories.jsx +0 -75
- package/src/stories/a/XMLEditor.stories.jsx +0 -26
- package/src/stories/assets/code-brackets.svg +0 -1
- package/src/stories/assets/colors.svg +0 -1
- package/src/stories/assets/comments.svg +0 -1
- package/src/stories/assets/direction.svg +0 -1
- package/src/stories/assets/flow.svg +0 -1
- package/src/stories/assets/plugin.svg +0 -1
- package/src/stories/assets/repo.svg +0 -1
- package/src/stories/assets/stackalt.svg +0 -1
- package/src/stories/b/Button/Button.stories.jsx +0 -125
- package/src/stories/b/Button/Group.stories.jsx +0 -35
- package/src/stories/b/Card/Card.stories.jsx +0 -59
- package/src/stories/b/Card/Group.stories.jsx +0 -59
- package/src/stories/b/Logo.stories.jsx +0 -46
- package/src/stories/b/Page.stories.jsx +0 -76
- package/src/stories/b/SocialMediaButton.stories.jsx +0 -58
- package/src/stories/b/ThemeSelector.stories.jsx +0 -49
- package/src/stories/b/Title.stories.jsx +0 -47
- package/src/stories/c/Modal.stories.jsx +0 -49
- package/src/stories/c/Shortener.stories.jsx +0 -34
- package/src/stories/c/SocialMediaShareButton.stories.jsx +0 -33
- package/src/stories/colors.js +0 -74
- package/src/stories/f/Checkbox.stories.jsx +0 -102
- package/src/stories/f/ChoicesInput.stories.jsx +0 -139
- package/src/stories/f/Description.stories.jsx +0 -40
- package/src/stories/f/EditorInput.stories.jsx +0 -81
- package/src/stories/f/FileUpload.stories.jsx +0 -68
- package/src/stories/f/FormInput.stories.jsx +0 -451
- package/src/stories/f/Label.stories.jsx +0 -27
- package/src/stories/f/LinkInput.stories.jsx +0 -93
- package/src/stories/f/QueryChoices.stories.jsx +0 -144
- package/src/stories/f/QueryCombobox.stories.jsx +0 -323
- package/src/stories/f/QuerySelect.stories.jsx +0 -150
- package/src/stories/f/RatingsInput.stories.jsx +0 -77
- package/src/stories/f/SelectInput.stories.jsx +0 -126
- package/src/stories/f/TextInput.stories.jsx +0 -120
- package/src/stories/f/TextareaInput.stories.jsx +0 -107
- package/src/stories/f/__generated__/FormInputAllTaskStatusesQuery.graphql.js +0 -122
- package/src/stories/f/__generated__/FormInputAllTeamsQuery.graphql.js +0 -139
- package/src/stories/f/__generated__/QueryChoicesAllTaskStatusesQuery.graphql.js +0 -122
- package/src/stories/f/__generated__/QueryComboboxAllTeamsQuery.graphql.js +0 -139
- package/src/stories/f/__generated__/QuerySelectAllTaskStatusesQuery.graphql.js +0 -122
- package/src/stories/g/DragAndDrop.stories.jsx +0 -114
- package/src/stories/g/ExpandableLexicalPreview.stories.jsx +0 -37
- package/src/stories/g/FormBuilder.stories.jsx +0 -114
- package/src/stories/original/Button.jsx +0 -55
- package/src/stories/original/Button.stories.js +0 -39
- package/src/stories/original/Header.jsx +0 -64
- package/src/stories/original/Header.stories.js +0 -22
- package/src/stories/original/Introduction.mdx +0 -211
- package/src/stories/original/Page.jsx +0 -76
- package/src/stories/original/Page.stories.js +0 -26
- package/src/stories/original/assets/code-brackets.svg +0 -1
- package/src/stories/original/assets/colors.svg +0 -1
- package/src/stories/original/assets/comments.svg +0 -1
- package/src/stories/original/assets/direction.svg +0 -1
- package/src/stories/original/assets/flow.svg +0 -1
- package/src/stories/original/assets/plugin.svg +0 -1
- package/src/stories/original/assets/repo.svg +0 -1
- package/src/stories/original/assets/stackalt.svg +0 -1
- package/src/stories/original/button.css +0 -30
- package/src/stories/original/header.css +0 -32
- package/src/stories/original/page.css +0 -69
- package/src/stories/r/PrivateRoute.stories.jsx +0 -16
- package/src/stories/r/SwitchRouteMap.stories.jsx +0 -14
- package/src/stories/test/QueryLoader.stories.jsx +0 -36
- package/src/stories/utils/Router.jsx +0 -20
- package/src/stories/utils/generateNodeId.js +0 -12
- package/src/stories/utils/lorem.js +0 -15
- package/src/stories/utils/relay/EnvironmentProvider.jsx +0 -14
- package/src/stories/utils/relay/environment.js +0 -5
- package/src/stories/utils/relay/index.js +0 -4
- package/src/stories/utils/relay/mockRelayOperation.js +0 -14
- package/src/stories/utils/relay/mockResolvers.js +0 -299
- package/src/stories/utils/testData.js +0 -63
- package/src/ui/a/AnimatedBlobs/AnimatedBlobs.jsx +0 -96
- package/src/ui/a/AnimatedBlobs/index.js +0 -1
- package/src/ui/a/AnimatedBlobs/styles.scss +0 -87
- package/src/ui/a/AnimatedGradient/AnimatedGradient.jsx +0 -70
- package/src/ui/a/AnimatedGradient/index.js +0 -1
- package/src/ui/a/AnimatedGradient/styles.scss +0 -15
- package/src/ui/a/AnimatedGradient/webGIRenderer.js +0 -541
- package/src/ui/a/AppContext/Context.js +0 -3
- package/src/ui/a/AppContext/ContextProvider.jsx +0 -90
- package/src/ui/a/AppContext/index.js +0 -5
- package/src/ui/a/AppContext/useApp.js +0 -4
- package/src/ui/a/AppContext/useTheme.js +0 -43
- package/src/ui/a/BlurOverlay/BlurOverlay.jsx +0 -69
- package/src/ui/a/BlurOverlay/index.js +0 -2
- package/src/ui/a/BlurOverlay/styles.scss +0 -33
- package/src/ui/a/Charts/AreaChart/AreaChart.jsx +0 -306
- package/src/ui/a/Charts/AreaChart/index.js +0 -1
- package/src/ui/a/Charts/AreaChart/styles.scss +0 -70
- package/src/ui/a/Charts/BarChart/BarChart.jsx +0 -168
- package/src/ui/a/Charts/BarChart/index.js +0 -1
- package/src/ui/a/Charts/BarChart/styles.scss +0 -48
- package/src/ui/a/Charts/Common/CustomLegend/CustomLegend.jsx +0 -132
- package/src/ui/a/Charts/Common/CustomLegend/index.js +0 -1
- package/src/ui/a/Charts/Common/CustomLegend/styles.scss +0 -75
- package/src/ui/a/Charts/Common/CustomTooltipContent/CustomTooltipContent.jsx +0 -201
- package/src/ui/a/Charts/Common/CustomTooltipContent/index.js +0 -1
- package/src/ui/a/Charts/Common/CustomTooltipContent/styles.scss +0 -26
- package/src/ui/a/Charts/Common/YLabelsDropDown/YlabelsDropDown.jsx +0 -121
- package/src/ui/a/Charts/Common/YLabelsDropDown/index.js +0 -1
- package/src/ui/a/Charts/Common/YLabelsDropDown/styles.scss +0 -89
- package/src/ui/a/Charts/Common/index.js +0 -3
- package/src/ui/a/Charts/PieChart/PieChart.jsx +0 -163
- package/src/ui/a/Charts/PieChart/index.js +0 -1
- package/src/ui/a/Charts/PieChart/styles.scss +0 -136
- package/src/ui/a/Charts/index.js +0 -3
- package/src/ui/a/ContentTree/ContentTree.jsx +0 -88
- package/src/ui/a/ContentTree/common/Tree/Tree.jsx +0 -150
- package/src/ui/a/ContentTree/common/Tree/index.js +0 -2
- package/src/ui/a/ContentTree/common/index.js +0 -3
- package/src/ui/a/ContentTree/common/useContentTree.js +0 -83
- package/src/ui/a/ContentTree/common/useFirstVisibleNode.js +0 -59
- package/src/ui/a/ContentTree/index.js +0 -2
- package/src/ui/a/ContentTree/styles.scss +0 -56
- package/src/ui/a/Conversation/Context.js +0 -3
- package/src/ui/a/Conversation/Conversation.jsx +0 -105
- package/src/ui/a/Conversation/common/Message/Message.jsx +0 -129
- package/src/ui/a/Conversation/common/Message/index.js +0 -2
- package/src/ui/a/Conversation/common/index.js +0 -1
- package/src/ui/a/Conversation/index.js +0 -4
- package/src/ui/a/Conversation/styles.scss +0 -86
- package/src/ui/a/Conversation/useConversation.js +0 -4
- package/src/ui/a/DatePicker/DatePicker.jsx +0 -201
- package/src/ui/a/DatePicker/index.js +0 -2
- package/src/ui/a/DatePicker/styles.scss +0 -380
- package/src/ui/a/DotInfo/DotInfo.jsx +0 -101
- package/src/ui/a/DotInfo/index.js +0 -2
- package/src/ui/a/DotInfo/styles.scss +0 -20
- package/src/ui/a/Figure/Figure.jsx +0 -82
- package/src/ui/a/Figure/index.js +0 -2
- package/src/ui/a/Figure/styles.scss +0 -19
- package/src/ui/a/HamburgerButton/HamburgerButton.jsx +0 -97
- package/src/ui/a/HamburgerButton/index.js +0 -2
- package/src/ui/a/HamburgerButton/styles.scss +0 -183
- package/src/ui/a/IconList/IconList.jsx +0 -89
- package/src/ui/a/IconList/common/Item/Item.jsx +0 -81
- package/src/ui/a/IconList/common/Item/index.js +0 -2
- package/src/ui/a/IconList/common/index.js +0 -1
- package/src/ui/a/IconList/index.js +0 -2
- package/src/ui/a/IconList/styles.scss +0 -37
- package/src/ui/a/Label/Label.jsx +0 -96
- package/src/ui/a/Label/index.js +0 -2
- package/src/ui/a/Label/styles.scss +0 -35
- package/src/ui/a/LoadingCircle/LoadingCircle.jsx +0 -118
- package/src/ui/a/LoadingCircle/index.js +0 -2
- package/src/ui/a/LoadingCircle/styles.scss +0 -47
- package/src/ui/a/MetaCard/MetaCard.jsx +0 -75
- package/src/ui/a/MetaCard/index.js +0 -1
- package/src/ui/a/MetaCard/styles.scss +0 -45
- package/src/ui/a/Notification/Notification.jsx +0 -142
- package/src/ui/a/Notification/index.js +0 -1
- package/src/ui/a/Notification/styles.scss +0 -67
- package/src/ui/a/NotificationStack/NotificationStack.jsx +0 -89
- package/src/ui/a/NotificationStack/index.js +0 -1
- package/src/ui/a/NotificationStack/styles.scss +0 -23
- package/src/ui/a/People/People.jsx +0 -92
- package/src/ui/a/People/common/Person/Person.jsx +0 -99
- package/src/ui/a/People/common/Person/index.js +0 -2
- package/src/ui/a/People/common/index.js +0 -1
- package/src/ui/a/People/index.js +0 -2
- package/src/ui/a/People/styles.scss +0 -60
- package/src/ui/a/Popover/Popover.jsx +0 -155
- package/src/ui/a/Popover/index.js +0 -2
- package/src/ui/a/Popover/styles.scss +0 -34
- package/src/ui/a/ProgressBar/ProgressBar.jsx +0 -95
- package/src/ui/a/ProgressBar/index.js +0 -2
- package/src/ui/a/ProgressBar/styles.scss +0 -47
- package/src/ui/a/Quote/Quote.jsx +0 -97
- package/src/ui/a/Quote/index.js +0 -2
- package/src/ui/a/Quote/styles.scss +0 -35
- package/src/ui/a/Removable/Removable.jsx +0 -78
- package/src/ui/a/Removable/index.js +0 -2
- package/src/ui/a/Removable/styles.scss +0 -33
- package/src/ui/a/SVG/SVG.jsx +0 -183
- package/src/ui/a/SVG/common/UseSVG/UseSVG.jsx +0 -74
- package/src/ui/a/SVG/common/UseSVG/index.js +0 -2
- package/src/ui/a/SVG/common/index.js +0 -1
- package/src/ui/a/SVG/index.js +0 -2
- package/src/ui/a/SVG/styles.scss +0 -57
- package/src/ui/a/SnapScroller/SnapScroller.jsx +0 -105
- package/src/ui/a/SnapScroller/index.js +0 -2
- package/src/ui/a/SnapScroller/styles.scss +0 -77
- package/src/ui/a/Spinner/Spinner.jsx +0 -69
- package/src/ui/a/Spinner/index.js +0 -2
- package/src/ui/a/Spinner/styles.scss +0 -23
- package/src/ui/a/TextSteps/TextSteps.jsx +0 -80
- package/src/ui/a/TextSteps/index.js +0 -1
- package/src/ui/a/TextSteps/styles.scss +0 -29
- package/src/ui/a/ThroughPutIndicator/ThroughPutIndicator.jsx +0 -90
- package/src/ui/a/ThroughPutIndicator/index.js +0 -2
- package/src/ui/a/ThroughPutIndicator/styles.scss +0 -35
- package/src/ui/a/Timestamp/Timestamp.jsx +0 -166
- package/src/ui/a/Timestamp/index.js +0 -2
- package/src/ui/a/Timestamp/styles.scss +0 -7
- package/src/ui/a/Tip/Tip.jsx +0 -99
- package/src/ui/a/Tip/index.js +0 -2
- package/src/ui/a/Tip/styles.scss +0 -16
- package/src/ui/a/ToggleSwitch/ToggleSwitch.jsx +0 -99
- package/src/ui/a/ToggleSwitch/index.js +0 -2
- package/src/ui/a/ToggleSwitch/styles.scss +0 -58
- package/src/ui/a/Tooltip/Tooltip.jsx +0 -135
- package/src/ui/a/Tooltip/index.js +0 -2
- package/src/ui/a/Tooltip/styles.scss +0 -89
- package/src/ui/a/XMLEditor/XMLEditor.jsx +0 -202
- package/src/ui/a/XMLEditor/common/index.js +0 -1
- package/src/ui/a/XMLEditor/common/theme.jsx +0 -184
- package/src/ui/a/XMLEditor/index.js +0 -1
- package/src/ui/a/XMLEditor/styles.scss +0 -24
- package/src/ui/a/index.js +0 -34
- package/src/ui/b/Button/Button.jsx +0 -139
- package/src/ui/b/Button/common/Group/Group.jsx +0 -65
- package/src/ui/b/Button/common/Group/index.js +0 -1
- package/src/ui/b/Button/common/Group/styles.scss +0 -11
- package/src/ui/b/Button/common/index.js +0 -1
- package/src/ui/b/Button/index.js +0 -2
- package/src/ui/b/Button/styles.scss +0 -173
- package/src/ui/b/Card/Card.jsx +0 -88
- package/src/ui/b/Card/common/Group/Group.jsx +0 -88
- package/src/ui/b/Card/common/Group/index.js +0 -1
- package/src/ui/b/Card/common/Group/styles.scss +0 -35
- package/src/ui/b/Card/common/Section/Section.jsx +0 -70
- package/src/ui/b/Card/common/Section/index.js +0 -1
- package/src/ui/b/Card/common/index.js +0 -2
- package/src/ui/b/Card/index.js +0 -1
- package/src/ui/b/Card/styles.scss +0 -57
- package/src/ui/b/Logo/Logo.jsx +0 -150
- package/src/ui/b/Logo/index.js +0 -2
- package/src/ui/b/Logo/styles.scss +0 -11
- package/src/ui/b/Page/Context.js +0 -3
- package/src/ui/b/Page/Page.jsx +0 -127
- package/src/ui/b/Page/common/PageHelmet/PageHelmet.jsx +0 -289
- package/src/ui/b/Page/common/PageHelmet/index.js +0 -2
- package/src/ui/b/Page/common/Section/Section.jsx +0 -83
- package/src/ui/b/Page/common/Section/index.js +0 -2
- package/src/ui/b/Page/common/index.js +0 -2
- package/src/ui/b/Page/index.js +0 -4
- package/src/ui/b/Page/styles.scss +0 -38
- package/src/ui/b/Page/usePage.js +0 -4
- package/src/ui/b/SocialMediaButton/SocialMediaButton.jsx +0 -136
- package/src/ui/b/SocialMediaButton/index.js +0 -2
- package/src/ui/b/SocialMediaButton/styles.scss +0 -35
- package/src/ui/b/ThemeSelector/ThemeSelector.jsx +0 -85
- package/src/ui/b/ThemeSelector/index.js +0 -2
- package/src/ui/b/ThemeSelector/styles.scss +0 -52
- package/src/ui/b/Title/Title.jsx +0 -149
- package/src/ui/b/Title/index.js +0 -2
- package/src/ui/b/index.js +0 -7
- package/src/ui/c/Modal/Modal.jsx +0 -95
- package/src/ui/c/Modal/common/ModalHeader/ModalHeader.jsx +0 -89
- package/src/ui/c/Modal/common/ModalHeader/index.js +0 -1
- package/src/ui/c/Modal/common/index.js +0 -1
- package/src/ui/c/Modal/index.js +0 -2
- package/src/ui/c/Modal/styles.scss +0 -44
- package/src/ui/c/Shortener/Shortener.jsx +0 -140
- package/src/ui/c/Shortener/index.js +0 -2
- package/src/ui/c/Shortener/styles.scss +0 -7
- package/src/ui/c/SocialMediaShareButton/SocialMediaShareButton.jsx +0 -117
- package/src/ui/c/SocialMediaShareButton/index.js +0 -2
- package/src/ui/c/SocialMediaShareButton/styles.scss +0 -39
- package/src/ui/c/index.js +0 -3
- package/src/ui/d/index.js +0 -1
- package/src/ui/f/FormInput/FormInput.jsx +0 -249
- package/src/ui/f/FormInput/index.js +0 -2
- package/src/ui/f/FormInput/styles.scss +0 -11
- package/src/ui/f/common/Debugger/Debugger.jsx +0 -83
- package/src/ui/f/common/Debugger/index.js +0 -2
- package/src/ui/f/common/Debugger/styles.scss +0 -12
- package/src/ui/f/common/Description/Description.jsx +0 -90
- package/src/ui/f/common/Description/index.js +0 -2
- package/src/ui/f/common/Description/styles.scss +0 -9
- package/src/ui/f/common/Label/Label.jsx +0 -94
- package/src/ui/f/common/Label/index.js +0 -2
- package/src/ui/f/common/Label/styles.scss +0 -9
- package/src/ui/f/common/index.js +0 -4
- package/src/ui/f/common/utils/index.js +0 -2
- package/src/ui/f/common/utils/lookUpInputValueFromFetchedOptions.js +0 -23
- package/src/ui/f/common/utils/validators.js +0 -10
- package/src/ui/f/fields/Checkbox/Checkbox.jsx +0 -141
- package/src/ui/f/fields/Checkbox/index.js +0 -2
- package/src/ui/f/fields/Checkbox/styles.scss +0 -16
- package/src/ui/f/fields/ChoicesInput/ChoicesInput.jsx +0 -178
- package/src/ui/f/fields/ChoicesInput/common/Choice/Choice.jsx +0 -127
- package/src/ui/f/fields/ChoicesInput/common/Choice/index.js +0 -2
- package/src/ui/f/fields/ChoicesInput/common/index.js +0 -1
- package/src/ui/f/fields/ChoicesInput/index.js +0 -2
- package/src/ui/f/fields/ChoicesInput/styles.scss +0 -79
- package/src/ui/f/fields/EditorInput/EditorInput.jsx +0 -295
- package/src/ui/f/fields/EditorInput/common/BlockFormatDropDown/BlockFormatDropDown.jsx +0 -292
- package/src/ui/f/fields/EditorInput/common/BlockFormatDropDown/index.js +0 -2
- package/src/ui/f/fields/EditorInput/common/BlockFormatDropDown/styles.scss +0 -55
- package/src/ui/f/fields/EditorInput/common/ColorPicker/ColorPicker.jsx +0 -115
- package/src/ui/f/fields/EditorInput/common/ColorPicker/index.js +0 -2
- package/src/ui/f/fields/EditorInput/common/ColorPicker/styles.scss +0 -36
- package/src/ui/f/fields/EditorInput/common/ExposePlainTextPlugin.jsx +0 -50
- package/src/ui/f/fields/EditorInput/common/FontSizeDropDown/FontSizeDropDown.jsx +0 -134
- package/src/ui/f/fields/EditorInput/common/FontSizeDropDown/index.js +0 -2
- package/src/ui/f/fields/EditorInput/common/FontSizeDropDown/styles.scss +0 -55
- package/src/ui/f/fields/EditorInput/common/StopPropagationPlugin.jsx +0 -25
- package/src/ui/f/fields/EditorInput/common/ToolbarPlugin/ToolbarPlugin.jsx +0 -417
- package/src/ui/f/fields/EditorInput/common/ToolbarPlugin/index.js +0 -2
- package/src/ui/f/fields/EditorInput/common/ToolbarPlugin/styles.scss +0 -56
- package/src/ui/f/fields/EditorInput/common/TreeViewPlugin.jsx +0 -16
- package/src/ui/f/fields/EditorInput/common/index.js +0 -7
- package/src/ui/f/fields/EditorInput/index.js +0 -2
- package/src/ui/f/fields/EditorInput/styles.scss +0 -240
- package/src/ui/f/fields/FileUpload/FileUpload.jsx +0 -300
- package/src/ui/f/fields/FileUpload/common/Preview/Preview.jsx +0 -198
- package/src/ui/f/fields/FileUpload/common/Preview/index.js +0 -2
- package/src/ui/f/fields/FileUpload/common/Preview/styles.scss +0 -96
- package/src/ui/f/fields/FileUpload/common/index.js +0 -2
- package/src/ui/f/fields/FileUpload/index.js +0 -3
- package/src/ui/f/fields/FileUpload/styles.scss +0 -73
- package/src/ui/f/fields/FileUpload/utils.js +0 -52
- package/src/ui/f/fields/LatexPreviewInput/LatexPreviewInput.jsx +0 -92
- package/src/ui/f/fields/LatexPreviewInput/convertLatexToHtml.jsx +0 -38
- package/src/ui/f/fields/LatexPreviewInput/index.js +0 -3
- package/src/ui/f/fields/LatexPreviewInput/styles.scss +0 -25
- package/src/ui/f/fields/LinkInput/LinkInput.jsx +0 -185
- package/src/ui/f/fields/LinkInput/index.js +0 -2
- package/src/ui/f/fields/LinkInput/styles.scss +0 -90
- package/src/ui/f/fields/QueryChoices/QueryChoices.jsx +0 -153
- package/src/ui/f/fields/QueryChoices/index.js +0 -2
- package/src/ui/f/fields/QueryCombobox/QueryCombobox.jsx +0 -264
- package/src/ui/f/fields/QueryCombobox/common/Combobox/Combobox.jsx +0 -278
- package/src/ui/f/fields/QueryCombobox/common/Combobox/index.js +0 -2
- package/src/ui/f/fields/QueryCombobox/common/Menu/Menu.jsx +0 -103
- package/src/ui/f/fields/QueryCombobox/common/Menu/index.js +0 -2
- package/src/ui/f/fields/QueryCombobox/common/MultipleCombobox/MultipleCombobox.jsx +0 -402
- package/src/ui/f/fields/QueryCombobox/common/MultipleCombobox/index.js +0 -2
- package/src/ui/f/fields/QueryCombobox/common/index.js +0 -3
- package/src/ui/f/fields/QueryCombobox/index.js +0 -2
- package/src/ui/f/fields/QueryCombobox/styles.scss +0 -134
- package/src/ui/f/fields/QuerySelect/QuerySelect.jsx +0 -220
- package/src/ui/f/fields/QuerySelect/index.js +0 -2
- package/src/ui/f/fields/RatingsInput/RatingsInput.jsx +0 -149
- package/src/ui/f/fields/RatingsInput/common/Rating/Rating.jsx +0 -142
- package/src/ui/f/fields/RatingsInput/common/Rating/index.js +0 -2
- package/src/ui/f/fields/RatingsInput/common/index.js +0 -1
- package/src/ui/f/fields/RatingsInput/index.js +0 -2
- package/src/ui/f/fields/RatingsInput/styles.scss +0 -48
- package/src/ui/f/fields/SelectInput/SelectInput.jsx +0 -183
- package/src/ui/f/fields/SelectInput/common/Menu/Menu.jsx +0 -104
- package/src/ui/f/fields/SelectInput/common/Menu/index.js +0 -2
- package/src/ui/f/fields/SelectInput/common/Multiple/Multiple.jsx +0 -288
- package/src/ui/f/fields/SelectInput/common/Multiple/index.js +0 -2
- package/src/ui/f/fields/SelectInput/common/Single/Single.jsx +0 -140
- package/src/ui/f/fields/SelectInput/common/Single/index.js +0 -2
- package/src/ui/f/fields/SelectInput/common/index.js +0 -3
- package/src/ui/f/fields/SelectInput/index.js +0 -2
- package/src/ui/f/fields/SelectInput/styles.scss +0 -191
- package/src/ui/f/fields/TextInput/TextInput.jsx +0 -191
- package/src/ui/f/fields/TextInput/index.js +0 -2
- package/src/ui/f/fields/TextInput/styles.scss +0 -81
- package/src/ui/f/fields/TextareaInput/TextareaInput.jsx +0 -180
- package/src/ui/f/fields/TextareaInput/index.js +0 -2
- package/src/ui/f/fields/TextareaInput/styles.scss +0 -53
- package/src/ui/f/fields/ToggleInput/ToggleInput.jsx +0 -140
- package/src/ui/f/fields/ToggleInput/index.js +0 -2
- package/src/ui/f/fields/ToggleInput/styles.scss +0 -22
- package/src/ui/f/fields/index.js +0 -22
- package/src/ui/f/index.js +0 -3
- package/src/ui/form-reset.scss +0 -86
- package/src/ui/form.scss +0 -34
- package/src/ui/g/DragAndDrop/DragAndDrop.jsx +0 -125
- package/src/ui/g/DragAndDrop/common/DraggableItem/DraggableItem.jsx +0 -93
- package/src/ui/g/DragAndDrop/common/DraggableItem/index.js +0 -2
- package/src/ui/g/DragAndDrop/common/DraggableItem/styles.scss +0 -12
- package/src/ui/g/DragAndDrop/common/index.js +0 -1
- package/src/ui/g/DragAndDrop/index.js +0 -2
- package/src/ui/g/DragAndDrop/styles.scss +0 -8
- package/src/ui/g/ExpandableLexicalPreview/ExpandableLexicalPreview.jsx +0 -180
- package/src/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/NewWindowPortal.jsx +0 -80
- package/src/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/index.js +0 -2
- package/src/ui/g/ExpandableLexicalPreview/common/NewWindowPortal/styles.scss +0 -9
- package/src/ui/g/ExpandableLexicalPreview/common/index.js +0 -1
- package/src/ui/g/ExpandableLexicalPreview/index.js +0 -2
- package/src/ui/g/ExpandableLexicalPreview/styles.scss +0 -33
- package/src/ui/g/FormBuilder/FormBuilder.jsx +0 -157
- package/src/ui/g/FormBuilder/common/Builder/Builder.jsx +0 -213
- package/src/ui/g/FormBuilder/common/Builder/common/ActionsContainer/ActionsContainer.jsx +0 -97
- package/src/ui/g/FormBuilder/common/Builder/common/ActionsContainer/index.js +0 -2
- package/src/ui/g/FormBuilder/common/Builder/common/ActionsContainer/styles.scss +0 -59
- package/src/ui/g/FormBuilder/common/Builder/common/InputBuilder/InputBuilder.jsx +0 -321
- package/src/ui/g/FormBuilder/common/Builder/common/InputBuilder/index.js +0 -2
- package/src/ui/g/FormBuilder/common/Builder/common/InputBuilder/styles.scss +0 -169
- package/src/ui/g/FormBuilder/common/Builder/common/Section/Section.jsx +0 -186
- package/src/ui/g/FormBuilder/common/Builder/common/Section/index.js +0 -2
- package/src/ui/g/FormBuilder/common/Builder/common/Section/styles.scss +0 -71
- package/src/ui/g/FormBuilder/common/Builder/common/index.js +0 -3
- package/src/ui/g/FormBuilder/common/Builder/index.js +0 -2
- package/src/ui/g/FormBuilder/common/Builder/styles.scss +0 -63
- package/src/ui/g/FormBuilder/common/Renderer/Renderer.jsx +0 -240
- package/src/ui/g/FormBuilder/common/Renderer/common/Section/Section.jsx +0 -114
- package/src/ui/g/FormBuilder/common/Renderer/common/Section/index.js +0 -2
- package/src/ui/g/FormBuilder/common/Renderer/common/index.js +0 -1
- package/src/ui/g/FormBuilder/common/Renderer/index.js +0 -2
- package/src/ui/g/FormBuilder/common/Renderer/styles.scss +0 -30
- package/src/ui/g/FormBuilder/common/index.js +0 -2
- package/src/ui/g/FormBuilder/index.js +0 -2
- package/src/ui/g/FormBuilder/styles.scss +0 -25
- package/src/ui/g/index.js +0 -3
- package/src/ui/index.js +0 -8
- package/src/ui/test/QueryLoader/QueryLoader.jsx +0 -41
- package/src/ui/test/QueryLoader/__generated__/QueryLoaderHelloQuery.graphql.js +0 -68
- package/src/ui/test/QueryLoader/common/PreloadedTestData/PreloadedTestData.jsx +0 -51
- package/src/ui/test/QueryLoader/common/PreloadedTestData/index.js +0 -2
- package/src/ui/test/QueryLoader/common/index.js +0 -1
- package/src/ui/test/QueryLoader/index.js +0 -2
- package/src/ui/test/index.js +0 -1
- package/src/ui/utils/applyCharacterLimit.js +0 -80
- package/src/ui/utils/formatting.js +0 -142
- package/src/ui/utils/hooks/index.js +0 -3
- package/src/ui/utils/hooks/useDynamicPosition.js +0 -104
- package/src/ui/utils/hooks/useOutsideClick.js +0 -23
- package/src/ui/utils/hooks/useWindowSize.js +0 -32
- package/src/ui/utils/index.js +0 -5
- package/stylelint.config.js +0 -3
- package/tests/Storyshots.test.js +0 -3
- package/tests/__snapshots__/Storyshots.test.js.snap +0 -36169
- package/tests/emptyMock.js +0 -3
- package/tests/global-setup.js +0 -3
- package/tests/mockResizeObserver.js +0 -9
- package/tests/mockTextEncoder.js +0 -7
- package/tests/staticStub.js +0 -1
- package/tests/test-setup.js +0 -25
|
@@ -0,0 +1,1305 @@
|
|
|
1
|
+
import { jsx as d, jsxs as O, Fragment as T } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as j, forwardRef as nn, useContext as H, useState as K, useEffect as X, useLayoutEffect as tn, useRef as an } from "react";
|
|
3
|
+
import { r as N, t as M, c as F, g as Q, _ as Pe, h as Z, b as ke, e as me, l as rn, a as U, d as R, f as W, i as We } from "./index-C_b9PQD8.js";
|
|
4
|
+
import { P as C } from "./index-CxkFVI6N.js";
|
|
5
|
+
import { s as on } from "./exports.module-DmUnHWIJ.js";
|
|
6
|
+
import './assets/DatePicker.css';function S(e, t) {
|
|
7
|
+
N(2, arguments);
|
|
8
|
+
var n = M(e), a = F(t);
|
|
9
|
+
return isNaN(a) ? /* @__PURE__ */ new Date(NaN) : (a && n.setDate(n.getDate() + a), n);
|
|
10
|
+
}
|
|
11
|
+
function I(e, t) {
|
|
12
|
+
N(2, arguments);
|
|
13
|
+
var n = M(e), a = F(t);
|
|
14
|
+
if (isNaN(a))
|
|
15
|
+
return /* @__PURE__ */ new Date(NaN);
|
|
16
|
+
if (!a)
|
|
17
|
+
return n;
|
|
18
|
+
var r = n.getDate(), o = new Date(n.getTime());
|
|
19
|
+
o.setMonth(n.getMonth() + a + 1, 0);
|
|
20
|
+
var i = o.getDate();
|
|
21
|
+
return r >= i ? o : (n.setFullYear(o.getFullYear(), o.getMonth(), r), n);
|
|
22
|
+
}
|
|
23
|
+
function Y(e, t) {
|
|
24
|
+
var n, a, r, o, i, l, s, c;
|
|
25
|
+
N(1, arguments);
|
|
26
|
+
var u = Q(), f = F((n = (a = (r = (o = t == null ? void 0 : t.weekStartsOn) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && r !== void 0 ? r : u.weekStartsOn) !== null && a !== void 0 ? a : (s = u.locale) === null || s === void 0 || (c = s.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && n !== void 0 ? n : 0);
|
|
27
|
+
if (!(f >= 0 && f <= 6))
|
|
28
|
+
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
29
|
+
var v = M(e), m = v.getDay(), h = (m < f ? 7 : 0) + m - f;
|
|
30
|
+
return v.setDate(v.getDate() - h), v.setHours(0, 0, 0, 0), v;
|
|
31
|
+
}
|
|
32
|
+
function B(e) {
|
|
33
|
+
return N(1, arguments), Y(e, {
|
|
34
|
+
weekStartsOn: 1
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
function ln(e) {
|
|
38
|
+
N(1, arguments);
|
|
39
|
+
var t = M(e), n = t.getFullYear(), a = /* @__PURE__ */ new Date(0);
|
|
40
|
+
a.setFullYear(n + 1, 0, 4), a.setHours(0, 0, 0, 0);
|
|
41
|
+
var r = B(a), o = /* @__PURE__ */ new Date(0);
|
|
42
|
+
o.setFullYear(n, 0, 4), o.setHours(0, 0, 0, 0);
|
|
43
|
+
var i = B(o);
|
|
44
|
+
return t.getTime() >= r.getTime() ? n + 1 : t.getTime() >= i.getTime() ? n : n - 1;
|
|
45
|
+
}
|
|
46
|
+
function sn(e) {
|
|
47
|
+
N(1, arguments);
|
|
48
|
+
var t = ln(e), n = /* @__PURE__ */ new Date(0);
|
|
49
|
+
n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0);
|
|
50
|
+
var a = B(n);
|
|
51
|
+
return a;
|
|
52
|
+
}
|
|
53
|
+
function fe(e, t) {
|
|
54
|
+
N(2, arguments);
|
|
55
|
+
var n = F(t), a = n * 7;
|
|
56
|
+
return S(e, a);
|
|
57
|
+
}
|
|
58
|
+
function un(e, t) {
|
|
59
|
+
N(2, arguments);
|
|
60
|
+
var n = F(t);
|
|
61
|
+
return I(e, n * 12);
|
|
62
|
+
}
|
|
63
|
+
function dn(e) {
|
|
64
|
+
N(1, arguments);
|
|
65
|
+
var t;
|
|
66
|
+
if (e && typeof e.forEach == "function")
|
|
67
|
+
t = e;
|
|
68
|
+
else if (Pe(e) === "object" && e !== null)
|
|
69
|
+
t = Array.prototype.slice.call(e);
|
|
70
|
+
else
|
|
71
|
+
return /* @__PURE__ */ new Date(NaN);
|
|
72
|
+
var n;
|
|
73
|
+
return t.forEach(function(a) {
|
|
74
|
+
var r = M(a);
|
|
75
|
+
(n === void 0 || n < r || isNaN(Number(r))) && (n = r);
|
|
76
|
+
}), n || /* @__PURE__ */ new Date(NaN);
|
|
77
|
+
}
|
|
78
|
+
function cn(e) {
|
|
79
|
+
N(1, arguments);
|
|
80
|
+
var t;
|
|
81
|
+
if (e && typeof e.forEach == "function")
|
|
82
|
+
t = e;
|
|
83
|
+
else if (Pe(e) === "object" && e !== null)
|
|
84
|
+
t = Array.prototype.slice.call(e);
|
|
85
|
+
else
|
|
86
|
+
return /* @__PURE__ */ new Date(NaN);
|
|
87
|
+
var n;
|
|
88
|
+
return t.forEach(function(a) {
|
|
89
|
+
var r = M(a);
|
|
90
|
+
(n === void 0 || n > r || isNaN(r.getDate())) && (n = r);
|
|
91
|
+
}), n || /* @__PURE__ */ new Date(NaN);
|
|
92
|
+
}
|
|
93
|
+
function x(e, t) {
|
|
94
|
+
N(2, arguments);
|
|
95
|
+
var n = Z(e), a = Z(t);
|
|
96
|
+
return n.getTime() === a.getTime();
|
|
97
|
+
}
|
|
98
|
+
var fn = 6048e5;
|
|
99
|
+
function vn(e, t, n) {
|
|
100
|
+
N(2, arguments);
|
|
101
|
+
var a = Y(e, n), r = Y(t, n), o = a.getTime() - ke(a), i = r.getTime() - ke(r);
|
|
102
|
+
return Math.round((o - i) / fn);
|
|
103
|
+
}
|
|
104
|
+
function P(e) {
|
|
105
|
+
N(1, arguments);
|
|
106
|
+
var t = M(e);
|
|
107
|
+
return t.setDate(1), t.setHours(0, 0, 0, 0), t;
|
|
108
|
+
}
|
|
109
|
+
function mn(e) {
|
|
110
|
+
N(1, arguments);
|
|
111
|
+
var t = M(e), n = /* @__PURE__ */ new Date(0);
|
|
112
|
+
return n.setFullYear(t.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
|
|
113
|
+
}
|
|
114
|
+
function he(e, t) {
|
|
115
|
+
var n, a, r, o, i, l, s, c;
|
|
116
|
+
N(1, arguments);
|
|
117
|
+
var u = Q(), f = F((n = (a = (r = (o = t == null ? void 0 : t.weekStartsOn) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && r !== void 0 ? r : u.weekStartsOn) !== null && a !== void 0 ? a : (s = u.locale) === null || s === void 0 || (c = s.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && n !== void 0 ? n : 0);
|
|
118
|
+
if (!(f >= 0 && f <= 6))
|
|
119
|
+
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
120
|
+
var v = M(e), m = v.getDay(), h = (m < f ? -7 : 0) + 6 - (m - f);
|
|
121
|
+
return v.setDate(v.getDate() + h), v.setHours(23, 59, 59, 999), v;
|
|
122
|
+
}
|
|
123
|
+
function Te(e) {
|
|
124
|
+
return N(1, arguments), he(e, {
|
|
125
|
+
weekStartsOn: 1
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
function hn(e) {
|
|
129
|
+
N(1, arguments);
|
|
130
|
+
var t = M(e), n = t.getFullYear(), a = t.getMonth(), r = /* @__PURE__ */ new Date(0);
|
|
131
|
+
return r.setFullYear(n, a + 1, 0), r.setHours(0, 0, 0, 0), r.getDate();
|
|
132
|
+
}
|
|
133
|
+
var yn = 6048e5;
|
|
134
|
+
function pn(e) {
|
|
135
|
+
N(1, arguments);
|
|
136
|
+
var t = M(e), n = B(t).getTime() - sn(t).getTime();
|
|
137
|
+
return Math.round(n / yn) + 1;
|
|
138
|
+
}
|
|
139
|
+
function gn(e) {
|
|
140
|
+
N(1, arguments);
|
|
141
|
+
var t = M(e), n = t.getTime();
|
|
142
|
+
return n;
|
|
143
|
+
}
|
|
144
|
+
function bn(e) {
|
|
145
|
+
return N(1, arguments), Math.floor(gn(e) / 1e3);
|
|
146
|
+
}
|
|
147
|
+
function _n(e, t) {
|
|
148
|
+
var n, a, r, o, i, l, s, c;
|
|
149
|
+
N(1, arguments);
|
|
150
|
+
var u = M(e), f = u.getFullYear(), v = Q(), m = F((n = (a = (r = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && r !== void 0 ? r : v.firstWeekContainsDate) !== null && a !== void 0 ? a : (s = v.locale) === null || s === void 0 || (c = s.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
|
|
151
|
+
if (!(m >= 1 && m <= 7))
|
|
152
|
+
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
153
|
+
var h = /* @__PURE__ */ new Date(0);
|
|
154
|
+
h.setFullYear(f + 1, 0, m), h.setHours(0, 0, 0, 0);
|
|
155
|
+
var D = Y(h, t), g = /* @__PURE__ */ new Date(0);
|
|
156
|
+
g.setFullYear(f, 0, m), g.setHours(0, 0, 0, 0);
|
|
157
|
+
var _ = Y(g, t);
|
|
158
|
+
return u.getTime() >= D.getTime() ? f + 1 : u.getTime() >= _.getTime() ? f : f - 1;
|
|
159
|
+
}
|
|
160
|
+
function Dn(e, t) {
|
|
161
|
+
var n, a, r, o, i, l, s, c;
|
|
162
|
+
N(1, arguments);
|
|
163
|
+
var u = Q(), f = F((n = (a = (r = (o = t == null ? void 0 : t.firstWeekContainsDate) !== null && o !== void 0 ? o : t == null || (i = t.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && r !== void 0 ? r : u.firstWeekContainsDate) !== null && a !== void 0 ? a : (s = u.locale) === null || s === void 0 || (c = s.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && n !== void 0 ? n : 1), v = _n(e, t), m = /* @__PURE__ */ new Date(0);
|
|
164
|
+
m.setFullYear(v, 0, f), m.setHours(0, 0, 0, 0);
|
|
165
|
+
var h = Y(m, t);
|
|
166
|
+
return h;
|
|
167
|
+
}
|
|
168
|
+
var Nn = 6048e5;
|
|
169
|
+
function wn(e, t) {
|
|
170
|
+
N(1, arguments);
|
|
171
|
+
var n = M(e), a = Y(n, t).getTime() - Dn(n, t).getTime();
|
|
172
|
+
return Math.round(a / Nn) + 1;
|
|
173
|
+
}
|
|
174
|
+
function kn(e) {
|
|
175
|
+
N(1, arguments);
|
|
176
|
+
var t = M(e), n = t.getMonth();
|
|
177
|
+
return t.setFullYear(t.getFullYear(), n + 1, 0), t.setHours(0, 0, 0, 0), t;
|
|
178
|
+
}
|
|
179
|
+
function Mn(e, t) {
|
|
180
|
+
return N(1, arguments), vn(kn(e), P(e), t) + 1;
|
|
181
|
+
}
|
|
182
|
+
function ve(e, t) {
|
|
183
|
+
N(2, arguments);
|
|
184
|
+
var n = M(e), a = M(t);
|
|
185
|
+
return n.getTime() > a.getTime();
|
|
186
|
+
}
|
|
187
|
+
function Ie(e, t) {
|
|
188
|
+
N(2, arguments);
|
|
189
|
+
var n = M(e), a = M(t);
|
|
190
|
+
return n.getTime() < a.getTime();
|
|
191
|
+
}
|
|
192
|
+
function ye(e, t) {
|
|
193
|
+
N(2, arguments);
|
|
194
|
+
var n = M(e), a = M(t);
|
|
195
|
+
return n.getFullYear() === a.getFullYear() && n.getMonth() === a.getMonth();
|
|
196
|
+
}
|
|
197
|
+
function Cn(e, t) {
|
|
198
|
+
N(2, arguments);
|
|
199
|
+
var n = M(e), a = M(t);
|
|
200
|
+
return n.getFullYear() === a.getFullYear();
|
|
201
|
+
}
|
|
202
|
+
function ie(e, t) {
|
|
203
|
+
N(2, arguments);
|
|
204
|
+
var n = F(t);
|
|
205
|
+
return S(e, -n);
|
|
206
|
+
}
|
|
207
|
+
function le(e, t) {
|
|
208
|
+
N(2, arguments);
|
|
209
|
+
var n = M(e), a = F(t), r = n.getFullYear(), o = n.getDate(), i = /* @__PURE__ */ new Date(0);
|
|
210
|
+
i.setFullYear(r, a, 15), i.setHours(0, 0, 0, 0);
|
|
211
|
+
var l = hn(i);
|
|
212
|
+
return n.setMonth(a, Math.min(o, l)), n;
|
|
213
|
+
}
|
|
214
|
+
function Me(e, t) {
|
|
215
|
+
N(2, arguments);
|
|
216
|
+
var n = M(e), a = F(t);
|
|
217
|
+
return isNaN(n.getTime()) ? /* @__PURE__ */ new Date(NaN) : (n.setFullYear(a), n);
|
|
218
|
+
}
|
|
219
|
+
var p = function() {
|
|
220
|
+
return p = Object.assign || function(t) {
|
|
221
|
+
for (var n, a = 1, r = arguments.length; a < r; a++) {
|
|
222
|
+
n = arguments[a];
|
|
223
|
+
for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
|
|
224
|
+
}
|
|
225
|
+
return t;
|
|
226
|
+
}, p.apply(this, arguments);
|
|
227
|
+
};
|
|
228
|
+
function On(e, t) {
|
|
229
|
+
var n = {};
|
|
230
|
+
for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && t.indexOf(a) < 0 && (n[a] = e[a]);
|
|
231
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
232
|
+
for (var r = 0, a = Object.getOwnPropertySymbols(e); r < a.length; r++)
|
|
233
|
+
t.indexOf(a[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[r]) && (n[a[r]] = e[a[r]]);
|
|
234
|
+
return n;
|
|
235
|
+
}
|
|
236
|
+
function Le(e, t, n) {
|
|
237
|
+
for (var a = 0, r = t.length, o; a < r; a++)
|
|
238
|
+
(o || !(a in t)) && (o || (o = Array.prototype.slice.call(t, 0, a)), o[a] = t[a]);
|
|
239
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
240
|
+
}
|
|
241
|
+
function V(e) {
|
|
242
|
+
return e.mode === "multiple";
|
|
243
|
+
}
|
|
244
|
+
function z(e) {
|
|
245
|
+
return e.mode === "range";
|
|
246
|
+
}
|
|
247
|
+
function ee(e) {
|
|
248
|
+
return e.mode === "single";
|
|
249
|
+
}
|
|
250
|
+
var Sn = {
|
|
251
|
+
root: "rdp",
|
|
252
|
+
multiple_months: "rdp-multiple_months",
|
|
253
|
+
with_weeknumber: "rdp-with_weeknumber",
|
|
254
|
+
vhidden: "rdp-vhidden",
|
|
255
|
+
button_reset: "rdp-button_reset",
|
|
256
|
+
button: "rdp-button",
|
|
257
|
+
caption: "rdp-caption",
|
|
258
|
+
caption_start: "rdp-caption_start",
|
|
259
|
+
caption_end: "rdp-caption_end",
|
|
260
|
+
caption_between: "rdp-caption_between",
|
|
261
|
+
caption_label: "rdp-caption_label",
|
|
262
|
+
caption_dropdowns: "rdp-caption_dropdowns",
|
|
263
|
+
dropdown: "rdp-dropdown",
|
|
264
|
+
dropdown_month: "rdp-dropdown_month",
|
|
265
|
+
dropdown_year: "rdp-dropdown_year",
|
|
266
|
+
dropdown_icon: "rdp-dropdown_icon",
|
|
267
|
+
months: "rdp-months",
|
|
268
|
+
month: "rdp-month",
|
|
269
|
+
table: "rdp-table",
|
|
270
|
+
tbody: "rdp-tbody",
|
|
271
|
+
tfoot: "rdp-tfoot",
|
|
272
|
+
head: "rdp-head",
|
|
273
|
+
head_row: "rdp-head_row",
|
|
274
|
+
head_cell: "rdp-head_cell",
|
|
275
|
+
nav: "rdp-nav",
|
|
276
|
+
nav_button: "rdp-nav_button",
|
|
277
|
+
nav_button_previous: "rdp-nav_button_previous",
|
|
278
|
+
nav_button_next: "rdp-nav_button_next",
|
|
279
|
+
nav_icon: "rdp-nav_icon",
|
|
280
|
+
row: "rdp-row",
|
|
281
|
+
weeknumber: "rdp-weeknumber",
|
|
282
|
+
cell: "rdp-cell",
|
|
283
|
+
day: "rdp-day",
|
|
284
|
+
day_today: "rdp-day_today",
|
|
285
|
+
day_outside: "rdp-day_outside",
|
|
286
|
+
day_selected: "rdp-day_selected",
|
|
287
|
+
day_disabled: "rdp-day_disabled",
|
|
288
|
+
day_hidden: "rdp-day_hidden",
|
|
289
|
+
day_range_start: "rdp-day_range_start",
|
|
290
|
+
day_range_end: "rdp-day_range_end",
|
|
291
|
+
day_range_middle: "rdp-day_range_middle"
|
|
292
|
+
};
|
|
293
|
+
function xn(e, t) {
|
|
294
|
+
return W(e, "LLLL y", t);
|
|
295
|
+
}
|
|
296
|
+
function Pn(e, t) {
|
|
297
|
+
return W(e, "d", t);
|
|
298
|
+
}
|
|
299
|
+
function Wn(e, t) {
|
|
300
|
+
return W(e, "LLLL", t);
|
|
301
|
+
}
|
|
302
|
+
function Tn(e) {
|
|
303
|
+
return "".concat(e);
|
|
304
|
+
}
|
|
305
|
+
function In(e, t) {
|
|
306
|
+
return W(e, "cccccc", t);
|
|
307
|
+
}
|
|
308
|
+
function Ln(e, t) {
|
|
309
|
+
return W(e, "yyyy", t);
|
|
310
|
+
}
|
|
311
|
+
var Fn = /* @__PURE__ */ Object.freeze({
|
|
312
|
+
__proto__: null,
|
|
313
|
+
formatCaption: xn,
|
|
314
|
+
formatDay: Pn,
|
|
315
|
+
formatMonthCaption: Wn,
|
|
316
|
+
formatWeekNumber: Tn,
|
|
317
|
+
formatWeekdayName: In,
|
|
318
|
+
formatYearCaption: Ln
|
|
319
|
+
}), Yn = function(e, t, n) {
|
|
320
|
+
return W(e, "do MMMM (EEEE)", n);
|
|
321
|
+
}, En = function() {
|
|
322
|
+
return "Month: ";
|
|
323
|
+
}, Rn = function() {
|
|
324
|
+
return "Go to next month";
|
|
325
|
+
}, Bn = function() {
|
|
326
|
+
return "Go to previous month";
|
|
327
|
+
}, jn = function(e, t) {
|
|
328
|
+
return W(e, "cccc", t);
|
|
329
|
+
}, Hn = function(e) {
|
|
330
|
+
return "Week n. ".concat(e);
|
|
331
|
+
}, $n = function() {
|
|
332
|
+
return "Year: ";
|
|
333
|
+
}, An = /* @__PURE__ */ Object.freeze({
|
|
334
|
+
__proto__: null,
|
|
335
|
+
labelDay: Yn,
|
|
336
|
+
labelMonthDropdown: En,
|
|
337
|
+
labelNext: Rn,
|
|
338
|
+
labelPrevious: Bn,
|
|
339
|
+
labelWeekNumber: Hn,
|
|
340
|
+
labelWeekday: jn,
|
|
341
|
+
labelYearDropdown: $n
|
|
342
|
+
});
|
|
343
|
+
function Kn() {
|
|
344
|
+
var e = "buttons", t = Sn, n = rn, a = {}, r = {}, o = 1, i = {}, l = /* @__PURE__ */ new Date();
|
|
345
|
+
return {
|
|
346
|
+
captionLayout: e,
|
|
347
|
+
classNames: t,
|
|
348
|
+
formatters: Fn,
|
|
349
|
+
labels: An,
|
|
350
|
+
locale: n,
|
|
351
|
+
modifiersClassNames: a,
|
|
352
|
+
modifiers: r,
|
|
353
|
+
numberOfMonths: o,
|
|
354
|
+
styles: i,
|
|
355
|
+
today: l,
|
|
356
|
+
mode: "default"
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
function Un(e) {
|
|
360
|
+
var t = e.fromYear, n = e.toYear, a = e.fromMonth, r = e.toMonth, o = e.fromDate, i = e.toDate;
|
|
361
|
+
return a ? o = P(a) : t && (o = new Date(t, 0, 1)), r ? i = me(r) : n && (i = new Date(n, 11, 31)), {
|
|
362
|
+
fromDate: o ? Z(o) : void 0,
|
|
363
|
+
toDate: i ? Z(i) : void 0
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
var Fe = j(void 0);
|
|
367
|
+
function Vn(e) {
|
|
368
|
+
var t, n = e.initialProps, a = Kn(), r = Un(n), o = r.fromDate, i = r.toDate, l = (t = n.captionLayout) !== null && t !== void 0 ? t : a.captionLayout;
|
|
369
|
+
l !== "buttons" && (!o || !i) && (l = "buttons");
|
|
370
|
+
var s;
|
|
371
|
+
(ee(n) || V(n) || z(n)) && (s = n.onSelect);
|
|
372
|
+
var c = p(p(p({}, a), n), { captionLayout: l, classNames: p(p({}, a.classNames), n.classNames), components: p({}, n.components), formatters: p(p({}, a.formatters), n.formatters), fromDate: o, labels: p(p({}, a.labels), n.labels), mode: n.mode || a.mode, modifiers: p(p({}, a.modifiers), n.modifiers), modifiersClassNames: p(p({}, a.modifiersClassNames), n.modifiersClassNames), onSelect: s, styles: p(p({}, a.styles), n.styles), toDate: i });
|
|
373
|
+
return d(Fe.Provider, { value: c, children: e.children });
|
|
374
|
+
}
|
|
375
|
+
function w() {
|
|
376
|
+
var e = H(Fe);
|
|
377
|
+
if (!e)
|
|
378
|
+
throw new Error("useDayPicker must be used within a DayPickerProvider.");
|
|
379
|
+
return e;
|
|
380
|
+
}
|
|
381
|
+
function Ye(e) {
|
|
382
|
+
var t = w(), n = t.locale, a = t.classNames, r = t.styles, o = t.formatters.formatCaption;
|
|
383
|
+
return d("div", { className: a.caption_label, style: r.caption_label, "aria-live": "polite", role: "presentation", id: e.id, children: o(e.displayMonth, { locale: n }) });
|
|
384
|
+
}
|
|
385
|
+
function zn(e) {
|
|
386
|
+
return d("svg", p({ width: "8px", height: "8px", viewBox: "0 0 120 120", "data-testid": "iconDropdown" }, e, { children: d("path", { d: "M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z", fill: "currentColor", fillRule: "nonzero" }) }));
|
|
387
|
+
}
|
|
388
|
+
function Ee(e) {
|
|
389
|
+
var t, n, a = e.onChange, r = e.value, o = e.children, i = e.caption, l = e.className, s = e.style, c = w(), u = (n = (t = c.components) === null || t === void 0 ? void 0 : t.IconDropdown) !== null && n !== void 0 ? n : zn;
|
|
390
|
+
return O("div", { className: l, style: s, children: [d("span", { className: c.classNames.vhidden, children: e["aria-label"] }), d("select", { name: e.name, "aria-label": e["aria-label"], className: c.classNames.dropdown, style: c.styles.dropdown, value: r, onChange: a, children: o }), O("div", { className: c.classNames.caption_label, style: c.styles.caption_label, "aria-hidden": "true", children: [i, d(u, { className: c.classNames.dropdown_icon, style: c.styles.dropdown_icon })] })] });
|
|
391
|
+
}
|
|
392
|
+
function qn(e) {
|
|
393
|
+
var t, n = w(), a = n.fromDate, r = n.toDate, o = n.styles, i = n.locale, l = n.formatters.formatMonthCaption, s = n.classNames, c = n.components, u = n.labels.labelMonthDropdown;
|
|
394
|
+
if (!a)
|
|
395
|
+
return d(T, {});
|
|
396
|
+
if (!r)
|
|
397
|
+
return d(T, {});
|
|
398
|
+
var f = [];
|
|
399
|
+
if (Cn(a, r))
|
|
400
|
+
for (var v = P(a), m = a.getMonth(); m <= r.getMonth(); m++)
|
|
401
|
+
f.push(le(v, m));
|
|
402
|
+
else
|
|
403
|
+
for (var v = P(/* @__PURE__ */ new Date()), m = 0; m <= 11; m++)
|
|
404
|
+
f.push(le(v, m));
|
|
405
|
+
var h = function(g) {
|
|
406
|
+
var _ = Number(g.target.value), k = le(P(e.displayMonth), _);
|
|
407
|
+
e.onChange(k);
|
|
408
|
+
}, D = (t = c == null ? void 0 : c.Dropdown) !== null && t !== void 0 ? t : Ee;
|
|
409
|
+
return d(D, { name: "months", "aria-label": u(), className: s.dropdown_month, style: o.dropdown_month, onChange: h, value: e.displayMonth.getMonth(), caption: l(e.displayMonth, { locale: i }), children: f.map(function(g) {
|
|
410
|
+
return d("option", { value: g.getMonth(), children: l(g, { locale: i }) }, g.getMonth());
|
|
411
|
+
}) });
|
|
412
|
+
}
|
|
413
|
+
function Jn(e) {
|
|
414
|
+
var t, n = e.displayMonth, a = w(), r = a.fromDate, o = a.toDate, i = a.locale, l = a.styles, s = a.classNames, c = a.components, u = a.formatters.formatYearCaption, f = a.labels.labelYearDropdown, v = [];
|
|
415
|
+
if (!r)
|
|
416
|
+
return d(T, {});
|
|
417
|
+
if (!o)
|
|
418
|
+
return d(T, {});
|
|
419
|
+
for (var m = r.getFullYear(), h = o.getFullYear(), D = m; D <= h; D++)
|
|
420
|
+
v.push(Me(mn(/* @__PURE__ */ new Date()), D));
|
|
421
|
+
var g = function(k) {
|
|
422
|
+
var $ = Me(P(n), Number(k.target.value));
|
|
423
|
+
e.onChange($);
|
|
424
|
+
}, _ = (t = c == null ? void 0 : c.Dropdown) !== null && t !== void 0 ? t : Ee;
|
|
425
|
+
return d(_, { name: "years", "aria-label": f(), className: s.dropdown_year, style: l.dropdown_year, onChange: g, value: n.getFullYear(), caption: u(n, { locale: i }), children: v.map(function(k) {
|
|
426
|
+
return d("option", { value: k.getFullYear(), children: u(k, { locale: i }) }, k.getFullYear());
|
|
427
|
+
}) });
|
|
428
|
+
}
|
|
429
|
+
function Zn(e, t) {
|
|
430
|
+
var n = K(e), a = n[0], r = n[1], o = t === void 0 ? a : t;
|
|
431
|
+
return [o, r];
|
|
432
|
+
}
|
|
433
|
+
function Gn(e) {
|
|
434
|
+
var t = e.month, n = e.defaultMonth, a = e.today, r = t || n || a || /* @__PURE__ */ new Date(), o = e.toDate, i = e.fromDate, l = e.numberOfMonths, s = l === void 0 ? 1 : l;
|
|
435
|
+
if (o && U(o, r) < 0) {
|
|
436
|
+
var c = -1 * (s - 1);
|
|
437
|
+
r = I(o, c);
|
|
438
|
+
}
|
|
439
|
+
return i && U(r, i) < 0 && (r = i), P(r);
|
|
440
|
+
}
|
|
441
|
+
function Xn() {
|
|
442
|
+
var e = w(), t = Gn(e), n = Zn(t, e.month), a = n[0], r = n[1], o = function(i) {
|
|
443
|
+
var l;
|
|
444
|
+
if (!e.disableNavigation) {
|
|
445
|
+
var s = P(i);
|
|
446
|
+
r(s), (l = e.onMonthChange) === null || l === void 0 || l.call(e, s);
|
|
447
|
+
}
|
|
448
|
+
};
|
|
449
|
+
return [a, o];
|
|
450
|
+
}
|
|
451
|
+
function Qn(e, t) {
|
|
452
|
+
for (var n = t.reverseMonths, a = t.numberOfMonths, r = P(e), o = P(I(r, a)), i = U(o, r), l = [], s = 0; s < i; s++) {
|
|
453
|
+
var c = I(r, s);
|
|
454
|
+
l.push(c);
|
|
455
|
+
}
|
|
456
|
+
return n && (l = l.reverse()), l;
|
|
457
|
+
}
|
|
458
|
+
function et(e, t) {
|
|
459
|
+
if (!t.disableNavigation) {
|
|
460
|
+
var n = t.toDate, a = t.pagedNavigation, r = t.numberOfMonths, o = r === void 0 ? 1 : r, i = a ? o : 1, l = P(e);
|
|
461
|
+
if (!n)
|
|
462
|
+
return I(l, i);
|
|
463
|
+
var s = U(n, e);
|
|
464
|
+
if (!(s < o))
|
|
465
|
+
return I(l, i);
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
function nt(e, t) {
|
|
469
|
+
if (!t.disableNavigation) {
|
|
470
|
+
var n = t.fromDate, a = t.pagedNavigation, r = t.numberOfMonths, o = r === void 0 ? 1 : r, i = a ? o : 1, l = P(e);
|
|
471
|
+
if (!n)
|
|
472
|
+
return I(l, -i);
|
|
473
|
+
var s = U(l, n);
|
|
474
|
+
if (!(s <= 0))
|
|
475
|
+
return I(l, -i);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
var Re = j(void 0);
|
|
479
|
+
function tt(e) {
|
|
480
|
+
var t = w(), n = Xn(), a = n[0], r = n[1], o = Qn(a, t), i = et(a, t), l = nt(a, t), s = function(f) {
|
|
481
|
+
return o.some(function(v) {
|
|
482
|
+
return ye(f, v);
|
|
483
|
+
});
|
|
484
|
+
}, c = function(f, v) {
|
|
485
|
+
s(f) || (v && Ie(f, v) ? r(I(f, 1 + t.numberOfMonths * -1)) : r(f));
|
|
486
|
+
}, u = {
|
|
487
|
+
currentMonth: a,
|
|
488
|
+
displayMonths: o,
|
|
489
|
+
goToMonth: r,
|
|
490
|
+
goToDate: c,
|
|
491
|
+
previousMonth: l,
|
|
492
|
+
nextMonth: i,
|
|
493
|
+
isDateDisplayed: s
|
|
494
|
+
};
|
|
495
|
+
return d(Re.Provider, { value: u, children: e.children });
|
|
496
|
+
}
|
|
497
|
+
function q() {
|
|
498
|
+
var e = H(Re);
|
|
499
|
+
if (!e)
|
|
500
|
+
throw new Error("useNavigation must be used within a NavigationProvider");
|
|
501
|
+
return e;
|
|
502
|
+
}
|
|
503
|
+
function Ce(e) {
|
|
504
|
+
var t, n = w(), a = n.classNames, r = n.styles, o = n.components, i = q().goToMonth, l = function(u) {
|
|
505
|
+
i(I(u, e.displayIndex ? -e.displayIndex : 0));
|
|
506
|
+
}, s = (t = o == null ? void 0 : o.CaptionLabel) !== null && t !== void 0 ? t : Ye, c = d(s, { id: e.id, displayMonth: e.displayMonth });
|
|
507
|
+
return O("div", { className: a.caption_dropdowns, style: r.caption_dropdowns, children: [d("div", { className: a.vhidden, children: c }), d(qn, { onChange: l, displayMonth: e.displayMonth }), d(Jn, { onChange: l, displayMonth: e.displayMonth })] });
|
|
508
|
+
}
|
|
509
|
+
function at(e) {
|
|
510
|
+
return d("svg", p({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, e, { children: d("path", { d: "M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z", fill: "currentColor", fillRule: "nonzero" }) }));
|
|
511
|
+
}
|
|
512
|
+
function rt(e) {
|
|
513
|
+
return d("svg", p({ width: "16px", height: "16px", viewBox: "0 0 120 120" }, e, { children: d("path", { d: "M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z", fill: "currentColor" }) }));
|
|
514
|
+
}
|
|
515
|
+
var G = nn(function(e, t) {
|
|
516
|
+
var n = w(), a = n.classNames, r = n.styles, o = [a.button_reset, a.button];
|
|
517
|
+
e.className && o.push(e.className);
|
|
518
|
+
var i = o.join(" "), l = p(p({}, r.button_reset), r.button);
|
|
519
|
+
return e.style && Object.assign(l, e.style), d("button", p({}, e, { ref: t, type: "button", className: i, style: l }));
|
|
520
|
+
});
|
|
521
|
+
function ot(e) {
|
|
522
|
+
var t, n, a = w(), r = a.dir, o = a.locale, i = a.classNames, l = a.styles, s = a.labels, c = s.labelPrevious, u = s.labelNext, f = a.components;
|
|
523
|
+
if (!e.nextMonth && !e.previousMonth)
|
|
524
|
+
return d(T, {});
|
|
525
|
+
var v = c(e.previousMonth, { locale: o }), m = [
|
|
526
|
+
i.nav_button,
|
|
527
|
+
i.nav_button_previous
|
|
528
|
+
].join(" "), h = u(e.nextMonth, { locale: o }), D = [
|
|
529
|
+
i.nav_button,
|
|
530
|
+
i.nav_button_next
|
|
531
|
+
].join(" "), g = (t = f == null ? void 0 : f.IconRight) !== null && t !== void 0 ? t : rt, _ = (n = f == null ? void 0 : f.IconLeft) !== null && n !== void 0 ? n : at;
|
|
532
|
+
return O("div", { className: i.nav, style: l.nav, children: [!e.hidePrevious && d(G, { name: "previous-month", "aria-label": v, className: m, style: l.nav_button_previous, disabled: !e.previousMonth, onClick: e.onPreviousClick, children: r === "rtl" ? d(g, { className: i.nav_icon, style: l.nav_icon }) : d(_, { className: i.nav_icon, style: l.nav_icon }) }), !e.hideNext && d(G, { name: "next-month", "aria-label": h, className: D, style: l.nav_button_next, disabled: !e.nextMonth, onClick: e.onNextClick, children: r === "rtl" ? d(_, { className: i.nav_icon, style: l.nav_icon }) : d(g, { className: i.nav_icon, style: l.nav_icon }) })] });
|
|
533
|
+
}
|
|
534
|
+
function Oe(e) {
|
|
535
|
+
var t = w().numberOfMonths, n = q(), a = n.previousMonth, r = n.nextMonth, o = n.goToMonth, i = n.displayMonths, l = i.findIndex(function(h) {
|
|
536
|
+
return ye(e.displayMonth, h);
|
|
537
|
+
}), s = l === 0, c = l === i.length - 1, u = t > 1 && (s || !c), f = t > 1 && (c || !s), v = function() {
|
|
538
|
+
a && o(a);
|
|
539
|
+
}, m = function() {
|
|
540
|
+
r && o(r);
|
|
541
|
+
};
|
|
542
|
+
return d(ot, { displayMonth: e.displayMonth, hideNext: u, hidePrevious: f, nextMonth: r, previousMonth: a, onPreviousClick: v, onNextClick: m });
|
|
543
|
+
}
|
|
544
|
+
function it(e) {
|
|
545
|
+
var t, n = w(), a = n.classNames, r = n.disableNavigation, o = n.styles, i = n.captionLayout, l = n.components, s = (t = l == null ? void 0 : l.CaptionLabel) !== null && t !== void 0 ? t : Ye, c;
|
|
546
|
+
return r ? c = d(s, { id: e.id, displayMonth: e.displayMonth }) : i === "dropdown" ? c = d(Ce, { displayMonth: e.displayMonth, id: e.id }) : i === "dropdown-buttons" ? c = O(T, { children: [d(Ce, { displayMonth: e.displayMonth, displayIndex: e.displayIndex, id: e.id }), d(Oe, { displayMonth: e.displayMonth, displayIndex: e.displayIndex, id: e.id })] }) : c = O(T, { children: [d(s, { id: e.id, displayMonth: e.displayMonth, displayIndex: e.displayIndex }), d(Oe, { displayMonth: e.displayMonth, id: e.id })] }), d("div", { className: a.caption, style: o.caption, children: c });
|
|
547
|
+
}
|
|
548
|
+
function lt(e) {
|
|
549
|
+
var t = w(), n = t.footer, a = t.styles, r = t.classNames.tfoot;
|
|
550
|
+
return n ? d("tfoot", { className: r, style: a.tfoot, children: d("tr", { children: d("td", { colSpan: 8, children: n }) }) }) : d(T, {});
|
|
551
|
+
}
|
|
552
|
+
function st(e, t, n) {
|
|
553
|
+
for (var a = n ? B(/* @__PURE__ */ new Date()) : Y(/* @__PURE__ */ new Date(), { locale: e, weekStartsOn: t }), r = [], o = 0; o < 7; o++) {
|
|
554
|
+
var i = S(a, o);
|
|
555
|
+
r.push(i);
|
|
556
|
+
}
|
|
557
|
+
return r;
|
|
558
|
+
}
|
|
559
|
+
function ut() {
|
|
560
|
+
var e = w(), t = e.classNames, n = e.styles, a = e.showWeekNumber, r = e.locale, o = e.weekStartsOn, i = e.ISOWeek, l = e.formatters.formatWeekdayName, s = e.labels.labelWeekday, c = st(r, o, i);
|
|
561
|
+
return O("tr", { style: n.head_row, className: t.head_row, children: [a && d("td", { style: n.head_cell, className: t.head_cell }), c.map(function(u, f) {
|
|
562
|
+
return d("th", { scope: "col", className: t.head_cell, style: n.head_cell, "aria-label": s(u, { locale: r }), children: l(u, { locale: r }) }, f);
|
|
563
|
+
})] });
|
|
564
|
+
}
|
|
565
|
+
function dt() {
|
|
566
|
+
var e, t = w(), n = t.classNames, a = t.styles, r = t.components, o = (e = r == null ? void 0 : r.HeadRow) !== null && e !== void 0 ? e : ut;
|
|
567
|
+
return d("thead", { style: a.head, className: n.head, children: d(o, {}) });
|
|
568
|
+
}
|
|
569
|
+
function ct(e) {
|
|
570
|
+
var t = w(), n = t.locale, a = t.formatters.formatDay;
|
|
571
|
+
return d(T, { children: a(e.date, { locale: n }) });
|
|
572
|
+
}
|
|
573
|
+
var pe = j(void 0);
|
|
574
|
+
function ft(e) {
|
|
575
|
+
if (!V(e.initialProps)) {
|
|
576
|
+
var t = {
|
|
577
|
+
selected: void 0,
|
|
578
|
+
modifiers: {
|
|
579
|
+
disabled: []
|
|
580
|
+
}
|
|
581
|
+
};
|
|
582
|
+
return d(pe.Provider, { value: t, children: e.children });
|
|
583
|
+
}
|
|
584
|
+
return d(vt, { initialProps: e.initialProps, children: e.children });
|
|
585
|
+
}
|
|
586
|
+
function vt(e) {
|
|
587
|
+
var t = e.initialProps, n = e.children, a = t.selected, r = t.min, o = t.max, i = function(c, u, f) {
|
|
588
|
+
var v, m;
|
|
589
|
+
(v = t.onDayClick) === null || v === void 0 || v.call(t, c, u, f);
|
|
590
|
+
var h = !!(u.selected && r && (a == null ? void 0 : a.length) === r);
|
|
591
|
+
if (!h) {
|
|
592
|
+
var D = !!(!u.selected && o && (a == null ? void 0 : a.length) === o);
|
|
593
|
+
if (!D) {
|
|
594
|
+
var g = a ? Le([], a) : [];
|
|
595
|
+
if (u.selected) {
|
|
596
|
+
var _ = g.findIndex(function(k) {
|
|
597
|
+
return x(c, k);
|
|
598
|
+
});
|
|
599
|
+
g.splice(_, 1);
|
|
600
|
+
} else
|
|
601
|
+
g.push(c);
|
|
602
|
+
(m = t.onSelect) === null || m === void 0 || m.call(t, g, c, u, f);
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
}, l = {
|
|
606
|
+
disabled: []
|
|
607
|
+
};
|
|
608
|
+
a && l.disabled.push(function(c) {
|
|
609
|
+
var u = o && a.length > o - 1, f = a.some(function(v) {
|
|
610
|
+
return x(v, c);
|
|
611
|
+
});
|
|
612
|
+
return !!(u && !f);
|
|
613
|
+
});
|
|
614
|
+
var s = {
|
|
615
|
+
selected: a,
|
|
616
|
+
onDayClick: i,
|
|
617
|
+
modifiers: l
|
|
618
|
+
};
|
|
619
|
+
return d(pe.Provider, { value: s, children: n });
|
|
620
|
+
}
|
|
621
|
+
function ge() {
|
|
622
|
+
var e = H(pe);
|
|
623
|
+
if (!e)
|
|
624
|
+
throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");
|
|
625
|
+
return e;
|
|
626
|
+
}
|
|
627
|
+
function mt(e, t) {
|
|
628
|
+
var n = t || {}, a = n.from, r = n.to;
|
|
629
|
+
return a && r ? x(r, e) && x(a, e) ? void 0 : x(r, e) ? { from: r, to: void 0 } : x(a, e) ? void 0 : ve(a, e) ? { from: e, to: r } : { from: a, to: e } : r ? ve(e, r) ? { from: r, to: e } : { from: e, to: r } : a ? Ie(e, a) ? { from: e, to: a } : { from: a, to: e } : { from: e, to: void 0 };
|
|
630
|
+
}
|
|
631
|
+
var be = j(void 0);
|
|
632
|
+
function ht(e) {
|
|
633
|
+
if (!z(e.initialProps)) {
|
|
634
|
+
var t = {
|
|
635
|
+
selected: void 0,
|
|
636
|
+
modifiers: {
|
|
637
|
+
range_start: [],
|
|
638
|
+
range_end: [],
|
|
639
|
+
range_middle: [],
|
|
640
|
+
disabled: []
|
|
641
|
+
}
|
|
642
|
+
};
|
|
643
|
+
return d(be.Provider, { value: t, children: e.children });
|
|
644
|
+
}
|
|
645
|
+
return d(yt, { initialProps: e.initialProps, children: e.children });
|
|
646
|
+
}
|
|
647
|
+
function yt(e) {
|
|
648
|
+
var t = e.initialProps, n = e.children, a = t.selected, r = a || {}, o = r.from, i = r.to, l = t.min, s = t.max, c = function(m, h, D) {
|
|
649
|
+
var g, _;
|
|
650
|
+
(g = t.onDayClick) === null || g === void 0 || g.call(t, m, h, D);
|
|
651
|
+
var k = mt(m, a);
|
|
652
|
+
(_ = t.onSelect) === null || _ === void 0 || _.call(t, k, m, h, D);
|
|
653
|
+
}, u = {
|
|
654
|
+
range_start: [],
|
|
655
|
+
range_end: [],
|
|
656
|
+
range_middle: [],
|
|
657
|
+
disabled: []
|
|
658
|
+
};
|
|
659
|
+
if (o ? (u.range_start = [o], i ? (u.range_end = [i], x(o, i) || (u.range_middle = [
|
|
660
|
+
{
|
|
661
|
+
after: o,
|
|
662
|
+
before: i
|
|
663
|
+
}
|
|
664
|
+
])) : u.range_end = [o]) : i && (u.range_start = [i], u.range_end = [i]), l && (o && !i && u.disabled.push({
|
|
665
|
+
after: ie(o, l - 1),
|
|
666
|
+
before: S(o, l - 1)
|
|
667
|
+
}), o && i && u.disabled.push({
|
|
668
|
+
after: o,
|
|
669
|
+
before: S(o, l - 1)
|
|
670
|
+
}), !o && i && u.disabled.push({
|
|
671
|
+
after: ie(i, l - 1),
|
|
672
|
+
before: S(i, l - 1)
|
|
673
|
+
})), s) {
|
|
674
|
+
if (o && !i && (u.disabled.push({
|
|
675
|
+
before: S(o, -s + 1)
|
|
676
|
+
}), u.disabled.push({
|
|
677
|
+
after: S(o, s - 1)
|
|
678
|
+
})), o && i) {
|
|
679
|
+
var f = R(i, o) + 1, v = s - f;
|
|
680
|
+
u.disabled.push({
|
|
681
|
+
before: ie(o, v)
|
|
682
|
+
}), u.disabled.push({
|
|
683
|
+
after: S(i, v)
|
|
684
|
+
});
|
|
685
|
+
}
|
|
686
|
+
!o && i && (u.disabled.push({
|
|
687
|
+
before: S(i, -s + 1)
|
|
688
|
+
}), u.disabled.push({
|
|
689
|
+
after: S(i, s - 1)
|
|
690
|
+
}));
|
|
691
|
+
}
|
|
692
|
+
return d(be.Provider, { value: { selected: a, onDayClick: c, modifiers: u }, children: n });
|
|
693
|
+
}
|
|
694
|
+
function _e() {
|
|
695
|
+
var e = H(be);
|
|
696
|
+
if (!e)
|
|
697
|
+
throw new Error("useSelectRange must be used within a SelectRangeProvider");
|
|
698
|
+
return e;
|
|
699
|
+
}
|
|
700
|
+
function J(e) {
|
|
701
|
+
return Array.isArray(e) ? Le([], e) : e !== void 0 ? [e] : [];
|
|
702
|
+
}
|
|
703
|
+
function pt(e) {
|
|
704
|
+
var t = {};
|
|
705
|
+
return Object.entries(e).forEach(function(n) {
|
|
706
|
+
var a = n[0], r = n[1];
|
|
707
|
+
t[a] = J(r);
|
|
708
|
+
}), t;
|
|
709
|
+
}
|
|
710
|
+
var L;
|
|
711
|
+
(function(e) {
|
|
712
|
+
e.Outside = "outside", e.Disabled = "disabled", e.Selected = "selected", e.Hidden = "hidden", e.Today = "today", e.RangeStart = "range_start", e.RangeEnd = "range_end", e.RangeMiddle = "range_middle";
|
|
713
|
+
})(L || (L = {}));
|
|
714
|
+
var gt = L.Selected, E = L.Disabled, bt = L.Hidden, _t = L.Today, se = L.RangeEnd, ue = L.RangeMiddle, de = L.RangeStart, Dt = L.Outside;
|
|
715
|
+
function Nt(e, t, n) {
|
|
716
|
+
var a, r = (a = {}, a[gt] = J(e.selected), a[E] = J(e.disabled), a[bt] = J(e.hidden), a[_t] = [e.today], a[se] = [], a[ue] = [], a[de] = [], a[Dt] = [], a);
|
|
717
|
+
return e.fromDate && r[E].push({ before: e.fromDate }), e.toDate && r[E].push({ after: e.toDate }), V(e) ? r[E] = r[E].concat(t.modifiers[E]) : z(e) && (r[E] = r[E].concat(n.modifiers[E]), r[de] = n.modifiers[de], r[ue] = n.modifiers[ue], r[se] = n.modifiers[se]), r;
|
|
718
|
+
}
|
|
719
|
+
var Be = j(void 0);
|
|
720
|
+
function wt(e) {
|
|
721
|
+
var t = w(), n = ge(), a = _e(), r = Nt(t, n, a), o = pt(t.modifiers), i = p(p({}, r), o);
|
|
722
|
+
return d(Be.Provider, { value: i, children: e.children });
|
|
723
|
+
}
|
|
724
|
+
function je() {
|
|
725
|
+
var e = H(Be);
|
|
726
|
+
if (!e)
|
|
727
|
+
throw new Error("useModifiers must be used within a ModifiersProvider");
|
|
728
|
+
return e;
|
|
729
|
+
}
|
|
730
|
+
function kt(e) {
|
|
731
|
+
return !!(e && typeof e == "object" && "before" in e && "after" in e);
|
|
732
|
+
}
|
|
733
|
+
function Mt(e) {
|
|
734
|
+
return !!(e && typeof e == "object" && "from" in e);
|
|
735
|
+
}
|
|
736
|
+
function Ct(e) {
|
|
737
|
+
return !!(e && typeof e == "object" && "after" in e);
|
|
738
|
+
}
|
|
739
|
+
function Ot(e) {
|
|
740
|
+
return !!(e && typeof e == "object" && "before" in e);
|
|
741
|
+
}
|
|
742
|
+
function St(e) {
|
|
743
|
+
return !!(e && typeof e == "object" && "dayOfWeek" in e);
|
|
744
|
+
}
|
|
745
|
+
function xt(e, t) {
|
|
746
|
+
var n, a = t.from, r = t.to;
|
|
747
|
+
if (a && r) {
|
|
748
|
+
var o = R(r, a) < 0;
|
|
749
|
+
o && (n = [r, a], a = n[0], r = n[1]);
|
|
750
|
+
var i = R(e, a) >= 0 && R(r, e) >= 0;
|
|
751
|
+
return i;
|
|
752
|
+
}
|
|
753
|
+
return r ? x(r, e) : a ? x(a, e) : !1;
|
|
754
|
+
}
|
|
755
|
+
function Pt(e) {
|
|
756
|
+
return We(e);
|
|
757
|
+
}
|
|
758
|
+
function Wt(e) {
|
|
759
|
+
return Array.isArray(e) && e.every(We);
|
|
760
|
+
}
|
|
761
|
+
function Tt(e, t) {
|
|
762
|
+
return t.some(function(n) {
|
|
763
|
+
if (typeof n == "boolean")
|
|
764
|
+
return n;
|
|
765
|
+
if (Pt(n))
|
|
766
|
+
return x(e, n);
|
|
767
|
+
if (Wt(n))
|
|
768
|
+
return n.includes(e);
|
|
769
|
+
if (Mt(n))
|
|
770
|
+
return xt(e, n);
|
|
771
|
+
if (St(n))
|
|
772
|
+
return n.dayOfWeek.includes(e.getDay());
|
|
773
|
+
if (kt(n)) {
|
|
774
|
+
var a = R(n.before, e), r = R(n.after, e), o = a > 0, i = r < 0, l = ve(n.before, n.after);
|
|
775
|
+
return l ? i && o : o || i;
|
|
776
|
+
}
|
|
777
|
+
return Ct(n) ? R(e, n.after) > 0 : Ot(n) ? R(n.before, e) > 0 : typeof n == "function" ? n(e) : !1;
|
|
778
|
+
});
|
|
779
|
+
}
|
|
780
|
+
function De(e, t, n) {
|
|
781
|
+
var a = Object.keys(t).reduce(function(o, i) {
|
|
782
|
+
var l = t[i];
|
|
783
|
+
return Tt(e, l) && o.push(i), o;
|
|
784
|
+
}, []), r = {};
|
|
785
|
+
return a.forEach(function(o) {
|
|
786
|
+
return r[o] = !0;
|
|
787
|
+
}), n && !ye(e, n) && (r.outside = !0), r;
|
|
788
|
+
}
|
|
789
|
+
function It(e, t) {
|
|
790
|
+
for (var n = P(e[0]), a = me(e[e.length - 1]), r, o, i = n; i <= a; ) {
|
|
791
|
+
var l = De(i, t), s = !l.disabled && !l.hidden;
|
|
792
|
+
if (!s) {
|
|
793
|
+
i = S(i, 1);
|
|
794
|
+
continue;
|
|
795
|
+
}
|
|
796
|
+
if (l.selected)
|
|
797
|
+
return i;
|
|
798
|
+
l.today && !o && (o = i), r || (r = i), i = S(i, 1);
|
|
799
|
+
}
|
|
800
|
+
return o || r;
|
|
801
|
+
}
|
|
802
|
+
var Lt = 365;
|
|
803
|
+
function He(e, t) {
|
|
804
|
+
var n = t.moveBy, a = t.direction, r = t.context, o = t.modifiers, i = t.retry, l = i === void 0 ? { count: 0, lastFocused: e } : i, s = r.weekStartsOn, c = r.fromDate, u = r.toDate, f = r.locale, v = {
|
|
805
|
+
day: S,
|
|
806
|
+
week: fe,
|
|
807
|
+
month: I,
|
|
808
|
+
year: un,
|
|
809
|
+
startOfWeek: function(g) {
|
|
810
|
+
return r.ISOWeek ? B(g) : Y(g, { locale: f, weekStartsOn: s });
|
|
811
|
+
},
|
|
812
|
+
endOfWeek: function(g) {
|
|
813
|
+
return r.ISOWeek ? Te(g) : he(g, { locale: f, weekStartsOn: s });
|
|
814
|
+
}
|
|
815
|
+
}, m = v[n](e, a === "after" ? 1 : -1);
|
|
816
|
+
a === "before" && c ? m = dn([c, m]) : a === "after" && u && (m = cn([u, m]));
|
|
817
|
+
var h = !0;
|
|
818
|
+
if (o) {
|
|
819
|
+
var D = De(m, o);
|
|
820
|
+
h = !D.disabled && !D.hidden;
|
|
821
|
+
}
|
|
822
|
+
return h ? m : l.count > Lt ? l.lastFocused : He(m, {
|
|
823
|
+
moveBy: n,
|
|
824
|
+
direction: a,
|
|
825
|
+
context: r,
|
|
826
|
+
modifiers: o,
|
|
827
|
+
retry: p(p({}, l), { count: l.count + 1 })
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
var $e = j(void 0);
|
|
831
|
+
function Ft(e) {
|
|
832
|
+
var t = q(), n = je(), a = K(), r = a[0], o = a[1], i = K(), l = i[0], s = i[1], c = It(t.displayMonths, n), u = r ?? (l && t.isDateDisplayed(l)) ? l : c, f = function() {
|
|
833
|
+
s(r), o(void 0);
|
|
834
|
+
}, v = function(g) {
|
|
835
|
+
o(g);
|
|
836
|
+
}, m = w(), h = function(g, _) {
|
|
837
|
+
if (r) {
|
|
838
|
+
var k = He(r, {
|
|
839
|
+
moveBy: g,
|
|
840
|
+
direction: _,
|
|
841
|
+
context: m,
|
|
842
|
+
modifiers: n
|
|
843
|
+
});
|
|
844
|
+
x(r, k) || (t.goToDate(k, r), v(k));
|
|
845
|
+
}
|
|
846
|
+
}, D = {
|
|
847
|
+
focusedDay: r,
|
|
848
|
+
focusTarget: u,
|
|
849
|
+
blur: f,
|
|
850
|
+
focus: v,
|
|
851
|
+
focusDayAfter: function() {
|
|
852
|
+
return h("day", "after");
|
|
853
|
+
},
|
|
854
|
+
focusDayBefore: function() {
|
|
855
|
+
return h("day", "before");
|
|
856
|
+
},
|
|
857
|
+
focusWeekAfter: function() {
|
|
858
|
+
return h("week", "after");
|
|
859
|
+
},
|
|
860
|
+
focusWeekBefore: function() {
|
|
861
|
+
return h("week", "before");
|
|
862
|
+
},
|
|
863
|
+
focusMonthBefore: function() {
|
|
864
|
+
return h("month", "before");
|
|
865
|
+
},
|
|
866
|
+
focusMonthAfter: function() {
|
|
867
|
+
return h("month", "after");
|
|
868
|
+
},
|
|
869
|
+
focusYearBefore: function() {
|
|
870
|
+
return h("year", "before");
|
|
871
|
+
},
|
|
872
|
+
focusYearAfter: function() {
|
|
873
|
+
return h("year", "after");
|
|
874
|
+
},
|
|
875
|
+
focusStartOfWeek: function() {
|
|
876
|
+
return h("startOfWeek", "before");
|
|
877
|
+
},
|
|
878
|
+
focusEndOfWeek: function() {
|
|
879
|
+
return h("endOfWeek", "after");
|
|
880
|
+
}
|
|
881
|
+
};
|
|
882
|
+
return d($e.Provider, { value: D, children: e.children });
|
|
883
|
+
}
|
|
884
|
+
function Ne() {
|
|
885
|
+
var e = H($e);
|
|
886
|
+
if (!e)
|
|
887
|
+
throw new Error("useFocusContext must be used within a FocusProvider");
|
|
888
|
+
return e;
|
|
889
|
+
}
|
|
890
|
+
function Yt(e, t) {
|
|
891
|
+
var n = je(), a = De(e, n, t);
|
|
892
|
+
return a;
|
|
893
|
+
}
|
|
894
|
+
var we = j(void 0);
|
|
895
|
+
function Et(e) {
|
|
896
|
+
if (!ee(e.initialProps)) {
|
|
897
|
+
var t = {
|
|
898
|
+
selected: void 0
|
|
899
|
+
};
|
|
900
|
+
return d(we.Provider, { value: t, children: e.children });
|
|
901
|
+
}
|
|
902
|
+
return d(Rt, { initialProps: e.initialProps, children: e.children });
|
|
903
|
+
}
|
|
904
|
+
function Rt(e) {
|
|
905
|
+
var t = e.initialProps, n = e.children, a = function(o, i, l) {
|
|
906
|
+
var s, c, u;
|
|
907
|
+
if ((s = t.onDayClick) === null || s === void 0 || s.call(t, o, i, l), i.selected && !t.required) {
|
|
908
|
+
(c = t.onSelect) === null || c === void 0 || c.call(t, void 0, o, i, l);
|
|
909
|
+
return;
|
|
910
|
+
}
|
|
911
|
+
(u = t.onSelect) === null || u === void 0 || u.call(t, o, o, i, l);
|
|
912
|
+
}, r = {
|
|
913
|
+
selected: t.selected,
|
|
914
|
+
onDayClick: a
|
|
915
|
+
};
|
|
916
|
+
return d(we.Provider, { value: r, children: n });
|
|
917
|
+
}
|
|
918
|
+
function Ae() {
|
|
919
|
+
var e = H(we);
|
|
920
|
+
if (!e)
|
|
921
|
+
throw new Error("useSelectSingle must be used within a SelectSingleProvider");
|
|
922
|
+
return e;
|
|
923
|
+
}
|
|
924
|
+
function Bt(e, t) {
|
|
925
|
+
var n = w(), a = Ae(), r = ge(), o = _e(), i = Ne(), l = i.focusDayAfter, s = i.focusDayBefore, c = i.focusWeekAfter, u = i.focusWeekBefore, f = i.blur, v = i.focus, m = i.focusMonthBefore, h = i.focusMonthAfter, D = i.focusYearBefore, g = i.focusYearAfter, _ = i.focusStartOfWeek, k = i.focusEndOfWeek, $ = function(b) {
|
|
926
|
+
var y, ae, re, oe;
|
|
927
|
+
ee(n) ? (y = a.onDayClick) === null || y === void 0 || y.call(a, e, t, b) : V(n) ? (ae = r.onDayClick) === null || ae === void 0 || ae.call(r, e, t, b) : z(n) ? (re = o.onDayClick) === null || re === void 0 || re.call(o, e, t, b) : (oe = n.onDayClick) === null || oe === void 0 || oe.call(n, e, t, b);
|
|
928
|
+
}, ne = function(b) {
|
|
929
|
+
var y;
|
|
930
|
+
v(e), (y = n.onDayFocus) === null || y === void 0 || y.call(n, e, t, b);
|
|
931
|
+
}, te = function(b) {
|
|
932
|
+
var y;
|
|
933
|
+
f(), (y = n.onDayBlur) === null || y === void 0 || y.call(n, e, t, b);
|
|
934
|
+
}, A = function(b) {
|
|
935
|
+
var y;
|
|
936
|
+
(y = n.onDayMouseEnter) === null || y === void 0 || y.call(n, e, t, b);
|
|
937
|
+
}, Ue = function(b) {
|
|
938
|
+
var y;
|
|
939
|
+
(y = n.onDayMouseLeave) === null || y === void 0 || y.call(n, e, t, b);
|
|
940
|
+
}, Ve = function(b) {
|
|
941
|
+
var y;
|
|
942
|
+
(y = n.onDayPointerEnter) === null || y === void 0 || y.call(n, e, t, b);
|
|
943
|
+
}, ze = function(b) {
|
|
944
|
+
var y;
|
|
945
|
+
(y = n.onDayPointerLeave) === null || y === void 0 || y.call(n, e, t, b);
|
|
946
|
+
}, qe = function(b) {
|
|
947
|
+
var y;
|
|
948
|
+
(y = n.onDayTouchCancel) === null || y === void 0 || y.call(n, e, t, b);
|
|
949
|
+
}, Je = function(b) {
|
|
950
|
+
var y;
|
|
951
|
+
(y = n.onDayTouchEnd) === null || y === void 0 || y.call(n, e, t, b);
|
|
952
|
+
}, Ze = function(b) {
|
|
953
|
+
var y;
|
|
954
|
+
(y = n.onDayTouchMove) === null || y === void 0 || y.call(n, e, t, b);
|
|
955
|
+
}, Ge = function(b) {
|
|
956
|
+
var y;
|
|
957
|
+
(y = n.onDayTouchStart) === null || y === void 0 || y.call(n, e, t, b);
|
|
958
|
+
}, Xe = function(b) {
|
|
959
|
+
var y;
|
|
960
|
+
(y = n.onDayKeyUp) === null || y === void 0 || y.call(n, e, t, b);
|
|
961
|
+
}, Qe = function(b) {
|
|
962
|
+
var y;
|
|
963
|
+
switch (b.key) {
|
|
964
|
+
case "ArrowLeft":
|
|
965
|
+
b.preventDefault(), b.stopPropagation(), n.dir === "rtl" ? l() : s();
|
|
966
|
+
break;
|
|
967
|
+
case "ArrowRight":
|
|
968
|
+
b.preventDefault(), b.stopPropagation(), n.dir === "rtl" ? s() : l();
|
|
969
|
+
break;
|
|
970
|
+
case "ArrowDown":
|
|
971
|
+
b.preventDefault(), b.stopPropagation(), c();
|
|
972
|
+
break;
|
|
973
|
+
case "ArrowUp":
|
|
974
|
+
b.preventDefault(), b.stopPropagation(), u();
|
|
975
|
+
break;
|
|
976
|
+
case "PageUp":
|
|
977
|
+
b.preventDefault(), b.stopPropagation(), b.shiftKey ? D() : m();
|
|
978
|
+
break;
|
|
979
|
+
case "PageDown":
|
|
980
|
+
b.preventDefault(), b.stopPropagation(), b.shiftKey ? g() : h();
|
|
981
|
+
break;
|
|
982
|
+
case "Home":
|
|
983
|
+
b.preventDefault(), b.stopPropagation(), _();
|
|
984
|
+
break;
|
|
985
|
+
case "End":
|
|
986
|
+
b.preventDefault(), b.stopPropagation(), k();
|
|
987
|
+
break;
|
|
988
|
+
}
|
|
989
|
+
(y = n.onDayKeyDown) === null || y === void 0 || y.call(n, e, t, b);
|
|
990
|
+
}, en = {
|
|
991
|
+
onClick: $,
|
|
992
|
+
onFocus: ne,
|
|
993
|
+
onBlur: te,
|
|
994
|
+
onKeyDown: Qe,
|
|
995
|
+
onKeyUp: Xe,
|
|
996
|
+
onMouseEnter: A,
|
|
997
|
+
onMouseLeave: Ue,
|
|
998
|
+
onPointerEnter: Ve,
|
|
999
|
+
onPointerLeave: ze,
|
|
1000
|
+
onTouchCancel: qe,
|
|
1001
|
+
onTouchEnd: Je,
|
|
1002
|
+
onTouchMove: Ze,
|
|
1003
|
+
onTouchStart: Ge
|
|
1004
|
+
};
|
|
1005
|
+
return en;
|
|
1006
|
+
}
|
|
1007
|
+
function jt() {
|
|
1008
|
+
var e = w(), t = Ae(), n = ge(), a = _e(), r = ee(e) ? t.selected : V(e) ? n.selected : z(e) ? a.selected : void 0;
|
|
1009
|
+
return r;
|
|
1010
|
+
}
|
|
1011
|
+
function Ht(e) {
|
|
1012
|
+
return Object.values(L).includes(e);
|
|
1013
|
+
}
|
|
1014
|
+
function $t(e, t) {
|
|
1015
|
+
var n = [e.classNames.day];
|
|
1016
|
+
return Object.keys(t).forEach(function(a) {
|
|
1017
|
+
var r = e.modifiersClassNames[a];
|
|
1018
|
+
if (r)
|
|
1019
|
+
n.push(r);
|
|
1020
|
+
else if (Ht(a)) {
|
|
1021
|
+
var o = e.classNames["day_".concat(a)];
|
|
1022
|
+
o && n.push(o);
|
|
1023
|
+
}
|
|
1024
|
+
}), n;
|
|
1025
|
+
}
|
|
1026
|
+
function At(e, t) {
|
|
1027
|
+
var n = p({}, e.styles.day);
|
|
1028
|
+
return Object.keys(t).forEach(function(a) {
|
|
1029
|
+
var r;
|
|
1030
|
+
n = p(p({}, n), (r = e.modifiersStyles) === null || r === void 0 ? void 0 : r[a]);
|
|
1031
|
+
}), n;
|
|
1032
|
+
}
|
|
1033
|
+
function Kt(e, t, n) {
|
|
1034
|
+
var a, r, o, i = w(), l = Ne(), s = Yt(e, t), c = Bt(e, s), u = jt(), f = !!(i.onDayClick || i.mode !== "default");
|
|
1035
|
+
X(function() {
|
|
1036
|
+
var A;
|
|
1037
|
+
s.outside || l.focusedDay && f && x(l.focusedDay, e) && ((A = n.current) === null || A === void 0 || A.focus());
|
|
1038
|
+
}, [
|
|
1039
|
+
l.focusedDay,
|
|
1040
|
+
e,
|
|
1041
|
+
n,
|
|
1042
|
+
f,
|
|
1043
|
+
s.outside
|
|
1044
|
+
]);
|
|
1045
|
+
var v = $t(i, s).join(" "), m = At(i, s), h = !!(s.outside && !i.showOutsideDays || s.hidden), D = (o = (r = i.components) === null || r === void 0 ? void 0 : r.DayContent) !== null && o !== void 0 ? o : ct, g = d(D, { date: e, displayMonth: t, activeModifiers: s }), _ = {
|
|
1046
|
+
style: m,
|
|
1047
|
+
className: v,
|
|
1048
|
+
children: g,
|
|
1049
|
+
role: "gridcell"
|
|
1050
|
+
}, k = l.focusTarget && x(l.focusTarget, e) && !s.outside, $ = l.focusedDay && x(l.focusedDay, e), ne = p(p(p({}, _), (a = { disabled: s.disabled, role: "gridcell" }, a["aria-selected"] = s.selected, a.tabIndex = $ || k ? 0 : -1, a)), c), te = {
|
|
1051
|
+
isButton: f,
|
|
1052
|
+
isHidden: h,
|
|
1053
|
+
activeModifiers: s,
|
|
1054
|
+
selectedDays: u,
|
|
1055
|
+
buttonProps: ne,
|
|
1056
|
+
divProps: _
|
|
1057
|
+
};
|
|
1058
|
+
return te;
|
|
1059
|
+
}
|
|
1060
|
+
function Ut(e) {
|
|
1061
|
+
var t = an(null), n = Kt(e.date, e.displayMonth, t);
|
|
1062
|
+
return n.isHidden ? d("div", { role: "gridcell" }) : n.isButton ? d(G, p({ name: "day", ref: t }, n.buttonProps)) : d("div", p({}, n.divProps));
|
|
1063
|
+
}
|
|
1064
|
+
function Vt(e) {
|
|
1065
|
+
var t = e.number, n = e.dates, a = w(), r = a.onWeekNumberClick, o = a.styles, i = a.classNames, l = a.locale, s = a.labels.labelWeekNumber, c = a.formatters.formatWeekNumber, u = c(Number(t), { locale: l });
|
|
1066
|
+
if (!r)
|
|
1067
|
+
return d("span", { className: i.weeknumber, style: o.weeknumber, children: u });
|
|
1068
|
+
var f = s(Number(t), { locale: l }), v = function(m) {
|
|
1069
|
+
r(t, n, m);
|
|
1070
|
+
};
|
|
1071
|
+
return d(G, { name: "week-number", "aria-label": f, className: i.weeknumber, style: o.weeknumber, onClick: v, children: u });
|
|
1072
|
+
}
|
|
1073
|
+
function zt(e) {
|
|
1074
|
+
var t, n, a = w(), r = a.styles, o = a.classNames, i = a.showWeekNumber, l = a.components, s = (t = l == null ? void 0 : l.Day) !== null && t !== void 0 ? t : Ut, c = (n = l == null ? void 0 : l.WeekNumber) !== null && n !== void 0 ? n : Vt, u;
|
|
1075
|
+
return i && (u = d("td", { className: o.cell, style: r.cell, children: d(c, { number: e.weekNumber, dates: e.dates }) })), O("tr", { className: o.row, style: r.row, children: [u, e.dates.map(function(f) {
|
|
1076
|
+
return d("td", { className: o.cell, style: r.cell, role: "presentation", children: d(s, { displayMonth: e.displayMonth, date: f }) }, bn(f));
|
|
1077
|
+
})] });
|
|
1078
|
+
}
|
|
1079
|
+
function Se(e, t, n) {
|
|
1080
|
+
for (var a = n != null && n.ISOWeek ? Te(t) : he(t, n), r = n != null && n.ISOWeek ? B(e) : Y(e, n), o = R(a, r), i = [], l = 0; l <= o; l++)
|
|
1081
|
+
i.push(S(r, l));
|
|
1082
|
+
var s = i.reduce(function(c, u) {
|
|
1083
|
+
var f = n != null && n.ISOWeek ? pn(u) : wn(u, n), v = c.find(function(m) {
|
|
1084
|
+
return m.weekNumber === f;
|
|
1085
|
+
});
|
|
1086
|
+
return v ? (v.dates.push(u), c) : (c.push({
|
|
1087
|
+
weekNumber: f,
|
|
1088
|
+
dates: [u]
|
|
1089
|
+
}), c);
|
|
1090
|
+
}, []);
|
|
1091
|
+
return s;
|
|
1092
|
+
}
|
|
1093
|
+
function qt(e, t) {
|
|
1094
|
+
var n = Se(P(e), me(e), t);
|
|
1095
|
+
if (t != null && t.useFixedWeeks) {
|
|
1096
|
+
var a = Mn(e, t);
|
|
1097
|
+
if (a < 6) {
|
|
1098
|
+
var r = n[n.length - 1], o = r.dates[r.dates.length - 1], i = fe(o, 6 - a), l = Se(fe(o, 1), i, t);
|
|
1099
|
+
n.push.apply(n, l);
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
return n;
|
|
1103
|
+
}
|
|
1104
|
+
function Jt(e) {
|
|
1105
|
+
var t, n, a, r = w(), o = r.locale, i = r.classNames, l = r.styles, s = r.hideHead, c = r.fixedWeeks, u = r.components, f = r.weekStartsOn, v = r.firstWeekContainsDate, m = r.ISOWeek, h = qt(e.displayMonth, {
|
|
1106
|
+
useFixedWeeks: !!c,
|
|
1107
|
+
ISOWeek: m,
|
|
1108
|
+
locale: o,
|
|
1109
|
+
weekStartsOn: f,
|
|
1110
|
+
firstWeekContainsDate: v
|
|
1111
|
+
}), D = (t = u == null ? void 0 : u.Head) !== null && t !== void 0 ? t : dt, g = (n = u == null ? void 0 : u.Row) !== null && n !== void 0 ? n : zt, _ = (a = u == null ? void 0 : u.Footer) !== null && a !== void 0 ? a : lt;
|
|
1112
|
+
return O("table", { id: e.id, className: i.table, style: l.table, role: "grid", "aria-labelledby": e["aria-labelledby"], children: [!s && d(D, {}), d("tbody", { className: i.tbody, style: l.tbody, children: h.map(function(k) {
|
|
1113
|
+
return d(g, { displayMonth: e.displayMonth, dates: k.dates, weekNumber: k.weekNumber }, k.weekNumber);
|
|
1114
|
+
}) }), d(_, { displayMonth: e.displayMonth })] });
|
|
1115
|
+
}
|
|
1116
|
+
function Zt() {
|
|
1117
|
+
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
1118
|
+
}
|
|
1119
|
+
var Gt = Zt() ? tn : X, ce = !1, Xt = 0;
|
|
1120
|
+
function xe() {
|
|
1121
|
+
return "react-day-picker-".concat(++Xt);
|
|
1122
|
+
}
|
|
1123
|
+
function Qt(e) {
|
|
1124
|
+
var t, n = e ?? (ce ? xe() : null), a = K(n), r = a[0], o = a[1];
|
|
1125
|
+
return Gt(function() {
|
|
1126
|
+
r === null && o(xe());
|
|
1127
|
+
}, []), X(function() {
|
|
1128
|
+
ce === !1 && (ce = !0);
|
|
1129
|
+
}, []), (t = e ?? r) !== null && t !== void 0 ? t : void 0;
|
|
1130
|
+
}
|
|
1131
|
+
function ea(e) {
|
|
1132
|
+
var t, n, a = w(), r = a.dir, o = a.classNames, i = a.styles, l = a.components, s = q().displayMonths, c = Qt(a.id ? "".concat(a.id, "-").concat(e.displayIndex) : void 0), u = a.id ? "".concat(a.id, "-grid-").concat(e.displayIndex) : void 0, f = [o.month], v = i.month, m = e.displayIndex === 0, h = e.displayIndex === s.length - 1, D = !m && !h;
|
|
1133
|
+
r === "rtl" && (t = [m, h], h = t[0], m = t[1]), m && (f.push(o.caption_start), v = p(p({}, v), i.caption_start)), h && (f.push(o.caption_end), v = p(p({}, v), i.caption_end)), D && (f.push(o.caption_between), v = p(p({}, v), i.caption_between));
|
|
1134
|
+
var g = (n = l == null ? void 0 : l.Caption) !== null && n !== void 0 ? n : it;
|
|
1135
|
+
return O("div", { className: f.join(" "), style: v, children: [d(g, { id: c, displayMonth: e.displayMonth, displayIndex: e.displayIndex }), d(Jt, { id: u, "aria-labelledby": c, displayMonth: e.displayMonth })] }, e.displayIndex);
|
|
1136
|
+
}
|
|
1137
|
+
function na(e) {
|
|
1138
|
+
var t = w(), n = t.classNames, a = t.styles;
|
|
1139
|
+
return d("div", { className: n.months, style: a.months, children: e.children });
|
|
1140
|
+
}
|
|
1141
|
+
function ta(e) {
|
|
1142
|
+
var t, n, a = e.initialProps, r = w(), o = Ne(), i = q(), l = K(!1), s = l[0], c = l[1];
|
|
1143
|
+
X(function() {
|
|
1144
|
+
r.initialFocus && o.focusTarget && (s || (o.focus(o.focusTarget), c(!0)));
|
|
1145
|
+
}, [
|
|
1146
|
+
r.initialFocus,
|
|
1147
|
+
s,
|
|
1148
|
+
o.focus,
|
|
1149
|
+
o.focusTarget,
|
|
1150
|
+
o
|
|
1151
|
+
]);
|
|
1152
|
+
var u = [r.classNames.root, r.className];
|
|
1153
|
+
r.numberOfMonths > 1 && u.push(r.classNames.multiple_months), r.showWeekNumber && u.push(r.classNames.with_weeknumber);
|
|
1154
|
+
var f = p(p({}, r.styles.root), r.style), v = Object.keys(a).filter(function(h) {
|
|
1155
|
+
return h.startsWith("data-");
|
|
1156
|
+
}).reduce(function(h, D) {
|
|
1157
|
+
var g;
|
|
1158
|
+
return p(p({}, h), (g = {}, g[D] = a[D], g));
|
|
1159
|
+
}, {}), m = (n = (t = a.components) === null || t === void 0 ? void 0 : t.Months) !== null && n !== void 0 ? n : na;
|
|
1160
|
+
return d("div", p({ className: u.join(" "), style: f, dir: r.dir, id: r.id, nonce: a.nonce, title: a.title, lang: a.lang }, v, { children: d(m, { children: i.displayMonths.map(function(h, D) {
|
|
1161
|
+
return d(ea, { displayIndex: D, displayMonth: h }, D);
|
|
1162
|
+
}) }) }));
|
|
1163
|
+
}
|
|
1164
|
+
function aa(e) {
|
|
1165
|
+
var t = e.children, n = On(e, ["children"]);
|
|
1166
|
+
return d(Vn, { initialProps: n, children: d(tt, { children: d(Et, { initialProps: n, children: d(ft, { initialProps: n, children: d(ht, { initialProps: n, children: d(wt, { children: d(Ft, { children: t }) }) }) }) }) }) });
|
|
1167
|
+
}
|
|
1168
|
+
function ra(e) {
|
|
1169
|
+
return d(aa, p({}, e, { children: d(ta, { initialProps: e }) }));
|
|
1170
|
+
}
|
|
1171
|
+
const oa = on.base, ia = "date-picker", Ke = ({
|
|
1172
|
+
id: e,
|
|
1173
|
+
className: t,
|
|
1174
|
+
style: n,
|
|
1175
|
+
mode: a,
|
|
1176
|
+
selected: r,
|
|
1177
|
+
setSelection: o,
|
|
1178
|
+
fromMonth: i,
|
|
1179
|
+
toDate: l,
|
|
1180
|
+
customFooter: s,
|
|
1181
|
+
timeFrom: c,
|
|
1182
|
+
setTimeFrom: u,
|
|
1183
|
+
timeTo: f,
|
|
1184
|
+
setTimeTo: v,
|
|
1185
|
+
dateFormat: m,
|
|
1186
|
+
showDebugger: h,
|
|
1187
|
+
...D
|
|
1188
|
+
}) => {
|
|
1189
|
+
const g = (_) => a === "single" ? W(_, m) : a === "multiple" ? _.map((k) => W(k, m)).join(", ") : a === "range" ? _.from && _.to ? `${W(_.from, m)} - ${W(_.to, m)}` : "Please pick an additional day." : null;
|
|
1190
|
+
return /* @__PURE__ */ O(
|
|
1191
|
+
"div",
|
|
1192
|
+
{
|
|
1193
|
+
id: e,
|
|
1194
|
+
className: [
|
|
1195
|
+
oa,
|
|
1196
|
+
ia,
|
|
1197
|
+
t
|
|
1198
|
+
].filter((_) => _).join(" "),
|
|
1199
|
+
style: n,
|
|
1200
|
+
children: [
|
|
1201
|
+
/* @__PURE__ */ d(
|
|
1202
|
+
ra,
|
|
1203
|
+
{
|
|
1204
|
+
mode: a,
|
|
1205
|
+
selected: r,
|
|
1206
|
+
onSelect: o,
|
|
1207
|
+
fromMonth: i,
|
|
1208
|
+
toDate: l,
|
|
1209
|
+
showOutsideDays: !0,
|
|
1210
|
+
footer: s || /* @__PURE__ */ O("div", { className: "default-footer", children: [
|
|
1211
|
+
u && /* @__PURE__ */ O(T, { children: [
|
|
1212
|
+
/* @__PURE__ */ O("p", { className: "time-label s-1", children: [
|
|
1213
|
+
/* @__PURE__ */ d("span", { className: "icon", children: "C" }),
|
|
1214
|
+
" Time"
|
|
1215
|
+
] }),
|
|
1216
|
+
/* @__PURE__ */ O("div", { className: `time-inputs${f ? " multiple" : ""}`, children: [
|
|
1217
|
+
/* @__PURE__ */ d("input", { className: "s-1", type: "time", value: c, onChange: (_) => u(_.target.value) }),
|
|
1218
|
+
v && /* @__PURE__ */ O(T, { children: [
|
|
1219
|
+
/* @__PURE__ */ d("span", { className: "icon s-2", children: "r" }),
|
|
1220
|
+
/* @__PURE__ */ d("input", { className: "s-1", type: "time", value: f, onChange: (_) => v(_.target.value) })
|
|
1221
|
+
] })
|
|
1222
|
+
] })
|
|
1223
|
+
] }),
|
|
1224
|
+
/* @__PURE__ */ d("p", { className: "s-1 footer-text", children: r && g(r) })
|
|
1225
|
+
] }),
|
|
1226
|
+
...D
|
|
1227
|
+
}
|
|
1228
|
+
),
|
|
1229
|
+
h && /* @__PURE__ */ d("div", { className: "debugger", children: /* @__PURE__ */ d("pre", { children: JSON.stringify(r, null, 2) }) })
|
|
1230
|
+
]
|
|
1231
|
+
}
|
|
1232
|
+
);
|
|
1233
|
+
};
|
|
1234
|
+
Ke.propTypes = {
|
|
1235
|
+
/**
|
|
1236
|
+
* The HTML id for this element
|
|
1237
|
+
*/
|
|
1238
|
+
id: C.string,
|
|
1239
|
+
/**
|
|
1240
|
+
* The HTML class names for this element
|
|
1241
|
+
*/
|
|
1242
|
+
className: C.string,
|
|
1243
|
+
/**
|
|
1244
|
+
* The React-written, css properties for this element.
|
|
1245
|
+
*/
|
|
1246
|
+
style: C.objectOf(C.string),
|
|
1247
|
+
/**
|
|
1248
|
+
* The mode for this date picker.
|
|
1249
|
+
*/
|
|
1250
|
+
mode: C.oneOf(["single", "multiple", "range"]),
|
|
1251
|
+
/**
|
|
1252
|
+
* The current selection.
|
|
1253
|
+
*/
|
|
1254
|
+
// eslint-disable-next-line react/forbid-prop-types
|
|
1255
|
+
selected: C.objectOf(C.any).isRequired,
|
|
1256
|
+
/**
|
|
1257
|
+
* The function to update the selection.
|
|
1258
|
+
*/
|
|
1259
|
+
setSelection: C.func.isRequired,
|
|
1260
|
+
/**
|
|
1261
|
+
* The earliest month to display.
|
|
1262
|
+
*/
|
|
1263
|
+
fromMonth: C.instanceOf(Date),
|
|
1264
|
+
/**
|
|
1265
|
+
* The latest month to display.
|
|
1266
|
+
*/
|
|
1267
|
+
toDate: C.instanceOf(Date),
|
|
1268
|
+
/**
|
|
1269
|
+
* Custom footer component.
|
|
1270
|
+
*/
|
|
1271
|
+
customFooter: C.node,
|
|
1272
|
+
/**
|
|
1273
|
+
* The start time.
|
|
1274
|
+
*/
|
|
1275
|
+
timeFrom: C.string,
|
|
1276
|
+
/**
|
|
1277
|
+
* The function to update the start time.
|
|
1278
|
+
*/
|
|
1279
|
+
setTimeFrom: C.func,
|
|
1280
|
+
/**
|
|
1281
|
+
* The end time.
|
|
1282
|
+
*/
|
|
1283
|
+
timeTo: C.string,
|
|
1284
|
+
/**
|
|
1285
|
+
* The function to update the end time.
|
|
1286
|
+
*/
|
|
1287
|
+
setTimeTo: C.func,
|
|
1288
|
+
/**
|
|
1289
|
+
* The date format.
|
|
1290
|
+
*/
|
|
1291
|
+
dateFormat: C.string,
|
|
1292
|
+
/**
|
|
1293
|
+
* Show the debugger.
|
|
1294
|
+
*/
|
|
1295
|
+
showDebugger: C.bool
|
|
1296
|
+
};
|
|
1297
|
+
Ke.defaultProps = {
|
|
1298
|
+
mode: "single",
|
|
1299
|
+
dateFormat: "PPP",
|
|
1300
|
+
showDebugger: !1
|
|
1301
|
+
};
|
|
1302
|
+
export {
|
|
1303
|
+
Ke as D,
|
|
1304
|
+
ie as s
|
|
1305
|
+
};
|