@itwin/appui-react 4.1.0-dev.1 → 4.2.0-dev.1

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 (1625) hide show
  1. package/CHANGELOG.md +2072 -2059
  2. package/LICENSE.md +9 -9
  3. package/README.md +21 -21
  4. package/lib/cjs/appui-react/UiFramework.d.ts +3 -3
  5. package/lib/cjs/appui-react/UiFramework.d.ts.map +1 -1
  6. package/lib/cjs/appui-react/UiFramework.js +82 -35
  7. package/lib/cjs/appui-react/UiFramework.js.map +1 -1
  8. package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.d.ts.map +1 -1
  9. package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.js +3 -3
  10. package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.js.map +1 -1
  11. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  12. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js +5 -5
  13. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
  14. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.scss +6 -6
  15. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  16. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js +64 -31
  17. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
  18. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts +1 -1
  19. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
  20. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js +3 -3
  21. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
  22. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.js +3 -3
  23. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
  24. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
  25. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js +11 -5
  26. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  27. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.js +3 -3
  28. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
  29. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  30. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.js +3 -3
  31. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  32. package/lib/cjs/appui-react/accudraw/Calculator.d.ts.map +1 -1
  33. package/lib/cjs/appui-react/accudraw/Calculator.js +7 -9
  34. package/lib/cjs/appui-react/accudraw/Calculator.js.map +1 -1
  35. package/lib/cjs/appui-react/accudraw/Calculator.scss +4 -5
  36. package/lib/cjs/appui-react/accudraw/CalculatorEngine.d.ts.map +1 -1
  37. package/lib/cjs/appui-react/accudraw/CalculatorEngine.js +19 -12
  38. package/lib/cjs/appui-react/accudraw/CalculatorEngine.js.map +1 -1
  39. package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
  40. package/lib/cjs/appui-react/accudraw/CalculatorPopup.js +3 -3
  41. package/lib/cjs/appui-react/accudraw/CalculatorPopup.js.map +1 -1
  42. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
  43. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js +29 -11
  44. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  45. package/lib/cjs/appui-react/accudraw/MenuButton.d.ts.map +1 -1
  46. package/lib/cjs/appui-react/accudraw/MenuButton.js +7 -5
  47. package/lib/cjs/appui-react/accudraw/MenuButton.js.map +1 -1
  48. package/lib/cjs/appui-react/accudraw/MenuButton.scss +6 -7
  49. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts.map +1 -1
  50. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.js +3 -3
  51. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
  52. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts +2 -1
  53. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts.map +1 -1
  54. package/lib/cjs/appui-react/accudraw/SquareButton.js +3 -3
  55. package/lib/cjs/appui-react/accudraw/SquareButton.js.map +1 -1
  56. package/lib/cjs/appui-react/accudraw/SquareButton.scss +4 -4
  57. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  58. package/lib/cjs/appui-react/backstage/BackstageComposer.js +9 -20
  59. package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
  60. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts +2 -2
  61. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  62. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +7 -7
  63. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  64. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  65. package/lib/cjs/appui-react/backstage/BackstageItem.js +3 -3
  66. package/lib/cjs/appui-react/backstage/BackstageItem.js.map +1 -1
  67. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
  68. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js +3 -3
  69. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
  70. package/lib/cjs/appui-react/backstage/BackstageItemsManager.d.ts.map +1 -1
  71. package/lib/cjs/appui-react/backstage/BackstageItemsManager.js +11 -12
  72. package/lib/cjs/appui-react/backstage/BackstageItemsManager.js.map +1 -1
  73. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts +1 -1
  74. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  75. package/lib/cjs/appui-react/backstage/BackstageManager.js +7 -5
  76. package/lib/cjs/appui-react/backstage/BackstageManager.js.map +1 -1
  77. package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
  78. package/lib/cjs/appui-react/backstage/InternalBackstageManager.js +3 -3
  79. package/lib/cjs/appui-react/backstage/InternalBackstageManager.js.map +1 -1
  80. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.d.ts.map +1 -1
  81. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js +3 -3
  82. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  83. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  84. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js +3 -3
  85. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  86. package/lib/cjs/appui-react/childwindow/CopyStyles.d.ts.map +1 -1
  87. package/lib/cjs/appui-react/childwindow/CopyStyles.js +3 -3
  88. package/lib/cjs/appui-react/childwindow/CopyStyles.js.map +1 -1
  89. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  90. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +11 -22
  91. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  92. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts +1 -1
  93. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  94. package/lib/cjs/appui-react/childwindow/PopoutWidget.js +4 -4
  95. package/lib/cjs/appui-react/childwindow/PopoutWidget.js.map +1 -1
  96. package/lib/cjs/appui-react/childwindow/PopoutWidget.scss +4 -4
  97. package/lib/cjs/appui-react/configurableui/ActivityTracker.d.ts.map +1 -1
  98. package/lib/cjs/appui-react/configurableui/ActivityTracker.js +6 -4
  99. package/lib/cjs/appui-react/configurableui/ActivityTracker.js.map +1 -1
  100. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  101. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js +7 -4
  102. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  103. package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.d.ts.map +1 -1
  104. package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.js +26 -11
  105. package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.js.map +1 -1
  106. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
  107. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
  108. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js +4 -4
  109. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  110. package/lib/cjs/appui-react/configurableui/TimeTracker.d.ts.map +1 -1
  111. package/lib/cjs/appui-react/configurableui/TimeTracker.js +6 -4
  112. package/lib/cjs/appui-react/configurableui/TimeTracker.js.map +1 -1
  113. package/lib/cjs/appui-react/configurableui/state.d.ts.map +1 -1
  114. package/lib/cjs/appui-react/configurableui/state.js +3 -3
  115. package/lib/cjs/appui-react/configurableui/state.js.map +1 -1
  116. package/lib/cjs/appui-react/content/ContentControl.d.ts.map +1 -1
  117. package/lib/cjs/appui-react/content/ContentControl.js +17 -11
  118. package/lib/cjs/appui-react/content/ContentControl.js.map +1 -1
  119. package/lib/cjs/appui-react/content/ContentGroup.d.ts.map +1 -1
  120. package/lib/cjs/appui-react/content/ContentGroup.js +7 -5
  121. package/lib/cjs/appui-react/content/ContentGroup.js.map +1 -1
  122. package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
  123. package/lib/cjs/appui-react/content/ContentLayout.js +32 -27
  124. package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
  125. package/lib/cjs/appui-react/content/ContentLayout.scss +10 -10
  126. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts +1 -1
  127. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  128. package/lib/cjs/appui-react/content/DefaultViewOverlay.js +10 -7
  129. package/lib/cjs/appui-react/content/DefaultViewOverlay.js.map +1 -1
  130. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +1 -1
  131. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  132. package/lib/cjs/appui-react/content/FloatingViewportContent.js +8 -6
  133. package/lib/cjs/appui-react/content/FloatingViewportContent.js.map +1 -1
  134. package/lib/cjs/appui-react/content/IModelViewport.d.ts +1 -1
  135. package/lib/cjs/appui-react/content/IModelViewport.d.ts.map +1 -1
  136. package/lib/cjs/appui-react/content/IModelViewport.js +23 -16
  137. package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
  138. package/lib/cjs/appui-react/content/InternalContentLayoutManager.d.ts.map +1 -1
  139. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js +16 -7
  140. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  141. package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
  142. package/lib/cjs/appui-react/content/InternalContentViewManager.js +21 -15
  143. package/lib/cjs/appui-react/content/InternalContentViewManager.js.map +1 -1
  144. package/lib/cjs/appui-react/content/StageContentLayout.d.ts.map +1 -1
  145. package/lib/cjs/appui-react/content/StageContentLayout.js +7 -4
  146. package/lib/cjs/appui-react/content/StageContentLayout.js.map +1 -1
  147. package/lib/cjs/appui-react/content/ViewStateHelper.d.ts.map +1 -1
  148. package/lib/cjs/appui-react/content/ViewStateHelper.js +4 -4
  149. package/lib/cjs/appui-react/content/ViewStateHelper.js.map +1 -1
  150. package/lib/cjs/appui-react/content/ViewportContentControl.d.ts.map +1 -1
  151. package/lib/cjs/appui-react/content/ViewportContentControl.js +23 -10
  152. package/lib/cjs/appui-react/content/ViewportContentControl.js.map +1 -1
  153. package/lib/cjs/appui-react/content/split-pane/Pane.d.ts.map +1 -1
  154. package/lib/cjs/appui-react/content/split-pane/Pane.js +4 -4
  155. package/lib/cjs/appui-react/content/split-pane/Pane.js.map +1 -1
  156. package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  157. package/lib/cjs/appui-react/content/split-pane/Resizer.js +3 -3
  158. package/lib/cjs/appui-react/content/split-pane/Resizer.js.map +1 -1
  159. package/lib/cjs/appui-react/content/split-pane/SplitPane.d.ts.map +1 -1
  160. package/lib/cjs/appui-react/content/split-pane/SplitPane.js +28 -22
  161. package/lib/cjs/appui-react/content/split-pane/SplitPane.js.map +1 -1
  162. package/lib/cjs/appui-react/cursor/CursorInformation.d.ts.map +1 -1
  163. package/lib/cjs/appui-react/cursor/CursorInformation.js +18 -8
  164. package/lib/cjs/appui-react/cursor/CursorInformation.js.map +1 -1
  165. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
  166. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js +13 -7
  167. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  168. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  169. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js +10 -10
  170. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  171. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.scss +3 -4
  172. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
  173. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js +21 -9
  174. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  175. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
  176. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js +5 -5
  177. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
  178. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.scss +6 -6
  179. package/lib/cjs/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  180. package/lib/cjs/appui-react/dialog/ContentDialog.js +12 -6
  181. package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -1
  182. package/lib/cjs/appui-react/dialog/ContentDialog.scss +4 -4
  183. package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
  184. package/lib/cjs/appui-react/dialog/ContentDialogManager.js +3 -3
  185. package/lib/cjs/appui-react/dialog/ContentDialogManager.js.map +1 -1
  186. package/lib/cjs/appui-react/dialog/DialogManagerBase.d.ts.map +1 -1
  187. package/lib/cjs/appui-react/dialog/DialogManagerBase.js +21 -9
  188. package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
  189. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts +1 -1
  190. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
  191. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js +22 -9
  192. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  193. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
  194. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js +6 -4
  195. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  196. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts +1 -1
  197. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
  198. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js +18 -8
  199. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  200. package/lib/cjs/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
  201. package/lib/cjs/appui-react/dialog/ModalDialogManager.js +3 -3
  202. package/lib/cjs/appui-react/dialog/ModalDialogManager.js.map +1 -1
  203. package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts +1 -1
  204. package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
  205. package/lib/cjs/appui-react/dialog/ModelessDialog.js +8 -5
  206. package/lib/cjs/appui-react/dialog/ModelessDialog.js.map +1 -1
  207. package/lib/cjs/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
  208. package/lib/cjs/appui-react/dialog/ModelessDialogManager.js +3 -3
  209. package/lib/cjs/appui-react/dialog/ModelessDialogManager.js.map +1 -1
  210. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts +1 -1
  211. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  212. package/lib/cjs/appui-react/dialog/StandardMessageBox.js +39 -9
  213. package/lib/cjs/appui-react/dialog/StandardMessageBox.js.map +1 -1
  214. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  215. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js +3 -3
  216. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  217. package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  218. package/lib/cjs/appui-react/feedback/ElementTooltip.js +32 -11
  219. package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
  220. package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  221. package/lib/cjs/appui-react/feedback/ValidationTextbox.js +6 -4
  222. package/lib/cjs/appui-react/feedback/ValidationTextbox.js.map +1 -1
  223. package/lib/cjs/appui-react/framework/FrameworkBackstage.js +3 -3
  224. package/lib/cjs/appui-react/framework/FrameworkBackstage.js.map +1 -1
  225. package/lib/cjs/appui-react/framework/FrameworkChildWindows.d.ts.map +1 -1
  226. package/lib/cjs/appui-react/framework/FrameworkChildWindows.js +3 -3
  227. package/lib/cjs/appui-react/framework/FrameworkChildWindows.js.map +1 -1
  228. package/lib/cjs/appui-react/framework/FrameworkContent.d.ts.map +1 -1
  229. package/lib/cjs/appui-react/framework/FrameworkContent.js +3 -3
  230. package/lib/cjs/appui-react/framework/FrameworkContent.js.map +1 -1
  231. package/lib/cjs/appui-react/framework/FrameworkControls.d.ts.map +1 -1
  232. package/lib/cjs/appui-react/framework/FrameworkControls.js.map +1 -1
  233. package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
  234. package/lib/cjs/appui-react/framework/FrameworkDialogs.js.map +1 -1
  235. package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
  236. package/lib/cjs/appui-react/framework/FrameworkFrontstages.js +3 -3
  237. package/lib/cjs/appui-react/framework/FrameworkFrontstages.js.map +1 -1
  238. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
  239. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
  240. package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
  241. package/lib/cjs/appui-react/framework/FrameworkToolSettings.js.map +1 -1
  242. package/lib/cjs/appui-react/framework/FrameworkVisibility.d.ts.map +1 -1
  243. package/lib/cjs/appui-react/framework/FrameworkVisibility.js.map +1 -1
  244. package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
  245. package/lib/cjs/appui-react/frontstage/FrontstageConfig.js +3 -3
  246. package/lib/cjs/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  247. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  248. package/lib/cjs/appui-react/frontstage/FrontstageDef.js +117 -41
  249. package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
  250. package/lib/cjs/appui-react/frontstage/FrontstageProvider.js +3 -3
  251. package/lib/cjs/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  252. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts +1 -1
  253. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
  254. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js +52 -20
  255. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  256. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  257. package/lib/cjs/appui-react/frontstage/ModalFrontstage.js +4 -5
  258. package/lib/cjs/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  259. package/lib/cjs/appui-react/frontstage/ModalFrontstage.scss +4 -4
  260. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  261. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +14 -11
  262. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  263. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.scss +4 -4
  264. package/lib/cjs/appui-react/frontstage/NestedFrontstage.d.ts.map +1 -1
  265. package/lib/cjs/appui-react/frontstage/NestedFrontstage.js +3 -3
  266. package/lib/cjs/appui-react/frontstage/NestedFrontstage.js.map +1 -1
  267. package/lib/cjs/appui-react/frontstage/StageUsage.js +3 -3
  268. package/lib/cjs/appui-react/frontstage/StageUsage.js.map +1 -1
  269. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  270. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +19 -13
  271. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  272. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
  273. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js +3 -3
  274. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
  275. package/lib/cjs/appui-react/hooks/useActiveStageId.d.ts.map +1 -1
  276. package/lib/cjs/appui-react/hooks/useActiveStageId.js +3 -3
  277. package/lib/cjs/appui-react/hooks/useActiveStageId.js.map +1 -1
  278. package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
  279. package/lib/cjs/appui-react/hooks/useActiveViewport.js +8 -4
  280. package/lib/cjs/appui-react/hooks/useActiveViewport.js.map +1 -1
  281. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts.map +1 -1
  282. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
  283. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  284. package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.d.ts.map +1 -1
  285. package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.js +3 -3
  286. package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.js.map +1 -1
  287. package/lib/cjs/appui-react/hooks/useEscapeSetFocusToHome.js +3 -3
  288. package/lib/cjs/appui-react/hooks/useEscapeSetFocusToHome.js.map +1 -1
  289. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.d.ts.map +1 -1
  290. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
  291. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  292. package/lib/cjs/appui-react/hooks/useSolarDataProvider.d.ts.map +1 -1
  293. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js +19 -10
  294. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  295. package/lib/cjs/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
  296. package/lib/cjs/appui-react/hooks/useUiVisibility.js +4 -4
  297. package/lib/cjs/appui-react/hooks/useUiVisibility.js.map +1 -1
  298. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
  299. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
  300. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js +10 -6
  301. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  302. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
  303. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js +24 -10
  304. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
  305. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
  306. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +7 -4
  307. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  308. package/lib/cjs/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  309. package/lib/cjs/appui-react/messages/ActivityMessage.js +24 -12
  310. package/lib/cjs/appui-react/messages/ActivityMessage.js.map +1 -1
  311. package/lib/cjs/appui-react/messages/AppNotificationManager.d.ts.map +1 -1
  312. package/lib/cjs/appui-react/messages/AppNotificationManager.js +12 -6
  313. package/lib/cjs/appui-react/messages/AppNotificationManager.js.map +1 -1
  314. package/lib/cjs/appui-react/messages/HollowIcon.js +3 -3
  315. package/lib/cjs/appui-react/messages/HollowIcon.js.map +1 -1
  316. package/lib/cjs/appui-react/messages/InputField.d.ts.map +1 -1
  317. package/lib/cjs/appui-react/messages/InputField.js +13 -15
  318. package/lib/cjs/appui-react/messages/InputField.js.map +1 -1
  319. package/lib/cjs/appui-react/messages/InputField.scss +5 -6
  320. package/lib/cjs/appui-react/messages/MessageLabel.d.ts.map +1 -1
  321. package/lib/cjs/appui-react/messages/MessageLabel.js +3 -3
  322. package/lib/cjs/appui-react/messages/MessageLabel.js.map +1 -1
  323. package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
  324. package/lib/cjs/appui-react/messages/MessageManager.js +33 -16
  325. package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
  326. package/lib/cjs/appui-react/messages/MessageSpan.d.ts.map +1 -1
  327. package/lib/cjs/appui-react/messages/MessageSpan.js +3 -3
  328. package/lib/cjs/appui-react/messages/MessageSpan.js.map +1 -1
  329. package/lib/cjs/appui-react/messages/Pointer.d.ts.map +1 -1
  330. package/lib/cjs/appui-react/messages/Pointer.js +9 -9
  331. package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
  332. package/lib/cjs/appui-react/messages/Pointer.scss +4 -4
  333. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  334. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.js +24 -10
  335. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  336. package/lib/cjs/appui-react/messages/StatusMessageManager.d.ts.map +1 -1
  337. package/lib/cjs/appui-react/messages/StatusMessageManager.js +6 -4
  338. package/lib/cjs/appui-react/messages/StatusMessageManager.js.map +1 -1
  339. package/lib/cjs/appui-react/messages/getToastCategory.js +3 -3
  340. package/lib/cjs/appui-react/messages/getToastCategory.js.map +1 -1
  341. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  342. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js +7 -5
  343. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  344. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  345. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js +7 -5
  346. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  347. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
  348. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js +15 -7
  349. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
  350. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  351. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js +39 -17
  352. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  353. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
  354. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js +20 -9
  355. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  356. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.scss +4 -4
  357. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  358. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js +17 -10
  359. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  360. package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
  361. package/lib/cjs/appui-react/pickers/ListPicker.js +76 -30
  362. package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
  363. package/lib/cjs/appui-react/pickers/ListPicker.scss +4 -4
  364. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  365. package/lib/cjs/appui-react/pickers/ViewSelector.js +34 -15
  366. package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
  367. package/lib/cjs/appui-react/popup/CardPopup.d.ts.map +1 -1
  368. package/lib/cjs/appui-react/popup/CardPopup.js +11 -13
  369. package/lib/cjs/appui-react/popup/CardPopup.js.map +1 -1
  370. package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
  371. package/lib/cjs/appui-react/popup/HTMLElementPopup.js +3 -3
  372. package/lib/cjs/appui-react/popup/HTMLElementPopup.js.map +1 -1
  373. package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
  374. package/lib/cjs/appui-react/popup/InputEditorPopup.js +5 -4
  375. package/lib/cjs/appui-react/popup/InputEditorPopup.js.map +1 -1
  376. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts +1 -1
  377. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  378. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js +21 -20
  379. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  380. package/lib/cjs/appui-react/popup/KeyinPalettePanel.scss +4 -4
  381. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts +1 -1
  382. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  383. package/lib/cjs/appui-react/popup/KeyinPalettePopup.js +5 -5
  384. package/lib/cjs/appui-react/popup/KeyinPalettePopup.js.map +1 -1
  385. package/lib/cjs/appui-react/popup/PopupManager.d.ts.map +1 -1
  386. package/lib/cjs/appui-react/popup/PopupManager.js +45 -19
  387. package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
  388. package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
  389. package/lib/cjs/appui-react/popup/PositionPopup.js +4 -4
  390. package/lib/cjs/appui-react/popup/PositionPopup.js.map +1 -1
  391. package/lib/cjs/appui-react/popup/PositionPopup.scss +3 -4
  392. package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
  393. package/lib/cjs/appui-react/popup/ToolSettingsPopup.js +4 -5
  394. package/lib/cjs/appui-react/popup/ToolSettingsPopup.js.map +1 -1
  395. package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
  396. package/lib/cjs/appui-react/popup/ToolbarPopup.js +3 -3
  397. package/lib/cjs/appui-react/popup/ToolbarPopup.js.map +1 -1
  398. package/lib/cjs/appui-react/redux/FrameworkState.d.ts.map +1 -1
  399. package/lib/cjs/appui-react/redux/FrameworkState.js +3 -3
  400. package/lib/cjs/appui-react/redux/FrameworkState.js.map +1 -1
  401. package/lib/cjs/appui-react/redux/ReducerRegistry.d.ts.map +1 -1
  402. package/lib/cjs/appui-react/redux/ReducerRegistry.js +3 -4
  403. package/lib/cjs/appui-react/redux/ReducerRegistry.js.map +1 -1
  404. package/lib/cjs/appui-react/redux/SessionState.d.ts +9 -9
  405. package/lib/cjs/appui-react/redux/SessionState.d.ts.map +1 -1
  406. package/lib/cjs/appui-react/redux/SessionState.js +7 -4
  407. package/lib/cjs/appui-react/redux/SessionState.js.map +1 -1
  408. package/lib/cjs/appui-react/redux/StateManager.d.ts.map +1 -1
  409. package/lib/cjs/appui-react/redux/StateManager.js +10 -6
  410. package/lib/cjs/appui-react/redux/StateManager.js.map +1 -1
  411. package/lib/cjs/appui-react/redux/connectIModel.d.ts +1 -1
  412. package/lib/cjs/appui-react/redux/connectIModel.d.ts.map +1 -1
  413. package/lib/cjs/appui-react/redux/connectIModel.js +4 -4
  414. package/lib/cjs/appui-react/redux/connectIModel.js.map +1 -1
  415. package/lib/cjs/appui-react/redux/redux-ts.d.ts +3 -3
  416. package/lib/cjs/appui-react/redux/redux-ts.d.ts.map +1 -1
  417. package/lib/cjs/appui-react/redux/redux-ts.js +6 -4
  418. package/lib/cjs/appui-react/redux/redux-ts.js.map +1 -1
  419. package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  420. package/lib/cjs/appui-react/safearea/SafeAreaContext.js +3 -3
  421. package/lib/cjs/appui-react/safearea/SafeAreaContext.js.map +1 -1
  422. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -1
  423. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js +3 -3
  424. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js.map +1 -1
  425. package/lib/cjs/appui-react/safearea/SafeAreaInsets.d.ts.map +1 -1
  426. package/lib/cjs/appui-react/safearea/SafeAreaInsets.js +3 -3
  427. package/lib/cjs/appui-react/safearea/SafeAreaInsets.js.map +1 -1
  428. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts +2 -2
  429. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  430. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js +103 -40
  431. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  432. package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  433. package/lib/cjs/appui-react/selection/SelectionContextItemDef.js +41 -13
  434. package/lib/cjs/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  435. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts +1 -1
  436. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  437. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js +32 -26
  438. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  439. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  440. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js +9 -5
  441. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
  442. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  443. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js +36 -13
  444. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  445. package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  446. package/lib/cjs/appui-react/shared/ActionButtonItemDef.js +7 -4
  447. package/lib/cjs/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  448. package/lib/cjs/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  449. package/lib/cjs/appui-react/shared/AnyItemDef.js +3 -3
  450. package/lib/cjs/appui-react/shared/AnyItemDef.js.map +1 -1
  451. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.js +3 -3
  452. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
  453. package/lib/cjs/appui-react/shared/CommandItemDef.d.ts.map +1 -1
  454. package/lib/cjs/appui-react/shared/CommandItemDef.js +8 -4
  455. package/lib/cjs/appui-react/shared/CommandItemDef.js.map +1 -1
  456. package/lib/cjs/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  457. package/lib/cjs/appui-react/shared/CustomItemDef.js +3 -3
  458. package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
  459. package/lib/cjs/appui-react/shared/CustomItemProps.js +3 -3
  460. package/lib/cjs/appui-react/shared/CustomItemProps.js.map +1 -1
  461. package/lib/cjs/appui-react/shared/GroupItemProps.js +3 -3
  462. package/lib/cjs/appui-react/shared/GroupItemProps.js.map +1 -1
  463. package/lib/cjs/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  464. package/lib/cjs/appui-react/shared/ItemDefBase.js +15 -8
  465. package/lib/cjs/appui-react/shared/ItemDefBase.js.map +1 -1
  466. package/lib/cjs/appui-react/shared/ItemMap.d.ts.map +1 -1
  467. package/lib/cjs/appui-react/shared/ItemMap.js +3 -3
  468. package/lib/cjs/appui-react/shared/ItemMap.js.map +1 -1
  469. package/lib/cjs/appui-react/shared/ItemProps.d.ts.map +1 -1
  470. package/lib/cjs/appui-react/shared/ItemProps.js +3 -3
  471. package/lib/cjs/appui-react/shared/ItemProps.js.map +1 -1
  472. package/lib/cjs/appui-react/shared/MenuItem.d.ts.map +1 -1
  473. package/lib/cjs/appui-react/shared/MenuItem.js +6 -4
  474. package/lib/cjs/appui-react/shared/MenuItem.js.map +1 -1
  475. package/lib/cjs/appui-react/shared/SelectionScope.js +3 -3
  476. package/lib/cjs/appui-react/shared/SelectionScope.js.map +1 -1
  477. package/lib/cjs/appui-react/shared/ToolItemDef.d.ts.map +1 -1
  478. package/lib/cjs/appui-react/shared/ToolItemDef.js +13 -5
  479. package/lib/cjs/appui-react/shared/ToolItemDef.js.map +1 -1
  480. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js +3 -3
  481. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  482. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  483. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +30 -11
  484. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  485. package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js +3 -3
  486. package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js.map +1 -1
  487. package/lib/cjs/appui-react/stagepanels/StagePanelSection.js +3 -3
  488. package/lib/cjs/appui-react/stagepanels/StagePanelSection.js.map +1 -1
  489. package/lib/cjs/appui-react/statusbar/Field.d.ts.map +1 -1
  490. package/lib/cjs/appui-react/statusbar/Field.js +3 -3
  491. package/lib/cjs/appui-react/statusbar/Field.js.map +1 -1
  492. package/lib/cjs/appui-react/statusbar/Field.scss +8 -8
  493. package/lib/cjs/appui-react/statusbar/Indicator.d.ts.map +1 -1
  494. package/lib/cjs/appui-react/statusbar/Indicator.js +4 -4
  495. package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
  496. package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  497. package/lib/cjs/appui-react/statusbar/LabelIndicator.js +5 -5
  498. package/lib/cjs/appui-react/statusbar/LabelIndicator.js.map +1 -1
  499. package/lib/cjs/appui-react/statusbar/LabelIndicator.scss +5 -5
  500. package/lib/cjs/appui-react/statusbar/Overflow.d.ts.map +1 -1
  501. package/lib/cjs/appui-react/statusbar/Overflow.js +3 -3
  502. package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
  503. package/lib/cjs/appui-react/statusbar/Overflow.scss +4 -4
  504. package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  505. package/lib/cjs/appui-react/statusbar/OverflowPanel.js +3 -3
  506. package/lib/cjs/appui-react/statusbar/OverflowPanel.js.map +1 -1
  507. package/lib/cjs/appui-react/statusbar/OverflowPanel.scss +5 -5
  508. package/lib/cjs/appui-react/statusbar/Popup.d.ts.map +1 -1
  509. package/lib/cjs/appui-react/statusbar/Popup.js +4 -4
  510. package/lib/cjs/appui-react/statusbar/Popup.js.map +1 -1
  511. package/lib/cjs/appui-react/statusbar/Separator.d.ts.map +1 -1
  512. package/lib/cjs/appui-react/statusbar/Separator.js +4 -4
  513. package/lib/cjs/appui-react/statusbar/Separator.js.map +1 -1
  514. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  515. package/lib/cjs/appui-react/statusbar/StatusBar.js +7 -7
  516. package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
  517. package/lib/cjs/appui-react/statusbar/StatusBar.scss +4 -4
  518. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  519. package/lib/cjs/appui-react/statusbar/StatusBarComposer.js +22 -17
  520. package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  521. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  522. package/lib/cjs/appui-react/statusbar/StatusBarItem.js +3 -3
  523. package/lib/cjs/appui-react/statusbar/StatusBarItem.js.map +1 -1
  524. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  525. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js +3 -3
  526. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  527. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  528. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js +11 -12
  529. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  530. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  531. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js +6 -4
  532. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  533. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts +2 -2
  534. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  535. package/lib/cjs/appui-react/statusbar/dialog/Button.js +6 -6
  536. package/lib/cjs/appui-react/statusbar/dialog/Button.js.map +1 -1
  537. package/lib/cjs/appui-react/statusbar/dialog/Dialog.js +3 -3
  538. package/lib/cjs/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  539. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts +2 -2
  540. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  541. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js +5 -5
  542. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  543. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.d.ts.map +1 -1
  544. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js +3 -3
  545. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  546. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  547. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +5 -4
  548. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  549. package/lib/cjs/appui-react/statusfields/ActivityCenter.js +3 -3
  550. package/lib/cjs/appui-react/statusfields/ActivityCenter.js.map +1 -1
  551. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  552. package/lib/cjs/appui-react/statusfields/MessageCenter.js +14 -11
  553. package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
  554. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  555. package/lib/cjs/appui-react/statusfields/SectionsField.js +20 -18
  556. package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
  557. package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts.map +1 -1
  558. package/lib/cjs/appui-react/statusfields/SelectionCount.js +3 -3
  559. package/lib/cjs/appui-react/statusfields/SelectionCount.js.map +1 -1
  560. package/lib/cjs/appui-react/statusfields/SelectionInfo.js +3 -3
  561. package/lib/cjs/appui-react/statusfields/SelectionInfo.js.map +1 -1
  562. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +2 -1
  563. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  564. package/lib/cjs/appui-react/statusfields/SelectionScope.js +8 -5
  565. package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
  566. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +2 -1
  567. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  568. package/lib/cjs/appui-react/statusfields/SnapMode.js +42 -13
  569. package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
  570. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  571. package/lib/cjs/appui-react/statusfields/ViewAttributes.js +17 -8
  572. package/lib/cjs/appui-react/statusfields/ViewAttributes.js.map +1 -1
  573. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  574. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js +12 -6
  575. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  576. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  577. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +69 -52
  578. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  579. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  580. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js +27 -14
  581. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  582. package/lib/cjs/appui-react/theme/ThemeManager.d.ts +1 -7
  583. package/lib/cjs/appui-react/theme/ThemeManager.d.ts.map +1 -1
  584. package/lib/cjs/appui-react/theme/ThemeManager.js +23 -23
  585. package/lib/cjs/appui-react/theme/ThemeManager.js.map +1 -1
  586. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.d.ts.map +1 -1
  587. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.js +3 -3
  588. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  589. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.d.ts.map +1 -1
  590. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.js +7 -5
  591. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
  592. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.d.ts.map +1 -1
  593. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js +19 -8
  594. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  595. package/lib/cjs/appui-react/toolbar/DragInteraction.js +4 -4
  596. package/lib/cjs/appui-react/toolbar/DragInteraction.js.map +1 -1
  597. package/lib/cjs/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  598. package/lib/cjs/appui-react/toolbar/GroupItem.js +10 -7
  599. package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
  600. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  601. package/lib/cjs/appui-react/toolbar/Toolbar.js +3 -3
  602. package/lib/cjs/appui-react/toolbar/Toolbar.js.map +1 -1
  603. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  604. package/lib/cjs/appui-react/toolbar/ToolbarComposer.js +46 -19
  605. package/lib/cjs/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  606. package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  607. package/lib/cjs/appui-react/toolbar/ToolbarHelper.js +2 -1
  608. package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  609. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  610. package/lib/cjs/appui-react/toolbar/ToolbarItem.js +3 -3
  611. package/lib/cjs/appui-react/toolbar/ToolbarItem.js.map +1 -1
  612. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
  613. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js +3 -3
  614. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
  615. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.d.ts.map +1 -1
  616. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.js +31 -16
  617. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
  618. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  619. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.js +3 -3
  620. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  621. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.d.ts.map +1 -1
  622. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.js +16 -4
  623. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.js.map +1 -1
  624. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.d.ts.map +1 -1
  625. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.js +3 -3
  626. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
  627. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  628. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js +5 -4
  629. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  630. package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts.map +1 -1
  631. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +63 -17
  632. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  633. package/lib/cjs/appui-react/tools/FrameworkToolAdmin.d.ts +2 -2
  634. package/lib/cjs/appui-react/tools/FrameworkToolAdmin.d.ts.map +1 -1
  635. package/lib/cjs/appui-react/tools/FrameworkToolAdmin.js +7 -6
  636. package/lib/cjs/appui-react/tools/FrameworkToolAdmin.js.map +1 -1
  637. package/lib/cjs/appui-react/tools/KeyinPaletteTools.d.ts.map +1 -1
  638. package/lib/cjs/appui-react/tools/KeyinPaletteTools.js +9 -5
  639. package/lib/cjs/appui-react/tools/KeyinPaletteTools.js.map +1 -1
  640. package/lib/cjs/appui-react/tools/OpenSettingsTool.d.ts.map +1 -1
  641. package/lib/cjs/appui-react/tools/OpenSettingsTool.js +9 -5
  642. package/lib/cjs/appui-react/tools/OpenSettingsTool.js.map +1 -1
  643. package/lib/cjs/appui-react/tools/RestoreLayoutTool.d.ts.map +1 -1
  644. package/lib/cjs/appui-react/tools/RestoreLayoutTool.js +9 -5
  645. package/lib/cjs/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  646. package/lib/cjs/appui-react/tools/ToolSettingsTools.d.ts.map +1 -1
  647. package/lib/cjs/appui-react/tools/ToolSettingsTools.js +6 -4
  648. package/lib/cjs/appui-react/tools/ToolSettingsTools.js.map +1 -1
  649. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  650. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js +8 -5
  651. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  652. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
  653. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js +33 -13
  654. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  655. package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
  656. package/lib/cjs/appui-react/toolsettings/ToolInformation.js +5 -4
  657. package/lib/cjs/appui-react/toolsettings/ToolInformation.js.map +1 -1
  658. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -1
  659. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js +27 -11
  660. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
  661. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts.map +1 -1
  662. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js +39 -15
  663. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  664. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  665. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js +18 -10
  666. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
  667. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js +3 -3
  668. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
  669. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  670. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js +3 -3
  671. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  672. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  673. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +35 -15
  674. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  675. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  676. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +3 -3
  677. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  678. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
  679. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +35 -15
  680. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  681. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +8 -8
  682. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  683. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +11 -11
  684. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  685. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  686. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +7 -5
  687. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  688. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  689. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +38 -18
  690. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  691. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
  692. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js +3 -3
  693. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
  694. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.d.ts.map +1 -1
  695. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.js +3 -3
  696. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.js.map +1 -1
  697. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts +8 -8
  698. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
  699. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js +36 -18
  700. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  701. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
  702. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js +46 -28
  703. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  704. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +3 -3
  705. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  706. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js +12 -11
  707. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  708. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.scss +22 -11
  709. package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  710. package/lib/cjs/appui-react/uistate/AppUiSettings.js +3 -3
  711. package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -1
  712. package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  713. package/lib/cjs/appui-react/uistate/useUiStateStorage.js +6 -4
  714. package/lib/cjs/appui-react/uistate/useUiStateStorage.js.map +1 -1
  715. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.d.ts.map +1 -1
  716. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js +15 -7
  717. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  718. package/lib/cjs/appui-react/utils/PropsHelper.d.ts +1 -1
  719. package/lib/cjs/appui-react/utils/PropsHelper.d.ts.map +1 -1
  720. package/lib/cjs/appui-react/utils/PropsHelper.js +8 -7
  721. package/lib/cjs/appui-react/utils/PropsHelper.js.map +1 -1
  722. package/lib/cjs/appui-react/utils/ToolbarButtonHelper.d.ts.map +1 -1
  723. package/lib/cjs/appui-react/utils/ToolbarButtonHelper.js +3 -3
  724. package/lib/cjs/appui-react/utils/ToolbarButtonHelper.js.map +1 -1
  725. package/lib/cjs/appui-react/utils/ViewUtilities.d.ts.map +1 -1
  726. package/lib/cjs/appui-react/utils/ViewUtilities.js +7 -5
  727. package/lib/cjs/appui-react/utils/ViewUtilities.js.map +1 -1
  728. package/lib/cjs/appui-react/widget-panels/Content.d.ts.map +1 -1
  729. package/lib/cjs/appui-react/widget-panels/Content.js +10 -5
  730. package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
  731. package/lib/cjs/appui-react/widget-panels/FloatingWidget.js +3 -3
  732. package/lib/cjs/appui-react/widget-panels/FloatingWidget.js.map +1 -1
  733. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +1 -1
  734. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  735. package/lib/cjs/appui-react/widget-panels/Frontstage.js +74 -33
  736. package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
  737. package/lib/cjs/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
  738. package/lib/cjs/appui-react/widget-panels/FrontstageContent.js +6 -4
  739. package/lib/cjs/appui-react/widget-panels/FrontstageContent.js.map +1 -1
  740. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts +1 -1
  741. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  742. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js +10 -7
  743. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
  744. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  745. package/lib/cjs/appui-react/widget-panels/StatusBar.js +6 -4
  746. package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
  747. package/lib/cjs/appui-react/widget-panels/StatusBar.scss +5 -5
  748. package/lib/cjs/appui-react/widget-panels/Tab.d.ts.map +1 -1
  749. package/lib/cjs/appui-react/widget-panels/Tab.js +4 -4
  750. package/lib/cjs/appui-react/widget-panels/Tab.js.map +1 -1
  751. package/lib/cjs/appui-react/widget-panels/ToolSettings.d.ts.map +1 -1
  752. package/lib/cjs/appui-react/widget-panels/ToolSettings.js +19 -15
  753. package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
  754. package/lib/cjs/appui-react/widget-panels/Toolbars.js +3 -3
  755. package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
  756. package/lib/cjs/appui-react/widget-panels/useTransientState.d.ts.map +1 -1
  757. package/lib/cjs/appui-react/widget-panels/useTransientState.js +3 -3
  758. package/lib/cjs/appui-react/widget-panels/useTransientState.js.map +1 -1
  759. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.d.ts.map +1 -1
  760. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js +6 -4
  761. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
  762. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  763. package/lib/cjs/appui-react/widgets/BackstageAppButton.js +9 -5
  764. package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
  765. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  766. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js +9 -4
  767. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  768. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  769. package/lib/cjs/appui-react/widgets/BasicToolWidget.js +10 -4
  770. package/lib/cjs/appui-react/widgets/BasicToolWidget.js.map +1 -1
  771. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.d.ts.map +1 -1
  772. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js +3 -3
  773. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
  774. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  775. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +22 -10
  776. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  777. package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts.map +1 -1
  778. package/lib/cjs/appui-react/widgets/StableWidgetDef.js +3 -3
  779. package/lib/cjs/appui-react/widgets/StableWidgetDef.js.map +1 -1
  780. package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.d.ts.map +1 -1
  781. package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.js +3 -3
  782. package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
  783. package/lib/cjs/appui-react/widgets/ToolSettingsContent.d.ts.map +1 -1
  784. package/lib/cjs/appui-react/widgets/ToolSettingsContent.js +3 -3
  785. package/lib/cjs/appui-react/widgets/ToolSettingsContent.js.map +1 -1
  786. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  787. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js +3 -3
  788. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  789. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.d.ts.map +1 -1
  790. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js +3 -3
  791. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
  792. package/lib/cjs/appui-react/widgets/Widget.d.ts.map +1 -1
  793. package/lib/cjs/appui-react/widgets/Widget.js +3 -3
  794. package/lib/cjs/appui-react/widgets/Widget.js.map +1 -1
  795. package/lib/cjs/appui-react/widgets/WidgetConfig.js +3 -3
  796. package/lib/cjs/appui-react/widgets/WidgetConfig.js.map +1 -1
  797. package/lib/cjs/appui-react/widgets/WidgetControl.d.ts.map +1 -1
  798. package/lib/cjs/appui-react/widgets/WidgetControl.js +20 -12
  799. package/lib/cjs/appui-react/widgets/WidgetControl.js.map +1 -1
  800. package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  801. package/lib/cjs/appui-react/widgets/WidgetDef.js +99 -36
  802. package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
  803. package/lib/cjs/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  804. package/lib/cjs/appui-react/widgets/WidgetHost.js +6 -5
  805. package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
  806. package/lib/cjs/appui-react/widgets/WidgetManager.d.ts.map +1 -1
  807. package/lib/cjs/appui-react/widgets/WidgetManager.js +23 -15
  808. package/lib/cjs/appui-react/widgets/WidgetManager.js.map +1 -1
  809. package/lib/cjs/appui-react/widgets/WidgetState.js +3 -3
  810. package/lib/cjs/appui-react/widgets/WidgetState.js.map +1 -1
  811. package/lib/cjs/appui-react.js +3 -3
  812. package/lib/cjs/appui-react.js.map +1 -1
  813. package/lib/esm/appui-react/UiFramework.d.ts +3 -3
  814. package/lib/esm/appui-react/UiFramework.d.ts.map +1 -1
  815. package/lib/esm/appui-react/UiFramework.js +85 -38
  816. package/lib/esm/appui-react/UiFramework.js.map +1 -1
  817. package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.d.ts.map +1 -1
  818. package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.js +3 -3
  819. package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.js.map +1 -1
  820. package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  821. package/lib/esm/appui-react/accudraw/AccuDrawDialog.js +5 -5
  822. package/lib/esm/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
  823. package/lib/esm/appui-react/accudraw/AccuDrawDialog.scss +6 -6
  824. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  825. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js +64 -31
  826. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
  827. package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts +1 -1
  828. package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
  829. package/lib/esm/appui-react/accudraw/AccuDrawInputField.js +3 -3
  830. package/lib/esm/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
  831. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.js +3 -3
  832. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
  833. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
  834. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js +11 -5
  835. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  836. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.js +3 -3
  837. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
  838. package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  839. package/lib/esm/appui-react/accudraw/AccuDrawWidget.js +3 -3
  840. package/lib/esm/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  841. package/lib/esm/appui-react/accudraw/Calculator.d.ts.map +1 -1
  842. package/lib/esm/appui-react/accudraw/Calculator.js +7 -9
  843. package/lib/esm/appui-react/accudraw/Calculator.js.map +1 -1
  844. package/lib/esm/appui-react/accudraw/Calculator.scss +4 -5
  845. package/lib/esm/appui-react/accudraw/CalculatorEngine.d.ts.map +1 -1
  846. package/lib/esm/appui-react/accudraw/CalculatorEngine.js +19 -12
  847. package/lib/esm/appui-react/accudraw/CalculatorEngine.js.map +1 -1
  848. package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
  849. package/lib/esm/appui-react/accudraw/CalculatorPopup.js +3 -3
  850. package/lib/esm/appui-react/accudraw/CalculatorPopup.js.map +1 -1
  851. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
  852. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js +30 -12
  853. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  854. package/lib/esm/appui-react/accudraw/MenuButton.d.ts.map +1 -1
  855. package/lib/esm/appui-react/accudraw/MenuButton.js +7 -5
  856. package/lib/esm/appui-react/accudraw/MenuButton.js.map +1 -1
  857. package/lib/esm/appui-react/accudraw/MenuButton.scss +6 -7
  858. package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts.map +1 -1
  859. package/lib/esm/appui-react/accudraw/MenuButtonPopup.js +3 -3
  860. package/lib/esm/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
  861. package/lib/esm/appui-react/accudraw/SquareButton.d.ts +2 -1
  862. package/lib/esm/appui-react/accudraw/SquareButton.d.ts.map +1 -1
  863. package/lib/esm/appui-react/accudraw/SquareButton.js +3 -3
  864. package/lib/esm/appui-react/accudraw/SquareButton.js.map +1 -1
  865. package/lib/esm/appui-react/accudraw/SquareButton.scss +4 -4
  866. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  867. package/lib/esm/appui-react/backstage/BackstageComposer.js +10 -21
  868. package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
  869. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts +2 -2
  870. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  871. package/lib/esm/appui-react/backstage/BackstageComposerItem.js +8 -8
  872. package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  873. package/lib/esm/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  874. package/lib/esm/appui-react/backstage/BackstageItem.js +3 -3
  875. package/lib/esm/appui-react/backstage/BackstageItem.js.map +1 -1
  876. package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
  877. package/lib/esm/appui-react/backstage/BackstageItemUtilities.js +3 -3
  878. package/lib/esm/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
  879. package/lib/esm/appui-react/backstage/BackstageItemsManager.d.ts.map +1 -1
  880. package/lib/esm/appui-react/backstage/BackstageItemsManager.js +12 -13
  881. package/lib/esm/appui-react/backstage/BackstageItemsManager.js.map +1 -1
  882. package/lib/esm/appui-react/backstage/BackstageManager.d.ts +1 -1
  883. package/lib/esm/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  884. package/lib/esm/appui-react/backstage/BackstageManager.js +7 -5
  885. package/lib/esm/appui-react/backstage/BackstageManager.js.map +1 -1
  886. package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
  887. package/lib/esm/appui-react/backstage/InternalBackstageManager.js +3 -3
  888. package/lib/esm/appui-react/backstage/InternalBackstageManager.js.map +1 -1
  889. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.d.ts.map +1 -1
  890. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js +3 -3
  891. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  892. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  893. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js +3 -3
  894. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  895. package/lib/esm/appui-react/childwindow/CopyStyles.d.ts.map +1 -1
  896. package/lib/esm/appui-react/childwindow/CopyStyles.js +3 -3
  897. package/lib/esm/appui-react/childwindow/CopyStyles.js.map +1 -1
  898. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  899. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +11 -22
  900. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  901. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts +1 -1
  902. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  903. package/lib/esm/appui-react/childwindow/PopoutWidget.js +4 -4
  904. package/lib/esm/appui-react/childwindow/PopoutWidget.js.map +1 -1
  905. package/lib/esm/appui-react/childwindow/PopoutWidget.scss +4 -4
  906. package/lib/esm/appui-react/configurableui/ActivityTracker.d.ts.map +1 -1
  907. package/lib/esm/appui-react/configurableui/ActivityTracker.js +6 -4
  908. package/lib/esm/appui-react/configurableui/ActivityTracker.js.map +1 -1
  909. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  910. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js +7 -4
  911. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  912. package/lib/esm/appui-react/configurableui/ConfigurableUiControl.d.ts.map +1 -1
  913. package/lib/esm/appui-react/configurableui/ConfigurableUiControl.js +26 -11
  914. package/lib/esm/appui-react/configurableui/ConfigurableUiControl.js.map +1 -1
  915. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
  916. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
  917. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +4 -4
  918. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  919. package/lib/esm/appui-react/configurableui/TimeTracker.d.ts.map +1 -1
  920. package/lib/esm/appui-react/configurableui/TimeTracker.js +6 -4
  921. package/lib/esm/appui-react/configurableui/TimeTracker.js.map +1 -1
  922. package/lib/esm/appui-react/configurableui/state.d.ts.map +1 -1
  923. package/lib/esm/appui-react/configurableui/state.js +4 -4
  924. package/lib/esm/appui-react/configurableui/state.js.map +1 -1
  925. package/lib/esm/appui-react/content/ContentControl.d.ts.map +1 -1
  926. package/lib/esm/appui-react/content/ContentControl.js +18 -12
  927. package/lib/esm/appui-react/content/ContentControl.js.map +1 -1
  928. package/lib/esm/appui-react/content/ContentGroup.d.ts.map +1 -1
  929. package/lib/esm/appui-react/content/ContentGroup.js +8 -6
  930. package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
  931. package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
  932. package/lib/esm/appui-react/content/ContentLayout.js +32 -27
  933. package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
  934. package/lib/esm/appui-react/content/ContentLayout.scss +10 -10
  935. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts +1 -1
  936. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  937. package/lib/esm/appui-react/content/DefaultViewOverlay.js +11 -8
  938. package/lib/esm/appui-react/content/DefaultViewOverlay.js.map +1 -1
  939. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +1 -1
  940. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  941. package/lib/esm/appui-react/content/FloatingViewportContent.js +8 -6
  942. package/lib/esm/appui-react/content/FloatingViewportContent.js.map +1 -1
  943. package/lib/esm/appui-react/content/IModelViewport.d.ts +1 -1
  944. package/lib/esm/appui-react/content/IModelViewport.d.ts.map +1 -1
  945. package/lib/esm/appui-react/content/IModelViewport.js +23 -16
  946. package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
  947. package/lib/esm/appui-react/content/InternalContentLayoutManager.d.ts.map +1 -1
  948. package/lib/esm/appui-react/content/InternalContentLayoutManager.js +16 -7
  949. package/lib/esm/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  950. package/lib/esm/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
  951. package/lib/esm/appui-react/content/InternalContentViewManager.js +22 -16
  952. package/lib/esm/appui-react/content/InternalContentViewManager.js.map +1 -1
  953. package/lib/esm/appui-react/content/StageContentLayout.d.ts.map +1 -1
  954. package/lib/esm/appui-react/content/StageContentLayout.js +7 -4
  955. package/lib/esm/appui-react/content/StageContentLayout.js.map +1 -1
  956. package/lib/esm/appui-react/content/ViewStateHelper.d.ts.map +1 -1
  957. package/lib/esm/appui-react/content/ViewStateHelper.js +5 -5
  958. package/lib/esm/appui-react/content/ViewStateHelper.js.map +1 -1
  959. package/lib/esm/appui-react/content/ViewportContentControl.d.ts.map +1 -1
  960. package/lib/esm/appui-react/content/ViewportContentControl.js +24 -11
  961. package/lib/esm/appui-react/content/ViewportContentControl.js.map +1 -1
  962. package/lib/esm/appui-react/content/split-pane/Pane.d.ts.map +1 -1
  963. package/lib/esm/appui-react/content/split-pane/Pane.js +4 -4
  964. package/lib/esm/appui-react/content/split-pane/Pane.js.map +1 -1
  965. package/lib/esm/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  966. package/lib/esm/appui-react/content/split-pane/Resizer.js +3 -3
  967. package/lib/esm/appui-react/content/split-pane/Resizer.js.map +1 -1
  968. package/lib/esm/appui-react/content/split-pane/SplitPane.d.ts.map +1 -1
  969. package/lib/esm/appui-react/content/split-pane/SplitPane.js +28 -22
  970. package/lib/esm/appui-react/content/split-pane/SplitPane.js.map +1 -1
  971. package/lib/esm/appui-react/cursor/CursorInformation.d.ts.map +1 -1
  972. package/lib/esm/appui-react/cursor/CursorInformation.js +18 -8
  973. package/lib/esm/appui-react/cursor/CursorInformation.js.map +1 -1
  974. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
  975. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js +13 -7
  976. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  977. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  978. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js +10 -10
  979. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  980. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.scss +3 -4
  981. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
  982. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js +21 -9
  983. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  984. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
  985. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js +5 -5
  986. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
  987. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.scss +6 -6
  988. package/lib/esm/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  989. package/lib/esm/appui-react/dialog/ContentDialog.js +13 -7
  990. package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -1
  991. package/lib/esm/appui-react/dialog/ContentDialog.scss +4 -4
  992. package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
  993. package/lib/esm/appui-react/dialog/ContentDialogManager.js +3 -3
  994. package/lib/esm/appui-react/dialog/ContentDialogManager.js.map +1 -1
  995. package/lib/esm/appui-react/dialog/DialogManagerBase.d.ts.map +1 -1
  996. package/lib/esm/appui-react/dialog/DialogManagerBase.js +21 -9
  997. package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
  998. package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts +1 -1
  999. package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
  1000. package/lib/esm/appui-react/dialog/InternalContentDialogManager.js +23 -10
  1001. package/lib/esm/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  1002. package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
  1003. package/lib/esm/appui-react/dialog/InternalModalDialogManager.js +6 -4
  1004. package/lib/esm/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  1005. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts +1 -1
  1006. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
  1007. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js +19 -9
  1008. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  1009. package/lib/esm/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
  1010. package/lib/esm/appui-react/dialog/ModalDialogManager.js +3 -3
  1011. package/lib/esm/appui-react/dialog/ModalDialogManager.js.map +1 -1
  1012. package/lib/esm/appui-react/dialog/ModelessDialog.d.ts +1 -1
  1013. package/lib/esm/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
  1014. package/lib/esm/appui-react/dialog/ModelessDialog.js +8 -5
  1015. package/lib/esm/appui-react/dialog/ModelessDialog.js.map +1 -1
  1016. package/lib/esm/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
  1017. package/lib/esm/appui-react/dialog/ModelessDialogManager.js +3 -3
  1018. package/lib/esm/appui-react/dialog/ModelessDialogManager.js.map +1 -1
  1019. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts +1 -1
  1020. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  1021. package/lib/esm/appui-react/dialog/StandardMessageBox.js +40 -10
  1022. package/lib/esm/appui-react/dialog/StandardMessageBox.js.map +1 -1
  1023. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  1024. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js +3 -3
  1025. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  1026. package/lib/esm/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  1027. package/lib/esm/appui-react/feedback/ElementTooltip.js +33 -12
  1028. package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
  1029. package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  1030. package/lib/esm/appui-react/feedback/ValidationTextbox.js +6 -4
  1031. package/lib/esm/appui-react/feedback/ValidationTextbox.js.map +1 -1
  1032. package/lib/esm/appui-react/framework/FrameworkBackstage.js +3 -3
  1033. package/lib/esm/appui-react/framework/FrameworkBackstage.js.map +1 -1
  1034. package/lib/esm/appui-react/framework/FrameworkChildWindows.d.ts.map +1 -1
  1035. package/lib/esm/appui-react/framework/FrameworkChildWindows.js +3 -3
  1036. package/lib/esm/appui-react/framework/FrameworkChildWindows.js.map +1 -1
  1037. package/lib/esm/appui-react/framework/FrameworkContent.d.ts.map +1 -1
  1038. package/lib/esm/appui-react/framework/FrameworkContent.js +3 -3
  1039. package/lib/esm/appui-react/framework/FrameworkContent.js.map +1 -1
  1040. package/lib/esm/appui-react/framework/FrameworkControls.d.ts.map +1 -1
  1041. package/lib/esm/appui-react/framework/FrameworkControls.js.map +1 -1
  1042. package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
  1043. package/lib/esm/appui-react/framework/FrameworkDialogs.js.map +1 -1
  1044. package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
  1045. package/lib/esm/appui-react/framework/FrameworkFrontstages.js +3 -3
  1046. package/lib/esm/appui-react/framework/FrameworkFrontstages.js.map +1 -1
  1047. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
  1048. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
  1049. package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
  1050. package/lib/esm/appui-react/framework/FrameworkToolSettings.js.map +1 -1
  1051. package/lib/esm/appui-react/framework/FrameworkVisibility.d.ts.map +1 -1
  1052. package/lib/esm/appui-react/framework/FrameworkVisibility.js.map +1 -1
  1053. package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
  1054. package/lib/esm/appui-react/frontstage/FrontstageConfig.js +3 -3
  1055. package/lib/esm/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  1056. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  1057. package/lib/esm/appui-react/frontstage/FrontstageDef.js +118 -42
  1058. package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
  1059. package/lib/esm/appui-react/frontstage/FrontstageProvider.js +3 -3
  1060. package/lib/esm/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  1061. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts +1 -1
  1062. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
  1063. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js +54 -22
  1064. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  1065. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  1066. package/lib/esm/appui-react/frontstage/ModalFrontstage.js +4 -5
  1067. package/lib/esm/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  1068. package/lib/esm/appui-react/frontstage/ModalFrontstage.scss +4 -4
  1069. package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  1070. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js +16 -13
  1071. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  1072. package/lib/esm/appui-react/frontstage/ModalSettingsStage.scss +4 -4
  1073. package/lib/esm/appui-react/frontstage/NestedFrontstage.d.ts.map +1 -1
  1074. package/lib/esm/appui-react/frontstage/NestedFrontstage.js +3 -3
  1075. package/lib/esm/appui-react/frontstage/NestedFrontstage.js.map +1 -1
  1076. package/lib/esm/appui-react/frontstage/StageUsage.js +3 -3
  1077. package/lib/esm/appui-react/frontstage/StageUsage.js.map +1 -1
  1078. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  1079. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +19 -13
  1080. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  1081. package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
  1082. package/lib/esm/appui-react/hooks/useActiveIModelConnection.js +3 -3
  1083. package/lib/esm/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
  1084. package/lib/esm/appui-react/hooks/useActiveStageId.d.ts.map +1 -1
  1085. package/lib/esm/appui-react/hooks/useActiveStageId.js +3 -3
  1086. package/lib/esm/appui-react/hooks/useActiveStageId.js.map +1 -1
  1087. package/lib/esm/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
  1088. package/lib/esm/appui-react/hooks/useActiveViewport.js +9 -5
  1089. package/lib/esm/appui-react/hooks/useActiveViewport.js.map +1 -1
  1090. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts.map +1 -1
  1091. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
  1092. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  1093. package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.d.ts.map +1 -1
  1094. package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.js +3 -3
  1095. package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.js.map +1 -1
  1096. package/lib/esm/appui-react/hooks/useEscapeSetFocusToHome.js +3 -3
  1097. package/lib/esm/appui-react/hooks/useEscapeSetFocusToHome.js.map +1 -1
  1098. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.d.ts.map +1 -1
  1099. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
  1100. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  1101. package/lib/esm/appui-react/hooks/useSolarDataProvider.d.ts.map +1 -1
  1102. package/lib/esm/appui-react/hooks/useSolarDataProvider.js +19 -10
  1103. package/lib/esm/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  1104. package/lib/esm/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
  1105. package/lib/esm/appui-react/hooks/useUiVisibility.js +4 -4
  1106. package/lib/esm/appui-react/hooks/useUiVisibility.js.map +1 -1
  1107. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
  1108. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
  1109. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js +11 -7
  1110. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  1111. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
  1112. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js +24 -10
  1113. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
  1114. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
  1115. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +8 -5
  1116. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  1117. package/lib/esm/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  1118. package/lib/esm/appui-react/messages/ActivityMessage.js +24 -12
  1119. package/lib/esm/appui-react/messages/ActivityMessage.js.map +1 -1
  1120. package/lib/esm/appui-react/messages/AppNotificationManager.d.ts.map +1 -1
  1121. package/lib/esm/appui-react/messages/AppNotificationManager.js +12 -6
  1122. package/lib/esm/appui-react/messages/AppNotificationManager.js.map +1 -1
  1123. package/lib/esm/appui-react/messages/HollowIcon.js +3 -3
  1124. package/lib/esm/appui-react/messages/HollowIcon.js.map +1 -1
  1125. package/lib/esm/appui-react/messages/InputField.d.ts.map +1 -1
  1126. package/lib/esm/appui-react/messages/InputField.js +14 -16
  1127. package/lib/esm/appui-react/messages/InputField.js.map +1 -1
  1128. package/lib/esm/appui-react/messages/InputField.scss +5 -6
  1129. package/lib/esm/appui-react/messages/MessageLabel.d.ts.map +1 -1
  1130. package/lib/esm/appui-react/messages/MessageLabel.js +3 -3
  1131. package/lib/esm/appui-react/messages/MessageLabel.js.map +1 -1
  1132. package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
  1133. package/lib/esm/appui-react/messages/MessageManager.js +34 -17
  1134. package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
  1135. package/lib/esm/appui-react/messages/MessageSpan.d.ts.map +1 -1
  1136. package/lib/esm/appui-react/messages/MessageSpan.js +3 -3
  1137. package/lib/esm/appui-react/messages/MessageSpan.js.map +1 -1
  1138. package/lib/esm/appui-react/messages/Pointer.d.ts.map +1 -1
  1139. package/lib/esm/appui-react/messages/Pointer.js +11 -11
  1140. package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
  1141. package/lib/esm/appui-react/messages/Pointer.scss +4 -4
  1142. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  1143. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.js +25 -11
  1144. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  1145. package/lib/esm/appui-react/messages/StatusMessageManager.d.ts.map +1 -1
  1146. package/lib/esm/appui-react/messages/StatusMessageManager.js +6 -4
  1147. package/lib/esm/appui-react/messages/StatusMessageManager.js.map +1 -1
  1148. package/lib/esm/appui-react/messages/getToastCategory.js +3 -3
  1149. package/lib/esm/appui-react/messages/getToastCategory.js.map +1 -1
  1150. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  1151. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js +7 -5
  1152. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  1153. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  1154. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js +7 -5
  1155. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  1156. package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
  1157. package/lib/esm/appui-react/navigationaids/NavigationAidControl.js +16 -8
  1158. package/lib/esm/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
  1159. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  1160. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js +39 -17
  1161. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  1162. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
  1163. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js +21 -10
  1164. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  1165. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.scss +4 -4
  1166. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  1167. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js +20 -13
  1168. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  1169. package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
  1170. package/lib/esm/appui-react/pickers/ListPicker.js +78 -32
  1171. package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
  1172. package/lib/esm/appui-react/pickers/ListPicker.scss +4 -4
  1173. package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  1174. package/lib/esm/appui-react/pickers/ViewSelector.js +34 -15
  1175. package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
  1176. package/lib/esm/appui-react/popup/CardPopup.d.ts.map +1 -1
  1177. package/lib/esm/appui-react/popup/CardPopup.js +12 -14
  1178. package/lib/esm/appui-react/popup/CardPopup.js.map +1 -1
  1179. package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
  1180. package/lib/esm/appui-react/popup/HTMLElementPopup.js +3 -3
  1181. package/lib/esm/appui-react/popup/HTMLElementPopup.js.map +1 -1
  1182. package/lib/esm/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
  1183. package/lib/esm/appui-react/popup/InputEditorPopup.js +5 -4
  1184. package/lib/esm/appui-react/popup/InputEditorPopup.js.map +1 -1
  1185. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts +1 -1
  1186. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  1187. package/lib/esm/appui-react/popup/KeyinPalettePanel.js +23 -22
  1188. package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  1189. package/lib/esm/appui-react/popup/KeyinPalettePanel.scss +4 -4
  1190. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts +1 -1
  1191. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  1192. package/lib/esm/appui-react/popup/KeyinPalettePopup.js +5 -5
  1193. package/lib/esm/appui-react/popup/KeyinPalettePopup.js.map +1 -1
  1194. package/lib/esm/appui-react/popup/PopupManager.d.ts.map +1 -1
  1195. package/lib/esm/appui-react/popup/PopupManager.js +45 -19
  1196. package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
  1197. package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
  1198. package/lib/esm/appui-react/popup/PositionPopup.js +4 -4
  1199. package/lib/esm/appui-react/popup/PositionPopup.js.map +1 -1
  1200. package/lib/esm/appui-react/popup/PositionPopup.scss +3 -4
  1201. package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
  1202. package/lib/esm/appui-react/popup/ToolSettingsPopup.js +4 -5
  1203. package/lib/esm/appui-react/popup/ToolSettingsPopup.js.map +1 -1
  1204. package/lib/esm/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
  1205. package/lib/esm/appui-react/popup/ToolbarPopup.js +4 -4
  1206. package/lib/esm/appui-react/popup/ToolbarPopup.js.map +1 -1
  1207. package/lib/esm/appui-react/redux/FrameworkState.d.ts.map +1 -1
  1208. package/lib/esm/appui-react/redux/FrameworkState.js +3 -3
  1209. package/lib/esm/appui-react/redux/FrameworkState.js.map +1 -1
  1210. package/lib/esm/appui-react/redux/ReducerRegistry.d.ts.map +1 -1
  1211. package/lib/esm/appui-react/redux/ReducerRegistry.js +3 -4
  1212. package/lib/esm/appui-react/redux/ReducerRegistry.js.map +1 -1
  1213. package/lib/esm/appui-react/redux/SessionState.d.ts +9 -9
  1214. package/lib/esm/appui-react/redux/SessionState.d.ts.map +1 -1
  1215. package/lib/esm/appui-react/redux/SessionState.js +7 -4
  1216. package/lib/esm/appui-react/redux/SessionState.js.map +1 -1
  1217. package/lib/esm/appui-react/redux/StateManager.d.ts.map +1 -1
  1218. package/lib/esm/appui-react/redux/StateManager.js +10 -6
  1219. package/lib/esm/appui-react/redux/StateManager.js.map +1 -1
  1220. package/lib/esm/appui-react/redux/connectIModel.d.ts +1 -1
  1221. package/lib/esm/appui-react/redux/connectIModel.d.ts.map +1 -1
  1222. package/lib/esm/appui-react/redux/connectIModel.js +4 -4
  1223. package/lib/esm/appui-react/redux/connectIModel.js.map +1 -1
  1224. package/lib/esm/appui-react/redux/redux-ts.d.ts +3 -3
  1225. package/lib/esm/appui-react/redux/redux-ts.d.ts.map +1 -1
  1226. package/lib/esm/appui-react/redux/redux-ts.js +6 -4
  1227. package/lib/esm/appui-react/redux/redux-ts.js.map +1 -1
  1228. package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  1229. package/lib/esm/appui-react/safearea/SafeAreaContext.js +3 -3
  1230. package/lib/esm/appui-react/safearea/SafeAreaContext.js.map +1 -1
  1231. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -1
  1232. package/lib/esm/appui-react/safearea/SafeAreaHelpers.js +3 -3
  1233. package/lib/esm/appui-react/safearea/SafeAreaHelpers.js.map +1 -1
  1234. package/lib/esm/appui-react/safearea/SafeAreaInsets.d.ts.map +1 -1
  1235. package/lib/esm/appui-react/safearea/SafeAreaInsets.js +3 -3
  1236. package/lib/esm/appui-react/safearea/SafeAreaInsets.js.map +1 -1
  1237. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts +2 -2
  1238. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  1239. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js +103 -40
  1240. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  1241. package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  1242. package/lib/esm/appui-react/selection/SelectionContextItemDef.js +42 -14
  1243. package/lib/esm/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  1244. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts +1 -1
  1245. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  1246. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js +33 -27
  1247. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  1248. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  1249. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js +9 -5
  1250. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
  1251. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  1252. package/lib/esm/appui-react/settings/ui/UiSettingsPage.js +38 -15
  1253. package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  1254. package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  1255. package/lib/esm/appui-react/shared/ActionButtonItemDef.js +7 -4
  1256. package/lib/esm/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  1257. package/lib/esm/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  1258. package/lib/esm/appui-react/shared/AnyItemDef.js +3 -3
  1259. package/lib/esm/appui-react/shared/AnyItemDef.js.map +1 -1
  1260. package/lib/esm/appui-react/shared/AnyToolbarItemDef.js +3 -3
  1261. package/lib/esm/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
  1262. package/lib/esm/appui-react/shared/CommandItemDef.d.ts.map +1 -1
  1263. package/lib/esm/appui-react/shared/CommandItemDef.js +8 -4
  1264. package/lib/esm/appui-react/shared/CommandItemDef.js.map +1 -1
  1265. package/lib/esm/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  1266. package/lib/esm/appui-react/shared/CustomItemDef.js +3 -3
  1267. package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
  1268. package/lib/esm/appui-react/shared/CustomItemProps.js +3 -3
  1269. package/lib/esm/appui-react/shared/CustomItemProps.js.map +1 -1
  1270. package/lib/esm/appui-react/shared/GroupItemProps.js +3 -3
  1271. package/lib/esm/appui-react/shared/GroupItemProps.js.map +1 -1
  1272. package/lib/esm/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  1273. package/lib/esm/appui-react/shared/ItemDefBase.js +15 -8
  1274. package/lib/esm/appui-react/shared/ItemDefBase.js.map +1 -1
  1275. package/lib/esm/appui-react/shared/ItemMap.d.ts.map +1 -1
  1276. package/lib/esm/appui-react/shared/ItemMap.js +3 -3
  1277. package/lib/esm/appui-react/shared/ItemMap.js.map +1 -1
  1278. package/lib/esm/appui-react/shared/ItemProps.d.ts.map +1 -1
  1279. package/lib/esm/appui-react/shared/ItemProps.js +3 -3
  1280. package/lib/esm/appui-react/shared/ItemProps.js.map +1 -1
  1281. package/lib/esm/appui-react/shared/MenuItem.d.ts.map +1 -1
  1282. package/lib/esm/appui-react/shared/MenuItem.js +6 -4
  1283. package/lib/esm/appui-react/shared/MenuItem.js.map +1 -1
  1284. package/lib/esm/appui-react/shared/SelectionScope.js +3 -3
  1285. package/lib/esm/appui-react/shared/SelectionScope.js.map +1 -1
  1286. package/lib/esm/appui-react/shared/ToolItemDef.d.ts.map +1 -1
  1287. package/lib/esm/appui-react/shared/ToolItemDef.js +13 -5
  1288. package/lib/esm/appui-react/shared/ToolItemDef.js.map +1 -1
  1289. package/lib/esm/appui-react/stagepanels/StagePanelConfig.js +3 -3
  1290. package/lib/esm/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  1291. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  1292. package/lib/esm/appui-react/stagepanels/StagePanelDef.js +30 -11
  1293. package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  1294. package/lib/esm/appui-react/stagepanels/StagePanelLocation.js +3 -3
  1295. package/lib/esm/appui-react/stagepanels/StagePanelLocation.js.map +1 -1
  1296. package/lib/esm/appui-react/stagepanels/StagePanelSection.js +3 -3
  1297. package/lib/esm/appui-react/stagepanels/StagePanelSection.js.map +1 -1
  1298. package/lib/esm/appui-react/statusbar/Field.d.ts.map +1 -1
  1299. package/lib/esm/appui-react/statusbar/Field.js +3 -3
  1300. package/lib/esm/appui-react/statusbar/Field.js.map +1 -1
  1301. package/lib/esm/appui-react/statusbar/Field.scss +8 -8
  1302. package/lib/esm/appui-react/statusbar/Indicator.d.ts.map +1 -1
  1303. package/lib/esm/appui-react/statusbar/Indicator.js +4 -4
  1304. package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
  1305. package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  1306. package/lib/esm/appui-react/statusbar/LabelIndicator.js +5 -5
  1307. package/lib/esm/appui-react/statusbar/LabelIndicator.js.map +1 -1
  1308. package/lib/esm/appui-react/statusbar/LabelIndicator.scss +5 -5
  1309. package/lib/esm/appui-react/statusbar/Overflow.d.ts.map +1 -1
  1310. package/lib/esm/appui-react/statusbar/Overflow.js +3 -3
  1311. package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
  1312. package/lib/esm/appui-react/statusbar/Overflow.scss +4 -4
  1313. package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  1314. package/lib/esm/appui-react/statusbar/OverflowPanel.js +3 -3
  1315. package/lib/esm/appui-react/statusbar/OverflowPanel.js.map +1 -1
  1316. package/lib/esm/appui-react/statusbar/OverflowPanel.scss +5 -5
  1317. package/lib/esm/appui-react/statusbar/Popup.d.ts.map +1 -1
  1318. package/lib/esm/appui-react/statusbar/Popup.js +4 -4
  1319. package/lib/esm/appui-react/statusbar/Popup.js.map +1 -1
  1320. package/lib/esm/appui-react/statusbar/Separator.d.ts.map +1 -1
  1321. package/lib/esm/appui-react/statusbar/Separator.js +4 -4
  1322. package/lib/esm/appui-react/statusbar/Separator.js.map +1 -1
  1323. package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  1324. package/lib/esm/appui-react/statusbar/StatusBar.js +7 -7
  1325. package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
  1326. package/lib/esm/appui-react/statusbar/StatusBar.scss +4 -4
  1327. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  1328. package/lib/esm/appui-react/statusbar/StatusBarComposer.js +25 -20
  1329. package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  1330. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  1331. package/lib/esm/appui-react/statusbar/StatusBarItem.js +3 -3
  1332. package/lib/esm/appui-react/statusbar/StatusBarItem.js.map +1 -1
  1333. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  1334. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js +3 -3
  1335. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  1336. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  1337. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js +12 -13
  1338. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  1339. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  1340. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js +6 -4
  1341. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  1342. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts +2 -2
  1343. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  1344. package/lib/esm/appui-react/statusbar/dialog/Button.js +6 -6
  1345. package/lib/esm/appui-react/statusbar/dialog/Button.js.map +1 -1
  1346. package/lib/esm/appui-react/statusbar/dialog/Dialog.js +3 -3
  1347. package/lib/esm/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  1348. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts +2 -2
  1349. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  1350. package/lib/esm/appui-react/statusbar/dialog/TitleBar.js +5 -5
  1351. package/lib/esm/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  1352. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.d.ts.map +1 -1
  1353. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.js +3 -3
  1354. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  1355. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  1356. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +5 -4
  1357. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  1358. package/lib/esm/appui-react/statusfields/ActivityCenter.js +3 -3
  1359. package/lib/esm/appui-react/statusfields/ActivityCenter.js.map +1 -1
  1360. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  1361. package/lib/esm/appui-react/statusfields/MessageCenter.js +15 -12
  1362. package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
  1363. package/lib/esm/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  1364. package/lib/esm/appui-react/statusfields/SectionsField.js +21 -19
  1365. package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
  1366. package/lib/esm/appui-react/statusfields/SelectionCount.d.ts.map +1 -1
  1367. package/lib/esm/appui-react/statusfields/SelectionCount.js +3 -3
  1368. package/lib/esm/appui-react/statusfields/SelectionCount.js.map +1 -1
  1369. package/lib/esm/appui-react/statusfields/SelectionInfo.js +3 -3
  1370. package/lib/esm/appui-react/statusfields/SelectionInfo.js.map +1 -1
  1371. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +2 -1
  1372. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  1373. package/lib/esm/appui-react/statusfields/SelectionScope.js +8 -5
  1374. package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
  1375. package/lib/esm/appui-react/statusfields/SnapMode.d.ts +2 -1
  1376. package/lib/esm/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  1377. package/lib/esm/appui-react/statusfields/SnapMode.js +42 -13
  1378. package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
  1379. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  1380. package/lib/esm/appui-react/statusfields/ViewAttributes.js +17 -8
  1381. package/lib/esm/appui-react/statusfields/ViewAttributes.js.map +1 -1
  1382. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  1383. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js +12 -6
  1384. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  1385. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  1386. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +69 -52
  1387. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  1388. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  1389. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js +27 -14
  1390. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  1391. package/lib/esm/appui-react/theme/ThemeManager.d.ts +1 -7
  1392. package/lib/esm/appui-react/theme/ThemeManager.d.ts.map +1 -1
  1393. package/lib/esm/appui-react/theme/ThemeManager.js +23 -23
  1394. package/lib/esm/appui-react/theme/ThemeManager.js.map +1 -1
  1395. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.d.ts.map +1 -1
  1396. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.js +3 -3
  1397. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  1398. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.d.ts.map +1 -1
  1399. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.js +7 -5
  1400. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
  1401. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.d.ts.map +1 -1
  1402. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js +20 -9
  1403. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  1404. package/lib/esm/appui-react/toolbar/DragInteraction.js +4 -4
  1405. package/lib/esm/appui-react/toolbar/DragInteraction.js.map +1 -1
  1406. package/lib/esm/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  1407. package/lib/esm/appui-react/toolbar/GroupItem.js +10 -7
  1408. package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
  1409. package/lib/esm/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  1410. package/lib/esm/appui-react/toolbar/Toolbar.js +3 -3
  1411. package/lib/esm/appui-react/toolbar/Toolbar.js.map +1 -1
  1412. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  1413. package/lib/esm/appui-react/toolbar/ToolbarComposer.js +48 -21
  1414. package/lib/esm/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  1415. package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  1416. package/lib/esm/appui-react/toolbar/ToolbarHelper.js +3 -2
  1417. package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  1418. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  1419. package/lib/esm/appui-react/toolbar/ToolbarItem.js +3 -3
  1420. package/lib/esm/appui-react/toolbar/ToolbarItem.js.map +1 -1
  1421. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
  1422. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js +3 -3
  1423. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
  1424. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.d.ts.map +1 -1
  1425. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.js +32 -17
  1426. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
  1427. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  1428. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.js +3 -3
  1429. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  1430. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.d.ts.map +1 -1
  1431. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.js +17 -5
  1432. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.js.map +1 -1
  1433. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.d.ts.map +1 -1
  1434. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.js +3 -3
  1435. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
  1436. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  1437. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js +5 -4
  1438. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  1439. package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts.map +1 -1
  1440. package/lib/esm/appui-react/tools/CoreToolDefinitions.js +64 -18
  1441. package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  1442. package/lib/esm/appui-react/tools/FrameworkToolAdmin.d.ts +2 -2
  1443. package/lib/esm/appui-react/tools/FrameworkToolAdmin.d.ts.map +1 -1
  1444. package/lib/esm/appui-react/tools/FrameworkToolAdmin.js +7 -6
  1445. package/lib/esm/appui-react/tools/FrameworkToolAdmin.js.map +1 -1
  1446. package/lib/esm/appui-react/tools/KeyinPaletteTools.d.ts.map +1 -1
  1447. package/lib/esm/appui-react/tools/KeyinPaletteTools.js +9 -5
  1448. package/lib/esm/appui-react/tools/KeyinPaletteTools.js.map +1 -1
  1449. package/lib/esm/appui-react/tools/OpenSettingsTool.d.ts.map +1 -1
  1450. package/lib/esm/appui-react/tools/OpenSettingsTool.js +9 -5
  1451. package/lib/esm/appui-react/tools/OpenSettingsTool.js.map +1 -1
  1452. package/lib/esm/appui-react/tools/RestoreLayoutTool.d.ts.map +1 -1
  1453. package/lib/esm/appui-react/tools/RestoreLayoutTool.js +10 -6
  1454. package/lib/esm/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  1455. package/lib/esm/appui-react/tools/ToolSettingsTools.d.ts.map +1 -1
  1456. package/lib/esm/appui-react/tools/ToolSettingsTools.js +6 -4
  1457. package/lib/esm/appui-react/tools/ToolSettingsTools.js.map +1 -1
  1458. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  1459. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js +8 -5
  1460. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  1461. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
  1462. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js +33 -13
  1463. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  1464. package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
  1465. package/lib/esm/appui-react/toolsettings/ToolInformation.js +5 -4
  1466. package/lib/esm/appui-react/toolsettings/ToolInformation.js.map +1 -1
  1467. package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -1
  1468. package/lib/esm/appui-react/toolsettings/ToolUiProvider.js +28 -12
  1469. package/lib/esm/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
  1470. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts.map +1 -1
  1471. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js +40 -16
  1472. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  1473. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  1474. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js +18 -10
  1475. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
  1476. package/lib/esm/appui-react/ui-items-provider/ProviderItem.js +3 -3
  1477. package/lib/esm/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
  1478. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  1479. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js +3 -3
  1480. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  1481. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  1482. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +35 -15
  1483. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  1484. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  1485. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +3 -3
  1486. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  1487. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
  1488. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +35 -15
  1489. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  1490. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +8 -8
  1491. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  1492. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +11 -11
  1493. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  1494. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  1495. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +7 -5
  1496. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  1497. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  1498. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +38 -18
  1499. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  1500. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
  1501. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js +3 -3
  1502. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
  1503. package/lib/esm/appui-react/ui-items-provider/isProviderItem.d.ts.map +1 -1
  1504. package/lib/esm/appui-react/ui-items-provider/isProviderItem.js +3 -3
  1505. package/lib/esm/appui-react/ui-items-provider/isProviderItem.js.map +1 -1
  1506. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts +8 -8
  1507. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
  1508. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js +37 -19
  1509. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  1510. package/lib/esm/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
  1511. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js +46 -28
  1512. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  1513. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +3 -3
  1514. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  1515. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js +12 -11
  1516. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  1517. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.scss +22 -11
  1518. package/lib/esm/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  1519. package/lib/esm/appui-react/uistate/AppUiSettings.js +3 -3
  1520. package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -1
  1521. package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  1522. package/lib/esm/appui-react/uistate/useUiStateStorage.js +7 -5
  1523. package/lib/esm/appui-react/uistate/useUiStateStorage.js.map +1 -1
  1524. package/lib/esm/appui-react/utils/InternalUiShowHideManager.d.ts.map +1 -1
  1525. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js +16 -8
  1526. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  1527. package/lib/esm/appui-react/utils/PropsHelper.d.ts +1 -1
  1528. package/lib/esm/appui-react/utils/PropsHelper.d.ts.map +1 -1
  1529. package/lib/esm/appui-react/utils/PropsHelper.js +8 -7
  1530. package/lib/esm/appui-react/utils/PropsHelper.js.map +1 -1
  1531. package/lib/esm/appui-react/utils/ToolbarButtonHelper.d.ts.map +1 -1
  1532. package/lib/esm/appui-react/utils/ToolbarButtonHelper.js +3 -3
  1533. package/lib/esm/appui-react/utils/ToolbarButtonHelper.js.map +1 -1
  1534. package/lib/esm/appui-react/utils/ViewUtilities.d.ts.map +1 -1
  1535. package/lib/esm/appui-react/utils/ViewUtilities.js +8 -6
  1536. package/lib/esm/appui-react/utils/ViewUtilities.js.map +1 -1
  1537. package/lib/esm/appui-react/widget-panels/Content.d.ts.map +1 -1
  1538. package/lib/esm/appui-react/widget-panels/Content.js +11 -6
  1539. package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
  1540. package/lib/esm/appui-react/widget-panels/FloatingWidget.js +3 -3
  1541. package/lib/esm/appui-react/widget-panels/FloatingWidget.js.map +1 -1
  1542. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +1 -1
  1543. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  1544. package/lib/esm/appui-react/widget-panels/Frontstage.js +75 -34
  1545. package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
  1546. package/lib/esm/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
  1547. package/lib/esm/appui-react/widget-panels/FrontstageContent.js +6 -4
  1548. package/lib/esm/appui-react/widget-panels/FrontstageContent.js.map +1 -1
  1549. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts +1 -1
  1550. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  1551. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js +10 -7
  1552. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
  1553. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  1554. package/lib/esm/appui-react/widget-panels/StatusBar.js +6 -4
  1555. package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
  1556. package/lib/esm/appui-react/widget-panels/StatusBar.scss +5 -5
  1557. package/lib/esm/appui-react/widget-panels/Tab.d.ts.map +1 -1
  1558. package/lib/esm/appui-react/widget-panels/Tab.js +4 -4
  1559. package/lib/esm/appui-react/widget-panels/Tab.js.map +1 -1
  1560. package/lib/esm/appui-react/widget-panels/ToolSettings.d.ts.map +1 -1
  1561. package/lib/esm/appui-react/widget-panels/ToolSettings.js +20 -16
  1562. package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
  1563. package/lib/esm/appui-react/widget-panels/Toolbars.js +3 -3
  1564. package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
  1565. package/lib/esm/appui-react/widget-panels/useTransientState.d.ts.map +1 -1
  1566. package/lib/esm/appui-react/widget-panels/useTransientState.js +3 -3
  1567. package/lib/esm/appui-react/widget-panels/useTransientState.js.map +1 -1
  1568. package/lib/esm/appui-react/widget-panels/useWidgetDirection.d.ts.map +1 -1
  1569. package/lib/esm/appui-react/widget-panels/useWidgetDirection.js +7 -5
  1570. package/lib/esm/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
  1571. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  1572. package/lib/esm/appui-react/widgets/BackstageAppButton.js +9 -5
  1573. package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
  1574. package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  1575. package/lib/esm/appui-react/widgets/BasicNavigationWidget.js +9 -4
  1576. package/lib/esm/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  1577. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  1578. package/lib/esm/appui-react/widgets/BasicToolWidget.js +10 -4
  1579. package/lib/esm/appui-react/widgets/BasicToolWidget.js.map +1 -1
  1580. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.d.ts.map +1 -1
  1581. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js +3 -3
  1582. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
  1583. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  1584. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +23 -11
  1585. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  1586. package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts.map +1 -1
  1587. package/lib/esm/appui-react/widgets/StableWidgetDef.js +3 -3
  1588. package/lib/esm/appui-react/widgets/StableWidgetDef.js.map +1 -1
  1589. package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.d.ts.map +1 -1
  1590. package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.js +3 -3
  1591. package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
  1592. package/lib/esm/appui-react/widgets/ToolSettingsContent.d.ts.map +1 -1
  1593. package/lib/esm/appui-react/widgets/ToolSettingsContent.js +3 -3
  1594. package/lib/esm/appui-react/widgets/ToolSettingsContent.js.map +1 -1
  1595. package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  1596. package/lib/esm/appui-react/widgets/ToolWidgetComposer.js +4 -4
  1597. package/lib/esm/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  1598. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.d.ts.map +1 -1
  1599. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js +3 -3
  1600. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
  1601. package/lib/esm/appui-react/widgets/Widget.d.ts.map +1 -1
  1602. package/lib/esm/appui-react/widgets/Widget.js +3 -3
  1603. package/lib/esm/appui-react/widgets/Widget.js.map +1 -1
  1604. package/lib/esm/appui-react/widgets/WidgetConfig.js +3 -3
  1605. package/lib/esm/appui-react/widgets/WidgetConfig.js.map +1 -1
  1606. package/lib/esm/appui-react/widgets/WidgetControl.d.ts.map +1 -1
  1607. package/lib/esm/appui-react/widgets/WidgetControl.js +21 -13
  1608. package/lib/esm/appui-react/widgets/WidgetControl.js.map +1 -1
  1609. package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  1610. package/lib/esm/appui-react/widgets/WidgetDef.js +100 -37
  1611. package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
  1612. package/lib/esm/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  1613. package/lib/esm/appui-react/widgets/WidgetHost.js +6 -5
  1614. package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
  1615. package/lib/esm/appui-react/widgets/WidgetManager.d.ts.map +1 -1
  1616. package/lib/esm/appui-react/widgets/WidgetManager.js +23 -15
  1617. package/lib/esm/appui-react/widgets/WidgetManager.js.map +1 -1
  1618. package/lib/esm/appui-react/widgets/WidgetState.js +3 -3
  1619. package/lib/esm/appui-react/widgets/WidgetState.js.map +1 -1
  1620. package/lib/esm/appui-react.js +3 -3
  1621. package/lib/esm/appui-react.js.map +1 -1
  1622. package/lib/public/locales/en/UiFramework.json +1 -1
  1623. package/package.json +16 -29
  1624. package/rulesets/Categories.json +72 -76
  1625. package/rulesets/Models.json +42 -44
