@itwin/appui-react 4.0.0-dev.2 → 4.0.0-dev.20

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