intergalactic 15.126.0 → 15.126.1-prerelease.2
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/CHANGELOG.md +10 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/lib/esm/Accordion.mjs +72 -72
- package/accordion/package.json +1 -1
- package/add-filter/package.json +1 -1
- package/animation/lib/cjs/Animation.js +11 -11
- package/animation/lib/cjs/Collapse.js +28 -28
- package/animation/lib/cjs/FadeInOut.js +28 -28
- package/animation/lib/cjs/Scale.js +28 -28
- package/animation/lib/cjs/Slide.js +28 -28
- package/animation/lib/cjs/Transform.js +28 -28
- package/animation/lib/es6/Animation.js +11 -11
- package/animation/lib/es6/Collapse.js +28 -28
- package/animation/lib/es6/FadeInOut.js +28 -28
- package/animation/lib/es6/Scale.js +28 -28
- package/animation/lib/es6/Slide.js +28 -28
- package/animation/lib/es6/Transform.js +28 -28
- package/animation/lib/esm/Animation.mjs +39 -39
- package/animation/lib/esm/Collapse.mjs +47 -47
- package/animation/lib/esm/FadeInOut.mjs +36 -36
- package/animation/lib/esm/Scale.mjs +49 -49
- package/animation/lib/esm/Slide.mjs +37 -37
- package/animation/lib/esm/Transform.mjs +40 -40
- package/animation/package.json +1 -1
- package/badge/lib/cjs/Badge.js +6 -6
- package/badge/lib/es6/Badge.js +6 -6
- package/badge/lib/esm/Badge.mjs +28 -28
- package/badge/package.json +1 -1
- package/base-trigger/lib/cjs/BaseTrigger.js +18 -18
- package/base-trigger/lib/cjs/ButtonTrigger.js +3 -3
- package/base-trigger/lib/cjs/FilterTrigger.js +7 -7
- package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
- package/base-trigger/lib/es6/BaseTrigger.js +18 -18
- package/base-trigger/lib/es6/ButtonTrigger.js +3 -3
- package/base-trigger/lib/es6/FilterTrigger.js +7 -7
- package/base-trigger/lib/es6/LinkTrigger.js +12 -12
- package/base-trigger/lib/esm/BaseTrigger.mjs +53 -53
- package/base-trigger/lib/esm/ButtonTrigger.mjs +13 -13
- package/base-trigger/lib/esm/FilterTrigger.mjs +62 -62
- package/base-trigger/lib/esm/LinkTrigger.mjs +41 -41
- package/base-trigger/package.json +1 -1
- package/breadcrumbs/lib/cjs/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/es6/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/esm/Breadcrumbs.mjs +42 -42
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js +12 -12
- package/bulk-textarea/lib/es6/components/InputField/InputField.js +12 -12
- package/bulk-textarea/lib/esm/components/InputField/InputField.mjs +83 -83
- package/bulk-textarea/package.json +1 -1
- package/button/lib/cjs/component/Button/Button.js +27 -27
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/es6/component/Button/Button.js +27 -27
- package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/esm/component/Button/Button.mjs +61 -61
- package/button/lib/esm/component/ButtonLink/ButtonLink.mjs +58 -58
- package/button/package.json +1 -1
- package/card/lib/cjs/Card.js +6 -6
- package/card/lib/es6/Card.js +6 -6
- package/card/lib/esm/Card.mjs +49 -49
- package/card/package.json +1 -1
- package/carousel/lib/cjs/Carousel.js +21 -21
- package/carousel/lib/es6/Carousel.js +21 -21
- package/carousel/lib/esm/Carousel.mjs +155 -155
- package/carousel/package.json +1 -1
- package/checkbox/lib/cjs/Checkbox.js +18 -18
- package/checkbox/lib/es6/Checkbox.js +18 -18
- package/checkbox/lib/esm/Checkbox.mjs +126 -126
- package/checkbox/package.json +1 -1
- package/color-picker/lib/cjs/ColorPicker.js +24 -24
- package/color-picker/lib/cjs/PaletteManager.js +24 -24
- package/color-picker/lib/cjs/components/InputColor.js +24 -24
- package/color-picker/lib/es6/ColorPicker.js +24 -24
- package/color-picker/lib/es6/PaletteManager.js +24 -24
- package/color-picker/lib/es6/components/InputColor.js +24 -24
- package/color-picker/lib/esm/ColorPicker.mjs +87 -87
- package/color-picker/lib/esm/PaletteManager.mjs +74 -74
- package/color-picker/lib/esm/components/InputColor.mjs +75 -75
- package/color-picker/package.json +1 -1
- package/components.json +75 -75
- package/core/package.json +1 -1
- package/counter/lib/cjs/Counter.js +11 -11
- package/counter/lib/es6/Counter.js +11 -11
- package/counter/lib/esm/Counter.mjs +38 -38
- package/counter/package.json +1 -1
- package/d3-chart/lib/cjs/Area.js +11 -11
- package/d3-chart/lib/cjs/Axis.js +14 -14
- package/d3-chart/lib/cjs/Bar.js +16 -16
- package/d3-chart/lib/cjs/Bubble.js +12 -12
- package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Donut.js +9 -9
- package/d3-chart/lib/cjs/Dots.js +8 -8
- package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Hover.js +3 -3
- package/d3-chart/lib/cjs/Line.js +9 -9
- package/d3-chart/lib/cjs/Plot.js +3 -3
- package/d3-chart/lib/cjs/Radar.js +19 -19
- package/d3-chart/lib/cjs/RadialTree.js +12 -12
- package/d3-chart/lib/cjs/Reference.js +12 -12
- package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
- package/d3-chart/lib/cjs/Tooltip.js +9 -9
- package/d3-chart/lib/cjs/Venn.js +9 -9
- package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/es6/Area.js +11 -11
- package/d3-chart/lib/es6/Axis.js +14 -14
- package/d3-chart/lib/es6/Bar.js +16 -16
- package/d3-chart/lib/es6/Bubble.js +12 -12
- package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Donut.js +9 -9
- package/d3-chart/lib/es6/Dots.js +8 -8
- package/d3-chart/lib/es6/HorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Hover.js +3 -3
- package/d3-chart/lib/es6/Line.js +9 -9
- package/d3-chart/lib/es6/Plot.js +3 -3
- package/d3-chart/lib/es6/Radar.js +19 -19
- package/d3-chart/lib/es6/RadialTree.js +12 -12
- package/d3-chart/lib/es6/Reference.js +12 -12
- package/d3-chart/lib/es6/ScatterPlot.js +9 -9
- package/d3-chart/lib/es6/Tooltip.js +9 -9
- package/d3-chart/lib/es6/Venn.js +9 -9
- package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/esm/semcore/d3-chart/src/Area.mjs +70 -70
- package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +120 -120
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +59 -59
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +101 -101
- package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +113 -113
- package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +132 -132
- package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +58 -58
- package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +52 -52
- package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +51 -51
- package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +79 -79
- package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +33 -33
- package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +195 -195
- package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +92 -92
- package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +96 -96
- package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +60 -60
- package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +35 -35
- package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +57 -57
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yModule.mjs +28 -28
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yView.mjs +36 -36
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +26 -26
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +79 -79
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendTable/LegendTable.mjs +43 -43
- package/d3-chart/package.json +1 -1
- package/data-table/lib/cjs/Body.js +3 -3
- package/data-table/lib/cjs/DataTable.js +36 -36
- package/data-table/lib/es6/Body.js +3 -3
- package/data-table/lib/es6/DataTable.js +36 -36
- package/data-table/lib/esm/Body.mjs +53 -53
- package/data-table/lib/esm/DataTable.mjs +229 -229
- package/data-table/package.json +1 -1
- package/date-picker/lib/cjs/components/Calendar.js +21 -21
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
- package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
- package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/es6/components/InputTrigger.js +29 -29
- package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/esm/semcore/date-picker/src/components/Calendar.mjs +147 -147
- package/date-picker/lib/esm/semcore/date-picker/src/components/DateRangeComparatorAbstract.mjs +191 -191
- package/date-picker/lib/esm/semcore/date-picker/src/components/InputTrigger.mjs +209 -209
- package/date-picker/lib/esm/semcore/date-picker/src/components/PickerAbstract.mjs +109 -109
- package/date-picker/lib/esm/semcore/date-picker/src/components/RangePickerAbstract.mjs +144 -144
- package/date-picker/package.json +1 -1
- package/divider/lib/cjs/Divider.js +10 -10
- package/divider/lib/es6/Divider.js +10 -10
- package/divider/lib/esm/Divider.mjs +34 -34
- package/divider/package.json +1 -1
- package/dot/lib/cjs/Dot.js +10 -10
- package/dot/lib/es6/Dot.js +10 -10
- package/dot/lib/esm/Dot.mjs +41 -41
- package/dot/package.json +1 -1
- package/drag-and-drop/lib/cjs/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/es6/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/esm/DragAndDrop.mjs +171 -171
- package/drag-and-drop/package.json +1 -1
- package/dropdown/lib/cjs/Dropdown.js +16 -16
- package/dropdown/lib/es6/Dropdown.js +16 -16
- package/dropdown/lib/esm/Dropdown.mjs +99 -99
- package/dropdown/package.json +1 -1
- package/dropdown-menu/lib/cjs/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/es6/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/esm/DropdownMenu.mjs +162 -162
- package/dropdown-menu/package.json +1 -1
- package/ellipsis/lib/cjs/Ellipsis.js +10 -10
- package/ellipsis/lib/es6/Ellipsis.js +10 -10
- package/ellipsis/lib/esm/Ellipsis.mjs +96 -96
- package/ellipsis/package.json +1 -1
- package/errors/lib/cjs/Error.js +9 -9
- package/errors/lib/es6/Error.js +9 -9
- package/errors/lib/esm/Error.mjs +29 -29
- package/errors/package.json +1 -1
- package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
- package/feature-popover/lib/es6/FeaturePopover.js +11 -11
- package/feature-popover/lib/esm/FeaturePopover.mjs +74 -74
- package/feature-popover/package.json +1 -1
- package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
- package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +7 -7
- package/feedback-form/lib/es6/FeedbackForm.js +7 -7
- package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +7 -7
- package/feedback-form/lib/esm/FeedbackForm.mjs +28 -28
- package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +25 -25
- package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +54 -54
- package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +49 -49
- package/feedback-form/package.json +1 -1
- package/flags/lib/cjs/Flags.js +3 -3
- package/flags/lib/es6/Flags.js +3 -3
- package/flags/lib/sprites/sprite@1x.css +256 -256
- package/flags/lib/sprites/sprite@2x.css +257 -257
- package/flags/package.json +1 -1
- package/flex-box/lib/cjs/Box/useBox.js +3 -3
- package/flex-box/lib/cjs/Flex/useFlex.js +3 -3
- package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/cjs/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/es6/Box/useBox.js +3 -3
- package/flex-box/lib/es6/Flex/useFlex.js +3 -3
- package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/es6/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/esm/Box/useBox.mjs +12 -12
- package/flex-box/lib/esm/Flex/useFlex.mjs +16 -16
- package/flex-box/lib/esm/invalid-state-box/InvalidStateBox.mjs +8 -8
- package/flex-box/lib/esm/screen-reader-only-box/ScreenReaderOnlyBox.mjs +13 -13
- package/flex-box/package.json +1 -1
- package/format-text/lib/cjs/FormatText.js +5 -5
- package/format-text/lib/es6/FormatText.js +5 -5
- package/format-text/package.json +1 -1
- package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/esm/FullscreenModal.mjs +74 -74
- package/fullscreen-modal/package.json +1 -1
- package/grid/lib/cjs/Grid.js +114 -114
- package/grid/lib/es6/Grid.js +114 -114
- package/grid/lib/esm/Grid.mjs +153 -153
- package/grid/package.json +1 -1
- package/i18n-unplugin/package.json +1 -1
- package/icon/color/Confluence/l/index.js +4 -4
- package/icon/color/Confluence/l/index.mjs +4 -4
- package/icon/color/Confluence/m/index.js +4 -4
- package/icon/color/Confluence/m/index.mjs +4 -4
- package/icon/color/MetaColored/l/index.js +4 -4
- package/icon/color/MetaColored/l/index.mjs +4 -4
- package/icon/color/MetaColored/m/index.js +4 -4
- package/icon/color/MetaColored/m/index.mjs +4 -4
- package/icon/color/MicrosoftOffice/l/index.js +10 -10
- package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
- package/icon/color/MicrosoftOffice/m/index.js +10 -10
- package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
- package/icon/lib/cjs/Icon.js +5 -5
- package/icon/lib/es6/Icon.js +5 -5
- package/icon/lib/esm/Icon.mjs +24 -24
- package/icon/package.json +1 -1
- package/icon/pay/Discover/l/index.js +1 -1
- package/icon/pay/Discover/l/index.mjs +1 -1
- package/icon/pay/Discover/m/index.js +1 -1
- package/icon/pay/Discover/m/index.mjs +1 -1
- package/icon/pay/JCB/l/index.js +10 -10
- package/icon/pay/JCB/l/index.mjs +10 -10
- package/icon/pay/JCB/m/index.js +10 -10
- package/icon/pay/JCB/m/index.mjs +10 -10
- package/icon/pay/Visa/l/index.js +2 -2
- package/icon/pay/Visa/l/index.mjs +2 -2
- package/icon/pay/Visa/m/index.js +2 -2
- package/icon/pay/Visa/m/index.mjs +2 -2
- package/illustration/lib/cjs/index.js +1 -1
- package/illustration/lib/es6/index.js +1 -1
- package/illustration/package.json +1 -1
- package/inline-edit/lib/cjs/InlineEdit.js +4 -4
- package/inline-edit/lib/es6/InlineEdit.js +4 -4
- package/inline-edit/lib/esm/InlineEdit.mjs +36 -36
- package/inline-edit/package.json +1 -1
- package/inline-input/lib/cjs/InlineInput.js +14 -14
- package/inline-input/lib/es6/InlineInput.js +14 -14
- package/inline-input/lib/esm/InlineInput.mjs +102 -102
- package/inline-input/package.json +1 -1
- package/input/lib/cjs/Input.js +17 -17
- package/input/lib/es6/Input.js +17 -17
- package/input/lib/esm/Input.mjs +59 -59
- package/input/package.json +1 -1
- package/input-mask/lib/cjs/InputMask.js +6 -6
- package/input-mask/lib/es6/InputMask.js +6 -6
- package/input-mask/lib/esm/InputMask.mjs +55 -55
- package/input-mask/package.json +1 -1
- package/input-number/lib/cjs/InputNumber.js +9 -9
- package/input-number/lib/es6/InputNumber.js +9 -9
- package/input-number/lib/esm/InputNumber.mjs +138 -138
- package/input-number/package.json +1 -1
- package/input-tags/lib/cjs/InputTags.js +12 -12
- package/input-tags/lib/es6/InputTags.js +12 -12
- package/input-tags/lib/esm/InputTags.mjs +105 -105
- package/input-tags/package.json +1 -1
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/es6/Link.js +12 -12
- package/link/lib/esm/Link.mjs +50 -50
- package/link/package.json +1 -1
- package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
- package/mini-chart/lib/cjs/component/score/Line.js +18 -18
- package/mini-chart/lib/cjs/component/trend/Bar.js +7 -7
- package/mini-chart/lib/cjs/component/trend/Line.js +7 -7
- package/mini-chart/lib/es6/component/score/Donut.js +9 -9
- package/mini-chart/lib/es6/component/score/Line.js +18 -18
- package/mini-chart/lib/es6/component/trend/Bar.js +7 -7
- package/mini-chart/lib/es6/component/trend/Line.js +7 -7
- package/mini-chart/lib/esm/component/score/Donut.mjs +29 -29
- package/mini-chart/lib/esm/component/score/Line.mjs +46 -46
- package/mini-chart/lib/esm/component/trend/Bar.mjs +47 -47
- package/mini-chart/lib/esm/component/trend/Line.mjs +54 -54
- package/mini-chart/package.json +1 -1
- package/modal/lib/cjs/Modal.js +8 -8
- package/modal/lib/es6/Modal.js +8 -8
- package/modal/lib/esm/Modal.mjs +60 -60
- package/modal/package.json +1 -1
- package/neighbor-location/package.json +1 -1
- package/notice/lib/cjs/Notice.js +16 -16
- package/notice/lib/es6/Notice.js +16 -16
- package/notice/lib/esm/Notice.mjs +53 -53
- package/notice/package.json +1 -1
- package/notice-bubble/lib/cjs/NoticeBubble.js +15 -15
- package/notice-bubble/lib/es6/NoticeBubble.js +15 -15
- package/notice-bubble/lib/esm/NoticeBubble.mjs +129 -129
- package/notice-bubble/package.json +1 -1
- package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
- package/notice-global/lib/es6/NoticeGlobal.js +11 -11
- package/notice-global/lib/esm/NoticeGlobal.mjs +54 -54
- package/notice-global/package.json +1 -1
- package/outside-click/package.json +1 -1
- package/package.json +1 -1
- package/pagination/lib/cjs/Pagination.js +12 -12
- package/pagination/lib/es6/Pagination.js +12 -12
- package/pagination/lib/esm/Pagination.mjs +141 -141
- package/pagination/package.json +1 -1
- package/pills/lib/cjs/Pills.js +13 -13
- package/pills/lib/es6/Pills.js +13 -13
- package/pills/lib/esm/Pills.mjs +84 -84
- package/pills/package.json +1 -1
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/es6/Popper.js +6 -6
- package/popper/lib/esm/Popper.mjs +110 -110
- package/popper/package.json +1 -1
- package/portal/package.json +1 -1
- package/product-head/lib/cjs/Info.js +4 -4
- package/product-head/lib/cjs/ProductHead.js +5 -5
- package/product-head/lib/cjs/Title.js +4 -4
- package/product-head/lib/es6/Info.js +4 -4
- package/product-head/lib/es6/ProductHead.js +5 -5
- package/product-head/lib/es6/Title.js +4 -4
- package/product-head/lib/esm/Info.mjs +25 -25
- package/product-head/lib/esm/ProductHead.mjs +33 -33
- package/product-head/lib/esm/Title.mjs +20 -20
- package/product-head/package.json +1 -1
- package/progress-bar/lib/cjs/ProgressBar.js +15 -15
- package/progress-bar/lib/es6/ProgressBar.js +15 -15
- package/progress-bar/lib/esm/ProgressBar.mjs +58 -58
- package/progress-bar/package.json +1 -1
- package/radio/lib/cjs/Radio.js +16 -16
- package/radio/lib/es6/Radio.js +16 -16
- package/radio/lib/esm/Radio.mjs +123 -123
- package/radio/package.json +1 -1
- package/scroll-area/lib/cjs/ScrollArea.js +21 -21
- package/scroll-area/lib/cjs/ScrollBar.js +6 -6
- package/scroll-area/lib/es6/ScrollArea.js +21 -21
- package/scroll-area/lib/es6/ScrollBar.js +6 -6
- package/scroll-area/lib/esm/ScrollArea.mjs +103 -103
- package/scroll-area/lib/esm/ScrollBar.mjs +34 -34
- package/scroll-area/package.json +1 -1
- package/select/lib/cjs/InputSearch.js +6 -6
- package/select/lib/cjs/Select.js +8 -8
- package/select/lib/es6/InputSearch.js +6 -6
- package/select/lib/es6/Select.js +8 -8
- package/select/lib/esm/InputSearch.mjs +51 -51
- package/select/lib/esm/Select.mjs +126 -126
- package/select/package.json +1 -1
- package/side-panel/lib/cjs/SidePanel.js +16 -16
- package/side-panel/lib/es6/SidePanel.js +16 -16
- package/side-panel/lib/esm/SidePanel.mjs +114 -114
- package/side-panel/package.json +1 -1
- package/skeleton/lib/cjs/Charts/Area.js +9 -9
- package/skeleton/lib/cjs/Charts/Bar.js +9 -9
- package/skeleton/lib/cjs/Charts/Bubble.js +9 -9
- package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/cjs/Charts/Donut.js +9 -9
- package/skeleton/lib/cjs/Charts/Histogram.js +9 -9
- package/skeleton/lib/cjs/Charts/Line.js +9 -9
- package/skeleton/lib/cjs/Charts/RadialTree.js +9 -9
- package/skeleton/lib/cjs/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/cjs/Charts/Venn.js +9 -9
- package/skeleton/lib/cjs/Skeleton.js +8 -8
- package/skeleton/lib/es6/Charts/Area.js +9 -9
- package/skeleton/lib/es6/Charts/Bar.js +9 -9
- package/skeleton/lib/es6/Charts/Bubble.js +9 -9
- package/skeleton/lib/es6/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/es6/Charts/Donut.js +9 -9
- package/skeleton/lib/es6/Charts/Histogram.js +9 -9
- package/skeleton/lib/es6/Charts/Line.js +9 -9
- package/skeleton/lib/es6/Charts/RadialTree.js +9 -9
- package/skeleton/lib/es6/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/es6/Charts/Venn.js +9 -9
- package/skeleton/lib/es6/Skeleton.js +8 -8
- package/skeleton/lib/esm/Charts/Area.mjs +21 -21
- package/skeleton/lib/esm/Charts/Bar.mjs +19 -19
- package/skeleton/lib/esm/Charts/Bubble.mjs +20 -20
- package/skeleton/lib/esm/Charts/CompactHorizontalBar.mjs +16 -16
- package/skeleton/lib/esm/Charts/Donut.mjs +28 -28
- package/skeleton/lib/esm/Charts/Histogram.mjs +22 -22
- package/skeleton/lib/esm/Charts/Line.mjs +22 -22
- package/skeleton/lib/esm/Charts/RadialTree.mjs +17 -17
- package/skeleton/lib/esm/Charts/ScatterPlot.mjs +18 -18
- package/skeleton/lib/esm/Charts/Venn.mjs +23 -23
- package/skeleton/lib/esm/Skeleton.mjs +64 -64
- package/skeleton/package.json +1 -1
- package/slider/lib/cjs/Slider.js +8 -8
- package/slider/lib/es6/Slider.js +8 -8
- package/slider/lib/esm/Slider.mjs +79 -79
- package/slider/package.json +1 -1
- package/spin/lib/cjs/Spin.js +13 -13
- package/spin/lib/es6/Spin.js +13 -13
- package/spin/lib/esm/Spin.mjs +40 -40
- package/spin/package.json +1 -1
- package/spin-container/lib/cjs/SpinContainer.js +8 -8
- package/spin-container/lib/es6/SpinContainer.js +8 -8
- package/spin-container/lib/esm/SpinContainer.mjs +50 -50
- package/spin-container/package.json +1 -1
- package/sticky/lib/cjs/Sticky.js +2 -2
- package/sticky/lib/es6/Sticky.js +2 -2
- package/sticky/lib/esm/Sticky.mjs +15 -15
- package/sticky/package.json +1 -1
- package/switch/lib/cjs/Switch.js +21 -21
- package/switch/lib/es6/Switch.js +21 -21
- package/switch/lib/esm/Switch.mjs +90 -90
- package/switch/package.json +1 -1
- package/tab-line/lib/cjs/TabLine.js +13 -13
- package/tab-line/lib/es6/TabLine.js +13 -13
- package/tab-line/lib/esm/TabLine.mjs +88 -88
- package/tab-line/package.json +1 -1
- package/tab-panel/lib/cjs/TabPanel.js +8 -8
- package/tab-panel/lib/es6/TabPanel.js +8 -8
- package/tab-panel/lib/esm/TabPanel.mjs +47 -47
- package/tab-panel/package.json +1 -1
- package/tag/lib/cjs/Tag.js +23 -23
- package/tag/lib/es6/Tag.js +23 -23
- package/tag/lib/esm/Tag.mjs +154 -154
- package/tag/package.json +1 -1
- package/textarea/lib/cjs/Textarea.js +8 -8
- package/textarea/lib/es6/Textarea.js +8 -8
- package/textarea/lib/esm/Textarea.mjs +35 -35
- package/textarea/package.json +1 -1
- package/time-picker/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/time-picker/lib/esm/TimePicker.mjs +72 -72
- package/time-picker/package.json +1 -1
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- package/tooltip/lib/esm/Tooltip.mjs +108 -108
- package/tooltip/package.json +1 -1
- package/typography/lib/cjs/Blockquote.js +4 -4
- package/typography/lib/cjs/Hint.js +7 -7
- package/typography/lib/cjs/List.js +5 -5
- package/typography/lib/cjs/Text.js +34 -34
- package/typography/lib/es6/Blockquote.js +4 -4
- package/typography/lib/es6/Hint.js +7 -7
- package/typography/lib/es6/List.js +5 -5
- package/typography/lib/es6/Text.js +34 -34
- package/typography/lib/esm/Blockquote.mjs +15 -15
- package/typography/lib/esm/Hint.mjs +45 -45
- package/typography/lib/esm/List.mjs +35 -35
- package/typography/lib/esm/Text.mjs +53 -53
- package/typography/package.json +1 -1
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +2 -2
- package/utils/lib/injectStyle.js +1 -1
- package/utils/lib/injectStyle.mjs +1 -1
- package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
- package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
- package/widget-empty/lib/esm/WidgetEmpty.mjs +31 -31
- package/widget-empty/package.json +1 -1
- package/wizard/lib/cjs/Wizard.js +12 -12
- package/wizard/lib/es6/Wizard.js +12 -12
- package/wizard/lib/esm/Wizard.mjs +72 -72
- package/wizard/package.json +1 -1
package/date-picker/lib/esm/semcore/date-picker/src/components/DateRangeComparatorAbstract.mjs
CHANGED
@@ -2,73 +2,73 @@ import U from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import q from "@babel/runtime/helpers/esm/slicedToArray";
|
3
3
|
import J from "@babel/runtime/helpers/esm/classCallCheck";
|
4
4
|
import Q from "@babel/runtime/helpers/esm/createClass";
|
5
|
-
import
|
5
|
+
import j from "@babel/runtime/helpers/esm/assertThisInitialized";
|
6
6
|
import W from "@babel/runtime/helpers/esm/inherits";
|
7
7
|
import X from "@babel/runtime/helpers/esm/createSuper";
|
8
|
-
import
|
8
|
+
import S from "@babel/runtime/helpers/esm/defineProperty";
|
9
9
|
import { sstyled as Z } from 'intergalactic/utils/lib/core/index';
|
10
|
-
import { sstyled as
|
11
|
-
import
|
12
|
-
import
|
13
|
-
import
|
14
|
-
import { Flex as
|
15
|
-
import
|
10
|
+
import { sstyled as R, assignProps as M, Component as ee } from 'intergalactic/core';
|
11
|
+
import b from "react";
|
12
|
+
import f from "dayjs";
|
13
|
+
import F from 'intergalactic/button';
|
14
|
+
import { Flex as E } from 'intergalactic/flex-box';
|
15
|
+
import O from 'intergalactic/dropdown';
|
16
16
|
import ae from 'intergalactic/utils/lib/enhances/i18nEnhance';
|
17
|
-
import { localizedMessages as
|
18
|
-
import
|
17
|
+
import { localizedMessages as Y } from "../translations/__intergalactic-dynamic-locales.mjs";
|
18
|
+
import N from "../utils/shortDateRangeFormat.mjs";
|
19
19
|
import re from 'intergalactic/checkbox';
|
20
20
|
import { LinkTrigger as te } from 'intergalactic/base-trigger';
|
21
|
-
import { includesDate as
|
22
|
-
import { formatMMYY as
|
21
|
+
import { includesDate as oe } from "../utils/includesDate.mjs";
|
22
|
+
import { formatMMYY as ie, formatDDMMYY as ne } from "../utils/formatDate.mjs";
|
23
23
|
var le = (
|
24
24
|
/*__reshadow_css_start__*/
|
25
25
|
(Z.insert(
|
26
26
|
/*__inner_css_start__*/
|
27
|
-
".
|
28
|
-
"
|
27
|
+
".___SPopper_yijbo_gg_{padding:var(--intergalactic-spacing-4x, 16px);outline:0}.___SPopper_yijbo_gg_::-moz-focus-inner{border:0;padding:0}.___SPopper_yijbo_gg_:active,.___SPopper_yijbo_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SPopper_yijbo_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SPopper_yijbo_gg_:focus{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHeader_yijbo_gg_,.___STitle_yijbo_gg_{display:flex;align-items:center}.___STitle_yijbo_gg_{font-size:var(--intergalactic-fs-200, 14px);color:var(--intergalactic-text-primary, #191b23);height:32px;width:100%;justify-content:center}.___SToday_yijbo_gg_{display:flex;margin-top:var(--intergalactic-spacing-3x, 12px);justify-content:center}.___SPeriod_yijbo_gg_{display:flex;flex-direction:column;margin-bottom:var(--intergalactic-spacing-2x, 8px)}.___SButton_yijbo_gg_ .___SInner_yijbo_gg_{justify-content:flex-start}.___SInputMask_yijbo_gg_{color:var(--intergalactic-text-primary, #191b23);line-height:normal;padding-right:var(--intergalactic-spacing-2x, 8px);transition:width calc(var(--intergalactic-duration-medium, 300)*1ms) ease,min-width calc(var(--intergalactic-duration-medium, 300)*1ms) ease}.___SInputMask_yijbo_gg_.__animationsDisabled_yijbo_gg_{transition:none}.___SInputMask_yijbo_gg_ .___SValue_yijbo_gg_{letter-spacing:0}.___SIndicator_yijbo_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SRangeIndicator_yijbo_gg_{border-radius:50%;flex-shrink:0}.___SRangeIndicator_yijbo_gg_._range_value_yijbo_gg_{background-color:var(--intergalactic-date-picker-cell-active, #2bb3ff)}.___SRangeIndicator_yijbo_gg_._range_compare_yijbo_gg_{background-color:var(--intergalactic-date-picker-cell-comparison-active, #8649e1)}.___SRangeIndicator_yijbo_gg_.__disabled_yijbo_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SHumanizedDate_yijbo_gg_{position:absolute;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.___SMask_yijbo_gg_{letter-spacing:0;white-space:nowrap;overflow:hidden}.___SDateRange_yijbo_gg_ .___SMask_yijbo_gg_,.___SDateRange_yijbo_gg_ .___SValue_yijbo_gg_,.___SSingleDateInput_yijbo_gg_ .___SMask_yijbo_gg_,.___SSingleDateInput_yijbo_gg_ .___SValue_yijbo_gg_{opacity:0}.___SSingleDateInput_yijbo_gg_:focus-within .___SHumanizedDate_yijbo_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SSingleDateInput_yijbo_gg_:focus-within .___SMask_yijbo_gg_,.___SSingleDateInput_yijbo_gg_:focus-within .___SValue_yijbo_gg_{opacity:1}.___SDateRange_yijbo_gg_:focus-within .___SHumanizedDate_yijbo_gg_{opacity:0;z-index:var(--intergalactic-z-index-deep, -999)}.___SDateRange_yijbo_gg_:focus-within .___SMask_yijbo_gg_,.___SDateRange_yijbo_gg_:focus-within .___SValue_yijbo_gg_{opacity:1}.___SInputMask_yijbo_gg_.__noHumanizedDate_yijbo_gg_ .___SMask_yijbo_gg_,.___SInputMask_yijbo_gg_.__noHumanizedDate_yijbo_gg_ .___SValue_yijbo_gg_{opacity:1}.___SDateRange_yijbo_gg_ .___SInputMask_yijbo_gg_:focus-within .___SMask_yijbo_gg_{background-color:var(--intergalactic-bg-highlight-focus, rgba(0, 143, 248, 0.2))}.___SDateRange_yijbo_gg_:focus-within .___SRangeSep_yijbo_gg_,.___SRangeSep_yijbo_gg_.__fulfilled_yijbo_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SRangeComparatorHeader_yijbo_gg_{border-bottom:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SRangeCalendar_yijbo_gg_,.___SRangeComparatorHeader_yijbo_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___SFooter_yijbo_gg_{border-top:1px solid var(--intergalactic-border-primary, #c4c7cf)}.___SFooter_yijbo_gg_,.___SPeriodsList_yijbo_gg_{padding:var(--intergalactic-spacing-4x, 16px)}.___STooltip_yijbo_gg_{padding:var(--intergalactic-spacing-3x, 12px)}.___SCompareToggle_yijbo_gg_{white-space:nowrap}@media (prefers-reduced-motion){.___SInputMask_yijbo_gg_{transition:none}}",
|
28
|
+
"yijbo_gg_"
|
29
29
|
), {
|
30
|
-
__SHeader: "
|
31
|
-
__STitle: "
|
32
|
-
__SToday: "
|
33
|
-
__SPeriod: "
|
34
|
-
__SButton: "
|
35
|
-
__SInner: "
|
36
|
-
__SInputMask: "
|
37
|
-
_animationsDisabled: "
|
38
|
-
__SValue: "
|
39
|
-
__SIndicator: "
|
40
|
-
__SRangeIndicator: "
|
41
|
-
_range_value: "
|
42
|
-
_range_compare: "
|
43
|
-
_disabled: "
|
44
|
-
__SHumanizedDate: "
|
45
|
-
__SMask: "
|
46
|
-
__SSingleDateInput: "
|
47
|
-
__SDateRange: "
|
48
|
-
_noHumanizedDate: "
|
49
|
-
__SRangeSep: "
|
50
|
-
_fulfilled: "
|
51
|
-
__SRangeComparatorHeader: "
|
52
|
-
__SRangeCalendar: "
|
53
|
-
__SFooter: "
|
54
|
-
__SPeriodsList: "
|
55
|
-
__STooltip: "
|
56
|
-
__SCompareToggle: "
|
57
|
-
__SPopper: "
|
30
|
+
__SHeader: "___SHeader_yijbo_gg_",
|
31
|
+
__STitle: "___STitle_yijbo_gg_",
|
32
|
+
__SToday: "___SToday_yijbo_gg_",
|
33
|
+
__SPeriod: "___SPeriod_yijbo_gg_",
|
34
|
+
__SButton: "___SButton_yijbo_gg_",
|
35
|
+
__SInner: "___SInner_yijbo_gg_",
|
36
|
+
__SInputMask: "___SInputMask_yijbo_gg_",
|
37
|
+
_animationsDisabled: "__animationsDisabled_yijbo_gg_",
|
38
|
+
__SValue: "___SValue_yijbo_gg_",
|
39
|
+
__SIndicator: "___SIndicator_yijbo_gg_",
|
40
|
+
__SRangeIndicator: "___SRangeIndicator_yijbo_gg_",
|
41
|
+
_range_value: "_range_value_yijbo_gg_",
|
42
|
+
_range_compare: "_range_compare_yijbo_gg_",
|
43
|
+
_disabled: "__disabled_yijbo_gg_",
|
44
|
+
__SHumanizedDate: "___SHumanizedDate_yijbo_gg_",
|
45
|
+
__SMask: "___SMask_yijbo_gg_",
|
46
|
+
__SSingleDateInput: "___SSingleDateInput_yijbo_gg_",
|
47
|
+
__SDateRange: "___SDateRange_yijbo_gg_",
|
48
|
+
_noHumanizedDate: "__noHumanizedDate_yijbo_gg_",
|
49
|
+
__SRangeSep: "___SRangeSep_yijbo_gg_",
|
50
|
+
_fulfilled: "__fulfilled_yijbo_gg_",
|
51
|
+
__SRangeComparatorHeader: "___SRangeComparatorHeader_yijbo_gg_",
|
52
|
+
__SRangeCalendar: "___SRangeCalendar_yijbo_gg_",
|
53
|
+
__SFooter: "___SFooter_yijbo_gg_",
|
54
|
+
__SPeriodsList: "___SPeriodsList_yijbo_gg_",
|
55
|
+
__STooltip: "___STooltip_yijbo_gg_",
|
56
|
+
__SCompareToggle: "___SCompareToggle_yijbo_gg_",
|
57
|
+
__SPopper: "___SPopper_yijbo_gg_"
|
58
58
|
})
|
59
|
-
), _e = ["INPUT"], ge = ["ArrowDown", "Enter", " "], se = new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)),
|
59
|
+
), _e = ["INPUT"], ge = ["ArrowDown", "Enter", " "], se = new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), V = function() {
|
60
60
|
for (var s = arguments.length, p = new Array(s), e = 0; e < s; e++)
|
61
61
|
p[e] = arguments[e];
|
62
62
|
var a = p.flat().filter(Boolean).filter(function(t) {
|
63
63
|
return !Number.isNaN(new Date(t).getTime());
|
64
64
|
});
|
65
65
|
if (!a.length) return null;
|
66
|
-
a.sort(function(t,
|
67
|
-
return new Date(
|
66
|
+
a.sort(function(t, o) {
|
67
|
+
return new Date(o).getTime() - new Date(t).getTime();
|
68
68
|
});
|
69
69
|
var r = a[0];
|
70
70
|
return r;
|
71
|
-
},
|
71
|
+
}, T = /* @__PURE__ */ function(d) {
|
72
72
|
W(p, d);
|
73
73
|
var s = X(p);
|
74
74
|
function p() {
|
@@ -76,93 +76,93 @@ var le = (
|
|
76
76
|
J(this, p);
|
77
77
|
for (var a = arguments.length, r = new Array(a), t = 0; t < a; t++)
|
78
78
|
r[t] = arguments[t];
|
79
|
-
return e = s.call.apply(s, [this].concat(r)),
|
80
|
-
var
|
81
|
-
e.handlers.displayedPeriod(
|
82
|
-
}),
|
79
|
+
return e = s.call.apply(s, [this].concat(r)), S(j(e), "popperRef", /* @__PURE__ */ b.createRef()), S(j(e), "unitRefs", {}), S(j(e), "navigateView", function(o) {
|
80
|
+
var i = e.asProps.displayedPeriod, _ = o >= 1 ? "add" : "subtract", n = f(i)[_](1, e.navigateStep).toDate();
|
81
|
+
e.handlers.displayedPeriod(n);
|
82
|
+
}), S(j(e), "bindHandlerNavigateClick", function(o) {
|
83
83
|
return function() {
|
84
|
-
return e.navigateView(
|
84
|
+
return e.navigateView(o);
|
85
85
|
};
|
86
|
-
}),
|
87
|
-
var
|
88
|
-
return e.handleApply(_ ?? (
|
89
|
-
}),
|
86
|
+
}), S(j(e), "handleApplyClick", function() {
|
87
|
+
var o = e.asProps, i = o.value, _ = o.preselectedValue, n = o.preselectedCompare;
|
88
|
+
return e.handleApply(_ ?? (i == null ? void 0 : i.value), n ?? (i == null ? void 0 : i.compare));
|
89
|
+
}), S(j(e), "handleApply", function(o, i) {
|
90
90
|
e.handlers.value({
|
91
|
-
value:
|
92
|
-
compare:
|
91
|
+
value: o,
|
92
|
+
compare: i
|
93
93
|
}), e.handlers.visible(!1);
|
94
|
-
}),
|
95
|
-
return function(
|
96
|
-
var _ = e.asProps,
|
97
|
-
|
98
|
-
var
|
99
|
-
|
94
|
+
}), S(j(e), "handleKeydownDown", function(o) {
|
95
|
+
return function(i) {
|
96
|
+
var _ = e.asProps, n = _.displayedPeriod, c = _.preselectedValue, h = _.visible, u = _.focusedRange, v = i.key, g = u === "compare" ? e.asProps.compareHighlighted : e.asProps.highlighted;
|
97
|
+
o === "trigger" && ge.includes(v) && (i.preventDefault(), i.stopPropagation(), e.handlers.visible(!h), setTimeout(function() {
|
98
|
+
var k = e.popperRef.current;
|
99
|
+
k && k.focus();
|
100
100
|
}, 0));
|
101
|
-
var l = e.keyDiff[
|
102
|
-
var
|
103
|
-
e.navigateStep === "month" && (
|
104
|
-
var
|
105
|
-
return
|
101
|
+
var l = e.keyDiff[v], m = function(L) {
|
102
|
+
var A = q(L, 2), $ = A[0], G = A[1], C = G || $, w = n == null ? void 0 : n.getDate(), H = C == null ? void 0 : C.getDate();
|
103
|
+
e.navigateStep === "month" && (w = n == null ? void 0 : n.getMonth(), H = C == null ? void 0 : C.getMonth()), e.navigateStep === "year" && (w = n == null ? void 0 : n.getYear(), H = C == null ? void 0 : C.getYear());
|
104
|
+
var z = H - w;
|
105
|
+
return z < 0 || z > 1 ? C : n;
|
106
106
|
};
|
107
|
-
if (
|
108
|
-
var
|
109
|
-
e.isDisabled(
|
107
|
+
if (o === "popper" && i.key === " " && g.length) {
|
108
|
+
var y = g[1] || g[0];
|
109
|
+
e.isDisabled(y) || e.handleChange(y), i.preventDefault();
|
110
110
|
}
|
111
|
-
if (
|
111
|
+
if (o === "popper" && i.key === "Enter" && (i.metaKey || i.ctrlKey))
|
112
112
|
return e.handleApplyClick();
|
113
113
|
var P = void 0;
|
114
114
|
if (l) {
|
115
|
-
if (_e.includes(
|
115
|
+
if (_e.includes(i.target.tagName)) return;
|
116
116
|
if (g.length) {
|
117
|
-
var
|
118
|
-
(c == null ? void 0 : c.length) === 1 ? (
|
117
|
+
var D;
|
118
|
+
(c == null ? void 0 : c.length) === 1 ? (D = [c[0], f(g[1] || g[0]).add(l, e.keyStep).toDate()], P = D[1]) : (D = [f(g[0]).add(l, e.keyStep).toDate()], P = D[0]), u === "compare" ? e.handlers.compareHighlighted(D) : e.handlers.highlighted(D), e.handlers.displayedPeriod(m(D));
|
119
119
|
} else {
|
120
|
-
var
|
121
|
-
u === "compare" ? e.handlers.compareHighlighted(
|
120
|
+
var x = [n || f().toDate()];
|
121
|
+
u === "compare" ? e.handlers.compareHighlighted(x) : e.handlers.highlighted(x), P = x[0];
|
122
122
|
}
|
123
|
-
if (
|
124
|
-
var
|
125
|
-
(
|
123
|
+
if (i.preventDefault(), P) {
|
124
|
+
var I, B = e.keyStep === "month" ? ie : ne, K = B(P, e.asProps.locale);
|
125
|
+
(I = e.unitRefs[K]) === null || I === void 0 || I.focus();
|
126
126
|
}
|
127
127
|
}
|
128
128
|
};
|
129
|
-
}),
|
129
|
+
}), S(j(e), "triggerFormattingProps", {
|
130
130
|
day: "numeric",
|
131
131
|
month: "short",
|
132
132
|
year: "numeric"
|
133
|
-
}),
|
134
|
-
var
|
135
|
-
if (Array.isArray(
|
136
|
-
l =
|
137
|
-
else if (!((
|
138
|
-
l = [
|
133
|
+
}), S(j(e), "handleChange", function(o) {
|
134
|
+
var i, _, n, c = e.asProps, h = c.focusedRange, u = c.preselectedCompare, v = c.preselectedValue, g = [], l = h === "compare" ? u : v;
|
135
|
+
if (Array.isArray(o))
|
136
|
+
l = o;
|
137
|
+
else if (!((i = l) !== null && i !== void 0 && i.length))
|
138
|
+
l = [o], g = [o];
|
139
139
|
else if (((_ = l) === null || _ === void 0 ? void 0 : _.length) >= 2)
|
140
|
-
l = [
|
141
|
-
else if (((
|
142
|
-
var
|
143
|
-
l = [
|
140
|
+
l = [o], g = [o];
|
141
|
+
else if (((n = l) === null || n === void 0 ? void 0 : n[0]) > o) {
|
142
|
+
var m;
|
143
|
+
l = [o, (m = l) === null || m === void 0 ? void 0 : m[0]];
|
144
144
|
} else {
|
145
|
-
var
|
146
|
-
l = [(
|
145
|
+
var y;
|
146
|
+
l = [(y = l) === null || y === void 0 ? void 0 : y[0], o];
|
147
147
|
}
|
148
|
-
|
148
|
+
h === "compare" ? (e.handlers.preselectedCompare(l), e.handlers.compareHighlighted(g)) : (e.handlers.preselectedValue(l), e.handlers.highlighted(g));
|
149
149
|
}), e;
|
150
150
|
}
|
151
151
|
return Q(p, [{
|
152
152
|
key: "getPeriodProps",
|
153
153
|
value: function() {
|
154
|
-
var a, r = this, t = this.asProps,
|
155
|
-
if (
|
156
|
-
var
|
157
|
-
l = u ?? ((
|
154
|
+
var a, r = this, t = this.asProps, o = t.periods, i = o === void 0 ? this.getDefaultPeriods() : o, _ = t.onHighlightedChange, n = t.onCompareHighlightedChange, c = t.onDisplayedPeriodChange, h = t.preselectedValue, u = t.preselectedCompare, v = t.focusedRange, g = t.getI18nText, l = h ?? ((a = this.asProps.value) === null || a === void 0 ? void 0 : a.value);
|
155
|
+
if (v === "compare") {
|
156
|
+
var m;
|
157
|
+
l = u ?? ((m = this.asProps.value) === null || m === void 0 ? void 0 : m.compare);
|
158
158
|
}
|
159
159
|
return {
|
160
|
-
periods:
|
160
|
+
periods: i,
|
161
161
|
value: l,
|
162
162
|
onChange: function(P) {
|
163
|
-
|
163
|
+
v === "compare" ? r.handlers.preselectedCompare(P) : r.handlers.preselectedValue(P);
|
164
164
|
},
|
165
|
-
onHighlightedChange:
|
165
|
+
onHighlightedChange: v === "compare" ? n : _,
|
166
166
|
onDisplayedPeriodChange: c,
|
167
167
|
role: "listbox",
|
168
168
|
"aria-label": g("periods")
|
@@ -198,16 +198,16 @@ var le = (
|
|
198
198
|
if (!r)
|
199
199
|
a.handlers.highlighted([]), a.handlers.compareHighlighted([]), a.handlers.preselectedValue(void 0), a.handlers.preselectedCompare(void 0), a.handlers.compareToggle(void 0), a.handlers.focusedRange("value");
|
200
200
|
else {
|
201
|
-
var t,
|
202
|
-
a.handlers.compareToggle(!!((t = a.asProps.value) !== null && t !== void 0 && (
|
201
|
+
var t, o;
|
202
|
+
a.handlers.compareToggle(!!((t = a.asProps.value) !== null && t !== void 0 && (o = t.compare) !== null && o !== void 0 && o.length));
|
203
203
|
}
|
204
|
-
var
|
204
|
+
var i = a.asProps, _ = i.value, n = i.displayedPeriod, c = _ ? V(_.value, _.compare) : void 0;
|
205
205
|
if (r) {
|
206
|
-
if (c && c !==
|
206
|
+
if (c && c !== n)
|
207
207
|
a.handlers.displayedPeriod(c);
|
208
208
|
else if (!c) {
|
209
|
-
var
|
210
|
-
a.handlers.displayedPeriod(u ||
|
209
|
+
var h = a.props, u = h.displayedPeriod, v = h.defaultDisplayedPeriod;
|
210
|
+
a.handlers.displayedPeriod(u || v);
|
211
211
|
}
|
212
212
|
}
|
213
213
|
}],
|
@@ -218,11 +218,11 @@ var le = (
|
|
218
218
|
compareToggle: null,
|
219
219
|
focusedRange: null,
|
220
220
|
value: [null, function(r) {
|
221
|
-
var t = [r == null ? void 0 : r.value, r == null ? void 0 : r.compare].flat(2).filter(function(
|
222
|
-
var
|
223
|
-
return
|
221
|
+
var t = [r == null ? void 0 : r.value, r == null ? void 0 : r.compare].flat(2).filter(function(o) {
|
222
|
+
var i;
|
223
|
+
return o == null || (i = o.isValid) === null || i === void 0 ? void 0 : i.call(o);
|
224
224
|
});
|
225
|
-
t.length > 0 && a.handlers.displayedPeriod(
|
225
|
+
t.length > 0 && a.handlers.displayedPeriod(V(r));
|
226
226
|
}]
|
227
227
|
};
|
228
228
|
}
|
@@ -250,7 +250,7 @@ var le = (
|
|
250
250
|
key: "isDisabled",
|
251
251
|
value: function(a) {
|
252
252
|
var r = this.asProps.disabled;
|
253
|
-
return r.some(
|
253
|
+
return r.some(oe(f(a), "date"));
|
254
254
|
}
|
255
255
|
}, {
|
256
256
|
key: "getDefaultPeriods",
|
@@ -258,40 +258,40 @@ var le = (
|
|
258
258
|
var a = this.asProps.getI18nText, r = new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0));
|
259
259
|
return [{
|
260
260
|
children: a("lastMonth"),
|
261
|
-
value: [
|
261
|
+
value: [f(r).subtract(1, "month").startOf("month").toDate(), f(r).startOf("month").toDate()]
|
262
262
|
}, {
|
263
263
|
children: a("last3Months"),
|
264
|
-
value: [
|
264
|
+
value: [f(r).subtract(2, "month").startOf("month").toDate(), f(r).startOf("month").toDate()]
|
265
265
|
}, {
|
266
266
|
children: a("last6Months"),
|
267
|
-
value: [
|
267
|
+
value: [f(r).subtract(5, "month").startOf("month").toDate(), f(r).startOf("month").toDate()]
|
268
268
|
}, {
|
269
269
|
children: a("last12Months"),
|
270
|
-
value: [
|
270
|
+
value: [f(r).subtract(11, "month").startOf("month").toDate(), f(r).startOf("month").toDate()]
|
271
271
|
}];
|
272
272
|
}
|
273
273
|
}, {
|
274
274
|
key: "getTitleProps",
|
275
275
|
value: function(a, r) {
|
276
|
-
var t = this.asProps,
|
276
|
+
var t = this.asProps, o = t.locale, i = t.displayedPeriod;
|
277
277
|
return {
|
278
|
-
children: new Intl.DateTimeFormat(
|
278
|
+
children: new Intl.DateTimeFormat(o, {
|
279
279
|
month: "long",
|
280
280
|
year: "numeric"
|
281
|
-
}).format(
|
281
|
+
}).format(f(i).add(r, this.navigateStep).startOf(this.navigateStep).toDate())
|
282
282
|
};
|
283
283
|
}
|
284
284
|
}, {
|
285
285
|
key: "getTriggerProps",
|
286
286
|
value: function(a) {
|
287
|
-
var r, t,
|
287
|
+
var r, t, o = this, i = a.placeholder, _ = i === void 0 ? "Select date ranges" : i, n = a.separator, c = n === void 0 ? "vs." : n, h = this.asProps, u = h.locale, v = h.visible, g = (r = this.asProps.value) === null || r === void 0 ? void 0 : r.value, l = (t = this.asProps.value) === null || t === void 0 ? void 0 : t.compare, m = U({
|
288
288
|
locale: u
|
289
|
-
}, this.triggerFormattingProps),
|
290
|
-
return g != null && g[0] && g !== null && g !== void 0 && g[1] && (
|
291
|
-
children:
|
292
|
-
visible:
|
289
|
+
}, this.triggerFormattingProps), y = _;
|
290
|
+
return g != null && g[0] && g !== null && g !== void 0 && g[1] && (y = N(g, m)), l != null && l[0] && l !== null && l !== void 0 && l[1] && (y = "".concat(y || "", " ").concat(c, " ").concat(N(l, m))), {
|
291
|
+
children: y,
|
292
|
+
visible: v,
|
293
293
|
onClick: function() {
|
294
|
-
return
|
294
|
+
return o.handlers.visible(!v);
|
295
295
|
},
|
296
296
|
onKeyDown: this.handleKeydownDown("trigger")
|
297
297
|
};
|
@@ -311,43 +311,43 @@ var le = (
|
|
311
311
|
}, {
|
312
312
|
key: "getValueDateRangeProps",
|
313
313
|
value: function() {
|
314
|
-
var a = this, r = this.asProps, t = r.value,
|
314
|
+
var a = this, r = this.asProps, t = r.value, o = r.onDisplayedPeriodChange, i = r.locale, _ = r.disabled, n = r.disabledErrorText, c = r.getI18nText, h = r.focusedRange, u = r.preselectedValue, v = r.animationsDisabled, g = r.visible;
|
315
315
|
return {
|
316
316
|
popoverVisible: g,
|
317
|
-
focused:
|
317
|
+
focused: h === "value" ? !0 : void 0,
|
318
318
|
value: u ?? (t == null ? void 0 : t.value),
|
319
|
-
onChange: function(
|
320
|
-
return a.handlers.preselectedValue(
|
319
|
+
onChange: function(m) {
|
320
|
+
return a.handlers.preselectedValue(m);
|
321
321
|
},
|
322
|
-
onDisplayedPeriodChange:
|
323
|
-
locale:
|
322
|
+
onDisplayedPeriodChange: o,
|
323
|
+
locale: i,
|
324
324
|
disabledDates: _,
|
325
|
-
disabledErrorText:
|
325
|
+
disabledErrorText: n,
|
326
326
|
children: this.getRangeInput(),
|
327
327
|
getI18nText: c,
|
328
328
|
onFocus: function() {
|
329
329
|
a.handlers.focusedRange("value");
|
330
330
|
},
|
331
|
-
animationsDisabled:
|
331
|
+
animationsDisabled: v
|
332
332
|
};
|
333
333
|
}
|
334
334
|
}, {
|
335
335
|
key: "getCompareDateRangeProps",
|
336
336
|
value: function() {
|
337
|
-
var a, r = this, t = this.asProps,
|
337
|
+
var a, r = this, t = this.asProps, o = t.value, i = t.onDisplayedPeriodChange, _ = t.locale, n = t.disabled, c = t.disabledErrorText, h = t.getI18nText, u = t.focusedRange, v = t.preselectedCompare, g = t.compareToggle, l = t.animationsDisabled, m = t.visible;
|
338
338
|
return {
|
339
|
-
popoverVisible:
|
339
|
+
popoverVisible: m,
|
340
340
|
focused: u === "compare" ? !0 : void 0,
|
341
|
-
disabled: !(g ?? (
|
342
|
-
value:
|
341
|
+
disabled: !(g ?? (o == null || (a = o.compare) === null || a === void 0 ? void 0 : a.length)),
|
342
|
+
value: v ?? (o == null ? void 0 : o.compare),
|
343
343
|
onChange: function(P) {
|
344
344
|
return r.handlers.preselectedCompare(P);
|
345
345
|
},
|
346
|
-
onDisplayedPeriodChange:
|
346
|
+
onDisplayedPeriodChange: i,
|
347
347
|
locale: _,
|
348
|
-
disabledDates:
|
348
|
+
disabledDates: n,
|
349
349
|
children: this.getRangeInput(),
|
350
|
-
getI18nText:
|
350
|
+
getI18nText: h,
|
351
351
|
disabledErrorText: c,
|
352
352
|
onFocus: function() {
|
353
353
|
r.handlers.focusedRange("compare");
|
@@ -360,10 +360,10 @@ var le = (
|
|
360
360
|
value: function() {
|
361
361
|
var a = this, r = this.asProps, t = r.getI18nText;
|
362
362
|
r.value;
|
363
|
-
var
|
363
|
+
var o = r.compareToggle;
|
364
364
|
return {
|
365
365
|
getI18nText: t,
|
366
|
-
checked:
|
366
|
+
checked: o,
|
367
367
|
onChange: function(_) {
|
368
368
|
_ ? (a.handlers.compareToggle(!0), a.handlers.focusedRange("compare")) : (a.handlers.compareToggle(!1), a.handlers.focusedRange("value"), a.handlers.preselectedCompare([]));
|
369
369
|
}
|
@@ -372,21 +372,21 @@ var le = (
|
|
372
372
|
}, {
|
373
373
|
key: "getCalendarProps",
|
374
374
|
value: function(a, r) {
|
375
|
-
var t = this.asProps,
|
375
|
+
var t = this.asProps, o = t.locale, i = t.displayedPeriod, _ = t.disabled, n = t.value, c = t.onCompareHighlightedChange, h = t.highlighted, u = t.compareHighlighted, v = t.onHighlightedChange, g = t.preselectedCompare, l = t.preselectedValue, m = t.focusedRange, y = t.getI18nText;
|
376
376
|
return {
|
377
|
-
locale:
|
378
|
-
displayedPeriod:
|
377
|
+
locale: o,
|
378
|
+
displayedPeriod: f(i).add(r, this.navigateStep).startOf(this.navigateStep).toDate(),
|
379
379
|
disabled: _,
|
380
380
|
onChange: this.handleChange,
|
381
|
-
highlighted:
|
381
|
+
highlighted: h,
|
382
382
|
compareHighlighted: u,
|
383
383
|
onCompareHighlightedChange: c,
|
384
|
-
onHighlightedChange:
|
385
|
-
range:
|
386
|
-
value: l ?? (
|
387
|
-
compare: g ?? (
|
384
|
+
onHighlightedChange: v,
|
385
|
+
range: m,
|
386
|
+
value: l ?? (n == null ? void 0 : n.value),
|
387
|
+
compare: g ?? (n == null ? void 0 : n.compare),
|
388
388
|
unitRefs: this.unitRefs,
|
389
|
-
getI18nText:
|
389
|
+
getI18nText: y,
|
390
390
|
actionsDescribing: r === 0 ? "range-compare" : null,
|
391
391
|
tabIndex: r === 0 ? 0 : -1
|
392
392
|
};
|
@@ -403,23 +403,23 @@ var le = (
|
|
403
403
|
}, {
|
404
404
|
key: "render",
|
405
405
|
value: function() {
|
406
|
-
var a = this.asProps, r, t = this.asProps,
|
407
|
-
return /* @__PURE__ */
|
406
|
+
var a = this.asProps, r, t = this.asProps, o = t.Children, i = t.styles, _ = t["aria-label"];
|
407
|
+
return /* @__PURE__ */ b.createElement(b.Fragment, null, (r = R(i), /* @__PURE__ */ b.createElement(O, M({
|
408
408
|
"use:aria-label": _,
|
409
409
|
__excludeProps: ["onChange", "value"]
|
410
|
-
}, a), /* @__PURE__ */
|
410
|
+
}, a), /* @__PURE__ */ b.createElement(o, r.cn("Children", {})))));
|
411
411
|
}
|
412
412
|
}], [{
|
413
413
|
key: "defaultProps",
|
414
414
|
value: function(a) {
|
415
|
-
var r = a.primaryRange, t = a.defaultPrimaryRange,
|
415
|
+
var r = a.primaryRange, t = a.defaultPrimaryRange, o = a.secondaryRange, i = a.defaultSecondaryRange;
|
416
416
|
return {
|
417
|
-
i18n:
|
417
|
+
i18n: Y,
|
418
418
|
locale: "en",
|
419
419
|
defaultValue: null,
|
420
420
|
defaultHighlighted: [],
|
421
421
|
defaultCompareHighlighted: [],
|
422
|
-
defaultDisplayedPeriod:
|
422
|
+
defaultDisplayedPeriod: V(r, t, o, i) || se,
|
423
423
|
defaultVisible: !1,
|
424
424
|
defaultPreselectedValue: null,
|
425
425
|
defaultPreselectedCompare: null,
|
@@ -431,70 +431,70 @@ var le = (
|
|
431
431
|
}
|
432
432
|
}]), p;
|
433
433
|
}(ee);
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
return
|
434
|
+
S(T, "displayName", "DateRangeComparator");
|
435
|
+
S(T, "style", le);
|
436
|
+
S(T, "enhance", [ae(Y)]);
|
437
|
+
S(T, "subtract", function(d, s, p) {
|
438
|
+
return f(d).subtract(s, p).toDate();
|
439
439
|
});
|
440
|
-
function
|
440
|
+
function Ve(d) {
|
441
441
|
var s = arguments[0], p = d.getI18nText;
|
442
|
-
return /* @__PURE__ */
|
442
|
+
return /* @__PURE__ */ b.createElement(F, M({
|
443
443
|
use: "primary",
|
444
444
|
children: p("apply")
|
445
445
|
}, s));
|
446
446
|
}
|
447
|
-
function
|
447
|
+
function Me(d) {
|
448
448
|
var s = arguments[0], p = d.getI18nText;
|
449
|
-
return /* @__PURE__ */
|
449
|
+
return /* @__PURE__ */ b.createElement(F, M({
|
450
450
|
use: "tertiary",
|
451
451
|
theme: "muted",
|
452
452
|
children: p("reset")
|
453
453
|
}, s));
|
454
454
|
}
|
455
|
-
function
|
455
|
+
function Ee(d) {
|
456
456
|
var s, p = d.Root, e = d.styles;
|
457
|
-
return s =
|
458
|
-
render:
|
457
|
+
return s = R(e), /* @__PURE__ */ b.createElement(p, s.cn("STrigger", {
|
458
|
+
render: O.Trigger,
|
459
459
|
tag: te
|
460
460
|
}));
|
461
461
|
}
|
462
|
-
function
|
462
|
+
function Ae(d) {
|
463
463
|
var s, p = d.Root, e = d.styles, a = d.getI18nText;
|
464
|
-
return s =
|
464
|
+
return s = R(e), /* @__PURE__ */ b.createElement(p, s.cn("SCompareToggle", {
|
465
465
|
render: re,
|
466
466
|
label: a("compare")
|
467
467
|
}));
|
468
468
|
}
|
469
|
-
function
|
469
|
+
function ze(d) {
|
470
470
|
var s, p = d.Root, e = d.Children, a = d.styles;
|
471
|
-
return s =
|
472
|
-
render:
|
471
|
+
return s = R(a), /* @__PURE__ */ b.createElement(p, s.cn("SRangeComparatorHeader", {
|
472
|
+
render: E,
|
473
473
|
gap: 4,
|
474
474
|
alignItems: "center"
|
475
|
-
}), /* @__PURE__ */
|
475
|
+
}), /* @__PURE__ */ b.createElement(e, s.cn("Children", {})));
|
476
476
|
}
|
477
|
-
function
|
477
|
+
function Ne(d) {
|
478
478
|
var s, p = d.Root, e = d.Children, a = d.styles;
|
479
|
-
return s =
|
480
|
-
render:
|
479
|
+
return s = R(a), /* @__PURE__ */ b.createElement(p, s.cn("SBody", {
|
480
|
+
render: E,
|
481
481
|
gap: 4
|
482
|
-
}), /* @__PURE__ */
|
482
|
+
}), /* @__PURE__ */ b.createElement(e, s.cn("Children", {})));
|
483
483
|
}
|
484
|
-
function
|
484
|
+
function Fe(d) {
|
485
485
|
var s, p = d.Root, e = d.styles, a = d.Children;
|
486
|
-
return s =
|
487
|
-
render:
|
486
|
+
return s = R(e), /* @__PURE__ */ b.createElement(p, s.cn("SFooter", {
|
487
|
+
render: E,
|
488
488
|
gap: 2
|
489
|
-
}), /* @__PURE__ */
|
489
|
+
}), /* @__PURE__ */ b.createElement(a, s.cn("Children", {})));
|
490
490
|
}
|
491
491
|
export {
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
492
|
+
Ve as Apply,
|
493
|
+
Ne as Body,
|
494
|
+
Ae as CompareToggle,
|
495
|
+
Fe as Footer,
|
496
|
+
ze as Header,
|
497
|
+
Me as Reset,
|
498
|
+
Ee as Trigger,
|
499
|
+
T as default
|
500
500
|
};
|