@@ -1,7 +1,7 @@
1
1
  /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
5
  /** @packageDocumentation
6
6
  * @module Frontstage
7
7
  */
@@ -12,7 +12,7 @@ import { UiError } from "@itwin/appui-abstract";
12
12
  import { Rectangle } from "@itwin/core-react";
13
13
  import { dockWidgetContainer, floatWidget, getTabLocation, getWidgetLocation, isFloatingTabLocation, isPanelTabLocation, isPopoutTabLocation, isPopoutWidgetLocation, panelSides, popoutWidgetToChildWindow, } from "@itwin/appui-layout-react";
14
14
  import { ContentGroupProvider } from "../content/ContentGroup";
15
- import { StagePanelDef, StagePanelState, toPanelSide } from "../stagepanels/StagePanelDef";
15
+ import { StagePanelDef, StagePanelState, toPanelSide, } from "../stagepanels/StagePanelDef";
16
16
  import { UiFramework } from "../UiFramework";
17
17
  import { WidgetDef, WidgetType } from "../widgets/WidgetDef";
18
18
  import { TimeTracker } from "../configurableui/TimeTracker";
@@ -36,22 +36,54 @@ export class FrontstageDef {
36
36
  this._version = 0;
37
37
  this._timeTracker = new TimeTracker();
38
38
  }
