@reltio/components 1.4.914 → 1.4.915

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.
@@ -30,11 +30,13 @@ var getParents = function (state, valueUri, node) {
30
30
  });
31
31
  var modifiedEntities = mdm_module_1.default.selectors.getModifiedEntities(state);
32
32
  var entityUri = mdm_module_1.default.selectors.getEntityUri(state);
33
+ var connections = mdm_module_1.default.selectors.getAllRelationsToAddAndEdit(state);
33
34
  var ownParentNodesValues = mdm_sdk_1.filterRelatedParentValuesForDependentLookupValueUri({
34
35
  parentValues: parentNodesValues,
35
36
  valueUri: valueUri,
36
37
  entityUri: entityUri,
37
- modifiedEntities: modifiedEntities
38
+ modifiedEntities: modifiedEntities,
39
+ connections: connections
38
40
  });
39
41
  var neededParentsAttributeTypes = node.parents.map(function (type) {
40
42
  var parentNode = mdm_module_1.default.selectors.getDependentLookupsStructureNode(state, type);
@@ -24,11 +24,13 @@ export var getParents = function (state, valueUri, node) {
24
24
  });
25
25
  var modifiedEntities = mdmModule.selectors.getModifiedEntities(state);
26
26
  var entityUri = mdmModule.selectors.getEntityUri(state);
27
+ var connections = mdmModule.selectors.getAllRelationsToAddAndEdit(state);
27
28
  var ownParentNodesValues = filterRelatedParentValuesForDependentLookupValueUri({
28
29
  parentValues: parentNodesValues,
29
30
  valueUri: valueUri,
30
31
  entityUri: entityUri,
31
- modifiedEntities: modifiedEntities
32
+ modifiedEntities: modifiedEntities,
33
+ connections: connections
32
34
  });
33
35
  var neededParentsAttributeTypes = node.parents.map(function (type) {
34
36
  var parentNode = mdmModule.selectors.getDependentLookupsStructureNode(state, type);
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@reltio/components",
3
- "version": "1.4.914",
3
+ "version": "1.4.915",
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.914",
11
- "@reltio/mdm-sdk": "^1.4.914",
10
+ "@reltio/mdm-module": "^1.4.915",
11
+ "@reltio/mdm-sdk": "^1.4.915",
12
12
  "classnames": "^2.2.5",
13
13
  "d3-cloud": "^1.2.5",
14
14
  "d3-geo": "^2.0.1",