@rio-cloud/rio-uikit 0.16.4-beta.1 → 0.16.4-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +1 -1
- 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 +1 -1
- package/AreaChart.js +1 -1
- package/AreaGradient.js +1 -1
- package/AspectRatioPlaceholder.d.ts +2 -5
- package/AspectRatioPlaceholder.js +2 -2
- package/AssetTree.js +1 -1
- package/AutoSuggest.js +1 -1
- package/Bar.js +1 -1
- package/BarChart.js +1 -1
- package/BottomSheet.d.ts +2 -5
- package/BottomSheet.js +2 -2
- package/BrowserWarning.js +1 -1
- package/Button.js +1 -1
- package/ButtonDropdown.js +1 -1
- package/CalendarStripe.js +1 -1
- package/Carousel.js +1 -1
- package/ChartNeedle.js +1 -1
- package/ChartTooltip.js +1 -1
- package/Checkbox.js +1 -1
- package/Circle.js +1 -1
- package/ClearableInput.js +1 -1
- package/ClusterLayer.js +1 -1
- package/ClusterMapMarker.js +1 -1
- package/ClusterUtils.js +1 -1
- package/Collapse.js +1 -1
- package/ColorScheme.js +1 -1
- package/Colors.js +1 -1
- package/ConfirmationDialog.js +1 -1
- package/ContentLoader.js +1 -1
- package/ContextMenu.js +1 -1
- package/ContextMenuItem.js +1 -1
- package/CustomState.js +1 -1
- package/DataTab.js +1 -1
- package/DataTabs.js +1 -1
- package/DatePicker.js +1 -1
- package/DateRangePicker.js +1 -1
- package/DeviceUtils.js +2 -2
- package/Dialog.js +1 -1
- package/DomMarker.js +1 -1
- package/DropdownSubmenu.js +1 -1
- package/EmptyState.js +1 -1
- package/ErrorState.js +1 -1
- package/EventUtils.js +1 -1
- package/ExpanderList.js +1 -1
- package/ExpanderPanel.js +1 -1
- package/Fade.js +1 -1
- package/FilePicker.js +1 -1
- package/ForbiddenState.js +1 -1
- package/GroupSelectionUtil.d.ts +2 -0
- package/GroupSelectionUtil.js +1 -1
- package/ImagePreloader.js +1 -1
- package/IncidentsLayer.js +1 -1
- package/InfoDialog.js +1 -1
- package/Legend.js +1 -1
- package/Line.js +1 -1
- package/LineChart.js +1 -1
- package/ListMenu.js +1 -1
- package/LoadMoreButton.d.ts +2 -5
- package/LoadMoreButton.js +2 -2
- package/MaintenanceState.js +1 -1
- package/Map.js +1 -1
- package/MapBoundingBoxButton.js +1 -1
- package/MapCenterMarkerButton.js +1 -1
- package/MapClusterSettings.js +1 -1
- package/MapCustomerPoiSettingsItem.js +1 -1
- package/MapLayerGroup.js +1 -1
- package/MapLayerIncidentsItem.js +1 -1
- package/MapLayerRoadRestrictionsItem.js +1 -1
- package/MapLayerSettings.js +1 -1
- package/MapLayerTrafficItem.js +1 -1
- package/MapLockMarkerButton.js +1 -1
- package/MapSettings.js +1 -1
- package/MapSettingsItem.js +1 -1
- package/MapSettingsPanel.js +1 -1
- package/MapSettingsTile.js +1 -1
- package/MapTypeSettings.js +1 -1
- package/MapWorkshopPoiSettingsItem.js +1 -1
- package/Marker.js +1 -1
- package/MarkerLayer.js +1 -1
- package/MediaDialog.js +1 -1
- package/MenuItem.js +1 -1
- package/Multiselect.js +1 -1
- package/NoData.d.ts +2 -5
- package/NoData.js +2 -2
- package/NotBookedState.js +1 -1
- package/NotFoundState.js +1 -1
- package/Notification.js +1 -1
- package/NotificationsContainer.js +1 -1
- package/NumberControl.js +1 -1
- package/NumberInput.js +1 -1
- package/OnboardingTip.js +1 -1
- package/OverlayTrigger.d.ts +2 -29
- package/OverlayTrigger.js +2 -2
- package/Pager.js +1 -1
- package/PieChart.js +1 -1
- package/Polygon.js +1 -1
- package/Polyline.js +1 -1
- package/Popover.js +1 -1
- package/Position.js +1 -1
- package/PositionUtils.js +1 -1
- package/RadialBarChart.js +1 -1
- package/RadioButton.js +1 -1
- package/RangeSlider.js +1 -1
- package/ReleaseNotes.js +1 -1
- package/ReleaseNotesDialog.js +1 -1
- package/Resizer.js +1 -1
- package/ResponsiveColumnStripe.js +1 -1
- package/ResponsiveVideo.d.ts +2 -8
- package/ResponsiveVideo.js +2 -2
- package/Route.js +1 -1
- package/RuleConnector.js +1 -1
- package/RuleContainer.js +1 -1
- package/RulesWrapper.js +1 -1
- package/SaveDialog.js +1 -1
- package/SaveableInput.d.ts +2 -0
- package/SaveableInput.js +2 -0
- package/Select.js +1 -1
- package/Sidebar.js +1 -1
- package/SimpleButtonDropdown.js +1 -1
- package/SimpleClusterLayer.js +1 -1
- package/SimpleDialog.js +1 -1
- package/SimpleTooltip.d.ts +2 -29
- package/SimpleTooltip.js +2 -2
- package/SingleButtonDropdown.js +1 -1
- package/SingleMapMarker.js +1 -1
- package/Slider.js +1 -1
- package/SortArrowDown.js +1 -1
- package/SortArrowUp.js +1 -1
- package/SortArrows.js +1 -1
- package/SortDirection.js +1 -1
- package/SortUtils.js +1 -1
- package/Spinner.js +1 -1
- package/SplitButtonDropdown.js +1 -1
- package/SplitDialog.js +1 -1
- package/StatsWidget.js +1 -1
- package/StatsWidgetNumber.js +1 -1
- package/StatsWidgetSpacer.js +1 -1
- package/StatsWidgets.js +1 -1
- package/StatusBar.js +1 -1
- package/SteppedProgressBar.js +1 -1
- package/SubNavigation.js +1 -1
- package/SupportMarker.d.ts +9 -0
- package/SupportMarker.js +5 -5
- package/Switch.js +1 -1
- package/TableCardsSorting.js +1 -1
- package/TableSearch.js +1 -1
- package/TableSettingsDialog.js +1 -1
- package/TableToolbar.js +1 -1
- package/TableViewToggles.js +1 -1
- package/Tag.js +1 -1
- package/TagList.js +1 -1
- package/TagManager.js +1 -1
- package/Teaser.js +1 -1
- package/TeaserContainer.js +1 -1
- package/TextMarker.js +1 -1
- package/TimePicker.js +1 -1
- package/ToggleButton.js +1 -1
- package/Tooltip.d.ts +2 -32
- package/Tooltip.js +2 -2
- package/TrafficLayer.js +1 -1
- package/Tree.js +1 -1
- package/TreeCategory.js +1 -1
- package/TreeOption.js +1 -1
- package/TreeSearch.js +1 -1
- package/TreeSummary.js +1 -1
- package/TruckLayer.js +1 -1
- package/TypeCounter.js +1 -1
- package/VolkswagenApplicationHeader.js +1 -1
- package/components/actionBarItem/ActionBarItem.d.ts +29 -0
- package/components/actionBarItem/ActionBarItem.js +105 -195
- package/components/actionBarItem/ActionBarItemIcon.d.ts +9 -0
- package/components/actionBarItem/ActionBarItemIcon.js +9 -17
- package/components/actionBarItem/ActionBarItemList.d.ts +9 -0
- package/components/actionBarItem/ActionBarItemList.js +9 -17
- package/components/actionBarItem/ActionBarItemListItem.d.ts +12 -0
- package/components/actionBarItem/ActionBarItemListItem.js +11 -30
- package/components/actionBarItem/ActionBarItemListSeparator.d.ts +8 -0
- package/components/actionBarItem/ActionBarItemListSeparator.js +8 -16
- package/components/actionBarItem/ActionBarItemPopoverContent.d.ts +11 -0
- package/components/actionBarItem/ActionBarItemPopoverContent.js +10 -20
- package/components/actionBarItem/ActionBarOverlay.d.ts +18 -0
- package/components/actionBarItem/ActionBarOverlay.js +15 -52
- package/components/activity/Activity.d.ts +27 -0
- package/components/activity/Activity.js +26 -53
- package/components/animatedNumber/AnimatedNumber.d.ts +13 -0
- package/components/animatedNumber/AnimatedNumber.js +17 -58
- package/components/applicationHeader/AppMenu.d.ts +11 -0
- package/components/applicationHeader/AppMenu.js +11 -56
- 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 +29 -69
- package/components/applicationHeader/ApplicationActionBar.d.ts +8 -0
- package/components/applicationHeader/ApplicationActionBar.js +11 -21
- package/components/applicationHeader/ApplicationHeader.d.ts +19 -0
- package/components/applicationHeader/ApplicationHeader.js +25 -105
- 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 +14 -52
- package/components/applicationHeader/MobileHeaderModal.d.ts +10 -0
- package/components/applicationHeader/MobileHeaderModal.js +12 -66
- package/components/applicationHeader/MobileSubmoduleNavigation.d.ts +9 -0
- package/components/applicationHeader/MobileSubmoduleNavigation.js +18 -59
- package/components/applicationHeader/NavItems.d.ts +9 -0
- package/components/applicationHeader/NavItems.js +116 -189
- package/components/applicationHeader/modulePropTypes.d.ts +6 -0
- package/components/applicationHeader/modulePropTypes.js +3 -3
- package/components/applicationLayout/ApplicationLayout.d.ts +16 -0
- package/components/applicationLayout/ApplicationLayout.js +10 -22
- package/components/applicationLayout/ApplicationLayoutBody.d.ts +15 -0
- package/components/applicationLayout/ApplicationLayoutBody.js +39 -86
- package/components/applicationLayout/ApplicationLayoutBodyBanner.d.ts +11 -0
- package/components/applicationLayout/ApplicationLayoutBodyBanner.js +10 -29
- package/components/applicationLayout/ApplicationLayoutBodyBottomBar.d.ts +15 -0
- package/components/applicationLayout/ApplicationLayoutBodyBottomBar.js +8 -26
- package/components/applicationLayout/ApplicationLayoutBodyNavigation.d.ts +8 -0
- package/components/applicationLayout/ApplicationLayoutBodyNavigation.js +8 -19
- package/components/applicationLayout/ApplicationLayoutHeader.d.ts +8 -0
- package/components/applicationLayout/ApplicationLayoutHeader.js +9 -17
- package/components/applicationLayout/ApplicationLayoutSidebar.d.ts +8 -0
- package/components/applicationLayout/ApplicationLayoutSidebar.js +8 -19
- package/components/applicationLayout/SubNavigation.d.ts +8 -0
- package/components/applicationLayout/SubNavigation.js +8 -35
- package/components/aspectRatioPlaceholder/AspectRatioPlaceholder.d.ts +8 -0
- package/components/aspectRatioPlaceholder/AspectRatioPlaceholder.js +7 -24
- package/components/assetTree/AssetTree.d.ts +3 -0
- package/components/assetTree/AssetTree.js +116 -182
- package/components/assetTree/Tree.d.ts +4 -0
- package/components/assetTree/Tree.js +372 -615
- package/components/assetTree/TreeCategory.d.ts +12 -0
- package/components/assetTree/TreeCategory.js +6 -8
- package/components/assetTree/TreeLeaf.d.ts +3 -0
- package/components/assetTree/TreeLeaf.js +12 -42
- package/components/assetTree/TreeLeafList.d.ts +14 -0
- package/components/assetTree/TreeLeafList.js +19 -38
- package/components/assetTree/TreeNode.d.ts +3 -0
- package/components/assetTree/TreeNode.js +17 -49
- package/components/assetTree/TreeNodeContainer.d.ts +13 -0
- package/components/assetTree/TreeNodeContainer.js +6 -11
- package/components/assetTree/TreeNothingFound.d.ts +3 -0
- package/components/assetTree/TreeNothingFound.js +7 -9
- package/components/assetTree/TreeOption.d.ts +18 -0
- package/components/assetTree/TreeOption.js +13 -28
- package/components/assetTree/TreeOptions.d.ts +14 -0
- package/components/assetTree/TreeOptions.js +13 -25
- package/components/assetTree/TreeRoot.d.ts +12 -0
- package/components/assetTree/TreeRoot.js +6 -12
- package/components/assetTree/TreeSearch.d.ts +3 -0
- package/components/assetTree/TreeSearch.js +11 -26
- package/components/assetTree/TreeSelectAll.d.ts +27 -0
- package/components/assetTree/TreeSelectAll.js +19 -32
- package/components/assetTree/TreeSidebar.d.ts +3 -0
- package/components/assetTree/TreeSidebar.js +32 -63
- package/components/assetTree/TreeSummary.d.ts +3 -0
- package/components/assetTree/TreeSummary.js +19 -51
- package/components/assetTree/TypeCounter.d.ts +3 -0
- package/components/assetTree/TypeCounter.js +24 -44
- package/components/autosuggest/AutoSuggest.d.ts +115 -0
- package/components/autosuggest/AutoSuggest.js +273 -428
- package/components/bottomSheet/BottomSheet.d.ts +19 -0
- package/components/bottomSheet/BottomSheet.js +45 -123
- package/components/browserWarning/BrowserIcons.d.ts +2 -0
- package/components/browserWarning/BrowserIcons.js +3 -59
- package/components/browserWarning/BrowserWarning.d.ts +15 -0
- package/components/browserWarning/BrowserWarning.js +35 -58
- package/components/browserWarning/BrowserWarningMessageDE.d.ts +4 -0
- package/components/browserWarning/BrowserWarningMessageDE.js +4 -33
- package/components/browserWarning/BrowserWarningMessageEN.d.ts +4 -0
- package/components/browserWarning/BrowserWarningMessageEN.js +4 -33
- package/components/button/Button.d.ts +57 -0
- package/components/button/Button.js +68 -86
- package/components/button/ToggleButton.d.ts +30 -0
- package/components/button/ToggleButton.js +3 -7
- package/components/calendarStripe/CalendarStripe.d.ts +3 -0
- package/components/calendarStripe/CalendarStripe.js +129 -198
- package/components/carousel/Carousel.d.ts +2 -0
- package/components/carousel/Carousel.js +1 -4
- package/components/carousel/CarouselCaption.d.ts +13 -0
- package/components/carousel/CarouselCaption.js +10 -34
- package/components/carousel/CarouselItem.d.ts +36 -0
- package/components/carousel/CarouselItem.js +69 -112
- package/components/charts/Area.d.ts +13 -0
- package/components/charts/Area.js +9 -11
- package/components/charts/AreaChart.d.ts +17 -0
- package/components/charts/AreaChart.js +33 -91
- package/components/charts/AreaGradient.d.ts +11 -0
- package/components/charts/AreaGradient.js +5 -23
- package/components/charts/Bar.d.ts +10 -0
- package/components/charts/Bar.js +6 -8
- package/components/charts/BarChart.d.ts +18 -0
- package/components/charts/BarChart.js +37 -92
- package/components/charts/ChartNeedle.d.ts +12 -0
- package/components/charts/ChartNeedle.js +14 -37
- package/components/charts/ChartTooltip.d.ts +5 -0
- package/components/charts/ChartTooltip.js +2 -4
- package/components/charts/Legend.d.ts +11 -0
- package/components/charts/Legend.js +7 -9
- package/components/charts/Line.d.ts +12 -0
- package/components/charts/Line.js +8 -10
- package/components/charts/LineChart.d.ts +16 -0
- package/components/charts/LineChart.js +25 -75
- package/components/charts/PieChart.d.ts +20 -0
- package/components/charts/PieChart.js +40 -97
- package/components/charts/RadialBarChart.d.ts +20 -0
- package/components/charts/RadialBarChart.js +33 -105
- package/components/charts/chartHelper.d.ts +5 -0
- package/components/charts/chartHelper.js +16 -24
- package/components/checkbox/Checkbox.d.ts +57 -0
- package/components/checkbox/Checkbox.js +87 -148
- package/components/clearableInput/ClearableInput.d.ts +59 -0
- package/components/clearableInput/ClearableInput.js +93 -159
- package/components/collapse/Collapse.d.ts +59 -0
- package/components/collapse/Collapse.js +125 -194
- package/components/contentLoader/ContentLoader.d.ts +33 -0
- package/components/contentLoader/ContentLoader.js +35 -70
- package/components/dataTabs/DataTab.d.ts +20 -0
- package/components/dataTabs/DataTab.js +21 -47
- package/components/dataTabs/DataTabs.d.ts +56 -0
- package/components/dataTabs/DataTabs.js +70 -132
- package/components/datepicker/DatePicker.d.ts +3 -0
- package/components/datepicker/DatePicker.js +37 -58
- package/components/datepicker/DateRangePicker.d.ts +208 -0
- package/components/datepicker/DateRangePicker.js +318 -583
- package/components/dialog/ConfirmationDialog.d.ts +25 -0
- package/components/dialog/ConfirmationDialog.js +20 -46
- package/components/dialog/Dialog.d.ts +42 -0
- package/components/dialog/Dialog.js +61 -125
- package/components/dialog/DialogBody.d.ts +16 -0
- package/components/dialog/DialogBody.js +9 -14
- package/components/dialog/DialogFooter.d.ts +16 -0
- package/components/dialog/DialogFooter.js +9 -14
- package/components/dialog/DialogHeader.d.ts +18 -0
- package/components/dialog/DialogHeader.js +13 -39
- package/components/dialog/InfoDialog.d.ts +18 -0
- package/components/dialog/InfoDialog.js +7 -18
- package/components/dialog/MediaDialog.d.ts +58 -0
- package/components/dialog/MediaDialog.js +84 -193
- package/components/dialog/ReleaseNotesDialog.d.ts +20 -0
- package/components/dialog/ReleaseNotesDialog.js +25 -46
- package/components/dialog/SaveDialog.d.ts +31 -0
- package/components/dialog/SaveDialog.js +13 -53
- package/components/dialog/SimpleDialog.d.ts +21 -0
- package/components/dialog/SimpleDialog.js +8 -20
- package/components/dialog/SplitDialog.d.ts +32 -0
- package/components/dialog/SplitDialog.js +16 -40
- package/components/dialog/baseDialogPropTypes.d.ts +14 -0
- package/components/dialog/baseDialogPropTypes.js +11 -11
- package/components/driverName/DriverName.d.ts +18 -0
- package/components/driverName/DriverName.js +12 -18
- package/components/dropdown/ButtonDropdown.d.ts +66 -0
- package/components/dropdown/ButtonDropdown.js +103 -165
- package/components/dropdown/Caret.d.ts +2 -0
- package/components/dropdown/Caret.js +3 -6
- package/components/dropdown/DropdownSubmenu.d.ts +19 -0
- package/components/dropdown/DropdownSubmenu.js +14 -27
- package/components/dropdown/DropdownToggleButton.d.ts +3 -0
- package/components/dropdown/DropdownToggleButton.js +12 -27
- package/components/dropdown/SimpleButtonDropdown.d.ts +2 -0
- package/components/dropdown/SimpleButtonDropdown.js +3 -7
- package/components/dropdown/SingleButtonDropdown.d.ts +2 -0
- package/components/dropdown/SingleButtonDropdown.js +3 -4
- package/components/dropdown/SplitButtonDropdown.d.ts +2 -0
- package/components/dropdown/SplitButtonDropdown.js +3 -7
- package/components/dropdown/SplitCaretButton.d.ts +3 -0
- package/components/dropdown/SplitCaretButton.js +10 -19
- package/components/dropdown/menuItemsPropTypes.d.ts +9 -0
- package/components/dropdown/menuItemsPropTypes.js +6 -6
- package/components/expander/ExpanderList.d.ts +39 -0
- package/components/expander/ExpanderList.js +77 -137
- package/components/expander/ExpanderPanel.d.ts +51 -0
- package/components/expander/ExpanderPanel.js +62 -99
- package/components/fade/Fade.d.ts +46 -0
- package/components/fade/Fade.js +140 -235
- package/components/filepicker/FilePicker.d.ts +30 -0
- package/components/filepicker/FilePicker.js +37 -66
- package/components/listMenu/ListMenu.d.ts +44 -0
- package/components/listMenu/ListMenu.js +104 -221
- package/components/loadMore/LoadMoreButton.d.ts +14 -0
- package/components/loadMore/LoadMoreButton.js +10 -48
- package/components/loadMore/LoadMoreProgress.d.ts +12 -0
- package/components/loadMore/LoadMoreProgress.js +16 -32
- package/components/map/components/Map.d.ts +99 -0
- package/components/map/components/Map.js +267 -408
- 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 +2 -2
- package/components/map/components/features/ContextMenu.d.ts +2 -0
- package/components/map/components/features/ContextMenu.js +104 -135
- package/components/map/components/features/ContextMenuItem.d.ts +28 -0
- package/components/map/components/features/ContextMenuItem.js +22 -24
- package/components/map/components/features/MapSettings.d.ts +22 -0
- package/components/map/components/features/MapSettings.js +48 -61
- package/components/map/components/features/Route.d.ts +48 -0
- package/components/map/components/features/Route.js +78 -148
- package/components/map/components/features/basics/Circle.d.ts +21 -0
- package/components/map/components/features/basics/Circle.js +29 -45
- package/components/map/components/features/basics/MapLayerGroup.d.ts +23 -0
- package/components/map/components/features/basics/MapLayerGroup.js +36 -57
- package/components/map/components/features/basics/Polygon.d.ts +17 -0
- package/components/map/components/features/basics/Polygon.js +34 -45
- package/components/map/components/features/basics/Polyline.d.ts +20 -0
- package/components/map/components/features/basics/Polyline.js +65 -92
- package/components/map/components/features/basics/marker/DomMarker.d.ts +33 -0
- package/components/map/components/features/basics/marker/DomMarker.js +37 -65
- package/components/map/components/features/basics/marker/Marker.d.ts +21 -0
- package/components/map/components/features/basics/marker/Marker.js +97 -115
- package/components/map/components/features/basics/marker/TextMarker.d.ts +17 -0
- package/components/map/components/features/basics/marker/TextMarker.js +19 -21
- package/components/map/components/features/layers/IncidentsLayer.d.ts +2 -0
- package/components/map/components/features/layers/IncidentsLayer.js +4 -8
- package/components/map/components/features/layers/Layer.d.ts +16 -0
- package/components/map/components/features/layers/Layer.js +19 -22
- package/components/map/components/features/layers/MarkerLayer.d.ts +14 -0
- package/components/map/components/features/layers/MarkerLayer.js +14 -28
- package/components/map/components/features/layers/RoadRestrictionLayer.d.ts +2 -0
- package/components/map/components/features/layers/RoadRestrictionLayer.js +14 -20
- package/components/map/components/features/layers/TrafficLayer.d.ts +2 -0
- package/components/map/components/features/layers/TrafficLayer.js +22 -28
- package/components/map/components/features/layers/baselayers/DefaultRasterLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +13 -16
- package/components/map/components/features/layers/baselayers/DefaultVectorLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +11 -12
- package/components/map/components/features/layers/baselayers/FleetStyleLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/FleetStyleLayer.js +12 -13
- package/components/map/components/features/layers/baselayers/NightLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/NightLayer.js +10 -13
- package/components/map/components/features/layers/baselayers/SatelliteLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/SatelliteLayer.js +12 -13
- package/components/map/components/features/layers/baselayers/TerrainLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/TerrainLayer.js +12 -13
- package/components/map/components/features/layers/baselayers/useBaseLayer.d.ts +2 -0
- package/components/map/components/features/layers/baselayers/useBaseLayer.js +32 -49
- package/components/map/components/features/layers/clustering/ClusterLayer.d.ts +29 -0
- package/components/map/components/features/layers/clustering/ClusterLayer.js +57 -78
- package/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +10 -0
- package/components/map/components/features/layers/clustering/SimpleClusterLayer.js +8 -14
- package/components/map/components/features/settings/MapSettingsItem.d.ts +20 -0
- package/components/map/components/features/settings/MapSettingsItem.js +21 -25
- package/components/map/components/features/settings/MapSettingsPanel.d.ts +12 -0
- package/components/map/components/features/settings/MapSettingsPanel.js +11 -26
- package/components/map/components/features/settings/MapSettingsTile.d.ts +20 -0
- package/components/map/components/features/settings/MapSettingsTile.js +42 -72
- package/components/map/components/features/settings/ZoomButtons.d.ts +12 -0
- package/components/map/components/features/settings/ZoomButtons.js +7 -28
- package/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +19 -0
- package/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +17 -57
- package/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +22 -0
- package/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +19 -38
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +17 -0
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +36 -116
- package/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +14 -0
- package/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +9 -24
- package/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +14 -0
- package/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +9 -24
- package/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +14 -0
- package/components/map/components/features/settings/buttons/MapLockMarkerButton.js +9 -24
- package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +16 -0
- package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +11 -30
- package/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +19 -0
- package/components/map/components/features/settings/items/MapLayerIncidentsItem.js +16 -30
- package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +19 -0
- package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +16 -30
- package/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +19 -0
- package/components/map/components/features/settings/items/MapLayerTrafficItem.js +16 -30
- package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +16 -0
- package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +11 -30
- package/components/map/components/mapUtils.d.ts +50 -0
- package/components/map/components/mapUtils.js +138 -183
- package/components/map/exceptions/MapException.d.ts +8 -0
- package/components/map/exceptions/MapException.js +4 -4
- package/components/map/herePolyfill.d.ts +0 -0
- package/components/map/herePolyfill.js +5 -4
- package/components/map/icons/MapIcon.d.ts +40 -0
- package/components/map/icons/MapIcon.js +79 -499
- package/components/map/utils/clustering.d.ts +9 -0
- package/components/map/utils/clustering.js +51 -56
- package/components/map/utils/eventHandling.d.ts +47 -0
- package/components/map/utils/eventHandling.js +105 -134
- package/components/map/utils/hooks.d.ts +2 -0
- package/components/map/utils/hooks.js +18 -19
- package/components/map/utils/localization.d.ts +2 -0
- package/components/map/utils/localization.js +399 -398
- package/components/map/utils/positions.d.ts +10 -0
- package/components/map/utils/positions.js +40 -41
- package/components/map/utils/proptypes.d.ts +47 -0
- package/components/map/utils/proptypes.js +42 -42
- package/components/map/utils/validation.d.ts +2 -0
- package/components/map/utils/validation.js +5 -7
- package/components/mapMarker/ClusterMapMarker.d.ts +26 -0
- package/components/mapMarker/ClusterMapMarker.js +38 -56
- package/components/mapMarker/SingleMapMarker.d.ts +29 -0
- package/components/mapMarker/SingleMapMarker.js +48 -78
- package/components/menuItems/MenuItem.d.ts +25 -0
- package/components/menuItems/MenuItem.js +37 -55
- package/components/menuItems/MenuItems.d.ts +3 -0
- package/components/menuItems/MenuItems.js +7 -15
- package/components/menuItems/getMenuItems.d.ts +2 -0
- package/components/menuItems/getMenuItems.js +4 -12
- package/components/navigation/AppNavigationBar.d.ts +3 -0
- package/components/navigation/AppNavigationBar.js +13 -31
- package/components/noData/NoData.d.ts +12 -0
- package/components/noData/NoData.js +13 -44
- package/components/notification/Notification.d.ts +1 -0
- package/components/notification/Notification.js +1 -3
- package/components/notification/NotificationsContainer.d.ts +14 -0
- package/components/notification/NotificationsContainer.js +7 -9
- package/components/numberControl/NumberControl.d.ts +3 -0
- package/components/numberControl/NumberControl.js +118 -191
- package/components/numberInput/NumberInput.d.ts +10 -0
- package/components/numberInput/NumberInput.js +111 -164
- package/components/onboarding/OnboardingTip.d.ts +63 -0
- package/components/onboarding/OnboardingTip.js +74 -91
- package/components/overlay/OverlayTrigger.d.ts +37 -0
- package/components/overlay/OverlayTrigger.js +31 -49
- package/components/pager/Pager.d.ts +25 -0
- package/components/pager/Pager.js +33 -76
- package/components/popover/Popover.d.ts +3 -0
- package/components/popover/Popover.js +11 -24
- package/components/position/Position.d.ts +10 -0
- package/components/position/Position.js +20 -22
- package/components/preloader/ImagePreloader.d.ts +22 -0
- package/components/preloader/ImagePreloader.js +41 -58
- package/components/radiobutton/RadioButton.d.ts +45 -0
- package/components/radiobutton/RadioButton.js +74 -128
- package/components/releaseNotes/ReleaseNotes.d.ts +9 -0
- package/components/releaseNotes/ReleaseNotes.js +15 -45
- package/components/resizer/Resizer.d.ts +65 -0
- package/components/resizer/Resizer.js +100 -150
- package/components/responsiveColumnStripe/ResponsiveColumnStripe.d.ts +3 -0
- package/components/responsiveColumnStripe/ResponsiveColumnStripe.js +149 -239
- package/components/rules/RuleConnector.d.ts +39 -0
- package/components/rules/RuleConnector.js +33 -65
- package/components/rules/RuleContainer.d.ts +28 -0
- package/components/rules/RuleContainer.js +30 -61
- package/components/rules/RulesWrapper.d.ts +8 -0
- package/components/rules/RulesWrapper.js +6 -13
- package/components/saveableInput/SaveableInput.d.ts +14 -0
- package/components/saveableInput/SaveableInput.js +90 -0
- package/components/selects/BaseDropdownMenu.d.ts +83 -0
- package/components/selects/BaseDropdownMenu.js +225 -347
- package/components/selects/DropdownHeader.d.ts +14 -0
- package/components/selects/DropdownHeader.js +9 -16
- package/components/selects/Multiselect.d.ts +98 -0
- package/components/selects/Multiselect.js +279 -453
- package/components/selects/Select.d.ts +97 -0
- package/components/selects/Select.js +244 -410
- package/components/sidebars/Sidebar.d.ts +112 -0
- package/components/sidebars/Sidebar.js +184 -333
- package/components/slider/RangeSlider.d.ts +33 -0
- package/components/slider/RangeSlider.js +113 -205
- package/components/slider/Slider.d.ts +38 -0
- package/components/slider/Slider.js +48 -88
- package/components/spinner/Spinner.d.ts +28 -0
- package/components/spinner/Spinner.js +32 -53
- package/components/states/CustomState.d.ts +15 -0
- package/components/states/CustomState.js +46 -106
- package/components/states/EmptyState.d.ts +9 -0
- package/components/states/EmptyState.js +4 -5
- package/components/states/ErrorState.d.ts +9 -0
- package/components/states/ErrorState.js +4 -5
- package/components/states/ForbiddenState.d.ts +9 -0
- package/components/states/ForbiddenState.js +4 -5
- package/components/states/MaintenanceState.d.ts +9 -0
- package/components/states/MaintenanceState.js +4 -5
- package/components/states/NotBookedState.d.ts +20 -0
- package/components/states/NotBookedState.js +18 -31
- package/components/states/NotFoundState.d.ts +9 -0
- package/components/states/NotFoundState.js +4 -5
- package/components/states/baseStatePropTypes.d.ts +26 -0
- package/components/states/baseStatePropTypes.js +25 -25
- package/components/statsWidget/StatsWidget.d.ts +22 -0
- package/components/statsWidget/StatsWidget.js +13 -25
- package/components/statsWidget/StatsWidgetBody.d.ts +13 -0
- package/components/statsWidget/StatsWidgetBody.js +10 -20
- package/components/statsWidget/StatsWidgetFooter.d.ts +2 -0
- package/components/statsWidget/StatsWidgetFooter.js +7 -12
- package/components/statsWidget/StatsWidgetHeader.d.ts +2 -0
- package/components/statsWidget/StatsWidgetHeader.js +7 -12
- package/components/statsWidget/StatsWidgetNumber.d.ts +21 -0
- package/components/statsWidget/StatsWidgetNumber.js +16 -32
- package/components/statsWidget/StatsWidgetSpacer.d.ts +2 -0
- package/components/statsWidget/StatsWidgetSpacer.js +7 -11
- package/components/statsWidget/StatsWidgets.d.ts +8 -0
- package/components/statsWidget/StatsWidgets.js +8 -13
- package/components/statusBar/StatusBar.d.ts +55 -0
- package/components/statusBar/StatusBar.js +120 -200
- package/components/steppedProgressBar/SteppedProgressBar.d.ts +35 -0
- package/components/steppedProgressBar/SteppedProgressBar.js +52 -71
- package/components/supportMarker/toggleSupportMarker.d.ts +3 -0
- package/components/supportMarker/toggleSupportMarker.js +24 -22
- package/components/switch/Switch.d.ts +29 -0
- package/components/switch/Switch.js +31 -67
- package/components/table/SortArrows.d.ts +5 -0
- package/components/table/SortArrows.js +4 -16
- package/components/table/TableCardsSorting.d.ts +37 -0
- package/components/table/TableCardsSorting.js +46 -93
- package/components/table/TableSearch.d.ts +9 -0
- package/components/table/TableSearch.js +7 -12
- package/components/table/TableSettingsColumnButtons.d.ts +28 -0
- package/components/table/TableSettingsColumnButtons.js +31 -60
- package/components/table/TableSettingsColumnDetails.d.ts +19 -0
- package/components/table/TableSettingsColumnDetails.js +23 -66
- package/components/table/TableSettingsDialog.d.ts +107 -0
- package/components/table/TableSettingsDialog.js +300 -493
- package/components/table/TableSettingsDialogFooter.d.ts +43 -0
- package/components/table/TableSettingsDialogFooter.js +30 -81
- package/components/table/TableSettingsListContainer.d.ts +9 -0
- package/components/table/TableSettingsListContainer.js +20 -45
- package/components/table/TableSettingsListItem.d.ts +27 -0
- package/components/table/TableSettingsListItem.js +48 -109
- package/components/table/TableToolbar.d.ts +12 -0
- package/components/table/TableToolbar.js +6 -9
- package/components/table/TableViewToggles.d.ts +30 -0
- package/components/table/TableViewToggles.js +69 -95
- package/components/table/tableSettingsPropTypes.d.ts +8 -0
- package/components/table/tableSettingsPropTypes.js +5 -5
- package/components/tag/Tag.d.ts +37 -0
- package/components/tag/Tag.js +27 -44
- package/components/tag/TagList.d.ts +17 -0
- package/components/tag/TagList.js +13 -22
- package/components/tagManager/CustomSuggestionItem.d.ts +13 -0
- package/components/tagManager/CustomSuggestionItem.js +8 -15
- package/components/tagManager/TagManager.d.ts +27 -0
- package/components/tagManager/TagManager.js +115 -174
- package/components/tagManager/TagManagerItemList.d.ts +14 -0
- package/components/tagManager/TagManagerItemList.js +14 -24
- package/components/teaser/Teaser.d.ts +51 -0
- package/components/teaser/Teaser.js +109 -182
- package/components/teaser/TeaserContainer.d.ts +13 -0
- package/components/teaser/TeaserContainer.js +37 -39
- package/components/timepicker/TimePicker.d.ts +27 -0
- package/components/timepicker/TimePicker.js +74 -119
- package/components/tooltip/SimpleTooltip.d.ts +21 -0
- package/components/tooltip/SimpleTooltip.js +14 -38
- package/components/tooltip/Tooltip.d.ts +32 -0
- package/components/tooltip/Tooltip.js +30 -80
- package/components/video/ResponsiveVideo.d.ts +13 -0
- package/components/video/ResponsiveVideo.js +7 -24
- package/framer-motion.js +1 -1
- package/hooks/useAfterMount.d.ts +1 -0
- package/hooks/useAfterMount.js +8 -8
- package/hooks/useClickOutside.d.ts +1 -0
- package/hooks/useClickOutside.js +15 -21
- package/hooks/useClipboard.d.ts +8 -0
- package/hooks/useClipboard.js +27 -48
- package/hooks/useDarkMode.d.ts +2 -0
- package/hooks/useDarkMode.js +20 -25
- package/hooks/useDebugInfo.d.ts +6 -0
- package/hooks/useDebugInfo.js +32 -35
- package/hooks/useEffectOnce.d.ts +1 -0
- package/hooks/useEffectOnce.js +2 -2
- package/hooks/useElementSize.d.ts +1 -0
- package/hooks/useElementSize.js +18 -37
- package/hooks/useEsc.d.ts +1 -0
- package/hooks/useEsc.js +2 -4
- package/hooks/useEvent.d.ts +1 -0
- package/hooks/useEvent.js +6 -10
- package/hooks/useFullscreen.d.ts +8 -0
- package/hooks/useFullscreen.js +101 -157
- package/hooks/useInterval.d.ts +1 -0
- package/hooks/useInterval.js +14 -20
- package/hooks/useKey.d.ts +1 -0
- package/hooks/useKey.js +8 -14
- package/hooks/useMutationObserver.d.ts +6 -0
- package/hooks/useMutationObserver.js +18 -35
- package/hooks/useOnMount.d.ts +1 -0
- package/hooks/useOnMount.js +8 -8
- package/hooks/useOnScreen.d.ts +3 -0
- package/hooks/useOnScreen.js +17 -28
- package/hooks/useOnlineStatus.d.ts +1 -0
- package/hooks/useOnlineStatus.js +5 -13
- package/hooks/usePrevious.d.ts +1 -0
- package/hooks/usePrevious.js +11 -16
- package/hooks/useRenderCount.d.ts +1 -0
- package/hooks/useRenderCount.js +6 -6
- package/hooks/useResizeObserver.d.ts +3 -0
- package/hooks/useResizeObserver.js +18 -35
- package/hooks/useScrollPosition.d.ts +2 -0
- package/hooks/useScrollPosition.js +53 -65
- package/hooks/useStateWithValidation.d.ts +1 -0
- package/hooks/useStateWithValidation.js +9 -18
- package/hooks/useStorage.d.ts +2 -0
- package/hooks/useStorage.js +23 -27
- package/hooks/useTimeout.d.ts +1 -0
- package/hooks/useTimeout.js +14 -20
- package/hooks/useWindowResize.d.ts +2 -0
- package/hooks/useWindowResize.js +9 -10
- package/index.d.ts +261 -275
- package/index.js +30 -22
- package/lib/es/ActionBarItem.d.ts +2 -21
- package/lib/es/ActionBarItem.js +6 -12
- package/lib/es/ActionBarItemList.d.ts +2 -5
- package/lib/es/ActionBarItemList.js +6 -12
- package/lib/es/ActionBarItemListItem.d.ts +2 -5
- package/lib/es/ActionBarItemListItem.js +6 -12
- package/lib/es/ActionBarItemListSeparator.d.ts +2 -5
- package/lib/es/ActionBarItemListSeparator.js +6 -12
- package/lib/es/Activity.d.ts +2 -11
- package/lib/es/Activity.js +6 -12
- package/lib/es/AnimatedNumber.d.ts +2 -5
- package/lib/es/AnimatedNumber.js +6 -12
- package/lib/es/AppNavigationBar.js +5 -12
- package/lib/es/ApplicationHeader.d.ts +2 -5
- package/lib/es/ApplicationHeader.js +6 -12
- package/lib/es/ApplicationLayout.d.ts +2 -15
- package/lib/es/ApplicationLayout.js +6 -12
- package/lib/es/ApplicationLayoutBodyBanner.d.ts +2 -5
- package/lib/es/ApplicationLayoutBodyBanner.js +6 -12
- package/lib/es/ApplicationLayoutBodyBottomBar.d.ts +2 -5
- package/lib/es/ApplicationLayoutBodyBottomBar.js +6 -12
- package/lib/es/ApplicationLayoutBodyNavigation.d.ts +2 -5
- package/lib/es/ApplicationLayoutBodyNavigation.js +6 -12
- package/lib/es/Area.js +5 -12
- package/lib/es/AreaChart.js +5 -12
- package/lib/es/AreaGradient.js +5 -12
- package/lib/es/AspectRatioPlaceholder.d.ts +2 -5
- package/lib/es/AspectRatioPlaceholder.js +6 -12
- package/lib/es/AssetTree.js +5 -12
- package/lib/es/AutoSuggest.js +5 -12
- package/lib/es/Bar.js +5 -12
- package/lib/es/BarChart.js +5 -12
- package/lib/es/BottomSheet.d.ts +2 -5
- package/lib/es/BottomSheet.js +6 -12
- package/lib/es/BrowserWarning.js +5 -12
- package/lib/es/Button.js +5 -12
- package/lib/es/ButtonDropdown.js +5 -12
- package/lib/es/CalendarStripe.js +5 -12
- package/lib/es/Carousel.js +5 -12
- package/lib/es/ChartNeedle.js +5 -12
- package/lib/es/ChartTooltip.js +5 -12
- package/lib/es/Checkbox.js +5 -12
- package/lib/es/Circle.js +5 -12
- package/lib/es/ClearableInput.js +5 -12
- package/lib/es/ClusterLayer.js +5 -12
- package/lib/es/ClusterMapMarker.js +5 -12
- package/lib/es/ClusterUtils.js +4 -11
- package/lib/es/Collapse.js +5 -12
- package/lib/es/ColorScheme.js +5 -17
- package/lib/es/Colors.js +5 -12
- package/lib/es/ConfirmationDialog.js +5 -12
- package/lib/es/ContentLoader.js +5 -12
- package/lib/es/ContextMenu.js +5 -12
- package/lib/es/ContextMenuItem.js +5 -12
- package/lib/es/CustomState.js +5 -12
- package/lib/es/DataTab.js +5 -12
- package/lib/es/DataTabs.js +5 -12
- package/lib/es/DatePicker.js +5 -12
- package/lib/es/DateRangePicker.js +5 -12
- package/lib/es/DeviceUtils.js +14 -71
- package/lib/es/Dialog.js +5 -12
- package/lib/es/DomMarker.js +5 -12
- package/lib/es/DropdownSubmenu.js +5 -12
- package/lib/es/EmptyState.js +5 -12
- package/lib/es/ErrorState.js +5 -12
- package/lib/es/EventUtils.js +4 -11
- package/lib/es/ExpanderList.js +5 -12
- package/lib/es/ExpanderPanel.js +5 -12
- package/lib/es/Fade.js +5 -12
- package/lib/es/FilePicker.js +5 -12
- package/lib/es/ForbiddenState.js +5 -12
- package/lib/es/GroupSelectionUtil.d.ts +2 -0
- package/lib/es/GroupSelectionUtil.js +4 -11
- package/lib/es/ImagePreloader.js +5 -12
- package/lib/es/IncidentsLayer.js +5 -12
- package/lib/es/InfoDialog.js +5 -12
- package/lib/es/Legend.js +5 -12
- package/lib/es/Line.js +5 -12
- package/lib/es/LineChart.js +5 -12
- package/lib/es/ListMenu.js +5 -12
- package/lib/es/LoadMoreButton.d.ts +2 -5
- package/lib/es/LoadMoreButton.js +6 -12
- package/lib/es/MaintenanceState.js +5 -12
- package/lib/es/Map.js +5 -12
- package/lib/es/MapBoundingBoxButton.js +5 -12
- package/lib/es/MapCenterMarkerButton.js +5 -12
- package/lib/es/MapClusterSettings.js +5 -12
- package/lib/es/MapCustomerPoiSettingsItem.js +5 -12
- package/lib/es/MapLayerGroup.js +5 -12
- package/lib/es/MapLayerIncidentsItem.js +5 -12
- package/lib/es/MapLayerRoadRestrictionsItem.js +5 -12
- package/lib/es/MapLayerSettings.js +5 -12
- package/lib/es/MapLayerTrafficItem.js +5 -12
- package/lib/es/MapLockMarkerButton.js +5 -12
- package/lib/es/MapSettings.js +5 -12
- package/lib/es/MapSettingsItem.js +5 -12
- package/lib/es/MapSettingsPanel.js +5 -12
- package/lib/es/MapSettingsTile.js +5 -12
- package/lib/es/MapTypeSettings.js +5 -12
- package/lib/es/MapWorkshopPoiSettingsItem.js +5 -12
- package/lib/es/Marker.js +5 -12
- package/lib/es/MarkerLayer.js +5 -12
- package/lib/es/MediaDialog.js +5 -12
- package/lib/es/MenuItem.js +5 -12
- package/lib/es/Multiselect.js +5 -12
- package/lib/es/NoData.d.ts +2 -5
- package/lib/es/NoData.js +6 -12
- package/lib/es/NotBookedState.js +5 -12
- package/lib/es/NotFoundState.js +5 -12
- package/lib/es/Notification.js +5 -12
- package/lib/es/NotificationsContainer.js +5 -12
- package/lib/es/NumberControl.js +5 -12
- package/lib/es/NumberInput.js +5 -12
- package/lib/es/OnboardingTip.js +5 -12
- package/lib/es/OverlayTrigger.d.ts +2 -29
- package/lib/es/OverlayTrigger.js +6 -12
- package/lib/es/Pager.js +5 -12
- package/lib/es/PieChart.js +5 -12
- package/lib/es/Polygon.js +5 -12
- package/lib/es/Polyline.js +5 -12
- package/lib/es/Popover.js +5 -12
- package/lib/es/Position.js +5 -12
- package/lib/es/PositionUtils.js +4 -11
- package/lib/es/RadialBarChart.js +5 -12
- package/lib/es/RadioButton.js +5 -12
- package/lib/es/RangeSlider.js +5 -12
- package/lib/es/ReleaseNotes.js +5 -12
- package/lib/es/ReleaseNotesDialog.js +5 -12
- package/lib/es/Resizer.js +5 -12
- package/lib/es/ResponsiveColumnStripe.js +5 -12
- package/lib/es/ResponsiveVideo.d.ts +2 -8
- package/lib/es/ResponsiveVideo.js +6 -12
- package/lib/es/Route.js +5 -12
- package/lib/es/RuleConnector.js +5 -12
- package/lib/es/RuleContainer.js +5 -12
- package/lib/es/RulesWrapper.js +5 -12
- package/lib/es/SaveDialog.js +5 -12
- package/lib/es/SaveableInput.d.ts +2 -0
- package/lib/es/SaveableInput.js +7 -0
- package/lib/es/Select.js +5 -12
- package/lib/es/Sidebar.js +5 -12
- package/lib/es/SimpleButtonDropdown.js +5 -12
- package/lib/es/SimpleClusterLayer.js +5 -12
- package/lib/es/SimpleDialog.js +5 -12
- package/lib/es/SimpleTooltip.d.ts +2 -29
- package/lib/es/SimpleTooltip.js +6 -12
- package/lib/es/SingleButtonDropdown.js +5 -12
- package/lib/es/SingleMapMarker.js +5 -12
- package/lib/es/Slider.js +5 -12
- package/lib/es/SortArrowDown.js +4 -11
- package/lib/es/SortArrowUp.js +4 -11
- package/lib/es/SortArrows.js +4 -11
- package/lib/es/SortDirection.js +4 -11
- package/lib/es/SortUtils.js +5 -17
- package/lib/es/Spinner.js +5 -12
- package/lib/es/SplitButtonDropdown.js +5 -12
- package/lib/es/SplitDialog.js +5 -12
- package/lib/es/StatsWidget.js +5 -12
- package/lib/es/StatsWidgetNumber.js +5 -12
- package/lib/es/StatsWidgetSpacer.js +5 -12
- package/lib/es/StatsWidgets.js +5 -12
- package/lib/es/StatusBar.js +5 -12
- package/lib/es/SteppedProgressBar.js +5 -12
- package/lib/es/SubNavigation.js +5 -12
- package/lib/es/SupportMarker.d.ts +9 -0
- package/lib/es/SupportMarker.js +6 -11
- package/lib/es/Switch.js +5 -12
- package/lib/es/TableCardsSorting.js +5 -12
- package/lib/es/TableSearch.js +5 -12
- package/lib/es/TableSettingsDialog.js +5 -12
- package/lib/es/TableToolbar.js +5 -12
- package/lib/es/TableViewToggles.js +5 -12
- package/lib/es/Tag.js +5 -12
- package/lib/es/TagList.js +5 -12
- package/lib/es/TagManager.js +5 -12
- package/lib/es/Teaser.js +5 -12
- package/lib/es/TeaserContainer.js +5 -12
- package/lib/es/TextMarker.js +5 -12
- package/lib/es/TimePicker.js +5 -12
- package/lib/es/ToggleButton.js +5 -12
- package/lib/es/Tooltip.d.ts +2 -32
- package/lib/es/Tooltip.js +6 -12
- package/lib/es/TrafficLayer.js +5 -12
- package/lib/es/Tree.js +5 -12
- package/lib/es/TreeCategory.js +5 -12
- package/lib/es/TreeOption.js +5 -12
- package/lib/es/TreeSearch.js +5 -12
- package/lib/es/TreeSummary.js +5 -12
- package/lib/es/TruckLayer.js +5 -12
- package/lib/es/TypeCounter.js +5 -12
- package/lib/es/VolkswagenApplicationHeader.js +5 -12
- package/lib/es/components/actionBarItem/ActionBarItem.d.ts +29 -0
- package/lib/es/components/actionBarItem/ActionBarItem.js +116 -216
- package/lib/es/components/actionBarItem/ActionBarItemIcon.d.ts +9 -0
- package/lib/es/components/actionBarItem/ActionBarItemIcon.js +11 -26
- package/lib/es/components/actionBarItem/ActionBarItemList.d.ts +9 -0
- package/lib/es/components/actionBarItem/ActionBarItemList.js +11 -26
- package/lib/es/components/actionBarItem/ActionBarItemListItem.d.ts +12 -0
- package/lib/es/components/actionBarItem/ActionBarItemListItem.js +13 -39
- package/lib/es/components/actionBarItem/ActionBarItemListSeparator.d.ts +8 -0
- package/lib/es/components/actionBarItem/ActionBarItemListSeparator.js +10 -25
- package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.d.ts +11 -0
- package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.js +13 -30
- package/lib/es/components/actionBarItem/ActionBarOverlay.d.ts +18 -0
- package/lib/es/components/actionBarItem/ActionBarOverlay.js +18 -62
- package/lib/es/components/activity/Activity.d.ts +27 -0
- package/lib/es/components/activity/Activity.js +28 -64
- package/lib/es/components/animatedNumber/AnimatedNumber.d.ts +13 -0
- package/lib/es/components/animatedNumber/AnimatedNumber.js +20 -70
- package/lib/es/components/applicationHeader/AppMenu.d.ts +11 -0
- package/lib/es/components/applicationHeader/AppMenu.js +14 -65
- 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 +36 -83
- package/lib/es/components/applicationHeader/ApplicationActionBar.d.ts +8 -0
- package/lib/es/components/applicationHeader/ApplicationActionBar.js +11 -27
- package/lib/es/components/applicationHeader/ApplicationHeader.d.ts +19 -0
- package/lib/es/components/applicationHeader/ApplicationHeader.js +33 -122
- 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 +18 -64
- package/lib/es/components/applicationHeader/MobileHeaderModal.d.ts +10 -0
- package/lib/es/components/applicationHeader/MobileHeaderModal.js +19 -78
- package/lib/es/components/applicationHeader/MobileSubmoduleNavigation.d.ts +9 -0
- package/lib/es/components/applicationHeader/MobileSubmoduleNavigation.js +23 -72
- package/lib/es/components/applicationHeader/NavItems.d.ts +9 -0
- package/lib/es/components/applicationHeader/NavItems.js +123 -203
- package/lib/es/components/applicationHeader/modulePropTypes.d.ts +6 -0
- package/lib/es/components/applicationHeader/modulePropTypes.js +6 -11
- package/lib/es/components/applicationLayout/ApplicationLayout.d.ts +16 -0
- package/lib/es/components/applicationLayout/ApplicationLayout.js +20 -40
- package/lib/es/components/applicationLayout/ApplicationLayoutBody.d.ts +15 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutBody.js +42 -99
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.d.ts +11 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.js +12 -41
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyBottomBar.d.ts +15 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyBottomBar.js +10 -38
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.d.ts +8 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.js +10 -31
- package/lib/es/components/applicationLayout/ApplicationLayoutHeader.d.ts +8 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutHeader.js +12 -30
- package/lib/es/components/applicationLayout/ApplicationLayoutSidebar.d.ts +8 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutSidebar.js +10 -31
- package/lib/es/components/applicationLayout/SubNavigation.d.ts +8 -0
- package/lib/es/components/applicationLayout/SubNavigation.js +10 -47
- package/lib/es/components/aspectRatioPlaceholder/AspectRatioPlaceholder.d.ts +8 -0
- package/lib/es/components/aspectRatioPlaceholder/AspectRatioPlaceholder.js +8 -31
- package/lib/es/components/assetTree/AssetTree.d.ts +3 -0
- package/lib/es/components/assetTree/AssetTree.js +125 -200
- package/lib/es/components/assetTree/Tree.d.ts +4 -0
- package/lib/es/components/assetTree/Tree.js +408 -658
- package/lib/es/components/assetTree/TreeCategory.d.ts +12 -0
- package/lib/es/components/assetTree/TreeCategory.js +9 -16
- package/lib/es/components/assetTree/TreeLeaf.d.ts +3 -0
- package/lib/es/components/assetTree/TreeLeaf.js +20 -55
- package/lib/es/components/assetTree/TreeLeafList.d.ts +14 -0
- package/lib/es/components/assetTree/TreeLeafList.js +26 -50
- package/lib/es/components/assetTree/TreeNode.d.ts +3 -0
- package/lib/es/components/assetTree/TreeNode.js +23 -60
- package/lib/es/components/assetTree/TreeNodeContainer.d.ts +13 -0
- package/lib/es/components/assetTree/TreeNodeContainer.js +11 -21
- package/lib/es/components/assetTree/TreeNothingFound.d.ts +3 -0
- package/lib/es/components/assetTree/TreeNothingFound.js +11 -18
- package/lib/es/components/assetTree/TreeOption.d.ts +18 -0
- package/lib/es/components/assetTree/TreeOption.js +18 -39
- package/lib/es/components/assetTree/TreeOptions.d.ts +14 -0
- package/lib/es/components/assetTree/TreeOptions.js +20 -37
- package/lib/es/components/assetTree/TreeRoot.d.ts +12 -0
- package/lib/es/components/assetTree/TreeRoot.js +11 -22
- package/lib/es/components/assetTree/TreeSearch.d.ts +3 -0
- package/lib/es/components/assetTree/TreeSearch.js +17 -37
- package/lib/es/components/assetTree/TreeSelectAll.d.ts +27 -0
- package/lib/es/components/assetTree/TreeSelectAll.js +24 -42
- package/lib/es/components/assetTree/TreeSidebar.d.ts +3 -0
- package/lib/es/components/assetTree/TreeSidebar.js +38 -75
- package/lib/es/components/assetTree/TreeSummary.d.ts +3 -0
- package/lib/es/components/assetTree/TreeSummary.js +25 -62
- package/lib/es/components/assetTree/TypeCounter.d.ts +3 -0
- package/lib/es/components/assetTree/TypeCounter.js +28 -57
- package/lib/es/components/autosuggest/AutoSuggest.d.ts +115 -0
- package/lib/es/components/autosuggest/AutoSuggest.js +289 -452
- package/lib/es/components/bottomSheet/BottomSheet.d.ts +19 -0
- package/lib/es/components/bottomSheet/BottomSheet.js +50 -137
- package/lib/es/components/browserWarning/BrowserIcons.d.ts +2 -0
- package/lib/es/components/browserWarning/BrowserIcons.js +7 -67
- package/lib/es/components/browserWarning/BrowserWarning.d.ts +15 -0
- package/lib/es/components/browserWarning/BrowserWarning.js +42 -73
- package/lib/es/components/browserWarning/BrowserWarningMessageDE.d.ts +4 -0
- package/lib/es/components/browserWarning/BrowserWarningMessageDE.js +8 -42
- package/lib/es/components/browserWarning/BrowserWarningMessageEN.d.ts +4 -0
- package/lib/es/components/browserWarning/BrowserWarningMessageEN.js +8 -42
- package/lib/es/components/button/Button.d.ts +57 -0
- package/lib/es/components/button/Button.js +73 -100
- package/lib/es/components/button/ToggleButton.d.ts +30 -0
- package/lib/es/components/button/ToggleButton.js +9 -18
- package/lib/es/components/calendarStripe/CalendarStripe.d.ts +3 -0
- package/lib/es/components/calendarStripe/CalendarStripe.js +138 -215
- package/lib/es/components/carousel/Carousel.d.ts +2 -0
- package/lib/es/components/carousel/Carousel.js +12 -13
- package/lib/es/components/carousel/CarouselCaption.d.ts +13 -0
- package/lib/es/components/carousel/CarouselCaption.js +14 -42
- package/lib/es/components/carousel/CarouselItem.d.ts +36 -0
- package/lib/es/components/carousel/CarouselItem.js +76 -123
- package/lib/es/components/charts/Area.d.ts +13 -0
- package/lib/es/components/charts/Area.js +10 -17
- package/lib/es/components/charts/AreaChart.d.ts +17 -0
- package/lib/es/components/charts/AreaChart.js +38 -102
- package/lib/es/components/charts/AreaGradient.d.ts +11 -0
- package/lib/es/components/charts/AreaGradient.js +9 -32
- package/lib/es/components/charts/Bar.d.ts +10 -0
- package/lib/es/components/charts/Bar.js +7 -14
- package/lib/es/components/charts/BarChart.d.ts +18 -0
- package/lib/es/components/charts/BarChart.js +41 -102
- package/lib/es/components/charts/ChartNeedle.d.ts +12 -0
- package/lib/es/components/charts/ChartNeedle.js +17 -44
- package/lib/es/components/charts/ChartTooltip.d.ts +5 -0
- package/lib/es/components/charts/ChartTooltip.js +3 -10
- package/lib/es/components/charts/Legend.d.ts +11 -0
- package/lib/es/components/charts/Legend.js +8 -15
- package/lib/es/components/charts/Line.d.ts +12 -0
- package/lib/es/components/charts/Line.js +9 -16
- package/lib/es/components/charts/LineChart.d.ts +16 -0
- package/lib/es/components/charts/LineChart.js +29 -84
- package/lib/es/components/charts/PieChart.d.ts +20 -0
- package/lib/es/components/charts/PieChart.js +46 -109
- package/lib/es/components/charts/RadialBarChart.d.ts +20 -0
- package/lib/es/components/charts/RadialBarChart.js +38 -116
- package/lib/es/components/charts/chartHelper.d.ts +5 -0
- package/lib/es/components/charts/chartHelper.js +21 -34
- package/lib/es/components/checkbox/Checkbox.d.ts +57 -0
- package/lib/es/components/checkbox/Checkbox.js +91 -161
- package/lib/es/components/clearableInput/ClearableInput.d.ts +59 -0
- package/lib/es/components/clearableInput/ClearableInput.js +101 -174
- package/lib/es/components/collapse/Collapse.d.ts +59 -0
- package/lib/es/components/collapse/Collapse.js +133 -209
- package/lib/es/components/contentLoader/ContentLoader.d.ts +33 -0
- package/lib/es/components/contentLoader/ContentLoader.js +41 -82
- package/lib/es/components/dataTabs/DataTab.d.ts +20 -0
- package/lib/es/components/dataTabs/DataTab.js +25 -57
- package/lib/es/components/dataTabs/DataTabs.d.ts +56 -0
- package/lib/es/components/dataTabs/DataTabs.js +75 -146
- package/lib/es/components/datepicker/DatePicker.d.ts +3 -0
- package/lib/es/components/datepicker/DatePicker.js +43 -71
- package/lib/es/components/datepicker/DateRangePicker.d.ts +208 -0
- package/lib/es/components/datepicker/DateRangePicker.js +335 -605
- package/lib/es/components/dialog/ConfirmationDialog.d.ts +25 -0
- package/lib/es/components/dialog/ConfirmationDialog.js +24 -55
- package/lib/es/components/dialog/Dialog.d.ts +42 -0
- package/lib/es/components/dialog/Dialog.js +75 -148
- package/lib/es/components/dialog/DialogBody.d.ts +16 -0
- package/lib/es/components/dialog/DialogBody.js +13 -24
- package/lib/es/components/dialog/DialogFooter.d.ts +16 -0
- package/lib/es/components/dialog/DialogFooter.js +13 -24
- package/lib/es/components/dialog/DialogHeader.d.ts +18 -0
- package/lib/es/components/dialog/DialogHeader.js +16 -48
- package/lib/es/components/dialog/InfoDialog.d.ts +18 -0
- package/lib/es/components/dialog/InfoDialog.js +13 -29
- package/lib/es/components/dialog/MediaDialog.d.ts +58 -0
- package/lib/es/components/dialog/MediaDialog.js +93 -210
- package/lib/es/components/dialog/ReleaseNotesDialog.d.ts +20 -0
- package/lib/es/components/dialog/ReleaseNotesDialog.js +31 -57
- package/lib/es/components/dialog/SaveDialog.d.ts +31 -0
- package/lib/es/components/dialog/SaveDialog.js +18 -63
- package/lib/es/components/dialog/SimpleDialog.d.ts +21 -0
- package/lib/es/components/dialog/SimpleDialog.js +14 -30
- package/lib/es/components/dialog/SplitDialog.d.ts +32 -0
- package/lib/es/components/dialog/SplitDialog.js +22 -52
- package/lib/es/components/dialog/baseDialogPropTypes.d.ts +14 -0
- package/lib/es/components/dialog/baseDialogPropTypes.js +14 -19
- package/lib/es/components/driverName/DriverName.d.ts +18 -0
- package/lib/es/components/driverName/DriverName.js +17 -28
- package/lib/es/components/dropdown/ButtonDropdown.d.ts +66 -0
- package/lib/es/components/dropdown/ButtonDropdown.js +120 -191
- package/lib/es/components/dropdown/Caret.d.ts +2 -0
- package/lib/es/components/dropdown/Caret.js +6 -14
- package/lib/es/components/dropdown/DropdownSubmenu.d.ts +19 -0
- package/lib/es/components/dropdown/DropdownSubmenu.js +21 -40
- package/lib/es/components/dropdown/DropdownToggleButton.d.ts +3 -0
- package/lib/es/components/dropdown/DropdownToggleButton.js +17 -38
- package/lib/es/components/dropdown/SimpleButtonDropdown.d.ts +2 -0
- package/lib/es/components/dropdown/SimpleButtonDropdown.js +7 -16
- package/lib/es/components/dropdown/SingleButtonDropdown.d.ts +2 -0
- package/lib/es/components/dropdown/SingleButtonDropdown.js +7 -13
- package/lib/es/components/dropdown/SplitButtonDropdown.d.ts +2 -0
- package/lib/es/components/dropdown/SplitButtonDropdown.js +7 -16
- package/lib/es/components/dropdown/SplitCaretButton.d.ts +3 -0
- package/lib/es/components/dropdown/SplitCaretButton.js +16 -31
- package/lib/es/components/dropdown/menuItemsPropTypes.d.ts +9 -0
- package/lib/es/components/dropdown/menuItemsPropTypes.js +9 -14
- package/lib/es/components/expander/ExpanderList.d.ts +39 -0
- package/lib/es/components/expander/ExpanderList.js +86 -152
- package/lib/es/components/expander/ExpanderPanel.d.ts +51 -0
- package/lib/es/components/expander/ExpanderPanel.js +67 -113
- package/lib/es/components/fade/Fade.d.ts +46 -0
- package/lib/es/components/fade/Fade.js +150 -253
- package/lib/es/components/filepicker/FilePicker.d.ts +30 -0
- package/lib/es/components/filepicker/FilePicker.js +42 -80
- package/lib/es/components/listMenu/ListMenu.d.ts +44 -0
- package/lib/es/components/listMenu/ListMenu.js +113 -237
- package/lib/es/components/loadMore/LoadMoreButton.d.ts +14 -0
- package/lib/es/components/loadMore/LoadMoreButton.js +14 -57
- package/lib/es/components/loadMore/LoadMoreProgress.d.ts +12 -0
- package/lib/es/components/loadMore/LoadMoreProgress.js +20 -40
- package/lib/es/components/map/components/Map.d.ts +99 -0
- package/lib/es/components/map/components/Map.js +302 -451
- package/lib/es/components/map/components/constants.d.ts +12 -0
- package/lib/es/components/map/components/constants.js +14 -29
- package/lib/es/components/map/components/context.d.ts +2 -0
- package/lib/es/components/map/components/context.js +4 -9
- package/lib/es/components/map/components/features/ContextMenu.d.ts +2 -0
- package/lib/es/components/map/components/features/ContextMenu.js +109 -146
- package/lib/es/components/map/components/features/ContextMenuItem.d.ts +28 -0
- package/lib/es/components/map/components/features/ContextMenuItem.js +25 -33
- package/lib/es/components/map/components/features/MapSettings.d.ts +22 -0
- package/lib/es/components/map/components/features/MapSettings.js +61 -82
- package/lib/es/components/map/components/features/Route.d.ts +48 -0
- package/lib/es/components/map/components/features/Route.js +90 -168
- package/lib/es/components/map/components/features/basics/Circle.d.ts +21 -0
- package/lib/es/components/map/components/features/basics/Circle.js +36 -58
- package/lib/es/components/map/components/features/basics/MapLayerGroup.d.ts +23 -0
- package/lib/es/components/map/components/features/basics/MapLayerGroup.js +42 -70
- package/lib/es/components/map/components/features/basics/Polygon.d.ts +17 -0
- package/lib/es/components/map/components/features/basics/Polygon.js +42 -59
- package/lib/es/components/map/components/features/basics/Polyline.d.ts +20 -0
- package/lib/es/components/map/components/features/basics/Polyline.js +75 -107
- 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 +43 -74
- 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 +108 -135
- 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 +26 -35
- package/lib/es/components/map/components/features/layers/IncidentsLayer.d.ts +2 -0
- package/lib/es/components/map/components/features/layers/IncidentsLayer.js +8 -18
- package/lib/es/components/map/components/features/layers/Layer.d.ts +16 -0
- package/lib/es/components/map/components/features/layers/Layer.js +25 -33
- package/lib/es/components/map/components/features/layers/MarkerLayer.d.ts +14 -0
- package/lib/es/components/map/components/features/layers/MarkerLayer.js +22 -44
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.d.ts +2 -0
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +18 -30
- package/lib/es/components/map/components/features/layers/TrafficLayer.d.ts +2 -0
- package/lib/es/components/map/components/features/layers/TrafficLayer.js +26 -38
- 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 +16 -23
- 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 +14 -20
- 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 +15 -21
- 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 +13 -20
- 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 +15 -21
- 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 +15 -21
- 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 +37 -57
- 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 +64 -91
- 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 +13 -25
- package/lib/es/components/map/components/features/settings/MapSettingsItem.d.ts +20 -0
- package/lib/es/components/map/components/features/settings/MapSettingsItem.js +27 -36
- package/lib/es/components/map/components/features/settings/MapSettingsPanel.d.ts +12 -0
- package/lib/es/components/map/components/features/settings/MapSettingsPanel.js +17 -37
- package/lib/es/components/map/components/features/settings/MapSettingsTile.d.ts +20 -0
- package/lib/es/components/map/components/features/settings/MapSettingsTile.js +51 -90
- package/lib/es/components/map/components/features/settings/ZoomButtons.d.ts +12 -0
- package/lib/es/components/map/components/features/settings/ZoomButtons.js +13 -39
- 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 +23 -69
- 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 +30 -55
- 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 +42 -131
- 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 +14 -35
- 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 +14 -35
- 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 +14 -35
- 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 +16 -41
- 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 +22 -42
- 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 +22 -42
- 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 +22 -42
- 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 +16 -41
- package/lib/es/components/map/components/mapUtils.d.ts +50 -0
- package/lib/es/components/map/components/mapUtils.js +146 -192
- package/lib/es/components/map/exceptions/MapException.d.ts +8 -0
- package/lib/es/components/map/exceptions/MapException.js +6 -9
- package/lib/es/components/map/herePolyfill.d.ts +0 -0
- package/lib/es/components/map/herePolyfill.js +4 -5
- package/lib/es/components/map/icons/MapIcon.d.ts +40 -0
- package/lib/es/components/map/icons/MapIcon.js +83 -541
- package/lib/es/components/map/utils/clustering.d.ts +9 -0
- package/lib/es/components/map/utils/clustering.js +54 -64
- package/lib/es/components/map/utils/eventHandling.d.ts +47 -0
- package/lib/es/components/map/utils/eventHandling.js +114 -149
- package/lib/es/components/map/utils/hooks.d.ts +2 -0
- package/lib/es/components/map/utils/hooks.js +23 -27
- package/lib/es/components/map/utils/localization.d.ts +2 -0
- package/lib/es/components/map/utils/localization.js +403 -404
- package/lib/es/components/map/utils/positions.d.ts +10 -0
- package/lib/es/components/map/utils/positions.js +40 -45
- package/lib/es/components/map/utils/proptypes.d.ts +47 -0
- package/lib/es/components/map/utils/proptypes.js +45 -51
- package/lib/es/components/map/utils/validation.d.ts +2 -0
- package/lib/es/components/map/utils/validation.js +11 -16
- package/lib/es/components/mapMarker/ClusterMapMarker.d.ts +26 -0
- package/lib/es/components/mapMarker/ClusterMapMarker.js +43 -66
- package/lib/es/components/mapMarker/SingleMapMarker.d.ts +29 -0
- package/lib/es/components/mapMarker/SingleMapMarker.js +53 -88
- package/lib/es/components/menuItems/MenuItem.d.ts +25 -0
- package/lib/es/components/menuItems/MenuItem.js +44 -67
- package/lib/es/components/menuItems/MenuItems.d.ts +3 -0
- package/lib/es/components/menuItems/MenuItems.js +10 -24
- package/lib/es/components/menuItems/getMenuItems.d.ts +2 -0
- package/lib/es/components/menuItems/getMenuItems.js +8 -21
- package/lib/es/components/navigation/AppNavigationBar.d.ts +3 -0
- package/lib/es/components/navigation/AppNavigationBar.js +21 -48
- package/lib/es/components/noData/NoData.d.ts +12 -0
- package/lib/es/components/noData/NoData.js +16 -53
- package/lib/es/components/notification/Notification.d.ts +1 -0
- package/lib/es/components/notification/Notification.js +3 -8
- package/lib/es/components/notification/NotificationsContainer.d.ts +14 -0
- package/lib/es/components/notification/NotificationsContainer.js +13 -20
- package/lib/es/components/numberControl/NumberControl.d.ts +3 -0
- package/lib/es/components/numberControl/NumberControl.js +123 -205
- package/lib/es/components/numberInput/NumberInput.d.ts +10 -0
- package/lib/es/components/numberInput/NumberInput.js +117 -179
- package/lib/es/components/onboarding/OnboardingTip.d.ts +63 -0
- package/lib/es/components/onboarding/OnboardingTip.js +97 -118
- package/lib/es/components/overlay/OverlayTrigger.d.ts +37 -0
- package/lib/es/components/overlay/OverlayTrigger.js +32 -59
- package/lib/es/components/pager/Pager.d.ts +25 -0
- package/lib/es/components/pager/Pager.js +37 -89
- package/lib/es/components/popover/Popover.d.ts +3 -0
- package/lib/es/components/popover/Popover.js +21 -40
- package/lib/es/components/position/Position.d.ts +10 -0
- package/lib/es/components/position/Position.js +24 -31
- package/lib/es/components/preloader/ImagePreloader.d.ts +22 -0
- package/lib/es/components/preloader/ImagePreloader.js +45 -70
- package/lib/es/components/radiobutton/RadioButton.d.ts +45 -0
- package/lib/es/components/radiobutton/RadioButton.js +78 -141
- package/lib/es/components/releaseNotes/ReleaseNotes.d.ts +9 -0
- package/lib/es/components/releaseNotes/ReleaseNotes.js +22 -57
- package/lib/es/components/resizer/Resizer.d.ts +65 -0
- package/lib/es/components/resizer/Resizer.js +107 -165
- package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.d.ts +3 -0
- package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.js +160 -259
- package/lib/es/components/rules/RuleConnector.d.ts +39 -0
- package/lib/es/components/rules/RuleConnector.js +37 -75
- package/lib/es/components/rules/RuleContainer.d.ts +28 -0
- package/lib/es/components/rules/RuleContainer.js +36 -73
- package/lib/es/components/rules/RulesWrapper.d.ts +8 -0
- package/lib/es/components/rules/RulesWrapper.js +9 -22
- package/lib/es/components/saveableInput/SaveableInput.d.ts +14 -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 +231 -358
- package/lib/es/components/selects/DropdownHeader.d.ts +14 -0
- package/lib/es/components/selects/DropdownHeader.js +13 -25
- package/lib/es/components/selects/Multiselect.d.ts +98 -0
- package/lib/es/components/selects/Multiselect.js +291 -472
- package/lib/es/components/selects/Select.d.ts +97 -0
- package/lib/es/components/selects/Select.js +258 -431
- package/lib/es/components/sidebars/Sidebar.d.ts +112 -0
- package/lib/es/components/sidebars/Sidebar.js +196 -352
- package/lib/es/components/slider/RangeSlider.d.ts +33 -0
- package/lib/es/components/slider/RangeSlider.js +117 -218
- package/lib/es/components/slider/Slider.d.ts +38 -0
- package/lib/es/components/slider/Slider.js +52 -101
- package/lib/es/components/spinner/Spinner.d.ts +28 -0
- package/lib/es/components/spinner/Spinner.js +38 -65
- package/lib/es/components/states/CustomState.d.ts +15 -0
- package/lib/es/components/states/CustomState.js +52 -118
- package/lib/es/components/states/EmptyState.d.ts +9 -0
- package/lib/es/components/states/EmptyState.js +10 -16
- package/lib/es/components/states/ErrorState.d.ts +9 -0
- package/lib/es/components/states/ErrorState.js +10 -16
- package/lib/es/components/states/ForbiddenState.d.ts +9 -0
- package/lib/es/components/states/ForbiddenState.js +10 -16
- package/lib/es/components/states/MaintenanceState.d.ts +9 -0
- package/lib/es/components/states/MaintenanceState.js +10 -16
- package/lib/es/components/states/NotBookedState.d.ts +20 -0
- package/lib/es/components/states/NotBookedState.js +24 -43
- package/lib/es/components/states/NotFoundState.d.ts +9 -0
- package/lib/es/components/states/NotFoundState.js +10 -16
- package/lib/es/components/states/baseStatePropTypes.d.ts +26 -0
- package/lib/es/components/states/baseStatePropTypes.js +28 -35
- package/lib/es/components/statsWidget/StatsWidget.d.ts +22 -0
- package/lib/es/components/statsWidget/StatsWidget.js +23 -41
- package/lib/es/components/statsWidget/StatsWidgetBody.d.ts +13 -0
- package/lib/es/components/statsWidget/StatsWidgetBody.js +14 -30
- package/lib/es/components/statsWidget/StatsWidgetFooter.d.ts +2 -0
- package/lib/es/components/statsWidget/StatsWidgetFooter.js +10 -21
- package/lib/es/components/statsWidget/StatsWidgetHeader.d.ts +2 -0
- package/lib/es/components/statsWidget/StatsWidgetHeader.js +10 -21
- package/lib/es/components/statsWidget/StatsWidgetNumber.d.ts +21 -0
- package/lib/es/components/statsWidget/StatsWidgetNumber.js +20 -42
- package/lib/es/components/statsWidget/StatsWidgetSpacer.d.ts +2 -0
- package/lib/es/components/statsWidget/StatsWidgetSpacer.js +10 -20
- package/lib/es/components/statsWidget/StatsWidgets.d.ts +8 -0
- package/lib/es/components/statsWidget/StatsWidgets.js +12 -23
- package/lib/es/components/statusBar/StatusBar.d.ts +55 -0
- package/lib/es/components/statusBar/StatusBar.js +126 -212
- package/lib/es/components/steppedProgressBar/SteppedProgressBar.d.ts +35 -0
- package/lib/es/components/steppedProgressBar/SteppedProgressBar.js +59 -86
- package/lib/es/components/supportMarker/toggleSupportMarker.d.ts +3 -0
- package/lib/es/components/supportMarker/toggleSupportMarker.js +26 -28
- package/lib/es/components/switch/Switch.d.ts +29 -0
- package/lib/es/components/switch/Switch.js +36 -78
- package/lib/es/components/table/SortArrows.d.ts +5 -0
- package/lib/es/components/table/SortArrows.js +10 -25
- package/lib/es/components/table/TableCardsSorting.d.ts +37 -0
- package/lib/es/components/table/TableCardsSorting.js +54 -109
- package/lib/es/components/table/TableSearch.d.ts +9 -0
- package/lib/es/components/table/TableSearch.js +13 -23
- package/lib/es/components/table/TableSettingsColumnButtons.d.ts +28 -0
- package/lib/es/components/table/TableSettingsColumnButtons.js +38 -70
- package/lib/es/components/table/TableSettingsColumnDetails.d.ts +19 -0
- package/lib/es/components/table/TableSettingsColumnDetails.js +31 -77
- package/lib/es/components/table/TableSettingsDialog.d.ts +107 -0
- package/lib/es/components/table/TableSettingsDialog.js +317 -518
- package/lib/es/components/table/TableSettingsDialogFooter.d.ts +43 -0
- package/lib/es/components/table/TableSettingsDialogFooter.js +37 -91
- package/lib/es/components/table/TableSettingsListContainer.d.ts +9 -0
- package/lib/es/components/table/TableSettingsListContainer.js +29 -61
- package/lib/es/components/table/TableSettingsListItem.d.ts +27 -0
- package/lib/es/components/table/TableSettingsListItem.js +62 -128
- package/lib/es/components/table/TableToolbar.d.ts +12 -0
- package/lib/es/components/table/TableToolbar.js +11 -19
- package/lib/es/components/table/TableViewToggles.d.ts +30 -0
- package/lib/es/components/table/TableViewToggles.js +75 -109
- package/lib/es/components/table/tableSettingsPropTypes.d.ts +8 -0
- package/lib/es/components/table/tableSettingsPropTypes.js +7 -11
- package/lib/es/components/tag/Tag.d.ts +37 -0
- package/lib/es/components/tag/Tag.js +31 -54
- package/lib/es/components/tag/TagList.d.ts +17 -0
- package/lib/es/components/tag/TagList.js +17 -32
- package/lib/es/components/tagManager/CustomSuggestionItem.d.ts +13 -0
- package/lib/es/components/tagManager/CustomSuggestionItem.js +13 -25
- package/lib/es/components/tagManager/TagManager.d.ts +27 -0
- package/lib/es/components/tagManager/TagManager.js +125 -193
- package/lib/es/components/tagManager/TagManagerItemList.d.ts +14 -0
- package/lib/es/components/tagManager/TagManagerItemList.js +21 -36
- package/lib/es/components/teaser/Teaser.d.ts +51 -0
- package/lib/es/components/teaser/Teaser.js +116 -197
- package/lib/es/components/teaser/TeaserContainer.d.ts +13 -0
- package/lib/es/components/teaser/TeaserContainer.js +42 -49
- package/lib/es/components/timepicker/TimePicker.d.ts +27 -0
- package/lib/es/components/timepicker/TimePicker.js +82 -136
- package/lib/es/components/tooltip/SimpleTooltip.d.ts +21 -0
- package/lib/es/components/tooltip/SimpleTooltip.js +16 -48
- package/lib/es/components/tooltip/Tooltip.d.ts +32 -0
- package/lib/es/components/tooltip/Tooltip.js +34 -91
- package/lib/es/components/video/ResponsiveVideo.d.ts +13 -0
- package/lib/es/components/video/ResponsiveVideo.js +10 -32
- package/lib/es/framer-motion.js +3 -15
- package/lib/es/hooks/useAfterMount.d.ts +1 -0
- package/lib/es/hooks/useAfterMount.js +11 -14
- package/lib/es/hooks/useClickOutside.d.ts +1 -0
- package/lib/es/hooks/useClickOutside.js +18 -27
- package/lib/es/hooks/useClipboard.d.ts +8 -0
- package/lib/es/hooks/useClipboard.js +32 -56
- package/lib/es/hooks/useDarkMode.d.ts +2 -0
- package/lib/es/hooks/useDarkMode.js +25 -35
- package/lib/es/hooks/useDebugInfo.d.ts +6 -0
- package/lib/es/hooks/useDebugInfo.js +38 -43
- package/lib/es/hooks/useEffectOnce.d.ts +1 -0
- package/lib/es/hooks/useEffectOnce.js +5 -8
- package/lib/es/hooks/useElementSize.d.ts +1 -0
- package/lib/es/hooks/useElementSize.js +21 -44
- package/lib/es/hooks/useEsc.d.ts +1 -0
- package/lib/es/hooks/useEsc.js +6 -11
- package/lib/es/hooks/useEvent.d.ts +1 -0
- package/lib/es/hooks/useEvent.js +9 -16
- package/lib/es/hooks/useFullscreen.d.ts +8 -0
- package/lib/es/hooks/useFullscreen.js +105 -165
- package/lib/es/hooks/useInterval.d.ts +1 -0
- package/lib/es/hooks/useInterval.js +17 -25
- package/lib/es/hooks/useKey.d.ts +1 -0
- package/lib/es/hooks/useKey.js +11 -20
- package/lib/es/hooks/useMutationObserver.d.ts +6 -0
- package/lib/es/hooks/useMutationObserver.js +20 -43
- package/lib/es/hooks/useOnMount.d.ts +1 -0
- package/lib/es/hooks/useOnMount.js +11 -14
- package/lib/es/hooks/useOnScreen.d.ts +3 -0
- package/lib/es/hooks/useOnScreen.js +20 -36
- package/lib/es/hooks/useOnlineStatus.d.ts +1 -0
- package/lib/es/hooks/useOnlineStatus.js +10 -22
- package/lib/es/hooks/usePrevious.d.ts +1 -0
- package/lib/es/hooks/usePrevious.js +14 -23
- package/lib/es/hooks/useRenderCount.d.ts +1 -0
- package/lib/es/hooks/useRenderCount.js +9 -13
- package/lib/es/hooks/useResizeObserver.d.ts +3 -0
- package/lib/es/hooks/useResizeObserver.js +19 -42
- package/lib/es/hooks/useScrollPosition.d.ts +2 -0
- package/lib/es/hooks/useScrollPosition.js +55 -73
- package/lib/es/hooks/useStateWithValidation.d.ts +1 -0
- package/lib/es/hooks/useStateWithValidation.js +12 -25
- package/lib/es/hooks/useStorage.d.ts +2 -0
- package/lib/es/hooks/useStorage.js +28 -36
- package/lib/es/hooks/useTimeout.d.ts +1 -0
- package/lib/es/hooks/useTimeout.js +17 -25
- package/lib/es/hooks/useWindowResize.d.ts +2 -0
- package/lib/es/hooks/useWindowResize.js +13 -19
- package/lib/es/index.d.ts +261 -275
- package/lib/es/index.js +306 -1173
- package/lib/es/mapIndex.d.ts +38 -0
- package/lib/es/mapIndex.js +78 -264
- package/lib/es/routeUtils.d.ts +5 -0
- package/lib/es/routeUtils.js +7 -29
- package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.d.ts +3 -0
- package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +39 -87
- package/lib/es/themes/Volkswagen/components/applicationHeader/modulePropTypes.d.ts +6 -0
- package/lib/es/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +6 -11
- package/lib/es/types.d.ts +1664 -0
- package/lib/es/types.js +40 -0
- package/lib/es/useAfterMount.js +5 -12
- package/lib/es/useClickOutside.js +5 -12
- package/lib/es/useClipboard.js +5 -12
- package/lib/es/useDarkMode.js +5 -12
- package/lib/es/useDebugInfo.js +5 -12
- package/lib/es/useEffectOnce.js +5 -12
- package/lib/es/useElementSize.js +5 -12
- package/lib/es/useEsc.js +5 -12
- package/lib/es/useEvent.js +5 -12
- package/lib/es/useFullscreen.js +5 -12
- package/lib/es/useInterval.js +5 -12
- package/lib/es/useKey.js +5 -12
- package/lib/es/useLocalStorage.js +4 -11
- package/lib/es/useMutationObserver.js +5 -12
- package/lib/es/useOnMount.d.ts +2 -0
- package/lib/es/useOnMount.js +5 -12
- package/lib/es/useOnScreen.js +5 -12
- package/lib/es/useOnlineStatus.js +5 -12
- package/lib/es/usePrevious.js +5 -12
- package/lib/es/useRenderCount.js +5 -12
- package/lib/es/useResizeObserver.js +5 -12
- package/lib/es/useScrollPosition.js +5 -12
- package/lib/es/useSessionStorage.js +4 -11
- package/lib/es/useStateWithValidation.js +5 -12
- package/lib/es/useTimeout.js +5 -12
- package/lib/es/useWindowResize.js +5 -12
- package/lib/es/utils/GroupSelectionUtil.d.ts +1 -0
- package/lib/es/utils/GroupSelectionUtil.js +80 -90
- 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 +27 -39
- package/lib/es/utils/addEventListener.d.ts +3 -0
- package/lib/es/utils/addEventListener.js +13 -17
- package/lib/es/utils/addFocusListener.d.ts +3 -0
- package/lib/es/utils/addFocusListener.js +14 -22
- package/lib/es/utils/arrayMove.d.ts +2 -0
- package/lib/es/utils/arrayMove.js +10 -18
- package/lib/es/utils/buttonEffect.d.ts +1 -0
- package/lib/es/utils/buttonEffect.js +58 -59
- package/lib/es/utils/colorScheme.d.ts +9 -0
- package/lib/es/utils/colorScheme.js +52 -84
- package/lib/es/utils/cssuseragent.d.ts +1 -0
- package/lib/es/utils/cssuseragent.js +299 -301
- package/lib/es/utils/darkModeCDN.d.ts +3 -0
- package/lib/es/utils/darkModeCDN.js +35 -45
- package/lib/es/utils/deviceUtils.d.ts +11 -0
- package/lib/es/utils/deviceUtils.js +59 -77
- package/lib/es/utils/getDropDirection.d.ts +7 -0
- package/lib/es/utils/getDropDirection.js +23 -27
- package/lib/es/utils/getOffsetTopWholeScreen.d.ts +1 -0
- package/lib/es/utils/getOffsetTopWholeScreen.js +7 -10
- package/lib/es/utils/init.d.ts +2 -0
- package/lib/es/utils/init.js +87 -134
- package/lib/es/utils/logDeprecatedWarnings.d.ts +3 -0
- package/lib/es/utils/logDeprecatedWarnings.js +23 -25
- package/lib/es/utils/logPropError.d.ts +3 -0
- package/lib/es/utils/logPropError.js +24 -25
- package/lib/es/utils/ownerDocument.d.ts +1 -0
- package/lib/es/utils/ownerDocument.js +8 -12
- package/lib/es/utils/portalRoot.d.ts +2 -0
- package/lib/es/utils/portalRoot.js +8 -12
- package/lib/es/utils/routeUtils.d.ts +15 -0
- package/lib/es/utils/routeUtils.js +52 -76
- package/lib/es/utils/scrollItemIntoView.d.ts +3 -0
- package/lib/es/utils/scrollItemIntoView.js +27 -33
- package/lib/es/utils/searchNormalized.d.ts +2 -0
- package/lib/es/utils/searchNormalized.js +4 -11
- 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 +3 -6
- package/package.json +23 -18
- package/routeUtils.d.ts +5 -0
- package/routeUtils.js +2 -2
- package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.d.ts +3 -0
- package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +28 -67
- package/themes/Volkswagen/components/applicationHeader/modulePropTypes.d.ts +6 -0
- package/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +3 -3
- package/types.d.ts +1664 -0
- package/types.js +37 -0
- package/useAfterMount.js +1 -1
- package/useClickOutside.js +1 -1
- package/useClipboard.js +1 -1
- package/useDarkMode.js +1 -1
- package/useDebugInfo.js +1 -1
- package/useEffectOnce.js +1 -1
- package/useElementSize.js +1 -1
- package/useEsc.js +1 -1
- package/useEvent.js +1 -1
- package/useFullscreen.js +1 -1
- package/useInterval.js +1 -1
- package/useKey.js +1 -1
- package/useLocalStorage.js +1 -1
- package/useMutationObserver.js +1 -1
- package/useOnMount.d.ts +2 -0
- package/useOnMount.js +1 -1
- package/useOnScreen.js +1 -1
- package/useOnlineStatus.js +1 -1
- package/usePrevious.js +1 -1
- package/useRenderCount.js +1 -1
- package/useResizeObserver.js +1 -1
- package/useScrollPosition.js +1 -1
- package/useSessionStorage.js +1 -1
- package/useStateWithValidation.js +1 -1
- package/useTimeout.js +1 -1
- package/useWindowResize.js +1 -1
- package/utils/GroupSelectionUtil.d.ts +1 -0
- package/utils/GroupSelectionUtil.js +73 -81
- 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 +20 -28
- package/utils/addEventListener.d.ts +3 -0
- package/utils/addEventListener.js +7 -7
- package/utils/addFocusListener.d.ts +3 -0
- package/utils/addFocusListener.js +12 -17
- package/utils/arrayMove.d.ts +2 -0
- package/utils/arrayMove.js +9 -11
- package/utils/buttonEffect.d.ts +1 -0
- package/utils/buttonEffect.js +56 -53
- package/utils/colorScheme.d.ts +9 -0
- package/utils/colorScheme.js +50 -72
- package/utils/cssuseragent.d.ts +1 -0
- package/utils/cssuseragent.js +298 -297
- package/utils/darkModeCDN.d.ts +3 -0
- package/utils/darkModeCDN.js +36 -43
- package/utils/deviceUtils.d.ts +11 -0
- package/utils/deviceUtils.js +54 -65
- package/utils/getDropDirection.d.ts +7 -0
- package/utils/getDropDirection.js +21 -22
- package/utils/getOffsetTopWholeScreen.d.ts +1 -0
- package/utils/getOffsetTopWholeScreen.js +5 -5
- package/utils/init.d.ts +2 -0
- package/utils/init.js +80 -122
- package/utils/logDeprecatedWarnings.d.ts +3 -0
- package/utils/logDeprecatedWarnings.js +19 -16
- package/utils/logPropError.d.ts +3 -0
- package/utils/logPropError.js +20 -16
- package/utils/ownerDocument.d.ts +1 -0
- package/utils/ownerDocument.js +2 -2
- package/utils/portalRoot.d.ts +2 -0
- package/utils/portalRoot.js +7 -7
- package/utils/routeUtils.d.ts +15 -0
- package/utils/routeUtils.js +43 -63
- package/utils/scrollItemIntoView.d.ts +3 -0
- package/utils/scrollItemIntoView.js +24 -25
- package/utils/searchNormalized.d.ts +2 -0
- package/utils/searchNormalized.js +2 -6
- 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/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/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,475 +1,326 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var _map = _interopRequireDefault(require("lodash/fp/map"));
|
|
16
|
-
var _isEmpty = _interopRequireDefault(require("lodash/fp/isEmpty"));
|
|
17
|
-
var _throttle = _interopRequireDefault(require("lodash/fp/throttle"));
|
|
18
|
-
var _cloneDeep = _interopRequireDefault(require("lodash/fp/cloneDeep"));
|
|
19
|
-
var _proptypes = _interopRequireDefault(require("../utils/proptypes"));
|
|
20
|
-
var _addEventListener = _interopRequireDefault(require("../../../utils/addEventListener"));
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NO_CREDENTIALS_ERROR_MESSAGE = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
+
const react_1 = tslib_1.__importStar(require("react"));
|
|
7
|
+
const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
|
|
8
|
+
const isFunction_1 = tslib_1.__importDefault(require("lodash/fp/isFunction"));
|
|
9
|
+
const map_1 = tslib_1.__importDefault(require("lodash/fp/map"));
|
|
10
|
+
const isEmpty_1 = tslib_1.__importDefault(require("lodash/fp/isEmpty"));
|
|
11
|
+
const throttle_1 = tslib_1.__importDefault(require("lodash/fp/throttle"));
|
|
12
|
+
const cloneDeep_1 = tslib_1.__importDefault(require("lodash/fp/cloneDeep"));
|
|
13
|
+
const proptypes_1 = tslib_1.__importDefault(require("../utils/proptypes"));
|
|
14
|
+
const addEventListener_1 = tslib_1.__importDefault(require("../../../utils/addEventListener"));
|
|
21
15
|
require("../herePolyfill");
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
41
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
42
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
43
|
-
var NO_CREDENTIALS_ERROR_MESSAGE = 'Cannot instantiate the Map. Missing credentials property.';
|
|
44
|
-
exports.NO_CREDENTIALS_ERROR_MESSAGE = NO_CREDENTIALS_ERROR_MESSAGE;
|
|
45
|
-
var RESIZE_THROTTLE = 1100; // 100 more than the ApplicationLayout handler
|
|
46
|
-
|
|
16
|
+
const constants_1 = require("./constants");
|
|
17
|
+
const ZoomButtons_1 = tslib_1.__importDefault(require("./features/settings/ZoomButtons"));
|
|
18
|
+
const IncidentsLayer_1 = tslib_1.__importDefault(require("./features/layers/IncidentsLayer"));
|
|
19
|
+
const TrafficLayer_1 = tslib_1.__importDefault(require("./features/layers/TrafficLayer"));
|
|
20
|
+
const RoadRestrictionLayer_1 = tslib_1.__importDefault(require("./features/layers/RoadRestrictionLayer"));
|
|
21
|
+
const DefaultVectorLayer_1 = tslib_1.__importDefault(require("./features/layers/baselayers/DefaultVectorLayer"));
|
|
22
|
+
const DefaultRasterLayer_1 = tslib_1.__importDefault(require("./features/layers/baselayers/DefaultRasterLayer"));
|
|
23
|
+
const FleetStyleLayer_1 = tslib_1.__importDefault(require("./features/layers/baselayers/FleetStyleLayer"));
|
|
24
|
+
const SatelliteLayer_1 = tslib_1.__importDefault(require("./features/layers/baselayers/SatelliteLayer"));
|
|
25
|
+
const TerrainLayer_1 = tslib_1.__importDefault(require("./features/layers/baselayers/TerrainLayer"));
|
|
26
|
+
const NightLayer_1 = tslib_1.__importDefault(require("./features/layers/baselayers/NightLayer"));
|
|
27
|
+
const useBaseLayer_1 = require("./features/layers/baselayers/useBaseLayer");
|
|
28
|
+
const eventHandling_1 = require("../utils/eventHandling");
|
|
29
|
+
const context_1 = require("./context");
|
|
30
|
+
const mapUtils_1 = require("./mapUtils");
|
|
31
|
+
const useDarkMode_1 = tslib_1.__importDefault(require("../../../hooks/useDarkMode"));
|
|
32
|
+
exports.NO_CREDENTIALS_ERROR_MESSAGE = 'Cannot instantiate the Map. Missing credentials property.';
|
|
33
|
+
const RESIZE_THROTTLE = 1100; // 100 more than the ApplicationLayout handler
|
|
47
34
|
// Note: "apikey" used by Here v3.1 whereas "app_id" and "app_code" are used by the 3.0 API
|
|
48
35
|
// The Here API 3.1 works a little different and by default uses WebGL rendering
|
|
49
36
|
// See Migration guide: https://developer.here.com/documentation/maps/3.1.37.0/dev_guide/topics/migration.html
|
|
50
|
-
|
|
51
|
-
return new H.service.Platform({
|
|
37
|
+
const getPlatform = credentials => new H.service.Platform({
|
|
52
38
|
apikey: credentials.apikey || credentials.api_key,
|
|
53
39
|
app_id: credentials.app_id,
|
|
54
|
-
app_code: credentials.app_code
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
return hereUi;
|
|
40
|
+
app_code: credentials.app_code,
|
|
41
|
+
});
|
|
42
|
+
const getHereUi = (hereMap, defaultLayers, showScaleBar) => {
|
|
43
|
+
const hereUi = H.ui.UI.createDefault(hereMap, defaultLayers);
|
|
44
|
+
if (hereUi) {
|
|
45
|
+
hereUi.getControl('scalebar').setVisibility(showScaleBar);
|
|
46
|
+
hereUi.getControl('scalebar').setAlignment('bottom-left');
|
|
47
|
+
hereUi.getControl('mapsettings').setVisibility(false);
|
|
48
|
+
hereUi.removeControl('zoom');
|
|
49
|
+
}
|
|
50
|
+
return hereUi;
|
|
66
51
|
};
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
bottom = boundingBox.bottom,
|
|
71
|
-
right = boundingBox.right;
|
|
72
|
-
return new H.geo.Rect(top, left, bottom, right);
|
|
52
|
+
const getBounds = boundingBox => {
|
|
53
|
+
const { top, left, bottom, right } = boundingBox;
|
|
54
|
+
return new H.geo.Rect(top, left, bottom, right);
|
|
73
55
|
};
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
api: api,
|
|
86
|
-
language: language,
|
|
87
|
-
key: layer
|
|
88
|
-
});
|
|
89
|
-
case _constants.MAP_LAYER_ROAD_RESTRICTIONS:
|
|
90
|
-
return /*#__PURE__*/_react["default"].createElement(_RoadRestrictionLayer["default"], {
|
|
91
|
-
api: api,
|
|
92
|
-
language: language,
|
|
93
|
-
key: layer,
|
|
94
|
-
useWebGL: enableWebGL
|
|
95
|
-
});
|
|
96
|
-
default:
|
|
97
|
-
null;
|
|
98
|
-
}
|
|
56
|
+
const getLayer = (api, layer, language, enableWebGL) => {
|
|
57
|
+
switch (layer) {
|
|
58
|
+
case constants_1.MAP_LAYER_TRAFFIC:
|
|
59
|
+
return (0, jsx_runtime_1.jsx)(TrafficLayer_1.default, { api: api, language: language, useWebGL: enableWebGL }, layer);
|
|
60
|
+
case constants_1.MAP_LAYER_INCIDENTS:
|
|
61
|
+
return (0, jsx_runtime_1.jsx)(IncidentsLayer_1.default, { api: api, language: language }, layer);
|
|
62
|
+
case constants_1.MAP_LAYER_ROAD_RESTRICTIONS:
|
|
63
|
+
return (0, jsx_runtime_1.jsx)(RoadRestrictionLayer_1.default, { api: api, language: language, useWebGL: enableWebGL }, layer);
|
|
64
|
+
default:
|
|
65
|
+
null;
|
|
66
|
+
}
|
|
99
67
|
};
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
return /*#__PURE__*/_react["default"].createElement(_FleetStyleLayer["default"], {
|
|
117
|
-
api: api,
|
|
118
|
-
language: language,
|
|
119
|
-
key: baseLayer
|
|
120
|
-
});
|
|
121
|
-
case _constants.MAP_TYPE_SATELLITE:
|
|
122
|
-
return /*#__PURE__*/_react["default"].createElement(_SatelliteLayer["default"], {
|
|
123
|
-
api: api,
|
|
124
|
-
language: language,
|
|
125
|
-
key: baseLayer
|
|
126
|
-
});
|
|
127
|
-
case _constants.MAP_TYPE_TERRAIN:
|
|
128
|
-
return /*#__PURE__*/_react["default"].createElement(_TerrainLayer["default"], {
|
|
129
|
-
api: api,
|
|
130
|
-
language: language,
|
|
131
|
-
key: baseLayer
|
|
132
|
-
});
|
|
133
|
-
case _constants.MAP_TYPE_NIGHT:
|
|
134
|
-
return /*#__PURE__*/_react["default"].createElement(_NightLayer["default"], {
|
|
135
|
-
api: api,
|
|
136
|
-
language: language,
|
|
137
|
-
key: baseLayer
|
|
138
|
-
});
|
|
139
|
-
default:
|
|
140
|
-
null;
|
|
141
|
-
}
|
|
68
|
+
const getBaseLayer = (api, baseLayer, language, enableWebGL, darkMode) => {
|
|
69
|
+
switch (baseLayer) {
|
|
70
|
+
case constants_1.MAP_TYPE_DEFAULT: {
|
|
71
|
+
return !darkMode && enableWebGL ? ((0, jsx_runtime_1.jsx)(DefaultVectorLayer_1.default, { api: api, language: language }, baseLayer)) : ((0, jsx_runtime_1.jsx)(DefaultRasterLayer_1.default, { api: api, language: language, darkMode: darkMode }, baseLayer));
|
|
72
|
+
}
|
|
73
|
+
case constants_1.MAP_TYPE_FLEET_STYLE:
|
|
74
|
+
return (0, jsx_runtime_1.jsx)(FleetStyleLayer_1.default, { api: api, language: language }, baseLayer);
|
|
75
|
+
case constants_1.MAP_TYPE_SATELLITE:
|
|
76
|
+
return (0, jsx_runtime_1.jsx)(SatelliteLayer_1.default, { api: api, language: language }, baseLayer);
|
|
77
|
+
case constants_1.MAP_TYPE_TERRAIN:
|
|
78
|
+
return (0, jsx_runtime_1.jsx)(TerrainLayer_1.default, { api: api, language: language }, baseLayer);
|
|
79
|
+
case constants_1.MAP_TYPE_NIGHT:
|
|
80
|
+
return (0, jsx_runtime_1.jsx)(NightLayer_1.default, { api: api, language: language }, baseLayer);
|
|
81
|
+
default:
|
|
82
|
+
null;
|
|
83
|
+
}
|
|
142
84
|
};
|
|
143
|
-
|
|
144
|
-
return _react["default"].Children.map(children, function (child) {
|
|
85
|
+
const enrichChildrenWithApi = (children, api) => react_1.default.Children.map(children, child => {
|
|
145
86
|
if (child) {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
87
|
+
return react_1.default.cloneElement(child, {
|
|
88
|
+
api,
|
|
89
|
+
});
|
|
149
90
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
return style;
|
|
91
|
+
});
|
|
92
|
+
const getStyle = (height, width) => {
|
|
93
|
+
const style = {};
|
|
94
|
+
if (height) {
|
|
95
|
+
style.height = height;
|
|
96
|
+
}
|
|
97
|
+
if (width) {
|
|
98
|
+
style.width = width;
|
|
99
|
+
}
|
|
100
|
+
return style;
|
|
161
101
|
};
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
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
|
-
// This allows the service to access the map internals
|
|
245
|
-
setApi({
|
|
246
|
-
credentials: credentials,
|
|
247
|
-
defaultLayers: defaultLayers,
|
|
248
|
-
map: hereMap,
|
|
249
|
-
mapEvents: hereMapEvents,
|
|
250
|
-
behavior: hereBehavior,
|
|
251
|
-
platform: platform,
|
|
252
|
-
ui: getHereUi(hereMap, defaultLayers, showScaleBar),
|
|
253
|
-
utils: (0, _mapUtils.createUtils)(hereMap),
|
|
254
|
-
settings: {
|
|
255
|
-
enableWebGL: enableWebGL,
|
|
256
|
-
baseLayer: baseLayer,
|
|
257
|
-
mapLayer: activeLayers,
|
|
258
|
-
showCluster: showCluster
|
|
259
|
-
}
|
|
260
|
-
});
|
|
261
|
-
return function () {
|
|
262
|
-
if (hereMap) {
|
|
263
|
-
(0, _eventHandling.removeEventListenerMap)(hereMap);
|
|
264
|
-
if (hereMapEvents) {
|
|
265
|
-
hereMapEvents.dispose();
|
|
102
|
+
const Map = props => {
|
|
103
|
+
const { children, credentials, width, height, language, center, zoom, zoomAnimation, boundingBox, hideClusterSettings, hideMapLayerSettings, disableMapEvents, disableBehavior, eventListenerMap, mapType, mapLayer, showCluster: externalShowCluster, showScaleBar, onMapLayerChange, onMapTypeChange, onShowClusterChange, onZoomIn, onZoomOut, mapSettingsTooltip, mapSettings, enableWebGL, enableDevicePixelRatio, darkMode, } = props;
|
|
104
|
+
const mapRef = (0, react_1.useRef)(null);
|
|
105
|
+
const [isMapInitialized, setMapInitialized] = (0, react_1.useState)(false);
|
|
106
|
+
const [api, setApi] = (0, react_1.useState)();
|
|
107
|
+
const [baseLayer, setBaseLayer] = (0, react_1.useState)(mapType);
|
|
108
|
+
const [activeLayers, setActiveLayers] = (0, react_1.useState)(mapLayer);
|
|
109
|
+
const [showCluster, setShowCluster] = (0, react_1.useState)(externalShowCluster);
|
|
110
|
+
const devicePixelRatio = enableDevicePixelRatio ? window.devicePixelRatio || 1 : 1;
|
|
111
|
+
(0, react_1.useEffect)(() => {
|
|
112
|
+
console.debug('initialize here map');
|
|
113
|
+
const bounds = boundingBox && getBounds(boundingBox);
|
|
114
|
+
const platform = getPlatform(credentials);
|
|
115
|
+
const defaultLayers = platform.createDefaultLayers();
|
|
116
|
+
const defaultLayer = (0, useBaseLayer_1.getDefaultBaseLayer)(defaultLayers, baseLayer, enableWebGL);
|
|
117
|
+
// Instantiate (and display) a map object:
|
|
118
|
+
const mapConfig = {
|
|
119
|
+
zoom,
|
|
120
|
+
center,
|
|
121
|
+
bounds,
|
|
122
|
+
pixelRatio: devicePixelRatio,
|
|
123
|
+
// need to be set for better performence of legacy map
|
|
124
|
+
engineType: enableWebGL ? undefined : H.map.render.RenderEngine.EngineType.P2D,
|
|
125
|
+
};
|
|
126
|
+
const hereMap = new H.Map(mapRef.current, defaultLayer, mapConfig);
|
|
127
|
+
// Add a resize listener to make sure that the map occupies the whole container
|
|
128
|
+
const resizeListener = (0, addEventListener_1.default)(window, 'resize', (0, throttle_1.default)(RESIZE_THROTTLE, () => hereMap.getViewPort().resize()));
|
|
129
|
+
const orientationChangeListener = (0, addEventListener_1.default)(window, 'orientationchange', (0, throttle_1.default)(RESIZE_THROTTLE, () => hereMap.getViewPort().resize()));
|
|
130
|
+
setMapInitialized(true);
|
|
131
|
+
const hereMapEvents = !disableMapEvents && new H.mapevents.MapEvents(hereMap);
|
|
132
|
+
const hereBehavior = !(disableMapEvents || disableBehavior) && new H.mapevents.Behavior(hereMapEvents);
|
|
133
|
+
(0, eventHandling_1.addEventListenerMap)(hereMap, eventListenerMap, hereMap);
|
|
134
|
+
// The api will be passed to services when using a render function.
|
|
135
|
+
// This allows the service to access the map internals
|
|
136
|
+
setApi({
|
|
137
|
+
credentials,
|
|
138
|
+
defaultLayers,
|
|
139
|
+
map: hereMap,
|
|
140
|
+
mapEvents: hereMapEvents,
|
|
141
|
+
behavior: hereBehavior,
|
|
142
|
+
platform,
|
|
143
|
+
ui: getHereUi(hereMap, defaultLayers, showScaleBar),
|
|
144
|
+
utils: (0, mapUtils_1.createUtils)(hereMap),
|
|
145
|
+
settings: {
|
|
146
|
+
enableWebGL,
|
|
147
|
+
baseLayer: baseLayer,
|
|
148
|
+
mapLayer: activeLayers,
|
|
149
|
+
showCluster: showCluster,
|
|
150
|
+
},
|
|
151
|
+
});
|
|
152
|
+
return () => {
|
|
153
|
+
if (hereMap) {
|
|
154
|
+
(0, eventHandling_1.removeEventListenerMap)(hereMap);
|
|
155
|
+
if (hereMapEvents) {
|
|
156
|
+
hereMapEvents.dispose();
|
|
157
|
+
}
|
|
158
|
+
if (resizeListener) {
|
|
159
|
+
resizeListener.remove();
|
|
160
|
+
}
|
|
161
|
+
if (orientationChangeListener) {
|
|
162
|
+
orientationChangeListener.remove();
|
|
163
|
+
}
|
|
164
|
+
hereMap.dispose();
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
}, [enableWebGL, enableDevicePixelRatio]);
|
|
168
|
+
const isDarkMode = (0, useDarkMode_1.default)();
|
|
169
|
+
(0, react_1.useEffect)(() => {
|
|
170
|
+
// Toggle night map only if current map type is default
|
|
171
|
+
if (isDarkMode && baseLayer === constants_1.MAP_TYPE_DEFAULT) {
|
|
172
|
+
handleMapTypeChange(constants_1.MAP_TYPE_NIGHT);
|
|
173
|
+
}
|
|
174
|
+
// Toggle back to default map only if current map type is night
|
|
175
|
+
else if (!isDarkMode && baseLayer === constants_1.MAP_TYPE_NIGHT) {
|
|
176
|
+
handleMapTypeChange(constants_1.MAP_TYPE_DEFAULT);
|
|
177
|
+
}
|
|
178
|
+
}, [isDarkMode]);
|
|
179
|
+
// Update BoundingBox from outside
|
|
180
|
+
(0, react_1.useEffect)(() => {
|
|
181
|
+
if (api && boundingBox) {
|
|
182
|
+
const { top, left, bottom, right } = boundingBox;
|
|
183
|
+
api.map.getViewModel().setLookAtData({ bounds: new H.geo.Rect(top, left, bottom, right) }, zoomAnimation);
|
|
266
184
|
}
|
|
267
|
-
|
|
268
|
-
|
|
185
|
+
}, [boundingBox]);
|
|
186
|
+
// Update Zoom from outside if value is different
|
|
187
|
+
(0, react_1.useEffect)(() => {
|
|
188
|
+
if (!api) {
|
|
189
|
+
return;
|
|
269
190
|
}
|
|
270
|
-
|
|
271
|
-
|
|
191
|
+
const currentMapZoom = api.utils.getZoom();
|
|
192
|
+
if (zoom && currentMapZoom !== zoom) {
|
|
193
|
+
api.utils.setZoom(zoom, zoomAnimation);
|
|
194
|
+
}
|
|
195
|
+
}, [zoom]);
|
|
196
|
+
// Update Lat & Lng from outside if value is different
|
|
197
|
+
(0, react_1.useEffect)(() => {
|
|
198
|
+
if (!(api && center)) {
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
const currentMapCenter = api.utils.getCenter();
|
|
202
|
+
if (currentMapCenter.lat !== center.lat || currentMapCenter.lng !== center.lng) {
|
|
203
|
+
api.utils.setCenter(center, zoomAnimation);
|
|
204
|
+
}
|
|
205
|
+
}, [center]);
|
|
206
|
+
// Update MapType from outside
|
|
207
|
+
(0, react_1.useEffect)(() => handleMapTypeChange(mapType), [mapType]);
|
|
208
|
+
// Update MapLayer from outside
|
|
209
|
+
(0, react_1.useEffect)(() => setActiveLayers(mapLayer), [mapLayer]);
|
|
210
|
+
// Update Cluster setting from outside
|
|
211
|
+
(0, react_1.useEffect)(() => setShowCluster(externalShowCluster), [externalShowCluster]);
|
|
212
|
+
const handleMapTypeChange = newMapType => {
|
|
213
|
+
setBaseLayer(newMapType);
|
|
214
|
+
onMapTypeChange(newMapType, mapType);
|
|
215
|
+
if (api) {
|
|
216
|
+
setApi(Object.assign(Object.assign({}, api), { settings: Object.assign(Object.assign({}, api.settings), { baseLayer: newMapType }) }));
|
|
272
217
|
}
|
|
273
|
-
hereMap.dispose();
|
|
274
|
-
}
|
|
275
218
|
};
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
}
|
|
283
|
-
// Toggle back to default map only if current map type is night
|
|
284
|
-
else if (!isDarkMode && baseLayer === _constants.MAP_TYPE_NIGHT) {
|
|
285
|
-
handleMapTypeChange(_constants.MAP_TYPE_DEFAULT);
|
|
286
|
-
}
|
|
287
|
-
}, [isDarkMode]);
|
|
288
|
-
|
|
289
|
-
// Update BoundingBox from outside
|
|
290
|
-
(0, _react.useEffect)(function () {
|
|
291
|
-
if (api && boundingBox) {
|
|
292
|
-
var top = boundingBox.top,
|
|
293
|
-
left = boundingBox.left,
|
|
294
|
-
bottom = boundingBox.bottom,
|
|
295
|
-
right = boundingBox.right;
|
|
296
|
-
api.map.getViewModel().setLookAtData({
|
|
297
|
-
bounds: new H.geo.Rect(top, left, bottom, right)
|
|
298
|
-
}, zoomAnimation);
|
|
299
|
-
}
|
|
300
|
-
}, [boundingBox]);
|
|
301
|
-
|
|
302
|
-
// Update Zoom from outside if value is different
|
|
303
|
-
(0, _react.useEffect)(function () {
|
|
304
|
-
if (!api) {
|
|
305
|
-
return;
|
|
306
|
-
}
|
|
307
|
-
var currentMapZoom = api.utils.getZoom();
|
|
308
|
-
if (zoom && currentMapZoom !== zoom) {
|
|
309
|
-
api.utils.setZoom(zoom, zoomAnimation);
|
|
310
|
-
}
|
|
311
|
-
}, [zoom]);
|
|
312
|
-
|
|
313
|
-
// Update Lat & Lng from outside if value is different
|
|
314
|
-
(0, _react.useEffect)(function () {
|
|
315
|
-
if (!(api && center)) {
|
|
316
|
-
return;
|
|
317
|
-
}
|
|
318
|
-
var currentMapCenter = api.utils.getCenter();
|
|
319
|
-
if (currentMapCenter.lat !== center.lat || currentMapCenter.lng !== center.lng) {
|
|
320
|
-
api.utils.setCenter(center, zoomAnimation);
|
|
321
|
-
}
|
|
322
|
-
}, [center]);
|
|
323
|
-
|
|
324
|
-
// Update MapType from outside
|
|
325
|
-
(0, _react.useEffect)(function () {
|
|
326
|
-
return handleMapTypeChange(mapType);
|
|
327
|
-
}, [mapType]);
|
|
328
|
-
|
|
329
|
-
// Update MapLayer from outside
|
|
330
|
-
(0, _react.useEffect)(function () {
|
|
331
|
-
return setActiveLayers(mapLayer);
|
|
332
|
-
}, [mapLayer]);
|
|
333
|
-
|
|
334
|
-
// Update Cluster setting from outside
|
|
335
|
-
(0, _react.useEffect)(function () {
|
|
336
|
-
return setShowCluster(externalShowCluster);
|
|
337
|
-
}, [externalShowCluster]);
|
|
338
|
-
var handleMapTypeChange = function handleMapTypeChange(newMapType) {
|
|
339
|
-
setBaseLayer(newMapType);
|
|
340
|
-
onMapTypeChange(newMapType, mapType);
|
|
341
|
-
if (api) {
|
|
342
|
-
setApi(_objectSpread(_objectSpread({}, api), {}, {
|
|
343
|
-
settings: _objectSpread(_objectSpread({}, api.settings), {}, {
|
|
344
|
-
baseLayer: newMapType
|
|
345
|
-
})
|
|
346
|
-
}));
|
|
347
|
-
}
|
|
348
|
-
};
|
|
349
|
-
var handleMapLayerChange = function handleMapLayerChange(layer) {
|
|
350
|
-
var removeLayer = function removeLayer(layerToRemove) {
|
|
351
|
-
return activeLayers.filter(function (item) {
|
|
352
|
-
return item !== layerToRemove;
|
|
353
|
-
});
|
|
219
|
+
const handleMapLayerChange = layer => {
|
|
220
|
+
const removeLayer = layerToRemove => activeLayers.filter(item => item !== layerToRemove);
|
|
221
|
+
const newActiveLayers = activeLayers.includes(layer) ? removeLayer(layer) : [...activeLayers, layer];
|
|
222
|
+
setActiveLayers(newActiveLayers);
|
|
223
|
+
onMapLayerChange(newActiveLayers, activeLayers);
|
|
224
|
+
setApi(Object.assign(Object.assign({}, api), { settings: Object.assign(Object.assign({}, api.settings), { mapLayer: newActiveLayers }) }));
|
|
354
225
|
};
|
|
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
|
-
var autoHeightClass = (0, _isEmpty["default"])(style) ? 'height-100pct' : '';
|
|
387
|
-
var hideZoomButtons = disableBehavior;
|
|
388
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
389
|
-
className: "Map position-relative map-type-".concat(baseLayer.toLowerCase(), " ").concat(autoHeightClass),
|
|
390
|
-
style: style,
|
|
391
|
-
ref: mapRef
|
|
392
|
-
}, isMapInitialized && /*#__PURE__*/_react["default"].createElement(_context.MapContext.Provider, {
|
|
393
|
-
value: {
|
|
394
|
-
api: api
|
|
395
|
-
}
|
|
396
|
-
}, !hideZoomButtons && /*#__PURE__*/_react["default"].createElement(_ZoomButtons["default"], {
|
|
397
|
-
onZoomIn: handleZoomIn,
|
|
398
|
-
onZoomOut: handleZoomOut
|
|
399
|
-
}), mapSettings && /*#__PURE__*/_react["default"].createElement(_context.MapSettingsContext.Provider, {
|
|
400
|
-
value: {
|
|
401
|
-
mapType: baseLayer,
|
|
402
|
-
activeBuiltinLayers: activeLayers,
|
|
403
|
-
showCluster: showCluster,
|
|
404
|
-
hideMapLayerSettings: hideMapLayerSettings,
|
|
405
|
-
hideClusterSettings: hideClusterSettings,
|
|
406
|
-
onMapTypeChange: handleMapTypeChange,
|
|
407
|
-
onMapLayerChange: handleMapLayerChange,
|
|
408
|
-
onShowClusterChange: handleShowClusterChange,
|
|
409
|
-
mapSettingsTooltip: mapSettingsTooltip
|
|
410
|
-
}
|
|
411
|
-
}, mapSettings), getBaseLayer(api, baseLayer, language, enableWebGL, darkMode), (0, _map["default"])(function (layer) {
|
|
412
|
-
return getLayer(api, layer, language, enableWebGL);
|
|
413
|
-
}, activeLayers), children && /*#__PURE__*/_react["default"].createElement("div", {
|
|
414
|
-
className: 'MapElements'
|
|
415
|
-
}, (0, _isFunction["default"])(children) ? children(api) : enrichChildrenWithApi(children, api))));
|
|
226
|
+
const handleShowClusterChange = newShowCluster => {
|
|
227
|
+
setShowCluster(newShowCluster);
|
|
228
|
+
onShowClusterChange(newShowCluster, showCluster);
|
|
229
|
+
setApi(Object.assign(Object.assign({}, api), { settings: Object.assign(Object.assign({}, api.settings), { showCluster: newShowCluster }) }));
|
|
230
|
+
};
|
|
231
|
+
const handleZoomIn = () => {
|
|
232
|
+
const z = api.utils.getZoom();
|
|
233
|
+
const newZoom = z + 1;
|
|
234
|
+
onZoomIn(newZoom, z);
|
|
235
|
+
api.utils.setZoom(newZoom, zoomAnimation);
|
|
236
|
+
};
|
|
237
|
+
const handleZoomOut = () => {
|
|
238
|
+
const z = api.utils.getZoom();
|
|
239
|
+
const newZoom = z - 1;
|
|
240
|
+
onZoomOut(newZoom, z);
|
|
241
|
+
api.utils.setZoom(newZoom, zoomAnimation);
|
|
242
|
+
};
|
|
243
|
+
const style = getStyle(height, width);
|
|
244
|
+
const autoHeightClass = (0, isEmpty_1.default)(style) ? 'height-100pct' : '';
|
|
245
|
+
const hideZoomButtons = disableBehavior;
|
|
246
|
+
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: `Map position-relative map-type-${baseLayer.toLowerCase()} ${autoHeightClass}`, style: style, ref: mapRef }, { children: isMapInitialized && ((0, jsx_runtime_1.jsxs)(context_1.MapContext.Provider, Object.assign({ value: { api } }, { children: [!hideZoomButtons && (0, jsx_runtime_1.jsx)(ZoomButtons_1.default, { onZoomIn: handleZoomIn, onZoomOut: handleZoomOut }), mapSettings && ((0, jsx_runtime_1.jsx)(context_1.MapSettingsContext.Provider, Object.assign({ value: {
|
|
247
|
+
mapType: baseLayer,
|
|
248
|
+
activeBuiltinLayers: activeLayers,
|
|
249
|
+
showCluster: showCluster,
|
|
250
|
+
hideMapLayerSettings: hideMapLayerSettings,
|
|
251
|
+
hideClusterSettings: hideClusterSettings,
|
|
252
|
+
onMapTypeChange: handleMapTypeChange,
|
|
253
|
+
onMapLayerChange: handleMapLayerChange,
|
|
254
|
+
onShowClusterChange: handleShowClusterChange,
|
|
255
|
+
mapSettingsTooltip: mapSettingsTooltip,
|
|
256
|
+
} }, { children: mapSettings }))), getBaseLayer(api, baseLayer, language, enableWebGL, darkMode), (0, map_1.default)(layer => getLayer(api, layer, language, enableWebGL), activeLayers), children && ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'MapElements' }, { children: (0, isFunction_1.default)(children) ? children(api) : enrichChildrenWithApi(children, api) })))] }))) })));
|
|
416
257
|
};
|
|
417
|
-
Map.TYPE_DEFAULT =
|
|
418
|
-
Map.TYPE_FLEET_STYLE =
|
|
419
|
-
Map.TYPE_SATELLITE =
|
|
420
|
-
Map.TYPE_TERRAIN =
|
|
421
|
-
Map.TYPE_NIGHT =
|
|
422
|
-
Map.LAYER_INCIDENTS =
|
|
423
|
-
Map.LAYER_TRAFFIC =
|
|
424
|
-
Map.LAYER_ROAD_RESTRICTIONS =
|
|
258
|
+
Map.TYPE_DEFAULT = constants_1.MAP_TYPE_DEFAULT;
|
|
259
|
+
Map.TYPE_FLEET_STYLE = constants_1.MAP_TYPE_FLEET_STYLE;
|
|
260
|
+
Map.TYPE_SATELLITE = constants_1.MAP_TYPE_SATELLITE;
|
|
261
|
+
Map.TYPE_TERRAIN = constants_1.MAP_TYPE_TERRAIN;
|
|
262
|
+
Map.TYPE_NIGHT = constants_1.MAP_TYPE_NIGHT;
|
|
263
|
+
Map.LAYER_INCIDENTS = constants_1.MAP_LAYER_INCIDENTS;
|
|
264
|
+
Map.LAYER_TRAFFIC = constants_1.MAP_LAYER_TRAFFIC;
|
|
265
|
+
Map.LAYER_ROAD_RESTRICTIONS = constants_1.MAP_LAYER_ROAD_RESTRICTIONS;
|
|
425
266
|
Map.defaultProps = {
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
267
|
+
language: 'en',
|
|
268
|
+
zoomAnimation: false,
|
|
269
|
+
hideMapSettings: false,
|
|
270
|
+
hideClusterSettings: false,
|
|
271
|
+
hideMapLayerSettings: false,
|
|
272
|
+
mapType: constants_1.MAP_TYPE_DEFAULT,
|
|
273
|
+
mapLayer: [],
|
|
274
|
+
showCluster: true,
|
|
275
|
+
showScaleBar: false,
|
|
276
|
+
onMapTypeChange: () => { },
|
|
277
|
+
onMapLayerChange: () => { },
|
|
278
|
+
onShowClusterChange: () => { },
|
|
279
|
+
onZoomIn: () => { },
|
|
280
|
+
onZoomOut: () => { },
|
|
281
|
+
enableWebGL: true,
|
|
282
|
+
enableDevicePixelRatio: true,
|
|
283
|
+
darkMode: false,
|
|
443
284
|
};
|
|
444
285
|
Map.propTypes = {
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
286
|
+
credentials: prop_types_1.default.shape({
|
|
287
|
+
['app_id']: prop_types_1.default.string,
|
|
288
|
+
['app_code']: prop_types_1.default.string,
|
|
289
|
+
['api_key']: prop_types_1.default.string,
|
|
290
|
+
apikey: prop_types_1.default.string,
|
|
291
|
+
}).isRequired,
|
|
292
|
+
height: prop_types_1.default.number,
|
|
293
|
+
width: prop_types_1.default.number,
|
|
294
|
+
language: prop_types_1.default.string,
|
|
295
|
+
zoom: prop_types_1.default.number,
|
|
296
|
+
center: proptypes_1.default.position,
|
|
297
|
+
boundingBox: proptypes_1.default.rect,
|
|
298
|
+
disableMapEvents: prop_types_1.default.bool,
|
|
299
|
+
disableBehavior: prop_types_1.default.bool,
|
|
300
|
+
eventListenerMap: prop_types_1.default.object,
|
|
301
|
+
hideMapSettings: prop_types_1.default.bool,
|
|
302
|
+
hideClusterSettings: prop_types_1.default.bool,
|
|
303
|
+
hideMapLayerSettings: prop_types_1.default.bool,
|
|
304
|
+
mapType: prop_types_1.default.oneOf([
|
|
305
|
+
Map.TYPE_DEFAULT,
|
|
306
|
+
Map.TYPE_FLEET_STYLE,
|
|
307
|
+
Map.TYPE_SATELLITE,
|
|
308
|
+
Map.TYPE_TERRAIN,
|
|
309
|
+
Map.TYPE_NIGHT,
|
|
310
|
+
]),
|
|
311
|
+
mapLayer: prop_types_1.default.arrayOf(prop_types_1.default.string),
|
|
312
|
+
showCluster: prop_types_1.default.bool,
|
|
313
|
+
showScaleBar: prop_types_1.default.bool,
|
|
314
|
+
onMapTypeChange: prop_types_1.default.func,
|
|
315
|
+
onMapLayerChange: prop_types_1.default.func,
|
|
316
|
+
onShowClusterChange: prop_types_1.default.func,
|
|
317
|
+
onZoomIn: prop_types_1.default.func,
|
|
318
|
+
onZoomOut: prop_types_1.default.func,
|
|
319
|
+
getApi: prop_types_1.default.func,
|
|
320
|
+
mapSettingsTooltip: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
321
|
+
mapSettings: prop_types_1.default.node,
|
|
322
|
+
enableWebGL: prop_types_1.default.bool,
|
|
323
|
+
enableDevicePixelRatio: prop_types_1.default.bool,
|
|
324
|
+
darkMode: prop_types_1.default.bool,
|
|
473
325
|
};
|
|
474
|
-
|
|
475
|
-
exports["default"] = _default;
|
|
326
|
+
exports.default = Map;
|