@itwin/appui-react 4.1.0-dev.0 → 4.1.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 (1427) hide show
  1. package/CHANGELOG.md +85 -18
  2. package/lib/cjs/appui-react/UiFramework.d.ts +19 -17
  3. package/lib/cjs/appui-react/UiFramework.d.ts.map +1 -1
  4. package/lib/cjs/appui-react/UiFramework.js +9 -5
  5. package/lib/cjs/appui-react/UiFramework.js.map +1 -1
  6. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts +2 -1
  7. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  8. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
  9. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts +2 -1
  10. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  11. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
  12. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts +2 -2
  13. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
  14. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js +4 -1
  15. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
  16. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +1 -1
  17. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts.map +1 -1
  18. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
  19. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.d.ts +2 -2
  20. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
  21. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  22. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.d.ts +2 -2
  23. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.d.ts.map +1 -1
  24. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
  25. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts +1 -1
  26. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  27. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  28. package/lib/cjs/appui-react/accudraw/Calculator.d.ts +2 -2
  29. package/lib/cjs/appui-react/accudraw/Calculator.d.ts.map +1 -1
  30. package/lib/cjs/appui-react/accudraw/Calculator.js.map +1 -1
  31. package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts +2 -2
  32. package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
  33. package/lib/cjs/appui-react/accudraw/CalculatorPopup.js.map +1 -1
  34. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts +5 -4
  35. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
  36. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  37. package/lib/cjs/appui-react/accudraw/MenuButton.d.ts +3 -3
  38. package/lib/cjs/appui-react/accudraw/MenuButton.d.ts.map +1 -1
  39. package/lib/cjs/appui-react/accudraw/MenuButton.js.map +1 -1
  40. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts +1 -1
  41. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts.map +1 -1
  42. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
  43. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts +2 -2
  44. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts.map +1 -1
  45. package/lib/cjs/appui-react/accudraw/SquareButton.js.map +1 -1
  46. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts +2 -2
  47. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  48. package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
  49. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts +1 -1
  50. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  51. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +2 -1
  52. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  53. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts +2 -2
  54. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  55. package/lib/cjs/appui-react/backstage/BackstageItem.js.map +1 -1
  56. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts +2 -2
  57. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
  58. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
  59. package/lib/cjs/appui-react/backstage/BackstageItemsManager.d.ts +1 -1
  60. package/lib/cjs/appui-react/backstage/BackstageItemsManager.d.ts.map +1 -1
  61. package/lib/cjs/appui-react/backstage/BackstageItemsManager.js.map +1 -1
  62. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts +2 -2
  63. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  64. package/lib/cjs/appui-react/backstage/BackstageManager.js.map +1 -1
  65. package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts +2 -2
  66. package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
  67. package/lib/cjs/appui-react/backstage/InternalBackstageManager.js.map +1 -1
  68. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.d.ts +2 -2
  69. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.d.ts.map +1 -1
  70. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  71. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +2 -2
  72. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  73. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  74. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts +1 -1
  75. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  76. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +5 -4
  77. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  78. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts +1 -1
  79. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  80. package/lib/cjs/appui-react/childwindow/PopoutWidget.js.map +1 -1
  81. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts +1 -1
  82. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  83. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  84. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
  85. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
  86. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js +1 -1
  87. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  88. package/lib/cjs/appui-react/configurableui/TimeTracker.d.ts.map +1 -1
  89. package/lib/cjs/appui-react/configurableui/TimeTracker.js +2 -1
  90. package/lib/cjs/appui-react/configurableui/TimeTracker.js.map +1 -1
  91. package/lib/cjs/appui-react/configurableui/state.d.ts +1 -1
  92. package/lib/cjs/appui-react/configurableui/state.d.ts.map +1 -1
  93. package/lib/cjs/appui-react/configurableui/state.js.map +1 -1
  94. package/lib/cjs/appui-react/content/ContentControl.d.ts +2 -2
  95. package/lib/cjs/appui-react/content/ContentControl.d.ts.map +1 -1
  96. package/lib/cjs/appui-react/content/ContentControl.js.map +1 -1
  97. package/lib/cjs/appui-react/content/ContentGroup.d.ts +6 -6
  98. package/lib/cjs/appui-react/content/ContentGroup.d.ts.map +1 -1
  99. package/lib/cjs/appui-react/content/ContentGroup.js.map +1 -1
  100. package/lib/cjs/appui-react/content/ContentLayout.d.ts +4 -3
  101. package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
  102. package/lib/cjs/appui-react/content/ContentLayout.js +11 -6
  103. package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
  104. package/lib/cjs/appui-react/content/ContentLayout.scss +50 -21
  105. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts +1 -1
  106. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  107. package/lib/cjs/appui-react/content/DefaultViewOverlay.js +4 -3
  108. package/lib/cjs/appui-react/content/DefaultViewOverlay.js.map +1 -1
  109. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +2 -2
  110. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  111. package/lib/cjs/appui-react/content/FloatingViewportContent.js +2 -1
  112. package/lib/cjs/appui-react/content/FloatingViewportContent.js.map +1 -1
  113. package/lib/cjs/appui-react/content/IModelViewport.d.ts +5 -4
  114. package/lib/cjs/appui-react/content/IModelViewport.d.ts.map +1 -1
  115. package/lib/cjs/appui-react/content/IModelViewport.js +6 -3
  116. package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
  117. package/lib/cjs/appui-react/content/InternalContentLayoutManager.d.ts +2 -2
  118. package/lib/cjs/appui-react/content/InternalContentLayoutManager.d.ts.map +1 -1
  119. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js +2 -1
  120. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  121. package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts +2 -2
  122. package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
  123. package/lib/cjs/appui-react/content/InternalContentViewManager.js +1 -1
  124. package/lib/cjs/appui-react/content/InternalContentViewManager.js.map +1 -1
  125. package/lib/cjs/appui-react/content/StageContentLayout.d.ts +5 -5
  126. package/lib/cjs/appui-react/content/StageContentLayout.d.ts.map +1 -1
  127. package/lib/cjs/appui-react/content/StageContentLayout.js.map +1 -1
  128. package/lib/cjs/appui-react/content/ViewStateHelper.d.ts +2 -2
  129. package/lib/cjs/appui-react/content/ViewStateHelper.d.ts.map +1 -1
  130. package/lib/cjs/appui-react/content/ViewStateHelper.js.map +1 -1
  131. package/lib/cjs/appui-react/content/ViewportContentControl.d.ts +4 -3
  132. package/lib/cjs/appui-react/content/ViewportContentControl.d.ts.map +1 -1
  133. package/lib/cjs/appui-react/content/ViewportContentControl.js.map +1 -1
  134. package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  135. package/lib/cjs/appui-react/content/split-pane/Resizer.js +2 -1
  136. package/lib/cjs/appui-react/content/split-pane/Resizer.js.map +1 -1
  137. package/lib/cjs/appui-react/content/split-pane/SplitPane.js +12 -8
  138. package/lib/cjs/appui-react/content/split-pane/SplitPane.js.map +1 -1
  139. package/lib/cjs/appui-react/cursor/CursorInformation.d.ts +2 -1
  140. package/lib/cjs/appui-react/cursor/CursorInformation.d.ts.map +1 -1
  141. package/lib/cjs/appui-react/cursor/CursorInformation.js.map +1 -1
  142. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts +2 -2
  143. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
  144. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js +3 -2
  145. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  146. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts +4 -2
  147. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  148. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  149. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +2 -1
  150. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
  151. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  152. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +3 -2
  153. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
  154. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
  155. package/lib/cjs/appui-react/dialog/ContentDialog.d.ts +1 -1
  156. package/lib/cjs/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  157. package/lib/cjs/appui-react/dialog/ContentDialog.js +6 -3
  158. package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -1
  159. package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts +1 -1
  160. package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
  161. package/lib/cjs/appui-react/dialog/ContentDialogManager.js.map +1 -1
  162. package/lib/cjs/appui-react/dialog/DialogManagerBase.js +3 -2
  163. package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
  164. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts +3 -2
  165. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
  166. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  167. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts +1 -1
  168. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
  169. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  170. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts +3 -2
  171. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
  172. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  173. package/lib/cjs/appui-react/dialog/ModalDialogManager.d.ts +1 -1
  174. package/lib/cjs/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
  175. package/lib/cjs/appui-react/dialog/ModalDialogManager.js.map +1 -1
  176. package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts +1 -1
  177. package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
  178. package/lib/cjs/appui-react/dialog/ModelessDialog.js.map +1 -1
  179. package/lib/cjs/appui-react/dialog/ModelessDialogManager.d.ts +1 -1
  180. package/lib/cjs/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
  181. package/lib/cjs/appui-react/dialog/ModelessDialogManager.js.map +1 -1
  182. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts +1 -1
  183. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  184. package/lib/cjs/appui-react/dialog/StandardMessageBox.js.map +1 -1
  185. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts +1 -1
  186. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  187. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  188. package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts +6 -5
  189. package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  190. package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
  191. package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts +1 -1
  192. package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  193. package/lib/cjs/appui-react/feedback/ValidationTextbox.js.map +1 -1
  194. package/lib/cjs/appui-react/framework/FrameworkBackstage.d.ts +3 -3
  195. package/lib/cjs/appui-react/framework/FrameworkBackstage.d.ts.map +1 -1
  196. package/lib/cjs/appui-react/framework/FrameworkBackstage.js.map +1 -1
  197. package/lib/cjs/appui-react/framework/FrameworkContent.d.ts +6 -5
  198. package/lib/cjs/appui-react/framework/FrameworkContent.d.ts.map +1 -1
  199. package/lib/cjs/appui-react/framework/FrameworkContent.js.map +1 -1
  200. package/lib/cjs/appui-react/framework/FrameworkControls.d.ts +1 -1
  201. package/lib/cjs/appui-react/framework/FrameworkControls.d.ts.map +1 -1
  202. package/lib/cjs/appui-react/framework/FrameworkControls.js.map +1 -1
  203. package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts +2 -1
  204. package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
  205. package/lib/cjs/appui-react/framework/FrameworkDialogs.js +0 -7
  206. package/lib/cjs/appui-react/framework/FrameworkDialogs.js.map +1 -1
  207. package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts +11 -11
  208. package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
  209. package/lib/cjs/appui-react/framework/FrameworkFrontstages.js.map +1 -1
  210. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +4 -4
  211. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
  212. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
  213. package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts +3 -2
  214. package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
  215. package/lib/cjs/appui-react/framework/FrameworkToolSettings.js +0 -7
  216. package/lib/cjs/appui-react/framework/FrameworkToolSettings.js.map +1 -1
  217. package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts +4 -4
  218. package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
  219. package/lib/cjs/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  220. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts +11 -10
  221. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  222. package/lib/cjs/appui-react/frontstage/FrontstageDef.js +4 -3
  223. package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
  224. package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts +1 -1
  225. package/lib/cjs/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
  226. package/lib/cjs/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  227. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts +16 -11
  228. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
  229. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  230. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts +1 -1
  231. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  232. package/lib/cjs/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  233. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts +1 -1
  234. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  235. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +3 -2
  236. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  237. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts +6 -5
  238. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  239. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +3 -2
  240. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  241. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts +1 -1
  242. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
  243. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
  244. package/lib/cjs/appui-react/hooks/useActiveStageId.js.map +1 -1
  245. package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts +1 -1
  246. package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
  247. package/lib/cjs/appui-react/hooks/useActiveViewport.js.map +1 -1
  248. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts +1 -1
  249. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts.map +1 -1
  250. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
  251. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  252. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.d.ts +1 -1
  253. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.d.ts.map +1 -1
  254. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
  255. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  256. package/lib/cjs/appui-react/hooks/useSolarDataProvider.d.ts +2 -2
  257. package/lib/cjs/appui-react/hooks/useSolarDataProvider.d.ts.map +1 -1
  258. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js +13 -8
  259. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  260. package/lib/cjs/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
  261. package/lib/cjs/appui-react/hooks/useUiVisibility.js.map +1 -1
  262. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
  263. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
  264. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  265. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +2 -2
  266. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
  267. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
  268. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +2 -2
  269. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
  270. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  271. package/lib/cjs/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  272. package/lib/cjs/appui-react/messages/ActivityMessage.js +7 -5
  273. package/lib/cjs/appui-react/messages/ActivityMessage.js.map +1 -1
  274. package/lib/cjs/appui-react/messages/AppNotificationManager.d.ts +4 -3
  275. package/lib/cjs/appui-react/messages/AppNotificationManager.d.ts.map +1 -1
  276. package/lib/cjs/appui-react/messages/AppNotificationManager.js.map +1 -1
  277. package/lib/cjs/appui-react/messages/HollowIcon.d.ts +1 -1
  278. package/lib/cjs/appui-react/messages/HollowIcon.d.ts.map +1 -1
  279. package/lib/cjs/appui-react/messages/HollowIcon.js.map +1 -1
  280. package/lib/cjs/appui-react/messages/InputField.d.ts +1 -1
  281. package/lib/cjs/appui-react/messages/InputField.d.ts.map +1 -1
  282. package/lib/cjs/appui-react/messages/InputField.js.map +1 -1
  283. package/lib/cjs/appui-react/messages/MessageLabel.d.ts +1 -1
  284. package/lib/cjs/appui-react/messages/MessageLabel.d.ts.map +1 -1
  285. package/lib/cjs/appui-react/messages/MessageLabel.js.map +1 -1
  286. package/lib/cjs/appui-react/messages/MessageManager.d.ts +7 -6
  287. package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
  288. package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
  289. package/lib/cjs/appui-react/messages/MessageSpan.d.ts +2 -2
  290. package/lib/cjs/appui-react/messages/MessageSpan.d.ts.map +1 -1
  291. package/lib/cjs/appui-react/messages/MessageSpan.js.map +1 -1
  292. package/lib/cjs/appui-react/messages/Pointer.d.ts +5 -4
  293. package/lib/cjs/appui-react/messages/Pointer.d.ts.map +1 -1
  294. package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
  295. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts +5 -4
  296. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  297. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  298. package/lib/cjs/appui-react/messages/StatusMessageManager.d.ts +2 -2
  299. package/lib/cjs/appui-react/messages/StatusMessageManager.d.ts.map +1 -1
  300. package/lib/cjs/appui-react/messages/StatusMessageManager.js.map +1 -1
  301. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts +1 -1
  302. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  303. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  304. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts +1 -1
  305. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  306. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  307. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts +4 -3
  308. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
  309. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
  310. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts +3 -3
  311. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  312. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  313. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts +4 -4
  314. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
  315. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  316. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -2
  317. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  318. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  319. package/lib/cjs/appui-react/pickers/ListPicker.d.ts +3 -1
  320. package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
  321. package/lib/cjs/appui-react/pickers/ListPicker.js +6 -1
  322. package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
  323. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts +4 -3
  324. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  325. package/lib/cjs/appui-react/pickers/ViewSelector.js +19 -6
  326. package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
  327. package/lib/cjs/appui-react/popup/CardPopup.d.ts +4 -3
  328. package/lib/cjs/appui-react/popup/CardPopup.d.ts.map +1 -1
  329. package/lib/cjs/appui-react/popup/CardPopup.js.map +1 -1
  330. package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts +4 -3
  331. package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
  332. package/lib/cjs/appui-react/popup/HTMLElementPopup.js.map +1 -1
  333. package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts +3 -3
  334. package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
  335. package/lib/cjs/appui-react/popup/InputEditorPopup.js.map +1 -1
  336. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts +2 -2
  337. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  338. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js +2 -1
  339. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  340. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts +2 -2
  341. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  342. package/lib/cjs/appui-react/popup/KeyinPalettePopup.js.map +1 -1
  343. package/lib/cjs/appui-react/popup/PopupManager.d.ts +5 -4
  344. package/lib/cjs/appui-react/popup/PopupManager.d.ts.map +1 -1
  345. package/lib/cjs/appui-react/popup/PopupManager.js +2 -1
  346. package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
  347. package/lib/cjs/appui-react/popup/PositionPopup.d.ts +2 -2
  348. package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
  349. package/lib/cjs/appui-react/popup/PositionPopup.js.map +1 -1
  350. package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts +4 -3
  351. package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
  352. package/lib/cjs/appui-react/popup/ToolSettingsPopup.js.map +1 -1
  353. package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts +5 -4
  354. package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
  355. package/lib/cjs/appui-react/popup/ToolbarPopup.js.map +1 -1
  356. package/lib/cjs/appui-react/redux/FrameworkState.d.ts +4 -2
  357. package/lib/cjs/appui-react/redux/FrameworkState.d.ts.map +1 -1
  358. package/lib/cjs/appui-react/redux/FrameworkState.js.map +1 -1
  359. package/lib/cjs/appui-react/redux/SessionState.d.ts +3 -3
  360. package/lib/cjs/appui-react/redux/SessionState.d.ts.map +1 -1
  361. package/lib/cjs/appui-react/redux/SessionState.js.map +1 -1
  362. package/lib/cjs/appui-react/redux/StateManager.d.ts +3 -3
  363. package/lib/cjs/appui-react/redux/StateManager.d.ts.map +1 -1
  364. package/lib/cjs/appui-react/redux/StateManager.js +0 -1
  365. package/lib/cjs/appui-react/redux/StateManager.js.map +1 -1
  366. package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts +1 -1
  367. package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  368. package/lib/cjs/appui-react/safearea/SafeAreaContext.js.map +1 -1
  369. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts +2 -2
  370. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -1
  371. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js.map +1 -1
  372. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts +1 -1
  373. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  374. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  375. package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts +1 -1
  376. package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  377. package/lib/cjs/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  378. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts +3 -3
  379. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  380. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js +1 -1
  381. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  382. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +1 -1
  383. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  384. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
  385. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts +1 -1
  386. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  387. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  388. package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts +4 -3
  389. package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  390. package/lib/cjs/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  391. package/lib/cjs/appui-react/shared/AnyItemDef.d.ts +4 -4
  392. package/lib/cjs/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  393. package/lib/cjs/appui-react/shared/AnyItemDef.js.map +1 -1
  394. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts +2 -2
  395. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
  396. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
  397. package/lib/cjs/appui-react/shared/CommandItemDef.d.ts +2 -2
  398. package/lib/cjs/appui-react/shared/CommandItemDef.d.ts.map +1 -1
  399. package/lib/cjs/appui-react/shared/CommandItemDef.js.map +1 -1
  400. package/lib/cjs/appui-react/shared/CustomItemDef.d.ts +2 -2
  401. package/lib/cjs/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  402. package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
  403. package/lib/cjs/appui-react/shared/CustomItemProps.d.ts +1 -1
  404. package/lib/cjs/appui-react/shared/CustomItemProps.d.ts.map +1 -1
  405. package/lib/cjs/appui-react/shared/CustomItemProps.js.map +1 -1
  406. package/lib/cjs/appui-react/shared/GroupItemProps.d.ts +3 -3
  407. package/lib/cjs/appui-react/shared/GroupItemProps.d.ts.map +1 -1
  408. package/lib/cjs/appui-react/shared/GroupItemProps.js.map +1 -1
  409. package/lib/cjs/appui-react/shared/ItemDefBase.d.ts +4 -4
  410. package/lib/cjs/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  411. package/lib/cjs/appui-react/shared/ItemDefBase.js.map +1 -1
  412. package/lib/cjs/appui-react/shared/ItemMap.d.ts +1 -1
  413. package/lib/cjs/appui-react/shared/ItemMap.d.ts.map +1 -1
  414. package/lib/cjs/appui-react/shared/ItemMap.js.map +1 -1
  415. package/lib/cjs/appui-react/shared/ItemProps.d.ts +2 -2
  416. package/lib/cjs/appui-react/shared/ItemProps.d.ts.map +1 -1
  417. package/lib/cjs/appui-react/shared/ItemProps.js.map +1 -1
  418. package/lib/cjs/appui-react/shared/MenuItem.d.ts +3 -3
  419. package/lib/cjs/appui-react/shared/MenuItem.d.ts.map +1 -1
  420. package/lib/cjs/appui-react/shared/MenuItem.js.map +1 -1
  421. package/lib/cjs/appui-react/shared/ToolItemDef.d.ts +3 -3
  422. package/lib/cjs/appui-react/shared/ToolItemDef.d.ts.map +1 -1
  423. package/lib/cjs/appui-react/shared/ToolItemDef.js.map +1 -1
  424. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts +2 -2
  425. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
  426. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  427. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts +2 -2
  428. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  429. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +7 -5
  430. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  431. package/lib/cjs/appui-react/statusbar/Field.d.ts +1 -1
  432. package/lib/cjs/appui-react/statusbar/Field.d.ts.map +1 -1
  433. package/lib/cjs/appui-react/statusbar/Field.js.map +1 -1
  434. package/lib/cjs/appui-react/statusbar/Indicator.d.ts +1 -1
  435. package/lib/cjs/appui-react/statusbar/Indicator.d.ts.map +1 -1
  436. package/lib/cjs/appui-react/statusbar/Indicator.js +2 -1
  437. package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
  438. package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts +2 -2
  439. package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  440. package/lib/cjs/appui-react/statusbar/LabelIndicator.js.map +1 -1
  441. package/lib/cjs/appui-react/statusbar/Overflow.d.ts +1 -1
  442. package/lib/cjs/appui-react/statusbar/Overflow.d.ts.map +1 -1
  443. package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
  444. package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts +1 -1
  445. package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  446. package/lib/cjs/appui-react/statusbar/OverflowPanel.js.map +1 -1
  447. package/lib/cjs/appui-react/statusbar/Popup.d.ts +1 -1
  448. package/lib/cjs/appui-react/statusbar/Popup.d.ts.map +1 -1
  449. package/lib/cjs/appui-react/statusbar/Popup.js.map +1 -1
  450. package/lib/cjs/appui-react/statusbar/Separator.d.ts +1 -1
  451. package/lib/cjs/appui-react/statusbar/Separator.d.ts.map +1 -1
  452. package/lib/cjs/appui-react/statusbar/Separator.js.map +1 -1
  453. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts +3 -3
  454. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  455. package/lib/cjs/appui-react/statusbar/StatusBar.js +5 -3
  456. package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
  457. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts +2 -2
  458. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  459. package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  460. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts +3 -3
  461. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  462. package/lib/cjs/appui-react/statusbar/StatusBarItem.js.map +1 -1
  463. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts +5 -4
  464. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  465. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  466. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts +1 -1
  467. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  468. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  469. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts +2 -1
  470. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  471. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  472. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts +1 -1
  473. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  474. package/lib/cjs/appui-react/statusbar/dialog/Button.js.map +1 -1
  475. package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts +1 -1
  476. package/lib/cjs/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
  477. package/lib/cjs/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  478. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts +1 -1
  479. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  480. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  481. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.d.ts +2 -2
  482. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.d.ts.map +1 -1
  483. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  484. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +2 -2
  485. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  486. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  487. package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts +1 -1
  488. package/lib/cjs/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
  489. package/lib/cjs/appui-react/statusfields/ActivityCenter.js.map +1 -1
  490. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts +1 -1
  491. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  492. package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
  493. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts +1 -1
  494. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  495. package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
  496. package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts +29 -0
  497. package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts.map +1 -0
  498. package/lib/cjs/appui-react/statusfields/SelectionCount.js +51 -0
  499. package/lib/cjs/appui-react/statusfields/SelectionCount.js.map +1 -0
  500. package/lib/cjs/appui-react/statusfields/{SelectionInfo.scss → SelectionCount.scss} +5 -8
  501. package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts +6 -19
  502. package/lib/cjs/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
  503. package/lib/cjs/appui-react/statusfields/SelectionInfo.js +14 -31
  504. package/lib/cjs/appui-react/statusfields/SelectionInfo.js.map +1 -1
  505. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +2 -2
  506. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  507. package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
  508. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +1 -1
  509. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  510. package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
  511. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts +2 -2
  512. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  513. package/lib/cjs/appui-react/statusfields/ViewAttributes.js.map +1 -1
  514. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +1 -1
  515. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  516. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  517. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +2 -2
  518. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  519. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +1 -1
  520. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  521. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts +2 -2
  522. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  523. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  524. package/lib/cjs/appui-react/theme/ThemeManager.d.ts.map +1 -1
  525. package/lib/cjs/appui-react/theme/ThemeManager.js +2 -1
  526. package/lib/cjs/appui-react/theme/ThemeManager.js.map +1 -1
  527. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.d.ts +3 -2
  528. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.d.ts.map +1 -1
  529. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  530. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.d.ts +3 -2
  531. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.d.ts.map +1 -1
  532. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
  533. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.d.ts +1 -1
  534. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.d.ts.map +1 -1
  535. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  536. package/lib/cjs/appui-react/toolbar/GroupItem.d.ts +4 -4
  537. package/lib/cjs/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  538. package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
  539. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts +4 -4
  540. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  541. package/lib/cjs/appui-react/toolbar/Toolbar.js.map +1 -1
  542. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts +2 -1
  543. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  544. package/lib/cjs/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  545. package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts +4 -4
  546. package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  547. package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  548. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts +2 -2
  549. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  550. package/lib/cjs/appui-react/toolbar/ToolbarItem.js.map +1 -1
  551. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts +1 -1
  552. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
  553. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
  554. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.d.ts +1 -1
  555. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.d.ts.map +1 -1
  556. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
  557. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts +4 -4
  558. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  559. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  560. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.d.ts +2 -2
  561. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.d.ts.map +1 -1
  562. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.js.map +1 -1
  563. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.d.ts +2 -2
  564. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.d.ts.map +1 -1
  565. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
  566. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +2 -2
  567. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  568. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  569. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +14 -7
  570. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  571. package/lib/cjs/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  572. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts +4 -3
  573. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  574. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js +2 -1
  575. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  576. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts +3 -2
  577. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
  578. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  579. package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts +1 -1
  580. package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
  581. package/lib/cjs/appui-react/toolsettings/ToolInformation.js.map +1 -1
  582. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts +6 -5
  583. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -1
  584. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
  585. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts +7 -7
  586. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts.map +1 -1
  587. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js +28 -17
  588. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  589. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +6 -6
  590. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  591. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
  592. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.d.ts +1 -1
  593. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
  594. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +3 -3
  595. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  596. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  597. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +4 -3
  598. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  599. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +10 -8
  600. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  601. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +2 -2
  602. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  603. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  604. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +3 -2
  605. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
  606. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  607. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +2 -2
  608. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  609. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  610. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +2 -2
  611. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  612. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +3 -2
  613. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  614. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts +14 -13
  615. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  616. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +15 -9
  617. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  618. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts +6 -6
  619. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
  620. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
  621. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.d.ts +1 -1
  622. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.d.ts.map +1 -1
  623. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.js.map +1 -1
  624. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts +3 -2
  625. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
  626. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js +1 -1
  627. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  628. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.d.ts +3 -2
  629. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
  630. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js +1 -1
  631. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  632. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +1 -1
  633. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  634. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  635. package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts +3 -2
  636. package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  637. package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -1
  638. package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts +1 -1
  639. package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  640. package/lib/cjs/appui-react/uistate/useUiStateStorage.js.map +1 -1
  641. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.d.ts +2 -2
  642. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.d.ts.map +1 -1
  643. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js +3 -3
  644. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  645. package/lib/cjs/appui-react/utils/PropsHelper.d.ts +3 -2
  646. package/lib/cjs/appui-react/utils/PropsHelper.d.ts.map +1 -1
  647. package/lib/cjs/appui-react/utils/PropsHelper.js +2 -1
  648. package/lib/cjs/appui-react/utils/PropsHelper.js.map +1 -1
  649. package/lib/cjs/appui-react/utils/ViewUtilities.d.ts +1 -1
  650. package/lib/cjs/appui-react/utils/ViewUtilities.d.ts.map +1 -1
  651. package/lib/cjs/appui-react/utils/ViewUtilities.js +0 -1
  652. package/lib/cjs/appui-react/utils/ViewUtilities.js.map +1 -1
  653. package/lib/cjs/appui-react/widget-panels/Content.d.ts +1 -1
  654. package/lib/cjs/appui-react/widget-panels/Content.d.ts.map +1 -1
  655. package/lib/cjs/appui-react/widget-panels/Content.js +18 -7
  656. package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
  657. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +5 -4
  658. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  659. package/lib/cjs/appui-react/widget-panels/Frontstage.js +39 -30
  660. package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
  661. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts +1 -1
  662. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  663. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
  664. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts +1 -1
  665. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  666. package/lib/cjs/appui-react/widget-panels/StatusBar.js +1 -1
  667. package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
  668. package/lib/cjs/appui-react/widget-panels/Tab.js +1 -1
  669. package/lib/cjs/appui-react/widget-panels/Tab.js.map +1 -1
  670. package/lib/cjs/appui-react/widget-panels/ToolSettings.js +17 -9
  671. package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
  672. package/lib/cjs/appui-react/widget-panels/Toolbars.js +3 -2
  673. package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
  674. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts +1 -1
  675. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  676. package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
  677. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts +1 -1
  678. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  679. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  680. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts +1 -1
  681. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  682. package/lib/cjs/appui-react/widgets/BasicToolWidget.js.map +1 -1
  683. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts +1 -1
  684. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  685. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +2 -2
  686. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  687. package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts +1 -1
  688. package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts.map +1 -1
  689. package/lib/cjs/appui-react/widgets/StableWidgetDef.js.map +1 -1
  690. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts +1 -1
  691. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  692. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  693. package/lib/cjs/appui-react/widgets/Widget.d.ts +4 -4
  694. package/lib/cjs/appui-react/widgets/Widget.d.ts.map +1 -1
  695. package/lib/cjs/appui-react/widgets/Widget.js.map +1 -1
  696. package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts +1 -1
  697. package/lib/cjs/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
  698. package/lib/cjs/appui-react/widgets/WidgetConfig.js.map +1 -1
  699. package/lib/cjs/appui-react/widgets/WidgetControl.d.ts +5 -4
  700. package/lib/cjs/appui-react/widgets/WidgetControl.d.ts.map +1 -1
  701. package/lib/cjs/appui-react/widgets/WidgetControl.js.map +1 -1
  702. package/lib/cjs/appui-react/widgets/WidgetDef.d.ts +10 -8
  703. package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  704. package/lib/cjs/appui-react/widgets/WidgetDef.js +1 -1
  705. package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
  706. package/lib/cjs/appui-react/widgets/WidgetHost.d.ts +3 -3
  707. package/lib/cjs/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  708. package/lib/cjs/appui-react/widgets/WidgetHost.js +3 -2
  709. package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
  710. package/lib/cjs/appui-react.d.ts +1 -0
  711. package/lib/cjs/appui-react.d.ts.map +1 -1
  712. package/lib/cjs/appui-react.js +1 -0
  713. package/lib/cjs/appui-react.js.map +1 -1
  714. package/lib/esm/appui-react/UiFramework.d.ts +19 -17
  715. package/lib/esm/appui-react/UiFramework.d.ts.map +1 -1
  716. package/lib/esm/appui-react/UiFramework.js +9 -5
  717. package/lib/esm/appui-react/UiFramework.js.map +1 -1
  718. package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts +2 -1
  719. package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  720. package/lib/esm/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
  721. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts +2 -1
  722. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  723. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
  724. package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts +2 -2
  725. package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
  726. package/lib/esm/appui-react/accudraw/AccuDrawInputField.js +4 -1
  727. package/lib/esm/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
  728. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts +1 -1
  729. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.d.ts.map +1 -1
  730. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
  731. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.d.ts +2 -2
  732. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
  733. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  734. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.d.ts +2 -2
  735. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.d.ts.map +1 -1
  736. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
  737. package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts +1 -1
  738. package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  739. package/lib/esm/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  740. package/lib/esm/appui-react/accudraw/Calculator.d.ts +2 -2
  741. package/lib/esm/appui-react/accudraw/Calculator.d.ts.map +1 -1
  742. package/lib/esm/appui-react/accudraw/Calculator.js.map +1 -1
  743. package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts +2 -2
  744. package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
  745. package/lib/esm/appui-react/accudraw/CalculatorPopup.js.map +1 -1
  746. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts +5 -4
  747. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
  748. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  749. package/lib/esm/appui-react/accudraw/MenuButton.d.ts +3 -3
  750. package/lib/esm/appui-react/accudraw/MenuButton.d.ts.map +1 -1
  751. package/lib/esm/appui-react/accudraw/MenuButton.js.map +1 -1
  752. package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts +1 -1
  753. package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts.map +1 -1
  754. package/lib/esm/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
  755. package/lib/esm/appui-react/accudraw/SquareButton.d.ts +2 -2
  756. package/lib/esm/appui-react/accudraw/SquareButton.d.ts.map +1 -1
  757. package/lib/esm/appui-react/accudraw/SquareButton.js.map +1 -1
  758. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts +2 -2
  759. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  760. package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
  761. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts +1 -1
  762. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  763. package/lib/esm/appui-react/backstage/BackstageComposerItem.js +2 -1
  764. package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  765. package/lib/esm/appui-react/backstage/BackstageItem.d.ts +2 -2
  766. package/lib/esm/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  767. package/lib/esm/appui-react/backstage/BackstageItem.js.map +1 -1
  768. package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts +2 -2
  769. package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
  770. package/lib/esm/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
  771. package/lib/esm/appui-react/backstage/BackstageItemsManager.d.ts +1 -1
  772. package/lib/esm/appui-react/backstage/BackstageItemsManager.d.ts.map +1 -1
  773. package/lib/esm/appui-react/backstage/BackstageItemsManager.js.map +1 -1
  774. package/lib/esm/appui-react/backstage/BackstageManager.d.ts +2 -2
  775. package/lib/esm/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  776. package/lib/esm/appui-react/backstage/BackstageManager.js.map +1 -1
  777. package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts +2 -2
  778. package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
  779. package/lib/esm/appui-react/backstage/InternalBackstageManager.js.map +1 -1
  780. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.d.ts +2 -2
  781. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.d.ts.map +1 -1
  782. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  783. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts +2 -2
  784. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  785. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  786. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts +1 -1
  787. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  788. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +5 -4
  789. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  790. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts +1 -1
  791. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  792. package/lib/esm/appui-react/childwindow/PopoutWidget.js.map +1 -1
  793. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts +1 -1
  794. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  795. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  796. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
  797. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
  798. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +1 -1
  799. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  800. package/lib/esm/appui-react/configurableui/TimeTracker.d.ts.map +1 -1
  801. package/lib/esm/appui-react/configurableui/TimeTracker.js +2 -1
  802. package/lib/esm/appui-react/configurableui/TimeTracker.js.map +1 -1
  803. package/lib/esm/appui-react/configurableui/state.d.ts +1 -1
  804. package/lib/esm/appui-react/configurableui/state.d.ts.map +1 -1
  805. package/lib/esm/appui-react/configurableui/state.js.map +1 -1
  806. package/lib/esm/appui-react/content/ContentControl.d.ts +2 -2
  807. package/lib/esm/appui-react/content/ContentControl.d.ts.map +1 -1
  808. package/lib/esm/appui-react/content/ContentControl.js.map +1 -1
  809. package/lib/esm/appui-react/content/ContentGroup.d.ts +6 -6
  810. package/lib/esm/appui-react/content/ContentGroup.d.ts.map +1 -1
  811. package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
  812. package/lib/esm/appui-react/content/ContentLayout.d.ts +4 -3
  813. package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
  814. package/lib/esm/appui-react/content/ContentLayout.js +11 -6
  815. package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
  816. package/lib/esm/appui-react/content/ContentLayout.scss +50 -21
  817. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts +1 -1
  818. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  819. package/lib/esm/appui-react/content/DefaultViewOverlay.js +4 -3
  820. package/lib/esm/appui-react/content/DefaultViewOverlay.js.map +1 -1
  821. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +2 -2
  822. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  823. package/lib/esm/appui-react/content/FloatingViewportContent.js +2 -1
  824. package/lib/esm/appui-react/content/FloatingViewportContent.js.map +1 -1
  825. package/lib/esm/appui-react/content/IModelViewport.d.ts +5 -4
  826. package/lib/esm/appui-react/content/IModelViewport.d.ts.map +1 -1
  827. package/lib/esm/appui-react/content/IModelViewport.js +6 -3
  828. package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
  829. package/lib/esm/appui-react/content/InternalContentLayoutManager.d.ts +2 -2
  830. package/lib/esm/appui-react/content/InternalContentLayoutManager.d.ts.map +1 -1
  831. package/lib/esm/appui-react/content/InternalContentLayoutManager.js +2 -1
  832. package/lib/esm/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  833. package/lib/esm/appui-react/content/InternalContentViewManager.d.ts +2 -2
  834. package/lib/esm/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
  835. package/lib/esm/appui-react/content/InternalContentViewManager.js +1 -1
  836. package/lib/esm/appui-react/content/InternalContentViewManager.js.map +1 -1
  837. package/lib/esm/appui-react/content/StageContentLayout.d.ts +5 -5
  838. package/lib/esm/appui-react/content/StageContentLayout.d.ts.map +1 -1
  839. package/lib/esm/appui-react/content/StageContentLayout.js.map +1 -1
  840. package/lib/esm/appui-react/content/ViewStateHelper.d.ts +2 -2
  841. package/lib/esm/appui-react/content/ViewStateHelper.d.ts.map +1 -1
  842. package/lib/esm/appui-react/content/ViewStateHelper.js.map +1 -1
  843. package/lib/esm/appui-react/content/ViewportContentControl.d.ts +4 -3
  844. package/lib/esm/appui-react/content/ViewportContentControl.d.ts.map +1 -1
  845. package/lib/esm/appui-react/content/ViewportContentControl.js.map +1 -1
  846. package/lib/esm/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  847. package/lib/esm/appui-react/content/split-pane/Resizer.js +2 -1
  848. package/lib/esm/appui-react/content/split-pane/Resizer.js.map +1 -1
  849. package/lib/esm/appui-react/content/split-pane/SplitPane.js +12 -8
  850. package/lib/esm/appui-react/content/split-pane/SplitPane.js.map +1 -1
  851. package/lib/esm/appui-react/cursor/CursorInformation.d.ts +2 -1
  852. package/lib/esm/appui-react/cursor/CursorInformation.d.ts.map +1 -1
  853. package/lib/esm/appui-react/cursor/CursorInformation.js.map +1 -1
  854. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts +2 -2
  855. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
  856. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js +3 -2
  857. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  858. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts +4 -2
  859. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  860. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  861. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts +2 -1
  862. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
  863. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  864. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts +3 -2
  865. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
  866. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
  867. package/lib/esm/appui-react/dialog/ContentDialog.d.ts +1 -1
  868. package/lib/esm/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  869. package/lib/esm/appui-react/dialog/ContentDialog.js +6 -3
  870. package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -1
  871. package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts +1 -1
  872. package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
  873. package/lib/esm/appui-react/dialog/ContentDialogManager.js.map +1 -1
  874. package/lib/esm/appui-react/dialog/DialogManagerBase.js +3 -2
  875. package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
  876. package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts +3 -2
  877. package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
  878. package/lib/esm/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  879. package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts +1 -1
  880. package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
  881. package/lib/esm/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  882. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts +3 -2
  883. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
  884. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  885. package/lib/esm/appui-react/dialog/ModalDialogManager.d.ts +1 -1
  886. package/lib/esm/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
  887. package/lib/esm/appui-react/dialog/ModalDialogManager.js.map +1 -1
  888. package/lib/esm/appui-react/dialog/ModelessDialog.d.ts +1 -1
  889. package/lib/esm/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
  890. package/lib/esm/appui-react/dialog/ModelessDialog.js.map +1 -1
  891. package/lib/esm/appui-react/dialog/ModelessDialogManager.d.ts +1 -1
  892. package/lib/esm/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
  893. package/lib/esm/appui-react/dialog/ModelessDialogManager.js.map +1 -1
  894. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts +1 -1
  895. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  896. package/lib/esm/appui-react/dialog/StandardMessageBox.js.map +1 -1
  897. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts +1 -1
  898. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  899. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  900. package/lib/esm/appui-react/feedback/ElementTooltip.d.ts +6 -5
  901. package/lib/esm/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  902. package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
  903. package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts +1 -1
  904. package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  905. package/lib/esm/appui-react/feedback/ValidationTextbox.js.map +1 -1
  906. package/lib/esm/appui-react/framework/FrameworkBackstage.d.ts +3 -3
  907. package/lib/esm/appui-react/framework/FrameworkBackstage.d.ts.map +1 -1
  908. package/lib/esm/appui-react/framework/FrameworkBackstage.js.map +1 -1
  909. package/lib/esm/appui-react/framework/FrameworkContent.d.ts +6 -5
  910. package/lib/esm/appui-react/framework/FrameworkContent.d.ts.map +1 -1
  911. package/lib/esm/appui-react/framework/FrameworkContent.js.map +1 -1
  912. package/lib/esm/appui-react/framework/FrameworkControls.d.ts +1 -1
  913. package/lib/esm/appui-react/framework/FrameworkControls.d.ts.map +1 -1
  914. package/lib/esm/appui-react/framework/FrameworkControls.js.map +1 -1
  915. package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts +2 -1
  916. package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
  917. package/lib/esm/appui-react/framework/FrameworkDialogs.js +0 -7
  918. package/lib/esm/appui-react/framework/FrameworkDialogs.js.map +1 -1
  919. package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts +11 -11
  920. package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
  921. package/lib/esm/appui-react/framework/FrameworkFrontstages.js.map +1 -1
  922. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts +4 -4
  923. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
  924. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
  925. package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts +3 -2
  926. package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
  927. package/lib/esm/appui-react/framework/FrameworkToolSettings.js +0 -7
  928. package/lib/esm/appui-react/framework/FrameworkToolSettings.js.map +1 -1
  929. package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts +4 -4
  930. package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
  931. package/lib/esm/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  932. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts +11 -10
  933. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  934. package/lib/esm/appui-react/frontstage/FrontstageDef.js +4 -3
  935. package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
  936. package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts +1 -1
  937. package/lib/esm/appui-react/frontstage/FrontstageProvider.d.ts.map +1 -1
  938. package/lib/esm/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  939. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts +16 -11
  940. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
  941. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  942. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts +1 -1
  943. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  944. package/lib/esm/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  945. package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts +1 -1
  946. package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  947. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js +3 -2
  948. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  949. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts +6 -5
  950. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  951. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +3 -2
  952. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  953. package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts +1 -1
  954. package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
  955. package/lib/esm/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
  956. package/lib/esm/appui-react/hooks/useActiveStageId.js.map +1 -1
  957. package/lib/esm/appui-react/hooks/useActiveViewport.d.ts +1 -1
  958. package/lib/esm/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
  959. package/lib/esm/appui-react/hooks/useActiveViewport.js.map +1 -1
  960. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts +1 -1
  961. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts.map +1 -1
  962. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
  963. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  964. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.d.ts +1 -1
  965. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.d.ts.map +1 -1
  966. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
  967. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  968. package/lib/esm/appui-react/hooks/useSolarDataProvider.d.ts +2 -2
  969. package/lib/esm/appui-react/hooks/useSolarDataProvider.d.ts.map +1 -1
  970. package/lib/esm/appui-react/hooks/useSolarDataProvider.js +13 -8
  971. package/lib/esm/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  972. package/lib/esm/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
  973. package/lib/esm/appui-react/hooks/useUiVisibility.js.map +1 -1
  974. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
  975. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
  976. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  977. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts +2 -2
  978. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
  979. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
  980. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts +2 -2
  981. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
  982. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  983. package/lib/esm/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  984. package/lib/esm/appui-react/messages/ActivityMessage.js +7 -5
  985. package/lib/esm/appui-react/messages/ActivityMessage.js.map +1 -1
  986. package/lib/esm/appui-react/messages/AppNotificationManager.d.ts +4 -3
  987. package/lib/esm/appui-react/messages/AppNotificationManager.d.ts.map +1 -1
  988. package/lib/esm/appui-react/messages/AppNotificationManager.js.map +1 -1
  989. package/lib/esm/appui-react/messages/HollowIcon.d.ts +1 -1
  990. package/lib/esm/appui-react/messages/HollowIcon.d.ts.map +1 -1
  991. package/lib/esm/appui-react/messages/HollowIcon.js.map +1 -1
  992. package/lib/esm/appui-react/messages/InputField.d.ts +1 -1
  993. package/lib/esm/appui-react/messages/InputField.d.ts.map +1 -1
  994. package/lib/esm/appui-react/messages/InputField.js.map +1 -1
  995. package/lib/esm/appui-react/messages/MessageLabel.d.ts +1 -1
  996. package/lib/esm/appui-react/messages/MessageLabel.d.ts.map +1 -1
  997. package/lib/esm/appui-react/messages/MessageLabel.js.map +1 -1
  998. package/lib/esm/appui-react/messages/MessageManager.d.ts +7 -6
  999. package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
  1000. package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
  1001. package/lib/esm/appui-react/messages/MessageSpan.d.ts +2 -2
  1002. package/lib/esm/appui-react/messages/MessageSpan.d.ts.map +1 -1
  1003. package/lib/esm/appui-react/messages/MessageSpan.js.map +1 -1
  1004. package/lib/esm/appui-react/messages/Pointer.d.ts +5 -4
  1005. package/lib/esm/appui-react/messages/Pointer.d.ts.map +1 -1
  1006. package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
  1007. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts +5 -4
  1008. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  1009. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  1010. package/lib/esm/appui-react/messages/StatusMessageManager.d.ts +2 -2
  1011. package/lib/esm/appui-react/messages/StatusMessageManager.d.ts.map +1 -1
  1012. package/lib/esm/appui-react/messages/StatusMessageManager.js.map +1 -1
  1013. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts +1 -1
  1014. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  1015. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  1016. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts +1 -1
  1017. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  1018. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  1019. package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts +4 -3
  1020. package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
  1021. package/lib/esm/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
  1022. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts +3 -3
  1023. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  1024. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  1025. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts +4 -4
  1026. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
  1027. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  1028. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts +2 -2
  1029. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  1030. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  1031. package/lib/esm/appui-react/pickers/ListPicker.d.ts +3 -1
  1032. package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
  1033. package/lib/esm/appui-react/pickers/ListPicker.js +6 -1
  1034. package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
  1035. package/lib/esm/appui-react/pickers/ViewSelector.d.ts +4 -3
  1036. package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  1037. package/lib/esm/appui-react/pickers/ViewSelector.js +20 -7
  1038. package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
  1039. package/lib/esm/appui-react/popup/CardPopup.d.ts +4 -3
  1040. package/lib/esm/appui-react/popup/CardPopup.d.ts.map +1 -1
  1041. package/lib/esm/appui-react/popup/CardPopup.js.map +1 -1
  1042. package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts +4 -3
  1043. package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
  1044. package/lib/esm/appui-react/popup/HTMLElementPopup.js.map +1 -1
  1045. package/lib/esm/appui-react/popup/InputEditorPopup.d.ts +3 -3
  1046. package/lib/esm/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
  1047. package/lib/esm/appui-react/popup/InputEditorPopup.js.map +1 -1
  1048. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts +2 -2
  1049. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  1050. package/lib/esm/appui-react/popup/KeyinPalettePanel.js +2 -1
  1051. package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  1052. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts +2 -2
  1053. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  1054. package/lib/esm/appui-react/popup/KeyinPalettePopup.js.map +1 -1
  1055. package/lib/esm/appui-react/popup/PopupManager.d.ts +5 -4
  1056. package/lib/esm/appui-react/popup/PopupManager.d.ts.map +1 -1
  1057. package/lib/esm/appui-react/popup/PopupManager.js +2 -1
  1058. package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
  1059. package/lib/esm/appui-react/popup/PositionPopup.d.ts +2 -2
  1060. package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
  1061. package/lib/esm/appui-react/popup/PositionPopup.js.map +1 -1
  1062. package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts +4 -3
  1063. package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
  1064. package/lib/esm/appui-react/popup/ToolSettingsPopup.js.map +1 -1
  1065. package/lib/esm/appui-react/popup/ToolbarPopup.d.ts +5 -4
  1066. package/lib/esm/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
  1067. package/lib/esm/appui-react/popup/ToolbarPopup.js.map +1 -1
  1068. package/lib/esm/appui-react/redux/FrameworkState.d.ts +4 -2
  1069. package/lib/esm/appui-react/redux/FrameworkState.d.ts.map +1 -1
  1070. package/lib/esm/appui-react/redux/FrameworkState.js.map +1 -1
  1071. package/lib/esm/appui-react/redux/SessionState.d.ts +3 -3
  1072. package/lib/esm/appui-react/redux/SessionState.d.ts.map +1 -1
  1073. package/lib/esm/appui-react/redux/SessionState.js.map +1 -1
  1074. package/lib/esm/appui-react/redux/StateManager.d.ts +3 -3
  1075. package/lib/esm/appui-react/redux/StateManager.d.ts.map +1 -1
  1076. package/lib/esm/appui-react/redux/StateManager.js +0 -1
  1077. package/lib/esm/appui-react/redux/StateManager.js.map +1 -1
  1078. package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts +1 -1
  1079. package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  1080. package/lib/esm/appui-react/safearea/SafeAreaContext.js.map +1 -1
  1081. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts +2 -2
  1082. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -1
  1083. package/lib/esm/appui-react/safearea/SafeAreaHelpers.js.map +1 -1
  1084. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts +1 -1
  1085. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  1086. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  1087. package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts +1 -1
  1088. package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  1089. package/lib/esm/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  1090. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts +3 -3
  1091. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  1092. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js +1 -1
  1093. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  1094. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts +1 -1
  1095. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  1096. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
  1097. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts +1 -1
  1098. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  1099. package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  1100. package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts +4 -3
  1101. package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  1102. package/lib/esm/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  1103. package/lib/esm/appui-react/shared/AnyItemDef.d.ts +4 -4
  1104. package/lib/esm/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  1105. package/lib/esm/appui-react/shared/AnyItemDef.js.map +1 -1
  1106. package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts +2 -2
  1107. package/lib/esm/appui-react/shared/AnyToolbarItemDef.d.ts.map +1 -1
  1108. package/lib/esm/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
  1109. package/lib/esm/appui-react/shared/CommandItemDef.d.ts +2 -2
  1110. package/lib/esm/appui-react/shared/CommandItemDef.d.ts.map +1 -1
  1111. package/lib/esm/appui-react/shared/CommandItemDef.js.map +1 -1
  1112. package/lib/esm/appui-react/shared/CustomItemDef.d.ts +2 -2
  1113. package/lib/esm/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  1114. package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
  1115. package/lib/esm/appui-react/shared/CustomItemProps.d.ts +1 -1
  1116. package/lib/esm/appui-react/shared/CustomItemProps.d.ts.map +1 -1
  1117. package/lib/esm/appui-react/shared/CustomItemProps.js.map +1 -1
  1118. package/lib/esm/appui-react/shared/GroupItemProps.d.ts +3 -3
  1119. package/lib/esm/appui-react/shared/GroupItemProps.d.ts.map +1 -1
  1120. package/lib/esm/appui-react/shared/GroupItemProps.js.map +1 -1
  1121. package/lib/esm/appui-react/shared/ItemDefBase.d.ts +4 -4
  1122. package/lib/esm/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  1123. package/lib/esm/appui-react/shared/ItemDefBase.js.map +1 -1
  1124. package/lib/esm/appui-react/shared/ItemMap.d.ts +1 -1
  1125. package/lib/esm/appui-react/shared/ItemMap.d.ts.map +1 -1
  1126. package/lib/esm/appui-react/shared/ItemMap.js.map +1 -1
  1127. package/lib/esm/appui-react/shared/ItemProps.d.ts +2 -2
  1128. package/lib/esm/appui-react/shared/ItemProps.d.ts.map +1 -1
  1129. package/lib/esm/appui-react/shared/ItemProps.js.map +1 -1
  1130. package/lib/esm/appui-react/shared/MenuItem.d.ts +3 -3
  1131. package/lib/esm/appui-react/shared/MenuItem.d.ts.map +1 -1
  1132. package/lib/esm/appui-react/shared/MenuItem.js.map +1 -1
  1133. package/lib/esm/appui-react/shared/ToolItemDef.d.ts +3 -3
  1134. package/lib/esm/appui-react/shared/ToolItemDef.d.ts.map +1 -1
  1135. package/lib/esm/appui-react/shared/ToolItemDef.js.map +1 -1
  1136. package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts +2 -2
  1137. package/lib/esm/appui-react/stagepanels/StagePanelConfig.d.ts.map +1 -1
  1138. package/lib/esm/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  1139. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts +2 -2
  1140. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  1141. package/lib/esm/appui-react/stagepanels/StagePanelDef.js +7 -5
  1142. package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  1143. package/lib/esm/appui-react/statusbar/Field.d.ts +1 -1
  1144. package/lib/esm/appui-react/statusbar/Field.d.ts.map +1 -1
  1145. package/lib/esm/appui-react/statusbar/Field.js.map +1 -1
  1146. package/lib/esm/appui-react/statusbar/Indicator.d.ts +1 -1
  1147. package/lib/esm/appui-react/statusbar/Indicator.d.ts.map +1 -1
  1148. package/lib/esm/appui-react/statusbar/Indicator.js +2 -1
  1149. package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
  1150. package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts +2 -2
  1151. package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  1152. package/lib/esm/appui-react/statusbar/LabelIndicator.js.map +1 -1
  1153. package/lib/esm/appui-react/statusbar/Overflow.d.ts +1 -1
  1154. package/lib/esm/appui-react/statusbar/Overflow.d.ts.map +1 -1
  1155. package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
  1156. package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts +1 -1
  1157. package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  1158. package/lib/esm/appui-react/statusbar/OverflowPanel.js.map +1 -1
  1159. package/lib/esm/appui-react/statusbar/Popup.d.ts +1 -1
  1160. package/lib/esm/appui-react/statusbar/Popup.d.ts.map +1 -1
  1161. package/lib/esm/appui-react/statusbar/Popup.js.map +1 -1
  1162. package/lib/esm/appui-react/statusbar/Separator.d.ts +1 -1
  1163. package/lib/esm/appui-react/statusbar/Separator.d.ts.map +1 -1
  1164. package/lib/esm/appui-react/statusbar/Separator.js.map +1 -1
  1165. package/lib/esm/appui-react/statusbar/StatusBar.d.ts +3 -3
  1166. package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  1167. package/lib/esm/appui-react/statusbar/StatusBar.js +5 -3
  1168. package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
  1169. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts +2 -2
  1170. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  1171. package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  1172. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts +3 -3
  1173. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  1174. package/lib/esm/appui-react/statusbar/StatusBarItem.js.map +1 -1
  1175. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts +5 -4
  1176. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  1177. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  1178. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts +1 -1
  1179. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  1180. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  1181. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts +2 -1
  1182. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  1183. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  1184. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts +1 -1
  1185. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  1186. package/lib/esm/appui-react/statusbar/dialog/Button.js.map +1 -1
  1187. package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts +1 -1
  1188. package/lib/esm/appui-react/statusbar/dialog/Dialog.d.ts.map +1 -1
  1189. package/lib/esm/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  1190. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts +1 -1
  1191. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  1192. package/lib/esm/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  1193. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.d.ts +2 -2
  1194. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.d.ts.map +1 -1
  1195. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  1196. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts +2 -2
  1197. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  1198. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  1199. package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts +1 -1
  1200. package/lib/esm/appui-react/statusfields/ActivityCenter.d.ts.map +1 -1
  1201. package/lib/esm/appui-react/statusfields/ActivityCenter.js.map +1 -1
  1202. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts +1 -1
  1203. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  1204. package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
  1205. package/lib/esm/appui-react/statusfields/SectionsField.d.ts +1 -1
  1206. package/lib/esm/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  1207. package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
  1208. package/lib/esm/appui-react/statusfields/SelectionCount.d.ts +29 -0
  1209. package/lib/esm/appui-react/statusfields/SelectionCount.d.ts.map +1 -0
  1210. package/lib/esm/appui-react/statusfields/SelectionCount.js +46 -0
  1211. package/lib/esm/appui-react/statusfields/SelectionCount.js.map +1 -0
  1212. package/lib/esm/appui-react/statusfields/{SelectionInfo.scss → SelectionCount.scss} +5 -8
  1213. package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts +6 -19
  1214. package/lib/esm/appui-react/statusfields/SelectionInfo.d.ts.map +1 -1
  1215. package/lib/esm/appui-react/statusfields/SelectionInfo.js +14 -32
  1216. package/lib/esm/appui-react/statusfields/SelectionInfo.js.map +1 -1
  1217. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +2 -2
  1218. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  1219. package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
  1220. package/lib/esm/appui-react/statusfields/SnapMode.d.ts +1 -1
  1221. package/lib/esm/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  1222. package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
  1223. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts +2 -2
  1224. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  1225. package/lib/esm/appui-react/statusfields/ViewAttributes.js.map +1 -1
  1226. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts +1 -1
  1227. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  1228. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  1229. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts +2 -2
  1230. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  1231. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +1 -1
  1232. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  1233. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts +2 -2
  1234. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  1235. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  1236. package/lib/esm/appui-react/theme/ThemeManager.d.ts.map +1 -1
  1237. package/lib/esm/appui-react/theme/ThemeManager.js +2 -1
  1238. package/lib/esm/appui-react/theme/ThemeManager.js.map +1 -1
  1239. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.d.ts +3 -2
  1240. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.d.ts.map +1 -1
  1241. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  1242. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.d.ts +3 -2
  1243. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.d.ts.map +1 -1
  1244. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
  1245. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.d.ts +1 -1
  1246. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.d.ts.map +1 -1
  1247. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  1248. package/lib/esm/appui-react/toolbar/GroupItem.d.ts +4 -4
  1249. package/lib/esm/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  1250. package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
  1251. package/lib/esm/appui-react/toolbar/Toolbar.d.ts +4 -4
  1252. package/lib/esm/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  1253. package/lib/esm/appui-react/toolbar/Toolbar.js.map +1 -1
  1254. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts +2 -1
  1255. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  1256. package/lib/esm/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  1257. package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts +4 -4
  1258. package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  1259. package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  1260. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts +2 -2
  1261. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  1262. package/lib/esm/appui-react/toolbar/ToolbarItem.js.map +1 -1
  1263. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts +1 -1
  1264. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
  1265. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
  1266. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.d.ts +1 -1
  1267. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.d.ts.map +1 -1
  1268. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
  1269. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts +4 -4
  1270. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  1271. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  1272. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.d.ts +2 -2
  1273. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.d.ts.map +1 -1
  1274. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.js.map +1 -1
  1275. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.d.ts +2 -2
  1276. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.d.ts.map +1 -1
  1277. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
  1278. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts +2 -2
  1279. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  1280. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  1281. package/lib/esm/appui-react/tools/CoreToolDefinitions.js +14 -7
  1282. package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  1283. package/lib/esm/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  1284. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts +4 -3
  1285. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  1286. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js +2 -1
  1287. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  1288. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts +3 -2
  1289. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
  1290. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  1291. package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts +1 -1
  1292. package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
  1293. package/lib/esm/appui-react/toolsettings/ToolInformation.js.map +1 -1
  1294. package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts +6 -5
  1295. package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -1
  1296. package/lib/esm/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
  1297. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts +7 -7
  1298. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts.map +1 -1
  1299. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js +28 -17
  1300. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  1301. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts +6 -6
  1302. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  1303. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
  1304. package/lib/esm/appui-react/ui-items-provider/ProviderItem.d.ts +1 -1
  1305. package/lib/esm/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
  1306. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts +3 -3
  1307. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  1308. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  1309. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts +4 -3
  1310. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  1311. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +10 -8
  1312. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  1313. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts +2 -2
  1314. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  1315. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  1316. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts +3 -2
  1317. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
  1318. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  1319. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +2 -2
  1320. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  1321. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  1322. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts +2 -2
  1323. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  1324. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +3 -2
  1325. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  1326. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts +14 -13
  1327. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  1328. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +15 -9
  1329. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  1330. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts +6 -6
  1331. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
  1332. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
  1333. package/lib/esm/appui-react/ui-items-provider/isProviderItem.d.ts +1 -1
  1334. package/lib/esm/appui-react/ui-items-provider/isProviderItem.d.ts.map +1 -1
  1335. package/lib/esm/appui-react/ui-items-provider/isProviderItem.js.map +1 -1
  1336. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts +3 -2
  1337. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
  1338. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js +1 -1
  1339. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  1340. package/lib/esm/appui-react/uiprovider/ComponentGenerator.d.ts +3 -2
  1341. package/lib/esm/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
  1342. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js +1 -1
  1343. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  1344. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +1 -1
  1345. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  1346. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  1347. package/lib/esm/appui-react/uistate/AppUiSettings.d.ts +3 -2
  1348. package/lib/esm/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  1349. package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -1
  1350. package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts +1 -1
  1351. package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  1352. package/lib/esm/appui-react/uistate/useUiStateStorage.js.map +1 -1
  1353. package/lib/esm/appui-react/utils/InternalUiShowHideManager.d.ts +2 -2
  1354. package/lib/esm/appui-react/utils/InternalUiShowHideManager.d.ts.map +1 -1
  1355. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js +3 -3
  1356. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  1357. package/lib/esm/appui-react/utils/PropsHelper.d.ts +3 -2
  1358. package/lib/esm/appui-react/utils/PropsHelper.d.ts.map +1 -1
  1359. package/lib/esm/appui-react/utils/PropsHelper.js +2 -1
  1360. package/lib/esm/appui-react/utils/PropsHelper.js.map +1 -1
  1361. package/lib/esm/appui-react/utils/ViewUtilities.d.ts +1 -1
  1362. package/lib/esm/appui-react/utils/ViewUtilities.d.ts.map +1 -1
  1363. package/lib/esm/appui-react/utils/ViewUtilities.js +0 -1
  1364. package/lib/esm/appui-react/utils/ViewUtilities.js.map +1 -1
  1365. package/lib/esm/appui-react/widget-panels/Content.d.ts +1 -1
  1366. package/lib/esm/appui-react/widget-panels/Content.d.ts.map +1 -1
  1367. package/lib/esm/appui-react/widget-panels/Content.js +18 -7
  1368. package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
  1369. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +5 -4
  1370. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  1371. package/lib/esm/appui-react/widget-panels/Frontstage.js +39 -30
  1372. package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
  1373. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts +1 -1
  1374. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  1375. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
  1376. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts +1 -1
  1377. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  1378. package/lib/esm/appui-react/widget-panels/StatusBar.js +1 -1
  1379. package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
  1380. package/lib/esm/appui-react/widget-panels/Tab.js +1 -1
  1381. package/lib/esm/appui-react/widget-panels/Tab.js.map +1 -1
  1382. package/lib/esm/appui-react/widget-panels/ToolSettings.js +17 -9
  1383. package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
  1384. package/lib/esm/appui-react/widget-panels/Toolbars.js +3 -2
  1385. package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
  1386. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts +1 -1
  1387. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  1388. package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
  1389. package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts +1 -1
  1390. package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  1391. package/lib/esm/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  1392. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts +1 -1
  1393. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  1394. package/lib/esm/appui-react/widgets/BasicToolWidget.js.map +1 -1
  1395. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts +1 -1
  1396. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  1397. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +2 -2
  1398. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  1399. package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts +1 -1
  1400. package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts.map +1 -1
  1401. package/lib/esm/appui-react/widgets/StableWidgetDef.js.map +1 -1
  1402. package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts +1 -1
  1403. package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  1404. package/lib/esm/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  1405. package/lib/esm/appui-react/widgets/Widget.d.ts +4 -4
  1406. package/lib/esm/appui-react/widgets/Widget.d.ts.map +1 -1
  1407. package/lib/esm/appui-react/widgets/Widget.js.map +1 -1
  1408. package/lib/esm/appui-react/widgets/WidgetConfig.d.ts +1 -1
  1409. package/lib/esm/appui-react/widgets/WidgetConfig.d.ts.map +1 -1
  1410. package/lib/esm/appui-react/widgets/WidgetConfig.js.map +1 -1
  1411. package/lib/esm/appui-react/widgets/WidgetControl.d.ts +5 -4
  1412. package/lib/esm/appui-react/widgets/WidgetControl.d.ts.map +1 -1
  1413. package/lib/esm/appui-react/widgets/WidgetControl.js.map +1 -1
  1414. package/lib/esm/appui-react/widgets/WidgetDef.d.ts +10 -8
  1415. package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  1416. package/lib/esm/appui-react/widgets/WidgetDef.js +1 -1
  1417. package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
  1418. package/lib/esm/appui-react/widgets/WidgetHost.d.ts +3 -3
  1419. package/lib/esm/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  1420. package/lib/esm/appui-react/widgets/WidgetHost.js +3 -2
  1421. package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
  1422. package/lib/esm/appui-react.d.ts +1 -0
  1423. package/lib/esm/appui-react.d.ts.map +1 -1
  1424. package/lib/esm/appui-react.js +1 -0
  1425. package/lib/esm/appui-react.js.map +1 -1
  1426. package/lib/public/locales/en/UiFramework.json +4 -1
  1427. package/package.json +22 -23