39
- get id() { return this._id; }
40
- get usage() { return this._usage !== undefined ? this._usage : StageUsage.General; }
41
- get version() { return this._version; }
42
- get contentGroupProvider() { return this._contentGroupProvider; }
43
- get floatingContentControls() { return this._floatingContentControls; }
44
- get toolSettings() { return this._toolSettings; }
45
- get statusBar() { return this._statusBar; }
46
- get contentManipulation() { return this._contentManipulation; }
47
- get viewNavigation() { return this._viewNavigation; }
48
- get topPanel() { return this._topPanel; }
49
- get leftPanel() { return this._leftPanel; }
50
- get rightPanel() { return this._rightPanel; }
51
- get bottomPanel() { return this._bottomPanel; }
52
- get contentLayoutDef() { return this._contentLayoutDef; }
53
- get contentGroup() { return this._contentGroup; }
54
- get frontstageProvider() { return this._frontstageProvider; }
39
+ get id() {
40
+ return this._id;
41
+ }
42
+ get usage() {
43
+ return this._usage !== undefined ? this._usage : StageUsage.General;
44
+ }
45
+ get version() {
46
+ return this._version;
47
+ }
48
+ get contentGroupProvider() {
49
+ return this._contentGroupProvider;
50
+ }
51
+ get floatingContentControls() {
52
+ return this._floatingContentControls;
53
+ }
54
+ get toolSettings() {
55
+ return this._toolSettings;
56
+ }
57
+ get statusBar() {
58
+ return this._statusBar;
59
+ }
60
+ get contentManipulation() {
61
+ return this._contentManipulation;
62
+ }
63
+ get viewNavigation() {
64
+ return this._viewNavigation;
65
+ }
66
+ get topPanel() {
67
+ return this._topPanel;
68
+ }
69
+ get leftPanel() {
70
+ return this._leftPanel;
71
+ }
72
+ get rightPanel() {
73
+ return this._rightPanel;
74
+ }
75
+ get bottomPanel() {
76
+ return this._bottomPanel;
77
+ }
78
+ get contentLayoutDef() {
79
+ return this._contentLayoutDef;
80
+ }
81
+ get contentGroup() {
82
+ return this._contentGroup;
83
+ }
84
+ get frontstageProvider() {
85
+ return this._frontstageProvider;
86
+ }
55
87
  toStagePanelLocation(side) {
56
88
  switch (side) {
57
89
  case "bottom":
@@ -70,7 +102,9 @@ export class FrontstageDef {
70
102
  const location = this.toStagePanelLocation(panelSide);
71
103
  const panelDef = this.getStagePanelDef(location);
72
104
  if (panelDef) {
73
- const panelState = panel.collapsed ? StagePanelState.Minimized : StagePanelState.Open;
105
+ const panelState = panel.collapsed
106
+ ? StagePanelState.Minimized
107
+ : StagePanelState.Open;
74
108
  panelMap.set(panelDef, panelState);
75
109
  }
76
110
  for (const widgetId of panel.widgets) {
@@ -113,7 +147,8 @@ export class FrontstageDef {
113
147
  const originalWidgetStateMap = new Map();
114
148
  const newPanelStateMap = new Map();
115
149
  const newWidgetStateMap = new Map();
116
- this._nineZoneState && this.populateStateMaps(this._nineZoneState, originalPanelStateMap, originalWidgetStateMap);
150
+ this._nineZoneState &&
151
+ this.populateStateMaps(this._nineZoneState, originalPanelStateMap, originalWidgetStateMap);
117
152
  this.populateStateMaps(state, newPanelStateMap, newWidgetStateMap);
118
153
  // set internal state value before triggering events
119
154
  this._nineZoneState = state;
@@ -121,7 +156,10 @@ export class FrontstageDef {
121
156
  newWidgetStateMap.forEach((stateValue, widgetDef) => {
122
157
  const originalState = originalWidgetStateMap.get(widgetDef);
123
158
  if (originalState !== stateValue) {
124
- UiFramework.frontstages.onWidgetStateChangedEvent.emit({ widgetDef, widgetState: stateValue });
159
+ UiFramework.frontstages.onWidgetStateChangedEvent.emit({
160
+ widgetDef,
161
+ widgetState: stateValue,
162
+ });
125
163
  widgetDef.onWidgetStateChanged();
126
164
  }
127
165
  });
@@ -150,7 +188,9 @@ export class FrontstageDef {
150
188
  }
151
189
  }
152
190
  /** @internal */
153
- get nineZoneState() { return this._nineZoneState; }
191
+ get nineZoneState() {
192
+ return this._nineZoneState;
193
+ }
154
194
  set nineZoneState(state) {
155
195
  if (this._nineZoneState === state)
156
196
  return;
@@ -169,12 +209,16 @@ export class FrontstageDef {
169
209
  }
170
210
  }
171
211
  /** @internal */
172
- get savedWidgetDefs() { return this._savedWidgetDefs; }
212
+ get savedWidgetDefs() {
213
+ return this._savedWidgetDefs;
214
+ }
173
215
  set savedWidgetDefs(widgets) {
174
216
  this._savedWidgetDefs = widgets;
175
217
  }
176
218
  /** @internal */
177
- get timeTracker() { return this._timeTracker; }
219
+ get timeTracker() {
220
+ return this._timeTracker;
221
+ }
178
222
  /** Created a [[FrontstageDef]] and initialize it */
179
223
  static async create(provider) {
180
224
  const def = new FrontstageDef();
@@ -196,7 +240,10 @@ export class FrontstageDef {
196
240
  if (!this._contentGroup)
197
241
  throw new UiError(UiFramework.loggerCategory(this), `onActivated: Content Group not defined`);
198
242
  this._contentLayoutDef = UiFramework.content.layouts.getForGroup(this._contentGroup);
199
- UiFramework.frontstages.onContentLayoutActivatedEvent.emit({ contentLayout: this._contentLayoutDef, contentGroup: this._contentGroup });
243
+ UiFramework.frontstages.onContentLayoutActivatedEvent.emit({
244
+ contentLayout: this._contentLayoutDef,
245
+ contentGroup: this._contentGroup,
246
+ });
200
247
  this._timeTracker.startTiming();
201
248
  await this._onActivated();
202
249
  }
@@ -308,7 +355,10 @@ export class FrontstageDef {
308
355
  if (oldContent)
309
356
  oldContent.onDeactivated();
310
357
  newContent.onActivated();
311
- UiFramework.frontstages.onContentControlActivatedEvent.emit({ activeContentControl: newContent, oldContentControl: oldContent });
358
+ UiFramework.frontstages.onContentControlActivatedEvent.emit({
359
+ activeContentControl: newContent,
360
+ oldContentControl: oldContent,
361
+ });
312
362
  }
313
363
  /** Sets the active view content control based on the selected viewport. */
314
364
  setActiveViewFromViewport(viewport) {
@@ -348,8 +398,10 @@ export class FrontstageDef {
348
398
  */
349
399
  get panelDefs() {
350
400
  const locations = [
351
- StagePanelLocation.Left, StagePanelLocation.Right,
352
- StagePanelLocation.Top, StagePanelLocation.Bottom,
401
+ StagePanelLocation.Left,
402
+ StagePanelLocation.Right,
403
+ StagePanelLocation.Top,
404
+ StagePanelLocation.Bottom,
353
405
  ];
354
406
  const panels = [];
355
407
  locations.forEach((location) => {
@@ -387,7 +439,9 @@ export class FrontstageDef {
387
439
  if (!this._floatingContentControls)
388
440
  this._floatingContentControls = new Array();
389
441
  this._floatingContentControls.push(contentControl);
390
- UiFramework.content.onAvailableContentChangedEvent.emit({ contentId: contentControl.uniqueId });
442
+ UiFramework.content.onAvailableContentChangedEvent.emit({
443
+ contentId: contentControl.uniqueId,
444
+ });
391
445
  }
392
446
  dropFloatingContentControl(contentControl) {
393
447
  // istanbul ignore next
@@ -397,7 +451,9 @@ export class FrontstageDef {
397
451
  // istanbul ignore else
398
452
  if (index > -1) {
399
453
  this._floatingContentControls.splice(index, 1);
400
- UiFramework.content.onAvailableContentChangedEvent.emit({ contentId: contentControl.uniqueId });
454
+ UiFramework.content.onAvailableContentChangedEvent.emit({
455
+ contentId: contentControl.uniqueId,
456
+ });
401
457
  }
402
458
  }
403
459
  /** Gets the list of [[ContentControl]]s */
@@ -453,7 +509,9 @@ export class FrontstageDef {
453
509
  for (const widgetDef of this.widgetDefs) {
454
510
  widgetDef.setWidgetState(widgetDef.defaultState);
455
511
  }
456
- InternalFrontstageManager.onFrontstageRestoreLayoutEvent.emit({ frontstageDef: this });
512
+ InternalFrontstageManager.onFrontstageRestoreLayoutEvent.emit({
513
+ frontstageDef: this,
514
+ });
457
515
  }
458
516
  /** Used only in UI 2.0 to determine WidgetState from NinezoneState
459
517
  * @internal
@@ -476,7 +534,8 @@ export class FrontstageDef {
476
534
  // istanbul ignore else
477
535
  if ("side" in location) {
478
536
  const panel = this.nineZoneState.panels[location.side];
479
- collapsedPanel = panel.collapsed || undefined === panel.size || 0 === panel.size;
537
+ collapsedPanel =
538
+ panel.collapsed || undefined === panel.size || 0 === panel.size;
480
539
  }
481
540
  const widgetContainer = this.nineZoneState.widgets[location.widgetId];
482
541
  if (widgetDef.id === widgetContainer.activeTabId && !collapsedPanel)
@@ -496,7 +555,11 @@ export class FrontstageDef {
496
555
  const side = toPanelSide(panelDef.location);
497
556
  const panel = this.nineZoneState.panels[side];
498
557
  if (panel)
499
- return [panel.collapsed ? StagePanelState.Minimized : StagePanelState.Open, (_a = panel.size) !== null && _a !== void 0 ? _a : 0, panel.pinned];
558
+ return [
559
+ panel.collapsed ? StagePanelState.Minimized : StagePanelState.Open,
560
+ (_a = panel.size) !== null && _a !== void 0 ? _a : 0,
561
+ panel.pinned,
562
+ ];
500
563
  return [StagePanelState.Off, 0, false];
501
564
  }
502
565
  return [panelDef.defaultState, (_b = panelDef.defaultSize) !== null && _b !== void 0 ? _b : 0, true];
@@ -543,7 +606,8 @@ export class FrontstageDef {
543
606
  if (state) {
544
607
  this.nineZoneState = state;
545
608
  setTimeout(() => {
546
- popoutWidgetContainerId && UiFramework.childWindows.close(popoutWidgetContainerId, true);
609
+ popoutWidgetContainerId &&
610
+ UiFramework.childWindows.close(popoutWidgetContainerId, true);
547
611
  }, 600);
548
612
  }
549
613
  }
@@ -574,7 +638,9 @@ export class FrontstageDef {
574
638
  if (isPanelTabLocation(tabLocation)) {
575
639
  const panel = this.nineZoneState.panels[tabLocation.side];
576
640
  const widgetDef = this.findWidgetDef(widgetId);
577
- if (widgetDef && widgetDef.state === WidgetState.Open && !panel.collapsed)
641
+ if (widgetDef &&
642
+ widgetDef.state === WidgetState.Open &&
643
+ !panel.collapsed)
578
644
  widgetIsVisible = true;
579
645
  }
580
646
  }
@@ -685,7 +751,10 @@ export class FrontstageDef {
685
751
  const adjustmentHeight = ProcessDetector.isElectronAppFrontend ? 39 : 0;
686
752
  const width = childWindow.innerWidth + adjustmentWidth;
687
753
  const height = childWindow.innerHeight + adjustmentHeight;
688
- const bounds = Rectangle.createFromSize({ width, height }).offset({ x: childWindow.screenX, y: childWindow.screenY });
754
+ const bounds = Rectangle.createFromSize({ width, height }).offset({
755
+ x: childWindow.screenX,
756
+ y: childWindow.screenY,
757
+ });
689
758
  widgetDef.popoutBounds = bounds;
690
759
  }
691
760
  /** Method used to possibly change a Popout Widget back to a docked widget if the user was the one closing the popout's child
@@ -725,7 +794,8 @@ export class FrontstageDef {
725
794
  }
726
795
  }
727
796
  setFloatingWidgetContainerBounds(floatingWidgetId, bounds) {
728
- if (!this.nineZoneState || !(floatingWidgetId in this.nineZoneState.floatingWidgets.byId))
797
+ if (!this.nineZoneState ||
798
+ !(floatingWidgetId in this.nineZoneState.floatingWidgets.byId))
729
799
  return false;
730
800
  let state = FrameworkStateReducer(this.nineZoneState, {
731
801
  type: "FLOATING_WIDGET_SET_BOUNDS",
@@ -760,12 +830,18 @@ export class FrontstageDef {
760
830
  if (!floatingWidgetId)
761
831
  return undefined;
762
832
  // istanbul ignore else
763
- if (this.nineZoneState && (floatingWidgetId in this.nineZoneState.floatingWidgets.byId)) {
833
+ if (this.nineZoneState &&
834
+ floatingWidgetId in this.nineZoneState.floatingWidgets.byId) {
764
835
  const foundWidget = document.querySelector(`div.nz-widget-floatingWidget[data-widget-id='${floatingWidgetId}']`);
765
836
  // istanbul ignore next
766
837
  if (foundWidget) {
767
838
  const domRect = foundWidget.getBoundingClientRect();
768
- return { left: domRect.left, right: domRect.right, top: domRect.top, bottom: domRect.bottom };
839
+ return {
840
+ left: domRect.left,
841
+ right: domRect.right,
842
+ top: domRect.top,
843
+ bottom: domRect.bottom,
844
+ };
769
845
  }
770
846
  return this.nineZoneState.floatingWidgets.byId[floatingWidgetId].bounds;
771
847
  }
@@ -820,7 +896,7 @@ function getStagePanel(location, config) {
820
896
  */
821
897
  export const useActiveFrontstageId = () => {
822
898
  const def = useActiveFrontstageDef();
823
- const id = React.useMemo(() => def ? /* istanbul ignore next */ def.id : "", [def]);
899
+ const id = React.useMemo(() => (def ? /* istanbul ignore next */ def.id : ""), [def]);
824
900
  return id;
825
901
  };
826
902
  /** Hook to return the active Frontstage def */
@@ -1 +1 @@
1
- {"version":3,"file":"FrontstageDef.js","sourceRoot":"","sources":["../../../../src/appui-react/frontstage/FrontstageDef.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C1B,OAAO,MAAM,CAAC,SAAS,CAAC;QAC1B,KAAK,kBAAkB,CAAC,KAAK;YAC3B,OAAO,MAAM,CAAC,UAAU,CAAC;QAC3B,KAAK,kBAAkB,CAAC,MAAM;YAC5B,OAAO,MAAM,CAAC,WAAW,CAAC;KAC7B;AACH,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACxC,MAAM,GAAG,GAAG,sBAAsB,EAAE,CAAC;IACrC,MAAM,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,0BAA0B,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACpF,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;AAEF,+CAA+C;AAC/C,cAAc;AACd,MAAM,UAAU,sBAAsB;IACpC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,WAAW,CAAC,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAClF,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,OAAO,WAAW,CAAC,WAAW,CAAC,0BAA0B,CAAC,WAAW,CAAC,CAAC,IAAI,EAAE,EAAE;YAC7E,MAAM,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,GAAG,CAAC;AACb,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,oBAAoB,CAAC,QAAgB;IACnD,MAAM,aAAa,GAAG,sBAAsB,EAAE,CAAC;IAC/C,OAAO,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;AAChD,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Frontstage\n */\n\n// cSpell:ignore popout\n\nimport * as React from \"react\";\nimport type { ScreenViewport } from \"@itwin/core-frontend\";\nimport { IModelApp } from \"@itwin/core-frontend\";\nimport type { PointProps} from \"@itwin/appui-abstract\";\nimport { UiError } from \"@itwin/appui-abstract\";\nimport type { RectangleProps, SizeProps } from \"@itwin/core-react\";\nimport { Rectangle } from \"@itwin/core-react\";\nimport type {\n NineZoneState, PanelSide} from \"@itwin/appui-layout-react\";\nimport {\n dockWidgetContainer, floatWidget, getTabLocation, getWidgetLocation, isFloatingTabLocation, isPanelTabLocation, isPopoutTabLocation, isPopoutWidgetLocation, panelSides, popoutWidgetToChildWindow,\n} from \"@itwin/appui-layout-react\";\nimport type { ContentControl } from \"../content/ContentControl\";\nimport type { ContentGroup} from \"../content/ContentGroup\";\nimport { ContentGroupProvider } from \"../content/ContentGroup\";\nimport type { ContentLayoutDef } from \"../content/ContentLayout\";\nimport { StagePanelDef, StagePanelState, toPanelSide } from \"../stagepanels/StagePanelDef\";\nimport { UiFramework } from \"../UiFramework\";\nimport type { WidgetControl } from \"../widgets/WidgetControl\";\nimport { WidgetDef, WidgetType } from \"../widgets/WidgetDef\";\nimport type { FrontstageProvider } from \"./FrontstageProvider\";\nimport { TimeTracker } from \"../configurableui/TimeTracker\";\nimport type { ChildWindowLocationProps } from \"../framework/FrameworkChildWindows\";\nimport { PopoutWidget } from \"../childwindow/PopoutWidget\";\nimport type { SavedWidgets } from \"../widget-panels/Frontstage\";\nimport { FrameworkStateReducer } from \"../widget-panels/Frontstage\";\nimport { assert, BentleyStatus, ProcessDetector } from \"@itwin/core-bentley\";\nimport type { FrontstageConfig } from \"./FrontstageConfig\";\nimport type { StagePanelConfig } from \"../stagepanels/StagePanelConfig\";\nimport type { WidgetConfig } from \"../widgets/WidgetConfig\";\nimport { StageUsage } from \"./StageUsage\";\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport { WidgetState } from \"../widgets/WidgetState\";\nimport { InternalFrontstageManager } from \"./InternalFrontstageManager\";\nimport { InternalContentDialogManager } from \"../dialog/InternalContentDialogManager\";\n\n/** @internal */\nexport interface FrontstageEventArgs {\n frontstageDef: FrontstageDef;\n}\n\n/** @internal */\nexport interface FrontstageNineZoneStateChangedEventArgs extends FrontstageEventArgs {\n state: NineZoneState | undefined;\n}\n\n/** FrontstageDef class provides an API for a Frontstage.\n * @public\n */\nexport class FrontstageDef {\n private _id: string = \"\";\n private _initialConfig?: FrontstageConfig;\n private _isStageClosing = false;\n private _isReady = false;\n private _isApplicationClosing = false;\n private _usage?: string;\n private _version: number = 0;\n private _toolSettings?: WidgetDef;\n private _statusBar?: WidgetDef;\n private _contentManipulation?: WidgetDef;\n private _viewNavigation?: WidgetDef;\n private _topPanel?: StagePanelDef;\n private _leftPanel?: StagePanelDef;\n private _rightPanel?: StagePanelDef;\n private _bottomPanel?: StagePanelDef;\n private _contentLayoutDef?: ContentLayoutDef;\n private _contentGroup?: ContentGroup;\n private _frontstageProvider?: FrontstageProvider;\n private _timeTracker = new TimeTracker();\n private _nineZoneState?: NineZoneState;\n private _contentGroupProvider?: ContentGroupProvider;\n private _floatingContentControls?: ContentControl[];\n private _savedWidgetDefs?: SavedWidgets;\n private _toolAdminDefaultToolId?: string;\n\n public get id(): string { return this._id; }\n public get usage(): string { return this._usage !== undefined ? this._usage : StageUsage.General; }\n public get version(): number { return this._version; }\n public get contentGroupProvider(): ContentGroupProvider | undefined { return this._contentGroupProvider; }\n public get floatingContentControls() { return this._floatingContentControls; }\n\n public get toolSettings(): WidgetDef | undefined { return this._toolSettings; }\n public get statusBar(): WidgetDef | undefined { return this._statusBar; }\n public get contentManipulation(): WidgetDef | undefined { return this._contentManipulation; }\n public get viewNavigation(): WidgetDef | undefined { return this._viewNavigation; }\n\n public get topPanel(): StagePanelDef | undefined { return this._topPanel; }\n public get leftPanel(): StagePanelDef | undefined { return this._leftPanel; }\n public get rightPanel(): StagePanelDef | undefined { return this._rightPanel; }\n public get bottomPanel(): StagePanelDef | undefined { return this._bottomPanel; }\n\n public get contentLayoutDef(): ContentLayoutDef | undefined { return this._contentLayoutDef; }\n public get contentGroup(): ContentGroup | undefined { return this._contentGroup; }\n public get frontstageProvider(): FrontstageProvider | undefined { return this._frontstageProvider; }\n\n private toStagePanelLocation(side: PanelSide): StagePanelLocation {\n switch (side) {\n case \"bottom\":\n return StagePanelLocation.Bottom;\n case \"left\":\n return StagePanelLocation.Left;\n case \"right\":\n return StagePanelLocation.Right;\n case \"top\":\n return StagePanelLocation.Top;\n }\n }\n\n private populateStateMaps(nineZone: NineZoneState, panelMap: Map<StagePanelDef, StagePanelState>, widgetMap: Map<WidgetDef, WidgetState>) {\n for (const panelSide of panelSides) {\n const panel = nineZone.panels[panelSide];\n const location = this.toStagePanelLocation(panelSide);\n const panelDef = this.getStagePanelDef(location);\n if (panelDef) {\n const panelState = panel.collapsed ? StagePanelState.Minimized : StagePanelState.Open;\n panelMap.set(panelDef, panelState);\n }\n for (const widgetId of panel.widgets) {\n const widget = nineZone.widgets[widgetId];\n // istanbul ignore else\n if (widget) {\n for (const tabId of widget.tabs) {\n const widgetDef = this.findWidgetDef(tabId);\n if (widgetDef) {\n let widgetState = WidgetState.Open;\n if (widget.minimized || tabId !== widget.activeTabId)\n widgetState = WidgetState.Closed;\n widgetMap.set(widgetDef, widgetState);\n }\n }\n }\n }\n }\n // istanbul ignore next\n for (const widgetId of nineZone.floatingWidgets.allIds) {\n const widget = nineZone.widgets[widgetId];\n if (widget) {\n for (const tabId of widget.tabs) {\n const widgetDef = this.findWidgetDef(tabId);\n if (widgetDef) {\n let widgetState = WidgetState.Open;\n if (widget.minimized || tabId !== widget.activeTabId)\n widgetState = WidgetState.Closed;\n widgetMap.set(widgetDef, widgetState);\n }\n }\n }\n }\n }\n\n private triggerStateChangeEventForWidgetsAndPanels(state: NineZoneState | undefined) {\n // istanbul ignore else\n if (!(this._isStageClosing || this._isApplicationClosing)) {\n if (state) {\n const originalPanelStateMap = new Map<StagePanelDef, StagePanelState>();\n const originalWidgetStateMap = new Map<WidgetDef, WidgetState>();\n const newPanelStateMap = new Map<StagePanelDef, StagePanelState>();\n const newWidgetStateMap = new Map<WidgetDef, WidgetState>();\n this._nineZoneState && this.populateStateMaps(this._nineZoneState, originalPanelStateMap, originalWidgetStateMap);\n this.populateStateMaps(state, newPanelStateMap, newWidgetStateMap);\n\n // set internal state value before triggering events\n this._nineZoneState = state;\n\n // now walk and trigger set state events\n newWidgetStateMap.forEach((stateValue, widgetDef) => {\n const originalState = originalWidgetStateMap.get(widgetDef);\n if (originalState !== stateValue) {\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({ widgetDef, widgetState: stateValue });\n widgetDef.onWidgetStateChanged();\n }\n });\n newPanelStateMap.forEach((stateValue, panelDef) => {\n const originalState = originalPanelStateMap.get(panelDef);\n if (originalState !== stateValue) {\n UiFramework.frontstages.onPanelStateChangedEvent.emit({\n panelDef,\n panelState: stateValue,\n });\n }\n });\n\n for (const panelSide of panelSides) {\n const panel = state.panels[panelSide];\n const location = this.toStagePanelLocation(panelSide);\n const panelDef = this.getStagePanelDef(location);\n if (panelDef) {\n panelDef.size = panel.size;\n panelDef.pinned = panel.pinned;\n }\n }\n } else {\n this._nineZoneState = state;\n }\n }\n }\n\n /** @internal */\n public get nineZoneState(): NineZoneState | undefined { return this._nineZoneState; }\n public set nineZoneState(state: NineZoneState | undefined) {\n if (this._nineZoneState === state)\n return;\n\n if (!this._nineZoneState) {\n this._nineZoneState = state;\n } else {\n this.triggerStateChangeEventForWidgetsAndPanels(state);\n }\n\n // istanbul ignore next - don't trigger any side effects until stage \"isReady\"\n if (!(this._isStageClosing || this._isApplicationClosing) || this.isReady) {\n InternalFrontstageManager.onFrontstageNineZoneStateChangedEvent.emit({\n frontstageDef: this,\n state,\n });\n }\n }\n\n /** @internal */\n public get savedWidgetDefs() { return this._savedWidgetDefs; }\n public set savedWidgetDefs(widgets: SavedWidgets | undefined) {\n this._savedWidgetDefs = widgets;\n }\n\n /** @internal */\n public get timeTracker(): TimeTracker { return this._timeTracker; }\n\n /** Created a [[FrontstageDef]] and initialize it */\n public static async create(provider: FrontstageProvider) {\n const def = new FrontstageDef();\n def._frontstageProvider = provider;\n\n const config = provider.frontstageConfig();\n await def.initializeFromConfig(config);\n\n return def;\n }\n\n /** Handles when the Frontstage becomes activated */\n protected async _onActivated() { }\n\n /** Handles when the Frontstage becomes activated */\n public async onActivated() {\n this.updateWidgetDefs();\n\n const provider = this._contentGroupProvider;\n if (provider && this._initialConfig) {\n this._contentGroup = await provider.contentGroup(this._initialConfig);\n }\n\n // istanbul ignore next\n if (!this._contentGroup)\n throw new UiError(UiFramework.loggerCategory(this), `onActivated: Content Group not defined`);\n\n this._contentLayoutDef = UiFramework.content.layouts.getForGroup(this._contentGroup);\n UiFramework.frontstages.onContentLayoutActivatedEvent.emit({ contentLayout: this._contentLayoutDef, contentGroup: this._contentGroup });\n\n this._timeTracker.startTiming();\n await this._onActivated();\n }\n\n /** Handles when the Frontstage becomes inactive */\n protected async _onDeactivated() { }\n\n /** Handles when the Frontstage becomes inactive */\n public async onDeactivated() {\n for (const control of this._widgetControls) {\n control.onFrontstageDeactivated();\n }\n\n for (const control of this.contentControls) {\n control.onFrontstageDeactivated();\n }\n\n // istanbul ignore else\n if (this.contentGroup)\n this.contentGroup.onFrontstageDeactivated();\n // istanbul ignore next\n if (this.contentGroupProvider)\n await this.contentGroupProvider.onFrontstageDeactivated();\n\n this._timeTracker.stopTiming();\n\n this._isStageClosing = true; // this keeps widgets in child windows from automatically re-docking\n UiFramework.childWindows.closeAll();\n\n if (this._floatingContentControls) {\n InternalContentDialogManager.closeAll();\n this._floatingContentControls = undefined;\n }\n\n if (this._toolAdminDefaultToolId) {\n IModelApp.toolAdmin.defaultToolId = this._toolAdminDefaultToolId;\n this._toolAdminDefaultToolId = undefined;\n }\n\n await this._onDeactivated();\n this._isStageClosing = false;\n }\n\n /** @internal */\n public setIsApplicationClosing(value: boolean) {\n this._isApplicationClosing = value;\n }\n\n /** Returns once the contained widgets and content controls are ready to use */\n public async waitUntilReady(): Promise<void> {\n this._isReady = false;\n // create an array of control-ready promises\n const controlReadyPromises = new Array<Promise<void>>();\n this._widgetControls.forEach((control: WidgetControl) => {\n controlReadyPromises.push(control.isReady);\n });\n\n // istanbul ignore else\n if (this.contentLayoutDef) {\n const usedContentIndexes = this.contentLayoutDef.getUsedContentIndexes();\n this.contentControls.forEach((control: ContentControl, index: number) => {\n // istanbul ignore else\n if (usedContentIndexes.includes(index))\n controlReadyPromises.push(control.isReady);\n });\n }\n\n await Promise.all(controlReadyPromises);\n // Frontstage ready\n this._isReady = true;\n }\n\n /** Handles when the Frontstage becomes active */\n protected _onFrontstageReady(): void { }\n\n /** Handles when the Frontstage becomes active */\n public onFrontstageReady(): void {\n for (const control of this._widgetControls) {\n control.onFrontstageReady();\n }\n\n for (const control of this.contentControls) {\n control.onFrontstageReady();\n }\n\n // istanbul ignore else\n if (this.contentGroup)\n this.contentGroup.onFrontstageReady();\n\n if (IModelApp.toolAdmin && IModelApp.viewManager && this._initialConfig) {\n const defaultTool = this._initialConfig.defaultTool;\n if (defaultTool) {\n this._toolAdminDefaultToolId = IModelApp.toolAdmin.defaultToolId;\n IModelApp.toolAdmin.defaultToolId = defaultTool;\n void IModelApp.tools.run(defaultTool);\n } else {\n void IModelApp.toolAdmin.startDefaultTool();\n }\n }\n\n this._onFrontstageReady();\n }\n\n /** Sets the Content Layout and Content Group */\n public setContentLayoutAndGroup(contentLayoutDef: ContentLayoutDef, contentGroup: ContentGroup): void {\n this._contentLayoutDef = contentLayoutDef;\n this._contentGroup = contentGroup;\n }\n\n /** Sets the active view content control to the default or first */\n public async setActiveContent(): Promise<boolean> {\n let contentControl: ContentControl | undefined;\n let activated = false;\n\n // istanbul ignore else\n if (!contentControl && this.contentControls.length >= 0) {\n contentControl = this.contentControls[0];\n }\n\n if (contentControl) {\n UiFramework.content.setActive(contentControl.reactNode, true);\n if (contentControl.viewport) {\n const status = await IModelApp.viewManager.setSelectedView(contentControl.viewport);\n activated = status === BentleyStatus.SUCCESS;\n }\n }\n\n return activated;\n }\n\n /** Sets the active view content control */\n public setActiveView(newContent: ContentControl, oldContent?: ContentControl): void {\n if (oldContent)\n oldContent.onDeactivated();\n newContent.onActivated();\n UiFramework.frontstages.onContentControlActivatedEvent.emit({ activeContentControl: newContent, oldContentControl: oldContent });\n }\n\n /** Sets the active view content control based on the selected viewport. */\n public setActiveViewFromViewport(viewport: ScreenViewport): boolean {\n const contentControl = this.contentControls.find((control: ContentControl) => control.viewport === viewport);\n // istanbul ignore else\n if (contentControl) {\n UiFramework.content.setActive(contentControl.reactNode, true);\n return true;\n }\n\n // istanbul ignore next\n return false;\n }\n\n /** Gets a [[StagePanelDef]] based on a given panel location\n * @beta\n */\n public getStagePanelDef(location: StagePanelLocation): StagePanelDef | undefined {\n let panelDef: StagePanelDef | undefined;\n\n switch (location) {\n case StagePanelLocation.Top:\n panelDef = this.topPanel;\n break;\n case StagePanelLocation.Left:\n panelDef = this.leftPanel;\n break;\n case StagePanelLocation.Right:\n panelDef = this.rightPanel;\n break;\n case StagePanelLocation.Bottom:\n panelDef = this.bottomPanel;\n break;\n }\n\n // Panels can be undefined in a Frontstage\n\n return panelDef;\n }\n\n /** Gets a list of [[StagePanelDef]]s\n * @beta\n */\n public get panelDefs(): StagePanelDef[] {\n const locations = [\n StagePanelLocation.Left, StagePanelLocation.Right,\n StagePanelLocation.Top, StagePanelLocation.Bottom,\n ];\n const panels: StagePanelDef[] = [];\n\n locations.forEach((location: StagePanelLocation) => {\n const panel = this.getStagePanelDef(location);\n if (panel)\n panels.push(panel);\n });\n\n return panels;\n }\n\n /** Finds a [[WidgetDef]] based on a given id */\n public findWidgetDef(id: string): WidgetDef | undefined {\n for (const widgetDef of this.widgetDefs) {\n if (widgetDef.id === id)\n return widgetDef;\n }\n return undefined;\n }\n\n /** Gets the list of [[WidgetControl]]s */\n private get _widgetControls(): WidgetControl[] {\n const widgetControls = new Array<WidgetControl>();\n\n this.panelDefs.forEach((panelDef: StagePanelDef) => {\n panelDef.widgetDefs.forEach((widgetDef: WidgetDef) => {\n const widgetControl = widgetDef.widgetControl;\n // istanbul ignore if\n if (widgetControl)\n widgetControls.push(widgetControl);\n });\n });\n\n return widgetControls;\n }\n\n public addFloatingContentControl(contentControl?: ContentControl) {\n // istanbul ignore next\n if (!contentControl)\n return;\n if (!this._floatingContentControls)\n this._floatingContentControls = new Array<ContentControl>();\n\n this._floatingContentControls.push(contentControl);\n UiFramework.content.onAvailableContentChangedEvent.emit({ contentId: contentControl.uniqueId });\n }\n\n public dropFloatingContentControl(contentControl?: ContentControl) {\n // istanbul ignore next\n if (!contentControl || !this._floatingContentControls)\n return;\n\n const index = this._floatingContentControls.indexOf(contentControl);\n // istanbul ignore else\n if (index > -1) {\n this._floatingContentControls.splice(index, 1);\n UiFramework.content.onAvailableContentChangedEvent.emit({ contentId: contentControl.uniqueId });\n }\n }\n\n /** Gets the list of [[ContentControl]]s */\n public get contentControls(): ContentControl[] {\n const contentControls = new Array<ContentControl>();\n // istanbul ignore else\n if (this.contentGroup) {\n contentControls.push(...this.contentGroup.getContentControls());\n }\n if (this._floatingContentControls) {\n contentControls.push(...this._floatingContentControls);\n }\n return contentControls;\n }\n\n /** Initializes a FrontstageDef from FrontstageConfig.\n * @internal\n */\n public async initializeFromConfig(config: FrontstageConfig): Promise<void> {\n this._id = config.id;\n this._initialConfig = config;\n\n if (config.contentGroup instanceof ContentGroupProvider) {\n this._contentGroupProvider = config.contentGroup;\n } else {\n this._contentGroup = config.contentGroup;\n }\n\n this._usage = config.usage;\n this._version = config.version;\n\n this._toolSettings = createWidgetDef(config.toolSettings, WidgetType.ToolSettings);\n this._statusBar = createWidgetDef(config.statusBar, WidgetType.StatusBar);\n this._contentManipulation = createWidgetDef(config.contentManipulation, WidgetType.Tool);\n this._viewNavigation = createWidgetDef(config.viewNavigation, WidgetType.Navigation);\n this._topPanel = createStagePanelDef(config, StagePanelLocation.Top);\n this._leftPanel = createStagePanelDef(config, StagePanelLocation.Left);\n this._rightPanel = createStagePanelDef(config, StagePanelLocation.Right);\n this._bottomPanel = createStagePanelDef(config, StagePanelLocation.Bottom);\n }\n\n /** @internal */\n public updateWidgetDefs(): void {\n // Tracks provided widgets to prevent duplicates.\n const allStageWidgetDefs: WidgetDef[] = [];\n\n // Process panels before zones so extension can explicitly target a widget for a StagePanelSection\n this.panelDefs.forEach((stagePanelDef: StagePanelDef) => {\n stagePanelDef.updateDynamicWidgetDefs(this.id, this.usage, stagePanelDef.location, undefined, allStageWidgetDefs);\n });\n }\n\n /** @beta */\n public restoreLayout() {\n for (const panelDef of this.panelDefs) {\n panelDef.size = panelDef.defaultSize;\n panelDef.panelState = panelDef.defaultState;\n }\n for (const widgetDef of this.widgetDefs) {\n widgetDef.setWidgetState(widgetDef.defaultState);\n }\n InternalFrontstageManager.onFrontstageRestoreLayoutEvent.emit({ frontstageDef: this });\n }\n\n /** Used only in UI 2.0 to determine WidgetState from NinezoneState\n * @internal\n */\n public getWidgetCurrentState(widgetDef: WidgetDef): WidgetState | undefined {\n // istanbul ignore else\n if (this.nineZoneState) {\n const location = getTabLocation(this.nineZoneState, widgetDef.id);\n // istanbul ignore next\n if (!location)\n return WidgetState.Hidden;\n\n if (isFloatingTabLocation(location)) {\n const floatingWidget = this.nineZoneState.floatingWidgets.byId[location.floatingWidgetId];\n if (floatingWidget && floatingWidget.hidden)\n return WidgetState.Hidden;\n else\n return WidgetState.Floating;\n }\n\n let collapsedPanel = false;\n // istanbul ignore else\n if (\"side\" in location) {\n const panel = this.nineZoneState.panels[location.side];\n collapsedPanel = panel.collapsed || undefined === panel.size || 0 === panel.size;\n }\n const widgetContainer = this.nineZoneState.widgets[location.widgetId];\n if (widgetDef.id === widgetContainer.activeTabId && !collapsedPanel)\n return WidgetState.Open;\n else\n return WidgetState.Closed;\n }\n return widgetDef.defaultState;\n }\n\n /** Used only in UI 2.0 to determine StagePanelState and size from NinezoneState\n * @internal\n */\n public getPanelCurrentState(panelDef: StagePanelDef): [StagePanelState, number, boolean] {\n // istanbul ignore next\n if (this.nineZoneState) {\n const side = toPanelSide(panelDef.location);\n const panel = this.nineZoneState.panels[side];\n if (panel)\n return [panel.collapsed ? StagePanelState.Minimized : StagePanelState.Open, panel.size ?? 0, panel.pinned];\n return [StagePanelState.Off, 0, false];\n }\n return [panelDef.defaultState, panelDef.defaultSize ?? 0, true];\n }\n\n public isPopoutWidget(widgetId: string) {\n // istanbul ignore else\n if (this.nineZoneState) {\n const location = getTabLocation(this.nineZoneState, widgetId);\n // istanbul ignore else\n if (location)\n return isPopoutTabLocation(location);\n }\n\n return false;\n }\n\n public isFloatingWidget(widgetId: string) {\n // istanbul ignore else\n if (this.nineZoneState) {\n const location = getTabLocation(this.nineZoneState, widgetId);\n // istanbul ignore else\n if (location)\n return isFloatingTabLocation(location);\n }\n\n return false;\n }\n\n /** Create a new floating panel that contains the widget specified by its Id. Supported only when in\n * UI 2.0 or higher.\n * @param widgetId case sensitive Widget Id\n * @param point Position of top left corner of floating panel in pixels. If undefined {x:50, y:100} is used.\n * @param size defines the width and height of the floating panel. If undefined and widget has been floated before\n * the previous size is used, else {height:400, width:400} is used.\n * @beta\n */\n public floatWidget(widgetId: string, point?: PointProps, size?: SizeProps) {\n // istanbul ignore else\n if (this.nineZoneState) {\n const location = getTabLocation(this.nineZoneState, widgetId);\n if (location) {\n let popoutWidgetContainerId: string | undefined;\n if (isPopoutTabLocation(location)) {\n popoutWidgetContainerId = location.popoutWidgetId;\n }\n const state = floatWidget(this.nineZoneState, widgetId, point, size);\n // istanbul ignore else\n if (state) {\n this.nineZoneState = state;\n setTimeout(() => {\n popoutWidgetContainerId && UiFramework.childWindows.close(popoutWidgetContainerId, true);\n }, 600);\n }\n }\n }\n }\n /** Check widget and panel state to determine whether the widget is currently displayed\n * @param widgetId case-sensitive Widget Id\n * @public\n */\n public isWidgetDisplayed(widgetId: string) {\n let widgetIsVisible = false;\n // istanbul ignore else\n if (this.nineZoneState) {\n const tabLocation = getTabLocation(this.nineZoneState, widgetId);\n // istanbul ignore else\n if (tabLocation) {\n if (isFloatingTabLocation(tabLocation)) {\n const floatingWidget = this.nineZoneState.floatingWidgets.byId[tabLocation.floatingWidgetId];\n // istanbul ignore else\n if (!!!floatingWidget.hidden)\n widgetIsVisible = true;\n } else if (isPopoutTabLocation(tabLocation)) {\n widgetIsVisible = true;\n } else {\n // istanbul ignore else\n if (isPanelTabLocation(tabLocation)) {\n const panel = this.nineZoneState.panels[tabLocation.side];\n const widgetDef = this.findWidgetDef(widgetId);\n if (widgetDef && widgetDef.state === WidgetState.Open && !panel.collapsed)\n widgetIsVisible = true;\n }\n }\n }\n }\n return widgetIsVisible;\n }\n\n /** Opens window for specified PopoutWidget container. Used to reopen popout when running in Electron.\n * @internal */\n public openPopoutWidgetContainer(state: NineZoneState, widgetContainerId: string) {\n const location = getWidgetLocation(state, widgetContainerId);\n // istanbul ignore next\n if (!location)\n return;\n // istanbul ignore next\n if (!isPopoutWidgetLocation(location))\n return;\n\n const widget = state.widgets[widgetContainerId];\n const popoutWidget = state.popoutWidgets.byId[location.popoutWidgetId];\n\n // Popout widget should only contain a single tab.\n // istanbul ignore next\n if (widget.tabs.length !== 1)\n return;\n\n const tabId = widget.tabs[0];\n const widgetDef = this.findWidgetDef(tabId);\n // istanbul ignore next\n if (!widgetDef)\n return;\n\n const popoutContent = (<PopoutWidget widgetContainerId={widgetContainerId} widgetDef={widgetDef} />);\n const bounds = Rectangle.create(popoutWidget.bounds);\n\n const position: ChildWindowLocationProps = {\n width: bounds.getWidth(),\n height: bounds.getHeight(),\n left: bounds.left,\n top: bounds.top,\n };\n UiFramework.childWindows.open(widgetContainerId, widgetDef.label, popoutContent, position, UiFramework.useDefaultPopoutUrl);\n }\n\n /** Create a new popout/child window that contains the widget specified by its Id. Supported only when in\n * UI 2.0 or higher.\n * @param widgetId case sensitive Widget Id\n * @param point Position of top left corner of floating panel in pixels. If undefined {x:0, y:0} is used.\n * @param size defines the width and height of the floating panel. If undefined and widget has been floated before\n * the previous size is used, else {height:800, width:600} is used.\n * @beta\n */\n public popoutWidget(widgetId: string, point?: PointProps, size?: SizeProps) {\n // istanbul ignore next\n if (!this.nineZoneState)\n return;\n\n let location = getTabLocation(this.nineZoneState, widgetId);\n if (!location || isPopoutTabLocation(location))\n return;\n\n const widgetDef = this.findWidgetDef(widgetId);\n // istanbul ignore next\n if (!widgetDef)\n return;\n\n // get the state to apply that will pop-out the specified WidgetTab to child window.\n let preferredBounds = Rectangle.createFromSize({ height: 800, width: 600 });\n // istanbul ignore next\n if (widgetDef.popoutBounds)\n preferredBounds = widgetDef.popoutBounds;\n if (size)\n preferredBounds = preferredBounds.setSize(size);\n if (point)\n preferredBounds = preferredBounds.setPosition(point);\n\n const state = popoutWidgetToChildWindow(this.nineZoneState, widgetId, preferredBounds);\n this.nineZoneState = state;\n\n // now that the state is updated get the id of the container that houses the widgetTab/widgetId\n location = getTabLocation(state, widgetId);\n assert(!!location && isPopoutTabLocation(location));\n\n const widgetContainerId = location.widgetId;\n const popoutWidget = state.popoutWidgets.byId[widgetContainerId];\n const bounds = Rectangle.create(popoutWidget.bounds);\n\n setTimeout(() => {\n const popoutContent = (<PopoutWidget widgetContainerId={widgetContainerId} widgetDef={widgetDef} />);\n const position: ChildWindowLocationProps = {\n width: bounds.getWidth(),\n height: bounds.getHeight(),\n left: bounds.left,\n top: bounds.top,\n };\n UiFramework.childWindows.open(widgetContainerId, widgetDef.label, popoutContent, position, UiFramework.useDefaultPopoutUrl);\n });\n }\n\n public get isStageClosing() {\n return this._isStageClosing;\n }\n\n public get isApplicationClosing() {\n return this._isApplicationClosing;\n }\n\n public get isReady() {\n return this._isReady;\n }\n\n /** @internal */\n public saveChildWindowSizeAndPosition(childWindowId: string, childWindow: Window) {\n if (!this.nineZoneState)\n return;\n\n const location = getWidgetLocation(this.nineZoneState, childWindowId);\n if (!location || !isPopoutWidgetLocation(location))\n return;\n\n const widget = this.nineZoneState.widgets[location.popoutWidgetId];\n const tabId = widget.tabs[0];\n const widgetDef = this.findWidgetDef(tabId);\n if (!widgetDef)\n return;\n\n const adjustmentWidth = ProcessDetector.isElectronAppFrontend ? 16 : 0;\n const adjustmentHeight = ProcessDetector.isElectronAppFrontend ? 39 : 0;\n\n const width = childWindow.innerWidth + adjustmentWidth;\n const height = childWindow.innerHeight + adjustmentHeight;\n const bounds = Rectangle.createFromSize({ width, height }).offset({ x: childWindow.screenX, y: childWindow.screenY });\n widgetDef.popoutBounds = bounds;\n }\n\n /** Method used to possibly change a Popout Widget back to a docked widget if the user was the one closing the popout's child\n * window.\n * @internal\n */\n public dockPopoutWidgetContainer(widgetContainerId: string) {\n if (!this.nineZoneState)\n return;\n\n // Make sure the widgetContainerId is still in popout state. We don't want to set it to docked if the window is being closed because\n // an API call has moved the widget from a popout state to a floating state.\n // istanbul ignore else\n const location = getWidgetLocation(this.nineZoneState, widgetContainerId);\n if (!location || !isPopoutWidgetLocation(location))\n return;\n\n const state = dockWidgetContainer(this.nineZoneState, widgetContainerId, true);\n this.nineZoneState = state;\n }\n\n /** Finds the container with the specified widget and re-docks all widgets\n * back to the panel zone location that was used when the floating container\n * was generated. Supported only when in UI 2.0 or higher.\n * @param widgetId case sensitive Widget Id.\n * @beta\n */\n public dockWidgetContainer(widgetId: string) {\n // istanbul ignore else\n if (this.nineZoneState) {\n const location = getTabLocation(this.nineZoneState, widgetId);\n if (location) {\n const widgetContainerId = location.widgetId;\n const state = dockWidgetContainer(this.nineZoneState, widgetContainerId, true);\n state && (this.nineZoneState = state);\n if (isPopoutTabLocation(location)) {\n UiFramework.childWindows.close(location.widgetId, true);\n }\n }\n }\n }\n\n public setFloatingWidgetContainerBounds(floatingWidgetId: string, bounds: RectangleProps) {\n if (!this.nineZoneState || !(floatingWidgetId in this.nineZoneState.floatingWidgets.byId))\n return false;\n\n let state = FrameworkStateReducer(this.nineZoneState, {\n type: \"FLOATING_WIDGET_SET_BOUNDS\",\n id: floatingWidgetId,\n bounds,\n }, this);\n state = FrameworkStateReducer(state, {\n type: \"FLOATING_WIDGET_SET_USER_SIZED\",\n id: floatingWidgetId,\n userSized: true,\n }, this);\n this.nineZoneState = state;\n return true;\n }\n\n public getFloatingWidgetContainerIds(): string[] {\n if (!this.nineZoneState)\n return [];\n\n return [...this.nineZoneState.floatingWidgets.allIds];\n }\n\n public getFloatingWidgetContainerIdByWidgetId(widgetId: string): string | undefined {\n if (!this.nineZoneState)\n return undefined;\n\n const location = getTabLocation(this.nineZoneState, widgetId);\n // istanbul ignore else\n if (location && isFloatingTabLocation(location)) {\n return location.floatingWidgetId;\n }\n // istanbul ignore next\n return undefined;\n }\n\n public getFloatingWidgetContainerBounds(floatingWidgetId: string | undefined) {\n if (!floatingWidgetId)\n return undefined;\n\n // istanbul ignore else\n if (this.nineZoneState && (floatingWidgetId in this.nineZoneState.floatingWidgets.byId)) {\n const foundWidget = document.querySelector(`div.nz-widget-floatingWidget[data-widget-id='${floatingWidgetId}']`);\n // istanbul ignore next\n if (foundWidget) {\n const domRect = foundWidget.getBoundingClientRect();\n return { left: domRect.left, right: domRect.right, top: domRect.top, bottom: domRect.bottom };\n }\n return this.nineZoneState.floatingWidgets.byId[floatingWidgetId].bounds;\n }\n return undefined;\n }\n\n private *_widgetDefs(): Iterator<WidgetDef> {\n for (const panelDef of this.panelDefs) {\n for (const widgetDef of panelDef.widgetDefs) {\n yield widgetDef;\n }\n }\n\n return undefined;\n }\n\n /** Iterable of all widget definitions in a frontstage.\n * @internal\n */\n public get widgetDefs() {\n const defs = this._widgetDefs();\n return {\n [Symbol.iterator]() {\n return defs;\n },\n };\n }\n}\n\nfunction createWidgetDef(config: WidgetConfig | undefined, type: WidgetType): WidgetDef | undefined {\n if (!config)\n return undefined;\n\n const widgetDef = WidgetDef.create(config, type);\n return widgetDef;\n}\n\nfunction createStagePanelDef(frontstageConfig: FrontstageConfig, location: StagePanelLocation): StagePanelDef {\n const config = getStagePanel(location, frontstageConfig);\n\n const panelDef = new StagePanelDef();\n panelDef.initializeFromConfig(config, location);\n return panelDef;\n}\n\nfunction getStagePanel(location: StagePanelLocation, config: FrontstageConfig): StagePanelConfig | undefined {\n switch (location) {\n case StagePanelLocation.Top:\n return config.topPanel;\n case StagePanelLocation.Left:\n return config.leftPanel;\n case StagePanelLocation.Right:\n return config.rightPanel;\n case StagePanelLocation.Bottom:\n return config.bottomPanel;\n }\n}\n\n/** Hook that returns active frontstage id.\n * @public\n */\nexport const useActiveFrontstageId = () => {\n const def = useActiveFrontstageDef();\n const id = React.useMemo(() => def ? /* istanbul ignore next */ def.id : \"\", [def]);\n return id;\n};\n\n/** Hook to return the active Frontstage def */\n/** @public */\nexport function useActiveFrontstageDef() {\n const [def, setDef] = React.useState(UiFramework.frontstages.activeFrontstageDef);\n React.useEffect(() => {\n return UiFramework.frontstages.onFrontstageActivatedEvent.addListener((args) => {\n setDef(args.activatedFrontstageDef);\n });\n }, []);\n return def;\n}\n\n/** Hook that returns the widgetDef for a specific widgetId within the active frontstage.\n * @public\n */\nexport function useSpecificWidgetDef(widgetId: string) {\n const frontstageDef = useActiveFrontstageDef();\n return frontstageDef?.findWidgetDef(widgetId);\n}\n"]}
1
+ {"version":3,"file":"FrontstageDef.js","sourceRoot":"","sources":["../../../../src/appui-react/frontstage/FrontstageDef.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH,uBAAuB;AAEvB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,mB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AAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EACpD,CAAC,GAAG,CAAC,CACN,CAAC;IACF,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;AAEF,+CAA+C;AAC/C,cAAc;AACd,MAAM,UAAU,sBAAsB;IACpC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,KAAK,CAAC,QAAQ,CAClC,WAAW,CAAC,WAAW,CAAC,mBAAmB,CAC5C,CAAC;IACF,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,OAAO,WAAW,CAAC,WAAW,CAAC,0BAA0B,CAAC,WAAW,CACnE,CAAC,IAAI,EAAE,EAAE;YACP,MAAM,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QACtC,CAAC,CACF,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,GAAG,CAAC;AACb,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,oBAAoB,CAAC,QAAgB;IACnD,MAAM,aAAa,GAAG,sBAAsB,EAAE,CAAC;IAC/C,OAAO,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;AAChD,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Frontstage\n */\n\n// cSpell:ignore popout\n\nimport * as React from \"react\";\nimport type { ScreenViewport } from \"@itwin/core-frontend\";\nimport { IModelApp } from \"@itwin/core-frontend\";\nimport type { PointProps } from \"@itwin/appui-abstract\";\nimport { UiError } from \"@itwin/appui-abstract\";\nimport type { RectangleProps, SizeProps } from \"@itwin/core-react\";\nimport { Rectangle } from \"@itwin/core-react\";\nimport type { NineZoneState, PanelSide } from \"@itwin/appui-layout-react\";\nimport {\n dockWidgetContainer,\n floatWidget,\n getTabLocation,\n getWidgetLocation,\n isFloatingTabLocation,\n isPanelTabLocation,\n isPopoutTabLocation,\n isPopoutWidgetLocation,\n panelSides,\n popoutWidgetToChildWindow,\n} from \"@itwin/appui-layout-react\";\nimport type { ContentControl } from \"../content/ContentControl\";\nimport type { ContentGroup } from \"../content/ContentGroup\";\nimport { ContentGroupProvider } from \"../content/ContentGroup\";\nimport type { ContentLayoutDef } from \"../content/ContentLayout\";\nimport {\n StagePanelDef,\n StagePanelState,\n toPanelSide,\n} from \"../stagepanels/StagePanelDef\";\nimport { UiFramework } from \"../UiFramework\";\nimport type { WidgetControl } from \"../widgets/WidgetControl\";\nimport { WidgetDef, WidgetType } from \"../widgets/WidgetDef\";\nimport type { FrontstageProvider } from \"./FrontstageProvider\";\nimport { TimeTracker } from \"../configurableui/TimeTracker\";\nimport type { ChildWindowLocationProps } from \"../framework/FrameworkChildWindows\";\nimport { PopoutWidget } from \"../childwindow/PopoutWidget\";\nimport type { SavedWidgets } from \"../widget-panels/Frontstage\";\nimport { FrameworkStateReducer } from \"../widget-panels/Frontstage\";\nimport { assert, BentleyStatus, ProcessDetector } from \"@itwin/core-bentley\";\nimport type { FrontstageConfig } from \"./FrontstageConfig\";\nimport type { StagePanelConfig } from \"../stagepanels/StagePanelConfig\";\nimport type { WidgetConfig } from \"../widgets/WidgetConfig\";\nimport { StageUsage } from \"./StageUsage\";\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport { WidgetState } from \"../widgets/WidgetState\";\nimport { InternalFrontstageManager } from \"./InternalFrontstageManager\";\nimport { InternalContentDialogManager } from \"../dialog/InternalContentDialogManager\";\n\n/** @internal */\nexport interface FrontstageEventArgs {\n frontstageDef: FrontstageDef;\n}\n\n/** @internal */\nexport interface FrontstageNineZoneStateChangedEventArgs\n extends FrontstageEventArgs {\n state: NineZoneState | undefined;\n}\n\n/** FrontstageDef class provides an API for a Frontstage.\n * @public\n */\nexport class FrontstageDef {\n private _id: string = \"\";\n private _initialConfig?: FrontstageConfig;\n private _isStageClosing = false;\n private _isReady = false;\n private _isApplicationClosing = false;\n private _usage?: string;\n private _version: number = 0;\n private _toolSettings?: WidgetDef;\n private _statusBar?: WidgetDef;\n private _contentManipulation?: WidgetDef;\n private _viewNavigation?: WidgetDef;\n private _topPanel?: StagePanelDef;\n private _leftPanel?: StagePanelDef;\n private _rightPanel?: StagePanelDef;\n private _bottomPanel?: StagePanelDef;\n private _contentLayoutDef?: ContentLayoutDef;\n private _contentGroup?: ContentGroup;\n private _frontstageProvider?: FrontstageProvider;\n private _timeTracker = new TimeTracker();\n private _nineZoneState?: NineZoneState;\n private _contentGroupProvider?: ContentGroupProvider;\n private _floatingContentControls?: ContentControl[];\n private _savedWidgetDefs?: SavedWidgets;\n private _toolAdminDefaultToolId?: string;\n\n public get id(): string {\n return this._id;\n }\n public get usage(): string {\n return this._usage !== undefined ? this._usage : StageUsage.General;\n }\n public get version(): number {\n return this._version;\n }\n public get contentGroupProvider(): ContentGroupProvider | undefined {\n return this._contentGroupProvider;\n }\n public get floatingContentControls() {\n return this._floatingContentControls;\n }\n\n public get toolSettings(): WidgetDef | undefined {\n return this._toolSettings;\n }\n public get statusBar(): WidgetDef | undefined {\n return this._statusBar;\n }\n public get contentManipulation(): WidgetDef | undefined {\n return this._contentManipulation;\n }\n public get viewNavigation(): WidgetDef | undefined {\n return this._viewNavigation;\n }\n\n public get topPanel(): StagePanelDef | undefined {\n return this._topPanel;\n }\n public get leftPanel(): StagePanelDef | undefined {\n return this._leftPanel;\n }\n public get rightPanel(): StagePanelDef | undefined {\n return this._rightPanel;\n }\n public get bottomPanel(): StagePanelDef | undefined {\n return this._bottomPanel;\n }\n\n public get contentLayoutDef(): ContentLayoutDef | undefined {\n return this._contentLayoutDef;\n }\n public get contentGroup(): ContentGroup | undefined {\n return this._contentGroup;\n }\n public get frontstageProvider(): FrontstageProvider | undefined {\n return this._frontstageProvider;\n }\n\n private toStagePanelLocation(side: PanelSide): StagePanelLocation {\n switch (side) {\n case \"bottom\":\n return StagePanelLocation.Bottom;\n case \"left\":\n return StagePanelLocation.Left;\n case \"right\":\n return StagePanelLocation.Right;\n case \"top\":\n return StagePanelLocation.Top;\n }\n }\n\n private populateStateMaps(\n nineZone: NineZoneState,\n panelMap: Map<StagePanelDef, StagePanelState>,\n widgetMap: Map<WidgetDef, WidgetState>\n ) {\n for (const panelSide of panelSides) {\n const panel = nineZone.panels[panelSide];\n const location = this.toStagePanelLocation(panelSide);\n const panelDef = this.getStagePanelDef(location);\n if (panelDef) {\n const panelState = panel.collapsed\n ? StagePanelState.Minimized\n : StagePanelState.Open;\n panelMap.set(panelDef, panelState);\n }\n for (const widgetId of panel.widgets) {\n const widget = nineZone.widgets[widgetId];\n // istanbul ignore else\n if (widget) {\n for (const tabId of widget.tabs) {\n const widgetDef = this.findWidgetDef(tabId);\n if (widgetDef) {\n let widgetState = WidgetState.Open;\n if (widget.minimized || tabId !== widget.activeTabId)\n widgetState = WidgetState.Closed;\n widgetMap.set(widgetDef, widgetState);\n }\n }\n }\n }\n }\n // istanbul ignore next\n for (const widgetId of nineZone.floatingWidgets.allIds) {\n const widget = nineZone.widgets[widgetId];\n if (widget) {\n for (const tabId of widget.tabs) {\n const widgetDef = this.findWidgetDef(tabId);\n if (widgetDef) {\n let widgetState = WidgetState.Open;\n if (widget.minimized || tabId !== widget.activeTabId)\n widgetState = WidgetState.Closed;\n widgetMap.set(widgetDef, widgetState);\n }\n }\n }\n }\n }\n\n private triggerStateChangeEventForWidgetsAndPanels(\n state: NineZoneState | undefined\n ) {\n // istanbul ignore else\n if (!(this._isStageClosing || this._isApplicationClosing)) {\n if (state) {\n const originalPanelStateMap = new Map<StagePanelDef, StagePanelState>();\n const originalWidgetStateMap = new Map<WidgetDef, WidgetState>();\n const newPanelStateMap = new Map<StagePanelDef, StagePanelState>();\n const newWidgetStateMap = new Map<WidgetDef, WidgetState>();\n this._nineZoneState &&\n this.populateStateMaps(\n this._nineZoneState,\n originalPanelStateMap,\n originalWidgetStateMap\n );\n this.populateStateMaps(state, newPanelStateMap, newWidgetStateMap);\n\n // set internal state value before triggering events\n this._nineZoneState = state;\n\n // now walk and trigger set state events\n newWidgetStateMap.forEach((stateValue, widgetDef) => {\n const originalState = originalWidgetStateMap.get(widgetDef);\n if (originalState !== stateValue) {\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({\n widgetDef,\n widgetState: stateValue,\n });\n widgetDef.onWidgetStateChanged();\n }\n });\n newPanelStateMap.forEach((stateValue, panelDef) => {\n const originalState = originalPanelStateMap.get(panelDef);\n if (originalState !== stateValue) {\n UiFramework.frontstages.onPanelStateChangedEvent.emit({\n panelDef,\n panelState: stateValue,\n });\n }\n });\n\n for (const panelSide of panelSides) {\n const panel = state.panels[panelSide];\n const location = this.toStagePanelLocation(panelSide);\n const panelDef = this.getStagePanelDef(location);\n if (panelDef) {\n panelDef.size = panel.size;\n panelDef.pinned = panel.pinned;\n }\n }\n } else {\n this._nineZoneState = state;\n }\n }\n }\n\n /** @internal */\n public get nineZoneState(): NineZoneState | undefined {\n return this._nineZoneState;\n }\n public set nineZoneState(state: NineZoneState | undefined) {\n if (this._nineZoneState === state) return;\n\n if (!this._nineZoneState) {\n this._nineZoneState = state;\n } else {\n this.triggerStateChangeEventForWidgetsAndPanels(state);\n }\n\n // istanbul ignore next - don't trigger any side effects until stage \"isReady\"\n if (!(this._isStageClosing || this._isApplicationClosing) || this.isReady) {\n InternalFrontstageManager.onFrontstageNineZoneStateChangedEvent.emit({\n frontstageDef: this,\n state,\n });\n }\n }\n\n /** @internal */\n public get savedWidgetDefs() {\n return this._savedWidgetDefs;\n }\n public set savedWidgetDefs(widgets: SavedWidgets | undefined) {\n this._savedWidgetDefs = widgets;\n }\n\n /** @internal */\n public get timeTracker(): TimeTracker {\n return this._timeTracker;\n }\n\n /** Created a [[FrontstageDef]] and initialize it */\n public static async create(provider: FrontstageProvider) {\n const def = new FrontstageDef();\n def._frontstageProvider = provider;\n\n const config = provider.frontstageConfig();\n await def.initializeFromConfig(config);\n\n return def;\n }\n\n /** Handles when the Frontstage becomes activated */\n protected async _onActivated() {}\n\n /** Handles when the Frontstage becomes activated */\n public async onActivated() {\n this.updateWidgetDefs();\n\n const provider = this._contentGroupProvider;\n if (provider && this._initialConfig) {\n this._contentGroup = await provider.contentGroup(this._initialConfig);\n }\n\n // istanbul ignore next\n if (!this._contentGroup)\n throw new UiError(\n UiFramework.loggerCategory(this),\n `onActivated: Content Group not defined`\n );\n\n this._contentLayoutDef = UiFramework.content.layouts.getForGroup(\n this._contentGroup\n );\n UiFramework.frontstages.onContentLayoutActivatedEvent.emit({\n contentLayout: this._contentLayoutDef,\n contentGroup: this._contentGroup,\n });\n\n this._timeTracker.startTiming();\n await this._onActivated();\n }\n\n /** Handles when the Frontstage becomes inactive */\n protected async _onDeactivated() {}\n\n /** Handles when the Frontstage becomes inactive */\n public async onDeactivated() {\n for (const control of this._widgetControls) {\n control.onFrontstageDeactivated();\n }\n\n for (const control of this.contentControls) {\n control.onFrontstageDeactivated();\n }\n\n // istanbul ignore else\n if (this.contentGroup) this.contentGroup.onFrontstageDeactivated();\n // istanbul ignore next\n if (this.contentGroupProvider)\n await this.contentGroupProvider.onFrontstageDeactivated();\n\n this._timeTracker.stopTiming();\n\n this._isStageClosing = true; // this keeps widgets in child windows from automatically re-docking\n UiFramework.childWindows.closeAll();\n\n if (this._floatingContentControls) {\n InternalContentDialogManager.closeAll();\n this._floatingContentControls = undefined;\n }\n\n if (this._toolAdminDefaultToolId) {\n IModelApp.toolAdmin.defaultToolId = this._toolAdminDefaultToolId;\n this._toolAdminDefaultToolId = undefined;\n }\n\n await this._onDeactivated();\n this._isStageClosing = false;\n }\n\n /** @internal */\n public setIsApplicationClosing(value: boolean) {\n this._isApplicationClosing = value;\n }\n\n /** Returns once the contained widgets and content controls are ready to use */\n public async waitUntilReady(): Promise<void> {\n this._isReady = false;\n // create an array of control-ready promises\n const controlReadyPromises = new Array<Promise<void>>();\n this._widgetControls.forEach((control: WidgetControl) => {\n controlReadyPromises.push(control.isReady);\n });\n\n // istanbul ignore else\n if (this.contentLayoutDef) {\n const usedContentIndexes = this.contentLayoutDef.getUsedContentIndexes();\n this.contentControls.forEach((control: ContentControl, index: number) => {\n // istanbul ignore else\n if (usedContentIndexes.includes(index))\n controlReadyPromises.push(control.isReady);\n });\n }\n\n await Promise.all(controlReadyPromises);\n // Frontstage ready\n this._isReady = true;\n }\n\n /** Handles when the Frontstage becomes active */\n protected _onFrontstageReady(): void {}\n\n /** Handles when the Frontstage becomes active */\n public onFrontstageReady(): void {\n for (const control of this._widgetControls) {\n control.onFrontstageReady();\n }\n\n for (const control of this.contentControls) {\n control.onFrontstageReady();\n }\n\n // istanbul ignore else\n if (this.contentGroup) this.contentGroup.onFrontstageReady();\n\n if (IModelApp.toolAdmin && IModelApp.viewManager && this._initialConfig) {\n const defaultTool = this._initialConfig.defaultTool;\n if (defaultTool) {\n this._toolAdminDefaultToolId = IModelApp.toolAdmin.defaultToolId;\n IModelApp.toolAdmin.defaultToolId = defaultTool;\n void IModelApp.tools.run(defaultTool);\n } else {\n void IModelApp.toolAdmin.startDefaultTool();\n }\n }\n\n this._onFrontstageReady();\n }\n\n /** Sets the Content Layout and Content Group */\n public setContentLayoutAndGroup(\n contentLayoutDef: ContentLayoutDef,\n contentGroup: ContentGroup\n ): void {\n this._contentLayoutDef = contentLayoutDef;\n this._contentGroup = contentGroup;\n }\n\n /** Sets the active view content control to the default or first */\n public async setActiveContent(): Promise<boolean> {\n let contentControl: ContentControl | undefined;\n let activated = false;\n\n // istanbul ignore else\n if (!contentControl && this.contentControls.length >= 0) {\n contentControl = this.contentControls[0];\n }\n\n if (contentControl) {\n UiFramework.content.setActive(contentControl.reactNode, true);\n if (contentControl.viewport) {\n const status = await IModelApp.viewManager.setSelectedView(\n contentControl.viewport\n );\n activated = status === BentleyStatus.SUCCESS;\n }\n }\n\n return activated;\n }\n\n /** Sets the active view content control */\n public setActiveView(\n newContent: ContentControl,\n oldContent?: ContentControl\n ): void {\n if (oldContent) oldContent.onDeactivated();\n newContent.onActivated();\n UiFramework.frontstages.onContentControlActivatedEvent.emit({\n activeContentControl: newContent,\n oldContentControl: oldContent,\n });\n }\n\n /** Sets the active view content control based on the selected viewport. */\n public setActiveViewFromViewport(viewport: ScreenViewport): boolean {\n const contentControl = this.contentControls.find(\n (control: ContentControl) => control.viewport === viewport\n );\n // istanbul ignore else\n if (contentControl) {\n UiFramework.content.setActive(contentControl.reactNode, true);\n return true;\n }\n\n // istanbul ignore next\n return false;\n }\n\n /** Gets a [[StagePanelDef]] based on a given panel location\n * @beta\n */\n public getStagePanelDef(\n location: StagePanelLocation\n ): StagePanelDef | undefined {\n let panelDef: StagePanelDef | undefined;\n\n switch (location) {\n case StagePanelLocation.Top:\n panelDef = this.topPanel;\n break;\n case StagePanelLocation.Left:\n panelDef = this.leftPanel;\n break;\n case StagePanelLocation.Right:\n panelDef = this.rightPanel;\n break;\n case StagePanelLocation.Bottom:\n panelDef = this.bottomPanel;\n break;\n }\n\n // Panels can be undefined in a Frontstage\n\n return panelDef;\n }\n\n /** Gets a list of [[StagePanelDef]]s\n * @beta\n */\n public get panelDefs(): StagePanelDef[] {\n const locations = [\n StagePanelLocation.Left,\n StagePanelLocation.Right,\n StagePanelLocation.Top,\n StagePanelLocation.Bottom,\n ];\n const panels: StagePanelDef[] = [];\n\n locations.forEach((location: StagePanelLocation) => {\n const panel = this.getStagePanelDef(location);\n if (panel) panels.push(panel);\n });\n\n return panels;\n }\n\n /** Finds a [[WidgetDef]] based on a given id */\n public findWidgetDef(id: string): WidgetDef | undefined {\n for (const widgetDef of this.widgetDefs) {\n if (widgetDef.id === id) return widgetDef;\n }\n return undefined;\n }\n\n /** Gets the list of [[WidgetControl]]s */\n private get _widgetControls(): WidgetControl[] {\n const widgetControls = new Array<WidgetControl>();\n\n this.panelDefs.forEach((panelDef: StagePanelDef) => {\n panelDef.widgetDefs.forEach((widgetDef: WidgetDef) => {\n const widgetControl = widgetDef.widgetControl;\n // istanbul ignore if\n if (widgetControl) widgetControls.push(widgetControl);\n });\n });\n\n return widgetControls;\n }\n\n public addFloatingContentControl(contentControl?: ContentControl) {\n // istanbul ignore next\n if (!contentControl) return;\n if (!this._floatingContentControls)\n this._floatingContentControls = new Array<ContentControl>();\n\n this._floatingContentControls.push(contentControl);\n UiFramework.content.onAvailableContentChangedEvent.emit({\n contentId: contentControl.uniqueId,\n });\n }\n\n public dropFloatingContentControl(contentControl?: ContentControl) {\n // istanbul ignore next\n if (!contentControl || !this._floatingContentControls) return;\n\n const index = this._floatingContentControls.indexOf(contentControl);\n // istanbul ignore else\n if (index > -1) {\n this._floatingContentControls.splice(index, 1);\n UiFramework.content.onAvailableContentChangedEvent.emit({\n contentId: contentControl.uniqueId,\n });\n }\n }\n\n /** Gets the list of [[ContentControl]]s */\n public get contentControls(): ContentControl[] {\n const contentControls = new Array<ContentControl>();\n // istanbul ignore else\n if (this.contentGroup) {\n contentControls.push(...this.contentGroup.getContentControls());\n }\n if (this._floatingContentControls) {\n contentControls.push(...this._floatingContentControls);\n }\n return contentControls;\n }\n\n /** Initializes a FrontstageDef from FrontstageConfig.\n * @internal\n */\n public async initializeFromConfig(config: FrontstageConfig): Promise<void> {\n this._id = config.id;\n this._initialConfig = config;\n\n if (config.contentGroup instanceof ContentGroupProvider) {\n this._contentGroupProvider = config.contentGroup;\n } else {\n this._contentGroup = config.contentGroup;\n }\n\n this._usage = config.usage;\n this._version = config.version;\n\n this._toolSettings = createWidgetDef(\n config.toolSettings,\n WidgetType.ToolSettings\n );\n this._statusBar = createWidgetDef(config.statusBar, WidgetType.StatusBar);\n this._contentManipulation = createWidgetDef(\n config.contentManipulation,\n WidgetType.Tool\n );\n this._viewNavigation = createWidgetDef(\n config.viewNavigation,\n WidgetType.Navigation\n );\n this._topPanel = createStagePanelDef(config, StagePanelLocation.Top);\n this._leftPanel = createStagePanelDef(config, StagePanelLocation.Left);\n this._rightPanel = createStagePanelDef(config, StagePanelLocation.Right);\n this._bottomPanel = createStagePanelDef(config, StagePanelLocation.Bottom);\n }\n\n /** @internal */\n public updateWidgetDefs(): void {\n // Tracks provided widgets to prevent duplicates.\n const allStageWidgetDefs: WidgetDef[] = [];\n\n // Process panels before zones so extension can explicitly target a widget for a StagePanelSection\n this.panelDefs.forEach((stagePanelDef: StagePanelDef) => {\n stagePanelDef.updateDynamicWidgetDefs(\n this.id,\n this.usage,\n stagePanelDef.location,\n undefined,\n allStageWidgetDefs\n );\n });\n }\n\n /** @beta */\n public restoreLayout() {\n for (const panelDef of this.panelDefs) {\n panelDef.size = panelDef.defaultSize;\n panelDef.panelState = panelDef.defaultState;\n }\n for (const widgetDef of this.widgetDefs) {\n widgetDef.setWidgetState(widgetDef.defaultState);\n }\n InternalFrontstageManager.onFrontstageRestoreLayoutEvent.emit({\n frontstageDef: this,\n });\n }\n\n /** Used only in UI 2.0 to determine WidgetState from NinezoneState\n * @internal\n */\n public getWidgetCurrentState(widgetDef: WidgetDef): WidgetState | undefined {\n // istanbul ignore else\n if (this.nineZoneState) {\n const location = getTabLocation(this.nineZoneState, widgetDef.id);\n // istanbul ignore next\n if (!location) return WidgetState.Hidden;\n\n if (isFloatingTabLocation(location)) {\n const floatingWidget =\n this.nineZoneState.floatingWidgets.byId[location.floatingWidgetId];\n if (floatingWidget && floatingWidget.hidden) return WidgetState.Hidden;\n else return WidgetState.Floating;\n }\n\n let collapsedPanel = false;\n // istanbul ignore else\n if (\"side\" in location) {\n const panel = this.nineZoneState.panels[location.side];\n collapsedPanel =\n panel.collapsed || undefined === panel.size || 0 === panel.size;\n }\n const widgetContainer = this.nineZoneState.widgets[location.widgetId];\n if (widgetDef.id === widgetContainer.activeTabId && !collapsedPanel)\n return WidgetState.Open;\n else return WidgetState.Closed;\n }\n return widgetDef.defaultState;\n }\n\n /** Used only in UI 2.0 to determine StagePanelState and size from NinezoneState\n * @internal\n */\n public getPanelCurrentState(\n panelDef: StagePanelDef\n ): [StagePanelState, number, boolean] {\n // istanbul ignore next\n if (this.nineZoneState) {\n const side = toPanelSide(panelDef.location);\n const panel = this.nineZoneState.panels[side];\n if (panel)\n return [\n panel.collapsed ? StagePanelState.Minimized : StagePanelState.Open,\n panel.size ?? 0,\n panel.pinned,\n ];\n return [StagePanelState.Off, 0, false];\n }\n return [panelDef.defaultState, panelDef.defaultSize ?? 0, true];\n }\n\n public isPopoutWidget(widgetId: string) {\n // istanbul ignore else\n if (this.nineZoneState) {\n const location = getTabLocation(this.nineZoneState, widgetId);\n // istanbul ignore else\n if (location) return isPopoutTabLocation(location);\n }\n\n return false;\n }\n\n public isFloatingWidget(widgetId: string) {\n // istanbul ignore else\n if (this.nineZoneState) {\n const location = getTabLocation(this.nineZoneState, widgetId);\n // istanbul ignore else\n if (location) return isFloatingTabLocation(location);\n }\n\n return false;\n }\n\n /** Create a new floating panel that contains the widget specified by its Id. Supported only when in\n * UI 2.0 or higher.\n * @param widgetId case sensitive Widget Id\n * @param point Position of top left corner of floating panel in pixels. If undefined {x:50, y:100} is used.\n * @param size defines the width and height of the floating panel. If undefined and widget has been floated before\n * the previous size is used, else {height:400, width:400} is used.\n * @beta\n */\n public floatWidget(widgetId: string, point?: PointProps, size?: SizeProps) {\n // istanbul ignore else\n if (this.nineZoneState) {\n const location = getTabLocation(this.nineZoneState, widgetId);\n if (location) {\n let popoutWidgetContainerId: string | undefined;\n if (isPopoutTabLocation(location)) {\n popoutWidgetContainerId = location.popoutWidgetId;\n }\n const state = floatWidget(this.nineZoneState, widgetId, point, size);\n // istanbul ignore else\n if (state) {\n this.nineZoneState = state;\n setTimeout(() => {\n popoutWidgetContainerId &&\n UiFramework.childWindows.close(popoutWidgetContainerId, true);\n }, 600);\n }\n }\n }\n }\n /** Check widget and panel state to determine whether the widget is currently displayed\n * @param widgetId case-sensitive Widget Id\n * @public\n */\n public isWidgetDisplayed(widgetId: string) {\n let widgetIsVisible = false;\n // istanbul ignore else\n if (this.nineZoneState) {\n const tabLocation = getTabLocation(this.nineZoneState, widgetId);\n // istanbul ignore else\n if (tabLocation) {\n if (isFloatingTabLocation(tabLocation)) {\n const floatingWidget =\n this.nineZoneState.floatingWidgets.byId[\n tabLocation.floatingWidgetId\n ];\n // istanbul ignore else\n if (!!!floatingWidget.hidden) widgetIsVisible = true;\n } else if (isPopoutTabLocation(tabLocation)) {\n widgetIsVisible = true;\n } else {\n // istanbul ignore else\n if (isPanelTabLocation(tabLocation)) {\n const panel = this.nineZoneState.panels[tabLocation.side];\n const widgetDef = this.findWidgetDef(widgetId);\n if (\n widgetDef &&\n widgetDef.state === WidgetState.Open &&\n !panel.collapsed\n )\n widgetIsVisible = true;\n }\n }\n }\n }\n return widgetIsVisible;\n }\n\n /** Opens window for specified PopoutWidget container. Used to reopen popout when running in Electron.\n * @internal */\n public openPopoutWidgetContainer(\n state: NineZoneState,\n widgetContainerId: string\n ) {\n const location = getWidgetLocation(state, widgetContainerId);\n // istanbul ignore next\n if (!location) return;\n // istanbul ignore next\n if (!isPopoutWidgetLocation(location)) return;\n\n const widget = state.widgets[widgetContainerId];\n const popoutWidget = state.popoutWidgets.byId[location.popoutWidgetId];\n\n // Popout widget should only contain a single tab.\n // istanbul ignore next\n if (widget.tabs.length !== 1) return;\n\n const tabId = widget.tabs[0];\n const widgetDef = this.findWidgetDef(tabId);\n // istanbul ignore next\n if (!widgetDef) return;\n\n const popoutContent = (\n <PopoutWidget\n widgetContainerId={widgetContainerId}\n widgetDef={widgetDef}\n />\n );\n const bounds = Rectangle.create(popoutWidget.bounds);\n\n const position: ChildWindowLocationProps = {\n width: bounds.getWidth(),\n height: bounds.getHeight(),\n left: bounds.left,\n top: bounds.top,\n };\n UiFramework.childWindows.open(\n widgetContainerId,\n widgetDef.label,\n popoutContent,\n position,\n UiFramework.useDefaultPopoutUrl\n );\n }\n\n /** Create a new popout/child window that contains the widget specified by its Id. Supported only when in\n * UI 2.0 or higher.\n * @param widgetId case sensitive Widget Id\n * @param point Position of top left corner of floating panel in pixels. If undefined {x:0, y:0} is used.\n * @param size defines the width and height of the floating panel. If undefined and widget has been floated before\n * the previous size is used, else {height:800, width:600} is used.\n * @beta\n */\n public popoutWidget(widgetId: string, point?: PointProps, size?: SizeProps) {\n // istanbul ignore next\n if (!this.nineZoneState) return;\n\n let location = getTabLocation(this.nineZoneState, widgetId);\n if (!location || isPopoutTabLocation(location)) return;\n\n const widgetDef = this.findWidgetDef(widgetId);\n // istanbul ignore next\n if (!widgetDef) return;\n\n // get the state to apply that will pop-out the specified WidgetTab to child window.\n let preferredBounds = Rectangle.createFromSize({ height: 800, width: 600 });\n // istanbul ignore next\n if (widgetDef.popoutBounds) preferredBounds = widgetDef.popoutBounds;\n if (size) preferredBounds = preferredBounds.setSize(size);\n if (point) preferredBounds = preferredBounds.setPosition(point);\n\n const state = popoutWidgetToChildWindow(\n this.nineZoneState,\n widgetId,\n preferredBounds\n );\n this.nineZoneState = state;\n\n // now that the state is updated get the id of the container that houses the widgetTab/widgetId\n location = getTabLocation(state, widgetId);\n assert(!!location && isPopoutTabLocation(location));\n\n const widgetContainerId = location.widgetId;\n const popoutWidget = state.popoutWidgets.byId[widgetContainerId];\n const bounds = Rectangle.create(popoutWidget.bounds);\n\n setTimeout(() => {\n const popoutContent = (\n <PopoutWidget\n widgetContainerId={widgetContainerId}\n widgetDef={widgetDef}\n />\n );\n const position: ChildWindowLocationProps = {\n width: bounds.getWidth(),\n height: bounds.getHeight(),\n left: bounds.left,\n top: bounds.top,\n };\n UiFramework.childWindows.open(\n widgetContainerId,\n widgetDef.label,\n popoutContent,\n position,\n UiFramework.useDefaultPopoutUrl\n );\n });\n }\n\n public get isStageClosing() {\n return this._isStageClosing;\n }\n\n public get isApplicationClosing() {\n return this._isApplicationClosing;\n }\n\n public get isReady() {\n return this._isReady;\n }\n\n /** @internal */\n public saveChildWindowSizeAndPosition(\n childWindowId: string,\n childWindow: Window\n ) {\n if (!this.nineZoneState) return;\n\n const location = getWidgetLocation(this.nineZoneState, childWindowId);\n if (!location || !isPopoutWidgetLocation(location)) return;\n\n const widget = this.nineZoneState.widgets[location.popoutWidgetId];\n const tabId = widget.tabs[0];\n const widgetDef = this.findWidgetDef(tabId);\n if (!widgetDef) return;\n\n const adjustmentWidth = ProcessDetector.isElectronAppFrontend ? 16 : 0;\n const adjustmentHeight = ProcessDetector.isElectronAppFrontend ? 39 : 0;\n\n const width = childWindow.innerWidth + adjustmentWidth;\n const height = childWindow.innerHeight + adjustmentHeight;\n const bounds = Rectangle.createFromSize({ width, height }).offset({\n x: childWindow.screenX,\n y: childWindow.screenY,\n });\n widgetDef.popoutBounds = bounds;\n }\n\n /** Method used to possibly change a Popout Widget back to a docked widget if the user was the one closing the popout's child\n * window.\n * @internal\n */\n public dockPopoutWidgetContainer(widgetContainerId: string) {\n if (!this.nineZoneState) return;\n\n // Make sure the widgetContainerId is still in popout state. We don't want to set it to docked if the window is being closed because\n // an API call has moved the widget from a popout state to a floating state.\n // istanbul ignore else\n const location = getWidgetLocation(this.nineZoneState, widgetContainerId);\n if (!location || !isPopoutWidgetLocation(location)) return;\n\n const state = dockWidgetContainer(\n this.nineZoneState,\n widgetContainerId,\n true\n );\n this.nineZoneState = state;\n }\n\n /** Finds the container with the specified widget and re-docks all widgets\n * back to the panel zone location that was used when the floating container\n * was generated. Supported only when in UI 2.0 or higher.\n * @param widgetId case sensitive Widget Id.\n * @beta\n */\n public dockWidgetContainer(widgetId: string) {\n // istanbul ignore else\n if (this.nineZoneState) {\n const location = getTabLocation(this.nineZoneState, widgetId);\n if (location) {\n const widgetContainerId = location.widgetId;\n const state = dockWidgetContainer(\n this.nineZoneState,\n widgetContainerId,\n true\n );\n state && (this.nineZoneState = state);\n if (isPopoutTabLocation(location)) {\n UiFramework.childWindows.close(location.widgetId, true);\n }\n }\n }\n }\n\n public setFloatingWidgetContainerBounds(\n floatingWidgetId: string,\n bounds: RectangleProps\n ) {\n if (\n !this.nineZoneState ||\n !(floatingWidgetId in this.nineZoneState.floatingWidgets.byId)\n )\n return false;\n\n let state = FrameworkStateReducer(\n this.nineZoneState,\n {\n type: \"FLOATING_WIDGET_SET_BOUNDS\",\n id: floatingWidgetId,\n bounds,\n },\n this\n );\n state = FrameworkStateReducer(\n state,\n {\n type: \"FLOATING_WIDGET_SET_USER_SIZED\",\n id: floatingWidgetId,\n userSized: true,\n },\n this\n );\n this.nineZoneState = state;\n return true;\n }\n\n public getFloatingWidgetContainerIds(): string[] {\n if (!this.nineZoneState) return [];\n\n return [...this.nineZoneState.floatingWidgets.allIds];\n }\n\n public getFloatingWidgetContainerIdByWidgetId(\n widgetId: string\n ): string | undefined {\n if (!this.nineZoneState) return undefined;\n\n const location = getTabLocation(this.nineZoneState, widgetId);\n // istanbul ignore else\n if (location && isFloatingTabLocation(location)) {\n return location.floatingWidgetId;\n }\n // istanbul ignore next\n return undefined;\n }\n\n public getFloatingWidgetContainerBounds(\n floatingWidgetId: string | undefined\n ) {\n if (!floatingWidgetId) return undefined;\n\n // istanbul ignore else\n if (\n this.nineZoneState &&\n floatingWidgetId in this.nineZoneState.floatingWidgets.byId\n ) {\n const foundWidget = document.querySelector(\n `div.nz-widget-floatingWidget[data-widget-id='${floatingWidgetId}']`\n );\n // istanbul ignore next\n if (foundWidget) {\n const domRect = foundWidget.getBoundingClientRect();\n return {\n left: domRect.left,\n right: domRect.right,\n top: domRect.top,\n bottom: domRect.bottom,\n };\n }\n return this.nineZoneState.floatingWidgets.byId[floatingWidgetId].bounds;\n }\n return undefined;\n }\n\n private *_widgetDefs(): Iterator<WidgetDef> {\n for (const panelDef of this.panelDefs) {\n for (const widgetDef of panelDef.widgetDefs) {\n yield widgetDef;\n }\n }\n\n return undefined;\n }\n\n /** Iterable of all widget definitions in a frontstage.\n * @internal\n */\n public get widgetDefs() {\n const defs = this._widgetDefs();\n return {\n [Symbol.iterator]() {\n return defs;\n },\n };\n }\n}\n\nfunction createWidgetDef(\n config: WidgetConfig | undefined,\n type: WidgetType\n): WidgetDef | undefined {\n if (!config) return undefined;\n\n const widgetDef = WidgetDef.create(config, type);\n return widgetDef;\n}\n\nfunction createStagePanelDef(\n frontstageConfig: FrontstageConfig,\n location: StagePanelLocation\n): StagePanelDef {\n const config = getStagePanel(location, frontstageConfig);\n\n const panelDef = new StagePanelDef();\n panelDef.initializeFromConfig(config, location);\n return panelDef;\n}\n\nfunction getStagePanel(\n location: StagePanelLocation,\n config: FrontstageConfig\n): StagePanelConfig | undefined {\n switch (location) {\n case StagePanelLocation.Top:\n return config.topPanel;\n case StagePanelLocation.Left:\n return config.leftPanel;\n case StagePanelLocation.Right:\n return config.rightPanel;\n case StagePanelLocation.Bottom:\n return config.bottomPanel;\n }\n}\n\n/** Hook that returns active frontstage id.\n * @public\n */\nexport const useActiveFrontstageId = () => {\n const def = useActiveFrontstageDef();\n const id = React.useMemo(\n () => (def ? /* istanbul ignore next */ def.id : \"\"),\n [def]\n );\n return id;\n};\n\n/** Hook to return the active Frontstage def */\n/** @public */\nexport function useActiveFrontstageDef() {\n const [def, setDef] = React.useState(\n UiFramework.frontstages.activeFrontstageDef\n );\n React.useEffect(() => {\n return UiFramework.frontstages.onFrontstageActivatedEvent.addListener(\n (args) => {\n setDef(args.activatedFrontstageDef);\n }\n );\n }, []);\n return def;\n}\n\n/** Hook that returns the widgetDef for a specific widgetId within the active frontstage.\n * @public\n */\nexport function useSpecificWidgetDef(widgetId: string) {\n const frontstageDef = useActiveFrontstageDef();\n return frontstageDef?.findWidgetDef(widgetId);\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
5
  /** @packageDocumentation
6
6
  * @module Frontstage
7
7
  */