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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1625) hide show
  1. package/CHANGELOG.md +2072 -2059
  2. package/LICENSE.md +9 -9
  3. package/README.md +21 -21
  4. package/lib/cjs/appui-react/UiFramework.d.ts +3 -3
  5. package/lib/cjs/appui-react/UiFramework.d.ts.map +1 -1
  6. package/lib/cjs/appui-react/UiFramework.js +82 -35
  7. package/lib/cjs/appui-react/UiFramework.js.map +1 -1
  8. package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.d.ts.map +1 -1
  9. package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.js +3 -3
  10. package/lib/cjs/appui-react/accudraw/AccuDrawCommandItems.js.map +1 -1
  11. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  12. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js +5 -5
  13. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
  14. package/lib/cjs/appui-react/accudraw/AccuDrawDialog.scss +6 -6
  15. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  16. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js +64 -31
  17. package/lib/cjs/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
  18. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts +1 -1
  19. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
  20. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js +3 -3
  21. package/lib/cjs/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
  22. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.js +3 -3
  23. package/lib/cjs/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
  24. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
  25. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js +11 -5
  26. package/lib/cjs/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  27. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.js +3 -3
  28. package/lib/cjs/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
  29. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  30. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.js +3 -3
  31. package/lib/cjs/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  32. package/lib/cjs/appui-react/accudraw/Calculator.d.ts.map +1 -1
  33. package/lib/cjs/appui-react/accudraw/Calculator.js +7 -9
  34. package/lib/cjs/appui-react/accudraw/Calculator.js.map +1 -1
  35. package/lib/cjs/appui-react/accudraw/Calculator.scss +4 -5
  36. package/lib/cjs/appui-react/accudraw/CalculatorEngine.d.ts.map +1 -1
  37. package/lib/cjs/appui-react/accudraw/CalculatorEngine.js +19 -12
  38. package/lib/cjs/appui-react/accudraw/CalculatorEngine.js.map +1 -1
  39. package/lib/cjs/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
  40. package/lib/cjs/appui-react/accudraw/CalculatorPopup.js +3 -3
  41. package/lib/cjs/appui-react/accudraw/CalculatorPopup.js.map +1 -1
  42. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
  43. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js +29 -11
  44. package/lib/cjs/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  45. package/lib/cjs/appui-react/accudraw/MenuButton.d.ts.map +1 -1
  46. package/lib/cjs/appui-react/accudraw/MenuButton.js +7 -5
  47. package/lib/cjs/appui-react/accudraw/MenuButton.js.map +1 -1
  48. package/lib/cjs/appui-react/accudraw/MenuButton.scss +6 -7
  49. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.d.ts.map +1 -1
  50. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.js +3 -3
  51. package/lib/cjs/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
  52. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts +2 -1
  53. package/lib/cjs/appui-react/accudraw/SquareButton.d.ts.map +1 -1
  54. package/lib/cjs/appui-react/accudraw/SquareButton.js +3 -3
  55. package/lib/cjs/appui-react/accudraw/SquareButton.js.map +1 -1
  56. package/lib/cjs/appui-react/accudraw/SquareButton.scss +4 -4
  57. package/lib/cjs/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  58. package/lib/cjs/appui-react/backstage/BackstageComposer.js +9 -20
  59. package/lib/cjs/appui-react/backstage/BackstageComposer.js.map +1 -1
  60. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts +2 -2
  61. package/lib/cjs/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  62. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js +7 -7
  63. package/lib/cjs/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  64. package/lib/cjs/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  65. package/lib/cjs/appui-react/backstage/BackstageItem.js +3 -3
  66. package/lib/cjs/appui-react/backstage/BackstageItem.js.map +1 -1
  67. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
  68. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js +3 -3
  69. package/lib/cjs/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
  70. package/lib/cjs/appui-react/backstage/BackstageItemsManager.d.ts.map +1 -1
  71. package/lib/cjs/appui-react/backstage/BackstageItemsManager.js +11 -12
  72. package/lib/cjs/appui-react/backstage/BackstageItemsManager.js.map +1 -1
  73. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts +1 -1
  74. package/lib/cjs/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  75. package/lib/cjs/appui-react/backstage/BackstageManager.js +7 -5
  76. package/lib/cjs/appui-react/backstage/BackstageManager.js.map +1 -1
  77. package/lib/cjs/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
  78. package/lib/cjs/appui-react/backstage/InternalBackstageManager.js +3 -3
  79. package/lib/cjs/appui-react/backstage/InternalBackstageManager.js.map +1 -1
  80. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.d.ts.map +1 -1
  81. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js +3 -3
  82. package/lib/cjs/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  83. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  84. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js +3 -3
  85. package/lib/cjs/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  86. package/lib/cjs/appui-react/childwindow/CopyStyles.d.ts.map +1 -1
  87. package/lib/cjs/appui-react/childwindow/CopyStyles.js +3 -3
  88. package/lib/cjs/appui-react/childwindow/CopyStyles.js.map +1 -1
  89. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  90. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js +11 -22
  91. package/lib/cjs/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  92. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts +1 -1
  93. package/lib/cjs/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  94. package/lib/cjs/appui-react/childwindow/PopoutWidget.js +4 -4
  95. package/lib/cjs/appui-react/childwindow/PopoutWidget.js.map +1 -1
  96. package/lib/cjs/appui-react/childwindow/PopoutWidget.scss +4 -4
  97. package/lib/cjs/appui-react/configurableui/ActivityTracker.d.ts.map +1 -1
  98. package/lib/cjs/appui-react/configurableui/ActivityTracker.js +6 -4
  99. package/lib/cjs/appui-react/configurableui/ActivityTracker.js.map +1 -1
  100. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  101. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js +7 -4
  102. package/lib/cjs/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  103. package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.d.ts.map +1 -1
  104. package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.js +26 -11
  105. package/lib/cjs/appui-react/configurableui/ConfigurableUiControl.js.map +1 -1
  106. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
  107. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
  108. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js +4 -4
  109. package/lib/cjs/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  110. package/lib/cjs/appui-react/configurableui/TimeTracker.d.ts.map +1 -1
  111. package/lib/cjs/appui-react/configurableui/TimeTracker.js +6 -4
  112. package/lib/cjs/appui-react/configurableui/TimeTracker.js.map +1 -1
  113. package/lib/cjs/appui-react/configurableui/state.d.ts.map +1 -1
  114. package/lib/cjs/appui-react/configurableui/state.js +3 -3
  115. package/lib/cjs/appui-react/configurableui/state.js.map +1 -1
  116. package/lib/cjs/appui-react/content/ContentControl.d.ts.map +1 -1
  117. package/lib/cjs/appui-react/content/ContentControl.js +17 -11
  118. package/lib/cjs/appui-react/content/ContentControl.js.map +1 -1
  119. package/lib/cjs/appui-react/content/ContentGroup.d.ts.map +1 -1
  120. package/lib/cjs/appui-react/content/ContentGroup.js +7 -5
  121. package/lib/cjs/appui-react/content/ContentGroup.js.map +1 -1
  122. package/lib/cjs/appui-react/content/ContentLayout.d.ts.map +1 -1
  123. package/lib/cjs/appui-react/content/ContentLayout.js +32 -27
  124. package/lib/cjs/appui-react/content/ContentLayout.js.map +1 -1
  125. package/lib/cjs/appui-react/content/ContentLayout.scss +10 -10
  126. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts +1 -1
  127. package/lib/cjs/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  128. package/lib/cjs/appui-react/content/DefaultViewOverlay.js +10 -7
  129. package/lib/cjs/appui-react/content/DefaultViewOverlay.js.map +1 -1
  130. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts +1 -1
  131. package/lib/cjs/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  132. package/lib/cjs/appui-react/content/FloatingViewportContent.js +8 -6
  133. package/lib/cjs/appui-react/content/FloatingViewportContent.js.map +1 -1
  134. package/lib/cjs/appui-react/content/IModelViewport.d.ts +1 -1
  135. package/lib/cjs/appui-react/content/IModelViewport.d.ts.map +1 -1
  136. package/lib/cjs/appui-react/content/IModelViewport.js +23 -16
  137. package/lib/cjs/appui-react/content/IModelViewport.js.map +1 -1
  138. package/lib/cjs/appui-react/content/InternalContentLayoutManager.d.ts.map +1 -1
  139. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js +16 -7
  140. package/lib/cjs/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  141. package/lib/cjs/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
  142. package/lib/cjs/appui-react/content/InternalContentViewManager.js +21 -15
  143. package/lib/cjs/appui-react/content/InternalContentViewManager.js.map +1 -1
  144. package/lib/cjs/appui-react/content/StageContentLayout.d.ts.map +1 -1
  145. package/lib/cjs/appui-react/content/StageContentLayout.js +7 -4
  146. package/lib/cjs/appui-react/content/StageContentLayout.js.map +1 -1
  147. package/lib/cjs/appui-react/content/ViewStateHelper.d.ts.map +1 -1
  148. package/lib/cjs/appui-react/content/ViewStateHelper.js +4 -4
  149. package/lib/cjs/appui-react/content/ViewStateHelper.js.map +1 -1
  150. package/lib/cjs/appui-react/content/ViewportContentControl.d.ts.map +1 -1
  151. package/lib/cjs/appui-react/content/ViewportContentControl.js +23 -10
  152. package/lib/cjs/appui-react/content/ViewportContentControl.js.map +1 -1
  153. package/lib/cjs/appui-react/content/split-pane/Pane.d.ts.map +1 -1
  154. package/lib/cjs/appui-react/content/split-pane/Pane.js +4 -4
  155. package/lib/cjs/appui-react/content/split-pane/Pane.js.map +1 -1
  156. package/lib/cjs/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  157. package/lib/cjs/appui-react/content/split-pane/Resizer.js +3 -3
  158. package/lib/cjs/appui-react/content/split-pane/Resizer.js.map +1 -1
  159. package/lib/cjs/appui-react/content/split-pane/SplitPane.d.ts.map +1 -1
  160. package/lib/cjs/appui-react/content/split-pane/SplitPane.js +28 -22
  161. package/lib/cjs/appui-react/content/split-pane/SplitPane.js.map +1 -1
  162. package/lib/cjs/appui-react/cursor/CursorInformation.d.ts.map +1 -1
  163. package/lib/cjs/appui-react/cursor/CursorInformation.js +18 -8
  164. package/lib/cjs/appui-react/cursor/CursorInformation.js.map +1 -1
  165. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
  166. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js +13 -7
  167. package/lib/cjs/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  168. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  169. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js +10 -10
  170. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  171. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopup.scss +3 -4
  172. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
  173. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js +21 -9
  174. package/lib/cjs/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  175. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
  176. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js +5 -5
  177. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
  178. package/lib/cjs/appui-react/cursor/cursorprompt/CursorPrompt.scss +6 -6
  179. package/lib/cjs/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  180. package/lib/cjs/appui-react/dialog/ContentDialog.js +12 -6
  181. package/lib/cjs/appui-react/dialog/ContentDialog.js.map +1 -1
  182. package/lib/cjs/appui-react/dialog/ContentDialog.scss +4 -4
  183. package/lib/cjs/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
  184. package/lib/cjs/appui-react/dialog/ContentDialogManager.js +3 -3
  185. package/lib/cjs/appui-react/dialog/ContentDialogManager.js.map +1 -1
  186. package/lib/cjs/appui-react/dialog/DialogManagerBase.d.ts.map +1 -1
  187. package/lib/cjs/appui-react/dialog/DialogManagerBase.js +21 -9
  188. package/lib/cjs/appui-react/dialog/DialogManagerBase.js.map +1 -1
  189. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts +1 -1
  190. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
  191. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js +22 -9
  192. package/lib/cjs/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  193. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
  194. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js +6 -4
  195. package/lib/cjs/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  196. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts +1 -1
  197. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
  198. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js +18 -8
  199. package/lib/cjs/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  200. package/lib/cjs/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
  201. package/lib/cjs/appui-react/dialog/ModalDialogManager.js +3 -3
  202. package/lib/cjs/appui-react/dialog/ModalDialogManager.js.map +1 -1
  203. package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts +1 -1
  204. package/lib/cjs/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
  205. package/lib/cjs/appui-react/dialog/ModelessDialog.js +8 -5
  206. package/lib/cjs/appui-react/dialog/ModelessDialog.js.map +1 -1
  207. package/lib/cjs/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
  208. package/lib/cjs/appui-react/dialog/ModelessDialogManager.js +3 -3
  209. package/lib/cjs/appui-react/dialog/ModelessDialogManager.js.map +1 -1
  210. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts +1 -1
  211. package/lib/cjs/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  212. package/lib/cjs/appui-react/dialog/StandardMessageBox.js +39 -9
  213. package/lib/cjs/appui-react/dialog/StandardMessageBox.js.map +1 -1
  214. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  215. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js +3 -3
  216. package/lib/cjs/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  217. package/lib/cjs/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  218. package/lib/cjs/appui-react/feedback/ElementTooltip.js +32 -11
  219. package/lib/cjs/appui-react/feedback/ElementTooltip.js.map +1 -1
  220. package/lib/cjs/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  221. package/lib/cjs/appui-react/feedback/ValidationTextbox.js +6 -4
  222. package/lib/cjs/appui-react/feedback/ValidationTextbox.js.map +1 -1
  223. package/lib/cjs/appui-react/framework/FrameworkBackstage.js +3 -3
  224. package/lib/cjs/appui-react/framework/FrameworkBackstage.js.map +1 -1
  225. package/lib/cjs/appui-react/framework/FrameworkChildWindows.d.ts.map +1 -1
  226. package/lib/cjs/appui-react/framework/FrameworkChildWindows.js +3 -3
  227. package/lib/cjs/appui-react/framework/FrameworkChildWindows.js.map +1 -1
  228. package/lib/cjs/appui-react/framework/FrameworkContent.d.ts.map +1 -1
  229. package/lib/cjs/appui-react/framework/FrameworkContent.js +3 -3
  230. package/lib/cjs/appui-react/framework/FrameworkContent.js.map +1 -1
  231. package/lib/cjs/appui-react/framework/FrameworkControls.d.ts.map +1 -1
  232. package/lib/cjs/appui-react/framework/FrameworkControls.js.map +1 -1
  233. package/lib/cjs/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
  234. package/lib/cjs/appui-react/framework/FrameworkDialogs.js.map +1 -1
  235. package/lib/cjs/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
  236. package/lib/cjs/appui-react/framework/FrameworkFrontstages.js +3 -3
  237. package/lib/cjs/appui-react/framework/FrameworkFrontstages.js.map +1 -1
  238. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
  239. package/lib/cjs/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
  240. package/lib/cjs/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
  241. package/lib/cjs/appui-react/framework/FrameworkToolSettings.js.map +1 -1
  242. package/lib/cjs/appui-react/framework/FrameworkVisibility.d.ts.map +1 -1
  243. package/lib/cjs/appui-react/framework/FrameworkVisibility.js.map +1 -1
  244. package/lib/cjs/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
  245. package/lib/cjs/appui-react/frontstage/FrontstageConfig.js +3 -3
  246. package/lib/cjs/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  247. package/lib/cjs/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  248. package/lib/cjs/appui-react/frontstage/FrontstageDef.js +117 -41
  249. package/lib/cjs/appui-react/frontstage/FrontstageDef.js.map +1 -1
  250. package/lib/cjs/appui-react/frontstage/FrontstageProvider.js +3 -3
  251. package/lib/cjs/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  252. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts +1 -1
  253. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
  254. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js +52 -20
  255. package/lib/cjs/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  256. package/lib/cjs/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  257. package/lib/cjs/appui-react/frontstage/ModalFrontstage.js +4 -5
  258. package/lib/cjs/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  259. package/lib/cjs/appui-react/frontstage/ModalFrontstage.scss +4 -4
  260. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  261. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js +14 -11
  262. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  263. package/lib/cjs/appui-react/frontstage/ModalSettingsStage.scss +4 -4
  264. package/lib/cjs/appui-react/frontstage/NestedFrontstage.d.ts.map +1 -1
  265. package/lib/cjs/appui-react/frontstage/NestedFrontstage.js +3 -3
  266. package/lib/cjs/appui-react/frontstage/NestedFrontstage.js.map +1 -1
  267. package/lib/cjs/appui-react/frontstage/StageUsage.js +3 -3
  268. package/lib/cjs/appui-react/frontstage/StageUsage.js.map +1 -1
  269. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  270. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js +19 -13
  271. package/lib/cjs/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  272. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
  273. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js +3 -3
  274. package/lib/cjs/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
  275. package/lib/cjs/appui-react/hooks/useActiveStageId.d.ts.map +1 -1
  276. package/lib/cjs/appui-react/hooks/useActiveStageId.js +3 -3
  277. package/lib/cjs/appui-react/hooks/useActiveStageId.js.map +1 -1
  278. package/lib/cjs/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
  279. package/lib/cjs/appui-react/hooks/useActiveViewport.js +8 -4
  280. package/lib/cjs/appui-react/hooks/useActiveViewport.js.map +1 -1
  281. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts.map +1 -1
  282. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
  283. package/lib/cjs/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  284. package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.d.ts.map +1 -1
  285. package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.js +3 -3
  286. package/lib/cjs/appui-react/hooks/useAvailableUiItemsProviders.js.map +1 -1
  287. package/lib/cjs/appui-react/hooks/useEscapeSetFocusToHome.js +3 -3
  288. package/lib/cjs/appui-react/hooks/useEscapeSetFocusToHome.js.map +1 -1
  289. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.d.ts.map +1 -1
  290. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
  291. package/lib/cjs/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  292. package/lib/cjs/appui-react/hooks/useSolarDataProvider.d.ts.map +1 -1
  293. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js +19 -10
  294. package/lib/cjs/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  295. package/lib/cjs/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
  296. package/lib/cjs/appui-react/hooks/useUiVisibility.js +4 -4
  297. package/lib/cjs/appui-react/hooks/useUiVisibility.js.map +1 -1
  298. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
  299. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
  300. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js +10 -6
  301. package/lib/cjs/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  302. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
  303. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js +24 -10
  304. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
  305. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
  306. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +7 -4
  307. package/lib/cjs/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  308. package/lib/cjs/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  309. package/lib/cjs/appui-react/messages/ActivityMessage.js +24 -12
  310. package/lib/cjs/appui-react/messages/ActivityMessage.js.map +1 -1
  311. package/lib/cjs/appui-react/messages/AppNotificationManager.d.ts.map +1 -1
  312. package/lib/cjs/appui-react/messages/AppNotificationManager.js +12 -6
  313. package/lib/cjs/appui-react/messages/AppNotificationManager.js.map +1 -1
  314. package/lib/cjs/appui-react/messages/HollowIcon.js +3 -3
  315. package/lib/cjs/appui-react/messages/HollowIcon.js.map +1 -1
  316. package/lib/cjs/appui-react/messages/InputField.d.ts.map +1 -1
  317. package/lib/cjs/appui-react/messages/InputField.js +13 -15
  318. package/lib/cjs/appui-react/messages/InputField.js.map +1 -1
  319. package/lib/cjs/appui-react/messages/InputField.scss +5 -6
  320. package/lib/cjs/appui-react/messages/MessageLabel.d.ts.map +1 -1
  321. package/lib/cjs/appui-react/messages/MessageLabel.js +3 -3
  322. package/lib/cjs/appui-react/messages/MessageLabel.js.map +1 -1
  323. package/lib/cjs/appui-react/messages/MessageManager.d.ts.map +1 -1
  324. package/lib/cjs/appui-react/messages/MessageManager.js +33 -16
  325. package/lib/cjs/appui-react/messages/MessageManager.js.map +1 -1
  326. package/lib/cjs/appui-react/messages/MessageSpan.d.ts.map +1 -1
  327. package/lib/cjs/appui-react/messages/MessageSpan.js +3 -3
  328. package/lib/cjs/appui-react/messages/MessageSpan.js.map +1 -1
  329. package/lib/cjs/appui-react/messages/Pointer.d.ts.map +1 -1
  330. package/lib/cjs/appui-react/messages/Pointer.js +9 -9
  331. package/lib/cjs/appui-react/messages/Pointer.js.map +1 -1
  332. package/lib/cjs/appui-react/messages/Pointer.scss +4 -4
  333. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  334. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.js +24 -10
  335. package/lib/cjs/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  336. package/lib/cjs/appui-react/messages/StatusMessageManager.d.ts.map +1 -1
  337. package/lib/cjs/appui-react/messages/StatusMessageManager.js +6 -4
  338. package/lib/cjs/appui-react/messages/StatusMessageManager.js.map +1 -1
  339. package/lib/cjs/appui-react/messages/getToastCategory.js +3 -3
  340. package/lib/cjs/appui-react/messages/getToastCategory.js.map +1 -1
  341. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  342. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js +7 -5
  343. package/lib/cjs/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  344. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  345. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js +7 -5
  346. package/lib/cjs/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  347. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
  348. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js +15 -7
  349. package/lib/cjs/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
  350. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  351. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js +39 -17
  352. package/lib/cjs/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  353. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
  354. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js +20 -9
  355. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  356. package/lib/cjs/appui-react/navigationaids/SheetsModalFrontstage.scss +4 -4
  357. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  358. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js +17 -10
  359. package/lib/cjs/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  360. package/lib/cjs/appui-react/pickers/ListPicker.d.ts.map +1 -1
  361. package/lib/cjs/appui-react/pickers/ListPicker.js +76 -30
  362. package/lib/cjs/appui-react/pickers/ListPicker.js.map +1 -1
  363. package/lib/cjs/appui-react/pickers/ListPicker.scss +4 -4
  364. package/lib/cjs/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  365. package/lib/cjs/appui-react/pickers/ViewSelector.js +34 -15
  366. package/lib/cjs/appui-react/pickers/ViewSelector.js.map +1 -1
  367. package/lib/cjs/appui-react/popup/CardPopup.d.ts.map +1 -1
  368. package/lib/cjs/appui-react/popup/CardPopup.js +11 -13
  369. package/lib/cjs/appui-react/popup/CardPopup.js.map +1 -1
  370. package/lib/cjs/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
  371. package/lib/cjs/appui-react/popup/HTMLElementPopup.js +3 -3
  372. package/lib/cjs/appui-react/popup/HTMLElementPopup.js.map +1 -1
  373. package/lib/cjs/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
  374. package/lib/cjs/appui-react/popup/InputEditorPopup.js +5 -4
  375. package/lib/cjs/appui-react/popup/InputEditorPopup.js.map +1 -1
  376. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts +1 -1
  377. package/lib/cjs/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  378. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js +21 -20
  379. package/lib/cjs/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  380. package/lib/cjs/appui-react/popup/KeyinPalettePanel.scss +4 -4
  381. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts +1 -1
  382. package/lib/cjs/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  383. package/lib/cjs/appui-react/popup/KeyinPalettePopup.js +5 -5
  384. package/lib/cjs/appui-react/popup/KeyinPalettePopup.js.map +1 -1
  385. package/lib/cjs/appui-react/popup/PopupManager.d.ts.map +1 -1
  386. package/lib/cjs/appui-react/popup/PopupManager.js +45 -19
  387. package/lib/cjs/appui-react/popup/PopupManager.js.map +1 -1
  388. package/lib/cjs/appui-react/popup/PositionPopup.d.ts.map +1 -1
  389. package/lib/cjs/appui-react/popup/PositionPopup.js +4 -4
  390. package/lib/cjs/appui-react/popup/PositionPopup.js.map +1 -1
  391. package/lib/cjs/appui-react/popup/PositionPopup.scss +3 -4
  392. package/lib/cjs/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
  393. package/lib/cjs/appui-react/popup/ToolSettingsPopup.js +4 -5
  394. package/lib/cjs/appui-react/popup/ToolSettingsPopup.js.map +1 -1
  395. package/lib/cjs/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
  396. package/lib/cjs/appui-react/popup/ToolbarPopup.js +3 -3
  397. package/lib/cjs/appui-react/popup/ToolbarPopup.js.map +1 -1
  398. package/lib/cjs/appui-react/redux/FrameworkState.d.ts.map +1 -1
  399. package/lib/cjs/appui-react/redux/FrameworkState.js +3 -3
  400. package/lib/cjs/appui-react/redux/FrameworkState.js.map +1 -1
  401. package/lib/cjs/appui-react/redux/ReducerRegistry.d.ts.map +1 -1
  402. package/lib/cjs/appui-react/redux/ReducerRegistry.js +3 -4
  403. package/lib/cjs/appui-react/redux/ReducerRegistry.js.map +1 -1
  404. package/lib/cjs/appui-react/redux/SessionState.d.ts +9 -9
  405. package/lib/cjs/appui-react/redux/SessionState.d.ts.map +1 -1
  406. package/lib/cjs/appui-react/redux/SessionState.js +7 -4
  407. package/lib/cjs/appui-react/redux/SessionState.js.map +1 -1
  408. package/lib/cjs/appui-react/redux/StateManager.d.ts.map +1 -1
  409. package/lib/cjs/appui-react/redux/StateManager.js +10 -6
  410. package/lib/cjs/appui-react/redux/StateManager.js.map +1 -1
  411. package/lib/cjs/appui-react/redux/connectIModel.d.ts +1 -1
  412. package/lib/cjs/appui-react/redux/connectIModel.d.ts.map +1 -1
  413. package/lib/cjs/appui-react/redux/connectIModel.js +4 -4
  414. package/lib/cjs/appui-react/redux/connectIModel.js.map +1 -1
  415. package/lib/cjs/appui-react/redux/redux-ts.d.ts +3 -3
  416. package/lib/cjs/appui-react/redux/redux-ts.d.ts.map +1 -1
  417. package/lib/cjs/appui-react/redux/redux-ts.js +6 -4
  418. package/lib/cjs/appui-react/redux/redux-ts.js.map +1 -1
  419. package/lib/cjs/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  420. package/lib/cjs/appui-react/safearea/SafeAreaContext.js +3 -3
  421. package/lib/cjs/appui-react/safearea/SafeAreaContext.js.map +1 -1
  422. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -1
  423. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js +3 -3
  424. package/lib/cjs/appui-react/safearea/SafeAreaHelpers.js.map +1 -1
  425. package/lib/cjs/appui-react/safearea/SafeAreaInsets.d.ts.map +1 -1
  426. package/lib/cjs/appui-react/safearea/SafeAreaInsets.js +3 -3
  427. package/lib/cjs/appui-react/safearea/SafeAreaInsets.js.map +1 -1
  428. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts +2 -2
  429. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  430. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js +103 -40
  431. package/lib/cjs/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  432. package/lib/cjs/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  433. package/lib/cjs/appui-react/selection/SelectionContextItemDef.js +41 -13
  434. package/lib/cjs/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  435. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts +1 -1
  436. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  437. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js +32 -26
  438. package/lib/cjs/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  439. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  440. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js +9 -5
  441. package/lib/cjs/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
  442. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  443. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js +36 -13
  444. package/lib/cjs/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  445. package/lib/cjs/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  446. package/lib/cjs/appui-react/shared/ActionButtonItemDef.js +7 -4
  447. package/lib/cjs/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  448. package/lib/cjs/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  449. package/lib/cjs/appui-react/shared/AnyItemDef.js +3 -3
  450. package/lib/cjs/appui-react/shared/AnyItemDef.js.map +1 -1
  451. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.js +3 -3
  452. package/lib/cjs/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
  453. package/lib/cjs/appui-react/shared/CommandItemDef.d.ts.map +1 -1
  454. package/lib/cjs/appui-react/shared/CommandItemDef.js +8 -4
  455. package/lib/cjs/appui-react/shared/CommandItemDef.js.map +1 -1
  456. package/lib/cjs/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  457. package/lib/cjs/appui-react/shared/CustomItemDef.js +3 -3
  458. package/lib/cjs/appui-react/shared/CustomItemDef.js.map +1 -1
  459. package/lib/cjs/appui-react/shared/CustomItemProps.js +3 -3
  460. package/lib/cjs/appui-react/shared/CustomItemProps.js.map +1 -1
  461. package/lib/cjs/appui-react/shared/GroupItemProps.js +3 -3
  462. package/lib/cjs/appui-react/shared/GroupItemProps.js.map +1 -1
  463. package/lib/cjs/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  464. package/lib/cjs/appui-react/shared/ItemDefBase.js +15 -8
  465. package/lib/cjs/appui-react/shared/ItemDefBase.js.map +1 -1
  466. package/lib/cjs/appui-react/shared/ItemMap.d.ts.map +1 -1
  467. package/lib/cjs/appui-react/shared/ItemMap.js +3 -3
  468. package/lib/cjs/appui-react/shared/ItemMap.js.map +1 -1
  469. package/lib/cjs/appui-react/shared/ItemProps.d.ts.map +1 -1
  470. package/lib/cjs/appui-react/shared/ItemProps.js +3 -3
  471. package/lib/cjs/appui-react/shared/ItemProps.js.map +1 -1
  472. package/lib/cjs/appui-react/shared/MenuItem.d.ts.map +1 -1
  473. package/lib/cjs/appui-react/shared/MenuItem.js +6 -4
  474. package/lib/cjs/appui-react/shared/MenuItem.js.map +1 -1
  475. package/lib/cjs/appui-react/shared/SelectionScope.js +3 -3
  476. package/lib/cjs/appui-react/shared/SelectionScope.js.map +1 -1
  477. package/lib/cjs/appui-react/shared/ToolItemDef.d.ts.map +1 -1
  478. package/lib/cjs/appui-react/shared/ToolItemDef.js +13 -5
  479. package/lib/cjs/appui-react/shared/ToolItemDef.js.map +1 -1
  480. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js +3 -3
  481. package/lib/cjs/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  482. package/lib/cjs/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  483. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js +30 -11
  484. package/lib/cjs/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  485. package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js +3 -3
  486. package/lib/cjs/appui-react/stagepanels/StagePanelLocation.js.map +1 -1
  487. package/lib/cjs/appui-react/stagepanels/StagePanelSection.js +3 -3
  488. package/lib/cjs/appui-react/stagepanels/StagePanelSection.js.map +1 -1
  489. package/lib/cjs/appui-react/statusbar/Field.d.ts.map +1 -1
  490. package/lib/cjs/appui-react/statusbar/Field.js +3 -3
  491. package/lib/cjs/appui-react/statusbar/Field.js.map +1 -1
  492. package/lib/cjs/appui-react/statusbar/Field.scss +8 -8
  493. package/lib/cjs/appui-react/statusbar/Indicator.d.ts.map +1 -1
  494. package/lib/cjs/appui-react/statusbar/Indicator.js +4 -4
  495. package/lib/cjs/appui-react/statusbar/Indicator.js.map +1 -1
  496. package/lib/cjs/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  497. package/lib/cjs/appui-react/statusbar/LabelIndicator.js +5 -5
  498. package/lib/cjs/appui-react/statusbar/LabelIndicator.js.map +1 -1
  499. package/lib/cjs/appui-react/statusbar/LabelIndicator.scss +5 -5
  500. package/lib/cjs/appui-react/statusbar/Overflow.d.ts.map +1 -1
  501. package/lib/cjs/appui-react/statusbar/Overflow.js +3 -3
  502. package/lib/cjs/appui-react/statusbar/Overflow.js.map +1 -1
  503. package/lib/cjs/appui-react/statusbar/Overflow.scss +4 -4
  504. package/lib/cjs/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  505. package/lib/cjs/appui-react/statusbar/OverflowPanel.js +3 -3
  506. package/lib/cjs/appui-react/statusbar/OverflowPanel.js.map +1 -1
  507. package/lib/cjs/appui-react/statusbar/OverflowPanel.scss +5 -5
  508. package/lib/cjs/appui-react/statusbar/Popup.d.ts.map +1 -1
  509. package/lib/cjs/appui-react/statusbar/Popup.js +4 -4
  510. package/lib/cjs/appui-react/statusbar/Popup.js.map +1 -1
  511. package/lib/cjs/appui-react/statusbar/Separator.d.ts.map +1 -1
  512. package/lib/cjs/appui-react/statusbar/Separator.js +4 -4
  513. package/lib/cjs/appui-react/statusbar/Separator.js.map +1 -1
  514. package/lib/cjs/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  515. package/lib/cjs/appui-react/statusbar/StatusBar.js +7 -7
  516. package/lib/cjs/appui-react/statusbar/StatusBar.js.map +1 -1
  517. package/lib/cjs/appui-react/statusbar/StatusBar.scss +4 -4
  518. package/lib/cjs/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  519. package/lib/cjs/appui-react/statusbar/StatusBarComposer.js +22 -17
  520. package/lib/cjs/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  521. package/lib/cjs/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  522. package/lib/cjs/appui-react/statusbar/StatusBarItem.js +3 -3
  523. package/lib/cjs/appui-react/statusbar/StatusBarItem.js.map +1 -1
  524. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  525. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js +3 -3
  526. package/lib/cjs/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  527. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  528. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js +11 -12
  529. package/lib/cjs/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  530. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  531. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js +6 -4
  532. package/lib/cjs/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  533. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts +2 -2
  534. package/lib/cjs/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  535. package/lib/cjs/appui-react/statusbar/dialog/Button.js +6 -6
  536. package/lib/cjs/appui-react/statusbar/dialog/Button.js.map +1 -1
  537. package/lib/cjs/appui-react/statusbar/dialog/Dialog.js +3 -3
  538. package/lib/cjs/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  539. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts +2 -2
  540. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  541. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js +5 -5
  542. package/lib/cjs/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  543. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.d.ts.map +1 -1
  544. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js +3 -3
  545. package/lib/cjs/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  546. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  547. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +5 -4
  548. package/lib/cjs/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  549. package/lib/cjs/appui-react/statusfields/ActivityCenter.js +3 -3
  550. package/lib/cjs/appui-react/statusfields/ActivityCenter.js.map +1 -1
  551. package/lib/cjs/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  552. package/lib/cjs/appui-react/statusfields/MessageCenter.js +14 -11
  553. package/lib/cjs/appui-react/statusfields/MessageCenter.js.map +1 -1
  554. package/lib/cjs/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  555. package/lib/cjs/appui-react/statusfields/SectionsField.js +20 -18
  556. package/lib/cjs/appui-react/statusfields/SectionsField.js.map +1 -1
  557. package/lib/cjs/appui-react/statusfields/SelectionCount.d.ts.map +1 -1
  558. package/lib/cjs/appui-react/statusfields/SelectionCount.js +3 -3
  559. package/lib/cjs/appui-react/statusfields/SelectionCount.js.map +1 -1
  560. package/lib/cjs/appui-react/statusfields/SelectionInfo.js +3 -3
  561. package/lib/cjs/appui-react/statusfields/SelectionInfo.js.map +1 -1
  562. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts +2 -1
  563. package/lib/cjs/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  564. package/lib/cjs/appui-react/statusfields/SelectionScope.js +8 -5
  565. package/lib/cjs/appui-react/statusfields/SelectionScope.js.map +1 -1
  566. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts +2 -1
  567. package/lib/cjs/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  568. package/lib/cjs/appui-react/statusfields/SnapMode.js +42 -13
  569. package/lib/cjs/appui-react/statusfields/SnapMode.js.map +1 -1
  570. package/lib/cjs/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  571. package/lib/cjs/appui-react/statusfields/ViewAttributes.js +17 -8
  572. package/lib/cjs/appui-react/statusfields/ViewAttributes.js.map +1 -1
  573. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  574. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js +12 -6
  575. package/lib/cjs/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  576. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  577. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js +69 -52
  578. package/lib/cjs/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  579. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  580. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js +27 -14
  581. package/lib/cjs/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  582. package/lib/cjs/appui-react/theme/ThemeManager.d.ts +1 -7
  583. package/lib/cjs/appui-react/theme/ThemeManager.d.ts.map +1 -1
  584. package/lib/cjs/appui-react/theme/ThemeManager.js +23 -23
  585. package/lib/cjs/appui-react/theme/ThemeManager.js.map +1 -1
  586. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.d.ts.map +1 -1
  587. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.js +3 -3
  588. package/lib/cjs/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  589. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.d.ts.map +1 -1
  590. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.js +7 -5
  591. package/lib/cjs/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
  592. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.d.ts.map +1 -1
  593. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js +19 -8
  594. package/lib/cjs/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  595. package/lib/cjs/appui-react/toolbar/DragInteraction.js +4 -4
  596. package/lib/cjs/appui-react/toolbar/DragInteraction.js.map +1 -1
  597. package/lib/cjs/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  598. package/lib/cjs/appui-react/toolbar/GroupItem.js +10 -7
  599. package/lib/cjs/appui-react/toolbar/GroupItem.js.map +1 -1
  600. package/lib/cjs/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  601. package/lib/cjs/appui-react/toolbar/Toolbar.js +3 -3
  602. package/lib/cjs/appui-react/toolbar/Toolbar.js.map +1 -1
  603. package/lib/cjs/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  604. package/lib/cjs/appui-react/toolbar/ToolbarComposer.js +46 -19
  605. package/lib/cjs/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  606. package/lib/cjs/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  607. package/lib/cjs/appui-react/toolbar/ToolbarHelper.js +2 -1
  608. package/lib/cjs/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  609. package/lib/cjs/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  610. package/lib/cjs/appui-react/toolbar/ToolbarItem.js +3 -3
  611. package/lib/cjs/appui-react/toolbar/ToolbarItem.js.map +1 -1
  612. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
  613. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js +3 -3
  614. package/lib/cjs/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
  615. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.d.ts.map +1 -1
  616. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.js +31 -16
  617. package/lib/cjs/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
  618. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  619. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.js +3 -3
  620. package/lib/cjs/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  621. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.d.ts.map +1 -1
  622. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.js +16 -4
  623. package/lib/cjs/appui-react/toolbar/toUIAToolbarItem.js.map +1 -1
  624. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.d.ts.map +1 -1
  625. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.js +3 -3
  626. package/lib/cjs/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
  627. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  628. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js +5 -4
  629. package/lib/cjs/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  630. package/lib/cjs/appui-react/tools/CoreToolDefinitions.d.ts.map +1 -1
  631. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js +63 -17
  632. package/lib/cjs/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  633. package/lib/cjs/appui-react/tools/FrameworkToolAdmin.d.ts +2 -2
  634. package/lib/cjs/appui-react/tools/FrameworkToolAdmin.d.ts.map +1 -1
  635. package/lib/cjs/appui-react/tools/FrameworkToolAdmin.js +7 -6
  636. package/lib/cjs/appui-react/tools/FrameworkToolAdmin.js.map +1 -1
  637. package/lib/cjs/appui-react/tools/KeyinPaletteTools.d.ts.map +1 -1
  638. package/lib/cjs/appui-react/tools/KeyinPaletteTools.js +9 -5
  639. package/lib/cjs/appui-react/tools/KeyinPaletteTools.js.map +1 -1
  640. package/lib/cjs/appui-react/tools/OpenSettingsTool.d.ts.map +1 -1
  641. package/lib/cjs/appui-react/tools/OpenSettingsTool.js +9 -5
  642. package/lib/cjs/appui-react/tools/OpenSettingsTool.js.map +1 -1
  643. package/lib/cjs/appui-react/tools/RestoreLayoutTool.d.ts.map +1 -1
  644. package/lib/cjs/appui-react/tools/RestoreLayoutTool.js +9 -5
  645. package/lib/cjs/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  646. package/lib/cjs/appui-react/tools/ToolSettingsTools.d.ts.map +1 -1
  647. package/lib/cjs/appui-react/tools/ToolSettingsTools.js +6 -4
  648. package/lib/cjs/appui-react/tools/ToolSettingsTools.js.map +1 -1
  649. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  650. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js +8 -5
  651. package/lib/cjs/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  652. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
  653. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js +33 -13
  654. package/lib/cjs/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  655. package/lib/cjs/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
  656. package/lib/cjs/appui-react/toolsettings/ToolInformation.js +5 -4
  657. package/lib/cjs/appui-react/toolsettings/ToolInformation.js.map +1 -1
  658. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -1
  659. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js +27 -11
  660. package/lib/cjs/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
  661. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts.map +1 -1
  662. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js +39 -15
  663. package/lib/cjs/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  664. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  665. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js +18 -10
  666. package/lib/cjs/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
  667. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js +3 -3
  668. package/lib/cjs/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
  669. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  670. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js +3 -3
  671. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  672. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  673. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +35 -15
  674. package/lib/cjs/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  675. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  676. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +3 -3
  677. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  678. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
  679. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +35 -15
  680. package/lib/cjs/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  681. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +8 -8
  682. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  683. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +11 -11
  684. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  685. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  686. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +7 -5
  687. package/lib/cjs/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  688. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  689. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js +38 -18
  690. package/lib/cjs/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  691. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
  692. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js +3 -3
  693. package/lib/cjs/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
  694. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.d.ts.map +1 -1
  695. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.js +3 -3
  696. package/lib/cjs/appui-react/ui-items-provider/isProviderItem.js.map +1 -1
  697. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts +8 -8
  698. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
  699. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js +36 -18
  700. package/lib/cjs/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  701. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
  702. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js +46 -28
  703. package/lib/cjs/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  704. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +3 -3
  705. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  706. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js +12 -11
  707. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  708. package/lib/cjs/appui-react/uiprovider/DefaultDialogGridContainer.scss +22 -11
  709. package/lib/cjs/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  710. package/lib/cjs/appui-react/uistate/AppUiSettings.js +3 -3
  711. package/lib/cjs/appui-react/uistate/AppUiSettings.js.map +1 -1
  712. package/lib/cjs/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  713. package/lib/cjs/appui-react/uistate/useUiStateStorage.js +6 -4
  714. package/lib/cjs/appui-react/uistate/useUiStateStorage.js.map +1 -1
  715. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.d.ts.map +1 -1
  716. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js +15 -7
  717. package/lib/cjs/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  718. package/lib/cjs/appui-react/utils/PropsHelper.d.ts +1 -1
  719. package/lib/cjs/appui-react/utils/PropsHelper.d.ts.map +1 -1
  720. package/lib/cjs/appui-react/utils/PropsHelper.js +8 -7
  721. package/lib/cjs/appui-react/utils/PropsHelper.js.map +1 -1
  722. package/lib/cjs/appui-react/utils/ToolbarButtonHelper.d.ts.map +1 -1
  723. package/lib/cjs/appui-react/utils/ToolbarButtonHelper.js +3 -3
  724. package/lib/cjs/appui-react/utils/ToolbarButtonHelper.js.map +1 -1
  725. package/lib/cjs/appui-react/utils/ViewUtilities.d.ts.map +1 -1
  726. package/lib/cjs/appui-react/utils/ViewUtilities.js +7 -5
  727. package/lib/cjs/appui-react/utils/ViewUtilities.js.map +1 -1
  728. package/lib/cjs/appui-react/widget-panels/Content.d.ts.map +1 -1
  729. package/lib/cjs/appui-react/widget-panels/Content.js +10 -5
  730. package/lib/cjs/appui-react/widget-panels/Content.js.map +1 -1
  731. package/lib/cjs/appui-react/widget-panels/FloatingWidget.js +3 -3
  732. package/lib/cjs/appui-react/widget-panels/FloatingWidget.js.map +1 -1
  733. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts +1 -1
  734. package/lib/cjs/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  735. package/lib/cjs/appui-react/widget-panels/Frontstage.js +74 -33
  736. package/lib/cjs/appui-react/widget-panels/Frontstage.js.map +1 -1
  737. package/lib/cjs/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
  738. package/lib/cjs/appui-react/widget-panels/FrontstageContent.js +6 -4
  739. package/lib/cjs/appui-react/widget-panels/FrontstageContent.js.map +1 -1
  740. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts +1 -1
  741. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  742. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js +10 -7
  743. package/lib/cjs/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
  744. package/lib/cjs/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  745. package/lib/cjs/appui-react/widget-panels/StatusBar.js +6 -4
  746. package/lib/cjs/appui-react/widget-panels/StatusBar.js.map +1 -1
  747. package/lib/cjs/appui-react/widget-panels/StatusBar.scss +5 -5
  748. package/lib/cjs/appui-react/widget-panels/Tab.d.ts.map +1 -1
  749. package/lib/cjs/appui-react/widget-panels/Tab.js +4 -4
  750. package/lib/cjs/appui-react/widget-panels/Tab.js.map +1 -1
  751. package/lib/cjs/appui-react/widget-panels/ToolSettings.d.ts.map +1 -1
  752. package/lib/cjs/appui-react/widget-panels/ToolSettings.js +19 -15
  753. package/lib/cjs/appui-react/widget-panels/ToolSettings.js.map +1 -1
  754. package/lib/cjs/appui-react/widget-panels/Toolbars.js +3 -3
  755. package/lib/cjs/appui-react/widget-panels/Toolbars.js.map +1 -1
  756. package/lib/cjs/appui-react/widget-panels/useTransientState.d.ts.map +1 -1
  757. package/lib/cjs/appui-react/widget-panels/useTransientState.js +3 -3
  758. package/lib/cjs/appui-react/widget-panels/useTransientState.js.map +1 -1
  759. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.d.ts.map +1 -1
  760. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js +6 -4
  761. package/lib/cjs/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
  762. package/lib/cjs/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  763. package/lib/cjs/appui-react/widgets/BackstageAppButton.js +9 -5
  764. package/lib/cjs/appui-react/widgets/BackstageAppButton.js.map +1 -1
  765. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  766. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js +9 -4
  767. package/lib/cjs/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  768. package/lib/cjs/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  769. package/lib/cjs/appui-react/widgets/BasicToolWidget.js +10 -4
  770. package/lib/cjs/appui-react/widgets/BasicToolWidget.js.map +1 -1
  771. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.d.ts.map +1 -1
  772. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js +3 -3
  773. package/lib/cjs/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
  774. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  775. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js +22 -10
  776. package/lib/cjs/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  777. package/lib/cjs/appui-react/widgets/StableWidgetDef.d.ts.map +1 -1
  778. package/lib/cjs/appui-react/widgets/StableWidgetDef.js +3 -3
  779. package/lib/cjs/appui-react/widgets/StableWidgetDef.js.map +1 -1
  780. package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.d.ts.map +1 -1
  781. package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.js +3 -3
  782. package/lib/cjs/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
  783. package/lib/cjs/appui-react/widgets/ToolSettingsContent.d.ts.map +1 -1
  784. package/lib/cjs/appui-react/widgets/ToolSettingsContent.js +3 -3
  785. package/lib/cjs/appui-react/widgets/ToolSettingsContent.js.map +1 -1
  786. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  787. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js +3 -3
  788. package/lib/cjs/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  789. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.d.ts.map +1 -1
  790. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js +3 -3
  791. package/lib/cjs/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
  792. package/lib/cjs/appui-react/widgets/Widget.d.ts.map +1 -1
  793. package/lib/cjs/appui-react/widgets/Widget.js +3 -3
  794. package/lib/cjs/appui-react/widgets/Widget.js.map +1 -1
  795. package/lib/cjs/appui-react/widgets/WidgetConfig.js +3 -3
  796. package/lib/cjs/appui-react/widgets/WidgetConfig.js.map +1 -1
  797. package/lib/cjs/appui-react/widgets/WidgetControl.d.ts.map +1 -1
  798. package/lib/cjs/appui-react/widgets/WidgetControl.js +20 -12
  799. package/lib/cjs/appui-react/widgets/WidgetControl.js.map +1 -1
  800. package/lib/cjs/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  801. package/lib/cjs/appui-react/widgets/WidgetDef.js +99 -36
  802. package/lib/cjs/appui-react/widgets/WidgetDef.js.map +1 -1
  803. package/lib/cjs/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  804. package/lib/cjs/appui-react/widgets/WidgetHost.js +6 -5
  805. package/lib/cjs/appui-react/widgets/WidgetHost.js.map +1 -1
  806. package/lib/cjs/appui-react/widgets/WidgetManager.d.ts.map +1 -1
  807. package/lib/cjs/appui-react/widgets/WidgetManager.js +23 -15
  808. package/lib/cjs/appui-react/widgets/WidgetManager.js.map +1 -1
  809. package/lib/cjs/appui-react/widgets/WidgetState.js +3 -3
  810. package/lib/cjs/appui-react/widgets/WidgetState.js.map +1 -1
  811. package/lib/cjs/appui-react.js +3 -3
  812. package/lib/cjs/appui-react.js.map +1 -1
  813. package/lib/esm/appui-react/UiFramework.d.ts +3 -3
  814. package/lib/esm/appui-react/UiFramework.d.ts.map +1 -1
  815. package/lib/esm/appui-react/UiFramework.js +85 -38
  816. package/lib/esm/appui-react/UiFramework.js.map +1 -1
  817. package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.d.ts.map +1 -1
  818. package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.js +3 -3
  819. package/lib/esm/appui-react/accudraw/AccuDrawCommandItems.js.map +1 -1
  820. package/lib/esm/appui-react/accudraw/AccuDrawDialog.d.ts.map +1 -1
  821. package/lib/esm/appui-react/accudraw/AccuDrawDialog.js +5 -5
  822. package/lib/esm/appui-react/accudraw/AccuDrawDialog.js.map +1 -1
  823. package/lib/esm/appui-react/accudraw/AccuDrawDialog.scss +6 -6
  824. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.d.ts.map +1 -1
  825. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js +64 -31
  826. package/lib/esm/appui-react/accudraw/AccuDrawFieldContainer.js.map +1 -1
  827. package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts +1 -1
  828. package/lib/esm/appui-react/accudraw/AccuDrawInputField.d.ts.map +1 -1
  829. package/lib/esm/appui-react/accudraw/AccuDrawInputField.js +3 -3
  830. package/lib/esm/appui-react/accudraw/AccuDrawInputField.js.map +1 -1
  831. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.js +3 -3
  832. package/lib/esm/appui-react/accudraw/AccuDrawKeyboardShortcuts.js.map +1 -1
  833. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.d.ts.map +1 -1
  834. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js +11 -5
  835. package/lib/esm/appui-react/accudraw/AccuDrawPopupManager.js.map +1 -1
  836. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.js +3 -3
  837. package/lib/esm/appui-react/accudraw/AccuDrawUiSettings.js.map +1 -1
  838. package/lib/esm/appui-react/accudraw/AccuDrawWidget.d.ts.map +1 -1
  839. package/lib/esm/appui-react/accudraw/AccuDrawWidget.js +3 -3
  840. package/lib/esm/appui-react/accudraw/AccuDrawWidget.js.map +1 -1
  841. package/lib/esm/appui-react/accudraw/Calculator.d.ts.map +1 -1
  842. package/lib/esm/appui-react/accudraw/Calculator.js +7 -9
  843. package/lib/esm/appui-react/accudraw/Calculator.js.map +1 -1
  844. package/lib/esm/appui-react/accudraw/Calculator.scss +4 -5
  845. package/lib/esm/appui-react/accudraw/CalculatorEngine.d.ts.map +1 -1
  846. package/lib/esm/appui-react/accudraw/CalculatorEngine.js +19 -12
  847. package/lib/esm/appui-react/accudraw/CalculatorEngine.js.map +1 -1
  848. package/lib/esm/appui-react/accudraw/CalculatorPopup.d.ts.map +1 -1
  849. package/lib/esm/appui-react/accudraw/CalculatorPopup.js +3 -3
  850. package/lib/esm/appui-react/accudraw/CalculatorPopup.js.map +1 -1
  851. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.d.ts.map +1 -1
  852. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js +30 -12
  853. package/lib/esm/appui-react/accudraw/FrameworkAccuDraw.js.map +1 -1
  854. package/lib/esm/appui-react/accudraw/MenuButton.d.ts.map +1 -1
  855. package/lib/esm/appui-react/accudraw/MenuButton.js +7 -5
  856. package/lib/esm/appui-react/accudraw/MenuButton.js.map +1 -1
  857. package/lib/esm/appui-react/accudraw/MenuButton.scss +6 -7
  858. package/lib/esm/appui-react/accudraw/MenuButtonPopup.d.ts.map +1 -1
  859. package/lib/esm/appui-react/accudraw/MenuButtonPopup.js +3 -3
  860. package/lib/esm/appui-react/accudraw/MenuButtonPopup.js.map +1 -1
  861. package/lib/esm/appui-react/accudraw/SquareButton.d.ts +2 -1
  862. package/lib/esm/appui-react/accudraw/SquareButton.d.ts.map +1 -1
  863. package/lib/esm/appui-react/accudraw/SquareButton.js +3 -3
  864. package/lib/esm/appui-react/accudraw/SquareButton.js.map +1 -1
  865. package/lib/esm/appui-react/accudraw/SquareButton.scss +4 -4
  866. package/lib/esm/appui-react/backstage/BackstageComposer.d.ts.map +1 -1
  867. package/lib/esm/appui-react/backstage/BackstageComposer.js +10 -21
  868. package/lib/esm/appui-react/backstage/BackstageComposer.js.map +1 -1
  869. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts +2 -2
  870. package/lib/esm/appui-react/backstage/BackstageComposerItem.d.ts.map +1 -1
  871. package/lib/esm/appui-react/backstage/BackstageComposerItem.js +8 -8
  872. package/lib/esm/appui-react/backstage/BackstageComposerItem.js.map +1 -1
  873. package/lib/esm/appui-react/backstage/BackstageItem.d.ts.map +1 -1
  874. package/lib/esm/appui-react/backstage/BackstageItem.js +3 -3
  875. package/lib/esm/appui-react/backstage/BackstageItem.js.map +1 -1
  876. package/lib/esm/appui-react/backstage/BackstageItemUtilities.d.ts.map +1 -1
  877. package/lib/esm/appui-react/backstage/BackstageItemUtilities.js +3 -3
  878. package/lib/esm/appui-react/backstage/BackstageItemUtilities.js.map +1 -1
  879. package/lib/esm/appui-react/backstage/BackstageItemsManager.d.ts.map +1 -1
  880. package/lib/esm/appui-react/backstage/BackstageItemsManager.js +12 -13
  881. package/lib/esm/appui-react/backstage/BackstageItemsManager.js.map +1 -1
  882. package/lib/esm/appui-react/backstage/BackstageManager.d.ts +1 -1
  883. package/lib/esm/appui-react/backstage/BackstageManager.d.ts.map +1 -1
  884. package/lib/esm/appui-react/backstage/BackstageManager.js +7 -5
  885. package/lib/esm/appui-react/backstage/BackstageManager.js.map +1 -1
  886. package/lib/esm/appui-react/backstage/InternalBackstageManager.d.ts.map +1 -1
  887. package/lib/esm/appui-react/backstage/InternalBackstageManager.js +3 -3
  888. package/lib/esm/appui-react/backstage/InternalBackstageManager.js.map +1 -1
  889. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.d.ts.map +1 -1
  890. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js +3 -3
  891. package/lib/esm/appui-react/backstage/useDefaultBackstageItems.js.map +1 -1
  892. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.d.ts.map +1 -1
  893. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js +3 -3
  894. package/lib/esm/appui-react/backstage/useUiItemsProviderBackstageItems.js.map +1 -1
  895. package/lib/esm/appui-react/childwindow/CopyStyles.d.ts.map +1 -1
  896. package/lib/esm/appui-react/childwindow/CopyStyles.js +3 -3
  897. package/lib/esm/appui-react/childwindow/CopyStyles.js.map +1 -1
  898. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.d.ts.map +1 -1
  899. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js +11 -22
  900. package/lib/esm/appui-react/childwindow/InternalChildWindowManager.js.map +1 -1
  901. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts +1 -1
  902. package/lib/esm/appui-react/childwindow/PopoutWidget.d.ts.map +1 -1
  903. package/lib/esm/appui-react/childwindow/PopoutWidget.js +4 -4
  904. package/lib/esm/appui-react/childwindow/PopoutWidget.js.map +1 -1
  905. package/lib/esm/appui-react/childwindow/PopoutWidget.scss +4 -4
  906. package/lib/esm/appui-react/configurableui/ActivityTracker.d.ts.map +1 -1
  907. package/lib/esm/appui-react/configurableui/ActivityTracker.js +6 -4
  908. package/lib/esm/appui-react/configurableui/ActivityTracker.js.map +1 -1
  909. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.d.ts.map +1 -1
  910. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js +7 -4
  911. package/lib/esm/appui-react/configurableui/ConfigurableUiContent.js.map +1 -1
  912. package/lib/esm/appui-react/configurableui/ConfigurableUiControl.d.ts.map +1 -1
  913. package/lib/esm/appui-react/configurableui/ConfigurableUiControl.js +26 -11
  914. package/lib/esm/appui-react/configurableui/ConfigurableUiControl.js.map +1 -1
  915. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts +1 -1
  916. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.d.ts.map +1 -1
  917. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js +4 -4
  918. package/lib/esm/appui-react/configurableui/InternalConfigurableUiManager.js.map +1 -1
  919. package/lib/esm/appui-react/configurableui/TimeTracker.d.ts.map +1 -1
  920. package/lib/esm/appui-react/configurableui/TimeTracker.js +6 -4
  921. package/lib/esm/appui-react/configurableui/TimeTracker.js.map +1 -1
  922. package/lib/esm/appui-react/configurableui/state.d.ts.map +1 -1
  923. package/lib/esm/appui-react/configurableui/state.js +4 -4
  924. package/lib/esm/appui-react/configurableui/state.js.map +1 -1
  925. package/lib/esm/appui-react/content/ContentControl.d.ts.map +1 -1
  926. package/lib/esm/appui-react/content/ContentControl.js +18 -12
  927. package/lib/esm/appui-react/content/ContentControl.js.map +1 -1
  928. package/lib/esm/appui-react/content/ContentGroup.d.ts.map +1 -1
  929. package/lib/esm/appui-react/content/ContentGroup.js +8 -6
  930. package/lib/esm/appui-react/content/ContentGroup.js.map +1 -1
  931. package/lib/esm/appui-react/content/ContentLayout.d.ts.map +1 -1
  932. package/lib/esm/appui-react/content/ContentLayout.js +32 -27
  933. package/lib/esm/appui-react/content/ContentLayout.js.map +1 -1
  934. package/lib/esm/appui-react/content/ContentLayout.scss +10 -10
  935. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts +1 -1
  936. package/lib/esm/appui-react/content/DefaultViewOverlay.d.ts.map +1 -1
  937. package/lib/esm/appui-react/content/DefaultViewOverlay.js +11 -8
  938. package/lib/esm/appui-react/content/DefaultViewOverlay.js.map +1 -1
  939. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts +1 -1
  940. package/lib/esm/appui-react/content/FloatingViewportContent.d.ts.map +1 -1
  941. package/lib/esm/appui-react/content/FloatingViewportContent.js +8 -6
  942. package/lib/esm/appui-react/content/FloatingViewportContent.js.map +1 -1
  943. package/lib/esm/appui-react/content/IModelViewport.d.ts +1 -1
  944. package/lib/esm/appui-react/content/IModelViewport.d.ts.map +1 -1
  945. package/lib/esm/appui-react/content/IModelViewport.js +23 -16
  946. package/lib/esm/appui-react/content/IModelViewport.js.map +1 -1
  947. package/lib/esm/appui-react/content/InternalContentLayoutManager.d.ts.map +1 -1
  948. package/lib/esm/appui-react/content/InternalContentLayoutManager.js +16 -7
  949. package/lib/esm/appui-react/content/InternalContentLayoutManager.js.map +1 -1
  950. package/lib/esm/appui-react/content/InternalContentViewManager.d.ts.map +1 -1
  951. package/lib/esm/appui-react/content/InternalContentViewManager.js +22 -16
  952. package/lib/esm/appui-react/content/InternalContentViewManager.js.map +1 -1
  953. package/lib/esm/appui-react/content/StageContentLayout.d.ts.map +1 -1
  954. package/lib/esm/appui-react/content/StageContentLayout.js +7 -4
  955. package/lib/esm/appui-react/content/StageContentLayout.js.map +1 -1
  956. package/lib/esm/appui-react/content/ViewStateHelper.d.ts.map +1 -1
  957. package/lib/esm/appui-react/content/ViewStateHelper.js +5 -5
  958. package/lib/esm/appui-react/content/ViewStateHelper.js.map +1 -1
  959. package/lib/esm/appui-react/content/ViewportContentControl.d.ts.map +1 -1
  960. package/lib/esm/appui-react/content/ViewportContentControl.js +24 -11
  961. package/lib/esm/appui-react/content/ViewportContentControl.js.map +1 -1
  962. package/lib/esm/appui-react/content/split-pane/Pane.d.ts.map +1 -1
  963. package/lib/esm/appui-react/content/split-pane/Pane.js +4 -4
  964. package/lib/esm/appui-react/content/split-pane/Pane.js.map +1 -1
  965. package/lib/esm/appui-react/content/split-pane/Resizer.d.ts.map +1 -1
  966. package/lib/esm/appui-react/content/split-pane/Resizer.js +3 -3
  967. package/lib/esm/appui-react/content/split-pane/Resizer.js.map +1 -1
  968. package/lib/esm/appui-react/content/split-pane/SplitPane.d.ts.map +1 -1
  969. package/lib/esm/appui-react/content/split-pane/SplitPane.js +28 -22
  970. package/lib/esm/appui-react/content/split-pane/SplitPane.js.map +1 -1
  971. package/lib/esm/appui-react/cursor/CursorInformation.d.ts.map +1 -1
  972. package/lib/esm/appui-react/cursor/CursorInformation.js +18 -8
  973. package/lib/esm/appui-react/cursor/CursorInformation.js.map +1 -1
  974. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.d.ts.map +1 -1
  975. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js +13 -7
  976. package/lib/esm/appui-react/cursor/cursormenu/CursorMenu.js.map +1 -1
  977. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.d.ts.map +1 -1
  978. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js +10 -10
  979. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.js.map +1 -1
  980. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopup.scss +3 -4
  981. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.d.ts.map +1 -1
  982. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js +21 -9
  983. package/lib/esm/appui-react/cursor/cursorpopup/CursorPopupManager.js.map +1 -1
  984. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.d.ts.map +1 -1
  985. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js +5 -5
  986. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.js.map +1 -1
  987. package/lib/esm/appui-react/cursor/cursorprompt/CursorPrompt.scss +6 -6
  988. package/lib/esm/appui-react/dialog/ContentDialog.d.ts.map +1 -1
  989. package/lib/esm/appui-react/dialog/ContentDialog.js +13 -7
  990. package/lib/esm/appui-react/dialog/ContentDialog.js.map +1 -1
  991. package/lib/esm/appui-react/dialog/ContentDialog.scss +4 -4
  992. package/lib/esm/appui-react/dialog/ContentDialogManager.d.ts.map +1 -1
  993. package/lib/esm/appui-react/dialog/ContentDialogManager.js +3 -3
  994. package/lib/esm/appui-react/dialog/ContentDialogManager.js.map +1 -1
  995. package/lib/esm/appui-react/dialog/DialogManagerBase.d.ts.map +1 -1
  996. package/lib/esm/appui-react/dialog/DialogManagerBase.js +21 -9
  997. package/lib/esm/appui-react/dialog/DialogManagerBase.js.map +1 -1
  998. package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts +1 -1
  999. package/lib/esm/appui-react/dialog/InternalContentDialogManager.d.ts.map +1 -1
  1000. package/lib/esm/appui-react/dialog/InternalContentDialogManager.js +23 -10
  1001. package/lib/esm/appui-react/dialog/InternalContentDialogManager.js.map +1 -1
  1002. package/lib/esm/appui-react/dialog/InternalModalDialogManager.d.ts.map +1 -1
  1003. package/lib/esm/appui-react/dialog/InternalModalDialogManager.js +6 -4
  1004. package/lib/esm/appui-react/dialog/InternalModalDialogManager.js.map +1 -1
  1005. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts +1 -1
  1006. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.d.ts.map +1 -1
  1007. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js +19 -9
  1008. package/lib/esm/appui-react/dialog/InternalModelessDialogManager.js.map +1 -1
  1009. package/lib/esm/appui-react/dialog/ModalDialogManager.d.ts.map +1 -1
  1010. package/lib/esm/appui-react/dialog/ModalDialogManager.js +3 -3
  1011. package/lib/esm/appui-react/dialog/ModalDialogManager.js.map +1 -1
  1012. package/lib/esm/appui-react/dialog/ModelessDialog.d.ts +1 -1
  1013. package/lib/esm/appui-react/dialog/ModelessDialog.d.ts.map +1 -1
  1014. package/lib/esm/appui-react/dialog/ModelessDialog.js +8 -5
  1015. package/lib/esm/appui-react/dialog/ModelessDialog.js.map +1 -1
  1016. package/lib/esm/appui-react/dialog/ModelessDialogManager.d.ts.map +1 -1
  1017. package/lib/esm/appui-react/dialog/ModelessDialogManager.js +3 -3
  1018. package/lib/esm/appui-react/dialog/ModelessDialogManager.js.map +1 -1
  1019. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts +1 -1
  1020. package/lib/esm/appui-react/dialog/StandardMessageBox.d.ts.map +1 -1
  1021. package/lib/esm/appui-react/dialog/StandardMessageBox.js +40 -10
  1022. package/lib/esm/appui-react/dialog/StandardMessageBox.js.map +1 -1
  1023. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.d.ts.map +1 -1
  1024. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js +3 -3
  1025. package/lib/esm/appui-react/dialog/UiDataProvidedDialog.js.map +1 -1
  1026. package/lib/esm/appui-react/feedback/ElementTooltip.d.ts.map +1 -1
  1027. package/lib/esm/appui-react/feedback/ElementTooltip.js +33 -12
  1028. package/lib/esm/appui-react/feedback/ElementTooltip.js.map +1 -1
  1029. package/lib/esm/appui-react/feedback/ValidationTextbox.d.ts.map +1 -1
  1030. package/lib/esm/appui-react/feedback/ValidationTextbox.js +6 -4
  1031. package/lib/esm/appui-react/feedback/ValidationTextbox.js.map +1 -1
  1032. package/lib/esm/appui-react/framework/FrameworkBackstage.js +3 -3
  1033. package/lib/esm/appui-react/framework/FrameworkBackstage.js.map +1 -1
  1034. package/lib/esm/appui-react/framework/FrameworkChildWindows.d.ts.map +1 -1
  1035. package/lib/esm/appui-react/framework/FrameworkChildWindows.js +3 -3
  1036. package/lib/esm/appui-react/framework/FrameworkChildWindows.js.map +1 -1
  1037. package/lib/esm/appui-react/framework/FrameworkContent.d.ts.map +1 -1
  1038. package/lib/esm/appui-react/framework/FrameworkContent.js +3 -3
  1039. package/lib/esm/appui-react/framework/FrameworkContent.js.map +1 -1
  1040. package/lib/esm/appui-react/framework/FrameworkControls.d.ts.map +1 -1
  1041. package/lib/esm/appui-react/framework/FrameworkControls.js.map +1 -1
  1042. package/lib/esm/appui-react/framework/FrameworkDialogs.d.ts.map +1 -1
  1043. package/lib/esm/appui-react/framework/FrameworkDialogs.js.map +1 -1
  1044. package/lib/esm/appui-react/framework/FrameworkFrontstages.d.ts.map +1 -1
  1045. package/lib/esm/appui-react/framework/FrameworkFrontstages.js +3 -3
  1046. package/lib/esm/appui-react/framework/FrameworkFrontstages.js.map +1 -1
  1047. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.d.ts.map +1 -1
  1048. package/lib/esm/appui-react/framework/FrameworkKeyboardShortcuts.js.map +1 -1
  1049. package/lib/esm/appui-react/framework/FrameworkToolSettings.d.ts.map +1 -1
  1050. package/lib/esm/appui-react/framework/FrameworkToolSettings.js.map +1 -1
  1051. package/lib/esm/appui-react/framework/FrameworkVisibility.d.ts.map +1 -1
  1052. package/lib/esm/appui-react/framework/FrameworkVisibility.js.map +1 -1
  1053. package/lib/esm/appui-react/frontstage/FrontstageConfig.d.ts.map +1 -1
  1054. package/lib/esm/appui-react/frontstage/FrontstageConfig.js +3 -3
  1055. package/lib/esm/appui-react/frontstage/FrontstageConfig.js.map +1 -1
  1056. package/lib/esm/appui-react/frontstage/FrontstageDef.d.ts.map +1 -1
  1057. package/lib/esm/appui-react/frontstage/FrontstageDef.js +118 -42
  1058. package/lib/esm/appui-react/frontstage/FrontstageDef.js.map +1 -1
  1059. package/lib/esm/appui-react/frontstage/FrontstageProvider.js +3 -3
  1060. package/lib/esm/appui-react/frontstage/FrontstageProvider.js.map +1 -1
  1061. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts +1 -1
  1062. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.d.ts.map +1 -1
  1063. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js +54 -22
  1064. package/lib/esm/appui-react/frontstage/InternalFrontstageManager.js.map +1 -1
  1065. package/lib/esm/appui-react/frontstage/ModalFrontstage.d.ts.map +1 -1
  1066. package/lib/esm/appui-react/frontstage/ModalFrontstage.js +4 -5
  1067. package/lib/esm/appui-react/frontstage/ModalFrontstage.js.map +1 -1
  1068. package/lib/esm/appui-react/frontstage/ModalFrontstage.scss +4 -4
  1069. package/lib/esm/appui-react/frontstage/ModalSettingsStage.d.ts.map +1 -1
  1070. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js +16 -13
  1071. package/lib/esm/appui-react/frontstage/ModalSettingsStage.js.map +1 -1
  1072. package/lib/esm/appui-react/frontstage/ModalSettingsStage.scss +4 -4
  1073. package/lib/esm/appui-react/frontstage/NestedFrontstage.d.ts.map +1 -1
  1074. package/lib/esm/appui-react/frontstage/NestedFrontstage.js +3 -3
  1075. package/lib/esm/appui-react/frontstage/NestedFrontstage.js.map +1 -1
  1076. package/lib/esm/appui-react/frontstage/StageUsage.js +3 -3
  1077. package/lib/esm/appui-react/frontstage/StageUsage.js.map +1 -1
  1078. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.d.ts.map +1 -1
  1079. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js +19 -13
  1080. package/lib/esm/appui-react/frontstage/StandardFrontstageProvider.js.map +1 -1
  1081. package/lib/esm/appui-react/hooks/useActiveIModelConnection.d.ts.map +1 -1
  1082. package/lib/esm/appui-react/hooks/useActiveIModelConnection.js +3 -3
  1083. package/lib/esm/appui-react/hooks/useActiveIModelConnection.js.map +1 -1
  1084. package/lib/esm/appui-react/hooks/useActiveStageId.d.ts.map +1 -1
  1085. package/lib/esm/appui-react/hooks/useActiveStageId.js +3 -3
  1086. package/lib/esm/appui-react/hooks/useActiveStageId.js.map +1 -1
  1087. package/lib/esm/appui-react/hooks/useActiveViewport.d.ts.map +1 -1
  1088. package/lib/esm/appui-react/hooks/useActiveViewport.js +9 -5
  1089. package/lib/esm/appui-react/hooks/useActiveViewport.js.map +1 -1
  1090. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.d.ts.map +1 -1
  1091. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js +11 -7
  1092. package/lib/esm/appui-react/hooks/useAnalysisAnimationDataProvider.js.map +1 -1
  1093. package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.d.ts.map +1 -1
  1094. package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.js +3 -3
  1095. package/lib/esm/appui-react/hooks/useAvailableUiItemsProviders.js.map +1 -1
  1096. package/lib/esm/appui-react/hooks/useEscapeSetFocusToHome.js +3 -3
  1097. package/lib/esm/appui-react/hooks/useEscapeSetFocusToHome.js.map +1 -1
  1098. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.d.ts.map +1 -1
  1099. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js +11 -7
  1100. package/lib/esm/appui-react/hooks/useScheduleAnimationDataProvider.js.map +1 -1
  1101. package/lib/esm/appui-react/hooks/useSolarDataProvider.d.ts.map +1 -1
  1102. package/lib/esm/appui-react/hooks/useSolarDataProvider.js +19 -10
  1103. package/lib/esm/appui-react/hooks/useSolarDataProvider.js.map +1 -1
  1104. package/lib/esm/appui-react/hooks/useUiVisibility.d.ts.map +1 -1
  1105. package/lib/esm/appui-react/hooks/useUiVisibility.js +4 -4
  1106. package/lib/esm/appui-react/hooks/useUiVisibility.js.map +1 -1
  1107. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts +1 -1
  1108. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.d.ts.map +1 -1
  1109. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js +11 -7
  1110. package/lib/esm/appui-react/keyboardshortcut/InternalKeyboardShortcut.js.map +1 -1
  1111. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.d.ts.map +1 -1
  1112. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js +24 -10
  1113. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcut.js.map +1 -1
  1114. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.d.ts.map +1 -1
  1115. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js +8 -5
  1116. package/lib/esm/appui-react/keyboardshortcut/KeyboardShortcutMenu.js.map +1 -1
  1117. package/lib/esm/appui-react/messages/ActivityMessage.d.ts.map +1 -1
  1118. package/lib/esm/appui-react/messages/ActivityMessage.js +24 -12
  1119. package/lib/esm/appui-react/messages/ActivityMessage.js.map +1 -1
  1120. package/lib/esm/appui-react/messages/AppNotificationManager.d.ts.map +1 -1
  1121. package/lib/esm/appui-react/messages/AppNotificationManager.js +12 -6
  1122. package/lib/esm/appui-react/messages/AppNotificationManager.js.map +1 -1
  1123. package/lib/esm/appui-react/messages/HollowIcon.js +3 -3
  1124. package/lib/esm/appui-react/messages/HollowIcon.js.map +1 -1
  1125. package/lib/esm/appui-react/messages/InputField.d.ts.map +1 -1
  1126. package/lib/esm/appui-react/messages/InputField.js +14 -16
  1127. package/lib/esm/appui-react/messages/InputField.js.map +1 -1
  1128. package/lib/esm/appui-react/messages/InputField.scss +5 -6
  1129. package/lib/esm/appui-react/messages/MessageLabel.d.ts.map +1 -1
  1130. package/lib/esm/appui-react/messages/MessageLabel.js +3 -3
  1131. package/lib/esm/appui-react/messages/MessageLabel.js.map +1 -1
  1132. package/lib/esm/appui-react/messages/MessageManager.d.ts.map +1 -1
  1133. package/lib/esm/appui-react/messages/MessageManager.js +34 -17
  1134. package/lib/esm/appui-react/messages/MessageManager.js.map +1 -1
  1135. package/lib/esm/appui-react/messages/MessageSpan.d.ts.map +1 -1
  1136. package/lib/esm/appui-react/messages/MessageSpan.js +3 -3
  1137. package/lib/esm/appui-react/messages/MessageSpan.js.map +1 -1
  1138. package/lib/esm/appui-react/messages/Pointer.d.ts.map +1 -1
  1139. package/lib/esm/appui-react/messages/Pointer.js +11 -11
  1140. package/lib/esm/appui-react/messages/Pointer.js.map +1 -1
  1141. package/lib/esm/appui-react/messages/Pointer.scss +4 -4
  1142. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.d.ts.map +1 -1
  1143. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.js +25 -11
  1144. package/lib/esm/appui-react/messages/ReactNotifyMessageDetails.js.map +1 -1
  1145. package/lib/esm/appui-react/messages/StatusMessageManager.d.ts.map +1 -1
  1146. package/lib/esm/appui-react/messages/StatusMessageManager.js +6 -4
  1147. package/lib/esm/appui-react/messages/StatusMessageManager.js.map +1 -1
  1148. package/lib/esm/appui-react/messages/getToastCategory.js +3 -3
  1149. package/lib/esm/appui-react/messages/getToastCategory.js.map +1 -1
  1150. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.d.ts.map +1 -1
  1151. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js +7 -5
  1152. package/lib/esm/appui-react/navigationaids/CubeNavigationAidControl.js.map +1 -1
  1153. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.d.ts.map +1 -1
  1154. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js +7 -5
  1155. package/lib/esm/appui-react/navigationaids/DrawingNavigationAidControl.js.map +1 -1
  1156. package/lib/esm/appui-react/navigationaids/NavigationAidControl.d.ts.map +1 -1
  1157. package/lib/esm/appui-react/navigationaids/NavigationAidControl.js +16 -8
  1158. package/lib/esm/appui-react/navigationaids/NavigationAidControl.js.map +1 -1
  1159. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.d.ts.map +1 -1
  1160. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js +39 -17
  1161. package/lib/esm/appui-react/navigationaids/SheetNavigationAid.js.map +1 -1
  1162. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.d.ts.map +1 -1
  1163. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js +21 -10
  1164. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.js.map +1 -1
  1165. package/lib/esm/appui-react/navigationaids/SheetsModalFrontstage.scss +4 -4
  1166. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.d.ts.map +1 -1
  1167. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js +20 -13
  1168. package/lib/esm/appui-react/navigationaids/StandardRotationNavigationAid.js.map +1 -1
  1169. package/lib/esm/appui-react/pickers/ListPicker.d.ts.map +1 -1
  1170. package/lib/esm/appui-react/pickers/ListPicker.js +78 -32
  1171. package/lib/esm/appui-react/pickers/ListPicker.js.map +1 -1
  1172. package/lib/esm/appui-react/pickers/ListPicker.scss +4 -4
  1173. package/lib/esm/appui-react/pickers/ViewSelector.d.ts.map +1 -1
  1174. package/lib/esm/appui-react/pickers/ViewSelector.js +34 -15
  1175. package/lib/esm/appui-react/pickers/ViewSelector.js.map +1 -1
  1176. package/lib/esm/appui-react/popup/CardPopup.d.ts.map +1 -1
  1177. package/lib/esm/appui-react/popup/CardPopup.js +12 -14
  1178. package/lib/esm/appui-react/popup/CardPopup.js.map +1 -1
  1179. package/lib/esm/appui-react/popup/HTMLElementPopup.d.ts.map +1 -1
  1180. package/lib/esm/appui-react/popup/HTMLElementPopup.js +3 -3
  1181. package/lib/esm/appui-react/popup/HTMLElementPopup.js.map +1 -1
  1182. package/lib/esm/appui-react/popup/InputEditorPopup.d.ts.map +1 -1
  1183. package/lib/esm/appui-react/popup/InputEditorPopup.js +5 -4
  1184. package/lib/esm/appui-react/popup/InputEditorPopup.js.map +1 -1
  1185. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts +1 -1
  1186. package/lib/esm/appui-react/popup/KeyinPalettePanel.d.ts.map +1 -1
  1187. package/lib/esm/appui-react/popup/KeyinPalettePanel.js +23 -22
  1188. package/lib/esm/appui-react/popup/KeyinPalettePanel.js.map +1 -1
  1189. package/lib/esm/appui-react/popup/KeyinPalettePanel.scss +4 -4
  1190. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts +1 -1
  1191. package/lib/esm/appui-react/popup/KeyinPalettePopup.d.ts.map +1 -1
  1192. package/lib/esm/appui-react/popup/KeyinPalettePopup.js +5 -5
  1193. package/lib/esm/appui-react/popup/KeyinPalettePopup.js.map +1 -1
  1194. package/lib/esm/appui-react/popup/PopupManager.d.ts.map +1 -1
  1195. package/lib/esm/appui-react/popup/PopupManager.js +45 -19
  1196. package/lib/esm/appui-react/popup/PopupManager.js.map +1 -1
  1197. package/lib/esm/appui-react/popup/PositionPopup.d.ts.map +1 -1
  1198. package/lib/esm/appui-react/popup/PositionPopup.js +4 -4
  1199. package/lib/esm/appui-react/popup/PositionPopup.js.map +1 -1
  1200. package/lib/esm/appui-react/popup/PositionPopup.scss +3 -4
  1201. package/lib/esm/appui-react/popup/ToolSettingsPopup.d.ts.map +1 -1
  1202. package/lib/esm/appui-react/popup/ToolSettingsPopup.js +4 -5
  1203. package/lib/esm/appui-react/popup/ToolSettingsPopup.js.map +1 -1
  1204. package/lib/esm/appui-react/popup/ToolbarPopup.d.ts.map +1 -1
  1205. package/lib/esm/appui-react/popup/ToolbarPopup.js +4 -4
  1206. package/lib/esm/appui-react/popup/ToolbarPopup.js.map +1 -1
  1207. package/lib/esm/appui-react/redux/FrameworkState.d.ts.map +1 -1
  1208. package/lib/esm/appui-react/redux/FrameworkState.js +3 -3
  1209. package/lib/esm/appui-react/redux/FrameworkState.js.map +1 -1
  1210. package/lib/esm/appui-react/redux/ReducerRegistry.d.ts.map +1 -1
  1211. package/lib/esm/appui-react/redux/ReducerRegistry.js +3 -4
  1212. package/lib/esm/appui-react/redux/ReducerRegistry.js.map +1 -1
  1213. package/lib/esm/appui-react/redux/SessionState.d.ts +9 -9
  1214. package/lib/esm/appui-react/redux/SessionState.d.ts.map +1 -1
  1215. package/lib/esm/appui-react/redux/SessionState.js +7 -4
  1216. package/lib/esm/appui-react/redux/SessionState.js.map +1 -1
  1217. package/lib/esm/appui-react/redux/StateManager.d.ts.map +1 -1
  1218. package/lib/esm/appui-react/redux/StateManager.js +10 -6
  1219. package/lib/esm/appui-react/redux/StateManager.js.map +1 -1
  1220. package/lib/esm/appui-react/redux/connectIModel.d.ts +1 -1
  1221. package/lib/esm/appui-react/redux/connectIModel.d.ts.map +1 -1
  1222. package/lib/esm/appui-react/redux/connectIModel.js +4 -4
  1223. package/lib/esm/appui-react/redux/connectIModel.js.map +1 -1
  1224. package/lib/esm/appui-react/redux/redux-ts.d.ts +3 -3
  1225. package/lib/esm/appui-react/redux/redux-ts.d.ts.map +1 -1
  1226. package/lib/esm/appui-react/redux/redux-ts.js +6 -4
  1227. package/lib/esm/appui-react/redux/redux-ts.js.map +1 -1
  1228. package/lib/esm/appui-react/safearea/SafeAreaContext.d.ts.map +1 -1
  1229. package/lib/esm/appui-react/safearea/SafeAreaContext.js +3 -3
  1230. package/lib/esm/appui-react/safearea/SafeAreaContext.js.map +1 -1
  1231. package/lib/esm/appui-react/safearea/SafeAreaHelpers.d.ts.map +1 -1
  1232. package/lib/esm/appui-react/safearea/SafeAreaHelpers.js +3 -3
  1233. package/lib/esm/appui-react/safearea/SafeAreaHelpers.js.map +1 -1
  1234. package/lib/esm/appui-react/safearea/SafeAreaInsets.d.ts.map +1 -1
  1235. package/lib/esm/appui-react/safearea/SafeAreaInsets.js +3 -3
  1236. package/lib/esm/appui-react/safearea/SafeAreaInsets.js.map +1 -1
  1237. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts +2 -2
  1238. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.d.ts.map +1 -1
  1239. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js +103 -40
  1240. package/lib/esm/appui-react/selection/HideIsolateEmphasizeManager.js.map +1 -1
  1241. package/lib/esm/appui-react/selection/SelectionContextItemDef.d.ts.map +1 -1
  1242. package/lib/esm/appui-react/selection/SelectionContextItemDef.js +42 -14
  1243. package/lib/esm/appui-react/selection/SelectionContextItemDef.js.map +1 -1
  1244. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts +1 -1
  1245. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.d.ts.map +1 -1
  1246. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js +33 -27
  1247. package/lib/esm/appui-react/settings/quantityformatting/QuantityFormat.js.map +1 -1
  1248. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.d.ts.map +1 -1
  1249. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js +9 -5
  1250. package/lib/esm/appui-react/settings/quantityformatting/UnitSystemSelector.js.map +1 -1
  1251. package/lib/esm/appui-react/settings/ui/UiSettingsPage.d.ts.map +1 -1
  1252. package/lib/esm/appui-react/settings/ui/UiSettingsPage.js +38 -15
  1253. package/lib/esm/appui-react/settings/ui/UiSettingsPage.js.map +1 -1
  1254. package/lib/esm/appui-react/shared/ActionButtonItemDef.d.ts.map +1 -1
  1255. package/lib/esm/appui-react/shared/ActionButtonItemDef.js +7 -4
  1256. package/lib/esm/appui-react/shared/ActionButtonItemDef.js.map +1 -1
  1257. package/lib/esm/appui-react/shared/AnyItemDef.d.ts.map +1 -1
  1258. package/lib/esm/appui-react/shared/AnyItemDef.js +3 -3
  1259. package/lib/esm/appui-react/shared/AnyItemDef.js.map +1 -1
  1260. package/lib/esm/appui-react/shared/AnyToolbarItemDef.js +3 -3
  1261. package/lib/esm/appui-react/shared/AnyToolbarItemDef.js.map +1 -1
  1262. package/lib/esm/appui-react/shared/CommandItemDef.d.ts.map +1 -1
  1263. package/lib/esm/appui-react/shared/CommandItemDef.js +8 -4
  1264. package/lib/esm/appui-react/shared/CommandItemDef.js.map +1 -1
  1265. package/lib/esm/appui-react/shared/CustomItemDef.d.ts.map +1 -1
  1266. package/lib/esm/appui-react/shared/CustomItemDef.js +3 -3
  1267. package/lib/esm/appui-react/shared/CustomItemDef.js.map +1 -1
  1268. package/lib/esm/appui-react/shared/CustomItemProps.js +3 -3
  1269. package/lib/esm/appui-react/shared/CustomItemProps.js.map +1 -1
  1270. package/lib/esm/appui-react/shared/GroupItemProps.js +3 -3
  1271. package/lib/esm/appui-react/shared/GroupItemProps.js.map +1 -1
  1272. package/lib/esm/appui-react/shared/ItemDefBase.d.ts.map +1 -1
  1273. package/lib/esm/appui-react/shared/ItemDefBase.js +15 -8
  1274. package/lib/esm/appui-react/shared/ItemDefBase.js.map +1 -1
  1275. package/lib/esm/appui-react/shared/ItemMap.d.ts.map +1 -1
  1276. package/lib/esm/appui-react/shared/ItemMap.js +3 -3
  1277. package/lib/esm/appui-react/shared/ItemMap.js.map +1 -1
  1278. package/lib/esm/appui-react/shared/ItemProps.d.ts.map +1 -1
  1279. package/lib/esm/appui-react/shared/ItemProps.js +3 -3
  1280. package/lib/esm/appui-react/shared/ItemProps.js.map +1 -1
  1281. package/lib/esm/appui-react/shared/MenuItem.d.ts.map +1 -1
  1282. package/lib/esm/appui-react/shared/MenuItem.js +6 -4
  1283. package/lib/esm/appui-react/shared/MenuItem.js.map +1 -1
  1284. package/lib/esm/appui-react/shared/SelectionScope.js +3 -3
  1285. package/lib/esm/appui-react/shared/SelectionScope.js.map +1 -1
  1286. package/lib/esm/appui-react/shared/ToolItemDef.d.ts.map +1 -1
  1287. package/lib/esm/appui-react/shared/ToolItemDef.js +13 -5
  1288. package/lib/esm/appui-react/shared/ToolItemDef.js.map +1 -1
  1289. package/lib/esm/appui-react/stagepanels/StagePanelConfig.js +3 -3
  1290. package/lib/esm/appui-react/stagepanels/StagePanelConfig.js.map +1 -1
  1291. package/lib/esm/appui-react/stagepanels/StagePanelDef.d.ts.map +1 -1
  1292. package/lib/esm/appui-react/stagepanels/StagePanelDef.js +30 -11
  1293. package/lib/esm/appui-react/stagepanels/StagePanelDef.js.map +1 -1
  1294. package/lib/esm/appui-react/stagepanels/StagePanelLocation.js +3 -3
  1295. package/lib/esm/appui-react/stagepanels/StagePanelLocation.js.map +1 -1
  1296. package/lib/esm/appui-react/stagepanels/StagePanelSection.js +3 -3
  1297. package/lib/esm/appui-react/stagepanels/StagePanelSection.js.map +1 -1
  1298. package/lib/esm/appui-react/statusbar/Field.d.ts.map +1 -1
  1299. package/lib/esm/appui-react/statusbar/Field.js +3 -3
  1300. package/lib/esm/appui-react/statusbar/Field.js.map +1 -1
  1301. package/lib/esm/appui-react/statusbar/Field.scss +8 -8
  1302. package/lib/esm/appui-react/statusbar/Indicator.d.ts.map +1 -1
  1303. package/lib/esm/appui-react/statusbar/Indicator.js +4 -4
  1304. package/lib/esm/appui-react/statusbar/Indicator.js.map +1 -1
  1305. package/lib/esm/appui-react/statusbar/LabelIndicator.d.ts.map +1 -1
  1306. package/lib/esm/appui-react/statusbar/LabelIndicator.js +5 -5
  1307. package/lib/esm/appui-react/statusbar/LabelIndicator.js.map +1 -1
  1308. package/lib/esm/appui-react/statusbar/LabelIndicator.scss +5 -5
  1309. package/lib/esm/appui-react/statusbar/Overflow.d.ts.map +1 -1
  1310. package/lib/esm/appui-react/statusbar/Overflow.js +3 -3
  1311. package/lib/esm/appui-react/statusbar/Overflow.js.map +1 -1
  1312. package/lib/esm/appui-react/statusbar/Overflow.scss +4 -4
  1313. package/lib/esm/appui-react/statusbar/OverflowPanel.d.ts.map +1 -1
  1314. package/lib/esm/appui-react/statusbar/OverflowPanel.js +3 -3
  1315. package/lib/esm/appui-react/statusbar/OverflowPanel.js.map +1 -1
  1316. package/lib/esm/appui-react/statusbar/OverflowPanel.scss +5 -5
  1317. package/lib/esm/appui-react/statusbar/Popup.d.ts.map +1 -1
  1318. package/lib/esm/appui-react/statusbar/Popup.js +4 -4
  1319. package/lib/esm/appui-react/statusbar/Popup.js.map +1 -1
  1320. package/lib/esm/appui-react/statusbar/Separator.d.ts.map +1 -1
  1321. package/lib/esm/appui-react/statusbar/Separator.js +4 -4
  1322. package/lib/esm/appui-react/statusbar/Separator.js.map +1 -1
  1323. package/lib/esm/appui-react/statusbar/StatusBar.d.ts.map +1 -1
  1324. package/lib/esm/appui-react/statusbar/StatusBar.js +7 -7
  1325. package/lib/esm/appui-react/statusbar/StatusBar.js.map +1 -1
  1326. package/lib/esm/appui-react/statusbar/StatusBar.scss +4 -4
  1327. package/lib/esm/appui-react/statusbar/StatusBarComposer.d.ts.map +1 -1
  1328. package/lib/esm/appui-react/statusbar/StatusBarComposer.js +25 -20
  1329. package/lib/esm/appui-react/statusbar/StatusBarComposer.js.map +1 -1
  1330. package/lib/esm/appui-react/statusbar/StatusBarItem.d.ts.map +1 -1
  1331. package/lib/esm/appui-react/statusbar/StatusBarItem.js +3 -3
  1332. package/lib/esm/appui-react/statusbar/StatusBarItem.js.map +1 -1
  1333. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.d.ts.map +1 -1
  1334. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js +3 -3
  1335. package/lib/esm/appui-react/statusbar/StatusBarItemUtilities.js.map +1 -1
  1336. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.d.ts.map +1 -1
  1337. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js +12 -13
  1338. package/lib/esm/appui-react/statusbar/StatusBarItemsManager.js.map +1 -1
  1339. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.d.ts.map +1 -1
  1340. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js +6 -4
  1341. package/lib/esm/appui-react/statusbar/StatusBarWidgetControl.js.map +1 -1
  1342. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts +2 -2
  1343. package/lib/esm/appui-react/statusbar/dialog/Button.d.ts.map +1 -1
  1344. package/lib/esm/appui-react/statusbar/dialog/Button.js +6 -6
  1345. package/lib/esm/appui-react/statusbar/dialog/Button.js.map +1 -1
  1346. package/lib/esm/appui-react/statusbar/dialog/Dialog.js +3 -3
  1347. package/lib/esm/appui-react/statusbar/dialog/Dialog.js.map +1 -1
  1348. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts +2 -2
  1349. package/lib/esm/appui-react/statusbar/dialog/TitleBar.d.ts.map +1 -1
  1350. package/lib/esm/appui-react/statusbar/dialog/TitleBar.js +5 -5
  1351. package/lib/esm/appui-react/statusbar/dialog/TitleBar.js.map +1 -1
  1352. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.d.ts.map +1 -1
  1353. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.js +3 -3
  1354. package/lib/esm/appui-react/statusbar/useDefaultStatusBarItems.js.map +1 -1
  1355. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.d.ts.map +1 -1
  1356. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js +5 -4
  1357. package/lib/esm/appui-react/statusbar/useUiItemsProviderStatusBarItems.js.map +1 -1
  1358. package/lib/esm/appui-react/statusfields/ActivityCenter.js +3 -3
  1359. package/lib/esm/appui-react/statusfields/ActivityCenter.js.map +1 -1
  1360. package/lib/esm/appui-react/statusfields/MessageCenter.d.ts.map +1 -1
  1361. package/lib/esm/appui-react/statusfields/MessageCenter.js +15 -12
  1362. package/lib/esm/appui-react/statusfields/MessageCenter.js.map +1 -1
  1363. package/lib/esm/appui-react/statusfields/SectionsField.d.ts.map +1 -1
  1364. package/lib/esm/appui-react/statusfields/SectionsField.js +21 -19
  1365. package/lib/esm/appui-react/statusfields/SectionsField.js.map +1 -1
  1366. package/lib/esm/appui-react/statusfields/SelectionCount.d.ts.map +1 -1
  1367. package/lib/esm/appui-react/statusfields/SelectionCount.js +3 -3
  1368. package/lib/esm/appui-react/statusfields/SelectionCount.js.map +1 -1
  1369. package/lib/esm/appui-react/statusfields/SelectionInfo.js +3 -3
  1370. package/lib/esm/appui-react/statusfields/SelectionInfo.js.map +1 -1
  1371. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts +2 -1
  1372. package/lib/esm/appui-react/statusfields/SelectionScope.d.ts.map +1 -1
  1373. package/lib/esm/appui-react/statusfields/SelectionScope.js +8 -5
  1374. package/lib/esm/appui-react/statusfields/SelectionScope.js.map +1 -1
  1375. package/lib/esm/appui-react/statusfields/SnapMode.d.ts +2 -1
  1376. package/lib/esm/appui-react/statusfields/SnapMode.d.ts.map +1 -1
  1377. package/lib/esm/appui-react/statusfields/SnapMode.js +42 -13
  1378. package/lib/esm/appui-react/statusfields/SnapMode.js.map +1 -1
  1379. package/lib/esm/appui-react/statusfields/ViewAttributes.d.ts.map +1 -1
  1380. package/lib/esm/appui-react/statusfields/ViewAttributes.js +17 -8
  1381. package/lib/esm/appui-react/statusfields/ViewAttributes.js.map +1 -1
  1382. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.d.ts.map +1 -1
  1383. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js +12 -6
  1384. package/lib/esm/appui-react/statusfields/tileloading/TileLoadingIndicator.js.map +1 -1
  1385. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.d.ts.map +1 -1
  1386. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js +69 -52
  1387. package/lib/esm/appui-react/statusfields/toolassistance/ToolAssistanceField.js.map +1 -1
  1388. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.d.ts.map +1 -1
  1389. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js +27 -14
  1390. package/lib/esm/appui-react/syncui/SyncUiEventDispatcher.js.map +1 -1
  1391. package/lib/esm/appui-react/theme/ThemeManager.d.ts +1 -7
  1392. package/lib/esm/appui-react/theme/ThemeManager.d.ts.map +1 -1
  1393. package/lib/esm/appui-react/theme/ThemeManager.js +23 -23
  1394. package/lib/esm/appui-react/theme/ThemeManager.js.map +1 -1
  1395. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.d.ts.map +1 -1
  1396. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.js +3 -3
  1397. package/lib/esm/appui-react/timeline/AnalysisAnimationProvider.js.map +1 -1
  1398. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.d.ts.map +1 -1
  1399. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.js +7 -5
  1400. package/lib/esm/appui-react/timeline/ScheduleAnimationProvider.js.map +1 -1
  1401. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.d.ts.map +1 -1
  1402. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js +20 -9
  1403. package/lib/esm/appui-react/timeline/SolarTimelineDataProvider.js.map +1 -1
  1404. package/lib/esm/appui-react/toolbar/DragInteraction.js +4 -4
  1405. package/lib/esm/appui-react/toolbar/DragInteraction.js.map +1 -1
  1406. package/lib/esm/appui-react/toolbar/GroupItem.d.ts.map +1 -1
  1407. package/lib/esm/appui-react/toolbar/GroupItem.js +10 -7
  1408. package/lib/esm/appui-react/toolbar/GroupItem.js.map +1 -1
  1409. package/lib/esm/appui-react/toolbar/Toolbar.d.ts.map +1 -1
  1410. package/lib/esm/appui-react/toolbar/Toolbar.js +3 -3
  1411. package/lib/esm/appui-react/toolbar/Toolbar.js.map +1 -1
  1412. package/lib/esm/appui-react/toolbar/ToolbarComposer.d.ts.map +1 -1
  1413. package/lib/esm/appui-react/toolbar/ToolbarComposer.js +48 -21
  1414. package/lib/esm/appui-react/toolbar/ToolbarComposer.js.map +1 -1
  1415. package/lib/esm/appui-react/toolbar/ToolbarHelper.d.ts.map +1 -1
  1416. package/lib/esm/appui-react/toolbar/ToolbarHelper.js +3 -2
  1417. package/lib/esm/appui-react/toolbar/ToolbarHelper.js.map +1 -1
  1418. package/lib/esm/appui-react/toolbar/ToolbarItem.d.ts.map +1 -1
  1419. package/lib/esm/appui-react/toolbar/ToolbarItem.js +3 -3
  1420. package/lib/esm/appui-react/toolbar/ToolbarItem.js.map +1 -1
  1421. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.d.ts.map +1 -1
  1422. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js +3 -3
  1423. package/lib/esm/appui-react/toolbar/ToolbarItemUtilities.js.map +1 -1
  1424. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.d.ts.map +1 -1
  1425. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.js +32 -17
  1426. package/lib/esm/appui-react/toolbar/ToolbarItemsManager.js.map +1 -1
  1427. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.d.ts.map +1 -1
  1428. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.js +3 -3
  1429. package/lib/esm/appui-react/toolbar/ToolbarWithOverflow.js.map +1 -1
  1430. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.d.ts.map +1 -1
  1431. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.js +17 -5
  1432. package/lib/esm/appui-react/toolbar/toUIAToolbarItem.js.map +1 -1
  1433. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.d.ts.map +1 -1
  1434. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.js +3 -3
  1435. package/lib/esm/appui-react/toolbar/useDefaultToolbarItems.js.map +1 -1
  1436. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.d.ts.map +1 -1
  1437. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js +5 -4
  1438. package/lib/esm/appui-react/toolbar/useUiItemsProviderToolbarItems.js.map +1 -1
  1439. package/lib/esm/appui-react/tools/CoreToolDefinitions.d.ts.map +1 -1
  1440. package/lib/esm/appui-react/tools/CoreToolDefinitions.js +64 -18
  1441. package/lib/esm/appui-react/tools/CoreToolDefinitions.js.map +1 -1
  1442. package/lib/esm/appui-react/tools/FrameworkToolAdmin.d.ts +2 -2
  1443. package/lib/esm/appui-react/tools/FrameworkToolAdmin.d.ts.map +1 -1
  1444. package/lib/esm/appui-react/tools/FrameworkToolAdmin.js +7 -6
  1445. package/lib/esm/appui-react/tools/FrameworkToolAdmin.js.map +1 -1
  1446. package/lib/esm/appui-react/tools/KeyinPaletteTools.d.ts.map +1 -1
  1447. package/lib/esm/appui-react/tools/KeyinPaletteTools.js +9 -5
  1448. package/lib/esm/appui-react/tools/KeyinPaletteTools.js.map +1 -1
  1449. package/lib/esm/appui-react/tools/OpenSettingsTool.d.ts.map +1 -1
  1450. package/lib/esm/appui-react/tools/OpenSettingsTool.js +9 -5
  1451. package/lib/esm/appui-react/tools/OpenSettingsTool.js.map +1 -1
  1452. package/lib/esm/appui-react/tools/RestoreLayoutTool.d.ts.map +1 -1
  1453. package/lib/esm/appui-react/tools/RestoreLayoutTool.js +10 -6
  1454. package/lib/esm/appui-react/tools/RestoreLayoutTool.js.map +1 -1
  1455. package/lib/esm/appui-react/tools/ToolSettingsTools.d.ts.map +1 -1
  1456. package/lib/esm/appui-react/tools/ToolSettingsTools.js +6 -4
  1457. package/lib/esm/appui-react/tools/ToolSettingsTools.js.map +1 -1
  1458. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.d.ts.map +1 -1
  1459. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js +8 -5
  1460. package/lib/esm/appui-react/toolsettings/DefaultToolSettingsProvider.js.map +1 -1
  1461. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.d.ts.map +1 -1
  1462. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js +33 -13
  1463. package/lib/esm/appui-react/toolsettings/InternalToolSettingsManager.js.map +1 -1
  1464. package/lib/esm/appui-react/toolsettings/ToolInformation.d.ts.map +1 -1
  1465. package/lib/esm/appui-react/toolsettings/ToolInformation.js +5 -4
  1466. package/lib/esm/appui-react/toolsettings/ToolInformation.js.map +1 -1
  1467. package/lib/esm/appui-react/toolsettings/ToolUiProvider.d.ts.map +1 -1
  1468. package/lib/esm/appui-react/toolsettings/ToolUiProvider.js +28 -12
  1469. package/lib/esm/appui-react/toolsettings/ToolUiProvider.js.map +1 -1
  1470. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.d.ts.map +1 -1
  1471. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js +40 -16
  1472. package/lib/esm/appui-react/ui-items-provider/AbstractUiItemsManager.js.map +1 -1
  1473. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.d.ts.map +1 -1
  1474. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js +18 -10
  1475. package/lib/esm/appui-react/ui-items-provider/BaseUiItemsProvider.js.map +1 -1
  1476. package/lib/esm/appui-react/ui-items-provider/ProviderItem.js +3 -3
  1477. package/lib/esm/appui-react/ui-items-provider/ProviderItem.js.map +1 -1
  1478. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.d.ts.map +1 -1
  1479. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js +3 -3
  1480. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsProvider.js.map +1 -1
  1481. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.d.ts.map +1 -1
  1482. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js +35 -15
  1483. package/lib/esm/appui-react/ui-items-provider/StandardContentToolsUiItemsProvider.js.map +1 -1
  1484. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.d.ts.map +1 -1
  1485. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js +3 -3
  1486. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsProvider.js.map +1 -1
  1487. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.d.ts.map +1 -1
  1488. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js +35 -15
  1489. package/lib/esm/appui-react/ui-items-provider/StandardNavigationToolsUiItemsProvider.js.map +1 -1
  1490. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts +8 -8
  1491. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.d.ts.map +1 -1
  1492. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js +11 -11
  1493. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarItemsProvider.js.map +1 -1
  1494. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.d.ts.map +1 -1
  1495. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js +7 -5
  1496. package/lib/esm/appui-react/ui-items-provider/StandardStatusbarUiItemsProvider.js.map +1 -1
  1497. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.d.ts.map +1 -1
  1498. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js +38 -18
  1499. package/lib/esm/appui-react/ui-items-provider/UiItemsManager.js.map +1 -1
  1500. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.d.ts.map +1 -1
  1501. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js +3 -3
  1502. package/lib/esm/appui-react/ui-items-provider/UiItemsProvider.js.map +1 -1
  1503. package/lib/esm/appui-react/ui-items-provider/isProviderItem.d.ts.map +1 -1
  1504. package/lib/esm/appui-react/ui-items-provider/isProviderItem.js +3 -3
  1505. package/lib/esm/appui-react/ui-items-provider/isProviderItem.js.map +1 -1
  1506. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts +8 -8
  1507. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.d.ts.map +1 -1
  1508. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js +37 -19
  1509. package/lib/esm/appui-react/uiadmin/FrameworkUiAdmin.js.map +1 -1
  1510. package/lib/esm/appui-react/uiprovider/ComponentGenerator.d.ts.map +1 -1
  1511. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js +46 -28
  1512. package/lib/esm/appui-react/uiprovider/ComponentGenerator.js.map +1 -1
  1513. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts +3 -3
  1514. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.d.ts.map +1 -1
  1515. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js +12 -11
  1516. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.js.map +1 -1
  1517. package/lib/esm/appui-react/uiprovider/DefaultDialogGridContainer.scss +22 -11
  1518. package/lib/esm/appui-react/uistate/AppUiSettings.d.ts.map +1 -1
  1519. package/lib/esm/appui-react/uistate/AppUiSettings.js +3 -3
  1520. package/lib/esm/appui-react/uistate/AppUiSettings.js.map +1 -1
  1521. package/lib/esm/appui-react/uistate/useUiStateStorage.d.ts.map +1 -1
  1522. package/lib/esm/appui-react/uistate/useUiStateStorage.js +7 -5
  1523. package/lib/esm/appui-react/uistate/useUiStateStorage.js.map +1 -1
  1524. package/lib/esm/appui-react/utils/InternalUiShowHideManager.d.ts.map +1 -1
  1525. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js +16 -8
  1526. package/lib/esm/appui-react/utils/InternalUiShowHideManager.js.map +1 -1
  1527. package/lib/esm/appui-react/utils/PropsHelper.d.ts +1 -1
  1528. package/lib/esm/appui-react/utils/PropsHelper.d.ts.map +1 -1
  1529. package/lib/esm/appui-react/utils/PropsHelper.js +8 -7
  1530. package/lib/esm/appui-react/utils/PropsHelper.js.map +1 -1
  1531. package/lib/esm/appui-react/utils/ToolbarButtonHelper.d.ts.map +1 -1
  1532. package/lib/esm/appui-react/utils/ToolbarButtonHelper.js +3 -3
  1533. package/lib/esm/appui-react/utils/ToolbarButtonHelper.js.map +1 -1
  1534. package/lib/esm/appui-react/utils/ViewUtilities.d.ts.map +1 -1
  1535. package/lib/esm/appui-react/utils/ViewUtilities.js +8 -6
  1536. package/lib/esm/appui-react/utils/ViewUtilities.js.map +1 -1
  1537. package/lib/esm/appui-react/widget-panels/Content.d.ts.map +1 -1
  1538. package/lib/esm/appui-react/widget-panels/Content.js +11 -6
  1539. package/lib/esm/appui-react/widget-panels/Content.js.map +1 -1
  1540. package/lib/esm/appui-react/widget-panels/FloatingWidget.js +3 -3
  1541. package/lib/esm/appui-react/widget-panels/FloatingWidget.js.map +1 -1
  1542. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts +1 -1
  1543. package/lib/esm/appui-react/widget-panels/Frontstage.d.ts.map +1 -1
  1544. package/lib/esm/appui-react/widget-panels/Frontstage.js +75 -34
  1545. package/lib/esm/appui-react/widget-panels/Frontstage.js.map +1 -1
  1546. package/lib/esm/appui-react/widget-panels/FrontstageContent.d.ts.map +1 -1
  1547. package/lib/esm/appui-react/widget-panels/FrontstageContent.js +6 -4
  1548. package/lib/esm/appui-react/widget-panels/FrontstageContent.js.map +1 -1
  1549. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts +1 -1
  1550. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.d.ts.map +1 -1
  1551. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js +10 -7
  1552. package/lib/esm/appui-react/widget-panels/ModalFrontstageComposer.js.map +1 -1
  1553. package/lib/esm/appui-react/widget-panels/StatusBar.d.ts.map +1 -1
  1554. package/lib/esm/appui-react/widget-panels/StatusBar.js +6 -4
  1555. package/lib/esm/appui-react/widget-panels/StatusBar.js.map +1 -1
  1556. package/lib/esm/appui-react/widget-panels/StatusBar.scss +5 -5
  1557. package/lib/esm/appui-react/widget-panels/Tab.d.ts.map +1 -1
  1558. package/lib/esm/appui-react/widget-panels/Tab.js +4 -4
  1559. package/lib/esm/appui-react/widget-panels/Tab.js.map +1 -1
  1560. package/lib/esm/appui-react/widget-panels/ToolSettings.d.ts.map +1 -1
  1561. package/lib/esm/appui-react/widget-panels/ToolSettings.js +20 -16
  1562. package/lib/esm/appui-react/widget-panels/ToolSettings.js.map +1 -1
  1563. package/lib/esm/appui-react/widget-panels/Toolbars.js +3 -3
  1564. package/lib/esm/appui-react/widget-panels/Toolbars.js.map +1 -1
  1565. package/lib/esm/appui-react/widget-panels/useTransientState.d.ts.map +1 -1
  1566. package/lib/esm/appui-react/widget-panels/useTransientState.js +3 -3
  1567. package/lib/esm/appui-react/widget-panels/useTransientState.js.map +1 -1
  1568. package/lib/esm/appui-react/widget-panels/useWidgetDirection.d.ts.map +1 -1
  1569. package/lib/esm/appui-react/widget-panels/useWidgetDirection.js +7 -5
  1570. package/lib/esm/appui-react/widget-panels/useWidgetDirection.js.map +1 -1
  1571. package/lib/esm/appui-react/widgets/BackstageAppButton.d.ts.map +1 -1
  1572. package/lib/esm/appui-react/widgets/BackstageAppButton.js +9 -5
  1573. package/lib/esm/appui-react/widgets/BackstageAppButton.js.map +1 -1
  1574. package/lib/esm/appui-react/widgets/BasicNavigationWidget.d.ts.map +1 -1
  1575. package/lib/esm/appui-react/widgets/BasicNavigationWidget.js +9 -4
  1576. package/lib/esm/appui-react/widgets/BasicNavigationWidget.js.map +1 -1
  1577. package/lib/esm/appui-react/widgets/BasicToolWidget.d.ts.map +1 -1
  1578. package/lib/esm/appui-react/widgets/BasicToolWidget.js +10 -4
  1579. package/lib/esm/appui-react/widgets/BasicToolWidget.js.map +1 -1
  1580. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.d.ts.map +1 -1
  1581. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js +3 -3
  1582. package/lib/esm/appui-react/widgets/ContentToolWidgetComposer.js.map +1 -1
  1583. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.d.ts.map +1 -1
  1584. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js +23 -11
  1585. package/lib/esm/appui-react/widgets/NavigationWidgetComposer.js.map +1 -1
  1586. package/lib/esm/appui-react/widgets/StableWidgetDef.d.ts.map +1 -1
  1587. package/lib/esm/appui-react/widgets/StableWidgetDef.js +3 -3
  1588. package/lib/esm/appui-react/widgets/StableWidgetDef.js.map +1 -1
  1589. package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.d.ts.map +1 -1
  1590. package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.js +3 -3
  1591. package/lib/esm/appui-react/widgets/StatusBarWidgetComposerControl.js.map +1 -1
  1592. package/lib/esm/appui-react/widgets/ToolSettingsContent.d.ts.map +1 -1
  1593. package/lib/esm/appui-react/widgets/ToolSettingsContent.js +3 -3
  1594. package/lib/esm/appui-react/widgets/ToolSettingsContent.js.map +1 -1
  1595. package/lib/esm/appui-react/widgets/ToolWidgetComposer.d.ts.map +1 -1
  1596. package/lib/esm/appui-react/widgets/ToolWidgetComposer.js +4 -4
  1597. package/lib/esm/appui-react/widgets/ToolWidgetComposer.js.map +1 -1
  1598. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.d.ts.map +1 -1
  1599. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js +3 -3
  1600. package/lib/esm/appui-react/widgets/ViewToolWidgetComposer.js.map +1 -1
  1601. package/lib/esm/appui-react/widgets/Widget.d.ts.map +1 -1
  1602. package/lib/esm/appui-react/widgets/Widget.js +3 -3
  1603. package/lib/esm/appui-react/widgets/Widget.js.map +1 -1
  1604. package/lib/esm/appui-react/widgets/WidgetConfig.js +3 -3
  1605. package/lib/esm/appui-react/widgets/WidgetConfig.js.map +1 -1
  1606. package/lib/esm/appui-react/widgets/WidgetControl.d.ts.map +1 -1
  1607. package/lib/esm/appui-react/widgets/WidgetControl.js +21 -13
  1608. package/lib/esm/appui-react/widgets/WidgetControl.js.map +1 -1
  1609. package/lib/esm/appui-react/widgets/WidgetDef.d.ts.map +1 -1
  1610. package/lib/esm/appui-react/widgets/WidgetDef.js +100 -37
  1611. package/lib/esm/appui-react/widgets/WidgetDef.js.map +1 -1
  1612. package/lib/esm/appui-react/widgets/WidgetHost.d.ts.map +1 -1
  1613. package/lib/esm/appui-react/widgets/WidgetHost.js +6 -5
  1614. package/lib/esm/appui-react/widgets/WidgetHost.js.map +1 -1
  1615. package/lib/esm/appui-react/widgets/WidgetManager.d.ts.map +1 -1
  1616. package/lib/esm/appui-react/widgets/WidgetManager.js +23 -15
  1617. package/lib/esm/appui-react/widgets/WidgetManager.js.map +1 -1
  1618. package/lib/esm/appui-react/widgets/WidgetState.js +3 -3
  1619. package/lib/esm/appui-react/widgets/WidgetState.js.map +1 -1
  1620. package/lib/esm/appui-react.js +3 -3
  1621. package/lib/esm/appui-react.js.map +1 -1
  1622. package/lib/public/locales/en/UiFramework.json +1 -1
  1623. package/package.json +16 -29
  1624. package/rulesets/Categories.json +72 -76
  1625. package/rulesets/Models.json +42 -44