@@ -1 +1 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../../../src/appui-react/configurableui/state.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,wDAAgD;AAChD,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AvCD,sDAuCC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module State\r\n */\r\n\r\nimport { SnapMode } from \"@itwin/core-frontend\";\r\nimport { ActionsUnion, createAction } from \"../redux/redux-ts\";\r\nimport { SYSTEM_PREFERRED_COLOR_THEME, TOOLBAR_OPACITY_DEFAULT, WIDGET_OPACITY_DEFAULT } from \"../theme/ThemeManager\";\r\n\r\n// cSpell:ignore configurableui snapmode toolprompt\r\n\r\n/** Action Ids used by Redux and to send sync UI components. Typically used to refresh visibility or enable state of control.\r\n * Since these are also used as sync ids they should be in lowercase.\r\n * @public\r\n */\r\nexport enum ConfigurableUiActionId {\r\n SetSnapMode = \"configurableui:set_snapmode\",\r\n SetTheme = \"configurableui:set_theme\",\r\n SetToolPrompt = \"configurableui:set_toolprompt\",\r\n SetWidgetOpacity = \"configurableui:set_widget_opacity\",\r\n SetDragInteraction = \"configurableui:set-drag-interaction\",\r\n SetShowWidgetIcon = \"configurableui:set-show-widget-icon\",\r\n AutoCollapseUnpinnedPanels = \"configurableui:set-auto-collapse-unpinned-panels\",\r\n SetViewOverlayDisplay = \"configurableui:set-view-overlay-display\",\r\n AnimateToolSettings = \"configurableui:set-animate-tool-settings\",\r\n UseToolAsToolSettingsLabel = \"configurableui:set-use-tool-as-tool-settings-label\",\r\n SetToolbarOpacity = \"configurableui:set-toolbar-opacity\",\r\n}\r\n\r\n/** The portion of state managed by the ConfigurableUiReducer.\r\n * @public\r\n */\r\nexport interface ConfigurableUiState {\r\n snapMode: number;\r\n toolPrompt: string;\r\n theme: string;\r\n widgetOpacity: number;\r\n useDragInteraction: boolean;\r\n showWidgetIcon: boolean;\r\n autoCollapseUnpinnedPanels: boolean;\r\n viewOverlayDisplay: boolean;\r\n animateToolSettings: boolean;\r\n useToolAsToolSettingsLabel: boolean;\r\n toolbarOpacity: number;\r\n}\r\n\r\n/** used on first call of ConfigurableUiReducer */\r\nconst initialState: ConfigurableUiState = {\r\n snapMode: SnapMode.NearestKeypoint as number,\r\n toolPrompt: \"\",\r\n theme: SYSTEM_PREFERRED_COLOR_THEME,\r\n widgetOpacity: WIDGET_OPACITY_DEFAULT,\r\n useDragInteraction: false,\r\n showWidgetIcon: true,\r\n autoCollapseUnpinnedPanels: false,\r\n viewOverlayDisplay: true,\r\n animateToolSettings: false,\r\n useToolAsToolSettingsLabel: false,\r\n toolbarOpacity: TOOLBAR_OPACITY_DEFAULT,\r\n};\r\n\r\n/** An object with a function that creates each ConfigurableUiReducer that can be handled by our reducer.\r\n * @public\r\n */\r\nexport const ConfigurableUiActions = { // eslint-disable-line @typescript-eslint/naming-convention\r\n setSnapMode: (snapMode: number) => createAction(ConfigurableUiActionId.SetSnapMode, snapMode),\r\n setTheme:\r\n // istanbul ignore next\r\n (theme: string) => createAction(ConfigurableUiActionId.SetTheme, theme),\r\n setToolPrompt:\r\n // istanbul ignore next\r\n (toolPrompt: string) => createAction(ConfigurableUiActionId.SetToolPrompt, toolPrompt),\r\n setWidgetOpacity:\r\n // istanbul ignore next\r\n (opacity: number) => createAction(ConfigurableUiActionId.SetWidgetOpacity, opacity),\r\n setDragInteraction: (dragInteraction: boolean) => createAction(ConfigurableUiActionId.SetDragInteraction, dragInteraction),\r\n setShowWidgetIcon: (showWidgetIcon: boolean) => createAction(ConfigurableUiActionId.SetShowWidgetIcon, showWidgetIcon),\r\n setAutoCollapseUnpinnedPanels: (autoCollapse: boolean) => createAction(ConfigurableUiActionId.AutoCollapseUnpinnedPanels, autoCollapse),\r\n setViewOverlayDisplay: (displayViewOverlay: boolean) => createAction(ConfigurableUiActionId.SetViewOverlayDisplay, displayViewOverlay),\r\n setAnimateToolSettings: (animateToolSettings: boolean) => createAction(ConfigurableUiActionId.AnimateToolSettings, animateToolSettings),\r\n setUseToolAsToolSettingsLabel: (useToolAsToolSettingsLabel: boolean) => createAction(ConfigurableUiActionId.UseToolAsToolSettingsLabel, useToolAsToolSettingsLabel),\r\n setToolbarOpacity: (opacity: number) => createAction(ConfigurableUiActionId.SetToolbarOpacity, opacity),\r\n};\r\n\r\n/** Union of ConfigurableUi Redux actions\r\n * @public\r\n */\r\nexport type ConfigurableUiActionsUnion = ActionsUnion<typeof ConfigurableUiActions>;\r\n\r\n/** Handles actions to update ConfigurableUiState.\r\n * @public\r\n */\r\nexport function ConfigurableUiReducer(state: ConfigurableUiState = initialState, action: ConfigurableUiActionsUnion): ConfigurableUiState {\r\n const outState = state;\r\n\r\n switch (action.type) {\r\n case ConfigurableUiActionId.SetSnapMode: {\r\n return { ...state, snapMode: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetToolPrompt: {\r\n return { ...state, toolPrompt: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetTheme: {\r\n return { ...state, theme: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetWidgetOpacity: {\r\n return { ...state, widgetOpacity: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetDragInteraction: {\r\n return { ...state, useDragInteraction: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetShowWidgetIcon: {\r\n return { ...state, showWidgetIcon: action.payload };\r\n }\r\n case ConfigurableUiActionId.AutoCollapseUnpinnedPanels: {\r\n return { ...state, autoCollapseUnpinnedPanels: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetViewOverlayDisplay: {\r\n return { ...state, viewOverlayDisplay: action.payload };\r\n }\r\n case ConfigurableUiActionId.AnimateToolSettings: {\r\n return { ...state, animateToolSettings: action.payload };\r\n }\r\n case ConfigurableUiActionId.UseToolAsToolSettingsLabel: {\r\n return { ...state, useToolAsToolSettingsLabel: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetToolbarOpacity: {\r\n return { ...state, toolbarOpacity: action.payload };\r\n }\r\n }\r\n return outState;\r\n}\r\n"]}
1
+ {"version":3,"file":"state.js","sourceRoot":"","sources":["../../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,cAAc,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC;SACrD;KACF;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAvCD,sDAuCC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module State\r\n */\r\n\r\nimport { SnapMode } from \"@itwin/core-frontend\";\r\nimport type { ActionsUnion} from \"../redux/redux-ts\";\r\nimport { createAction } from \"../redux/redux-ts\";\r\nimport { SYSTEM_PREFERRED_COLOR_THEME, TOOLBAR_OPACITY_DEFAULT, WIDGET_OPACITY_DEFAULT } from \"../theme/ThemeManager\";\r\n\r\n// cSpell:ignore configurableui snapmode toolprompt\r\n\r\n/** Action Ids used by Redux and to send sync UI components. Typically used to refresh visibility or enable state of control.\r\n * Since these are also used as sync ids they should be in lowercase.\r\n * @public\r\n */\r\nexport enum ConfigurableUiActionId {\r\n SetSnapMode = \"configurableui:set_snapmode\",\r\n SetTheme = \"configurableui:set_theme\",\r\n SetToolPrompt = \"configurableui:set_toolprompt\",\r\n SetWidgetOpacity = \"configurableui:set_widget_opacity\",\r\n SetDragInteraction = \"configurableui:set-drag-interaction\",\r\n SetShowWidgetIcon = \"configurableui:set-show-widget-icon\",\r\n AutoCollapseUnpinnedPanels = \"configurableui:set-auto-collapse-unpinned-panels\",\r\n SetViewOverlayDisplay = \"configurableui:set-view-overlay-display\",\r\n AnimateToolSettings = \"configurableui:set-animate-tool-settings\",\r\n UseToolAsToolSettingsLabel = \"configurableui:set-use-tool-as-tool-settings-label\",\r\n SetToolbarOpacity = \"configurableui:set-toolbar-opacity\",\r\n}\r\n\r\n/** The portion of state managed by the ConfigurableUiReducer.\r\n * @public\r\n */\r\nexport interface ConfigurableUiState {\r\n snapMode: number;\r\n toolPrompt: string;\r\n theme: string;\r\n widgetOpacity: number;\r\n useDragInteraction: boolean;\r\n showWidgetIcon: boolean;\r\n autoCollapseUnpinnedPanels: boolean;\r\n viewOverlayDisplay: boolean;\r\n animateToolSettings: boolean;\r\n useToolAsToolSettingsLabel: boolean;\r\n toolbarOpacity: number;\r\n}\r\n\r\n/** used on first call of ConfigurableUiReducer */\r\nconst initialState: ConfigurableUiState = {\r\n snapMode: SnapMode.NearestKeypoint as number,\r\n toolPrompt: \"\",\r\n theme: SYSTEM_PREFERRED_COLOR_THEME,\r\n widgetOpacity: WIDGET_OPACITY_DEFAULT,\r\n useDragInteraction: false,\r\n showWidgetIcon: true,\r\n autoCollapseUnpinnedPanels: false,\r\n viewOverlayDisplay: true,\r\n animateToolSettings: false,\r\n useToolAsToolSettingsLabel: false,\r\n toolbarOpacity: TOOLBAR_OPACITY_DEFAULT,\r\n};\r\n\r\n/** An object with a function that creates each ConfigurableUiReducer that can be handled by our reducer.\r\n * @public\r\n */\r\nexport const ConfigurableUiActions = { // eslint-disable-line @typescript-eslint/naming-convention\r\n setSnapMode: (snapMode: number) => createAction(ConfigurableUiActionId.SetSnapMode, snapMode),\r\n setTheme:\r\n // istanbul ignore next\r\n (theme: string) => createAction(ConfigurableUiActionId.SetTheme, theme),\r\n setToolPrompt:\r\n // istanbul ignore next\r\n (toolPrompt: string) => createAction(ConfigurableUiActionId.SetToolPrompt, toolPrompt),\r\n setWidgetOpacity:\r\n // istanbul ignore next\r\n (opacity: number) => createAction(ConfigurableUiActionId.SetWidgetOpacity, opacity),\r\n setDragInteraction: (dragInteraction: boolean) => createAction(ConfigurableUiActionId.SetDragInteraction, dragInteraction),\r\n setShowWidgetIcon: (showWidgetIcon: boolean) => createAction(ConfigurableUiActionId.SetShowWidgetIcon, showWidgetIcon),\r\n setAutoCollapseUnpinnedPanels: (autoCollapse: boolean) => createAction(ConfigurableUiActionId.AutoCollapseUnpinnedPanels, autoCollapse),\r\n setViewOverlayDisplay: (displayViewOverlay: boolean) => createAction(ConfigurableUiActionId.SetViewOverlayDisplay, displayViewOverlay),\r\n setAnimateToolSettings: (animateToolSettings: boolean) => createAction(ConfigurableUiActionId.AnimateToolSettings, animateToolSettings),\r\n setUseToolAsToolSettingsLabel: (useToolAsToolSettingsLabel: boolean) => createAction(ConfigurableUiActionId.UseToolAsToolSettingsLabel, useToolAsToolSettingsLabel),\r\n setToolbarOpacity: (opacity: number) => createAction(ConfigurableUiActionId.SetToolbarOpacity, opacity),\r\n};\r\n\r\n/** Union of ConfigurableUi Redux actions\r\n * @public\r\n */\r\nexport type ConfigurableUiActionsUnion = ActionsUnion<typeof ConfigurableUiActions>;\r\n\r\n/** Handles actions to update ConfigurableUiState.\r\n * @public\r\n */\r\nexport function ConfigurableUiReducer(state: ConfigurableUiState = initialState, action: ConfigurableUiActionsUnion): ConfigurableUiState {\r\n const outState = state;\r\n\r\n switch (action.type) {\r\n case ConfigurableUiActionId.SetSnapMode: {\r\n return { ...state, snapMode: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetToolPrompt: {\r\n return { ...state, toolPrompt: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetTheme: {\r\n return { ...state, theme: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetWidgetOpacity: {\r\n return { ...state, widgetOpacity: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetDragInteraction: {\r\n return { ...state, useDragInteraction: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetShowWidgetIcon: {\r\n return { ...state, showWidgetIcon: action.payload };\r\n }\r\n case ConfigurableUiActionId.AutoCollapseUnpinnedPanels: {\r\n return { ...state, autoCollapseUnpinnedPanels: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetViewOverlayDisplay: {\r\n return { ...state, viewOverlayDisplay: action.payload };\r\n }\r\n case ConfigurableUiActionId.AnimateToolSettings: {\r\n return { ...state, animateToolSettings: action.payload };\r\n }\r\n case ConfigurableUiActionId.UseToolAsToolSettingsLabel: {\r\n return { ...state, useToolAsToolSettingsLabel: action.payload };\r\n }\r\n case ConfigurableUiActionId.SetToolbarOpacity: {\r\n return { ...state, toolbarOpacity: action.payload };\r\n }\r\n }\r\n return outState;\r\n}\r\n"]}
@@ -2,8 +2,8 @@
2
2
  * @module ContentView
