@reltio/components 1.4.1875 → 1.4.1876
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/BasicAttributeSelector/helpers.d.ts +8 -3
- package/cjs/CollaborationItem/components/Comment/styles.d.ts +1 -1
- package/cjs/CollaborationItem/components/RepliedComment/styles.d.ts +1 -1
- package/cjs/DependentLookupEditor/helpers.d.ts +1 -1
- package/cjs/components/history/HistoryRow/styles.d.ts +1 -1
- package/cjs/components/workflow/cards/GenericWorkflowTaskCard/styles.d.ts +1 -1
- package/cjs/contexts/MdmModuleContext/hooks.d.ts +2 -2
- package/cjs/contexts/UsersContext/index.d.ts +1 -1
- package/cjs/helpers/attributesView.d.ts +2 -2
- package/esm/BasicAttributeSelector/helpers.d.ts +8 -3
- package/esm/CollaborationItem/components/Comment/styles.d.ts +1 -1
- package/esm/CollaborationItem/components/RepliedComment/styles.d.ts +1 -1
- package/esm/DependentLookupEditor/helpers.d.ts +1 -1
- package/esm/components/history/HistoryRow/styles.d.ts +1 -1
- package/esm/components/workflow/cards/GenericWorkflowTaskCard/styles.d.ts +1 -1
- package/esm/contexts/MdmModuleContext/hooks.d.ts +2 -2
- package/esm/contexts/UsersContext/index.d.ts +1 -1
- package/esm/helpers/attributesView.d.ts +2 -2
- package/package.json +2 -2
|
@@ -6,7 +6,12 @@ export declare const filterSelectedAttributes: ({ attribute, selectedAttributes,
|
|
|
6
6
|
checked: boolean;
|
|
7
7
|
}) => AttributeSelectorItem[];
|
|
8
8
|
export declare const getAttributeIndex: (selectedAttributes: AttributeSelectorItem[], attribute: AttributeSelectorItem) => number;
|
|
9
|
-
export declare const getContainerWidth: (items:
|
|
9
|
+
export declare const getContainerWidth: (items: {
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
items?: Record<string, unknown>[];
|
|
12
|
+
item?: Record<string, unknown>;
|
|
13
|
+
level?: number;
|
|
14
|
+
}[]) => number;
|
|
10
15
|
export declare const getOnEnterHandler: ({ onListItemClick, selectedAttributes }: {
|
|
11
16
|
selectedAttributes: AttributeSelectorItem[];
|
|
12
17
|
onListItemClick: (attribute: AttributeSelectorItem, checked: boolean) => void;
|
|
@@ -15,6 +20,6 @@ export declare const getOnEnterHandler: ({ onListItemClick, selectedAttributes }
|
|
|
15
20
|
groupData: any;
|
|
16
21
|
}) => void;
|
|
17
22
|
export declare const prepareGroupsForSelectAttributeList: (filterText: string, groups: AttributeSelectorItemsGroup[]) => {
|
|
18
|
-
item: AttributeSelectorItemsGroup
|
|
23
|
+
item: AttributeSelectorItemsGroup;
|
|
19
24
|
items: AttributeSelectorItem[];
|
|
20
|
-
};
|
|
25
|
+
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"button" | "body" | "header" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"button" | "body" | "header" | "username" | "message" | "avatar" | "buttons" | "createdAt" | "commentTarget" | "dropdownMenu">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"header" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"header" | "username" | "message" | "root" | "avatar" | "createdAt" | "replyArea" | "marked">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type Type = {
|
|
2
2
|
color?: string;
|
|
3
3
|
};
|
|
4
|
-
export declare const useStyles: (props: Type) => import("@mui/styles").ClassNameMap<"title" | "selected" | "
|
|
4
|
+
export declare const useStyles: (props: Type) => import("@mui/styles").ClassNameMap<"title" | "selected" | "user" | "date" | "badge" | "historyRow" | "rowHeader">;
|
|
5
5
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const useStyles: (props: {
|
|
2
2
|
color: string;
|
|
3
|
-
}) => import("@mui/styles").ClassNameMap<"flex" | "caption" | "icon" | "title" | "header" | "line" | "
|
|
3
|
+
}) => import("@mui/styles").ClassNameMap<"flex" | "caption" | "icon" | "title" | "header" | "line" | "priority" | "date" | "info" | "comments" | "card" | "withBackground" | "lineWrapper" | "commentsInfo" | "commentsIcon" | "infoValue" | "infoBlock" | "flag" | "mainInfo" | "controlsBox" | "controlsInRow">;
|
|
@@ -27,8 +27,8 @@ export declare const useMdmEntityUri: () => string;
|
|
|
27
27
|
export declare const useMdmEntityWithDiff: () => import("@reltio/mdm-sdk").Entity;
|
|
28
28
|
export declare const useMdmEntityUriWithDataTenant: () => string;
|
|
29
29
|
export declare const useMdmMode: () => import("@reltio/mdm-sdk").Mode;
|
|
30
|
-
export declare const useMdmIsViewMode: () =>
|
|
31
|
-
export declare const useMdmIsEditableMode: () =>
|
|
30
|
+
export declare const useMdmIsViewMode: () => boolean;
|
|
31
|
+
export declare const useMdmIsEditableMode: () => boolean;
|
|
32
32
|
export declare const useMdmHistoryDiff: () => import("@reltio/mdm-sdk").HistoryDiff;
|
|
33
33
|
export declare const useMdmHistoryMode: () => import("@reltio/mdm-sdk").HistoryMode;
|
|
34
34
|
export declare const useMdmHistorySlice: () => import("@reltio/mdm-sdk").HistorySlice;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AttributeType, Metadata, NestedAttributeValue, ReferenceAttributeValue, SimpleAttributeValue } from '@reltio/mdm-sdk';
|
|
1
|
+
import { AttributeType, DataTypeDefinition, Metadata, NestedAttributeValue, ReferenceAttributeValue, SimpleAttributeValue } from '@reltio/mdm-sdk';
|
|
2
2
|
import { AttributeSelectorItem } from '../types';
|
|
3
3
|
export declare const getFilteredAttrTypes: (metadata: Metadata, type: string, includeUris: string[], excludeUris: string[]) => any;
|
|
4
4
|
type PagersData = {
|
|
@@ -6,7 +6,7 @@ type PagersData = {
|
|
|
6
6
|
values: (SimpleAttributeValue | NestedAttributeValue | ReferenceAttributeValue | string | number)[];
|
|
7
7
|
};
|
|
8
8
|
export declare const splitPagersData: (alwaysVisibleTypeUris: string[], pagersData: PagersData[]) => [PagersData[], PagersData[]];
|
|
9
|
-
export declare const attributeValueToEditorValue: (attributeValue: SimpleAttributeValue, { type }:
|
|
9
|
+
export declare const attributeValueToEditorValue: (attributeValue: SimpleAttributeValue, { type }: DataTypeDefinition) => string | number | boolean | Date | {
|
|
10
10
|
value: import("@reltio/mdm-sdk").PrimitiveValue;
|
|
11
11
|
lookupCode: string;
|
|
12
12
|
};
|
|
@@ -6,7 +6,12 @@ export declare const filterSelectedAttributes: ({ attribute, selectedAttributes,
|
|
|
6
6
|
checked: boolean;
|
|
7
7
|
}) => AttributeSelectorItem[];
|
|
8
8
|
export declare const getAttributeIndex: (selectedAttributes: AttributeSelectorItem[], attribute: AttributeSelectorItem) => number;
|
|
9
|
-
export declare const getContainerWidth: (items:
|
|
9
|
+
export declare const getContainerWidth: (items: {
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
items?: Record<string, unknown>[];
|
|
12
|
+
item?: Record<string, unknown>;
|
|
13
|
+
level?: number;
|
|
14
|
+
}[]) => number;
|
|
10
15
|
export declare const getOnEnterHandler: ({ onListItemClick, selectedAttributes }: {
|
|
11
16
|
selectedAttributes: AttributeSelectorItem[];
|
|
12
17
|
onListItemClick: (attribute: AttributeSelectorItem, checked: boolean) => void;
|
|
@@ -15,6 +20,6 @@ export declare const getOnEnterHandler: ({ onListItemClick, selectedAttributes }
|
|
|
15
20
|
groupData: any;
|
|
16
21
|
}) => void;
|
|
17
22
|
export declare const prepareGroupsForSelectAttributeList: (filterText: string, groups: AttributeSelectorItemsGroup[]) => {
|
|
18
|
-
item: AttributeSelectorItemsGroup
|
|
23
|
+
item: AttributeSelectorItemsGroup;
|
|
19
24
|
items: AttributeSelectorItem[];
|
|
20
|
-
};
|
|
25
|
+
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"button" | "body" | "header" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"button" | "body" | "header" | "username" | "message" | "avatar" | "buttons" | "createdAt" | "commentTarget" | "dropdownMenu">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"header" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"header" | "username" | "message" | "root" | "avatar" | "createdAt" | "replyArea" | "marked">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type Type = {
|
|
2
2
|
color?: string;
|
|
3
3
|
};
|
|
4
|
-
export declare const useStyles: (props: Type) => import("@mui/styles").ClassNameMap<"title" | "selected" | "
|
|
4
|
+
export declare const useStyles: (props: Type) => import("@mui/styles").ClassNameMap<"title" | "selected" | "user" | "date" | "badge" | "historyRow" | "rowHeader">;
|
|
5
5
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const useStyles: (props: {
|
|
2
2
|
color: string;
|
|
3
|
-
}) => import("@mui/styles").ClassNameMap<"flex" | "caption" | "icon" | "title" | "header" | "line" | "
|
|
3
|
+
}) => import("@mui/styles").ClassNameMap<"flex" | "caption" | "icon" | "title" | "header" | "line" | "priority" | "date" | "info" | "comments" | "card" | "withBackground" | "lineWrapper" | "commentsInfo" | "commentsIcon" | "infoValue" | "infoBlock" | "flag" | "mainInfo" | "controlsBox" | "controlsInRow">;
|
|
@@ -27,8 +27,8 @@ export declare const useMdmEntityUri: () => string;
|
|
|
27
27
|
export declare const useMdmEntityWithDiff: () => import("@reltio/mdm-sdk").Entity;
|
|
28
28
|
export declare const useMdmEntityUriWithDataTenant: () => string;
|
|
29
29
|
export declare const useMdmMode: () => import("@reltio/mdm-sdk").Mode;
|
|
30
|
-
export declare const useMdmIsViewMode: () =>
|
|
31
|
-
export declare const useMdmIsEditableMode: () =>
|
|
30
|
+
export declare const useMdmIsViewMode: () => boolean;
|
|
31
|
+
export declare const useMdmIsEditableMode: () => boolean;
|
|
32
32
|
export declare const useMdmHistoryDiff: () => import("@reltio/mdm-sdk").HistoryDiff;
|
|
33
33
|
export declare const useMdmHistoryMode: () => import("@reltio/mdm-sdk").HistoryMode;
|
|
34
34
|
export declare const useMdmHistorySlice: () => import("@reltio/mdm-sdk").HistorySlice;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AttributeType, Metadata, NestedAttributeValue, ReferenceAttributeValue, SimpleAttributeValue } from '@reltio/mdm-sdk';
|
|
1
|
+
import { AttributeType, DataTypeDefinition, Metadata, NestedAttributeValue, ReferenceAttributeValue, SimpleAttributeValue } from '@reltio/mdm-sdk';
|
|
2
2
|
import { AttributeSelectorItem } from '../types';
|
|
3
3
|
export declare const getFilteredAttrTypes: (metadata: Metadata, type: string, includeUris: string[], excludeUris: string[]) => any;
|
|
4
4
|
type PagersData = {
|
|
@@ -6,7 +6,7 @@ type PagersData = {
|
|
|
6
6
|
values: (SimpleAttributeValue | NestedAttributeValue | ReferenceAttributeValue | string | number)[];
|
|
7
7
|
};
|
|
8
8
|
export declare const splitPagersData: (alwaysVisibleTypeUris: string[], pagersData: PagersData[]) => [PagersData[], PagersData[]];
|
|
9
|
-
export declare const attributeValueToEditorValue: (attributeValue: SimpleAttributeValue, { type }:
|
|
9
|
+
export declare const attributeValueToEditorValue: (attributeValue: SimpleAttributeValue, { type }: DataTypeDefinition) => string | number | boolean | Date | {
|
|
10
10
|
value: import("@reltio/mdm-sdk").PrimitiveValue;
|
|
11
11
|
lookupCode: string;
|
|
12
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1876",
|
|
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
|
"@fluentui/react-context-selector": "^9.1.26",
|
|
9
9
|
"@react-google-maps/api": "2.7.0",
|
|
10
10
|
"@react-sigma/core": "3.4.0",
|
|
11
|
-
"@reltio/mdm-sdk": "^1.4.
|
|
11
|
+
"@reltio/mdm-sdk": "^1.4.1814",
|
|
12
12
|
"classnames": "^2.2.5",
|
|
13
13
|
"d3-cloud": "^1.2.5",
|
|
14
14
|
"d3-geo": "^2.0.1",
|