@itwin/appui-react 4.0.0-dev.12 → 4.0.0-dev.14

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