@rio-cloud/rio-uikit 0.16.4-beta.34 → 0.16.4-beta.35
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/ClusterUtils.d.ts +1 -5
- package/ClusterUtils.js +1 -2
- package/DateRangePicker.d.ts +43 -4
- package/DateRangePicker.js +7 -1
- package/InfoBubble.d.ts +2 -0
- package/InfoBubble.js +2 -0
- package/PositionUtils.d.ts +1 -8
- package/PositionUtils.js +1 -2
- package/SortUtils.d.ts +2 -16
- package/SortUtils.js +2 -2
- package/TableSettingsDialog.d.ts +2 -5
- package/TableSettingsDialog.js +2 -2
- package/TableToolbar.d.ts +2 -5
- package/TableToolbar.js +2 -2
- package/VolkswagenApplicationHeader.d.ts +2 -2
- package/components/.DS_Store +0 -0
- package/components/actionBarItem/ActionBarItem.js +1 -1
- package/components/actionBarItem/ActionBarItemIcon.d.ts +2 -2
- package/components/actionBarItem/ActionBarItemIcon.js +1 -0
- package/components/actionBarItem/ActionBarItemList.d.ts +3 -6
- package/components/actionBarItem/ActionBarItemList.js +0 -1
- package/components/actionBarItem/ActionBarItemListItem.d.ts +3 -6
- package/components/actionBarItem/ActionBarItemListItem.js +0 -1
- package/components/actionBarItem/ActionBarItemListSeparator.d.ts +3 -5
- package/components/actionBarItem/ActionBarItemListSeparator.js +1 -1
- package/components/actionBarItem/ActionBarItemPopoverContent.d.ts +2 -2
- package/components/actionBarItem/ActionBarItemPopoverContent.js +1 -0
- package/components/animatedNumber/AnimatedNumber.d.ts +40 -3
- package/components/applicationHeader/AppMenuDropdown.js +1 -1
- package/components/assetTree/AssetTree.js +1 -2
- package/components/assetTree/Tree.js +1 -2
- package/components/assetTree/TreeCategory.d.ts +1 -4
- package/components/assetTree/TreeCategory.js +0 -1
- package/components/assetTree/TreeLeaf.js +0 -1
- package/components/assetTree/TreeLeafList.d.ts +1 -4
- package/components/assetTree/TreeLeafList.js +0 -1
- package/components/assetTree/TreeNode.js +0 -1
- package/components/assetTree/TreeNodeContainer.d.ts +1 -4
- package/components/assetTree/TreeNodeContainer.js +0 -1
- package/components/assetTree/TreeNothingFound.js +0 -1
- package/components/assetTree/TreeOption.d.ts +1 -4
- package/components/assetTree/TreeOption.js +0 -1
- package/components/assetTree/TreeOptions.d.ts +1 -4
- package/components/assetTree/TreeOptions.js +0 -1
- package/components/assetTree/TreeRoot.d.ts +1 -4
- package/components/assetTree/TreeRoot.js +0 -1
- package/components/assetTree/TreeSearch.js +0 -1
- package/components/assetTree/TreeSelectAll.d.ts +1 -4
- package/components/assetTree/TreeSelectAll.js +0 -1
- package/components/assetTree/TreeSidebar.js +0 -1
- package/components/assetTree/TreeSidebarCategories.d.ts +1 -4
- package/components/assetTree/TreeSidebarCategories.js +0 -1
- package/components/assetTree/TreeSummary.js +0 -1
- package/components/assetTree/TreeSummaryRow.d.ts +1 -4
- package/components/assetTree/TreeSummaryRow.js +0 -1
- package/components/assetTree/TypeCounter.js +0 -1
- package/components/collapse/Collapse.d.ts +2 -0
- package/components/datepicker/DateRangePicker.d.ts +5 -0
- package/components/datepicker/DateRangePicker.js +13 -9
- package/components/dialog/Dialog.d.ts +1 -1
- package/components/dialog/Dialog.js +6 -2
- package/components/dialog/DialogBody.d.ts +2 -2
- package/components/dialog/DialogFooter.d.ts +2 -2
- package/components/dialog/DialogHeader.d.ts +2 -2
- package/components/dialog/FrameDialog.d.ts +1 -1
- package/components/divider/Divider.d.ts +1 -4
- package/components/divider/Divider.js +0 -1
- package/components/feedback/Feedback.d.ts +2 -0
- package/components/feedback/Feedback.js +5 -0
- package/components/map/.DS_Store +0 -0
- package/components/map/components/.DS_Store +0 -0
- package/components/map/components/Map.js +14 -2
- package/components/map/components/features/ContextMenu.d.ts +3 -1
- package/components/map/components/features/ContextMenu.js +46 -32
- package/components/map/components/features/ContextMenuItem.d.ts +2 -1
- package/components/map/components/features/ContextMenuItem.js +1 -1
- package/components/map/components/features/basics/InfoBubble.d.ts +14 -0
- package/components/map/components/features/basics/InfoBubble.js +46 -0
- package/components/map/components/features/basics/Marker.d.ts +2 -2
- package/components/map/components/features/basics/Marker.js +10 -4
- package/components/map/components/features/basics/TextMarker.js +1 -1
- package/components/map/components/features/layers/clustering/ClusterLayer.js +65 -2
- package/components/map/components/features/layers/overlayLayers/IncidentsLayer.d.ts +4 -0
- package/components/map/components/features/layers/overlayLayers/IncidentsLayer.js +4 -5
- package/components/map/components/features/layers/overlayLayers/TrafficLayer.js +14 -23
- package/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +1 -4
- package/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +0 -1
- package/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +1 -4
- package/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +0 -1
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +1 -4
- package/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +0 -1
- package/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +1 -4
- package/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +0 -1
- package/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +1 -4
- package/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +0 -1
- package/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +1 -4
- package/components/map/components/features/settings/buttons/MapLockMarkerButton.js +0 -1
- package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +1 -4
- package/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +0 -1
- package/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +1 -4
- package/components/map/components/features/settings/items/MapLayerIncidentsItem.js +0 -1
- package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +1 -4
- package/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +0 -1
- package/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +1 -4
- package/components/map/components/features/settings/items/MapLayerTrafficItem.js +0 -1
- package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +1 -4
- package/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +0 -1
- package/components/map/utils/clustering.js +17 -13
- package/components/map/utils/mapTypes.d.ts +2 -0
- package/components/sidebars/Sidebar.js +1 -14
- package/components/table/TableSettingsColumnButtons.d.ts +12 -28
- package/components/table/TableSettingsColumnButtons.js +4 -22
- package/components/table/TableSettingsColumnDetails.d.ts +8 -19
- package/components/table/TableSettingsColumnDetails.js +8 -20
- package/components/table/TableSettingsDialog.d.ts +32 -106
- package/components/table/TableSettingsDialog.js +131 -264
- package/components/table/TableSettingsDialog.types.d.ts +25 -0
- package/components/table/TableSettingsDialog.types.js +1 -0
- package/components/table/TableSettingsDialogFooter.d.ts +17 -43
- package/components/table/TableSettingsDialogFooter.js +6 -33
- package/components/table/TableSettingsListContainer.d.ts +8 -9
- package/components/table/TableSettingsListContainer.js +11 -21
- package/components/table/TableSettingsListItem.d.ts +9 -26
- package/components/table/TableSettingsListItem.js +9 -30
- package/components/table/TableToolbar.d.ts +8 -11
- package/components/table/TableToolbar.js +3 -10
- package/components/table/TableViewToggles.d.ts +3 -3
- package/components/table/TableViewToggles.js +1 -0
- package/index.d.ts +3 -7
- package/index.js +3 -7
- package/lib/.DS_Store +0 -0
- package/lib/es/.DS_Store +0 -0
- package/lib/es/ClusterUtils.d.ts +1 -5
- package/lib/es/ClusterUtils.js +2 -3
- package/lib/es/DateRangePicker.d.ts +43 -4
- package/lib/es/DateRangePicker.js +8 -2
- package/lib/es/InfoBubble.d.ts +2 -0
- package/lib/es/InfoBubble.js +7 -0
- package/lib/es/PositionUtils.d.ts +1 -8
- package/lib/es/PositionUtils.js +2 -3
- package/lib/es/SortUtils.d.ts +2 -16
- package/lib/es/SortUtils.js +5 -4
- package/lib/es/TableSettingsDialog.d.ts +2 -5
- package/lib/es/TableSettingsDialog.js +3 -2
- package/lib/es/TableToolbar.d.ts +2 -5
- package/lib/es/TableToolbar.js +3 -2
- package/lib/es/VolkswagenApplicationHeader.d.ts +2 -2
- package/lib/es/components/.DS_Store +0 -0
- package/lib/es/components/actionBarItem/ActionBarItem.js +1 -1
- package/lib/es/components/actionBarItem/ActionBarItemIcon.d.ts +2 -2
- package/lib/es/components/actionBarItem/ActionBarItemIcon.js +1 -0
- package/lib/es/components/actionBarItem/ActionBarItemList.d.ts +3 -6
- package/lib/es/components/actionBarItem/ActionBarItemList.js +0 -1
- package/lib/es/components/actionBarItem/ActionBarItemListItem.d.ts +3 -6
- package/lib/es/components/actionBarItem/ActionBarItemListItem.js +0 -1
- package/lib/es/components/actionBarItem/ActionBarItemListSeparator.d.ts +3 -5
- package/lib/es/components/actionBarItem/ActionBarItemListSeparator.js +1 -1
- package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.d.ts +2 -2
- package/lib/es/components/actionBarItem/ActionBarItemPopoverContent.js +1 -0
- package/lib/es/components/animatedNumber/AnimatedNumber.d.ts +40 -3
- package/lib/es/components/applicationHeader/AppMenuDropdown.js +1 -1
- package/lib/es/components/assetTree/AssetTree.js +1 -2
- package/lib/es/components/assetTree/Tree.js +1 -2
- package/lib/es/components/assetTree/TreeCategory.d.ts +1 -4
- package/lib/es/components/assetTree/TreeCategory.js +0 -1
- package/lib/es/components/assetTree/TreeLeaf.js +0 -1
- package/lib/es/components/assetTree/TreeLeafList.d.ts +1 -4
- package/lib/es/components/assetTree/TreeLeafList.js +0 -1
- package/lib/es/components/assetTree/TreeNode.js +0 -1
- package/lib/es/components/assetTree/TreeNodeContainer.d.ts +1 -4
- package/lib/es/components/assetTree/TreeNodeContainer.js +0 -1
- package/lib/es/components/assetTree/TreeNothingFound.js +0 -1
- package/lib/es/components/assetTree/TreeOption.d.ts +1 -4
- package/lib/es/components/assetTree/TreeOption.js +0 -1
- package/lib/es/components/assetTree/TreeOptions.d.ts +1 -4
- package/lib/es/components/assetTree/TreeOptions.js +0 -1
- package/lib/es/components/assetTree/TreeRoot.d.ts +1 -4
- package/lib/es/components/assetTree/TreeRoot.js +0 -1
- package/lib/es/components/assetTree/TreeSearch.js +0 -1
- package/lib/es/components/assetTree/TreeSelectAll.d.ts +1 -4
- package/lib/es/components/assetTree/TreeSelectAll.js +0 -1
- package/lib/es/components/assetTree/TreeSidebar.js +0 -1
- package/lib/es/components/assetTree/TreeSidebarCategories.d.ts +1 -4
- package/lib/es/components/assetTree/TreeSidebarCategories.js +0 -1
- package/lib/es/components/assetTree/TreeSummary.js +0 -1
- package/lib/es/components/assetTree/TreeSummaryRow.d.ts +1 -4
- package/lib/es/components/assetTree/TreeSummaryRow.js +0 -1
- package/lib/es/components/assetTree/TypeCounter.js +0 -1
- package/lib/es/components/collapse/Collapse.d.ts +2 -0
- package/lib/es/components/datepicker/DateRangePicker.d.ts +5 -0
- package/lib/es/components/datepicker/DateRangePicker.js +13 -9
- package/lib/es/components/dialog/Dialog.d.ts +1 -1
- package/lib/es/components/dialog/Dialog.js +6 -2
- package/lib/es/components/dialog/DialogBody.d.ts +2 -2
- package/lib/es/components/dialog/DialogFooter.d.ts +2 -2
- package/lib/es/components/dialog/DialogHeader.d.ts +2 -2
- package/lib/es/components/dialog/FrameDialog.d.ts +1 -1
- package/lib/es/components/divider/Divider.d.ts +1 -4
- package/lib/es/components/divider/Divider.js +0 -1
- package/lib/es/components/feedback/Feedback.d.ts +2 -0
- package/lib/es/components/feedback/Feedback.js +7 -0
- package/lib/es/components/map/components/Map.js +14 -2
- package/lib/es/components/map/components/features/ContextMenu.d.ts +3 -1
- package/lib/es/components/map/components/features/ContextMenu.js +49 -32
- package/lib/es/components/map/components/features/ContextMenuItem.d.ts +2 -1
- package/lib/es/components/map/components/features/ContextMenuItem.js +1 -1
- package/lib/es/components/map/components/features/basics/InfoBubble.d.ts +14 -0
- package/lib/es/components/map/components/features/basics/InfoBubble.js +49 -0
- package/lib/es/components/map/components/features/basics/Marker.d.ts +2 -2
- package/lib/es/components/map/components/features/basics/Marker.js +10 -4
- package/lib/es/components/map/components/features/basics/TextMarker.js +1 -1
- package/lib/es/components/map/components/features/layers/clustering/ClusterLayer.js +65 -2
- package/lib/es/components/map/components/features/layers/overlayLayers/IncidentsLayer.d.ts +4 -0
- package/lib/es/components/map/components/features/layers/overlayLayers/IncidentsLayer.js +15 -15
- package/lib/es/components/map/components/features/layers/overlayLayers/TrafficLayer.js +13 -22
- package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.d.ts +1 -4
- package/lib/es/components/map/components/features/settings/builtinSettings/MapClusterSettings.js +0 -1
- package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.d.ts +1 -4
- package/lib/es/components/map/components/features/settings/builtinSettings/MapLayerSettings.js +0 -1
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.d.ts +1 -4
- package/lib/es/components/map/components/features/settings/builtinSettings/MapTypeSettings.js +0 -1
- package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.d.ts +1 -4
- package/lib/es/components/map/components/features/settings/buttons/MapBoundingBoxButton.js +0 -1
- package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.d.ts +1 -4
- package/lib/es/components/map/components/features/settings/buttons/MapCenterMarkerButton.js +0 -1
- package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.d.ts +1 -4
- package/lib/es/components/map/components/features/settings/buttons/MapLockMarkerButton.js +0 -1
- package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.d.ts +1 -4
- package/lib/es/components/map/components/features/settings/items/MapCustomerPoiSettingsItem.js +0 -1
- package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.d.ts +1 -4
- package/lib/es/components/map/components/features/settings/items/MapLayerIncidentsItem.js +0 -1
- package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.d.ts +1 -4
- package/lib/es/components/map/components/features/settings/items/MapLayerRoadRestrictionsItem.js +0 -1
- package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.d.ts +1 -4
- package/lib/es/components/map/components/features/settings/items/MapLayerTrafficItem.js +0 -1
- package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.d.ts +1 -4
- package/lib/es/components/map/components/features/settings/items/MapWorkshopPoiSettingsItem.js +0 -1
- package/lib/es/components/map/utils/clustering.js +17 -13
- package/lib/es/components/map/utils/mapTypes.d.ts +2 -0
- package/lib/es/components/sidebars/Sidebar.js +0 -13
- package/lib/es/components/table/TableSettingsColumnButtons.d.ts +12 -28
- package/lib/es/components/table/TableSettingsColumnButtons.js +4 -22
- package/lib/es/components/table/TableSettingsColumnDetails.d.ts +8 -19
- package/lib/es/components/table/TableSettingsColumnDetails.js +8 -20
- package/lib/es/components/table/TableSettingsDialog.d.ts +32 -106
- package/lib/es/components/table/TableSettingsDialog.js +131 -264
- package/lib/es/components/table/TableSettingsDialog.types.d.ts +25 -0
- package/lib/es/components/table/TableSettingsDialog.types.js +2 -0
- package/lib/es/components/table/TableSettingsDialogFooter.d.ts +17 -43
- package/lib/es/components/table/TableSettingsDialogFooter.js +6 -33
- package/lib/es/components/table/TableSettingsListContainer.d.ts +8 -9
- package/lib/es/components/table/TableSettingsListContainer.js +9 -19
- package/lib/es/components/table/TableSettingsListItem.d.ts +9 -26
- package/lib/es/components/table/TableSettingsListItem.js +9 -30
- package/lib/es/components/table/TableToolbar.d.ts +8 -11
- package/lib/es/components/table/TableToolbar.js +3 -10
- package/lib/es/components/table/TableViewToggles.d.ts +3 -3
- package/lib/es/components/table/TableViewToggles.js +1 -0
- package/lib/es/index.d.ts +3 -7
- package/lib/es/index.js +9 -11
- package/lib/es/mapIndex.d.ts +38 -38
- package/lib/es/mapIndex.js +1 -3
- package/lib/es/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +1 -0
- package/lib/es/utils/SortUtils.d.ts +2 -2
- package/lib/es/utils/init/initCSS.js +2 -1
- package/lib/es/version.json +1 -1
- package/mapIndex.d.ts +38 -38
- package/mapIndex.js +4 -2
- package/package.json +2 -3
- package/themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader.js +1 -0
- package/utils/SortUtils.d.ts +2 -2
- package/utils/init/initCSS.js +2 -1
- package/version.json +1 -1
package/.DS_Store
CHANGED
|
Binary file
|
package/ClusterUtils.d.ts
CHANGED
package/ClusterUtils.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { ClusterUtils as default };
|
|
1
|
+
export * from './components/map/utils/clustering';
|
package/DateRangePicker.d.ts
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import type { Component, JSX, PropsWithChildren, ReactNode } from 'react';
|
|
2
|
+
import type { Moment } from 'moment/moment';
|
|
3
|
+
export interface DateRangePickerCustomPresets {
|
|
4
|
+
startValue: Moment;
|
|
5
|
+
endValue: Moment;
|
|
6
|
+
text: string | JSX.Element;
|
|
7
|
+
onSelect?: Function;
|
|
5
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 | ReactNode;
|
|
19
|
+
textToday?: string | ReactNode;
|
|
20
|
+
textLastWeek?: string | ReactNode;
|
|
21
|
+
textLastMonth?: string | ReactNode;
|
|
22
|
+
textLastYear?: string | ReactNode;
|
|
23
|
+
textCustom?: string | ReactNode;
|
|
24
|
+
textApply?: string | ReactNode;
|
|
25
|
+
textCancel?: string | ReactNode;
|
|
26
|
+
textFrom?: string | ReactNode;
|
|
27
|
+
textTo?: string | 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
|
+
/**
|
|
39
|
+
* Wrapper component for React-Datetime.
|
|
40
|
+
*
|
|
41
|
+
* @deprecated This will be removed from the UIKIT at some time.
|
|
42
|
+
*/
|
|
43
|
+
declare const DateRangePicker: Component<PropsWithChildren<DateRangePickerProps>, {}, any>;
|
|
44
|
+
export { DateRangePicker };
|
package/DateRangePicker.js
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
import { default as _DateRangePicker } from './components/datepicker/DateRangePicker';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Wrapper component for React-Datetime.
|
|
4
|
+
*
|
|
5
|
+
* @deprecated This will be removed from the UIKIT at some time.
|
|
6
|
+
*/
|
|
7
|
+
const DateRangePicker = _DateRangePicker;
|
|
8
|
+
export { DateRangePicker };
|
package/InfoBubble.d.ts
ADDED
package/InfoBubble.js
ADDED
package/PositionUtils.d.ts
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { BoundingBox, Position } from './types';
|
|
3
|
-
|
|
4
|
-
export default class PositionUtils {
|
|
5
|
-
static calculateBoundingBox: (positions: Position[]) => BoundingBox;
|
|
6
|
-
static parsePositionFromString: (value: string) => Position;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
1
|
+
export * from './components/map/utils/positions';
|
package/PositionUtils.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { PositionUtils as default };
|
|
1
|
+
export * from './components/map/utils/positions';
|
package/SortUtils.d.ts
CHANGED
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export function sortByProperty<T>(
|
|
5
|
-
array: Array<T>,
|
|
6
|
-
property: keyof T,
|
|
7
|
-
sortDirection?: SortDirection,
|
|
8
|
-
caseSensitive?: boolean
|
|
9
|
-
): Array<T>;
|
|
10
|
-
export function naturalSortByProperty<T>(
|
|
11
|
-
array: Array<T>,
|
|
12
|
-
property: keyof T,
|
|
13
|
-
sortDirection?: SortDirection,
|
|
14
|
-
caseSensitive?: boolean
|
|
15
|
-
): Array<T>;
|
|
16
|
-
}
|
|
1
|
+
export { default } from './utils/SortUtils';
|
|
2
|
+
export * from './utils/SortUtils';
|
package/SortUtils.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default } from './utils/SortUtils';
|
|
2
|
+
export * from './utils/SortUtils';
|
package/TableSettingsDialog.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { TableSettingsDialogProps } from './types';
|
|
4
|
-
export default class TableSettingsDialog extends React.Component<TableSettingsDialogProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/table/TableSettingsDialog';
|
|
2
|
+
export * from './components/table/TableSettingsDialog';
|
package/TableSettingsDialog.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default } from './components/table/TableSettingsDialog';
|
|
2
|
+
export * from './components/table/TableSettingsDialog';
|
package/TableToolbar.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { TableToolbarProps } from './types';
|
|
4
|
-
export default class TableToolbar extends React.Component<TableToolbarProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/table/TableToolbar';
|
|
2
|
+
export * from './components/table/TableToolbar';
|
package/TableToolbar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default } from './components/table/TableToolbar';
|
|
2
|
+
export * from './components/table/TableToolbar';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from
|
|
1
|
+
export { default } from './themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader';
|
|
2
|
+
export * from './themes/Volkswagen/components/applicationHeader/VolkswagenApplicationHeader';
|
package/components/.DS_Store
CHANGED
|
Binary file
|
|
@@ -94,7 +94,7 @@ const ActionBarItemBase = (props) => {
|
|
|
94
94
|
const childrenWithoutPopover = childrenAsList.filter(child => !isActionBarItemPopover(child));
|
|
95
95
|
const childrenWithoutPopoverAndIcon = childrenWithoutPopover.filter(child => !isActionBarItemIcon(child));
|
|
96
96
|
if (isSmallScreen) {
|
|
97
|
-
return (_jsxs("div", Object.assign({}, remainingProps, { className: classes, ref: clickOutsideRef }, { children: [React.cloneElement(itemIcon, { onClick: onToggle }), _jsx("div", Object.assign({ onClick: () => setIsShown(false) }, { children: _jsx(Dialog, { show: isShown,
|
|
97
|
+
return (_jsxs("div", Object.assign({}, remainingProps, { className: classes, ref: clickOutsideRef }, { children: [React.cloneElement(itemIcon, { onClick: onToggle }), _jsx("div", Object.assign({ onClick: () => setIsShown(false) }, { children: _jsx(Dialog, { show: isShown, onClose: () => setIsShown(false), body: itemPopover, bodyClassName: mobileDialogBodyClassName, title: title }) })), childrenWithoutPopoverAndIcon] })));
|
|
98
98
|
}
|
|
99
99
|
const overlay = (_jsx(ActionBarOverlay, Object.assign({ id: id, title: title, width: popoverWidth, preRender: useOffscreen, show: isShown }, { children: itemPopover }), 'child'));
|
|
100
100
|
return (_jsxs("div", Object.assign({}, remainingProps, { className: classes, ref: clickOutsideRef }, { children: [_jsx(OverlayTrigger, Object.assign({ onToggle: onToggle, show: isShown || useOffscreen, placement: OverlayTrigger.BOTTOM_END, overlay: overlay, trigger: 'click', rootClose: false, popperConfig: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
2
|
-
type ActionBarItemIconProps = {
|
|
1
|
+
import { type HTMLAttributes, type PropsWithChildren } from 'react';
|
|
2
|
+
type ActionBarItemIconProps = HTMLAttributes<HTMLDivElement> & {
|
|
3
3
|
className?: string;
|
|
4
4
|
};
|
|
5
5
|
declare const ActionBarItemIcon: {
|
|
@@ -8,5 +8,6 @@ const ActionBarItemIcon = (props) => {
|
|
|
8
8
|
const classes = classNames('ActionBarItemIcon', className);
|
|
9
9
|
return (_jsx("div", Object.assign({}, remainingProps, { className: classes }, { children: children })));
|
|
10
10
|
};
|
|
11
|
+
// The displayName is used in ActionBarItem for checking the component "isActionBarItemIcon"
|
|
11
12
|
ActionBarItemIcon.displayName = 'ActionBarItemIcon';
|
|
12
13
|
export default ActionBarItemIcon;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
2
|
-
export type ActionBarItemListProps = {
|
|
1
|
+
import { type HTMLAttributes, type PropsWithChildren } from 'react';
|
|
2
|
+
export type ActionBarItemListProps = HTMLAttributes<HTMLUListElement> & {
|
|
3
3
|
/**
|
|
4
4
|
* Additional class names that are added to the wrapping list item component.
|
|
5
5
|
*/
|
|
6
6
|
className?: string;
|
|
7
7
|
};
|
|
8
|
-
declare const ActionBarItemList: {
|
|
9
|
-
({ className, children, ...remainingProps }: PropsWithChildren<ActionBarItemListProps>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
8
|
+
declare const ActionBarItemList: ({ className, children, ...remainingProps }: PropsWithChildren<ActionBarItemListProps>) => import("react/jsx-runtime").JSX.Element;
|
|
12
9
|
export default ActionBarItemList;
|
|
@@ -8,5 +8,4 @@ const ActionBarItemList = (_a) => {
|
|
|
8
8
|
const classes = classNames('ActionBarItemList', className);
|
|
9
9
|
return (_jsx("ul", Object.assign({}, remainingProps, { className: classes }, { children: children })));
|
|
10
10
|
};
|
|
11
|
-
ActionBarItemList.displayName = 'ActionBarItemList';
|
|
12
11
|
export default ActionBarItemList;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
2
|
-
export type ActionBarItemListItemProps = {
|
|
1
|
+
import { type HTMLAttributes, type PropsWithChildren } from 'react';
|
|
2
|
+
export type ActionBarItemListItemProps = Omit<HTMLAttributes<HTMLLIElement>, 'onClick'> & {
|
|
3
3
|
/**
|
|
4
4
|
* Set it to true when you want to use the item as link item.
|
|
5
5
|
*
|
|
@@ -22,8 +22,5 @@ export type ActionBarItemListItemProps = {
|
|
|
22
22
|
*/
|
|
23
23
|
className?: string;
|
|
24
24
|
};
|
|
25
|
-
declare const ActionBarItemListItem:
|
|
26
|
-
(props: PropsWithChildren<ActionBarItemListItemProps>): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
displayName: string;
|
|
28
|
-
};
|
|
25
|
+
declare const ActionBarItemListItem: (props: PropsWithChildren<ActionBarItemListItemProps>) => import("react/jsx-runtime").JSX.Element;
|
|
29
26
|
export default ActionBarItemListItem;
|
|
@@ -10,5 +10,4 @@ const ActionBarItemListItem = (props) => {
|
|
|
10
10
|
const btnClasses = classNames('ActionBarItemListItemButton');
|
|
11
11
|
return (_jsxs("li", Object.assign({}, remainingProps, { className: classes }, { children: [icon && _jsx("span", { className: iconClasses }), hasLink && !onClick && _jsx("span", { children: children }), onClick && (_jsx("div", Object.assign({ className: btnClasses, onClick: onClick }, { children: children }))), !hasLink && !onClick && children] })));
|
|
12
12
|
};
|
|
13
|
-
ActionBarItemListItem.displayName = 'ActionBarItemListItem';
|
|
14
13
|
export default ActionBarItemListItem;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { type HTMLAttributes } from 'react';
|
|
2
|
+
export type ActionBarItemListSeparatorProps = HTMLAttributes<HTMLHRElement> & {
|
|
2
3
|
/**
|
|
3
4
|
* Additional class names that are added to the wrapping list item component.
|
|
4
5
|
*/
|
|
5
6
|
className?: string;
|
|
6
7
|
};
|
|
7
|
-
declare const ActionBarItemListSeparator: {
|
|
8
|
-
({ className, ...remainingProps }: ActionBarItemListSeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
8
|
+
declare const ActionBarItemListSeparator: ({ className, ...remainingProps }: ActionBarItemListSeparatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
9
|
export default ActionBarItemListSeparator;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __rest } from "tslib";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
// @ts-ignore-next-line: importsNotUsedAsValues
|
|
3
4
|
import 'react';
|
|
4
5
|
import classNames from 'classnames';
|
|
5
6
|
const ActionBarItemListSeparator = (_a) => {
|
|
@@ -7,5 +8,4 @@ const ActionBarItemListSeparator = (_a) => {
|
|
|
7
8
|
const classes = classNames('ActionBarItemListSeparator', className);
|
|
8
9
|
return _jsx("hr", Object.assign({}, remainingProps, { className: classes }));
|
|
9
10
|
};
|
|
10
|
-
ActionBarItemListSeparator.displayName = 'ActionBarItemListSeparator';
|
|
11
11
|
export default ActionBarItemListSeparator;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { type PropsWithChildren } from 'react';
|
|
2
|
-
export type ActionBarItemPopoverProps = {
|
|
1
|
+
import React, { type HTMLAttributes, type PropsWithChildren } from 'react';
|
|
2
|
+
export type ActionBarItemPopoverProps = Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'useOffscreen'> & {
|
|
3
3
|
/**
|
|
4
4
|
* The popover title.
|
|
5
5
|
*/
|
|
@@ -10,5 +10,6 @@ const ActionBarItemPopoverContent = (_a) => {
|
|
|
10
10
|
const filterProps = omit(['title', 'useOffscreen'])(remainingProps);
|
|
11
11
|
return (_jsx("div", Object.assign({}, filterProps, { className: classes }, { children: children })));
|
|
12
12
|
};
|
|
13
|
+
// The displayName is used in ActionBarItem for checking the component "isActionBarItemPopover"
|
|
13
14
|
ActionBarItemPopoverContent.displayName = 'ActionBarItemPopoverContent';
|
|
14
15
|
export default ActionBarItemPopoverContent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type AnimatedNumberProps = {
|
|
1
|
+
import React, { type HTMLAttributes } from 'react';
|
|
2
|
+
export type AnimatedNumberProps = HTMLAttributes<HTMLSpanElement> & {
|
|
3
3
|
/**
|
|
4
4
|
* The start value.
|
|
5
5
|
*/
|
|
@@ -37,5 +37,42 @@ export type AnimatedNumberProps = {
|
|
|
37
37
|
*/
|
|
38
38
|
className?: string;
|
|
39
39
|
};
|
|
40
|
-
export declare const AnimatedNumber: React.ForwardRefExoticComponent<
|
|
40
|
+
export declare const AnimatedNumber: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
|
|
41
|
+
/**
|
|
42
|
+
* The start value.
|
|
43
|
+
*/
|
|
44
|
+
start: number;
|
|
45
|
+
/**
|
|
46
|
+
* The end value.
|
|
47
|
+
*/
|
|
48
|
+
end: number;
|
|
49
|
+
/**
|
|
50
|
+
* A prefix to be added to the final string.
|
|
51
|
+
*/
|
|
52
|
+
prefix?: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* A unit suffix to be added to the final string.
|
|
55
|
+
*/
|
|
56
|
+
unit?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* The speed in milliseconds to count up or down.
|
|
59
|
+
*
|
|
60
|
+
* @default 10
|
|
61
|
+
*/
|
|
62
|
+
speed?: number | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* Enables to count backwards.
|
|
65
|
+
*
|
|
66
|
+
* @default false
|
|
67
|
+
*/
|
|
68
|
+
decreasing?: boolean | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Callback function to be invoked when the end value is reached.
|
|
71
|
+
*/
|
|
72
|
+
onEnd?: VoidFunction | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Additional classes to be set on the wrapping element.
|
|
75
|
+
*/
|
|
76
|
+
className?: string | undefined;
|
|
77
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
41
78
|
export default AnimatedNumber;
|
|
@@ -16,7 +16,7 @@ const DropdownMenu = (props) => {
|
|
|
16
16
|
if (isEmpty(children)) {
|
|
17
17
|
return null;
|
|
18
18
|
}
|
|
19
|
-
return (_jsx("ul", Object.assign({ role: 'menu', className: 'dropdown-menu' }, { children: children })));
|
|
19
|
+
return (_jsx("ul", Object.assign({ role: 'menu', className: 'dropdown-menu ModuleNavigation-dropdown-menu' }, { children: children })));
|
|
20
20
|
};
|
|
21
21
|
const AppMenuDropdownOpener = forwardRef((props, ref) => {
|
|
22
22
|
const { open, children, onDropdownClick } = props;
|
|
@@ -26,7 +26,7 @@ const getCurrentCategoryElement = (children, currentCategoryId) => {
|
|
|
26
26
|
};
|
|
27
27
|
const renderTreesOffscreen = (children, categoryId) => {
|
|
28
28
|
return React.Children.map(children, child => {
|
|
29
|
-
const offscreenClasses = classNames('TreeOffscreenWrapper', 'height-100pct', child && child.props.id !== categoryId && 'position-offscreen');
|
|
29
|
+
const offscreenClasses = classNames('TreeOffscreenWrapper', 'height-100pct', child && child.props.id !== categoryId && 'position-offscreen pointer-events-none');
|
|
30
30
|
return _jsx("div", Object.assign({ className: offscreenClasses }, { children: child }));
|
|
31
31
|
});
|
|
32
32
|
};
|
|
@@ -102,6 +102,5 @@ const AssetTree = memo(forwardRef((props, ref) => {
|
|
|
102
102
|
};
|
|
103
103
|
return (_jsxs("div", Object.assign({}, remainingProps, { className: classes, style: style, ref: mergedRefs }, { children: [_jsx("div", { className: resizeLimitClasses, style: resizeLimitStyle }), _jsxs("div", Object.assign({ className: 'AssetTreeContent' }, { children: [_jsx(TreeSidebar, Object.assign({ onSelectCategory: handleSelectCategory, currentCategoryId: currentCategoryId, onClick: handleToggleTreeContent }, { children: isArray(children) ? children : [children] })), _jsx(SmoothScrollbars, Object.assign({ slideIn: true, className: 'AssetTreeBody' }, { children: useOffscreen ? renderTreesOffscreen(childrenArray, currentCategoryId) : category }))] })), resizable && isOpen && (_jsx(Resizer, { onResizeStart: handleResizeStart, onResize: handleResize, onResizeEnd: handleResizeEnd, direction: Resizer.HORIZONTAL, position: Resizer.RIGHT }))] })));
|
|
104
104
|
}));
|
|
105
|
-
AssetTree.displayName = 'AssetTree';
|
|
106
105
|
Object.assign(AssetTree, TreeMode);
|
|
107
106
|
export default AssetTree;
|
|
@@ -109,7 +109,7 @@ const Tree = React.memo((props) => {
|
|
|
109
109
|
const unselectedGroups = filter(filterOutByItemId(updatedSelectedGroups))(updatedGroups);
|
|
110
110
|
return isEmpty(unselectedGroups);
|
|
111
111
|
}
|
|
112
|
-
|
|
112
|
+
if (hasSearchAndGroups()) {
|
|
113
113
|
const unselectedSearchItems = filter(filterOutByItemId(updatedSelectedItems))(flatItems);
|
|
114
114
|
return isEmpty(unselectedSearchItems);
|
|
115
115
|
}
|
|
@@ -277,5 +277,4 @@ const Tree = React.memo((props) => {
|
|
|
277
277
|
? summary || (_jsx(TreeSummary, { children: map((typeCounter) => (_jsx(TypeCounter, { type: typeCounter, icon: `${typeCounter}`, value: state.assetCounts[typeCounter], onClick: handleFilterByType, isActive: state.typeFilter.includes(typeCounter), hasFilter: isFilterActive, enableActivity: enableActivity }, typeCounter)))(state.visibleTypeCounters) }))
|
|
278
278
|
: null })), _jsx(TreeOptions, { treeOptions: treeOptions })] })))] })), _jsx(TreeRoot, Object.assign({ maxHeight: scrollHeight, disableAnimation: disableAnimation }, { children: content }))] })));
|
|
279
279
|
}, customCompare);
|
|
280
|
-
Tree.displayName = 'Tree';
|
|
281
280
|
export default Tree;
|
|
@@ -18,8 +18,5 @@ export type TreeCategoryProps = {
|
|
|
18
18
|
hasSelection?: boolean;
|
|
19
19
|
};
|
|
20
20
|
export type TreeCategoryNode = React.ReactElement<TreeCategoryProps>;
|
|
21
|
-
declare const TreeCategory:
|
|
22
|
-
(props: PropsWithChildren<TreeCategoryProps>): string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
21
|
+
declare const TreeCategory: (props: PropsWithChildren<TreeCategoryProps>) => string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null;
|
|
25
22
|
export default TreeCategory;
|
|
@@ -10,5 +10,4 @@ const TreeLeaf = React.memo((props) => {
|
|
|
10
10
|
const treeNodeClassNames = classNames('TreeLeaf', 'form-group margin-bottom-0', isSelected && 'active', item.className && item.className);
|
|
11
11
|
return (_jsxs("div", Object.assign({ className: treeNodeClassNames, "data-key": item.id }, { children: [hasMultiselect && _jsx(Checkbox, { className: 'TreeCheckbox', checked: isSelected, onClick: onSelectItem }), !hasMultiselect && showRadioButtons && (_jsx(RadioButton, { className: 'TreeRadioButton', checked: isSelected, onChange: onSelectItem })), _jsx("span", Object.assign({ className: 'TreeLabel', onClick: onActiveItem }, { children: _jsxs("span", Object.assign({ className: 'TreeLabelName' }, { children: [!item.subType && _jsx("span", { className: `rioglyph rioglyph-${item.type}` }), item.subType && (_jsxs("span", Object.assign({ className: 'rioglyph-icon-pair' }, { children: [_jsx("span", { className: `rioglyph rioglyph-${item.type}` }), _jsx("span", { className: `rioglyph rioglyph-${item.subType}` })] }))), _jsxs("span", Object.assign({ className: 'TreeLabelNameText' }, { children: [_jsx("span", Object.assign({ className: 'TreeLabelNameTextHeadline' }, { children: isObject(item.name) ? (_jsxs(_Fragment, { children: [_jsx("span", Object.assign({ className: 'text-light margin-right-3' }, { children: item.name.firstName })), _jsx("span", { children: item.name.lastName })] })) : (item.name) })), item.info && _jsx("span", Object.assign({ className: 'TreeLabelNameTextSubline' }, { children: item.info }))] }))] })) }))] })));
|
|
12
12
|
});
|
|
13
|
-
TreeLeaf.displayName = 'TreeLeaf';
|
|
14
13
|
export default TreeLeaf;
|
|
@@ -7,8 +7,5 @@ export type TreeLeafListProps = {
|
|
|
7
7
|
selectedGroups: string[];
|
|
8
8
|
onSelectionChange: (selectedItems: string[], selectedGroups: string[]) => void;
|
|
9
9
|
};
|
|
10
|
-
declare const TreeLeafList:
|
|
11
|
-
(props: TreeLeafListProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
10
|
+
declare const TreeLeafList: (props: TreeLeafListProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
11
|
export default TreeLeafList;
|
|
@@ -15,5 +15,4 @@ const TreeLeafList = (props) => {
|
|
|
15
15
|
const handleSetItemActive = (itemId) => onSelectionChange([itemId], []);
|
|
16
16
|
return (_jsx(_Fragment, { children: leafList.map(item => (_jsx(TreeLeaf, { item: item, hasMultiselect: hasMultiselect, showRadioButtons: showRadioButtons, isSelected: selectedItems.includes(item.id), onSelectItem: () => handleItemSelection(item.id), onActiveItem: () => handleSetItemActive(item.id) }, item.id))) }));
|
|
17
17
|
};
|
|
18
|
-
TreeLeafList.displayName = 'TreeLeafList';
|
|
19
18
|
export default TreeLeafList;
|
|
@@ -8,5 +8,4 @@ const TreeNode = React.memo((props) => {
|
|
|
8
8
|
const hasChildren = !!node.items.length;
|
|
9
9
|
return (_jsxs("div", Object.assign({ className: treeNodeClassNames, "data-key": node.id, onClick: () => hasChildren && onToggleNode(node.id) }, { children: [hasMultiselect && (_jsx(Checkbox, { className: 'TreeCheckbox', checked: isSelected, disabled: node.disabled, indeterminate: isIndeterminate, onClick: () => onSelect(node, isIndeterminate) })), _jsxs("span", Object.assign({ className: 'TreeLabel' }, { children: [_jsxs("span", Object.assign({ className: 'TreeLabelName' }, { children: [node.icon && _jsx("span", { className: `rioglyph ${node.icon}` }), _jsx("span", Object.assign({ className: 'TreeLabelNameText' }, { children: _jsx("span", Object.assign({ className: 'TreeLabelNameTextHeadline' }, { children: node.name })) })), _jsx("span", Object.assign({ className: 'TreeLabelCount label label-muted label-filled label-condensed' }, { children: node.items.length }))] })), _jsx("span", { className: `TreeLabelExpander rioglyph rioglyph-chevron-down ${hasChildren ? '' : 'text-color-light'}` })] }))] })));
|
|
10
10
|
});
|
|
11
|
-
TreeNode.displayName = 'TreeNode';
|
|
12
11
|
export default TreeNode;
|
|
@@ -4,8 +4,5 @@ export type TreeNodeContainerProps = {
|
|
|
4
4
|
groupId?: string;
|
|
5
5
|
disableAnimation: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const TreeNodeContainer:
|
|
8
|
-
(props: PropsWithChildren<TreeNodeContainerProps>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
7
|
+
declare const TreeNodeContainer: (props: PropsWithChildren<TreeNodeContainerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
11
8
|
export default TreeNodeContainer;
|
|
@@ -7,5 +7,4 @@ const TreeNodeContainer = (props) => {
|
|
|
7
7
|
const treeNodeContainerClasses = classNames('TreeNodeContainer', 'user-select-none overflow-hidden', isOpen && 'open');
|
|
8
8
|
return (_jsx("div", Object.assign({ className: treeNodeContainerClasses, "data-id": groupId }, { children: children })));
|
|
9
9
|
};
|
|
10
|
-
TreeNodeContainer.displayName = 'TreeNodeContainer';
|
|
11
10
|
export default TreeNodeContainer;
|
|
@@ -4,5 +4,4 @@ const TreeNothingFound = React.memo((props) => {
|
|
|
4
4
|
return (_jsx("div", Object.assign({ className: `TreeTreeNothingFound display-flex justify-content-center text-size-20
|
|
5
5
|
padding-top-25 margin-top-25 margin-bottom-25` }, { children: _jsx("span", { className: 'rioglyph rioglyph-looking-glass-man text-size-400pct text-color-light' }) })));
|
|
6
6
|
});
|
|
7
|
-
TreeNothingFound.displayName = 'TreeNothingFound';
|
|
8
7
|
export default TreeNothingFound;
|
|
@@ -21,8 +21,5 @@ export type TreeOptionProps = {
|
|
|
21
21
|
*/
|
|
22
22
|
className?: string;
|
|
23
23
|
};
|
|
24
|
-
declare const TreeOption:
|
|
25
|
-
(props: TreeOptionProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
displayName: string;
|
|
27
|
-
};
|
|
24
|
+
declare const TreeOption: (props: TreeOptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
25
|
export default TreeOption;
|
|
@@ -10,5 +10,4 @@ const TreeOption = (props) => {
|
|
|
10
10
|
const optionClasses = classNames('TreeOption', 'display-flex', 'justify-content-start', 'align-items-center', 'gap-10', 'cursor-pointer', className);
|
|
11
11
|
return (_jsxs("div", Object.assign({}, remainingProps, { className: optionClasses, onClick: onChange }, { children: [_jsx("span", Object.assign({ className: 'flex-1-1' }, { children: label })), _jsx("span", Object.assign({ className: 'pointer-events-none scale-80' }, { children: _jsx(Switch, { keyName: 'TreeOption-switch', checked: isChecked }) }))] })));
|
|
12
12
|
};
|
|
13
|
-
TreeOption.displayName = 'TreeOption';
|
|
14
13
|
export default TreeOption;
|
|
@@ -3,8 +3,5 @@ export type TreeOptionsProps = {
|
|
|
3
3
|
treeOptions?: React.ReactNode[];
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
|
-
declare const TreeOptions:
|
|
7
|
-
(props: TreeOptionsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
6
|
+
declare const TreeOptions: (props: TreeOptionsProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
7
|
export default TreeOptions;
|
|
@@ -13,5 +13,4 @@ const TreeOptions = (props) => {
|
|
|
13
13
|
const customDropdown = _jsx("div", Object.assign({ className: dropdownClasses }, { children: treeOptions }));
|
|
14
14
|
return (_jsx(ButtonDropdown, { title: _jsx("span", { className: 'rioglyph rioglyph-option-vertical', "aria-hidden": 'true' }), bsStyle: 'muted', customDropdown: customDropdown, className: 'TreeHeaderOptions', pullRight: true, iconOnly: true }));
|
|
15
15
|
};
|
|
16
|
-
TreeOptions.displayName = 'TreeOptions';
|
|
17
16
|
export default TreeOptions;
|
|
@@ -3,8 +3,5 @@ export type TreeRootProps = {
|
|
|
3
3
|
disableAnimation: boolean;
|
|
4
4
|
maxHeight?: number;
|
|
5
5
|
};
|
|
6
|
-
declare const TreeRoot: {
|
|
7
|
-
({ maxHeight, disableAnimation, children }: PropsWithChildren<TreeRootProps>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
6
|
+
declare const TreeRoot: ({ maxHeight, disableAnimation, children }: PropsWithChildren<TreeRootProps>) => import("react/jsx-runtime").JSX.Element;
|
|
10
7
|
export default TreeRoot;
|
|
@@ -9,5 +9,4 @@ const TreeRoot = ({ maxHeight, disableAnimation, children }) => {
|
|
|
9
9
|
enableAnimations(!disableAnimation);
|
|
10
10
|
return (_jsx("div", Object.assign({ ref: parent, className: treeRootClasses, style: { maxHeight } }, { children: children })));
|
|
11
11
|
};
|
|
12
|
-
TreeRoot.displayName = 'TreeRoot';
|
|
13
12
|
export default TreeRoot;
|
|
@@ -9,5 +9,4 @@ const TreeSearch = React.memo((props) => {
|
|
|
9
9
|
const classes = classNames('TreeSearch', className);
|
|
10
10
|
return (_jsx("div", Object.assign({ className: classes }, { children: _jsxs("div", Object.assign({ className: 'input-group flex-1-0' }, { children: [_jsx("span", Object.assign({ className: 'input-group-addon' }, { children: _jsx("span", { className: 'rioglyph rioglyph-search', "aria-hidden": 'true' }) })), _jsx(ClearableInput, { value: value, onChange: onChange, placeholder: placeholder })] })) })));
|
|
11
11
|
});
|
|
12
|
-
TreeSearch.displayName = 'TreeSearch';
|
|
13
12
|
export default TreeSearch;
|
|
@@ -8,8 +8,5 @@ export type TreeSelectAllProps = {
|
|
|
8
8
|
hasSearchResults?: boolean;
|
|
9
9
|
className?: string;
|
|
10
10
|
};
|
|
11
|
-
declare const TreeSelectAll:
|
|
12
|
-
(props: TreeSelectAllProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
11
|
+
declare const TreeSelectAll: (props: TreeSelectAllProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
15
12
|
export default TreeSelectAll;
|
|
@@ -9,5 +9,4 @@ const TreeSelectAll = (props) => {
|
|
|
9
9
|
const handleSelectAll = (event) => onSelect(event.target.checked, isIndeterminate);
|
|
10
10
|
return isEnabled ? (_jsx("div", Object.assign({ className: 'TreeSelectAll display-flex align-items-center' }, { children: _jsx(Checkbox, { checked: isChecked, onClick: handleSelectAll, disabled: isDisabled, indeterminate: isIndeterminate, className: 'margin-top--1' }) }))) : null;
|
|
11
11
|
};
|
|
12
|
-
TreeSelectAll.displayName = 'TreeSelectAll';
|
|
13
12
|
export default TreeSelectAll;
|
|
@@ -9,5 +9,4 @@ const TreeSidebar = React.memo((props) => {
|
|
|
9
9
|
const classes = classNames('TreeSidebar', className);
|
|
10
10
|
return (_jsxs("div", Object.assign({ className: classes }, { children: [_jsx("ul", Object.assign({ className: 'TreeSidebarNavigation', onClick: onClick }, { children: _jsx(TreeSidebarCategories, Object.assign({}, remainingProps)) })), _jsx("div", Object.assign({ className: 'TreeSidebarToggle', onClick: onClick }, { children: _jsx("span", { className: 'rioglyph rioglyph-chevron-left' }) }))] })));
|
|
11
11
|
});
|
|
12
|
-
TreeSidebar.displayName = 'TreeSidebar';
|
|
13
12
|
export default TreeSidebar;
|
|
@@ -4,8 +4,5 @@ export type TreeSidebarCategoriesProps = {
|
|
|
4
4
|
onSelectCategory?: (selectedCategory: string) => void;
|
|
5
5
|
children?: TreeCategoryNode[];
|
|
6
6
|
};
|
|
7
|
-
declare const TreeSidebarCategories:
|
|
8
|
-
(props: TreeSidebarCategoriesProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
7
|
+
declare const TreeSidebarCategories: (props: TreeSidebarCategoriesProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
8
|
export default TreeSidebarCategories;
|
|
@@ -13,5 +13,4 @@ const TreeSummary = React.memo((props) => {
|
|
|
13
13
|
const classes = classNames('TreeSummary', 'display-flex flex-wrap', 'align-items-center', 'gap-10', 'padding-left-3', className);
|
|
14
14
|
return (_jsx("div", Object.assign({ className: classes }, { children: children || (_jsx(TreeSummaryRow, Object.assign({ gridCols: gridCols }, { children: _jsx(DefaultAssetCounts, { assetCounts: assetCounts }) }))) })));
|
|
15
15
|
});
|
|
16
|
-
TreeSummary.displayName = 'TreeSummary';
|
|
17
16
|
export default TreeSummary;
|
|
@@ -8,8 +8,5 @@ export type TreeSummaryRowProps = {
|
|
|
8
8
|
*/
|
|
9
9
|
gridCols?: number;
|
|
10
10
|
};
|
|
11
|
-
export declare const TreeSummaryRow: {
|
|
12
|
-
({ gridCols, children }: PropsWithChildren<TreeSummaryRowProps>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
11
|
+
export declare const TreeSummaryRow: ({ gridCols, children }: PropsWithChildren<TreeSummaryRowProps>) => import("react/jsx-runtime").JSX.Element;
|
|
15
12
|
export default TreeSummaryRow;
|
|
@@ -2,5 +2,4 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
// @ts-ignore-next-line importsNotUsedAsValues
|
|
3
3
|
import 'react';
|
|
4
4
|
export const TreeSummaryRow = ({ gridCols = 4, children }) => (_jsx("div", Object.assign({ className: `TreeSummaryRow display-grid grid-cols-${gridCols} gap-10` }, { children: children })));
|
|
5
|
-
TreeSummaryRow.displayName = 'TreeSummaryRow';
|
|
6
5
|
export default TreeSummaryRow;
|
|
@@ -19,5 +19,4 @@ const TypeCounter = forwardRef((props, ref) => {
|
|
|
19
19
|
}
|
|
20
20
|
return (_jsxs("div", Object.assign({ ref: mergedRef }, remainingProps, { className: wrapperClassName, onClick: handleClick }, { children: [_jsx("span", { className: `rioglyph rioglyph-${icon} text-size-16 margin-right-2` }), _jsx("span", Object.assign({ className: counterClassNames }, { children: value || 0 }))] })));
|
|
21
21
|
});
|
|
22
|
-
TypeCounter.displayName = 'TypeCounter';
|
|
23
22
|
export default TypeCounter;
|