@reltio/components 1.4.1643 → 1.4.1645

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.
Files changed (59) hide show
  1. package/cjs/components/workflow/components/AssigneeSelector/AssigneeSelector.d.ts +4 -1
  2. package/cjs/components/workflow/components/AssigneeSelector/AssigneeSelector.js +7 -5
  3. package/cjs/components/workflow/components/ReassignButton/ReassignButton.d.ts +7 -0
  4. package/cjs/components/workflow/components/ReassignButton/ReassignButton.js +47 -0
  5. package/cjs/components/workflow/components/ReassignButton/ReassignDialog.d.ts +8 -0
  6. package/cjs/components/workflow/components/ReassignButton/ReassignDialog.js +129 -0
  7. package/cjs/components/workflow/components/ReassignButton/styles.d.ts +1 -0
  8. package/cjs/components/workflow/components/ReassignButton/styles.js +27 -0
  9. package/cjs/components/workflow/hooks/useWorkflowAssignee.d.ts +5 -1
  10. package/cjs/components/workflow/hooks/useWorkflowAssignee.js +27 -12
  11. package/cjs/components/workflow/index.d.ts +1 -0
  12. package/cjs/components/workflow/index.js +3 -1
  13. package/cjs/contexts/MdmModuleContext/context.d.ts +4 -0
  14. package/cjs/contexts/MdmModuleContext/hooks.d.ts +5 -2
  15. package/cjs/contexts/MdmModuleContext/hooks.js +5 -1
  16. package/cjs/contexts/MdmModuleContext/index.d.ts +1 -1
  17. package/cjs/contexts/MdmModuleContext/index.js +2 -1
  18. package/cjs/hooks/index.d.ts +1 -0
  19. package/cjs/hooks/index.js +3 -1
  20. package/cjs/hooks/useExpandInvalidRelations.d.ts +1 -0
  21. package/cjs/hooks/useExpandInvalidRelations.js +56 -0
  22. package/cjs/icons/NegativeRuleIcon.d.ts +2 -2
  23. package/cjs/icons/NegativeRuleIcon.js +4 -4
  24. package/cjs/icons/NegativeRuleTooltipIcon.d.ts +2 -2
  25. package/cjs/icons/NegativeRuleTooltipIcon.js +4 -4
  26. package/cjs/icons/Reassign.d.ts +3 -0
  27. package/cjs/icons/Reassign.js +22 -0
  28. package/cjs/icons/index.d.ts +1 -0
  29. package/cjs/icons/index.js +4 -2
  30. package/esm/components/workflow/components/AssigneeSelector/AssigneeSelector.d.ts +4 -1
  31. package/esm/components/workflow/components/AssigneeSelector/AssigneeSelector.js +7 -5
  32. package/esm/components/workflow/components/ReassignButton/ReassignButton.d.ts +7 -0
  33. package/esm/components/workflow/components/ReassignButton/ReassignButton.js +19 -0
  34. package/esm/components/workflow/components/ReassignButton/ReassignDialog.d.ts +8 -0
  35. package/esm/components/workflow/components/ReassignButton/ReassignDialog.js +101 -0
  36. package/esm/components/workflow/components/ReassignButton/styles.d.ts +1 -0
  37. package/esm/components/workflow/components/ReassignButton/styles.js +24 -0
  38. package/esm/components/workflow/hooks/useWorkflowAssignee.d.ts +5 -1
  39. package/esm/components/workflow/hooks/useWorkflowAssignee.js +27 -12
  40. package/esm/components/workflow/index.d.ts +1 -0
  41. package/esm/components/workflow/index.js +1 -0
  42. package/esm/contexts/MdmModuleContext/context.d.ts +4 -0
  43. package/esm/contexts/MdmModuleContext/hooks.d.ts +5 -2
  44. package/esm/contexts/MdmModuleContext/hooks.js +4 -1
  45. package/esm/contexts/MdmModuleContext/index.d.ts +1 -1
  46. package/esm/contexts/MdmModuleContext/index.js +1 -1
  47. package/esm/hooks/index.d.ts +1 -0
  48. package/esm/hooks/index.js +1 -0
  49. package/esm/hooks/useExpandInvalidRelations.d.ts +1 -0
  50. package/esm/hooks/useExpandInvalidRelations.js +52 -0
  51. package/esm/icons/NegativeRuleIcon.d.ts +2 -2
  52. package/esm/icons/NegativeRuleIcon.js +4 -4
  53. package/esm/icons/NegativeRuleTooltipIcon.d.ts +2 -2
  54. package/esm/icons/NegativeRuleTooltipIcon.js +4 -4
  55. package/esm/icons/Reassign.d.ts +3 -0
  56. package/esm/icons/Reassign.js +17 -0
  57. package/esm/icons/index.d.ts +1 -0
  58. package/esm/icons/index.js +1 -0
  59. package/package.json +2 -2
