@reltio/dashboard 1.4.1375 → 1.4.1377
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 +4 -3
- package/types/HOCs/withPagination.d.ts +18 -0
- package/types/components/DashboardConfigItem/DashboardConfigItem.d.ts +11 -0
- package/types/components/DashboardConfigItem/styles.d.ts +1 -0
- package/types/components/DashboardError/DashboardError.d.ts +8 -0
- package/types/components/DashboardError/styles.d.ts +5 -0
- package/types/components/DashboardLayout/DashboardLayout.d.ts +14 -0
- package/types/components/DashboardLayout/styles.d.ts +1 -0
- package/types/components/DashboardLayoutItem/DashboardLayoutItem.d.ts +15 -0
- package/types/components/DashboardLayoutPanel/DashboardLayoutPanel.d.ts +12 -0
- package/types/components/DashboardLayoutPanel/styles.d.ts +1 -0
- package/types/components/DashboardLinearLoader/DashboardLinearLoader.d.ts +3 -0
- package/types/components/DashboardLinearLoader/styles.d.ts +1 -0
- package/types/components/DashboardNoData/DashboardNoData.d.ts +6 -0
- package/types/components/DashboardNoData/styles.d.ts +5 -0
- package/types/components/DashboardPerspectiveHeader/DashboardPerspectiveHeader.d.ts +7 -0
- package/types/components/DashboardPerspectiveHeader/styles.d.ts +2 -0
- package/types/components/DashboardPopupMenu/DashboardPopupMenu.d.ts +14 -0
- package/types/components/DashboardPopupMenu/styles.d.ts +1 -0
- package/types/components/EntityTable/EntityTable.d.ts +10 -0
- package/types/components/EntityTable/cell-renderers/EntityLabelRenderer.d.ts +8 -0
- package/types/components/EntityTable/cell-renderers/HeadCellRenderer.d.ts +9 -0
- package/types/components/EntityTable/cell-renderers/styles.d.ts +1 -0
- package/types/components/EntityTable/styles.d.ts +6 -0
- package/types/components/LayoutItemContent/LayoutItemContent.d.ts +17 -0
- package/types/components/LayoutItemContent/styles.d.ts +1 -0
- package/types/components/LayoutItemHeader/LayoutItemHeader.d.ts +12 -0
- package/types/components/LayoutItemHeader/styles.d.ts +1 -0
- package/types/components/LayoutItemView/LayoutItemView.d.ts +7 -0
- package/types/components/LayoutItemView/styles.d.ts +1 -0
- package/types/components/StatsChart/StatsChart.d.ts +11 -0
- package/types/components/StatsChart/customized/CustomAxisTick.d.ts +10 -0
- package/types/components/StatsChart/customized/CustomLegend.d.ts +7 -0
- package/types/components/StatsChart/customized/CustomTooltip.d.ts +9 -0
- package/types/components/StatsChart/customized/styles.d.ts +1 -0
- package/types/components/StatsChart/getStatsChartSettings.d.ts +11 -0
- package/types/components/WorkflowTaskItem/WorkflowTaskItem.d.ts +8 -0
- package/types/components/WorkflowTaskItem/WorkflowTaskObject.d.ts +10 -0
- package/types/components/WorkflowTaskItem/styles.d.ts +1 -0
- package/types/components/WorkflowTasksList/WorkflowTasksList.d.ts +10 -0
- package/types/components/index.d.ts +7 -0
- package/types/contexts/DashboardViewIdContext/index.d.ts +2 -0
- package/types/hooks/useActivitiesRequest.d.ts +13 -0
- package/types/hooks/useEntityByTypeRequest.d.ts +12 -0
- package/types/hooks/useFacetRequest.d.ts +17 -0
- package/types/hooks/useFilteredEntitiesRequest.d.ts +15 -0
- package/types/hooks/useSavedSearchesRequest.d.ts +15 -0
- package/types/hooks/useStatsRequest.d.ts +8 -0
- package/types/hooks/useWorkflowTasksRequest.d.ts +14 -0
- package/types/index.d.ts +5 -0
- package/types/perspective/DashboardPerspectiveView.d.ts +11 -0
- package/types/perspective/helpers.d.ts +14 -0
- package/types/perspective/index.d.ts +14 -0
- package/types/perspective/styles.d.ts +1 -0
- package/types/services/entityTypes.d.ts +4 -0
- package/types/services/facets.d.ts +21 -0
- package/types/services/filters.d.ts +13 -0
- package/types/services/period.d.ts +6 -0
- package/types/services/savedSearches.d.ts +4 -0
- package/types/services/stats.d.ts +15 -0
- package/types/services/workflowTasks.d.ts +3 -0
- package/types/types/ActivitiesViewFacetConfig.d.ts +4 -0
- package/types/types/CustomActionViewFacetConfig.d.ts +4 -0
- package/types/types/DashboardPerspectiveConfig.d.ts +15 -0
- package/types/types/DashboardSavedState.d.ts +6 -0
- package/types/types/EntityByTypeViewFacetConfig.d.ts +6 -0
- package/types/types/EntityData.d.ts +4 -0
- package/types/types/FilteredEntitiesFacetConfig.d.ts +5 -0
- package/types/types/FilteredSavedSearchesFacetConfig.d.ts +5 -0
- package/types/types/PeriodStep.d.ts +4 -0
- package/types/types/SavedSearchData.d.ts +6 -0
- package/types/types/SearchOptions.d.ts +9 -0
- package/types/types/StatsData.d.ts +9 -0
- package/types/types/WorkflowTasks.d.ts +23 -0
- package/types/types/index.d.ts +14 -0
- package/types/views/ViewsFactory.d.ts +19 -0
- package/types/views/chartBased/DashboardFacet.d.ts +11 -0
- package/types/views/chartBased/EntitiesByTypeViewFacet.d.ts +11 -0
- package/types/views/chartBased/ProfileStatsFacet.d.ts +11 -0
- package/types/views/chartBased/styles.d.ts +1 -0
- package/types/views/custom/CustomActionViewFacet.d.ts +11 -0
- package/types/views/custom/NotificationInboxFacet.d.ts +11 -0
- package/types/views/custom/styles.d.ts +1 -0
- package/types/views/tableBased/ActivitiesViewFacet.d.ts +11 -0
- package/types/views/tableBased/FilteredEntitiesViewFacet.d.ts +11 -0
- package/types/views/tableBased/FilteredSavedSearchesFacet.d.ts +11 -0
- package/types/views/tableBased/helpers.d.ts +2 -0
- package/types/views/tableBased/styles.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/dashboard",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1377",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE FILE",
|
|
5
5
|
"main": "bundle.js",
|
|
6
|
+
"types": "./types/index.d.ts",
|
|
6
7
|
"dependencies": {
|
|
7
8
|
"@date-io/moment": "^1.3.5",
|
|
8
|
-
"@reltio/mdm-module": "^1.4.
|
|
9
|
-
"@reltio/mdm-sdk": "^1.4.
|
|
9
|
+
"@reltio/mdm-module": "^1.4.1377",
|
|
10
|
+
"@reltio/mdm-sdk": "^1.4.1377",
|
|
10
11
|
"classnames": "^2.2.5",
|
|
11
12
|
"memoize-one": "^5.1.0",
|
|
12
13
|
"object-hash": "^2.1.1",
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type RefProps = {
|
|
3
|
+
basicTableRef?: React.MutableRefObject<any> | null;
|
|
4
|
+
};
|
|
5
|
+
declare type Props = {
|
|
6
|
+
count?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
onChangePage?: (page: number) => void;
|
|
9
|
+
page?: number;
|
|
10
|
+
rowsPerPageOptions?: number[];
|
|
11
|
+
rowsPerPage?: number;
|
|
12
|
+
onChangeRowsPerPage?: (page: number) => void;
|
|
13
|
+
};
|
|
14
|
+
export declare function withPagination<T>(TableComponent: React.ComponentType<T>): {
|
|
15
|
+
(props: Props & Omit<T, keyof RefProps>): JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DashboardView } from '@reltio/mdm-sdk';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
view: DashboardView;
|
|
5
|
+
isAdded: boolean;
|
|
6
|
+
isNew: boolean;
|
|
7
|
+
onRemove: (id: string) => void;
|
|
8
|
+
onAdd: (id: string) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: React.MemoExoticComponent<({ view, isAdded, isNew, onRemove, onAdd }: Props) => JSX.Element>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"button" | "config" | "backdrop" | "viewContent" | "noBoxShadow" | "addedChart" | "chartIcon" | "previewChartTitle" | "newChartChip" | "backdropRemoved" | "backdropAdded" | "chartTitle">;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type DashboardErrorProps = {
|
|
3
|
+
height?: number;
|
|
4
|
+
onRefresh?: () => void;
|
|
5
|
+
message?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const DashboardError: ({ height, onRefresh, message }: DashboardErrorProps) => JSX.Element;
|
|
8
|
+
export default DashboardError;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ReltioGridLayoutItem } from '@reltio/mdm-sdk';
|
|
3
|
+
import { DashboardView } from '../../types';
|
|
4
|
+
declare type DashboardLayoutProps = {
|
|
5
|
+
views: DashboardView[];
|
|
6
|
+
layout?: ReltioGridLayoutItem[];
|
|
7
|
+
onLayoutChanged: (layout: ReltioGridLayoutItem[]) => void;
|
|
8
|
+
openConfigPanel?: boolean;
|
|
9
|
+
onCloseConfigPanel: () => void;
|
|
10
|
+
onRemove: (id: string) => void;
|
|
11
|
+
onAdd: (id: string) => void;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: React.MemoExoticComponent<({ views, layout, onLayoutChanged, openConfigPanel, onCloseConfigPanel, onRemove, onAdd }: DashboardLayoutProps) => JSX.Element>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"content" | "pageWrapper" | "rightPanel" | "mainPanel">;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ReactGridLayoutItem } from '@reltio/components';
|
|
3
|
+
import { DashboardView } from '../../types';
|
|
4
|
+
declare type Props = {
|
|
5
|
+
className?: string;
|
|
6
|
+
isFullscreen: boolean;
|
|
7
|
+
style: React.CSSProperties;
|
|
8
|
+
onRemove: (id: string) => void;
|
|
9
|
+
onToggleFullscreen: (id: string) => void;
|
|
10
|
+
views: DashboardView[];
|
|
11
|
+
layoutItemConfig: ReactGridLayoutItem;
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
};
|
|
14
|
+
export declare const DashboardLayoutItem: ({ layoutItemConfig, views, onToggleFullscreen, onRemove, isFullscreen, className, children: ResizeComponent, style, ...props }: Props) => JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ReltioGridLayoutItem } from '@reltio/mdm-sdk';
|
|
3
|
+
import { DashboardView } from '../../types';
|
|
4
|
+
declare type Props = {
|
|
5
|
+
views: DashboardView[];
|
|
6
|
+
layout: ReltioGridLayoutItem[];
|
|
7
|
+
onRemove: (id: string) => void;
|
|
8
|
+
onAdd: (id: string) => void;
|
|
9
|
+
onClose: () => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const DashboardLayoutPanel: ({ views, layout, onRemove, onAdd, onClose }: Props) => JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"root" | "header" | "description" | "items" | "headerTitle" | "closeButton">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"loader">;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import MenuItem from '@material-ui/core/MenuItem';
|
|
3
|
+
interface MenuItem {
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
icon: ReactNode;
|
|
7
|
+
active: boolean;
|
|
8
|
+
action: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare type DashboardPopupMenuProps = {
|
|
11
|
+
items: MenuItem[];
|
|
12
|
+
};
|
|
13
|
+
declare const DashboardPopupMenu: ({ items }: DashboardPopupMenuProps) => JSX.Element;
|
|
14
|
+
export default DashboardPopupMenu;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"menuItem" | "itemTitle" | "itemIcon" | "openIcon">;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { EntityData } from '../../types/EntityData';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
basicTableRef?: React.MutableRefObject<any> | null;
|
|
7
|
+
data: EntityData[];
|
|
8
|
+
};
|
|
9
|
+
declare const EntityTable: ({ height, width, basicTableRef, data }: Props) => JSX.Element;
|
|
10
|
+
export default EntityTable;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { EntityData } from '../../../types/EntityData';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
value: string;
|
|
5
|
+
rowValue: EntityData;
|
|
6
|
+
};
|
|
7
|
+
declare const EntityLabelRenderer: ({ value, rowValue: entity }: Props) => JSX.Element;
|
|
8
|
+
export default EntityLabelRenderer;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type HeadCellRendererProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
headCellData: {
|
|
5
|
+
label: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
declare const HeadCellRenderer: ({ className, headCellData, ...otherProps }: HeadCellRendererProps) => JSX.Element;
|
|
9
|
+
export default HeadCellRenderer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"entityLabel" | "headCell" | "headLabel">;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RequestStates } from '@reltio/components';
|
|
3
|
+
declare type ChildrenProps<T> = {
|
|
4
|
+
data: T[];
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
};
|
|
8
|
+
declare type Props<T> = {
|
|
9
|
+
loadingState: RequestStates;
|
|
10
|
+
children: (props: ChildrenProps<T>) => React.ReactNode;
|
|
11
|
+
onRefresh: () => void;
|
|
12
|
+
data: T[];
|
|
13
|
+
className?: string;
|
|
14
|
+
EmptyPlaceholder?: React.ReactNode;
|
|
15
|
+
};
|
|
16
|
+
declare const LayoutItemContent: <T extends unknown>({ loadingState, onRefresh, children, data, className, EmptyPlaceholder }: Props<T>) => JSX.Element;
|
|
17
|
+
export default LayoutItemContent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"title" | "viewContent" | "toolbarRoot" | "dragIcon">;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
onToggleFullscreen: (id: string) => void;
|
|
5
|
+
isFullscreen: boolean;
|
|
6
|
+
isUpdated?: boolean;
|
|
7
|
+
onRefresh?: () => void;
|
|
8
|
+
onRemove?: (id: string) => void;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
};
|
|
11
|
+
declare const LayoutItemHeader: ({ title, onToggleFullscreen, isUpdated, isFullscreen, onRemove, onRefresh, children }: Props) => JSX.Element;
|
|
12
|
+
export default LayoutItemHeader;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"title" | "toolbarRoot" | "dragIcon" | "rightMenu" | "updatedChip">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"view">;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PeriodStep } from '../../types/PeriodStep';
|
|
3
|
+
import { StatsData } from '../../types/StatsData';
|
|
4
|
+
declare type Props = {
|
|
5
|
+
data: StatsData[];
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
step: PeriodStep;
|
|
9
|
+
};
|
|
10
|
+
declare const StatsChart: ({ data, width, height, step }: Props) => JSX.Element;
|
|
11
|
+
export default StatsChart;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
import { PeriodStep } from '../../../types/PeriodStep';
|
|
3
|
+
declare type AxisTickProps = SVGProps<SVGElement> & {
|
|
4
|
+
step: PeriodStep;
|
|
5
|
+
payload?: {
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
declare const CustomAxisTick: ({ x, y, payload, step }: AxisTickProps) => JSX.Element;
|
|
10
|
+
export default CustomAxisTick;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TooltipProps } from 'recharts';
|
|
3
|
+
import { PeriodStep } from '../../../types/PeriodStep';
|
|
4
|
+
declare type Props = TooltipProps & {
|
|
5
|
+
step: PeriodStep;
|
|
6
|
+
events: string[];
|
|
7
|
+
};
|
|
8
|
+
declare const CustomTooltip: ({ active, payload, label, step, events }: Props) => JSX.Element;
|
|
9
|
+
export default CustomTooltip;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"legend" | "tooltipTitle" | "tooltipWrapper" | "tooltipItemColor" | "legendItem" | "legendItemColor" | "legendItemValue">;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CartesianGridProps, LegendProps, LineProps, TooltipProps, XAxisProps, YAxisProps } from 'recharts';
|
|
2
|
+
declare type StatsChartSettings = {
|
|
3
|
+
xAxis: XAxisProps;
|
|
4
|
+
yAxis: YAxisProps;
|
|
5
|
+
cartesianGrid: CartesianGridProps;
|
|
6
|
+
tooltip: TooltipProps;
|
|
7
|
+
line: LineProps;
|
|
8
|
+
legend: LegendProps;
|
|
9
|
+
};
|
|
10
|
+
declare const getStatsChartSettings: () => StatsChartSettings;
|
|
11
|
+
export default getStatsChartSettings;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { EnrichedWorkflowTaskData } from '../../types';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
showAssignee: boolean;
|
|
5
|
+
task: EnrichedWorkflowTaskData;
|
|
6
|
+
};
|
|
7
|
+
declare const WorkflowTaskItem: ({ task, showAssignee }: Props) => JSX.Element;
|
|
8
|
+
export default WorkflowTaskItem;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { EnrichedWorkflowTaskData, WorkflowTaskObjectData } from '../../types/WorkflowTasks';
|
|
3
|
+
import { Metadata } from '@reltio/mdm-sdk';
|
|
4
|
+
declare type Props = {
|
|
5
|
+
object: WorkflowTaskObjectData;
|
|
6
|
+
metadata: Metadata;
|
|
7
|
+
processType: EnrichedWorkflowTaskData['processType'];
|
|
8
|
+
};
|
|
9
|
+
declare const WorkflowTaskObject: ({ object, metadata, processType }: Props) => JSX.Element;
|
|
10
|
+
export default WorkflowTaskObject;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"hidden" | "entityLabel" | "flag" | "taskItem" | "taskInfo" | "taskTitle" | "taskDetail" | "taskDetailTitle" | "taskDueDate" | "overdue">;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { WorkflowTasksCategories, EnrichedWorkflowTaskData } from '../../types/WorkflowTasks';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
tasksCategory: WorkflowTasksCategories;
|
|
7
|
+
tasks: EnrichedWorkflowTaskData[];
|
|
8
|
+
};
|
|
9
|
+
declare const WorkflowTasksList: ({ width, height, tasksCategory, tasks }: Props) => JSX.Element;
|
|
10
|
+
export default WorkflowTasksList;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as DashboardNoData } from './DashboardNoData/DashboardNoData';
|
|
2
|
+
export { default as DashboardLinearLoader } from './DashboardLinearLoader/DashboardLinearLoader';
|
|
3
|
+
export { default as DashboardError } from './DashboardError/DashboardError';
|
|
4
|
+
export { default as DashboardPopupMenu } from './DashboardPopupMenu/DashboardPopupMenu';
|
|
5
|
+
export { default as DashboardLayoutItemView } from './LayoutItemView/LayoutItemView';
|
|
6
|
+
export { default as DashboardLayoutItemHeader } from './LayoutItemHeader/LayoutItemHeader';
|
|
7
|
+
export { default as DashboardLayoutItemContent } from './LayoutItemContent/LayoutItemContent';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ActivitiesFilter, ActivityData, RequestStates } from '@reltio/components';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
filter: ActivitiesFilter;
|
|
4
|
+
max: number;
|
|
5
|
+
offset: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const useActivitiesRequest: ({ filter, max, offset }: Props) => {
|
|
8
|
+
state: RequestStates;
|
|
9
|
+
data: ActivityData[];
|
|
10
|
+
total: number;
|
|
11
|
+
reload: () => void;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChartData, RequestStates } from '@reltio/components';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
hideEmpty?: boolean;
|
|
4
|
+
orderType?: string;
|
|
5
|
+
inheritChildren?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const useEntityByTypeRequest: ({ orderType, inheritChildren, hideEmpty }: Props) => {
|
|
8
|
+
state: RequestStates;
|
|
9
|
+
data: ChartData[];
|
|
10
|
+
reload: () => void;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DashboardConfigFilter } from '@reltio/mdm-sdk';
|
|
2
|
+
import { ChartData, RequestStates } from '@reltio/components';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
filters: DashboardConfigFilter[];
|
|
5
|
+
attributeUri: string;
|
|
6
|
+
pageSize: number;
|
|
7
|
+
orderType?: string;
|
|
8
|
+
options?: {
|
|
9
|
+
showOthers: boolean;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const useFacetRequest: ({ filters: facetFilters, attributeUri, pageSize, orderType, options }: Props) => {
|
|
13
|
+
state: RequestStates;
|
|
14
|
+
data: ChartData[];
|
|
15
|
+
reload: () => void;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RequestStates } from '@reltio/components';
|
|
2
|
+
import { DashboardConfigFilter } from '@reltio/mdm-sdk';
|
|
3
|
+
import { EntityData } from '../types/EntityData';
|
|
4
|
+
declare type Props = {
|
|
5
|
+
filters: DashboardConfigFilter[];
|
|
6
|
+
offset: number;
|
|
7
|
+
max: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const useFilteredEntitiesRequest: ({ filters, max, offset }: Props) => {
|
|
10
|
+
state: RequestStates;
|
|
11
|
+
data: EntityData[];
|
|
12
|
+
reload: () => void;
|
|
13
|
+
total: number;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RequestStates } from '@reltio/components';
|
|
2
|
+
import { SavedSearchesOptions } from '@reltio/mdm-sdk';
|
|
3
|
+
import { SavedSearchData } from '../types/SavedSearchData';
|
|
4
|
+
declare type Props = {
|
|
5
|
+
options: SavedSearchesOptions;
|
|
6
|
+
offset: number;
|
|
7
|
+
max: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const useSavedSearchesRequest: ({ options, offset, max }: Props) => {
|
|
10
|
+
state: RequestStates;
|
|
11
|
+
data: SavedSearchData[];
|
|
12
|
+
reload: () => void;
|
|
13
|
+
total: number;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StatsData } from '../types/StatsData';
|
|
2
|
+
import { DatePeriod } from '@reltio/mdm-sdk';
|
|
3
|
+
import { RequestStates } from '@reltio/components';
|
|
4
|
+
export declare const useStatsRequest: (period: DatePeriod) => {
|
|
5
|
+
state: RequestStates;
|
|
6
|
+
data: StatsData[];
|
|
7
|
+
reload: () => void;
|
|
8
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RequestStates } from '@reltio/components';
|
|
2
|
+
import { EnrichedWorkflowTaskData, WorkflowTasksCategories } from '../types/WorkflowTasks';
|
|
3
|
+
declare type Options = {
|
|
4
|
+
tasksCategory: WorkflowTasksCategories;
|
|
5
|
+
max?: number;
|
|
6
|
+
offset?: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const useWorkflowTasksRequest: (options: Options) => {
|
|
9
|
+
state: RequestStates;
|
|
10
|
+
data: EnrichedWorkflowTaskData[];
|
|
11
|
+
reload: () => void;
|
|
12
|
+
total: number;
|
|
13
|
+
};
|
|
14
|
+
export {};
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DashboardPerspective } from './perspective';
|
|
2
|
+
import { DashboardLayoutItemView, DashboardLayoutItemHeader, DashboardLayoutItemContent, DashboardLinearLoader, DashboardNoData, DashboardError } from './components';
|
|
3
|
+
import ViewsFactory from './views/ViewsFactory';
|
|
4
|
+
import { useFacetRequest } from './hooks/useFacetRequest';
|
|
5
|
+
export { DashboardPerspective, DashboardLayoutItemView, DashboardLayoutItemHeader, DashboardLayoutItemContent, DashboardLinearLoader, DashboardNoData, DashboardError, ViewsFactory, useFacetRequest };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DashboardPerspectiveConfig } from '@reltio/mdm-sdk';
|
|
3
|
+
import { DashboardSavedState } from '../types/DashboardSavedState';
|
|
4
|
+
declare type DashboardPerspectiveView = {
|
|
5
|
+
config: DashboardPerspectiveConfig;
|
|
6
|
+
saveState: (state: DashboardSavedState) => void;
|
|
7
|
+
getSavedState: () => Promise<DashboardSavedState>;
|
|
8
|
+
};
|
|
9
|
+
declare const DashboardPerspectiveView: ({ config, saveState, getSavedState }: DashboardPerspectiveView) => JSX.Element;
|
|
10
|
+
declare const _default: React.MemoExoticComponent<({ config, saveState, getSavedState }: DashboardPerspectiveView) => JSX.Element>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ViewStatus } from '../types';
|
|
2
|
+
export declare const createReltioLayout: (id: string) => {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
minWidth: any;
|
|
8
|
+
minHeight: number;
|
|
9
|
+
maxWidth: any;
|
|
10
|
+
maxHeight: any;
|
|
11
|
+
id: string;
|
|
12
|
+
isStatic: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare const getViewStatus: (viewHash: string, savedHash?: string) => ViewStatus;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Store } from 'redux';
|
|
3
|
+
import { DashboardPerspectiveConfig } from '@reltio/mdm-sdk';
|
|
4
|
+
import { DashboardPerspectiveLegacyConfig } from '../types/DashboardPerspectiveConfig';
|
|
5
|
+
import { DashboardSavedState } from '../types/DashboardSavedState';
|
|
6
|
+
declare type Props = {
|
|
7
|
+
config: DashboardPerspectiveConfig | DashboardPerspectiveLegacyConfig;
|
|
8
|
+
store: Store<unknown>;
|
|
9
|
+
onResize?: (width: number, height: number) => void;
|
|
10
|
+
saveState: (state: DashboardSavedState) => void;
|
|
11
|
+
getSavedState: (clb: (state: DashboardSavedState) => void) => void;
|
|
12
|
+
};
|
|
13
|
+
declare const DashboardPerspective: ({ config, store, onResize, saveState, getSavedState }: Props) => JSX.Element;
|
|
14
|
+
export { DashboardPerspective };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"perspectiveView">;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AttributeType, DashboardConfigFilter, Metadata } from '@reltio/mdm-sdk';
|
|
2
|
+
import { ChartData } from '@reltio/components';
|
|
3
|
+
declare type FacetsRequest = {
|
|
4
|
+
attribute: string;
|
|
5
|
+
filters: DashboardConfigFilter[];
|
|
6
|
+
globalFilter?: string;
|
|
7
|
+
searchByOv?: boolean;
|
|
8
|
+
activityFilter?: string;
|
|
9
|
+
pageSize?: number;
|
|
10
|
+
orderType?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const requestFacets: ({ attribute, filters, globalFilter, searchByOv, activityFilter, pageSize, orderType }: FacetsRequest) => Promise<ChartData[]>;
|
|
13
|
+
export declare const resolveLookups: any;
|
|
14
|
+
export declare const requestOtherValues: any;
|
|
15
|
+
export declare const localizeFacetValues: any;
|
|
16
|
+
export declare const resolveFacetLabels: (metadata: Metadata, attrType: AttributeType) => any;
|
|
17
|
+
export declare const getFacetFieldName: any;
|
|
18
|
+
export declare const getFiltersForFacet: (attributeUri: string, filters?: DashboardConfigFilter[]) => DashboardConfigFilter[];
|
|
19
|
+
export declare const getFiltersForFacetItem: any;
|
|
20
|
+
export declare const facetFiltersToSearchState: any;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DashboardConfigFilter, SearchFilter } from '@reltio/mdm-sdk';
|
|
2
|
+
export declare const configFilterToSearchFilter: any;
|
|
3
|
+
export declare const buildQuery: (filters: DashboardConfigFilter[], globalFilter?: string, searchByOv?: boolean, activityFilter?: string) => string;
|
|
4
|
+
export declare const createNotEqualFilter: any;
|
|
5
|
+
export declare const convertSearchFilterToDashboardConfigFilter: (searchFilter: SearchFilter) => DashboardConfigFilter;
|
|
6
|
+
export declare const createEntityTypeFilter: (entityTypeUri: string) => {
|
|
7
|
+
filter: string;
|
|
8
|
+
fieldName: string;
|
|
9
|
+
values: string[];
|
|
10
|
+
};
|
|
11
|
+
export declare const createFacetItemFilter: any;
|
|
12
|
+
export declare const convertFilterToFacetState: any;
|
|
13
|
+
export declare const isEntityTypeFilter: ({ filter, fieldName, values }: DashboardConfigFilter, entityTypeUri: string) => boolean;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DatePeriod } from '@reltio/mdm-sdk';
|
|
2
|
+
declare const getStepForPeriod: any;
|
|
3
|
+
declare type GetDateRangeByValue = (value: DatePeriod | [number, number]) => [number, number];
|
|
4
|
+
export declare const getDashboardDateRangeByValue: GetDateRangeByValue;
|
|
5
|
+
declare const getValuesDateRange: any;
|
|
6
|
+
export { getStepForPeriod, getValuesDateRange };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ChartData } from '@reltio/components';
|
|
2
|
+
import { SavedSearchData } from '../types/SavedSearchData';
|
|
3
|
+
export declare const savedSearchDataToChartData: (data: SavedSearchData[]) => ChartData[];
|
|
4
|
+
export declare const savedSearchDataToSearchState: ({ uiState, uri }: SavedSearchData) => any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DatePeriod } from '@reltio/mdm-sdk';
|
|
2
|
+
import { StatsData } from '../types/StatsData';
|
|
3
|
+
import { AxisDomain } from 'recharts';
|
|
4
|
+
declare const StatsEvents: {
|
|
5
|
+
id: string;
|
|
6
|
+
types: string[];
|
|
7
|
+
readonly label: string;
|
|
8
|
+
color: string;
|
|
9
|
+
}[];
|
|
10
|
+
declare const getStatsEventName: any;
|
|
11
|
+
declare const getStatsEventColor: any;
|
|
12
|
+
declare const requestStats: (period: DatePeriod) => Promise<StatsData[]>;
|
|
13
|
+
declare const calibrateStatsData: any;
|
|
14
|
+
declare const getChartDomain: (chartData: StatsData[], tickCount: number) => [AxisDomain, AxisDomain];
|
|
15
|
+
export { StatsEvents, requestStats, getStatsEventName, getStatsEventColor, calibrateStatsData, getChartDomain };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DashboardView as DashboardViewConfig, Layout } from '@reltio/mdm-sdk';
|
|
2
|
+
export declare enum ViewStatus {
|
|
3
|
+
UPDATED = "updated",
|
|
4
|
+
NEW = "new",
|
|
5
|
+
PERSISTED = "persisted"
|
|
6
|
+
}
|
|
7
|
+
export declare type DashboardView = {
|
|
8
|
+
config: DashboardViewConfig;
|
|
9
|
+
status: ViewStatus;
|
|
10
|
+
};
|
|
11
|
+
export declare type DashboardPerspectiveLegacyConfig = {
|
|
12
|
+
id: string;
|
|
13
|
+
layout: Layout;
|
|
14
|
+
version: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { WorkflowTaskData } from '@reltio/mdm-sdk';
|
|
2
|
+
export declare enum WorkflowTasksCategories {
|
|
3
|
+
MY = "my",
|
|
4
|
+
TEAM = "team"
|
|
5
|
+
}
|
|
6
|
+
declare type WorkflowTaskEntityData = {
|
|
7
|
+
uri: string;
|
|
8
|
+
label: string;
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
11
|
+
declare type WorkflowTaskRelationData = {
|
|
12
|
+
uri: string;
|
|
13
|
+
type: string;
|
|
14
|
+
startObjectUri: string;
|
|
15
|
+
endObjectUri: string;
|
|
16
|
+
startObjectLabel: string;
|
|
17
|
+
endObjectLabel: string;
|
|
18
|
+
};
|
|
19
|
+
export declare type WorkflowTaskObjectData = WorkflowTaskEntityData | WorkflowTaskRelationData;
|
|
20
|
+
export declare type EnrichedWorkflowTaskData = WorkflowTaskData & {
|
|
21
|
+
objects?: WorkflowTaskObjectData[];
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type { CustomActionViewFacetConfig } from './CustomActionViewFacetConfig';
|
|
2
|
+
export type { ActivitiesViewFacetConfig } from './ActivitiesViewFacetConfig';
|
|
3
|
+
export type { DashboardPerspectiveLegacyConfig, DashboardView } from './DashboardPerspectiveConfig';
|
|
4
|
+
export type { DashboardSavedState } from './DashboardSavedState';
|
|
5
|
+
export type { EntityByTypeViewFacetConfig } from './EntityByTypeViewFacetConfig';
|
|
6
|
+
export type { EntityData } from './EntityData';
|
|
7
|
+
export type { FilteredEntitiesFacetConfig } from './FilteredEntitiesFacetConfig';
|
|
8
|
+
export type { FilteredSavedSearchesFacetConfig } from './FilteredSavedSearchesFacetConfig';
|
|
9
|
+
export type { PeriodStep } from './PeriodStep';
|
|
10
|
+
export type { SavedSearchData } from './SavedSearchData';
|
|
11
|
+
export type { SearchOptions, GlobalSearchRequestOptions } from './SearchOptions';
|
|
12
|
+
export type { StatsData, StatsEventData } from './StatsData';
|
|
13
|
+
export type { EnrichedWorkflowTaskData, WorkflowTaskObjectData, WorkflowTasksCategories } from './WorkflowTasks';
|
|
14
|
+
export { ViewStatus } from './DashboardPerspectiveConfig';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DashboardFacetConfig, DashboardView, DashboardViewTypes } from '@reltio/mdm-sdk';
|
|
3
|
+
import { ActivitiesViewFacetConfig, CustomActionViewFacetConfig, EntityByTypeViewFacetConfig, FilteredSavedSearchesFacetConfig, FilteredEntitiesFacetConfig } from '../types';
|
|
4
|
+
declare type Props = {
|
|
5
|
+
config: ActivitiesViewFacetConfig | CustomActionViewFacetConfig | DashboardFacetConfig | EntityByTypeViewFacetConfig | FilteredEntitiesFacetConfig | FilteredSavedSearchesFacetConfig | DashboardView;
|
|
6
|
+
type: string;
|
|
7
|
+
onToggleFullscreen: (id: string) => void;
|
|
8
|
+
isUpdated?: boolean;
|
|
9
|
+
isFullscreen: boolean;
|
|
10
|
+
onRemove?: (id: string) => void;
|
|
11
|
+
};
|
|
12
|
+
declare class ViewsFactory {
|
|
13
|
+
static ViewTypes: typeof DashboardViewTypes;
|
|
14
|
+
static getComponent: ({ config, type, isUpdated, isFullscreen, onToggleFullscreen, onRemove }: Props) => JSX.Element;
|
|
15
|
+
static getChartType: (view: DashboardView & {
|
|
16
|
+
chartType?: string;
|
|
17
|
+
}) => string;
|
|
18
|
+
}
|
|
19
|
+
export default ViewsFactory;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DashboardFacetConfig } from '@reltio/mdm-sdk';
|
|
3
|
+
declare type DashboardFacetProps = {
|
|
4
|
+
config: DashboardFacetConfig;
|
|
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 }: DashboardFacetProps) => JSX.Element>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { EntityByTypeViewFacetConfig } from '../../types/EntityByTypeViewFacetConfig';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
config: EntityByTypeViewFacetConfig;
|
|
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) => JSX.Element>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DashboardView } from '@reltio/mdm-sdk';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
config: DashboardView;
|
|
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) => JSX.Element>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"periodSelector">;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CustomActionViewFacetConfig } from '../../types/CustomActionViewFacetConfig';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
config: CustomActionViewFacetConfig;
|
|
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) => JSX.Element>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { WorkflowInboxFacetConfig } from '@reltio/mdm-sdk';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
config: WorkflowInboxFacetConfig;
|
|
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) => JSX.Element>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"pagination" | "iframe" | "viewContent" | "tasksSelector" | "tasksSelectorInput">;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ActivitiesViewFacetConfig } from '../../types/ActivitiesViewFacetConfig';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
config: ActivitiesViewFacetConfig;
|
|
5
|
+
onToggleFullscreen: (id: string) => void;
|
|
6
|
+
isUpdated?: boolean;
|
|
7
|
+
isFullscreen: boolean;
|
|
8
|
+
onRemove?: (id: string) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: React.MemoExoticComponent<({ config, isUpdated, isFullscreen, onToggleFullscreen, onRemove }: Props) => JSX.Element>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FilteredEntitiesFacetConfig } from '../../types/FilteredEntitiesFacetConfig';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
config: FilteredEntitiesFacetConfig;
|
|
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) => JSX.Element>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FilteredSavedSearchesFacetConfig } from '../../types/FilteredSavedSearchesFacetConfig';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
config: FilteredSavedSearchesFacetConfig;
|
|
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) => JSX.Element>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"activityLogFilter">;
|