@@ -1,12 +1,12 @@
1
1
  /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
5
  /** @packageDocumentation
6
6
  * @module Widget
7
7
  */
8
8
  import { UiError, UiEvent } from "@itwin/appui-abstract";
9
- import { ConfigurableCreateInfo, ConfigurableUiControlType } from "../configurableui/ConfigurableUiControl";
9
+ import { ConfigurableCreateInfo, ConfigurableUiControlType, } from "../configurableui/ConfigurableUiControl";
10
10
  import { UiFramework } from "../UiFramework";
11
11
  import { PropsHelper } from "../utils/PropsHelper";
12
12
  import { IconHelper } from "@itwin/core-react";
@@ -51,38 +51,94 @@ class WidgetDef {
51
51
  }
52
52
  return this.defaultState;
53
53
  }
54
- get id() { return this._id; }
55
- get classId() { return this._classId; }
56
- get priority() { return this._priority; }
57
- get isFloatingStateSupported() { return this._isFloatingStateSupported; }
58
- get isFloatingStateWindowResizable() { return this._isFloatingStateWindowResizable; }
59
- get isToolSettings() { return this._widgetType === WidgetType.ToolSettings; }
60
- get isStatusBar() { return this._widgetType === WidgetType.StatusBar; }
61
- get stateChanged() { return this._stateChanged; }
62
- get applicationData() { return this._applicationData; }
63
- get isFloating() { return this.state === WidgetState.Floating; }
64
- get iconSpec() { return this._icon === IconHelper.reactIconKey ? IconHelper.getIconReactNode(this._icon, this._internalData) : this._icon; }
65
- set iconSpec(spec) { this._icon = this._internalData ? IconHelper.getIconData(spec, this._internalData) : spec; }
66
- get badgeType() { return this._badge; }
67
- get initialConfig() { return this._initialConfig; }
68
- get widgetType() { return this._widgetType; }
69
- set widgetType(type) { this._widgetType = type; }
54
+ get id() {
55
+ return this._id;
56
+ }
57
+ get classId() {
58
+ return this._classId;
59
+ }
60
+ get priority() {
61
+ return this._priority;
62
+ }
63
+ get isFloatingStateSupported() {
64
+ return this._isFloatingStateSupported;
65
+ }
66
+ get isFloatingStateWindowResizable() {
67
+ return this._isFloatingStateWindowResizable;
68
+ }
69
+ get isToolSettings() {
70
+ return this._widgetType === WidgetType.ToolSettings;
71
+ }
72
+ get isStatusBar() {
73
+ return this._widgetType === WidgetType.StatusBar;
74
+ }
75
+ get stateChanged() {
76
+ return this._stateChanged;
77
+ }
78
+ get applicationData() {
79
+ return this._applicationData;
80
+ }
81
+ get isFloating() {
82
+ return this.state === WidgetState.Floating;
83
+ }
84
+ get iconSpec() {
85
+ return this._icon === IconHelper.reactIconKey
86
+ ? IconHelper.getIconReactNode(this._icon, this._internalData)
87
+ : this._icon;
88
+ }
89
+ set iconSpec(spec) {
90
+ this._icon = this._internalData
91
+ ? IconHelper.getIconData(spec, this._internalData)
92
+ : spec;
93
+ }
94
+ get badgeType() {
95
+ return this._badge;
96
+ }
97
+ get initialConfig() {
98
+ return this._initialConfig;
99
+ }
100
+ get widgetType() {
101
+ return this._widgetType;
102
+ }
103
+ set widgetType(type) {
104
+ this._widgetType = type;
105
+ }
70
106
  /** @internal */
