@reltio/dashboard 1.4.2118 → 1.4.2120
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/DefaultHeadCellRendererWithTooltip/DefaultHeadCellRendererWithTooltip.d.ts +14 -0
- package/types/components/src/DefaultHeadCellRendererWithTooltip/index.d.ts +2 -0
- package/types/components/src/ReactSelectDropdownIndicator/styles.d.ts +1 -1
- package/types/components/src/ReltioMap/components/TopRightMapControls/TopRightMapControls.d.ts +1 -1
- package/types/components/src/TableWithBars/components/HeadCellRenderer/HeadCellRenderer.d.ts +2 -8
- package/types/components/src/test-utils/index.d.ts +32 -0
- package/types/dashboard/src/components/DashboardSegmentsTable/CellRenderers/index.d.ts +3 -0
- package/types/{components/src/SegmentsTable/SegmentsTable.d.ts → dashboard/src/components/DashboardSegmentsTable/DashboardSegmentsTable.d.ts} +2 -2
- package/types/dashboard/src/components/DashboardSegmentsTable/DashboardSegmentsTable.test.d.ts +1 -0
- package/types/{components/src/SegmentsTable → dashboard/src/components/DashboardSegmentsTable}/helpers.d.ts +1 -1
- package/types/dashboard/src/components/DashboardSegmentsTable/index.d.ts +1 -0
- package/types/dashboard/src/components/EntityTable/cell-renderers/HeadCellRenderer.d.ts +2 -7
- package/types/components/src/SegmentsTable/components/AttributeCellRenderer/AttributeCellRenderer.d.ts +0 -6
- package/types/components/src/SegmentsTable/components/AttributeCellRenderer/index.d.ts +0 -1
- package/types/components/src/SegmentsTable/components/AudienceCountCellRenderer/AudienceCountCellRenderer.d.ts +0 -6
- package/types/components/src/SegmentsTable/components/AudienceCountCellRenderer/index.d.ts +0 -1
- package/types/components/src/SegmentsTable/components/HeadCellRenderer/HeadCellRenderer.d.ts +0 -9
- package/types/components/src/SegmentsTable/components/HeadCellRenderer/index.d.ts +0 -1
- package/types/components/src/SegmentsTable/index.d.ts +0 -1
- /package/types/{components/src/SegmentsTable/components → dashboard/src/components/DashboardSegmentsTable/CellRenderers}/BarCellRenderer/BarCellRenderer.d.ts +0 -0
- /package/types/{components/src/SegmentsTable/components → dashboard/src/components/DashboardSegmentsTable/CellRenderers}/BarCellRenderer/index.d.ts +0 -0
- /package/types/{components/src/SegmentsTable/components → dashboard/src/components/DashboardSegmentsTable/CellRenderers}/BarHeadCellRenderer/BarHeadCellRenderer.d.ts +0 -0
- /package/types/{components/src/SegmentsTable/components → dashboard/src/components/DashboardSegmentsTable/CellRenderers}/BarHeadCellRenderer/index.d.ts +0 -0
- /package/types/{components/src/SegmentsTable/components → dashboard/src/components/DashboardSegmentsTable/CellRenderers}/LabelCellRenderer/LabelCellRenderer.d.ts +0 -0
- /package/types/{components/src/SegmentsTable/components → dashboard/src/components/DashboardSegmentsTable/CellRenderers}/LabelCellRenderer/index.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/dashboard",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2120",
|
|
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.2088",
|
|
9
|
+
"@reltio/mdm-module": "^1.4.1962",
|
|
10
|
+
"@reltio/mdm-sdk": "^1.4.1928",
|
|
11
11
|
"object-hash": "^2.1.1"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type DefaultHeadCellRendererWithTooltipProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
headCellData: {
|
|
5
|
+
label: string;
|
|
6
|
+
columnClassName?: string;
|
|
7
|
+
};
|
|
8
|
+
classes?: {
|
|
9
|
+
headCell?: string;
|
|
10
|
+
headLabel?: string;
|
|
11
|
+
};
|
|
12
|
+
dataReltioId?: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const DefaultHeadCellRendererWithTooltip: ({ classes, dataReltioId, headCellData, className, ...props }: DefaultHeadCellRendererWithTooltipProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"disabled" | "expanded">;
|
package/types/components/src/ReltioMap/components/TopRightMapControls/TopRightMapControls.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare const ButtonWithTooltip: React.ForwardRefExoticComponent<Omit<{
|
|
|
36
36
|
touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions>;
|
|
37
37
|
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
38
38
|
ref?: React.Ref<HTMLButtonElement>;
|
|
39
|
-
}, "children" | "size" | "action" | "
|
|
39
|
+
}, "children" | "size" | "action" | "disabled" | "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "tabIndex" | "href" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "disableElevation" | "endIcon" | "fullWidth" | "startIcon">, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
40
40
|
type Props = {
|
|
41
41
|
className?: string;
|
|
42
42
|
onDrawingModeChanged: (value: DrawingMode | null) => void;
|
package/types/components/src/TableWithBars/components/HeadCellRenderer/HeadCellRenderer.d.ts
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
headCellData: {
|
|
5
|
-
label: string;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
export declare const HeadCellRenderer: ({ className, headCellData, ...otherProps }: HeadCellRendererProps) => React.JSX.Element;
|
|
9
|
-
export {};
|
|
2
|
+
import { DefaultHeadCellRendererWithTooltipProps } from '../../../DefaultHeadCellRendererWithTooltip/DefaultHeadCellRendererWithTooltip';
|
|
3
|
+
export declare const HeadCellRenderer: (props: DefaultHeadCellRendererWithTooltipProps) => React.JSX.Element;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const awaitMockPromises: () => Promise<unknown>;
|
|
2
|
+
export declare const deepFreeze: (obj: any) => any;
|
|
3
|
+
export declare const rerenderWrapper: (wrapper: any) => any;
|
|
4
|
+
export declare const mockElementSizes: (element?: HTMLElement, defaults?: {
|
|
5
|
+
offsetLeft?: number;
|
|
6
|
+
offsetTop?: number;
|
|
7
|
+
offsetHeight?: number;
|
|
8
|
+
offsetWidth?: number;
|
|
9
|
+
}) => {
|
|
10
|
+
mock: () => void;
|
|
11
|
+
unmock: () => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const mockComputedStyles: (styles?: {}) => () => void;
|
|
14
|
+
export declare const mockBasicTableSizing: ({ width, height }?: {
|
|
15
|
+
width?: number;
|
|
16
|
+
height?: number;
|
|
17
|
+
}) => () => void;
|
|
18
|
+
export declare const fixClicksOnResizablePanes: () => void;
|
|
19
|
+
export declare const getMuiIconByName: (name: string, el?: HTMLElement) => HTMLElement;
|
|
20
|
+
export declare const getMuiIconsByName: (name: string, el?: HTMLElement) => HTMLElement[];
|
|
21
|
+
interface MouseEventWithOffsets extends MouseEventInit {
|
|
22
|
+
pageX?: number;
|
|
23
|
+
pageY?: number;
|
|
24
|
+
offsetX?: number;
|
|
25
|
+
offsetY?: number;
|
|
26
|
+
x?: number;
|
|
27
|
+
y?: number;
|
|
28
|
+
}
|
|
29
|
+
export declare class FakeMouseEvent extends MouseEvent {
|
|
30
|
+
constructor(type: string, values: MouseEventWithOffsets);
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { RefObject } from 'react';
|
|
2
|
+
import { Sorting } from '@reltio/components/types/basicTable';
|
|
2
3
|
import { Segment } from '@reltio/mdm-sdk';
|
|
3
|
-
import { Sorting } from '../types/basicTable';
|
|
4
4
|
type Props = {
|
|
5
5
|
width: number;
|
|
6
6
|
height: number;
|
|
@@ -9,5 +9,5 @@ type Props = {
|
|
|
9
9
|
onSort: (field: string) => void;
|
|
10
10
|
sorting?: Sorting;
|
|
11
11
|
};
|
|
12
|
-
export declare const
|
|
12
|
+
export declare const DashboardSegmentsTable: ({ width, height, segments, basicTableRef, onSort, sorting }: Props) => React.JSX.Element;
|
|
13
13
|
export {};
|
package/types/dashboard/src/components/DashboardSegmentsTable/DashboardSegmentsTable.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DashboardSegmentsTable } from './DashboardSegmentsTable';
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
headCellData: {
|
|
5
|
-
label: string;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
declare const HeadCellRenderer: ({ className, headCellData, ...otherProps }: HeadCellRendererProps) => React.JSX.Element;
|
|
2
|
+
import { DefaultHeadCellRendererWithTooltipProps } from '@reltio/components/DefaultHeadCellRendererWithTooltip';
|
|
3
|
+
declare const HeadCellRenderer: (props: DefaultHeadCellRendererWithTooltipProps) => React.JSX.Element;
|
|
9
4
|
export default HeadCellRenderer;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AttributeCellRenderer } from './AttributeCellRenderer';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AudienceCountCellRenderer } from './AudienceCountCellRenderer';
|
package/types/components/src/SegmentsTable/components/HeadCellRenderer/HeadCellRenderer.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
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 {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { HeadCellRenderer } from './HeadCellRenderer';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SegmentsTable } from './SegmentsTable';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|