@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
package/lib/es/types.d.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import type { Moment } from 'moment';
|
|
3
|
-
export interface DateRangePickerCustomPresets {
|
|
4
|
-
startValue: Moment;
|
|
5
|
-
endValue: Moment;
|
|
6
|
-
text: string | JSX.Element;
|
|
7
|
-
onSelect?: Function;
|
|
8
|
-
}
|
|
9
|
-
export interface DateRangePickerProps {
|
|
10
|
-
startValue?: Moment;
|
|
11
|
-
endValue?: Moment;
|
|
12
|
-
defaultStartValue?: Moment;
|
|
13
|
-
defaultEndValue?: Moment;
|
|
14
|
-
minValue?: Moment | null;
|
|
15
|
-
maxValue?: Moment | null;
|
|
16
|
-
onRangeChange?: (start: Moment, end: Moment) => void;
|
|
17
|
-
locale: string;
|
|
18
|
-
textDefault?: string | React.ReactNode;
|
|
19
|
-
textToday?: string | React.ReactNode;
|
|
20
|
-
textLastWeek?: string | React.ReactNode;
|
|
21
|
-
textLastMonth?: string | React.ReactNode;
|
|
22
|
-
textLastYear?: string | React.ReactNode;
|
|
23
|
-
textCustom?: string | React.ReactNode;
|
|
24
|
-
textApply?: string | React.ReactNode;
|
|
25
|
-
textCancel?: string | React.ReactNode;
|
|
26
|
-
textFrom?: string | React.ReactNode;
|
|
27
|
-
textTo?: string | React.ReactNode;
|
|
28
|
-
className?: string;
|
|
29
|
-
dropdownClass?: string;
|
|
30
|
-
dropdownMenuClass?: string;
|
|
31
|
-
hasTimePicker?: boolean;
|
|
32
|
-
customRangeOnly?: boolean;
|
|
33
|
-
customPresets?: DateRangePickerCustomPresets[];
|
|
34
|
-
dropup?: boolean;
|
|
35
|
-
pullRight?: boolean;
|
|
36
|
-
autoDropDirection?: boolean;
|
|
37
|
-
}
|
|
38
|
-
export interface TableSettingsDialogColumnDetails {
|
|
39
|
-
width?: number;
|
|
40
|
-
defaultWidth?: number;
|
|
41
|
-
maxWidth?: number;
|
|
42
|
-
}
|
|
43
|
-
export interface TableSettingsDialogProps {
|
|
44
|
-
show: boolean;
|
|
45
|
-
title: React.ReactNode;
|
|
46
|
-
subtitle?: React.ReactNode;
|
|
47
|
-
className?: string;
|
|
48
|
-
defaultColumnOrder: string[];
|
|
49
|
-
defaultHiddenColumns?: string[];
|
|
50
|
-
columnOrder: string[];
|
|
51
|
-
hiddenColumns?: string[];
|
|
52
|
-
columnLabels: any;
|
|
53
|
-
disabledColumns: string[];
|
|
54
|
-
columnsDetails?: TableSettingsDialogColumnDetails;
|
|
55
|
-
defaultColumnDetails?: TableSettingsDialogColumnDetails;
|
|
56
|
-
autoLabel?: string | React.ReactNode;
|
|
57
|
-
applyButtonText?: string | React.ReactNode;
|
|
58
|
-
cancelButtonText?: string | React.ReactNode;
|
|
59
|
-
closeButtonText?: string | React.ReactNode;
|
|
60
|
-
resetButtonText: string | React.ReactNode;
|
|
61
|
-
onColumnChange: Function;
|
|
62
|
-
onColumnDetailsChange?: Function;
|
|
63
|
-
onDiscard?: Function;
|
|
64
|
-
onApply?: Function;
|
|
65
|
-
onHide: Function;
|
|
66
|
-
columnSearchValue?: string;
|
|
67
|
-
onSearchChange?: Function;
|
|
68
|
-
searchPlaceholder: React.ReactNode;
|
|
69
|
-
notFoundMessage?: string;
|
|
70
|
-
immediateChange?: boolean;
|
|
71
|
-
}
|
package/lib/es/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function getNewGroupedSelected(selected: any, selectedOld: any, compactData: any, openRows: any, extendedData: any, keyField: any, groupHeadKeyField: any): any;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getNewGroupedSelected = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const isEmpty_1 = tslib_1.__importDefault(require("lodash/fp/isEmpty"));
|
|
6
|
-
const isEqual_1 = tslib_1.__importDefault(require("lodash/fp/isEqual"));
|
|
7
|
-
const findIndex_1 = tslib_1.__importDefault(require("lodash/fp/findIndex"));
|
|
8
|
-
const getIndexOfCompareItem = (array, compareItem) => {
|
|
9
|
-
return (0, findIndex_1.default)(item => (0, isEqual_1.default)(item, compareItem))(array);
|
|
10
|
-
};
|
|
11
|
-
const getSelectedArrays = selected => {
|
|
12
|
-
const selectedArrays = [];
|
|
13
|
-
selected.forEach(item => {
|
|
14
|
-
if (Array.isArray(item)) {
|
|
15
|
-
selectedArrays.push(item);
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
return selectedArrays;
|
|
19
|
-
};
|
|
20
|
-
const getShownIds = (compactData, openRows, extendedData, keyField, groupHeadKeyField) => {
|
|
21
|
-
const shownIds = [];
|
|
22
|
-
compactData.forEach(item => {
|
|
23
|
-
const entityReference = item[groupHeadKeyField];
|
|
24
|
-
if (getIndexOfCompareItem(openRows, entityReference) !== -1) {
|
|
25
|
-
extendedData[entityReference].forEach(extendedItem => {
|
|
26
|
-
shownIds.push(extendedItem[keyField]);
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
shownIds.push(item[keyField]);
|
|
30
|
-
});
|
|
31
|
-
return shownIds;
|
|
32
|
-
};
|
|
33
|
-
const getDeSelectedItems = (selected, selectedOld, compactData, openRows, extendedData, keyField, groupHeadKeyField) => {
|
|
34
|
-
const deSelectedIds = selectedOld.filter(item => getIndexOfCompareItem(selected, item) === -1);
|
|
35
|
-
const fullDeSelected = [];
|
|
36
|
-
const selectedArrays = getSelectedArrays(selected);
|
|
37
|
-
const shownIds = getShownIds(compactData, openRows, extendedData, keyField, groupHeadKeyField);
|
|
38
|
-
deSelectedIds.forEach(id => {
|
|
39
|
-
if (Array.isArray(id)) {
|
|
40
|
-
id.forEach(oneId => fullDeSelected.push(oneId));
|
|
41
|
-
fullDeSelected.push(id);
|
|
42
|
-
}
|
|
43
|
-
else if (shownIds.indexOf(id) !== -1) {
|
|
44
|
-
selectedArrays.forEach(array => {
|
|
45
|
-
if (array.indexOf(id) !== -1) {
|
|
46
|
-
fullDeSelected.push(array);
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
fullDeSelected.push(id);
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
return fullDeSelected;
|
|
53
|
-
};
|
|
54
|
-
const getCompactArrays = (compactData, keyField) => {
|
|
55
|
-
return compactData.map(item => item[keyField]);
|
|
56
|
-
};
|
|
57
|
-
const getNewGroupedSelected = (selected, selectedOld, compactData, openRows, extendedData, keyField, groupHeadKeyField) => {
|
|
58
|
-
if ((0, isEmpty_1.default)(selected)) {
|
|
59
|
-
return selected;
|
|
60
|
-
}
|
|
61
|
-
const fullSelected = [];
|
|
62
|
-
const deSelected = getDeSelectedItems(selected, selectedOld, compactData, extendedData, openRows, keyField, groupHeadKeyField);
|
|
63
|
-
selected.forEach(item => {
|
|
64
|
-
if (getIndexOfCompareItem(deSelected, item) === -1 && getIndexOfCompareItem(fullSelected, item) === -1) {
|
|
65
|
-
if (Array.isArray(item)) {
|
|
66
|
-
item.forEach(id => {
|
|
67
|
-
if (fullSelected.indexOf(id) === -1) {
|
|
68
|
-
fullSelected.push(id);
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
fullSelected.push(item);
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
if ((0, isEmpty_1.default)(deSelected)) {
|
|
76
|
-
getCompactArrays(compactData, keyField).forEach(fileIds => {
|
|
77
|
-
if (!fileIds.some(id => fullSelected.indexOf(id) === -1) &&
|
|
78
|
-
getIndexOfCompareItem(fullSelected, fileIds) === -1) {
|
|
79
|
-
fullSelected.push(fileIds);
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
return fullSelected;
|
|
84
|
-
};
|
|
85
|
-
exports.getNewGroupedSelected = getNewGroupedSelected;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
/*
|
|
5
|
-
* FROM: https://github.com/react-bootstrap/react-overlays/blob/master/src/utils/addEventListener.js
|
|
6
|
-
*/
|
|
7
|
-
const addEventListener_1 = tslib_1.__importDefault(require("dom-helpers/addEventListener"));
|
|
8
|
-
const removeEventListener_1 = tslib_1.__importDefault(require("dom-helpers/removeEventListener"));
|
|
9
|
-
function default_1(node, event, handler, capture) {
|
|
10
|
-
(0, addEventListener_1.default)(node, event, handler, capture);
|
|
11
|
-
return {
|
|
12
|
-
remove() {
|
|
13
|
-
(0, removeEventListener_1.default)(node, event, handler, capture);
|
|
14
|
-
},
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
exports.default = default_1;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/*
|
|
4
|
-
* FROM: https://github.com/react-bootstrap/react-overlays/blob/master/src/utils/addFocusListener.js
|
|
5
|
-
*
|
|
6
|
-
* Firefox doesn't have a focusin event so using capture is easiest way to get bubbling
|
|
7
|
-
* IE8 can't do addEventListener, but does have onfocusin, so we use that in ie8
|
|
8
|
-
*
|
|
9
|
-
* We only allow one Listener at a time to avoid stack overflows
|
|
10
|
-
*/
|
|
11
|
-
function addFocusListener(handler) {
|
|
12
|
-
const useFocusin = !document.addEventListener;
|
|
13
|
-
let remove;
|
|
14
|
-
if (useFocusin) {
|
|
15
|
-
document.attachEvent('onfocusin', handler);
|
|
16
|
-
remove = () => document.detachEvent('onfocusin', handler);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
document.addEventListener('focus', handler, true);
|
|
20
|
-
remove = () => document.removeEventListener('focus', handler, true);
|
|
21
|
-
}
|
|
22
|
-
return { remove };
|
|
23
|
-
}
|
|
24
|
-
exports.default = addFocusListener;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function getOffsetTopWholeScreen(currentTarget: any): any;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
function getOffsetTopWholeScreen(currentTarget) {
|
|
4
|
-
if (currentTarget.offsetParent) {
|
|
5
|
-
return getOffsetTopWholeScreen(currentTarget.offsetParent) + currentTarget.offsetTop;
|
|
6
|
-
}
|
|
7
|
-
return currentTarget.offsetTop;
|
|
8
|
-
}
|
|
9
|
-
exports.default = getOffsetTopWholeScreen;
|
package/lib/es/utils/init.d.ts
DELETED
package/lib/es/utils/init.js
DELETED
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.autoInitDocumentBootstrapping = exports.initDocumentBootstrapping = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
require("lodash/fp/throttle");
|
|
6
|
-
const process_1 = tslib_1.__importDefault(require("process"));
|
|
7
|
-
const deviceUtils_1 = require("./deviceUtils");
|
|
8
|
-
const colorScheme_1 = require("./colorScheme");
|
|
9
|
-
const version_json_1 = tslib_1.__importDefault(require("../version.json"));
|
|
10
|
-
const uikitVersion = version_json_1.default.version;
|
|
11
|
-
// Note: using import.meta.env.DEV does not work here due to backward compatibility with webpack and jest setups
|
|
12
|
-
const isProdEnv = () => process_1.default.env.NODE_ENV === 'production' || location.protocol.startsWith('https');
|
|
13
|
-
const isTestEnv = () => process_1.default.env.NODE_ENV === 'test';
|
|
14
|
-
const isLocalhost = () => { var _a; return ((_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.hostname) === 'localhost'; };
|
|
15
|
-
const debug = (message) => !isTestEnv() && console.debug(message);
|
|
16
|
-
const log = (message) => !isTestEnv() && console.log(message);
|
|
17
|
-
const logStyled = (message) => console.log('%c%s', 'color: #697a8b;', message);
|
|
18
|
-
const printPoweredByRIO = () => {
|
|
19
|
-
logStyled('- - - - - - - - - - - - - - - - - -');
|
|
20
|
-
const message = [`RIO UIKIT Version ${uikitVersion}\nhttps://uikit.developers.rio.cloud`];
|
|
21
|
-
if (isProdEnv() && !(0, deviceUtils_1.inIframe)()) {
|
|
22
|
-
message.push('\n\n You are a Developer? RIO is hiring! | https://rio.cloud/en/career');
|
|
23
|
-
}
|
|
24
|
-
logStyled(message.join(''));
|
|
25
|
-
logStyled('- - - - - - - - - - - - - - - - - -');
|
|
26
|
-
};
|
|
27
|
-
const checkForReleaseVersion = () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
28
|
-
if (!isProdEnv()) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
const remoteVersionsListUrl = 'https://uikit.developers.rio.cloud/versionsList.json';
|
|
32
|
-
try {
|
|
33
|
-
const response = yield fetch(remoteVersionsListUrl, { method: 'get' });
|
|
34
|
-
// console.log(response);
|
|
35
|
-
const data = yield response.json();
|
|
36
|
-
if (data.latest_release !== uikitVersion) {
|
|
37
|
-
console.log(`🆕 UIKIT version ${data.latest_release} is the latest released version! Your are using ${uikitVersion}`);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
catch (error) {
|
|
41
|
-
// console.warn(error);
|
|
42
|
-
console.warn(`Failed to fetch versionsList from ${remoteVersionsListUrl}`);
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
const checkMatchingUkitVersions = () => {
|
|
46
|
-
const cssLinks = [...document.querySelectorAll('link[rel="stylesheet"]')];
|
|
47
|
-
cssLinks.forEach(cssLink => {
|
|
48
|
-
const { href } = cssLink;
|
|
49
|
-
if (href.includes('uikit.developers.rio.cloud')) {
|
|
50
|
-
const [, uikitVersionCSS] = new URL(href).pathname.split('/');
|
|
51
|
-
if (!href.includes(uikitVersion)) {
|
|
52
|
-
console.warn([
|
|
53
|
-
'You are using different UIKIT JS and CSS versions.\n',
|
|
54
|
-
`Your current JS version is ${uikitVersion} and `,
|
|
55
|
-
`your current CSS version is ${uikitVersionCSS}.\n`,
|
|
56
|
-
'If this is not on purpose, please fix it. Otherwise, this may lead to UI bugs.',
|
|
57
|
-
].join(''));
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
else if (href.includes('cdn.rio.cloud/libs/rio-uikit')) {
|
|
61
|
-
console.error('You are still using an old "cdn.rio.cloud" css import. This will lead to mayor UI bugs!');
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
};
|
|
65
|
-
const experimentalLoadUikitCSS = () => {
|
|
66
|
-
var _a;
|
|
67
|
-
if ((_a = document.title) === null || _a === void 0 ? void 0 : _a.includes('UIKIT Demo')) {
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
// check for existing uikit CSS in document head
|
|
71
|
-
debug('Check for UIKIT CSS in document head');
|
|
72
|
-
const hasUikitCssLink = !!document.head.querySelector('link[href*="rio-uikit.css"]') ||
|
|
73
|
-
!!document.head.querySelector('link[href*="rio-uikit-core.css"]');
|
|
74
|
-
const isUikitDemoPage = !!document.head.querySelector('style[data-vite-dev-id*="uikit.less"]');
|
|
75
|
-
const hasUikitThemeCssLink = !!document.head.querySelector('link[href*="man-uikit.css"]') ||
|
|
76
|
-
!!document.head.querySelector('link[href*="vw-uikit.css"]') ||
|
|
77
|
-
!!document.head.querySelector('link[href*="scania-uikit.css"]') ||
|
|
78
|
-
!!document.head.querySelector('link[href*="traton-uikit.css"]') ||
|
|
79
|
-
!!document.head.querySelector('link[href*="rio-website.css"]');
|
|
80
|
-
if (hasUikitCssLink || isUikitDemoPage || hasUikitThemeCssLink) {
|
|
81
|
-
debug('Existing UIKIT CSS found in document head');
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
// If nothing is set, add a link tag to fetch the CSS from the UIKIT CDN.
|
|
85
|
-
// Note: there is no way to differentiate between core + responsive or full CSS
|
|
86
|
-
debug('No UIKIT CSS found. Add link tag to document head');
|
|
87
|
-
const link = document.createElement('link');
|
|
88
|
-
link.rel = 'stylesheet';
|
|
89
|
-
link.type = 'text/css';
|
|
90
|
-
link.href = `https://uikit.developers.rio.cloud/${uikitVersion}/rio-uikit.css`;
|
|
91
|
-
link.onload = () => console.debug(`Loaded CSS link ${link.href}`);
|
|
92
|
-
link.onerror = () => console.error(`Failed to load ${link.href}`);
|
|
93
|
-
document.head.appendChild(link);
|
|
94
|
-
};
|
|
95
|
-
const initDocumentBootstrapping = (document) => {
|
|
96
|
-
if (!document || !document.documentElement) {
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
if (!isTestEnv()) {
|
|
100
|
-
console.group('UIKIT');
|
|
101
|
-
console.log(`Init document bootstrapping for ${document.location.href}`);
|
|
102
|
-
}
|
|
103
|
-
experimentalLoadUikitCSS();
|
|
104
|
-
const html = document.documentElement;
|
|
105
|
-
if (!window.CSS || !window.CSS.supports || !window.CSS.supports('gap: 1px')) {
|
|
106
|
-
html.classList.add('css-no-gap');
|
|
107
|
-
}
|
|
108
|
-
if ((0, deviceUtils_1.inIframe)()) {
|
|
109
|
-
html.classList.add('window-iframe');
|
|
110
|
-
}
|
|
111
|
-
if (!isTestEnv()) {
|
|
112
|
-
(0, colorScheme_1.getColorScheme)();
|
|
113
|
-
(0, colorScheme_1.listenForSchemeChange)();
|
|
114
|
-
printPoweredByRIO();
|
|
115
|
-
checkForReleaseVersion();
|
|
116
|
-
checkMatchingUkitVersions();
|
|
117
|
-
console.groupEnd();
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
exports.initDocumentBootstrapping = initDocumentBootstrapping;
|
|
121
|
-
exports.autoInitDocumentBootstrapping = (document => (0, exports.initDocumentBootstrapping)(document))(document);
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.logPropError = exports.BASE_URL = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const has_1 = tslib_1.__importDefault(require("lodash/fp/has"));
|
|
6
|
-
exports.BASE_URL = 'https://uikit.developers.rio.cloud/';
|
|
7
|
-
// Logs prop errors.
|
|
8
|
-
const logPropError = (errorProps = [], props, componentName, removeVersion, additionalText) => {
|
|
9
|
-
errorProps.forEach(errorProp => {
|
|
10
|
-
// Check whether the deprected prop is used by checking the component props
|
|
11
|
-
if ((0, has_1.default)(errorProp.prop, props)) {
|
|
12
|
-
/* eslint-disable no-console */
|
|
13
|
-
console.error([
|
|
14
|
-
'RIO UIKIT: ',
|
|
15
|
-
errorProp.propCaption ? errorProp.propCaption : 'Prop ',
|
|
16
|
-
`"${errorProp.prop}"`,
|
|
17
|
-
componentName ? ` of "${componentName}"` : '',
|
|
18
|
-
' has been removed',
|
|
19
|
-
removeVersion ? ` in v${removeVersion}` : '',
|
|
20
|
-
errorProp.replacement ? `. Please use "${errorProp.replacement}" instead` : '',
|
|
21
|
-
errorProp.url ? ` as documented in ${exports.BASE_URL}${errorProp.url}. ` : '.',
|
|
22
|
-
additionalText ? ` ${additionalText}` : '',
|
|
23
|
-
].join(''));
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
exports.logPropError = logPropError;
|
|
28
|
-
exports.default = exports.logPropError;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function _default(componentOrElement: any): any;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
/*
|
|
5
|
-
* FROM https://github.com/react-bootstrap/react-overlays/blob/master/src/utils/ownerDocument.js
|
|
6
|
-
*/
|
|
7
|
-
const react_dom_1 = tslib_1.__importDefault(require("react-dom"));
|
|
8
|
-
const ownerDocument_1 = tslib_1.__importDefault(require("dom-helpers/ownerDocument"));
|
|
9
|
-
function default_1(componentOrElement) {
|
|
10
|
-
return componentOrElement && (0, ownerDocument_1.default)(react_dom_1.default.findDOMNode(componentOrElement));
|
|
11
|
-
}
|
|
12
|
-
exports.default = default_1;
|
package/mapIndex.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { default as _Marker } from './components/map/components/features/basics/Marker';
|
|
2
|
-
import { default as _Map } from './components/map/components/Map';
|
|
3
|
-
import { default as _TextMarker } from './components/map/components/features/basics/TextMarker';
|
|
4
|
-
import { default as _MapLayerGroup } from './components/map/components/features/layers/MapLayerGroup';
|
|
5
|
-
import { default as _Polygon } from './components/map/components/features/basics/Polygon';
|
|
6
|
-
import { default as _Polyline } from './components/map/components/features/basics/Polyline';
|
|
7
|
-
import { default as _Route } from './components/map/components/features/Route';
|
|
8
|
-
import { default as _ClusterLayer } from './components/map/components/features/layers/clustering/ClusterLayer';
|
|
9
|
-
import { default as _SimpleClusterLayer } from './components/map/components/features/layers/clustering/SimpleClusterLayer';
|
|
10
|
-
import { default as _MarkerLayer } from './components/map/components/features/layers/MarkerLayer';
|
|
11
|
-
import { default as _TrafficLayer } from './components/map/components/features/layers/overlayLayers/TrafficLayer';
|
|
12
|
-
import { default as _TruckLayer } from './components/map/components/features/layers/overlayLayers/RoadRestrictionLayer';
|
|
13
|
-
import { default as _IncidentsLayer } from './components/map/components/features/layers/overlayLayers/IncidentsLayer';
|
|
14
|
-
import { default as _Circle } from './components/map/components/features/basics/Circle';
|
|
15
|
-
import { default as _MapSettings } from './components/map/components/features/MapSettings';
|
|
16
|
-
import { default as _MapSettingsPanel } from './components/map/components/features/settings/MapSettingsPanel';
|
|
17
|
-
import { default as _MapSettingsTile } from './components/map/components/features/settings/MapSettingsTile';
|
|
18
|
-
import { default as _MapClusterSettings } from './components/map/components/features/settings/builtinSettings/MapClusterSettings';
|
|
19
|
-
import { default as _MapLayerSettings } from './components/map/components/features/settings/builtinSettings/MapLayerSettings';
|
|
20
|
-
import { default as _MapTypeSettings } from './components/map/components/features/settings/builtinSettings/MapTypeSettings';
|
|
21
|
-
import { default as _MapSettingsItem } from './components/map/components/features/settings/MapSettingsItem';
|
|
22
|
-
import { default as _MapCustomerPoiSettingsItem } from './components/map/components/features/settings/items/MapCustomerPoiSettingsItem';
|
|
23
|
-
import { default as _MapWorkshopPoiSettingsItem } from './components/map/components/features/settings/items/MapWorkshopPoiSettingsItem';
|
|
24
|
-
import { default as _MapLayerIncidentsItem } from './components/map/components/features/settings/items/MapLayerIncidentsItem';
|
|
25
|
-
import { default as _MapLayerRoadRestrictionsItem } from './components/map/components/features/settings/items/MapLayerRoadRestrictionsItem';
|
|
26
|
-
import { default as _MapLayerTrafficItem } from './components/map/components/features/settings/items/MapLayerTrafficItem';
|
|
27
|
-
import { default as _MapBoundingBoxButton } from './components/map/components/features/settings/buttons/MapBoundingBoxButton';
|
|
28
|
-
import { default as _MapCenterMarkerButton } from './components/map/components/features/settings/buttons/MapCenterMarkerButton';
|
|
29
|
-
import { default as _MapLockMarkerButton } from './components/map/components/features/settings/buttons/MapLockMarkerButton';
|
|
30
|
-
import { default as _ContextMenu } from './components/map/components/features/ContextMenu';
|
|
31
|
-
import { default as _ContextMenuItem } from './components/map/components/features/ContextMenuItem';
|
|
32
|
-
import { EventUtils as _EventUtils } from './components/map/utils/eventHandling';
|
|
33
|
-
import { ClusterUtils as _ClusterUtils } from './components/map/utils/clustering';
|
|
34
|
-
export { _Marker as Marker, _Map as Map, _TextMarker as TextMarker, _MapLayerGroup as MapLayerGroup, _Polygon as Polygon, _Circle as Circle, _Polyline as Polyline, _Route as Route, _ClusterLayer as ClusterLayer, _SimpleClusterLayer as SimpleClusterLayer, _MarkerLayer as MarkerLayer, _EventUtils as EventUtils, _ClusterUtils as ClusterUtils, _TrafficLayer as TrafficLayer, _TruckLayer as TruckLayer, _IncidentsLayer as IncidentsLayer, _MapSettings as MapSettings, _MapSettingsPanel as MapSettingsPanel, _MapSettingsTile as MapSettingsTile, _MapSettingsItem as MapSettingsItem, _MapClusterSettings as MapClusterSettings, _MapLayerSettings as MapLayerSettings, _MapTypeSettings as MapTypeSettings, _MapCustomerPoiSettingsItem as MapCustomerPoiSettingsItem, _MapWorkshopPoiSettingsItem as MapWorkshopPoiSettingsItem, _MapLayerIncidentsItem as MapLayerIncidentsItem, _MapLayerRoadRestrictionsItem as MapLayerRoadRestrictionsItem, _MapLayerTrafficItem as MapLayerTrafficItem, _MapBoundingBoxButton as MapBoundingBoxButton, _MapCenterMarkerButton as MapCenterMarkerButton, _MapLockMarkerButton as MapLockMarkerButton, _ContextMenu as ContextMenu, _ContextMenuItem as ContextMenuItem, };
|
|
35
|
-
export { default as SingleMapMarker } from './components/mapMarker/SingleMapMarker';
|
|
36
|
-
export * from './components/mapMarker/SingleMapMarker';
|
|
37
|
-
export { default as ClusterMapMarker } from './components/mapMarker/ClusterMapMarker';
|
|
38
|
-
export * from './components/mapMarker/ClusterMapMarker';
|
package/mapIndex.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/* eslint-disable max-len */
|
|
2
|
-
import { default as _Marker } from './components/map/components/features/basics/Marker';
|
|
3
|
-
import { default as _Map } from './components/map/components/Map';
|
|
4
|
-
import { default as _TextMarker } from './components/map/components/features/basics/TextMarker';
|
|
5
|
-
import { default as _MapLayerGroup } from './components/map/components/features/layers/MapLayerGroup';
|
|
6
|
-
import { default as _Polygon } from './components/map/components/features/basics/Polygon';
|
|
7
|
-
import { default as _Polyline } from './components/map/components/features/basics/Polyline';
|
|
8
|
-
import { default as _Route } from './components/map/components/features/Route';
|
|
9
|
-
import { default as _ClusterLayer } from './components/map/components/features/layers/clustering/ClusterLayer';
|
|
10
|
-
import { default as _SimpleClusterLayer } from './components/map/components/features/layers/clustering/SimpleClusterLayer';
|
|
11
|
-
import { default as _MarkerLayer } from './components/map/components/features/layers/MarkerLayer';
|
|
12
|
-
import { default as _TrafficLayer } from './components/map/components/features/layers/overlayLayers/TrafficLayer';
|
|
13
|
-
import { default as _TruckLayer } from './components/map/components/features/layers/overlayLayers/RoadRestrictionLayer';
|
|
14
|
-
import { default as _IncidentsLayer } from './components/map/components/features/layers/overlayLayers/IncidentsLayer';
|
|
15
|
-
import { default as _Circle } from './components/map/components/features/basics/Circle';
|
|
16
|
-
import { default as _MapSettings } from './components/map/components/features/MapSettings';
|
|
17
|
-
import { default as _MapSettingsPanel } from './components/map/components/features/settings/MapSettingsPanel';
|
|
18
|
-
import { default as _MapSettingsTile } from './components/map/components/features/settings/MapSettingsTile';
|
|
19
|
-
import { default as _MapClusterSettings } from './components/map/components/features/settings/builtinSettings/MapClusterSettings';
|
|
20
|
-
import { default as _MapLayerSettings } from './components/map/components/features/settings/builtinSettings/MapLayerSettings';
|
|
21
|
-
import { default as _MapTypeSettings } from './components/map/components/features/settings/builtinSettings/MapTypeSettings';
|
|
22
|
-
import { default as _MapSettingsItem } from './components/map/components/features/settings/MapSettingsItem';
|
|
23
|
-
import { default as _MapCustomerPoiSettingsItem } from './components/map/components/features/settings/items/MapCustomerPoiSettingsItem';
|
|
24
|
-
import { default as _MapWorkshopPoiSettingsItem } from './components/map/components/features/settings/items/MapWorkshopPoiSettingsItem';
|
|
25
|
-
import { default as _MapLayerIncidentsItem } from './components/map/components/features/settings/items/MapLayerIncidentsItem';
|
|
26
|
-
import { default as _MapLayerRoadRestrictionsItem } from './components/map/components/features/settings/items/MapLayerRoadRestrictionsItem';
|
|
27
|
-
import { default as _MapLayerTrafficItem } from './components/map/components/features/settings/items/MapLayerTrafficItem';
|
|
28
|
-
import { default as _MapBoundingBoxButton } from './components/map/components/features/settings/buttons/MapBoundingBoxButton';
|
|
29
|
-
import { default as _MapCenterMarkerButton } from './components/map/components/features/settings/buttons/MapCenterMarkerButton';
|
|
30
|
-
import { default as _MapLockMarkerButton } from './components/map/components/features/settings/buttons/MapLockMarkerButton';
|
|
31
|
-
import { default as _ContextMenu } from './components/map/components/features/ContextMenu';
|
|
32
|
-
import { default as _ContextMenuItem } from './components/map/components/features/ContextMenuItem';
|
|
33
|
-
import { EventUtils as _EventUtils } from './components/map/utils/eventHandling';
|
|
34
|
-
import { ClusterUtils as _ClusterUtils } from './components/map/utils/clustering';
|
|
35
|
-
// import { PositionUtils as _PositionUtils } from './components/map/utils/positions';
|
|
36
|
-
export { _Marker as Marker, _Map as Map, _TextMarker as TextMarker, _MapLayerGroup as MapLayerGroup, _Polygon as Polygon, _Circle as Circle, _Polyline as Polyline, _Route as Route, _ClusterLayer as ClusterLayer, _SimpleClusterLayer as SimpleClusterLayer, _MarkerLayer as MarkerLayer, _EventUtils as EventUtils, _ClusterUtils as ClusterUtils,
|
|
37
|
-
// _PositionUtils as PositionUtils,
|
|
38
|
-
_TrafficLayer as TrafficLayer, _TruckLayer as TruckLayer, _IncidentsLayer as IncidentsLayer, _MapSettings as MapSettings, _MapSettingsPanel as MapSettingsPanel, _MapSettingsTile as MapSettingsTile, _MapSettingsItem as MapSettingsItem, _MapClusterSettings as MapClusterSettings, _MapLayerSettings as MapLayerSettings, _MapTypeSettings as MapTypeSettings, _MapCustomerPoiSettingsItem as MapCustomerPoiSettingsItem, _MapWorkshopPoiSettingsItem as MapWorkshopPoiSettingsItem, _MapLayerIncidentsItem as MapLayerIncidentsItem, _MapLayerRoadRestrictionsItem as MapLayerRoadRestrictionsItem, _MapLayerTrafficItem as MapLayerTrafficItem, _MapBoundingBoxButton as MapBoundingBoxButton, _MapCenterMarkerButton as MapCenterMarkerButton, _MapLockMarkerButton as MapLockMarkerButton, _ContextMenu as ContextMenu, _ContextMenuItem as ContextMenuItem, };
|
|
39
|
-
export { default as SingleMapMarker } from './components/mapMarker/SingleMapMarker';
|
|
40
|
-
export * from './components/mapMarker/SingleMapMarker';
|
|
41
|
-
export { default as ClusterMapMarker } from './components/mapMarker/ClusterMapMarker';
|
|
42
|
-
export * from './components/mapMarker/ClusterMapMarker';
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"always-color-white": "#ffffff",
|
|
3
|
-
"always-color-black": "#000000",
|
|
4
|
-
"color-white": "#ffffff",
|
|
5
|
-
"color-black": "#000000",
|
|
6
|
-
"gray-darkest": "#2a3740",
|
|
7
|
-
"gray-darker": "#4C5667",
|
|
8
|
-
"gray-dark": "#697A8B",
|
|
9
|
-
"gray": "#A7AFBB",
|
|
10
|
-
"gray-light": "#D0D8DE",
|
|
11
|
-
"gray-lighter": "#E5EBF0",
|
|
12
|
-
"gray-lightest": "#f6f8f9",
|
|
13
|
-
"gray-decent": "#fdfdfd",
|
|
14
|
-
"brand-primary": "#30b4c0",
|
|
15
|
-
"brand-secondary": "#b23672",
|
|
16
|
-
"brand-primary-decent": "#f4fbfc",
|
|
17
|
-
"brand-secondary-decent": "#fbf5f8",
|
|
18
|
-
"brand-info": "#4B80A6",
|
|
19
|
-
"brand-success": "#5cb85c",
|
|
20
|
-
"brand-warning": "#ff8e3c",
|
|
21
|
-
"brand-danger": "#d90000",
|
|
22
|
-
"brand-info-decent": "#f5f8fb",
|
|
23
|
-
"brand-success-decent": "#f6fbf5",
|
|
24
|
-
"brand-warning-decent": "#fdf5f0",
|
|
25
|
-
"brand-danger-decent": "#fdf3f3",
|
|
26
|
-
"color-code": "#f3f3f4",
|
|
27
|
-
"color-status-available": "#239b7d",
|
|
28
|
-
"color-status-driving": "#3690ae",
|
|
29
|
-
"color-status-resting": "#626b72",
|
|
30
|
-
"color-status-working": "#94488b",
|
|
31
|
-
"color-map-marker-active": "#ffffff",
|
|
32
|
-
"color-map-marker-asset": "#2a3740",
|
|
33
|
-
"color-map-marker-poi": "#b23672",
|
|
34
|
-
"color-map-marker-geofence": "#5a4876",
|
|
35
|
-
"color-map-marker-route": "#3690ae",
|
|
36
|
-
"color-map-marker-text": "#ffffff",
|
|
37
|
-
"color-map-marker-active-night": "#ededed",
|
|
38
|
-
"color-map-marker-asset-night": "#6e757a",
|
|
39
|
-
"color-map-marker-poi-night": "#b23672",
|
|
40
|
-
"color-map-marker-geofence-night": "#79619f",
|
|
41
|
-
"color-map-marker-route-night": "#3b9fc1",
|
|
42
|
-
"color-map-marker-text-night": "#ededed",
|
|
43
|
-
"color-rating-1": "#d90000",
|
|
44
|
-
"color-rating-2": "#ff8e3c",
|
|
45
|
-
"color-rating-3": "#f8c575",
|
|
46
|
-
"color-rating-4": "#5cb85c",
|
|
47
|
-
"color-rating-5": "#4b924c",
|
|
48
|
-
"color-highlight-darkest": "#154b56",
|
|
49
|
-
"color-highlight-darker": "#206e7e",
|
|
50
|
-
"color-highlight-dark": "#268897",
|
|
51
|
-
"color-highlight": "#30b4c0",
|
|
52
|
-
"color-highlight-light": "#8ddbe3",
|
|
53
|
-
"color-highlight-lighter": "#cef0f3",
|
|
54
|
-
"color-highlight-lightest": "#ebf9fa",
|
|
55
|
-
"color-highlight-decent": "#f3fbfc",
|
|
56
|
-
"color-coldplay-wine": "#520D4E",
|
|
57
|
-
"color-coldplay-aubergine": "#5a4876",
|
|
58
|
-
"color-coldplay-kashmir": "#536E8B",
|
|
59
|
-
"color-coldplay-fountain": "#67abc5",
|
|
60
|
-
"color-coldplay-turquoise": "#4ECCC1",
|
|
61
|
-
"color-coldplay-bermuda": "#79D4B3",
|
|
62
|
-
"color-coldplay-moos": "#A1DAA3",
|
|
63
|
-
"color-coldplay-primrose": "#C7E291",
|
|
64
|
-
"color-coldplay-khaki": "#F0EB83",
|
|
65
|
-
"color-warmup-crimson": "#31144F",
|
|
66
|
-
"color-warmup-victoria": "#493D6D",
|
|
67
|
-
"color-warmup-cadillac": "#7E3E72",
|
|
68
|
-
"color-warmup-raspberry": "#B23672",
|
|
69
|
-
"color-warmup-cerise": "#E72472",
|
|
70
|
-
"color-warmup-charm": "#C9778D",
|
|
71
|
-
"color-warmup-salmon": "#F19588",
|
|
72
|
-
"color-warmup-cherokee": "#F5BB89",
|
|
73
|
-
"color-warmup-corn": "#FDE082"
|
|
74
|
-
}
|