@reltio/components 1.4.2070 → 1.4.2072

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 (332) hide show
  1. package/AttributesView/AttributesView.js +1 -1
  2. package/ColumnsSettings/components/ColumnsSettingsPopup/ColumnsSettingsPopup.d.ts +2 -3
  3. package/ColumnsSettings/helpers.d.ts +3 -1
  4. package/ColumnsSettings/types.d.ts +8 -0
  5. package/CommentsContainer/CommentsContainer.js +1 -1
  6. package/ConfigureColumnsPopup/ConfigureColumnsPopup.d.ts +23 -40
  7. package/ConfigureColumnsPopup/ConfigureColumnsPopup.js +6 -26
  8. package/EditModeAttributesList/EditModeAttributesList.js +1 -1
  9. package/EditModeAttributesPager/EditModeAttributesPager.test.js +1 -1
  10. package/EditModeAttributesPager/components/AttributeRenderer/AttributeRenderer.js +1 -1
  11. package/FacetViewHeader/FacetViewHeader.js +1 -1
  12. package/ImageAttributesLine/imageAttributeValues.test-data.js +8 -0
  13. package/ImageAttributesLine/index.d.ts +1 -1
  14. package/ImageAttributesLine/index.js +1 -1
  15. package/ImageDetailsView/components/ImageDetailsViewCarousel/ImageDetailsViewCarousel.js +1 -1
  16. package/MergeButton/MergeButton.spec.js +55 -124
  17. package/MetadataTypesSelector/MetadataTypesSelector.d.ts +2 -1
  18. package/MetadataTypesSelector/MetadataTypesSelector.js +1 -1
  19. package/MetadataTypesSelector/MetadataTypesSelector.test.js +193 -190
  20. package/MetadataTypesSelector/components/SelectMetadataTypesList/SelectMetadataTypesList.d.ts +5 -6
  21. package/MoreAttributesButton/MoreAttributesButton.test.js +173 -166
  22. package/MoreAttributesButton/useMoreAttributesItems.d.ts +1 -1
  23. package/MultiValueSelector/MultiValueSelector.test.js +78 -38
  24. package/MultipliableSelect/MultipliableSelect.test.js +111 -47
  25. package/NestedAttribute/NestedAttribute.test.js +121 -42
  26. package/NestedAttributeEditor/NestedAttributeEditor.test.js +95 -41
  27. package/NotMatchButton/NotMatchButton.spec.js +51 -100
  28. package/PieChart/PieChart.test.js +130 -114
  29. package/PinButton/PinButton.spec.js +89 -22
  30. package/PivotingTooltip/PivotingTooltip.test.js +338 -174
  31. package/PotentialMatchReviewCard/PotentialMatchReviewCard.spec.js +94 -29
  32. package/ProfileBand/ProfileBand.spec.js +60 -53
  33. package/ProfileCard/ProfileCard.test.js +109 -27
  34. package/ProfilesList/ProfilesList.d.ts +1 -3
  35. package/ProfilesList/ProfilesList.js +1 -1
  36. package/ProfilesList/ProfilesList.spec.js +226 -211
  37. package/QueryBuilderRow/QueryBuilderRow.spec.js +83 -90
  38. package/QueryBuilderRowsGroup/QueryBuilderRowsGroup.spec.js +195 -86
  39. package/ReactSelectLoadMoreButton/ReactSelectLoadMoreButton.test.js +73 -15
  40. package/ReactSelectMenuWithPopper/ReactSelectMenuWithPopper.test.js +71 -117
  41. package/ReadOnlyAttributeValuesBlock/ReadOnlyAttributeValuesBlock.test.js +128 -61
  42. package/ReadOnlyAttributesFactory/components/ReadOnlyAttribute/ReadOnlyAttribute.test.js +179 -44
  43. package/ReadOnlyAttributesList/ReadOnlyAttributesList.js +1 -1
  44. package/ReadOnlyAttributesList/ReadOnlyAttributesList.test.js +254 -211
  45. package/ReadOnlyAttributesList/attributes.test-data.js +4 -4
  46. package/ReadOnlyAttributesPager/ReadOnlyAttributesPager.js +1 -1
  47. package/ReadOnlyAttributesPager/ReadOnlyAttributesPager.test.js +75 -18
  48. package/ReadOnlyAttributesView/ReadOnlyAttributesView.js +1 -1
  49. package/ReadOnlyAttributesView/ReadOnlyAttributesView.test.js +187 -312
  50. package/ReadOnlyComplexAttribute/ReadOnlyComplexAttribute.test.js +210 -219
  51. package/ReadOnlyImageAttributesLine/ReadOnlyImageAttributesLine.test.js +89 -89
  52. package/ReferenceAttributeEditor/ReferenceAttributeEditor.test.js +556 -602
  53. package/ReferenceAttributeEditor/metadata.test-data.d.ts +13 -13
  54. package/ReferenceAttributeEditor/metadata.test-data.js +2 -2
  55. package/ReferenceAttributeEditor/styles.d.ts +1 -1
  56. package/RelationEditor/RelationEditor.test.js +1448 -1392
  57. package/RelationTypeSelector/RelationTypeSelector.test.js +99 -17
  58. package/RelationTypesSelector/RelationTypesSelector.test.js +73 -22
  59. package/ReltioMap/ReltioMap.spec.js +51 -25
  60. package/Roles/Roles.test.js +54 -10
  61. package/ScreenProfileBand/ScreenProfileBand.test.js +142 -72
  62. package/ScrollableTabs/ScrollableTabs.test.js +69 -19
  63. package/SearchHighlighter/SearchHighlighter.test.js +18 -7
  64. package/SelectAttributesList/SelectAttributesList.d.ts +11 -6
  65. package/SelectAttributesList/SelectAttributesList.js +5 -2
  66. package/SelectorWithOnlyOptionAutoSelect/SelectorWithOnlyOptionAutoSelect.test.js +109 -60
  67. package/SidePanelContentHeader/SidePanelContentHeader.js +2 -2
  68. package/SidePanelContentHeader/SidePanelContentHeader.test.js +104 -0
  69. package/SidePanelEmptyState/SidePanelEmptyState.js +1 -1
  70. package/SidePanelEmptyState/SidePanelEmptyState.test.js +24 -0
  71. package/SimpleAttribute/SimpleAttribute.js +1 -1
  72. package/SimpleAttribute/SimpleAttribute.test.js +155 -80
  73. package/SimpleAttributeEditor/SimpleAttributeEditor.test.js +339 -330
  74. package/SimpleAttributeEditor/useAttributeValuePermissions.js +1 -1
  75. package/SimpleDropDownSelector/SimpleDropDownSelector.test.js +86 -10
  76. package/SimpleDropDownSelector/components/DropDownPlaceholder/DropDownPlaceholder.js +1 -1
  77. package/SimpleDropDownSelector/components/DropDownValue/DropDownValue.js +1 -1
  78. package/SimpleMatchRulesBlock/SimpleMatchRulesBlock.test.js +128 -32
  79. package/SmallIconButton/SmallIconButton.test.js +98 -25
  80. package/TableWithBars/TableWithBars.test.js +98 -60
  81. package/TableWithBars/components/AttributeCellRenderer/AttributeCellRenderer.js +1 -1
  82. package/TableWithBars/components/HeadCellRenderer/HeadCellRenderer.js +1 -1
  83. package/Tags/Tags.d.ts +0 -1
  84. package/Tags/Tags.test.js +8 -7
  85. package/TransitiveMatchBlock/TransitiveMatchBlock.test.js +78 -22
  86. package/TransitiveMatchRule/TransitiveMatchRule.test.js +78 -37
  87. package/TransitiveMatchRulesTooltip/TransitiveMatchRulesTooltip.js +1 -1
  88. package/TransitiveMatchRulesTooltip/TransitiveMatchRulesTooltip.test.js +12 -18
  89. package/UploadFileButton/UploadFileButton.d.ts +2 -2
  90. package/UploadFileButton/UploadFileButton.test.js +199 -0
  91. package/UploadImageDialog/UploadImageDialog.test.js +1 -0
  92. package/UploadImageDialog/components/DividerWithText/DividerWithText.js +1 -1
  93. package/UploadImageDialog/components/ErrorSnackbar/ErrorSnackbar.test.js +80 -22
  94. package/UploadImageDialog/components/ImageByUrlField/ImageByUrlField.js +1 -1
  95. package/UploadImageDialog/components/ImageByUrlField/ImageByUrlField.test.js +162 -49
  96. package/ValueChip/ValueChip.test.js +7 -23
  97. package/VirtualGroupedList/VirtualGroupedList.d.ts +19 -31
  98. package/VirtualGroupedList/VirtualGroupedList.js +11 -36
  99. package/VirtualGroupedList/VirtualGroupedList.test.js +224 -0
  100. package/VirtualGroupedList/helpers.d.ts +7 -2
  101. package/VirtualGroupedList/helpers.js +3 -1
  102. package/VirtualGroupedList/index.d.ts +1 -1
  103. package/VirtualGroupedList/types.d.ts +10 -6
  104. package/VirtualGroupedList/useScrollToFocusItem.d.ts +8 -5
  105. package/WhiteSearchInput/{WhiteSearchInput.spec.js → WhiteSearchInput.test.js} +3 -8
  106. package/cjs/AttributesView/AttributesView.js +2 -2
  107. package/cjs/ColumnsSettings/components/ColumnsSettingsPopup/ColumnsSettingsPopup.d.ts +2 -3
  108. package/cjs/ColumnsSettings/helpers.d.ts +3 -1
  109. package/cjs/ColumnsSettings/types.d.ts +8 -0
  110. package/cjs/ColumnsSettings/types.js +2 -0
  111. package/cjs/CommentsContainer/CommentsContainer.js +1 -1
  112. package/cjs/ConfigureColumnsPopup/ConfigureColumnsPopup.d.ts +23 -40
  113. package/cjs/ConfigureColumnsPopup/ConfigureColumnsPopup.js +6 -26
  114. package/cjs/EditModeAttributesList/EditModeAttributesList.js +2 -2
  115. package/cjs/EditModeAttributesPager/EditModeAttributesPager.test.js +2 -2
  116. package/cjs/EditModeAttributesPager/components/AttributeRenderer/AttributeRenderer.js +2 -2
  117. package/cjs/FacetViewHeader/FacetViewHeader.js +1 -1
  118. package/cjs/ImageAttributesLine/imageAttributeValues.test-data.js +8 -0
  119. package/cjs/ImageAttributesLine/index.d.ts +1 -1
  120. package/cjs/ImageAttributesLine/index.js +2 -1
  121. package/cjs/ImageDetailsView/components/ImageDetailsViewCarousel/ImageDetailsViewCarousel.js +1 -1
  122. package/cjs/MergeButton/MergeButton.spec.js +55 -124
  123. package/cjs/MetadataTypesSelector/MetadataTypesSelector.d.ts +2 -1
  124. package/cjs/MetadataTypesSelector/MetadataTypesSelector.js +1 -1
  125. package/cjs/MetadataTypesSelector/MetadataTypesSelector.test.js +193 -190
  126. package/cjs/MetadataTypesSelector/components/SelectMetadataTypesList/SelectMetadataTypesList.d.ts +5 -6
  127. package/cjs/MoreAttributesButton/MoreAttributesButton.test.js +172 -165
  128. package/cjs/MoreAttributesButton/useMoreAttributesItems.d.ts +1 -1
  129. package/cjs/MultiValueSelector/MultiValueSelector.test.js +78 -38
  130. package/cjs/MultipliableSelect/MultipliableSelect.test.js +111 -47
  131. package/cjs/NestedAttribute/NestedAttribute.test.js +121 -42
  132. package/cjs/NestedAttributeEditor/NestedAttributeEditor.test.js +94 -40
  133. package/cjs/NotMatchButton/NotMatchButton.spec.js +51 -100
  134. package/cjs/PieChart/PieChart.test.js +130 -114
  135. package/cjs/PinButton/PinButton.spec.js +89 -22
  136. package/cjs/PivotingTooltip/PivotingTooltip.test.js +338 -174
  137. package/cjs/PotentialMatchReviewCard/PotentialMatchReviewCard.spec.js +94 -29
  138. package/cjs/ProfileBand/ProfileBand.spec.js +60 -53
  139. package/cjs/ProfileCard/ProfileCard.test.js +109 -27
  140. package/cjs/ProfilesList/ProfilesList.d.ts +1 -3
  141. package/cjs/ProfilesList/ProfilesList.js +1 -1
  142. package/cjs/ProfilesList/ProfilesList.spec.js +226 -211
  143. package/cjs/QueryBuilderRow/QueryBuilderRow.spec.js +83 -90
  144. package/cjs/QueryBuilderRowsGroup/QueryBuilderRowsGroup.spec.js +195 -86
  145. package/cjs/ReactSelectLoadMoreButton/ReactSelectLoadMoreButton.test.js +73 -15
  146. package/cjs/ReactSelectMenuWithPopper/ReactSelectMenuWithPopper.test.js +71 -117
  147. package/cjs/ReadOnlyAttributeValuesBlock/ReadOnlyAttributeValuesBlock.test.js +128 -61
  148. package/cjs/ReadOnlyAttributesFactory/components/ReadOnlyAttribute/ReadOnlyAttribute.test.js +179 -44
  149. package/cjs/ReadOnlyAttributesList/ReadOnlyAttributesList.js +2 -2
  150. package/cjs/ReadOnlyAttributesList/ReadOnlyAttributesList.test.js +254 -211
  151. package/cjs/ReadOnlyAttributesList/attributes.test-data.js +4 -4
  152. package/cjs/ReadOnlyAttributesPager/ReadOnlyAttributesPager.js +2 -2
  153. package/cjs/ReadOnlyAttributesPager/ReadOnlyAttributesPager.test.js +75 -18
  154. package/cjs/ReadOnlyAttributesView/ReadOnlyAttributesView.js +2 -2
  155. package/cjs/ReadOnlyAttributesView/ReadOnlyAttributesView.test.js +185 -310
  156. package/cjs/ReadOnlyComplexAttribute/ReadOnlyComplexAttribute.test.js +209 -218
  157. package/cjs/ReadOnlyImageAttributesLine/ReadOnlyImageAttributesLine.test.js +89 -89
  158. package/cjs/ReferenceAttributeEditor/ReferenceAttributeEditor.test.js +555 -601
  159. package/cjs/ReferenceAttributeEditor/metadata.test-data.d.ts +13 -13
  160. package/cjs/ReferenceAttributeEditor/metadata.test-data.js +2 -2
  161. package/cjs/ReferenceAttributeEditor/styles.d.ts +1 -1
  162. package/cjs/RelationEditor/RelationEditor.test.js +1446 -1390
  163. package/cjs/RelationTypeSelector/RelationTypeSelector.test.js +99 -17
  164. package/cjs/RelationTypesSelector/RelationTypesSelector.test.js +73 -22
  165. package/cjs/ReltioMap/ReltioMap.spec.js +51 -25
  166. package/cjs/Roles/Roles.test.js +54 -10
  167. package/cjs/ScreenProfileBand/ScreenProfileBand.test.js +141 -71
  168. package/cjs/ScrollableTabs/ScrollableTabs.test.js +69 -19
  169. package/cjs/SearchHighlighter/SearchHighlighter.test.js +18 -7
  170. package/cjs/SelectAttributesList/SelectAttributesList.d.ts +11 -6
  171. package/cjs/SelectAttributesList/SelectAttributesList.js +5 -2
  172. package/cjs/SelectorWithOnlyOptionAutoSelect/SelectorWithOnlyOptionAutoSelect.test.js +109 -60
  173. package/cjs/SidePanelContentHeader/SidePanelContentHeader.js +2 -2
  174. package/cjs/SidePanelContentHeader/SidePanelContentHeader.test.js +109 -0
  175. package/cjs/SidePanelEmptyState/SidePanelEmptyState.js +1 -1
  176. package/cjs/SidePanelEmptyState/SidePanelEmptyState.test.js +29 -0
  177. package/cjs/SimpleAttribute/SimpleAttribute.js +1 -1
  178. package/cjs/SimpleAttribute/SimpleAttribute.test.js +155 -80
  179. package/cjs/SimpleAttributeEditor/SimpleAttributeEditor.test.js +338 -352
  180. package/cjs/SimpleAttributeEditor/useAttributeValuePermissions.js +2 -2
  181. package/cjs/SimpleDropDownSelector/SimpleDropDownSelector.test.js +86 -10
  182. package/cjs/SimpleDropDownSelector/components/DropDownPlaceholder/DropDownPlaceholder.js +1 -1
  183. package/cjs/SimpleDropDownSelector/components/DropDownValue/DropDownValue.js +1 -1
  184. package/cjs/SimpleMatchRulesBlock/SimpleMatchRulesBlock.test.js +127 -31
  185. package/cjs/SmallIconButton/SmallIconButton.test.js +98 -25
  186. package/cjs/TableWithBars/TableWithBars.test.js +98 -60
  187. package/cjs/TableWithBars/components/AttributeCellRenderer/AttributeCellRenderer.js +1 -1
  188. package/cjs/TableWithBars/components/HeadCellRenderer/HeadCellRenderer.js +1 -1
  189. package/cjs/Tags/Tags.d.ts +0 -1
  190. package/cjs/Tags/Tags.test.js +8 -7
  191. package/cjs/TransitiveMatchBlock/TransitiveMatchBlock.test.js +77 -21
  192. package/cjs/TransitiveMatchRule/TransitiveMatchRule.test.js +78 -37
  193. package/cjs/TransitiveMatchRulesTooltip/TransitiveMatchRulesTooltip.js +1 -1
  194. package/cjs/TransitiveMatchRulesTooltip/TransitiveMatchRulesTooltip.test.js +12 -18
  195. package/cjs/UploadFileButton/UploadFileButton.d.ts +2 -2
  196. package/cjs/UploadFileButton/UploadFileButton.test.js +204 -0
  197. package/cjs/UploadImageDialog/UploadImageDialog.test.js +1 -0
  198. package/cjs/UploadImageDialog/components/DividerWithText/DividerWithText.js +1 -1
  199. package/cjs/UploadImageDialog/components/ErrorSnackbar/ErrorSnackbar.test.js +80 -22
  200. package/cjs/UploadImageDialog/components/ImageByUrlField/ImageByUrlField.js +1 -1
  201. package/cjs/UploadImageDialog/components/ImageByUrlField/ImageByUrlField.test.js +162 -49
  202. package/cjs/ValueChip/ValueChip.test.js +7 -23
  203. package/cjs/VirtualGroupedList/VirtualGroupedList.d.ts +19 -31
  204. package/cjs/VirtualGroupedList/VirtualGroupedList.js +11 -36
  205. package/cjs/VirtualGroupedList/VirtualGroupedList.test.js +252 -0
  206. package/cjs/VirtualGroupedList/helpers.d.ts +7 -2
  207. package/cjs/VirtualGroupedList/helpers.js +3 -1
  208. package/cjs/VirtualGroupedList/index.d.ts +1 -1
  209. package/cjs/VirtualGroupedList/types.d.ts +10 -6
  210. package/cjs/VirtualGroupedList/useScrollToFocusItem.d.ts +8 -5
  211. package/cjs/WhiteSearchInput/{WhiteSearchInput.spec.js → WhiteSearchInput.test.js} +3 -8
  212. package/cjs/features/crosswalks/hooks/useAttributeActions.test.js +24 -25
  213. package/cjs/features/crosswalks/hooks/useCrosswalkActions.test.js +10 -11
  214. package/cjs/features/workflow/hooks/useChangeRequest.test.js +5 -6
  215. package/cjs/hooks/useCommentsEntitiesMap/useCommentsEntitiesMap.test.js +8 -9
  216. package/cjs/hooks/useKeyboardNavigation/useKeyboardNavigation.d.ts +9 -13
  217. package/features/crosswalks/hooks/useAttributeActions.test.js +1 -2
  218. package/features/crosswalks/hooks/useCrosswalkActions.test.js +1 -2
  219. package/features/workflow/hooks/useChangeRequest.test.js +1 -2
  220. package/hooks/useCommentsEntitiesMap/useCommentsEntitiesMap.test.js +1 -2
  221. package/hooks/useKeyboardNavigation/useKeyboardNavigation.d.ts +9 -13
  222. package/package.json +1 -1
  223. package/MetadataTypesSelector/components/ListLabel/ListLabel.test.js +0 -24
  224. package/PivotingTooltip/IntegrationPivotingTooltip.test.js +0 -356
  225. package/PivotingTooltip/components/PivotingTooltipContent/PivotingTooltipContent.test.js +0 -201
  226. package/ProfileCard/components/ProfileCardContent/ProfileCardContent.test.js +0 -43
  227. package/QueryBuilderRow/components/ReadOnlyFilter/ReadOnlyFilter.spec.js +0 -31
  228. package/QueryBuilderRow/components/ReadOnlyLogicOperator/ReadOnlyLogicOperator.spec.js +0 -31
  229. package/ReadOnlyAttributesPager/components/ImageLineRenderer/ImageLineRenderer.test.js +0 -45
  230. package/ReadOnlyAttributesPager/components/MultiLineRenderer/MultiLineRenderer.test.js +0 -114
  231. package/ReadOnlyAttributesPager/components/OneLineRenderer/OneLineRenderer.test.js +0 -107
  232. package/ReadOnlyAttributesPager/components/SpecialRenderer/SpecialRenderer.test.js +0 -72
  233. package/RelationEditor/IntegrationRelationEditor.test.js +0 -337
  234. package/ReltioMap/components/MapControlContainer/MapControlContainer.d.ts +0 -10
  235. package/ReltioMap/components/MapControlContainer/MapControlContainer.js +0 -24
  236. package/ReltioMap/components/MapControlContainer/MapControlContainer.spec.d.ts +0 -1
  237. package/ReltioMap/components/MapControlContainer/MapControlContainer.spec.js +0 -33
  238. package/ReltioMap/components/MapControlContainer/index.d.ts +0 -1
  239. package/ReltioMap/components/MapControlContainer/index.js +0 -1
  240. package/ReltioMap/components/TopCenterMapControls/TopCenterMapControls.spec.d.ts +0 -1
  241. package/ReltioMap/components/TopCenterMapControls/TopCenterMapControls.spec.js +0 -36
  242. package/ReltioMap/components/TopRightMapControls/TopRightMapControls.spec.d.ts +0 -1
  243. package/ReltioMap/components/TopRightMapControls/TopRightMapControls.spec.js +0 -60
  244. package/Roles/components/Role/Role.test.d.ts +0 -1
  245. package/Roles/components/Role/Role.test.js +0 -55
  246. package/SidePanelContentHeader/SidePanelContentHeader.spec.d.ts +0 -1
  247. package/SidePanelContentHeader/SidePanelContentHeader.spec.js +0 -49
  248. package/SidePanelEmptyState/SidePanelEmptyState.spec.d.ts +0 -1
  249. package/SidePanelEmptyState/SidePanelEmptyState.spec.js +0 -24
  250. package/SimpleAttributeEditor/SimpleAttributeEditorWithoutPermissions.test.d.ts +0 -1
  251. package/SimpleAttributeEditor/SimpleAttributeEditorWithoutPermissions.test.js +0 -103
  252. package/SimpleDropDownSelector/components/DropDownPlaceholder/DropDownPlaceholder.test.d.ts +0 -1
  253. package/SimpleDropDownSelector/components/DropDownPlaceholder/DropDownPlaceholder.test.js +0 -13
  254. package/TableWithBars/components/AttributeCellRenderer/AttributeCellRenderer.test.d.ts +0 -1
  255. package/TableWithBars/components/AttributeCellRenderer/AttributeCellRenderer.test.js +0 -21
  256. package/TableWithBars/components/HeadCellRenderer/HeadCellRenderer.test.d.ts +0 -1
  257. package/TableWithBars/components/HeadCellRenderer/HeadCellRenderer.test.js +0 -20
  258. package/UploadFileButton/UploadFileButton.spec.d.ts +0 -1
  259. package/UploadFileButton/UploadFileButton.spec.js +0 -219
  260. package/UploadImageDialog/components/DividerWithText/DividerWithText.test.d.ts +0 -1
  261. package/UploadImageDialog/components/DividerWithText/DividerWithText.test.js +0 -9
  262. package/VirtualGroupedList/VirtualGroupedList.spec.d.ts +0 -1
  263. package/VirtualGroupedList/VirtualGroupedList.spec.js +0 -282
  264. package/WhiteSearchInput/WhiteSearchInput.spec.d.ts +0 -1
  265. package/cjs/MetadataTypesSelector/components/ListLabel/ListLabel.test.d.ts +0 -1
  266. package/cjs/MetadataTypesSelector/components/ListLabel/ListLabel.test.js +0 -52
  267. package/cjs/PivotingTooltip/IntegrationPivotingTooltip.test.d.ts +0 -1
  268. package/cjs/PivotingTooltip/IntegrationPivotingTooltip.test.js +0 -361
  269. package/cjs/PivotingTooltip/components/PivotingTooltipContent/PivotingTooltipContent.test.d.ts +0 -1
  270. package/cjs/PivotingTooltip/components/PivotingTooltipContent/PivotingTooltipContent.test.js +0 -206
  271. package/cjs/ProfileCard/components/ProfileCardContent/ProfileCardContent.test.d.ts +0 -1
  272. package/cjs/ProfileCard/components/ProfileCardContent/ProfileCardContent.test.js +0 -48
  273. package/cjs/QueryBuilderRow/components/ReadOnlyFilter/ReadOnlyFilter.spec.d.ts +0 -1
  274. package/cjs/QueryBuilderRow/components/ReadOnlyFilter/ReadOnlyFilter.spec.js +0 -36
  275. package/cjs/QueryBuilderRow/components/ReadOnlyLogicOperator/ReadOnlyLogicOperator.spec.d.ts +0 -1
  276. package/cjs/QueryBuilderRow/components/ReadOnlyLogicOperator/ReadOnlyLogicOperator.spec.js +0 -36
  277. package/cjs/ReadOnlyAttributesPager/components/ImageLineRenderer/ImageLineRenderer.test.d.ts +0 -1
  278. package/cjs/ReadOnlyAttributesPager/components/ImageLineRenderer/ImageLineRenderer.test.js +0 -50
  279. package/cjs/ReadOnlyAttributesPager/components/MultiLineRenderer/MultiLineRenderer.test.d.ts +0 -1
  280. package/cjs/ReadOnlyAttributesPager/components/MultiLineRenderer/MultiLineRenderer.test.js +0 -119
  281. package/cjs/ReadOnlyAttributesPager/components/OneLineRenderer/OneLineRenderer.test.d.ts +0 -1
  282. package/cjs/ReadOnlyAttributesPager/components/OneLineRenderer/OneLineRenderer.test.js +0 -112
  283. package/cjs/ReadOnlyAttributesPager/components/SpecialRenderer/SpecialRenderer.test.d.ts +0 -1
  284. package/cjs/ReadOnlyAttributesPager/components/SpecialRenderer/SpecialRenderer.test.js +0 -77
  285. package/cjs/RelationEditor/IntegrationRelationEditor.test.d.ts +0 -1
  286. package/cjs/RelationEditor/IntegrationRelationEditor.test.js +0 -342
  287. package/cjs/ReltioMap/components/MapControlContainer/MapControlContainer.d.ts +0 -10
  288. package/cjs/ReltioMap/components/MapControlContainer/MapControlContainer.js +0 -28
  289. package/cjs/ReltioMap/components/MapControlContainer/MapControlContainer.spec.d.ts +0 -1
  290. package/cjs/ReltioMap/components/MapControlContainer/MapControlContainer.spec.js +0 -38
  291. package/cjs/ReltioMap/components/MapControlContainer/index.d.ts +0 -1
  292. package/cjs/ReltioMap/components/MapControlContainer/index.js +0 -5
  293. package/cjs/ReltioMap/components/TopCenterMapControls/TopCenterMapControls.spec.d.ts +0 -1
  294. package/cjs/ReltioMap/components/TopCenterMapControls/TopCenterMapControls.spec.js +0 -41
  295. package/cjs/ReltioMap/components/TopRightMapControls/TopRightMapControls.spec.d.ts +0 -1
  296. package/cjs/ReltioMap/components/TopRightMapControls/TopRightMapControls.spec.js +0 -65
  297. package/cjs/Roles/components/Role/Role.test.d.ts +0 -1
  298. package/cjs/Roles/components/Role/Role.test.js +0 -60
  299. package/cjs/SidePanelContentHeader/SidePanelContentHeader.spec.d.ts +0 -1
  300. package/cjs/SidePanelContentHeader/SidePanelContentHeader.spec.js +0 -54
  301. package/cjs/SidePanelEmptyState/SidePanelEmptyState.spec.d.ts +0 -1
  302. package/cjs/SidePanelEmptyState/SidePanelEmptyState.spec.js +0 -29
  303. package/cjs/SimpleAttributeEditor/SimpleAttributeEditorWithoutPermissions.test.d.ts +0 -1
  304. package/cjs/SimpleAttributeEditor/SimpleAttributeEditorWithoutPermissions.test.js +0 -108
  305. package/cjs/SimpleDropDownSelector/components/DropDownPlaceholder/DropDownPlaceholder.test.d.ts +0 -1
  306. package/cjs/SimpleDropDownSelector/components/DropDownPlaceholder/DropDownPlaceholder.test.js +0 -18
  307. package/cjs/TableWithBars/components/AttributeCellRenderer/AttributeCellRenderer.test.d.ts +0 -1
  308. package/cjs/TableWithBars/components/AttributeCellRenderer/AttributeCellRenderer.test.js +0 -26
  309. package/cjs/TableWithBars/components/HeadCellRenderer/HeadCellRenderer.test.d.ts +0 -1
  310. package/cjs/TableWithBars/components/HeadCellRenderer/HeadCellRenderer.test.js +0 -25
  311. package/cjs/UploadFileButton/UploadFileButton.spec.d.ts +0 -1
  312. package/cjs/UploadFileButton/UploadFileButton.spec.js +0 -224
  313. package/cjs/UploadImageDialog/components/DividerWithText/DividerWithText.test.d.ts +0 -1
  314. package/cjs/UploadImageDialog/components/DividerWithText/DividerWithText.test.js +0 -14
  315. package/cjs/VirtualGroupedList/VirtualGroupedList.spec.d.ts +0 -1
  316. package/cjs/VirtualGroupedList/VirtualGroupedList.spec.js +0 -287
  317. package/cjs/WhiteSearchInput/WhiteSearchInput.spec.d.ts +0 -1
  318. /package/{MetadataTypesSelector/components/ListLabel/ListLabel.test.d.ts → ColumnsSettings/types.js} +0 -0
  319. /package/{PivotingTooltip/IntegrationPivotingTooltip.test.d.ts → SidePanelContentHeader/SidePanelContentHeader.test.d.ts} +0 -0
  320. /package/{PivotingTooltip/components/PivotingTooltipContent/PivotingTooltipContent.test.d.ts → SidePanelEmptyState/SidePanelEmptyState.test.d.ts} +0 -0
  321. /package/{ProfileCard/components/ProfileCardContent/ProfileCardContent.test.d.ts → UploadFileButton/UploadFileButton.test.d.ts} +0 -0
  322. /package/{QueryBuilderRow/components/ReadOnlyFilter/ReadOnlyFilter.spec.d.ts → VirtualGroupedList/VirtualGroupedList.test.d.ts} +0 -0
  323. /package/{QueryBuilderRow/components/ReadOnlyLogicOperator/ReadOnlyLogicOperator.spec.d.ts → WhiteSearchInput/WhiteSearchInput.test.d.ts} +0 -0
  324. /package/{ReadOnlyAttributesPager/components/ImageLineRenderer/ImageLineRenderer.test.d.ts → cjs/SidePanelContentHeader/SidePanelContentHeader.test.d.ts} +0 -0
  325. /package/{ReadOnlyAttributesPager/components/MultiLineRenderer/MultiLineRenderer.test.d.ts → cjs/SidePanelEmptyState/SidePanelEmptyState.test.d.ts} +0 -0
  326. /package/{ReadOnlyAttributesPager/components/OneLineRenderer/OneLineRenderer.test.d.ts → cjs/UploadFileButton/UploadFileButton.test.d.ts} +0 -0
  327. /package/{ReadOnlyAttributesPager/components/SpecialRenderer/SpecialRenderer.test.d.ts → cjs/VirtualGroupedList/VirtualGroupedList.test.d.ts} +0 -0
  328. /package/{RelationEditor/IntegrationRelationEditor.test.d.ts → cjs/WhiteSearchInput/WhiteSearchInput.test.d.ts} +0 -0
  329. /package/cjs/contexts/{AllwaysVisibleAttributesContext → AlwaysVisibleAttributesContext}/index.d.ts +0 -0
  330. /package/cjs/contexts/{AllwaysVisibleAttributesContext → AlwaysVisibleAttributesContext}/index.js +0 -0
  331. /package/contexts/{AllwaysVisibleAttributesContext → AlwaysVisibleAttributesContext}/index.d.ts +0 -0
  332. /package/contexts/{AllwaysVisibleAttributesContext → AlwaysVisibleAttributesContext}/index.js +0 -0
