@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.
Files changed (67) hide show
  1. package/cjs/components/InternalLink/InternalLink.d.ts +3 -0
  2. package/cjs/components/InternalLink/InternalLink.js +39 -0
  3. package/cjs/components/InternalLink/styles.d.ts +1 -0
  4. package/cjs/components/InternalLink/styles.js +10 -0
  5. package/cjs/components/VerticalHeadingsTable/TableCell/TableCell.js +2 -1
  6. package/cjs/components/VerticalHeadingsTable/TableCellWithDnd/TableCellWithDnd.js +2 -1
  7. package/cjs/components/VerticalHeadingsTable/TableRow/TableRow.js +1 -1
  8. package/cjs/components/VerticalHeadingsTable/TableRowWithDnd/TableRowWithDnd.js +1 -1
  9. package/cjs/components/VerticalHeadingsTable/VerticalHeadingsTable.js +4 -3
  10. package/cjs/components/attributes/inline/ReferenceAttribute/ReferenceAttribute.js +2 -1
  11. package/cjs/components/attributes/inline/ReferenceAttribute/styles.d.ts +1 -1
  12. package/cjs/components/attributes/inline/ReferenceAttribute/styles.js +0 -4
  13. package/cjs/components/attributes/readMode/AttributeValuesBlock/AttributeValuesBlock.d.ts +5 -1
  14. package/cjs/components/attributes/readMode/AttributeValuesBlock/AttributeValuesBlock.js +2 -2
  15. package/cjs/components/attributes/readMode/AttributesPager/SpecialRenderer.js +1 -1
  16. package/cjs/components/attributes/readMode/ComplexAttribute/ComplexAttribute.d.ts +3 -1
  17. package/cjs/components/attributes/readMode/ComplexAttribute/ComplexAttribute.js +29 -12
  18. package/cjs/components/attributes/readMode/ReferenceAttribute/ReferenceAttribute.js +2 -2
  19. package/cjs/components/attributes/readMode/ReferenceAttribute/styles.d.ts +1 -1
  20. package/cjs/components/attributes/readMode/ReferenceAttribute/styles.js +0 -4
  21. package/cjs/components/attributes/readMode/SimpleAttribute/SimpleAttribute.js +11 -5
  22. package/cjs/components/attributes/readMode/SpecialAttributes/Tags/Tag.js +2 -2
  23. package/cjs/contexts/HighlightedValuesContext/index.d.ts +5 -0
  24. package/cjs/contexts/HighlightedValuesContext/index.js +12 -0
  25. package/cjs/contexts/index.d.ts +1 -0
  26. package/cjs/contexts/index.js +3 -1
  27. package/cjs/hooks/useAPI/API.js +3 -3
  28. package/cjs/hooks/useAPI/types.d.ts +3 -1
  29. package/cjs/hooks/useAPI/types.js +1 -0
  30. package/cjs/hooks/useAPI/useAPI.d.ts +2 -1
  31. package/cjs/hooks/useAPI/useAPI.js +27 -16
  32. package/cjs/hooks/useMatchesLoader.d.ts +2 -1
  33. package/cjs/hooks/useMatchesLoader.js +3 -1
  34. package/esm/components/InternalLink/InternalLink.d.ts +3 -0
  35. package/esm/components/InternalLink/InternalLink.js +34 -0
  36. package/esm/components/InternalLink/styles.d.ts +1 -0
  37. package/esm/components/InternalLink/styles.js +7 -0
  38. package/esm/components/VerticalHeadingsTable/TableCell/TableCell.js +2 -1
  39. package/esm/components/VerticalHeadingsTable/TableCellWithDnd/TableCellWithDnd.js +2 -1
  40. package/esm/components/VerticalHeadingsTable/TableRow/TableRow.js +1 -1
  41. package/esm/components/VerticalHeadingsTable/TableRowWithDnd/TableRowWithDnd.js +1 -1
  42. package/esm/components/VerticalHeadingsTable/VerticalHeadingsTable.js +4 -3
  43. package/esm/components/attributes/inline/ReferenceAttribute/ReferenceAttribute.js +2 -1
  44. package/esm/components/attributes/inline/ReferenceAttribute/styles.d.ts +1 -1
  45. package/esm/components/attributes/inline/ReferenceAttribute/styles.js +0 -4
  46. package/esm/components/attributes/readMode/AttributeValuesBlock/AttributeValuesBlock.d.ts +5 -1
  47. package/esm/components/attributes/readMode/AttributeValuesBlock/AttributeValuesBlock.js +2 -2
  48. package/esm/components/attributes/readMode/AttributesPager/SpecialRenderer.js +1 -1
  49. package/esm/components/attributes/readMode/ComplexAttribute/ComplexAttribute.d.ts +3 -1
  50. package/esm/components/attributes/readMode/ComplexAttribute/ComplexAttribute.js +31 -14
  51. package/esm/components/attributes/readMode/ReferenceAttribute/ReferenceAttribute.js +2 -2
  52. package/esm/components/attributes/readMode/ReferenceAttribute/styles.d.ts +1 -1
  53. package/esm/components/attributes/readMode/ReferenceAttribute/styles.js +0 -4
  54. package/esm/components/attributes/readMode/SimpleAttribute/SimpleAttribute.js +11 -5
  55. package/esm/components/attributes/readMode/SpecialAttributes/Tags/Tag.js +2 -2
  56. package/esm/contexts/HighlightedValuesContext/index.d.ts +5 -0
  57. package/esm/contexts/HighlightedValuesContext/index.js +6 -0
  58. package/esm/contexts/index.d.ts +1 -0
  59. package/esm/contexts/index.js +1 -0
  60. package/esm/hooks/useAPI/API.js +3 -3
  61. package/esm/hooks/useAPI/types.d.ts +3 -1
  62. package/esm/hooks/useAPI/types.js +1 -0
  63. package/esm/hooks/useAPI/useAPI.d.ts +2 -1
  64. package/esm/hooks/useAPI/useAPI.js +29 -18
  65. package/esm/hooks/useMatchesLoader.d.ts +2 -1
  66. package/esm/hooks/useMatchesLoader.js +3 -1
  67. 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.1125",
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.1125",
11
- "@reltio/mdm-sdk": "^1.4.1125",
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",