@rio-cloud/rio-uikit 0.16.4-beta.7 → 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
|
@@ -2,42 +2,26 @@
|
|
|
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 react_1 =
|
|
6
|
-
const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
|
|
5
|
+
const react_1 = require("react");
|
|
7
6
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
8
7
|
const framer_motion_1 = require("framer-motion");
|
|
9
8
|
const RuleConnector_1 = tslib_1.__importDefault(require("./RuleConnector"));
|
|
10
|
-
const RuleContainer = props => {
|
|
11
|
-
const { show, unchecked, background, borderColor, hideConnector, customConnector, className, children } = props, remainingProps = tslib_1.__rest(props, ["show", "unchecked", "background", "borderColor", "hideConnector", "customConnector", "className", "children"]);
|
|
9
|
+
const RuleContainer = (props) => {
|
|
10
|
+
const { show = true, unchecked = false, background = 'bg-lightest', borderColor = '', hideConnector = false, customConnector, className = '', children } = props, remainingProps = tslib_1.__rest(props, ["show", "unchecked", "background", "borderColor", "hideConnector", "customConnector", "className", "children"]);
|
|
12
11
|
if (!show) {
|
|
13
12
|
return null;
|
|
14
13
|
}
|
|
15
14
|
const boxClassNames = (0, classnames_1.default)('RuleContainerBox', 'position-relative', 'rounded padding-20', background, unchecked && `border border-width border-style-dashed ${borderColor}`, className);
|
|
16
|
-
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'RuleContainer' }, remainingProps, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: boxClassNames, "data-testid": 'ruleContainerBox' }, { children: (0, jsx_runtime_1.jsx)(framer_motion_1.AnimatePresence, Object.assign({ exitBeforeEnter: true }, { children: react_1.
|
|
15
|
+
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'RuleContainer' }, remainingProps, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: boxClassNames, "data-testid": 'ruleContainerBox' }, { children: (0, jsx_runtime_1.jsx)(framer_motion_1.AnimatePresence, Object.assign({ exitBeforeEnter: true }, { children: react_1.Children.map(children, child => {
|
|
17
16
|
var _a;
|
|
18
17
|
if (!child) {
|
|
19
18
|
return null;
|
|
20
19
|
}
|
|
20
|
+
// just bending the type system a bit so that it matches the existing implementation :)
|
|
21
|
+
const childAsElement = child;
|
|
21
22
|
// In case there are multiple children of RuleContainer, use the
|
|
22
23
|
// type name or the type itself as a key to animate between the two children
|
|
23
|
-
return ((0, jsx_runtime_1.jsx)(framer_motion_1.motion.div, Object.assign({ initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 } }, { children: child }), ((_a =
|
|
24
|
+
return ((0, jsx_runtime_1.jsx)(framer_motion_1.motion.div, Object.assign({ initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 } }, { children: child }), ((_a = childAsElement.type) === null || _a === void 0 ? void 0 : _a.name) || childAsElement.type));
|
|
24
25
|
}) })) })), customConnector ? customConnector : (0, jsx_runtime_1.jsx)(RuleConnector_1.default, { hidden: unchecked || hideConnector })] })));
|
|
25
26
|
};
|
|
26
|
-
RuleContainer.defaultProps = {
|
|
27
|
-
show: true,
|
|
28
|
-
unchecked: false,
|
|
29
|
-
background: 'bg-lightest',
|
|
30
|
-
borderColor: '',
|
|
31
|
-
hideConnector: false,
|
|
32
|
-
className: '',
|
|
33
|
-
};
|
|
34
|
-
RuleContainer.propTypes = {
|
|
35
|
-
show: prop_types_1.default.bool,
|
|
36
|
-
unchecked: prop_types_1.default.bool,
|
|
37
|
-
background: prop_types_1.default.string,
|
|
38
|
-
borderColor: prop_types_1.default.string,
|
|
39
|
-
hideConnector: prop_types_1.default.bool,
|
|
40
|
-
customConnector: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
41
|
-
className: prop_types_1.default.string,
|
|
42
|
-
};
|
|
43
27
|
exports.default = RuleContainer;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
+
import { type HTMLAttributes, type PropsWithChildren } from 'react';
|
|
2
|
+
type RulesWrapperProps = HTMLAttributes<HTMLDivElement>;
|
|
3
|
+
declare const RulesWrapper: ({ children, ...remainingProps }: PropsWithChildren<RulesWrapperProps>) => import("react/jsx-runtime").JSX.Element;
|
|
1
4
|
export default RulesWrapper;
|
|
2
|
-
declare function RulesWrapper({ children, ...remainigProps }: {
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
children: any;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare namespace RulesWrapper {
|
|
7
|
-
const defaultProps: {};
|
|
8
|
-
}
|
|
@@ -2,11 +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
|
-
|
|
5
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
6
|
+
require("react");
|
|
6
7
|
const framer_motion_1 = require("framer-motion");
|
|
7
8
|
const RulesWrapper = (_a) => {
|
|
8
|
-
var { children } = _a,
|
|
9
|
-
return (
|
|
9
|
+
var { children } = _a, remainingProps = tslib_1.__rest(_a, ["children"]);
|
|
10
|
+
return (
|
|
11
|
+
// @ts-ignore-next-line
|
|
12
|
+
(0, jsx_runtime_1.jsx)(framer_motion_1.motion.div, Object.assign({ initial: false, layout: true }, remainingProps, { children: (0, jsx_runtime_1.jsx)(framer_motion_1.AnimatePresence, { children: (0, jsx_runtime_1.jsx)(framer_motion_1.motion.div, Object.assign({ layout: 'position' }, { children: children })) }) })));
|
|
10
13
|
};
|
|
11
|
-
RulesWrapper.defaultProps = {};
|
|
12
14
|
exports.default = RulesWrapper;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import React, { type HTMLAttributes } from 'react';
|
|
2
2
|
export type SaveableInputProps = {
|
|
3
3
|
/**
|
|
4
4
|
* The input placeholder.
|
|
@@ -18,6 +18,13 @@ export type SaveableInputProps = {
|
|
|
18
18
|
* The actual input value.
|
|
19
19
|
*/
|
|
20
20
|
value?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Used to control the save button from the outside to disable it in case
|
|
23
|
+
* the entered value is not valid.
|
|
24
|
+
*
|
|
25
|
+
* @default true
|
|
26
|
+
*/
|
|
27
|
+
isValid?: boolean;
|
|
21
28
|
/**
|
|
22
29
|
* Callback function triggered when the value changes.
|
|
23
30
|
* @param value
|
|
@@ -25,6 +32,26 @@ export type SaveableInputProps = {
|
|
|
25
32
|
* @returns
|
|
26
33
|
*/
|
|
27
34
|
onValueChanged?: (value: string, previousValue: string) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Callback function that gets triggered on every input change. Use this to control the component
|
|
37
|
+
* or when implementing key validation.
|
|
38
|
+
* @param keyValue the key value that has been entered
|
|
39
|
+
* @param inputValue the current complete value of the input
|
|
40
|
+
* @returns
|
|
41
|
+
*/
|
|
42
|
+
onInputChange?: (keyValue: string, inputValue: string) => void;
|
|
43
|
+
/**
|
|
44
|
+
* Callback function that gets triggered when the user aborts the edit mode. Use this
|
|
45
|
+
* to control the component and handle the resetting of previous value on the outside.
|
|
46
|
+
* @returns
|
|
47
|
+
*/
|
|
48
|
+
onEsc?: () => void;
|
|
49
|
+
/**
|
|
50
|
+
* Callback function that gets triggered when the input is in edit mode. Use this
|
|
51
|
+
* to control the component dna to handle the previous value on the outside.
|
|
52
|
+
* @returns
|
|
53
|
+
*/
|
|
54
|
+
onEnterEdit?: () => void;
|
|
28
55
|
/**
|
|
29
56
|
* Defines the button style: `default` or `primary`.
|
|
30
57
|
*/
|
|
@@ -32,7 +59,20 @@ export type SaveableInputProps = {
|
|
|
32
59
|
/**
|
|
33
60
|
* Additional HTML attributes to be set on the input element.
|
|
34
61
|
*/
|
|
35
|
-
inputProps?:
|
|
62
|
+
inputProps?: HTMLAttributes<HTMLInputElement>;
|
|
63
|
+
/**
|
|
64
|
+
* Adds a given unit to the input.
|
|
65
|
+
*/
|
|
66
|
+
unit?: string | React.ReactNode;
|
|
67
|
+
/**
|
|
68
|
+
* Icon class name that shall be used. If defined, the input element is wrapped in an input-group
|
|
69
|
+
* and the icon will be set in an input-addon. Example: `rioglyph-search`.
|
|
70
|
+
*/
|
|
71
|
+
icon?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Disables the component so the user cannot enter the edit mode.
|
|
74
|
+
*/
|
|
75
|
+
disabled?: boolean;
|
|
36
76
|
/**
|
|
37
77
|
* Additional classes to be set on the input itself.
|
|
38
78
|
*/
|
|
@@ -11,15 +11,28 @@ const Button_1 = tslib_1.__importDefault(require("../../Button"));
|
|
|
11
11
|
const useKey_1 = tslib_1.__importDefault(require("../../hooks/useKey"));
|
|
12
12
|
const useEsc_1 = tslib_1.__importDefault(require("../../hooks/useEsc"));
|
|
13
13
|
const DEFAULT_BUTTON_STYLE = 'primary';
|
|
14
|
-
|
|
14
|
+
const useFocus = (isEditable) => {
|
|
15
|
+
const inputRef = (0, react_1.useRef)(null);
|
|
16
|
+
(0, react_1.useEffect)(() => {
|
|
17
|
+
if (inputRef.current && isEditable) {
|
|
18
|
+
inputRef.current.focus();
|
|
19
|
+
}
|
|
20
|
+
}, [inputRef.current, isEditable]);
|
|
21
|
+
return inputRef;
|
|
22
|
+
};
|
|
23
|
+
// Features:
|
|
15
24
|
// [ ] what shall happen when user leaves component while in edit mode (click outside or tab) - close on blur?
|
|
16
25
|
// [x] avoid save without change
|
|
17
26
|
// [x] use fixed previous value
|
|
18
27
|
// [x] enter = save
|
|
19
28
|
// [x] esc key to abort and leave edit mode
|
|
20
29
|
// [x] tab focus + enter = go into edit mode
|
|
30
|
+
// [x] validate after each key, i.e for number inputs - use onInputChange callback
|
|
31
|
+
// [x] support form feedback error - wrap it with form-group and feedback classes
|
|
32
|
+
// [x] allow for unit and icon
|
|
33
|
+
// [x] disabled input
|
|
21
34
|
const SaveableInput = (props) => {
|
|
22
|
-
const { placeholder, fixedPreviousValue = '', previousValue = '', value: externalValue = '', onValueChanged = noop_1.default, buttonStyle = DEFAULT_BUTTON_STYLE, inputClassName,
|
|
35
|
+
const { placeholder, fixedPreviousValue = '', previousValue = '', value: externalValue = '', isValid = true, onValueChanged = noop_1.default, onInputChange, onEsc = noop_1.default, onEnterEdit = noop_1.default, buttonStyle = DEFAULT_BUTTON_STYLE, inputClassName, inputProps, icon, unit, disabled = false, className } = props, remainingProps = tslib_1.__rest(props, ["placeholder", "fixedPreviousValue", "previousValue", "value", "isValid", "onValueChanged", "onInputChange", "onEsc", "onEnterEdit", "buttonStyle", "inputClassName", "inputProps", "icon", "unit", "disabled", "className"]);
|
|
23
36
|
const externalOldValue = previousValue || fixedPreviousValue;
|
|
24
37
|
const [inputValue, setInputValue] = (0, react_1.useState)(externalValue);
|
|
25
38
|
const [oldInputValue, setOldInputValue] = (0, react_1.useState)(externalOldValue);
|
|
@@ -40,15 +53,10 @@ const SaveableInput = (props) => {
|
|
|
40
53
|
setPreviousExternalOldValue(externalOldValue);
|
|
41
54
|
}
|
|
42
55
|
// Set focus on input when being in edit mode
|
|
43
|
-
const inputRef = (
|
|
44
|
-
(0, react_1.useEffect)(() => {
|
|
45
|
-
if (inputRef.current && editInput) {
|
|
46
|
-
inputRef.current.focus();
|
|
47
|
-
}
|
|
48
|
-
}, [inputRef.current, editInput]);
|
|
56
|
+
const inputRef = useFocus(editInput);
|
|
49
57
|
// Allow to exit "edit" mode with "Enter" to accept changes
|
|
50
58
|
(0, useKey_1.default)((event) => {
|
|
51
|
-
if (isFocused && editInput && event.key === 'Enter') {
|
|
59
|
+
if (isFocused && editInput && isValid && event.key === 'Enter') {
|
|
52
60
|
handleToggleInput();
|
|
53
61
|
}
|
|
54
62
|
});
|
|
@@ -59,6 +67,7 @@ const SaveableInput = (props) => {
|
|
|
59
67
|
setInputValue(initialInputValueRef.current);
|
|
60
68
|
setOldInputValue(initialOldInputValueRef.current);
|
|
61
69
|
setEditInput(false);
|
|
70
|
+
onEsc();
|
|
62
71
|
}
|
|
63
72
|
});
|
|
64
73
|
const handleToggleInput = () => {
|
|
@@ -67,26 +76,46 @@ const SaveableInput = (props) => {
|
|
|
67
76
|
// Temporarily store values of input and oldInput to be used when
|
|
68
77
|
// discarding changes on "esc" or to avoid saving without changes
|
|
69
78
|
if (!fixedPreviousValue) {
|
|
70
|
-
initialInputValueRef.current = inputValue;
|
|
71
79
|
initialOldInputValueRef.current = oldInputValue;
|
|
72
80
|
}
|
|
81
|
+
initialInputValueRef.current = inputValue;
|
|
82
|
+
onEnterEdit();
|
|
73
83
|
}
|
|
74
84
|
else {
|
|
75
85
|
setEditInput(false);
|
|
86
|
+
// In case the new input value has not changed to the initial value
|
|
87
|
+
// reset the internal old value to the initial
|
|
76
88
|
if (initialInputValueRef.current !== inputValue) {
|
|
77
|
-
setOldInputValue(initialInputValueRef.current);
|
|
89
|
+
setOldInputValue(fixedPreviousValue || initialInputValueRef.current);
|
|
78
90
|
onValueChanged(inputValue, oldInputValue);
|
|
79
91
|
}
|
|
80
92
|
}
|
|
81
93
|
};
|
|
82
|
-
const handleInputChange = (event) =>
|
|
94
|
+
const handleInputChange = (event) => {
|
|
95
|
+
var _a;
|
|
96
|
+
// Only update internal value if the external "onInputChange" callback function is not defined
|
|
97
|
+
// as it will be used in a controlled way
|
|
98
|
+
if (onInputChange) {
|
|
99
|
+
// Use type assertion to access nativeEvent.data
|
|
100
|
+
const nativeEventData = (_a = event.nativeEvent) === null || _a === void 0 ? void 0 : _a.data;
|
|
101
|
+
// Whe "backspace" is used to remove a value, the nativeEventData is undefined. In this case
|
|
102
|
+
// we need to use the target value for the callback otherwise the user will not be able to
|
|
103
|
+
// remove a character from the input
|
|
104
|
+
const currentInputValue = event.target.value;
|
|
105
|
+
onInputChange(nativeEventData !== null && nativeEventData !== void 0 ? nativeEventData : currentInputValue, event.currentTarget.value);
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
setInputValue(event.target.value);
|
|
109
|
+
};
|
|
83
110
|
const handleFocus = () => setIsFocused(true);
|
|
84
111
|
const handleBlur = () => setIsFocused(false);
|
|
85
112
|
const showOldValue = !(0, isEmpty_1.default)(oldInputValue) && oldInputValue !== inputValue && !editInput;
|
|
86
113
|
const wrapperClasses = (0, classnames_1.default)('form-group', className);
|
|
87
|
-
const inputClasses = (0, classnames_1.default)('form-control', showOldValue && 'padding-bottom-0 padding-top-10 text-size-12',
|
|
114
|
+
const inputClasses = (0, classnames_1.default)('form-control', showOldValue && 'padding-bottom-0 padding-top-10 text-size-12', unit && 'padding-right-50', // This value is not perfect as with longer units it might conflict with the value
|
|
115
|
+
inputClassName);
|
|
116
|
+
const oldValueClasses = (0, classnames_1.default)('position-absolute', 'top-2', 'left-10', 'margin-left-3', 'text-size-10', 'text-decoration-line-through', icon && 'padding-left-20');
|
|
88
117
|
const buttonIconClasses = (0, classnames_1.default)('rioglyph', editInput ? 'rioglyph-ok' : 'rioglyph-pencil');
|
|
89
|
-
|
|
90
|
-
|
|
118
|
+
const disableButton = (editInput && !isValid) || disabled;
|
|
119
|
+
return ((0, jsx_runtime_1.jsx)("div", Object.assign({}, remainingProps, { className: wrapperClasses }, { children: (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'input-group' }, { children: [icon && ((0, jsx_runtime_1.jsx)("span", Object.assign({ className: 'input-group-addon' }, { children: (0, jsx_runtime_1.jsx)("span", { className: `rioglyph ${icon}`, "aria-hidden": 'true', "aria-label": 'input icon' }) }))), (0, jsx_runtime_1.jsx)("input", Object.assign({ type: 'text', ref: inputRef, placeholder: placeholder, className: inputClasses, value: inputValue, onChange: handleInputChange, onFocus: handleFocus, onBlur: handleBlur, disabled: !editInput }, inputProps)), unit && ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'position-absolute right-0 margin-right-50', "aria-label": 'unit' }, { children: unit }))), showOldValue && ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: oldValueClasses, "aria-label": 'previous value' }, { children: oldInputValue }))), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'input-group-btn' }, { children: (0, jsx_runtime_1.jsx)(Button_1.default, Object.assign({ bsStyle: buttonStyle, iconOnly: true, onClick: handleToggleInput, disabled: disableButton }, { children: (0, jsx_runtime_1.jsx)("span", { className: buttonIconClasses }) })) }))] })) })));
|
|
91
120
|
};
|
|
92
121
|
exports.default = SaveableInput;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type OptionDOMValue = {
|
|
3
|
+
id: string;
|
|
4
|
+
text: string;
|
|
5
|
+
};
|
|
6
|
+
export type SelectOption = {
|
|
7
|
+
/**
|
|
8
|
+
* Used to identify an option.
|
|
9
|
+
*/
|
|
10
|
+
id: string;
|
|
11
|
+
/**
|
|
12
|
+
* The option item text.
|
|
13
|
+
*/
|
|
14
|
+
label: string | React.ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Icon to be displayed in front of the label.
|
|
17
|
+
*/
|
|
18
|
+
icon?: React.ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* Defines whether the menu item is selected.
|
|
21
|
+
*
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
selected?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Setting "disabled" to true will disable the respective item.
|
|
27
|
+
*
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Will treat the given value as a menu header
|
|
33
|
+
*/
|
|
34
|
+
header?: boolean;
|
|
35
|
+
};
|
|
36
|
+
export type BaseSelectDropdownProps<T extends SelectOption> = {
|
|
37
|
+
options?: T[];
|
|
38
|
+
isOpen?: boolean;
|
|
39
|
+
updateDOMValues?: (values: OptionDOMValue[] | undefined) => void;
|
|
40
|
+
onOpen?: (hasDropup: boolean) => void;
|
|
41
|
+
onSelect?: (selectedItem: T | undefined) => void;
|
|
42
|
+
onClose?: () => void;
|
|
43
|
+
placeholder?: string | React.ReactNode;
|
|
44
|
+
dropup?: boolean;
|
|
45
|
+
pullRight?: boolean;
|
|
46
|
+
autoDropDirection?: boolean;
|
|
47
|
+
noItemMessage?: string | React.ReactNode;
|
|
48
|
+
focusedItemIndex?: number;
|
|
49
|
+
dropdownClassName?: string;
|
|
50
|
+
requestItemDOMValues?: boolean;
|
|
51
|
+
keyboardUsed?: boolean;
|
|
52
|
+
useActiveClass?: boolean;
|
|
53
|
+
};
|
|
54
|
+
declare const BaseSelectDropdown: <T extends SelectOption>(props: BaseSelectDropdownProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
export declare const filterOptions: <T extends SelectOption>(itemDOMValues: OptionDOMValue[], filterValue: string, options: T[]) => T[];
|
|
56
|
+
export default BaseSelectDropdown;
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.filterOptions = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
7
|
+
const react_1 = require("react");
|
|
8
|
+
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
9
|
+
const isEmpty_1 = tslib_1.__importDefault(require("lodash/fp/isEmpty"));
|
|
10
|
+
const noop_1 = tslib_1.__importDefault(require("lodash/fp/noop"));
|
|
11
|
+
const useDropDirection_1 = require("../../utils/useDropDirection");
|
|
12
|
+
const scrollItemIntoView_1 = require("../../utils/scrollItemIntoView");
|
|
13
|
+
const useEffectOnce_1 = tslib_1.__importDefault(require("../../hooks/useEffectOnce"));
|
|
14
|
+
const useKey_1 = tslib_1.__importDefault(require("../../useKey"));
|
|
15
|
+
const DropdownHeader_1 = tslib_1.__importDefault(require("./DropdownHeader"));
|
|
16
|
+
const NoItemMessage_1 = tslib_1.__importDefault(require("./NoItemMessage"));
|
|
17
|
+
const DATA_ATTRIBUTE_ID = 'data-item-id';
|
|
18
|
+
const DEFAULT_FOCUSED_ITEM_INDEX = 0;
|
|
19
|
+
const HIGHLIGHT_CLASS = 'focus';
|
|
20
|
+
const BaseSelectDropdown = (props) => {
|
|
21
|
+
const { isOpen = false, updateDOMValues = noop_1.default, onOpen = noop_1.default, onSelect = noop_1.default, onClose = noop_1.default, options = [], autoDropDirection = true, dropup = false, pullRight = false, useActiveClass = false, focusedItemIndex: externalFocusedItemIndex, keyboardUsed: externalKeyboardUsed, noItemMessage, dropdownClassName, } = props;
|
|
22
|
+
const [focusedItemIndex, setFocusedItemIndex] = (0, react_1.useState)(externalFocusedItemIndex || DEFAULT_FOCUSED_ITEM_INDEX);
|
|
23
|
+
const [keyboardUsed, setKeyboardUsed] = (0, react_1.useState)(externalKeyboardUsed);
|
|
24
|
+
const dropdownMenuRef = (0, react_1.useRef)(null);
|
|
25
|
+
(0, useEffectOnce_1.default)(() => {
|
|
26
|
+
// all available items need to be rendered in order to know their DOM value
|
|
27
|
+
// which will be used for filtering in the parent component
|
|
28
|
+
const currentItemDOMValues = updateItemDOMValues();
|
|
29
|
+
updateDOMValues(currentItemDOMValues);
|
|
30
|
+
});
|
|
31
|
+
// Overwrite position of dropdown menu in case auto drop is enabled
|
|
32
|
+
const dropDirection = (0, useDropDirection_1.useDropDirection)({ pullRight, dropup, autoDropDirection, dropdownMenuRef }, [isOpen]);
|
|
33
|
+
// Add or remove the "dropup" class from the parent Select/Multiselect component to position
|
|
34
|
+
// the dropdown element accordingly via CSS
|
|
35
|
+
(0, react_1.useLayoutEffect)(() => {
|
|
36
|
+
if (dropdownMenuRef.current) {
|
|
37
|
+
const parent = dropdownMenuRef.current.parentElement;
|
|
38
|
+
if (dropDirection.dropup) {
|
|
39
|
+
parent === null || parent === void 0 ? void 0 : parent.classList.add('dropup');
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
parent === null || parent === void 0 ? void 0 : parent.classList.remove('dropup');
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}, [dropDirection, dropdownMenuRef]);
|
|
46
|
+
// update internal state for isOpen
|
|
47
|
+
const [previousIsOpen, setPreviousIsOpen] = (0, react_1.useState)(isOpen);
|
|
48
|
+
if (isOpen && !previousIsOpen) {
|
|
49
|
+
onOpen(dropDirection.dropup);
|
|
50
|
+
setPreviousIsOpen(isOpen);
|
|
51
|
+
}
|
|
52
|
+
else if (!isOpen && previousIsOpen) {
|
|
53
|
+
onClose();
|
|
54
|
+
setPreviousIsOpen(isOpen);
|
|
55
|
+
}
|
|
56
|
+
(0, useKey_1.default)(event => {
|
|
57
|
+
if (isOpen) {
|
|
58
|
+
switch (event.key) {
|
|
59
|
+
case 'Escape': {
|
|
60
|
+
// close dropdown on esc
|
|
61
|
+
onClose();
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
case 'Tab': {
|
|
65
|
+
// close dropdown on tab
|
|
66
|
+
onClose();
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
case 'Enter': {
|
|
70
|
+
// select item on enter
|
|
71
|
+
selectOptionOnEnter(event);
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
case 'ArrowUp': {
|
|
75
|
+
// prevent scrolling the page when dropdown menu is open
|
|
76
|
+
event.preventDefault();
|
|
77
|
+
// select item above on arrow up key
|
|
78
|
+
focusOption(scrollItemIntoView_1.UP);
|
|
79
|
+
(0, scrollItemIntoView_1.scrollItemIntoView)(scrollItemIntoView_1.UP, dropdownMenuRef.current, getFocusedOptionNode());
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
case 'ArrowDown': {
|
|
83
|
+
// prevent scrolling the page when dropdown menu is open
|
|
84
|
+
event.preventDefault();
|
|
85
|
+
// select item below on arrow down key
|
|
86
|
+
focusOption(scrollItemIntoView_1.DOWN);
|
|
87
|
+
(0, scrollItemIntoView_1.scrollItemIntoView)(scrollItemIntoView_1.DOWN, dropdownMenuRef.current, getFocusedOptionNode());
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
default:
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
const focusOption = (direction) => {
|
|
96
|
+
let nextFocusedItem = 0;
|
|
97
|
+
switch (direction) {
|
|
98
|
+
case scrollItemIntoView_1.UP: {
|
|
99
|
+
nextFocusedItem = focusedItemIndex <= 0 ? focusedItemIndex : focusedItemIndex - 1;
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
case scrollItemIntoView_1.DOWN: {
|
|
103
|
+
nextFocusedItem = focusedItemIndex === options.length - 1 ? focusedItemIndex : focusedItemIndex + 1;
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
default:
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
// In case the next item index is negative, means outside the bounds of the items,
|
|
110
|
+
// reset it depending on the current direction
|
|
111
|
+
const indexLimit = direction === scrollItemIntoView_1.UP ? options.length - 1 : 0;
|
|
112
|
+
setFocusedItemIndex(nextFocusedItem < 0 ? indexLimit : nextFocusedItem);
|
|
113
|
+
setKeyboardUsed(true);
|
|
114
|
+
};
|
|
115
|
+
const getOptionNodes = () => {
|
|
116
|
+
const node = dropdownMenuRef.current;
|
|
117
|
+
return (node === null || node === void 0 ? void 0 : node.getElementsByTagName('a')) || [];
|
|
118
|
+
};
|
|
119
|
+
const updateItemDOMValues = () => {
|
|
120
|
+
if (dropdownMenuRef.current) {
|
|
121
|
+
const optionNodes = getOptionNodes();
|
|
122
|
+
return [...optionNodes].map(item => {
|
|
123
|
+
return {
|
|
124
|
+
id: item.getAttribute(DATA_ATTRIBUTE_ID),
|
|
125
|
+
text: item.textContent,
|
|
126
|
+
};
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
const getFocusedOptionNode = () => {
|
|
131
|
+
const optionNodes = getOptionNodes();
|
|
132
|
+
return [...optionNodes].find(item => item.className.includes(HIGHLIGHT_CLASS));
|
|
133
|
+
};
|
|
134
|
+
const selectOptionOnEnter = (event) => {
|
|
135
|
+
event.preventDefault();
|
|
136
|
+
// When no filter result was found, avoid selecting anything
|
|
137
|
+
if ((0, isEmpty_1.default)(options)) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
const match = getFocusedOptionNode();
|
|
141
|
+
if (match) {
|
|
142
|
+
const selectedItem = options.find(option => option.id === match.getAttribute(DATA_ATTRIBUTE_ID));
|
|
143
|
+
onSelect(selectedItem);
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
const handleOptionChange = (event) => {
|
|
147
|
+
event.preventDefault();
|
|
148
|
+
const optionId = event.currentTarget.getElementsByTagName('input')[0].value;
|
|
149
|
+
const selectedItem = options.find(option => option.id === optionId);
|
|
150
|
+
onSelect(selectedItem);
|
|
151
|
+
};
|
|
152
|
+
const dropdownMenuClasses = (0, classnames_1.default)('dropdown-menu', dropDirection.pullRight && 'pull-right', dropdownClassName);
|
|
153
|
+
// Don't show the dropdown, when no match are found when filtering unless there is a not found message
|
|
154
|
+
if ((0, isEmpty_1.default)(options)) {
|
|
155
|
+
return (0, jsx_runtime_1.jsx)(NoItemMessage_1.default, { noItemMessage: noItemMessage, className: dropdownMenuClasses });
|
|
156
|
+
}
|
|
157
|
+
return ((0, jsx_runtime_1.jsx)("ul", Object.assign({ className: dropdownMenuClasses, ref: dropdownMenuRef, role: 'menu' }, { children: options.map((option, index) => {
|
|
158
|
+
if (option.header) {
|
|
159
|
+
return (0, jsx_runtime_1.jsx)(DropdownHeader_1.default, { icon: option.icon, label: option.label }, option.id);
|
|
160
|
+
}
|
|
161
|
+
// Show focused style only when keyboard is in use
|
|
162
|
+
const anchorClassNames = (0, classnames_1.default)('display-flex align-items-center', keyboardUsed && focusedItemIndex === index ? HIGHLIGHT_CLASS : '', option.disabled && 'pointer-events-none');
|
|
163
|
+
const wrapperClassNames = (0, classnames_1.default)(option.disabled && 'disabled', useActiveClass && option.selected && 'active');
|
|
164
|
+
return ((0, jsx_runtime_1.jsx)("li", Object.assign({ className: wrapperClassNames, role: 'listitem' }, { children: (0, jsx_runtime_1.jsxs)("a", Object.assign({ role: 'menuitem', className: anchorClassNames, "data-item-id": option.id, "data-item-index": index,
|
|
165
|
+
// Note, we need to assign the click callback only when it's not disabled
|
|
166
|
+
// otherwise the functions is still triggered
|
|
167
|
+
// biome-ignore lint/a11y/useValidAnchor: due to old structure and backwards compatibility
|
|
168
|
+
onClick: option.disabled ? undefined : handleOptionChange }, { children: [(0, jsx_runtime_1.jsxs)("span", { children: [option.icon && (0, jsx_runtime_1.jsx)("span", Object.assign({ className: 'margin-right-5' }, { children: option.icon })), option.label] }), (0, jsx_runtime_1.jsx)("input", { type: 'hidden', value: option.id })] })) }), option.id));
|
|
169
|
+
}) })));
|
|
170
|
+
};
|
|
171
|
+
const filterOptions = (itemDOMValues, filterValue, options) => {
|
|
172
|
+
const filteredDOMValues = itemDOMValues.filter(item => item.text.toLowerCase().includes(filterValue.toLowerCase()));
|
|
173
|
+
// Filter the options according to the filtered DOM values and map the IDs since the filter cannot be done
|
|
174
|
+
// on the options itself as they might contain arbitrary components
|
|
175
|
+
return options.filter(option => {
|
|
176
|
+
return filteredDOMValues.find(domValue => domValue.id === option.id);
|
|
177
|
+
});
|
|
178
|
+
};
|
|
179
|
+
exports.filterOptions = filterOptions;
|
|
180
|
+
exports.default = BaseSelectDropdown;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SelectOption } from './Select';
|
|
2
|
+
export type ClearButtonProps = {
|
|
3
|
+
showClear: boolean;
|
|
4
|
+
selectedItem: SelectOption | null;
|
|
5
|
+
onClear: () => void;
|
|
6
|
+
};
|
|
7
|
+
declare const ClearButton: (props: ClearButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default ClearButton;
|
|
@@ -0,0 +1,14 @@
|
|
|
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 classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
8
|
+
const isNil_1 = tslib_1.__importDefault(require("lodash/fp/isNil"));
|
|
9
|
+
const ClearButton = (props) => {
|
|
10
|
+
const { showClear, selectedItem, onClear } = props;
|
|
11
|
+
const clearButtonClassNames = (0, classnames_1.default)('clearButton', (!showClear || (0, isNil_1.default)(selectedItem)) && 'hide pointer-events-none');
|
|
12
|
+
return ((0, jsx_runtime_1.jsx)("span", Object.assign({ className: clearButtonClassNames, onClick: onClear }, { children: (0, jsx_runtime_1.jsx)("span", { className: 'clearButtonIcon rioglyph rioglyph-remove-sign' }) })));
|
|
13
|
+
};
|
|
14
|
+
exports.default = ClearButton;
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type DropdownHeaderProps = {
|
|
3
|
+
icon?: React.ReactNode;
|
|
4
|
+
center?: boolean;
|
|
5
|
+
label: string | React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
declare const DropdownHeader: (props: DropdownHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
8
|
export default DropdownHeader;
|
|
2
|
-
declare function DropdownHeader(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace DropdownHeader {
|
|
4
|
-
namespace defaultProps {
|
|
5
|
-
const center: boolean;
|
|
6
|
-
}
|
|
7
|
-
namespace propTypes {
|
|
8
|
-
export const icon: PropTypes.Requireable<string>;
|
|
9
|
-
const center_1: PropTypes.Requireable<boolean>;
|
|
10
|
-
export { center_1 as center };
|
|
11
|
-
export const label: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
import PropTypes from "prop-types";
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
3
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const DropdownHeader = props => {
|
|
8
|
-
const { icon, label, center } = props;
|
|
4
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
5
|
+
require("react");
|
|
6
|
+
const DropdownHeader = (props) => {
|
|
7
|
+
const { icon, label, center = true } = props;
|
|
9
8
|
return ((0, jsx_runtime_1.jsx)("li", Object.assign({ className: `dropdown-header ${center ? 'center' : ''}` }, { children: (0, jsx_runtime_1.jsxs)("span", Object.assign({ className: 'dropdown-header-text' }, { children: [icon && (0, jsx_runtime_1.jsx)("span", Object.assign({ className: 'margin-right-5' }, { children: icon })), label] })) })));
|
|
10
9
|
};
|
|
11
|
-
DropdownHeader.defaultProps = {
|
|
12
|
-
center: true,
|
|
13
|
-
};
|
|
14
|
-
DropdownHeader.propTypes = {
|
|
15
|
-
icon: prop_types_1.default.string,
|
|
16
|
-
center: prop_types_1.default.bool,
|
|
17
|
-
label: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]),
|
|
18
|
-
};
|
|
19
10
|
exports.default = DropdownHeader;
|