@@ -0,0 +1,224 @@
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
+ import { render, screen, within, fireEvent } from '@testing-library/react';
14
+ import { VariableSizeList } from 'react-window';
15
+ import * as useScrollToFocusItemImport from './useScrollToFocusItem';
16
+ import { flattenGroupedItemsData } from './helpers';
17
+ import { VirtualGroupedList } from './VirtualGroupedList';
18
+ describe('VirtualGroupedList tests', function () {
19
+ var getItems = function (type) {
20
+ var simpleItems = [
21
+ { item: { label: 'Label 1', id: 'some_id1' } },
22
+ { item: { label: 'Label 2', id: 'some_id2' } },
23
+ { item: { label: 'Label 3', id: 'some_id3' } }
24
+ ];
25
+ var newSimpleItems = [{ item: { label: 'Label 1', id: 'some_id1' } }, { item: { label: 'Label 2', id: 'some_id2' } }];
26
+ var groupedItems = [
27
+ {
28
+ item: { label: 'Label 1', id: 'some_id1' },
29
+ items: [
30
+ { item: { label: 'Label 1.1', id: 'some_id1.1' } },
31
+ { item: { label: 'Label 1.2', id: 'some_id1.2' } },
32
+ { item: { label: 'Label 1.3', id: 'some_id1.3' } }
33
+ ]
34
+ },
35
+ {
36
+ item: { label: 'Label 2', id: 'some_id2' },
37
+ items: [
38
+ { item: { label: 'Label 2.1', id: 'some_id2.1' } },
39
+ { item: { label: 'Label 2.2', id: 'some_id2.2' }, moveTo: false }
40
+ ]
41
+ }
42
+ ];
43
+ switch (type) {
44
+ case 'grouped':
45
+ return flattenGroupedItemsData(groupedItems);
46
+ case 'groupedWithMove': {
47
+ groupedItems[1].items[1].moveTo = true;
48
+ return flattenGroupedItemsData(groupedItems);
49
+ }
50
+ case 'newSimpleItems': {
51
+ return flattenGroupedItemsData(newSimpleItems);
52
+ }
53
+ case 'simple':
54
+ default:
55
+ return flattenGroupedItemsData(simpleItems);
56
+ }
57
+ };
58
+ var renderItem = function (style, _a) {
59
+ var item = _a.item;
60
+ return (React.createElement("div", { style: style, "data-reltio-id": "grouped-list-item" }, item.label));
61
+ };
62
+ var defaultProps = {
63
+ getItemSize: function () { return 50; },
64
+ renderItem: renderItem,
65
+ renderGroupTitle: renderItem,
66
+ items: getItems('simple'),
67
+ height: 500
68
+ };
69
+ var setUp = function (props) {
70
+ if (props === void 0) { props = {}; }
71
+ return render(React.createElement(VirtualGroupedList, __assign({}, defaultProps, props)));
72
+ };
73
+ afterEach(function () {
74
+ jest.restoreAllMocks();
75
+ });
76
+ it('should correct render simple items', function () {
77
+ setUp({ items: getItems('simple') });
78
+ expect(screen.getByText('Label 1')).toBeInTheDocument();
79
+ expect(screen.getByText('Label 2')).toBeInTheDocument();
80
+ expect(screen.getByText('Label 3')).toBeInTheDocument();
81
+ });
82
+ it('should correct render grouped items', function () {
83
+ setUp({ items: getItems('grouped') });
84
+ var stickyTitles = screen.getByTestId('grouped-list-sticky-titles');
85
+ expect(stickyTitles.childNodes).toHaveLength(2);
86
+ expect(within(stickyTitles).getByText('Label 1')).toHaveStyle('visibility: visible');
87
+ expect(within(stickyTitles).getByText('Label 2')).toHaveStyle('visibility: hidden');
88
+ var items = screen.getAllByTestId('grouped-list-item');
89
+ expect(items).toHaveLength(9);
90
+ expect(items.map(function (item) { return item.textContent; })).toEqual([
91
+ 'Label 1',
92
+ 'Label 2',
93
+ 'Label 1',
94
+ 'Label 1.1',
95
+ 'Label 1.2',
96
+ 'Label 1.3',
97
+ 'Label 2',
98
+ 'Label 2.1',
99
+ 'Label 2.2'
100
+ ]);
101
+ });
102
+ it('should set sticky titles width if items width changed', function () {
103
+ var _a = setUp({ items: getItems('grouped') }), container = _a.container, rerender = _a.rerender;
104
+ var stickyTitles = screen.getByTestId('grouped-list-sticky-titles');
105
+ Object.defineProperties(container.childNodes[1].firstChild, {
106
+ offsetWidth: {
107
+ get: function () {
108
+ return 200;
109
+ }
110
+ }
111
+ });
112
+ rerender(React.createElement(VirtualGroupedList, __assign({}, defaultProps, { items: getItems('grouped'), height: 100 })));
113
+ expect(stickyTitles).toHaveStyle('width: 200px');
114
+ });
115
+ it('should not render fixed group title when fixedTitle is false', function () {
116
+ setUp({ items: getItems('grouped'), fixedTitle: false });
117
+ var stickyTitles = screen.getByTestId('grouped-list-sticky-titles');
118
+ expect(stickyTitles.childNodes).toHaveLength(0);
119
+ });
120
+ it('should clear index when items is updated', function () {
121
+ var useScrollToFocusItemSpy = jest.spyOn(useScrollToFocusItemImport, 'useScrollToFocusItem');
122
+ var rerender = setUp({ items: getItems('simple') }).rerender;
123
+ var listRef = useScrollToFocusItemSpy.mock.calls[0][0].listRef;
124
+ var resetAfterIndexSpy = jest.spyOn(listRef.current, 'resetAfterIndex');
125
+ rerender(React.createElement(VirtualGroupedList, __assign({}, defaultProps, { items: getItems('simple') })));
126
+ expect(resetAfterIndexSpy).toHaveBeenCalledWith(0);
127
+ });
128
+ describe('Scroll behavior', function () {
129
+ var setHeightForNode = function (node, height, scrollHeight) {
130
+ Object.defineProperties(node, {
131
+ clientHeight: {
132
+ get: function () { return height; },
133
+ configurable: true
134
+ },
135
+ scrollHeight: {
136
+ get: function () { return scrollHeight; },
137
+ configurable: true
138
+ }
139
+ });
140
+ };
141
+ /*
142
+ Some scroll offsets for grouped items(getItems('grouped')):
143
+ First title offset: 0
144
+ First title will be showing in offset range: 0-199
145
+ Second title offset: 200
146
+ Second title will be showing in offset range: 200+
147
+ Offset range when titles is touching each other: 150-200
148
+ */
149
+ it('should scroll to moveTo item', function () {
150
+ var requestAnimationFrameMock = jest
151
+ .spyOn(window, 'requestAnimationFrame')
152
+ .mockImplementation(function (callback) {
153
+ callback(0);
154
+ return 0;
155
+ });
156
+ var scrollToSpy = jest.spyOn(VariableSizeList.prototype, 'scrollTo').mockImplementation(function () { return null; });
157
+ var rerender = setUp({ items: getItems('grouped'), height: 150 }).rerender;
158
+ rerender(React.createElement(VirtualGroupedList, __assign({}, defaultProps, { items: getItems('groupedWithMove'), height: 150 })));
159
+ expect(scrollToSpy).toHaveBeenCalledTimes(2);
160
+ expect(scrollToSpy).toHaveBeenCalledWith(200);
161
+ requestAnimationFrameMock.mockRestore();
162
+ });
163
+ it('should scroll to top of item', function () {
164
+ var scrollToSpy = jest.spyOn(VariableSizeList.prototype, 'scrollTo').mockImplementation(function () { return null; });
165
+ var rerender = setUp({ items: getItems('grouped'), height: 150 }).rerender;
166
+ var requestAnimationFrameMock = jest
167
+ .spyOn(window, 'requestAnimationFrame')
168
+ .mockImplementation(function (callback) {
169
+ callback(0);
170
+ return 0;
171
+ });
172
+ rerender(React.createElement(VirtualGroupedList, __assign({}, defaultProps, { items: getItems('newSimpleItems'), height: 150 })));
173
+ expect(scrollToSpy).toHaveBeenCalledTimes(1);
174
+ expect(scrollToSpy).toHaveBeenCalledWith(0);
175
+ requestAnimationFrameMock.mockRestore();
176
+ });
177
+ it('should change fixed title on forward scroll', function () {
178
+ var container = setUp({ items: getItems('grouped'), height: 150 }).container;
179
+ var titlesContainer = screen.getByTestId('grouped-list-sticky-titles');
180
+ var titles = within(titlesContainer).getAllByTestId('grouped-list-item');
181
+ setHeightForNode(container.childNodes[1], 150, 400);
182
+ fireEvent.scroll(container.childNodes[1], { target: { scrollTop: 210 } });
183
+ expect(titles).toHaveLength(2);
184
+ expect(titlesContainer).toHaveStyle('top: 0px');
185
+ expect(titles[0]).toHaveStyle('visibility: hidden');
186
+ expect(titles[1]).toHaveStyle('visibility: visible');
187
+ });
188
+ it('should move current fixed title on forward scroll when next title start touching the current title', function () {
189
+ var container = setUp({ items: getItems('grouped'), height: 150 }).container;
190
+ var titlesContainer = screen.getByTestId('grouped-list-sticky-titles');
191
+ var titles = within(titlesContainer).getAllByTestId('grouped-list-item');
192
+ setHeightForNode(container.childNodes[1], 150, 400);
193
+ fireEvent.scroll(container.childNodes[1], { target: { scrollTop: 151 } });
194
+ expect(titles).toHaveLength(2);
195
+ expect(titlesContainer).toHaveStyle('top: -1px');
196
+ expect(titles[0]).toHaveStyle('visibility: visible');
197
+ expect(titles[1]).toHaveStyle('visibility: hidden');
198
+ });
199
+ it('should change fixed title on backward scroll', function () {
200
+ var container = setUp({ items: getItems('grouped'), height: 150 }).container;
201
+ var titlesContainer = screen.getByTestId('grouped-list-sticky-titles');
202
+ var titles = within(titlesContainer).getAllByTestId('grouped-list-item');
203
+ setHeightForNode(container.childNodes[1], 150, 400);
204
+ fireEvent.scroll(container.childNodes[1], { target: { scrollTop: 210 } });
205
+ fireEvent.scroll(container.childNodes[1], { target: { scrollTop: 140 } });
206
+ expect(titles).toHaveLength(2);
207
+ expect(titlesContainer).toHaveStyle('top: 0px');
208
+ expect(titles[0]).toHaveStyle('visibility: visible');
209
+ expect(titles[1]).toHaveStyle('visibility: hidden');
210
+ });
211
+ it('should move current fixed title on backward scroll when previous title start touching the current title', function () {
212
+ var container = setUp({ items: getItems('grouped'), height: 150 }).container;
213
+ var titlesContainer = screen.getByTestId('grouped-list-sticky-titles');
214
+ var titles = within(titlesContainer).getAllByTestId('grouped-list-item');
215
+ setHeightForNode(container.childNodes[1], 150, 400);
216
+ fireEvent.scroll(container.childNodes[1], { target: { scrollTop: 210 } });
217
+ fireEvent.scroll(container.childNodes[1], { target: { scrollTop: 199 } });
218
+ expect(titles).toHaveLength(2);
219
+ expect(titlesContainer).toHaveStyle('top: -49px');
220
+ expect(titles[0]).toHaveStyle('visibility: visible');
221
+ expect(titles[1]).toHaveStyle('visibility: hidden');
222
+ });
223
+ });
224
+ });
@@ -1,2 +1,7 @@
1
- export function flattenGroupedItemsData(groupedItems: any): any;
2
- export function isTitleListItem(listItem: any): boolean;
1
+ import { VirtualGroupedListItem, VirtualGroupedListMainItem } from './types';
2
+ export type GroupedItem<T> = {
3
+ item: T;
4
+ items?: GroupedItem<T>[];
5
+ };
6
+ export declare const flattenGroupedItemsData: <T>(groupedItems: VirtualGroupedListItem<T>[]) => VirtualGroupedListMainItem<T>[];
7
+ export declare const isTitleListItem: <T>(listItem: VirtualGroupedListMainItem<T>) => boolean;
@@ -12,4 +12,6 @@ export var flattenGroupedItemsData = function (groupedItems) {
12
12
  });
