@reltio/dashboard 1.4.1972 → 1.4.1974

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.
Files changed (35) hide show
  1. package/bundle.js +1 -1
  2. package/package.json +4 -4
  3. package/types/components/DashboardConfigItem/DashboardConfigItem.d.ts +1 -1
  4. package/types/components/DashboardDateRangeSelector/DashboardDateRangeSelector.d.ts +1 -1
  5. package/types/components/DashboardError/DashboardError.d.ts +2 -2
  6. package/types/components/DashboardLayout/DashboardLayout.d.ts +1 -1
  7. package/types/components/DashboardLayoutPanel/DashboardLayoutPanel.d.ts +2 -2
  8. package/types/components/DashboardLinearLoader/DashboardLinearLoader.d.ts +2 -2
  9. package/types/components/DashboardNoData/DashboardNoData.d.ts +2 -2
  10. package/types/components/DashboardPerspectiveHeader/DashboardPerspectiveHeader.d.ts +2 -2
  11. package/types/components/DashboardPopupMenu/DashboardPopupMenu.d.ts +2 -2
  12. package/types/components/EntityTable/EntityTable.d.ts +1 -1
  13. package/types/components/EntityTable/cell-renderers/EntityLabelRenderer.d.ts +2 -2
  14. package/types/components/EntityTable/cell-renderers/HeadCellRenderer.d.ts +2 -2
  15. package/types/components/InternalDashboardScreen/InternalDashboardScreen.d.ts +1 -1
  16. package/types/components/LayoutItemContent/LayoutItemContent.d.ts +1 -1
  17. package/types/components/LayoutItemHeader/LayoutItemHeader.d.ts +1 -1
  18. package/types/components/LayoutItemView/LayoutItemView.d.ts +1 -1
  19. package/types/components/StatsChart/StatsChart.d.ts +2 -2
  20. package/types/components/StatsChart/customized/CustomAxisTick.d.ts +2 -2
  21. package/types/components/StatsChart/customized/CustomLegend.d.ts +2 -2
  22. package/types/components/StatsChart/customized/CustomTooltip.d.ts +2 -2
  23. package/types/components/WorkflowTaskItem/WorkflowTaskItem.d.ts +2 -2
  24. package/types/components/WorkflowTaskItem/WorkflowTaskObject.d.ts +2 -2
  25. package/types/components/WorkflowTasksList/WorkflowTasksList.d.ts +2 -2
  26. package/types/index.d.ts +2 -2
  27. package/types/views/ViewsFactory.d.ts +2 -2
  28. package/types/views/chartBased/DashboardFacet.d.ts +1 -1
  29. package/types/views/chartBased/EntitiesByTypeViewFacet.d.ts +1 -1
  30. package/types/views/chartBased/ProfileStatsFacet.d.ts +1 -1
  31. package/types/views/custom/CustomActionViewFacet.d.ts +1 -1
  32. package/types/views/tableBased/ActivitiesViewFacet.d.ts +1 -1
  33. package/types/views/tableBased/FilteredEntitiesViewFacet.d.ts +1 -1
  34. package/types/views/tableBased/FilteredSavedSearchesFacet.d.ts +1 -1
  35. package/types/views/tableBased/NotificationInboxFacet.d.ts +1 -1
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@reltio/dashboard",
3
- "version": "1.4.1972",
3
+ "version": "1.4.1974",
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.1947",
9
- "@reltio/mdm-module": "^1.4.1886",
10
- "@reltio/mdm-sdk": "^1.4.1860",
8
+ "@reltio/components": "^1.4.1949",
9
+ "@reltio/mdm-module": "^1.4.1887",
10
+ "@reltio/mdm-sdk": "^1.4.1861",
11
11
  "object-hash": "^2.1.1"
12
12
  },