71
- get tabLocation() { return this._tabLocation; }
72
- set tabLocation(tabLocation) { this._tabLocation = tabLocation; }
107
+ get tabLocation() {
108
+ return this._tabLocation;
109
+ }
110
+ set tabLocation(tabLocation) {
111
+ this._tabLocation = tabLocation;
112
+ }
73
113
  /** @internal */
74
- get defaultTabLocation() { return this._defaultTabLocation; }
114
+ get defaultTabLocation() {
115
+ return this._defaultTabLocation;
116
+ }
75
117
  /** @internal */
76
- get defaultFloatingPosition() { return this._defaultFloatingPosition; }
77
- set defaultFloatingPosition(position) { this._defaultFloatingPosition = position; }
118
+ get defaultFloatingPosition() {
119
+ return this._defaultFloatingPosition;
120
+ }
121
+ set defaultFloatingPosition(position) {
122
+ this._defaultFloatingPosition = position;
123
+ }
78
124
  /** @internal */
79
- get defaultFloatingSize() { return this._defaultFloatingSize; }
80
- set defaultFloatingSize(size) { this._defaultFloatingSize = size; }
125
+ get defaultFloatingSize() {
126
+ return this._defaultFloatingSize;
127
+ }
128
+ set defaultFloatingSize(size) {
129
+ this._defaultFloatingSize = size;
130
+ }
81
131
  /** @internal */
