@reltio/dashboard 1.4.2131 → 1.4.2132
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/SegmentIdLink/SegmentIdLink.d.ts +5 -0
- package/types/components/src/SegmentIdLink/index.d.ts +1 -0
- package/types/components/src/contexts/MdmModuleContext/context.d.ts +8 -0
- package/types/components/src/contexts/MdmModuleContext/hooks.d.ts +4 -0
- package/types/components/src/contexts/UrlGeneratorsContext/index.d.ts +6 -0
- package/types/dashboard/src/components/DashboardSegmentsTable/CellRenderers/LabelCellRenderer/LabelCellRenderer.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/dashboard",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2132",
|
|
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.2100",
|
|
9
|
+
"@reltio/mdm-module": "^1.4.1972",
|
|
10
|
+
"@reltio/mdm-sdk": "^1.4.1938",
|
|
11
11
|
"object-hash": "^2.1.1"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const SegmentIdLink: React.ForwardRefExoticComponent<Omit<Omit<React.HTMLProps<HTMLAnchorElement>, "target" | "href" | "onClick"> & {
|
|
3
|
+
segmentId: string;
|
|
4
|
+
shouldOpenInNewTab?: boolean;
|
|
5
|
+
}, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SegmentIdLink } from './SegmentIdLink';
|
|
@@ -75,6 +75,10 @@ export type MdmModuleActionsContextProps = Partial<{
|
|
|
75
75
|
source?: string | null;
|
|
76
76
|
screen?: string;
|
|
77
77
|
}) => void;
|
|
78
|
+
openSegment: (payload: {
|
|
79
|
+
segmentId: string;
|
|
80
|
+
tabId?: string;
|
|
81
|
+
}) => void;
|
|
78
82
|
setDefaultProfilePicForModifiedEntity: (payload: {
|
|
79
83
|
entityUri: string;
|
|
80
84
|
value: ImageAttributeValue;
|
|
@@ -146,6 +150,10 @@ export declare const MdmModuleActionsContext: import("@fluentui/react-context-se
|
|
|
146
150
|
source?: string | null;
|
|
147
151
|
screen?: string;
|
|
148
152
|
}) => void;
|
|
153
|
+
openSegment: (payload: {
|
|
154
|
+
segmentId: string;
|
|
155
|
+
tabId?: string;
|
|
156
|
+
}) => void;
|
|
149
157
|
setDefaultProfilePicForModifiedEntity: (payload: {
|
|
150
158
|
entityUri: string;
|
|
151
159
|
value: ImageAttributeValue;
|
|
@@ -91,6 +91,10 @@ export declare const useMdmAction: <T extends keyof MdmModuleActionsContextProps
|
|
|
91
91
|
source?: string | null;
|
|
92
92
|
screen?: string;
|
|
93
93
|
}) => void;
|
|
94
|
+
openSegment: (payload: {
|
|
95
|
+
segmentId: string;
|
|
96
|
+
tabId?: string;
|
|
97
|
+
}) => void;
|
|
94
98
|
setDefaultProfilePicForModifiedEntity: (payload: {
|
|
95
99
|
entityUri: string;
|
|
96
100
|
value: import("@reltio/mdm-sdk").ImageAttributeValue;
|
|
@@ -14,10 +14,16 @@ type GenerateTagUrl = (params: {
|
|
|
14
14
|
tag: string;
|
|
15
15
|
entityUri: string;
|
|
16
16
|
}) => string;
|
|
17
|
+
type GenerateSegmentUrl = (params: {
|
|
18
|
+
uiPath: string;
|
|
19
|
+
segmentId: string;
|
|
20
|
+
screen?: string;
|
|
21
|
+
}) => string;
|
|
17
22
|
type UrlGenerators = {
|
|
18
23
|
generateEntityUrl?: GenerateEntityUrl;
|
|
19
24
|
generatePivotingUrl?: GeneratePivotingUrl;
|
|
20
25
|
generateTagUrl?: GenerateTagUrl;
|
|
26
|
+
generateSegmentUrl?: GenerateSegmentUrl;
|
|
21
27
|
};
|
|
22
28
|
export declare const UrlGeneratorsContext: React.Context<UrlGenerators>;
|
|
23
29
|
export {};
|