@rio-cloud/rio-uikit 0.16.4-beta.8 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.DS_Store +0 -0
- package/AppNavigationBar.d.ts +2 -5
- package/AppNavigationBar.js +2 -2
- package/Area.d.ts +2 -5
- package/Area.js +2 -2
- package/AreaChart.d.ts +2 -5
- package/AreaChart.js +2 -2
- package/AreaGradient.d.ts +2 -5
- package/AreaGradient.js +2 -2
- package/AssetTree.d.ts +2 -5
- package/AssetTree.js +2 -2
- package/Bar.d.ts +2 -8
- package/Bar.js +2 -2
- package/BarChart.d.ts +2 -5
- package/BarChart.js +2 -2
- package/ButtonDropdown.d.ts +2 -5
- package/ButtonDropdown.js +2 -2
- package/CalendarStripe.d.ts +2 -5
- package/CalendarStripe.js +2 -2
- package/Carousel.d.ts +2 -11
- package/Carousel.js +2 -2
- package/ChartGrid.d.ts +1 -0
- package/ChartGrid.js +1 -0
- package/ChartNeedle.d.ts +2 -5
- package/ChartNeedle.js +2 -2
- package/ChartTooltip.d.ts +2 -5
- package/ChartTooltip.js +2 -2
- package/Circle.d.ts +2 -5
- package/Circle.js +2 -2
- package/ClusterLayer.d.ts +2 -5
- package/ClusterLayer.js +2 -2
- package/ClusterMapMarker.d.ts +2 -5
- package/ClusterMapMarker.js +2 -2
- package/ClusterUtils.d.ts +1 -5
- package/ClusterUtils.js +1 -2
- package/Collapse.d.ts +2 -5
- package/Collapse.js +2 -2
- package/ColorScheme.d.ts +1 -4
- package/ColorScheme.js +1 -2
- package/Colors.d.ts +1 -21
- package/Colors.js +1 -2
- package/ConfirmationDialog.d.ts +2 -14
- package/ConfirmationDialog.js +2 -2
- package/ContextMenu.d.ts +2 -5
- package/ContextMenu.js +2 -2
- package/ContextMenuItem.d.ts +2 -5
- package/ContextMenuItem.js +2 -2
- package/CustomState.d.ts +2 -5
- package/CustomState.js +2 -2
- package/DatePicker.d.ts +2 -5
- package/DatePicker.js +2 -2
- package/DateRangePicker.d.ts +43 -4
- package/DateRangePicker.js +7 -1
- package/DeviceUtils.d.ts +1 -13
- package/DeviceUtils.js +1 -2
- package/Dialog.d.ts +2 -15
- package/Dialog.js +2 -2
- package/Divider.d.ts +2 -0
- package/Divider.js +2 -0
- package/DropdownSubmenu.d.ts +2 -5
- package/DropdownSubmenu.js +2 -2
- package/EmptyState.d.ts +2 -5
- package/EmptyState.js +2 -2
- package/ErrorState.d.ts +2 -5
- package/ErrorState.js +2 -2
- package/EventUtils.d.ts +2 -36
- package/EventUtils.js +2 -2
- package/ExpanderList.d.ts +2 -5
- package/ExpanderList.js +2 -2
- package/ExpanderPanel.d.ts +2 -5
- package/ExpanderPanel.js +2 -2
- package/Fade.d.ts +2 -14
- package/Fade.js +2 -2
- package/FilePicker.d.ts +2 -9
- package/FilePicker.js +2 -2
- package/ForbiddenState.d.ts +2 -5
- package/ForbiddenState.js +2 -2
- package/FrameDialog.d.ts +2 -0
- package/FrameDialog.js +2 -0
- package/ImagePreloader.d.ts +2 -5
- package/ImagePreloader.js +2 -2
- package/IncidentsLayer.js +1 -1
- package/InfoBubble.d.ts +2 -0
- package/InfoBubble.js +2 -0
- package/InfoDialog.d.ts +2 -5
- package/InfoDialog.js +2 -2
- package/Legend.d.ts +2 -5
- package/Legend.js +2 -2
- package/Line.d.ts +2 -5
- package/Line.js +2 -2
- package/LineChart.d.ts +2 -5
- package/LineChart.js +2 -2
- package/ListMenu.d.ts +2 -6
- package/ListMenu.js +2 -2
- package/MaintenanceState.d.ts +2 -5
- package/MaintenanceState.js +2 -2
- package/Map.d.ts +2 -12
- package/Map.js +2 -2
- package/MapBoundingBoxButton.d.ts +2 -5
- package/MapBoundingBoxButton.js +2 -2
- package/MapCenterMarkerButton.d.ts +2 -5
- package/MapCenterMarkerButton.js +2 -2
- package/MapClusterSettings.d.ts +2 -5
- package/MapClusterSettings.js +2 -2
- package/MapContext.d.ts +1 -0
- package/MapContext.js +1 -0
- package/MapCustomerPoiSettingsItem.d.ts +2 -5
- package/MapCustomerPoiSettingsItem.js +2 -2
- package/MapLayerGroup.d.ts +2 -5
- package/MapLayerGroup.js +2 -2
- package/MapLayerIncidentsItem.d.ts +2 -5
- package/MapLayerIncidentsItem.js +2 -2
- package/MapLayerRoadRestrictionsItem.d.ts +2 -5
- package/MapLayerRoadRestrictionsItem.js +2 -2
- package/MapLayerSettings.d.ts +2 -5
- package/MapLayerSettings.js +2 -2
- package/MapLayerTrafficItem.d.ts +2 -5
- package/MapLayerTrafficItem.js +2 -2
- package/MapLockMarkerButton.d.ts +2 -5
- package/MapLockMarkerButton.js +2 -2
- package/MapSettings.d.ts +2 -5
- package/MapSettings.js +2 -2
- package/MapSettingsItem.d.ts +2 -5
- package/MapSettingsItem.js +2 -2
- package/MapSettingsPanel.d.ts +2 -5
- package/MapSettingsPanel.js +2 -2
- package/MapSettingsTile.d.ts +2 -5
- package/MapSettingsTile.js +2 -2
- package/MapTypeSettings.d.ts +2 -5
- package/MapTypeSettings.js +2 -2
- package/MapWorkshopPoiSettingsItem.d.ts +2 -5
- package/MapWorkshopPoiSettingsItem.js +2 -2
- package/Marker.d.ts +2 -5
- package/Marker.js +2 -2
- package/MarkerLayer.d.ts +2 -5
- package/MarkerLayer.js +2 -2
- package/MediaDialog.d.ts +2 -9
- package/MediaDialog.js +2 -2
- package/MenuItem.d.ts +2 -5
- package/MenuItem.js +2 -2
- package/MenuItemList.d.ts +2 -0
- package/MenuItemList.js +2 -0
- package/MenuItems.d.ts +2 -0
- package/MenuItems.js +2 -0
- package/Multiselect.d.ts +2 -12
- package/Multiselect.js +2 -2
- package/NotBookedState.d.ts +2 -5
- package/NotFoundState.d.ts +2 -5
- package/NotFoundState.js +2 -2
- package/Notification.d.ts +2 -9
- package/Notification.js +2 -2
- package/NotificationsContainer.d.ts +2 -5
- package/NotificationsContainer.js +2 -2
- package/OnboardingTip.d.ts +2 -30
- package/OnboardingTip.js +2 -2
- package/Page.d.ts +2 -0
- package/Page.js +2 -0
- package/PieChart.d.ts +2 -5
- package/PieChart.js +2 -2
- package/Polygon.d.ts +2 -5
- package/Polygon.js +2 -2
- package/Polyline.d.ts +2 -5
- package/Polyline.js +2 -2
- package/Popover.d.ts +2 -11
- package/Popover.js +2 -2
- package/Position.d.ts +2 -5
- package/Position.js +2 -2
- package/PositionUtils.d.ts +1 -8
- package/PositionUtils.js +1 -2
- package/README.md +6 -2
- package/RadialBarChart.d.ts +2 -5
- package/RadialBarChart.js +2 -2
- package/RadioButton.d.ts +2 -5
- package/RadioButton.js +2 -2
- package/RangeSlider.d.ts +2 -5
- package/RangeSlider.js +2 -2
- package/ReleaseNotes.d.ts +2 -2
- package/ReleaseNotes.js +2 -2
- package/ReleaseNotesDialog.d.ts +2 -5
- package/ResponsiveColumnStripe.d.ts +2 -5
- package/ResponsiveColumnStripe.js +2 -2
- package/ResponsiveContainer.d.ts +1 -0
- package/ResponsiveContainer.js +1 -0
- package/Route.d.ts +2 -5
- package/Route.js +2 -2
- package/RuleConnector.d.ts +2 -10
- package/RuleConnector.js +2 -2
- package/RuleContainer.d.ts +2 -6
- package/RuleContainer.js +2 -2
- package/RulesWrapper.d.ts +2 -6
- package/RulesWrapper.js +2 -2
- package/SaveDialog.d.ts +2 -14
- package/SaveDialog.js +2 -2
- package/Sector.d.ts +1 -0
- package/Sector.js +1 -0
- package/Select.d.ts +2 -5
- package/Select.js +2 -2
- package/Sidebar.d.ts +2 -11
- package/Sidebar.js +2 -2
- package/SimpleButtonDropdown.d.ts +2 -5
- package/SimpleButtonDropdown.js +2 -2
- package/SimpleClusterLayer.d.ts +2 -5
- package/SimpleClusterLayer.js +2 -2
- package/SimpleDialog.d.ts +2 -14
- package/SimpleDialog.js +2 -2
- package/SingleButtonDropdown.d.ts +2 -5
- package/SingleButtonDropdown.js +2 -2
- package/SingleMapMarker.d.ts +2 -5
- package/SingleMapMarker.js +2 -2
- package/Slider.d.ts +2 -5
- package/Slider.js +2 -2
- package/SortArrowDown.d.ts +2 -5
- package/SortArrowDown.js +2 -2
- package/SortArrowUp.d.ts +2 -5
- package/SortArrowUp.js +2 -2
- package/SortArrows.d.ts +2 -5
- package/SortArrows.js +2 -2
- package/SortDirection.d.ts +2 -11
- package/SortDirection.js +2 -2
- package/SortUtils.d.ts +2 -16
- package/SortUtils.js +2 -2
- package/SplitButtonDropdown.d.ts +2 -5
- package/SplitButtonDropdown.js +2 -2
- package/SplitDialog.d.ts +2 -14
- package/SplitDialog.js +2 -2
- package/SteppedProgressBar.d.ts +2 -9
- package/SteppedProgressBar.js +2 -2
- package/SubNavigation.d.ts +2 -5
- package/SubNavigation.js +2 -2
- package/SupportMarker.d.ts +1 -9
- package/SupportMarker.js +1 -6
- package/TableCardsSorting.d.ts +2 -5
- package/TableCardsSorting.js +2 -2
- package/TableSearch.d.ts +2 -5
- package/TableSearch.js +2 -2
- package/TableSettingsDialog.d.ts +2 -5
- package/TableSettingsDialog.js +2 -2
- package/TableToolbar.d.ts +2 -5
- package/TableToolbar.js +2 -2
- package/TableViewToggles.d.ts +2 -12
- package/TableViewToggles.js +2 -2
- package/Tag.d.ts +2 -5
- package/Tag.js +2 -2
- package/TagList.d.ts +1 -5
- package/TagList.js +1 -2
- package/TagManager.d.ts +2 -5
- package/TagManager.js +2 -2
- package/Teaser.d.ts +2 -5
- package/Teaser.js +2 -2
- package/TeaserContainer.d.ts +2 -5
- package/TeaserContainer.js +2 -2
- package/TextMarker.d.ts +2 -5
- package/TextMarker.js +2 -2
- package/TimePicker.d.ts +2 -5
- package/TimePicker.js +2 -2
- package/TimedBottomSheet.d.ts +2 -0
- package/TimedBottomSheet.js +2 -0
- package/Tree.d.ts +2 -5
- package/Tree.js +2 -2
- package/TreeCategory.d.ts +2 -5
- package/TreeCategory.js +2 -2
- package/TreeOption.d.ts +2 -5
- package/TreeOption.js +2 -2
- package/TreeSearch.d.ts +2 -5
- package/TreeSearch.js +2 -2
- package/TreeSummary.d.ts +2 -5
- package/TreeSummary.js +2 -2
- package/TreeSummaryRow.d.ts +2 -0
- package/TreeSummaryRow.js +2 -0
- package/TypeCounter.d.ts +2 -5
- package/TypeCounter.js +2 -2
- package/VolkswagenApplicationHeader.d.ts +2 -5
- package/VolkswagenApplicationHeader.js +2 -2
- package/components/.DS_Store +0 -0
- package/components/actionBarItem/ActionBarItem.d.ts +11 -4
- package/components/actionBarItem/ActionBarItem.js +1 -1
- package/components/actionBarItem/ActionBarItemIcon.d.ts +2 -2
- package/components/actionBarItem/ActionBarItemIcon.js +1 -0
- package/components/actionBarItem/ActionBarItemList.d.ts +3 -6
- package/components/actionBarItem/ActionBarItemList.js +0 -1
- package/components/actionBarItem/ActionBarItemListItem.d.ts +7 -10
- package/components/actionBarItem/ActionBarItemListItem.js +0 -1
- package/components/actionBarItem/ActionBarItemListSeparator.d.ts +3 -5
- package/components/actionBarItem/ActionBarItemListSeparator.js +1 -1
- package/components/actionBarItem/ActionBarItemPopoverContent.d.ts +11 -6
- package/components/actionBarItem/ActionBarItemPopoverContent.js +1 -0
- package/components/activity/Activity.d.ts +4 -7
- package/components/animatedNumber/AnimatedNumber.d.ts +68 -11
- package/components/applicationHeader/AppMenuDropdown.js +1 -1
- package/components/applicationHeader/ApplicationActionBar.d.ts +1 -1
- package/components/applicationHeader/ApplicationHeader.d.ts +18 -8
- package/components/applicationLayout/ApplicationLayout.d.ts +1 -1
- package/components/applicationLayout/ApplicationLayout.js +3 -2
- package/components/applicationLayout/ApplicationLayoutBody.d.ts +4 -1
- package/components/applicationLayout/ApplicationLayoutBody.js +14 -6
- package/components/applicationLayout/SubNavigation.js +1 -1
- package/components/assetTree/AssetTree.d.ts +84 -2
- package/components/assetTree/AssetTree.js +50 -79
- package/components/assetTree/Tree.d.ts +195 -3
- package/components/assetTree/Tree.js +71 -219
- package/components/assetTree/TreeCategory.d.ts +21 -11
- package/components/assetTree/TreeCategory.js +1 -9
- package/components/assetTree/TreeLeaf.d.ts +1 -1
- package/components/assetTree/TreeLeaf.js +3 -3
- package/components/assetTree/TreeLeafList.d.ts +10 -13
- package/components/assetTree/TreeLeafList.js +11 -21
- package/components/assetTree/TreeNode.d.ts +12 -2
- package/components/assetTree/TreeNode.js +2 -18
- package/components/assetTree/TreeNodeContainer.d.ts +7 -12
- package/components/assetTree/TreeNodeContainer.js +5 -8
- package/components/assetTree/TreeNothingFound.d.ts +3 -2
- package/components/assetTree/TreeNothingFound.js +1 -8
- package/components/assetTree/TreeOption.d.ts +24 -17
- package/components/assetTree/TreeOption.js +5 -15
- package/components/assetTree/TreeOptions.d.ts +6 -13
- package/components/assetTree/TreeOptions.js +5 -13
- package/components/assetTree/TreeRoot.d.ts +6 -11
- package/components/assetTree/TreeRoot.js +8 -9
- package/components/assetTree/TreeSearch.d.ts +23 -2
- package/components/assetTree/TreeSearch.js +4 -13
- package/components/assetTree/TreeSelectAll.d.ts +11 -26
- package/components/assetTree/TreeSelectAll.js +7 -23
- package/components/assetTree/TreeSidebar.d.ts +10 -2
- package/components/assetTree/TreeSidebar.js +4 -36
- package/components/assetTree/TreeSidebarCategories.d.ts +8 -0
- package/components/assetTree/TreeSidebarCategories.js +33 -0
- package/components/assetTree/TreeSummary.d.ts +44 -2
- package/components/assetTree/TreeSummary.js +8 -22
- package/components/assetTree/TreeSummaryRow.d.ts +12 -0
- package/components/assetTree/TreeSummaryRow.js +5 -0
- package/components/assetTree/TypeCounter.d.ts +45 -2
- package/components/assetTree/TypeCounter.js +13 -23
- package/components/assetTree/excludeFromList.d.ts +1 -0
- package/components/assetTree/excludeFromList.js +1 -0
- package/components/assetTree/treeReducer.d.ts +47 -0
- package/components/assetTree/treeReducer.js +34 -0
- package/components/assetTree/treeUtils.d.ts +20 -0
- package/components/assetTree/treeUtils.js +88 -0
- package/components/autosuggest/AutoSuggest.d.ts +35 -2
- package/components/autosuggest/AutoSuggest.js +28 -18
- package/components/bottomSheet/BottomSheet.d.ts +2 -2
- package/components/bottomSheet/BottomSheet.js +3 -3
- package/components/bottomSheet/TimedBottomSheet.d.ts +98 -0
- package/components/bottomSheet/TimedBottomSheet.js +77 -0
- package/components/button/Button.d.ts +59 -37
- package/components/button/Button.js +16 -29
- package/components/button/ToggleButton.d.ts +5 -1
- package/components/button/ToggleButton.js +1 -0
- package/components/calendarStripe/CalendarStripe.d.ts +66 -2
- package/components/calendarStripe/CalendarStripe.js +21 -45
- package/components/carousel/Carousel.d.ts +8 -2
- package/components/carousel/Carousel.js +5 -9
- package/components/charts/Area.d.ts +6 -12
- package/components/charts/Area.js +1 -2
- package/components/charts/AreaChart.d.ts +29 -16
- package/components/charts/AreaChart.js +12 -25
- package/components/charts/AreaGradient.d.ts +6 -10
- package/components/charts/AreaGradient.js +5 -5
- package/components/charts/Bar.d.ts +4 -9
- package/components/charts/Bar.js +2 -2
- package/components/charts/BarChart.d.ts +31 -17
- package/components/charts/BarChart.js +22 -33
- package/components/charts/ChartGrid.d.ts +2 -0
- package/components/charts/ChartGrid.js +1 -0
- package/components/charts/ChartNeedle.d.ts +10 -11
- package/components/charts/ChartNeedle.js +3 -12
- package/components/charts/ChartTooltip.d.ts +4 -4
- package/components/charts/ChartTooltip.js +4 -2
- package/components/charts/Legend.d.ts +17 -10
- package/components/charts/Legend.js +14 -3
- package/components/charts/Line.d.ts +6 -11
- package/components/charts/Line.js +1 -1
- package/components/charts/LineChart.d.ts +27 -15
- package/components/charts/LineChart.js +12 -23
- package/components/charts/PieChart.d.ts +29 -19
- package/components/charts/PieChart.js +21 -36
- package/components/charts/RadialBarChart.d.ts +37 -19
- package/components/charts/RadialBarChart.js +11 -25
- package/components/charts/ResponsiveContainer.d.ts +2 -0
- package/components/charts/ResponsiveContainer.js +1 -0
- package/components/charts/chartHelper.d.ts +10 -5
- package/components/charts/chartHelper.js +6 -5
- package/components/checkbox/Checkbox.d.ts +15 -6
- package/components/clearableInput/ClearableInput.d.ts +60 -0
- package/components/clearableInput/ClearableInput.js +9 -6
- package/components/collapse/Collapse.d.ts +39 -58
- package/components/collapse/Collapse.js +22 -145
- package/components/contentLoader/ContentLoader.js +3 -1
- package/components/datepicker/DatePicker.d.ts +171 -2
- package/components/datepicker/DatePicker.js +23 -34
- package/components/datepicker/DateRangePicker.d.ts +5 -0
- package/components/datepicker/DateRangePicker.js +13 -9
- package/components/dialog/ConfirmationDialog.d.ts +11 -24
- package/components/dialog/ConfirmationDialog.js +8 -26
- package/components/dialog/Dialog.d.ts +105 -41
- package/components/dialog/Dialog.js +67 -35
- package/components/dialog/DialogBody.d.ts +8 -15
- package/components/dialog/DialogBody.js +4 -10
- package/components/dialog/DialogFooter.d.ts +8 -15
- package/components/dialog/DialogFooter.js +9 -12
- package/components/dialog/DialogHeader.d.ts +17 -17
- package/components/dialog/DialogHeader.js +15 -15
- package/components/dialog/FrameDialog.d.ts +31 -0
- package/components/dialog/FrameDialog.js +42 -0
- package/components/dialog/InfoDialog.d.ts +9 -17
- package/components/dialog/InfoDialog.js +6 -7
- package/components/dialog/MediaDialog.d.ts +64 -57
- package/components/dialog/MediaDialog.js +40 -83
- package/components/dialog/ReleaseNotesDialog.d.ts +60 -19
- package/components/dialog/ReleaseNotesDialog.js +9 -30
- package/components/dialog/SaveDialog.d.ts +34 -30
- package/components/dialog/SaveDialog.js +8 -18
- package/components/dialog/SimpleDialog.d.ts +9 -20
- package/components/dialog/SimpleDialog.js +6 -10
- package/components/dialog/SplitDialog.d.ts +29 -31
- package/components/dialog/SplitDialog.js +5 -15
- package/components/dialog/dialogContext.d.ts +10 -0
- package/components/dialog/dialogContext.js +17 -0
- package/components/divider/Divider.d.ts +46 -0
- package/components/divider/Divider.js +29 -0
- package/components/dropdown/ButtonDropdown.d.ts +120 -65
- package/components/dropdown/ButtonDropdown.js +28 -61
- package/components/dropdown/Caret.d.ts +1 -1
- package/components/dropdown/Caret.js +2 -1
- package/components/dropdown/DropdownSubmenu.d.ts +21 -18
- package/components/dropdown/DropdownSubmenu.js +26 -19
- package/components/dropdown/DropdownToggleButton.d.ts +14 -2
- package/components/dropdown/DropdownToggleButton.js +6 -14
- package/components/dropdown/SimpleButtonDropdown.d.ts +3 -1
- package/components/dropdown/SimpleButtonDropdown.js +3 -2
- package/components/dropdown/SingleButtonDropdown.d.ts +3 -1
- package/components/dropdown/SingleButtonDropdown.js +3 -2
- package/components/dropdown/SplitButtonDropdown.d.ts +3 -1
- package/components/dropdown/SplitButtonDropdown.js +3 -2
- package/components/dropdown/SplitCaretButton.d.ts +11 -2
- package/components/dropdown/SplitCaretButton.js +6 -11
- package/components/editableContent/EditableContent.d.ts +9 -1
- package/components/editableContent/EditableContent.js +30 -10
- package/components/expander/ExpanderList.d.ts +68 -38
- package/components/expander/ExpanderList.js +47 -87
- package/components/expander/ExpanderPanel.d.ts +74 -50
- package/components/expander/ExpanderPanel.js +11 -53
- package/components/fade/Fade.d.ts +75 -45
- package/components/fade/Fade.js +16 -98
- package/components/feedback/Feedback.d.ts +2 -0
- package/components/feedback/Feedback.js +5 -0
- package/components/filepicker/FilePicker.d.ts +57 -29
- package/components/filepicker/FilePicker.js +11 -32
- package/components/listMenu/ListMenu.d.ts +60 -43
- package/components/listMenu/ListMenu.js +47 -100
- package/components/listMenu/ListMenuGroup.d.ts +52 -0
- package/components/listMenu/ListMenuGroup.js +12 -0
- package/components/listMenu/ListMenuHeader.d.ts +8 -0
- package/components/listMenu/ListMenuHeader.js +10 -0
- package/components/map/.DS_Store +0 -0
- package/components/map/components/.DS_Store +0 -0
- package/components/map/components/Map.d.ts +12 -98
- package/components/map/components/Map.js +123 -242
- package/components/map/components/MapContext.d.ts +21 -0
- package/components/map/components/MapContext.js +14 -0
- package/components/map/components/MapElements.d.ts +6 -0
- package/components/map/components/MapElements.js +20 -0
- package/components/map/components/MapPosition.d.ts +6 -0
- package/components/map/components/MapPosition.js +27 -0
- package/components/map/components/MapSettingContext.d.ts +15 -0
- package/components/map/components/MapSettingContext.js +5 -0
- package/components/map/components/MapSize.d.ts +5 -0
- package/components/map/components/MapSize.js +17 -0
- package/components/map/components/constants.d.ts +18 -12
- package/components/map/components/constants.js +7 -1
- package/components/map/components/features/ContextMenu.d.ts +13 -1
- package/components/map/components/features/ContextMenu.js +88 -54
- package/components/map/components/features/ContextMenuItem.d.ts +12 -27
- package/components/map/components/features/ContextMenuItem.js +8 -22
- package/components/map/components/features/MapSettings.d.ts +6 -21
- package/components/map/components/features/MapSettings.js +15 -35
- package/components/map/components/features/MapZoom.d.ts +9 -0
- package/components/map/components/features/MapZoom.js +38 -0
- package/components/map/components/features/Route.d.ts +27 -47
- package/components/map/components/features/Route.js +21 -48
- package/components/map/components/features/basics/Circle.d.ts +12 -20
- package/components/map/components/features/basics/Circle.js +11 -18
- package/components/map/components/features/basics/InfoBubble.d.ts +14 -0
- package/components/map/components/features/basics/InfoBubble.js +46 -0
- package/components/map/components/features/basics/Marker.d.ts +17 -0
- package/components/map/components/features/basics/Marker.js +92 -0
- package/components/map/components/features/basics/Polygon.d.ts +10 -16
- package/components/map/components/features/basics/Polygon.js +14 -19
- package/components/map/components/features/basics/Polyline.d.ts +12 -19
- package/components/map/components/features/basics/Polyline.js +22 -20
- package/components/map/components/features/basics/TextMarker.d.ts +11 -0
- package/components/map/components/features/basics/TextMarker.js +12 -0
- package/components/map/components/features/basics/marker/DomMarker.d.ts +4 -4
- package/components/map/components/features/basics/marker/Marker.d.ts +2 -2
- package/components/map/components/features/layers/IncidentsLayer.js +21 -5
- package/components/map/components/features/layers/Layer.d.ts +3 -4
- package/components/map/components/features/layers/Layer.js +2 -5
- package/components/map/components/features/layers/MapLayerGroup.d.ts +8 -0
- package/components/map/components/features/layers/MapLayerGroup.js +38 -0
- package/components/map/components/features/layers/MapOverlayLayers.d.ts +5 -0
- package/components/map/components/features/layers/MapOverlayLayers.js +24 -0
- package/components/map/components/features/layers/MarkerLayer.d.ts +9 -13
- package/components/map/components/features/layers/MarkerLayer.js +6 -14
- package/components/map/components/features/layers/RoadRestrictionLayer.js +8 -2
- package/components/map/components/features/layers/TrafficLayer.js +25 -14
- package/components/map/components/features/layers/baselayers/useBaseLayer.js +12 -4
- package/components/map/components/features/layers/clustering/ClusterLayer.d.ts +21 -28
- package/components/map/components/features/layers/clustering/ClusterLayer.js +81 -31
- package/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +5 -9
- package/components/map/components/features/layers/clustering/SimpleClusterLayer.js +3 -8
- package/components/map/components/features/layers/overlayLayers/IncidentsLayer.d.ts +6 -0
- package/components/map/components/features/layers/overlayLayers/IncidentsLayer.js +273 -0
- package/components/map/components/features/layers/overlayLayers/Layer.d.ts +8 -0
- package/components/map/components/features/layers/overlayLayers/Layer.js +60 -0
- package/components/map/components/features/layers/overlayLayers/RoadRestrictionLayer.d.ts +5 -0
- package/components/map/components/features/layers/overlayLayers/RoadRestrictionLayer.js +37 -0
- package/components/map/components/features/layers/overlayLayers/TrafficLayer.d.ts +5 -0
- package/components/map/components/features/layers/overlayLayers/TrafficLayer.js +52 -0
- package/components/map/components/features/settings/MapSettingsItem.d.ts +9 -19
- package/components/map/components/features/settings/MapSettingsItem.js +5 -18
- package/components/map/components/features/settings/MapSettingsPanel.d.ts +5 -11
- package/components/map/components/features/settings/MapSettingsPanel.js +4 -10
- package/components/map/components/features/settings/MapSettingsTile.d.ts +12 -19
- package/components/map/components/features/settings/MapSettingsTile.js +7 -20
- package/components/map/components/features/settings/ZoomButtons.d.ts +6 -11
- package/components/map/components/features/settings/ZoomButtons.js +3 -7
- package/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +8 -18
- package/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +6 -16
- package/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +9 -21
- package/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +11 -23
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +9 -16
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +8 -18
- package/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +7 -13
- package/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +4 -12
- package/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +7 -13
- package/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +4 -12
- package/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +7 -13
- package/components/map/components/features/settings/buttons/MapLockMarkerButton.js +4 -12
- package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +5 -15
- package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +5 -14
- package/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +6 -18
- package/components/map/components/features/settings/items/MapLayerIncidentsItem.js +4 -15
- package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +6 -18
- package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +4 -15
- package/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +6 -18
- package/components/map/components/features/settings/items/MapLayerTrafficItem.js +4 -15
- package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +5 -15
- package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +5 -14
- package/components/map/exceptions/MapException.d.ts +2 -6
- package/components/map/exceptions/MapException.js +8 -6
- package/components/map/icons/MapIcon.d.ts +42 -40
- package/components/map/icons/MapIcon.js +5 -5
- package/components/map/utils/clustering.d.ts +9 -8
- package/components/map/utils/clustering.js +28 -23
- package/components/map/utils/eventHandling.d.ts +52 -46
- package/components/map/utils/eventHandling.js +44 -46
- package/components/map/utils/hooks.js +3 -3
- package/components/map/utils/localization.d.ts +2 -2
- package/components/map/utils/localization.js +3 -2
- package/components/map/utils/mapTypes.d.ts +166 -0
- package/components/map/utils/mapTypes.js +24 -0
- package/components/map/utils/mapUi.d.ts +2 -0
- package/components/map/utils/mapUi.js +28 -0
- package/components/map/utils/mapUtils.d.ts +88 -0
- package/components/map/utils/mapUtils.js +79 -0
- package/components/map/utils/positions.d.ts +25 -7
- package/components/map/utils/positions.js +56 -31
- package/components/map/utils/proptypes.d.ts +7 -7
- package/components/map/utils/rendering.d.ts +21 -0
- package/components/map/utils/rendering.js +123 -0
- package/components/mapMarker/ClusterMapMarker.d.ts +48 -25
- package/components/mapMarker/ClusterMapMarker.js +6 -42
- package/components/mapMarker/MarkerColor.d.ts +3 -0
- package/components/mapMarker/MarkerColor.js +12 -0
- package/components/mapMarker/SingleMapMarker.d.ts +87 -34
- package/components/mapMarker/SingleMapMarker.js +10 -58
- package/components/menuItems/MenuItem.d.ts +16 -0
- package/components/menuItems/MenuItem.js +1 -2
- package/components/menuItems/MenuItemList.d.ts +7 -0
- package/components/menuItems/MenuItemList.js +10 -0
- package/components/menuItems/MenuItems.d.ts +7 -2
- package/components/menuItems/MenuItems.js +10 -9
- package/components/navigation/AppNavigationBar.d.ts +20 -2
- package/components/navigation/AppNavigationBar.js +4 -14
- package/components/noData/NoData.d.ts +6 -5
- package/components/noData/NoData.js +2 -2
- package/components/notification/Notification.d.ts +32 -1
- package/components/notification/Notification.js +3 -2
- package/components/notification/NotificationsContainer.d.ts +7 -13
- package/components/notification/NotificationsContainer.js +2 -8
- package/components/numberControl/NumberControl.d.ts +1 -1
- package/components/numberControl/NumberControl.js +5 -4
- package/components/numberInput/NumberInput.d.ts +60 -12
- package/components/numberInput/NumberInput.js +21 -14
- package/components/onboarding/OnboardingTip.d.ts +145 -62
- package/components/onboarding/OnboardingTip.js +40 -92
- package/components/page/Page.d.ts +32 -0
- package/components/page/Page.js +18 -0
- package/components/popover/Popover.d.ts +42 -2
- package/components/popover/Popover.js +13 -18
- package/components/position/Position.d.ts +15 -9
- package/components/position/Position.js +5 -18
- package/components/preloader/ImagePreloader.d.ts +46 -21
- package/components/preloader/ImagePreloader.js +18 -28
- package/components/radiobutton/RadioButton.d.ts +110 -44
- package/components/radiobutton/RadioButton.js +16 -44
- package/components/releaseNotes/ReleaseNotes.d.ts +22 -17
- package/components/releaseNotes/ReleaseNotes.js +1 -1
- package/components/resizer/Resizer.js +4 -2
- package/components/responsiveColumnStripe/ResponsiveColumnStripe.d.ts +80 -2
- package/components/responsiveColumnStripe/ResponsiveColumnStripe.js +22 -47
- package/components/rules/RuleConnector.d.ts +61 -38
- package/components/rules/RuleConnector.js +7 -29
- package/components/rules/RuleContainer.d.ts +42 -27
- package/components/rules/RuleContainer.js +7 -23
- package/components/rules/RulesWrapper.d.ts +3 -7
- package/components/rules/RulesWrapper.js +6 -4
- package/components/saveableInput/SaveableInput.d.ts +42 -2
- package/components/saveableInput/SaveableInput.js +44 -15
- package/components/selects/BaseSelectDropdown.d.ts +56 -0
- package/components/selects/BaseSelectDropdown.js +175 -0
- package/components/selects/ClearButton.d.ts +8 -0
- package/components/selects/ClearButton.js +11 -0
- package/components/selects/DropdownHeader.d.ts +7 -13
- package/components/selects/DropdownHeader.js +4 -12
- package/components/selects/Multiselect.d.ts +150 -98
- package/components/selects/Multiselect.js +144 -287
- package/components/selects/MultiselectToggleCounter.d.ts +9 -0
- package/components/selects/MultiselectToggleCounter.js +14 -0
- package/components/selects/MultiselectToggleFilter.d.ts +10 -0
- package/components/selects/MultiselectToggleFilter.js +13 -0
- package/components/selects/MultiselectTogglePlaceholder.d.ts +6 -0
- package/components/selects/MultiselectTogglePlaceholder.js +7 -0
- package/components/selects/MultiselectToggleSelection.d.ts +14 -0
- package/components/selects/MultiselectToggleSelection.js +28 -0
- package/components/selects/NoItemMessage.d.ts +7 -0
- package/components/selects/NoItemMessage.js +11 -0
- package/components/selects/Select.d.ts +142 -97
- package/components/selects/Select.js +114 -258
- package/components/selects/SelectFilter.d.ts +8 -0
- package/components/selects/SelectFilter.js +11 -0
- package/components/selects/SelectedOption.d.ts +12 -0
- package/components/selects/SelectedOption.js +24 -0
- package/components/selects/WithFeedback.d.ts +27 -0
- package/components/selects/WithFeedback.js +12 -0
- package/components/selects/WithFeedbackAndAddon.d.ts +29 -0
- package/components/selects/WithFeedbackAndAddon.js +12 -0
- package/components/sidebars/Sidebar.d.ts +182 -111
- package/components/sidebars/Sidebar.js +166 -197
- package/components/sidebars/SidebarBackdrop.d.ts +7 -0
- package/components/sidebars/SidebarBackdrop.js +9 -0
- package/components/sidebars/SidebarCloseButton.d.ts +5 -0
- package/components/sidebars/SidebarCloseButton.js +8 -0
- package/components/sidebars/SidebarFooter.d.ts +7 -0
- package/components/sidebars/SidebarFooter.js +12 -0
- package/components/sidebars/SidebarFullscreenToggle.d.ts +7 -0
- package/components/sidebars/SidebarFullscreenToggle.js +15 -0
- package/components/slider/RangeSlider.d.ts +52 -32
- package/components/slider/RangeSlider.js +19 -38
- package/components/slider/Slider.d.ts +68 -37
- package/components/slider/Slider.js +6 -30
- package/components/smoothScrollbars/SmoothScrollbars.d.ts +16 -0
- package/components/smoothScrollbars/SmoothScrollbars.js +26 -0
- package/components/spinner/Spinner.d.ts +2 -1
- package/components/spinner/Spinner.js +1 -0
- package/components/states/BaseStateProps.d.ts +66 -0
- package/components/states/BaseStateProps.js +2 -0
- package/components/states/CustomState.d.ts +4 -14
- package/components/states/CustomState.js +17 -42
- package/components/states/EmptyState.d.ts +4 -8
- package/components/states/EmptyState.js +6 -6
- package/components/states/ErrorState.d.ts +4 -8
- package/components/states/ErrorState.js +6 -6
- package/components/states/ForbiddenState.d.ts +4 -8
- package/components/states/ForbiddenState.js +6 -6
- package/components/states/MaintenanceState.d.ts +4 -8
- package/components/states/MaintenanceState.js +6 -6
- package/components/states/NotBookedState.d.ts +9 -19
- package/components/states/NotBookedState.js +8 -23
- package/components/states/NotFoundState.d.ts +4 -8
- package/components/states/NotFoundState.js +6 -6
- package/components/states/StateButton.d.ts +27 -0
- package/components/states/StateButton.js +13 -0
- package/components/states/StateIcon.d.ts +7 -0
- package/components/states/StateIcon.js +4 -0
- package/components/statsWidget/StatsWidgetNumber.js +1 -1
- package/components/steppedProgressBar/SteppedProgressBar.d.ts +65 -34
- package/components/steppedProgressBar/SteppedProgressBar.js +5 -42
- package/components/supportMarker/toggleSupportMarker.d.ts +3 -3
- package/components/supportMarker/toggleSupportMarker.js +1 -1
- package/components/switch/Switch.d.ts +5 -9
- package/components/switch/Switch.js +3 -5
- package/components/table/SortArrowDown.d.ts +3 -0
- package/components/table/SortArrowDown.js +4 -0
- package/components/table/SortArrowUp.d.ts +3 -0
- package/components/table/SortArrowUp.js +4 -0
- package/components/table/SortArrows.d.ts +5 -5
- package/components/table/SortArrows.js +3 -4
- package/components/table/TableCardsSorting.d.ts +48 -36
- package/components/table/TableCardsSorting.js +16 -55
- package/components/table/TableSearch.d.ts +8 -8
- package/components/table/TableSearch.js +5 -10
- package/components/table/TableSettingsColumnButtons.d.ts +12 -28
- package/components/table/TableSettingsColumnButtons.js +4 -22
- package/components/table/TableSettingsColumnDetails.d.ts +8 -19
- package/components/table/TableSettingsColumnDetails.js +8 -20
- package/components/table/TableSettingsDialog.d.ts +157 -106
- package/components/table/TableSettingsDialog.js +144 -260
- package/components/table/TableSettingsDialog.types.d.ts +40 -0
- package/components/table/TableSettingsDialog.types.js +1 -0
- package/components/table/TableSettingsDialogFooter.d.ts +17 -43
- package/components/table/TableSettingsDialogFooter.js +6 -33
- package/components/table/TableSettingsListContainer.d.ts +8 -9
- package/components/table/TableSettingsListContainer.js +11 -21
- package/components/table/TableSettingsListItem.d.ts +9 -26
- package/components/table/TableSettingsListItem.js +9 -30
- package/components/table/TableToolbar.d.ts +8 -11
- package/components/table/TableToolbar.js +3 -10
- package/components/table/TableViewToggles.d.ts +57 -29
- package/components/table/TableViewToggles.js +24 -63
- package/components/tag/Tag.d.ts +68 -36
- package/components/tag/Tag.js +7 -30
- package/components/tag/TagList.d.ts +24 -16
- package/components/tag/TagList.js +6 -15
- package/components/tagManager/CustomSuggestionItem.d.ts +6 -12
- package/components/tagManager/CustomSuggestionItem.js +4 -9
- package/components/tagManager/TagManager.d.ts +61 -26
- package/components/tagManager/TagManager.js +22 -39
- package/components/tagManager/TagManagerItemList.d.ts +6 -13
- package/components/tagManager/TagManagerItemList.js +3 -13
- package/components/tagManager/TagManagerTag.d.ts +5 -0
- package/components/tagManager/TagManagerTag.js +1 -0
- package/components/teaser/Teaser.d.ts +93 -50
- package/components/teaser/Teaser.js +69 -118
- package/components/teaser/TeaserContainer.d.ts +25 -12
- package/components/teaser/TeaserContainer.js +10 -23
- package/components/timepicker/TimePicker.d.ts +49 -26
- package/components/timepicker/TimePicker.js +17 -32
- package/components/tooltip/SimpleTooltip.d.ts +5 -2
- package/components/tooltip/Tooltip.d.ts +11 -8
- package/components/tooltip/Tooltip.js +3 -3
- package/hooks/useAfterMount.d.ts +1 -1
- package/hooks/useClickOutside.d.ts +12 -1
- package/hooks/useClickOutside.js +18 -6
- package/hooks/useClipboard.d.ts +12 -5
- package/hooks/useClipboard.js +22 -7
- package/hooks/useDarkMode.d.ts +6 -1
- package/hooks/useDarkMode.js +22 -9
- package/hooks/useDebugInfo.d.ts +14 -2
- package/hooks/useDebugInfo.js +17 -3
- package/hooks/useDocumentTitle.d.ts +7 -0
- package/hooks/useDocumentTitle.js +14 -0
- package/hooks/useEffectOnce.d.ts +3 -1
- package/hooks/useEffectOnce.js +3 -2
- package/hooks/useElementSize.d.ts +9 -1
- package/hooks/useElementSize.js +13 -4
- package/hooks/useEsc.d.ts +5 -0
- package/hooks/useEsc.js +5 -0
- package/hooks/useEvent.d.ts +17 -1
- package/hooks/useEvent.js +8 -0
- package/hooks/useFullscreen.d.ts +28 -5
- package/hooks/useFullscreen.js +35 -49
- package/hooks/useHover.d.ts +6 -0
- package/hooks/useHover.js +6 -1
- package/hooks/useInterval.d.ts +10 -1
- package/hooks/useInterval.js +12 -3
- package/hooks/useIsFirstRender.d.ts +2 -0
- package/hooks/useIsFirstRender.js +10 -0
- package/hooks/useKey.d.ts +7 -0
- package/hooks/useKey.js +7 -0
- package/hooks/useMergeRefs.d.ts +10 -0
- package/hooks/useMergeRefs.js +46 -0
- package/hooks/useMutationObserver.d.ts +21 -5
- package/hooks/useMutationObserver.js +22 -6
- package/hooks/useOnMount.d.ts +9 -1
- package/hooks/useOnMount.js +10 -3
- package/hooks/useOnScreen.d.ts +18 -3
- package/hooks/useOnScreen.js +26 -4
- package/hooks/useOnlineStatus.d.ts +7 -1
- package/hooks/useOnlineStatus.js +8 -2
- package/hooks/usePostMessage.d.ts +32 -0
- package/hooks/usePostMessage.js +51 -0
- package/hooks/usePrevious.d.ts +1 -1
- package/hooks/usePrevious.js +6 -7
- package/hooks/useRenderCount.d.ts +2 -1
- package/hooks/useRenderCount.js +3 -2
- package/hooks/useResizeObserver.d.ts +8 -1
- package/hooks/useResizeObserver.js +14 -2
- package/hooks/useScrollPosition.d.ts +9 -1
- package/hooks/useScrollPosition.js +15 -9
- package/hooks/useStateWithValidation.d.ts +12 -1
- package/hooks/useStateWithValidation.js +18 -4
- package/hooks/useStorage.d.ts +22 -2
- package/hooks/useStorage.js +45 -10
- package/hooks/useTimeout.d.ts +11 -1
- package/hooks/useTimeout.js +20 -3
- package/hooks/useWindowResize.d.ts +8 -1
- package/hooks/useWindowResize.js +10 -1
- package/index.d.ts +189 -173
- package/index.js +189 -173
- package/lib/.DS_Store +0 -0
- package/lib/es/.DS_Store +0 -0
- package/lib/es/AppNavigationBar.d.ts +2 -5
- package/lib/es/AppNavigationBar.js +3 -2
- package/lib/es/Area.d.ts +2 -5
- package/lib/es/Area.js +3 -2
- package/lib/es/AreaChart.d.ts +2 -5
- package/lib/es/AreaChart.js +3 -2
- package/lib/es/AreaGradient.d.ts +2 -5
- package/lib/es/AreaGradient.js +3 -2
- package/lib/es/AssetTree.d.ts +2 -5
- package/lib/es/AssetTree.js +3 -2
- package/lib/es/Bar.d.ts +2 -8
- package/lib/es/Bar.js +3 -2
- package/lib/es/BarChart.d.ts +2 -5
- package/lib/es/BarChart.js +3 -2
- package/lib/es/ButtonDropdown.d.ts +2 -5
- package/lib/es/ButtonDropdown.js +3 -2
- package/lib/es/CalendarStripe.d.ts +2 -5
- package/lib/es/CalendarStripe.js +3 -2
- package/lib/es/Carousel.d.ts +2 -11
- package/lib/es/Carousel.js +3 -2
- package/lib/es/ChartGrid.d.ts +1 -0
- package/lib/es/ChartGrid.js +4 -0
- package/lib/es/ChartNeedle.d.ts +2 -5
- package/lib/es/ChartNeedle.js +3 -2
- package/lib/es/ChartTooltip.d.ts +2 -5
- package/lib/es/ChartTooltip.js +3 -2
- package/lib/es/Circle.d.ts +2 -5
- package/lib/es/Circle.js +3 -2
- package/lib/es/ClusterLayer.d.ts +2 -5
- package/lib/es/ClusterLayer.js +3 -2
- package/lib/es/ClusterMapMarker.d.ts +2 -5
- package/lib/es/ClusterMapMarker.js +3 -2
- package/lib/es/ClusterUtils.d.ts +1 -5
- package/lib/es/ClusterUtils.js +2 -3
- package/lib/es/Collapse.d.ts +2 -5
- package/lib/es/Collapse.js +3 -2
- package/lib/es/ColorScheme.d.ts +1 -4
- package/lib/es/ColorScheme.js +2 -4
- package/lib/es/Colors.d.ts +1 -21
- package/lib/es/Colors.js +5 -3
- package/lib/es/ConfirmationDialog.d.ts +2 -14
- package/lib/es/ConfirmationDialog.js +3 -2
- package/lib/es/ContextMenu.d.ts +2 -5
- package/lib/es/ContextMenu.js +3 -2
- package/lib/es/ContextMenuItem.d.ts +2 -5
- package/lib/es/ContextMenuItem.js +3 -2
- package/lib/es/CustomState.d.ts +2 -5
- package/lib/es/CustomState.js +3 -2
- package/lib/es/DatePicker.d.ts +2 -5
- package/lib/es/DatePicker.js +3 -2
- package/lib/es/DateRangePicker.d.ts +43 -4
- package/lib/es/DateRangePicker.js +8 -2
- package/lib/es/DeviceUtils.d.ts +1 -13
- package/lib/es/DeviceUtils.js +2 -14
- package/lib/es/Dialog.d.ts +2 -15
- package/lib/es/Dialog.js +3 -2
- package/lib/es/Divider.d.ts +2 -0
- package/lib/es/Divider.js +7 -0
- package/lib/es/DropdownSubmenu.d.ts +2 -5
- package/lib/es/DropdownSubmenu.js +3 -2
- package/lib/es/EmptyState.d.ts +2 -5
- package/lib/es/EmptyState.js +3 -2
- package/lib/es/ErrorState.d.ts +2 -5
- package/lib/es/ErrorState.js +3 -2
- package/lib/es/EventUtils.d.ts +2 -36
- package/lib/es/EventUtils.js +4 -2
- package/lib/es/ExpanderList.d.ts +2 -5
- package/lib/es/ExpanderList.js +3 -2
- package/lib/es/ExpanderPanel.d.ts +2 -5
- package/lib/es/ExpanderPanel.js +3 -2
- package/lib/es/Fade.d.ts +2 -14
- package/lib/es/Fade.js +3 -2
- package/lib/es/FilePicker.d.ts +2 -9
- package/lib/es/FilePicker.js +3 -2
- package/lib/es/ForbiddenState.d.ts +2 -5
- package/lib/es/ForbiddenState.js +3 -2
- package/lib/es/FrameDialog.d.ts +2 -0
- package/lib/es/FrameDialog.js +7 -0
- package/lib/es/ImagePreloader.d.ts +2 -5
- package/lib/es/ImagePreloader.js +3 -2
- package/lib/es/IncidentsLayer.js +1 -1
- package/lib/es/InfoBubble.d.ts +2 -0
- package/lib/es/InfoBubble.js +7 -0
- package/lib/es/InfoDialog.d.ts +2 -5
- package/lib/es/InfoDialog.js +3 -2
- package/lib/es/Legend.d.ts +2 -5
- package/lib/es/Legend.js +3 -2
- package/lib/es/Line.d.ts +2 -5
- package/lib/es/Line.js +3 -2
- package/lib/es/LineChart.d.ts +2 -5
- package/lib/es/LineChart.js +3 -2
- package/lib/es/ListMenu.d.ts +2 -6
- package/lib/es/ListMenu.js +3 -2
- package/lib/es/MaintenanceState.d.ts +2 -5
- package/lib/es/MaintenanceState.js +3 -2
- package/lib/es/Map.d.ts +2 -12
- package/lib/es/Map.js +3 -2
- package/lib/es/MapBoundingBoxButton.d.ts +2 -5
- package/lib/es/MapBoundingBoxButton.js +3 -2
- package/lib/es/MapCenterMarkerButton.d.ts +2 -5
- package/lib/es/MapCenterMarkerButton.js +3 -2
- package/lib/es/MapClusterSettings.d.ts +2 -5
- package/lib/es/MapClusterSettings.js +3 -2
- package/lib/es/MapContext.d.ts +1 -0
- package/lib/es/MapContext.js +4 -0
- package/lib/es/MapCustomerPoiSettingsItem.d.ts +2 -5
- package/lib/es/MapCustomerPoiSettingsItem.js +3 -2
- package/lib/es/MapLayerGroup.d.ts +2 -5
- package/lib/es/MapLayerGroup.js +3 -2
- package/lib/es/MapLayerIncidentsItem.d.ts +2 -5
- package/lib/es/MapLayerIncidentsItem.js +3 -2
- package/lib/es/MapLayerRoadRestrictionsItem.d.ts +2 -5
- package/lib/es/MapLayerRoadRestrictionsItem.js +3 -2
- package/lib/es/MapLayerSettings.d.ts +2 -5
- package/lib/es/MapLayerSettings.js +3 -2
- package/lib/es/MapLayerTrafficItem.d.ts +2 -5
- package/lib/es/MapLayerTrafficItem.js +3 -2
- package/lib/es/MapLockMarkerButton.d.ts +2 -5
- package/lib/es/MapLockMarkerButton.js +3 -2
- package/lib/es/MapSettings.d.ts +2 -5
- package/lib/es/MapSettings.js +3 -2
- package/lib/es/MapSettingsItem.d.ts +2 -5
- package/lib/es/MapSettingsItem.js +3 -2
- package/lib/es/MapSettingsPanel.d.ts +2 -5
- package/lib/es/MapSettingsPanel.js +3 -2
- package/lib/es/MapSettingsTile.d.ts +2 -5
- package/lib/es/MapSettingsTile.js +3 -2
- package/lib/es/MapTypeSettings.d.ts +2 -5
- package/lib/es/MapTypeSettings.js +3 -2
- package/lib/es/MapWorkshopPoiSettingsItem.d.ts +2 -5
- package/lib/es/MapWorkshopPoiSettingsItem.js +3 -2
- package/lib/es/Marker.d.ts +2 -5
- package/lib/es/Marker.js +3 -2
- package/lib/es/MarkerLayer.d.ts +2 -5
- package/lib/es/MarkerLayer.js +3 -2
- package/lib/es/MediaDialog.d.ts +2 -9
- package/lib/es/MediaDialog.js +3 -2
- package/lib/es/MenuItem.d.ts +2 -5
- package/lib/es/MenuItem.js +3 -2
- package/lib/es/MenuItemList.d.ts +2 -0
- package/lib/es/MenuItemList.js +7 -0
- package/lib/es/MenuItems.d.ts +2 -0
- package/lib/es/MenuItems.js +7 -0
- package/lib/es/Multiselect.d.ts +2 -12
- package/lib/es/Multiselect.js +3 -2
- package/lib/es/NotBookedState.d.ts +2 -5
- package/lib/es/NotFoundState.d.ts +2 -5
- package/lib/es/NotFoundState.js +3 -2
- package/lib/es/Notification.d.ts +2 -9
- package/lib/es/Notification.js +3 -2
- package/lib/es/NotificationsContainer.d.ts +2 -5
- package/lib/es/NotificationsContainer.js +3 -2
- package/lib/es/OnboardingTip.d.ts +2 -30
- package/lib/es/OnboardingTip.js +3 -2
- package/lib/es/Page.d.ts +2 -0
- package/lib/es/Page.js +7 -0
- package/lib/es/PieChart.d.ts +2 -5
- package/lib/es/PieChart.js +3 -2
- package/lib/es/Polygon.d.ts +2 -5
- package/lib/es/Polygon.js +3 -2
- package/lib/es/Polyline.d.ts +2 -5
- package/lib/es/Polyline.js +3 -2
- package/lib/es/Popover.d.ts +2 -11
- package/lib/es/Popover.js +3 -2
- package/lib/es/Position.d.ts +2 -5
- package/lib/es/Position.js +3 -2
- package/lib/es/PositionUtils.d.ts +1 -8
- package/lib/es/PositionUtils.js +2 -3
- package/lib/es/RadialBarChart.d.ts +2 -5
- package/lib/es/RadialBarChart.js +3 -2
- package/lib/es/RadioButton.d.ts +2 -5
- package/lib/es/RadioButton.js +3 -2
- package/lib/es/RangeSlider.d.ts +2 -5
- package/lib/es/RangeSlider.js +3 -2
- package/lib/es/ReleaseNotes.d.ts +2 -2
- package/lib/es/ReleaseNotes.js +3 -2
- package/lib/es/ReleaseNotesDialog.d.ts +2 -5
- package/lib/es/ResponsiveColumnStripe.d.ts +2 -5
- package/lib/es/ResponsiveColumnStripe.js +3 -2
- package/lib/es/ResponsiveContainer.d.ts +1 -0
- package/lib/es/ResponsiveContainer.js +4 -0
- package/lib/es/Route.d.ts +2 -5
- package/lib/es/Route.js +3 -2
- package/lib/es/RuleConnector.d.ts +2 -10
- package/lib/es/RuleConnector.js +3 -2
- package/lib/es/RuleContainer.d.ts +2 -6
- package/lib/es/RuleContainer.js +3 -2
- package/lib/es/RulesWrapper.d.ts +2 -6
- package/lib/es/RulesWrapper.js +3 -2
- package/lib/es/SaveDialog.d.ts +2 -14
- package/lib/es/SaveDialog.js +3 -2
- package/lib/es/Sector.d.ts +1 -0
- package/lib/es/Sector.js +5 -0
- package/lib/es/Select.d.ts +2 -5
- package/lib/es/Select.js +3 -2
- package/lib/es/Sidebar.d.ts +2 -11
- package/lib/es/Sidebar.js +3 -2
- package/lib/es/SimpleButtonDropdown.d.ts +2 -5
- package/lib/es/SimpleButtonDropdown.js +3 -2
- package/lib/es/SimpleClusterLayer.d.ts +2 -5
- package/lib/es/SimpleClusterLayer.js +3 -2
- package/lib/es/SimpleDialog.d.ts +2 -14
- package/lib/es/SimpleDialog.js +3 -2
- package/lib/es/SingleButtonDropdown.d.ts +2 -5
- package/lib/es/SingleButtonDropdown.js +3 -2
- package/lib/es/SingleMapMarker.d.ts +2 -5
- package/lib/es/SingleMapMarker.js +3 -2
- package/lib/es/Slider.d.ts +2 -5
- package/lib/es/Slider.js +3 -2
- package/lib/es/SortArrowDown.d.ts +2 -5
- package/lib/es/SortArrowDown.js +4 -2
- package/lib/es/SortArrowUp.d.ts +2 -5
- package/lib/es/SortArrowUp.js +4 -2
- package/lib/es/SortArrows.d.ts +2 -5
- package/lib/es/SortArrows.js +4 -2
- package/lib/es/SortDirection.d.ts +2 -11
- package/lib/es/SortDirection.js +4 -2
- package/lib/es/SortUtils.d.ts +2 -16
- package/lib/es/SortUtils.js +5 -4
- package/lib/es/SplitButtonDropdown.d.ts +2 -5
- package/lib/es/SplitButtonDropdown.js +3 -2
- package/lib/es/SplitDialog.d.ts +2 -14
- package/lib/es/SplitDialog.js +3 -2
- package/lib/es/SteppedProgressBar.d.ts +2 -9
- package/lib/es/SteppedProgressBar.js +3 -2
- package/lib/es/SubNavigation.d.ts +2 -5
- package/lib/es/SubNavigation.js +3 -2
- package/lib/es/SupportMarker.d.ts +1 -9
- package/lib/es/SupportMarker.js +2 -6
- package/lib/es/TableCardsSorting.d.ts +2 -5
- package/lib/es/TableCardsSorting.js +3 -2
- package/lib/es/TableSearch.d.ts +2 -5
- package/lib/es/TableSearch.js +3 -2
- package/lib/es/TableSettingsDialog.d.ts +2 -5
- package/lib/es/TableSettingsDialog.js +3 -2
- package/lib/es/TableToolbar.d.ts +2 -5
- package/lib/es/TableToolbar.js +3 -2
- package/lib/es/TableViewToggles.d.ts +2 -12
- package/lib/es/TableViewToggles.js +3 -2
- package/lib/es/Tag.d.ts +2 -5
- package/lib/es/Tag.js +3 -2
- package/lib/es/TagList.d.ts +1 -5
- package/lib/es/TagList.js +5 -3
- package/lib/es/TagManager.d.ts +2 -5
- package/lib/es/TagManager.js +3 -2
- package/lib/es/Teaser.d.ts +2 -5
- package/lib/es/Teaser.js +3 -2
- package/lib/es/TeaserContainer.d.ts +2 -5
- package/lib/es/TeaserContainer.js +3 -2
- package/lib/es/TextMarker.d.ts +2 -5
- package/lib/es/TextMarker.js +3 -2
- package/lib/es/TimePicker.d.ts +2 -5
- package/lib/es/TimePicker.js +3 -2
- package/lib/es/TimedBottomSheet.d.ts +2 -0
- package/lib/es/TimedBottomSheet.js +7 -0
- package/lib/es/Tree.d.ts +2 -5
- package/lib/es/Tree.js +3 -2
- package/lib/es/TreeCategory.d.ts +2 -5
- package/lib/es/TreeCategory.js +3 -2
- package/lib/es/TreeOption.d.ts +2 -5
- package/lib/es/TreeOption.js +3 -2
- package/lib/es/TreeSearch.d.ts +2 -5
- package/lib/es/TreeSearch.js +3 -2
- package/lib/es/TreeSummary.d.ts +2 -5
- package/lib/es/TreeSummary.js +3 -2
- package/lib/es/TreeSummaryRow.d.ts +2 -0
- package/lib/es/TreeSummaryRow.js +7 -0
- package/lib/es/TypeCounter.d.ts +2 -5
- package/lib/es/TypeCounter.js +3 -2
- package/lib/es/VolkswagenApplicationHeader.d.ts +2 -5
- package/lib/es/VolkswagenApplicationHeader.js +3 -2
- package/lib/es/components/.DS_Store +0 -0
- package/lib/es/components/actionBarItem/ActionBarItem.d.ts +11 -4
- package/lib/es/components/actionBarItem/ActionBarItem.js +1 -1
- package/lib/es/components/actionBarItem/ActionBarItemIcon.d.ts +2 -2
- package/lib/es/components/actionBarItem/ActionBarItemIcon.js +1 -0
- package/lib/es/components/actionBarItem/ActionBarItemList.d.ts +3 -6
- package/lib/es/components/actionBarItem/ActionBarItemList.js +0 -1
- package/lib/es/components/actionBarItem/ActionBarItemListItem.d.ts +7 -10
- package/lib/es/components/actionBarItem/ActionBarItemListItem.js +0 -1
- package/lib/es/components/actionBarItem/ActionBarItemListSeparator.d.ts +3 -5
- package/lib/es/components/actionBarItem/ActionBarItemListSeparator.js +1 -1
- package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.d.ts +11 -6
- package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.js +1 -0
- package/lib/es/components/activity/Activity.d.ts +4 -7
- package/lib/es/components/animatedNumber/AnimatedNumber.d.ts +68 -11
- package/lib/es/components/applicationHeader/AppMenuDropdown.js +1 -1
- package/lib/es/components/applicationHeader/ApplicationActionBar.d.ts +1 -1
- package/lib/es/components/applicationHeader/ApplicationHeader.d.ts +18 -8
- package/lib/es/components/applicationLayout/ApplicationLayout.d.ts +1 -1
- package/lib/es/components/applicationLayout/ApplicationLayout.js +3 -2
- package/lib/es/components/applicationLayout/ApplicationLayoutBody.d.ts +4 -1
- package/lib/es/components/applicationLayout/ApplicationLayoutBody.js +14 -6
- package/lib/es/components/applicationLayout/SubNavigation.js +1 -1
- package/lib/es/components/assetTree/AssetTree.d.ts +84 -2
- package/lib/es/components/assetTree/AssetTree.js +49 -78
- package/lib/es/components/assetTree/Tree.d.ts +195 -3
- package/lib/es/components/assetTree/Tree.js +104 -251
- package/lib/es/components/assetTree/TreeCategory.d.ts +21 -11
- package/lib/es/components/assetTree/TreeCategory.js +1 -10
- package/lib/es/components/assetTree/TreeLeaf.d.ts +1 -1
- package/lib/es/components/assetTree/TreeLeaf.js +2 -2
- package/lib/es/components/assetTree/TreeLeafList.d.ts +10 -13
- package/lib/es/components/assetTree/TreeLeafList.js +10 -20
- package/lib/es/components/assetTree/TreeNode.d.ts +12 -2
- package/lib/es/components/assetTree/TreeNode.js +2 -18
- package/lib/es/components/assetTree/TreeNodeContainer.d.ts +7 -12
- package/lib/es/components/assetTree/TreeNodeContainer.js +5 -8
- package/lib/es/components/assetTree/TreeNothingFound.d.ts +3 -2
- package/lib/es/components/assetTree/TreeNothingFound.js +1 -8
- package/lib/es/components/assetTree/TreeOption.d.ts +24 -17
- package/lib/es/components/assetTree/TreeOption.js +5 -15
- package/lib/es/components/assetTree/TreeOptions.d.ts +6 -13
- package/lib/es/components/assetTree/TreeOptions.js +5 -13
- package/lib/es/components/assetTree/TreeRoot.d.ts +6 -11
- package/lib/es/components/assetTree/TreeRoot.js +8 -9
- package/lib/es/components/assetTree/TreeSearch.d.ts +23 -2
- package/lib/es/components/assetTree/TreeSearch.js +4 -13
- package/lib/es/components/assetTree/TreeSelectAll.d.ts +11 -26
- package/lib/es/components/assetTree/TreeSelectAll.js +7 -23
- package/lib/es/components/assetTree/TreeSidebar.d.ts +10 -2
- package/lib/es/components/assetTree/TreeSidebar.js +5 -37
- package/lib/es/components/assetTree/TreeSidebarCategories.d.ts +8 -0
- package/lib/es/components/assetTree/TreeSidebarCategories.js +36 -0
- package/lib/es/components/assetTree/TreeSummary.d.ts +44 -2
- package/lib/es/components/assetTree/TreeSummary.js +7 -21
- package/lib/es/components/assetTree/TreeSummaryRow.d.ts +12 -0
- package/lib/es/components/assetTree/TreeSummaryRow.js +9 -0
- package/lib/es/components/assetTree/TypeCounter.d.ts +45 -2
- package/lib/es/components/assetTree/TypeCounter.js +13 -23
- package/lib/es/components/assetTree/autoAnimateFrames.d.ts +1 -0
- package/lib/es/components/assetTree/autoAnimateFrames.js +55 -0
- package/lib/es/components/assetTree/excludeFromList.d.ts +1 -0
- package/lib/es/components/assetTree/excludeFromList.js +5 -0
- package/lib/es/components/assetTree/treeReducer.d.ts +47 -0
- package/lib/es/components/assetTree/treeReducer.js +47 -0
- package/lib/es/components/assetTree/treeUtils.d.ts +20 -0
- package/lib/es/components/assetTree/treeUtils.js +106 -0
- package/lib/es/components/autosuggest/AutoSuggest.d.ts +35 -2
- package/lib/es/components/autosuggest/AutoSuggest.js +28 -18
- package/lib/es/components/bottomSheet/BottomSheet.d.ts +2 -2
- package/lib/es/components/bottomSheet/BottomSheet.js +2 -2
- package/lib/es/components/bottomSheet/TimedBottomSheet.d.ts +98 -0
- package/lib/es/components/bottomSheet/TimedBottomSheet.js +81 -0
- package/lib/es/components/button/Button.d.ts +59 -37
- package/lib/es/components/button/Button.js +15 -27
- package/lib/es/components/button/ToggleButton.d.ts +5 -1
- package/lib/es/components/button/ToggleButton.js +1 -0
- package/lib/es/components/calendarStripe/CalendarStripe.d.ts +66 -2
- package/lib/es/components/calendarStripe/CalendarStripe.js +19 -43
- package/lib/es/components/carousel/Carousel.d.ts +8 -2
- package/lib/es/components/carousel/Carousel.js +4 -9
- package/lib/es/components/charts/Area.d.ts +6 -12
- package/lib/es/components/charts/Area.js +1 -2
- package/lib/es/components/charts/AreaChart.d.ts +29 -16
- package/lib/es/components/charts/AreaChart.js +11 -24
- package/lib/es/components/charts/AreaGradient.d.ts +6 -10
- package/lib/es/components/charts/AreaGradient.js +6 -6
- package/lib/es/components/charts/Bar.d.ts +4 -9
- package/lib/es/components/charts/Bar.js +2 -2
- package/lib/es/components/charts/BarChart.d.ts +31 -17
- package/lib/es/components/charts/BarChart.js +21 -32
- package/lib/es/components/charts/ChartGrid.d.ts +2 -0
- package/lib/es/components/charts/ChartGrid.js +3 -0
- package/lib/es/components/charts/ChartNeedle.d.ts +10 -11
- package/lib/es/components/charts/ChartNeedle.js +3 -13
- package/lib/es/components/charts/ChartTooltip.d.ts +4 -4
- package/lib/es/components/charts/ChartTooltip.js +6 -2
- package/lib/es/components/charts/Legend.d.ts +17 -10
- package/lib/es/components/charts/Legend.js +14 -3
- package/lib/es/components/charts/Line.d.ts +6 -11
- package/lib/es/components/charts/Line.js +1 -1
- package/lib/es/components/charts/LineChart.d.ts +27 -15
- package/lib/es/components/charts/LineChart.js +11 -22
- package/lib/es/components/charts/PieChart.d.ts +29 -19
- package/lib/es/components/charts/PieChart.js +20 -35
- package/lib/es/components/charts/RadialBarChart.d.ts +37 -19
- package/lib/es/components/charts/RadialBarChart.js +10 -24
- package/lib/es/components/charts/ResponsiveContainer.d.ts +2 -0
- package/lib/es/components/charts/ResponsiveContainer.js +3 -0
- package/lib/es/components/charts/Sector.d.ts +0 -0
- package/lib/es/components/charts/Sector.js +1 -0
- package/lib/es/components/charts/chartHelper.d.ts +10 -5
- package/lib/es/components/charts/chartHelper.js +9 -8
- package/lib/es/components/checkbox/Checkbox.d.ts +15 -6
- package/lib/es/components/clearableInput/ClearableInput.d.ts +60 -0
- package/lib/es/components/clearableInput/ClearableInput.js +9 -6
- package/lib/es/components/collapse/Collapse.d.ts +39 -58
- package/lib/es/components/collapse/Collapse.js +21 -144
- package/lib/es/components/contentLoader/ContentLoader.js +3 -1
- package/lib/es/components/datepicker/DatePicker.d.ts +171 -2
- package/lib/es/components/datepicker/DatePicker.js +22 -33
- package/lib/es/components/datepicker/DateRangePicker.d.ts +5 -0
- package/lib/es/components/datepicker/DateRangePicker.js +13 -9
- package/lib/es/components/dialog/ConfirmationDialog.d.ts +11 -24
- package/lib/es/components/dialog/ConfirmationDialog.js +8 -26
- package/lib/es/components/dialog/Dialog.d.ts +105 -41
- package/lib/es/components/dialog/Dialog.js +66 -34
- package/lib/es/components/dialog/DialogBody.d.ts +8 -15
- package/lib/es/components/dialog/DialogBody.js +4 -10
- package/lib/es/components/dialog/DialogFooter.d.ts +8 -15
- package/lib/es/components/dialog/DialogFooter.js +9 -12
- package/lib/es/components/dialog/DialogHeader.d.ts +17 -17
- package/lib/es/components/dialog/DialogHeader.js +15 -15
- package/lib/es/components/dialog/FrameDialog.d.ts +31 -0
- package/lib/es/components/dialog/FrameDialog.js +46 -0
- package/lib/es/components/dialog/InfoDialog.d.ts +9 -17
- package/lib/es/components/dialog/InfoDialog.js +5 -7
- package/lib/es/components/dialog/MediaDialog.d.ts +64 -57
- package/lib/es/components/dialog/MediaDialog.js +40 -83
- package/lib/es/components/dialog/ReleaseNotesDialog.d.ts +60 -19
- package/lib/es/components/dialog/ReleaseNotesDialog.js +9 -30
- package/lib/es/components/dialog/SaveDialog.d.ts +34 -30
- package/lib/es/components/dialog/SaveDialog.js +8 -18
- package/lib/es/components/dialog/SimpleDialog.d.ts +9 -20
- package/lib/es/components/dialog/SimpleDialog.js +5 -10
- package/lib/es/components/dialog/SplitDialog.d.ts +29 -31
- package/lib/es/components/dialog/SplitDialog.js +5 -15
- package/lib/es/components/dialog/dialogContext.d.ts +10 -0
- package/lib/es/components/dialog/dialogContext.js +22 -0
- package/lib/es/components/divider/Divider.d.ts +46 -0
- package/lib/es/components/divider/Divider.js +32 -0
- package/lib/es/components/dropdown/ButtonDropdown.d.ts +120 -65
- package/lib/es/components/dropdown/ButtonDropdown.js +27 -60
- package/lib/es/components/dropdown/Caret.d.ts +1 -1
- package/lib/es/components/dropdown/Caret.js +2 -2
- package/lib/es/components/dropdown/DropdownSubmenu.d.ts +21 -18
- package/lib/es/components/dropdown/DropdownSubmenu.js +26 -19
- package/lib/es/components/dropdown/DropdownToggleButton.d.ts +14 -2
- package/lib/es/components/dropdown/DropdownToggleButton.js +6 -14
- package/lib/es/components/dropdown/SimpleButtonDropdown.d.ts +3 -1
- package/lib/es/components/dropdown/SimpleButtonDropdown.js +3 -2
- package/lib/es/components/dropdown/SingleButtonDropdown.d.ts +3 -1
- package/lib/es/components/dropdown/SingleButtonDropdown.js +3 -2
- package/lib/es/components/dropdown/SplitButtonDropdown.d.ts +3 -1
- package/lib/es/components/dropdown/SplitButtonDropdown.js +3 -2
- package/lib/es/components/dropdown/SplitCaretButton.d.ts +11 -2
- package/lib/es/components/dropdown/SplitCaretButton.js +6 -11
- package/lib/es/components/editableContent/EditableContent.d.ts +9 -1
- package/lib/es/components/editableContent/EditableContent.js +30 -10
- package/lib/es/components/expander/ExpanderList.d.ts +68 -38
- package/lib/es/components/expander/ExpanderList.js +47 -88
- package/lib/es/components/expander/ExpanderPanel.d.ts +74 -50
- package/lib/es/components/expander/ExpanderPanel.js +11 -53
- package/lib/es/components/fade/Fade.d.ts +75 -45
- package/lib/es/components/fade/Fade.js +16 -98
- package/lib/es/components/feedback/Feedback.d.ts +2 -0
- package/lib/es/components/feedback/Feedback.js +7 -0
- package/lib/es/components/filepicker/FilePicker.d.ts +57 -29
- package/lib/es/components/filepicker/FilePicker.js +11 -32
- package/lib/es/components/listMenu/ListMenu.d.ts +60 -43
- package/lib/es/components/listMenu/ListMenu.js +47 -100
- package/lib/es/components/listMenu/ListMenuGroup.d.ts +52 -0
- package/lib/es/components/listMenu/ListMenuGroup.js +15 -0
- package/lib/es/components/listMenu/ListMenuHeader.d.ts +8 -0
- package/lib/es/components/listMenu/ListMenuHeader.js +12 -0
- package/lib/es/components/map/components/Map.d.ts +12 -98
- package/lib/es/components/map/components/Map.js +124 -244
- package/lib/es/components/map/components/MapContext.d.ts +21 -0
- package/lib/es/components/map/components/MapContext.js +18 -0
- package/lib/es/components/map/components/MapElements.d.ts +6 -0
- package/lib/es/components/map/components/MapElements.js +23 -0
- package/lib/es/components/map/components/MapPosition.d.ts +6 -0
- package/lib/es/components/map/components/MapPosition.js +29 -0
- package/lib/es/components/map/components/MapSettingContext.d.ts +15 -0
- package/lib/es/components/map/components/MapSettingContext.js +8 -0
- package/lib/es/components/map/components/MapSize.d.ts +5 -0
- package/lib/es/components/map/components/MapSize.js +20 -0
- package/lib/es/components/map/components/constants.d.ts +18 -12
- package/lib/es/components/map/components/constants.js +8 -2
- package/lib/es/components/map/components/features/ContextMenu.d.ts +13 -1
- package/lib/es/components/map/components/features/ContextMenu.js +90 -53
- package/lib/es/components/map/components/features/ContextMenuItem.d.ts +12 -27
- package/lib/es/components/map/components/features/ContextMenuItem.js +8 -22
- package/lib/es/components/map/components/features/MapSettings.d.ts +6 -21
- package/lib/es/components/map/components/features/MapSettings.js +15 -35
- package/lib/es/components/map/components/features/MapZoom.d.ts +9 -0
- package/lib/es/components/map/components/features/MapZoom.js +41 -0
- package/lib/es/components/map/components/features/Route.d.ts +27 -47
- package/lib/es/components/map/components/features/Route.js +21 -48
- package/lib/es/components/map/components/features/basics/Circle.d.ts +12 -20
- package/lib/es/components/map/components/features/basics/Circle.js +10 -18
- package/lib/es/components/map/components/features/basics/InfoBubble.d.ts +14 -0
- package/lib/es/components/map/components/features/basics/InfoBubble.js +49 -0
- package/lib/es/components/map/components/features/basics/Marker.d.ts +17 -0
- package/lib/es/components/map/components/features/basics/Marker.js +99 -0
- package/lib/es/components/map/components/features/basics/Polygon.d.ts +10 -16
- package/lib/es/components/map/components/features/basics/Polygon.js +13 -18
- package/lib/es/components/map/components/features/basics/Polyline.d.ts +12 -19
- package/lib/es/components/map/components/features/basics/Polyline.js +21 -19
- package/lib/es/components/map/components/features/basics/TextMarker.d.ts +11 -0
- package/lib/es/components/map/components/features/basics/TextMarker.js +15 -0
- package/lib/es/components/map/components/features/basics/marker/DomMarker.d.ts +4 -4
- package/lib/es/components/map/components/features/basics/marker/Marker.d.ts +2 -2
- package/lib/es/components/map/components/features/layers/IncidentsLayer.js +20 -5
- package/lib/es/components/map/components/features/layers/Layer.d.ts +3 -4
- package/lib/es/components/map/components/features/layers/Layer.js +2 -5
- package/lib/es/components/map/components/features/layers/MapBaseLayer.d.ts +8 -0
- package/lib/es/components/map/components/features/layers/MapBaseLayer.js +35 -0
- package/lib/es/components/map/components/features/layers/MapLayerGroup.d.ts +8 -0
- package/lib/es/components/map/components/features/layers/MapLayerGroup.js +40 -0
- package/lib/es/components/map/components/features/layers/MapOverlayLayers.d.ts +5 -0
- package/lib/es/components/map/components/features/layers/MapOverlayLayers.js +27 -0
- package/lib/es/components/map/components/features/layers/MarkerLayer.d.ts +9 -13
- package/lib/es/components/map/components/features/layers/MarkerLayer.js +6 -14
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +8 -2
- package/lib/es/components/map/components/features/layers/TrafficLayer.js +25 -14
- package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.d.ts +3 -1
- package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +28 -11
- package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.d.ts +3 -1
- package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +1 -1
- package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.d.ts +3 -1
- package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.js +1 -1
- package/lib/es/components/map/components/features/layers/baselayers/NightLayer.d.ts +3 -1
- package/lib/es/components/map/components/features/layers/baselayers/NightLayer.js +1 -1
- package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.d.ts +3 -1
- package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.js +27 -10
- package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.d.ts +3 -1
- package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.js +2 -2
- package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.d.ts +11 -2
- package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.js +48 -16
- package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.d.ts +21 -28
- package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.js +80 -31
- package/lib/es/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +5 -9
- package/lib/es/components/map/components/features/layers/clustering/SimpleClusterLayer.js +3 -8
- package/lib/es/components/map/components/features/layers/overlayLayers/IncidentsLayer.d.ts +6 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/IncidentsLayer.js +276 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/Layer.d.ts +8 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/Layer.js +62 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/RoadRestrictionLayer.d.ts +5 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/RoadRestrictionLayer.js +40 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/TrafficLayer.d.ts +5 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/TrafficLayer.js +55 -0
- package/lib/es/components/map/components/features/settings/MapSettingsItem.d.ts +9 -19
- package/lib/es/components/map/components/features/settings/MapSettingsItem.js +5 -18
- package/lib/es/components/map/components/features/settings/MapSettingsPanel.d.ts +5 -11
- package/lib/es/components/map/components/features/settings/MapSettingsPanel.js +4 -10
- package/lib/es/components/map/components/features/settings/MapSettingsTile.d.ts +12 -19
- package/lib/es/components/map/components/features/settings/MapSettingsTile.js +7 -20
- package/lib/es/components/map/components/features/settings/ZoomButtons.d.ts +6 -11
- package/lib/es/components/map/components/features/settings/ZoomButtons.js +3 -7
- package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +8 -18
- package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +6 -16
- package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +9 -21
- package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +11 -23
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +9 -16
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +7 -17
- package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +7 -13
- package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +4 -12
- package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +7 -13
- package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +4 -12
- package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +7 -13
- package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.js +4 -12
- package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +5 -15
- package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +5 -14
- package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +6 -18
- package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.js +4 -15
- package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +6 -18
- package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +4 -15
- package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +6 -18
- package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.js +4 -15
- package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +5 -15
- package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +5 -14
- package/lib/es/components/map/exceptions/MapException.d.ts +2 -6
- package/lib/es/components/map/exceptions/MapException.js +7 -6
- package/lib/es/components/map/icons/MapIcon.d.ts +42 -40
- package/lib/es/components/map/icons/MapIcon.js +6 -6
- package/lib/es/components/map/utils/clustering.d.ts +9 -8
- package/lib/es/components/map/utils/clustering.js +28 -23
- package/lib/es/components/map/utils/eventHandling.d.ts +52 -46
- package/lib/es/components/map/utils/eventHandling.js +45 -48
- package/lib/es/components/map/utils/hooks.js +2 -2
- package/lib/es/components/map/utils/localization.d.ts +2 -2
- package/lib/es/components/map/utils/localization.js +3 -2
- package/lib/es/components/map/utils/mapTypes.d.ts +166 -0
- package/lib/es/components/map/utils/mapTypes.js +27 -0
- package/lib/es/components/map/utils/mapUi.d.ts +2 -0
- package/lib/es/components/map/utils/mapUi.js +32 -0
- package/lib/es/components/map/utils/mapUtils.d.ts +88 -0
- package/lib/es/components/map/utils/mapUtils.js +85 -0
- package/lib/es/components/map/utils/positions.d.ts +25 -7
- package/lib/es/components/map/utils/positions.js +61 -32
- package/lib/es/components/map/utils/proptypes.d.ts +7 -7
- package/lib/es/components/map/utils/rendering.d.ts +21 -0
- package/lib/es/components/map/utils/rendering.js +133 -0
- package/lib/es/components/mapMarker/ClusterMapMarker.d.ts +48 -25
- package/lib/es/components/mapMarker/ClusterMapMarker.js +6 -42
- package/lib/es/components/mapMarker/MarkerColor.d.ts +3 -0
- package/lib/es/components/mapMarker/MarkerColor.js +15 -0
- package/lib/es/components/mapMarker/SingleMapMarker.d.ts +87 -34
- package/lib/es/components/mapMarker/SingleMapMarker.js +9 -57
- package/lib/es/components/menuItems/MenuItem.d.ts +16 -0
- package/lib/es/components/menuItems/MenuItem.js +1 -2
- package/lib/es/components/menuItems/MenuItemList.d.ts +7 -0
- package/lib/es/components/menuItems/MenuItemList.js +12 -0
- package/lib/es/components/menuItems/MenuItems.d.ts +7 -2
- package/lib/es/components/menuItems/MenuItems.js +9 -7
- package/lib/es/components/navigation/AppNavigationBar.d.ts +20 -2
- package/lib/es/components/navigation/AppNavigationBar.js +4 -14
- package/lib/es/components/noData/NoData.d.ts +6 -5
- package/lib/es/components/noData/NoData.js +2 -2
- package/lib/es/components/notification/Notification.d.ts +32 -1
- package/lib/es/components/notification/Notification.js +3 -2
- package/lib/es/components/notification/NotificationsContainer.d.ts +7 -13
- package/lib/es/components/notification/NotificationsContainer.js +2 -8
- package/lib/es/components/numberControl/NumberControl.d.ts +1 -1
- package/lib/es/components/numberControl/NumberControl.js +5 -4
- package/lib/es/components/numberInput/NumberInput.d.ts +60 -12
- package/lib/es/components/numberInput/NumberInput.js +20 -13
- package/lib/es/components/onboarding/OnboardingTip.d.ts +145 -62
- package/lib/es/components/onboarding/OnboardingTip.js +39 -93
- package/lib/es/components/page/Page.d.ts +32 -0
- package/lib/es/components/page/Page.js +21 -0
- package/lib/es/components/popover/Popover.d.ts +42 -2
- package/lib/es/components/popover/Popover.js +11 -16
- package/lib/es/components/position/Position.d.ts +15 -9
- package/lib/es/components/position/Position.js +5 -19
- package/lib/es/components/preloader/ImagePreloader.d.ts +46 -21
- package/lib/es/components/preloader/ImagePreloader.js +18 -28
- package/lib/es/components/radiobutton/RadioButton.d.ts +110 -44
- package/lib/es/components/radiobutton/RadioButton.js +16 -44
- package/lib/es/components/releaseNotes/ReleaseNotes.d.ts +22 -17
- package/lib/es/components/releaseNotes/ReleaseNotes.js +1 -1
- package/lib/es/components/resizer/Resizer.js +4 -2
- package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.d.ts +80 -2
- package/lib/es/components/responsiveColumnStripe/ResponsiveColumnStripe.js +22 -47
- package/lib/es/components/rules/RuleConnector.d.ts +61 -38
- package/lib/es/components/rules/RuleConnector.js +7 -29
- package/lib/es/components/rules/RuleContainer.d.ts +42 -27
- package/lib/es/components/rules/RuleContainer.js +7 -23
- package/lib/es/components/rules/RulesWrapper.d.ts +3 -7
- package/lib/es/components/rules/RulesWrapper.js +6 -4
- package/lib/es/components/saveableInput/SaveableInput.d.ts +42 -2
- package/lib/es/components/saveableInput/SaveableInput.js +44 -15
- package/lib/es/components/selects/BaseSelectDropdown.d.ts +56 -0
- package/lib/es/components/selects/BaseSelectDropdown.js +180 -0
- package/lib/es/components/selects/ClearButton.d.ts +8 -0
- package/lib/es/components/selects/ClearButton.js +14 -0
- package/lib/es/components/selects/DropdownHeader.d.ts +7 -13
- package/lib/es/components/selects/DropdownHeader.js +4 -13
- package/lib/es/components/selects/Multiselect.d.ts +150 -98
- package/lib/es/components/selects/Multiselect.js +142 -288
- package/lib/es/components/selects/MultiselectToggleCounter.d.ts +9 -0
- package/lib/es/components/selects/MultiselectToggleCounter.js +16 -0
- package/lib/es/components/selects/MultiselectToggleFilter.d.ts +10 -0
- package/lib/es/components/selects/MultiselectToggleFilter.js +16 -0
- package/lib/es/components/selects/MultiselectTogglePlaceholder.d.ts +6 -0
- package/lib/es/components/selects/MultiselectTogglePlaceholder.js +9 -0
- package/lib/es/components/selects/MultiselectToggleSelection.d.ts +14 -0
- package/lib/es/components/selects/MultiselectToggleSelection.js +31 -0
- package/lib/es/components/selects/NoItemMessage.d.ts +7 -0
- package/lib/es/components/selects/NoItemMessage.js +13 -0
- package/lib/es/components/selects/Select.d.ts +142 -97
- package/lib/es/components/selects/Select.js +112 -259
- package/lib/es/components/selects/SelectFilter.d.ts +8 -0
- package/lib/es/components/selects/SelectFilter.js +14 -0
- package/lib/es/components/selects/SelectedOption.d.ts +12 -0
- package/lib/es/components/selects/SelectedOption.js +26 -0
- package/lib/es/components/selects/WithFeedback.d.ts +27 -0
- package/lib/es/components/selects/WithFeedback.js +15 -0
- package/lib/es/components/selects/WithFeedbackAndAddon.d.ts +29 -0
- package/lib/es/components/selects/WithFeedbackAndAddon.js +15 -0
- package/lib/es/components/sidebars/Sidebar.d.ts +182 -111
- package/lib/es/components/sidebars/Sidebar.js +164 -196
- package/lib/es/components/sidebars/SidebarBackdrop.d.ts +7 -0
- package/lib/es/components/sidebars/SidebarBackdrop.js +12 -0
- package/lib/es/components/sidebars/SidebarCloseButton.d.ts +5 -0
- package/lib/es/components/sidebars/SidebarCloseButton.js +11 -0
- package/lib/es/components/sidebars/SidebarFooter.d.ts +7 -0
- package/lib/es/components/sidebars/SidebarFooter.js +15 -0
- package/lib/es/components/sidebars/SidebarFullscreenToggle.d.ts +7 -0
- package/lib/es/components/sidebars/SidebarFullscreenToggle.js +18 -0
- package/lib/es/components/slider/RangeSlider.d.ts +52 -32
- package/lib/es/components/slider/RangeSlider.js +19 -38
- package/lib/es/components/slider/Slider.d.ts +68 -37
- package/lib/es/components/slider/Slider.js +6 -30
- package/lib/es/components/smoothScrollbars/SmoothScrollbars.d.ts +16 -0
- package/lib/es/components/smoothScrollbars/SmoothScrollbars.js +29 -0
- package/lib/es/components/spinner/Spinner.d.ts +2 -1
- package/lib/es/components/spinner/Spinner.js +1 -0
- package/lib/es/components/states/BaseStateProps.d.ts +66 -0
- package/lib/es/components/states/BaseStateProps.js +4 -0
- package/lib/es/components/states/CustomState.d.ts +4 -14
- package/lib/es/components/states/CustomState.js +18 -43
- package/lib/es/components/states/EmptyState.d.ts +4 -8
- package/lib/es/components/states/EmptyState.js +5 -6
- package/lib/es/components/states/ErrorState.d.ts +4 -8
- package/lib/es/components/states/ErrorState.js +5 -6
- package/lib/es/components/states/ForbiddenState.d.ts +4 -8
- package/lib/es/components/states/ForbiddenState.js +5 -6
- package/lib/es/components/states/MaintenanceState.d.ts +4 -8
- package/lib/es/components/states/MaintenanceState.js +5 -6
- package/lib/es/components/states/NotBookedState.d.ts +9 -19
- package/lib/es/components/states/NotBookedState.js +7 -22
- package/lib/es/components/states/NotFoundState.d.ts +4 -8
- package/lib/es/components/states/NotFoundState.js +5 -6
- package/lib/es/components/states/StateButton.d.ts +27 -0
- package/lib/es/components/states/StateButton.js +16 -0
- package/lib/es/components/states/StateIcon.d.ts +7 -0
- package/lib/es/components/states/StateIcon.js +6 -0
- package/lib/es/components/statsWidget/StatsWidgetNumber.js +1 -1
- package/lib/es/components/steppedProgressBar/SteppedProgressBar.d.ts +65 -34
- package/lib/es/components/steppedProgressBar/SteppedProgressBar.js +5 -42
- package/lib/es/components/supportMarker/toggleSupportMarker.d.ts +3 -3
- package/lib/es/components/supportMarker/toggleSupportMarker.js +1 -1
- package/lib/es/components/switch/Switch.d.ts +5 -9
- package/lib/es/components/switch/Switch.js +3 -5
- package/lib/es/components/table/SortArrowDown.d.ts +3 -0
- package/lib/es/components/table/SortArrowDown.js +6 -0
- package/lib/es/components/table/SortArrowUp.d.ts +3 -0
- package/lib/es/components/table/SortArrowUp.js +6 -0
- package/lib/es/components/table/SortArrows.d.ts +5 -5
- package/lib/es/components/table/SortArrows.js +3 -8
- package/lib/es/components/table/TableCardsSorting.d.ts +48 -36
- package/lib/es/components/table/TableCardsSorting.js +16 -55
- package/lib/es/components/table/TableSearch.d.ts +8 -8
- package/lib/es/components/table/TableSearch.js +4 -10
- package/lib/es/components/table/TableSettingsColumnButtons.d.ts +12 -28
- package/lib/es/components/table/TableSettingsColumnButtons.js +4 -22
- package/lib/es/components/table/TableSettingsColumnDetails.d.ts +8 -19
- package/lib/es/components/table/TableSettingsColumnDetails.js +8 -20
- package/lib/es/components/table/TableSettingsDialog.d.ts +157 -106
- package/lib/es/components/table/TableSettingsDialog.js +144 -260
- package/lib/es/components/table/TableSettingsDialog.types.d.ts +40 -0
- package/lib/es/components/table/TableSettingsDialog.types.js +2 -0
- package/lib/es/components/table/TableSettingsDialogFooter.d.ts +17 -43
- package/lib/es/components/table/TableSettingsDialogFooter.js +6 -33
- package/lib/es/components/table/TableSettingsListContainer.d.ts +8 -9
- package/lib/es/components/table/TableSettingsListContainer.js +9 -19
- package/lib/es/components/table/TableSettingsListItem.d.ts +9 -26
- package/lib/es/components/table/TableSettingsListItem.js +9 -30
- package/lib/es/components/table/TableToolbar.d.ts +8 -11
- package/lib/es/components/table/TableToolbar.js +3 -10
- package/lib/es/components/table/TableViewToggles.d.ts +57 -29
- package/lib/es/components/table/TableViewToggles.js +24 -63
- package/lib/es/components/tag/Tag.d.ts +68 -36
- package/lib/es/components/tag/Tag.js +7 -30
- package/lib/es/components/tag/TagList.d.ts +24 -16
- package/lib/es/components/tag/TagList.js +6 -15
- package/lib/es/components/tagManager/CustomSuggestionItem.d.ts +6 -12
- package/lib/es/components/tagManager/CustomSuggestionItem.js +4 -9
- package/lib/es/components/tagManager/TagManager.d.ts +61 -26
- package/lib/es/components/tagManager/TagManager.js +22 -39
- package/lib/es/components/tagManager/TagManagerItemList.d.ts +6 -13
- package/lib/es/components/tagManager/TagManagerItemList.js +3 -13
- package/lib/es/components/tagManager/TagManagerTag.d.ts +5 -0
- package/lib/es/components/tagManager/TagManagerTag.js +2 -0
- package/lib/es/components/teaser/Teaser.d.ts +93 -50
- package/lib/es/components/teaser/Teaser.js +69 -120
- package/lib/es/components/teaser/TeaserContainer.d.ts +25 -12
- package/lib/es/components/teaser/TeaserContainer.js +10 -23
- package/lib/es/components/timepicker/TimePicker.d.ts +49 -26
- package/lib/es/components/timepicker/TimePicker.js +16 -31
- package/lib/es/components/tooltip/SimpleTooltip.d.ts +5 -2
- package/lib/es/components/tooltip/Tooltip.d.ts +11 -8
- package/lib/es/components/tooltip/Tooltip.js +2 -2
- package/lib/es/hooks/useAfterMount.d.ts +1 -1
- package/lib/es/hooks/useClickOutside.d.ts +12 -1
- package/lib/es/hooks/useClickOutside.js +17 -6
- package/lib/es/hooks/useClipboard.d.ts +12 -5
- package/lib/es/hooks/useClipboard.js +21 -7
- package/lib/es/hooks/useDarkMode.d.ts +6 -1
- package/lib/es/hooks/useDarkMode.js +21 -8
- package/lib/es/hooks/useDebugInfo.d.ts +14 -2
- package/lib/es/hooks/useDebugInfo.js +16 -3
- package/lib/es/hooks/useDocumentTitle.d.ts +7 -0
- package/lib/es/hooks/useDocumentTitle.js +16 -0
- package/lib/es/hooks/useEffectOnce.d.ts +3 -1
- package/lib/es/hooks/useEffectOnce.js +2 -2
- package/lib/es/hooks/useElementSize.d.ts +9 -1
- package/lib/es/hooks/useElementSize.js +12 -4
- package/lib/es/hooks/useEsc.d.ts +5 -0
- package/lib/es/hooks/useEsc.js +5 -0
- package/lib/es/hooks/useEvent.d.ts +17 -1
- package/lib/es/hooks/useEvent.js +8 -0
- package/lib/es/hooks/useFullscreen.d.ts +28 -5
- package/lib/es/hooks/useFullscreen.js +35 -49
- package/lib/es/hooks/useHover.d.ts +6 -0
- package/lib/es/hooks/useHover.js +6 -1
- package/lib/es/hooks/useInterval.d.ts +10 -1
- package/lib/es/hooks/useInterval.js +11 -3
- package/lib/es/hooks/useIsFirstRender.d.ts +2 -0
- package/lib/es/hooks/useIsFirstRender.js +12 -0
- package/lib/es/hooks/useKey.d.ts +7 -0
- package/lib/es/hooks/useKey.js +7 -0
- package/lib/es/hooks/useMergeRefs.d.ts +10 -0
- package/lib/es/hooks/useMergeRefs.js +48 -0
- package/lib/es/hooks/useMutationObserver.d.ts +21 -5
- package/lib/es/hooks/useMutationObserver.js +23 -6
- package/lib/es/hooks/useOnMount.d.ts +9 -1
- package/lib/es/hooks/useOnMount.js +9 -3
- package/lib/es/hooks/useOnScreen.d.ts +18 -3
- package/lib/es/hooks/useOnScreen.js +25 -4
- package/lib/es/hooks/useOnlineStatus.d.ts +7 -1
- package/lib/es/hooks/useOnlineStatus.js +7 -2
- package/lib/es/hooks/usePostMessage.d.ts +32 -0
- package/lib/es/hooks/usePostMessage.js +54 -0
- package/lib/es/hooks/usePrevious.d.ts +1 -1
- package/lib/es/hooks/usePrevious.js +5 -6
- package/lib/es/hooks/useRenderCount.d.ts +2 -1
- package/lib/es/hooks/useRenderCount.js +2 -2
- package/lib/es/hooks/useResizeObserver.d.ts +8 -1
- package/lib/es/hooks/useResizeObserver.js +14 -2
- package/lib/es/hooks/useScrollPosition.d.ts +9 -1
- package/lib/es/hooks/useScrollPosition.js +15 -9
- package/lib/es/hooks/useStateWithValidation.d.ts +12 -1
- package/lib/es/hooks/useStateWithValidation.js +17 -4
- package/lib/es/hooks/useStorage.d.ts +22 -2
- package/lib/es/hooks/useStorage.js +47 -12
- package/lib/es/hooks/useTimeout.d.ts +11 -1
- package/lib/es/hooks/useTimeout.js +19 -3
- package/lib/es/hooks/useWindowResize.d.ts +8 -1
- package/lib/es/hooks/useWindowResize.js +10 -1
- package/lib/es/index.d.ts +189 -173
- package/lib/es/index.js +285 -191
- package/lib/es/mapIndex.d.ts +38 -38
- package/lib/es/mapIndex.js +13 -15
- package/lib/es/mapTypes.d.ts +1 -0
- package/lib/es/mapTypes.js +4 -0
- package/lib/es/routeUtils.d.ts +1 -5
- package/lib/es/routeUtils.js +2 -6
- package/lib/es/styles/variables/colors/colors.json +74 -0
- package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.d.ts +28 -2
- package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +4 -30
- package/lib/es/types.d.ts +0 -1312
- package/lib/es/types.js +0 -20
- package/lib/es/useClickOutside.d.ts +2 -4
- package/lib/es/useClickOutside.js +3 -2
- package/lib/es/useClipboard.d.ts +1 -4
- package/lib/es/useClipboard.js +5 -3
- package/lib/es/useDarkMode.d.ts +1 -4
- package/lib/es/useDarkMode.js +5 -3
- package/lib/es/useDebugInfo.d.ts +1 -4
- package/lib/es/useDebugInfo.js +5 -3
- package/lib/es/useDocumentTitle.d.ts +2 -0
- package/lib/es/useDocumentTitle.js +7 -0
- package/lib/es/useEffectOnce.d.ts +1 -4
- package/lib/es/useEffectOnce.js +5 -3
- package/lib/es/useElementSize.d.ts +1 -4
- package/lib/es/useElementSize.js +5 -3
- package/lib/es/useFullscreen.d.ts +1 -4
- package/lib/es/useFullscreen.js +5 -3
- package/lib/es/useInterval.d.ts +1 -4
- package/lib/es/useInterval.js +5 -3
- package/lib/es/useIsFirstRender.d.ts +2 -0
- package/lib/es/useIsFirstRender.js +7 -0
- package/lib/es/useLocalStorage.d.ts +1 -4
- package/lib/es/useLocalStorage.js +1 -1
- package/lib/es/useMutationObserver.d.ts +2 -4
- package/lib/es/useMutationObserver.js +3 -2
- package/lib/es/useOnMount.d.ts +2 -2
- package/lib/es/useOnMount.js +3 -2
- package/lib/es/useOnScreen.d.ts +2 -4
- package/lib/es/useOnScreen.js +3 -2
- package/lib/es/useOnlineStatus.d.ts +2 -4
- package/lib/es/useOnlineStatus.js +3 -2
- package/lib/es/usePostMessage.d.ts +2 -0
- package/lib/es/usePostMessage.js +7 -0
- package/lib/es/useRenderCount.d.ts +2 -4
- package/lib/es/useRenderCount.js +3 -2
- package/lib/es/useResizeObserver.d.ts +2 -4
- package/lib/es/useResizeObserver.js +3 -2
- package/lib/es/useScrollPosition.d.ts +2 -4
- package/lib/es/useScrollPosition.js +3 -2
- package/lib/es/useSessionStorage.d.ts +1 -4
- package/lib/es/useSessionStorage.js +1 -1
- package/lib/es/useStateWithValidation.d.ts +2 -4
- package/lib/es/useStateWithValidation.js +3 -2
- package/lib/es/useTimeout.d.ts +2 -4
- package/lib/es/useTimeout.js +3 -2
- package/lib/es/useWindowResize.d.ts +2 -4
- package/lib/es/useWindowResize.js +3 -2
- package/lib/es/utils/SortUtils.d.ts +9 -6
- package/lib/es/utils/SortUtils.js +9 -8
- package/lib/es/utils/arrayMove.d.ts +1 -1
- package/lib/es/utils/arrayMove.js +1 -1
- package/lib/es/utils/colorScheme.d.ts +26 -9
- package/lib/es/utils/colorScheme.js +57 -35
- package/lib/es/utils/darkModeCDN.d.ts +1 -1
- package/lib/es/utils/darkModeCDN.js +11 -2
- package/lib/es/utils/deviceUtils.d.ts +12 -12
- package/lib/es/utils/deviceUtils.js +7 -5
- package/lib/es/utils/getWidthInBoundaries.d.ts +2 -0
- package/lib/es/utils/getWidthInBoundaries.js +15 -0
- package/lib/es/utils/init/initCSS.d.ts +2 -0
- package/lib/es/utils/init/initCSS.js +68 -0
- package/lib/es/utils/init/initConfig.d.ts +4 -0
- package/lib/es/utils/init/initConfig.js +12 -0
- package/lib/es/utils/init/initDocumentBootstrapping.d.ts +1 -0
- package/lib/es/utils/init/initDocumentBootstrapping.js +43 -0
- package/lib/es/utils/init/printPoweredByRIO.d.ts +1 -0
- package/lib/es/utils/init/printPoweredByRIO.js +16 -0
- package/lib/es/utils/init.js +9 -12
- package/lib/es/utils/mergeRefs.d.ts +3 -0
- package/lib/es/utils/mergeRefs.js +18 -0
- package/lib/es/utils/portalRoot.d.ts +2 -2
- package/lib/es/utils/routeUtils.d.ts +13 -13
- package/lib/es/utils/routeUtils.js +4 -4
- package/lib/es/utils/scrollItemIntoView.d.ts +3 -3
- package/lib/es/utils/searchNormalized.d.ts +2 -2
- package/lib/es/utils/searchNormalized.js +1 -1
- package/lib/es/version.json +1 -1
- package/mapIndex.d.ts +38 -38
- package/mapIndex.js +14 -11
- package/mapTypes.d.ts +1 -0
- package/mapTypes.js +1 -0
- package/package.json +50 -67
- package/routeUtils.d.ts +1 -5
- package/routeUtils.js +1 -2
- package/styles/variables/colors/colors.json +74 -0
- package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.d.ts +28 -2
- package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +4 -30
- package/types.d.ts +0 -1312
- package/types.js +1 -19
- package/useClickOutside.d.ts +2 -4
- package/useClickOutside.js +2 -2
- package/useClipboard.d.ts +1 -4
- package/useClipboard.js +1 -2
- package/useDarkMode.d.ts +1 -4
- package/useDarkMode.js +1 -2
- package/useDebugInfo.d.ts +1 -4
- package/useDebugInfo.js +1 -2
- package/useDocumentTitle.d.ts +2 -0
- package/useDocumentTitle.js +2 -0
- package/useEffectOnce.d.ts +1 -4
- package/useEffectOnce.js +1 -2
- package/useElementSize.d.ts +1 -4
- package/useElementSize.js +1 -2
- package/useFullscreen.d.ts +1 -4
- package/useFullscreen.js +1 -2
- package/useInterval.d.ts +1 -4
- package/useInterval.js +1 -2
- package/useIsFirstRender.d.ts +2 -0
- package/useIsFirstRender.js +2 -0
- package/useLocalStorage.d.ts +1 -4
- package/useLocalStorage.js +1 -2
- package/useMutationObserver.d.ts +2 -4
- package/useMutationObserver.js +2 -2
- package/useOnMount.d.ts +2 -2
- package/useOnMount.js +2 -2
- package/useOnScreen.d.ts +2 -4
- package/useOnScreen.js +2 -2
- package/useOnlineStatus.d.ts +2 -4
- package/useOnlineStatus.js +2 -2
- package/usePostMessage.d.ts +2 -0
- package/usePostMessage.js +2 -0
- package/useRenderCount.d.ts +2 -4
- package/useRenderCount.js +2 -2
- package/useResizeObserver.d.ts +2 -4
- package/useResizeObserver.js +2 -2
- package/useScrollPosition.d.ts +2 -4
- package/useScrollPosition.js +2 -2
- package/useSessionStorage.d.ts +1 -4
- package/useSessionStorage.js +1 -2
- package/useStateWithValidation.d.ts +2 -4
- package/useStateWithValidation.js +2 -2
- package/useTimeout.d.ts +2 -4
- package/useTimeout.js +2 -2
- package/useWindowResize.d.ts +2 -4
- package/useWindowResize.js +2 -2
- package/utils/SortUtils.d.ts +9 -6
- package/utils/SortUtils.js +9 -8
- package/utils/arrayMove.d.ts +1 -1
- package/utils/arrayMove.js +1 -1
- package/utils/colorScheme.d.ts +26 -9
- package/utils/colorScheme.js +54 -32
- package/utils/darkModeCDN.d.ts +1 -1
- package/utils/darkModeCDN.js +11 -2
- package/utils/deviceUtils.d.ts +12 -12
- package/utils/deviceUtils.js +7 -5
- package/utils/getWidthInBoundaries.d.ts +2 -0
- package/utils/getWidthInBoundaries.js +13 -0
- package/utils/init/initCSS.d.ts +2 -0
- package/utils/init/initCSS.js +63 -0
- package/utils/init/initConfig.d.ts +4 -0
- package/utils/init/initConfig.js +7 -0
- package/utils/init/initDocumentBootstrapping.d.ts +1 -0
- package/utils/init/initDocumentBootstrapping.js +39 -0
- package/utils/init/printPoweredByRIO.d.ts +1 -0
- package/utils/init/printPoweredByRIO.js +12 -0
- package/utils/init.js +9 -12
- package/utils/mergeRefs.d.ts +3 -0
- package/utils/mergeRefs.js +16 -0
- package/utils/portalRoot.d.ts +2 -2
- package/utils/routeUtils.d.ts +13 -13
- package/utils/routeUtils.js +4 -4
- package/utils/scrollItemIntoView.d.ts +3 -3
- package/utils/searchNormalized.d.ts +2 -2
- package/utils/searchNormalized.js +1 -1
- package/version.json +1 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const react_1 = require("react");
|
|
4
|
+
const MapContext_1 = require("../../../MapContext");
|
|
5
|
+
require("../../../constants");
|
|
6
|
+
const Layer = (props) => {
|
|
7
|
+
var _a;
|
|
8
|
+
const { id, createLayer } = props;
|
|
9
|
+
const [currentLayers, setCurrentLayers] = (0, react_1.useState)([]);
|
|
10
|
+
const currentLayerRef = (0, react_1.useRef)([]);
|
|
11
|
+
const { api, enableWebGL, language, baseLayer } = (0, MapContext_1.useMapContext)();
|
|
12
|
+
// const [previousBaseLayer, setPreviousBaseLayer] = useState<string>();
|
|
13
|
+
// useEffect(() => {
|
|
14
|
+
// // setCurrentLayers([]);
|
|
15
|
+
// currentLayerRef.current.forEach(item => {
|
|
16
|
+
// console.log('cleanup');
|
|
17
|
+
// api.map?.removeLayer(item.layer);
|
|
18
|
+
// item.layer.dispose();
|
|
19
|
+
// });
|
|
20
|
+
// currentLayerRef.current = [];
|
|
21
|
+
// // setPreviousBaseLayer(baseLayer);
|
|
22
|
+
// }, [baseLayer]);
|
|
23
|
+
const mapLayers = (_a = api.map) === null || _a === void 0 ? void 0 : _a.getLayers();
|
|
24
|
+
console.log({ mapLayers: mapLayers === null || mapLayers === void 0 ? void 0 : mapLayers.asArray() });
|
|
25
|
+
(0, react_1.useEffect)(() => {
|
|
26
|
+
var _a;
|
|
27
|
+
const newLayer = createLayer(api, enableWebGL, baseLayer, language);
|
|
28
|
+
// console.log({ currentLayers: currentLayerRef.current });
|
|
29
|
+
// console.log({ mapLayer: api.map?.getLayers(), previousBaseLayer, baseLayer });
|
|
30
|
+
// const trafficLayer = api.map?.getLayers().get(20);
|
|
31
|
+
// const roadRestrictionLayer = api.map?.getLayers().get(30);
|
|
32
|
+
// console.log({ trafficLayer, roadRestrictionLayer });
|
|
33
|
+
// const hasLayer = currentLayerRef.current.find((item: any) => item.id === id);
|
|
34
|
+
// console.log({ hasLayer });
|
|
35
|
+
// if (newLayer && !hasLayer) {
|
|
36
|
+
// if (newLayer && api.map?.getLayers().getLength() === 0) {
|
|
37
|
+
if (newLayer) {
|
|
38
|
+
console.log(`add layer - ${id}`);
|
|
39
|
+
// const mapLayers = api.map?.getLayers();
|
|
40
|
+
// console.log({ mapLayers: mapLayers?.asArray() });
|
|
41
|
+
// const hasLayer = mapLayers?.asArray().includes(newLayer);
|
|
42
|
+
// console.log({ hasLayer });
|
|
43
|
+
(_a = api.map) === null || _a === void 0 ? void 0 : _a.addLayer(newLayer);
|
|
44
|
+
// setCurrentLayers([...currentLayers, { id, layer: newLayer }]);
|
|
45
|
+
// currentLayerRef.current = [...currentLayerRef.current, { id, layer: newLayer }];
|
|
46
|
+
// console.log({ currentLayers: currentLayerRef.current });
|
|
47
|
+
}
|
|
48
|
+
return () => {
|
|
49
|
+
var _a;
|
|
50
|
+
if (newLayer) {
|
|
51
|
+
(_a = api.map) === null || _a === void 0 ? void 0 : _a.removeLayer(newLayer);
|
|
52
|
+
newLayer.dispose();
|
|
53
|
+
console.log(`remove layer - ${id}`);
|
|
54
|
+
// setCurrentLayers([...currentLayers.filter((item: any) => item.id !== id)]);
|
|
55
|
+
// setCurrentLayers([]);
|
|
56
|
+
// currentLayerRef.current = [...currentLayerRef.current.filter((item: any) => item.id !== id)];
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
}, [api.map]);
|
|
60
|
+
return null;
|
|
61
|
+
};
|
|
62
|
+
exports.default = Layer;
|
package/lib/es/components/map/components/features/layers/overlayLayers/RoadRestrictionLayer.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Layer from './Layer';
|
|
3
|
+
export type RoadRestrictionLayerProps = Omit<React.ComponentProps<typeof Layer>, 'createLayer'> & {};
|
|
4
|
+
declare const RoadRestrictionLayer: (props: RoadRestrictionLayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default RoadRestrictionLayer;
|
package/lib/es/components/map/components/features/layers/overlayLayers/RoadRestrictionLayer.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
6
|
+
require("react");
|
|
7
|
+
const constants_1 = require("../../../constants");
|
|
8
|
+
const Layer_1 = tslib_1.__importDefault(require("./Layer"));
|
|
9
|
+
const MapContext_1 = require("../../../MapContext");
|
|
10
|
+
const rendering_1 = require("../../../../utils/rendering");
|
|
11
|
+
// Layer for rendering truck road signs
|
|
12
|
+
const createRoadRestrictionLayer = (engineType, devicePixelRatio) => (api, useWebGL, baseLayerName, language) => {
|
|
13
|
+
var _a;
|
|
14
|
+
// @ts-ignore-next-line: according to the Here docs, the engine type exists
|
|
15
|
+
const trafficTileService = (_a = api.platform) === null || _a === void 0 ? void 0 : _a.getRasterTileService({
|
|
16
|
+
resource: 'blank',
|
|
17
|
+
format: constants_1.DEFAULT_RASTER_LAYER_FORMAT,
|
|
18
|
+
queryParams: {
|
|
19
|
+
lang: language,
|
|
20
|
+
// Increase size of road sign for pixel maps and high resolutions, otherwise the icons are too small
|
|
21
|
+
ppi: engineType === constants_1.ENGINE_TYPE_P2D && devicePixelRatio > 1 ? 200 : 100,
|
|
22
|
+
features: 'vehicle_restrictions:active_and_inactive',
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
// @ts-ignore-next-line: according to the Here docs, the engine type exists
|
|
26
|
+
const trafficTileProvider1 = new H.service.rasterTile.Provider(trafficTileService, {
|
|
27
|
+
engineType,
|
|
28
|
+
tileSize: constants_1.DEFAULT_TILE_SIZE,
|
|
29
|
+
});
|
|
30
|
+
const trafficTileLayer = new H.map.layer.TileLayer(trafficTileProvider1);
|
|
31
|
+
console.log('createRoadRestrictionLayer');
|
|
32
|
+
return trafficTileLayer;
|
|
33
|
+
};
|
|
34
|
+
const RoadRestrictionLayer = (props) => {
|
|
35
|
+
const { enableWebGL, baseLayer, devicePixelRatio } = (0, MapContext_1.useMapContext)();
|
|
36
|
+
const engineType = (0, rendering_1.isVectorBased)(enableWebGL, baseLayer) ? constants_1.ENGINE_TYPE_HARP : constants_1.ENGINE_TYPE_P2D;
|
|
37
|
+
const restrictionLayerCreator = createRoadRestrictionLayer(engineType, devicePixelRatio);
|
|
38
|
+
return (0, jsx_runtime_1.jsx)(Layer_1.default, Object.assign({}, props, { createLayer: restrictionLayerCreator }));
|
|
39
|
+
};
|
|
40
|
+
exports.default = RoadRestrictionLayer;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Layer from './Layer';
|
|
3
|
+
export type TrafficLayerProps = Omit<React.ComponentProps<typeof Layer>, 'createLayer'> & {};
|
|
4
|
+
declare const TrafficLayer: (props: TrafficLayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default TrafficLayer;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
6
|
+
require("react");
|
|
7
|
+
const constants_1 = require("../../../constants");
|
|
8
|
+
const Layer_1 = tslib_1.__importDefault(require("./Layer"));
|
|
9
|
+
const MapContext_1 = require("../../../MapContext");
|
|
10
|
+
const rendering_1 = require("../../../../utils/rendering");
|
|
11
|
+
const createRasterTrafficLayer = (api, useWebGL, baseLayerName, language) => {
|
|
12
|
+
var _a, _b;
|
|
13
|
+
// Traffic
|
|
14
|
+
const baseTrafficUrl = new H.service.Url('https', 'traffic.maps.hereapi.com');
|
|
15
|
+
// @ts-ignore-next-line: according to the Here docs, the engine type exists
|
|
16
|
+
const trafficTileService = (_a = api.platform) === null || _a === void 0 ? void 0 : _a.getRasterTileService({
|
|
17
|
+
baseUrl: baseTrafficUrl,
|
|
18
|
+
format: constants_1.DEFAULT_RASTER_LAYER_FORMAT,
|
|
19
|
+
path: 'v3',
|
|
20
|
+
resource: 'flow',
|
|
21
|
+
queryParams: {
|
|
22
|
+
apikey: (_b = api.credentials) === null || _b === void 0 ? void 0 : _b.apikey,
|
|
23
|
+
lang: language,
|
|
24
|
+
ppi: 400,
|
|
25
|
+
style: 'explore.day',
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
// @ts-ignore-next-line: according to the Here docs, the engine type exists
|
|
29
|
+
const trafficTileProvider = new H.service.rasterTile.Provider(trafficTileService, {
|
|
30
|
+
engineType: constants_1.ENGINE_TYPE_P2D,
|
|
31
|
+
tileSize: constants_1.DEFAULT_TILE_SIZE,
|
|
32
|
+
});
|
|
33
|
+
const trafficTileLayer = new H.map.layer.TileLayer(trafficTileProvider);
|
|
34
|
+
return trafficTileLayer;
|
|
35
|
+
};
|
|
36
|
+
const createVectorTrafficLayer = (api, useWebGL, baseLayerName) => {
|
|
37
|
+
var _a;
|
|
38
|
+
// @ts-ignore-next-line
|
|
39
|
+
const providerTrafficFlow = new H.service.trafficVectorTile.Provider(
|
|
40
|
+
// @ts-ignore-next-line
|
|
41
|
+
(_a = api.platform) === null || _a === void 0 ? void 0 : _a.getTrafficVectorTileService({ layer: 'flow' }),
|
|
42
|
+
// @ts-ignore-next-line
|
|
43
|
+
new H.map.render.harp.Style({}), { engineType: constants_1.ENGINE_TYPE_HARP });
|
|
44
|
+
// @ts-ignore-next-line:
|
|
45
|
+
const trafficFlowLayer = new H.map.layer.TileLayer(providerTrafficFlow, { min: 2, max: 24 });
|
|
46
|
+
return trafficFlowLayer;
|
|
47
|
+
};
|
|
48
|
+
const TrafficLayer = (props) => {
|
|
49
|
+
const mapContext = (0, MapContext_1.useMapContext)();
|
|
50
|
+
const layerCreator = (0, rendering_1.isVectorBased)(mapContext.enableWebGL, mapContext.baseLayer)
|
|
51
|
+
? createVectorTrafficLayer
|
|
52
|
+
: createRasterTrafficLayer;
|
|
53
|
+
return (0, jsx_runtime_1.jsx)(Layer_1.default, Object.assign({}, props, { createLayer: layerCreator }));
|
|
54
|
+
};
|
|
55
|
+
exports.default = TrafficLayer;
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type MapSettingsItemProps = {
|
|
3
|
+
activeIcon?: JSX.Element;
|
|
4
|
+
inactiveIcon?: JSX.Element;
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
8
|
+
};
|
|
9
|
+
declare const MapSettingsItem: (props: MapSettingsItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
10
|
export default MapSettingsItem;
|
|
2
|
-
declare function MapSettingsItem(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace MapSettingsItem {
|
|
4
|
-
namespace defaultProps {
|
|
5
|
-
const isActive: boolean;
|
|
6
|
-
const className: string;
|
|
7
|
-
function onClick(): void;
|
|
8
|
-
}
|
|
9
|
-
namespace propTypes {
|
|
10
|
-
export const activeIcon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
11
|
-
export const inactiveIcon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
12
|
-
const isActive_1: PropTypes.Requireable<boolean>;
|
|
13
|
-
export { isActive_1 as isActive };
|
|
14
|
-
const className_1: PropTypes.Requireable<string>;
|
|
15
|
-
export { className_1 as className };
|
|
16
|
-
const onClick_1: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
|
-
export { onClick_1 as onClick };
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
import PropTypes from "prop-types";
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
|
|
6
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
7
6
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
8
|
-
const
|
|
9
|
-
const MapSettingsItem = props => {
|
|
10
|
-
const { onClick, activeIcon, inactiveIcon, isActive, className } = props;
|
|
11
|
-
const activeIconClassNames = (0, classnames_1.default)('hover-scale-110', isActive ? 'display-block' : 'display-none', (0
|
|
12
|
-
const inactiveIconClassNames = (0, classnames_1.default)('hover-scale-110', isActive ? 'display-none' : 'display-block', (0
|
|
7
|
+
const noop_1 = tslib_1.__importDefault(require("lodash/fp/noop"));
|
|
8
|
+
const MapSettingsItem = (props) => {
|
|
9
|
+
const { onClick = noop_1.default, activeIcon, inactiveIcon, isActive = false, className = '' } = props;
|
|
10
|
+
const activeIconClassNames = (0, classnames_1.default)('MapSettingsTileIcon', 'hover-scale-110', isActive ? 'display-block' : 'display-none', (activeIcon === null || activeIcon === void 0 ? void 0 : activeIcon.props.className) || '');
|
|
11
|
+
const inactiveIconClassNames = (0, classnames_1.default)('MapSettingsTileIcon', 'hover-scale-110', isActive ? 'display-none' : 'display-block', (inactiveIcon === null || inactiveIcon === void 0 ? void 0 : inactiveIcon.props.className) || '');
|
|
13
12
|
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `MapSettingsItem ${className}`, onClick: onClick }, { children: [activeIcon &&
|
|
14
13
|
react_1.default.cloneElement(activeIcon, {
|
|
15
14
|
className: activeIconClassNames,
|
|
@@ -18,16 +17,4 @@ const MapSettingsItem = props => {
|
|
|
18
17
|
className: inactiveIconClassNames,
|
|
19
18
|
})] })));
|
|
20
19
|
};
|
|
21
|
-
MapSettingsItem.defaultProps = {
|
|
22
|
-
isActive: false,
|
|
23
|
-
className: '',
|
|
24
|
-
onClick: () => { },
|
|
25
|
-
};
|
|
26
|
-
MapSettingsItem.propTypes = {
|
|
27
|
-
activeIcon: prop_types_1.default.node,
|
|
28
|
-
inactiveIcon: prop_types_1.default.node,
|
|
29
|
-
isActive: prop_types_1.default.bool,
|
|
30
|
-
className: prop_types_1.default.string,
|
|
31
|
-
onClick: prop_types_1.default.func,
|
|
32
|
-
};
|
|
33
20
|
exports.default = MapSettingsItem;
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
+
import { type PropsWithChildren } from 'react';
|
|
2
|
+
export type MapSettingsPanelProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
};
|
|
5
|
+
declare const MapSettingsPanel: (props: PropsWithChildren<MapSettingsPanelProps>) => import("react/jsx-runtime").JSX.Element;
|
|
1
6
|
export default MapSettingsPanel;
|
|
2
|
-
declare function MapSettingsPanel(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace MapSettingsPanel {
|
|
4
|
-
namespace defaultProps {
|
|
5
|
-
const className: string;
|
|
6
|
-
}
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
const className_1: PropTypes.Requireable<string>;
|
|
9
|
-
export { className_1 as className };
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
import PropTypes from "prop-types";
|
|
@@ -2,22 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
6
|
+
require("react");
|
|
7
7
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
8
8
|
const framer_motion_1 = require("framer-motion");
|
|
9
|
-
const MapSettingsPanel = props => {
|
|
10
|
-
const { className, children } = props;
|
|
9
|
+
const MapSettingsPanel = (props) => {
|
|
10
|
+
const { className = '', children } = props;
|
|
11
11
|
const panelClassNames = (0, classnames_1.default)('MapSettingsPanel', className);
|
|
12
12
|
return ((0, jsx_runtime_1.jsx)(framer_motion_1.motion.div, Object.assign({ initial: { opacity: 0, y: 100 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0.5, y: 200 }, transition: {
|
|
13
13
|
duration: 0.15,
|
|
14
14
|
ease: 'easeInOut',
|
|
15
15
|
}, className: panelClassNames }, { children: children })));
|
|
16
16
|
};
|
|
17
|
-
MapSettingsPanel.defaultProps = {
|
|
18
|
-
className: '',
|
|
19
|
-
};
|
|
20
|
-
MapSettingsPanel.propTypes = {
|
|
21
|
-
className: prop_types_1.default.string,
|
|
22
|
-
};
|
|
23
17
|
exports.default = MapSettingsPanel;
|
|
@@ -1,20 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type MapSettingsTileProps = {
|
|
3
|
+
onToggle?: () => void;
|
|
4
|
+
tooltip?: React.ReactNode;
|
|
5
|
+
panel?: React.ReactNode;
|
|
6
|
+
activeIcon?: JSX.Element;
|
|
7
|
+
inactiveIcon?: JSX.Element;
|
|
8
|
+
isActive?: boolean;
|
|
9
|
+
buttonClassName?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
};
|
|
12
|
+
declare const MapSettingsTile: (props: MapSettingsTileProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
13
|
export default MapSettingsTile;
|
|
2
|
-
declare function MapSettingsTile(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace MapSettingsTile {
|
|
4
|
-
namespace defaultProps {
|
|
5
|
-
const className: string;
|
|
6
|
-
const buttonClassName: string;
|
|
7
|
-
function onToggle(): void;
|
|
8
|
-
}
|
|
9
|
-
namespace propTypes {
|
|
10
|
-
const className_1: PropTypes.Requireable<string>;
|
|
11
|
-
export { className_1 as className };
|
|
12
|
-
const buttonClassName_1: PropTypes.Requireable<string>;
|
|
13
|
-
export { buttonClassName_1 as buttonClassName };
|
|
14
|
-
const onToggle_1: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
|
-
export { onToggle_1 as onToggle };
|
|
16
|
-
export const tooltip: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
17
|
-
export const panel: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
import PropTypes from "prop-types";
|
|
@@ -4,17 +4,16 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
const framer_motion_1 = require("framer-motion");
|
|
7
|
-
const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
|
|
8
7
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
9
|
-
const
|
|
8
|
+
const noop_1 = tslib_1.__importDefault(require("lodash/fp/noop"));
|
|
10
9
|
const OverlayTrigger_1 = tslib_1.__importDefault(require("../../../../overlay/OverlayTrigger"));
|
|
11
10
|
const Tooltip_1 = tslib_1.__importDefault(require("../../../../tooltip/Tooltip"));
|
|
12
11
|
const useClickOutside_1 = tslib_1.__importDefault(require("../../../../../hooks/useClickOutside"));
|
|
13
12
|
const getComponentWithTooltip = (component, tooltip) => {
|
|
14
|
-
return ((0, jsx_runtime_1.jsx)(OverlayTrigger_1.default, Object.assign({ placement: Tooltip_1.default.TOP, delay: { show: 1200 }, overlay: (0, jsx_runtime_1.jsx)(Tooltip_1.default, Object.assign({ id: 'tooltip', width: 'auto' }, { children: tooltip })) }, { children: component })));
|
|
13
|
+
return ((0, jsx_runtime_1.jsx)(OverlayTrigger_1.default, Object.assign({ placement: Tooltip_1.default.TOP, delay: { show: 1200, hide: 100 }, overlay: (0, jsx_runtime_1.jsx)(Tooltip_1.default, Object.assign({ id: 'tooltip', width: 'auto' }, { children: tooltip })) }, { children: component })));
|
|
15
14
|
};
|
|
16
|
-
const MapSettingsTile = props => {
|
|
17
|
-
const { onToggle, activeIcon, inactiveIcon, isActive, panel, className, buttonClassName, tooltip } = props, remainingProps = tslib_1.__rest(props, ["onToggle", "activeIcon", "inactiveIcon", "isActive", "panel", "className", "buttonClassName", "tooltip"]);
|
|
15
|
+
const MapSettingsTile = (props) => {
|
|
16
|
+
const { onToggle = noop_1.default, activeIcon, inactiveIcon, isActive = false, panel, className, buttonClassName, tooltip } = props, remainingProps = tslib_1.__rest(props, ["onToggle", "activeIcon", "inactiveIcon", "isActive", "panel", "className", "buttonClassName", "tooltip"]);
|
|
18
17
|
const [isOpen, setIsOpen] = (0, react_1.useState)(false);
|
|
19
18
|
const handleToggle = () => {
|
|
20
19
|
const newState = !isOpen;
|
|
@@ -32,8 +31,8 @@ const MapSettingsTile = props => {
|
|
|
32
31
|
const buttonRef = (0, useClickOutside_1.default)(handleClosePanel);
|
|
33
32
|
const wrapperClasses = (0, classnames_1.default)('MapSettingsTile', className);
|
|
34
33
|
const buttonClasses = (0, classnames_1.default)('MapSettingsButton', buttonClassName);
|
|
35
|
-
const activeIconClassNames = (0, classnames_1.default)('hover-scale-110', isActive ? 'display-block' : 'display-none', (0
|
|
36
|
-
const inactiveIconClassNames = (0, classnames_1.default)('hover-scale-110', isActive ? 'display-none' : 'display-block', (0
|
|
34
|
+
const activeIconClassNames = (0, classnames_1.default)('MapSettingsTileIcon', 'hover-scale-110', isActive ? 'display-block' : 'display-none', (activeIcon === null || activeIcon === void 0 ? void 0 : activeIcon.props.className) || '');
|
|
35
|
+
const inactiveIconClassNames = (0, classnames_1.default)('MapSettingsTileIcon', 'hover-scale-110', isActive ? 'display-none' : 'display-block', (inactiveIcon === null || inactiveIcon === void 0 ? void 0 : inactiveIcon.props.className) || '');
|
|
37
36
|
const button = ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: buttonClasses, onClick: handleToggle }, { children: [activeIcon &&
|
|
38
37
|
react_1.default.cloneElement(activeIcon, {
|
|
39
38
|
className: activeIconClassNames,
|
|
@@ -41,18 +40,6 @@ const MapSettingsTile = props => {
|
|
|
41
40
|
react_1.default.cloneElement(inactiveIcon, {
|
|
42
41
|
className: inactiveIconClassNames,
|
|
43
42
|
})] })));
|
|
44
|
-
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: wrapperClasses,
|
|
45
|
-
};
|
|
46
|
-
MapSettingsTile.defaultProps = {
|
|
47
|
-
className: '',
|
|
48
|
-
buttonClassName: '',
|
|
49
|
-
onToggle: () => { },
|
|
50
|
-
};
|
|
51
|
-
MapSettingsTile.propTypes = {
|
|
52
|
-
className: prop_types_1.default.string,
|
|
53
|
-
buttonClassName: prop_types_1.default.string,
|
|
54
|
-
onToggle: prop_types_1.default.func,
|
|
55
|
-
tooltip: prop_types_1.default.node,
|
|
56
|
-
panel: prop_types_1.default.node,
|
|
43
|
+
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: wrapperClasses, ref: buttonRef }, remainingProps, { children: [tooltip ? getComponentWithTooltip(button, tooltip) : button, (0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'overflow-hidden' }, { children: (0, jsx_runtime_1.jsx)(framer_motion_1.AnimatePresence, { children: isOpen && panel && panel }) }))] })));
|
|
57
44
|
};
|
|
58
45
|
exports.default = MapSettingsTile;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ZoomButtonsProps = {
|
|
3
|
+
onZoomIn?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
4
|
+
onZoomOut?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
5
|
+
};
|
|
6
|
+
declare const ZoomButtons: ({ onZoomIn, onZoomOut }: ZoomButtonsProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
7
|
export default ZoomButtons;
|
|
2
|
-
declare function ZoomButtons({ onZoomIn, onZoomOut }: {
|
|
3
|
-
onZoomIn: any;
|
|
4
|
-
onZoomOut: any;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare namespace ZoomButtons {
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
const onZoomIn: PropTypes.Requireable<(...args: any[]) => any>;
|
|
9
|
-
const onZoomOut: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
import PropTypes from "prop-types";
|
|
@@ -2,16 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const MapIcon_1 = require("../../../icons/MapIcon");
|
|
5
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
6
|
+
require("react");
|
|
8
7
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
8
|
+
const MapIcon_1 = require("../../../icons/MapIcon");
|
|
9
9
|
const ZoomButtons = ({ onZoomIn, onZoomOut }) => {
|
|
10
10
|
const buttonClasses = (0, classnames_1.default)('ZoomButtons');
|
|
11
11
|
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: buttonClasses }, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'MapSettingsTile', onClick: onZoomIn }, { children: (0, jsx_runtime_1.jsx)(MapIcon_1.MapIcon, { name: MapIcon_1.ZOOM_IN, className: 'display-block hover-scale-110', height: 16, width: 16 }) })), (0, jsx_runtime_1.jsx)("div", { className: 'MapSettingsTileSpacer' }), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'MapSettingsTile', onClick: onZoomOut }, { children: (0, jsx_runtime_1.jsx)(MapIcon_1.MapIcon, { name: MapIcon_1.ZOOM_OUT, className: 'display-block hover-scale-110', height: 16, width: 16 }) }))] })));
|
|
12
12
|
};
|
|
13
|
-
ZoomButtons.propTypes = {
|
|
14
|
-
onZoomIn: prop_types_1.default.func,
|
|
15
|
-
onZoomOut: prop_types_1.default.func,
|
|
16
|
-
};
|
|
17
13
|
exports.default = ZoomButtons;
|
package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts
CHANGED
|
@@ -1,19 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type MapClusterSettingsProps = {
|
|
3
|
+
onToggle?: (setShowCluster: boolean) => void;
|
|
4
|
+
onShowClusterChange?: (setShowCluster: boolean) => boolean;
|
|
5
|
+
showCluster?: boolean;
|
|
6
|
+
tooltip?: string | React.ReactNode;
|
|
7
|
+
};
|
|
8
|
+
declare const MapClusterSettings: (props: MapClusterSettingsProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
9
|
export default MapClusterSettings;
|
|
2
|
-
declare function MapClusterSettings(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace MapClusterSettings {
|
|
4
|
-
const displayName: string;
|
|
5
|
-
namespace defaultProps {
|
|
6
|
-
function onShowClusterChange(): void;
|
|
7
|
-
const showCluster: boolean;
|
|
8
|
-
function onToggle(): void;
|
|
9
|
-
}
|
|
10
|
-
namespace propTypes {
|
|
11
|
-
const onShowClusterChange_1: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
|
-
export { onShowClusterChange_1 as onShowClusterChange };
|
|
13
|
-
const showCluster_1: PropTypes.Requireable<boolean>;
|
|
14
|
-
export { showCluster_1 as showCluster };
|
|
15
|
-
const onToggle_1: PropTypes.Requireable<(...args: any[]) => any>;
|
|
16
|
-
export { onToggle_1 as onToggle };
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
import PropTypes from "prop-types";
|
package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.js
CHANGED
|
@@ -2,29 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
6
|
+
require("react");
|
|
7
|
+
const noop_1 = tslib_1.__importDefault(require("lodash/fp/noop"));
|
|
7
8
|
const MapSettingsPanel_1 = tslib_1.__importDefault(require("../MapSettingsPanel"));
|
|
8
9
|
const MapSettingsItem_1 = tslib_1.__importDefault(require("../MapSettingsItem"));
|
|
9
10
|
const MapSettingsTile_1 = tslib_1.__importDefault(require("../MapSettingsTile"));
|
|
10
11
|
const MapIcon_1 = require("../../../../icons/MapIcon");
|
|
11
|
-
const MapClusterSettings = props => {
|
|
12
|
-
const { showCluster, onShowClusterChange, onToggle } = props, remainingProps = tslib_1.__rest(props, ["showCluster", "onShowClusterChange", "onToggle"]);
|
|
13
|
-
const handleShowCluster = setShowCluster => {
|
|
12
|
+
const MapClusterSettings = (props) => {
|
|
13
|
+
const { showCluster = true, onShowClusterChange = noop_1.default, onToggle = noop_1.default } = props, remainingProps = tslib_1.__rest(props, ["showCluster", "onShowClusterChange", "onToggle"]);
|
|
14
|
+
const handleShowCluster = (setShowCluster) => {
|
|
14
15
|
onShowClusterChange(setShowCluster);
|
|
15
16
|
onToggle(setShowCluster);
|
|
16
17
|
};
|
|
17
18
|
return ((0, jsx_runtime_1.jsx)(MapSettingsTile_1.default, Object.assign({ className: 'MapClusterSettings', isActive: showCluster, activeIcon: (0, jsx_runtime_1.jsx)(MapIcon_1.MapIcon, { name: MapIcon_1.CLUSTER_INACTIVE }), inactiveIcon: (0, jsx_runtime_1.jsx)(MapIcon_1.MapIcon, { name: MapIcon_1.NO_CLUSTER_INACTIVE }), panel: (0, jsx_runtime_1.jsxs)(MapSettingsPanel_1.default, { children: [(0, jsx_runtime_1.jsx)(MapSettingsItem_1.default, { onClick: () => handleShowCluster(true), isActive: showCluster, activeIcon: (0, jsx_runtime_1.jsx)(MapIcon_1.MapIcon, { name: MapIcon_1.CLUSTER_ACTIVE, className: 'MapClusterIcon' }), inactiveIcon: (0, jsx_runtime_1.jsx)(MapIcon_1.MapIcon, { name: MapIcon_1.CLUSTER_INACTIVE, className: 'MapClusterIconInactive' }) }), (0, jsx_runtime_1.jsx)(MapSettingsItem_1.default, { onClick: () => handleShowCluster(false), isActive: !showCluster, activeIcon: (0, jsx_runtime_1.jsx)(MapIcon_1.MapIcon, { name: MapIcon_1.NO_CLUSTER_ACTIVE, className: 'MapNoClusterIcon' }), inactiveIcon: (0, jsx_runtime_1.jsx)(MapIcon_1.MapIcon, { name: MapIcon_1.NO_CLUSTER_INACTIVE, className: 'MapNoClusterIconInactive' }) })] }) }, remainingProps)));
|
|
18
19
|
};
|
|
19
|
-
MapClusterSettings.displayName = 'MapClusterSettings';
|
|
20
|
-
MapClusterSettings.defaultProps = {
|
|
21
|
-
onShowClusterChange: () => { },
|
|
22
|
-
showCluster: true,
|
|
23
|
-
onToggle: () => { },
|
|
24
|
-
};
|
|
25
|
-
MapClusterSettings.propTypes = {
|
|
26
|
-
onShowClusterChange: prop_types_1.default.func,
|
|
27
|
-
showCluster: prop_types_1.default.bool,
|
|
28
|
-
onToggle: prop_types_1.default.func,
|
|
29
|
-
};
|
|
30
20
|
exports.default = MapClusterSettings;
|
package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts
CHANGED
|
@@ -1,22 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type MapLayerSettingsProps = {
|
|
3
|
+
activeBuiltinLayers?: string[];
|
|
4
|
+
activeLayers?: string[];
|
|
5
|
+
onMapLayerChange?: () => string;
|
|
6
|
+
layers?: JSX.Element[];
|
|
7
|
+
tooltip?: string | React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
declare const MapLayerSettings: (props: MapLayerSettingsProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
10
|
export default MapLayerSettings;
|
|
2
|
-
declare function MapLayerSettings(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace MapLayerSettings {
|
|
4
|
-
const displayName: string;
|
|
5
|
-
namespace defaultProps {
|
|
6
|
-
function onMapLayerChange(): void;
|
|
7
|
-
const activeBuiltinLayers: never[];
|
|
8
|
-
const activeLayers: never[];
|
|
9
|
-
const layers: never[];
|
|
10
|
-
}
|
|
11
|
-
namespace propTypes {
|
|
12
|
-
const onMapLayerChange_1: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
-
export { onMapLayerChange_1 as onMapLayerChange };
|
|
14
|
-
const activeBuiltinLayers_1: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
15
|
-
export { activeBuiltinLayers_1 as activeBuiltinLayers };
|
|
16
|
-
const activeLayers_1: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
17
|
-
export { activeLayers_1 as activeLayers };
|
|
18
|
-
const layers_1: PropTypes.Requireable<any[]>;
|
|
19
|
-
export { layers_1 as layers };
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
import PropTypes from "prop-types";
|
package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.js
CHANGED
|
@@ -3,35 +3,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
-
const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
|
|
7
6
|
const isEmpty_1 = tslib_1.__importDefault(require("lodash/fp/isEmpty"));
|
|
8
7
|
const map_1 = tslib_1.__importDefault(require("lodash/fp/map"));
|
|
9
8
|
const union_1 = tslib_1.__importDefault(require("lodash/fp/union"));
|
|
10
|
-
const
|
|
11
|
-
const validation_1 = require("../../../../utils/validation");
|
|
9
|
+
const noop_1 = tslib_1.__importDefault(require("lodash/fp/noop"));
|
|
12
10
|
const MapSettingsPanel_1 = tslib_1.__importDefault(require("../MapSettingsPanel"));
|
|
13
11
|
const MapSettingsTile_1 = tslib_1.__importDefault(require("../MapSettingsTile"));
|
|
14
12
|
const MapIcon_1 = require("../../../../icons/MapIcon");
|
|
15
|
-
const MapLayerSettings = props => {
|
|
16
|
-
const { activeBuiltinLayers, activeLayers
|
|
13
|
+
const MapLayerSettings = (props) => {
|
|
14
|
+
const { activeBuiltinLayers = [], activeLayers = [], layers = [], onMapLayerChange = noop_1.default } = props, remainingProps = tslib_1.__rest(props, ["activeBuiltinLayers", "activeLayers", "layers", "onMapLayerChange"]);
|
|
17
15
|
const allActiveLayer = (0, union_1.default)(activeBuiltinLayers, activeLayers);
|
|
18
|
-
return ((0, jsx_runtime_1.jsx)(MapSettingsTile_1.default, Object.assign({ className: 'MapLayerSettings', isActive: !(0, isEmpty_1.default)(allActiveLayer), activeIcon: (0, jsx_runtime_1.jsx)(MapIcon_1.MapIcon, { name: MapIcon_1.LAYER_ACTIVE, className: 'MapLayerIcon' }), inactiveIcon: (0, jsx_runtime_1.jsx)(MapIcon_1.MapIcon, { name: MapIcon_1.LAYER_INACTIVE, className: 'MapLayerIconInactive' }), panel: (0, jsx_runtime_1.jsx)(MapSettingsPanel_1.default, { children: (0, map_1.default)(layer =>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
onMapLayerChange: () => { },
|
|
27
|
-
activeBuiltinLayers: [],
|
|
28
|
-
activeLayers: [],
|
|
29
|
-
layers: [],
|
|
30
|
-
};
|
|
31
|
-
MapLayerSettings.propTypes = {
|
|
32
|
-
onMapLayerChange: prop_types_1.default.func,
|
|
33
|
-
activeBuiltinLayers: prop_types_1.default.arrayOf(prop_types_1.default.string),
|
|
34
|
-
activeLayers: prop_types_1.default.arrayOf(prop_types_1.default.string),
|
|
35
|
-
layers: prop_types_1.default.array,
|
|
16
|
+
return ((0, jsx_runtime_1.jsx)(MapSettingsTile_1.default, Object.assign({ className: 'MapLayerSettings', isActive: !(0, isEmpty_1.default)(allActiveLayer), activeIcon: (0, jsx_runtime_1.jsx)(MapIcon_1.MapIcon, { name: MapIcon_1.LAYER_ACTIVE, className: 'MapLayerIcon' }), inactiveIcon: (0, jsx_runtime_1.jsx)(MapIcon_1.MapIcon, { name: MapIcon_1.LAYER_INACTIVE, className: 'MapLayerIconInactive' }), panel: (0, jsx_runtime_1.jsx)(MapSettingsPanel_1.default, { children: (0, map_1.default)(layer => {
|
|
17
|
+
var _a;
|
|
18
|
+
return react_1.default.cloneElement(layer, {
|
|
19
|
+
key: (_a = layer === null || layer === void 0 ? void 0 : layer.key) !== null && _a !== void 0 ? _a : `MapLayerSettings_${crypto.randomUUID()}`,
|
|
20
|
+
activeBuiltinLayers,
|
|
21
|
+
onMapLayerChange,
|
|
22
|
+
});
|
|
23
|
+
}, layers) }) }, remainingProps)));
|
|
36
24
|
};
|
|
37
25
|
exports.default = MapLayerSettings;
|
package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { MapType } from '../../../../utils/mapTypes';
|
|
3
|
+
export type MapTypeSettingsProps = {
|
|
4
|
+
mapType?: string;
|
|
5
|
+
enableNightMap?: boolean;
|
|
6
|
+
onMapTypeChange?: () => MapType;
|
|
7
|
+
tooltip?: string | React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
declare const MapTypeSettings: (props: MapTypeSettingsProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
10
|
export default MapTypeSettings;
|
|
2
|
-
declare function MapTypeSettings(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace MapTypeSettings {
|
|
4
|
-
const displayName: string;
|
|
5
|
-
namespace defaultProps {
|
|
6
|
-
function onMapTypeChange(): void;
|
|
7
|
-
const enableNightMap: boolean;
|
|
8
|
-
}
|
|
9
|
-
namespace propTypes {
|
|
10
|
-
export const mapType: PropTypes.Requireable<string>;
|
|
11
|
-
const enableNightMap_1: PropTypes.Requireable<boolean>;
|
|
12
|
-
export { enableNightMap_1 as enableNightMap };
|
|
13
|
-
const onMapTypeChange_1: PropTypes.Requireable<(...args: any[]) => any>;
|
|
14
|
-
export { onMapTypeChange_1 as onMapTypeChange };
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
import PropTypes from "prop-types";
|