82
- get defaultState() { return this._defaultState; }
132
+ get defaultState() {
133
+ return this._defaultState;
134
+ }
83
135
  /** @internal */
84
- get popoutBounds() { return this._popoutBounds; }
85
- set popoutBounds(bounds) { this._popoutBounds = bounds; }
136
+ get popoutBounds() {
137
+ return this._popoutBounds;
138
+ }
139
+ set popoutBounds(bounds) {
140
+ this._popoutBounds = bounds;
141
+ }
86
142
  constructor() {
87
143
  this._label = "";
88
144
  this._tooltip = "";
@@ -160,7 +216,9 @@ class WidgetDef {
160
216
  if (this._label === v)
161
217
  return;
162
218
  this._label = v;
163
- InternalFrontstageManager.onWidgetLabelChangedEvent.emit({ widgetDef: this });
219
+ InternalFrontstageManager.onWidgetLabelChangedEvent.emit({
220
+ widgetDef: this,
221
+ });
164
222
  }
165
223
  /** Get the tooltip string */
166
224
  get tooltip() {
@@ -223,23 +281,26 @@ class WidgetDef {
223
281
  if (this.state === newState)
224
282
  return;
225
283
  this._stateChanged = true;
226
- UiFramework.frontstages.onWidgetStateChangedEvent.emit({ widgetDef: this, widgetState: newState });
284
+ UiFramework.frontstages.onWidgetStateChangedEvent.emit({
285
+ widgetDef: this,
286
+ widgetState: newState,
287
+ });
227
288
  this.onWidgetStateChanged();
228
289
  }
229
290
  setCanPopout(value) {
230
291
  this._canPopout = value;
231
292
  }
232
293
  get canPopout() {
233
- return (this._canPopout);
294
+ return this._canPopout;
234
295
  }
235
296
  setFloatingContainerId(value) {
236
297
  this._floatingContainerId = value;
237
298
  }
238
299
  get floatingContainerId() {
239
- return (this._floatingContainerId);
300
+ return this._floatingContainerId;
240
301
  }
241
302
  canOpen() {
242
- return (this.isFloating || this.isActive);
303
+ return this.isFloating || this.isActive;
243
304
  }
244
305
  get isVisible() {
245
306
  return WidgetState.Hidden !== this.state;
@@ -260,11 +321,13 @@ class WidgetDef {
260
321
  return this._allowedPanelTargets;
261
322
  }
262
323
  set allowedPanelTargets(targets) {
263
- this._allowedPanelTargets = (targets && (targets === null || targets === void 0 ? void 0 : targets.length) > 0) ? targets : undefined;
324
+ this._allowedPanelTargets =
325
+ targets && (targets === null || targets === void 0 ? void 0 : targets.length) > 0 ? targets : undefined;
264
326
  }
265
327
  onWidgetStateChanged() {
266
328
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
267
- this.widgetControl && UiFramework.postTelemetry(`Widget ${this.widgetControl.classId} state set to ${widgetStateNameMap.get(this.state)}`, "35402486-9839-441E-A5C7-46D546142D11");
329
+ this.widgetControl &&
330
+ UiFramework.postTelemetry(`Widget ${this.widgetControl.classId} state set to ${widgetStateNameMap.get(this.state)}`, "35402486-9839-441E-A5C7-46D546142D11");
268
331
  this.widgetControl && this.widgetControl.onWidgetStateChanged();
269
332
  // istanbul ignore next
270
333
  this._onWidgetStateChanged && this._onWidgetStateChanged();
@@ -1 +1 @@
1
- {"version":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Aa,CAAC,kBAAkB,EAAE,CAAC;QAC9D,IAAI,CAAC,mBAAmB,IAAI,IAAI,CAAC,mBAAmB,EAAE,CAAC;IACzD,CAAC;IAED;;OAEG;IACI,qBAAqB;QAC1B,IAAI,MAAM,GAAG,IAAI,CAAC;QAClB,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,sBAAsB,EAAE;YACrD,IAAI,OAAO,GAAG,KAAK,EAAE,OAAO,GAAG,KAAK,CAAC;YACrC,IAAI,IAAI,CAAC,aAAa;gBACpB,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,qBAAqB,EAAE,CAAC;YACvD,IAAI,IAAI,CAAC,sBAAsB;gBAC7B,OAAO,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;YAC1C,MAAM,GAAG,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,IAAI;QACT,yBAAyB,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACI,MAAM;QACX,yBAAyB,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1E,CAAC;;AAnVc,cAAI,GAAG,CAAC,AAAJ,CAAK;SADb,SAAS","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport type * as React from \"react\";\nimport type { BadgeType, ConditionalStringValue, PointProps, StringGetter} from \"@itwin/appui-abstract\";\nimport { UiError, UiEvent } from \"@itwin/appui-abstract\";\nimport type { FloatingWidgetState, PanelSide } from \"@itwin/appui-layout-react\";\nimport type { ConfigurableUiControlConstructor} from \"../configurableui/ConfigurableUiControl\";\nimport { ConfigurableCreateInfo, ConfigurableUiControlType } from \"../configurableui/ConfigurableUiControl\";\nimport { UiFramework } from \"../UiFramework\";\nimport { PropsHelper } from \"../utils/PropsHelper\";\nimport type { WidgetControl } from \"./WidgetControl\";\nimport type { IconSpec, Rectangle, SizeProps } from \"@itwin/core-react\";\nimport { IconHelper } from \"@itwin/core-react\";\nimport { InternalFrontstageManager } from \"../frontstage/InternalFrontstageManager\";\nimport type { WidgetConfig } from \"./WidgetConfig\";\nimport { WidgetState } from \"./WidgetState\";\nimport type { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport { StatusBarWidgetComposerControl } from \"./StatusBarWidgetComposerControl\";\n\nconst widgetStateNameMap = new Map<WidgetState, string>([\n [WidgetState.Closed, \"Closed\"],\n [WidgetState.Floating, \"Floating\"],\n [WidgetState.Hidden, \"Hidden\"],\n [WidgetState.Open, \"Open\"],\n [WidgetState.Unloaded, \"Unloaded\"],\n]);\n\n/** Widget State Changed Event Args interface.\n * @public\n */\nexport interface WidgetStateChangedEventArgs {\n widgetDef: WidgetDef;\n widgetState: WidgetState;\n}\n\n/** Widget State Changed Event class.\n * @public\n */\nexport class WidgetStateChangedEvent extends UiEvent<WidgetStateChangedEventArgs> { }\n\n/** @internal */\nexport interface WidgetChangedEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** @internal */\nexport interface WidgetEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** Widget type enum.\n * @public\n */\nexport enum WidgetType {\n Tool,\n Navigation,\n Rectangular,\n ToolSettings,\n StatusBar,\n}\n\n/** @internal */\nexport interface TabLocation {\n widgetId: string;\n widgetIndex: number;\n side: PanelSide;\n tabIndex: number;\n floatingWidget?: FloatingWidgetState;\n}\n\n// -----------------------------------------------------------------------------\n\n/** A Widget Definition in the 9-Zone Layout system.\n * @public\n */\nexport class WidgetDef {\n private static _sId = 0;\n private _label: string | ConditionalStringValue | StringGetter = \"\";\n private _tooltip: string | ConditionalStringValue | StringGetter = \"\";\n private _widgetReactNode: React.ReactNode;\n private _widgetControl!: WidgetControl;\n private _defaultState: WidgetState = WidgetState.Unloaded;\n private _id: string;\n private _classId: string | ConfigurableUiControlConstructor | undefined = undefined;\n private _priority: number = 0;\n private _isFloatingStateSupported: boolean = false;\n private _isFloatingStateWindowResizable: boolean = true;\n private _stateChanged: boolean = false;\n private _widgetType: WidgetType = WidgetType.Rectangular;\n private _applicationData?: any;\n private _icon?: IconSpec;\n private _internalData?: Map<string, any>;\n private _badge?: BadgeType;\n private _onWidgetStateChanged?: () => void;\n private _saveTransientState?: () => void;\n private _restoreTransientState?: () => boolean;\n private _preferredPanelSize: \"fit-content\" | undefined;\n private _defaultFloatingSize: SizeProps | undefined;\n private _canPopout?: boolean;\n private _floatingContainerId?: string;\n private _defaultFloatingPosition: PointProps | undefined;\n\n private _hideWithUiWhenFloating?: boolean;\n private _allowedPanelTargets?: ReadonlyArray<StagePanelLocation>;\n private _initialConfig?: WidgetConfig;\n\n private _tabLocation?: TabLocation;\n private _defaultTabLocation: TabLocation = {\n side: \"left\",\n tabIndex: 0,\n widgetId: \"\",\n widgetIndex: 0,\n };\n private _popoutBounds?: Rectangle;\n\n public get state(): WidgetState {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (frontstageDef && frontstageDef.findWidgetDef(this.id)) {\n const currentState = frontstageDef.getWidgetCurrentState(this);\n // istanbul ignore else\n if (undefined !== currentState)\n return currentState;\n }\n return this.defaultState;\n }\n\n public get id(): string { return this._id; }\n public get classId(): string | ConfigurableUiControlConstructor | undefined { return this._classId; }\n public get priority(): number { return this._priority; }\n public get isFloatingStateSupported(): boolean { return this._isFloatingStateSupported; }\n public get isFloatingStateWindowResizable(): boolean { return this._isFloatingStateWindowResizable; }\n public get isToolSettings(): boolean { return this._widgetType === WidgetType.ToolSettings; }\n public get isStatusBar(): boolean { return this._widgetType === WidgetType.StatusBar; }\n public get stateChanged(): boolean { return this._stateChanged; }\n public get applicationData(): any | undefined { return this._applicationData; }\n public get isFloating(): boolean { return this.state === WidgetState.Floating; }\n public get iconSpec(): IconSpec { return this._icon === IconHelper.reactIconKey ? IconHelper.getIconReactNode(this._icon, this._internalData) : this._icon; }\n public set iconSpec(spec: IconSpec) { this._icon = this._internalData ? IconHelper.getIconData(spec, this._internalData) : spec; }\n public get badgeType(): BadgeType | undefined { return this._badge; }\n public get initialConfig(): WidgetConfig | undefined { return this._initialConfig; }\n\n public get widgetType(): WidgetType { return this._widgetType; }\n public set widgetType(type: WidgetType) { this._widgetType = type; }\n\n /** @internal */\n public get tabLocation() { return this._tabLocation; }\n public set tabLocation(tabLocation: TabLocation | undefined) { this._tabLocation = tabLocation; }\n\n /** @internal */\n public get defaultTabLocation() { return this._defaultTabLocation; }\n\n /** @internal */\n public get defaultFloatingPosition() { return this._defaultFloatingPosition; }\n public set defaultFloatingPosition(position: PointProps | undefined) { this._defaultFloatingPosition = position; }\n\n /** @internal */\n public get defaultFloatingSize() { return this._defaultFloatingSize; }\n public set defaultFloatingSize(size: SizeProps | undefined) { this._defaultFloatingSize = size; }\n\n /** @internal */\n public get defaultState() { return this._defaultState; }\n\n /** @internal */\n public get popoutBounds() { return this._popoutBounds; }\n public set popoutBounds(bounds: Rectangle | undefined) { this._popoutBounds = bounds; }\n\n constructor() {\n WidgetDef._sId++;\n this._id = `Widget-${WidgetDef._sId}`;\n }\n\n /** @internal */\n public static create(config: WidgetConfig, type: WidgetType = WidgetType.Rectangular) {\n const def = new WidgetDef();\n def.initializeFromConfig(config, type);\n return def;\n }\n\n private initializeFromConfig(config: WidgetConfig, type: WidgetType) {\n this._widgetType = type;\n this._initialConfig = config;\n this._id = config.id;\n\n if (config.label)\n this.setLabel(config.label);\n else if (config.labelKey)\n this._label = UiFramework.localization.getLocalizedString(config.labelKey);\n\n this.setCanPopout(config.canPopout);\n\n const canFloat = config.canFloat;\n this._isFloatingStateSupported = !!canFloat;\n if (typeof canFloat === \"object\") {\n this.setFloatingContainerId(canFloat.containerId);\n this.defaultFloatingPosition = canFloat.defaultPosition;\n this._hideWithUiWhenFloating = !!canFloat.hideWithUi;\n this._isFloatingStateWindowResizable = !!canFloat.isResizable;\n this._defaultFloatingSize = canFloat.defaultSize;\n }\n\n this.allowedPanelTargets = config.allowedPanels;\n\n if (config.priority !== undefined)\n this._priority = config.priority;\n\n if (config.tooltip)\n this.setTooltip(config.tooltip);\n else if (config.tooltipKey)\n this._tooltip = UiFramework.localization.getLocalizedString(config.tooltipKey);\n\n if (config.defaultState !== undefined) {\n this._defaultState = config.defaultState;\n }\n\n this._widgetReactNode = config.content;\n this._icon = config.icon;\n\n // istanbul ignore next\n if (config.icon !== undefined && this._icon === undefined)\n this._icon = config.icon;\n\n if (config.badge !== undefined)\n this._badge = config.badge;\n\n this._preferredPanelSize = config.preferredPanelSize;\n }\n\n /** @alpha */\n public get preferredPanelSize() {\n return this._preferredPanelSize;\n }\n\n /** Get the label string */\n public get label(): string {\n return PropsHelper.getStringFromSpec(this._label);\n }\n\n /** Set the label.\n * @param v A string or a function to get the string.\n */\n public setLabel(v: string | ConditionalStringValue | StringGetter) {\n if (this._label === v)\n return;\n this._label = v;\n InternalFrontstageManager.onWidgetLabelChangedEvent.emit({ widgetDef: this });\n }\n\n /** Get the tooltip string */\n public get tooltip(): string {\n return PropsHelper.getStringFromSpec(this._tooltip);\n }\n\n /** Set the tooltip.\n * @param v A string or a function to get the string.\n */\n public setTooltip(v: string | ConditionalStringValue | StringGetter) {\n this._tooltip = v;\n }\n\n public get widgetControl(): WidgetControl | undefined {\n return this._widgetControl;\n }\n\n public getWidgetControl(type: ConfigurableUiControlType): WidgetControl | undefined {\n if (!this._widgetControl && this.classId) {\n let usedClassId: string = \"\";\n\n if (typeof this.classId === \"string\") {\n // istanbul ignore else\n if (this.classId)\n this._widgetControl = UiFramework.controls.create(this.classId, this.id, this.applicationData) as WidgetControl;\n usedClassId = this.classId;\n } else {\n const info = new ConfigurableCreateInfo(this.classId.name, this.id, this.id);\n usedClassId = this.classId.name;\n this._widgetControl = new this.classId(info, this.applicationData) as WidgetControl;\n }\n\n // istanbul ignore else\n if (this._widgetControl) {\n if (this._widgetControl.getType() !== type) {\n throw new UiError(UiFramework.loggerCategory(this), `getWidgetControl: '${usedClassId}' is NOT a ${type}; it is a ${this._widgetControl.getType()}`);\n }\n\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n }\n\n // istanbul ignore next - To avoid breaking API changes, if a WidgetControl is not specified for a status bar use Default one.\n if (!this._widgetControl && this.isStatusBar) {\n const info = new ConfigurableCreateInfo(\"StatusBarWidgetComposerControl\", StatusBarWidgetComposerControl.controlId, StatusBarWidgetComposerControl.controlId);\n this._widgetControl = new StatusBarWidgetComposerControl(info, undefined);\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n\n return this._widgetControl;\n }\n\n public get reactNode(): React.ReactNode {\n if (!this._widgetReactNode) {\n const widgetControl = this.getWidgetControl(ConfigurableUiControlType.Widget);\n\n // istanbul ignore else\n if (widgetControl && widgetControl.reactNode)\n this._widgetReactNode = widgetControl.reactNode;\n }\n\n return this._widgetReactNode;\n }\n\n public set reactNode(node: React.ReactNode) {\n this._widgetReactNode = node;\n }\n\n public setWidgetState(newState: WidgetState): void {\n if (this.state === newState)\n return;\n this._stateChanged = true;\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({ widgetDef: this, widgetState: newState });\n this.onWidgetStateChanged();\n }\n\n public setCanPopout(value: boolean | undefined) {\n this._canPopout = value;\n }\n\n public get canPopout(): boolean | undefined {\n return (this._canPopout);\n }\n\n public setFloatingContainerId(value: string | undefined) {\n this._floatingContainerId = value;\n }\n\n public get floatingContainerId(): string | undefined {\n return (this._floatingContainerId);\n }\n\n public canOpen(): boolean {\n return (this.isFloating || this.isActive);\n }\n\n public get isVisible(): boolean {\n return WidgetState.Hidden !== this.state;\n }\n\n public get activeState(): WidgetState {\n return this.state;\n }\n\n public get isActive(): boolean {\n return WidgetState.Open === this.activeState;\n }\n\n public set hideWithUiWhenFloating(hide: boolean | undefined) {\n this._hideWithUiWhenFloating = !!hide;\n }\n\n public get hideWithUiWhenFloating(): boolean {\n return !!this._hideWithUiWhenFloating;\n }\n\n public get allowedPanelTargets(): ReadonlyArray<StagePanelLocation> | undefined {\n return this._allowedPanelTargets;\n }\n\n public set allowedPanelTargets(targets: ReadonlyArray<StagePanelLocation> | undefined) {\n this._allowedPanelTargets = (targets && targets?.length > 0) ? targets : undefined;\n }\n\n public onWidgetStateChanged(): void {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.widgetControl && UiFramework.postTelemetry(`Widget ${this.widgetControl.classId} state set to ${widgetStateNameMap.get(this.state)}`, \"35402486-9839-441E-A5C7-46D546142D11\");\n this.widgetControl && this.widgetControl.onWidgetStateChanged();\n // istanbul ignore next\n this._onWidgetStateChanged && this._onWidgetStateChanged();\n }\n\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\n public saveTransientState(): void {\n this.widgetControl && this.widgetControl.saveTransientState();\n this._saveTransientState && this._saveTransientState();\n }\n\n /** Overwrite to restore transient DOM state.\n * @note Return true if the state is restored or the Widget will remount.\n */\n public restoreTransientState(): boolean {\n let result = true;\n if (this.widgetControl || this._restoreTransientState) {\n let result1 = false, result2 = false;\n if (this.widgetControl)\n result1 = this.widgetControl.restoreTransientState();\n if (this._restoreTransientState)\n result2 = this._restoreTransientState();\n result = !(result1 || result2);\n }\n return result;\n }\n\n /** Opens the widget and makes it visible to the user.\n * I.e. opens the stage panel or brings the floating widget to front of the screen.\n * @public\n */\n public show() {\n InternalFrontstageManager.onWidgetShowEvent.emit({ widgetDef: this });\n }\n\n /** Opens the widget and expands it to fill full size of the stage panel.\n * @public\n */\n public expand() {\n InternalFrontstageManager.onWidgetExpandEvent.emit({ widgetDef: this });\n }\n}\n"]}
1
+ {"version":3,"file":"WidgetDef.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetDef.tsx"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AASH,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C,sBAAsB,EAAE;YACrD,IAAI,OAAO,GAAG,KAAK,EACjB,OAAO,GAAG,KAAK,CAAC;YAClB,IAAI,IAAI,CAAC,aAAa;gBACpB,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,qBAAqB,EAAE,CAAC;YACvD,IAAI,IAAI,CAAC,sBAAsB;gBAAE,OAAO,GAAG,IAAI,CAAC,sBAAsB,EAAE,CAAC;YACzE,MAAM,GAAG,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC;SAChC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,IAAI;QACT,yBAAyB,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACI,MAAM;QACX,yBAAyB,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1E,CAAC;;AAlbc,cAAI,GAAG,CAAC,AAAJ,CAAK;SADb,SAAS","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport type * as React from \"react\";\nimport type {\n BadgeType,\n ConditionalStringValue,\n PointProps,\n StringGetter,\n} from \"@itwin/appui-abstract\";\nimport { UiError, UiEvent } from \"@itwin/appui-abstract\";\nimport type { FloatingWidgetState, PanelSide } from \"@itwin/appui-layout-react\";\nimport type { ConfigurableUiControlConstructor } from \"../configurableui/ConfigurableUiControl\";\nimport {\n ConfigurableCreateInfo,\n ConfigurableUiControlType,\n} from \"../configurableui/ConfigurableUiControl\";\nimport { UiFramework } from \"../UiFramework\";\nimport { PropsHelper } from \"../utils/PropsHelper\";\nimport type { WidgetControl } from \"./WidgetControl\";\nimport type { IconSpec, Rectangle, SizeProps } from \"@itwin/core-react\";\nimport { IconHelper } from \"@itwin/core-react\";\nimport { InternalFrontstageManager } from \"../frontstage/InternalFrontstageManager\";\nimport type { WidgetConfig } from \"./WidgetConfig\";\nimport { WidgetState } from \"./WidgetState\";\nimport type { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport { StatusBarWidgetComposerControl } from \"./StatusBarWidgetComposerControl\";\n\nconst widgetStateNameMap = new Map<WidgetState, string>([\n [WidgetState.Closed, \"Closed\"],\n [WidgetState.Floating, \"Floating\"],\n [WidgetState.Hidden, \"Hidden\"],\n [WidgetState.Open, \"Open\"],\n [WidgetState.Unloaded, \"Unloaded\"],\n]);\n\n/** Widget State Changed Event Args interface.\n * @public\n */\nexport interface WidgetStateChangedEventArgs {\n widgetDef: WidgetDef;\n widgetState: WidgetState;\n}\n\n/** Widget State Changed Event class.\n * @public\n */\nexport class WidgetStateChangedEvent extends UiEvent<WidgetStateChangedEventArgs> {}\n\n/** @internal */\nexport interface WidgetChangedEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** @internal */\nexport interface WidgetEventArgs {\n widgetDef: WidgetDef;\n}\n\n/** Widget type enum.\n * @public\n */\nexport enum WidgetType {\n Tool,\n Navigation,\n Rectangular,\n ToolSettings,\n StatusBar,\n}\n\n/** @internal */\nexport interface TabLocation {\n widgetId: string;\n widgetIndex: number;\n side: PanelSide;\n tabIndex: number;\n floatingWidget?: FloatingWidgetState;\n}\n\n// -----------------------------------------------------------------------------\n\n/** A Widget Definition in the 9-Zone Layout system.\n * @public\n */\nexport class WidgetDef {\n private static _sId = 0;\n private _label: string | ConditionalStringValue | StringGetter = \"\";\n private _tooltip: string | ConditionalStringValue | StringGetter = \"\";\n private _widgetReactNode: React.ReactNode;\n private _widgetControl!: WidgetControl;\n private _defaultState: WidgetState = WidgetState.Unloaded;\n private _id: string;\n private _classId: string | ConfigurableUiControlConstructor | undefined =\n undefined;\n private _priority: number = 0;\n private _isFloatingStateSupported: boolean = false;\n private _isFloatingStateWindowResizable: boolean = true;\n private _stateChanged: boolean = false;\n private _widgetType: WidgetType = WidgetType.Rectangular;\n private _applicationData?: any;\n private _icon?: IconSpec;\n private _internalData?: Map<string, any>;\n private _badge?: BadgeType;\n private _onWidgetStateChanged?: () => void;\n private _saveTransientState?: () => void;\n private _restoreTransientState?: () => boolean;\n private _preferredPanelSize: \"fit-content\" | undefined;\n private _defaultFloatingSize: SizeProps | undefined;\n private _canPopout?: boolean;\n private _floatingContainerId?: string;\n private _defaultFloatingPosition: PointProps | undefined;\n\n private _hideWithUiWhenFloating?: boolean;\n private _allowedPanelTargets?: ReadonlyArray<StagePanelLocation>;\n private _initialConfig?: WidgetConfig;\n\n private _tabLocation?: TabLocation;\n private _defaultTabLocation: TabLocation = {\n side: \"left\",\n tabIndex: 0,\n widgetId: \"\",\n widgetIndex: 0,\n };\n private _popoutBounds?: Rectangle;\n\n public get state(): WidgetState {\n const frontstageDef = UiFramework.frontstages.activeFrontstageDef;\n if (frontstageDef && frontstageDef.findWidgetDef(this.id)) {\n const currentState = frontstageDef.getWidgetCurrentState(this);\n // istanbul ignore else\n if (undefined !== currentState) return currentState;\n }\n return this.defaultState;\n }\n\n public get id(): string {\n return this._id;\n }\n public get classId(): string | ConfigurableUiControlConstructor | undefined {\n return this._classId;\n }\n public get priority(): number {\n return this._priority;\n }\n public get isFloatingStateSupported(): boolean {\n return this._isFloatingStateSupported;\n }\n public get isFloatingStateWindowResizable(): boolean {\n return this._isFloatingStateWindowResizable;\n }\n public get isToolSettings(): boolean {\n return this._widgetType === WidgetType.ToolSettings;\n }\n public get isStatusBar(): boolean {\n return this._widgetType === WidgetType.StatusBar;\n }\n public get stateChanged(): boolean {\n return this._stateChanged;\n }\n public get applicationData(): any | undefined {\n return this._applicationData;\n }\n public get isFloating(): boolean {\n return this.state === WidgetState.Floating;\n }\n public get iconSpec(): IconSpec {\n return this._icon === IconHelper.reactIconKey\n ? IconHelper.getIconReactNode(this._icon, this._internalData)\n : this._icon;\n }\n public set iconSpec(spec: IconSpec) {\n this._icon = this._internalData\n ? IconHelper.getIconData(spec, this._internalData)\n : spec;\n }\n public get badgeType(): BadgeType | undefined {\n return this._badge;\n }\n public get initialConfig(): WidgetConfig | undefined {\n return this._initialConfig;\n }\n\n public get widgetType(): WidgetType {\n return this._widgetType;\n }\n public set widgetType(type: WidgetType) {\n this._widgetType = type;\n }\n\n /** @internal */\n public get tabLocation() {\n return this._tabLocation;\n }\n public set tabLocation(tabLocation: TabLocation | undefined) {\n this._tabLocation = tabLocation;\n }\n\n /** @internal */\n public get defaultTabLocation() {\n return this._defaultTabLocation;\n }\n\n /** @internal */\n public get defaultFloatingPosition() {\n return this._defaultFloatingPosition;\n }\n public set defaultFloatingPosition(position: PointProps | undefined) {\n this._defaultFloatingPosition = position;\n }\n\n /** @internal */\n public get defaultFloatingSize() {\n return this._defaultFloatingSize;\n }\n public set defaultFloatingSize(size: SizeProps | undefined) {\n this._defaultFloatingSize = size;\n }\n\n /** @internal */\n public get defaultState() {\n return this._defaultState;\n }\n\n /** @internal */\n public get popoutBounds() {\n return this._popoutBounds;\n }\n public set popoutBounds(bounds: Rectangle | undefined) {\n this._popoutBounds = bounds;\n }\n\n constructor() {\n WidgetDef._sId++;\n this._id = `Widget-${WidgetDef._sId}`;\n }\n\n /** @internal */\n public static create(\n config: WidgetConfig,\n type: WidgetType = WidgetType.Rectangular\n ) {\n const def = new WidgetDef();\n def.initializeFromConfig(config, type);\n return def;\n }\n\n private initializeFromConfig(config: WidgetConfig, type: WidgetType) {\n this._widgetType = type;\n this._initialConfig = config;\n this._id = config.id;\n\n if (config.label) this.setLabel(config.label);\n else if (config.labelKey)\n this._label = UiFramework.localization.getLocalizedString(\n config.labelKey\n );\n\n this.setCanPopout(config.canPopout);\n\n const canFloat = config.canFloat;\n this._isFloatingStateSupported = !!canFloat;\n if (typeof canFloat === \"object\") {\n this.setFloatingContainerId(canFloat.containerId);\n this.defaultFloatingPosition = canFloat.defaultPosition;\n this._hideWithUiWhenFloating = !!canFloat.hideWithUi;\n this._isFloatingStateWindowResizable = !!canFloat.isResizable;\n this._defaultFloatingSize = canFloat.defaultSize;\n }\n\n this.allowedPanelTargets = config.allowedPanels;\n\n if (config.priority !== undefined) this._priority = config.priority;\n\n if (config.tooltip) this.setTooltip(config.tooltip);\n else if (config.tooltipKey)\n this._tooltip = UiFramework.localization.getLocalizedString(\n config.tooltipKey\n );\n\n if (config.defaultState !== undefined) {\n this._defaultState = config.defaultState;\n }\n\n this._widgetReactNode = config.content;\n this._icon = config.icon;\n\n // istanbul ignore next\n if (config.icon !== undefined && this._icon === undefined)\n this._icon = config.icon;\n\n if (config.badge !== undefined) this._badge = config.badge;\n\n this._preferredPanelSize = config.preferredPanelSize;\n }\n\n /** @alpha */\n public get preferredPanelSize() {\n return this._preferredPanelSize;\n }\n\n /** Get the label string */\n public get label(): string {\n return PropsHelper.getStringFromSpec(this._label);\n }\n\n /** Set the label.\n * @param v A string or a function to get the string.\n */\n public setLabel(v: string | ConditionalStringValue | StringGetter) {\n if (this._label === v) return;\n this._label = v;\n InternalFrontstageManager.onWidgetLabelChangedEvent.emit({\n widgetDef: this,\n });\n }\n\n /** Get the tooltip string */\n public get tooltip(): string {\n return PropsHelper.getStringFromSpec(this._tooltip);\n }\n\n /** Set the tooltip.\n * @param v A string or a function to get the string.\n */\n public setTooltip(v: string | ConditionalStringValue | StringGetter) {\n this._tooltip = v;\n }\n\n public get widgetControl(): WidgetControl | undefined {\n return this._widgetControl;\n }\n\n public getWidgetControl(\n type: ConfigurableUiControlType\n ): WidgetControl | undefined {\n if (!this._widgetControl && this.classId) {\n let usedClassId: string = \"\";\n\n if (typeof this.classId === \"string\") {\n // istanbul ignore else\n if (this.classId)\n this._widgetControl = UiFramework.controls.create(\n this.classId,\n this.id,\n this.applicationData\n ) as WidgetControl;\n usedClassId = this.classId;\n } else {\n const info = new ConfigurableCreateInfo(\n this.classId.name,\n this.id,\n this.id\n );\n usedClassId = this.classId.name;\n this._widgetControl = new this.classId(\n info,\n this.applicationData\n ) as WidgetControl;\n }\n\n // istanbul ignore else\n if (this._widgetControl) {\n if (this._widgetControl.getType() !== type) {\n throw new UiError(\n UiFramework.loggerCategory(this),\n `getWidgetControl: '${usedClassId}' is NOT a ${type}; it is a ${this._widgetControl.getType()}`\n );\n }\n\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n }\n\n // istanbul ignore next - To avoid breaking API changes, if a WidgetControl is not specified for a status bar use Default one.\n if (!this._widgetControl && this.isStatusBar) {\n const info = new ConfigurableCreateInfo(\n \"StatusBarWidgetComposerControl\",\n StatusBarWidgetComposerControl.controlId,\n StatusBarWidgetComposerControl.controlId\n );\n this._widgetControl = new StatusBarWidgetComposerControl(info, undefined);\n this._widgetControl.widgetDef = this;\n this._widgetControl.initialize();\n }\n\n return this._widgetControl;\n }\n\n public get reactNode(): React.ReactNode {\n if (!this._widgetReactNode) {\n const widgetControl = this.getWidgetControl(\n ConfigurableUiControlType.Widget\n );\n\n // istanbul ignore else\n if (widgetControl && widgetControl.reactNode)\n this._widgetReactNode = widgetControl.reactNode;\n }\n\n return this._widgetReactNode;\n }\n\n public set reactNode(node: React.ReactNode) {\n this._widgetReactNode = node;\n }\n\n public setWidgetState(newState: WidgetState): void {\n if (this.state === newState) return;\n this._stateChanged = true;\n UiFramework.frontstages.onWidgetStateChangedEvent.emit({\n widgetDef: this,\n widgetState: newState,\n });\n this.onWidgetStateChanged();\n }\n\n public setCanPopout(value: boolean | undefined) {\n this._canPopout = value;\n }\n\n public get canPopout(): boolean | undefined {\n return this._canPopout;\n }\n\n public setFloatingContainerId(value: string | undefined) {\n this._floatingContainerId = value;\n }\n\n public get floatingContainerId(): string | undefined {\n return this._floatingContainerId;\n }\n\n public canOpen(): boolean {\n return this.isFloating || this.isActive;\n }\n\n public get isVisible(): boolean {\n return WidgetState.Hidden !== this.state;\n }\n\n public get activeState(): WidgetState {\n return this.state;\n }\n\n public get isActive(): boolean {\n return WidgetState.Open === this.activeState;\n }\n\n public set hideWithUiWhenFloating(hide: boolean | undefined) {\n this._hideWithUiWhenFloating = !!hide;\n }\n\n public get hideWithUiWhenFloating(): boolean {\n return !!this._hideWithUiWhenFloating;\n }\n\n public get allowedPanelTargets():\n | ReadonlyArray<StagePanelLocation>\n | undefined {\n return this._allowedPanelTargets;\n }\n\n public set allowedPanelTargets(\n targets: ReadonlyArray<StagePanelLocation> | undefined\n ) {\n this._allowedPanelTargets =\n targets && targets?.length > 0 ? targets : undefined;\n }\n\n public onWidgetStateChanged(): void {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.widgetControl &&\n UiFramework.postTelemetry(\n `Widget ${\n this.widgetControl.classId\n } state set to ${widgetStateNameMap.get(this.state)}`,\n \"35402486-9839-441E-A5C7-46D546142D11\"\n );\n this.widgetControl && this.widgetControl.onWidgetStateChanged();\n // istanbul ignore next\n this._onWidgetStateChanged && this._onWidgetStateChanged();\n }\n\n /** Overwrite to save transient DOM state (i.e. scroll offset). */\n public saveTransientState(): void {\n this.widgetControl && this.widgetControl.saveTransientState();\n this._saveTransientState && this._saveTransientState();\n }\n\n /** Overwrite to restore transient DOM state.\n * @note Return true if the state is restored or the Widget will remount.\n */\n public restoreTransientState(): boolean {\n let result = true;\n if (this.widgetControl || this._restoreTransientState) {\n let result1 = false,\n result2 = false;\n if (this.widgetControl)\n result1 = this.widgetControl.restoreTransientState();\n if (this._restoreTransientState) result2 = this._restoreTransientState();\n result = !(result1 || result2);\n }\n return result;\n }\n\n /** Opens the widget and makes it visible to the user.\n * I.e. opens the stage panel or brings the floating widget to front of the screen.\n * @public\n */\n public show() {\n InternalFrontstageManager.onWidgetShowEvent.emit({ widgetDef: this });\n }\n\n /** Opens the widget and expands it to fill full size of the stage panel.\n * @public\n */\n public expand() {\n InternalFrontstageManager.onWidgetExpandEvent.emit({ widgetDef: this });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetHost.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetHost.ts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D,OAAO,CAAC,kBAAkB,CAAuC;IACjE,OAAO,CAAC,iBAAiB,CAAgC;IAEzD;OACG;;IAGH;;OAEG;IACI,YAAY,CAAC,SAAS,EAAE,SAAS;IAKxC,gCAAgC;IAChC,IAAW,UAAU,IAAI,aAAa,CAAC,SAAS,CAAC,CAEhD;IAED,kCAAkC;IAClC,IAAW,WAAW,IAAI,MAAM,CAE/B;IAED;;OAEG;IACI,kBAAkB,IAAI,SAAS,GAAG,SAAS;IAOlD;;;OAGG;IACI,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS;IAIvD;;OAEG;IACI,uBAAuB,CAC5B,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,kBAAkB,EAC5B,OAAO,EAAE,iBAAiB,GAAG,SAAS,EACtC,kBAAkB,EAAE,SAAS,EAAE,GAC9B,IAAI;IAgCP,wBAAwB;IACxB,OAAO,CAAC,cAAc;CAUvB"}
@@ -1,7 +1,7 @@
1
1
  /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
5
  /** @packageDocumentation
6
6
  * @module Widget
7
7
  */
@@ -60,10 +60,11 @@ export class WidgetHost {
60
60
  allStageWidgetDefs.push(...uniqueWidgets);
61
61
  let dynamicWidgetDefs;
62
62
  if (section !== undefined) {
63
- dynamicWidgetDefs = (_a = UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section)) !== null && _a !== void 0 ? _a : [];
63
+ dynamicWidgetDefs =
64
+ (_a = UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section)) !== null && _a !== void 0 ? _a : [];
64
65
  }
65
66
  const uniqueDynamicWidgetDefs = dynamicWidgetDefs === null || dynamicWidgetDefs === void 0 ? void 0 : dynamicWidgetDefs.filter((widgetDef) => {
66
- return ((!allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id)));
67
+ return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);
67
68
  });
