@itwin/grouping-mapping-widget 0.19.2 → 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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyAction.js","sourceRoot":"","sources":["../../../../src/components/Properties/PropertyAction.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,uBAAuB,CAAC;AAO/B,MAAM,oBAAoB,GAAG,CAC3B,QAAwB,EACxB,mBAAqC,EACrC,YAAsC,EACtC,EAAE;IACF,MAAM,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAElE,MAAM,yBAAyB,GAAG,WAAW,CAC3C,CAAC,QAAwB,EAAW,EAAE;QACpC,IAAI,QAAQ,CAAC,KAAK,CAAC,WAAW,KAAK,mBAAmB,CAAC,SAAS,EAAE;YAChE,OAAO,mBAAmB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;SAC/C;QAED,IAAI,QAAQ,CAAC,KAAK,CAAC,WAAW,KAAK,mBAAmB,CAAC,KAAK,EAAE;YAC5D,OAAO,CACL,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC;gBACjC,mBAAmB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CACvC,CAAC;SACH;QACD,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,KAAK,CAChD,CAAC,OAAuB,EAAE,EAAE,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC,EACD,CAAC,mBAAmB,CAAC,CACtB,CAAC;IAEF,MAAM,kBAAkB,GAAG,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IAE/D,MAAM,WAAW,GAAG,WAAW,CAC7B,KAAK,EAAE,IAAoB,EAAE,EAAE;QAC7B,IACE,IAAI,CAAC,KAAK,CAAC,WAAW,KAAK,mBAAmB,CAAC,SAAS;YACxD,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC;YACnC,CAAC,MAAM,YAAY,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC,EACvC;YACA,oBAAoB,CAAC,KAAK,CAAC,CAAC;YAC5B,OAAO,IAAI,CAAC;SACb;QACD,OAAO,KAAK,CAAC;IACf,CAAC,EACD,CAAC,mBAAmB,EAAE,YAAY,CAAC,CACpC,CAAC;IAEF,MAAM,cAAc,GAAG,WAAW,CAChC,KAAK,EAAE,IAAoB,EAAE,EAAE;QAC7B,IAAI,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;YACtC,MAAM,YAAY,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;YACzC,oBAAoB,CAAC,KAAK,CAAC,CAAC;SAC7B;IACH,CAAC,EACD,CAAC,mBAAmB,EAAE,YAAY,CAAC,CACpC,CAAC;IAEF,OAAO;QACL,kBAAkB;QAClB,WAAW;QACX,cAAc;QACd,iBAAiB;QACjB,oBAAoB;KACrB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAAE,QAAQ,EAAuB,EAAE,EAAE;IAClE,MAAM,EACJ,mBAAmB,EACnB,YAAY,EACZ,sBAAsB,EACtB,QAAQ,EACR,UAAU,GACX,GAAG,sBAAsB,EAAE,CAAC;IAE7B,MAAM,EACJ,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,oBAAoB,GACrB,GAAG,oBAAoB,CAAC,QAAQ,EAAE,mBAAmB,EAAE,YAAY,CAAC,CAAC;IAEtE,SAAS,CAAC,GAAG,EAAE;QACb,oBAAoB,CAAC,kBAAkB,IAAI,UAAU,CAAC,CAAC;IACzD,CAAC,EAAE,CAAC,kBAAkB,EAAE,UAAU,EAAE,oBAAoB,CAAC,CAAC,CAAC;IAE3D,MAAM,0BAA0B,GAAG,WAAW,CAAC,KAAK,IAAI,EAAE;QACxD,IAAI,kBAAkB,EAAE;YACtB,MAAM,cAAc,CAAC,QAAQ,CAAC,CAAC;YAC/B,sBAAsB,CAAC,CAAC,QAAQ,EAAE,EAAE,CAClC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,QAAQ,CAAC,CACvC,CAAC;YACF,QAAQ,CAAC,YAAY,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC,CAAC;SAClD;aAAM;YACL,IAAI,MAAM,WAAW,CAAC,QAAQ,CAAC,EAAE;gBAC/B,sBAAsB,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;gBAChE,QAAQ,CAAC,YAAY,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC,CAAC;aAClD;SACF;IACH,CAAC,EAAE;QACD,WAAW;QACX,kBAAkB;QAClB,QAAQ;QACR,cAAc;QACd,YAAY;QACZ,sBAAsB;QACtB,QAAQ;KACT,CAAC,CAAC;IAEH,OAAO,CACL,6BAAK,SAAS,EAAC,iCAAiC,IAC7C,QAAQ,CAAC,KAAK,CAAC,WAAW,KAAK,mBAAmB,CAAC,SAAS;QAC3D,QAAQ,CAAC,KAAK,CAAC,KAAK,KAAK,SAAS,IAAI,CACtC,oBAAC,QAAQ,IACP,OAAO,EAAE,kBAAkB,EAC3B,QAAQ,EAAE,0BAA0B,EACpC,QAAQ,EAAE,UAAU,EACpB,SAAS,EAAE,iBAAiB,GAC5B,CACH,CACG,CACP,CAAC;AACJ,CAAC,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 React, { useCallback, useEffect, useState } from \"react\";\nimport type { PropertyRecord } from \"@itwin/appui-abstract\";\nimport { PropertyValueFormat } from \"@itwin/appui-abstract\";\nimport { usePropertyGridWrapper } from \"../context/PropertyGridWrapperContext\";\nimport { Checkbox } from \"@itwin/itwinui-react\";\nimport \"./PropertyAction.scss\";\nimport type { QueryBuilder } from \"../Groups/QueryBuilder/QueryBuilder\";\n\nexport interface PropertyActionProps {\n property: PropertyRecord;\n}\n\nconst usePropertySelection = (\n property: PropertyRecord,\n currentPropertyList: PropertyRecord[],\n queryBuilder: QueryBuilder | undefined\n) => {\n const [isCheckboxLoading, setIsCheckboxLoading] = useState(false);\n\n const checkIfPropertyIsSelected = useCallback(\n (property: PropertyRecord): boolean => {\n if (property.value.valueFormat === PropertyValueFormat.Primitive) {\n return currentPropertyList.includes(property);\n }\n\n if (property.value.valueFormat === PropertyValueFormat.Array) {\n return (\n property.value.items.length === 0 &&\n currentPropertyList.includes(property)\n );\n }\n return Object.values(property.value.members).every(\n (subProp: PropertyRecord) => checkIfPropertyIsSelected(subProp)\n );\n },\n [currentPropertyList]\n );\n\n const isPropertySelected = checkIfPropertyIsSelected(property);\n\n const addProperty = useCallback(\n async (prop: PropertyRecord) => {\n if (\n prop.value.valueFormat === PropertyValueFormat.Primitive &&\n !currentPropertyList.includes(prop) &&\n (await queryBuilder?.addProperty(prop))\n ) {\n setIsCheckboxLoading(false);\n return true;\n }\n return false;\n },\n [currentPropertyList, queryBuilder]\n );\n\n const removeProperty = useCallback(\n async (prop: PropertyRecord) => {\n if (currentPropertyList.includes(prop)) {\n await queryBuilder?.removeProperty(prop);\n setIsCheckboxLoading(false);\n }\n },\n [currentPropertyList, queryBuilder]\n );\n\n return {\n isPropertySelected,\n addProperty,\n removeProperty,\n isCheckboxLoading,\n setIsCheckboxLoading,\n };\n};\n\nexport const PropertyAction = ({ property }: PropertyActionProps) => {\n const {\n currentPropertyList,\n queryBuilder,\n setCurrentPropertyList,\n setQuery,\n isUpdating,\n } = usePropertyGridWrapper();\n\n const {\n isPropertySelected,\n addProperty,\n removeProperty,\n isCheckboxLoading,\n setIsCheckboxLoading,\n } = usePropertySelection(property, currentPropertyList, queryBuilder);\n\n useEffect(() => {\n setIsCheckboxLoading(isPropertySelected && isUpdating);\n }, [isPropertySelected, isUpdating, setIsCheckboxLoading]);\n\n const onPropertySelectionChanged = useCallback(async () => {\n if (isPropertySelected) {\n await removeProperty(property);\n setCurrentPropertyList((prevList) =>\n prevList.filter((x) => x !== property)\n );\n setQuery(queryBuilder?.buildQueryString() ?? \"\");\n } else {\n if (await addProperty(property)) {\n setCurrentPropertyList((prevList) => prevList.concat(property));\n setQuery(queryBuilder?.buildQueryString() ?? \"\");\n }\n }\n }, [\n addProperty,\n isPropertySelected,\n property,\n removeProperty,\n queryBuilder,\n setCurrentPropertyList,\n setQuery,\n ]);\n\n return (\n <div className=\"gmw-property-selection-checkbox\">\n {property.value.valueFormat === PropertyValueFormat.Primitive &&\n property.value.value !== undefined && (\n <Checkbox\n checked={isPropertySelected}\n onChange={onPropertySelectionChanged}\n disabled={isUpdating}\n isLoading={isCheckboxLoading}\n />\n )}\n </div>\n );\n};\n"]}
@@ -0,0 +1,37 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ import React, { useMemo } from "react";
6
+ import "./PropertyMenu.scss";
7
+ import { GroupPropertyTable } from "./GroupProperties/GroupPropertyTable";
8
+ import { useCombinedFetchRefresh } from "./hooks/useFetchData";
9
+ import { useMappingClient } from "../context/MappingClientContext";
10
+ import { useGroupingMappingApiConfig } from "../context/GroupingApiConfigContext";
11
+ import { usePropertiesContext } from "../context/PropertiesContext";
12
+ import { CalculatedPropertyTable } from "./CalculatedProperties/CalculatedPropertyTable";
13
+ import { CustomCalculationTable } from "./CustomCalculations/CustomCalculationTable";
14
+ export const PropertyMenu = ({ mapping, group, onClickAddGroupProperty, onClickModifyGroupProperty, onClickAddCalculatedProperty, onClickModifyCalculatedProperty, onClickAddCustomCalculationProperty, onClickModifyCustomCalculation, hideGroupProps = false, hideCalculatedProps = false, hideCustomCalculationProps = false, }) => {
15
+ const groupId = group.id;
16
+ const mappingId = mapping.id;
17
+ const { getAccessToken, iModelId } = useGroupingMappingApiConfig();
18
+ const mappingClient = useMappingClient();
19
+ const { groupProperties, setGroupProperties, calculatedProperties, setCalculatedProperties, customCalculationProperties, setCustomCalculationProperties, } = usePropertiesContext();
20
+ const fetchGroupProperties = useMemo(() => {
21
+ return async () => mappingClient.getGroupProperties(await getAccessToken(), iModelId, mappingId, groupId);
22
+ }, [getAccessToken, mappingClient, iModelId, mappingId, groupId]);
23
+ const { isLoading: isLoadingGroupProperties, refreshData: refreshGroupProperties } = useCombinedFetchRefresh(fetchGroupProperties, setGroupProperties);
24
+ const fetchCalculatedProperties = useMemo(() => {
25
+ return async () => mappingClient.getCalculatedProperties(await getAccessToken(), iModelId, mappingId, groupId);
26
+ }, [getAccessToken, mappingClient, iModelId, mappingId, groupId]);
27
+ const { isLoading: isLoadingCalculatedProperties, refreshData: refreshCalculatedProperties } = useCombinedFetchRefresh(fetchCalculatedProperties, setCalculatedProperties);
28
+ const fetchCustomCalculations = useMemo(() => {
29
+ return async () => mappingClient.getCustomCalculations(await getAccessToken(), iModelId, mappingId, groupId);
30
+ }, [getAccessToken, mappingClient, iModelId, mappingId, groupId]);
31
+ const { isLoading: isLoadingCustomCalculations, refreshData: refreshCustomCalculations } = useCombinedFetchRefresh(fetchCustomCalculations, setCustomCalculationProperties);
32
+ return (React.createElement("div", { className: 'gmw-property-menu-wrapper' },
33
+ !hideGroupProps && (React.createElement(GroupPropertyTable, { iModelId: iModelId, mappingId: mappingId, groupId: groupId, onClickAdd: onClickAddGroupProperty, onClickModify: onClickModifyGroupProperty, isLoading: isLoadingGroupProperties, groupProperties: groupProperties ?? [], refresh: refreshGroupProperties })),
34
+ !hideCalculatedProps && (React.createElement(CalculatedPropertyTable, { mappingId: mappingId, groupId: groupId, onClickAdd: onClickAddCalculatedProperty, onClickModify: onClickModifyCalculatedProperty, isLoading: isLoadingCalculatedProperties, calculatedProperties: calculatedProperties ?? [], refresh: refreshCalculatedProperties })),
35
+ !hideCustomCalculationProps && (React.createElement(CustomCalculationTable, { mappingId: mappingId, groupId: groupId, onClickAdd: onClickAddCustomCalculationProperty, onClickModify: onClickModifyCustomCalculation, isLoading: isLoadingCustomCalculations, customCalculations: customCalculationProperties ?? [], refresh: refreshCustomCalculations }))));
36
+ };
37
+ //# sourceMappingURL=PropertyMenu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyMenu.js","sourceRoot":"","sources":["../../../../src/components/Properties/PropertyMenu.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAElF,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAgBrF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAC3B,OAAO,EACP,KAAK,EACL,uBAAuB,EACvB,0BAA0B,EAC1B,4BAA4B,EAC5B,+BAA+B,EAC/B,mCAAmC,EACnC,8BAA8B,EAC9B,cAAc,GAAG,KAAK,EACtB,mBAAmB,GAAG,KAAK,EAC3B,0BAA0B,GAAG,KAAK,GAChB,EAAE,EAAE;IACtB,MAAM,OAAO,GAAG,KAAK,CAAC,EAAE,CAAC;IACzB,MAAM,SAAS,GAAG,OAAO,CAAC,EAAE,CAAC;IAC7B,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,GAAG,2BAA2B,EAAE,CAAC;IACnE,MAAM,aAAa,GAAG,gBAAgB,EAAE,CAAC;IACzC,MAAM,EACJ,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,uBAAuB,EACvB,2BAA2B,EAC3B,8BAA8B,GAC/B,GAAG,oBAAoB,EAAE,CAAC;IAE3B,MAAM,oBAAoB,GAAG,OAAO,CAClC,GAAG,EAAE;QACH,OAAO,KAAK,IAAI,EAAE,CAAC,aAAa,CAAC,kBAAkB,CAAC,MAAM,cAAc,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IAC5G,CAAC,EACD,CAAC,cAAc,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAC9D,CAAC;IACF,MAAM,EAAE,SAAS,EAAE,wBAAwB,EAAE,WAAW,EAAE,sBAAsB,EAAE,GAChF,uBAAuB,CAAgB,oBAAoB,EAAE,kBAAkB,CAAC,CAAC;IAEnF,MAAM,yBAAyB,GAAG,OAAO,CACvC,GAAG,EAAE;QACH,OAAO,KAAK,IAAI,EAAE,CAAC,aAAa,CAAC,uBAAuB,CAAC,MAAM,cAAc,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IACjH,CAAC,EACD,CAAC,cAAc,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAC9D,CAAC;IACF,MAAM,EAAE,SAAS,EAAE,6BAA6B,EAAE,WAAW,EAAE,2BAA2B,EAAE,GAC1F,uBAAuB,CAAqB,yBAAyB,EAAE,uBAAuB,CAAC,CAAC;IAElG,MAAM,uBAAuB,GAAG,OAAO,CACrC,GAAG,EAAE;QACH,OAAO,KAAK,IAAI,EAAE,CAAC,aAAa,CAAC,qBAAqB,CAAC,MAAM,cAAc,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IAC/G,CAAC,EACD,CAAC,cAAc,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAC9D,CAAC;IACF,MAAM,EAAE,SAAS,EAAE,2BAA2B,EAAE,WAAW,EAAE,yBAAyB,EAAE,GACtF,uBAAuB,CAAoB,uBAAuB,EAAE,8BAA8B,CAAC,CAAC;IAEtG,OAAO,CACL,6BAAK,SAAS,EAAC,2BAA2B;QACvC,CAAC,cAAc,IAAI,CAClB,oBAAC,kBAAkB,IACjB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,uBAAuB,EACnC,aAAa,EAAE,0BAA0B,EACzC,SAAS,EAAE,wBAAwB,EACnC,eAAe,EAAE,eAAe,IAAI,EAAE,EACtC,OAAO,EAAE,sBAAsB,GAC/B,CACH;QACA,CAAC,mBAAmB,IAAI,CACvB,oBAAC,uBAAuB,IACtB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,4BAA4B,EACxC,aAAa,EAAE,+BAA+B,EAC9C,SAAS,EAAE,6BAA6B,EACxC,oBAAoB,EAAE,oBAAoB,IAAI,EAAE,EAChD,OAAO,EAAE,2BAA2B,GACpC,CACH;QACA,CAAC,0BAA0B,IAAI,CAC9B,oBAAC,sBAAsB,IACrB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,mCAAmC,EAC/C,aAAa,EAAE,8BAA8B,EAC7C,SAAS,EAAE,2BAA2B,EACtC,kBAAkB,EAAE,2BAA2B,IAAI,EAAE,EACrD,OAAO,EAAE,yBAAyB,GAClC,CACH,CACG,CACP,CAAC;AACJ,CAAC,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 React, { useMemo } from \"react\";\nimport \"./PropertyMenu.scss\";\nimport { GroupPropertyTable } from \"./GroupProperties/GroupPropertyTable\";\nimport { useCombinedFetchRefresh } from \"./hooks/useFetchData\";\nimport { useMappingClient } from \"../context/MappingClientContext\";\nimport { useGroupingMappingApiConfig } from \"../context/GroupingApiConfigContext\";\nimport type { CalculatedProperty, CustomCalculation, Group, GroupProperty, Mapping } from \"@itwin/insights-client\";\nimport { usePropertiesContext } from \"../context/PropertiesContext\";\nimport { CalculatedPropertyTable } from \"./CalculatedProperties/CalculatedPropertyTable\";\nimport { CustomCalculationTable } from \"./CustomCalculations/CustomCalculationTable\";\n\nexport interface PropertyMenuProps {\n mapping: Mapping;\n group: Group;\n onClickAddGroupProperty?: () => void;\n onClickModifyGroupProperty?: (groupProperty: GroupProperty) => void;\n onClickAddCalculatedProperty?: () => void;\n onClickModifyCalculatedProperty?: (calculatedProperty: CalculatedProperty) => void;\n onClickAddCustomCalculationProperty?: () => void;\n onClickModifyCustomCalculation?: (customCalculation: CustomCalculation) => void;\n hideGroupProps?: boolean;\n hideCalculatedProps?: boolean;\n hideCustomCalculationProps?: boolean;\n}\n\nexport const PropertyMenu = ({\n mapping,\n group,\n onClickAddGroupProperty,\n onClickModifyGroupProperty,\n onClickAddCalculatedProperty,\n onClickModifyCalculatedProperty,\n onClickAddCustomCalculationProperty,\n onClickModifyCustomCalculation,\n hideGroupProps = false,\n hideCalculatedProps = false,\n hideCustomCalculationProps = false,\n}: PropertyMenuProps) => {\n const groupId = group.id;\n const mappingId = mapping.id;\n const { getAccessToken, iModelId } = useGroupingMappingApiConfig();\n const mappingClient = useMappingClient();\n const {\n groupProperties,\n setGroupProperties,\n calculatedProperties,\n setCalculatedProperties,\n customCalculationProperties,\n setCustomCalculationProperties,\n } = usePropertiesContext();\n\n const fetchGroupProperties = useMemo(\n () => {\n return async () => mappingClient.getGroupProperties(await getAccessToken(), iModelId, mappingId, groupId);\n },\n [getAccessToken, mappingClient, iModelId, mappingId, groupId],\n );\n const { isLoading: isLoadingGroupProperties, refreshData: refreshGroupProperties } =\n useCombinedFetchRefresh<GroupProperty>(fetchGroupProperties, setGroupProperties);\n\n const fetchCalculatedProperties = useMemo(\n () => {\n return async () => mappingClient.getCalculatedProperties(await getAccessToken(), iModelId, mappingId, groupId);\n },\n [getAccessToken, mappingClient, iModelId, mappingId, groupId],\n );\n const { isLoading: isLoadingCalculatedProperties, refreshData: refreshCalculatedProperties } =\n useCombinedFetchRefresh<CalculatedProperty>(fetchCalculatedProperties, setCalculatedProperties);\n\n const fetchCustomCalculations = useMemo(\n () => {\n return async () => mappingClient.getCustomCalculations(await getAccessToken(), iModelId, mappingId, groupId);\n },\n [getAccessToken, mappingClient, iModelId, mappingId, groupId],\n );\n const { isLoading: isLoadingCustomCalculations, refreshData: refreshCustomCalculations } =\n useCombinedFetchRefresh<CustomCalculation>(fetchCustomCalculations, setCustomCalculationProperties);\n\n return (\n <div className='gmw-property-menu-wrapper'>\n {!hideGroupProps && (\n <GroupPropertyTable\n iModelId={iModelId}\n mappingId={mappingId}\n groupId={groupId}\n onClickAdd={onClickAddGroupProperty}\n onClickModify={onClickModifyGroupProperty}\n isLoading={isLoadingGroupProperties}\n groupProperties={groupProperties ?? []}\n refresh={refreshGroupProperties}\n />\n )}\n {!hideCalculatedProps && (\n <CalculatedPropertyTable\n mappingId={mappingId}\n groupId={groupId}\n onClickAdd={onClickAddCalculatedProperty}\n onClickModify={onClickModifyCalculatedProperty}\n isLoading={isLoadingCalculatedProperties}\n calculatedProperties={calculatedProperties ?? []}\n refresh={refreshCalculatedProperties}\n />\n )}\n {!hideCustomCalculationProps && (\n <CustomCalculationTable\n mappingId={mappingId}\n groupId={groupId}\n onClickAdd={onClickAddCustomCalculationProperty}\n onClickModify={onClickModifyCustomCalculation}\n isLoading={isLoadingCustomCalculations}\n customCalculations={customCalculationProperties ?? []}\n refresh={refreshCustomCalculations}\n />\n )}\n </div>\n );\n};\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyMenuWithVisualization.js","sourceRoot":"","sources":["../../../../src/components/Properties/PropertyMenuWithVisualization.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,sCAAsC,CAAC;AAM9C,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,EAC5C,KAAK,EACL,KAAK,EACL,GAAG,IAAI,EAC4B,EAAE,EAAE;IACvC,MAAM,CAAC,sBAAsB,EAAE,yBAAyB,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAC;IAErF,OAAO,CACL,oBAAC,uBAAuB,IAAC,SAAS,EAAC,+BAA+B;QAChE,6BAAK,SAAS,EAAC,+BAA+B;YAC5C,oBAAC,gBAAgB,IAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,aAAa,EAAC,MAAM,GAAG;YACrE,oBAAC,UAAU,IACT,SAAS,EAAC,YAAY,EACtB,OAAO,EAAE,GAAG,EAAE,CAAC,yBAAyB,CAAC,IAAI,CAAC,EAC9C,KAAK,EAAC,mBAAmB;gBAEzB,oBAAC,aAAa,OAAG,CACN,CACT;QACN,oBAAC,YAAY,IAAC,KAAK,EAAE,KAAK,KAAM,IAAI,GAAI;QACxC,oBAAC,qBAAqB,IACpB,MAAM,EAAE,sBAAsB,EAC9B,OAAO,EAAE,GAAG,EAAE,CAAC,yBAAyB,CAAC,KAAK,CAAC,EAC/C,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,SAAS,EAAE,KAAK,CAAC,SAAS,GAC1B,CACsB,CAC3B,CAAC;AACJ,CAAC,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 React, { useState } from \"react\";\nimport type { PropertyMenuProps } from \"./PropertyMenu\";\nimport { PropertyMenu } from \"./PropertyMenu\";\nimport { GroupColorToggle } from \"./GroupColorToggle\";\nimport { IconButton, InformationPanelWrapper } from \"@itwin/itwinui-react\";\nimport { GroupInformationPanel } from \"./GroupInformationPanel\";\nimport { SvgProperties } from \"@itwin/itwinui-icons-react\";\nimport \"./PropertyMenuWithVisualization.scss\";\n\nexport interface PropertyMenuWithVisualizationProps extends PropertyMenuProps {\n color: string;\n}\n\nexport const PropertyMenuWithVisualization = ({\n group,\n color,\n ...rest\n}: PropertyMenuWithVisualizationProps) => {\n const [isInformationPanelOpen, setIsInformationPanelOpen] = useState<boolean>(false);\n\n return (\n <InformationPanelWrapper className='gmw-property-menu-vis-wrapper'>\n <div className=\"gmw-property-menu-vis-toolbar\">\n <GroupColorToggle group={group} color={color} labelPosition=\"left\" />\n <IconButton\n styleType='borderless'\n onClick={() => setIsInformationPanelOpen(true)}\n title='Group Information'\n >\n <SvgProperties />\n </IconButton>\n </div>\n <PropertyMenu group={group} {...rest} />\n <GroupInformationPanel\n isOpen={isInformationPanelOpen}\n onClose={() => setIsInformationPanelOpen(false)}\n query={group.query}\n groupName={group.groupName}\n />\n </InformationPanelWrapper>\n );\n};\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyNameCell.js","sourceRoot":"","sources":["../../../../src/components/Properties/PropertyNameCell.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAO5C,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAsC,EACpE,QAAQ,EACR,aAAa,GACY,EAAE,EAAE,CAC7B,aAAa,CAAC,CAAC,CAAC,CACd,6BAAK,SAAS,EAAC,YAAY,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,IAC/D,QAAQ,CAAC,YAAY,CAClB,CACP,CAAC,CAAC,CAAC,CACF,oBAAC,IAAI,QAAE,QAAQ,CAAC,YAAY,CAAQ,CACrC,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 React from \"react\";\nimport { Text } from \"@itwin/itwinui-react\";\n\nexport interface PropertyNameCellProps<T extends { propertyName: string }> {\n property: T;\n onClickModify?: (value: T) => void;\n}\n\nexport const PropertyNameCell = <T extends { propertyName: string },>({\n property,\n onClickModify,\n}: PropertyNameCellProps<T>) =>\n onClickModify ? (\n <div className=\"iui-anchor\" onClick={() => onClickModify(property)}>\n {property.propertyName}\n </div>\n ) : (\n <Text>{property.propertyName}</Text>\n );\n"]}
@@ -0,0 +1,27 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ import { Table } from "@itwin/itwinui-react";
6
+ import React, { useCallback, useMemo, useState } from "react";
7
+ import DeleteModal from "../SharedComponents/DeleteModal";
8
+ import { PropertyTableToolbar } from "./PropertyTableToolbar";
9
+ import "./PropertyTable.scss";
10
+ export const PropertyTable = ({ propertyType, columnsFactory, data, isLoading, onClickAdd, refreshProperties, deleteProperty, }) => {
11
+ const [showDeleteModal, setShowDeleteModal] = useState(undefined);
12
+ const handleDeleteProperty = useCallback(async () => {
13
+ await deleteProperty(showDeleteModal?.id ?? "");
14
+ }, [deleteProperty, showDeleteModal?.id]);
15
+ const handleShowDeleteModal = useCallback((property) => {
16
+ setShowDeleteModal(property);
17
+ }, []);
18
+ const handleCloseDeleteModal = () => {
19
+ setShowDeleteModal(undefined);
20
+ };
21
+ const memoizedColumns = useMemo(() => columnsFactory(handleShowDeleteModal), [columnsFactory, handleShowDeleteModal]);
22
+ return (React.createElement("div", { className: "gmw-property-table-container" },
23
+ React.createElement(PropertyTableToolbar, { propertyType: propertyType, onClickAddProperty: onClickAdd, refreshProperties: refreshProperties, isLoading: isLoading }),
24
+ React.createElement(Table, { data: isLoading ? [] : data, density: 'extra-condensed', columns: memoizedColumns, emptyTableContent: `No ${propertyType} Properties`, isSortable: true, isLoading: isLoading }),
25
+ React.createElement(DeleteModal, { entityName: showDeleteModal?.propertyName, onClose: handleCloseDeleteModal, onDelete: handleDeleteProperty, refresh: refreshProperties })));
26
+ };
27
+ //# sourceMappingURL=PropertyTable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyTable.js","sourceRoot":"","sources":["../../../../src/components/Properties/PropertyTable.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAG9D,OAAO,WAAW,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,sBAAsB,CAAC;AAiB9B,MAAM,CAAC,MAAM,aAAa,GAAG,CAA8B,EACzD,YAAY,EACZ,cAAc,EACd,IAAI,EACJ,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,cAAc,GACQ,EAAE,EAAE;IAE1B,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAgB,SAAS,CAAC,CAAC;IAEjF,MAAM,oBAAoB,GAAG,WAAW,CAAC,KAAK,IAAI,EAAE;QAClD,MAAM,cAAc,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;IAClD,CAAC,EAAE,CAAC,cAAc,EAAE,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC;IAE1C,MAAM,qBAAqB,GAAG,WAAW,CAAC,CAAC,QAAW,EAAE,EAAE;QACxD,kBAAkB,CAAC,QAAQ,CAAC,CAAC;IAC/B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,sBAAsB,GAAG,GAAG,EAAE;QAClC,kBAAkB,CAAC,SAAS,CAAC,CAAC;IAChC,CAAC,CAAC;IAEF,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,EAAE,CACnC,cAAc,CAAC,qBAAqB,CAAC,EAAE,CAAC,cAAc,EAAE,qBAAqB,CAAC,CAAC,CAAC;IAElF,OAAO,CACL,6BAAK,SAAS,EAAC,8BAA8B;QAC3C,oBAAC,oBAAoB,IACnB,YAAY,EAAE,YAAY,EAC1B,kBAAkB,EAAE,UAAU,EAC9B,iBAAiB,EAAE,iBAAiB,EACpC,SAAS,EAAE,SAAS,GACpB;QACF,oBAAC,KAAK,IACJ,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,EAC3B,OAAO,EAAC,iBAAiB,EACzB,OAAO,EAAE,eAAe,EACxB,iBAAiB,EAAE,MAAM,YAAY,aAAa,EAClD,UAAU,QACV,SAAS,EAAE,SAAS,GACpB;QACF,oBAAC,WAAW,IACV,UAAU,EAAE,eAAe,EAAE,YAAY,EACzC,OAAO,EAAE,sBAAsB,EAC/B,QAAQ,EAAE,oBAAoB,EAC9B,OAAO,EAAE,iBAAiB,GAC1B,CACE,CACP,CAAC;AACJ,CAAC,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 { Table } from \"@itwin/itwinui-react\";\nimport React, { useCallback, useMemo, useState } from \"react\";\nimport type { Column } from \"react-table\";\nimport type { CreateTypeFromInterface } from \"../../common/utils\";\nimport DeleteModal from \"../SharedComponents/DeleteModal\";\nimport { PropertyTableToolbar } from \"./PropertyTableToolbar\";\nimport \"./PropertyTable.scss\";\n\nexport interface PropertyTableItem {\n propertyName: string;\n id: string;\n}\n\nexport interface PropertyTableProps<T extends PropertyTableItem> {\n propertyType: string;\n columnsFactory: (handleShowDeleteModal: (value: T) => void) => Array<Column<T>>;\n data: T[];\n isLoading: boolean;\n onClickAdd?: () => void;\n refreshProperties: () => Promise<void>;\n deleteProperty: (propertyId: string) => Promise<void>;\n}\n\nexport const PropertyTable = <T extends PropertyTableItem>({\n propertyType,\n columnsFactory,\n data,\n isLoading,\n onClickAdd,\n refreshProperties,\n deleteProperty,\n}: PropertyTableProps<T>) => {\n\n const [showDeleteModal, setShowDeleteModal] = useState<T | undefined>(undefined);\n\n const handleDeleteProperty = useCallback(async () => {\n await deleteProperty(showDeleteModal?.id ?? \"\");\n }, [deleteProperty, showDeleteModal?.id]);\n\n const handleShowDeleteModal = useCallback((property: T) => {\n setShowDeleteModal(property);\n }, []);\n\n const handleCloseDeleteModal = () => {\n setShowDeleteModal(undefined);\n };\n\n const memoizedColumns = useMemo(() =>\n columnsFactory(handleShowDeleteModal), [columnsFactory, handleShowDeleteModal]);\n\n return (\n <div className=\"gmw-property-table-container\">\n <PropertyTableToolbar\n propertyType={propertyType}\n onClickAddProperty={onClickAdd}\n refreshProperties={refreshProperties}\n isLoading={isLoading}\n />\n <Table<CreateTypeFromInterface<T>>\n data={isLoading ? [] : data}\n density='extra-condensed'\n columns={memoizedColumns}\n emptyTableContent={`No ${propertyType} Properties`}\n isSortable\n isLoading={isLoading}\n />\n <DeleteModal\n entityName={showDeleteModal?.propertyName}\n onClose={handleCloseDeleteModal}\n onDelete={handleDeleteProperty}\n refresh={refreshProperties}\n />\n </div>\n );\n};\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyTableToolbar.js","sourceRoot":"","sources":["../../../../src/components/Properties/PropertyTableToolbar.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,6BAA6B,CAAC;AASrC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,GACiB,EAAE,EAAE,CAAC,CAC/B,6BAAK,SAAS,EAAC,4BAA4B;IACxC,kBAAkB,IAAI,CACrB,oBAAC,MAAM,IACL,SAAS,EAAE,oBAAC,MAAM,OAAG,EACrB,SAAS,EAAC,iBAAiB,EAC3B,OAAO,EAAE,kBAAkB;;QAEtB,YAAY;oBACV,CACV;IACD,oBAAC,UAAU,IACT,KAAK,EAAC,SAAS,EACf,SAAS,EAAC,mCAAmC,EAC7C,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,SAAS,EACnB,SAAS,EAAC,YAAY;QAEtB,oBAAC,UAAU,OAAG,CACH,CACT,CACP,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 React from \"react\";\nimport { SvgAdd, SvgRefresh } from \"@itwin/itwinui-icons-react\";\nimport { Button, IconButton } from \"@itwin/itwinui-react\";\nimport \"./PropertyTableToolbar.scss\";\n\nexport interface PropertyTableToolbarProps {\n propertyType: string;\n onClickAddProperty?: () => void;\n refreshProperties: () => void;\n isLoading: boolean;\n}\n\nexport const PropertyTableToolbar = ({\n propertyType,\n onClickAddProperty,\n refreshProperties,\n isLoading,\n}: PropertyTableToolbarProps) => (\n <div className=\"gmw-property-table-toolbar\">\n {onClickAddProperty && (\n <Button\n startIcon={<SvgAdd />}\n styleType=\"high-visibility\"\n onClick={onClickAddProperty}\n >\n Add {propertyType} Property\n </Button>\n )}\n <IconButton\n title=\"Refresh\"\n className=\"gmw-property-table-refresh-button\"\n onClick={refreshProperties}\n disabled={isLoading}\n styleType=\"borderless\"\n >\n <SvgRefresh />\n </IconButton>\n </div>\n);\n"]}
@@ -0,0 +1,37 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ import { useCallback, useEffect, useState } from "react";
6
+ import { handleError } from "../../../common/utils";
7
+ const fetchData = async (setData, fetchFunc, setIsLoading) => {
8
+ try {
9
+ setIsLoading(true);
10
+ const data = await fetchFunc();
11
+ setData(data ?? []);
12
+ }
13
+ catch (error) {
14
+ handleError(error.status);
15
+ }
16
+ finally {
17
+ setIsLoading(false);
18
+ }
19
+ };
20
+ export const useFetchData = (fetchFunc, setData, setIsLoading) => {
21
+ useEffect(() => {
22
+ void fetchData(setData, fetchFunc, setIsLoading);
23
+ }, [fetchFunc, setData, setIsLoading]);
24
+ };
25
+ export const useRefreshData = (setData, fetchFunc, setIsLoading) => {
26
+ return useCallback(async () => {
27
+ setData([]);
28
+ await fetchData(setData, fetchFunc, setIsLoading);
29
+ }, [setData, fetchFunc, setIsLoading]);
30
+ };
31
+ export const useCombinedFetchRefresh = (fetchFunc, setData) => {
32
+ const [isLoading, setIsLoading] = useState(true);
33
+ useFetchData(fetchFunc, setData, setIsLoading);
34
+ const refreshData = useRefreshData(setData, fetchFunc, setIsLoading);
35
+ return { isLoading, refreshData };
36
+ };
37
+ //# sourceMappingURL=useFetchData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFetchData.js","sourceRoot":"","sources":["../../../../../src/components/Properties/hooks/useFetchData.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,MAAM,SAAS,GAAG,KAAK,EACrB,OAA4B,EAC5B,SAAyC,EACzC,YAA0C,EAC1C,EAAE;IACF,IAAI;QACF,YAAY,CAAC,IAAI,CAAC,CAAC;QACnB,MAAM,IAAI,GAAG,MAAM,SAAS,EAAE,CAAC;QAC/B,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;KACrB;IAAC,OAAO,KAAU,EAAE;QACnB,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KAC3B;YAAS;QACR,YAAY,CAAC,KAAK,CAAC,CAAC;KACrB;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,SAAyC,EACzC,OAA4B,EAC5B,YAA0C,EAC1C,EAAE;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,KAAK,SAAS,CACZ,OAAO,EACP,SAAS,EACT,YAAY,CACb,CAAC;IACJ,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC;AACzC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,OAA4B,EAC5B,SAAyC,EACzC,YAA0C,EACrB,EAAE;IACvB,OAAO,WAAW,CAAC,KAAK,IAAI,EAAE;QAC5B,OAAO,CAAC,EAAE,CAAC,CAAC;QACZ,MAAM,SAAS,CACb,OAAO,EACP,SAAS,EACT,YAAY,CACb,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC;AACzC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAI,SAAyC,EAAE,OAA4B,EAAE,EAAE;IACpH,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAU,IAAI,CAAC,CAAC;IAC1D,YAAY,CAAC,SAAS,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC;IAC/C,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE,YAAY,CAAC,CAAC;IACrE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;AACpC,CAAC,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 { useCallback, useEffect, useState } from \"react\";\nimport { handleError } from \"../../../common/utils\";\n\nconst fetchData = async<T>(\n setData: (data: T[]) => void,\n fetchFunc: () => Promise<T[] | undefined>,\n setIsLoading: (isLoading: boolean) => void,\n) => {\n try {\n setIsLoading(true);\n const data = await fetchFunc();\n setData(data ?? []);\n } catch (error: any) {\n handleError(error.status);\n } finally {\n setIsLoading(false);\n }\n};\n\nexport const useFetchData = <T>(\n fetchFunc: () => Promise<T[] | undefined>,\n setData: (data: T[]) => void,\n setIsLoading: (isLoading: boolean) => void,\n) => {\n\n useEffect(() => {\n void fetchData(\n setData,\n fetchFunc,\n setIsLoading,\n );\n }, [fetchFunc, setData, setIsLoading]);\n};\n\nexport const useRefreshData = <T>(\n setData: (data: T[]) => void,\n fetchFunc: () => Promise<T[] | undefined>,\n setIsLoading: (isLoading: boolean) => void,\n): () => Promise<void> => {\n return useCallback(async () => {\n setData([]);\n await fetchData(\n setData,\n fetchFunc,\n setIsLoading,\n );\n }, [setData, fetchFunc, setIsLoading]);\n};\n\nexport const useCombinedFetchRefresh = <T>(fetchFunc: () => Promise<T[] | undefined>, setData: (data: T[]) => void) => {\n const [isLoading, setIsLoading] = useState<boolean>(true);\n useFetchData(fetchFunc, setData, setIsLoading);\n const refreshData = useRefreshData(setData, fetchFunc, setIsLoading);\n return { isLoading, refreshData };\n};\n"]}
@@ -0,0 +1,6 @@
1
+ import type { PropertyMap } from "../../../formula/Types";
2
+ export declare function useFormulaValidation(formulaName: string, formula: string, properties: PropertyMap, setFormulaErrorMessage: (s: string) => void): {
3
+ isValid: boolean;
4
+ forceValidation: () => boolean;
5
+ };
6
+ //# sourceMappingURL=useFormulaValidation.d.ts.map
@@ -0,0 +1,25 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ import { useEffect, useState } from "react";
6
+ import { resolveFormulaDataType } from "../../../formula/FormulaDataTypeResolver";
7
+ import { debounce } from "../../../common/utils";
8
+ function validate(formulaName, formula, properties, setFormulaErrorMessage, setIsValid) {
9
+ if (!formula) {
10
+ setFormulaErrorMessage("");
11
+ setIsValid(false);
12
+ return false;
13
+ }
14
+ const error = resolveFormulaDataType(formulaName, formula, properties).errorMessage ?? "";
15
+ setFormulaErrorMessage(error);
16
+ setIsValid(!error);
17
+ return !error;
18
+ }
19
+ const debouncedValidationFunc = debounce(validate, 5000);
20
+ export function useFormulaValidation(formulaName, formula, properties, setFormulaErrorMessage) {
21
+ const [isValid, setIsValid] = useState(false);
22
+ useEffect(() => debouncedValidationFunc(formulaName, formula, properties, setFormulaErrorMessage, setIsValid), [formulaName, formula, properties, setFormulaErrorMessage]);
23
+ return { isValid, forceValidation: () => validate(formulaName, formula, properties, setFormulaErrorMessage, setIsValid) };
24
+ }
25
+ //# sourceMappingURL=useFormulaValidation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFormulaValidation.js","sourceRoot":"","sources":["../../../../../src/components/Properties/hooks/useFormulaValidation.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAElF,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,SAAS,QAAQ,CAAC,WAAmB,EAAE,OAAe,EAAE,UAAuB,EAAE,sBAA2C,EAAE,UAAgC;IAC5J,IAAI,CAAC,OAAO,EAAE;QACZ,sBAAsB,CAAC,EAAE,CAAC,CAAC;QAC3B,UAAU,CAAC,KAAK,CAAC,CAAC;QAClB,OAAO,KAAK,CAAC;KACd;IAED,MAAM,KAAK,GAAG,sBAAsB,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC,YAAY,IAAI,EAAE,CAAC;IAC1F,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAC9B,UAAU,CAAC,CAAC,KAAK,CAAC,CAAC;IACnB,OAAO,CAAC,KAAK,CAAC;AAChB,CAAC;AAED,MAAM,uBAAuB,GAAG,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;AAEzD,MAAM,UAAU,oBAAoB,CAAC,WAAmB,EAAE,OAAe,EAAE,UAAuB,EAAE,sBAA2C;IAC7I,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,SAAS,CAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,UAAU,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,sBAAsB,CAAC,CAAC,CAAC;IAC3K,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,UAAU,CAAC,EAAE,CAAC;AAC5H,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 { useEffect, useState } from \"react\";\nimport { resolveFormulaDataType } from \"../../../formula/FormulaDataTypeResolver\";\nimport type { PropertyMap } from \"../../../formula/Types\";\nimport { debounce } from \"../../../common/utils\";\n\nfunction validate(formulaName: string, formula: string, properties: PropertyMap, setFormulaErrorMessage: (s: string) => void, setIsValid: (b: boolean) => void): boolean {\n if (!formula) {\n setFormulaErrorMessage(\"\");\n setIsValid(false);\n return false;\n }\n\n const error = resolveFormulaDataType(formulaName, formula, properties).errorMessage ?? \"\";\n setFormulaErrorMessage(error);\n setIsValid(!error);\n return !error;\n}\n\nconst debouncedValidationFunc = debounce(validate, 5000);\n\nexport function useFormulaValidation(formulaName: string, formula: string, properties: PropertyMap, setFormulaErrorMessage: (s: string) => void) {\n const [isValid, setIsValid] = useState(false);\n useEffect(() => debouncedValidationFunc(formulaName, formula, properties, setFormulaErrorMessage, setIsValid), [formulaName, formula, properties, setFormulaErrorMessage]);\n return { isValid, forceValidation: () => validate(formulaName, formula, properties, setFormulaErrorMessage, setIsValid) };\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useValidator.js","sourceRoot":"","sources":["../../../../../src/components/Properties/hooks/useValidator.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAE1D,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,qBAAqB,EAAE;QACrB,OAAO,EAAE,sBAAsB;QAC/B,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC5B,CAAC;KACF;IACD,gCAAgC,EAAE;QAChC,OAAO,EAAE,kDAAkD;QAC3D,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,MAAM,YAAY,GAAG,IAAI,MAAM,CAAC,mBAAmB,CAAC,CAAC;YACrD,OAAO,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAChC,CAAC;KACF;IACD,qCAAqC,EAAE;QACrC,OAAO,EAAE,uDAAuD;QAChE,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,MAAM,YAAY,GAAG,IAAI,MAAM,CAAC,gDAAgD,CAAC,CAAC;YAClF,OAAO,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAChC,CAAC;KACF;IACD,SAAS,EAAE;QACT,OAAO,EAAE,kCAAkC;QAC3C,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,OAAO,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC;QAC3B,CAAC;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAC5B,iHAAiH,CAAC;AAEpH,MAAM,CAAC,MAAM,QAAQ,GAAG,EAAE,QAAQ,EAAE,yBAAyB,EAAE,CAAC;AAEhE,MAAM,YAAY,GAAG,CACnB,aAAa,GAAG,QAAQ,EACxB,eAAe,GAAG,UAAU,EAC2C,EAAE;IACzE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxC,MAAM,SAAS,GAAG,IAAI,oBAAoB,CAAC;QACzC,QAAQ,EAAE,aAAa;QACvB,UAAU,EAAE,eAAe;KAC5B,CAAC,CAAC;IAEH,IAAI,IAAI,EAAE;QACR,SAAS,CAAC,YAAY,EAAE,CAAC;KAC1B;IAED,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;AAC9B,CAAC,CAAC;AAEF,eAAe,YAAY,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 { useState } from \"react\";\nimport SimpleReactValidator from \"simple-react-validator\";\n\nexport const Validators = {\n NoDuplicateUnderscore: {\n message: 'Remove duplicate \"_\"',\n rule: (val: string) => {\n return !val.match(/__+/i);\n },\n },\n OnlyBeginsWithLetterOrUnderscore: {\n message: \"Name can only start with a letter or underscore.\",\n rule: (val: string) => {\n const regexPattern = new RegExp(/^[\\p{L}\\p{Nl}_]+/u);\n return regexPattern.test(val);\n },\n },\n FollowedByLettersUnderscoresAndDigits: {\n message: \"Name can only contain letters, underscores, or digits\",\n rule: (val: string) => {\n const regexPattern = new RegExp(/[\\p{L}\\p{Nl}\\p{Nd}\\p{Mn}\\p{Mc}\\p{Pc}\\p{Cf}]+$/u);\n return regexPattern.test(val);\n },\n },\n CharLimit: {\n message: \"There is an 128 character limit.\",\n rule: (val: string) => {\n return val.length <= 128;\n },\n },\n};\n\nexport const NAME_REQUIREMENTS =\n \"required|NoDuplicateUnderscore|OnlyBeginsWithLetterOrUnderscore|FollowedByLettersUnderscoresAndDigits|CharLimit\";\n\nexport const Messages = { required: \"This field is required.\" };\n\nconst useValidator = (\n customMessage = Messages,\n customValidator = Validators,\n): [SimpleReactValidator, React.Dispatch<React.SetStateAction<boolean>>] => {\n const [show, setShow] = useState(false);\n const validator = new SimpleReactValidator({\n messages: customMessage,\n validators: customValidator,\n });\n\n if (show) {\n validator.showMessages();\n }\n\n return [validator, setShow];\n};\n\nexport default useValidator;\n"]}
@@ -0,0 +1,18 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ import { Button } from "@itwin/itwinui-react";
6
+ import * as React from "react";
7
+ import "./ActionPanel.scss";
8
+ import { LoadingSpinner } from "./LoadingSpinner";
9
+ const ActionPanel = ({ onSave, onCancel, isCancelDisabled = false, isSavingDisabled = false, isLoading = false, }) => {
10
+ return (React.createElement("div", { id: 'action', className: 'gmw-action-panel-container' },
11
+ React.createElement("div", { className: 'gmw-action-panel' },
12
+ isLoading &&
13
+ React.createElement(LoadingSpinner, null),
14
+ React.createElement(Button, { disabled: isSavingDisabled || isLoading, styleType: 'high-visibility', id: 'save-app', onClick: onSave }, "Save"),
15
+ onCancel && React.createElement(Button, { styleType: 'default', type: 'button', id: 'cancel', onClick: onCancel, disabled: isCancelDisabled || isLoading }, "Cancel"))));
16
+ };
17
+ export default ActionPanel;
18
+ //# sourceMappingURL=ActionPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionPanel.js","sourceRoot":"","sources":["../../../../src/components/SharedComponents/ActionPanel.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAUlD,MAAM,WAAW,GAAG,CAAC,EACnB,MAAM,EACN,QAAQ,EACR,gBAAgB,GAAG,KAAK,EACxB,gBAAgB,GAAG,KAAK,EACxB,SAAS,GAAG,KAAK,GACA,EAAe,EAAE;IAClC,OAAO,CACL,6BAAK,EAAE,EAAC,QAAQ,EAAC,SAAS,EAAC,4BAA4B;QACrD,6BAAK,SAAS,EAAC,kBAAkB;YAC9B,SAAS;gBACR,oBAAC,cAAc,OAAG;YAEpB,oBAAC,MAAM,IACL,QAAQ,EAAE,gBAAgB,IAAI,SAAS,EACvC,SAAS,EAAC,iBAAiB,EAC3B,EAAE,EAAC,UAAU,EACb,OAAO,EAAE,MAAM,WAGR;YACR,QAAQ,IAAI,oBAAC,MAAM,IAClB,SAAS,EAAC,SAAS,EACnB,IAAI,EAAC,QAAQ,EACb,EAAE,EAAC,QAAQ,EACX,OAAO,EAAE,QAAQ,EACjB,QAAQ,EAAE,gBAAgB,IAAI,SAAS,aAGhC,CACL,CACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,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 { Button } from \"@itwin/itwinui-react\";\nimport * as React from \"react\";\nimport \"./ActionPanel.scss\";\nimport { LoadingSpinner } from \"./LoadingSpinner\";\n\nexport interface ActionPanelProps {\n onSave: () => void;\n onCancel?: () => void;\n isCancelDisabled?: boolean;\n isSavingDisabled?: boolean;\n isLoading?: boolean;\n}\n\nconst ActionPanel = ({\n onSave,\n onCancel,\n isCancelDisabled = false,\n isSavingDisabled = false,\n isLoading = false,\n}: ActionPanelProps): JSX.Element => {\n return (\n <div id='action' className='gmw-action-panel-container'>\n <div className='gmw-action-panel'>\n {isLoading &&\n <LoadingSpinner />\n }\n <Button\n disabled={isSavingDisabled || isLoading}\n styleType='high-visibility'\n id='save-app'\n onClick={onSave}\n >\n Save\n </Button>\n {onCancel && <Button\n styleType='default'\n type='button'\n id='cancel'\n onClick={onCancel}\n disabled={isCancelDisabled || isLoading}\n >\n Cancel\n </Button>}\n </div>\n </div>\n );\n};\n\nexport default ActionPanel;\n"]}
@@ -0,0 +1,39 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ import { Button, MiddleTextTruncation, Modal, ModalButtonBar, Text, } from "@itwin/itwinui-react";
6
+ import React, { useState } from "react";
7
+ import { handleError } from "../../common/utils";
8
+ import "./DeleteModal.scss";
9
+ import { LoadingSpinner } from "./LoadingSpinner";
10
+ export const DeleteModal = ({ entityName, onClose, onDelete, refresh, }) => {
11
+ const [isDeleting, setIsDeleting] = useState(false);
12
+ const deleteCallback = async () => {
13
+ try {
14
+ setIsDeleting(true);
15
+ await onDelete();
16
+ await refresh();
17
+ onClose();
18
+ }
19
+ catch (error) {
20
+ handleError(error.status);
21
+ }
22
+ finally {
23
+ setIsDeleting(false);
24
+ }
25
+ };
26
+ return (React.createElement(React.Fragment, null,
27
+ React.createElement(Modal, { title: 'Confirm', modalRootId: 'grouping-mapping-widget', isOpen: !!entityName, isDismissible: !isDeleting, onClose: onClose },
28
+ React.createElement("div", { className: "gmw-delete-modal-body-text" },
29
+ React.createElement(Text, { variant: "leading", as: "h3" }, "Are you sure you want to delete"),
30
+ React.createElement("strong", null, React.createElement(MiddleTextTruncation, { text: `${entityName}?` }))),
31
+ React.createElement(ModalButtonBar, null,
32
+ isDeleting &&
33
+ React.createElement("div", { className: "gmw-loading-delete" },
34
+ React.createElement(LoadingSpinner, null)),
35
+ React.createElement(Button, { styleType: 'high-visibility', onClick: deleteCallback, disabled: isDeleting }, "Delete"),
36
+ React.createElement(Button, { styleType: 'default', onClick: onClose, disabled: isDeleting }, "Cancel")))));
37
+ };
38
+ export default DeleteModal;
39
+ //# sourceMappingURL=DeleteModal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteModal.js","sourceRoot":"","sources":["../../../../src/components/SharedComponents/DeleteModal.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EACL,MAAM,EACN,oBAAoB,EACpB,KAAK,EACL,cAAc,EACd,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,oBAAoB,CAAC;AAC5B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AASlD,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAC1B,UAAU,EACV,OAAO,EACP,QAAQ,EACR,OAAO,GACU,EAAE,EAAE;IACrB,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAC;IAE7D,MAAM,cAAc,GAAG,KAAK,IAAI,EAAE;QAChC,IAAI;YACF,aAAa,CAAC,IAAI,CAAC,CAAC;YACpB,MAAM,QAAQ,EAAE,CAAC;YACjB,MAAM,OAAO,EAAE,CAAC;YAChB,OAAO,EAAE,CAAC;SACX;QAAC,OAAO,KAAU,EAAE;YACnB,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;SAC3B;gBAAS;YACR,aAAa,CAAC,KAAK,CAAC,CAAC;SACtB;IACH,CAAC,CAAC;IAEF,OAAO,CACL;QACE,oBAAC,KAAK,IACJ,KAAK,EAAC,SAAS,EACf,WAAW,EAAC,yBAAyB,EACrC,MAAM,EAAE,CAAC,CAAC,UAAU,EACpB,aAAa,EAAE,CAAC,UAAU,EAC1B,OAAO,EAAE,OAAO;YAEhB,6BAAK,SAAS,EAAC,4BAA4B;gBACzC,oBAAC,IAAI,IAAC,OAAO,EAAC,SAAS,EAAC,EAAE,EAAC,IAAI,sCAExB;gBACP,oCACG,oBAAC,oBAAoB,IAAC,IAAI,EAAE,GAAG,UAAU,GAAG,GAAI,CAC1C,CACL;YACN,oBAAC,cAAc;gBACZ,UAAU;oBACT,6BAAK,SAAS,EAAC,oBAAoB;wBACjC,oBAAC,cAAc,OAAG,CACd;gBACR,oBAAC,MAAM,IAAC,SAAS,EAAC,iBAAiB,EAAC,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,UAAU,aAExE;gBACT,oBAAC,MAAM,IACL,SAAS,EAAC,SAAS,EACnB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,UAAU,aAGb,CACM,CACX,CACP,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,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 {\n Button,\n MiddleTextTruncation,\n Modal,\n ModalButtonBar,\n Text,\n} from \"@itwin/itwinui-react\";\nimport React, { useState } from \"react\";\nimport { handleError } from \"../../common/utils\";\nimport \"./DeleteModal.scss\";\nimport { LoadingSpinner } from \"./LoadingSpinner\";\n\nexport interface DeleteModalProps {\n entityName?: string;\n onClose: () => void;\n onDelete: () => Promise<void>;\n refresh: () => Promise<void>;\n}\n\nexport const DeleteModal = ({\n entityName,\n onClose,\n onDelete,\n refresh,\n}: DeleteModalProps) => {\n const [isDeleting, setIsDeleting] = useState<boolean>(false);\n\n const deleteCallback = async () => {\n try {\n setIsDeleting(true);\n await onDelete();\n await refresh();\n onClose();\n } catch (error: any) {\n handleError(error.status);\n } finally {\n setIsDeleting(false);\n }\n };\n\n return (\n <>\n <Modal\n title='Confirm'\n modalRootId='grouping-mapping-widget'\n isOpen={!!entityName}\n isDismissible={!isDeleting}\n onClose={onClose}\n >\n <div className=\"gmw-delete-modal-body-text\">\n <Text variant=\"leading\" as=\"h3\">\n Are you sure you want to delete\n </Text>\n <strong>\n {<MiddleTextTruncation text={`${entityName}?`} />}\n </strong>\n </div>\n <ModalButtonBar>\n {isDeleting &&\n <div className=\"gmw-loading-delete\">\n <LoadingSpinner />\n </div>}\n <Button styleType='high-visibility' onClick={deleteCallback} disabled={isDeleting}>\n Delete\n </Button>\n <Button\n styleType='default'\n onClick={onClose}\n disabled={isDeleting}\n >\n Cancel\n </Button>\n </ModalButtonBar>\n </Modal>\n </>\n );\n};\n\nexport default DeleteModal;\n"]}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import "./EmptyMessage.scss";
3
+ export interface EmptyMessageProps {
4
+ message: string;
5
+ }
6
+ export declare const EmptyMessage: ({ message }: EmptyMessageProps) => JSX.Element;
7
+ //# sourceMappingURL=EmptyMessage.d.ts.map
@@ -0,0 +1,10 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ import { Text } from "@itwin/itwinui-react";
6
+ import React from "react";
7
+ import "./EmptyMessage.scss";
8
+ export const EmptyMessage = ({ message }) => (React.createElement("div", { className: 'gmw-empty-message-center-overlay' },
9
+ React.createElement(Text, null, message)));
10
+ //# sourceMappingURL=EmptyMessage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmptyMessage.js","sourceRoot":"","sources":["../../../../src/components/SharedComponents/EmptyMessage.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,qBAAqB,CAAC;AAM7B,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,OAAO,EAAqB,EAAE,EAAE,CAAC,CAC9D,6BAAK,SAAS,EAAC,kCAAkC;IAC/C,oBAAC,IAAI,QAAE,OAAO,CAAQ,CAClB,CACP,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 { Text } from \"@itwin/itwinui-react\";\nimport React from \"react\";\nimport \"./EmptyMessage.scss\";\n\nexport interface EmptyMessageProps {\n message: string;\n}\n\nexport const EmptyMessage = ({ message }: EmptyMessageProps) => (\n <div className='gmw-empty-message-center-overlay'>\n <Text>{message}</Text>\n </div>\n);\n"]}
@@ -0,0 +1,12 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ .gmw-empty-message-center-overlay {
6
+ display: flex;
7
+ justify-content: center;
8
+ align-items: center;
9
+ flex-direction: column;
10
+ gap: var(--iui-size-s);
11
+ height: 100%;
12
+ }
@@ -0,0 +1,19 @@
1
+ import type { ReactNode } from "react";
2
+ import React from "react";
3
+ import "./HorizontalTile.scss";
4
+ export interface HorizontalTileProps {
5
+ title: string;
6
+ actionGroup: ReactNode;
7
+ subText?: string;
8
+ onClick?: () => void;
9
+ onClickTitle?: () => void;
10
+ titleTooltip?: string;
11
+ subtextToolTip?: string;
12
+ selected?: boolean;
13
+ dragHandle?: ReactNode;
14
+ elementsInfo?: React.ReactNode;
15
+ showGroupColor?: boolean;
16
+ isLoading?: boolean;
17
+ }
18
+ export declare const HorizontalTile: (props: HorizontalTileProps) => JSX.Element;
19
+ //# sourceMappingURL=HorizontalTile.d.ts.map
@@ -0,0 +1,20 @@
1
+ import React from "react";
2
+ import { Anchor, Text } from "@itwin/itwinui-react";
3
+ import "./HorizontalTile.scss";
4
+ import classNames from "classnames";
5
+ export const HorizontalTile = (props) => {
6
+ return (React.createElement("div", { className: classNames("gmw-horizontal-tile-container", { "gmw-horizontal-tile-selected": props.selected }), onClick: props.onClick, "data-testid": "gmw-horizontal-tile" },
7
+ React.createElement("div", { className: "gmw-body-container" },
8
+ props.dragHandle,
9
+ React.createElement("div", { className: "gmw-body" },
10
+ !!props.onClickTitle &&
11
+ React.createElement(Anchor, { className: "gmw-body-text", onClick: props.onClickTitle, title: props.titleTooltip }, props.title),
12
+ !props.onClickTitle &&
13
+ React.createElement(Text, { className: "gmw-body-text", variant: "body", title: props.titleTooltip }, props.title),
14
+ props.subText && React.createElement(Text, { className: "gmw-body-text", isMuted: true, title: props.subtextToolTip, variant: "small" }, props.subText))),
15
+ React.createElement("div", { className: "gmw-interactables" },
16
+ props.actionGroup,
17
+ props.showGroupColor && !props.isLoading && props.elementsInfo &&
18
+ props.elementsInfo)));
19
+ };
20
+ //# sourceMappingURL=HorizontalTile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HorizontalTile.js","sourceRoot":"","sources":["../../../../src/components/SharedComponents/HorizontalTile.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,uBAAuB,CAAC;AAC/B,OAAO,UAAU,MAAM,YAAY,CAAC;AAiBpC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAA0B,EAAE,EAAE;IAE3D,OAAO,CACL,6BAAK,SAAS,EAAE,UAAU,CAAC,+BAA+B,EAAE,EAAE,8BAA8B,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,iBAAc,qBAAqB;QACxK,6BAAK,SAAS,EAAC,oBAAoB;YAChC,KAAK,CAAC,UAAU;YACjB,6BAAK,SAAS,EAAC,UAAU;gBACtB,CAAC,CAAC,KAAK,CAAC,YAAY;oBACnB,oBAAC,MAAM,IAAC,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,KAAK,CAAC,YAAY,EAAE,KAAK,EAAE,KAAK,CAAC,YAAY,IAAG,KAAK,CAAC,KAAK,CAAU;gBAEjH,CAAC,KAAK,CAAC,YAAY;oBAClB,oBAAC,IAAI,IAAC,SAAS,EAAC,eAAe,EAAC,OAAO,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,CAAC,YAAY,IAAG,KAAK,CAAC,KAAK,CAAQ;gBAE/F,KAAK,CAAC,OAAO,IAAI,oBAAC,IAAI,IAAC,SAAS,EAAC,eAAe,EAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,cAAc,EAAE,OAAO,EAAC,OAAO,IAAE,KAAK,CAAC,OAAO,CAAQ,CAChI,CACF;QACN,6BAAK,SAAS,EAAC,mBAAmB;YAC/B,KAAK,CAAC,WAAW;YACjB,KAAK,CAAC,cAAc,IAAI,CAAC,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,YAAY;gBAC3D,KAAK,CAAC,YAAY,CAClB,CACF,CACP,CAAC;AAEJ,CAAC,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 { ReactNode } from \"react\";\nimport React from \"react\";\nimport { Anchor, Text } from \"@itwin/itwinui-react\";\nimport \"./HorizontalTile.scss\";\nimport classNames from \"classnames\";\n\nexport interface HorizontalTileProps {\n title: string;\n actionGroup: ReactNode;\n subText?: string;\n onClick?: () => void;\n onClickTitle?: () => void;\n titleTooltip?: string;\n subtextToolTip?: string;\n selected?: boolean;\n dragHandle?: ReactNode;\n elementsInfo?: React.ReactNode;\n showGroupColor?: boolean;\n isLoading?: boolean;\n}\n\nexport const HorizontalTile = (props: HorizontalTileProps) => {\n\n return (\n <div className={classNames(\"gmw-horizontal-tile-container\", { \"gmw-horizontal-tile-selected\": props.selected })} onClick={props.onClick} data-testid=\"gmw-horizontal-tile\">\n <div className=\"gmw-body-container\">\n {props.dragHandle}\n <div className=\"gmw-body\">\n {!!props.onClickTitle &&\n <Anchor className=\"gmw-body-text\" onClick={props.onClickTitle} title={props.titleTooltip}>{props.title}</Anchor>\n }\n {!props.onClickTitle &&\n <Text className=\"gmw-body-text\" variant=\"body\" title={props.titleTooltip}>{props.title}</Text>\n }\n {props.subText && <Text className=\"gmw-body-text\" isMuted={true} title={props.subtextToolTip} variant=\"small\">{props.subText}</Text>}\n </div>\n </div>\n <div className=\"gmw-interactables\">\n {props.actionGroup}\n {props.showGroupColor && !props.isLoading && props.elementsInfo &&\n props.elementsInfo}\n </div>\n </div>\n );\n\n};\n"]}
@@ -0,0 +1,58 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ .gmw-horizontal-tile {
7
+ &-container {
8
+ display: flex;
9
+ justify-content: space-between;
10
+ border-radius: 5px;
11
+ background-color: var(--iui-color-background-backdrop);
12
+ min-height: calc(var(--iui-size-s) * 5);
13
+ padding: 5.5px var(--iui-size-xs);
14
+ padding-bottom: 2px var(--iui-size-xs);
15
+ padding-top: 2px var(--iui-size-xs);
16
+
17
+ .gmw-body-container {
18
+ display: flex;
19
+ min-width: 0;
20
+ .gmw-drag-icon {
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ height: 100%;
25
+ }
26
+ .gmw-body {
27
+ display: flex;
28
+ flex-direction: column;
29
+ min-width: 0;
30
+ justify-content: center;
31
+ &-text {
32
+ overflow: hidden;
33
+ white-space: nowrap;
34
+ text-overflow: ellipsis;
35
+ }
36
+ }
37
+ }
38
+
39
+ .gmw-interactables {
40
+ position: relative;
41
+ margin-left: 0;
42
+ align-items: center;
43
+ align-self: center;
44
+ min-width: 36px;
45
+ margin-right: var(--iui-size-2xs);
46
+ flex-shrink: 0;
47
+ }
48
+ }
49
+
50
+ &-selected {
51
+ border: 1px solid var(--iui-color-border-accent);
52
+ background: linear-gradient(
53
+ hsl(var(--iui-color-accent-hsl) / var(--iui-opacity-6)),
54
+ hsl(var(--iui-color-accent-hsl) / var(--iui-opacity-6))
55
+ ),
56
+ linear-gradient(var(--iui-color-background), var(--iui-color-background));
57
+ }
58
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import "./LoadingOverlay.scss";
3
+ export declare const LoadingOverlay: () => JSX.Element;
4
+ //# sourceMappingURL=LoadingOverlay.d.ts.map
@@ -0,0 +1,12 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ import { ProgressRadial, Text } from "@itwin/itwinui-react";
6
+ import React from "react";
7
+ import "./LoadingOverlay.scss";
8
+ export const LoadingOverlay = () => (React.createElement("div", { className: 'gmw-loading-center-overlay' },
9
+ React.createElement(Text, null, "Loading"),
10
+ React.createElement(ProgressRadial, { indeterminate: true }),
11
+ React.createElement(Text, null, "Please wait...")));
12
+ //# sourceMappingURL=LoadingOverlay.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingOverlay.js","sourceRoot":"","sources":["../../../../src/components/SharedComponents/LoadingOverlay.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,uBAAuB,CAAC;AAE/B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE,CAAC,CAClC,6BAAK,SAAS,EAAC,4BAA4B;IACzC,oBAAC,IAAI,kBAAe;IACpB,oBAAC,cAAc,IAAC,aAAa,SAAG;IAChC,oBAAC,IAAI,yBAAsB,CACvB,CACP,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 { ProgressRadial, Text } from \"@itwin/itwinui-react\";\nimport React from \"react\";\nimport \"./LoadingOverlay.scss\";\n\nexport const LoadingOverlay = () => (\n <div className='gmw-loading-center-overlay'>\n <Text>Loading</Text>\n <ProgressRadial indeterminate />\n <Text>Please wait...</Text>\n </div>\n);\n"]}
@@ -0,0 +1,13 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+
6
+ .gmw-loading-center-overlay {
7
+ display: flex;
8
+ justify-content: center;
9
+ align-items: center;
10
+ flex-direction: column;
11
+ gap: var(--iui-size-s);
12
+ height: 100%;
13
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import "./LoadingSpinner.scss";
3
+ export declare const LoadingSpinner: () => JSX.Element;
4
+ //# sourceMappingURL=LoadingSpinner.d.ts.map
@@ -0,0 +1,12 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ import { ProgressRadial } from "@itwin/itwinui-react";
6
+ import React from "react";
7
+ import "./LoadingSpinner.scss";
8
+ export const LoadingSpinner = () => {
9
+ return (React.createElement("div", { className: "gmw-loading-spinner" },
10
+ React.createElement(ProgressRadial, { size: "small", indeterminate: true })));
11
+ };
12
+ //# sourceMappingURL=LoadingSpinner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingSpinner.js","sourceRoot":"","sources":["../../../../src/components/SharedComponents/LoadingSpinner.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,uBAAuB,CAAC;AAE/B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE;IACjC,OAAO,CACL,6BAAK,SAAS,EAAC,qBAAqB;QAClC,oBAAC,cAAc,IAAC,IAAI,EAAC,OAAO,EAAC,aAAa,SAAG,CACzC,CACP,CAAC;AACJ,CAAC,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 { ProgressRadial } from \"@itwin/itwinui-react\";\nimport React from \"react\";\nimport \"./LoadingSpinner.scss\";\n\nexport const LoadingSpinner = () => {\n return (\n <div className=\"gmw-loading-spinner\">\n <ProgressRadial size=\"small\" indeterminate />\n </div>\n );\n};\n"]}
@@ -0,0 +1,8 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ .gmw-loading-spinner {
6
+ display: flex;
7
+ align-items: center;
8
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusIcon.js","sourceRoot":"","sources":["../../../../src/components/SharedComponents/StatusIcon.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC1H,OAAO,mBAAmB,CAAC;AAE3B,MAAM,aAAa,GAAG;IACpB,OAAO,EAAE,gBAAgB;IACzB,KAAK,EAAE,cAAc;IACrB,OAAO,EAAE,gBAAgB;IACzB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;CACN,CAAC;AAEX,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EACzB,MAAM,EACN,SAAS,EACT,GAAG,IAAI,EAIR,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;IACtC,OAAO,oBAAC,OAAO,IAAC,SAAS,EAAE,UAAU,CAAC,iBAAiB,EAAE,mBAAmB,MAAM,EAAE,EAAE,SAAS,CAAC,KAAM,IAAI,GAAI,CAAC;AACjH,CAAC,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 React from \"react\";\nimport classnames from \"classnames\";\nimport { SvgFlag, SvgInfoCircular, SvgStatusError, SvgStatusSuccess, SvgStatusWarning } from \"@itwin/itwinui-icons-react\";\nimport \"./StatusIcon.scss\";\n\nconst StatusIconMap = {\n success: SvgStatusSuccess,\n error: SvgStatusError,\n warning: SvgStatusWarning,\n informational: SvgInfoCircular,\n trace: SvgFlag,\n} as const;\n\nexport const StatusIcon = ({\n status,\n className,\n ...rest\n}: {\n status: keyof typeof StatusIconMap;\n className?: string;\n}) => {\n const Element = StatusIconMap[status];\n return <Element className={classnames(\"gmw-status-icon\", `gmw-status-icon-${status}`, className)} {...rest} />;\n};\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExtractionClientContext.js","sourceRoot":"","sources":["../../../../src/components/context/ExtractionClientContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGlD,MAAM,SAAS,GAAG,CAAC,OAAgB,EAAE,MAAe,EAAE,EAAE;IACtD,IAAI,MAAM,IAAI,OAAO,EAAE;QACrB,OAAO,OAAO,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,MAAM,kBAAkB,CAAC,CAAC;KACxE;IACD,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,MAAqB,EAAqB,EAAE;IACxF,MAAM,GAAG,GAAG,SAAS,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;IACnD,OAAO,IAAI,gBAAgB,CAAC,GAAG,CAAC,CAAC;AACnC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,UAA4C,EAAE,EAAE;IACrF,IAAI,SAAS,KAAK,UAAU,IAAI,OAAO,UAAU,KAAK,QAAQ,EAAE;QAC9D,OAAO,6BAA6B,CAAC,UAA0B,CAAC,CAAC;KAClE;IACD,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,aAAa,CAAoB,6BAA6B,EAAE,CAAC,CAAC;AAEzG,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,EAAE;IACtC,MAAM,OAAO,GAAG,UAAU,CAAC,uBAAuB,CAAC,CAAC;IACpD,IAAI,CAAC,OAAO,EAAE;QACZ,MAAM,IAAI,KAAK,CACb,8EAA8E,CAC/E,CAAC;KACH;IACD,OAAO,OAAO,CAAC;AACjB,CAAC,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 { IExtractionClient } from \"@itwin/insights-client\";\nimport { ExtractionClient, REPORTING_BASE_PATH } from \"@itwin/insights-client\";\nimport { createContext, useContext } from \"react\";\nimport type { ClientPrefix } from \"./GroupingApiConfigContext\";\n\nconst prefixUrl = (baseUrl?: string, prefix?: string) => {\n if (prefix && baseUrl) {\n return baseUrl.replace(\"api.bentley.com\", `${prefix}-api.bentley.com`);\n }\n return baseUrl;\n};\n\nexport const createDefaultExtractionClient = (prefix?: ClientPrefix): IExtractionClient => {\n const url = prefixUrl(REPORTING_BASE_PATH, prefix);\n return new ExtractionClient(url);\n};\n\nexport const createExtractionClient = (clientProp: IExtractionClient | ClientPrefix) => {\n if (undefined === clientProp || typeof clientProp === \"string\") {\n return createDefaultExtractionClient(clientProp as ClientPrefix);\n }\n return clientProp;\n};\n\nexport const ExtractionClientContext = createContext<IExtractionClient>(createDefaultExtractionClient());\n\nexport const useExtractionClient = () => {\n const context = useContext(ExtractionClientContext);\n if (!context) {\n throw new Error(\n \"useExtractionClient should be used within a ExtractionClientContext provider\"\n );\n }\n return context;\n};\n"]}