3
3
  */
4
4
  import * as React from "react";
5
- import { Id64String } from "@itwin/core-bentley";
6
- import { IModelConnection, ScreenViewport, ViewState } from "@itwin/core-frontend";
5
+ import type { Id64String } from "@itwin/core-bentley";
6
+ import type { IModelConnection, ScreenViewport, ViewState } from "@itwin/core-frontend";
7
7
  import { UiEvent } from "@itwin/appui-abstract";
8
8
  import { ConfigurableCreateInfo, ConfigurableUiControl, ConfigurableUiControlType } from "../configurableui/ConfigurableUiControl";
9
9
  /** ControlControl Activated Event Args interface.
@@ -1 +1 @@
1
- {"version":3,"file":"ContentControl.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/content/ContentControl.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAEnI;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,oBAAoB,EAAE,cAAc,CAAC;IACrC,iBAAiB,CAAC,EAAE,cAAc,CAAC;CACpC;AAED;;GAEG;AACH,qBAAa,4BAA6B,SAAQ,OAAO,CAAC,gCAAgC,CAAC;CAAI;AAE/F;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,8EAA8E;IAC9E,0BAA0B,EAAE,OAAO,CAAC;IACpC,qCAAqC;IACrC,yBAAyB,CAAC,MAAM,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS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C,YAAY,CAAC,IAAI,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;aACxE;YACD,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;SACvB;QAED,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAES,YAAY;QACpB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC;IAClC,CAAC;IAED,mDAAmD;IACnD,IAAW,SAAS;QAClB,OAAO,IAAI,CAAC,YAAY,EAAE,CAAC;IAC7B,CAAC;IAED,IAAW,SAAS,CAAC,CAAkB,IAAI,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC;IAEjE,uEAAuE;IACvE,IAAW,oBAAoB;QAC7B,OAAO,EAAE,CAAC;IACZ,CAAC;CAEF;AAzDD,wCAyDC;AAED;;GAEG;AACH,MAAa,sBAAuB,SAAQ,cAAc;IACxD,YAAY,QAAgB,EAAE,IAAY,EAAE,IAAqB;QAC/D,KAAK,CAAC,IAAI,8CAAsB,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,SAAS,CAAC,CAAC;QACnE,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;IACzB,CAAC;CACF;AALD,wDAKC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ContentView\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { Id64String } from \"@itwin/core-bentley\";\r\nimport { IModelConnection, ScreenViewport, ViewState } from \"@itwin/core-frontend\";\r\nimport { UiEvent } from \"@itwin/appui-abstract\";\r\nimport { ConfigurableCreateInfo, ConfigurableUiControl, ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\r\n\r\n/** ControlControl Activated Event Args interface.\r\n * @public\r\n */\r\nexport interface ContentControlActivatedEventArgs {\r\n activeContentControl: ContentControl;\r\n oldContentControl?: ContentControl;\r\n}\r\n\r\n/** ContentControl Activated Event class.\r\n * @public\r\n */\r\nexport class ContentControlActivatedEvent extends UiEvent<ContentControlActivatedEventArgs> { }\r\n\r\n/** Interface to be implemented when the ContentControl supports ViewSelector changes\r\n * @public\r\n */\r\nexport interface SupportsViewSelectorChange {\r\n /** Returns true if this control supports reacting to ViewSelector changes. */\r\n supportsViewSelectorChange: boolean;\r\n /** Process a ViewSelector change. */\r\n processViewSelectorChange(iModel: IModelConnection, viewDefinitionId: Id64String, viewState: ViewState, name: string): Promise<void>;\r\n}\r\n\r\n/** The base class for Frontstage content controls.\r\n * @public\r\n */\r\nexport class ContentControl extends ConfigurableUiControl {\r\n protected _reactNode: React.ReactNode;\r\n private _keyAdded = false;\r\n\r\n /** Creates an instance of ContentControl.\r\n * @param info An object that the subclass must pass to this base class.\r\n * @param options Options provided via the applicationData in a [[ContentProps]].\r\n */\r\n constructor(info: ConfigurableCreateInfo, options: any) {\r\n super(info, options);\r\n }\r\n\r\n /** Called when this ContentControl is activated */\r\n public onActivated(): void {\r\n }\r\n\r\n /** Called when this ContentControl is deactivated */\r\n public onDeactivated(): void {\r\n }\r\n\r\n /** Gets the type of ConfigurableUiControl, which is 'Content' in this case */\r\n public getType(): ConfigurableUiControlType { return ConfigurableUiControlType.Content; }\r\n\r\n /** Returns true if this control is a Viewport control. */\r\n public get isViewport(): boolean { return false; }\r\n /** Returns the ScreenViewport if isViewport is true */\r\n public get viewport(): ScreenViewport | undefined { return undefined; }\r\n\r\n protected getKeyedReactNode(): React.ReactNode {\r\n if (!this._keyAdded && React.isValidElement(this._reactNode)) {\r\n // istanbul ignore else\r\n if (!(this._reactNode as React.ReactElement<any>).key) {\r\n const additionalProps: any = { key: this.uniqueId };\r\n this._reactNode = React.cloneElement(this._reactNode, additionalProps);\r\n }\r\n this._keyAdded = true;\r\n }\r\n\r\n return this._reactNode;\r\n }\r\n\r\n protected getReactNode(): React.ReactNode {\r\n return this.getKeyedReactNode();\r\n }\r\n\r\n /** The React node associated with this control. */\r\n public get reactNode(): React.ReactNode {\r\n return this.getReactNode();\r\n }\r\n\r\n public set reactNode(r: React.ReactNode) { this._reactNode = r; }\r\n\r\n /** Get the NavigationAidControl associated with this ContentControl */\r\n public get navigationAidControl(): string {\r\n return \"\";\r\n }\r\n\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport class FloatingContentControl extends ContentControl {\r\n constructor(uniqueId: string, name: string, node: React.ReactNode) {\r\n super(new ConfigurableCreateInfo(name, uniqueId, name), undefined);\r\n this._reactNode = node;\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"ContentControl.js","sourceRoot":"","sources":["../../../../src/appui-react/content/ContentControl.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,+BAA+B;AAG/B,0DAAgD;AAChD,mFAAmI;AAUnI;;GAEG;AACH,MAAa,4BAA6B,SAAQ,wBAAyC;CAAI;AAA/F,oEAA+F;AAY/F;;GAEG;AACH,MAAa,cAAe,SAAQ,6CAAqB;IAIvD;;;OAGG;IACH,YAAY,IAA4B,EAAE,OAAY;QACpD,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAPf,cAAS,GAAG,KAAK,CAAC;IAQ1B,CAAC;IAED,mDAAmD;IAC5C,WAAW;IAClB,CAAC;IAED,qDAAqD;IAC9C,aAAa;IACpB,CAAC;IAED,8EAA8E;IACvE,OAAO,KAAgC,OAAO,iDAAyB,CAAC,OAAO,CAAC,CAAC,CAAC;IAEzF,0DAA0D;IAC1D,IAAW,UAAU,KAAc,OAAO,KAAK,CAAC,CAAC,CAAC;IAClD,uDAAuD;IACvD,IAAW,QAAQ,KAAiC,OAAO,SAAS,CAAC,CAAC,CAAC;IAE7D,iBAAiB;QACzB,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;YAC5D,uBAAuB;YACvB,IAAI,CAAE,IAAI,CAAC,UAAsC,CAAC,GAAG,EAAE;gBACrD,MAAM,eAAe,GAAQ,EAAE,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACpD,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;aACxE;YACD,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;SACvB;QAED,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAES,YAAY;QACpB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC;IAClC,CAAC;IAED,mDAAmD;IACnD,IAAW,SAAS;QAClB,OAAO,IAAI,CAAC,YAAY,EAAE,CAAC;IAC7B,CAAC;IAED,IAAW,SAAS,CAAC,CAAkB,IAAI,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC;IAEjE,uEAAuE;IACvE,IAAW,oBAAoB;QAC7B,OAAO,EAAE,CAAC;IACZ,CAAC;CAEF;AAzDD,wCAyDC;AAED;;GAEG;AACH,MAAa,sBAAuB,SAAQ,cAAc;IACxD,YAAY,QAAgB,EAAE,IAAY,EAAE,IAAqB;QAC/D,KAAK,CAAC,IAAI,8CAAsB,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,SAAS,CAAC,CAAC;QACnE,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;IACzB,CAAC;CACF;AALD,wDAKC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ContentView\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport type { Id64String } from \"@itwin/core-bentley\";\r\nimport type { IModelConnection, ScreenViewport, ViewState } from \"@itwin/core-frontend\";\r\nimport { UiEvent } from \"@itwin/appui-abstract\";\r\nimport { ConfigurableCreateInfo, ConfigurableUiControl, ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\r\n\r\n/** ControlControl Activated Event Args interface.\r\n * @public\r\n */\r\nexport interface ContentControlActivatedEventArgs {\r\n activeContentControl: ContentControl;\r\n oldContentControl?: ContentControl;\r\n}\r\n\r\n/** ContentControl Activated Event class.\r\n * @public\r\n */\r\nexport class ContentControlActivatedEvent extends UiEvent<ContentControlActivatedEventArgs> { }\r\n\r\n/** Interface to be implemented when the ContentControl supports ViewSelector changes\r\n * @public\r\n */\r\nexport interface SupportsViewSelectorChange {\r\n /** Returns true if this control supports reacting to ViewSelector changes. */\r\n supportsViewSelectorChange: boolean;\r\n /** Process a ViewSelector change. */\r\n processViewSelectorChange(iModel: IModelConnection, viewDefinitionId: Id64String, viewState: ViewState, name: string): Promise<void>;\r\n}\r\n\r\n/** The base class for Frontstage content controls.\r\n * @public\r\n */\r\nexport class ContentControl extends ConfigurableUiControl {\r\n protected _reactNode: React.ReactNode;\r\n private _keyAdded = false;\r\n\r\n /** Creates an instance of ContentControl.\r\n * @param info An object that the subclass must pass to this base class.\r\n * @param options Options provided via the applicationData in a [[ContentProps]].\r\n */\r\n constructor(info: ConfigurableCreateInfo, options: any) {\r\n super(info, options);\r\n }\r\n\r\n /** Called when this ContentControl is activated */\r\n public onActivated(): void {\r\n }\r\n\r\n /** Called when this ContentControl is deactivated */\r\n public onDeactivated(): void {\r\n }\r\n\r\n /** Gets the type of ConfigurableUiControl, which is 'Content' in this case */\r\n public getType(): ConfigurableUiControlType { return ConfigurableUiControlType.Content; }\r\n\r\n /** Returns true if this control is a Viewport control. */\r\n public get isViewport(): boolean { return false; }\r\n /** Returns the ScreenViewport if isViewport is true */\r\n public get viewport(): ScreenViewport | undefined { return undefined; }\r\n\r\n protected getKeyedReactNode(): React.ReactNode {\r\n if (!this._keyAdded && React.isValidElement(this._reactNode)) {\r\n // istanbul ignore else\r\n if (!(this._reactNode as React.ReactElement<any>).key) {\r\n const additionalProps: any = { key: this.uniqueId };\r\n this._reactNode = React.cloneElement(this._reactNode, additionalProps);\r\n }\r\n this._keyAdded = true;\r\n }\r\n\r\n return this._reactNode;\r\n }\r\n\r\n protected getReactNode(): React.ReactNode {\r\n return this.getKeyedReactNode();\r\n }\r\n\r\n /** The React node associated with this control. */\r\n public get reactNode(): React.ReactNode {\r\n return this.getReactNode();\r\n }\r\n\r\n public set reactNode(r: React.ReactNode) { this._reactNode = r; }\r\n\r\n /** Get the NavigationAidControl associated with this ContentControl */\r\n public get navigationAidControl(): string {\r\n return \"\";\r\n }\r\n\r\n}\r\n\r\n/**\r\n * @beta\r\n */\r\nexport class FloatingContentControl extends ContentControl {\r\n constructor(uniqueId: string, name: string, node: React.ReactNode) {\r\n super(new ConfigurableCreateInfo(name, uniqueId, name), undefined);\r\n this._reactNode = node;\r\n }\r\n}\r\n"]}
@@ -1,12 +1,12 @@
1
1
  /** @packageDocumentation
2
2
  * @module ContentView
3
3
  */
4
- import * as React from "react";
5
- import { ScreenViewport } from "@itwin/core-frontend";
6
- import { ContentLayoutProps } from "@itwin/appui-abstract";
7
- import { ConfigurableUiControlConstructor } from "../configurableui/ConfigurableUiControl";
8
- import { ContentControl } from "./ContentControl";
9
- import { FrontstageConfig } from "../frontstage/FrontstageConfig";
4
+ import type * as React from "react";
5
+ import type { ScreenViewport } from "@itwin/core-frontend";
6
+ import type { ContentLayoutProps } from "@itwin/appui-abstract";
7
+ import type { ConfigurableUiControlConstructor } from "../configurableui/ConfigurableUiControl";
8
+ import type { ContentControl } from "./ContentControl";
9
+ import type { FrontstageConfig } from "../frontstage/FrontstageConfig";
10
10
  /** Properties for content displayed in a content view
11
11
  * @public
12
12
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ContentGroup.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/content/ContentGroup.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,cAAc,EA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,CAAC,gBAAgB;SAChC,CAAC;QAEF,iBAAiB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAqB,EAAE,KAAa,EAAE,EAAE;YAC1E,IAAI,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,EAAE;gBACvC,MAAM,OAAO,GAAG,6DAA6B,CAAC,qBAAqB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;gBACrF,IAAI,OAAO,KAAK,SAAS;oBACvB,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;;oBAE1B,MAAM,IAAI,wBAAO,CAAC,yBAAW,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,mCAAmC,KAAK,qCAAqC,CAAC,CAAC;gBAErI,IAAI,eAAe;oBACjB,eAAe,CAAC,OAAO,CAAC,CAAC;aAC5B;QACH,CAAC,CAAC,CAAC;QAEH,OAAO,iBAAiB,CAAC;IAC3B,CAAC;IAED;;OAEG;IACI,YAAY;QACjB,MAAM,eAAe,GAAG,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAClD,MAAM,SAAS,GAAG,IAAI,KAAK,EAA8B,CAAC;QAE1D,eAAe,CAAC,OAAO,CAAC,CAAC,OAAuB,EAAE,EAAE;YAClD,IAAI,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,QAAQ,EAAE;gBAC1C,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;aAClC;iBAAM;gBACL,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;aAC3B;QACH,CAAC,CAAC,CAAC;QAEH,OAAO,SAAS,CAAC;IACnB,CAAC;;AAnKc,iBAAI,GAAG,CAAC,AAAJ,CAAK;AADb,oCAAY","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ContentView\r\n */\r\n\r\nimport * as React from \"react\";\r\nimport { ScreenViewport } from \"@itwin/core-frontend\";\r\nimport { ContentLayoutProps, UiError } from \"@itwin/appui-abstract\";\r\nimport { ConfigurableCreateInfo, ConfigurableUiControlConstructor, ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport { ContentControl } from \"./ContentControl\";\r\nimport { FrontstageConfig } from \"../frontstage/FrontstageConfig\";\r\nimport { InternalConfigurableUiManager } from \"../configurableui/InternalConfigurableUiManager\";\r\n\r\n/** Properties for content displayed in a content view\r\n * @public\r\n */\r\nexport interface ContentProps {\r\n /** A unique id for the Content View within the group */\r\n id: string;\r\n /** The class name or [[ConfigurableUiControlConstructor]] of the content control */\r\n classId: string | ConfigurableUiControlConstructor;\r\n /** Optional application data passed down to the Content View */\r\n applicationData?: any;\r\n}\r\n\r\n/** Properties for a [[ContentGroup]]\r\n * @public\r\n */\r\nexport interface ContentGroupProps {\r\n /** An id for the [[ContentGroup]]. This id is used to locate a ContentGroup and it also can be used by an ContentGroupProvider to save/restore content settings */\r\n id: string;\r\n /** Content Layout Id or complete set of [[ContentLayoutProps]] */\r\n layout: ContentLayoutProps;\r\n /** A collection of [[ContentProps]], one for each content view */\r\n contents: ContentProps[];\r\n}\r\n\r\n/** Abstract class that can be implemented and specified by frontstage to dynamically construct\r\n * content group just prior to activating the frontstage.\r\n * @public\r\n */\r\nexport abstract class ContentGroupProvider {\r\n /** Return the contentGroup based on the `FrontstageConfig`. */\r\n public abstract contentGroup(config: FrontstageConfig): Promise<ContentGroup>;\r\n\r\n /** Allow provider to update any data stored in ContentGroupProps. Typically this may\r\n * be to remove applicationData entries.\r\n */\r\n public prepareToSaveProps(contentGroupProps: ContentGroupProps) {\r\n return contentGroupProps;\r\n }\r\n\r\n /** Allow provider to update any stored ContentGroupProps be it is to be used to create ContentGroup and layouts.\r\n * Typically this may be to add applicationData to content entries.\r\n */\r\n public applyUpdatesToSavedProps(contentGroupProps: ContentGroupProps) {\r\n return contentGroupProps;\r\n }\r\n\r\n /** Allow provider to save any content group data before the stage deactivated. */\r\n public async onFrontstageDeactivated() { }\r\n}\r\n\r\n/** Callback to process content properties during toJSON method\r\n * @public\r\n */\r\nexport type ContentCallback = (content: ContentProps) => void;\r\n\r\n/** ContentGroup class. Content Groups define content displayed in content views that are laid out using a [[ContentLayout]].\r\n * @public\r\n */\r\nexport class ContentGroup {\r\n private static _sId = 0;\r\n public groupId: string;\r\n public propsId: string;\r\n public layout: ContentLayoutProps;\r\n public contentPropsList: ContentProps[];\r\n private _contentControls = new Map<string, ContentControl>();\r\n private _contentSetMap = new Map<string, ContentControl>();\r\n\r\n public get id() {\r\n return this.groupId;\r\n }\r\n\r\n constructor(contentGroupProps: ContentGroupProps) {\r\n this.layout = { ...contentGroupProps.layout };\r\n this.propsId = contentGroupProps.id;\r\n // ensure we have a unique groupId for each instance of a content group - this will be used to generate a key in the React controls\r\n this.groupId = `[${contentGroupProps.id}-${ContentGroup._sId++}]`;\r\n this.contentPropsList = contentGroupProps.contents;\r\n }\r\n\r\n /** Gets a [[ContentControl]] from the Content Group based on its [[ContentProps]]. */\r\n public getContentControl(contentProps: ContentProps, _index: number): ContentControl | undefined {\r\n // ensure we have a unique control Id for each instance of a content control - this will be used as a key for the React control - see `ContentControl.getKeyedReactNode`\r\n const id = `${contentProps.id}::${this.groupId}`;\r\n let contentControl: ContentControl | undefined;\r\n\r\n if (!this._contentControls.get(contentProps.id)) {\r\n let usedClassId: string = \"\";\r\n\r\n if (typeof contentProps.classId === \"string\") {\r\n if (!this._contentControls.get(contentProps.id) && UiFramework.controls.isRegistered(contentProps.classId)) {\r\n contentControl = UiFramework.controls.create(contentProps.classId, id, contentProps.applicationData, contentProps.id) as ContentControl;\r\n usedClassId = contentProps.classId;\r\n }\r\n } else {\r\n const info = new ConfigurableCreateInfo(contentProps.classId.name, id, contentProps.id);\r\n contentControl = new contentProps.classId(info, contentProps.applicationData) as ContentControl;\r\n usedClassId = contentProps.classId.name;\r\n }\r\n\r\n if (contentControl) {\r\n if (contentControl.getType() !== ConfigurableUiControlType.Content && contentControl.getType() !== ConfigurableUiControlType.Viewport) {\r\n throw new UiError(UiFramework.loggerCategory(this), `getContentControl error: '${usedClassId}' is NOT a ContentControl or ViewportContentControl`);\r\n }\r\n contentControl.initialize();\r\n this._contentControls.set(contentProps.id, contentControl);\r\n }\r\n }\r\n\r\n return this._contentControls.get(contentProps.id);\r\n }\r\n\r\n /** Gets a [[ContentControl]] from the Content Group with a given ID. */\r\n public getContentControlById(id: string): ContentControl | undefined {\r\n return this._contentControls.get(id);\r\n }\r\n\r\n /** Gets the React nodes representing the Content Views in this Content Group. */\r\n public getContentNodes(): React.ReactNode[] {\r\n const contentNodes: React.ReactNode[] = new Array<React.ReactNode>();\r\n\r\n this._contentSetMap.clear();\r\n\r\n this.contentPropsList.forEach((contentProps: ContentProps, index: number) => {\r\n const control = this.getContentControl(contentProps, index);\r\n if (control) {\r\n contentNodes.push(control.reactNode);\r\n this._contentSetMap.set(control.controlId, control);\r\n }\r\n });\r\n\r\n return contentNodes;\r\n }\r\n\r\n /** Gets the [[ContentControl]] associated with a given React node representing a Content View. */\r\n public getControlFromElement(node: React.ReactNode): ContentControl | undefined {\r\n if (this._contentSetMap.size === 0)\r\n this.getContentNodes();\r\n\r\n if (node && (node as React.ReactElement<any>).key) {\r\n const key = ((node as React.ReactElement<any>).key as string);\r\n // key has format `${contentProps.id}::${this.groupId}` which is stored as unique id\r\n const controlId = key.split(\"::\", 1)[0];\r\n return this._contentSetMap.get(controlId);\r\n }\r\n\r\n return undefined;\r\n }\r\n\r\n /** Refreshes the React nodes representing the Content Views in this Content Group.. */\r\n public refreshContentNodes() {\r\n this._contentSetMap.clear();\r\n }\r\n\r\n /** Gets an array of the content controls representing the Content Views. */\r\n public getContentControls(): ContentControl[] {\r\n const contentControls: ContentControl[] = new Array<ContentControl>();\r\n\r\n this.contentPropsList.forEach((contentProps: ContentProps, index: number) => {\r\n const control = this.getContentControl(contentProps, index);\r\n if (control) {\r\n contentControls.push(control);\r\n }\r\n });\r\n\r\n return contentControls;\r\n }\r\n\r\n /** Called when Frontstage is deactivated. */\r\n public onFrontstageDeactivated(): void {\r\n this.clearContentControls();\r\n }\r\n\r\n /** Called when Frontstage is ready. */\r\n public onFrontstageReady(): void { }\r\n\r\n /** Clears the map of content controls. */\r\n public clearContentControls(): void {\r\n this._contentControls.clear();\r\n }\r\n\r\n /** Creates [[ContentGroupProps]] for JSON purposes\r\n * @public\r\n */\r\n public toJSON(contentCallback?: ContentCallback): ContentGroupProps {\r\n const contentGroupProps: ContentGroupProps = {\r\n id: this.propsId,\r\n layout: this.layout,\r\n contents: this.contentPropsList,\r\n };\r\n\r\n contentGroupProps.contents.forEach((content: ContentProps, index: number) => {\r\n if (typeof content.classId !== \"string\") {\r\n const classId = InternalConfigurableUiManager.getConstructorClassId(content.classId);\r\n if (classId !== undefined)\r\n content.classId = classId;\r\n else\r\n throw new UiError(UiFramework.loggerCategory(this), `toJSON: ContentControl at index ${index} is NOT registered with a string id`);\r\n\r\n if (contentCallback)\r\n contentCallback(content);\r\n }\r\n });\r\n\r\n return contentGroupProps;\r\n }\r\n\r\n /** Gets Viewports from Viewport Content Controls\r\n * @internal\r\n */\r\n public getViewports(): Array<ScreenViewport | undefined> {\r\n const contentControls = this.getContentControls();\r\n const viewports = new Array<ScreenViewport | undefined>();\r\n\r\n contentControls.forEach((control: ContentControl) => {\r\n if (control.isViewport && control.viewport) {\r\n viewports.push(control.viewport);\r\n } else {\r\n viewports.push(undefined);\r\n }\r\n });\r\n\r\n return viewports;\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"ContentGroup.js","sourceRoot":"","sources":["../../../../src/appui-react/content/ContentGroup.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAKH,0DAAgD;AAEhD,mFAA4G;AAC5G,gDAA6C;AAG7C,mGAAgG;AA0BhG;;;GAGG;AACH,MAAsB,oBA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C,OAAO,CAAC,CAAC,OAAuB,EAAE,EAAE;YAClD,IAAI,OAAO,CAAC,UAAU,IAAI,OAAO,CAAC,QAAQ,EAAE;gBAC1C,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;aAClC;iBAAM;gBACL,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;aAC3B;QACH,CAAC,CAAC,CAAC;QAEH,OAAO,SAAS,CAAC;IACnB,CAAC;;AAnKc,iBAAI,GAAG,CAAC,AAAJ,CAAK;AADb,oCAAY","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ContentView\r\n */\r\n\r\nimport type * as React from \"react\";\r\nimport type { ScreenViewport } from \"@itwin/core-frontend\";\r\nimport type { ContentLayoutProps} from \"@itwin/appui-abstract\";\r\nimport { UiError } from \"@itwin/appui-abstract\";\r\nimport type { ConfigurableUiControlConstructor} from \"../configurableui/ConfigurableUiControl\";\r\nimport { ConfigurableCreateInfo, ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\r\nimport { UiFramework } from \"../UiFramework\";\r\nimport type { ContentControl } from \"./ContentControl\";\r\nimport type { FrontstageConfig } from \"../frontstage/FrontstageConfig\";\r\nimport { InternalConfigurableUiManager } from \"../configurableui/InternalConfigurableUiManager\";\r\n\r\n/** Properties for content displayed in a content view\r\n * @public\r\n */\r\nexport interface ContentProps {\r\n /** A unique id for the Content View within the group */\r\n id: string;\r\n /** The class name or [[ConfigurableUiControlConstructor]] of the content control */\r\n classId: string | ConfigurableUiControlConstructor;\r\n /** Optional application data passed down to the Content View */\r\n applicationData?: any;\r\n}\r\n\r\n/** Properties for a [[ContentGroup]]\r\n * @public\r\n */\r\nexport interface ContentGroupProps {\r\n /** An id for the [[ContentGroup]]. This id is used to locate a ContentGroup and it also can be used by an ContentGroupProvider to save/restore content settings */\r\n id: string;\r\n /** Content Layout Id or complete set of [[ContentLayoutProps]] */\r\n layout: ContentLayoutProps;\r\n /** A collection of [[ContentProps]], one for each content view */\r\n contents: ContentProps[];\r\n}\r\n\r\n/** Abstract class that can be implemented and specified by frontstage to dynamically construct\r\n * content group just prior to activating the frontstage.\r\n * @public\r\n */\r\nexport abstract class ContentGroupProvider {\r\n /** Return the contentGroup based on the `FrontstageConfig`. */\r\n public abstract contentGroup(config: FrontstageConfig): Promise<ContentGroup>;\r\n\r\n /** Allow provider to update any data stored in ContentGroupProps. Typically this may\r\n * be to remove applicationData entries.\r\n */\r\n public prepareToSaveProps(contentGroupProps: ContentGroupProps) {\r\n return contentGroupProps;\r\n }\r\n\r\n /** Allow provider to update any stored ContentGroupProps be it is to be used to create ContentGroup and layouts.\r\n * Typically this may be to add applicationData to content entries.\r\n */\r\n public applyUpdatesToSavedProps(contentGroupProps: ContentGroupProps) {\r\n return contentGroupProps;\r\n }\r\n\r\n /** Allow provider to save any content group data before the stage deactivated. */\r\n public async onFrontstageDeactivated() { }\r\n}\r\n\r\n/** Callback to process content properties during toJSON method\r\n * @public\r\n */\r\nexport type ContentCallback = (content: ContentProps) => void;\r\n\r\n/** ContentGroup class. Content Groups define content displayed in content views that are laid out using a [[ContentLayout]].\r\n * @public\r\n */\r\nexport class ContentGroup {\r\n private static _sId = 0;\r\n public groupId: string;\r\n public propsId: string;\r\n public layout: ContentLayoutProps;\r\n public contentPropsList: ContentProps[];\r\n private _contentControls = new Map<string, ContentControl>();\r\n private _contentSetMap = new Map<string, ContentControl>();\r\n\r\n public get id() {\r\n return this.groupId;\r\n }\r\n\r\n constructor(contentGroupProps: ContentGroupProps) {\r\n this.layout = { ...contentGroupProps.layout };\r\n this.propsId = contentGroupProps.id;\r\n // ensure we have a unique groupId for each instance of a content group - this will be used to generate a key in the React controls\r\n this.groupId = `[${contentGroupProps.id}-${ContentGroup._sId++}]`;\r\n this.contentPropsList = contentGroupProps.contents;\r\n }\r\n\r\n /** Gets a [[ContentControl]] from the Content Group based on its [[ContentProps]]. */\r\n public getContentControl(contentProps: ContentProps, _index: number): ContentControl | undefined {\r\n // ensure we have a unique control Id for each instance of a content control - this will be used as a key for the React control - see `ContentControl.getKeyedReactNode`\r\n const id = `${contentProps.id}::${this.groupId}`;\r\n let contentControl: ContentControl | undefined;\r\n\r\n if (!this._contentControls.get(contentProps.id)) {\r\n let usedClassId: string = \"\";\r\n\r\n if (typeof contentProps.classId === \"string\") {\r\n if (!this._contentControls.get(contentProps.id) && UiFramework.controls.isRegistered(contentProps.classId)) {\r\n contentControl = UiFramework.controls.create(contentProps.classId, id, contentProps.applicationData, contentProps.id) as ContentControl;\r\n usedClassId = contentProps.classId;\r\n }\r\n } else {\r\n const info = new ConfigurableCreateInfo(contentProps.classId.name, id, contentProps.id);\r\n contentControl = new contentProps.classId(info, contentProps.applicationData) as ContentControl;\r\n usedClassId = contentProps.classId.name;\r\n }\r\n\r\n if (contentControl) {\r\n if (contentControl.getType() !== ConfigurableUiControlType.Content && contentControl.getType() !== ConfigurableUiControlType.Viewport) {\r\n throw new UiError(UiFramework.loggerCategory(this), `getContentControl error: '${usedClassId}' is NOT a ContentControl or ViewportContentControl`);\r\n }\r\n contentControl.initialize();\r\n this._contentControls.set(contentProps.id, contentControl);\r\n }\r\n }\r\n\r\n return this._contentControls.get(contentProps.id);\r\n }\r\n\r\n /** Gets a [[ContentControl]] from the Content Group with a given ID. */\r\n public getContentControlById(id: string): ContentControl | undefined {\r\n return this._contentControls.get(id);\r\n }\r\n\r\n /** Gets the React nodes representing the Content Views in this Content Group. */\r\n public getContentNodes(): React.ReactNode[] {\r\n const contentNodes: React.ReactNode[] = new Array<React.ReactNode>();\r\n\r\n this._contentSetMap.clear();\r\n\r\n this.contentPropsList.forEach((contentProps: ContentProps, index: number) => {\r\n const control = this.getContentControl(contentProps, index);\r\n if (control) {\r\n contentNodes.push(control.reactNode);\r\n this._contentSetMap.set(control.controlId, control);\r\n }\r\n });\r\n\r\n return contentNodes;\r\n }\r\n\r\n /** Gets the [[ContentControl]] associated with a given React node representing a Content View. */\r\n public getControlFromElement(node: React.ReactNode): ContentControl | undefined {\r\n if (this._contentSetMap.size === 0)\r\n this.getContentNodes();\r\n\r\n if (node && (node as React.ReactElement<any>).key) {\r\n const key = ((node as React.ReactElement<any>).key as string);\r\n // key has format `${contentProps.id}::${this.groupId}` which is stored as unique id\r\n const controlId = key.split(\"::\", 1)[0];\r\n return this._contentSetMap.get(controlId);\r\n }\r\n\r\n return undefined;\r\n }\r\n\r\n /** Refreshes the React nodes representing the Content Views in this Content Group.. */\r\n public refreshContentNodes() {\r\n this._contentSetMap.clear();\r\n }\r\n\r\n /** Gets an array of the content controls representing the Content Views. */\r\n public getContentControls(): ContentControl[] {\r\n const contentControls: ContentControl[] = new Array<ContentControl>();\r\n\r\n this.contentPropsList.forEach((contentProps: ContentProps, index: number) => {\r\n const control = this.getContentControl(contentProps, index);\r\n if (control) {\r\n contentControls.push(control);\r\n }\r\n });\r\n\r\n return contentControls;\r\n }\r\n\r\n /** Called when Frontstage is deactivated. */\r\n public onFrontstageDeactivated(): void {\r\n this.clearContentControls();\r\n }\r\n\r\n /** Called when Frontstage is ready. */\r\n public onFrontstageReady(): void { }\r\n\r\n /** Clears the map of content controls. */\r\n public clearContentControls(): void {\r\n this._contentControls.clear();\r\n }\r\n\r\n /** Creates [[ContentGroupProps]] for JSON purposes\r\n * @public\r\n */\r\n public toJSON(contentCallback?: ContentCallback): ContentGroupProps {\r\n const contentGroupProps: ContentGroupProps = {\r\n id: this.propsId,\r\n layout: this.layout,\r\n contents: this.contentPropsList,\r\n };\r\n\r\n contentGroupProps.contents.forEach((content: ContentProps, index: number) => {\r\n if (typeof content.classId !== \"string\") {\r\n const classId = InternalConfigurableUiManager.getConstructorClassId(content.classId);\r\n if (classId !== undefined)\r\n content.classId = classId;\r\n else\r\n throw new UiError(UiFramework.loggerCategory(this), `toJSON: ContentControl at index ${index} is NOT registered with a string id`);\r\n\r\n if (contentCallback)\r\n contentCallback(content);\r\n }\r\n });\r\n\r\n return contentGroupProps;\r\n }\r\n\r\n /** Gets Viewports from Viewport Content Controls\r\n * @internal\r\n */\r\n public getViewports(): Array<ScreenViewport | undefined> {\r\n const contentControls = this.getContentControls();\r\n const viewports = new Array<ScreenViewport | undefined>();\r\n\r\n contentControls.forEach((control: ContentControl) => {\r\n if (control.isViewport && control.viewport) {\r\n viewports.push(control.viewport);\r\n } else {\r\n viewports.push(undefined);\r\n }\r\n });\r\n\r\n return viewports;\r\n }\r\n}\r\n"]}
@@ -3,9 +3,10 @@
3
3
  */
4
4
  import "./ContentLayout.scss";
5
5
  import * as React from "react";
6
- import { CommonProps } from "@itwin/core-react";
7
- import { ContentGroup } from "./ContentGroup";
8
- import { ContentLayoutProps, LayoutFragmentProps, UiEvent } from "@itwin/appui-abstract";
6
+ import type { CommonProps } from "@itwin/core-react";
7
+ import type { ContentGroup } from "./ContentGroup";
8
+ import type { ContentLayoutProps, LayoutFragmentProps } from "@itwin/appui-abstract";
9
+ import { UiEvent } from "@itwin/appui-abstract";
9
10
  /** Properties for [[ContentWrapper]] */
10
11
  interface ContentWrapperProps extends CommonProps {
11
12
  content: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentLayout.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/content/ContentLayout.tsx"],"names":[],"mappings":"AAIA;;GAEG;AAIH,OAAO,sBAAsB,CAAC;AAE9B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAA8E,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAKrK,wCAAwC;AACxC,UAAU,mBAAoB,SAAQ,WAAW;IAC/C,OAAO,EAAE,KAAK,CAAC,SA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CAAC,kBAAkB,CAAC,CAAC;gBAEjD,KAAK,EAAE,2BAA2B;IAgB9B,iBAAiB;IAIjB,oBAAoB;IAIpC,OAAO,CAAC,6BAA6B,CAYnC;IAEc,MAAM,IAAI,KAAK,CAAC,SAAS;IAezC,OAAO,CAAC,YAAY,CAElB;IAEF,OAAO,CAAC,UAAU,CAEhB;CACH"}
@@ -34,13 +34,17 @@ function ContentWrapper(props) {
34
34
  return controlId;
35
35
  };
36
36
  // istanbul ignore next
37
- const [hasMultipleContents, setHasMultipleContents] = React.useState(() => (activeFrontstageDef && (!!activeFrontstageDef.floatingContentControls?.length) ||
38
- (activeFrontstageDef?.contentGroup?.getContentControls().length ?? 0) > 1));
37
+ const [hasMultipleContents, setHasMultipleContents] = React.useState(() => {
38
+ var _a, _b, _c;
39
+ return (activeFrontstageDef && (!!((_a = activeFrontstageDef.floatingContentControls) === null || _a === void 0 ? void 0 : _a.length)) ||
40
+ ((_c = (_b = activeFrontstageDef === null || activeFrontstageDef === void 0 ? void 0 : activeFrontstageDef.contentGroup) === null || _b === void 0 ? void 0 : _b.getContentControls().length) !== null && _c !== void 0 ? _c : 0) > 1);
41
+ });
39
42
  React.useEffect(() => {
40
43
  setIsActive(content === UiFramework_1.UiFramework.content.getActive());
41
44
  }, [content]);
42
45
  React.useEffect(() => {
43
46
  const handleActiveContentChanged = (args) => {
47
+ var _a, _b, _c;
44
48
  const contentIsIdentical = content === args.activeContent;
45
49
  if (contentIsIdentical)
46
50
  setIsActive(contentIsIdentical);
@@ -50,8 +54,8 @@ function ContentWrapper(props) {
50
54
  setIsActive(contentId === activeContentId);
51
55
  }
52
56
  // istanbul ignore next
53
- setHasMultipleContents((activeFrontstageDef && (!!activeFrontstageDef.floatingContentControls?.length) ||
54
- (activeFrontstageDef?.contentGroup?.getContentControls().length ?? 0) > 1));
57
+ setHasMultipleContents((activeFrontstageDef && (!!((_a = activeFrontstageDef.floatingContentControls) === null || _a === void 0 ? void 0 : _a.length)) ||
58
+ ((_c = (_b = activeFrontstageDef === null || activeFrontstageDef === void 0 ? void 0 : activeFrontstageDef.contentGroup) === null || _b === void 0 ? void 0 : _b.getContentControls().length) !== null && _c !== void 0 ? _c : 0) > 1));
55
59
  };
56
60
  return UiFramework_1.UiFramework.content.onActiveContentChangedEvent.addListener(handleActiveContentChanged);
57
61
  }, [activeFrontstageDef, content]);
@@ -61,9 +65,10 @@ function ContentWrapper(props) {
61
65
  }, [content]);
62
66
  React.useEffect(() => {
63
67
  const onAvailableContentChanged = () => {
68
+ var _a, _b, _c;
64
69
  // istanbul ignore next
65
- setHasMultipleContents((activeFrontstageDef && (!!activeFrontstageDef.floatingContentControls?.length) ||
66
- (activeFrontstageDef?.contentGroup?.getContentControls().length ?? 0) > 1));
70
+ setHasMultipleContents((activeFrontstageDef && (!!((_a = activeFrontstageDef.floatingContentControls) === null || _a === void 0 ? void 0 : _a.length)) ||
71
+ ((_c = (_b = activeFrontstageDef === null || activeFrontstageDef === void 0 ? void 0 : activeFrontstageDef.contentGroup) === null || _b === void 0 ? void 0 : _b.getContentControls().length) !== null && _c !== void 0 ? _c : 0) > 1));
67
72
  };
68
73
  return UiFramework_1.UiFramework.content.onAvailableContentChangedEvent.addListener(onAvailableContentChanged);
69
74
  }, [activeFrontstageDef]);
@@ -1 +1 @@
1
- {"version":3,"file":"ContentLayout.js","sourceRoot":"","sources":["../../../../src/appui-react/content/ContentLayout.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,8BAA8B;AAE9B,gCAA8B;AAC9B,2CAAoC;AACpC,+BAA+B;AAC/B,sDAAmD;AACnD,kDAA6D;AAE7D,0DAAqK;AAErK,+DAAqE;AACrE,gDAA6C;AAO7C;;GAEG;AACH,SAAgB,cAAc,CAAC,KAA0B;IACvD,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC1B,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,K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AAW,CAAC,WAAW,CAAC,6BAA6B,CAAC,cAAc,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;IAC3G,CAAC;IAgBe,MAAM;QACpB,IAAI,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;YAC/B,OAAO,CACL,6BAAK,EAAE,EAAC,wBAAwB,EAAC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EACvF,GAAG,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,IAAI,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,EAAE,EAAE,EACrE,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,EAAC,cAAc,IAE9E,IAAI,CAAC,KAAK,CAAC,gBAAgB,CACxB,CACP,CAAC;SACH;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CASF;AAjED,sCAiEC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ContentView\r\n */\r\n\r\n// cSpell:ignore contentlayout\r\n\r\nimport \"./ContentLayout.scss\";\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { SplitPane } from \"./split-pane/SplitPane\";\r\nimport { CommonProps, Orientation } from \"@itwin/core-react\";\r\nimport { ContentGroup } from \"./ContentGroup\";\r\nimport { ContentLayoutProps, LayoutFragmentProps, LayoutHorizontalSplitProps, LayoutSplitPropsBase, LayoutVerticalSplitProps, UiEvent } from \"@itwin/appui-abstract\";\r\nimport { ActiveContentChangedEventArgs } from \"../framework/FrameworkContent\";\r\nimport { useActiveFrontstageDef } from \"../frontstage/FrontstageDef\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/** Properties for [[ContentWrapper]] */\r\ninterface ContentWrapperProps extends CommonProps {\r\n content: React.ReactNode;\r\n}\r\n\r\n/** ContentWrapper React component.\r\n * @internal\r\n */\r\nexport function ContentWrapper(props: ContentWrapperProps) {\r\n const { content } = props;\r\n const [isActive, setIsActive] = React.useState(content === UiFramework.content.getActive());\r\n const activeFrontstageDef = useActiveFrontstageDef();\r\n\r\n const contentControlKey = (contentControl: React.ReactNode): string | undefined => {\r\n let controlId: string | undefined;\r\n if (contentControl && (contentControl as React.ReactElement<any>).key) {\r\n const key = ((contentControl as React.ReactElement<any>).key as string);\r\n // key has format `${contentProps.id}::${this.groupId}` which is stored as unique id\r\n controlId = key.split(\"::\", 1)[0];\r\n }\r\n return controlId;\r\n };\r\n\r\n // istanbul ignore next\r\n const [hasMultipleContents, setHasMultipleContents] = React.useState(() =>\r\n (activeFrontstageDef && (!!activeFrontstageDef.floatingContentControls?.length) ||\r\n (activeFrontstageDef?.contentGroup?.getContentControls().length ?? 0) > 1)\r\n );\r\n\r\n React.useEffect(() => {\r\n setIsActive(content === UiFramework.content.getActive());\r\n }, [content]);\r\n\r\n React.useEffect(() => {\r\n const handleActiveContentChanged = (args: ActiveContentChangedEventArgs) => {\r\n const contentIsIdentical = content === args.activeContent;\r\n if (contentIsIdentical)\r\n setIsActive(contentIsIdentical);\r\n else {\r\n const contentId = contentControlKey(content);\r\n const activeContentId = contentControlKey(args.activeContent);\r\n setIsActive(contentId === activeContentId);\r\n }\r\n // istanbul ignore next\r\n setHasMultipleContents((activeFrontstageDef && (!!activeFrontstageDef.floatingContentControls?.length) ||\r\n (activeFrontstageDef?.contentGroup?.getContentControls().length ?? 0) > 1));\r\n };\r\n return UiFramework.content.onActiveContentChangedEvent.addListener(handleActiveContentChanged);\r\n }, [activeFrontstageDef, content]);\r\n\r\n const handleMouseDown = React.useCallback(() => {\r\n UiFramework.content.setActive(content);\r\n setIsActive(true);\r\n }, [content]);\r\n\r\n React.useEffect(() => {\r\n const onAvailableContentChanged = () => {\r\n // istanbul ignore next\r\n setHasMultipleContents((activeFrontstageDef && (!!activeFrontstageDef.floatingContentControls?.length) ||\r\n (activeFrontstageDef?.contentGroup?.getContentControls().length ?? 0) > 1));\r\n };\r\n return UiFramework.content.onAvailableContentChangedEvent.addListener(onAvailableContentChanged);\r\n }, [activeFrontstageDef]);\r\n\r\n const overlayClassName = classnames(\r\n \"uifw-contentlayout-overlay-div\",\r\n isActive && hasMultipleContents ? \"uifw-contentlayout-overlay-active\" : \"uifw-contentlayout-overlay-inactive\",\r\n );\r\n\r\n return (\r\n <div className={classnames(\"uifw-contentlayout-wrapper\", props.className)} style={props.style}\r\n onMouseDown={handleMouseDown} onMouseMove={UiFramework.visibility.handleContentMouseMove} role=\"presentation\"\r\n >\r\n {content}\r\n <div className={overlayClassName} />\r\n </div>\r\n );\r\n}\r\n\r\n/** Properties for the [[SplitContainer]] component */\r\ninterface SplitContainerProps extends CommonProps {\r\n contentA: React.ReactNode;\r\n contentB: React.ReactNode;\r\n orientation: Orientation;\r\n percentage: number;\r\n resizable: boolean;\r\n minSizeTopLeft: number;\r\n minSizeBottomRight: number;\r\n splitterStateId?: string;\r\n onSplitterChange?: (size: number, percentage: number) => void;\r\n}\r\n\r\n/** Split Container class.\r\n */\r\nclass SplitContainer extends React.Component<SplitContainerProps> {\r\n private _containerDiv: HTMLDivElement | null = null;\r\n\r\n constructor(props: SplitContainerProps) {\r\n super(props);\r\n }\r\n\r\n private _onSplitterChange = (size: number): void => {\r\n let percentage = 0;\r\n\r\n // istanbul ignore else\r\n if (this._containerDiv && size > 0) {\r\n if (this.props.orientation === Orientation.Horizontal) {\r\n const height = this._containerDiv.getBoundingClientRect().height;\r\n // istanbul ignore if\r\n if (height > 0)\r\n percentage = size / height;\r\n } else {\r\n const width = this._containerDiv.getBoundingClientRect().width;\r\n // istanbul ignore if\r\n if (width > 0)\r\n percentage = size / width;\r\n }\r\n\r\n // istanbul ignore else\r\n if (this.props.onSplitterChange)\r\n this.props.onSplitterChange(size, percentage);\r\n }\r\n };\r\n\r\n public override render(): React.ReactNode {\r\n const orientation = (this.props.orientation === Orientation.Horizontal) ? \"horizontal\" : \"vertical\";\r\n const defaultSize = `${(this.props.percentage * 100).toString()}%`;\r\n const minSizeTopLeft = this.props.minSizeTopLeft;\r\n const minSizeBottomRight = -(this.props.minSizeBottomRight);\r\n\r\n return (\r\n <div ref={(e) => { this._containerDiv = e; }}\r\n className={classnames(\"uifw-contentlayout-full-size\", this.props.className)}\r\n style={this.props.style}\r\n >\r\n <SplitPane split={orientation}\r\n minSize={minSizeTopLeft} maxSize={minSizeBottomRight} defaultSize={defaultSize}\r\n onChange={this._onSplitterChange} allowResize={this.props.resizable}\r\n >\r\n {this.props.contentA}\r\n {this.props.contentB}\r\n </SplitPane>\r\n </div >\r\n );\r\n }\r\n}\r\n\r\n/** Properties for [[SingleContentContainer]] component\r\n */\r\ninterface SingleContentProps extends CommonProps {\r\n content: React.ReactNode;\r\n}\r\n\r\n/** Single Content Container class.\r\n */\r\nclass SingleContentContainer extends React.Component<SingleContentProps> {\r\n\r\n public override render(): React.ReactNode {\r\n\r\n return (\r\n <div className={classnames(\"uifw-contentlayout-full-size\", this.props.className)} style={this.props.style} data-testid=\"single-content-container\"\r\n onMouseMove={UiFramework.visibility.handleContentMouseMove}\r\n >\r\n <ContentWrapper content={this.props.content} style={{ height: \"100%\", position: \"relative\" }} />\r\n </div>\r\n );\r\n }\r\n}\r\n\r\n/** Common interface for HorizontalSplit and VerticalSplit\r\n */\r\ninterface LayoutSplit {\r\n createContentContainer(contentNodes: React.ReactNode[], resizable: boolean): React.ReactNode;\r\n isLocked: boolean;\r\n}\r\n\r\n/** Minimum split size */\r\nconst MIN_SPLIT_SIZE = 6;\r\n\r\n/** Base Split class.\r\n */\r\nclass BaseSplit {\r\n public defaultPercentage: number;\r\n public stateId: string = \"\";\r\n public isLocked: boolean = false;\r\n\r\n constructor(props: LayoutSplitPropsBase) {\r\n this.defaultPercentage = props.percentage;\r\n\r\n // istanbul ignore else\r\n if (props.id)\r\n this.stateId = props.id;\r\n\r\n // istanbul ignore else\r\n if (props.lock)\r\n this.isLocked = props.lock;\r\n }\r\n}\r\n\r\n/** Horizontal Split class.\r\n */\r\nclass HorizontalSplit extends BaseSplit implements LayoutSplit {\r\n private _topIndex: number = -1;\r\n private _bottomIndex: number = -1;\r\n private _topSplit?: LayoutSplit;\r\n private _bottomSplit?: LayoutSplit;\r\n private _props: LayoutHorizontalSplitProps;\r\n private _minSizeTop: number = MIN_SPLIT_SIZE;\r\n private _minSizeBottom: number = MIN_SPLIT_SIZE;\r\n\r\n constructor(props: LayoutHorizontalSplitProps) {\r\n super(props);\r\n\r\n this._props = props;\r\n\r\n if (typeof props.top === \"number\") {\r\n this._topIndex = props.top;\r\n } else {\r\n this._topSplit = ContentLayoutDef.createSplit(props.top);\r\n }\r\n\r\n if (typeof props.bottom === \"number\") {\r\n this._bottomIndex = props.bottom;\r\n } else {\r\n this._bottomSplit = ContentLayoutDef.createSplit(props.bottom);\r\n }\r\n\r\n if (props.minSizeTop)\r\n this._minSizeTop = Math.max(props.minSizeTop, MIN_SPLIT_SIZE);\r\n\r\n if (props.minSizeBottom)\r\n this._minSizeBottom = Math.max(props.minSizeBottom, MIN_SPLIT_SIZE);\r\n }\r\n\r\n private _handleSplitterChange = (_size: number, percentage: number): void => {\r\n this._props.percentage = percentage;\r\n };\r\n\r\n public createContentContainer(contentNodes: React.ReactNode[], resizable: boolean): React.ReactNode {\r\n if (this.isLocked)\r\n resizable = false;\r\n\r\n const topContent = (!this._topSplit) ?\r\n <ContentWrapper content={contentNodes[this._topIndex]} /> :\r\n this._topSplit.createContentContainer(contentNodes, resizable);\r\n const bottomContent = (!this._bottomSplit) ?\r\n <ContentWrapper content={contentNodes[this._bottomIndex]} /> :\r\n this._bottomSplit.createContentContainer(contentNodes, resizable);\r\n\r\n return (\r\n <SplitContainer\r\n contentA={topContent}\r\n contentB={bottomContent}\r\n orientation={Orientation.Horizontal}\r\n percentage={this.defaultPercentage}\r\n resizable={resizable}\r\n minSizeTopLeft={this._minSizeTop}\r\n minSizeBottomRight={this._minSizeBottom}\r\n splitterStateId={this.stateId}\r\n onSplitterChange={this._handleSplitterChange}\r\n />\r\n );\r\n }\r\n}\r\n\r\n/** Vertical Split class.\r\n */\r\nclass VerticalSplit extends BaseSplit implements LayoutSplit {\r\n private _leftIndex: number = -1;\r\n private _rightIndex: number = -1;\r\n private _leftSplit?: LayoutSplit;\r\n private _rightSplit?: LayoutSplit;\r\n private _props: LayoutVerticalSplitProps;\r\n private _minSizeLeft: number = MIN_SPLIT_SIZE;\r\n private _minSizeRight: number = MIN_SPLIT_SIZE;\r\n\r\n constructor(props: LayoutVerticalSplitProps) {\r\n super(props);\r\n\r\n this._props = props;\r\n\r\n if (typeof props.left === \"number\") {\r\n this._leftIndex = props.left;\r\n } else {\r\n this._leftSplit = ContentLayoutDef.createSplit(props.left);\r\n }\r\n\r\n if (typeof props.right === \"number\") {\r\n this._rightIndex = props.right;\r\n } else {\r\n this._rightSplit = ContentLayoutDef.createSplit(props.right);\r\n }\r\n\r\n if (props.minSizeLeft)\r\n this._minSizeLeft = Math.max(props.minSizeLeft, MIN_SPLIT_SIZE);\r\n\r\n if (props.minSizeRight)\r\n this._minSizeRight = Math.max(props.minSizeRight, MIN_SPLIT_SIZE);\r\n }\r\n\r\n private _handleSplitterChange = (_size: number, percentage: number): void => {\r\n this._props.percentage = percentage;\r\n };\r\n\r\n public createContentContainer(contentNodes: React.ReactNode[], resizable: boolean): React.ReactNode {\r\n if (this.isLocked)\r\n resizable = false;\r\n\r\n const leftContent = (!this._leftSplit) ?\r\n <ContentWrapper content={contentNodes[this._leftIndex]} /> :\r\n this._leftSplit.createContentContainer(contentNodes, resizable);\r\n const rightContent = (!this._rightSplit) ?\r\n <ContentWrapper content={contentNodes[this._rightIndex]} /> :\r\n this._rightSplit.createContentContainer(contentNodes, resizable);\r\n\r\n return (\r\n <SplitContainer\r\n contentA={leftContent}\r\n contentB={rightContent}\r\n orientation={Orientation.Vertical}\r\n percentage={this.defaultPercentage}\r\n resizable={resizable}\r\n minSizeTopLeft={this._minSizeLeft}\r\n minSizeBottomRight={this._minSizeRight}\r\n splitterStateId={this.stateId}\r\n onSplitterChange={this._handleSplitterChange}\r\n />\r\n );\r\n }\r\n}\r\n\r\n/** Content Layout Definition class.\r\n * @public\r\n */\r\nexport class ContentLayoutDef {\r\n private _layoutProps: ContentLayoutProps;\r\n private _rootSplit?: LayoutSplit;\r\n\r\n /** ID for this Content Layout */\r\n public id: string = \"\";\r\n /** Description of the layout. */\r\n public description: string = \"\";\r\n constructor(layoutProps: ContentLayoutProps) {\r\n this._layoutProps = layoutProps;\r\n this.id = layoutProps.id;\r\n if (layoutProps.description !== undefined)\r\n this.description = layoutProps.description;\r\n }\r\n\r\n public get rootSplit(): LayoutSplit | undefined { return this._rootSplit; }\r\n\r\n /** Creates [[ContentLayoutProps]] for JSON purposes\r\n * @public\r\n */\r\n public toJSON(): ContentLayoutProps { return this._layoutProps; }\r\n\r\n /** Fill a layout container with React nodes for each content view\r\n */\r\n public fillLayoutContainer(contentNodes: React.ReactNode[], resizable: boolean): React.ReactNode | undefined {\r\n this._rootSplit = ContentLayoutDef.createSplit(this._layoutProps);\r\n\r\n if (this.rootSplit) {\r\n return this.rootSplit.createContentContainer(contentNodes, resizable);\r\n }\r\n\r\n if (contentNodes.length > 0)\r\n return <SingleContentContainer content={contentNodes[0]} />;\r\n\r\n return undefined;\r\n }\r\n\r\n /** Gets the indexes of content views used in this Content Layout\r\n */\r\n public getUsedContentIndexes(): number[] {\r\n let allContentIndexes: number[] = [];\r\n\r\n if (!this._layoutProps.horizontalSplit && !this._layoutProps.verticalSplit)\r\n allContentIndexes.push(0);\r\n else {\r\n allContentIndexes = allContentIndexes.concat(this.getHorizontalSplitContentIndexes(this._layoutProps.horizontalSplit));\r\n allContentIndexes = allContentIndexes.concat(this.getVerticalSplitContentIndexes(this._layoutProps.verticalSplit));\r\n }\r\n\r\n const uniqueContentIndexes = [...new Set(allContentIndexes)];\r\n\r\n return uniqueContentIndexes;\r\n }\r\n\r\n private getHorizontalSplitContentIndexes(splitProps?: LayoutHorizontalSplitProps): number[] {\r\n let contentIndexes: number[] = [];\r\n\r\n if (!splitProps)\r\n return contentIndexes;\r\n\r\n if (typeof splitProps.top === \"number\")\r\n contentIndexes.push(splitProps.top);\r\n else {\r\n contentIndexes = contentIndexes.concat(this.getHorizontalSplitContentIndexes(splitProps.top.horizontalSplit));\r\n contentIndexes = contentIndexes.concat(this.getVerticalSplitContentIndexes(splitProps.top.verticalSplit));\r\n }\r\n\r\n if (typeof splitProps.bottom === \"number\")\r\n contentIndexes.push(splitProps.bottom);\r\n else {\r\n contentIndexes = contentIndexes.concat(this.getHorizontalSplitContentIndexes(splitProps.bottom.horizontalSplit));\r\n contentIndexes = contentIndexes.concat(this.getVerticalSplitContentIndexes(splitProps.bottom.verticalSplit));\r\n }\r\n\r\n return contentIndexes;\r\n }\r\n\r\n private getVerticalSplitContentIndexes(splitProps?: LayoutVerticalSplitProps): number[] {\r\n let contentIndexes: number[] = [];\r\n\r\n if (!splitProps)\r\n return contentIndexes;\r\n\r\n if (typeof splitProps.left === \"number\")\r\n contentIndexes.push(splitProps.left);\r\n else {\r\n contentIndexes = contentIndexes.concat(this.getHorizontalSplitContentIndexes(splitProps.left.horizontalSplit));\r\n contentIndexes = contentIndexes.concat(this.getVerticalSplitContentIndexes(splitProps.left.verticalSplit));\r\n }\r\n\r\n if (typeof splitProps.right === \"number\")\r\n contentIndexes.push(splitProps.right);\r\n else {\r\n contentIndexes = contentIndexes.concat(this.getHorizontalSplitContentIndexes(splitProps.right.horizontalSplit));\r\n contentIndexes = contentIndexes.concat(this.getVerticalSplitContentIndexes(splitProps.right.verticalSplit));\r\n }\r\n\r\n return contentIndexes;\r\n }\r\n\r\n /** @internal */\r\n public static createSplit(fragmentDef: LayoutFragmentProps): LayoutSplit | undefined {\r\n if (fragmentDef.horizontalSplit) {\r\n return new HorizontalSplit(fragmentDef.horizontalSplit);\r\n } else if (fragmentDef.verticalSplit) {\r\n return new VerticalSplit(fragmentDef.verticalSplit);\r\n }\r\n\r\n return undefined;\r\n }\r\n\r\n}\r\n\r\n/** Content Layout Activated Event Args class.\r\n * @public\r\n */\r\nexport interface ContentLayoutActivatedEventArgs {\r\n contentLayout: ContentLayoutDef;\r\n contentGroup: ContentGroup;\r\n}\r\n\r\n/** Content Layout Activated Event class.\r\n * @public\r\n */\r\nexport class ContentLayoutActivatedEvent extends UiEvent<ContentLayoutActivatedEventArgs> { }\r\n\r\n/** State for the [[ContentLayout]].\r\n */\r\ninterface ContentLayoutState {\r\n contentLayoutDef: ContentLayoutDef;\r\n contentContainer?: React.ReactNode;\r\n contentGroupId?: string;\r\n}\r\n\r\n/** Properties for the [[ContentLayout]] React component.\r\n * @public\r\n */\r\nexport interface ContentLayoutComponentProps extends CommonProps {\r\n contentLayout: ContentLayoutDef;\r\n contentGroup: ContentGroup;\r\n}\r\n\r\n/** Content Layout React component.\r\n * @public\r\n */\r\nexport class ContentLayout extends React.Component<ContentLayoutComponentProps, ContentLayoutState> {\r\n\r\n /** @internal */\r\n public override readonly state: Readonly<ContentLayoutState>;\r\n\r\n constructor(props: ContentLayoutComponentProps) {\r\n super(props);\r\n\r\n const contentLayoutDef = this.props.contentLayout;\r\n const contentGroup = this.props.contentGroup;\r\n\r\n const contentNodes = contentGroup.getContentNodes();\r\n const contentContainer = contentLayoutDef.fillLayoutContainer(contentNodes, true);\r\n\r\n this.state = {\r\n contentLayoutDef: this.props.contentLayout,\r\n contentContainer,\r\n contentGroupId: this.props.contentGroup.groupId,\r\n };\r\n }\r\n\r\n public override componentDidMount() {\r\n UiFramework.frontstages.onContentLayoutActivatedEvent.addListener(this._handleContentLayoutActivated);\r\n }\r\n\r\n public override componentWillUnmount() {\r\n UiFramework.frontstages.onContentLayoutActivatedEvent.removeListener(this._handleContentLayoutActivated);\r\n }\r\n\r\n private _handleContentLayoutActivated = (args: ContentLayoutActivatedEventArgs) => {\r\n const contentLayoutDef = args.contentLayout;\r\n const contentGroup = args.contentGroup;\r\n\r\n const contentNodes = contentGroup.getContentNodes();\r\n const contentContainer = contentLayoutDef.fillLayoutContainer(contentNodes, true);\r\n\r\n this.setState({\r\n contentLayoutDef: args.contentLayout,\r\n contentContainer,\r\n contentGroupId: contentGroup.groupId,\r\n });\r\n };\r\n\r\n public override render(): React.ReactNode {\r\n if (this.state.contentContainer) {\r\n return (\r\n <div id=\"uifw-contentlayout-div\" className={this.props.className} style={this.props.style}\r\n key={`${this.state.contentGroupId}-${this.state.contentLayoutDef.id}`}\r\n onMouseDown={this._onMouseDown} onMouseUp={this._onMouseUp} role=\"presentation\"\r\n >\r\n {this.state.contentContainer}\r\n </div>\r\n );\r\n }\r\n\r\n return null;\r\n }\r\n\r\n private _onMouseDown = (_event: React.MouseEvent<HTMLDivElement>) => {\r\n UiFramework.content.setMouseDown(true);\r\n };\r\n\r\n private _onMouseUp = (_event: React.MouseEvent<HTMLDivElement>) => {\r\n UiFramework.content.setMouseDown(false);\r\n };\r\n}\r\n"]}
1
+ {"version":3,"file":"ContentLayout.js","sourceRoot":"","sources":["../../../../src/appui-react/content/ContentLayout.tsx"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,8BAA8B;AAE9B,gCAA8B;AAC9B,2CAAoC;AACpC,+BAA+B;AAC/B,sDAAmD;AAEnD,kDAAgD;AAGhD,0DAAgD;AAEhD,+DAAqE;AACrE,gDAA6C;AAO7C;;GAEG;AACH,SAAgB,cAAc,CAAC,KAA0B;IACvD,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC1B,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,KAAK,yBAAW,CAAC,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC;IAC5F,MAAM,mBAAmB,GAAG,IAAA,sCAAsB,GAAE,CAAC;IAErD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6B,CAAC,WAAW,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;IACxG,CAAC;IAEe,oBAAoB;QAClC,yBAAW,CAAC,WAAW,CAAC,6BAA6B,CAAC,cAAc,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;IAC3G,CAAC;IAgBe,MAAM;QACpB,IAAI,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;YAC/B,OAAO,CACL,6BAAK,EAAE,EAAC,wBAAwB,EAAC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EACvF,GAAG,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,IAAI,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,EAAE,EAAE,EACrE,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,EAAC,cAAc,IAE9E,IAAI,CAAC,KAAK,CAAC,gBAAgB,CACxB,CACP,CAAC;SACH;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CASF;AAjED,sCAiEC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ContentView\r\n */\r\n\r\n// cSpell:ignore contentlayout\r\n\r\nimport \"./ContentLayout.scss\";\r\nimport classnames from \"classnames\";\r\nimport * as React from \"react\";\r\nimport { SplitPane } from \"./split-pane/SplitPane\";\r\nimport type { CommonProps} from \"@itwin/core-react\";\r\nimport { Orientation } from \"@itwin/core-react\";\r\nimport type { ContentGroup } from \"./ContentGroup\";\r\nimport type { ContentLayoutProps, LayoutFragmentProps, LayoutHorizontalSplitProps, LayoutSplitPropsBase, LayoutVerticalSplitProps} from \"@itwin/appui-abstract\";\r\nimport { UiEvent } from \"@itwin/appui-abstract\";\r\nimport type { ActiveContentChangedEventArgs } from \"../framework/FrameworkContent\";\r\nimport { useActiveFrontstageDef } from \"../frontstage/FrontstageDef\";\r\nimport { UiFramework } from \"../UiFramework\";\r\n\r\n/** Properties for [[ContentWrapper]] */\r\ninterface ContentWrapperProps extends CommonProps {\r\n content: React.ReactNode;\r\n}\r\n\r\n/** ContentWrapper React component.\r\n * @internal\r\n */\r\nexport function ContentWrapper(props: ContentWrapperProps) {\r\n const { content } = props;\r\n const [isActive, setIsActive] = React.useState(content === UiFramework.content.getActive());\r\n const activeFrontstageDef = useActiveFrontstageDef();\r\n\r\n const contentControlKey = (contentControl: React.ReactNode): string | undefined => {\r\n let controlId: string | undefined;\r\n if (contentControl && (contentControl as React.ReactElement<any>).key) {\r\n const key = ((contentControl as React.ReactElement<any>).key as string);\r\n // key has format `${contentProps.id}::${this.groupId}` which is stored as unique id\r\n controlId = key.split(\"::\", 1)[0];\r\n }\r\n return controlId;\r\n };\r\n\r\n // istanbul ignore next\r\n const [hasMultipleContents, setHasMultipleContents] = React.useState(() =>\r\n (activeFrontstageDef && (!!activeFrontstageDef.floatingContentControls?.length) ||\r\n (activeFrontstageDef?.contentGroup?.getContentControls().length ?? 0) > 1)\r\n );\r\n\r\n React.useEffect(() => {\r\n setIsActive(content === UiFramework.content.getActive());\r\n }, [content]);\r\n\r\n React.useEffect(() => {\r\n const handleActiveContentChanged = (args: ActiveContentChangedEventArgs) => {\r\n const contentIsIdentical = content === args.activeContent;\r\n if (contentIsIdentical)\r\n setIsActive(contentIsIdentical);\r\n else {\r\n const contentId = contentControlKey(content);\r\n const activeContentId = contentControlKey(args.activeContent);\r\n setIsActive(contentId === activeContentId);\r\n }\r\n // istanbul ignore next\r\n setHasMultipleContents((activeFrontstageDef && (!!activeFrontstageDef.floatingContentControls?.length) ||\r\n (activeFrontstageDef?.contentGroup?.getContentControls().length ?? 0) > 1));\r\n };\r\n return UiFramework.content.onActiveContentChangedEvent.addListener(handleActiveContentChanged);\r\n }, [activeFrontstageDef, content]);\r\n\r\n const handleMouseDown = React.useCallback(() => {\r\n UiFramework.content.setActive(content);\r\n setIsActive(true);\r\n }, [content]);\r\n\r\n React.useEffect(() => {\r\n const onAvailableContentChanged = () => {\r\n // istanbul ignore next\r\n setHasMultipleContents((activeFrontstageDef && (!!activeFrontstageDef.floatingContentControls?.length) ||\r\n (activeFrontstageDef?.contentGroup?.getContentControls().length ?? 0) > 1));\r\n };\r\n return UiFramework.content.onAvailableContentChangedEvent.addListener(onAvailableContentChanged);\r\n }, [activeFrontstageDef]);\r\n\r\n const overlayClassName = classnames(\r\n \"uifw-contentlayout-overlay-div\",\r\n isActive && hasMultipleContents ? \"uifw-contentlayout-overlay-active\" : \"uifw-contentlayout-overlay-inactive\",\r\n );\r\n\r\n return (\r\n <div className={classnames(\"uifw-contentlayout-wrapper\", props.className)} style={props.style}\r\n onMouseDown={handleMouseDown} onMouseMove={UiFramework.visibility.handleContentMouseMove} role=\"presentation\"\r\n >\r\n {content}\r\n <div className={overlayClassName} />\r\n </div>\r\n );\r\n}\r\n\r\n/** Properties for the [[SplitContainer]] component */\r\ninterface SplitContainerProps extends CommonProps {\r\n contentA: React.ReactNode;\r\n contentB: React.ReactNode;\r\n orientation: Orientation;\r\n percentage: number;\r\n resizable: boolean;\r\n minSizeTopLeft: number;\r\n minSizeBottomRight: number;\r\n splitterStateId?: string;\r\n onSplitterChange?: (size: number, percentage: number) => void;\r\n}\r\n\r\n/** Split Container class.\r\n */\r\nclass SplitContainer extends React.Component<SplitContainerProps> {\r\n private _containerDiv: HTMLDivElement | null = null;\r\n\r\n constructor(props: SplitContainerProps) {\r\n super(props);\r\n }\r\n\r\n private _onSplitterChange = (size: number): void => {\r\n let percentage = 0;\r\n\r\n // istanbul ignore else\r\n if (this._containerDiv && size > 0) {\r\n if (this.props.orientation === Orientation.Horizontal) {\r\n const height = this._containerDiv.getBoundingClientRect().height;\r\n // istanbul ignore if\r\n if (height > 0)\r\n percentage = size / height;\r\n } else {\r\n const width = this._containerDiv.getBoundingClientRect().width;\r\n // istanbul ignore if\r\n if (width > 0)\r\n percentage = size / width;\r\n }\r\n\r\n // istanbul ignore else\r\n if (this.props.onSplitterChange)\r\n this.props.onSplitterChange(size, percentage);\r\n }\r\n };\r\n\r\n public override render(): React.ReactNode {\r\n const orientation = (this.props.orientation === Orientation.Horizontal) ? \"horizontal\" : \"vertical\";\r\n const defaultSize = `${(this.props.percentage * 100).toString()}%`;\r\n const minSizeTopLeft = this.props.minSizeTopLeft;\r\n const minSizeBottomRight = -(this.props.minSizeBottomRight);\r\n\r\n return (\r\n <div ref={(e) => { this._containerDiv = e; }}\r\n className={classnames(\"uifw-contentlayout-full-size\", this.props.className)}\r\n style={this.props.style}\r\n >\r\n <SplitPane split={orientation}\r\n minSize={minSizeTopLeft} maxSize={minSizeBottomRight} defaultSize={defaultSize}\r\n onChange={this._onSplitterChange} allowResize={this.props.resizable}\r\n >\r\n {this.props.contentA}\r\n {this.props.contentB}\r\n </SplitPane>\r\n </div >\r\n );\r\n }\r\n}\r\n\r\n/** Properties for [[SingleContentContainer]] component\r\n */\r\ninterface SingleContentProps extends CommonProps {\r\n content: React.ReactNode;\r\n}\r\n\r\n/** Single Content Container class.\r\n */\r\nclass SingleContentContainer extends React.Component<SingleContentProps> {\r\n\r\n public override render(): React.ReactNode {\r\n\r\n return (\r\n <div className={classnames(\"uifw-contentlayout-full-size\", this.props.className)} style={this.props.style} data-testid=\"single-content-container\"\r\n onMouseMove={UiFramework.visibility.handleContentMouseMove}\r\n >\r\n <ContentWrapper content={this.props.content} style={{ height: \"100%\", position: \"relative\" }} />\r\n </div>\r\n );\r\n }\r\n}\r\n\r\n/** Common interface for HorizontalSplit and VerticalSplit\r\n */\r\ninterface LayoutSplit {\r\n createContentContainer(contentNodes: React.ReactNode[], resizable: boolean): React.ReactNode;\r\n isLocked: boolean;\r\n}\r\n\r\n/** Minimum split size */\r\nconst MIN_SPLIT_SIZE = 6;\r\n\r\n/** Base Split class.\r\n */\r\nclass BaseSplit {\r\n public defaultPercentage: number;\r\n public stateId: string = \"\";\r\n public isLocked: boolean = false;\r\n\r\n constructor(props: LayoutSplitPropsBase) {\r\n this.defaultPercentage = props.percentage;\r\n\r\n // istanbul ignore else\r\n if (props.id)\r\n this.stateId = props.id;\r\n\r\n // istanbul ignore else\r\n if (props.lock)\r\n this.isLocked = props.lock;\r\n }\r\n}\r\n\r\n/** Horizontal Split class.\r\n */\r\nclass HorizontalSplit extends BaseSplit implements LayoutSplit {\r\n private _topIndex: number = -1;\r\n private _bottomIndex: number = -1;\r\n private _topSplit?: LayoutSplit;\r\n private _bottomSplit?: LayoutSplit;\r\n private _props: LayoutHorizontalSplitProps;\r\n private _minSizeTop: number = MIN_SPLIT_SIZE;\r\n private _minSizeBottom: number = MIN_SPLIT_SIZE;\r\n\r\n constructor(props: LayoutHorizontalSplitProps) {\r\n super(props);\r\n\r\n this._props = props;\r\n\r\n if (typeof props.top === \"number\") {\r\n this._topIndex = props.top;\r\n } else {\r\n this._topSplit = ContentLayoutDef.createSplit(props.top);\r\n }\r\n\r\n if (typeof props.bottom === \"number\") {\r\n this._bottomIndex = props.bottom;\r\n } else {\r\n this._bottomSplit = ContentLayoutDef.createSplit(props.bottom);\r\n }\r\n\r\n if (props.minSizeTop)\r\n this._minSizeTop = Math.max(props.minSizeTop, MIN_SPLIT_SIZE);\r\n\r\n if (props.minSizeBottom)\r\n this._minSizeBottom = Math.max(props.minSizeBottom, MIN_SPLIT_SIZE);\r\n }\r\n\r\n private _handleSplitterChange = (_size: number, percentage: number): void => {\r\n this._props.percentage = percentage;\r\n };\r\n\r\n public createContentContainer(contentNodes: React.ReactNode[], resizable: boolean): React.ReactNode {\r\n if (this.isLocked)\r\n resizable = false;\r\n\r\n const topContent = (!this._topSplit) ?\r\n <ContentWrapper content={contentNodes[this._topIndex]} /> :\r\n this._topSplit.createContentContainer(contentNodes, resizable);\r\n const bottomContent = (!this._bottomSplit) ?\r\n <ContentWrapper content={contentNodes[this._bottomIndex]} /> :\r\n this._bottomSplit.createContentContainer(contentNodes, resizable);\r\n\r\n return (\r\n <SplitContainer\r\n contentA={topContent}\r\n contentB={bottomContent}\r\n orientation={Orientation.Horizontal}\r\n percentage={this.defaultPercentage}\r\n resizable={resizable}\r\n minSizeTopLeft={this._minSizeTop}\r\n minSizeBottomRight={this._minSizeBottom}\r\n splitterStateId={this.stateId}\r\n onSplitterChange={this._handleSplitterChange}\r\n />\r\n );\r\n }\r\n}\r\n\r\n/** Vertical Split class.\r\n */\r\nclass VerticalSplit extends BaseSplit implements LayoutSplit {\r\n private _leftIndex: number = -1;\r\n private _rightIndex: number = -1;\r\n private _leftSplit?: LayoutSplit;\r\n private _rightSplit?: LayoutSplit;\r\n private _props: LayoutVerticalSplitProps;\r\n private _minSizeLeft: number = MIN_SPLIT_SIZE;\r\n private _minSizeRight: number = MIN_SPLIT_SIZE;\r\n\r\n constructor(props: LayoutVerticalSplitProps) {\r\n super(props);\r\n\r\n this._props = props;\r\n\r\n if (typeof props.left === \"number\") {\r\n this._leftIndex = props.left;\r\n } else {\r\n this._leftSplit = ContentLayoutDef.createSplit(props.left);\r\n }\r\n\r\n if (typeof props.right === \"number\") {\r\n this._rightIndex = props.right;\r\n } else {\r\n this._rightSplit = ContentLayoutDef.createSplit(props.right);\r\n }\r\n\r\n if (props.minSizeLeft)\r\n this._minSizeLeft = Math.max(props.minSizeLeft, MIN_SPLIT_SIZE);\r\n\r\n if (props.minSizeRight)\r\n this._minSizeRight = Math.max(props.minSizeRight, MIN_SPLIT_SIZE);\r\n }\r\n\r\n private _handleSplitterChange = (_size: number, percentage: number): void => {\r\n this._props.percentage = percentage;\r\n };\r\n\r\n public createContentContainer(contentNodes: React.ReactNode[], resizable: boolean): React.ReactNode {\r\n if (this.isLocked)\r\n resizable = false;\r\n\r\n const leftContent = (!this._leftSplit) ?\r\n <ContentWrapper content={contentNodes[this._leftIndex]} /> :\r\n this._leftSplit.createContentContainer(contentNodes, resizable);\r\n const rightContent = (!this._rightSplit) ?\r\n <ContentWrapper content={contentNodes[this._rightIndex]} /> :\r\n this._rightSplit.createContentContainer(contentNodes, resizable);\r\n\r\n return (\r\n <SplitContainer\r\n contentA={leftContent}\r\n contentB={rightContent}\r\n orientation={Orientation.Vertical}\r\n percentage={this.defaultPercentage}\r\n resizable={resizable}\r\n minSizeTopLeft={this._minSizeLeft}\r\n minSizeBottomRight={this._minSizeRight}\r\n splitterStateId={this.stateId}\r\n onSplitterChange={this._handleSplitterChange}\r\n />\r\n );\r\n }\r\n}\r\n\r\n/** Content Layout Definition class.\r\n * @public\r\n */\r\nexport class ContentLayoutDef {\r\n private _layoutProps: ContentLayoutProps;\r\n private _rootSplit?: LayoutSplit;\r\n\r\n /** ID for this Content Layout */\r\n public id: string = \"\";\r\n /** Description of the layout. */\r\n public description: string = \"\";\r\n constructor(layoutProps: ContentLayoutProps) {\r\n this._layoutProps = layoutProps;\r\n this.id = layoutProps.id;\r\n if (layoutProps.description !== undefined)\r\n this.description = layoutProps.description;\r\n }\r\n\r\n public get rootSplit(): LayoutSplit | undefined { return this._rootSplit; }\r\n\r\n /** Creates [[ContentLayoutProps]] for JSON purposes\r\n * @public\r\n */\r\n public toJSON(): ContentLayoutProps { return this._layoutProps; }\r\n\r\n /** Fill a layout container with React nodes for each content view\r\n */\r\n public fillLayoutContainer(contentNodes: React.ReactNode[], resizable: boolean): React.ReactNode | undefined {\r\n this._rootSplit = ContentLayoutDef.createSplit(this._layoutProps);\r\n\r\n if (this.rootSplit) {\r\n return this.rootSplit.createContentContainer(contentNodes, resizable);\r\n }\r\n\r\n if (contentNodes.length > 0)\r\n return <SingleContentContainer content={contentNodes[0]} />;\r\n\r\n return undefined;\r\n }\r\n\r\n /** Gets the indexes of content views used in this Content Layout\r\n */\r\n public getUsedContentIndexes(): number[] {\r\n let allContentIndexes: number[] = [];\r\n\r\n if (!this._layoutProps.horizontalSplit && !this._layoutProps.verticalSplit)\r\n allContentIndexes.push(0);\r\n else {\r\n allContentIndexes = allContentIndexes.concat(this.getHorizontalSplitContentIndexes(this._layoutProps.horizontalSplit));\r\n allContentIndexes = allContentIndexes.concat(this.getVerticalSplitContentIndexes(this._layoutProps.verticalSplit));\r\n }\r\n\r\n const uniqueContentIndexes = [...new Set(allContentIndexes)];\r\n\r\n return uniqueContentIndexes;\r\n }\r\n\r\n private getHorizontalSplitContentIndexes(splitProps?: LayoutHorizontalSplitProps): number[] {\r\n let contentIndexes: number[] = [];\r\n\r\n if (!splitProps)\r\n return contentIndexes;\r\n\r\n if (typeof splitProps.top === \"number\")\r\n contentIndexes.push(splitProps.top);\r\n else {\r\n contentIndexes = contentIndexes.concat(this.getHorizontalSplitContentIndexes(splitProps.top.horizontalSplit));\r\n contentIndexes = contentIndexes.concat(this.getVerticalSplitContentIndexes(splitProps.top.verticalSplit));\r\n }\r\n\r\n if (typeof splitProps.bottom === \"number\")\r\n contentIndexes.push(splitProps.bottom);\r\n else {\r\n contentIndexes = contentIndexes.concat(this.getHorizontalSplitContentIndexes(splitProps.bottom.horizontalSplit));\r\n contentIndexes = contentIndexes.concat(this.getVerticalSplitContentIndexes(splitProps.bottom.verticalSplit));\r\n }\r\n\r\n return contentIndexes;\r\n }\r\n\r\n private getVerticalSplitContentIndexes(splitProps?: LayoutVerticalSplitProps): number[] {\r\n let contentIndexes: number[] = [];\r\n\r\n if (!splitProps)\r\n return contentIndexes;\r\n\r\n if (typeof splitProps.left === \"number\")\r\n contentIndexes.push(splitProps.left);\r\n else {\r\n contentIndexes = contentIndexes.concat(this.getHorizontalSplitContentIndexes(splitProps.left.horizontalSplit));\r\n contentIndexes = contentIndexes.concat(this.getVerticalSplitContentIndexes(splitProps.left.verticalSplit));\r\n }\r\n\r\n if (typeof splitProps.right === \"number\")\r\n contentIndexes.push(splitProps.right);\r\n else {\r\n contentIndexes = contentIndexes.concat(this.getHorizontalSplitContentIndexes(splitProps.right.horizontalSplit));\r\n contentIndexes = contentIndexes.concat(this.getVerticalSplitContentIndexes(splitProps.right.verticalSplit));\r\n }\r\n\r\n return contentIndexes;\r\n }\r\n\r\n /** @internal */\r\n public static createSplit(fragmentDef: LayoutFragmentProps): LayoutSplit | undefined {\r\n if (fragmentDef.horizontalSplit) {\r\n return new HorizontalSplit(fragmentDef.horizontalSplit);\r\n } else if (fragmentDef.verticalSplit) {\r\n return new VerticalSplit(fragmentDef.verticalSplit);\r\n }\r\n\r\n return undefined;\r\n }\r\n\r\n}\r\n\r\n/** Content Layout Activated Event Args class.\r\n * @public\r\n */\r\nexport interface ContentLayoutActivatedEventArgs {\r\n contentLayout: ContentLayoutDef;\r\n contentGroup: ContentGroup;\r\n}\r\n\r\n/** Content Layout Activated Event class.\r\n * @public\r\n */\r\nexport class ContentLayoutActivatedEvent extends UiEvent<ContentLayoutActivatedEventArgs> { }\r\n\r\n/** State for the [[ContentLayout]].\r\n */\r\ninterface ContentLayoutState {\r\n contentLayoutDef: ContentLayoutDef;\r\n contentContainer?: React.ReactNode;\r\n contentGroupId?: string;\r\n}\r\n\r\n/** Properties for the [[ContentLayout]] React component.\r\n * @public\r\n */\r\nexport interface ContentLayoutComponentProps extends CommonProps {\r\n contentLayout: ContentLayoutDef;\r\n contentGroup: ContentGroup;\r\n}\r\n\r\n/** Content Layout React component.\r\n * @public\r\n */\r\nexport class ContentLayout extends React.Component<ContentLayoutComponentProps, ContentLayoutState> {\r\n\r\n /** @internal */\r\n public override readonly state: Readonly<ContentLayoutState>;\r\n\r\n constructor(props: ContentLayoutComponentProps) {\r\n super(props);\r\n\r\n const contentLayoutDef = this.props.contentLayout;\r\n const contentGroup = this.props.contentGroup;\r\n\r\n const contentNodes = contentGroup.getContentNodes();\r\n const contentContainer = contentLayoutDef.fillLayoutContainer(contentNodes, true);\r\n\r\n this.state = {\r\n contentLayoutDef: this.props.contentLayout,\r\n contentContainer,\r\n contentGroupId: this.props.contentGroup.groupId,\r\n };\r\n }\r\n\r\n public override componentDidMount() {\r\n UiFramework.frontstages.onContentLayoutActivatedEvent.addListener(this._handleContentLayoutActivated);\r\n }\r\n\r\n public override componentWillUnmount() {\r\n UiFramework.frontstages.onContentLayoutActivatedEvent.removeListener(this._handleContentLayoutActivated);\r\n }\r\n\r\n private _handleContentLayoutActivated = (args: ContentLayoutActivatedEventArgs) => {\r\n const contentLayoutDef = args.contentLayout;\r\n const contentGroup = args.contentGroup;\r\n\r\n const contentNodes = contentGroup.getContentNodes();\r\n const contentContainer = contentLayoutDef.fillLayoutContainer(contentNodes, true);\r\n\r\n this.setState({\r\n contentLayoutDef: args.contentLayout,\r\n contentContainer,\r\n contentGroupId: contentGroup.groupId,\r\n });\r\n };\r\n\r\n public override render(): React.ReactNode {\r\n if (this.state.contentContainer) {\r\n return (\r\n <div id=\"uifw-contentlayout-div\" className={this.props.className} style={this.props.style}\r\n key={`${this.state.contentGroupId}-${this.state.contentLayoutDef.id}`}\r\n onMouseDown={this._onMouseDown} onMouseUp={this._onMouseUp} role=\"presentation\"\r\n >\r\n {this.state.contentContainer}\r\n </div>\r\n );\r\n }\r\n\r\n return null;\r\n }\r\n\r\n private _onMouseDown = (_event: React.MouseEvent<HTMLDivElement>) => {\r\n UiFramework.content.setMouseDown(true);\r\n };\r\n\r\n private _onMouseUp = (_event: React.MouseEvent<HTMLDivElement>) => {\r\n UiFramework.content.setMouseDown(false);\r\n };\r\n}\r\n"]}
@@ -5,9 +5,6 @@
5
5
  @import "~@itwin/core-react/lib/cjs/core-react/base/base";
6
6
  @import "~@itwin/core-react/lib/cjs/core-react/style/breakpoints";
7
7
 
8
- $resizer-size: 6px;
9
- $resizer-size-large: 14px;
10
-
11
8
  #uifw-contentlayout-div {
12
9
  position: absolute;
13
10
  top: 0;
@@ -27,38 +24,70 @@ $resizer-size-large: 14px;
27
24
  margin: 0;
28
25
  transition: all var(--iui-duration-1) ease;
29
26
 
30
- &:hover {
31
- background-color: var(--iui-color-border-accent);
32
- }
33
-
34
27
  &.horizontal {
35
- height: $resizer-size;
36
- min-height: $resizer-size;
37
- cursor: ns-resize;
28
+ height: 1px;
29
+ min-height: 1px;
38
30
  width: 100%;
31
+ cursor: ns-resize;
39
32
 
40
- @include for-tablet-landscape-down {
41
- height: $resizer-size-large;
42
- min-height: $resizer-size-large;
33
+ >.nz-resizer-grip {
34
+ height: 5px;
35
+ width: 100%;
36
+ top: -2px;
37
+
38
+ &:before {
39
+ content: '';
40
+ position: absolute;
41
+ width: 100%;
42
+ height: 11px;
43
+ }
43
44
  }
44
45
  }
45
46
 
46
47
  &.vertical {
47
- width: $resizer-size;
48
- min-width: $resizer-size;
48
+ width: 1px;
49
+ min-width: 1px;
50
+ height: 100%;
49
51
  cursor: ew-resize;
50
52
 
51
- @include for-tablet-landscape-down {
52
- width: $resizer-size-large;
53
- min-width: $resizer-size-large;
53
+ >.nz-resizer-grip {
54
+ height: 100%;
55
+ width: 5px;
56
+ left: -2px;
57
+
58
+ &:before {
59
+ content: '';
60
+ position: absolute;
61
+ width: 11px;
62
+ height: 100%;
63
+ }
64
+ }
65
+ }
66
+
67
+ &.horizontal,
68
+ &.vertical {
69
+ >.nz-resizer-grip {
70
+ background-color: transparent;
71
+ align-items: center;
72
+ justify-content: center;
73
+ position: relative;
74
+ display: flex;
75
+ z-index: 1;
76
+ transition: background-color var(--iui-duration-1) ease;
77
+
78
+ &:hover {
79
+ background-color: var(--iui-color-border-accent);
80
+ }
54
81
  }
55
82
  }
56
83
 
57
84
  &.disabled {
58
85
  cursor: not-allowed;
59
86
 
60
- &:hover {
61
- border-color: transparent;
87
+ >.nz-resizer-grip {
88
+ &:hover {
89
+ border-color: transparent;
90
+ }
62
91
  }
63
92
  }
64
93
  }
@@ -96,4 +125,4 @@ div.uifw-contentlayout-full-size div.SplitPane div.Pane {
96
125
  border-color: transparent;
97
126
  }
98
127
  }
99
- }
128
+ }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  /// <reference types="react" />
5
5
  import "./DefaultViewOverlay.scss";
6
- import { ScreenViewport } from "@itwin/core-frontend";
6
+ import type { ScreenViewport } from "@itwin/core-frontend";
7
7
  /** Props of Viewport Overlay Control that show timelines
8
8
  * @public
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultViewOverlay.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/content/DefaultViewOverlay.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAEH,OAAO,2BAA2B,CAAC;AAEnC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAOtD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,cAAc,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CACzC;AAED;;;;GAIG;AAEH,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE,EAAE,gBAAgB,sBAyD7F"}
1
+ {"version":3,"file":"DefaultViewOverlay.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/content/DefaultViewOverlay.tsx"],"names":[],"mappings":"AAIA;;GAEG;;AAEH,OAAO,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAO3D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,cAAc,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CACzC;AAED;;;;GAIG;AAEH,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE,EAAE,gBAAgB,sBAyD7F"}
@@ -22,6 +22,7 @@ const useAnalysisAnimationDataProvider_1 = require("../hooks/useAnalysisAnimatio
22
22
  */
23
23
  // istanbul ignore next
24
24
  function DefaultViewOverlay({ viewport, onPlayPause, featureOptions }) {
25
+ var _a, _b, _c;
25
26
  const solarDataTimelineProvider = (0, useSolarDataProvider_1.useSolarDataProvider)(viewport);
26
27
  const analysisAnimationTimelineDataProvider = (0, useAnalysisAnimationDataProvider_1.useAnalysisAnimationDataProvider)(viewport);
27
28
  const scheduleTimelineDataProvider = (0, useScheduleAnimationDataProvider_1.useScheduleAnimationDataProvider)(viewport);
@@ -29,17 +30,17 @@ function DefaultViewOverlay({ viewport, onPlayPause, featureOptions }) {
29
30
  if (!currentViewport)
30
31
  return null;
31
32
  // Solar gets first shot
32
- if (solarDataTimelineProvider && !!featureOptions?.defaultViewOverlay?.enableSolarTimelineViewOverlay) {
33
+ if (solarDataTimelineProvider && !!((_a = featureOptions === null || featureOptions === void 0 ? void 0 : featureOptions.defaultViewOverlay) === null || _a === void 0 ? void 0 : _a.enableSolarTimelineViewOverlay)) {
33
34
  return (React.createElement("div", { className: "uifw-view-overlay" },
34
35
  React.createElement("div", { className: "uifw-animation-overlay" },
35
36
  React.createElement(imodel_components_react_1.SolarTimeline, { dataProvider: solarDataTimelineProvider }))));
36
37
  }
37
- if (analysisAnimationTimelineDataProvider && !!featureOptions?.defaultViewOverlay?.enableAnalysisTimelineViewOverlay) {
38
+ if (analysisAnimationTimelineDataProvider && !!((_b = featureOptions === null || featureOptions === void 0 ? void 0 : featureOptions.defaultViewOverlay) === null || _b === void 0 ? void 0 : _b.enableAnalysisTimelineViewOverlay)) {
38
39
  return (React.createElement("div", { className: "uifw-view-overlay" },
39
40
  React.createElement("div", { className: "uifw-animation-overlay" },
40
41
  React.createElement(imodel_components_react_1.TimelineComponent, { startDate: analysisAnimationTimelineDataProvider.start, endDate: analysisAnimationTimelineDataProvider.end, initialDuration: analysisAnimationTimelineDataProvider.initialDuration, totalDuration: analysisAnimationTimelineDataProvider.duration, minimized: true, onChange: analysisAnimationTimelineDataProvider.onAnimationFractionChanged, onPlayPause: onPlayPause }))));
41
42
  }
42
- if (scheduleTimelineDataProvider && !!featureOptions?.defaultViewOverlay?.enableScheduleAnimationViewOverlay) {
43
+ if (scheduleTimelineDataProvider && !!((_c = featureOptions === null || featureOptions === void 0 ? void 0 : featureOptions.defaultViewOverlay) === null || _c === void 0 ? void 0 : _c.enableScheduleAnimationViewOverlay)) {
43
44
  return (React.createElement("div", { className: "uifw-view-overlay" },
44
45
  React.createElement("div", { className: "uifw-animation-overlay" },
45
46
  React.createElement(imodel_components_react_1.TimelineComponent, { startDate: scheduleTimelineDataProvider.start, endDate: scheduleTimelineDataProvider.end, initialDuration: scheduleTimelineDataProvider.initialDuration, totalDuration: scheduleTimelineDataProvider.duration, minimized: true, onChange: scheduleTimelineDataProvider.onAnimationFractionChanged, onPlayPause: onPlayPause }))));