13
13
  "peerDependencies": {
@@ -7,5 +7,5 @@ type Props = {
7
7
  onRemove: (id: string) => void;
8
8
  onAdd: (id: string) => void;
9
9
  };
10
- declare const _default: React.MemoExoticComponent<({ view, isAdded, isNew, onRemove, onAdd }: Props) => JSX.Element>;
10
+ declare const _default: React.MemoExoticComponent<({ view, isAdded, isNew, onRemove, onAdd }: Props) => React.JSX.Element>;
11
11
  export default _default;
@@ -23,7 +23,7 @@ declare const _default: {
23
23
  maxDate?: Date;
24
24
  } & React.RefAttributes<HTMLDivElement>>;
25
25
  MenuProps?: Partial<import("@mui/material").MenuProps>;
26
- }): JSX.Element;
26
+ }): React.JSX.Element;
27
27
  displayName: string;
28
28
  };
29
29
  export default _default;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  type DashboardErrorProps = {
3
3
  onRefresh?: () => void;
4
4
  message?: string;
5
5
  };
6
- declare const DashboardError: ({ onRefresh, message }: DashboardErrorProps) => JSX.Element;
6
+ declare const DashboardError: ({ onRefresh, message }: DashboardErrorProps) => React.JSX.Element;
7
7
  export default DashboardError;
@@ -10,5 +10,5 @@ type DashboardLayoutProps = {
10
10
  onRemove: (id: string) => void;
11
11
  onAdd: (id: string) => void;
12
12
  };
13
- declare const _default: React.MemoExoticComponent<({ views, layout, onLayoutChanged, openConfigPanel, onCloseConfigPanel, onRemove, onAdd }: DashboardLayoutProps) => JSX.Element>;
13
+ declare const _default: React.MemoExoticComponent<({ views, layout, onLayoutChanged, openConfigPanel, onCloseConfigPanel, onRemove, onAdd }: DashboardLayoutProps) => React.JSX.Element>;
14
14
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ReltioGridLayoutItem } from '@reltio/mdm-sdk';
3
3
  import { DashboardViewWithStatus } from '../../types';
