@reltio/components 1.4.1997 → 1.4.1999

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 (228) hide show
  1. package/cjs/UpSetChart/UpSetChart.d.ts +5 -8
  2. package/cjs/UpSetChart/UpSetChart.js +61 -5
  3. package/cjs/UpSetChart/UpSetChart.test.js +198 -0
  4. package/cjs/UpSetChart/components/IntersectionsChart/IntersectionsChart.d.ts +15 -0
  5. package/cjs/UpSetChart/components/IntersectionsChart/IntersectionsChart.js +66 -0
  6. package/cjs/UpSetChart/components/IntersectionsChart/index.d.ts +1 -0
  7. package/cjs/UpSetChart/components/IntersectionsChart/index.js +5 -0
  8. package/cjs/UpSetChart/components/IntersectionsChart/styles.d.ts +1 -0
  9. package/cjs/UpSetChart/components/IntersectionsChart/styles.js +32 -0
  10. package/cjs/UpSetChart/components/IntersectionsChartAxis/IntersectionsChartAxis.d.ts +10 -0
  11. package/cjs/UpSetChart/components/IntersectionsChartAxis/IntersectionsChartAxis.js +64 -0
  12. package/cjs/UpSetChart/components/IntersectionsChartAxis/index.d.ts +1 -0
  13. package/cjs/UpSetChart/components/IntersectionsChartAxis/index.js +5 -0
  14. package/cjs/UpSetChart/components/IntersectionsChartAxis/styles.d.ts +1 -0
  15. package/cjs/UpSetChart/components/IntersectionsChartAxis/styles.js +32 -0
  16. package/cjs/UpSetChart/components/IntersectionsMatrix/IntersectionsMatrix.d.ts +13 -0
  17. package/cjs/UpSetChart/components/IntersectionsMatrix/IntersectionsMatrix.js +56 -0
  18. package/cjs/UpSetChart/components/IntersectionsMatrix/index.d.ts +1 -0
  19. package/cjs/UpSetChart/components/IntersectionsMatrix/index.js +5 -0
  20. package/cjs/UpSetChart/components/IntersectionsMatrix/styles.d.ts +1 -0
  21. package/cjs/UpSetChart/components/IntersectionsMatrix/styles.js +27 -0
  22. package/cjs/UpSetChart/components/SetsChart/SetsChart.d.ts +15 -0
  23. package/cjs/UpSetChart/components/SetsChart/SetsChart.js +58 -0
  24. package/cjs/UpSetChart/components/SetsChart/index.d.ts +1 -0
  25. package/cjs/UpSetChart/components/SetsChart/index.js +5 -0
  26. package/cjs/UpSetChart/components/SetsChart/styles.d.ts +1 -0
  27. package/cjs/UpSetChart/components/SetsChart/styles.js +43 -0
  28. package/cjs/UpSetChart/components/SetsChartAxis/SetsChartAxis.d.ts +6 -0
  29. package/cjs/UpSetChart/components/SetsChartAxis/SetsChartAxis.js +20 -0
  30. package/cjs/UpSetChart/components/SetsChartAxis/index.d.ts +1 -0
  31. package/cjs/UpSetChart/components/SetsChartAxis/index.js +5 -0
  32. package/cjs/UpSetChart/components/SetsChartAxis/styles.d.ts +1 -0
  33. package/cjs/UpSetChart/components/SetsChartAxis/styles.js +17 -0
  34. package/cjs/UpSetChart/constants.d.ts +16 -3
  35. package/cjs/UpSetChart/constants.js +20 -4
  36. package/cjs/UpSetChart/gameOfThrones.test-data.d.ts +4 -0
  37. package/cjs/UpSetChart/gameOfThrones.test-data.js +26 -0
  38. package/cjs/UpSetChart/helpers.d.ts +20 -0
  39. package/cjs/UpSetChart/helpers.js +127 -0
  40. package/cjs/UpSetChart/styles.d.ts +4 -1
  41. package/cjs/UpSetChart/styles.js +11 -12
  42. package/cjs/UpSetChart/types.d.ts +16 -0
  43. package/cjs/UpSetChart/types.js +2 -0
  44. package/cjs/UpSetChart/useUpSetChartSizes.d.ts +20 -0
  45. package/cjs/UpSetChart/useUpSetChartSizes.js +34 -0
  46. package/cjs/features/activity-log/ActivitiesFactory/ActivitiesFactory.d.ts +1 -1
  47. package/cjs/features/activity-log/ActivitiesFactory/ActivitiesFactory.js +1 -1
  48. package/cjs/features/activity-log/ActivitiesFactory/ActivitiesFactory.test.js +267 -0
  49. package/cjs/features/activity-log/ActivitiesFactory/components/CommentActivity/CommentActivity.d.ts +1 -2
  50. package/cjs/features/activity-log/ActivitiesFactory/components/CommentActivity/CommentActivity.js +1 -1
  51. package/cjs/features/activity-log/ActivitiesFactory/components/CommentActivity/CommentActivity.test.js +5 -23
  52. package/cjs/features/activity-log/ActivitiesFactory/components/GroupActivity/GroupActivity.js +2 -2
  53. package/cjs/features/activity-log/ActivitiesFactory/components/GroupActivity/GroupActivity.test.js +3 -23
  54. package/cjs/features/activity-log/ActivitiesFactory/components/MergeActivity/MergeActivity.js +2 -2
  55. package/cjs/features/activity-log/ActivitiesFactory/components/MergeActivity/MergeActivity.test.js +81 -102
  56. package/cjs/features/activity-log/ActivitiesFactory/components/ObjectLabel/ObjectLabel.d.ts +2 -2
  57. package/cjs/features/activity-log/ActivitiesFactory/components/ObjectLabel/ObjectLabel.js +24 -2
  58. package/cjs/features/activity-log/ActivitiesFactory/components/PotentialMatchActivity/PotentialMatchActivity.js +1 -1
  59. package/cjs/features/activity-log/ActivitiesFactory/components/PotentialMatchActivity/PotentialMatchActivity.test.js +69 -48
  60. package/cjs/features/activity-log/ActivitiesFactory/components/ProfileActivity/ProfileActivity.js +2 -2
  61. package/cjs/features/activity-log/ActivitiesFactory/components/ProfileActivity/ProfileActivity.test.js +123 -107
  62. package/cjs/features/activity-log/ActivitiesFactory/components/RelationActivity/RelationActivity.js +2 -2
  63. package/cjs/features/activity-log/ActivitiesFactory/components/RelationActivity/RelationActivity.test.js +128 -115
  64. package/cjs/features/activity-log/ActivitiesFactory/components/SearchActivity/SearchActivity.js +1 -1
  65. package/cjs/features/activity-log/ActivitiesFactory/components/SearchActivity/SearchActivity.test.js +160 -183
  66. package/cjs/features/activity-log/ActivitiesFactory/components/SimpleActivity/SimpleActivity.js +2 -2
  67. package/cjs/features/activity-log/ActivitiesFactory/components/SimpleActivity/SimpleActivity.test.js +44 -28
  68. package/cjs/features/activity-log/ActivitiesFactory/components/SynchronizationIssuesActivity/SynchronizationIssuesActivity.js +4 -5
  69. package/cjs/features/activity-log/ActivitiesFactory/components/SynchronizationIssuesActivity/SynchronizationIssuesActivity.test.js +54 -47
  70. package/cjs/features/activity-log/ActivityLog/ActivityLog.test.js +83 -22
  71. package/cjs/features/activity-log/ActivityLog/components/GroupItem/GroupItem.js +1 -1
  72. package/cjs/features/activity-log/ActivityLogFilter/ActivityLogFilter.test.js +784 -0
  73. package/cjs/features/activity-log/ActivityTitle/ActivityTitle.d.ts +2 -3
  74. package/cjs/features/activity-log/ActivityTitle/ActivityTitle.js +24 -2
  75. package/cjs/features/activity-log/CollapsibleActivityRecords/CollapsibleActivityRecords.test.js +102 -79
  76. package/cjs/features/activity-log/EntityObject/EntityObject.test.js +35 -26
  77. package/cjs/features/activity-log/Field/Field.d.ts +2 -3
  78. package/cjs/features/activity-log/Field/Field.js +24 -2
  79. package/cjs/features/activity-log/PotentialMatchRecord/PotentialMatchRecord.test.js +160 -34
  80. package/cjs/features/activity-log/PotentialMatchRecord/components/PotentialMatchField/PotentialMatchField.js +1 -1
  81. package/cjs/features/activity-log/RecordUpdates/RecordUpdates.test.js +207 -0
  82. package/cjs/features/activity-log/RecordUpdates/components/DeltaField/DeltaField.js +1 -1
  83. package/cjs/features/activity-log/RelationObject/RelationObject.test.js +46 -29
  84. package/cjs/features/activity-log/RelationRecord/RelationRecord.test.js +88 -68
  85. package/esm/UpSetChart/UpSetChart.d.ts +5 -8
  86. package/esm/UpSetChart/UpSetChart.js +38 -5
  87. package/esm/UpSetChart/UpSetChart.test.js +193 -0
  88. package/esm/UpSetChart/components/IntersectionsChart/IntersectionsChart.d.ts +15 -0
  89. package/esm/UpSetChart/components/IntersectionsChart/IntersectionsChart.js +39 -0
  90. package/esm/UpSetChart/components/IntersectionsChart/index.d.ts +1 -0
  91. package/esm/UpSetChart/components/IntersectionsChart/index.js +1 -0
  92. package/esm/UpSetChart/components/IntersectionsChart/styles.d.ts +1 -0
  93. package/esm/UpSetChart/components/IntersectionsChart/styles.js +29 -0
  94. package/esm/UpSetChart/components/IntersectionsChartAxis/IntersectionsChartAxis.d.ts +10 -0
  95. package/esm/UpSetChart/components/IntersectionsChartAxis/IntersectionsChartAxis.js +34 -0
  96. package/esm/UpSetChart/components/IntersectionsChartAxis/index.d.ts +1 -0
  97. package/esm/UpSetChart/components/IntersectionsChartAxis/index.js +1 -0
  98. package/esm/UpSetChart/components/IntersectionsChartAxis/styles.d.ts +1 -0
  99. package/esm/UpSetChart/components/IntersectionsChartAxis/styles.js +29 -0
  100. package/esm/UpSetChart/components/IntersectionsMatrix/IntersectionsMatrix.d.ts +13 -0
  101. package/esm/UpSetChart/components/IntersectionsMatrix/IntersectionsMatrix.js +26 -0
  102. package/esm/UpSetChart/components/IntersectionsMatrix/index.d.ts +1 -0
  103. package/esm/UpSetChart/components/IntersectionsMatrix/index.js +1 -0
  104. package/esm/UpSetChart/components/IntersectionsMatrix/styles.d.ts +1 -0
  105. package/esm/UpSetChart/components/IntersectionsMatrix/styles.js +24 -0
  106. package/esm/UpSetChart/components/SetsChart/SetsChart.d.ts +15 -0
  107. package/esm/UpSetChart/components/SetsChart/SetsChart.js +31 -0
  108. package/esm/UpSetChart/components/SetsChart/index.d.ts +1 -0
  109. package/esm/UpSetChart/components/SetsChart/index.js +1 -0
  110. package/esm/UpSetChart/components/SetsChart/styles.d.ts +1 -0
  111. package/esm/UpSetChart/components/SetsChart/styles.js +40 -0
  112. package/esm/UpSetChart/components/SetsChartAxis/SetsChartAxis.d.ts +6 -0
  113. package/esm/UpSetChart/components/SetsChartAxis/SetsChartAxis.js +13 -0
  114. package/esm/UpSetChart/components/SetsChartAxis/index.d.ts +1 -0
  115. package/esm/UpSetChart/components/SetsChartAxis/index.js +1 -0
  116. package/esm/UpSetChart/components/SetsChartAxis/styles.d.ts +1 -0
  117. package/esm/UpSetChart/components/SetsChartAxis/styles.js +14 -0
  118. package/esm/UpSetChart/constants.d.ts +16 -3
  119. package/esm/UpSetChart/constants.js +19 -3
  120. package/esm/UpSetChart/gameOfThrones.test-data.d.ts +4 -0
  121. package/esm/UpSetChart/gameOfThrones.test-data.js +23 -0
  122. package/esm/UpSetChart/helpers.d.ts +20 -0
  123. package/esm/UpSetChart/helpers.js +120 -0
  124. package/esm/UpSetChart/styles.d.ts +4 -1
  125. package/esm/UpSetChart/styles.js +11 -12
  126. package/esm/UpSetChart/types.d.ts +16 -0
  127. package/esm/UpSetChart/useUpSetChartSizes.d.ts +20 -0
  128. package/esm/UpSetChart/useUpSetChartSizes.js +30 -0
  129. package/esm/features/activity-log/ActivitiesFactory/ActivitiesFactory.d.ts +1 -1
  130. package/esm/features/activity-log/ActivitiesFactory/ActivitiesFactory.js +1 -1
  131. package/esm/features/activity-log/ActivitiesFactory/ActivitiesFactory.test.js +262 -0
  132. package/esm/features/activity-log/ActivitiesFactory/components/CommentActivity/CommentActivity.d.ts +1 -2
  133. package/esm/features/activity-log/ActivitiesFactory/components/CommentActivity/CommentActivity.js +1 -1
  134. package/esm/features/activity-log/ActivitiesFactory/components/CommentActivity/CommentActivity.test.js +5 -23
  135. package/esm/features/activity-log/ActivitiesFactory/components/GroupActivity/GroupActivity.js +2 -2
  136. package/esm/features/activity-log/ActivitiesFactory/components/GroupActivity/GroupActivity.test.js +3 -23
  137. package/esm/features/activity-log/ActivitiesFactory/components/MergeActivity/MergeActivity.js +2 -2
  138. package/esm/features/activity-log/ActivitiesFactory/components/MergeActivity/MergeActivity.test.js +81 -102
  139. package/esm/features/activity-log/ActivitiesFactory/components/ObjectLabel/ObjectLabel.d.ts +2 -2
  140. package/esm/features/activity-log/ActivitiesFactory/components/ObjectLabel/ObjectLabel.js +24 -2
  141. package/esm/features/activity-log/ActivitiesFactory/components/PotentialMatchActivity/PotentialMatchActivity.js +1 -1
  142. package/esm/features/activity-log/ActivitiesFactory/components/PotentialMatchActivity/PotentialMatchActivity.test.js +69 -48
  143. package/esm/features/activity-log/ActivitiesFactory/components/ProfileActivity/ProfileActivity.js +2 -2
  144. package/esm/features/activity-log/ActivitiesFactory/components/ProfileActivity/ProfileActivity.test.js +123 -107
  145. package/esm/features/activity-log/ActivitiesFactory/components/RelationActivity/RelationActivity.js +2 -2
  146. package/esm/features/activity-log/ActivitiesFactory/components/RelationActivity/RelationActivity.test.js +128 -115
  147. package/esm/features/activity-log/ActivitiesFactory/components/SearchActivity/SearchActivity.js +1 -1
  148. package/esm/features/activity-log/ActivitiesFactory/components/SearchActivity/SearchActivity.test.js +160 -183
  149. package/esm/features/activity-log/ActivitiesFactory/components/SimpleActivity/SimpleActivity.js +2 -2
  150. package/esm/features/activity-log/ActivitiesFactory/components/SimpleActivity/SimpleActivity.test.js +44 -28
  151. package/esm/features/activity-log/ActivitiesFactory/components/SynchronizationIssuesActivity/SynchronizationIssuesActivity.js +4 -5
  152. package/esm/features/activity-log/ActivitiesFactory/components/SynchronizationIssuesActivity/SynchronizationIssuesActivity.test.js +54 -47
  153. package/esm/features/activity-log/ActivityLog/ActivityLog.test.js +83 -22
  154. package/esm/features/activity-log/ActivityLog/components/GroupItem/GroupItem.js +1 -1
  155. package/esm/features/activity-log/ActivityLogFilter/ActivityLogFilter.test.js +779 -0
  156. package/esm/features/activity-log/ActivityTitle/ActivityTitle.d.ts +2 -3
  157. package/esm/features/activity-log/ActivityTitle/ActivityTitle.js +24 -2
  158. package/esm/features/activity-log/CollapsibleActivityRecords/CollapsibleActivityRecords.test.js +104 -58
  159. package/esm/features/activity-log/EntityObject/EntityObject.test.js +35 -26
  160. package/esm/features/activity-log/Field/Field.d.ts +2 -3
  161. package/esm/features/activity-log/Field/Field.js +24 -2
  162. package/esm/features/activity-log/PotentialMatchRecord/PotentialMatchRecord.test.js +160 -34
  163. package/esm/features/activity-log/PotentialMatchRecord/components/PotentialMatchField/PotentialMatchField.js +1 -1
  164. package/esm/features/activity-log/RecordUpdates/RecordUpdates.test.js +202 -0
  165. package/esm/features/activity-log/RecordUpdates/components/DeltaField/DeltaField.js +1 -1
  166. package/esm/features/activity-log/RelationObject/RelationObject.test.js +46 -29
  167. package/esm/features/activity-log/RelationRecord/RelationRecord.test.js +88 -68
  168. package/package.json +1 -1
  169. package/cjs/features/activity-log/ActivityExportButton/ActivityExportButton.specs.js +0 -142
  170. package/cjs/features/activity-log/ActivityFilterButton/ActivityFilterButton.specs.js +0 -131
  171. package/cjs/features/activity-log/ActivityFilterEditor/ActivityFilterEditor.specs.js +0 -252
  172. package/cjs/features/activity-log/ActivityFilterEditor/components/ActivitySelector/ActivitySelector.specs.js +0 -158
  173. package/cjs/features/activity-log/ActivityFilterEditor/components/EntityChangedSelectors/EntityChangedSelectors.specs.js +0 -135
  174. package/cjs/features/activity-log/ActivityFilterEditor/components/EntityTypesSelector/EntityTypesSelector.specs.js +0 -65
  175. package/cjs/features/activity-log/ActivityFilterEditor/components/SourceSelector/SourceSelector.specs.js +0 -119
  176. package/cjs/features/activity-log/ActivityFilterEditor/editor.test-data.d.ts +0 -25
  177. package/cjs/features/activity-log/ActivityFilterEditor/editor.test-data.js +0 -75
  178. package/cjs/features/activity-log/ActivityLog/components/ActivityItem/ActivityItem.test.js +0 -140
  179. package/cjs/features/activity-log/ActivityLog/components/GroupItem/GroupItem.test.js +0 -41
  180. package/cjs/features/activity-log/ActivityLogFilter/ActivityLogFilter.specs.d.ts +0 -1
  181. package/cjs/features/activity-log/ActivityLogFilter/ActivityLogFilter.specs.js +0 -87
  182. package/cjs/features/activity-log/ActivityTitle/ActivityTitle.test.d.ts +0 -1
  183. package/cjs/features/activity-log/ActivityTitle/ActivityTitle.test.js +0 -19
  184. package/cjs/features/activity-log/PotentialMatchRecord/components/PotentialMatchField/PotentialMatchField.test.d.ts +0 -1
  185. package/cjs/features/activity-log/PotentialMatchRecord/components/PotentialMatchField/PotentialMatchField.test.js +0 -179
  186. package/cjs/features/activity-log/RecordUpdates/RecordUpdates.specs.d.ts +0 -1
  187. package/cjs/features/activity-log/RecordUpdates/RecordUpdates.specs.js +0 -150
  188. package/cjs/features/activity-log/RecordUpdates/components/DeltaField/DeltaField.test.d.ts +0 -1
  189. package/cjs/features/activity-log/RecordUpdates/components/DeltaField/DeltaField.test.js +0 -124
  190. package/esm/features/activity-log/ActivityExportButton/ActivityExportButton.specs.d.ts +0 -1
  191. package/esm/features/activity-log/ActivityExportButton/ActivityExportButton.specs.js +0 -137
  192. package/esm/features/activity-log/ActivityFilterButton/ActivityFilterButton.specs.d.ts +0 -1
  193. package/esm/features/activity-log/ActivityFilterButton/ActivityFilterButton.specs.js +0 -126
  194. package/esm/features/activity-log/ActivityFilterEditor/ActivityFilterEditor.specs.d.ts +0 -1
  195. package/esm/features/activity-log/ActivityFilterEditor/ActivityFilterEditor.specs.js +0 -247
  196. package/esm/features/activity-log/ActivityFilterEditor/components/ActivitySelector/ActivitySelector.specs.d.ts +0 -1
  197. package/esm/features/activity-log/ActivityFilterEditor/components/ActivitySelector/ActivitySelector.specs.js +0 -153
  198. package/esm/features/activity-log/ActivityFilterEditor/components/EntityChangedSelectors/EntityChangedSelectors.specs.d.ts +0 -1
  199. package/esm/features/activity-log/ActivityFilterEditor/components/EntityChangedSelectors/EntityChangedSelectors.specs.js +0 -130
  200. package/esm/features/activity-log/ActivityFilterEditor/components/EntityTypesSelector/EntityTypesSelector.specs.d.ts +0 -1
  201. package/esm/features/activity-log/ActivityFilterEditor/components/EntityTypesSelector/EntityTypesSelector.specs.js +0 -60
  202. package/esm/features/activity-log/ActivityFilterEditor/components/SourceSelector/SourceSelector.specs.d.ts +0 -1
  203. package/esm/features/activity-log/ActivityFilterEditor/components/SourceSelector/SourceSelector.specs.js +0 -114
  204. package/esm/features/activity-log/ActivityFilterEditor/editor.test-data.d.ts +0 -25
  205. package/esm/features/activity-log/ActivityFilterEditor/editor.test-data.js +0 -72
  206. package/esm/features/activity-log/ActivityLog/components/ActivityItem/ActivityItem.test.d.ts +0 -1
  207. package/esm/features/activity-log/ActivityLog/components/ActivityItem/ActivityItem.test.js +0 -135
  208. package/esm/features/activity-log/ActivityLog/components/GroupItem/GroupItem.test.d.ts +0 -1
  209. package/esm/features/activity-log/ActivityLog/components/GroupItem/GroupItem.test.js +0 -36
  210. package/esm/features/activity-log/ActivityLogFilter/ActivityLogFilter.specs.d.ts +0 -1
  211. package/esm/features/activity-log/ActivityLogFilter/ActivityLogFilter.specs.js +0 -82
  212. package/esm/features/activity-log/ActivityTitle/ActivityTitle.test.d.ts +0 -1
  213. package/esm/features/activity-log/ActivityTitle/ActivityTitle.test.js +0 -14
  214. package/esm/features/activity-log/PotentialMatchRecord/components/PotentialMatchField/PotentialMatchField.test.d.ts +0 -1
  215. package/esm/features/activity-log/PotentialMatchRecord/components/PotentialMatchField/PotentialMatchField.test.js +0 -151
  216. package/esm/features/activity-log/RecordUpdates/RecordUpdates.specs.d.ts +0 -1
  217. package/esm/features/activity-log/RecordUpdates/RecordUpdates.specs.js +0 -122
  218. package/esm/features/activity-log/RecordUpdates/components/DeltaField/DeltaField.test.d.ts +0 -1
  219. package/esm/features/activity-log/RecordUpdates/components/DeltaField/DeltaField.test.js +0 -119
  220. /package/cjs/{features/activity-log/ActivityExportButton/ActivityExportButton.specs.d.ts → UpSetChart/UpSetChart.test.d.ts} +0 -0
  221. /package/cjs/features/activity-log/{ActivityFilterButton/ActivityFilterButton.specs.d.ts → ActivitiesFactory/ActivitiesFactory.test.d.ts} +0 -0
  222. /package/cjs/features/activity-log/{ActivityFilterEditor/ActivityFilterEditor.specs.d.ts → ActivityLogFilter/ActivityLogFilter.test.d.ts} +0 -0
  223. /package/cjs/features/activity-log/{ActivityFilterEditor/components/ActivitySelector/ActivitySelector.specs.d.ts → RecordUpdates/RecordUpdates.test.d.ts} +0 -0
  224. /package/{cjs/features/activity-log/ActivityFilterEditor/components/EntityChangedSelectors/EntityChangedSelectors.specs.d.ts → esm/UpSetChart/UpSetChart.test.d.ts} +0 -0
  225. /package/{cjs/features/activity-log/ActivityFilterEditor/components/EntityTypesSelector/EntityTypesSelector.specs.d.ts → esm/UpSetChart/types.js} +0 -0
  226. /package/{cjs/features/activity-log/ActivityFilterEditor/components/SourceSelector/SourceSelector.specs.d.ts → esm/features/activity-log/ActivitiesFactory/ActivitiesFactory.test.d.ts} +0 -0
  227. /package/{cjs/features/activity-log/ActivityLog/components/ActivityItem/ActivityItem.test.d.ts → esm/features/activity-log/ActivityLogFilter/ActivityLogFilter.test.d.ts} +0 -0
  228. /package/{cjs/features/activity-log/ActivityLog/components/GroupItem/GroupItem.test.d.ts → esm/features/activity-log/RecordUpdates/RecordUpdates.test.d.ts} +0 -0
