@reltio/components 1.4.1068 → 1.4.1069
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/components/Image/ImageActionsOverlay/styles.d.ts +1 -1
- package/cjs/components/ImageDetailsView/MetaInfoForm/styles.d.ts +1 -1
- package/cjs/components/activityLog/activities/SearchActivity.js +2 -2
- package/cjs/hooks/index.d.ts +1 -0
- package/cjs/hooks/index.js +3 -1
- package/cjs/hooks/useReadableSearchState.d.ts +2 -0
- package/cjs/{components/activityLog/hooks → hooks}/useReadableSearchState.js +0 -0
- package/esm/components/Image/ImageActionsOverlay/styles.d.ts +1 -1
- package/esm/components/ImageDetailsView/MetaInfoForm/styles.d.ts +1 -1
- package/esm/components/activityLog/activities/SearchActivity.js +1 -1
- package/esm/hooks/index.d.ts +1 -0
- package/esm/hooks/index.js +1 -0
- package/esm/hooks/useReadableSearchState.d.ts +2 -0
- package/esm/{components/activityLog/hooks → hooks}/useReadableSearchState.js +0 -0
- package/package.json +3 -3
- package/cjs/components/activityLog/hooks/useReadableSearchState.d.ts +0 -1
- package/esm/components/activityLog/hooks/useReadableSearchState.d.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"button" | "overlay" | "selected" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"button" | "overlay" | "selected" | "actions" | "checkedIcon" | "selectionMode" | "actionButton" | "dropDownMenuButton">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"form" | "root" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"form" | "root" | "actions" | "divider" | "cancelButton">;
|
|
@@ -28,7 +28,7 @@ var mdm_module_1 = require("@reltio/mdm-module");
|
|
|
28
28
|
var ActivityTitle_1 = __importDefault(require("./ActivityTitle/ActivityTitle"));
|
|
29
29
|
var ramda_1 = require("ramda");
|
|
30
30
|
var core_1 = require("../../../core");
|
|
31
|
-
var
|
|
31
|
+
var hooks_1 = require("../../../hooks");
|
|
32
32
|
var ui_i18n_1 = __importDefault(require("ui-i18n"));
|
|
33
33
|
var styles_1 = require("./styles");
|
|
34
34
|
var SearchActivity = function (_a) {
|
|
@@ -40,7 +40,7 @@ var SearchActivity = function (_a) {
|
|
|
40
40
|
return searchData.version === '2.0' ? searchData.activity.uiState : searchData;
|
|
41
41
|
}, [data.description]);
|
|
42
42
|
var openSearch = ramda_1.pipe(ramda_1.always(searchState), mdm_module_1.ui.actions.openSearch, dispatch);
|
|
43
|
-
var searchString =
|
|
43
|
+
var searchString = hooks_1.useReadableSearchState(searchState);
|
|
44
44
|
return (react_1.default.createElement(ActivityTitle_1.default, { type: type },
|
|
45
45
|
react_1.default.createElement("span", { className: styles.link, onClick: openSearch }, searchString || ui_i18n_1.default.text('all profiles'))));
|
|
46
46
|
};
|
package/cjs/hooks/index.d.ts
CHANGED
|
@@ -16,3 +16,4 @@ export { usePagingSimulator } from './usePagingSimulator';
|
|
|
16
16
|
export { useMergeAllRequest } from './useMergeAllRequest';
|
|
17
17
|
export { useMarkAsNotMatchRequest } from './useMarkAsNotMatchRequest';
|
|
18
18
|
export { useEditableConnection } from './useEditableConnection';
|
|
19
|
+
export { useReadableSearchState } from './useReadableSearchState';
|
package/cjs/hooks/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useEditableConnection = exports.useMarkAsNotMatchRequest = exports.useMergeAllRequest = exports.usePagingSimulator = exports.useMatchesLoader = exports.useConfigPermissions = exports.useWhyDidYouUpdate = exports.useUsers = exports.useSavedState = exports.useSafePromise = exports.useRunOnceAfterValueInitialization = exports.useRelationsLoader = exports.useRelationTypeSelector = exports.usePrevious = exports.useDidUpdateEffect = exports.useCollaboration = exports.useAsyncMount = exports.useActions = void 0;
|
|
3
|
+
exports.useReadableSearchState = exports.useEditableConnection = exports.useMarkAsNotMatchRequest = exports.useMergeAllRequest = exports.usePagingSimulator = exports.useMatchesLoader = exports.useConfigPermissions = exports.useWhyDidYouUpdate = exports.useUsers = exports.useSavedState = exports.useSafePromise = exports.useRunOnceAfterValueInitialization = exports.useRelationsLoader = exports.useRelationTypeSelector = exports.usePrevious = exports.useDidUpdateEffect = exports.useCollaboration = exports.useAsyncMount = exports.useActions = void 0;
|
|
4
4
|
var useActions_1 = require("./useActions");
|
|
5
5
|
Object.defineProperty(exports, "useActions", { enumerable: true, get: function () { return useActions_1.useActions; } });
|
|
6
6
|
var useAsyncMount_1 = require("./useAsyncMount");
|
|
@@ -37,3 +37,5 @@ var useMarkAsNotMatchRequest_1 = require("./useMarkAsNotMatchRequest");
|
|
|
37
37
|
Object.defineProperty(exports, "useMarkAsNotMatchRequest", { enumerable: true, get: function () { return useMarkAsNotMatchRequest_1.useMarkAsNotMatchRequest; } });
|
|
38
38
|
var useEditableConnection_1 = require("./useEditableConnection");
|
|
39
39
|
Object.defineProperty(exports, "useEditableConnection", { enumerable: true, get: function () { return useEditableConnection_1.useEditableConnection; } });
|
|
40
|
+
var useReadableSearchState_1 = require("./useReadableSearchState");
|
|
41
|
+
Object.defineProperty(exports, "useReadableSearchState", { enumerable: true, get: function () { return useReadableSearchState_1.useReadableSearchState; } });
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"button" | "overlay" | "selected" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"button" | "overlay" | "selected" | "actions" | "checkedIcon" | "selectionMode" | "actionButton" | "dropDownMenuButton">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"form" | "root" | "
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"form" | "root" | "actions" | "divider" | "cancelButton">;
|
|
@@ -4,7 +4,7 @@ import { ui } from '@reltio/mdm-module';
|
|
|
4
4
|
import ActivityTitle from './ActivityTitle/ActivityTitle';
|
|
5
5
|
import { always, pipe } from 'ramda';
|
|
6
6
|
import { parseJSON } from '../../../core';
|
|
7
|
-
import { useReadableSearchState } from '
|
|
7
|
+
import { useReadableSearchState } from '../../../hooks';
|
|
8
8
|
import i18n from 'ui-i18n';
|
|
9
9
|
import { useStyles } from './styles';
|
|
10
10
|
var SearchActivity = function (_a) {
|
package/esm/hooks/index.d.ts
CHANGED
|
@@ -16,3 +16,4 @@ export { usePagingSimulator } from './usePagingSimulator';
|
|
|
16
16
|
export { useMergeAllRequest } from './useMergeAllRequest';
|
|
17
17
|
export { useMarkAsNotMatchRequest } from './useMarkAsNotMatchRequest';
|
|
18
18
|
export { useEditableConnection } from './useEditableConnection';
|
|
19
|
+
export { useReadableSearchState } from './useReadableSearchState';
|
package/esm/hooks/index.js
CHANGED
|
@@ -16,3 +16,4 @@ export { usePagingSimulator } from './usePagingSimulator';
|
|
|
16
16
|
export { useMergeAllRequest } from './useMergeAllRequest';
|
|
17
17
|
export { useMarkAsNotMatchRequest } from './useMarkAsNotMatchRequest';
|
|
18
18
|
export { useEditableConnection } from './useEditableConnection';
|
|
19
|
+
export { useReadableSearchState } from './useReadableSearchState';
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1069",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE FILE",
|
|
5
5
|
"main": "./cjs/index.js",
|
|
6
6
|
"module": "./esm/index.js",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@date-io/moment": "^1.3.5",
|
|
9
9
|
"@react-google-maps/api": "2.7.0",
|
|
10
|
-
"@reltio/mdm-module": "^1.4.
|
|
11
|
-
"@reltio/mdm-sdk": "^1.4.
|
|
10
|
+
"@reltio/mdm-module": "^1.4.1069",
|
|
11
|
+
"@reltio/mdm-sdk": "^1.4.1069",
|
|
12
12
|
"classnames": "^2.2.5",
|
|
13
13
|
"d3-cloud": "^1.2.5",
|
|
14
14
|
"d3-geo": "^2.0.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useReadableSearchState: (searchState: any) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useReadableSearchState: (searchState: any) => string;
|