4
4
  type Props = {
@@ -8,5 +8,5 @@ type Props = {
8
8
  onAdd: (id: string) => void;
9
9
  onClose: () => void;
10
10
  };
11
- export declare const DashboardLayoutPanel: ({ views, layout, onRemove, onAdd, onClose }: Props) => JSX.Element;
11
+ export declare const DashboardLayoutPanel: ({ views, layout, onRemove, onAdd, onClose }: Props) => React.JSX.Element;
12
12
  export {};
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const DashboardLinearLoader: () => JSX.Element;
1
+ import React from 'react';
2
+ declare const DashboardLinearLoader: () => React.JSX.Element;
3
3
  export default DashboardLinearLoader;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const DashboardNoData: () => JSX.Element;
1
+ import React from 'react';
2
+ declare const DashboardNoData: () => React.JSX.Element;
3
3
  export default DashboardNoData;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { DashboardScreenConfig, ReltioGridLayoutItem } from '@reltio/mdm-sdk';
3
3
  type Props = {
4
4
  config: DashboardScreenConfig;
@@ -6,5 +6,5 @@ type Props = {
6
6
  onChangeLayout: (layout: ReltioGridLayoutItem[]) => void;
7
7
  onToggleConfigPanel: () => void;
8
8
  };
9
- export declare const DashboardPerspectiveHeader: ({ config, layout, onToggleConfigPanel, onChangeLayout }: Props) => JSX.Element;
9
+ export declare const DashboardPerspectiveHeader: ({ config, layout, onToggleConfigPanel, onChangeLayout }: Props) => React.JSX.Element;
10
10
  export {};
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  import MenuItem from '@mui/material/MenuItem';
3
3
  type MenuItem = {
4
4
  id: string;
@@ -11,5 +11,5 @@ type MenuItem = {
11
11
  type DashboardPopupMenuProps = {
12
12
  items: MenuItem[];
13
13
  };
14
- declare const DashboardPopupMenu: ({ items }: DashboardPopupMenuProps) => JSX.Element;
14
+ declare const DashboardPopupMenu: ({ items }: DashboardPopupMenuProps) => React.JSX.Element;
15
15
  export default DashboardPopupMenu;
@@ -6,5 +6,5 @@ type Props = {
6
6
  basicTableRef?: React.MutableRefObject<any> | null;
7
7
  data: EntityData[];
8
8
  };
9
- declare const EntityTable: ({ height, width, basicTableRef, data }: Props) => JSX.Element;
9
+ declare const EntityTable: ({ height, width, basicTableRef, data }: Props) => React.JSX.Element;
10
10
  export default EntityTable;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { EntityData } from '../../../types/EntityData';
3
3
  type Props = {
4
4
  value: string;
5
5
  rowValue: EntityData;
6
6
  };
7
- declare const EntityLabelRenderer: ({ value, rowValue: entity }: Props) => JSX.Element;
7
+ declare const EntityLabelRenderer: ({ value, rowValue: entity }: Props) => React.JSX.Element;
8
8
  export default EntityLabelRenderer;
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  type HeadCellRendererProps = {
3
3
  className?: string;
4
4
  headCellData: {
5
5
  label: string;
6
6
  };
7
7
  };
8
- declare const HeadCellRenderer: ({ className, headCellData, ...otherProps }: HeadCellRendererProps) => JSX.Element;
8
+ declare const HeadCellRenderer: ({ className, headCellData, ...otherProps }: HeadCellRendererProps) => React.JSX.Element;
9
9
  export default HeadCellRenderer;
@@ -7,5 +7,5 @@ type Props = {
7
7
  saveState: (state: DashboardSavedState) => void;
8
8
  getSavedState: () => Promise<DashboardSavedState>;
9
9
  };
10
- declare const _default: React.MemoExoticComponent<({ config: dashboardConfig, externalViewConfig, saveState, getSavedState }: Props) => JSX.Element>;
10
+ declare const _default: React.MemoExoticComponent<({ config: dashboardConfig, externalViewConfig, saveState, getSavedState }: Props) => React.JSX.Element>;
11
11
  export default _default;
@@ -13,5 +13,5 @@ type Props<T> = {
13
13
  className?: string;
14
14
  EmptyPlaceholder?: React.ReactNode;
15
15
  };
16
- declare const LayoutItemContent: <T>({ loadingState, onRefresh, children, data, className, EmptyPlaceholder }: Props<T>) => JSX.Element;
16
+ declare const LayoutItemContent: <T>({ loadingState, onRefresh, children, data, className, EmptyPlaceholder }: Props<T>) => React.JSX.Element;
17
17
  export default LayoutItemContent;
@@ -8,5 +8,5 @@ type Props = {
8
8
  onRemove?: (id: string) => void;
9
9
  children?: React.ReactNode;
10
10
  };
11
- declare const LayoutItemHeader: ({ title, onToggleFullscreen, isUpdated, isFullscreen, onRemove, onRefresh, children }: Props) => JSX.Element;
11
+ declare const LayoutItemHeader: ({ title, onToggleFullscreen, isUpdated, isFullscreen, onRemove, onRefresh, children }: Props) => React.JSX.Element;
12
12
  export default LayoutItemHeader;
@@ -3,5 +3,5 @@ type Props = {
3
3
  id: string;
4
4
  children: React.ReactNode;
5
5
  };
6
- declare const LayoutItemView: ({ id, children }: Props) => JSX.Element;
6
+ declare const LayoutItemView: ({ id, children }: Props) => React.JSX.Element;
7
7
  export default LayoutItemView;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { PeriodStep } from '../../types/PeriodStep';
3
3
  import { StatsData } from '../../types/StatsData';
4
4
  type Props = {
@@ -7,5 +7,5 @@ type Props = {
7
7
  height: number;
8
8
  step: PeriodStep;
9
9
  };
10
- declare const StatsChart: ({ data, width, height, step }: Props) => JSX.Element;
10
+ declare const StatsChart: ({ data, width, height, step }: Props) => React.JSX.Element;
11
11
  export default StatsChart;
@@ -1,4 +1,4 @@
1
- import { SVGProps } from 'react';
1
+ import React, { SVGProps } from 'react';
2
2
  import { PeriodStep } from '../../../types/PeriodStep';
3
3
  type AxisTickProps = SVGProps<SVGElement> & {
4
4
  step: PeriodStep;
@@ -6,5 +6,5 @@ type AxisTickProps = SVGProps<SVGElement> & {
6
6
  value: string;
7
7
  };
8
8
  };
9
- declare const CustomAxisTick: ({ x, y, payload, step }: AxisTickProps) => JSX.Element;
9
+ declare const CustomAxisTick: ({ x, y, payload, step }: AxisTickProps) => React.JSX.Element;
10
10
  export default CustomAxisTick;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { LegendProps } from 'recharts';
3
3
  type Props = Omit<LegendProps, 'onClick'> & {
4
4
  onClick: (event: string) => void;
5
5
  selectedItems: string[];
6
6
  };
7
- declare const CustomLegend: ({ payload, selectedItems, onClick }: Props) => JSX.Element;
7
+ declare const CustomLegend: ({ payload, selectedItems, onClick }: Props) => React.JSX.Element;
8
8
  export default CustomLegend;
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { TooltipProps } from 'recharts';
3
3
  import { PeriodStep } from '../../../types/PeriodStep';
4
4
  type Props = TooltipProps<number, string> & {
5
5
  step: PeriodStep;
6
6
  events: string[];
7
7
  };
8
- declare const CustomTooltip: ({ active, payload, label, step, events }: Props) => JSX.Element;
8
+ declare const CustomTooltip: ({ active, payload, label, step, events }: Props) => React.JSX.Element;
9
9
  export default CustomTooltip;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { EnrichedWorkflowTaskData } from '../../types';
3
3
  type Props = {
4
4
  showAssignee: boolean;
5
5
  task: EnrichedWorkflowTaskData;
6
6
  };
7
- declare const WorkflowTaskItem: ({ task, showAssignee }: Props) => JSX.Element;
7
+ declare const WorkflowTaskItem: ({ task, showAssignee }: Props) => React.JSX.Element;
8
8
  export default WorkflowTaskItem;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { EnrichedWorkflowTaskData, WorkflowTaskObjectData } from '../../types/WorkflowTasks';
3
3
  import { Metadata } from '@reltio/mdm-sdk';
4
4
  type Props = {
@@ -6,5 +6,5 @@ type Props = {
6
6
  metadata: Metadata;
7
7
  processType: EnrichedWorkflowTaskData['processType'];
8
8
  };
9
- declare const WorkflowTaskObject: ({ object, metadata, processType }: Props) => JSX.Element;
9
+ declare const WorkflowTaskObject: ({ object, metadata, processType }: Props) => React.JSX.Element;
10
10
  export default WorkflowTaskObject;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { WorkflowTasksCategories, EnrichedWorkflowTaskData } from '../../types/WorkflowTasks';
3
3
  type Props = {
4
4
  width: number;
@@ -6,5 +6,5 @@ type Props = {
6
6
  tasksCategory: WorkflowTasksCategories;
7
7
  tasks: EnrichedWorkflowTaskData[];
8
8
  };
9
- declare const WorkflowTasksList: ({ width, height, tasksCategory, tasks }: Props) => JSX.Element;
9
+ declare const WorkflowTasksList: ({ width, height, tasksCategory, tasks }: Props) => React.JSX.Element;
10
10
  export default WorkflowTasksList;
package/types/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { DashboardScreenConfig, DashboardView } from '@reltio/mdm-sdk';
3
3
  import { DashboardSavedState } from './types/DashboardSavedState';
4
4
  type Props = {
@@ -7,5 +7,5 @@ type Props = {
7
7
  saveState: (state: DashboardSavedState) => void;
8
8
  getSavedState: (clb: (state: DashboardSavedState) => void) => void;
9
9
  };
10
- declare const DashboardScreen: ({ config, externalViewConfig, saveState, getSavedState }: Props) => JSX.Element;
10
+ declare const DashboardScreen: ({ config, externalViewConfig, saveState, getSavedState }: Props) => React.JSX.Element;
11
11
  export default DashboardScreen;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ChartType, DashboardView } from '@reltio/mdm-sdk';
3
3
  type Props = {
4
4
  config: DashboardView;
@@ -8,7 +8,7 @@ type Props = {
8
8
  onRemove?: (id: string) => void;
9
9
  };
10
10
  declare class ViewsFactory {
11
- static getComponent: ({ config, isUpdated, isFullscreen, onToggleFullscreen, onRemove }: Props) => JSX.Element;
11
+ static getComponent: ({ config, isUpdated, isFullscreen, onToggleFullscreen, onRemove }: Props) => React.JSX.Element;
12
12
  static getChartType: (view: DashboardView) => ChartType;
13
13
  }
14
14
  export default ViewsFactory;
@@ -7,5 +7,5 @@ type DashboardFacetProps = {
7
7
  isFullscreen: boolean;
8
8
  onRemove?: (id: string) => void;
9
9
  };
10
- declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: DashboardFacetProps) => JSX.Element>;
10
+ declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: DashboardFacetProps) => React.JSX.Element>;
11
11
  export default _default;
@@ -7,5 +7,5 @@ type Props = {
7
7
  isFullscreen: boolean;
8
8
  onRemove?: (id: string) => void;
9
9
  };
10
- declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: Props) => JSX.Element>;
10
+ declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: Props) => React.JSX.Element>;
11
11
  export default _default;
@@ -7,5 +7,5 @@ type Props = {
7
7
  isFullscreen: boolean;
8
8
  onRemove?: (id: string) => void;
9
9
  };
10
- declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: Props) => JSX.Element>;
10
+ declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: Props) => React.JSX.Element>;
11
11
  export default _default;
@@ -7,5 +7,5 @@ type Props = {
7
7
  isFullscreen: boolean;
8
8
  onRemove?: (id: string) => void;
9
9
  };
10
- declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: Props) => JSX.Element>;
10
+ declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: Props) => React.JSX.Element>;
11
11
  export default _default;