68
69
  // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be
69
70
  // defined, the following is needed to combining middle and end panel section widgets into a single set of widgets
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetHost.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetHost.tsx"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAIH,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C;;;GAGG;AACH,MAAM,OAAO,UAAU;IAMrB;OACG;IACH;QANQ,gBAAW,GAAgB,IAAI,KAAK,EAAa,CAAC;QAElD,sBAAiB,GAA6B,EAAE,CAAC;IAIzC,CAAC;IAEjB;;OAEG;IACI,YAAY,CAAC,SAAoB;QACtC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACjC,IAAI,CAAC,cAAc,EAAE,CAAC;IACxB,CAAC;IAED,gCAAgC;IAChC,IAAW,UAAU;QACnB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAED,kCAAkC;IAClC,IAAW,WAAW;QACpB,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;IAChC,CAAC;IAED;;OAEG;IACI,kBAAkB;QACvB,IAAI,IAAI,CAAC,WAAW,KAAK,CAAC,EAAE;YAC1B,OAAO,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;SAC3B;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED;;;OAGG;IACI,aAAa,CAAC,EAAU;QAC7B,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,SAAoB,EAAE,EAAE,CAAC,SAAS,CAAC,EAAE,KA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AAI,IAAI,CAAC,kBAAkB;YACzB,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;;YAEpE,gBAAgB,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;QAE9C,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC;QAEzD,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAC;IAC5C,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport type { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport type { StagePanelSection } from \"../stagepanels/StagePanelSection\";\nimport { UiFramework } from \"../UiFramework\";\nimport type { WidgetDef } from \"./WidgetDef\";\n\n/**\n * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.\n * @public\n */\nexport class WidgetHost {\n\n private _widgetDefs: WidgetDef[] = new Array<WidgetDef>();\n private _dynamicWidgetDefs: ReadonlyArray<WidgetDef> | undefined;\n private _sortedWidgetDefs: ReadonlyArray<WidgetDef> = [];\n\n /** Constructor for WidgetHost.\n */\n constructor() { }\n\n /** Adds a WidgetDef to the list of Widgets.\n * @param widgetDef Definition of the Widget to add\n */\n public addWidgetDef(widgetDef: WidgetDef) {\n this._widgetDefs.push(widgetDef);\n this.sortWidgetDefs();\n }\n\n /** Gets the list of Widgets. */\n public get widgetDefs(): ReadonlyArray<WidgetDef> {\n return this._sortedWidgetDefs;\n }\n\n /** Gets the number of Widgets. */\n public get widgetCount(): number {\n return this.widgetDefs.length;\n }\n\n /** If there is only one Widget in the Panel, gets the single WidgetDef.\n * @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.\n */\n public getSingleWidgetDef(): WidgetDef | undefined {\n if (this.widgetCount === 1) {\n return this.widgetDefs[0];\n }\n return undefined;\n }\n\n /** Finds a WidgetDef with a given Id.\n * @param id Id of the WidgetDef to find\n * @returns The WidgetDef if found; otherwise, undefined is returned.\n */\n public findWidgetDef(id: string): WidgetDef | undefined {\n return this.widgetDefs.find((widgetDef: WidgetDef) => widgetDef.id === id);\n }\n\n /** Updates the WidgetHost with dynamic widgets\n * @internal\n */\n public updateDynamicWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section: StagePanelSection | undefined,\n allStageWidgetDefs: WidgetDef[]): void {\n // get widgetDefs not already in allStageWidgetDefs and add them\n const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {\n return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);\n });\n\n allStageWidgetDefs.push(...uniqueWidgets);\n\n let dynamicWidgetDefs: readonly WidgetDef[] | undefined;\n if (section !== undefined) {\n dynamicWidgetDefs = UiFramework.widgetManager.getWidgetDefs(stageId, stageUsage, location, section) ?? [];\n }\n\n const uniqueDynamicWidgetDefs = dynamicWidgetDefs?.filter((widgetDef) => {\n return ((!allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id)));\n });\n\n // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be\n // defined, the following is needed to combining middle and end panel section widgets into a single set of widgets\n if (uniqueDynamicWidgetDefs) {\n allStageWidgetDefs.push(...uniqueDynamicWidgetDefs);\n this._dynamicWidgetDefs = [...uniqueDynamicWidgetDefs];\n }\n this.sortWidgetDefs();\n }\n\n /** Sorts all widgets */\n private sortWidgetDefs(): void {\n let sortedWidgetDefs = [];\n if (this._dynamicWidgetDefs)\n sortedWidgetDefs = this._widgetDefs.concat(this._dynamicWidgetDefs);\n else\n sortedWidgetDefs = this._widgetDefs.slice();\n\n sortedWidgetDefs.sort((a, b) => a.priority - b.priority);\n\n this._sortedWidgetDefs = sortedWidgetDefs;\n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AC;QAEzD,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAC;IAC5C,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport type { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport type { StagePanelSection } from \"../stagepanels/StagePanelSection\";\nimport { UiFramework } from \"../UiFramework\";\nimport type { WidgetDef } from \"./WidgetDef\";\n\n/**\n * A WidgetHost represents a definition that hosts one or most Widgets in a Frontstage.\n * @public\n */\nexport class WidgetHost {\n private _widgetDefs: WidgetDef[] = new Array<WidgetDef>();\n private _dynamicWidgetDefs: ReadonlyArray<WidgetDef> | undefined;\n private _sortedWidgetDefs: ReadonlyArray<WidgetDef> = [];\n\n /** Constructor for WidgetHost.\n */\n constructor() {}\n\n /** Adds a WidgetDef to the list of Widgets.\n * @param widgetDef Definition of the Widget to add\n */\n public addWidgetDef(widgetDef: WidgetDef) {\n this._widgetDefs.push(widgetDef);\n this.sortWidgetDefs();\n }\n\n /** Gets the list of Widgets. */\n public get widgetDefs(): ReadonlyArray<WidgetDef> {\n return this._sortedWidgetDefs;\n }\n\n /** Gets the number of Widgets. */\n public get widgetCount(): number {\n return this.widgetDefs.length;\n }\n\n /** If there is only one Widget in the Panel, gets the single WidgetDef.\n * @returns The single WidgetDef if there is only one Widget; otherwise, undefined is returned.\n */\n public getSingleWidgetDef(): WidgetDef | undefined {\n if (this.widgetCount === 1) {\n return this.widgetDefs[0];\n }\n return undefined;\n }\n\n /** Finds a WidgetDef with a given Id.\n * @param id Id of the WidgetDef to find\n * @returns The WidgetDef if found; otherwise, undefined is returned.\n */\n public findWidgetDef(id: string): WidgetDef | undefined {\n return this.widgetDefs.find((widgetDef: WidgetDef) => widgetDef.id === id);\n }\n\n /** Updates the WidgetHost with dynamic widgets\n * @internal\n */\n public updateDynamicWidgetDefs(\n stageId: string,\n stageUsage: string,\n location: StagePanelLocation,\n section: StagePanelSection | undefined,\n allStageWidgetDefs: WidgetDef[]\n ): void {\n // get widgetDefs not already in allStageWidgetDefs and add them\n const uniqueWidgets = this._widgetDefs.filter((widgetDef) => {\n return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);\n });\n\n allStageWidgetDefs.push(...uniqueWidgets);\n\n let dynamicWidgetDefs: readonly WidgetDef[] | undefined;\n if (section !== undefined) {\n dynamicWidgetDefs =\n UiFramework.widgetManager.getWidgetDefs(\n stageId,\n stageUsage,\n location,\n section\n ) ?? [];\n }\n\n const uniqueDynamicWidgetDefs = dynamicWidgetDefs?.filter((widgetDef) => {\n return !allStageWidgetDefs.find((wDef) => wDef.id === widgetDef.id);\n });\n\n // Now that we no longer support a middle panel section, yet we have existing API that allows a middle section to be\n // defined, the following is needed to combining middle and end panel section widgets into a single set of widgets\n if (uniqueDynamicWidgetDefs) {\n allStageWidgetDefs.push(...uniqueDynamicWidgetDefs);\n this._dynamicWidgetDefs = [...uniqueDynamicWidgetDefs];\n }\n this.sortWidgetDefs();\n }\n\n /** Sorts all widgets */\n private sortWidgetDefs(): void {\n let sortedWidgetDefs = [];\n if (this._dynamicWidgetDefs)\n sortedWidgetDefs = this._widgetDefs.concat(this._dynamicWidgetDefs);\n else sortedWidgetDefs = this._widgetDefs.slice();\n\n sortedWidgetDefs.sort((a, b) => a.priority - b.priority);\n\n this._sortedWidgetDefs = sortedWidgetDefs;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetManager.d.ts","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetManager.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAU,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,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O,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,kBAAkB,EAC5B,OAAO,CAAC,EAAE,iBAAiB,GAC1B,aAAa,CAAC,SAAS,CAAC,GAAG,SAAS;CA4BxC"}
@@ -1,7 +1,7 @@
1
1
  /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
