@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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@reltio/dashboard",
3
- "version": "1.4.2131",
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.2099",
9
- "@reltio/mdm-module": "^1.4.1971",
10
- "@reltio/mdm-sdk": "^1.4.1937",
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 {};
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  type Props = {
3
3
  value?: string;
4
4
  rowValue: {
5
+ id: string;
5
6
  favorite: boolean;
6
7
  };
7
8
  };