@rio-cloud/rio-uikit 0.16.3 → 0.16.4-beta.10
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/ActionBarItem.d.ts +2 -21
- package/ActionBarItem.js +2 -2
- package/ActionBarItemList.d.ts +2 -5
- package/ActionBarItemList.js +2 -2
- package/ActionBarItemListItem.d.ts +2 -5
- package/ActionBarItemListItem.js +2 -2
- package/ActionBarItemListSeparator.d.ts +2 -5
- package/ActionBarItemListSeparator.js +2 -2
- package/Activity.d.ts +2 -11
- package/Activity.js +2 -2
- package/AnimatedNumber.d.ts +2 -5
- package/AnimatedNumber.js +2 -2
- package/AppNavigationBar.js +2 -2
- package/ApplicationHeader.d.ts +2 -5
- package/ApplicationHeader.js +2 -2
- package/ApplicationLayout.d.ts +2 -15
- package/ApplicationLayout.js +2 -2
- package/ApplicationLayoutBodyBanner.d.ts +2 -5
- package/ApplicationLayoutBodyBanner.js +2 -2
- package/ApplicationLayoutBodyBottomBar.d.ts +2 -5
- package/ApplicationLayoutBodyBottomBar.js +2 -2
- package/ApplicationLayoutBodyNavigation.d.ts +2 -5
- package/ApplicationLayoutBodyNavigation.js +2 -2
- package/Area.js +2 -2
- package/AreaChart.js +2 -2
- package/AreaGradient.js +2 -2
- package/AspectRatioPlaceholder.d.ts +2 -5
- package/AspectRatioPlaceholder.js +2 -2
- package/AssetTree.js +2 -2
- package/AutoSuggest.d.ts +2 -6
- package/AutoSuggest.js +2 -2
- package/Bar.js +2 -2
- package/BarChart.js +2 -2
- package/BottomSheet.d.ts +2 -5
- package/BottomSheet.js +2 -2
- package/BrowserWarning.js +2 -2
- package/Button.d.ts +2 -27
- package/Button.js +2 -2
- package/ButtonDropdown.js +2 -2
- package/CalendarStripe.js +2 -2
- package/Carousel.js +2 -2
- package/ChartNeedle.js +2 -2
- package/ChartTooltip.js +2 -2
- package/Checkbox.d.ts +2 -5
- package/Checkbox.js +2 -2
- package/Circle.js +2 -2
- package/ClearableInput.d.ts +2 -5
- package/ClearableInput.js +2 -2
- package/ClusterLayer.js +2 -2
- package/ClusterMapMarker.js +2 -2
- package/ClusterUtils.js +2 -2
- package/Collapse.js +2 -2
- package/ColorScheme.js +2 -2
- package/Colors.js +2 -2
- package/ConfirmationDialog.js +2 -2
- package/ContentLoader.d.ts +2 -8
- package/ContentLoader.js +2 -2
- package/ContextMenu.js +2 -2
- package/ContextMenuItem.js +2 -2
- package/CustomState.js +2 -2
- package/DataTab.d.ts +2 -5
- package/DataTab.js +2 -2
- package/DataTabs.d.ts +2 -5
- package/DataTabs.js +2 -2
- package/DatePicker.js +2 -2
- package/DateRangePicker.js +2 -2
- package/DeviceUtils.js +2 -2
- package/Dialog.js +2 -2
- package/DomMarker.js +2 -2
- package/DropdownSubmenu.js +2 -2
- package/EditableContent.d.ts +2 -0
- package/EditableContent.js +2 -0
- package/EmptyState.js +2 -2
- package/ErrorState.js +2 -2
- package/EventUtils.js +2 -2
- package/ExpanderList.js +2 -2
- package/ExpanderPanel.js +2 -2
- package/Fade.js +2 -2
- package/FilePicker.js +2 -2
- package/ForbiddenState.js +2 -2
- package/GroupSelectionUtil.d.ts +2 -0
- package/GroupSelectionUtil.js +2 -2
- package/ImagePreloader.js +2 -2
- package/IncidentsLayer.js +2 -2
- package/InfoDialog.js +2 -2
- package/LICENSE +201 -201
- package/Legend.js +2 -2
- package/Line.js +2 -2
- package/LineChart.js +2 -2
- package/ListMenu.js +2 -2
- package/LoadMoreButton.d.ts +2 -5
- package/LoadMoreButton.js +2 -2
- package/MaintenanceState.js +2 -2
- package/Map.js +2 -2
- package/MapBoundingBoxButton.js +2 -2
- package/MapCenterMarkerButton.js +2 -2
- package/MapClusterSettings.js +2 -2
- package/MapCustomerPoiSettingsItem.js +2 -2
- package/MapLayerGroup.js +2 -2
- package/MapLayerIncidentsItem.js +2 -2
- package/MapLayerRoadRestrictionsItem.js +2 -2
- package/MapLayerSettings.js +2 -2
- package/MapLayerTrafficItem.js +2 -2
- package/MapLockMarkerButton.js +2 -2
- package/MapSettings.js +2 -2
- package/MapSettingsItem.js +2 -2
- package/MapSettingsPanel.js +2 -2
- package/MapSettingsTile.js +2 -2
- package/MapTypeSettings.js +2 -2
- package/MapWorkshopPoiSettingsItem.js +2 -2
- package/Marker.js +2 -2
- package/MarkerLayer.js +2 -2
- package/MediaDialog.js +2 -2
- package/MenuItem.js +2 -2
- package/Multiselect.js +2 -2
- package/NoData.d.ts +2 -5
- package/NoData.js +2 -2
- package/NotBookedState.js +2 -2
- package/NotFoundState.js +2 -2
- package/Notification.js +2 -2
- package/NotificationsContainer.js +2 -2
- package/NumberControl.d.ts +2 -8
- package/NumberControl.js +2 -2
- package/NumberInput.d.ts +2 -8
- package/NumberInput.js +2 -2
- package/OnboardingTip.js +2 -2
- package/OverlayTrigger.d.ts +2 -29
- package/OverlayTrigger.js +2 -2
- package/Pager.d.ts +2 -11
- package/Pager.js +2 -2
- package/PieChart.js +2 -2
- package/Polygon.js +2 -2
- package/Polyline.js +2 -2
- package/Popover.js +2 -2
- package/Position.js +2 -2
- package/PositionUtils.js +2 -2
- package/README.md +295 -295
- package/RadialBarChart.js +2 -2
- package/RadioButton.js +2 -2
- package/RangeSlider.js +2 -2
- package/ReleaseNotes.d.ts +2 -5
- package/ReleaseNotes.js +2 -2
- package/ReleaseNotesDialog.js +2 -2
- package/Resizer.d.ts +2 -13
- package/Resizer.js +2 -2
- package/ResponsiveColumnStripe.js +2 -2
- package/ResponsiveVideo.d.ts +2 -8
- package/ResponsiveVideo.js +2 -2
- package/Route.js +2 -2
- package/RuleConnector.js +2 -2
- package/RuleContainer.js +2 -2
- package/RulesWrapper.js +2 -2
- package/SaveDialog.js +2 -2
- package/SaveableInput.d.ts +2 -0
- package/SaveableInput.js +2 -0
- package/Select.js +2 -2
- package/Sidebar.js +2 -2
- package/SimpleButtonDropdown.js +2 -2
- package/SimpleClusterLayer.js +2 -2
- package/SimpleDialog.js +2 -2
- package/SimpleTooltip.d.ts +2 -29
- package/SimpleTooltip.js +2 -2
- package/SingleButtonDropdown.js +2 -2
- package/SingleMapMarker.js +2 -2
- package/Slider.js +2 -2
- package/SortArrowDown.js +2 -2
- package/SortArrowUp.js +2 -2
- package/SortArrows.js +2 -2
- package/SortDirection.js +2 -2
- package/SortUtils.js +2 -2
- package/Spinner.d.ts +2 -5
- package/Spinner.js +2 -2
- package/SplitButtonDropdown.js +2 -2
- package/SplitDialog.js +2 -2
- package/StatsWidget.d.ts +2 -10
- package/StatsWidget.js +2 -2
- package/StatsWidgetNumber.d.ts +2 -5
- package/StatsWidgetNumber.js +2 -2
- package/StatsWidgetSpacer.d.ts +2 -5
- package/StatsWidgetSpacer.js +2 -2
- package/StatsWidgets.d.ts +1 -5
- package/StatsWidgets.js +1 -2
- package/StatusBar.d.ts +2 -5
- package/StatusBar.js +2 -2
- package/SteppedProgressBar.js +2 -2
- package/SubNavigation.js +2 -2
- package/SupportMarker.d.ts +9 -0
- package/SupportMarker.js +6 -6
- package/Switch.d.ts +2 -8
- package/Switch.js +2 -2
- package/TableCardsSorting.js +2 -2
- package/TableSearch.js +2 -2
- package/TableSettingsDialog.js +2 -2
- package/TableToolbar.js +2 -2
- package/TableViewToggles.js +2 -2
- package/Tag.js +2 -2
- package/TagList.js +2 -2
- package/TagManager.js +2 -2
- package/Teaser.js +2 -2
- package/TeaserContainer.js +2 -2
- package/TextMarker.js +2 -2
- package/TimePicker.js +2 -2
- package/ToggleButton.d.ts +2 -5
- package/ToggleButton.js +2 -2
- package/Tooltip.d.ts +2 -32
- package/Tooltip.js +2 -2
- package/TrafficLayer.js +2 -2
- package/Tree.js +2 -2
- package/TreeCategory.js +2 -2
- package/TreeOption.js +2 -2
- package/TreeSearch.js +2 -2
- package/TreeSummary.js +2 -2
- package/TruckLayer.js +2 -2
- package/TypeCounter.js +2 -2
- package/VolkswagenApplicationHeader.js +2 -2
- package/components/actionBarItem/ActionBarItem.d.ts +50 -0
- package/components/actionBarItem/ActionBarItem.js +118 -208
- package/components/actionBarItem/ActionBarItemIcon.d.ts +9 -0
- package/components/actionBarItem/ActionBarItemIcon.js +12 -20
- package/components/actionBarItem/ActionBarItemList.d.ts +12 -0
- package/components/actionBarItem/ActionBarItemList.js +12 -20
- package/components/actionBarItem/ActionBarItemListItem.d.ts +29 -0
- package/components/actionBarItem/ActionBarItemListItem.js +14 -33
- package/components/actionBarItem/ActionBarItemListSeparator.d.ts +11 -0
- package/components/actionBarItem/ActionBarItemListSeparator.js +11 -19
- package/components/actionBarItem/ActionBarItemPopoverContent.d.ts +17 -0
- package/components/actionBarItem/ActionBarItemPopoverContent.js +14 -24
- package/components/actionBarItem/ActionBarOverlay.d.ts +18 -0
- package/components/actionBarItem/ActionBarOverlay.js +18 -55
- package/components/activity/Activity.d.ts +54 -0
- package/components/activity/Activity.js +29 -56
- package/components/animatedNumber/AnimatedNumber.d.ts +21 -0
- package/components/animatedNumber/AnimatedNumber.js +20 -61
- package/components/applicationHeader/AppMenu.d.ts +11 -0
- package/components/applicationHeader/AppMenu.js +14 -59
- package/components/applicationHeader/AppMenuContent.d.ts +8 -0
- package/components/applicationHeader/AppMenuContent.js +16 -0
- package/components/applicationHeader/AppMenuDropdown.d.ts +8 -0
- package/components/applicationHeader/AppMenuDropdown.js +37 -77
- package/components/applicationHeader/ApplicationActionBar.d.ts +8 -0
- package/components/applicationHeader/ApplicationActionBar.js +11 -21
- package/components/applicationHeader/ApplicationHeader.d.ts +70 -0
- package/components/applicationHeader/ApplicationHeader.js +32 -113
- package/components/applicationHeader/CollapsedNavItem.d.ts +11 -0
- package/components/applicationHeader/CollapsedNavItem.js +14 -0
- package/components/applicationHeader/MobileAppMenu.d.ts +11 -0
- package/components/applicationHeader/MobileAppMenu.js +17 -55
- package/components/applicationHeader/MobileHeaderModal.d.ts +10 -0
- package/components/applicationHeader/MobileHeaderModal.js +18 -72
- package/components/applicationHeader/MobileSubmoduleNavigation.d.ts +9 -0
- package/components/applicationHeader/MobileSubmoduleNavigation.js +22 -63
- package/components/applicationHeader/NavItems.d.ts +9 -0
- package/components/applicationHeader/NavItems.js +122 -195
- package/components/applicationLayout/ApplicationLayout.d.ts +22 -0
- package/components/applicationLayout/ApplicationLayout.js +20 -32
- package/components/applicationLayout/ApplicationLayoutBody.d.ts +42 -0
- package/components/applicationLayout/ApplicationLayoutBody.js +42 -89
- package/components/applicationLayout/ApplicationLayoutBodyBanner.d.ts +26 -0
- package/components/applicationLayout/ApplicationLayoutBodyBanner.js +12 -31
- package/components/applicationLayout/ApplicationLayoutBodyBottomBar.d.ts +30 -0
- package/components/applicationLayout/ApplicationLayoutBodyBottomBar.js +12 -30
- package/components/applicationLayout/ApplicationLayoutBodyNavigation.d.ts +11 -0
- package/components/applicationLayout/ApplicationLayoutBodyNavigation.js +10 -21
- package/components/applicationLayout/ApplicationLayoutHeader.d.ts +11 -0
- package/components/applicationLayout/ApplicationLayoutHeader.js +14 -22
- package/components/applicationLayout/ApplicationLayoutSidebar.d.ts +11 -0
- package/components/applicationLayout/ApplicationLayoutSidebar.js +10 -21
- package/components/applicationLayout/SubNavigation.d.ts +8 -0
- package/components/applicationLayout/SubNavigation.js +10 -37
- package/components/aspectRatioPlaceholder/AspectRatioPlaceholder.d.ts +11 -0
- package/components/aspectRatioPlaceholder/AspectRatioPlaceholder.js +8 -25
- package/components/assetTree/AssetTree.d.ts +3 -0
- package/components/assetTree/AssetTree.js +135 -201
- package/components/assetTree/Tree.d.ts +4 -0
- package/components/assetTree/Tree.js +428 -672
- package/components/assetTree/TreeCategory.d.ts +12 -0
- package/components/assetTree/TreeCategory.js +10 -12
- package/components/assetTree/TreeLeaf.d.ts +12 -0
- package/components/assetTree/TreeLeaf.js +13 -53
- package/components/assetTree/TreeLeafList.d.ts +14 -0
- package/components/assetTree/TreeLeafList.js +28 -47
- package/components/assetTree/TreeNode.d.ts +3 -0
- package/components/assetTree/TreeNode.js +27 -59
- package/components/assetTree/TreeNodeContainer.d.ts +13 -0
- package/components/assetTree/TreeNodeContainer.js +13 -18
- package/components/assetTree/TreeNothingFound.d.ts +3 -0
- package/components/assetTree/TreeNothingFound.js +14 -16
- package/components/assetTree/TreeOption.d.ts +18 -0
- package/components/assetTree/TreeOption.js +23 -38
- package/components/assetTree/TreeOptions.d.ts +14 -0
- package/components/assetTree/TreeOptions.js +24 -36
- package/components/assetTree/TreeRoot.d.ts +12 -0
- package/components/assetTree/TreeRoot.js +13 -19
- package/components/assetTree/TreeSearch.d.ts +3 -0
- package/components/assetTree/TreeSearch.js +21 -36
- package/components/assetTree/TreeSelectAll.d.ts +27 -0
- package/components/assetTree/TreeSelectAll.js +28 -41
- package/components/assetTree/TreeSidebar.d.ts +3 -0
- package/components/assetTree/TreeSidebar.js +44 -75
- package/components/assetTree/TreeSummary.d.ts +3 -0
- package/components/assetTree/TreeSummary.js +30 -62
- package/components/assetTree/TypeCounter.d.ts +3 -0
- package/components/assetTree/TypeCounter.js +32 -52
- package/components/autosuggest/AutoSuggest.d.ts +199 -0
- package/components/autosuggest/AutoSuggest.js +203 -473
- package/components/autosuggest/AutoSuggestAddons.d.ts +8 -0
- package/components/autosuggest/AutoSuggestAddons.js +7 -0
- package/components/autosuggest/DropdownSpinner.d.ts +4 -0
- package/components/autosuggest/DropdownSpinner.js +5 -0
- package/components/autosuggest/NoItemMessage.d.ts +5 -0
- package/components/autosuggest/NoItemMessage.js +5 -0
- package/components/bottomSheet/BottomSheet.d.ts +68 -0
- package/components/bottomSheet/BottomSheet.js +55 -128
- package/components/browserWarning/BrowserIcons.d.ts +2 -0
- package/components/browserWarning/BrowserIcons.js +5 -61
- package/components/browserWarning/BrowserWarning.d.ts +15 -0
- package/components/browserWarning/BrowserWarning.js +46 -69
- package/components/browserWarning/BrowserWarningMessageDE.d.ts +4 -0
- package/components/browserWarning/BrowserWarningMessageDE.js +6 -35
- package/components/browserWarning/BrowserWarningMessageEN.d.ts +4 -0
- package/components/browserWarning/BrowserWarningMessageEN.js +6 -35
- package/components/button/Button.d.ts +122 -0
- package/components/button/Button.js +79 -115
- package/components/button/ToggleButton.d.ts +7 -0
- package/components/button/ToggleButton.js +6 -11
- package/components/calendarStripe/CalendarStripe.d.ts +3 -0
- package/components/calendarStripe/CalendarStripe.js +145 -214
- package/components/carousel/Carousel.d.ts +2 -0
- package/components/carousel/Carousel.js +9 -12
- package/components/carousel/CarouselCaption.d.ts +13 -0
- package/components/carousel/CarouselCaption.js +18 -42
- package/components/carousel/CarouselItem.d.ts +36 -0
- package/components/carousel/CarouselItem.js +85 -128
- package/components/charts/Area.d.ts +13 -0
- package/components/charts/Area.js +11 -13
- package/components/charts/AreaChart.d.ts +17 -0
- package/components/charts/AreaChart.js +40 -98
- package/components/charts/AreaGradient.d.ts +11 -0
- package/components/charts/AreaGradient.js +9 -27
- package/components/charts/Bar.d.ts +10 -0
- package/components/charts/Bar.js +8 -10
- package/components/charts/BarChart.d.ts +18 -0
- package/components/charts/BarChart.js +43 -98
- package/components/charts/ChartNeedle.d.ts +12 -0
- package/components/charts/ChartNeedle.js +18 -41
- package/components/charts/ChartTooltip.d.ts +5 -0
- package/components/charts/ChartTooltip.js +3 -5
- package/components/charts/Legend.d.ts +11 -0
- package/components/charts/Legend.js +9 -11
- package/components/charts/Line.d.ts +12 -0
- package/components/charts/Line.js +10 -12
- package/components/charts/LineChart.d.ts +16 -0
- package/components/charts/LineChart.js +31 -81
- package/components/charts/PieChart.d.ts +20 -0
- package/components/charts/PieChart.js +48 -105
- package/components/charts/RadialBarChart.d.ts +20 -0
- package/components/charts/RadialBarChart.js +40 -112
- package/components/charts/chartHelper.d.ts +5 -0
- package/components/charts/chartHelper.js +18 -26
- package/components/checkbox/Checkbox.d.ts +127 -0
- package/components/checkbox/Checkbox.js +58 -159
- package/components/checkbox/CheckboxIcon.d.ts +9 -0
- package/components/checkbox/CheckboxIcon.js +11 -0
- package/components/clearableInput/ClearableInput.d.ts +96 -0
- package/components/clearableInput/ClearableInput.js +68 -184
- package/components/collapse/Collapse.d.ts +59 -0
- package/components/collapse/Collapse.js +148 -217
- package/components/contentLoader/ContentLoader.d.ts +55 -0
- package/components/contentLoader/ContentLoader.js +50 -82
- package/components/dataTabs/DataTab.d.ts +29 -0
- package/components/dataTabs/DataTab.js +22 -56
- package/components/dataTabs/DataTabHeader.d.ts +18 -0
- package/components/dataTabs/DataTabHeader.js +10 -0
- package/components/dataTabs/DataTabs.d.ts +80 -0
- package/components/dataTabs/DataTabs.js +52 -142
- package/components/datepicker/DatePicker.d.ts +3 -0
- package/components/datepicker/DatePicker.js +48 -69
- package/components/datepicker/DateRangePicker.d.ts +208 -0
- package/components/datepicker/DateRangePicker.js +432 -697
- package/components/dialog/ConfirmationDialog.d.ts +25 -0
- package/components/dialog/ConfirmationDialog.js +31 -57
- package/components/dialog/Dialog.d.ts +42 -0
- package/components/dialog/Dialog.js +96 -149
- package/components/dialog/DialogBody.d.ts +16 -0
- package/components/dialog/DialogBody.js +17 -22
- package/components/dialog/DialogFooter.d.ts +16 -0
- package/components/dialog/DialogFooter.js +17 -22
- package/components/dialog/DialogHeader.d.ts +18 -0
- package/components/dialog/DialogHeader.js +20 -46
- package/components/dialog/InfoDialog.d.ts +18 -0
- package/components/dialog/InfoDialog.js +12 -23
- package/components/dialog/MediaDialog.d.ts +58 -0
- package/components/dialog/MediaDialog.js +107 -216
- package/components/dialog/ReleaseNotesDialog.d.ts +20 -0
- package/components/dialog/ReleaseNotesDialog.js +37 -58
- package/components/dialog/SaveDialog.d.ts +31 -0
- package/components/dialog/SaveDialog.js +23 -63
- package/components/dialog/SimpleDialog.d.ts +21 -0
- package/components/dialog/SimpleDialog.js +18 -30
- package/components/dialog/SplitDialog.d.ts +32 -0
- package/components/dialog/SplitDialog.js +24 -48
- package/components/dialog/baseDialogPropTypes.d.ts +14 -0
- package/components/dialog/baseDialogPropTypes.js +13 -13
- package/components/driverName/DriverName.d.ts +18 -0
- package/components/driverName/DriverName.js +18 -24
- package/components/dropdown/ButtonDropdown.d.ts +66 -0
- package/components/dropdown/ButtonDropdown.js +127 -189
- package/components/dropdown/Caret.d.ts +2 -0
- package/components/dropdown/Caret.js +4 -7
- package/components/dropdown/DropdownSubmenu.d.ts +19 -0
- package/components/dropdown/DropdownSubmenu.js +25 -38
- package/components/dropdown/DropdownToggleButton.d.ts +3 -0
- package/components/dropdown/DropdownToggleButton.js +19 -34
- package/components/dropdown/SimpleButtonDropdown.d.ts +2 -0
- package/components/dropdown/SimpleButtonDropdown.js +5 -9
- package/components/dropdown/SingleButtonDropdown.d.ts +2 -0
- package/components/dropdown/SingleButtonDropdown.js +5 -6
- package/components/dropdown/SplitButtonDropdown.d.ts +2 -0
- package/components/dropdown/SplitButtonDropdown.js +5 -9
- package/components/dropdown/SplitCaretButton.d.ts +3 -0
- package/components/dropdown/SplitCaretButton.js +17 -26
- package/components/dropdown/menuItemsPropTypes.d.ts +9 -0
- package/components/dropdown/menuItemsPropTypes.js +8 -8
- package/components/editableContent/EditableContent.d.ts +86 -0
- package/components/editableContent/EditableContent.js +109 -0
- package/components/expander/ExpanderList.d.ts +39 -0
- package/components/expander/ExpanderList.js +97 -157
- package/components/expander/ExpanderPanel.d.ts +51 -0
- package/components/expander/ExpanderPanel.js +71 -108
- package/components/fade/Fade.d.ts +46 -0
- package/components/fade/Fade.js +177 -272
- package/components/filepicker/FilePicker.d.ts +30 -0
- package/components/filepicker/FilePicker.js +49 -78
- package/components/listMenu/ListMenu.d.ts +44 -0
- package/components/listMenu/ListMenu.js +129 -246
- package/components/loadMore/LoadMoreButton.d.ts +42 -0
- package/components/loadMore/LoadMoreButton.js +13 -51
- package/components/loadMore/LoadMoreProgress.d.ts +12 -0
- package/components/loadMore/LoadMoreProgress.js +19 -35
- package/components/map/components/Map.d.ts +99 -0
- package/components/map/components/Map.js +322 -463
- package/components/map/components/constants.d.ts +12 -0
- package/components/map/components/constants.js +12 -12
- package/components/map/components/context.d.ts +2 -0
- package/components/map/components/context.js +3 -3
- package/components/map/components/features/ContextMenu.d.ts +2 -0
- package/components/map/components/features/ContextMenu.js +115 -146
- package/components/map/components/features/ContextMenuItem.d.ts +28 -0
- package/components/map/components/features/ContextMenuItem.js +29 -31
- package/components/map/components/features/MapSettings.d.ts +22 -0
- package/components/map/components/features/MapSettings.js +64 -77
- package/components/map/components/features/Route.d.ts +48 -0
- package/components/map/components/features/Route.js +94 -164
- package/components/map/components/features/basics/Circle.d.ts +21 -0
- package/components/map/components/features/basics/Circle.js +38 -54
- package/components/map/components/features/basics/MapLayerGroup.d.ts +23 -0
- package/components/map/components/features/basics/MapLayerGroup.js +45 -66
- package/components/map/components/features/basics/Polygon.d.ts +17 -0
- package/components/map/components/features/basics/Polygon.js +46 -57
- package/components/map/components/features/basics/Polyline.d.ts +20 -0
- package/components/map/components/features/basics/Polyline.js +76 -103
- package/components/map/components/features/basics/marker/DomMarker.d.ts +33 -0
- package/components/map/components/features/basics/marker/DomMarker.js +55 -83
- package/components/map/components/features/basics/marker/Marker.d.ts +21 -0
- package/components/map/components/features/basics/marker/Marker.js +116 -134
- package/components/map/components/features/basics/marker/Marker2.d.ts +21 -0
- package/components/map/components/features/basics/marker/Marker2.js +215 -0
- package/components/map/components/features/basics/marker/TextMarker.d.ts +17 -0
- package/components/map/components/features/basics/marker/TextMarker.js +28 -30
- package/components/map/components/features/layers/IncidentsLayer.d.ts +2 -0
- package/components/map/components/features/layers/IncidentsLayer.js +9 -13
- package/components/map/components/features/layers/Layer.d.ts +16 -0
- package/components/map/components/features/layers/Layer.js +26 -29
- package/components/map/components/features/layers/MarkerLayer.d.ts +14 -0
- package/components/map/components/features/layers/MarkerLayer.js +27 -41
- package/components/map/components/features/layers/RoadRestrictionLayer.d.ts +2 -0
- package/components/map/components/features/layers/RoadRestrictionLayer.js +20 -26
- package/components/map/components/features/layers/TrafficLayer.d.ts +2 -0
- package/components/map/components/features/layers/TrafficLayer.js +28 -34
- package/components/map/components/features/layers/baselayers/DefaultRasterLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +17 -20
- package/components/map/components/features/layers/baselayers/DefaultVectorLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +14 -15
- package/components/map/components/features/layers/baselayers/FleetStyleLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/FleetStyleLayer.js +15 -16
- package/components/map/components/features/layers/baselayers/NightLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/NightLayer.js +14 -17
- package/components/map/components/features/layers/baselayers/SatelliteLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/SatelliteLayer.js +15 -16
- package/components/map/components/features/layers/baselayers/TerrainLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/TerrainLayer.js +15 -16
- package/components/map/components/features/layers/baselayers/useBaseLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/useBaseLayer.js +39 -56
- package/components/map/components/features/layers/clustering/ClusterLayer.d.ts +29 -0
- package/components/map/components/features/layers/clustering/ClusterLayer.js +67 -88
- package/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +10 -0
- package/components/map/components/features/layers/clustering/SimpleClusterLayer.js +15 -21
- package/components/map/components/features/settings/MapSettingsItem.d.ts +20 -0
- package/components/map/components/features/settings/MapSettingsItem.js +30 -34
- package/components/map/components/features/settings/MapSettingsPanel.d.ts +12 -0
- package/components/map/components/features/settings/MapSettingsPanel.js +20 -35
- package/components/map/components/features/settings/MapSettingsTile.d.ts +20 -0
- package/components/map/components/features/settings/MapSettingsTile.js +56 -86
- package/components/map/components/features/settings/ZoomButtons.d.ts +12 -0
- package/components/map/components/features/settings/ZoomButtons.js +14 -35
- package/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +19 -0
- package/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +28 -68
- package/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +22 -0
- package/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +35 -54
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +17 -0
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +48 -128
- package/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +14 -0
- package/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +19 -34
- package/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +14 -0
- package/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +19 -34
- package/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +14 -0
- package/components/map/components/features/settings/buttons/MapLockMarkerButton.js +19 -34
- package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +16 -0
- package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +21 -40
- package/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +19 -0
- package/components/map/components/features/settings/items/MapLayerIncidentsItem.js +27 -41
- package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +19 -0
- package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +27 -41
- package/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +19 -0
- package/components/map/components/features/settings/items/MapLayerTrafficItem.js +27 -41
- package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +16 -0
- package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +21 -40
- package/components/map/components/mapUtils.d.ts +50 -0
- package/components/map/components/mapUtils.js +148 -193
- package/components/map/exceptions/MapException.d.ts +8 -0
- package/components/map/exceptions/MapException.js +7 -7
- package/components/map/herePolyfill.d.ts +0 -0
- package/components/map/herePolyfill.js +7 -6
- package/components/map/icons/MapIcon.d.ts +40 -0
- package/components/map/icons/MapIcon.js +82 -502
- package/components/map/utils/clustering.d.ts +9 -0
- package/components/map/utils/clustering.js +57 -62
- package/components/map/utils/eventHandling.d.ts +47 -0
- package/components/map/utils/eventHandling.js +114 -143
- package/components/map/utils/hooks.d.ts +2 -0
- package/components/map/utils/hooks.js +22 -23
- package/components/map/utils/localization.d.ts +2 -0
- package/components/map/utils/localization.js +401 -400
- package/components/map/utils/positions.d.ts +10 -0
- package/components/map/utils/positions.js +46 -47
- package/components/map/utils/proptypes.d.ts +47 -0
- package/components/map/utils/proptypes.js +50 -50
- package/components/map/utils/validation.d.ts +2 -0
- package/components/map/utils/validation.js +8 -10
- package/components/mapMarker/ClusterMapMarker.d.ts +26 -0
- package/components/mapMarker/ClusterMapMarker.js +47 -65
- package/components/mapMarker/SingleMapMarker.d.ts +35 -0
- package/components/mapMarker/SingleMapMarker.js +62 -88
- package/components/menuItems/MenuItem.d.ts +14 -0
- package/components/menuItems/MenuItem.js +34 -67
- package/components/menuItems/MenuItems.d.ts +3 -0
- package/components/menuItems/MenuItems.js +10 -18
- package/components/menuItems/getMenuItems.d.ts +2 -0
- package/components/menuItems/getMenuItems.js +7 -15
- package/components/navigation/AppNavigationBar.d.ts +3 -0
- package/components/navigation/AppNavigationBar.js +22 -40
- package/components/noData/NoData.d.ts +37 -0
- package/components/noData/NoData.js +16 -47
- package/components/notification/Notification.d.ts +1 -0
- package/components/notification/Notification.js +4 -6
- package/components/notification/NotificationsContainer.d.ts +14 -0
- package/components/notification/NotificationsContainer.js +16 -18
- package/components/numberControl/NumberControl.d.ts +5 -0
- package/components/numberControl/NumberControl.js +113 -198
- package/components/numberInput/NumberInput.d.ts +77 -0
- package/components/numberInput/NumberInput.js +158 -179
- package/components/onboarding/OnboardingTip.d.ts +63 -0
- package/components/onboarding/OnboardingTip.js +99 -116
- package/components/overlay/OverlayTrigger.d.ts +25 -0
- package/components/overlay/OverlayTrigger.js +33 -50
- package/components/pager/Pager.d.ts +53 -0
- package/components/pager/Pager.js +32 -86
- package/components/popover/Popover.d.ts +3 -0
- package/components/popover/Popover.js +23 -36
- package/components/position/Position.d.ts +10 -0
- package/components/position/Position.js +27 -29
- package/components/preloader/ImagePreloader.d.ts +22 -0
- package/components/preloader/ImagePreloader.js +60 -77
- package/components/radiobutton/RadioButton.d.ts +45 -0
- package/components/radiobutton/RadioButton.js +85 -139
- package/components/releaseNotes/ReleaseNotes.d.ts +35 -0
- package/components/releaseNotes/ReleaseNotes.js +17 -56
- package/components/resizer/Resizer.d.ts +58 -0
- package/components/resizer/Resizer.js +131 -178
- package/components/responsiveColumnStripe/ResponsiveColumnStripe.d.ts +3 -0
- package/components/responsiveColumnStripe/ResponsiveColumnStripe.js +165 -255
- package/components/rules/RuleConnector.d.ts +39 -0
- package/components/rules/RuleConnector.js +44 -76
- package/components/rules/RuleContainer.d.ts +28 -0
- package/components/rules/RuleContainer.js +41 -72
- package/components/rules/RulesWrapper.d.ts +8 -0
- package/components/rules/RulesWrapper.js +10 -17
- package/components/saveableInput/SaveableInput.d.ts +46 -0
- package/components/saveableInput/SaveableInput.js +90 -0
- package/components/selects/BaseDropdownMenu.d.ts +83 -0
- package/components/selects/BaseDropdownMenu.js +255 -377
- package/components/selects/DropdownHeader.d.ts +14 -0
- package/components/selects/DropdownHeader.js +16 -23
- package/components/selects/Multiselect.d.ts +98 -0
- package/components/selects/Multiselect.js +321 -495
- package/components/selects/Select.d.ts +97 -0
- package/components/selects/Select.js +280 -446
- package/components/sidebars/Sidebar.d.ts +112 -0
- package/components/sidebars/Sidebar.js +216 -365
- package/components/slider/RangeSlider.d.ts +33 -0
- package/components/slider/RangeSlider.js +122 -214
- package/components/slider/Slider.d.ts +38 -0
- package/components/slider/Slider.js +56 -96
- package/components/spinner/Spinner.d.ts +48 -0
- package/components/spinner/Spinner.js +24 -64
- package/components/states/CustomState.d.ts +15 -0
- package/components/states/CustomState.js +58 -118
- package/components/states/EmptyState.d.ts +9 -0
- package/components/states/EmptyState.js +10 -11
- package/components/states/ErrorState.d.ts +9 -0
- package/components/states/ErrorState.js +10 -11
- package/components/states/ForbiddenState.d.ts +9 -0
- package/components/states/ForbiddenState.js +10 -11
- package/components/states/MaintenanceState.d.ts +9 -0
- package/components/states/MaintenanceState.js +10 -11
- package/components/states/NotBookedState.d.ts +20 -0
- package/components/states/NotBookedState.js +28 -41
- package/components/states/NotFoundState.d.ts +9 -0
- package/components/states/NotFoundState.js +10 -11
- package/components/states/baseStatePropTypes.d.ts +26 -0
- package/components/states/baseStatePropTypes.js +26 -26
- package/components/statsWidget/StatsWidget.d.ts +26 -0
- package/components/statsWidget/StatsWidget.js +19 -39
- package/components/statsWidget/StatsWidgetBody.d.ts +14 -0
- package/components/statsWidget/StatsWidgetBody.js +11 -28
- package/components/statsWidget/StatsWidgetFooter.d.ts +9 -0
- package/components/statsWidget/StatsWidgetFooter.js +11 -15
- package/components/statsWidget/StatsWidgetHeader.d.ts +9 -0
- package/components/statsWidget/StatsWidgetHeader.js +11 -15
- package/components/statsWidget/StatsWidgetNumber.d.ts +31 -0
- package/components/statsWidget/StatsWidgetNumber.js +11 -40
- package/components/statsWidget/StatsWidgetSpacer.d.ts +8 -0
- package/components/statsWidget/StatsWidgetSpacer.js +10 -14
- package/components/statsWidget/StatsWidgets.d.ts +9 -0
- package/components/statsWidget/StatsWidgets.js +11 -19
- package/components/statusBar/StatusBar.d.ts +33 -0
- package/components/statusBar/StatusBar.js +56 -213
- package/components/statusBar/StatusBar.types.d.ts +85 -0
- package/components/statusBar/StatusBar.types.js +1 -0
- package/components/statusBar/StatusBarConstants.d.ts +8 -0
- package/components/statusBar/StatusBarConstants.js +12 -0
- package/components/statusBar/StatusBarIcon.d.ts +7 -0
- package/components/statusBar/StatusBarIcon.js +16 -0
- package/components/statusBar/StatusBarLabel.d.ts +8 -0
- package/components/statusBar/StatusBarLabel.js +20 -0
- package/components/statusBar/StatusBarProgressBar.d.ts +8 -0
- package/components/statusBar/StatusBarProgressBar.js +16 -0
- package/components/steppedProgressBar/SteppedProgressBar.d.ts +35 -0
- package/components/steppedProgressBar/SteppedProgressBar.js +65 -84
- package/components/supportMarker/toggleSupportMarker.d.ts +3 -0
- package/components/supportMarker/toggleSupportMarker.js +25 -23
- package/components/switch/Switch.d.ts +51 -0
- package/components/switch/Switch.js +25 -77
- package/components/table/SortArrows.d.ts +5 -0
- package/components/table/SortArrows.js +6 -18
- package/components/table/TableCardsSorting.d.ts +37 -0
- package/components/table/TableCardsSorting.js +61 -108
- package/components/table/TableSearch.d.ts +9 -0
- package/components/table/TableSearch.js +15 -20
- package/components/table/TableSettingsColumnButtons.d.ts +28 -0
- package/components/table/TableSettingsColumnButtons.js +38 -67
- package/components/table/TableSettingsColumnDetails.d.ts +19 -0
- package/components/table/TableSettingsColumnDetails.js +31 -74
- package/components/table/TableSettingsDialog.d.ts +107 -0
- package/components/table/TableSettingsDialog.js +345 -538
- package/components/table/TableSettingsDialogFooter.d.ts +43 -0
- package/components/table/TableSettingsDialogFooter.js +37 -88
- package/components/table/TableSettingsListContainer.d.ts +9 -0
- package/components/table/TableSettingsListContainer.js +30 -55
- package/components/table/TableSettingsListItem.d.ts +27 -0
- package/components/table/TableSettingsListItem.js +64 -125
- package/components/table/TableToolbar.d.ts +12 -0
- package/components/table/TableToolbar.js +13 -16
- package/components/table/TableViewToggles.d.ts +30 -0
- package/components/table/TableViewToggles.js +83 -109
- package/components/table/tableSettingsPropTypes.d.ts +8 -0
- package/components/table/tableSettingsPropTypes.js +6 -6
- package/components/tag/Tag.d.ts +37 -0
- package/components/tag/Tag.js +35 -52
- package/components/tag/TagList.d.ts +17 -0
- package/components/tag/TagList.js +21 -30
- package/components/tagManager/CustomSuggestionItem.d.ts +13 -0
- package/components/tagManager/CustomSuggestionItem.js +15 -22
- package/components/tagManager/TagManager.d.ts +27 -0
- package/components/tagManager/TagManager.js +137 -196
- package/components/tagManager/TagManagerItemList.d.ts +14 -0
- package/components/tagManager/TagManagerItemList.js +23 -33
- package/components/teaser/Teaser.d.ts +51 -0
- package/components/teaser/Teaser.js +128 -201
- package/components/teaser/TeaserContainer.d.ts +13 -0
- package/components/teaser/TeaserContainer.js +46 -48
- package/components/timepicker/TimePicker.d.ts +27 -0
- package/components/timepicker/TimePicker.js +88 -133
- package/components/tooltip/SimpleTooltip.d.ts +36 -0
- package/components/tooltip/SimpleTooltip.js +16 -39
- package/components/tooltip/Tooltip.d.ts +65 -0
- package/components/tooltip/Tooltip.js +35 -85
- package/components/video/ResponsiveVideo.d.ts +33 -0
- package/components/video/ResponsiveVideo.js +13 -28
- package/framer-motion.js +1 -1
- package/hooks/useAfterMount.d.ts +8 -0
- package/hooks/useAfterMount.js +17 -10
- package/hooks/useClickOutside.d.ts +1 -0
- package/hooks/useClickOutside.js +19 -25
- package/hooks/useClipboard.d.ts +8 -0
- package/hooks/useClipboard.js +30 -51
- package/hooks/useDarkMode.d.ts +2 -0
- package/hooks/useDarkMode.js +25 -30
- package/hooks/useDebugInfo.d.ts +6 -0
- package/hooks/useDebugInfo.js +36 -39
- package/hooks/useEffectOnce.d.ts +1 -0
- package/hooks/useEffectOnce.js +4 -4
- package/hooks/useElementSize.d.ts +1 -0
- package/hooks/useElementSize.js +20 -39
- package/hooks/useEsc.d.ts +2 -0
- package/hooks/useEsc.js +5 -6
- package/hooks/useEvent.d.ts +2 -0
- package/hooks/useEvent.js +13 -11
- package/hooks/useFocusTrap.d.ts +16 -0
- package/hooks/useFocusTrap.js +62 -0
- package/hooks/useFullscreen.d.ts +8 -0
- package/hooks/useFullscreen.js +151 -207
- package/hooks/useHover.d.ts +3 -0
- package/hooks/useHover.js +29 -0
- package/hooks/useInterval.d.ts +1 -0
- package/hooks/useInterval.js +17 -23
- package/hooks/useKey.d.ts +3 -0
- package/hooks/useKey.js +14 -15
- package/hooks/useMutationObserver.d.ts +6 -0
- package/hooks/useMutationObserver.js +21 -38
- package/hooks/useOnMount.d.ts +1 -0
- package/hooks/useOnMount.js +10 -10
- package/hooks/useOnScreen.d.ts +3 -0
- package/hooks/useOnScreen.js +19 -30
- package/hooks/useOnlineStatus.d.ts +1 -0
- package/hooks/useOnlineStatus.js +9 -17
- package/hooks/usePrevious.d.ts +21 -0
- package/hooks/usePrevious.js +34 -18
- package/hooks/useRenderCount.d.ts +1 -0
- package/hooks/useRenderCount.js +9 -9
- package/hooks/useResizeObserver.d.ts +3 -0
- package/hooks/useResizeObserver.js +20 -37
- package/hooks/useScrollPosition.d.ts +2 -0
- package/hooks/useScrollPosition.js +59 -71
- package/hooks/useStateWithValidation.d.ts +1 -0
- package/hooks/useStateWithValidation.js +11 -20
- package/hooks/useStorage.d.ts +2 -0
- package/hooks/useStorage.js +30 -34
- package/hooks/useTimeout.d.ts +1 -0
- package/hooks/useTimeout.js +17 -23
- package/hooks/useWindowResize.d.ts +2 -0
- package/hooks/useWindowResize.js +12 -13
- package/index.d.ts +265 -275
- package/index.js +267 -255
- package/lib/es/ActionBarItem.d.ts +2 -21
- package/lib/es/ActionBarItem.js +7 -13
- package/lib/es/ActionBarItemList.d.ts +2 -5
- package/lib/es/ActionBarItemList.js +7 -13
- package/lib/es/ActionBarItemListItem.d.ts +2 -5
- package/lib/es/ActionBarItemListItem.js +7 -13
- package/lib/es/ActionBarItemListSeparator.d.ts +2 -5
- package/lib/es/ActionBarItemListSeparator.js +7 -13
- package/lib/es/Activity.d.ts +2 -11
- package/lib/es/Activity.js +7 -13
- package/lib/es/AnimatedNumber.d.ts +2 -5
- package/lib/es/AnimatedNumber.js +7 -13
- package/lib/es/AppNavigationBar.js +6 -13
- package/lib/es/ApplicationHeader.d.ts +2 -5
- package/lib/es/ApplicationHeader.js +7 -13
- package/lib/es/ApplicationLayout.d.ts +2 -15
- package/lib/es/ApplicationLayout.js +7 -13
- package/lib/es/ApplicationLayoutBodyBanner.d.ts +2 -5
- package/lib/es/ApplicationLayoutBodyBanner.js +7 -13
- package/lib/es/ApplicationLayoutBodyBottomBar.d.ts +2 -5
- package/lib/es/ApplicationLayoutBodyBottomBar.js +7 -13
- package/lib/es/ApplicationLayoutBodyNavigation.d.ts +2 -5
- package/lib/es/ApplicationLayoutBodyNavigation.js +7 -13
- package/lib/es/Area.js +6 -13
- package/lib/es/AreaChart.js +6 -13
- package/lib/es/AreaGradient.js +6 -13
- package/lib/es/AspectRatioPlaceholder.d.ts +2 -5
- package/lib/es/AspectRatioPlaceholder.js +7 -13
- package/lib/es/AssetTree.js +6 -13
- package/lib/es/AutoSuggest.d.ts +2 -6
- package/lib/es/AutoSuggest.js +7 -13
- package/lib/es/Bar.js +6 -13
- package/lib/es/BarChart.js +6 -13
- package/lib/es/BottomSheet.d.ts +2 -5
- package/lib/es/BottomSheet.js +7 -13
- package/lib/es/BrowserWarning.js +6 -13
- package/lib/es/Button.d.ts +2 -27
- package/lib/es/Button.js +7 -13
- package/lib/es/ButtonDropdown.js +6 -13
- package/lib/es/CalendarStripe.js +6 -13
- package/lib/es/Carousel.js +6 -13
- package/lib/es/ChartNeedle.js +6 -13
- package/lib/es/ChartTooltip.js +6 -13
- package/lib/es/Checkbox.d.ts +2 -5
- package/lib/es/Checkbox.js +7 -13
- package/lib/es/Circle.js +6 -13
- package/lib/es/ClearableInput.d.ts +2 -5
- package/lib/es/ClearableInput.js +7 -13
- package/lib/es/ClusterLayer.js +6 -13
- package/lib/es/ClusterMapMarker.js +6 -13
- package/lib/es/ClusterUtils.js +5 -12
- package/lib/es/Collapse.js +6 -13
- package/lib/es/ColorScheme.js +6 -18
- package/lib/es/Colors.js +6 -13
- package/lib/es/ConfirmationDialog.js +6 -13
- package/lib/es/ContentLoader.d.ts +2 -8
- package/lib/es/ContentLoader.js +7 -13
- package/lib/es/ContextMenu.js +6 -13
- package/lib/es/ContextMenuItem.js +6 -13
- package/lib/es/CustomState.js +6 -13
- package/lib/es/DataTab.d.ts +2 -5
- package/lib/es/DataTab.js +7 -13
- package/lib/es/DataTabs.d.ts +2 -5
- package/lib/es/DataTabs.js +7 -13
- package/lib/es/DatePicker.js +6 -13
- package/lib/es/DateRangePicker.js +6 -13
- package/lib/es/DeviceUtils.js +16 -72
- package/lib/es/Dialog.js +6 -13
- package/lib/es/DomMarker.js +6 -13
- package/lib/es/DropdownSubmenu.js +6 -13
- package/lib/es/EditableContent.d.ts +2 -0
- package/lib/es/EditableContent.js +7 -0
- package/lib/es/EmptyState.js +6 -13
- package/lib/es/ErrorState.js +6 -13
- package/lib/es/EventUtils.js +5 -12
- package/lib/es/ExpanderList.js +6 -13
- package/lib/es/ExpanderPanel.js +6 -13
- package/lib/es/Fade.js +6 -13
- package/lib/es/FilePicker.js +6 -13
- package/lib/es/ForbiddenState.js +6 -13
- package/lib/es/GroupSelectionUtil.d.ts +2 -0
- package/lib/es/GroupSelectionUtil.js +5 -12
- package/lib/es/ImagePreloader.js +6 -13
- package/lib/es/IncidentsLayer.js +6 -13
- package/lib/es/InfoDialog.js +6 -13
- package/lib/es/Legend.js +6 -13
- package/lib/es/Line.js +6 -13
- package/lib/es/LineChart.js +6 -13
- package/lib/es/ListMenu.js +6 -13
- package/lib/es/LoadMoreButton.d.ts +2 -5
- package/lib/es/LoadMoreButton.js +7 -13
- package/lib/es/MaintenanceState.js +6 -13
- package/lib/es/Map.js +6 -13
- package/lib/es/MapBoundingBoxButton.js +6 -13
- package/lib/es/MapCenterMarkerButton.js +6 -13
- package/lib/es/MapClusterSettings.js +6 -13
- package/lib/es/MapCustomerPoiSettingsItem.js +6 -13
- package/lib/es/MapLayerGroup.js +6 -13
- package/lib/es/MapLayerIncidentsItem.js +6 -13
- package/lib/es/MapLayerRoadRestrictionsItem.js +6 -13
- package/lib/es/MapLayerSettings.js +6 -13
- package/lib/es/MapLayerTrafficItem.js +6 -13
- package/lib/es/MapLockMarkerButton.js +6 -13
- package/lib/es/MapSettings.js +6 -13
- package/lib/es/MapSettingsItem.js +6 -13
- package/lib/es/MapSettingsPanel.js +6 -13
- package/lib/es/MapSettingsTile.js +6 -13
- package/lib/es/MapTypeSettings.js +6 -13
- package/lib/es/MapWorkshopPoiSettingsItem.js +6 -13
- package/lib/es/Marker.js +6 -13
- package/lib/es/MarkerLayer.js +6 -13
- package/lib/es/MediaDialog.js +6 -13
- package/lib/es/MenuItem.js +6 -13
- package/lib/es/Multiselect.js +6 -13
- package/lib/es/NoData.d.ts +2 -5
- package/lib/es/NoData.js +7 -13
- package/lib/es/NotBookedState.js +6 -13
- package/lib/es/NotFoundState.js +6 -13
- package/lib/es/Notification.js +6 -13
- package/lib/es/NotificationsContainer.js +6 -13
- package/lib/es/NumberControl.d.ts +2 -8
- package/lib/es/NumberControl.js +7 -13
- package/lib/es/NumberInput.d.ts +2 -8
- package/lib/es/NumberInput.js +7 -13
- package/lib/es/OnboardingTip.js +6 -13
- package/lib/es/OverlayTrigger.d.ts +2 -29
- package/lib/es/OverlayTrigger.js +7 -13
- package/lib/es/Pager.d.ts +2 -11
- package/lib/es/Pager.js +7 -13
- package/lib/es/PieChart.js +6 -13
- package/lib/es/Polygon.js +6 -13
- package/lib/es/Polyline.js +6 -13
- package/lib/es/Popover.js +6 -13
- package/lib/es/Position.js +6 -13
- package/lib/es/PositionUtils.js +5 -12
- package/lib/es/RadialBarChart.js +6 -13
- package/lib/es/RadioButton.js +6 -13
- package/lib/es/RangeSlider.js +6 -13
- package/lib/es/ReleaseNotes.d.ts +2 -5
- package/lib/es/ReleaseNotes.js +6 -13
- package/lib/es/ReleaseNotesDialog.js +7 -13
- package/lib/es/Resizer.d.ts +2 -13
- package/lib/es/Resizer.js +7 -13
- package/lib/es/ResponsiveColumnStripe.js +6 -13
- package/lib/es/ResponsiveVideo.d.ts +2 -8
- package/lib/es/ResponsiveVideo.js +7 -13
- package/lib/es/Route.js +6 -13
- package/lib/es/RuleConnector.js +6 -13
- package/lib/es/RuleContainer.js +6 -13
- package/lib/es/RulesWrapper.js +6 -13
- package/lib/es/SaveDialog.js +6 -13
- package/lib/es/SaveableInput.d.ts +2 -0
- package/lib/es/SaveableInput.js +7 -0
- package/lib/es/Select.js +6 -13
- package/lib/es/Sidebar.js +6 -13
- package/lib/es/SimpleButtonDropdown.js +6 -13
- package/lib/es/SimpleClusterLayer.js +6 -13
- package/lib/es/SimpleDialog.js +6 -13
- package/lib/es/SimpleTooltip.d.ts +2 -29
- package/lib/es/SimpleTooltip.js +7 -13
- package/lib/es/SingleButtonDropdown.js +6 -13
- package/lib/es/SingleMapMarker.js +6 -13
- package/lib/es/Slider.js +6 -13
- package/lib/es/SortArrowDown.js +5 -12
- package/lib/es/SortArrowUp.js +5 -12
- package/lib/es/SortArrows.js +5 -12
- package/lib/es/SortDirection.js +5 -12
- package/lib/es/SortUtils.js +6 -18
- package/lib/es/Spinner.d.ts +2 -5
- package/lib/es/Spinner.js +7 -13
- package/lib/es/SplitButtonDropdown.js +6 -13
- package/lib/es/SplitDialog.js +6 -13
- package/lib/es/StatsWidget.d.ts +2 -10
- package/lib/es/StatsWidget.js +7 -13
- package/lib/es/StatsWidgetNumber.d.ts +2 -5
- package/lib/es/StatsWidgetNumber.js +7 -13
- package/lib/es/StatsWidgetSpacer.d.ts +2 -5
- package/lib/es/StatsWidgetSpacer.js +7 -13
- package/lib/es/StatsWidgets.d.ts +1 -5
- package/lib/es/StatsWidgets.js +8 -13
- package/lib/es/StatusBar.d.ts +2 -5
- package/lib/es/StatusBar.js +7 -13
- package/lib/es/SteppedProgressBar.js +6 -13
- package/lib/es/SubNavigation.js +6 -13
- package/lib/es/SupportMarker.d.ts +9 -0
- package/lib/es/SupportMarker.js +8 -13
- package/lib/es/Switch.d.ts +2 -8
- package/lib/es/Switch.js +7 -13
- package/lib/es/TableCardsSorting.js +6 -13
- package/lib/es/TableSearch.js +6 -13
- package/lib/es/TableSettingsDialog.js +6 -13
- package/lib/es/TableToolbar.js +6 -13
- package/lib/es/TableViewToggles.js +6 -13
- package/lib/es/Tag.js +6 -13
- package/lib/es/TagList.js +6 -13
- package/lib/es/TagManager.js +6 -13
- package/lib/es/Teaser.js +6 -13
- package/lib/es/TeaserContainer.js +6 -13
- package/lib/es/TextMarker.js +6 -13
- package/lib/es/TimePicker.js +6 -13
- package/lib/es/ToggleButton.d.ts +2 -5
- package/lib/es/ToggleButton.js +7 -13
- package/lib/es/Tooltip.d.ts +2 -32
- package/lib/es/Tooltip.js +7 -13
- package/lib/es/TrafficLayer.js +6 -13
- package/lib/es/Tree.js +6 -13
- package/lib/es/TreeCategory.js +6 -13
- package/lib/es/TreeOption.js +6 -13
- package/lib/es/TreeSearch.js +6 -13
- package/lib/es/TreeSummary.js +6 -13
- package/lib/es/TruckLayer.js +6 -13
- package/lib/es/TypeCounter.js +6 -13
- package/lib/es/VolkswagenApplicationHeader.js +6 -13
- package/lib/es/components/actionBarItem/ActionBarItem.d.ts +50 -0
- package/lib/es/components/actionBarItem/ActionBarItem.js +120 -220
- package/lib/es/components/actionBarItem/ActionBarItemIcon.d.ts +9 -0
- package/lib/es/components/actionBarItem/ActionBarItemIcon.js +14 -29
- package/lib/es/components/actionBarItem/ActionBarItemList.d.ts +12 -0
- package/lib/es/components/actionBarItem/ActionBarItemList.js +14 -29
- package/lib/es/components/actionBarItem/ActionBarItemListItem.d.ts +29 -0
- package/lib/es/components/actionBarItem/ActionBarItemListItem.js +16 -42
- package/lib/es/components/actionBarItem/ActionBarItemListSeparator.d.ts +11 -0
- package/lib/es/components/actionBarItem/ActionBarItemListSeparator.js +13 -28
- package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.d.ts +17 -0
- package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.js +16 -33
- package/lib/es/components/actionBarItem/ActionBarOverlay.d.ts +18 -0
- package/lib/es/components/actionBarItem/ActionBarOverlay.js +20 -64
- package/lib/es/components/activity/Activity.d.ts +54 -0
- package/lib/es/components/activity/Activity.js +31 -67
- package/lib/es/components/animatedNumber/AnimatedNumber.d.ts +21 -0
- package/lib/es/components/animatedNumber/AnimatedNumber.js +23 -73
- package/lib/es/components/applicationHeader/AppMenu.d.ts +11 -0
- package/lib/es/components/applicationHeader/AppMenu.js +16 -67
- package/lib/es/components/applicationHeader/AppMenuContent.d.ts +8 -0
- package/lib/es/components/applicationHeader/AppMenuContent.js +18 -0
- package/lib/es/components/applicationHeader/AppMenuDropdown.d.ts +8 -0
- package/lib/es/components/applicationHeader/AppMenuDropdown.js +42 -89
- package/lib/es/components/applicationHeader/ApplicationActionBar.d.ts +8 -0
- package/lib/es/components/applicationHeader/ApplicationActionBar.js +13 -29
- package/lib/es/components/applicationHeader/ApplicationHeader.d.ts +70 -0
- package/lib/es/components/applicationHeader/ApplicationHeader.js +35 -125
- package/lib/es/components/applicationHeader/CollapsedNavItem.d.ts +11 -0
- package/lib/es/components/applicationHeader/CollapsedNavItem.js +17 -0
- package/lib/es/components/applicationHeader/MobileAppMenu.d.ts +11 -0
- package/lib/es/components/applicationHeader/MobileAppMenu.js +20 -66
- package/lib/es/components/applicationHeader/MobileHeaderModal.d.ts +10 -0
- package/lib/es/components/applicationHeader/MobileHeaderModal.js +21 -80
- package/lib/es/components/applicationHeader/MobileSubmoduleNavigation.d.ts +9 -0
- package/lib/es/components/applicationHeader/MobileSubmoduleNavigation.js +25 -74
- package/lib/es/components/applicationHeader/NavItems.d.ts +9 -0
- package/lib/es/components/applicationHeader/NavItems.js +127 -207
- package/lib/es/components/applicationLayout/ApplicationLayout.d.ts +22 -0
- package/lib/es/components/applicationLayout/ApplicationLayout.js +22 -42
- package/lib/es/components/applicationLayout/ApplicationLayoutBody.d.ts +42 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutBody.js +44 -101
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.d.ts +26 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.js +14 -43
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyBottomBar.d.ts +30 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyBottomBar.js +14 -42
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.d.ts +11 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.js +12 -33
- package/lib/es/components/applicationLayout/ApplicationLayoutHeader.d.ts +11 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutHeader.js +16 -34
- package/lib/es/components/applicationLayout/ApplicationLayoutSidebar.d.ts +11 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutSidebar.js +12 -33
- package/lib/es/components/applicationLayout/SubNavigation.d.ts +8 -0
- package/lib/es/components/applicationLayout/SubNavigation.js +12 -49
- package/lib/es/components/aspectRatioPlaceholder/AspectRatioPlaceholder.d.ts +11 -0
- package/lib/es/components/aspectRatioPlaceholder/AspectRatioPlaceholder.js +10 -33
- package/lib/es/components/assetTree/AssetTree.d.ts +3 -0
- package/lib/es/components/assetTree/AssetTree.js +137 -212
- package/lib/es/components/assetTree/Tree.d.ts +4 -0
- package/lib/es/components/assetTree/Tree.js +432 -683
- package/lib/es/components/assetTree/TreeCategory.d.ts +12 -0
- package/lib/es/components/assetTree/TreeCategory.js +13 -20
- package/lib/es/components/assetTree/TreeLeaf.d.ts +12 -0
- package/lib/es/components/assetTree/TreeLeaf.js +16 -61
- package/lib/es/components/assetTree/TreeLeafList.d.ts +14 -0
- package/lib/es/components/assetTree/TreeLeafList.js +31 -55
- package/lib/es/components/assetTree/TreeNode.d.ts +3 -0
- package/lib/es/components/assetTree/TreeNode.js +30 -67
- package/lib/es/components/assetTree/TreeNodeContainer.d.ts +13 -0
- package/lib/es/components/assetTree/TreeNodeContainer.js +16 -26
- package/lib/es/components/assetTree/TreeNothingFound.d.ts +3 -0
- package/lib/es/components/assetTree/TreeNothingFound.js +17 -24
- package/lib/es/components/assetTree/TreeOption.d.ts +18 -0
- package/lib/es/components/assetTree/TreeOption.js +25 -46
- package/lib/es/components/assetTree/TreeOptions.d.ts +14 -0
- package/lib/es/components/assetTree/TreeOptions.js +27 -44
- package/lib/es/components/assetTree/TreeRoot.d.ts +12 -0
- package/lib/es/components/assetTree/TreeRoot.js +16 -27
- package/lib/es/components/assetTree/TreeSearch.d.ts +3 -0
- package/lib/es/components/assetTree/TreeSearch.js +24 -44
- package/lib/es/components/assetTree/TreeSelectAll.d.ts +27 -0
- package/lib/es/components/assetTree/TreeSelectAll.js +31 -49
- package/lib/es/components/assetTree/TreeSidebar.d.ts +3 -0
- package/lib/es/components/assetTree/TreeSidebar.js +46 -83
- package/lib/es/components/assetTree/TreeSummary.d.ts +3 -0
- package/lib/es/components/assetTree/TreeSummary.js +33 -70
- package/lib/es/components/assetTree/TypeCounter.d.ts +3 -0
- package/lib/es/components/assetTree/TypeCounter.js +34 -63
- package/lib/es/components/autosuggest/AutoSuggest.d.ts +199 -0
- package/lib/es/components/autosuggest/AutoSuggest.js +207 -485
- package/lib/es/components/autosuggest/AutoSuggestAddons.d.ts +8 -0
- package/lib/es/components/autosuggest/AutoSuggestAddons.js +9 -0
- package/lib/es/components/autosuggest/DropdownSpinner.d.ts +4 -0
- package/lib/es/components/autosuggest/DropdownSpinner.js +8 -0
- package/lib/es/components/autosuggest/NoItemMessage.d.ts +5 -0
- package/lib/es/components/autosuggest/NoItemMessage.js +7 -0
- package/lib/es/components/bottomSheet/BottomSheet.d.ts +68 -0
- package/lib/es/components/bottomSheet/BottomSheet.js +57 -139
- package/lib/es/components/browserWarning/BrowserIcons.d.ts +2 -0
- package/lib/es/components/browserWarning/BrowserIcons.js +11 -71
- package/lib/es/components/browserWarning/BrowserWarning.d.ts +15 -0
- package/lib/es/components/browserWarning/BrowserWarning.js +49 -80
- package/lib/es/components/browserWarning/BrowserWarningMessageDE.d.ts +4 -0
- package/lib/es/components/browserWarning/BrowserWarningMessageDE.js +9 -43
- package/lib/es/components/browserWarning/BrowserWarningMessageEN.d.ts +4 -0
- package/lib/es/components/browserWarning/BrowserWarningMessageEN.js +9 -43
- package/lib/es/components/button/Button.d.ts +122 -0
- package/lib/es/components/button/Button.js +81 -126
- package/lib/es/components/button/ToggleButton.d.ts +7 -0
- package/lib/es/components/button/ToggleButton.js +9 -19
- package/lib/es/components/calendarStripe/CalendarStripe.d.ts +3 -0
- package/lib/es/components/calendarStripe/CalendarStripe.js +148 -225
- package/lib/es/components/carousel/Carousel.d.ts +2 -0
- package/lib/es/components/carousel/Carousel.js +13 -14
- package/lib/es/components/carousel/CarouselCaption.d.ts +13 -0
- package/lib/es/components/carousel/CarouselCaption.js +20 -48
- package/lib/es/components/carousel/CarouselItem.d.ts +36 -0
- package/lib/es/components/carousel/CarouselItem.js +87 -134
- package/lib/es/components/charts/Area.d.ts +13 -0
- package/lib/es/components/charts/Area.js +13 -20
- package/lib/es/components/charts/AreaChart.d.ts +17 -0
- package/lib/es/components/charts/AreaChart.js +42 -106
- package/lib/es/components/charts/AreaGradient.d.ts +11 -0
- package/lib/es/components/charts/AreaGradient.js +12 -35
- package/lib/es/components/charts/Bar.d.ts +10 -0
- package/lib/es/components/charts/Bar.js +10 -17
- package/lib/es/components/charts/BarChart.d.ts +18 -0
- package/lib/es/components/charts/BarChart.js +45 -106
- package/lib/es/components/charts/ChartNeedle.d.ts +12 -0
- package/lib/es/components/charts/ChartNeedle.js +21 -48
- package/lib/es/components/charts/ChartTooltip.d.ts +5 -0
- package/lib/es/components/charts/ChartTooltip.js +5 -12
- package/lib/es/components/charts/Legend.d.ts +11 -0
- package/lib/es/components/charts/Legend.js +11 -18
- package/lib/es/components/charts/Line.d.ts +12 -0
- package/lib/es/components/charts/Line.js +12 -19
- package/lib/es/components/charts/LineChart.d.ts +16 -0
- package/lib/es/components/charts/LineChart.js +33 -88
- package/lib/es/components/charts/PieChart.d.ts +20 -0
- package/lib/es/components/charts/PieChart.js +50 -113
- package/lib/es/components/charts/RadialBarChart.d.ts +20 -0
- package/lib/es/components/charts/RadialBarChart.js +42 -120
- package/lib/es/components/charts/chartHelper.d.ts +5 -0
- package/lib/es/components/charts/chartHelper.js +25 -38
- package/lib/es/components/checkbox/Checkbox.d.ts +127 -0
- package/lib/es/components/checkbox/Checkbox.js +60 -170
- package/lib/es/components/checkbox/CheckboxIcon.d.ts +9 -0
- package/lib/es/components/checkbox/CheckboxIcon.js +15 -0
- package/lib/es/components/clearableInput/ClearableInput.d.ts +96 -0
- package/lib/es/components/clearableInput/ClearableInput.js +71 -194
- package/lib/es/components/collapse/Collapse.d.ts +59 -0
- package/lib/es/components/collapse/Collapse.js +151 -227
- package/lib/es/components/contentLoader/ContentLoader.d.ts +55 -0
- package/lib/es/components/contentLoader/ContentLoader.js +52 -90
- package/lib/es/components/dataTabs/DataTab.d.ts +29 -0
- package/lib/es/components/dataTabs/DataTab.js +24 -64
- package/lib/es/components/dataTabs/DataTabHeader.d.ts +18 -0
- package/lib/es/components/dataTabs/DataTabHeader.js +13 -0
- package/lib/es/components/dataTabs/DataTabs.d.ts +80 -0
- package/lib/es/components/dataTabs/DataTabs.js +54 -153
- package/lib/es/components/datepicker/DatePicker.d.ts +3 -0
- package/lib/es/components/datepicker/DatePicker.js +50 -78
- package/lib/es/components/datepicker/DateRangePicker.d.ts +208 -0
- package/lib/es/components/datepicker/DateRangePicker.js +436 -706
- package/lib/es/components/dialog/ConfirmationDialog.d.ts +25 -0
- package/lib/es/components/dialog/ConfirmationDialog.js +33 -64
- package/lib/es/components/dialog/Dialog.d.ts +42 -0
- package/lib/es/components/dialog/Dialog.js +98 -160
- package/lib/es/components/dialog/DialogBody.d.ts +16 -0
- package/lib/es/components/dialog/DialogBody.js +19 -30
- package/lib/es/components/dialog/DialogFooter.d.ts +16 -0
- package/lib/es/components/dialog/DialogFooter.js +19 -30
- package/lib/es/components/dialog/DialogHeader.d.ts +18 -0
- package/lib/es/components/dialog/DialogHeader.js +22 -54
- package/lib/es/components/dialog/InfoDialog.d.ts +18 -0
- package/lib/es/components/dialog/InfoDialog.js +15 -31
- package/lib/es/components/dialog/MediaDialog.d.ts +58 -0
- package/lib/es/components/dialog/MediaDialog.js +109 -226
- package/lib/es/components/dialog/ReleaseNotesDialog.d.ts +20 -0
- package/lib/es/components/dialog/ReleaseNotesDialog.js +40 -66
- package/lib/es/components/dialog/SaveDialog.d.ts +31 -0
- package/lib/es/components/dialog/SaveDialog.js +25 -70
- package/lib/es/components/dialog/SimpleDialog.d.ts +21 -0
- package/lib/es/components/dialog/SimpleDialog.js +21 -37
- package/lib/es/components/dialog/SplitDialog.d.ts +32 -0
- package/lib/es/components/dialog/SplitDialog.js +26 -56
- package/lib/es/components/dialog/baseDialogPropTypes.d.ts +14 -0
- package/lib/es/components/dialog/baseDialogPropTypes.js +16 -21
- package/lib/es/components/driverName/DriverName.d.ts +18 -0
- package/lib/es/components/driverName/DriverName.js +23 -34
- package/lib/es/components/dropdown/ButtonDropdown.d.ts +66 -0
- package/lib/es/components/dropdown/ButtonDropdown.js +129 -200
- package/lib/es/components/dropdown/Caret.d.ts +2 -0
- package/lib/es/components/dropdown/Caret.js +7 -15
- package/lib/es/components/dropdown/DropdownSubmenu.d.ts +19 -0
- package/lib/es/components/dropdown/DropdownSubmenu.js +27 -46
- package/lib/es/components/dropdown/DropdownToggleButton.d.ts +3 -0
- package/lib/es/components/dropdown/DropdownToggleButton.js +21 -42
- package/lib/es/components/dropdown/SimpleButtonDropdown.d.ts +2 -0
- package/lib/es/components/dropdown/SimpleButtonDropdown.js +8 -17
- package/lib/es/components/dropdown/SingleButtonDropdown.d.ts +2 -0
- package/lib/es/components/dropdown/SingleButtonDropdown.js +8 -14
- package/lib/es/components/dropdown/SplitButtonDropdown.d.ts +2 -0
- package/lib/es/components/dropdown/SplitButtonDropdown.js +8 -17
- package/lib/es/components/dropdown/SplitCaretButton.d.ts +3 -0
- package/lib/es/components/dropdown/SplitCaretButton.js +19 -34
- package/lib/es/components/dropdown/menuItemsPropTypes.d.ts +9 -0
- package/lib/es/components/dropdown/menuItemsPropTypes.js +11 -16
- package/lib/es/components/editableContent/EditableContent.d.ts +86 -0
- package/lib/es/components/editableContent/EditableContent.js +111 -0
- package/lib/es/components/expander/ExpanderList.d.ts +39 -0
- package/lib/es/components/expander/ExpanderList.js +101 -167
- package/lib/es/components/expander/ExpanderPanel.d.ts +51 -0
- package/lib/es/components/expander/ExpanderPanel.js +73 -119
- package/lib/es/components/fade/Fade.d.ts +46 -0
- package/lib/es/components/fade/Fade.js +180 -283
- package/lib/es/components/filepicker/FilePicker.d.ts +30 -0
- package/lib/es/components/filepicker/FilePicker.js +51 -89
- package/lib/es/components/listMenu/ListMenu.d.ts +44 -0
- package/lib/es/components/listMenu/ListMenu.js +131 -255
- package/lib/es/components/loadMore/LoadMoreButton.d.ts +42 -0
- package/lib/es/components/loadMore/LoadMoreButton.js +17 -60
- package/lib/es/components/loadMore/LoadMoreProgress.d.ts +12 -0
- package/lib/es/components/loadMore/LoadMoreProgress.js +24 -44
- package/lib/es/components/map/components/Map.d.ts +99 -0
- package/lib/es/components/map/components/Map.js +326 -475
- package/lib/es/components/map/components/constants.d.ts +12 -0
- package/lib/es/components/map/components/constants.js +15 -30
- package/lib/es/components/map/components/context.d.ts +2 -0
- package/lib/es/components/map/components/context.js +6 -11
- package/lib/es/components/map/components/features/ContextMenu.d.ts +2 -0
- package/lib/es/components/map/components/features/ContextMenu.js +118 -155
- package/lib/es/components/map/components/features/ContextMenuItem.d.ts +28 -0
- package/lib/es/components/map/components/features/ContextMenuItem.js +32 -40
- package/lib/es/components/map/components/features/MapSettings.d.ts +22 -0
- package/lib/es/components/map/components/features/MapSettings.js +67 -88
- package/lib/es/components/map/components/features/Route.d.ts +48 -0
- package/lib/es/components/map/components/features/Route.js +98 -176
- package/lib/es/components/map/components/features/basics/Circle.d.ts +21 -0
- package/lib/es/components/map/components/features/basics/Circle.js +41 -63
- package/lib/es/components/map/components/features/basics/MapLayerGroup.d.ts +23 -0
- package/lib/es/components/map/components/features/basics/MapLayerGroup.js +48 -76
- package/lib/es/components/map/components/features/basics/Polygon.d.ts +17 -0
- package/lib/es/components/map/components/features/basics/Polygon.js +49 -66
- package/lib/es/components/map/components/features/basics/Polyline.d.ts +20 -0
- package/lib/es/components/map/components/features/basics/Polyline.js +80 -112
- package/lib/es/components/map/components/features/basics/marker/DomMarker.d.ts +33 -0
- package/lib/es/components/map/components/features/basics/marker/DomMarker.js +58 -89
- package/lib/es/components/map/components/features/basics/marker/Marker.d.ts +21 -0
- package/lib/es/components/map/components/features/basics/marker/Marker.js +123 -150
- package/lib/es/components/map/components/features/basics/marker/Marker2.d.ts +21 -0
- package/lib/es/components/map/components/features/basics/marker/Marker2.js +222 -0
- package/lib/es/components/map/components/features/basics/marker/TextMarker.d.ts +17 -0
- package/lib/es/components/map/components/features/basics/marker/TextMarker.js +31 -40
- package/lib/es/components/map/components/features/layers/IncidentsLayer.d.ts +2 -0
- package/lib/es/components/map/components/features/layers/IncidentsLayer.js +12 -22
- package/lib/es/components/map/components/features/layers/Layer.d.ts +16 -0
- package/lib/es/components/map/components/features/layers/Layer.js +29 -37
- package/lib/es/components/map/components/features/layers/MarkerLayer.d.ts +14 -0
- package/lib/es/components/map/components/features/layers/MarkerLayer.js +29 -51
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.d.ts +2 -0
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +22 -34
- package/lib/es/components/map/components/features/layers/TrafficLayer.d.ts +2 -0
- package/lib/es/components/map/components/features/layers/TrafficLayer.js +30 -42
- package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.d.ts +2 -0
- package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +19 -26
- package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.d.ts +2 -0
- package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +16 -22
- package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.d.ts +2 -0
- package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.js +17 -23
- package/lib/es/components/map/components/features/layers/baselayers/NightLayer.d.ts +2 -0
- package/lib/es/components/map/components/features/layers/baselayers/NightLayer.js +16 -23
- package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.d.ts +2 -0
- package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.js +17 -23
- package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.d.ts +2 -0
- package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.js +17 -23
- package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.d.ts +2 -0
- package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.js +44 -64
- package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.d.ts +29 -0
- package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.js +70 -97
- package/lib/es/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +10 -0
- package/lib/es/components/map/components/features/layers/clustering/SimpleClusterLayer.js +17 -29
- package/lib/es/components/map/components/features/settings/MapSettingsItem.d.ts +20 -0
- package/lib/es/components/map/components/features/settings/MapSettingsItem.js +33 -42
- package/lib/es/components/map/components/features/settings/MapSettingsPanel.d.ts +12 -0
- package/lib/es/components/map/components/features/settings/MapSettingsPanel.js +23 -43
- package/lib/es/components/map/components/features/settings/MapSettingsTile.d.ts +20 -0
- package/lib/es/components/map/components/features/settings/MapSettingsTile.js +58 -97
- package/lib/es/components/map/components/features/settings/ZoomButtons.d.ts +12 -0
- package/lib/es/components/map/components/features/settings/ZoomButtons.js +17 -43
- package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +19 -0
- package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +30 -76
- package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +22 -0
- package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +37 -62
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +17 -0
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +50 -139
- package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +14 -0
- package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +21 -42
- package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +14 -0
- package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +21 -42
- package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +14 -0
- package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.js +21 -42
- package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +16 -0
- package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +23 -48
- package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +19 -0
- package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.js +29 -49
- package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +19 -0
- package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +29 -49
- package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +19 -0
- package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.js +29 -49
- package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +16 -0
- package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +23 -48
- package/lib/es/components/map/components/mapUtils.d.ts +50 -0
- package/lib/es/components/map/components/mapUtils.js +154 -200
- package/lib/es/components/map/exceptions/MapException.d.ts +8 -0
- package/lib/es/components/map/exceptions/MapException.js +10 -13
- package/lib/es/components/map/herePolyfill.d.ts +0 -0
- package/lib/es/components/map/herePolyfill.js +7 -8
- package/lib/es/components/map/icons/MapIcon.d.ts +40 -0
- package/lib/es/components/map/icons/MapIcon.js +87 -545
- package/lib/es/components/map/utils/clustering.d.ts +9 -0
- package/lib/es/components/map/utils/clustering.js +61 -71
- package/lib/es/components/map/utils/eventHandling.d.ts +47 -0
- package/lib/es/components/map/utils/eventHandling.js +125 -160
- package/lib/es/components/map/utils/hooks.d.ts +2 -0
- package/lib/es/components/map/utils/hooks.js +27 -31
- package/lib/es/components/map/utils/localization.d.ts +2 -0
- package/lib/es/components/map/utils/localization.js +406 -407
- package/lib/es/components/map/utils/positions.d.ts +10 -0
- package/lib/es/components/map/utils/positions.js +49 -54
- package/lib/es/components/map/utils/proptypes.d.ts +47 -0
- package/lib/es/components/map/utils/proptypes.js +53 -59
- package/lib/es/components/map/utils/validation.d.ts +2 -0
- package/lib/es/components/map/utils/validation.js +14 -19
- package/lib/es/components/mapMarker/ClusterMapMarker.d.ts +26 -0
- package/lib/es/components/mapMarker/ClusterMapMarker.js +50 -73
- package/lib/es/components/mapMarker/SingleMapMarker.d.ts +35 -0
- package/lib/es/components/mapMarker/SingleMapMarker.js +65 -96
- package/lib/es/components/menuItems/MenuItem.d.ts +14 -0
- package/lib/es/components/menuItems/MenuItem.js +37 -75
- package/lib/es/components/menuItems/MenuItems.d.ts +3 -0
- package/lib/es/components/menuItems/MenuItems.js +12 -26
- package/lib/es/components/menuItems/getMenuItems.d.ts +2 -0
- package/lib/es/components/menuItems/getMenuItems.js +10 -23
- package/lib/es/components/navigation/AppNavigationBar.d.ts +3 -0
- package/lib/es/components/navigation/AppNavigationBar.js +25 -52
- package/lib/es/components/noData/NoData.d.ts +37 -0
- package/lib/es/components/noData/NoData.js +18 -55
- package/lib/es/components/notification/Notification.d.ts +1 -0
- package/lib/es/components/notification/Notification.js +6 -11
- package/lib/es/components/notification/NotificationsContainer.d.ts +14 -0
- package/lib/es/components/notification/NotificationsContainer.js +19 -26
- package/lib/es/components/numberControl/NumberControl.d.ts +5 -0
- package/lib/es/components/numberControl/NumberControl.js +115 -209
- package/lib/es/components/numberInput/NumberInput.d.ts +77 -0
- package/lib/es/components/numberInput/NumberInput.js +162 -192
- package/lib/es/components/onboarding/OnboardingTip.d.ts +63 -0
- package/lib/es/components/onboarding/OnboardingTip.js +104 -125
- package/lib/es/components/overlay/OverlayTrigger.d.ts +25 -0
- package/lib/es/components/overlay/OverlayTrigger.js +36 -61
- package/lib/es/components/pager/Pager.d.ts +53 -0
- package/lib/es/components/pager/Pager.js +35 -97
- package/lib/es/components/popover/Popover.d.ts +3 -0
- package/lib/es/components/popover/Popover.js +25 -44
- package/lib/es/components/position/Position.d.ts +10 -0
- package/lib/es/components/position/Position.js +30 -37
- package/lib/es/components/preloader/ImagePreloader.d.ts +22 -0
- package/lib/es/components/preloader/ImagePreloader.js +63 -88
- package/lib/es/components/radiobutton/RadioButton.d.ts +45 -0
- package/lib/es/components/radiobutton/RadioButton.js +87 -150
- package/lib/es/components/releaseNotes/ReleaseNotes.d.ts +35 -0
- package/lib/es/components/releaseNotes/ReleaseNotes.js +19 -64
- package/lib/es/components/resizer/Resizer.d.ts +58 -0
- package/lib/es/components/resizer/Resizer.js +133 -189
- package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.d.ts +3 -0
- package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.js +167 -266
- package/lib/es/components/rules/RuleConnector.d.ts +39 -0
- package/lib/es/components/rules/RuleConnector.js +46 -84
- package/lib/es/components/rules/RuleContainer.d.ts +28 -0
- package/lib/es/components/rules/RuleContainer.js +43 -80
- package/lib/es/components/rules/RulesWrapper.d.ts +8 -0
- package/lib/es/components/rules/RulesWrapper.js +12 -25
- package/lib/es/components/saveableInput/SaveableInput.d.ts +46 -0
- package/lib/es/components/saveableInput/SaveableInput.js +92 -0
- package/lib/es/components/selects/BaseDropdownMenu.d.ts +83 -0
- package/lib/es/components/selects/BaseDropdownMenu.js +260 -387
- package/lib/es/components/selects/DropdownHeader.d.ts +14 -0
- package/lib/es/components/selects/DropdownHeader.js +19 -31
- package/lib/es/components/selects/Multiselect.d.ts +98 -0
- package/lib/es/components/selects/Multiselect.js +326 -507
- package/lib/es/components/selects/Select.d.ts +97 -0
- package/lib/es/components/selects/Select.js +285 -458
- package/lib/es/components/sidebars/Sidebar.d.ts +112 -0
- package/lib/es/components/sidebars/Sidebar.js +219 -375
- package/lib/es/components/slider/RangeSlider.d.ts +33 -0
- package/lib/es/components/slider/RangeSlider.js +124 -225
- package/lib/es/components/slider/Slider.d.ts +38 -0
- package/lib/es/components/slider/Slider.js +58 -107
- package/lib/es/components/spinner/Spinner.d.ts +48 -0
- package/lib/es/components/spinner/Spinner.js +26 -72
- package/lib/es/components/states/CustomState.d.ts +15 -0
- package/lib/es/components/states/CustomState.js +60 -126
- package/lib/es/components/states/EmptyState.d.ts +9 -0
- package/lib/es/components/states/EmptyState.js +13 -19
- package/lib/es/components/states/ErrorState.d.ts +9 -0
- package/lib/es/components/states/ErrorState.js +13 -19
- package/lib/es/components/states/ForbiddenState.d.ts +9 -0
- package/lib/es/components/states/ForbiddenState.js +13 -19
- package/lib/es/components/states/MaintenanceState.d.ts +9 -0
- package/lib/es/components/states/MaintenanceState.js +13 -19
- package/lib/es/components/states/NotBookedState.d.ts +20 -0
- package/lib/es/components/states/NotBookedState.js +30 -49
- package/lib/es/components/states/NotFoundState.d.ts +9 -0
- package/lib/es/components/states/NotFoundState.js +13 -19
- package/lib/es/components/states/baseStatePropTypes.d.ts +26 -0
- package/lib/es/components/states/baseStatePropTypes.js +30 -37
- package/lib/es/components/statsWidget/StatsWidget.d.ts +26 -0
- package/lib/es/components/statsWidget/StatsWidget.js +21 -47
- package/lib/es/components/statsWidget/StatsWidgetBody.d.ts +14 -0
- package/lib/es/components/statsWidget/StatsWidgetBody.js +13 -36
- package/lib/es/components/statsWidget/StatsWidgetFooter.d.ts +9 -0
- package/lib/es/components/statsWidget/StatsWidgetFooter.js +13 -23
- package/lib/es/components/statsWidget/StatsWidgetHeader.d.ts +9 -0
- package/lib/es/components/statsWidget/StatsWidgetHeader.js +13 -23
- package/lib/es/components/statsWidget/StatsWidgetNumber.d.ts +31 -0
- package/lib/es/components/statsWidget/StatsWidgetNumber.js +13 -48
- package/lib/es/components/statsWidget/StatsWidgetSpacer.d.ts +8 -0
- package/lib/es/components/statsWidget/StatsWidgetSpacer.js +12 -22
- package/lib/es/components/statsWidget/StatsWidgets.d.ts +9 -0
- package/lib/es/components/statsWidget/StatsWidgets.js +13 -27
- package/lib/es/components/statusBar/StatusBar.d.ts +33 -0
- package/lib/es/components/statusBar/StatusBar.js +59 -221
- package/lib/es/components/statusBar/StatusBar.types.d.ts +85 -0
- package/lib/es/components/statusBar/StatusBar.types.js +2 -0
- package/lib/es/components/statusBar/StatusBarConstants.d.ts +8 -0
- package/lib/es/components/statusBar/StatusBarConstants.js +16 -0
- package/lib/es/components/statusBar/StatusBarIcon.d.ts +7 -0
- package/lib/es/components/statusBar/StatusBarIcon.js +19 -0
- package/lib/es/components/statusBar/StatusBarLabel.d.ts +8 -0
- package/lib/es/components/statusBar/StatusBarLabel.js +23 -0
- package/lib/es/components/statusBar/StatusBarProgressBar.d.ts +8 -0
- package/lib/es/components/statusBar/StatusBarProgressBar.js +21 -0
- package/lib/es/components/steppedProgressBar/SteppedProgressBar.d.ts +35 -0
- package/lib/es/components/steppedProgressBar/SteppedProgressBar.js +68 -95
- package/lib/es/components/supportMarker/toggleSupportMarker.d.ts +3 -0
- package/lib/es/components/supportMarker/toggleSupportMarker.js +30 -32
- package/lib/es/components/switch/Switch.d.ts +51 -0
- package/lib/es/components/switch/Switch.js +27 -85
- package/lib/es/components/table/SortArrows.d.ts +5 -0
- package/lib/es/components/table/SortArrows.js +13 -28
- package/lib/es/components/table/TableCardsSorting.d.ts +37 -0
- package/lib/es/components/table/TableCardsSorting.js +64 -119
- package/lib/es/components/table/TableSearch.d.ts +9 -0
- package/lib/es/components/table/TableSearch.js +18 -28
- package/lib/es/components/table/TableSettingsColumnButtons.d.ts +28 -0
- package/lib/es/components/table/TableSettingsColumnButtons.js +43 -75
- package/lib/es/components/table/TableSettingsColumnDetails.d.ts +19 -0
- package/lib/es/components/table/TableSettingsColumnDetails.js +36 -82
- package/lib/es/components/table/TableSettingsDialog.d.ts +107 -0
- package/lib/es/components/table/TableSettingsDialog.js +348 -549
- package/lib/es/components/table/TableSettingsDialogFooter.d.ts +43 -0
- package/lib/es/components/table/TableSettingsDialogFooter.js +42 -96
- package/lib/es/components/table/TableSettingsListContainer.d.ts +9 -0
- package/lib/es/components/table/TableSettingsListContainer.js +35 -67
- package/lib/es/components/table/TableSettingsListItem.d.ts +27 -0
- package/lib/es/components/table/TableSettingsListItem.js +69 -135
- package/lib/es/components/table/TableToolbar.d.ts +12 -0
- package/lib/es/components/table/TableToolbar.js +16 -24
- package/lib/es/components/table/TableViewToggles.d.ts +30 -0
- package/lib/es/components/table/TableViewToggles.js +85 -119
- package/lib/es/components/table/tableSettingsPropTypes.d.ts +8 -0
- package/lib/es/components/table/tableSettingsPropTypes.js +10 -14
- package/lib/es/components/tag/Tag.d.ts +37 -0
- package/lib/es/components/tag/Tag.js +37 -60
- package/lib/es/components/tag/TagList.d.ts +17 -0
- package/lib/es/components/tag/TagList.js +23 -38
- package/lib/es/components/tagManager/CustomSuggestionItem.d.ts +13 -0
- package/lib/es/components/tagManager/CustomSuggestionItem.js +18 -30
- package/lib/es/components/tagManager/TagManager.d.ts +27 -0
- package/lib/es/components/tagManager/TagManager.js +139 -207
- package/lib/es/components/tagManager/TagManagerItemList.d.ts +14 -0
- package/lib/es/components/tagManager/TagManagerItemList.js +26 -41
- package/lib/es/components/teaser/Teaser.d.ts +51 -0
- package/lib/es/components/teaser/Teaser.js +133 -214
- package/lib/es/components/teaser/TeaserContainer.d.ts +13 -0
- package/lib/es/components/teaser/TeaserContainer.js +49 -56
- package/lib/es/components/timepicker/TimePicker.d.ts +27 -0
- package/lib/es/components/timepicker/TimePicker.js +90 -144
- package/lib/es/components/tooltip/SimpleTooltip.d.ts +36 -0
- package/lib/es/components/tooltip/SimpleTooltip.js +18 -50
- package/lib/es/components/tooltip/Tooltip.d.ts +65 -0
- package/lib/es/components/tooltip/Tooltip.js +37 -94
- package/lib/es/components/video/ResponsiveVideo.d.ts +33 -0
- package/lib/es/components/video/ResponsiveVideo.js +16 -36
- package/lib/es/framer-motion.js +4 -16
- package/lib/es/hooks/useAfterMount.d.ts +8 -0
- package/lib/es/hooks/useAfterMount.js +19 -16
- package/lib/es/hooks/useClickOutside.d.ts +1 -0
- package/lib/es/hooks/useClickOutside.js +22 -31
- package/lib/es/hooks/useClipboard.d.ts +8 -0
- package/lib/es/hooks/useClipboard.js +34 -58
- package/lib/es/hooks/useDarkMode.d.ts +2 -0
- package/lib/es/hooks/useDarkMode.js +28 -38
- package/lib/es/hooks/useDebugInfo.d.ts +6 -0
- package/lib/es/hooks/useDebugInfo.js +40 -45
- package/lib/es/hooks/useEffectOnce.d.ts +1 -0
- package/lib/es/hooks/useEffectOnce.js +7 -10
- package/lib/es/hooks/useElementSize.d.ts +1 -0
- package/lib/es/hooks/useElementSize.js +23 -46
- package/lib/es/hooks/useEsc.d.ts +2 -0
- package/lib/es/hooks/useEsc.js +8 -13
- package/lib/es/hooks/useEvent.d.ts +2 -0
- package/lib/es/hooks/useEvent.js +15 -17
- package/lib/es/hooks/useFocusTrap.d.ts +16 -0
- package/lib/es/hooks/useFocusTrap.js +64 -0
- package/lib/es/hooks/useFullscreen.d.ts +8 -0
- package/lib/es/hooks/useFullscreen.js +153 -213
- package/lib/es/hooks/useHover.d.ts +3 -0
- package/lib/es/hooks/useHover.js +31 -0
- package/lib/es/hooks/useInterval.d.ts +1 -0
- package/lib/es/hooks/useInterval.js +20 -28
- package/lib/es/hooks/useKey.d.ts +3 -0
- package/lib/es/hooks/useKey.js +16 -21
- package/lib/es/hooks/useMutationObserver.d.ts +6 -0
- package/lib/es/hooks/useMutationObserver.js +23 -46
- package/lib/es/hooks/useOnMount.d.ts +1 -0
- package/lib/es/hooks/useOnMount.js +13 -16
- package/lib/es/hooks/useOnScreen.d.ts +3 -0
- package/lib/es/hooks/useOnScreen.js +22 -38
- package/lib/es/hooks/useOnlineStatus.d.ts +1 -0
- package/lib/es/hooks/useOnlineStatus.js +13 -25
- package/lib/es/hooks/usePrevious.d.ts +21 -0
- package/lib/es/hooks/usePrevious.js +37 -25
- package/lib/es/hooks/useRenderCount.d.ts +1 -0
- package/lib/es/hooks/useRenderCount.js +12 -16
- package/lib/es/hooks/useResizeObserver.d.ts +3 -0
- package/lib/es/hooks/useResizeObserver.js +22 -45
- package/lib/es/hooks/useScrollPosition.d.ts +2 -0
- package/lib/es/hooks/useScrollPosition.js +61 -79
- package/lib/es/hooks/useStateWithValidation.d.ts +1 -0
- package/lib/es/hooks/useStateWithValidation.js +14 -27
- package/lib/es/hooks/useStorage.d.ts +2 -0
- package/lib/es/hooks/useStorage.js +35 -43
- package/lib/es/hooks/useTimeout.d.ts +1 -0
- package/lib/es/hooks/useTimeout.js +20 -28
- package/lib/es/hooks/useWindowResize.d.ts +2 -0
- package/lib/es/hooks/useWindowResize.js +15 -21
- package/lib/es/index.d.ts +265 -275
- package/lib/es/index.js +335 -1175
- package/lib/es/mapIndex.d.ts +38 -0
- package/lib/es/mapIndex.js +79 -265
- package/lib/es/routeUtils.d.ts +5 -0
- package/lib/es/routeUtils.js +8 -30
- package/lib/es/styles/variables/colors.json +74 -74
- package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.d.ts +3 -0
- package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +42 -90
- package/lib/es/themes/Volkswagen/components/applicationHeader/modulePropTypes.d.ts +6 -0
- package/lib/es/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +8 -13
- package/lib/es/types.d.ts +1383 -0
- package/lib/es/types.js +22 -0
- package/lib/es/useAfterMount.d.ts +1 -4
- package/lib/es/useAfterMount.js +8 -13
- package/lib/es/useClickOutside.js +6 -13
- package/lib/es/useClipboard.js +6 -13
- package/lib/es/useDarkMode.js +6 -13
- package/lib/es/useDebugInfo.js +6 -13
- package/lib/es/useEffectOnce.js +6 -13
- package/lib/es/useElementSize.js +6 -13
- package/lib/es/useEsc.d.ts +1 -4
- package/lib/es/useEsc.js +8 -13
- package/lib/es/useEvent.d.ts +1 -4
- package/lib/es/useEvent.js +8 -13
- package/lib/es/useFocusTrap.d.ts +1 -0
- package/lib/es/useFocusTrap.js +8 -0
- package/lib/es/useFullscreen.js +6 -13
- package/lib/es/useHover.d.ts +1 -0
- package/lib/es/useHover.js +8 -0
- package/lib/es/useInterval.js +6 -13
- package/lib/es/useKey.d.ts +1 -4
- package/lib/es/useKey.js +8 -13
- package/lib/es/useLocalStorage.js +5 -12
- package/lib/es/useMutationObserver.js +6 -13
- package/lib/es/useOnMount.d.ts +2 -0
- package/lib/es/useOnMount.js +6 -13
- package/lib/es/useOnScreen.js +6 -13
- package/lib/es/useOnlineStatus.js +6 -13
- package/lib/es/usePrevious.d.ts +2 -4
- package/lib/es/usePrevious.js +7 -13
- package/lib/es/useRenderCount.js +6 -13
- package/lib/es/useResizeObserver.js +6 -13
- package/lib/es/useScrollPosition.js +6 -13
- package/lib/es/useSessionStorage.js +5 -12
- package/lib/es/useStateWithValidation.js +6 -13
- package/lib/es/useTimeout.js +6 -13
- package/lib/es/useWindowResize.js +6 -13
- package/lib/es/utils/GroupSelectionUtil.d.ts +1 -0
- package/lib/es/utils/GroupSelectionUtil.js +85 -95
- package/lib/es/utils/ObjectValues.d.ts +1 -0
- package/lib/es/utils/ObjectValues.js +2 -0
- package/lib/es/utils/RefComponent.d.ts +5 -0
- package/lib/es/utils/RefComponent.js +2 -0
- package/lib/es/utils/SortUtils.d.ts +6 -0
- package/lib/es/utils/SortUtils.js +30 -42
- package/lib/es/utils/addEventListener.d.ts +3 -0
- package/lib/es/utils/addEventListener.js +17 -21
- package/lib/es/utils/addFocusListener.d.ts +3 -0
- package/lib/es/utils/addFocusListener.js +24 -32
- package/lib/es/utils/arrayMove.d.ts +2 -0
- package/lib/es/utils/arrayMove.js +15 -23
- package/lib/es/utils/buttonEffect.d.ts +1 -0
- package/lib/es/utils/buttonEffect.js +69 -65
- package/lib/es/utils/colorScheme.d.ts +9 -0
- package/lib/es/utils/colorScheme.js +60 -92
- package/lib/es/utils/cssuseragent.d.ts +1 -0
- package/lib/es/utils/cssuseragent.js +325 -327
- package/lib/es/utils/darkModeCDN.d.ts +3 -0
- package/lib/es/utils/darkModeCDN.js +39 -49
- package/lib/es/utils/deviceUtils.d.ts +12 -0
- package/lib/es/utils/deviceUtils.js +78 -94
- package/lib/es/utils/getDropDirection.d.ts +5 -0
- package/lib/es/utils/getDropDirection.js +31 -31
- package/lib/es/utils/getOffsetTopWholeScreen.d.ts +1 -0
- package/lib/es/utils/getOffsetTopWholeScreen.js +9 -12
- package/lib/es/utils/init.d.ts +2 -0
- package/lib/es/utils/init.js +129 -143
- package/lib/es/utils/logDeprecatedWarnings.d.ts +9 -0
- package/lib/es/utils/logDeprecatedWarnings.js +27 -30
- package/lib/es/utils/logPropError.d.ts +3 -0
- package/lib/es/utils/logPropError.js +28 -29
- package/lib/es/utils/ownerDocument.d.ts +1 -0
- package/lib/es/utils/ownerDocument.js +12 -16
- package/lib/es/utils/portalRoot.d.ts +2 -0
- package/lib/es/utils/portalRoot.js +11 -15
- package/lib/es/utils/routeUtils.d.ts +15 -0
- package/lib/es/utils/routeUtils.js +56 -80
- package/lib/es/utils/scrollItemIntoView.d.ts +3 -0
- package/lib/es/utils/scrollItemIntoView.js +29 -35
- package/lib/es/utils/searchNormalized.d.ts +2 -0
- package/lib/es/utils/searchNormalized.js +7 -14
- package/lib/es/utils/useDropDirection.d.ts +12 -0
- package/lib/es/utils/useDropDirection.js +26 -0
- package/lib/es/values/Placement.d.ts +19 -0
- package/lib/es/values/Placement.js +20 -0
- package/lib/es/values/TextAlignment.d.ts +7 -0
- package/lib/es/values/TextAlignment.js +8 -0
- package/lib/es/values/Trigger.d.ts +9 -0
- package/lib/es/values/Trigger.js +8 -0
- package/lib/es/version.json +1 -1
- package/mapIndex.d.ts +38 -0
- package/mapIndex.js +39 -42
- package/package.json +151 -145
- package/routeUtils.d.ts +5 -0
- package/routeUtils.js +2 -2
- package/styles/variables/colors.json +74 -74
- package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.d.ts +3 -0
- package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +39 -78
- package/themes/Volkswagen/components/applicationHeader/modulePropTypes.d.ts +6 -0
- package/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +5 -5
- package/types.d.ts +1383 -0
- package/types.js +19 -0
- package/useAfterMount.d.ts +1 -4
- package/useAfterMount.js +1 -2
- package/useClickOutside.js +2 -2
- package/useClipboard.js +2 -2
- package/useDarkMode.js +2 -2
- package/useDebugInfo.js +2 -2
- package/useEffectOnce.js +2 -2
- package/useElementSize.js +2 -2
- package/useEsc.d.ts +1 -4
- package/useEsc.js +1 -2
- package/useEvent.d.ts +1 -4
- package/useEvent.js +1 -2
- package/useFocusTrap.d.ts +1 -0
- package/useFocusTrap.js +1 -0
- package/useFullscreen.js +2 -2
- package/useHover.d.ts +1 -0
- package/useHover.js +1 -0
- package/useInterval.js +2 -2
- package/useKey.d.ts +1 -4
- package/useKey.js +1 -2
- package/useLocalStorage.js +2 -2
- package/useMutationObserver.js +2 -2
- package/useOnMount.d.ts +2 -0
- package/useOnMount.js +2 -2
- package/useOnScreen.js +2 -2
- package/useOnlineStatus.js +2 -2
- package/usePrevious.d.ts +2 -4
- package/usePrevious.js +2 -2
- package/useRenderCount.js +2 -2
- package/useResizeObserver.js +2 -2
- package/useScrollPosition.js +2 -2
- package/useSessionStorage.js +2 -2
- package/useStateWithValidation.js +2 -2
- package/useTimeout.js +2 -2
- package/useWindowResize.js +2 -2
- package/utils/GroupSelectionUtil.d.ts +1 -0
- package/utils/GroupSelectionUtil.js +80 -88
- package/utils/ObjectValues.d.ts +1 -0
- package/utils/ObjectValues.js +1 -0
- package/utils/RefComponent.d.ts +5 -0
- package/utils/RefComponent.js +1 -0
- package/utils/SortUtils.d.ts +6 -0
- package/utils/SortUtils.js +24 -32
- package/utils/addEventListener.d.ts +3 -0
- package/utils/addEventListener.js +13 -13
- package/utils/addFocusListener.d.ts +3 -0
- package/utils/addFocusListener.js +21 -26
- package/utils/arrayMove.d.ts +2 -0
- package/utils/arrayMove.js +13 -15
- package/utils/buttonEffect.d.ts +1 -0
- package/utils/buttonEffect.js +65 -57
- package/utils/colorScheme.d.ts +9 -0
- package/utils/colorScheme.js +54 -76
- package/utils/cssuseragent.d.ts +1 -0
- package/utils/cssuseragent.js +321 -320
- package/utils/darkModeCDN.d.ts +3 -0
- package/utils/darkModeCDN.js +39 -46
- package/utils/deviceUtils.d.ts +12 -0
- package/utils/deviceUtils.js +68 -78
- package/utils/getDropDirection.d.ts +5 -0
- package/utils/getDropDirection.js +29 -25
- package/utils/getOffsetTopWholeScreen.d.ts +1 -0
- package/utils/getOffsetTopWholeScreen.js +6 -6
- package/utils/init.d.ts +2 -0
- package/utils/init.js +125 -134
- package/utils/logDeprecatedWarnings.d.ts +9 -0
- package/utils/logDeprecatedWarnings.js +22 -20
- package/utils/logPropError.d.ts +3 -0
- package/utils/logPropError.js +23 -19
- package/utils/ownerDocument.d.ts +1 -0
- package/utils/ownerDocument.js +8 -8
- package/utils/portalRoot.d.ts +2 -0
- package/utils/portalRoot.js +7 -7
- package/utils/routeUtils.d.ts +15 -0
- package/utils/routeUtils.js +48 -68
- package/utils/scrollItemIntoView.d.ts +3 -0
- package/utils/scrollItemIntoView.js +25 -26
- package/utils/searchNormalized.d.ts +2 -0
- package/utils/searchNormalized.js +2 -6
- package/utils/useDropDirection.d.ts +12 -0
- package/utils/useDropDirection.js +21 -0
- package/values/Placement.d.ts +19 -0
- package/values/Placement.js +17 -0
- package/values/TextAlignment.d.ts +7 -0
- package/values/TextAlignment.js +5 -0
- package/values/Trigger.d.ts +9 -0
- package/values/Trigger.js +5 -0
- package/version.json +1 -1
- package/.DS_Store +0 -0
- package/Init.d.ts +0 -3
- package/Init.js +0 -2
- package/components/applicationHeader/modulePropTypes.js +0 -5
- package/components/browserWarning/chrome.svg +0 -1
- package/components/browserWarning/firefox.svg +0 -1
- package/components/map/assets/icon_map_settings_bounding_box_active.svg +0 -1
- package/components/map/assets/icon_map_settings_bounding_box_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_center_marker_active.svg +0 -1
- package/components/map/assets/icon_map_settings_center_marker_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_cluster_active.svg +0 -1
- package/components/map/assets/icon_map_settings_cluster_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_construction_active.svg +0 -1
- package/components/map/assets/icon_map_settings_construction_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_layer_active.svg +0 -1
- package/components/map/assets/icon_map_settings_layer_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_lock_active.svg +0 -1
- package/components/map/assets/icon_map_settings_lock_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_maptype_flat_active.svg +0 -1
- package/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +0 -1
- package/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_maptype_night_active.svg +0 -1
- package/components/map/assets/icon_map_settings_maptype_night_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_maptype_satelite_active.svg +0 -1
- package/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_maptype_terrain_active.svg +0 -1
- package/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_no_cluster_active.svg +0 -1
- package/components/map/assets/icon_map_settings_no_cluster_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_road_restrictions_active.svg +0 -1
- package/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_system_pois_active.svg +0 -1
- package/components/map/assets/icon_map_settings_system_pois_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_traffic_active.svg +0 -1
- package/components/map/assets/icon_map_settings_traffic_inactive.svg +0 -1
- package/components/map/assets/icon_map_settings_workshop_pois_active.svg +0 -1
- package/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +0 -1
- package/components/map/assets/icon_zoom_in.svg +0 -1
- package/components/map/assets/icon_zoom_out.svg +0 -1
- package/lib/es/Init.d.ts +0 -3
- package/lib/es/Init.js +0 -12
- package/lib/es/components/applicationHeader/modulePropTypes.js +0 -13
- package/lib/es/components/browserWarning/chrome.svg +0 -1
- package/lib/es/components/browserWarning/firefox.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_bounding_box_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_bounding_box_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_center_marker_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_center_marker_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_cluster_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_cluster_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_construction_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_construction_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_layer_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_layer_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_lock_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_lock_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_flat_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_flat_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_flat_truck_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_night_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_night_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_satelite_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_maptype_terrain_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_no_cluster_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_no_cluster_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_road_restrictions_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_road_restrictions_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_system_pois_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_system_pois_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_traffic_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_traffic_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_workshop_pois_active.svg +0 -1
- package/lib/es/components/map/assets/icon_map_settings_workshop_pois_inactive.svg +0 -1
- package/lib/es/components/map/assets/icon_zoom_in.svg +0 -1
- package/lib/es/components/map/assets/icon_zoom_out.svg +0 -1
- package/lib/es/styles/animations/_imports.less +0 -10
- package/lib/es/styles/animations/collapse.less +0 -16
- package/lib/es/styles/animations/fade.less +0 -28
- package/lib/es/styles/animations/pinging.less +0 -7
- package/lib/es/styles/animations/pulsing.less +0 -5
- package/lib/es/styles/animations/rotate.less +0 -52
- package/lib/es/styles/animations/scale.less +0 -35
- package/lib/es/styles/animations/slide.less +0 -39
- package/lib/es/styles/animations/spinning.less +0 -4
- package/lib/es/styles/animations/transition.less +0 -129
- package/lib/es/styles/animations/translate.less +0 -28
- package/lib/es/styles/components/Activity.less +0 -92
- package/lib/es/styles/components/ApplicationHeader.less +0 -507
- package/lib/es/styles/components/ApplicationLayout.less +0 -238
- package/lib/es/styles/components/AssetTree.less +0 -441
- package/lib/es/styles/components/AutoSuggest.less +0 -22
- package/lib/es/styles/components/BottomSheet.less +0 -22
- package/lib/es/styles/components/Carousel.less +0 -215
- package/lib/es/styles/components/Checkbox.less +0 -223
- package/lib/es/styles/components/ClearableInput.less +0 -120
- package/lib/es/styles/components/Counter.less +0 -142
- package/lib/es/styles/components/DataTabs.less +0 -121
- package/lib/es/styles/components/DatePicker.less +0 -390
- package/lib/es/styles/components/Dialog.less +0 -512
- package/lib/es/styles/components/Dropdown.less +0 -190
- package/lib/es/styles/components/Expander.less +0 -196
- package/lib/es/styles/components/FilePicker.less +0 -8
- package/lib/es/styles/components/ListMenu.less +0 -75
- package/lib/es/styles/components/MapHere.less +0 -92
- package/lib/es/styles/components/MapMarker.less +0 -552
- package/lib/es/styles/components/MapSettings.less +0 -133
- package/lib/es/styles/components/NoData.less +0 -8
- package/lib/es/styles/components/Notification.less +0 -234
- package/lib/es/styles/components/RadioButton.less +0 -172
- package/lib/es/styles/components/Resizer.less +0 -43
- package/lib/es/styles/components/Select.less +0 -289
- package/lib/es/styles/components/Sidebar.less +0 -174
- package/lib/es/styles/components/Slider.less +0 -278
- package/lib/es/styles/components/Spinner.less +0 -49
- package/lib/es/styles/components/StatsWidget.less +0 -111
- package/lib/es/styles/components/SteppedProgressBar.less +0 -313
- package/lib/es/styles/components/SupportMarker.less +0 -34
- package/lib/es/styles/components/Switch.less +0 -145
- package/lib/es/styles/components/TableSettingsDialog.less +0 -96
- package/lib/es/styles/components/TableSortArrows.less +0 -55
- package/lib/es/styles/components/TableToolbar.less +0 -121
- package/lib/es/styles/components/Tag.less +0 -246
- package/lib/es/styles/components/TagManager.less +0 -4
- package/lib/es/styles/components/Teaser.less +0 -12
- package/lib/es/styles/components/Timeline.less +0 -71
- package/lib/es/styles/components/Tooltip.less +0 -222
- package/lib/es/styles/design/alerts.less +0 -53
- package/lib/es/styles/design/aspect-ratio.less +0 -24
- package/lib/es/styles/design/badges.less +0 -120
- package/lib/es/styles/design/blockquote.less +0 -49
- package/lib/es/styles/design/blur.less +0 -7
- package/lib/es/styles/design/border.less +0 -229
- package/lib/es/styles/design/box-sizing.less +0 -8
- package/lib/es/styles/design/breadcrumbs.less +0 -20
- package/lib/es/styles/design/button-groups.less +0 -215
- package/lib/es/styles/design/buttons.less +0 -427
- package/lib/es/styles/design/callouts.less +0 -28
- package/lib/es/styles/design/caret.less +0 -28
- package/lib/es/styles/design/close.less +0 -12
- package/lib/es/styles/design/code.less +0 -43
- package/lib/es/styles/design/colors.less +0 -212
- package/lib/es/styles/design/cols.less +0 -57
- package/lib/es/styles/design/container.less +0 -29
- package/lib/es/styles/design/cursors.less +0 -19
- package/lib/es/styles/design/custom.less +0 -20
- package/lib/es/styles/design/divider.less +0 -90
- package/lib/es/styles/design/ellipsis.less +0 -46
- package/lib/es/styles/design/flexgrid.less +0 -7
- package/lib/es/styles/design/fonts.less +0 -458
- package/lib/es/styles/design/form-input-groups.less +0 -243
- package/lib/es/styles/design/form-inputs.less +0 -655
- package/lib/es/styles/design/iframe.less +0 -80
- package/lib/es/styles/design/images.less +0 -47
- package/lib/es/styles/design/labels.less +0 -66
- package/lib/es/styles/design/list-group.less +0 -98
- package/lib/es/styles/design/navs.less +0 -267
- package/lib/es/styles/design/normalize.less +0 -146
- package/lib/es/styles/design/opacity.less +0 -26
- package/lib/es/styles/design/overflow.less +0 -1
- package/lib/es/styles/design/pagination.less +0 -158
- package/lib/es/styles/design/panels.less +0 -105
- package/lib/es/styles/design/popovers.less +0 -119
- package/lib/es/styles/design/position.less +0 -16
- package/lib/es/styles/design/progress-bars.less +0 -131
- package/lib/es/styles/design/resets.less +0 -7
- package/lib/es/styles/design/responsive/_imports.less +0 -68
- package/lib/es/styles/design/responsive/backgrounds.less +0 -32
- package/lib/es/styles/design/responsive/display.less +0 -9
- package/lib/es/styles/design/responsive/flexgrid.less +0 -76
- package/lib/es/styles/design/responsive/floating.less +0 -4
- package/lib/es/styles/design/responsive/gap.less +0 -33
- package/lib/es/styles/design/responsive/margin.less +0 -127
- package/lib/es/styles/design/responsive/overflow.less +0 -16
- package/lib/es/styles/design/responsive/padding.less +0 -71
- package/lib/es/styles/design/responsive/position.less +0 -108
- package/lib/es/styles/design/responsive/sizing.less +0 -102
- package/lib/es/styles/design/responsive/spacing.less +0 -25
- package/lib/es/styles/design/responsive/text.less +0 -71
- package/lib/es/styles/design/responsive-embed.less +0 -31
- package/lib/es/styles/design/responsive-video.less +0 -22
- package/lib/es/styles/design/rioglyph.less +0 -13
- package/lib/es/styles/design/rounded.less +0 -44
- package/lib/es/styles/design/sanityCheck.less +0 -11
- package/lib/es/styles/design/shadows.less +0 -78
- package/lib/es/styles/design/sizing.less +0 -18
- package/lib/es/styles/design/tables.less +0 -791
- package/lib/es/styles/design/text.less +0 -202
- package/lib/es/styles/design/theme.less +0 -204
- package/lib/es/styles/design/thumbnails.less +0 -27
- package/lib/es/styles/design/transition.less +0 -33
- package/lib/es/styles/design/type.less +0 -159
- package/lib/es/styles/design/utilities.less +0 -73
- package/lib/es/styles/design/visibility.less +0 -186
- package/lib/es/styles/design/wells.less +0 -17
- package/lib/es/styles/design/z-index.less +0 -21
- package/lib/es/styles/filter/_imports.less +0 -1
- package/lib/es/styles/filter/blur.less +0 -17
- package/lib/es/styles/mapping/breakpoint-map.less +0 -44
- package/lib/es/styles/mapping/color-map.less +0 -212
- package/lib/es/styles/mapping/cols-map.less +0 -15
- package/lib/es/styles/mapping/numbers-map.less +0 -16
- package/lib/es/styles/mapping/positions-map.less +0 -29
- package/lib/es/styles/mapping/sizes-map.less +0 -129
- package/lib/es/styles/mapping/spacings-map.less +0 -33
- package/lib/es/styles/mixins/_imports.less +0 -14
- package/lib/es/styles/mixins/border-radius.less +0 -16
- package/lib/es/styles/mixins/buttons.less +0 -85
- package/lib/es/styles/mixins/clearfix.less +0 -9
- package/lib/es/styles/mixins/cols.less +0 -59
- package/lib/es/styles/mixins/forms.less +0 -25
- package/lib/es/styles/mixins/hsl.less +0 -19
- package/lib/es/styles/mixins/panels.less +0 -27
- package/lib/es/styles/mixins/placeholder.less +0 -17
- package/lib/es/styles/mixins/reset.less +0 -27
- package/lib/es/styles/mixins/sizings.less +0 -21
- package/lib/es/styles/mixins/spinner.less +0 -30
- package/lib/es/styles/mixins/table.less +0 -26
- package/lib/es/styles/mixins/tabs.less +0 -4
- package/lib/es/styles/mixins/text.less +0 -5
- package/lib/es/styles/print/print.less +0 -195
- package/lib/es/styles/rio-uikit-core.less +0 -118
- package/lib/es/styles/rio-uikit-print-utilities.less +0 -17
- package/lib/es/styles/rio-uikit-responsive-utilities.less +0 -16
- package/lib/es/styles/variables/_index.less +0 -196
- package/lib/es/styles/variables/concated_css_variables.less +0 -72
- package/lib/es/styles/variables/dark_colors.less +0 -96
- package/lib/es/styles/variables/dark_css_variables.less +0 -28
- package/lib/es/styles/variables/dark_css_variables_map.less +0 -104
- package/lib/es/styles/variables/light_colors.less +0 -100
- package/lib/es/styles/variables/light_css_variables.less +0 -17
- package/lib/es/styles/variables/light_css_variables_map.less +0 -108
- package/lib/es/styles/variables/screens.less +0 -7
- package/lib/es/styles/variables/text.less +0 -23
- package/lib/es/themes/BuyButton/styles/rio-buyButton.less +0 -191
- package/lib/es/themes/MAN/styles/man-uikit.less +0 -54
- package/lib/es/themes/RIO/styles/rio-uikit.less +0 -23
- package/lib/es/themes/SCANIA/styles/scania-uikit.less +0 -42
- package/lib/es/themes/Volkswagen/styles/vw-uikit.less +0 -207
- package/lib/es/themes/Website/styles/rio-website.less +0 -2300
- package/lib/es/themes/Xmas/styles/rio-xmas.less +0 -66
- package/lib/es/types.ts +0 -2275
- package/styles/animations/_imports.less +0 -10
- package/styles/animations/collapse.less +0 -16
- package/styles/animations/fade.less +0 -28
- package/styles/animations/pinging.less +0 -7
- package/styles/animations/pulsing.less +0 -5
- package/styles/animations/rotate.less +0 -52
- package/styles/animations/scale.less +0 -35
- package/styles/animations/slide.less +0 -39
- package/styles/animations/spinning.less +0 -4
- package/styles/animations/transition.less +0 -129
- package/styles/animations/translate.less +0 -28
- package/styles/components/Activity.less +0 -92
- package/styles/components/ApplicationHeader.less +0 -507
- package/styles/components/ApplicationLayout.less +0 -238
- package/styles/components/AssetTree.less +0 -441
- package/styles/components/AutoSuggest.less +0 -22
- package/styles/components/BottomSheet.less +0 -22
- package/styles/components/Carousel.less +0 -215
- package/styles/components/Checkbox.less +0 -223
- package/styles/components/ClearableInput.less +0 -120
- package/styles/components/Counter.less +0 -142
- package/styles/components/DataTabs.less +0 -121
- package/styles/components/DatePicker.less +0 -390
- package/styles/components/Dialog.less +0 -512
- package/styles/components/Dropdown.less +0 -190
- package/styles/components/Expander.less +0 -196
- package/styles/components/FilePicker.less +0 -8
- package/styles/components/ListMenu.less +0 -75
- package/styles/components/MapHere.less +0 -92
- package/styles/components/MapMarker.less +0 -552
- package/styles/components/MapSettings.less +0 -133
- package/styles/components/NoData.less +0 -8
- package/styles/components/Notification.less +0 -234
- package/styles/components/RadioButton.less +0 -172
- package/styles/components/Resizer.less +0 -43
- package/styles/components/Select.less +0 -289
- package/styles/components/Sidebar.less +0 -174
- package/styles/components/Slider.less +0 -278
- package/styles/components/Spinner.less +0 -49
- package/styles/components/StatsWidget.less +0 -111
- package/styles/components/SteppedProgressBar.less +0 -313
- package/styles/components/SupportMarker.less +0 -34
- package/styles/components/Switch.less +0 -145
- package/styles/components/TableSettingsDialog.less +0 -96
- package/styles/components/TableSortArrows.less +0 -55
- package/styles/components/TableToolbar.less +0 -121
- package/styles/components/Tag.less +0 -246
- package/styles/components/TagManager.less +0 -4
- package/styles/components/Teaser.less +0 -12
- package/styles/components/Timeline.less +0 -71
- package/styles/components/Tooltip.less +0 -222
- package/styles/design/alerts.less +0 -53
- package/styles/design/aspect-ratio.less +0 -24
- package/styles/design/badges.less +0 -120
- package/styles/design/blockquote.less +0 -49
- package/styles/design/blur.less +0 -7
- package/styles/design/border.less +0 -229
- package/styles/design/box-sizing.less +0 -8
- package/styles/design/breadcrumbs.less +0 -20
- package/styles/design/button-groups.less +0 -215
- package/styles/design/buttons.less +0 -427
- package/styles/design/callouts.less +0 -28
- package/styles/design/caret.less +0 -28
- package/styles/design/close.less +0 -12
- package/styles/design/code.less +0 -43
- package/styles/design/colors.less +0 -212
- package/styles/design/cols.less +0 -57
- package/styles/design/container.less +0 -29
- package/styles/design/cursors.less +0 -19
- package/styles/design/custom.less +0 -20
- package/styles/design/divider.less +0 -90
- package/styles/design/ellipsis.less +0 -46
- package/styles/design/flexgrid.less +0 -7
- package/styles/design/fonts.less +0 -458
- package/styles/design/form-input-groups.less +0 -243
- package/styles/design/form-inputs.less +0 -655
- package/styles/design/iframe.less +0 -80
- package/styles/design/images.less +0 -47
- package/styles/design/labels.less +0 -66
- package/styles/design/list-group.less +0 -98
- package/styles/design/navs.less +0 -267
- package/styles/design/normalize.less +0 -146
- package/styles/design/opacity.less +0 -26
- package/styles/design/overflow.less +0 -1
- package/styles/design/pagination.less +0 -158
- package/styles/design/panels.less +0 -105
- package/styles/design/popovers.less +0 -119
- package/styles/design/position.less +0 -16
- package/styles/design/progress-bars.less +0 -131
- package/styles/design/resets.less +0 -7
- package/styles/design/responsive/_imports.less +0 -68
- package/styles/design/responsive/backgrounds.less +0 -32
- package/styles/design/responsive/display.less +0 -9
- package/styles/design/responsive/flexgrid.less +0 -76
- package/styles/design/responsive/floating.less +0 -4
- package/styles/design/responsive/gap.less +0 -33
- package/styles/design/responsive/margin.less +0 -127
- package/styles/design/responsive/overflow.less +0 -16
- package/styles/design/responsive/padding.less +0 -71
- package/styles/design/responsive/position.less +0 -108
- package/styles/design/responsive/sizing.less +0 -102
- package/styles/design/responsive/spacing.less +0 -25
- package/styles/design/responsive/text.less +0 -71
- package/styles/design/responsive-embed.less +0 -31
- package/styles/design/responsive-video.less +0 -22
- package/styles/design/rioglyph.less +0 -13
- package/styles/design/rounded.less +0 -44
- package/styles/design/sanityCheck.less +0 -11
- package/styles/design/shadows.less +0 -78
- package/styles/design/sizing.less +0 -18
- package/styles/design/tables.less +0 -791
- package/styles/design/text.less +0 -202
- package/styles/design/theme.less +0 -204
- package/styles/design/thumbnails.less +0 -27
- package/styles/design/transition.less +0 -33
- package/styles/design/type.less +0 -159
- package/styles/design/utilities.less +0 -73
- package/styles/design/visibility.less +0 -186
- package/styles/design/wells.less +0 -17
- package/styles/design/z-index.less +0 -21
- package/styles/filter/_imports.less +0 -1
- package/styles/filter/blur.less +0 -17
- package/styles/mapping/breakpoint-map.less +0 -44
- package/styles/mapping/color-map.less +0 -212
- package/styles/mapping/cols-map.less +0 -15
- package/styles/mapping/numbers-map.less +0 -16
- package/styles/mapping/positions-map.less +0 -29
- package/styles/mapping/sizes-map.less +0 -129
- package/styles/mapping/spacings-map.less +0 -33
- package/styles/mixins/_imports.less +0 -14
- package/styles/mixins/border-radius.less +0 -16
- package/styles/mixins/buttons.less +0 -85
- package/styles/mixins/clearfix.less +0 -9
- package/styles/mixins/cols.less +0 -59
- package/styles/mixins/forms.less +0 -25
- package/styles/mixins/hsl.less +0 -19
- package/styles/mixins/panels.less +0 -27
- package/styles/mixins/placeholder.less +0 -17
- package/styles/mixins/reset.less +0 -27
- package/styles/mixins/sizings.less +0 -21
- package/styles/mixins/spinner.less +0 -30
- package/styles/mixins/table.less +0 -26
- package/styles/mixins/tabs.less +0 -4
- package/styles/mixins/text.less +0 -5
- package/styles/print/print.less +0 -195
- package/styles/rio-uikit-core.less +0 -118
- package/styles/rio-uikit-print-utilities.less +0 -17
- package/styles/rio-uikit-responsive-utilities.less +0 -16
- package/styles/variables/_index.less +0 -196
- package/styles/variables/concated_css_variables.less +0 -72
- package/styles/variables/dark_colors.less +0 -96
- package/styles/variables/dark_css_variables.less +0 -28
- package/styles/variables/dark_css_variables_map.less +0 -104
- package/styles/variables/light_colors.less +0 -100
- package/styles/variables/light_css_variables.less +0 -17
- package/styles/variables/light_css_variables_map.less +0 -108
- package/styles/variables/screens.less +0 -7
- package/styles/variables/text.less +0 -23
- package/themes/BuyButton/styles/rio-buyButton.less +0 -191
- package/themes/MAN/styles/man-uikit.less +0 -54
- package/themes/RIO/styles/rio-uikit.less +0 -23
- package/themes/SCANIA/styles/scania-uikit.less +0 -42
- package/themes/Volkswagen/styles/vw-uikit.less +0 -207
- package/themes/Website/styles/rio-website.less +0 -2300
- package/themes/Xmas/styles/rio-xmas.less +0 -66
- package/types.ts +0 -2275
|
@@ -1,706 +1,436 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
this.
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
* @
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
}, {
|
|
438
|
-
key: "getValidStartDates",
|
|
439
|
-
value: function getValidStartDates(current) {
|
|
440
|
-
var _this$props5 = this.props,
|
|
441
|
-
minValue = _this$props5.minValue,
|
|
442
|
-
maxValue = _this$props5.maxValue;
|
|
443
|
-
var customRangeEndValue = (0, _moment["default"])(this.state.customRangeEndValue);
|
|
444
|
-
if (current.isSame(customRangeEndValue, 'day')) {
|
|
445
|
-
return true;
|
|
446
|
-
}
|
|
447
|
-
var passesMin = minValue ? current.isSameOrAfter((0, _moment["default"])(minValue)) : true;
|
|
448
|
-
var passesMax = maxValue ? current.isSameOrBefore((0, _moment["default"])(maxValue)) : true;
|
|
449
|
-
return passesMin && passesMax;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
/**
|
|
453
|
-
* Callback method for DatePicker to limit selection in DatePicker.
|
|
454
|
-
* End date has to be after start date.
|
|
455
|
-
* @param {object} current - Current date in the loop.
|
|
456
|
-
* @returns {undefined}
|
|
457
|
-
*/
|
|
458
|
-
}, {
|
|
459
|
-
key: "getValidEndDates",
|
|
460
|
-
value: function getValidEndDates(current) {
|
|
461
|
-
var _this$props6 = this.props,
|
|
462
|
-
minValue = _this$props6.minValue,
|
|
463
|
-
maxValue = _this$props6.maxValue;
|
|
464
|
-
var customRangeStartValue = (0, _moment["default"])(this.state.customRangeStartValue);
|
|
465
|
-
if (current.isSame(customRangeStartValue, 'day')) {
|
|
466
|
-
return true;
|
|
467
|
-
}
|
|
468
|
-
var passesMin = minValue ? current.isSameOrAfter((0, _moment["default"])(minValue)) : true;
|
|
469
|
-
var passesMax = maxValue ? current.isSameOrBefore((0, _moment["default"])(maxValue)) : true;
|
|
470
|
-
var isAfterStart = current.isAfter(customRangeStartValue);
|
|
471
|
-
return passesMin && passesMax && isAfterStart;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
/**
|
|
475
|
-
* Gets called when "custom ..." has been selected.
|
|
476
|
-
* @returns {undefined}
|
|
477
|
-
*/
|
|
478
|
-
}, {
|
|
479
|
-
key: "handleCustomToggle",
|
|
480
|
-
value: function handleCustomToggle() {
|
|
481
|
-
this.setState(function (prevState) {
|
|
482
|
-
return {
|
|
483
|
-
isCustomVisible: !prevState.isCustomVisible
|
|
484
|
-
};
|
|
485
|
-
});
|
|
486
|
-
}
|
|
487
|
-
}, {
|
|
488
|
-
key: "handleCustomPresetSelect",
|
|
489
|
-
value: function handleCustomPresetSelect(preset) {
|
|
490
|
-
if (typeof preset.onSelect === 'function') {
|
|
491
|
-
preset.onSelect();
|
|
492
|
-
}
|
|
493
|
-
this.handleSelect(preset.startValue, preset.endValue);
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
/**
|
|
497
|
-
* Gets called when a preset has been selected.
|
|
498
|
-
* @param {object} startValue - the start date (date or moment).
|
|
499
|
-
* @param {object} endValue - the start date (date or moment).
|
|
500
|
-
* @returns {undefined}
|
|
501
|
-
*/
|
|
502
|
-
}, {
|
|
503
|
-
key: "handleSelect",
|
|
504
|
-
value: function handleSelect(startValue, endValue) {
|
|
505
|
-
var _this$props7 = this.props,
|
|
506
|
-
onRangeChange = _this$props7.onRangeChange,
|
|
507
|
-
locale = _this$props7.locale;
|
|
508
|
-
var extras = {
|
|
509
|
-
isDropdownOpen: false
|
|
510
|
-
};
|
|
511
|
-
this.update(startValue, endValue, locale, extras, onRangeChange);
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* Gets called user clicks the apply button.
|
|
516
|
-
* @returns {undefined}
|
|
517
|
-
*/
|
|
518
|
-
}, {
|
|
519
|
-
key: "handleCustomApply",
|
|
520
|
-
value: function handleCustomApply() {
|
|
521
|
-
var _this$state2 = this.state,
|
|
522
|
-
customRangeStartValue = _this$state2.customRangeStartValue,
|
|
523
|
-
customRangeEndValue = _this$state2.customRangeEndValue,
|
|
524
|
-
isStartValid = _this$state2.isStartValid,
|
|
525
|
-
isEndValid = _this$state2.isEndValid;
|
|
526
|
-
var _this$props8 = this.props,
|
|
527
|
-
onRangeChange = _this$props8.onRangeChange,
|
|
528
|
-
locale = _this$props8.locale;
|
|
529
|
-
if (isStartValid && isEndValid) {
|
|
530
|
-
var extras = {
|
|
531
|
-
isDropdownOpen: false
|
|
532
|
-
};
|
|
533
|
-
this.update(customRangeStartValue, customRangeEndValue, locale, extras, onRangeChange);
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
}, {
|
|
537
|
-
key: "getDropdownToggle",
|
|
538
|
-
value: function getDropdownToggle(dropdownToggleText) {
|
|
539
|
-
var _this3 = this;
|
|
540
|
-
var _this$props9 = this.props,
|
|
541
|
-
children = _this$props9.children,
|
|
542
|
-
clearable = _this$props9.clearable;
|
|
543
|
-
var _this$state3 = this.state,
|
|
544
|
-
startValueText = _this$state3.startValueText,
|
|
545
|
-
endValueText = _this$state3.endValueText;
|
|
546
|
-
var isClearable = clearable && dropdownToggleText.type !== Placeholder;
|
|
547
|
-
var labelClassNames = (0, _classnames["default"])(isClearable && 'withClearButton');
|
|
548
|
-
var isRenderCallback = children && typeof children === 'function';
|
|
549
|
-
|
|
550
|
-
// Note: due to issues with nested events in Firefox (for toggle and inside the clear)
|
|
551
|
-
// the toggle element must not be a <button> but a div.
|
|
552
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
553
|
-
type: 'button',
|
|
554
|
-
className: 'DateRangePickerToggle form-control dropdown-toggle text-left',
|
|
555
|
-
"aria-haspopup": 'true',
|
|
556
|
-
"aria-expanded": 'true',
|
|
557
|
-
onClick: this.toggleDropdownOpen,
|
|
558
|
-
ref: function ref(node) {
|
|
559
|
-
return _this3.refDropdownToggle = node;
|
|
560
|
-
}
|
|
561
|
-
}, isRenderCallback ? this.props.children(startValueText, endValueText) : /*#__PURE__*/_react["default"].createElement("span", {
|
|
562
|
-
className: labelClassNames
|
|
563
|
-
}, dropdownToggleText), isClearable && this.getClearButton(), /*#__PURE__*/_react["default"].createElement("span", {
|
|
564
|
-
className: 'caret'
|
|
565
|
-
}));
|
|
566
|
-
}
|
|
567
|
-
}, {
|
|
568
|
-
key: "getClearButton",
|
|
569
|
-
value: function getClearButton() {
|
|
570
|
-
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
571
|
-
className: 'clearButton',
|
|
572
|
-
onClick: this.handleResetInternalState
|
|
573
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
574
|
-
className: 'clearButtonIcon rioglyph rioglyph-remove-sign'
|
|
575
|
-
}));
|
|
576
|
-
}
|
|
577
|
-
}, {
|
|
578
|
-
key: "getCustomPanelToggle",
|
|
579
|
-
value: function getCustomPanelToggle(isCustomVisible, textCustom) {
|
|
580
|
-
return /*#__PURE__*/_react["default"].createElement("li", {
|
|
581
|
-
className: (0, _classnames["default"])('custom-panel-toggle', isCustomVisible && 'hidden')
|
|
582
|
-
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
583
|
-
role: 'button',
|
|
584
|
-
onClick: this.handleCustomToggle
|
|
585
|
-
}, textCustom, " ..."));
|
|
586
|
-
}
|
|
587
|
-
}, {
|
|
588
|
-
key: "getCustomPanelButtons",
|
|
589
|
-
value: function getCustomPanelButtons(isCustomVisible, isStartValid, isEndValid, textApply, textCancel) {
|
|
590
|
-
return /*#__PURE__*/_react["default"].createElement("li", {
|
|
591
|
-
className: (0, _classnames["default"])('custom-panel-buttons', 'margin-20', !isCustomVisible && 'hidden')
|
|
592
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
593
|
-
className: 'btn-toolbar'
|
|
594
|
-
}, /*#__PURE__*/_react["default"].createElement("button", {
|
|
595
|
-
type: 'button',
|
|
596
|
-
disabled: !isStartValid || !isEndValid,
|
|
597
|
-
onClick: this.handleCustomApply,
|
|
598
|
-
className: 'btn btn-primary pull-right'
|
|
599
|
-
}, textApply), /*#__PURE__*/_react["default"].createElement("button", {
|
|
600
|
-
type: 'button',
|
|
601
|
-
onClick: this.toggleDropdownOpen,
|
|
602
|
-
className: 'btn btn-default pull-right'
|
|
603
|
-
}, textCancel)));
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
// eslint-disable-next-line complexity
|
|
607
|
-
}, {
|
|
608
|
-
key: "render",
|
|
609
|
-
value: function render() {
|
|
610
|
-
var _this4 = this;
|
|
611
|
-
var _this$props10 = this.props,
|
|
612
|
-
locale = _this$props10.locale,
|
|
613
|
-
textCustom = _this$props10.textCustom,
|
|
614
|
-
textApply = _this$props10.textApply,
|
|
615
|
-
textCancel = _this$props10.textCancel,
|
|
616
|
-
textFrom = _this$props10.textFrom,
|
|
617
|
-
textTo = _this$props10.textTo,
|
|
618
|
-
textToday = _this$props10.textToday,
|
|
619
|
-
textLastWeek = _this$props10.textLastWeek,
|
|
620
|
-
textLastMonth = _this$props10.textLastMonth,
|
|
621
|
-
className = _this$props10.className,
|
|
622
|
-
clearable = _this$props10.clearable,
|
|
623
|
-
dropdownClass = _this$props10.dropdownClass,
|
|
624
|
-
dropdownMenuClass = _this$props10.dropdownMenuClass,
|
|
625
|
-
customPresets = _this$props10.customPresets,
|
|
626
|
-
hasTimePicker = _this$props10.hasTimePicker;
|
|
627
|
-
var _this$state4 = this.state,
|
|
628
|
-
customRangeStartValue = _this$state4.customRangeStartValue,
|
|
629
|
-
customRangeEndValue = _this$state4.customRangeEndValue,
|
|
630
|
-
isStartValid = _this$state4.isStartValid,
|
|
631
|
-
isEndValid = _this$state4.isEndValid,
|
|
632
|
-
isCustomVisible = _this$state4.isCustomVisible,
|
|
633
|
-
isDropdownOpen = _this$state4.isDropdownOpen,
|
|
634
|
-
dropdownToggleText = _this$state4.dropdownToggleText;
|
|
635
|
-
var pullRight = this.isAutoDropActive() ? this.state.pullRight : this.props.pullRight;
|
|
636
|
-
var dropup = this.isAutoDropActive() ? this.state.dropup : this.props.dropup;
|
|
637
|
-
if (customPresets && (0, _isEqual["default"])(customPresets, defaultProps.customPresets)) {
|
|
638
|
-
// support backward compatibility to override default drop down text values
|
|
639
|
-
customPresets[0].text = textToday;
|
|
640
|
-
customPresets[1].text = textLastWeek;
|
|
641
|
-
customPresets[2].text = textLastMonth;
|
|
642
|
-
}
|
|
643
|
-
var classes = (0, _classnames["default"])('DateRangePicker', className && className);
|
|
644
|
-
var dropDownClassNames = (0, _classnames["default"])('select', 'dropdown', dropdownClass, isDropdownOpen && 'open', dropup && 'dropup');
|
|
645
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
646
|
-
className: classes
|
|
647
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
648
|
-
className: dropDownClassNames
|
|
649
|
-
}, this.getDropdownToggle(dropdownToggleText, clearable), /*#__PURE__*/_react["default"].createElement("ul", {
|
|
650
|
-
className: (0, _classnames["default"])('dropdown-menu', pullRight && 'pull-right', dropdownMenuClass),
|
|
651
|
-
ref: function ref(node) {
|
|
652
|
-
return _this4.refDropdownMenu = node;
|
|
653
|
-
}
|
|
654
|
-
}, customPresets.map(function (preset, i) {
|
|
655
|
-
return /*#__PURE__*/_react["default"].createElement("li", {
|
|
656
|
-
key: "preset-".concat(i),
|
|
657
|
-
title: preset.disabled && preset.disabledText || null,
|
|
658
|
-
className: (0, _classnames["default"])(preset.disabled && 'disabled')
|
|
659
|
-
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
660
|
-
role: 'button',
|
|
661
|
-
className: (0, _classnames["default"])(isCustomVisible && 'hidden'),
|
|
662
|
-
onClick: !preset.disabled ? _this4.handleCustomPresetSelect.bind(_this4, preset) : undefined
|
|
663
|
-
}, preset.text));
|
|
664
|
-
}), /*#__PURE__*/_react["default"].createElement("li", {
|
|
665
|
-
role: 'separator',
|
|
666
|
-
className: (0, _classnames["default"])('divider', isCustomVisible && 'hidden')
|
|
667
|
-
}), this.getCustomPanelToggle(isCustomVisible, textCustom), /*#__PURE__*/_react["default"].createElement("li", {
|
|
668
|
-
className: (0, _classnames["default"])('custom-panel', !isCustomVisible && 'hidden')
|
|
669
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
670
|
-
className: 'row'
|
|
671
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
672
|
-
className: 'col-sm-6'
|
|
673
|
-
}, /*#__PURE__*/_react["default"].createElement("label", null, textFrom), /*#__PURE__*/_react["default"].createElement(_DatePicker["default"], {
|
|
674
|
-
locale: locale,
|
|
675
|
-
open: true,
|
|
676
|
-
autoDropDirection: false,
|
|
677
|
-
dateFormat: true,
|
|
678
|
-
timeFormat: hasTimePicker,
|
|
679
|
-
initialValue: customRangeStartValue,
|
|
680
|
-
onChange: this.onStartChange,
|
|
681
|
-
closeOnSelect: true,
|
|
682
|
-
isValidDate: this.getValidStartDates,
|
|
683
|
-
className: (0, _classnames["default"])('DatePicker', !isStartValid && 'has-error')
|
|
684
|
-
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
685
|
-
className: 'col-sm-6'
|
|
686
|
-
}, /*#__PURE__*/_react["default"].createElement("label", null, textTo), /*#__PURE__*/_react["default"].createElement(_DatePicker["default"], {
|
|
687
|
-
locale: locale,
|
|
688
|
-
open: true,
|
|
689
|
-
autoDropDirection: false,
|
|
690
|
-
dateFormat: true,
|
|
691
|
-
timeFormat: hasTimePicker,
|
|
692
|
-
initialValue: customRangeEndValue,
|
|
693
|
-
onChange: this.onEndChange,
|
|
694
|
-
closeOnSelect: true,
|
|
695
|
-
isValidDate: this.getValidEndDates,
|
|
696
|
-
className: (0, _classnames["default"])('DatePicker', !isEndValid && 'has-error')
|
|
697
|
-
})))), this.getCustomPanelButtons(isCustomVisible, isStartValid, isEndValid, textApply, textCancel))));
|
|
698
|
-
}
|
|
699
|
-
}]);
|
|
700
|
-
return DateRangePicker;
|
|
701
|
-
}(_react.Component);
|
|
702
|
-
exports.DateRangePickerPure = DateRangePicker;
|
|
703
|
-
DateRangePicker.propTypes = propTypes;
|
|
704
|
-
DateRangePicker.defaultProps = defaultProps;
|
|
705
|
-
var _default = (0, _reactOnclickoutside["default"])(DateRangePicker);
|
|
706
|
-
exports["default"] = _default;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DateRangePickerPure = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
+
/**
|
|
7
|
+
* @fileOverview: Wrapper component for React-Datetime.
|
|
8
|
+
*/
|
|
9
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
10
|
+
const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
|
|
11
|
+
const react_dom_1 = tslib_1.__importDefault(require("react-dom"));
|
|
12
|
+
const DatePicker_1 = tslib_1.__importDefault(require("./DatePicker"));
|
|
13
|
+
const react_onclickoutside_1 = tslib_1.__importDefault(require("react-onclickoutside"));
|
|
14
|
+
const moment_1 = tslib_1.__importDefault(require("moment"));
|
|
15
|
+
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
16
|
+
const isNil_1 = tslib_1.__importDefault(require("lodash/fp/isNil"));
|
|
17
|
+
const isNull_1 = tslib_1.__importDefault(require("lodash/fp/isNull"));
|
|
18
|
+
const isEqual_1 = tslib_1.__importDefault(require("lodash/fp/isEqual"));
|
|
19
|
+
const getDropDirection_1 = tslib_1.__importDefault(require("../../utils/getDropDirection"));
|
|
20
|
+
const Placeholder = ({ text }) => (0, jsx_runtime_1.jsx)("span", Object.assign({ className: 'placeholder' }, { children: text }));
|
|
21
|
+
/**
|
|
22
|
+
* The DateRangePicker
|
|
23
|
+
*/
|
|
24
|
+
const propTypes = {
|
|
25
|
+
startValue: prop_types_1.default.object,
|
|
26
|
+
endValue: prop_types_1.default.object,
|
|
27
|
+
defaultStartValue: prop_types_1.default.object,
|
|
28
|
+
defaultEndValue: prop_types_1.default.object,
|
|
29
|
+
minValue: prop_types_1.default.object,
|
|
30
|
+
maxValue: prop_types_1.default.object,
|
|
31
|
+
onRangeChange: prop_types_1.default.func,
|
|
32
|
+
locale: prop_types_1.default.string,
|
|
33
|
+
textDefault: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
34
|
+
textToday: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
35
|
+
textLastWeek: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
36
|
+
textLastMonth: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
37
|
+
textLastYear: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
38
|
+
textCustom: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
39
|
+
textApply: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
40
|
+
textCancel: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
41
|
+
textFrom: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
42
|
+
textTo: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
43
|
+
className: prop_types_1.default.string,
|
|
44
|
+
dropdownClass: prop_types_1.default.string,
|
|
45
|
+
dropdownMenuClass: prop_types_1.default.string,
|
|
46
|
+
hasTimePicker: prop_types_1.default.bool,
|
|
47
|
+
customRangeOnly: prop_types_1.default.bool,
|
|
48
|
+
customPresets: prop_types_1.default.arrayOf(prop_types_1.default.shape({
|
|
49
|
+
startValue: prop_types_1.default.object.isRequired,
|
|
50
|
+
endValue: prop_types_1.default.object.isRequired,
|
|
51
|
+
text: prop_types_1.default.string.isRequired,
|
|
52
|
+
onSelect: prop_types_1.default.func,
|
|
53
|
+
})),
|
|
54
|
+
dropup: prop_types_1.default.bool,
|
|
55
|
+
pullRight: prop_types_1.default.bool,
|
|
56
|
+
autoDropDirection: prop_types_1.default.bool,
|
|
57
|
+
clearable: prop_types_1.default.bool,
|
|
58
|
+
onClear: prop_types_1.default.func,
|
|
59
|
+
};
|
|
60
|
+
const defaultProps = {
|
|
61
|
+
defaultStartValue: (0, moment_1.default)().startOf('day'),
|
|
62
|
+
defaultEndValue: (0, moment_1.default)().endOf('day'),
|
|
63
|
+
minValue: null,
|
|
64
|
+
maxValue: null,
|
|
65
|
+
locale: 'en-GB',
|
|
66
|
+
textDefault: 'Select date range ...',
|
|
67
|
+
textToday: 'Today',
|
|
68
|
+
textLastWeek: 'Last week',
|
|
69
|
+
textLastMonth: 'Last month',
|
|
70
|
+
textCustom: 'Custom',
|
|
71
|
+
textFrom: 'From',
|
|
72
|
+
textTo: 'To',
|
|
73
|
+
textApply: 'Apply',
|
|
74
|
+
textCancel: 'Cancel',
|
|
75
|
+
dropdownClass: '',
|
|
76
|
+
dropdownMenuClass: '',
|
|
77
|
+
hasTimePicker: false,
|
|
78
|
+
customRangeOnly: false,
|
|
79
|
+
customPresets: [
|
|
80
|
+
{
|
|
81
|
+
text: 'Today',
|
|
82
|
+
startValue: (0, moment_1.default)().startOf('day'),
|
|
83
|
+
endValue: (0, moment_1.default)().endOf('day'),
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
text: 'Last week',
|
|
87
|
+
startValue: (0, moment_1.default)().subtract(1, 'weeks').startOf('isoWeek'),
|
|
88
|
+
endValue: (0, moment_1.default)().subtract(1, 'weeks').endOf('isoWeek'),
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
text: 'Last Month',
|
|
92
|
+
startValue: (0, moment_1.default)().subtract(1, 'months').startOf('month'),
|
|
93
|
+
endValue: (0, moment_1.default)().subtract(1, 'months').endOf('month'),
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
onRangeChange: () => {
|
|
97
|
+
// function when range changes
|
|
98
|
+
},
|
|
99
|
+
autoDropDirection: true,
|
|
100
|
+
dropup: false,
|
|
101
|
+
pullRight: false,
|
|
102
|
+
clearable: false,
|
|
103
|
+
onClear: () => undefined,
|
|
104
|
+
};
|
|
105
|
+
const LOCAL_DATE_FORMAT = 'dd L LT';
|
|
106
|
+
const LOCAL_DATE_FORMAT_NO_TIME = 'dd L';
|
|
107
|
+
const DROPDOWN_WIDTH = 600;
|
|
108
|
+
class DateRangePicker extends react_1.Component {
|
|
109
|
+
constructor(props) {
|
|
110
|
+
super(props);
|
|
111
|
+
const customRangeStartValue = props.startValue ? props.startValue : props.defaultStartValue;
|
|
112
|
+
const customRangeEndValue = props.endValue ? props.endValue : props.defaultEndValue;
|
|
113
|
+
this.state = {
|
|
114
|
+
internalStartValue: props.startValue,
|
|
115
|
+
internalEndValue: props.endValue,
|
|
116
|
+
isMounted: false,
|
|
117
|
+
isCustomVisible: props.customRangeOnly,
|
|
118
|
+
isDropdownOpen: false,
|
|
119
|
+
customRangeStartValue: (0, moment_1.default)(customRangeStartValue),
|
|
120
|
+
customRangeEndValue: (0, moment_1.default)(customRangeEndValue),
|
|
121
|
+
isStartValid: true,
|
|
122
|
+
isEndValid: true,
|
|
123
|
+
dropdownToggleText: (0, jsx_runtime_1.jsx)(Placeholder, { text: props.textDefault }),
|
|
124
|
+
dropup: props.dropup,
|
|
125
|
+
pullRight: props.pullRight,
|
|
126
|
+
};
|
|
127
|
+
this.toggleDropdownOpen = this.toggleDropdownOpen.bind(this);
|
|
128
|
+
this.handleCustomToggle = this.handleCustomToggle.bind(this);
|
|
129
|
+
this.handleCustomApply = this.handleCustomApply.bind(this);
|
|
130
|
+
this.onStartChange = this.onStartChange.bind(this);
|
|
131
|
+
this.getValidStartDates = this.getValidStartDates.bind(this);
|
|
132
|
+
this.onEndChange = this.onEndChange.bind(this);
|
|
133
|
+
this.getValidEndDates = this.getValidEndDates.bind(this);
|
|
134
|
+
this.handleResetInternalState = this.handleResetInternalState.bind(this);
|
|
135
|
+
}
|
|
136
|
+
componentDidMount() {
|
|
137
|
+
const { startValue, endValue, locale } = this.props;
|
|
138
|
+
if (!this.state.isMounted) {
|
|
139
|
+
this.setState({
|
|
140
|
+
isMounted: true,
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
// initial mount value
|
|
144
|
+
if (startValue && endValue) {
|
|
145
|
+
this.update(startValue, endValue, locale);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Responsible for handling start/end values given from outside (controlled component context).
|
|
150
|
+
* @param {object} nextProps - The next props.
|
|
151
|
+
* @returns {undefined}
|
|
152
|
+
*/
|
|
153
|
+
// eslint-disable-next-line camelcase
|
|
154
|
+
UNSAFE_componentWillReceiveProps(nextProps) {
|
|
155
|
+
const { startValue, endValue, textDefault, customRangeOnly, locale, defaultStartValue, defaultEndValue } = nextProps;
|
|
156
|
+
const { internalStartValue, internalEndValue } = this.state;
|
|
157
|
+
// handle reset:
|
|
158
|
+
// reset condition 1 is for uncontrolled components,
|
|
159
|
+
// making sure that when a time is selected, and then the locale changed, that the selection remains
|
|
160
|
+
const resetCondition1 = (0, isNil_1.default)(startValue) && (0, isNil_1.default)(endValue) && (0, isNil_1.default)(internalStartValue) && (0, isNil_1.default)(internalEndValue);
|
|
161
|
+
// reset condition 2 is for controlled components,
|
|
162
|
+
// when a time is set / defined, and the controlling component wants a hard reset
|
|
163
|
+
const resetCondition2 = (0, isNull_1.default)(startValue) && (0, isNull_1.default)(endValue);
|
|
164
|
+
// reset to original state
|
|
165
|
+
if (resetCondition1 || resetCondition2) {
|
|
166
|
+
this.setState({
|
|
167
|
+
internalStartValue: undefined,
|
|
168
|
+
internalEndValue: undefined,
|
|
169
|
+
customRangeStartValue: defaultStartValue,
|
|
170
|
+
customRangeEndValue: defaultEndValue,
|
|
171
|
+
dropdownToggleText: (0, jsx_runtime_1.jsx)(Placeholder, { text: textDefault }),
|
|
172
|
+
isCustomVisible: customRangeOnly,
|
|
173
|
+
isDropdownOpen: false,
|
|
174
|
+
isStartValid: true,
|
|
175
|
+
isEndValid: true,
|
|
176
|
+
pullRight: nextProps.pullRight,
|
|
177
|
+
dropup: nextProps.dropup,
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
else if (startValue !== this.props.startValue || endValue !== this.props.endValue) {
|
|
181
|
+
this.update(startValue, endValue, locale);
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
this.update(internalStartValue, internalEndValue, locale);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Converts start/end values to moments, makes them readable,
|
|
189
|
+
* crafts a dropdownToggleText and updates state.
|
|
190
|
+
* @param {object} startValue - the start date (date or moment).
|
|
191
|
+
* @param {object} endValue - the start date (date or moment).
|
|
192
|
+
* @param {object} locale - the locale to use.
|
|
193
|
+
* @param {object} extras - additional state, which needs to update.
|
|
194
|
+
* @param {object} callback - callback to be called, after state has changed.
|
|
195
|
+
* @returns {undefined}
|
|
196
|
+
*/
|
|
197
|
+
update(startValue, endValue, locale, extras, callback) {
|
|
198
|
+
const { hasTimePicker } = this.props;
|
|
199
|
+
const format = hasTimePicker ? LOCAL_DATE_FORMAT : LOCAL_DATE_FORMAT_NO_TIME;
|
|
200
|
+
// necessary to set start to startOf / end day to endOf, when selecting "without time"
|
|
201
|
+
const finalStartValue = hasTimePicker ? (0, moment_1.default)(startValue) : (0, moment_1.default)(startValue).startOf('day');
|
|
202
|
+
const finalEndValue = hasTimePicker ? (0, moment_1.default)(endValue) : (0, moment_1.default)(endValue).endOf('day');
|
|
203
|
+
// composition of dropdownToggleText
|
|
204
|
+
const startValueText = `${finalStartValue.locale(locale).format(format)}`;
|
|
205
|
+
const endValueText = `${finalEndValue.locale(locale).format(format)}`;
|
|
206
|
+
const dropdownToggleText = startValueText === endValueText ? startValueText : `${startValueText} → ${endValueText}`;
|
|
207
|
+
// set state, and call callback
|
|
208
|
+
this.setState(Object.assign({ internalStartValue: finalStartValue, internalEndValue: finalEndValue, customRangeStartValue: finalStartValue, customRangeEndValue: finalEndValue, dropdownToggleText,
|
|
209
|
+
startValueText,
|
|
210
|
+
endValueText, isStartValid: true, isEndValid: !finalEndValue.isBefore(finalStartValue) }, extras), () => {
|
|
211
|
+
callback && callback(finalStartValue, finalEndValue);
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
handleResetInternalState(event) {
|
|
215
|
+
if (event) {
|
|
216
|
+
event.preventDefault();
|
|
217
|
+
event.stopPropagation();
|
|
218
|
+
}
|
|
219
|
+
const { textDefault, customRangeOnly, defaultStartValue, defaultEndValue, pullRight, dropup, onClear } = this.props;
|
|
220
|
+
this.setState({
|
|
221
|
+
internalStartValue: undefined,
|
|
222
|
+
internalEndValue: undefined,
|
|
223
|
+
customRangeStartValue: defaultStartValue,
|
|
224
|
+
customRangeEndValue: defaultEndValue,
|
|
225
|
+
dropdownToggleText: (0, jsx_runtime_1.jsx)(Placeholder, { text: textDefault }),
|
|
226
|
+
isCustomVisible: customRangeOnly,
|
|
227
|
+
isDropdownOpen: false,
|
|
228
|
+
isStartValid: true,
|
|
229
|
+
isEndValid: true,
|
|
230
|
+
startValueText: null,
|
|
231
|
+
endValueText: null,
|
|
232
|
+
pullRight: pullRight,
|
|
233
|
+
dropup: dropup,
|
|
234
|
+
});
|
|
235
|
+
onClear();
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Gets called by wrapper component "onClickOutside".
|
|
239
|
+
* Responsible for closing the dropdown when a click occured outside.
|
|
240
|
+
* @returns {undefined}
|
|
241
|
+
*/
|
|
242
|
+
handleClickOutside() {
|
|
243
|
+
if (this.state.isMounted) {
|
|
244
|
+
this.setState({
|
|
245
|
+
isDropdownOpen: false,
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Toggles dropdown open status and visibility of custom range area.
|
|
251
|
+
* @param {object} event - mouse event on toggle dropdown
|
|
252
|
+
* @returns {undefined}
|
|
253
|
+
*/
|
|
254
|
+
toggleDropdownOpen(event) {
|
|
255
|
+
const toggleNode = react_dom_1.default.findDOMNode(this.refDropdownToggle);
|
|
256
|
+
const menuNode = react_dom_1.default.findDOMNode(this.refDropdownMenu);
|
|
257
|
+
const dropDirection = this.isAutoDropActive() && !this.state.isDropdownOpen ? (0, getDropDirection_1.default)(toggleNode, menuNode) : {};
|
|
258
|
+
const left = event.currentTarget.getBoundingClientRect().left;
|
|
259
|
+
this.setState(prevState => (Object.assign(Object.assign({ isDropdownOpen: !prevState.isDropdownOpen, isCustomVisible: this.props.customRangeOnly }, dropDirection), { pullRight: left + DROPDOWN_WIDTH > document.body.clientWidth })));
|
|
260
|
+
}
|
|
261
|
+
isAutoDropActive() {
|
|
262
|
+
return !(!this.props.autoDropDirection || this.props.dropup || this.props.pullRight);
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Only gets called on manual change of datePicker (user interaction).
|
|
266
|
+
* Has influence the validity of the end date.
|
|
267
|
+
*
|
|
268
|
+
* Important to note that the start date is not limited,
|
|
269
|
+
* whereas the end date is limited by the start date (see 'getValidEndDates').
|
|
270
|
+
*
|
|
271
|
+
* @param {object} startValue - the start date (date or moment).
|
|
272
|
+
* @param {object} isValidDate - if the date is valid or not.
|
|
273
|
+
* @returns {undefined}
|
|
274
|
+
*/
|
|
275
|
+
onStartChange(startValue, isValidDate) {
|
|
276
|
+
const newState = { isStartValid: false };
|
|
277
|
+
const { hasTimePicker, minValue, maxValue } = this.props;
|
|
278
|
+
const { customRangeEndValue } = this.state;
|
|
279
|
+
if (moment_1.default.isMoment(startValue)) {
|
|
280
|
+
// necessary to set start to startOf / end day to endOf, when selecting "without time"
|
|
281
|
+
const finalStartValue = hasTimePicker ? startValue : (0, moment_1.default)(startValue).startOf('day');
|
|
282
|
+
// check validity of input (min/max)
|
|
283
|
+
const passesMin = minValue ? finalStartValue.isSameOrAfter((0, moment_1.default)(minValue)) : true;
|
|
284
|
+
const passesMax = maxValue ? finalStartValue.isSameOrBefore((0, moment_1.default)(maxValue)) : true;
|
|
285
|
+
const isValidInput = isValidDate && passesMin && passesMax;
|
|
286
|
+
newState.isStartValid = isValidInput;
|
|
287
|
+
if (isValidDate) {
|
|
288
|
+
newState.customRangeStartValue = finalStartValue;
|
|
289
|
+
newState.isEndValid = !customRangeEndValue.isBefore(finalStartValue);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
this.setState(newState);
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Only gets called on manual change of datePicker (user interaction)
|
|
296
|
+
* @param {object} endValue - the start date (date or moment).
|
|
297
|
+
* @param {object} isValidDate - if the date is valid or not.
|
|
298
|
+
* @returns {undefined}
|
|
299
|
+
*/
|
|
300
|
+
onEndChange(endValue, isValidDate) {
|
|
301
|
+
const newState = { isEndValid: false };
|
|
302
|
+
const { hasTimePicker, minValue, maxValue } = this.props;
|
|
303
|
+
const { customRangeStartValue } = this.state;
|
|
304
|
+
// let isValidInput = false;
|
|
305
|
+
if (moment_1.default.isMoment(endValue)) {
|
|
306
|
+
// necessary to set end of seconds and milliseconds for every end value
|
|
307
|
+
const correctedEndValue = isValidDate ? endValue.endOf('minute') : endValue;
|
|
308
|
+
// necessary to set start to startOf / end day to endOf, when selecting "without time"
|
|
309
|
+
const finalEndValue = hasTimePicker ? correctedEndValue : (0, moment_1.default)(endValue).endOf('day');
|
|
310
|
+
// check validity of input (min/max)
|
|
311
|
+
const passesMin = minValue ? finalEndValue.isSameOrAfter((0, moment_1.default)(minValue)) : true;
|
|
312
|
+
const passesMax = maxValue ? finalEndValue.isSameOrBefore((0, moment_1.default)(maxValue)) : true;
|
|
313
|
+
const isValidInput = isValidDate && passesMin && passesMax && finalEndValue.isAfter(customRangeStartValue);
|
|
314
|
+
newState.isEndValid = isValidInput;
|
|
315
|
+
if (isValidDate) {
|
|
316
|
+
newState.customRangeEndValue = finalEndValue;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
this.setState(newState);
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Callback method for DatePicker to limit selection in DatePicker.
|
|
323
|
+
* @param {object} current - Current date in the loop.
|
|
324
|
+
* @returns {undefined}
|
|
325
|
+
*/
|
|
326
|
+
getValidStartDates(current) {
|
|
327
|
+
const { minValue, maxValue } = this.props;
|
|
328
|
+
const customRangeEndValue = (0, moment_1.default)(this.state.customRangeEndValue);
|
|
329
|
+
if (current.isSame(customRangeEndValue, 'day')) {
|
|
330
|
+
return true;
|
|
331
|
+
}
|
|
332
|
+
const passesMin = minValue ? current.isSameOrAfter((0, moment_1.default)(minValue)) : true;
|
|
333
|
+
const passesMax = maxValue ? current.isSameOrBefore((0, moment_1.default)(maxValue)) : true;
|
|
334
|
+
return passesMin && passesMax;
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* Callback method for DatePicker to limit selection in DatePicker.
|
|
338
|
+
* End date has to be after start date.
|
|
339
|
+
* @param {object} current - Current date in the loop.
|
|
340
|
+
* @returns {undefined}
|
|
341
|
+
*/
|
|
342
|
+
getValidEndDates(current) {
|
|
343
|
+
const { minValue, maxValue } = this.props;
|
|
344
|
+
const customRangeStartValue = (0, moment_1.default)(this.state.customRangeStartValue);
|
|
345
|
+
if (current.isSame(customRangeStartValue, 'day')) {
|
|
346
|
+
return true;
|
|
347
|
+
}
|
|
348
|
+
const passesMin = minValue ? current.isSameOrAfter((0, moment_1.default)(minValue)) : true;
|
|
349
|
+
const passesMax = maxValue ? current.isSameOrBefore((0, moment_1.default)(maxValue)) : true;
|
|
350
|
+
const isAfterStart = current.isAfter(customRangeStartValue);
|
|
351
|
+
return passesMin && passesMax && isAfterStart;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* Gets called when "custom ..." has been selected.
|
|
355
|
+
* @returns {undefined}
|
|
356
|
+
*/
|
|
357
|
+
handleCustomToggle() {
|
|
358
|
+
this.setState(prevState => {
|
|
359
|
+
return {
|
|
360
|
+
isCustomVisible: !prevState.isCustomVisible,
|
|
361
|
+
};
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
handleCustomPresetSelect(preset) {
|
|
365
|
+
if (typeof preset.onSelect === 'function') {
|
|
366
|
+
preset.onSelect();
|
|
367
|
+
}
|
|
368
|
+
this.handleSelect(preset.startValue, preset.endValue);
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Gets called when a preset has been selected.
|
|
372
|
+
* @param {object} startValue - the start date (date or moment).
|
|
373
|
+
* @param {object} endValue - the start date (date or moment).
|
|
374
|
+
* @returns {undefined}
|
|
375
|
+
*/
|
|
376
|
+
handleSelect(startValue, endValue) {
|
|
377
|
+
const { onRangeChange, locale } = this.props;
|
|
378
|
+
const extras = { isDropdownOpen: false };
|
|
379
|
+
this.update(startValue, endValue, locale, extras, onRangeChange);
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* Gets called user clicks the apply button.
|
|
383
|
+
* @returns {undefined}
|
|
384
|
+
*/
|
|
385
|
+
handleCustomApply() {
|
|
386
|
+
const { customRangeStartValue, customRangeEndValue, isStartValid, isEndValid } = this.state;
|
|
387
|
+
const { onRangeChange, locale } = this.props;
|
|
388
|
+
if (isStartValid && isEndValid) {
|
|
389
|
+
const extras = { isDropdownOpen: false };
|
|
390
|
+
this.update(customRangeStartValue, customRangeEndValue, locale, extras, onRangeChange);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
getDropdownToggle(dropdownToggleText) {
|
|
394
|
+
const { children, clearable } = this.props;
|
|
395
|
+
const { startValueText, endValueText } = this.state;
|
|
396
|
+
const isClearable = clearable && dropdownToggleText.type !== Placeholder;
|
|
397
|
+
const labelClassNames = (0, classnames_1.default)(isClearable && 'withClearButton');
|
|
398
|
+
const isRenderCallback = children && typeof children === 'function';
|
|
399
|
+
// Note: due to issues with nested events in Firefox (for toggle and inside the clear)
|
|
400
|
+
// the toggle element must not be a <button> but a div.
|
|
401
|
+
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ type: 'button', className: 'DateRangePickerToggle form-control dropdown-toggle text-left', "aria-haspopup": 'true', "aria-expanded": 'true', onClick: this.toggleDropdownOpen, ref: node => (this.refDropdownToggle = node) }, { children: [isRenderCallback ? (this.props.children(startValueText, endValueText)) : ((0, jsx_runtime_1.jsx)("span", Object.assign({ className: labelClassNames }, { children: dropdownToggleText }))), isClearable && this.getClearButton(), (0, jsx_runtime_1.jsx)("span", { className: 'caret' })] })));
|
|
402
|
+
}
|
|
403
|
+
getClearButton() {
|
|
404
|
+
return ((0, jsx_runtime_1.jsx)("span", Object.assign({ className: 'clearButton', onClick: this.handleResetInternalState }, { children: (0, jsx_runtime_1.jsx)("span", { className: 'clearButtonIcon rioglyph rioglyph-remove-sign' }) })));
|
|
405
|
+
}
|
|
406
|
+
getCustomPanelToggle(isCustomVisible, textCustom) {
|
|
407
|
+
return ((0, jsx_runtime_1.jsx)("li", Object.assign({ className: (0, classnames_1.default)('custom-panel-toggle', isCustomVisible && 'hidden') }, { children: (0, jsx_runtime_1.jsxs)("a", Object.assign({ role: 'button', onClick: this.handleCustomToggle }, { children: [textCustom, " ..."] })) })));
|
|
408
|
+
}
|
|
409
|
+
getCustomPanelButtons(isCustomVisible, isStartValid, isEndValid, textApply, textCancel) {
|
|
410
|
+
return ((0, jsx_runtime_1.jsx)("li", Object.assign({ className: (0, classnames_1.default)('custom-panel-buttons', 'margin-20', !isCustomVisible && 'hidden') }, { children: (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'btn-toolbar' }, { children: [(0, jsx_runtime_1.jsx)("button", Object.assign({ type: 'button', disabled: !isStartValid || !isEndValid, onClick: this.handleCustomApply, className: 'btn btn-primary pull-right' }, { children: textApply })), (0, jsx_runtime_1.jsx)("button", Object.assign({ type: 'button', onClick: this.toggleDropdownOpen, className: 'btn btn-default pull-right' }, { children: textCancel }))] })) })));
|
|
411
|
+
}
|
|
412
|
+
// eslint-disable-next-line complexity
|
|
413
|
+
render() {
|
|
414
|
+
const { locale, textCustom, textApply, textCancel, textFrom, textTo, textToday, textLastWeek, textLastMonth, className, clearable, dropdownClass, dropdownMenuClass, customPresets, hasTimePicker, } = this.props;
|
|
415
|
+
const { customRangeStartValue, customRangeEndValue, isStartValid, isEndValid, isCustomVisible, isDropdownOpen, dropdownToggleText, } = this.state;
|
|
416
|
+
const pullRight = this.isAutoDropActive() ? this.state.pullRight : this.props.pullRight;
|
|
417
|
+
const dropup = this.isAutoDropActive() ? this.state.dropup : this.props.dropup;
|
|
418
|
+
if (customPresets && (0, isEqual_1.default)(customPresets, defaultProps.customPresets)) {
|
|
419
|
+
// support backward compatibility to override default drop down text values
|
|
420
|
+
customPresets[0].text = textToday;
|
|
421
|
+
customPresets[1].text = textLastWeek;
|
|
422
|
+
customPresets[2].text = textLastMonth;
|
|
423
|
+
}
|
|
424
|
+
const classes = (0, classnames_1.default)('DateRangePicker', className && className);
|
|
425
|
+
const dropDownClassNames = (0, classnames_1.default)('select', 'dropdown', dropdownClass, isDropdownOpen && 'open', dropup && 'dropup');
|
|
426
|
+
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: classes }, { children: (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: dropDownClassNames }, { children: [this.getDropdownToggle(dropdownToggleText, clearable), (0, jsx_runtime_1.jsxs)("ul", Object.assign({ className: (0, classnames_1.default)('dropdown-menu', pullRight && 'pull-right', dropdownMenuClass), ref: node => (this.refDropdownMenu = node) }, { children: [customPresets.map((preset, i) => {
|
|
427
|
+
return ((0, jsx_runtime_1.jsx)("li", Object.assign({ title: (preset.disabled && preset.disabledText) || null, className: (0, classnames_1.default)(preset.disabled && 'disabled') }, { children: (0, jsx_runtime_1.jsx)("a", Object.assign({ role: 'button', className: (0, classnames_1.default)(isCustomVisible && 'hidden'), onClick: !preset.disabled
|
|
428
|
+
? this.handleCustomPresetSelect.bind(this, preset)
|
|
429
|
+
: undefined }, { children: preset.text })) }), `preset-${i}`));
|
|
430
|
+
}), (0, jsx_runtime_1.jsx)("li", { role: 'separator', className: (0, classnames_1.default)('divider', isCustomVisible && 'hidden') }), this.getCustomPanelToggle(isCustomVisible, textCustom), (0, jsx_runtime_1.jsx)("li", Object.assign({ className: (0, classnames_1.default)('custom-panel', !isCustomVisible && 'hidden') }, { children: (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'row' }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'col-sm-6' }, { children: [(0, jsx_runtime_1.jsx)("label", { children: textFrom }), (0, jsx_runtime_1.jsx)(DatePicker_1.default, { locale: locale, open: true, autoDropDirection: false, dateFormat: true, timeFormat: hasTimePicker, initialValue: customRangeStartValue, onChange: this.onStartChange, closeOnSelect: true, isValidDate: this.getValidStartDates, className: (0, classnames_1.default)('DatePicker', !isStartValid && 'has-error') })] })), (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'col-sm-6' }, { children: [(0, jsx_runtime_1.jsx)("label", { children: textTo }), (0, jsx_runtime_1.jsx)(DatePicker_1.default, { locale: locale, open: true, autoDropDirection: false, dateFormat: true, timeFormat: hasTimePicker, initialValue: customRangeEndValue, onChange: this.onEndChange, closeOnSelect: true, isValidDate: this.getValidEndDates, className: (0, classnames_1.default)('DatePicker', !isEndValid && 'has-error') })] }))] })) })), this.getCustomPanelButtons(isCustomVisible, isStartValid, isEndValid, textApply, textCancel)] }))] })) })));
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
exports.DateRangePickerPure = DateRangePicker;
|
|
434
|
+
DateRangePicker.propTypes = propTypes;
|
|
435
|
+
DateRangePicker.defaultProps = defaultProps;
|
|
436
|
+
exports.default = (0, react_onclickoutside_1.default)(DateRangePicker);
|