@rio-cloud/rio-uikit 0.16.4-beta.2 → 0.16.4-beta.4
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/DeviceUtils.js +2 -2
- package/components/actionBarItem/ActionBarItemIcon.d.ts +1 -1
- package/components/activity/Activity.d.ts +26 -0
- package/components/animatedNumber/AnimatedNumber.d.ts +8 -0
- package/components/bottomSheet/BottomSheet.d.ts +50 -1
- package/components/bottomSheet/BottomSheet.js +9 -4
- package/components/map/utils/eventHandling.d.ts +10 -10
- package/components/map/utils/eventHandling.js +29 -29
- package/lib/es/AppNavigationBar.d.ts +2 -5
- package/lib/es/Area.d.ts +2 -5
- package/lib/es/AreaChart.d.ts +2 -5
- package/lib/es/AreaGradient.d.ts +2 -5
- package/lib/es/AssetTree.d.ts +2 -5
- package/lib/es/AutoSuggest.d.ts +2 -6
- package/lib/es/AutoSuggest.js +3 -2
- package/lib/es/Bar.d.ts +2 -8
- package/lib/es/BarChart.d.ts +2 -5
- package/lib/es/BrowserWarning.d.ts +2 -5
- package/lib/es/Button.d.ts +2 -27
- package/lib/es/ButtonDropdown.d.ts +2 -5
- package/lib/es/CalendarStripe.d.ts +2 -5
- package/lib/es/Carousel.d.ts +2 -11
- package/lib/es/ChartNeedle.d.ts +2 -5
- package/lib/es/ChartTooltip.d.ts +2 -5
- package/lib/es/Checkbox.d.ts +2 -5
- package/lib/es/Checkbox.js +3 -2
- package/lib/es/Circle.d.ts +2 -5
- package/lib/es/ClearableInput.d.ts +2 -5
- package/lib/es/ClearableInput.js +3 -2
- package/lib/es/ClusterLayer.d.ts +2 -5
- package/lib/es/ClusterMapMarker.d.ts +2 -5
- package/lib/es/ClusterUtils.d.ts +2 -5
- package/lib/es/Collapse.d.ts +2 -5
- package/lib/es/ColorScheme.d.ts +3 -4
- package/lib/es/Colors.d.ts +2 -21
- package/lib/es/ConfirmationDialog.d.ts +2 -14
- package/lib/es/ContentLoader.d.ts +2 -8
- package/lib/es/ContentLoader.js +3 -2
- package/lib/es/ContextMenu.d.ts +2 -5
- package/lib/es/ContextMenuItem.d.ts +2 -5
- package/lib/es/CustomState.d.ts +2 -5
- package/lib/es/DataTab.d.ts +2 -5
- package/lib/es/DataTabs.d.ts +2 -5
- package/lib/es/DatePicker.d.ts +2 -5
- package/lib/es/DateRangePicker.d.ts +2 -5
- package/lib/es/DeviceUtils.d.ts +13 -13
- package/lib/es/DeviceUtils.js +2 -1
- package/lib/es/Dialog.d.ts +2 -15
- package/lib/es/DomMarker.d.ts +2 -5
- package/lib/es/DropdownSubmenu.d.ts +2 -5
- package/lib/es/EditableContent.d.ts +2 -0
- package/lib/es/EditableContent.js +7 -0
- package/lib/es/EmptyState.d.ts +2 -5
- package/lib/es/ErrorState.d.ts +2 -5
- package/lib/es/EventUtils.d.ts +2 -36
- package/lib/es/ExpanderList.d.ts +2 -5
- package/lib/es/ExpanderPanel.d.ts +2 -5
- package/lib/es/Fade.d.ts +2 -14
- package/lib/es/FilePicker.d.ts +2 -9
- package/lib/es/ForbiddenState.d.ts +2 -5
- package/lib/es/ImagePreloader.d.ts +2 -5
- package/lib/es/IncidentsLayer.d.ts +2 -4
- package/lib/es/InfoDialog.d.ts +2 -5
- package/lib/es/Legend.d.ts +2 -5
- package/lib/es/Line.d.ts +2 -5
- package/lib/es/LineChart.d.ts +2 -5
- package/lib/es/ListMenu.d.ts +2 -6
- package/lib/es/MaintenanceState.d.ts +2 -5
- package/lib/es/Map.d.ts +2 -12
- package/lib/es/MapBoundingBoxButton.d.ts +2 -5
- package/lib/es/MapCenterMarkerButton.d.ts +2 -5
- package/lib/es/MapClusterSettings.d.ts +2 -5
- package/lib/es/MapCustomerPoiSettingsItem.d.ts +2 -5
- package/lib/es/MapLayerGroup.d.ts +2 -5
- package/lib/es/MapLayerIncidentsItem.d.ts +2 -5
- package/lib/es/MapLayerRoadRestrictionsItem.d.ts +2 -5
- package/lib/es/MapLayerSettings.d.ts +2 -5
- package/lib/es/MapLayerTrafficItem.d.ts +2 -5
- package/lib/es/MapLockMarkerButton.d.ts +2 -5
- package/lib/es/MapSettings.d.ts +2 -5
- package/lib/es/MapSettingsItem.d.ts +2 -5
- package/lib/es/MapSettingsPanel.d.ts +2 -5
- package/lib/es/MapSettingsTile.d.ts +2 -5
- package/lib/es/MapTypeSettings.d.ts +2 -5
- package/lib/es/MapWorkshopPoiSettingsItem.d.ts +2 -5
- package/lib/es/Marker.d.ts +2 -5
- package/lib/es/MarkerLayer.d.ts +2 -5
- package/lib/es/MediaDialog.d.ts +2 -9
- package/lib/es/MenuItem.d.ts +2 -5
- package/lib/es/Multiselect.d.ts +2 -12
- package/lib/es/NotBookedState.d.ts +2 -5
- package/lib/es/NotFoundState.d.ts +2 -5
- package/lib/es/Notification.d.ts +2 -9
- package/lib/es/NotificationsContainer.d.ts +2 -5
- package/lib/es/NumberControl.d.ts +2 -8
- package/lib/es/NumberControl.js +3 -2
- package/lib/es/NumberInput.d.ts +2 -8
- package/lib/es/NumberInput.js +3 -2
- package/lib/es/OnboardingTip.d.ts +2 -30
- package/lib/es/Pager.d.ts +2 -11
- package/lib/es/Pager.js +3 -2
- package/lib/es/PieChart.d.ts +2 -5
- package/lib/es/Polygon.d.ts +2 -5
- package/lib/es/Polyline.d.ts +2 -5
- package/lib/es/Popover.d.ts +2 -11
- package/lib/es/Position.d.ts +2 -5
- package/lib/es/PositionUtils.d.ts +2 -8
- package/lib/es/RadialBarChart.d.ts +2 -5
- package/lib/es/RadioButton.d.ts +2 -5
- package/lib/es/RangeSlider.d.ts +2 -5
- package/lib/es/ReleaseNotes.d.ts +2 -5
- package/lib/es/ReleaseNotesDialog.d.ts +2 -5
- package/lib/es/ReleaseNotesDialog.js +3 -2
- package/lib/es/Resizer.d.ts +2 -13
- package/lib/es/Resizer.js +3 -2
- package/lib/es/ResponsiveColumnStripe.d.ts +2 -5
- package/lib/es/Route.d.ts +2 -5
- package/lib/es/RuleConnector.d.ts +2 -10
- package/lib/es/RuleContainer.d.ts +2 -6
- package/lib/es/RulesWrapper.d.ts +2 -6
- package/lib/es/SaveDialog.d.ts +2 -14
- package/lib/es/Select.d.ts +2 -5
- package/lib/es/Sidebar.d.ts +2 -11
- package/lib/es/SimpleButtonDropdown.d.ts +2 -5
- package/lib/es/SimpleClusterLayer.d.ts +2 -5
- package/lib/es/SimpleDialog.d.ts +2 -14
- package/lib/es/SingleButtonDropdown.d.ts +2 -5
- package/lib/es/SingleMapMarker.d.ts +2 -5
- package/lib/es/Slider.d.ts +2 -5
- package/lib/es/SortArrowDown.d.ts +2 -5
- package/lib/es/SortArrowUp.d.ts +2 -5
- package/lib/es/SortArrows.d.ts +2 -5
- package/lib/es/SortDirection.d.ts +2 -11
- package/lib/es/SortUtils.d.ts +3 -16
- package/lib/es/Spinner.d.ts +2 -5
- package/lib/es/Spinner.js +3 -2
- package/lib/es/SplitButtonDropdown.d.ts +2 -5
- package/lib/es/SplitDialog.d.ts +2 -14
- package/lib/es/StatsWidget.d.ts +2 -10
- package/lib/es/StatsWidget.js +3 -2
- package/lib/es/StatsWidgetNumber.d.ts +2 -5
- package/lib/es/StatsWidgetNumber.js +3 -2
- package/lib/es/StatsWidgetSpacer.d.ts +2 -5
- package/lib/es/StatsWidgetSpacer.js +3 -2
- package/lib/es/StatsWidgets.d.ts +1 -5
- package/lib/es/StatsWidgets.js +5 -3
- package/lib/es/StatusBar.d.ts +2 -5
- package/lib/es/StatusBar.js +3 -2
- package/lib/es/SteppedProgressBar.d.ts +2 -9
- package/lib/es/SubNavigation.d.ts +2 -5
- package/lib/es/Switch.d.ts +2 -8
- package/lib/es/Switch.js +3 -2
- package/lib/es/TableCardsSorting.d.ts +2 -5
- package/lib/es/TableSearch.d.ts +2 -5
- package/lib/es/TableSettingsDialog.d.ts +2 -5
- package/lib/es/TableToolbar.d.ts +2 -5
- package/lib/es/TableViewToggles.d.ts +2 -12
- package/lib/es/Tag.d.ts +2 -5
- package/lib/es/TagList.d.ts +2 -5
- package/lib/es/TagManager.d.ts +2 -5
- package/lib/es/Teaser.d.ts +2 -5
- package/lib/es/TeaserContainer.d.ts +2 -5
- package/lib/es/TextMarker.d.ts +2 -5
- package/lib/es/TimePicker.d.ts +2 -5
- package/lib/es/ToggleButton.d.ts +2 -5
- package/lib/es/TrafficLayer.d.ts +2 -4
- package/lib/es/Tree.d.ts +2 -5
- package/lib/es/TreeCategory.d.ts +2 -5
- package/lib/es/TreeOption.d.ts +2 -5
- package/lib/es/TreeSearch.d.ts +2 -5
- package/lib/es/TreeSummary.d.ts +2 -5
- package/lib/es/TruckLayer.d.ts +2 -4
- package/lib/es/TypeCounter.d.ts +2 -5
- package/lib/es/VolkswagenApplicationHeader.d.ts +2 -5
- package/lib/es/components/actionBarItem/ActionBarItem.d.ts +21 -0
- package/lib/es/components/actionBarItem/ActionBarItemIcon.d.ts +2 -2
- package/lib/es/components/actionBarItem/ActionBarItemList.d.ts +4 -1
- package/lib/es/components/actionBarItem/ActionBarItemListItem.d.ts +19 -2
- package/lib/es/components/actionBarItem/ActionBarItemListSeparator.d.ts +4 -1
- package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.d.ts +7 -1
- package/lib/es/components/activity/Activity.d.ts +27 -0
- package/lib/es/components/animatedNumber/AnimatedNumber.d.ts +8 -0
- package/lib/es/components/applicationHeader/AppMenu.d.ts +1 -1
- package/lib/es/components/applicationHeader/AppMenu.js +2 -2
- package/lib/es/components/applicationHeader/AppMenuContent.d.ts +1 -1
- package/lib/es/components/applicationHeader/AppMenuDropdown.d.ts +1 -1
- package/lib/es/components/applicationHeader/ApplicationActionBar.d.ts +1 -1
- package/lib/es/components/applicationHeader/ApplicationHeader.d.ts +52 -1
- package/lib/es/components/applicationHeader/MobileAppMenu.d.ts +1 -1
- package/lib/es/components/applicationHeader/MobileHeaderModal.d.ts +1 -1
- package/lib/es/components/applicationHeader/MobileSubmoduleNavigation.d.ts +1 -1
- package/lib/es/components/applicationHeader/NavItems.d.ts +1 -1
- package/lib/es/components/applicationLayout/ApplicationLayout.d.ts +7 -1
- package/lib/es/components/applicationLayout/ApplicationLayoutBody.d.ts +29 -2
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyBanner.d.ts +15 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyBottomBar.d.ts +15 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutBodyNavigation.d.ts +3 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutHeader.d.ts +3 -0
- package/lib/es/components/applicationLayout/ApplicationLayoutSidebar.d.ts +3 -0
- package/lib/es/components/aspectRatioPlaceholder/AspectRatioPlaceholder.d.ts +4 -1
- package/lib/es/components/assetTree/Tree.js +1 -2
- package/lib/es/components/assetTree/TreeLeafList.d.ts +1 -1
- package/lib/es/components/assetTree/TreeNodeContainer.d.ts +1 -1
- package/lib/es/components/assetTree/TreeNothingFound.d.ts +1 -1
- package/lib/es/components/assetTree/TreeOption.d.ts +1 -1
- package/lib/es/components/assetTree/TreeOption.js +2 -2
- package/lib/es/components/assetTree/TreeOptions.d.ts +1 -1
- package/lib/es/components/assetTree/TreeOptions.js +2 -2
- package/lib/es/components/assetTree/TreeRoot.d.ts +1 -1
- package/lib/es/components/assetTree/TreeSelectAll.d.ts +1 -1
- package/lib/es/components/assetTree/TreeSummary.js +1 -1
- package/lib/es/components/assetTree/TypeCounter.js +2 -2
- package/lib/es/components/autosuggest/AutoSuggest.d.ts +200 -115
- package/lib/es/components/autosuggest/AutoSuggest.js +144 -258
- package/lib/es/components/autosuggest/AutoSuggestAddons.d.ts +8 -0
- package/lib/es/components/autosuggest/AutoSuggestAddons.js +9 -0
- package/lib/es/components/autosuggest/DropdownSpinner.d.ts +4 -0
- package/lib/es/components/autosuggest/DropdownSpinner.js +8 -0
- package/lib/es/components/autosuggest/NoItemMessage.d.ts +5 -0
- package/lib/es/components/autosuggest/NoItemMessage.js +7 -0
- package/lib/es/components/bottomSheet/BottomSheet.d.ts +50 -1
- package/lib/es/components/bottomSheet/BottomSheet.js +9 -4
- package/lib/es/components/browserWarning/BrowserIcons.d.ts +2 -2
- package/lib/es/components/browserWarning/BrowserWarning.d.ts +1 -1
- package/lib/es/components/browserWarning/BrowserWarningMessageDE.d.ts +1 -1
- package/lib/es/components/browserWarning/BrowserWarningMessageEN.d.ts +1 -1
- package/lib/es/components/button/Button.d.ts +1 -1
- package/lib/es/components/button/ToggleButton.d.ts +1 -1
- package/lib/es/components/carousel/CarouselCaption.d.ts +1 -1
- package/lib/es/components/carousel/CarouselItem.d.ts +1 -1
- package/lib/es/components/charts/AreaChart.d.ts +2 -2
- package/lib/es/components/charts/AreaGradient.d.ts +1 -1
- package/lib/es/components/charts/BarChart.d.ts +2 -2
- package/lib/es/components/charts/ChartNeedle.d.ts +1 -1
- package/lib/es/components/charts/LineChart.d.ts +2 -2
- package/lib/es/components/charts/PieChart.d.ts +3 -3
- package/lib/es/components/charts/RadialBarChart.d.ts +2 -2
- package/lib/es/components/checkbox/Checkbox.d.ts +126 -56
- package/lib/es/components/checkbox/Checkbox.js +25 -65
- package/lib/es/components/checkbox/CheckboxIcon.d.ts +9 -0
- package/lib/es/components/checkbox/CheckboxIcon.js +15 -0
- package/lib/es/components/clearableInput/ClearableInput.d.ts +95 -58
- package/lib/es/components/clearableInput/ClearableInput.js +47 -97
- package/lib/es/components/collapse/Collapse.d.ts +1 -1
- package/lib/es/components/contentLoader/ContentLoader.d.ts +54 -32
- package/lib/es/components/contentLoader/ContentLoader.js +36 -33
- package/lib/es/components/dataTabs/DataTabs.d.ts +1 -1
- package/lib/es/components/datepicker/DateRangePicker.d.ts +6 -6
- package/lib/es/components/dialog/ConfirmationDialog.d.ts +1 -1
- package/lib/es/components/dialog/Dialog.js +14 -3
- package/lib/es/components/dialog/DialogBody.d.ts +1 -1
- package/lib/es/components/dialog/DialogFooter.d.ts +1 -1
- package/lib/es/components/dialog/DialogHeader.d.ts +1 -1
- package/lib/es/components/dialog/InfoDialog.d.ts +1 -1
- package/lib/es/components/dialog/MediaDialog.d.ts +6 -6
- package/lib/es/components/dialog/ReleaseNotesDialog.d.ts +1 -1
- package/lib/es/components/dialog/SaveDialog.d.ts +1 -1
- package/lib/es/components/dialog/SimpleDialog.d.ts +1 -1
- package/lib/es/components/dialog/SplitDialog.d.ts +1 -1
- package/lib/es/components/driverName/DriverName.d.ts +1 -1
- package/lib/es/components/dropdown/ButtonDropdown.d.ts +1 -1
- package/lib/es/components/dropdown/Caret.d.ts +1 -1
- package/lib/es/components/dropdown/DropdownSubmenu.d.ts +1 -1
- package/lib/es/components/dropdown/SimpleButtonDropdown.d.ts +1 -1
- package/lib/es/components/dropdown/SingleButtonDropdown.d.ts +1 -1
- package/lib/es/components/dropdown/SplitButtonDropdown.d.ts +1 -1
- package/lib/es/components/editableContent/EditableContent.d.ts +86 -0
- package/lib/es/components/editableContent/EditableContent.js +112 -0
- package/lib/es/components/expander/ExpanderList.d.ts +3 -3
- package/lib/es/components/expander/ExpanderPanel.d.ts +1 -1
- package/lib/es/components/fade/Fade.d.ts +1 -1
- package/lib/es/components/filepicker/FilePicker.d.ts +1 -1
- package/lib/es/components/listMenu/ListMenu.d.ts +1 -1
- package/lib/es/components/loadMore/LoadMoreButton.d.ts +31 -3
- package/lib/es/components/loadMore/LoadMoreProgress.d.ts +1 -1
- package/lib/es/components/map/components/Map.d.ts +1 -1
- package/lib/es/components/map/components/features/MapSettings.d.ts +1 -1
- package/lib/es/components/map/components/features/Route.d.ts +1 -1
- package/lib/es/components/map/components/features/basics/MapLayerGroup.d.ts +1 -1
- package/lib/es/components/map/components/features/basics/marker/TextMarker.d.ts +1 -1
- package/lib/es/components/map/components/features/layers/IncidentsLayer.d.ts +1 -1
- package/lib/es/components/map/components/features/layers/MarkerLayer.d.ts +1 -1
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.d.ts +1 -1
- package/lib/es/components/map/components/features/layers/TrafficLayer.d.ts +1 -1
- package/lib/es/components/map/components/features/layers/clustering/SimpleClusterLayer.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/MapSettingsItem.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/MapSettingsPanel.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/MapSettingsTile.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/ZoomButtons.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +1 -1
- package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +1 -1
- package/lib/es/components/map/utils/eventHandling.d.ts +10 -10
- package/lib/es/components/map/utils/eventHandling.js +30 -30
- package/lib/es/components/mapMarker/ClusterMapMarker.d.ts +1 -1
- package/lib/es/components/mapMarker/SingleMapMarker.d.ts +1 -1
- package/lib/es/components/menuItems/MenuItem.d.ts +13 -24
- package/lib/es/components/menuItems/MenuItem.js +8 -23
- package/lib/es/components/navigation/AppNavigationBar.js +1 -1
- package/lib/es/components/noData/NoData.d.ts +27 -2
- package/lib/es/components/notification/NotificationsContainer.d.ts +1 -1
- package/lib/es/components/numberControl/NumberControl.d.ts +4 -2
- package/lib/es/components/numberControl/NumberControl.js +22 -34
- package/lib/es/components/numberInput/NumberInput.d.ts +76 -9
- package/lib/es/components/numberInput/NumberInput.js +80 -47
- package/lib/es/components/overlay/OverlayTrigger.d.ts +4 -16
- package/lib/es/components/overlay/OverlayTrigger.js +4 -2
- package/lib/es/components/pager/Pager.d.ts +52 -24
- package/lib/es/components/pager/Pager.js +10 -20
- package/lib/es/components/position/Position.d.ts +1 -1
- package/lib/es/components/radiobutton/RadioButton.d.ts +1 -1
- package/lib/es/components/radiobutton/RadioButton.js +3 -3
- package/lib/es/components/releaseNotes/ReleaseNotes.d.ts +34 -8
- package/lib/es/components/releaseNotes/ReleaseNotes.js +8 -18
- package/lib/es/components/resizer/Resizer.d.ts +57 -64
- package/lib/es/components/resizer/Resizer.js +109 -109
- package/lib/es/components/rules/RuleConnector.d.ts +1 -1
- package/lib/es/components/rules/RuleContainer.d.ts +1 -1
- package/lib/es/components/rules/RulesWrapper.d.ts +1 -1
- package/lib/es/components/saveableInput/SaveableInput.d.ts +34 -2
- package/lib/es/components/selects/BaseDropdownMenu.d.ts +2 -2
- package/lib/es/components/selects/DropdownHeader.d.ts +1 -1
- package/lib/es/components/selects/Multiselect.d.ts +7 -7
- package/lib/es/components/selects/Select.d.ts +7 -7
- package/lib/es/components/sidebars/Sidebar.d.ts +1 -1
- package/lib/es/components/slider/RangeSlider.d.ts +1 -1
- package/lib/es/components/slider/Slider.d.ts +1 -1
- package/lib/es/components/spinner/Spinner.d.ts +47 -27
- package/lib/es/components/spinner/Spinner.js +12 -31
- package/lib/es/components/states/CustomState.d.ts +1 -1
- package/lib/es/components/states/EmptyState.d.ts +1 -1
- package/lib/es/components/states/ErrorState.d.ts +1 -1
- package/lib/es/components/states/ForbiddenState.d.ts +1 -1
- package/lib/es/components/states/MaintenanceState.d.ts +1 -1
- package/lib/es/components/states/NotBookedState.d.ts +1 -1
- package/lib/es/components/states/NotFoundState.d.ts +1 -1
- package/lib/es/components/statsWidget/StatsWidget.d.ts +25 -21
- package/lib/es/components/statsWidget/StatsWidget.js +8 -16
- package/lib/es/components/statsWidget/StatsWidgetBody.d.ts +13 -12
- package/lib/es/components/statsWidget/StatsWidgetBody.js +6 -13
- package/lib/es/components/statsWidget/StatsWidgetFooter.d.ts +9 -2
- package/lib/es/components/statsWidget/StatsWidgetFooter.js +6 -5
- package/lib/es/components/statsWidget/StatsWidgetHeader.d.ts +8 -1
- package/lib/es/components/statsWidget/StatsWidgetHeader.js +5 -4
- package/lib/es/components/statsWidget/StatsWidgetNumber.d.ts +30 -20
- package/lib/es/components/statsWidget/StatsWidgetNumber.js +6 -19
- package/lib/es/components/statsWidget/StatsWidgetSpacer.d.ts +7 -1
- package/lib/es/components/statsWidget/StatsWidgetSpacer.js +4 -4
- package/lib/es/components/statsWidget/StatsWidgets.d.ts +8 -7
- package/lib/es/components/statsWidget/StatsWidgets.js +5 -8
- package/lib/es/components/statusBar/StatusBar.d.ts +32 -54
- package/lib/es/components/statusBar/StatusBar.js +51 -127
- package/lib/es/components/statusBar/StatusBar.types.d.ts +85 -0
- package/lib/es/components/statusBar/StatusBar.types.js +2 -0
- package/lib/es/components/statusBar/StatusBarConstants.d.ts +8 -0
- package/lib/es/components/statusBar/StatusBarConstants.js +16 -0
- package/lib/es/components/statusBar/StatusBarIcon.d.ts +7 -0
- package/lib/es/components/statusBar/StatusBarIcon.js +19 -0
- package/lib/es/components/statusBar/StatusBarLabel.d.ts +8 -0
- package/lib/es/components/statusBar/StatusBarLabel.js +23 -0
- package/lib/es/components/statusBar/StatusBarProgressBar.d.ts +8 -0
- package/lib/es/components/statusBar/StatusBarProgressBar.js +21 -0
- package/lib/es/components/steppedProgressBar/SteppedProgressBar.d.ts +1 -1
- package/lib/es/components/switch/Switch.d.ts +50 -28
- package/lib/es/components/switch/Switch.js +11 -27
- package/lib/es/components/table/SortArrows.d.ts +3 -3
- package/lib/es/components/table/TableCardsSorting.d.ts +1 -1
- package/lib/es/components/table/TableSearch.d.ts +1 -1
- package/lib/es/components/table/TableSettingsColumnButtons.d.ts +1 -1
- package/lib/es/components/table/TableSettingsColumnDetails.d.ts +1 -1
- package/lib/es/components/table/TableSettingsDialog.d.ts +4 -4
- package/lib/es/components/table/TableSettingsDialogFooter.d.ts +1 -1
- package/lib/es/components/table/TableSettingsListContainer.d.ts +1 -1
- package/lib/es/components/table/TableSettingsListItem.d.ts +1 -1
- package/lib/es/components/table/TableToolbar.d.ts +1 -1
- package/lib/es/components/table/TableViewToggles.d.ts +1 -1
- package/lib/es/components/tag/Tag.d.ts +1 -1
- package/lib/es/components/tag/TagList.d.ts +1 -1
- package/lib/es/components/tagManager/CustomSuggestionItem.d.ts +1 -1
- package/lib/es/components/tagManager/TagManager.d.ts +1 -1
- package/lib/es/components/tagManager/TagManagerItemList.d.ts +1 -1
- package/lib/es/components/teaser/Teaser.d.ts +8 -8
- package/lib/es/components/teaser/TeaserContainer.d.ts +1 -1
- package/lib/es/components/timepicker/TimePicker.d.ts +1 -1
- package/lib/es/components/tooltip/SimpleTooltip.d.ts +1 -1
- package/lib/es/components/video/ResponsiveVideo.d.ts +25 -5
- package/lib/es/components/video/ResponsiveVideo.js +4 -2
- package/lib/es/framer-motion.d.ts +1 -1
- package/lib/es/hooks/useEsc.d.ts +2 -1
- package/lib/es/hooks/useEsc.js +2 -2
- package/lib/es/hooks/useEvent.d.ts +2 -1
- package/lib/es/hooks/useEvent.js +9 -4
- package/lib/es/hooks/useFocusTrap.d.ts +16 -0
- package/lib/es/hooks/useFocusTrap.js +64 -0
- package/lib/es/hooks/useHover.d.ts +3 -0
- package/lib/es/hooks/useHover.js +31 -0
- package/lib/es/hooks/useKey.d.ts +3 -1
- package/lib/es/hooks/useKey.js +8 -4
- package/lib/es/hooks/usePrevious.d.ts +21 -1
- package/lib/es/hooks/usePrevious.js +30 -11
- package/lib/es/index.d.ts +35 -31
- package/lib/es/index.js +58 -35
- package/lib/es/types.d.ts +1 -239
- package/lib/es/types.js +1 -19
- package/lib/es/useAfterMount.d.ts +2 -4
- package/lib/es/useClickOutside.d.ts +2 -4
- package/lib/es/useClipboard.d.ts +2 -4
- package/lib/es/useDarkMode.d.ts +2 -4
- package/lib/es/useDebugInfo.d.ts +2 -4
- package/lib/es/useEffectOnce.d.ts +2 -4
- package/lib/es/useElementSize.d.ts +2 -4
- package/lib/es/useEsc.d.ts +1 -4
- package/lib/es/useEsc.js +5 -3
- package/lib/es/useEvent.d.ts +1 -4
- package/lib/es/useEvent.js +5 -3
- package/lib/es/useFocusTrap.d.ts +1 -0
- package/lib/es/useFocusTrap.js +8 -0
- package/lib/es/useFullscreen.d.ts +2 -4
- package/lib/es/useHover.d.ts +1 -0
- package/lib/es/useHover.js +8 -0
- package/lib/es/useInterval.d.ts +2 -4
- package/lib/es/useKey.d.ts +1 -4
- package/lib/es/useKey.js +5 -3
- package/lib/es/useLocalStorage.d.ts +2 -4
- package/lib/es/useMutationObserver.d.ts +2 -4
- package/lib/es/useOnScreen.d.ts +2 -4
- package/lib/es/useOnlineStatus.d.ts +2 -4
- package/lib/es/usePrevious.d.ts +2 -4
- package/lib/es/usePrevious.js +3 -2
- package/lib/es/useRenderCount.d.ts +2 -4
- package/lib/es/useResizeObserver.d.ts +2 -4
- package/lib/es/useScrollPosition.d.ts +2 -4
- package/lib/es/useSessionStorage.d.ts +2 -4
- package/lib/es/useStateWithValidation.d.ts +2 -4
- package/lib/es/useTimeout.d.ts +2 -4
- package/lib/es/useWindowResize.d.ts +2 -4
- package/lib/es/utils/buttonEffect.js +7 -2
- package/lib/es/utils/colorScheme.d.ts +1 -1
- package/lib/es/utils/darkModeCDN.d.ts +1 -1
- package/lib/es/utils/deviceUtils.d.ts +1 -0
- package/lib/es/utils/deviceUtils.js +3 -1
- package/lib/es/utils/getDropDirection.d.ts +2 -4
- package/lib/es/utils/getDropDirection.js +12 -8
- package/lib/es/utils/init.d.ts +2 -2
- package/lib/es/utils/init.js +29 -6
- package/lib/es/utils/logDeprecatedWarnings.d.ts +8 -2
- package/lib/es/utils/logDeprecatedWarnings.js +2 -3
- package/lib/es/utils/useDropDirection.d.ts +12 -0
- package/lib/es/utils/useDropDirection.js +26 -0
- package/lib/es/version.json +1 -1
- package/package.json +1 -1
- package/utils/buttonEffect.js +2 -1
- package/utils/deviceUtils.d.ts +1 -0
- package/utils/deviceUtils.js +1 -0
- package/version.json +1 -1
package/DeviceUtils.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { hasTouch as _hasTouch, isDesktop as _isDesktop, isMobile as _isMobile, isMobileScreen as _isMobileScreen, MOBILE_SCREEN as _MOBILE_SCREEN, SCREEN_SM as _SCREEN_SM, SCREEN_MD as _SCREEN_MD, SCREEN_LG as _SCREEN_LG, SCREEN_XL as _SCREEN_XL, inIframe as _inIframe, toggleZoomOnMobile as _toggleZoomOnMobile, } from './utils/deviceUtils';
|
|
2
|
-
export { _hasTouch as hasTouch, _isDesktop as isDesktop, _isMobile as isMobile, _isMobileScreen as isMobileScreen, _MOBILE_SCREEN as MOBILE_SCREEN, _SCREEN_SM as SCREEN_SM, _SCREEN_MD as SCREEN_MD, _SCREEN_LG as SCREEN_LG, _SCREEN_XL as SCREEN_XL, _inIframe as inIframe, _toggleZoomOnMobile as toggleZoomOnMobile, };
|
|
1
|
+
import { hasTouch as _hasTouch, isDesktop as _isDesktop, isMobile as _isMobile, isMobileScreen as _isMobileScreen, isRetinaDevice as _isRetinaDevice, MOBILE_SCREEN as _MOBILE_SCREEN, SCREEN_SM as _SCREEN_SM, SCREEN_MD as _SCREEN_MD, SCREEN_LG as _SCREEN_LG, SCREEN_XL as _SCREEN_XL, inIframe as _inIframe, toggleZoomOnMobile as _toggleZoomOnMobile, } from './utils/deviceUtils';
|
|
2
|
+
export { _hasTouch as hasTouch, _isDesktop as isDesktop, _isMobile as isMobile, _isMobileScreen as isMobileScreen, _isRetinaDevice as isRetinaDevice, _MOBILE_SCREEN as MOBILE_SCREEN, _SCREEN_SM as SCREEN_SM, _SCREEN_MD as SCREEN_MD, _SCREEN_LG as SCREEN_LG, _SCREEN_XL as SCREEN_XL, _inIframe as inIframe, _toggleZoomOnMobile as toggleZoomOnMobile, };
|
|
@@ -15,11 +15,37 @@ declare const SIZE_MAP: {
|
|
|
15
15
|
};
|
|
16
16
|
type ActivitySize = ObjectValues<typeof SIZE_MAP>;
|
|
17
17
|
export type ActivityProps = {
|
|
18
|
+
/**
|
|
19
|
+
* Defines the type of activity.
|
|
20
|
+
*
|
|
21
|
+
* Possible values are:
|
|
22
|
+
* `Activity.AVAILABLE`, `Activity.DRIVING`, `Activity.RESTING`, `Activity.WORKING` or
|
|
23
|
+
* `available`, `driving`, `resting`, `working`
|
|
24
|
+
*/
|
|
18
25
|
activity: ActivityStatus;
|
|
26
|
+
/**
|
|
27
|
+
* Define how large the component should be rendered.
|
|
28
|
+
*
|
|
29
|
+
* Possible values are:
|
|
30
|
+
* `Activity.SIZE_SM`, `Activity.SIZE_LG`, `Activity.SIZE_XL` or
|
|
31
|
+
* `sm`, `lg`, `xl`.
|
|
32
|
+
*/
|
|
19
33
|
bsSize?: ActivitySize;
|
|
34
|
+
/**
|
|
35
|
+
* The actual duration value to be shown.
|
|
36
|
+
*/
|
|
20
37
|
duration?: string | ReactNode;
|
|
38
|
+
/**
|
|
39
|
+
* Indicated whether the activity is outdated. Default value is `false`.
|
|
40
|
+
*/
|
|
21
41
|
isOutdated?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Callback function for when the component is clicked.
|
|
44
|
+
*/
|
|
22
45
|
onClick?: VoidFunction;
|
|
46
|
+
/**
|
|
47
|
+
* Additional classes for the wrapper element.
|
|
48
|
+
*/
|
|
23
49
|
className?: string;
|
|
24
50
|
};
|
|
25
51
|
type ActivityType = RefComponent<ActivityProps> & typeof STATUS_MAP & typeof SIZE_MAP;
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export type AnimatedNumberProps = {
|
|
3
|
+
/** The start value */
|
|
3
4
|
start: number;
|
|
5
|
+
/** The end value. */
|
|
4
6
|
end: number;
|
|
7
|
+
/** A prefix to be added to the final string. */
|
|
5
8
|
prefix?: string;
|
|
9
|
+
/** A unit suffix to be added to the final string. */
|
|
6
10
|
unit?: string;
|
|
11
|
+
/** The speed in milliseconds to count up or down. Default value is `10`. */
|
|
7
12
|
speed?: number;
|
|
13
|
+
/** Enables to count backwards. Default value is `false`. */
|
|
8
14
|
decreasing?: boolean;
|
|
15
|
+
/** Callback function to be invoked when the end value is reached. */
|
|
9
16
|
onEnd?: VoidFunction;
|
|
17
|
+
/** Additional classes to be set on the wrapping element. */
|
|
10
18
|
className?: string;
|
|
11
19
|
};
|
|
12
20
|
export declare const AnimatedNumber: React.ForwardRefExoticComponent<AnimatedNumberProps & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,18 +1,67 @@
|
|
|
1
1
|
import React, { MutableRefObject, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
export type BottomSheetProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Set the visibility of the bottom sheet. The component is already mounted and just moved offscreen.
|
|
5
|
+
* Default value is: `false`
|
|
6
|
+
*/
|
|
3
7
|
show: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Callback for when the sheet closes.
|
|
10
|
+
*/
|
|
4
11
|
onClose?: (isShown: boolean) => void;
|
|
12
|
+
/**
|
|
13
|
+
* The width of the bottom sheet. This is useful for desktop when not using the entire screen width.
|
|
14
|
+
* When no width is given it will take the width of the content and maximum `100%` of the screen.
|
|
15
|
+
* So it this case you might want to apply a `max-width-xxx` via `className` to control it better.
|
|
16
|
+
*/
|
|
5
17
|
width?: number | string;
|
|
18
|
+
/**
|
|
19
|
+
* The height of the bottom sheet. If no height is given, the height is automatically
|
|
20
|
+
* calculated from the content.
|
|
21
|
+
*/
|
|
6
22
|
height?: number | string;
|
|
23
|
+
/**
|
|
24
|
+
* The title content shown in the header. If no title is given, the bottom sheet header is not shown.
|
|
25
|
+
*/
|
|
7
26
|
title?: string | ReactNode;
|
|
27
|
+
/**
|
|
28
|
+
* Defines whether or not the close button is shown.
|
|
29
|
+
* Default value is: `true`
|
|
30
|
+
*/
|
|
8
31
|
showCloseButton?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Defines whether or not the maximize button in the header is shown.
|
|
34
|
+
* Default value is: `false`
|
|
35
|
+
*/
|
|
9
36
|
showMaximizeButton?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* The callback function triggered when the maximize button is clicked and the height changes.
|
|
39
|
+
*/
|
|
10
40
|
onHeightChange?: VoidFunction;
|
|
41
|
+
/**
|
|
42
|
+
* Set to `true` to detach the bottom sheet from the left side and the bottom and create a little offset.
|
|
43
|
+
* Default value is: `false`
|
|
44
|
+
*/
|
|
11
45
|
detach?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Defines the amount of pixels for the sheet.
|
|
48
|
+
* Default value is: `15`
|
|
49
|
+
*/
|
|
50
|
+
detachOffset?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Set to `true` to render a modal like backdrop to emphasize the bottom sheet.
|
|
53
|
+
* Default value is: `false`
|
|
54
|
+
*/
|
|
12
55
|
useBackdrop?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Callback function triggered when the backdrop is clicked. Usually used to close the bottom sheet.
|
|
58
|
+
*/
|
|
13
59
|
onBackdropClick?: VoidFunction;
|
|
14
|
-
|
|
60
|
+
/** A react ref added to the bottom sheet body. */
|
|
61
|
+
bodyRef?: MutableRefObject<HTMLDivElement | null>;
|
|
62
|
+
/** Additional classes to be set on the body element. */
|
|
15
63
|
bodyClassName?: string;
|
|
64
|
+
/** Additional classes to be set on the wrapping element. */
|
|
16
65
|
className?: string;
|
|
17
66
|
};
|
|
18
67
|
declare const BottomSheet: (props: BottomSheetProps & PropsWithChildren) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
@@ -3,12 +3,13 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
3
3
|
import { useEffect, useState } from 'react';
|
|
4
4
|
import { createPortal } from 'react-dom';
|
|
5
5
|
import classNames from 'classnames';
|
|
6
|
-
import { motion } from 'framer-motion';
|
|
7
6
|
import isFunction from 'lodash/fp/isFunction';
|
|
7
|
+
import { motion } from 'framer-motion';
|
|
8
8
|
import { getOrCreatePortalRoot } from '../../utils/portalRoot';
|
|
9
9
|
const OFFSET_POSITION = -1000;
|
|
10
|
+
const DEFAULT_OFFSET_PX = 15;
|
|
10
11
|
const BottomSheet = (props) => {
|
|
11
|
-
const { show = false, onClose, width, height, title, detach = false, useBackdrop = false, showCloseButton = true, showMaximizeButton = false, onHeightChange = () => { }, bodyRef, bodyClassName, className, children, onBackdropClick = () => { } } = props, remainingProps = __rest(props, ["show", "onClose", "width", "height", "title", "detach", "useBackdrop", "showCloseButton", "showMaximizeButton", "onHeightChange", "bodyRef", "bodyClassName", "className", "children", "onBackdropClick"]);
|
|
12
|
+
const { show = false, onClose, width, height, title, detach = false, detachOffset = DEFAULT_OFFSET_PX, useBackdrop = false, showCloseButton = true, showMaximizeButton = false, onHeightChange = () => { }, bodyRef, bodyClassName, className, children, onBackdropClick = () => { } } = props, remainingProps = __rest(props, ["show", "onClose", "width", "height", "title", "detach", "detachOffset", "useBackdrop", "showCloseButton", "showMaximizeButton", "onHeightChange", "bodyRef", "bodyClassName", "className", "children", "onBackdropClick"]);
|
|
12
13
|
const [isShown, setIsShown] = useState(show);
|
|
13
14
|
const [isMaxHeight, setIsMaxHeight] = useState(false);
|
|
14
15
|
useEffect(() => setIsShown(show), [show]);
|
|
@@ -31,14 +32,18 @@ const BottomSheet = (props) => {
|
|
|
31
32
|
setIsMaxHeight(newValue);
|
|
32
33
|
onHeightChange();
|
|
33
34
|
};
|
|
34
|
-
const sheetClasses = classNames('bottom-sheet', 'position-fixed left-0', !
|
|
35
|
+
const sheetClasses = classNames('bottom-sheet', 'position-fixed left-0', !height && !isMaxHeight && 'height-auto', 'bg-white', 'shadow-hard', detach ? 'rounded' : 'rounded-top-left rounded-top-right', className && className);
|
|
35
36
|
const sheetBodyClasses = classNames('bottom-sheet-body', 'height-100pct', bodyClassName && bodyClassName);
|
|
36
37
|
const sheetHeight = isMaxHeight ? window.innerHeight : height;
|
|
37
38
|
// Note: we always have to kep the body element in the DOM as there might be a ref assigned to it.
|
|
38
39
|
// Unmounting it will lead to losing the reference and breaking the functionality that is implemented on that ref.
|
|
39
40
|
// That is the reason why there is no "AnimatePresence" with an "exit" animation here.
|
|
40
41
|
// Instead, we change the "animate" values.
|
|
41
|
-
return createPortal(_jsxs(_Fragment, { children: [_jsxs(motion.div, Object.assign({}, remainingProps, { className: sheetClasses, style: {
|
|
42
|
+
return createPortal(_jsxs(_Fragment, { children: [_jsxs(motion.div, Object.assign({}, remainingProps, { className: sheetClasses, style: {
|
|
43
|
+
width,
|
|
44
|
+
maxWidth: detach ? `calc(100% - ${DEFAULT_OFFSET_PX * 2}px)` : '100%',
|
|
45
|
+
margin: detach ? `${DEFAULT_OFFSET_PX}px` : 0,
|
|
46
|
+
}, initial: { opacity: 0 }, animate: {
|
|
42
47
|
opacity: isShown ? 1 : 0,
|
|
43
48
|
y: 0,
|
|
44
49
|
bottom: isShown ? 0 : OFFSET_POSITION,
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
export function createEnhancedMapEvent(event: any, mapApi: any): EnhancedMapEvent | {
|
|
2
|
+
map: any;
|
|
3
|
+
};
|
|
4
|
+
export function createEnhancedListener(listener: any, mapApi: any): (event: any) => any;
|
|
5
|
+
export function addEventListenerMap(hMapObject: any, eventListenerMap: {} | undefined, mapApi: any): void;
|
|
6
|
+
export function removeEventListenerMap(hMapObject: any): any;
|
|
7
|
+
export function checkAndUpdateEventListenerMap(hMapObject: any, props: any, nextProps: any): void;
|
|
8
|
+
export function createTapOnDblTapPreventer(eventListenerMap: any, delayBetweenTaps?: number): any;
|
|
9
|
+
export function getMouseButton(event: any): any;
|
|
10
|
+
export function isRightClick(event: any): boolean;
|
|
1
11
|
export namespace EventUtils {
|
|
2
12
|
export namespace MOUSE_BUTTONS {
|
|
3
13
|
const LEFT: number;
|
|
@@ -27,16 +37,6 @@ export namespace EventUtils {
|
|
|
27
37
|
export { getMouseButton };
|
|
28
38
|
export { isRightClick };
|
|
29
39
|
}
|
|
30
|
-
export function createEnhancedMapEvent(event: any, mapApi: any): EnhancedMapEvent | {
|
|
31
|
-
map: any;
|
|
32
|
-
};
|
|
33
|
-
export function createEnhancedListener(listener: any, mapApi: any): (event: any) => any;
|
|
34
|
-
export function addEventListenerMap(hMapObject: any, eventListenerMap: {} | undefined, mapApi: any): void;
|
|
35
|
-
export function removeEventListenerMap(hMapObject: any): any;
|
|
36
|
-
export function checkAndUpdateEventListenerMap(hMapObject: any, props: any, nextProps: any): void;
|
|
37
|
-
export function createTapOnDblTapPreventer(eventListenerMap: any, delayBetweenTaps?: number): any;
|
|
38
|
-
export function getMouseButton(event: any): any;
|
|
39
|
-
export function isRightClick(event: any): boolean;
|
|
40
40
|
declare class EnhancedMapEvent {
|
|
41
41
|
constructor(event: any, mapApi: any);
|
|
42
42
|
viewportX: any;
|
|
@@ -1,32 +1,3 @@
|
|
|
1
|
-
export const EventUtils = {
|
|
2
|
-
MOUSE_BUTTONS: {
|
|
3
|
-
LEFT: 0,
|
|
4
|
-
MIDDLE: 1,
|
|
5
|
-
RIGHT: 2,
|
|
6
|
-
},
|
|
7
|
-
POINTER_DOWN: 'pointerdown',
|
|
8
|
-
POINTER_UP: 'pointerup',
|
|
9
|
-
POINTER_MOVE: 'pointermove',
|
|
10
|
-
POINTER_ENTER: 'pointerenter',
|
|
11
|
-
POINTER_LEAVE: 'pointerleave',
|
|
12
|
-
POINTER_CANCEL: 'pointercancel',
|
|
13
|
-
DRAG_START: 'dragstart',
|
|
14
|
-
DRAG: 'drag',
|
|
15
|
-
DRAG_END: 'dragend',
|
|
16
|
-
TAP: 'tap',
|
|
17
|
-
DBL_TAP: 'dbltap',
|
|
18
|
-
LONGPRESS: 'longpress',
|
|
19
|
-
CONTEXTMENU: 'contextmenu',
|
|
20
|
-
CONTEXTMENU_CLOSE: 'contextmenuclose',
|
|
21
|
-
MAP_VIEW_CHANGE_START: 'mapviewchangestart',
|
|
22
|
-
MAP_VIEW_CHANGE: 'mapviewchange',
|
|
23
|
-
MAP_VIEW_CHANGE_END: 'mapviewchangeend',
|
|
24
|
-
BASE_LAYER_CHANGE: 'baselayerchange',
|
|
25
|
-
ENGINE_CHANGE: 'enginechange',
|
|
26
|
-
createTapOnDblTapPreventer,
|
|
27
|
-
getMouseButton,
|
|
28
|
-
isRightClick,
|
|
29
|
-
};
|
|
30
1
|
class MapTimeGuard {
|
|
31
2
|
constructor(delay = 250) {
|
|
32
3
|
this.delayTime = delay;
|
|
@@ -112,3 +83,32 @@ export const getMouseButton = event => {
|
|
|
112
83
|
export const isRightClick = event => {
|
|
113
84
|
return getMouseButton(event) === EventUtils.MOUSE_BUTTONS.RIGHT;
|
|
114
85
|
};
|
|
86
|
+
export const EventUtils = {
|
|
87
|
+
MOUSE_BUTTONS: {
|
|
88
|
+
LEFT: 0,
|
|
89
|
+
MIDDLE: 1,
|
|
90
|
+
RIGHT: 2,
|
|
91
|
+
},
|
|
92
|
+
POINTER_DOWN: 'pointerdown',
|
|
93
|
+
POINTER_UP: 'pointerup',
|
|
94
|
+
POINTER_MOVE: 'pointermove',
|
|
95
|
+
POINTER_ENTER: 'pointerenter',
|
|
96
|
+
POINTER_LEAVE: 'pointerleave',
|
|
97
|
+
POINTER_CANCEL: 'pointercancel',
|
|
98
|
+
DRAG_START: 'dragstart',
|
|
99
|
+
DRAG: 'drag',
|
|
100
|
+
DRAG_END: 'dragend',
|
|
101
|
+
TAP: 'tap',
|
|
102
|
+
DBL_TAP: 'dbltap',
|
|
103
|
+
LONGPRESS: 'longpress',
|
|
104
|
+
CONTEXTMENU: 'contextmenu',
|
|
105
|
+
CONTEXTMENU_CLOSE: 'contextmenuclose',
|
|
106
|
+
MAP_VIEW_CHANGE_START: 'mapviewchangestart',
|
|
107
|
+
MAP_VIEW_CHANGE: 'mapviewchange',
|
|
108
|
+
MAP_VIEW_CHANGE_END: 'mapviewchangeend',
|
|
109
|
+
BASE_LAYER_CHANGE: 'baselayerchange',
|
|
110
|
+
ENGINE_CHANGE: 'enginechange',
|
|
111
|
+
createTapOnDblTapPreventer,
|
|
112
|
+
getMouseButton,
|
|
113
|
+
isRightClick,
|
|
114
|
+
};
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { AppNavigationBarProps } from './types';
|
|
4
|
-
export default class AppNavigationBar extends React.Component<AppNavigationBarProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { _AppNavigationBar as default };
|
|
2
|
+
import { default as _AppNavigationBar } from "./components/navigation/AppNavigationBar";
|
package/lib/es/Area.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { Area as AreaProps } from './types';
|
|
4
|
-
export default class Area extends React.Component<AreaProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { _Area as default };
|
|
2
|
+
import { default as _Area } from "./components/charts/Area";
|
package/lib/es/AreaChart.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { AreaChartProps } from './types';
|
|
4
|
-
export default class AreaChart extends React.Component<AreaChartProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { _AreaChart as default };
|
|
2
|
+
import { default as _AreaChart } from "./components/charts/AreaChart";
|
package/lib/es/AreaGradient.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { AreaGradient as AreaGradientProps } from './types';
|
|
4
|
-
export default class AreaGradient extends React.Component<AreaGradientProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { _AreaGradient as default };
|
|
2
|
+
import { default as _AreaGradient } from "./components/charts/AreaGradient";
|
package/lib/es/AssetTree.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { AssetTreeProps } from './types';
|
|
4
|
-
export default class AssetTree extends React.Component<AssetTreeProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { _AssetTree as default };
|
|
2
|
+
import { default as _AssetTree } from "./components/assetTree/AssetTree";
|
package/lib/es/AutoSuggest.d.ts
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { AutoSuggestInputProps } from './types';
|
|
5
|
-
export { AutoSuggestSuggestion } from './types';
|
|
6
|
-
export default class AutoSuggest extends React.Component<AutoSuggestProps> {}
|
|
1
|
+
export { default } from './components/autosuggest/AutoSuggest';
|
|
2
|
+
export * from './components/autosuggest/AutoSuggest';
|
package/lib/es/AutoSuggest.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return AutoSuggest_1.default; } });
|
|
5
|
+
var AutoSuggest_1 = require("./components/autosuggest/AutoSuggest");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(AutoSuggest_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/autosuggest/AutoSuggest"), exports);
|
package/lib/es/Bar.d.ts
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { Bar as BarProps } from './types';
|
|
4
|
-
export default class Bar extends React.Component<BarProps> {
|
|
5
|
-
static HORIZONTAL = 'horizontal';
|
|
6
|
-
static VERTICAL = 'vertical';
|
|
7
|
-
}
|
|
8
|
-
}
|
|
1
|
+
export { _Bar as default };
|
|
2
|
+
import { default as _Bar } from "./components/charts/Bar";
|
package/lib/es/BarChart.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { BarChartProps } from './types';
|
|
4
|
-
export default class BarChart extends React.Component<BarChartProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { _BarChart as default };
|
|
2
|
+
import { default as _BarChart } from "./components/charts/BarChart";
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { BrowserWarningProps } from './types';
|
|
4
|
-
export default class BrowserWarning extends React.Component<BrowserWarningProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { _BrowserWarning as default };
|
|
2
|
+
import { default as _BrowserWarning } from "./components/browserWarning/BrowserWarning";
|
package/lib/es/Button.d.ts
CHANGED
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { ButtonProps } from './types';
|
|
4
|
-
export default class Button extends React.Component<ButtonProps> {
|
|
5
|
-
// Button styles
|
|
6
|
-
static DEFAULT = 'default';
|
|
7
|
-
static PRIMARY = 'primary';
|
|
8
|
-
static SECONDARY = 'secondary';
|
|
9
|
-
static INFO = 'info';
|
|
10
|
-
static WARNING = 'warning';
|
|
11
|
-
static DANGER = 'danger';
|
|
12
|
-
static SUCCESS = 'success';
|
|
13
|
-
static MUTED = 'muted';
|
|
14
|
-
|
|
15
|
-
// Button Type
|
|
16
|
-
static VARIANT_LINK = 'link';
|
|
17
|
-
static VARIANT_LINK_INLINE = 'link-inline';
|
|
18
|
-
static VARIANT_OUTLINE = 'outline';
|
|
19
|
-
static VARIANT_ACTION = 'action';
|
|
20
|
-
|
|
21
|
-
// Button Size
|
|
22
|
-
static XS = 'xs';
|
|
23
|
-
static SM = 'sm';
|
|
24
|
-
static MD = 'md';
|
|
25
|
-
static LG = 'lg';
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
export { _Button as default };
|
|
2
|
+
import { default as _Button } from "./components/button/Button";
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { ButtonDropdownProps } from './types';
|
|
4
|
-
export default class ButtonDropdown extends React.Component<ButtonDropdownProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { _ButtonDropdown as default };
|
|
2
|
+
import { default as _ButtonDropdown } from "./components/dropdown/ButtonDropdown";
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { CalendarStripeProps } from './types';
|
|
4
|
-
export default class CalendarStripe extends React.Component<CalendarStripeProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { _CalendarStripe as default };
|
|
2
|
+
import { default as _CalendarStripe } from "./components/calendarStripe/CalendarStripe";
|
package/lib/es/Carousel.d.ts
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { CarouselProps, CarouselItemProps } from './types';
|
|
4
|
-
|
|
5
|
-
export default class Carousel extends React.Component<CarouselProps> {
|
|
6
|
-
static Item: React.ComponentClass<CarouselItemProps>;
|
|
7
|
-
static Caption: React.ComponentClass<any>;
|
|
8
|
-
static PREV = 'prev';
|
|
9
|
-
static NEXT = 'next';
|
|
10
|
-
}
|
|
11
|
-
}
|
|
1
|
+
export { _Carousel as default };
|
|
2
|
+
import { default as _Carousel } from "./components/carousel/Carousel";
|
package/lib/es/ChartNeedle.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { ChartNeedleProps } from './types';
|
|
4
|
-
export default class ChartNeedle extends React.Component<ChartNeedleProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { _ChartNeedle as default };
|
|
2
|
+
import { default as _ChartNeedle } from "./components/charts/ChartNeedle";
|
package/lib/es/ChartTooltip.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { ChartTooltip as ChartTooltipProps } from './types';
|
|
4
|
-
export default class ChartTooltip extends React.Component<ChartTooltipProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { _ChartTooltip as default };
|
|
2
|
+
import { default as _ChartTooltip } from "./components/charts/ChartTooltip";
|
package/lib/es/Checkbox.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { CheckboxProps } from './types';
|
|
4
|
-
export default class Checkbox extends React.Component<CheckboxProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/checkbox/Checkbox';
|
|
2
|
+
export * from './components/checkbox/Checkbox';
|
package/lib/es/Checkbox.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return Checkbox_1.default; } });
|
|
5
|
+
var Checkbox_1 = require("./components/checkbox/Checkbox");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(Checkbox_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/checkbox/Checkbox"), exports);
|
package/lib/es/Circle.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { CircleProps } from './types';
|
|
4
|
-
export default class Circle extends React.Component<CircleProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { Circle as default };
|
|
2
|
+
import { default as Circle } from "./components/map/components/features/basics/Circle";
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { ClearableInputProps } from './types';
|
|
4
|
-
export default class ClearableInput extends React.Component<ClearableInputProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/clearableInput/ClearableInput';
|
|
2
|
+
export * from './components/clearableInput/ClearableInput';
|
package/lib/es/ClearableInput.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return ClearableInput_1.default; } });
|
|
5
|
+
var ClearableInput_1 = require("./components/clearableInput/ClearableInput");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(ClearableInput_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/clearableInput/ClearableInput"), exports);
|
package/lib/es/ClusterLayer.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { ClusterLayerProps } from './types';
|
|
4
|
-
export default class ClusterLayer extends React.Component<ClusterLayerProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { ClusterLayer as default };
|
|
2
|
+
import { default as ClusterLayer } from "./components/map/components/features/layers/clustering/ClusterLayer";
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { ClusterMapMarkerProps } from './types';
|
|
4
|
-
export default class ClusterMapMarker extends React.Component<ClusterMapMarkerProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { _ClusterMapMarker as default };
|
|
2
|
+
import { default as _ClusterMapMarker } from "./components/mapMarker/ClusterMapMarker";
|
package/lib/es/ClusterUtils.d.ts
CHANGED
package/lib/es/Collapse.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { CollapseProps } from './types';
|
|
4
|
-
export default class Collapse extends React.Component<CollapseProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { _Collapse as default };
|
|
2
|
+
import { default as _Collapse } from "./components/collapse/Collapse";
|
package/lib/es/ColorScheme.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import { getColorScheme as _getColorScheme } from "./utils/colorScheme";
|
|
2
|
+
import { setColorScheme as _setColorScheme } from "./utils/colorScheme";
|
|
3
|
+
export { _getColorScheme as getColorScheme, _setColorScheme as setColorScheme };
|
package/lib/es/Colors.d.ts
CHANGED
|
@@ -1,21 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
'gray-darkest': string;
|
|
4
|
-
'gray-darker': string;
|
|
5
|
-
'gray-dark': string;
|
|
6
|
-
gray: string;
|
|
7
|
-
'gray-light': string;
|
|
8
|
-
'gray-lighter': string;
|
|
9
|
-
'gray-lightest': string;
|
|
10
|
-
'color-highlight-darkest': string;
|
|
11
|
-
'color-highlight-darker': string;
|
|
12
|
-
'color-highlight-dark': string;
|
|
13
|
-
'color-highlight': string;
|
|
14
|
-
'color-highlight-light': string;
|
|
15
|
-
'color-highlight-lighter': string;
|
|
16
|
-
'color-highlight-lightest': string;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
const colors: Colors;
|
|
20
|
-
export default colors;
|
|
21
|
-
}
|
|
1
|
+
export { _colors as default };
|
|
2
|
+
import _colors from "./styles/variables/colors.json";
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { ConfirmationDialogProps } from './types';
|
|
4
|
-
export default class ConfirmationDialog extends React.Component<ConfirmationDialogProps> {
|
|
5
|
-
static SIZE_SM = 'sm';
|
|
6
|
-
static SIZE_MD = 'md';
|
|
7
|
-
static SIZE_LG = 'lg';
|
|
8
|
-
static SIZE_XL = 'xl';
|
|
9
|
-
static SIZE_FULL = 'full';
|
|
10
|
-
static SIZE_FULL_WIDTH = 'fullwidth';
|
|
11
|
-
static SIZE_FULL_HEIGHT = 'fullheight';
|
|
12
|
-
static SIZE_FULL_SCREEN = 'fullscreen';
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
export { _ConfirmationDialog as default };
|
|
2
|
+
import { default as _ConfirmationDialog } from "./components/dialog/ConfirmationDialog";
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { ContentLoaderProps } from './types';
|
|
4
|
-
export default class ContentLoader extends React.Component<ContentLoaderProps> {
|
|
5
|
-
static RECT = 'rect';
|
|
6
|
-
static CIRCLE = 'circle';
|
|
7
|
-
}
|
|
8
|
-
}
|
|
1
|
+
export { default } from './components/contentLoader/ContentLoader';
|
|
2
|
+
export * from './components/contentLoader/ContentLoader';
|
package/lib/es/ContentLoader.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return ContentLoader_1.default; } });
|
|
5
|
+
var ContentLoader_1 = require("./components/contentLoader/ContentLoader");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(ContentLoader_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/contentLoader/ContentLoader"), exports);
|