5
  /** @packageDocumentation
6
6
  * @module Widget
7
7
  */
@@ -36,7 +36,9 @@ export class WidgetManager {
36
36
  return this._widgets.length;
37
37
  }
38
38
  /** @internal */
39
- get widgets() { return this._widgets; }
39
+ get widgets() {
40
+ return this._widgets;
41
+ }
40
42
  set widgets(w) {
41
43
  this._widgets = w;
42
44
  this.onWidgetsChanged.emit({ items: w });
@@ -51,20 +53,26 @@ export class WidgetManager {
51
53
  Logger.logError(UiFramework.loggerCategory(this), `addWidgetDef: stageId or stageUsage param must be specified`);
52
54
  return false;
53
55
  }
54
- section = (section !== undefined) ? section : StagePanelSection.Start;
56
+ section = section !== undefined ? section : StagePanelSection.Start;
55
57
  const index = this._widgets.reduce((acc, info) => {
56
- if (info.stageId === stageId && info.stageUsage === stageUsage && info.location === location && info.section === section)
58
+ if (info.stageId === stageId &&
59
+ info.stageUsage === stageUsage &&
60
+ info.location === location &&
61
+ info.section === section)
57
62
  return acc + 1;
58
63
  return acc;
59
64
  }, 0);
60
65
  const stableId = getWidgetManagerStableWidgetId(stageUsage, location, section, index);
61
66
  const stableWidget = createStableWidgetDef(widgetDef, stableId);
62
- const newWidget = { widgetDef: stableWidget, stageId, stageUsage, location, section };
67
+ const newWidget = {
68
+ widgetDef: stableWidget,
69
+ stageId,
70
+ stageUsage,
71
+ location,
72
+ section,
73
+ };
63
74
  const oldWidgets = this._widgets.filter((info) => info.widgetDef.id !== newWidget.widgetDef.id);
64
- const updatedWidgets = [
65
- ...oldWidgets,
66
- newWidget,
67
- ];
75
+ const updatedWidgets = [...oldWidgets, newWidget];
68
76
  this.widgets = updatedWidgets;
69
77
  return true;
70
78
  }
