@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/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/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function getNewGroupedSelected(selected: any, selectedOld: any, compactData: any, openRows: any, extendedData: any, keyField: any, groupHeadKeyField: any): any;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import isEmpty from 'lodash/fp/isEmpty';
|
|
2
|
-
import isEqual from 'lodash/fp/isEqual';
|
|
3
|
-
import findIndex from 'lodash/fp/findIndex';
|
|
4
|
-
const getIndexOfCompareItem = (array, compareItem) => {
|
|
5
|
-
return findIndex(item => isEqual(item, compareItem))(array);
|
|
6
|
-
};
|
|
7
|
-
const getSelectedArrays = selected => {
|
|
8
|
-
const selectedArrays = [];
|
|
9
|
-
selected.forEach(item => {
|
|
10
|
-
if (Array.isArray(item)) {
|
|
11
|
-
selectedArrays.push(item);
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
return selectedArrays;
|
|
15
|
-
};
|
|
16
|
-
const getShownIds = (compactData, openRows, extendedData, keyField, groupHeadKeyField) => {
|
|
17
|
-
const shownIds = [];
|
|
18
|
-
compactData.forEach(item => {
|
|
19
|
-
const entityReference = item[groupHeadKeyField];
|
|
20
|
-
if (getIndexOfCompareItem(openRows, entityReference) !== -1) {
|
|
21
|
-
extendedData[entityReference].forEach(extendedItem => {
|
|
22
|
-
shownIds.push(extendedItem[keyField]);
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
shownIds.push(item[keyField]);
|
|
26
|
-
});
|
|
27
|
-
return shownIds;
|
|
28
|
-
};
|
|
29
|
-
const getDeSelectedItems = (selected, selectedOld, compactData, openRows, extendedData, keyField, groupHeadKeyField) => {
|
|
30
|
-
const deSelectedIds = selectedOld.filter(item => getIndexOfCompareItem(selected, item) === -1);
|
|
31
|
-
const fullDeSelected = [];
|
|
32
|
-
const selectedArrays = getSelectedArrays(selected);
|
|
33
|
-
const shownIds = getShownIds(compactData, openRows, extendedData, keyField, groupHeadKeyField);
|
|
34
|
-
deSelectedIds.forEach(id => {
|
|
35
|
-
if (Array.isArray(id)) {
|
|
36
|
-
id.forEach(oneId => fullDeSelected.push(oneId));
|
|
37
|
-
fullDeSelected.push(id);
|
|
38
|
-
}
|
|
39
|
-
else if (shownIds.indexOf(id) !== -1) {
|
|
40
|
-
selectedArrays.forEach(array => {
|
|
41
|
-
if (array.indexOf(id) !== -1) {
|
|
42
|
-
fullDeSelected.push(array);
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
fullDeSelected.push(id);
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
return fullDeSelected;
|
|
49
|
-
};
|
|
50
|
-
const getCompactArrays = (compactData, keyField) => {
|
|
51
|
-
return compactData.map(item => item[keyField]);
|
|
52
|
-
};
|
|
53
|
-
export const getNewGroupedSelected = (selected, selectedOld, compactData, openRows, extendedData, keyField, groupHeadKeyField) => {
|
|
54
|
-
if (isEmpty(selected)) {
|
|
55
|
-
return selected;
|
|
56
|
-
}
|
|
57
|
-
const fullSelected = [];
|
|
58
|
-
const deSelected = getDeSelectedItems(selected, selectedOld, compactData, extendedData, openRows, keyField, groupHeadKeyField);
|
|
59
|
-
selected.forEach(item => {
|
|
60
|
-
if (getIndexOfCompareItem(deSelected, item) === -1 && getIndexOfCompareItem(fullSelected, item) === -1) {
|
|
61
|
-
if (Array.isArray(item)) {
|
|
62
|
-
item.forEach(id => {
|
|
63
|
-
if (fullSelected.indexOf(id) === -1) {
|
|
64
|
-
fullSelected.push(id);
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
fullSelected.push(item);
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
if (isEmpty(deSelected)) {
|
|
72
|
-
getCompactArrays(compactData, keyField).forEach(fileIds => {
|
|
73
|
-
if (!fileIds.some(id => fullSelected.indexOf(id) === -1) &&
|
|
74
|
-
getIndexOfCompareItem(fullSelected, fileIds) === -1) {
|
|
75
|
-
fullSelected.push(fileIds);
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
return fullSelected;
|
|
80
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* FROM: https://github.com/react-bootstrap/react-overlays/blob/master/src/utils/addEventListener.js
|
|
3
|
-
*/
|
|
4
|
-
import addEventListener from 'dom-helpers/addEventListener';
|
|
5
|
-
import removeEventListener from 'dom-helpers/removeEventListener';
|
|
6
|
-
export default function (node, event, handler, capture) {
|
|
7
|
-
addEventListener(node, event, handler, capture);
|
|
8
|
-
return {
|
|
9
|
-
remove() {
|
|
10
|
-
removeEventListener(node, event, handler, capture);
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* FROM: https://github.com/react-bootstrap/react-overlays/blob/master/src/utils/addFocusListener.js
|
|
3
|
-
*
|
|
4
|
-
* Firefox doesn't have a focusin event so using capture is easiest way to get bubbling
|
|
5
|
-
* IE8 can't do addEventListener, but does have onfocusin, so we use that in ie8
|
|
6
|
-
*
|
|
7
|
-
* We only allow one Listener at a time to avoid stack overflows
|
|
8
|
-
*/
|
|
9
|
-
export default function addFocusListener(handler) {
|
|
10
|
-
const useFocusin = !document.addEventListener;
|
|
11
|
-
let remove;
|
|
12
|
-
if (useFocusin) {
|
|
13
|
-
document.attachEvent('onfocusin', handler);
|
|
14
|
-
remove = () => document.detachEvent('onfocusin', handler);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
document.addEventListener('focus', handler, true);
|
|
18
|
-
remove = () => document.removeEventListener('focus', handler, true);
|
|
19
|
-
}
|
|
20
|
-
return { remove };
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function getOffsetTopWholeScreen(currentTarget: any): any;
|
package/utils/init.d.ts
DELETED
package/utils/init.js
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import 'lodash/fp/throttle';
|
|
3
|
-
import process from 'process';
|
|
4
|
-
import { inIframe } from './deviceUtils';
|
|
5
|
-
import { getColorScheme, listenForSchemeChange } from './colorScheme';
|
|
6
|
-
import versionJson from '../version.json';
|
|
7
|
-
const uikitVersion = versionJson.version;
|
|
8
|
-
// Note: using import.meta.env.DEV does not work here due to backward compatibility with webpack and jest setups
|
|
9
|
-
const isProdEnv = () => process.env.NODE_ENV === 'production' || location.protocol.startsWith('https');
|
|
10
|
-
const isTestEnv = () => process.env.NODE_ENV === 'test';
|
|
11
|
-
const isLocalhost = () => { var _a; return ((_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.hostname) === 'localhost'; };
|
|
12
|
-
const debug = (message) => !isTestEnv() && console.debug(message);
|
|
13
|
-
const log = (message) => !isTestEnv() && console.log(message);
|
|
14
|
-
const logStyled = (message) => console.log('%c%s', 'color: #697a8b;', message);
|
|
15
|
-
const printPoweredByRIO = () => {
|
|
16
|
-
logStyled('- - - - - - - - - - - - - - - - - -');
|
|
17
|
-
const message = [`RIO UIKIT Version ${uikitVersion}\nhttps://uikit.developers.rio.cloud`];
|
|
18
|
-
if (isProdEnv() && !inIframe()) {
|
|
19
|
-
message.push('\n\n You are a Developer? RIO is hiring! | https://rio.cloud/en/career');
|
|
20
|
-
}
|
|
21
|
-
logStyled(message.join(''));
|
|
22
|
-
logStyled('- - - - - - - - - - - - - - - - - -');
|
|
23
|
-
};
|
|
24
|
-
const checkForReleaseVersion = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
25
|
-
if (!isProdEnv()) {
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
const remoteVersionsListUrl = 'https://uikit.developers.rio.cloud/versionsList.json';
|
|
29
|
-
try {
|
|
30
|
-
const response = yield fetch(remoteVersionsListUrl, { method: 'get' });
|
|
31
|
-
// console.log(response);
|
|
32
|
-
const data = yield response.json();
|
|
33
|
-
if (data.latest_release !== uikitVersion) {
|
|
34
|
-
console.log(`🆕 UIKIT version ${data.latest_release} is the latest released version! Your are using ${uikitVersion}`);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
catch (error) {
|
|
38
|
-
// console.warn(error);
|
|
39
|
-
console.warn(`Failed to fetch versionsList from ${remoteVersionsListUrl}`);
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
const checkMatchingUkitVersions = () => {
|
|
43
|
-
const cssLinks = [...document.querySelectorAll('link[rel="stylesheet"]')];
|
|
44
|
-
cssLinks.forEach(cssLink => {
|
|
45
|
-
const { href } = cssLink;
|
|
46
|
-
if (href.includes('uikit.developers.rio.cloud')) {
|
|
47
|
-
const [, uikitVersionCSS] = new URL(href).pathname.split('/');
|
|
48
|
-
if (!href.includes(uikitVersion)) {
|
|
49
|
-
console.warn([
|
|
50
|
-
'You are using different UIKIT JS and CSS versions.\n',
|
|
51
|
-
`Your current JS version is ${uikitVersion} and `,
|
|
52
|
-
`your current CSS version is ${uikitVersionCSS}.\n`,
|
|
53
|
-
'If this is not on purpose, please fix it. Otherwise, this may lead to UI bugs.',
|
|
54
|
-
].join(''));
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
else if (href.includes('cdn.rio.cloud/libs/rio-uikit')) {
|
|
58
|
-
console.error('You are still using an old "cdn.rio.cloud" css import. This will lead to mayor UI bugs!');
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
};
|
|
62
|
-
const experimentalLoadUikitCSS = () => {
|
|
63
|
-
var _a;
|
|
64
|
-
if ((_a = document.title) === null || _a === void 0 ? void 0 : _a.includes('UIKIT Demo')) {
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
// check for existing uikit CSS in document head
|
|
68
|
-
debug('Check for UIKIT CSS in document head');
|
|
69
|
-
const hasUikitCssLink = !!document.head.querySelector('link[href*="rio-uikit.css"]') ||
|
|
70
|
-
!!document.head.querySelector('link[href*="rio-uikit-core.css"]');
|
|
71
|
-
const isUikitDemoPage = !!document.head.querySelector('style[data-vite-dev-id*="uikit.less"]');
|
|
72
|
-
const hasUikitThemeCssLink = !!document.head.querySelector('link[href*="man-uikit.css"]') ||
|
|
73
|
-
!!document.head.querySelector('link[href*="vw-uikit.css"]') ||
|
|
74
|
-
!!document.head.querySelector('link[href*="scania-uikit.css"]') ||
|
|
75
|
-
!!document.head.querySelector('link[href*="traton-uikit.css"]') ||
|
|
76
|
-
!!document.head.querySelector('link[href*="rio-website.css"]');
|
|
77
|
-
if (hasUikitCssLink || isUikitDemoPage || hasUikitThemeCssLink) {
|
|
78
|
-
debug('Existing UIKIT CSS found in document head');
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
|
-
// If nothing is set, add a link tag to fetch the CSS from the UIKIT CDN.
|
|
82
|
-
// Note: there is no way to differentiate between core + responsive or full CSS
|
|
83
|
-
debug('No UIKIT CSS found. Add link tag to document head');
|
|
84
|
-
const link = document.createElement('link');
|
|
85
|
-
link.rel = 'stylesheet';
|
|
86
|
-
link.type = 'text/css';
|
|
87
|
-
link.href = `https://uikit.developers.rio.cloud/${uikitVersion}/rio-uikit.css`;
|
|
88
|
-
link.onload = () => console.debug(`Loaded CSS link ${link.href}`);
|
|
89
|
-
link.onerror = () => console.error(`Failed to load ${link.href}`);
|
|
90
|
-
document.head.appendChild(link);
|
|
91
|
-
};
|
|
92
|
-
export const initDocumentBootstrapping = (document) => {
|
|
93
|
-
if (!document || !document.documentElement) {
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
if (!isTestEnv()) {
|
|
97
|
-
console.group('UIKIT');
|
|
98
|
-
console.log(`Init document bootstrapping for ${document.location.href}`);
|
|
99
|
-
}
|
|
100
|
-
experimentalLoadUikitCSS();
|
|
101
|
-
const html = document.documentElement;
|
|
102
|
-
if (!window.CSS || !window.CSS.supports || !window.CSS.supports('gap: 1px')) {
|
|
103
|
-
html.classList.add('css-no-gap');
|
|
104
|
-
}
|
|
105
|
-
if (inIframe()) {
|
|
106
|
-
html.classList.add('window-iframe');
|
|
107
|
-
}
|
|
108
|
-
if (!isTestEnv()) {
|
|
109
|
-
getColorScheme();
|
|
110
|
-
listenForSchemeChange();
|
|
111
|
-
printPoweredByRIO();
|
|
112
|
-
checkForReleaseVersion();
|
|
113
|
-
checkMatchingUkitVersions();
|
|
114
|
-
console.groupEnd();
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
export const autoInitDocumentBootstrapping = (document => initDocumentBootstrapping(document))(document);
|
package/utils/logPropError.d.ts
DELETED
package/utils/logPropError.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import has from 'lodash/fp/has';
|
|
2
|
-
export const BASE_URL = 'https://uikit.developers.rio.cloud/';
|
|
3
|
-
// Logs prop errors.
|
|
4
|
-
export const logPropError = (errorProps = [], props, componentName, removeVersion, additionalText) => {
|
|
5
|
-
errorProps.forEach(errorProp => {
|
|
6
|
-
// Check whether the deprected prop is used by checking the component props
|
|
7
|
-
if (has(errorProp.prop, props)) {
|
|
8
|
-
/* eslint-disable no-console */
|
|
9
|
-
console.error([
|
|
10
|
-
'RIO UIKIT: ',
|
|
11
|
-
errorProp.propCaption ? errorProp.propCaption : 'Prop ',
|
|
12
|
-
`"${errorProp.prop}"`,
|
|
13
|
-
componentName ? ` of "${componentName}"` : '',
|
|
14
|
-
' has been removed',
|
|
15
|
-
removeVersion ? ` in v${removeVersion}` : '',
|
|
16
|
-
errorProp.replacement ? `. Please use "${errorProp.replacement}" instead` : '',
|
|
17
|
-
errorProp.url ? ` as documented in ${BASE_URL}${errorProp.url}. ` : '.',
|
|
18
|
-
additionalText ? ` ${additionalText}` : '',
|
|
19
|
-
].join(''));
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
export default logPropError;
|
package/utils/ownerDocument.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function _default(componentOrElement: any): any;
|
package/utils/ownerDocument.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* FROM https://github.com/react-bootstrap/react-overlays/blob/master/src/utils/ownerDocument.js
|
|
3
|
-
*/
|
|
4
|
-
import ReactDOM from 'react-dom';
|
|
5
|
-
import ownerDocument from 'dom-helpers/ownerDocument';
|
|
6
|
-
export default function (componentOrElement) {
|
|
7
|
-
return componentOrElement && ownerDocument(ReactDOM.findDOMNode(componentOrElement));
|
|
8
|
-
}
|