@itwin/grouping-mapping-widget 0.19.1 → 0.20.0

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 (986) hide show
  1. package/README.md +1 -1
  2. package/lib/cjs/WidgetShell/GroupingMapping.d.ts +34 -0
  3. package/lib/cjs/WidgetShell/GroupingMapping.js +79 -0
  4. package/lib/cjs/WidgetShell/GroupingMapping.js.map +1 -0
  5. package/lib/cjs/WidgetShell/GroupingMappingContent.js +51 -0
  6. package/lib/cjs/WidgetShell/GroupingMappingContent.js.map +1 -0
  7. package/lib/cjs/WidgetShell/GroupingMappingHeader.js +24 -0
  8. package/lib/cjs/WidgetShell/GroupingMappingHeader.js.map +1 -0
  9. package/lib/cjs/WidgetShell/GroupingMappingWidget.d.ts +10 -0
  10. package/lib/cjs/WidgetShell/GroupingMappingWidget.js +31 -0
  11. package/lib/cjs/WidgetShell/GroupingMappingWidget.js.map +1 -0
  12. package/lib/cjs/WidgetShell/Router/GroupingMappingRouter.d.ts +8 -0
  13. package/lib/cjs/WidgetShell/Router/GroupingMappingRouter.js +107 -0
  14. package/lib/cjs/WidgetShell/Router/GroupingMappingRouter.js.map +1 -0
  15. package/lib/cjs/WidgetShell/WidgetHeader/WidgetHeader.js.map +1 -0
  16. package/lib/cjs/common/utils.d.ts +11 -0
  17. package/lib/cjs/common/utils.js +89 -0
  18. package/lib/cjs/common/utils.js.map +1 -0
  19. package/lib/cjs/common/viewerUtils.d.ts +30 -0
  20. package/lib/cjs/common/viewerUtils.js +293 -0
  21. package/lib/cjs/common/viewerUtils.js.map +1 -0
  22. package/lib/cjs/components/GroupingMappingContext.d.ts +39 -0
  23. package/lib/cjs/components/GroupingMappingContext.js +123 -0
  24. package/lib/cjs/components/GroupingMappingContext.js.map +1 -0
  25. package/lib/cjs/components/Groups/Editing/GroupAction.js +156 -0
  26. package/lib/cjs/components/Groups/Editing/GroupAction.js.map +1 -0
  27. package/lib/cjs/components/Groups/Editing/GroupDetails.js +34 -0
  28. package/lib/cjs/components/Groups/Editing/GroupDetails.js.map +1 -0
  29. package/lib/cjs/components/Groups/Editing/GroupDetailsActionPanel.js.map +1 -0
  30. package/lib/cjs/components/Groups/Editing/GroupDetailsStep.js.map +1 -0
  31. package/lib/cjs/components/Groups/GroupColorLegend.js.map +1 -0
  32. package/lib/cjs/components/Groups/GroupItem.d.ts +13 -0
  33. package/lib/cjs/components/Groups/GroupItem.js +23 -0
  34. package/lib/cjs/components/Groups/GroupItem.js.map +1 -0
  35. package/lib/cjs/components/Groups/GroupMenuActions.d.ts +14 -0
  36. package/lib/cjs/components/Groups/GroupMenuActions.js +80 -0
  37. package/lib/cjs/components/Groups/GroupMenuActions.js.map +1 -0
  38. package/lib/cjs/components/Groups/GroupOverlapProgressBar.d.ts +11 -0
  39. package/lib/cjs/components/Groups/GroupOverlapProgressBar.js +18 -0
  40. package/lib/cjs/components/Groups/GroupOverlapProgressBar.js.map +1 -0
  41. package/lib/cjs/components/Groups/Groups.d.ts +18 -0
  42. package/lib/cjs/components/Groups/Groups.js +47 -0
  43. package/lib/cjs/components/Groups/Groups.js.map +1 -0
  44. package/lib/cjs/components/Groups/GroupsAddButton.d.ts +10 -0
  45. package/lib/cjs/components/Groups/GroupsAddButton.js.map +1 -0
  46. package/lib/cjs/components/Groups/GroupsShowHideButtons.js +45 -0
  47. package/lib/cjs/components/Groups/GroupsShowHideButtons.js.map +1 -0
  48. package/lib/cjs/components/Groups/GroupsView.d.ts +43 -0
  49. package/lib/cjs/components/Groups/GroupsView.js +49 -0
  50. package/lib/cjs/components/Groups/GroupsView.js.map +1 -0
  51. package/lib/cjs/components/Groups/GroupsView.scss +53 -0
  52. package/lib/cjs/components/Groups/GroupsVisualization.js +153 -0
  53. package/lib/cjs/components/Groups/GroupsVisualization.js.map +1 -0
  54. package/lib/cjs/components/Groups/GroupsVisualization.scss +18 -0
  55. package/lib/cjs/components/Groups/GroupsVisualizationActions.js +27 -0
  56. package/lib/cjs/components/Groups/GroupsVisualizationActions.js.map +1 -0
  57. package/lib/cjs/components/Groups/OverlappedElementsInformationPanel.d.ts +17 -0
  58. package/lib/cjs/components/Groups/OverlappedElementsInformationPanel.js +91 -0
  59. package/lib/cjs/components/Groups/OverlappedElementsInformationPanel.js.map +1 -0
  60. package/lib/cjs/components/Groups/OverlappedElementsInformationPanel.scss +14 -0
  61. package/lib/cjs/components/Groups/QueryBuilder/QueryBuilder.js.map +1 -0
  62. package/lib/cjs/components/Groups/QueryBuilder/QueryBuilderActionPanel.js.map +1 -0
  63. package/lib/cjs/components/Groups/QueryBuilder/QueryBuilderCustomUI.d.ts +13 -0
  64. package/lib/cjs/components/Groups/QueryBuilder/QueryBuilderCustomUI.js +28 -0
  65. package/lib/cjs/components/Groups/QueryBuilder/QueryBuilderCustomUI.js.map +1 -0
  66. package/lib/cjs/components/Groups/QueryBuilder/QueryBuilderStep.js.map +1 -0
  67. package/lib/cjs/components/Groups/ToggleGroupVisibility.js.map +1 -0
  68. package/lib/cjs/components/Groups/groupsHelpers.d.ts +11 -0
  69. package/lib/cjs/components/Groups/groupsHelpers.js +202 -0
  70. package/lib/cjs/components/Groups/groupsHelpers.js.map +1 -0
  71. package/lib/cjs/components/Groups/hooks/useGroupsOperations.d.ts +26 -0
  72. package/lib/cjs/components/Groups/hooks/useGroupsOperations.js +71 -0
  73. package/lib/cjs/components/Groups/hooks/useGroupsOperations.js.map +1 -0
  74. package/lib/cjs/components/Groups/hooks/useVisualization.js +68 -0
  75. package/lib/cjs/components/Groups/hooks/useVisualization.js.map +1 -0
  76. package/lib/cjs/components/Mappings/BlockingOverlay.js +20 -0
  77. package/lib/cjs/components/Mappings/BlockingOverlay.js.map +1 -0
  78. package/lib/cjs/components/Mappings/ConfirmMappingsImport.js +134 -0
  79. package/lib/cjs/components/Mappings/ConfirmMappingsImport.js.map +1 -0
  80. package/lib/cjs/components/Mappings/Editing/MappingAction.js +109 -0
  81. package/lib/cjs/components/Mappings/Editing/MappingAction.js.map +1 -0
  82. package/lib/cjs/components/Mappings/Extraction/ExtractionLogCustomFilter.js +42 -0
  83. package/lib/cjs/components/Mappings/Extraction/ExtractionLogCustomFilter.js.map +1 -0
  84. package/lib/cjs/components/Mappings/Extraction/ExtractionMessageModal.d.ts +11 -0
  85. package/lib/cjs/components/Mappings/Extraction/ExtractionMessageModal.js +129 -0
  86. package/lib/cjs/components/Mappings/Extraction/ExtractionMessageModal.js.map +1 -0
  87. package/lib/cjs/components/Mappings/Extraction/ExtractionStatusIcon.js.map +1 -0
  88. package/lib/cjs/components/Mappings/Import/MappingImportWizardModal.js +125 -0
  89. package/lib/cjs/components/Mappings/Import/MappingImportWizardModal.js.map +1 -0
  90. package/lib/cjs/components/Mappings/Import/SelectIModel.js +102 -0
  91. package/lib/cjs/components/Mappings/Import/SelectIModel.js.map +1 -0
  92. package/lib/cjs/components/Mappings/Import/SelectITwin.js +115 -0
  93. package/lib/cjs/components/Mappings/Import/SelectITwin.js.map +1 -0
  94. package/lib/cjs/components/Mappings/Import/SelectMappings.d.ts +16 -0
  95. package/lib/cjs/components/Mappings/Import/SelectMappings.js +88 -0
  96. package/lib/cjs/components/Mappings/Import/SelectMappings.js.map +1 -0
  97. package/lib/cjs/components/Mappings/MappingViewActionGroup.js.map +1 -0
  98. package/lib/cjs/components/Mappings/Mappings.d.ts +13 -0
  99. package/lib/cjs/components/Mappings/Mappings.js +45 -0
  100. package/lib/cjs/components/Mappings/Mappings.js.map +1 -0
  101. package/lib/cjs/components/Mappings/MappingsView.js +64 -0
  102. package/lib/cjs/components/Mappings/MappingsView.js.map +1 -0
  103. package/lib/cjs/components/Mappings/hooks/useMappingsOperations.d.ts +35 -0
  104. package/lib/cjs/components/Mappings/hooks/useMappingsOperations.js +120 -0
  105. package/lib/cjs/components/Mappings/hooks/useMappingsOperations.js.map +1 -0
  106. package/lib/cjs/components/Properties/CalculatedProperties/CalculatedPropertyAction.js +84 -0
  107. package/lib/cjs/components/Properties/CalculatedProperties/CalculatedPropertyAction.js.map +1 -0
  108. package/lib/cjs/components/Properties/CalculatedProperties/CalculatedPropertyActionWithVisuals.js +150 -0
  109. package/lib/cjs/components/Properties/CalculatedProperties/CalculatedPropertyActionWithVisuals.js.map +1 -0
  110. package/lib/cjs/components/Properties/CalculatedProperties/CalculatedPropertyTable.js +84 -0
  111. package/lib/cjs/components/Properties/CalculatedProperties/CalculatedPropertyTable.js.map +1 -0
  112. package/lib/cjs/components/Properties/CalculatedProperties/SharedCalculatedPropertyForms.js.map +1 -0
  113. package/lib/cjs/components/Properties/CustomCalculations/CustomCalculationAction.d.ts +12 -0
  114. package/lib/cjs/components/Properties/CustomCalculations/CustomCalculationAction.js +185 -0
  115. package/lib/cjs/components/Properties/CustomCalculations/CustomCalculationAction.js.map +1 -0
  116. package/lib/cjs/components/Properties/CustomCalculations/CustomCalculationTable.js +84 -0
  117. package/lib/cjs/components/Properties/CustomCalculations/CustomCalculationTable.js.map +1 -0
  118. package/lib/cjs/components/Properties/GroupColorToggle.js +69 -0
  119. package/lib/cjs/components/Properties/GroupColorToggle.js.map +1 -0
  120. package/lib/cjs/components/Properties/GroupInformationPanel.js.map +1 -0
  121. package/lib/cjs/components/Properties/GroupProperties/GroupPropertyAction.js +287 -0
  122. package/lib/cjs/components/Properties/GroupProperties/GroupPropertyAction.js.map +1 -0
  123. package/lib/cjs/components/Properties/GroupProperties/GroupPropertyTable.js +81 -0
  124. package/lib/cjs/components/Properties/GroupProperties/GroupPropertyTable.js.map +1 -0
  125. package/lib/cjs/components/Properties/GroupProperties/GroupPropertyUtils.js.map +1 -0
  126. package/lib/cjs/components/Properties/GroupProperties/SaveModal.js.map +1 -0
  127. package/lib/cjs/components/Properties/GroupProperties/SortableHorizontalTile.d.ts +8 -0
  128. package/lib/cjs/components/Properties/GroupProperties/SortableHorizontalTile.js +52 -0
  129. package/lib/cjs/components/Properties/GroupProperties/SortableHorizontalTile.js.map +1 -0
  130. package/lib/cjs/components/Properties/PropertyAction.js +99 -0
  131. package/lib/cjs/components/Properties/PropertyAction.js.map +1 -0
  132. package/lib/cjs/components/Properties/PropertyMenu.js +60 -0
  133. package/lib/cjs/components/Properties/PropertyMenu.js.map +1 -0
  134. package/lib/cjs/components/Properties/PropertyMenuWithVisualization.js.map +1 -0
  135. package/lib/cjs/components/Properties/PropertyNameCell.js.map +1 -0
  136. package/lib/cjs/components/Properties/PropertyTable.js +53 -0
  137. package/lib/cjs/components/Properties/PropertyTable.js.map +1 -0
  138. package/lib/cjs/components/Properties/PropertyTableToolbar.js.map +1 -0
  139. package/lib/cjs/components/Properties/hooks/useFetchData.js +43 -0
  140. package/lib/cjs/components/Properties/hooks/useFetchData.js.map +1 -0
  141. package/lib/cjs/components/Properties/hooks/useFormulaValidation.d.ts +6 -0
  142. package/lib/cjs/components/Properties/hooks/useFormulaValidation.js +29 -0
  143. package/lib/cjs/components/Properties/hooks/useFormulaValidation.js.map +1 -0
  144. package/lib/cjs/components/Properties/hooks/useValidator.js.map +1 -0
  145. package/lib/cjs/components/SharedComponents/ActionPanel.js +39 -0
  146. package/lib/cjs/components/SharedComponents/ActionPanel.js.map +1 -0
  147. package/lib/cjs/components/SharedComponents/DeleteModal.js +62 -0
  148. package/lib/cjs/components/SharedComponents/DeleteModal.js.map +1 -0
  149. package/lib/cjs/components/SharedComponents/EmptyMessage.d.ts +7 -0
  150. package/lib/cjs/components/SharedComponents/EmptyMessage.js +17 -0
  151. package/lib/cjs/components/SharedComponents/EmptyMessage.js.map +1 -0
  152. package/lib/cjs/components/SharedComponents/EmptyMessage.scss +12 -0
  153. package/lib/cjs/components/SharedComponents/HorizontalTile.d.ts +19 -0
  154. package/lib/cjs/components/SharedComponents/HorizontalTile.js +27 -0
  155. package/lib/cjs/components/SharedComponents/HorizontalTile.js.map +1 -0
  156. package/lib/cjs/components/SharedComponents/HorizontalTile.scss +58 -0
  157. package/lib/cjs/components/SharedComponents/LoadingOverlay.d.ts +4 -0
  158. package/lib/cjs/components/SharedComponents/LoadingOverlay.js +19 -0
  159. package/lib/cjs/components/SharedComponents/LoadingOverlay.js.map +1 -0
  160. package/lib/cjs/components/SharedComponents/LoadingOverlay.scss +13 -0
  161. package/lib/cjs/components/SharedComponents/LoadingSpinner.d.ts +4 -0
  162. package/lib/cjs/components/SharedComponents/LoadingSpinner.js +19 -0
  163. package/lib/cjs/components/SharedComponents/LoadingSpinner.js.map +1 -0
  164. package/lib/cjs/components/SharedComponents/LoadingSpinner.scss +8 -0
  165. package/lib/cjs/components/SharedComponents/StatusIcon.js.map +1 -0
  166. package/lib/cjs/components/context/ExtractionClientContext.js.map +1 -0
  167. package/lib/cjs/components/context/GroupHilitedElementsContext.d.ts +38 -0
  168. package/lib/cjs/components/context/GroupHilitedElementsContext.js +55 -0
  169. package/lib/cjs/components/context/GroupHilitedElementsContext.js.map +1 -0
  170. package/lib/cjs/components/context/GroupingApiConfigContext.js.map +1 -0
  171. package/lib/cjs/components/context/GroupingMappingCustomUIContext.js.map +1 -0
  172. package/lib/cjs/components/context/IModelsClientContext.js.map +1 -0
  173. package/lib/cjs/components/context/ITwinsClientContext.js.map +1 -0
  174. package/lib/cjs/components/context/MappingClientContext.js.map +1 -0
  175. package/lib/cjs/components/context/PropertiesContext.js.map +1 -0
  176. package/lib/cjs/components/context/PropertyGridWrapperContext.d.ts +13 -0
  177. package/lib/cjs/components/context/PropertyGridWrapperContext.js.map +1 -0
  178. package/lib/cjs/components/customUI/DefaultGroupingUI.js.map +1 -0
  179. package/lib/cjs/components/customUI/GroupQueryBuilderCustomUI.js +107 -0
  180. package/lib/cjs/components/customUI/GroupQueryBuilderCustomUI.js.map +1 -0
  181. package/lib/cjs/components/customUI/GroupingMappingCustomUI.js.map +1 -0
  182. package/lib/cjs/components/customUI/ManualGroupingCustomUI.js +32 -0
  183. package/lib/cjs/components/customUI/ManualGroupingCustomUI.js.map +1 -0
  184. package/lib/cjs/components/customUI/SearchGroupingCustomUI.js +98 -0
  185. package/lib/cjs/components/customUI/SearchGroupingCustomUI.js.map +1 -0
  186. package/lib/cjs/grouping-mapping-widget.d.ts +23 -23
  187. package/lib/cjs/grouping-mapping-widget.js +23 -23
  188. package/lib/cjs/grouping-mapping-widget.js.map +1 -1
  189. package/lib/cjs/test/GroupPropertyUtils.test.js +1 -1
  190. package/lib/cjs/test/GroupPropertyUtils.test.js.map +1 -1
  191. package/lib/cjs/test/GroupingMappingCustomUI.test.js +4 -4
  192. package/lib/cjs/test/GroupingMappingCustomUI.test.js.map +1 -1
  193. package/lib/cjs/test/QueryBuilder.test.js +1 -1
  194. package/lib/cjs/test/QueryBuilder.test.js.map +1 -1
  195. package/lib/cjs/test/WidgetHeader.test.js +1 -1
  196. package/lib/cjs/test/WidgetHeader.test.js.map +1 -1
  197. package/lib/cjs/test/test-utils.js +1 -1
  198. package/lib/cjs/test/test-utils.js.map +1 -1
  199. package/lib/esm/WidgetShell/GroupingMapping.d.ts +34 -0
  200. package/lib/esm/WidgetShell/GroupingMapping.js +57 -0
  201. package/lib/esm/WidgetShell/GroupingMapping.js.map +1 -0
  202. package/lib/esm/WidgetShell/GroupingMappingContent.js +28 -0
  203. package/lib/esm/WidgetShell/GroupingMappingContent.js.map +1 -0
  204. package/lib/esm/WidgetShell/GroupingMappingHeader.js +17 -0
  205. package/lib/esm/WidgetShell/GroupingMappingHeader.js.map +1 -0
  206. package/lib/esm/WidgetShell/GroupingMappingWidget.d.ts +10 -0
  207. package/lib/esm/WidgetShell/GroupingMappingWidget.js +24 -0
  208. package/lib/esm/WidgetShell/GroupingMappingWidget.js.map +1 -0
  209. package/lib/esm/WidgetShell/Router/GroupingMappingRouter.d.ts +8 -0
  210. package/lib/esm/WidgetShell/Router/GroupingMappingRouter.js +100 -0
  211. package/lib/esm/WidgetShell/Router/GroupingMappingRouter.js.map +1 -0
  212. package/lib/esm/WidgetShell/WidgetHeader/WidgetHeader.js.map +1 -0
  213. package/lib/esm/common/utils.d.ts +11 -0
  214. package/lib/esm/common/utils.js +80 -0
  215. package/lib/esm/common/utils.js.map +1 -0
  216. package/lib/esm/common/viewerUtils.d.ts +30 -0
  217. package/lib/esm/common/viewerUtils.js +268 -0
  218. package/lib/esm/common/viewerUtils.js.map +1 -0
  219. package/lib/esm/components/GroupingMappingContext.d.ts +39 -0
  220. package/lib/esm/components/GroupingMappingContext.js +100 -0
  221. package/lib/esm/components/GroupingMappingContext.js.map +1 -0
  222. package/lib/esm/components/Groups/Editing/GroupAction.js +130 -0
  223. package/lib/esm/components/Groups/Editing/GroupAction.js.map +1 -0
  224. package/lib/esm/components/Groups/Editing/GroupDetails.js +27 -0
  225. package/lib/esm/components/Groups/Editing/GroupDetails.js.map +1 -0
  226. package/lib/esm/components/Groups/Editing/GroupDetailsActionPanel.js.map +1 -0
  227. package/lib/esm/components/Groups/Editing/GroupDetailsStep.js.map +1 -0
  228. package/lib/esm/components/Groups/GroupColorLegend.js.map +1 -0
  229. package/lib/esm/components/Groups/GroupItem.d.ts +13 -0
  230. package/lib/esm/components/Groups/GroupItem.js +16 -0
  231. package/lib/esm/components/Groups/GroupItem.js.map +1 -0
  232. package/lib/esm/components/Groups/GroupMenuActions.d.ts +14 -0
  233. package/lib/esm/components/Groups/GroupMenuActions.js +57 -0
  234. package/lib/esm/components/Groups/GroupMenuActions.js.map +1 -0
  235. package/lib/esm/components/Groups/GroupOverlapProgressBar.d.ts +11 -0
  236. package/lib/esm/components/Groups/GroupOverlapProgressBar.js +11 -0
  237. package/lib/esm/components/Groups/GroupOverlapProgressBar.js.map +1 -0
  238. package/lib/esm/components/Groups/Groups.d.ts +18 -0
  239. package/lib/esm/components/Groups/Groups.js +24 -0
  240. package/lib/esm/components/Groups/Groups.js.map +1 -0
  241. package/lib/esm/components/Groups/GroupsAddButton.d.ts +10 -0
  242. package/lib/esm/components/Groups/GroupsAddButton.js.map +1 -0
  243. package/lib/esm/components/Groups/GroupsShowHideButtons.js +22 -0
  244. package/lib/esm/components/Groups/GroupsShowHideButtons.js.map +1 -0
  245. package/lib/esm/components/Groups/GroupsView.d.ts +43 -0
  246. package/lib/esm/components/Groups/GroupsView.js +42 -0
  247. package/lib/esm/components/Groups/GroupsView.js.map +1 -0
  248. package/lib/esm/components/Groups/GroupsView.scss +53 -0
  249. package/lib/esm/components/Groups/GroupsVisualization.js +130 -0
  250. package/lib/esm/components/Groups/GroupsVisualization.js.map +1 -0
  251. package/lib/esm/components/Groups/GroupsVisualization.scss +18 -0
  252. package/lib/esm/components/Groups/GroupsVisualizationActions.js +20 -0
  253. package/lib/esm/components/Groups/GroupsVisualizationActions.js.map +1 -0
  254. package/lib/esm/components/Groups/OverlappedElementsInformationPanel.d.ts +17 -0
  255. package/lib/esm/components/Groups/OverlappedElementsInformationPanel.js +84 -0
  256. package/lib/esm/components/Groups/OverlappedElementsInformationPanel.js.map +1 -0
  257. package/lib/esm/components/Groups/OverlappedElementsInformationPanel.scss +14 -0
  258. package/lib/esm/components/Groups/QueryBuilder/QueryBuilder.js.map +1 -0
  259. package/lib/esm/components/Groups/QueryBuilder/QueryBuilderActionPanel.js.map +1 -0
  260. package/lib/esm/components/Groups/QueryBuilder/QueryBuilderCustomUI.d.ts +13 -0
  261. package/lib/esm/components/Groups/QueryBuilder/QueryBuilderCustomUI.js +21 -0
  262. package/lib/esm/components/Groups/QueryBuilder/QueryBuilderCustomUI.js.map +1 -0
  263. package/lib/esm/components/Groups/QueryBuilder/QueryBuilderStep.js.map +1 -0
  264. package/lib/esm/components/Groups/ToggleGroupVisibility.js.map +1 -0
  265. package/lib/esm/components/Groups/groupsHelpers.d.ts +11 -0
  266. package/lib/esm/components/Groups/groupsHelpers.js +192 -0
  267. package/lib/esm/components/Groups/groupsHelpers.js.map +1 -0
  268. package/lib/esm/components/Groups/hooks/useGroupsOperations.d.ts +26 -0
  269. package/lib/esm/components/Groups/hooks/useGroupsOperations.js +67 -0
  270. package/lib/esm/components/Groups/hooks/useGroupsOperations.js.map +1 -0
  271. package/lib/esm/components/Groups/hooks/useVisualization.js +64 -0
  272. package/lib/esm/components/Groups/hooks/useVisualization.js.map +1 -0
  273. package/lib/esm/components/Mappings/BlockingOverlay.js +13 -0
  274. package/lib/esm/components/Mappings/BlockingOverlay.js.map +1 -0
  275. package/lib/esm/components/Mappings/ConfirmMappingsImport.js +113 -0
  276. package/lib/esm/components/Mappings/ConfirmMappingsImport.js.map +1 -0
  277. package/lib/esm/components/Mappings/Editing/MappingAction.js +83 -0
  278. package/lib/esm/components/Mappings/Editing/MappingAction.js.map +1 -0
  279. package/lib/esm/components/Mappings/Extraction/ExtractionLogCustomFilter.js +19 -0
  280. package/lib/esm/components/Mappings/Extraction/ExtractionLogCustomFilter.js.map +1 -0
  281. package/lib/esm/components/Mappings/Extraction/ExtractionMessageModal.d.ts +11 -0
  282. package/lib/esm/components/Mappings/Extraction/ExtractionMessageModal.js +106 -0
  283. package/lib/esm/components/Mappings/Extraction/ExtractionMessageModal.js.map +1 -0
  284. package/lib/esm/components/Mappings/Extraction/ExtractionStatusIcon.js.map +1 -0
  285. package/lib/esm/components/Mappings/Import/MappingImportWizardModal.js +99 -0
  286. package/lib/esm/components/Mappings/Import/MappingImportWizardModal.js.map +1 -0
  287. package/lib/esm/components/Mappings/Import/SelectIModel.js +81 -0
  288. package/lib/esm/components/Mappings/Import/SelectIModel.js.map +1 -0
  289. package/lib/esm/components/Mappings/Import/SelectITwin.js +94 -0
  290. package/lib/esm/components/Mappings/Import/SelectITwin.js.map +1 -0
  291. package/lib/esm/components/Mappings/Import/SelectMappings.d.ts +16 -0
  292. package/lib/esm/components/Mappings/Import/SelectMappings.js +67 -0
  293. package/lib/esm/components/Mappings/Import/SelectMappings.js.map +1 -0
  294. package/lib/esm/components/Mappings/MappingViewActionGroup.js.map +1 -0
  295. package/lib/esm/components/Mappings/Mappings.d.ts +13 -0
  296. package/lib/esm/components/Mappings/Mappings.js +22 -0
  297. package/lib/esm/components/Mappings/Mappings.js.map +1 -0
  298. package/lib/esm/components/Mappings/MappingsView.js +57 -0
  299. package/lib/esm/components/Mappings/MappingsView.js.map +1 -0
  300. package/lib/esm/components/Mappings/hooks/useMappingsOperations.d.ts +35 -0
  301. package/lib/esm/components/Mappings/hooks/useMappingsOperations.js +116 -0
  302. package/lib/esm/components/Mappings/hooks/useMappingsOperations.js.map +1 -0
  303. package/lib/esm/components/Properties/CalculatedProperties/CalculatedPropertyAction.js +58 -0
  304. package/lib/esm/components/Properties/CalculatedProperties/CalculatedPropertyAction.js.map +1 -0
  305. package/lib/esm/components/Properties/CalculatedProperties/CalculatedPropertyActionWithVisuals.js +124 -0
  306. package/lib/esm/components/Properties/CalculatedProperties/CalculatedPropertyActionWithVisuals.js.map +1 -0
  307. package/lib/esm/components/Properties/CalculatedProperties/CalculatedPropertyTable.js +61 -0
  308. package/lib/esm/components/Properties/CalculatedProperties/CalculatedPropertyTable.js.map +1 -0
  309. package/lib/esm/components/Properties/CalculatedProperties/SharedCalculatedPropertyForms.js.map +1 -0
  310. package/lib/esm/components/Properties/CustomCalculations/CustomCalculationAction.d.ts +12 -0
  311. package/lib/esm/components/Properties/CustomCalculations/CustomCalculationAction.js +159 -0
  312. package/lib/esm/components/Properties/CustomCalculations/CustomCalculationAction.js.map +1 -0
  313. package/lib/esm/components/Properties/CustomCalculations/CustomCalculationTable.js +61 -0
  314. package/lib/esm/components/Properties/CustomCalculations/CustomCalculationTable.js.map +1 -0
  315. package/lib/esm/components/Properties/GroupColorToggle.js +46 -0
  316. package/lib/esm/components/Properties/GroupColorToggle.js.map +1 -0
  317. package/lib/esm/components/Properties/GroupInformationPanel.js.map +1 -0
  318. package/lib/esm/components/Properties/GroupProperties/GroupPropertyAction.js +261 -0
  319. package/lib/esm/components/Properties/GroupProperties/GroupPropertyAction.js.map +1 -0
  320. package/lib/esm/components/Properties/GroupProperties/GroupPropertyTable.js +58 -0
  321. package/lib/esm/components/Properties/GroupProperties/GroupPropertyTable.js.map +1 -0
  322. package/lib/esm/components/Properties/GroupProperties/GroupPropertyUtils.js.map +1 -0
  323. package/lib/esm/components/Properties/GroupProperties/SaveModal.js.map +1 -0
  324. package/lib/esm/components/Properties/GroupProperties/SortableHorizontalTile.d.ts +8 -0
  325. package/lib/esm/components/Properties/GroupProperties/SortableHorizontalTile.js +31 -0
  326. package/lib/esm/components/Properties/GroupProperties/SortableHorizontalTile.js.map +1 -0
  327. package/lib/esm/components/Properties/PropertyAction.js +76 -0
  328. package/lib/esm/components/Properties/PropertyAction.js.map +1 -0
  329. package/lib/esm/components/Properties/PropertyMenu.js +37 -0
  330. package/lib/esm/components/Properties/PropertyMenu.js.map +1 -0
  331. package/lib/esm/components/Properties/PropertyMenuWithVisualization.js.map +1 -0
  332. package/lib/esm/components/Properties/PropertyNameCell.js.map +1 -0
  333. package/lib/esm/components/Properties/PropertyTable.js +27 -0
  334. package/lib/esm/components/Properties/PropertyTable.js.map +1 -0
  335. package/lib/esm/components/Properties/PropertyTableToolbar.js.map +1 -0
  336. package/lib/esm/components/Properties/hooks/useFetchData.js +37 -0
  337. package/lib/esm/components/Properties/hooks/useFetchData.js.map +1 -0
  338. package/lib/esm/components/Properties/hooks/useFormulaValidation.d.ts +6 -0
  339. package/lib/esm/components/Properties/hooks/useFormulaValidation.js +25 -0
  340. package/lib/esm/components/Properties/hooks/useFormulaValidation.js.map +1 -0
  341. package/lib/esm/components/Properties/hooks/useValidator.js.map +1 -0
  342. package/lib/esm/components/SharedComponents/ActionPanel.js +18 -0
  343. package/lib/esm/components/SharedComponents/ActionPanel.js.map +1 -0
  344. package/lib/esm/components/SharedComponents/DeleteModal.js +39 -0
  345. package/lib/esm/components/SharedComponents/DeleteModal.js.map +1 -0
  346. package/lib/esm/components/SharedComponents/EmptyMessage.d.ts +7 -0
  347. package/lib/esm/components/SharedComponents/EmptyMessage.js +10 -0
  348. package/lib/esm/components/SharedComponents/EmptyMessage.js.map +1 -0
  349. package/lib/esm/components/SharedComponents/EmptyMessage.scss +12 -0
  350. package/lib/esm/components/SharedComponents/HorizontalTile.d.ts +19 -0
  351. package/lib/esm/components/SharedComponents/HorizontalTile.js +20 -0
  352. package/lib/esm/components/SharedComponents/HorizontalTile.js.map +1 -0
  353. package/lib/esm/components/SharedComponents/HorizontalTile.scss +58 -0
  354. package/lib/esm/components/SharedComponents/LoadingOverlay.d.ts +4 -0
  355. package/lib/esm/components/SharedComponents/LoadingOverlay.js +12 -0
  356. package/lib/esm/components/SharedComponents/LoadingOverlay.js.map +1 -0
  357. package/lib/esm/components/SharedComponents/LoadingOverlay.scss +13 -0
  358. package/lib/esm/components/SharedComponents/LoadingSpinner.d.ts +4 -0
  359. package/lib/esm/components/SharedComponents/LoadingSpinner.js +12 -0
  360. package/lib/esm/components/SharedComponents/LoadingSpinner.js.map +1 -0
  361. package/lib/esm/components/SharedComponents/LoadingSpinner.scss +8 -0
  362. package/lib/esm/components/SharedComponents/StatusIcon.js.map +1 -0
  363. package/lib/esm/components/context/ExtractionClientContext.js.map +1 -0
  364. package/lib/esm/components/context/GroupHilitedElementsContext.d.ts +38 -0
  365. package/lib/esm/components/context/GroupHilitedElementsContext.js +32 -0
  366. package/lib/esm/components/context/GroupHilitedElementsContext.js.map +1 -0
  367. package/lib/esm/components/context/GroupingApiConfigContext.js.map +1 -0
  368. package/lib/esm/components/context/GroupingMappingCustomUIContext.js.map +1 -0
  369. package/lib/esm/components/context/IModelsClientContext.js.map +1 -0
  370. package/lib/esm/components/context/ITwinsClientContext.js.map +1 -0
  371. package/lib/esm/components/context/MappingClientContext.js.map +1 -0
  372. package/lib/esm/components/context/PropertiesContext.js.map +1 -0
  373. package/lib/esm/components/context/PropertyGridWrapperContext.d.ts +13 -0
  374. package/lib/esm/components/context/PropertyGridWrapperContext.js.map +1 -0
  375. package/lib/esm/components/customUI/DefaultGroupingUI.js.map +1 -0
  376. package/lib/esm/components/customUI/GroupQueryBuilderCustomUI.js +84 -0
  377. package/lib/esm/components/customUI/GroupQueryBuilderCustomUI.js.map +1 -0
  378. package/lib/esm/components/customUI/GroupingMappingCustomUI.js.map +1 -0
  379. package/lib/esm/components/customUI/ManualGroupingCustomUI.js +25 -0
  380. package/lib/esm/components/customUI/ManualGroupingCustomUI.js.map +1 -0
  381. package/lib/esm/components/customUI/SearchGroupingCustomUI.js +91 -0
  382. package/lib/esm/components/customUI/SearchGroupingCustomUI.js.map +1 -0
  383. package/lib/esm/grouping-mapping-widget.d.ts +23 -23
  384. package/lib/esm/grouping-mapping-widget.js +23 -23
  385. package/lib/esm/grouping-mapping-widget.js.map +1 -1
  386. package/lib/esm/test/GroupPropertyUtils.test.js +1 -1
  387. package/lib/esm/test/GroupPropertyUtils.test.js.map +1 -1
  388. package/lib/esm/test/GroupingMappingCustomUI.test.js +4 -4
  389. package/lib/esm/test/GroupingMappingCustomUI.test.js.map +1 -1
  390. package/lib/esm/test/QueryBuilder.test.js +1 -1
  391. package/lib/esm/test/QueryBuilder.test.js.map +1 -1
  392. package/lib/esm/test/WidgetHeader.test.js +1 -1
  393. package/lib/esm/test/WidgetHeader.test.js.map +1 -1
  394. package/lib/esm/test/test-utils.js +1 -1
  395. package/lib/esm/test/test-utils.js.map +1 -1
  396. package/package.json +2 -2
  397. package/lib/cjs/widget/GroupingMappingWidget.d.ts +0 -10
  398. package/lib/cjs/widget/GroupingMappingWidget.js +0 -31
  399. package/lib/cjs/widget/GroupingMappingWidget.js.map +0 -1
  400. package/lib/cjs/widget/components/ActionPanel.js +0 -39
  401. package/lib/cjs/widget/components/ActionPanel.js.map +0 -1
  402. package/lib/cjs/widget/components/BlockingOverlay.js +0 -20
  403. package/lib/cjs/widget/components/BlockingOverlay.js.map +0 -1
  404. package/lib/cjs/widget/components/CalculatedPropertyAction.js +0 -84
  405. package/lib/cjs/widget/components/CalculatedPropertyAction.js.map +0 -1
  406. package/lib/cjs/widget/components/CalculatedPropertyActionWithVisuals.js +0 -150
  407. package/lib/cjs/widget/components/CalculatedPropertyActionWithVisuals.js.map +0 -1
  408. package/lib/cjs/widget/components/CalculatedPropertyTable.js +0 -84
  409. package/lib/cjs/widget/components/CalculatedPropertyTable.js.map +0 -1
  410. package/lib/cjs/widget/components/ConfirmMappingsImport.js +0 -134
  411. package/lib/cjs/widget/components/ConfirmMappingsImport.js.map +0 -1
  412. package/lib/cjs/widget/components/CustomCalculationAction.d.ts +0 -13
  413. package/lib/cjs/widget/components/CustomCalculationAction.js +0 -186
  414. package/lib/cjs/widget/components/CustomCalculationAction.js.map +0 -1
  415. package/lib/cjs/widget/components/CustomCalculationTable.js +0 -84
  416. package/lib/cjs/widget/components/CustomCalculationTable.js.map +0 -1
  417. package/lib/cjs/widget/components/DeleteModal.js +0 -61
  418. package/lib/cjs/widget/components/DeleteModal.js.map +0 -1
  419. package/lib/cjs/widget/components/ExtractionLogCustomFilter.js +0 -42
  420. package/lib/cjs/widget/components/ExtractionLogCustomFilter.js.map +0 -1
  421. package/lib/cjs/widget/components/ExtractionMessageModal.d.ts +0 -11
  422. package/lib/cjs/widget/components/ExtractionMessageModal.js +0 -87
  423. package/lib/cjs/widget/components/ExtractionMessageModal.js.map +0 -1
  424. package/lib/cjs/widget/components/ExtractionStatusIcon.js.map +0 -1
  425. package/lib/cjs/widget/components/GroupAction.js +0 -155
  426. package/lib/cjs/widget/components/GroupAction.js.map +0 -1
  427. package/lib/cjs/widget/components/GroupColorLegend.js.map +0 -1
  428. package/lib/cjs/widget/components/GroupColorToggle.js +0 -69
  429. package/lib/cjs/widget/components/GroupColorToggle.js.map +0 -1
  430. package/lib/cjs/widget/components/GroupDetails.js +0 -34
  431. package/lib/cjs/widget/components/GroupDetails.js.map +0 -1
  432. package/lib/cjs/widget/components/GroupDetailsActionPanel.js.map +0 -1
  433. package/lib/cjs/widget/components/GroupDetailsStep.js.map +0 -1
  434. package/lib/cjs/widget/components/GroupInformationPanel.js.map +0 -1
  435. package/lib/cjs/widget/components/GroupItem.d.ts +0 -12
  436. package/lib/cjs/widget/components/GroupItem.js +0 -19
  437. package/lib/cjs/widget/components/GroupItem.js.map +0 -1
  438. package/lib/cjs/widget/components/GroupMenuActions.d.ts +0 -13
  439. package/lib/cjs/widget/components/GroupMenuActions.js +0 -68
  440. package/lib/cjs/widget/components/GroupMenuActions.js.map +0 -1
  441. package/lib/cjs/widget/components/GroupPropertyAction.js +0 -287
  442. package/lib/cjs/widget/components/GroupPropertyAction.js.map +0 -1
  443. package/lib/cjs/widget/components/GroupPropertyTable.js +0 -81
  444. package/lib/cjs/widget/components/GroupPropertyTable.js.map +0 -1
  445. package/lib/cjs/widget/components/GroupPropertyUtils.js.map +0 -1
  446. package/lib/cjs/widget/components/GroupingMapping.d.ts +0 -34
  447. package/lib/cjs/widget/components/GroupingMapping.js +0 -79
  448. package/lib/cjs/widget/components/GroupingMapping.js.map +0 -1
  449. package/lib/cjs/widget/components/GroupingMappingContent.js +0 -51
  450. package/lib/cjs/widget/components/GroupingMappingContent.js.map +0 -1
  451. package/lib/cjs/widget/components/GroupingMappingContext.d.ts +0 -40
  452. package/lib/cjs/widget/components/GroupingMappingContext.js +0 -109
  453. package/lib/cjs/widget/components/GroupingMappingContext.js.map +0 -1
  454. package/lib/cjs/widget/components/GroupingMappingHeader.js +0 -24
  455. package/lib/cjs/widget/components/GroupingMappingHeader.js.map +0 -1
  456. package/lib/cjs/widget/components/GroupingMappingRouter.d.ts +0 -8
  457. package/lib/cjs/widget/components/GroupingMappingRouter.js +0 -107
  458. package/lib/cjs/widget/components/GroupingMappingRouter.js.map +0 -1
  459. package/lib/cjs/widget/components/Groups.d.ts +0 -16
  460. package/lib/cjs/widget/components/Groups.js +0 -46
  461. package/lib/cjs/widget/components/Groups.js.map +0 -1
  462. package/lib/cjs/widget/components/GroupsAddButton.d.ts +0 -10
  463. package/lib/cjs/widget/components/GroupsAddButton.js.map +0 -1
  464. package/lib/cjs/widget/components/GroupsShowHideButtons.js +0 -45
  465. package/lib/cjs/widget/components/GroupsShowHideButtons.js.map +0 -1
  466. package/lib/cjs/widget/components/GroupsView.d.ts +0 -31
  467. package/lib/cjs/widget/components/GroupsView.js +0 -37
  468. package/lib/cjs/widget/components/GroupsView.js.map +0 -1
  469. package/lib/cjs/widget/components/GroupsView.scss +0 -49
  470. package/lib/cjs/widget/components/GroupsVisualization.js +0 -141
  471. package/lib/cjs/widget/components/GroupsVisualization.js.map +0 -1
  472. package/lib/cjs/widget/components/GroupsVisualization.scss +0 -12
  473. package/lib/cjs/widget/components/GroupsVisualizationActions.js +0 -27
  474. package/lib/cjs/widget/components/GroupsVisualizationActions.js.map +0 -1
  475. package/lib/cjs/widget/components/HorizontalTile.d.ts +0 -15
  476. package/lib/cjs/widget/components/HorizontalTile.js +0 -24
  477. package/lib/cjs/widget/components/HorizontalTile.js.map +0 -1
  478. package/lib/cjs/widget/components/HorizontalTile.scss +0 -57
  479. package/lib/cjs/widget/components/MappingAction.js +0 -109
  480. package/lib/cjs/widget/components/MappingAction.js.map +0 -1
  481. package/lib/cjs/widget/components/MappingImportWizardModal.js +0 -125
  482. package/lib/cjs/widget/components/MappingImportWizardModal.js.map +0 -1
  483. package/lib/cjs/widget/components/MappingViewActionGroup.js.map +0 -1
  484. package/lib/cjs/widget/components/Mappings.d.ts +0 -13
  485. package/lib/cjs/widget/components/Mappings.js +0 -45
  486. package/lib/cjs/widget/components/Mappings.js.map +0 -1
  487. package/lib/cjs/widget/components/MappingsView.js +0 -63
  488. package/lib/cjs/widget/components/MappingsView.js.map +0 -1
  489. package/lib/cjs/widget/components/PropertyAction.js +0 -99
  490. package/lib/cjs/widget/components/PropertyAction.js.map +0 -1
  491. package/lib/cjs/widget/components/PropertyMenu.js +0 -60
  492. package/lib/cjs/widget/components/PropertyMenu.js.map +0 -1
  493. package/lib/cjs/widget/components/PropertyMenuWithVisualization.js.map +0 -1
  494. package/lib/cjs/widget/components/PropertyNameCell.js.map +0 -1
  495. package/lib/cjs/widget/components/PropertyTable.js +0 -53
  496. package/lib/cjs/widget/components/PropertyTable.js.map +0 -1
  497. package/lib/cjs/widget/components/PropertyTableToolbar.js.map +0 -1
  498. package/lib/cjs/widget/components/QueryBuilder.js.map +0 -1
  499. package/lib/cjs/widget/components/QueryBuilderActionPanel.js.map +0 -1
  500. package/lib/cjs/widget/components/QueryBuilderCustomUI.d.ts +0 -13
  501. package/lib/cjs/widget/components/QueryBuilderCustomUI.js +0 -28
  502. package/lib/cjs/widget/components/QueryBuilderCustomUI.js.map +0 -1
  503. package/lib/cjs/widget/components/QueryBuilderStep.js.map +0 -1
  504. package/lib/cjs/widget/components/SaveModal.js.map +0 -1
  505. package/lib/cjs/widget/components/SelectIModel.js +0 -102
  506. package/lib/cjs/widget/components/SelectIModel.js.map +0 -1
  507. package/lib/cjs/widget/components/SelectITwin.js +0 -115
  508. package/lib/cjs/widget/components/SelectITwin.js.map +0 -1
  509. package/lib/cjs/widget/components/SelectMappings.d.ts +0 -16
  510. package/lib/cjs/widget/components/SelectMappings.js +0 -88
  511. package/lib/cjs/widget/components/SelectMappings.js.map +0 -1
  512. package/lib/cjs/widget/components/SharedCalculatedPropertyForms.js.map +0 -1
  513. package/lib/cjs/widget/components/SortableHorizontalTile.d.ts +0 -8
  514. package/lib/cjs/widget/components/SortableHorizontalTile.js +0 -52
  515. package/lib/cjs/widget/components/SortableHorizontalTile.js.map +0 -1
  516. package/lib/cjs/widget/components/StatusIcon.js.map +0 -1
  517. package/lib/cjs/widget/components/ToggleGroupVisibility.js.map +0 -1
  518. package/lib/cjs/widget/components/WidgetHeader.js.map +0 -1
  519. package/lib/cjs/widget/components/context/ExtractionClientContext.js.map +0 -1
  520. package/lib/cjs/widget/components/context/GroupHilitedElementsContext.d.ts +0 -22
  521. package/lib/cjs/widget/components/context/GroupHilitedElementsContext.js +0 -47
  522. package/lib/cjs/widget/components/context/GroupHilitedElementsContext.js.map +0 -1
  523. package/lib/cjs/widget/components/context/GroupingApiConfigContext.js.map +0 -1
  524. package/lib/cjs/widget/components/context/GroupingMappingCustomUIContext.js.map +0 -1
  525. package/lib/cjs/widget/components/context/IModelsClientContext.js.map +0 -1
  526. package/lib/cjs/widget/components/context/ITwinsClientContext.js.map +0 -1
  527. package/lib/cjs/widget/components/context/MappingClientContext.js.map +0 -1
  528. package/lib/cjs/widget/components/context/PropertiesContext.js.map +0 -1
  529. package/lib/cjs/widget/components/context/PropertyGridWrapperContext.d.ts +0 -13
  530. package/lib/cjs/widget/components/context/PropertyGridWrapperContext.js.map +0 -1
  531. package/lib/cjs/widget/components/customUI/DefaultGroupingUI.js.map +0 -1
  532. package/lib/cjs/widget/components/customUI/GroupQueryBuilderCustomUI.js +0 -107
  533. package/lib/cjs/widget/components/customUI/GroupQueryBuilderCustomUI.js.map +0 -1
  534. package/lib/cjs/widget/components/customUI/GroupingMappingCustomUI.js.map +0 -1
  535. package/lib/cjs/widget/components/customUI/ManualGroupingCustomUI.js +0 -32
  536. package/lib/cjs/widget/components/customUI/ManualGroupingCustomUI.js.map +0 -1
  537. package/lib/cjs/widget/components/customUI/SearchGroupingCustomUI.js +0 -98
  538. package/lib/cjs/widget/components/customUI/SearchGroupingCustomUI.js.map +0 -1
  539. package/lib/cjs/widget/components/groupsHelpers.d.ts +0 -10
  540. package/lib/cjs/widget/components/groupsHelpers.js +0 -84
  541. package/lib/cjs/widget/components/groupsHelpers.js.map +0 -1
  542. package/lib/cjs/widget/components/hooks/useGroupsOperations.d.ts +0 -20
  543. package/lib/cjs/widget/components/hooks/useGroupsOperations.js +0 -67
  544. package/lib/cjs/widget/components/hooks/useGroupsOperations.js.map +0 -1
  545. package/lib/cjs/widget/components/hooks/useMappingsOperations.d.ts +0 -35
  546. package/lib/cjs/widget/components/hooks/useMappingsOperations.js +0 -120
  547. package/lib/cjs/widget/components/hooks/useMappingsOperations.js.map +0 -1
  548. package/lib/cjs/widget/components/utils.d.ts +0 -16
  549. package/lib/cjs/widget/components/utils.js +0 -99
  550. package/lib/cjs/widget/components/utils.js.map +0 -1
  551. package/lib/cjs/widget/components/utils.scss +0 -18
  552. package/lib/cjs/widget/components/viewerUtils.d.ts +0 -30
  553. package/lib/cjs/widget/components/viewerUtils.js +0 -293
  554. package/lib/cjs/widget/components/viewerUtils.js.map +0 -1
  555. package/lib/cjs/widget/hooks/useFetchData.js +0 -43
  556. package/lib/cjs/widget/hooks/useFetchData.js.map +0 -1
  557. package/lib/cjs/widget/hooks/useFormulaValidation.d.ts +0 -6
  558. package/lib/cjs/widget/hooks/useFormulaValidation.js +0 -29
  559. package/lib/cjs/widget/hooks/useFormulaValidation.js.map +0 -1
  560. package/lib/cjs/widget/hooks/useValidator.js.map +0 -1
  561. package/lib/cjs/widget/hooks/useVisualization.js +0 -68
  562. package/lib/cjs/widget/hooks/useVisualization.js.map +0 -1
  563. package/lib/cjs/widget/utils.d.ts +0 -5
  564. package/lib/cjs/widget/utils.js +0 -12
  565. package/lib/cjs/widget/utils.js.map +0 -1
  566. package/lib/esm/widget/GroupingMappingWidget.d.ts +0 -10
  567. package/lib/esm/widget/GroupingMappingWidget.js +0 -24
  568. package/lib/esm/widget/GroupingMappingWidget.js.map +0 -1
  569. package/lib/esm/widget/components/ActionPanel.js +0 -18
  570. package/lib/esm/widget/components/ActionPanel.js.map +0 -1
  571. package/lib/esm/widget/components/BlockingOverlay.js +0 -13
  572. package/lib/esm/widget/components/BlockingOverlay.js.map +0 -1
  573. package/lib/esm/widget/components/CalculatedPropertyAction.js +0 -58
  574. package/lib/esm/widget/components/CalculatedPropertyAction.js.map +0 -1
  575. package/lib/esm/widget/components/CalculatedPropertyActionWithVisuals.js +0 -124
  576. package/lib/esm/widget/components/CalculatedPropertyActionWithVisuals.js.map +0 -1
  577. package/lib/esm/widget/components/CalculatedPropertyTable.js +0 -61
  578. package/lib/esm/widget/components/CalculatedPropertyTable.js.map +0 -1
  579. package/lib/esm/widget/components/ConfirmMappingsImport.js +0 -113
  580. package/lib/esm/widget/components/ConfirmMappingsImport.js.map +0 -1
  581. package/lib/esm/widget/components/CustomCalculationAction.d.ts +0 -13
  582. package/lib/esm/widget/components/CustomCalculationAction.js +0 -160
  583. package/lib/esm/widget/components/CustomCalculationAction.js.map +0 -1
  584. package/lib/esm/widget/components/CustomCalculationTable.js +0 -61
  585. package/lib/esm/widget/components/CustomCalculationTable.js.map +0 -1
  586. package/lib/esm/widget/components/DeleteModal.js +0 -38
  587. package/lib/esm/widget/components/DeleteModal.js.map +0 -1
  588. package/lib/esm/widget/components/ExtractionLogCustomFilter.js +0 -19
  589. package/lib/esm/widget/components/ExtractionLogCustomFilter.js.map +0 -1
  590. package/lib/esm/widget/components/ExtractionMessageModal.d.ts +0 -11
  591. package/lib/esm/widget/components/ExtractionMessageModal.js +0 -64
  592. package/lib/esm/widget/components/ExtractionMessageModal.js.map +0 -1
  593. package/lib/esm/widget/components/ExtractionStatusIcon.js.map +0 -1
  594. package/lib/esm/widget/components/GroupAction.js +0 -129
  595. package/lib/esm/widget/components/GroupAction.js.map +0 -1
  596. package/lib/esm/widget/components/GroupColorLegend.js.map +0 -1
  597. package/lib/esm/widget/components/GroupColorToggle.js +0 -46
  598. package/lib/esm/widget/components/GroupColorToggle.js.map +0 -1
  599. package/lib/esm/widget/components/GroupDetails.js +0 -27
  600. package/lib/esm/widget/components/GroupDetails.js.map +0 -1
  601. package/lib/esm/widget/components/GroupDetailsActionPanel.js.map +0 -1
  602. package/lib/esm/widget/components/GroupDetailsStep.js.map +0 -1
  603. package/lib/esm/widget/components/GroupInformationPanel.js.map +0 -1
  604. package/lib/esm/widget/components/GroupItem.d.ts +0 -12
  605. package/lib/esm/widget/components/GroupItem.js +0 -12
  606. package/lib/esm/widget/components/GroupItem.js.map +0 -1
  607. package/lib/esm/widget/components/GroupMenuActions.d.ts +0 -13
  608. package/lib/esm/widget/components/GroupMenuActions.js +0 -45
  609. package/lib/esm/widget/components/GroupMenuActions.js.map +0 -1
  610. package/lib/esm/widget/components/GroupPropertyAction.js +0 -261
  611. package/lib/esm/widget/components/GroupPropertyAction.js.map +0 -1
  612. package/lib/esm/widget/components/GroupPropertyTable.js +0 -58
  613. package/lib/esm/widget/components/GroupPropertyTable.js.map +0 -1
  614. package/lib/esm/widget/components/GroupPropertyUtils.js.map +0 -1
  615. package/lib/esm/widget/components/GroupingMapping.d.ts +0 -34
  616. package/lib/esm/widget/components/GroupingMapping.js +0 -57
  617. package/lib/esm/widget/components/GroupingMapping.js.map +0 -1
  618. package/lib/esm/widget/components/GroupingMappingContent.js +0 -28
  619. package/lib/esm/widget/components/GroupingMappingContent.js.map +0 -1
  620. package/lib/esm/widget/components/GroupingMappingContext.d.ts +0 -40
  621. package/lib/esm/widget/components/GroupingMappingContext.js +0 -86
  622. package/lib/esm/widget/components/GroupingMappingContext.js.map +0 -1
  623. package/lib/esm/widget/components/GroupingMappingHeader.js +0 -17
  624. package/lib/esm/widget/components/GroupingMappingHeader.js.map +0 -1
  625. package/lib/esm/widget/components/GroupingMappingRouter.d.ts +0 -8
  626. package/lib/esm/widget/components/GroupingMappingRouter.js +0 -100
  627. package/lib/esm/widget/components/GroupingMappingRouter.js.map +0 -1
  628. package/lib/esm/widget/components/Groups.d.ts +0 -16
  629. package/lib/esm/widget/components/Groups.js +0 -23
  630. package/lib/esm/widget/components/Groups.js.map +0 -1
  631. package/lib/esm/widget/components/GroupsAddButton.d.ts +0 -10
  632. package/lib/esm/widget/components/GroupsAddButton.js.map +0 -1
  633. package/lib/esm/widget/components/GroupsShowHideButtons.js +0 -22
  634. package/lib/esm/widget/components/GroupsShowHideButtons.js.map +0 -1
  635. package/lib/esm/widget/components/GroupsView.d.ts +0 -31
  636. package/lib/esm/widget/components/GroupsView.js +0 -30
  637. package/lib/esm/widget/components/GroupsView.js.map +0 -1
  638. package/lib/esm/widget/components/GroupsView.scss +0 -49
  639. package/lib/esm/widget/components/GroupsVisualization.js +0 -118
  640. package/lib/esm/widget/components/GroupsVisualization.js.map +0 -1
  641. package/lib/esm/widget/components/GroupsVisualization.scss +0 -12
  642. package/lib/esm/widget/components/GroupsVisualizationActions.js +0 -20
  643. package/lib/esm/widget/components/GroupsVisualizationActions.js.map +0 -1
  644. package/lib/esm/widget/components/HorizontalTile.d.ts +0 -15
  645. package/lib/esm/widget/components/HorizontalTile.js +0 -17
  646. package/lib/esm/widget/components/HorizontalTile.js.map +0 -1
  647. package/lib/esm/widget/components/HorizontalTile.scss +0 -57
  648. package/lib/esm/widget/components/MappingAction.js +0 -83
  649. package/lib/esm/widget/components/MappingAction.js.map +0 -1
  650. package/lib/esm/widget/components/MappingImportWizardModal.js +0 -99
  651. package/lib/esm/widget/components/MappingImportWizardModal.js.map +0 -1
  652. package/lib/esm/widget/components/MappingViewActionGroup.js.map +0 -1
  653. package/lib/esm/widget/components/Mappings.d.ts +0 -13
  654. package/lib/esm/widget/components/Mappings.js +0 -22
  655. package/lib/esm/widget/components/Mappings.js.map +0 -1
  656. package/lib/esm/widget/components/MappingsView.js +0 -56
  657. package/lib/esm/widget/components/MappingsView.js.map +0 -1
  658. package/lib/esm/widget/components/PropertyAction.js +0 -76
  659. package/lib/esm/widget/components/PropertyAction.js.map +0 -1
  660. package/lib/esm/widget/components/PropertyMenu.js +0 -37
  661. package/lib/esm/widget/components/PropertyMenu.js.map +0 -1
  662. package/lib/esm/widget/components/PropertyMenuWithVisualization.js.map +0 -1
  663. package/lib/esm/widget/components/PropertyNameCell.js.map +0 -1
  664. package/lib/esm/widget/components/PropertyTable.js +0 -27
  665. package/lib/esm/widget/components/PropertyTable.js.map +0 -1
  666. package/lib/esm/widget/components/PropertyTableToolbar.js.map +0 -1
  667. package/lib/esm/widget/components/QueryBuilder.js.map +0 -1
  668. package/lib/esm/widget/components/QueryBuilderActionPanel.js.map +0 -1
  669. package/lib/esm/widget/components/QueryBuilderCustomUI.d.ts +0 -13
  670. package/lib/esm/widget/components/QueryBuilderCustomUI.js +0 -21
  671. package/lib/esm/widget/components/QueryBuilderCustomUI.js.map +0 -1
  672. package/lib/esm/widget/components/QueryBuilderStep.js.map +0 -1
  673. package/lib/esm/widget/components/SaveModal.js.map +0 -1
  674. package/lib/esm/widget/components/SelectIModel.js +0 -81
  675. package/lib/esm/widget/components/SelectIModel.js.map +0 -1
  676. package/lib/esm/widget/components/SelectITwin.js +0 -94
  677. package/lib/esm/widget/components/SelectITwin.js.map +0 -1
  678. package/lib/esm/widget/components/SelectMappings.d.ts +0 -16
  679. package/lib/esm/widget/components/SelectMappings.js +0 -67
  680. package/lib/esm/widget/components/SelectMappings.js.map +0 -1
  681. package/lib/esm/widget/components/SharedCalculatedPropertyForms.js.map +0 -1
  682. package/lib/esm/widget/components/SortableHorizontalTile.d.ts +0 -8
  683. package/lib/esm/widget/components/SortableHorizontalTile.js +0 -31
  684. package/lib/esm/widget/components/SortableHorizontalTile.js.map +0 -1
  685. package/lib/esm/widget/components/StatusIcon.js.map +0 -1
  686. package/lib/esm/widget/components/ToggleGroupVisibility.js.map +0 -1
  687. package/lib/esm/widget/components/WidgetHeader.js.map +0 -1
  688. package/lib/esm/widget/components/context/ExtractionClientContext.js.map +0 -1
  689. package/lib/esm/widget/components/context/GroupHilitedElementsContext.d.ts +0 -22
  690. package/lib/esm/widget/components/context/GroupHilitedElementsContext.js +0 -24
  691. package/lib/esm/widget/components/context/GroupHilitedElementsContext.js.map +0 -1
  692. package/lib/esm/widget/components/context/GroupingApiConfigContext.js.map +0 -1
  693. package/lib/esm/widget/components/context/GroupingMappingCustomUIContext.js.map +0 -1
  694. package/lib/esm/widget/components/context/IModelsClientContext.js.map +0 -1
  695. package/lib/esm/widget/components/context/ITwinsClientContext.js.map +0 -1
  696. package/lib/esm/widget/components/context/MappingClientContext.js.map +0 -1
  697. package/lib/esm/widget/components/context/PropertiesContext.js.map +0 -1
  698. package/lib/esm/widget/components/context/PropertyGridWrapperContext.d.ts +0 -13
  699. package/lib/esm/widget/components/context/PropertyGridWrapperContext.js.map +0 -1
  700. package/lib/esm/widget/components/customUI/DefaultGroupingUI.js.map +0 -1
  701. package/lib/esm/widget/components/customUI/GroupQueryBuilderCustomUI.js +0 -84
  702. package/lib/esm/widget/components/customUI/GroupQueryBuilderCustomUI.js.map +0 -1
  703. package/lib/esm/widget/components/customUI/GroupingMappingCustomUI.js.map +0 -1
  704. package/lib/esm/widget/components/customUI/ManualGroupingCustomUI.js +0 -25
  705. package/lib/esm/widget/components/customUI/ManualGroupingCustomUI.js.map +0 -1
  706. package/lib/esm/widget/components/customUI/SearchGroupingCustomUI.js +0 -91
  707. package/lib/esm/widget/components/customUI/SearchGroupingCustomUI.js.map +0 -1
  708. package/lib/esm/widget/components/groupsHelpers.d.ts +0 -10
  709. package/lib/esm/widget/components/groupsHelpers.js +0 -75
  710. package/lib/esm/widget/components/groupsHelpers.js.map +0 -1
  711. package/lib/esm/widget/components/hooks/useGroupsOperations.d.ts +0 -20
  712. package/lib/esm/widget/components/hooks/useGroupsOperations.js +0 -63
  713. package/lib/esm/widget/components/hooks/useGroupsOperations.js.map +0 -1
  714. package/lib/esm/widget/components/hooks/useMappingsOperations.d.ts +0 -35
  715. package/lib/esm/widget/components/hooks/useMappingsOperations.js +0 -116
  716. package/lib/esm/widget/components/hooks/useMappingsOperations.js.map +0 -1
  717. package/lib/esm/widget/components/utils.d.ts +0 -16
  718. package/lib/esm/widget/components/utils.js +0 -85
  719. package/lib/esm/widget/components/utils.js.map +0 -1
  720. package/lib/esm/widget/components/utils.scss +0 -18
  721. package/lib/esm/widget/components/viewerUtils.d.ts +0 -30
  722. package/lib/esm/widget/components/viewerUtils.js +0 -268
  723. package/lib/esm/widget/components/viewerUtils.js.map +0 -1
  724. package/lib/esm/widget/hooks/useFetchData.js +0 -37
  725. package/lib/esm/widget/hooks/useFetchData.js.map +0 -1
  726. package/lib/esm/widget/hooks/useFormulaValidation.d.ts +0 -6
  727. package/lib/esm/widget/hooks/useFormulaValidation.js +0 -25
  728. package/lib/esm/widget/hooks/useFormulaValidation.js.map +0 -1
  729. package/lib/esm/widget/hooks/useValidator.js.map +0 -1
  730. package/lib/esm/widget/hooks/useVisualization.js +0 -64
  731. package/lib/esm/widget/hooks/useVisualization.js.map +0 -1
  732. package/lib/esm/widget/utils.d.ts +0 -5
  733. package/lib/esm/widget/utils.js +0 -8
  734. package/lib/esm/widget/utils.js.map +0 -1
  735. /package/lib/cjs/{widget/components → WidgetShell}/GroupingMapping.scss +0 -0
  736. /package/lib/cjs/{widget/components → WidgetShell}/GroupingMappingContent.d.ts +0 -0
  737. /package/lib/cjs/{widget/components → WidgetShell}/GroupingMappingHeader.d.ts +0 -0
  738. /package/lib/cjs/{widget/components → WidgetShell/WidgetHeader}/WidgetHeader.d.ts +0 -0
  739. /package/lib/cjs/{widget/components → WidgetShell/WidgetHeader}/WidgetHeader.js +0 -0
  740. /package/lib/cjs/{widget/components → WidgetShell/WidgetHeader}/WidgetHeader.scss +0 -0
  741. /package/lib/cjs/{widget/components → components/Groups/Editing}/GroupAction.d.ts +0 -0
  742. /package/lib/cjs/{widget/components → components/Groups/Editing}/GroupAction.scss +0 -0
  743. /package/lib/cjs/{widget/components → components/Groups/Editing}/GroupDetails.d.ts +0 -0
  744. /package/lib/cjs/{widget/components → components/Groups/Editing}/GroupDetailsActionPanel.d.ts +0 -0
  745. /package/lib/cjs/{widget/components → components/Groups/Editing}/GroupDetailsActionPanel.js +0 -0
  746. /package/lib/cjs/{widget/components → components/Groups/Editing}/GroupDetailsStep.d.ts +0 -0
  747. /package/lib/cjs/{widget/components → components/Groups/Editing}/GroupDetailsStep.js +0 -0
  748. /package/lib/cjs/{widget/components → components/Groups/Editing}/GroupDetailsStep.scss +0 -0
  749. /package/lib/cjs/{widget/components → components/Groups}/GroupColorLegend.d.ts +0 -0
  750. /package/lib/cjs/{widget/components → components/Groups}/GroupColorLegend.js +0 -0
  751. /package/lib/cjs/{widget/components → components/Groups}/GroupColorLegend.scss +0 -0
  752. /package/lib/cjs/{widget/components → components/Groups}/GroupMenuActions.scss +0 -0
  753. /package/lib/cjs/{widget/components → components/Groups}/GroupsAddButton.js +0 -0
  754. /package/lib/cjs/{widget/components → components/Groups}/GroupsAddButton.scss +0 -0
  755. /package/lib/cjs/{widget/components → components/Groups}/GroupsShowHideButtons.d.ts +0 -0
  756. /package/lib/cjs/{widget/components → components/Groups}/GroupsVisualization.d.ts +0 -0
  757. /package/lib/cjs/{widget/components → components/Groups}/GroupsVisualizationActions.d.ts +0 -0
  758. /package/lib/cjs/{widget/components → components/Groups}/GroupsVisualizationActions.scss +0 -0
  759. /package/lib/cjs/{widget/components → components/Groups/QueryBuilder}/QueryBuilder.d.ts +0 -0
  760. /package/lib/cjs/{widget/components → components/Groups/QueryBuilder}/QueryBuilder.js +0 -0
  761. /package/lib/cjs/{widget/components → components/Groups/QueryBuilder}/QueryBuilderActionPanel.d.ts +0 -0
  762. /package/lib/cjs/{widget/components → components/Groups/QueryBuilder}/QueryBuilderActionPanel.js +0 -0
  763. /package/lib/cjs/{widget/components → components/Groups/QueryBuilder}/QueryBuilderStep.d.ts +0 -0
  764. /package/lib/cjs/{widget/components → components/Groups/QueryBuilder}/QueryBuilderStep.js +0 -0
  765. /package/lib/cjs/{widget/components → components/Groups/QueryBuilder}/QueryBuilderStep.scss +0 -0
  766. /package/lib/cjs/{widget/components → components/Groups}/ToggleGroupVisibility.d.ts +0 -0
  767. /package/lib/cjs/{widget/components → components/Groups}/ToggleGroupVisibility.js +0 -0
  768. /package/lib/cjs/{widget/components → components/Groups}/ToggleGroupVisibility.scss +0 -0
  769. /package/lib/cjs/{widget → components/Groups}/hooks/useVisualization.d.ts +0 -0
  770. /package/lib/cjs/{widget/components → components/Mappings}/BlockingOverlay.d.ts +0 -0
  771. /package/lib/cjs/{widget/components → components/Mappings}/BlockingOverlay.scss +0 -0
  772. /package/lib/cjs/{widget/components → components/Mappings}/ConfirmMappingsImport.d.ts +0 -0
  773. /package/lib/cjs/{widget/components → components/Mappings}/ConfirmMappingsImport.scss +0 -0
  774. /package/lib/cjs/{widget/components → components/Mappings/Editing}/MappingAction.d.ts +0 -0
  775. /package/lib/cjs/{widget/components → components/Mappings/Editing}/MappingAction.scss +0 -0
  776. /package/lib/cjs/{widget/components → components/Mappings/Extraction}/ExtractionLogCustomFilter.d.ts +0 -0
  777. /package/lib/cjs/{widget/components → components/Mappings/Extraction}/ExtractionMessageModal.scss +0 -0
  778. /package/lib/cjs/{widget/components → components/Mappings/Extraction}/ExtractionStatusIcon.d.ts +0 -0
  779. /package/lib/cjs/{widget/components → components/Mappings/Extraction}/ExtractionStatusIcon.js +0 -0
  780. /package/lib/cjs/{widget/components → components/Mappings/Import}/MappingImportWizardModal.d.ts +0 -0
  781. /package/lib/cjs/{widget/components → components/Mappings/Import}/MappingImportWizardModal.scss +0 -0
  782. /package/lib/cjs/{widget/components → components/Mappings/Import}/SelectIModel.d.ts +0 -0
  783. /package/lib/cjs/{widget/components → components/Mappings/Import}/SelectIModel.scss +0 -0
  784. /package/lib/cjs/{widget/components → components/Mappings/Import}/SelectITwin.d.ts +0 -0
  785. /package/lib/cjs/{widget/components → components/Mappings/Import}/SelectITwin.scss +0 -0
  786. /package/lib/cjs/{widget/components → components/Mappings/Import}/SelectMapping.scss +0 -0
  787. /package/lib/cjs/{widget/components → components/Mappings}/MappingViewActionGroup.d.ts +0 -0
  788. /package/lib/cjs/{widget/components → components/Mappings}/MappingViewActionGroup.js +0 -0
  789. /package/lib/cjs/{widget/components → components/Mappings}/MappingsView.d.ts +0 -0
  790. /package/lib/cjs/{widget/components → components/Mappings}/MappingsView.scss +0 -0
  791. /package/lib/cjs/{widget/components → components/Properties/CalculatedProperties}/CalculatedPropertyAction.d.ts +0 -0
  792. /package/lib/cjs/{widget/components → components/Properties/CalculatedProperties}/CalculatedPropertyAction.scss +0 -0
  793. /package/lib/cjs/{widget/components → components/Properties/CalculatedProperties}/CalculatedPropertyActionWithVisuals.d.ts +0 -0
  794. /package/lib/cjs/{widget/components → components/Properties/CalculatedProperties}/CalculatedPropertyActionWithVisuals.scss +0 -0
  795. /package/lib/cjs/{widget/components → components/Properties/CalculatedProperties}/CalculatedPropertyTable.d.ts +0 -0
  796. /package/lib/cjs/{widget/components → components/Properties/CalculatedProperties}/CalculatedPropertyTable.scss +0 -0
  797. /package/lib/cjs/{widget/components → components/Properties/CalculatedProperties}/SharedCalculatedPropertyForms.d.ts +0 -0
  798. /package/lib/cjs/{widget/components → components/Properties/CalculatedProperties}/SharedCalculatedPropertyForms.js +0 -0
  799. /package/lib/cjs/{widget/components → components/Properties/CustomCalculations}/CustomCalculationAction.scss +0 -0
  800. /package/lib/cjs/{widget/components → components/Properties/CustomCalculations}/CustomCalculationTable.d.ts +0 -0
  801. /package/lib/cjs/{widget/components → components/Properties}/GroupColorToggle.d.ts +0 -0
  802. /package/lib/cjs/{widget/components → components/Properties}/GroupInformationPanel.d.ts +0 -0
  803. /package/lib/cjs/{widget/components → components/Properties}/GroupInformationPanel.js +0 -0
  804. /package/lib/cjs/{widget/components → components/Properties}/GroupInformationPanel.scss +0 -0
  805. /package/lib/cjs/{widget/components → components/Properties/GroupProperties}/GroupPropertyAction.d.ts +0 -0
  806. /package/lib/cjs/{widget/components → components/Properties/GroupProperties}/GroupPropertyAction.scss +0 -0
  807. /package/lib/cjs/{widget/components → components/Properties/GroupProperties}/GroupPropertyTable.d.ts +0 -0
  808. /package/lib/cjs/{widget/components → components/Properties/GroupProperties}/GroupPropertyUtils.d.ts +0 -0
  809. /package/lib/cjs/{widget/components → components/Properties/GroupProperties}/GroupPropertyUtils.js +0 -0
  810. /package/lib/cjs/{widget/components → components/Properties/GroupProperties}/SaveModal.d.ts +0 -0
  811. /package/lib/cjs/{widget/components → components/Properties/GroupProperties}/SaveModal.js +0 -0
  812. /package/lib/cjs/{widget/components → components/Properties}/PropertyAction.d.ts +0 -0
  813. /package/lib/cjs/{widget/components → components/Properties}/PropertyAction.scss +0 -0
  814. /package/lib/cjs/{widget/components → components/Properties}/PropertyMenu.d.ts +0 -0
  815. /package/lib/cjs/{widget/components → components/Properties}/PropertyMenu.scss +0 -0
  816. /package/lib/cjs/{widget/components → components/Properties}/PropertyMenuWithVisualization.d.ts +0 -0
  817. /package/lib/cjs/{widget/components → components/Properties}/PropertyMenuWithVisualization.js +0 -0
  818. /package/lib/cjs/{widget/components → components/Properties}/PropertyMenuWithVisualization.scss +0 -0
  819. /package/lib/cjs/{widget/components → components/Properties}/PropertyNameCell.d.ts +0 -0
  820. /package/lib/cjs/{widget/components → components/Properties}/PropertyNameCell.js +0 -0
  821. /package/lib/cjs/{widget/components → components/Properties}/PropertyTable.d.ts +0 -0
  822. /package/lib/cjs/{widget/components → components/Properties}/PropertyTable.scss +0 -0
  823. /package/lib/cjs/{widget/components → components/Properties}/PropertyTableToolbar.d.ts +0 -0
  824. /package/lib/cjs/{widget/components → components/Properties}/PropertyTableToolbar.js +0 -0
  825. /package/lib/cjs/{widget/components → components/Properties}/PropertyTableToolbar.scss +0 -0
  826. /package/lib/cjs/{widget → components/Properties}/hooks/useFetchData.d.ts +0 -0
  827. /package/lib/cjs/{widget → components/Properties}/hooks/useValidator.d.ts +0 -0
  828. /package/lib/cjs/{widget → components/Properties}/hooks/useValidator.js +0 -0
  829. /package/lib/cjs/{widget/components → components/SharedComponents}/ActionPanel.d.ts +0 -0
  830. /package/lib/cjs/{widget/components → components/SharedComponents}/ActionPanel.scss +0 -0
  831. /package/lib/cjs/{widget/components → components/SharedComponents}/DeleteModal.d.ts +0 -0
  832. /package/lib/cjs/{widget/components → components/SharedComponents}/DeleteModal.scss +0 -0
  833. /package/lib/cjs/{widget/components → components/SharedComponents}/StatusIcon.d.ts +0 -0
  834. /package/lib/cjs/{widget/components → components/SharedComponents}/StatusIcon.js +0 -0
  835. /package/lib/cjs/{widget/components → components/SharedComponents}/StatusIcon.scss +0 -0
  836. /package/lib/cjs/{widget/components → components}/context/ExtractionClientContext.d.ts +0 -0
  837. /package/lib/cjs/{widget/components → components}/context/ExtractionClientContext.js +0 -0
  838. /package/lib/cjs/{widget/components → components}/context/GroupingApiConfigContext.d.ts +0 -0
  839. /package/lib/cjs/{widget/components → components}/context/GroupingApiConfigContext.js +0 -0
  840. /package/lib/cjs/{widget/components → components}/context/GroupingMappingCustomUIContext.d.ts +0 -0
  841. /package/lib/cjs/{widget/components → components}/context/GroupingMappingCustomUIContext.js +0 -0
  842. /package/lib/cjs/{widget/components → components}/context/IModelsClientContext.d.ts +0 -0
  843. /package/lib/cjs/{widget/components → components}/context/IModelsClientContext.js +0 -0
  844. /package/lib/cjs/{widget/components → components}/context/ITwinsClientContext.d.ts +0 -0
  845. /package/lib/cjs/{widget/components → components}/context/ITwinsClientContext.js +0 -0
  846. /package/lib/cjs/{widget/components → components}/context/MappingClientContext.d.ts +0 -0
  847. /package/lib/cjs/{widget/components → components}/context/MappingClientContext.js +0 -0
  848. /package/lib/cjs/{widget/components → components}/context/PropertiesContext.d.ts +0 -0
  849. /package/lib/cjs/{widget/components → components}/context/PropertiesContext.js +0 -0
  850. /package/lib/cjs/{widget/components → components}/context/PropertyGridWrapperContext.js +0 -0
  851. /package/lib/cjs/{widget/components → components}/customUI/DefaultGroupingUI.d.ts +0 -0
  852. /package/lib/cjs/{widget/components → components}/customUI/DefaultGroupingUI.js +0 -0
  853. /package/lib/cjs/{widget/components → components}/customUI/GroupQueryBuilderCustomUI.d.ts +0 -0
  854. /package/lib/cjs/{widget/components → components}/customUI/GroupQueryBuilderCustomUI.scss +0 -0
  855. /package/lib/cjs/{widget/components → components}/customUI/GroupingMappingCustomUI.d.ts +0 -0
  856. /package/lib/cjs/{widget/components → components}/customUI/GroupingMappingCustomUI.js +0 -0
  857. /package/lib/cjs/{widget/components → components}/customUI/ManualGroupingCustomUI.d.ts +0 -0
  858. /package/lib/cjs/{widget/components → components}/customUI/ManualGroupingCustomUI.scss +0 -0
  859. /package/lib/cjs/{widget/components → components}/customUI/SearchGroupingCustomUI.d.ts +0 -0
  860. /package/lib/cjs/{widget/components → components}/customUI/SearchGroupingCustomUI.scss +0 -0
  861. /package/lib/esm/{widget/components → WidgetShell}/GroupingMapping.scss +0 -0
  862. /package/lib/esm/{widget/components → WidgetShell}/GroupingMappingContent.d.ts +0 -0
  863. /package/lib/esm/{widget/components → WidgetShell}/GroupingMappingHeader.d.ts +0 -0
  864. /package/lib/esm/{widget/components → WidgetShell/WidgetHeader}/WidgetHeader.d.ts +0 -0
  865. /package/lib/esm/{widget/components → WidgetShell/WidgetHeader}/WidgetHeader.js +0 -0
  866. /package/lib/esm/{widget/components → WidgetShell/WidgetHeader}/WidgetHeader.scss +0 -0
  867. /package/lib/esm/{widget/components → components/Groups/Editing}/GroupAction.d.ts +0 -0
  868. /package/lib/esm/{widget/components → components/Groups/Editing}/GroupAction.scss +0 -0
  869. /package/lib/esm/{widget/components → components/Groups/Editing}/GroupDetails.d.ts +0 -0
  870. /package/lib/esm/{widget/components → components/Groups/Editing}/GroupDetailsActionPanel.d.ts +0 -0
  871. /package/lib/esm/{widget/components → components/Groups/Editing}/GroupDetailsActionPanel.js +0 -0
  872. /package/lib/esm/{widget/components → components/Groups/Editing}/GroupDetailsStep.d.ts +0 -0
  873. /package/lib/esm/{widget/components → components/Groups/Editing}/GroupDetailsStep.js +0 -0
  874. /package/lib/esm/{widget/components → components/Groups/Editing}/GroupDetailsStep.scss +0 -0
  875. /package/lib/esm/{widget/components → components/Groups}/GroupColorLegend.d.ts +0 -0
  876. /package/lib/esm/{widget/components → components/Groups}/GroupColorLegend.js +0 -0
  877. /package/lib/esm/{widget/components → components/Groups}/GroupColorLegend.scss +0 -0
  878. /package/lib/esm/{widget/components → components/Groups}/GroupMenuActions.scss +0 -0
  879. /package/lib/esm/{widget/components → components/Groups}/GroupsAddButton.js +0 -0
  880. /package/lib/esm/{widget/components → components/Groups}/GroupsAddButton.scss +0 -0
  881. /package/lib/esm/{widget/components → components/Groups}/GroupsShowHideButtons.d.ts +0 -0
  882. /package/lib/esm/{widget/components → components/Groups}/GroupsVisualization.d.ts +0 -0
  883. /package/lib/esm/{widget/components → components/Groups}/GroupsVisualizationActions.d.ts +0 -0
  884. /package/lib/esm/{widget/components → components/Groups}/GroupsVisualizationActions.scss +0 -0
  885. /package/lib/esm/{widget/components → components/Groups/QueryBuilder}/QueryBuilder.d.ts +0 -0
  886. /package/lib/esm/{widget/components → components/Groups/QueryBuilder}/QueryBuilder.js +0 -0
  887. /package/lib/esm/{widget/components → components/Groups/QueryBuilder}/QueryBuilderActionPanel.d.ts +0 -0
  888. /package/lib/esm/{widget/components → components/Groups/QueryBuilder}/QueryBuilderActionPanel.js +0 -0
  889. /package/lib/esm/{widget/components → components/Groups/QueryBuilder}/QueryBuilderStep.d.ts +0 -0
  890. /package/lib/esm/{widget/components → components/Groups/QueryBuilder}/QueryBuilderStep.js +0 -0
  891. /package/lib/esm/{widget/components → components/Groups/QueryBuilder}/QueryBuilderStep.scss +0 -0
  892. /package/lib/esm/{widget/components → components/Groups}/ToggleGroupVisibility.d.ts +0 -0
  893. /package/lib/esm/{widget/components → components/Groups}/ToggleGroupVisibility.js +0 -0
  894. /package/lib/esm/{widget/components → components/Groups}/ToggleGroupVisibility.scss +0 -0
  895. /package/lib/esm/{widget → components/Groups}/hooks/useVisualization.d.ts +0 -0
  896. /package/lib/esm/{widget/components → components/Mappings}/BlockingOverlay.d.ts +0 -0
  897. /package/lib/esm/{widget/components → components/Mappings}/BlockingOverlay.scss +0 -0
  898. /package/lib/esm/{widget/components → components/Mappings}/ConfirmMappingsImport.d.ts +0 -0
  899. /package/lib/esm/{widget/components → components/Mappings}/ConfirmMappingsImport.scss +0 -0
  900. /package/lib/esm/{widget/components → components/Mappings/Editing}/MappingAction.d.ts +0 -0
  901. /package/lib/esm/{widget/components → components/Mappings/Editing}/MappingAction.scss +0 -0
  902. /package/lib/esm/{widget/components → components/Mappings/Extraction}/ExtractionLogCustomFilter.d.ts +0 -0
  903. /package/lib/esm/{widget/components → components/Mappings/Extraction}/ExtractionMessageModal.scss +0 -0
  904. /package/lib/esm/{widget/components → components/Mappings/Extraction}/ExtractionStatusIcon.d.ts +0 -0
  905. /package/lib/esm/{widget/components → components/Mappings/Extraction}/ExtractionStatusIcon.js +0 -0
  906. /package/lib/esm/{widget/components → components/Mappings/Import}/MappingImportWizardModal.d.ts +0 -0
  907. /package/lib/esm/{widget/components → components/Mappings/Import}/MappingImportWizardModal.scss +0 -0
  908. /package/lib/esm/{widget/components → components/Mappings/Import}/SelectIModel.d.ts +0 -0
  909. /package/lib/esm/{widget/components → components/Mappings/Import}/SelectIModel.scss +0 -0
  910. /package/lib/esm/{widget/components → components/Mappings/Import}/SelectITwin.d.ts +0 -0
  911. /package/lib/esm/{widget/components → components/Mappings/Import}/SelectITwin.scss +0 -0
  912. /package/lib/esm/{widget/components → components/Mappings/Import}/SelectMapping.scss +0 -0
  913. /package/lib/esm/{widget/components → components/Mappings}/MappingViewActionGroup.d.ts +0 -0
  914. /package/lib/esm/{widget/components → components/Mappings}/MappingViewActionGroup.js +0 -0
  915. /package/lib/esm/{widget/components → components/Mappings}/MappingsView.d.ts +0 -0
  916. /package/lib/esm/{widget/components → components/Mappings}/MappingsView.scss +0 -0
  917. /package/lib/esm/{widget/components → components/Properties/CalculatedProperties}/CalculatedPropertyAction.d.ts +0 -0
  918. /package/lib/esm/{widget/components → components/Properties/CalculatedProperties}/CalculatedPropertyAction.scss +0 -0
  919. /package/lib/esm/{widget/components → components/Properties/CalculatedProperties}/CalculatedPropertyActionWithVisuals.d.ts +0 -0
  920. /package/lib/esm/{widget/components → components/Properties/CalculatedProperties}/CalculatedPropertyActionWithVisuals.scss +0 -0
  921. /package/lib/esm/{widget/components → components/Properties/CalculatedProperties}/CalculatedPropertyTable.d.ts +0 -0
  922. /package/lib/esm/{widget/components → components/Properties/CalculatedProperties}/CalculatedPropertyTable.scss +0 -0
  923. /package/lib/esm/{widget/components → components/Properties/CalculatedProperties}/SharedCalculatedPropertyForms.d.ts +0 -0
  924. /package/lib/esm/{widget/components → components/Properties/CalculatedProperties}/SharedCalculatedPropertyForms.js +0 -0
  925. /package/lib/esm/{widget/components → components/Properties/CustomCalculations}/CustomCalculationAction.scss +0 -0
  926. /package/lib/esm/{widget/components → components/Properties/CustomCalculations}/CustomCalculationTable.d.ts +0 -0
  927. /package/lib/esm/{widget/components → components/Properties}/GroupColorToggle.d.ts +0 -0
  928. /package/lib/esm/{widget/components → components/Properties}/GroupInformationPanel.d.ts +0 -0
  929. /package/lib/esm/{widget/components → components/Properties}/GroupInformationPanel.js +0 -0
  930. /package/lib/esm/{widget/components → components/Properties}/GroupInformationPanel.scss +0 -0
  931. /package/lib/esm/{widget/components → components/Properties/GroupProperties}/GroupPropertyAction.d.ts +0 -0
  932. /package/lib/esm/{widget/components → components/Properties/GroupProperties}/GroupPropertyAction.scss +0 -0
  933. /package/lib/esm/{widget/components → components/Properties/GroupProperties}/GroupPropertyTable.d.ts +0 -0
  934. /package/lib/esm/{widget/components → components/Properties/GroupProperties}/GroupPropertyUtils.d.ts +0 -0
  935. /package/lib/esm/{widget/components → components/Properties/GroupProperties}/GroupPropertyUtils.js +0 -0
  936. /package/lib/esm/{widget/components → components/Properties/GroupProperties}/SaveModal.d.ts +0 -0
  937. /package/lib/esm/{widget/components → components/Properties/GroupProperties}/SaveModal.js +0 -0
  938. /package/lib/esm/{widget/components → components/Properties}/PropertyAction.d.ts +0 -0
  939. /package/lib/esm/{widget/components → components/Properties}/PropertyAction.scss +0 -0
  940. /package/lib/esm/{widget/components → components/Properties}/PropertyMenu.d.ts +0 -0
  941. /package/lib/esm/{widget/components → components/Properties}/PropertyMenu.scss +0 -0
  942. /package/lib/esm/{widget/components → components/Properties}/PropertyMenuWithVisualization.d.ts +0 -0
  943. /package/lib/esm/{widget/components → components/Properties}/PropertyMenuWithVisualization.js +0 -0
  944. /package/lib/esm/{widget/components → components/Properties}/PropertyMenuWithVisualization.scss +0 -0
  945. /package/lib/esm/{widget/components → components/Properties}/PropertyNameCell.d.ts +0 -0
  946. /package/lib/esm/{widget/components → components/Properties}/PropertyNameCell.js +0 -0
  947. /package/lib/esm/{widget/components → components/Properties}/PropertyTable.d.ts +0 -0
  948. /package/lib/esm/{widget/components → components/Properties}/PropertyTable.scss +0 -0
  949. /package/lib/esm/{widget/components → components/Properties}/PropertyTableToolbar.d.ts +0 -0
  950. /package/lib/esm/{widget/components → components/Properties}/PropertyTableToolbar.js +0 -0
  951. /package/lib/esm/{widget/components → components/Properties}/PropertyTableToolbar.scss +0 -0
  952. /package/lib/esm/{widget → components/Properties}/hooks/useFetchData.d.ts +0 -0
  953. /package/lib/esm/{widget → components/Properties}/hooks/useValidator.d.ts +0 -0
  954. /package/lib/esm/{widget → components/Properties}/hooks/useValidator.js +0 -0
  955. /package/lib/esm/{widget/components → components/SharedComponents}/ActionPanel.d.ts +0 -0
  956. /package/lib/esm/{widget/components → components/SharedComponents}/ActionPanel.scss +0 -0
  957. /package/lib/esm/{widget/components → components/SharedComponents}/DeleteModal.d.ts +0 -0
  958. /package/lib/esm/{widget/components → components/SharedComponents}/DeleteModal.scss +0 -0
  959. /package/lib/esm/{widget/components → components/SharedComponents}/StatusIcon.d.ts +0 -0
  960. /package/lib/esm/{widget/components → components/SharedComponents}/StatusIcon.js +0 -0
  961. /package/lib/esm/{widget/components → components/SharedComponents}/StatusIcon.scss +0 -0
  962. /package/lib/esm/{widget/components → components}/context/ExtractionClientContext.d.ts +0 -0
  963. /package/lib/esm/{widget/components → components}/context/ExtractionClientContext.js +0 -0
  964. /package/lib/esm/{widget/components → components}/context/GroupingApiConfigContext.d.ts +0 -0
  965. /package/lib/esm/{widget/components → components}/context/GroupingApiConfigContext.js +0 -0
  966. /package/lib/esm/{widget/components → components}/context/GroupingMappingCustomUIContext.d.ts +0 -0
  967. /package/lib/esm/{widget/components → components}/context/GroupingMappingCustomUIContext.js +0 -0
  968. /package/lib/esm/{widget/components → components}/context/IModelsClientContext.d.ts +0 -0
  969. /package/lib/esm/{widget/components → components}/context/IModelsClientContext.js +0 -0
  970. /package/lib/esm/{widget/components → components}/context/ITwinsClientContext.d.ts +0 -0
  971. /package/lib/esm/{widget/components → components}/context/ITwinsClientContext.js +0 -0
  972. /package/lib/esm/{widget/components → components}/context/MappingClientContext.d.ts +0 -0
  973. /package/lib/esm/{widget/components → components}/context/MappingClientContext.js +0 -0
  974. /package/lib/esm/{widget/components → components}/context/PropertiesContext.d.ts +0 -0
  975. /package/lib/esm/{widget/components → components}/context/PropertiesContext.js +0 -0
  976. /package/lib/esm/{widget/components → components}/context/PropertyGridWrapperContext.js +0 -0
  977. /package/lib/esm/{widget/components → components}/customUI/DefaultGroupingUI.d.ts +0 -0
  978. /package/lib/esm/{widget/components → components}/customUI/DefaultGroupingUI.js +0 -0
  979. /package/lib/esm/{widget/components → components}/customUI/GroupQueryBuilderCustomUI.d.ts +0 -0
  980. /package/lib/esm/{widget/components → components}/customUI/GroupQueryBuilderCustomUI.scss +0 -0
  981. /package/lib/esm/{widget/components → components}/customUI/GroupingMappingCustomUI.d.ts +0 -0
  982. /package/lib/esm/{widget/components → components}/customUI/GroupingMappingCustomUI.js +0 -0
  983. /package/lib/esm/{widget/components → components}/customUI/ManualGroupingCustomUI.d.ts +0 -0
  984. /package/lib/esm/{widget/components → components}/customUI/ManualGroupingCustomUI.scss +0 -0
  985. /package/lib/esm/{widget/components → components}/customUI/SearchGroupingCustomUI.d.ts +0 -0
  986. /package/lib/esm/{widget/components → components}/customUI/SearchGroupingCustomUI.scss +0 -0