13
13
  return items;
14
14
  };
15
- export var isTitleListItem = function (listItem) { return listItem.titleItemIndex === listItem.index; };
15
+ export var isTitleListItem = function (listItem) {
16
+ return listItem.titleItemIndex === listItem.index;
17
+ };
@@ -1,3 +1,3 @@
1
1
  export { VirtualGroupedList } from './VirtualGroupedList';
2
- export type { VirtualListGroupedItem, VirtualListItem } from './types';
2
+ export type { VirtualGroupedListItem, VirtualGroupedListMainItem, VirtualGroupedListRenderGroupTitle, VirtualGroupedListRenderItem } from './types';
3
3
  export { isTitleListItem, flattenGroupedItemsData } from './helpers';
@@ -1,10 +1,14 @@
1
- export type VirtualListItem = {
2
- item: Record<string, unknown>;
3
- moveTo?: number;
1
+ export type VirtualGroupedListItem<T, E = Record<string, unknown>> = E & {
2
+ item: T;
3
+ level?: number;
4
+ moveTo?: boolean;
5
+ items?: VirtualGroupedListItem<T, E>[];
4
6
  };
5
- export type VirtualListGroupedItem = {
6
- item: VirtualListItem;
7
+ export type VirtualGroupedListMainItem<T, E = Record<string, unknown>> = E & {
8
+ item: VirtualGroupedListItem<T, E>;
7
9
  titleItemIndex?: number;
8
10
  index: number;
9
- items?: VirtualListGroupedItem[];
11
+ moveTo?: boolean;
10
12
  };
13
+ export type VirtualGroupedListRenderItem<T, E = Record<string, unknown>> = (style: React.CSSProperties, item: VirtualGroupedListItem<T, E>, index: number, data: VirtualGroupedListMainItem<T, E>) => React.ReactElement;
14
+ export type VirtualGroupedListRenderGroupTitle<T, E = Record<string, unknown>> = (style: React.CSSProperties, item: VirtualGroupedListItem<T, E>) => React.ReactElement;
@@ -1,7 +1,10 @@
1
- export declare const useScrollToFocusItem: ({ focusIndex, listRef, items }: {
2
- focusIndex: any;
3
- listRef: any;
4
- items: any;
5
- }) => {
1
+ import { VariableSizeList } from 'react-window';
2
+ type Props<T> = {
3
+ focusIndex: number;
4
+ listRef: React.MutableRefObject<VariableSizeList>;
5
+ items: T[];
6
+ };
7
+ export declare const useScrollToFocusItem: <T>({ focusIndex, listRef, items }: Props<T>) => {
6
8
  handleOnItemsRendered: ({ visibleStartIndex, visibleStopIndex }: any) => void;
7
9
  };
10
+ export {};
@@ -10,8 +10,7 @@ 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 { SearchInput } from '../SearchInput';
13
+ import { render, screen } from '@testing-library/react';
15
14
  import { WhiteSearchInput } from './WhiteSearchInput';
16
15
  describe('WhiteSearchInput tests', function () {
17
16
  var defaultProps = {
@@ -21,11 +20,7 @@ describe('WhiteSearchInput tests', function () {
21
20
  height: 40
22
21
  };
23
22
  it('should render SearchInput with specified focused class', function () {
24
- var component = shallow(React.createElement(WhiteSearchInput, __assign({}, defaultProps)));
25
- var searchInput = component.find(SearchInput);
26
- expect(searchInput).toHaveLength(1);
27
- expect(searchInput.prop('classes')).toMatchObject({
28
- focused: 'white'
29
- });
23
+ render(React.createElement(WhiteSearchInput, __assign({}, defaultProps)));
24
+ expect(screen.getByRole('textbox').parentElement).toHaveClass('white');
30
25
  });
31
26
  });
@@ -32,7 +32,7 @@ var ReadOnlyAttributesView_1 = require("../ReadOnlyAttributesView");
32
32
  var EditModeAttributesView_1 = require("../EditModeAttributesView");
33
33
  var EntityContext_1 = require("../contexts/EntityContext");
34
34
  var MdmModuleContext_1 = require("../contexts/MdmModuleContext");
35
- var AllwaysVisibleAttributesContext_1 = require("../contexts/AllwaysVisibleAttributesContext");
35
+ var AlwaysVisibleAttributesContext_1 = require("../contexts/AlwaysVisibleAttributesContext");
36
36
  var AttributesView = function (_a) {
37
37
  var attributesCount = _a.attributesCount, pinnedAttributes = _a.pinnedAttributes, _b = _a.alwaysVisible, alwaysVisible = _b === void 0 ? [] : _b, restProps = __rest(_a, ["attributesCount", "pinnedAttributes", "alwaysVisible"]);
38
38
  var mdmEntity = (0, MdmModuleContext_1.useMdmEntityWithDiff)();
@@ -40,6 +40,6 @@ var AttributesView = function (_a) {
40
40
  var entity = restProps.entity || mdmEntity;
41
41
  var mode = restProps.mode || mdmMode;
42
42
  return (react_1.default.createElement(EntityContext_1.EntityContext.Provider, { value: entity },
43
- react_1.default.createElement(AllwaysVisibleAttributesContext_1.AlwaysVisibleAttributesContext.Provider, { value: alwaysVisible }, (0, mdm_sdk_1.isViewMode)(mode) ? (react_1.default.createElement(ReadOnlyAttributesView_1.ReadOnlyAttributesView, __assign({}, restProps, { attributesCount: attributesCount, entity: entity }))) : (react_1.default.createElement(EditModeAttributesView_1.EditModeAttributesView, __assign({}, restProps, { mode: mode, pinnedAttributes: pinnedAttributes, entity: entity }))))));
43
+ react_1.default.createElement(AlwaysVisibleAttributesContext_1.AlwaysVisibleAttributesContext.Provider, { value: alwaysVisible }, (0, mdm_sdk_1.isViewMode)(mode) ? (react_1.default.createElement(ReadOnlyAttributesView_1.ReadOnlyAttributesView, __assign({}, restProps, { attributesCount: attributesCount, entity: entity }))) : (react_1.default.createElement(EditModeAttributesView_1.EditModeAttributesView, __assign({}, restProps, { mode: mode, pinnedAttributes: pinnedAttributes, entity: entity }))))));
44
44
  };
45
45
  exports.AttributesView = AttributesView;
@@ -1,14 +1,13 @@
1
1
  import React from 'react';
2
2
  import { GroupedColumnsData } from '../../../types/basicTable';
3
+ import { ListItem } from '../../types';
3
4
  type Props = {
4
5
  anchorEl: HTMLElement;
5
6
  onClose: () => void;
6
7
  title?: string;
7
8
  inputPlaceholder?: string;
8
9
  columnsData: GroupedColumnsData[];
9
- onColumnClick: (column: {
10
- id: string;
11
- }) => void;
10
+ onColumnClick: (column: ListItem) => void;
12
11
  selectedColumns: string[];
13
12
  hideCheckBox?: boolean;
14
13
  };
@@ -1,6 +1,8 @@
1
1
  import { ColumnData, GroupedColumnsData } from '../types/basicTable';
2
+ import { VirtualGroupedListItem } from '../VirtualGroupedList/types';
3
+ import { ListItem } from './types';
2
4
  declare const isGroupColumn: (column: ColumnData) => boolean;
3
- declare const buildColumnItems: (columnsData: GroupedColumnsData[], filterText: string) => ColumnData[];
5
+ declare const buildColumnItems: (columnsData: GroupedColumnsData[], filterText: string) => VirtualGroupedListItem<ListItem>[];
4
6
  declare const getChildColumns: (column: ColumnData) => ColumnData[];
5
7
  declare const isColumnSelected: (selectedColumns: string[], column: ColumnData) => boolean;
6
8
  export { buildColumnItems, getChildColumns, isGroupColumn, isColumnSelected };
@@ -0,0 +1,8 @@
1
+ import { DataTypeDefinition } from '@reltio/mdm-sdk';
2
+ export type ListItem = {
3
+ id: string;
4
+ label: string;
5
+ groupId?: string;
6
+ filterText?: string;
7
+ attrType?: DataTypeDefinition;
8
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -82,7 +82,7 @@ var CommentsContainer = function (_a) {
82
82
  var allRelatedObjectUris = (0, react_1.useMemo)(function () {
83
83
  return additionalRelatedObjectUris ? __spreadArray(__spreadArray([], relatedObjectUris, true), additionalRelatedObjectUris, true) : relatedObjectUris;
84
84
  }, [additionalRelatedObjectUris, relatedObjectUris]);
85
- return (showComments && (react_1.default.createElement("div", { className: (0, classnames_1.default)(styles.root, className) },
85
+ return (showComments && (react_1.default.createElement("div", { "data-reltio-id": "comments-container", className: (0, classnames_1.default)(styles.root, className) },
86
86
  shouldShowAddCommentButton && (react_1.default.createElement(AddCommentButton_1.AddCommentButton, { className: (0, classnames_1.default)(styles.addButton, (_b = {},
87
87
  _b[styles.showAlways] = showAlways || isOpenPopupWithNewComment,
88
88
  _b)), onClick: handleClickAddCommentButton })),
@@ -1,41 +1,24 @@
1
- export function ConfigureColumnsPopup({ open, anchorEl, data, onSearch, onClose, titleText, filterText, onListItemClick, selected, hideCheckBox, renderGroupTitle, ...otherProps }: {
2
- [x: string]: any;
3
- open: any;
4
- anchorEl: any;
5
- data: any;
6
- onSearch: any;
7
- onClose: any;
8
- titleText: any;
9
- filterText: any;
10
- onListItemClick: any;
11
- selected: any;
12
- hideCheckBox: any;
13
- renderGroupTitle: any;
14
- }): React.JSX.Element;
15
- export namespace ConfigureColumnsPopup {
16
- namespace propTypes {
17
- let open: PropTypes.Requireable<boolean>;
18
- let hideCheckBox: PropTypes.Requireable<boolean>;
19
- let anchorEl: PropTypes.Requireable<any>;
20
- let selected: PropTypes.Requireable<any[]>;
21
- let data: PropTypes.Requireable<any[]>;
22
- let filterText: PropTypes.Requireable<string>;
23
- let titleText: PropTypes.Requireable<string>;
24
- let onClose: PropTypes.Requireable<(...args: any[]) => any>;
25
- let onListItemClick: PropTypes.Requireable<(...args: any[]) => any>;
26
- let onSearch: PropTypes.Requireable<(...args: any[]) => any>;
27
- let renderGroupTitle: PropTypes.Requireable<(...args: any[]) => any>;
28
- }
29
- namespace defaultProps {
30
- let data_1: any[];
31
- export { data_1 as data };
32
- let selected_1: any[];
33
- export { selected_1 as selected };
34
- let titleText_1: string;
35
- export { titleText_1 as titleText };
36
- let filterText_1: string;
37
- export { filterText_1 as filterText };
38
- }
39
- }
40
1
  import React from 'react';
41
- import PropTypes from 'prop-types';
2
+ import { SelectionPopup } from '../SelectionPopup';
3
+ import { VirtualGroupedListRenderGroupTitle } from '../VirtualGroupedList';
4
+ import { AttributeOption } from '../types';
5
+ type Item = AttributeOption & {
6
+ id: string;
7
+ groupId: string;
8
+ filterText?: string;
9
+ notSelectable?: boolean;
10
+ LogoIcon?: React.ElementType;
11
+ children?: Item[];
12
+ attributes?: Item[];
13
+ };
14
+ type Props = Omit<React.ComponentProps<typeof SelectionPopup>, 'title'> & {
15
+ hideCheckBox: boolean;
16
+ titleText?: string;
17
+ filterText?: string;
18
+ selected: Item[];
19
+ data: Item[];
20
+ onListItemClick: (item: Item, checked: boolean) => void;
21
+ renderGroupTitle: VirtualGroupedListRenderGroupTitle<Item>;
22
+ };
23
+ export declare const ConfigureColumnsPopup: ({ open, anchorEl, data, onSearch, onClose, titleText, filterText, onListItemClick, selected, hideCheckBox, renderGroupTitle, ...otherProps }: Props) => React.JSX.Element;
24
+ export {};
@@ -59,22 +59,21 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
59
59
  Object.defineProperty(exports, "__esModule", { value: true });
60
60
  exports.ConfigureColumnsPopup = void 0;
61
61
  var react_1 = __importStar(require("react"));
62
- var prop_types_1 = __importDefault(require("prop-types"));
63
62
  var ui_i18n_1 = __importDefault(require("ui-i18n"));
64
63
  var classnames_1 = __importDefault(require("classnames"));
65
64
  var ramda_1 = require("ramda");
66
65
  var mdm_sdk_1 = require("@reltio/mdm-sdk");
66
+ var Highlighter_1 = require("../Highlighter");
67
67
  var SelectionPopup_1 = require("../SelectionPopup");
68
+ var AttributeListItem_1 = require("../AttributeListItem");
68
69
  var VirtualGroupedList_1 = require("../VirtualGroupedList");
69
70
  var useKeyboardNavigation_1 = require("../hooks/useKeyboardNavigation");
70
- var AttributeListItem_1 = require("../AttributeListItem");
71
- var Highlighter_1 = require("../Highlighter");
72
71
  var styles_1 = require("./styles");
73
72
  var ITEM_HEIGHT = 32;
74
73
  var LIST_CONTAINER_HEIGHT = 300;
75
74
  var DEFAULT_MIN_CONTAINER_WIDTH = 308;
76
75
  var ConfigureColumnsPopup = function (_a) {
77
- var open = _a.open, anchorEl = _a.anchorEl, data = _a.data, onSearch = _a.onSearch, onClose = _a.onClose, titleText = _a.titleText, filterText = _a.filterText, onListItemClick = _a.onListItemClick, selected = _a.selected, hideCheckBox = _a.hideCheckBox, renderGroupTitle = _a.renderGroupTitle, otherProps = __rest(_a, ["open", "anchorEl", "data", "onSearch", "onClose", "titleText", "filterText", "onListItemClick", "selected", "hideCheckBox", "renderGroupTitle"]);
76
+ var open = _a.open, anchorEl = _a.anchorEl, _b = _a.data, data = _b === void 0 ? [] : _b, onSearch = _a.onSearch, onClose = _a.onClose, _c = _a.titleText, titleText = _c === void 0 ? ui_i18n_1.default.text('Show/hide columns') : _c, _d = _a.filterText, filterText = _d === void 0 ? '' : _d, onListItemClick = _a.onListItemClick, _e = _a.selected, selected = _e === void 0 ? [] : _e, hideCheckBox = _a.hideCheckBox, renderGroupTitle = _a.renderGroupTitle, otherProps = __rest(_a, ["open", "anchorEl", "data", "onSearch", "onClose", "titleText", "filterText", "onListItemClick", "selected", "hideCheckBox", "renderGroupTitle"]);
78
77
  var filterItem = (0, react_1.useCallback)(function (item) {
79
78
  return item.label.toLowerCase().includes(filterText.toLowerCase());
80
79
  }, [filterText]);
@@ -111,12 +110,12 @@ var ConfigureColumnsPopup = function (_a) {
111
110
  }, [onListItemClick, selected]);
112
111
  var groupedItems = (0, react_1.useMemo)(function () { return (renderGroupTitle ? getGroupsData : getAttributesData)(data); }, [data, renderGroupTitle, getGroupsData, getAttributesData]);
113
112
  var items = (0, react_1.useMemo)(function () { return (0, VirtualGroupedList_1.flattenGroupedItemsData)(groupedItems); }, [groupedItems]);
114
- var _b = (0, useKeyboardNavigation_1.useKeyboardNavigation)({
113
+ var _f = (0, useKeyboardNavigation_1.useKeyboardNavigation)({
115
114
  items: items,
116
115
  open: open,
117
116
  onSelectFocusedItem: handleSearchOnEnter,
118
117
  selectedItems: selected
119
- }), focusIndex = _b.focusIndex, handleKeyDown = _b.handleKeyDown;
118
+ }), focusIndex = _f.focusIndex, handleKeyDown = _f.handleKeyDown;
120
119
  var focusIndexRef = (0, react_1.useRef)(null);
121
120
  focusIndexRef.current = focusIndex;
122
121
  var renderListItem = (0, react_1.useCallback)(function (style, _a, index) {
@@ -128,25 +127,6 @@ var ConfigureColumnsPopup = function (_a) {
128
127
  var containerWidth = (0, mdm_sdk_1.getMaxItemWidth)('label')(groupedItems) || DEFAULT_MIN_CONTAINER_WIDTH;
129
128
  var classes = (0, styles_1.useStyles)();
130
129
  return (react_1.default.createElement(SelectionPopup_1.SelectionPopup, __assign({ open: open, className: (0, classnames_1.default)(classes.container, classes.popupContainer), anchorEl: anchorEl, onClose: onClose, onSearch: onSearch, title: titleText, containerWidth: containerWidth, searchInputOnKeyDown: handleKeyDown }, otherProps),
131
- react_1.default.createElement(VirtualGroupedList_1.VirtualGroupedList, { height: LIST_CONTAINER_HEIGHT, renderItem: renderListItem, items: items, hideSubtitles: true, getItemSize: getItemSize, containerWidth: containerWidth, focusIndex: focusIndex, renderGroupTitle: renderGroupTitle })));
130
+ react_1.default.createElement(VirtualGroupedList_1.VirtualGroupedList, { height: LIST_CONTAINER_HEIGHT, renderItem: renderListItem, items: items, hideSubtitles: true, getItemSize: getItemSize, focusIndex: focusIndex, renderGroupTitle: renderGroupTitle })));
132
131
  };
133
132
  exports.ConfigureColumnsPopup = ConfigureColumnsPopup;
134
- exports.ConfigureColumnsPopup.propTypes = {
135
- open: prop_types_1.default.bool,
136
- hideCheckBox: prop_types_1.default.bool,
137
- anchorEl: prop_types_1.default.any,
138
- selected: prop_types_1.default.array,
139
- data: prop_types_1.default.array,
140
- filterText: prop_types_1.default.string,
141
- titleText: prop_types_1.default.string,
142
- onClose: prop_types_1.default.func,
143
- onListItemClick: prop_types_1.default.func,
144
- onSearch: prop_types_1.default.func,
145
- renderGroupTitle: prop_types_1.default.func
146
- };
147
- exports.ConfigureColumnsPopup.defaultProps = {
148
- data: [],
149
- selected: [],
150
- titleText: ui_i18n_1.default.text('Show/hide columns'),
151
- filterText: ''
152
- };
@@ -53,13 +53,13 @@ var withContext_1 = require("../HOCs/withContext");
53
53
  var ConfigPermissionsContext_1 = require("../contexts/ConfigPermissionsContext");
54
54
  var ScrollToElementContext_1 = require("../contexts/ScrollToElementContext");
55
55
  var HiddenAttributesContext_1 = require("../contexts/HiddenAttributesContext");
56
- var AllwaysVisibleAttributesContext_1 = require("../contexts/AllwaysVisibleAttributesContext");
56
+ var AlwaysVisibleAttributesContext_1 = require("../contexts/AlwaysVisibleAttributesContext");
57
57
  var EditModeAttributesList = function (_a) {
58
58
  var parentAttributeType = _a.parentAttributeType, attrTypes = _a.attrTypes, entity = _a.entity, parentUri = _a.parentUri, showEmptyEditors = _a.showEmptyEditors, mode = _a.mode, crosswalks = _a.crosswalks, drawLines = _a.drawLines, children = _a.children, className = _a.className, _b = _a.fixedTypeUris, fixedTypeUris = _b === void 0 ? constants_1.FIXED_TYPE_URIS : _b, onAddAttributes = _a.onAddAttributes, onChangeAttribute = _a.onChangeAttribute, onDeleteAttribute = _a.onDeleteAttribute, additionalControlsRenderer = _a.additionalControlsRenderer, showNonOv = _a.showNonOv, highlightAttribute = _a.highlightAttribute;
59
59
  var hiddenAttributes = (0, react_1.useContext)(HiddenAttributesContext_1.HiddenAttributesContext);
60
60
  var entityUri = parentUri && (0, mdm_sdk_1.getBaseUri)(parentUri);
61
61
  var currentEntityHiddenAttributes = (0, react_1.useMemo)(function () { return hiddenAttributes[entityUri] || []; }, [hiddenAttributes, entityUri]);
62
- var alwaysVisibleAttributes = (0, react_1.useContext)(AllwaysVisibleAttributesContext_1.AlwaysVisibleAttributesContext);
62
+ var alwaysVisibleAttributes = (0, react_1.useContext)(AlwaysVisibleAttributesContext_1.AlwaysVisibleAttributesContext);
63
63
  var filteredAttrTypes = (0, react_1.useMemo)(function () { return attrTypes.filter(function (attrType) { return !currentEntityHiddenAttributes.includes(attrType.uri); }); }, [attrTypes, currentEntityHiddenAttributes]);
64
64
  var _c = entity.attributes, attributes = _c === void 0 ? {} : _c;
65
65
  var _d = (0, react_1.useState)({}), hasDeletionsMap = _d[0], setHasDeletionsMap = _d[1];
@@ -64,7 +64,7 @@ var react_1 = __importDefault(require("react"));
64
64
  var jsdom_testing_mocks_1 = require("jsdom-testing-mocks");
65
65
  var react_2 = require("@testing-library/react");
66
66
  var user_event_1 = __importDefault(require("@testing-library/user-event"));
67
- var x_date_pickers_1 = require("@mui/x-date-pickers");
67
+ var LocalizationProvider_1 = require("@mui/x-date-pickers/LocalizationProvider");
68
68
  var AdapterMoment_1 = require("@mui/x-date-pickers/AdapterMoment");
69
69
  var mdm_sdk_1 = require("@reltio/mdm-sdk");
70
70
  var MdmModuleContext_1 = require("../contexts/MdmModuleContext");
@@ -114,7 +114,7 @@ var setUp = function (_a) {
114
114
  var Providers = function (_a) {
115
115
  var children = _a.children;
116
116
  return (react_1.default.createElement(CustomProviders, null,
117
- react_1.default.createElement(x_date_pickers_1.LocalizationProvider, { dateAdapter: AdapterMoment_1.AdapterMoment },
117
+ react_1.default.createElement(LocalizationProvider_1.LocalizationProvider, { dateAdapter: AdapterMoment_1.AdapterMoment },
118
118
  react_1.default.createElement(MdmModuleContext_1.MdmModuleProvider, { values: mdmValues, actions: mdmActions },
119
119
  react_1.default.createElement(HiddenAttributesContext_1.HiddenAttributesContext.Provider, { value: hiddenAttributesContextValue },
120
120
  react_1.default.createElement(PinnedAttributesContext_1.PinnedAttributesContext.Provider, { value: pinnedAttributesContextValue },
@@ -39,7 +39,7 @@ var ShowMore_1 = require("../../../ShowMore");
39
39
  var EditModeAttributesFactory_1 = require("../../../EditModeAttributesFactory");
40
40
  var CardinalityMessage_1 = require("../../../CardinalityMessage");
41
41
  var PinnedAttributesContext_1 = require("../../../contexts/PinnedAttributesContext");
42
- var AllwaysVisibleAttributesContext_1 = require("../../../contexts/AllwaysVisibleAttributesContext");
42
+ var AlwaysVisibleAttributesContext_1 = require("../../../contexts/AlwaysVisibleAttributesContext");
43
43
  var DescriptionIcon_1 = require("../../../DescriptionIcon");
44
44
  var ControlAttributeIcon_1 = require("../../../ControlAttributeIcon");
45
45
  var useScrollToAttribute_1 = require("../../../hooks/useScrollToAttribute");
@@ -57,7 +57,7 @@ var AttributeRenderer = function (_a) {
57
57
  var _d = (0, useScrollToAttributeError_1.useScrollToAttributeError)({ highlightedError: highlightedError }), errorRef = _d.ref, errorClassName = _d.errorClassName;
58
58
  var _e = (0, useScrollToAttribute_1.useScrollToAttribute)(highlightedAttribute), attributeRef = _e.ref, highlightedClassName = _e.highlightedClassName;
59
59
  var pinnedAttributes = (0, react_1.useContext)(PinnedAttributesContext_1.PinnedAttributesContext);
60
- var alwaysVisibleAttributes = (0, react_1.useContext)(AllwaysVisibleAttributesContext_1.AlwaysVisibleAttributesContext);
60
+ var alwaysVisibleAttributes = (0, react_1.useContext)(AlwaysVisibleAttributesContext_1.AlwaysVisibleAttributesContext);
61
61
  var isPinned = (0, react_1.useMemo)(function () { return pinnedAttributes === null || pinnedAttributes === void 0 ? void 0 : pinnedAttributes.includes(attributeTypeUri); }, [attributeTypeUri, pinnedAttributes]);
62
62
  var isAlwaysVisible = (0, react_1.useMemo)(function () { return alwaysVisibleAttributes === null || alwaysVisibleAttributes === void 0 ? void 0 : alwaysVisibleAttributes.includes(attributeTypeUri); }, [attributeTypeUri, alwaysVisibleAttributes]);
63
63
  var isEmptyValues = (0, mdm_sdk_1.isEmptyValue)(values);
@@ -11,6 +11,6 @@ var styles_1 = require("./styles");
11
11
  var FacetViewHeader = function (_a) {
12
12
  var className = _a.className, title = _a.title, children = _a.children;
13
13
  var styles = (0, styles_1.useStyles)();
14
- return (react_1.default.createElement(BasicViewHeader_1.BasicViewHeader, { title: title, classes: { root: (0, classnames_1.default)(styles.container, className), title: styles.title } }, children));
14
+ return (react_1.default.createElement(BasicViewHeader_1.BasicViewHeader, { "data-reltio-id": "facet-view-header", title: title, classes: { root: (0, classnames_1.default)(styles.container, className), title: styles.title } }, children));
15
15
  };
16
16
  exports.FacetViewHeader = FacetViewHeader;
@@ -49,6 +49,14 @@ exports.imageAttributeValues = [
49
49
  value: '/test.jpg',
50
50
  uri: 'entities/1Rd2I9Mt/attributes/ImageGallery/39V5GWJZv/CdnUrlThumbnail/39V5GWj9T'
51
51
  }
52
+ ],
53
+ UrlPreview: [
54
+ {
55
+ type: 'configuration/entityTypes/Series/attributes/ImageGallery/attributes/UrlPreview',
56
+ ov: true,
57
+ value: '/test.jpg',
58
+ uri: 'entities/1Rd2I9Mt/attributes/ImageGallery/39V5GWJZv/UrlPreview/38Man0dAs'
59
+ }
52
60
  ]
53
61
  },
54
62
  ov: true,
@@ -2,4 +2,4 @@ export { ImageAttributesLine } from './ImageAttributesLine';
2
2
  export type { RenderImage, ImageRenderProps } from './types';
3
3
  export { DEFAULT_IMAGE_SIZE } from './constants';
4
4
  export { downloadImagesByURLs } from './helpers';
5
- export { imageAttributeValues } from './imageAttributeValues.test-data';
5
+ export { imageAttributeValues, attributeType } from './imageAttributeValues.test-data';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.imageAttributeValues = exports.downloadImagesByURLs = exports.DEFAULT_IMAGE_SIZE = exports.ImageAttributesLine = void 0;
3
+ exports.attributeType = exports.imageAttributeValues = exports.downloadImagesByURLs = exports.DEFAULT_IMAGE_SIZE = exports.ImageAttributesLine = void 0;
4
4
  var ImageAttributesLine_1 = require("./ImageAttributesLine");
5
5
  Object.defineProperty(exports, "ImageAttributesLine", { enumerable: true, get: function () { return ImageAttributesLine_1.ImageAttributesLine; } });
6
6
  var constants_1 = require("./constants");
@@ -9,3 +9,4 @@ var helpers_1 = require("./helpers");
9
9
  Object.defineProperty(exports, "downloadImagesByURLs", { enumerable: true, get: function () { return helpers_1.downloadImagesByURLs; } });
10
10
  var imageAttributeValues_test_data_1 = require("./imageAttributeValues.test-data");
11
11
  Object.defineProperty(exports, "imageAttributeValues", { enumerable: true, get: function () { return imageAttributeValues_test_data_1.imageAttributeValues; } });
12
+ Object.defineProperty(exports, "attributeType", { enumerable: true, get: function () { return imageAttributeValues_test_data_1.attributeType; } });