@@ -10,119 +10,135 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import React from 'react';
13
- import { shallow } from 'enzyme';
14
- import { ProfileActivity } from './ProfileActivity';
13
+ import { render, screen, within } from '@testing-library/react';
14
+ import { MdmModuleProvider } from '../../../../../contexts/MdmModuleContext';
15
15
  import { ActivityTypes } from '../../../types';
16
- import { CollapsibleActivityRecords } from '../../../CollapsibleActivityRecords';
17
- describe('ProfileActivity tests', function () {
18
- var data = {
19
- uri: 'activities/f0efd6b4-129b-4379-a37c-ac2c08e3f2a5',
20
- user: 'alexander.kirsanov',
21
- timestamp: 1622096971385,
22
- items: [
23
- {
24
- id: '30Y8UsZr',
25
- user: 'alexander.kirsanov',
26
- method: 'PUT',
27
- url: '/reltio/api/alenat/entities/k5nO0xA/attributes/TextField/3UIcE257b',
28
- clientType: 'Reltio UI',
29
- timestamp: 1622096971385,
30
- objectUri: 'entities/k5nO0xA',
31
- objectType: 'configuration/entityTypes/HCP',
32
- objectLabel: 'BulkUpdate_regression_3 Label_test_Long_label_test_long_long_long_long_long - RelationTableViewss - New Address for HCP_Bulk_Update with long_label Londomir',
33
- data: {
34
- type: 'ENTITY_CHANGED'
35
- },
36
- deltaCollection: {
37
- ovChanged: true,
38
- delta: [
39
- {
40
- type: 'ATTRIBUTE_CHANGED',
41
- attributeType: 'configuration/entityTypes/HCP/attributes/TextField',
42
- newValue: {
43
- value: 'Str31',
44
- ov: true,
45
- id: '3UIcE257b',
46
- sources: ['Reltio']
47
- },
48
- oldValue: {
49
- value: 'Str1',
50
- ov: true,
51
- id: '3UIcE257b',
52
- sources: ['Reltio']
53
- }
54
- }
55
- ]
56
- },
57
- eventId: '1622096971385_03DVkNW'
58
- },
59
- {
60
- id: '30Y8UsZr',
61
- user: 'alexander.kirsanov',
62
- method: 'PUT',
63
- url: '/reltio/api/alenat/entities/k5nO0xA/attributes/TextField/3UIcE257b',
64
- clientType: 'Reltio UI',
65
- timestamp: 1622096971385,
66
- objectUri: 'entities/k5nO0xA',
67
- objectType: 'configuration/entityTypes/HCP',
68
- objectLabel: 'BulkUpdate_regression_3 Label_test_Long_label_test_long_long_long_long_long - RelationTableViewss - New Address for HCP_Bulk_Update with long_label Londomir',
69
- data: {
70
- type: 'ENTITY_CHANGED'
71
- },
72
- deltaCollection: {
73
- ovChanged: true,
74
- delta: [
75
- {
76
- type: 'ATTRIBUTE_CHANGED',
77
- attributeType: 'configuration/entityTypes/HCP/attributes/TextField',
78
- newValue: {
79
- value: 'Str31',
80
- ov: true,
81
- id: '3UIcE257b',
82
- sources: ['Reltio']
83
- },
84
- oldValue: {
85
- value: 'Str1',
86
- ov: true,
87
- id: '3UIcE257b',
88
- sources: ['Reltio']
89
- }
90
- }
91
- ]
92
- },
93
- eventId: '1622096971385_03DVkNW'
94
- }
95
- ],
96
- itemsTotal: 1
97
- };
98
- var itemWithoutDelta = {
16
+ import { CollapsibleItemsProvider } from '../../../contexts/CollapsibleItemsContext';
17
+ import { ProfileActivity } from './ProfileActivity';
18
+ var defaultItems = [
19
+ {
99
20
  id: '30Y8UsZr',
100
- user: 'alexander.kirsanov',
101
- method: 'PUT',
102
- url: '/reltio/api/alenat/entities/k5nO0xA/attributes/TextField/3UIcE257b',
103
- clientType: 'Reltio UI',
104
21
  timestamp: 1622096971385,
105
22
  objectUri: 'entities/k5nO0xA',
106
23
  objectType: 'configuration/entityTypes/HCP',
107
- objectLabel: 'test',
108
- data: {
109
- type: 'ENTITY_CHANGED'
110
- },
24
+ objectLabel: 'item 1',
25
+ data: { type: ActivityTypes.ENTITY_CHANGED },
26
+ deltaCollection: {
27
+ ovChanged: true,
28
+ delta: [
29
+ {
30
+ type: 'ATTRIBUTE_CHANGED',
31
+ attributeType: 'configuration/entityTypes/HCP/attributes/TextField',
32
+ newValue: { value: 'new value', ov: true, id: '3UIcE257b', sources: ['Reltio'] },
33
+ oldValue: { value: 'old value', ov: true, id: '3UIcE257b', sources: ['Reltio'] }
34
+ }
35
+ ]
36
+ }
37
+ },
38
+ {
39
+ id: 'o8NMgwA3',
40
+ timestamp: 1622096971385,
41
+ objectUri: 'entities/jD9maD2',
42
+ objectType: 'configuration/entityTypes/HCP',
43
+ objectLabel: 'item 2',
44
+ data: { type: ActivityTypes.ENTITY_CHANGED },
111
45
  deltaCollection: {
112
- ovChanged: false
113
- },
114
- eventId: '1622096971385_03DVkNW'
46
+ ovChanged: true,
47
+ delta: [
48
+ {
49
+ type: 'ATTRIBUTE_REMOVED',
50
+ attributeType: 'configuration/entityTypes/HCP/attributes/TextField',
51
+ oldValue: { value: 'removed value', ov: true, id: 'jd9SamA', sources: ['Reltio'] }
52
+ }
53
+ ]
54
+ }
55
+ }
56
+ ];
57
+ var defaultData = {
58
+ uri: 'activities/f0efd6b4-129b-4379-a37c-ac2c08e3f2a5',
59
+ user: 'alexander.kirsanov',
60
+ timestamp: 1622096971385,
61
+ items: defaultItems,
62
+ itemsTotal: 2
63
+ };
64
+ var defaultProps = {
65
+ data: defaultData,
66
+ type: ActivityTypes.ENTITY_CHANGED
67
+ };
68
+ var defaultMdmValues = {
69
+ metadata: {
70
+ entityTypes: [
71
+ {
72
+ uri: 'configuration/entityTypes/HCP',
73
+ label: 'HCP',
74
+ attributes: [
75
+ {
76
+ label: 'String',
77
+ name: 'TextField',
78
+ type: 'String',
79
+ uri: 'configuration/entityTypes/HCP/attributes/TextField'
80
+ }
81
+ ]
82
+ }
83
+ ]
84
+ },
85
+ uiPath: 'https://reltio.com/nui'
86
+ };
87
+ var setUp = function (_a) {
88
+ var _b = _a === void 0 ? {} : _a, _c = _b.props, props = _c === void 0 ? defaultProps : _c, _d = _b.mdmValues, mdmValues = _d === void 0 ? defaultMdmValues : _d;
89
+ var Providers = function (_a) {
90
+ var children = _a.children;
91
+ return (React.createElement(MdmModuleProvider, { values: mdmValues },
92
+ React.createElement(CollapsibleItemsProvider, null, children)));
115
93
  };
116
- it('should render correctly', function () {
117
- var wrapper = shallow(React.createElement(ProfileActivity, { type: ActivityTypes.ENTITY_CHANGED, data: data }));
118
- expect(wrapper.find('ActivityTitle').prop('type')).toBe(ActivityTypes.ENTITY_CHANGED);
119
- expect(wrapper.find('EntityObject').length).toBe(0);
120
- var collapsedActivity = wrapper.find(CollapsibleActivityRecords);
121
- expect(collapsedActivity.prop('activityUri')).toBe(data.uri);
122
- expect(collapsedActivity.prop('items')).toEqual(data.items);
123
- wrapper.setProps({ data: __assign(__assign({}, data), { items: [itemWithoutDelta] }) });
124
- expect(wrapper.find('ActivityTitle').prop('type')).toBe(ActivityTypes.ENTITY_CHANGED);
125
- expect(wrapper.find('EntityObject').length).toBe(1);
126
- expect(wrapper.find(CollapsibleActivityRecords)).toHaveLength(0);
94
+ return render(React.createElement(ProfileActivity, __assign({}, props)), { wrapper: Providers });
95
+ };
96
+ describe('Profile activity tests', function () {
97
+ it('should render minimized if itemsTotal is 1 and there is not delta field', function () {
98
+ var props = __assign(__assign({}, defaultProps), { data: __assign(__assign({}, defaultData), { items: [
99
+ {
100
+ id: '30Y8UsZr',
101
+ timestamp: 1622096971385,
102
+ objectUri: 'entities/k5nO0xA',
103
+ objectType: 'configuration/entityTypes/HCP',
104
+ objectLabel: 'item 1',
105
+ data: { type: ActivityTypes.ENTITY_CHANGED }
106
+ }
107
+ ], itemsTotal: 1 }) });
108
+ setUp({ props: props });
109
+ var title = screen.getByTestId('profile-activity-title');
110
+ within(title).getByText('item 1');
111
+ within(title).getByText('Profile updated');
112
+ expect(screen.queryByTestId('reltio-activity-log-record')).not.toBeInTheDocument();
113
+ });
114
+ it('should render maximized if itemsTotal is 1 but there is delta field', function () {
115
+ var props = __assign(__assign({}, defaultProps), { data: __assign(__assign({}, defaultData), { items: defaultItems.slice(0, 1), itemsTotal: 1 }) });
116
+ setUp({ props: props });
117
+ var title = screen.getByTestId('profile-activity-title');
118
+ within(title).getByText('Profile updated');
119
+ expect(within(title).queryByText('item 1')).not.toBeInTheDocument();
120
+ var record = screen.getByTestId('reltio-activity-log-record');
121
+ within(record).getByText('item 1');
122
+ expect(record).toHaveTextContent('String:');
123
+ expect(record).toHaveTextContent('old value');
124
+ expect(record).toHaveTextContent('new value');
125
+ expect(record).toHaveTextContent('edited');
126
+ });
127
+ it('should render maximized if itemsTotal is not 1', function () {
128
+ setUp();
129
+ var title = screen.getByTestId('profile-activity-title');
130
+ within(title).getByText('Profile updated');
131
+ expect(within(title).queryByText('item 1')).not.toBeInTheDocument();
132
+ expect(within(title).queryByText('item 2')).not.toBeInTheDocument();
133
+ var records = screen.getAllByTestId('reltio-activity-log-record');
134
+ within(records[0]).getByText('item 1');
135
+ expect(records[0]).toHaveTextContent('String:');
136
+ expect(records[0]).toHaveTextContent('old value');
137
+ expect(records[0]).toHaveTextContent('new value');
138
+ expect(records[0]).toHaveTextContent('edited');
139
+ within(records[1]).getByText('item 2');
140
+ expect(records[1]).toHaveTextContent('String:');
141
+ expect(records[1]).toHaveTextContent('removed value');
142
+ expect(records[1]).toHaveTextContent('deleted');
127
143
  });
128
144
  });
@@ -7,7 +7,7 @@ export var RelationActivity = function (_a) {
7
7
  var _b;
8
8
  var type = _a.type, data = _a.data;
9
9
  var isMinimized = data.itemsTotal === 1 && !((_b = data.items[0].deltaCollection) === null || _b === void 0 ? void 0 : _b.delta);
10
- return (React.createElement("div", null,
11
- React.createElement(ActivityTitle, { type: type }, isMinimized && React.createElement(RelationObject, { item: data.items[0] })),
10
+ return (React.createElement("div", { "data-reltio-id": "relation-activity" },
11
+ React.createElement(ActivityTitle, { type: type, "data-reltio-id": "relation-activity-title" }, isMinimized && React.createElement(RelationObject, { item: data.items[0] })),
12
12
  !isMinimized && (React.createElement(CollapsibleActivityRecords, { activityUri: data.uri, items: data.items, RecordComponent: RelationRecord }))));
13
13
  };
@@ -10,129 +10,142 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import React from 'react';
13
- import { shallow } from 'enzyme';
14
- import { RelationActivity } from './RelationActivity';
13
+ import { render, screen, within } from '@testing-library/react';
14
+ import { MdmModuleProvider } from '../../../../../contexts/MdmModuleContext';
15
15
  import { ActivityTypes } from '../../../types';
16
- import { CollapsibleActivityRecords } from '../../../CollapsibleActivityRecords';
17
- describe('RelationActivity tests', function () {
18
- var data = {
19
- uri: 'activities/4de656b9-e9c3-451d-8d3d-833c5a268268',
20
- user: 'egorshkov',
21
- timestamp: 1621250955807,
22
- items: [
23
- {
24
- id: '89tO5c5G',
25
- user: 'egorshkov',
26
- method: 'POST',
27
- url: '/reltio/api/alenat/entities/10hy6j0b/_update',
28
- clientType: 'Reltio UI',
29
- timestamp: 1621250955807,
30
- objectUri: 'relations/edEoxDC',
31
- objectType: 'configuration/relationTypes/HasAddress',
32
- startObjectUri: 'entities/10hy6j0b',
33
- startObjectLabel: '- cBtCASwtAeEbTxe Agacati',
34
- endObjectUri: 'entities/1BVkicLG',
35
- endObjectLabel: 'cBtCASwtAeEbTxe Agacati Nash',
36
- data: {
37
- type: 'RELATIONSHIP_CHANGED'
38
- },
39
- deltaCollection: {
40
- ovChanged: true,
41
- delta: [
42
- {
43
- type: 'ATTRIBUTE_CHANGED',
44
- attributeType: 'configuration/relationTypes/HasAddress/attributes/AddressType',
45
- newValue: {
46
- value: 'CLIN',
47
- ov: true,
48
- id: '2BY80NuxW',
49
- sources: ['Reltio']
50
- },
51
- oldValue: {
52
- value: 'BUSI',
53
- ov: true,
54
- id: '2BY80NuxW',
55
- sources: ['Reltio']
56
- }
57
- }
58
- ]
59
- },
60
- eventId: '1621250955807_025tRjR'
61
- },
62
- {
63
- id: '89tO5c5G',
64
- user: 'egorshkov',
65
- method: 'POST',
66
- url: '/reltio/api/alenat/entities/10hy6j0b/_update',
67
- clientType: 'Reltio UI',
68
- timestamp: 1621250955807,
69
- objectUri: 'relations/edEoxDC',
70
- objectType: 'configuration/relationTypes/HasAddress',
71
- startObjectUri: 'entities/10hy6j0b',
72
- startObjectLabel: '- cBtCASwtAeEbTxe Agacati',
73
- endObjectUri: 'entities/1BVkicLG',
74
- endObjectLabel: 'cBtCASwtAeEbTxe Agacati Nash',
75
- data: {
76
- type: 'RELATIONSHIP_CHANGED'
77
- },
78
- deltaCollection: {
79
- ovChanged: true,
80
- delta: [
81
- {
82
- type: 'ATTRIBUTE_CHANGED',
83
- attributeType: 'configuration/relationTypes/HasAddress/attributes/AddressType',
84
- newValue: {
85
- value: 'CLINS',
86
- ov: true,
87
- id: '2BY80NuxW',
88
- sources: ['Reltio']
89
- },
90
- oldValue: {
91
- value: 'BUSIQ',
92
- ov: true,
93
- id: '2BY80NuxW',
94
- sources: ['Reltio']
95
- }
96
- }
97
- ]
98
- },
99
- eventId: '1621250955807_025tRjR'
100
- }
101
- ],
102
- itemsTotal: 2
103
- };
104
- var itemWithoutDelta = {
16
+ import { CollapsibleItemsProvider } from '../../../contexts/CollapsibleItemsContext';
17
+ import { RelationActivity } from './RelationActivity';
18
+ var defaultItems = [
19
+ {
105
20
  id: '89tO5c5G',
106
- user: 'egorshkov',
107
- method: 'POST',
108
- url: '/reltio/api/alenat/entities/10hy6j0b/_update',
109
- clientType: 'Reltio UI',
110
21
  timestamp: 1621250955807,
111
22
  objectUri: 'relations/edEoxDC',
112
23
  objectType: 'configuration/relationTypes/HasAddress',
113
24
  startObjectUri: 'entities/10hy6j0b',
114
- startObjectLabel: '- cBtCASwtAeEbTxe Agacati',
25
+ startObjectLabel: 'item 1 start object label',
115
26
  endObjectUri: 'entities/1BVkicLG',
116
- endObjectLabel: 'cBtCASwtAeEbTxe Agacati Nash',
117
- data: {
118
- type: 'RELATIONSHIP_CHANGED'
119
- },
27
+ endObjectLabel: 'item 1 end object label',
28
+ data: { type: ActivityTypes.RELATIONSHIP_CHANGED },
29
+ deltaCollection: {
30
+ ovChanged: true,
31
+ delta: [
32
+ {
33
+ type: 'ATTRIBUTE_CHANGED',
34
+ attributeType: 'configuration/relationTypes/HasAddress/attributes/AddressType',
35
+ newValue: { value: 'CLIN', ov: true, id: 'yTn28IobS', sources: ['Reltio'] },
36
+ oldValue: { value: 'BUSI', ov: true, id: 'yTn28IobS', sources: ['Reltio'] }
37
+ }
38
+ ]
39
+ }
40
+ },
41
+ {
42
+ id: '473Jsm3S',
43
+ timestamp: 1621250955807,
44
+ objectUri: 'relations/dK321SxZ',
45
+ objectType: 'configuration/relationTypes/HasAddress',
46
+ startObjectUri: 'entities/l28Nd2Zx',
47
+ startObjectLabel: 'item 2 start object label',
48
+ endObjectUri: 'entities/oP23Nsm3',
49
+ endObjectLabel: 'item 2 end object label',
50
+ data: { type: ActivityTypes.RELATIONSHIP_CHANGED },
120
51
  deltaCollection: {
121
- ovChanged: false,
122
- delta: undefined
123
- },
124
- eventId: '1621250955807_025tRjR'
52
+ ovChanged: true,
53
+ delta: [
54
+ {
55
+ type: 'ATTRIBUTE_CHANGED',
56
+ attributeType: 'configuration/relationTypes/HasAddress/attributes/AddressType',
57
+ newValue: { value: 'CLINS', ov: true, id: '2BY80NuxW', sources: ['Reltio'] },
58
+ oldValue: { value: 'BUSIQ', ov: true, id: '2BY80NuxW', sources: ['Reltio'] }
59
+ }
60
+ ]
61
+ }
62
+ }
63
+ ];
64
+ var defaultData = {
65
+ uri: 'activities/f0efd6b4-129b-4379-a37c-ac2c08e3f2a5',
66
+ user: 'alexander.kirsanov',
67
+ timestamp: 1622096971385,
68
+ items: defaultItems,
69
+ itemsTotal: 2
70
+ };
71
+ var defaultProps = {
72
+ data: defaultData,
73
+ type: ActivityTypes.RELATIONSHIP_CHANGED
74
+ };
75
+ var defaultMdmValues = {
76
+ metadata: {
77
+ entityTypes: [],
78
+ relationTypes: [
79
+ {
80
+ uri: 'configuration/relationTypes/HasAddress',
81
+ label: 'Has address',
82
+ attributes: [
83
+ {
84
+ label: 'Address type',
85
+ name: 'AddressType',
86
+ type: 'String',
87
+ uri: 'configuration/relationTypes/HasAddress/attributes/AddressType'
88
+ }
89
+ ]
90
+ }
91
+ ]
92
+ },
93
+ uiPath: 'https://reltio.com/nui'
94
+ };
95
+ var setUp = function (_a) {
96
+ var _b = _a === void 0 ? {} : _a, _c = _b.props, props = _c === void 0 ? defaultProps : _c, _d = _b.mdmValues, mdmValues = _d === void 0 ? defaultMdmValues : _d;
97
+ var Providers = function (_a) {
98
+ var children = _a.children;
99
+ return (React.createElement(MdmModuleProvider, { values: mdmValues },
100
+ React.createElement(CollapsibleItemsProvider, null, children)));
125
101
  };
126
- it('should render correctly', function () {
127
- var wrapper = shallow(React.createElement(RelationActivity, { type: ActivityTypes.RELATIONSHIP_CHANGED, data: data }));
128
- expect(wrapper.find('ActivityTitle').prop('type')).toBe(ActivityTypes.RELATIONSHIP_CHANGED);
129
- expect(wrapper.find('RelationObject').length).toBe(0);
130
- var collapsedActivity = wrapper.find(CollapsibleActivityRecords);
131
- expect(collapsedActivity.prop('activityUri')).toBe(data.uri);
132
- expect(collapsedActivity.prop('items')).toEqual(data.items);
133
- wrapper.setProps({ data: __assign(__assign({}, data), { items: [itemWithoutDelta], itemsTotal: 1 }) });
134
- expect(wrapper.find('ActivityTitle').prop('type')).toBe(ActivityTypes.RELATIONSHIP_CHANGED);
135
- expect(wrapper.find('RelationObject').length).toBe(1);
136
- expect(wrapper.find(CollapsibleActivityRecords)).toHaveLength(0);
102
+ return render(React.createElement(RelationActivity, __assign({}, props)), { wrapper: Providers });
103
+ };
104
+ describe('Relation activity tests', function () {
105
+ it('should render minimized if itemsTotal is 1 and there is not delta field', function () {
106
+ var props = __assign(__assign({}, defaultProps), { data: __assign(__assign({}, defaultData), { items: [__assign(__assign({}, defaultItems[0]), { deltaCollection: undefined })], itemsTotal: 1 }) });
107
+ setUp({ props: props });
108
+ var title = screen.getByTestId('relation-activity-title');
109
+ within(title).getByText('item 1 start object label');
110
+ within(title).getByText('item 1 end object label');
111
+ within(title).getByText('Relationship updated');
112
+ expect(screen.queryByTestId('reltio-activity-log-record')).not.toBeInTheDocument();
113
+ });
114
+ it('should render maximized if itemsTotal is 1 but there is delta field', function () {
115
+ var props = __assign(__assign({}, defaultProps), { data: __assign(__assign({}, defaultData), { items: defaultItems.slice(0, 1), itemsTotal: 1 }) });
116
+ setUp({ props: props });
117
+ var title = screen.getByTestId('relation-activity-title');
118
+ within(title).getByText('Relationship updated');
119
+ expect(within(title).queryByText('item 1 start object label')).not.toBeInTheDocument();
120
+ expect(within(title).queryByText('item 1 end object label')).not.toBeInTheDocument();
121
+ var record = screen.getByTestId('reltio-activity-log-record');
122
+ within(record).getByText('item 1 start object label');
123
+ within(record).getByText('item 1 end object label');
124
+ expect(record).toHaveTextContent('Address type:');
125
+ expect(record).toHaveTextContent('BUSI');
126
+ expect(record).toHaveTextContent('CLIN');
127
+ expect(record).toHaveTextContent('edited');
128
+ });
129
+ it('should render maximized if itemsTotal is not 1', function () {
130
+ setUp();
131
+ var title = screen.getByTestId('relation-activity-title');
132
+ within(title).getByText('Relationship updated');
133
+ expect(within(title).queryByText('item 1 start object label')).not.toBeInTheDocument();
134
+ expect(within(title).queryByText('item 1 end object label')).not.toBeInTheDocument();
135
+ expect(within(title).queryByText('item 2 start object label')).not.toBeInTheDocument();
136
+ expect(within(title).queryByText('item 2 end object label')).not.toBeInTheDocument();
137
+ var records = screen.getAllByTestId('reltio-activity-log-record');
138
+ within(records[0]).getByText('item 1 start object label');
139
+ within(records[0]).getByText('item 1 end object label');
140
+ expect(records[0]).toHaveTextContent('Address type:');
141
+ expect(records[0]).toHaveTextContent('BUSI');
142
+ expect(records[0]).toHaveTextContent('CLIN');
143
+ expect(records[0]).toHaveTextContent('edited');
144
+ within(records[1]).getByText('item 2 start object label');
145
+ within(records[1]).getByText('item 2 end object label');
146
+ expect(records[1]).toHaveTextContent('Address type:');
147
+ expect(records[1]).toHaveTextContent('BUSIQ');
148
+ expect(records[1]).toHaveTextContent('CLINS');
149
+ expect(records[1]).toHaveTextContent('edited');
137
150
  });
138
151
  });
@@ -16,6 +16,6 @@ export var SearchActivity = function (_a) {
16
16
  }, [data.description]);
17
17
  var handleOpenSearch = pipe(always(searchState), openSearch);
18
18
  var readableQueryString = useReadableSearchState(searchState).readableQueryString;
19
- return (React.createElement(ActivityTitle, { type: type },
19
+ return (React.createElement(ActivityTitle, { type: type, "data-reltio-id": "search-activity" },
20
20
  React.createElement("span", { className: styles.link, onClick: handleOpenSearch }, readableQueryString || i18n.text('all profiles'))));
21
21
  };