@reltio/dashboard 1.4.1551 → 1.4.1553
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/package.json +3 -3
- package/types/HOCs/withPagination.d.ts +2 -2
- package/types/components/DashboardConfigItem/DashboardConfigItem.d.ts +1 -1
- package/types/components/DashboardError/DashboardError.d.ts +1 -1
- package/types/components/DashboardError/styles.d.ts +1 -1
- package/types/components/DashboardLayout/DashboardLayout.d.ts +1 -1
- package/types/components/DashboardLayoutItem/DashboardLayoutItem.d.ts +1 -1
- package/types/components/DashboardLayoutPanel/DashboardLayoutPanel.d.ts +1 -1
- package/types/components/DashboardNoData/DashboardNoData.d.ts +1 -1
- package/types/components/DashboardNoData/styles.d.ts +1 -1
- package/types/components/DashboardPerspectiveHeader/DashboardPerspectiveHeader.d.ts +1 -1
- package/types/components/DashboardPopupMenu/DashboardPopupMenu.d.ts +1 -1
- package/types/components/EntityTable/EntityTable.d.ts +1 -1
- package/types/components/EntityTable/cell-renderers/EntityLabelRenderer.d.ts +1 -1
- package/types/components/EntityTable/cell-renderers/HeadCellRenderer.d.ts +1 -1
- package/types/components/EntityTable/styles.d.ts +1 -1
- package/types/components/LayoutItemContent/LayoutItemContent.d.ts +2 -2
- package/types/components/LayoutItemHeader/LayoutItemHeader.d.ts +1 -1
- package/types/components/LayoutItemView/LayoutItemView.d.ts +1 -1
- package/types/components/StatsChart/StatsChart.d.ts +1 -1
- package/types/components/StatsChart/customized/CustomAxisTick.d.ts +1 -1
- package/types/components/StatsChart/customized/CustomLegend.d.ts +1 -1
- package/types/components/StatsChart/customized/CustomTooltip.d.ts +1 -1
- package/types/components/StatsChart/getStatsChartSettings.d.ts +1 -1
- package/types/components/WorkflowTaskItem/WorkflowTaskItem.d.ts +1 -1
- package/types/components/WorkflowTaskItem/WorkflowTaskObject.d.ts +1 -1
- package/types/components/WorkflowTasksList/WorkflowTasksList.d.ts +1 -1
- package/types/hooks/useActivitiesRequest.d.ts +1 -1
- package/types/hooks/useEntityByTypeRequest.d.ts +1 -1
- package/types/hooks/useFacetRequest.d.ts +1 -1
- package/types/hooks/useFilteredEntitiesRequest.d.ts +1 -1
- package/types/hooks/useSavedSearchesRequest.d.ts +1 -1
- package/types/hooks/useWorkflowTasksRequest.d.ts +1 -1
- package/types/perspective/DashboardPerspectiveView.d.ts +1 -1
- package/types/perspective/index.d.ts +1 -1
- package/types/services/facets.d.ts +1 -1
- package/types/services/period.d.ts +1 -1
- package/types/types/ActivitiesViewFacetConfig.d.ts +1 -1
- package/types/types/CustomActionViewFacetConfig.d.ts +1 -1
- package/types/types/DashboardPerspectiveConfig.d.ts +2 -2
- package/types/types/DashboardSavedState.d.ts +1 -1
- package/types/types/EntityByTypeViewFacetConfig.d.ts +1 -1
- package/types/types/EntityData.d.ts +1 -1
- package/types/types/FilteredEntitiesFacetConfig.d.ts +1 -1
- package/types/types/FilteredSavedSearchesFacetConfig.d.ts +1 -1
- package/types/types/SavedSearchData.d.ts +1 -1
- package/types/types/SearchOptions.d.ts +2 -2
- package/types/types/StatsData.d.ts +3 -3
- package/types/types/WorkflowTasks.d.ts +4 -4
- package/types/views/ViewsFactory.d.ts +1 -1
- package/types/views/chartBased/DashboardFacet.d.ts +1 -1
- package/types/views/chartBased/EntitiesByTypeViewFacet.d.ts +1 -1
- package/types/views/chartBased/ProfileStatsFacet.d.ts +1 -1
- package/types/views/custom/CustomActionViewFacet.d.ts +1 -1
- package/types/views/custom/NotificationInboxFacet.d.ts +1 -1
- package/types/views/tableBased/ActivitiesViewFacet.d.ts +1 -1
- package/types/views/tableBased/FilteredEntitiesViewFacet.d.ts +1 -1
- package/types/views/tableBased/FilteredSavedSearchesFacet.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.1553",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE FILE",
|
|
5
5
|
"main": "bundle.js",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@date-io/moment": "^1.3.5",
|
|
9
|
-
"@reltio/mdm-module": "^1.4.
|
|
10
|
-
"@reltio/mdm-sdk": "^1.4.
|
|
9
|
+
"@reltio/mdm-module": "^1.4.1553",
|
|
10
|
+
"@reltio/mdm-sdk": "^1.4.1553",
|
|
11
11
|
"classnames": "^2.2.5",
|
|
12
12
|
"memoize-one": "^5.1.0",
|
|
13
13
|
"object-hash": "^2.1.1",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type ErrorContainerProps = {
|
|
2
2
|
height?: number;
|
|
3
3
|
};
|
|
4
4
|
export declare const useStyles: (props: ErrorContainerProps) => import("@material-ui/core/styles/withStyles").ClassNameMap<"errorContainer" | "errorIcon" | "refreshButton" | "refreshIcon">;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ReltioGridLayoutItem } from '@reltio/mdm-sdk';
|
|
3
3
|
import { DashboardView } from '../../types';
|
|
4
|
-
|
|
4
|
+
type DashboardLayoutProps = {
|
|
5
5
|
views: DashboardView[];
|
|
6
6
|
layout?: ReltioGridLayoutItem[];
|
|
7
7
|
onLayoutChanged: (layout: ReltioGridLayoutItem[]) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ReltioGridLayoutItem } from '@reltio/mdm-sdk';
|
|
3
3
|
import { DashboardView } from '../../types';
|
|
4
|
-
|
|
4
|
+
type Props = {
|
|
5
5
|
views: DashboardView[];
|
|
6
6
|
layout: ReltioGridLayoutItem[];
|
|
7
7
|
onRemove: (id: string) => void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RequestStates } from '@reltio/components';
|
|
3
|
-
|
|
3
|
+
type ChildrenProps<T> = {
|
|
4
4
|
data: T[];
|
|
5
5
|
width: number;
|
|
6
6
|
height: number;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type Props<T> = {
|
|
9
9
|
loadingState: RequestStates;
|
|
10
10
|
children: (props: ChildrenProps<T>) => React.ReactNode;
|
|
11
11
|
onRefresh: () => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { EnrichedWorkflowTaskData, WorkflowTaskObjectData } from '../../types/WorkflowTasks';
|
|
3
3
|
import { Metadata } from '@reltio/mdm-sdk';
|
|
4
|
-
|
|
4
|
+
type Props = {
|
|
5
5
|
object: WorkflowTaskObjectData;
|
|
6
6
|
metadata: Metadata;
|
|
7
7
|
processType: EnrichedWorkflowTaskData['processType'];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RequestStates } from '@reltio/components';
|
|
2
2
|
import { DashboardConfigFilter } from '@reltio/mdm-sdk';
|
|
3
3
|
import { EntityData } from '../types/EntityData';
|
|
4
|
-
|
|
4
|
+
type Props = {
|
|
5
5
|
filters: DashboardConfigFilter[];
|
|
6
6
|
offset: number;
|
|
7
7
|
max: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RequestStates } from '@reltio/components';
|
|
2
2
|
import { SavedSearchesOptions } from '@reltio/mdm-sdk';
|
|
3
3
|
import { SavedSearchData } from '../types/SavedSearchData';
|
|
4
|
-
|
|
4
|
+
type Props = {
|
|
5
5
|
options: SavedSearchesOptions;
|
|
6
6
|
offset: number;
|
|
7
7
|
max: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RequestStates } from '@reltio/components';
|
|
2
2
|
import { EnrichedWorkflowTaskData, WorkflowTasksCategories } from '../types/WorkflowTasks';
|
|
3
|
-
|
|
3
|
+
type Options = {
|
|
4
4
|
tasksCategory: WorkflowTasksCategories;
|
|
5
5
|
max?: number;
|
|
6
6
|
offset?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DashboardPerspectiveConfig } from '@reltio/mdm-sdk';
|
|
3
3
|
import { DashboardSavedState } from '../types/DashboardSavedState';
|
|
4
|
-
|
|
4
|
+
type DashboardPerspectiveView = {
|
|
5
5
|
config: DashboardPerspectiveConfig;
|
|
6
6
|
saveState: (state: DashboardSavedState) => void;
|
|
7
7
|
getSavedState: () => Promise<DashboardSavedState>;
|
|
@@ -3,7 +3,7 @@ import { Store } from 'redux';
|
|
|
3
3
|
import { DashboardPerspectiveConfig } from '@reltio/mdm-sdk';
|
|
4
4
|
import { DashboardPerspectiveLegacyConfig } from '../types/DashboardPerspectiveConfig';
|
|
5
5
|
import { DashboardSavedState } from '../types/DashboardSavedState';
|
|
6
|
-
|
|
6
|
+
type Props = {
|
|
7
7
|
config: DashboardPerspectiveConfig | DashboardPerspectiveLegacyConfig;
|
|
8
8
|
store: Store<unknown>;
|
|
9
9
|
onResize?: (width: number, height: number) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AttributeType, DashboardConfigFilter, Metadata } from '@reltio/mdm-sdk';
|
|
2
2
|
import { ChartData } from '@reltio/components';
|
|
3
|
-
|
|
3
|
+
type FacetsRequest = {
|
|
4
4
|
attribute: string;
|
|
5
5
|
filters: DashboardConfigFilter[];
|
|
6
6
|
globalFilter?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DatePeriod } from '@reltio/mdm-sdk';
|
|
2
2
|
declare const getStepForPeriod: any;
|
|
3
|
-
|
|
3
|
+
type GetDateRangeByValue = (value: DatePeriod | [number, number]) => [number, number];
|
|
4
4
|
export declare const getDashboardDateRangeByValue: GetDateRangeByValue;
|
|
5
5
|
declare const getValuesDateRange: any;
|
|
6
6
|
export { getStepForPeriod, getValuesDateRange };
|
|
@@ -4,11 +4,11 @@ export declare enum ViewStatus {
|
|
|
4
4
|
NEW = "new",
|
|
5
5
|
PERSISTED = "persisted"
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type DashboardView = {
|
|
8
8
|
config: DashboardViewConfig;
|
|
9
9
|
status: ViewStatus;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type DashboardPerspectiveLegacyConfig = {
|
|
12
12
|
id: string;
|
|
13
13
|
layout: Layout;
|
|
14
14
|
version: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SearchOptions = {
|
|
2
2
|
searchByOv: boolean;
|
|
3
3
|
ovOnly: boolean;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type GlobalSearchRequestOptions = {
|
|
6
6
|
searchOptions: string;
|
|
7
7
|
activityFilter: string;
|
|
8
8
|
globalFilter: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type StatsEventData = {
|
|
2
2
|
term: string;
|
|
3
3
|
count: number;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type TimestampedStatsEventData = StatsEventData & {
|
|
6
6
|
term: number;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type StatsData = {
|
|
9
9
|
event: string;
|
|
10
10
|
total: number;
|
|
11
11
|
data: StatsEventData[];
|
|
@@ -3,12 +3,12 @@ export declare enum WorkflowTasksCategories {
|
|
|
3
3
|
MY = "my",
|
|
4
4
|
TEAM = "team"
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
type WorkflowTaskEntityData = {
|
|
7
7
|
uri: string;
|
|
8
8
|
label: string;
|
|
9
9
|
type: string;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
type WorkflowTaskRelationData = {
|
|
12
12
|
uri: string;
|
|
13
13
|
type: string;
|
|
14
14
|
startObjectUri: string;
|
|
@@ -16,8 +16,8 @@ declare type WorkflowTaskRelationData = {
|
|
|
16
16
|
startObjectLabel: string;
|
|
17
17
|
endObjectLabel: string;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
20
|
-
export
|
|
19
|
+
export type WorkflowTaskObjectData = WorkflowTaskEntityData | WorkflowTaskRelationData;
|
|
20
|
+
export type EnrichedWorkflowTaskData = WorkflowTaskData & {
|
|
21
21
|
objects?: WorkflowTaskObjectData[];
|
|
22
22
|
};
|
|
23
23
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { DashboardFacetConfig, DashboardView, DashboardViewTypes } from '@reltio/mdm-sdk';
|
|
3
3
|
import { ActivitiesViewFacetConfig, CustomActionViewFacetConfig, EntityByTypeViewFacetConfig, FilteredSavedSearchesFacetConfig, FilteredEntitiesFacetConfig } from '../types';
|
|
4
|
-
|
|
4
|
+
type Props = {
|
|
5
5
|
config: ActivitiesViewFacetConfig | CustomActionViewFacetConfig | DashboardFacetConfig | EntityByTypeViewFacetConfig | FilteredEntitiesFacetConfig | FilteredSavedSearchesFacetConfig | DashboardView;
|
|
6
6
|
type: string;
|
|
7
7
|
onToggleFullscreen: (id: string) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FilteredSavedSearchesFacetConfig } from '../../types/FilteredSavedSearchesFacetConfig';
|
|
3
|
-
|
|
3
|
+
type Props = {
|
|
4
4
|
config: FilteredSavedSearchesFacetConfig;
|
|
5
5
|
onToggleFullscreen: (id: string) => void;
|
|
6
6
|
isUpdated?: boolean;
|