@reltio/components 1.4.1125 → 1.4.1129
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/InternalLink/InternalLink.d.ts +3 -0
- package/cjs/components/InternalLink/InternalLink.js +39 -0
- package/cjs/components/InternalLink/styles.d.ts +1 -0
- package/cjs/components/InternalLink/styles.js +10 -0
- package/cjs/components/VerticalHeadingsTable/TableCell/TableCell.js +2 -1
- package/cjs/components/VerticalHeadingsTable/TableCellWithDnd/TableCellWithDnd.js +2 -1
- package/cjs/components/VerticalHeadingsTable/TableRow/TableRow.js +1 -1
- package/cjs/components/VerticalHeadingsTable/TableRowWithDnd/TableRowWithDnd.js +1 -1
- package/cjs/components/VerticalHeadingsTable/VerticalHeadingsTable.js +4 -3
- package/cjs/components/attributes/inline/ReferenceAttribute/ReferenceAttribute.js +2 -1
- package/cjs/components/attributes/inline/ReferenceAttribute/styles.d.ts +1 -1
- package/cjs/components/attributes/inline/ReferenceAttribute/styles.js +0 -4
- package/cjs/components/attributes/readMode/AttributeValuesBlock/AttributeValuesBlock.d.ts +5 -1
- package/cjs/components/attributes/readMode/AttributeValuesBlock/AttributeValuesBlock.js +2 -2
- package/cjs/components/attributes/readMode/AttributesPager/SpecialRenderer.js +1 -1
- package/cjs/components/attributes/readMode/ComplexAttribute/ComplexAttribute.d.ts +3 -1
- package/cjs/components/attributes/readMode/ComplexAttribute/ComplexAttribute.js +29 -12
- package/cjs/components/attributes/readMode/ReferenceAttribute/ReferenceAttribute.js +2 -2
- package/cjs/components/attributes/readMode/ReferenceAttribute/styles.d.ts +1 -1
- package/cjs/components/attributes/readMode/ReferenceAttribute/styles.js +0 -4
- package/cjs/components/attributes/readMode/SimpleAttribute/SimpleAttribute.js +11 -5
- package/cjs/components/attributes/readMode/SpecialAttributes/Tags/Tag.js +2 -2
- package/cjs/contexts/HighlightedValuesContext/index.d.ts +5 -0
- package/cjs/contexts/HighlightedValuesContext/index.js +12 -0
- package/cjs/contexts/index.d.ts +1 -0
- package/cjs/contexts/index.js +3 -1
- package/cjs/hooks/useAPI/API.js +3 -3
- package/cjs/hooks/useAPI/types.d.ts +3 -1
- package/cjs/hooks/useAPI/types.js +1 -0
- package/cjs/hooks/useAPI/useAPI.d.ts +2 -1
- package/cjs/hooks/useAPI/useAPI.js +27 -16
- package/cjs/hooks/useMatchesLoader.d.ts +2 -1
- package/cjs/hooks/useMatchesLoader.js +3 -1
- package/esm/components/InternalLink/InternalLink.d.ts +3 -0
- package/esm/components/InternalLink/InternalLink.js +34 -0
- package/esm/components/InternalLink/styles.d.ts +1 -0
- package/esm/components/InternalLink/styles.js +7 -0
- package/esm/components/VerticalHeadingsTable/TableCell/TableCell.js +2 -1
- package/esm/components/VerticalHeadingsTable/TableCellWithDnd/TableCellWithDnd.js +2 -1
- package/esm/components/VerticalHeadingsTable/TableRow/TableRow.js +1 -1
- package/esm/components/VerticalHeadingsTable/TableRowWithDnd/TableRowWithDnd.js +1 -1
- package/esm/components/VerticalHeadingsTable/VerticalHeadingsTable.js +4 -3
- package/esm/components/attributes/inline/ReferenceAttribute/ReferenceAttribute.js +2 -1
- package/esm/components/attributes/inline/ReferenceAttribute/styles.d.ts +1 -1
- package/esm/components/attributes/inline/ReferenceAttribute/styles.js +0 -4
- package/esm/components/attributes/readMode/AttributeValuesBlock/AttributeValuesBlock.d.ts +5 -1
- package/esm/components/attributes/readMode/AttributeValuesBlock/AttributeValuesBlock.js +2 -2
- package/esm/components/attributes/readMode/AttributesPager/SpecialRenderer.js +1 -1
- package/esm/components/attributes/readMode/ComplexAttribute/ComplexAttribute.d.ts +3 -1
- package/esm/components/attributes/readMode/ComplexAttribute/ComplexAttribute.js +31 -14
- package/esm/components/attributes/readMode/ReferenceAttribute/ReferenceAttribute.js +2 -2
- package/esm/components/attributes/readMode/ReferenceAttribute/styles.d.ts +1 -1
- package/esm/components/attributes/readMode/ReferenceAttribute/styles.js +0 -4
- package/esm/components/attributes/readMode/SimpleAttribute/SimpleAttribute.js +11 -5
- package/esm/components/attributes/readMode/SpecialAttributes/Tags/Tag.js +2 -2
- package/esm/contexts/HighlightedValuesContext/index.d.ts +5 -0
- package/esm/contexts/HighlightedValuesContext/index.js +6 -0
- package/esm/contexts/index.d.ts +1 -0
- package/esm/contexts/index.js +1 -0
- package/esm/hooks/useAPI/API.js +3 -3
- package/esm/hooks/useAPI/types.d.ts +3 -1
- package/esm/hooks/useAPI/types.js +1 -0
- package/esm/hooks/useAPI/useAPI.d.ts +2 -1
- package/esm/hooks/useAPI/useAPI.js +29 -18
- package/esm/hooks/useMatchesLoader.d.ts +2 -1
- package/esm/hooks/useMatchesLoader.js +3 -1
- package/package.json +4 -3
|
@@ -6,7 +6,7 @@ import { usePagingSimulator } from './usePagingSimulator';
|
|
|
6
6
|
import { useSafePromise } from './useSafePromise';
|
|
7
7
|
import { prop } from 'ramda';
|
|
8
8
|
export var useMatchesLoader = function (_a) {
|
|
9
|
-
var enabled = _a.enabled, entity = _a.entity, filter = _a.filter, onFinishLoading = _a.onFinishLoading, onStartLoading = _a.onStartLoading, options = _a.options, page = _a.page, rowsPerPage = _a.rowsPerPage, sorting = _a.sorting;
|
|
9
|
+
var enabled = _a.enabled, entity = _a.entity, filter = _a.filter, onFinishLoading = _a.onFinishLoading, onStartLoading = _a.onStartLoading, options = _a.options, page = _a.page, rowsPerPage = _a.rowsPerPage, sorting = _a.sorting, markMatchedValues = _a.markMatchedValues;
|
|
10
10
|
var _b = sorting || {}, order = _b.order, field = _b.field;
|
|
11
11
|
var _c = useState(0), total = _c[0], setTotal = _c[1];
|
|
12
12
|
var _d = useState([]), matches = _d[0], setMatches = _d[1];
|
|
@@ -61,6 +61,7 @@ export var useMatchesLoader = function (_a) {
|
|
|
61
61
|
sort: field,
|
|
62
62
|
order: order,
|
|
63
63
|
force: force,
|
|
64
|
+
markMatchedValues: markMatchedValues,
|
|
64
65
|
deep: options.showTransitiveMatches ? undefined : 1,
|
|
65
66
|
activeness: activeness
|
|
66
67
|
}))
|
|
@@ -84,6 +85,7 @@ export var useMatchesLoader = function (_a) {
|
|
|
84
85
|
entityUri,
|
|
85
86
|
field,
|
|
86
87
|
filter,
|
|
88
|
+
markMatchedValues,
|
|
87
89
|
getPagedMatchesForDataTenantEntity,
|
|
88
90
|
getTransitiveMatchesWithPaging,
|
|
89
91
|
onFinishLoading,
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reltio/components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1129",
|
|
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.1129",
|
|
11
|
+
"@reltio/mdm-sdk": "^1.4.1129",
|
|
12
12
|
"classnames": "^2.2.5",
|
|
13
13
|
"d3-cloud": "^1.2.5",
|
|
14
14
|
"d3-geo": "^2.0.1",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"react-number-format": "^4.3.0",
|
|
30
30
|
"react-redux": "^7.2.3",
|
|
31
31
|
"react-resize-detector": "^4.2.0",
|
|
32
|
+
"react-router-dom": "^6.2.1",
|
|
32
33
|
"react-select": "^3.0.4",
|
|
33
34
|
"react-simple-maps": "^2.3.0",
|
|
34
35
|
"react-split-pane": "^0.1.89",
|