@reltio/components 1.4.971 → 1.4.975

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.
@@ -37,14 +37,14 @@ var HistoryGraph = function (_a) {
37
37
  var historyLanes = graphData.historyLanes, rows = graphData.rows;
38
38
  var rowPositions = [ROW_MARGIN];
39
39
  var _b = rows.reduce(function (acc, _a, i) {
40
- var uri = _a.uri, height = _a.height, uris = _a.uris, type = _a.type, index = _a.index;
40
+ var uri = _a.uri, height = _a.height, uris = _a.uris, type = _a.type, fakeType = _a.fakeType, index = _a.index;
41
41
  var x = historyLanes[uri].index * COL_WIDTH + COL_MARGIN;
42
42
  var y = rowPositions[i];
43
43
  rowPositions.push(y + height);
44
- var isFakeType = helpers_1.isFakeHistoryType(type);
45
- var circleUri = isFakeType ? uris[0] : uri;
44
+ var hasFakeType = helpers_1.isFakeHistoryType(fakeType);
45
+ var circleUri = hasFakeType ? uris[0] : uri;
46
46
  var isCollapsed = !(uris === null || uris === void 0 ? void 0 : uris.some(function (uri) { return historyLanes[uri]; }));
47
- acc.circles.push(react_1.default.createElement(HistoryCircle_1.default, { key: "circle-" + circleUri + "-" + i, x: x, y: y, color: mdm_sdk_1.getContributorColor(circleUri), isDashed: isFakeType, isCollapsed: isCollapsed, showCollapseIcon: !!uris, showLine: type === types_1.HistoryChangeTypes.FAKE_NAVIGATE_PROFILE }));
47
+ acc.circles.push(react_1.default.createElement(HistoryCircle_1.default, { key: "circle-" + circleUri + "-" + i, x: x, y: y, color: mdm_sdk_1.getContributorColor(circleUri), isDashed: hasFakeType, isCollapsed: isCollapsed, showCollapseIcon: !!uris, showLine: fakeType === types_1.HistoryChangeTypes.FAKE_NAVIGATE_PROFILE }));
48
48
  acc.rowLines.push(react_1.default.createElement("rect", { key: circleUri + "-" + index, x: x, y: y - ROW_HEIGHT / 2, width: '100%', height: ROW_HEIGHT, fill: mdm_sdk_1.getContributorColor(circleUri), opacity: 0.06 }));
49
49
  var isUpRight = type === types_1.HistoryChangeTypes.ENTITIES_SPLITTED;
50
50
  uris === null || uris === void 0 ? void 0 : uris.forEach(function (contributorUri) {
@@ -55,7 +55,7 @@ var HistoryGraph = function (_a) {
55
55
  var toX = contributorLane.index * COL_WIDTH + COL_MARGIN;
56
56
  var toY = isUpRight ? y - rowHeight : y + rowHeight;
57
57
  if (x !== toX)
58
- acc.links.push(react_1.default.createElement(HistoryLink_1.default, { key: "link-" + contributorUri + "-" + index, x: x, y: y, toX: toX, toY: toY, isDashed: helpers_1.isFakeHistoryType(type), color: mdm_sdk_1.getContributorColor(contributorUri) }));
58
+ acc.links.push(react_1.default.createElement(HistoryLink_1.default, { key: "link-" + contributorUri + "-" + index, x: x, y: y, toX: toX, toY: toY, isDashed: helpers_1.isFakeHistoryType(fakeType), color: mdm_sdk_1.getContributorColor(contributorUri) }));
59
59
  });
60
60
  return acc;
61
61
  }, { links: [], circles: [], rowLines: [] }), links = _b.links, rowLines = _b.rowLines, circles = _b.circles;
@@ -69,13 +69,18 @@ var HistoryGraph = function (_a) {
69
69
  var start = _a.start, end = _a.end;
70
70
  if (((_b = rows[end === null || end === void 0 ? void 0 : end.index]) === null || _b === void 0 ? void 0 : _b.type) === types_1.HistoryChangeTypes.ENTITIES_SPLITTED)
71
71
  return;
72
- var startY = rowPositions[start === null || start === void 0 ? void 0 : start.index] || height;
73
- var endY = rowPositions[(end === null || end === void 0 ? void 0 : end.index) + 1] || ROW_MARGIN;
72
+ var startIndex = (start === null || start === void 0 ? void 0 : start.type) === types_1.HistoryChangeTypes.ENTITIES_SPLITTED ? (start === null || start === void 0 ? void 0 : start.index) - 1 : start === null || start === void 0 ? void 0 : start.index;
73
+ var endIndex = (end === null || end === void 0 ? void 0 : end.type) === types_1.HistoryChangeTypes.ENTITIES_MERGED_MANUALLY ||
74
+ (end === null || end === void 0 ? void 0 : end.type) === types_1.HistoryChangeTypes.ENTITIES_MERGED
75
+ ? (end === null || end === void 0 ? void 0 : end.index) + 1
76
+ : end === null || end === void 0 ? void 0 : end.index;
77
+ var startY = rowPositions[startIndex] || rowPositions[rowPositions.length - 2];
78
+ var endY = rowPositions[endIndex] || ROW_MARGIN;
74
79
  var color = mdm_sdk_1.getContributorColor(contributorUri);
75
80
  if (!end && contributorLane.index > 0) {
76
81
  circles.push(react_1.default.createElement(HistoryCircle_1.default, { key: "initCircle-" + contributorUri + "-" + i, x: x, y: endY, color: color, showLine: true }));
77
82
  }
78
- links.push(react_1.default.createElement("path", { key: "line-" + contributorUri + "-" + i, d: "M" + x + " " + startY + " L" + x + " " + endY, stroke: color, strokeWidth: 2 }));
83
+ links.unshift(react_1.default.createElement("path", { key: "line-" + contributorUri + "-" + i, d: "M" + x + " " + startY + " L" + x + " " + endY, stroke: color, strokeWidth: 2 }));
79
84
  });
80
85
  });
