@reltio/components 1.4.1639 → 1.4.1641
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/cjs/contexts/ActionsHookContext/index.d.ts +2 -5
- package/cjs/contexts/MdmModuleContext/context.d.ts +3 -2
- package/cjs/contexts/MdmModuleContext/hooks.d.ts +1 -1
- package/cjs/types/index.d.ts +4 -0
- package/esm/contexts/ActionsHookContext/index.d.ts +2 -5
- package/esm/contexts/MdmModuleContext/context.d.ts +3 -2
- package/esm/contexts/MdmModuleContext/hooks.d.ts +1 -1
- package/esm/types/index.d.ts +4 -0
- package/package.json +2 -2
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
[key: string]: any;
|
|
5
|
-
};
|
|
6
|
-
type ActionsHook = (listener: (action: AnyAction, state: any) => void) => () => void;
|
|
2
|
+
import { AnyAction } from '../../types';
|
|
3
|
+
type ActionsHook = (listener: (action: AnyAction, state: any, dispatch: (action: AnyAction) => void) => void) => () => void;
|
|
7
4
|
type ProviderProps = {
|
|
8
5
|
hook: ActionsHook;
|
|
9
6
|
children: React.ReactNode;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Metadata, SearchState, AttributePresentations, Entity, Mode, AttributeType, AttributeError, ImageAttributeValue, SortingStrategy, DependentLookupsConfig, PivotingValue, PivotingAttribute, DataTenant, HistoryDiff, ImageAttributeFieldsOrder, Connection, User, SearchNavigationData, SearchProviderData, Lookups, HistoryMode, HistorySlice, HistoryEvent, RequestNextPageOfAttributeValuesPayload, LookupsForTypeResolvedPayload, RelationsLoadedPayload, CompactRelationType, AddAttributesPayload, ModifyAttributePayload, RemoveAttributePayload, RelationsState, DependentLookupsState, ActivityFilter, SearchOptions, GlobalFilter } from '@reltio/mdm-sdk';
|
|
2
|
+
import { AnyAction } from '../../types';
|
|
2
3
|
export type MdmModuleValuesContextProps = Partial<{
|
|
3
4
|
autoCloseInterval: number;
|
|
4
5
|
uiError: string;
|
|
@@ -118,7 +119,7 @@ export type MdmModuleActionsContextProps = Partial<{
|
|
|
118
119
|
editRelation: (id: string, connection: Connection) => void;
|
|
119
120
|
}>;
|
|
120
121
|
export type MdmModuleListenersContextProps = Partial<{
|
|
121
|
-
searchNavigationListener: (action:
|
|
122
|
+
searchNavigationListener: (action: AnyAction, state: any, dispatch: (action: AnyAction) => void) => void;
|
|
122
123
|
}>;
|
|
123
124
|
export declare const MdmModuleActionsContext: import("@fluentui/react-context-selector").Context<Partial<{
|
|
124
125
|
openSearch: (payload: SearchState) => void;
|
|
@@ -239,5 +240,5 @@ export declare const MdmModuleValuesContext: import("@fluentui/react-context-sel
|
|
|
239
240
|
isCollaborationEnabled: boolean;
|
|
240
241
|
}>>;
|
|
241
242
|
export declare const MdmModuleListenersContext: import("@fluentui/react-context-selector").Context<Partial<{
|
|
242
|
-
searchNavigationListener: (action:
|
|
243
|
+
searchNavigationListener: (action: AnyAction, state: any, dispatch: (action: AnyAction) => void) => void;
|
|
243
244
|
}>>;
|
|
@@ -135,5 +135,5 @@ export declare const useMdmAction: <T extends "openSearch" | "openHistoryEvent"
|
|
|
135
135
|
editRelation: (id: string, connection: import("@reltio/mdm-sdk").Connection) => void;
|
|
136
136
|
}>[T];
|
|
137
137
|
export declare const useMdmListener: <T extends "searchNavigationListener">(listener: T) => Partial<{
|
|
138
|
-
searchNavigationListener: (action:
|
|
138
|
+
searchNavigationListener: (action: import("../..").AnyAction, state: any, dispatch: (action: import("../..").AnyAction) => void) => void;
|
|
139
139
|
}>[T];
|
package/cjs/types/index.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
[key: string]: any;
|
|
5
|
-
};
|
|
6
|
-
type ActionsHook = (listener: (action: AnyAction, state: any) => void) => () => void;
|
|
2
|
+
import { AnyAction } from '../../types';
|
|
3
|
+
type ActionsHook = (listener: (action: AnyAction, state: any, dispatch: (action: AnyAction) => void) => void) => () => void;
|
|
7
4
|
type ProviderProps = {
|
|
8
5
|
hook: ActionsHook;
|
|
9
6
|
children: React.ReactNode;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Metadata, SearchState, AttributePresentations, Entity, Mode, AttributeType, AttributeError, ImageAttributeValue, SortingStrategy, DependentLookupsConfig, PivotingValue, PivotingAttribute, DataTenant, HistoryDiff, ImageAttributeFieldsOrder, Connection, User, SearchNavigationData, SearchProviderData, Lookups, HistoryMode, HistorySlice, HistoryEvent, RequestNextPageOfAttributeValuesPayload, LookupsForTypeResolvedPayload, RelationsLoadedPayload, CompactRelationType, AddAttributesPayload, ModifyAttributePayload, RemoveAttributePayload, RelationsState, DependentLookupsState, ActivityFilter, SearchOptions, GlobalFilter } from '@reltio/mdm-sdk';
|
|
2
|
+
import { AnyAction } from '../../types';
|
|
2
3
|
export type MdmModuleValuesContextProps = Partial<{
|
|
3
4
|
autoCloseInterval: number;
|
|
4
5
|
uiError: string;
|
|
@@ -118,7 +119,7 @@ export type MdmModuleActionsContextProps = Partial<{
|
|
|
118
119
|
editRelation: (id: string, connection: Connection) => void;
|
|
119
120
|
}>;
|
|
120
121
|
export type MdmModuleListenersContextProps = Partial<{
|
|
121
|
-
searchNavigationListener: (action:
|
|
122
|
+
searchNavigationListener: (action: AnyAction, state: any, dispatch: (action: AnyAction) => void) => void;
|
|
122
123
|
}>;
|
|
123
124
|
export declare const MdmModuleActionsContext: import("@fluentui/react-context-selector").Context<Partial<{
|
|
124
125
|
openSearch: (payload: SearchState) => void;
|
|
@@ -239,5 +240,5 @@ export declare const MdmModuleValuesContext: import("@fluentui/react-context-sel
|
|
|
239
240
|
isCollaborationEnabled: boolean;
|
|
240
241
|
}>>;
|
|
241
242
|
export declare const MdmModuleListenersContext: import("@fluentui/react-context-selector").Context<Partial<{
|
|
242
|
-
searchNavigationListener: (action:
|
|
243
|
+
searchNavigationListener: (action: AnyAction, state: any, dispatch: (action: AnyAction) => void) => void;
|
|
243
244
|
}>>;
|
|
@@ -135,5 +135,5 @@ export declare const useMdmAction: <T extends "openSearch" | "openHistoryEvent"
|
|
|
135
135
|
editRelation: (id: string, connection: import("@reltio/mdm-sdk").Connection) => void;
|
|
136
136
|
}>[T];
|
|
137
137
|
export declare const useMdmListener: <T extends "searchNavigationListener">(listener: T) => Partial<{
|
|
138
|
-
searchNavigationListener: (action:
|
|
138
|
+
searchNavigationListener: (action: import("../..").AnyAction, state: any, dispatch: (action: import("../..").AnyAction) => void) => void;
|
|
139
139
|
}>[T];
|
package/esm/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1641",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE FILE",
|
|
5
5
|
"main": "./cjs/index.js",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@date-io/moment": "^1.3.5",
|
|
9
9
|
"@fluentui/react-context-selector": "^9.1.26",
|
|
10
10
|
"@react-google-maps/api": "2.7.0",
|
|
11
|
-
"@reltio/mdm-sdk": "^1.4.
|
|
11
|
+
"@reltio/mdm-sdk": "^1.4.1641",
|
|
12
12
|
"classnames": "^2.2.5",
|
|
13
13
|
"d3-cloud": "^1.2.5",
|
|
14
14
|
"d3-geo": "^2.0.1",
|