@reltio/dashboard 1.4.2259 → 1.4.2260

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.2259",
3
+ "version": "1.4.2260",
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.2219",
9
- "@reltio/mdm-module": "^1.4.2057",
10
- "@reltio/mdm-sdk": "^1.4.2017",
8
+ "@reltio/components": "^1.4.2220",
9
+ "@reltio/mdm-module": "^1.4.2058",
10
+ "@reltio/mdm-sdk": "^1.4.2018",
11
11
  "object-hash": "^2.1.1"
12
12
  },
13
13
  "peerDependencies": {
@@ -59,6 +59,7 @@ export type MdmModuleValuesContextProps = Partial<{
59
59
  showMasking: boolean;
60
60
  reviewDCREnabled: boolean;
61
61
  dcrReviewValidation: boolean;
62
+ canUserMakeExport: boolean;
62
63
  }>;
63
64
  export type MdmModuleActionsContextProps = Partial<{
64
65
  openSearch: (payload: SearchState) => void;
@@ -274,6 +275,7 @@ export declare const MdmModuleValuesContext: import("@fluentui/react-context-sel
274
275
  showMasking: boolean;
275
276
  reviewDCREnabled: boolean;
276
277
  dcrReviewValidation: boolean;
278
+ canUserMakeExport: boolean;
277
279
  }>>;
278
280
  export declare const MdmModuleListenersContext: import("@fluentui/react-context-selector").Context<Partial<{
279
281
  expandInvalidRelatonsListener: (callback: () => void) => (action: any) => void;
@@ -158,3 +158,4 @@ export declare const useMdmControlAttributes: () => string[];
158
158
  export declare const useMdmShowMasking: () => boolean;
159
159
  export declare const useMdmReviewDCREnabled: () => boolean;
160
160
  export declare const useMdmDcrReviewValidation: () => boolean;
161
+ export declare const useMdmCanUserMakeExport: () => boolean;
@@ -0,0 +1,9 @@
1
+ import React, { ReactNode } from 'react';
2
+ export type SnackbarPayload = string | ReactNode | {
3
+ message: string;
4
+ action?: {
5
+ label: string;
6
+ onClick: () => void;
7
+ };
8
+ };
9
+ export declare const SnackbarContext: React.Context<(payload: SnackbarPayload) => void>;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { SnackbarOrigin } from '@mui/material/Snackbar';
3
+ import { SnackbarPayload } from '../../contexts/SnackbarContext';
3
4
  type SnackbarOptions = {
4
5
  anchorOrigin?: SnackbarOrigin;
5
6
  showDismiss?: boolean;
@@ -9,6 +10,6 @@ type SnackbarOptions = {
9
10
  };
10
11
  export declare const useSnackbar: ({ anchorOrigin, showDismiss, dismissTitle, autoHideDuration, onDismissClick }?: SnackbarOptions) => {
11
12
  SnackbarRenderer: () => React.JSX.Element;
12
- showSnackbarMessage: (message: any) => void;
13
+ showSnackbarMessage: (payload: SnackbarPayload) => void;
13
14
  };
14
15
  export {};