81
86
  return (react_1.default.createElement("svg", { className: "chart", width: width, height: height },
@@ -20,43 +20,42 @@ var useHistoryTree = function (_a) {
20
20
  return react_1.useMemo(function () {
21
21
  var _a;
22
22
  var historyLanes = (_a = {}, _a[entityUri] = { index: 0, lifeTime: [] }, _a);
23
- var rows = [
24
- { type: types_1.HistoryChangeTypes.FAKE_UPDATE, user: '', timestamp: 0, uri: entityUri }
25
- ];
26
- var checkChange = ramda_1.curry(function (involvedUris, change) {
23
+ var rows = [{ user: '', timestamp: 0, uri: entityUri }];
24
+ var checkChange = ramda_1.curry(function (involvedUris, checkInUris, change) {
27
25
  var _a;
28
26
  var uri = change.uri || entityUri;
29
- if (Array.isArray(involvedUris)) {
30
- if (change.type !== types_1.HistoryChangeTypes.ENTITY_LOST_MERGE)
31
- return null;
32
- if (involvedUris.includes(uri)) {
33
- return change;
27
+ if (involvedUris) {
28
+ if (Array.isArray(involvedUris)) {
29
+ if (change.type !== types_1.HistoryChangeTypes.ENTITY_LOST_MERGE)
30
+ return null;
31
+ if (involvedUris.includes(uri)) {
32
+ return change;
33
+ }
34
+ else if (checkInUris && change.uris) {
35
+ return involvedUris.some(function (involvedUri) { return change.uris.includes(involvedUri); }) ? change : null;
36
+ }
34
37
  }
35
- else if (change.uris) {
36
- return involvedUris.some(function (involvedUri) { return change.uris.includes(involvedUri); }) ? change : null;
38
+ else {
39
+ if (uri === involvedUris || (checkInUris && ((_a = change.uris) === null || _a === void 0 ? void 0 : _a.includes(involvedUris))))
40
+ return change;
37
41
  }
38
42
  }
39
- else {
40
- if (uri === involvedUris || ((_a = change.uris) === null || _a === void 0 ? void 0 : _a.includes(involvedUris)))
41
- return change;
42
- }
43
43
  return null;
44
44
  });
45
- var findNextChange = function (index, involvedUris) {
46
- return ramda_1.pipe(ramda_1.slice(0, index - 1), ramda_1.reverse, ramda_1.find(checkChange(involvedUris)))(historyChanges);
45
+ var findNextChange = function (index, involvedUris, checkInUris) {
46
+ return ramda_1.pipe(ramda_1.drop(index + 1), ramda_1.find(checkChange(involvedUris, checkInUris)))(historyChanges);
47
47
  };
48
48
  var findPreviousChange = function (index, uri) {
49
- return ramda_1.pipe(ramda_1.slice(index + 1, Infinity), ramda_1.find(checkChange(uri)))(rows);
49
+ return ramda_1.pipe(ramda_1.slice(index + 1, Infinity), ramda_1.find(checkChange(uri, false)))(rows);
50
50
  };
51
51
  var checkLaneUri = function (uri) {
52
- var contributorLane = historyLanes[uri];
53
- if (!contributorLane && (!selectedUris || selectedUris.includes(uri))) {
52
+ if (!historyLanes[uri] && (!selectedUris || selectedUris.includes(uri))) {
54
53
  historyLanes[uri] = {
55
54
  index: Object.keys(historyLanes).length,
56
55
  lifeTime: []
57
56
  };
58
57
  }
59
- return contributorLane;
58
+ return historyLanes[uri];
60
59
  };
61
60
  var startNewLife = function (lifeTime, change) {
62
61
  var currentLife = lifeTime[lifeTime.length - 1];
@@ -113,11 +112,12 @@ var useHistoryTree = function (_a) {
113
112
  ? startNewLife(relatedLane.lifeTime, change)
114
113
  : endLife(relatedLane.lifeTime, change);
115
114
  rows.push({
116
- type: lifeTimeLength
117
- ? types_1.HistoryChangeTypes.FAKE_UPDATE
118
- : types_1.HistoryChangeTypes.FAKE_NAVIGATE_PROFILE,
119
115
  uri: uri,
120
116
  user: change.user,
117
+ type: change.type,
118
+ fakeType: lifeTimeLength
119
+ ? types_1.HistoryChangeTypes.FAKE_UPDATE
120
+ : types_1.HistoryChangeTypes.FAKE_NAVIGATE_PROFILE,
121
121
  timestamp: change.timestamp
122
122
  });
123
123
  });
@@ -138,13 +138,13 @@ var useHistoryTree = function (_a) {
138
138
  var _a;
139
139
  switch (change.type) {
140
140
  case types_1.HistoryChangeTypes.ENTITIES_SPLITTED:
141
- if (!findNextChange(index, change.uri || entityUri)) {
141
+ if (!findNextChange(index, change.uri || entityUri, false)) {
142
142
  return;
143
143
  }
144
144
  else {
145
145
  var uri = change.uri;
146
146
  var involvedUris = change.uris ? [change.uris, uri] : [uri];
147
- var lostMergeChange = findNextChange(index, involvedUris);
147
+ var lostMergeChange = findNextChange(index, involvedUris, true);
148
148
  if (lostMergeChange && (!uri || uri === lostMergeChange.uri))
149
149
  return;
150
150
  }
@@ -194,9 +194,10 @@ var useHistoryTree = function (_a) {
194
194
  return;
195
195
  }
196
196
  var fakeChange = {
197
- type: fakeType,
197
+ fakeType: fakeType,
198
198
  uri: postChange.uri,
199
199
  uris: [contributorUri],
200
+ type: type,
200
201
  user: user,
201
202
  timestamp: timestamp
202
203
  };
@@ -2,4 +2,5 @@ import { HistoryChange } from '@reltio/mdm-sdk';
2
2
  export declare type HistoryRowData = HistoryChange & {
3
3
  index?: number;
4
4
  height?: number;
5
+ fakeType?: string;
5
6
  };
@@ -70,7 +70,7 @@ var useMatchesLoader = function (_a) {
70
70
  setMatches(response);
71
71
  var matchUris = mdm_sdk_1.collectAllTransitiveEntitiesUris(originalResponse);
72
72
  if (matchUris.length > 0) {
73
- setEntitiesMap(mdm_sdk_1.getEntitiesMap(originalResponse));
73
+ setEntitiesMap(mdm_sdk_1.getEntitiesMapForTransitiveMatches(originalResponse));
74
74
  }
75
75
  })
76
76
  .finally(function () {
@@ -13,14 +13,14 @@ var HistoryGraph = function (_a) {
13
13
  var historyLanes = graphData.historyLanes, rows = graphData.rows;
14
14
  var rowPositions = [ROW_MARGIN];
15
15
  var _b = rows.reduce(function (acc, _a, i) {
16
- var uri = _a.uri, height = _a.height, uris = _a.uris, type = _a.type, index = _a.index;
16
+ var uri = _a.uri, height = _a.height, uris = _a.uris, type = _a.type, fakeType = _a.fakeType, index = _a.index;
17
17
  var x = historyLanes[uri].index * COL_WIDTH + COL_MARGIN;
18
18
  var y = rowPositions[i];
19
19
  rowPositions.push(y + height);
20
- var isFakeType = isFakeHistoryType(type);
21
- var circleUri = isFakeType ? uris[0] : uri;
20
+ var hasFakeType = isFakeHistoryType(fakeType);
21
+ var circleUri = hasFakeType ? uris[0] : uri;
22
22
  var isCollapsed = !(uris === null || uris === void 0 ? void 0 : uris.some(function (uri) { return historyLanes[uri]; }));
23
- acc.circles.push(React.createElement(HistoryCircle, { key: "circle-" + circleUri + "-" + i, x: x, y: y, color: getContributorColor(circleUri), isDashed: isFakeType, isCollapsed: isCollapsed, showCollapseIcon: !!uris, showLine: type === HistoryChangeTypes.FAKE_NAVIGATE_PROFILE }));
23
+ acc.circles.push(React.createElement(HistoryCircle, { key: "circle-" + circleUri + "-" + i, x: x, y: y, color: getContributorColor(circleUri), isDashed: hasFakeType, isCollapsed: isCollapsed, showCollapseIcon: !!uris, showLine: fakeType === HistoryChangeTypes.FAKE_NAVIGATE_PROFILE }));
24
24
  acc.rowLines.push(React.createElement("rect", { key: circleUri + "-" + index, x: x, y: y - ROW_HEIGHT / 2, width: '100%', height: ROW_HEIGHT, fill: getContributorColor(circleUri), opacity: 0.06 }));
25
25
  var isUpRight = type === HistoryChangeTypes.ENTITIES_SPLITTED;
26
26
  uris === null || uris === void 0 ? void 0 : uris.forEach(function (contributorUri) {
@@ -31,7 +31,7 @@ var HistoryGraph = function (_a) {
31
31
  var toX = contributorLane.index * COL_WIDTH + COL_MARGIN;
32
32
  var toY = isUpRight ? y - rowHeight : y + rowHeight;
33
33
  if (x !== toX)
34
- acc.links.push(React.createElement(HistoryLink, { key: "link-" + contributorUri + "-" + index, x: x, y: y, toX: toX, toY: toY, isDashed: isFakeHistoryType(type), color: getContributorColor(contributorUri) }));
34
+ acc.links.push(React.createElement(HistoryLink, { key: "link-" + contributorUri + "-" + index, x: x, y: y, toX: toX, toY: toY, isDashed: isFakeHistoryType(fakeType), color: getContributorColor(contributorUri) }));
35
35
  });
36
36
  return acc;
37
37
  }, { links: [], circles: [], rowLines: [] }), links = _b.links, rowLines = _b.rowLines, circles = _b.circles;
@@ -45,13 +45,18 @@ var HistoryGraph = function (_a) {
45
45
  var start = _a.start, end = _a.end;
46
46
  if (((_b = rows[end === null || end === void 0 ? void 0 : end.index]) === null || _b === void 0 ? void 0 : _b.type) === HistoryChangeTypes.ENTITIES_SPLITTED)
47
47
  return;
48
- var startY = rowPositions[start === null || start === void 0 ? void 0 : start.index] || height;
49
- var endY = rowPositions[(end === null || end === void 0 ? void 0 : end.index) + 1] || ROW_MARGIN;
48
+ var startIndex = (start === null || start === void 0 ? void 0 : start.type) === HistoryChangeTypes.ENTITIES_SPLITTED ? (start === null || start === void 0 ? void 0 : start.index) - 1 : start === null || start === void 0 ? void 0 : start.index;
49
+ var endIndex = (end === null || end === void 0 ? void 0 : end.type) === HistoryChangeTypes.ENTITIES_MERGED_MANUALLY ||
50
+ (end === null || end === void 0 ? void 0 : end.type) === HistoryChangeTypes.ENTITIES_MERGED
51
+ ? (end === null || end === void 0 ? void 0 : end.index) + 1
52
+ : end === null || end === void 0 ? void 0 : end.index;
53
+ var startY = rowPositions[startIndex] || rowPositions[rowPositions.length - 2];
54
+ var endY = rowPositions[endIndex] || ROW_MARGIN;
50
55
  var color = getContributorColor(contributorUri);
51
56
  if (!end && contributorLane.index > 0) {
52
57
  circles.push(React.createElement(HistoryCircle, { key: "initCircle-" + contributorUri + "-" + i, x: x, y: endY, color: color, showLine: true }));
53
58
  }
54
- links.push(React.createElement("path", { key: "line-" + contributorUri + "-" + i, d: "M" + x + " " + startY + " L" + x + " " + endY, stroke: color, strokeWidth: 2 }));
59
+ links.unshift(React.createElement("path", { key: "line-" + contributorUri + "-" + i, d: "M" + x + " " + startY + " L" + x + " " + endY, stroke: color, strokeWidth: 2 }));
55
60
  });
56
61
  });
57
62
  return (React.createElement("svg", { className: "chart", width: width, height: height },
@@ -10,50 +10,49 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { useMemo } from 'react';
13
- import { isNil, pipe, slice, reverse, find, curry } from 'ramda';
13
+ import { isNil, pipe, slice, find, curry, drop } from 'ramda';
14
14
  import { HistoryChangeTypes } from './../types';
15
15
  export var useHistoryTree = function (_a) {
16
16
  var entityUri = _a.entityUri, historyChanges = _a.historyChanges, selectedUris = _a.selectedUris;
17
17
  return useMemo(function () {
18
18
  var _a;
19
19
  var historyLanes = (_a = {}, _a[entityUri] = { index: 0, lifeTime: [] }, _a);
20
- var rows = [
21
- { type: HistoryChangeTypes.FAKE_UPDATE, user: '', timestamp: 0, uri: entityUri }
22
- ];
23
- var checkChange = curry(function (involvedUris, change) {
20
+ var rows = [{ user: '', timestamp: 0, uri: entityUri }];
21
+ var checkChange = curry(function (involvedUris, checkInUris, change) {
24
22
  var _a;
25
23
  var uri = change.uri || entityUri;
26
- if (Array.isArray(involvedUris)) {
27
- if (change.type !== HistoryChangeTypes.ENTITY_LOST_MERGE)
28
- return null;
29
- if (involvedUris.includes(uri)) {
30
- return change;
24
+ if (involvedUris) {
25
+ if (Array.isArray(involvedUris)) {
26
+ if (change.type !== HistoryChangeTypes.ENTITY_LOST_MERGE)
27
+ return null;
28
+ if (involvedUris.includes(uri)) {
29
+ return change;
30
+ }
31
+ else if (checkInUris && change.uris) {
32
+ return involvedUris.some(function (involvedUri) { return change.uris.includes(involvedUri); }) ? change : null;
33
+ }
31
34
  }
32
- else if (change.uris) {
33
- return involvedUris.some(function (involvedUri) { return change.uris.includes(involvedUri); }) ? change : null;
35
+ else {
36
+ if (uri === involvedUris || (checkInUris && ((_a = change.uris) === null || _a === void 0 ? void 0 : _a.includes(involvedUris))))
37
+ return change;
34
38
  }
35
39
  }
36
- else {
37
- if (uri === involvedUris || ((_a = change.uris) === null || _a === void 0 ? void 0 : _a.includes(involvedUris)))
38
- return change;
39
- }
40
40
  return null;
41
41
  });
42
- var findNextChange = function (index, involvedUris) {
43
- return pipe(slice(0, index - 1), reverse, find(checkChange(involvedUris)))(historyChanges);
42
+ var findNextChange = function (index, involvedUris, checkInUris) {
43
+ return pipe(drop(index + 1), find(checkChange(involvedUris, checkInUris)))(historyChanges);
44
44
  };
45
45
  var findPreviousChange = function (index, uri) {
46
- return pipe(slice(index + 1, Infinity), find(checkChange(uri)))(rows);
46
+ return pipe(slice(index + 1, Infinity), find(checkChange(uri, false)))(rows);
47
47
  };
48
48
  var checkLaneUri = function (uri) {
49
- var contributorLane = historyLanes[uri];
50
- if (!contributorLane && (!selectedUris || selectedUris.includes(uri))) {
49
+ if (!historyLanes[uri] && (!selectedUris || selectedUris.includes(uri))) {
51
50
  historyLanes[uri] = {
52
51
  index: Object.keys(historyLanes).length,
53
52
  lifeTime: []
54
53
  };
55
54
  }
56
- return contributorLane;
55
+ return historyLanes[uri];
57
56
  };
58
57
  var startNewLife = function (lifeTime, change) {
59
58
  var currentLife = lifeTime[lifeTime.length - 1];
@@ -110,11 +109,12 @@ export var useHistoryTree = function (_a) {
110
109
  ? startNewLife(relatedLane.lifeTime, change)
111
110
  : endLife(relatedLane.lifeTime, change);
112
111
  rows.push({
113
- type: lifeTimeLength
114
- ? HistoryChangeTypes.FAKE_UPDATE
115
- : HistoryChangeTypes.FAKE_NAVIGATE_PROFILE,
116
112
  uri: uri,
117
113
  user: change.user,
114
+ type: change.type,
115
+ fakeType: lifeTimeLength
116
+ ? HistoryChangeTypes.FAKE_UPDATE
117
+ : HistoryChangeTypes.FAKE_NAVIGATE_PROFILE,
118
118
  timestamp: change.timestamp
119
119
  });
120
120
  });
@@ -135,13 +135,13 @@ export var useHistoryTree = function (_a) {
135
135
  var _a;
136
136
  switch (change.type) {
137
137
  case HistoryChangeTypes.ENTITIES_SPLITTED:
138
- if (!findNextChange(index, change.uri || entityUri)) {
138
+ if (!findNextChange(index, change.uri || entityUri, false)) {
139
139
  return;
140
140
  }
141
141
  else {
142
142
  var uri = change.uri;
143
143
  var involvedUris = change.uris ? [change.uris, uri] : [uri];
144
- var lostMergeChange = findNextChange(index, involvedUris);
144
+ var lostMergeChange = findNextChange(index, involvedUris, true);
145
145
  if (lostMergeChange && (!uri || uri === lostMergeChange.uri))
146
146
  return;
147
147
  }
@@ -191,9 +191,10 @@ export var useHistoryTree = function (_a) {
191
191
  return;
192
192
  }
193
193
  var fakeChange = {
194
- type: fakeType,
194
+ fakeType: fakeType,
195
195
  uri: postChange.uri,
196
196
  uris: [contributorUri],
197
+ type: type,
197
198
  user: user,
198
199
  timestamp: timestamp
199
200
  };
@@ -2,4 +2,5 @@ import { HistoryChange } from '@reltio/mdm-sdk';
2
2
  export declare type HistoryRowData = HistoryChange & {
3
3
  index?: number;
4
4
  height?: number;
5
+ fakeType?: string;
5
6
  };
@@ -1,7 +1,7 @@
1
1
  import { useCallback, useEffect, useMemo, useState } from 'react';
2
2
  import { useSelector } from 'react-redux';
3
3
  import mdmModule from '@reltio/mdm-module';
4
- import { ActivityFilters, collectAllTransitiveEntitiesUris, getEntitiesMap, getMatchesForDataTenantEntity, getMatchesFromDataTenants, getTransitiveMatches, isDataTenantEntity, isTempUri, withDtssPotentialItems } from '@reltio/mdm-sdk';
4
+ import { ActivityFilters, collectAllTransitiveEntitiesUris, getEntitiesMapForTransitiveMatches, getMatchesForDataTenantEntity, getMatchesFromDataTenants, getTransitiveMatches, isDataTenantEntity, isTempUri, withDtssPotentialItems } from '@reltio/mdm-sdk';
5
5
  import { usePagingSimulator } from './usePagingSimulator';
6
6
  import { useSafePromise } from './useSafePromise';
7
7
  import { prop } from 'ramda';
@@ -64,7 +64,7 @@ export var useMatchesLoader = function (_a) {
64
64
  setMatches(response);
65
65
  var matchUris = collectAllTransitiveEntitiesUris(originalResponse);
66
66
  if (matchUris.length > 0) {
67
- setEntitiesMap(getEntitiesMap(originalResponse));
67
+ setEntitiesMap(getEntitiesMapForTransitiveMatches(originalResponse));
68
68
  }
69
69
  })
70
70
  .finally(function () {
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@reltio/components",
3
- "version": "1.4.971",
3
+ "version": "1.4.975",
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.971",
11
- "@reltio/mdm-sdk": "^1.4.971",
10
+ "@reltio/mdm-module": "^1.4.975",
11
+ "@reltio/mdm-sdk": "^1.4.975",
12
12
  "classnames": "^2.2.5",
13
13
  "d3-cloud": "^1.2.5",
14
14
  "d3-geo": "^2.0.1",