@@ -10,8 +10,8 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import React from 'react';
13
- var NegativeRuleIcon = function (props) {
14
- return (React.createElement("svg", __assign({ width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
15
- React.createElement("path", { d: "M5 0C2.24 0 0 2.24 0 5C0 7.76 2.24 10 5 10C7.76 10 10 7.76 10 5C10 2.24 7.76 0 5 0ZM7.5 5.5H2.5V4.5H7.5V5.5Z", fill: "black", fillOpacity: "0.54" })));
13
+ var SvgNegativeRuleIcon = function (props) {
14
+ return (React.createElement("svg", __assign({ width: 10, height: 10, viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
15
+ React.createElement("path", { d: "M5 0C2.24 0 0 2.24 0 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm2.5 5.5h-5v-1h5v1z", fill: "#000", fillOpacity: 0.54 })));
16
16
  };
17
- export default NegativeRuleIcon;
17
+ export default SvgNegativeRuleIcon;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const NegativeRuleTooltipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
3
- export default NegativeRuleTooltipIcon;
2
+ declare const SvgNegativeRuleTooltipIcon: React.FC<React.SVGProps<SVGSVGElement>>;
3
+ export default SvgNegativeRuleTooltipIcon;
@@ -10,8 +10,8 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import React from 'react';
13
- var NegativeRuleTooltipIcon = function (props) {
14
- return (React.createElement("svg", __assign({ width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
15
- React.createElement("path", { d: "M5 0C2.24 0 0 2.24 0 5C0 7.76 2.24 10 5 10C7.76 10 10 7.76 10 5C10 2.24 7.76 0 5 0ZM7.5 5.5H2.5V4.5H7.5V5.5Z", fill: "white", fillOpacity: "0.54" })));
13
+ var SvgNegativeRuleTooltipIcon = function (props) {
14
+ return (React.createElement("svg", __assign({ width: 10, height: 10, viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
15
+ React.createElement("path", { d: "M5 0C2.24 0 0 2.24 0 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm2.5 5.5h-5v-1h5v1z", fill: "#fff", fillOpacity: 0.54 })));
16
16
  };
17
- export default NegativeRuleTooltipIcon;
17
+ export default SvgNegativeRuleTooltipIcon;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const SvgReassign: React.FC<React.SVGProps<SVGSVGElement>>;
3
+ export default SvgReassign;
@@ -0,0 +1,17 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import React from 'react';
13
+ var SvgReassign = function (props) {
14
+ return (React.createElement("svg", __assign({ width: 24, height: 18, viewBox: "0 0 24 18", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
15
+ React.createElement("path", { d: "M24 17.454v-2.181c0-2.411-3.905-4.364-8.727-4.364-4.822 0-8.728 1.953-8.728 4.364v2.181H24zM10.91 4.364a4.362 4.362 0 004.363 4.363 4.362 4.362 0 004.363-4.363A4.362 4.362 0 0015.273 0a4.362 4.362 0 00-4.364 4.364zM3.272 1.636V4.91H0v4.364h3.273v3.273L8.727 7.09 3.273 1.636z", fill: "#757575" })));
16
+ };
17
+ export default SvgReassign;
@@ -43,6 +43,7 @@ export { default as Polygon } from './Polygon';
43
43
  export { default as PotentialMatch } from './PotentialMatch';
44
44
  export { default as Profile } from './Profile';
45
45
  export { default as Radius } from './Radius';
46
+ export { default as Reassign } from './Reassign';
46
47
  export { default as Recommended } from './Recommended';
47
48
  export { default as ReferenceAttribute } from './ReferenceAttribute';
48
49
  export { default as Remove } from './Remove';
@@ -43,6 +43,7 @@ export { default as Polygon } from './Polygon';
43
43
  export { default as PotentialMatch } from './PotentialMatch';
44
44
  export { default as Profile } from './Profile';
45
45
  export { default as Radius } from './Radius';
46
+ export { default as Reassign } from './Reassign';
46
47
  export { default as Recommended } from './Recommended';
47
48
  export { default as ReferenceAttribute } from './ReferenceAttribute';
48
49
  export { default as Remove } from './Remove';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reltio/components",
3
- "version": "1.4.1643",
3
+ "version": "1.4.1645",
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
  "@date-io/moment": "^1.3.5",
9
9
  "@fluentui/react-context-selector": "^9.1.26",
10
10
  "@react-google-maps/api": "2.7.0",
11
- "@reltio/mdm-sdk": "^1.4.1643",
11
+ "@reltio/mdm-sdk": "^1.4.1645",
12
12
  "classnames": "^2.2.5",
13
13
  "d3-cloud": "^1.2.5",
14
14
  "d3-geo": "^2.0.1",