package/README.md CHANGED
@@ -38,7 +38,7 @@ This package provides an interface to define your own custom UI or callback func
38
38
 
39
39
  You can use your own UI component to define group creation method.
40
40
 
41
- An example of grouping custom UI, [ManualGroupingCustomUI](./src/widget/components/customUI/ManualGroupingCustomUI.tsx) helps user to manually define ECSQL query for groups.
41
+ An example of grouping custom UI, [ManualGroupingCustomUI](./src/components/customUI/ManualGroupingCustomUI.tsx) helps user to manually define ECSQL query for groups.
42
42
 
43
43
  In `GroupingCustomUIProps`:
44
44
 
@@ -0,0 +1,34 @@
1
+ /// <reference types="react" />
2
+ import type { CalculatedProperty, CustomCalculation, Group, GroupProperty, Mapping } from "@itwin/insights-client";
3
+ import type { GroupingMappingContextProps } from "../components/GroupingMappingContext";
4
+ import "./GroupingMapping.scss";
5
+ import type { ContextCustomUI } from "../components/customUI/GroupingMappingCustomUI";
6
+ export declare type GroupingMappingProps = Omit<GroupingMappingContextProps, "iModelId">;
7
+ export declare enum RouteStep {
8
+ Mappings = 0,
9
+ MappingsAction = 1,
10
+ Groups = 2,
11
+ GroupAction = 3,
12
+ GroupContextCustomUI = 4,
13
+ Properties = 5,
14
+ PropertyAction = 6,
15
+ CalculatedPropertyAction = 7,
16
+ CustomCalculationPropertyAction = 8
17
+ }
18
+ export interface Route {
19
+ step: RouteStep;
20
+ title: string;
21
+ groupingRouteFields: GroupingRouteFields;
22
+ }
23
+ export interface GroupingRouteFields {
24
+ mapping?: Mapping;
25
+ group?: Group;
26
+ property?: GroupProperty;
27
+ calculatedProperty?: CalculatedProperty;
28
+ customCalculation?: CustomCalculation;
29
+ groupContextCustomUI?: Exclude<ContextCustomUI["uiComponent"], undefined>;
30
+ queryGenerationType?: string;
31
+ }
32
+ declare const GroupingMapping: (props: GroupingMappingProps) => JSX.Element;
33
+ export default GroupingMapping;
34
+ //# sourceMappingURL=GroupingMapping.d.ts.map
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.RouteStep = void 0;
23
+ const react_1 = __importStar(require("react"));
24
+ const GroupingMappingContext_1 = require("../components/GroupingMappingContext");
25
+ require("./GroupingMapping.scss");
26
+ const appui_react_1 = require("@itwin/appui-react");
27
+ const GroupingMappingCustomUI_1 = require("../components/customUI/GroupingMappingCustomUI");
28
+ const itwinui_icons_react_1 = require("@itwin/itwinui-icons-react");
29
+ const GroupingMappingContent_1 = require("./GroupingMappingContent");
30
+ const GroupingMappingHeader_1 = require("./GroupingMappingHeader");
31
+ const DefaultGroupingUI_1 = require("../components/customUI/DefaultGroupingUI");
32
+ var RouteStep;
33
+ (function (RouteStep) {
34
+ RouteStep[RouteStep["Mappings"] = 0] = "Mappings";
35
+ RouteStep[RouteStep["MappingsAction"] = 1] = "MappingsAction";
36
+ RouteStep[RouteStep["Groups"] = 2] = "Groups";
37
+ RouteStep[RouteStep["GroupAction"] = 3] = "GroupAction";
38
+ RouteStep[RouteStep["GroupContextCustomUI"] = 4] = "GroupContextCustomUI";
39
+ RouteStep[RouteStep["Properties"] = 5] = "Properties";
40
+ RouteStep[RouteStep["PropertyAction"] = 6] = "PropertyAction";
41
+ RouteStep[RouteStep["CalculatedPropertyAction"] = 7] = "CalculatedPropertyAction";
42
+ RouteStep[RouteStep["CustomCalculationPropertyAction"] = 8] = "CustomCalculationPropertyAction";
43
+ })(RouteStep = exports.RouteStep || (exports.RouteStep = {}));
44
+ const GroupingMapping = (props) => {
45
+ const [routingHistory, setRoutingHistory] = (0, react_1.useState)([
46
+ { step: RouteStep.Mappings, title: "Mapping", groupingRouteFields: {} },
47
+ ]);
48
+ const currentRoute = routingHistory[routingHistory.length - 1];
49
+ const iModelId = (0, appui_react_1.useActiveIModelConnection)()?.iModelId ?? "";
50
+ const navigateTo = (0, react_1.useCallback)((toRoute) => {
51
+ setRoutingHistory((r) => [...r, toRoute(r[r.length - 1])]);
52
+ }, []);
53
+ const goBack = (0, react_1.useCallback)(() => {
54
+ const updatedRouting = [...routingHistory];
55
+ updatedRouting.pop();
56
+ setRoutingHistory(updatedRouting);
57
+ }, [routingHistory]);
58
+ const injectedCustomUI = (0, react_1.useMemo)(() => [
59
+ {
60
+ name: "Properties",
61
+ displayLabel: "Properties",
62
+ type: GroupingMappingCustomUI_1.GroupingMappingCustomUIType.Context,
63
+ icon: react_1.default.createElement(itwinui_icons_react_1.SvgList, null),
64
+ onClick: (group) => navigateTo((prev) => ({
65
+ step: RouteStep.Properties,
66
+ title: group.groupName,
67
+ groupingRouteFields: { ...prev?.groupingRouteFields, group },
68
+ })),
69
+ },
70
+ // No group UI's provided means the widget provides its own
71
+ ...props.customUIs ?? DefaultGroupingUI_1.defaultGroupingUI,
72
+ ], [props.customUIs, navigateTo]);
73
+ return (react_1.default.createElement(GroupingMappingContext_1.GroupingMappingContext, { iModelId: iModelId, ...props, customUIs: injectedCustomUI },
74
+ react_1.default.createElement("div", { className: "gmw-group-mapping-container" },
75
+ react_1.default.createElement(GroupingMappingHeader_1.GroupingMappingHeader, { goBack: goBack, currentRoute: currentRoute }),
76
+ react_1.default.createElement(GroupingMappingContent_1.GroupingMappingContent, { routingHistory: routingHistory, navigateTo: navigateTo, goBack: goBack }))));
77
+ };
78
+ exports.default = GroupingMapping;
79
+ //# sourceMappingURL=GroupingMapping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GroupingMapping.js","sourceRoot":"","sources":["../../../src/WidgetShell/GroupingMapping.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAWA,+CAA8D;AAE9D,iFAA8E;AAC9E,kCAAgC;AAChC,oDAA+D;AAK/D,4FAA6F;AAC7F,oEAEoC;AACpC,qEAAkE;AAClE,mEAAgE;AAChE,gFAA6E;AAI7E,IAAY,SAUX;AAVD,WAAY,SAAS;IACnB,iDAAQ,CAAA;IACR,6DAAc,CAAA;IACd,6CAAM,CAAA;IACN,uDAAW,CAAA;IACX,yEAAoB,CAAA;IACpB,qDAAU,CAAA;IACV,6DAAc,CAAA;IACd,iFAAwB,CAAA;IACxB,+FAA+B,CAAA;AACjC,CAAC,EAVW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAUpB;AAkBD,MAAM,eAAe,GAAG,CAAC,KAA2B,EAAE,EAAE;IACtD,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAU;QAC5D,EAAE,IAAI,EAAE,SAAS,CAAC,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,EAAE,EAAE;KACxE,CAAC,CAAC;IACH,MAAM,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAC/D,MAAM,QAAQ,GAAG,IAAA,uCAAyB,GAAE,EAAE,QAAQ,IAAI,EAAE,CAAC;IAC7D,MAAM,UAAU,GAAG,IAAA,mBAAW,EAAC,CAAC,OAA2C,EAAE,EAAE;QAC7E,iBAAiB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,MAAM,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QAC9B,MAAM,cAAc,GAAG,CAAC,GAAG,cAAc,CAAC,CAAC;QAC3C,cAAc,CAAC,GAAG,EAAE,CAAC;QACrB,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACpC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;IAErB,MAAM,gBAAgB,GAAG,IAAA,eAAO,EAC9B,GAAG,EAAE,CAAC;QACJ;YACE,IAAI,EAAE,YAAY;YAClB,YAAY,EAAE,YAAY;YAC1B,IAAI,EAAE,qDAA2B,CAAC,OAAO;YACzC,IAAI,EAAE,8BAAC,6BAAO,OAAG;YACjB,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CACjB,UAAU,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBACpB,IAAI,EAAE,SAAS,CAAC,UAAU;gBAC1B,KAAK,EAAE,KAAK,CAAC,SAAS;gBACtB,mBAAmB,EAAE,EAAE,GAAG,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE;aAC7D,CAAC,CAAC;SACN;QACD,2DAA2D;QAC3D,GAAG,KAAK,CAAC,SAAS,IAAI,qCAAiB;KACxC,EACD,CAAC,KAAK,CAAC,SAAS,EAAE,UAAU,CAAC,CAC9B,CAAC;IAEF,OAAO,CACL,8BAAC,+CAAsB,IACrB,QAAQ,EAAE,QAAQ,KACd,KAAK,EACT,SAAS,EAAE,gBAAgB;QAE3B,uCAAK,SAAS,EAAC,6BAA6B;YAC1C,8BAAC,6CAAqB,IACpB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,GAC1B;YACF,8BAAC,+CAAsB,IACrB,cAAc,EAAE,cAAc,EAC9B,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,GACd,CACE,CACiB,CAC1B,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,eAAe,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport type {\n CalculatedProperty,\n CustomCalculation,\n Group,\n GroupProperty,\n Mapping,\n} from \"@itwin/insights-client\";\nimport React, { useCallback, useMemo, useState } from \"react\";\nimport type { GroupingMappingContextProps } from \"../components/GroupingMappingContext\";\nimport { GroupingMappingContext } from \"../components/GroupingMappingContext\";\nimport \"./GroupingMapping.scss\";\nimport { useActiveIModelConnection } from \"@itwin/appui-react\";\nimport type {\n ContextCustomUI,\n GroupingMappingCustomUI,\n} from \"../components/customUI/GroupingMappingCustomUI\";\nimport { GroupingMappingCustomUIType } from \"../components/customUI/GroupingMappingCustomUI\";\nimport {\n SvgList,\n} from \"@itwin/itwinui-icons-react\";\nimport { GroupingMappingContent } from \"./GroupingMappingContent\";\nimport { GroupingMappingHeader } from \"./GroupingMappingHeader\";\nimport { defaultGroupingUI } from \"../components/customUI/DefaultGroupingUI\";\n\nexport type GroupingMappingProps = Omit<GroupingMappingContextProps, \"iModelId\">;\n\nexport enum RouteStep {\n Mappings,\n MappingsAction,\n Groups,\n GroupAction,\n GroupContextCustomUI,\n Properties,\n PropertyAction,\n CalculatedPropertyAction,\n CustomCalculationPropertyAction,\n}\n\nexport interface Route {\n step: RouteStep;\n title: string;\n groupingRouteFields: GroupingRouteFields;\n}\nexport interface GroupingRouteFields {\n mapping?: Mapping;\n group?: Group;\n property?: GroupProperty;\n calculatedProperty?: CalculatedProperty;\n customCalculation?: CustomCalculation;\n // Optional prop but cannot be declared undefined.\n groupContextCustomUI?: Exclude<ContextCustomUI[\"uiComponent\"], undefined>;\n queryGenerationType?: string;\n}\n\nconst GroupingMapping = (props: GroupingMappingProps) => {\n const [routingHistory, setRoutingHistory] = useState<Route[]>([\n { step: RouteStep.Mappings, title: \"Mapping\", groupingRouteFields: {} },\n ]);\n const currentRoute = routingHistory[routingHistory.length - 1];\n const iModelId = useActiveIModelConnection()?.iModelId ?? \"\";\n const navigateTo = useCallback((toRoute: (prev: Route | undefined) => Route) => {\n setRoutingHistory((r) => [...r, toRoute(r[r.length - 1])]);\n }, []);\n\n const goBack = useCallback(() => {\n const updatedRouting = [...routingHistory];\n updatedRouting.pop();\n setRoutingHistory(updatedRouting);\n }, [routingHistory]);\n\n const injectedCustomUI = useMemo<GroupingMappingCustomUI[]>(\n () => [\n {\n name: \"Properties\",\n displayLabel: \"Properties\",\n type: GroupingMappingCustomUIType.Context,\n icon: <SvgList />,\n onClick: (group) =>\n navigateTo((prev) => ({\n step: RouteStep.Properties,\n title: group.groupName,\n groupingRouteFields: { ...prev?.groupingRouteFields, group },\n })),\n },\n // No group UI's provided means the widget provides its own\n ...props.customUIs ?? defaultGroupingUI,\n ],\n [props.customUIs, navigateTo]\n );\n\n return (\n <GroupingMappingContext\n iModelId={iModelId}\n {...props}\n customUIs={injectedCustomUI}\n >\n <div className=\"gmw-group-mapping-container\">\n <GroupingMappingHeader\n goBack={goBack}\n currentRoute={currentRoute}\n />\n <GroupingMappingContent\n routingHistory={routingHistory}\n navigateTo={navigateTo}\n goBack={goBack}\n />\n </div>\n </GroupingMappingContext>\n );\n};\n\nexport default GroupingMapping;\n"]}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.GroupingMappingContent = void 0;
23
+ /*---------------------------------------------------------------------------------------------
24
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
25
+ * See LICENSE.md in the project root for license terms and full copyright notice.
26
+ *--------------------------------------------------------------------------------------------*/
27
+ const react_1 = __importStar(require("react"));
28
+ const GroupHilitedElementsContext_1 = require("../components/context/GroupHilitedElementsContext");
29
+ const PropertiesContext_1 = require("../components/context/PropertiesContext");
30
+ const GroupingMappingRouter_1 = require("./Router/GroupingMappingRouter");
31
+ const viewerUtils_1 = require("../common/viewerUtils");
32
+ const GroupingMappingContent = ({ routingHistory, navigateTo, goBack, }) => {
33
+ const { setShowGroupColor, setHiddenGroupsIds } = (0, GroupHilitedElementsContext_1.useGroupHilitedElementsContext)();
34
+ const { setShowGroupColor: setPropertiesShowGroup } = (0, PropertiesContext_1.usePropertiesContext)();
35
+ const currentRoute = routingHistory[routingHistory.length - 1];
36
+ // Clean up group visualization when in mappings
37
+ (0, react_1.useEffect)(() => {
38
+ if (routingHistory.length === 1) {
39
+ setShowGroupColor(false);
40
+ setHiddenGroupsIds(new Set());
41
+ (0, viewerUtils_1.clearAll)();
42
+ // Turn off visualiztion in properties menu
43
+ }
44
+ else if (routingHistory.length === 2) {
45
+ setPropertiesShowGroup(false);
46
+ }
47
+ }, [routingHistory, setHiddenGroupsIds, setPropertiesShowGroup, setShowGroupColor]);
48
+ return (react_1.default.createElement(GroupingMappingRouter_1.GroupingMappingRouter, { currentRoute: currentRoute, navigateTo: navigateTo, goBack: goBack }));
49
+ };
50
+ exports.GroupingMappingContent = GroupingMappingContent;
51
+ //# sourceMappingURL=GroupingMappingContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GroupingMappingContent.js","sourceRoot":"","sources":["../../../src/WidgetShell/GroupingMappingContent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;;;+FAG+F;AAC/F,+CAAyC;AACzC,mGAAmG;AACnG,+EAA+E;AAE/E,0EAAuE;AACvE,uDAAiD;AAE1C,MAAM,sBAAsB,GAAG,CAAC,EACrC,cAAc,EACd,UAAU,EACV,MAAM,GAKP,EAAE,EAAE;IACH,MAAM,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,GAAG,IAAA,4DAA8B,GAAE,CAAC;IACnF,MAAM,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,GAAG,IAAA,wCAAoB,GAAE,CAAC;IAC7E,MAAM,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAE/D,gDAAgD;IAChD,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE;YAC/B,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,kBAAkB,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC;YAC9B,IAAA,sBAAQ,GAAE,CAAC;YACX,2CAA2C;SAC5C;aAAM,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE;YACtC,sBAAsB,CAAC,KAAK,CAAC,CAAC;SAC/B;IACH,CAAC,EAAE,CAAC,cAAc,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAEpF,OAAO,CACL,8BAAC,6CAAqB,IACpB,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,MAAM,GACd,CACH,CAAC;AACJ,CAAC,CAAC;AAhCW,QAAA,sBAAsB,0BAgCjC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport React, { useEffect } from \"react\";\nimport { useGroupHilitedElementsContext } from \"../components/context/GroupHilitedElementsContext\";\nimport { usePropertiesContext } from \"../components/context/PropertiesContext\";\nimport type { Route } from \"./GroupingMapping\";\nimport { GroupingMappingRouter } from \"./Router/GroupingMappingRouter\";\nimport { clearAll } from \"../common/viewerUtils\";\n\nexport const GroupingMappingContent = ({\n routingHistory,\n navigateTo,\n goBack,\n}: {\n routingHistory: Route[];\n navigateTo: (toRoute: (prev: Route | undefined) => Route) => void;\n goBack: () => void;\n}) => {\n const { setShowGroupColor, setHiddenGroupsIds } = useGroupHilitedElementsContext();\n const { setShowGroupColor: setPropertiesShowGroup } = usePropertiesContext();\n const currentRoute = routingHistory[routingHistory.length - 1];\n\n // Clean up group visualization when in mappings\n useEffect(() => {\n if (routingHistory.length === 1) {\n setShowGroupColor(false);\n setHiddenGroupsIds(new Set());\n clearAll();\n // Turn off visualiztion in properties menu\n } else if (routingHistory.length === 2) {\n setPropertiesShowGroup(false);\n }\n }, [routingHistory, setHiddenGroupsIds, setPropertiesShowGroup, setShowGroupColor]);\n\n return (\n <GroupingMappingRouter\n currentRoute={currentRoute}\n navigateTo={navigateTo}\n goBack={goBack}\n />\n );\n};\n"]}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.GroupingMappingHeader = void 0;
7
+ /*---------------------------------------------------------------------------------------------
8
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
9
+ * See LICENSE.md in the project root for license terms and full copyright notice.
10
+ *--------------------------------------------------------------------------------------------*/
11
+ const react_1 = __importDefault(require("react"));
12
+ const GroupingMapping_1 = require("./GroupingMapping");
13
+ const WidgetHeader_1 = require("./WidgetHeader/WidgetHeader");
14
+ const GroupingMappingHeader = ({ goBack, currentRoute, }) => {
15
+ const shouldDisableReturnFn = currentRoute.step === GroupingMapping_1.RouteStep.Mappings ||
16
+ currentRoute.step === GroupingMapping_1.RouteStep.MappingsAction ||
17
+ currentRoute.step === GroupingMapping_1.RouteStep.GroupAction ||
18
+ currentRoute.step === GroupingMapping_1.RouteStep.PropertyAction ||
19
+ currentRoute.step === GroupingMapping_1.RouteStep.CalculatedPropertyAction ||
20
+ currentRoute.step === GroupingMapping_1.RouteStep.CustomCalculationPropertyAction;
21
+ return (react_1.default.createElement(WidgetHeader_1.WidgetHeader, { returnFn: shouldDisableReturnFn ? undefined : goBack, title: currentRoute.title }));
22
+ };
23
+ exports.GroupingMappingHeader = GroupingMappingHeader;
24
+ //# sourceMappingURL=GroupingMappingHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GroupingMappingHeader.js","sourceRoot":"","sources":["../../../src/WidgetShell/GroupingMappingHeader.tsx"],"names":[],"mappings":";;;;;;AAAA;;;+FAG+F;AAC/F,kDAA0B;AAE1B,uDAA8C;AAC9C,8DAA2D;AAEpD,MAAM,qBAAqB,GAAG,CAAC,EACpC,MAAM,EACN,YAAY,GAIb,EAAE,EAAE;IACH,MAAM,qBAAqB,GACzB,YAAY,CAAC,IAAI,KAAK,2BAAS,CAAC,QAAQ;QACxC,YAAY,CAAC,IAAI,KAAK,2BAAS,CAAC,cAAc;QAC9C,YAAY,CAAC,IAAI,KAAK,2BAAS,CAAC,WAAW;QAC3C,YAAY,CAAC,IAAI,KAAK,2BAAS,CAAC,cAAc;QAC9C,YAAY,CAAC,IAAI,KAAK,2BAAS,CAAC,wBAAwB;QACxD,YAAY,CAAC,IAAI,KAAK,2BAAS,CAAC,+BAA+B,CAAC;IAClE,OAAO,CACL,8BAAC,2BAAY,IACX,QAAQ,EAAE,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,EACpD,KAAK,EAAE,YAAY,CAAC,KAAK,GACzB,CACH,CAAC;AACJ,CAAC,CAAC;AApBW,QAAA,qBAAqB,yBAoBhC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport React from \"react\";\nimport type { Route } from \"./GroupingMapping\";\nimport { RouteStep } from \"./GroupingMapping\";\nimport { WidgetHeader } from \"./WidgetHeader/WidgetHeader\";\n\nexport const GroupingMappingHeader = ({\n goBack,\n currentRoute,\n}: {\n goBack: () => void;\n currentRoute: Route;\n}) => {\n const shouldDisableReturnFn =\n currentRoute.step === RouteStep.Mappings ||\n currentRoute.step === RouteStep.MappingsAction ||\n currentRoute.step === RouteStep.GroupAction ||\n currentRoute.step === RouteStep.PropertyAction ||\n currentRoute.step === RouteStep.CalculatedPropertyAction ||\n currentRoute.step === RouteStep.CustomCalculationPropertyAction;\n return (\n <WidgetHeader\n returnFn={shouldDisableReturnFn ? undefined : goBack}\n title={currentRoute.title}\n />\n );\n};\n"]}
@@ -0,0 +1,10 @@
1
+ import type { UiItemsProvider, Widget } from "@itwin/appui-react";
2
+ import { StagePanelLocation, StagePanelSection } from "@itwin/appui-react";
3
+ import type { GroupingMappingProps } from "./GroupingMapping";
4
+ export declare class GroupingMappingProvider implements UiItemsProvider {
5
+ private readonly _props;
6
+ readonly id = "GroupingMappingProvider";
7
+ constructor(_props?: GroupingMappingProps);
8
+ provideWidgets(_stageId: string, stageUsage: string, location: StagePanelLocation, section?: StagePanelSection): ReadonlyArray<Widget>;
9
+ }
10
+ //# sourceMappingURL=GroupingMappingWidget.d.ts.map
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.GroupingMappingProvider = void 0;
7
+ const appui_react_1 = require("@itwin/appui-react");
8
+ const react_1 = __importDefault(require("react"));
9
+ const GroupingMapping_1 = __importDefault(require("./GroupingMapping"));
10
+ class GroupingMappingProvider {
11
+ constructor(_props = {}) {
12
+ this._props = _props;
13
+ this.id = "GroupingMappingProvider";
14
+ }
15
+ provideWidgets(_stageId, stageUsage, location, section) {
16
+ const widgets = [];
17
+ if (location === appui_react_1.StagePanelLocation.Left &&
18
+ section === appui_react_1.StagePanelSection.Start &&
19
+ stageUsage === appui_react_1.StageUsage.General) {
20
+ const GroupingMappingWidget = {
21
+ id: "GroupingMappingWidget",
22
+ label: "Grouping & Mapping",
23
+ content: react_1.default.createElement(GroupingMapping_1.default, { ...this._props }),
24
+ };
25
+ widgets.push(GroupingMappingWidget);
26
+ }
27
+ return widgets;
28
+ }
29
+ }
30
+ exports.GroupingMappingProvider = GroupingMappingProvider;
31
+ //# sourceMappingURL=GroupingMappingWidget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GroupingMappingWidget.js","sourceRoot":"","sources":["../../../src/WidgetShell/GroupingMappingWidget.tsx"],"names":[],"mappings":";;;;;;AAQA,oDAI4B;AAC5B,kDAA0B;AAE1B,wEAAgD;AAEhD,MAAa,uBAAuB;IAGlC,YAA6B,SAA+B,EAAE;QAAjC,WAAM,GAAN,MAAM,CAA2B;QAF9C,OAAE,GAAG,yBAAyB,CAAC;IAEmB,CAAC;IAE5D,cAAc,CACnB,QAAgB,EAChB,UAAkB,EAClB,QAA4B,EAC5B,OAA2B;QAE3B,MAAM,OAAO,GAAa,EAAE,CAAC;QAC7B,IAAI,QAAQ,KAAK,gCAAkB,CAAC,IAAI;YACpC,OAAO,KAAK,+BAAiB,CAAC,KAAK;YACnC,UAAU,KAAK,wBAAU,CAAC,OAAO,EACnC;YACA,MAAM,qBAAqB,GAAW;gBACpC,EAAE,EAAE,uBAAuB;gBAC3B,KAAK,EAAE,oBAAoB;gBAC3B,OAAO,EAAE,8BAAC,yBAAe,OAAK,IAAI,CAAC,MAAM,GAAI;aAC9C,CAAC;YAEF,OAAO,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;SACrC;QAED,OAAO,OAAO,CAAC;IACjB,CAAC;CACF;AA3BD,0DA2BC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport type {\n UiItemsProvider,\n Widget,\n} from \"@itwin/appui-react\";\nimport {\n StagePanelLocation,\n StagePanelSection,\n StageUsage,\n} from \"@itwin/appui-react\";\nimport React from \"react\";\nimport type { GroupingMappingProps } from \"./GroupingMapping\";\nimport GroupingMapping from \"./GroupingMapping\";\n\nexport class GroupingMappingProvider implements UiItemsProvider {\n public readonly id = \"GroupingMappingProvider\";\n\n constructor(private readonly _props: GroupingMappingProps = {}) { }\n\n public provideWidgets(\n _stageId: string,\n stageUsage: string,\n location: StagePanelLocation,\n section?: StagePanelSection,\n ): ReadonlyArray<Widget> {\n const widgets: Widget[] = [];\n if (location === StagePanelLocation.Left &&\n section === StagePanelSection.Start &&\n stageUsage === StageUsage.General\n ) {\n const GroupingMappingWidget: Widget = {\n id: \"GroupingMappingWidget\",\n label: \"Grouping & Mapping\",\n content: <GroupingMapping {...this._props} />,\n };\n\n widgets.push(GroupingMappingWidget);\n }\n\n return widgets;\n }\n}\n"]}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import type { Route } from "../GroupingMapping";
3
+ export declare const GroupingMappingRouter: ({ currentRoute, navigateTo, goBack, }: {
4
+ currentRoute: Route;
5
+ navigateTo: (toRoute: (prev: Route | undefined) => Route) => void;
6
+ goBack: () => void;
7
+ }) => JSX.Element | null;
8
+ //# sourceMappingURL=GroupingMappingRouter.d.ts.map
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.GroupingMappingRouter = void 0;
7
+ /*---------------------------------------------------------------------------------------------
8
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
9
+ * See LICENSE.md in the project root for license terms and full copyright notice.
10
+ *--------------------------------------------------------------------------------------------*/
11
+ const react_1 = __importDefault(require("react"));
12
+ const GroupingApiConfigContext_1 = require("../../components/context/GroupingApiConfigContext");
13
+ const CustomCalculationAction_1 = require("../../components/Properties/CustomCalculations/CustomCalculationAction");
14
+ const GroupAction_1 = require("../../components/Groups/Editing/GroupAction");
15
+ const GroupingMapping_1 = require("../GroupingMapping");
16
+ const GroupPropertyAction_1 = require("../../components/Properties/GroupProperties/GroupPropertyAction");
17
+ const Mappings_1 = require("../../components/Mappings/Mappings");
18
+ const MappingAction_1 = require("../../components/Mappings/Editing/MappingAction");
19
+ const CalculatedPropertyActionWithVisuals_1 = require("../../components/Properties/CalculatedProperties/CalculatedPropertyActionWithVisuals");
20
+ const PropertyMenuWithVisualization_1 = require("../../components/Properties/PropertyMenuWithVisualization");
21
+ const GroupsVisualization_1 = require("../../components/Groups/GroupsVisualization");
22
+ const GroupingMappingRouter = ({ currentRoute, navigateTo, goBack, }) => {
23
+ const { iModelId } = (0, GroupingApiConfigContext_1.useGroupingMappingApiConfig)();
24
+ const { mapping, group, property, calculatedProperty, customCalculation, groupContextCustomUI, queryGenerationType } = currentRoute.groupingRouteFields;
25
+ switch (currentRoute.step) {
26
+ case GroupingMapping_1.RouteStep.Mappings:
27
+ return (react_1.default.createElement(Mappings_1.Mappings, { onClickAddMapping: () => navigateTo(() => ({ step: GroupingMapping_1.RouteStep.MappingsAction, title: "Add Mapping", groupingRouteFields: {} })), onClickMappingTitle: (mapping) => {
28
+ navigateTo(() => ({
29
+ step: GroupingMapping_1.RouteStep.Groups,
30
+ groupingRouteFields: { mapping },
31
+ title: mapping.mappingName,
32
+ }));
33
+ }, onClickMappingModify: (mapping) => {
34
+ navigateTo(() => ({
35
+ step: GroupingMapping_1.RouteStep.MappingsAction,
36
+ groupingRouteFields: { mapping },
37
+ title: mapping.mappingName,
38
+ }));
39
+ } }));
40
+ case GroupingMapping_1.RouteStep.MappingsAction:
41
+ return (react_1.default.createElement(MappingAction_1.MappingAction, { mapping: mapping, onClickCancel: goBack, onSaveSuccess: goBack }));
42
+ case GroupingMapping_1.RouteStep.Groups:
43
+ if (mapping) {
44
+ return (react_1.default.createElement(GroupsVisualization_1.GroupsVisualization, { mapping: mapping, onClickAddGroup: (qType) => navigateTo((prev) => ({
45
+ step: GroupingMapping_1.RouteStep.GroupAction,
46
+ groupingRouteFields: { ...prev?.groupingRouteFields, queryGenerationType: qType },
47
+ title: "Add Group",
48
+ })), onClickGroupTitle: (g) => navigateTo((prev) => ({
49
+ step: GroupingMapping_1.RouteStep.Properties,
50
+ title: g.groupName,
51
+ groupingRouteFields: { ...prev?.groupingRouteFields, group: g },
52
+ })), onClickGroupModify: (g, qType) => navigateTo((prev) => ({
53
+ step: GroupingMapping_1.RouteStep.GroupAction,
54
+ title: g.groupName,
55
+ groupingRouteFields: { ...prev?.groupingRouteFields, group: g, queryGenerationType: qType },
56
+ })), onClickRenderContextCustomUI: (ccUI, g, displayLabel) => navigateTo((prev) => ({
57
+ step: GroupingMapping_1.RouteStep.GroupContextCustomUI,
58
+ title: displayLabel,
59
+ groupingRouteFields: { ...prev?.groupingRouteFields, group: g, groupContextCustomUI: ccUI },
60
+ })) }));
61
+ }
62
+ return null;
63
+ case GroupingMapping_1.RouteStep.GroupAction:
64
+ if (mapping) {
65
+ if (queryGenerationType) {
66
+ return (react_1.default.createElement(GroupAction_1.GroupAction, { shouldVisualize: true, mappingId: mapping.id, group: group, onClickCancel: goBack, onSaveSuccess: goBack, queryGenerationType: queryGenerationType }));
67
+ }
68
+ }
69
+ return null;
70
+ case GroupingMapping_1.RouteStep.GroupContextCustomUI:
71
+ if (mapping && group && groupContextCustomUI) {
72
+ return (react_1.default.createElement(groupContextCustomUI, {
73
+ iModelId,
74
+ mappingId: mapping.id,
75
+ groupId: group.id,
76
+ }));
77
+ }
78
+ return null;
79
+ case GroupingMapping_1.RouteStep.Properties:
80
+ if (mapping && group) {
81
+ return (react_1.default.createElement(PropertyMenuWithVisualization_1.PropertyMenuWithVisualization, { mapping: mapping, group: group, color: "red", onClickAddGroupProperty: () => navigateTo((prev) => ({ step: GroupingMapping_1.RouteStep.PropertyAction, title: "Add Property", groupingRouteFields: { ...prev?.groupingRouteFields } })), onClickModifyGroupProperty: (gp) => navigateTo((prev) => ({ step: GroupingMapping_1.RouteStep.PropertyAction, title: gp.propertyName, groupingRouteFields: { ...prev?.groupingRouteFields, property: gp } })), onClickAddCalculatedProperty: () => navigateTo((prev) => ({ step: GroupingMapping_1.RouteStep.CalculatedPropertyAction, title: "Create Calculated Property", groupingRouteFields: { ...prev?.groupingRouteFields } })), onClickModifyCalculatedProperty: (cp) => navigateTo((prev) => ({ step: GroupingMapping_1.RouteStep.CalculatedPropertyAction, title: cp.propertyName, groupingRouteFields: { ...prev?.groupingRouteFields, calculatedProperty: cp } })), onClickAddCustomCalculationProperty: () => navigateTo((prev) => ({ step: GroupingMapping_1.RouteStep.CustomCalculationPropertyAction, title: "Create Custom Calculation", groupingRouteFields: { ...prev?.groupingRouteFields } })), onClickModifyCustomCalculation: (cc) => navigateTo((prev) => ({ step: GroupingMapping_1.RouteStep.CustomCalculationPropertyAction, title: cc.propertyName, groupingRouteFields: { ...prev?.groupingRouteFields, customCalculation: cc } })) }));
82
+ }
83
+ return null;
84
+ case GroupingMapping_1.RouteStep.PropertyAction: {
85
+ if (mapping && group) {
86
+ return (react_1.default.createElement(GroupPropertyAction_1.GroupPropertyAction, { mappingId: mapping.id, group: group, groupProperty: property, onSaveSuccess: goBack, onClickCancel: goBack }));
87
+ }
88
+ return null;
89
+ }
90
+ case GroupingMapping_1.RouteStep.CalculatedPropertyAction: {
91
+ if (mapping && group) {
92
+ return (react_1.default.createElement(CalculatedPropertyActionWithVisuals_1.CalculatedPropertyActionWithVisuals, { mappingId: mapping.id, group: group, calculatedProperty: calculatedProperty, onSaveSuccess: goBack, onClickCancel: goBack }));
93
+ }
94
+ return null;
95
+ }
96
+ case GroupingMapping_1.RouteStep.CustomCalculationPropertyAction: {
97
+ if (mapping && group) {
98
+ return (react_1.default.createElement(CustomCalculationAction_1.CustomCalculationAction, { mappingId: mapping.id, groupId: group.id, customCalculation: customCalculation, onSaveSuccess: goBack, onClickCancel: goBack }));
99
+ }
100
+ return null;
101
+ }
102
+ default:
103
+ return null;
104
+ }
105
+ };
106
+ exports.GroupingMappingRouter = GroupingMappingRouter;
107
+ //# sourceMappingURL=GroupingMappingRouter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GroupingMappingRouter.js","sourceRoot":"","sources":["../../../../src/WidgetShell/Router/GroupingMappingRouter.tsx"],"names":[],"mappings":"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","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport React from \"react\";\nimport { useGroupingMappingApiConfig } from \"../../components/context/GroupingApiConfigContext\";\nimport { CustomCalculationAction } from \"../../components/Properties/CustomCalculations/CustomCalculationAction\";\nimport { GroupAction } from \"../../components/Groups/Editing/GroupAction\";\nimport type { Route } from \"../GroupingMapping\";\nimport { RouteStep } from \"../GroupingMapping\";\nimport { GroupPropertyAction } from \"../../components/Properties/GroupProperties/GroupPropertyAction\";\nimport { Mappings } from \"../../components/Mappings/Mappings\";\nimport { MappingAction } from \"../../components/Mappings/Editing/MappingAction\";\nimport { CalculatedPropertyActionWithVisuals } from \"../../components/Properties/CalculatedProperties/CalculatedPropertyActionWithVisuals\";\nimport { PropertyMenuWithVisualization } from \"../../components/Properties/PropertyMenuWithVisualization\";\nimport { GroupsVisualization } from \"../../components/Groups/GroupsVisualization\";\n\nexport const GroupingMappingRouter = ({\n currentRoute,\n navigateTo,\n goBack,\n}: {\n currentRoute: Route;\n navigateTo: (toRoute: (prev: Route | undefined) => Route) => void;\n goBack: () => void;\n}) => {\n const { iModelId } = useGroupingMappingApiConfig();\n const { mapping, group, property, calculatedProperty, customCalculation, groupContextCustomUI, queryGenerationType } = currentRoute.groupingRouteFields;\n\n switch (currentRoute.step) {\n case RouteStep.Mappings:\n return (\n <Mappings\n onClickAddMapping={() =>\n navigateTo(() => ({ step: RouteStep.MappingsAction, title: \"Add Mapping\", groupingRouteFields: {} }))\n }\n onClickMappingTitle={(mapping) => {\n navigateTo(() => ({\n step: RouteStep.Groups,\n groupingRouteFields: { mapping },\n title: mapping.mappingName,\n }));\n }}\n onClickMappingModify={(mapping) => {\n navigateTo(() => ({\n step: RouteStep.MappingsAction,\n groupingRouteFields: { mapping },\n title: mapping.mappingName,\n }));\n }}\n />);\n case RouteStep.MappingsAction:\n return (<MappingAction mapping={mapping} onClickCancel={goBack} onSaveSuccess={goBack} />);\n case RouteStep.Groups:\n if (mapping) {\n return (\n <GroupsVisualization\n mapping={mapping}\n onClickAddGroup={(qType) =>\n navigateTo((prev) => ({\n step: RouteStep.GroupAction,\n groupingRouteFields: { ...prev?.groupingRouteFields, queryGenerationType: qType },\n title: \"Add Group\",\n }))\n }\n onClickGroupTitle={(g) =>\n navigateTo((prev) => ({\n step: RouteStep.Properties,\n title: g.groupName,\n groupingRouteFields: { ...prev?.groupingRouteFields, group: g },\n }))\n }\n onClickGroupModify={(g, qType) =>\n navigateTo((prev) => ({\n step: RouteStep.GroupAction,\n title: g.groupName,\n groupingRouteFields: { ...prev?.groupingRouteFields, group: g, queryGenerationType: qType },\n }))\n }\n onClickRenderContextCustomUI={(ccUI, g, displayLabel) =>\n navigateTo((prev) => ({\n step: RouteStep.GroupContextCustomUI,\n title: displayLabel,\n groupingRouteFields: { ...prev?.groupingRouteFields, group: g, groupContextCustomUI: ccUI },\n }))\n }\n />\n );\n }\n return null;\n case RouteStep.GroupAction:\n if (mapping) {\n if (queryGenerationType) {\n return (\n <GroupAction\n shouldVisualize\n mappingId={mapping.id}\n group={group}\n onClickCancel={goBack}\n onSaveSuccess={goBack}\n queryGenerationType={queryGenerationType}\n />\n );\n }\n }\n return null;\n case RouteStep.GroupContextCustomUI:\n if (mapping && group && groupContextCustomUI) {\n return (\n React.createElement(groupContextCustomUI, {\n iModelId,\n mappingId: mapping.id,\n groupId: group.id,\n })\n );\n }\n return null;\n case RouteStep.Properties:\n if (mapping && group) {\n return (\n <PropertyMenuWithVisualization\n mapping={mapping}\n group={group}\n color=\"red\"\n onClickAddGroupProperty={() =>\n navigateTo((prev) => ({ step: RouteStep.PropertyAction, title: \"Add Property\", groupingRouteFields: { ...prev?.groupingRouteFields } }))\n }\n onClickModifyGroupProperty={(gp) =>\n navigateTo((prev) => ({ step: RouteStep.PropertyAction, title: gp.propertyName, groupingRouteFields: { ...prev?.groupingRouteFields, property: gp } }))\n }\n onClickAddCalculatedProperty={() =>\n navigateTo((prev) => ({ step: RouteStep.CalculatedPropertyAction, title: \"Create Calculated Property\", groupingRouteFields: { ...prev?.groupingRouteFields } }))\n }\n onClickModifyCalculatedProperty={(cp) =>\n navigateTo((prev) => ({ step: RouteStep.CalculatedPropertyAction, title: cp.propertyName, groupingRouteFields: { ...prev?.groupingRouteFields, calculatedProperty: cp } }))\n }\n onClickAddCustomCalculationProperty={() =>\n navigateTo((prev) => ({ step: RouteStep.CustomCalculationPropertyAction, title: \"Create Custom Calculation\", groupingRouteFields: { ...prev?.groupingRouteFields } }))\n }\n onClickModifyCustomCalculation={(cc) =>\n navigateTo((prev) => ({ step: RouteStep.CustomCalculationPropertyAction, title: cc.propertyName, groupingRouteFields: { ...prev?.groupingRouteFields, customCalculation: cc } }))\n }\n />\n );\n }\n return null;\n case RouteStep.PropertyAction: {\n if (mapping && group) {\n return (\n <GroupPropertyAction\n mappingId={mapping.id}\n group={group}\n groupProperty={property}\n onSaveSuccess={goBack}\n onClickCancel={goBack}\n />\n );\n }\n return null;\n }\n case RouteStep.CalculatedPropertyAction: {\n if (mapping && group) {\n return (\n <CalculatedPropertyActionWithVisuals\n mappingId={mapping.id}\n group={group}\n calculatedProperty={calculatedProperty}\n onSaveSuccess={goBack}\n onClickCancel={goBack}\n />\n );\n }\n return null;\n }\n case RouteStep.CustomCalculationPropertyAction: {\n if (mapping && group) {\n return (\n <CustomCalculationAction\n mappingId={mapping.id}\n groupId={group.id}\n customCalculation={customCalculation}\n onSaveSuccess={goBack}\n onClickCancel={goBack}\n />\n );\n }\n return null;\n }\n default:\n return null;\n }\n};\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WidgetHeader.js","sourceRoot":"","sources":["../../../../src/WidgetShell/WidgetHeader/WidgetHeader.tsx"],"names":[],"mappings":";;;;;;AAAA;;;+FAG+F;AAC/F,oEAA4D;AAC5D,wDAAkD;AAClD,+BAA6B;AAC7B,kDAA0B;AAQnB,MAAM,YAAY,GAAG,CAAC,EAC3B,KAAK,EACL,QAAQ,GAAG,KAAK,EAChB,QAAQ,GACU,EAAE,EAAE;IACtB,OAAO,CACL,uCAAK,SAAS,EAAC,6BAA6B;QACzC,QAAQ,IAAI,CACX,8BAAC,oBAAI,IACH,SAAS,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,aAAa,EAAE,EACjE,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,EACxC,KAAK,EAAC,MAAM;YAEZ,8BAAC,oCAAc,OAAG,CACb,CACR;QACD,8BAAC,oBAAI,IAAC,SAAS,EAAC,WAAW,EAAC,OAAO,EAAC,OAAO,IACxC,KAAK,CACD,CACH,CACP,CAAC;AACJ,CAAC,CAAC;AAtBW,QAAA,YAAY,gBAsBvB","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport { SvgChevronLeft } from \"@itwin/itwinui-icons-react\";\nimport { Icon, Text } from \"@itwin/itwinui-react\";\nimport \"./WidgetHeader.scss\";\nimport React from \"react\";\n\nexport interface WidgetHeaderProps {\n title: string;\n disabled?: boolean;\n returnFn?: () => void;\n}\n\nexport const WidgetHeader = ({\n title,\n disabled = false,\n returnFn,\n}: WidgetHeaderProps) => {\n return (\n <div className='gmw-widget-header-container'>\n {returnFn && (\n <Icon\n className={`${disabled ? \"gmw-chevron-disabled\" : \"gmw-chevron\"}`}\n size=\"large\"\n onClick={disabled ? undefined : returnFn}\n title='Back'\n >\n <SvgChevronLeft />\n </Icon>\n )}\n <Text className='gmw-title' variant='title'>\n {title}\n </Text>\n </div>\n );\n};\n"]}
@@ -0,0 +1,11 @@
1
+ import type { IModelConnection } from "@itwin/core-frontend";
2
+ export declare type CreateTypeFromInterface<Interface> = {
3
+ [Property in keyof Interface]: Interface[Property];
4
+ };
5
+ export declare function debounce<F extends (...args: any[]) => void>(f: F, delay: number): (...args: any[]) => void;
6
+ export declare const fetchIdsFromQuery: (query: string, iModelConnection: IModelConnection) => Promise<string[]>;
7
+ export declare const getErrorMessage: (errorStatus: number) => string;
8
+ export declare const handleError: (errorStatus: number) => void;
9
+ export declare const handleInputChange: <T>(e: React.ChangeEvent<HTMLInputElement>, values: T, setValues: (newValues: T) => void) => void;
10
+ export declare const enableExperimentalFeatures: (iModelConnection: IModelConnection) => Promise<void>;
11
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.enableExperimentalFeatures = exports.handleInputChange = exports.handleError = exports.getErrorMessage = exports.fetchIdsFromQuery = exports.debounce = void 0;
4
+ /*---------------------------------------------------------------------------------------------
5
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
6
+ * See LICENSE.md in the project root for license terms and full copyright notice.
7
+ *--------------------------------------------------------------------------------------------*/
8
+ const core_common_1 = require("@itwin/core-common");
9
+ const itwinui_react_1 = require("@itwin/itwinui-react");
10
+ function debounce(f, delay) {
11
+ let timer;
12
+ return (...args) => {
13
+ timer && window.clearTimeout(timer);
14
+ timer = window.setTimeout(f, delay, ...args);
15
+ };
16
+ }
17
+ exports.debounce = debounce;
18
+ const fetchIdsFromQuery = async (query, iModelConnection) => {
19
+ if (query === "") {
20
+ return [];
21
+ }
22
+ const ids = [];
23
+ const rowIterator = iModelConnection.query(query, undefined, {
24
+ rowFormat: core_common_1.QueryRowFormat.UseJsPropertyNames,
25
+ });
26
+ while (true) {
27
+ const { done, value } = await rowIterator.next();
28
+ if (done) {
29
+ break;
30
+ }
31
+ if (Object.keys(value).includes("id")) {
32
+ ids.push(value.id);
33
+ }
34
+ else if (Object.keys(value).includes("element.id")) {
35
+ ids.push(value["element.id"]);
36
+ }
37
+ else if (Object.keys(value).includes("eCInstanceId")) {
38
+ ids.push(value.eCInstanceId);
39
+ }
40
+ }
41
+ return ids;
42
+ };
43
+ exports.fetchIdsFromQuery = fetchIdsFromQuery;
44
+ const getErrorMessage = (errorStatus) => {
45
+ switch (errorStatus) {
46
+ case 401:
47
+ return "You are unauthorized to do this operation.";
48
+ case 403:
49
+ return "You don't have permission to access the requested resource.";
50
+ case 404:
51
+ return "The requested resource was not found.";
52
+ case 409:
53
+ return "This property name is already being used.";
54
+ case 422:
55
+ return "Unable to process the request.";
56
+ case 429:
57
+ return "Too many requests.";
58
+ case 500:
59
+ return "Internal server error.";
60
+ case 502:
61
+ return "Bad gateway.";
62
+ case 503:
63
+ return "Service unavailable.";
64
+ default:
65
+ return "Something went wrong!";
66
+ }
67
+ };
68
+ exports.getErrorMessage = getErrorMessage;
69
+ const handleError = (errorStatus) => {
70
+ const baseErrorMessage = "Error!";
71
+ const specificErrorMessage = (0, exports.getErrorMessage)(errorStatus);
72
+ const fullErrorMessage = `${baseErrorMessage} ${specificErrorMessage}`;
73
+ itwinui_react_1.toaster.negative(fullErrorMessage);
74
+ };
75
+ exports.handleError = handleError;
76
+ const handleInputChange = (e, values, setValues) => {
77
+ const { name, value } = e.target;
78
+ setValues({
79
+ ...values,
80
+ [name]: value,
81
+ });
82
+ };
83
+ exports.handleInputChange = handleInputChange;
84
+ const enableExperimentalFeatures = async (iModelConnection) => {
85
+ const reader = iModelConnection.createQueryReader("PRAGMA experimental_features_enabled=true");
86
+ await reader.step();
87
+ };
88
+ exports.enableExperimentalFeatures = enableExperimentalFeatures;
89
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/common/utils.ts"],"names":[],"mappings":"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","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\nimport { QueryRowFormat } from \"@itwin/core-common\";\nimport type { IModelConnection } from \"@itwin/core-frontend\";\nimport { toaster } from \"@itwin/itwinui-react\";\n\nexport type CreateTypeFromInterface<Interface> = {\n [Property in keyof Interface]: Interface[Property];\n};\n\nexport function debounce<F extends (...args: any[]) => void>(f: F, delay: number) {\n let timer: number | undefined;\n return (...args: any[]) => {\n timer && window.clearTimeout(timer);\n timer = window.setTimeout(f, delay, ...args);\n };\n}\n\nexport const fetchIdsFromQuery = async (\n query: string,\n iModelConnection: IModelConnection\n) => {\n if (query === \"\") {\n return [];\n }\n const ids: string[] = [];\n const rowIterator = iModelConnection.query(query, undefined, {\n rowFormat: QueryRowFormat.UseJsPropertyNames,\n });\n while (true) {\n const { done, value } = await rowIterator.next();\n if (done) {\n break;\n }\n if (Object.keys(value).includes(\"id\")) {\n ids.push(value.id);\n } else if (Object.keys(value).includes(\"element.id\")) {\n ids.push(value[\"element.id\"]);\n } else if (Object.keys(value).includes(\"eCInstanceId\")) {\n ids.push(value.eCInstanceId);\n }\n }\n return ids;\n};\n\nexport const getErrorMessage = (errorStatus: number): string => {\n switch (errorStatus) {\n case 401:\n return \"You are unauthorized to do this operation.\";\n case 403:\n return \"You don't have permission to access the requested resource.\";\n case 404:\n return \"The requested resource was not found.\";\n case 409:\n return \"This property name is already being used.\";\n case 422:\n return \"Unable to process the request.\";\n case 429:\n return \"Too many requests.\";\n case 500:\n return \"Internal server error.\";\n case 502:\n return \"Bad gateway.\";\n case 503:\n return \"Service unavailable.\";\n default:\n return \"Something went wrong!\";\n }\n};\n\nexport const handleError = (errorStatus: number) => {\n const baseErrorMessage = \"Error!\";\n const specificErrorMessage = getErrorMessage(errorStatus);\n const fullErrorMessage = `${baseErrorMessage} ${specificErrorMessage}`;\n\n toaster.negative(fullErrorMessage);\n};\n\nexport const handleInputChange = <T,>(\n e: React.ChangeEvent<HTMLInputElement>,\n values: T,\n setValues: (newValues: T) => void,\n) => {\n const { name, value } = e.target;\n\n setValues({\n ...values,\n [name]: value,\n });\n};\n\nexport const enableExperimentalFeatures = async (iModelConnection: IModelConnection) => {\n const reader = iModelConnection.createQueryReader(\"PRAGMA experimental_features_enabled=true\");\n await reader.step();\n};\n"]}
@@ -0,0 +1,30 @@
1
+ import type { IModelConnection } from "@itwin/core-frontend";
2
+ import type { FeatureAppearance } from "@itwin/core-common";
3
+ import { FeatureOverrideType } from "@itwin/core-common";
4
+ import { KeySet } from "@itwin/presentation-common";
5
+ export declare const isolateElementsByKeys: (keySet: KeySet, replace?: boolean) => Promise<string[]>;
6
+ export declare const isolateElementsByQuery: (query: string, iModelConnection: IModelConnection, replace?: boolean) => Promise<string[]>;
7
+ export declare const isolateElements: (hilitedIds: string[], replace?: boolean) => void;
8
+ export declare const clearIsolatedElements: () => void;
9
+ export declare const hideElements: (hilitedIds: string[], replace?: boolean) => void;
10
+ export declare const clearHiddenElements: () => void;
11
+ export declare const overrideElementsByQuery: (iModelConnection: IModelConnection, query: string, color: string, overrideType?: FeatureOverrideType) => Promise<string[]>;
12
+ export declare const overrideElements: (hilitedIds: string[], color: string, overrideType?: FeatureOverrideType, replace?: boolean) => void;
13
+ export declare const clearOverriddenElements: () => void;
14
+ export declare const emphasizeElements: (hilitedIds: string[], defaultAppearance?: FeatureAppearance | undefined, replace?: boolean) => void;
15
+ export declare const emphasisElementsByQuery: (iModelConnection: IModelConnection, query: string, defaultAppearance?: FeatureAppearance | undefined, replace?: boolean) => Promise<string[]>;
16
+ export declare const emphasizeElementsByKeys: (keySet: KeySet, defaultAppearance?: FeatureAppearance | undefined, replace?: boolean) => Promise<string[]>;
17
+ export declare const visualizeElementsByQuery: (query: string, color: string, iModelConnection: IModelConnection, replace?: boolean, wantEmphasis?: boolean) => Promise<string[]>;
18
+ export declare const visualizeElementsByKeys: (keySet: KeySet, color: string, replace?: boolean, wantEmphasis?: boolean) => Promise<string[]>;
19
+ export declare const visualizeElements: (elementIds: string[], color: string, replace?: boolean, wantEmphasis?: boolean) => void;
20
+ export declare const transparentOverriddenElements: () => void;
21
+ export declare const zoomToElements: (elementIds: string[]) => Promise<void>;
22
+ export declare const getHiliteIds: (query: string, iModelConnection: IModelConnection) => Promise<{
23
+ keySet: KeySet;
24
+ ids: string[];
25
+ }>;
26
+ export declare const manufactureKeys: (query: string, iModelConnection: IModelConnection) => Promise<KeySet>;
27
+ export declare const clearEmphasizedElements: () => void;
28
+ export declare const clearEmphasizedOverriddenElements: () => void;
29
+ export declare const clearAll: () => void;
30
+ //# sourceMappingURL=viewerUtils.d.ts.map