@reltio/dashboard 1.4.2111 → 1.4.2113
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/bundle.js +1 -1
- package/package.json +4 -4
- package/types/components/src/ExpandableSearchInput/ExpandableSearchInput.d.ts +10 -0
- package/types/components/src/ExpandableSearchInput/index.d.ts +1 -0
- package/types/components/src/SegmentsTable/SegmentsTable.d.ts +13 -0
- package/types/components/src/SegmentsTable/components/AttributeCellRenderer/AttributeCellRenderer.d.ts +6 -0
- package/types/components/src/SegmentsTable/components/AttributeCellRenderer/index.d.ts +1 -0
- package/types/components/src/SegmentsTable/components/AudienceCountCellRenderer/AudienceCountCellRenderer.d.ts +6 -0
- package/types/components/src/SegmentsTable/components/AudienceCountCellRenderer/index.d.ts +1 -0
- package/types/components/src/SegmentsTable/components/BarCellRenderer/BarCellRenderer.d.ts +9 -0
- package/types/components/src/SegmentsTable/components/BarCellRenderer/index.d.ts +1 -0
- package/types/components/src/SegmentsTable/components/BarHeadCellRenderer/BarHeadCellRenderer.d.ts +5 -0
- package/types/components/src/SegmentsTable/components/BarHeadCellRenderer/index.d.ts +1 -0
- package/types/components/src/SegmentsTable/components/HeadCellRenderer/HeadCellRenderer.d.ts +9 -0
- package/types/components/src/SegmentsTable/components/HeadCellRenderer/index.d.ts +1 -0
- package/types/components/src/SegmentsTable/components/LabelCellRenderer/LabelCellRenderer.d.ts +9 -0
- package/types/components/src/SegmentsTable/components/LabelCellRenderer/index.d.ts +1 -0
- package/types/components/src/SegmentsTable/helpers.d.ts +3 -0
- package/types/components/src/SegmentsTable/index.d.ts +1 -0
- package/types/components/src/hooks/useSegmentsRequest/helper.d.ts +2 -0
- package/types/components/src/hooks/useSegmentsRequest/index.d.ts +1 -0
- package/types/components/src/hooks/useSegmentsRequest/useSegmentsRequest.d.ts +42 -0
- package/types/dashboard/src/views/tableBased/FilteredSegmentsFacet.d.ts +11 -0
- package/types/dashboard/src/views/tableBased/styles.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/dashboard",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2113",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE FILE",
|
|
5
5
|
"main": "bundle.js",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@reltio/components": "^1.4.
|
|
9
|
-
"@reltio/mdm-module": "^1.4.
|
|
10
|
-
"@reltio/mdm-sdk": "^1.4.
|
|
8
|
+
"@reltio/components": "^1.4.2081",
|
|
9
|
+
"@reltio/mdm-module": "^1.4.1958",
|
|
10
|
+
"@reltio/mdm-sdk": "^1.4.1924",
|
|
11
11
|
"object-hash": "^2.1.1"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type Props = {
|
|
3
|
+
query: string;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
classes?: {
|
|
6
|
+
searchButton: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export declare const ExpandableSearchInput: ({ query, onChange, classes }: Props) => React.JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ExpandableSearchInput } from './ExpandableSearchInput';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { RefObject } from 'react';
|
|
2
|
+
import { Segment } from '@reltio/mdm-sdk';
|
|
3
|
+
import { Sorting } from '../types/basicTable';
|
|
4
|
+
type Props = {
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
segments: Segment[];
|
|
8
|
+
basicTableRef?: RefObject<HTMLDivElement>;
|
|
9
|
+
onSort: (field: string) => void;
|
|
10
|
+
sorting?: Sorting;
|
|
11
|
+
};
|
|
12
|
+
export declare const SegmentsTable: ({ width, height, segments, basicTableRef, onSort, sorting }: Props) => React.JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AttributeCellRenderer } from './AttributeCellRenderer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AudienceCountCellRenderer } from './AudienceCountCellRenderer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BarCellRenderer } from './BarCellRenderer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BarHeadCellRenderer } from './BarHeadCellRenderer';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type HeadCellRendererProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
headCellData: {
|
|
5
|
+
label: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export declare const HeadCellRenderer: ({ className, headCellData, ...otherProps }: HeadCellRendererProps) => React.JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HeadCellRenderer } from './HeadCellRenderer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LabelCellRenderer } from './LabelCellRenderer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SegmentsTable } from './SegmentsTable';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useSegmentsRequest } from './useSegmentsRequest';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { SavedSearchesOptions, SavedSearchType, SortOrder } from '@reltio/mdm-sdk';
|
|
2
|
+
import { RequestStates } from '../../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
options?: SavedSearchesOptions;
|
|
5
|
+
defaultRowsPerPage: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const useSegmentsRequest: ({ options, defaultRowsPerPage }: Props) => {
|
|
8
|
+
data: {
|
|
9
|
+
uri: string;
|
|
10
|
+
name: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
query: string;
|
|
13
|
+
isFavorite: boolean;
|
|
14
|
+
uiState: Record<string, any>;
|
|
15
|
+
createDate: number;
|
|
16
|
+
updateDate: number;
|
|
17
|
+
isPublic: boolean;
|
|
18
|
+
count: number;
|
|
19
|
+
owner: string;
|
|
20
|
+
type: SavedSearchType;
|
|
21
|
+
isLoadingTotal?: boolean;
|
|
22
|
+
}[];
|
|
23
|
+
total: number;
|
|
24
|
+
page: number;
|
|
25
|
+
rowsPerPage: number;
|
|
26
|
+
audienceCountMap: Record<string, {
|
|
27
|
+
isLoading?: boolean;
|
|
28
|
+
count?: number;
|
|
29
|
+
}>;
|
|
30
|
+
loadingState: RequestStates;
|
|
31
|
+
reload: () => void;
|
|
32
|
+
updateRowsPerPage: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
33
|
+
updatePage: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
34
|
+
loadSegments: () => Promise<void>;
|
|
35
|
+
nameSortOrder: SortOrder;
|
|
36
|
+
setNameSortOrder: import("react").Dispatch<import("react").SetStateAction<SortOrder>>;
|
|
37
|
+
favoriteOnly: boolean;
|
|
38
|
+
setFavoriteOnly: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
39
|
+
containsWordStartingWith: string;
|
|
40
|
+
setContainsWordStartingWith: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
41
|
+
};
|
|
42
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FilteredSegmentsViewConfig } from '@reltio/mdm-sdk';
|
|
3
|
+
type Props = {
|
|
4
|
+
config: FilteredSegmentsViewConfig;
|
|
5
|
+
onToggleFullscreen: (id: string) => void;
|
|
6
|
+
isUpdated?: boolean;
|
|
7
|
+
isFullscreen: boolean;
|
|
8
|
+
onRemove?: (id: string) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: Props) => React.JSX.Element>;
|
|
11
|
+
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"content" | "activityLogFilter" | "categorySelector" | "inboxContent">;
|