@@ -7,5 +7,5 @@ type Props = {
7
7
  onRemove?: (id: string) => void;
8
8
  onToggleFullscreen: (id: string) => void;
9
9
  };
10
- declare const _default: React.MemoExoticComponent<({ config, isUpdated, isFullscreen, onToggleFullscreen, onRemove }: Props) => JSX.Element>;
10
+ declare const _default: React.MemoExoticComponent<({ config, isUpdated, isFullscreen, onToggleFullscreen, onRemove }: Props) => React.JSX.Element>;
11
11
  export default _default;
@@ -7,5 +7,5 @@ type Props = {
7
7
  onRemove?: (id: string) => void;
8
8
  onToggleFullscreen: (id: string) => void;
9
9
  };
10
- declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: Props) => JSX.Element>;
10
+ declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: Props) => React.JSX.Element>;
11
11
  export default _default;
@@ -7,5 +7,5 @@ type Props = {
7
7
  isFullscreen: boolean;
8
8
  onRemove?: (id: string) => void;
9
9
  };
10
- declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: Props) => JSX.Element>;
10
+ declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: Props) => React.JSX.Element>;
11
11
  export default _default;
@@ -7,5 +7,5 @@ type Props = {
7
7
  onRemove?: (id: string) => void;
8
8
  onToggleFullscreen: (id: string) => void;
9
9
  };
10
- declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: Props) => JSX.Element>;
10
+ declare const _default: React.MemoExoticComponent<({ config, onToggleFullscreen, isUpdated, isFullscreen, onRemove }: Props) => React.JSX.Element>;
11
11
  export default _default;