@rio-cloud/rio-uikit 1.0.0 → 1.2.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/DropdownHeader.d.ts +2 -0
- package/DropdownHeader.js +2 -0
- package/FeedbackInlineButtons.d.ts +2 -0
- package/FeedbackInlineButtons.js +2 -0
- package/FeedbackRating.d.ts +2 -0
- package/FeedbackRating.js +2 -0
- package/FeedbackReactions.d.ts +2 -0
- package/FeedbackReactions.js +2 -0
- package/MapAdditionalLayerSettings.d.ts +2 -0
- package/MapAdditionalLayerSettings.js +2 -0
- package/MapSettingsDropdownHeader.d.ts +2 -0
- package/MapSettingsDropdownHeader.js +2 -0
- package/SmoothScrollbars.d.ts +2 -0
- package/SmoothScrollbars.js +2 -0
- package/components/.DS_Store +0 -0
- package/components/actionBarItem/ActionBarItemListItem.js +2 -2
- package/components/assetTree/AssetTree.js +2 -1
- package/components/assetTree/Tree.d.ts +4 -0
- package/components/assetTree/Tree.js +2 -2
- package/components/assetTree/TreeOptions.d.ts +1 -0
- package/components/assetTree/TreeOptions.js +16 -2
- package/components/assetTree/TreeSidebarCategories.js +1 -1
- package/components/calendarStripe/CalendarStripe.js +2 -2
- package/components/feedback/FeedbackInlineButtons.d.ts +13 -0
- package/components/feedback/FeedbackInlineButtons.js +9 -0
- package/components/feedback/FeedbackRating.d.ts +65 -0
- package/components/feedback/FeedbackRating.js +23 -0
- package/components/feedback/FeedbackReactions.d.ts +71 -0
- package/components/feedback/FeedbackReactions.js +26 -0
- package/components/listMenu/ListMenu.d.ts +5 -1
- package/components/listMenu/ListMenu.js +2 -2
- package/components/map/.DS_Store +0 -0
- package/components/map/components/.DS_Store +0 -0
- package/components/map/components/features/basics/Marker.js +1 -1
- package/components/map/components/features/settings/MapSettingsItem.d.ts +1 -0
- package/components/map/components/features/settings/MapSettingsItem.js +14 -11
- package/components/map/components/features/settings/MapSettingsTile.d.ts +3 -2
- package/components/map/components/features/settings/MapSettingsTile.js +40 -5
- package/components/map/components/features/settings/builtinSettings/MapAdditionalLayerSettings.d.ts +9 -0
- package/components/map/components/features/settings/builtinSettings/MapAdditionalLayerSettings.js +15 -0
- package/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +3 -0
- package/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +8 -2
- package/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +15 -9
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +6 -0
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +20 -2
- package/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +2 -2
- package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +2 -0
- package/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +2 -0
- package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +2 -0
- package/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +2 -0
- package/components/map/components/features/settings/items/MapSettingsDropdownHeader.d.ts +4 -0
- package/components/map/components/features/settings/items/MapSettingsDropdownHeader.js +9 -0
- package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +2 -0
- package/components/map/icons/MapIcon.d.ts +1 -2
- package/components/map/icons/MapIcon.js +3 -1
- package/components/map/utils/mapTypes.d.ts +1 -1
- package/components/map/utils/mapTypes.js +12 -4
- package/components/mapMarker/ClusterMapMarker.d.ts +8 -0
- package/components/mapMarker/ClusterMapMarker.js +5 -4
- package/components/mapMarker/SingleMapMarker.d.ts +40 -5
- package/components/mapMarker/SingleMapMarker.js +19 -6
- package/components/selects/DropdownHeader.d.ts +1 -0
- package/components/selects/DropdownHeader.js +2 -2
- package/components/selects/Multiselect.js +2 -2
- package/components/selects/MultiselectToggleFilter.js +1 -1
- package/components/states/CustomState.js +21 -8
- package/components/states/StateButton.d.ts +8 -1
- package/components/states/StateButton.js +5 -4
- package/hooks/useAfterMount.js +8 -4
- package/lib/.DS_Store +0 -0
- package/lib/es/.DS_Store +0 -0
- package/lib/es/DropdownHeader.d.ts +2 -0
- package/lib/es/DropdownHeader.js +7 -0
- package/lib/es/FeedbackInlineButtons.d.ts +2 -0
- package/lib/es/FeedbackInlineButtons.js +7 -0
- package/lib/es/FeedbackRating.d.ts +2 -0
- package/lib/es/FeedbackRating.js +7 -0
- package/lib/es/FeedbackReactions.d.ts +2 -0
- package/lib/es/FeedbackReactions.js +7 -0
- package/lib/es/MapAdditionalLayerSettings.d.ts +2 -0
- package/lib/es/MapAdditionalLayerSettings.js +7 -0
- package/lib/es/MapSettingsDropdownHeader.d.ts +2 -0
- package/lib/es/MapSettingsDropdownHeader.js +7 -0
- package/lib/es/SmoothScrollbars.d.ts +2 -0
- package/lib/es/SmoothScrollbars.js +7 -0
- package/lib/es/components/.DS_Store +0 -0
- package/lib/es/components/actionBarItem/ActionBarItemListItem.js +2 -2
- package/lib/es/components/assetTree/AssetTree.js +2 -1
- package/lib/es/components/assetTree/Tree.d.ts +4 -0
- package/lib/es/components/assetTree/Tree.js +2 -2
- package/lib/es/components/assetTree/TreeOptions.d.ts +1 -0
- package/lib/es/components/assetTree/TreeOptions.js +16 -2
- package/lib/es/components/assetTree/TreeSidebarCategories.js +1 -1
- package/lib/es/components/calendarStripe/CalendarStripe.js +1 -1
- package/lib/es/components/feedback/FeedbackInlineButtons.d.ts +13 -0
- package/lib/es/components/feedback/FeedbackInlineButtons.js +11 -0
- package/lib/es/components/feedback/FeedbackRating.d.ts +65 -0
- package/lib/es/components/feedback/FeedbackRating.js +25 -0
- package/lib/es/components/feedback/FeedbackReactions.d.ts +71 -0
- package/lib/es/components/feedback/FeedbackReactions.js +28 -0
- package/lib/es/components/listMenu/ListMenu.d.ts +5 -1
- package/lib/es/components/listMenu/ListMenu.js +2 -2
- package/lib/es/components/map/components/features/basics/Marker.js +1 -1
- package/lib/es/components/map/components/features/settings/MapSettingsItem.d.ts +1 -0
- package/lib/es/components/map/components/features/settings/MapSettingsItem.js +13 -10
- package/lib/es/components/map/components/features/settings/MapSettingsTile.d.ts +3 -2
- package/lib/es/components/map/components/features/settings/MapSettingsTile.js +39 -4
- package/lib/es/components/map/components/features/settings/builtinSettings/MapAdditionalLayerSettings.d.ts +9 -0
- package/lib/es/components/map/components/features/settings/builtinSettings/MapAdditionalLayerSettings.js +17 -0
- package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +3 -0
- package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +8 -2
- package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +14 -8
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +6 -0
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +20 -2
- package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +1 -1
- package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +2 -0
- package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +2 -0
- package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +2 -0
- package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +2 -0
- package/lib/es/components/map/components/features/settings/items/MapSettingsDropdownHeader.d.ts +4 -0
- package/lib/es/components/map/components/features/settings/items/MapSettingsDropdownHeader.js +11 -0
- package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +2 -0
- package/lib/es/components/map/icons/MapIcon.d.ts +1 -2
- package/lib/es/components/map/icons/MapIcon.js +3 -1
- package/lib/es/components/map/utils/mapTypes.d.ts +1 -1
- package/lib/es/components/map/utils/mapTypes.js +12 -4
- package/lib/es/components/mapMarker/ClusterMapMarker.d.ts +8 -0
- package/lib/es/components/mapMarker/ClusterMapMarker.js +5 -4
- package/lib/es/components/mapMarker/SingleMapMarker.d.ts +40 -5
- package/lib/es/components/mapMarker/SingleMapMarker.js +18 -5
- package/lib/es/components/selects/DropdownHeader.d.ts +1 -0
- package/lib/es/components/selects/DropdownHeader.js +2 -2
- package/lib/es/components/selects/Multiselect.js +1 -1
- package/lib/es/components/selects/MultiselectToggleFilter.js +1 -1
- package/lib/es/components/states/CustomState.js +20 -7
- package/lib/es/components/states/StateButton.d.ts +8 -1
- package/lib/es/components/states/StateButton.js +5 -4
- package/lib/es/hooks/useAfterMount.js +8 -4
- package/lib/es/styles/variables/colors/colors.json +8 -10
- package/lib/es/utils/deviceUtils.d.ts +1 -0
- package/lib/es/utils/deviceUtils.js +3 -1
- package/lib/es/version.json +1 -1
- package/package.json +30 -27
- package/styles/variables/colors/colors.json +8 -10
- package/utils/deviceUtils.d.ts +1 -0
- package/utils/deviceUtils.js +1 -0
- package/version.json +1 -1
- package/BrowserWarning.d.ts +0 -5
- package/BrowserWarning.js +0 -2
- package/DomMarker.d.ts +0 -5
- package/DomMarker.js +0 -2
- package/EnhancedMapEvent.d.ts +0 -11
- package/GroupSelectionUtil.d.ts +0 -2
- package/GroupSelectionUtil.js +0 -2
- package/IncidentsLayer.d.ts +0 -4
- package/IncidentsLayer.js +0 -2
- package/TrafficLayer.d.ts +0 -4
- package/TrafficLayer.js +0 -2
- package/TruckLayer.d.ts +0 -4
- package/TruckLayer.js +0 -2
- package/components/assetTree/excludeFromList.d.ts +0 -1
- package/components/assetTree/excludeFromList.js +0 -1
- package/components/browserWarning/BrowserIcons.d.ts +0 -2
- package/components/browserWarning/BrowserIcons.js +0 -5
- package/components/browserWarning/BrowserWarning.d.ts +0 -15
- package/components/browserWarning/BrowserWarning.js +0 -46
- package/components/browserWarning/BrowserWarningMessageDE.d.ts +0 -4
- package/components/browserWarning/BrowserWarningMessageDE.js +0 -6
- package/components/browserWarning/BrowserWarningMessageEN.d.ts +0 -4
- package/components/browserWarning/BrowserWarningMessageEN.js +0 -6
- package/components/carousel/CarouselCaption.d.ts +0 -13
- package/components/carousel/CarouselCaption.js +0 -18
- package/components/carousel/CarouselItem.d.ts +0 -36
- package/components/carousel/CarouselItem.js +0 -85
- package/components/dialog/baseDialogPropTypes.d.ts +0 -14
- package/components/dialog/baseDialogPropTypes.js +0 -13
- package/components/driverName/DriverName.d.ts +0 -18
- package/components/driverName/DriverName.js +0 -18
- package/components/dropdown/menuItemsPropTypes.d.ts +0 -9
- package/components/dropdown/menuItemsPropTypes.js +0 -8
- package/components/map/components/MapSettingContext.d.ts +0 -15
- package/components/map/components/MapSettingContext.js +0 -5
- package/components/map/components/context.d.ts +0 -2
- package/components/map/components/context.js +0 -3
- package/components/map/components/features/basics/MapLayerGroup.d.ts +0 -23
- package/components/map/components/features/basics/MapLayerGroup.js +0 -45
- package/components/map/components/features/basics/marker/DomMarker.d.ts +0 -33
- package/components/map/components/features/basics/marker/DomMarker.js +0 -55
- package/components/map/components/features/basics/marker/Marker.d.ts +0 -21
- package/components/map/components/features/basics/marker/Marker.js +0 -116
- package/components/map/components/features/basics/marker/TextMarker.d.ts +0 -17
- package/components/map/components/features/basics/marker/TextMarker.js +0 -28
- package/components/map/components/features/layers/IncidentsLayer.d.ts +0 -2
- package/components/map/components/features/layers/IncidentsLayer.js +0 -25
- package/components/map/components/features/layers/Layer.d.ts +0 -15
- package/components/map/components/features/layers/Layer.js +0 -23
- package/components/map/components/features/layers/RoadRestrictionLayer.d.ts +0 -2
- package/components/map/components/features/layers/RoadRestrictionLayer.js +0 -26
- package/components/map/components/features/layers/TrafficLayer.d.ts +0 -2
- package/components/map/components/features/layers/TrafficLayer.js +0 -39
- package/components/map/components/features/layers/baselayers/DefaultRasterLayer.d.ts +0 -2
- package/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +0 -17
- package/components/map/components/features/layers/baselayers/DefaultVectorLayer.d.ts +0 -2
- package/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +0 -14
- package/components/map/components/features/layers/baselayers/FleetStyleLayer.d.ts +0 -2
- package/components/map/components/features/layers/baselayers/FleetStyleLayer.js +0 -15
- package/components/map/components/features/layers/baselayers/NightLayer.d.ts +0 -2
- package/components/map/components/features/layers/baselayers/NightLayer.js +0 -14
- package/components/map/components/features/layers/baselayers/SatelliteLayer.d.ts +0 -2
- package/components/map/components/features/layers/baselayers/SatelliteLayer.js +0 -15
- package/components/map/components/features/layers/baselayers/TerrainLayer.d.ts +0 -2
- package/components/map/components/features/layers/baselayers/TerrainLayer.js +0 -15
- package/components/map/components/features/layers/baselayers/useBaseLayer.d.ts +0 -2
- package/components/map/components/features/layers/baselayers/useBaseLayer.js +0 -47
- package/components/map/components/mapUtils.d.ts +0 -50
- package/components/map/components/mapUtils.js +0 -148
- package/components/map/herePolyfill.d.ts +0 -0
- package/components/map/herePolyfill.js +0 -7
- package/components/map/utils/proptypes.d.ts +0 -47
- package/components/map/utils/proptypes.js +0 -50
- package/components/map/utils/validation.d.ts +0 -2
- package/components/map/utils/validation.js +0 -8
- package/components/mapMarker/MarkerColor.d.ts +0 -3
- package/components/mapMarker/MarkerColor.js +0 -12
- package/components/menuItems/getMenuItems.d.ts +0 -2
- package/components/menuItems/getMenuItems.js +0 -7
- package/components/selects/BaseDropdownMenu.d.ts +0 -83
- package/components/selects/BaseDropdownMenu.js +0 -255
- package/components/selects/WithFeedback.d.ts +0 -27
- package/components/selects/WithFeedback.js +0 -12
- package/components/states/baseStatePropTypes.d.ts +0 -26
- package/components/states/baseStatePropTypes.js +0 -26
- package/components/table/tableSettingsPropTypes.d.ts +0 -8
- package/components/table/tableSettingsPropTypes.js +0 -6
- package/lib/es/BrowserWarning.d.ts +0 -5
- package/lib/es/BrowserWarning.js +0 -6
- package/lib/es/DomMarker.d.ts +0 -5
- package/lib/es/DomMarker.js +0 -6
- package/lib/es/EnhancedMapEvent.d.ts +0 -11
- package/lib/es/GroupSelectionUtil.d.ts +0 -2
- package/lib/es/GroupSelectionUtil.js +0 -5
- package/lib/es/IncidentsLayer.d.ts +0 -4
- package/lib/es/IncidentsLayer.js +0 -6
- package/lib/es/TrafficLayer.d.ts +0 -4
- package/lib/es/TrafficLayer.js +0 -6
- package/lib/es/TruckLayer.d.ts +0 -4
- package/lib/es/TruckLayer.js +0 -6
- package/lib/es/components/assetTree/autoAnimateFrames.d.ts +0 -1
- package/lib/es/components/assetTree/autoAnimateFrames.js +0 -55
- package/lib/es/components/assetTree/excludeFromList.d.ts +0 -1
- package/lib/es/components/assetTree/excludeFromList.js +0 -5
- package/lib/es/components/browserWarning/BrowserIcons.d.ts +0 -2
- package/lib/es/components/browserWarning/BrowserIcons.js +0 -11
- package/lib/es/components/browserWarning/BrowserWarning.d.ts +0 -15
- package/lib/es/components/browserWarning/BrowserWarning.js +0 -49
- package/lib/es/components/browserWarning/BrowserWarningMessageDE.d.ts +0 -4
- package/lib/es/components/browserWarning/BrowserWarningMessageDE.js +0 -9
- package/lib/es/components/browserWarning/BrowserWarningMessageEN.d.ts +0 -4
- package/lib/es/components/browserWarning/BrowserWarningMessageEN.js +0 -9
- package/lib/es/components/carousel/CarouselCaption.d.ts +0 -13
- package/lib/es/components/carousel/CarouselCaption.js +0 -20
- package/lib/es/components/carousel/CarouselItem.d.ts +0 -36
- package/lib/es/components/carousel/CarouselItem.js +0 -87
- package/lib/es/components/charts/Sector.d.ts +0 -0
- package/lib/es/components/charts/Sector.js +0 -1
- package/lib/es/components/dialog/baseDialogPropTypes.d.ts +0 -14
- package/lib/es/components/dialog/baseDialogPropTypes.js +0 -16
- package/lib/es/components/driverName/DriverName.d.ts +0 -18
- package/lib/es/components/driverName/DriverName.js +0 -23
- package/lib/es/components/dropdown/menuItemsPropTypes.d.ts +0 -9
- package/lib/es/components/dropdown/menuItemsPropTypes.js +0 -11
- package/lib/es/components/map/components/MapSettingContext.d.ts +0 -15
- package/lib/es/components/map/components/MapSettingContext.js +0 -8
- package/lib/es/components/map/components/context.d.ts +0 -2
- package/lib/es/components/map/components/context.js +0 -6
- package/lib/es/components/map/components/features/basics/MapLayerGroup.d.ts +0 -23
- package/lib/es/components/map/components/features/basics/MapLayerGroup.js +0 -48
- package/lib/es/components/map/components/features/basics/marker/DomMarker.d.ts +0 -33
- package/lib/es/components/map/components/features/basics/marker/DomMarker.js +0 -58
- package/lib/es/components/map/components/features/basics/marker/Marker.d.ts +0 -21
- package/lib/es/components/map/components/features/basics/marker/Marker.js +0 -123
- package/lib/es/components/map/components/features/basics/marker/TextMarker.d.ts +0 -17
- package/lib/es/components/map/components/features/basics/marker/TextMarker.js +0 -31
- package/lib/es/components/map/components/features/layers/IncidentsLayer.d.ts +0 -2
- package/lib/es/components/map/components/features/layers/IncidentsLayer.js +0 -27
- package/lib/es/components/map/components/features/layers/Layer.d.ts +0 -15
- package/lib/es/components/map/components/features/layers/Layer.js +0 -26
- package/lib/es/components/map/components/features/layers/MapBaseLayer.d.ts +0 -8
- package/lib/es/components/map/components/features/layers/MapBaseLayer.js +0 -35
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.d.ts +0 -2
- package/lib/es/components/map/components/features/layers/RoadRestrictionLayer.js +0 -28
- package/lib/es/components/map/components/features/layers/TrafficLayer.d.ts +0 -2
- package/lib/es/components/map/components/features/layers/TrafficLayer.js +0 -41
- package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.d.ts +0 -4
- package/lib/es/components/map/components/features/layers/baselayers/DefaultRasterLayer.js +0 -36
- package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.d.ts +0 -4
- package/lib/es/components/map/components/features/layers/baselayers/DefaultVectorLayer.js +0 -16
- package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.d.ts +0 -4
- package/lib/es/components/map/components/features/layers/baselayers/FleetStyleLayer.js +0 -17
- package/lib/es/components/map/components/features/layers/baselayers/NightLayer.d.ts +0 -4
- package/lib/es/components/map/components/features/layers/baselayers/NightLayer.js +0 -16
- package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.d.ts +0 -4
- package/lib/es/components/map/components/features/layers/baselayers/SatelliteLayer.js +0 -34
- package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.d.ts +0 -4
- package/lib/es/components/map/components/features/layers/baselayers/TerrainLayer.js +0 -17
- package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.d.ts +0 -11
- package/lib/es/components/map/components/features/layers/baselayers/useBaseLayer.js +0 -76
- package/lib/es/components/map/components/mapUtils.d.ts +0 -50
- package/lib/es/components/map/components/mapUtils.js +0 -154
- package/lib/es/components/map/herePolyfill.d.ts +0 -0
- package/lib/es/components/map/herePolyfill.js +0 -7
- package/lib/es/components/map/utils/proptypes.d.ts +0 -47
- package/lib/es/components/map/utils/proptypes.js +0 -53
- package/lib/es/components/map/utils/validation.d.ts +0 -2
- package/lib/es/components/map/utils/validation.js +0 -14
- package/lib/es/components/mapMarker/MarkerColor.d.ts +0 -3
- package/lib/es/components/mapMarker/MarkerColor.js +0 -15
- package/lib/es/components/menuItems/getMenuItems.d.ts +0 -2
- package/lib/es/components/menuItems/getMenuItems.js +0 -10
- package/lib/es/components/selects/BaseDropdownMenu.d.ts +0 -83
- package/lib/es/components/selects/BaseDropdownMenu.js +0 -260
- package/lib/es/components/selects/WithFeedback.d.ts +0 -27
- package/lib/es/components/selects/WithFeedback.js +0 -15
- package/lib/es/components/states/baseStatePropTypes.d.ts +0 -26
- package/lib/es/components/states/baseStatePropTypes.js +0 -30
- package/lib/es/components/table/tableSettingsPropTypes.d.ts +0 -8
- package/lib/es/components/table/tableSettingsPropTypes.js +0 -10
- package/lib/es/mapIndex.d.ts +0 -38
- package/lib/es/mapIndex.js +0 -77
- package/lib/es/styles/variables/colors.json +0 -74
- package/lib/es/themes/Volkswagen/components/applicationHeader/modulePropTypes.d.ts +0 -6
- package/lib/es/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +0 -8
- package/lib/es/types.d.ts +0 -71
- package/lib/es/types.js +0 -2
- package/lib/es/utils/GroupSelectionUtil.d.ts +0 -1
- package/lib/es/utils/GroupSelectionUtil.js +0 -85
- package/lib/es/utils/addEventListener.d.ts +0 -3
- package/lib/es/utils/addEventListener.js +0 -17
- package/lib/es/utils/addFocusListener.d.ts +0 -3
- package/lib/es/utils/addFocusListener.js +0 -24
- package/lib/es/utils/getOffsetTopWholeScreen.d.ts +0 -1
- package/lib/es/utils/getOffsetTopWholeScreen.js +0 -9
- package/lib/es/utils/init.d.ts +0 -2
- package/lib/es/utils/init.js +0 -121
- package/lib/es/utils/logPropError.d.ts +0 -3
- package/lib/es/utils/logPropError.js +0 -28
- package/lib/es/utils/ownerDocument.d.ts +0 -1
- package/lib/es/utils/ownerDocument.js +0 -12
- package/mapIndex.d.ts +0 -38
- package/mapIndex.js +0 -42
- package/styles/variables/colors.json +0 -74
- package/themes/Volkswagen/components/applicationHeader/modulePropTypes.d.ts +0 -6
- package/themes/Volkswagen/components/applicationHeader/modulePropTypes.js +0 -5
- package/types.d.ts +0 -71
- package/types.js +0 -1
- package/utils/GroupSelectionUtil.d.ts +0 -1
- package/utils/GroupSelectionUtil.js +0 -80
- package/utils/addEventListener.d.ts +0 -3
- package/utils/addEventListener.js +0 -13
- package/utils/addFocusListener.d.ts +0 -3
- package/utils/addFocusListener.js +0 -21
- package/utils/getOffsetTopWholeScreen.d.ts +0 -1
- package/utils/getOffsetTopWholeScreen.js +0 -6
- package/utils/init.d.ts +0 -2
- package/utils/init.js +0 -117
- package/utils/logPropError.d.ts +0 -3
- package/utils/logPropError.js +0 -23
- package/utils/ownerDocument.d.ts +0 -1
- package/utils/ownerDocument.js +0 -8
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export function getPPI(): undefined;
|
|
2
|
-
export function createUtils(mapApi: any): {
|
|
3
|
-
getCenter: () => {
|
|
4
|
-
lat: any;
|
|
5
|
-
lng: any;
|
|
6
|
-
};
|
|
7
|
-
setCenter: (position: any, animate: any) => void;
|
|
8
|
-
getZoom: () => number;
|
|
9
|
-
setZoom: (zoom: any, zoomAnimation?: boolean) => void;
|
|
10
|
-
getViewPort: () => {
|
|
11
|
-
width: any;
|
|
12
|
-
height: any;
|
|
13
|
-
margin: any;
|
|
14
|
-
padding: {
|
|
15
|
-
top: any;
|
|
16
|
-
right: any;
|
|
17
|
-
bottom: any;
|
|
18
|
-
left: any;
|
|
19
|
-
};
|
|
20
|
-
center: {
|
|
21
|
-
x: any;
|
|
22
|
-
y: any;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
getBounds: () => {
|
|
26
|
-
topLeft: {
|
|
27
|
-
lng: any;
|
|
28
|
-
lat: any;
|
|
29
|
-
};
|
|
30
|
-
bottomRight: {
|
|
31
|
-
lng: any;
|
|
32
|
-
lat: any;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
getObjects: () => any;
|
|
36
|
-
getLayers: () => any;
|
|
37
|
-
getBaseLayer: () => any;
|
|
38
|
-
getGroups: () => any[];
|
|
39
|
-
getMarkers: () => any[];
|
|
40
|
-
findMarkerByLatLng: (lat: any, lng: any) => any;
|
|
41
|
-
findMarkersByLatLng: (lat: any, lng: any) => any[];
|
|
42
|
-
getRoutePolylines: () => any[];
|
|
43
|
-
getObjectType: (hereObject: any) => "H.map.Group" | "H.map.DomMarker" | "H.map.Marker" | "H.map.AbstractMarker" | "H.map.Polyline" | "H.map.Rect" | "H.map.Circle" | "H.map.Polygon" | "H.map.Object";
|
|
44
|
-
getObjectTypes: import("lodash/fp").LodashMap1x1<any, "H.map.Group" | "H.map.DomMarker" | "H.map.Marker" | "H.map.AbstractMarker" | "H.map.Polyline" | "H.map.Rect" | "H.map.Circle" | "H.map.Polygon" | "H.map.Object">;
|
|
45
|
-
getLayerType: (hereLayer: any) => "H.map.layer.BaseTileLayer" | "H.map.layer.MarkerTileLayer" | "H.map.layer.TileLayer" | "H.map.layer.CanvasLayer" | "H.map.layer.DomLayer" | "H.map.layer.ObjectLayer" | "H.map.layer.Layer";
|
|
46
|
-
getLayerTypes: import("lodash/fp").LodashMap1x1<any, "H.map.layer.BaseTileLayer" | "H.map.layer.MarkerTileLayer" | "H.map.layer.TileLayer" | "H.map.layer.CanvasLayer" | "H.map.layer.DomLayer" | "H.map.layer.ObjectLayer" | "H.map.layer.Layer">;
|
|
47
|
-
getMarkerIconClassName: (domMarker: any) => any;
|
|
48
|
-
getPosition: (marker: any) => any;
|
|
49
|
-
getLatLngAltArray: (polyline: any) => any;
|
|
50
|
-
};
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createUtils = exports.getPPI = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const map_1 = tslib_1.__importDefault(require("lodash/fp/map"));
|
|
6
|
-
const flatMap_1 = tslib_1.__importDefault(require("lodash/fp/flatMap"));
|
|
7
|
-
const filter_1 = tslib_1.__importDefault(require("lodash/fp/filter"));
|
|
8
|
-
const flow_1 = tslib_1.__importDefault(require("lodash/fp/flow"));
|
|
9
|
-
const first_1 = tslib_1.__importDefault(require("lodash/fp/first"));
|
|
10
|
-
const constants_1 = require("./constants");
|
|
11
|
-
// Note: higher PPI image tiles result in larger label size and show more label on the map
|
|
12
|
-
const getPPI = () => undefined; // window.devicePixelRatio > 1 ? HIGH_RES_PPI : undefined;
|
|
13
|
-
exports.getPPI = getPPI;
|
|
14
|
-
const latLngFilterFunction = (lat, lng) => obj => obj.getGeometry && obj.getGeometry().lat === lat && obj.getGeometry().lng === lng;
|
|
15
|
-
const typeFilterFunction = hereType => obj => obj instanceof hereType;
|
|
16
|
-
const markerFilterFunction = typeFilterFunction(H.map.AbstractMarker);
|
|
17
|
-
const groupFilterFunction = typeFilterFunction(H.map.Group);
|
|
18
|
-
const polylineFilterFunction = typeFilterFunction(H.map.Polyline);
|
|
19
|
-
const getMarkerIconClassName = domMarker => domMarker.getIcon().c.className;
|
|
20
|
-
const getPosition = marker => marker.getGeometry();
|
|
21
|
-
const getLatLngAltArray = polyline => polyline.getGeometry().getLatLngAltArray();
|
|
22
|
-
const getObjectType = hereObject => {
|
|
23
|
-
if (hereObject instanceof H.map.Group) {
|
|
24
|
-
return 'H.map.Group';
|
|
25
|
-
}
|
|
26
|
-
if (hereObject instanceof H.map.DomMarker) {
|
|
27
|
-
return 'H.map.DomMarker';
|
|
28
|
-
}
|
|
29
|
-
if (hereObject instanceof H.map.Marker) {
|
|
30
|
-
return 'H.map.Marker';
|
|
31
|
-
}
|
|
32
|
-
if (hereObject instanceof H.map.AbstractMarker) {
|
|
33
|
-
return 'H.map.AbstractMarker';
|
|
34
|
-
}
|
|
35
|
-
if (hereObject instanceof H.map.Polyline) {
|
|
36
|
-
return 'H.map.Polyline';
|
|
37
|
-
}
|
|
38
|
-
if (hereObject instanceof H.map.Rect) {
|
|
39
|
-
return 'H.map.Rect';
|
|
40
|
-
}
|
|
41
|
-
if (hereObject instanceof H.map.Circle) {
|
|
42
|
-
return 'H.map.Circle';
|
|
43
|
-
}
|
|
44
|
-
if (hereObject instanceof H.map.Polygon) {
|
|
45
|
-
return 'H.map.Polygon';
|
|
46
|
-
}
|
|
47
|
-
return 'H.map.Object';
|
|
48
|
-
};
|
|
49
|
-
const getObjectTypes = (0, map_1.default)(getObjectType);
|
|
50
|
-
const getLayerType = hereLayer => {
|
|
51
|
-
if (hereLayer instanceof H.map.layer.BaseTileLayer) {
|
|
52
|
-
return 'H.map.layer.BaseTileLayer';
|
|
53
|
-
}
|
|
54
|
-
if (hereLayer instanceof H.map.layer.MarkerTileLayer) {
|
|
55
|
-
return 'H.map.layer.MarkerTileLayer';
|
|
56
|
-
}
|
|
57
|
-
if (hereLayer instanceof H.map.layer.TileLayer) {
|
|
58
|
-
return 'H.map.layer.TileLayer';
|
|
59
|
-
}
|
|
60
|
-
if (hereLayer instanceof H.map.layer.CanvasLayer) {
|
|
61
|
-
return 'H.map.layer.CanvasLayer';
|
|
62
|
-
}
|
|
63
|
-
if (hereLayer instanceof H.map.layer.DomLayer) {
|
|
64
|
-
return 'H.map.layer.DomLayer';
|
|
65
|
-
}
|
|
66
|
-
if (hereLayer instanceof H.map.layer.ObjectLayer) {
|
|
67
|
-
return 'H.map.layer.ObjectLayer';
|
|
68
|
-
}
|
|
69
|
-
return 'H.map.layer.Layer';
|
|
70
|
-
};
|
|
71
|
-
const getLayerTypes = (0, map_1.default)(getLayerType);
|
|
72
|
-
const createUtils = mapApi => {
|
|
73
|
-
return {
|
|
74
|
-
getCenter: () => {
|
|
75
|
-
const center = mapApi.getCenter();
|
|
76
|
-
return {
|
|
77
|
-
lat: center.lat,
|
|
78
|
-
lng: center.lng,
|
|
79
|
-
};
|
|
80
|
-
},
|
|
81
|
-
setCenter: (position, animate) => {
|
|
82
|
-
mapApi.getViewModel().setLookAtData({ position }, animate);
|
|
83
|
-
},
|
|
84
|
-
getZoom: () => {
|
|
85
|
-
const { zoom } = mapApi.getViewModel().getLookAtData();
|
|
86
|
-
return Math.round(zoom);
|
|
87
|
-
},
|
|
88
|
-
setZoom: (zoom, zoomAnimation = false) => {
|
|
89
|
-
mapApi.getViewModel().setLookAtData({ zoom }, zoomAnimation);
|
|
90
|
-
},
|
|
91
|
-
getViewPort: () => {
|
|
92
|
-
const viewPort = mapApi.getViewPort();
|
|
93
|
-
return {
|
|
94
|
-
width: viewPort.width,
|
|
95
|
-
height: viewPort.height,
|
|
96
|
-
margin: viewPort.margin,
|
|
97
|
-
padding: {
|
|
98
|
-
top: viewPort.padding.top,
|
|
99
|
-
right: viewPort.padding.right,
|
|
100
|
-
bottom: viewPort.padding.bottom,
|
|
101
|
-
left: viewPort.padding.left,
|
|
102
|
-
},
|
|
103
|
-
center: {
|
|
104
|
-
x: viewPort.center.x,
|
|
105
|
-
y: viewPort.center.y,
|
|
106
|
-
},
|
|
107
|
-
};
|
|
108
|
-
},
|
|
109
|
-
getBounds: () => {
|
|
110
|
-
const { bounds } = mapApi.getViewModel().getLookAtData();
|
|
111
|
-
// TODO: remove old 3.0 version after all Services use the latest Map
|
|
112
|
-
if (bounds.getTopLeft) {
|
|
113
|
-
return {
|
|
114
|
-
topLeft: {
|
|
115
|
-
lng: bounds.getTopLeft().lng,
|
|
116
|
-
lat: bounds.getTopLeft().lat,
|
|
117
|
-
},
|
|
118
|
-
bottomRight: {
|
|
119
|
-
lng: bounds.getBottomRight().lng,
|
|
120
|
-
lat: bounds.getBottomRight().lat,
|
|
121
|
-
},
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
// HERE Maps API for JavaScript 3.1
|
|
125
|
-
const boundingBox = bounds.getBoundingBox();
|
|
126
|
-
return {
|
|
127
|
-
topLeft: {
|
|
128
|
-
lng: boundingBox.getTopLeft().lng,
|
|
129
|
-
lat: boundingBox.getTopLeft().lat,
|
|
130
|
-
},
|
|
131
|
-
bottomRight: {
|
|
132
|
-
lng: boundingBox.getBottomRight().lng,
|
|
133
|
-
lat: boundingBox.getBottomRight().lat,
|
|
134
|
-
},
|
|
135
|
-
};
|
|
136
|
-
},
|
|
137
|
-
getObjects: () => mapApi.getObjects(),
|
|
138
|
-
getLayers: () => mapApi.getLayers().asArray(),
|
|
139
|
-
getBaseLayer: () => mapApi.getBaseLayer(),
|
|
140
|
-
getGroups: () => (0, filter_1.default)(groupFilterFunction)(mapApi.getObjects()),
|
|
141
|
-
getMarkers: () => (0, filter_1.default)(markerFilterFunction)(mapApi.getObjects()),
|
|
142
|
-
findMarkerByLatLng: (lat, lng) => (0, flow_1.default)((0, filter_1.default)(markerFilterFunction && latLngFilterFunction(lat, lng)), first_1.default)(mapApi.getObjects()),
|
|
143
|
-
findMarkersByLatLng: (lat, lng) => (0, filter_1.default)(markerFilterFunction && latLngFilterFunction(lat, lng))(mapApi.getObjects()),
|
|
144
|
-
getRoutePolylines: () => (0, flow_1.default)((0, filter_1.default)(groupFilterFunction), (0, flatMap_1.default)(group => group.getObjects()), (0, filter_1.default)(polylineFilterFunction))(mapApi.getObjects()),
|
|
145
|
-
getObjectType,
|
|
146
|
-
getObjectTypes,
|
|
147
|
-
getLayerType,
|
|
148
|
-
getLayerTypes,
|
|
149
|
-
getMarkerIconClassName,
|
|
150
|
-
getPosition,
|
|
151
|
-
getLatLngAltArray,
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
exports.createUtils = createUtils;
|
|
File without changes
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export default mapProps;
|
|
2
|
-
declare namespace mapProps {
|
|
3
|
-
export { position };
|
|
4
|
-
export { positions };
|
|
5
|
-
export { icon };
|
|
6
|
-
export { map };
|
|
7
|
-
export { group };
|
|
8
|
-
export { mapEvents };
|
|
9
|
-
export { api };
|
|
10
|
-
export { settings };
|
|
11
|
-
export { rect };
|
|
12
|
-
export { clusterTheme };
|
|
13
|
-
}
|
|
14
|
-
declare const position: PropTypes.Requireable<PropTypes.InferProps<{
|
|
15
|
-
lat: PropTypes.Validator<number>;
|
|
16
|
-
lng: PropTypes.Validator<number>;
|
|
17
|
-
}>>;
|
|
18
|
-
declare const positions: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
19
|
-
lat: PropTypes.Validator<number>;
|
|
20
|
-
lng: PropTypes.Validator<number>;
|
|
21
|
-
}> | null | undefined)[]>;
|
|
22
|
-
declare const icon: PropTypes.Requireable<H.map.DomIcon>;
|
|
23
|
-
declare const map: PropTypes.Requireable<H.Map>;
|
|
24
|
-
declare const group: PropTypes.Requireable<H.map.Group>;
|
|
25
|
-
declare const mapEvents: PropTypes.Requireable<H.mapevents.MapEvents>;
|
|
26
|
-
declare const api: PropTypes.Requireable<PropTypes.InferProps<{
|
|
27
|
-
map: PropTypes.Requireable<H.Map>;
|
|
28
|
-
platform: PropTypes.Requireable<H.service.Platform>;
|
|
29
|
-
defaultLayers: PropTypes.Requireable<object>;
|
|
30
|
-
group: PropTypes.Requireable<NonNullable<H.Map | H.map.Group | null | undefined>>;
|
|
31
|
-
}>>;
|
|
32
|
-
declare const settings: PropTypes.Requireable<PropTypes.InferProps<{
|
|
33
|
-
baseLayer: PropTypes.Requireable<string>;
|
|
34
|
-
mapLayer: PropTypes.Requireable<(string | null | undefined)[]>;
|
|
35
|
-
showCluster: PropTypes.Requireable<boolean>;
|
|
36
|
-
}>>;
|
|
37
|
-
declare const rect: PropTypes.Requireable<PropTypes.InferProps<{
|
|
38
|
-
top: PropTypes.Validator<number>;
|
|
39
|
-
bottom: PropTypes.Validator<number>;
|
|
40
|
-
left: PropTypes.Validator<number>;
|
|
41
|
-
right: PropTypes.Validator<number>;
|
|
42
|
-
}>>;
|
|
43
|
-
declare const clusterTheme: PropTypes.Requireable<PropTypes.InferProps<{
|
|
44
|
-
getNoisePresentation: PropTypes.Validator<(...args: any[]) => any>;
|
|
45
|
-
getClusterPresentation: PropTypes.Validator<(...args: any[]) => any>;
|
|
46
|
-
}>>;
|
|
47
|
-
import PropTypes from "prop-types";
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
/* eslint-disable no-undef */
|
|
5
|
-
const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
|
|
6
|
-
const position = prop_types_1.default.shape({
|
|
7
|
-
lat: prop_types_1.default.number.isRequired,
|
|
8
|
-
lng: prop_types_1.default.number.isRequired,
|
|
9
|
-
});
|
|
10
|
-
const positions = prop_types_1.default.arrayOf(position);
|
|
11
|
-
const hMapIcon = prop_types_1.default.instanceOf(H.map.Icon);
|
|
12
|
-
const hMapDomIcon = prop_types_1.default.instanceOf(H.map.DomIcon);
|
|
13
|
-
const rect = prop_types_1.default.shape({
|
|
14
|
-
top: prop_types_1.default.number.isRequired,
|
|
15
|
-
bottom: prop_types_1.default.number.isRequired,
|
|
16
|
-
left: prop_types_1.default.number.isRequired,
|
|
17
|
-
right: prop_types_1.default.number.isRequired,
|
|
18
|
-
});
|
|
19
|
-
const icon = prop_types_1.default.oneOfType([hMapIcon, hMapDomIcon, prop_types_1.default.string, prop_types_1.default.element]);
|
|
20
|
-
const map = prop_types_1.default.instanceOf(H.Map);
|
|
21
|
-
const group = prop_types_1.default.instanceOf(H.map.Group);
|
|
22
|
-
const mapOrGroup = prop_types_1.default.oneOfType([map, group]);
|
|
23
|
-
const platform = prop_types_1.default.instanceOf(H.service.Platform);
|
|
24
|
-
const mapEvents = prop_types_1.default.instanceOf(H.mapevents.MapEvents);
|
|
25
|
-
const defaultLayers = prop_types_1.default.object;
|
|
26
|
-
const api = prop_types_1.default.shape({
|
|
27
|
-
map,
|
|
28
|
-
platform,
|
|
29
|
-
defaultLayers,
|
|
30
|
-
group: mapOrGroup,
|
|
31
|
-
});
|
|
32
|
-
const settings = prop_types_1.default.shape({
|
|
33
|
-
baseLayer: prop_types_1.default.string,
|
|
34
|
-
mapLayer: prop_types_1.default.arrayOf(prop_types_1.default.string),
|
|
35
|
-
showCluster: prop_types_1.default.bool,
|
|
36
|
-
});
|
|
37
|
-
const clusterTheme = prop_types_1.default.shape({
|
|
38
|
-
getNoisePresentation: prop_types_1.default.func.isRequired,
|
|
39
|
-
getClusterPresentation: prop_types_1.default.func.isRequired,
|
|
40
|
-
});
|
|
41
|
-
const mapProps = {
|
|
42
|
-
position,
|
|
43
|
-
positions,
|
|
44
|
-
icon,
|
|
45
|
-
map,
|
|
46
|
-
group,
|
|
47
|
-
mapEvents,
|
|
48
|
-
api,
|
|
49
|
-
settings,
|
|
50
|
-
rect,
|
|
51
|
-
clusterTheme,
|
|
52
|
-
};
|
|
53
|
-
exports.default = mapProps;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getKeyOrDefault = exports.validateMinMaxZoomUnchanged = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const getOr_1 = tslib_1.__importDefault(require("lodash/fp/getOr"));
|
|
6
|
-
const MapException_1 = tslib_1.__importDefault(require("../exceptions/MapException"));
|
|
7
|
-
const validateMinMaxZoomUnchanged = (props, nextProps) => {
|
|
8
|
-
if (props.minZoom !== nextProps.minZoom || props.maxZoom !== nextProps.maxZoom) {
|
|
9
|
-
throw new MapException_1.default('rio-map currently does not support changing of minZoom/maxZoom property.');
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
exports.validateMinMaxZoomUnchanged = validateMinMaxZoomUnchanged;
|
|
13
|
-
const getKeyOrDefault = (defaultValue, object) => (0, getOr_1.default)(defaultValue, 'props.key')(object);
|
|
14
|
-
exports.getKeyOrDefault = getKeyOrDefault;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const markerColorOptions: readonly ["bg-map-marker-asset", "bg-map-marker-poi", "bg-map-marker-geofence", "bg-map-marker-route"];
|
|
2
|
-
export type MarkerColor = (typeof markerColorOptions)[number];
|
|
3
|
-
export declare const markerColorMapping: Record<MarkerColor, string>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.markerColorMapping = exports.markerColorOptions = void 0;
|
|
4
|
-
exports.markerColorOptions = [
|
|
5
|
-
'bg-map-marker-asset',
|
|
6
|
-
'bg-map-marker-poi',
|
|
7
|
-
'bg-map-marker-geofence',
|
|
8
|
-
'bg-map-marker-route',
|
|
9
|
-
];
|
|
10
|
-
exports.markerColorMapping = {
|
|
11
|
-
'bg-map-marker-asset': 'map-marker-type-asset',
|
|
12
|
-
'bg-map-marker-poi': 'map-marker-type-poi',
|
|
13
|
-
'bg-map-marker-geofence': 'map-marker-type-geofence',
|
|
14
|
-
'bg-map-marker-route': 'map-marker-type-route',
|
|
15
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
-
const MenuItem_1 = tslib_1.__importDefault(require("./MenuItem"));
|
|
7
|
-
const getMenuItems = (items, closeMenu, onMouseEnter) => {
|
|
8
|
-
return items.map((item, index) => ((0, jsx_runtime_1.jsx)(MenuItem_1.default, Object.assign({}, item, { index: index, closeMenu: closeMenu, onMouseEnter: onMouseEnter }), index)));
|
|
9
|
-
};
|
|
10
|
-
exports.default = getMenuItems;
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
export class BaseDropdownMenu extends React.Component<any, any, any> {
|
|
2
|
-
constructor(props: any);
|
|
3
|
-
state: {
|
|
4
|
-
dropup: boolean;
|
|
5
|
-
pullRight: any;
|
|
6
|
-
focusedItemIndex: any;
|
|
7
|
-
keyboardUsed: any;
|
|
8
|
-
itemDOMValues: never[];
|
|
9
|
-
};
|
|
10
|
-
handleOptionChange(event: any): void;
|
|
11
|
-
handleKeydown(event: any): void;
|
|
12
|
-
componentDidMount(): void;
|
|
13
|
-
UNSAFE_componentWillReceiveProps(nextProps: any): void;
|
|
14
|
-
focusOption(direction: any): void;
|
|
15
|
-
getDropdownDOMNode(): Element | Text | null;
|
|
16
|
-
getOptionNodes(): any;
|
|
17
|
-
setItemDOMValues(): {
|
|
18
|
-
id: any;
|
|
19
|
-
text: any;
|
|
20
|
-
}[] | undefined;
|
|
21
|
-
getFocusedOptionNode(): any;
|
|
22
|
-
selectOptionOnEnter(event: any): void;
|
|
23
|
-
render(): import("react/jsx-runtime").JSX.Element | null;
|
|
24
|
-
refDropdownMenu: HTMLUListElement | null | undefined;
|
|
25
|
-
renderMenuOption(option: any, index: any): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
getSelectedFocusedItemIndex(): any;
|
|
27
|
-
isAutoDropActive(): boolean;
|
|
28
|
-
openMenu(nextProps: any): void;
|
|
29
|
-
onDocumentKeydownListener: {
|
|
30
|
-
remove(): void;
|
|
31
|
-
} | undefined;
|
|
32
|
-
closeMenu(): void;
|
|
33
|
-
}
|
|
34
|
-
export namespace BaseDropdownMenu {
|
|
35
|
-
namespace defaultProps {
|
|
36
|
-
export const isOpen: boolean;
|
|
37
|
-
export function updateDOMValues(): void;
|
|
38
|
-
export function onOpen(): void;
|
|
39
|
-
export function onSelect(): void;
|
|
40
|
-
export function onClose(): void;
|
|
41
|
-
export const options: never[];
|
|
42
|
-
export const autoDropDirection: boolean;
|
|
43
|
-
export const pullRight: boolean;
|
|
44
|
-
export const useActiveClass: boolean;
|
|
45
|
-
export const keyboardUsed: boolean;
|
|
46
|
-
export { DEFAULT_FOCUSED_ITEM_INDEX as focusedItemIndex };
|
|
47
|
-
}
|
|
48
|
-
namespace propTypes {
|
|
49
|
-
const options_1: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
50
|
-
id: PropTypes.Validator<string>;
|
|
51
|
-
label: PropTypes.Validator<any>;
|
|
52
|
-
icon: PropTypes.Requireable<object>;
|
|
53
|
-
selected: PropTypes.Requireable<boolean>;
|
|
54
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
55
|
-
header: PropTypes.Requireable<boolean>;
|
|
56
|
-
}> | null | undefined)[]>;
|
|
57
|
-
export { options_1 as options };
|
|
58
|
-
const isOpen_1: PropTypes.Requireable<boolean>;
|
|
59
|
-
export { isOpen_1 as isOpen };
|
|
60
|
-
const updateDOMValues_1: PropTypes.Requireable<(...args: any[]) => any>;
|
|
61
|
-
export { updateDOMValues_1 as updateDOMValues };
|
|
62
|
-
const onOpen_1: PropTypes.Requireable<(...args: any[]) => any>;
|
|
63
|
-
export { onOpen_1 as onOpen };
|
|
64
|
-
const onSelect_1: PropTypes.Requireable<(...args: any[]) => any>;
|
|
65
|
-
export { onSelect_1 as onSelect };
|
|
66
|
-
const onClose_1: PropTypes.Requireable<(...args: any[]) => any>;
|
|
67
|
-
export { onClose_1 as onClose };
|
|
68
|
-
export const placeholder: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
69
|
-
export const dropup: PropTypes.Requireable<boolean>;
|
|
70
|
-
const pullRight_1: PropTypes.Requireable<boolean>;
|
|
71
|
-
export { pullRight_1 as pullRight };
|
|
72
|
-
const autoDropDirection_1: PropTypes.Requireable<boolean>;
|
|
73
|
-
export { autoDropDirection_1 as autoDropDirection };
|
|
74
|
-
export const noItemMessage: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
75
|
-
export const focusedItemIndex: PropTypes.Validator<number>;
|
|
76
|
-
export const dropdownClassName: PropTypes.Requireable<string>;
|
|
77
|
-
export const requestItemDOMValues: PropTypes.Requireable<boolean>;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
import React from "react";
|
|
81
|
-
declare const DEFAULT_FOCUSED_ITEM_INDEX: -1;
|
|
82
|
-
import PropTypes from "prop-types";
|
|
83
|
-
export {};
|