@@ -84,10 +92,10 @@ export class WidgetManager {
84
92
  getWidgetDefs(stageId, stageUsage, location, section) {
85
93
  const definedSection = section === undefined ? StagePanelSection.Start : section;
86
94
  const widgetInfos = this._widgets.filter((info) => {
87
- return (!info.stageId || info.stageId === stageId)
88
- && (!info.stageUsage || info.stageUsage === stageUsage)
89
- && info.location === location
90
- && info.section === definedSection;
95
+ return ((!info.stageId || info.stageId === stageId) &&
96
+ (!info.stageUsage || info.stageUsage === stageUsage) &&
97
+ info.location === location &&
98
+ info.section === definedSection);
91
99
  });
92
100
  const widgetDefs = widgetInfos.map((info) => info.widgetDef);
93
101
  // Consult the UiItemsManager to get any Abstract widgets
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetManager.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetManager.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAoBrE;;GAEG;AACH,MAAM,OAAO,mBAAoB,SAAQ,SAAkC;CAAI;AAE/E,SAAS,8BAA8B,CAAC,UAA8B,EAAE,QAA4B,EAAE,OAA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AAM,cAAc,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC;QAEjF,MAAM,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE;YAChD,OAAO,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,KAAK,OAAO,CAAC;mBAC7C,CAAC,CAAC,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,UAAU,KAAK,UAAU,CAAC;mBACpD,IAAI,CAAC,QAAQ,KAAK,QAAQ;mBAC1B,IAAI,CAAC,OAAO,KAAK,cAAc,CAAC;QACvC,CAAC,CAAC,CAAC;QAEH,MAAM,UAAU,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAE7D,yDAAyD;QACzD,MAAM,OAAO,GAAG,cAAc,CAAC,UAAU,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,cAAc,CAAC,CAAC;QACzF,OAAO,CAAC,OAAO,CAAC,CAAC,aAAa,EAAE,EAAE;YAChC,MAAM,SAAS,GAAG,SAAS,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;YAClD,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC7B,CAAC,CAAC,CAAC;QACH,OAAO,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;IACxD,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport { BeUiEvent, Logger } from \"@itwin/core-bentley\";\nimport { UiFramework } from \"../UiFramework\";\nimport { WidgetDef } from \"./WidgetDef\";\nimport { createStableWidgetDef } from \"./StableWidgetDef\";\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport { StagePanelSection } from \"../stagepanels/StagePanelSection\";\nimport { UiItemsManager } from \"../ui-items-provider/UiItemsManager\";\n\n/** Information about WidgetDefs in the WidgetManager\n * @internal\n */\nexport interface WidgetInfo {\n widgetDef: WidgetDef;\n stageId?: string;\n stageUsage?: string;\n location: StagePanelLocation;\n section: StagePanelSection;\n}\n\n/** Arguments of [[this.onWidgetsChanged]] event.\n * @internal\n */\nexport interface WidgetsChangedEventArgs {\n readonly items: ReadonlyArray<WidgetInfo>;\n}\n\n/** Event class for [[this.onWidgetsChanged]].\n * @internal\n */\nexport class WidgetsChangedEvent extends BeUiEvent<WidgetsChangedEventArgs> { }\n\nfunction getWidgetManagerStableWidgetId(stageUsage: string | undefined, location: StagePanelLocation, section: StagePanelSection, index: number) {\n return `uifw-wm-${stageUsage || \"\"}-${StagePanelLocation[location]}-${StagePanelSection[section]}-${index}`;\n}\n\n/** Widget Manager class.\n * @beta\n */\nexport class WidgetManager {\n private _widgets: ReadonlyArray<WidgetInfo> = [];\n\n /** Event raised when Widgets are changed.\n * @internal\n */\n public readonly onWidgetsChanged = new WidgetsChangedEvent();\n\n /** @internal */\n public get widgetCount(): number {\n return this._widgets.length;\n }\n\n /** @internal */\n public get widgets(): ReadonlyArray<WidgetInfo> { return this._widgets; }\n public set widgets(w: ReadonlyArray<WidgetInfo>) {\n this._widgets = w;\n this.onWidgetsChanged.emit({ items: w });\n }\n\n /** Adds a WidgetDef for use in a Frontstage.\n * @note Added `widgetDef` must return unique id to correctly save/restore App layout.\n * Semi-stable id is generated when auto-generated `widgetDef` id is detected,\n * but correctness of such id depends on `addWidgetDef` call order and widget location.\n */\n public addWidgetDef(widgetDef: WidgetDef, stageId: string | undefined, stageUsage: string | undefined, location: StagePanelLocation, section?: StagePanelSection): boolean {\n if (stageId === undefined && stageUsage === undefined) {\n Logger.logError(UiFramework.loggerCategory(this), `addWidgetDef: stageId or stageUsage param must be specified`);\n return false;\n }\n\n section = (section !== undefined) ? section : StagePanelSection.Start;\n const index = this._widgets.reduce((acc, info) => {\n if (info.stageId === stageId && info.stageUsage === stageUsage && info.location === location && info.section === section)\n return acc + 1;\n return acc;\n }, 0);\n const stableId = getWidgetManagerStableWidgetId(stageUsage, location, section, index);\n const stableWidget = createStableWidgetDef(widgetDef, stableId);\n const newWidget: WidgetInfo = { widgetDef: stableWidget, stageId, stageUsage, location, section };\n\n const oldWidgets = this._widgets.filter((info) => info.widgetDef.id !== newWidget.widgetDef.id);\n const updatedWidgets = [\n ...oldWidgets,\n newWidget,\n ];\n this.widgets = updatedWidgets;\n\n return true;\n }\n\n /** Removes a WidgetDef.\n */\n public removeWidgetDef(widgetId: string): boolean {\n let result = false;\n const updatedWidgets = this._widgets.filter((info) => info.widgetDef.id !== widgetId);\n\n if (updatedWidgets.length !== this._widgets.length) {\n this.widgets = updatedWidgets;\n result = true;\n }\n\n return result;\n }\n\n /** Gets WidgetDefs for a Frontstage location.\n */\n public getWidgetDefs(stageId: string, stageUsage: string, location: StagePanelLocation, section?: StagePanelSection): ReadonlyArray<WidgetDef> | undefined {\n const definedSection = section === undefined ? StagePanelSection.Start : section;\n\n const widgetInfos = this._widgets.filter((info) => {\n return (!info.stageId || info.stageId === stageId)\n && (!info.stageUsage || info.stageUsage === stageUsage)\n && info.location === location\n && info.section === definedSection;\n });\n\n const widgetDefs = widgetInfos.map((info) => info.widgetDef);\n\n // Consult the UiItemsManager to get any Abstract widgets\n const widgets = UiItemsManager.getWidgets(stageId, stageUsage, location, definedSection);\n widgets.forEach((abstractProps) => {\n const widgetDef = WidgetDef.create(abstractProps);\n widgetDefs.push(widgetDef);\n });\n return widgetDefs.length > 0 ? widgetDefs : undefined;\n }\n}\n"]}
1
+ {"version":3,"file":"WidgetManager.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetManager.ts"],"names":[],"mappings":"AAAA;;;g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aAAa,EAAE,EAAE;YAChC,MAAM,SAAS,GAAG,SAAS,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;YAClD,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC7B,CAAC,CAAC,CAAC;QACH,OAAO,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;IACxD,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\nimport { BeUiEvent, Logger } from \"@itwin/core-bentley\";\nimport { UiFramework } from \"../UiFramework\";\nimport { WidgetDef } from \"./WidgetDef\";\nimport { createStableWidgetDef } from \"./StableWidgetDef\";\nimport { StagePanelLocation } from \"../stagepanels/StagePanelLocation\";\nimport { StagePanelSection } from \"../stagepanels/StagePanelSection\";\nimport { UiItemsManager } from \"../ui-items-provider/UiItemsManager\";\n\n/** Information about WidgetDefs in the WidgetManager\n * @internal\n */\nexport interface WidgetInfo {\n widgetDef: WidgetDef;\n stageId?: string;\n stageUsage?: string;\n location: StagePanelLocation;\n section: StagePanelSection;\n}\n\n/** Arguments of [[this.onWidgetsChanged]] event.\n * @internal\n */\nexport interface WidgetsChangedEventArgs {\n readonly items: ReadonlyArray<WidgetInfo>;\n}\n\n/** Event class for [[this.onWidgetsChanged]].\n * @internal\n */\nexport class WidgetsChangedEvent extends BeUiEvent<WidgetsChangedEventArgs> {}\n\nfunction getWidgetManagerStableWidgetId(\n stageUsage: string | undefined,\n location: StagePanelLocation,\n section: StagePanelSection,\n index: number\n) {\n return `uifw-wm-${stageUsage || \"\"}-${StagePanelLocation[location]}-${\n StagePanelSection[section]\n }-${index}`;\n}\n\n/** Widget Manager class.\n * @beta\n */\nexport class WidgetManager {\n private _widgets: ReadonlyArray<WidgetInfo> = [];\n\n /** Event raised when Widgets are changed.\n * @internal\n */\n public readonly onWidgetsChanged = new WidgetsChangedEvent();\n\n /** @internal */\n public get widgetCount(): number {\n return this._widgets.length;\n }\n\n /** @internal */\n public get widgets(): ReadonlyArray<WidgetInfo> {\n return this._widgets;\n }\n public set widgets(w: ReadonlyArray<WidgetInfo>) {\n this._widgets = w;\n this.onWidgetsChanged.emit({ items: w });\n }\n\n /** Adds a WidgetDef for use in a Frontstage.\n * @note Added `widgetDef` must return unique id to correctly save/restore App layout.\n * Semi-stable id is generated when auto-generated `widgetDef` id is detected,\n * but correctness of such id depends on `addWidgetDef` call order and widget location.\n */\n public addWidgetDef(\n widgetDef: WidgetDef,\n stageId: string | undefined,\n stageUsage: string | undefined,\n location: StagePanelLocation,\n section?: StagePanelSection\n ): boolean {\n if (stageId === undefined && stageUsage === undefined) {\n Logger.logError(\n UiFramework.loggerCategory(this),\n `addWidgetDef: stageId or stageUsage param must be specified`\n );\n return false;\n }\n\n section = section !== undefined ? section : StagePanelSection.Start;\n const index = this._widgets.reduce((acc, info) => {\n if (\n info.stageId === stageId &&\n info.stageUsage === stageUsage &&\n info.location === location &&\n info.section === section\n )\n return acc + 1;\n return acc;\n }, 0);\n const stableId = getWidgetManagerStableWidgetId(\n stageUsage,\n location,\n section,\n index\n );\n const stableWidget = createStableWidgetDef(widgetDef, stableId);\n const newWidget: WidgetInfo = {\n widgetDef: stableWidget,\n stageId,\n stageUsage,\n location,\n section,\n };\n\n const oldWidgets = this._widgets.filter(\n (info) => info.widgetDef.id !== newWidget.widgetDef.id\n );\n const updatedWidgets = [...oldWidgets, newWidget];\n this.widgets = updatedWidgets;\n\n return true;\n }\n\n /** Removes a WidgetDef.\n */\n public removeWidgetDef(widgetId: string): boolean {\n let result = false;\n const updatedWidgets = this._widgets.filter(\n (info) => info.widgetDef.id !== widgetId\n );\n\n if (updatedWidgets.length !== this._widgets.length) {\n this.widgets = updatedWidgets;\n result = true;\n }\n\n return result;\n }\n\n /** Gets WidgetDefs for a Frontstage location.\n */\n public getWidgetDefs(\n stageId: string,\n stageUsage: string,\n location: StagePanelLocation,\n section?: StagePanelSection\n ): ReadonlyArray<WidgetDef> | undefined {\n const definedSection =\n section === undefined ? StagePanelSection.Start : section;\n\n const widgetInfos = this._widgets.filter((info) => {\n return (\n (!info.stageId || info.stageId === stageId) &&\n (!info.stageUsage || info.stageUsage === stageUsage) &&\n info.location === location &&\n info.section === definedSection\n );\n });\n\n const widgetDefs = widgetInfos.map((info) => info.widgetDef);\n\n // Consult the UiItemsManager to get any Abstract widgets\n const widgets = UiItemsManager.getWidgets(\n stageId,\n stageUsage,\n location,\n definedSection\n );\n widgets.forEach((abstractProps) => {\n const widgetDef = WidgetDef.create(abstractProps);\n widgetDefs.push(widgetDef);\n });\n return widgetDefs.length > 0 ? widgetDefs : undefined;\n }\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
5
  /** @packageDocumentation
6
6
  * @module Widget
7
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetState.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetState.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH;;GAEG;AACH,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,6CAAQ,CAAA;IACR,iDAAU,CAAA;IACV,iDAAU,CAAA;IACV,qDAAY,CAAA;IACZ,qDAAY,CAAA;AACd,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\n/** Widget state enum.\n * @public\n */\nexport enum WidgetState {\n Open = 0,\n Closed = 1,\n Hidden = 2,\n Floating = 3,\n Unloaded = 4\n}\n"]}
1
+ {"version":3,"file":"WidgetState.js","sourceRoot":"","sources":["../../../../src/appui-react/widgets/WidgetState.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;GAEG;AAEH;;GAEG;AACH,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,6CAAQ,CAAA;IACR,iDAAU,CAAA;IACV,iDAAU,CAAA;IACV,qDAAY,CAAA;IACZ,qDAAY,CAAA;AACd,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB","sourcesContent":["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n * See LICENSE.md in the project root for license terms and full copyright notice.\n *--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Widget\n */\n\n/** Widget state enum.\n * @public\n */\nexport enum WidgetState {\n Open = 0,\n Closed = 1,\n Hidden = 2,\n Floating = 3,\n Unloaded = 4,\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
5
  // cSpell:ignore safearea cursormenu clientservices oidc Textbox Modeless configurableui stagepanels dragdrop uiadmin itemsarbiter Popout
6
6
  export * from "./appui-react/UiFramework"; // Please ensure that this line comes before all other exports.
7
7
  export * from "./appui-react/accudraw/AccuDrawCommandItems";