@reltio/dashboard 1.4.1824-hf-2 → 1.4.1825
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/DashboardConfigItem/styles.d.ts +1 -1
- package/types/components/DashboardLayoutPanel/styles.d.ts +1 -1
- package/types/components/DashboardPerspectiveHeader/DashboardPerspectiveHeader.d.ts +7 -7
- package/types/components/InternalDashboardScreen/InternalDashboardScreen.d.ts +3 -2
- package/types/hooks/useSavedSearchesRequest.d.ts +3 -1
- package/types/index.d.ts +3 -2
- package/types/services/savedSearches.d.ts +1 -1
- package/types/types/SavedSearchData.d.ts +2 -0
- package/types/views/ria/SearchResult/styles.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/dashboard",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1825",
|
|
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.1811",
|
|
9
|
+
"@reltio/mdm-module": "^1.4.1784",
|
|
10
|
+
"@reltio/mdm-sdk": "^1.4.1772",
|
|
11
11
|
"classnames": "^2.2.5",
|
|
12
12
|
"object-hash": "^2.1.1",
|
|
13
13
|
"prop-types": "^15.6.2",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"button" | "config" | "backdrop" | "viewContent" | "noBoxShadow" | "addedChart" | "chartIcon" | "previewChartTitle" | "newChartChip" | "backdropRemoved" | "backdropAdded" | "chartTitle">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"header" | "description" | "items" | "root" | "closeButton" | "headerTitle">;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
type MultilineMenuItemProps = React.ComponentProps<typeof MultilineMenuItem>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DashboardScreenConfig, ReltioGridLayoutItem } from '@reltio/mdm-sdk';
|
|
4
3
|
type Props = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
config: DashboardScreenConfig;
|
|
5
|
+
layout: ReltioGridLayoutItem[];
|
|
6
|
+
onChangeLayout: (layout: ReltioGridLayoutItem[]) => void;
|
|
7
|
+
onToggleConfigPanel: () => void;
|
|
8
8
|
};
|
|
9
|
-
export declare const DashboardPerspectiveHeader: ({
|
|
9
|
+
export declare const DashboardPerspectiveHeader: ({ config, layout, onToggleConfigPanel, onChangeLayout }: Props) => JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { DashboardScreenConfig } from '@reltio/mdm-sdk';
|
|
2
|
+
import { DashboardScreenConfig, DashboardView as DashboardViewConfig } from '@reltio/mdm-sdk';
|
|
3
3
|
import { DashboardSavedState } from '../../types/DashboardSavedState';
|
|
4
4
|
type Props = {
|
|
5
5
|
config: DashboardScreenConfig;
|
|
6
|
+
externalViewConfig?: DashboardViewConfig;
|
|
6
7
|
saveState: (state: DashboardSavedState) => void;
|
|
7
8
|
getSavedState: () => Promise<DashboardSavedState>;
|
|
8
9
|
};
|
|
9
|
-
declare const _default: React.MemoExoticComponent<({ config: dashboardConfig, saveState, getSavedState }: Props) => JSX.Element>;
|
|
10
|
+
declare const _default: React.MemoExoticComponent<({ config: dashboardConfig, externalViewConfig, saveState, getSavedState }: Props) => JSX.Element>;
|
|
10
11
|
export default _default;
|
|
@@ -5,11 +5,13 @@ type Props = {
|
|
|
5
5
|
options?: SavedSearchesOptions;
|
|
6
6
|
offset: number;
|
|
7
7
|
max: number;
|
|
8
|
+
queryEstimatorEnabled?: boolean;
|
|
8
9
|
};
|
|
9
|
-
export declare const useSavedSearchesRequest: ({ options, offset, max }: Props) => {
|
|
10
|
+
export declare const useSavedSearchesRequest: ({ options, offset, max, queryEstimatorEnabled }: Props) => {
|
|
10
11
|
state: RequestStates;
|
|
11
12
|
data: SavedSearchData[];
|
|
12
13
|
reload: () => void;
|
|
13
14
|
total: number;
|
|
15
|
+
loadTotalForSearchByUri: (uri: string) => Promise<void>;
|
|
14
16
|
};
|
|
15
17
|
export {};
|
package/types/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { DashboardScreenConfig } from '@reltio/mdm-sdk';
|
|
2
|
+
import { DashboardScreenConfig, DashboardView } from '@reltio/mdm-sdk';
|
|
3
3
|
import { DashboardSavedState } from './types/DashboardSavedState';
|
|
4
4
|
type Props = {
|
|
5
5
|
config: DashboardScreenConfig;
|
|
6
|
+
externalViewConfig?: DashboardView;
|
|
6
7
|
onResize?: (width: number, height: number) => void;
|
|
7
8
|
saveState: (state: DashboardSavedState) => void;
|
|
8
9
|
getSavedState: (clb: (state: DashboardSavedState) => void) => void;
|
|
9
10
|
};
|
|
10
|
-
declare const DashboardScreen: ({ config, onResize, saveState, getSavedState }: Props) => JSX.Element;
|
|
11
|
+
declare const DashboardScreen: ({ config, externalViewConfig, onResize, saveState, getSavedState }: Props) => JSX.Element;
|
|
11
12
|
export default DashboardScreen;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ChartData } from '@reltio/components';
|
|
2
2
|
import { SavedSearchData } from '../types/SavedSearchData';
|
|
3
|
-
export declare const savedSearchDataToChartData: (data: SavedSearchData[]) => ChartData[];
|
|
3
|
+
export declare const savedSearchDataToChartData: (data: SavedSearchData[], loadTotalForSearchByUri: (uri: string) => void) => ChartData[];
|
|
4
4
|
export declare const savedSearchDataToSearchState: ({ uiState, uri }: SavedSearchData) => any;
|
|
@@ -2,7 +2,7 @@ type Dimensions = {
|
|
|
2
2
|
width: number | string;
|
|
3
3
|
height: number | string;
|
|
4
4
|
};
|
|
5
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"
|
|
5
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"wrapper" | "content" | "showMore" | "totalHeader" | "showMoreWrapper" | "loadingWrapper">;
|
|
6
6
|
export declare const useListStyles: (props: Dimensions) => import("@mui/styles").ClassNameMap<"listContainer">;
|
|
7
7
|
export declare const useRowStyles: (props?: any) => import("@mui/styles").ClassNameMap<"entityLabel" | "entityTypeIcon" | "resultItem">;
|
|
8
8
|
export {};
|