@reltio/dashboard 1.4.2228 → 1.4.2230

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.2228",
3
+ "version": "1.4.2230",
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.2190",
9
- "@reltio/mdm-module": "^1.4.2033",
10
- "@reltio/mdm-sdk": "^1.4.1995",
8
+ "@reltio/components": "^1.4.2192",
9
+ "@reltio/mdm-module": "^1.4.2035",
10
+ "@reltio/mdm-sdk": "^1.4.1997",
11
11
  "object-hash": "^2.1.1"
12
12
  },
13
13
  "peerDependencies": {
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import { HeadColorVariant, TableVariant } from '../types/basicTable';
2
3
  export type DefaultHeadCellRendererWithTooltipProps = {
3
4
  headIndex?: number;
4
5
  className?: string;
@@ -10,7 +11,9 @@ export type DefaultHeadCellRendererWithTooltipProps = {
10
11
  headCell?: string;
11
12
  headLabel?: string;
12
13
  };
13
- dataReltioId?: string;
14
+ headColorVariant?: HeadColorVariant;
15
+ variant?: TableVariant;
16
+ dataReltioIdPrefix?: string;
14
17
  openConfigColumnPopup?: (index: number, event: React.MouseEvent<HTMLElement>) => void;
15
18
  };
16
19
  declare const _default: React.ComponentType<{
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const BasicTableContext: React.Context<any>;
2
+ export declare const BasicTableContext: React.Context<Record<string, unknown>>;
@@ -13,6 +13,7 @@ export type MdmModuleValuesContextProps = Partial<{
13
13
  imageServicePath: string;
14
14
  reltioPath: string;
15
15
  apiPath: string;
16
+ imagePath: string;
16
17
  collaborationPath: string;
17
18
  imageAttributesFieldsOrder: ImageAttributeFieldsOrder;
18
19
  showEntityId: boolean;
@@ -56,6 +57,7 @@ export type MdmModuleValuesContextProps = Partial<{
56
57
  uiConfigLayout: Layout;
57
58
  uiConfigProfile: Profile;
58
59
  showMasking: boolean;
60
+ reviewDCREnabled: boolean;
59
61
  }>;
60
62
  export type MdmModuleActionsContextProps = Partial<{
61
63
  openSearch: (payload: SearchState) => void;
@@ -217,6 +219,7 @@ export declare const MdmModuleValuesContext: import("@fluentui/react-context-sel
217
219
  imageServicePath: string;
218
220
  reltioPath: string;
219
221
  apiPath: string;
222
+ imagePath: string;
220
223
  collaborationPath: string;
221
224
  imageAttributesFieldsOrder: ImageAttributeFieldsOrder;
222
225
  showEntityId: boolean;
@@ -260,6 +263,7 @@ export declare const MdmModuleValuesContext: import("@fluentui/react-context-sel
260
263
  uiConfigLayout: Layout;
261
264
  uiConfigProfile: Profile;
262
265
  showMasking: boolean;
266
+ reviewDCREnabled: boolean;
263
267
  }>>;
264
268
  export declare const MdmModuleListenersContext: import("@fluentui/react-context-selector").Context<Partial<{
265
269
  expandInvalidRelatonsListener: (callback: () => void) => (action: any) => void;
@@ -12,6 +12,7 @@ export declare const useMdmWorkflowPath: () => string;
12
12
  export declare const useMdmImageServicePath: () => string;
13
13
  export declare const useMdmReltioPath: () => string;
14
14
  export declare const useMdmApiPath: () => string;
15
+ export declare const useMdmImagePath: () => string;
15
16
  export declare const useMdmCollaborationPath: () => string;
16
17
  export declare const useMdmImageAttributesFieldsOrder: () => import("@reltio/mdm-sdk").ImageAttributeFieldsOrder;
17
18
  export declare const useMdmShowEntityId: () => boolean;
@@ -151,3 +152,4 @@ export declare const useMdmListener: <T extends keyof MdmModuleListenersContextP
151
152
  export declare const useMdmHiddenAttributes: () => Record<string, string[]>;
152
153
  export declare const useMdmControlAttributes: () => string[];
153
154
  export declare const useMdmShowMasking: () => boolean;
155
+ export declare const useMdmReviewDCREnabled: () => boolean;
@@ -1,3 +1,3 @@
1
1
  export { MdmModuleProvider } from './provider';
2
- export { useMdmAutoCloseInterval, useMdmUiError, useMdmWorkflowEnvironmentUrl, useMdmExportPath, useMdmAbsoluteImagePath, useMdmUiPath, useMdmDtssPath, useMdmServicesPath, useMdmWorkflowPath, useMdmImageServicePath, useMdmReltioPath, useMdmApiPath, useMdmCollaborationPath, useMdmImageAttributesFieldsOrder, useMdmShowEntityId, useMdmPivotingAttributes, useMdmDateMask, useMdmDateTimeMask, useMdmAttributesPresentation, useMdmMaxValuesInResponse, useMdmAttributesSortingStrategy, useMdmLookupAutocomplete, useMdmModifiedEntities, useMdmEntity, useMdmEntityUri, useMdmEntityWithDiff, useMdmEntityUriWithDataTenant, useMdmMode, useMdmIsViewMode, useMdmIsEditableMode, useMdmHistoryDiff, useMdmHistoryMode, useMdmHistorySlice, useMdmHistoryEvent, useMdmProfileLastLoadedTime, useMdmLookups, useMdmDependentLookups, useMdmMetadata, useMdmUser, useMdmUsername, useMdmUserRoles, useMdmTenantObject, useMdmTenant, useMdmTenantName, useMdmEnvironment, useMdmDataTenants, useMdmSearchNavigationData, useMdmSearchProviderData, useMdmIsCollaborationEnabled, useMdmIsWorkflowEnabled, useMdmProfileErrors, useMdmRelationsDrafts, useMdmModifiedEntityDefaultProfilePic, useMdmModifiedEntity, useMdmInitialConnectionTempEntity, useMdmInitialConnection, useMdmDependentLookupEditorState, useMdmActiveErrorsForAttributesPager, useMdmDependentLookupsStructureNode, useMdmAllRelationsToAddAndEdit, useMdmDependentLookupEditorContext, useMdmGlobalSearchRequestOptions, useMdmAuthoringItemsByEntityType, useMdmAction, useMdmListener, useMdmIsSourcesScreenEnabled, useMdmHiddenAttributes, useMdmControlAttributes, useMdmShowMasking } from './hooks';
2
+ export { useMdmAutoCloseInterval, useMdmUiError, useMdmWorkflowEnvironmentUrl, useMdmExportPath, useMdmAbsoluteImagePath, useMdmUiPath, useMdmDtssPath, useMdmServicesPath, useMdmWorkflowPath, useMdmImageServicePath, useMdmReltioPath, useMdmApiPath, useMdmCollaborationPath, useMdmImageAttributesFieldsOrder, useMdmShowEntityId, useMdmPivotingAttributes, useMdmDateMask, useMdmDateTimeMask, useMdmAttributesPresentation, useMdmMaxValuesInResponse, useMdmAttributesSortingStrategy, useMdmLookupAutocomplete, useMdmModifiedEntities, useMdmEntity, useMdmEntityUri, useMdmEntityWithDiff, useMdmEntityUriWithDataTenant, useMdmMode, useMdmIsViewMode, useMdmIsEditableMode, useMdmHistoryDiff, useMdmHistoryMode, useMdmHistorySlice, useMdmHistoryEvent, useMdmProfileLastLoadedTime, useMdmLookups, useMdmDependentLookups, useMdmMetadata, useMdmUser, useMdmUsername, useMdmUserRoles, useMdmTenantObject, useMdmTenant, useMdmTenantName, useMdmEnvironment, useMdmDataTenants, useMdmSearchNavigationData, useMdmSearchProviderData, useMdmIsCollaborationEnabled, useMdmIsWorkflowEnabled, useMdmProfileErrors, useMdmRelationsDrafts, useMdmModifiedEntityDefaultProfilePic, useMdmModifiedEntity, useMdmInitialConnectionTempEntity, useMdmInitialConnection, useMdmDependentLookupEditorState, useMdmActiveErrorsForAttributesPager, useMdmDependentLookupsStructureNode, useMdmAllRelationsToAddAndEdit, useMdmDependentLookupEditorContext, useMdmGlobalSearchRequestOptions, useMdmAuthoringItemsByEntityType, useMdmAction, useMdmListener, useMdmIsSourcesScreenEnabled, useMdmHiddenAttributes, useMdmControlAttributes, useMdmShowMasking, useMdmReviewDCREnabled, useMdmImagePath } from './hooks';
3
3
  export type { MdmModuleActionsContextProps, MdmModuleValuesContextProps, MdmModuleListenersContextProps } from './context';
@@ -89,4 +89,16 @@ export type OnFilter = (event: {
89
89
  export type DraggableProps = DraggableAttributes & {
90
90
  ref: (element: HTMLElement | null) => void;
91
91
  };
92
+ export type CellValue = {
93
+ uri: string;
94
+ value: unknown;
95
+ };
96
+ export declare enum TableVariant {
97
+ Narrow = "narrow",
98
+ Wide = "wide"
99
+ }
100
+ export declare enum HeadColorVariant {
101
+ Grey = "grey",
102
+ White = "white"
103
+ }
92
104
  export {};